aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog1257
1 files changed, 1194 insertions, 63 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c9cf12dc159..00822d9d277 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,1130 @@
12004-06-20 Richard M. Stallman <rms@gnu.org>
2
3 * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix.
4
5 * search.c (match_limit): Cleaner err msg when no match data available.
6
7 * window.c (syms_of_window): Doc fix.
8
9 * keyboard.c (command_loop_1): Handle values `only' and `identity'
10 for Vtransient_mark_mode.
11
12 * buffer.c (syms_of_buffer): Doc fix.
13
142004-06-21 David Kastrup <dak@gnu.org>
15
16 * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding
17 and unbinding of `case-fold-search' according to
18 `completion-ignore-case' around calls of string-match and
19 predicates, respectively. Should give satisfactory performance
20 in all relevant cases.
21
222004-06-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
23
24 * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from
25 clip_x/y_origin.
26
27 * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca.
28
29 * macfns.c (Fx_display_color_cells): Do not limit return value to 256.
30
31 * macterm.c (mac_initialize_display_info): Initialize n_planes correctly
32 on Mac OSX.
33
342004-06-16 Luc Teirlinck <teirllm@auburn.edu>
35
36 * buffer.c (syms_of_buffer): Clarify `fill-column' docstring.
37
382004-06-16 Kim F. Storm <storm@cua.dk>
39
40 * dispextern.h (Vimage_types): Remove extern.
41
422004-06-16 Miles Bader <miles@gnu.org>
43
44 * image.c (lookup_image_type): Initialize image type if necessary.
45
462004-06-15 Kim F. Storm <storm@cua.dk>
47
48 * xdisp.c (try_cursor_movement): Exclude header line from scroll
49 margin at top of window.
50 (try_window_reusing_current_matrix): Calculate proper cursor position
51 after scrolling up with non-zero scroll margin, as the old cursor
52 position corresponds to value of PT before executing this command.
53 (try_window_id): Consider scroll margin at bottom of window too;
54 otherwise we fail to scroll when hl-line-mode is enabled.
55
56 * syntax.c (skip_chars): Only recognize [:class:] when it has the
57 proper format and class is a lower-case word.
58
592004-06-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
60
61 * gtkutil.c (xg_get_image_for_pixmap): New function.
62 (xg_get_gdk_pixmap_and_mask): Removed.
63 (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of
64 xg_get_gdk_pixmap_and_mask.
65
66 * xterm.h (struct x_display_info): Typo in comment fixed.
67
682004-06-14 Juanma Barranquero <lektu@terra.es>
69
70 * dispextern.h (Vimage_types): Make it conditional on
71 HAVE_WINDOW_SYSTEM.
72
73 * image.c (Vimage_types): Move from xdisp.c.
74 (Vimage_type_cache): New variable.
75 (define_image_type): New argument indicating whether an image
76 library was loaded; cache loaded status and return t on success,
77 nil otherwise.
78 (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros.
79 (w32_delayed_load): New function to load an image library from a
80 list of possible filenames.
81 (init_xpm_functions, init_png_functions, init_jpeg_functions)
82 (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
83 (CHECK_LIB_AVAILABLE): Call `define_image_library' with new
84 argument.
85 (Finit_image_library): New function, extracted from `init_image'.
86 Try to initialize an image library on demand and cache whether we
87 were successful or not.
88 (syms_of_image): Initialize `Vimage_types' and
89 `Vimage_type_cache'. Add recognized image types to Vimage_types.
90 Export `init-image-library'.
91 (init_image): Remove initialization of all image types, except xbm
92 and pbm.
93
94 * xdisp.c (Vimage_types): Delete (moved to image.c).
95
962004-06-14 Andreas Schwab <schwab@suse.de>
97
98 * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
99 Avoid calling specbind when completion-regexp-list is empty.
100
1012004-06-13 Richard M. Stallman <rms@gnu.org>
102
103 * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t)
104 (re_wctype, re_iswctype, re_wctype_to_bit):
105 Non-function definitions moved here from regex.c.
106
107 * regex.c (re_wctype, re_iswctype): Function defs longer static.
108 (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t)
109 (re_wctype, re_iswctype, re_wctype_to_bit):
110 Non-function definitions moved to regex.h.
111
112 * window.c (Fselect_window): Doc fix.
113
114 * syntax.c: Include regex.h.
115 (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed.
116 If requested, make a list of classes, then check the scanned
117 chars for membership in them.
118 (in_classes): New function.
119 Doc fix.
120
121 * keyboard.c (cmd_error): Don't call any_kboard_state
122 if inside a recursive edit level.
123
1242004-06-13 Lorentey K,Aa(Broly <lorentey@elte.hu>
125
126 * keyboard.c (command_loop): Call any_kboard_state before
127 command_loop_2 when at top level.
128
1292004-06-13 Andreas Schwab <schwab@suse.de>
130
131 * print.c (print_object): Always use %ld for printing EMACS_INT.
132
133 * keyboard.c (cancel_hourglass_unwind): Return a value.
134 (modify_event_symbol): Always use %ld for printing EMACS_INT.
135 (Fexecute_extended_command): Likewise.
136
137 * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to
138 avoid clashes.
139 (SYNTAX): Likewise.
140 (SYNTAX_WITH_FLAGS): Likewise.
141 (SYNTAX_MATCH): Likewise.
142
143 * syntax.c (char_quoted): Avoid warning about undefined operation.
144 (find_defun_start): Likewise.
145 (scan_lists): Likewise.
146 (INC_FROM): Likewise.
147 (scan_sexps_forward): Likewise.
148
149 * image.c: Include <ctype.h>.
150
151 * xfaces.c (face_attr_equal_p): Declare parameters.
152
1532004-06-13 Kenichi Handa <handa@m17n.org>
154
155 * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1.
156
1572004-06-12 Matthew Mundell <matt@mundell.ukfsn.org>
158
159 * eval.c (Fdefun): Signal an error if NAME is not a symbol.
160
1612004-06-12 Kenichi Handa <handa@m17n.org>
162
163 * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in
164 ccl_prog_stack_struct and update it.
165 (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook.
166 (CCL_READ_CHAR): Get instruction counter from eof_ic, not from
167 ccl->eof_ic on EOF.
168 (ccl_debug_hook): New function.
169 (struct ccl_prog_stack): New member eof_ic.
170 (ccl_driver): Handle EOF in subrountine call correctly.
171
1722004-06-11 Kenichi Handa <handa@m17n.org>
173
174 * coding.c (decode_coding_string): Check CODING_FINISH_INTERRUPT.
175
1762004-06-11 Kim F. Storm <storm@cua.dk>
177
178 * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown.
179
1802004-06-11 Juanma Barranquero <lektu@terra.es>
181
182 * keyboard.c (Fposn_at_point): Doc fix.
183
1842004-06-11 David Kastrup <dak@gnu.org>
185
186 * search.c (match_limit): Don't flag an error if match-data
187 exceeding the allocated search_regs.num_regs gets requested, just
188 return Qnil.
189
1902004-06-08 Miles Bader <miles@gnu.org>
191
192 * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected.
193
1942004-06-07 Juanma Barranquero <lektu@terra.es>
195
196 * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time)
197 (Fcurrent_time_string, Fcurrent_time_zone)
198 (Finsert_buffer_substring, Ftranspose_regions): Doc fixes.
199
2002004-06-07 Miles Bader <miles@gnu.org>
201
202 * xfaces.c (struct named_merge_point): New type.
203 (push_named_merge_point): New function.
204 (merge_named_face): New function.
205 (merge_face_ref, face_at_buffer_position, face_at_string_position):
206 Use `merge_named_face'.
207 (merge_face_inheritance): Function removed.
208 (merge_face_ref): Renamed from `merge_face_vector_with_property'.
209 Add new `err_msgs' and `named_merge_points' args. Return error
210 status. Only print error messages if ERR_MSGS is true. Don't try to
211 do :inherit attribute validation.
212 (merge_face_heights): Handle `unspecified' in both directions.
213 (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'.
214 Call `merge_face_ref' instead of `merge_face_inheritance'.
215 (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector)
216 (compute_char_face, face_at_buffer_position)
217 (face_at_string_position): Call `merge_face_ref' instead of
218 `merge_face_vector_with_property'.
219
2202004-06-07 Kenichi Handa <handa@m17n.org>
221
222 * coding.c (find_safe_codings): Check NILP (safe_codings) only at
223 the necessary places.
224
2252004-06-07 Kim F. Storm <storm@cua.dk>
226
227 * process.c (Fdelete_process): Undo 2004-05-28 change.
228 Instead, call status_notify also for network process.
229 (status_message): Use process instead of status as arg.
230 Give messages "deleted" or "connection broken by remote peer" for
231 an exited network process.
232 (status_notify): Change call to status_message.
233 (read_process_output): Increase readmax to 4096. Do not increase
234 buffer size for datagram channels (default is now large enough).
235
2362004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local>
237
238 * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation
239 problem due to newly defined variable.
240
2412004-06-06 Miles Bader <miles@gnu.org>
242
243 * xfaces.c (Fdisplay_supports_face_attributes_p): Give up
244 immediately if non-interactive or not initialized.
245
2462004-06-05 Richard M. Stallman <rms@gnu.org>
247
248 * minibuf.c (Fcompleting_read): Doc fix.
249
2502004-06-05 Andreas Schwab <schwab@suse.de>
251
252 * macfns.c (x_create_tip_frame): Fix declaration after statement.
253
2542004-06-05 Juanma Barranquero <lektu@terra.es>
255
256 * keymap.c (Fdescribe_vector): Fix docstring.
257 (Fkey_description, Fglobal_key_binding): Fix typo in docstring.
258
2592004-06-05 Miles Bader <miles@gnu.org>
260
261 * xfaces.c (tty_supports_face_attributes_p): Make sure the specified
262 attributes have different values than the default face.
263
2642004-06-04 Eli Zaretskii <eliz@gnu.org>
265
266 * xfaces.c (x_supports_face_attributes_p): Make this function
267 conditional on HAVE_WINDOW_SYSTEM.
268 (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: Don't
269 call x_supports_face_attributes_p if it was not compiled in.
270
2712004-06-04 Miles Bader <miles@gnu.org>
272
273 * xfaces.c (tty_supports_face_attributes_p): New function, mostly
274 from Ftty_supports_face_attributes_p.
275 (x_supports_face_attributes_p): New function.
276 (Ftty_supports_face_attributes_p): Function deleted.
277 (Fdisplay_supports_face_attributes_p): New function.
278 (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p.
279 (face_attr_equal_p): New function.
280 (lface_equal_p): Use it.
281
2822004-06-03 Juanma Barranquero <lektu@terra.es>
283
284 * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command)
285 (Vw32_color_map): Fix typo in docstring.
286 (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip)
287 (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key):
288 Make argument names match their use in docstring.
289
2902004-06-02 Juanma Barranquero <lektu@terra.es>
291
292 Work around bugs/problems with MinGW builds of graphics libraries
293 called from MSVC builds of Emacs.
294
295 * image.c (lookup_image): Make pointer to img static.
296 (png_read_from_memory): Disable "global" optimization.
297
2982004-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true.
301
3022004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
303
304 * macfns.c: Don't include ccl.h.
305 [MAC_OSX]: Don't include QuickTime/QuickTime.h.
306 [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or
307 TextUtils.h.
308 (Fx_create_frame): Sync with xfns.c. Initialize cursor
309 descriptors.
310 (Fx_display_mm_height, Fx_display_mm_width): Calculate length from
311 display height/width.
312 (compute_tip_xy, Vx_max_tooltip_size): Declare.
313 (unwind_create_tip_frame, compute_tip_xy): New functions.
314 (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c.
315 (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size,
316 and last_show_tip_args.
317
318 * macgui.h [!MAC_OSX]: Include Gestalt.h.
319 (Cursor, No_Cursor): New defines.
320 [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility
321 macro.
322 [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare.
323
324 * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort.
325
326 * macterm.c: Don't include Gestalt.h.
327 (enum mouse_tracking_type, mouse_tracking_in_progress): Remove.
328 (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap)
329 (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap)
330 (XFillRectangle, mac_draw_rectangle, mac_draw_string_common)
331 (mac_copy_area, mac_copy_area_with_mask, x_update_end)
332 (construct_mouse_click, XTmouse_position)
333 (x_scroll_bar_report_motion, x_calc_absolute_position)
334 (do_mouse_moved, do_zoom_window, mac_do_receive_drag)
335 (XTread_socket, make_mac_frame): Use SetPortWindowPort.
336 (note_mouse_movement): Clear the mouse face and reset the pointer
337 shape when the pointer goes outside the frame without grabbing.
338 (mac_front_window): New function.
339 (mac_window_to_frame): New macro.
340 (XTmouse_position, x_scroll_bar_report_motion, do_window_update)
341 (do_window_activate, do_window_deactivate, do_app_resume)
342 (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window)
343 (do_zoom_window, mac_do_receive_drag, XTread_socket)
344 (mac_check_for_quit_char): Use mac_front_window and/or
345 mac_window_to_frame.
346 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
347 scroll-bar click event.
348 (mac_define_frame_cursor): Change the pointer shape.
349 (x_free_frame_resources): Reset tip_window to NULL when it is
350 disposed.
351 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
352 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize
353 arrow_cursor.
354 (do_window_update): Don't do anything if the updated window is the
355 tooltip window.
356 (do_mouse_moved): Handle mouse movement events here (previously in
357 XTread_socket). Clear the mouse face if
358 dpyinfo->mouse_face_hidden is set.
359 (do_os_event, do_events): Remove (now in XTread_socket).
360 (XTread_socket): Immediately return if interrupt_input_blocked.
361 Loop until all the events in the queue are processed. Rearrange
362 codes for mouse grabbing. Add tooltip support. Include the
363 contents of do_os_event and do_events. Remove mouse movement
364 handling (now in do_mouse_moved). Add the case where
365 Vmouse_highlight has an integer value.
366 (NewMacWindow): Remove.
367 (make_mac_frame): Do what NewMacWindow previously did. Don't do
368 excess initializations.
369 (make_mac_terminal_frame): Previous initializations in
370 make_mac_frame are moved here.
371 (mac_initialize_display_info): Initialize
372 dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden.
373
374 * xdisp.c [MAC_OS] (No_Cursor): Remove variable.
375 (define_frame_cursor1): Don't treat HAVE_CARBON as a special case.
376
3772004-05-29 Richard M. Stallman <rms@gnu.org>
378
379 * lisp.h (truncate_undo_list): Update decl.
380
381 * alloc.c (undo_outer_limit): New variable.
382 (syms_of_alloc): Defvar it.
383 (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list.
384
385 * undo.c (truncate_undo_list): New arg LIMITSIZE.
386
387 * alloc.c (lisp_align_malloc): Check for base == 0
388 regardless of HAVE_POSIX_MEMALIGN.
389 Clean up HAVE_POSIX_MEMALIGN handling of `err'.
390
3912004-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * alloc.c: Undo Kim's recent changes and fix the same bug differently.
394 (marker_blocks_pending_free): Remove.
395 (Fgarbage_collect): Sweep after cleaning up undo-lists.
396 Mark the undo lists after claning them up.
397 Don't free block in marker_blocks_pending_free.
398 (mark_buffer): Don't mark undo_list.
399 (gc_sweep): Sweep hash-tables and strings first.
400 Do free marker blocks that are empty.
401
4022004-05-28 Jim Blandy <jimb@redhat.com>
403
404 * regex.c (print_partial_compiled_pattern): Add missing 'break'
405 after 'case wordend'. For symbeg and symend, print to stderr,
406 like the other cases.
407
4082004-05-28 Noah Friedman <friedman@splode.com>
409
410 * process.c (Fdelete_process): Do not call remove_process.
411
4122004-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * alloc.c (struct backtrace): Remove.
415 (Fgarbage_collect): Use the new mark_backtrace.
416
417 * eval.c (mark_backtrace): New function.
418
419 * minibuf.c (run_exit_minibuf_hook): New function.
420 (read_minibuf_unwind): Don't run exit-minibuffer-hook any more.
421 (read_minibuf): Use separate unwind handler to run exit-minibuf-hook.
422
4232004-05-27 Kim F. Storm <storm@cua.dk>
424
425 * xdisp.c (back_to_previous_visible_line_start): Skip backwards
426 over display properties, e.g. images, that replace buffer text.
427
4282004-05-25 Kim F. Storm <storm@cua.dk>
429
430 * alloc.c (marker_blocks_pending_free): New var.
431 (gc_sweep): Store free marker blocks on that list.
432 (Fgarbage_collect): Free them after undo-list cleanup.
433
434 * process.c (wait_reading_process_input): Check connect_wait_mask
435 before actually accepting connection in case it has already been
436 accepted due to recursion.
437
4382004-05-23 K,Ba(Broly L,Bu(Brentey <lorentey@elte.hu> (tiny change)
439
440 * coding.c (Fset_safe_terminal_coding_system_internal):
441 Set suppress_error in safe_terminal_coding, not terminal_coding.
442
4432004-05-22 Richard M. Stallman <rms@gnu.org>
444
445 * alloc.c (Fmake_string): Doc fix.
446
447 * buffer.c (clone_per_buffer_values): Copy the alist of local vars,
448 and the alist pairs too.
449
450 * casefiddle.c (casify_object): Return OBJ unchanged if not real char.
451
452 * emacs.c (main): Update copyright year.
453
454 * fileio.c (Fread_file_name): Expand DIR if not absolute.
455
456 * insdel.c (del_range_2, replace_range): Don't write an anchor
457 if the gap is empty.
458
459 * xdisp.c (try_scrolling): If scroll-up-aggressively or
460 scroll-down-aggressively is small but positive, put point
461 near the screen edge.
462
4632004-05-22 Juanma Barranquero <lektu@terra.es>
464
465 * keymap.c (Fdefine_key): Doc fix.
466
4672004-05-22 Kim F. Storm <storm@cua.dk>
468
469 * alloc.c (struct backtrace): Add debug_on_exit member.
470 (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep.
471 Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of
472 the removed cons cells.
473 (mark_object): Undo previous change - disallow Lisp_Misc_Free objects.
474 (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have
475 any cons cells pointing to unallocated stings.
476 Do not lisp_free any marker blocks, as there may still be pointers
477 to them from buffer undo lists at this stage of GC.
478
479 * keyboard.c (struct backtrace): Add debug_on_exit member.
480 (Fcommand_execute): Clear it.
481
4822004-05-20 Luc Teirlinck <teirllm@auburn.edu>
483
484 * intervals.c (lookup_char_property): Do not prematurely return nil.
485
4862004-05-19 Jim Blandy <jimb@redhat.com>
487
488 Add support for new '\_<' and '\_>' regexp operators, matching the
489 beginning and end of symbols.
490
491 * regex.c (enum syntaxcode): Add Ssymbol.
492 (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword.
493 (re_opcode_t): New opcodes `symbeg' and `symend'.
494 (print_partial_compiled_pattern): Print the new opcodes properly.
495 (regex_compile): Parse the new operators.
496 (analyse_first): Skip sym(beg|end) (they match only the empty string).
497 (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and
498 \sw; `symbeg' is mutually exclusive with \S_ and \Sw.
499 (re_match_2_internal): Match symbeg and symend.
500
501 * search.c (trivial_regexp_p): \_ is no longer a trivial regexp.
502
5032004-05-19 Kim F. Storm <storm@cua.dk>
504
505 * .gdbinit (xsymbol): Fix last change.
506
5072004-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * .gdbinit (xprintstr): New fun.
510 (xstring, xprintsym): Use it.
511
512 * w32proc.c (create_child): Use INTMASK.
513
514 * alloc.c (Fgarbage_collect): Do all the marking before flushing
515 unmarked elements of the undo list.
516
5172004-05-18 David Ponce <david@dponce.com>
518
519 * print.c (print): Reset print_depth before to call print_object.
520
5212004-05-18 Jason Rumney <jasonr@gnu.org>
522
523 * w32console.c: Prefix RIF functions with w32con_ to avoid
524 namespace clash with functions in term.c and w32term.c.
525
526 * w32menu.c (add_menu_item, w32_menu_display_help)
527 [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member.
528
529 * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype.
530
5312004-05-18 Eli Zaretskii <eliz@gnu.org>
532
533 * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems.
534
535 * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph
536 with make_number.
537 (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph
538 with XINT.
539
5402004-05-18 Kim F. Storm <storm@cua.dk>
541
542 * blockinput.h (INPUT_BLOCKED_P): New macros.
543
544 * keyboard.c (Frecursive_edit): Return immediately if input blocked.
545 (Ftop_level): Unblock input if blocked.
546
547 * buffer.h (GET_OVERLAYS_AT): New macro.
548 * msdos.c (IT_note_mouse_highlight): Use it.
549 * textprop.c (get_char_property_and_overlay): Use it.
550 * xdisp.c (next_overlay_change, note_mouse_highlight): Use it.
551 * xfaces.c (face_at_buffer_position): Use it.
552
553 * print.c (print_object): Increase buf size.
554
5552004-05-17 Jason Rumney <jasonr@gnu.org>
556
557 * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key)
558 (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from
559 Lisp_Object using i member.
560 (w32_quit_key): Rename from Vw32_quit_key, and make an int.
561 (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int
562 consistently.
563
564 * w32proc.c (create_child): Use make_number instead of masking pid.
565
566 * w32fns.c (w32_color_map_lookup): Return a Lisp_Object.
567 (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets):
568 Use EQ to compare Lisp_Objects.
569 (w32_parse_hot_key): Use int for lisp_modifiers consistently.
570
571 * w32term.c (w32_num_mouse_buttons): Rename from
572 Vw32_num_mouse_buttons and make it an int.
573
574 * w32.c (init_environment): Use it.
575
576 * w32fns.c (w32_wnd_proc): Likewise.
577
578 * w32proc.c (w32_pipe_read_delay): Rename from
579 Vw32_pipe_read_delay and make it an int.
580
581 * w32.c (_sys_read_ahead): Use it.
582
583 * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition.
584
585 * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid.
586
587 * w32inevt.c (w32_console_mouse_position, do_mouse_event)
588 (key_event): Don't mix Lisp_Object and int.
589
590 * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location.
591
592 * keyboard.c (kbd_buffer_get_event): Don't use event->code and
593 modifiers in language change event.
594
5952004-05-17 Kim F. Storm <storm@cua.dk>
596
597 * alloc.c (mark_object): Ignore Lisp_Misc_Free objects.
598 Such objects may be freed markers which still exist on an undo list.
599
6002004-05-16 Juanma Barranquero <lektu@terra.es>
601
602 * data.c (Fset_default): Make argument names match their use in
603 docstring.
604
6052004-05-15 Andreas Schwab <schwab@suse.de>
606
607 * emacs.c (gdb_array_mark_flag): Define.
608 * .gdbinit: Mask off gdb_array_mark_flag from vector sizes.
609
6102004-05-15 Eli Zaretskii <eliz@gnu.org>
611
612 * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use
613 __attribute__((__aligned__)), so that USE_LSB_TAG would not become
614 defined for the MS-DOS build.
615
6162004-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * w32fns.c (Fw32_define_rgb_color): Avoid XSET.
619
6202004-05-14 Kenichi Handa <handa@m17n.org>
621
622 * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS.
623
6242004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
625
626 * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c
627 section to frame.c section.
628 (Fxw_display_color_p, Fx_file_dialog): Declare if
629 HAVE_WINDOW_SYSTEM defined.
630
631 * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup.
632
633 * macmenu.c (set_frame_menubar): Use NILP to test a lisp value.
634
635 * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers)
636 (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values.
637 (XTread_socket): Fix int/Lisp_Object mixup.
638 (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup.
639
640 * macterm.h (struct frame, struct face, struct image)
641 (display_x_get_resource, Fx_display_color_p)
642 (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs):
643 Add prototypes.
644
6452004-05-14 Kim F. Storm <storm@cua.dk>
646
647 * process.c (wait_reading_process_input): Make reentrant.
648 Make Available and Connecting non-static. Save and restore value
649 of waiting_for_user_input_p.
650
6512004-05-13 Kim F. Storm <storm@cua.dk>
652
653 * keyboard.c (mark_kboards): Don't mark x and y members
654 that are overloaded in selection request events.
655
6562004-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * lisp.h (USE_LSB_TAG): Make it the default when it is known to work.
659
6602004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk>
661
662 * window.c (Fdisplay_buffer, Fsplit_window)
663 (split-height-threshold): Doc fix.
664
6652004-05-13 Juanma Barranquero <lektu@terra.es>
666
667 * xfaces.c (Ftty_supports_face_attributes_p)
668 (Finternal_copy_lisp_face): Fix typo in docstring.
669 (Finternal_get_lisp_face_attribute): Fix docstring.
670
6712004-05-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
672
673 * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK.
674
6752004-05-11 Steven Tamm <steventamm@mac.com>
676
677 * macfns.c (Fx_create_frame): Default to using tool-bar by
678 setting tool-bar-lines to 1 in default-frame-alist.
679
6802004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
681
682 * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v)
683 (xpm_get_color_table_v, xpm_make_color_table_h)
684 (xpm_put_color_table_h, xpm_get_color_table_h)
685 (xpm_str_to_color_key, xpm_load_image, xpm_load)
686 (syms_of_image): Support XPM on Carbon Emacs. Does not
687 depend on libXpm, but only supports XPM version 3 without extensions.
688
6892004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
690
691 * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P
692 instead of FRAME_X_P
693
6942004-05-11 Kim F. Storm <storm@cua.dk>
695
696 * process.c (read_process_output): Grow decoding_buf when needed;
697 this could cause a crash in allocate_string and compact_small_strings.
698
6992004-04-29 Jim Blandy <jimb@redhat.com>
700
701 * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2
702 against proper opcode.
703
7042004-05-10 Juanma Barranquero <lektu@terra.es>
705
706 * process.c (Fstart_process): Fix docstring.
707
708 * charset.c (Fget_unused_iso_final_char): Fix typos in docstring.
709 (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction)
710 (Fsplit_char, Fchar_charset): Make argument names match their use
711 in docstring.
712
7132004-05-10 Richard M. Stallman <rms@gnu.org>
714
715 * print.c (print_preprocess): Use being_printed, loop_count and
716 halftail to detect overdeep nesting and cyclic cdr chains.
717
7182004-05-10 Andreas Schwab <schwab@suse.de>
719
720 * lisp.h: Declare Fmake_symbolic_link.
721
722 * fileio.c (Frename_file): Remove extra argument in call to
723 Fmake_symbolic_link.
724
7252004-05-10 Kim F. Storm <storm@cua.dk>
726
727 * xdisp.c (calc_line_height_property): Use string position when
728 object is a string.
729
7302004-05-10 Kenichi Handa <handa@m17n.org>
731
732 * print.c (temp_output_buffer_setup): Bind inhibit-read-only and
733 inhibit-modification-hooks to t temporarily before calling
734 Ferase_buffer.
735
736 * xfns.c (x_create_tip_frame): Bind inhibit-read-only and
737 inhibit-modification-hooks to t temporarily before calling
738 Ferase_buffer.
739
740 * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and
741 inhibit-modification-hooks to t temporarily before calling
742 Ferase_buffer.
743
744 * fns.c (count_combining): Delete it.
745 (concat): Don't check combining bytes.
746
7472004-05-09 Jason Rumney <jasonr@gnu.org>
748
749 * w32fns.c (Vw32_ansi_code_page): New Lisp variable.
750 (globals_of_w32fns): Set it.
751
7522004-05-09 Piet van Oostrum <piet@cs.uu.nl> (tiny change)
753
754 * data.c (Fquo): Simplify.
755
7562004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change)
757
758 * data.c (Fquo): If any argument is float, do the computation in
759 floating point.
760
7612004-05-08 Juanma Barranquero <lektu@terra.es>
762
763 * process.c (Fwaiting_for_user_input_p, Fmake_network_process)
764 (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering):
765 Fix spelling of Emacs on docstring.
766 (Fset_process_coding_system, Fprocess_coding_system)
767 (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p):
768 Make argument names match their use in docstring.
769 (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process):
770 Fix docstring.
771
772 * editfns.c (Finsert_buffer_substring): Make argument names match their
773 use in docstring.
774
775 * syntax.c (Fmodify_syntax_entry): Fix docstring.
776
7772004-05-07 Steven Tamm <steventamm@mac.com>
778
779 * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT
780 around call to ReceiveEvent to avoid certain crashes.
781
7822004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
783
784 * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData)
785 (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap)
786 (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap):
787 Save/restore the current graphics port and device handle when
788 drawing into an offscreen graphics world.
789
790 * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1)
791 (gif_load): Likewise.
792
7932004-05-07 Juanma Barranquero <lektu@terra.es>
794
795 * window.c (Fset_window_buffer): Fix docstring.
796
7972004-05-06 Thien-Thi Nguyen <ttn@gnu.org>
798
799 * emacs.c (main) [VMS]: Fix var ref.
800
8012004-05-06 Romain Francoise <romain@orebokech.com> (tiny change)
802
803 * data.c (Fsetq_default): Fix docstring.
804
8052004-05-06 Jason Rumney <jasonr@gnu.org>
806
807 * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h
808 to avoid name clash.
809
8102004-05-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
811
812 * fileio.c (barf_or_query_if_file_exists): Use lstat.
813 (Frename_file): Handle renaming of symlinks across file systems.
814 (Frename_file): Put symlink handling inside #ifdef S_IFLNK.
815
8162004-05-04 Kim F. Storm <storm@cua.dk>
817
818 * xdisp.c (Qtotal): New var.
819 (syms_of_xdisp): Intern and staticpro it.
820 (calc_line_height_property): New arg total. Set it if
821 line-spacing property has format (total . VALUE).
822 (x_produce_glyphs): Ignore line-spacing if line-height is 0.
823 Handle total line-spacing property.
824
8252004-05-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
826
827 * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear
828 "under" scroll bar when size/position changes.
829
8302004-05-03 Jason Rumney <jasonr@gnu.org>
831
832 * makefile.nt: Remove.
833
8342004-05-02 Eli Zaretskii <eliz@gnu.org>
835
836 * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT):
837 Avoid compiler warnings.
838
839 * Makefile.in (region-cache.o): Depend on config.h.
840
8412004-05-02 Romain Francoise <romain@orebokech.com> (tiny change)
842
843 * indent.c (compute_motion): Save vpos in prev_vpos when dealing
844 with continuation lines, too.
845
8462004-05-02 Thien-Thi Nguyen <ttn@gnu.org>
847
848 * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'.
849
8502004-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * xdisp.c (calc_line_height_property): YAILOM (yet another
853 int/Lisp_Object mixup).
854
8552004-05-01 Eli Zaretskii <eliz@gnu.org>
856
857 * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
858 undo bad effect of pack(4) in some versions of system headers.
859
8602004-05-01 Jason Rumney <jasonr@gnu.org>
861
862 * w32term.c (x_draw_hollow_cursor): Sync with xterm.c
863
8642004-04-30 Kim F. Storm <storm@cua.dk>
865
866 * buffer.c (syms_of_buffer) <line-spacing>: Allow float value.
867 (syms_of_buffer) <cursor-type>: Doc fix.
868
869 * dispextern.h (struct it): Remove member use_default_face.
870 Add members override_ascent, override_descent, override_boff.
871
872 * xdisp.c (init_iterator): Handle line-spacing float value.
873 Initialize override_ascent member.
874 (append_space_for_newline): Reset override_ascent.
875 Remove use_default_face.
876 (calc_line_height_property): New function to calculate value of
877 line-height and line-spacing properties. Look at overlays, too.
878 Set override_ascent, override_descent, override_boff members when
879 using another face than the current face. Float values are now
880 relative to the frame default font, by default; accept a cons
881 of ratio and face name to specify value relative to a specific face.
882 (x_produce_glyphs): Use calc_line_height_property.
883 Use override_ascent etc. when set to handle different face heights.
884 A negative line-spacing property value is interpreted as a total
885 line height, rather than inter-line spacing.
886 (note_mouse_highlight): Allocate room for 40 overlays initially.
887
8882004-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * data.c (Fsubr_name): New fun.
891 (syms_of_data): Defsubr it.
892
8932004-04-29 Kim F. Storm <storm@cua.dk>
894
895 * xdisp.c (null_glyph_slice): New var.
896 (append_glyph, append_composite_glyph, append_stretch_glyph):
897 Use it to initialize glyph slice.
898
8992004-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup.
902 (on_hot_spot_p): Make sure we always return a value.
903 (Flookup_image_map): Remove unused var ix and iy.
904 (note_mode_line_or_margin_highlight): Remove unused var `image'.
905
9062004-04-27 Eli Zaretskii <eliz@gnu.org>
907
908 * msdos.c (init_environment): If one of the TMP... environment
909 variables is set to a drive letter without a trailing slash,
910 append a slash.
911
9122004-04-27 Matthew Mundell <matt@mundell.ukfsn.org>
913
914 * editfns.c (lisp_time_argument): Provide externally.
915
916 * fileio.c (Fset_file_times): New function.
917 (syms_of_fileio): Intern and staticpro it.
918
9192004-04-27 Kim F. Storm <storm@cua.dk>
920
921 * xdisp.c (x_produce_glyphs): Fix last change; handle newline in
922 header line strings.
923
924 * dispextern.h (struct it): New member use_default_face.
925
926 * xdisp.c (Qline_height): New variable.
927 (syms_of_xdisp): Intern and staticpro it.
928 (append_space_for_newline): Partially undo 2004-04-25 change;
929 add default_face_p arg, and restore callers.
930 Clear it->use_default_face after use.
931 (x_produce_glyphs): Set default font for ascii char if
932 it->use_default_font is set. Change line-spacing property to set
933 just extra line spacing. Handle new line-height property.
934
9352004-04-26 Andreas Schwab <schwab@suse.de>
936
937 * print.c (print_object): Print non-ascii characters in bool
938 vector representation as octal escapes.
939
940 * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define.
941 * print.c (print_object): Use it instead of BITS_PER_CHAR for
942 bool vectors.
943 * lread.c (read1): Likewise.
944 * alloc.c (Fmake_bool_vector): Likewise.
945 * data.c (Faref, Faset): Likewise.
946 * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray)
947 (mapcar1): Likewise.
948
9492004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local>
950
951 * lread.c (init_lread): Fixing typo HAVE_CARBON test logic
952
9532004-04-26 Miles Bader <miles@gnu.org>
954
955 * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c.
956
9572004-04-26 Juanma Barranquero <lektu@terra.es>
958
959 * buffer.c (Fpop_to_buffer): Fix docstring.
960
9612004-04-26 Steven Tamm <steventamm@mac.com>
962
963 * lread.c (init_lread): Don't display missing lisp directory
964 warnings with Carbon Emacs because self-contained bundled Emacs
965 may be built without correct installation path.
966
9672004-04-25 Kim F. Storm <storm@cua.dk>
968
969 * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines.
970
971 * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines.
972
973 * xdisp.c (append_space_for_newline): Rename from append_space.
974 Remove DEFAULT_FACE_P arg; always use current face. Callers changed.
975 (x_produce_glyphs): Handle line-spacing property on newline char.
976 If value is t, adjust ascent and descent to fit current row height.
977 If value is an integer or float, set extra_line_spacing to integer
978 value, or to float value x current line height.
979
9802004-04-23 Kenichi Handa <handa@m17n.org>
981
982 * fontset.c (Finternal_char_font): If POSITION is nil, return
983 font for displaying CH with the default face.
984
9852004-04-23 Juanma Barranquero <lektu@terra.es>
986
987 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
988
9892004-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]:
992 Don't make assumptions about the relative place of i and val.
993 (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well.
994
9952004-04-21 Kim F. Storm <storm@cua.dk>
996
997 * dispextern.h (struct glyph_slice): New struct.
998 (struct glyph): New member slice.
999 (GLYPH_SLICE_EQUAL_P): New macro.
1000 (GLYPH_EQUAL_P): Use it.
1001 (struct glyph_string): New member slice.
1002 (struct it_slice): New struct.
1003 (struct it): New member slice, add member to stack too.
1004 New member constrain_row_ascent_descent_p.
1005 (image_ascent): Add prototype.
1006
1007 * dispnew.c (buffer_posn_from_coords): Return full image width
1008 and height even for image slices (posn is relative to full image).
1009 (marginal_area_string): Adjust x0,y0 for image slice.
1010
1011 * image.c (image_ascent): Add slice arg; calculate ascent for
1012 image slice (or full image).
1013
1014 * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns.
1015 (syms_of_keyboard): Defsubr them.
1016
1017 * lisp.h (pos_visible_p): Fix prototype.
1018
1019 * macterm.c (x_draw_relief_rect): Add top_p and bot_p args.
1020 (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
1021 (x_draw_image_foreground, x_draw_image_relief)
1022 (x_draw_image_foreground_1, x_draw_image_glyph_string):
1023 Draw sliced images.
1024
1025 * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args.
1026 (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
1027 (x_draw_image_foreground, x_draw_image_relief)
1028 (w32_draw_image_foreground_1, x_draw_image_glyph_string):
1029 Draw sliced images.
1030
1031 * w32term.h (image_ascent): Remove prototype.
1032
1033 * window.c (Fpos_visible_in_window_p): Return pixel position if
1034 PARTIALLY arg is non-nil. Simplify. Doc fix.
1035 (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg
1036 to return/set vscroll in pixels.
1037
1038 * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN.
1039
1040 * xdisp.c (Qslice): New variable.
1041 (syms_of_xdisp): Intern and staticpro it.
1042 (pos_visible_p): Return pixel position in new x and y args.
1043 (init_iterator): Reset it->slice info.
1044 (handle_display_prop): Parse (slice ...) property.
1045 (push_it, pop_it): Save/restore slice info.
1046 (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not
1047 force repositioning of tall row if window is vscrolled, as that
1048 would reset vscroll.
1049 (append_space): Set it->constrain_row_ascent_descent_p to avoid
1050 increasing row height if row is non-empty.
1051 (fill_image_glyph_string): Copy slice info.
1052 (take_vertical_position_into_account): Simplify.
1053 (produce_image_glyph): Handle iterator slice info, setup glyph
1054 slice info. Do not force minimum line height.
1055 (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set,
1056 do not increase height (ascent/descent) of non-empty row when
1057 adding normal character glyph; instead reduce glyph ascent/descent
1058 appropriately; if row is higher than current glyph, adjust glyph
1059 descent/ascent to reposition glyph within the existing row.
1060 Likewise, when char is newline, only set ascent/descent if row is
1061 currently empty.
1062 (note_mouse_highlight): Handle hotspots with sliced image.
1063
1064 * xterm.c (x_draw_relief_rect): Add top_p and bot_p args.
1065 (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
1066 (x_draw_image_foreground, x_draw_image_relief)
1067 (x_draw_image_foreground_1, x_draw_image_glyph_string):
1068 Draw sliced images.
1069
1070 * xterm.h (image_ascent): Remove prototype.
1071
10722004-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup.
1075
10762004-04-20 John Paul Wallington <jpw@gnu.org>
1077
1078 * fns.c (Fassoc, Feql): Fix indentation.
1079
1080 * fontset.c (regularize_fontname): Rename from regulalize_fontname.
1081
10822004-04-19 John Paul Wallington <jpw@gnu.org>
1083
1084 * fns.c (Feql): New function.
1085 (syms_of_fns): Defsubr it.
1086
10872004-04-18 Jason Rumney <jasonr@gnu.org>
1088
1089 * w32select.c (Fw32_set_clipboard_data): Get sequence number
1090 after closing the clipboard.
1091
10922004-04-16 Luc Teirlinck <teirllm@auburn.edu>
1093
1094 * buffer.c (Fbuffer_base_buffer): Doc fix.
1095
10962004-04-17 Kim F. Storm <storm@cua.dk>
1097
1098 * keymap.c (Fkey_description): Add optional PREFIX arg.
1099 Combine prefix with KEYS to make up the full key sequence to describe.
1100 Correlate meta_prefix_char and following (simple) key to describe
1101 as meta modifier. All callers changed.
1102 (describe_map): Rename arg `keys' to `prefix'. Remove local
1103 `elt_prefix' var. Use Fkey_description with prefix instead of
1104 elt_prefix combined with Fsingle_key_description.
1105 (describe_vector): Declare static. Replace arg `elt_prefix' with
1106 `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it
1107 if !KEYMAP_P. Use Fkey_description with prefix instead of
1108 Fsingle_key_description.
1109
1110 * keymap.h (Fkey_description): Fix prototype.
1111 (describe_vector): Remove prototype.
1112
1113 * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0.
1114
1115 * image.c (PNG_BG_COLOR_SHIFT): Remove.
1116 (png_load): Fix calculation of transparent background color on X
1117 and W32 platforms.
1118
11192004-04-16 Juanma Barranquero <lektu@terra.es>
1120
1121 * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is
1122 not too large before computing how much to scroll.
1123
11242004-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler.
1127
12004-04-14 Luc Teirlinck <teirllm@auburn.edu> 11282004-04-14 Luc Teirlinck <teirllm@auburn.edu>
2 1129
3 * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): 1130 * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime):
@@ -30,6 +1157,11 @@
30 centering_position = 0. 1157 centering_position = 0.
31 Clear desired matrix before retrying with centering_position = 0. 1158 Clear desired matrix before retrying with centering_position = 0.
32 1159
11602004-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * syntax.c (scan_lists): Simplify backward string scan.
1163 Fix off-by-one boundary check for string and comment fences.
1164
332004-04-13 Joe Buehler <jbuehler@hekimian.com> 11652004-04-13 Joe Buehler <jbuehler@hekimian.com>
34 1166
35 * sheap.c, unexcw.c: New files. 1167 * sheap.c, unexcw.c: New files.
@@ -573,7 +1705,7 @@
573 1705
574 * macterm.c (XTread_socket): Remove bufp_r and 1706 * macterm.c (XTread_socket): Remove bufp_r and
575 numcharsp args. Add hold_quit arg. 1707 numcharsp args. Add hold_quit arg.
576 Rework to use just one, local, inev input_event. Store inev 1708 Rework to use just one, local, inev input_event. Store inev
577 directly in fifo using kbd_buffer_store_event_hold. 1709 directly in fifo using kbd_buffer_store_event_hold.
578 1710
579 * sysdep.c (BUFFER_SIZE_FACTOR): Remove. 1711 * sysdep.c (BUFFER_SIZE_FACTOR): Remove.
@@ -589,14 +1721,14 @@
589 1721
590 * w32inevt.c (w32_console_read_socket): Remove bufp_r and 1722 * w32inevt.c (w32_console_read_socket): Remove bufp_r and
591 numcharsp args. Add hold_quit arg. 1723 numcharsp args. Add hold_quit arg.
592 Rework to use just one, local, inev input_event. Store inev 1724 Rework to use just one, local, inev input_event. Store inev
593 directly in fifo using kbd_buffer_store_event_hold. 1725 directly in fifo using kbd_buffer_store_event_hold.
594 1726
595 * w32inevt.h (w32_console_mouse_position): Fix prototype. 1727 * w32inevt.h (w32_console_mouse_position): Fix prototype.
596 1728
597 * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. 1729 * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args.
598 Add hold_quit arg. Rework to use just one, local, inev 1730 Add hold_quit arg. Rework to use just one, local, inev
599 input_event. Store inev directly in fifo using 1731 input_event. Store inev directly in fifo using
600 kbd_buffer_store_event_hold. Update count in one place. 1732 kbd_buffer_store_event_hold. Update count in one place.
601 Postpone call to gen_help_event until inev is stored; use new 1733 Postpone call to gen_help_event until inev is stored; use new
602 local do_help for this. 1734 local do_help for this.
@@ -615,8 +1747,8 @@
615 (current_hold_quit) [USE_GTK]: Add. 1747 (current_hold_quit) [USE_GTK]: Add.
616 (event_handler_gdk): Adapt to new handle_one_xevent. 1748 (event_handler_gdk): Adapt to new handle_one_xevent.
617 (handle_one_xevent): Remove bufp_r and numcharsp args. 1749 (handle_one_xevent): Remove bufp_r and numcharsp args.
618 Add hold_quit arg. Rework to use just one, local, inev 1750 Add hold_quit arg. Rework to use just one, local, inev
619 input_event. Store inev directly in fifo using 1751 input_event. Store inev directly in fifo using
620 kbd_buffer_store_event_hold. Update count in one place. 1752 kbd_buffer_store_event_hold. Update count in one place.
621 Postpone call to gen_help_event until inev is stored; use new 1753 Postpone call to gen_help_event until inev is stored; use new
622 local do_help for this. 1754 local do_help for this.
@@ -628,7 +1760,7 @@
628 `goto done' to clarify code flow in deeply nested blocks. 1760 `goto done' to clarify code flow in deeply nested blocks.
629 (x_dispatch_event): Simplify as handle_one_xevent now calls 1761 (x_dispatch_event): Simplify as handle_one_xevent now calls
630 kbd_buffer_store_event itself. 1762 kbd_buffer_store_event itself.
631 (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit 1763 (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit
632 arg. Call handle_one_xevent with new arglist. Store event from 1764 arg. Call handle_one_xevent with new arglist. Store event from
633 x_session_check_input in fifo. 1765 x_session_check_input in fifo.
634 [USE_GTK]: Setup current_hold_quit. 1766 [USE_GTK]: Setup current_hold_quit.
@@ -1047,7 +2179,7 @@
1047 2179
10482004-02-09 Sam Steingold <sds@gnu.org> 21802004-02-09 Sam Steingold <sds@gnu.org>
1049 2181
1050 * w32term.c (w32_draw_fringe_bitmap): Fixed a typo in the last patch. 2182 * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch.
1051 2183
10522004-02-09 Kim F. Storm <storm@cua.dk> 21842004-02-09 Kim F. Storm <storm@cua.dk>
1053 2185
@@ -1181,7 +2313,7 @@
1181 completion-regexp-list. Define Qcase_fold_search and staticpro it. 2313 completion-regexp-list. Define Qcase_fold_search and staticpro it.
1182 (read_minibuf): Fix initial comment. 2314 (read_minibuf): Fix initial comment.
1183 (Ftry_completion, Fall_completions, Ftest_completion): Bind 2315 (Ftry_completion, Fall_completions, Ftest_completion): Bind
1184 case-fold-serach to the value of completion-ignore-case when 2316 case-fold-search to the value of completion-ignore-case when
1185 checking completion-regexp-list. 2317 checking completion-regexp-list.
1186 (Fdisplay_completion_list): Make it handle arguments that are 2318 (Fdisplay_completion_list): Make it handle arguments that are
1187 symbols. Doc fix. 2319 symbols. Doc fix.
@@ -1557,7 +2689,7 @@
1557 (marginal_area_string): Fix prototypes. 2689 (marginal_area_string): Fix prototypes.
1558 2690
1559 * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from 2691 * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from
1560 POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. 2692 POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed.
1561 (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. 2693 (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros.
1562 2694
1563 * keyboard.c (make_lispy_position): Use modified mode_line_string, 2695 * keyboard.c (make_lispy_position): Use modified mode_line_string,
@@ -1724,7 +2856,7 @@
1724 control frame pointer shape. Detect image hot-spots for pointer 2856 control frame pointer shape. Detect image hot-spots for pointer
1725 and help_echo properties. Use define_frame_cursor1. 2857 and help_echo properties. Use define_frame_cursor1.
1726 (note_mouse_highlight): Use Vvoid_text_area_pointer. 2858 (note_mouse_highlight): Use Vvoid_text_area_pointer.
1727 (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables. 2859 (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables.
1728 DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void. 2860 DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void.
1729 2861
1730 * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. 2862 * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID.
@@ -1845,7 +2977,7 @@
1845 (glyph_to_pixel_coords): Don't use negative hpos. 2977 (glyph_to_pixel_coords): Don't use negative hpos.
1846 (x_y_to_hpos_vpos): Fix for partially visible first glyph. 2978 (x_y_to_hpos_vpos): Fix for partially visible first glyph.
1847 (append_stretch_glyph): Change ascent arg to be actual value 2979 (append_stretch_glyph): Change ascent arg to be actual value
1848 in pixels rather than ratio to height. Callers changed. 2980 in pixels rather than ratio to height. Callers changed.
1849 (calc_pixel_width_or_height): New aux function, implementing 2981 (calc_pixel_width_or_height): New aux function, implementing
1850 pixel based artihmetic for glyph widths and heights. 2982 pixel based artihmetic for glyph widths and heights.
1851 (produce_stretch_glyph): Use calc_pixel_width_or_height for 2983 (produce_stretch_glyph): Use calc_pixel_width_or_height for
@@ -2047,7 +3179,7 @@
2047 x_display_info_for_display instead. Use Display in xev instead 3179 x_display_info_for_display instead. Use Display in xev instead
2048 of GDK_DISPLAY. 3180 of GDK_DISPLAY.
2049 (x_dispatch_event): Call x_display_info_for_display. 3181 (x_dispatch_event): Call x_display_info_for_display.
2050 (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. 3182 (XTread_socket): Move GTK part out of loop. current_dpyinfo removed.
2051 (x_connection_closed): Call xg_display_close for GTK. 3183 (x_connection_closed): Call xg_display_close for GTK.
2052 (x_term_init): Call xg_display_open for additional displays. 3184 (x_term_init): Call xg_display_open for additional displays.
2053 Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor 3185 Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor
@@ -2954,7 +4086,7 @@
2954 4086
29552003-07-09 Kim F. Storm <storm@cua.dk> 40872003-07-09 Kim F. Storm <storm@cua.dk>
2956 4088
2957 * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if emacs 4089 * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs
2958 was configured with --without-xim. 4090 was configured with --without-xim.
2959 (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. 4091 (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM.
2960 4092
@@ -3549,7 +4681,7 @@
3549 from x/w32/macterm.h files. All uses changed. Also change code 4681 from x/w32/macterm.h files. All uses changed. Also change code
3550 which referred to f->output_data...->pixel_height. 4682 which referred to f->output_data...->pixel_height.
3551 (FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved 4683 (FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved
3552 from x/w32/macterm.h files. All uses changed. Also change code 4684 from x/w32/macterm.h files. All uses changed. Also change code
3553 which referred to f->output_data...->pixel_width. 4685 which referred to f->output_data...->pixel_width.
3554 (FRAME_LINES): Renamed from FRAME_HEIGHT. All uses changed. 4686 (FRAME_LINES): Renamed from FRAME_HEIGHT. All uses changed.
3555 Also change code which referred to f->height. 4687 Also change code which referred to f->height.
@@ -3811,7 +4943,7 @@
3811 window to only preserve the display margins in one of the windows. 4943 window to only preserve the display margins in one of the windows.
3812 When splitting horizontally, call adjust_window_margins on both 4944 When splitting horizontally, call adjust_window_margins on both
3813 windows to ensure that the text area of the new windows is non too 4945 windows to ensure that the text area of the new windows is non too
3814 narrow. This fixes a bug which could cause emacs to trap if the 4946 narrow. This fixes a bug which could cause Emacs to trap if the
3815 width of the split window was less than the width of the display 4947 width of the split window was less than the width of the display
3816 margins. 4948 margins.
3817 (window_box_text_cols): Renamed from window_internal_width. 4949 (window_box_text_cols): Renamed from window_internal_width.
@@ -3842,7 +4974,7 @@
3842 (Fset_window_margins): Do nothing if display margins are not 4974 (Fset_window_margins): Do nothing if display margins are not
3843 really changed. Otherwise, call adjust_window_margins to ensure 4975 really changed. Otherwise, call adjust_window_margins to ensure
3844 the text area doesn't get too narrow. This fixes a bug which 4976 the text area doesn't get too narrow. This fixes a bug which
3845 could cause emacs to trap if setting display margins wider than 4977 could cause Emacs to trap if setting display margins wider than
3846 the width of the window. 4978 the width of the window.
3847 (Fset_window_fringes): New defun to allow user to specifically set 4979 (Fset_window_fringes): New defun to allow user to specifically set
3848 this window's fringe widths and position vs. display margins. 4980 this window's fringe widths and position vs. display margins.
@@ -3859,7 +4991,7 @@
3859 * xdisp.c: Make (many) trivial substitutions for renamed and 4991 * xdisp.c: Make (many) trivial substitutions for renamed and
3860 new macros in dispextern.h, frame.h and window.h. 4992 new macros in dispextern.h, frame.h and window.h.
3861 (window_box_width): Adapt to per-window fringes and scroll bars, 4993 (window_box_width): Adapt to per-window fringes and scroll bars,
3862 and new fringe vs. display margin position. Note that returned 4994 and new fringe vs. display margin position. Note that returned
3863 value is no longer guaranteed to be a whole multiple of the frame 4995 value is no longer guaranteed to be a whole multiple of the frame
3864 column width, since per-window fringes may now be any width. 4996 column width, since per-window fringes may now be any width.
3865 (window_box_left_offset): New function like window_box_left, but 4997 (window_box_left_offset): New function like window_box_left, but
@@ -4609,7 +5741,7 @@
4609 5741
4610 * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame 5742 * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
4611 parameters now defined in frame.h and frame.c. 5743 parameters now defined in frame.h and frame.c.
4612 (Vx_resource_name): Remove. Use generic var. 5744 (Vx_resource_name): Remove. Use generic var.
4613 (enum x_frame_parms): Remove (bogus, unused enum). 5745 (enum x_frame_parms): Remove (bogus, unused enum).
4614 (check_x_display_info): Make non-static (for frame.c). 5746 (check_x_display_info): Make non-static (for frame.c).
4615 (struct x_frame_parm_table, x_frame_parms): Remove. 5747 (struct x_frame_parm_table, x_frame_parms): Remove.
@@ -4629,7 +5761,7 @@
4629 (syms_of_xfns): Don't intern/staticpro removed vars. 5761 (syms_of_xfns): Don't intern/staticpro removed vars.
4630 5762
4631 * xterm.c: Remove unnecessary extern declarations. 5763 * xterm.c: Remove unnecessary extern declarations.
4632 (x_fullscreen_adjust): Remove. Use generic instead. 5764 (x_fullscreen_adjust): Remove. Use generic instead.
4633 (x_redisplay_interface): Add x_frame_parm_handlers member. 5765 (x_redisplay_interface): Add x_frame_parm_handlers member.
4634 5766
4635 * w32gui.h (XrmDatabase): New (dummy) typedef. 5767 * w32gui.h (XrmDatabase): New (dummy) typedef.
@@ -4641,7 +5773,7 @@
4641 5773
4642 * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame 5774 * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
4643 parameters now defined in frame.h and frame.c. 5775 parameters now defined in frame.h and frame.c.
4644 (Vx_resource_name): Remove. Use generic var. 5776 (Vx_resource_name): Remove. Use generic var.
4645 (enum x_frame_parms): Remove (bogus, unused enum). 5777 (enum x_frame_parms): Remove (bogus, unused enum).
4646 (check_x_display_info): Make non-static (for frame.c). 5778 (check_x_display_info): Make non-static (for frame.c).
4647 (struct x_frame_parm_table, x_frame_parms): Remove. 5779 (struct x_frame_parm_table, x_frame_parms): Remove.
@@ -4674,7 +5806,7 @@
4674 5806
4675 * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame 5807 * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame
4676 parameters now defined in frame.h and frame.c. 5808 parameters now defined in frame.h and frame.c.
4677 (Vx_resource_name): Remove. Use generic var. 5809 (Vx_resource_name): Remove. Use generic var.
4678 (check_x_display_info): Make non-static (for frame.c). 5810 (check_x_display_info): Make non-static (for frame.c).
4679 (struct x_frame_parm_table, x_frame_parms): Remove. 5811 (struct x_frame_parm_table, x_frame_parms): Remove.
4680 (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) 5812 (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params)
@@ -5655,7 +6787,7 @@
5655 [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel 6787 [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel
5656 definitions in xpm.h. 6788 definitions in xpm.h.
5657 (init_xpm_functions): New function. 6789 (init_xpm_functions): New function.
5658 (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. 6790 (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm.
5659 (init_external_image_libraries): Try to load libXpm.dll. 6791 (init_external_image_libraries): Try to load libXpm.dll.
5660 6792
5661 * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting 6793 * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting
@@ -5684,8 +6816,8 @@
5684 * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows 6816 * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows
5685 when including gif_lib.h. 6817 when including gif_lib.h.
5686 (init_gif_functions, init_tiff_functions): New functions. 6818 (init_gif_functions, init_tiff_functions): New functions.
5687 (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for 6819 (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for
5688 Windows. Disable color table lookups. Call library functions 6820 Windows. Disable color table lookups. Call library functions
5689 through pointers determined at runtime. 6821 through pointers determined at runtime.
5690 (init_external_image_libraries): Try to load libungif.dll and 6822 (init_external_image_libraries): Try to load libungif.dll and
5691 libtiff.dll. 6823 libtiff.dll.
@@ -5751,8 +6883,8 @@
5751 6883
5752 * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): 6884 * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
5753 New functions. 6885 New functions.
5754 (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. 6886 (jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
5755 Disable color table lookups. Call jpeg library functions 6887 Disable color table lookups. Call jpeg library functions
5756 through pointers determined at runtime. 6888 through pointers determined at runtime.
5757 (init_external_image_libraries): Try to load jpeg.dll. 6889 (init_external_image_libraries): Try to load jpeg.dll.
5758 6890
@@ -5789,8 +6921,8 @@
5789 6921
5790 * w32fns.c (XPutPixel): Handle monochrome images; used for masks. 6922 * w32fns.c (XPutPixel): Handle monochrome images; used for masks.
5791 [HAVE_PNG]: Sync with xfns.c version. 6923 [HAVE_PNG]: Sync with xfns.c version.
5792 (png_load): Adjust colors for Windows. Use Windows 6924 (png_load): Adjust colors for Windows. Use Windows
5793 bitmaps. Disable color table lookups. 6925 bitmaps. Disable color table lookups.
5794 (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. 6926 (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
5795 (init_png_functions): New function. 6927 (init_png_functions): New function.
5796 (png_read_from_memory, png_load): Call png library functions 6928 (png_read_from_memory, png_load): Call png library functions
@@ -5887,7 +7019,7 @@
58872003-01-21 David Ponce <david@dponce.com> 70192003-01-21 David Ponce <david@dponce.com>
5888 7020
5889 * w32term.c (w32_encode_char): For DIM=1 charset, set 7021 * w32term.c (w32_encode_char): For DIM=1 charset, set
5890 ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c 7022 ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
5891 x_encode_char change by Kenichi Handa <handa@m17n.org> on 7023 x_encode_char change by Kenichi Handa <handa@m17n.org> on
5892 2002-09-30.) 7024 2002-09-30.)
5893 (w32_draw_relief_rect): Declare all args. 7025 (w32_draw_relief_rect): Declare all args.
@@ -6420,7 +7552,7 @@
6420 only if g_b_init_get_sid_identifier_authority is equal to 0. 7552 only if g_b_init_get_sid_identifier_authority is equal to 0.
6421 On initialization set g_b_init_get_sid_identifier_authority equal to 1. 7553 On initialization set g_b_init_get_sid_identifier_authority equal to 1.
6422 7554
6423 * w32fns.c (globals_of_w32fns): New function. Used to initialize 7555 * w32fns.c (globals_of_w32fns): New function. Used to initialize
6424 those global variables that must always be initialized on startup 7556 those global variables that must always be initialized on startup
6425 even when the global variable initialized is non zero. 7557 even when the global variable initialized is non zero.
6426 Its primary purpose at this time is to initialize the global variable 7558 Its primary purpose at this time is to initialize the global variable
@@ -6431,7 +7563,7 @@
6431 7563
6432 * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. 7564 * w32fns.c (syms_of_w32fns): Call globals_of_w32fns.
6433 7565
6434 * w32menu.c (globals_of_w32menu): New function. Used to 7566 * w32menu.c (globals_of_w32menu): New function. Used to
6435 initialize those global variables that must always be initialized 7567 initialize those global variables that must always be initialized
6436 on startup even when the global variable initialized is non zero. 7568 on startup even when the global variable initialized is non zero.
6437 Its primary purpose at this time is to initialize the global 7569 Its primary purpose at this time is to initialize the global
@@ -7116,7 +8248,7 @@
7116 * process.c (Fformat_network_address): New function. 8248 * process.c (Fformat_network_address): New function.
7117 (syms_of_process): Defsubr it. 8249 (syms_of_process): Defsubr it.
7118 (list_processes_1): Use it to format :local/:remote address if 8250 (list_processes_1): Use it to format :local/:remote address if
7119 service/host is not set; before emacs would crash in that case. 8251 service/host is not set; before Emacs would crash in that case.
7120 (Fmake_network_process): Don't use Ffind_operation_coding_system 8252 (Fmake_network_process): Don't use Ffind_operation_coding_system
7121 to setup coding system if host or service is not set. 8253 to setup coding system if host or service is not set.
7122 8254
@@ -7779,7 +8911,7 @@
7779 8911
7780 * msdos.c (croak): Add `void' to definition. 8912 * msdos.c (croak): Add `void' to definition.
7781 8913
7782 * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): 8914 * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]:
7783 Don't define them, they are defined in msdos.c. 8915 Don't define them, they are defined in msdos.c.
7784 8916
7785 * mem-limits.h [MSDOS]: Declare etext. 8917 * mem-limits.h [MSDOS]: Declare etext.
@@ -7789,7 +8921,7 @@
7789 8921
77902002-08-19 Kim F. Storm <storm@cua.dk> 89222002-08-19 Kim F. Storm <storm@cua.dk>
7791 8923
7792 * keyboard.c (Fclear_this_command_keys): Added optional arg 8924 * keyboard.c (Fclear_this_command_keys): Add optional arg
7793 KEEP-RECORD to avoid clearing lossage when we just want to clear 8925 KEEP-RECORD to avoid clearing lossage when we just want to clear
7794 the current key sequence (kmacro needs this). 8926 the current key sequence (kmacro needs this).
7795 8927
@@ -8181,12 +9313,11 @@
8181 9313
81822002-07-19 Juanma Barranquero <lektu@terra.es> 93142002-07-19 Juanma Barranquero <lektu@terra.es>
8183 9315
8184 * fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
8185 (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
8186
8187 * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. 9316 * xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
8188 9317
8189 * fileio.c (syms_of_fileio): Likewise. 9318 * fileio.c (syms_of_fileio): Likewise.
9319 (Ffile_name_as_directory): Fix argument name in docstring.
9320 (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
8190 9321
81912002-07-18 Richard M. Stallman <rms@gnu.org> 93222002-07-18 Richard M. Stallman <rms@gnu.org>
8192 9323
@@ -8423,8 +9554,8 @@
8423 9554
84242002-07-10 Juanma Barranquero <lektu@terra.es> 95552002-07-10 Juanma Barranquero <lektu@terra.es>
8425 9556
8426 * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers 9557 * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE.
8427 changed. 9558 All callers changed.
8428 9559
84292002-07-09 Stefan Monnier <monnier@cs.yale.edu> 95602002-07-09 Stefan Monnier <monnier@cs.yale.edu>
8430 9561
@@ -8654,7 +9785,7 @@
86542002-06-21 Pavel Jan,Am(Bk <Pavel@Janik.cz> 97852002-06-21 Pavel Jan,Am(Bk <Pavel@Janik.cz>
8655 9786
8656 * m/pmax.h (START_FILES): Define START_FILES for NetBSD and 9787 * m/pmax.h (START_FILES): Define START_FILES for NetBSD and
8657 OpenBSD. Add support for mipseb-*-netbsd* machines. 9788 OpenBSD. Add support for mipseb-*-netbsd* machines.
8658 9789
86592002-06-17 Andrew Choi <akochoi@shaw.ca> 97902002-06-17 Andrew Choi <akochoi@shaw.ca>
8660 9791
@@ -10056,7 +11187,7 @@
10056 (server_accept_connection): New function. 11187 (server_accept_connection): New function.
10057 (wait_reading_process_input): Use it to handle incoming connects. 11188 (wait_reading_process_input): Use it to handle incoming connects.
10058 Do not enable input on a new connection if process is stopped. 11189 Do not enable input on a new connection if process is stopped.
10059 (read_process_output): Handle datagram sockets. Use 2k buffer for them. 11190 (read_process_output): Handle datagram sockets. Use 2k buffer for them.
10060 (send_process): Handle datagram sockets. 11191 (send_process): Handle datagram sockets.
10061 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped 11192 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped
10062 network process is indicated by setting command field to t . 11193 network process is indicated by setting command field to t .
@@ -11442,7 +12573,7 @@
114422001-12-14 Andrew Innes <andrewi@gnu.org> 125732001-12-14 Andrew Innes <andrewi@gnu.org>
11443 12574
11444 * makefile.w32-in (EMACSLOADPATH): Define. 12575 * makefile.w32-in (EMACSLOADPATH): Define.
11445 ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. 12576 ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs.
11446 (bootstrap-temacs): Remove dependency on bootstrap-clean. 12577 (bootstrap-temacs): Remove dependency on bootstrap-clean.
11447 12578
114482001-12-13 Eli Zaretskii <eliz@is.elta.co.il> 125792001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
@@ -11642,7 +12773,7 @@
11642 12773
116432001-12-01 Jason Rumney <jasonr@gnu.org> 127742001-12-01 Jason Rumney <jasonr@gnu.org>
11644 12775
11645 * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. 12776 * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.
11646 12777
11647 * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) 12778 * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT)
11648 [!WM_MOUSELEAVE]: Define. 12779 [!WM_MOUSELEAVE]: Define.
@@ -11694,7 +12825,7 @@
11694 12825
11695 * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to 12826 * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to
11696 fill fringe evenly with small dashes. 12827 fill fringe evenly with small dashes.
11697 (x_draw_fringe_bitmap): Clear background if necessary. Align and 12828 (x_draw_fringe_bitmap): Clear background if necessary. Align and
11698 clip the new ZV bitmap to avoid jitter between rows. 12829 clip the new ZV bitmap to avoid jitter between rows.
11699 (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear 12830 (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear
11700 background. Don't draw fringe bitmaps if fringe width is zero. 12831 background. Don't draw fringe bitmaps if fringe width is zero.
@@ -11759,7 +12890,7 @@
11759 menu items. From David Ponce <dponce@wanadoo.fr>. 12890 menu items. From David Ponce <dponce@wanadoo.fr>.
11760 (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function 12891 (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function
11761 conditionally. 12892 conditionally.
11762 (w32_menu_display_help): New argument OWNER. Rewritten to store a 12893 (w32_menu_display_help): New argument OWNER. Rewritten to store a
11763 help event in the owner frame's keyboard buffer. 12894 help event in the owner frame's keyboard buffer.
11764 12895
11765 * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. 12896 * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly.
@@ -11836,9 +12967,9 @@
11836 12967
11837 * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. 12968 * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
11838 12969
11839 * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. 12970 * buffer.c (Fkill_buffer): Likewise.
11840 12971
11841 * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. 12972 * print.c (temp_output_buffer_setup): Likewise.
11842 12973
118432001-11-25 Stefan Monnier <monnier@cs.yale.edu> 129742001-11-25 Stefan Monnier <monnier@cs.yale.edu>
11844 12975
@@ -11875,7 +13006,7 @@
11875 (my_create_tip_window): Assign tip_window. 13006 (my_create_tip_window): Assign tip_window.
11876 (x_create_tip_frame): Use same defaults as X. 13007 (x_create_tip_frame): Use same defaults as X.
11877 (compute_tip_xy): Remove unused variable. Use full screen width. 13008 (compute_tip_xy): Remove unused variable. Use full screen width.
11878 (Fx_show_tip): Do not double height. Call ShowWindow directly. 13009 (Fx_show_tip): Do not double height. Call ShowWindow directly.
11879 13010
11880 * w32term.c (x_after_update_window_line): Doc fix. 13011 * w32term.c (x_after_update_window_line): Doc fix.
11881 (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip 13012 (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip
@@ -12112,9 +13243,9 @@
12112 `bitmaps': 13243 `bitmaps':
12113 13244
12114 * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. 13245 * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID.
12115 Comments fixed. Use renamed symbols. 13246 Comments fixed. Use renamed symbols.
12116 13247
12117 * dispnew.c: Comment fix. Use renamed symbols. 13248 * dispnew.c: Comment fix. Use renamed symbols.
12118 13249
12119 * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. 13250 * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS.
12120 (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. 13251 (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH.
@@ -12124,13 +13255,13 @@
12124 13255
12125 * w32fns.c: Use renamed symbols. 13256 * w32fns.c: Use renamed symbols.
12126 13257
12127 * w32term.c: Comment fixes. Use renamed symbols. 13258 * w32term.c: Comment fixes. Use renamed symbols.
12128 (fringe_bitmap_type): Renamed from bitmap_type. 13259 (fringe_bitmap_type): Renamed from bitmap_type.
12129 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. 13260 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
12130 (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. 13261 (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
12131 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. 13262 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
12132 13263
12133 * w32term.h: Comment fixes. Use renamed symbols. 13264 * w32term.h: Comment fixes. Use renamed symbols.
12134 (fringes_extra): Renamed from flags_areas_extra. 13265 (fringes_extra): Renamed from flags_areas_extra.
12135 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. 13266 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
12136 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. 13267 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
@@ -12143,22 +13274,22 @@
12143 13274
12144 * widget.c: Use renamed symbols. 13275 * widget.c: Use renamed symbols.
12145 13276
12146 * window.c: Comment fixes. Use renamed symbols. 13277 * window.c: Comment fixes. Use renamed symbols.
12147 (coordinates-in-window-p): Doc fix. 13278 (coordinates-in-window-p): Doc fix.
12148 13279
12149 * xdisp.c: Comment fixes. Use renamed symbols. 13280 * xdisp.c: Comment fixes. Use renamed symbols.
12150 13281
12151 * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. 13282 * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID.
12152 13283
12153 * xfns.c: Use renamed symbols. 13284 * xfns.c: Use renamed symbols.
12154 13285
12155 * xterm.c: Comment fixes. Use renamed symbols. 13286 * xterm.c: Comment fixes. Use renamed symbols.
12156 (fringe_bitmap_type): Renamed from bitmap_type. 13287 (fringe_bitmap_type): Renamed from bitmap_type.
12157 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. 13288 (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
12158 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. 13289 (x_draw_fringe_bitmap): Renamed from x_draw_bitmap.
12159 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. 13290 (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
12160 13291
12161 * xterm.h: Comment fixes. Use renamed symbols. 13292 * xterm.h: Comment fixes. Use renamed symbols.
12162 (fringes_extra): Renamed from flags_areas_extra. 13293 (fringes_extra): Renamed from flags_areas_extra.
12163 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. 13294 (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH.
12164 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. 13295 (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT.
@@ -12276,8 +13407,8 @@
122762001-11-12 Jason Rumney <jasonr@gnu.org> 134072001-11-12 Jason Rumney <jasonr@gnu.org>
12277 13408
12278 * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, 13409 * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c,
12279 * w32term.c: Change doc-string comments to `new style'. 13410 * w32term.c: Change doc-string comments to `new style'
12280 [w/`doc:' keyword]. Doc fixes. 13411 [w/`doc:' keyword]. Doc fixes.
12281 13412
12282 * w32fns.c: Don't define max. 13413 * w32fns.c: Don't define max.
12283 (Fx_open_connection): Only execute once. 13414 (Fx_open_connection): Only execute once.
@@ -12312,7 +13443,7 @@
123122001-11-10 Jason Rumney <jasonr@gnu.org> 134432001-11-10 Jason Rumney <jasonr@gnu.org>
12313 13444
12314 * w32fns.c (enum_font_cb2): Use leading @ on face name to detect 13445 * w32fns.c (enum_font_cb2): Use leading @ on face name to detect
12315 vertical fonts. Allow them if face name is explicitly specified. 13446 vertical fonts. Allow them if face name is explicitly specified.
12316 Do not give up if we find a font that cannot be converted to an xlfd. 13447 Do not give up if we find a font that cannot be converted to an xlfd.
12317 13448
123182001-11-10 Gerd Moellmann <gerd@gnu.org> 134492001-11-10 Gerd Moellmann <gerd@gnu.org>
@@ -12739,7 +13870,7 @@
12739 13870
127402001-10-28 Pavel Jan,Am(Bk <Pavel@Janik.cz> 138712001-10-28 Pavel Jan,Am(Bk <Pavel@Janik.cz>
12741 13872
12742 * emacs.c: Use argv[0] instead of emacs when -t was specified. 13873 * emacs.c: Use argv[0] instead of "emacs" when -t was specified.
12743 13874
12744 * keyboard.c: Change doc-string comments to `new style' [w/`doc:' 13875 * keyboard.c: Change doc-string comments to `new style' [w/`doc:'
12745 keyword]. 13876 keyword].
@@ -13122,7 +14253,7 @@
13122 full-width rows. 14253 full-width rows.
13123 (x_dump_glyph_string): Put in #if GLYPH_DEBUG. 14254 (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
13124 (w32_draw_relief_rect): Extend left shadow to the bottom and left; 14255 (w32_draw_relief_rect): Extend left shadow to the bottom and left;
13125 change bottom shadow accordingly. Some cleanup. 14256 change bottom shadow accordingly. Some cleanup.
13126 (x_update_window_end): Handle overwritten mouse face 14257 (x_update_window_end): Handle overwritten mouse face
13127 also for tool bar windows. 14258 also for tool bar windows.
13128 (show_mouse_face): Set the glyph row's mouse_face_p flag also when 14259 (show_mouse_face): Set the glyph row's mouse_face_p flag also when
@@ -13168,7 +14299,7 @@
13168 (Fv_max_tooltip_size): New variable. 14299 (Fv_max_tooltip_size): New variable.
13169 (syns_of_xfns): DEFVAR_LISP it. 14300 (syns_of_xfns): DEFVAR_LISP it.
13170 (Fx_show_tip): Add parameter TEXT. Set the tip frame's root 14301 (Fx_show_tip): Add parameter TEXT. Set the tip frame's root
13171 window buffer to *tip* right after creating the frame. Set frame's 14302 window buffer to *tip* right after creating the frame. Set frame's
13172 window_width. Use a maximum tooltip size specified by 14303 window_width. Use a maximum tooltip size specified by
13173 Vx_max_tooltip_size, if that has valid contents. 14304 Vx_max_tooltip_size, if that has valid contents.
13174 (compute_tip_xy): Add parameters WIDTH and HEIGHT. 14305 (compute_tip_xy): Add parameters WIDTH and HEIGHT.