aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* (GET_UNSIGNED_NUMBER): Signal an error when reaching the end.Stefan Monnier2004-12-062-26/+29
| | | | | Remove redundant correctness checks. (regex_compile): Fix up error codes for \{..\} expressions.
* (regex_compile): Fix end-of-pattern case for space.Richard M. Stallman2004-12-052-2/+6
|
* *** empty log message ***Kim F. Storm2004-12-041-10/+7
|
* * macterm.h (cfstring_create_with_utf8_cstring): Added prototype.Steven Tamm2004-12-036-35/+46
| | | | | | | | | | | | | * image.c (image_load_quartz2d): Use cfstring_create_with_utf8_cstring * macmenu.c (add_menu_item): Use cfstring_create_with_utf8_cstring * macfns.c (x_set_name, x_set_title): Use cfstring_create_with_utf8_cstring (Fx_file_dialog): Use cfstring_create_with_utf8_cstring and use constant CFRefs instead of creating them each time for labels. * mac.c (cfstring_create_with_utf8_cstring): Added to prevent crashes with invalid characters.
* (search-whitespace-regexp): Remove the group. Doc fix.Richard M. Stallman2004-12-031-0/+17
| | | | | | | | | (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.
* (RE_TRANSLATE_P): If make_number is not a macro, don't use it here.Richard M. Stallman2004-12-021-0/+6
|
* (insert_from_string_before_markers)Richard M. Stallman2004-12-021-0/+8
| | | | (insert_from_string): Don't modify buffer on empty insertion.
* (Fcalled_interactively_p): Don't check INTERACTIVE.Richard M. Stallman2004-12-021-3/+5
| | | | | (interactive_p): Skip Scalled_interactively_p frames like Sinteractive_p frames.
* (Fmake_variable_buffer_local): Doc fix.Richard M. Stallman2004-12-021-1/+6
| | | | (Fmake_local_variable): Doc fix.
* (Fget_lru_window, Fget_largest_window): Doc fixes.Richard M. Stallman2004-12-021-0/+4
|
* * macmenu.c (add_menu_item): Fallback on MacRoman if encodingSteven Tamm2004-12-012-0/+13
| | | | menu text as UTF8 fails.
* Add commentary for last change.Kim F. Storm2004-12-011-23/+77
| | | | | | | | | | (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.
* *** empty log message ***Kim F. Storm2004-12-011-0/+11
|
* Declare string_to_multibyte.Andreas Schwab2004-12-012-0/+5
|
* (encode_terminal_code): Fix previous change.Kenichi Handa2004-12-011-1/+1
|
* *** empty log message ***Kenichi Handa2004-12-011-0/+7
|
* (encode_terminal_code): Don't make it "static".Kenichi Handa2004-12-011-1/+1
|
* (w32con_write_glyphs): Decide coding here.Kenichi Handa2004-12-011-64/+40
| | | | Adjusted for the change of encode_terminal_code.
* *** empty log message ***Kenichi Handa2004-11-301-0/+20
|
* (encode_terminal_buf, encode_terminal_bufsize): NewKenichi Handa2004-11-301-121/+120
| | | | | | | | | | | 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.
* (Vcode_conversion_workbuf_name): New variable.Kenichi Handa2004-11-301-17/+93
| | | | | | | (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.
* (run_pre_write_conversin_on_c_str): Extern it.Kenichi Handa2004-11-301-0/+4
|
* * keyboard.c: Don't undef SIGIOSteven Tamm2004-11-306-98/+163
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* New defines to enable buffer overrun checking.Kim F. Storm2004-11-301-0/+16
| | | | | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
* (malloc_initialize_hook): Don't free malloc_state_ptr ifKim F. Storm2004-11-301-4/+6
| | | | XMALLOC_OVERRUN_CHECK to avoid crash during load.
* Add more checks for buffer overruns.Kim F. Storm2004-11-301-9/+152
| | | | | | | | | | | | (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.
* *** empty log message ***Kim F. Storm2004-11-301-0/+20
|
* (concat): Use SAFE_ALLOCA.Kim F. Storm2004-11-291-2/+4
|
* *** empty log message ***Kim F. Storm2004-11-291-0/+4
|
* (emacs_write): Don't use QUIT.Stefan Monnier2004-11-292-5/+16
|
* *** empty log message ***Kenichi Handa2004-11-291-0/+8
|
* (init_buffer): Set current_buffer->directory to aKenichi Handa2004-11-291-1/+7
| | | | multibyte string made by string_to_multibyte.
* (init_cmdargs): Set unibyte strings in Vcommand_line_args.Kenichi Handa2004-11-291-1/+5
|
* Enable no-op gcpros on ia64.Andreas Schwab2004-11-272-2/+22
| | | | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define.
* (mark_stack): Call GC_MARK_SECONDARY_STACK if defined.Andreas Schwab2004-11-271-0/+5
|
* (lock_file_1): Call get_boot_time early. IncreaseAndreas Schwab2004-11-271-2/+4
| | | | buffer size.
* *** empty log message ***Eli Zaretskii2004-11-271-0/+5
|
* (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN is not defined.Eli Zaretskii2004-11-271-5/+7
|
* (syms_of_search) <search-spaces-regexp>: Move 'doc:'Kim F. Storm2004-11-272-5/+10
| | | | marker out of doc string.
* (POSIX_SIGNALS): Undo the removal of 2002-08-25,Stefan Monnier2004-11-262-0/+9
| | | | which was not mentioned in the log.
* (update_window_fringes): Prefer truncation bitmaps overKim F. Storm2004-11-261-4/+4
| | | | angle bitmaps at top/bottom line.
* *** empty log message ***Kim F. Storm2004-11-261-0/+3
|
* Undo recent changes for restoring it->saved_face_id. Instead,Kim F. Storm2004-11-261-70/+39
| | | | | | | | | | 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.
* *** empty log message ***Kim F. Storm2004-11-261-0/+11
|
* *** empty log message ***Eli Zaretskii2004-11-261-0/+5
|
* (Fdefvar): Declare pdl from last change as `volatile' to preventEli Zaretskii2004-11-261-1/+1
| | | | compiler warnings.
* (command_loop_1): Print a message describing the keyStefan Monnier2004-11-252-0/+6
| | | | the user just pressed when this key has no binding.
* (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.Stefan Monnier2004-11-252-6/+19
| | | | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
* (readchar): Check QUIT when `getc' is interrupted.Stefan Monnier2004-11-251-2/+3
|
* *** empty log message ***Stefan Monnier2004-11-251-69/+79
|