1 1999-12-31 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.26 is released.
5 1999-12-31 Andy Piper <andy@xemacs.org>
7 * glyphs-x.c (x_widget_instantiate): Avoid X errors calling
8 XMapWindow() on a NULL pointer X window.
10 1999-12-31 Martin Buchholz <martin@xemacs.org>
12 * data.c (indirect_function): Use signal_void_function_error().
14 * lisp.h: Modify prototypes for signal_*(). Add SUBR_FUNCTION macro.
16 * eval.c (PRIMITIVE_FUNCALL): Optimize.
17 (signal_void_function_error): return result of Fsignal().
18 (signal_invalid_function_error): return result of Fsignal().
19 (signal_wrong_number_of_arguments_error): return result of Fsignal().
20 (signal_malformed_list_error): Add DOESNT_RETURN.
21 (signal_malformed_property_list_error): Add DOESNT_RETURN.
22 (signal_circular_list_error): Add DOESNT_RETURN.
23 (signal_circular_property_list_error): Add DOESNT_RETURN.
24 (Feval): Use returned results of signal_*(). Avoids a crash!
25 (Ffuncall): Use returned results of signal_*(). Avoids the crash:
26 (setq debug-on-error t) (funcall 'foo) kbd{r42} kbd{RET}
27 - Only check for fun_nargs < subr_min_args if fun_nargs != max_args.
28 (function_argcount): Use signal_invalid_function_error().
29 (funcall_lambda): Use signal_wrong_number_of_arguments_error().
30 Use signal_invalid_function_error().
32 1999-12-28 Andy Piper <andy@xemacs.org>
34 * debug.c: rename debug_loop elements to X_ to avoid name clashes.
36 * menubar-x.c (menu_item_descriptor_to_widget_value_1): strdup
38 (menu_item_descriptor_to_widget_value_1): strdup name.
39 (pre_activate_callback): strdup name.
41 * scrollbar-x.c (scrollbar_instance_to_widget_value): strdup name.
42 (x_update_scrollbar_instance_status): use free_widget_value_tree.
44 * dialog-x.c (maybe_run_dbox_text_callback): strdup name. use
45 free_widget_value_tree.
46 (dbox_descriptor_to_widget_value): ditto.
48 * gui-x.c (widget_value_unwind): use free_widget_value_tree.
49 (gui_items_to_widget_values_1): ditto.
50 (gui_items_to_widget_values): ditto.
51 (free_popup_widget_value_tree): free name.
53 1999-12-27 Andy Piper <andy@xemacs.org>
55 * nt.c (fstat): use get_osfhandle rather than the handle
56 directly. From Fabrice Popineau.
58 * process-nt.c (nt_open_network_stream): take types into account
59 when warning. From Fabrice Popineau.
61 1999-12-24 Martin Buchholz <martin@xemacs.org>
63 * XEmacs 21.2.25 is released.
65 1999-12-22 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
67 * syntax.c (vars_of_syntax): Initialize parse-sexp_ignore_comments.
69 1999-12-21 Martin Buchholz <martin@xemacs.org>
71 * editfns.c (Fpoint_min):
77 Docstring fixes. What's a `buffer pointer' anyways?
79 * editfns.c (char=): Remove unused and undocumented optional
80 third BUFFER argument.
82 * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P):
83 * fns.c (plists_differ):
84 * elhash.c (HASH_CODE):
85 * elhash.c (KEYS_EQUAL_P):
86 * redisplay-output.c (redisplay_move_cursor):
87 * redisplay.c (create_text_block):
89 * glyphs-msw.c (mswindows_initialize_image_instance_mask):
90 * glyphs-msw.c (xpm_to_eimage):
91 * buffer.h (POINT_MARKER_P):
92 * syntax.c (scan_lists):
93 * cmdloop.c (Fcommand_loop_1):
94 * widget.c (Fwidget_apply):
96 Remove extra parens, esp. of the form ((expr))
98 * floatfns.c (Flogb): Make 64-bit clean.
100 1999-12-12 Daniel Pittman <daniel@danann.net>
104 Clean up Athena widget support:
105 - Add `with-athena' to select a variant.
106 - Remove all `athena3d' options.
107 - Robust detection of Athena libraries and headers.
108 - Refuse to build with mismatched library and headers.
109 - Only build a 3d Athena if the user asks for it.
111 1999-12-21 Andy Piper <andy@xemacs.org>
113 * redisplay.c (redisplay_frame): check for faces changed when
114 reseting subwindow caches.
116 * glyphs.h (struct ii_keyword_entry): add copy_p.
117 (struct image_instantiator_methods): add query_geometry_method and
118 layout_children_method.
119 (IIFORMAT_VALID_GENERIC_KEYWORD): new macro to take into account
120 copying characteristics of keywords.
121 (IIFORMAT_VALID_NONCOPY_KEYWORD): new macro for defining keywords
122 whose arguments should not be copied by the specifier code.
123 (image_instance_geometry): new enum for layouts.
124 (struct Lisp_Image_Instance): re-jig for layouts and update
127 * glyphs.c (string_instantiate): rename variables.
128 (image_instantiate): add strings to those widgets that are
129 instantiated per-window.
130 (image_copy_vector_instantiator): new function for copying glyph
131 specifier instantiators.
132 (image_copy_instantiator): ditto.
134 * glyphs-x.c (x_update_subwindow): use new face update functions.
135 (update_widget_face): update to use new lwlib arg functions.
136 (update_tab_widget_face): new function for updating tab control
138 (x_widget_instantiate): use new face update functions and new
140 (x_tab_control_instantiate): ditto.
141 (x_tab_control_set_property): ditto.
143 * glyphs-widget.c (VALID_GUI_KEYWORDS): use NONCOPY keyword for
144 callbacks and other things that could recurse.
145 (VALID_GUI_KEYWORDS):
147 * event-msw.c: fix cpp stuff for cygwin < b20.
149 * config.h.in: move uid_t and friends to before the s&m files so
150 that they can be used there.
152 * Makefile.in.in (debug-temacs): new target that adds emacs
153 environment before invoking gdb.
155 * lwlib.h (_widget_args): new structure for holding widget
156 args. It is reference counted so that we don't have to copy Xt
158 (_widget_value): remove widget args. Add reference to widget_args.
160 * lwlib.c (free_widget_value_contents): free widget args using
161 free_widget_value_args.
163 * lwlib-Xaw.c (xaw_update_one_widget): use new arg packet.
164 (xaw_update_one_widget): use XtIsSubclass for determining labels.
166 * lwlib.c (lw_add_value_args_to_args): modify to use our reference
168 (lw_add_widget_value_arg): new function. Add an arg to the arg
170 (free_widget_value_args): new function. Remove a reference counted
172 (lw_copy_widget_value_args): new function. Copy reference counted
174 (merge_widget_value_args): new function. Do a merge of widget
176 (merge_widget_value): use it.
177 (copy_widget_value_tree): copy widget args using reference
178 counting, since we can't easily copy the args we have been given.
180 * specifier.h (struct specifier_methods): add copy_instantiator_method.
182 * specifier.c (build_up_processed_list): use
183 copy_instantiator_method if defined.
185 1999-12-19 Martin Buchholz <martin@xemacs.org>
187 * fns.c (Ffillarray): Use O(N), not O(N^2) algorithm for strings.
189 1999-12-19 Hrvoje Niksic <hniksic@iskon.hr>
191 * profile.c (sigprof_handler): FUN retrieved from the backtrace
192 can also be a cons representing anonymous interpreted function.
194 1999-12-18 Martin Buchholz <martin@xemacs.org>
200 Docstring fixes. Make them consistent with the lispref and ANSI Lisp.
202 1999-12-17 Martin Buchholz <martin@xemacs.org>
204 * print.c (print_internal): print ?+ instead of ?\+, etc...
205 Make printing a little more efficient.
206 Prevent buffer overflow if sizeof EMACS_INT > 8.
207 My first 128-bit fix!
209 1999-12-14 Karl M. Hegbloom <karlheg@inetarena.com>
211 * filelock.c (unlock_all_files): GC_CONSP should be CONSP
213 1999-12-17 Martin Buchholz <martin@xemacs.org>
218 Remove last vestigial uses of GC_*
220 * fns.c (mapcar1): Fix ***THREE*** obscure crashes in one function!
221 - Two of those involve evil mapping functions that destructively
222 modify a list being mapped over.
223 - Any garbage collection when mapping over a string could cause a
224 crash (typically in mapconcat).
226 1999-12-08 Adrian Aichner <adrian@xemacs.org>
228 * s\windowsnt.h (DIRECTORY_SEP): Initialize from
229 `Vdirectory_sep_char'.
231 * lisp.h: Add declaration for `Vdirectory_sep_char' to allow
232 customization of `DIRECTORY_SEP' under native Windows NT.
234 1999-12-14 Katsumi Yamaoka <yamaoka@jpl.org>
236 * buffer.c (Fbury_buffer): Add directions to the docstring.
238 1999-12-14 Martin Buchholz <martin@xemacs.org>
240 * XEmacs 21.2.24 is released.
242 1999-12-13 Martin Buchholz <martin@xemacs.org>
244 * sound.c (vars_of_sound): Provide esd-sound if HAVE_ESD_SOUND
246 * nas.c: Fix compiler warnings. Ansify. C++ compilation support.
248 1999-12-13 Kazuyuki IENAGA <ienaga@jsys.co.jp>
250 * input-method-xlib.c: Make sure src/ does not use Athena, except
251 indirectly through lwlib.
253 1999-12-13 Gunnar Evermann <ge204@eng.cam.ac.uk>
255 * dbxrc (pobj): Add opaque_ptr, remove opaque_list.
257 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
259 * file-coding.c (add_coding_system_to_list_mapper):
260 - (coding-system-list) should list aliases correctly.
262 1999-12-07 Andy Piper <andy@xemacs.org>
264 * fileio.c (vars_of_fileio): directory separator fix from Mike Alexander.
265 * windowsnt.h (ditto):
267 1999-11-27 Adrian Aichner <adrian@xemacs.org>
269 * sysfile.h: Encapsulate `fstat' for Windows NT just like stat to
270 get consistent file modification times.
272 * sysdep.h: Declare `wait_for_termination' to use process handle,
273 not PID, on Windows NT native.
275 * sysdep.c (wait_for_termination): Use process handle, not PID, on
276 Windows NT native. Set exit code correctly on Windows NT.
277 (sys_subshell): Use process handle, not PID,
278 on Windows NT native.
279 (sys_fstat): Add ENCAPSULATE_FSTAT for Windows NT.
281 * process-nt.c (nt_create_process): Remove negative pid hack for
283 (nt_send_process): Declare vol_proc volatile.
284 (get_internet_address): warn_when_safe if IP address cannot be
286 (nt_open_network_stream): warn_when_safe if network stream fails
289 * ntproc.c (create_child): Remove negative pid hack for Windows
290 95. Remove incorrect and unnecessary USE_UNION_TYPE handling.
292 * nt.c (fstat): Encapsulate for Windows NT just like stat to get
293 consistent file modification times.
295 * callproc.c (call_process_cleanup): Use process handle, not PID,
296 on Windows NT native.
297 (Fcall_process_internal): Ditto. Close fd_error in parent. Don't
298 check for negative pid on Windows NT/9[58].
300 1999-12-07 Martin Buchholz <martin@xemacs.org>
302 * XEmacs 21.2.23 is released.
304 1999-12-06 Martin Buchholz <martin@xemacs.org>
306 * events.c (Fcopy_event): Don't copy the lrecord_header.
308 * lisp.h (DO_REALLOC):
310 Remove redundant parens.
311 Remove generic hygienic macro comment.
313 * lrecord.h (set_lheader_implementation): Remove redundant parens.
315 1999-12-05 Martin Buchholz <martin@xemacs.org>
317 * lstream.c (Lstream_adding):
318 - Never compare a size_t and a possibly negative number.
321 1999-12-05 Kyle Jones <kyle_jones@wonderworks.com>
323 * lisp/itimer.el: (require 'lisp-float-type). Use
324 floats directly in itimer-time-difference.
326 1999-12-05 Andy Piper <andy@xemacs.org>
328 * redisplay-output.c (redisplay_output_layout): avoid name hiding.
330 * gui.h: declare gui_add_item_keywords_to_plist.
332 * window.c (Fdelete_window): mark subwindows as changed so that
333 they can be GC'd if necessary.
335 1999-12-02 Jan Vroonhof <vroonhof@math.ethz.ch>
337 * src/callproc.c (Fcall_process_internal): Be careful in writing
338 terminating null when copying args. nargs can be < 4.
339 Idea from Klaus Frank <klausf@i3.informatik.rwth-aachen.de>
341 1999-11-29 Kyle Jones <kyle_jones@wonderworks.com>
343 * src/sound.c (Fding): Remove zero initialization of
344 static variables to avoid crashes on systems that dump
345 the initialized data segment read-only.
347 1999-12-05 Jan Vroonhof <vroonhof@math.ethz.ch>
349 * glyphs-x.c (convert_EImage_to_XImage): Guard against other
350 visual classes. From Rasmus Borup Hansen <rbh@math.ku.dk>
352 1999-12-04 Martin Buchholz <martin@xemacs.org>
354 * lstream.c: (filedesc_reader):
355 (filedesc_writer): Try number 2: Support broken systems where
356 return type of read() and write() is different from ssize_t.
361 - Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with
362 function equivalents emacs_get_tty() and emacs_set_tty().
363 - Moved prototypes to systty.h, where struct event_tty is defined.
364 - Renamed bogus `waitp' parameter to `flushp'.
366 * lstream.c (filedesc_reader): Support broken systems where return
367 type of read() is different from ssize_t.
369 * events.c (Fcopy_event): Avoid redundant EQ test if event2 is nil.
371 * event-stream.c (menu_move_up): Remove redundant if block.
372 (menu_move_down): Gratuitous rewriting.
373 (menu_move_left): Work around Cygnus codefusion-990706 compiler bug.
374 (menu_move_right): Ditto.
376 * lrecord.h (copy_lcrecord):
378 Always add parentheses around uses of macro arguments.
380 * sysdll.c: #include <stdlib.h> for exit().
381 * unexhp9k800.x: #include <stdlib.h> for malloc().
382 Use proper prototype for Save_Shared_Data(void).
384 1999-12-04 Jan Vroonhof <vroonhof@math.ethz.ch>
386 * src/redisplay.c (point_would_be_visible): Correct for topclip.
388 1999-12-02 Hrvoje Niksic <hniksic@iskon.hr>
390 * lisp.h: Declare Qself_insert_defer_undo.
392 * event-stream.c (Fdispatch_event): Get the magic undo thing from
393 a symbol property, so commands other than self-insert-command can
395 (syms_of_event_stream): Define Qself_insert_defer_undo.
397 1999-11-30 Martin Buchholz <martin@xemacs.org>
399 * floatfns.c (emacs_rint): Rename rint to emacs_rint, so that
400 `#undef HAVE_RINT' works.
402 * sysdep.h: Fix up prototypes for sys_read_1(), sys_write_1()
404 1999-11-25 Andy Piper <andy@xemacs.org>
406 * select-msw.c (Fmswindows_set_clipboard): selection fixes from
408 (Fmswindows_delete_selection): ditto.
410 * redisplay.h (CLASS_REDISPLAY_FLAGS_CHANGEDP): add size_changed.
411 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
413 * redisplay.c (redisplay_device): move size changed to macros in
415 (redisplay_without_hooks): ditto.
417 * redisplay-output.c (redisplay_output_layout): rename to avoid
420 * process-nt.c (struct nt_process_data): mks toolkit fixes from
422 (nt_create_process): ditto.
423 (nt_send_process): ditto.
425 * nt.c (init_environment): make sure mingw32 gets the cached
428 * gui.h: declare gui_add_item_keywords_to_plist.
430 * event-msw.c (mswindows_wnd_proc): Clipboard fixes from Mike
433 * console-msw.h: fix cygwin define/header 1.0 problems.
434 * glyphs-msw.c: ditto.
437 * s/cygwin32/h: ditto.
439 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
441 * XEmacs 21.2.22 is released
443 1999-11-28 Martin Buchholz <martin@xemacs.org>
445 * XEmacs 21.2.21 is released.
447 1999-11-26 Martin Buchholz <martin@xemacs.org>
449 * callproc.c (Fcall_process_internal):
452 * event-msw.c (ntpipe_slurp_reader):
453 * event-msw.c (ntpipe_shove_writer):
454 * event-msw.c (winsock_reader):
455 * event-msw.c (winsock_writer):
456 * event-stream.c (dribble_out_event):
458 * fileio.c (Fexpand_file_name):
459 * glyphs-x.c (write_lisp_string_to_temp_file):
460 * gpmevent.c (tty_get_foreign_selection):
461 * lisp.h: Update prototypes.
462 * lstream.c (Lstream_flush_out):
463 * lstream.c (Lstream_write_1):
464 * lstream.c (Lstream_was_blocked_p):
465 * lstream.c (Lstream_read_more):
466 * lstream.c (Lstream_read):
467 * lstream.c (Lstream_fputc):
468 * lstream.c (make_stdio_output_stream):
469 * lstream.c (stdio_flusher):
470 * lstream.c (stdio_closer):
471 * lstream.c (make_filedesc_output_stream):
472 * lstream.c (errno_would_block_p):
473 * lstream.c (filedesc_writer):
474 * lstream.c (make_lisp_string_input_stream):
475 * lstream.c (make_fixed_buffer_output_stream):
476 * lstream.c (fixed_buffer_reader):
477 * lstream.c (make_resizing_buffer_output_stream):
478 * lstream.c (make_dynarr_output_stream):
479 * lstream.c (make_lisp_buffer_output_stream):
480 * lstream.c (lisp_buffer_reader):
481 * lstream.h (lstream_implementation):
483 * miscplay.h (reset_parsestate):
484 * process-nt.c (nt_send_process):
485 * process-unix.c (unix_send_process):
487 * sysdep.c (sys_close):
488 * sysdep.c (sys_read_1):
489 * sysdep.c (sys_write_1):
491 * file-coding.c (determine_real_coding_system):
492 * file-coding.c (Fdetect_coding_region):
493 * file-coding.c (struct decoding_stream):
494 * file-coding.c (decoding_reader):
495 * file-coding.c (Fdecode_coding_region):
496 * file-coding.c (struct encoding_stream):
497 * file-coding.c (encoding_reader):
498 * file-coding.c (Fencode_coding_region):
499 * file-coding.c (convert_to_external_format):
500 * file-coding.c (convert_from_external_format):
501 - Lstream functions mirror Unix98 read(),write(). Therefore use
502 Unix98 types size_t and ssize_t.
503 - Try to make Lstream* functions 64-bit clean. Someday someone
504 may actually want to read from a Lstream with more than 2**32 bytes.
505 - Add configure support for ssize_t.
506 - Update all callers of Lstream_read and Lstream_write to
508 - Fix esd* initiated C++ compile errors.
509 - Remove comments referring to `fpurge' - we don't want to call it
513 - Remove some lingering Lucid compiler support.
516 - Add prototype for Fdelete_process.
518 * gpmevent.c (Freceive_gpm_event): Remove unused variables.
520 1999-11-27 Martin Buchholz <martin@xemacs.org>
522 * Makefile.in.in (depend): Only update `depend' if there were changes.
524 1999-11-26 Martin Buchholz <martin@xemacs.org>
526 * editfns.c (get_system_name): Remove.
528 1999-11-26 Martin Buchholz <martin@xemacs.org>
530 * device-x.c (x_init_device):
531 - Replace magic number `17' with equivalent expn using sizeof.
532 - Replace strcmp with marginally more efficient memcmp.
533 - Avoid using C++ reserved word `class'.
535 * file-coding.c (determine_real_coding_system):
536 - Look for both initial and final -*- cookies.
537 - Replace EQ (foo, Qnil) with NILP (foo)
538 - Make searching for cookies more efficient.
539 - Recognize only rfc 1521 characters in charset names.
541 1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp>
543 * input-method-xlib.c (IMDestroyCallback): #ifdef'd by
544 "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6.
545 * input-method-xlib.c (IMInstantiateCallback): Ditto.
546 * input-method-xlib.c (XIM_init_device): Revive XOpenIM function
547 call for X11R5 systems.
548 * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC()
549 again because XIM doesn't concern with frame deletion itself.
550 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
553 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
555 * input-method-xlib.c: Added new lisp object Qxim_xlib.
556 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
557 All the valid stderr_out were changed to those macros.
558 (IMDestroyCallback): Don't test the XIC if the frame is not X
560 (IMInstantiateCallback): Treat the client_data as "device" not
561 "frame" because the caller changed from frame to device.
562 Here initializes XIM and activates XICs for each frame which
564 (XIM_init_device): Register the XIM instantiation callback which
565 had been performed by XIM_init_frame() before.
566 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
567 (XIM_init_frame): Placed an actual code for XIC activation which
568 was moved from IMInstantiateCallback.
569 (syms_of_input_method_xlib): New function which includes a symbol
570 Qxim_xlib that uses in emacs.c.
572 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
575 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
577 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
579 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
581 1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch>
583 * redisplay-output.c (compare_runes): Add comments about
584 results from profiling.
586 * redisplay.h (struct rune): Do not use bitfields for members.
587 (struct rune): Add various comments about further optimizations.
589 1999-11-19 Eric Darve <darve@crocco.stanford.edu>
591 * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
592 if Vabbrev_start_location is used too.
594 1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
596 * file-coding.c (detect_eol_type): Return CR when two
597 sequential CR are found.
598 (determine_real_coding_system): Check EOL type when coding:
599 cookie is found and EOL type is not specified.
600 Don't assume 8bit char as part of coding: cookie.
602 1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
604 * file-coding.c (determine_real_coding_system): Check if
605 '-*-' exists. End searching for coding: cookie at the end
606 of line. Check whether character before coding: is space,
609 1999-11-07 William M. Perry <wmperry@aventail.com>
611 * gpmevent.c: Completely rewrote GPM mouse support for linux
612 console. The TTY console and event stream are modified at run
613 time, so this code can now be used as a module.
614 (tty_get_foreign_selection): New function to allow pasting from
615 other virtual consoles.
616 (Fgpm_enable): New lisp-visible function to turn GPM on or off
619 * device-tty.c (tty_asynch_device_change): No longer need to
620 notify GPM code of window/console height/width changes.
622 * console-tty.c (tty_init_console): Removed outdated GPM support
623 that was part of the console/event code.
625 * event-Xt.c (emacs_Xt_select_console): Ditto
627 * event-Xt.c (emacs_Xt_unselect_console): Ditto
629 * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto
631 * frame-tty.c (console_type_create_frame_tty): Ditto
633 1999-11-17 Martin Buchholz <martin@xemacs.org>
639 - Use Unix 98 types uid_t, gid_t, pid_t.
642 1999-11-01 Olivier Galibert <galibert@pobox.com>
644 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
645 * emacs.c (main_1): ...here, to get the correct value even with
648 1999-11-17 Martin Buchholz <martin@xemacs.org>
650 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
652 * tooltalk.c (tt_build_string): Remove extra parens.
653 * process.c (print_process): Remove extra parens.
654 * buffer.h (BI_BUF_PTR_BYTE_POS):
656 (BI_BUF_BYTE_ADDRESS):
657 (BI_BUF_BYTE_ADDRESS_BEFORE):
661 Remove extra parens. Inline functions are not macros.
663 * editfns.c (Fuser_login_name):
665 Use proper type uid_t.
667 1999-11-15 Martin Buchholz <martin@xemacs.org>
669 * syntax.c (complex_vars_of_syntax): Make more readable.
670 (define_standard_syntax): New function.
672 * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean.
674 1999-11-14 Martin Buchholz <martin@xemacs.org>
676 * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings.
678 1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
680 * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2):
681 New enum type to make sure no gap in the leading byte definition.
683 1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
685 * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5,
686 LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C
687 to remove a hole in leading byte definition.
689 1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
691 * mule-charset.c (non_ascii_valid_charptr_p): Check if
692 private charset is defined.
694 1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
696 * mule-ccl.c (ccl_driver): Make sure generated sequences
697 are valid when doing `CCL_WRITE_STRING'.
698 (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver.
700 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
702 * XEmacs 21.2.20 is released
704 1999-11-04 Martin Buchholz <martin@xemacs.org>
706 * mule-ccl.c (ccl_driver): Warning suppression
708 1999-11-01 SL Baur <steve@miho.m17n.org>
710 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
711 building a debugged XEmacs.
713 1999-10-28 Andreas Jaeger <aj@suse.de>
715 * src/emacs.c (main_1): Don't set the malloc hooks if using
718 1999-10-30 Olivier Galibert <galibert@pobox.com>
720 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
724 1999-10-25 Olivier Galibert <galibert@pobox.com>
726 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
728 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
730 1999-10-25 Martin Buchholz <martin@xemacs.org>
732 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
733 (GLOBAL_RESET_CHANGED_FLAGS):
734 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
735 (RESET_CHANGED_SET_FLAGS):
736 Fix C++ compile errors/warnings.
737 These macros were just a tad too clever.
739 * process-unix.c (unix_open_network_stream):
740 * objects-x.c (allocate_nearest_color):
741 * mule-charset.c (vars_of_mule_charset):
742 * fileio.c (Ffile_truename):
743 * file-coding.c (vars_of_file_coding):
744 Fix compile errors/warnings.
746 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
747 (allocate_lisp_storage): Simplify.
749 1999-10-24 Olivier Galibert <galibert@pobox.com>
751 * conslots.h: Add defines with first and last slot names.
752 * bufslots.h: Add defines with first and last slot names.
754 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
755 reinit_complex_vars_of_buffer
756 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
758 (complex_vars_of_buffer): Dump the slots values.
760 * console.c (common_init_complex_vars_of_console): Renamed from
761 reinit_complex_vars_of_console
762 (reinit_complex_vars_of_console): Reset the slots to the dumped
764 (complex_vars_of_console): Dump the slots values.
766 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
767 pdump_rt_list and move them at the beginning of the file.
768 (gc_sweep): Unmark pdumped objects after the sweep phase.
769 (pdump_dump_rtables): Change a bare 256 to
770 last_lrecord_type_index_assigned. Add a separator between the
771 adresses or lrecords and the ones of C structs in the dump file.
772 (pdump_load): Cope with the new separator and the renamings. Stop
773 looking for the hash tables list after it has been found (duh!).
775 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
777 * sound.c: support HAVE_ESD_SOUND
781 * linuxplay.c: Move large part of linuxplay to generalized file
782 miscplay. Make it platform independent.
786 1999-10-24 Adrian Aichner <adrian@xemacs.org>
788 * lisp.h (Dynarr_declare): Fix boo-boo.
790 1999-10-24 Olivier Galibert <galibert@pobox.com>
792 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
795 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
797 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
798 >=0). Handle the cur_elt == 0 case.
800 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
802 * unexelf.c: Merge Martin's c++ fixes back in
804 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
806 * unexelf.c (unexec): Only copy the global offset
807 table from memory on sgi machines.
809 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
811 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
812 adding support for an sbss section. Get IRIX 5.2 to build using
815 * m/iris4d.h: Use unexelf.o for unexec.
817 * m/iris5d.h: Use unexelf.o for unexec.
819 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
821 * unexelf.c: Revert to 21.1 version
823 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
825 * window.c (Fwindow_truncated_p): New function.
827 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
829 * window.c (window_truncation_on): Always return 0 for minibuffer
830 windows, to enable auto scrolling.
832 1999-10-24 Neal Becker <nbecker@fred.net>
833 * process.h: Unix98 PTY support
835 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
837 * fileio.c (Ffile_truename): Do proper mule decoding on
838 the argument to xrealpath()
840 1999-08-19 Stephen Tse <stephent@sfu.ca>
842 * process-unix.c (unix_open_network_stream): Add udp network
843 support; rename variable Qtcpip to Qtcp, parameter family to
844 protocol for consistency with Qudp.
846 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
847 Qtcp, parameter family to protocol for consistency with Qudp.
849 * process.c (global_variables): Add a new variable Qudp for udp
850 network support; rename variable Qtcpip to Qtcp for consistency
852 (Fopen_network_stream_internal): Rename parameter FAMILY to
853 PROTOCOL for consistency; fix a minor typo and add an explanation
854 in docstring for udp programming.
855 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
856 (syms_of_process): Add a new variable Qudp for udp network
857 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
859 * process.h (extern_variables): Add a new variable Qudp for udp
860 network support; rename variable Qtcpip to Qtcp for consistency
863 * procimpl.h: Add a new variable Qudp for udp network support;
864 rename variable Qtcpip to Qtcp for consistency with Qudp.
865 (struct process_methods): Rename parameter family to protocol.
868 1999-10-24 Olivier Galibert <galibert@pobox.com>
870 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
872 1999-10-23 Olivier Galibert <galibert@pobox.com>
874 * lrecord.h (struct lrecord_header): Removed dumped flags.
876 * dynarr.c: Use DUMPEDP instead of dumped flag.
878 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
880 * alloc.c: Removed hash_next linked list pointer.
882 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
885 1999-10-14 Andy Piper <andy@xemacs.org>
887 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
890 * gutter.c (output_gutter): be more accurate about the area to be
891 cleared since X seems to manage to do the clear after drawing the
894 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
895 redisplay flags as a group.
896 (RESET_CHANGED_SET_FLAGS): ditto.
897 (CLASS_RESET_CHANGED_FLAGS): ditto.
898 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
899 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
901 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
902 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
904 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
905 instead of setting flags individually.
906 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
907 (redisplay_device): ditto.
908 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
909 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
910 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
911 (redisplay_without_hooks): ditto.
912 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
914 * redisplay-x.c (x_output_string): unmap subwindows in the area.
915 (x_output_blank): ditto.
917 * redisplay-output.c (redisplay_output_display_block): don't unmap
918 subwindows in case layout optimization can avoid it.
919 (redisplay_output_subwindow): unmap subwindows in the area.
920 (redisplay_output_layout): optimize the output of layouts - only
921 output glyphs that have changed if nothing else of redisplay
922 significance has occurred.
923 (redisplay_output_pixmap): change args to
924 redisplay_clear_clipped_region.
925 (redisplay_clear_clipped_region): allow the clipped region to be
926 cleared of all subwindows except the one passed in.
928 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
930 (mswindows_output_cursor): ditto.
931 (mswindows_output_string): ditto.
933 * gutter.c (calculate_gutter_size): if the window buffer is nil
935 (update_frame_gutters): be more lenient about when we actually
936 update the gutter. Layout optimization makes this
937 non-costly. Cache redisplay flags that we want to temporarily
940 * glyphs.c (Fglyph_animated_timeout_handler): handle image
941 specific timeouts rather than iterating over the instance cache.
942 (glyph_animated_timeout_mapper): deleted.
943 (add_glyph_animated_timeout): use a weak list to hold onto the
944 image so that it can be GC'ed.
945 (disable_glyph_animated_timeout): disable a specific timeout.
946 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
947 controlling whether pixmaps are animated or not.
949 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
950 image timeout gets disabled when the image gets freed.
952 * glyphs-eimage.c (gif_instantiate): remove meaningless
953 comment. Cope with timeouts specified in the gif extension block.
955 * event-msw.c (vars_of_event_mswindows): new variable
956 mswindows-meta-activates-menu.
957 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
960 * glyphs-x.c (x_finalize_image_instance): delete mask first so
961 that we can compare with image.
963 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
965 * event-msw.c (mswindows_key_to_emacs_keysym):
966 Recognise keypad keys as different from normal keys.
968 1999-10-14 Didier Verna <didier@xemacs.org>
970 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
972 1999-10-10 Olivier Galibert <galibert@pobox.com>
974 * symbols.c (init_symbols_once_early): dump Vquit_flag.
976 * symsinit.h: Updated.
978 * ntproc.c (vars_of_ntproc): Use defsymbol.
980 * emacs.c (main_1): Updated reinit calls.
982 * lisp.h: Removed Fpurecopy and pure_put declarations.
983 * fns.c: Removed pure_put.
985 * eval.c (Fdefvar): pure_put -> Fput
987 * frame-x.c (init_x_prop_symbols): Ditto.
988 * symbols.c (deferror): Ditto.
990 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
991 * buffer.c (vars_of_buffer): Ditto.
992 * bytecode.c (Ffetch_bytecode): Ditto.
993 (optimize_compiled_function): Ditto.
994 * emacs.c (vars_of_emacs): Ditto.
995 * emodules.c (vars_of_module): Ditto.
996 * eval.c (define_function): Ditto.
998 * frame.c (vars_of_frame): Ditto.
999 * intl.c (Fset_domain): Ditto.
1000 * lread.c (load_force_doc_string_unwind): Ditto.
1001 * menubar.c (vars_of_menubar): Ditto.
1002 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
1004 * debug.c (reinit_vars_of_debug): Extracted.
1005 * device-x.c (reinit_vars_of_device_x): Ditto.
1006 * emodules.c (reinit_vars_of_module): Ditto.
1007 * font-lock.c (reinit_vars_of_font_lock): Ditto.
1008 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
1009 * glyphs.c (reinit_vars_of_glyphs): Ditto.
1010 * gui-x.c (reinit_vars_of_gui_x): Ditto.
1011 * insdel.c (reinit_vars_of_insdel): Ditto.
1012 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
1013 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
1014 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
1015 * print.c (reinit_vars_of_print): Ditto.
1016 * redisplay.c (reinit_vars_of_redisplay): Ditto.
1017 * select-x.c (reinit_vars_of_xselect): Ditto.
1018 * undo.c (reinit_vars_of_undo): Ditto.
1020 1999-10-10 Olivier Galibert <galibert@pobox.com>
1022 * symsinit.h: Updated declarations, see other ChangeLog entries.
1024 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
1026 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
1028 * glyphs.c: Add the ii_keyword_entry and related descriptions.
1029 Fix the image_instantiator_methods one.
1031 * file-coding.c: Plonk all data that needs to be dumped in a
1032 dynamically allocated structure.
1034 * extents.c (reinit_vars_of_extents): Extracted from
1037 * event-stream.c (vars_of_event_stream): Don't staticpro when
1038 pdump_wire is enough.
1040 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
1041 vars_of_event_mswindows.
1043 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
1046 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
1048 * emacs.c (main_1): Added some reinit calls.
1050 * device-x.c (reinit_console_type_create_device_x): Extracted from
1051 console_type_create_device_x.
1053 * console.h: Declare the console_type_entry_dynarr description.
1055 * console.c: Unstatic the console_type_entry_dynarr description.
1057 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
1059 1999-10-07 Olivier Galibert <galibert@pobox.com>
1061 * symsinit.h: Updated declarations, see other ChangeLog entries.
1063 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
1064 complex_vars_of_minibuf.
1066 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
1067 unimplemented), added XD_LO_LINK.
1069 * lisp.h (pdump_wire_list): Add declaration.
1071 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
1072 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
1073 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
1076 * glyphs.c (reinit_image_instantiator_format_create): Remove.
1078 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
1082 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
1085 (reinit_image_instantiator_format_create_glyphs_mswindows):
1089 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
1091 * frame.c (Fmake_frame): Don't reset the face cache when using the
1094 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
1095 relevant descriptions.
1097 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
1099 * eval.c: The subr is _not_ a lcrecord.
1101 * emacs.c (main_1): Call vars_of_specifier early before any
1102 specifier creation (e.g in vars_of_glyphs, at least). Remove the
1103 useless reinit_image_instantiator_format*. Add
1104 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
1105 calls to lstream_type_create* and process_type_create*.
1107 * elhash.c: Dump Vall_weak_hash_tables correctly.
1109 * data.c: Dump Vall_weak_lists correctly.
1111 * console.c: Fix description.
1113 * console-stream.c (init_console_stream): Do initializations
1114 correctly in the pdump case.
1116 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
1117 (Fcopy_char_table): Link into Vall_syntax_tables.
1119 * alloc.c (pdump_wire_list): Added.
1120 (Fgarbage_collect): Fix loop in stats couting missing the last
1122 (pdump_register_sub): Added XD_LO_LINK.
1123 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
1125 (pdump_reloc_one): Ditto.
1126 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
1128 (pdump_dump_wired): Added lists.
1129 (pdump): Use last_lrecord_type_index_assigned instead of 256.
1130 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
1132 1999-10-07 Andy Piper <andy@xemacs.org>
1134 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
1137 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
1139 1999-10-06 Andy Piper <andy@xemacs.org>
1141 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
1143 1999-10-06 Damon Lipparelli <lipp@primus.com>
1145 * elhash.h: forward declare Lisp_Hash_Table.
1147 1999-10-06 Andy Piper <andy@xemacs.org>
1149 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
1150 after setting an image instance property.
1152 1999-10-05 Andy Piper <andy@xemacs.org>
1154 * gutter.c (update_frame_gutters): output gutters if
1155 windows_changed is set. This is the only way of catching changes
1156 in selected window which obviously can affect the specifiers.
1158 * redisplay.c: new state flags, subwindows_state_changed and
1159 subwindows_state_changed set.
1160 (redisplay_window): use them.
1161 (redisplay_device): ditto.
1162 (redisplay_without_hooks): ditto.
1163 (redisplay_frame): ditto. Reset subwindow cachels if
1164 subwindows_changed is set.
1165 (redisplay_window): call mark_glyph_cachels_as_clean after
1168 * redisplay-x.c (x_output_x_pixmap): select correct
1169 pixmap image for display depending on the currently selected
1172 * redisplay-output.c (compare_runes): check dirtiness when
1173 checking RUNE_DGLYPH runes.
1174 (compare_display_blocks): relax invalidation of display blocks
1175 since we can now detect whether individual glyphs have changed or
1178 * redisplay-msw.c (mswindows_output_dibitmap): select correct
1179 bitmap image for display depending on the currently selected
1182 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
1183 (IMAGE_INSTANCE_DIRTYP): new macro.
1184 (XIMAGE_INSTANCE_DIRTYP): ditto.
1185 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
1186 (GLYPH_DIRTYP): ditto.
1187 (XGLYPH_DIRTYP): ditto.
1188 (MARK_GLYPH_CHANGED): ditto.
1189 (GLYPH_CACHEL_DIRTYP): ditto.
1190 (struct glyph_cachel): add a dirty flag.
1192 * glyphs.c (update_frame_subwindows): Don't update on
1194 (glyph_animated_timeout_mapper): new function. Map over the
1195 instance cache lookinng for animated images to update.
1196 (Fglyph_animated_timeout_handler): new function. Lisp callback for
1197 handling animated image timeout events.
1198 (disable_glyph_animated_timeout): new function. Add the animated
1200 (disable_glyph_animated_timeout): new function. Remove the
1201 animated image timeout.
1202 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
1204 (vars_of_glyphs): initialize Vglyph_animated_ticker.
1205 (image_instance_equal): add the currently displayed slice.
1206 (image_instance_hash): ditto.
1207 (allocate_glyph): initialize dirty flag.
1208 (glyph_width): rename glyph -> glyph_or_image.
1209 (glyph_height_internal): ditto.
1210 (glyph_dirty_p): new function. Determine whether the image
1211 instance in the domain and/or glyph is dirty.
1212 (set_glyph_dirty_p): set the dirtiness.
1213 (update_glyph_cachel_data): take dirtiness into account. Pass the
1214 image instance we are interested in to glyph_width and friends.
1215 (get_glyph_cachel_index): make non-static. Always call
1216 update_glyph_cachel_data.
1217 (mark_glyph_cachels_as_not_updated): meaningless formatting
1219 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
1222 * glyphs-x.h (struct x_image_instance_data): change
1223 pixmap to a list of pixmaps.
1224 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
1225 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
1226 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
1227 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
1229 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
1230 images get deleted properly.
1231 (init_image_instance_from_x_image): add slices paramater and use
1232 it to initialize x_image_instance_data correctly.
1233 (image_instance_add_x_image): new function. Add new pixmaps to our
1234 set of instantiated pixmaps for an image. Used by animated images.
1235 (x_init_image_instance_from_eimage): add a slices
1236 parameter. Instantiate all images from the eimage.
1237 (x_xpm_instantiate): update use of
1238 init_image_instance_from_x_image.
1239 (init_image_instance_from_xbm_inline): ditto.
1240 (x_initialize_pixmap_image_instance): add slices paramater and use
1241 it to allocate x_image_instance_data correctly.
1243 * glyphs-msw.h (struct mswindows_image_instance_data): change
1244 bitmap to a list of bitmaps.
1245 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
1246 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
1247 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
1248 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
1250 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
1251 paramater and use it to initialize mswindows_image_instance_data
1253 (image_instance_add_dibitmap): new function. Add new bitmaps to
1254 our set of instantiated bitmaps for an image. Used by animated
1256 (mswindows_init_image_instance_from_eimage): add a slices
1257 parameter. Instantiate all images from the eimage.
1258 (mswindows_xpm_instantiate): update use of
1259 init_image_instance_from_dibitmap.
1260 (bmp_instantiate): ditto.
1261 (init_image_instance_from_xbm_inline): ditto.
1262 (mswindows_finalize_image_instance): make sure all the bitmap
1264 (mswindows_initialize_dibitmap_image_instance): add slices
1265 paramater and use it to allocate mswindows_image_instance_data
1268 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
1269 init_image_instance_from_eimage.
1270 (png_instantiate): ditto.
1271 (tiff_instantiate): ditto.
1272 (gif_instantiate): allocate bitmaps for all gif slices not just
1275 * device.h (struct device): add subwindows_state_changed flag.
1276 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
1277 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
1279 * console.h (struct console_methods): add a slice parameter to
1280 init_image_instance_from_eimage_method.
1282 * redisplay.c (create_string_text_block): Allow buffer to be nil
1285 1999-09-24 Andy Piper <andy@xemacs.org>
1287 * glyphs-x.c: only include gui-x.h if we are building with
1290 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
1292 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
1294 * objects-x.c (allocate_nearest_color): will return 0 (failure)
1295 when the colormap is full and the color it has computed to be the
1296 'nearest' has been allocated read/write.
1298 1999-10-02 Olivier Galibert <galibert@pobox.com>
1300 * search.c (reinit_vars_of_search): Reinit the search cache
1303 * elhash.h: Make the description visible. Declare
1306 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
1307 to generalize the hash table reorganization.
1308 (reorganize_hash_table): Added.
1309 (enlarge_hash_table): Uses resize_has_table.
1311 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
1314 * alloc.c: Add correct management of blocks of structures.
1315 Reorganize hash tables at reload since the hash values can change
1318 1999-10-01 Olivier Galibert <galibert@pobox.com>
1320 * lisp.h: Add pdump_wire declaration
1322 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
1323 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
1325 * alloc.c (pdump_wire): Added..
1326 (pdump_load): Support it.
1330 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
1333 1999-09-28 Olivier Galibert <galibert@pobox.com>
1335 * symsinit.h: Added lots of prototypes.
1337 * symeval.h: Added defsymbol_nodump declaration.
1339 * symbols.c (find_symbol_value): Lame attempt at making the
1341 (defsymbol_nodump): Added.
1343 * mule-charset.c: Collapsed global lisp objects arrays in one
1346 * lrecord.h: Added some flags.
1348 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
1351 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
1352 staticpro dynamic variables.
1354 * glyphs.c (reinit_specifier_type_create_image): Added.
1355 (image_instantiator_format_create): Dump image instantiator format
1357 (reinit_image_instantiator_format_create): Added.
1359 * emacs.c (main_1): Added reinits calls.
1361 * dynarr.c: Protect dumped dynarrays from going berzek in free or
1364 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
1366 * specifier.c (specifier_type_create): Dump the specifier type
1368 (reinit_specifier_type_create): Added.
1369 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
1371 * console.c (console_type_create): Dump the console type dynarr.
1372 (reinit_vars_of_console): Extracted from vars_of_console.
1373 (reinit_complex_vars_of_console): Extracted from
1374 complex_vars_of_console
1375 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
1376 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
1377 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
1378 * objects.c (reinit_specifier_type_create_objects): Added.
1379 (reinit_vars_of_objects): Extracted from vars_of_objects.
1380 * lstream.c (reinit_vars_of_lstream): Extracted from
1382 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
1383 * gutter.c (reinit_specifier_type_create_gutter): Added.
1384 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
1387 (reinit_image_instantiator_format_create_glyphs_widget): Added
1389 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
1391 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
1392 * event-stream.c (reinit_vars_of_event_stream): Extracted from
1393 vars_of_event_stream
1394 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
1395 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
1396 * console-x.c (reinit_console_type_create_x): Added.
1397 * console-tty.c (reinit_console_type_create_tty): Added
1398 * console-stream.c (reinit_console_type_create_stream): Added.
1399 (init_console_stream): If PDUMP, always reinitialise basic
1401 * console-msw.c (reinit_console_type_create_mswindows): Added.
1402 * buffer.c (reinit_vars_of_buffer): Extracted from
1403 init_vars_of_buffer.
1404 (reinit_complex_vars_of_buffer): Extracted from
1405 complex_vars_of_buffer
1407 * alloc.c: Further with the portable dumping, the revenge.
1408 (dumpstruct): Added.
1409 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
1411 * specifier.c (sizeof_specifier): Correct size computation.
1412 (make_specifier_internal): Ditto.
1414 1999-09-27 Olivier Galibert <galibert@pobox.com>
1416 * alloc.c: Further with the portable dumping.
1418 1999-09-27 Martin Buchholz <martin@xemacs.org>
1420 * glyphs-x.c (update_widget_face): Remove bogus cast
1422 * data.c (sign_extent_lisp):
1423 * data.c (check_int_range):
1426 * data.c (number_char_or_marker_to_int):
1427 * data.c (number_char_or_marker_to_double):
1430 * extents.c (print_extent_1):
1431 * fns.c (print_bit_vector):
1433 * fns.c (Fsafe_length):
1434 * fns.c (copy_list):
1438 * fns.c (Fnbutlast):
1440 * marker.c (print_marker):
1442 * bytecode.c (bytecode_arithcompare):
1443 * bytecode.c (bytecode_arithop):
1445 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
1446 * lisp.h (TRUE_LIST_P):
1447 * lisp.h (CHECK_TRUE_LIST):
1448 * lisp.h (bit_vector_length):
1449 * lisp.h (GCPRO4): Make consistent.
1450 * lisp.h (NGCPRO4): Make consistent.
1451 * lisp.h (NNGCPRO4): Make consistent.
1452 * alloc.c (Fmake_list):
1453 * alloc.c (Fmake_string):
1454 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
1455 This should make all arithmetic 64-bit clean.
1457 Use %ld with (long) casts in print statements of types with sizes
1458 possibly larger than int.
1460 Following functions had mismatched prototypes!!:
1461 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
1462 char_quoted(), make_string_from_buffer(),
1463 make_string_from_buffer_no_extents()
1465 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
1466 Extcount are all now EMACS_INT. I hope to see the day when I can
1467 create a buffer with more than INT_MAX characters, without having
1468 XEmacs slow down to a crawl. I also hope to be able to create a
1469 list with more than INT_MAX cons cells.
1471 * redisplay.c (decode_mode_spec):
1472 The %p and %P specs in the mode line were not correct for buffers
1473 larger than MAX_INT/100! The %p spec was off by .5% even for
1476 1999-09-27 Martin Buchholz <martin@xemacs.org>
1478 * cmdloop.c (num_input_keys):
1479 * print.c (debug_temp):
1480 * emacs.c (Vinfo_directory):
1481 Delete unused variables
1483 * console-x.h (x_interline_space): Mark as unimplemented.
1484 * redisplay-x.c (x_interline_space): Mark as unimplemented.
1486 * event-Xt.c (pending_timeouts):
1487 * linuxplay.c (linuxplay_sndbuf):
1489 * search.c (searchbufs):
1490 * specifier.c (specifier_type_entry_dynarr):
1491 * undo.c (pending_boundary):
1492 * event-stream.c (the_low_level_timeout_blocktype):
1493 * extents.c (gap_array_marker_freelist):
1494 * extents.c (extent_list_marker_freelist):
1495 * print.c (being_printed):
1496 * print.c (alternate_do_pointer):
1497 * alloc.c (first_string_chars_block):
1498 * alloc.c (current_string_chars_block):
1499 * emacs.c (initial_argv):
1500 * emacs.c (initial_argc):
1501 * eval.c (lisp_eval_depth):
1502 * free-hook.c (pointer_table):
1503 * free-hook.c (free_queue):
1504 * free-hook.c (current_free):
1505 * free-hook.c (strict_free_check):
1506 * redisplay.c (formatted_string_emchar_dynarr):
1507 * redisplay.c (formatted_string_display_line):
1508 * redisplay.c (formatted_string_extent_dynarr):
1509 * redisplay.c (formatted_string_extent_start_dynarr):
1510 * redisplay.c (formatted_string_extent_end_dynarr):
1511 * redisplay.c (updating_line_start_cache):
1512 * redisplay.c (last_display_warning_tick):
1513 * redisplay.c (display_warning_tick):
1514 * redisplay.c (internal_cache):
1515 * window.c (Vwindow_configuration_free_list):
1518 * redisplay.c (Vinitial_window_system): Make CONST.
1520 1999-09-24 Martin Buchholz <martin@xemacs.org>
1522 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
1524 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
1526 1999-09-24 Andy Piper <andy@xemacs.org>
1528 * redisplay-output.c (output_display_line): only clear the borders
1529 if we are not displaying the gutter.
1531 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1533 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
1534 then use x_any_widget_or_parent_to_frame().
1535 (x_find_frame_for_window): remove special cases.
1537 1999-09-24 Andy Piper <andy@xemacs.org>
1539 * scrollbar-x.c (x_window_is_scrollbar): deleted.
1540 * scrollbar-x.h: ditto.
1542 1999-09-23 Martin Buchholz <martin@xemacs.org>
1544 * alloc.c (this_marks_a_marked_record): Remove.
1546 * buffer.c (mark_buffer):
1547 * buffer.c (nuke_all_buffer_slots):
1548 * console.c (mark_console):
1549 * console.c (nuke_all_console_slots):
1550 * frame.c (mark_frame):
1551 * frame.c (nuke_all_frame_slots):
1552 Treat MARKED_SLOT() macros consistently.
1554 * device.h (error_check_device_type):
1555 * faces.c (face_getprop):
1556 * fileio.c (DRIVE_LETTER):
1557 * filelock.c (lock_file_1):
1558 * frame-x.c (x_create_widgets):
1559 * frame.h (error_check_frame_type):
1560 * keymap.c (print_keymap):
1561 * keymap.c (Fkey_description):
1562 * keymap.c (where_is_recursive_mapper):
1563 * mule-charset.h (CHARSET_LEADING_BYTE):
1564 * objects-msw.c (mswindows_color_instance_hash):
1565 * objects.c (color_instance_equal):
1566 * objects.h (struct color_specifier):
1567 * objects.h (struct font_specifier):
1568 * objects.h (struct face_boolean_specifier):
1569 * opaque.h (get_opaque_ptr):
1570 * opaque.h (set_opaque_ptr):
1571 * process-unix.c (set_socket_nonblocking_maybe):
1572 * specifier.h (SPECIFIER_TYPE_P):
1573 * symbols.c (store_symval_forwarding):
1574 * syssignal.h (EMACS_KILLPG):
1575 * terminfo.c (emacs_tparam):
1576 * glyphs.c (glyph_putprop):
1577 * glyphs.c (glyph_remprop):
1578 * glyphs.c (Fimage_instance_subwindow_id):
1579 * window.c (mark_window):
1580 * window.c (mark_window_config):
1581 * window.c (Fset_window_configuration):
1582 * window.c (save_window_save):
1583 * eval.c (Fuser_variable_p):
1584 * eval.c (Fcommand_execute):
1586 * eval.c (Ffuncall):
1588 * lisp.h (INT_OR_FLOATP):
1589 * lisp.h (GC_INT_OR_FLOATP):
1590 * lisp.h (XFLOATINT):
1591 * lisp.h (IS_ANY_SEP):
1592 * mule-ccl.c (Fccl_execute):
1593 * mule-ccl.c (Fccl_execute_on_string):
1594 * redisplay-x.c (x_output_string):
1595 Remove redundant extra parentheses.
1597 1999-09-22 Martin Buchholz <martin@xemacs.org>
1599 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
1600 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
1601 * free-hook.c (fun_ptr): ANSIfy
1602 * getloadavg.c: Remove declaration for errno.
1603 * gui.c (allocate_gui_item): ANSIfy
1604 * gui.h (allocate_gui_item): ANSIfy
1605 * mule-ccl.c (resolve_symbol_ccl_program): Make static
1606 * realpath.c: Remove K&R support.
1607 * redisplay-x.c (x_output_display_block): Don't shadow previous local
1608 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
1609 * gutter.c (get_gutter_coords): Make static.
1610 * lread.c (locate_file_map_suffixes): Make static.
1611 * ralloc.c (relinquish): ANSIfy
1614 Move prototypes from redisplay.c to lisp.h
1616 1999-09-22 Martin Buchholz <martin@xemacs.org>
1618 * glyphs-x.c (x_widget_set_property):
1619 - Remove unnecessary initialization.
1620 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1621 * glyphs-x.c (x_widget_instantiate):
1622 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1623 * unexelf.c (unexec):
1624 Add cast for C++ compilability.
1627 * ralloc.c (r_alloc_reinit):
1628 SET_FUN_PTR was broken wrt ANSI aliasing!
1629 To compensate, use __typeof__ when using gcc, else live with
1630 possible (but rare) warnings.
1631 * ralloc.c (init_ralloc):
1633 * ralloc.c: Use the real dlmalloc prototype for __morecore.
1634 * lread.c (locate_file_map_suffixes):
1635 * input-method-xlib.c (XIM_init_frame):
1636 - Xlib functions should use XPointer, not XtPointer.
1637 * input-method-xlib.c (XIM_delete_frame):
1638 - Xlib functions should use XPointer, not XtPointer.
1639 * input-method-xlib.c (IMDestroyCallback):
1641 - XFRAME (obj) can never be NULL, so don't test for it.
1643 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
1644 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
1645 Run c-backslash-region on macro body.
1646 * gutter.c (gutter_was_visible):
1647 Remove redundant parens - this is not a macro.
1648 * gutter.c (redraw_exposed_gutters):
1649 Use GUTTER_POS_LOOP.
1650 * gutter.c (gutter_specs_changed):
1651 Use GUTTER_POS_LOOP.
1652 * gutter.c (gutter_geometry_changed_in_window):
1653 Use GUTTER_POS_LOOP.
1654 * gutter.c (update_frame_gutters):
1655 Use GUTTER_POS_LOOP.
1656 * gutter.c (init_frame_gutters):
1657 Use GUTTER_POS_LOOP.
1658 * file-coding.c (determine_real_coding_system):
1659 Fix C++ compile error.
1660 * emodules.c (find_make_module):
1661 Cast return value from xrealloc
1662 * emacs.c (Fkill_emacs):
1663 Use __typeof__, when available.
1664 * emacs.c (voodoo_free_hook):
1665 Use __typeof__, when available.
1666 (Unfortunately, the type of __free_hook is glibc-version-dependent)
1667 * dired.c (user_cache): Use Bufbyte *, not char *
1668 * dired.c (Fuser_name_all_completions): Ditto.
1670 1999-09-22 Andy Piper <andy@xemacs.org>
1672 * redisplay.c (redisplay_frame): reset the gutter display lines
1673 when we reset the subwindows.
1675 * gutter.c (reset_gutter_display_lines): new function.
1677 * window.c (Flast_nonminibuf_window): new function equivalent to
1678 FRAME_LAST_NONMINIBUF_WINDOW ().
1679 (syms_of_window): declare it.
1681 * redisplay.c (create_string_text_block): don't add bogus eol
1682 markers to gutter display lines.
1684 * glyphs.c (reset_subwindow_cachels): make sure we unmap
1685 subwindows using unmap_subwindow so that expose events get
1686 registered correctly.
1688 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
1689 determine how much to scroll the window.
1690 (vars_of_window): Vwindow_pixel_scroll_increment is a new
1693 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
1695 * glyphs-x.c (update_widget_face): Guard fontList declaration for
1698 1999-09-20 Andy Piper <andy@xemacs.org>
1700 * glyphs-msw.c (mswindows_update_subwindow): update faces.
1702 1999-09-19 Andy Piper <andy@xemacs.org>
1704 * glyphs.c (update_frame_subwindows): update if faces have
1707 * glyphs-x.c (x_widget_instantiate): create the clip widget using
1708 lwlib rather than directly.
1709 (x_finalize_image_instance): delete the clip widget using lwlib.
1710 (x_update_subwindow): update widget faces.
1711 (update_widget_face): new function for updating the face
1712 properties of a widget.
1713 (x_widget_set_property): update widget faces.
1715 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
1716 manage the clip widgets using lwlib so that we can delete them in
1719 1999-09-16 Martin Buchholz <martin@xemacs.org>
1723 Define new, potentially faster INT arithmetic macros
1724 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
1725 * bytecode.c (execute_optimized_function):
1728 * bytecode.c (bytecode_negate):
1729 Optimize for integer case.
1731 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1733 * m/mips.h: Support for mips-linux: Add !linux around places
1734 that are not valid for linux, define TEXT_START, DATA_START,
1737 1999-09-16 Andy Piper <andy@xemacs.org>
1739 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
1740 that don't completely fit on-screen rather than just unmapping
1743 * glyphs.h: change signature of map_subwindow.
1745 * glyphs.c (map_subwindow): add display_glyph_area to the
1746 signature. make sure the mapped area saved in the subwindow_cachel
1748 (Fforce_subwindow_map): make a no-op. I don't think this does
1751 * glyphs-x.h (struct x_subwindow_data): save the Display rather
1752 than the Screen. Add a clipwindow and clipwidget handle.
1753 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
1754 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1755 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1756 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
1758 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
1759 as well as the widget itself.
1760 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
1761 than the widgets and subwindows themselves. move the widget inside
1763 (x_subwindow_instantiate): hold onto the Display rather than the
1764 Screen. allocate a clipwindow to put the subwindow inside.
1765 (x_resize_subwindow): use saved Display directly.
1766 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
1767 to put widgets inside.
1769 * glyphs-widget.c: remove group stuff.
1771 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
1772 hold the clipwindow.
1773 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
1774 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
1776 * glyphs-msw.c: remove group stuff.
1777 (mswindows_finalize_image_instance): destroy clipwindow as well as
1779 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
1781 (mswindows_map_subwindow): ditto. move the widget within the
1783 (mswindows_subwindow_instantiate): allocate and initialize
1784 mswindows_subwindow_data. allocate a clipwindow with the subwindow
1786 (mswindows_widget_instantiate): ditto.
1787 (mswindows_control_wnd_proc): new function that allows us to
1788 propagate events from the widget to the main windows control loop.
1790 * device-msw.c (mswindows_init_device): register new widget clip window
1793 * console.h (struct console_methods): add display_glyph_area to
1796 * console-msw.h: declare new window class and wnd proc for
1799 1999-09-14 Martin Buchholz <martin@xemacs.org>
1803 Move symbols used only by eldap.c into eldap.c as statics.
1805 1999-09-09 Martin Buchholz <martin@xemacs.org>
1807 * window.c (syms_of_window):
1808 * symbols.c (syms_of_symbols):
1809 * redisplay.c (syms_of_redisplay):
1810 * print.c (syms_of_print):
1812 * intl.c (syms_of_intl):
1813 * general.c (syms_of_general):
1814 * frame.c (syms_of_frame):
1815 * fileio.c (syms_of_fileio):
1817 * file-coding.c (syms_of_file_coding):
1818 * extents.c (syms_of_extents):
1819 * event-stream.c (syms_of_event_stream):
1820 * event-stream.c (Fnext_event):
1821 * device.c (syms_of_device):
1822 * data.c (syms_of_data):
1823 * casetab.c (syms_of_casetab):
1824 * casetab.c (check_case_table):
1825 * callint.c (syms_of_callint):
1826 * buffer.c (syms_of_buffer):
1827 Delete unused C symbols:
1828 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
1829 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
1830 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
1831 Qcommand_execute, Qglyph_invisible,
1832 Qbuffer_file_coding_system, Qfile_name_handler_alist,
1833 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
1834 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
1835 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
1836 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
1838 Rename symbols as required by the CHECK_RECORD macro:
1839 - Qcase_table_p to Qcase_tablep
1840 - Qcoding_system_p to Qcoding_systemp
1843 * debug.c (syms_of_debug):
1844 Make debug.c's internal Lisp_Objects static.
1846 * events.c (vars_of_events):
1847 * events.c (syms_of_events):
1848 Use regular old defsymbol instead of KEYSYM + staticpro().
1850 * select-x.c (CHECK_CUTBUFFER):
1851 Rewrite in accordance with coding standards.
1853 * keymap.c (syms_of_keymap):
1854 Use SPC in the same way as RET, TAB, etc.
1856 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
1858 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
1859 offset twice if HAVE_WMCOMMAND is defined.
1861 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
1863 * redisplay-x.c (x_output_vertical_divider): make sure
1864 shadow_thickness is positive.
1866 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
1868 * process-nt.c (nt_create_process): fixup to cope with
1869 Vprocess_environment.
1871 1999-09-02 Andy Piper <andy@xemacs.org>
1873 * redisplay-output.c (redisplay_output_layout): call output
1874 routines with clear_clip false. output layout borders with text
1877 * redisplay-msw.c (mswindows_output_blank): call output routines
1878 with clear_clip true.
1879 (mswindows_output_string): ditto.
1880 (mswindows_output_display_block): ditto.
1882 * redisplay-x.c (x_output_display_block): call output routines
1883 with clear_clip true.
1885 * redisplay.h: fix output routines for clear_clip parameter.
1887 * redisplay-output.c (redisplay_output_layout): cope with glyphs
1890 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
1891 (check_valid_glyph_or_instantiator): renamed from
1892 check_valid_glyph_or_image.
1893 (check_valid_border): allow glyphs or their instantiators.
1894 (check_valid_glyph_or_instantiator_list): renamed from
1895 check_valid_glyph_or_image_list,
1896 (glyph_instantiator_to_glyph): new function. make sure a glyph is
1897 a glyph and not an instantiator.
1898 (substitute_keyword_value): new function. replace a keyword value
1901 1999-09-01 Andy Piper <andy@xemacs.org>
1903 * glyphs.c (string_set_property): new function to set the data of
1905 (image_instantiator_format_create): use it.
1907 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
1909 * fns.c (Fmapc): Rename back to Fmapc_internal.
1911 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
1913 * ntheap.h: CONST (semantically constant) name field of file_data
1916 * unexnt.c (open_output_file): match function definition with
1917 function declaration
1919 * editfns.c: #include "sysfile.h" for getcwd() prototype
1921 * gif_io.c: #include "sysfile.h" for close() prototype
1923 1999-09-02 Martin Buchholz <martin@xemacs.org>
1927 Change the :type keyword to :weakness, for compatibility with the
1928 GNU Emacs 20.5 hash table implementation.
1929 Keep (but don't document) the :type keyword for compatibility.
1930 Obsolete function hash-table-type
1932 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
1934 1999-09-01 Martin Buchholz <martin@xemacs.org>
1936 * floatfns.c (arith_error):
1937 * floatfns.c (range_error):
1938 * floatfns.c (range_error2):
1939 * floatfns.c (domain_error):
1940 * floatfns.c (domain_error2):
1941 * lrecord.h (LRECORDP):
1942 * console-x.h (X_ERROR_OCCURRED):
1943 * console-x.h (HANDLING_X_ERROR):
1944 * chartab.c (CATEGORYP):
1945 * buffer.h (XCHAR_OR_CHAR_INT):
1946 Remove redundant and confusing parentheses.
1948 * redisplay-output.c (redisplay_clear_to_window_end):
1949 Remove redundant initialization.
1954 Move declarations of bevel_modeline() into redisplay.h.
1956 1999-08-30 Olivier Galibert <galibert@pobox.com>
1958 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
1959 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
1960 alignment information for dumped data. Enhance
1961 descriptions. Phase out Vterminal_* variables while
1963 * lrecord.h: Add chained descriptions and automagically-reset
1964 lisp_objects to the description system.
1966 * console-stream.h: Declare the Vterminal_* variables.
1968 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
1969 Vbuffer_local_symbols.
1970 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
1971 Vconsole_local_symbols.
1972 * eval.c: Don't dump Qunbound_suspended_errors_tag.
1973 * lread.c: Don't dump Vread_buffer_stream.
1974 * lstream.c: Don't dump Vlstream_free_list[].
1975 * search.c: Don't dump last_thing_searched.
1976 * window.c: Don't dump minibuf_window and
1977 Vwindow_configuration_free_list[].
1979 * faces.c: Add face description.
1980 * fns.c: Add bit_vector description.
1981 * glyphs.c: Add image specifier description.
1982 * objects.c: Add color, face and face boolean specifiers descriptions.
1983 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
1984 * rangetab.c: Add range table description.
1985 * specifier.c: Add specifier and specifier methods description.
1986 * specifier.h: Add specifier extra description support.
1988 * symbols.c: Fix symbol_value_buffer_local_description.
1990 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
1992 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
1994 * extents.c (extent_remprop): Get extent's plist address
1997 1999-08-31 Andy Piper <andy@xemacs.org>
1999 * xmu.h: define Xmu/Converters.h things.
2001 1999-08-31 Andy Piper <andy@xemacs.org>
2003 * opaque.c (equal_opaque_ptr): define.
2004 (hash_opaque_ptr): define.
2006 * xmu.h: define Xmu/Misc.h things.
2008 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2010 * file-coding.c (determine_real_coding_system): Treat `coding:'
2013 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2015 * file-coding.c (struct decoding_stream): New member `counter'.
2016 (reset_decoding_stream): Initialize `counter'.
2017 (decode_coding_ucs4): Use `counter'.
2018 (decode_coding_utf8): Likewise.
2020 1999-08-31 Andy Piper <andy@xemacs.org>
2022 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
2023 the clip offset doesn't exceed the height we have available to
2026 * window.h (struct window): add top_yoffset and left_xoffset for
2028 (WINDOW_TEXT_TOP_CLIP): new macro.
2030 * window.c (window_scroll): add behaviour for pixel-scrolling of
2033 * redisplay.h (struct display_line): add top_clip.
2034 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
2035 (DISPLAY_LINE_YPOS): ditto.
2037 * redisplay.c (position_redisplay_data_type): add
2038 start_col_xoffset to prepare for pixel-based h-scrolling.
2039 (WINDOW_SCROLLED): new macro.
2040 (next_tab_position): use it.
2041 (add_glyph_rune): use new hscoll vars.
2042 (create_text_block): ditto.
2043 (generate_displayable_area): adjust off-by-one error.
2044 (regenerate_window): take top_clip into account.
2045 (regenerate_window_extents_only_changed): ditto.
2046 (regenerate_window_incrementally): ditto.
2048 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
2049 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
2050 (x_output_string): ditto.
2051 (x_output_blank): ditto.
2052 (x_output_hline): ditto.
2053 (x_output_eol_cursor): ditto.
2055 * redisplay-output.c (output_display_line): allow for
2056 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
2057 DISPLAY_LINE_YEND macros.
2058 (redisplay_output_layout): output strings in layouts correctly.
2059 (redisplay_clear_clipped_region): allow for top_clip.
2060 (redisplay_calculate_display_boxes): ditto.
2062 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
2063 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
2064 (mswindows_output_cursor): ditto.
2065 (mswindows_output_string): ditto.
2066 (mswindows_redraw_exposed_window): ditto.
2067 (mswindows_output_display_block): ditto.
2069 * gutter.c: new specifier type gutter-size.
2070 (gutter_size_validate): validate gutter-size specifier.
2071 (Fgutter_size_specifier_p): predicate for gutter-size.
2072 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
2073 under user contol, like Fredisplay_echo_area.
2074 (syms_of_gutter): add new functions.
2075 (specifier_type_create_gutter): add new specifier.
2076 (specifier_vars_of_gutter): change specifier types of *-height to
2079 * glyphs.c (glyph_width): make work with image instances.
2081 * console.h (struct console_methods): change api of output_string.
2083 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
2084 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2086 1999-08-30 Andy Piper <andy@xemacs.org>
2088 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
2090 (init_image_instance_from_x_image): ditto.
2091 (x_xpm_instantiate): ditto.
2092 (x_colorize_image_instance): ditto. Reported by Richard Cognot
2093 <cognot@ensg.u-nancy.fr>
2095 1999-08-29 Andy Piper <andy@xemacs.org>
2097 * glyphs-x.c (x_widget_instantiate): move font initialisation so
2098 that it doesn't get saved in the user defined args.
2099 (x_tab_control_instantiate): Set the fg color of the tab's
2101 (x_tab_control_set_property): ditto.
2103 1999-08-27 Damon Lipparelli <lipp@primus.com>
2105 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
2106 (XSETTIMEOUT): fixup typo
2108 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
2110 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
2111 Word boundary search looks back instead of forward so that it
2112 doesn't peek over the limit.
2114 1999-08-20 Olivier Galibert <galibert@pobox.com>
2116 * config.h.in: Add PDUMP define.
2117 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
2119 * lrecord.h: Enhance description system.
2120 * alloc.c: Fix vector and string description. Add portable
2121 dumper enumeration fonctions.
2123 * symbols.c: Fix symbols description. Add symbol_value_forward
2125 * eval.c: Add subr description.
2126 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
2128 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
2130 1999-08-20 Olivier Galibert <galibert@pobox.com>
2132 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
2136 * eval.c (eval_in_buffer_trapping_errors):
2137 (run_hook_trapping_errors):
2138 (safe_run_hook_trapping_errors):
2139 (call0_trapping_errors):
2140 (call1_trapping_errors):
2141 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
2142 now takes a non-const void *.
2144 1999-08-20 Olivier Galibert <galibert@pobox.com>
2146 * opaque.c: Remove make_opaque_long.
2148 * opaque.h: Remove everything opaque_long related.
2150 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
2153 * emacs.c (main_1): Remove make_opaque_long from comment.
2155 1999-08-20 Olivier Galibert <galibert@pobox.com>
2157 * event-stream.c (mark_timeout):
2159 (event_stream_generate_wakeup):
2160 (event_stream_resignal_wakeup):
2161 (event_stream_disable_wakeup):
2162 (event_stream_wakeup_pending_p):
2163 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
2165 * events.h (struct Lisp_Timeout): Added.
2167 1999-08-24 Andy Piper <andy@xemacs.org>
2169 * console-x.h: declare new pixmap signatures.
2171 1999-08-23 Andy Piper <andy@xemacs.org>
2173 * glyphs-x.c (x_update_subwindow): make sure the widget size is
2174 maintained after an update.
2176 * event-Xt.c (emacs_Xt_handle_magic_event): use
2177 find_matching_subwindow to check whether the exposure is totally
2178 inside a subwindow, if it is then ignore it.
2180 * glyphs.c (find_matching_subwindow): new function.
2182 * toolbar-x.c (x_draw_blank_toolbar_button): use new
2183 x_output_shadows signature.
2184 (x_output_toolbar_button): use new x_output_x_pixmap signature.
2186 * redisplay.h (struct display_box): new structure.
2187 (struct display_glyph_area): ditto.
2188 declare new display_box functions.
2190 * redisplay-x.c (x_output_pixmap): update for new display
2192 (x_bevel_area): update to allow multiple edge styles and border
2194 (x_output_display_block): update for new display_box stuff and
2196 (x_clear_region): ditto.
2197 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
2198 (console_type_create_redisplay_x): declare new console methods.
2199 (x_output_vertical_divider): update for new bevel_area signature.
2200 (x_output_shadows): update to allow selective drawing of edges.
2202 * redisplay-tty.c (tty_output_display_block): do nothing for
2205 * redisplay-output.c (redisplay_output_subwindow): convert to use
2206 display_box structure, this allows us to put subwindows anywhere
2207 with any offset, useful for layout glyphs.
2208 (redisplay_output_layout): new function. output a layout and its
2210 (redisplay_output_pixmap): new modular function combining generic
2211 parts of the X and mswindows versions. convert to use display_box
2213 (redisplay_clear_clipped_region): new function. clear the area a
2214 glyph is going into.
2215 (redisplay_normalize_glyph_area): new function. calculate the
2216 bounds of a display_glyph_area given a display_box.
2217 (redisplay_normalize_display_box): new function. shrink a
2218 display_box to enclose a display_glyph_area.
2219 (redisplay_display_boxes_in_window_p): check whether the input
2220 display_box and display_glyph_area are actually in a window.
2221 (redisplay_calculate_display_boxes): calculate display boxes based
2222 on conventional display_line metrics.
2223 (bevel_modeline): update for new bevel_area signature.
2225 * redisplay-msw.c (mswindows_output_blank): update for new
2227 (mswindows_output_string): ditto.
2228 (mswindows_output_dibitmap): ditto.
2229 (mswindows_output_dibitmap_region): ditto.
2230 (mswindows_output_pixmap): ditto.
2231 (mswindows_bevel_area): update to allow multiple edge styles and
2233 (mswindows_output_display_block): update for new display_box stuff
2235 (mswindows_clear_region): ditto.
2236 (console_type_create_redisplay_mswindows): declare new console methods.
2238 * lisp.h (edge_style): new enum.
2239 declare display_box and display_glyph_area.
2241 * gutter.c (output_gutter): update for new bevel_area signature.
2243 * glyphs.h (image_instance_type): add layout.
2244 (IMAGE_LAYOUT_MASK): ditto.
2245 (LAYOUT_IMAGE_INSTANCEP): new macro.
2246 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
2247 (struct Lisp_Image_Instance): add offsets for layout and the
2248 layout type itself. move mask here also.
2249 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
2250 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
2251 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
2252 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
2254 * glyphs.c (mark_image_instance): update for layouts.
2255 (print_image_instance): ditto.
2256 (image_instance_equal): ditto.
2257 (image_instance_hash): ditto.
2258 (allocate_image_instance): initialise offsets for layout.
2259 (decode_image_instance_type): update for layouts.
2260 (encode_image_instance_type): ditto.
2261 (Fimage_instance_height): ditto.
2262 (Fimage_instance_width): ditto.
2263 (allocate_glyph): ditto.
2264 (glyph_width): allow image instances as an argument. update for layouts.
2265 (glyph_height_internal): ditto.
2266 (syms_of_glyphs): add layout symbols.
2268 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
2269 (IMAGE_INSTANCE_X_MASK): update.
2271 * glyphs-x.c (x_label_instantiate): new function. instantiate a
2273 (image_instantiator_format_create_glyphs_x): initialise new layout
2276 * glyphs-widget.c: new layout type.
2277 (check_valid_orientation): new keyword checker for layouts.
2278 (check_valid_justification): ditto.
2279 (check_valid_border): ditto.
2280 (check_valid_glyph_or_image_list): ditto.
2281 (layout_possible_dest_types): new function for layout glyph type.
2282 (layout_normalize): ditto.
2283 (layout_instantiate): ditto.
2284 (syms_of_glyphs_widget): new keywords for layout.
2285 (image_instantiator_format_create_glyphs_widget): initialise the
2288 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
2290 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
2292 * glyphs-msw.c: declare layout format.
2293 (image_instantiator_format_create_glyphs_mswindows): initialise it.
2295 * general.c: new symbols for layouts.
2297 * console.h (struct console_methods): new console methods for
2298 outputting pixmaps and strings.
2300 1999-08-23 Didier Verna <verna@inf.enst.fr>
2302 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
2303 and `bell_inhibit_time' to `Vbell_inhibit_time'.
2305 1999-08-18 Andy Piper <andy@xemacs.org>
2307 * redisplay-output.c (redisplay_output_subwindow): disable
2310 1999-08-17 Andy Piper <andy@xemacs.org>
2312 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
2313 area to expose or no gutter to display.
2315 1999-08-16 Charles G Waldman <cgw@fnal.gov>
2317 * sound.c: rename `bell_volume' to `Vbell_volume' and
2318 `bell_inhibit_time' to `Vbell_inhibit_time'.
2320 1999-08-13 Charles G Waldman <cgw@fnal.gov>
2322 * sound.c: (bell-inhibit-time): New variable.
2324 (sound-alist): Fix docstring.
2326 1999-08-17 Andy Piper <andy@xemacs.org>
2328 * gui-x.c (button_item_to_widget_value): xstrdup name so that
2331 1999-08-16 Jeff Miller <jmiller@smart.net>
2333 * syntax.c (scan_words): make compile.
2335 1999-08-16 Andy Piper <andy@xemacs.org>
2337 * redisplay-output.c (redisplay_output_subwindow): try and be more
2338 relaxed about clipping possibilities.
2340 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
2341 rather than just the widget_value.
2342 (x_update_subwindow): ditto.
2343 (x_widget_instantiate): ditto.
2345 * gutter.c (output_gutter): shrink current display lines if
2348 1999-08-15 Andy Piper <andy@xemacs.org>
2350 * redisplay.h: declare free_display_lines.
2352 * redisplay.c (free_display_lines): make non-static.
2354 * gutter.c (free_frame_gutters): use free_display_lines instead of
2356 (calculate_gutter_size): ditto.
2358 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2360 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
2362 1999-08-14 Andy Piper <andy@xemacs.org>
2364 * glyphs.c (update_subwindow_cachel): make it less brittle.
2366 1999-08-04 Mike Woolley <mike@bulsara.com>
2368 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
2369 problem in wheelmouse code occurring when the horizontal scrollbar
2370 is enabled but not visible.
2372 1999-08-08 Andy Piper <andyp@beasys.com>
2374 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
2375 (console_type_create_toolbar_mswindows): use it.
2377 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
2379 * redisplay-output.c (redisplay_output_display_block): unmap
2380 subwindows in the block area before outputting the block.
2382 * event-msw.c (mswindows_wnd_proc): check the update rect before
2383 painting and disable expose registration while painting.
2385 * glyphs.c (register_ignored_expose): check
2386 hold_ignored_expose_registration before registering expose events.
2388 * redisplay.c (redisplay_frame): reset the subwindow cache before
2389 displaying the gutter.
2391 * glyphs-msw.c (mswindows_map_subwindow): move the window before
2394 * gutter.c (update_frame_gutters): check for glyphs_changed as if
2395 it is the subwindow cache will have been reset.
2397 1999-08-06 Andy Piper <andyp@beasys.com>
2399 * gui-x.c (button_item_to_widget_value): cope with strings.
2401 * glyphs.h: declare global widget functions.
2402 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
2404 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
2405 here. remove dead code.
2406 (image_instantiator_format_create_glyphs_x): enable combo boxes
2409 * glyphs-widget.c (widget_instantiate_1): make non-static.
2410 (tree_view_instantiate): renamed from combo_box_instantiate.
2411 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
2413 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
2414 initialization here.
2416 * lwlib-Xm.c (xm_update_combo_box): new function.
2417 (xm_update_one_widget): call it.
2418 (xm_update_one_value): deal with combo boxes as well as lists.
2419 (xm_create_combo_box): create a drop-down combo box.
2421 * toolbar-msw.c (mswindows_output_toolbar): call
2422 mswindows_move_toolbar.
2424 1999-08-05 Andy Piper <andyp@beasys.com>
2426 * window.c (Fcurrent_pixel_column): new function. use display
2427 lines to calculate pixel position of point.
2428 * window.c (syms_of_window): declare it.
2430 1999-08-05 Andy Piper <andy@xemacs.org>
2432 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
2433 contained in our ignore list.
2435 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
2436 (syms_of_buffer): declare record-buffer-hook.
2438 * s/mingw32.h: define mousewheel things.
2440 1999-08-04 Mike Woolley <mike@bulsara.com>
2442 * windowsnt.h (_WIN32_WINNT): enable for win95
2444 * s/cygwin32.h: define mousewheel things.
2446 * scrollbar-msw.h: declare mousewheel handler.
2448 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
2450 1999-08-04 Andy Piper <andy@xemacs.org>
2452 * gui-x.c (gui_items_to_widget_values): remove unused variable.
2453 (gui_items_to_widget_values_1): ditto.
2455 * gui-x.h: unconditionally define since it is used everywhere.
2457 1999-08-04 Andy Piper <andy@xemacs.org>
2459 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
2460 have that type of image.
2462 1999-07-30 Andy Piper <andy@xemacs.org>
2464 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
2465 subwindow to not unmap if required.
2466 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
2467 (redisplay_unmap_subwindows_except_us): new function.
2468 (redisplay_output_subwindow): use it to unmap windows in the area
2469 we are displaying into.
2471 * glyphs.c (update_subwindow_cachel_data): always update as we
2472 only ever get called when an update is required.
2473 (update_subwindow_cachel): new function. sync a subwindow with its
2475 (Fresize_subwindow): use it.
2476 (register_ignored_expose): make sure we set the tail correctly.
2478 1999-07-28 Andy Piper <andy@xemacs.org>
2480 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
2483 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
2486 * gui.h: declare parse_gui_item_tree_list and
2487 parse_gui_item_tree_children.
2489 * gui.c (parse_gui_item_tree_item): new function for parsing item
2490 lists into gui-item trees.
2491 (parse_gui_item_tree_children): ditto.
2492 (parse_gui_item_tree_list): ditto.
2494 * gui-x.h: declare gui_items_to_widget_values.
2496 * gui-x.c (gui_items_to_widget_values_1): new function for
2497 recursively parsing gui-items into widget_values.
2498 (gui_item_children_to_widget_values): ditto.
2499 (gui_items_to_widget_values): ditto.
2500 (sanity_check_lwlib): add widgets macrolets.
2502 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
2503 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
2504 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
2505 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
2506 (struct expose_ignore): new structure for storing ignorable expose
2509 * glyphs.c (valid_image_instantiator_format_p): fix so that using
2510 a console-type as a locale works.
2511 (mark_image_instance): ITEM->ITEMS.
2512 (image_instance_equal): ditto.
2513 (image_instance_hash): ditto.
2514 (struct expose_ignore_blocktype): new blocktype.
2515 (check_for_ignored_expose): new function. checks frame exposure
2516 list for events to ignore.
2517 (register_ignored_expose): new function. registers an expose event
2519 (unmap_subwindow): register the expose event as ignorable.
2520 (vars_of_glyphs): initialise the exposure blocktype.
2522 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
2523 (x_update_subwindow): modify all widgets using widget_value tree
2524 rather than just a single widget value.
2525 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
2526 make sure widgets don't resize themselves.
2527 (x_tab_control_instantiate): new function. use lwlib tab functions.
2528 (x_tab_control_set_property): new function.
2529 (image_instantiator_format_create_glyphs_x): add tab_control.
2531 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
2532 slightly more sensibly.
2533 (initialize_widget_image_instance): ITEM->ITEMS.
2534 (widget_instantiate_1): parse gui items generically into the ITEMS
2537 * glyphs-msw.c (mswindows_update_subwindow): replace
2539 (mswindows_register_widget_instance): ditto.
2540 (add_tree_item): modify to use new pre-initialised gui-item
2542 (add_tab_item): ditto.
2543 (mswindows_tab_control_instantiate): ditto.
2544 (mswindows_tab_control_set_property): ditto.
2545 (image_instantiator_format_create_glyphs_mswindows): predicate
2546 existance of widgets on HAVE_WIDGETS.
2548 * frame.h (struct frame): add subwindow_exposures variables.
2550 * frame.c (allocate_frame_core): reset subwindow_exposures links.
2552 * event-msw.c (mswindows_wnd_proc): check for ignored
2553 expose events before redrawing.
2555 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
2556 expose events before redrawing.
2558 1999-07-30 SL Baur <steve@xemacs.org>
2560 * scrollbar-x.c: should include EmacsFrame.h.
2561 From Jeff Miller <jmiller@smart.net>
2563 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
2565 * XEmacs 21.2.19 is released
2567 1999-07-27 Jeff Miller <jmiller@smart.net>
2569 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
2570 menubar_show_keybindings.
2572 1999-07-23 SL Baur <steve@miho>
2574 * mule-charset.c (syms_of_mule_charset): Delete duplicated
2575 definition of Qccl_program.
2577 * mule-ccl.h: Make a global declaration of it here.
2579 1999-07-20 Bob Weiner <weiner@beopen.com>
2581 * s/sco7.h: Added from rr@sco.com.
2583 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2585 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
2587 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2589 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
2590 (mule_encode): Likewise.
2592 * mule-ccl.c (Qccl_program): New variable.
2593 (CCL_SUSPEND): New macro.
2594 (CCL_INVALID_CMD): New macro.
2595 (CCL_READ_CHAR): Don't regard as invalid command while processing
2596 the last block even if input is empty; use
2597 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
2598 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
2600 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
2601 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
2602 (CCL_STAT_SUSPEND_BY_DST): Likewise.
2603 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
2604 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
2606 1999-05-04 Ken'ichi Handa <handa@gnu.org>
2608 * mule-ccl.h (struct ccl_program): New member stack_idx.
2610 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
2611 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
2613 (setup_ccl_program): Initialize ccl->stack_idx to 0.
2615 1998-10-12 Kenichi Handa <handa@etl.go.jp>
2617 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
2620 1998-08-18 Kenichi Handa <handa@etl.go.jp>
2622 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
2623 processing the last block, don't just finish but processes eol
2624 block of the current CCL program.
2625 (ccl_driver): Add a new jump label ccl_repeat for the above
2628 1998-04-15 Kenichi Handa <handa@etl.go.jp>
2630 * mule-ccl.c: Typo in comments fixed.
2631 (Qccl_program_idx): New variables.
2632 (CCL_ReadMultibyteChar2): Macro name changed from
2633 CCL_ReadMultibyteCharacter.
2634 (CCL_WriteMultibyteChar2): Macro name changed from
2635 CCL_WriteMultibyteChar2.
2636 (ccl_driver): Adjusted for the above changes.
2637 (resolve_symbol_ccl_program): New function.
2638 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
2639 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
2640 numbers by resolve_symbol_ccl_program.
2641 (Fccl_execute_on_string): Likewise.
2642 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
2643 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
2645 1998-01-21 Kenichi Handa <handa@etl.go.jp>
2647 * mule-ccl.h: (struct ccl_program): New member private_state.
2650 (CCL_Call): Fix the comment.
2651 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
2652 macros for CCL Commands.
2654 (ccl_driver): New case lable `CCL_Extention'.
2655 (setup_ccl_program): Initialize the member `private_state' of CCL.
2657 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
2659 * keymap.c (copy_keymap_internal): Inherit the default binding.
2661 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
2663 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
2664 focus the event (XIM_focus_event).
2665 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
2666 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
2667 the interface for future use (XIM_SetGeometry).
2668 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
2669 location (XIM_SetSpotLocation).
2670 (x_output_eol_cursor): Ditto.
2672 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2674 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
2675 Olivier's change to lrecord.h of 1999-04-22
2677 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
2679 * gutter.c (redraw_exposed_gutter): Change type of pos from
2680 enum toolbar_pos -> enum gutter_pos, since former is only defined
2681 if toolbar support is.
2683 1999-07-19 Andy Piper <andy@xemacs.org>
2685 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
2688 * gutter.c (gutter_validate): new function for the gutter specifier.
2689 (specifier_type_create_gutter): declare specifier validator.
2691 * buffer.h (INC_CHARBYTIND): add for no error checking version.
2693 1999-07-18 Andy Piper <andy@xemacs.org>
2695 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2697 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
2699 (mswindows_resize_subwindow): new function.
2701 * gutter.c (redraw_exposed_gutter): only reset the
2702 current_display_lines if non-zero.
2703 (Fgutter_pixel_height): new function.
2704 (Fgutter_pixel_width): new function.
2706 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
2707 we want to retrive from the tab control.
2709 1999-07-17 Andy Piper <andy@xemacs.org>
2711 * window.c (change_window_height): mark gutters changed when we're
2714 * gutter.c (specifier_vars_of_gutter): make defaults more
2717 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
2719 (DEFAULT_GUTTER_WIDTH): change.
2720 (DEFAULT_GUTTER_BORDER_WIDTH): change.
2722 1999-07-18 Andy Piper <andy@xemacs.org>
2724 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2726 1999-07-16 Andy Piper <andy@xemacs.org>
2728 * frame.c (Fmake_frame): call init_frame_gutters().
2730 * redisplay.c (add_emchar_rune): use string functions if we are
2731 working with a string.
2732 (position_redisplay_data_type): add string element.
2734 1999-07-15 Andy Piper <andy@xemacs.org>
2736 * winslots.h: add real_gutter_size slots to hold the actual gutter
2737 size. This is important for autodetected sizes.
2739 * gutter.c (calculate_gutter_size): calculate size for gutters
2740 that have 'autodetect size.
2742 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
2743 extent of divider for gutters.
2745 * redisplay-x.c (x_output_vertical_divider): adjust extent of
2746 divider for gutters.
2748 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
2749 position to take into account the gutters.
2751 * redisplay.c (generate_modeline): adjust modeline position to
2752 take into account the gutters.
2754 1999-07-14 Andy Piper <andy@xemacs.org>
2756 * gutter.c (frame_topmost_window): new function.
2757 (frame_bottommost_window): ditto.
2758 (frame_leftmost_window): ditto.
2759 (frame_rightmost_window): ditto.
2761 1999-07-13 Andy Piper <andy@xemacs.org>
2763 * redisplay.c (calculate_display_line_boundaries): use text
2764 boundaries so that gutters get handled properly.
2766 1999-07-12 Andy Piper <andy@xemacs.org>
2768 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
2771 * redisplay-output.c (redisplay_clear_to_window_end): generalised
2774 * redisplay-x.c (redisplay_clear_to_window_end): moved to
2777 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
2779 * gutter.c: new file - implements gutters. All new functions are
2780 semantically equivalent to the toolbar functions.
2781 (gutter_was_visible): new function.
2782 (get_gutter_coords): ditto.
2783 (output_gutter): ditto.
2784 (clear_gutter): ditto.
2785 (update_frame_gutters): ditto.
2786 (redraw_exposed_gutter): ditto.
2787 (redraw_exposed_gutters): ditto.
2788 (free_frame_gutters): ditto.
2789 (init_frame_gutters): ditto.
2790 (decode_gutter_position): ditto.
2791 (Fset_default_gutter_position): ditto.
2792 (Fset_default_gutter_position): ditto.
2793 (Fdefault_gutter_position): ditto.
2794 (gutter_after_change): ditto.
2795 (Fgutter_specifier_p): ditto.
2796 (recompute_overlaying_specifier): ditto.
2797 (gutter_specs_changed): ditto.
2798 (default_gutter_specs_changed): ditto.
2799 (gutter_geometry_changed_in_window): ditto.
2800 (default_gutter_size_changed_in_window): ditto.
2801 (default_gutter_border_width_changed_in_window): ditto.
2802 (default_gutter_visible_p_changed_in_window): ditto.
2803 (syms_of_gutter): ditto.
2804 (vars_of_gutter): ditto.
2805 (specifier_type_create_gutter): ditto.
2806 (specifier_vars_of_gutter): ditto.
2808 * gutter.h: new file. Contains gutter constants and sizing macros
2809 similar to those for the toolbar.
2811 * winslots.h: add gutter variables.
2813 * window.h: declare window_is_* functions.
2815 * window.c (window_is_lowest): make non-static.
2816 (window_is_highest): ditto.
2817 (window_top_toolbar_height): deleted.
2818 (window_bottom_toolbar_height): deleted.
2819 (window_left_toolbar_width): deleted.
2820 (window_right_toolbar_width): deleted.
2821 (window_top_gutter_height): add gutter sizing.
2822 (window_bottom_gutter_height): ditto.
2823 (window_left_gutter_width): ditto.
2824 (window_right_gutter_width): ditto.
2826 * symsinit.h: declarations for gutters vars etc.
2828 * search.c (bi_find_next_emchar_in_string): new function.
2830 * scrollbar.c (update_scrollbar_instance): remove reference to
2831 window_bottom_toolbar_height which did nothing.
2833 * redisplay.h (struct display_line): add face indices for
2834 overriding defaults in output_display_line.
2835 Add gutter_changed flags and declarations.
2837 * redisplay.c (create_string_text_block): new function, similar to
2838 create_text_block but for strings. Display tables etc are used
2839 from the currently selected window.
2840 (generate_string_display_line): ditto. Similar to
2841 generate_display_line.
2842 (generate_displayable_area): generate display lines for a given
2843 area on a frame. Input is the string, with associated extents, to
2845 (redisplay_frame): add gutter_changed check.
2846 (redisplay_device): ditto.
2847 (redisplay_without_hooks): ditto.
2849 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
2850 (x_redraw_exposed_area): redraw exposed gutters.
2851 (x_bevel_area): new redisplay device method.
2852 (x_type_create_redisplay_mswindows): add bevel_area device method.
2853 (x_output_display_block): fiddly Martin-style cleanup.
2854 (x_output_vertical_divider): use bevel_area.
2856 * redisplay-output.c (output_display_line): check display_lines
2857 for face information before using defaults.
2858 (bevel_modeline): new function, calls bevel_area with appropriate
2861 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
2862 (mswindows_redraw_exposed_area): redraw exposed gutters.
2863 (mswindows_bevel_area): new redisplay device method.
2864 (console_type_create_redisplay_mswindows): add bevel_area device
2867 * indent.c (string_column_at_point): add column_at_point but for
2870 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
2871 instantiate widgets that we have a toolkit for.
2873 * general.c: add Qgutter.
2875 * frame.h (struct frame): add display lines for gutters and
2878 * frame.c (set_frame_selected_window): mark gutters changed.
2880 * emacs.c (main_1): add gutter initialisation.
2882 * device.h (struct device): add gutter_changed flag and macros to
2885 * console.h (struct console_methods): new bevel area redisplay
2888 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
2889 REAL_INC_BYTIND is for buffers.
2890 (INC_CHARPTR): ditto.
2892 * Makefile.in.in (objs): add gutter.o
2894 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
2896 * XEmacs 21.2.18 is released
2898 1999-07-08 SL Baur <steve@mule.m17n.org>
2900 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
2902 (emacs_Xt_handle_magic_event): Ditto.
2903 * redisplay-x.c (x_output_string): Ditto.
2904 (x_output_eol_cursor): Ditto.
2906 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
2908 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
2909 problem that when XIM is destroyed or missed with some reason,
2910 xemacs will die. Now xim=xlib waits the XIM will be ready and
2911 endures the case of XIM end up.
2913 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2915 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
2916 SIGINT and SIGCHLD before calling tt_open and restore the
2917 afterwards. This fixes e.g. the zombie subprocesses on Solaris
2919 1999-07-06 SL Baur <steve@xemacs.org>
2921 * s/linux.h: gcc-2.8 changes for powerpc
2922 From Justin Vallon <vallon@mindspring.com>
2924 1999-07-05 Didier Verna <verna@inf.enst.fr>
2926 * indent.c: new symbol Qcoerce.
2927 (Fmove_to_column): use it + doc string update.
2929 1999-07-04 Andy Piper <andy@xemacs.org>
2931 * console.c: undo earlier Fprovide changes.
2935 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
2936 function. validate appropriate image formats for tty.
2938 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
2939 initialize consoles parameter.
2940 (struct image_instantiator_methods): add consoles parameter.
2941 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
2943 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
2946 * glyphs-msw.c: declare instantiators for later use.
2947 (image_instantiator_format_create_glyphs_mswindows): validate xpm
2948 and friends on the mswindows console.
2949 * glyphs-x.c: ditto.
2951 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
2952 that have not been registered on the supplied device.
2953 (Fvalid_image_instantiator_format_p): add locale argument.
2954 (instantiate_image_instantiator): valid image instantiator on the
2957 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
2960 * emacs.c (main_1): add call to
2961 image_instantiator_format_create_glyphs_tty().
2963 1999-06-29 Olivier Galibert <galibert@pobox.com>
2965 * lisp.h: Add #include <stddef.h>.
2967 * sysdep.c: Remove #include <stddef.h>.
2968 * symbols.c: Remove #include <stddef.h>.
2969 * sheap.c: Remove #include <stddef.h>.
2970 * opaque.c: Remove #include <stddef.h>.
2971 * nt.c: Remove #include <stddef.h>.
2972 * mule-charset.c: Remove #include <stddef.h>.
2973 * marker.c: Remove #include <stddef.h>.
2974 * file-coding.c: Remove #include <stddef.h>.
2975 * extents.c: Remove #include <stddef.h>.
2976 * elhash.c: Remove #include <stddef.h>.
2977 * data.c: Remove #include <stddef.h>.
2978 * chartab.c: Remove #include <stddef.h>.
2979 * bytecode.c: Remove #include <stddef.h>.
2980 * alloc.c: Remove #include <stddef.h>. Fix vector description
2982 1999-06-30 SL Baur <steve@miho.m17n.org>
2984 * editfns.c: Document "%s" format spec.
2985 Suggested by Bob Weiner <weiner@altrasoft.com>
2987 1999-06-29 Andy Piper <andy@xemacs.org>
2989 * event-msw.c: fix definition booboo.
2991 1999-06-28 Andy Piper <andy@xemacs.org>
2993 * glyphs-x.c: change tree -> tree-view, progress ->
2994 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
2996 (complex_vars_of_glyphs_x): provide-on-console the implemented
2999 * glyphs-msw.c: ditto.
3000 (complex_vars_of_glyphs_mswindows): ditto.
3002 * lisp.h: add Fprovide_on_console.
3004 * fns.c (Ffeaturep): add extra optional console argument.
3005 (Fprovide_on_console): like Fprovide but provides only on the
3006 specified console-type.
3007 (Frequire): check console-features as well as global features.
3009 * console.c (Fconsole_features): new function. return features for
3011 (syms_of_console): add Fconsole_features.
3013 * console.h (CONMETH_FEATURES): new function for accessing features.
3014 (CONSOLE_FEATURES): ditto.
3015 (struct console_methods): add features slot.
3016 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
3018 1999-06-28 Andy Piper <andy@xemacs.org>
3020 * event-Xt.c (handle_focus_event_1): conditionally compile for
3023 * s/cygwin32.h: fix me website address.
3025 * event-msw.c: add NMHDR for pre b20 cygwin builds.
3027 * gui-x.c (button_item_to_widget_value): only add callback if it
3030 * glyphs-x.c: add progress, edit and combo instantiators.
3031 (x_widget_set_property): new function. uses lwlib to set widget
3033 (x_widget_property): new function. uses lwlib to get widget
3035 (x_button_instantiate): support images in buttons.
3036 (x_button_property): new function. use lwlib to get the selected
3038 (x_progress_instantiate): new function for instantiating progress
3040 (x_progress_set_property): new function. sets the progress gauge
3042 (x_edit_instantiate): new function. for instantiating edit fields.
3043 (x_combo_instantiate): new function. for instantiating combo
3045 (image_instantiator_format_create_glyphs_x): add new device ii
3048 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
3050 * console.h (CONSOLE_FEATURES): new features accesor.
3052 * conslots.h (MARKED_SLOT): add features entry.
3054 1999-06-25 Andy Piper <andy@xemacs.org>
3056 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
3059 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
3061 * gui.h (struct Lisp_Gui_Item): add accelerator.
3063 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
3064 (gui_item_init): ditto.
3065 (gui_add_item_keywords_to_plist): ditto.
3066 (mark_gui_item): ditto.
3067 (gui_item_hash): ditto.
3068 (gui_item_accelerator): new function.
3069 (gui_name_accelerator): new function stolen from gui-x.c
3071 * gui-x.c (popup_selection_callback): always define. mark
3072 subwindows changed after calling a callback.
3073 (menu_name_to_accelerator): deleted.
3074 (button_item_to_widget_value): forward gui_item things to gui_item
3077 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
3078 appropriate accesors.
3080 * glyphs-x.c: declare new glyph formats.
3081 (x_finalize_image_instance): unmanage and destroy widgets if they
3083 (x_unmap_subwindow): handle widgets specially.
3084 (x_map_subwindow): ditto. offset display of widgets by offset of
3085 text widget within container.
3086 (x_update_subwindow): new function. call lw_modify_all_widgets
3087 when we are a widget.
3088 (x_widget_instantiate): new function for generically creating
3089 widgets-glyphs. toolkit specifics forwarded to lwlib.
3090 (x_button_instantiate): new function for instantiating
3091 widgets-glyph buttons.
3092 (console_type_create_glyphs_x): register update_subwindow.
3093 (image_instantiator_format_create_glyphs_x): register widget and
3096 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
3098 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
3099 when we get a button press in case we do not have the focus.
3100 (handle_focus_event_1): set the keyboard focus to the text widget
3101 if we do not have it.
3103 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
3106 1999-06-24 SL Baur <steve@miho.m17n.org>
3108 * syntax.c (scan_words): Restore non-Mule code.
3109 (word_constituent_p): Restore.
3111 1999-06-23 Olivier Galibert <galibert@pobox.com>
3113 * config.h.in: Add missing #undef *_USER_DEFINED.
3115 1999-06-23 SL Baur <steve@miho.m17n.org>
3117 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
3118 int (fixes a 64-bit problem).
3120 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
3123 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3125 * paths.h.in (PATH_DOC): Made doc-directory configurable.
3127 1999-06-22 Olivier Galibert <galibert@pobox.com>
3129 * lrecord.h: Added basic external description system.
3131 * symbols.c: Added symbol, symbol-value-buffer-local,
3132 symbol-value-lisp-magic and symbol-value-varalias description.
3133 * mule-charset.c: Added charset description.
3134 * marker.c: Added marker description.
3135 * keymap.c: Added keymap description.
3136 * glyphs.c: Added glyph description.
3137 * floatfns.c: Added float description.
3138 * file-coding.c: Added coding-system description.
3139 * extents.c: Added extent description.
3140 * elhash.c: Added hash-table description.
3141 * data.c: Added weak-list desciption.
3142 * chartab.c: Added char-table-entry and char-table description.
3143 * bytecode.c: Added compiled-function description.
3144 * alloc.c: Added cons, vector and string description.
3146 1999-06-22 Olivier Galibert <galibert@pobox.com>
3148 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
3149 Updated everything to the removal of the "flags" substructure.
3151 * lisp.h (subr_lheader_initializer): Updated.
3152 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
3154 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
3156 * syntax.c (word_constituent_p): Deleted.
3157 (scan_words): Use `WORD_BOUNDARY_P'.
3159 * chartab.c (Vword_combining_categories): New variable.
3160 (Vword_separating_categories): Likewise.
3161 (CATEGORYP): New macro.
3162 (CATEGORY_SET): Likewise.
3163 (CATEGORY_MEMBER): Likewise.
3164 (word_boundary_p): New function.
3165 (complex_vars_of_chartab): Set up new variable
3166 `word-combining-categories' and `word-separating-categories'.
3168 1999-06-18 Olivier Galibert <galibert@pobox.com>
3170 * lrecord.h: Added description as a placehold in the lrecord
3171 implementation structures. Added the parameter to all constructor
3174 * alloc.c: Added placeholders.
3176 * bytecode.c: Ditto.
3180 * database.c: Ditto.
3185 * event-stream.c: Ditto.
3189 * file-coding.c: Ditto.
3190 * floatfns.c: Ditto.
3198 * mule-charset.c: Ditto.
3202 * rangetab.c: Ditto.
3203 * specifier.c: Ditto.
3206 * tooltalk.c: Ditto.
3209 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
3211 * XEmacs 21.2.17 is released
3213 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
3215 * config.h.in (HAVE_LDAP_SET_OPTION): New define
3216 (HAVE_LDAP_GET_LDERRNO): Ditto
3217 (HAVE_LDAP_RESULT2ERROR): Ditto
3218 (HAVE_LDAP_PARSE_RESULT): Ditto
3219 (HAVE_UMICH_LDAP): Removed
3220 (HAVE_NS_LDAP): Removed
3222 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
3223 suggested by Olivier Galibert
3224 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
3226 * eldap.c: Take the removal of `livep' into account in all the
3228 (signal_ldap_error): Take two additional parameters
3229 Added new finer compilation conditions in order to use
3230 ldap_parse_result or ldap_result2error if available
3231 (Fldap_open): Conform to this new API
3232 (Fldap_search_internal): Ditto
3234 1999-06-17 SL Baur <steve@miho.m17n.org>
3236 * data.c (struct int_or_double): Should use EMACS_INT not int.
3238 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
3240 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
3243 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3245 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
3246 `CCL_MODE_ENCODING'.
3248 * file-coding.c (mule_decode): Run `ccl_driver' with
3249 `CCL_MODE_DECODING'.
3250 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
3252 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
3253 (ccl_driver): Add new argument `conversion_mode'.
3254 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
3255 (Fccl_execute_on_string): Likewise [perhaps it is better to add
3256 new optional argument].
3258 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
3259 (CCL_MODE_DECODING): New macro.
3260 (ccl_driver): Add new argument `conversion_mode'.
3262 1999-06-15 SL Baur <steve@miho.m17n.org>
3264 * mule-charset.c (Fsplit_char): New subr.
3265 (Fchar_octet): delete.
3266 (syms_of_mule_charset): DEFSUBR it.
3268 1999-06-13 Andy Piper <andy@xemacs.org>
3270 * menubar.h: update declarations involving gui_items.
3272 * lisp.h: declare Lisp_Gui_Item.
3274 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
3276 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
3277 (print_image_instance): ditto.
3278 (image_instance_equal): ditto.
3279 (image_instance_hash): ditto.
3281 * event-msw.c (mswindows_need_event): assert badly_p status.
3282 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
3283 callbacks in tree-view and tab-control widgets.
3284 (emacs_mswindows_next_event): modify use of
3285 mswindows_dequeue_dispatch_event.
3287 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
3288 lisp-based gui_items.
3290 * glyphs-msw.c (mswindows_update_subwindow): update use of
3292 (mswindows_register_gui_item): new function.
3293 (mswindows_register_gui_item): fix to use lisp gui_items.
3294 (mswindows_widget_instantiate): ditto.
3295 (mswindows_button_instantiate): ditto.
3296 (add_tree_item): new function to recursively add tree view
3298 (add_tree_item_list): ditto.
3299 (mswindows_tree_instantiate): new function. instantiate tree view
3301 (add_tab_item): new function to add tabs to a tab control.
3302 (mswindows_tab_instantiate): new function. instantiate tab
3304 (image_instantiator_format_create_glyphs_mswindows): add tree view
3306 (vars_of_glyphs_mswindows): ditto.
3308 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
3310 (check_valid_item_list): ditto.
3311 (initialize_widget_image_instance): fix to use new lisp gui_item.
3312 (widget_instantiate_1): allow the setting of default textwidth in
3314 (widget_instantiate): change to use new widget_instantiate_1
3316 (combo_instantiate): ditto.
3317 (static_instantiate): ditto.
3318 (tab_instantiate): new function for tab widgets.
3319 (image_instantiator_format_create_glyphs_widget): add tab and tree
3322 * menubar-msw.c (displayable_menu_item): convert to use lisp
3324 (populate_menu_add_item): ditto.
3325 (populate_or_checksum_helper): ditto.
3327 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
3329 (Fmenu_find_real_submenu): ditto.
3331 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
3333 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
3334 objects, convert functions that use them accordingly.
3335 (gui_item_init): ditto.
3336 (gui_item_active_p): ditto.
3337 (gui_item_selected_p): ditto.
3338 (gui_item_included_p): ditto.
3339 (gui_item_display_flush_left): ditto.
3340 (gui_item_display_flush_right): ditto.
3341 (mark_gui_item): ditto.
3342 (allocate_gui_item): new function to create a gui_item.
3343 (make_gui_item_from_keywords_internal): ditto. create and return a
3344 gui_item as well as setting keywords.
3345 (gui_parse_item_keywords): ditto.
3346 (gui_parse_item_keywords_no_errors): ditto.
3347 (gui_add_item_keywords_to_plist): new function, not yet used.
3348 (gui_item_hash): new function.
3349 (gui_item_id_hash): use gui_item_hash.
3350 (gui_item_equal): new function.
3351 (print_gui_item): new function.
3353 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
3355 * XEmacs 21.2.16 is released
3357 1999-06-10 Andy Piper <andy@xemacs.org>
3359 * select-msw.c (mswindows_own_selection): only set the clipboard
3361 (mswindows_get_foreign_selection): only get the clipboard if
3363 (mswindows_disown_selection): only disown the clipboard if asked.
3365 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
3367 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
3369 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
3370 of coding-category `no-conversion'.
3372 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
3374 * file-coding.c (Qraw_text): New variable.
3375 (syms_of_mule_coding): Add new symbol `raw-text'.
3376 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
3377 define coding-system `binary' independently; define coding-system
3378 `no-conversion' as an alias for `raw-text'.
3380 * file-coding.h (Qraw_text): New variable.
3382 1999-06-08 SL Baur <steve@xemacs.org>
3384 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
3386 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
3388 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
3390 (base64_decode_1): Signal errors instead of returning -1.
3392 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
3394 * mule-charset.c (Fmake_char): Update docstring.
3396 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
3398 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
3400 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
3402 * fns.c (base64_decode_1): Allow and ignore any non-base64
3403 characters in input.
3405 1999-05-27 Olivier Galibert <galibert@pobox.com>
3407 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
3408 of report_pure_usage().
3410 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
3412 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
3414 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
3416 * XEmacs 21.2.15 is released
3418 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
3420 * frame.c (Fset_mouse_position):
3421 (Fset_mouse_pixel_position):
3422 * window.c (Fsplit_window):
3423 (Fmove_to_window_line):
3424 Fix crash when invoking functions with an already-deleted window
3427 * indent.c (vertical_motion_1):
3429 (Fvertical_motion_pixels):
3430 * window.c (Fwindow_displayed_text_pixel_height):
3431 Fix error message when invoking functions with an already-deleted
3434 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
3436 * sysdep.c (request_sigio_on_device): Guard against glibc
3437 2.1's stub streams implementation.
3439 1999-06-03 SL Baur <steve@xemacs.org>
3442 * emacs.c: Implement x.y.z version numbers
3443 From Jan Vroonhof <vroonhof@math.ethz.ch>
3445 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
3447 * mule-charset.c (complex_vars_of_mule_charset): Registry of
3448 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
3451 1999-06-03 SL Baur <steve@xemacs.org>
3454 * device-x.c: rename session option to wmcommand.
3455 From Oliver Graf <ograf@rhein-zeitung.de>
3457 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3459 * fns.c (Fsubstring): Don't traverse the same region twice with
3460 charcount_to_bytecount().
3462 1999-06-03 SL Baur <steve@steve1.m17n.org>
3464 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
3467 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
3468 doesn't really work as is implied by the commentary).
3469 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
3471 1999-06-02 SL Baur <steve@steve1.m17n.org>
3473 * symsinit.h: Declare vars_of_ntproc.
3474 * emacs.c (main_1): Call it.
3476 * ntproc.c (syms_of_ntproc): Move variable initializations from
3478 (vars_of_ntproc): ... to here [new function].
3480 * file-coding.c (syms_of_file_coding): Rename.
3481 (vars_of_file_coding): Ditto.
3482 (complex_vars_of_file_coding): Ditto.
3484 * symsinit.h: Rename *_mule_coding to *_file_coding.
3486 * emacs.c (main_1): Call them by the proper name.
3488 * device-msw.c (syms_of_device_mswindows): Move variable
3489 initializations from here ...
3490 (vars_of_device_mswindows): ... to here.
3492 * chartab.c (vars_of_chartab): New function.
3494 * symsinit.h: New function, vars_of_chartab.
3496 * emacs.c (main_1): Call it.
3498 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
3499 (vars_of_mule_canna): ... to here.
3501 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
3502 initializations out of syms_of_mule_ccl.
3504 * symsinit.h: Declare new function vars_of_mule_ccl.
3506 * emacs.c (main_1): Call it.
3508 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3510 * fns.c (base64_decode_1): Ignore whitespace.
3512 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3514 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
3517 1999-05-21 Andy Piper <andy@xemacs.org>
3519 * xselect.c: deleted.
3521 * symsinit.h: declare select initialisation.
3523 * select.h: new file. declare commonly used select functions and
3526 * select.c: new file. generalised from xselect.c.
3527 (clean_local_selection_data): moved from xselect.c.
3528 (get_local_selection): ditto. device specific pieces called via a
3530 (handle_selection_clear): ditto.
3531 (Fown_selection_internal): renamed and generalised from
3532 Fx_own_selection_internal. moved from xselect.c.
3533 (Fdisown_selection_internal): ditto.
3534 (Fselection_owner_p): ditto.
3535 (Fselection_exists_p): ditto.
3536 (Fget_selection_internal): ditto.
3537 (syms_of_select): new function. QXXXX values moved from xselect.c
3538 (vars_of_select): new function. selection_converter_alist,
3539 lost_selection_hooks moved and renamed from xselect.c
3541 * select-x.c: renamed from xselect.c.
3542 (x_own_selection): converted to device specific. non-X-specific
3543 bits moved to select.c.
3544 (x_get_foreign_selection): ditto.
3545 (x_disown_selection): ditto.
3546 (x_selection_exists_p): ditto.
3547 (console_type_create_select_x): new function.
3549 * select-msw.c (mswindows_own_selection): new device method to set
3550 the clipboard when we 'own' the selection.
3551 (mswindows_get_foreign_selection): new device method to get the
3553 (mswindows_disown_selection): new device method to delete the
3554 selection when we 'disown' it.
3555 (console_type_create_select_mswindows): new function.
3557 * emacs.c (main_1): add select to things to initialise.
3559 * console.h (struct console_methods): new console methods for
3562 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
3564 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
3566 * print.c (long_to_string): Install a faster version.
3568 1999-05-16 Andy Piper <andy@xemacs.org>
3570 * ntproc.c (syms_of_ntproc): default
3571 win32-start-process-share-console to t.
3573 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
3575 * config.h.in: Do it here.
3577 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
3579 1999-05-14 Andy Piper <andy@xemacs.org>
3581 * toolbar-msw.c (mswindows_output_toolbar): hash on something
3584 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
3586 * XEmacs 21.2.14 is released
3588 1999-05-12 Andy Piper <andy@xemacs.org>
3590 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
3592 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
3594 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
3595 run_temacs_argv array -- fixes random memory corruption crash
3597 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
3599 * window.c (Fcurrent_window_configuration):
3600 Save minibuffer height;
3602 * window.c (set_window_configuration): use it.
3604 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
3606 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
3608 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
3610 * redisplay.c (redisplay_window): Do not put data
3611 in the line start cache if it is not guaranteed to be correct
3613 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
3615 * window.c (struct window_config): Removed frame
3617 (window_config_equal): No longer compare frame sizes.
3618 (Fset_window_configuration): Resize old top window to fit in the
3619 current frame directly, no longer use a fake frame resize.
3620 (Fcurrent_window_configuration): No longer save frame size
3622 1999-05-11 Andy Piper <andy@xemacs.org>
3624 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
3627 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
3629 * sysdep.c (init_system_name): If gethostname gives a proper
3630 domain name, don't look further for one.
3632 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
3634 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
3635 (Fintern_soft): Accept a symbol argument.
3637 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3639 * symbols.c (Fintern): ...do it here.
3641 * lread.c (read_atom): Don't handle keywords here.
3643 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3645 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
3647 1999-05-03 Olivier Galibert <galibert@pobox.com>
3649 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
3650 is interned in the main obarray.
3652 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
3654 * menubar-x.c (pre_activate_callback): set accelerator field in
3655 "No menu" entries to nil. Avoid crash in
3656 command_builder_operate_menu_accelerator
3658 1999-05-03 Olivier Galibert <galibert@pobox.com>
3660 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
3662 * lisp.h (DEFUN): Fix lrecord header initialisation.
3664 1999-05-02 Andy Piper <andy@xemacs.org>
3666 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
3668 * ntproc.c (sys_kill): cast using MS mandated defines.
3670 1999-04-29 Andy Piper <andy@xemacs.org>
3672 * m/intel386.h: remove redundant definitions.
3674 * s/mingw32.h: new header for mingw32.
3676 * unexnt.c: (open_input_file): function moved to nt.c.
3677 (close_file_data): ditto.
3678 (rva_to_section): function moved to ntproc.
3680 * symsinit.h: declare syms_of_ntproc();
3682 * objects-msw.c (mswindows_font_instance_truename): new function.
3684 * ntproc.c: remove many warnings.
3685 (_sys_read_ahead): moved from nt.c and made static.
3686 (rva_to_section): moved from unexnt.c but not defined under
3688 (win32_executable_type): implement what we can for mingw32
3690 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
3692 * ntheap.h: remove declarations of functions that are now static.
3694 * ntheap.c: support static heap.
3696 * nt.h: conditionalise X_OK definition.
3698 * nt.c: eliminate many warnings and support mingw32.
3699 (open_input_file): function moved from unexnt.c and made static
3700 (close_file_data): ditto.
3701 (_sys_read_ahead): moved to ntproc.c
3703 * emacs.c: make sure syms_of_ntptroc gets called under windows.
3705 * console-msw.h: support mingw32.
3706 * getloadavg.c: ditto.
3713 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
3714 some systems don't have all of the encapsulated system calls.
3716 * callproc.c: warning elimination.
3717 * dired-msw.c: ditto.
3718 * process-nt.c: ditto.
3719 * realpath.c: ditto.
3721 * Makefile.in.in: tweak : and ; for building under mswindows.
3723 1999-04-26 Michael Harnois <mharnois@willinet.net>
3725 * eldap.c (allocate_ldap): Adapt to the new semantics of
3726 alloc_lcrecord_type().
3728 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3730 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
3732 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3734 * Delete mule-coding.c and mule-coding.h because they are not
3737 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
3739 * objects.c (print_font_instance): Check for NILP(f->device),
3740 i.e. Vthe_null_font_instance.
3741 (font_instance_truename_internal): ditto.
3742 (Ffont_instance_properties): ditto.
3744 1999-04-22 Olivier Galibert <galibert@pobox.com>
3746 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
3749 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3751 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
3752 it easier to add new ones.
3754 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3756 * symbols.c (reject_constant_symbols): Ditto.
3757 (init_symbols_once_early): Ditto.
3759 * print.c (print_symbol): Don't use ->obarray.
3761 * symbols.c (Funintern): Ditto.
3763 * alloc.c (Fmake_symbol): Don't set ->obarray.
3765 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
3767 * symbols.c (init_symbols_once_early): Removed
3768 Vpure_uninterned_symbol_table.
3769 (Fintern): Don't store to ->obarray field.
3771 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3773 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
3774 (eq_with_ebola_notice): Remove abracadabra support.
3776 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3778 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
3779 retrieve the distinguished names of entries
3781 1999-03-08 Martin Buchholz <martin@xemacs.org>
3783 * lread.c (read_escape): Make hex escapes read only two hex digits.
3785 1999-04-05 Olivier Galibert <galibert@pobox.com>
3787 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
3788 * make-src-depend: Remove puresize-adjust.h.
3789 * src-headers: Remove puresize-adjust.h.
3790 * config.h.in: Kill everything purespace/gung-ho related.
3792 * dbxrc: Make gung-ho mandatory.
3795 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
3796 c_readonly and lisp_readonly. Remove implementation arrays.
3797 (C_READONLY_RECORD_HEADER_P): Added.
3798 (LISP_READONLY_RECORD_HEADER_P): Added.
3799 (SET_C_READONLY_RECORD_HEADER): Added.
3800 (SET_LISP_READONLY_RECORD_HEADER): Added.
3802 * lisp.h: Kill everything purespace/non gung-ho related.
3803 (CHECK_C_WRITEABLE): Added.
3804 (CHECK_LISP_WRITEABLE): Added.
3805 (C_READONLY): Added.
3806 (LISP_READONLY): Added.
3808 * lisp-union.h: Make gung-ho mandatory.
3809 * lisp-disunion.h: Ditto.
3811 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
3812 set_lheader_implementation calls.
3813 (c_readonly): Added.
3814 (lisp_readonly): Added.
3815 (make_string_nocopy): Added.
3816 (Fpurecopy): Changed to do nothing. Kept the old documentation
3817 for reference purposes for the next patches.
3818 (sweep_lcrecords_1): Don't free C readonly lcrecords.
3819 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
3820 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
3822 * fns.c: Make gung-ho mandatory.
3823 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
3825 (Ffillarray): Ditto.
3827 * data.c: Make gung-ho mandatory.
3828 (pure_write_error): Removed.
3829 (c_write_error): Added.
3830 (lisp_write_error): Added.
3831 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
3835 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
3836 make_string or make_string_nocopy. Fix various
3837 alloc_lcrecord_type.
3839 * lread.c: Remove everything purespace related.
3840 (Flocate_file_clear_hashing): purified -> c_readonly.
3841 (locate_file): Ditto.
3842 (read_atom): make_pure_pname -> make_string.
3844 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
3846 (Fdump_emacs): Ditto.
3848 * print.c (print_internal): Make gung-ho mandatory.
3849 * ntheap.c (sbrk): Ditto.
3850 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
3851 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
3853 * sheap.c (more_static_core): Remove puresize-adjust.h from
3856 * syntax.c (complex_vars_of_syntax): make_pure_string ->
3858 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
3859 (vars_of_keymap): make_pure_string -> make_string_nocopy.
3860 * events.c (deinitialize_event): Fix set_lheader_implementation.
3861 (zero_event): Ditto.
3862 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
3863 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
3864 * mule-charset.c (make_charset): Ditto.
3865 * console.c (allocate_console): Ditto.
3866 (complex_vars_of_console): Ditto.
3867 * file-coding.c (allocate_coding_system): Ditto.
3868 * device.c (allocate_device): Ditto
3869 * gui-x.c (gcpro_popup_callbacks): Ditto.
3870 * extents.c (allocate_extent_auxiliary): Ditto.
3871 (allocate_extent_info): Ditto.
3872 (copy_extent): Ditto.
3873 * glyphs.c (allocate_image_instance): Ditto.
3874 (allocate_glyph): Ditto.
3875 * frame.c (allocate_frame_core): Ditto.
3876 * database.c (allocate_database): Ditto.
3877 * tooltalk.c (make_tooltalk_message): Ditto.
3878 (make_tooltalk_pattern): Ditto.
3879 * rangetab.c (Fmake_range_table): Ditto.
3880 (Fcopy_range_table): Ditto.
3881 * process.c (make_process_internal): Ditto.
3882 * chartab.c (Fmake_char_table): Ditto.
3883 (make_char_table_entry): Ditto.
3884 (copy_char_table_entry): Ditto.
3885 (Fcopy_char_table): Ditto.
3886 * elhash.c (make_general_lisp_hash_table): Ditto.
3887 (Fcopy_hash_table): Ditto.
3888 * buffer.c (allocate_buffer): Ditto.
3889 (complex_vars_of_buffer): Ditto.
3890 * event-stream.c (allocate_command_builder): Ditto.
3891 * objects.c (Fmake_color_instance): Ditto.
3892 (Fmake_font_instance): Ditto.
3893 (vars_of_objects): Ditto.
3894 * toolbar.c (update_toolbar_button): Ditto.
3895 * window.c (allocate_window): Ditto.
3896 (make_dummy_parent): Ditto.
3897 (Fcurrent_window_configuration): Fix alloc_lcrecord.
3898 (vars_of_window): Fix make_lcrecord_list.
3899 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
3901 * lstream.c (Lstream_new): Fix make_lcrecord_list.
3902 * opaque.c (make_opaque): Fix alloc_lrecord.
3903 (make_opaque_list): Fix alloc_lrecord_type.
3905 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
3907 * process.c (Fstart_process_internal): Ditto.
3909 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
3912 * glyphs-x.c (x_locate_pixmap_file): Ditto.
3914 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
3917 * emodules.c (vars_of_module): New variable Vmodule_extensions.
3918 (emodules_load): Use it when calling locate_file().
3920 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
3923 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
3924 (vars_of_callproc): Initialize it.
3925 (Fcall_process_internal): Use it when calling locate_file().
3927 * alloc.c (disksave_object_finalization): Use
3928 Flocate_file_clear_hashing().
3930 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
3931 given `t' as argument.
3933 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
3935 * lread.c (locate_file): Expand `pathel' when appropriate.
3936 (Flocate_file_clear_hashing): Expand path elements.
3937 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
3939 * dired.c (make_directory_hash_table): Create the hash-table only
3940 if the directory open is successful.
3942 * lread.c (decode_mode_1): New function.
3943 (decode_mode): Ditto.
3944 (Flocate_file): Use them.
3945 (Flocate_file): Expand FILENAME.
3946 (locate_file_map_suffixes): New function.
3947 (locate_file_in_directory_mapper): New function.
3948 (locate_file_in_directory): Use locate_file_in_directory_mapper()
3949 and locate_file_map_suffixes().
3950 (locate_file_construct_suffixed_files): Use
3951 locate_file_map_suffixes().
3952 (locate_file_without_hash): Don't GCPRO path.
3953 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
3954 (syms_of_lread): Remove Qlocate_file_hash_table.
3955 (locate_file_find_directory_hash_table): Use
3956 Vlocate_file_hash_table.
3957 (locate_file_refresh_hashing): Ditto.
3959 * lread.c: Renamed read_objects to Vread_objects.
3961 1999-04-16 Olivier Galibert <galibert@pobox.com>
3963 * mule-charset.c: Generally resync with fsf 20.3 charset
3965 (make_charset): Add long and short name. Use id instead of
3967 (Fmake_charset): Ditto.
3968 (Fmake_reverse_direction_charset): Ditto.
3969 (Fcharset_property): Ditto.
3970 (Fcharset_short_name): Added.
3971 (Fcharset_long_name): Added.
3972 (Fcharset_description): Renamed from charset-doc-string.
3973 (syms_of_mule_charset): Synced symbols.
3974 (complex_vars_of_mule_charset): Synced charsets.
3976 * mule-charset.h: Removed leading byte (uses id instead), added
3977 short and long name.
3979 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
3981 * file-coding.c (Fdefine_coding_system_alias): New function.
3983 1999-04-08 Olivier Galibert <galibert@pobox.com>
3985 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
3986 and -ascii fonts for displaying ascii instead of iso8859-1 only.
3988 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
3990 * extents.c (set_extent_glyph_1): Make sure that the glyph we
3991 attach to the extent is valid.
3993 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
3995 * dired.c (user_name_completion): Mule-ize.
3996 (user_name_completion): Use xmalloc/xrealloc/xfree.
3997 (user_name_completion): Use DO_REALLOC.
3998 (user_name_completion): Cut down the number of static variables;
4000 (user_name_completion): Username completion is always
4003 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
4005 * fns.c (base64_decode_1): Remove COUNTER.
4006 (base64_decode_1): Accept CRLF in addition to CR.
4007 (base64_decode_1): Disallow a stray character after final EOF; the
4008 check was probably a remnant of buggy recode code.
4010 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
4012 * fns.c (init_provide_once): Provide `base64'.
4014 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
4016 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
4017 (Fbase64_encode_region): If buffer is read-only, bail out early.
4018 (Fbase64_decode_region): Ditto.
4019 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
4021 (Fbase64_encode_string): Ditto.
4022 (Fbase64_decode_region): Ditto.
4023 (Fbase64_decode_string): Ditto.
4025 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4027 * dired.c (Fdirectory_files): Remove redundant code.
4029 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4031 * frame-msw.c Make raise-frame restore minimised windows.
4033 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4035 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
4038 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4040 * toolbar-msw.c Consider captions when deciding whether to rebuild
4041 toolbar. This fixes the initial toolbar display for those of us
4042 who don't like captions. These patches applied by Andy Piper.
4044 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
4046 * XEmacs 21.2.13 is released
4048 1999-03-12 SL Baur <steve@xemacs.org>
4050 * file-coding.c: Guard ucs table initialization with ifdef MULE.
4052 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
4054 * file-coding.c: docstring and comment improvements.
4055 (decode_ucs4) flag possible data loss with comment.
4057 1999-03-10 Martin Buchholz <martin@xemacs.org>
4059 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
4063 (decode_coding_ucs4):
4064 (encode_coding_ucs4):
4065 (detect_coding_utf8):
4066 (decode_coding_utf8):
4068 (encode_coding_utf8):
4069 Add CHECK_* macros where needed to avoid crashes.
4070 #ifdef out all composite character support using
4071 #ifdef ENABLE_COMPOSITE_CHARS
4072 Use normal XEmacs coding standards.
4074 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
4076 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4078 * file-coding.c (make-coding-system): Add description about
4079 `ucs-4' and `utf-8'.
4080 (detection_state): Modify to implement ucs-4 and utf-8.
4081 (detect_coding_type): Likewise.
4082 (detect_coding_ucs4): New implementation.
4083 (detect_coding_utf8): New implementation.
4084 (encode_utf8): fixed.
4085 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
4088 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4090 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
4091 2022 registry to private area.
4093 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4095 * file-coding.c (encode_utf8): New function.
4096 (encode_coding_utf8): New implementation.
4098 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4100 * file-coding.c (ucs_to_mule_table): New variable; abolish
4101 `Vucs_to_mule_table'
4102 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
4103 (set-ucs-char): New function.
4104 (ucs_to_char): New function.
4105 (ucs-char): New function.
4106 (set-char-ucs): New function.
4107 (char-ucs): New function.
4108 (decode_ucs4): Use `ucs_to_char'.
4109 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
4110 `mule-to-ucs-table'.
4112 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4114 * chartab.h: EXFUN `Fget_char_table'.
4116 * file-coding.c (encode_ucs4): New function.
4117 (encode_coding_ucs4): Use `encode_ucs4'.
4119 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4121 * file-coding.c (decode_coding_ucs4): New implementation.
4123 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4125 * file-coding.c (decode_coding_ucs4): fixed.
4127 * file-coding.c (Vmule_to_ucs_table): New variable.
4128 (mule_char_to_ucs4): New function.
4129 (encode_coding_ucs4): New implementation.
4130 (complex_vars_of_mule_coding): Define variable
4131 `mule-to-ucs-table'.
4133 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4135 * file-coding.c (decode_coding_utf8): New implementation.
4137 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4139 * file-coding.c (decode_coding_utf8): fixed.
4141 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4143 * file-coding.c (Vucs_to_mule_table): New variable.
4144 (decode_ucs4): Refer `Vucs_to_mule_table'.
4145 (complex_vars_of_mule_coding): Define variable
4146 `ucs-to-mule-table'.
4148 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4150 * file-coding.c (detect_coding_ucs4): New function (not
4152 (decode_coding_ucs4): New function.
4153 (encode_coding_ucs4): New function (not implemented yet).
4154 (detect_coding_utf8): New function (not implemented yet).
4155 (decode_coding_utf8): New function.
4156 (encode_coding_utf8): New function (not implemented yet).
4157 (make-coding-system): New type `ucs4' and `utf8'.
4158 (coding-system-type): Likewise.
4159 (detection_state): Add `ucs4' and `utf8'.
4160 (detect_coding_type): Likewise.
4161 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
4162 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
4163 (decode_ucs4): New function (very incomplete).
4164 (syms_of_mule_coding): Add `ucs4' and `utf8'.
4166 * file-coding.h: Add definitions for UCS-4 and UTF-8.
4168 1999-03-08 Martin Buchholz <martin@xemacs.org>
4171 (non_ascii_valid_char_p):
4172 (lookup_composite_char):
4173 (composite_char_string):
4174 (make-composite-char):
4175 (composite-char-string):
4176 (syms_of_mule_charset):
4177 (complex_vars_of_mule_charset):
4178 * mule-charset.h (LEADING_BYTE_COMPOSITE):
4179 (CHAR_LEADING_BYTE):
4181 * file-coding.h (CODING_STATE_COMPOSITE):
4182 (CODING_STATE_ISO2022_LOCK):
4184 (LEADING_BYTE_COMPOSITE):
4185 * file-coding.c (struct iso2022_decoder):
4188 (parse_iso2022_esc):
4189 (encode_coding_iso2022):
4190 #ifdef out all composite character support using
4191 #ifdef ENABLE_COMPOSITE_CHARS
4193 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
4195 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
4197 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
4198 way of `Fbase64_encode_region'.
4200 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
4202 * fns.c (base64_encode_1): Don't add a newline at the tail.
4204 1999-03-08 Andy Piper <andy@xemacs.org>
4206 * menubar-msw.c (displayable_menu_item): correct off-by-one &
4209 1999-03-07 Martin Buchholz <martin@xemacs.org>
4211 * console-stream.h (struct stream_console):
4212 * event-unixoid.c (event_stream_unixoid_select_console):
4213 (event_stream_unixoid_unselect_console):
4214 * print.c (Fexternal_debugging_output):
4215 * sysdep.c (reset_one_device):
4216 * console-stream.c (stream_init_console):
4217 (stream_delete_console):
4218 (allocate_stream_console_struct): move into stream_init_console.
4219 (free_stream_console_struct): move into stream_delete_console.
4220 Use `fd' only for file descriptors.
4221 Therefore, rename members of struct stream_console.
4223 * systime.h: Unix98 says sys/time.h should define select(), but
4224 some systems define that in unistd.h. So include that file always.
4226 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
4227 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
4228 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
4230 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
4234 Add #include <stdio.h>.
4235 Some versions of assert.h use printf() without #include'ing stdio.h
4237 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
4238 (log_gcpro): Remove unused variable FRAME.
4239 (show_gcprohist): Ansify.
4240 Comment the #endif's
4242 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
4243 after it's just been XtDestroy'ed!
4245 1999-02-18 Martin Buchholz <martin@xemacs.org>
4247 * opaque.c (print_opaque):
4251 Egcs 1.1.1 seems to have a bug where
4252 INTP (p->size_or_chain)
4253 will crash XEmacs. Fix by introducing intermediate variable.
4255 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
4257 * dired.c (Fdirectory_files):
4258 (Ffile_name_completion):
4259 (Ffile_name_all_completions):
4260 (file_name_completion):
4261 - Use `directory' instead of `dirname' to sync with FSF Emacs and
4262 avoid compiler warnings.
4263 - Fix up docstrings so that C variables match documentation.
4265 1999-03-05 Martin Buchholz <martin@xemacs.org>
4267 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
4268 variables as small as possible to help out the compiler and the maintainer.
4270 * alloc.c: (disksave_object_finalization):
4271 Set all the *-load-path variables to
4272 nil, not just load-path itself. This gets the locate-file hash
4273 tables garbage collected BEFORE dump, and has the side effect of
4274 preventing crashes on OSF4.0+egcs.
4279 - Clean up gdb/dbx debugging support.
4280 - Storing an EMACS_INT in an enum is not 64-bit clean!
4281 - So change the enum to a set of separate variables.
4282 - Add test cases to help debug the debugging support!
4283 - Add `lisp-shadows' and `run-temacs' targets for dbx.
4284 - Both dbx and gdb have been tested now.
4286 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4288 * XEmacs 21.2.12 is released
4290 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4292 * device-x.c: Support to find best visual without flashing.
4294 1999-03-02 Paul Keusemann <pkeusem@visi.com>
4296 * database.c (berkdb_map): Add flags argument to cursor call (must
4297 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
4299 1999-03-03 Martin Buchholz <martin@xemacs.org>
4303 General cleanup. Get free-hook.c working again.
4304 Remove unused functions:
4305 make_strings_hash_table, copy_hash, expand_hash_table.
4309 Always use new ANSI-style function prototypes.
4311 * unexalpha.c (unexec): Never use implicit int.
4313 * sgiplay.c (close_sound_file):
4315 (restore_audio_port):
4320 (write_mulaw_8_chunk):
4321 (write_linear_chunk):
4322 (write_linear_32_chunk):
4323 (initialize_audio_port):
4326 (set_output_format):
4327 (adjust_audio_volume):
4328 (get_current_volumes):
4330 Always use new ANSI-style function prototypes.
4331 Use unistd.h for missing prototypes.
4333 * unexelfsgi.c (round_up):
4335 (unexec): Always use new ANSI-style function prototypes
4337 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
4339 * console.h (struct console_methods): Always use full ANSI prototypes
4341 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
4343 1999-03-02 Andy Piper <andy@xemacs.org>
4345 * event-stream.c (init_event_stream): make sure native mswindows
4346 gets an appropriate event loop.
4348 1999-02-22 Andy Piper <andy@xemacs.org>
4350 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
4351 than SW_SHOWNORMAL to prevent resizing of maximised frames.
4352 (mswindows_raise_frame): remove comment.
4354 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
4356 * XEmacs 21.2.11 is released
4358 1999-02-25 SL Baur <steve@xemacs.org>
4360 * mule-charset.c (Qleading_byte): New variable to implement
4361 charset-leading-byte function.
4362 (Fcharset_property): Use it.
4363 (syms_of_mule_charset): Initialize it.
4364 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
4366 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
4368 * glyphs-x.c (cononvert_EImage_to_XImage): correct
4369 bytes per pixel counting.
4371 1999-02-15 Andy Piper <andy@xemacs.org>
4373 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
4376 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4378 * fns.c (Fbase64_encode_string): New optional argument
4381 1999-02-16 Martin Buchholz <martin@xemacs.org>
4383 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
4384 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
4386 1999-02-10 Martin Buchholz <martin@xemacs.org>
4388 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
4389 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
4391 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4393 * XEmacs 21.2.10 is released
4395 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
4397 * process-nt.c (nt_send_process):
4398 Fix for process-send-region/process-send-string breaking when size
4399 of the input > 128 chars: change maximum chunk size for process
4400 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
4403 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
4405 * XEmacs 21.2.9 is released
4407 1999-01-30 Martin Buchholz <martin@xemacs.org>
4409 * bytecode.c (funcall_compiled_function): Call
4410 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
4412 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
4413 #ifdef 0 out unused macro.
4415 1999-01-27 Martin Buchholz <martin@xemacs.org>
4417 * gui.c (gui_parse_item_keywords_internal): Make static.
4419 1999-01-21 Andy Piper <andy@xemacs.org>
4421 * glyphs-msw.c: add xface support.
4422 (mswindows_xface_instantiate): new function copied from glyphs-x.c
4423 (image_instantiator_format_create_glyphs_mswindows): do device
4424 specific initialisation for xfaces.
4425 (xbm_create_bitmap_from_data): line data must be padded to a word
4428 * glyphs-x.c (xface_validate): moved to glyphs.c
4429 (xface_normalize): ditto.
4430 (xface_possible_dest_types): ditto.
4431 (image_instantiator_format_create_glyphs_x): do device specific
4432 initialisation for xfaces.
4434 * glyphs.h: declare xface symbol.
4436 * glyphs.c: move generic xface support here.
4437 (xface_validate): moved from glyphs-x.c
4438 (xface_normalize): ditto.
4439 (xface_possible_dest_types): ditto.
4440 (image_instantiator_format_create): xface declarations moved from
4443 1999-01-14 Adrian Aichner <adrian@xemacs.org>
4445 * event-stream.c (vars_of_event_stream): Fixing documentation.
4447 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
4449 * glyphs-eimage.c (gif_instantiate): Correct handling of
4450 interlaced gifs to avoid writing past the end of the eimage
4453 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
4455 * search.c (Freplace_match): Handle single backslash at end of
4458 1999-01-12 William M. Perry <wmperry@aventail.com>
4460 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
4461 avoid connection errors.
4463 1999-01-12 Andy Piper <andy@xemacs.org>
4465 * redisplay-output.c (redisplay_update_line): backout change that
4466 shouldn't have gone ine.
4468 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4470 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
4471 collide with ldap.el
4473 1999-01-11 Andy Piper <andy@xemacs.org>
4475 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
4476 (DISPLAY_LINE_YPOS): new macro.
4478 * redisplay-msw.c (mswindows_output_string): use it.
4479 (mswindows_output_pixmap): ditto.
4480 (mswindows_output_display_block): ditto.
4482 * redisplay-output.c (redisplay_output_display_block): new
4483 function. just call the devmeth, maybe insert some generic code
4485 (compare_display_blocks): use it.
4486 (output_display_line): ditto.
4487 (redisplay_unmap_subwindows_maybe): new function. potentially
4488 unmap subwindows in the given area.
4490 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
4493 1999-01-10 J. Kean Johnston <jkj@sco.com>
4495 * Makefile.in.in: Set value of moduledir
4496 - Changed DUMPENV to include $(MODULEPATH)
4497 - Added install rule to install header files for use by ellcc.
4499 * config.h.in: Added INHIBIT_SITE_MODULES
4500 - Added HAVE__DLERROR
4501 - Added HAVE_DLFCN_H
4502 - Added DLSYM_NEEDS_UNDERSCORE
4506 * emodules.c: New file containing dynamic loading code.
4508 * emodules.h: New file.
4510 * emacs.c: Added variables Vmodule_directory,
4511 Vsite_module_directory, Vconfigure_module_directory and
4512 Vconfigure_site_module_directory.
4513 - (main_1): Added new variable inhibit_site_modules and command
4514 line options `-no-site-modules' and `--no-site-modules'.
4515 - (main_1): Call syms_of_module() instead of syms_of_dll().
4516 - (main_1): Call vars_of_module().
4517 - (vars_of_emacs): Introduce inhibit-site-modules,
4518 module-directory, configure-module-directory,
4519 site-module-directory, and configure-site-module-directory to the
4522 * lisp.h: Declare load_module and list_modules, as well as
4523 Vmodule_directory, Vsite_module_directory,
4524 Vconfigure_module_directory and Vconfigure_site_module_directory.
4526 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
4527 - Added correct support for site-lisp directory.
4529 * symbols.c (defsubr): Modified to allow modules to add new subrs
4531 - (defsubr_macro): Same.
4532 - (defvar_magick): Only use purespace when not initialized, so
4533 that loaded modules can still add symbols.
4535 * symsinit.h: Add definitions for syms_of_module(),
4536 vars_of_module(). Removed syms_of_dll().
4538 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
4539 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
4540 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
4542 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
4543 explicitly pass -belf for native cc.
4545 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
4546 hard-coding the library name.
4548 1999-01-01 <martin@xemacs.org>
4550 * device-x.c (Fx_set_font_path):
4551 Add proper cast to permit compilation under C++.
4553 * buffer.c (directory_is_current_directory):
4554 Add proper casts to permit compilation under C++.
4556 1998-12-30 Damon Lipparelli <lipp@primus.com>
4558 * event-msw.c (mswindows_wnd_proc):
4559 Fixed failure when building with MSVC 5.
4561 1998-12-29 Martin Buchholz <martin@xemacs.org>
4563 * file-coding.c (decode_coding_iso2022):
4564 - Prevent crash when decoding ISO7/Lock detected files
4565 - the usual martin fiddling
4567 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
4571 Fixed failures when building with MSVC.
4572 * unexnt.c (dump_bss_and_heap):
4573 Removed compiler warning by removing bss_data variable.
4575 1998-12-18 Jim Radford <radford@robby.caltech.edu>
4577 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
4578 so that packages that distribute their own fonts can access them.
4580 1998-12-28 Andy Piper <andy@xemacs.org>
4582 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
4583 that have an image provided.
4585 * glyphs.h: add Q_image decl.
4587 * glyphs-widget.c new functionality allowing images in
4589 (check_valid_glyph_or_image): new function to validate
4590 glyphs passed in through :image.
4591 (widget_normalize): new function. convert :image parameters into
4592 real glyphs if not already so.
4593 (widget_instantiate_1): mess with size parameters to be similar to
4595 (syms_of_glyphs_widget): new keyword :image.
4596 (image_instantiator_format_create_glyphs_widget): normalize
4597 buttons and allow :image.
4599 1998-12-27 Andy Piper <andy@xemacs.org>
4601 * frame-msw.c (mswindows_init_frame_1): warning elimination.
4603 * glyphs-widget.c (check_valid_anything): no-op function.
4604 (check_valid_callback): check callbacks in gui_items.
4605 (check_valid_symbol): as it sounds.
4606 (check_valid_string_or_vector): ditto.
4607 (widget_validate): modified for descriptors that are vectors or
4608 sequences of keyword/val pairs.
4609 (widget_instantiate_1): ditto.
4610 (image_instantiator_format_create_glyphs_widget): allow gui_item
4611 keywords in the instantiator.
4613 * gui.c (gui_parse_item_keywords_internal): renamed from
4614 gui_parse_item_keywords but taking error behaviour.
4615 (gui_parse_item_keywords): use it.
4616 (gui_parse_item_keywords_no_errors): ditto.
4617 (gui_item_add_keyval_pair): add Error_behavior flag and only
4618 signal invalid keywords if required.
4620 * gui.h: new gui signatures.
4622 * menubar.c (menu_parse_submenu_keywords): use new
4623 gui_item_add_keyval_pair signature.
4625 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
4627 1998-12-28 Martin Buchholz <martin@xemacs.org>
4629 * XEmacs 21.2.8 is released.
4631 1998-12-28 Martin Buchholz <martin@xemacs.org>
4633 * editfns.c (get_home_directory):
4634 (user-home-directory): Simplify.
4637 * callproc.c (child_setup):
4638 - Environment variables were being passed to inferior processes
4639 using internal encoding.
4640 - Convert to external encoding.
4641 - Rename local var `tem' to better name `tail'.
4642 - Use Flength instead of `manual' calculation.
4644 * buffer.c (kill-buffer):
4646 (set-buffer-major-mode):
4648 - Fix up parameter names to correspond to docstrings.
4649 - Don't use `bufname' when a buffer will do as well.
4650 - Remove one unneeded GCPRO.
4652 * buffer.h (initial_directory):
4653 * buffer.c (init_initial_directory):
4654 - use correct conversions between internal and external format.
4655 (directory_is_current_directory): new function
4656 (init_buffer): convert initial_directory to internal format.
4657 - solve crashes when current working directory is non-ASCII.
4659 * alloc.c (xmalloc):
4662 - remove stupid casts, since XEmacs requires an ANSI C system.
4663 (lrecord_type_index): replace abort() with more readable assert().
4665 (reset_lcrecord_stats): remove.
4666 (sweep_lcrecords_1):
4667 - replace call to reset_lcrecord_stats() with call to xzero().
4669 1998-12-27 Martin Buchholz <martin@xemacs.org>
4671 * process-unix.c (unix_create_process):
4672 - Fix crash invoking program with non-ASCII name.
4673 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
4674 - Remove unused variable `env'.
4675 - Rename `temp' to better name `save_errno'.
4676 - Reorganize code for clarity. But still too chicken to nuke the
4679 1998-12-24 Martin Buchholz <martin@xemacs.org>
4681 * XEmacs 21.2.7 is released.
4683 1998-12-23 Martin Buchholz <martin@xemacs.org>
4685 * glyphs.c (decode_device_ii_format):
4687 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
4689 * glyphs-x.c (x_subwindow_instantiate):
4690 - A image instance mask was being assigned to a image instance type!
4691 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
4693 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
4695 * glyphs-x.h: Make indentation consistent.
4697 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
4699 * glyphs-widget.c (check_valid_glyph): Warning suppression.
4701 - #ifdef it out, since it's not actually used yet (FIX THIS!)
4705 Move declarations of decode_device_ii_format and
4706 decode_image_instantiator_format into glyphs.h where they belong.
4708 1998-12-22 Martin Buchholz <martin@xemacs.org>
4710 * frame-x.c (x_delete_frame): Revert part of my changes at the
4711 suggestion of Gunnar Evermann - unfortunately no one really
4712 understands this code.
4714 * callproc.c (init_callproc): code cleanup.
4716 * free-hook.c (malloc):
4721 (block_input_malloc):
4722 (block_input_realloc):
4723 * device-x.c (x_delete_device):
4724 * emacs.c (voodoo_free_hook):
4725 * events.c (print_event):
4727 (CHECK_EVENT_TYPE2):
4728 (CHECK_EVENT_TYPE3):
4729 Use proper prototypes.
4730 Make C_E_T macros a little faster.
4731 Pedantic fiddly little changes. You really don't care.
4733 1998-12-22 Andy Piper <andy@xemacs.org>
4735 * redisplay-output.c (redisplay_clear_region): make sure that
4736 fg/bg colors get set even when we are in the border area.
4738 1998-12-13 Martin Buchholz <martin@xemacs.org>
4740 * console-msw.c: Function definitions follow coding standards
4741 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4743 1998-12-11 Martin Buchholz <martin@xemacs.org>
4745 * events.h (struct timeout_data):
4746 * event-tty.c (tty_timeout_to_emacs_event):
4747 * event-msw.c (mswindows_wm_timer_callback):
4748 * event-Xt.c (Xt_timeout_to_emacs_event):
4749 * event-msw.c (mswindows_cancel_dispatch_event):
4750 Make sure Lisp_Objects inside events are initialized to Qnil, not
4751 Qnull_pointer, which is now illegal.
4753 1998-12-10 Martin Buchholz <martin@xemacs.org>
4755 * lisp.h: Fix up prototypes to match alloc.c
4757 1998-12-08 Martin Buchholz <martin@xemacs.org>
4759 * windowsnt.h: Remove `support' for using index and rindex
4761 * filelock.c (current_lock_owner):
4762 - Change uses of index -> strchr, rindex -> strrchr
4764 1998-12-07 Martin Buchholz <martin@xemacs.org>
4766 * sysdep.c (set_descriptor_non_blocking):
4767 Since O_NONBLOCK is now always #defined, make use of fcntl
4768 conditional on F_SETFL being defined.
4770 * console-msw.c (DHEADgER):
4779 - max_align_t should not be visible to the user of the
4781 - use Bufbyte instead of char
4782 - parens around (FOOP (obj)) are always redundant.
4783 If they were necessary, we should fix the macro instead.
4784 - Always use string_data(foo) instead of foo->data.
4787 1998-12-06 Martin Buchholz <martin@xemacs.org>
4789 * frame-msw.c (mswindows_init_frame_1):
4790 - use make_lisp_hash_table, not Fmake_hash_table
4794 * alloc.c (make_vector): remove travesty
4798 (make_bit_vector_internal):
4800 (make_bit_vector_from_byte_vector):
4802 - make vector_equal a little faster.
4803 - Don't use variable name `new'.
4804 - Use size_t instead of EMACS_INT.
4805 - usual Martin-style pointless bit-twiddling.
4811 Make mapcar faster. In particular, make
4812 (mapc #'identity long-string)
4813 MUCH faster under Mule.
4814 * tests/automated/lisp-tests.el: Test 'em!
4816 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4819 1998-12-01 Martin Buchholz <martin@xemacs.org>
4821 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
4822 Qnil, not NULL, to initialize `null' Lisp_Objects.
4824 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
4826 * specifier.c (display_table_validate): Update.
4828 * redisplay.c (create_text_block): Use them.
4830 * glyphs.c (display_table_entry): New function.
4831 (get_display_tables): Ditto.
4833 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4835 * eldap.c (toplevel): Mention that eldap.c compiles with
4837 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
4838 (Fldap_search_internal): Ditto
4840 1998-12-11 Martin Buchholz <martin@xemacs.org>
4842 * event-msw.c (mswindows_cancel_dispatch_event):
4843 Gratuitous code prettification
4846 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
4848 * fns.c (Fnconc): Fix use of wrong_type_argument().
4850 * floatfns.c (Ffloat): Fix docstring.
4851 (Ffloat): Fix use of wrong_type_argument().
4853 (extract_float): Ditto.
4858 1998-12-06 Martin Buchholz <martin@xemacs.org>
4860 * frame-msw.c (mswindows_init_frame_1):
4861 - use make_lisp_hash_table, not Fmake_hash_table
4865 * alloc.c (make_vector): remove travesty
4869 (make_bit_vector_internal):
4871 (make_bit_vector_from_byte_vector):
4873 - make vector_equal a little faster.
4874 - Don't use variable name `new'.
4875 - Use size_t instead of EMACS_INT.
4876 - usual Martin-style pointless bit-twiddling.
4882 Make mapcar faster. In particular, make
4883 (mapc #'identity long-string)
4884 MUCH faster under Mule.
4885 * tests/automated/lisp-tests.el: Test 'em!
4887 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4890 1998-12-02 Didier Verna <verna@inf.enst.fr>
4892 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
4893 accelerator field to nil for labels.
4895 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
4897 * menubar-msw.c (displayable_menu_item):
4898 Escape occurrences of '&' and support occurrences of the
4899 '%_' accelerator indicator in menus.
4901 1998-11-26 Didier Verna <verna@inf.enst.fr>
4903 * dired.c (Fdirectory_files): use make_string instead of
4904 make_ext_string on the filename. The conversion external->internal
4905 format is already done in sys_readdir.
4907 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
4909 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
4911 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
4914 (Belatedly) added Kirill to list of file's authors.
4915 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
4916 quit checking. WM_PAINT messages cause redisplay, but
4917 windows' states are not necessarily stable when this function
4920 1998-12-17 Andy Piper <andy@xemacs.org>
4922 * strftime.c (zone_name): CONSTify.
4924 1998-12-15 Andy Piper <andy@xemacs.org>
4926 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
4927 (mswindows_widget_property): return Qunbound when no property available.
4928 (mswindows_button_property): ditto.
4929 (mswindows_combo_property): ditto.
4930 (mswindows_widget_set_property): ditto.
4932 * glyphs-widget.c (check_valid_item_list): use properties.
4934 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
4936 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
4937 (Fimage_instance_property): ditto.
4938 * glyphs-widget.c (widget_property): ditto.
4939 (widget_set_property): ditto.
4941 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
4942 as setting the class cursor so that GC actually changes the
4945 * config.h: don't undef MAIL_USE_POP.
4947 1998-12-13 Andy Piper <andy@xemacs.org>
4950 (image_instantiator_format_create_glyphs_mswindows): line ->
4952 (mswindows_label_instantiate): ditto. Play with window flags.
4953 (image_instantiator_format_create_glyphs_mswindows): ditto.
4954 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
4956 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
4957 cope with lines and labels.
4958 (static_instantiate): use widget_instantiate_1.
4960 (image_instantiator_format_create_glyphs_widget): ditto.
4962 1998-12-10 Andy Piper <andy@xemacs.org>
4964 * Makefile.in.in (objs): add gui.o
4966 1998-12-10 Andy Piper <andy@xemacs.org>
4968 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
4971 1998-12-09 Andy Piper <andy@xemacs.org>
4973 * glyphs.c (finalize_image_instance): mark glyphs changed when an
4974 image instance is removed so that the subwindow cache gets reset
4975 and thus destroyed images get GC'd.
4977 1998-12-08 Andy Piper <andy@xemacs.org>
4979 * gui-msw.c (mswindows_handle_gui_wm_command): call
4980 MARK_SUBWINDOWS_CHANGED.
4982 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
4983 subwindows really get deleted.
4985 * redisplay.c: new variable subwindows_changed[_set].
4986 (redisplay_window): use it.
4987 (redisplay_frame): ditto.
4988 (redisplay_device): ditto.
4989 (redisplay_without_hooks): ditto.
4991 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
4992 subwindows redisplay as per glyphs equivalent.
4993 * redisplay.h: ditto.
4994 (MARK_SUBWINDOWS_CHANGED): ditto.
4995 (RESET_CHANGED_SET_FLAGS): ditto.
4996 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
4998 1998-12-07 Andy Piper <andy@xemacs.org>
5000 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
5003 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
5005 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
5006 messages and paint widget glyphs as appropriate with their face fg
5009 1998-12-06 Andy Piper <andy@xemacs.org>
5011 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
5012 here rather than in glyphs-widget - do this because we only want
5013 to provide what is really available.
5015 * glyphs.c (Fimage_instance_property): new function to get the
5016 properties of image instances. wires through to console specific
5017 methods and then to widget specific methods.
5018 (Fset_image_instance_property): ditto but for setting widget properties.
5019 (check_valid_face): make extern so that it can be used elsewhere.
5021 * glyphs-widget.c (widget_property): new function. gets the
5022 properties of widgets in general and wires the function through to
5023 widget specific ones.
5024 (widget_set_property): ditto but for setting widget properties.
5026 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
5027 add items to the list. Play with window styles a bit to get the
5029 (mswindows_widget_property): break out specific widget properties.
5030 (mswindows_button_property): new function. gets the checked state
5032 (mswindows_combo_property): new function. gets the current
5033 selection in the combo box.
5034 (mswindows_widget_set_property): new function. sets specific
5035 properties of specific widgets.
5037 * glyphs-widget.c (check_valid_item_list): new function. check
5038 that items for a combo-box are just a list of strings.
5039 (combo_validate): new function. check there is an item list.
5040 (widget_instantiate_1): new function. renamed from
5041 widget_instantiate so that we can do slightly different things for
5043 (widget_instantiate): call widget_instantiate_1.
5044 (combo_instantiate): new function to instantiate combo boxes,
5045 defaults height to the pixel height of the number of items in the
5047 (syms_of_glyphs_widget): move widget keywords here.
5048 (image_instantiator_format_create_glyphs_widget): use new combo
5051 1998-12-04 Andy Piper <andy@xemacs.org>
5053 * event-msw.c (mswindows_wnd_proc): mule-ize.
5055 * glyphs.c (pixmap_to_lisp_data): mule-ize.
5057 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
5058 (resource_name_to_resource): ditto.
5059 (mswindows_resource_instantiate): ditto.
5060 (mswindows_widget_instantiate): ditto.
5061 (mswindows_widget_set_property): ditto.
5063 * redisplay-output.c (redisplay_output_subwindow): don't show
5064 subwindows if they are obscured at the edge of the frame, emacs
5065 gets into some sort of redisplay loop otherwise.
5067 * gui.h: prototype gui_item_selected_p.
5069 * gui.c (gui_item_selected_p): new function to determine the
5070 selected state of a gui_item.
5072 * frame.h (struct frame): add subwindows_changed flag.
5074 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
5076 * glyphs.c (update_subwindow): new function to update a
5078 (update_frame_subwindows): new function to update all the
5079 subwindows on a frame.
5081 * console.h (struct console_methods): add update_subwindow.
5083 * glyphs-msw.c (mswindows_widget_property): return selected state
5084 for selected property.
5085 (mswindows_update_subwindow): new function. updates widget glyphs
5086 in redisplay as per menubars or toolbars e.g. selected state.
5087 (console_type_create_glyphs_mswindows): add update_subwindow.
5089 1998-12-03 Andy Piper <andy@xemacs.org>
5091 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
5092 tty coding system things are such.
5094 * glyphs-widget.c (widget_face_font_info): new function for
5095 pulling out height and width metrics for a widget's face.
5096 (widget_text_to_pixel_conversion): calculate pixel sizes of text
5099 * event-msw.c (mswindows_drain_windows_queue): translate messages
5100 that are destined for subwindows. This makes edit fields interact
5101 with the keyboard correctly.
5102 nuke warnings by #ifndef'ing out stuff not required by msg select().
5104 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
5105 macro defining the iiforma without the symbol required by widget.
5106 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
5108 * general.c (syms_of_general): add Qwidget, Qselected.
5110 * faces.c (complex_vars_of_faces): add widget face inheriting from
5113 1998-11-09 Andy Piper <andy@xemacs.org>
5115 * window.h (struct window): add a cache of subwindows on a
5118 * window.c (mark_window): mark the subwindow_instance_cache.
5119 (allocate_window): initialise the subwindow instance_cache.
5121 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
5122 instead of the devmeth.
5123 (x_clear_toolbar): ditto.
5125 * redisplay-x.c (x_output_display_block): call
5126 redisplay_output_subwindow for subwindows and widgets.
5128 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
5129 types to do nothing for.
5131 * lisp.h: declare new widget/subwindow symbols.
5133 * glyphs.c (image_instantiate): cache subwindows on a per-window
5135 (subwindow_possible_dest_types): new function for subwindow dest
5137 (subwindow_instantiate): generic instantiation of a
5138 subwindow. specialised by device multi-methods.
5139 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
5141 (Fimage_instance_subwindow_id): ditto.
5142 (Fresize_subwindow): ditto.
5143 (Fforce_subwindow_map): ditto.
5145 * glyphs-x.c (x_print_image_instance): remove subwindow
5146 stuff. Handled genrically in glyphs.c.
5147 (x_image_instance_equal): ditto.
5148 (x_image_instance_hash): ditto.
5149 (x_finalize_image_instance): delete subwindows when required.
5150 (mark_subwindow) (print_subwindow) (finalize_subwindow)
5151 (subwindow_hash) (Fmake_subwindow): deleted because of new,
5152 glyph-based, subwindow implementation.
5153 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
5155 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
5157 (x_unmap_subwindow): new function to unmap X subwindows.
5158 (x_map_subwindow): new function to map X subwindows.
5159 (x_subwindow_instantiate): new function to instantiate X
5161 (x_resize_subwindow): new function to resize X subwindows.
5162 (console_type_create_glyphs_x): add subwindow functions.
5163 (image_instantiator_format_create_glyphs_x): add device
5164 multi-methods for xpm, xbm and subwindow.
5166 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
5167 (subwindow-width): ditto.
5168 (subwindow-height): ditto.
5170 * glyphs-msw.c (mswindows_widget_instantiate): new function for
5171 generally instantiating ms subwindows. Used by
5172 mswindows_*_instantiate.
5173 (mswindows_edit_instantiate): instantiate an edit field on a
5176 1998-11-04 Andy Piper <andy@xemacs.org>
5178 * symsinit.h: declare new functions.
5180 * redisplay.h: declare new functions.
5182 * redisplay-x.c (x_output_display_block): call
5183 redisplay_clear_region rather than x_clear_region.
5184 (x_output_string): ditto.
5185 (x_output_pixmap): ditto.
5186 (x_clear_to_window_end): ditto.
5187 (x_output_eol_cursor): ditto.
5188 (x_clear_region): only do X specific things. other duties handled
5189 in redisplay_clear_region.
5191 * redisplay-tty.c (tty_clear_region): do tty specific things - some
5192 duties moved to redisplay_clear_region.
5194 * redisplay-output.c (clear_left_border): use
5195 redisplay_clear_region instead of device method.
5196 (clear_right_border): ditto.
5197 (output_display_line): ditto.
5198 (redisplay_output_subwindow): ditto.
5199 (redisplay_clear_top_of_window): ditto.
5200 (redisplay_clear_region): perform duties previously handled by
5201 device methods. call the appropriate device method at the
5202 end. unmap subwindows if necessary.
5204 * redisplay-msw.c (mswindows_output_string): use
5205 redisplay_clear_region instead of mswindows_clear_region.
5206 (mswindows_clear_to_window_end): ditto.
5207 (mswindows_output_display_block): output subwindows when required.
5208 (mswindows_clear_region): only do mswindows specific things,
5209 everything else is now handled in redisplay_clear_region.
5211 * gui.h: add item id hash defines and declare function prototypes.
5213 * gui.c (mark_gui_item): new function for marking gui_items.
5214 (gui_item_hash): generic hash function for generating command ids
5217 * gui-msw.c: new file.
5218 (mswindows_handle_gui_wm_command): new function to handle widget
5221 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
5223 (IIFORMAT_HAS_SHARED_METHOD): ditto.
5224 (DEFINE_DEVICE_IIFORMAT): ditto.
5225 (INITIALIZE_DEVICE_IIFORMAT): ditto.
5226 (struct Lisp_Image_Instance): add widget and subwindow data plus
5227 appropriate access functions.
5229 * glyphs.c (decode_device_ii_format): new function for decoding
5230 image instantiator functions based on a device type as well as an
5232 (decode_image_instantiator_format): just call
5233 decode_device_ii_format with nil device.
5234 (add_entry_to_device_ii_format_list): new function for per device
5236 (add_entry_to_image_instantiator_format_list): just call
5237 add_entry_to_device_ii_format_list with nil device.
5238 (check_valid_vector): new function.
5239 (instantiate_image_instantiator): instantiate using per-format
5240 method and then per-format-per-device method (device
5241 multi-methods). signal an error if neither is possible.
5242 (mark_image_instance): cope with subwindows and widgets.
5243 (print_image_instance): ditto.
5244 (image_instance_equal): ditto.
5245 (image_instance_hash): ditto.
5246 (allocate_glyph): ditto.
5247 (glyph_width): ditto.
5248 (glyph_height_internal): ditto.
5249 (xpm_instantiate): removed because of device multi-methods.
5250 (mark_subwindow_cachels): new cachel functions for caching
5251 instantiated subwindows on a per-frame basis. mostly copied from
5252 glyph cachel functions.
5253 (update_subwindow_cachel_data): ditto.
5254 (add_subwindow_cachel): ditto.
5255 (get_subwindow_cachel_index): ditto.
5256 (reset_subwindow_cachels): ditto.
5257 (mark_subwindow_cachels_as_not_updated): ditto.
5258 (unmap_subwindow): generic unmapping of subwindows based on cachel
5260 (map_subwindow): ditto.
5261 (initialize_subwindow_image_instance): generic initialisation of
5263 (syms_of_glyphs): add widget keywords.
5265 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
5268 1998-11-04 Andy Piper <andy@xemacs.org>
5270 * glyphs-widget.c: new file for instantiating widget type glyphs.
5271 (widget_possible_dest_types): new general dest type function for
5273 (widget_validate): ditto.
5274 (initialize_widget_image_instance): ditto
5275 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
5276 before handing on control to device multi-methods.
5277 (syms_of_glyphs_widget): new function.
5278 (image_instantiator_format_create_glyphs_widget): new function,
5279 added placeholders for button, edit, combo, scrollbar
5280 (vars_of_glyphs_widget): new function.
5282 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
5283 storing window ids of widgets.
5285 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
5286 deletion of widget and subwindow glyphs.
5287 (mswindows_unmap_subwindow): new device function for unmapping
5288 subwindows on a msw frame.
5289 (mswindows_map_subwindow): ditto.
5290 (mswindows_register_image_instance): register instantiated widgets
5291 with the widget hastable.
5292 (mswindows_button_instantiate): instantiate a button type widget
5294 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
5296 (image_instantiator_format_create_glyphs_mswindows): add device
5297 multi-methods for xbm, xpm, subwindow, edit and button.
5299 * frame.h (struct frame): add subwindow_cachels dynarr for caching
5300 information about subwindows visible on the current frame. used by
5301 redisplay_clear_region to unmap subwindows as required.
5303 * frame.c (mark_frame): mark subwindow_cachels.
5304 (allocate_frame_core): instantiate subwindow_cachels.
5306 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
5309 * event-msw.c (mswindows_wnd_proc): add call to
5310 mswindows_handle_gui_wm_command to handle widget callbacks.
5312 * emacs.c (main_1): add calls to glyphs-widget initialisation
5315 * console.h (struct console_methods): add
5316 unmap/map_subwindow_method for use be redisplay_clear_region to
5317 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
5318 with by image instantiator multi-methods. Add
5319 resize_subwindow_method.
5321 * console-stream.c (stream_clear_region): change signature to
5322 match new generic clear region function.
5324 * Makefile.in.in: add glyphs-widget.o to list of objects.
5326 * console-msw.h (struct mswindows_frame): add widget hashtable for
5327 wiring command ids to callbacks.
5329 1998-12-16 Andy Piper <andy@xemacs.org>
5331 * XEmacs 21.2.6 is released
5333 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
5335 * md5.c (Fmd5): Correctly initiate string input stream.
5337 * Makefile.in.in (tests): Add md5-tests.el.
5339 1998-12-06 Martin Buchholz <martin@xemacs.org>
5342 * alloc.c (make_vector): remove travesty
5346 (make_bit_vector_internal):
5348 (make_bit_vector_from_byte_vector):
5350 - make vector_equal a little faster.
5351 - Don't use variable name `new'.
5352 - Use size_t instead of EMACS_INT.
5353 - usual Martin-style pointless bit-twiddling.
5359 Make mapcar faster. In particular, make
5360 (mapc #'identity long-string)
5361 MUCH faster under Mule.
5362 * tests/automated/lisp-tests.el: Test 'em!
5364 1998-12-06 Martin Buchholz <martin@xemacs.org>
5366 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
5369 1998-12-13 Martin Buchholz <martin@xemacs.org>
5371 * console-msw.c: Function definitions follow coding standards
5372 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
5374 1998-12-11 Martin Buchholz <martin@xemacs.org>
5376 * events.h (struct timeout_data):
5377 * event-tty.c (tty_timeout_to_emacs_event):
5378 * event-msw.c (mswindows_wm_timer_callback):
5379 * event-Xt.c (Xt_timeout_to_emacs_event):
5380 * event-msw.c (mswindows_cancel_dispatch_event):
5381 Make sure Lisp_Objects inside events are initialized to Qnil, not
5382 Qnull_pointer, which is now illegal.
5384 1998-12-10 Martin Buchholz <martin@xemacs.org>
5386 * lisp.h: Fix up prototypes to match alloc.c
5388 1998-12-09 Andy Piper <andy@xemacs.org>
5390 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
5391 XSETINT for assigning lisp objects.
5393 1998-12-07 Martin Buchholz <martin@xemacs.org>
5396 * console-msw.c (DHEADER):
5405 - max_align_t should not be visible to the user of the
5407 - use Bufbyte instead of char
5408 - parens around (FOOP (obj)) are always redundant.
5409 If they were necessary, we should fix the macro instead.
5410 - Always use string_data(foo) instead of foo->data.
5412 1998-12-07 Martin Buchholz <martin@xemacs.org>
5414 * sysdep.c (set_descriptor_non_blocking):
5415 Since O_NONBLOCK is now always #defined, make use of fcntl
5416 conditional on F_SETFL being defined.
5418 1998-12-09 Andy Piper <andy@xemacs.org>
5420 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
5421 that got removed in the merge
5423 1998-11-30 Greg Klanderman <greg@alphatech.com>
5425 * dired.c (vars_of_dired): bugfix for previous conditionalization
5426 of user-name-completion on non- Windows NT.
5428 1998-12-08 Martin Buchholz <martin@xemacs.org>
5430 * windowsnt.h: Remove `support' for using index and rindex
5432 * filelock.c (current_lock_owner):
5433 - Change uses of index -> strchr, rindex -> strrchr
5435 1998-12-06 Martin Buchholz <martin@xemacs.org>
5437 * frame-msw.c (mswindows_init_frame_1):
5438 - use make_lisp_hash_table, not Fmake_hash_table
5441 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
5443 * XEmacs 21.2.5 is released
5445 1998-11-30 Martin Buchholz <martin@xemacs.org>
5447 * xselect.c (receive_incremental_selection):
5448 * xselect.c (x_get_window_property):
5449 * xmu.c (XmuReadBitmapDataFromFile):
5450 * xmu.c (XmuCursorNameToIndex):
5451 * xgccache.c (describe_gc_cache):
5452 * xgccache.c (gc_cache_lookup):
5453 * xgccache.c (free_gc_cache):
5454 * xgccache.c (make_gc_cache):
5456 * window.c (map_windows_1):
5457 * window.c (Fother_window_for_scrolling):
5458 * window.c (window_scroll):
5459 * window.c (change_window_height):
5460 * window.c (Fsplit_window):
5461 * window.c (window_left_gutter_width):
5462 * window.c (window_modeline_height):
5463 * window.c (invalidate_vertical_divider_cache_in_window):
5464 * window.c (window_needs_vertical_divider_1):
5465 * window.c (update_mirror_internal):
5466 * window.c (SET_LAST_FACECHANGE):
5467 * widget.c (Fwidget_plist_member):
5468 * unexec.c (copy_text_and_data):
5469 * unexcw.c (copy_executable_and_dump_data_section):
5471 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
5472 * tooltalk.c (struct Lisp_Tooltalk_Message):
5473 * toolbar.h (struct toolbar_button):
5474 * toolbar.c (default_toolbar_visible_p_changed_in_window):
5475 * toolbar.c (recompute_overlaying_specifier):
5476 * toolbar.c (toolbar_validate):
5477 * toolbar.c (toolbar_button_at_pixpos):
5478 * toolbar.c (get_toolbar_coords):
5479 * toolbar.c (update_frame_toolbars):
5481 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
5482 * toolbar-msw.c (mswindows_find_toolbar_pos):
5483 * toolbar-msw.c (mswindows_output_toolbar):
5484 * toolbar-msw.c (mswindows_clear_toolbar):
5493 * sysdep.c (sys_fopen):
5494 * sysdep.c (sys_open):
5495 * sysdep.c (tty_init_sys_modes_on_device):
5496 * sysdep.c (get_eof_char):
5497 * sysdep.c (child_setup_tty):
5498 * sysdep.c (set_descriptor_non_blocking):
5500 * syntax.c (scan_words):
5503 * symeval.h (struct symbol_value_varalias):
5504 * symeval.h (struct symbol_value_forward):
5505 * symbols.c (syms_of_symbols):
5506 * symbols.c (init_symbols_once_early):
5507 * symbols.c (Fbuilt_in_variable_type):
5508 * symbols.c (Fsymbol_value_in_buffer):
5509 * symbols.c (default_value):
5511 * symbols.c (find_symbol_value_quickly):
5512 * symbols.c (store_symval_forwarding):
5513 * symbols.c (set_default_console_slot_variable):
5514 * symbols.c (set_default_buffer_slot_variable):
5515 * symbols.c (verify_ok_for_buffer_local):
5516 * symbols.c (symbol_is_constant):
5517 * symbols.c (oblookup):
5518 * symbols.c (Funintern):
5519 * symbols.c (Fintern):
5520 * symbols.c (check_obarray):
5522 * specifier.h (struct specifier_methods):
5524 * specifier.c (specifier_instance):
5525 * specifier.c (specifier_instance_from_inst_list):
5526 * specifier.c (decode_locale_type):
5527 * specifier.c (specifier_equal):
5528 * specifier.c (finalize_specifier):
5529 * specifier.c (prune_specifiers):
5530 * specifier.c (kill_specifier_buffer_locals):
5531 * sound.c (init_native_sound):
5534 * search.c (Fmatch_data):
5535 * search.c (match_limit):
5536 * search.c (Freplace_match):
5537 * search.c (skip_chars):
5538 * search.c (scan_buffer):
5540 * scrollbar.c (specifier_vars_of_scrollbar):
5541 * scrollbar.c (Fscrollbar_set_hscroll):
5542 * scrollbar.c (vertical_scrollbar_changed_in_window):
5543 * scrollbar.c (release_window_mirror_scrollbars):
5544 * scrollbar.c (free_scrollbar_instance):
5547 * s/msdos.h (O_BINARY):
5549 * s/freebsd.h (LIBS_TERMCAP):
5550 * regex.c (re_match_2_internal):
5551 * regex.c (compile_extended_range):
5552 * regex.c (POP_FAILURE_POINT):
5553 * regex.c (PUSH_FAILURE_POINT):
5554 * redisplay.h (RESET_CHANGED_SET_FLAGS):
5556 * redisplay.h (struct display_line):
5557 * redisplay.h (struct rune):
5558 * redisplay.c (vars_of_redisplay):
5559 * redisplay.c (redisplay_variable_changed):
5560 * redisplay.c (UPDATE_CACHE_RETURN):
5561 * redisplay.c (validate_line_start_cache):
5562 * redisplay.c (mark_redisplay_structs):
5563 * redisplay.c (mark_glyph_block_dynarr):
5564 * redisplay.c (window_line_number):
5565 * redisplay.c (redisplay_frame):
5566 * redisplay.c (redisplay_window):
5567 * redisplay.c (generate_modeline):
5568 * redisplay.c (create_right_glyph_block):
5569 * redisplay.c (create_left_glyph_block):
5570 * redisplay.c (create_text_block):
5572 * redisplay-x.c (x_output_hline):
5573 * redisplay-x.c (x_output_vertical_divider):
5574 * redisplay-tty.c (tty_output_display_block):
5575 * redisplay-output.c (output_display_line):
5576 * redisplay-output.c:
5577 * redisplay-msw.c (mswindows_output_vertical_divider):
5578 * redisplay-msw.c (mswindows_ring_bell):
5579 * redisplay-msw.c (mswindows_output_cursor):
5583 * puresize.h (RAW_PURESIZE):
5584 * profile.c (syms_of_profile):
5585 * profile.c (Fstart_profiling):
5586 * profile.c (sigprof_handler):
5589 * process.c (vars_of_process):
5590 * process.c (read_process_output):
5591 * process.c (get_process):
5593 * process-unix.c (unix_open_multicast_group):
5594 * process-unix.c (unix_get_tty_name):
5595 * process-unix.c (unix_send_process):
5596 * process-unix.c (unix_reap_exited_processes):
5597 * process-unix.c (unix_create_process):
5598 * process-unix.c (unix_init_process_io_handles):
5599 * process-unix.c (allocate_pty):
5601 * process-nt.c (nt_open_network_stream):
5602 * process-nt.c (nt_update_status_if_terminated):
5603 * process-nt.c (nt_finalize_process_data):
5605 * print.c (debug_short_backtrace):
5606 * print.c (debug_backtrace):
5607 * print.c (print_symbol):
5608 * print.c (print_internal):
5609 * print.c (print_cons):
5610 * print.c (Fwrite_char):
5611 * print.c (print_prepare):
5612 * print.c (canonicalize_printcharfun):
5613 * print.c (output_string):
5616 * opaque.c (allocate_managed_opaque):
5618 * offix.c (DndSetData):
5619 * objects.c (face_boolean_create):
5620 * objects.c (font_instantiate):
5621 * objects.c (font_create):
5622 * objects.c (color_create):
5623 * objects.c (finalize_font_instance):
5624 * objects.c (finalize_color_instance):
5626 * objects-x.c (x_font_instance_truename):
5628 * objects-x.c (x_initialize_font_instance):
5629 * objects-x.c (allocate_nearest_color):
5630 * objects-tty.c (tty_initialize_font_instance):
5631 * objects-tty.c (tty_initialize_color_instance):
5632 * objects-msw.c (mswindows_initialize_color_instance):
5633 * ntproc.c (syms_of_ntproc):
5634 * ntproc.c (Fwin32_set_process_priority):
5635 * ntproc.c (sys_spawnve):
5637 * ntheap.c (get_data_end):
5641 * nt.c (generate_inode_val):
5642 * nt.c (sys_rename):
5644 * mule-wnnfns.c (Fwnn_hinsi_number):
5645 * mule-wnnfns.c (Fwnn_yuragi):
5646 * mule-wnnfns.c (Fwnn_common_learn):
5647 * mule-wnnfns.c (Fwnn_suffix_learn):
5648 * mule-wnnfns.c (Fwnn_prefix_learn):
5649 * mule-wnnfns.c (Fwnn_okuri_learn):
5650 * mule-wnnfns.c (Fwnn_complex_conv):
5651 * mule-wnnfns.c (Fwnn_last_is_first):
5652 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
5653 * mule-wnnfns.c (Fwnn_notrans_dict_add):
5654 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
5655 * mule-wnnfns.c (Fwnn_fisys_dict_add):
5656 * mule-wnnfns.c (Fwnn_hinsi_list):
5657 * mule-wnnfns.c (Fwnn_fuzokugo_set):
5658 * mule-wnnfns.c (Fwnn_dict_search):
5659 * mule-wnnfns.c (Fwnn_word_toroku):
5660 * mule-wnnfns.c (Fwnn_hindo_update):
5661 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
5662 * mule-wnnfns.c (Fwnn_kakutei):
5663 * mule-wnnfns.c (Fwnn_begin_henkan):
5664 * mule-wnnfns.c (Fwnn_dict_comment):
5665 * mule-wnnfns.c (Fwnn_dict_add):
5666 * mule-wnnfns.c (Fwnn_open):
5667 * mule-mcpath.c (mc_getcwd):
5668 * mule-coding.c (vars_of_mule_coding):
5669 * mule-coding.c (convert_to_external_format):
5670 * mule-coding.c (encoding_marker):
5671 * mule-coding.c (decoding_marker):
5672 * mule-coding.c (Fcopy_coding_system):
5673 * mule-coding.c (Fmake_coding_system):
5674 * mule-coding.c (Fcoding_system_list):
5675 * mule-coding.c (Ffind_coding_system):
5676 * mule-coding.c (symbol_to_eol_type):
5678 * mule-charset.c (complex_vars_of_mule_charset):
5679 * mule-charset.c (vars_of_mule_charset):
5680 * mule-charset.c (Fset_charset_ccl_program):
5681 * mule-charset.c (struct charset_list_closure):
5682 * mule-charset.c (Ffind_charset):
5683 * mule-charset.c (make_charset):
5684 * mule-charset.c (non_ascii_valid_char_p):
5686 * mule-ccl.c (ccl_driver):
5687 * mule-canna.c (c2mu):
5688 * mule-canna.c (Fcanna_henkan_begin):
5689 * mule-canna.c (Fcanna_parse):
5690 * mule-canna.c (Fcanna_store_yomi):
5691 * mule-canna.c (Fcanna_touroku_string):
5692 * mule-canna.c (Fcanna_initialize):
5694 * menubar.c (menu_parse_submenu_keywords):
5695 * menubar-x.c (make_dummy_xbutton_event):
5696 * menubar-x.c (set_frame_menubar):
5697 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5700 * menubar-msw.c (mswindows_popup_menu):
5701 * menubar-msw.c (mswindows_update_frame_menubars):
5702 * menubar-msw.c (mswindows_handle_wm_command):
5703 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
5704 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
5705 * menubar-msw.c (update_frame_menubar_maybe):
5706 * menubar-msw.c (populate_or_checksum_helper):
5707 * menubar-msw.c (empty_menu):
5710 * marker.c (set_marker_internal):
5711 * marker.c (print_marker):
5714 * lstream.c (lisp_buffer_rewinder):
5715 * lstream.c (mark_lstream):
5717 * lrecord.h (struct lrecord_header):
5718 * lread.c (readevalloop):
5719 * lread.c (locate_file):
5720 * lread.c (locate_file_in_directory):
5721 * lread.c (Flocate_file):
5722 * lread.c (load_force_doc_string_unwind):
5723 * lread.c (ebolify_bytecode_constants):
5728 * linuxplay.c (linux_play_data_or_file):
5729 * linuxplay.c (audio_init):
5732 * keymap.c (describe_map):
5733 * keymap.c (describe_map_mapper):
5734 * keymap.c (Fdescribe_bindings_internal):
5735 * keymap.c (Fsingle_key_description):
5736 * keymap.c (map_keymap_sorted):
5737 * keymap.c (get_relevant_keymaps):
5738 * keymap.c (Flookup_key):
5739 * keymap.c (raw_lookup_key_mapper):
5740 * keymap.c (Fdefine_key):
5741 * keymap.c (Fevent_matches_key_specifier_p):
5742 * keymap.c (key_desc_list_to_event):
5743 * keymap.c (define_key_parser):
5744 * keymap.c (define_key_check_and_coerce_keysym):
5745 * keymap.c (keymap_submaps):
5746 * keymap.c (keymap_store_internal):
5747 * keymap.c (keymap_delete_inverse_internal):
5748 * keymap.c (keymap_store_inverse_internal):
5749 * keymap.c (print_keymap):
5750 * keymap.c (Lisp_Keymap):
5753 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
5754 * insdel.c (make_gap):
5755 * input-method-xlib.c (get_XIM_input):
5756 * input-method-xlib.c (XIM_init_frame):
5761 * gui-x.c (button_item_to_widget_value):
5762 * gui-x.c (popup_selection_callback):
5763 * glyphs.h (struct image_instantiator_methods):
5764 * glyphs.c (mark_glyph_cachels):
5765 * glyphs.c (Fglyph_type):
5766 * glyphs.c (image_instantiate):
5767 * glyphs.c (image_create):
5768 * glyphs.c (make_image_instance_1):
5769 * glyphs.c (finalize_image_instance):
5771 * glyphs-x.c (finalize_subwindow):
5772 * glyphs-x.c (xface_validate):
5773 * glyphs-x.c (x_locate_pixmap_file):
5774 * glyphs-x.c (convert_EImage_to_XImage):
5776 * glyphs-msw.c (mswindows_resource_instantiate):
5777 * glyphs-msw.c (xpm_to_eimage):
5778 * glyphs-msw.c (convert_EImage_to_DIBitmap):
5779 * glyphs-eimage.c (tiff_instantiate):
5780 * glyphs-eimage.c (png_instantiate):
5781 * glyphs-eimage.c (struct png_error_struct):
5782 * glyphs-eimage.c (gif_memory_storage):
5785 * getloadavg.c (getloadavg):
5788 * free-hook.c (log_gcpro):
5789 * free-hook.c (check_malloc):
5790 * free-hook.c (check_free):
5791 * free-hook.c (ROUND_UP_TO_PAGE):
5793 * frame.h (struct frame):
5795 * frame.c (change_frame_size_1):
5796 * frame.c (allocate_frame_core):
5798 * frame-x.c (x_focus_on_frame):
5799 * frame-x.c (x_init_frame_2):
5800 * frame-x.c (x_popup_frame):
5801 * frame-x.c (xemacs_XtPopup):
5803 * frame-x.c (Foffix_start_drag_internal):
5804 * frame-x.c (x_cde_destroy_callback):
5805 * frame-x.c (x_wm_hack_wm_protocols):
5806 * frame-tty.c (tty_frame_visible_p):
5807 * frame-msw.c (mswindows_make_frame_invisible):
5808 * frame-msw.c (mswindows_after_init_frame):
5809 * frame-msw.c (mswindows_init_frame_1):
5810 * fns.c (syms_of_fns):
5811 * fns.c (Fbase64_decode_string):
5813 * fns.c (Ffillarray):
5814 * fns.c (Fobject_plist):
5816 * fns.c (Fcanonicalize_lax_plist):
5817 * fns.c (Fcanonicalize_plist):
5818 * fns.c (Fplist_remprop):
5819 * fns.c (Fplist_get):
5820 * fns.c (advance_plist_pointers):
5821 * fns.c (internal_plist_put):
5822 * fns.c (Fnreverse):
5825 * fns.c (Fsubstring):
5826 * fns.c (Fbvconcat):
5828 * fns.c (length_with_bytecode_hack):
5829 * fns.c (print_bit_vector):
5831 * floatfns.c (Ffloor):
5833 * floatfns.c (in_float_error):
5834 * fileio.c (Ffile_modes):
5835 * fileio.c (Fexpand_file_name):
5836 * fileio.c (Fmake_temp_name):
5837 * fileio.c (Ffile_name_nondirectory):
5838 * fileio.c (Ffile_name_directory):
5840 * file-coding.c (vars_of_mule_coding):
5841 * file-coding.c (convert_to_external_format):
5842 * file-coding.c (encoding_marker):
5843 * file-coding.c (decoding_marker):
5844 * file-coding.c (Fcopy_coding_system):
5845 * file-coding.c (Fmake_coding_system):
5846 * file-coding.c (struct coding_system_list_closure):
5847 * file-coding.c (Ffind_coding_system):
5848 * file-coding.c (symbol_to_eol_type):
5850 * faces.h (struct face_cachel):
5851 * faces.c (vars_of_faces):
5852 * faces.c (face_property_was_changed):
5853 * faces.c (mark_face_cachels):
5854 * faces.c (temporary_faces_list):
5855 * faces.c (struct face_list_closure):
5857 * extents.h (struct extent):
5858 * extents.c (vars_of_extents):
5859 * extents.c (struct copy_string_extents_1_arg):
5860 * extents.c (add_string_extents_mapper):
5861 * extents.c (Fextent_property):
5862 * extents.c (Fset_extent_property):
5863 * extents.c (symbol_to_glyph_layout):
5864 * extents.c (properties_equal):
5865 * extents.c (print_extent):
5866 * extents.c (print_extent_1):
5867 * extents.c (extent_in_region_p):
5868 * extents.c (gap_array_make_gap):
5870 * events.h (struct Lisp_Event):
5872 * events.c (Fevent_properties):
5873 * events.c (format_event_object):
5874 * events.c (Fmake_event):
5875 * events.c (event_equal):
5876 * events.c (print_event):
5877 * events.c (mark_event):
5878 * event-stream.c ((read-char)
5879 * event-stream.c (vars_of_event_stream):
5880 * event-stream.c (syms_of_event_stream):
5881 * event-stream.c (Fset_recent_keys_ring_size):
5882 * event-stream.c (Fsit_for):
5883 * event-stream.c (Fnext_event):
5884 * event-stream.c (execute_help_form):
5885 * event-stream.c (maybe_kbd_translate):
5887 * event-msw.c (vars_of_event_mswindows):
5888 * event-msw.c (mswindows_wnd_proc):
5889 * event-msw.c (mswindows_need_event):
5890 * event-msw.c (mswindows_drain_windows_queue):
5891 * event-msw.c (mswindows_pump_outstanding_events):
5893 * event-msw.c (slurp_thread):
5894 * event-msw.c (struct ntpipe_slurp_stream):
5895 * event-msw.c (HANDLE_TO_USID):
5896 * event-Xt.c (emacs_Xt_handle_magic_event):
5897 * event-Xt.c (x_event_to_emacs_event):
5898 * event-Xt.c (x_reset_modifier_mapping):
5899 * event-Xt.c (x_reset_key_mapping):
5901 * eval.c (syms_of_eval):
5902 * eval.c (warn_when_safe):
5903 * eval.c (warn_when_safe_lispobj):
5904 * eval.c (Fbacktrace_frame):
5905 * eval.c (Fbacktrace):
5906 * eval.c (top_level_set):
5907 * eval.c (unbind_to_hairy):
5908 * eval.c (specbind_magic):
5909 * eval.c (specbind_unwind_wasnt_local):
5910 * eval.c (call2_trapping_errors):
5911 * eval.c (call1_trapping_errors):
5912 * eval.c (catch_them_squirmers_call2):
5913 * eval.c (call0_trapping_errors):
5914 * eval.c (run_hook_trapping_errors):
5915 * eval.c (catch_them_squirmers_eval_in_buffer):
5916 * eval.c (call4_in_buffer):
5917 * eval.c (call3_in_buffer):
5918 * eval.c (call2_in_buffer):
5919 * eval.c (call1_in_buffer):
5920 * eval.c (call0_in_buffer):
5921 * eval.c (run_hook):
5922 * eval.c (run_hook_with_args_in_buffer):
5925 * eval.c (do_autoload):
5926 * eval.c (un_autoload):
5927 * eval.c (Fautoload):
5928 * eval.c (Finteractive_p):
5929 * eval.c (Fcommand_execute):
5930 * eval.c (signal_quit):
5931 * eval.c (call_with_suspended_errors):
5932 * eval.c (signal_error):
5933 * eval.c (return_from_signal):
5934 * eval.c (Fcall_with_condition_handler):
5935 * eval.c (run_condition_case_handlers):
5936 * eval.c (condition_case_1):
5937 * eval.c (Funwind_protect):
5938 * eval.c (unwind_to_catch):
5939 * eval.c (internal_catch):
5940 * eval.c (Fmacroexpand_internal):
5941 * eval.c (Fuser_variable_p):
5942 * eval.c (Fdefconst):
5944 * eval.c (Ffunction):
5945 * eval.c (signal_call_debugger):
5946 * eval.c (call_debugger):
5949 * emacs.c (sort_args):
5953 * editfns.c (Fencode_time):
5954 * editfns.c (Fdecode_time):
5955 * editfns.c (Fuser_full_name):
5957 * editfns.c (save_excursion_restore):
5960 * doprnt.c (emacs_doprnt_1):
5961 * doc.c (verify_doc_mapper):
5962 * doc.c (Fsnarf_documentation):
5963 * doc.c (Fdocumentation):
5965 * dired.c (user_name_completion):
5966 * dired.c (Fdirectory_files):
5969 * dgif_lib.c (FreeSavedImages):
5970 * dgif_lib.c (DGifGetImageDesc):
5972 * device.h (struct device):
5973 * device.c (Fselect_device):
5974 * device.c (allocate_device):
5976 * device-x.c (Fx_keysym_on_keyboard_p):
5977 * device-x.c (Fx_valid_keysym_name_p):
5978 * device-x.c (x_IO_error_handler):
5979 * device-x.c (x_delete_device):
5980 * device-x.c (x_finish_init_device):
5981 * device-x.c (x_init_device):
5983 * device-msw.c (mswindows_init_device):
5985 * database.c (vars_of_database):
5986 * database.c (Fput_database):
5987 * database.c (Fopen_database):
5988 * database.c (berkdb_remove):
5989 * database.c (berkdb_put):
5990 * database.c (Fdatabasep):
5991 * database.c (print_database):
5993 * data.c (vars_of_data):
5994 * data.c (syms_of_data):
5995 * data.c (init_errors_once_early):
5996 * data.c (prune_weak_lists):
5997 * data.c (finish_marking_weak_lists):
5998 * data.c (print_weak_list):
6000 * data.c (Fstring_to_number):
6001 * data.c (Fnumber_to_string):
6002 * data.c (Findirect_function):
6005 * data.c (Fsubr_interactive):
6007 * data.c (Fkeywordp):
6010 * console.h (CONSOLE_NAME):
6012 * console.c (vars_of_console):
6013 * console.c (Fselect_console):
6015 * console-x.h (DEVICE_X_COLORMAP):
6016 * console-x.h (struct x_device):
6017 * console-x.c (x_device_to_console_connection):
6018 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
6019 * console-tty.c (tty_init_console):
6021 * console-msw.h (struct mswindows_frame):
6024 * cmds.c (internal_self_insert):
6025 * cmds.c (Fforward_line):
6026 * cmds.c (Fforward_char):
6029 * chartab.c (mark_char_table_entry):
6031 * casefiddle.c (casify_word):
6032 * callproc.c (child_setup):
6033 * callproc.c (Fcall_process_internal):
6035 * callint.c (Fcall_interactively):
6037 * bytecode.c (execute_rare_opcode):
6038 * bytecode.c (execute_optimized_program):
6041 * buffer.h (BUFFER_REALLOC):
6042 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
6043 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
6045 * buffer.h (MAP_INDIRECT_BUFFERS):
6046 * buffer.h (CHECK_LIVE_BUFFER):
6047 * buffer.c (init_initial_directory):
6048 * buffer.c (complex_vars_of_buffer):
6049 * buffer.c (vars_of_buffer):
6050 * buffer.c (finish_init_buffer):
6051 * buffer.c (Fget_file_buffer):
6052 * buffer.c (Fbuffer_list):
6053 * buffer.c (mark_buffer):
6054 * balloon_help.c (balloon_help_move_to_pointer):
6055 * balloon_help.c (show_help):
6058 * alloc.c (garbage_collect_1):
6059 * alloc.c (sweep_strings):
6060 * alloc.c (sweep_compiled_functions):
6061 * alloc.c (sweep_bit_vectors_1):
6062 * alloc.c (sweep_vectors_1):
6063 * alloc.c (sweep_lcrecords_1):
6064 * alloc.c (tick_lcrecord_stats):
6065 * alloc.c (pure_string_sizeof):
6066 * alloc.c (mark_conses_in_list):
6067 * alloc.c (mark_object):
6068 * alloc.c (report_pure_usage):
6069 * alloc.c (make_pure_float):
6070 * alloc.c (make_pure_string):
6071 * alloc.c (free_managed_lcrecord):
6072 * alloc.c (mark_string):
6073 * alloc.c (noseeum_make_marker):
6074 * alloc.c (allocate_event):
6075 * alloc.c (Fbit_vector):
6076 * alloc.c (Fvector):
6077 * alloc.c (make_float):
6078 * alloc.c (Fmake_list):
6080 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
6081 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
6082 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
6083 * alloc.c (dbg_constants):
6084 * alloc.c (gc_record_type_p):
6085 * alloc.c (free_lcrecord):
6086 * alloc.c (xmalloc):
6087 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
6089 * Makefile.in.in (mostlyclean):
6090 * Makefile.in.in (external_client_xlib_objs_nonshared):
6091 * Makefile.in.in (temacs_link_args):
6092 * Makefile.in.in (release):
6093 * Makefile.in.in (dnd_objs):
6094 * Makefile.in.in (objs):
6095 * Makefile.in.in (PROGNAME):
6096 * EmacsShell.c: cast strings to (XtPointer)
6097 * EmacsFrame.c: cast strings to (XtPointer)
6099 - rewrite basic lisp functions for speed
6100 - rewrite bytecode interpreter for speed
6101 - rewrite list looping constructs for speed and safety using
6103 - use size_t where appropriate.
6104 - new hashtable implementation
6105 - cleanup implementation of opaques
6106 - opaques can now be purecopy'ed
6107 - move some cl functionality into C for speed.
6108 - remove last remaining VMS support
6110 - improve gdb/dbx debugger support
6111 - move pure.c back into alloc.c for performance
6112 - enable report_pure_usage() if --memory-usage-stats
6113 - remove remnants of Energize support (EMACS_BTL, cadillac...)
6114 - don't use symbols with leading `_' or embedded `__'
6115 - globally cleanup duplicated semicolons `;;'
6116 - I give in on %p vs %lx - we use printf("%lx",(long) p)
6118 - globally replace O_NDELAY with O_NONBLOCK.
6119 - globally replace CDISABLE with _POSIX_VDISABLE.
6120 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
6121 - define (and maybe use!) STDERR_FILENO and friends.
6122 - add support for macros defined in C
6123 - `when', `unless', `not' and `defalias' now defined in C,
6124 so that they are universally available.
6125 - rename defvar_mumble to defvar_magic
6126 - rename RETURN__ to RETURN_SANS_WARNINGS
6127 - use consistent style of initial caps in error messages
6128 - implement last, butlast, nbutlast, copy-list in C.
6129 - provide typedefs for all struct Lisp_foo types
6130 - Lisp_Objects must be initialized to Qnil rather than 0.
6131 - make sure XEmacs runs (slowly) with always_gc == 1;
6132 - fast and safe LOOP_* macros
6133 - change calls to XSETOBJ to XSETFOO
6134 - replace calls to XSETINT by make_int()
6135 - plug up memory leaks
6136 - use style markobj (foo), not silly ((markobj) (foo))
6137 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
6139 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
6141 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
6143 1998-11-28 SL Baur <steve@altair.xemacs.org>
6145 * XEmacs 21.2-beta4 is released.
6147 1998-11-27 SL Baur <steve@altair.xemacs.org>
6149 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
6150 property in control-1 charset.
6151 From Julian Bradfield <jcb@daimi.au.dk>
6153 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
6155 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
6157 Add stub for :label.
6159 * gui.c (gui_item_add_keyval_pair): ditto.
6161 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
6162 :key-sequence keyword.
6164 Support :active for submenus like the Windows code and FSF Emacs.
6166 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
6168 * dired.c (make_directory_hash_table): make_string() is OK because
6169 readdir() Mule-encapsulates.
6171 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
6173 * fns.c (Fbase64_encode_string): Fix docstring.
6174 (Fbase64_decode_string): Ditto.
6176 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
6178 * editfns.c (Ftranslate_region): Use
6179 convert_bufbyte_string_into_emchar_string().
6181 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6183 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
6185 (Ftranslate_region): Turn table into an array of Emchars for
6188 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6190 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
6192 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
6194 * chartab.c (Freset_char_table): Don't blindly fill chartables of
6195 type `char' with nils.
6197 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
6198 for tables of type `char'.
6200 1998-11-26 Didier Verna <verna@inf.enst.fr>
6202 * input-method-xlib.c (Initialize_Locale): don't call
6203 XtSetLanguageProc. We've done the whole work here.
6204 * input-method-xfs.c (Initialize_Locale): ditto.
6205 * input-method-motif.c (Initialize_Locale): ditto.
6207 1998-11-26 Didier Verna <verna@inf.enst.fr>
6209 * process-unix.c (unix_create_process): handle properly
6210 Vfile_name_coding_system for converting the program and directory
6213 1998-11-27 SL Baur <steve@altair.xemacs.org>
6215 * m/arm.h: New file.
6216 From James LewisMoss <dres@ioa.com>
6218 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6221 Fix the realpath() problem of UnixWare2.1.3.
6222 Patches for NEC's sysv4.2 machine.
6224 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6226 * dired.c (Fdirectory_files): Remove redundant code.
6228 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6230 * fns.c (free_malloced_ptr): New function.
6231 (XMALLOC_OR_ALLOCA): New macro.
6232 (XMALLOC_UNBIND): Ditto.
6233 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
6234 to be freed in case of non-local exit.
6235 (Fbase64_encode_string): Ditto.
6236 (Fbase64_decode_region): Ditto.
6237 (Fbase64_decode_string): Ditto.
6238 (STORE_BYTE): New macro.
6239 (base64_decode_1): Use it.
6241 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6243 * fns.c (base64_value_to_char): Base64 stuff.
6245 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
6247 * editfns.c (Fbuffer_substring): New function.
6249 * lisp.h: Declare make_string_from_buffer_no_extents().
6251 * insdel.c (make_string_from_buffer_1): New function.
6252 (make_string_from_buffer_no_extents): Ditto.
6254 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6256 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
6257 sound work on AIX with OSS installed. Linux should still work.
6259 1998-11-03 Andy Piper <andyp@parallax.co.uk>
6261 * config.h.in: name change for cygwin/version.h
6263 * configure.in: check for cygwin/version.h now.
6265 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
6266 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
6267 move cygwin32/version.h to cygwin/version.h
6269 1998-11-03 Olivier Galibert <galibert@pobox.com>
6271 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
6274 1998-10-22 Andy Piper <andyp@parallax.co.uk>
6276 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
6277 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
6278 enable BROKEN_SIGIO under b20 to make QUIT work.
6280 1998-10-22 Andy Piper <andyp@parallax.co.uk>
6282 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
6283 to fit within the constraints of the screen size. I.e. make the
6284 frame small enough to fit and move it if some of it will be
6287 1998-10-19 Greg Klanderman <greg@alphatech.com>
6289 * dired.c: conditionalize inclusion of user-name-completion
6290 primitives on non-Windows NT. The needed functions don't exist on NT.
6292 1998-11-24 SL Baur <steve@altair.xemacs.org>
6294 * gifrlib.h: Clean up types for 64 bit compile.
6295 * dgif_lib.c (DGifInitRead): Ditto.
6296 (MakeSavedImage): Ditto.
6297 * emacs.c (decode_path): Ditto.
6298 From Steve Carney <carney@pa.dec.com>
6300 1998-10-16 William M. Perry <wmperry@aventail.com>
6302 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
6303 (cehckboxes instead of checkboxes).
6305 1998-10-15 SL Baur <steve@altair.xemacs.org>
6307 * XEmacs 21.2-beta3 is released.
6309 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
6311 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
6312 gnuclient. Otherwise, we run xemacs as we always did. This gets
6313 rid of the annoying DOS window when running gnuclient.
6315 1998-10-13 Andy Piper <andyp@parallax.co.uk>
6317 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
6318 HAVE_MS_WINDOWS typo.
6320 1998-10-13 SL Baur <steve@altair.xemacs.org>
6322 * process-unix.c (unix_send_process): Set closed flag on writable
6323 pipe after SIGPIPE is received and before we call deactivate_process.
6325 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
6327 * window.c (Fset_window_start): respect narrowing when
6328 checking wheter start is at the beginning of a line.
6329 (Fset_window_buffer): Ditto
6330 Fixes repeatable crash in VM.
6332 1998-10-09 SL Baur <steve@altair.xemacs.org>
6334 * window.c (specifier_vars_of_window): Set default vertical
6335 divider width to 1 on ttys.
6337 1998-10-08 Martin Buchholz <martin@xemacs.org>
6342 Add <stddef.h> to get ptrdiff_t declaration
6344 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
6346 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
6347 is used for Motif or Lucid scrollbars under X.
6349 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
6351 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
6354 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6356 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
6358 1998-10-05 Andy Piper <andyp@parallax.co.uk>
6360 * s/cygwin32.h: more cygwin b20 reorganisation.
6362 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
6364 * nas.c: Added necessary support functions to be able to handle
6365 WAVE files in memory, just like the support for SND files in
6368 1998-09-30 SL Baur <steve@altair.xemacs.org>
6370 * callproc.c (child_setup): Fix spelling typo.
6372 1998-09-29 SL Baur <steve@altair.xemacs.org>
6374 * XEmacs 21.2-beta2 is released.
6376 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
6378 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
6379 to prevent memory corruption in the case of jumping out of a series of
6380 nested match patterns. This is a rather brute force approach, though.
6382 1998-09-02 Andy Piper <andyp@parallax.co.uk>
6384 * config.h.in: ditto.
6386 * s/cygwin32.h: rearrange declarations to cope with cygwin
6387 b20. Include cygwin32/version.h if it exists.
6389 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
6391 * device-msw.c (mswindows_init_device): Call new
6392 mswindows_enumerate_fonts() function in objects-msw.c instead
6393 of font_enum_callback_1() to enumerate fonts.
6395 font_enum_callback_1() and _2() moved to objects-msw.c.
6397 * faces.c (complex_vars_of_faces): Make the mswindows default
6398 face font fully specified and provide some fallbacks.
6400 * objects-msw.c: font_enum_callback_1() and _2() moved here
6401 from objects-msw.c. Obtain the enumerated font's character
6402 sets by table lookup instead of using the locale-specific
6403 string provided by Windows.
6405 New public non-method mswindows_enumerate_fonts() that fills
6406 in the supplied mswindows device's font list.
6408 mswindows_initialize_font_instance: Use the supplied name
6409 variable instead of f->name when signalling errors. Match font
6410 weights and character sets using lookup tables which handle
6411 spaces instead of by frobbing.
6413 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
6415 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
6416 on the size of code fragments passed to run_in_other_process.
6418 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
6419 the amount of memory to allocate in the other process.
6421 Removed sigkill_code_end(), sigint_code_end() and
6422 sig_enable_code_end() since they are now redundant.
6424 send_signal() and enable_child_signals(): Don't try to work
6425 out the end of the code fragments passed to
6426 run_in_other_process()
6428 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6430 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
6433 * src/unexelf.c: Partially synched with FSF's 20.3.
6435 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
6437 * insdel.c (signal_after_change): Map across indirect buffers
6438 here, and not in the upper-level functions.
6439 (signal_first_change): Don't check for Armageddon.
6440 (signal_before_change): Map across indirect buffers here.
6441 (prepare_to_modify_buffer): ...and here.
6443 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
6445 * insdel.c (signal_after_change): Add return value.
6446 (buffer_insert_string_1): Use it.
6447 (buffer_delete_range): Ditto.
6448 (buffer_replace_char): Ditto.
6449 (cancel_multiple_change): Map the indirect buffers.
6451 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6453 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6454 (uninit_buffer_text): Ditto.
6456 * buffer.c (Fmake_indirect_buffer): Implement stricter
6459 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
6461 * insdel.c (change_function_restore): Reverse order of
6462 function-call and assignment.
6463 (first_change_hook_restore): Ditto.
6465 * extents.c (mark_extent_auxiliary): Mark them.
6466 (Fset_extent_property): Set them.
6467 (Fextent_property): Get them.
6468 (Fextent_properties): Ditto.
6469 (vars_of_extents): Set their default.
6471 * extents.h (struct extent_auxiliary): Add before_change_functions
6472 and after_change_functions.
6474 * insdel.c (signal_before_change): Use it.
6475 (signal_after_change): Ditto.
6477 * extents.c (report_extent_modification): New function.
6479 * insdel.c (signal_before_change): Don't check for Armageddon.
6480 (signal_after_change): Ditto.
6482 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6484 * redisplay.c (redisplay_window): make sure a new starting point
6485 is chosen if it somehow got moved from the beginning of the line
6486 -- this can happen because Fwiden was called recently.
6488 * window.c (Fset_window_start): set start_at_line_beg correctly
6489 (Fset_window_buffer): Ditto
6491 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6493 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6494 (uninit_buffer_text): Ditto.
6496 * buffer.c (Fmake_indirect_buffer): Implement stricter
6499 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
6501 * emacs.c (main_1): Removed references to *vars_of_filelock.
6503 * lisp.h: Added Fsystem_name.
6505 * filelock.c: Replaced by version from FSF 20.2. Now implements
6506 locking by using symlinks which is NFS safe. However keep the
6507 GCPRO's in lock_file and the calls to callx_in_buffer like our old
6508 version (and of course use ansi C, acessor macros, etc).
6510 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
6512 * process-unix.c (unix_create_process): Reset SIGHUP handler to
6513 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
6514 in init_signals_very_early. However these should not be passed
6515 on to children attached to the new pty.
6517 1998-08-28 Andy Piper <andyp@parallax.co.uk>
6519 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
6521 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
6523 * fileio.c (file-name-directory, file_name_as_directory):
6524 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
6526 1998-09-02 Andy Piper <andyp@parallax.co.uk>
6528 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
6530 * ralloc.c: uncomment __morecore.
6532 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
6534 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
6535 WriteFile() to fix a winsock 1.x bug on Win95.
6537 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
6539 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
6541 (x_event_to_emacs_event): Ditto.
6542 (emacs_Xt_handle_focus_event): Ditto.
6543 (emacs_Xt_handle_magic_event): Ditto.
6545 * console-x.h (struct x_device): New flag being_deleted.
6546 (DEVICE_X_BEING_DELETED): New macro.
6548 * device-x.c (x_IO_error_handler): Throw to top-level instead of
6549 returning. Before doing that, set the being_deleted flag on the
6552 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
6554 * device-x.c (x-seppuku-on-epipe): Removed.
6556 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6558 * frame-x.c (x_delete_frame): Flush the X output buffer after
6559 calling XtDestroyWidget to ensure that the windows are really
6562 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
6564 * menubar-x.c (my_run_hook): New unused function.
6565 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
6566 since we ignore the results of the contained functions anyway.
6568 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
6570 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
6571 interlaced GIF files that are smaller than 4 lines high...
6573 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6575 * buffer.c (map_over_sharing_buffers): Deleted.
6577 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
6579 * buffer.c (Fkill_buffer): Keep indirect_children updated while
6582 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6584 * insdel.c (buffer_insert_string_1): Advance the point bytind in
6586 (buffer_delete_range): Ditto.
6588 * marker.c (init_buffer_markers): Set point-marker to the value of
6589 point in an indirect buffer.
6591 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6593 * undo.c (undo_prelude): Test last-undo-buffer against base
6596 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
6598 * buffer.h (BUFFER_BASE_BUFFER): New macro.
6600 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6602 * insdel.c (init_buffer_text): Initialize it here.
6604 * line-number.c: Address line_number_cache through buffer->text.
6606 * buffer.c (mark_buffer): Mark line number cache.
6608 * bufslots.h (line_number_cache): Move to struct buffer_text.
6610 * insdel.c (buffer_insert_string_1): Propagate signals and changes
6611 across the children buffers.
6612 (buffer_delete_range): Ditto.
6613 (buffer_replace_char): Ditto.
6617 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
6619 * buffer.c (Fmake_indirect_buffer): Uncomment.
6621 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6623 * macros.c (Fend_kbd_macro): Remove trailing period from error
6625 (Fexecute_kbd_macro): Ditto.
6627 1998-08-21 Greg Klanderman <greg@alphatech.com>
6629 * dired.c (Fuser_name_completion): remove optional 2nd argument.
6630 (Fuser_name_completion_1): new function to return uniqueness
6631 indication in addition to the user name completion.
6632 (user_name_completion): change type of `uniq' argument.
6634 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6636 * lread.c (vars_of_lread): Removed `source-directory' variable.
6638 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
6640 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
6643 1998-08-19 SL Baur <steve@altair.xemacs.org>
6645 * dired.c (vars_of_dired): Fix misapplied patch.
6647 1998-08-16 Martin Buchholz <martin@xemacs.org>
6649 * fns.c (Fremrassq, remrassq_no_quit):
6650 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
6652 1998-07-17 Didier Verna <verna@inf.enst.fr>
6654 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
6655 style as foreground GC for faces that have the `dim' property.
6656 (x_output_string): when the `dim' face property is set,
6657 ensure the gray pixmap has been created, and get a proper
6658 foreground GC to draw the text.
6660 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6662 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
6663 Manually track the state of the left and right Ctrl and Alt
6666 1998-08-07 Matt Stupple <matts@tibco.com>
6668 * ntproc.c: don't wait on char_consumed at thread entry.
6669 Additionally, to get the 'process' marked as finished, ensure
6670 that the CHILD_ACTIVE macro returns false, so before exiting
6671 close char_avail and set it to NULL, and close other handles
6672 to reduce handle leak problems.
6674 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6676 * menubar-msw.c (displayable_menu_item): take account of menu
6677 depth when deciding whether to try to display accelerators.
6679 1998-08-04 Andy Piper <andyp@parallax.co.uk>
6681 * event-msw.c: use MsgWaitForMultipleObjects if there are no
6684 * glyphs-msw.c: fix a couple of potential handle leaks.
6686 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
6688 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
6689 *decoding ONLY* back into the core.
6690 * glyphs-eimage.c: Change referenced header file for GIF
6691 reading to point to the incore version.
6693 1998-07-20 Martin Buchholz <martin@xemacs.org>
6695 * casefiddle.c (casify_object):
6696 Change algorithm from O(N**2) to O(N).
6700 1998-07-22 Greg Klanderman <greg@alphatech.com>
6702 * dired.c (file_name_completion_unwind): don't leak the cons.
6704 1998-07-20 Greg Klanderman <greg@alphatech.com>
6706 * dired.c (Fuser_name_completion): new function.
6707 (Fuser_name_all_completions): new function.
6708 (user_name_completion): new function.
6709 (syms_of_dired): 2 new DEFSUBRs.
6710 (vars_of_dired): initialize user name cache vars.
6712 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
6714 * glyphs-eimage.c (png_instantiate): Add proper handling for background
6715 colors taken from the default face. Also correct a thinko in
6716 transparency (not alpha) handling.
6718 1998-07-23 Martin Buchholz <martin@xemacs.org>
6720 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
6721 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
6722 * lread.c (Fload_internal): Be very careful with printfs of
6724 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
6727 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6729 * callint.c (Fcall_interactively): GCPRO prompt string before
6730 passing it to Fread_key_sequence
6732 1998-07-27 SL Baur <steve@altair.xemacs.org>
6734 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
6735 Vvertical_divider_map.
6737 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
6738 Qnil or 0, none were initialized prior to this change.
6740 Rename misnamed `V' prefixed integer variables:
6741 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
6742 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
6743 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
6744 Vcanna_ichiran_revLen.
6746 Rename misnamed `V' prefixed integer variables and initialize
6747 properly in the vars_of routine.
6748 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
6749 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
6750 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
6751 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
6752 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
6753 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
6754 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
6755 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
6756 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
6757 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
6758 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
6759 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
6760 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
6761 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
6762 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
6763 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
6764 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
6765 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
6766 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
6767 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
6768 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
6769 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
6770 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
6771 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
6772 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
6773 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
6774 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
6775 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
6776 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
6777 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
6778 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
6779 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
6780 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
6781 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
6782 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
6783 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
6784 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
6785 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
6786 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
6787 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
6788 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
6789 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
6790 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
6791 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
6792 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
6793 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
6795 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
6797 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
6798 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
6799 keys thus no longer considering all keysyms on a key.
6801 1998-07-19 SL Baur <steve@altair.xemacs.org>
6803 * XEmacs 21.2-beta1 is released.
6805 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6807 * eldap.c (Fldap_search_internal): When converting the list of
6808 attributes to search Copy the final 0 from Lisp strings to C
6810 Check base, not Vldap_default_base as a a string
6812 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
6814 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
6816 * unexnt.c: Unconditionally define bss_start and bss_size, and
6817 ensure that they don't go in the .bss section.
6819 1998-07-17 Olivier Galibert <galibert@pobox.com>
6821 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
6822 byte order is dependant of the local byte order).
6823 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6825 1998-07-18 SL Baur <steve@altair.xemacs.org>
6827 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
6828 Qmswindows_resource.
6829 From Jonathan Harris <jhar@tardis.ed.ac.uk>
6831 1998-07-12 SL Baur <steve@altair.xemacs.org>
6833 * general.c (syms_of_general): Add defsymbol for Qresource.
6835 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
6836 Qmswindows_resource.
6837 (TopLevel): Rename 'resource image format to 'mswindows_resource.
6838 (mswindows_resource_validate): Rename.
6839 (mswindows_resource_normalize): Rename.
6840 (mswindows_resource_possible_dest_types): Rename.
6841 (mswindows_resource_instantiate): Rename.
6842 (image_instantiator_format_create_glyphs_mswindows): Replace
6843 `resource' with `mswindows.resource'.
6845 * XEmacs 21.0-pre5 is released.
6847 1998-07-10 SL Baur <steve@altair.xemacs.org>
6849 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
6850 server type in environment.
6851 Use alloca-ed strings instead of tiny fixed size ones.
6853 1998-07-09 SL Baur <steve@altair.xemacs.org>
6855 * XEmacs 21.0-pre4 is released.
6857 1998-07-01 James N. Potts <jnpotts@plutonium.net>
6859 * fileio.c: (expand_file_name): under win32: Don't treat names
6860 as UNC names if a drive letter has been specified. If a drive
6861 has been specified, strip out extra directory-seperators that
6862 reportedly cause problems under Win95.
6864 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6866 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
6867 MSVC >= 5.0. Put emacs init and zero-init data in a special
6868 section of the executable when this is defined.
6870 * unexnt.c, ntheap.h:
6871 Removed unused find_section() and get_section_size().
6874 Fix up the executable's checksum after dumping otherwise the
6876 When DUMP_SEPARATE_SECTION is defined, don't need to dump
6877 zero-init data separately from init data. Dump emacs data
6878 into a special section of the executable.
6879 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
6880 my_ebss instead of up to the end of bss.
6882 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6884 * filelock.c: Removed Vconfigure_lock_directory - already
6887 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
6888 defined in frame.c and general.c respectively.
6890 * glyphs-msw.c: Removed Qresource - already defined in
6893 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6895 * eldap.c (Fldap_search_internal): Docstring fixes
6897 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
6899 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
6900 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
6901 EMACSPACKAGEPATH and INFOPATH variables.
6902 Removed unused get_emacs_configuration function.
6904 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
6905 it is now defined at build-time by the makefile.
6907 1998-07-01 James N. Potts <jnpotts@plutonium.net>
6909 * fileio.c: (expand_file_name): under win32: Don't treat names as
6910 UNC names if a drive letter has been specified. If a drive has
6911 been specified, strip out extra directory-seperators that
6912 reportedly cause problems under Win95.
6914 1998-07-05 Andy Piper <andyp@parallax.co.uk>
6916 * faces.c (complex_vars_of_faces): for the gui-element face don't
6917 fallback to the default face, instead provide reasonable default
6918 fallbacks that were previously hardcoded elsewhere.
6920 1998-07-06 Olivier Galibert <galibert@pobox.com>
6922 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
6923 when the X server endianness is different than the client's one.
6925 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6927 * eval.c (run_hook_with_args_in_buffer): Check
6928 default (non-buffer-local) value of hook for
6929 nil before treating it as a function. Don't initialize
6930 the `globals' variable twice.
6932 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
6934 * fileio.c: Don't do directory seperator canonicalisation in
6935 substitute-in-file-name because we don't know that the
6936 filename refers to a local file.
6938 1998-06-24 Adrian Aichner <adrian@xemacs.org>
6940 * process-nt.c (nt_create_process): Try appending the standard
6941 executable file extensions to the filename if none supplied.
6943 1998-06-29 SL Baur <steve@altair.xemacs.org>
6945 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
6947 From Keisuke Mori <ksk@ntts.com>
6949 1998-06-24 Andy Piper <andyp@parallax.co.uk>
6951 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
6952 images if we have masks. This handles the xbm case (have masks)
6953 and avoids overuse of resources in the xpm case (generally no masks).
6954 Don't output small toolbars.
6956 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6958 * eval.c (run_hook_with_args_in_buffer): Don't treat
6959 the default value of a buffer local hook as a list of
6960 hooks unless it is both a cons and the car of that cons
6963 1998-06-29 SL Baur <steve@altair.xemacs.org>
6965 * extents.c: Email address for Ben Wing is ben@xemacs.org.
6966 * process-unix.c: Ditto.
6967 * mule-coding.h: Ditto.
6968 * mule-coding.c: Ditto.
6969 * mule-charset.c: Ditto.
6970 * mule-charset.h: Ditto.
6971 * file-coding.c: Ditto.
6972 * file-coding.h: Ditto.
6974 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
6976 * event-msw.c: Guard against recursion when freeing
6977 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
6979 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
6980 Call ShowWindow twice in init_frame_3 to get round runemacs
6983 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
6985 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
6987 * winslots.h: Rename.
6989 * window.c (specifier_vars_of_window): Renamed
6990 vertical-divider-draggable-p to vertical-divider-always-visible-p,
6991 as suggested by Ben Wing.
6992 (specifier_vars_of_window): Fix docstrings.
6994 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6996 * unexaix.c: Line number information works correctly again.
6998 1998-06-22 Olivier Galibert <galibert@pobox.com>
7000 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
7002 1998-06-21 Martin Buchholz <martin@xemacs.org>
7004 * editfns.c (get_home_directory): ANSIfy.
7005 XEmacs is compilable under C *and* C++.
7006 It's XEmacs, not Xemacs!
7008 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7010 * console-msw.h: added a list of fonts to device data.
7012 * device-msw.c: enumerate list of available fonts in
7013 mswindows_init_device. Free list in mswindows_delete_device.
7015 * objects-msw.c: Added helper function match_font used by
7016 mswindows_initialize_font_instance and mswindows_list_fonts.
7017 Allow a charset to be specified in a font string, even if
7018 previous fields havn't been specified.
7020 1998-06-23 Greg Klanderman <greg@alphatech.com>
7022 * indent.c (column_at_point): column cache bugfix.
7023 Set last_known_column_point to the buffer position for
7024 which the column was requested, not buffer's point.
7026 * redisplay.c (decode_mode_spec): for current-column, show
7027 window's point's column, not buffer's point's column.
7029 1998-06-23 Andy Piper <andyp@parallax.co.uk>
7031 * menubar-msw.c (mswindows_handle_wm_command): use
7032 enqueue_misc_user event rather than
7033 mswindows_enqueue_msic_user_event to fix customize problems. Add some
7036 * console-msw.h: declare mswindows_enqueue_magic_event.
7038 * event-msw.c (mswindows_enqueue_magic_event): make global.
7040 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
7042 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
7043 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
7044 (add_position_to_cache): Use EMACS_INT instead of int.
7046 1998-06-21 Olivier Galibert <galibert@pobox.com>
7048 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
7049 suitable for an int used as a boolean (btw, C sucks.).
7051 1998-06-18 Andy Piper <andyp@parallax.co.uk>
7053 * object-msw.c: remove warnings.
7055 * device-msw.c: #define wrongly named cygwin structure elements.
7057 * s/cygwin32.h: define DEMI_BOLD
7059 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7061 * redisplay-msw.c: new function mswindows_apply_face_effects.
7062 This is called by output_string and output_cursor to display
7063 underline and strikeout on faces.
7065 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7067 * console-msw.h: added a list of fonts to device data.
7069 * device-msw.c: enumerate list of available fonts in
7070 mswindows_init_device. Free list in mswindows_delete_device.
7072 * objects-msw.c: Added helper function match_font used by
7073 mswindows_initialize_font_instance and mswindows_list_fonts.
7074 Allow a charset to be specified in a font string, even if
7075 previous fields havn't been specified.
7077 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
7080 Removed compilation warnings from mswindows_string_to_color.
7081 mswindows_list_fonts returns a more general bogus font.
7082 New lisp-visible function mswindows-color-list.
7084 1998-06-19 David Bush <david.bush@adn.alcatel.com>
7086 * editfns.c (Fuser_login_name): Modify to user new function
7088 (user_login_name): C only function to avoid Lisp object overhead
7089 Returns "unknown" instead of nil in Cygwin environment
7091 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
7092 equivalent for current user in Cygwin environment. Use new
7093 function user_login_name to get username.
7095 * lisp.h: Declare user_login_name
7097 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7099 * unexaix.c (make_hdr): Fixed bias computations so debugging info
7101 Some other insignificant nitpicks.
7103 1998-06-18 Andy Piper <andyp@parallax.co.uk>
7105 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
7106 creating the image list and make sure he bk color is transparent.
7108 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
7110 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
7111 completed_timeouts. The timer could have expired.
7113 1998-06-17 Andy Piper <andyp@parallax.co.uk>
7115 * console-msw.h: move XEMACS_RECT_WH inside frame
7116 parameters. define macors to access it.
7118 * frame-msw.c (mswindows_init_frame_1): use new target_rect
7119 parameter to intialise desired sizing. (mswindows_init_frame_2):
7120 enable and size the frame to something sensible when we get
7121 here. (mswindows_set_frame_properites): use new
7122 mswindows_size_frame_internal function and size frame if frame
7123 parameters not just if init is finished - WM_SIZE happens too
7124 early for some specs. (mswindows_size_frame_internal): new
7125 function abstracted from mswindows_set_frame_properties.
7126 (Vmswindows_use_system_frame_size_defaults):
7127 new variable controls whether to allow the system to pick frame
7128 size defaults, defaults to nil.
7130 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
7131 than duplicated code.
7133 1998-06-15 Colin Rafferty <colin@xemacs.org>
7135 * Makefile.in.in: Made EXTW_LINK expand properly.
7137 1998-06-12 Martin Buchholz <martin@xemacs.org>
7139 * redisplay.c (vars_of_redisplay): default value of
7140 column-number-start-at-one should be NIL!
7142 1998-06-11 Martin Buchholz <martin@xemacs.org>
7145 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
7147 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
7149 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
7150 build_string to avoid crashes under Mule.
7152 1998-06-13 Andy Piper <andyp@parallax.co.uk>
7154 * ntplay.c (play_sound_data_1): don't delete the sound data until
7155 the next sound is played and the previous one finished.
7157 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
7159 * fileio.c (directory-sep-char): Escape backslashes.
7161 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
7163 * event-stream.c: Fix docstring reference.
7165 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
7167 * alloc.c (make_float): Remove useless initialization of `next'
7169 (make_pure_float): Ditto.
7171 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
7173 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
7175 * fileio.c (Fmake_directory_internal): Remove conditionals
7176 on WINDOWSNT when calling mkdir.
7178 * ntproc.c: Deleted the following unused functions:
7179 register_child, reap_subprocess, sys_wait.
7181 * nt.c (sys_rename): Ifzeroed this implementation.
7182 Deleted the following unused functions:
7183 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
7184 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
7185 sys_read, sys_write.
7186 Merger sys_fopen and sys_open with sysdep.c implementation.
7188 * sysdep.c: Removed MS-DOS code.
7189 (sys_rename): Deal with Microsoft rename weirdness.
7190 (sys_open): Implemented for Windows.
7194 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
7196 * buffer.c (complex_vars_of_buffer): Removed %t description from
7199 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
7201 * scrollbar-msw.c: initialize the cbSize element of the
7202 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
7203 to ignore the value of cbSize, but Win95 (and I presume Win98)
7204 appear to want it set to sizeof(SCROLLINFO).
7206 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
7208 * event-stream.c: Defined Qcancel_mode_internal.
7209 (syms_of_event_stream): defsymbol'ed it.
7211 * events.h: Externed it.
7213 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
7215 1998-06-04 Oliver Graf <ograf@fga.de>
7217 * frame-x.c (x_cde_destroy_callback): free the data
7218 (cde-start-drag-internal) corrected root position, 21.1 needs this
7219 hardcoded in Button events
7220 (offix-start-drag-internal) corrected root position
7222 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
7224 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
7227 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
7229 * dialog-msw.c (button_width): Removed `inline' from the function
7232 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
7234 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
7235 Note that adding this flag to subsequent frames causes problems.
7237 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7239 * glyphs-eimage.c (png_instantiate) move 'struct
7240 png_memory_storage tbr' out of nested block to avoid dangling
7243 1998-06-02 Andy Piper <andyp@parallax.co.uk>
7246 * faces.c: rename 3d-object -> gui-element. add toolbar face which
7247 inherits from gui-element.
7249 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
7250 with existing code, generate masks correctly.
7252 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
7254 * glyphs-eimage.c: Changed included header for gifs to use
7255 Gifreader instead of giflib.
7257 * glyphs-x.c: removed the image-related functions that were
7258 moved into glyphs-eimage.
7260 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
7262 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
7263 if built without X Windows support.
7265 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
7267 * fns.c (Fconcat): Synch docstring with new reality.
7269 1998-06-03 SL Baur <steve@altair.xemacs.org>
7271 * frame.c: Remove reference to msdos.h (which is going away).
7272 Suggested by Hrvoje Niksic and Kirill Katsnelson.
7274 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
7276 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
7280 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7282 * events.h: Fixed commentary about misc-user scrollbar events.
7284 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
7285 object as an event channel, instead of window object.
7286 (x_update_horizontal_scrollbar_callback): Ditto.
7288 1998-05-29 Andy Piper <andyp@parallax.co.uk>
7290 * ntplay.c (play_sound_data_1) new function. convert alloca data
7291 to malloc if necessary.
7292 (play_sound_file): if the file is not in our path then convert to
7295 1998-06-01 SL Baur <steve@altair.xemacs.org>
7297 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
7298 * msdos.c (Frecent_doskeys): Ditto.
7300 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
7301 Suggested by Reggie Perry <perry@zso.dec.com>
7303 * buffer.h: Eliminate size in declaration.
7305 1998-06-01 Olivier Galibert <galibert@pobox.com>
7307 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
7309 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
7311 * gui.c (gui_item_init): Changed the default value for config member
7312 from Qunbound to Qnil.
7314 1998-06-01 Greg Klanderman <greg@alphatech.com>
7316 * indent.c (vmotion_pixels): Don't #define abs().
7318 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7320 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
7323 1998-05-30 Andy Piper <andyp@parallax.co.uk>
7325 * glyphs.h: add xbm declarations.
7327 * console.h: add xbm_instantiate_method device method.
7329 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
7330 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
7331 (xbm_possible_dest_types): moved here from glyphs-x.c. use
7332 locate_pixmap_file device method and read_bitmap_data_from_file
7333 instead of XmuReadBitmapDataFromFile.
7334 (xbm_instatntiate): make a device method.
7336 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
7337 new function that just calls XmuReadBitmapDataFromFile.
7338 (x_xbm_instatntiate): device method from xbm_instantiate.
7340 * glyphs-msw.c (read_bitmap_data) (NextInt)
7341 (read_bitmap_data_from_file): new functions copied from Xmu
7343 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
7344 inline data to an mswindows bitmap.
7345 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
7346 (mswindows_xbm_instantiate): mswindows-ized versions of the X
7349 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7351 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
7352 `modeline-visible-p'.
7353 Declared specifier lisp variables at the beginning oh the file
7356 * procimpl.h (struct process_methods): Changed semantics of
7357 create_process method so it accepts lisp strings instead of
7360 * process.c (Fstart_process_internal): Moved building of
7361 unix style argv from here to process-unix.c, ...
7363 * process-unix.c (unix_create_process): ... right here.
7365 * process-nt.c (nt_create_process): Changed this function to
7366 support new semantics, so avoided a GC problem.
7368 * events.c (Fmake_event): Document misc-user events properties.
7369 (Fmake_event): Do not allow arbitrary objects for channel property
7370 of misc-user events.
7371 (Fmake_event): Change misc-user event validation: it is function
7372 which is required, not button.
7374 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
7376 (mswindows_enqueue_misc_user_event): Added function.
7377 (mswindows_bump_queue): Removed function.
7378 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
7379 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
7380 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
7381 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
7382 really nothing, which is my personal favorite thing.
7384 * console-msw.h: Removed prototype for mswindows_bump_queue().
7385 Added prototype for mswindows_enqueue_misc_user_event().
7387 * menubar-msw.c (mswindows_handle_wm_command): Use
7388 mswindows_enqueue_misc_user_event().
7390 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7392 * dialog-msw.c (dialog_proc): Ditto.
7394 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
7395 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
7396 user events channel.
7398 1998-05-29 Greg Klanderman <greg@alphatech.com>
7400 * window.c (Fwindow_displayed_text_pixel_height): was relying on
7401 incorrect semantics of vmotion_pixels which has been fixed. don't
7402 use it anymore as it can't easily be used.
7404 * indent.c (vmotion_pixels): fix off by one bug moving up. also
7405 the motion was reported incorrectly if you tried to go past end of
7408 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7410 * toolbar.h: Removed misleading commentary, as Martin suggested.
7412 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7414 * lisp.h: Extern Qactivate_menubar_hook.
7416 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
7419 1998-05-29 Andy Piper <andyp@parallax.co.uk>
7421 * glyphs-msw.c: use BPLINE macro.
7423 * select-msw.c (mswindows-selection-exists-p)
7424 (mswindows-delete-selection): doc string fixes.
7426 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
7427 unpressable. warning elimination.
7429 1998-05-28 Martin Buchholz <martin@xemacs.org>
7431 * alloc.c (dbg_constants):
7434 Remove toolbar_data debugging code, since that lrecord has
7437 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
7439 * alloc.c: zap cached value of (user-home-directory), so that
7442 * buffer.c: From init_buffer(), separated out code that
7443 determined the initial directory for the *scratch* buffer, and
7444 put them into a function called "init_initial_directory()".
7445 The initial directory is now available as a global "char *"
7446 called initial_directory.
7448 * buffer.h: Added extern entries for initial_directory[] and
7449 init_initial_directory().
7451 * editfns.c: added new elisp function "user-home-directory",
7452 which basically returns getenv("HOME"), but attempts to use
7453 other values if $HOME isn't set.This may have to be tweaked in
7454 the future as, under Unix, "/" is used if $HOME isn't set (this
7455 probably should be set to the current directory). To support
7456 this, a new C function, "get_home_directory()", now exists,
7457 which returns the "home directory", as a "char *" string.
7459 * emacs.c: Rearrange NT initialization order so that
7460 environment/registry variables will be properly entered into
7461 Vprocess_enviroment.
7463 * fileio.c: replaced egetenv("HOME") with calls to the new
7464 get_home_directory().
7466 * lisp.h: Added function prototypes for uncache_home_directory()
7467 and get_home_directory(), along with lisp prototypes for
7468 Fuser_home_directory() and friends.
7470 * nt.c: replaced getenv("HOME") with calls to the new
7471 get_home_directory().
7473 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
7474 warnings about getcwd(), etc. not having prototypes.
7476 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
7478 * process-nt.c (send_signal): Emulate SIGHUP.
7479 (validate_signal_number): Ditto.
7481 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
7482 remove MOD_SHIFT from ASCII characters.
7483 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
7486 1998-05-24 Oliver Graf <ograf@fga.de>
7488 * frame-x.c (cde-start-drag-internal): added filename and multi-
7490 (x_cde_convert_callback) dito
7492 1998-05-26 Oliver Graf <ograf@fga.de>
7494 * frame-x.c: include event-mod.h also with CDE
7495 (x_cde_convert_callback) made the thing working
7496 (cde-start-drag-internal) also debugging
7498 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
7505 - add __OpenBSD__ where __NetBSD__ was found.
7506 - TODO: replace platform-specific conditional compilation by
7507 feature tests in configure.in.
7509 1998-05-15 Greg Klanderman <greg@alphatech.com>
7511 * window.c (Fwindow_displayed_text_pixel_height): New function.
7512 (syms_of_window): DEFSUBR it.
7514 * indent.c (Fvertical_motion_pixels): New function - request
7516 (vmotion_pixels): helper.
7517 (syms_of_indent): DEFSUBR.
7518 * lisp.h: declaration for vmotion_pixels().
7520 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
7521 to request returning motion in pixels.
7522 (Fvertical_motion_pixels): Remove, functionality merged into
7524 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
7525 (Fmove_to_window_line): ditto.
7526 * lisp.h: Change declaration for Fvertical_motion.
7528 * window.c: rename window-text-pixel-{height,width,edges} to
7529 window-text-area-pixel-*.
7531 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7533 * tooltalk.c (vars_of_tooltalk) added staticpro for
7534 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
7536 1998-05-27 Andy Piper <andyp@parallax.co.uk>
7538 * faces.c: create a new 3d_object_face, make modeline and
7539 vertical_divider faces fallback to this rather than the default.
7541 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7543 * s/cygwin32.h: define charsets for cygwin.
7545 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7547 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
7548 and coordinates. resize bitmaps if we have already settled on a
7551 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
7553 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
7555 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7557 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7561 * gui-x.c (popup_selection_callback): Ditto.
7563 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
7565 * gui.c (get_callback): Renamed to get_gui_callback.
7567 1998-05-17 Martin Buchholz <martin@xemacs.org>
7569 * glyphs.h: order rearrangement.
7571 * device-tty.c (tty_asynch_device_change): Warning suppression.
7572 * device-x.c (x_device_system_metrics): Warning suppression.
7573 Make Doc strings consistent with coding standards.
7575 1998-05-24 Martin Buchholz <martin@xemacs.org>
7577 * general.c: multiple definition of `Qicon'. general.c seems
7578 like a good home for Qicon.
7580 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7582 * This patch is to fix compilation warnings under Windows.
7584 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
7585 Added prototypes for FSF inherited functions, with which XEmacs is
7586 sprinkled thoroughly.
7587 Removed some #if 0 code. Bracketed some more definitions, probably
7588 related to Visual C versions prior to 4 (we do not support them).
7590 * sysfloat.h (logb): Finally, get logb() prototyped.
7592 * sysfile.h: Added Windows specific includes.
7593 Removed old Windows specific code bracketed with #if 0.
7595 * sysdep.h: Added prototype for xrealpath().
7597 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
7599 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
7600 vars_of_dired_mswindows and init_ntproc (Grrr).
7602 * realpath.c: Added Windows specific include files.
7603 (xrealpath): Conditionalized declaration of some auto variables on
7604 S_IFLNK, to avoid warnings.
7606 * ntproc.c: Disabled some compiler warnings. This file is going to
7607 die, so I have not cleaned it up much.
7608 (set_process_dir): Const parameter.
7609 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
7610 (Fwin32_long_file_name): Ditto.
7611 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
7614 * nt.h: Added prototypes for set_process_dir and convert_time.
7616 * nt.c: More include files.
7617 (getpwnam): Consted char* argument.
7618 (get_emacs_configuration): Const return value.
7619 (opendir): Const argument.
7620 (stat): Casted converstion long->short.
7621 (stat): Removed ad hoc and questionable support for non-MSC compile.
7622 (sys_pipe): Removed unused auto variable.
7623 (_sys_read_ahead): Removed calls to DebPrint.
7624 (sys_read): Ditto, in 2 places.
7625 (term_ntproc): Added unused int parameter to signal handler, to
7626 avoid a warning when compiling a call to signal().
7627 (msw_sigset): Properly return old signandler or NULL instead of void.
7629 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
7631 * gmalloc.c (morecore): Ditto.
7632 (_free_internal): Ditto.
7634 * lread.c (parse_integer): Ditto.
7636 * dired-msw.c: Added several include files.
7638 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
7639 of Compilers to Shut Up.
7641 * callproc.c: Added #includes to suppress warnings under Windows.
7642 (init_callproc): Removed #if0'ed code and unused variables.
7644 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7646 * device-msw.c (mswindows_device_system_metrics): do planes in a
7647 way consistent with X.
7649 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
7650 use SetPixel, use DIBits functions.
7651 (xpm_to_eimage): frob colors more closely like xpm deos.
7653 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
7654 to be closer to X version.
7656 * event-msw.c: use tooltip string directly.
7658 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
7660 * objects-msw.c: frob rgb colors that only Kyle uses.
7662 * dialog-msw.c (button_width): INLINE -> inline.
7664 1998-05-23 SL Baur <steve@altair.xemacs.org>
7666 * getloadavg.c (getloadavg): Fix typo.
7668 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7670 * objects-msw.c (mswindows_initialize_font_instance): Added support
7671 for font character sets.
7672 Replaced 'XXX' with '####' in comments throughout the file.
7674 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7676 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
7677 console_type_create_dialog_mswindows(), to initialize Windows dialog
7680 * symsinit.h: Prototyped the above functions.
7682 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
7683 checks to dialog.c...
7685 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
7686 device must support dialog boxes, and the descriptor must supply at
7689 * dialog-msw.c: New file, dialogs for Windows.
7691 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7693 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
7694 (Fldap_search_internal): Removed unused variable `err'
7696 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
7699 1998-05-17 Martin Buchholz <martin@xemacs.org>
7701 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
7702 defined. Therefore there is no need to handle the case when
7703 HAVE_LDAP is undefined. Similarily, there is no reason to have
7704 any code wrapped within `#ifdef emacs', since this code is only
7705 useful within an emacs. This simplifies the code significantly.
7707 * inline.c: Include eldap.h only if HAVE_LDAP.
7708 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
7711 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
7713 * unexnt.c (copy_executable_and_dump_data_section): Suppress
7714 printing dump stats when building without DEBUG_XEMACS.
7715 (dump_bss_and_heap): Ditto.
7717 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7719 * gnuclient.c: don't suppress window system if there is no display
7720 and we are running under mswindows. send 'mswindows device type if
7721 we are in this situation.
7723 1998-05-20 Andy Piper <andyp@parallax.co.uk>
7726 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
7728 * glyphs-msw.c: change cursor imgae type name to resource. Fix
7731 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7733 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
7734 {top,bottom}-{left,right} values in addition to
7735 {top,bottom}_{left,right}.
7737 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
7739 * fileio.c (Fmake_temp_name): Remove unreached code.
7741 * process-nt.c (validate_signal_number): Use
7742 signal_simple_error().
7744 1998-05-19 Martin Buchholz <martin@xemacs.org>
7747 * sound.c (vars_of_sound):
7748 * sysdep.c (reset_sigio_on_device):
7749 * window.c (window_bottom_gutter_height):
7750 unexhp9k800.c:258: warning: implicit declaration of function
7751 `calculate_checksum'
7752 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
7753 sysdep.c:1012: warning: unused variable `owner'
7754 window.c:993: warning: `window_right_toolbar_width' defined but not used
7756 1998-05-19 Andy Piper <andyp@parallax.co.uk>
7758 * glyphs-msw.c (mswindows_create_resized_mask)
7759 (mswindows_create_resized_bitmap): new funnctions split out from
7760 mswindows_resize_dibitmap_instance.
7762 * glyphs-msw.h: declare new resize functions.
7764 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
7765 functions so that the original bitmaps are preserved.
7767 * sheap.c: fixup static heap exhausted error to avoid FAQs.
7769 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
7770 color if we are trying to output 0 depth bg pixmap.
7772 * scrollbar-msw.c: warning elimination.
7774 1998-05-18 Martin Buchholz <martin@xemacs.org>
7776 * frame-x.c (x_update_frame_external_traits): Start preprocessor
7777 directives in column 1.
7779 * search.c (skip_chars): Avoid using xzero with arrays, since some
7780 compilers get confused by the construct &array.
7782 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7785 * objects-msw.c: Changed the charset value for a new font from
7786 "don't care" to "ansi".
7788 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
7790 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7792 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
7793 modifier on control chars.
7794 Use IsCharAlpha() instead of isaplha().
7796 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
7798 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
7800 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7802 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
7803 charset when creating font.
7804 (mswindows_initialize_color_instance): Do not create brush along
7806 (mswindows_finalize_color_instance): Do not delete it then.
7808 * objects-msw.h (struct mswindows_color_instance_data): Removed
7809 brush slot, and corresponding accessor macro.
7811 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7813 * toolbar.c: Removed toolbar_data lrecord implementation.
7814 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
7815 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
7816 (compute_frame_toolbar_buttons): Ditto.
7817 (CHECK_TOOLBAR): Ditto.
7818 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
7819 (update_frame_toolbars): Do not check for changed buffer
7820 here. Toolbar information is provided by cached specs in
7821 windows. The check for buffer is eliminated becuase toolbars are
7822 marked changed in set_frame_selected_window() in frame.c
7823 Added check for changed toolbars geometry.
7824 (compute_frame_toolbars_data): Removed unused second parameter;
7825 Adjusted callers of this static function throughout the file.
7826 (init_frame_toolbars): Initialize current_toolbar_size.
7827 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
7828 what is its current expansion, for clarity.
7829 (init_frame_toolbars): Ditto.
7830 (init_device_toolbars): Ditto.
7831 (init_global_toolbars): Ditto.
7833 * toolbar.h: Removed definition of toolbar_data lrecord.
7834 Added accessor macros FRAME_TOOLBAR_BUTTONS and
7835 FRAME_CURRENT_TOOLBAR_SIZE.
7836 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
7838 * toolbar-x.c (x_output_toolbar): The same change as in
7840 (x_output_toolbar): Ditto.
7841 (x_redraw_exposed_toolbar): Ditto.
7843 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
7844 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
7845 (mswindows_output_toolbar): Ditto.
7846 (mswindows_output_toolbar): Ditto.
7848 * frame.c (mark_frame): Removed marking of arrays, according to
7849 frameslots.h change.
7850 (nuke_all_frame_slots): Ditto.
7851 (set_frame_selected_window): Mark toolbars changed when
7852 last_nonminibuf_window changes.
7854 * frame.h (struct frame): Moved some slots to frameslots.h.
7855 Added current_toolbar_size array.
7856 Changed references from toolbar_data to toolbar_buttons in macros
7857 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
7858 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
7859 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
7861 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
7862 Moved arrays of lisp objects here from frame.h: toolbar_size,
7863 toolbar_visible_p, toolbar_border_width.
7864 Removed toolbar_data slot and added toolbar_buttons.
7866 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
7868 * symsinit.h: Externed syms_of_process_nt()
7870 * emacs.c (main_1): Call syms_of_process_nt()
7872 * process-nt.c: Quote process arguments by a call to Lisp function
7873 `nt-quote-process-args'.
7874 (syms_of_process_nt): New function.
7875 (nt_send_process): Flush data stream after each write, to avoid
7876 leaving buffered data.
7877 (nt_send_process): When blocked on process output, wait for
7878 process to slurp more for progressively increasing time intervals.
7880 1998-05-17 Martin Buchholz <martin@xemacs.org>
7882 * window.c (have_undivided_common_edge): Make file-local function
7884 (map_windows): Return 0 if all map functions successful.
7887 * winslots.h: Use unlikely names for local variables in macros to
7888 avoid shadowing warnings.
7890 1998-05-17 Andy Piper <andyp@parallax.co.uk>
7892 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
7893 so that we re-output if the toolbar size has changed.
7895 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7897 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
7899 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
7901 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
7904 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7906 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
7907 get bitmap manifest constants defined.
7909 * console-msw.h: Include system files in angle brackets, not in
7912 * window.c (specifier_vars_of_window): Fixed a typo in
7913 `vertical-divider-line-width' docstirng.
7915 1998-05-16 Olivier Galibert <galibert@pobox.com>
7917 * line-number.c (delete_invalidate_line_number_cache): Use an
7919 (buffer_line_number): Remove dangerous, plain wrong when using
7920 64bits emacs ints, cast.
7922 * insdel.c (buffer_delete_range): Use an EMACS_INT.
7924 * cmds.c (Fforward_line): Use EMACS_INTs.
7926 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
7927 (scan_buffer): Ditto.
7928 (bi_find_next_newline_no_quit): Remove useless cast.
7929 (find_next_newline_no_quit): Ditto.
7930 (find_next_newline): Ditto.
7931 (find_before_next_newline): Use an EMACS_INT.
7933 * lisp.h: Change scan_buffer to pass EMACS_INTs.
7935 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7937 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7939 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7941 * gui-x.c (popup_selection_callback): Use it.
7943 * gui.h (get_callback): Declare it.
7945 * gui.c (get_callback): New function.
7947 1998-05-15 SL Baur <steve@altair.xemacs.org>
7949 * window.c (have_undivided_common_edge): Guard scrollbar specific
7951 (window_needs_vertical_divider_1): Ditto.
7953 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7955 * emacs.c (decode_path): Eliminate compiler warning.
7956 (Fdecode_path): Renamed to Fsplit_path.
7957 (Fsplit_string_by_char): New function.
7959 1998-05-14 Damon Lipparelli <lipp@primus.com>
7961 * winslots.h: close comment
7963 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7965 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
7967 * bufslots.h: Removed buffer_file_type slot.
7969 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
7971 (complex_vars_of_buffer): Removed buffer-file-type variable and
7972 its default reference.
7974 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7976 * faces.c (complex_vars_of_faces): Defined
7977 Vvertical_divider_face.
7978 (vars_of_faces): Staticpro it.
7980 * faces.h: Externed Vvertical_divider_face.
7982 * redisplay-x.c (x_output_vertical_divider): Use
7983 Vvertical_divider_face to draw the divider instead of modeline
7986 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
7987 divider face using Vvertical_divider_face background.
7988 Fix drawing spacing gaps around the divider.
7990 1998-05-14 Didier Verna <verna@inf.enst.fr>
7992 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
7993 values for the vertical divider line width and spacing. Use the
7994 cached values from the window structure instead.
7995 (x_divider_width): ditto.
7997 * window.c (specifier_vars_of_window): new specifiers:
7998 vertical-divier -line-width and -spacing.
7999 (vertical_divider_global_width_changed): formerly known as
8000 vertical_divider_shadow_thickness_changed.
8002 * winslots.h: new slots: vertical_specifier _line_width and
8003 _spacing. Plus corrected a comment typo.
8005 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8007 * window.h: Declared window_divider_width().
8009 * console-stream.c (stream_divider_width): Removed method.
8010 (console_type_create_stream): And declaration for it.
8012 * redisplay.c (pixel_to_glyph_translation): Use
8013 window_divider_width() instead of divider_width redisplay method.
8014 (pixel_to_glyph_translation): Fix top divider edge calculation
8015 when scrollbar is on top.
8017 * window.c (window_divider_width): New function, an outphaser for
8018 divider_width redisplay method.
8019 (window_right_gutter_width): Use it.
8020 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
8021 specifiers, set fallback values differently on TTYs, and document
8022 the behavior of these on TTYs in the docstrings.
8024 * scrollbar.c (update_scrollbar_instance): Use
8025 window_divider_width() instead of divider_width redisplay method.
8027 * console.h (struct console_methods): Removed divider_width_method.
8029 * redisplay-tty.c (tty_divider_width): Removed device method.
8030 (console_type_create_redisplay_tty): Removed definition for it.
8031 (tty_output_vertical_divider): Respect the value returned by
8032 window_divider_width thus divider line width specification.
8034 * redisplay-msw.c (mswindows_divider_width): Removed device method.
8035 (console_type_create_redisplay_mswindows): Removed definition for it.
8036 (mswinodws_output_vertical_divider): Respect the value returned by
8037 window_divider_width thus divider line width specification.
8039 1998-05-15 Andy Piper <andyp@parallax.co.uk>
8041 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
8043 1998-05-15 Andy Piper <andyp@parallax.co.uk>
8045 * glyphs-msw.c: resource loading implementation.
8046 (cursor_normalize): new function.
8047 (cursor_validate): ditto.
8048 (cursor_instantiate): ditto.
8049 (cursor_name_to_resource): ditto.
8050 (cursor_possible_dest_types): ditto.
8051 (check_valid_symbol): ditto.
8052 (check_valid_string_or_int): ditto.
8054 1998-05-14 Martin Buchholz <martin@xemacs.org>
8056 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
8059 * process-unix.c (process_signal_char): Use VSUSP instead of
8060 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
8062 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8064 * specifier.c (specifier_instance): Change locale precedence of
8065 instantiation so window locale has higher priority than buffer
8067 (Fspecifier_instance): Reflect this in docstring.
8068 (Fadd_spec_list_to_specifier): Ditto.
8069 (Fadd_spec_to_specifier): Ditto.
8070 (Fremove_specifier): Ditto.
8072 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8074 ** Dialog separation into a device method from Andy Piper
8076 * emacs.c (main_1): Call console_type_create_dialog_x().
8078 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
8079 into this device method.
8080 (console_type_create_dialog_x): New function.
8082 * dialog.c (Fpopup_dialog_box): New function.
8083 (syms_of_dialog): Defsubr it.
8085 * console.h (struct console_methods): Declared
8086 popup_dialog_box_method().
8088 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
8090 1998-05-14 Oliver Graf <ograf@fga.de>
8092 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
8093 * frame-x.c (x_cde_transfer_callback): checked for merge errors
8095 1998-05-13 Oliver Graf <ograf@fga.de>
8097 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
8099 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8101 * console.h (device_metrics): Removed dbcs, input-method-editor
8102 and right-to-left metrics.
8104 * device.c (Fdevice_system_metric): Ditto.
8105 (Fdevice_system_metrics): Ditto.
8106 (syms_of_device): Ditto.
8107 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
8110 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8112 * line-number.h (mark_line_number_cache): Remove unused
8115 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
8116 (get_nearest_line_number): Simplify.
8117 (add_position_to_cache): Make the old marker point nowhere.
8119 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8121 ** Renamed window-divider-map => vertical-divider-map
8122 and event-over-divider-p => event-over-vertical-divider-p,
8123 in the following files/functions:
8125 * events.c (Fevent_over_divider_p):
8126 * keymap.c (get_relevant_keymaps):
8129 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
8131 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
8133 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8135 * window.c (vertical_divider_changed_in_window): Renamed so.
8136 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
8137 (window_needs_vertical_divider_1): Decide whether we need it based
8138 on the value of the above specifier. If separators are unwanted,
8139 put them only if there's no scrollbar between this window and its
8141 (have_undivided_common_edge): New function, helper for the above.
8142 (window_needs_vertical_divider): Return either a cached value,
8143 or clauclate and cache one.
8144 (invalidate_vertical_divider_cache_in_window): Implemented.
8145 (map_windows): Changed return type to int, return the value from
8148 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
8149 (struct window): Added need_vertical_divider_p and
8150 need_vertical_divider_valid_p.
8152 * winslots.h: Added vertical_divider_draggable_p slot.
8154 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
8155 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
8157 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
8159 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
8160 invalidate_vertical_divider_cache_in_frame().
8163 1998-05-14 Andy Piper <andyp@parallax.co.uk>
8165 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
8167 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
8168 masks correctly and don't select 0.
8170 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8172 * winslots.h: New file, declaration of some struct window and
8173 struct saved_window members.
8175 * window.h (struct window): Include it, with required preprocessor
8178 * window.c (mark_window): Ditto.
8179 (allocate_window): Ditto.
8180 (struct saved_window): Ditto.
8181 (mark_window_config): Ditto.
8182 (saved_window_equal): Ditto.
8183 (Fset_window_configuration): Ditto.
8185 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8187 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
8189 1998-05-12 Didier Verna <verna@inf.enst.fr>
8191 * redisplay-x.c (x_output_vertical_divider): draw shadows around
8192 the divider line. The shadow thickness is currently
8193 hard-wired. This will probably be turned into a specifier soon.
8195 1998-05-12 Didier Verna <verna@inf.enst.fr>
8197 * console.h (struct console_methods): the divider_width console
8198 method now requires a struct window * argument.
8200 * redisplay-x.c (x_divider_width): ditto. Plus remove
8201 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
8202 (x_output_vertical_divider): give a depressed look when the shadow
8203 thickness is negative.
8205 * console-stream.c (stream_divider_width): pass a struct window *
8208 * redisplay-tty.c (tty_divider_width): ditto.
8210 * window.c (window_right_gutter_width): totdi.
8212 * redisplay.c (generate_modeline): ittod.
8214 * scrollbar.c (update_scrollbar_instance): ttido.
8216 * redisplay-msw.c (mswindows_divider_width): ottid.
8217 WARNING: this enables to compile, but the feature is not functional.
8219 * window.h (struct window): new field
8220 vertical_divider_shadow_thickness.
8222 * window.c (specifier_vars_of_window): new specifier
8223 vertical-divider-shadow-thickness.
8224 (vertical_divider_shadow_thickness_changed): new function to
8225 inform redisplay that the window has changed.
8226 (mark_window): handle new field vertical_divider_shadow_thickness
8228 (allocate_window): ditto.
8229 (saved_window_equal): toddi.
8230 (Fset_window_configuration): totid.
8231 (save_window_save): ttdio.
8232 (struct saved_window): new field vertical_divider_shadow_thickness.
8234 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8236 * device-msw.c (mswindows_device_system_metrics): Support a deluge
8239 1998-05-12 Oliver Graf <ograf@fga.de>
8241 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
8242 * event-Xt.c (x_event_to_emacs_event): C++ compability
8244 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8246 * emacs.c (Fdecode_path): Default SEPCHAR to value of
8249 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8251 * emacs.c (vars_of_emacs): Do it here; change the meaning of
8254 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
8256 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8258 * emacs.c (decode_path_1): New function.
8259 (decode_path): Use it.
8260 (Fdecode_path): Renamed from Fdecode_path_internal; use
8263 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
8265 * macros.c (Fzap_last_kbd_macro_event): New function.
8266 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
8268 1998-05-10 Andy Piper <andyp@parallax.co.uk>
8270 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
8271 multiple bitmaps are output vertically as well as horizontally.
8272 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
8273 crossing lines this is handled by
8274 mswindows_output_dibitmap_region.
8276 1998-05-12 Martin Buchholz <martin@xemacs.org>
8278 * inline.c: Include eldap.h
8280 * menubar-x.c (x_update_frame_menubar_internal):
8281 Remove: unused variable `container'
8283 1998-05-11 Martin Buchholz <martin@xemacs.org>
8285 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
8286 Unfortunately, the resulting temacs still cannot dump.
8288 * symbols.c (symbol_is_constant):
8289 (verify_ok_for_buffer_local):
8290 -Wswitch Warning suppression - add default case to switches.
8292 * redisplay.c (decode_mode_spec): Remove unused variables,
8293 Replace Fcoding_system_property (codesys, Qmnemonic) with
8294 XCODING_SYSTEM_MNEMONIC (codesys);
8295 Fcoding_system_property is for users.
8301 Change empty docstrings into no doc strings at all.
8302 Fix bogus FSF-format docstrings.
8305 Standardize docstrings.
8308 Explain problems with matherr.
8310 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
8313 if BROKEN_SIGIO, then SIGIO wants to be undefined.
8314 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
8315 Fix the weird resultant interaction (causes windows problems)
8319 Take new EMACSBOOTSTRAPLOADPATH into account.
8320 Update documentation strings
8323 - Adjust for luser's CDPATH being set to something weird.
8324 - Take into account bash 2.02's tendency to print the cwd when
8325 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
8326 - fix the run-temacs target to use $(DUMPENV)
8327 - fix the run-puremacs target to use $(DUMPENV)
8328 - fix the `depend' target to properly $(RM) the right files
8329 - Generate a better TAGS file for XEmacs' lisp code using
8330 hand-crafted regexps.
8331 - Use standard coding conventions for modules/Makefile.in
8333 1998-05-12 Didier Verna <verna@inf.enst.fr>
8335 * redisplay.c: removed the scrolling modeline code that didn't
8336 make it for 21.0. To be continued ...
8338 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8340 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
8341 and empty string inputs.
8343 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
8345 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
8347 1998-05-10 Oliver Graf <ograf@fga.de>
8349 * event-stream.c (enqueue_misc_user_event_pos): created
8350 * lisp.h (enqueue_misc_user_event_pos): prototype added
8351 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
8352 * emacs.c: call vars_of_dragdrop
8353 * dragdrop.c (vars_of_dragdrop): provide dragdrop
8355 1998-05-11 Oliver Graf <ograf@fga.de>
8357 * frame-x.c (x_cde_transfer_callback): return at correct pos
8358 * event-Xt.c (x_event_to_emacs_event): changed format of drop
8359 object for MIME (see comment in dragdrop.c)
8360 * dragdrop.c: API change documented in comment
8361 removed provide of dragdrop [is provided by dragdrop.el]
8363 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
8365 * window.c (window_needs_vertical_divider): Enable vertical
8366 dividers for every non-rightmost window.
8367 (window_left_gutter_width): Left gutter consists of mythical
8368 toolbar and a virtual scrollbar.
8369 (window_right_gutter_width): The right one may have a divider
8372 * scrollbar.c (update_scrollbar_instance): Position vertical
8373 scrollbar left to divider if the latter present.
8375 * redisplay.h: Declared OVER_DIVIER constant.
8377 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
8380 * redisplay-x.c (x_output_vertical_divider): Output divider along
8381 the right side of the window, down to window bottom. Swapped
8382 foreground and background colors so it is visible by default.
8384 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
8385 stick the divider to the right window side.
8387 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
8389 (mswindows_divider_width): Ask system for user preferred value.
8390 (mswindows_output_vertical_divider): Always output the divider on
8391 the right side of a window, down to bottom.
8393 * keymap.c (get_relevant_keymaps): Route mouse button events which
8394 happened over a window divider through window-divider-map.
8395 (Fkey_binding): Documented that in the docstring.
8396 Defined the variable Vwindow_divider_map.
8398 * events.c (Fevent_over_divider_p): Added this function.
8400 * events.h: EXFUNed it.
8402 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
8404 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
8405 toolbar geometry is suspected to change.
8407 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8411 Condition dnd and dde code on HAVE_DRAGNDROP.
8413 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8415 * events.c (format_event_object): Print space as SPC etc.
8417 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8419 * print.c (print_internal): In the default case, abort() if
8420 ERROR_CHECK_TYPECHECK.
8422 * fileio.c (Fmake_temp_name): Doc fix.
8424 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8426 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
8428 * undo.c (Fprimitive_undo): Fixed typo.
8430 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8432 * fns.c (concat): Signal error on integer argument.
8434 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
8436 * console.h (device_metrics): Prefixed each constatnt with DM_
8438 * device.c: (Fdevice_system_metric): Renamed so from plural form
8439 (metrics); Changed parameters order and added DEFAULT parameter;
8440 Unabbreviated some metric constants; Fixed and untabified doc string.
8441 (Fdevice_system_metrics): Added. Returns a plist of all provided
8444 * device-msw.c (mswindows_device_system_metrics): Renamed
8445 device_metrics enum constants.
8446 Return Qunbound instead of Qnil.
8448 * device-tty.c (tty_device_system_metrics): Ditto.
8450 * device-x.c (x_device_system_metrics): Ditto.
8452 1998-05-10 Andy Piper <andyp@parallax.co.uk>
8454 * redisplay-msw.c: implement background pixmaps (really!). Make
8455 sure bg color is transparent if we have bg pmaps.
8456 * (mswindows_output_string) (mswindows_clear_region): output bg
8458 * (mswindows_output_dibitmap_region): new function.
8459 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
8460 the bg color rather than transparently.
8462 * toolbar-msw.c: use masks if they exist.
8464 * glyphs-msw.c: set up masks correctly.
8466 * event-msw.c: typedef SOCKET if cygwin and not msg select().
8468 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8470 * regex.c (re_match_2_internal): Check for quit.
8472 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8474 * frame.c (Ffocus_frame): New function.