comparison src/ChangeLog @ 90796:4ef881a120fe

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 675-697) - Update from CVS - Merge from gnus--rel--5.10 - Release ERC 5.2. * gnus--rel--5.10 (patch 211-215) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-189
author Miles Bader <miles@gnu.org>
date Wed, 11 Apr 2007 00:17:47 +0000
parents c0409ee15cee 6d0e829fb0ea
children 5d649c564ce9
comparison
equal deleted inserted replaced
90795:b9182b6a90c9 90796:4ef881a120fe
1 2007-04-10 Chong Yidong <cyd@stupidchicken.com>
2
3 * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
4 glyph pointer before start of glyph row.
5
6 2007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7
8 * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
9 (C_SWITCH_SYSTEM): Remove `-I../mac/src'.
10
11 2007-04-09 Martin Rudalics <rudalics@gmx.at>
12
13 * indent.c (Fmove_to_column): Set next_boundary with correct start pt.
14
15 2007-04-08 Richard Stallman <rms@gnu.org>
16
17 * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.
18
19 2007-04-07 Chong Yidong <cyd@stupidchicken.com>
20
21 * editfns.c (Ftranspose_regions): Validate interval before setting
22 text properties.
23
24 2007-04-03 Eli Zaretskii <eliz@gnu.org>
25
26 * emacs.c (main): Fix instructions for building Emacs for profiling.
27
28 2007-04-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
29
30 * gtkutil.c (xg_update_menubar): Call g_list_next after moving
31 menu bar item.
32
33 2007-04-02 Juanma Barranquero <lekktu@gmail.com>
34
35 * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.
36
37 2007-04-01 Chong Yidong <cyd@stupidchicken.com>
38
39 * keymap.c (Fcommand_remapping): New optional argument.
40 (where_is_internal): Use new keymaps argument.
41 (Fkey_binding): Caller changed.
42
43 * keyboard.c (command_loop_1): Caller changed.
44
45 2007-03-31 Eli Zaretskii <eliz@gnu.org>
46
47 * window.c (Fget_lru_window): Doc fix.
48
49 2007-03-30 Chong Yidong <cyd@stupidchicken.com>
50
51 * undo.c (Fprimitive_undo): Give clearer error message when trying
52 to change text properties outside accessible part of buffer.
53
54 2007-03-29 Kim F. Storm <storm@cua.dk>
55
56 * process.c (wait_reading_process_output) [HAVE_PTYS]:
57 When EIO happens, clear channel from descriptor masks before raising
58 SIGCHLD signal to avoid busy loop between read and sigchld_handler.
59 (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes).
60
61 2007-03-29 Juanma Barranquero <lekktu@gmail.com>
62
63 * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid.
64
65 * process.c (Fformat_network_address): Return nil when the
66 argument vector contains invalid values.
67
68 2007-03-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
69
70 * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD.
71 [USE_PTHREAD]: Include pthread.h.
72 (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables.
73 (malloc_initialize_1): New function created from __malloc_initialize.
74 (__malloc_initialize): Use it.
75 (LOCK, UNLOCK): New macros to make malloc etc. thread safe.
76 (_malloc_internal, _free_internal, _realloc_internal): Use them.
77
78 * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr.
79
80 2007-03-27 Juanma Barranquero <lekktu@gmail.com>
81
82 * process.c (Fformat_network_address): Make args array big enough
83 to format IPv6 addresses.
84
85 2007-03-27 Glenn Morris <rgm@gnu.org>
86
87 * m/hp800.h: Restore HP-UX support (removed 2007-01-29).
88
89 2007-03-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
90
91 * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
92 screen size in pixels by millimeters per pixel of main display.
93
94 * macselect.c (get_scrap_target_type_list, x_own_selection):
95 Move assignments outside predicate macros.
96 (Vselection_converter_alist): Doc fix.
97
98 * macterm.c (create_text_encoding_info_alist): Move assignments
99 outside predicate macros.
100 (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and
101 dpyinfo->width are those of whole screen.
102
103 2007-03-26 Sam Steingold <sds@gnu.org>
104
105 * process.c (sigchld_handler): Delay by 1ms instead of 1s to
106 alleviate sluggishness (the original problem is still fixed).
107
108 2007-03-25 Kim F. Storm <storm@cua.dk>
109
110 * intervals.c (merge_properties): Use explicit loop instead of
111 Fplist_member to avoid QUIT. Don't use Fcdr.
112 (intervals_equal): Likewise. Rewrite loop to perform length check
113 on the fly rather than calling Flength. Don't use Fcar.
114
115 2007-03-24 Eli Zaretskii <eliz@gnu.org>
116
117 * editfns.c (Fgoto_char): Doc fix.
118
119 * indent.c (Findent_to): Doc fix.
120
121 2007-03-24 Chong Yidong <cyd@stupidchicken.com>
122
123 * editfns.c (Ftranspose_regions): Use set_text_properties_1
124 instead of Fset_text_properties to avoid GC. Signal after change.
125
126 2007-03-24 Eli Zaretskii <eliz@gnu.org>
127
128 * xfns.c (Fx_show_tip): Doc fix.
129
130 * macfns.c (Fx_show_tip): Doc fix.
131
132 * w32fns.c (Fx_show_tip): Doc fix.
133
134 2007-03-23 Kim F. Storm <storm@cua.dk>
135
136 * intervals.c (merge_properties, intervals_equal):
137 Use Fplist_member instead of Fmemq to find properties.
138
139 2007-03-23 Glenn Morris <rgm@gnu.org>
140
141 * unexhp9k800.c: Restore file with clarified legal status.
142 * m/sr2k.h: Restore since dependency unexhp9k800.c is restored.
143
144 2007-03-22 Chong Yidong <cyd@stupidchicken.com>
145
146 * widget.c (EmacsFrameSetCharSize): Catch X errors.
147
148 2007-03-22 Kenichi Handa <handa@m17n.org>
149
150 * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with
151 non-encoded file name.
152 (Frename_file): Likewise.
153 (Fadd_name_to_file): Likewise.
154 (Fmake_symbolic_link): Likewise.
155
1 2007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 156 2007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 157
3 * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. 158 * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h.
4 (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h. 159 (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h.
5 (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and 160 (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and
23 (load_unwind): Add BLOCK_INPUT around fclose. 178 (load_unwind): Add BLOCK_INPUT around fclose.
24 179
25 * print.c: Include blockinput.h. 180 * print.c: Include blockinput.h.
26 (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. 181 (Fredirect_debugging_output): Add BLOCK_INPUT around fclose.
27 182
28 * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: Clear 183 * process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
29 immediate_quit before calling freeaddrinfo. Add BLOCK_INPUT 184 Clear immediate_quit before calling freeaddrinfo.
30 around freeaddrinfo. 185 Add BLOCK_INPUT around freeaddrinfo.
31 186
32 * term.c: Include blockinput.h. 187 * term.c: Include blockinput.h.
33 (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. 188 (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.
34 189
35 2007-03-19 Richard Stallman <rms@gnu.org> 190 2007-03-19 Richard Stallman <rms@gnu.org>
49 204
50 * macmenu.c (popup_activated_flag): New variable. 205 * macmenu.c (popup_activated_flag): New variable.
51 (x_activate_menubar, mac_menu_show): Set it during menu tracking. 206 (x_activate_menubar, mac_menu_show): Set it during menu tracking.
52 (popup_activated): New function. 207 (popup_activated): New function.
53 208
54 * xdisp.c (redisplay_internal, note_mouse_highlight): Check 209 * xdisp.c (redisplay_internal, note_mouse_highlight):
55 popup_activated for MAC_OS. 210 Check popup_activated for MAC_OS.
56 211
57 2007-03-17 Juanma Barranquero <lekktu@gmail.com> 212 2007-03-17 Juanma Barranquero <lekktu@gmail.com>
58 213
59 * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix. 214 * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
60 Reported by Nikolaj Schumacher <n_schumacher@web.de>. 215 Reported by Nikolaj Schumacher <n_schumacher@web.de>.
489 * editfns.c (Finsert_char): Doc fix. 644 * editfns.c (Finsert_char): Doc fix.
490 (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. 645 (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings.
491 646
492 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 647 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
493 648
494 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't 649 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
495 pass keyboard modifiers to mac_store_drag_event, but put them as 650 Don't pass keyboard modifiers to mac_store_drag_event, but put
496 kEventParamKeyModifiers Apple event parameter. 651 them as kEventParamKeyModifiers Apple event parameter.
497 652
498 2007-01-21 Chong Yidong <cyd@stupidchicken.com> 653 2007-01-21 Chong Yidong <cyd@stupidchicken.com>
499 654
500 * xdisp.c (try_window): Revert previous change. 655 * xdisp.c (try_window): Revert previous change.
501 656
575 (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) 730 (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
576 (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. 731 (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros.
577 (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. 732 (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
578 (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. 733 (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.
579 734
580 * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call 735 * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]:
581 mac_prepare_for_quickdraw. 736 Call mac_prepare_for_quickdraw.
582 (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs 737 (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
583 outside #ifdef MAC_OSX. 738 outside #ifdef MAC_OSX.
584 (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function 739 (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
585 outside #ifdef MAC_OSX. 740 outside #ifdef MAC_OSX.
586 (mac_check_bundle) [MAC_OSX]: Remove unused function. 741 (mac_check_bundle) [MAC_OSX]: Remove unused function.
2228 * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: 2383 * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
2229 Don't attempt to replace cursor on image glyphs. 2384 Don't attempt to replace cursor on image glyphs.
2230 2385
2231 2006-08-28 Kenichi Handa <handa@m17n.org> 2386 2006-08-28 Kenichi Handa <handa@m17n.org>
2232 2387
2233 * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix 2388 * coding.c (Fdetect_coding_region, Fdetect_coding_string):
2234 docstring about ISO-2022 control characters. 2389 Fix docstring about ISO-2022 control characters.
2235 2390
2236 2006-08-28 Kim F. Storm <storm@cua.dk> 2391 2006-08-28 Kim F. Storm <storm@cua.dk>
2237 2392
2238 * xdisp.c (get_window_cursor_type): Replace BOX cursor on images 2393 * xdisp.c (get_window_cursor_type): Replace BOX cursor on images
2239 with a hollow box cursor if image is larger than 32x32 (or the default 2394 with a hollow box cursor if image is larger than 32x32 (or the default
2452 and likewise for keytran. 2607 and likewise for keytran.
2453 2608
2454 2006-08-09 Kenichi Handa <handa@m17n.org> 2609 2006-08-09 Kenichi Handa <handa@m17n.org>
2455 2610
2456 * coding.c (syms_of_coding): Improve the docstring 2611 * coding.c (syms_of_coding): Improve the docstring
2457 file-coding-system-alist. 2612 of file-coding-system-alist.
2458 2613
2459 2006-08-07 Andreas Schwab <schwab@suse.de> 2614 2006-08-07 Andreas Schwab <schwab@suse.de>
2460 2615
2461 * puresize.h (BASE_PURESIZE): Increase to 1120000. 2616 * puresize.h (BASE_PURESIZE): Increase to 1120000.
2462 2617
3400 Call mac_set_font_info_for_selection if font panel is made visible. 3555 Call mac_set_font_info_for_selection if font panel is made visible.
3401 3556
3402 * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. 3557 * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable.
3403 (mac_font_panel_visible_p, mac_show_hide_font_panel) 3558 (mac_font_panel_visible_p, mac_show_hide_font_panel)
3404 [USE_MAC_FONT_PANEL]: New functions. 3559 [USE_MAC_FONT_PANEL]: New functions.
3405 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return 3560 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection):
3406 immediately if font panel is not visible. 3561 Return immediately if font panel is not visible.
3407 3562
3408 * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): 3563 * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel):
3409 Add externs. 3564 Add externs.
3410 3565
3411 2006-05-29 Dan Nicolaescu <dann@ics.uci.edu> 3566 2006-05-29 Dan Nicolaescu <dann@ics.uci.edu>
3420 3575
3421 * lisp.h (die, nsberror): Likewise. 3576 * lisp.h (die, nsberror): Likewise.
3422 3577
3423 2006-05-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 3578 2006-05-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
3424 3579
3425 * sound.c (alsa_open, alsa_configure, alsa_write): Move 3580 * sound.c (alsa_open, alsa_configure, alsa_write):
3426 assignment to err out of if-statement. 3581 Move assignment to err out of if-statement.
3427 3582
3428 * gtkutil.c (menu_nav_ended): New function. 3583 * gtkutil.c (menu_nav_ended): New function.
3429 (create_menus): Connect menu_nav_ended to "selection-done" to fix 3584 (create_menus): Connect menu_nav_ended to "selection-done" to fix
3430 grabs. 3585 grabs.
3431 3586
3836 (syms_of_macterm) [USE_ATSUI]: Defvar it. 3991 (syms_of_macterm) [USE_ATSUI]: Defvar it.
3837 (Qtoolbar_switch_mode) [MAC_OSX]: New variable. 3992 (Qtoolbar_switch_mode) [MAC_OSX]: New variable.
3838 (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. 3993 (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
3839 (syms_of_macterm): Intern and staticpro them. 3994 (syms_of_macterm): Intern and staticpro them.
3840 (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. 3995 (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table.
3841 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New 3996 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
3842 function. 3997 New function.
3843 [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. 3998 [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
3844 [MAC_OSX] (mac_store_services_event): Likewise. 3999 [MAC_OSX] (mac_store_services_event): Likewise.
3845 [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle 4000 [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
3846 kEventWindowToolbarSwitchMode event. 4001 kEventWindowToolbarSwitchMode event.
3847 (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it. 4002 (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it.
3889 * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to 4044 * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
3890 `const AEDesc *'. 4045 `const AEDesc *'.
3891 [TARGET_API_MAC_CARBON] (create_apple_event): New function. 4046 [TARGET_API_MAC_CARBON] (create_apple_event): New function.
3892 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. 4047 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
3893 Use xrealloc instead of repeated xmalloc/xfree. 4048 Use xrealloc instead of repeated xmalloc/xfree.
3894 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New 4049 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref):
3895 function. 4050 New function.
3896 4051
3897 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. 4052 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
3898 4053
3899 * macselect.c: Update copyright year. 4054 * macselect.c: Update copyright year.
3900 (mac_store_apple_event): Change return type to void in extern. 4055 (mac_store_apple_event): Change return type to void in extern.
5750 (set_frame_menubar): First parse all submenus, then make 5905 (set_frame_menubar): First parse all submenus, then make
5751 widget_value trees from them. Don't allocate any widget_value 5906 widget_value trees from them. Don't allocate any widget_value
5752 objects until we are done with the parsing. 5907 objects until we are done with the parsing.
5753 (parse_single_submenu, digest_single_submenu): New functions. 5908 (parse_single_submenu, digest_single_submenu): New functions.
5754 (single_submenu): Function deleted, replaced by those two. 5909 (single_submenu): Function deleted, replaced by those two.
5755 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't 5910 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create
5756 create or dispose of EventHandlerUPP. Install hander to all submenus. 5911 or dispose of EventHandlerUPP. Install hander to all submenus.
5757 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING 5912 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
5758 instead of ENCODE_SYSTEM. 5913 instead of ENCODE_SYSTEM.
5759 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for 5914 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
5760 integer values. 5915 integer values.
5761 [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). 5916 [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).