comparison src/ChangeLog @ 83632:cc587bfd19ca

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 781-792) - Update from CVS - Merge from gnus--rel--5.10 - Merge from emacs--rel--22 * emacs--rel--22 (patch 33-41) * gnus--rel--5.10 (patch 226-228) - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-21
author Miles Bader <miles@gnu.org>
date Mon, 11 Jun 2007 01:00:07 +0000
parents 4c726a40604c e4cbe0cfdf59
children 9c01792a3ce8
comparison
equal deleted inserted replaced
83631:7d63b897231b 83632:cc587bfd19ca
1 2007-06-10 Jason Rumney <jasonr@gnu.org>
2
3 * w32fns.c (Fx_file_dialog): Take size from struct not pointer.
4
5 2007-06-08 Juanma Barranquero <lekktu@gmail.com>
6
7 * callint.c (Fcall_interactively):
8 * editfns.c (Fdelete_and_extract_region):
9 * fileio.c (Fread_file_name):
10 * fns.c (Fmapconcat):
11 * keyboard.c (cmd_error_internal):
12 * keymap.c (Fkey_description):
13 * lread.c (openp):
14 * minibuf.c (read_minibuf):
15 * search.c (wordify):
16 * sunfns.c (sel_read):
17 * xdisp.c (Fformat_mode_line, syms_of_xdisp):
18 * xfns.c (x_default_scroll_bar_color_parameter):
19 * xmenu.c (menu_help_callback):
20 * xselect.c (Fx_get_atom_name):
21 * xterm.c (x_term_init): Use empty_unibyte_string.
22
23 2007-06-08 Dmitry Antipov <dmitry.antipov@mail.ru> (tiny change)
24
25 * alloc.c (init_strings): Initialize canonical empty strings.
26 (make_uninit_string, make_uninit_multibyte_string): Return appropriate
27 canonical empty string when the requested size is 0.
28
29 * emacs.c (empty_unibyte_string): Rename from empty_string.
30 (empty_multibyte_string): New canonical empty string.
31 (syms_of_emacs): Don't initialize empty_string.
32
33 * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte
34 string, if appropriate.
35 (empty_unibyte_string, empty_multibyte_string): New externs.
36 (empty_string): Remove extern.
37
38 * lread.c (syms_of_lread): Use empty_unibyte_string.
39
40 2007-06-07 Jason Rumney <jasonr@gnu.org>
41
42 * s/ms-w32.h: Don't define HAVE_TZNAME.
43
44 * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows.
45
46 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
47
48 * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT.
49
50 * macfns.c (mac_get_window_bounds): Move extern to macterm.h.
51 (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse.
52
53 * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler):
54 Don't call next handler.
55 [TARGET_API_MAC_CARBON] (install_menu_target_item_handler):
56 Remove argument. Install handler to application.
57 (set_frame_menubar): Don't change deep_p.
58 (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and
59 FRAME_OUTER_TO_INNER_DIFF_Y.
60 (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P)
61 (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID)
62 [HAVE_DIALOGS]: New macros.
63 [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog):
64 Use them.
65 (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString.
66
67 * macselect.c [MAC_OSX] (install_service_handler): Rename from
68 init_service_handler. All callers changed. Return OSStatus value.
69
70 * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort.
71 All callers changed so as not to call SetPortWindowPort.
72 (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
73 (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from
74 mac_draw_string_common.
75 (mac_draw_image_string_qd): Likewise.
76 (mac_draw_string_common): Use them. Add INLINE.
77 (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]:
78 Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and
79 GetGlobalMouse.
80 (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X
81 and FRAME_OUTER_TO_INNER_DIFF_Y.
82 [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise.
83 [USE_MAC_TSM] (mac_handle_text_input_event): Likewise.
84 (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for
85 repositioning window to mac_handle_window_event.
86 (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for
87 saving window location to mac_handle_window_event
88 [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here.
89 (install_menu_target_item_handler): Remove argument in extern.
90 [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers):
91 Also accept command events.
92 (do_keystroke): New function created from XTread_socket.
93 (init_command_handler): Remove functions.
94 [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window
95 and save window location by kEventWindowShowing and kEventWindowHiding
96 handlers here. Don't call next handler for window state change and
97 focus events.
98 (mac_handle_application_event, mac_handle_keyboard_event)
99 [TARGET_API_MAC_CARBON]: New functions.
100 (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for
101 kEventWindowShowing and kEventWindowHiding events. Move installation
102 of mouse, font, text input and menu target item handlers to
103 install_application_handler.
104 (install_application_handler) [TARGET_API_MAC_CARBON]: New function.
105 (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
106 New function.
107 (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
108 Register it.
109 (XTread_socket) [TARGET_API_MAC_CARBON]: Consolidate
110 SendEventToEventTarget calls. Use FRAME_OUTER_TO_INNER_DIFF_X and
111 FRAME_OUTER_TO_INNER_DIFF_Y. Move application activation handler
112 to mac_handle_application_event. Move keyboard handler to
113 mac_handle_keyboard_event.
114 (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke.
115 (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
116 init_command_handler. Call install_application_handler.
117
118 * macterm.h (mac_get_window_bounds): Move extern from macfns.c.
119 (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros.
120
121 2007-06-07 Glenn Morris <rgm@gnu.org>
122
123 * emacs.c (main): Use `emacs-copyright' in --version output.
124
125 2007-06-06 Chong Yidong <cyd@stupidchicken.com>
126
127 * image.c (xpm_load): Remove spurious call to
128 xpm_init_color_cache.
129
130 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
131
132 * macfns.c (mac_window): Replace WindowPtr with WindowRef.
133
134 * macgui.h: Replace WindowPtr with WindowRef.
135
136 * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and
137 GetMenuRef, respectively. Replace WindowPtr with WindowRef.
138 Replace ControlHandle with ControlRef.
139 (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU.
140
141 * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and
142 GetMenuRef, respectively. Replace WindowPtr with WindowRef.
143 Replace ControlHandle with ControlRef.
144 (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead.
145 [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'.
146
147 * macterm.h (struct scroll_bar): Rename member control_handle_low
148 and control_handle_high to control_ref_low and control_ref_high.
149 All uses changed.
150 (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from
151 SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE,
152 respectively. All uses changed.
153 (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground)
154 (install_window_handler, remove_window_handler): Replace WindowPtr
155 with WindowRef in externs.
156
157 2007-06-05 Juanma Barranquero <lekktu@gmail.com>
158
159 * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops.
160
161 2007-06-03 Nick Roberts <nickrob@snap.net.nz>
162
163 * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case.
164
165 * frame.c (Fmouse_position, Fmouse_pixel_position):
166 Condition on HAVE_GPM too.
167
168 * term.c (term_mouse_highlight): Remove unused variables.
169 (Fterm_open_connection): Set gpm_zerobased to 1.
170 (term_mouse_movement, term_mouse_click, handle_one_term_event):
171 Use zero based co-ordinates.
172 (handle_one_term_event): Report a drag as mouse movement too.
173
174 * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM.
175
176 2007-06-03 Chong Yidong <cyd@stupidchicken.com>
177
178 * image.c (search_image_cache): New function. Require background
179 color match if background color is unspecified in the image spec.
180 (uncache_image, lookup_image): Use it.
181
182 2007-06-01 Juanma Barranquero <lekktu@gmail.com>
183
184 * window.c (Fshrink_window): Reflow docstring.
185
186 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
187
188 * Version 22.1 released.
189
190 2007-06-01 Richard Stallman <rms@gnu.org>
191
192 * xfns.c (x_encode_text): Add GCPRO.
193
194 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
195
196 * xfns.c (x_set_name_internal): Save encoded name before
197 x_encode_text in case string data is relocated.
198
199 2007-05-31 Richard Stallman <rms@gnu.org>
200
201 * buffer.c (syms_of_buffer): Doc fix.
202
203 2007-05-30 Nick Roberts <nickrob@snap.net.nz>
204
205 * sysdep.c (init_sys_modes): Add rather than replace with
206 O_NONBLOCK.
207
208 * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to
209 term_mouse_moveto.
210
211 * termhooks.h (term_mouse_moveto): New extern.
212
213 * term.c (mouse_face_window): Rename...
214 (Qmouse_face_window): ...to this.
215 (term_show_mouse_face, term_clear_mouse_face)
216 (term_mouse_highlight): Use Qmouse_face_window.
217 (term_mouse_moveto): New function.
218 (term_mouse_position): Make it work.
219 (syms_of_term): Uncomment assignment to mouse_position_hook.
220 Staticpro Qmouse_face_window.
221
1 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 222 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 223
3 * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t 224 * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
4 around current_column call. 225 around current_column call.
5 226
6 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> 227 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu>
7 228
8 * xfaces.c (syms_of_xfaces): Delete stray semicolon. 229 * xfaces.c (syms_of_xfaces): Delete stray semicolon.
9 * xdisp.c (next_element_from_buffer): 230 * xdisp.c (next_element_from_buffer):
10 * window.c (delete_window): 231 * window.c (delete_window):
11 * term.c (term_mouse_highlight): 232 * term.c (term_mouse_highlight):
12 * msdos.c (getdefdir): 233 * msdos.c (getdefdir):
13 * macterm.c (mac_create_bitmap_from_bitmap_data) 234 * macterm.c (mac_create_bitmap_from_bitmap_data)
14 (init_font_name_table): 235 (init_font_name_table):
15 * fns.c (Fsxhash): 236 * fns.c (Fsxhash):
16 * data.c (Fmake_local_variable): 237 * data.c (Fmake_local_variable):
17 * ccl.c (ccl_driver): Likewise. 238 * ccl.c (ccl_driver): Likewise.
18 239
19 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 240 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20 241
21 * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): 242 * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
23 244
24 2007-05-25 Chong Yidong <cyd@stupidchicken.com> 245 2007-05-25 Chong Yidong <cyd@stupidchicken.com>
25 246
26 * image.c (uncache_image): Fix typo. 247 * image.c (uncache_image): Fix typo.
27 248
28 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) 249 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change)
29 250
30 * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. 251 * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too.
31 252
32 2007-05-22 Richard Stallman <rms@gnu.org> 253 2007-05-22 Richard Stallman <rms@gnu.org>
33 254
76 * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): 297 * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor):
77 New externs. 298 New externs.
78 299
79 * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. 300 * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT.
80 Include gpm.h. 301 Include gpm.h.
81 (handle_one_term_event, term_gpm) New externs. 302 (handle_one_term_event, term_gpm): New externs.
82 303
83 * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking 304 * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking
84 and allow it to be interrupted by SIGIO. 305 and allow it to be interrupted by SIGIO.
85 306
86 * process.c (gpm_wait_mask, max_gpm_desc): New variables. 307 * process.c (gpm_wait_mask, max_gpm_desc): New variables.
142 363
143 * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). 364 * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
144 365
145 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> 366 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
146 367
147 * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) 368 * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object
369 mixup (YAILOM).
148 370
149 2007-05-07 Andreas Schwab <schwab@suse.de> 371 2007-05-07 Andreas Schwab <schwab@suse.de>
150 372
151 * keymap.c (Flookup_key): Fix typo in last change. 373 * keymap.c (Flookup_key): Fix typo in last change.
152 374
153 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> 375 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
154 376
155 * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier 377 * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier
156 mapping for unibyte strings. 378 mapping for unibyte strings.
2597 2819
2598 * gtkutil.c (xg_get_file_with_chooser): Change file chooser message 2820 * gtkutil.c (xg_get_file_with_chooser): Change file chooser message
2599 for writing files. Call gtk_file_chooser_set_current_name to keep 2821 for writing files. Call gtk_file_chooser_set_current_name to keep
2600 default filename. 2822 default filename.
2601 2823
2602 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls 2824 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls.
2603 2825
2604 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change) 2826 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change)
2605 2827
2606 * fns.c (concat) [__GNUC__]: Declare with 2828 * fns.c (concat) [__GNUC__]: Declare with
2607 `__attribute__((noinline))'. 2829 `__attribute__((noinline))'.
2854 dpyinfo->x_dnd_atoms before generating lisp event. 3076 dpyinfo->x_dnd_atoms before generating lisp event.
2855 3077
2856 * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track 3078 * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
2857 of drag and drop Atoms. 3079 of drag and drop Atoms.
2858 3080
2859 * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* 3081 * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*.
2860 3082
2861 2006-08-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 3083 2006-08-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2862 3084
2863 * keyboard.c: Define in_sighandler. 3085 * keyboard.c: Define in_sighandler.
2864 (input_available_signal): Set in_sighandler. 3086 (input_available_signal): Set in_sighandler.
4020 resource to backtranslate key with modifiers. 4242 resource to backtranslate key with modifiers.
4021 (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent. 4243 (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent.
4022 4244
4023 2006-05-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 4245 2006-05-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
4024 4246
4025 * xterm.c: Remove declarations already in xterm.h 4247 * xterm.c: Remove declarations already in xterm.h.
4026 4248
4027 * xterm.h: Add extern declarations for x_clear_errors, 4249 * xterm.h: Add extern declarations for x_clear_errors,
4028 x_fully_uncatch_errors, x_catching_errors and 4250 x_fully_uncatch_errors, x_catching_errors and
4029 x_alloc_lighter_color_for_widget. Remove duplicated declarations. 4251 x_alloc_lighter_color_for_widget. Remove duplicated declarations.
4030 4252
4761 4983
4762 2006-04-09 Dan Nicolaescu <dann@ics.uci.edu> 4984 2006-04-09 Dan Nicolaescu <dann@ics.uci.edu>
4763 4985
4764 * puresize.h (pure_write_error): Mark as NO_RETURN. 4986 * puresize.h (pure_write_error): Mark as NO_RETURN.
4765 4987
4766 * lisp.h (args_out_of_range, args_out_of_range_3) 4988 * lisp.h (args_out_of_range, args_out_of_range_3, Fkill_emacs):
4989 Likewise.
4767 4990
4768 2006-04-08 Eli Zaretskii <eliz@gnu.org> 4991 2006-04-08 Eli Zaretskii <eliz@gnu.org>
4769 4992
4770 * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements 4993 * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements
4771 if a menu is active on this frame. 4994 if a menu is active on this frame.
6378 asynchronous input processing. Use mac_store_services_event 6601 asynchronous input processing. Use mac_store_services_event
6379 instead of mac_store_application_menu_event. 6602 instead of mac_store_application_menu_event.
6380 6603
6381 * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) 6604 * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
6382 (Qpreferences): Remove variables. 6605 (Qpreferences): Remove variables.
6383 (syms_of_macterm) : Don't initialize them. 6606 (syms_of_macterm): Don't initialize them.
6384 (Qhicommand) [USE_CARBON_EVENTS]: New variable. 6607 (Qhicommand) [USE_CARBON_EVENTS]: New variable.
6385 (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. 6608 (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
6386 (init_required_apple_events, do_ae_open_application) 6609 (init_required_apple_events, do_ae_open_application)
6387 (do_ae_print_documents, do_ae_open_documents) 6610 (do_ae_print_documents, do_ae_open_documents)
6388 (do_ae_quit_application): Remove functions and prototypes. 6611 (do_ae_quit_application): Remove functions and prototypes.
7060 7283
7061 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 7284 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7062 7285
7063 * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): 7286 * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp):
7064 Allow nil as argument. 7287 Allow nil as argument.
7065 [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil 7288 [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil
7066 for encoding arguments as UTF-16 in native byte order, no BOM. 7289 for encoding arguments as UTF-16 in native byte order, no BOM.
7067 7290
7068 * macfns.c (Fx_create_frame): Add debugging code. 7291 * macfns.c (Fx_create_frame): Add debugging code.
7069 (Fx_show_tip): Set frame pixel width and height. 7292 (Fx_show_tip): Set frame pixel width and height.
7070 7293
9996 [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) 10219 [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp)
9997 (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) 10220 (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp)
9998 (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. 10221 (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise.
9999 10222
10000 * process.c (init_process): Change `#ifdef DARWIN' to `#if 10223 * process.c (init_process): Change `#ifdef DARWIN' to `#if
10001 defined (DARWIN) || defined (MAC_OSX)' 10224 defined (DARWIN) || defined (MAC_OSX)'.
10002 10225
10003 * s/darwin.h (DARWIN): Don't define. 10226 * s/darwin.h (DARWIN): Don't define.
10004 10227
10005 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 10228 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10006 10229
10533 event does not make sit-for exit after a menu selection. 10756 event does not make sit-for exit after a menu selection.
10534 10757
10535 2005-02-03 Kim F. Storm <storm@cua.dk> 10758 2005-02-03 Kim F. Storm <storm@cua.dk>
10536 10759
10537 * dispnew.c (build_frame_matrix_from_leaf_window) 10760 * dispnew.c (build_frame_matrix_from_leaf_window)
10538 [!GLYPH_DEBUG]: Fix xassert. 10761 [!GLYPH_DEBUG]: Fix xassert.
10539 10762
10540 * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. 10763 * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert.
10541 10764
10542 * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. 10765 * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert.
10543 10766
11423 * fileio.c (Fread_file_name): Delete duplicates in 11646 * fileio.c (Fread_file_name): Delete duplicates in
11424 file-name-history when history_delete_duplicates is true. 11647 file-name-history when history_delete_duplicates is true.
11425 11648
11426 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 11649 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11427 11650
11428 * macterm.c (mac_do_list_fonts): Fix memory leak 11651 * macterm.c (mac_do_list_fonts): Fix memory leak.
11429 11652
11430 2004-12-20 Richard M. Stallman <rms@gnu.org> 11653 2004-12-20 Richard M. Stallman <rms@gnu.org>
11431 11654
11432 * regex.c (re_match_2_internal) <symend, wordend>: 11655 * regex.c (re_match_2_internal) <symend, wordend>:
11433 Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. 11656 Fix calls to UPDATE_SYNTAX_TABLE_FORWARD.
12203 (syms_of_doc): Defvar Vbuild_files. 12426 (syms_of_doc): Defvar Vbuild_files.
12204 12427
12205 * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o 12428 * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o
12206 and w32*.o. 12429 and w32*.o.
12207 (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. 12430 (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.
12208 (mostlyclean): Rm buildobj.lst 12431 (mostlyclean): Rm buildobj.lst.
12209 12432
12210 * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs 12433 * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs
12211 is linked. 12434 is linked.
12212 12435
12213 2004-11-09 Kim F. Storm <storm@cua.dk> 12436 2004-11-09 Kim F. Storm <storm@cua.dk>
12541 12764
12542 * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. 12765 * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer.
12543 (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. 12766 (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used.
12544 (SAFE_FREE): Test it to determine if we need to unwind to free. 12767 (SAFE_FREE): Test it to determine if we need to unwind to free.
12545 Remove size arg. All users changed. 12768 Remove size arg. All users changed.
12546 (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. 12769 (SAFE_FREE_LISP): Remove. All users changed to use SAFE_FREE.
12547 12770
12548 2004-10-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 12771 2004-10-26 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
12549 12772
12550 * gtkutil.c: Put empty line between comment and function body. 12773 * gtkutil.c: Put empty line between comment and function body.
12551 (xg_destroy_widgets): Rename from remove_from_container. 12774 (xg_destroy_widgets): Rename from remove_from_container.
13203 * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte 13426 * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte
13204 strings in menu items. 13427 strings in menu items.
13205 (single_submenu): Use ENCODE_MENU_STRING 13428 (single_submenu): Use ENCODE_MENU_STRING
13206 (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because 13429 (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because
13207 button release isn't passed to event loop 13430 button release isn't passed to event loop
13208 (add_menu_item): Use SetMenuItemWithCFString 13431 (add_menu_item): Use SetMenuItemWithCFString.
13209 13432
13210 2004-08-26 Steven Tamm <steventamm@mac.com> 13433 2004-08-26 Steven Tamm <steventamm@mac.com>
13211 13434
13212 * fileio.c (Fread_file_name): Call x_file_dialog on carbon on 13435 * fileio.c (Fread_file_name): Call x_file_dialog on carbon on
13213 tool-bar/menu click. 13436 tool-bar/menu click.
13472 * mac.c (sys_select): Block input around call to 13695 * mac.c (sys_select): Block input around call to
13473 ReceiveNextEvent to prevent breakage. Correctly handle 13696 ReceiveNextEvent to prevent breakage. Correctly handle
13474 blocking on event queue only by calling ReceiveNextEvent 13697 blocking on event queue only by calling ReceiveNextEvent
13475 instead of select (since GUI events aren't on an fd). 13698 instead of select (since GUI events aren't on an fd).
13476 (sys_read): Remove function 13699 (sys_read): Remove function
13477 * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON 13700 * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON.
13478 13701
13479 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 13702 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13480 13703
13481 * mac.c (sys_select): Redo sys_select to use alarm-based 13704 * mac.c (sys_select): Redo sys_select to use alarm-based
13482 polling instead of 1 sec timeouts (like solaris). 13705 polling instead of 1 sec timeouts (like solaris).
13483 13706
13484 * macterm.c (x_make_frame_visible): Comment in polling on 13707 * macterm.c (x_make_frame_visible): Comment in polling on
13485 frame creation. 13708 frame creation.
13486 13709
13487 * keyboard.c: Undef SIGIO on Carbon 13710 * keyboard.c: Undef SIGIO on Carbon.
13488 13711
13489 * atimer.c (alarm_signal_handler): Call alarm handlers after 13712 * atimer.c (alarm_signal_handler): Call alarm handlers after
13490 scheduling. 13713 scheduling.
13491 13714
13492 * eval.c (Feval): Remove quit_char test 13715 * eval.c (Feval): Remove quit_char test.
13493 13716
13494 * process.c (wait_reading_process_input): Remove clearing 13717 * process.c (wait_reading_process_input): Remove clearing
13495 stdin for select call on process input. 13718 stdin for select call on process input.
13496 13719
13497 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> 13720 2004-07-18 Luc Teirlinck <teirllm@auburn.edu>
14439 depend on libXpm, but only supports XPM version 3 without extensions. 14662 depend on libXpm, but only supports XPM version 3 without extensions.
14440 14663
14441 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 14664 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14442 14665
14443 * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P 14666 * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P
14444 instead of FRAME_X_P 14667 instead of FRAME_X_P.
14445 14668
14446 2004-05-11 Kim F. Storm <storm@cua.dk> 14669 2004-05-11 Kim F. Storm <storm@cua.dk>
14447 14670
14448 * process.c (read_process_output): Grow decoding_buf when needed; 14671 * process.c (read_process_output): Grow decoding_buf when needed;
14449 this could cause a crash in allocate_string and compact_small_strings. 14672 this could cause a crash in allocate_string and compact_small_strings.
14609 * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to 14832 * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
14610 undo bad effect of pack(4) in some versions of system headers. 14833 undo bad effect of pack(4) in some versions of system headers.
14611 14834
14612 2004-05-01 Jason Rumney <jasonr@gnu.org> 14835 2004-05-01 Jason Rumney <jasonr@gnu.org>
14613 14836
14614 * w32term.c (x_draw_hollow_cursor): Sync with xterm.c 14837 * w32term.c (x_draw_hollow_cursor): Sync with xterm.c.
14615 14838
14616 2004-04-30 Kim F. Storm <storm@cua.dk> 14839 2004-04-30 Kim F. Storm <storm@cua.dk>
14617 14840
14618 * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. 14841 * buffer.c (syms_of_buffer) <line-spacing>: Allow float value.
14619 (syms_of_buffer) <cursor-type>: Doc fix. 14842 (syms_of_buffer) <cursor-type>: Doc fix.
17402 17625
17403 2003-09-01 Jason Rumney <jasonr@gnu.org> 17626 2003-09-01 Jason Rumney <jasonr@gnu.org>
17404 17627
17405 * makefile.w32-in (alloca.o): Remove. 17628 * makefile.w32-in (alloca.o): Remove.
17406 (coding.o): Depend on intervals.h 17629 (coding.o): Depend on intervals.h
17407 (emacs.o, bytecode.o): Depend on window.h 17630 (emacs.o, bytecode.o): Depend on window.h.
17408 17631
17409 2003-09-01 Dave Love <fx@gnu.org> 17632 2003-09-01 Dave Love <fx@gnu.org>
17410 17633
17411 * Makefile.in (alloca.o): Remove commands. 17634 * Makefile.in (alloca.o): Remove commands.
17412 (coding.o): Depend on intervals.h composite.h window.h. 17635 (coding.o): Depend on intervals.h composite.h window.h.
18183 * lread.c [HAVE_FCNTL_H]: Include fcntl.h. 18406 * lread.c [HAVE_FCNTL_H]: Include fcntl.h.
18184 18407
18185 * gtkutil.c: Include keyboard.h, charset.h, coding.h. 18408 * gtkutil.c: Include keyboard.h, charset.h, coding.h.
18186 (xg_create_frame_widgets): Use ENCODE_UTF_8. 18409 (xg_create_frame_widgets): Use ENCODE_UTF_8.
18187 18410
18188 * xterm.c (Qutf_8): Move to coding.c 18411 * xterm.c (Qutf_8): Move to coding.c.
18189 18412
18190 * xmenu.c (ENCODE_MENU_STRING): New. 18413 * xmenu.c (ENCODE_MENU_STRING): New.
18191 (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): 18414 (list_of_panes, list_of_items, digest_single_submenu, xmenu_show):
18192 Use it. 18415 Use it.
18193 18416
20912 (update_tool_bar): Add check for USE_GTK and external tool bar. 21135 (update_tool_bar): Add check for USE_GTK and external tool bar.
20913 (redisplay_tool_bar): Add check for USE_GTK and external tool bar. 21136 (redisplay_tool_bar): Add check for USE_GTK and external tool bar.
20914 (redisplay_internal): Add check for USE_GTK and popup_activated. 21137 (redisplay_internal): Add check for USE_GTK and popup_activated.
20915 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. 21138 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR.
20916 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. 21139 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
20917 (display_menu_bar): Add check for USE_GTK 21140 (display_menu_bar): Add check for USE_GTK.
20918 21141
20919 * lisp.h (Vx_resource_name): Declare extern. 21142 * lisp.h (Vx_resource_name): Declare extern.
20920 21143
20921 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT 21144 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT
20922 for USE_GTK. 21145 for USE_GTK.
22030 (Fshrink_window): Add preserve_before as was done for enlarge_window. 22253 (Fshrink_window): Add preserve_before as was done for enlarge_window.
22031 (Vspecial_display_function): Update docstring. 22254 (Vspecial_display_function): Update docstring.
22032 22255
22033 * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) 22256 * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
22034 (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. 22257 (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
22035 (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; 22258 (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE.
22036 22259
22037 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> 22260 2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
22038 22261
22039 * casefiddle.c (casify_region): Don't treat a prefix char as part 22262 * casefiddle.c (casify_region): Don't treat a prefix char as part
22040 of a word when at the beginning. 22263 of a word when at the beginning.
23729 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> 23952 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
23730 23953
23731 * fns.c (Fstring_make_unibyte): Doc fix. 23954 * fns.c (Fstring_make_unibyte): Doc fix.
23732 23955
23733 * xselect.c (lisp_data_to_selection_data): If the requested type 23956 * xselect.c (lisp_data_to_selection_data): If the requested type
23734 is STRING, call string_make_unibyte to encode the selected text 23957 is STRING, call string_make_unibyte to encode the selected text
23735 as a string. 23958 as a string.
23736 23959
23737 * window.c (Fset_window_hscroll): Doc fix. 23960 * window.c (Fset_window_hscroll): Doc fix.
23738 23961
23739 2002-06-05 Pavel Jan,Am(Bk <Pavel@Janik.cz> 23962 2002-06-05 Pavel Jan,Am(Bk <Pavel@Janik.cz>
23740 23963