1 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
3 * XEmacs 21.4.12 "Portable Code" is released.
5 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
8 * s/cygwin.sc: new linker file.
10 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
12 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
14 * redisplay-x.c (x_output_string): Use X11-specified types.
15 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
16 * emacs.c (__free_hook): Use typeof with Intel compiler.
17 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
19 2003-01-08 Andy Piper <andy@xemacs.org>
21 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
22 reserve size during unexec().
24 2003-01-07 Daiki Ueno <daiki@xemacs.org>
26 * process-unix.c (unix_create_process): Don't let outchannel block.
28 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
30 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
31 Needed for IsBadReadPtr().
33 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
35 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
37 2002-12-14 Ben Wing <ben@xemacs.org>
39 * callint.c: Declaration error.
41 * dumper.c (pdump_load): Warning fix.
42 * process.c: GCPRO error.
43 * glyphs.c (unmap_subwindow):
44 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
45 * event-stream.c (maybe_kbd_translate): Wrong argument to
48 * alloc.c (garbage_collect_1):
50 * emacs.c (debug_can_access_memory):
51 * emacs.c (fatal_error_signal):
52 * emacs.c (mswindows_handle_hardware_exceptions):
55 * emacs.c (assert_failed):
56 * emacs.c (syms_of_emacs):
59 * print.c (std_handle_out_va):
60 * print.c (write_string_to_stdio_stream):
61 * print.c (write_fmt_string):
62 * print.c (printing_badness):
63 * print.c (printing_major_badness):
64 * print.c (print_internal):
65 * print.c (debug_print_no_newline):
66 * print.c (debug_backtrace):
67 Be more defensive in handling bad values when printing. Add code
68 from trunk involving inhibit_non_essential_printing_operations.
69 When going down or in debug_print(), don't do external conversion
70 and such and try really, really hard when printing to avoid core
71 dumping. Add force-debugging-signal, debug_break().
73 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
75 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
76 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
78 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
80 * database.c: Fix open_database. Berkeley DB API has changed in
81 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
83 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
85 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
87 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
89 * event-Xt.c (Xt_timeout):
90 (Xt_timeout_callback):
91 (emacs_Xt_add_timeout):
92 (emacs_Xt_remove_timeout):
93 (Xt_timeout_to_emacs_event):
94 Turn completed_timeouts from a stack into a queue. Fixes
95 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
97 2002-11-07 Wolfram Gloger <wg@malloc.de>
99 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
100 * emacs.c (main): Assert that mmap'd allocation is disabled.
102 2002-10-14 Andy Piper <andy@xemacs.org>
104 * glyphs-widget.c (layout_query_geometry): add in fiddle
105 factor. Include border text in width layout calculation.
106 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
108 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
110 * XEmacs 21.4.10 "Military Intelligence" is released.
112 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
114 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
115 using the NAS private array SoundFileInfo that no longer exists in
116 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
117 and earlier. This is broken for some versions between 1.5a and
120 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
122 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
124 * emacs.c (shut_down_emacs): Improve crash message.
126 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
128 * file-coding.c (determine_real_coding_system): Check for coding
129 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
130 shebangs and Python PEP 263.
132 2002-10-08 Andy Piper <andy@xemacs.org>
134 * glyphs-widget.c (layout_query_geometry): only resize dynamically
135 if static sizes haven't been set.
137 2002-08-30 Mike Alexander <mta@arbortext.com>
139 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
142 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
144 * callproc.c (child_setup): 21.4 doesn't have retry_close.
146 2002-09-20 Mike Sperber <mike@xemacs.org>
148 (This partially gets back my patch from 2002-07-20 without the
150 * callproc.c (child_setup): Remove Ben's comment noting confusion
151 over the file descriptors >= 3: close_process_descs() doesn't
152 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
153 * process-unix.c (unix_create_process): Call
154 begin_dont_check_for_quit to inhibit unwanted interaction (and
155 thus breaking of X event synchronicity) in the child.
157 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
159 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
162 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
164 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
165 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
166 the xemacs process did not exit, but looped infinitely here. This
169 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
171 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
172 (find_context): Improve comments.
174 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
175 (re_match_2): An XCHAR_TABLE operation was missing.
177 Many of the following changes were inspired by Andy Piper's (now
178 obsolete) patch to make syntax-table text property lookup optional.
182 * syntax.h (top level): Document semantics of syntax flags.
183 * syntax.c (comstr_start, Fforward_comment): Improve comments.
184 * syntax.c, syntax.h (top level): Document syntax cache better in
187 [Instrument syntax caching (temporary change)]
189 * syntax.h (enum syntax_cache_statistics_functions, struct
190 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
191 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
192 * syntax.c (scan_words, Fforward_comment, scan_lists,
193 Fbackward_prefix_characters):
194 * font-lock.c (find_context):
195 Use them to instrument syntax caching.
196 * syntax.c (struct syntax_cache_statistics, scs_statistics,
197 syntax_cache_statistics_function_names): New type and variables.
198 * syntax.c (update_syntax_cache): Update and report statistics.
200 [Major syntax cache optimizations]
202 syntax.c (lookup_syntax_properties): Default off.
204 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
205 * syntax.c (update_syntax_cache):
206 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
208 [Minor syntax cache optimizations and code clarifications]
210 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
211 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
212 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
213 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
214 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
215 (Code clarification.)
217 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
218 scan_lists): Compute code from syncode, use Boolean macros instead
219 of redundant masking operations. (Code clarification; any decent
220 compiler can do this optimization.)
222 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
225 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
226 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
227 use F*_single_property_change instead of F*_extent_change.
228 Currently F*_single_property_change is _much_ less efficient.
230 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
231 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
232 syntax_cache.object properly, don't leave Qt or Qnil.
233 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
234 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
235 tests for Qt or Qnil.
237 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
239 * redisplay.c (point_in_line_start_cache):
240 * extents.c (print_extent_1):
243 * extents.c (Fset_extent_property): Document `syntax-table' property.
245 * extents.h (Fnext_single_property_change): EXFUN it.
247 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
249 * search.c (clear_unused_search_regs): New static function.
253 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
254 Minor clarifications in comments.
256 * regex.c (re_match_2_internal): Ensure no stale submatches.
258 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
260 * event-Xt.c (enqueue_focus_event): Add missing prototype.
262 2002-08-29 Jerry James <james@xemacs.org>
264 * lisp.h: structrures -> structures.
266 2002-06-03 Andy Piper <andy@xemacs.org>
268 * frame.c (frame_conversion_internal): add conversion appropriate
269 for setting frame dimensions in pixels.
271 * console.h (struct console_methods): add device-specific widget
274 * emacs.c (main_1): initialize glyph vars.
276 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
277 (handle_focus_event_2): new function. Allow focus to
278 be set to a particular window and widget.
279 (enqueue_focus_event): new function. Create a
280 synthetic focus event.
281 (emacs_Xt_handle_magic_event): call
282 handle_focus_event_2.
284 * frame.c (Fset_frame_pixel_height): new function. Allow
285 pixel-based sizing. Does the right thing on character-oriented
287 (Fset_frame_pixel_width): ditto.
288 (Fset_frame_pixel_size): ditto.
289 (syms_of_frame): declare.
291 * general-slots.h: add :vertically-justify and
292 :horizontally-justify.
294 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
295 (mswindows_widget_border_width): new function.
296 (mswindows_combo_box_instantiate): set border widths.
297 (console_type_create_glyphs_mswindows): declare.
300 (check_valid_justification): allow vertical and horizontal
302 (widget_border_width): new function. Call device methods.
303 (widget_instance_border_width): ditto.
304 (logical_unit_height): new function. Determine the height of a
305 logical-unit. Logical units are intended to provide grid-like
306 layout for subcontrols in a layout. If the layout is
307 :vertically-justify top then subcontrols will be positioned on
308 logical-unit boundaries, thus allowing adjacent subcontrols to
310 (widget_logical_unit_height): ditto for widgets.
311 (redisplay_widget): misc cleanup.
312 (widget_spacing): new function. Call device specific
313 methods. Intended to be the default gap between adjacent widgets.
314 (widget_query_geometry): use new spacing functions to determine
315 appropriate geometry.
316 (initialize_widget_image_instance): initialize horizontal and
317 vertical justification.
318 (widget_instantiate): use logica-units where appropriate for
319 sizing large widgets.
320 (button_query_geometry): use widget_instance_border_width.
321 (tree_view_query_geometry): ditto.
322 (tab_control_query_geometry): ditto.
323 (edit_field_query_geometry): new function.
324 (layout_update): pick up :justify, :horizontally-justify and
325 :vertically-justify none of which worked previously. :justify is
326 used as a fallback for both horizontal and vertical justification.
327 (layout_query_geometry): use logical units to size appropriately.
328 (layout_layout): ditto.
329 (Fwidget_logical_to_character_width): new function. Allow users to
330 convert from logical units to characters so that frame sizes can
331 be set appropriately.
332 (Fwidget_logical_to_character_height): ditto.
333 (syms_of_glyphs_widget): declare.
334 (image_instantiator_edit_fields): add edit_field_query_geometry.
335 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
336 :horizontally-justify.
337 (specifier_vars_of_glyphs_widget): new function. Declare
338 Vwidget_border_width which is not yet used.
340 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
341 (x_widget_border_width): new function.
342 (x_widget_instantiate): create a sensible name for widgets.
343 (console_type_create_glyphs_x): declare x_widget_border_width.
345 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
346 (struct Lisp_Image_Instance): add :vertically-justify and
347 :horizontally-justify.
348 (LAYOUT_JUSTIFY_TOP): new.
349 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
350 (ROUND_UP): new macro. Round argument up to next integral
353 * redisplay-output.c (redisplay_output_layout): misc formatting.
355 * symsinit.h: declare specifier_vars_of_glyphs_widget.
357 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
359 * XEmacs 21.4.9 "Informed Management" is released.
361 2002-08-19 Andy Piper <andy@xemacs.org>
363 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
366 * realpath.c (xrealpath): normalize drive spec also so that dir
367 sep chars are not mixed on cygwin.
369 2002-08-06 Jerry James <james@xemacs.org>
371 * window.c (Fsplit_window): Count only half of the divider width
372 against the left window when splitting horizontally.
374 2002-06-24 Andy Piper <andy@xemacs.org>
376 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
379 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
380 function. Split out from mswindows_output_frame_toolbars.
381 (mswindows_output_frame_toolbars): move clear pieces to
382 mswindows_output_frame_toolbars.
384 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
385 out from gtk_output_frame_toolbars.
386 (gtk_output_frame_toolbars): move clear pieces to
387 gtk_clear_frame_toolbars.
389 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
390 the frame is cleared. How this ever worked before is a mystery.
391 (x_output_frame_toolbars): Only output toolbars.
392 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
394 * gutter.c (update_gutter_geometry):
395 Mark frame layout changed.
396 (update_frame_gutter_geometry, update_frame_gutters):
397 Respect frame_layout_changed.
399 * console.h (struct console_methods): add
400 clear_frame_toolbars_method.
402 * redisplay.c (redisplay_frame): call
403 update_frame_toolbars_geometry and re-order update_frame_toolbars.
405 * toolbar.h: declare update_frame_toolbars_geometry.
407 * toolbar.c (update_frame_toolbars_geometry): new function. Split
408 out from update_frame_toolbars. Call clear_frame_toolbars.
409 (update_frame_toolbars): only output, do not change geometry.
411 * redisplay.c: add frame_layout_changed.
413 * redisplay.h: add frame_layout_changed.
414 (CLASS_RESET_CHANGED_FLAGS): set it.
415 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
416 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
417 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
419 * device.h (struct device): add frame_layout_changed.
420 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
422 * frame.h (struct frame): add frame_layout_changed.
423 (MARK_FRAME_LAYOUT_CHANGED): new.
425 2002-06-30 Mike Alexander <mta@arbortext.com>
427 * event-msw.c (mswindows_need_event): Don't wait for a new message
428 if the queue is not empty. Suggested by Paul Moore.
430 2002-06-12 Andy Piper <andy@xemacs.org>
432 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
433 for printing on accurately.
435 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
437 * event-msw.c (mswindows_wnd_proc): Add a handler for the
438 WM_ACTIVATE message. Make sure that the frame is visible if the
439 window is visible. This seemss to fix the problem where XEmacs
440 appears to freeze after switching desktops with certain virtual
442 (debug_output_mswin_message): Added code to output message
443 parameters for WM_WINDOWPOSCHANGED,
444 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
446 2002-05-25 Andy Piper <andy@xemacs.org>
448 * select-x.c (vars_of_select_x): Fix docstring of
449 x-selection-strict-motif-ownership
451 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
453 * keymap.c (get_keymap):
454 Add comment about do_autoload GCPROs own args.
456 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
458 * bytecode.c (execute_optimized_program): check_opcode ifdef
459 ERROR_CHECK_BYTE_CODE.
461 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
463 Thanks to Ben Wing and Michael Sperber.
465 * eval.c (Fcommand_execute):
468 (Fmacroexpand_internal):
470 callint.c (Fcall_interactively):
471 Add comment about do_autoload GCPROs own args.
473 * (do_autoload): GCPRO both args as well as local Lisp_Object.
475 * eval.c (Ffuncall): Extra braces to placate GCC.
477 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
479 * backtrace.h (grow_specpdl):
481 * EmacsFrame.c (EmacsFrameSetValues):
482 * eval.c (grow_specpdl):
483 * ExternalShell.c (hack_event_masks_1):
484 * glyphs-x.c (convert_EImage_to_XImage):
485 (x_finalize_image_instance):
486 * ralloc.c (page_size):
488 * xgccache.c (gc_cache_hash):
489 Fix unsigned comparison warnings.
491 2002-07-29 Jerry James <james@xemacs.org>
493 * lread.c (locate_file): Any nonnegative return value indicates
494 success if MODE is nonnegative.
496 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
498 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
501 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
503 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
505 * dumper.c (pdump_get_indirect_count):
506 (pdump_scan_by_alignment):
507 (pdump_dump_root_struct_ptrs):
508 (pdump_dump_rtables):
509 (pdump_dump_root_objects):
511 * nas.c (WaveOpenDataForReading):
512 * fns.c (print_bit_vector):
513 * font-lock.c (SINGLE_SYNTAX_STYLE):
514 * glyphs.c (check_for_ignored_expose):
515 (find_matching_subwindow):
517 * imgproc.c (get_histogram):
518 * redisplay.c (point_in_line_start_cache):
519 * redisplay-output.c (redisplay_unmap_subwindows):
520 * symbols.c (defsymbol_massage_name_1):
521 (defkeyword_massage_name):
522 (deferror_massage_name_and_message):
523 * redisplay-x.c (x_output_string):
524 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
525 * frame.h (struct frame):
526 * filelock.c (current_lock_owner):
527 * doprnt.c (emacs_doprnt_1):
528 * lisp.h (struct Lisp_Bit_Vector):
532 2002-02-13 Ben Wing <ben@xemacs.org>
534 * event-stream.c (reset_key_echo):
535 * event-stream.c (reset_this_command_keys):
536 * event-stream.c (execute_command_event):
537 If console is dead as a result of C-x 5 0, then post-command stuff
538 needs to be careful and do only non-console-specific stuff.
540 2002-07-01 Mike Sperber <mike@xemacs.org>
542 * process-unix.c (unix_send_process): Mark coding_outstream as
543 non-open upon SIGPIPE.
545 * event-stream.c (Fnext_event): Reorder switch cases to something
548 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
550 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
551 Don't bogusly reinitialize ascii_character property.
553 2002-07-08 Mike Sperber <mike@xemacs.org>
555 * process.c (Fstart_process_internal): Do error checking before we
556 fork off the child, so the child can't muck with the state of the
559 2002-07-08 Mike Sperber <mike@xemacs.org>
561 * ralloc.c (init_ralloc): Allocate properly for pdump.
563 2002-06-12 Andy Piper <andy@xemacs.org>
565 * glyphs.c (query_string_geometry): check the string.
567 * glyphs-widget.c (widget_logical_unit_height): cope with nil
570 2002-06-17 Jerry James <james@xemacs.org>
572 * sysdll.c: Remove RTLD_GLOBAL initialization.
573 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
575 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
577 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
579 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
581 * sysdep.c (sys_rename): Make sys_rename work for the case where
582 Windows rename sets errno to EACCES if target file exists.
584 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
586 * device-msw.c (mswindows_handle_page_setup_dialog_box):
587 Fix detection of metric units to work on Win95
589 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
591 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
593 2002-04-25 Andy Piper <andy@xemacs.org>
595 * redisplay.c (create_text_block): Remove extra comment trailer.
597 2002-04-24 Andy Piper <andy@xemacs.org>
599 * redisplay.c (create_text_block): Don't actually add propagation
600 data if the line ends after we have added a glyph.
602 2002-04-22 Andy Piper <andy@xemacs.org>
604 * extents.c (extent_fragment_update): check for glyphs we have
605 previously displayed.
606 * extents.c (print_extent_1): warning removal.
607 * extents.h: change prototype.
608 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
609 widths correctly for wide glyphs.
610 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
611 * redisplay.c (prop_type): add PROP_GLYPH.
612 * redisplay.c (struct prop_block): add glyph type
613 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
614 to the propagation data.
615 * redisplay.c (create_text_block): if there is a glyph in the
616 propagation data use it to salt extent_fragment_update.
617 * redisplay.c (create_string_text_block): ditto.
619 2002-04-13 Nix <nix@esperi.demon.co.uk>
621 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
622 * redisplay-output.c (compare_runes): Compare them.
623 * redisplay.c: Update copyright date.
624 * redisplay.c (pos_data): Add need_baseline_computation field.
625 * redisplay.c (add_glyph_rune): Update ascent, descent, and
626 need_baseline_computation; zero yoffset. Set max_pixmap_height
627 for all pixmaps, not just automatically positioned ones.
628 * redisplay.c (calculate_yoffset): New, compute yoffset values.
629 * redisplay.c (calculate_baseline): New, compute textual baseline.
630 * redisplay.c (add_glyph_rune): Call them.
631 * redisplay.c (create_text_block): Likewise.
632 * redisplay.c (create_overlay_glyph_block): Likewise.
633 * redisplay.c (add_margin_runes): Likewise.
634 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
636 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
637 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
638 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
639 * redisplay-msw.c (mswindows_output_string): Likewise.
640 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
641 * redisplay-gtk.c (gtk_output_display_block): Likewise.
642 * redisplay-x.c (x_output_display_block): Likewise.
644 2002-03-28 Ben Wing <ben@xemacs.org>
646 * redisplay.c: Fixed bug in redisplay
647 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
648 and down of the lines, since they're bigger than the line
649 size. (It was seen most obviously when there's a horizontal scroll
650 bar, e.g. do C-h a glyph or something like that.) The problem was
651 that the glyph-contrib-p setting on glyphs was ignored even if it
652 was set properly, which it wasn't until now.
654 2002-04-24 Andy Piper <andy@xemacs.org>
656 * lisp.h (Dynarr_end): Fix definition.
658 2002-02-06 Adrian Aichner <adrian@xemacs.org>
660 * redisplay.c (mark_redisplay): Remove call to
661 update_frame_window_mirror.
663 2001-11-15 Andy Piper <andy@xemacs.org>
665 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
668 2002-02-13 Andy Piper <andy@xemacs.org>
670 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
671 we did in fact enqueue the XM_MAPFRAME event.
673 2002-01-15 Adrian Aichner <adrian@xemacs.org>
675 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
676 to fix problem switching between virtual desktops under virtuawin
677 virtual window manager.
679 2001-07-30 Adrian Aichner <adrian@xemacs.org>
681 * event-msw.c: Typo fix.
682 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
683 magic XM_MAPFRAME event has been sent.
685 2001-11-23 Andy Piper <andy@xemacs.org>
687 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
689 2001-11-21 Andy Piper <andy@xemacs.org>
691 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
692 mouse events outside the frame.
694 2002-03-20 Andy Piper <andy@xemacs.org>
696 * menubar-msw.c (mswindows_popup_menu): warning removal.
697 * dialog-msw.c (dialog_popped_down): ditto.
699 2001-12-11 Andy Piper <andy@xemacs.org>
701 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
702 * dialog-msw.c (mswindows_make_dialog_box_internal): set
704 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
705 * menubar-msw.c (mswindows_handle_wm_command): ditto.
706 * menubar-msw.c (mswindows_popup_menu): ditto.
708 2001-10-29 Andy Piper <andy@xemacs.org>
710 * dialog-msw.c (handle_directory_dialog_box): quit if the user
713 2002-01-03 Andy Piper <andy@xemacs.org>
715 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
719 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
721 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
722 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
723 * device-msw.c (mswindows_handle_page_setup_dialog_box):
724 Detect and handle case where machine is set up for metric units
726 2002-04-02 Andy Piper <andy@xemacs.org>
728 * dired-msw.c (mswindows_get_files):
729 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
730 completely handled by XEmacs. Suggested by Thomas Vogler
731 <mail@thomas-vogler.de>.
733 2001-11-14 Andy Piper <andy@xemacs.org>
735 * nt.c (REG_ROOT): change registry key to XEmacs.
737 2002-04-27 Andy Piper <andy@xemacs.org>
739 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
741 2002-04-26 Andy Piper <andy@xemacs.org>
743 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
746 2002-03-14 Mike Alexander <mta@arbortext.com>
748 * event-msw.c (mswindows_unwait_process): New, remove process from
750 * process-nt.c (nt_finalize_process_data): Call
751 mswindows_unwait_process
752 * console-msw.h: Declare mswindows_unwait_process
754 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
756 * editfns.c (Fdecode_time):
757 (Fformat_time_string):
758 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
759 (make_time): Warning elimination (change arg name).
761 2001-11-24 Andy Piper <andy@xemacs.org>
763 * window.c (Fsplit_window): Doc return type.
765 2002-04-01 Andy Piper <andy@xemacs.org>
767 * emacs.c (Fkill_emacs): Only output message box in interactive
770 2002-04-26 Andy Piper <andy@xemacs.org>
772 * config.h.in: pull in 21.5.x change to stop alloca warnings under
775 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
777 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
780 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
782 * XEmacs 21.4.8 "Honest Recruiter" is released.
784 2002-05-07 Nix <nix@esperi.demon.co.uk>
786 Supersedes 2002-04-17 patch.
788 * process.h (PROCESS_LIVE_P): Use the process status as
789 evidence of health, not the state of the input stream.
790 (PROCESS_READABLE_P): Say if the process is readable
791 from. (It may be dead nonetheless.)
792 (CHECK_READABLE_PROCESS): Test for that condition.
794 * process.c (create_process): Use PROCESS_READABLE_P.
795 (read_process_output, set_process_filter): Likewise.
797 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
798 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
800 This code is #if 0'd, this is not the time to add new functions:
802 * process.c (Fprocess_readable_p): Report readability status.
803 * process.c (Qprocess_readable_p): New, associated symbol...
804 * process.c (syms_of_process): ... initialize it.
806 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
808 * XEmacs 21.4.7 "Economic Science" is released.
810 2002-04-17 Nix <nix@esperi.demon.co.uk>
812 * process.h (PROCESS_LIVE_P): Use the process status as
813 evidence of health, not the state of the input stream.
815 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
817 * sysdep.c (sys_siglist): change "signum" to "signal"
819 2001-04-21 Martin Buchholz <martin@xemacs.org>
821 * s/darwin.h: New file.
822 Thanks to Greg Parker <gparker@cs.stanford.edu>.
824 2002-04-23 Andreas Jaeger <aj@suse.de>
826 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
827 which use lib64 for 64-bit libs.
828 (START_FILES): Likewise.
830 2002-02-11 Mike Sperber <mike@xemacs.org>
833 (x_IO_error_handler):
834 (x_init_device): Temporarily keep device in static variable
835 `device_being_initialized' so we can recover gracefully from
836 internal XOpenDevice failure. (XOpenDevice is documented to
837 return NULL on failure, but sometimes calls the IO error handler
840 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
842 * dired.c (Ffile_name_all_completions): Change documentation --
843 remove reference to completion-ignored-extensions.
844 * dired.c (vars_of_dired): Change documentation for
845 completion-ignored-extensions -- remove reference to
846 file-name-all-completions.
848 2002-03-06 Jerry James <james@xemacs.org>
850 * emodules.c (emodules_load): Fix multiple loading of same module.
852 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
853 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
854 RTLD_LAZY to avoid incorrect symbol binding when using nested
855 shared libraries on Solaris.
857 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
859 * fileio.c (Ffind_file_name_handler): Improve docstring.
861 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
863 * fns.c (Fmapconcat): Improve docstring.
865 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
867 * device-gtk.c: Add prototype for
868 emacs_gtk_selection_clear_event_handle.
869 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
870 selection. Setup signal handler for "selection_clear_event"
871 (emacs_gtk_selection_clear_event_handle).
873 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
874 other applications owning the clipboard (based on
875 x_handle_selection_clear).
877 2001-12-23 William M. Perry <wmperry@gnu.org>
879 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
881 2002-01-04 Martin Buchholz <martin@xemacs.org>
883 * keymap.c (define_key_alternate_name): Parenthesize EQ.
885 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
887 * XEmacs 21.4.6 "Common Lisp" is released.
889 2001-12-16 Torsten Duwe <duwe@caldera.de>
891 * search.c (Freplace_match): Add missing sub-expression functionality.
893 * buffer.c (decode_buffer): Add a check for pointer type to
894 decode_buffer, before gcc's CSE optimization reorders a
895 dereference in front of the allow_string test.
897 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
899 * window.c (window_loop): Fix bug that sometimes prevented
900 window_loop() from iterating across multiple devices. Also, at
901 Ben's request, changed infloop-detecting code to abort() instead
902 of silently terminating window_loop().
904 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
906 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
907 * editfns.c (make_time): New function.
908 (Fencode_time): Use it instead of wasteful_word_to_lisp.
909 * lisp.h (make_time): Prototype and comment it.
910 * dired.c (wasteful_word_to_lisp): Deprecate.
911 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
913 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
915 * fileio.c (auto_save_1): Use current coding system, not
918 2001-11-13 Ben Wing <ben@xemacs.org>
921 * window.c (window_truncation_on):
922 * window.c (syms_of_window):
923 truncate-partial-width-windows should respect the buffer being
924 displayed, like other redisplay vars.
926 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
928 * event-stream.c (Fread_key_sequence): save current buffer.
930 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
932 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
934 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
936 * alloc.c (lcrecord_stats): Add space for types defined in modules.
938 2001-10-26 Mike Alexander <mta@arbortext.com>
940 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
942 2001-10-25 Andy Piper <andy@xemacs.org>
945 * dialog-msw.c (handle_directory_proc): new function.
946 (handle_directory_dialog_box): new fucntion.
947 (handle_file_dialog_box): use new directory dialog support.
948 (mswindows_make_dialog_box_internal): ditto.
949 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
951 (mswindows_find_frame): make global.
952 * fileio.c (Fexpand_file_name): build fix.
953 * general-slots.h: add Qdirectory.
954 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
956 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
957 cygwin not leaving win32 paths unchanged.
958 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
959 cygwin runtime to do path conversion.
960 (Fmswindows_shell_execute): fix cygwin handling of URLs.
961 (syms_of_win32): add new function.
962 * window.c (window_loop): build fix.
964 2001-10-15 Andy Piper <andy@xemacs.org>
966 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
968 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
970 * XEmacs 21.4.5 "Civil Service" is released.
972 2001-04-08 Danny Colascione <qtmstr@optonline.net>
974 * glyphs-x.c: Force buffer-tab highlight update when moving the
975 buffer, avoiding an ugly black border, used for keyboard focus
976 indication, on a widget that can never have keyboard focus, the
979 2001-08-30 Daiki Ueno <ueno@unixuser.org>
981 * process-unix.c (unix_open_multicast_group): Remove too much
982 conversion between host and network byte order.
984 2001-09-10 Nix <nix@esperi.demon.co.uk>
986 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
987 before replacing them.
989 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
992 * src/window.c (undedicate_windows): Use it.
993 * src/window.h: Add prototype.
995 2001-09-17 Ben Wing <ben@xemacs.org>
997 * fileio.c (normalize_filename):
998 * fileio.c (Fexpand_file_name):
999 Fix various C++ compile errors in Andy's recent code.
1001 * callint.c (Fcall_interactively):
1002 * editfns.c (Ftemp_directory):
1003 * editfns.c (Fuser_full_name):
1004 * emacs.c (argmatch):
1005 * lread.c (locate_file_map_suffixes):
1006 * redisplay-x.c (x_ring_bell):
1007 Fix sign-compare warnings.
1009 2001-09-08 Andy Piper <andy@xemacs.org>
1011 * fileio.c (normalize_filename): copied from nt.c
1012 * (Ffile_name_directory): enable win32 paths under cygwin.
1013 * (Ffile_name_nondirectory): ditto.
1014 * (directory_file_name): ditto.
1015 * (Fexpand_file_name): ditto.
1016 * (Ffile_truename): ditto.
1017 * (Fsubstitute_in_file_name): ditto.
1018 * (Ffile_name_absolute_p): ditto.
1019 * (Ffile_readable_p): ditto.
1021 2001-09-08 Andy Piper <andy@xemacs.org>
1023 * device-msw.c (mswindows_finish_init_device): remove dde
1025 * device-msw.c (mswindows_init_dde): factor out from
1026 mswindows_finish_init_device()
1027 * device-msw.c (init_mswindows_very_early): new function
1028 initialize but don't enable dde.
1029 * emacs.c (main_1): call init_mswindows_very_early.
1031 * event-msw.c (mswindows_dde_callback): only execute when we are
1033 * symsinit.h: declare init_mswindows_very_early.
1035 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1037 [sjt: This has been in 21.5 for months with no complaints.]
1039 * console.h (struct console_methods): Added flags member.
1040 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
1041 (CONMETH_IMPL_FLAG):
1042 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
1043 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
1045 * device.c (window_system_pixelated_geometry): Use the above macros.
1047 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
1048 implememntation flag.
1049 * device.h (DEVICE_DISPLAY_P): Use it.
1051 * frame.c (delete_frame_internal): Use the above macro.
1053 * redisplay.c (redisplay_device): Use it.
1054 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
1055 (redisplay_frame): Ditto.
1057 * device-msw.c (mswindows_device_implementation_flags): Removed.
1058 (msprinter_device_implementation_flags): Removed.
1059 (console_type_create_device_mswindows): Removed references to
1060 implementation_flags methods, set implementation flags here.
1061 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
1063 * device-gtk.c (gtk_device_implementation_flags): Removed method.
1064 (console_type_create_device_gtk): Removed method declaration.
1065 Added commented out statement which semantically matches the
1066 commented out statement in the above removed method.
1068 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
1070 The attached patch fixes a few warnings.
1072 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
1073 * src/frame-gtk.c: guard against GNOME calls in GTK only
1074 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
1075 * src/select-gtk.c: prototype lisp_to_time
1077 2001-06-08 Ben Wing <ben@xemacs.org>
1079 ------ gc-in-window-procedure fixes ------
1082 * alloc.c (struct post_gc_action):
1083 * alloc.c (register_post_gc_action):
1084 * alloc.c (run_post_gc_actions):
1085 * alloc.c (garbage_collect_1):
1086 Create "post-gc actions", to avoid those dreaded "GC during window
1087 procedure" problems.
1090 Abort, clean and simple, when GC in window procedure. We want
1091 to flush these puppies out.
1094 * glyphs-msw.c (finalize_destroy_window):
1095 * glyphs-msw.c (mswindows_finalize_image_instance):
1096 Use a post-gc action when destroying subwindows.
1099 Declare register_post_gc_action().
1102 * scrollbar-msw.c (unshow_that_mofo):
1103 Use a post-gc action when unshowing scrollbar windows, if in gc.
1105 * redisplay.c (mark_redisplay):
1106 Add comment about the utter evilness of what's going down here.
1108 ------ cygwin setitimer fixes ------
1110 * Makefile.in.in (sheap_objs):
1111 * Makefile.in.in (profile_objs):
1112 * Makefile.in.in (objs):
1113 Compile profile.c only when HAVE_SETITIMER.
1115 * nt.c (mswindows_sigset):
1116 * nt.c (mswindows_sighold):
1117 * nt.c (mswindows_sigrelse):
1118 * nt.c (mswindows_sigpause):
1119 * nt.c (mswindows_raise):
1120 * nt.c (close_file_data):
1124 Move setitimer() emulation to win32.c, because Cygwin needs it too.
1127 * profile.c (Fstart_profiling):
1128 * profile.c (Fstop_profiling):
1129 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
1130 instead of just plain setitimer().
1133 * signal.c (set_one_shot_timer):
1135 Define qxe_setitimer() as an encapsulation around setitimer() --
1136 call setitimer() directly unless Cygwin or MS Win, in which case
1137 we use our simulated version in win32.c.
1140 * systime.h (struct itimerval):
1141 * systime.h (ITIMER_REAL):
1142 Prototype mswindows_setitimer() and qxe_setitimer(). Long
1143 comment about "qxe" and the policy regarding encapsulation.
1146 * win32.c (setitimer_helper_proc):
1147 * win32.c (setitimer_helper_period):
1148 * win32.c (setitimer_helper):
1149 * win32.c (mswindows_setitimer):
1150 Move setitimer() emulation here, so Cygwin can use it.
1151 Rename a couple of functions and variables to be longer and more
1152 descriptive. In setitimer_helper_proc(), send the signal
1153 using either mswindows_raise() or (on Cygwin) kill(). If for
1154 some reason we are still getting lockups, we'll change the kill()
1155 to directly invoke the signal handlers.
1157 ------ windows shell fixes ------
1161 Comments about how these two files must die.
1163 * callproc.c (init_callproc):
1164 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
1165 not just COMSPEC. (more correct and closer to FSF.) Don't
1166 force a value for SHELL into the environment. (Comments added
1167 to explain why not.)
1169 * nt.c (init_user_info):
1170 Don't shove a fabricated SHELL into the environment. See above.
1172 2001-06-01 Ben Wing <ben@xemacs.org>
1174 * Makefile.in.in (ldflags):
1175 eliminate that pesky "defaulting to 00401000" warning.
1179 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
1181 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
1182 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
1184 2001-04-24 Jerry James <james@xemacs.org>
1186 * faces.h: pass parameters to Fadd_spec_to_specifier in the
1189 2001-06-01 Ben Wing <ben@xemacs.org>
1191 * event-msw.c (debug_mswin_messages):
1192 conditionalize the messages that were causing compile errors.
1193 (if only macros could generate #ifdef statements ...)
1195 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
1197 * XEmacs 21.4.4 "Artificial Intelligence" is released.
1199 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
1201 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
1203 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
1205 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
1206 * process-unix.c (unix_canonicalize_host_name):
1207 sysdep.c (init_system_name):
1208 Use it to conditionally support IPv6 canonicalization.
1210 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
1213 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
1215 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
1217 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
1218 attempt is made to scroll when no scroll bar is available.
1220 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
1222 * input-method-motif.c (XIM_delete_frame): New callback.
1223 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
1224 got deleted from 21.4.3.)
1226 2001-06-01 Ben Wing <ben@xemacs.org>
1228 * nt.c (mswindows_utime):
1229 * nt.c (close_file_data):
1230 fix off-by-one-indirection error.
1232 2001-05-29 Adrian Aichner <adrian@xemacs.org>
1234 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
1235 because set_file_times() now takes Lisp_Object path, instead of
1237 * nt.c: Include buffer.h.
1238 * nt.c (convert_from_time_t): New.
1239 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
1240 not set mtime correctly.
1241 * nt.h: Declare mswindows_utime().
1242 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
1243 path, instead of char*.
1244 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
1246 2001-05-30 Ben Wing <ben@xemacs.org>
1250 (Stephen, just take all event-msw.c patches. This includes
1251 the "iconify" fix below.)
1254 * event-msw.c (mswindows_dequeue_dispatch_event):
1255 * event-msw.c (assert):
1256 * event-msw.c (emacs_mswindows_quit_p):
1257 * event-msw.c (debug_mswin_messages):
1258 * event-msw.c (debug_output_mswin_message):
1259 * event-msw.c (vars_of_event_mswindows):
1260 Fix yet more problems with C-g handling.
1261 Implement debug-mswindows-events.
1263 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1265 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
1267 2001-05-23 Ben Wing <ben@xemacs.org>
1269 * event-msw.c (winsock_writer):
1270 * event-msw.c (winsock_closer):
1271 prior kludgy code was clobbering the buffer, thinking it was
1272 "unused" space to store an unneeded return value; instead, use
1273 the variable we've already got staring us in the face.
1275 2001-05-17 Andy Piper <andy@xemacs.org>
1277 * sysfile.h: don't assume that file attributes are boolean
1279 2001-05-23 Ben Wing <ben@xemacs.org>
1281 * device-msw.c (msprinter_init_device):
1282 signal an error rather than crash with an unavailable network
1283 printer (from Mike Alexander).
1286 * event-msw.c (struct winsock_stream):
1287 * event-msw.c (winsock_writer):
1288 * event-msw.c (winsock_closer):
1289 * event-msw.c (make_winsock_stream_1):
1290 cleanup headers. fix (hopefully) an error with data corruption
1291 when sending to a network connection.
1293 * fileio.c (Fexpand_file_name): Fix evil code that attempts
1294 to handle the ~user prefix by (a) always assuming we're referencing
1295 ourselves and not even verifying the user -- hence any file with
1296 a tilde as its first char is invalid! (b) if there wasn't a slash
1297 following the filename, the pointer was set *past* the end of
1298 file and we started reading from uninitialized memory. Now we
1299 simply treat these as files, always.
1301 * buffer.c (common_init_complex_vars_of_buffer): comment change.
1303 2001-05-19 Ben Wing <ben@xemacs.org>
1305 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
1308 * process-nt.c (vars_of_process_nt):
1309 remove unused mswindows-quote-process-args. rec for 21.4.
1311 2001-05-12 Ben Wing <ben@xemacs.org>
1313 * event-msw.c (mswindows_dde_callback):
1314 * event-msw.c (mswindows_wnd_proc):
1315 eliminate cygwin warnings.
1317 2001-05-06 Ben Wing <ben@xemacs.org>
1321 * device-msw.c (print_dialog_worker):
1322 * device-msw.c (mswindows_handle_print_dialog_box):
1323 * device-msw.c (syms_of_device_mswindows):
1324 * dialog-msw.c (mswindows_make_dialog_box_internal):
1326 implement printing the selection when it's selected.
1328 2001-05-20 Drazen Kacar <dave@arsdigita.com>
1330 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
1332 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
1334 * lisp.h (EMACS_INT_MAX): This should be one bit less since
1335 EMACS_INT is signed.
1337 2001-04-15 Michael Lausch <mla@1012surf.net>
1339 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
1340 gtk_widget_request_size() to give scrollbar >0 width for
1343 2001-05-30 William M. Perry <wmperry@gnu.org>
1345 * event-gtk.c: Check for buttons as modifier keys.
1347 2001-05-25 Craig Lanning <CraigL@Knology.net>
1350 Properly find MinGW's <process.h> inside Cygwin's restructured
1351 include directories. Don't try to include <cygwin/version.h>
1352 since we are dropping support for MinGW in versions of Cygwin
1355 Drop support for MinGW in versions of Cygwin before b21.
1357 Properly find MinGW's <process.h> inside Cygwin's restructured
1358 include directories.
1360 Drop support for MinGW in versions of Cygwin before b21.
1362 Even though a.out.h is no longer detected by configure, allow
1363 MinGW to use it until we figure out how to do the job with Win32.
1365 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
1367 * syntax.c (find_start_of_comment):
1368 Fix `unbalanced parentheses' bug when dealing with mixed comment
1369 styles in c++/java/etc. mode
1371 2001-05-29 Mike Alexander <mta@arbortext.com>
1373 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
1374 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
1376 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
1378 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
1380 2001-03-31 Mike Sperber <mike@xemacs.org>
1382 * search.c (Freplace_match): Support FSF-style specification of
1383 match subexpression when applied to a buffer.
1385 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
1387 * event-stream.c (is_scrollbar_event): add missing semicolon
1389 2001-05-22 Isaac Hollander <ysh@mindspring.com>
1391 * Makefile.in.in: Use TAR macro instead of hardcoding
1392 tar. Allows use of GNU tar instead of system tar
1394 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
1396 * event-stream.c (is_scrollbar_event): add missing semicolon
1398 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
1400 * XEmacs 21.4.3 "Academic Rigor" is released.
1402 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
1404 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
1406 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
1408 * buffer.c (Vcase_fold_search): Remove obsolete
1409 comment about non ASCII case-fold-search. This
1410 bug has been fixed by case-table changes.
1412 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
1414 * event-msw.c: Restore include of events-mod.h.
1416 2001-04-22 zhaoway <zw@debian.org>
1418 * event-stream.c (is_scrollbar_event): Noop returning 0 if
1421 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
1423 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
1425 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
1427 * mule-charset.c (Fmake_charset): Add missing else.
1429 2001-04-23 Ben Wing <ben@xemacs.org>
1431 * event-msw.c (FAKE_MOD_QUIT):
1432 * event-msw.c (mswindows_dequeue_dispatch_event):
1433 * event-msw.c (mswindows_wnd_proc):
1434 * event-msw.c (emacs_mswindows_quit_p):
1435 Get critical quit working.
1437 2001-05-05 Ben Wing <ben@xemacs.org>
1441 * device-msw.c (mswindows_get_default_margin):
1442 * frame-msw.c (mswindows_size_frame_internal):
1443 * frame-msw.c (msprinter_init_frame_1):
1444 * frame-msw.c (vars_of_frame_mswindows):
1445 Change top/bottom margin defaults to 0.5 inches.
1447 2001-05-01 Martin Buchholz <martin@xemacs.org>
1449 Fix link error with gcc 3.0 on Linux.
1450 * terminfo.c (UP): Remove.
1451 * terminfo.c (BC): Remove.
1452 * terminfo.c (PC): Remove.
1453 They weren't used, and in any case, these symbols should be
1454 defined in the *library*.
1456 2001-05-03 Martin Buchholz <martin@xemacs.org>
1458 * s/aix4.h: Fix crash with xlc -O3.
1459 Improve comment explaining how -O3 works.
1461 2001-04-15 Ben Wing <ben@xemacs.org>
1464 * event-stream.c (Fnext_event):
1465 * event-stream.c (is_scrollbar_event):
1466 * event-stream.c (execute_command_event):
1467 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
1468 crash' problem. His fix introduces other problems. We filter
1469 out scrollbar events specifically, making them somewhat invisible
1470 to command-building, and not appearing in `this-command-keys'.
1471 More work is still needed (see comments in event-stream.c), but
1472 this fixes all the major problems.
1474 2001-04-20 Ben Wing <ben@xemacs.org>
1476 * .cvsignore: Added stuff for Windows.
1478 2001-04-28 Ben Wing <ben@xemacs.org>
1480 * buffer.c (Ferase_buffer):
1481 * editfns.c (buffer_insert1):
1482 * editfns.c (Finsert_before_markers):
1483 * editfns.c (Finsert_string):
1484 * editfns.c (Finsert_char):
1485 * editfns.c (Fdelete_region):
1486 * editfns.c (Fwiden):
1487 * editfns.c (Fnarrow_to_region):
1488 remove bogus lines setting zmacs_region_stays to 0.
1490 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1492 * process-unix.c (unix_open_network_stream): If connect() fails
1493 invalidate file descriptor after closing it.
1495 2001-03-08 Mike Alexander <mta@arbortext.com>
1497 * event-msw.c (mswindows_need_event_in_modal_loop):
1498 Don't dispatch a message if we didn't get one.
1499 (mswindows_need_event):
1500 Terminate the correct process when one exits instead of the first
1501 one on Vprocess_list and look for process termination when in
1502 mswindows_protect_modal_loop.
1504 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
1506 * XEmacs 21.4.1 "Copyleft" is released.
1508 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
1510 * input-method-motif.c (XIM_delete_frame): New callback.
1511 (XIM_init_frame): Register it.
1513 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
1515 * XEmacs 21.4.0 "Solid Vapor" is released.
1517 2001-04-15 Ben Wing <ben@xemacs.org>
1519 * cmdloop.c (call_command_loop):
1520 Fix braino in bit-rotting code.
1522 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
1524 * extents.c (Fset_extent_endpoints): Force creation of extent info
1525 in buffer_or_string.
1527 * extents.c (process_extents_for_insertion_mapper): Correctly
1528 check for open-open zero-length extents.
1530 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
1532 * lisp.h: New typedefs Memory_count, Element_count.
1535 Sign-compare warning elimination: several unsigned -> signed.
1536 Based on work by Ben Wing <ben@xemacs.org>.
1538 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
1540 * XEmacs 21.2.47 "Zephir" is released.
1542 2001-04-02 Jan Vroonhof <jan@xemacs.org>
1544 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
1546 2001-04-03 Mike Sperber <mike@xemacs.org>
1548 * search.c: Revert previous patch due because of release.
1550 2001-03-30 Ben Wing <ben@xemacs.org>
1553 Add missing killpg prototype.
1556 Add a comment about fixing problems when a new entry is added
1559 * frame-msw.c (mswindows_init_frame_1):
1560 Fix compile warnings.
1562 * menubar.c (vars_of_menubar):
1563 Provide `menu-accelerator-support' to indicate that we properly
1564 support %_ in menu specifications, so that package code can
1565 conditionalize on this (and remove %_ from menu specifications
1570 * scrollbar-msw.c (can_scroll):
1572 Fix handling of mouse wheel under Windows to follow standards --
1573 now scrolls window under pointer, not selected window.
1575 2001-03-31 Mike Sperber <mike@xemacs.org>
1577 * search.c (Freplace_match): Support FSF-style specification of
1578 match subexpression when applied to a buffer.
1580 2001-03-15 Martin Buchholz <martin@xemacs.org>
1582 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
1583 function to modify KEYMAP, so map over a copy of the hash table.
1585 2001-03-21 Martin Buchholz <martin@xemacs.org>
1587 * XEmacs 21.2.46 "Urania" is released.
1589 2001-03-20 Dan Holmsand <dan@eyebee.com>
1591 * realpath.c (xrealpath): Make file-truename work with symlinks to
1592 /cygdrive paths on cygwin. Always lowercase drive-letters on
1594 (cygwin_readlink): Don't try to find canonical filename unless
1597 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
1599 * ChangeLog: Log GTK merge.
1605 Revert gratuitous whitespace changes from GTK merge.
1607 * emacs.c: Document end of complex #ifdef @ l. 1495.
1610 2001-03-12 Andy Piper <andy@xemacs.org>
1612 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
1613 have to do likewise.
1615 2001-03-12 Andy Piper <andy@xemacs.org>
1617 * sysdep.c: we only support mingw now.
1619 2001-03-09 Andy Piper <andy@xemacs.org>
1621 * unexcw.c (copy_executable_and_dump_data_section): making approx
1622 overrun a warning only.
1624 2001-03-10 William M. Perry <wmperry@aventail.com>
1626 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
1627 satisfy Stephen's identical-after-cpp plea.
1629 2001-03-02 Ben Wing <ben@xemacs.org>
1632 * cmds.c (Fforward_char):
1636 Augment documentation of the most common motion commands to make
1637 note of the shifted-motion support.
1639 2001-03-02 Ben Wing <ben@xemacs.org>
1641 * nt.c (mswindows_fstat):
1642 * nt.c (mswindows_stat):
1643 * search.c (boyer_moore):
1644 Fix compile warnings under Windows.
1646 * sysdep.c (sys_readdir):
1647 Fix buggy filename-conversion code under Mule.
1649 2001-03-09 William M. Perry <wmperry@aventail.com>
1671 * redisplay-output.c:
1677 The Great GTK Merge.
1684 * emacs-widget-accessors.c:
1698 * native-gtk-toolbar.c:
1709 The Great GTK Merge: new files.
1711 2001-02-26 Ben Wing <ben@xemacs.org>
1713 Reapplied Lstream change.
1715 2001-02-26 Ben Wing <ben@xemacs.org>
1717 Undid the last change, since it is more controversial than I
1718 thought. It should be back in at some point soon.
1720 2001-02-25 Ben Wing <ben@xemacs.org>
1723 * callproc.c (Fold_call_process_internal):
1724 * event-msw.c (ntpipe_slurp_reader):
1725 * event-msw.c (ntpipe_shove_writer):
1726 * event-msw.c (winsock_reader):
1727 * event-msw.c (winsock_writer):
1729 * file-coding.c (detect_eol_type):
1730 * file-coding.c (detect_coding_type):
1731 * file-coding.c (determine_real_coding_system):
1732 * file-coding.c (Fdetect_coding_region):
1733 * file-coding.c (decoding_reader):
1734 * file-coding.c (decoding_writer):
1735 * file-coding.c (mule_decode):
1736 * file-coding.c (Fdecode_coding_region):
1737 * file-coding.c (encoding_reader):
1738 * file-coding.c (encoding_writer):
1739 * file-coding.c (mule_encode):
1740 * file-coding.c (Fencode_coding_region):
1741 * file-coding.c (detect_coding_sjis):
1742 * file-coding.c (decode_coding_sjis):
1743 * file-coding.c (encode_coding_sjis):
1744 * file-coding.c (detect_coding_big5):
1745 * file-coding.c (decode_coding_big5):
1746 * file-coding.c (encode_coding_big5):
1747 * file-coding.c (detect_coding_ucs4):
1748 * file-coding.c (decode_coding_ucs4):
1749 * file-coding.c (encode_coding_ucs4):
1750 * file-coding.c (detect_coding_utf8):
1751 * file-coding.c (decode_coding_utf8):
1752 * file-coding.c (encode_coding_utf8):
1753 * file-coding.c (detect_coding_iso2022):
1754 * file-coding.c (decode_coding_iso2022):
1755 * file-coding.c (encode_coding_iso2022):
1756 * file-coding.c (decode_coding_no_conversion):
1757 * file-coding.c (encode_coding_no_conversion):
1758 * glyphs-x.c (write_lisp_string_to_temp_file):
1759 * gpmevent.c (tty_get_foreign_selection):
1762 * lstream.c (Lstream_flush_out):
1763 * lstream.c (Lstream_adding):
1764 * lstream.c (Lstream_write_1):
1765 * lstream.c (Lstream_write):
1766 * lstream.c (Lstream_raw_read):
1767 * lstream.c (Lstream_read_more):
1768 * lstream.c (Lstream_read):
1769 * lstream.c (Lstream_unread):
1770 * lstream.c (Lstream_fputc):
1771 * lstream.c (stdio_reader):
1772 * lstream.c (stdio_writer):
1773 * lstream.c (filedesc_reader):
1774 * lstream.c (filedesc_writer):
1775 * lstream.c (lisp_string_reader):
1776 * lstream.c (struct fixed_buffer_stream):
1777 * lstream.c (make_fixed_buffer_input_stream):
1778 * lstream.c (make_fixed_buffer_output_stream):
1779 * lstream.c (fixed_buffer_reader):
1780 * lstream.c (fixed_buffer_writer):
1781 * lstream.c (struct resizing_buffer_stream):
1782 * lstream.c (resizing_buffer_writer):
1783 * lstream.c (dynarr_writer):
1784 * lstream.c (lisp_buffer_reader):
1785 * lstream.c (lisp_buffer_writer):
1787 * lstream.h (lstream_implementation):
1788 * lstream.h (struct lstream):
1790 * process-nt.c (nt_send_process):
1791 * process-unix.c (unix_send_process):
1793 Correct Lstream lossage due to mixing of signed and unsigned
1794 quantities. All Lstream uses of size_t and ssize_t are now a
1795 single signed data type Lstream_data_count. This fixes problems
1796 under Windows with sending large quantities of data to a process,
1797 and may well fix other subtle bugs.
1799 2001-02-23 Martin Buchholz <martin@xemacs.org>
1801 * XEmacs 21.2.45 "Thelxepeia" is released.
1803 2001-02-21 Martin Buchholz <martin@xemacs.org>
1805 * lisp-union.h (XSETINT):
1808 Reverse previous change of 2001-02-06.
1810 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
1812 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
1814 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
1815 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
1816 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
1817 * regex.c (POS_AS_IN_BUFFER): removed
1818 * regex.c (re_search_2):
1819 * regex.c (re_match_2):
1820 Don't use an offset of 1 when calculating buffer positions, since
1821 `BI_BUF_BEGV' does it already.
1823 2001-02-18 Wim Dumon <wim@easics.be>
1825 * insdel.c (prepare_to_modify_buffer): Also check for
1826 supersession when clash-detection is enabled.
1828 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
1830 * regex.c (re_match_2_internal):
1831 Convert temp characters from 'const unsigned char' to 're_char'.
1832 Fix crashing bug with extended characters under mule.
1833 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
1834 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
1835 font-lock, pdump, and new syntax-table code.
1836 * syntax.c (find_start_of_comment):
1837 (find_end_of_comment):
1839 Fix crashing bugs involving moving beyond end of buffer.
1840 * syntax.c (find_start_of_comment):
1841 Fixed logic to allow proper detection of cases where the same
1842 character is used to end both a two-char comment start and a
1843 two-char comment end sequence. Fixes `(forward-comment -1)'.
1844 * syntax.c (find_start_of_comment):
1845 Return position just past last comment-end character for all cases
1846 (previously was only done for two-char comment-end sequences).
1847 * syntax.c (forward-comment):
1848 Take value returned from `find_end_of_comment', rather than
1850 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
1851 Properly deal with BUFFERP (syntax_cache.object)
1853 2001-02-17 Martin Buchholz <martin@xemacs.org>
1855 * alloc.c (Fgarbage_collect):
1856 * alloc.c (make_bit_vector_from_byte_vector):
1857 -Wsign-compare-correctness.
1859 2001-02-16 Martin Buchholz <martin@xemacs.org>
1861 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
1862 (XSETCHAR): Likewise.
1863 (XSETOBJ): Likewise.
1865 2001-02-15 Martin Buchholz <martin@xemacs.org>
1867 * mule-canna.c (canna-func-delete_previous):
1868 Rename to canna-func-delete-previous.
1870 2001-02-14 Martin Buchholz <martin@xemacs.org>
1872 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
1874 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
1876 * font-lock.c (find_context): Fix C++ compile errors introduced by
1879 2001-02-13 Martin Buchholz <martin@xemacs.org>
1881 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
1882 pragma, but earlier ones barf on the same pragma.
1884 2001-02-06 Mike Sperber <mike@xemacs.org>
1886 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
1887 `configure-mule-lisp-directory'.
1889 2001-02-12 Martin Buchholz <martin@xemacs.org>
1891 Make sure dump-id.c is compiled in the same way as other .c's.
1892 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
1893 * dump-id.h: Remove.
1894 * emacs.c: Move dump-id.h into dumper.h.
1895 * dumper.h: Move dump-id.h into dumper.h.
1897 Use standard .c.o rule for building dump-id.o.
1898 Remove preprocessor flags from link command.
1899 Add dump-id.o to ${otherobjs} if PDUMP.
1901 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
1903 Port FSF 20.7 syntax table improvements.
1907 Fixups for new syntax table stuff.
1908 * dired.c: Include syntax.c.
1909 (Fdirectory_files): Initialize regex_match_object and
1911 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
1912 and Fget_char_property.
1914 Use ported FSF 20.7 syntax table improvements.
1919 2001-02-09 Martin Buchholz <martin@xemacs.org>
1921 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
1922 Unixware's enum boolean from sys/types.h.
1924 2001-02-10 Martin Buchholz <martin@xemacs.org>
1926 Fix support for building with latest Purify.
1927 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
1928 (PURIFY_FLAGS): Likewise.
1930 2001-02-09 Martin Buchholz <martin@xemacs.org>
1932 * fileio.c (lisp_string_set_file_times): New.
1933 * fileio.c (Fcopy_file): Use it.
1935 (copy-file filename non-ascii-filename t t)
1936 ==> No such file or directory, non-ascii-filename
1938 2001-02-10 Martin Buchholz <martin@xemacs.org>
1940 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
1941 USHRT_MAX seems clearer than ~0 anyways.
1943 2001-02-09 Martin Buchholz <martin@xemacs.org>
1945 dumper improvements. Inspired by Olivier.
1946 * dumper.c (pdump_max_align): New.
1947 * dumper.c (pdump_add_entry): Use pdump_max_align.
1948 * dumper.c (pdump_get_entry_list): Likewise.
1949 * dumper.c (pdump_scan_by_alignment): Likewise.
1950 Don't iterate through unnecessary alignments.
1951 * dumper.c (pdump_file_get): No need to align result of malloc().
1952 * dumper.c (pdump_mallocadr): Remove.
1953 The result of malloc() is guaranteed to be maximally aligned.
1954 * dumper.c: s/elmt/elt/g;
1955 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
1956 * dumper.c (pdump_alert_undump_object): Likewise.
1957 * dumper.c (pdump_align_table):
1958 Don't support alignments > 64.
1959 Store ALIGNOF's, not shift counts, in table.
1961 2001-02-09 Martin Buchholz <martin@xemacs.org>
1963 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
1964 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
1965 * systime.h: Use HAVE_UTIME.
1966 * sysdep.c (struct utimbuf): Remove.
1967 * sysdep.c (set_file_times): Prefer utime() to utimes().
1968 * config.h.in (HAVE_UTIME): New.
1969 * config.h.in (HAVE_UTIME_H): Remove.
1970 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
1972 2001-02-09 Martin Buchholz <martin@xemacs.org>
1974 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
1976 2001-02-08 Martin Buchholz <martin@xemacs.org>
1978 * s/irix6-0.h: Use the standard system memmove, not bcopy.
1980 2001-02-08 Martin Buchholz <martin@xemacs.org>
1982 * XEmacs 21.2.44 "Thalia" is released.
1984 2001-02-06 Martin Buchholz <martin@xemacs.org>
1986 Fixes crashes in kill-emacs on some systems.
1987 * process-unix.c (unix_kill_child_process):
1988 It's OK for kill() to fail with ESRCH.
1990 2001-02-07 Martin Buchholz <martin@xemacs.org>
1992 Contortions to make .gdbinit tricks work on most systems.
1993 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
1994 * alloc.c (dbg_valmask): Make non-const.
1995 * alloc.c (dbg_typemask): Make non-const.
1996 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
1997 * alloc.c (dbg_valbits): Make non-const.
1998 * alloc.c (dbg_gctypebits): Make non-const.
1999 * .gdbinit (decode_object): Make it work with AIX cc.
2001 2001-02-06 Martin Buchholz <martin@xemacs.org>
2003 * elhash.c (make_general_lisp_hash_table):
2004 Use simpler and more efficient calloc to clear entries.
2006 2001-02-07 Martin Buchholz <martin@xemacs.org>
2008 * window.c (window_scroll): Work around an AIX C compiler bug.
2009 Fixes 'scroll-up' does nothing problem with xlC.
2011 2001-02-05 Martin Buchholz <martin@xemacs.org>
2013 * .gdbinit: Remove obsolete comment.
2015 2001-01-31 Mike Alexander <mta@arbortext.com>
2017 * select.c (Fown_selection_internal): Set owned_p for device
2020 2001-02-01 Martin Buchholz <martin@xemacs.org>
2023 "not" cannot be used as a macro name as it is an operator in C++
2024 * config.h.in: Stop #defining `not'.
2025 * chartab.c (check_category_char): not ==> not_p
2026 * chartab.h: Likewise.
2027 * regex.c (re_match_2_internal): Likewise.
2029 2001-02-02 Martin Buchholz <martin@xemacs.org>
2031 * lisp-disunion.h: Fix up comments.
2033 2001-01-31 Martin Buchholz <martin@xemacs.org>
2035 * keymap.c (define_key_check_and_coerce_keysym):
2037 Support mouse-6 and mouse-7 bindings in the obvious way.
2039 2001-02-01 Martin Buchholz <martin@xemacs.org>
2041 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
2043 2001-01-30 Martin Buchholz <martin@xemacs.org>
2045 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
2046 Previous patch missed DEFVAR_INT_MAGIC.
2047 Make sure future DEFVAR_foo use correct types.
2048 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
2049 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
2050 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
2051 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
2052 * (DEFVAR_INT): Likewise.
2053 * redisplay.c (vertical_clip): Should be of type Fixnum.
2054 * redisplay.c (horizontal_clip): Likewise.
2055 * lisp.h (dump_add_opaque_int): New.
2056 (dump_add_opaque_fixnum): New.
2058 2001-01-29 Andy Piper <andy@xemacs.org>
2060 * glyphs-widget.c (check_valid_int_or_function): allow symbols
2061 since they can be eval'ed
2063 2001-01-29 Martin Buchholz <martin@xemacs.org>
2065 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
2066 Oops, XEmacs redefines `class'. Use `typename' instead.
2068 2001-01-28 Martin Buchholz <martin@xemacs.org>
2070 * dumper.c: Fix C++ compile errors.
2072 2001-01-29 Martin Buchholz <martin@xemacs.org>
2074 * tparam.c: Use correct prototypes.
2076 2001-01-28 Martin Buchholz <martin@xemacs.org>
2078 * sysproc.h: #include util.h for NetBSD's openpty.
2080 2001-01-27 Martin Buchholz <martin@xemacs.org>
2082 More 64-bit correctness.
2083 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
2084 Use a typedef `fixnum' for the type used for DEFVAR_INT.
2086 This finally finishes the 64-bit SGI port.
2087 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
2088 * symbols.c: Fix up comments and type casts.
2089 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
2090 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
2091 * symeval.h (Fixnum): New type.
2092 * symeval.h (symbol_value_type): Fix up comment.
2108 * mule-canna.c: A million DEFVAR_INTs here...
2109 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
2122 s/int/Fixnum/g in DEFVAR_INT declarations.
2124 2001-01-26 Martin Buchholz <martin@xemacs.org>
2126 Port pdump to SGI alignment-sensitive environment.
2127 Lisp Object sizeof methods now return aligned sizes. Rely on that.
2128 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
2130 Define and use aligned reading and writing macros.
2131 Use buffered stdio instead of posix i/o for faster dumping.
2132 Eliminate kludgy 256 byte space for header.
2133 Read and write from dump file using structs for alignment safety.
2134 * dumper.c (pdump_align_stream): New.
2135 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
2136 * dumper.c (PDUMP_READ_ALIGNED): New.
2137 * dumper.c (PDUMP_WRITE_ALIGNED): New.
2138 * dumper.c (pdump_static_Lisp_Object): New struct.
2139 * dumper.c (pdump_static_pointer): New struct.
2140 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
2141 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
2142 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
2143 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
2145 * dumper.c (pdump_backtrace):
2146 * dumper.c (pdump_get_indirect_count):
2147 * dumper.c (pdump_register_object):
2148 * dumper.c (pdump_register_struct):
2149 * dumper.c (pdump_reloc_one):
2150 * dumper.c (pdump_scan_by_alignment):
2151 * dumper.c (pdump_dump_from_root_struct_ptrs):
2152 * dumper.c (pdump_dump_opaques):
2153 * dumper.c (pdump_dump_rtables):
2154 * dumper.c (pdump_dump_from_root_objects):
2156 * dumper.c (pdump_load_finish):
2157 Use aligned reading and writing.
2159 * dumper.c (pdump_free): Make static.
2160 * dumper.c (pdump_hFile): Likewise.
2161 * dumper.c (pdump_hMap): Likewise.
2163 2001-01-26 Martin Buchholz <martin@xemacs.org>
2165 * XEmacs 21.2.43 "Terspichore" is released.
2167 2001-01-25 Martin Buchholz <martin@xemacs.org>
2169 Type fiddling for window_config.saved_windows_count
2170 * window.c (struct window_config):
2171 Make saved_windows_count member unsigned.
2172 * window.c (sizeof_window_config_for_n_windows):
2173 Make parameter unsigned.
2174 * window.c (mark_window_config):
2175 * window.c (window_config_equal):
2176 * window.c (free_window_configuration):
2177 * window.c (Fset_window_configuration):
2178 * window.c (count_windows):
2179 * window.c (Fcurrent_window_configuration):
2180 * window.c (reinit_vars_of_window):
2181 Update all callers and users.
2183 2001-01-25 Martin Buchholz <martin@xemacs.org>
2185 Alignment correctness for flexible arrays.
2186 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
2187 Make alignment-correct. Add interesting comments.
2188 * alloc.c (size_vector):
2189 * alloc.c (make_vector_internal):
2190 * alloc.c (make_bit_vector_internal):
2191 * alloc.c (sweep_bit_vectors_1):
2192 * fns.c (size_bit_vector):
2193 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
2194 * window.c (sizeof_window_config_for_n_windows):
2195 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
2197 2001-01-24 Martin Buchholz <martin@xemacs.org>
2199 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
2201 2001-01-23 Andy Piper <andy@xemacs.org>
2203 * select.c (Fown_selection_internal): pass owned_p
2205 * select-msw.c (mswindows_own_selection): New Signature.
2207 * console.h (struct console_methods): add owned_p to
2210 * select-x.c (x_own_selection): pass owned_p
2211 (hack_motif_clipboard_selection): use owned_p
2212 (vars_of_select_x): new variable -
2213 x_selection_strict_motif_ownership.
2215 2001-01-23 Martin Buchholz <martin@xemacs.org>
2217 * specifier.h (specifier_data_offset): Remove pointless parens.
2218 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
2220 2001-01-24 Martin Buchholz <martin@xemacs.org>
2222 Make Lisp_Object sizeof methods be alignment-correct.
2223 pdump must restore objects to the same alignment as the C compiler
2224 assumes. It really matters on SGIs.
2225 * lstream.c (aligned_sizeof_lstream): New.
2226 (sizeof_lstream): Use aligned_sizeof_lstream.
2227 (Lstream_new): Likewise.
2228 * opaque.c (aligned_sizeof_opaque): New.
2229 (sizeof_opaque): Use aligned_sizeof_opaque.
2230 (make_opaque): Likewise.
2231 * specifier.c (aligned_sizeof_specifier): New.
2232 (sizeof_specifier): Use aligned_sizeof_specifier.
2233 (make_specifier_internal): Likewise.
2235 2001-01-23 Martin Buchholz <martin@xemacs.org>
2237 * lstream.h (struct lstream): Use max_align_t for trailing data.
2238 * specifier.h (struct Lisp_Specifier): Likewise.
2240 2001-01-22 Martin Buchholz <martin@xemacs.org>
2242 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
2243 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
2244 (CCL_SUSPEND): Likewise.
2245 (CCL_INVALID_CMD): Likewise.
2246 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
2247 (ccl_driver): Likewise.
2248 (CCL_WRITE_CHAR): Macro hygiene.
2249 (CCL_WRITE_STRING): Macro hygiene.
2251 2001-01-22 Martin Buchholz <martin@xemacs.org>
2253 Port "portable" dumper to SunOS 4 and HP-UX.
2254 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
2255 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
2256 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
2258 2001-01-22 Martin Buchholz <martin@xemacs.org>
2260 * lisp.h (ALIGNOF): A better definition for C++.
2262 2001-01-20 Martin Buchholz <martin@xemacs.org>
2265 Fix printf warnings: int format, long int arg.
2266 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
2267 (PUSH_FAILURE_POINT): Use correct printf formats.
2268 (POP_FAILURE_POINT): Use correct printf formats.
2269 Use do {...} while (0)
2271 2001-01-20 Martin Buchholz <martin@xemacs.org>
2273 * XEmacs 21.2.42 "Poseidon" is released.
2275 2001-01-20 Martin Buchholz <martin@xemacs.org>
2277 * console-x.h: typo fix du jour. Remove #if 0'ed code.
2279 2001-01-19 Martin Buchholz <martin@xemacs.org>
2281 De-kludgify FIXED_TYPE free list frobbing.
2282 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
2283 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
2284 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
2285 * alloc.c (Lisp_Free): New pseudo lisp object definition.
2286 * alloc.c (LRECORD_FREE_P): New.
2287 * alloc.c (MARK_LRECORD_AS_FREE): New.
2288 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
2289 * alloc.c (STRUCT_FREE_P): Deleted.
2290 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
2291 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
2292 * alloc.c (STRING_CHARS_FREE_P): New.
2293 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
2294 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
2295 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
2296 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
2297 * alloc.c (resize_string): Use new definitions.
2298 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
2299 * alloc.c (verify_string_chars_integrity): Use new definitions.
2300 * alloc.c (compact_string_chars): Use new definitions.
2301 * alloc.c: Update monster comments.
2302 * lrecord.h (lrecord_type): Add some new lrecord types for
2305 2001-01-18 Martin Buchholz <martin@xemacs.org>
2307 Improve alignment hackery.
2308 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
2309 (max_align_t): Moved from opaque.h - general purpose.
2310 (ALIGN_PTR): Use size_t, not long.
2311 * opaque.h (max_align_t): Move to lisp.h.
2313 2001-01-18 Norbert Koch <nk@LF.net>
2315 * gui.h: Fix and add prototypes to fix build problems.
2317 2001-01-18 Martin Buchholz <martin@xemacs.org>
2319 temacs is going away, so `dump-temacs' is now a bad name.
2320 * .dbxrc (dump-temacs): Rename to `dmp'.
2321 * .gdbinit (dump-temacs): Rename to `dmp'.
2323 2001-01-17 Andy Piper <andy@xemacs.org>
2325 * glyphs.c (print_image_instance): comment to make martin happy.
2327 * glyphs-x.c (x_redisplay_widget): update faces after a frame
2330 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
2332 (mswindows_tab_control_redisplay): warning suppression.
2334 * glyphs-widget.c (widget_update): re-write to cope with updated
2336 (widget_instantiate): use new gui_item functions.
2337 (tab_control_update): deleted.
2338 (progress_gauge_update): deleted.
2339 (image_instantiator_progress_guage): take out update reference.
2340 (image_instantiator_tree_view): ditto.
2341 (image_instantiator_tab_control): ditto.
2343 * gui.c (widget_gui_parse_item_keywords): new function. Do things
2345 (gui_item_add_keyval_pair): re-write to cope with descriptors and
2346 return whether anything was changed.
2347 (update_gui_item_keywords): as it sounds.
2349 * gui.h: declare widget_gui_parse_item_keywords.
2351 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
2352 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
2354 2001-01-17 Martin Buchholz <martin@xemacs.org>
2356 * XEmacs 21.2.41 "Polyhymnia" is released.
2358 2001-01-16 Didier Verna <didier@xemacs.org>
2360 * glyphs.c (image_instantiate): don't use fallbacks when
2361 instantiating a face's background pixmap by inheritance.
2363 2001-01-14 Mike Sperber <mike@xemacs.org>
2365 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
2366 Conditionalize accordingly.
2368 2001-01-16 Martin Buchholz <martin@xemacs.org>
2370 * dumper.c (pdump_file_get): Fix a compiler warning.
2372 2001-01-15 Martin Buchholz <martin@xemacs.org>
2374 Make Purify happy when pdumping.
2375 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
2376 iniitalizing all bits of new lisp object memory.
2377 * symbols.c (Fmake_local_variable): Likewise.
2378 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
2379 * symbols.c (Fdefvaralias): Likewise.
2380 * mule-charset.c (vars_of_mule_charset): Likewise.
2382 2001-01-15 Martin Buchholz <martin@xemacs.org>
2383 Add the `-nd' flag when running pre-dump operations under the debugger.
2384 * .dbxrc (run-temacs): Add `-nd'.
2385 * .dbxrc (update-elc): Likewise.
2386 * .dbxrc (dump-temacs): Likewise.
2387 * .gdbinit (run-temacs): Likewise.
2388 * .gdbinit (check-temacs): Likewise.
2389 * .gdbinit (update-elc): Likewise.
2390 * .gdbinit (dump-temacs): Likewise.
2392 2001-01-14 Martin Buchholz <martin@xemacs.org>
2394 Allow building 64-bit executables on AIX with GNU malloc, e.g.
2395 export OBJECT_MODE=64
2396 configure --pdump --use-union-type=no
2397 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
2398 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
2400 * miscplay.c (sndcnv8U_2mono):
2401 Avoid two uses of `++' in the same expression.
2402 Suppresses a GCC warning.
2404 2001-01-13 Martin Buchholz <martin@xemacs.org>
2406 Make sure future compilers don't miscompile alloc.c.
2408 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
2409 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
2411 2001-01-12 Martin Buchholz <martin@xemacs.org>
2413 * dumper.c: A little post-pdump-rename comment fixup.
2415 2001-01-09 Jerry James <james@eecs.ku.edu>
2417 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
2419 2001-01-13 Martin Buchholz <martin@xemacs.org>
2421 * *.[ch]: Globally rename symbols using the following `pdump-rename'
2425 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
2428 replace_symbol pdump_wire_lists pdump_weak_object_chains
2429 replace_symbol pdump_wire_list dump_add_weak_object_chain
2431 replace_symbol pdump_wires pdump_root_objects
2432 replace_symbol pdump_wire dump_add_root_object
2434 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
2435 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
2437 replace_symbol dumpstructinfos pdump_root_struct_ptrs
2438 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
2439 replace_symbol dumpstructinfo pdump_root_struct_ptr
2440 replace_symbol dumpstruct dump_add_root_struct_ptr
2442 replace_symbol dumpopaque dump_add_opaque
2443 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
2444 replace_symbol dumpopaqueinfos pdump_opaques
2445 replace_symbol dumpopaqueinfo pdump_opaque
2447 replace_symbol nb_structdump nb_root_struct_ptrs
2448 replace_symbol nb_opaquedump nb_opaques
2450 replace_symbol align_table pdump_align_table
2451 replace_symbol dump_header pdump_header
2453 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
2454 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
2457 2001-01-12 Martin Buchholz <martin@xemacs.org>
2459 * s/aix4.h: Keep the C for AIX compiler from overaggressively
2460 optimizing bytecount_to_charcount().
2462 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
2465 (HAVE_DLFCN_H): Removed.
2466 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
2468 2001-01-06 Martin Buchholz <martin@xemacs.org>
2470 Portable dumper maintainability improvements.
2471 * alloc.c (staticpro):
2472 * alloc.c (staticpro_nodump):
2473 * alloc.c (garbage_collect_1):
2474 * alloc.c (reinit_alloc_once_early):
2475 * alloc.c (init_alloc_once_early):
2476 * alloc.c: Move dumper functions to alloc.c.
2477 * dumper.c (pdump_backtrace):
2478 * dumper.c (pdump_dump_structs):
2479 * dumper.c (pdump_dump_opaques):
2480 * dumper.c (pdump_dump_rtables):
2481 * dumper.c (pdump_dump_wired):
2483 * dumper.c (pdump_load_check):
2484 * dumper.c (pdump_load_finish):
2485 * dumper.c (pdump_file_unmap):
2486 * dumper.c (pdump_file_get):
2487 * dumper.c (pdump_resource_free):
2488 * dumper.c (pdump_resource_get):
2489 * dumper.c (pdump_file_free):
2490 * dumper.c (pdump_file_try):
2491 * dumper.c (pdump_load):
2492 Remove fixed size limits on staticpro(), staticpro_nodump(),
2493 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
2494 Remove custom code for dumping lrecord_implementations_table - use
2496 Remove (most of the) custom code for dumping staticpros - dump it
2497 like any other dynarr.
2499 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
2500 * dumper.c: Moved functions from alloc.c.
2501 * alloc.c (dumpstruct): Moved to dumper.c.
2502 * alloc.c (dumpopaque): Likewise.
2503 * alloc.c (pdump_wire): Likewise.
2504 * alloc.c (pdump_wire_list): Likewise.
2506 * lisp.h (Dynarr_sizeof): New.
2507 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
2508 * lisp.h (Dynarr_end): New. Very slightly C++oid.
2509 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
2511 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
2512 * lisp.h (dumpopaque): ditto.
2513 * lisp.h (pdump_wire): ditto.
2514 * lisp.h (pdump_wire_list): ditto.
2516 2001-01-09 Martin Buchholz <martin@xemacs.org>
2518 * make-src-depend (PrintPatternDeps):
2519 Use `sort' to make output independent of perl version.
2521 2001-01-08 Martin Buchholz <martin@xemacs.org>
2524 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
2525 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
2527 2001-01-03 Didier Verna <didier@xemacs.org>
2529 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
2530 that `focus_frame' is alive before thinking of calling
2531 `redisplay_redraw_cursor' on it.
2533 2001-01-08 Martin Buchholz <martin@xemacs.org>
2535 * XEmacs 21.2.40 is released.
2537 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
2539 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
2541 2001-01-06 Martin Buchholz <martin@xemacs.org>
2543 * alloc.c (dbg_valmask): Make const.
2544 * alloc.c (dbg_typemask): Make const.
2545 * alloc.c (dbg_USE_UNION_TYPE): Make const.
2546 * alloc.c (dbg_valbits): Make const.
2547 * alloc.c (dbg_gctypebits): Make const.
2549 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
2551 * redisplay-x.c (x_bevel_area):
2552 redisplay.h (struct rune):
2553 Typo fixes in comments.
2555 2001-01-05 Andy Piper <andy@xemacs.org>
2557 * glyphs-x.c (x_redisplay_widget): use size changed for offset
2560 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
2562 2001-01-05 Martin Buchholz <martin@xemacs.org>
2564 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
2566 * mule-ccl.c (stack_idx_of_map_multiple):
2567 Non const global data must not be initialized!
2568 Found by MIYASHITA Hisashi.
2570 2001-01-02 Andy Piper <andy@xemacs.org>
2572 * frame.c (change_frame_size): make sure frame size is always
2575 * glyphs.c (image_instance_layout): minor code reuse.
2577 * window.c (Fcurrent_window_configuration): revert previous
2580 2001-01-02 Martin Buchholz <martin@xemacs.org>
2583 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
2585 2000-12-31 Andy Piper <andy@xemacs.org>
2587 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
2588 when widget gets unmapped.
2590 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
2591 function. Make sure widgets losing focus don't just drop it.
2592 (handle_focus_event_1): record the widget with focus.
2594 2000-12-31 Andy Piper <andy@xemacs.org>
2596 * window.c (allocate_window): use
2597 make_image_instance_cache_hash_table.
2598 (make_dummy_parent): ditto.
2599 (Fset_window_configuration): ditto.
2601 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
2603 * glyphs.c (process_image_string_instantiator): use
2605 (get_image_instantiator_governing_domain): ditto.
2606 (normalize_image_instantiator): ditto.
2607 (instantiate_image_instantiator): ditto.
2608 (make_image_instance_1): ditto.
2609 (image_instantiate): ditto. Key on glyph *and* instantiator type.
2610 (instantiator_eq_equal): new function for use with instance hash
2612 (instantiator_eq_hash): ditto.
2613 (make_image_instance_cache_hash_table): create a suitable hash
2614 table for storing image instances.
2616 * elhash.h (hash_table_weakness): new internal weakness type
2617 HASH_TABLE_KEY_CAR_VALUE_WEAK.
2618 declare new functions.
2620 * elhash.c (finish_marking_weak_hash_tables): introduce yet
2621 another weakness type for glyphs.
2622 (make_standard_lisp_hash_table): new function split out from
2623 make_general_lisp_hash_table.
2624 (make_lisp_hash_table): call make_standard_lisp_hash_table.
2625 (hash_table_instantiate): ditto.
2626 (Fmake_hash_table): ditto.
2628 2000-12-31 Martin Buchholz <martin@xemacs.org>
2630 * XEmacs 21.2.39 is released.
2632 2000-12-29 Andy Piper <andy@xemacs.org>
2634 * menubar.c (menubar_visible_p_changed): signal the frame changed.
2636 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
2637 the frame has changed so that we pick up geometry changes such as
2640 2000-12-28 Andy Piper <andy@xemacs.org>
2642 * lastfile.c (my_ebss): make a char array so we can pad the
2643 bss. Fixes cygwin unexec.
2645 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
2647 2000-12-26 Andy Piper <andy@xemacs.org>
2649 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
2650 comments and try and be more precise about a non-/SIGIO world.
2651 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
2654 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
2655 we don't normalize to zero width or height.
2657 2000-12-24 Andy Piper <andy@xemacs.org>
2659 * Makefile.in.in (ldflags): add -mwindows when appropriate.
2661 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
2663 * s/sco5.h: SCO 5 has pty support.
2665 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
2667 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
2668 input-method-xlib.c contains whole contents of input-method-xfs.c,
2669 so we can use input-method-xlib.c's code for USE_XFONTSET
2671 * input-method-xfs.c: removed.
2673 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
2675 * file-coding.h (enum coding_category_type): reorder enumerators to
2676 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
2677 (now one greater than largest real coding_category_type enumerator).
2678 * file-coding.c (coding_category_symbol, coding_category_by_priority,
2679 coding_category_system, fcd_descriptihon_1, decode_coding_category,
2680 Fcoding_category_list, Fset_coding_priority_list,
2681 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
2682 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
2684 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
2686 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
2687 * redisplay-output.c (redisplay_output_window): Clear top of window
2688 when face is changed.
2689 * redisplay-x.c (x_redraw_exposed_window): Call
2690 redisplay_clear_top_of_window.
2691 * redisplay.h: Publish redisplay_clear_top_of_window.
2693 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
2695 * buffer.c (Fkill_buffer): Map over all devices.
2696 * window.c (window_loop): Remove UNSHOW_BUFFER code.
2697 (list_windows): New function.
2698 (list_all_windows): Ditto.
2699 (Freplace_buffer_in_windows): Use them.
2701 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2703 * database.c (berkdb_subtype): Recognize new subtype `queue'.
2704 (Fopen_database): Use `db_create' instead of `db_open'.
2705 (syms_of_database): Initialize Qqueue.
2707 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
2709 * buffer.c (common_init_complex_vars_of_buffer): Initialize
2710 buffer_local_face_property.
2711 * buffer.h (struct buffer): New member buffer_local_face_property.
2712 * window.c (Fset_window_buffer): Mark window's face as changed
2713 when buffer has buffer local face.
2714 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
2715 * objects.c (color_after_change): Set buffer_local_face_property
2716 when locale of face specifier is buffer.
2717 * objects.c (font_after_change): Ditto.
2718 * objects.c (face_boolean_after_change): Ditto.
2719 * glyphs.c (image_after_change): Ditto.
2721 2000-12-09 Dan Holmsand <dan@eyebee.com>
2723 * nt.c (mswindows_fstat): Report file permissions, volume serial
2724 number, etc. Code adapted from FSF Emacs 20.7.
2726 2000-12-09 Dan Holmsand <dan@eyebee.com>
2728 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
2729 of stat when we don't have symbolic links, to make sure
2730 mswindows_stat is called on mswindows.
2732 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
2734 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
2736 2000-12-12 Martin Buchholz <martin@xemacs.org>
2738 * doprnt.c (emacs_doprnt_1): More printing fixes.
2739 Make printing of numbers compatible with libc and FSF Emacs.
2740 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
2741 Use the system printf to do most of the hard work of formatting,
2742 instead of doprnt_1().
2743 Calculate memory to allocate for format string.
2744 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
2745 (doprnt_1): Cleaner code and documentation.
2747 2000-12-01 Jerry James <james@eecs.ukans.edu>
2749 * Makefile.in.in: Use the loop variable to install headers.
2751 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2753 * window.c (Fsplit_window): Don't invalidate face cache.
2755 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2757 * minibuf.c (Fall_completions): Undo the previous change
2758 which removed checking elements start with space.
2760 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
2762 * mule-canna.c: Didier suppression.
2764 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
2766 * mule-canna.c: rename static unsigned char buf[] to key_buffer
2767 (warning suppression). Add English comment translations.
2769 2000-12-05 Martin Buchholz <martin@xemacs.org>
2771 * unexelfsgi.c (unexec): Better test for mmap failure.
2773 2000-12-05 Martin Buchholz <martin@xemacs.org>
2775 * XEmacs 21.2.38 is released.
2777 2000-12-05 Martin Buchholz <martin@xemacs.org>
2779 * redisplay.c (bar-cursor): Make a user variable.
2781 * symsinit.h: Add init_postgresql_from_environment.
2783 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2785 * regex.c: Convert to clean C.
2787 2000-12-05 Dan Holmsand <dan@eyebee.com>
2790 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2792 (sys_readlink): renamed to system_readlink to avoid conflict with
2793 the other sys_readlink.
2795 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2797 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2799 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2801 * postgresql.c (init_postgresql_from_environment): new function.
2802 (vars_of_postgresql): Move code initializing Lisp variables out and
2803 into init_postgresql_from_environment.
2804 emacs.c (main_1): Call init_postgresql_from_environment if and only
2805 if running a dumped XEmacs.
2807 2000-08-31 Dan Holmsand <dan@eyebee.com>
2809 * buffer.c: Make find-file-compare-truenames default to true on
2812 * realpath.c (win32_abs_start):
2814 (win32_readlink): New functions.
2815 (xrealpath): Return really real filenames on windows.
2817 * fileio.c (Ffile_truename): Make file-truename work on windows.
2819 2000-11-29 Didier Verna <didier@xemacs.org>
2821 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2822 * faces.c (update_face_cachel_data): use it.
2823 * faces.c (add_face_cachel): use it. Complete background pixmap
2824 frobbing in face cache if `update_face_cachel_data' has not done so.
2826 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2828 * search.c (string_match_1): Don't set last_thing_searched
2831 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2833 * buffer.c: Include casetab.h
2834 (common_init_complex_vars_of_buffer): Use new case-table object.
2835 * buffer.h: Include casetab.h
2836 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2837 (DOWNCASE_TABLE_OF): Ditto.
2838 * bufslots.h: Remove char-tables and add case-table.
2839 * casetab.c: Include casetab.h
2840 (CASE_TABLE_P): Removed.
2841 (mark_case_table): New function.
2842 (allocate_case_table): New function.
2843 (Fcase_table_p): Use new case-table.
2844 (case_table_char): New function.
2845 (Fget_case_table): Ditto.
2846 (Fput_case_table): Ditto.
2847 (Fput_case_table_pair): Ditto.
2848 (Fcopy_case_table): Ditto.
2849 (Fcurrent_case_table): Return case-table.
2850 (Fstandard_case_table): Return case-table.
2851 (Fset_case_table): Fix doc-string.
2852 (set_case_table): Use case-table
2853 (syms_of_casetab): DEFSUBR new functions.
2854 (complex_vars_of_casetab): Set up standard case-table.
2855 * casetab.h: New file.
2856 * editfns.c: Include casetab.h
2857 (Fcompare_buffer_substrings): Use case-table.
2858 * inline.c: Include casetab.h
2859 * lisp.h: Remove bogus extern.
2860 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2861 * search.c: Include casetab.h
2862 (TRANSLATE_ASCII): Removed.
2863 (TRANSLATE): Unconditionally translate character.
2864 (looking_at_1): Use case-table.
2865 (string_match_1): Ditto.
2866 (fast_string_match): Ditto.
2867 (search_command): Ditto.
2868 (search_buffer): Separate boyer_moore. Check whether
2869 boyer_moore is possible.
2870 (simple_search): New function.
2871 (boyer_moore): Separated from search_buffer. Translate char.
2873 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2875 * regex.c (RE_TR_ASCII): Removed.
2876 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2877 (PATFETCH): Call PATFETCH_RAW.
2878 (PATFETCH_RAW): Fetch Emchar.
2879 (PATUNFETCH): Decrement charptr.
2880 (GET_BUFFER_SPACE): Rename b to buf_end.
2882 (BUF_PUSH_2): Ditto.
2883 (BUF_PUSH_3): Ditto.
2884 (EXTEND_BUFFER): Ditto.
2885 (SET_LIST_BIT): Ditto.
2886 (regex_compile): Ditto. Translate non ASCII char.
2887 (compile_range): Ditto.
2888 (re_search_2): Ditto.
2889 (re_match_2_internal): Compare Emchar.
2890 (bcmp_translate): Ditto.
2892 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2894 * lisp.h (basic char/int typedefs): comment improvement.
2896 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2898 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2899 unstomp inhibit_site_lisp. Improve comments.
2901 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2903 * mule-charset.c (Fcharset_property): improve type checking, comments.
2905 2000-11-28 Andy Piper <andy@xemacs.org>
2907 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2908 clipped display for windows in the gutter also.
2909 (redisplay_display_boxes_in_window_p): change semantics of return
2910 codes to be more intuitive.
2912 * gutter.h: declare display_boxes_in_gutter_p.
2914 * gutter.c (display_boxes_in_gutter_p): new function for
2917 2000-11-22 Andy Piper <andy@xemacs.org>
2919 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2922 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2924 * callproc.c (Fold_call_process_internal):
2925 * gpm.c (Freceive_gpm_event):
2926 (tty_get_foreign_selection): Might be just warning supression.
2927 * fileio.c (Fwrite_region_internal):
2928 (Fset_visited_file_modtime):
2929 * keymap.c (event_matches_key_specifier_p):
2930 Initialize GCPROed variable.
2932 * menubar-x.c (command_builder_find_menu_accelerator):
2933 Initialize before use.
2935 2000-11-23 Andy Piper <andy@xemacs.org>
2937 * unexcw.c (unexec): make the resulting executable executable.
2939 2000-11-21 Martin Buchholz <martin@xemacs.org>
2941 * doc.c (get_doc_string):
2942 Use size_t, not int, for result of XSTRING_LENGTH.
2944 * cmds.c (Fdelete_char):
2945 * cmds.c (Fpoint_at_eol):
2946 * cmds.c (Fself_insert_command):
2947 Use EMACS_INT, not int, for result of XINT.
2948 Someday, someone will want to insert more than 2**31 identical characters.
2950 * cmds.c (Fdelete_char):
2951 * cmds.c (Fdelete_backward_char):
2952 * syntax.c (Fforward_word):
2953 * syntax.c (Fforward_comment):
2954 Make COUNT argument optional, for consistency with forward-char et al.
2956 2000-11-22 Martin Buchholz <martin@xemacs.org>
2959 * print.c (long_to_string):
2960 Return a useful value: the pointer at end of data written.
2963 Use `static const char * const' for constant strings.
2964 (union printf_arg): Delete `i', `ui' members.
2967 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2968 Do all printf-ing via the `l' specifier.
2969 Use EMACS_INT instead of int.
2972 2000-11-20 Didier Verna <didier@xemacs.org>
2974 * faces.c (update_face_cachel_data): don't frob the background
2975 pixmap when the window is being created. The face is needed but
2978 2000-11-20 Andy Piper <andy@xemacs.org>
2980 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
2981 messing with a debug environment.
2983 2000-11-20 Martin Buchholz <martin@xemacs.org>
2985 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
2987 2000-11-20 Martin Buchholz <martin@xemacs.org>
2989 * casetab.c (Fcase_table_p): Fix compile error and crash.
2991 2000-11-18 Philip Aston <philipa@mail.com>
2993 * s/cygwin32.h: Cygwin has SVR4-like pty support.
2995 2000-11-18 Martin Buchholz <martin@xemacs.org>
2997 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
2998 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
3000 2000-11-17 Martin Buchholz <martin@xemacs.org>
3002 * config.h.in: Define HAVE_ELF_H if elf.h exists.
3003 * unexelf.c: Use HAVE_ELF_H.
3004 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
3005 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
3006 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
3007 Greg Harrington <greg_harrington@hotmail.com> provided a machine
3009 So this is an unexelfsgi.c from a different line of development.
3011 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3013 * regex.c (RE_TR_ASCII): New function.
3014 (RE_TRANSLATE): Call it.
3016 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3018 * buffer.h (TRT_TABLE_OF): Remove assert.
3019 (IN_TRT_TABLE_DOMAIN): Removed.
3021 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3023 * free-hook.c (log_gcpro):
3024 (show_gcprohist): Add support for GCPRO5.
3026 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3028 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3030 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3032 * symeval.h: Declare flush_all_buffer_local_cache.
3034 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3035 (flush_buffer_local_cache): Added.
3036 (flush_all_buffer_local_cache): Added.
3038 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3040 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3041 (pdump_dump_data): Ditto.
3042 (pdump_reloc_one): Ditto.
3043 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3047 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3049 * buffer.c: Remove if 0'ed entry.
3050 * buffer.h: Rewrite TRT to use char-table.
3051 * bufslots.h: Remove mirror tables.
3052 * casetab.c: Remove mirror tables.
3053 (CASE_TABLE_P): New macro.
3054 (Fcase_table_p): Element of a case table is string or char-table.
3055 (make_mirror_trt_table): Removed.
3056 (set_case_table): Setup char-table from strings for backward
3058 * dired.c (Fdirectory_files):
3059 * dired-msw.c: (mswindows_get_files):
3060 * lisp.h: Change prototype of re_pattern_buffer.
3061 * regex.c: (RE_TRANSLATE): New macro.
3062 (TRANSLATE_P): Ditto.
3063 Change translate to type RE_TRANSLATE_TYPE.
3064 * regex.h: Define RE_TRANSLATE_TYPE
3065 * search.c (TRANSLATE): New macro.
3066 (TRANSLATE_ASCII): New macro.
3067 Translate table is changed to Lisp_Object.
3068 (signal_failure): Inhibit return.
3070 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3077 Do UNGCPRO before return.
3079 2000-11-14 Martin Buchholz <martin@xemacs.org>
3081 * XEmacs 21.2.37 is released.
3083 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3085 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3086 Add comments about discarded return value.
3088 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3091 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3093 2000-10-27 Andy Piper <andy@xemacs.org>
3095 * gutter.c (Fset_default_gutter_position): default left and right
3097 (calculate_gutter_size): calculate resonable heuristic for left
3098 and right gutter sizes.
3099 (specifier_vars_of_gutter): change left and right gutter sizes to
3101 (calculate_gutter_size_from_display_lines): new function.
3102 (output_gutter): check for resizing on left and right gutters.
3103 (clear_gutter): don't special case top and left gutters.
3104 (specifier_vars_of_gutter): use new signature for
3105 set_specifier_caching.
3107 * glyphs-x.c (x_redisplay_widget): spelling fix.
3108 * glyphs.c (specifier_vars_of_glyphs):
3109 * menubar.c (specifier_vars_of_menubar):
3110 * redisplay.c (specifier_vars_of_redisplay):
3111 * toolbar.c (specifier_vars_of_toolbar):
3112 * window.c (specifier_vars_of_window):
3113 * scrollbar.c (specifier_vars_of_scrollbar):
3114 (complex_vars_of_scrollbar): use new signature for
3115 set_specifier_caching.
3117 * specifier.c (set_specifier_caching): include recompute flag.
3118 (recompute_one_cached_specifier_in_window): always recompute if
3120 (recompute_one_cached_specifier_in_frame): ditto.
3122 * specifier.h (struct specifier_caching): add recompute flag.
3124 2000-10-24 Andy Piper <andy@xemacs.org>
3126 * unexcw.c (copy_executable_and_dump_data_section): add new
3127 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3130 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3132 * console-x.h (x_device): New member modifier_release_time.
3133 * event-Xt.c (x_handle_sticky_modifiers):
3134 Bound interval modifier keys are sticky.
3135 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3136 * events.h: extern it.
3138 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3140 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3142 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3144 * event-stream.c (execute_command_event): Preserve current_events
3145 and the like when event is misc-user-event.
3146 Inhibit quit during the call to maybe_echo_keys.
3148 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3150 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3151 symlink when buffer is killed.
3152 (inhibit_clash_detection): New variable.
3154 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3156 * console.c (Fset_input_method): Trigger redisplay on tty.
3158 2000-11-07 Martin Buchholz <martin@xemacs.org>
3160 * process.c (Fprocess_status): Revert to previous behavior:
3161 (process-status "nosuchprocess") ==> nil
3163 2000-11-06 Martin Buchholz <martin@xemacs.org>
3165 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3166 Work around another GCC 2.95.2 optimizer bug.
3168 2000-11-02 Martin Buchholz <martin@xemacs.org>
3170 * process.c (Fget_process): Use LIST_LOOP_2.
3171 (kill_buffer_processes): Use LIST_LOOP_2.
3173 * minibuf.c (Fall_completions):
3174 Delete old non-functional code for FSF fourth argument.
3176 * frame.c (frame_matches_frame_spec):
3177 Renamed from `frame_matches_frametype'. Update all callers.
3178 (device_matches_device_spec):
3179 Renamed from 'device_matches_console_spec'. Update all callers.
3181 * doc.c (Fsubstitute_command_keys):
3182 Remove buffer overflow crash. Small code cleanups.
3184 * casetab.c (check_case_table): Simpler code.
3186 * window.c (Freplace_buffer_in_windows):
3187 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3188 (and similar implementation) as Fdelete_windows_on.
3191 * alloc.c (Fmake_list):
3192 * alloc.c (make_vector):
3193 * alloc.c (Fmake_vector):
3194 * alloc.c (make_bit_vector):
3195 * alloc.c (Fmake_bit_vector):
3196 * alloc.c (Fbit_vector):
3197 * alloc.c (Fmake_string):
3198 * alloc.c (Fpurecopy):
3199 * alloc.c (Fmemory_limit):
3201 * buffer.c (Fget_buffer):
3202 * buffer.c (Fkill_buffer):
3203 * buffer.c (complex_vars_of_buffer):
3204 * bytecode.c (Fcompiled_function_stack_depth):
3205 * callint.c (Fprefix_numeric_value):
3207 * event-stream.c (Fread_key_sequence):
3209 * casetab.c (Fcase_table_p):
3210 * casetab.c (check_case_table):
3211 * casetab.c (Fset_case_table):
3212 * casetab.c (Fset_standard_case_table):
3214 * chartab.c (Fchar_table_type):
3215 * chartab.c (Freset_char_table):
3216 * chartab.c (Fget_char_table):
3217 * chartab.c (Fget_range_char_table):
3218 * chartab.c (Fput_char_table):
3219 * chartab.c (Fmap_char_table):
3220 * chartab.c (Fcategory_table_p):
3221 * chartab.c (Fcheck_category_at):
3222 * chartab.c (Fchar_in_category_p):
3223 * chartab.c (Fcategory_table):
3224 * chartab.c (Fcopy_category_table):
3225 * chartab.c (Fset_category_table):
3226 * chartab.c (Fcategory_designator_p):
3227 * chartab.c (Fcategory_table_value_p):
3228 * cmds.c (Fdelete_char):
3229 * cmds.c (Fdelete_backward_char):
3230 * cmds.c (Fself_insert_command):
3231 * cmds.c (Fself_insert_internal):
3232 * console.c (Fvalid_console_type_p):
3233 * console.c (Fcdfw_console):
3234 * console.c (Fconsole_type):
3235 * console.c (Fconsole_name):
3236 * console.c (Fconsole_device_list):
3237 * console.c (Fconsole_on_window_system_p):
3241 * data.c (Fsubr_interactive):
3242 * data.c (Fchar_to_int):
3243 * data.c (Fint_to_char):
3246 * data.c (Fnumber_to_string):
3247 * data.c (Fstring_to_number):
3249 * database.c (mark_database):
3250 * database.c (finalize_database):
3251 * database.c (Fdatabase_live_p):
3252 * database.c (Fdatabasep):
3253 * device-x.c (Fx_get_resource):
3254 * device.c (Fdfw_device):
3256 * dired.c (Ffile_name_completion):
3257 * dired.c (Ffile_name_all_completions):
3258 * dired.c (Fuser_name_completion):
3259 * dired.c (Fuser_name_completion_1):
3260 * dired.c (Fuser_name_all_completions):
3261 * doc.c (Fdocumentation):
3262 * doc.c (Fdocumentation_property):
3263 * doc.c (Fsubstitute_command_keys):
3265 * editfns.c (Fchar_to_string):
3266 * editfns.c (Fstring_to_char):
3267 * editfns.c (Ftemp_directory):
3268 * editfns.c (Finsert_char):
3269 * editfns.c (Fbuffer_substring_no_properties):
3270 * editfns.c (Fnarrow_to_region):
3271 * editfns.c (Fchar_equal):
3272 * editfns.c (Fchar_Equal):
3273 * editfns.c (Ftranspose_regions):
3274 * emacs.c (Fdump_emacs):
3276 * eval.c (Fcommand_execute):
3277 * eval.c (Fautoload):
3278 * eval.c (Fbacktrace):
3279 * eval.c (Fbacktrace_frame):
3281 * events.c (Fcopy_event):
3282 * events.c (Fcharacter_to_event):
3283 * events.c (Fevent_button):
3284 * events.c (Fevent_process):
3286 * extents.c (Fnext_extent_change):
3287 * extents.c (Fextent_property):
3289 * faces.c (Fmake_face):
3291 * file-coding.c (Fencode_shift_jis_char):
3292 * file-coding.c (Fencode_big5_char):
3293 * fileio.c (Ffile_name_directory):
3294 * fileio.c (Ffile_name_nondirectory):
3295 * fileio.c (Ffile_name_as_directory):
3296 * fileio.c (Fdirectory_file_name):
3297 * fileio.c (Ffile_truename):
3298 * fileio.c (Fsubstitute_in_file_name):
3299 * fileio.c (Ffile_modes):
3300 * fileio.c (Fset_file_modes):
3301 * fileio.c (Fset_default_file_modes):
3302 * fileio.c (Fverify_visited_file_modtime):
3303 * floatfns.c (Facos):
3304 * floatfns.c (Fasin):
3305 * floatfns.c (Fatan):
3306 * floatfns.c (Fcos):
3307 * floatfns.c (Fsin):
3308 * floatfns.c (Ftan):
3309 * floatfns.c (Fbessel_j0):
3310 * floatfns.c (Fbessel_j1):
3311 * floatfns.c (Fbessel_jn):
3312 * floatfns.c (Fbessel_y0):
3313 * floatfns.c (Fbessel_y1):
3314 * floatfns.c (Fbessel_yn):
3315 * floatfns.c (Ferf):
3316 * floatfns.c (Ferfc):
3317 * floatfns.c (Flog_gamma):
3318 * floatfns.c (Fexp):
3319 * floatfns.c (Fexpt):
3320 * floatfns.c (Flog):
3321 * floatfns.c (Flog10):
3322 * floatfns.c (Fsqrt):
3323 * floatfns.c (Fcube_root):
3324 * floatfns.c (Facosh):
3325 * floatfns.c (Fasinh):
3326 * floatfns.c (Fatanh):
3327 * floatfns.c (Fcosh):
3328 * floatfns.c (Fsinh):
3329 * floatfns.c (Ftanh):
3330 * floatfns.c (Fabs):
3331 * floatfns.c (Ffloat):
3332 * floatfns.c (Flogb):
3333 * floatfns.c (Fceiling):
3334 * floatfns.c (Ffloor):
3335 * floatfns.c (Fround):
3336 * floatfns.c (Ftruncate):
3337 * floatfns.c (Ffceiling):
3338 * floatfns.c (Fffloor):
3339 * floatfns.c (Ffround):
3340 * floatfns.c (Fftruncate):
3341 * fns.c (Fstring_equal):
3342 * fns.c (Fstring_lessp):
3347 * fns.c (Fsubstring):
3349 * fns.c (Fold_assoc):
3350 * fns.c (assoc_no_quit):
3352 * fns.c (Fold_assq):
3353 * fns.c (assq_no_quit):
3355 * fns.c (Fold_rassoc):
3357 * fns.c (Fold_rassq):
3358 * fns.c (rassq_no_quit):
3359 * fns.c (Fremassoc):
3360 * fns.c (remassoc_no_quit):
3362 * fns.c (remassq_no_quit):
3363 * fns.c (Fremrassoc):
3364 * fns.c (Fremrassq):
3365 * fns.c (remrassq_no_quit):
3367 * fns.c (Fplist_get):
3368 * fns.c (Fplist_put):
3369 * fns.c (Fplist_remprop):
3370 * fns.c (Fplist_member):
3371 * fns.c (Flax_plist_get):
3372 * fns.c (Flax_plist_put):
3373 * fns.c (Flax_plist_remprop):
3374 * fns.c (Flax_plist_member):
3376 * fns.c (Fold_equal):
3378 * fns.c (Fbase64_encode_region):
3379 * fns.c (Fbase64_encode_string):
3380 * fns.c (Fbase64_decode_region):
3382 * frame.c (frame_matches_frame_spec):
3383 * frame.c (device_matches_device_spec):
3384 * frame.c (next_frame):
3385 * frame.c (previous_frame):
3386 * frame.c (Fnext_frame):
3387 * frame.c (Fprevious_frame):
3388 * frame.c (Fframe_property):
3389 * frame.c (Fset_frame_height):
3390 * frame.c (Fset_frame_size):
3394 * glyphs.c (decode_error_behavior_flag):
3395 * glyphs.c (Fmake_image_instance):
3396 * indent.c (Findent_to):
3397 * intl.c (Fignore_defer_gettext):
3398 * keymap.c (Fkeymapp):
3399 * keymap.c (Flookup_key):
3401 * lread.c (Fload_internal):
3402 * lread.c (Feval_buffer):
3403 * lread.c (Feval_region):
3404 * macros.c (Fexecute_kbd_macro):
3405 * marker.c (set_marker_internal):
3406 * marker.c (Fset_marker):
3407 * marker.c (set_marker_restricted):
3408 * marker.c (Fcopy_marker):
3409 * marker.c (noseeum_copy_marker):
3411 * menubar.c (Fpopup_menu):
3413 * mule-charset.c (Fcharset_name):
3414 * mule-charset.c (Fchar_charset):
3415 * mule-charset.c (Fchar_octet):
3416 * mule-charset.c (Fsplit_char):
3417 * mule-wnnfns.c (Fwnn_open):
3418 * mule-wnnfns.c (Fwnn_dict_comment):
3419 * mule-wnnfns.c (Fwnn_quit_henkan):
3420 * mule-wnnfns.c (Fwnn_word_toroku):
3421 * mule-wnnfns.c (Fwnn_word_sakujo):
3422 * mule-wnnfns.c (Fwnn_word_use):
3423 * mule-wnnfns.c (Fwnn_hindo_set):
3425 * objects.c (Fmake_color_instance):
3426 * objects.c (Fmake_font_instance):
3427 * print.c (Fwrite_char):
3429 * process.c (mark_process):
3430 * process.c (print_process):
3431 * process.c (get_process_from_usid):
3432 * process.c (Fprocessp):
3433 * process.c (Fprocess_live_p):
3434 * process.c (Fget_process):
3435 * process.c (Fget_buffer_process):
3436 * process.c (get_process):
3437 * process.c (Fprocess_id):
3438 * process.c (Fprocess_name):
3439 * process.c (Fprocess_command):
3440 * process.c (init_process_io_handles):
3441 * process.c (start_process_unwind):
3442 * process.c (Fstart_process_internal):
3443 * process.c (Fopen_multicast_group_internal):
3444 * process.c (Fset_process_window_size):
3445 * process.c (read_process_output):
3446 * process.c (send_process):
3447 * process.c (Fprocess_tty_name):
3448 * process.c (Fset_process_buffer):
3449 * process.c (Fprocess_buffer):
3450 * process.c (Fprocess_mark):
3451 * process.c (set_process_filter):
3452 * process.c (Fset_process_filter):
3453 * process.c (Fprocess_filter):
3454 * process.c (Fprocess_send_region):
3455 * process.c (Fprocess_send_string):
3456 * process.c (exec_sentinel):
3457 * process.c (Fset_process_sentinel):
3458 * process.c (Fprocess_sentinel):
3459 * process.c (status_notify):
3460 * process.c (Fprocess_status):
3461 * process.c (Fprocess_exit_status):
3462 * process.c (process_send_signal):
3463 * process.c (Fprocess_send_eof):
3464 * process.c (deactivate_process):
3465 * process.c (remove_process):
3466 * process.c (Fdelete_process):
3467 * process.c (kill_buffer_processes):
3468 * process.c (Fprocess_kill_without_query):
3469 * process.c (Fprocess_kill_without_query_p):
3471 * rangetab.c (Fget_range_table):
3472 * rangetab.c (Fput_range_table):
3473 * rangetab.c (Fremove_range_table):
3474 * rangetab.c (Fclear_range_table):
3476 * search.c (Fskip_chars_forward):
3477 * search.c (Fskip_chars_backward):
3478 * search.c (Fskip_syntax_forward):
3479 * search.c (Fskip_syntax_backward):
3480 * search.c (search_command):
3481 * search.c (Freplace_match):
3482 * search.c (Fregexp_quote):
3483 * select.c (Fown_selection_internal):
3484 * select.c (Fselection_owner_p):
3485 * select.c (Fselection_exists_p):
3486 * select.c (Fget_selection_internal):
3489 * symbols.c (Fintern):
3490 * symbols.c (Fintern_soft):
3491 * symbols.c (Funintern):
3492 * symbols.c (Fapropos_internal):
3493 * symbols.c (Fset_default):
3495 * syntax.c (Fsyntax_table_p):
3496 * syntax.c (Fcopy_syntax_table):
3497 * syntax.c (Fset_syntax_table):
3498 * syntax.c (Fchar_syntax):
3499 * syntax.c (syntax_match):
3500 * syntax.c (Fmatching_paren):
3501 * syntax.c (Fforward_word):
3502 * syntax.c (scan_lists):
3503 * syntax.c (Fscan_lists):
3504 * syntax.c (Fscan_sexps):
3505 * syntax.c (Fparse_partial_sexp):
3506 * toolbar.c (Fcheck_toolbar_button_syntax):
3509 * window.c (Fwindowp):
3510 * window.c (Fwindow_live_p):
3511 * window.c (Fwindow_point):
3512 * window.c (Fdelete_window):
3513 * window.c (Fnext_window):
3514 * window.c (Fprevious_window):
3515 * window.c (Fother_window):
3516 * window.c (window_loop):
3517 * window.c (Fget_lru_window):
3518 * window.c (Fsplit_window):
3519 * window.c (Fenlarge_window):
3520 * window.c (Fenlarge_window_pixels):
3521 * window.c (Fshrink_window):
3522 * window.c (Fshrink_window_pixels):
3523 * window.c (change_window_height):
3524 * window.c (Fwindow_configuration_p):
3525 * window.c (Fcurrent_window_configuration):
3527 * casefiddle.c (casify_object):
3528 * casefiddle.c (Fupcase):
3529 * casefiddle.c (Fdowncase):
3530 * casefiddle.c (Fcapitalize):
3531 * casefiddle.c (Fupcase_initials):
3532 * casefiddle.c (casify_region_internal):
3533 * casefiddle.c (casify_region):
3534 * casefiddle.c (Fupcase_region):
3535 * casefiddle.c (Fdowncase_region):
3536 * casefiddle.c (Fcapitalize_region):
3537 * casefiddle.c (Fupcase_initials_region):
3538 * casefiddle.c (Fupcase_word):
3539 * casefiddle.c (Fdowncase_word):
3540 * casefiddle.c (Fcapitalize_word):
3541 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3542 Replace 0 with '\0' when working with bytes.
3543 Replace initial "(" with "\(" in docstrings.
3545 2000-11-01 Martin Buchholz <martin@xemacs.org>
3547 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3549 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3551 2000-10-31 Martin Buchholz <martin@xemacs.org>
3553 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3555 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3557 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3560 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3562 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3563 (inhibit_auto_save_session): New variable.
3564 (vars_of_fileio): Declare and initialize them.
3565 * fileio.c (Fdo_auto_save): Don't create session file if
3566 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3568 2000-10-31 Martin Buchholz <martin@xemacs.org>
3570 * sgiplay.c (play_internal): C++ compilability.
3571 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3572 * callproc.c (Fold_call_process_internal):
3573 Remove unused vars `env', `first'.
3574 * scrollbar.c (update_scrollbar_instance):
3575 #### unused var `current_window'.
3576 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3577 etc. within #ifdef NOT_YET.
3578 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3579 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3580 * specifier.c (specifier_instance):
3581 #### unused var `tag'.
3582 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3584 2000-10-27 Martin Buchholz <martin@xemacs.org>
3587 * fns.c (list_sort):
3588 * fns.c (Ffillarray):
3589 * fns.c (bytecode_nconc2):
3592 * fns.c (Fmapconcat):
3593 Be pedantically 64-bit correct. For the time when someone will
3594 want to have a list with length > 2**32.
3596 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3597 Work around MIPSpro compiler bug.
3599 * process-unix.c (unix_kill_child_process): Add snarky comment.
3600 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3602 * config.h.in: Oops, _getpt ==> _getpty
3604 2000-10-26 Martin Buchholz <martin@xemacs.org>
3608 Use void*, not char*, as return type of alloca().
3610 * alloc.c (free_marker): Side effect inside assert expression!
3612 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3614 * mule-charset.c (Fset_charset_ccl_program): To check
3615 if the given ccl program is valid, use setup_ccl_program()
3616 instead of CHECK_VECTOR().
3617 (Fmake_charset): Likewise.
3619 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3621 * faces.c (get_extent_fragment_face_cache_index):
3622 Fix cachel.merged_faces memory leak.
3624 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3626 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3627 Reset MSB of octets obtained by DECODE_SJIS
3628 because of the incompatibility with Emacs.
3629 (ccl_driver)<CCL_ENCODE_SJIS>:
3630 Set MSB of octets before passing them to
3631 ENCODE_SJIS because of the incompatibility
3634 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3636 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3637 (DECLARE_LRECORD): Undo the last change.
3638 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3640 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3642 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3643 the implementation to lrecord_implementations_table.
3645 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3647 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3648 initial value of `lrecord_type_##c_name' and
3649 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3650 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3651 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3652 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3653 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3655 2000-10-17 Martin Buchholz <martin@xemacs.org>
3657 * miscplay.c (sndcnv8S_2mono):
3658 (sndcnv2monounsigned):
3659 (sndcnvULaw_2linear):
3661 Remove implementation-defined behavior.
3663 2000-10-12 Martin Buchholz <martin@xemacs.org>
3665 * input-method-xlib.c: Warning suppression.
3667 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3669 * mule-ccl.c: Sync up with Emacs 21.0.90.
3670 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3672 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3674 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3675 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3676 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3677 leading char belongs to official 2-dimensional charset.
3678 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3679 write the given character as is. Otherwise,
3680 if it is a multibyte char, convert it by
3681 non_ascii_set_charptr_emchar, then write it.
3682 (CCL_WRITE_STRING): Likewise.
3683 (ccl_get_compiled_code): New function.
3684 (setup_ccl_program): When ccl_prog is invalid,
3686 (Fregister_code_conversion_map): New function.
3687 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3689 * mule-ccl.h: Sync up with Emacs 21.0.90.
3690 (Fregister_ccl_program): export it.
3692 * redisplay-msw.c (separate_textual_runs):
3693 If ccl program is not valid, don't do ccl conversion.
3695 * redisplay-x.c (separate_textual_runs): Ditto.
3697 * file-coding.c (Fmake_coding_system):
3698 When type is ccl and value is vector, register it
3699 with a proper symbol. And checks whether the
3700 given ccl program is valid.
3701 (mule_decode): When calling ccl_driver, if src indicates
3702 NULL pointer, set an empty string instead.
3703 (mule_encode): Likewise.
3705 2000-10-11 Martin Buchholz <martin@xemacs.org>
3707 The following large batch of changes gets us back to a state of
3708 C++ compilability. Extbyte is now a char, which means that
3709 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3711 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3713 * sound.c (Fplay_sound): Type correctness.
3715 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3716 (x_get_window_property): Type correctness.
3717 (receive_incremental_selection): unsigned char ==> Extbyte
3718 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3719 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3720 (Fx_store_cutbuffer_internal): Type correctness.
3722 * process-unix.c (try_to_initialize_subtty): Type correctness.
3724 * objects-x.c (x_print_color_instance): Type correctness.
3725 (x_print_font_instance): Type correctness.
3726 (x_list_fonts): SExtbyte ==> Extbyte.
3727 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3728 (x_find_charset_font): SExtbyte ==> Extbyte.
3729 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3730 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3731 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3734 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3735 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3736 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3737 (BYTE_C0_P): Use bit ops for char-signedness safety.
3738 (BYTE_C1_P): Use bit ops for char-signedness safety.
3739 (CHARSET_BY_LEADING_BYTE):
3740 (CHARSET_BY_ATTRIBUTES):
3741 Always use inline function.
3742 Use type_checking_assert.
3745 * mule-charset.c (non_ascii_charptr_copy_char):
3746 Modify to work with both ASCII and non-ASCII characters.
3747 Improve docs and variable names.
3748 Replace over-clever fall-through switch with a simple loop.
3749 (Lstream_get_emchar_1):
3750 Replace over-clever fall-through switch with a simple loop.
3752 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3753 Warning suppression.
3755 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3756 the return value of Lstream_getc, which could be EOF as well.
3758 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3760 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3761 APIs can be used on Extbytes without casts. Risky!
3765 * input-method-xlib.c (XIM_init_device):
3766 Use Xlib.h instead of IntrinsicP.h.
3767 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3768 which will break in X11R7.
3769 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3770 to call XRegisterIMInstantiateCallback with correct types.
3772 * gui-x.c (button_item_to_widget_value): Type correctness.
3774 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3776 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3777 (xbm_instantiate_1): Type correctness.
3778 (BUILD_GLYPH_INST): Type correctness.
3780 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3783 (decode_coding_sjis):
3784 (decode_coding_big5):
3785 (decode_coding_ucs4):
3786 (decode_coding_utf8):
3787 (decode_coding_iso2022):
3788 (decode_coding_no_conversion):
3789 Make all decoding functions take an Extbyte * arg.
3790 (encode_coding_sjis):
3791 (encode_coding_big5):
3792 (encode_coding_ucs4):
3793 (encode_coding_utf8):
3794 (encode_coding_iso2022):
3795 (encode_coding_no_conversion):
3796 Make all encoding functions take a Bufbyte * arg.
3797 Use size_t instead of unsigned int for memory sizes.
3798 Only cast to unsigned char whenever dereferencing Extbyte *.
3800 * doc.c (unparesseuxify_doc_string): Type correctness.
3802 * console-x.c (split_up_display_spec):
3803 Rewrite without using details of internal string representation.
3804 (x_semi_canonicalize_device_connection): Type correctness.
3807 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3808 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3809 (HAVE_XFREE386): Removed.
3811 * buffer.h (DEC_CHARPTR): `const' correctness.
3812 (bufbyte_strcmp): New.
3813 (bufbyte_memcmp): New.
3815 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3817 * buffer.h (XCHAR_OR_CHAR_INT):
3818 Always use inline function.
3819 Remove redundant type checking assert() - XINT will abort quite nicely.
3821 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3823 * search.c (Freplace_match): Set newtext to an empty string.
3825 2000-10-10 Martin Buchholz <martin@xemacs.org>
3827 * s/decosf1-3.h: Remove #include of stropts.h
3828 * s/ptx.h: Remove #include of stropts.h
3829 * s/usg5-4.h: Remove #include of stropts.h
3832 Use stropts.h, not sys/stropts.h.
3833 Use strtio.h, not sys/strtio.h.
3835 2000-10-04 Martin Buchholz <martin@xemacs.org>
3837 * XEmacs 21.2.36 is released.
3839 2000-09-21 Andy Piper <andy@xemacs.org>
3841 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3842 changes still involve copying the widget tree.
3843 (update_widget_face): make sure a change is register in the widget
3844 tree. Call update_tab_widget_face appropriately.
3845 (update_tab_widget_face): ditto.
3846 (x_tab_control_redisplay): make sure non-structural changes still
3847 involve copying the widget tree.
3849 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3851 * lread.c (locate_file): Check the path element is non-nil.
3853 2000-10-02 Martin Buchholz <martin@xemacs.org>
3855 * lisp.h: Warning suppression for SCO compilers.
3857 * redisplay-tty.c (reset_tty_modes): Fix crash.
3858 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3860 2000-09-27 Martin Buchholz <martin@xemacs.org>
3862 Big signal/process handling overhaul. Bugs fixed:
3863 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3864 M-x comint-kill-subjob should work for both values nil and t of
3865 process-connection-type. It was broken on most platforms.
3866 Testing on Irix and Cygwin still needed. Other plaforms tested.
3867 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3868 * process-unix.c: Signal/Process handling overhaul.
3869 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3870 (allocate_pty): Use all available modern methods of allocating
3871 ptys, falling back to old style BSD allocation as a last resort.
3872 Use allegedly more secure Unix98 pty allocation by default.
3873 (allocate_pty_the_old_fashioned_way): New. the last resort.
3874 (unix_create_process): Push ptem, ldterm, ttcompat where
3875 available. Autoconfiscate.
3876 (try_to_initialize_subtty): New.
3877 (unix_kill_child_process): Proper signal handling for ptys on most
3878 platforms, using special knowledge of AIX, BSD, etc...
3879 (unix_create_process): Always disconnect_controlling_terminal() for
3880 subprocesses, whether using ptys or not.
3881 * process.h: Remove old getpt-dependent PTY code.
3882 * process.c (Fprocess_send_signal): New, obvious generic function.
3883 (decode_signal): New.
3884 (Finterrupt_process):
3888 (Fcontinue_process):
3889 (Fsignal_process): Use decode_signal.
3890 (process_send_signal):
3891 Many docstring corrections.
3892 Allow any signal to be sent to a process object.
3893 * config.h.in: Add symbols for big signal/process overhaul.
3894 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3895 * sysproc.h: Include process-related headers, where available:
3896 sys/stropts.h sys/strtio.h pty.h libutil.h
3904 Remove old S&M pty stuff.
3905 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3906 * systty.h: Simplify cpp hackery, improve comments.
3907 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3909 * editfns.c (Fformat_time_string):
3910 Be a little more paranoid with the return value of ctime.
3912 * fileio.c (check_executable):
3914 Use symbolic constants X_OK, W_OK.
3916 * console-x.c (split_up_display_spec): Fix a warning.
3918 2000-10-02 Martin Buchholz <martin@xemacs.org>
3920 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3921 * ntproc.c (sys_spawnve): make_string ==> build_string
3922 Small clarity improvements.
3924 2000-09-30 Martin Buchholz <martin@xemacs.org>
3926 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3928 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3930 * config.h.in (HAVE_STRCASECMP): Remove.
3932 2000-09-29 Martin Buchholz <martin@xemacs.org>
3934 * redisplay-output.c (redisplay_output_pixmap):
3935 Cleaner and possibly more 64-bit correct code.
3937 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3939 * dumper.c (pdump_load_finish): move restoration of
3940 `noninteractive1' to emacs.c (main_1).
3941 * emacs.c (main_1): protect LISP-visible command-line flags
3944 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3946 * Makefile.in.in (versionclean): Use EXE_TARGET and
3947 DUMP_TARGET instead of literal program names.
3949 2000-09-20 Martin Buchholz <martin@xemacs.org>
3951 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3953 2000-09-19 Martin Buchholz <martin@xemacs.org>
3955 * *: Spelling mega-patch
3957 2000-09-19 Martin Buchholz <martin@xemacs.org>
3959 * fns.c (bad_bad_turtle):
3960 Delete "Eek!" comment, since we fixed the bug to which it refers.
3962 2000-09-16 Martin Buchholz <martin@xemacs.org>
3964 * alloca.c: Replace REGISTER with register.
3966 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3968 * file-coding.c (ucs_to_char): Use countof.
3970 2000-09-16 Martin Buchholz <martin@xemacs.org>
3972 * file-coding.c: (ucs_to_char):
3973 (complex_vars_of_file_coding):
3974 Use countof instead of sizeof.
3975 Use CHECK_NATNUM instead of CHECK_INT.
3977 * sysdep.c (strcasecmp): Remove.
3978 * device-x.c (ascii_strcasecmp): New.
3979 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
3980 Avoid using non-standard non-portable strcasecmp.
3982 2000-09-16 Martin Buchholz <martin@xemacs.org>
3984 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
3985 * font-lock.c: remove reference to emacsfns.h.
3986 * search.c: small doc improvement.
3987 * event-Xt.c: correct file names in comments.
3988 * console-x.h Correct file names in comments.
3989 * frame.c: Correct file names in comments.
3990 * event-stream.c: remove Energize from comments.
3992 2000-09-15 Martin Buchholz <martin@xemacs.org>
3994 * symeval.h (DEFERROR_STANDARD):
3997 (DEFSYMBOL_NO_DUMP):
3998 (DEFSYMBOL_MULTIWORD_PREDICATE):
3999 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
4001 The construct &##name is not sensible C.
4002 Fixes compilation errors with Unixware native compiler.
4004 2000-09-14 Martin Buchholz <martin@xemacs.org>
4006 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
4007 (next_frame_internal): Removed. We now just have next_frame.
4009 Write a simpler and cleaner one-pass algorithm.
4010 Remove called_from_delete_device arg and #ifdefed-out code.
4012 Renamed from prev_frame. Update callers.
4013 Cleaned up to have an analogous implementation to next_frame.
4014 (other_visible_frames_internal): Remove the
4015 called_from_delete_device bogus arg, and hence, remove this
4016 function. Just use other_visible_frames().
4018 * window.c (Fnext_window):
4020 Since next_frame() is guaranteed to return a frame, remove check
4021 for nil inserted in previous patch.
4024 Make code look more like Fnext_window.
4026 Respect the `console' arg when iterating through windows.
4027 Fixes bug: (get-buffer-window buffer t device) not respecting
4029 This function needs more work, as others have pointed out.
4031 * frame.h: Rename prev_frame to previous_frame.
4032 device_matches_console_spec no longer takes a `frame' arg.
4037 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4038 From "Golubev I. N." <gin@mo.msk.ru>.
4040 * make-src-depend: Fix typo.
4042 2000-09-13 Martin Buchholz <martin@xemacs.org>
4044 * window.c (Fnext_window):
4045 next_frame() might return nil, not a frame.
4047 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4049 * frame.c (next_frame_internal):
4050 We've passed a frame if we've passed its device.
4052 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4053 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4055 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4057 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4058 Allow option to suppress accelerators in menu/dialog items.
4059 (populate_or_checksum_helper): Pass dialog title through above.
4061 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4063 * event-msw.c (mswindows_key_to_emacs_keysym):
4064 Add "pause" key, fix "menu" key.
4066 2000-09-09 Martin Buchholz <martin@xemacs.org>
4068 * eval.c (reinit_vars_of_eval):
4069 Increase max_lisp_eval_depth to 1000,
4070 required for thai-xtis.el to byte-compile under some circumstances.
4072 2000-09-04 Martin Buchholz <martin@xemacs.org>
4074 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4077 2000-09-01 Martin Buchholz <martin@xemacs.org>
4079 * make-src-depend: Make the generated Makefiles smaller.
4081 * s/hpux.h (SETUP_SLAVE_PTY):
4082 Provide a %d in the format string for the errno argument.
4084 * editfns.c (Ftemp_directory):
4086 Avoid buffer overrun on very long file name.
4088 * input-method-xlib.c (XIM_init_device):
4089 6th parameter of XRegisterIMInstantiateCallback has different
4090 pointer types on different OSes, so simply cast to (void *).
4092 * unexhp9k800.c: Warning fixes. Fiddly changes.
4094 * sysdll.c (dll_open):
4095 shl_load will hang hard if passed a NULL filename.
4096 Simply return NULL for compatibility with dlopen.
4097 * sysdll.c: Conform to XEmacs coding standards.
4099 * sysdep.c (get_pty_max_bytes):
4100 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4102 2000-08-31 Martin Buchholz <martin@xemacs.org>
4104 * tooltalk.c: Add #include <syssignal.h>
4106 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4108 * s/hpux.h: Don't use undefined function sigunblock().
4110 2000-08-31 Martin Buchholz <martin@xemacs.org>
4112 * config.h.in: Add HAVE_BALLOON_HELP.
4113 * emacs.c: Use HAVE_BALLOON_HELP.
4114 * Makefile.in.in (x_objs):
4115 Make Balloon Help conditional on finding shape.h.
4117 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4119 * syntax.c (regex_emacs_buffer_p): New variable.
4120 * syntax.h (regex_emacs_buffer_p): extern.
4121 * search.c (looking_at_1):
4123 (fast_string_match):
4124 (search_buffer): Set regex_emacs_buffer_p.
4125 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4126 when before_dot, at_dot, after_dot.
4128 2000-08-23 Andy Piper <andy@xemacs.org>
4130 * gui-x.c (popup_selection_callback): Only set action_occurred
4131 when we really have an image instance.
4132 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4134 2000-08-23 Andy Piper <andy@xemacs.org>
4136 * gui-msw.c (mswindows_handle_gui_wm_command): set
4138 * gui-x.c (popup_selection_callback): ditto.
4140 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4141 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4142 (struct Lisp_Image_Instance): add action_occurred flag.
4144 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4145 (image_instance_changed): ditto.
4146 (reset_frame_subwindow_instance_cache): only unmap windows - do
4147 not remove them from the cache also.
4149 * glyphs-widget.c (tab_control_update): better debug.
4150 (progress_gauge_update): ditto.
4151 (layout_update): ditto.
4152 (layout_instantiate): ditto.
4153 (tab_control_order_only_changed): cope with null pending items.
4155 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4156 debug. Force selection of an item when an action occurred. Cope
4157 with null pending_items.
4158 (mswindows_progress_gauge_redisplay): better debug.
4159 * glyphs-x.c (x_tab_control_redisplay): ditto.
4161 * redisplay.c (redisplay_frame): reset the frame cache if the
4164 * window.c (Fset_window_configuration): potentially re-enable
4166 (window_unmap_subwindows): need to finalize instances here since
4167 it is only used in mark_window_as_deleted.
4169 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4171 * nas.c (SndOpenDataForReading):
4172 nas.c (WaveOpenDataForReading):
4173 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4174 Somehow escaped from the 2000-08-14 patch.
4176 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4178 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4179 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4181 2000-08-21 Andy Piper <andy@xemacs.org>
4183 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4184 window if it is not already displayed.
4186 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4187 it is not already displayed.
4189 * window.c (Fset_window_configuration): don't reset the frame
4192 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4193 instances from the frame cache if we are actually finalizing them.
4194 (reset_frame_subwindow_instance_cache): reset frame cache only
4195 after unmapping everything.
4196 (map_subwindow): set displayed flag after mapping.
4198 2000-08-21 Martin Buchholz <martin@xemacs.org>
4200 * data.c (indirect_function):
4201 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4203 * eval.c (function_argcount):
4204 Use original function when signaling errors.
4206 2000-08-18 Andy Piper <andy@xemacs.org>
4208 * frame.c (delete_frame_internal): use new
4209 free_frame_subwindow_instances name.
4211 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4212 (add_tab_item): make return type correct.
4213 (mswindows_tab_control_instantiate): assert index of tab.
4214 (mswindows_tab_control_redisplay): Re-code to use
4215 gui_item_equal_sans_selected and gui_item_list_find_selected.
4217 * glyphs-widget.c (tab_control_update): Correct comment.
4219 * window.c (window_unmap_subwindows): use new
4220 unmap_subwindow_instance_cache_mapper.
4221 (window_unmap_subwindows_cache_mapper): deleted.
4222 (Fset_window_configuration): comparisons should now be with
4223 EQ. Preserve the subwindow instance cache across configuration
4225 (allocate_window): ditto.
4226 (make_dummy_parent): ditto.
4228 * glyphs.c (free_frame_subwindow_instances): rename from
4229 free_frame_subwindow_instance_cache. finalize all instances rather
4230 than just those in the display cache.
4231 (finalize_all_subwindow_instances): walk windows unmapping and
4232 finalizing subwindows.
4233 (unmap_subwindow_instance_cache_mapper): moved from
4234 window.c. Allow finalization as well as unmapping.
4236 * gui.c (gui_item_list_find_selected): new function.
4238 * gui.h (gui_item_list_find_selected): declare.
4240 * glyphs-x.c (x_tab_control_redisplay): pick tab
4241 explicitly. Re-code to use gui_item_equal_sans_selected and
4242 gui_item_list_find_selected.
4244 * glyphs-x.h: add lwlib-utils.h
4246 * buffer.c (Frecord_buffer): undo previous change.
4248 2000-08-09 Vin Shelton <acs@xemacs.org>
4250 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4251 possible. Create temporary files more securely. The patch was
4252 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4253 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4254 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4257 2000-08-07 Ben Wing <ben@xemacs.org>
4259 * getloadavg.c: remove duplicate (and windows-breaking)
4260 includes of fcntl.h and sys/file.h.
4262 * nt.c: remove duplicate getloadavg() definition.
4264 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4267 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4269 * eval.c (function_argcount): If function needs to be autoloaded
4270 actually use the loaded definition.
4273 2000-08-05 Ben Wing <ben@xemacs.org>
4275 * getloadavg.c: add prototype for getloadavg(). remove
4276 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4277 of the code). remove duplicate header includes.
4279 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4281 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4282 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4283 useful load average.
4285 * alloc.c (reinit_alloc_once_early): removed references to
4286 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4287 the lisp vars are the only things referencing the malloc_sbrk_*
4288 vars, and they were already if 0'd out. these vars only exist
4289 in the older malloc.c, which is basically unused, and they're
4290 only for informational purposes.
4292 * m\*.h: removed useless VIRT_ADDR_VARIES.
4294 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4296 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4298 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4299 color if the image is a mono pixmap.
4301 2000-07-30 Ben Wing <ben@xemacs.org>
4303 * Makefile.in.in (release):
4306 * buffer.c (directory_is_current_directory):
4307 * dired-msw.c (mswindows_get_files):
4309 * dired.c (Fdirectory_files):
4310 * dired.c (file_name_completion_stat):
4311 * dired.c (Ffile_attributes):
4312 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4313 preprocessor tricks, to avoid problems on some machines
4316 * callproc.c (egetenv): GC docs.
4319 * console-msw.h (struct mswindows_dialog_id):
4320 * lrecord.h (lrecord_type):
4321 New object for use with MSW dialogs.
4323 * console.h (struct console_methods):
4324 New enable/disable frame methods, for proper modal dialogs.
4326 * device-msw.c (msprinter_default_printer): Fix to follow
4327 proper Mule conventions.
4330 * device-msw.c (signal_open_printer_error):
4331 * device-msw.c (msprinter_init_device):
4332 * device-msw.c (ensure_not_printing):
4333 * device-msw.c (plist_get_margin):
4334 * device-msw.c (Fmsprinter_select_settings):
4335 * device-msw.c (finalize_devmode):
4336 * device-msw.c (Fmsprinter_settings_despecialize):
4337 * device-msw.c (signal_enum_priner_error):
4338 * extents.c (decode_extent):
4339 * extents.c (decode_map_extents_flags):
4340 * extents.c (decode_extent_at_flag):
4341 * extents.c (Fextent_at):
4342 * extents.c (Fextents_at):
4343 * extents.c (symbol_to_glyph_layout):
4344 [[[[2]]]] Use structured errors.
4347 * dialog-msw.c (mswindows_is_dialog_msg):
4348 * dialog-msw.c (mark_mswindows_dialog_id):
4349 * dialog-msw.c (dialog_proc):
4350 * dialog-msw.c (handle_question_dialog_box):
4351 * dialog-msw.c (syms_of_dialog_mswindows):
4352 Define new object to clean up marking; use it as a dialog identifier.
4353 Call new delete-dialog-box-hook.
4355 * dialog-x.c (dbox_selection_callback):
4356 * dialog-x.c (dbox_descriptor_to_widget_value):
4357 * dialog-x.c (x_make_dialog_box_internal):
4358 Call new delete-dialog-box-hook.
4362 * dialog.c (syms_of_dialog):
4363 * dialog.c (vars_of_dialog):
4364 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4367 * eval.c (signal_call_debugger):
4368 when noninteractive, output stack traces on the console instead
4369 of in a (never-seen) buffer.
4371 * eval.c (signal_type_error):
4372 * eval.c (invalid_argument_2):
4374 new funs for use w/structured errors.
4377 * event-Xt.c (x_to_emacs_keysym):
4378 * event-Xt.c (describe_event):
4379 * event-Xt.c (emacs_Xt_event_handler):
4380 * event-Xt.c (vars_of_event_Xt):
4382 * event-msw.c (mswindows_wnd_proc):
4383 * event-msw.c (vars_of_event_mswindows):
4384 rename {x,mswindows}-debug-events to debug-{}-events for
4385 consistency with other debug-foo variables.
4388 document next-event more clearly.
4390 * fileio.c (Ffile_name_directory):
4391 * fileio.c (Ffile_name_nondirectory):
4392 * fileio.c (Funhandled_file_name_directory):
4393 * fileio.c (file_name_as_directory):
4394 * fileio.c (Ffile_name_as_directory):
4395 * fileio.c (directory_file_name):
4396 * fileio.c (Fdirectory_file_name):
4397 * fileio.c (Fmake_temp_name):
4398 * fileio.c (Ffile_truename):
4399 * fileio.c (Fsubstitute_in_file_name):
4400 * fileio.c (expand_and_dir_to_file):
4401 * fileio.c (barf_or_query_if_file_exists):
4402 * fileio.c (check_executable):
4403 * fileio.c (Ffile_exists_p):
4404 * fileio.c (Ffile_writable_p):
4405 * fileio.c (Ffile_directory_p):
4406 * fileio.c (Ffile_regular_p):
4407 * fileio.c (Ffile_modes):
4408 * fileio.c (Ffile_newer_than_file_p):
4409 * fileio.c (Fverify_visited_file_modtime):
4410 * fileio.c (Fset_visited_file_modtime):
4411 * fileio.c (auto_save_1):
4416 * frame-msw.c (mswindows_init_frame_1):
4417 * frame-msw.c (mswindows_enable_frame):
4418 * frame-msw.c (error_frame_unsizable):
4419 * frame-msw.c (msprinter_init_frame_1):
4420 * frame-msw.c (msprinter_init_frame_3):
4421 * frame-msw.c (console_type_create_frame_mswindows):
4423 implement new enable/disable frame methods.
4426 * frame-x.c (x_enable_frame):
4427 * frame-x.c (console_type_create_frame_x):
4428 implement new enable/disable frame methods.
4431 * frame.c (Fdisable_frame):
4432 * frame.c (syms_of_frame):
4433 * frame.h (struct frame):
4434 implement new enable/disable frame methods/functions.
4439 * glyphs-msw.c (mswindows_widget_instantiate):
4440 comment that initial-focus should be implemented.
4443 * glyphs-widget.c (check_valid_instantiator):
4444 * glyphs-widget.c (check_valid_orientation):
4445 * glyphs-widget.c (check_valid_tab_orientation):
4446 * glyphs-widget.c (check_valid_justification):
4447 * glyphs-widget.c (check_valid_border):
4448 * glyphs-widget.c (check_valid_callback):
4449 * glyphs-widget.c (check_valid_int_or_function):
4450 * glyphs-widget.c (check_valid_string_or_vector):
4451 * glyphs-widget.c (check_valid_item_list_1):
4452 * glyphs-widget.c (widget_validate):
4453 * glyphs-widget.c (combo_box_validate):
4454 * glyphs-widget.c (widget_instantiate):
4455 * glyphs-widget.c (syms_of_glyphs_widget):
4456 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4457 * glyphs-widget.c (image_instantiator_combo_box):
4458 * glyphs-widget.c (image_instantiator_scrollbar):
4459 * glyphs-widget.c (image_instantiator_tab_control):
4460 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4462 support (unimplemented) keyword initial-focus.
4463 reindent long macros.
4465 * glyphs-x.c (x_redisplay_widget):
4466 * glyphs-x.c (x_button_instantiate):
4467 * glyphs-x.c (x_button_redisplay):
4468 * glyphs-x.c (x_progress_gauge_instantiate):
4469 * glyphs-x.c (x_edit_field_instantiate):
4470 * glyphs-x.c (x_combo_box_instantiate):
4471 * glyphs-x.c (x_tab_control_instantiate):
4472 * glyphs-x.c (x_label_instantiate):
4474 * gui-x.c (button_item_to_widget_value):
4475 * gui-x.c (gui_items_to_widget_values_1):
4476 * gui-x.c (gui_item_children_to_widget_values):
4477 * gui-x.c (gui_items_to_widget_values):
4479 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4480 add new flag to gui-parsing routines to indicate whether
4481 accelerator specs should be supported.
4483 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4485 * glyphs.h (struct Lisp_Image_Instance):
4486 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4487 add initial-focus flag.
4490 * gui.c (syms_of_gui):
4491 * gui.c (vars_of_gui):
4492 clean up menu-no-selection-hook.
4495 support delete-dialog-box-hook.
4497 * lread.c (Fload_internal):
4498 * lread.c (locate_file_in_directory_mapper):
4502 * lrecord.h (struct toolbar_button):
4503 * lrecord.h (syms_of_toolbar):
4504 document how to create a new object.
4506 * menubar-msw.c (mswindows_char_is_accelerator):
4507 may be called on frames w/o menus.
4509 * menubar.c (vars_of_menubar):
4510 clean up :filter docs.
4517 * process-nt.c (validate_signal_number):
4518 * process-nt.c (signal_cannot_launch):
4519 * process-nt.c (nt_create_process):
4520 * process-nt.c (nt_send_process):
4521 * process-nt.c (nt_kill_child_process):
4522 * process-nt.c (nt_open_network_stream):
4523 * process-nt.c (syms_of_process_nt):
4525 delete quote-handling. call new lisp code that does it better.
4527 * process-unix.c (connect_to_file_descriptor):
4528 * process-unix.c (allocate_pty):
4529 * process-unix.c (unix_send_process):
4530 * process-unix.c (unix_kill_child_process):
4531 * process-unix.c (unix_open_network_stream):
4532 * process-unix.c (unix_open_multicast_group):
4536 * process.c (Fstart_process_internal):
4537 (2). need to canonicalize process path even if absolute.
4539 * select-msw.c (symbol_to_ms_cf):
4540 * select-msw.c (ms_cf_to_symbol):
4541 * select-msw.c (cf_is_autofreed):
4542 * select-msw.c (mswindows_destroy_selection):
4544 * select.c (syms_of_select):
4546 support dibv5, fix bugs. (from Mike Alexander)
4548 * select.c (Fget_selection_internal):
4549 * select.c (select_convert_out):
4552 * sysdep.c (xemacs_stat):
4557 but keep original stat() here because we provide encapsulation
4561 * sysfile.h (fstat):
4562 remove stat garbage.
4566 don't include tchar.h. it's inappropriate because it makes
4567 compile-time distinctions when we want runtime distinctions.
4568 (we provide our own tchar replacements)
4571 use default object printer for toolbar-button.
4574 make sure we don't encapsulate.
4576 * window.c (vars_of_window):
4577 emphasize that temp-buffer-show-hook is obsolete.
4579 2000-08-05 Martin Buchholz <martin@xemacs.org>
4581 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4582 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4584 * events.c (Fevent_timestamp_lessp):
4585 Not 64-bit clean. Use EMACS_INT, not int.
4587 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4589 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4590 unsigned int and changed the last enum to
4591 lrecord_type_last_built_in_type.
4592 (lrecord_implementations_table): changed prototype to know how
4593 long the array is supposed to be.
4594 (lrecord_type_count): new unsigned int to keep track of the
4595 current number of lisp lrecord types.
4596 (DEFINE_EXTERNAL_LRECORD):
4597 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4598 dynamic-modules to declare new lisp types. They are the same
4599 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4600 int for each new type, and increment lrecord_type_count by 1.
4602 * alloc.c (lrecord_implementations_table): Changed to reference
4603 lrecord_type_last_built_in_type for the size of the array.
4604 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4606 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4608 * glyphs.h (check_valid_item_list): Renamed from
4609 check_valid_item_list_1.
4611 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4613 * select.c (Qselect_coerce): New.
4614 * select.c (Vselection_coercion_alist): New.
4615 * select.c (syms_of_select): Declare.
4616 * select.c (get-selection-internal): Use it.
4617 Use the new select-coerce functionality.
4619 * select.c (select_coerce): New.
4620 * select.h (select_coerce): Declare.
4621 New function to coerce one type of data into another.
4623 2000-08-03 Martin Buchholz <martin@xemacs.org>
4625 * callproc.c (Fcall_process_internal):
4626 (Fcall_process_internal):
4627 * process-unix.c (unix_create_process):
4628 Save and restore the value of errno, so that error messages are accurate.
4630 2000-08-01 Martin Buchholz <martin@xemacs.org>
4632 * elhash.c (print_hash_table):
4633 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4634 Prettify docstrings and indentation.
4636 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4638 * window.c (Fwindow_pixel_edges): Subtract frame border and
4641 2000-07-31 Andy Piper <andy@xemacs.org>
4643 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4644 will acknowledge the change.
4646 * glyphs.h: declare tab_control_order_only_changed.
4648 * glyphs-x.c (x_tab_control_redisplay): use
4649 tab_control_order_only_changed.
4651 * glyphs-widget.c (tab_control_order_only_changed): new function.
4653 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4654 tab_control_order_only_changed.
4656 * gui.c (gui_item_equal_sans_selected): new function.
4657 (gui_item_equal): use it.
4659 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4660 :properties in favor of :items..
4662 * glyphs-widget.c (check_valid_item_list): rename from
4663 check_valid_item_list_1.
4664 (check_valid_item_list_1): renamed.
4665 (combo_box_validate): deprecate :properties in favor of :items.
4666 (widget_instantiate): ditto.
4667 (tab_control_update): ditto.
4668 (image_instantiator_combo_box): ditto.
4669 (image_instantiator_tree_view): ditto.
4670 (image_instantiator_tab_control): ditto.
4671 (layout_post_instantiate): remove dead code.
4673 * print.c (debug_print_no_newline): only write to debugger if in
4676 * elhash.c (Fmake_hash_table): update doc string.
4678 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4679 messages whilst in GC. This at least stops XEmacs crashing but has
4680 the potential for wierd behaviour.
4682 2000-07-31 Martin Buchholz <martin@xemacs.org>
4685 Make existence of s&m files optional.
4687 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4688 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4689 * s/gnu.h: Remove HAVE_GETLOADAVG.
4690 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4691 * s/sol2.h: Remove HAVE_GETLOADAVG.
4692 * lisp.h: Remove getloadavg() declaration.
4694 Include <sys/loadavg.h> if available.
4695 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4696 * config.h.in: Group together getloadavg()-related macros.
4697 Use only configure-time tests to detect getloadavg().
4699 2000-07-30 Martin Buchholz <martin@xemacs.org>
4701 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4703 2000-07-25 Andy Piper <andy@xemacs.org>
4705 * syswindows.h: add tchar.h for native builds.
4707 * frame.c (syms_of_frame): remove set-glyph-image.
4709 * general-slots.h: add Qset_glyph_image.
4711 * glyphs-widget.c (layout_update): add domain arg to
4713 (syms_of_glyphs_widget): remove set-glyph-image.
4715 2000-07-23 Ben Wing <ben@xemacs.org>
4717 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4720 2000-07-22 Andy Piper <andy@xemacs.org>
4722 * symsinit.h: add syms_of_win32().
4724 * gui-msw.c (syms_of_gui_mswindows): remove
4725 Fmswindows_shell_execute.
4726 (Fmswindows_shell_execute): moved to win32.c.
4728 * emacs.c (main_1): add syms_of_win32 ().
4730 * win32.c (init_potentially_nonexistent_functions): rewrite in
4731 compiler-friendly terms.
4732 (Fmswindows_shell_execute): move here from gui-msw.c.
4733 (syms_of_win32): new.
4735 * device-msw.c (Fmswindows_printer_list): clean up args to
4737 Don't include tchar under cygwin or mingw.
4738 (msprinter_default_printer): make cygwin-friendly.
4740 2000-07-21 Andy Piper <andy@xemacs.org>
4742 * glyphs-widget.c (image_instantiator_tree_view): use tab
4743 control's update function.
4744 (layout_property): new function. Retrieve items.
4746 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4747 function. Re-populate the tree view from the pending items.
4749 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4750 is designated the parent if the domain is an image instance. This
4751 is needed so that dirtiness can be cascade up the hierarchy and
4752 thus for layout children to be redisplayed correctly.
4753 (allocate_image_instance): rename glyph -> parent.
4755 * redisplay.h: change redisplay_output_layout signature.
4757 * redisplay-msw.c (mswindows_output_display_block): use domain
4760 * redisplay-x.c (x_output_display_block): use domain arg.
4762 2000-07-10 Andy Piper <andy@xemacs.org>
4764 * window.c (Fset_window_configuration): add comment.
4766 * redisplay-output.c (compare_runes):
4767 (redisplay_output_subwindow): redisplay rather than update subwindow.
4768 (redisplay_output_layout): ditto.
4770 * redisplay-msw.c (mswindows_frame_output_end):
4771 (mswindows_frame_output_end): make defer window pos optional.
4773 * lisp.h: add Flast.
4775 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4776 normalize method. Change update method to be for changed
4777 instantiators. Add redisplay method. Change signature of layout
4779 (struct Lisp_Image_Instance): add instantiator.
4780 (IMAGE_INSTANCE_INSTANTIATOR): new.
4781 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4782 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4783 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4786 (find_instantiator_differences): new function.
4787 (Fset_instantiator_property): new convenience function.
4788 (check_image_instance_structure): strictly check for vector
4790 (normalize_image_instantiator): make non-static.
4791 (instantiate_image_instantiator): pass on dest_mask and use new
4792 signatures for image_instance_layout and friends.
4793 (mark_image_instance): mark the instantiator. Mark the subwindow
4794 face not the widget face.
4795 (image_instance_equal): add instantiator.
4796 (image_instance_hash): ditto.
4797 (allocate_image_instance): ditto.
4798 (Fset_image_instance_property): removed.
4799 (Fimage_instance_file_name): ditto.
4800 (Fcolorize_image_instance): ditto.
4801 (image_instance_layout): add offsets to be set.
4802 (update_image_instance): new function. update an image instance
4803 from its changed instantiator.
4804 (inherit_normalize): add dest_mask.
4805 (xbm_normalize): ditto.
4806 (xface_normalize): ditto.
4807 (xpm_normalize): ditto.
4808 (text_update): set_property -> update.
4809 (image_instantiate): use the glyph identity as a hash key, not the
4811 (glyph_width): use new image_instance_layout signature.
4812 (glyph_ascent): ditto.
4813 (glyph_descent): ditto.
4814 (glyph_height): ditto.
4815 (glyph_query_geometry): ressurrect.
4816 (glyph_layout): ditto.
4817 (redisplay_subwindow): update -> redisplay.
4818 (syms_of_glyphs): add Fset_instantiator_property.
4819 (image_instantiator_format_create): set_property -> update.
4822 (autodetect_normalize): add dest_maks to signature.
4823 (x_redisplay_subwindow): update -> redisplay.
4824 (x_redisplay_widget): ditto.
4825 (x_button_redisplay): ditto.
4826 (x_progress_gauge_redisplay): ditto.
4827 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4829 (console_type_create_glyphs_x): update -> redisplay.
4830 (image_instantiator_format_create_glyphs_x): ditto.
4833 (check_valid_instantiator): disallow glyphs in the instantiator,
4834 they must now be vectors.
4835 (check_valid_instantiator_list): ditto.
4836 (glyph_instantiator_to_glyph): use internal symbol rather than
4838 (widget_update): renamed from widget_set_property. Call cascaded
4840 (redisplay_widget): renamed from update_widget.
4841 (widget_layout): image_instance_layout now takes position as well
4843 (widget_normalize): ditto.
4844 (widget_instantiate): ditto.
4845 (tab_control_query_geometry) ditto.:
4846 (tab_control_update): renamed from tab_control_set_property.
4847 (progress_gauge_update): set_property -> update.
4848 (layout_normalize): rewrite so that child instantiators are
4850 (layout_update): new function. Create glyphs from the normalized
4851 children and cope with any other layout keywords. We do not
4852 instantiate children here that will be take care of by
4853 redisplay_output_layout.
4854 (layout_instantiate): call layout_update and not much else.
4855 (layout_post_instantiate): not sure whether this is needed
4857 (layout_query_geometry): query glyph geometry rather than
4858 image_instance geometry.
4859 (layout_layout): set offsets from pass in parameters. Use glyph
4860 geometry and layout functions rather than image instance ones.
4861 (native_layout_layout): ditto.
4862 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4863 (image_instantiator_widget): set_property -> update.
4864 (image_instantiator_buttons): ditto.
4865 (image_instantiator_progress_guage): ditto.
4866 (image_instantiator_tab_control): ditto.
4867 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4868 (image_instantiator_layout): add update method.
4870 * glyphs-msw.c (bmp_normalize):
4871 (mswindows_resource_normalize): add dest_mask so that it can be
4872 proprogated by layout_normalize.
4873 (begin_defer_window_pos): make optional because it may not be the
4874 right thing to do and it introduces differences with X.
4875 (mswindows_unmap_subwindow): ditto.
4876 (mswindows_map_subwindow): ditto.
4877 (mswindows_redisplay_subwindow): renamed from
4878 mswindows_update_subwindow.
4879 (mswindows_redisplay_widget): ditto.
4880 (mswindows_button_redisplay): renamed from
4881 mswindows_button_update. Update is now what the instantiation
4882 function does for a changed instantiator.
4883 (mswindows_progress_gauge_instantiate): set the progress value
4884 here if appropriate.
4885 (mswindows_tab_control_redisplay): cope with re-ordering of the
4886 members of the tab widget by simply selecting the new top
4887 widget. This makes things appear ok if you click on a tab.
4888 (mswindows_combo_box_instantiate): image_instance_layout now takes
4889 position as well as size.
4890 (mswindows_progress_gauge_redisplay): renamed from
4891 mswindows_progress_gauge_update.
4892 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4893 (image_instantiator_format_create_glyphs_mswindows): ditto.
4895 * glyphs-eimage.c (jpeg_normalize):
4898 (tiff_normalize): add dest_mask so that it can be proprogated by
4903 (hash_table_weakness_validate):
4904 (decode_hash_table_weakness):
4905 (Fhash_table_weakness):
4907 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4909 * console.h (struct console_methods): move update_* to
4912 2000-07-20 Ben Wing <ben@xemacs.org>
4914 * *.[ch] (XSETOBJ): remove unused middle argument.
4915 lisp-disunion.h: correct wrap_object() to one argument.
4917 2000-07-15 Ben Wing <ben@xemacs.org>
4920 * s/cygwin32.h (CYGWIN_CONV_PATH):
4921 Add missing logb prototype for v1.1.
4922 Use post-b20 names and alias to pre-b20 names when pre-b20.
4924 * s/windowsnt.h: [5].
4926 2000-07-15 Ben Wing <ben@xemacs.org>
4928 * Makefile.in.in (x_objs):
4929 * Makefile.in.in (sheap_objs):
4930 * Makefile.in.in (objs):
4931 added win32.o, cosmetic cleanups.
4933 * alloc.c (Fmake_byte_code):
4934 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4935 etc. macros which declare their own args now.
4937 * alloc.c (syms_of_alloc):
4938 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4941 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4943 * buffer.c (Fget_file_buffer):
4944 Fixed GCPRO problem.
4946 * buffer.c (get_truename_buffer):
4947 Fixed comment about GC checking.
4949 * buffer.c (syms_of_buffer):
4950 Undeclared those dedicated frame funs.
4954 Define convenience macros for internal/external conversions.
4955 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4956 and Qenvironment_variable_encoding for cleaner code.
4959 Remove dedicated-frame; in lisp.
4961 * bytecode.c (funcall_compiled_function):
4964 * bytecode.c (syms_of_bytecode):
4968 * console-msw.c (mswindows_show_console): Rewrote.
4970 * console-msw.c (Fmswindows_debugging_output): New.
4971 Sends to OutputDebugString (special MSWin debugger interface).
4973 * console-msw.c (Fmswindows_message_box):
4974 Fixed stupid bugs so it works when called from kill-emacs.
4976 * console-msw.c (syms_of_console_mswindows):
4977 Declare Fmswindows_debugging_output.
4980 New MSWin prototypes.
4982 * console-msw.h (struct mswindows_frame):
4983 New entry last-click-mods for improved button-modifier support.
4985 * console-msw.h (FRAME_MSWINDOWS_POPUP):
4986 New struct entry `popup' with corresponding accessor.
4989 * console-x.c (split_up_display_spec):
4990 * console-x.c (get_display_arg_connection):
4991 * console-x.c (x_semi_canonicalize_console_connection):
4992 * console-x.c (x_canonicalize_device_connection):
4993 [[[6]]]: Change char to more specific type.
4994 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
4996 * console-x.c (x_semi_canonicalize_console_connection):
4997 * console-x.c (x_canonicalize_device_connection):
4998 [[[9]]]: Fix up error signalling to use new structured error system.
5001 [[[4]]]: Define codesys aliases:
5002 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
5003 Qx_color_name_encoding, Qx_display_name_encoding.
5005 * console.h (struct console_methods):
5006 New method make_dialog_box_internal supersedes older
5007 popup_dialog_box method.
5010 Define many new errors, part of new structured errors.
5012 * data.c (init_errors_once_early):
5013 * data.c (syms_of_data):
5016 * device-msw.c (mswindows_init_device):
5017 [[[5]]]: Cleanup to support NT 3.51.
5019 * device-msw.c (decode_devmode): Cleanup.
5021 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5022 * device-msw.c (mswindows_handle_print_dialog_box):
5023 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5024 * device-msw.c (syms_of_device_mswindows):
5025 Delete the dialog box primitives recently introduced by Kirill and
5026 instead interface to general dialog box interface.
5029 * device-x.c (compute_x_app_name):
5030 * device-x.c (x_init_device):
5031 * device-x.c (Fx_valid_keysym_name_p):
5032 * device-x.c (Fx_set_font_path):
5036 * device.h (wrap_device): New.
5037 First of its kind; meant to replace XSETDEVICE.
5039 * dialog-msw.c: Many file-dialog symbols.
5041 * dialog-msw.c (mswindows_register_popup_frame): New.
5042 * dialog-msw.c (mswindows_is_dialog_msg): New.
5043 For supporting kbd traversal in dialog boxes.
5045 * dialog-msw.c (dialog_proc):
5046 Support hitting ESC in dialogs.
5048 * dialog-msw.c (struct):
5049 Common dialog box errors.
5051 * dialog-msw.c (handle_file_dialog_box): New.
5052 Add file dialog code.
5054 * dialog-msw.c (handle_question_dialog_box):
5055 Redo existing code to support new question dialog syntax.
5057 * dialog-msw.c (console_type_create_dialog_mswindows):
5058 We support new dialog console method.
5060 * dialog-msw.c (syms_of_dialog_mswindows):
5061 * dialog-msw.c (vars_of_dialog_mswindows):
5062 New file dialog symbols, vars.
5065 * dialog-x.c (maybe_run_dbox_text_callback):
5066 * dialog-x.c (dbox_descriptor_to_widget_value):
5067 * dialog-x.c (x_make_dialog_box_internal):
5068 * dialog-x.c (console_type_create_dialog_x):
5069 Mule-ize entire file.
5070 Redo to support question dialog syntax.
5074 * dialog.c (Fmake_dialog_box_internal):
5075 * dialog.c (syms_of_dialog):
5076 Kill old popup-dialog-box, replace with new primitive.
5077 Just call device method or signal error.
5079 * eldap.c (Fldap_open):
5080 * eldap.c (Fldap_search_basic):
5081 * eldap.c (Fldap_add):
5082 * eldap.c (Fldap_modify):
5087 * emacs.c (make_arg_list_1):
5088 * emacs.c (make_arg_list):
5089 Mule-ize call to dll_init().
5093 * emacs.c (make_argc_argv):
5094 * emacs.c (free_argc_argv):
5095 * emacs.c (init_cmdargs):
5097 * emacs.c (Fkill_emacs):
5098 * emacs.c (Fdump_emacs):
5099 Update comments about what can be used in syms_* etc.
5100 Call init_win32() when necessary.
5101 Fix up MS Win dialog box in kill-buffer to actually work right.
5112 * eval.c (condition_case_3):
5114 * eval.c (function_argcount):
5115 * eval.c (funcall_lambda):
5118 * eval.c (type_error): New.
5119 * eval.c (maybe_type_error): New.
5120 * eval.c (continuable_type_error): New.
5121 * eval.c (maybe_continuable_type_error): New.
5122 * eval.c (type_error_with_frob): New.
5123 * eval.c (maybe_type_error_with_frob): New.
5124 * eval.c (continuable_type_error_with_frob): New.
5125 * eval.c (maybe_continuable_type_error_with_frob): New.
5126 New functions for use with structured errors.
5129 * event-Xt.c (x_event_to_emacs_event):
5130 Buttons are now modifiers too.
5132 * event-Xt.c (emacs_Xt_current_event_timestamp):
5133 Implement new event method.
5134 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5137 * event-msw.c (ntpipe_shove_writer): [5].
5138 * event-msw.c (mswindows_enqueue_mouse_button_event):
5139 * event-msw.c (mswindows_drain_windows_queue):
5140 * event-msw.c (mswindows_wnd_proc): [7].
5141 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5142 * event-msw.c (mswindows_modifier_state):
5143 Throughout: support new button modifiers.
5145 * event-msw.c (emacs_mswindows_current_event_timestamp):
5146 Implement new event method.
5147 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5150 * event-stream.c (event_stream_current_event_timestamp): New.
5151 * event-stream.c (maybe_kbd_translate): New functionality.
5152 * event-stream.c (vars_of_event_stream):
5153 Document new kbd-translate-table functionality.
5155 * event-stream.c (Fcurrent_event_timestamp): New.
5156 New primitive for use in fabricated events.
5157 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5159 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5162 * events.c (Fmake_event):
5163 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5167 * events.c (format_event_object): fix gcc warnings.
5169 * events.c (Fevent_timestamp): Document new primitives.
5171 * events.c (TIMESTAMP_HALFSPACE): New.
5173 * events.c (Fevent_timestamp_lessp): New. New primitive for
5174 comparing timestamps correctly (half-space algorithm).
5176 * events.c (Fevent_modifier_bits): Doc fix.
5178 * events.c (Fevent_modifiers): Major doc addition.
5179 * events.c (event_x_y_pixel_internal): Typo fix.
5180 * events.c (syms_of_events): Declare new primitives.
5183 Update long comment for button modifiers, timestamps.
5185 * events.h (struct event_stream):
5186 New current_event_timestamp method.
5189 * extents.c (extent_in_region_p):
5190 * extents.c (decode_extent):
5191 * extents.c (Fset_extent_parent):
5192 * extents.c (decode_map_extents_flags):
5196 * extents.c (struct extent_at_arg):
5197 * extents.c (decode_extent_at_flag):
5198 * extents.c (extent_at_mapper):
5199 * extents.c (extent_at_bytind):
5200 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5201 * extents.c (Fextents_at): New primitive. [9].
5202 * extents.c (symbol_to_glyph_layout): [9].
5203 Support new primitive `extents-at'.
5206 * extents.c (get_text_property_bytind):
5207 extent_at_bytind has another arg.
5210 * extents.c (syms_of_extents): New primitive.
5212 * file-coding.c (Fmake_coding_system): [1].
5213 * file-coding.c (subsidiary_coding_system): fix gcc warning
5214 * file-coding.c (syms_of_file_coding): [2].
5216 * fileio.c (Fexpand_file_name):
5217 * fileio.c (Fsysnetunam):
5218 * fileio.c (Ffile_exists_p):
5219 * fileio.c (Ffile_executable_p):
5220 * fileio.c (Fverify_visited_file_modtime):
5223 * fileio.c (syms_of_fileio): [2].
5225 * filelock.c (lock_file_1):
5226 * filelock.c (current_lock_owner):
5227 * filelock.c (lock_if_free):
5228 * filelock.c (lock_file):
5229 * filelock.c (unlock_file):
5232 * fns.c (concat): Fix gcc warning.
5235 * fns.c (Fold_member):
5237 * fns.c (Fold_memq):
5238 * fns.c (memq_no_quit):
5240 * fns.c (Fold_assoc):
5242 * fns.c (Fold_assq):
5243 * fns.c (assq_no_quit):
5245 * fns.c (Fold_rassoc):
5247 * fns.c (Fold_rassq):
5248 * fns.c (rassq_no_quit):
5250 * fns.c (Fold_delete):
5252 * fns.c (Fold_delq):
5253 * fns.c (delq_no_quit):
5254 * fns.c (Fremassoc):
5256 * fns.c (remassq_no_quit):
5257 * fns.c (Fremrassoc):
5258 * fns.c (Fremrassq):
5259 * fns.c (remrassq_no_quit):
5264 * frame-msw.c (mswindows_init_frame_1):
5265 * frame-msw.c (mswindows_delete_frame):
5266 Register popups with dialog code so keyboard traversing works.
5268 * frame-tty.c (tty_raise_frame_no_select): [1].
5271 * frame-x.c (x_set_frame_text_value):
5272 * frame-x.c (x_set_frame_properties):
5273 * frame-x.c (x_create_widgets):
5277 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5279 * frame.h (wrap_frame): New.
5280 Macro like wrap_device.
5283 * general.c (SYMBOL):
5284 * general.c (syms_of_general):
5285 Major reorg. This is now just a wrapper and symbols themselves
5286 are listed in general-slots.h.
5288 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5289 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5291 * glyphs-msw.c (mswindows_native_layout_instantiate):
5292 Add DS_CONTROL so keyboard traversal will work.
5295 * glyphs-widget.c (syms_of_glyphs_widget):
5296 Move some symbols to general-slots.h.
5299 * glyphs-x.c (xbm_instantiate_1):
5300 * glyphs-x.c (x_xbm_instantiate):
5301 * glyphs-x.c (x_xface_instantiate):
5302 * glyphs-x.c (autodetect_instantiate):
5303 * glyphs-x.c (cursor_font_instantiate):
5304 * glyphs-x.c (x_update_widget):
5305 * glyphs-x.c (x_widget_instantiate):
5306 * glyphs.c (bitmap_to_lisp_data):
5307 * glyphs.c (pixmap_to_lisp_data):
5310 * glyphs.c (syms_of_glyphs):
5314 * gui-x.c (print_widget_value):
5315 * gui-x.c (menu_separator_style_and_to_external):
5316 * gui-x.c (add_accel_and_to_external):
5317 * gui-x.c (button_item_to_widget_value):
5318 * gui-x.c (gui_items_to_widget_values_1):
5319 * gui-x.c (gui_items_to_widget_values):
5320 * gui-x.c (syms_of_gui_x):
5321 * gui-x.c (vars_of_gui_x):
5322 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5326 Muleize, prototype changes matching gui-x.c.
5329 * gui.c (separator_string_p):
5330 * gui.c (gui_item_add_keyval_pair):
5331 * gui.c (make_gui_item_from_keywords_internal):
5332 * gui.c (signal_too_long_error):
5333 * gui.c (parse_gui_item_tree_item):
5334 * gui.c (syms_of_gui):
5335 * gui.c (vars_of_gui):
5337 menu-no-selection-hook moved here (used by MSWin).
5338 Move some symbols to general-slots.h.
5342 * insdel.c (get_buffer_pos_char):
5343 * insdel.c (get_buffer_range_char):
5346 * keymap.c (keymap_lookup_directly):
5347 * keymap.c (keymap_store):
5348 * keymap.c (ensure_meta_prefix_char_keymapp):
5349 * keymap.c (describe_map):
5351 Support new button modifiers.
5353 * lisp-disunion.h (wrap_object):
5354 * lisp-disunion.h (XSETOBJ):
5355 Rename make_obj to wrap_object.
5358 * lisp-union.h (make_int):
5359 * lisp-union.h (make_char):
5360 Support wrap_object.
5363 * lisp.h (LIST_LOOP):
5364 * lisp.h (EXTERNAL_LIST_LOOP):
5365 * lisp.h (LIST_LOOP_2):
5366 * lisp.h (EXTERNAL_LIST_LOOP_1):
5367 * lisp.h (EXTERNAL_LIST_LOOP_2):
5368 * lisp.h (EXTERNAL_LIST_LOOP_3):
5369 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5370 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5371 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5372 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5373 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5374 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5375 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5376 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5377 * lisp.h (struct Lisp_Symbol):
5378 * lisp.h (maybe_continuable_error_with_frob):
5379 Fix up section comments.
5380 Add new types for char to indicate usage.
5381 Delete symbols auto-generated from general-slots.h.
5382 Add prototypes for structured error functions.
5383 Add long comments describing looping macros and change interface
5384 so that lvalues are automatically declared.
5385 Add NO_DECLARE macro in case callers want to declare lvalues
5388 * lread.c (read_syntax_error):
5389 * lread.c (continuable_read_syntax_error):
5390 * lread.c (read_structure):
5391 * lread.c (sequence_reader):
5392 * lread.c (read_list_conser):
5393 * lread.c (read_compiled_function):
5394 Rename syntax_error and continuable_syntax_error to avoid clash
5395 with same-named structured error functions.
5397 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5398 * menubar-msw.c (populate_menu_add_item):
5399 * menubar-msw.c (populate_or_checksum_helper):
5404 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5405 Mule-ize whole file.
5407 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5409 * mule-charset.c (Fmake_charset):
5410 * mule-wnnfns.c (Fwnn_set_param):
5413 * ntproc.c (create_child):
5414 * ntproc.c (Fwin32_set_current_locale):
5415 Add comments portending doom.
5418 * objects-msw.c (old_font_enum_callback_2):
5419 * objects-msw.c (font_enum_callback_1):
5420 * objects-msw.c (mswindows_enumerate_fonts):
5424 * objects-x.c (allocate_nearest_color):
5425 * objects-x.c (x_parse_nearest_color):
5426 * objects-x.c (x_initialize_color_instance):
5427 * objects-x.c (x_print_color_instance):
5428 * objects-x.c (x_finalize_color_instance):
5429 * objects-x.c (x_valid_color_name_p):
5430 * objects-x.c (x_initialize_font_instance):
5431 * objects-x.c (x_print_font_instance):
5432 * objects-x.c (valid_x_font_name_p):
5433 * objects-x.c (truename_via_FONT_prop):
5434 * objects-x.c (truename_via_random_props):
5435 * objects-x.c (truename_via_XListFonts):
5436 * objects-x.c (x_font_truename):
5437 * objects-x.c (x_font_instance_truename):
5438 * objects-x.c (x_font_instance_properties):
5439 * objects-x.c (x_list_fonts):
5440 * objects-x.c (x_find_charset_font):
5441 Mule-ize entire file.
5448 * print.c (std_handle_out_external):
5449 * print.c (debug_print_no_newline):
5450 * print.c (syms_of_print):
5451 Output to all debugger kinds in debug-print.
5452 Fix console-output code under MSWin to actually work.
5454 * process-nt.c (send_signal):
5455 * process-nt.c (nt_create_process):
5456 Use newer Unicode macros.
5458 * process-unix.c (unix_create_process):
5459 * process-unix.c (unix_canonicalize_host_name):
5460 * process-unix.c (unix_open_network_stream):
5466 * search.c (syms_of_search):
5469 * select-msw.c (mswindows_destroy_selection):
5472 * select-x.c (symbol_to_x_atom):
5475 * select.c (syms_of_select):
5478 * sound.c (Fplay_sound_file):
5482 * specifier.c (decode_specifier_type):
5483 * specifier.c (Fvalid_specifier_locale_type_p):
5484 * specifier.c (check_valid_locale_or_locale_type):
5485 * specifier.c (decode_locale):
5486 * specifier.c (decode_locale_type):
5487 * specifier.c (decode_locale_list):
5488 * specifier.c (check_valid_domain):
5489 * specifier.c (decode_specifier_tag_set):
5490 * specifier.c (Fcanonicalize_tag_set):
5491 * specifier.c (Fdefine_specifier_tag):
5492 * specifier.c (Fspecifier_tag_predicate):
5493 * specifier.c (check_valid_inst_list):
5494 * specifier.c (check_valid_spec_list):
5495 * specifier.c (decode_how_to_add_specification):
5496 * specifier.c (check_modifiable_specifier):
5497 * specifier.c (specifier_add_spec):
5498 * specifier.c (boolean_validate):
5499 * specifier.c (display_table_validate):
5502 * specifier.c (syms_of_specifier):
5503 Move some symbols to general-slots.h.
5507 * symbols.c (Fmapatoms):
5508 * symbols.c (Fapropos_internal):
5511 * symbols.c (set_default_buffer_slot_variable):
5512 * symbols.c (set_default_console_slot_variable):
5515 * symbols.c (defsymbol_massage_name_1):
5516 * symbols.c (defkeyword_massage_name):
5517 * symbols.c (deferror_1):
5518 * symbols.c (deferror):
5519 * symbols.c (deferror_massage_name_and_message):
5521 * symeval.h (DEFSYMBOL):
5522 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5524 * symbols.c (syms_of_symbols):
5528 * symsinit.h (init_win32): New.
5529 Also new is syms_of_dialog_mswindows.
5532 Add new Unicode macros, missing Cygwin wide-char functions,
5533 convenience conversion macros for Qmswindows_tstr, macros for
5534 encapsulating required MSWin <-> Cygwin filename conversions,
5535 prototype for dynamically-extracted (not in NT 3.51) functions.
5540 * tooltalk.c (Fadd_tooltalk_message_arg):
5541 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5542 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5545 * tooltalk.c (syms_of_tooltalk):
5549 * unexnt.c (unexec):
5550 Fix up headers, declaration of unexec() to be more standard.
5552 2000-07-20 Martin Buchholz <martin@xemacs.org>
5554 * offix.h: Revert change to guard macros - they're used in offix.c!
5556 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5558 * lisp.h: Defsubred Fdelete.
5560 * console-msw.h: (msprinter_default_printer): Added.
5562 * console-msw.c (msprinter_canonicalize_console_connection):
5563 (msprinter_canonicalize_device_connection): Added.
5565 * device-msw.c (msprinter_default_printer):
5566 (Fmswingows_get_default_printer):
5567 (signal_enum_priner_error):
5568 (Fmswingows_printer_list): Added.
5570 2000-07-19 Martin Buchholz <martin@xemacs.org>
5572 * XEmacs 21.2.35 is released.
5574 2000-07-19 Martin Buchholz <martin@xemacs.org>
5576 * select-x.c (x_handle_selection_request):
5577 Text selected in xemacs and pasted into xterm failed to appear.
5578 Spelling fixes and cosmetic changes.
5580 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5582 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5583 XEmacs frame (fix for doubling chars in dialog boxes).
5585 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5587 * select.c (select_convert_in, select_convert_out):
5588 Don't call intern() every time.
5590 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5591 * select.c (vars_of_select): Initialise them.
5593 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5595 * select.c (selection-coercible-types): New.
5597 * select.c (own-selection-internal):
5598 * select.c (get-selection-internal):
5599 MULE bug fix - these should default to COMPOUND_TEXT and not
5600 STRING for MULE. I think.
5602 * select.c (select_convert_out): Use selection-coercible-types
5603 to find types that we can attempt to perform coercions on.
5605 2000-07-18 Martin Buchholz <martin@xemacs.org>
5609 Add coding: cookie to identify encoding.
5611 * mule-canna.c (CANNA_mode_keys): make static.
5612 Use proper prototypes, even for functions of no arguments.
5613 Remove external prototype for Fding().
5615 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5617 * select.c (syms_of_select): Add missing DEFSUBR.
5619 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5621 * select.c (get_selection_internal, own_selection_internal):
5622 Make the type default to STRING, rather than placing a nil type
5623 into Vselection_alist.
5625 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5627 * gpmevent.c (tty_selection_exists_p):
5628 * gpmevent.c (tty_own_selection):
5629 Updated parameter lists.
5631 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5633 * select.h (selection-alist): Removed declaration.
5635 * select.h (get_local_selection):
5636 * select.c (get_local_selection):
5639 * select.h (convert_selection): Removed declaration.
5640 * select.c (convert_selection): Removed.
5641 This function belongs in Lisp.
5643 * select.h (select_convert_in): Declare.
5644 * select.h (select_convert_out): Declare.
5645 * select.c (select_convert_in): New.
5646 * select.c (select_convert_out): New.
5647 New conversion functions for other files to call.
5649 * select.h (select_notify_buffer_kill): Declare.
5650 * select.c (select_notify_buffer_kill): New.
5651 New functions that get called from kill-buffer.
5653 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5654 X-specific lisp code.
5656 * select.h: Declare some of the lisp-visible functions for
5659 * select.c (clean_local_selection_data): Removed. This was
5660 a disgusting function, and previously should have been in
5661 select-x.c in any case. The functionality is now provided
5662 in select-convert-from-integer (select.el).
5664 * select.c (available-selection-types): Fixed stupidity where
5665 INTEGER and ATOM got added twice. Also add STRING when we see an
5668 * select.c (get-selection-internal): Removed symbol stripping. No
5669 longer causes conversion when data comes from the internal cache.
5671 * select.c (syms_of_select): Added new functions.
5673 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5674 error checking - previously this called abort!
5676 * select-x.c (x_own_selection): Changed comment.
5678 * select-x.c (x_handle_selection_request): Use select_convert_out.
5679 Don't mess with selection-alist; it's an internal variable of select.c.
5681 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5683 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5684 rather than messing with selection-alist.
5686 * select-msw.c (mswindows_get_foreign_selection):
5687 Use TO_INTERNAL_FORMAT rather than hacking.
5689 2000-07-14 Martin Buchholz <martin@xemacs.org>
5691 * process-unix.c (unix_open_multicast_group):
5692 (unix_open_multicast_group): Remove useless casts.
5694 2000-07-13 Martin Buchholz <martin@xemacs.org>
5696 * sound.c (Fplay_sound): Fix `unused variable' warning.
5698 * emacs.c (main): Use correct type for _environ on SCO5.
5700 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5702 * console.h (own_selection_method):
5703 * console.h (selection_exists_p_method):
5704 * console.h (available_selection_types_method): New.
5705 * console.h (register_selection_data_type_method): New.
5706 * console.h (selection_data_type_name): New.
5708 * console-msw.h (mswindows_destroy_selection): Declare it. New
5709 function & alist to track GlobalAlloc()'d handles that need
5710 releasing when the clipboard data gets replaced or emptied.
5712 * event-msw.c (mswindows_wnd_proc): Call it.
5714 * lisp.h, general.c (Qappend): New symbol representing a
5717 * select.c (own-selection-internal):
5718 * select.c (selection-exists-p):
5719 * select.c (available-selection-types): New.
5720 * select.c (register-selection-data-type): New.
5721 * select.c (selection-data-type-name): New. New functions to deal
5722 with device-specific selection data formats.
5723 * select.c (selection-converter-out-alist): Renamed.
5724 * select.c (selection-converter-in-alist): New.
5725 * select.c (selection-appender-alist): New. Added new alists.
5726 * select.c (syms_of_select, vars_of_select): Added new symbols &
5728 * select.c (get_local_selection): Split.
5729 * select.c: Removed spurious type checking - selections may now be
5730 of any type, not just strings.
5731 * select.c (own-selection-internal):
5733 * select.h, select.c (convert_selection): New. Created
5734 convert_selection() function based on get_local_selection().
5735 * select.h, select.c (QCF_*): New symbols representing mswindows
5737 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5738 symbols representing `how-to-add' modes.
5740 * select-msw.c (x_sym_p): New.
5741 * select-msw.c (symbol_to_ms_cf): New.
5742 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5743 symbols & clipboard formats. Can also handle string names.
5744 * select-msw.c (mswindows_own_selection):
5745 * select-msw.c (mswindows_selection_exists_p):
5746 Added `data-type' parameter. Use it.
5747 * select-msw.c (mswindows_available_selection_types): New.
5748 * select-msw.c (mswindows_register_selection_data_type): New.
5749 * select-msw.c (mswindows_selection_data_type_name): New.
5750 * select-msw.c (mswindows_own_selection):
5751 * select-msw.c (mswindows_get_foreign_selection):
5752 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5753 * select-msw.c (console_create_select_mswindows): Added new methods.
5754 * select-msw.c (mswindows_destroy_selection): New.
5755 * select-msw.c (Vhandle_alist): New list.
5756 * select-msw.c (mswindows_own_selection):
5758 * select-x.c (x_own_selection):
5759 * select-x.c (x_selection_exists_p):
5760 * select-x.c: Added some comments about maybe using new
5762 * select-x.c (x_own_selection):
5764 * specifier.c: Remove definition of Qappend (now in general.c)
5765 * specifier.c (syms_of_specifier): Remove Qappend.
5767 2000-07-12 Martin Buchholz <martin@xemacs.org>
5769 * config.h.in: Add socklen_t.
5771 * s/decosf4-0.h: No special compiler flags needed or desired.
5772 In particular, undefine _BSD for DEC OSF 4.0.
5774 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5776 * redisplay-msw.c (msprinter_frame_output_end): Added.
5777 (console_type_create_redisplay_mswindows): Referred the above.
5779 * frame.c (setup_frame_without_minibuffer): Do not create a
5780 default minibuffer frame on a printer device.
5782 * frame-msw.c (apply_dc_geometry): Added.
5783 (msprinter_start_page):
5784 (msprinter_init_frame_3):
5785 (msprinter_eject_page): Use it.
5787 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5788 and removed residual duplex and orientation properties.
5790 2000-07-11 Martin Buchholz <martin@xemacs.org>
5792 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5794 * unexalpha.c: Remove system prototypes from C sources!
5796 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5798 * eval.c: Remove references to M-x edit-options in DEFUNs for
5799 `defvar' and `defconst'.
5801 2000-07-09 Martin Buchholz <martin@xemacs.org>
5803 * config.h.in: Remove SMART_INCLUDE hackery.
5806 * config.h.in: Don't use SMART_INCLUDE.
5808 * postgresql.h: Include libpq-fe.h here. Fix typo.
5809 * inline.c: Simply #include "postgresql.h"
5811 - Don't use SMART_INCLUDE
5812 - Use simply "const".
5813 - Use standard doc string conventions.
5814 - Use correct type for result of PQstatus.
5816 2000-07-09 Martin Buchholz <martin@xemacs.org>
5818 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5820 C++ compilation changes.
5821 * config.h.in (EXTERN_C): Define.
5822 * config.h.in (not): This is also a C++ keyword.
5823 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5824 * cm.c: Use EXTERN_C.
5825 * redisplay-tty.c: Use EXTERN_C.
5826 * sysdep.c: Use EXTERN_C. Remove Gould support.
5828 2000-07-09 Martin Buchholz <martin@xemacs.org>
5830 * general.c: Remove duplicate definition for Qfunction.
5832 2000-07-08 Ben Wing <ben@xemacs.org>
5834 * device-msw.c (msprinter_init_device):
5835 * device-msw.c (sync_printer_with_devmode):
5836 * device-msw.c (handle_devmode_changes):
5837 * device-msw.c (print_dialog_worker):
5838 * device-msw.c (Fmsprinter_apply_settings):
5839 * device-msw.c (hash_devmode):
5840 * device-msw.c (Fmsprinter_settings_despecialize):
5841 use Qmswindows_tstr, not Qctext.
5843 * vm-limit.c (check_memory_limits):
5844 avoid infinite loop printing warning messages.
5846 2000-07-05 Craig Lanning <lanning@scra.org>
5848 * Makefile.in.in: Add support for including the Windows resources
5849 when building with the cygwin and mingw targets.
5851 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5852 not set or not correct.
5853 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5854 (init_initial_directory): Don't try to use $PWD on the
5855 WIN32_NATIVE target.
5858 [[Add -mwindows to eliminate console window.]] not required --ben
5859 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5860 (MAIL_USE_POP): removed; now handled by configure.
5862 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5863 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5864 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5865 (MAIL_USE_POP): removed; now handled by configure.
5866 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5867 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5868 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5870 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5871 up from <winsock.h> via systime.h.
5872 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5873 (getpagesize): from Dan Holmsand, added.
5874 Added #endif which was left dangling by Ben's mega patch; added
5875 comment to help prevent this in the future.
5877 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5879 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5881 * console-msw.h (struct mswindows_device): Removed unnecessary
5882 cached device geometry values.
5883 Added update_tick and an accessor macro.
5884 (Lisp_Devmode): Added lrecord declaration.
5885 (struct msprinter_device): Contain devmode as a Lisp object.
5886 Added mswindows_get_selected_frame_hwnd();
5888 * console.h (struct console_methods): Indentation nitpicking.
5890 * device-msw.c (mswindows_init_device): Do not initialize geometry
5891 cache. Initialize update tick.
5892 (mswindows_device_system_metrics): Ask the device for its geometry.
5893 (global_free_2_maybe):
5894 (devmode_to_hglobal):
5895 (handle_printer_changes):
5896 (ensure_not_printing):
5897 (print_dialog_worker):
5898 (Fmsprinter_print_setup_dialog):
5899 (Fmsprinter_print_dialog):
5902 (Fmsprinter_page_setup_dialog): Added functions.
5903 (sync_printer_with_devmode):
5904 (handle_devmode_changes):
5905 (Fmsprinter_get_settings):
5906 (Fmsprinter_select_settings):
5907 (Fmsprinter_apply_settings):
5909 (Fmsprinter_settings_copy):
5910 (Fmsprinter_settings_despecialize):
5914 (hash_devmode): Added functions
5915 (syms_of_device_mswindows): Init devmode lrecord class.
5917 * device.h: Added an exfun for find-device.
5919 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5920 geometry; although, recreate the device compatible DC.
5922 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5923 (msprinter_init_frame_3):
5924 (msprinter_frame_property):
5925 (msprinter_internal_frame_property_p):
5926 (msprinter_frame_properties):
5927 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5928 print job properties (will move to device settings).
5930 * lisp.h: Added symbols.
5932 * general.c (syms_of_general): Declared them.
5934 * hash.c (string_hash): Added.
5936 * lrecord.h (lrecord_type): Added devmode lrecord type.
5938 2000-07-02 Mike Sperber <mike@xemacs.org>
5940 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5943 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5945 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5948 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5950 * data.c (Fstring_to_number): Don't recognize floating point if
5953 2000-06-22 Martin Buchholz <martin@xemacs.org>
5955 * glyphs-widget.c (tab_control_query_geometry):
5956 (widget_query_geometry):
5957 (button_query_geometry):
5958 * glyphs.c (text_query_geometry):
5959 Enforce type correctness.
5961 2000-06-18 Martin Buchholz <martin@xemacs.org>
5963 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5964 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5966 2000-06-17 Martin Buchholz <martin@xemacs.org>
5968 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5969 conflicts with gcc's fixincluded version of FOO.h.
5971 * glyphs.h (image_instance_geometry): Remove trailing `,'
5973 2000-06-08 Mike Alexander <mta@arbortext.com>
5975 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
5976 (shove_thread): Don't write the same output twice
5977 (make_ntpipe_output_stream): Increase priority of shove thread
5978 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
5980 (ntpipe_shove_closer): Don't delete the pipe until we're done with
5983 2000-06-12 Ben Wing <ben@xemacs.org>
5985 * s\mingw32.h (sigset):
5986 * s\windowsnt.h (sigset):
5987 rename msw_ to mswindows_ for consistency with general convention.
5989 2000-06-12 Ben Wing <ben@xemacs.org>
5992 * console-msw.c (mswindows_get_console_hwnd):
5993 * console-msw.c (mswindows_ensure_console_allocated):
5994 * console-msw.c (mswindows_hide_console):
5995 * console-msw.c (mswindows_show_console):
5996 * console-msw.c (mswindows_ensure_console_buffered):
5997 * console-msw.c (mswindows_output_console_string):
5998 * console-msw.c (mswindows_windows9x_p):
6000 * device-msw.c (mswindows_get_workspace_coords):
6001 * device-msw.c (mswindows_device_system_metrics):
6002 * dialog-msw.c (mswindows_popup_dialog_box):
6003 * event-msw.c (mswindows_wnd_proc):
6004 * frame-msw.c (mswindows_size_frame_internal):
6005 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6006 * menubar-msw.c (displayable_menu_item):
6007 * menubar-msw.c (mswindows_char_is_accelerator):
6009 * nt.c (mswindows_sigset):
6010 * nt.c (mswindows_sigrelse):
6011 * nt.c (mswindows_sigpause):
6012 * nt.c (mswindows_raise):
6013 * nt.c (timer_proc):
6015 * ntproc.c (find_child_console):
6016 * ntproc.c (sys_kill):
6018 * print.c (std_handle_out_external):
6019 * process-nt.c (find_child_console):
6020 * process-nt.c (send_signal_the_95_way):
6021 * process-nt.c (ensure_console_window_exists):
6022 * process-nt.c (nt_create_process):
6024 rename msw_ to mswindows_ for consistency with general convention.
6028 include nt.h, not syswindows.h.
6030 * nt.c (mswindows_fstat):
6031 * nt.c (mswindows_stat):
6032 prefix mswindows_ instead of attempting to directly override the
6033 library functions. fix declarations.
6036 include syswindows.h. move some sysdep.h stuff here.
6039 include syswindows.h, not <windows.h>.
6047 * sysdep.c (sys_fstat):
6048 * sysdep.c (sys_stat):
6049 call mswindows versions when appropriate.
6052 move mswin decls to nt.h.
6055 add long comment describing appropriate use of the various windows
6058 2000-06-11 Ben Wing <ben@xemacs.org>
6060 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6062 2000-06-10 Ben Wing <ben@xemacs.org>
6064 * Makefile.in.in (release):
6065 Correction to make sure xemacs.exe always dumped when correct.
6069 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6071 * buffer.c (set_buffer_internal):
6072 [[[[2]]]]: Remove HAVE_FEP code.
6074 * buffer.c (init_initial_directory):
6078 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6082 * callproc.c (call_process_cleanup):
6083 * callproc.c (Fold_call_process_internal):
6084 * callproc.c (child_setup):
6085 * callproc.c (getenv_internal):
6086 * callproc.c (init_callproc):
6087 * callproc.c (vars_of_callproc):
6088 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6089 __CYGWIN32__ -> CYGWIN.
6090 DOS_NT -> WIN32_NATIVE.
6091 Remove MSDOS support/references, converting to WIN32_NATIVE
6093 __MINGW32__ -> MINGW.
6094 Fix windows.h includes.
6095 Remove bogus HAVE_NTGUI.
6101 mswindows_message_outputted added for use in allowing startup
6102 errors on the console to be seen.
6104 * console-msw.c (msw_ensure_console_allocated):
6105 * console-msw.c (msw_output_console_string):
6106 * console-msw.c (DHEADER):
6107 * console-msw.c (DOPAQUE_DATA):
6108 * console-msw.c (DEVENT):
6109 * console-msw.c (DCONS):
6110 * console-msw.c (DCONSCDR):
6111 * console-msw.c (DSTRING):
6112 * console-msw.c (DVECTOR):
6113 * console-msw.c (DSYMBOL):
6114 * console-msw.c (DSYMNAME):
6117 * console-stream.c (stream_init_console):
6118 Fix text/binary problems.
6121 * device-msw.c (mswindows_finish_init_device):
6122 * device-msw.c (mswindows_delete_device):
6125 * device.c (handle_asynch_device_change):
6129 * dgif_lib.c (DGifOpenFileName):
6130 * dgif_lib.c (DGifOpenFileHandle):
6131 * dgif_lib.c (DGifGetLine):
6132 * dgif_lib.c (DGifGetPixel):
6133 Added config.h/lisp.h, fix up includes.
6140 * dired.c (file_name_completion):
6141 * dired.c (Ffile_attributes):
6142 * dired.c (syms_of_dired):
6146 * dumper.c (pdump_file_unmap):
6147 * dumper.c (pdump_load):
6151 * editfns.c (Ftemp_directory):
6152 * editfns.c (user_login_name):
6153 * editfns.c (Fuser_real_login_name):
6154 * editfns.c (get_home_directory):
6157 * elhash.c (finish_marking_weak_hash_tables):
6158 [[[[5]]]]: Fix GCC warnings.
6161 * emacs.c (mswindows_handle_hardware_exceptions):
6162 * emacs.c (make_arg_list_1):
6164 * emacs.c (Fkill_emacs):
6165 * emacs.c (Fdump_emacs):
6167 Fix problems with nested crashes, add long comment.
6169 * event-Xt.c (init_event_Xt_late):
6173 * event-msw.c (mswindows_dde_callback):
6174 * event-msw.c (mswindows_handle_sticky_modifiers):
6175 * event-msw.c (mswindows_wnd_proc):
6179 * events.c (character_to_event):
6183 * fileio.c (Ffile_name_directory):
6184 * fileio.c (Ffile_name_nondirectory):
6185 * fileio.c (directory_file_name):
6186 * fileio.c (Fexpand_file_name):
6187 * fileio.c (Fsubstitute_in_file_name):
6188 * fileio.c (Ffile_name_absolute_p):
6189 * fileio.c (check_executable):
6190 * fileio.c (Ffile_readable_p):
6191 * fileio.c (Ffile_accessible_directory_p):
6192 * fileio.c (Ffile_modes):
6193 * fileio.c (Funix_sync):
6194 * fileio.c (vars_of_fileio):
6197 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6199 Expand getdefdir defn.
6200 Fix bogus rename() comment.
6202 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6203 to use standard XEmacs include files, e.g. sysfile.h, rather
6204 than system-specific includes.
6210 * frame.c (vars_of_frame):
6214 * getloadavg.c (getloadavg):
6216 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6217 (We don't use it elsewhere in the code; just add a comment.)
6224 * glyphs-msw.c (mswindows_resource_instantiate):
6227 * glyphs-x.c (x_native_layout_instantiate):
6230 * gui-msw.c (Fmswindows_shell_execute):
6239 * lread.c (locate_file_in_directory_mapper):
6246 * mem-limits.h (get_lim_data):
6258 * nt.c (rva_to_section):
6259 * nt.c (mswindows_executable_type):
6261 Fix closedir() defn.
6264 [[[[8]]]]: *_OK defs moved to sysfile.h.
6273 * print.c (std_handle_out_external):
6277 * process-nt.c (nt_create_process):
6279 try to fix process quoting somewhat.
6281 * process-unix.c (unix_create_process):
6285 * process.c (vars_of_process):
6292 * realpath.c (xrealpath):
6295 * redisplay-tty.c (init_tty_for_redisplay):
6305 * sheap.c (more_static_core):
6306 * sheap.c (report_sheap_usage):
6310 * signal.c (alarm_signal):
6317 * strftime.c (zone_name):
6320 * symsinit.h (init_sunpro):
6324 commctrl.h not in Cygwin b20.1.
6328 * sysdep.c (sys_subshell):
6329 * sysdep.c (init_baud_rate):
6330 * sysdep.c (emacs_get_tty):
6331 * sysdep.c (emacs_set_tty):
6332 * sysdep.c (tty_init_sys_modes_on_device):
6333 * sysdep.c (init_system_name):
6334 * sysdep.c (sys_open):
6335 * sysdep.c (interruptible_open):
6336 * sysdep.c (sys_fopen):
6337 * sysdep.c (sys_mkdir):
6338 * sysdep.c (sys_rename):
6339 * sysdep.c (get_process_times_1):
6346 * sysdir.h (DIRENTRY_NONEMPTY):
6349 * sysdll.c (dll_init):
6355 added text/binary defs.
6361 * sysproc.h (EDESTADDRREQ):
6362 * sysproc.h (poll_fds_for_input):
6379 Always define WIN32_LEAN_AND_MEAN.
6381 * unexcw.c (unexec):
6385 * unexec.c (copy_text_and_data):
6386 * unexec.c (adjust_lnnoptrs):
6390 * unexnt.c (_start):
6393 2000-06-07 Ben Wing <ben@xemacs.org>
6395 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6396 was used only as a model. We've long since extracted any useful
6397 logic or code out of this. (I just did an exhaustive search.)
6399 * s\msdos.h: Removed.
6401 * s\windows95.h: Removed.
6403 2000-06-10 Ben Wing <ben@xemacs.org>
6407 Don't use extern with fun defs.
6411 Remove nt\inc include.
6412 Remove getdisk, getdefdir. (The former is unused, the latter
6413 expanded in fileio.h.)
6416 * s\windowsnt.h (WIN32_NATIVE):
6417 * s\windowsnt.h (HAVE_STRCASECMP):
6419 Add long comment about preprocessor changes.
6420 Remove getdisk, getdefdir. (The former is unused, the latter
6421 expanded in fileio.h.)
6423 2000-06-10 Ben Wing <ben@xemacs.org>
6432 Remove bogus/unused NO_SOCK_SIGIO.
6434 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6436 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6439 2000-06-04 Mike Sperber <mike@xemacs.org>
6441 * casetab.c (set_case_table): For `set-standard-case-table',
6442 actually deposit the new case tables where the rest of XEmacs can
6445 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6447 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6449 2000-06-05 Ben Wing <ben@xemacs.org>
6451 * callproc.c (child_setup): Don't do close_load_descs() under
6452 MS Windows. Put in a comment explaining why.
6454 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6456 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6457 Toolkit shell" which breaks `kill-compilation' on Windows NT
6458 native, retaining STDERR handling improvements.
6460 2000-06-01 Andreas Jaeger <aj@suse.de>
6462 * s/s390.h: Support for S390, based on a patch by Martin
6463 Schwidefsky <schwidefsky@de.ibm.com>.
6465 2000-05-30 Andy Piper <andy@xemacs.org>
6467 * window.c (allocate_window):
6468 (make_dummy_parent):
6469 (Fset_window_configuration): use new hashtable type.
6471 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6472 (struct image_instantiator_methods):
6473 (struct Lisp_Image_Instance): make instance geometry signed.
6475 * glyphs.c (instantiate_image_instantiator):
6476 (image_instance_query_geometry):
6477 (image_instance_layout):
6478 (image_instance_layout):
6479 (query_string_geometry):
6480 (text_query_geometry):
6481 (image_instantiate):
6482 (image_instantiate):
6483 (cache_subwindow_instance_in_frame_maybe):
6484 (subwindow_query_geometry): make instance geometry signed.
6486 * glyphs-widget.c (widget_query_geometry):
6488 (button_query_geometry):
6489 (tree_view_query_geometry):
6490 (tab_control_query_geometry):
6491 (layout_query_geometry):
6493 (native_layout_layout): make instance geometry signed.
6495 2000-05-29 Olivier Galibert <galibert@pobox.com>
6497 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6500 * general.c (syms_of_general): Add Qfull_assoc symbol.
6502 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6504 (decode_weak_list_type): Decode full-assoc type.
6505 (encode_weak_list_type): Encode full-assoc type.
6506 (Fmake_weak_list): Update doc string.
6508 2000-05-30 Andy Piper <andy@xemacs.org>
6510 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6512 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6513 (decode_hash_table_weakness): ditto.
6514 (Fhash_table_weakness): ditto.
6515 (Fhash_table_type): ditto.
6516 (finish_marking_weak_hash_tables): ditto.
6517 (hash_table_weakness_validate): ditto.
6518 (syms_of_elhash): ditto.
6520 2000-05-28 Martin Buchholz <martin@xemacs.org>
6522 * XEmacs 21.2.34 is released.
6524 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6526 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6528 (updating_line_start_cache): Gone.
6529 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6530 generic code to force a minimum of 1 line laid out in the
6533 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6535 * glyphs.c (instantiate_image_instantiator): Check for initialized
6536 height & width no longer special cases IMAGE_NOTHING.
6537 (nothing_instantiate): Set height and width of instance.
6539 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6541 * unexelf.c (unexec): Search for ".data" section.
6542 Initialize new_data2_offset from old_data_index.
6543 Remove redundant check for ElfW.
6545 2000-05-23 Andy Piper <andy@xemacs.org>
6547 * glyphs.c (get_image_instantiator_governing_domain): allow more
6548 specific domains as the governing domain rather than expecting an
6549 exact match. This fixes problems with layouts.
6551 2000-05-22 Andy Piper <andy@xemacs.org>
6553 * redisplay-output.c (compare_runes): check for non-images
6555 * glyphs.c (set_glyph_dirty_p): ditto.
6556 (update_glyph_cachel_data): ditto.
6558 * glyphs-widget.c (layout_post_instantiate): ditto.
6559 (layout_post_instantiate): ditto.
6561 * event-msw.c (mswindows_wnd_proc): warning removal.
6563 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6565 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6567 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6569 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6571 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6572 (mswindows_executable_type): mingw32 now has enough headers for
6575 2000-05-20 Andy Piper <andy@xemacs.org>
6577 * console-msw.c (mswindows_output_last_error): ; -> ,
6579 2000-05-12 Andy Piper <andy@xemacs.org>
6581 * console-msw.c (FROB): compare ints with ints.
6583 2000-05-11 Andy Piper <andy@xemacs.org>
6585 * glyphs-x.c (x_finalize_image_instance): make minimal build
6588 2000-05-20 Ben Wing <ben@xemacs.org>
6591 * event-Xt.c (vars_of_event_Xt):
6592 move modifier-keys-are-sticky to event-stream.c.
6595 * event-msw.c (mswindows_enqueue_mouse_button_event):
6596 * event-msw.c (key_needs_default_processing_p):
6597 * event-msw.c (XEMSW_LCONTROL):
6598 * event-msw.c (mswindows_handle_sticky_modifiers):
6599 * event-msw.c (FROB):
6600 * event-msw.c (clear_sticky_modifiers):
6601 * event-msw.c (output_modifier_keyboard_state):
6602 * event-msw.c (output_alt_keyboard_state):
6603 * event-msw.c (mswindows_wnd_proc):
6604 * event-msw.c (mswindows_modifier_state):
6605 * event-msw.c (emacs_mswindows_handle_magic_event):
6606 implement sticky modifiers.
6609 * event-stream.c (vars_of_event_stream):
6610 move modifier-keys-are-sticky here.
6616 implement map-range-table.
6619 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6621 * redisplay-tty.c (reset_tty_modes):
6622 (tty_redisplay_shutdown): Adjust argument type to
6623 tty_frame_output_end.
6625 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6627 * eval.c (Fbacktrace): Don't output a line with only right
6630 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6632 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6633 (Fpq_reset_poll): Ditto.
6635 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6637 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6639 2000-05-16 Ben Wing <ben@xemacs.org>
6642 * buffer.c (dfc_convert_to/from_internal_format):
6643 * buffer.c (reinit_vars_of_buffer):
6644 Fix conversion functions to allow reentrancy.
6647 * console-msw.c (mswindows_output_last_error):
6648 New fun, generally useful -- output a human-readable
6649 version of GetLastError() on the console.
6652 * console-msw.h (struct mswindows_frame):
6653 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6655 * console-stream.c (stream_output_begin):
6656 * console-stream.c (stream_output_end):
6657 * console-stream.c (stream_output_vertical_divider):
6658 * console-stream.c (stream_clear_region):
6659 * console-stream.c (stream_flash):
6660 * console-stream.c (console_type_create_stream):
6661 Delete blank stream methods, not needed.
6663 * console.h (struct console_methods):
6664 Split begin/end methods into window and frame.
6667 * event-msw.c (mswindows_handle_paint):
6668 * event-msw.c (output_alt_keyboard_state):
6669 * event-msw.c (mswindows_wnd_proc):
6670 * event-msw.c (vars_of_event_mswindows):
6671 Comment about problems with ignored-expose.
6672 Define mswindows-debug-events; not really implemented.
6674 * frame-msw.c (mswindows_init_frame_1):
6678 * glyphs-msw.c (begin_defer_window_pos):
6679 * glyphs-msw.c (mswindows_unmap_subwindow):
6680 * glyphs-msw.c (mswindows_map_subwindow):
6681 * glyphs-msw.c (mswindows_resize_subwindow):
6682 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6684 * glyphs.c (make_image_instance_1):
6687 * gutter.c (Fredisplay_gutter_area):
6688 Use new begin/end methods.
6690 * lisp.h (Dynarr_new2):
6694 * redisplay-msw.c (mswindows_frame_output_begin):
6695 * redisplay-msw.c (mswindows_frame_output_end):
6696 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6697 New begin/end methods -- handle DeferWindowPos.
6699 * redisplay-output.c (redisplay_move_cursor):
6700 * redisplay-output.c (redraw_cursor_in_window):
6701 * redisplay-output.c (redisplay_update_line):
6702 * redisplay-output.c (redisplay_output_window):
6703 New begin/end methods.
6706 * redisplay-tty.c (tty_frame_output_begin):
6707 * redisplay-tty.c (tty_frame_output_end):
6708 * redisplay-tty.c (console_type_create_redisplay_tty):
6709 New begin/end methods.
6712 * redisplay-x.c (x_window_output_begin):
6713 * redisplay-x.c (x_window_output_end):
6714 * redisplay-x.c (console_type_create_redisplay_x):
6715 New begin/end methods.
6717 * redisplay.c (redisplay_frame):
6718 * redisplay.c (Fredisplay_echo_area):
6719 New begin/end methods.
6720 use MAYBE_DEVMETH for clear_frame; it may not exist.
6722 * window.h (WINDOW_XFRAME):
6723 WINDOW_XFOO macros -- get locale and decode struct pointer.
6726 2000-05-12 Ben Wing <ben@xemacs.org>
6729 * emacs.c (ensure_no_quitting_from_now_on):
6730 * emacs.c (fatal_error_signal):
6731 * emacs.c (mswindows_handle_hardware_exceptions):
6733 * emacs.c (Fkill_emacs):
6734 * emacs.c (shut_down_emacs):
6735 * emacs.c (assert_failed):
6736 various improvements in fatal error handling.
6739 move preparing_for_armageddon to emacs.c.
6742 declare fatal_error_in_progress.
6745 * print.c (std_handle_out_external):
6746 * print.c (std_handle_out_va):
6747 * print.c (stderr_out):
6748 * print.c (stdout_out):
6749 use console under mswin when no standard output.
6750 don't do code conversion during fatal error.
6752 * scrollbar.c (Fscrollbar_page_up):
6753 * scrollbar.c (Fscrollbar_page_down):
6754 fix missing else. reindent.
6756 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6760 * glyphs.h (GLYPH_CACHEL_DESCENT):
6761 (GLYPH_CACHEL_DESCENT):
6762 (GLYPH_CACHEL_DESCENT):
6763 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6764 used in case these are inline functions.
6765 Use more absurd values to error check.
6767 include window.h for error check functions.
6769 2000-05-11 Ben Wing <ben@xemacs.org>
6771 * cmdloop.c (Freally_early_error_handler):
6772 Display message box under windows; otherwise, message will disappear
6773 before it can be viewed.
6776 * console-msw.c (Fmswindows_message_box):
6777 * console-msw.c (FROB):
6778 * console-msw.c (syms_of_console_mswindows):
6779 Define new fun `mswindows-message-box'.
6780 #### I will merge this into `popup-dialog-box'; just give me
6784 * general.c (syms_of_general):
6785 Some new symbols used in `mswindows-message-box'.
6788 * glyphs.c (Fset_image_instance_property):
6789 put warning in this fun.
6792 * glyphs.h (GLYPH_CACHEL_WIDTH):
6793 * glyphs.h (GLYPH_CACHEL_ASCENT):
6794 * glyphs.h (GLYPH_CACHEL):
6795 * glyphs.h (GLYPH_CACHEL_GLYPH):
6796 define error-checking versions to try to catch a bug i've seen --
6797 redisplay gets in an infinite loop because the glyph width of the
6798 continuation glyph is 65535.
6801 Extern message-box stuff.
6803 * window.c (allocate_window):
6804 * window.c (make_dummy_parent):
6805 * window.c (Fset_window_configuration):
6806 Use EQUAL not EQ for subwindow caches to make them work a bit
6807 better. (Something is still very broken.)
6810 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6812 * glyphs.c (image_instantiate): Suppress gcc warnings.
6813 (Fmake_image_instance): Fix doc string.
6814 * specifier.c (Fmake_specifier): Ditto.
6816 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6818 * paths.h.in (PATH_LOCK): Removed.
6819 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6820 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6822 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6824 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6825 Document (featurep '(and xemacs 21.02)).
6827 2000-05-09 Ben Wing <ben@xemacs.org>
6829 * buffer.c (complex_vars_of_buffer):
6830 update modeline-format doc.
6833 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6836 timeline of all released versions of Emacs, for use in creating
6837 authorship comments and in synching up.
6839 * glyphs-widget.c (image_instantiator_buttons):
6840 * glyphs-widget.c (image_instantiator_edit_fields):
6841 * glyphs-widget.c (image_instantiator_combo_box):
6842 * glyphs-widget.c (image_instantiator_scrollbar):
6843 * glyphs-widget.c (image_instantiator_progress_guage):
6844 * glyphs-widget.c (image_instantiator_tree_view):
6845 * glyphs-widget.c (image_instantiator_tab_control):
6846 * glyphs-widget.c (image_instantiator_labels):
6847 * glyphs-widget.c (image_instantiator_layout):
6848 * glyphs-widget.c (image_instantiator_native_layout):
6849 rename decode_domain method to governing_domain.
6852 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6853 * glyphs.c (add_entry_to_device_ii_format_list):
6854 make sure we don't put an entry more than once into the list.
6855 * glyphs.c (check_instance_cache_mapper):
6856 *************************************************************
6857 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6859 *************************************************************
6860 * glyphs.c (get_image_instantiator_governing_domain):
6861 clean up, expand on new concept of governing domain.
6862 * glyphs.c (instantiate_image_instantiator):
6863 * glyphs.c (allocate_image_instance):
6864 use governing_domain instead of cache_domain in naming.
6865 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6866 * glyphs.c (make_image_instance_1):
6867 * glyphs.c (Fmake_image_instance):
6868 allow for any domain (not just device), and process the
6869 governing domain correctly. very big doc fix.
6870 * glyphs.c (Fimage_instance_domain):
6871 new primitive, to retrieve the governing domain of an image instance.
6872 * glyphs.c (image_instantiate):
6873 use new governing_domain stuff. this fixes a crash you could get
6874 by instantiating certain widget glyphs in frame locales. (should
6875 signal an error instead of crashing.)
6876 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6877 * glyphs.c (Fglyphp): clean up doc.
6878 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6879 * glyphs.c (syms_of_glyphs):
6880 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6881 * glyphs.c (image_instantiator_format_create): add some comments about
6883 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6884 for current-display-table. (Apparently Hrjove implemented in 1998 a
6885 design I wrote up in 1996, but didn't update the doc string.)
6887 * glyphs.h: clean up a doc string.
6888 * glyphs.h (governing_domain):
6889 * glyphs.h (struct image_instantiator_methods):
6890 changes for governing_domain stuff.
6893 * gutter.c (Fgutter_specifier_p):
6894 * gutter.c (Fgutter_size_specifier_p):
6895 * gutter.c (Fgutter_visible_specifier_p):
6897 * objects.c (Fcolor_specifier_p):
6898 * objects.c (Ffont_specifier_p):
6899 * objects.c (Fface_boolean_specifier_p):
6900 doc strings moved to make-*-specifier.
6902 * redisplay.c (add_disp_table_entry_runes_1):
6903 * redisplay.c (generate_fstring_runes):
6904 * redisplay.c (screen):
6905 add random comments and doc strings.
6908 * specifier.c (Fmake_specifier):
6909 major overhaul of this doc string.
6911 * specifier.c (Fvalid_specifier_domain_p):
6912 comment about the bogosity of image instances being domains.
6913 * specifier.c (decode_domain):
6914 now non-static, used in glyphs.c.
6915 * specifier.c (specifier_instance):
6916 comment about the bogosity of image instances being domains.
6917 * specifier.c (Fgeneric_specifier_p):
6918 move doc string to make-generic-specifier.
6919 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6923 * specifier.h (DOMAIN_FRAME):
6924 * specifier.h (DOMAIN_LIVE_P):
6925 * specifier.h (DOMAIN_XDEVICE):
6927 add comments about problems with these macros.
6928 prototype for decode_domain.
6931 * toolbar.c (Ftoolbar_specifier_p):
6932 move doc string to `make-toolbar-specifier'.
6934 * window.c (window_unmap_subwindows_cache_mapper):
6935 *************************************************************
6936 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6938 *************************************************************
6940 2000-05-09 Andy Piper <andy@xemacs.org>
6942 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6944 * window.c (Fset_window_configuration): reset the frame subwindow
6945 cache and re-initialize the window subwindow caches.
6947 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6949 2000-05-09 Ben Wing <ben@xemacs.org>
6951 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6954 2000-04-26 Mike Woolley <mike@bulsara.com>
6956 * ntheap.c: Changed recreate_heap to limit the amount reserved
6957 for the heap to that which is actually available. Also now
6958 displays a message box (with some dignostics) in the event that
6959 it still can't start.
6961 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6963 * callproc.c (Fold_call_process_internal): GCPRO path
6965 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6967 Patch by Bill Perry.
6969 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6970 back data instead of #ifdef.
6971 (Fscrollbar_page_down): ditto.
6973 2000-05-07 Ben Wing <ben@xemacs.org>
6976 Kludge for defining Qmswindows_tstr.
6979 * nt.c (open_input_file):
6980 * nt.c (open_output_file):
6981 * nt.c (rva_to_section):
6982 * nt.c (mswindows_executable_type):
6983 Move all memory-mapped-file routines here (some were in unexnt.c,
6984 which is bad because they are used by process-nt.c, and unexnt
6985 won't be around when portable dumping). Synched the above routines
6989 Removed ifdef'd out bogus code.
6990 Fixed some prototypes.
6993 * nt.h (OFFSET_TO_RVA):
6994 * nt.h (RVA_TO_OFFSET):
6995 * nt.h (RVA_TO_PTR):
6996 Moved the memory-mapped-file structures, macros and prototypes
6997 here, to parallel nt.c. ntheap.h should really be removed
6998 entirely, and it's a non-portable-dumper specific file.
7000 * ntheap.h (round_to_next):
7001 Moved the memory-mapped-file structures, macros and prototypes
7004 * ntproc.c (compare_env):
7005 Moved rva_to_section and mswindows_executable_type to nt.c.
7006 Moved compare_env to process-nt.c.
7007 ntproc.c will die, one day.
7009 * ntproc.c (sys_spawnve):
7010 Account for win32_ -> mswindows_.
7013 * process-nt.c (struct nt_process_data):
7014 * process-nt.c (ensure_console_window_exists):
7015 * process-nt.c (compare_env):
7016 * process-nt.c (nt_create_process):
7017 * process-nt.c (nt_kill_process_by_pid):
7018 * process-nt.c (syms_of_process_nt):
7019 * process-nt.c (vars_of_process_nt):
7020 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7021 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7022 changes). Eliminate our old `nt-quote-process-args' mechanism.
7023 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7024 Move compare_env here from ntproc.c.
7026 * process.c (Fprocess_send_region):
7027 Takes an optional fourth argument, BUFFER, which should fix some
7028 problems with call-process.
7031 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7034 Move ICC_BAR_CLASSES to syscommctrl.h.
7035 Add preliminary macros for MSWindows/Mule. More to come.
7038 * unexnt.c (unexec):
7039 open_output_file moved to nt.c.
7042 2000-05-05 Andy Piper <andy@xemacs.org>
7044 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7045 instance from the frame cache also since GC may catch up too late
7046 to make frame deletion sane.
7048 2000-05-04 Andy Piper <andy@xemacs.org>
7050 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7051 (x_finalize_image_instance): ungcpro on deletion.
7053 * glyphs.c (image_instantiator_format_create): give pointers a
7054 query geometry method so that the geometry is at least set.
7056 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7057 initialize layouts if using widgets.
7059 2000-05-03 Andy Piper <andy@xemacs.org>
7061 * nt.c: remove bogus reference to sysmmsystem.h
7063 * gui-x.c (popup_selection_callback): fix no selection abort.
7065 2000-05-02 Andy Piper <andy@xemacs.org>
7067 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7068 (mswindows_widget_instantiate): ditto.
7070 * glyphs-widget.c (initialize_widget_image_instance): initialize
7072 (widget_instantiate): cope with children and items in the same
7075 * glyphs.c (mark_image_instance): cope with children as a first
7077 (image_instance_equal): ditto.
7078 (image_instance_hash): ditto.
7079 (image_instance_changed): ditto.
7081 2000-04-30 Andy Piper <andy@xemacs.org>
7083 * glyphs.c (subwindow_query_geometry): new function. Return some
7085 (subwindow_instantiate): don't assign dimensions if none have been
7087 (image_instantiator_format_create): add subwindow_query_geometry.
7088 (print_image_instance): cope with layouts as widgets.
7090 2000-04-29 Andy Piper <andy@xemacs.org>
7092 * frame.c (delete_frame_internal): call
7093 free_frame_subwindow_instance_cache so that all subwindows are
7094 finalized before their parent.
7095 (mark_frame): remove subwindow_cachels.
7096 (Fmake_frame): remove subwindow_cachel manipulation.
7097 (allocate_frame_core): subwindow_instance_cache is a weak list.
7098 (delete_frame_internal): set subwindow_instance_cache to nil.
7100 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7102 (mswindows_finalize_image_instance): use the device
7103 not the domain as the domain may have died already.
7105 * glyphs-x.c (x_finalize_image_instance): ditto.
7106 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7109 * redisplay-output.c (redisplay_unmap_subwindows): update for
7110 subwindow instance cache as a weak list.
7111 (redisplay_unmap_subwindows_maybe): ditto.
7112 (redisplay_unmap_subwindows_except_us): ditto.
7114 * glyphs.c (unmap_subwindow): error checking will check the domain
7115 so don't deal with it here. Don't use cachels anymore.
7116 (map_subwindow): ditto.
7117 (update_subwindow_cachel_data): remove old accessor names.
7118 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7119 (Fresize_subwindow): don't update cachel.
7120 (mark_subwindow_cachels):
7121 (update_subwindow_cachel_data):
7122 (add_subwindow_cachel):
7123 (get_subwindow_cachel_index):
7124 (update_subwindow_cachel):
7125 (reset_subwindow_cachels):
7126 (mark_subwindow_cachels_as_not_updated): deleted.
7127 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7128 subwindow instance to the frame cache.
7129 (find_matching_subwindow): update for subwindow instance cache as
7131 (update_widget_instances): ditto.
7132 (image_instance_type_to_mask):inlined.
7133 (free_frame_subwindow_instance_cache): new function. finalize all
7134 subwindows that are instantiated.
7136 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7137 of cachel information.
7138 (IMAGE_INSTANCE_DISPLAY_X):
7139 (IMAGE_INSTANCE_DISPLAY_Y):
7140 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7141 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7142 (XIMAGE_INSTANCE_DISPLAY_X):
7143 (XIMAGE_INSTANCE_DISPLAY_Y):
7144 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7145 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7146 remove subwindow_cachel structure and function references.
7147 (image_instance_type_to_mask): inline from glyphs.c
7149 * redisplay.c (redisplay_frame): remove subwindow_cachel
7152 * frame.h (struct frame): remove subwindow_cachels.
7153 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7155 * frameslots.h: add subwindow_instance_cache.
7157 * window.c (replace_window): check subwindow cache of replacement.
7158 (window_unmap_subwindows_cache_mapper):
7159 (window_unmap_subwindows): new functions. Unmap all subwindows
7160 cached on this window.
7161 (mark_window_as_deleted): unmap all subwindows.
7163 2000-04-27 Andy Piper <andy@xemacs.org>
7165 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7167 * glyphs-widget.c (widget_layout): return something.
7168 (layout_layout): return something. Fail if not initialized.
7169 (layout_query_geometry): ditto.
7170 (image_instantiator_native_layout): new function. Initialized the
7172 (widget_instantiate): don't do layout stuff here.
7174 * glyphs.c (instantiate_image_instantiator): reorded calling or
7175 instantiate and post_instantiate with layout in between.
7176 (image_instance_layout): be more selective about deciding whether
7177 the layout has been done or not.
7179 * glyphs.h (struct image_instantiator_methods): return a value
7182 2000-04-26 Andy Piper <andy@xemacs.org>
7184 * glyphs.c (allocate_image_instance): make initial width and
7185 height unspecified. Set initialized to 0.
7187 * syscommctrl.h new file. Encapsulates commctrl.h.
7189 * syswindows.h new file. Encapsulates windows.h.
7191 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7193 * console-msw.h: ditto.
7195 * redisplay-tty.c (tty_output_display_block): remove layout references.
7197 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7198 window handle rather than just the frame.
7200 * glyphs.c (mark_image_instance): remove layout references.
7201 (print_image_instance): ditto.
7202 (image_instance_equal): ditto.
7203 (image_instance_hash): ditto.
7204 (decode_image_instance_type): ditto.
7205 (encode_image_instance_type): ditto.
7206 (image_instantiate): ditto.
7207 (allocate_glyph): ditto.
7208 (Fimage_instance_height): ditto.
7209 (Fimage_instance_width): ditto.
7210 (update_subwindow): ditto.
7212 * redisplay-x.c (x_output_display_block): recode for layouts as
7215 * redisplay-output.c (redisplay_output_layout): recode for layouts
7217 (compare_runes): remove layout references.
7219 * redisplay-msw.c (mswindows_output_display_block): recode for
7222 * glyphs-widget.c (image_instantiator_layout): remove
7223 layout_possible_dest_types.
7224 (layout_possible_dest_types): deleted.
7226 * glyphs.h (image_instance_type): remove layout references.
7227 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7228 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7229 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7231 2000-04-25 Andy Piper <andy@xemacs.org>
7233 * glyphs-widget.c (image_instantiator_buttons):
7234 (image_instantiator_edit_fields):
7235 (image_instantiator_combo_box):
7236 (image_instantiator_scrollbar):
7237 (image_instantiator_progress_guage):
7238 (image_instantiator_tree_view):
7239 (image_instantiator_tab_control):
7240 (image_instantiator_labels):
7241 (image_instantiator_layout): call default post_instantiate method.
7242 (widget_post_instantiate): new function. Simply lays out the
7245 * glyphs.h (struct image_instantiator_methods): add
7246 post_instantiate method.
7248 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7251 2000-04-23 Andy Piper <andy@xemacs.org>
7253 * glyphs.h (struct image_instantiator_methods): add
7254 decode_domain_method.
7255 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7256 derived from the domain.
7257 (IMAGE_INSTANCE_FRAME): new accessor.
7258 (XIMAGE_INSTANCE_FRAME): ditto.
7260 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7261 instead of _SUBWINDOW_FRAME.
7262 (finalize_image_instance): ditto.
7263 (Fimage_instance_foreground): ditto.
7264 (Fimage_instance_background): ditto.
7265 (image_instantiate): ditto.
7266 (update_subwindow_cachel): ditto.
7267 (update_subwindow): ditto.
7268 (unmap_subwindow): ditto.
7269 (map_subwindow): ditto
7270 (subwindow_instantiate): ditto.
7271 * glyphs-msw.c (mswindows_update_widget): ditto.
7272 (mswindows_progress_gauge_instantiate): ditto.
7273 (mswindows_tab_control_update): ditto.
7274 * glyphs-x.c (x_update_widget): ditto.
7275 (x_widget_instantiate): ditto.
7276 (x_tab_control_instantiate): ditto.
7277 (x_tab_control_update): ditto.
7278 * event-msw.c (mswindows_wnd_proc): ditto
7280 * glyphs-widget.c (image_instantiator_layout): use
7281 subwindow_decode_domain.
7282 (image_instantiator_buttons): ditto.
7283 (image_instantiator_edit_fields): ditto.
7284 (image_instantiator_combo_box): ditto.
7285 (image_instantiator_scrollbar): ditto.
7286 (image_instantiator_progress_guage): ditto.
7287 (image_instantiator_tree_view): ditto.
7288 (image_instantiator_tab_control): ditto.
7289 (image_instantiator_labels): ditto.
7290 (image_instantiator_layout): ditto.
7292 * glyphs.c: add instance error checking to many functions.
7293 (instantiate_image_instantiator): decode device from cache_domain.
7294 (image_instantiate): partially rewrite by using
7295 decode_image_instantiator_domain to determine what domain the
7296 instance needs to be cached in.
7297 (decode_image_instantiator_domain): new function. Determine what
7298 domain the image needs to be cached in.
7299 (check_window_subwindow_cache): new error checking function.
7300 (check_instance_cache_mapper): ditto.
7301 (check_image_instance_structure): ditto.
7302 (subwindow_decode_domain): new function. Encodes a window as a
7303 subwindow's cache domain.
7304 (image_instantiator_format_create): use it for text and
7307 2000-04-21 Andy Piper <andy@xemacs.org>
7309 * glyphs.c (image_instance_device): new function.
7310 (image_instance_frame): new function.
7311 (image_instance_window): new function.
7312 (image_instance_live_p): new function.
7314 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7317 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7318 (IMAGE_INSTANCE_DOMAIN): new accessor.
7319 (XIMAGE_INSTANCE_DOMAIN): ditto.
7321 * glyphs-x.c (x_finalize_image_instance): device->domain.
7323 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7324 (mswindows_finalize_image_instance): ditto.
7326 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7327 (gif_instantiate): ditto.
7328 (png_instantiate): ditto.
7329 (tiff_instantiate): ditto.
7331 * glyphs.c (instantiate_image_instantiator): use domain rather
7333 (mark_image_instance): device -> domain.
7334 (print_image_instance): ditto.
7335 (finalize_image_instance): ditto.
7336 (image_instance_equal): ditto.
7337 (allocate_image_instance): ditto.
7338 (Fcolorize_image_instance): ditto.
7339 (query_string_geometry): ditto.
7340 (image_instantiate): ditto
7341 (query_string_font): ditto.
7342 (image_instantiate): ditto.
7343 (update_subwindow): ditto.
7344 (unmap_subwindow): ditto.
7345 (map_subwindow): ditto.
7346 (subwindow_instantiate): ditto.
7348 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7349 (DOMAIN_FRAME): ditto.
7350 (DOMAIN_WINDOW): ditto.
7351 (DOMAIN_LIVE_P): ditto.
7352 (XDOMAIN_DEVICE): ditto.
7353 (XDOMAIN_FRAME): ditto.
7354 (XDOMAIN_WINDOW): ditto.
7356 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7357 a valid specifier domain.
7359 2000-04-19 Andy Piper <andy@xemacs.org>
7361 * glyphs-widget.c (syms_of_glyphs_widget): remove
7362 widget-callback-current-channel.
7363 (vars_of_glyphs_widget): ditto.
7366 * gui.c (get_gui_callback): revert to previous behaviour.
7368 2000-04-18 Andy Piper <andy@xemacs.org>
7370 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7371 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7372 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7374 * glyphs.c (image_instance_equal): add margin_width.
7375 (image_instance_hash): ditto.
7377 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7378 (layout_query_geometry): ditto.
7379 (layout_layout): ditto.
7380 (syms_of_glyphs_widget): add margin-width.
7381 (image_instantiator_layout): allow margin-width.
7383 * glyphs.c (update_widget_instances): make a normal function.
7384 (syms_of_glyphs): remove Qupdate_widget_instances.
7387 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7388 so that we don't corrupt ideas about the last event or
7389 command. Remove widget-callback-current-channel fiddling.
7390 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7392 2000-05-01 Martin Buchholz <martin@xemacs.org>
7394 * XEmacs 21.2.33 is released.
7396 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7398 * make-src-depend: Allow dots in header file name.
7400 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7402 * mule-charset.h (struct charset_lookup): Add
7403 next_allocated_1_byte_leading_byte and
7404 next_allocated_2_byte_leading_byte.
7405 * mule-charset.c: Move above two variables so that those values
7408 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7410 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7411 when string length is zero.
7412 (find_charsets_in_emchar_string): Ditto.
7414 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7416 * lisp.h: extern Qdialog and Qmenubar.
7418 * gui-x.c: added events.h.
7419 also fixed typo which made the file uncompilable.
7421 * general.c: Added Qmenubar and Qdialog
7423 2000-04-28 Ben Wing <ben@xemacs.org>
7425 * frame-msw.c (mswindows_init_frame_1):
7426 * frame-msw.c (mswindows_mark_frame):
7427 * event-msw.c (mswindows_enqueue_dispatch_event):
7429 * console-msw.h (struct mswindows_frame):
7430 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7431 there are now three hash tables for callbacks.
7432 mswindows_enqueue_dispatch_event is no longer static.
7434 * dialog-x.c (maybe_run_dbox_text_callback):
7435 * dialog-x.c (dbox_descriptor_to_widget_value):
7436 switch to new cons3 form for callbacks.
7438 * glyphs-msw.c (mswindows_register_gui_item):
7439 * glyphs-msw.c (mswindows_widget_instantiate):
7440 * glyphs-msw.c (add_tree_item):
7441 * glyphs-msw.c (add_tab_item):
7442 new image instance parameter, so it can be passed to callback-ex.
7443 respect :callback-ex as well as :callback.
7445 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7448 * glyphs.c (print_image_instance):
7449 prettify, e.g. now prints widget type.
7452 certain funs have new image instance parameter.
7455 * gui.c (get_gui_callback):
7456 * gui.c (gui_item_add_keyval_pair):
7457 * gui.c (gui_item_init):
7458 * gui.c (gui_add_item_keywords_to_plist):
7459 * gui.c (mark_gui_item):
7460 * gui.c (gui_item_hash):
7461 * gui.c (gui_item_equal):
7462 * gui.c (copy_gui_item):
7463 * gui.c (syms_of_gui):
7464 recognize callback-ex in a number of places.
7465 also, fix the annoying "can't get out of yes-no dialog" bug.
7468 * gui.h (struct Lisp_Gui_Item):
7469 recognize callback-ex in a number of places.
7471 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7472 new parameter in button_item_to_widget_value.
7474 * glyphs-x.c (x_update_widget):
7475 * glyphs-x.c (x_button_instantiate):
7476 * glyphs-x.c (x_button_update):
7477 * glyphs-x.c (x_progress_gauge_instantiate):
7478 * glyphs-x.c (x_edit_field_instantiate):
7479 * glyphs-x.c (x_combo_box_instantiate):
7480 * glyphs-x.c (x_tab_control_instantiate):
7481 * glyphs-x.c (x_label_instantiate):
7482 new image instance parameter in various places.
7485 * event-Xt.c (enqueue_Xt_dispatch_event):
7486 this fun gets exported.
7489 * gui-msw.c (mswindows_handle_gui_wm_command):
7490 handle both :callback and :callback-ex, and generate our own
7491 event because it's one of the callback-ex arguments.
7494 * gui-x.c (popup_selection_callback):
7495 handle both :callback and :callback-ex, and generate our own
7496 event because it's one of the callback-ex arguments.
7497 * gui-x.c (button_item_to_widget_value):
7498 * gui-x.c (gui_items_to_widget_values_1):
7499 * gui-x.c (gui_item_children_to_widget_values):
7500 * gui-x.c (gui_items_to_widget_values):
7501 new image instance parameter in various places.
7503 * fns.c (Freplace_list):
7504 fix small typo in doc string.
7507 declare enqueue_Xt_dispatch_event.
7509 2000-04-28 Ben Wing <ben@xemacs.org>
7512 * buffer.c (Frecord_buffer):
7513 * buffer.c (syms_of_buffer):
7514 delete record-buffer-hook.
7517 * fns.c (Freplace_list):
7518 * fns.c (syms_of_fns):
7519 new primitive replace-list.
7522 slot for old buffer-alist.
7528 * redisplay.c (redisplay_frame):
7529 * redisplay.c (syms_of_redisplay):
7530 * redisplay.c (vars_of_redisplay):
7531 new hook buffer-list-changed-hook.
7534 2000-04-27 Ben Wing <ben@xemacs.org>
7536 * extents.h: extern in_modeline_generation.
7538 * redisplay.c (generate_formatted_string_db): set
7539 in_modeline_generation.
7541 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7542 flags if in modeline generation. otherwise frame-modified-tick
7543 is ticked far too often.
7544 Declare in_modeline_generation.
7546 2000-04-26 Ben Wing <ben@xemacs.org>
7548 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7550 (vars_of_emacs): add quick-build as an error-checking option.
7551 A bit kludgy, but there doesn't seem much point in creating
7552 a real var for this.
7554 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7556 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7558 * redisplay.h (struct display_line): Add a new variable,
7561 * redisplay.c (create_text_block): Set dl->line_continuation if
7563 (create_string_text_block): Ditto.
7564 (regenerate_window_incrementally): Use line_continuation instead
7565 of searching continuation glyph.
7566 (add_margin_runes): Call add_glyph_rune.
7567 (add_glyph_rune): Handle margin glyph.
7569 2000-04-20 Martin Buchholz <martin@xemacs.org>
7571 * filelock.c (fill_in_lock_file_name):
7573 Check for IS_ANY_SEP instead of '/'.
7575 Avoid generating gratuitous garbage. Call user_login_name() directly.
7576 Never check errno without first seeing that system call failed.
7577 (unlock_file): Add GCPRO.
7578 (Flock_buffer): Fix docstring.
7579 (Ffile_locked_p): Fix docstring. Add GCPRO.
7581 2000-04-19 Martin Buchholz <martin@xemacs.org>
7583 * sysdep.c (get_pty_max_bytes):
7584 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7585 strings longer than 252 bytes.
7587 * md5.c: Unconditionally include ANSI header <limits.h>
7589 * glyphs-x.c (convert_EImage_to_XImage):
7590 * lisp-union.h (union Lisp_Object):
7591 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7593 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7595 * filelock.c (current_lock_owner): Remove unused variable o, p.
7597 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7599 * callint.c: Remove multiply defined symbol Qlet
7600 (syms_of_callint): ditto.
7602 2000-04-14 Andy Piper <andy@xemacs.org>
7604 * general.c (syms_of_general): add last-command, this-command, let
7607 * lisp.h: declare various symbols.
7609 * glyphs.h: declare Qwidget_callback_current_channel;
7611 * glyphs-widget.c (syms_of_glyphs_widget): add
7612 Qgui_callback_current_channel.
7613 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7615 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7616 widget-callback-current-channel when invoking the interactive
7617 arg. Also bind last-command and next-command when invoking the
7619 * gui-x.c (popup_selection_callback): ditto.
7621 * gui.c (get_gui_callback): massage args so that we are always
7622 calling eval. This allows us to add our own variable bindings
7625 * glyphs-x.c (x_button_instantiate): use
7626 gui_items_to_widget_values since this is GC safe.
7627 (x_progress_gauge_instantiate): ditto.
7628 (x_edit_field_instantiate): ditto.
7629 (x_label_instantiate): ditto.
7631 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7632 (emacs_Xt_event_widget_focus_out): new function
7633 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7635 (emacs_Xt_event_add_widget_actions): new function. add focus
7636 functions as actions.
7637 (init_event_Xt_late): use it.
7639 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7641 * event-stream.c (Fdispatch_event): Doc fix.
7643 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7645 * postgresql.c: Remove all references to PQsetenv*.
7647 * postgresql.h: Remove references to PGsetenvHandler object.
7648 * lrecord.h (lrecord_type): Ditto.
7650 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7652 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7653 real_heigh and real_width members, and accessor macros for these.
7655 * glyphs-msw.c (init_image_instance_geometry): New function.
7656 (init_image_instance_from_dibitmap): Use it.
7657 (mswindows_resource_instantiate): Use it.
7658 (init_image_instance_from_xbm_inline): Use it.
7659 (mswindows_initialize_image_instance_mask): Use real bitmap
7661 (mswindows_create_resized_bitmap): Ditto.
7662 (mswindows_create_resized_mask): Ditto.
7664 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7665 and bitmap to their surface size.
7667 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7669 * process-unix.c (unix_send_process): Guard against process MIA
7670 after Faccept_process_output.
7672 2000-04-11 Ben Wing <ben@xemacs.org>
7674 * eval.c (unbind_to_hairy): fix brokenness introduced by
7675 nanosecond speed improvements.
7677 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7679 * sunplay.c (init_device): To play sounds correctly, the device
7680 apparently needs to be initialized at least once by XEmacs. Make
7683 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7685 * redisplay.c (add_margin_runes): Add text image glyph
7688 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7690 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7691 gcc is newer than 2.5.
7693 2000-04-06 Colin Rafferty <colin@xemacs.org>
7695 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7697 * fns.c (size_bit_vector):
7698 * alloc.c (size_vector):
7699 (make_vector_internal):
7700 (make_bit_vector_internal):
7701 (sweep_bit_vectors_1):
7702 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7704 2000-04-06 Andy Piper <andy@xemacs.org>
7706 * gmalloc.c (malloc): undo previous change.
7711 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7713 * line-number.c (buffer_line_number): Revert to former version.
7715 2000-04-06 Andy Piper <andy@xemacs.org>
7717 * gmalloc.c (malloc): add error checking.
7722 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7723 button_item_to_widget_value arg.
7725 * glyphs-x.c (x_button_instantiate): add extra
7726 button_item_to_widget_value arg.
7727 (x_progress_gauge_instantiate): ditto.
7728 (x_edit_field_instantiate): ditto.
7729 (x_label_instantiate): ditto.
7731 * gui-x.c (gui_items_to_widget_values_1): add extra
7732 button_item_to_widget_value arg.
7733 (button_item_to_widget_value): add extra menu_item_p arg.
7735 * gui-x.h: change signature of button_item_to_widget_value.
7737 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7738 button_item_to_widget_value arg.
7740 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7742 * buffer.h (struct buffer): auto_save_modified should be long.
7744 2000-04-05 Andy Piper <andy@xemacs.org>
7746 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7748 (button_query_geometry): give a little more room so that athena
7751 2000-04-05 Andy Piper <andy@xemacs.org>
7753 * faces.c (complex_vars_of_faces): The widget face should inherit
7754 the font of the gui-element face.
7756 2000-04-04 Andy Piper <andy@xemacs.org>
7758 * glyphs-x.c (x_button_update): new function. unconditionally
7759 update a button's state when the instance is dirty.
7760 (image_instantiator_format_create_glyphs_x): add x_button_update.
7761 (x_widget_instantiate): remove old resize cruft.
7763 2000-04-02 Andy Piper <andy@xemacs.org>
7765 * frame.c (change_frame_size_1): The introduction of gutters means
7766 that we need to allow 0 as a potential frame dimension.
7768 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7770 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7771 image glyph if allow_cursor.
7772 (add_hscroll_rune): Don't allow cursor to border glyph.
7773 (create_text_block): Ditto.
7775 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7777 (redisplay_output_layout): Call ensure_face_cachel_complete for
7781 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7783 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7785 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7788 * redisplay-tty.c (tty_output_display_block): Delete the routine
7789 for text image glyph
7790 * redisplay-x.c (x_output_display_block): ditto
7791 * redisplay-msw.c (mswindows_output_display_block): ditto
7793 2000-02-02 Mike Alexander <mta@arbortext.com>
7795 Note: Some of these were committed by accident as part of other
7798 * regex.c (regex_compile): Avoid compiler warnings.
7800 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7802 * nt.h: Declare term_ntproc correctly.
7804 * nt.c: Remove incorrect declaration of get_home_directory which
7805 is declared correctly in lisp.h.
7807 * keymap.c (get_keyelt): Avoid compiler warnings.
7808 (raw_lookup_key_mapper): Avoid compiler warnings.
7810 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7812 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7814 * filemode.c (mode_string): Avoid compiler warnings.
7816 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7819 * events-mod.h: Undef some things that winuser.h defines differently.
7821 * data.c (Faset): Avoid compiler warnings.
7823 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7825 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7827 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7828 Fall through to simple beep on error.
7829 Replace "extern" by real header file.
7831 * linuxplay.c: Use nativesound.h
7832 (play_sound_data): Return error code. Be less verbose on error.
7834 * sunplay.c: Use nativesound.h
7835 (play_sound_data): Return error code. Be less verbose on error.
7837 * ntplay.c: Use nativesound.h
7838 (play_sound_data): Return fake error code
7840 * sgiplay.c: Use nativesound.h
7841 (play_sound_data): Return error code
7843 * hpplay.c: Use nativesound.h, partially implement
7844 new error code. Break compilation until finished.
7845 (play_sound_data): error code.
7847 * nativesound.h (play_sound_file):
7848 (play_sound_data): Prototype in new header.
7850 2000-03-31 Andy Piper <andy@xemacs.org>
7852 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7853 for toggle and radio buttons.
7854 (image_instantiator_buttons): use it.
7856 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7858 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7859 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7860 found. Scrollbar event probably belonged to some old config.
7862 2000-03-31 Andy Piper <andy@xemacs.org>
7864 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7866 (initialize_widget_image_instance): default layout to
7867 LAYOUT_HORIZONTAL rather than 0.
7868 (widget_instantiate): reverse the item list at the end rather than
7870 (layout_layout): re-code for the border text at the front of the
7871 item list rather than at the end.
7872 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7873 provided by the user.
7874 (widget_query_geometry): comment.
7876 2000-03-30 Andy Piper <andy@xemacs.org>
7878 * glyphs-widget.c (image_instantiator_layout): allow standard
7879 widget keywords in layouts.
7881 * gutter.c (output_gutter): cope with nil gutter contents.
7883 * frame.c (Fset_frame_properties): add gutter docs.
7885 2000-03-29 Andy Piper <andy@xemacs.org>
7887 * toolbar-msw.c (TBSTYLE_FLAT): add.
7888 (mswindows_output_toolbar): minor fiddling.
7890 2000-03-29 Andy Piper <andy@xemacs.org>
7892 * gutter.c (output_gutter): force gutter size recalculation if
7893 what we are trying to display won't fit.
7894 (update_gutter_geometry): new function. A per-gutter version of
7895 update_frame_gutter_geometry.
7896 (update_frame_gutter_geometry): use it.
7897 (redraw_exposed_gutter): add extra debugging output.
7899 2000-03-28 Mike Alexander <mta@arbortext.com>
7901 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7902 (pdump_file_unmap): Implement it on Windows
7903 (pdump_file_get): Save alocated handles for pdump_file_unmap
7905 2000-03-28 Andy Piper <andy@xemacs.org>
7907 * gui.c (get_gui_callback): treat Quit specially.
7909 2000-03-27 Andy Piper <andy@xemacs.org>
7911 * glyphs.c (image_instantiate): be careful to check in the same
7914 2000-03-27 Didier Verna <didier@xemacs.org>
7916 * config.h.in: define the proper SMART_INCLUDE macro.
7917 handle renaming of `foo_h_path' to `foo_h_file'.
7919 * database.c: ditto.
7923 * linuxplay.c: ditto.
7925 * terminfo.c: ditto.
7927 * tooltalk.h: ditto.
7929 2000-03-27 Andy Piper <andy@xemacs.org>
7931 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7932 gets updated whenever the face might have changed.
7934 2000-03-26 Mike Alexander <mta@arbortext.com>
7936 * dumper.c (pdump_resource_free): Fix the comment.
7938 2000-03-21 Olivier Galibert <galibert@pobox.com>
7940 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7942 2000-03-22 Mike Alexander <mta@arbortext.com>
7944 * dumper.c: Include Windows headers on Windows
7945 (pdump_resource_free): Add a body to the function
7946 (pdump_load): exe_name -> exe_path and add some comments.
7948 2000-03-25 Mike Alexander <mta@arbortext.com>
7950 * gui.c (copy_gui_item_tree): Return a value in all cases
7952 2000-03-21 Didier Verna <didier@xemacs.org>
7954 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7956 (SMART_INCLUDE): new macro.
7957 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7958 the proper location.
7960 * postgresql.c: use it.
7964 2000-03-24 Andy Piper <andy@xemacs.org>
7966 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7969 2000-03-24 Andy Piper <andy@xemacs.org>
7971 * redisplay-output.c (compare_runes): use image_instance_changed
7972 to detect changes. Do not depend on glyphs_changed, only depend on
7974 (redisplay_output_layout): add debug messages.
7975 (compare_runes): ditto.
7977 * glyphs.h: declare new functions.
7978 (struct Lisp_Image_Instance): remove percent and associated
7981 * gui.h: declare new copying functions.
7983 * gui.c (copy_gui_item_tree): new function.
7984 (copy_gui_item): new function.
7985 (gui_item_id_hash): revert to standard hash.
7986 (gui_item_hash): ditto.
7987 (gui_item_hash_internal): deleted.
7988 (mark_gui_item): mark value.
7989 (gui_item_add_keyval_pair): add value.
7990 (gui_item_init): ditto.
7991 (gui_add_item_keywords_to_plist): ditto.
7992 (gui_item_equal): ditto.
7993 (syms_of_gui): add Q_value.
7995 * glyphs-x.c (x_progress_gauge_update): use pending items and
7996 value for setting the state.
7997 (x_update_widget): don't set items from pending here.
7999 * glyphs-widget.c (update_widget): update items here.
8000 (progress_gauge_set_property): use items for storing value. Put
8001 new value in pending items.
8003 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
8004 items for new value. Convert percent -> value.
8005 (mswindows_tab_control_update): don't update items here.
8007 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
8008 (update_subwindow): ditto.
8009 (image_instance_changed): new function. Compare hash values and
8010 past and present widget items.
8011 (image_instantiate): We more careful about where we instantiate
8013 (image_instantiate): add error checking.
8015 * gutter.c (syms_of_gutter): use -hook.
8017 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8019 * console-tty.c (Fset_console_tty_input_coding_system): Use
8021 (Fset_console_tty_output_coding_system): Use Qterminal.
8022 (tty_init_console): Use Qkeyboard and Qterminal.
8024 2000-03-21 Ben Wing <ben@xemacs.org>
8026 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8027 From Mike Alexander <mta@arbortext.com>.
8029 2000-03-21 Ben Wing <ben@xemacs.org>
8031 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8032 process brokenness. Proper implementation to come.
8034 Rename call-process-internal to old-call-process-internal.
8035 New impl. in process.el.
8037 2000-03-21 Martin Buchholz <martin@xemacs.org>
8039 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8041 2000-03-20 Andy Piper <andy@xemacs.org>
8043 * glyphs.c (full_list_hash): make hashes of the same elements in
8044 different orders return different values.
8046 2000-03-20 Martin Buchholz <martin@xemacs.org>
8048 * XEmacs 21.2.32 is released.
8050 2000-03-20 Martin Buchholz <martin@xemacs.org>
8052 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8053 (DFC_MALLOC_USE_CONVERTED_DATA):
8054 Add aliasing-safe casts to allow use with char* or unsigned char*
8057 * eldap.c (Fldap_open):
8058 (Fldap_search_basic):
8061 Make C++-compilable.
8062 Make sure GCPRO'ed variables are initialized.
8063 Use temp variables to avoid repeated calls to Flength.
8065 2000-03-16 Martin Buchholz <martin@xemacs.org>
8068 Make sure PATH_MAX is always defined.
8069 Include limits.h for PATH_MAX.
8070 Deprecate use of MAXPATHLEN.
8072 2000-03-10 Martin Buchholz <martin@xemacs.org>
8074 * emacs.c: Add reinit_vars_of_fileio.
8075 * symsinit.h: Add reinit_vars_of_fileio.
8076 * fileio.c (reinit_vars_of_fileio): New.
8077 * fileio.c (Fmake_temp_name):
8078 Initialize temp_name random number from microseconds to make
8079 collisions even less likely. Initialize always at process startup
8080 time. (make-temp-name) used to return the same file name twice in
8082 Random stylistic fiddling.
8085 2000-03-20 Andy Piper <andy@xemacs.org>
8087 * glyphs.c (image_instantiate): allow text glyphs to be
8088 instantiated in the minibuffer window.
8090 2000-03-19 Andy Piper <andy@xemacs.org>
8092 * glyphs.c (image_instance_hash): be careful about which items we
8095 * glyphs-widget.c (tab_control_set_property): record into pending
8096 items rather than the actual items.
8098 * glyphs-x.c (x_update_widget): use pending items to update with.
8100 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8103 * glyphs.c (mark_image_instance): mark pending items.
8105 * window.c (Fset_window_configuration): record the buffer.
8106 (Fselect_window): totally revert previous change which breaks many
8109 2000-03-18 Andy Piper <andy@xemacs.org>
8111 * glyphs-msw.c (mswindows_tab_control_update): force selected
8114 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8115 window domain cache, otherwise we get inconsistencies at
8116 startup. There is something fishy at startup which can lead to the
8117 minibuffer being the selected window when the gutter content is
8120 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8122 (parse_gui_item_tree_children): ditto.
8123 (parse_gui_item_tree_item): ditto.
8125 * glyphs.c (Fupdate_widget_instances): return something.
8127 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8129 * window.c (Fselect_window): Undo 2000-03-17 change.
8131 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8133 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8134 against v7.0 libraries. Insta-coredump city until the postgres
8137 2000-03-17 Andy Piper <andy@xemacs.org>
8139 * faces.c (complex_vars_of_faces): don't give the widget face an
8140 inherited background pixmap.
8142 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8145 * event-stream.c (Fdispatch_non_command_events): return something.
8147 * gutter.c (output_gutter): use widget face.
8148 (clear_gutter): ditto.
8150 * NEWS: adjust again.
8152 * window.c (Fselect_window): make sure this runs to completion to
8153 avoid oddities with Fset_window_configuration.
8154 (Fcurrent_window_configuration): in general do not save the
8155 minibuffer as the selected window.
8157 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8159 2000-03-16 Olivier Galibert <galibert@pobox.com>
8161 * emacs.c (Frunning_temacs_p): Revert previous patch.
8162 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8164 2000-03-16 Andy Piper <andy@xemacs.org>
8166 * glyphs-x.c (x_tab_control_update): if no widget values then
8169 * NEWS: update for new features.
8171 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8172 synthetic event to the native system.
8173 (reinit_vars_of_event_Xt): set force_event_pending to
8174 emacs_Xt_force_event_pending.
8176 * events.h (struct event_stream): add force_event_pending.
8178 * specifier.c (recompute_one_cached_specifier_in_window): add
8181 * redisplay.c (redisplay_frame): don't call
8182 update_frame_subwindows. Reset subwindow cachels when
8183 subwindows_changed, removing this was an optimization too far.
8185 * redisplay-output.c (compare_runes): reorganize so that we catch
8186 glyph changes when we want them. Set optimize_output when this
8188 (redisplay_output_layout): remove frame_really_changed, use
8189 optimize_output instead.
8191 * redisplay-msw.c (mswindows_output_display_block): reset
8192 optimize_output after outputting a glyph.
8193 * redisplay-x.c (x_output_display_block): ditto.
8194 * redisplay-tty.c (tty_output_display_block): ditto.
8196 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8198 (gutter_specs_changed): do specific gutter positions.
8199 (top_gutter_specs_changed): new function. Only update the
8200 specified gutter specs.
8201 (bottom_gutter_specs_changed): ditto.
8202 (left_gutter_specs_changed): ditto.
8203 (right_gutter_specs_changed): ditto.
8205 * gui.c (gui_item_hash_internal): new function, does a real hash.
8206 (gui_item_id_hash): use it.
8207 (gui_item_hash): hash the eval'ed gui_item.
8209 * gui-x.c (popup_selection_callback): send an eval event to call
8210 Fupdate_widget_instances.
8212 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8213 to call Fupdate_widget_instances.
8215 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8216 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8218 * glyphs.c: (update_frame_subwindows): deleted.
8219 (Fupdate_widget_instances): new function for updating the dirty
8220 state of widgets that might have changed.
8221 (syms_of_glyphs): add Qupdate_widget_instances.
8222 (full_list_hash): hash a list completely.
8223 (image_instance_hash): use it for items and properties.
8225 * frame-msw.c (mswindows_size_frame_internal): remove unused
8228 * faces.h (struct face_cachel): fix comment.
8230 * event-stream.c (Fdispatch_non_command_events): new
8231 function. Process non-command events, forcing an event cycle
8233 (syms_of_event_stream): declare.
8234 (event_stream_force_event_pending): new function. Force an event
8235 on the native event queue so that an event cycle will occur next
8239 (struct ntpipe_shove_stream):
8240 (mswindows_enqueue_dispatch_event):
8241 (mswindows_dequeue_dispatch_event):
8242 (mswindows_cancel_dispatch_event):
8243 (mswindows_pump_outstanding_events):
8244 (mswindows_drain_windows_queue):
8245 (mswindows_handle_paint):
8246 (mswindows_wnd_proc):
8247 (mswindows_key_to_emacs_keysym):
8248 (get_process_input_waitable):
8249 (emacs_mswindows_delete_stream_pair): re-indent file.
8250 (mswindows_need_event): do not process further fds if the windows
8251 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8252 fixes the 100% cpu problem.
8253 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8255 2000-03-15 Olivier Galibert <galibert@pobox.com>
8261 * emacs.c: Moved dump file searching to dumper.c.
8262 (Frunning_temacs_p): Fixed.
8264 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8265 last_lrecord_type_index_assigned.
8267 2000-02-20 Olivier Galibert <galibert@pobox.com>
8269 * symsinit.h: Added reinit parameter to init_console_stream
8272 * lisp.h: Added file parameter to pdump_load declaration.
8274 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8275 support. Added dump file searching.
8277 * config.h.in: Added EMACS_PROGNAME.
8279 * console-stream.c (init_console_stream): Fix reinitialisation
8280 when running from temacs.
8282 * alloc.c (pdump): Add id support.
8283 (pdump_load): Add file parameter and signature/id support.
8285 * Makefile.in.in: Add full pdump support.
8287 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8289 * postgresql.c: Update documentation to reflect latest code
8291 (print_result): Show tuple counts in printed representation when
8293 (Fpq_put_nbytes): MULE-ize.
8294 (Fpq_get_line_async): Ditto.
8296 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8298 * postgresql.c (Fpq_lo_import): Fix return value.
8299 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8301 2000-03-13 Ben Wing <ben@xemacs.org>
8303 * alloc.c (pdump_load):
8304 Fix compile warning under mswin.
8306 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8308 * postgresql.c: Mule-ization, bug fixes.
8309 Use PG_CODING to encapsulate coding system name changes.
8310 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8311 (pg-coding-system): Create.
8313 (Fpq_conn_defaults): Mule-ize.
8314 (Fpq_connectdb): Mule-ize & bug fix.
8315 (Fpq_connect_start): Mule-ize.
8316 (Fpq_set_client_encoding): Mule-ize.
8317 (Fpq_finish): Document `DEAD' connection status.
8319 (Fpq_pgconn): Mule-ize.
8320 (Fpq_exec): Mule-ize & bug fix.
8321 (Fpq_send_query): Ditto.
8322 (Fpq_get_result): Ditto.
8323 (Fpq_res_status): Mule-ize.
8324 (Fpq_result_error_message): Mule-ize.
8325 (Fpq_ntuples): fix comments.
8326 (Fpq_fname): Mule-ize.
8327 (Fpq_fnumber): Mule-ize.
8328 (Fpq_ftype): fix comments.
8329 (Fpq_get_value): Mule-ize.
8330 (Fpq_cmd_status): Ditto.
8331 (Fpq_cmd_tuples): Ditto.
8332 (Fpq_oid_value): Ditto.
8333 (Fpq_notifies): Ditto.
8334 (Fpq_lo_import): Ditto.
8335 (Fpq_lo_export): Ditto.
8336 (Fpq_get_line): Ditto.
8337 (Fpq_put_line): Mule-ize and bug fix.
8338 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8340 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8342 * postgresql.c (vars_of_postgresql): Mule-ize.
8343 (Fpq_conn_defaults): Ditto.
8345 2000-03-12 Ben Wing <ben@xemacs.org>
8347 * alloc.c (Fmake_byte_code):
8348 * alloc.c (debug_string_purity_print):
8349 * alloc.c (pdump_backtrace):
8350 * alloc.c (pdump_get_indirect_count):
8351 * alloc.c (pdump_register_sub):
8352 * alloc.c (pdump_register_object):
8353 * alloc.c (pdump_register_struct):
8354 * alloc.c (pdump_dump_data):
8355 * alloc.c (pdump_reloc_one):
8359 * console-msw.c (GetConsoleHwnd):
8360 * console-msw.c (msw_hide_console):
8361 * console-msw.c (msw_show_console):
8362 * console-msw.c (msw_ensure_console_buffered):
8363 * console-msw.c (msw_output_console_string):
8364 * console-msw.c (console_type_create_mswindows):
8366 a) Added functions to manipulate the console window for use with
8369 b) Added support for writing text to the console, which is now
8370 used under Windows when xemacs is not being run non-interactively,
8371 to write text that would otherwise be destined for stdout because
8372 under these circumstances, text written to stdout tends to
8373 disappear and not be seen.
8377 * event-Xt.c (x_event_to_emacs_event):
8378 * event-Xt.c (describe_event_window):
8379 * events-mod.h (XEMACS_MOD_CONTROL):
8381 * events.c (Fmake_event):
8382 * events.c (character_to_event):
8383 * events.c (event_to_character):
8384 * events.c (format_event_object):
8385 * events.c (Fevent_modifiers):
8387 * events.h (struct key_data):
8388 * events.h (struct button_data):
8389 * events.h (struct misc_user_data):
8390 * frame-x.c (Fcde_start_drag_internal):
8391 * frame-x.c (Foffix_start_drag_internal):
8392 * gpmevent.c (Freceive_gpm_event):
8394 * keymap.c (bucky_sym_to_bucky_bit):
8395 * keymap.c (control_meta_superify):
8396 * keymap.c (make_key_description):
8397 * keymap.c (keymap_lookup_directly):
8398 * keymap.c (create_bucky_submap):
8399 * keymap.c (keymap_store):
8400 * keymap.c (define_key_check_and_coerce_keysym):
8401 * keymap.c (define_key_parser):
8402 * keymap.c (define_key_alternate_name):
8403 * keymap.c (Fdefine_key):
8404 * keymap.c (raw_lookup_key_mapper):
8405 * keymap.c (struct map_keymap_unsorted_closure):
8406 * keymap.c (map_keymap_unsorted_mapper):
8407 * keymap.c (map_keymap_sort_predicate):
8408 * keymap.c (map_keymap_sorted):
8409 * keymap.c (accessible_keymaps_mapper_1):
8410 * keymap.c (where_is_recursive_mapper):
8411 * keymap.c (describe_map_mapper):
8412 * keymap.c (describe_map_sort_predicate):
8413 * keymap.c (describe_map):
8414 * keymap.c (complex_vars_of_keymap):
8415 And a number of other files, the key modifier preprocessor
8416 constants that xemacs uses have names that conflict with constants
8417 defined under MS Windows for other purposes, so they were renamed
8418 to begin with the prefix XEMACS_. The variables that hold such
8419 modifiers were changed to consistently be of type int to fix
8420 various compile warnings.
8422 * console.c (complex_vars_of_console):
8425 * device-msw.c (mswindows_finish_init_device):
8426 * device-msw.c (msw_get_workspace_coords):
8427 * device-msw.c (mswindows_device_system_metrics):
8428 and various other files, added support for a new
8429 device property called offset-workspace which returns the position
8430 of the upper left corner of the workspace area and goes along with
8431 the existing size-workspace property.
8434 * dialog-msw.c (push_bufbyte_string_as_unicode):
8435 * dialog-msw.c (mswindows_popup_dialog_box):
8436 Added support for XEmacs-style accelerator specifications in
8437 button text. Note: I didn't add support for this under X Windows,
8438 and somebody needs to do this.
8441 * dialog.c (Fpopup_dialog_box):
8442 Documented the support for accelerators that was just mentioned.
8444 editfns.c (get_home_directory): Changed behavior under Windows
8445 when HOME not defined; former behavior was irretrievably broken.
8450 * minibuf.c (clear_echo_area_internal):
8451 * minibuf.c (echo_area_append):
8453 * print.c (std_handle_out_external):
8454 * print.c (std_handle_out_va):
8456 * print.c (write_string_to_stdio_stream):
8457 * print.c (output_string):
8458 * print.c (debug_print):
8459 * print.c (debug_backtrace):
8460 * print.c (debug_short_backtrace):
8461 Cleaned up the code that prints text to stdout so that this can be
8462 changed to output into a console window instead under MS Windows,
8466 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8467 * eval.c (internal_catch):
8468 * eval.c (unwind_to_catch):
8469 * eval.c (throw_or_bomb_out):
8470 * eval.c (condition_case_1):
8471 * eval.c (signal_1):
8472 * eval.c (check_error_state_sanity):
8473 * eval.c (call_with_suspended_errors_1):
8474 * eval.c (call_with_suspended_errors):
8475 * eval.c (reinit_vars_of_eval):
8476 Added code to catch throw loops and check for a pesky bug that may
8480 * event-msw.c (key_needs_default_processing_p):
8481 * event-msw.c (mswindows_wnd_proc):
8482 * event-msw.c (mswindows_modifier_state):
8483 * event-msw.c (emacs_mswindows_quit_p):
8484 * event-msw.c (vars_of_event_mswindows):
8485 a) Added support for using the alt key to select menu items as is
8486 standard under MS Windows. This is controlled using the variable
8487 menu-accelerator-enabled, just like under X Windows. There is an
8488 option on the options menu to turn this support on. I really
8489 think that it should be on by default under Windows, but I'm not
8490 going to make this change yet.
8492 b) Added support for dynamic display size changes under Windows.
8495 * event-stream.c (maybe_echo_keys):
8496 * event-stream.c (Fnext_event):
8497 * event-stream.c (command_builder_find_leaf):
8498 * event-stream.c (lookup_command_event):
8499 * event-stream.c (execute_command_event):
8500 * event-stream.c (pre_command_hook):
8501 * event-stream.c (post_command_hook):
8502 * event-stream.c (syms_of_event_stream):
8503 * event-stream.c (vars_of_event_stream):
8504 * event-stream.c (complex_vars_of_event_stream):
8505 * events.h (struct command_builder):
8507 a) Tried to clean up a little bit the horribly written x-specific
8508 accelerator code that crept into this file. I moved this code
8509 into menubar-x.c where it belongs. I also needed to move the
8510 command builder structure into the file events.h because it is
8511 accessed directly by this accelerator code. What I didn't do, but
8512 which should be done at some point, is to properly abstract this
8513 code using device methods instead of the kludgy way that it
8514 currently hooks into the event code.
8516 b) Added the lisp variables this-command-properties and
8517 last-command- properties, which should be used to synchronize two
8518 adjacent commands in preference to playing games with the variable
8519 this-command, which is typically what happens.
8521 c) Added some slightly nasty code to hook into the lisp support
8522 for shifted- motion-key selection. This is actually necessary for
8523 somewhat complicated reasons, which are described in
8524 simple.el. (NB: I think the proper thing would be to have the code
8525 that calls the pre and post command hooks also call out to generic
8526 lisp functions in simple.el, where all built-in stuff could be
8527 added. I will think about this more.)
8529 * event-unixoid.c (poll_fds_for_input):
8530 * lread.c (readchar):
8531 * redisplay-tty.c (tty_clear_frame):
8532 * redisplay-x.c (x_get_gc):
8533 * signal.c (interrupt_signal):
8534 And a whole bunch of other files: fixed up places that printed
8535 directly to stderr to instead call the function stderr_out so that
8536 the changes I made under Windows work correctly.
8538 * filemode.c (mode_string):
8542 * frame-msw.c (mswindows_size_frame_internal):
8543 Fixed the computation of frame size and position to keep the frame
8544 within the workspace area, rather than within the physical
8545 dimensions of the screen, so that the frame doesn't overlap window
8546 manager decorations, such as the start menu and toolbar, typically
8547 at the bottom of the screen.
8549 * frame.c (vars_of_frame):
8550 Changed the default frame title format under MS Windows to consist
8551 of buffername-XEmacs, which is standard under MS Windows. I think
8552 it might be a good idea to change this everywhere because I think
8553 it is superior to the current frame title format, but this is the
8554 kind of change that is likely to cause some people to get annoyed,
8555 so I'm not making it.
8557 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8559 * gui-msw.c (mswindows_handle_gui_wm_command):
8560 Fixed compile warnings.
8563 * gui-x.c (strdup_and_add_accel):
8564 * gui-x.c (button_item_to_widget_value):
8566 Added code to automatically put an accelerator onto the beginning
8567 of menu items that don't have one as is now the standard, and is
8568 described more later. Also fixed things so that the menu item
8569 name can be an evaluated expression, again a new standard.
8572 * gui.c (gui_item_add_keyval_pair):
8573 * gui.c (make_gui_item_from_keywords_internal):
8574 * gui.c (gui_add_item_keywords_to_plist):
8575 * gui.c (gui_item_accelerator):
8576 * gui.c (gui_name_accelerator):
8577 * gui.c (gui_item_included_p):
8578 * gui.c (gui_item_display_flush_left):
8579 * gui.c (gui_item_display_flush_right):
8580 * gui.c (parse_gui_item_tree_item):
8581 * gui.c (parse_gui_item_tree_children):
8582 * gui.c (parse_gui_item_tree_list):
8583 Mule-ized. Cleanup. GCPRO addition.
8585 * line-number.c (buffer_line_number):
8587 * lisp.h (EMACS_INT_MAX):
8588 Added the manifest constant EMACS_INT_MIN corresponding to the
8589 existing constant EMACS_INT_MAX. This is partially to fix compile
8590 warnings under Windows, and partly for cleanliness.
8593 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8594 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8595 * menubar-msw.c (displayable_menu_item):
8596 * menubar-msw.c (populate_menu_add_item):
8597 * menubar-msw.c (populate_or_checksum_helper):
8598 * menubar-msw.c (populate_menu):
8599 * menubar-msw.c (update_frame_menubar_maybe):
8600 * menubar-msw.c (prune_menubar):
8601 * menubar-msw.c (msw_char_is_accelerator):
8602 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8603 * menubar-msw.c (mswindows_handle_wm_command):
8604 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8605 * menubar-msw.c (mswindows_handle_wm_initmenu):
8606 * menubar-msw.c (mswindows_update_frame_menubars):
8607 * menubar-msw.c (mswindows_free_frame_menubars):
8608 * menubar-msw.c (mswindows_popup_menu):
8609 Fixed a bug in handling accelerators where an extra character
8610 would be displayed in the menu item. Also generalized the
8611 function displayable_menu_item because it is now used by the
8612 dialog box code as well. And finally, added code in the functions
8613 that create the menubar to extract a list of accelerators for the
8614 top level menubar, which is used in the event code to determine
8615 whether a particular alt-key combination should be used to invoke
8616 a menu item, or should be passed through to access the standard
8617 XEmacs keymap binding for this key combination.
8619 Much needed GCPROing.
8622 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8623 * menubar-x.c (menu_item_descriptor_to_widget_value):
8624 * menubar-x.c (restore_in_menu_callback):
8625 * menubar-x.c (x_popup_menu):
8626 * menubar-x.c (menu_move_up):
8627 * menubar-x.c (menu_move_down):
8628 * menubar-x.c (menu_move_left):
8629 * menubar-x.c (menu_move_right):
8630 * menubar-x.c (menu_select_item):
8631 * menubar-x.c (command_builder_operate_menu_accelerator):
8632 * menubar-x.c (menu_accelerator_junk_on_error):
8633 * menubar-x.c (command_builder_find_menu_accelerator):
8634 * menubar-x.c (Faccelerate_menu):
8636 Moved a whole bunch of code here that was previously in
8637 event-stream.c as described above. There is also code connected
8638 to the new standard of adding an accelerator to the beginning of
8639 menu items that don't have one as described above and below.
8642 * menubar.c (menu_parse_submenu_keywords):
8643 * menubar.c (Fmenu_find_real_submenu):
8644 * menubar.c (Fnormalize_menu_item_name):
8645 * menubar.c (syms_of_menubar):
8646 * menubar.c (vars_of_menubar):
8647 * menubar.c (complex_vars_of_menubar):
8649 a) Cleaned up a bunch of documentation and improved it.
8651 b) XEmacs now automatically adds an accelerator onto the beginning
8652 of any menu items that don't have one. I did this because there
8653 will inevitably be some menu items on the main menubar that don't
8654 have accelerators on them because the package that adds that
8655 particular menu item hasn't yet been fixed up to have accelerators
8656 in them and it looked rather strange to have some items with and
8657 some items without accelerators, especially since even in items
8658 without accelerators, you can, at least under windows, still
8659 access the item through an accelerator corresponding to the first
8660 character in the item's name. If people don't like this behavior,
8661 I can add a variable to turn it off optionally, but I'm not sure
8662 this is a good idea because we really do need to have accelerators
8663 on all of the menu items, and if a package doesn't like the
8664 accelerators being put on the first character, then it should put
8665 the accelerators where they belong.
8667 c) I made a behavior change, which is that the descriptor that
8668 specifies the text of the menu item, which formerly was just a
8669 string, can now also be an evaluated expression. This makes this
8670 descriptor parallel with all of the others, which could also be
8671 evaluated expressions. This also obviates the need for the
8672 keyword :label, which was previously listed in the documentation
8673 as unimplemented, and which was for the same purpose.
8678 * ntproc.c (new_child):
8679 * ntproc.c (sys_spawnve):
8680 * ntproc.c (find_child_console):
8681 * ntproc.c (sys_kill):
8682 Fixed compile warnings. By the way, this file should really go
8683 away entirely, and this will happen as soon as Kirill makes his
8684 final round of process cleanups, which affect the function
8688 * process-nt.c (struct nt_process_data):
8689 * process-nt.c (find_process_from_pid):
8690 * process-nt.c (send_signal_the_nt_way):
8691 * process-nt.c (enable_child_signals):
8692 * process-nt.c (find_child_console):
8693 * process-nt.c (send_signal_the_95_way):
8694 * process-nt.c (nt_finalize_process_data):
8695 * process-nt.c (ensure_console_window_exists):
8696 * process-nt.c (nt_create_process):
8697 * process-nt.c (nt_kill_child_process):
8698 * process-nt.c (nt_kill_process_by_pid):
8699 * process-nt.c (nt_open_network_stream):
8700 * process-nt.c (vars_of_process_nt):
8701 Copied over code from Emacs 20.5 to correctly send signals to sub-
8702 processes under Windows 95. Also added code to automatically
8703 create and hide console window when a sub-process is created under
8704 Windows 95, which obviates the need for the separate runemacs.exe
8705 executable, and finally implemented some variables that were
8706 implemented in Emacs 20.5, but previously not in XEmacs. These
8707 include mswindows- start-process-share-console and
8708 mswindows-start-process-inherit-error-mode. (Both of these only
8709 apply to Windows 95.)
8711 * regex.c (regex_compile): Fixed a compile warning.
8714 * select-msw.c (mswindows_own_selection):
8715 * select-msw.c (mswindows_get_foreign_selection):
8716 * select-msw.c (mswindows_disown_selection):
8717 * select-msw.c (console_type_create_select_mswindows):
8718 * select-msw.c (syms_of_select_mswindows):
8719 Cleaned up the file and implemented the device method
8720 selection_exists_p, which had accidentally been left out. Also
8721 removed four lisp functions that were remnants from before the
8722 time when the selection code was properly device abstracted.
8723 These functions are no longer needed because there are generic
8724 equivalents, and because they were added recently and don't exist
8725 in FSF Emacs, I don't think there's any problem with just deleting
8729 * sysdep.c (sys_subshell):
8730 Fixed a compile warning, although in this case there's probably
8731 something wrong with this code, and it ought to be looked into
8732 more thoroughly by somebody who understands it.
8735 * window.c (Fwindow_text_area_height):
8736 * window.c (Fwindow_width):
8737 * window.c (Fwindow_full_width):
8738 * window.c (Fwindow_pixel_width):
8739 * window.c (debug_print_window):
8740 * window.c (syms_of_window):
8741 Added functions window-text-area-height and window-full-width,
8742 which are functions for returning various width and height
8743 characteristics of a window. (One of these functions is necessary
8744 for making the file dialog box work correctly, and the other one
8745 was added for completeness.) Also added a table to the
8746 documentation for window-height which describes the entire scheme
8747 for accessing width and height characteristics of a window.
8749 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8751 * nt.c (fstat): Added a comment for another problem with
8752 non-encapsulated [f]stat(), reported by Adrian Aichner
8753 <aichner@ecf.teradyne.com>.
8755 2000-03-11 Andy Piper <andy@xemacs.org>
8757 * window.c (make_dummy_parent): initialize subwindow instance
8759 (Fset_window_configuration): zero extent_modiff.
8761 2000-03-10 Andy Piper <andy@xemacs.org>
8763 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8764 more changes can be triggered.
8765 (Fredisplay_frame): ditto.
8766 (Fredraw_device): ditto.
8767 (Fredisplay_device): ditto.
8768 (redisplay_frame): make non-static.
8769 (redisplay_frame): call update_frame_gutter_geometry outside of
8772 * gutter.h: declare update_frame_gutter_geometry.
8774 * redisplay.h: declare redisplay_frame.
8776 * gutter.c (update_frame_gutter_geometry): move geometry changes
8777 in update_frame_gutters here. Geometry changes can only occur
8778 outside of redisplay.
8779 (update_frame_gutters): remove geometry change code.
8780 (Fredisplay_gutter_area): make sure that we are in display when we
8781 update and that we have flushed any size changes.
8783 2000-03-11 Andy Piper <andy@xemacs.org>
8785 * alloc.c (pdump_dump_data): remove i & count shadows.
8787 2000-02-27 Mike Alexander <mta@arbortext.com>
8789 * sysdep.h: Declare pdump_read_file
8791 * sysdep.c (pdump_read_file): New function
8793 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8796 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8798 * lrecord.h: add `lrecord_type_pgsetenv'.
8800 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8802 * symsinit.h: declare (vars|syms)_of* functions.
8803 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8805 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8807 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8809 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8812 * emacs.c (main_1): Call postgres initialization code.
8814 * postgresql.h: New file. PostgreSQL RDBMS support.
8815 * postgresql.c: New file.
8817 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8819 * redisplay-output.c (redisplay_output_display_block): Disable
8822 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8824 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8825 (Fcanna_henkan_next): Ditto.
8826 (Fcanna_bunsetu_henkou): Ditto.
8827 (Fcanna_henkan_kakutei): Ditto.
8828 (Fcanna_henkan_end): Ditto.
8829 (Fcanna_henkan_quit): Ditto.
8830 (Fcanna_henkan_next): Set retun value correctly.
8831 (c2mu): Use unsigned char instead of signed char.
8833 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8835 * emacs.c (main_1): Always call syms_of_gui.
8836 * inline.c: include gui.h
8838 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8840 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8841 converted to Lisp_Object.
8842 (Qtop_bottom): New variable.
8843 (syms_of_redisplay): Initialize it.
8844 * redisplay.h (Vvisible_bell): Ditto.
8845 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8846 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8847 only flash top and bottom.
8849 2000-03-08 Andy Piper <andy@xemacs.org>
8851 * buffer.c (Frename_buffer): record new buffer name the right way.
8853 2000-03-08 Andy Piper <andy@xemacs.org>
8855 * glyphs.c (update_subwindow): increase hash depth so that widget
8856 items get picked up properly.
8858 * redisplay-output.c (compare_runes): increase hash depth so that
8859 widget items get picked up properly.
8861 2000-03-08 Andy Piper <andy@xemacs.org>
8863 * gutter.c (output_gutter): add some debug.
8865 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8866 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8867 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8869 * redisplay-output.c (compare_runes): use display_hash to
8870 determine if glyphs really are not the same.
8872 * glyphs.c (update_subwindow): check display_hash to see if
8873 anything really needs to be updated. If not then do
8874 nothing. Record the display_hash after updating.
8875 (image_instance_equal): compare the image_instance face also.
8877 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8879 * redisplay.h: Fix comment style.
8881 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8883 * consle-msw.h (struct mswindows_frame):
8884 Added new member paint_pending to indicate whether a WM_PAINT
8885 magic event has been queued for this frame.
8887 * event-msw.c (mswindows_drain_windows_queue):
8888 Don't queue a WM_PAINT magic event if one is already queued.
8889 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8891 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8893 2000-03-07 Didier Verna <didier@xemacs.org>
8895 * dired.c: #include `regex.h' after `sysfile.h'.
8897 2000-03-06 Martin Buchholz <martin@xemacs.org>
8899 * sound.c (init_nas_sound): Fix compiler warning.
8901 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8903 (MARK_STRUCT_AS_FREE):
8904 (MARK_STRUCT_AS_NOT_FREE):
8905 Make `gcc -fstrict-aliasing' work properly.
8907 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8909 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8910 (mswindows_delete_device): Call CoUnnitialize().
8912 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8914 2000-02-25 <CraigL@DyCon.com>
8916 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8919 * sysdep.c: This extern declaration for environ prevents MinGW
8920 from finding the variable in CRTDLL.DLL.
8922 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8926 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8928 (MMRESULT): Removed, now defined in cygwin's windows headers.
8930 (uid_t,gid_t,pid_t,ssize_t): ..
8931 (_timeb): Removed, MinGW defines both _timeb and timeb.
8932 (HAVE_H_ERRNO): Added.
8933 (HAVE_TZNAME): Added, configure is not detecting this.
8935 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8937 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8938 * syntax.c (syntax_match): Use it.
8940 * cmds.c: Import auto-fill-chars from FSF Emacs.
8941 (Vauto_fill_chars): New variables.
8942 (internal_self_insert): Check Vauto_fill_chars.
8944 Declare auto-fill-chars as a Lisp variable and initialize it.
8946 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8948 * fileio.c (Fmake_symbolic_link):
8950 Run handlers even if local machine doesn't have symlinks.
8952 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8954 * event-msw.c (mswindows_drain_windows_queue):
8955 Don't generate paint magic events for non-XEmacs frames.
8957 2000-03-05 Andy Piper <andy@xemacs.org>
8959 * redisplay.c (redisplay_frame): generate_displayable_area and
8960 friends assumes that we are not in GC, we therefore have to make
8961 sure that this doesn't happen.
8963 * gutter.c (calculate_gutter_size): generate_displayable_area
8964 assumes that we are not in GC, we therefore have to make sure that
8965 this doesn't happen.
8967 2000-03-05 Martin Buchholz <martin@xemacs.org>
8969 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8971 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8973 * redisplay.c (regenerate_window): Make sure we set a sane value
8974 for end_pos even if we jump out of the loop.
8975 (regenerate_window): Answer Ben's question :-).
8976 (start_end_of_last_line): Add may_error argument.
8977 (start_of_last_line):
8978 (end_of_last_line): Pass may_error = 0.
8979 (end_of_last_line_may_error): New function.
8980 (pixel_to_glyph_translation): Use it, so we don't crash in
8983 2000-03-04 Andy Piper <andy@xemacs.org>
8985 * window.h (struct window): add gutter_extent_modiff.
8987 * window.c (allocate_window): zero out gutter_extent_modiff.
8989 * redisplay.h: declare sync_display_line_structs.
8991 * redisplay.c (add_glyph_rune): add a better comment.
8993 * redisplay-output.c (sync_display_line_structs): made non-static.
8994 (compare_runes): remove unneccesary glyph cachel access.
8996 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
8998 * gutter.c (output_gutter): don't output the gutter if extent
8999 changes only involve extents in buffers. use 4 sets of display
9001 (gutter_extent_signal_changed_region_maybe): new function. Mark
9002 extents in gutters as changed.
9003 (update_frame_gutters): use 4 sets of display lines.
9004 (reset_gutter_display_lines): ditto.
9005 (free_frame_gutters): ditto.
9006 (redraw_exposed_gutter): force output of gutters.
9008 * frame.h (struct frame): add 4 sets of gutter display lines.
9010 * extents.c: (extent_changed_for_redisplay): signal changes to
9011 extents in strings in the gutter as well as extents in buffers.
9013 2000-03-02 Andy Piper <andy@xemacs.org>
9015 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9017 * frame.c (Fmake_frame): make sure the gutters get initialized
9018 after the frame is visible.
9019 (set_frame_selected_window): re-arrange compilation macros a
9021 (change_frame_size_1): mark gutters changed.
9023 * device.c (Fset_device_class): mark gutters changed.
9025 2000-03-01 Andy Piper <andy@xemacs.org>
9027 * window.c (window_top_frame_gutter_height): deleted.
9028 (window_bottom_frame_gutter_height): ditto.
9029 (window_left_frame_gutter_height): ditto.
9030 (window_right_frame_gutter_height): ditto.
9031 (window_top_gutter_height): don't use them.
9032 (window_bottom_gutter_height): ditto.
9033 (window_left_gutter_width): ditto.
9034 (window_right_gutter_width): ditto.
9035 (Fsplit_window): ditto.
9036 (Fwindow_pixel_edges): don't use border dimensions here.
9038 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9039 (update_scrollbar_instance): ditto.
9041 * redisplay.c (generate_modeline): don't take gutters into account.
9042 (generate_modeline): ditto.
9043 (redisplay_frame): small gutter display optimization.
9045 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9047 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9048 gutters into account.
9050 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9051 for window position and type.
9053 * gutter.c (get_gutter_coords): fix for frame gutters.
9054 (update_frame_gutters): update frame geometry if the gutters have
9056 (init_frame_gutters): record current gutter geometries.
9058 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9060 (mswindows_widget_instantiate): ditto.
9062 * frame.h (struct frame): add current_gutter_bounds.
9064 * frame.c (change_frame_size_1): position window and minibuffer
9065 appropriately taking into account the frame gutters.
9067 * frame-x.c: (x_initialize_frame_size): take into account the
9070 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9072 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9074 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9076 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9078 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9080 * file-coding.c (reset_decoding_stream): Clear previous
9081 detection state when autodetect.
9083 2000-02-29 Didier Verna <didier@xemacs.org>
9085 * extents.c (set_extent_glyph_1): don't require extents to be
9088 2000-02-27 Andy Piper <andy@xemacs.org>
9090 * gutter.c (Fset_default_gutter_position): don't default left and
9091 right gutter visibility to t.
9092 (Fset_default_gutter_position): run
9093 default-gutter-position-changed-hook.
9094 (syms_of_gutter): add default-gutter-position-changed-hook.
9096 2000-02-26 Andy Piper <andy@xemacs.org>
9098 * specifier.c (Fmake_specifier): add gutter references.
9100 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9102 * lisp.h: declare Fvalid_plist_p.
9104 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9106 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9107 well as its visibility so that it gets reconstructed.
9108 (construct_window_gutter_spec): new function. Construct a string
9109 to be displayed in the gutter from a plist of strings. Take care
9110 to only use elements that are declared as visible.
9111 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9113 (gutter_validate): allow plists of strings in the specifier.
9114 (gutter_specs_changed): construct the real_gutter from the gutter
9115 specs using construct_window_gutter_spec.
9116 (gutter_visible_validate): gutter-visible is a new specifier type.
9117 (Fgutter_visible_specifier_p): new function for the new specifier.
9118 (syms_of_gutter): declare gutter-visible and
9119 Fgutter_visible_specifier_p.
9120 (specifier_type_create_gutter): intitalize new gutter-visible
9122 (reinit_specifier_type_create_gutter): ditto.
9123 (specifier_vars_of_gutter): use new specifier type for gutter
9125 (init_frame_gutters): construct real_gutter correctly.
9126 (Fgutter_specifier_p): beef up documentation.
9127 (Fgutter_size_specifier_p): ditto.
9129 * winslots.h: add real_gutter slots.
9131 2000-02-25 Andy Piper <andy@xemacs.org>
9133 * device-msw.c: Be kind to older cygwin versions. From Raymond
9134 Toy <toy@rtp.ericsson.se>.
9136 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9137 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9139 2000-02-25 Martin Buchholz <martin@xemacs.org>
9141 * elhash.c (MARK_OBJ): Practice macro hygiene.
9143 2000-02-24 Martin Buchholz <martin@xemacs.org>
9145 * miscplay.c: s/__inline__/inline/g;
9146 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9147 (get_device_compdc): INLINE ==> static inline
9148 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9149 find -name '*.h' | \
9150 xargs global-replace \
9151 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9153 2000-02-25 Andy Piper <andy@xemacs.org>
9155 * window.c (window_top_frame_gutter_height): new function.
9156 (window_top_window_gutter_height): ditto.
9157 (window_top_gutter_height): use them.
9158 (window_bottom_frame_gutter_height): new function.
9159 (window_bottom_window_gutter_height): ditto.
9160 (window_bottom_gutter_height): use them.
9161 (window_left_window_gutter_width): new function.
9162 (window_left_frame_gutter_width): ditto.
9163 (window_left_gutter_width): use them.
9164 (window_right_window_gutter_width): new function.
9165 (window_right_frame_gutter_width): ditto.
9166 (window_right_gutter_width): use them.
9167 (window_pixel_height): new function. calulate window pixel height
9168 with frame gutter involvement.
9169 (Fsplit_window): calculate new sizes taking frame gutters into
9171 (window_char_height_to_pixel_height): don't include frame gutters.
9172 (window_char_height): use window_pixel_height.
9173 (window_pixheight): rename from window_pixel_height.
9174 (change_window_height): use it.
9175 (window_pixel_height_to_char_height): don't include frame gutters.
9176 (window_char_width_to_pixel_width): ditto.
9178 2000-02-25 Andy Piper <andy@xemacs.org>
9180 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9183 2000-02-24 Martin Buchholz <martin@xemacs.org>
9185 * alloc.c (staticpro):
9191 (compact_string_chars):
9193 Convert: if (foo) abort(); ==> assert (! foo);
9195 * eldap.c (Fldap_search_basic):
9199 Fix compiler warnings, and possible crashes if (random) return
9200 value were to be used.
9202 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9204 * device-msw.c: Workaround ResetDC failure.
9206 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9209 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9210 (mswindows_text_width): Do not start printer page.
9212 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9214 * glyphs-msw.c: Added image methods to msprinter console and
9215 msprinter-specific image instantiation.
9217 2000-02-20 Mike Alexander <mta@arbortext.com>
9219 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9220 to avoid crashes when selection-sets-clipboard is on
9221 (mswindows_own_selection): ditto
9223 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9226 * redisplay-msw.c (get_frame_dc):
9229 * device-msw.c (mswindows_init_device):
9230 (mswindows_delete_device):
9231 (msprinter_init_device):
9232 (msprinter_delete_device):
9233 * frame-msw.c (mswindows_init_frame_1):
9234 (mswindows_delete_frame):
9235 (msprinter_init_frame_3):
9236 (msprinter_delete_frame): Move compatible DC to device object from
9237 frame object, for both mswindows and msprinter. Only one at a time
9238 is needed, it is a real waste to have one per frame!
9240 2000-02-23 Andy Piper <andy@xemacs.org>
9242 * glyphs.c: add dynamic width and height elements.
9243 (image_instance_equal): ditto.
9245 * glyphs-widget.c (widget_query_geometry): calculate width and
9246 height dynamically if required.
9247 (initialize_widget_image_instance): initialize dynamic dimensions.
9248 (widget_instantiate): pick-up dynamic dimensions.
9250 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9251 dynamic determination. Add appropriate macros.
9253 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9255 (WINDOW_GUTTER_SIZE): ditto.
9256 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9258 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9260 (get_frame_dc): ditto.
9262 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9265 2000-02-23 Martin Buchholz <martin@xemacs.org>
9267 * XEmacs 21.2.31 is released.
9269 2000-02-22 Ben Wing <ben@xemacs.org>
9271 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9273 2000-02-22 Andy Piper <andy@xemacs.org>
9275 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9277 2000-02-21 Mike Sperber <mike@xemacs.org>
9281 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9284 2000-02-21 Mike Sperber <mike@xemacs.org>
9286 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9288 2000-02-21 Martin Buchholz <martin@xemacs.org>
9290 * XEmacs 21.2.30 is released.
9292 2000-02-20 Martin Buchholz <martin@xemacs.org>
9294 Performance hacking.
9296 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9297 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9300 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9301 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9302 * symeval.h (DEFVAR_SYMVAL_FWD):
9303 * symbols.c (guts_of_unbound_marker):
9304 Make all c_readonly objects also lisp_readonly and marked for life.
9305 * lrecord.h (struct lrecord_implementation):
9306 Document flags better.
9307 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9308 * lrecord.h (DECLARE_LRECORD):
9309 * lrecord.h (XSETRECORD):
9310 * lrecord.h (RECORDP):
9311 * lrecord.h (RECORD_TYPEP):
9312 * lrecord.h (RECORD_MARKER): New.
9313 * lrecord.h (error_check_*):
9314 * lrecord.h (CONCHECK_NONRECORD):
9315 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9316 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9317 * lrecord.h (set_lheader_implementation):
9318 * lrecord.h (enum lrecord_type): New.
9319 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9320 * alloc.c (disksave_object_finalization_1):
9321 * alloc.c (mark_object):
9322 * alloc.c (lrecord_type_index):
9323 * alloc.c (tick_lcrecord_stats):
9324 * alloc.c (Fgarbage_collect):
9325 * alloc.c (init_alloc_once_early):
9326 * alloc.c (pdump_load):
9327 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9328 * alloc.c (lrecord_type_index): Delete.
9329 Make lisp object type indexes be constant.
9330 Makes (byte-compile) 5% faster.
9331 Put all marker functions into their own array.
9332 Makes (garbage-collect) 5% faster.
9333 Optimize SYMBOL_VALUE_MAGIC_P.
9334 Makes (byte-compile) 2-3% faster.
9335 * config.h.in (gc_checking_assert): New.
9336 * alloc.c: Use gc_checking_assert().
9337 * .dbxrc: Make compatible with new object type implementation.
9338 * .gdbinit: Make compatible with new object type implementation.
9339 * alloc.c: Delete all symbols defined only for debugging, such as
9340 Lisp_Type_Vector and lrecord_charset.
9342 2000-02-21 Andy Piper <andy@xemacs.org>
9344 * gui-msw.c (Fmswindows_shell_execute): fix file location
9347 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9348 unshowing so that set_window_buffer doesn't undo
9349 kill_buffer_hook's hard work.
9351 * glyphs-widget.c (tab_control_query_geometry): don't count the
9352 first item when calculating geometry.
9354 * glyphs.c (map_subwindow): remove redundant code.
9355 (update_frame_subwindows): be more circumspect about when to
9358 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9359 when items haven't changed. Update faces if faces have changed as
9360 well as just the widget face.
9361 (x_tab_control_update): Update faces if faces have changed as well
9362 as just the widget face.
9364 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9366 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9368 (build_syscolor_string): Use mswindows_color_to_string to try to
9370 (mswindows_device_system_metrics): Reverse the foreground and
9371 background colors so that they match the documentation.
9373 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9374 they match the default Windows palette.
9375 (mswindows_color_to_string): New function.
9377 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9379 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9381 2000-02-18 Olivier Galibert <galibert@pobox.com>
9383 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9384 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9386 * symbols.c (init_symbols_once_early): Removed obsolete
9387 DATA_SEG_BITS related kludge.
9388 (defvar_magic): Ditto.
9390 * malloc.c: Removed obsolete DATA_SEG_BITS
9392 * mem-limits.h: Ditto.
9394 * Makefile.in.in: Removed obsolete HAVE_SHM
9397 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9399 * device-msw.c (mswindows_delete_device): Free DDE string
9402 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9404 * keymap.c (get_keyelt):
9405 * unexnt.c (unexec):
9406 * vm-limit.c (memory_warnings):
9407 * ntheap.c (recreate_heap):
9408 * ntheap.h (UNINIT_PTR):
9409 * select-msw.c (Fmswindows_get_clipboard):
9410 (Fmswindows_set_clipboard):
9411 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9413 * menubar-msw.c (displayable_menu_item):
9415 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9416 * sysdep.c (sys_subshell):
9417 * process-nt.c (nt_create_process):
9418 * nt.c (normalize_filename):
9419 (dostounix_filename):
9420 (unixtodos_filename):
9421 * ntproc.c (win32_executable_type):
9422 * ntplay.c (play_sound_data_1):
9424 * editfns.c (get_home_directory):
9425 * event-msw.c (struct winsock_stream):
9426 (mswindows_dde_callback):
9427 * device-msw.c (msprinter_init_device):
9428 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9430 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9431 mswindows_clear_toolbar were swapped!
9433 * objects-msw.c:(colormap_t):
9435 * emacs.c (struct standard_args): Fixed const jumble.
9437 * glyphs-widget.c (update_widget): Fixed comparison notation.
9439 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9441 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9442 __declspec(noreturn) syntax.
9444 2000-02-19 Martin Buchholz <martin@xemacs.org>
9446 * eldap.c (Fldap_open):
9447 (Fldap_search_basic):
9450 Use new coding system conversion macros.
9452 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9454 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9456 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9458 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9459 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9461 * eldap.c (Qadd, Qreplace): New constant symbols
9462 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9463 interruptions by XEmacs signals
9464 Remove unnecessary calls to slow_down_interrupts and
9466 (Fldap_search_basic): Renamed from Fldap_search_internal
9467 Added new optional parameter VERBOSE that triggers the
9468 display of progress messages
9469 Remove unnecessary calls to slow_down_interrupts and
9471 LDAP result code analysis rewritten
9472 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9473 (syms_of_eldap): Define the new symbols and functions
9476 2000-02-17 Martin Buchholz <martin@xemacs.org>
9478 * realpath.c: Determine PATH_MAX maximally portably.
9480 * insdel.c (bytecount_to_charcount): Optimize.
9481 The function used to be optimized for entirely ASCII sequences.
9482 Now it is optimized for successive characters from the same
9483 charset. This also wins big for _mostly_ ASCII sequences.
9485 * fileio.c (Ffile_truename): convert return from realpath() using
9486 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9487 - Rewrite GCPROing slightly.
9489 * sysdep.c (sys_open): Do filename conversion, like all other
9490 sys_* functions. Fixes bug:
9491 (let ((file-name-coding-system 'iso-8859-2))
9492 (write-region x y latin2-name))
9493 ==> writes filename using internal encoding.
9495 2000-02-18 Martin Buchholz <martin@xemacs.org>
9497 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9498 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9499 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9500 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9501 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9502 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9503 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9504 (CONST_IF_NOT_DEBUG): Delete.
9505 * alloc.c (this_one_is_unmarkable): Delete.
9506 (mark_object): Don't check for this_one_is_unmarkable. Use the
9507 c_readonly flag instead.
9508 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9510 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9512 * event-msw.c (mswindows_drain_windows_queue):
9513 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9514 away redundant repaint events.
9516 2000-02-17 Andy Piper <andy@xemacs.org>
9518 * redisplay.h: declare mark_redisplay_structs.
9520 * redisplay.c (redisplay_window):
9521 (redisplay_frame): don't check subwindows_state_changed.
9522 (mark_redisplay): mark gutters here.
9524 * glyphs.c: (instantiate_image_instantiator): always layout if we
9525 haven't done so already.
9526 (allocate_image_instance): don't mark as dirty.
9527 (update_subwindow): bind inhibit_quit.
9529 * gutter.c (mark_gutters): new function.
9531 * glyphs-x.c (x_update_widget): Always resize to get round a
9534 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9535 breaking absolutely everything.
9537 * gutter.h: declare mark_gutters.
9539 2000-02-16 Martin Buchholz <martin@xemacs.org>
9541 * XEmacs 21.2.29 is released.
9543 2000-02-15 Olivier Galibert <galibert@pobox.com>
9545 * fns.c (size_bit_vector): Fix computation of the size.
9547 2000-02-15 Martin Buchholz <martin@xemacs.org>
9549 * *.[ch]: Change CONST to const globally.
9550 find -name '*.[ch]' | \
9551 xargs global-replace \
9552 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9553 - Remove vestigial references to CONST_IS_LOSING
9555 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9557 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9558 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9559 events instead of dispatching them directly.
9560 (mswindows_handle_paint): New function to do repainting.
9561 (mswindows_wnd_proc):
9562 (emacs_mswindows_handle_magic_event): Call above function.
9564 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9566 * objects-msw.c (mswindows_create_font_variant): Return the new
9568 (initialize_font_instance): Get font metrics from the underlined
9569 variant of the font to cope with the case where the underlined
9570 font has a bigger descent.
9572 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9574 * gui.c (gui_item_accelerator): Return the first underlined
9575 character in item name.
9577 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9579 * lisp.h: Added Qprinter.
9581 * general.c (syms_of_general): Initialized it.
9583 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9585 (get_frame_compdc): Made inline.
9587 * console.h (struct console_methods): Added eject_page method.
9589 * frame.h: Added FRAME_DISPLAY_P and friends.
9590 Aligned backslahes in many macros in more readable fashion.
9591 Added page_number to struct frame, and an accessor macro
9594 * defice.h: Added DEVICE_DISPLAY_P and friends.
9596 * device.c (Fdevice_printer_p): Used these.
9598 * frame.c (allocate_frame_core): Initialize page number.
9599 (Fprint_job_page_number):
9600 (Fprint_job_eject_page): Implemented.
9602 * frame-msw.c (msprinter_eject_page): Added method.
9603 (msprinter_start_page): Added.
9605 * window.c (Fwindow_truncated_p): Fixed docstring.
9606 (Fwindow_last_line_visible_height): Implemented.
9608 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9610 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9612 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9614 * syntax.c (scan_words): Always advance at least one character.
9616 2000-02-13 Andy Piper <andy@xemacs.org>
9618 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9619 to make sure the glyph is in the cachels.
9621 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9622 global image instance flag.
9623 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9624 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9626 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9627 (Fset_image_instance_property): mark layout as changed.
9628 (invalidate_glyph_geometry_maybe): mark layout as changed.
9629 (glyph_width): use new NEEDS_LAYOUT macro.
9630 (glyph_ascent): ditto.
9631 (glyph_descent): ditto.
9632 (glyph_height): ditto.
9633 (image_instance_layout): mark layout as clean after laying out.
9634 (update_subwindow): don't mark layout as clean here.
9636 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9637 should no longer be needed.
9639 * glyphs-x.c (x_update_widget): sanitize asserts.
9640 (x_finalize_image_instance): sanitize assignment to widgets.
9642 * glyphs-widget.c (widget_instantiate): don't need to clear the
9645 2000-02-13 Martin Buchholz <martin@xemacs.org>
9647 * sysdep.c (getcwd): Use standard prototype.
9648 * sysdep.h (getcwd): Use standard prototype.
9650 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9651 (sequence, start, end).
9652 Remove redundant type checking.
9653 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9654 view of `caller-protects') to avoid a crash where the real fix was
9657 2000-02-12 Martin Buchholz <martin@xemacs.org>
9659 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9661 * s/sol2.h: Remove feature macro initialization.
9663 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9664 (vector_hash): New. Code from internal_hash.
9666 Fix up allocation subsystem comments.
9668 * config.h.in: Add __EXTENSIONS__ for Solaris.
9670 * systime.h (EMACS_GETTIMEOFDAY): New.
9671 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9672 Remove Solaris-specific code.
9673 Use void* for the (ignored) second arg for gettimeofday().
9675 * elhash.c (hash_table_hash): Implement it, finally.
9676 * elhash.c: Use hashcode_t.
9678 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9679 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9681 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9682 * fns.c (size_bit_vector):
9683 * alloc.c (size_vector):
9684 (make_vector_internal):
9685 (make_bit_vector_internal):
9686 (sweep_bit_vectors_1):
9687 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9689 2000-02-10 Martin Buchholz <martin@xemacs.org>
9691 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9692 Include strings.h to avoid warnings for bzero and strcasecmp.
9694 2000-02-10 Olivier Galibert <galibert@pobox.com>
9696 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9697 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9699 * fns.c (size_bit_vector): New. Declare bit vectors as a
9702 2000-02-10 Olivier Galibert <galibert@pobox.com>
9704 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9705 use a value field instead.
9706 (symbol_value_forward_forward): Use value field.
9707 (DEFVAR_SYMVAL_FWD): Use value field.
9708 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9709 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9710 (DEFVAR_CONST_INT): Ditto.
9711 (DEFVAR_BOOL): Ditto.
9712 (DEFVAR_CONST_BOOL): Ditto.
9713 (DEFVAR_INT_MAGIC): Ditto.
9714 (DEFVAR_BOOL_MAGIC): Ditto.
9716 * symbols.c (guts_of_unbound_marker): Use value field.
9717 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9718 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9720 * lisp.h: Declare dumpopaque and noninteractive1.
9722 * alloc.c (dumpopaque): Added.
9723 (pdump_dump_opaquevec): Added.
9724 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9725 (pdump_load): Reload opaque data. Sync noninteractive1 with
9728 2000-02-10 Andy Piper <andy@xemacs.org>
9730 * glyphs.c (image_instance_layout): if the size changes, mark it
9733 * redisplay-output.c (redisplay_output_layout): Update the
9735 (redisplay_output_subwindow): ditto.
9737 * glyphs.c (update_subwindow): make sure we reset flags for
9738 layouts as well as everything else.
9740 * glyphs-widget.c (layout_layout): don't need to set the instances
9743 2000-02-09 Martin Buchholz <martin@xemacs.org>
9745 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9746 not HAVE_DLOPEN, which is a lower-level thing.
9748 * .cvsignore: Ignore gmon.out
9750 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9752 * .cvsignore: Ignore portable dumper xemacs.dmp file
9754 2000-02-09 Andy Piper <andy@xemacs.org>
9756 * redisplay-output.c (redisplay_output_layout): be more clever
9757 about when we output based on the changed flags.
9759 * glyphs.h (struct image_instantiator_methods): add update_method.
9760 (struct Lisp_Image_Instance): add changed flags. Declare new
9761 macros for manipulating them.
9763 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9764 (image_instance_parent_glyph): find an image_instance's parent
9765 glyph or image_instance.
9766 (image_instance_layout): mark the size as changed.
9767 (set_image_instance_dirty_p): new function. mark an image
9768 instance, plus all of its parents, as dirty.
9769 (Fset_image_instance_property): use it.
9770 (Fglyph_animated_timeout_handler): use it.
9771 (update_subwindow): call update_widget and device methods for
9772 update_subwindow. Mark all changed flags as clean.
9773 (Fresize_subwindow): mark size as changed.
9775 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9777 (x_update_subwindow): only resize subwindows here.
9778 (x_update_widget): new function. Update all changed properties of
9780 (x_resize_subwindow): deleted.
9781 (x_widget_set_property): deleted.
9782 (x_progress_gauge_set_property): deleted.
9783 (x_progress_gauge_update): new function. Implement recorded
9785 (x_tab_control_update): ditto.
9786 (x_tab_control_set_property): deleted.
9787 (console_type_create_glyphs_x): declare new functions.
9788 (image_instantiator_format_create_glyphs_x): ditto.
9790 * glyphs-widget.c (widget_set_property): mark text changed.
9791 (update_widget): new function. Update properties of a widget.
9792 (widget_instantiate): for layouts make sure we set their
9793 children's parent correctly.
9794 (tab_control_set_property): new function. Record changes that will
9795 take place under redisplay's control.
9796 (progress_gauge_set_property): ditto.
9797 (image_instantiator_progress_guage): declare new functions.
9798 (image_instantiator_tab_control): ditto.
9800 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9802 (mswindows_update_widget): new function. Update all properties on
9803 a widget that have changed.
9804 (mswindows_button_update): new function. Update a button's set
9806 (mswindows_tab_control_update): new function. Update the items in
9808 (mswindows_tab_control_set_property): deleted.
9809 (mswindows_progress_gauge_update): new function. Update the
9810 progress gauge's progress.
9811 (mswindows_widget_set_property): deleted. This is all done
9813 (mswindows_progress_gauge_set_property): ditto.
9814 (console_type_create_glyphs_mswindows): declare new methods.
9815 (image_instantiator_format_create_glyphs_mswindows): ditto.
9817 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9818 (msprinter_set_frame_properties): ditto.
9820 * console.h (struct console_methods): Add update_widget_method.
9822 2000-02-09 Andy Piper <andy@xemacs.org>
9824 * gui-msw.c (Fmswindows_shell_execute): Make
9825 mswindows-shell-execute industrial strength.
9827 2000-02-08 Martin Buchholz <martin@xemacs.org>
9829 * lrecord.h: Make macro argument `props' match member function `plist'.
9833 * fns.c (Fobject_plist):
9836 Object property list frobbing cleanup.
9837 - Allow any lisp object (compared with `eq'), not just symbols, as
9838 keys in object plists.
9839 - Move symbol plist frobbing into symbols.c, where it belongs.
9840 - Move string plist frobbing into alloc.c, where it belongs.
9841 - Everything's an lrecord now, so no need to test for symbolp, etc.
9842 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9844 * extents.c: Reorder code to remove declarations.
9846 * frame.h (store_in_alist): Remove useless declaration.
9848 2000-02-07 Martin Buchholz <martin@xemacs.org>
9850 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9851 * config.h.in: Add HAVE_XCONVERTCASE.
9853 2000-02-07 Andy Piper <andy@xemacs.org>
9855 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9856 it breaks many things.
9858 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9860 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9861 actually can start a common comment type.
9862 * src/syntax.h (SYNTAX_END_P): ditto for end.
9864 2000-02-07 Martin Buchholz <martin@xemacs.org>
9866 * XEmacs 21.2.28 is released.
9868 2000-02-06 Martin Buchholz <martin@xemacs.org>
9870 * event-Xt.c (x_keysym_to_character): New.
9871 (maybe_define_x_key_as_self_inserting_character): New.
9872 (x_has_keysym): New.
9873 Auto-define all keys on the keyboard as self-insert-key.
9875 2000-02-02 Martin Buchholz <martin@xemacs.org>
9877 * menubar.c (vars_of_menubar): A small code simplification.
9879 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9886 Use consistent style for specifying X resources.
9888 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9889 This makes (dontusethis-set-symbol-value-handler) actually usable.
9891 * lrecord.h (lrecord_decription_type):
9892 * alloc.c (pdump_register_sub):
9895 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9896 Comply with XEmacs coding style.
9897 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9898 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9900 * keymap.c (Faccessible_keymaps):
9901 Make (accessible-keymaps map "\C-h") do the Right Thing.
9902 Make (accessible-keymaps map []) do the Right Thing.
9903 Make (accessible-keymaps map "") do the Right Thing.
9904 (check_keymap_definition_loop): New function.
9905 (keymap_store_internal): Keep luser from shooting self in foot,
9906 via (define-key ctl-x-4-map "p" global-map).
9907 Remove fullness slot from struct Lisp_Keymap, since hash tables
9909 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9911 2000-01-30 Martin Buchholz <martin@xemacs.org>
9913 * redisplay.c (init_redisplay): Fix small memory leak.
9915 * elhash.c (pdump_reorganize_hash_table):
9916 Rename from reorganize_hash_table. Change prototype.
9917 Reuse the original memory for hentries. Save 100k.
9918 * alloc.c (PDUMP_READ): new macro.
9919 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9920 * alloc.c: No need to #ifndef before #undef.
9922 * print.c: Allow debug_print() to print readably by modifying
9923 debug_print_readably. Use consistent variable names.
9925 * .dbxrc: Try to get things to work even if stopped in a function
9926 without source available by explicitly specifying source files.
9927 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9929 * unexnt.c (_start): Removed bogus code which caused loading heap
9930 from differrent executable file.
9931 Removed bogus assignment to _fmode, which caused inconsistencies.
9933 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9935 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9936 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9937 Do not preliminary `#define signal sigset'.
9939 * systime.h: Do not prototype environ on windows nt and cygwin,
9940 this conflicts with system header.
9942 * syssignal.h: Use correct define for WINDOWSNT
9944 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9947 * sysdep.c (near start of file): Fixed commentary and rearranged
9948 ifdefs in readable order.
9949 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9952 (end_of_data): Do not compile in if using PDUMP.
9954 * symsinit.h: Prototyped vars_of_nt().
9956 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9957 (find_child_console): Use it.
9960 * ntheap.h: Do not extern os_subtype.
9962 * ntheap.c (cache_system_info): Do not cache unneeded:
9963 nt_major_version, nt_minor_version and os_subtype.
9964 (recreate_heap): Do not compile in when PDUMPing.
9966 * nt.c (geteuid and friends): Use the new varibale
9967 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9968 (init_user_info): Removed the above mentioned hackery.
9969 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9970 stat has been fixed in the C runtime.
9971 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9973 * file-coding.c (struct file_coding_dump): Do not define
9974 ucs_to_mule_table in the struct if not MULE.
9975 (struct struct lrecord_description fcd_description_1): Do not dump
9978 * emacs.c (main_1): Call vars_of_nt().
9979 (right before Fdump_emacs_data): Don't need lastfile if using both
9980 portabe dumper and system malloc.
9982 * alloc.c (Fmemory_limit): Conditionalized out.
9983 (pdump): Use OPEN_BINARY for the portable dump file.
9984 (pdump_load): Ditto.
9986 2000-02-02 Mike Alexander <mta@arbortext.com>
9988 * nt.c (convert_time): Set tm_isdst before calling mktime and
9989 avoid calling it at all if the compiler supports 64 bit integers.
9990 Also initialize utc_base_ft before using it.
9992 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9994 * frame.c (change_frame_size_1): Take f->internal_border_width
9995 into consideration when calculating the width of the frame.
9997 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9999 * window.c (frame_min_height):
10000 (frame_size_valid_p):
10001 (frame_pixsize_valid_p): Added.
10002 (check_frame_size): Generalized.
10004 * window.h: Prototyped the above.
10007 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
10008 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
10009 Deleted Vwin32_* and Vbinary_process_* unused variables.
10011 * device-msw.c (msprinter_init_device): Do not get printer font
10012 list; Added DEVMODE functions.
10014 * frame-msw.c: Added lots of printer code.
10016 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10019 * console-msw.h: Added more msprinter device private slots.
10021 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10023 * event-msw.c (key_needs_default_processing_p): Added.
10024 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10026 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10028 * glyphs.c (image_instance_layout): Mark image instance as clean
10030 (glyph_dirty_p): Removed redundant function.
10031 (invalidate_glyph_geometry_maybe): Added.
10032 (update_glyph_cachel_data): Call it.
10034 * glyphs.h: Prototyped it.
10036 * redisplay.c (add_glyph_rune): Call it.
10037 (redisplay_window): Reset glyphs cachels when frame faces have
10038 changed, thus forcing recomputation of built-in border glyphs.
10040 2000-01-30 Martin Buchholz <martin@xemacs.org>
10042 * Makefile.in.in: Make portable dumper and purify play well together.
10043 Add imperfect, but better than nothing, support for pdump.
10044 Remove xemacs.dmp when temacs is re-generated.
10045 Don't ignore errors when dumping xemacs.
10047 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10049 2000-01-28 Andy Piper <andy@xemacs.org>
10051 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10052 (setup_normal_frame): ditto.
10053 (setup_frame_without_minibuffer): ditto.
10054 (setup_minibuffer_frame): ditto.
10055 (delete_frame_internal): ditto.
10056 (Fmake_frame_invisible): ditto.
10057 (Ficonify_frame): ditto.
10059 * window.h: change Fset_window_buffer signature.
10061 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10062 (Fset_window_buffer): allow recording of buffer if the window is
10063 the selected window.
10064 (window_loop): Use new Fset_window signature.
10066 2000-01-23 Daniel Pittman <daniel@danann.net>
10068 * config.h.in: Added template for `HAVE_ATHENA_3D'
10070 2000-01-29 Andy Piper <andy@xemacs.org>
10072 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10074 * gutter.c (output_gutter): Don't output if the window isn't live.
10076 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10078 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10079 of 01/12/00: Moved SetFocus back here where it belongs.
10081 2000-01-23 Andy Piper <andy@xemacs.org>
10083 * s/cygwin32.h: declare printer things.
10085 2000-01-26 Andy Piper <andy@xemacs.org>
10087 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10090 2000-01-24 Andy Piper <andy@xemacs.org>
10092 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10093 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10095 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10097 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10099 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10101 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10102 (mswindows_output_display_block): Avoid local shadows.
10104 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10105 (mswindows_enqueue_mouse_button_event): ditto.
10106 (mswindows_handle_gui_wm_command): remove declaration.
10108 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10111 * console-msw.h: Avoid shadows.
10112 (mswindows_get_toolbar_button_text):
10113 (emacs_mswindows_create_stream_pair):
10114 (emacs_mswindows_delete_stream_pair):
10115 (mswindows_handle_toolbar_wm_command): declare.
10117 * device-msw.c (build_syscolor_string): Avoid shadows.
10119 2000-01-23 Andy Piper <andy@xemacs.org>
10121 * glyphs-widget.c (widget_instantiate): reverse the items for
10122 layouts so that children are in the expected order.
10124 2000-01-28 Martin Buchholz <martin@xemacs.org>
10126 * ralloc.c: safe_bcopy ==> memmove
10127 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10128 * s/msdos.h: Remove BCOPY macros.
10129 * insdel.c (gap_right): Remove BCOPY conditional code.
10130 * insdel.c (gap_left): Remove BCOPY conditional code.
10131 XEmacs demands a working ANSI C compiler - hence memmove.
10133 * regex.c (regex_compile): Remove accidental use of trigraphs.
10135 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10137 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10140 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10142 * event-msw.c (mswindows_drain_windows_queue): Added the
10144 (mswindows_need_event): Commented the call to
10145 mswindows_drain_windows_queue().
10146 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10149 * console-msw.h: Moved a few function prototypes here from
10152 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10153 parameter from unsigned short to unsigned long.
10154 (Fmswindows_shell_execute): Added return value.
10156 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10158 * sysdep.c (init_system_name):
10159 process-unix.c (unix_canonicalized_host_name):
10160 Don't call freeaddrinfo() if getaddrinfo() fails.
10162 * process-unix.c (unix_open_unix_network_stream):
10163 Moved the code to get a port # into address loop.
10165 2000-01-27 Martin Buchholz <martin@xemacs.org>
10167 * buffer.c (reinit_vars_of_buffer):
10168 The right place to initialize conversion_in_dynarr and
10169 conversion_out_dynarr.
10171 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10173 * process-unix.c (unix_canonicalize_host_name): Muleize.
10174 (unix_open_network_stream): Muleize.
10176 * buffer.h: Fix up prototypes for ralloc.c functions.
10178 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10179 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10180 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10181 instead of gethostbyname()
10182 * process-unix.c: In unix_canonicalize_host_name() and
10183 unix_open_network_stream(), add code to use getaddrinfo()
10184 instead of gethostbyname().
10186 2000-01-27 Daniel Pittman <daniel@danann.net>
10188 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10189 libs when built with flat Athena.
10191 2000-01-27 Martin Buchholz <martin@xemacs.org>
10193 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10194 Use coding standards for function prototypes.
10196 2000-01-25 Martin Buchholz <martin@xemacs.org>
10198 * dialog-msw.c (push_lisp_string_as_unicode):
10199 * doc.c (unparesseuxify_doc_string):
10200 * dired.c (Fuser_name_completion_1):
10201 * dired.c (Fuser_name_all_completions):
10202 * dired.c (free_user_cache):
10203 * dired.c (user_name_completion):
10204 * console-x.c (get_display_arg_connection):
10205 * minibuf.c (clear_echo_area_internal):
10206 * minibuf.c (echo_area_append):
10207 * eldap.c (Fldap_open):
10208 * eldap.c (Fldap_search_internal):
10209 * frame-x.c (x_set_frame_text_value):
10210 * frame-x.c (x_set_frame_properties):
10211 * frame-x.c (x_create_widgets):
10212 * redisplay-tty.c (term_get_fkeys_1):
10213 * objects-x.c (x_parse_nearest_color):
10214 * objects-x.c (x_valid_color_name_p):
10215 * objects-x.c (x_initialize_font_instance):
10216 * objects-x.c (x_list_fonts):
10217 * objects-x.c (x_find_charset_font):
10218 * tooltalk.c (Fadd_tooltalk_message_arg):
10219 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10220 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10221 * process-unix.c (unix_create_process):
10222 * ntproc.c (sys_spawnve):
10223 * sound.c (Fplay_sound_file):
10224 * sound.c (Fplay_sound):
10225 * buffer.c (init_initial_directory):
10226 * buffer.c (init_buffer):
10227 * editfns.c (init_editfns):
10228 * editfns.c (Ftemp_directory):
10229 * editfns.c (Fuser_full_name):
10230 * editfns.c (uncache_home_directory):
10231 * editfns.c (get_home_directory):
10232 * editfns.c (Fuser_home_directory):
10233 * editfns.c (Fformat_time_string):
10234 * editfns.c (Fcurrent_time_string):
10235 * gui-x.c (button_item_to_widget_value):
10236 * database.c (Fopen_database):
10237 * event-Xt.c (x_to_emacs_keysym):
10238 * event-Xt.c (x_event_to_emacs_event):
10239 * event-Xt.c (describe_event_window):
10240 * event-msw.c (mswindows_wnd_proc):
10241 * glyphs-eimage.c (jpeg_instantiate):
10242 * glyphs-eimage.c (gif_instantiate):
10243 * glyphs-eimage.c (png_instantiate):
10244 * glyphs-eimage.c (tiff_instantiate):
10245 * glyphs-x.c (xbm_instantiate_1):
10246 * glyphs-x.c (x_xbm_instantiate):
10247 * glyphs-x.c (x_xface_instantiate):
10248 * glyphs-x.c (autodetect_instantiate):
10249 * glyphs-x.c (cursor_font_instantiate):
10250 * glyphs-x.c (x_widget_instantiate):
10251 * glyphs-x.c (x_widget_set_property):
10252 * glyphs-x.c (x_widget_property):
10253 * glyphs-x.c (BUILD_GLYPH_INST):
10254 * print.c (write_string_to_stdio_stream):
10255 * print.c (output_string):
10256 * print.c (Falternate_debugging_output):
10257 * print.c (Fexternal_debugging_output):
10258 * glyphs-msw.c (extract_xpm_color_names):
10259 * glyphs-msw.c (mswindows_xpm_instantiate):
10260 * glyphs-msw.c (bmp_instantiate):
10261 * glyphs-msw.c (resource_name_to_resource):
10262 * glyphs-msw.c (mswindows_resource_instantiate):
10263 * glyphs-msw.c (xbm_instantiate_1):
10264 * glyphs-msw.c (mswindows_xbm_instantiate):
10265 * glyphs-msw.c (mswindows_xface_instantiate):
10266 * glyphs-msw.c (mswindows_widget_instantiate):
10267 * glyphs-msw.c (add_tree_item):
10268 * glyphs-msw.c (add_tab_item):
10269 * glyphs-msw.c (mswindows_combo_box_instantiate):
10270 * glyphs-msw.c (mswindows_widget_property):
10271 * glyphs-msw.c (mswindows_combo_box_property):
10272 * glyphs-msw.c (mswindows_widget_set_property):
10273 * console.c (stuff_buffered_input):
10274 * objects-msw.c (mswindows_initialize_color_instance):
10275 * objects-msw.c (mswindows_valid_color_name_p):
10276 * objects-msw.c (mswindows_list_fonts):
10277 * objects-msw.c (mswindows_font_instance_truename):
10278 * bytecode.c (optimize_compiled_function):
10279 * select-x.c (symbol_to_x_atom):
10280 * select-x.c (x_atom_to_symbol):
10281 * select-x.c (hack_motif_clipboard_selection):
10282 * select-x.c (selection_data_to_lisp_data):
10283 * select-x.c (lisp_data_to_selection_data):
10284 * select-x.c (Fx_get_cutbuffer_internal):
10285 * select-x.c (Fx_store_cutbuffer_internal):
10286 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10287 * buffer.h (TO_INTERNAL_FORMAT): New function.
10288 * emacs.c (make_arg_list_1):
10289 * emacs.c (make_argc_argv):
10290 * emacs.c (main_1):
10291 * emacs.c (Fdump_emacs):
10292 * emacs.c (split_string_by_emchar_1):
10297 * device-x.c (x_init_device):
10298 * device-x.c (Fx_valid_keysym_name_p):
10299 * device-x.c (Fx_get_font_path):
10300 * device-x.c (Fx_set_font_path):
10301 * glyphs.c (bitmap_to_lisp_data):
10302 * glyphs.c (pixmap_to_lisp_data):
10303 * alloc.c (make_ext_string): Use coding system arguments. Update
10305 * alloc.c (build_string):
10306 * callproc.c (child_setup):
10307 * callproc.c (init_callproc):
10308 * fileio.c (lisp_strerror):
10309 * fileio.c (directory_file_name):
10310 * fileio.c (Fexpand_file_name):
10311 * fileio.c (Ffile_truename):
10312 * fileio.c (Fsysnetunam):
10313 * fileio.c (Fdo_auto_save):
10314 * sysdep.c (sys_readdir):
10315 * tests.c: New file. Allow adding C tests.
10316 Replace GET_* macros with a more comprehensible and flexible
10317 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10319 Any coding system can be used to do format conversion.
10320 Eliminate enum external_data_format.
10321 Eliminate convert_to_external_format.
10322 Eliminate convert_to_internal_format.
10323 Make sure file-name, keyboard, terminal, and ctext are always
10324 defined as coding systems or aliases. Make
10325 file-name-coding-system, terminal-coding-system, and
10326 keyboard-coding-system magical variables that are equivalent to
10327 defining the corresponding coding system aliases.
10329 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10330 * file-coding.c (Fcoding_system_alias_p): New function.
10331 * file-coding.c (Fcoding_system_aliasee): New function.
10332 * file-coding.c (append_suffix_to_symbol): New function.
10333 * file-coding.c (dangling_coding_system_alias_p): New function.
10334 * file-coding.c (Ffind_coding_system):
10335 * file-coding.c (Fcopy_coding_system):
10336 * file-coding.c (encode_coding_no_conversion):
10337 * file-coding.c (syms_of_file_coding):
10338 * file-coding.c (vars_of_file_coding):
10339 Rewrite coding system alias code.
10340 Allow nested aliases, like symbolic links.
10341 Allow redefinition of coding system aliases.
10342 Prevent existence of dangling coding system aliases.
10344 * dired.c (Fuser_name_completion_1):
10345 * dired.c (Fuser_name_all_completions):
10346 A crash would happen if user did QUIT in the middle of building
10347 user_name_cache. Remove redundant code in mainline and unwind_protect.
10350 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10352 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10353 an unsigned char *. Update all callers.
10355 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10357 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10359 2000-01-25 Martin Buchholz <martin@xemacs.org>
10361 * elhash.c (hentry_description): Use more portable definition.
10362 (resize_hash_table): Initialize new hentries using
10363 xnew_array_and_zero, thereby simplifying the code.
10365 * mule-charset.c (make_charset): Make sure entire object is
10366 initialized, to avoid Purify warnings.
10368 * alloc.c (resize_string): Fix unlikely crash with big strings.
10370 2000-01-24 Martin Buchholz <martin@xemacs.org>
10372 * realpath.c (xrealpath):
10373 Don't call getwd().
10375 2000-01-25 Martin Buchholz <martin@xemacs.org>
10377 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10379 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10381 * unexelfsgi.c (unexec): Change the way we decide which segment
10382 should be extended.
10384 Assumption that .bss section should be outside the PT_LOADable
10385 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10386 it's present) is inside the 'data' segment. This would fail the
10387 test which was used to find a segment to grow and cover new
10388 heap. Instead of this assumption, I created another one - on IRIX
10389 the segment to grow should start below .bss and it's address
10390 should extent above the end of .bss. Once this segment is
10391 identified, it's grown to accommodate the new heap and new
10392 zero-length .bss section is added at the end of .data2.
10394 2000-01-25 Martin Buchholz <martin@xemacs.org>
10396 * eval.c (Feval): Wrong number of arguments should use original
10397 function, not the indirect_function version of it.
10399 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10401 * glyphs-x.c (x_button_instantiate): Don't add image if
10402 it is not a pixmap.
10403 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10406 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10408 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10410 (DEFVAR_INT_MAGIC): Ditto.
10411 (DEFVAR_BOOL_MAGIC): Ditto.
10412 * glyphs.h: Reindent backslash.
10414 2000-01-24 Martin Buchholz <martin@xemacs.org>
10416 * glyphs-widget.c (layout_query_geometry):
10417 (layout_layout): Use correct types for gheight, gwidth.
10419 2000-01-24 Martin Buchholz <martin@xemacs.org>
10421 * EmacsManager.c (QueryGeometry): Purified.
10423 2000-01-23 Martin Buchholz <martin@xemacs.org>
10425 * alloc.c (make_float): Make sure entire object is initialized, to
10426 avoid Purify warnings.
10427 (pdump_register_sub): Remove useless assignment.
10428 (pdump): Use xmalloc, not malloc.
10429 (pdump_load): Use xmalloc, not malloc.
10431 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10438 * sysdep.c: Removed redundant #include <windows.h>
10440 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10442 * frame.c (delete_frame_internal): Do not delete device when its
10443 implementation so declares.
10444 (delete_frame_internal): Set device selected frame to nil when
10445 last frame goes away.
10447 * device-msw.c (msprinter_device_system_metrics): Implemented.
10448 (mswindows_device_system_metrics): Added 'device-dpi property.
10450 * device.c: (Fdevice_printer_p): Added.
10451 Added 'offset-workspace device metric.
10453 * console.h (device_metrics): Declared DM_offset_workspace.
10455 2000-01-23 Martin Buchholz <martin@xemacs.org>
10457 * fileio.c (Ffile_truename): Remove pointless and confusing
10458 initialization of elen.
10460 * glyphs-widget.c: Compiler warning fixes.
10462 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10464 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10465 instead of a Lisp_Object as argument to make it consistent with
10466 the other LIVE_P macros.
10467 (CHECK_LIVE_PROCESS): New macro.
10469 * process.c: Declare Qprocess_live_p.
10470 (Fprocess_live_p): New function.
10471 (create_process): Use PROCESS_LIVE_P.
10472 (read_process_output): Ditto.
10473 (set_process_filter): Ditto.
10474 (Fdelete_process): Ditto.
10475 (kill_buffer_processes): Ditto
10476 (process_send_signal): Use CHECK_LIVE_PROCESS.
10477 (Fprocess_input_coding_system): Check whether process is still
10478 alive (fix PR#1061).
10479 (Fprocess_output_coding_system): Ditto.
10480 (Fprocess_coding_system): Ditto.
10481 (Fset_process_input_coding_system): Ditto.
10482 (Fset_process_output_coding_system): Ditto.
10484 2000-01-23 Andy Piper <andy@xemacs.org>
10486 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10489 * glyphs.c (mark_image_instance): take into account changed
10490 image_instance format.
10491 (image_instance_equal): ditto.
10492 (image_instance_hash): ditto.
10494 * glyphs-widget.c (widget_instantiate): Incorporate layout
10495 instantiation here. Delay layout of the layout until later.
10496 (layout_instantiate): deleted.
10497 (layout_query_geometry): new function. get the geometry of a
10499 (layout_layout): layout a layout dynamically.
10500 (image_instantiator_widget): New function - splitting up
10501 image_instantiator_format_create_glyphs_widget for netwinder
10503 (image_instantiator_buttons):
10504 (image_instantiator_edit_fields):
10505 (image_instantiator_combo_box):
10506 (image_instantiator_scrollbar):
10507 (image_instantiator_progress_guage):
10508 (image_instantiator_tree_view):
10509 (image_instantiator_tab_control):
10510 (image_instantiator_labels):
10511 (image_instantiator_layout): ditto.
10512 (image_instantiator_format_create_glyphs_widget): Call preceding
10515 2000-01-22 Martin Buchholz <martin@xemacs.org>
10517 * process.c (Fset_process_coding_system):
10518 * device-x.c (Fx_keysym_hash_table):
10521 * lstream.c (Lstream_write): Return documented value, not 0.
10523 * fileio.c (directory_file_name):
10524 (Fsubstitute_in_file_name):
10525 (Fsubstitute_insert_file_contents_internal):
10526 (Fwrite_region_internal):
10531 Remove vestigial APOLLO-conditional code.
10533 2000-01-21 Martin Buchholz <martin@xemacs.org>
10535 * getpagesize.h: Add guard macros.
10536 * libsst.h: Add guard macros.
10537 * libst.h: Add guard macros.
10538 * line-number.h: Add guard macros.
10539 * ndir.h: Add guard macros.
10540 * sysfloat.h: Add guard macros.
10541 * sysfile.h: Add guard macros.
10542 * sysproc.h: Add guard macros.
10543 * syswait.h: Add guard macros.
10544 * xintrinsic.h: Add guard macros.
10545 * xintrinsicp.h: Add guard macros.
10546 * xmmanager.h: Add guard macros.
10547 * xmmanagerp.h: Add guard macros.
10548 * xmprimitive.h: Add guard macros.
10549 * xmu.h: Add guard macros.
10550 * gpmevent.h: Add copyright statement. Add guard macros.
10551 * miscplay.h: Add guard macros.
10552 * *.h: Use consistent C-standards-approved guard macro names.
10554 * opaque.c (make_opaque): Switch parameter order.
10555 * opaque.h (make_opaque): Switch parameter order.
10556 Update all callers.
10557 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10559 * config.h.in (type_checking_assert): Added.
10560 (bufpos_checking_assert): Added.
10562 2000-01-21 Martin Buchholz <martin@xemacs.org>
10564 * alloc.c: Harmless pdump changes.
10566 - spell alignment correctly.
10567 * sysdep.c: Use countof()
10569 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10571 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10572 initially_selected_for_input() console method, default to 0.
10573 (semi_canonicalize_console_connection): Try to delegate to
10574 canonicalize_console_connection if no such console method.
10575 (canonicalize_console_connection): Vice versa.
10576 (print_console): Do not print nil connection.
10578 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10579 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10580 (XDEVIMPF_FRAMELESS_OK): Added.
10581 (CONSOLE_INHERITS_METHOD): Added.
10583 * console-msw.c (mswindows_canonicalize_console_connection):
10585 (mswindows_canonicalize_device_connection): Added.
10587 * console-msw.h (struct msprinter_device): Added this struct and
10589 (mswindows_device): Made fontlist a lisp object.
10591 * device.c (semi_canonicalize_device_connection): Try to delegate
10592 to canonicalize_device_connection if no such console method.
10593 (canonicalize_device_connection): Vice versa.
10594 (print_device): Do not print nil connection.
10596 * device-msw.c (mswindows_init_device): Call InitCommonControls
10598 (mswindows_delete_device): Removed fontlist deallocation.
10599 (mswindows_mark_device): Added.
10601 * events.c (event_equal): Added abort() at unreached code.
10602 (event_hash): Ditto.
10604 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10605 fallback tags of Windows devices.
10607 * general.c (syms_of_general): Initialized Qmsprinter.
10609 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10610 of fallback tags of Windows devices.
10612 * lisp.h: Declared Qmsprinter.
10614 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10616 (mswindows_list_fonts): Ditto.
10617 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10618 that it can be used by both mswindows and msprinter devices.
10619 (initialize_font_instance): Added.
10620 (mswindows_initialize_font_instance): Use it.
10621 (msprinter_initialize_font_instance): Added.
10623 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10624 and implementation flags check.
10625 (redisplay_without_hooks): Changed the call to the above.
10626 (Fredraw_device): Ditto.
10627 (Fredisplay_device): Ditto.
10629 * redisplay-msw.c (get_frame_dc): Implemented.
10630 (get_frame_compdc): Implemented.
10631 (many functions): Use the two functions above to get device
10632 contexts, ether for a window or a printer.
10634 2000-01-21 Olivier Galibert <galibert@pobox.com>
10636 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10637 initialization here.
10638 (init_symbols_once_early): Call it.
10639 * emacs.c (main_1): Call it.
10640 * symsinit.h: Declare it.
10642 2000-01-19 Olivier Galibert <galibert@pobox.com>
10644 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10646 (pdump_backtrace): Ditto.
10647 (pdump_register_object): Ditto. Cleanup use of the pointers.
10648 (pdump_get_entry): Abort if trying to register a null pointer.
10649 (pdump_dump_data): Cleanup types when relocating.
10650 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10651 (pdump_dump_rtables): Remove bad casts.
10652 (pdump_load): Cleanup relocation w.r.t union type. Use a
10653 Lisp_Object instead of a EMACS_INT for the hashtable
10656 2000-01-20 Martin Buchholz <martin@xemacs.org>
10658 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10660 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10662 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10664 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10666 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10668 * faces.h (FACE_STRIKETHRU_P): Added.
10670 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10673 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10674 (mswindows_set_dc_font): New function, aware of font variants,
10675 separated from mswindows_update_dc.
10677 * objects-msw.h (struct mswindows_font_instance_data): Added
10680 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10681 cached fonts and the data structure.
10682 (mswindows_initialize_font_instance): Added creation of font data
10684 (mswindows_print_font_instance): Print at least something.
10685 (mswindows_create_font_variant): Implemented.
10686 (mswindows_get_hfont): Implemented.
10688 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10690 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10691 prototyping problem with msvc.
10693 * emacs.c (main_1): added syms_of_gui_mswindows() call
10695 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10696 syms_of_gui_mswindows() function
10698 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10700 2000-01-18 Martin Buchholz <martin@xemacs.org>
10702 * XEmacs 21.2.27 is released.
10704 2000-01-18 Martin Buchholz <martin@xemacs.org>
10706 * glyphs-eimage.c (struct tiff_error_struct):
10708 (tiff_warning_func):
10709 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10714 * unexec.c: Remove vestigial Lucid C code.
10718 * libsst.c: Ansify.
10719 Remove declarations of errno and strerror().
10721 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10723 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10725 2000-01-16 Martin Buchholz <martin@xemacs.org>
10727 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10730 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10735 Change enum eol_type to eol_type_t.
10737 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10739 * gui.c (get_gui_callback): Check cons before accessing car.
10741 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10743 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10744 (XSETSPECIFIER_TYPE): Ditto.
10746 2000-01-17 Didier Verna <didier@xemacs.org>
10748 * redisplay.c (generate_fstring_runes): compute string size in
10749 characters, not bytes.
10751 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10753 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10755 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10757 * print.c (print_error_message): Call print_prepare().
10759 2000-01-14 Martin Buchholz <martin@xemacs.org>
10761 * .dbxrc: Renamed from dbxrc.
10763 * events.c (event_to_character):
10764 Use `assert (foo)' instead of `if (!foo) abort()'
10766 * .gdbinit (xtype): Add documentation.
10767 * .gdbinit (check-temacs): New function.
10768 * .gdbinit (check-xemacs): New function.
10769 * dbxrc (check-xemacs): New function.
10770 * dbxrc (check-xemacs): New function.
10772 2000-01-14 Andy Piper <andy@xemacs.org>
10774 * glyphs-widget.c (widget_query_geometry): Make sure that we
10775 calculate default dimensions correctly.
10777 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10779 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10781 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10782 pdump_wire'd variable.
10784 * emacs.c: (main_1): Conditionalized calls to
10785 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10787 2000-01-13 Martin Buchholz <martin@xemacs.org>
10789 * window.c (Fset_window_configuration):
10790 * sysdep.c (_start):
10791 * input-method-motif.c (res):
10792 * event-Xt.c (Xt_process_to_emacs_event):
10793 Simple compiler warning fixes.
10795 * bytecode.c (funcall_compiled_function): Use the original
10796 function symbol on the backtrace list in preference to the
10797 compiled_function object in error messages.
10799 2000-01-13 Andy Piper <andy@xemacs.org>
10801 * glyphs-x.c (update_widget_face): Make sure we update the widget
10802 background as well as foreground.
10804 2000-01-13 Andy Piper <andy@xemacs.org>
10806 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10807 fields to subwindow.
10808 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10809 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10810 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10811 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10813 * glyphs-widget.c (check_valid_tab_orientation): new function.
10814 (initialize_widget_image_instance): zero orientation and
10816 (widget_instantiate): pick up orientation.
10817 (tab_control_query_geometry): return appropriate values for
10820 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10821 appropriate creation flags for left, right and bottom tabs.
10823 * s/cygwin32.h: add tab definitions.
10825 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10827 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10828 frame upon hiding a subwindow.
10829 (mswindows_button_instantiate): Changed the push button style to
10831 (mswindows_button_instantiate): Removed button BS_NOTIFY
10833 (mswindows_button_instantiate): Removed redundant check for
10834 a disabled gui item.
10835 (mswindows_button_instantiate): Made use of WS_TABSTOP
10836 consistent: "operable" controls (edit, button, tree, scroll) have
10837 this style, "display-only" ones (static, progress gauge) do
10838 not. This style is currently ignored by XEmacs though. Also,
10839 removed the WS_EX_CONTROLPARENT style - it is not for children,
10840 it is for their parents!
10841 (mswindows_edit_field_instantiate): Ditto.
10842 (mswindows_progress_gauge_instantiate): Ditto.
10843 (mswindows_tree_view_instantiate): Ditto.
10844 (mswindows_tab_control_instantiate): Ditto.
10845 (mswindows_scrollbar_instantiate): Ditto.
10846 (mswindows_combo_box_instantiate): Ditto.
10847 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10848 style to the "clip" window.
10849 (mswindows_button_instantiate): Removed compilation warning by
10850 equally typing terms of the ?: operator.
10852 2000-01-12 Didier Verna <didier@xemacs.org>
10854 * redisplay.c (generate_fstring_runes): new parameter holding the
10855 last modeline-format extent.
10856 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10857 extent, fill the glyph block with it.
10858 (generate_fstring_runes): handle these parameters.
10859 (generate_formatted_string_db): ditto.
10861 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10862 glyphs'extents in the modeline.
10864 1999-01-11 Mike Woolley <mike@bulsara.com>
10866 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10867 256Mb, as a workaround for the non-starting problem many people
10870 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10872 * console-tty.c (Fset_console_tty_output_coding_system):
10873 Force redrawing tty frame.
10875 2000-01-10 Didier Verna <didier@xemacs.org>
10877 * redisplay.c (generate_fstring_runes): fix size computation bug.
10879 2000-01-09 William M. Perry <wmperry@aventail.com>
10881 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10883 2000-01-09 Andy Piper <andy@xemacs.org>
10885 * glyphs-msw.c: index -> i to avoid shadows.
10886 (xbm_create_bitmap_from_data): make static.
10887 (check_valid_string_or_int): deleted.
10888 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10890 * glyphs-x.c (x_update_subwindow): remove unused args.
10892 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10893 back pointer - this is done in allocate_image_instance.
10894 (query_string_font): return Qnil to make the compiler happy.
10895 (unmap_subwindow): set to ~0 to make the compiler happy.
10896 (glyph_query_geometry): comment out until used.
10897 (glyph_layout): ditto.
10899 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10901 * insdel.c (signal_after_change): Remove extraneous unbind_to().