Commit graph

18976 commits

Author SHA1 Message Date
Richard M. Stallman
ab67e8b694 (search-whitespace-regexp): Remove the group. Doc fix.
(isearch-mode-map): No special definition for space.
(isearch-whitespace-chars): Command deleted.
(isearch-forward-regexp): Doc fix.
(isearch-quote-char): When a space is not inside brackets,
use `[ ]' instead of just space.
(isearch-lazy-highlight-search): Bind search-spaces-regexp.
2004-12-03 00:30:33 +00:00
Richard M. Stallman
0cec6eaf20 (RE_TRANSLATE_P): If make_number is not a macro, don't use it here. 2004-12-02 23:43:51 +00:00
Richard M. Stallman
d8bf42567e (insert_from_string_before_markers)
(insert_from_string): Don't modify buffer on empty insertion.
2004-12-02 23:37:13 +00:00
Richard M. Stallman
0b31741cdc (Fcalled_interactively_p): Don't check INTERACTIVE.
(interactive_p): Skip Scalled_interactively_p frames
like Sinteractive_p frames.
2004-12-02 23:36:53 +00:00
Richard M. Stallman
a990865365 (Fmake_variable_buffer_local): Doc fix.
(Fmake_local_variable): Doc fix.
2004-12-02 23:35:42 +00:00
Richard M. Stallman
0c2cb7536e (Fget_lru_window, Fget_largest_window): Doc fixes. 2004-12-02 23:24:43 +00:00
Steven Tamm
f86bdc80c4 * macmenu.c (add_menu_item): Fallback on MacRoman if encoding
menu text as UTF8 fails.
2004-12-01 15:51:22 +00:00
Kim F. Storm
bdbed94997 Add commentary for last change.
(XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle
sizeof(size_t) != 4.
(overrun_check_malloc, overrun_check_realloc, overrun_check_free):
Use them.  Also clear header and trailer of freed memory.
(GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA.
(string_overrun_cookie): Rename from string_overrun_pattern.
(GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE.
2004-12-01 14:10:23 +00:00
Kim F. Storm
1cae6d39e6 *** empty log message *** 2004-12-01 14:09:49 +00:00
Andreas Schwab
77ea0764f6 Declare string_to_multibyte. 2004-12-01 14:05:15 +00:00
Kenichi Handa
29e1d29d55 (encode_terminal_code): Fix previous change. 2004-12-01 11:06:22 +00:00
Kenichi Handa
2d5cd4e6a8 *** empty log message *** 2004-12-01 10:50:54 +00:00
Kenichi Handa
302db6997a (encode_terminal_code): Don't make it "static". 2004-12-01 10:48:52 +00:00
Kenichi Handa
853895f640 (w32con_write_glyphs): Decide coding here.
Adjusted for the change of encode_terminal_code.
2004-12-01 10:48:38 +00:00
Kenichi Handa
25a0994a81 *** empty log message *** 2004-11-30 08:19:52 +00:00
Kenichi Handa
af645abff5 (encode_terminal_buf, encode_terminal_bufsize): New
variables.
(encode_terminal_code): Argument changed.  Encode all
characters at once, and return a pointer to the result of
encoding.
(write_glyphs): Decide coding here.  Adjusted for the above
change.
(insert_glyphs): Likewise.
(term_init): Initialize encode_terminal_bufsize to 0.
2004-11-30 08:19:32 +00:00
Kenichi Handa
2a47931bdb (Vcode_conversion_workbuf_name): New variable.
(syms_of_coding): Initialize and staticpro it.
(set_conversion_work_buffer): New function.
(run_pre_post_conversion_on_str): Use it.
(run_pre_write_conversin_on_c_str): New function.
2004-11-30 08:07:11 +00:00
Kenichi Handa
f943989689 (run_pre_write_conversin_on_c_str): Extern it. 2004-11-30 08:01:45 +00:00
Steven Tamm
fc7a70ccda * keyboard.c: Don't undef SIGIO
* s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon
* Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
       (macfns.o): Don't depend on ccl.h.
* macfns.c (mac_frame_parm_handlers): Set handlers for
Qleft_fringe and Qright_fringe.
* macterm.c (mac_fill_rectangle_to_pixmap)
(mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
(mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
Put in #if 0.
(mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
(x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
(XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8]: Added ifdef'd out code for os8.  Don't use
XDrawImageString.  Always draw background and foreground separately.
(x_draw_image_foreground): Use clipping instead of computing the
intersection rectangle.
(x_draw_image_glyph_string): Don't draw an image with mask to a
pixmap.
(x_redisplay_interface): Set flush_display_optional member to 0.
(XTread_socket): Correctly reset the TEConverter
object.
2004-11-30 05:57:27 +00:00
Kim F. Storm
cdcf58d8eb New defines to enable buffer overrun checking.
(GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST)
(XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
2004-11-30 00:31:38 +00:00
Kim F. Storm
68db37aa53 (malloc_initialize_hook): Don't free malloc_state_ptr if
XMALLOC_OVERRUN_CHECK to avoid crash during load.
2004-11-30 00:31:09 +00:00
Kim F. Storm
212f33f185 Add more checks for buffer overruns.
(XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header)
xmalloc_overrun_check_trailer, overrun_check_malloc)
overrun_check_realloc, overrun_check_free): Add.
(GC_STRING_EXTRA, string_overrun_pattern): Add.
(check_sblock, allocate_string_data, compact_small_strings):
Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN.
(check_cons_list): Condition on GC_CHECK_CONS_LIST.
(check_string_free_list): Add.
(allocate_string, sweep_strings): Call check_string_free_list.
2004-11-30 00:30:56 +00:00
Kim F. Storm
fc36888973 *** empty log message *** 2004-11-30 00:30:37 +00:00
Kim F. Storm
2ec7f67a91 (concat): Use SAFE_ALLOCA. 2004-11-29 15:35:15 +00:00
Kim F. Storm
0af8cfe11e *** empty log message *** 2004-11-29 15:34:57 +00:00
Stefan Monnier
77220eeb1e (emacs_write): Don't use QUIT. 2004-11-29 14:39:09 +00:00
Kenichi Handa
a778cf63fc *** empty log message *** 2004-11-29 07:37:45 +00:00
Kenichi Handa
dcd74c5f2c (init_buffer): Set current_buffer->directory to a
multibyte string made by string_to_multibyte.
2004-11-29 07:16:25 +00:00
Kenichi Handa
a520393db0 (init_cmdargs): Set unibyte strings in Vcommand_line_args. 2004-11-29 07:16:09 +00:00
Andreas Schwab
e3177e4368 Enable no-op gcpros on ia64.
(GC_MARK_SECONDARY_STACK) [__ia64__]: Define.
2004-11-27 22:42:19 +00:00
Andreas Schwab
4dec23ff0b (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. 2004-11-27 22:40:50 +00:00
Andreas Schwab
4ba93ac05d (lock_file_1): Call get_boot_time early. Increase
buffer size.
2004-11-27 22:09:40 +00:00
Eli Zaretskii
ca5e6fef9f *** empty log message *** 2004-11-27 12:53:11 +00:00
Eli Zaretskii
9bcc29586f (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN is not defined. 2004-11-27 12:24:40 +00:00
Kim F. Storm
e281182817 (syms_of_search) <search-spaces-regexp>: Move 'doc:'
marker out of doc string.
2004-11-27 01:09:08 +00:00
Stefan Monnier
7a262394fb (POSIX_SIGNALS): Undo the removal of 2002-08-25,
which was not mentioned in the log.
2004-11-26 23:35:51 +00:00
Kim F. Storm
cfd3af7a4d (update_window_fringes): Prefer truncation bitmaps over
angle bitmaps at top/bottom line.
2004-11-26 15:14:16 +00:00
Kim F. Storm
048bb03fe2 *** empty log message *** 2004-11-26 15:13:53 +00:00
Kim F. Storm
064fd8ec67 Undo recent changes for restoring it->saved_face_id. Instead,
set it when it->method is set to next_element_from_display_vector.
(setup_for_ellipsis): Add LEN argument.  Callers changed.
Set it->saved_face_id.
(get_next_display_element): Use loop instead of recursion.
Set it->saved_face_id.  Combine duplicate code for ctr chars.
(next_element_from_display_vector): Do not set it->saved_face_id.
(next_element_from_ellipsis): Use setup_for_ellipsis.
2004-11-26 14:38:55 +00:00
Kim F. Storm
f33cc5a9a5 *** empty log message *** 2004-11-26 14:37:55 +00:00
Eli Zaretskii
670e89068c *** empty log message *** 2004-11-26 12:05:49 +00:00
Eli Zaretskii
b28d0d9a8f (Fdefvar): Declare pdl from last change as `volatile' to prevent
compiler warnings.
2004-11-26 11:47:20 +00:00
Stefan Monnier
1bf0e60466 (command_loop_1): Print a message describing the key
the user just pressed when this key has no binding.
2004-11-25 22:17:49 +00:00
Stefan Monnier
275464e7a5 (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
(emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
2004-11-25 20:01:39 +00:00
Stefan Monnier
495bf63050 (readchar): Check QUIT when `getc' is interrupted. 2004-11-25 20:01:18 +00:00
Stefan Monnier
cab27d048b *** empty log message *** 2004-11-25 16:48:45 +00:00
Richard M. Stallman
261b01c642 *** empty log message *** 2004-11-25 03:22:56 +00:00
Richard M. Stallman
8e7a47862a (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. 2004-11-25 03:18:31 +00:00
Richard M. Stallman
79e3497d3f (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. 2004-11-25 03:16:34 +00:00
Kim F. Storm
bd0e59f8cf (move_it_in_display_line_to, display_line):
Restore saved_face_id also when truncate-lines or hscrolled.
2004-11-24 11:29:46 +00:00