comparison src/ChangeLog @ 90261:7beb78bc1f8e

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 616-696) - Add lisp/mh-e/.arch-inventory - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords. - lisp/gnus/ChangeLog: Remove duplicate entry * gnus--rel--5.10 (patch 147-181) - Update from CVS - Merge from emacs--cvs-trunk--0 - Update from CVS: lisp/mml.el (mml-preview): Doc fix. - Update from CVS: texi/message.texi: Fix default values. - Update from CVS: texi/gnus.texi (RSS): Addition.
author Miles Bader <miles@gnu.org>
date Mon, 16 Jan 2006 08:37:27 +0000
parents 0ca0d9181b5e 1893489ad811
children d88caeac70d7
comparison
equal deleted inserted replaced
90260:0ca0d9181b5e 90261:7beb78bc1f8e
1 2006-01-15 Andreas Schwab <schwab@suse.de>
2
3 * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP.
4
5 2006-01-13 Richard M. Stallman <rms@gnu.org>
6
7 * Makefile.in: Define new macro WINDOW_SUPPORT.
8 (lisp): Use it.
9 (SOME_MACHINE_LISP): Add conditionally loaded files.
10
11 2006-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12
13 * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr)
14 [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering.
15 (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in
16 decomposed form.
17
18 * process.c [HAVE_INTTYPES_H]: Include inttypes.h.
19 (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE).
20 (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK
21 macro. Also try member ifr_addr when getting netmask.
22
23 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * fileio.c (Fexpand_file_name): Remove redundant tests.
26 Fix elimination of // so that it doesn't prevent elimination of an
27 immediately following /. or /..
28
29 2006-01-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
30
31 * gtkutil.c (xg_toggle_notify_cb): New function.
32 (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to
33 xg_toggle_notify_cb.
34 (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when
35 parameter value changes so the toggle button gets updated.
36
37 2006-01-06 Nick Roberts <nickrob@snap.net.nz>
38
39 * .gdbinit: Fix typo.
40
41 2006-01-05 Eli Zaretskii <eliz@gnu.org>
42
43 * .gdbinit: Fix last change.
44
45 2006-01-05 Kim F. Storm <storm@cua.dk>
46
47 * process.c (Fmake_network_process): Use AF_INET instead of
48 AF_UNSPEC when AF_INET6 is not defined.
49
50 2006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
51
52 * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc):
53 Don't check that the other type is known file-related one.
54
55 * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor,
56 gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac
57 OS X 10.4 and later.
58
59 2006-01-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
60
61 * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file,
62 let GTK do all image processing. Importing Emacs own pixmaps to GTK
63 looks bad for inactive tool bar items with some Gnome themes.
64
65 2006-01-04 Eli Zaretskii <eliz@gnu.org>
66
67 * .gdbinit: Avoid a warning message when x_error_quitter is not
68 compiled in.
69
70 * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support
71 for w32.
72
73 2006-01-04 Kim F. Storm <storm@cua.dk>
74
75 * process.c: Add IPv6 support.
76 (Qipv4, Qipv6): New vars.
77 (syms_of_process): Intern and staticpro them.
78 (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address
79 with or without port number. Handle 4 element vector as IPv4 address
80 without port number.
81 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
82 (conv_lisp_to_sockaddr): Handle IPv6 addresses.
83 (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly
84 request that address family only. :family nil or omitted means to
85 determine address family from the specified :host and :service.
86 (ifflag_table): Add missing OpenBSD IFF_ flags.
87 (server_accept_connection): Handle IPv6 addresses.
88 (init_process): Add (:family ipv4) and (:family ipv6) sub-features.
89
90 * .gdbinit: Undo last change. Instead, look at Vsystem_type to
91 determine which breakpoints to set.
92
93 2006-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup.
96
97 * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c).
98
99 2006-01-03 Romain Francoise <romain@orebokech.com>
100
101 * emacs.c (main): Update copyright year.
102
103 2006-01-03 Ken Raeburn <raeburn@gnu.org>
104
105 * callproc.c (delete_temp_file): Bind file-name-handler-alist to
106 nil for the call to internal_delete_file.
107
108 2006-01-01 Ken Raeburn <raeburn@gnu.org>
109
110 * callproc.c (Fcall_process_region): Bind file-name-handler-alist
111 to nil for the call to Fwrite_region.
112
113 2005-12-31 Richard M. Stallman <rms@gnu.org>
114
115 * minibuf.c (read_minibuf): Clear out all other minibuffer windows.
116
117 2005-12-31 Eli Zaretskii <eliz@gnu.org>
118
119 * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake.
120
121 2005-12-30 Luc Teirlinck <teirllm@auburn.edu>
122
123 * textprop.c (set_text_properties): Reword description of return value.
124 Return Qnil if caller wants to remove all text properties from a
125 string and the string already has no intervals.
126
127 2005-12-30 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * term.c (visible_cursor): New boolean var.
130 (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on
131 visible_cursor.
132 (syms_of_term): Export the new var as "visible-cursor".
133
134 2005-12-30 Eli Zaretskii <eliz@gnu.org>
135
136 * .gdbinit: Tell users not to worry about GDB warnings that some
137 functions do not exist in the binary.
138
139 2005-12-30 Andreas Schwab <schwab@suse.de>
140
141 * process.c (Fnetwork_interface_info): Correctly terminate the
142 loop over ifflag_table.
143
144 2005-12-29 Richard M. Stallman <rms@gnu.org>
145
146 * lread.c (readevalloop): Test for reading a whole buffer
147 before actually reading anything. Handle all cases, including
148 START = END = nil and an already-narrowed buffer.
149 Convert END to a marker if it is a number.
150
151 * keymap.c (describe_map): Put sparse map elements into an array,
152 sort them, then output a sequence of identical bindings on one line.
153 (struct describe_map_elt): New data type.
154 (describe_map_compare): New function.
155
156 2005-12-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
157
158 * gtkutil.c (xg_get_file_with_chooser): Change message shown
159 in file chooser.
160
161 2005-12-27 Richard M. Stallman <rms@gnu.org>
162
163 * lread.c (readevalloop): Set PT and ZV in the proper buffer,
164 not the current one.
165
166 * minibuf.c (Fminibuffer_message): Doc fix.
167 (read_minibuf): Set current_buffer->enable_multibyte_characters sooner.
168
169 * eval.c (do_autoload): Ignore elements of Vautoload_queue
170 where car is not symbol.
171
172 2005-12-27 Kenichi Handa <handa@m17n.org>
173
174 * charset.c (lisp_string_width): Check multibyteness of STRING.
175
176 2005-12-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
177
178 * xfns.c: x_show_hidden_files, new variable.
179 (syms_of_xfns): Defvar it.
180
181 * gtkutil.c (xg_toggle_visibility_cb): New function.
182 (xg_get_file_with_chooser): Add toggle hidden files and a message
183 to the new file chooser dialog. Show hidden files if
184 x_show_hidden_files is non-zero.
185
186 2005-12-26 Richard M. Stallman <rms@gnu.org>
187
188 * keyboard.h: Undo previous change.
189
190 * Makefile.in (undo.o): Undo previous change.
191
192 * undo.c: Undo previous change.
193
194 2005-12-26 Luc Teirlinck <teirllm@auburn.edu>
195
196 * keyboard.h: extern last_point_position_window.
197
198 * undo.c: include keyboard.h.
199
200 * Makefile.in (undo.o): Depend on keyboard.h.
201
202 2005-12-26 Richard M. Stallman <rms@gnu.org>
203
204 * commands.h (last_point_position_window): Declare.
205
206 * undo.c: Depend on window.h.
207 (record_point): Save old point from the correct window.
208
209 * keyboard.c (last_point_position_window): New variable.
210 (command_loop_1): Set last_point_position_window.
211 (syms_of_keyboard): Init it.
212
213 * Makefile.in (undo.o): Depend on window.h.
214
215 2005-12-25 Richard M. Stallman <rms@gnu.org>
216
217 * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue
218 to undo a `provide'.
219
220 * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue.
221
222 2005-12-25 Giorgos Keramidas <keramida@ceid.upatras.gr>
223
224 * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD):
225 define for FreeBSD on this platform.
226
227 2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
228
229 * macterm.h (TYPE_FILE_NAME): New define.
230 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
231
232 * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname):
233 Add prototypes. Make static.
234 (mac_aedesc_to_lisp): Initialize err to noErr.
235 (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
236 (init_coercion_handler): New functions.
237 (Fmac_coerce_ae_data): Use coercion of Apple event data for
238 translation from/to file names.
239
240 * macterm.c: Don't include sys/param.h.
241 (init_coercion_handler): Add extern.
242 [MAC_OS8] (main): Call init_coercion_handler.
243 (mac_initialize) [MAC_OSX]: Likewise.
244 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of
245 Apple event data for translation from/to file names.
246
247 * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise.
248
249 * image.c [MAC_OS] (find_image_fsspec): Likewise.
250
251 2005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change)
252
253 * insdel.c (insert, insert_and_inherit, insert_before_markers)
254 (insert_before_markers_and_inherit): Make sure FROM is correct
255 when `after-change-functions' are called.
256
257 2005-12-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
258
259 * xfns.c (Fx_uses_old_gtk_dialog): New function.
260
261 * gtkutil.c (xg_uses_old_file_dialog): New function.
262 (xg_get_file_name): Use xg_uses_old_file_dialog.
263
264 * gtkutil.h: Declare xg_uses_old_file_dialog.
265
266 2005-12-22 Richard M. Stallman <rms@gnu.org>
267
268 * xmenu.c (xmenu_show): Call inhibit_garbage_collection.
269
270 2005-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
271
272 * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak.
273
274 * macgui.h (XCharStruct): Remove member `valid_p'.
275 (STORE_XCHARSTRUCT): Don't set member `valid_p'.
276 (XCharStructRow): New typedef.
277 (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID):
278 New macros.
279 (struct MacFontStruct): Add member `bounds'. Remove member
280 `per_char'. All uses for QuichDraw Text fonts are changed to
281 `bounds.per_char'. ATSUI font bounds are represented as an array
282 `bounds.rows' of XCharStructRow's, each of which consists of a
283 bitmap of valid entries and an array of char bounds.
284
285 * macterm.c (mac_per_char_metric): Add prototype.
286 (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype.
287 (mac_query_char_extents): New function.
288 (x_per_char_metric): Use it.
289 (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations.
290 [USE_CG_TEXT_DRAWING] (mac_draw_string_cg):
291 Use mac_per_char_metric instead of x_per_char_metric.
292 (mac_text_extents_16): New function.
293 (mac_compute_glyph_string_overhangs): Use it.
294 (mac_unload_font): Free member `bounds' in struct MacFontStruct.
295
296 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR.
299 (Fminibuffer_completion_help): Remove duplicates before display.
300
301 2005-12-21 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
302
303 * print.c (print_preprocess): Don't lose print_depth levels while
304 iterating.
305
306 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
307
308 * macmenu.c (Qmac_apple_event): Add extern.
309 (set_frame_menubar, mac_menu_show keymp_panes)
310 (single_keymap_panes, list_of_panes, list_of_item)
311 (single_menu_item): Add argument types to prototypes.
312 (mac_dialog_show) [HAVE_DIALOGS]: Likewise.
313 (struct skp): New struct (from xmenu.c).
314 (single_keymap_panes, single_menu_item, list_of_panes)
315 (list_of_item): Sync with xmenu.c.
316 (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from
317 POSITION if it is mac-apple-event event.
318 (menubar_selection_callback): Don't use menu_command_in_progress.
319 (set_frame_menubar): First parse all submenus, then make
320 widget_value trees from them. Don't allocate any widget_value
321 objects until we are done with the parsing.
322 (parse_single_submenu, digest_single_submenu): New functions.
323 (single_submenu): Function deleted, replaced by those two.
324 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
325 create or dispose of EventHandlerUPP. Install hander to all submenus.
326 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
327 instead of ENCODE_SYSTEM.
328 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
329 integer values.
330 [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).
331 (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to
332 format menu item string. Don't use NULL for integer value.
333
334 * macterm.h (struct mac_output): Remove unused member
335 menu_command_in_progress.
336
337 2005-12-20 Juri Linkov <juri@jurta.org>
338
339 * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if
340 position is non-nil, else set it to nil.
341
342 * macmenu.c (Fx_popup_menu): Add `else' to set
343 Vmenu_updating_frame to nil only if position is nil.
344
345 * w32menu.c (Fx_popup_menu): Add `else' to set
346 Vmenu_updating_frame to nil only if position is nil.
347
348 2005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
349
350 * keyboard.c (make_lispy_event): Drag-and-drop items are now
351 stored in member `args' of struct input_event.
352
353 * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT.
354
355 * xselect.c (x_handle_dnd_message): Drag-and-drop items are now
356 stored in member `args' of struct input_event.
357
358 * w32term.c (construct_drag_n_drop): Likewise.
359
360 * macterm.c (mac_do_receive_drag): Likewise.
361 (x_use_underline_position_properties): Undo 2005-07-13 change.
362 (syms_of_macterm) <x-use-underline-position-properties>: Likewise.
363 (mac_use_core_graphics, mac_wheel_button_is_mouse_2)
364 (mac_pass_command_to_system, mac_pass_control_to_system):
365 New boolean variables renamed from Lisp_Object ones
366 Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2,
367 Vmac_pass_command_to_system, and Vmac_pass_control_to_system.
368 All uses changed.
369 (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs.
370 Make them user options.
371 (mac_handle_command_event, mac_store_services_event):
372 Call create_apple_event_from_event_ref without 5th argument.
373 (backtranslate_modified_keycode): Mask off modifier keys that are
374 mapped to some Emacs modifiers before passing it to KeyTranslate.
375 (syms_of_macterm): Make variables `mac-emulate-three-button-mouse',
376 `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options.
377 Fix docstrings of `mac-*-modifier'.
378
379 * mac.c (create_apple_event_from_event_ref): Remove arg `types'.
380 (do_applescript): Change argument types to Lisp_Object.
381 All uses changed.
382
383 * macterm.h (create_apple_event_from_event_ref): Remove 5th
384 argument from extern.
385
386 2005-12-18 Dan Nicolaescu <dann@ics.uci.edu>
387
388 * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine
389 the answer, return `lambda', not nil.
390
391 2005-12-17 Eli Zaretskii <eliz@gnu.org>
392
393 * makefile.w32-in (bootstrap-temacs): Warn that parts of commands
394 enclosed in $(ARGQUOTE)s should not be split between two lines, as
395 that will break with GNU Make >3.80, when sh.exe is used and
396 arg quoting is with '..'.
397
398 2005-12-17 Chong Yidong <cyd@stupidchicken.com>
399
400 * print.c (print_preprocess): Just signal an error if print_depth
401 is exceeded.
402
403 2005-12-17 Eli Zaretskii <eliz@gnu.org>
404
405 * .gdbinit: Set a breakpoint on w32_abort.
406
407 2005-12-16 Juri Linkov <juri@jurta.org>
408
409 * minibuf.c (Fminibuffer_completion_contents): New Lisp function
410 created from minibuffer_completion_contents.
411 (minibuffer_completion_contents): Remove.
412 (do_completion, Fminibuffer_complete_word)
413 (Fminibuffer_completion_help): Replace minibuffer_completion_contents
414 with Fminibuffer_completion_contents.
415 (syms_of_minibuf): Add Sminibuffer_completion_contents.
416 (Fdisplay_completion_list): Doc fix.
417 (display_completion_list_1): Use `nil' for second arg of
418 `Fdisplay_completion_list'.
419
420 2005-12-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
421
422 * xfns.c (compute_tip_xy): Handle negative dx and dy.
423
424 * w32fns.c (compute_tip_xy): Ditto.
425
426 * macfns.c (compute_tip_xy): Ditto.
427
428 2005-12-14 Chong Yidong <cyd@stupidchicken.com>
429
430 * print.c (print_preprocess): Go to a deeper print_depth to avoid
431 print_object loop.
432
433 2005-12-14 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change)
434
435 * coding.c (code_convert_region_unwind): GCPRO arg.
436
437 2005-12-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
438
439 * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x,
440 i.e. dy is offset from top of frame instead of bottom.
441
442 * macfns.c (compute_tip_xy): Ditto.
443
444 * w32fns.c (compute_tip_xy): Ditto.
445
446 * gtkutil.c (SSDATA): New macro to remove compiler warnings.
447 (xg_get_image_for_pixmap, xg_create_frame_widgets)
448 (xg_get_file_with_chooser): Use SSDATA instead of SDATA.
449
450 * xmenu.c (menubar_selection_callback): Do nothing if the callback
451 is for an unselected radio menu item.
452
453 2005-12-11 Richard M. Stallman <rms@gnu.org>
454
455 * xdisp.c (syms_of_xdisp) <blink-cursor-alist>: Doc fix.
456
457 * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once.
458
459 * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE.
460 (Flookup_key): Doc fix.
461 (syms_of_keymap) <function-key-map>: Doc fix.
462
463 * fns.c (Frequire): Treat evaluating from a source file
464 like loading the file.
465
466 * floatfns.c (Flog): Doc fix.
467
468 * fileio.c (Finsert_file_contents): Set Vdeactivate_mark
469 when we change the buffer.
470
471 2005-12-11 Juri Linkov <juri@jurta.org>
472
473 * minibuf.c (display_completion_list_1):
474 Call `minibuffer_completion_contents' instead of using `nil' as
475 second arg of `Fdisplay_completion_list'.
476 (keys_of_minibuf): Unbind SPC in
477 Vminibuffer_local_filename_completion_map (see also related
478 change on 2005-12-06).
479
480 2005-12-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
481
482 * emacs.c (main) [MAC_OS8]: Undo previous change.
483
484 * macselect.c (syms_of_macselect) <mac-apple-event-map>:
485 Initialize to nil. Keymap is now created in lisp/term/mac-win.el.
486
487 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
488
489 * Makefile.in (macselect.o): Depend on keymap.h.
490
491 * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before
492 syms_of_macselect.
493
494 * image.c (init_image) [MAC_OS]: Don't call EnterMovies.
495 [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
496
497 * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable.
498 (syms_of_keyboard) [MAC_OS]: Initialize it.
499 (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT.
500
501 * mac.c (Qundecoded_file_name): New variable.
502 (syms_of_mac): Initialize it.
503 (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions.
504 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun.
505 (Fmac_coerce_ae_data): New defun.
506 (syms_of_mac): Defsubr it.
507
508 * macselect.c: Include keymap.h.
509 (mac_ready_for_apple_events): New variable.
510 (Vmac_apple_event_map, Qmac_apple_event_class)
511 (Qmac_apple_event_id): New variables.
512 (syms_of_macselect): Initialize them.
513 (Qundefined, mac_store_apple_event): Add externs.
514 (struct apple_event_binding): New struct.
515 (find_event_binding_fun, find_event_binding)
516 (mac_find_apple_event_spec, defer_apple_events)
517 (mac_handle_apple_event, init_apple_event_handler)
518 (copy_scrap_flavor_data): New functions.
519 (Fmac_process_deferred_apple_events): New defun.
520 (syms_of_macselect): Defsubr it.
521 (mac_store_services_event): Fix extern.
522 (mac_handle_service_event): Don't allocate Lisp objects during
523 asynchronous input processing. Use mac_store_services_event
524 instead of mac_store_application_menu_event.
525
526 * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
527 (Qpreferences): Remove variables.
528 (syms_of_macterm) : Don't initialize them.
529 (Qhicommand) [USE_CARBON_EVENTS]: New variable.
530 (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
531 (init_required_apple_events, do_ae_open_application)
532 (do_ae_print_documents, do_ae_open_documents)
533 (do_ae_quit_application): Remove functions and prototypes.
534 (mac_ready_for_apple_events, Qundefined, init_apple_event_handler)
535 (mac_find_apple_event_spec): Add externs.
536 (mac_store_application_menu_event): Remove function.
537 (mac_store_apple_event, mac_make_lispy_event_code): New functions.
538 (mac_handle_command_event): Create Apple event from Carbon event.
539 Use mac_store_apple_event instead of mac_store_application_menu_event.
540 [MAC_OSX] (mac_store_services_event): Likewise.
541 (struct SelectionRange, SelectionRange): Remove struct and typedef.
542 [MAC_OS8] (main): Call init_apple_event_handler instead of
543 init_required_apple_events.
544 (mac_initialize) [MAC_OSX]: Likewise.
545 [!USE_CARBON_EVENTS] (mac_wait_next_event):
546 Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
547
548 * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp):
549 Add externs.
550 (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
551 (Fmac_get_preference): Add EXFUN.
552
553 * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT
554 event.
555
556 2005-12-09 Richard M. Stallman <rms@gnu.org>
557
558 * xfns.c (Fx_create_frame): Reinstate previous change.
559
560 2005-12-09 Eli Zaretskii <eliz@gnu.org>
561
562 * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching
563 GDB to the abort dialog.
564
565 2005-12-09 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change)
566
567 * indent.c (Fvertical_motion): Force move if starting on
568 stretch glyph.
569
570 2005-12-08 Richard M. Stallman <rms@gnu.org>
571
572 * lread.c (read_escape) <\s>: Don't treat strings specially.
573
574 * xfns.c (Fx_create_frame): Comment out previous change.
575
576 2005-12-07 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
577
578 * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame,
579 when needed.
580
581 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * minibuf.c (keys_of_minibuf): Just unbind SPC in
584 Vminibuffer_local_filename_completion_map rather than forcing it
585 explicitly to the same binding as the global map.
586
587 2005-12-06 Ken Raeburn <raeburn@gnu.org>
588
589 * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args.
590 * bytecode.c (Fbyte_code): Likewise.
591 * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise.
592 * minibuf.c (Fminibuffer_complete_and_exit): Likewise.
593 * undo.c (truncate_undo_list): Likewise.
594
595 2005-12-05 Richard M. Stallman <rms@gnu.org>
596
597 * window.c (enlarge_window): Eliminate arg preserve_before.
598 Assume it is 0. All callers changed.
599 (Fenlarge_window, Fshrink_window): Likewise.
600
601 2005-12-02 Eli Zaretskii <eliz@gnu.org>
602
603 * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't
604 fit below.
605
606 2005-12-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
607
608 * xterm.h: Add prototype for xg_set_icon_from_xpm_data.
609
610 * xfns.c (x_real_positions): int ign => unsigned int.
611 (xg_set_icon_from_xpm_data): Remove unused variable err.
612 (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
613 to remove compiler warning.
614 (compute_tip_xy): Put tip above pointer if it doesn't fit below.
615
616 2005-12-02 David Reitter <david.reitter@gmail.com>
617
618 * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is
619 non-nil, use the new keymaps Vminibuffer_local_filename_completion_map
620 and Vminibuffer_local_must_match_filename_map keymaps.
621 (keys_of_minibuf): Bind SPC in the new file-name completion keymaps.
622
623 * keymap.c (Vminibuffer_local_filename_completion_map)
624 (Vminibuffer_local_must_match_filename_map): New variables.
625 (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their
626 parent to be Vminibuffer_local_completion_map and
627 Vminibuffer_local_must_match_map, respectively.
628
629 * commands.h (Vminibuffer_local_filename_completion_map)
630 (Vminibuffer_local_must_match_filename_map): Declare the new keymaps.
631
632 2005-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * window.c (Fset_window_configuration): Don't accidentally copy the
635 window-point of one window to another.
636
637 2005-11-30 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
638
639 * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer.
640
641 2005-11-30 Kim F. Storm <storm@cua.dk>
642
643 * alloc.c: Include fcntl.h. Define O_WRONLY if not defined.
644 (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by
645 passing it to `emacs_write'.
646
647 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change)
648
649 * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'.
650
651 2005-11-27 Richard M. Stallman <rms@gnu.org>
652
653 * window.c (adjust_window_trailing_edge): New function.
654 (Fadjust_window_trailing_edge): New function.
655 (syms_of_window): Defsubr it.
656 (window_deletion_count): New variable.
657 (delete_window): Update window_deletion_count.
658
659 2005-11-26 Eli Zaretskii <eliz@gnu.org>
660
661 * minibuf.c (syms_of_minibuf): Mention the extension of
662 `completion-auto-help's meaning by complete.el.
663
664 2005-11-26 Henrik Enberg <henrik.enberg@telia.com>
665
666 * xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
667 Handle :inherit property as a lisp expression.
668
669 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
670
671 * macterm.c (Qcontrol): Rename from Qctrl. All uses changed.
672 (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper,
673 Qsuper, and Qmodifier_value.
674 (Vmac_control_modifier, Vmac_option_modifier)
675 (Vmac_command_modifier, Vmac_function_modifier)
676 (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2)
677 (Vmac_pass_command_to_system, Vmac_pass_control_to_system)
678 (Vmac_charset_info_alist): Doc fixes.
679
680 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
681
682 * emacs.c (main) [MAC_OSX]: Change working directory to home
683 directory if `-psn_*' option is specified.
684
685 * mac.c (DECODE_UTF_8): Remove macro.
686 [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function
687 created from cfstring_to_lisp.
688 [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it.
689 (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise.
690
691 * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]:
692 Add prototype.
693
694 2005-11-21 Ken Raeburn <raeburn@gnu.org>
695
696 * keymap.c (shadow_lookup): Use make_number to pass a number to
697 Fsubstring.
698
699 2005-11-21 Juri Linkov <juri@jurta.org>
700
701 * puresize.h (BASE_PURESIZE): Increment to 1180000.
702
703 2005-11-20 Chong Yidong <cyd@stupidchicken.com>
704
705 * xfaces.c (Finternal_set_lisp_face_attribute):
706 Use :ignore-defface for new frame defaults when `unspecified' is
707 supplied.
708 (Finternal_get_lisp_face_attribute): Hide :ignore-defface.
709 (merge_face_vectors): Don't do :ignore-defface overwriting here.
710 (Finternal_merge_in_global_face): Do it here.
711
712 2005-11-20 Juri Linkov <juri@jurta.org>
713
714 * charset.c (invalid_character): Use Lisp-readable syntax
715 for octal and hex. Reorder decimal, octal and hex values.
716
717 2005-11-20 Nick Roberts <nickrob@snap.net.nz>
718
719 * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that
720 this type is recognised when debugging.
721
722 2005-11-19 Andreas Schwab <schwab@suse.de>
723
724 * .gdbinit (nextcons, xcdr, xfloat): Update for changes in
725 Lisp_Cons and Lisp_Float.
726
727 2005-11-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
728
729 * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold):
730 New variable.
731 [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun.
732 (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it.
733 [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if
734 font size is smaller than or equal to cg_text_anti_aliasing_threshold.
735
736 2005-11-17 Chong Yidong <cyd@stupidchicken.com>
737
738 * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail.
739
740 * xfaces.c (Qignore_defface): New variable.
741 (syms_of_xfaces): Provide `:ignore-defface'.
742 (IGNORE_DEFFACE_P): New macro.
743 (check_lface_attrs, lface_fully_specified_p)
744 (Finternal_set_lisp_face_attribute)
745 (Fface_attribute_relative_p, Fmerge_face_attribute):
746 Handle Qignore_defface as a possible value.
747 (merge_face_vectors): The merged face is `unspecified' if the
748 mergee specifies `:ignore-defface'.
749
750 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * lread.c (readevalloop): Add missing GCPROs.
753
754 2005-11-16 Chong Yidong <cyd@stupidchicken.com>
755
756 * xfns.c (xg_set_icon_from_xpm_data): New function.
757
758 * gnu.h (gnu_xpm_bits): Rename from gnu_bits.
759 (gnu_xbm_bits): Rename from gnu_bits (xbm version).
760
761 * xterm.c (x_bitmap_icon): Use the xpm if available.
762
763 * image.c (x_create_bitmap_from_xpm_data): New function.
764 (x_create_bitmap_from_xpm_data): Initialize XpmAttributes.
765
766 2005-11-15 Luc Teirlinck <teirllm@auburn.edu>
767
768 * Makefile.in (lisp, shortlisp): Add rfn-eshadow.
769
770 2005-11-16 Nick Roberts <nickrob@snap.net.nz>
771
772 * .gdbinit: Make SIGTSTP work like SIGINT normally does.
773
774 2005-11-15 Andreas Schwab <schwab@suse.de>
775
776 * lisp.h (struct Lisp_Cons): Make cdr a union.
777 (XCDR_AS_LVALUE): Adjust.
778 (struct Lisp_Float): Make data a union.
779 (XFLOAT_DATA): Adjust.
780
781 * alloc.c (free_float): Make free list chaining aliasing-safe.
782 (make_float): Likewise.
783 (free_cons): Likewise.
784 (Fcons): Likewise.
785 (check_cons_list): Likewise.
786 (Fmake_symbol): Likewise.
787 (allocate_misc): Likewise.
788 (free_misc): Likewise.
789 (gc_sweep): Likewise.
790
791 2005-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
792
793 * mac.c (HASHKEY_QUERY_CACHE): New define.
794 (xrm_create_database, xrm_q_put_resource): Empty query cache.
795 (xrm_get_resource): Use query cache.
796
797 * image.c (init_image) [MAC_OS]: Don't call EnterMovies if
798 inhibit_window_system is set.
799
800 2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
801
802 * macgui.h (USE_CG_TEXT_DRAWING): New define.
803 (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font
804 and cg_glyphs.
805
806 * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
807 (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
808 (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
809 cg_glyphs in struct MacFontStruct if synthesized bold or italic is
810 not used and font substitution never occurs for ASCII and Latin-1
811 characters.
812 (XLoadQueryFont): Maximum and minimum metrics are now those among
813 ASCII characters.
814 (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
815 height adjustments for Courier, Helvetica, and Times.
816
817 * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'.
818
819 2005-11-11 David Reitter <david.reitter@gmail.com>
820
821 * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey,
822 macMetaKey, macAltKey. Introduce Qctrl, Qmeta,
823 Vmac_control_modifier / mac-control-modifier,
824 Vmac_option_modifier / mac-option-modifier,
825 Vmac_command_modifier / mac-command-modifier.
826 (mac_to_emacs_modifiers): Use the new style modifier
827 variables. Return UInt32 (modifiers are longs now.)
828 (backtranslate_modified_keycode): New function (refactoring).
829 (XTread_socket): Use new modifier variables and refactored function.
830 (mac_determine_quit_char_modifiers): Remove macMetaKey (there is
831 no dedicated meta key. Not in use anyway.)
832 (convert_fn_keycode): Map Fn-keys to their original keycode
833 using a table (english keyboard only).
834
835 2005-11-11 Kim F. Storm <storm@cua.dk>
836
837 * .gdbinit (pitx): Fix output format if n_overlay_strings > 0.
838 Add post hook to "backtrace" to always dump lisp call stack to
839 increase chance of people sending it to us when reporting bugs.
840
841 * doc.c (Fsubstitute_command_keys): Doc fix.
842
843 * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p.
844
845 * xdisp.c (handle_stop): Skip overlay string handling if
846 ignore_overlay_strings_at_pos_p is set.
847 (set_iterator_to_next): At end of display vector, set
848 ignore_overlay_strings_at_pos_p if dpvec came from an overlay
849 string, so we skip those overlay strings at current pos.
850
851 2005-11-10 Lars Hansen <larsh@soem.dk>
852
853 * fileio.c (file-regular-p): Doc fix.
854
855 2005-11-10 Kim F. Storm <storm@cua.dk>
856
857 * alloc.c (valid_lisp_object_p): New function to validate that
858 an object is really a valid Lisp_Object.
859
860 * lisp.h (valid_lisp_object_p): Add prototype.
861
862 * print.c (safe_debug_print): New function to be called from gdb
863 to print Lisp objects; use valid_lisp_object_p to avoid crashing
864 if user tries to print something which is not a Lisp object.
865
866 * .gdbinit (pp, pp1): Use safe_debug_print.
867 (pv, pv1): New commands to print value of a lisp variable.
868
869 2005-11-10 Nick Roberts <nickrob@snap.net.nz>
870
871 * .gdbinit (pp1): New user-defined function.
872
873 2005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
874
875 * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak.
876
877 * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale
878 related variables for dumped executable.
879
880 * unexmacosx.c (unexec_write_zero): New function.
881 (copy_data_segment): Clear uninitialized local variables in
882 statically linked libraries.
883
884 * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common.
885
886 2005-11-09 Juri Linkov <juri@jurta.org>
887
888 * keymap.c (shadow_lookup): If Flookup_key returns a number,
889 call it again with a sub-key-sequence, and if its return value
890 is non-nil (sub-key is bound), return nil.
891
892 2005-11-08 Kim F. Storm <storm@cua.dk>
893
894 * process.c (Fsignal_process): Recognize signal names with and
895 without SIG prefix, e.g. SIGHUP and HUP.
896
897 * search.c (search_buffer): No need to initialize base_pat.
898
899 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * window.c (Fget_lru_window, Fget_largest_window, window_loop):
902 Don't abuse the `mini' arg. Use the `obj' arg instead.
903
904 2005-11-04 Kim F. Storm <storm@cua.dk>
905
906 * xdisp.c (show_mouse_face): Clear mouse face to eol.
907
908 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu>
909
910 * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc,
911 font-lock.elc and jit-lock.elc.
912
913 2005-11-03 Richard M. Stallman <rms@gnu.org>
914
915 * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL.
916 (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG.
917 (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG.
918
919 * sheap.c (STATIC_HEAP_SIZE): Increment both definitions.
920
921 * alloc.c (refill_memory_reserve): Move decl out of conditionals.
922
923 2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * window.c (Fdisplay_buffer): Fix last change to not use
926 a dedicated window.
927
928 2005-11-01 Kim F. Storm <storm@cua.dk>
929
930 * fringe.c (update_window_fringes): Undo 2005-10-27 change.
931 Instead, rotate the bottom angle bitmap 180 degrees to indicate
932 that the bottom row does not end in a newline.
933
934 2005-11-01 Andreas Schwab <schwab@suse.de>
935
936 * unexelf.c (unexec): Handle .plt section in BSS segment.
937
938 2005-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM).
941
942 * window.c (window_loop): For LRU and LARGEST, let the `mini' argument
943 determine whether to consider dedicated windows as well.
944 (Fget_lru_window, Fget_largest_window): Add `dedicated' argument.
945 (Fdisplay_buffer): Do consider dedicated windows in those cases where
946 we will split the window rather than reuse it.
947 Don't try to use windows on other displays.
948
949 2005-10-31 Dan Nicolaescu <dann@ics.uci.edu>
950
951 * puresize.h (BASE_PURESIZE): Increment to 1170000.
952
953 2005-10-31 Romain Francoise <romain@orebokech.com>
954
955 * macfns.c: Update copyright year.
956 * m/gould.h: Likewise.
957
958 2005-10-30 Kim F. Storm <storm@cua.dk>
959
960 * xdisp.c (display_line): Restore it->current_x and call
961 extend_face_to_end_of_line when last glyph doesn't fit on line.
962 (set_glyph_string_background_width): Remove specific tests here
963 to see if face background should extend to end of line. Simplify.
964
965 2005-10-30 Richard M. Stallman <rms@gnu.org>
966
967 * alloc.c (BYTES_USED): Use uordblks, not arena.
968 (bytes_used_when_reconsidered): New variable.
969 (emacs_blocked_free): Set that.
970
971 2005-10-29 Chong Yidong <cyd@stupidchicken.com>
972
973 * alloc.c (emacs_blocked_free): Fix typo.
974
975 2005-10-29 Richard M. Stallman <rms@gnu.org>
976
977 * data.c (Fmake_variable_frame_local): Doc fix.
978
979 * xdisp.c (handle_fontified_prop): Do nothing if memory full.
980 (format_mode_line_unwind_data): New arg SAVE_PROPTRANS
981 controls whether to save and restore mode_line_proptrans_alist.
982 Callers changed.
983 (unwind_format_mode_line): Work with that feature.
984 (redisplay_internal): Don't call prepare_menu_bars if memory full.
985 (move_elt_to_front): New function.
986 (display_mode_element): Use move_elt_to_front.
987 Don't bother munging text props on a null string.
988 Delete obsolete elts from mode_line_proptrans_alist.
989 (decode_mode_spec): Test Vmemory_full, not spare_memory.
990 (Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
991
992 * lisp.h (memory_full_cons_threshold): Declare.
993 (internal_lisp_condition_case): Declare.
994
995 * alloc.c (syms_of_alloc) <memory-full>: Doc fix.
996 (Fmemory_full_p): Function deleted.
997 (syms_of_alloc): Don't defsubr it.
998 (memory_full_cons_threshold): New variable.
999 (spare_memory): Now a vector of 7 elts.
1000 (buffer_memory_full): Don't set Vmemory_full here.
1001 (xfree): Don't try to refill here.
1002 (emacs_blocked_free): Record BYTES_USED in local var.
1003 (memory_full): Now free all the slots in spare_memory.
1004 (refill_memory_reserve): Allocate each slot in spare_memory.
1005 (init_alloc_once): Call refill_memory_reserve.
1006
1007 * keyboard.c (command_loop_1): Don't set Vmemory_full here.
1008
1009 * eval.c (internal_lisp_condition_case): New function.
1010 (Fcondition_case): Use internal_lisp_condition_case.
1011 (Feval): Test Vmemory_full and memory_full_cons_threshold.
1012 (Ffuncall): Likewise.
1013
1014 * bytecode.c (Fbyte_code): Use internal_lisp_condition_case.
1015
1016 2005-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * syntax.c (Fparse_partial_sexp): Fix docstring.
1019
1020 2005-10-28 Romain Francoise <romain@orebokech.com>
1021
1022 * puresize.h (BASE_PURESIZE): Increment to 1130000.
1023
1024 2005-10-28 Richard M. Stallman <rms@gnu.org>
1025
1026 * xfns.c (syms_of_xfns): Provide `x' as feature.
1027
1028 * xdisp.c (decode_mode_spec): Define %e to indicate memory full.
1029
1030 * editfns.c (Fformat): Don't include string padding
1031 between info[n].start and info[n].end.
1032
1033 * alloc.c (spare_memory): No longer static.
1034 (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve.
1035
1036 * puresize.h (BASE_PURESIZE): Increment to 1120000.
1037
1038 2005-10-27 Chong Yidong <cyd@stupidchicken.com>
1039
1040 * data.c (Fmake_variable_frame_local): Add clarification to docstring.
1041
1042 * fringe.c (update_window_fringes): Handle case where buffer ends
1043 with a newline.
1044
1045 2005-10-27 Kenichi Handa <handa@m17n.org>
1046
1047 * coding.h (DECODE_SYSTEM): Fix argument name; name->str.
1048
1049 2005-10-24 Kenichi Handa <handa@m17n.org>
1050
1051 * charset.h (charset_mule_unicode_0100_24ff)
1052 (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff):
1053 Extern them.
1054
1055 * charset.c (charset_mule_unicode_0100_24ff)
1056 (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff):
1057 New variables.
1058 (Fsetup_special_charsets): Initialize them.
1059
1060 * xterm.c (handle_one_xevent): Handle keysyms directly mapped to
1061 supported Unicode characters.
1062
1063 2005-10-25 Jason Rumney <jasonr@gnu.org>
1064
1065 * w32fns.c (w32_to_x_font): Avoid forcing font widths.
1066
1067 2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1068
1069 * image.c [MAC_OS] (image_load_qt_1): Check image size.
1070 Use GraphicsImportGetImageDescription instead of
1071 GraphicsImportGetNaturalBounds.
1072 [MAC_OSX] (image_load_quartz2d): Check image size.
1073 [MAC_OS] (xpm_load_image): Likewise.
1074
1075 * macterm.c (last_mouse_glyph_frame): New var.
1076 (note_mouse_movement): Say mouse moved if current frame differs
1077 from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
1078 (XTmouse_position): Set last_mouse_glyph_frame.
1079 (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event.
1080 (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo.
1081 Use EndianU16_BtoN.
1082 (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls.
1083 (x_per_char_metric, XLoadQueryFont)
1084 [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get
1085 glyph bounds.
1086 (mac_to_x_fontname, mac_do_list_fonts)
1087 (mac_initialize_display_info): Change screen resolutions to 72dpi.
1088
1089 2005-10-25 Masatake YAMATO <jet@gyve.org>
1090
1091 * minibuf.c (Fdisplay_completion_list): Small doc fix.
1092
1093 2005-10-24 Kim F. Storm <storm@cua.dk>
1094
1095 * xterm.c: Undo 2005-10-23 change.
1096 (last_mouse_glyph_frame): New var.
1097 (note_mouse_movement): Say mouse moved if current frame differs
1098 from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
1099 (XTmouse_position): Set last_mouse_glyph_frame.
1100 (handle_one_xevent): Clear last_mouse_glyph_frame [instead of
1101 last_mouse_glyph] on mouse up/down event.
1102
1103 * editfns.c (Fcompare_buffer_substrings): Fix last change.
1104
1105 2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars.
1108
1109 2005-10-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1110
1111 * xterm.c (note_mouse_movement): Always call note_mouse_highlight
1112 so tool tips don't interfere with press on tool bar button.
1113
1114 2005-10-23 Richard M. Stallman <rms@gnu.org>
1115
1116 * casetab.c (Fset_case_table): Doc fix.
1117
1118 * lread.c (build_load_history): Replace STREAM arg with ENTIRE.
1119 (readevalloop): Compute ENTIRE properly.
1120 (syms_of_lread) <load-history>: Doc fix.
1121
1 2005-10-21 Richard M. Stallman <rms@gnu.org> 1122 2005-10-21 Richard M. Stallman <rms@gnu.org>
2 1123
3 * lread.c (Fload): Simplify gcpro structure. 1124 * lread.c (Fload): Simplify gcpro structure.
4 Gcpro FOUND as well as FILE, but not EFOUND. 1125 Gcpro FOUND as well as FILE, but not EFOUND.
5 Unless preloading, record FOUND instead of FILE in Vload_history. 1126 Unless preloading, record FOUND instead of FILE in Vload_history.
6 Rename repeat local FILE to MSG_FILE. 1127 Rename repeat local FILE to MSG_FILE.
7 (syms_of_lread) <load-history>: Doc fix. 1128 (syms_of_lread) <load-history>: Doc fix.
8 1129
9 2005-10-21 Kenichi Handa <handa@m17n.org> 1130 2005-10-21 Kenichi Handa <handa@m17n.org>
10 1131
11 * search.c (boyer_moore): Surround the '||' part of expression in 1132 * search.c (boyer_moore): Add parens to fix and/or precedence bug.
12 `if' condition by parentheses explicitly.
13 1133
14 2005-10-20 Kim F. Storm <storm@cua.dk> 1134 2005-10-20 Kim F. Storm <storm@cua.dk>
15 1135
16 * buffer.c (clone_per_buffer_values): Remove unused var tem. 1136 * buffer.c (clone_per_buffer_values): Remove unused var tem.
17 (init_buffer): Remove unused vars dotstat, pwdstat. 1137 (init_buffer): Remove unused vars dotstat, pwdstat.
32 1152
33 * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. 1153 * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y.
34 1154
35 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change) 1155 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
36 1156
37 * unexelf.c (unexec): Fix calls to `fatal' with less than 3 1157 * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments.
38 arguments.
39 1158
40 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) 1159 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
41 1160
42 * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. 1161 * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO.
43 1162
79 not grabbed. 1198 not grabbed.
80 1199
81 2005-10-16 Masatake YAMATO <jet@gyve.org> 1200 2005-10-16 Masatake YAMATO <jet@gyve.org>
82 1201
83 * minibuf.c (Fdisplay_completion_list): Add new optional 1202 * minibuf.c (Fdisplay_completion_list): Add new optional
84 argument COMMON_SUBSTRING. Bind `completion-common-substring' 1203 argument COMMON_SUBSTRING. Bind `completion-common-substring'
85 to the optional argument during running `completion-setup-hook'. 1204 to the optional argument during running `completion-setup-hook'.
86 1205
87 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1206 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
88 1207
89 * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): 1208 * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp):
163 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1282 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
164 1283
165 * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to 1284 * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to
166 get end of text rows. Obtain header-line/mode-line rows directly. 1285 get end of text rows. Obtain header-line/mode-line rows directly.
167 1286
168 * xterm.c, w32term.c, macterm.c (note_mouse_movement): Restore 1287 * xterm.c, w32term.c, macterm.c (note_mouse_movement):
169 help_echo_string if mouse is moved inside last_mouse_glyph. 1288 Restore help_echo_string if mouse is moved inside last_mouse_glyph.
170 1289
171 2005-10-12 Kim F. Storm <storm@cua.dk> 1290 2005-10-12 Kim F. Storm <storm@cua.dk>
172 1291
173 * xdisp.c (remember_mouse_glyph): New generic version based on 1292 * xdisp.c (remember_mouse_glyph): New generic version based on
174 glyph_rect and remember_mouse_glyph from xterm.c enhanced to 1293 glyph_rect and remember_mouse_glyph from xterm.c enhanced to
229 to CHARSET. Parse font size. Lower family name. Return integer 1348 to CHARSET. Parse font size. Lower family name. Return integer
230 value for status of parsing. 1349 value for status of parsing.
231 (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. 1350 (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
232 Don't use Fdowncase because family name is already lowered by 1351 Don't use Fdowncase because family name is already lowered by
233 decode_mac_font_name. 1352 decode_mac_font_name.
234 (init_font_name_table): Always call decode_mac_font_name. Add 1353 (init_font_name_table): Always call decode_mac_font_name.
235 pair of family name and its reference to fm_font_family_alist. 1354 Add pair of family name and its reference to fm_font_family_alist.
236 (mac_clear_font_name_table): Clear fm_font_family_alist. 1355 (mac_clear_font_name_table): Clear fm_font_family_alist.
237 (XLoadQueryFont): Move font size parsing part to parse_x_font_name. 1356 (XLoadQueryFont): Move font size parsing part to parse_x_font_name.
238 Lookup fm_font_family_alist to get font family reference. 1357 Lookup fm_font_family_alist to get font family reference.
239 (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family 1358 (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
240 name is already lowered by parse_x_font_name. 1359 name is already lowered by parse_x_font_name.
330 (struct redisplay_interface): Add new OVERLAPS arg to member 1449 (struct redisplay_interface): Add new OVERLAPS arg to member
331 fix_overlapping_area. 1450 fix_overlapping_area.
332 (x_fix_overlapping_area): Add new OVERLAPS arg. 1451 (x_fix_overlapping_area): Add new OVERLAPS arg.
333 (get_glyph_string_clip_rects): Add extern. 1452 (get_glyph_string_clip_rects): Add extern.
334 1453
335 * dispnew.c (redraw_overlapping_rows): Call 1454 * dispnew.c (redraw_overlapping_rows):
336 rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. 1455 Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part.
337 1456
338 * xdisp.c: Rename member for_overlaps_p in struct glyph_string to 1457 * xdisp.c: Rename member for_overlaps_p in struct glyph_string to
339 for_overlaps. 1458 for_overlaps.
340 (get_glyph_string_clip_rects): New function created from 1459 (get_glyph_string_clip_rects): New function created from
341 get_glyph_string_clip_rect. Set clipping rectangles according to the 1460 get_glyph_string_clip_rect. Set clipping rectangles according to the
676 get_current_dir_name. 1795 get_current_dir_name.
677 (get_current_dir_name): Remove prototype. 1796 (get_current_dir_name): Remove prototype.
678 1797
679 * xsmfns.c: (get_current_dir_name): Remove prototype. 1798 * xsmfns.c: (get_current_dir_name): Remove prototype.
680 1799
681 * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add 1800 * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]:
682 prototype. 1801 Add prototype.
683 1802
684 * sysdep.c [WINDOWSNT]: Add prototype for getwd. 1803 * sysdep.c [WINDOWSNT]: Add prototype for getwd.
685 Don't #undef NULL after including blockinput.h. 1804 Don't #undef NULL after including blockinput.h.
686 1805
687 * config.in: Regenerated. 1806 * config.in: Regenerated.
15799 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> 16918 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de>
15800 16919
15801 * xdisp.c (forward_to_next_line_start): Return 0 when reaching the 16920 * xdisp.c (forward_to_next_line_start): Return 0 when reaching the
15802 end of the buffer. 16921 end of the buffer.
15803 16922
15804 2002-08-08 Ken Raeburn <raeburn@mit.edu> 16923 2002-08-08 Ken Raeburn <raeburn@gnu.org>
15805 16924
15806 * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. 16925 * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
15807 16926
15808 * puresize.h (BASE_PURESIZE): Increase to 910000. 16927 * puresize.h (BASE_PURESIZE): Increase to 910000.
15809 16928