aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog251
1 files changed, 228 insertions, 23 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 76414a593f6..e325d82f04a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,208 @@
12007-04-16 Chong Yidong <cyd@stupidchicken.com>
2
3 * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Set
4 garbaged flag in presence of window margins.
5 (showing_window_margins_p): New function.
6
7 * xdisp.c (cursor_row_p): Only end row on newline if it's a
8 display string. Suggested by Lennart Borgman.
9
102007-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11
12 * alloc.c (mem_insert): Set min_heap_address and max_heap_address
13 if they are not yet initialized.
14
152007-04-15 Chong Yidong <cyd@stupidchicken.com>
16
17 * xdisp.c (redisplay_window): When deciding whether or not to
18 recenter, don't use the reset values of BEG_UNCHANGED and
19 END_UNCHANGED.
20
212007-04-13 Kim F. Storm <storm@cua.dk>
22
23 * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes
24 and check that buffer is still alive upon return.
25
262007-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
27
28 * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h.
29 (mac_screen_config_changed): New variable.
30 (mac_handle_dm_notification, init_dm_notification_handler)
31 (mac_get_screen_info): New functions.
32 [MAC_OS8] (main): Call init_dm_notification_handler.
33 (mac_initialize) [MAC_OSX]: Likewise.
34 (XTread_socket): Call mac_get_screen_info if screen config changed.
35 (mac_initialized): Make static.
36 (mac_initialize_display_info): Remove function.
37 (mac_term_init): Call mac_get_screen_info. Add partial contents of
38 mac_initialize_display_info.
39
402007-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
41
42 * mac.c (xrm_get_preference_database, Fmac_get_preference)
43 [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.
44
45 * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event):
46 Use GetGlobalMouse instead of GetMouse and LocalToGlobal.
47 (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero.
48 (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and
49 dpyinfo->width are those of whole screen.
50
512007-04-10 Chong Yidong <cyd@stupidchicken.com>
52
53 * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
54 glyph pointer before start of glyph row.
55
562007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
57
58 * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
59 (C_SWITCH_SYSTEM): Remove `-I../mac/src'.
60
612007-04-09 Martin Rudalics <rudalics@gmx.at>
62
63 * indent.c (Fmove_to_column): Set next_boundary with correct start pt.
64
652007-04-08 Richard Stallman <rms@gnu.org>
66
67 * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.
68
692007-04-07 Chong Yidong <cyd@stupidchicken.com>
70
71 * editfns.c (Ftranspose_regions): Validate interval before setting
72 text properties.
73
742007-04-03 Eli Zaretskii <eliz@gnu.org>
75
76 * emacs.c (main): Fix instructions for building Emacs for profiling.
77
782007-04-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
79
80 * gtkutil.c (xg_update_menubar): Call g_list_next after moving
81 menu bar item.
82
832007-04-02 Juanma Barranquero <lekktu@gmail.com>
84
85 * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.
86
872007-04-01 Chong Yidong <cyd@stupidchicken.com>
88
89 * keymap.c (Fcommand_remapping): New optional argument.
90 (where_is_internal): Use new keymaps argument.
91 (Fkey_binding): Caller changed.
92
93 * keyboard.c (command_loop_1): Caller changed.
94
952007-03-31 Eli Zaretskii <eliz@gnu.org>
96
97 * window.c (Fget_lru_window): Doc fix.
98
992007-03-30 Chong Yidong <cyd@stupidchicken.com>
100
101 * undo.c (Fprimitive_undo): Give clearer error message when trying
102 to change text properties outside accessible part of buffer.
103
1042007-03-29 Kim F. Storm <storm@cua.dk>
105
106 * process.c (wait_reading_process_output) [HAVE_PTYS]:
107 When EIO happens, clear channel from descriptor masks before raising
108 SIGCHLD signal to avoid busy loop between read and sigchld_handler.
109 (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes).
110
1112007-03-29 Juanma Barranquero <lekktu@gmail.com>
112
113 * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid.
114
115 * process.c (Fformat_network_address): Return nil when the
116 argument vector contains invalid values.
117
1182007-03-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
119
120 * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD.
121 [USE_PTHREAD]: Include pthread.h.
122 (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables.
123 (malloc_initialize_1): New function created from __malloc_initialize.
124 (__malloc_initialize): Use it.
125 (LOCK, UNLOCK): New macros to make malloc etc. thread safe.
126 (_malloc_internal, _free_internal, _realloc_internal): Use them.
127
128 * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr.
129
1302007-03-27 Juanma Barranquero <lekktu@gmail.com>
131
132 * process.c (Fformat_network_address): Make args array big enough
133 to format IPv6 addresses.
134
1352007-03-27 Glenn Morris <rgm@gnu.org>
136
137 * m/hp800.h: Restore HP-UX support (removed 2007-01-29).
138
1392007-03-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
140
141 * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
142 screen size in pixels by millimeters per pixel of main display.
143
144 * macselect.c (get_scrap_target_type_list, x_own_selection):
145 Move assignments outside predicate macros.
146 (Vselection_converter_alist): Doc fix.
147
148 * macterm.c (create_text_encoding_info_alist): Move assignments
149 outside predicate macros.
150 (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and
151 dpyinfo->width are those of whole screen.
152
1532007-03-26 Sam Steingold <sds@gnu.org>
154
155 * process.c (sigchld_handler): Delay by 1ms instead of 1s to
156 alleviate sluggishness (the original problem is still fixed).
157
1582007-03-25 Kim F. Storm <storm@cua.dk>
159
160 * intervals.c (merge_properties): Use explicit loop instead of
161 Fplist_member to avoid QUIT. Don't use Fcdr.
162 (intervals_equal): Likewise. Rewrite loop to perform length check
163 on the fly rather than calling Flength. Don't use Fcar.
164
1652007-03-24 Eli Zaretskii <eliz@gnu.org>
166
167 * editfns.c (Fgoto_char): Doc fix.
168
169 * indent.c (Findent_to): Doc fix.
170
1712007-03-24 Chong Yidong <cyd@stupidchicken.com>
172
173 * editfns.c (Ftranspose_regions): Use set_text_properties_1
174 instead of Fset_text_properties to avoid GC. Signal after change.
175
1762007-03-24 Eli Zaretskii <eliz@gnu.org>
177
178 * xfns.c (Fx_show_tip): Doc fix.
179
180 * macfns.c (Fx_show_tip): Doc fix.
181
182 * w32fns.c (Fx_show_tip): Doc fix.
183
1842007-03-23 Kim F. Storm <storm@cua.dk>
185
186 * intervals.c (merge_properties, intervals_equal):
187 Use Fplist_member instead of Fmemq to find properties.
188
1892007-03-23 Glenn Morris <rgm@gnu.org>
190
191 * unexhp9k800.c: Restore file with clarified legal status.
192 * m/sr2k.h: Restore since dependency unexhp9k800.c is restored.
193
1942007-03-22 Chong Yidong <cyd@stupidchicken.com>
195
196 * widget.c (EmacsFrameSetCharSize): Catch X errors.
197
1982007-03-22 Kenichi Handa <handa@m17n.org>
199
200 * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with
201 non-encoded file name.
202 (Frename_file): Likewise.
203 (Fadd_name_to_file): Likewise.
204 (Fmake_symbolic_link): Likewise.
205
12007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 2062007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 207
3 * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. 208 * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h.
@@ -25,9 +230,9 @@
25 * print.c: Include blockinput.h. 230 * print.c: Include blockinput.h.
26 (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. 231 (Fredirect_debugging_output): Add BLOCK_INPUT around fclose.
27 232
28 * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: Clear 233 * process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
29 immediate_quit before calling freeaddrinfo. Add BLOCK_INPUT 234 Clear immediate_quit before calling freeaddrinfo.
30 around freeaddrinfo. 235 Add BLOCK_INPUT around freeaddrinfo.
31 236
32 * term.c: Include blockinput.h. 237 * term.c: Include blockinput.h.
33 (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. 238 (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.
@@ -51,8 +256,8 @@
51 (x_activate_menubar, mac_menu_show): Set it during menu tracking. 256 (x_activate_menubar, mac_menu_show): Set it during menu tracking.
52 (popup_activated): New function. 257 (popup_activated): New function.
53 258
54 * xdisp.c (redisplay_internal, note_mouse_highlight): Check 259 * xdisp.c (redisplay_internal, note_mouse_highlight):
55 popup_activated for MAC_OS. 260 Check popup_activated for MAC_OS.
56 261
572007-03-17 Juanma Barranquero <lekktu@gmail.com> 2622007-03-17 Juanma Barranquero <lekktu@gmail.com>
58 263
@@ -491,9 +696,9 @@
491 696
4922007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 6972007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
493 698
494 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't 699 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
495 pass keyboard modifiers to mac_store_drag_event, but put them as 700 Don't pass keyboard modifiers to mac_store_drag_event, but put
496 kEventParamKeyModifiers Apple event parameter. 701 them as kEventParamKeyModifiers Apple event parameter.
497 702
4982007-01-21 Chong Yidong <cyd@stupidchicken.com> 7032007-01-21 Chong Yidong <cyd@stupidchicken.com>
499 704
@@ -577,8 +782,8 @@
577 (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. 782 (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
578 (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. 783 (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.
579 784
580 * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call 785 * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]:
581 mac_prepare_for_quickdraw. 786 Call mac_prepare_for_quickdraw.
582 (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs 787 (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
583 outside #ifdef MAC_OSX. 788 outside #ifdef MAC_OSX.
584 (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function 789 (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
@@ -2230,8 +2435,8 @@
2230 2435
22312006-08-28 Kenichi Handa <handa@m17n.org> 24362006-08-28 Kenichi Handa <handa@m17n.org>
2232 2437
2233 * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix 2438 * coding.c (Fdetect_coding_region, Fdetect_coding_string):
2234 docstring about ISO-2022 control characters. 2439 Fix docstring about ISO-2022 control characters.
2235 2440
22362006-08-28 Kim F. Storm <storm@cua.dk> 24412006-08-28 Kim F. Storm <storm@cua.dk>
2237 2442
@@ -2454,7 +2659,7 @@
24542006-08-09 Kenichi Handa <handa@m17n.org> 26592006-08-09 Kenichi Handa <handa@m17n.org>
2455 2660
2456 * coding.c (syms_of_coding): Improve the docstring 2661 * coding.c (syms_of_coding): Improve the docstring
2457 file-coding-system-alist. 2662 of file-coding-system-alist.
2458 2663
24592006-08-07 Andreas Schwab <schwab@suse.de> 26642006-08-07 Andreas Schwab <schwab@suse.de>
2460 2665
@@ -3402,8 +3607,8 @@
3402 * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. 3607 * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable.
3403 (mac_font_panel_visible_p, mac_show_hide_font_panel) 3608 (mac_font_panel_visible_p, mac_show_hide_font_panel)
3404 [USE_MAC_FONT_PANEL]: New functions. 3609 [USE_MAC_FONT_PANEL]: New functions.
3405 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return 3610 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection):
3406 immediately if font panel is not visible. 3611 Return immediately if font panel is not visible.
3407 3612
3408 * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): 3613 * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel):
3409 Add externs. 3614 Add externs.
@@ -3422,8 +3627,8 @@
3422 3627
34232006-05-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 36282006-05-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
3424 3629
3425 * sound.c (alsa_open, alsa_configure, alsa_write): Move 3630 * sound.c (alsa_open, alsa_configure, alsa_write):
3426 assignment to err out of if-statement. 3631 Move assignment to err out of if-statement.
3427 3632
3428 * gtkutil.c (menu_nav_ended): New function. 3633 * gtkutil.c (menu_nav_ended): New function.
3429 (create_menus): Connect menu_nav_ended to "selection-done" to fix 3634 (create_menus): Connect menu_nav_ended to "selection-done" to fix
@@ -3838,8 +4043,8 @@
3838 (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. 4043 (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise.
3839 (syms_of_macterm): Intern and staticpro them. 4044 (syms_of_macterm): Intern and staticpro them.
3840 (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. 4045 (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 4046 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
3842 function. 4047 New function.
3843 [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. 4048 [USE_CARBON_EVENTS] (mac_handle_command_event): Use it.
3844 [MAC_OSX] (mac_store_services_event): Likewise. 4049 [MAC_OSX] (mac_store_services_event): Likewise.
3845 [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle 4050 [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle
@@ -3891,8 +4096,8 @@
3891 [TARGET_API_MAC_CARBON] (create_apple_event): New function. 4096 [TARGET_API_MAC_CARBON] (create_apple_event): New function.
3892 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. 4097 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
3893 Use xrealloc instead of repeated xmalloc/xfree. 4098 Use xrealloc instead of repeated xmalloc/xfree.
3894 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New 4099 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref):
3895 function. 4100 New function.
3896 4101
3897 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. 4102 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
3898 4103
@@ -5752,8 +5957,8 @@
5752 objects until we are done with the parsing. 5957 objects until we are done with the parsing.
5753 (parse_single_submenu, digest_single_submenu): New functions. 5958 (parse_single_submenu, digest_single_submenu): New functions.
5754 (single_submenu): Function deleted, replaced by those two. 5959 (single_submenu): Function deleted, replaced by those two.
5755 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't 5960 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create
5756 create or dispose of EventHandlerUPP. Install hander to all submenus. 5961 or dispose of EventHandlerUPP. Install hander to all submenus.
5757 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING 5962 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
5758 instead of ENCODE_SYSTEM. 5963 instead of ENCODE_SYSTEM.
5759 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for 5964 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for