1 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
3 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
6 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
8 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
11 * file-coding.c (mule_decode): Run `ccl_driver' with
13 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
15 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
16 (ccl_driver): Add new argument `conversion_mode'.
17 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
18 (Fccl_execute_on_string): Likewise [perhaps it is better to add
19 new optional argument].
21 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
22 (CCL_MODE_DECODING): New macro.
23 (ccl_driver): Add new argument `conversion_mode'.
25 1999-06-15 SL Baur <steve@miho.m17n.org>
27 * mule-charset.c (Fsplit_char): New subr.
28 (Fchar_octet): delete.
29 (syms_of_mule_charset): DEFSUBR it.
31 1999-06-13 Andy Piper <andy@xemacs.org>
33 * menubar.h: update declarations involving gui_items.
35 * lisp.h: declare Lisp_Gui_Item.
37 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
39 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
40 (print_image_instance): ditto.
41 (image_instance_equal): ditto.
42 (image_instance_hash): ditto.
44 * event-msw.c (mswindows_need_event): assert badly_p status.
45 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
46 callbacks in tree-view and tab-control widgets.
47 (emacs_mswindows_next_event): modify use of
48 mswindows_dequeue_dispatch_event.
50 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
53 * glyphs-msw.c (mswindows_update_subwindow): update use of
55 (mswindows_register_gui_item): new function.
56 (mswindows_register_gui_item): fix to use lisp gui_items.
57 (mswindows_widget_instantiate): ditto.
58 (mswindows_button_instantiate): ditto.
59 (add_tree_item): new function to recursively add tree view
61 (add_tree_item_list): ditto.
62 (mswindows_tree_instantiate): new function. instantiate tree view
64 (add_tab_item): new function to add tabs to a tab control.
65 (mswindows_tab_instantiate): new function. instantiate tab
67 (image_instantiator_format_create_glyphs_mswindows): add tree view
69 (vars_of_glyphs_mswindows): ditto.
71 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
73 (check_valid_item_list): ditto.
74 (initialize_widget_image_instance): fix to use new lisp gui_item.
75 (widget_instantiate_1): allow the setting of default textwidth in
77 (widget_instantiate): change to use new widget_instantiate_1
79 (combo_instantiate): ditto.
80 (static_instantiate): ditto.
81 (tab_instantiate): new function for tab widgets.
82 (image_instantiator_format_create_glyphs_widget): add tab and tree
85 * menubar-msw.c (displayable_menu_item): convert to use lisp
87 (populate_menu_add_item): ditto.
88 (populate_or_checksum_helper): ditto.
90 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
92 (Fmenu_find_real_submenu): ditto.
94 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
96 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
97 objects, convert functions that use them accordingly.
98 (gui_item_init): ditto.
99 (gui_item_active_p): ditto.
100 (gui_item_selected_p): ditto.
101 (gui_item_included_p): ditto.
102 (gui_item_display_flush_left): ditto.
103 (gui_item_display_flush_right): ditto.
104 (mark_gui_item): ditto.
105 (allocate_gui_item): new function to create a gui_item.
106 (make_gui_item_from_keywords_internal): ditto. create and return a
107 gui_item as well as setting keywords.
108 (gui_parse_item_keywords): ditto.
109 (gui_parse_item_keywords_no_errors): ditto.
110 (gui_add_item_keywords_to_plist): new function, not yet used.
111 (gui_item_hash): new function.
112 (gui_item_id_hash): use gui_item_hash.
113 (gui_item_equal): new function.
114 (print_gui_item): new function.
116 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
118 * XEmacs 21.2.16 is released
120 1999-06-10 Andy Piper <andy@xemacs.org>
122 * select-msw.c (mswindows_own_selection): only set the clipboard
124 (mswindows_get_foreign_selection): only get the clipboard if
126 (mswindows_disown_selection): only disown the clipboard if asked.
128 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
130 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
132 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
133 of coding-category `no-conversion'.
135 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
137 * file-coding.c (Qraw_text): New variable.
138 (syms_of_mule_coding): Add new symbol `raw-text'.
139 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
140 define coding-system `binary' independently; define coding-system
141 `no-conversion' as an alias for `raw-text'.
143 * file-coding.h (Qraw_text): New variable.
145 1999-06-08 SL Baur <steve@xemacs.org>
147 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
149 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
151 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
153 (base64_decode_1): Signal errors instead of returning -1.
155 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
157 * mule-charset.c (Fmake_char): Update docstring.
159 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
161 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
163 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
165 * fns.c (base64_decode_1): Allow and ignore any non-base64
168 1999-05-27 Olivier Galibert <galibert@pobox.com>
170 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
171 of report_pure_usage().
173 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
175 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
177 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
179 * XEmacs 21.2.15 is released
181 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
183 * frame.c (Fset_mouse_position):
184 (Fset_mouse_pixel_position):
185 * window.c (Fsplit_window):
186 (Fmove_to_window_line):
187 Fix crash when invoking functions with an already-deleted window
190 * indent.c (vertical_motion_1):
192 (Fvertical_motion_pixels):
193 * window.c (Fwindow_displayed_text_pixel_height):
194 Fix error message when invoking functions with an already-deleted
197 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
199 * sysdep.c (request_sigio_on_device): Guard against glibc
200 2.1's stub streams implementation.
202 1999-06-03 SL Baur <steve@xemacs.org>
205 * emacs.c: Implement x.y.z version numbers
206 From Jan Vroonhof <vroonhof@math.ethz.ch>
208 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
210 * mule-charset.c (complex_vars_of_mule_charset): Registry of
211 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
214 1999-06-03 SL Baur <steve@xemacs.org>
217 * device-x.c: rename session option to wmcommand.
218 From Oliver Graf <ograf@rhein-zeitung.de>
220 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
222 * fns.c (Fsubstring): Don't traverse the same region twice with
223 charcount_to_bytecount().
225 1999-06-03 SL Baur <steve@steve1.m17n.org>
227 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
230 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
231 doesn't really work as is implied by the commentary).
232 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
234 1999-06-02 SL Baur <steve@steve1.m17n.org>
236 * symsinit.h: Declare vars_of_ntproc.
237 * emacs.c (main_1): Call it.
239 * ntproc.c (syms_of_ntproc): Move variable initializations from
241 (vars_of_ntproc): ... to here [new function].
243 * file-coding.c (syms_of_file_coding): Rename.
244 (vars_of_file_coding): Ditto.
245 (complex_vars_of_file_coding): Ditto.
247 * symsinit.h: Rename *_mule_coding to *_file_coding.
249 * emacs.c (main_1): Call them by the proper name.
251 * device-msw.c (syms_of_device_mswindows): Move variable
252 initializations from here ...
253 (vars_of_device_mswindows): ... to here.
255 * chartab.c (vars_of_chartab): New function.
257 * symsinit.h: New function, vars_of_chartab.
259 * emacs.c (main_1): Call it.
261 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
262 (vars_of_mule_canna): ... to here.
264 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
265 initializations out of syms_of_mule_ccl.
267 * symsinit.h: Declare new function vars_of_mule_ccl.
269 * emacs.c (main_1): Call it.
271 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
273 * fns.c (base64_decode_1): Ignore whitespace.
275 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
277 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
280 1999-05-21 Andy Piper <andy@xemacs.org>
282 * xselect.c: deleted.
284 * symsinit.h: declare select initialisation.
286 * select.h: new file. declare commonly used select functions and
289 * select.c: new file. generalised from xselect.c.
290 (clean_local_selection_data): moved from xselect.c.
291 (get_local_selection): ditto. device specific pieces called via a
293 (handle_selection_clear): ditto.
294 (Fown_selection_internal): renamed and generalised from
295 Fx_own_selection_internal. moved from xselect.c.
296 (Fdisown_selection_internal): ditto.
297 (Fselection_owner_p): ditto.
298 (Fselection_exists_p): ditto.
299 (Fget_selection_internal): ditto.
300 (syms_of_select): new function. QXXXX values moved from xselect.c
301 (vars_of_select): new function. selection_converter_alist,
302 lost_selection_hooks moved and renamed from xselect.c
304 * select-x.c: renamed from xselect.c.
305 (x_own_selection): converted to device specific. non-X-specific
306 bits moved to select.c.
307 (x_get_foreign_selection): ditto.
308 (x_disown_selection): ditto.
309 (x_selection_exists_p): ditto.
310 (console_type_create_select_x): new function.
312 * select-msw.c (mswindows_own_selection): new device method to set
313 the clipboard when we 'own' the selection.
314 (mswindows_get_foreign_selection): new device method to get the
316 (mswindows_disown_selection): new device method to delete the
317 selection when we 'disown' it.
318 (console_type_create_select_mswindows): new function.
320 * emacs.c (main_1): add select to things to initialise.
322 * console.h (struct console_methods): new console methods for
325 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
327 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
329 * print.c (long_to_string): Install a faster version.
331 1999-05-16 Andy Piper <andy@xemacs.org>
333 * ntproc.c (syms_of_ntproc): default
334 win32-start-process-share-console to t.
336 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
338 * config.h.in: Do it here.
340 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
342 1999-05-14 Andy Piper <andy@xemacs.org>
344 * toolbar-msw.c (mswindows_output_toolbar): hash on something
347 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
349 * XEmacs 21.2.14 is released
351 1999-05-12 Andy Piper <andy@xemacs.org>
353 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
355 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
357 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
358 run_temacs_argv array -- fixes random memory corruption crash
360 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
362 * window.c (Fcurrent_window_configuration):
363 Save minibuffer height;
365 * window.c (set_window_configuration): use it.
367 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
369 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
371 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
373 * redisplay.c (redisplay_window): Do not put data
374 in the line start cache if it is not guaranteed to be correct
376 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
378 * window.c (struct window_config): Removed frame
380 (window_config_equal): No longer compare frame sizes.
381 (Fset_window_configuration): Resize old top window to fit in the
382 current frame directly, no longer use a fake frame resize.
383 (Fcurrent_window_configuration): No longer save frame size
385 1999-05-11 Andy Piper <andy@xemacs.org>
387 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
390 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
392 * sysdep.c (init_system_name): If gethostname gives a proper
393 domain name, don't look further for one.
395 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
397 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
398 (Fintern_soft): Accept a symbol argument.
400 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
402 * symbols.c (Fintern): ...do it here.
404 * lread.c (read_atom): Don't handle keywords here.
406 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
408 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
410 1999-05-03 Olivier Galibert <galibert@pobox.com>
412 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
413 is interned in the main obarray.
415 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
417 * menubar-x.c (pre_activate_callback): set accelerator field in
418 "No menu" entries to nil. Avoid crash in
419 command_builder_operate_menu_accelerator
421 1999-05-03 Olivier Galibert <galibert@pobox.com>
423 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
425 * lisp.h (DEFUN): Fix lrecord header initialisation.
427 1999-05-02 Andy Piper <andy@xemacs.org>
429 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
431 * ntproc.c (sys_kill): cast using MS mandated defines.
433 1999-04-29 Andy Piper <andy@xemacs.org>
435 * m/intel386.h: remove redundant definitions.
437 * s/mingw32.h: new header for mingw32.
439 * unexnt.c: (open_input_file): function moved to nt.c.
440 (close_file_data): ditto.
441 (rva_to_section): function moved to ntproc.
443 * symsinit.h: declare syms_of_ntproc();
445 * objects-msw.c (mswindows_font_instance_truename): new function.
447 * ntproc.c: remove many warnings.
448 (_sys_read_ahead): moved from nt.c and made static.
449 (rva_to_section): moved from unexnt.c but not defined under
451 (win32_executable_type): implement what we can for mingw32
453 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
455 * ntheap.h: remove declarations of functions that are now static.
457 * ntheap.c: support static heap.
459 * nt.h: conditionalise X_OK definition.
461 * nt.c: eliminate many warnings and support mingw32.
462 (open_input_file): function moved from unexnt.c and made static
463 (close_file_data): ditto.
464 (_sys_read_ahead): moved to ntproc.c
466 * emacs.c: make sure syms_of_ntptroc gets called under windows.
468 * console-msw.h: support mingw32.
469 * getloadavg.c: ditto.
476 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
477 some systems don't have all of the encapsulated system calls.
479 * callproc.c: warning elimination.
480 * dired-msw.c: ditto.
481 * process-nt.c: ditto.
484 * Makefile.in.in: tweak : and ; for building under mswindows.
486 1999-04-26 Michael Harnois <mharnois@willinet.net>
488 * eldap.c (allocate_ldap): Adapt to the new semantics of
489 alloc_lcrecord_type().
491 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
493 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
495 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
497 * Delete mule-coding.c and mule-coding.h because they are not
500 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
502 * objects.c (print_font_instance): Check for NILP(f->device),
503 i.e. Vthe_null_font_instance.
504 (font_instance_truename_internal): ditto.
505 (Ffont_instance_properties): ditto.
507 1999-04-22 Olivier Galibert <galibert@pobox.com>
509 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
512 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
514 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
515 it easier to add new ones.
517 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
519 * symbols.c (reject_constant_symbols): Ditto.
520 (init_symbols_once_early): Ditto.
522 * print.c (print_symbol): Don't use ->obarray.
524 * symbols.c (Funintern): Ditto.
526 * alloc.c (Fmake_symbol): Don't set ->obarray.
528 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
530 * symbols.c (init_symbols_once_early): Removed
531 Vpure_uninterned_symbol_table.
532 (Fintern): Don't store to ->obarray field.
534 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
536 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
537 (eq_with_ebola_notice): Remove abracadabra support.
539 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
541 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
542 retrieve the distinguished names of entries
544 1999-03-08 Martin Buchholz <martin@xemacs.org>
546 * lread.c (read_escape): Make hex escapes read only two hex digits.
548 1999-04-05 Olivier Galibert <galibert@pobox.com>
550 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
551 * make-src-depend: Remove puresize-adjust.h.
552 * src-headers: Remove puresize-adjust.h.
553 * config.h.in: Kill everything purespace/gung-ho related.
555 * dbxrc: Make gung-ho mandatory.
558 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
559 c_readonly and lisp_readonly. Remove implementation arrays.
560 (C_READONLY_RECORD_HEADER_P): Added.
561 (LISP_READONLY_RECORD_HEADER_P): Added.
562 (SET_C_READONLY_RECORD_HEADER): Added.
563 (SET_LISP_READONLY_RECORD_HEADER): Added.
565 * lisp.h: Kill everything purespace/non gung-ho related.
566 (CHECK_C_WRITEABLE): Added.
567 (CHECK_LISP_WRITEABLE): Added.
569 (LISP_READONLY): Added.
571 * lisp-union.h: Make gung-ho mandatory.
572 * lisp-disunion.h: Ditto.
574 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
575 set_lheader_implementation calls.
577 (lisp_readonly): Added.
578 (make_string_nocopy): Added.
579 (Fpurecopy): Changed to do nothing. Kept the old documentation
580 for reference purposes for the next patches.
581 (sweep_lcrecords_1): Don't free C readonly lcrecords.
582 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
583 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
585 * fns.c: Make gung-ho mandatory.
586 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
590 * data.c: Make gung-ho mandatory.
591 (pure_write_error): Removed.
592 (c_write_error): Added.
593 (lisp_write_error): Added.
594 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
598 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
599 make_string or make_string_nocopy. Fix various
602 * lread.c: Remove everything purespace related.
603 (Flocate_file_clear_hashing): purified -> c_readonly.
604 (locate_file): Ditto.
605 (read_atom): make_pure_pname -> make_string.
607 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
609 (Fdump_emacs): Ditto.
611 * print.c (print_internal): Make gung-ho mandatory.
612 * ntheap.c (sbrk): Ditto.
613 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
614 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
616 * sheap.c (more_static_core): Remove puresize-adjust.h from
619 * syntax.c (complex_vars_of_syntax): make_pure_string ->
621 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
622 (vars_of_keymap): make_pure_string -> make_string_nocopy.
623 * events.c (deinitialize_event): Fix set_lheader_implementation.
625 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
626 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
627 * mule-charset.c (make_charset): Ditto.
628 * console.c (allocate_console): Ditto.
629 (complex_vars_of_console): Ditto.
630 * file-coding.c (allocate_coding_system): Ditto.
631 * device.c (allocate_device): Ditto
632 * gui-x.c (gcpro_popup_callbacks): Ditto.
633 * extents.c (allocate_extent_auxiliary): Ditto.
634 (allocate_extent_info): Ditto.
635 (copy_extent): Ditto.
636 * glyphs.c (allocate_image_instance): Ditto.
637 (allocate_glyph): Ditto.
638 * frame.c (allocate_frame_core): Ditto.
639 * database.c (allocate_database): Ditto.
640 * tooltalk.c (make_tooltalk_message): Ditto.
641 (make_tooltalk_pattern): Ditto.
642 * rangetab.c (Fmake_range_table): Ditto.
643 (Fcopy_range_table): Ditto.
644 * process.c (make_process_internal): Ditto.
645 * chartab.c (Fmake_char_table): Ditto.
646 (make_char_table_entry): Ditto.
647 (copy_char_table_entry): Ditto.
648 (Fcopy_char_table): Ditto.
649 * elhash.c (make_general_lisp_hash_table): Ditto.
650 (Fcopy_hash_table): Ditto.
651 * buffer.c (allocate_buffer): Ditto.
652 (complex_vars_of_buffer): Ditto.
653 * event-stream.c (allocate_command_builder): Ditto.
654 * objects.c (Fmake_color_instance): Ditto.
655 (Fmake_font_instance): Ditto.
656 (vars_of_objects): Ditto.
657 * toolbar.c (update_toolbar_button): Ditto.
658 * window.c (allocate_window): Ditto.
659 (make_dummy_parent): Ditto.
660 (Fcurrent_window_configuration): Fix alloc_lcrecord.
661 (vars_of_window): Fix make_lcrecord_list.
662 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
664 * lstream.c (Lstream_new): Fix make_lcrecord_list.
665 * opaque.c (make_opaque): Fix alloc_lrecord.
666 (make_opaque_list): Fix alloc_lrecord_type.
668 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
670 * process.c (Fstart_process_internal): Ditto.
672 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
675 * glyphs-x.c (x_locate_pixmap_file): Ditto.
677 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
680 * emodules.c (vars_of_module): New variable Vmodule_extensions.
681 (emodules_load): Use it when calling locate_file().
683 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
686 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
687 (vars_of_callproc): Initialize it.
688 (Fcall_process_internal): Use it when calling locate_file().
690 * alloc.c (disksave_object_finalization): Use
691 Flocate_file_clear_hashing().
693 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
694 given `t' as argument.
696 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
698 * lread.c (locate_file): Expand `pathel' when appropriate.
699 (Flocate_file_clear_hashing): Expand path elements.
700 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
702 * dired.c (make_directory_hash_table): Create the hash-table only
703 if the directory open is successful.
705 * lread.c (decode_mode_1): New function.
706 (decode_mode): Ditto.
707 (Flocate_file): Use them.
708 (Flocate_file): Expand FILENAME.
709 (locate_file_map_suffixes): New function.
710 (locate_file_in_directory_mapper): New function.
711 (locate_file_in_directory): Use locate_file_in_directory_mapper()
712 and locate_file_map_suffixes().
713 (locate_file_construct_suffixed_files): Use
714 locate_file_map_suffixes().
715 (locate_file_without_hash): Don't GCPRO path.
716 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
717 (syms_of_lread): Remove Qlocate_file_hash_table.
718 (locate_file_find_directory_hash_table): Use
719 Vlocate_file_hash_table.
720 (locate_file_refresh_hashing): Ditto.
722 * lread.c: Renamed read_objects to Vread_objects.
724 1999-04-16 Olivier Galibert <galibert@pobox.com>
726 * mule-charset.c: Generally resync with fsf 20.3 charset
728 (make_charset): Add long and short name. Use id instead of
730 (Fmake_charset): Ditto.
731 (Fmake_reverse_direction_charset): Ditto.
732 (Fcharset_property): Ditto.
733 (Fcharset_short_name): Added.
734 (Fcharset_long_name): Added.
735 (Fcharset_description): Renamed from charset-doc-string.
736 (syms_of_mule_charset): Synced symbols.
737 (complex_vars_of_mule_charset): Synced charsets.
739 * mule-charset.h: Removed leading byte (uses id instead), added
742 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
744 * file-coding.c (Fdefine_coding_system_alias): New function.
746 1999-04-08 Olivier Galibert <galibert@pobox.com>
748 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
749 and -ascii fonts for displaying ascii instead of iso8859-1 only.
751 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
753 * extents.c (set_extent_glyph_1): Make sure that the glyph we
754 attach to the extent is valid.
756 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
758 * dired.c (user_name_completion): Mule-ize.
759 (user_name_completion): Use xmalloc/xrealloc/xfree.
760 (user_name_completion): Use DO_REALLOC.
761 (user_name_completion): Cut down the number of static variables;
763 (user_name_completion): Username completion is always
766 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
768 * fns.c (base64_decode_1): Remove COUNTER.
769 (base64_decode_1): Accept CRLF in addition to CR.
770 (base64_decode_1): Disallow a stray character after final EOF; the
771 check was probably a remnant of buggy recode code.
773 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
775 * fns.c (init_provide_once): Provide `base64'.
777 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
779 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
780 (Fbase64_encode_region): If buffer is read-only, bail out early.
781 (Fbase64_decode_region): Ditto.
782 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
784 (Fbase64_encode_string): Ditto.
785 (Fbase64_decode_region): Ditto.
786 (Fbase64_decode_string): Ditto.
788 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
790 * dired.c (Fdirectory_files): Remove redundant code.
792 1999-03-05 Philip Aston <philipa@parallax.co.uk>
794 * frame-msw.c Make raise-frame restore minimised windows.
796 1999-03-05 Philip Aston <philipa@parallax.co.uk>
798 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
801 1999-03-05 Philip Aston <philipa@parallax.co.uk>
803 * toolbar-msw.c Consider captions when deciding whether to rebuild
804 toolbar. This fixes the initial toolbar display for those of us
805 who don't like captions. These patches applied by Andy Piper.
807 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
809 * XEmacs 21.2.13 is released
811 1999-03-12 SL Baur <steve@xemacs.org>
813 * file-coding.c: Guard ucs table initialization with ifdef MULE.
815 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
817 * file-coding.c: docstring and comment improvements.
818 (decode_ucs4) flag possible data loss with comment.
820 1999-03-10 Martin Buchholz <martin@xemacs.org>
822 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
826 (decode_coding_ucs4):
827 (encode_coding_ucs4):
828 (detect_coding_utf8):
829 (decode_coding_utf8):
831 (encode_coding_utf8):
832 Add CHECK_* macros where needed to avoid crashes.
833 #ifdef out all composite character support using
834 #ifdef ENABLE_COMPOSITE_CHARS
835 Use normal XEmacs coding standards.
837 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
839 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
841 * file-coding.c (make-coding-system): Add description about
843 (detection_state): Modify to implement ucs-4 and utf-8.
844 (detect_coding_type): Likewise.
845 (detect_coding_ucs4): New implementation.
846 (detect_coding_utf8): New implementation.
847 (encode_utf8): fixed.
848 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
851 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
853 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
854 2022 registry to private area.
856 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
858 * file-coding.c (encode_utf8): New function.
859 (encode_coding_utf8): New implementation.
861 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
863 * file-coding.c (ucs_to_mule_table): New variable; abolish
865 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
866 (set-ucs-char): New function.
867 (ucs_to_char): New function.
868 (ucs-char): New function.
869 (set-char-ucs): New function.
870 (char-ucs): New function.
871 (decode_ucs4): Use `ucs_to_char'.
872 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
875 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
877 * chartab.h: EXFUN `Fget_char_table'.
879 * file-coding.c (encode_ucs4): New function.
880 (encode_coding_ucs4): Use `encode_ucs4'.
882 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
884 * file-coding.c (decode_coding_ucs4): New implementation.
886 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
888 * file-coding.c (decode_coding_ucs4): fixed.
890 * file-coding.c (Vmule_to_ucs_table): New variable.
891 (mule_char_to_ucs4): New function.
892 (encode_coding_ucs4): New implementation.
893 (complex_vars_of_mule_coding): Define variable
896 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
898 * file-coding.c (decode_coding_utf8): New implementation.
900 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
902 * file-coding.c (decode_coding_utf8): fixed.
904 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
906 * file-coding.c (Vucs_to_mule_table): New variable.
907 (decode_ucs4): Refer `Vucs_to_mule_table'.
908 (complex_vars_of_mule_coding): Define variable
911 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
913 * file-coding.c (detect_coding_ucs4): New function (not
915 (decode_coding_ucs4): New function.
916 (encode_coding_ucs4): New function (not implemented yet).
917 (detect_coding_utf8): New function (not implemented yet).
918 (decode_coding_utf8): New function.
919 (encode_coding_utf8): New function (not implemented yet).
920 (make-coding-system): New type `ucs4' and `utf8'.
921 (coding-system-type): Likewise.
922 (detection_state): Add `ucs4' and `utf8'.
923 (detect_coding_type): Likewise.
924 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
925 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
926 (decode_ucs4): New function (very incomplete).
927 (syms_of_mule_coding): Add `ucs4' and `utf8'.
929 * file-coding.h: Add definitions for UCS-4 and UTF-8.
931 1999-03-08 Martin Buchholz <martin@xemacs.org>
934 (non_ascii_valid_char_p):
935 (lookup_composite_char):
936 (composite_char_string):
937 (make-composite-char):
938 (composite-char-string):
939 (syms_of_mule_charset):
940 (complex_vars_of_mule_charset):
941 * mule-charset.h (LEADING_BYTE_COMPOSITE):
944 * file-coding.h (CODING_STATE_COMPOSITE):
945 (CODING_STATE_ISO2022_LOCK):
947 (LEADING_BYTE_COMPOSITE):
948 * file-coding.c (struct iso2022_decoder):
952 (encode_coding_iso2022):
953 #ifdef out all composite character support using
954 #ifdef ENABLE_COMPOSITE_CHARS
956 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
958 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
960 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
961 way of `Fbase64_encode_region'.
963 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
965 * fns.c (base64_encode_1): Don't add a newline at the tail.
967 1999-03-08 Andy Piper <andy@xemacs.org>
969 * menubar-msw.c (displayable_menu_item): correct off-by-one &
972 1999-03-07 Martin Buchholz <martin@xemacs.org>
974 * console-stream.h (struct stream_console):
975 * event-unixoid.c (event_stream_unixoid_select_console):
976 (event_stream_unixoid_unselect_console):
977 * print.c (Fexternal_debugging_output):
978 * sysdep.c (reset_one_device):
979 * console-stream.c (stream_init_console):
980 (stream_delete_console):
981 (allocate_stream_console_struct): move into stream_init_console.
982 (free_stream_console_struct): move into stream_delete_console.
983 Use `fd' only for file descriptors.
984 Therefore, rename members of struct stream_console.
986 * systime.h: Unix98 says sys/time.h should define select(), but
987 some systems define that in unistd.h. So include that file always.
989 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
990 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
991 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
993 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
997 Add #include <stdio.h>.
998 Some versions of assert.h use printf() without #include'ing stdio.h
1000 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1001 (log_gcpro): Remove unused variable FRAME.
1002 (show_gcprohist): Ansify.
1003 Comment the #endif's
1005 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1006 after it's just been XtDestroy'ed!
1008 1999-02-18 Martin Buchholz <martin@xemacs.org>
1010 * opaque.c (print_opaque):
1014 Egcs 1.1.1 seems to have a bug where
1015 INTP (p->size_or_chain)
1016 will crash XEmacs. Fix by introducing intermediate variable.
1018 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1020 * dired.c (Fdirectory_files):
1021 (Ffile_name_completion):
1022 (Ffile_name_all_completions):
1023 (file_name_completion):
1024 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1025 avoid compiler warnings.
1026 - Fix up docstrings so that C variables match documentation.
1028 1999-03-05 Martin Buchholz <martin@xemacs.org>
1030 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1031 variables as small as possible to help out the compiler and the maintainer.
1033 * alloc.c: (disksave_object_finalization):
1034 Set all the *-load-path variables to
1035 nil, not just load-path itself. This gets the locate-file hash
1036 tables garbage collected BEFORE dump, and has the side effect of
1037 preventing crashes on OSF4.0+egcs.
1042 - Clean up gdb/dbx debugging support.
1043 - Storing an EMACS_INT in an enum is not 64-bit clean!
1044 - So change the enum to a set of separate variables.
1045 - Add test cases to help debug the debugging support!
1046 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1047 - Both dbx and gdb have been tested now.
1049 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1051 * XEmacs 21.2.12 is released
1053 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1055 * device-x.c: Support to find best visual without flashing.
1057 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1059 * database.c (berkdb_map): Add flags argument to cursor call (must
1060 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1062 1999-03-03 Martin Buchholz <martin@xemacs.org>
1066 General cleanup. Get free-hook.c working again.
1067 Remove unused functions:
1068 make_strings_hash_table, copy_hash, expand_hash_table.
1072 Always use new ANSI-style function prototypes.
1074 * unexalpha.c (unexec): Never use implicit int.
1076 * sgiplay.c (close_sound_file):
1078 (restore_audio_port):
1083 (write_mulaw_8_chunk):
1084 (write_linear_chunk):
1085 (write_linear_32_chunk):
1086 (initialize_audio_port):
1089 (set_output_format):
1090 (adjust_audio_volume):
1091 (get_current_volumes):
1093 Always use new ANSI-style function prototypes.
1094 Use unistd.h for missing prototypes.
1096 * unexelfsgi.c (round_up):
1098 (unexec): Always use new ANSI-style function prototypes
1100 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1102 * console.h (struct console_methods): Always use full ANSI prototypes
1104 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1106 1999-03-02 Andy Piper <andy@xemacs.org>
1108 * event-stream.c (init_event_stream): make sure native mswindows
1109 gets an appropriate event loop.
1111 1999-02-22 Andy Piper <andy@xemacs.org>
1113 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1114 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1115 (mswindows_raise_frame): remove comment.
1117 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1119 * XEmacs 21.2.11 is released
1121 1999-02-25 SL Baur <steve@xemacs.org>
1123 * mule-charset.c (Qleading_byte): New variable to implement
1124 charset-leading-byte function.
1125 (Fcharset_property): Use it.
1126 (syms_of_mule_charset): Initialize it.
1127 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1129 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1131 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1132 bytes per pixel counting.
1134 1999-02-15 Andy Piper <andy@xemacs.org>
1136 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1139 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1141 * fns.c (Fbase64_encode_string): New optional argument
1144 1999-02-16 Martin Buchholz <martin@xemacs.org>
1146 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1147 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1149 1999-02-10 Martin Buchholz <martin@xemacs.org>
1151 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1152 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1154 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1156 * XEmacs 21.2.10 is released
1158 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1160 * process-nt.c (nt_send_process):
1161 Fix for process-send-region/process-send-string breaking when size
1162 of the input > 128 chars: change maximum chunk size for process
1163 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1166 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1168 * XEmacs 21.2.9 is released
1170 1999-01-30 Martin Buchholz <martin@xemacs.org>
1172 * bytecode.c (funcall_compiled_function): Call
1173 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1175 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1176 #ifdef 0 out unused macro.
1178 1999-01-27 Martin Buchholz <martin@xemacs.org>
1180 * gui.c (gui_parse_item_keywords_internal): Make static.
1182 1999-01-21 Andy Piper <andy@xemacs.org>
1184 * glyphs-msw.c: add xface support.
1185 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1186 (image_instantiator_format_create_glyphs_mswindows): do device
1187 specific initialisation for xfaces.
1188 (xbm_create_bitmap_from_data): line data must be padded to a word
1191 * glyphs-x.c (xface_validate): moved to glyphs.c
1192 (xface_normalize): ditto.
1193 (xface_possible_dest_types): ditto.
1194 (image_instantiator_format_create_glyphs_x): do device specific
1195 initialisation for xfaces.
1197 * glyphs.h: declare xface symbol.
1199 * glyphs.c: move generic xface support here.
1200 (xface_validate): moved from glyphs-x.c
1201 (xface_normalize): ditto.
1202 (xface_possible_dest_types): ditto.
1203 (image_instantiator_format_create): xface declarations moved from
1206 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1208 * event-stream.c (vars_of_event_stream): Fixing documentation.
1210 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1212 * glyphs-eimage.c (gif_instantiate): Correct handling of
1213 interlaced gifs to avoid writing past the end of the eimage
1216 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1218 * search.c (Freplace_match): Handle single backslash at end of
1221 1999-01-12 William M. Perry <wmperry@aventail.com>
1223 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1224 avoid connection errors.
1226 1999-01-12 Andy Piper <andy@xemacs.org>
1228 * redisplay-output.c (redisplay_update_line): backout change that
1229 shouldn't have gone ine.
1231 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1233 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1234 collide with ldap.el
1236 1999-01-11 Andy Piper <andy@xemacs.org>
1238 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1239 (DISPLAY_LINE_YPOS): new macro.
1241 * redisplay-msw.c (mswindows_output_string): use it.
1242 (mswindows_output_pixmap): ditto.
1243 (mswindows_output_display_block): ditto.
1245 * redisplay-output.c (redisplay_output_display_block): new
1246 function. just call the devmeth, maybe insert some generic code
1248 (compare_display_blocks): use it.
1249 (output_display_line): ditto.
1250 (redisplay_unmap_subwindows_maybe): new function. potentially
1251 unmap subwindows in the given area.
1253 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1256 1999-01-10 J. Kean Johnston <jkj@sco.com>
1258 * Makefile.in.in: Set value of moduledir
1259 - Changed DUMPENV to include $(MODULEPATH)
1260 - Added install rule to install header files for use by ellcc.
1262 * config.h.in: Added INHIBIT_SITE_MODULES
1263 - Added HAVE__DLERROR
1264 - Added HAVE_DLFCN_H
1265 - Added DLSYM_NEEDS_UNDERSCORE
1269 * emodules.c: New file containing dynamic loading code.
1271 * emodules.h: New file.
1273 * emacs.c: Added variables Vmodule_directory,
1274 Vsite_module_directory, Vconfigure_module_directory and
1275 Vconfigure_site_module_directory.
1276 - (main_1): Added new variable inhibit_site_modules and command
1277 line options `-no-site-modules' and `--no-site-modules'.
1278 - (main_1): Call syms_of_module() instead of syms_of_dll().
1279 - (main_1): Call vars_of_module().
1280 - (vars_of_emacs): Introduce inhibit-site-modules,
1281 module-directory, configure-module-directory,
1282 site-module-directory, and configure-site-module-directory to the
1285 * lisp.h: Declare load_module and list_modules, as well as
1286 Vmodule_directory, Vsite_module_directory,
1287 Vconfigure_module_directory and Vconfigure_site_module_directory.
1289 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1290 - Added correct support for site-lisp directory.
1292 * symbols.c (defsubr): Modified to allow modules to add new subrs
1294 - (defsubr_macro): Same.
1295 - (defvar_magick): Only use purespace when not initialized, so
1296 that loaded modules can still add symbols.
1298 * symsinit.h: Add definitions for syms_of_module(),
1299 vars_of_module(). Removed syms_of_dll().
1301 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1302 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1303 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1305 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1306 explicitly pass -belf for native cc.
1308 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1309 hard-coding the library name.
1311 1999-01-01 <martin@xemacs.org>
1313 * device-x.c (Fx_set_font_path):
1314 Add proper cast to permit compilation under C++.
1316 * buffer.c (directory_is_current_directory):
1317 Add proper casts to permit compilation under C++.
1319 1998-12-30 Damon Lipparelli <lipp@primus.com>
1321 * event-msw.c (mswindows_wnd_proc):
1322 Fixed failure when building with MSVC 5.
1324 1998-12-29 Martin Buchholz <martin@xemacs.org>
1326 * file-coding.c (decode_coding_iso2022):
1327 - Prevent crash when decoding ISO7/Lock detected files
1328 - the usual martin fiddling
1330 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1334 Fixed failures when building with MSVC.
1335 * unexnt.c (dump_bss_and_heap):
1336 Removed compiler warning by removing bss_data variable.
1338 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1340 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1341 so that packages that distribute their own fonts can access them.
1343 1998-12-28 Andy Piper <andy@xemacs.org>
1345 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1346 that have an image provided.
1348 * glyphs.h: add Q_image decl.
1350 * glyphs-widget.c new functionality allowing images in
1352 (check_valid_glyph_or_image): new function to validate
1353 glyphs passed in through :image.
1354 (widget_normalize): new function. convert :image parameters into
1355 real glyphs if not already so.
1356 (widget_instantiate_1): mess with size parameters to be similar to
1358 (syms_of_glyphs_widget): new keyword :image.
1359 (image_instantiator_format_create_glyphs_widget): normalize
1360 buttons and allow :image.
1362 1998-12-27 Andy Piper <andy@xemacs.org>
1364 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1366 * glyphs-widget.c (check_valid_anything): no-op function.
1367 (check_valid_callback): check callbacks in gui_items.
1368 (check_valid_symbol): as it sounds.
1369 (check_valid_string_or_vector): ditto.
1370 (widget_validate): modified for descriptors that are vectors or
1371 sequences of keyword/val pairs.
1372 (widget_instantiate_1): ditto.
1373 (image_instantiator_format_create_glyphs_widget): allow gui_item
1374 keywords in the instantiator.
1376 * gui.c (gui_parse_item_keywords_internal): renamed from
1377 gui_parse_item_keywords but taking error behaviour.
1378 (gui_parse_item_keywords): use it.
1379 (gui_parse_item_keywords_no_errors): ditto.
1380 (gui_item_add_keyval_pair): add Error_behavior flag and only
1381 signal invalid keywords if required.
1383 * gui.h: new gui signatures.
1385 * menubar.c (menu_parse_submenu_keywords): use new
1386 gui_item_add_keyval_pair signature.
1388 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1390 1998-12-28 Martin Buchholz <martin@xemacs.org>
1392 * XEmacs 21.2.8 is released.
1394 1998-12-28 Martin Buchholz <martin@xemacs.org>
1396 * editfns.c (get_home_directory):
1397 (user-home-directory): Simplify.
1400 * callproc.c (child_setup):
1401 - Environment variables were being passed to inferior processes
1402 using internal encoding.
1403 - Convert to external encoding.
1404 - Rename local var `tem' to better name `tail'.
1405 - Use Flength instead of `manual' calculation.
1407 * buffer.c (kill-buffer):
1409 (set-buffer-major-mode):
1411 - Fix up parameter names to correspond to docstrings.
1412 - Don't use `bufname' when a buffer will do as well.
1413 - Remove one unneeded GCPRO.
1415 * buffer.h (initial_directory):
1416 * buffer.c (init_initial_directory):
1417 - use correct conversions between internal and external format.
1418 (directory_is_current_directory): new function
1419 (init_buffer): convert initial_directory to internal format.
1420 - solve crashes when current working directory is non-ASCII.
1422 * alloc.c (xmalloc):
1425 - remove stupid casts, since XEmacs requires an ANSI C system.
1426 (lrecord_type_index): replace abort() with more readable assert().
1428 (reset_lcrecord_stats): remove.
1429 (sweep_lcrecords_1):
1430 - replace call to reset_lcrecord_stats() with call to xzero().
1432 1998-12-27 Martin Buchholz <martin@xemacs.org>
1434 * process-unix.c (unix_create_process):
1435 - Fix crash invoking program with non-ASCII name.
1436 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1437 - Remove unused variable `env'.
1438 - Rename `temp' to better name `save_errno'.
1439 - Reorganize code for clarity. But still too chicken to nuke the
1442 1998-12-24 Martin Buchholz <martin@xemacs.org>
1444 * XEmacs 21.2.7 is released.
1446 1998-12-23 Martin Buchholz <martin@xemacs.org>
1448 * glyphs.c (decode_device_ii_format):
1450 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1452 * glyphs-x.c (x_subwindow_instantiate):
1453 - A image instance mask was being assigned to a image instance type!
1454 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1456 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1458 * glyphs-x.h: Make indentation consistent.
1460 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1462 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1464 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1468 Move declarations of decode_device_ii_format and
1469 decode_image_instantiator_format into glyphs.h where they belong.
1471 1998-12-22 Martin Buchholz <martin@xemacs.org>
1473 * frame-x.c (x_delete_frame): Revert part of my changes at the
1474 suggestion of Gunnar Evermann - unfortunately no one really
1475 understands this code.
1477 * callproc.c (init_callproc): code cleanup.
1479 * free-hook.c (malloc):
1484 (block_input_malloc):
1485 (block_input_realloc):
1486 * device-x.c (x_delete_device):
1487 * emacs.c (voodoo_free_hook):
1488 * events.c (print_event):
1490 (CHECK_EVENT_TYPE2):
1491 (CHECK_EVENT_TYPE3):
1492 Use proper prototypes.
1493 Make C_E_T macros a little faster.
1494 Pedantic fiddly little changes. You really don't care.
1496 1998-12-22 Andy Piper <andy@xemacs.org>
1498 * redisplay-output.c (redisplay_clear_region): make sure that
1499 fg/bg colors get set even when we are in the border area.
1501 1998-12-13 Martin Buchholz <martin@xemacs.org>
1503 * console-msw.c: Function definitions follow coding standards
1504 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1506 1998-12-11 Martin Buchholz <martin@xemacs.org>
1508 * events.h (struct timeout_data):
1509 * event-tty.c (tty_timeout_to_emacs_event):
1510 * event-msw.c (mswindows_wm_timer_callback):
1511 * event-Xt.c (Xt_timeout_to_emacs_event):
1512 * event-msw.c (mswindows_cancel_dispatch_event):
1513 Make sure Lisp_Objects inside events are initialized to Qnil, not
1514 Qnull_pointer, which is now illegal.
1516 1998-12-10 Martin Buchholz <martin@xemacs.org>
1518 * lisp.h: Fix up prototypes to match alloc.c
1520 1998-12-08 Martin Buchholz <martin@xemacs.org>
1522 * windowsnt.h: Remove `support' for using index and rindex
1524 * filelock.c (current_lock_owner):
1525 - Change uses of index -> strchr, rindex -> strrchr
1527 1998-12-07 Martin Buchholz <martin@xemacs.org>
1529 * sysdep.c (set_descriptor_non_blocking):
1530 Since O_NONBLOCK is now always #defined, make use of fcntl
1531 conditional on F_SETFL being defined.
1533 * console-msw.c (DHEADgER):
1542 - max_align_t should not be visible to the user of the
1544 - use Bufbyte instead of char
1545 - parens around (FOOP (obj)) are always redundant.
1546 If they were necessary, we should fix the macro instead.
1547 - Always use string_data(foo) instead of foo->data.
1550 1998-12-06 Martin Buchholz <martin@xemacs.org>
1552 * frame-msw.c (mswindows_init_frame_1):
1553 - use make_lisp_hash_table, not Fmake_hash_table
1557 * alloc.c (make_vector): remove travesty
1561 (make_bit_vector_internal):
1563 (make_bit_vector_from_byte_vector):
1565 - make vector_equal a little faster.
1566 - Don't use variable name `new'.
1567 - Use size_t instead of EMACS_INT.
1568 - usual Martin-style pointless bit-twiddling.
1574 Make mapcar faster. In particular, make
1575 (mapc #'identity long-string)
1576 MUCH faster under Mule.
1577 * tests/automated/lisp-tests.el: Test 'em!
1579 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1582 1998-12-01 Martin Buchholz <martin@xemacs.org>
1584 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1585 Qnil, not NULL, to initialize `null' Lisp_Objects.
1587 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1589 * specifier.c (display_table_validate): Update.
1591 * redisplay.c (create_text_block): Use them.
1593 * glyphs.c (display_table_entry): New function.
1594 (get_display_tables): Ditto.
1596 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1598 * eldap.c (toplevel): Mention that eldap.c compiles with
1600 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1601 (Fldap_search_internal): Ditto
1603 1998-12-11 Martin Buchholz <martin@xemacs.org>
1605 * event-msw.c (mswindows_cancel_dispatch_event):
1606 Gratuitous code prettification
1609 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1611 * fns.c (Fnconc): Fix use of wrong_type_argument().
1613 * floatfns.c (Ffloat): Fix docstring.
1614 (Ffloat): Fix use of wrong_type_argument().
1616 (extract_float): Ditto.
1621 1998-12-06 Martin Buchholz <martin@xemacs.org>
1623 * frame-msw.c (mswindows_init_frame_1):
1624 - use make_lisp_hash_table, not Fmake_hash_table
1628 * alloc.c (make_vector): remove travesty
1632 (make_bit_vector_internal):
1634 (make_bit_vector_from_byte_vector):
1636 - make vector_equal a little faster.
1637 - Don't use variable name `new'.
1638 - Use size_t instead of EMACS_INT.
1639 - usual Martin-style pointless bit-twiddling.
1645 Make mapcar faster. In particular, make
1646 (mapc #'identity long-string)
1647 MUCH faster under Mule.
1648 * tests/automated/lisp-tests.el: Test 'em!
1650 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1653 1998-12-02 Didier Verna <verna@inf.enst.fr>
1655 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1656 accelerator field to nil for labels.
1658 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1660 * menubar-msw.c (displayable_menu_item):
1661 Escape occurrences of '&' and support occurrences of the
1662 '%_' accelerator indicator in menus.
1664 1998-11-26 Didier Verna <verna@inf.enst.fr>
1666 * dired.c (Fdirectory_files): use make_string instead of
1667 make_ext_string on the filename. The conversion external->internal
1668 format is already done in sys_readdir.
1670 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1672 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1674 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1677 (Belatedly) added Kirill to list of file's authors.
1678 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1679 quit checking. WM_PAINT messages cause redisplay, but
1680 windows' states are not necessarily stable when this function
1683 1998-12-17 Andy Piper <andy@xemacs.org>
1685 * strftime.c (zone_name): CONSTify.
1687 1998-12-15 Andy Piper <andy@xemacs.org>
1689 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1690 (mswindows_widget_property): return Qunbound when no property available.
1691 (mswindows_button_property): ditto.
1692 (mswindows_combo_property): ditto.
1693 (mswindows_widget_set_property): ditto.
1695 * glyphs-widget.c (check_valid_item_list): use properties.
1697 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1699 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1700 (Fimage_instance_property): ditto.
1701 * glyphs-widget.c (widget_property): ditto.
1702 (widget_set_property): ditto.
1704 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1705 as setting the class cursor so that GC actually changes the
1708 * config.h: don't undef MAIL_USE_POP.
1710 1998-12-13 Andy Piper <andy@xemacs.org>
1713 (image_instantiator_format_create_glyphs_mswindows): line ->
1715 (mswindows_label_instantiate): ditto. Play with window flags.
1716 (image_instantiator_format_create_glyphs_mswindows): ditto.
1717 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1719 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1720 cope with lines and labels.
1721 (static_instantiate): use widget_instantiate_1.
1723 (image_instantiator_format_create_glyphs_widget): ditto.
1725 1998-12-10 Andy Piper <andy@xemacs.org>
1727 * Makefile.in.in (objs): add gui.o
1729 1998-12-10 Andy Piper <andy@xemacs.org>
1731 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1734 1998-12-09 Andy Piper <andy@xemacs.org>
1736 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1737 image instance is removed so that the subwindow cache gets reset
1738 and thus destroyed images get GC'd.
1740 1998-12-08 Andy Piper <andy@xemacs.org>
1742 * gui-msw.c (mswindows_handle_gui_wm_command): call
1743 MARK_SUBWINDOWS_CHANGED.
1745 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1746 subwindows really get deleted.
1748 * redisplay.c: new variable subwindows_changed[_set].
1749 (redisplay_window): use it.
1750 (redisplay_frame): ditto.
1751 (redisplay_device): ditto.
1752 (redisplay_without_hooks): ditto.
1754 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1755 subwindows redisplay as per glyphs equivalent.
1756 * redisplay.h: ditto.
1757 (MARK_SUBWINDOWS_CHANGED): ditto.
1758 (RESET_CHANGED_SET_FLAGS): ditto.
1759 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1761 1998-12-07 Andy Piper <andy@xemacs.org>
1763 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1766 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1768 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1769 messages and paint widget glyphs as appropriate with their face fg
1772 1998-12-06 Andy Piper <andy@xemacs.org>
1774 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1775 here rather than in glyphs-widget - do this because we only want
1776 to provide what is really available.
1778 * glyphs.c (Fimage_instance_property): new function to get the
1779 properties of image instances. wires through to console specific
1780 methods and then to widget specific methods.
1781 (Fset_image_instance_property): ditto but for setting widget properties.
1782 (check_valid_face): make extern so that it can be used elsewhere.
1784 * glyphs-widget.c (widget_property): new function. gets the
1785 properties of widgets in general and wires the function through to
1786 widget specific ones.
1787 (widget_set_property): ditto but for setting widget properties.
1789 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1790 add items to the list. Play with window styles a bit to get the
1792 (mswindows_widget_property): break out specific widget properties.
1793 (mswindows_button_property): new function. gets the checked state
1795 (mswindows_combo_property): new function. gets the current
1796 selection in the combo box.
1797 (mswindows_widget_set_property): new function. sets specific
1798 properties of specific widgets.
1800 * glyphs-widget.c (check_valid_item_list): new function. check
1801 that items for a combo-box are just a list of strings.
1802 (combo_validate): new function. check there is an item list.
1803 (widget_instantiate_1): new function. renamed from
1804 widget_instantiate so that we can do slightly different things for
1806 (widget_instantiate): call widget_instantiate_1.
1807 (combo_instantiate): new function to instantiate combo boxes,
1808 defaults height to the pixel height of the number of items in the
1810 (syms_of_glyphs_widget): move widget keywords here.
1811 (image_instantiator_format_create_glyphs_widget): use new combo
1814 1998-12-04 Andy Piper <andy@xemacs.org>
1816 * event-msw.c (mswindows_wnd_proc): mule-ize.
1818 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1820 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1821 (resource_name_to_resource): ditto.
1822 (mswindows_resource_instantiate): ditto.
1823 (mswindows_widget_instantiate): ditto.
1824 (mswindows_widget_set_property): ditto.
1826 * redisplay-output.c (redisplay_output_subwindow): don't show
1827 subwindows if they are obscured at the edge of the frame, emacs
1828 gets into some sort of redisplay loop otherwise.
1830 * gui.h: prototype gui_item_selected_p.
1832 * gui.c (gui_item_selected_p): new function to determine the
1833 selected state of a gui_item.
1835 * frame.h (struct frame): add subwindows_changed flag.
1837 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1839 * glyphs.c (update_subwindow): new function to update a
1841 (update_frame_subwindows): new function to update all the
1842 subwindows on a frame.
1844 * console.h (struct console_methods): add update_subwindow.
1846 * glyphs-msw.c (mswindows_widget_property): return selected state
1847 for selected property.
1848 (mswindows_update_subwindow): new function. updates widget glyphs
1849 in redisplay as per menubars or toolbars e.g. selected state.
1850 (console_type_create_glyphs_mswindows): add update_subwindow.
1852 1998-12-03 Andy Piper <andy@xemacs.org>
1854 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1855 tty coding system things are such.
1857 * glyphs-widget.c (widget_face_font_info): new function for
1858 pulling out height and width metrics for a widget's face.
1859 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1862 * event-msw.c (mswindows_drain_windows_queue): translate messages
1863 that are destined for subwindows. This makes edit fields interact
1864 with the keyboard correctly.
1865 nuke warnings by #ifndef'ing out stuff not required by msg select().
1867 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1868 macro defining the iiforma without the symbol required by widget.
1869 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1871 * general.c (syms_of_general): add Qwidget, Qselected.
1873 * faces.c (complex_vars_of_faces): add widget face inheriting from
1876 1998-11-09 Andy Piper <andy@xemacs.org>
1878 * window.h (struct window): add a cache of subwindows on a
1881 * window.c (mark_window): mark the subwindow_instance_cache.
1882 (allocate_window): initialise the subwindow instance_cache.
1884 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1885 instead of the devmeth.
1886 (x_clear_toolbar): ditto.
1888 * redisplay-x.c (x_output_display_block): call
1889 redisplay_output_subwindow for subwindows and widgets.
1891 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1892 types to do nothing for.
1894 * lisp.h: declare new widget/subwindow symbols.
1896 * glyphs.c (image_instantiate): cache subwindows on a per-window
1898 (subwindow_possible_dest_types): new function for subwindow dest
1900 (subwindow_instantiate): generic instantiation of a
1901 subwindow. specialised by device multi-methods.
1902 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1904 (Fimage_instance_subwindow_id): ditto.
1905 (Fresize_subwindow): ditto.
1906 (Fforce_subwindow_map): ditto.
1908 * glyphs-x.c (x_print_image_instance): remove subwindow
1909 stuff. Handled genrically in glyphs.c.
1910 (x_image_instance_equal): ditto.
1911 (x_image_instance_hash): ditto.
1912 (x_finalize_image_instance): delete subwindows when required.
1913 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1914 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1915 glyph-based, subwindow implementation.
1916 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1918 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1920 (x_unmap_subwindow): new function to unmap X subwindows.
1921 (x_map_subwindow): new function to map X subwindows.
1922 (x_subwindow_instantiate): new function to instantiate X
1924 (x_resize_subwindow): new function to resize X subwindows.
1925 (console_type_create_glyphs_x): add subwindow functions.
1926 (image_instantiator_format_create_glyphs_x): add device
1927 multi-methods for xpm, xbm and subwindow.
1929 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1930 (subwindow-width): ditto.
1931 (subwindow-height): ditto.
1933 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1934 generally instantiating ms subwindows. Used by
1935 mswindows_*_instantiate.
1936 (mswindows_edit_instantiate): instantiate an edit field on a
1939 1998-11-04 Andy Piper <andy@xemacs.org>
1941 * symsinit.h: declare new functions.
1943 * redisplay.h: declare new functions.
1945 * redisplay-x.c (x_output_display_block): call
1946 redisplay_clear_region rather than x_clear_region.
1947 (x_output_string): ditto.
1948 (x_output_pixmap): ditto.
1949 (x_clear_to_window_end): ditto.
1950 (x_output_eol_cursor): ditto.
1951 (x_clear_region): only do X specific things. other duties handled
1952 in redisplay_clear_region.
1954 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1955 duties moved to redisplay_clear_region.
1957 * redisplay-output.c (clear_left_border): use
1958 redisplay_clear_region instead of device method.
1959 (clear_right_border): ditto.
1960 (output_display_line): ditto.
1961 (redisplay_output_subwindow): ditto.
1962 (redisplay_clear_top_of_window): ditto.
1963 (redisplay_clear_region): perform duties previously handled by
1964 device methods. call the appropriate device method at the
1965 end. unmap subwindows if necessary.
1967 * redisplay-msw.c (mswindows_output_string): use
1968 redisplay_clear_region instead of mswindows_clear_region.
1969 (mswindows_clear_to_window_end): ditto.
1970 (mswindows_output_display_block): output subwindows when required.
1971 (mswindows_clear_region): only do mswindows specific things,
1972 everything else is now handled in redisplay_clear_region.
1974 * gui.h: add item id hash defines and declare function prototypes.
1976 * gui.c (mark_gui_item): new function for marking gui_items.
1977 (gui_item_hash): generic hash function for generating command ids
1980 * gui-msw.c: new file.
1981 (mswindows_handle_gui_wm_command): new function to handle widget
1984 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1986 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1987 (DEFINE_DEVICE_IIFORMAT): ditto.
1988 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1989 (struct Lisp_Image_Instance): add widget and subwindow data plus
1990 appropriate access functions.
1992 * glyphs.c (decode_device_ii_format): new function for decoding
1993 image instantiator functions based on a device type as well as an
1995 (decode_image_instantiator_format): just call
1996 decode_device_ii_format with nil device.
1997 (add_entry_to_device_ii_format_list): new function for per device
1999 (add_entry_to_image_instantiator_format_list): just call
2000 add_entry_to_device_ii_format_list with nil device.
2001 (check_valid_vector): new function.
2002 (instantiate_image_instantiator): instantiate using per-format
2003 method and then per-format-per-device method (device
2004 multi-methods). signal an error if neither is possible.
2005 (mark_image_instance): cope with subwindows and widgets.
2006 (print_image_instance): ditto.
2007 (image_instance_equal): ditto.
2008 (image_instance_hash): ditto.
2009 (allocate_glyph): ditto.
2010 (glyph_width): ditto.
2011 (glyph_height_internal): ditto.
2012 (xpm_instantiate): removed because of device multi-methods.
2013 (mark_subwindow_cachels): new cachel functions for caching
2014 instantiated subwindows on a per-frame basis. mostly copied from
2015 glyph cachel functions.
2016 (update_subwindow_cachel_data): ditto.
2017 (add_subwindow_cachel): ditto.
2018 (get_subwindow_cachel_index): ditto.
2019 (reset_subwindow_cachels): ditto.
2020 (mark_subwindow_cachels_as_not_updated): ditto.
2021 (unmap_subwindow): generic unmapping of subwindows based on cachel
2023 (map_subwindow): ditto.
2024 (initialize_subwindow_image_instance): generic initialisation of
2026 (syms_of_glyphs): add widget keywords.
2028 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2031 1998-11-04 Andy Piper <andy@xemacs.org>
2033 * glyphs-widget.c: new file for instantiating widget type glyphs.
2034 (widget_possible_dest_types): new general dest type function for
2036 (widget_validate): ditto.
2037 (initialize_widget_image_instance): ditto
2038 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2039 before handing on control to device multi-methods.
2040 (syms_of_glyphs_widget): new function.
2041 (image_instantiator_format_create_glyphs_widget): new function,
2042 added placeholders for button, edit, combo, scrollbar
2043 (vars_of_glyphs_widget): new function.
2045 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2046 storing window ids of widgets.
2048 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2049 deletion of widget and subwindow glyphs.
2050 (mswindows_unmap_subwindow): new device function for unmapping
2051 subwindows on a msw frame.
2052 (mswindows_map_subwindow): ditto.
2053 (mswindows_register_image_instance): register instantiated widgets
2054 with the widget hastable.
2055 (mswindows_button_instantiate): instantiate a button type widget
2057 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2059 (image_instantiator_format_create_glyphs_mswindows): add device
2060 multi-methods for xbm, xpm, subwindow, edit and button.
2062 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2063 information about subwindows visible on the current frame. used by
2064 redisplay_clear_region to unmap subwindows as required.
2066 * frame.c (mark_frame): mark subwindow_cachels.
2067 (allocate_frame_core): instantiate subwindow_cachels.
2069 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2072 * event-msw.c (mswindows_wnd_proc): add call to
2073 mswindows_handle_gui_wm_command to handle widget callbacks.
2075 * emacs.c (main_1): add calls to glyphs-widget initialisation
2078 * console.h (struct console_methods): add
2079 unmap/map_subwindow_method for use be redisplay_clear_region to
2080 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2081 with by image instantiator multi-methods. Add
2082 resize_subwindow_method.
2084 * console-stream.c (stream_clear_region): change signature to
2085 match new generic clear region function.
2087 * Makefile.in.in: add glyphs-widget.o to list of objects.
2089 * console-msw.h (struct mswindows_frame): add widget hashtable for
2090 wiring command ids to callbacks.
2092 1998-12-16 Andy Piper <andy@xemacs.org>
2094 * XEmacs 21.2.6 is released
2096 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2098 * md5.c (Fmd5): Correctly initiate string input stream.
2100 * Makefile.in.in (tests): Add md5-tests.el.
2102 1998-12-06 Martin Buchholz <martin@xemacs.org>
2105 * alloc.c (make_vector): remove travesty
2109 (make_bit_vector_internal):
2111 (make_bit_vector_from_byte_vector):
2113 - make vector_equal a little faster.
2114 - Don't use variable name `new'.
2115 - Use size_t instead of EMACS_INT.
2116 - usual Martin-style pointless bit-twiddling.
2122 Make mapcar faster. In particular, make
2123 (mapc #'identity long-string)
2124 MUCH faster under Mule.
2125 * tests/automated/lisp-tests.el: Test 'em!
2127 1998-12-06 Martin Buchholz <martin@xemacs.org>
2129 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2132 1998-12-13 Martin Buchholz <martin@xemacs.org>
2134 * console-msw.c: Function definitions follow coding standards
2135 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2137 1998-12-11 Martin Buchholz <martin@xemacs.org>
2139 * events.h (struct timeout_data):
2140 * event-tty.c (tty_timeout_to_emacs_event):
2141 * event-msw.c (mswindows_wm_timer_callback):
2142 * event-Xt.c (Xt_timeout_to_emacs_event):
2143 * event-msw.c (mswindows_cancel_dispatch_event):
2144 Make sure Lisp_Objects inside events are initialized to Qnil, not
2145 Qnull_pointer, which is now illegal.
2147 1998-12-10 Martin Buchholz <martin@xemacs.org>
2149 * lisp.h: Fix up prototypes to match alloc.c
2151 1998-12-09 Andy Piper <andy@xemacs.org>
2153 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2154 XSETINT for assigning lisp objects.
2156 1998-12-07 Martin Buchholz <martin@xemacs.org>
2159 * console-msw.c (DHEADER):
2168 - max_align_t should not be visible to the user of the
2170 - use Bufbyte instead of char
2171 - parens around (FOOP (obj)) are always redundant.
2172 If they were necessary, we should fix the macro instead.
2173 - Always use string_data(foo) instead of foo->data.
2175 1998-12-07 Martin Buchholz <martin@xemacs.org>
2177 * sysdep.c (set_descriptor_non_blocking):
2178 Since O_NONBLOCK is now always #defined, make use of fcntl
2179 conditional on F_SETFL being defined.
2181 1998-12-09 Andy Piper <andy@xemacs.org>
2183 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2184 that got removed in the merge
2186 1998-11-30 Greg Klanderman <greg@alphatech.com>
2188 * dired.c (vars_of_dired): bugfix for previous conditionalization
2189 of user-name-completion on non- Windows NT.
2191 1998-12-08 Martin Buchholz <martin@xemacs.org>
2193 * windowsnt.h: Remove `support' for using index and rindex
2195 * filelock.c (current_lock_owner):
2196 - Change uses of index -> strchr, rindex -> strrchr
2198 1998-12-06 Martin Buchholz <martin@xemacs.org>
2200 * frame-msw.c (mswindows_init_frame_1):
2201 - use make_lisp_hash_table, not Fmake_hash_table
2204 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2206 * XEmacs 21.2.5 is released
2208 1998-11-30 Martin Buchholz <martin@xemacs.org>
2210 * xselect.c (receive_incremental_selection):
2211 * xselect.c (x_get_window_property):
2212 * xmu.c (XmuReadBitmapDataFromFile):
2213 * xmu.c (XmuCursorNameToIndex):
2214 * xgccache.c (describe_gc_cache):
2215 * xgccache.c (gc_cache_lookup):
2216 * xgccache.c (free_gc_cache):
2217 * xgccache.c (make_gc_cache):
2219 * window.c (map_windows_1):
2220 * window.c (Fother_window_for_scrolling):
2221 * window.c (window_scroll):
2222 * window.c (change_window_height):
2223 * window.c (Fsplit_window):
2224 * window.c (window_left_gutter_width):
2225 * window.c (window_modeline_height):
2226 * window.c (invalidate_vertical_divider_cache_in_window):
2227 * window.c (window_needs_vertical_divider_1):
2228 * window.c (update_mirror_internal):
2229 * window.c (SET_LAST_FACECHANGE):
2230 * widget.c (Fwidget_plist_member):
2231 * unexec.c (copy_text_and_data):
2232 * unexcw.c (copy_executable_and_dump_data_section):
2234 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2235 * tooltalk.c (struct Lisp_Tooltalk_Message):
2236 * toolbar.h (struct toolbar_button):
2237 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2238 * toolbar.c (recompute_overlaying_specifier):
2239 * toolbar.c (toolbar_validate):
2240 * toolbar.c (toolbar_button_at_pixpos):
2241 * toolbar.c (get_toolbar_coords):
2242 * toolbar.c (update_frame_toolbars):
2244 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2245 * toolbar-msw.c (mswindows_find_toolbar_pos):
2246 * toolbar-msw.c (mswindows_output_toolbar):
2247 * toolbar-msw.c (mswindows_clear_toolbar):
2256 * sysdep.c (sys_fopen):
2257 * sysdep.c (sys_open):
2258 * sysdep.c (tty_init_sys_modes_on_device):
2259 * sysdep.c (get_eof_char):
2260 * sysdep.c (child_setup_tty):
2261 * sysdep.c (set_descriptor_non_blocking):
2263 * syntax.c (scan_words):
2266 * symeval.h (struct symbol_value_varalias):
2267 * symeval.h (struct symbol_value_forward):
2268 * symbols.c (syms_of_symbols):
2269 * symbols.c (init_symbols_once_early):
2270 * symbols.c (Fbuilt_in_variable_type):
2271 * symbols.c (Fsymbol_value_in_buffer):
2272 * symbols.c (default_value):
2274 * symbols.c (find_symbol_value_quickly):
2275 * symbols.c (store_symval_forwarding):
2276 * symbols.c (set_default_console_slot_variable):
2277 * symbols.c (set_default_buffer_slot_variable):
2278 * symbols.c (verify_ok_for_buffer_local):
2279 * symbols.c (symbol_is_constant):
2280 * symbols.c (oblookup):
2281 * symbols.c (Funintern):
2282 * symbols.c (Fintern):
2283 * symbols.c (check_obarray):
2285 * specifier.h (struct specifier_methods):
2287 * specifier.c (specifier_instance):
2288 * specifier.c (specifier_instance_from_inst_list):
2289 * specifier.c (decode_locale_type):
2290 * specifier.c (specifier_equal):
2291 * specifier.c (finalize_specifier):
2292 * specifier.c (prune_specifiers):
2293 * specifier.c (kill_specifier_buffer_locals):
2294 * sound.c (init_native_sound):
2297 * search.c (Fmatch_data):
2298 * search.c (match_limit):
2299 * search.c (Freplace_match):
2300 * search.c (skip_chars):
2301 * search.c (scan_buffer):
2303 * scrollbar.c (specifier_vars_of_scrollbar):
2304 * scrollbar.c (Fscrollbar_set_hscroll):
2305 * scrollbar.c (vertical_scrollbar_changed_in_window):
2306 * scrollbar.c (release_window_mirror_scrollbars):
2307 * scrollbar.c (free_scrollbar_instance):
2310 * s/msdos.h (O_BINARY):
2312 * s/freebsd.h (LIBS_TERMCAP):
2313 * regex.c (re_match_2_internal):
2314 * regex.c (compile_extended_range):
2315 * regex.c (POP_FAILURE_POINT):
2316 * regex.c (PUSH_FAILURE_POINT):
2317 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2319 * redisplay.h (struct display_line):
2320 * redisplay.h (struct rune):
2321 * redisplay.c (vars_of_redisplay):
2322 * redisplay.c (redisplay_variable_changed):
2323 * redisplay.c (UPDATE_CACHE_RETURN):
2324 * redisplay.c (validate_line_start_cache):
2325 * redisplay.c (mark_redisplay_structs):
2326 * redisplay.c (mark_glyph_block_dynarr):
2327 * redisplay.c (window_line_number):
2328 * redisplay.c (redisplay_frame):
2329 * redisplay.c (redisplay_window):
2330 * redisplay.c (generate_modeline):
2331 * redisplay.c (create_right_glyph_block):
2332 * redisplay.c (create_left_glyph_block):
2333 * redisplay.c (create_text_block):
2335 * redisplay-x.c (x_output_hline):
2336 * redisplay-x.c (x_output_vertical_divider):
2337 * redisplay-tty.c (tty_output_display_block):
2338 * redisplay-output.c (output_display_line):
2339 * redisplay-output.c:
2340 * redisplay-msw.c (mswindows_output_vertical_divider):
2341 * redisplay-msw.c (mswindows_ring_bell):
2342 * redisplay-msw.c (mswindows_output_cursor):
2346 * puresize.h (RAW_PURESIZE):
2347 * profile.c (syms_of_profile):
2348 * profile.c (Fstart_profiling):
2349 * profile.c (sigprof_handler):
2352 * process.c (vars_of_process):
2353 * process.c (read_process_output):
2354 * process.c (get_process):
2356 * process-unix.c (unix_open_multicast_group):
2357 * process-unix.c (unix_get_tty_name):
2358 * process-unix.c (unix_send_process):
2359 * process-unix.c (unix_reap_exited_processes):
2360 * process-unix.c (unix_create_process):
2361 * process-unix.c (unix_init_process_io_handles):
2362 * process-unix.c (allocate_pty):
2364 * process-nt.c (nt_open_network_stream):
2365 * process-nt.c (nt_update_status_if_terminated):
2366 * process-nt.c (nt_finalize_process_data):
2368 * print.c (debug_short_backtrace):
2369 * print.c (debug_backtrace):
2370 * print.c (print_symbol):
2371 * print.c (print_internal):
2372 * print.c (print_cons):
2373 * print.c (Fwrite_char):
2374 * print.c (print_prepare):
2375 * print.c (canonicalize_printcharfun):
2376 * print.c (output_string):
2379 * opaque.c (allocate_managed_opaque):
2381 * offix.c (DndSetData):
2382 * objects.c (face_boolean_create):
2383 * objects.c (font_instantiate):
2384 * objects.c (font_create):
2385 * objects.c (color_create):
2386 * objects.c (finalize_font_instance):
2387 * objects.c (finalize_color_instance):
2389 * objects-x.c (x_font_instance_truename):
2391 * objects-x.c (x_initialize_font_instance):
2392 * objects-x.c (allocate_nearest_color):
2393 * objects-tty.c (tty_initialize_font_instance):
2394 * objects-tty.c (tty_initialize_color_instance):
2395 * objects-msw.c (mswindows_initialize_color_instance):
2396 * ntproc.c (syms_of_ntproc):
2397 * ntproc.c (Fwin32_set_process_priority):
2398 * ntproc.c (sys_spawnve):
2400 * ntheap.c (get_data_end):
2404 * nt.c (generate_inode_val):
2405 * nt.c (sys_rename):
2407 * mule-wnnfns.c (Fwnn_hinsi_number):
2408 * mule-wnnfns.c (Fwnn_yuragi):
2409 * mule-wnnfns.c (Fwnn_common_learn):
2410 * mule-wnnfns.c (Fwnn_suffix_learn):
2411 * mule-wnnfns.c (Fwnn_prefix_learn):
2412 * mule-wnnfns.c (Fwnn_okuri_learn):
2413 * mule-wnnfns.c (Fwnn_complex_conv):
2414 * mule-wnnfns.c (Fwnn_last_is_first):
2415 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2416 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2417 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2418 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2419 * mule-wnnfns.c (Fwnn_hinsi_list):
2420 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2421 * mule-wnnfns.c (Fwnn_dict_search):
2422 * mule-wnnfns.c (Fwnn_word_toroku):
2423 * mule-wnnfns.c (Fwnn_hindo_update):
2424 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2425 * mule-wnnfns.c (Fwnn_kakutei):
2426 * mule-wnnfns.c (Fwnn_begin_henkan):
2427 * mule-wnnfns.c (Fwnn_dict_comment):
2428 * mule-wnnfns.c (Fwnn_dict_add):
2429 * mule-wnnfns.c (Fwnn_open):
2430 * mule-mcpath.c (mc_getcwd):
2431 * mule-coding.c (vars_of_mule_coding):
2432 * mule-coding.c (convert_to_external_format):
2433 * mule-coding.c (encoding_marker):
2434 * mule-coding.c (decoding_marker):
2435 * mule-coding.c (Fcopy_coding_system):
2436 * mule-coding.c (Fmake_coding_system):
2437 * mule-coding.c (Fcoding_system_list):
2438 * mule-coding.c (Ffind_coding_system):
2439 * mule-coding.c (symbol_to_eol_type):
2441 * mule-charset.c (complex_vars_of_mule_charset):
2442 * mule-charset.c (vars_of_mule_charset):
2443 * mule-charset.c (Fset_charset_ccl_program):
2444 * mule-charset.c (struct charset_list_closure):
2445 * mule-charset.c (Ffind_charset):
2446 * mule-charset.c (make_charset):
2447 * mule-charset.c (non_ascii_valid_char_p):
2449 * mule-ccl.c (ccl_driver):
2450 * mule-canna.c (c2mu):
2451 * mule-canna.c (Fcanna_henkan_begin):
2452 * mule-canna.c (Fcanna_parse):
2453 * mule-canna.c (Fcanna_store_yomi):
2454 * mule-canna.c (Fcanna_touroku_string):
2455 * mule-canna.c (Fcanna_initialize):
2457 * menubar.c (menu_parse_submenu_keywords):
2458 * menubar-x.c (make_dummy_xbutton_event):
2459 * menubar-x.c (set_frame_menubar):
2460 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2463 * menubar-msw.c (mswindows_popup_menu):
2464 * menubar-msw.c (mswindows_update_frame_menubars):
2465 * menubar-msw.c (mswindows_handle_wm_command):
2466 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2467 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2468 * menubar-msw.c (update_frame_menubar_maybe):
2469 * menubar-msw.c (populate_or_checksum_helper):
2470 * menubar-msw.c (empty_menu):
2473 * marker.c (set_marker_internal):
2474 * marker.c (print_marker):
2477 * lstream.c (lisp_buffer_rewinder):
2478 * lstream.c (mark_lstream):
2480 * lrecord.h (struct lrecord_header):
2481 * lread.c (readevalloop):
2482 * lread.c (locate_file):
2483 * lread.c (locate_file_in_directory):
2484 * lread.c (Flocate_file):
2485 * lread.c (load_force_doc_string_unwind):
2486 * lread.c (ebolify_bytecode_constants):
2491 * linuxplay.c (linux_play_data_or_file):
2492 * linuxplay.c (audio_init):
2495 * keymap.c (describe_map):
2496 * keymap.c (describe_map_mapper):
2497 * keymap.c (Fdescribe_bindings_internal):
2498 * keymap.c (Fsingle_key_description):
2499 * keymap.c (map_keymap_sorted):
2500 * keymap.c (get_relevant_keymaps):
2501 * keymap.c (Flookup_key):
2502 * keymap.c (raw_lookup_key_mapper):
2503 * keymap.c (Fdefine_key):
2504 * keymap.c (Fevent_matches_key_specifier_p):
2505 * keymap.c (key_desc_list_to_event):
2506 * keymap.c (define_key_parser):
2507 * keymap.c (define_key_check_and_coerce_keysym):
2508 * keymap.c (keymap_submaps):
2509 * keymap.c (keymap_store_internal):
2510 * keymap.c (keymap_delete_inverse_internal):
2511 * keymap.c (keymap_store_inverse_internal):
2512 * keymap.c (print_keymap):
2513 * keymap.c (Lisp_Keymap):
2516 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2517 * insdel.c (make_gap):
2518 * input-method-xlib.c (get_XIM_input):
2519 * input-method-xlib.c (XIM_init_frame):
2524 * gui-x.c (button_item_to_widget_value):
2525 * gui-x.c (popup_selection_callback):
2526 * glyphs.h (struct image_instantiator_methods):
2527 * glyphs.c (mark_glyph_cachels):
2528 * glyphs.c (Fglyph_type):
2529 * glyphs.c (image_instantiate):
2530 * glyphs.c (image_create):
2531 * glyphs.c (make_image_instance_1):
2532 * glyphs.c (finalize_image_instance):
2534 * glyphs-x.c (finalize_subwindow):
2535 * glyphs-x.c (xface_validate):
2536 * glyphs-x.c (x_locate_pixmap_file):
2537 * glyphs-x.c (convert_EImage_to_XImage):
2539 * glyphs-msw.c (mswindows_resource_instantiate):
2540 * glyphs-msw.c (xpm_to_eimage):
2541 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2542 * glyphs-eimage.c (tiff_instantiate):
2543 * glyphs-eimage.c (png_instantiate):
2544 * glyphs-eimage.c (struct png_error_struct):
2545 * glyphs-eimage.c (gif_memory_storage):
2548 * getloadavg.c (getloadavg):
2551 * free-hook.c (log_gcpro):
2552 * free-hook.c (check_malloc):
2553 * free-hook.c (check_free):
2554 * free-hook.c (ROUND_UP_TO_PAGE):
2556 * frame.h (struct frame):
2558 * frame.c (change_frame_size_1):
2559 * frame.c (allocate_frame_core):
2561 * frame-x.c (x_focus_on_frame):
2562 * frame-x.c (x_init_frame_2):
2563 * frame-x.c (x_popup_frame):
2564 * frame-x.c (xemacs_XtPopup):
2566 * frame-x.c (Foffix_start_drag_internal):
2567 * frame-x.c (x_cde_destroy_callback):
2568 * frame-x.c (x_wm_hack_wm_protocols):
2569 * frame-tty.c (tty_frame_visible_p):
2570 * frame-msw.c (mswindows_make_frame_invisible):
2571 * frame-msw.c (mswindows_after_init_frame):
2572 * frame-msw.c (mswindows_init_frame_1):
2573 * fns.c (syms_of_fns):
2574 * fns.c (Fbase64_decode_string):
2576 * fns.c (Ffillarray):
2577 * fns.c (Fobject_plist):
2579 * fns.c (Fcanonicalize_lax_plist):
2580 * fns.c (Fcanonicalize_plist):
2581 * fns.c (Fplist_remprop):
2582 * fns.c (Fplist_get):
2583 * fns.c (advance_plist_pointers):
2584 * fns.c (internal_plist_put):
2585 * fns.c (Fnreverse):
2588 * fns.c (Fsubstring):
2589 * fns.c (Fbvconcat):
2591 * fns.c (length_with_bytecode_hack):
2592 * fns.c (print_bit_vector):
2594 * floatfns.c (Ffloor):
2596 * floatfns.c (in_float_error):
2597 * fileio.c (Ffile_modes):
2598 * fileio.c (Fexpand_file_name):
2599 * fileio.c (Fmake_temp_name):
2600 * fileio.c (Ffile_name_nondirectory):
2601 * fileio.c (Ffile_name_directory):
2603 * file-coding.c (vars_of_mule_coding):
2604 * file-coding.c (convert_to_external_format):
2605 * file-coding.c (encoding_marker):
2606 * file-coding.c (decoding_marker):
2607 * file-coding.c (Fcopy_coding_system):
2608 * file-coding.c (Fmake_coding_system):
2609 * file-coding.c (struct coding_system_list_closure):
2610 * file-coding.c (Ffind_coding_system):
2611 * file-coding.c (symbol_to_eol_type):
2613 * faces.h (struct face_cachel):
2614 * faces.c (vars_of_faces):
2615 * faces.c (face_property_was_changed):
2616 * faces.c (mark_face_cachels):
2617 * faces.c (temporary_faces_list):
2618 * faces.c (struct face_list_closure):
2620 * extents.h (struct extent):
2621 * extents.c (vars_of_extents):
2622 * extents.c (struct copy_string_extents_1_arg):
2623 * extents.c (add_string_extents_mapper):
2624 * extents.c (Fextent_property):
2625 * extents.c (Fset_extent_property):
2626 * extents.c (symbol_to_glyph_layout):
2627 * extents.c (properties_equal):
2628 * extents.c (print_extent):
2629 * extents.c (print_extent_1):
2630 * extents.c (extent_in_region_p):
2631 * extents.c (gap_array_make_gap):
2633 * events.h (struct Lisp_Event):
2635 * events.c (Fevent_properties):
2636 * events.c (format_event_object):
2637 * events.c (Fmake_event):
2638 * events.c (event_equal):
2639 * events.c (print_event):
2640 * events.c (mark_event):
2641 * event-stream.c ((read-char)
2642 * event-stream.c (vars_of_event_stream):
2643 * event-stream.c (syms_of_event_stream):
2644 * event-stream.c (Fset_recent_keys_ring_size):
2645 * event-stream.c (Fsit_for):
2646 * event-stream.c (Fnext_event):
2647 * event-stream.c (execute_help_form):
2648 * event-stream.c (maybe_kbd_translate):
2650 * event-msw.c (vars_of_event_mswindows):
2651 * event-msw.c (mswindows_wnd_proc):
2652 * event-msw.c (mswindows_need_event):
2653 * event-msw.c (mswindows_drain_windows_queue):
2654 * event-msw.c (mswindows_pump_outstanding_events):
2656 * event-msw.c (slurp_thread):
2657 * event-msw.c (struct ntpipe_slurp_stream):
2658 * event-msw.c (HANDLE_TO_USID):
2659 * event-Xt.c (emacs_Xt_handle_magic_event):
2660 * event-Xt.c (x_event_to_emacs_event):
2661 * event-Xt.c (x_reset_modifier_mapping):
2662 * event-Xt.c (x_reset_key_mapping):
2664 * eval.c (syms_of_eval):
2665 * eval.c (warn_when_safe):
2666 * eval.c (warn_when_safe_lispobj):
2667 * eval.c (Fbacktrace_frame):
2668 * eval.c (Fbacktrace):
2669 * eval.c (top_level_set):
2670 * eval.c (unbind_to_hairy):
2671 * eval.c (specbind_magic):
2672 * eval.c (specbind_unwind_wasnt_local):
2673 * eval.c (call2_trapping_errors):
2674 * eval.c (call1_trapping_errors):
2675 * eval.c (catch_them_squirmers_call2):
2676 * eval.c (call0_trapping_errors):
2677 * eval.c (run_hook_trapping_errors):
2678 * eval.c (catch_them_squirmers_eval_in_buffer):
2679 * eval.c (call4_in_buffer):
2680 * eval.c (call3_in_buffer):
2681 * eval.c (call2_in_buffer):
2682 * eval.c (call1_in_buffer):
2683 * eval.c (call0_in_buffer):
2684 * eval.c (run_hook):
2685 * eval.c (run_hook_with_args_in_buffer):
2688 * eval.c (do_autoload):
2689 * eval.c (un_autoload):
2690 * eval.c (Fautoload):
2691 * eval.c (Finteractive_p):
2692 * eval.c (Fcommand_execute):
2693 * eval.c (signal_quit):
2694 * eval.c (call_with_suspended_errors):
2695 * eval.c (signal_error):
2696 * eval.c (return_from_signal):
2697 * eval.c (Fcall_with_condition_handler):
2698 * eval.c (run_condition_case_handlers):
2699 * eval.c (condition_case_1):
2700 * eval.c (Funwind_protect):
2701 * eval.c (unwind_to_catch):
2702 * eval.c (internal_catch):
2703 * eval.c (Fmacroexpand_internal):
2704 * eval.c (Fuser_variable_p):
2705 * eval.c (Fdefconst):
2707 * eval.c (Ffunction):
2708 * eval.c (signal_call_debugger):
2709 * eval.c (call_debugger):
2712 * emacs.c (sort_args):
2716 * editfns.c (Fencode_time):
2717 * editfns.c (Fdecode_time):
2718 * editfns.c (Fuser_full_name):
2720 * editfns.c (save_excursion_restore):
2723 * doprnt.c (emacs_doprnt_1):
2724 * doc.c (verify_doc_mapper):
2725 * doc.c (Fsnarf_documentation):
2726 * doc.c (Fdocumentation):
2728 * dired.c (user_name_completion):
2729 * dired.c (Fdirectory_files):
2732 * dgif_lib.c (FreeSavedImages):
2733 * dgif_lib.c (DGifGetImageDesc):
2735 * device.h (struct device):
2736 * device.c (Fselect_device):
2737 * device.c (allocate_device):
2739 * device-x.c (Fx_keysym_on_keyboard_p):
2740 * device-x.c (Fx_valid_keysym_name_p):
2741 * device-x.c (x_IO_error_handler):
2742 * device-x.c (x_delete_device):
2743 * device-x.c (x_finish_init_device):
2744 * device-x.c (x_init_device):
2746 * device-msw.c (mswindows_init_device):
2748 * database.c (vars_of_database):
2749 * database.c (Fput_database):
2750 * database.c (Fopen_database):
2751 * database.c (berkdb_remove):
2752 * database.c (berkdb_put):
2753 * database.c (Fdatabasep):
2754 * database.c (print_database):
2756 * data.c (vars_of_data):
2757 * data.c (syms_of_data):
2758 * data.c (init_errors_once_early):
2759 * data.c (prune_weak_lists):
2760 * data.c (finish_marking_weak_lists):
2761 * data.c (print_weak_list):
2763 * data.c (Fstring_to_number):
2764 * data.c (Fnumber_to_string):
2765 * data.c (Findirect_function):
2768 * data.c (Fsubr_interactive):
2770 * data.c (Fkeywordp):
2773 * console.h (CONSOLE_NAME):
2775 * console.c (vars_of_console):
2776 * console.c (Fselect_console):
2778 * console-x.h (DEVICE_X_COLORMAP):
2779 * console-x.h (struct x_device):
2780 * console-x.c (x_device_to_console_connection):
2781 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2782 * console-tty.c (tty_init_console):
2784 * console-msw.h (struct mswindows_frame):
2787 * cmds.c (internal_self_insert):
2788 * cmds.c (Fforward_line):
2789 * cmds.c (Fforward_char):
2792 * chartab.c (mark_char_table_entry):
2794 * casefiddle.c (casify_word):
2795 * callproc.c (child_setup):
2796 * callproc.c (Fcall_process_internal):
2798 * callint.c (Fcall_interactively):
2800 * bytecode.c (execute_rare_opcode):
2801 * bytecode.c (execute_optimized_program):
2804 * buffer.h (BUFFER_REALLOC):
2805 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2806 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2808 * buffer.h (MAP_INDIRECT_BUFFERS):
2809 * buffer.h (CHECK_LIVE_BUFFER):
2810 * buffer.c (init_initial_directory):
2811 * buffer.c (complex_vars_of_buffer):
2812 * buffer.c (vars_of_buffer):
2813 * buffer.c (finish_init_buffer):
2814 * buffer.c (Fget_file_buffer):
2815 * buffer.c (Fbuffer_list):
2816 * buffer.c (mark_buffer):
2817 * balloon_help.c (balloon_help_move_to_pointer):
2818 * balloon_help.c (show_help):
2821 * alloc.c (garbage_collect_1):
2822 * alloc.c (sweep_strings):
2823 * alloc.c (sweep_compiled_functions):
2824 * alloc.c (sweep_bit_vectors_1):
2825 * alloc.c (sweep_vectors_1):
2826 * alloc.c (sweep_lcrecords_1):
2827 * alloc.c (tick_lcrecord_stats):
2828 * alloc.c (pure_string_sizeof):
2829 * alloc.c (mark_conses_in_list):
2830 * alloc.c (mark_object):
2831 * alloc.c (report_pure_usage):
2832 * alloc.c (make_pure_float):
2833 * alloc.c (make_pure_string):
2834 * alloc.c (free_managed_lcrecord):
2835 * alloc.c (mark_string):
2836 * alloc.c (noseeum_make_marker):
2837 * alloc.c (allocate_event):
2838 * alloc.c (Fbit_vector):
2839 * alloc.c (Fvector):
2840 * alloc.c (make_float):
2841 * alloc.c (Fmake_list):
2843 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2844 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2845 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2846 * alloc.c (dbg_constants):
2847 * alloc.c (gc_record_type_p):
2848 * alloc.c (free_lcrecord):
2849 * alloc.c (xmalloc):
2850 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2852 * Makefile.in.in (mostlyclean):
2853 * Makefile.in.in (external_client_xlib_objs_nonshared):
2854 * Makefile.in.in (temacs_link_args):
2855 * Makefile.in.in (release):
2856 * Makefile.in.in (dnd_objs):
2857 * Makefile.in.in (objs):
2858 * Makefile.in.in (PROGNAME):
2859 * EmacsShell.c: cast strings to (XtPointer)
2860 * EmacsFrame.c: cast strings to (XtPointer)
2862 - rewrite basic lisp functions for speed
2863 - rewrite bytecode interpreter for speed
2864 - rewrite list looping constructs for speed and safety using
2866 - use size_t where appropriate.
2867 - new hashtable implementation
2868 - cleanup implementation of opaques
2869 - opaques can now be purecopy'ed
2870 - move some cl functionality into C for speed.
2871 - remove last remaining VMS support
2873 - improve gdb/dbx debugger support
2874 - move pure.c back into alloc.c for performance
2875 - enable report_pure_usage() if --memory-usage-stats
2876 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2877 - don't use symbols with leading `_' or embedded `__'
2878 - globally cleanup duplicated semicolons `;;'
2879 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2881 - globally replace O_NDELAY with O_NONBLOCK.
2882 - globally replace CDISABLE with _POSIX_VDISABLE.
2883 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2884 - define (and maybe use!) STDERR_FILENO and friends.
2885 - add support for macros defined in C
2886 - `when', `unless', `not' and `defalias' now defined in C,
2887 so that they are universally available.
2888 - rename defvar_mumble to defvar_magic
2889 - rename RETURN__ to RETURN_SANS_WARNINGS
2890 - use consistent style of initial caps in error messages
2891 - implement last, butlast, nbutlast, copy-list in C.
2892 - provide typedefs for all struct Lisp_foo types
2893 - Lisp_Objects must be initialized to Qnil rather than 0.
2894 - make sure XEmacs runs (slowly) with always_gc == 1;
2895 - fast and safe LOOP_* macros
2896 - change calls to XSETOBJ to XSETFOO
2897 - replace calls to XSETINT by make_int()
2898 - plug up memory leaks
2899 - use style markobj (foo), not silly ((markobj) (foo))
2900 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2902 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2904 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2906 1998-11-28 SL Baur <steve@altair.xemacs.org>
2908 * XEmacs 21.2-beta4 is released.
2910 1998-11-27 SL Baur <steve@altair.xemacs.org>
2912 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2913 property in control-1 charset.
2914 From Julian Bradfield <jcb@daimi.au.dk>
2916 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2918 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2920 Add stub for :label.
2922 * gui.c (gui_item_add_keyval_pair): ditto.
2924 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2925 :key-sequence keyword.
2927 Support :active for submenus like the Windows code and FSF Emacs.
2929 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2931 * dired.c (make_directory_hash_table): make_string() is OK because
2932 readdir() Mule-encapsulates.
2934 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2936 * fns.c (Fbase64_encode_string): Fix docstring.
2937 (Fbase64_decode_string): Ditto.
2939 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2941 * editfns.c (Ftranslate_region): Use
2942 convert_bufbyte_string_into_emchar_string().
2944 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2946 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2948 (Ftranslate_region): Turn table into an array of Emchars for
2951 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2953 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2955 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2957 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2958 type `char' with nils.
2960 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2961 for tables of type `char'.
2963 1998-11-26 Didier Verna <verna@inf.enst.fr>
2965 * input-method-xlib.c (Initialize_Locale): don't call
2966 XtSetLanguageProc. We've done the whole work here.
2967 * input-method-xfs.c (Initialize_Locale): ditto.
2968 * input-method-motif.c (Initialize_Locale): ditto.
2970 1998-11-26 Didier Verna <verna@inf.enst.fr>
2972 * process-unix.c (unix_create_process): handle properly
2973 Vfile_name_coding_system for converting the program and directory
2976 1998-11-27 SL Baur <steve@altair.xemacs.org>
2978 * m/arm.h: New file.
2979 From James LewisMoss <dres@ioa.com>
2981 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2984 Fix the realpath() problem of UnixWare2.1.3.
2985 Patches for NEC's sysv4.2 machine.
2987 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2989 * dired.c (Fdirectory_files): Remove redundant code.
2991 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2993 * fns.c (free_malloced_ptr): New function.
2994 (XMALLOC_OR_ALLOCA): New macro.
2995 (XMALLOC_UNBIND): Ditto.
2996 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2997 to be freed in case of non-local exit.
2998 (Fbase64_encode_string): Ditto.
2999 (Fbase64_decode_region): Ditto.
3000 (Fbase64_decode_string): Ditto.
3001 (STORE_BYTE): New macro.
3002 (base64_decode_1): Use it.
3004 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3006 * fns.c (base64_value_to_char): Base64 stuff.
3008 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3010 * editfns.c (Fbuffer_substring): New function.
3012 * lisp.h: Declare make_string_from_buffer_no_extents().
3014 * insdel.c (make_string_from_buffer_1): New function.
3015 (make_string_from_buffer_no_extents): Ditto.
3017 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3019 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3020 sound work on AIX with OSS installed. Linux should still work.
3022 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3024 * config.h.in: name change for cygwin/version.h
3026 * configure.in: check for cygwin/version.h now.
3028 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3029 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3030 move cygwin32/version.h to cygwin/version.h
3032 1998-11-03 Olivier Galibert <galibert@pobox.com>
3034 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3037 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3039 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3040 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3041 enable BROKEN_SIGIO under b20 to make QUIT work.
3043 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3045 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3046 to fit within the constraints of the screen size. I.e. make the
3047 frame small enough to fit and move it if some of it will be
3050 1998-10-19 Greg Klanderman <greg@alphatech.com>
3052 * dired.c: conditionalize inclusion of user-name-completion
3053 primitives on non-Windows NT. The needed functions don't exist on NT.
3055 1998-11-24 SL Baur <steve@altair.xemacs.org>
3057 * gifrlib.h: Clean up types for 64 bit compile.
3058 * dgif_lib.c (DGifInitRead): Ditto.
3059 (MakeSavedImage): Ditto.
3060 * emacs.c (decode_path): Ditto.
3061 From Steve Carney <carney@pa.dec.com>
3063 1998-10-16 William M. Perry <wmperry@aventail.com>
3065 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3066 (cehckboxes instead of checkboxes).
3068 1998-10-15 SL Baur <steve@altair.xemacs.org>
3070 * XEmacs 21.2-beta3 is released.
3072 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3074 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3075 gnuclient. Otherwise, we run xemacs as we always did. This gets
3076 rid of the annoying DOS window when running gnuclient.
3078 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3080 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3081 HAVE_MS_WINDOWS typo.
3083 1998-10-13 SL Baur <steve@altair.xemacs.org>
3085 * process-unix.c (unix_send_process): Set closed flag on writable
3086 pipe after SIGPIPE is received and before we call deactivate_process.
3088 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3090 * window.c (Fset_window_start): respect narrowing when
3091 checking wheter start is at the beginning of a line.
3092 (Fset_window_buffer): Ditto
3093 Fixes repeatable crash in VM.
3095 1998-10-09 SL Baur <steve@altair.xemacs.org>
3097 * window.c (specifier_vars_of_window): Set default vertical
3098 divider width to 1 on ttys.
3100 1998-10-08 Martin Buchholz <martin@xemacs.org>
3105 Add <stddef.h> to get ptrdiff_t declaration
3107 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3109 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3110 is used for Motif or Lucid scrollbars under X.
3112 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3114 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3117 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3119 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3121 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3123 * s/cygwin32.h: more cygwin b20 reorganisation.
3125 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3127 * nas.c: Added necessary support functions to be able to handle
3128 WAVE files in memory, just like the support for SND files in
3131 1998-09-30 SL Baur <steve@altair.xemacs.org>
3133 * callproc.c (child_setup): Fix spelling typo.
3135 1998-09-29 SL Baur <steve@altair.xemacs.org>
3137 * XEmacs 21.2-beta2 is released.
3139 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3141 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3142 to prevent memory corruption in the case of jumping out of a series of
3143 nested match patterns. This is a rather brute force approach, though.
3145 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3147 * config.h.in: ditto.
3149 * s/cygwin32.h: rearrange declarations to cope with cygwin
3150 b20. Include cygwin32/version.h if it exists.
3152 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3154 * device-msw.c (mswindows_init_device): Call new
3155 mswindows_enumerate_fonts() function in objects-msw.c instead
3156 of font_enum_callback_1() to enumerate fonts.
3158 font_enum_callback_1() and _2() moved to objects-msw.c.
3160 * faces.c (complex_vars_of_faces): Make the mswindows default
3161 face font fully specified and provide some fallbacks.
3163 * objects-msw.c: font_enum_callback_1() and _2() moved here
3164 from objects-msw.c. Obtain the enumerated font's character
3165 sets by table lookup instead of using the locale-specific
3166 string provided by Windows.
3168 New public non-method mswindows_enumerate_fonts() that fills
3169 in the supplied mswindows device's font list.
3171 mswindows_initialize_font_instance: Use the supplied name
3172 variable instead of f->name when signalling errors. Match font
3173 weights and character sets using lookup tables which handle
3174 spaces instead of by frobbing.
3176 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3178 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3179 on the size of code fragments passed to run_in_other_process.
3181 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3182 the amount of memory to allocate in the other process.
3184 Removed sigkill_code_end(), sigint_code_end() and
3185 sig_enable_code_end() since they are now redundant.
3187 send_signal() and enable_child_signals(): Don't try to work
3188 out the end of the code fragments passed to
3189 run_in_other_process()
3191 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3193 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3196 * src/unexelf.c: Partially synched with FSF's 20.3.
3198 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3200 * insdel.c (signal_after_change): Map across indirect buffers
3201 here, and not in the upper-level functions.
3202 (signal_first_change): Don't check for Armageddon.
3203 (signal_before_change): Map across indirect buffers here.
3204 (prepare_to_modify_buffer): ...and here.
3206 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3208 * insdel.c (signal_after_change): Add return value.
3209 (buffer_insert_string_1): Use it.
3210 (buffer_delete_range): Ditto.
3211 (buffer_replace_char): Ditto.
3212 (cancel_multiple_change): Map the indirect buffers.
3214 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3216 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3217 (uninit_buffer_text): Ditto.
3219 * buffer.c (Fmake_indirect_buffer): Implement stricter
3222 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3224 * insdel.c (change_function_restore): Reverse order of
3225 function-call and assignment.
3226 (first_change_hook_restore): Ditto.
3228 * extents.c (mark_extent_auxiliary): Mark them.
3229 (Fset_extent_property): Set them.
3230 (Fextent_property): Get them.
3231 (Fextent_properties): Ditto.
3232 (vars_of_extents): Set their default.
3234 * extents.h (struct extent_auxiliary): Add before_change_functions
3235 and after_change_functions.
3237 * insdel.c (signal_before_change): Use it.
3238 (signal_after_change): Ditto.
3240 * extents.c (report_extent_modification): New function.
3242 * insdel.c (signal_before_change): Don't check for Armageddon.
3243 (signal_after_change): Ditto.
3245 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3247 * redisplay.c (redisplay_window): make sure a new starting point
3248 is chosen if it somehow got moved from the beginning of the line
3249 -- this can happen because Fwiden was called recently.
3251 * window.c (Fset_window_start): set start_at_line_beg correctly
3252 (Fset_window_buffer): Ditto
3254 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3256 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3257 (uninit_buffer_text): Ditto.
3259 * buffer.c (Fmake_indirect_buffer): Implement stricter
3262 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3264 * emacs.c (main_1): Removed references to *vars_of_filelock.
3266 * lisp.h: Added Fsystem_name.
3268 * filelock.c: Replaced by version from FSF 20.2. Now implements
3269 locking by using symlinks which is NFS safe. However keep the
3270 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3271 version (and of course use ansi C, acessor macros, etc).
3273 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3275 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3276 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3277 in init_signals_very_early. However these should not be passed
3278 on to children attached to the new pty.
3280 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3282 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3284 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3286 * fileio.c (file-name-directory, file_name_as_directory):
3287 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3289 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3291 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3293 * ralloc.c: uncomment __morecore.
3295 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3297 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3298 WriteFile() to fix a winsock 1.x bug on Win95.
3300 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3302 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3304 (x_event_to_emacs_event): Ditto.
3305 (emacs_Xt_handle_focus_event): Ditto.
3306 (emacs_Xt_handle_magic_event): Ditto.
3308 * console-x.h (struct x_device): New flag being_deleted.
3309 (DEVICE_X_BEING_DELETED): New macro.
3311 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3312 returning. Before doing that, set the being_deleted flag on the
3315 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3317 * device-x.c (x-seppuku-on-epipe): Removed.
3319 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3321 * frame-x.c (x_delete_frame): Flush the X output buffer after
3322 calling XtDestroyWidget to ensure that the windows are really
3325 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3327 * menubar-x.c (my_run_hook): New unused function.
3328 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3329 since we ignore the results of the contained functions anyway.
3331 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3333 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3334 interlaced GIF files that are smaller than 4 lines high...
3336 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3338 * buffer.c (map_over_sharing_buffers): Deleted.
3340 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3342 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3345 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3347 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3349 (buffer_delete_range): Ditto.
3351 * marker.c (init_buffer_markers): Set point-marker to the value of
3352 point in an indirect buffer.
3354 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3356 * undo.c (undo_prelude): Test last-undo-buffer against base
3359 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3361 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3363 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3365 * insdel.c (init_buffer_text): Initialize it here.
3367 * line-number.c: Address line_number_cache through buffer->text.
3369 * buffer.c (mark_buffer): Mark line number cache.
3371 * bufslots.h (line_number_cache): Move to struct buffer_text.
3373 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3374 across the children buffers.
3375 (buffer_delete_range): Ditto.
3376 (buffer_replace_char): Ditto.
3380 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3382 * buffer.c (Fmake_indirect_buffer): Uncomment.
3384 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3386 * macros.c (Fend_kbd_macro): Remove trailing period from error
3388 (Fexecute_kbd_macro): Ditto.
3390 1998-08-21 Greg Klanderman <greg@alphatech.com>
3392 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3393 (Fuser_name_completion_1): new function to return uniqueness
3394 indication in addition to the user name completion.
3395 (user_name_completion): change type of `uniq' argument.
3397 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3399 * lread.c (vars_of_lread): Removed `source-directory' variable.
3401 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3403 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3406 1998-08-19 SL Baur <steve@altair.xemacs.org>
3408 * dired.c (vars_of_dired): Fix misapplied patch.
3410 1998-08-16 Martin Buchholz <martin@xemacs.org>
3412 * fns.c (Fremrassq, remrassq_no_quit):
3413 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3415 1998-07-17 Didier Verna <verna@inf.enst.fr>
3417 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3418 style as foreground GC for faces that have the `dim' property.
3419 (x_output_string): when the `dim' face property is set,
3420 ensure the gray pixmap has been created, and get a proper
3421 foreground GC to draw the text.
3423 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3425 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3426 Manually track the state of the left and right Ctrl and Alt
3429 1998-08-07 Matt Stupple <matts@tibco.com>
3431 * ntproc.c: don't wait on char_consumed at thread entry.
3432 Additionally, to get the 'process' marked as finished, ensure
3433 that the CHILD_ACTIVE macro returns false, so before exiting
3434 close char_avail and set it to NULL, and close other handles
3435 to reduce handle leak problems.
3437 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3439 * menubar-msw.c (displayable_menu_item): take account of menu
3440 depth when deciding whether to try to display accelerators.
3442 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3444 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3447 * glyphs-msw.c: fix a couple of potential handle leaks.
3449 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3451 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3452 *decoding ONLY* back into the core.
3453 * glyphs-eimage.c: Change referenced header file for GIF
3454 reading to point to the incore version.
3456 1998-07-20 Martin Buchholz <martin@xemacs.org>
3458 * casefiddle.c (casify_object):
3459 Change algorithm from O(N**2) to O(N).
3463 1998-07-22 Greg Klanderman <greg@alphatech.com>
3465 * dired.c (file_name_completion_unwind): don't leak the cons.
3467 1998-07-20 Greg Klanderman <greg@alphatech.com>
3469 * dired.c (Fuser_name_completion): new function.
3470 (Fuser_name_all_completions): new function.
3471 (user_name_completion): new function.
3472 (syms_of_dired): 2 new DEFSUBRs.
3473 (vars_of_dired): initialize user name cache vars.
3475 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3477 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3478 colors taken from the default face. Also correct a thinko in
3479 transparency (not alpha) handling.
3481 1998-07-23 Martin Buchholz <martin@xemacs.org>
3483 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3484 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3485 * lread.c (Fload_internal): Be very careful with printfs of
3487 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3490 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3492 * callint.c (Fcall_interactively): GCPRO prompt string before
3493 passing it to Fread_key_sequence
3495 1998-07-27 SL Baur <steve@altair.xemacs.org>
3497 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3498 Vvertical_divider_map.
3500 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3501 Qnil or 0, none were initialized prior to this change.
3503 Rename misnamed `V' prefixed integer variables:
3504 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3505 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3506 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3507 Vcanna_ichiran_revLen.
3509 Rename misnamed `V' prefixed integer variables and initialize
3510 properly in the vars_of routine.
3511 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3512 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3513 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3514 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3515 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3516 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3517 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3518 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3519 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3520 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3521 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3522 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3523 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3524 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3525 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3526 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3527 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3528 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3529 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3530 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3531 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3532 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3533 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3534 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3535 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3536 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3537 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3538 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3539 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3540 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3541 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3542 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3543 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3544 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3545 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3546 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3547 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3548 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3549 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3550 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3551 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3552 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3553 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3554 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3555 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3556 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3558 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3560 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3561 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3562 keys thus no longer considering all keysyms on a key.
3564 1998-07-19 SL Baur <steve@altair.xemacs.org>
3566 * XEmacs 21.2-beta1 is released.
3568 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3570 * eldap.c (Fldap_search_internal): When converting the list of
3571 attributes to search Copy the final 0 from Lisp strings to C
3573 Check base, not Vldap_default_base as a a string
3575 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3577 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3579 * unexnt.c: Unconditionally define bss_start and bss_size, and
3580 ensure that they don't go in the .bss section.
3582 1998-07-17 Olivier Galibert <galibert@pobox.com>
3584 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3585 byte order is dependant of the local byte order).
3586 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3588 1998-07-18 SL Baur <steve@altair.xemacs.org>
3590 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3591 Qmswindows_resource.
3592 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3594 1998-07-12 SL Baur <steve@altair.xemacs.org>
3596 * general.c (syms_of_general): Add defsymbol for Qresource.
3598 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3599 Qmswindows_resource.
3600 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3601 (mswindows_resource_validate): Rename.
3602 (mswindows_resource_normalize): Rename.
3603 (mswindows_resource_possible_dest_types): Rename.
3604 (mswindows_resource_instantiate): Rename.
3605 (image_instantiator_format_create_glyphs_mswindows): Replace
3606 `resource' with `mswindows.resource'.
3608 * XEmacs 21.0-pre5 is released.
3610 1998-07-10 SL Baur <steve@altair.xemacs.org>
3612 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3613 server type in environment.
3614 Use alloca-ed strings instead of tiny fixed size ones.
3616 1998-07-09 SL Baur <steve@altair.xemacs.org>
3618 * XEmacs 21.0-pre4 is released.
3620 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3622 * fileio.c: (expand_file_name): under win32: Don't treat names
3623 as UNC names if a drive letter has been specified. If a drive
3624 has been specified, strip out extra directory-seperators that
3625 reportedly cause problems under Win95.
3627 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3629 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3630 MSVC >= 5.0. Put emacs init and zero-init data in a special
3631 section of the executable when this is defined.
3633 * unexnt.c, ntheap.h:
3634 Removed unused find_section() and get_section_size().
3637 Fix up the executable's checksum after dumping otherwise the
3639 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3640 zero-init data separately from init data. Dump emacs data
3641 into a special section of the executable.
3642 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3643 my_ebss instead of up to the end of bss.
3645 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3647 * filelock.c: Removed Vconfigure_lock_directory - already
3650 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3651 defined in frame.c and general.c respectively.
3653 * glyphs-msw.c: Removed Qresource - already defined in
3656 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3658 * eldap.c (Fldap_search_internal): Docstring fixes
3660 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3662 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3663 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3664 EMACSPACKAGEPATH and INFOPATH variables.
3665 Removed unused get_emacs_configuration function.
3667 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3668 it is now defined at build-time by the makefile.
3670 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3672 * fileio.c: (expand_file_name): under win32: Don't treat names as
3673 UNC names if a drive letter has been specified. If a drive has
3674 been specified, strip out extra directory-seperators that
3675 reportedly cause problems under Win95.
3677 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3679 * faces.c (complex_vars_of_faces): for the gui-element face don't
3680 fallback to the default face, instead provide reasonable default
3681 fallbacks that were previously hardcoded elsewhere.
3683 1998-07-06 Olivier Galibert <galibert@pobox.com>
3685 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3686 when the X server endianness is different than the client's one.
3688 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3690 * eval.c (run_hook_with_args_in_buffer): Check
3691 default (non-buffer-local) value of hook for
3692 nil before treating it as a function. Don't initialize
3693 the `globals' variable twice.
3695 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3697 * fileio.c: Don't do directory seperator canonicalisation in
3698 substitute-in-file-name because we don't know that the
3699 filename refers to a local file.
3701 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3703 * process-nt.c (nt_create_process): Try appending the standard
3704 executable file extensions to the filename if none supplied.
3706 1998-06-29 SL Baur <steve@altair.xemacs.org>
3708 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3710 From Keisuke Mori <ksk@ntts.com>
3712 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3714 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3715 images if we have masks. This handles the xbm case (have masks)
3716 and avoids overuse of resources in the xpm case (generally no masks).
3717 Don't output small toolbars.
3719 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3721 * eval.c (run_hook_with_args_in_buffer): Don't treat
3722 the default value of a buffer local hook as a list of
3723 hooks unless it is both a cons and the car of that cons
3726 1998-06-29 SL Baur <steve@altair.xemacs.org>
3728 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3729 * process-unix.c: Ditto.
3730 * mule-coding.h: Ditto.
3731 * mule-coding.c: Ditto.
3732 * mule-charset.c: Ditto.
3733 * mule-charset.h: Ditto.
3734 * file-coding.c: Ditto.
3735 * file-coding.h: Ditto.
3737 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3739 * event-msw.c: Guard against recursion when freeing
3740 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3742 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3743 Call ShowWindow twice in init_frame_3 to get round runemacs
3746 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3748 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3750 * winslots.h: Rename.
3752 * window.c (specifier_vars_of_window): Renamed
3753 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3754 as suggested by Ben Wing.
3755 (specifier_vars_of_window): Fix docstrings.
3757 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3759 * unexaix.c: Line number information works correctly again.
3761 1998-06-22 Olivier Galibert <galibert@pobox.com>
3763 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3765 1998-06-21 Martin Buchholz <martin@xemacs.org>
3767 * editfns.c (get_home_directory): ANSIfy.
3768 XEmacs is compilable under C *and* C++.
3769 It's XEmacs, not Xemacs!
3771 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3773 * console-msw.h: added a list of fonts to device data.
3775 * device-msw.c: enumerate list of available fonts in
3776 mswindows_init_device. Free list in mswindows_delete_device.
3778 * objects-msw.c: Added helper function match_font used by
3779 mswindows_initialize_font_instance and mswindows_list_fonts.
3780 Allow a charset to be specified in a font string, even if
3781 previous fields havn't been specified.
3783 1998-06-23 Greg Klanderman <greg@alphatech.com>
3785 * indent.c (column_at_point): column cache bugfix.
3786 Set last_known_column_point to the buffer position for
3787 which the column was requested, not buffer's point.
3789 * redisplay.c (decode_mode_spec): for current-column, show
3790 window's point's column, not buffer's point's column.
3792 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3794 * menubar-msw.c (mswindows_handle_wm_command): use
3795 enqueue_misc_user event rather than
3796 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3799 * console-msw.h: declare mswindows_enqueue_magic_event.
3801 * event-msw.c (mswindows_enqueue_magic_event): make global.
3803 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3805 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3806 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3807 (add_position_to_cache): Use EMACS_INT instead of int.
3809 1998-06-21 Olivier Galibert <galibert@pobox.com>
3811 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3812 suitable for an int used as a boolean (btw, C sucks.).
3814 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3816 * object-msw.c: remove warnings.
3818 * device-msw.c: #define wrongly named cygwin structure elements.
3820 * s/cygwin32.h: define DEMI_BOLD
3822 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3824 * redisplay-msw.c: new function mswindows_apply_face_effects.
3825 This is called by output_string and output_cursor to display
3826 underline and strikeout on faces.
3828 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3830 * console-msw.h: added a list of fonts to device data.
3832 * device-msw.c: enumerate list of available fonts in
3833 mswindows_init_device. Free list in mswindows_delete_device.
3835 * objects-msw.c: Added helper function match_font used by
3836 mswindows_initialize_font_instance and mswindows_list_fonts.
3837 Allow a charset to be specified in a font string, even if
3838 previous fields havn't been specified.
3840 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3843 Removed compilation warnings from mswindows_string_to_color.
3844 mswindows_list_fonts returns a more general bogus font.
3845 New lisp-visible function mswindows-color-list.
3847 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3849 * editfns.c (Fuser_login_name): Modify to user new function
3851 (user_login_name): C only function to avoid Lisp object overhead
3852 Returns "unknown" instead of nil in Cygwin environment
3854 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3855 equivalent for current user in Cygwin environment. Use new
3856 function user_login_name to get username.
3858 * lisp.h: Declare user_login_name
3860 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3862 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3864 Some other insignificant nitpicks.
3866 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3868 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3869 creating the image list and make sure he bk color is transparent.
3871 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3873 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3874 completed_timeouts. The timer could have expired.
3876 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3878 * console-msw.h: move XEMACS_RECT_WH inside frame
3879 parameters. define macors to access it.
3881 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3882 parameter to intialise desired sizing. (mswindows_init_frame_2):
3883 enable and size the frame to something sensible when we get
3884 here. (mswindows_set_frame_properites): use new
3885 mswindows_size_frame_internal function and size frame if frame
3886 parameters not just if init is finished - WM_SIZE happens too
3887 early for some specs. (mswindows_size_frame_internal): new
3888 function abstracted from mswindows_set_frame_properties.
3889 (Vmswindows_use_system_frame_size_defaults):
3890 new variable controls whether to allow the system to pick frame
3891 size defaults, defaults to nil.
3893 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3894 than duplicated code.
3896 1998-06-15 Colin Rafferty <colin@xemacs.org>
3898 * Makefile.in.in: Made EXTW_LINK expand properly.
3900 1998-06-12 Martin Buchholz <martin@xemacs.org>
3902 * redisplay.c (vars_of_redisplay): default value of
3903 column-number-start-at-one should be NIL!
3905 1998-06-11 Martin Buchholz <martin@xemacs.org>
3908 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3910 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3912 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3913 build_string to avoid crashes under Mule.
3915 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3917 * ntplay.c (play_sound_data_1): don't delete the sound data until
3918 the next sound is played and the previous one finished.
3920 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3922 * fileio.c (directory-sep-char): Escape backslashes.
3924 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3926 * event-stream.c: Fix docstring reference.
3928 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3930 * alloc.c (make_float): Remove useless initialization of `next'
3932 (make_pure_float): Ditto.
3934 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3936 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3938 * fileio.c (Fmake_directory_internal): Remove conditionals
3939 on WINDOWSNT when calling mkdir.
3941 * ntproc.c: Deleted the following unused functions:
3942 register_child, reap_subprocess, sys_wait.
3944 * nt.c (sys_rename): Ifzeroed this implementation.
3945 Deleted the following unused functions:
3946 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3947 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3948 sys_read, sys_write.
3949 Merger sys_fopen and sys_open with sysdep.c implementation.
3951 * sysdep.c: Removed MS-DOS code.
3952 (sys_rename): Deal with Microsoft rename weirdness.
3953 (sys_open): Implemented for Windows.
3957 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3959 * buffer.c (complex_vars_of_buffer): Removed %t description from
3962 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3964 * scrollbar-msw.c: initialize the cbSize element of the
3965 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3966 to ignore the value of cbSize, but Win95 (and I presume Win98)
3967 appear to want it set to sizeof(SCROLLINFO).
3969 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3971 * event-stream.c: Defined Qcancel_mode_internal.
3972 (syms_of_event_stream): defsymbol'ed it.
3974 * events.h: Externed it.
3976 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3978 1998-06-04 Oliver Graf <ograf@fga.de>
3980 * frame-x.c (x_cde_destroy_callback): free the data
3981 (cde-start-drag-internal) corrected root position, 21.1 needs this
3982 hardcoded in Button events
3983 (offix-start-drag-internal) corrected root position
3985 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3987 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3990 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3992 * dialog-msw.c (button_width): Removed `inline' from the function
3995 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3997 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3998 Note that adding this flag to subsequent frames causes problems.
4000 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4002 * glyphs-eimage.c (png_instantiate) move 'struct
4003 png_memory_storage tbr' out of nested block to avoid dangling
4006 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4009 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4010 inherits from gui-element.
4012 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4013 with existing code, generate masks correctly.
4015 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4017 * glyphs-eimage.c: Changed included header for gifs to use
4018 Gifreader instead of giflib.
4020 * glyphs-x.c: removed the image-related functions that were
4021 moved into glyphs-eimage.
4023 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4025 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4026 if built without X Windows support.
4028 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4030 * fns.c (Fconcat): Synch docstring with new reality.
4032 1998-06-03 SL Baur <steve@altair.xemacs.org>
4034 * frame.c: Remove reference to msdos.h (which is going away).
4035 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4037 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4039 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4043 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4045 * events.h: Fixed commentary about misc-user scrollbar events.
4047 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4048 object as an event channel, instead of window object.
4049 (x_update_horizontal_scrollbar_callback): Ditto.
4051 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4053 * ntplay.c (play_sound_data_1) new function. convert alloca data
4054 to malloc if necessary.
4055 (play_sound_file): if the file is not in our path then convert to
4058 1998-06-01 SL Baur <steve@altair.xemacs.org>
4060 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4061 * msdos.c (Frecent_doskeys): Ditto.
4063 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4064 Suggested by Reggie Perry <perry@zso.dec.com>
4066 * buffer.h: Eliminate size in declaration.
4068 1998-06-01 Olivier Galibert <galibert@pobox.com>
4070 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4072 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4074 * gui.c (gui_item_init): Changed the default value for config member
4075 from Qunbound to Qnil.
4077 1998-06-01 Greg Klanderman <greg@alphatech.com>
4079 * indent.c (vmotion_pixels): Don't #define abs().
4081 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4083 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4086 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4088 * glyphs.h: add xbm declarations.
4090 * console.h: add xbm_instantiate_method device method.
4092 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4093 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4094 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4095 locate_pixmap_file device method and read_bitmap_data_from_file
4096 instead of XmuReadBitmapDataFromFile.
4097 (xbm_instatntiate): make a device method.
4099 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4100 new function that just calls XmuReadBitmapDataFromFile.
4101 (x_xbm_instatntiate): device method from xbm_instantiate.
4103 * glyphs-msw.c (read_bitmap_data) (NextInt)
4104 (read_bitmap_data_from_file): new functions copied from Xmu
4106 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4107 inline data to an mswindows bitmap.
4108 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4109 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4112 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4114 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4115 `modeline-visible-p'.
4116 Declared specifier lisp variables at the beginning oh the file
4119 * procimpl.h (struct process_methods): Changed semantics of
4120 create_process method so it accepts lisp strings instead of
4123 * process.c (Fstart_process_internal): Moved building of
4124 unix style argv from here to process-unix.c, ...
4126 * process-unix.c (unix_create_process): ... right here.
4128 * process-nt.c (nt_create_process): Changed this function to
4129 support new semantics, so avoided a GC problem.
4131 * events.c (Fmake_event): Document misc-user events properties.
4132 (Fmake_event): Do not allow arbitrary objects for channel property
4133 of misc-user events.
4134 (Fmake_event): Change misc-user event validation: it is function
4135 which is required, not button.
4137 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4139 (mswindows_enqueue_misc_user_event): Added function.
4140 (mswindows_bump_queue): Removed function.
4141 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4142 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4143 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4144 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4145 really nothing, which is my personal favorite thing.
4147 * console-msw.h: Removed prototype for mswindows_bump_queue().
4148 Added prototype for mswindows_enqueue_misc_user_event().
4150 * menubar-msw.c (mswindows_handle_wm_command): Use
4151 mswindows_enqueue_misc_user_event().
4153 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4155 * dialog-msw.c (dialog_proc): Ditto.
4157 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4158 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4159 user events channel.
4161 1998-05-29 Greg Klanderman <greg@alphatech.com>
4163 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4164 incorrect semantics of vmotion_pixels which has been fixed. don't
4165 use it anymore as it can't easily be used.
4167 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4168 the motion was reported incorrectly if you tried to go past end of
4171 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4173 * toolbar.h: Removed misleading commentary, as Martin suggested.
4175 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4177 * lisp.h: Extern Qactivate_menubar_hook.
4179 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4182 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4184 * glyphs-msw.c: use BPLINE macro.
4186 * select-msw.c (mswindows-selection-exists-p)
4187 (mswindows-delete-selection): doc string fixes.
4189 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4190 unpressable. warning elimination.
4192 1998-05-28 Martin Buchholz <martin@xemacs.org>
4194 * alloc.c (dbg_constants):
4197 Remove toolbar_data debugging code, since that lrecord has
4200 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4202 * alloc.c: zap cached value of (user-home-directory), so that
4205 * buffer.c: From init_buffer(), separated out code that
4206 determined the initial directory for the *scratch* buffer, and
4207 put them into a function called "init_initial_directory()".
4208 The initial directory is now available as a global "char *"
4209 called initial_directory.
4211 * buffer.h: Added extern entries for initial_directory[] and
4212 init_initial_directory().
4214 * editfns.c: added new elisp function "user-home-directory",
4215 which basically returns getenv("HOME"), but attempts to use
4216 other values if $HOME isn't set.This may have to be tweaked in
4217 the future as, under Unix, "/" is used if $HOME isn't set (this
4218 probably should be set to the current directory). To support
4219 this, a new C function, "get_home_directory()", now exists,
4220 which returns the "home directory", as a "char *" string.
4222 * emacs.c: Rearrange NT initialization order so that
4223 environment/registry variables will be properly entered into
4224 Vprocess_enviroment.
4226 * fileio.c: replaced egetenv("HOME") with calls to the new
4227 get_home_directory().
4229 * lisp.h: Added function prototypes for uncache_home_directory()
4230 and get_home_directory(), along with lisp prototypes for
4231 Fuser_home_directory() and friends.
4233 * nt.c: replaced getenv("HOME") with calls to the new
4234 get_home_directory().
4236 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4237 warnings about getcwd(), etc. not having prototypes.
4239 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4241 * process-nt.c (send_signal): Emulate SIGHUP.
4242 (validate_signal_number): Ditto.
4244 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4245 remove MOD_SHIFT from ASCII characters.
4246 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4249 1998-05-24 Oliver Graf <ograf@fga.de>
4251 * frame-x.c (cde-start-drag-internal): added filename and multi-
4253 (x_cde_convert_callback) dito
4255 1998-05-26 Oliver Graf <ograf@fga.de>
4257 * frame-x.c: include event-mod.h also with CDE
4258 (x_cde_convert_callback) made the thing working
4259 (cde-start-drag-internal) also debugging
4261 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4268 - add __OpenBSD__ where __NetBSD__ was found.
4269 - TODO: replace platform-specific conditional compilation by
4270 feature tests in configure.in.
4272 1998-05-15 Greg Klanderman <greg@alphatech.com>
4274 * window.c (Fwindow_displayed_text_pixel_height): New function.
4275 (syms_of_window): DEFSUBR it.
4277 * indent.c (Fvertical_motion_pixels): New function - request
4279 (vmotion_pixels): helper.
4280 (syms_of_indent): DEFSUBR.
4281 * lisp.h: declaration for vmotion_pixels().
4283 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4284 to request returning motion in pixels.
4285 (Fvertical_motion_pixels): Remove, functionality merged into
4287 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4288 (Fmove_to_window_line): ditto.
4289 * lisp.h: Change declaration for Fvertical_motion.
4291 * window.c: rename window-text-pixel-{height,width,edges} to
4292 window-text-area-pixel-*.
4294 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4296 * tooltalk.c (vars_of_tooltalk) added staticpro for
4297 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4299 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4301 * faces.c: create a new 3d_object_face, make modeline and
4302 vertical_divider faces fallback to this rather than the default.
4304 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4306 * s/cygwin32.h: define charsets for cygwin.
4308 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4310 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4311 and coordinates. resize bitmaps if we have already settled on a
4314 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4316 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4318 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4320 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4324 * gui-x.c (popup_selection_callback): Ditto.
4326 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4328 * gui.c (get_callback): Renamed to get_gui_callback.
4330 1998-05-17 Martin Buchholz <martin@xemacs.org>
4332 * glyphs.h: order rearrangement.
4334 * device-tty.c (tty_asynch_device_change): Warning suppression.
4335 * device-x.c (x_device_system_metrics): Warning suppression.
4336 Make Doc strings consistent with coding standards.
4338 1998-05-24 Martin Buchholz <martin@xemacs.org>
4340 * general.c: multiple definition of `Qicon'. general.c seems
4341 like a good home for Qicon.
4343 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4345 * This patch is to fix compilation warnings under Windows.
4347 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4348 Added prototypes for FSF inherited functions, with which XEmacs is
4349 sprinkled thoroughly.
4350 Removed some #if 0 code. Bracketed some more definitions, probably
4351 related to Visual C versions prior to 4 (we do not support them).
4353 * sysfloat.h (logb): Finally, get logb() prototyped.
4355 * sysfile.h: Added Windows specific includes.
4356 Removed old Windows specific code bracketed with #if 0.
4358 * sysdep.h: Added prototype for xrealpath().
4360 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4362 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4363 vars_of_dired_mswindows and init_ntproc (Grrr).
4365 * realpath.c: Added Windows specific include files.
4366 (xrealpath): Conditionalized declaration of some auto variables on
4367 S_IFLNK, to avoid warnings.
4369 * ntproc.c: Disabled some compiler warnings. This file is going to
4370 die, so I have not cleaned it up much.
4371 (set_process_dir): Const parameter.
4372 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4373 (Fwin32_long_file_name): Ditto.
4374 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4377 * nt.h: Added prototypes for set_process_dir and convert_time.
4379 * nt.c: More include files.
4380 (getpwnam): Consted char* argument.
4381 (get_emacs_configuration): Const return value.
4382 (opendir): Const argument.
4383 (stat): Casted converstion long->short.
4384 (stat): Removed ad hoc and questionable support for non-MSC compile.
4385 (sys_pipe): Removed unused auto variable.
4386 (_sys_read_ahead): Removed calls to DebPrint.
4387 (sys_read): Ditto, in 2 places.
4388 (term_ntproc): Added unused int parameter to signal handler, to
4389 avoid a warning when compiling a call to signal().
4390 (msw_sigset): Properly return old signandler or NULL instead of void.
4392 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4394 * gmalloc.c (morecore): Ditto.
4395 (_free_internal): Ditto.
4397 * lread.c (parse_integer): Ditto.
4399 * dired-msw.c: Added several include files.
4401 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4402 of Compilers to Shut Up.
4404 * callproc.c: Added #includes to suppress warnings under Windows.
4405 (init_callproc): Removed #if0'ed code and unused variables.
4407 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4409 * device-msw.c (mswindows_device_system_metrics): do planes in a
4410 way consistent with X.
4412 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4413 use SetPixel, use DIBits functions.
4414 (xpm_to_eimage): frob colors more closely like xpm deos.
4416 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4417 to be closer to X version.
4419 * event-msw.c: use tooltip string directly.
4421 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4423 * objects-msw.c: frob rgb colors that only Kyle uses.
4425 * dialog-msw.c (button_width): INLINE -> inline.
4427 1998-05-23 SL Baur <steve@altair.xemacs.org>
4429 * getloadavg.c (getloadavg): Fix typo.
4431 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4433 * objects-msw.c (mswindows_initialize_font_instance): Added support
4434 for font character sets.
4435 Replaced 'XXX' with '####' in comments throughout the file.
4437 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4439 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4440 console_type_create_dialog_mswindows(), to initialize Windows dialog
4443 * symsinit.h: Prototyped the above functions.
4445 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4446 checks to dialog.c...
4448 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4449 device must support dialog boxes, and the descriptor must supply at
4452 * dialog-msw.c: New file, dialogs for Windows.
4454 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4456 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4457 (Fldap_search_internal): Removed unused variable `err'
4459 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4462 1998-05-17 Martin Buchholz <martin@xemacs.org>
4464 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4465 defined. Therefore there is no need to handle the case when
4466 HAVE_LDAP is undefined. Similarily, there is no reason to have
4467 any code wrapped within `#ifdef emacs', since this code is only
4468 useful within an emacs. This simplifies the code significantly.
4470 * inline.c: Include eldap.h only if HAVE_LDAP.
4471 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4474 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4476 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4477 printing dump stats when building without DEBUG_XEMACS.
4478 (dump_bss_and_heap): Ditto.
4480 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4482 * gnuclient.c: don't suppress window system if there is no display
4483 and we are running under mswindows. send 'mswindows device type if
4484 we are in this situation.
4486 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4489 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4491 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4494 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4496 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4497 {top,bottom}-{left,right} values in addition to
4498 {top,bottom}_{left,right}.
4500 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4502 * fileio.c (Fmake_temp_name): Remove unreached code.
4504 * process-nt.c (validate_signal_number): Use
4505 signal_simple_error().
4507 1998-05-19 Martin Buchholz <martin@xemacs.org>
4510 * sound.c (vars_of_sound):
4511 * sysdep.c (reset_sigio_on_device):
4512 * window.c (window_bottom_gutter_height):
4513 unexhp9k800.c:258: warning: implicit declaration of function
4514 `calculate_checksum'
4515 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4516 sysdep.c:1012: warning: unused variable `owner'
4517 window.c:993: warning: `window_right_toolbar_width' defined but not used
4519 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4521 * glyphs-msw.c (mswindows_create_resized_mask)
4522 (mswindows_create_resized_bitmap): new funnctions split out from
4523 mswindows_resize_dibitmap_instance.
4525 * glyphs-msw.h: declare new resize functions.
4527 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4528 functions so that the original bitmaps are preserved.
4530 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4532 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4533 color if we are trying to output 0 depth bg pixmap.
4535 * scrollbar-msw.c: warning elimination.
4537 1998-05-18 Martin Buchholz <martin@xemacs.org>
4539 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4540 directives in column 1.
4542 * search.c (skip_chars): Avoid using xzero with arrays, since some
4543 compilers get confused by the construct &array.
4545 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4548 * objects-msw.c: Changed the charset value for a new font from
4549 "don't care" to "ansi".
4551 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4553 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4555 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4556 modifier on control chars.
4557 Use IsCharAlpha() instead of isaplha().
4559 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4561 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4563 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4565 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4566 charset when creating font.
4567 (mswindows_initialize_color_instance): Do not create brush along
4569 (mswindows_finalize_color_instance): Do not delete it then.
4571 * objects-msw.h (struct mswindows_color_instance_data): Removed
4572 brush slot, and corresponding accessor macro.
4574 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4576 * toolbar.c: Removed toolbar_data lrecord implementation.
4577 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4578 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4579 (compute_frame_toolbar_buttons): Ditto.
4580 (CHECK_TOOLBAR): Ditto.
4581 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4582 (update_frame_toolbars): Do not check for changed buffer
4583 here. Toolbar information is provided by cached specs in
4584 windows. The check for buffer is eliminated becuase toolbars are
4585 marked changed in set_frame_selected_window() in frame.c
4586 Added check for changed toolbars geometry.
4587 (compute_frame_toolbars_data): Removed unused second parameter;
4588 Adjusted callers of this static function throughout the file.
4589 (init_frame_toolbars): Initialize current_toolbar_size.
4590 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4591 what is its current expansion, for clarity.
4592 (init_frame_toolbars): Ditto.
4593 (init_device_toolbars): Ditto.
4594 (init_global_toolbars): Ditto.
4596 * toolbar.h: Removed definition of toolbar_data lrecord.
4597 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4598 FRAME_CURRENT_TOOLBAR_SIZE.
4599 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4601 * toolbar-x.c (x_output_toolbar): The same change as in
4603 (x_output_toolbar): Ditto.
4604 (x_redraw_exposed_toolbar): Ditto.
4606 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4607 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4608 (mswindows_output_toolbar): Ditto.
4609 (mswindows_output_toolbar): Ditto.
4611 * frame.c (mark_frame): Removed marking of arrays, according to
4612 frameslots.h change.
4613 (nuke_all_frame_slots): Ditto.
4614 (set_frame_selected_window): Mark toolbars changed when
4615 last_nonminibuf_window changes.
4617 * frame.h (struct frame): Moved some slots to frameslots.h.
4618 Added current_toolbar_size array.
4619 Changed references from toolbar_data to toolbar_buttons in macros
4620 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4621 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4622 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4624 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4625 Moved arrays of lisp objects here from frame.h: toolbar_size,
4626 toolbar_visible_p, toolbar_border_width.
4627 Removed toolbar_data slot and added toolbar_buttons.
4629 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4631 * symsinit.h: Externed syms_of_process_nt()
4633 * emacs.c (main_1): Call syms_of_process_nt()
4635 * process-nt.c: Quote process arguments by a call to Lisp function
4636 `nt-quote-process-args'.
4637 (syms_of_process_nt): New function.
4638 (nt_send_process): Flush data stream after each write, to avoid
4639 leaving buffered data.
4640 (nt_send_process): When blocked on process output, wait for
4641 process to slurp more for progressively increasing time intervals.
4643 1998-05-17 Martin Buchholz <martin@xemacs.org>
4645 * window.c (have_undivided_common_edge): Make file-local function
4647 (map_windows): Return 0 if all map functions successful.
4650 * winslots.h: Use unlikely names for local variables in macros to
4651 avoid shadowing warnings.
4653 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4655 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4656 so that we re-output if the toolbar size has changed.
4658 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4660 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4662 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4664 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4667 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4669 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4670 get bitmap manifest constants defined.
4672 * console-msw.h: Include system files in angle brackets, not in
4675 * window.c (specifier_vars_of_window): Fixed a typo in
4676 `vertical-divider-line-width' docstirng.
4678 1998-05-16 Olivier Galibert <galibert@pobox.com>
4680 * line-number.c (delete_invalidate_line_number_cache): Use an
4682 (buffer_line_number): Remove dangerous, plain wrong when using
4683 64bits emacs ints, cast.
4685 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4687 * cmds.c (Fforward_line): Use EMACS_INTs.
4689 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4690 (scan_buffer): Ditto.
4691 (bi_find_next_newline_no_quit): Remove useless cast.
4692 (find_next_newline_no_quit): Ditto.
4693 (find_next_newline): Ditto.
4694 (find_before_next_newline): Use an EMACS_INT.
4696 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4698 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4700 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4702 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4704 * gui-x.c (popup_selection_callback): Use it.
4706 * gui.h (get_callback): Declare it.
4708 * gui.c (get_callback): New function.
4710 1998-05-15 SL Baur <steve@altair.xemacs.org>
4712 * window.c (have_undivided_common_edge): Guard scrollbar specific
4714 (window_needs_vertical_divider_1): Ditto.
4716 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4718 * emacs.c (decode_path): Eliminate compiler warning.
4719 (Fdecode_path): Renamed to Fsplit_path.
4720 (Fsplit_string_by_char): New function.
4722 1998-05-14 Damon Lipparelli <lipp@primus.com>
4724 * winslots.h: close comment
4726 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4728 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4730 * bufslots.h: Removed buffer_file_type slot.
4732 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4734 (complex_vars_of_buffer): Removed buffer-file-type variable and
4735 its default reference.
4737 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4739 * faces.c (complex_vars_of_faces): Defined
4740 Vvertical_divider_face.
4741 (vars_of_faces): Staticpro it.
4743 * faces.h: Externed Vvertical_divider_face.
4745 * redisplay-x.c (x_output_vertical_divider): Use
4746 Vvertical_divider_face to draw the divider instead of modeline
4749 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4750 divider face using Vvertical_divider_face background.
4751 Fix drawing spacing gaps around the divider.
4753 1998-05-14 Didier Verna <verna@inf.enst.fr>
4755 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4756 values for the vertical divider line width and spacing. Use the
4757 cached values from the window structure instead.
4758 (x_divider_width): ditto.
4760 * window.c (specifier_vars_of_window): new specifiers:
4761 vertical-divier -line-width and -spacing.
4762 (vertical_divider_global_width_changed): formerly known as
4763 vertical_divider_shadow_thickness_changed.
4765 * winslots.h: new slots: vertical_specifier _line_width and
4766 _spacing. Plus corrected a comment typo.
4768 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4770 * window.h: Declared window_divider_width().
4772 * console-stream.c (stream_divider_width): Removed method.
4773 (console_type_create_stream): And declaration for it.
4775 * redisplay.c (pixel_to_glyph_translation): Use
4776 window_divider_width() instead of divider_width redisplay method.
4777 (pixel_to_glyph_translation): Fix top divider edge calculation
4778 when scrollbar is on top.
4780 * window.c (window_divider_width): New function, an outphaser for
4781 divider_width redisplay method.
4782 (window_right_gutter_width): Use it.
4783 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4784 specifiers, set fallback values differently on TTYs, and document
4785 the behavior of these on TTYs in the docstrings.
4787 * scrollbar.c (update_scrollbar_instance): Use
4788 window_divider_width() instead of divider_width redisplay method.
4790 * console.h (struct console_methods): Removed divider_width_method.
4792 * redisplay-tty.c (tty_divider_width): Removed device method.
4793 (console_type_create_redisplay_tty): Removed definition for it.
4794 (tty_output_vertical_divider): Respect the value returned by
4795 window_divider_width thus divider line width specification.
4797 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4798 (console_type_create_redisplay_mswindows): Removed definition for it.
4799 (mswinodws_output_vertical_divider): Respect the value returned by
4800 window_divider_width thus divider line width specification.
4802 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4804 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4806 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4808 * glyphs-msw.c: resource loading implementation.
4809 (cursor_normalize): new function.
4810 (cursor_validate): ditto.
4811 (cursor_instantiate): ditto.
4812 (cursor_name_to_resource): ditto.
4813 (cursor_possible_dest_types): ditto.
4814 (check_valid_symbol): ditto.
4815 (check_valid_string_or_int): ditto.
4817 1998-05-14 Martin Buchholz <martin@xemacs.org>
4819 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4822 * process-unix.c (process_signal_char): Use VSUSP instead of
4823 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4825 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4827 * specifier.c (specifier_instance): Change locale precedence of
4828 instantiation so window locale has higher priority than buffer
4830 (Fspecifier_instance): Reflect this in docstring.
4831 (Fadd_spec_list_to_specifier): Ditto.
4832 (Fadd_spec_to_specifier): Ditto.
4833 (Fremove_specifier): Ditto.
4835 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4837 ** Dialog separation into a device method from Andy Piper
4839 * emacs.c (main_1): Call console_type_create_dialog_x().
4841 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4842 into this device method.
4843 (console_type_create_dialog_x): New function.
4845 * dialog.c (Fpopup_dialog_box): New function.
4846 (syms_of_dialog): Defsubr it.
4848 * console.h (struct console_methods): Declared
4849 popup_dialog_box_method().
4851 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4853 1998-05-14 Oliver Graf <ograf@fga.de>
4855 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4856 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4858 1998-05-13 Oliver Graf <ograf@fga.de>
4860 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4862 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4864 * console.h (device_metrics): Removed dbcs, input-method-editor
4865 and right-to-left metrics.
4867 * device.c (Fdevice_system_metric): Ditto.
4868 (Fdevice_system_metrics): Ditto.
4869 (syms_of_device): Ditto.
4870 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4873 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4875 * line-number.h (mark_line_number_cache): Remove unused
4878 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4879 (get_nearest_line_number): Simplify.
4880 (add_position_to_cache): Make the old marker point nowhere.
4882 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4884 ** Renamed window-divider-map => vertical-divider-map
4885 and event-over-divider-p => event-over-vertical-divider-p,
4886 in the following files/functions:
4888 * events.c (Fevent_over_divider_p):
4889 * keymap.c (get_relevant_keymaps):
4892 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4894 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4896 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4898 * window.c (vertical_divider_changed_in_window): Renamed so.
4899 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4900 (window_needs_vertical_divider_1): Decide whether we need it based
4901 on the value of the above specifier. If separators are unwanted,
4902 put them only if there's no scrollbar between this window and its
4904 (have_undivided_common_edge): New function, helper for the above.
4905 (window_needs_vertical_divider): Return either a cached value,
4906 or clauclate and cache one.
4907 (invalidate_vertical_divider_cache_in_window): Implemented.
4908 (map_windows): Changed return type to int, return the value from
4911 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4912 (struct window): Added need_vertical_divider_p and
4913 need_vertical_divider_valid_p.
4915 * winslots.h: Added vertical_divider_draggable_p slot.
4917 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4918 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4920 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4922 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4923 invalidate_vertical_divider_cache_in_frame().
4926 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4928 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4930 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4931 masks correctly and don't select 0.
4933 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4935 * winslots.h: New file, declaration of some struct window and
4936 struct saved_window members.
4938 * window.h (struct window): Include it, with required preprocessor
4941 * window.c (mark_window): Ditto.
4942 (allocate_window): Ditto.
4943 (struct saved_window): Ditto.
4944 (mark_window_config): Ditto.
4945 (saved_window_equal): Ditto.
4946 (Fset_window_configuration): Ditto.
4948 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4950 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4952 1998-05-12 Didier Verna <verna@inf.enst.fr>
4954 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4955 the divider line. The shadow thickness is currently
4956 hard-wired. This will probably be turned into a specifier soon.
4958 1998-05-12 Didier Verna <verna@inf.enst.fr>
4960 * console.h (struct console_methods): the divider_width console
4961 method now requires a struct window * argument.
4963 * redisplay-x.c (x_divider_width): ditto. Plus remove
4964 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4965 (x_output_vertical_divider): give a depressed look when the shadow
4966 thickness is negative.
4968 * console-stream.c (stream_divider_width): pass a struct window *
4971 * redisplay-tty.c (tty_divider_width): ditto.
4973 * window.c (window_right_gutter_width): totdi.
4975 * redisplay.c (generate_modeline): ittod.
4977 * scrollbar.c (update_scrollbar_instance): ttido.
4979 * redisplay-msw.c (mswindows_divider_width): ottid.
4980 WARNING: this enables to compile, but the feature is not functional.
4982 * window.h (struct window): new field
4983 vertical_divider_shadow_thickness.
4985 * window.c (specifier_vars_of_window): new specifier
4986 vertical-divider-shadow-thickness.
4987 (vertical_divider_shadow_thickness_changed): new function to
4988 inform redisplay that the window has changed.
4989 (mark_window): handle new field vertical_divider_shadow_thickness
4991 (allocate_window): ditto.
4992 (saved_window_equal): toddi.
4993 (Fset_window_configuration): totid.
4994 (save_window_save): ttdio.
4995 (struct saved_window): new field vertical_divider_shadow_thickness.
4997 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4999 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5002 1998-05-12 Oliver Graf <ograf@fga.de>
5004 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5005 * event-Xt.c (x_event_to_emacs_event): C++ compability
5007 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5009 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5012 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5014 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5017 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5019 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5021 * emacs.c (decode_path_1): New function.
5022 (decode_path): Use it.
5023 (Fdecode_path): Renamed from Fdecode_path_internal; use
5026 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5028 * macros.c (Fzap_last_kbd_macro_event): New function.
5029 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5031 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5033 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5034 multiple bitmaps are output vertically as well as horizontally.
5035 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5036 crossing lines this is handled by
5037 mswindows_output_dibitmap_region.
5039 1998-05-12 Martin Buchholz <martin@xemacs.org>
5041 * inline.c: Include eldap.h
5043 * menubar-x.c (x_update_frame_menubar_internal):
5044 Remove: unused variable `container'
5046 1998-05-11 Martin Buchholz <martin@xemacs.org>
5048 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5049 Unfortunately, the resulting temacs still cannot dump.
5051 * symbols.c (symbol_is_constant):
5052 (verify_ok_for_buffer_local):
5053 -Wswitch Warning suppression - add default case to switches.
5055 * redisplay.c (decode_mode_spec): Remove unused variables,
5056 Replace Fcoding_system_property (codesys, Qmnemonic) with
5057 XCODING_SYSTEM_MNEMONIC (codesys);
5058 Fcoding_system_property is for users.
5064 Change empty docstrings into no doc strings at all.
5065 Fix bogus FSF-format docstrings.
5068 Standardize docstrings.
5071 Explain problems with matherr.
5073 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5076 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5077 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5078 Fix the weird resultant interaction (causes windows problems)
5082 Take new EMACSBOOTSTRAPLOADPATH into account.
5083 Update documentation strings
5086 - Adjust for luser's CDPATH being set to something weird.
5087 - Take into account bash 2.02's tendency to print the cwd when
5088 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5089 - fix the run-temacs target to use $(DUMPENV)
5090 - fix the run-puremacs target to use $(DUMPENV)
5091 - fix the `depend' target to properly $(RM) the right files
5092 - Generate a better TAGS file for XEmacs' lisp code using
5093 hand-crafted regexps.
5094 - Use standard coding conventions for modules/Makefile.in
5096 1998-05-12 Didier Verna <verna@inf.enst.fr>
5098 * redisplay.c: removed the scrolling modeline code that didn't
5099 make it for 21.0. To be continued ...
5101 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5103 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5104 and empty string inputs.
5106 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5108 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5110 1998-05-10 Oliver Graf <ograf@fga.de>
5112 * event-stream.c (enqueue_misc_user_event_pos): created
5113 * lisp.h (enqueue_misc_user_event_pos): prototype added
5114 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5115 * emacs.c: call vars_of_dragdrop
5116 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5118 1998-05-11 Oliver Graf <ograf@fga.de>
5120 * frame-x.c (x_cde_transfer_callback): return at correct pos
5121 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5122 object for MIME (see comment in dragdrop.c)
5123 * dragdrop.c: API change documented in comment
5124 removed provide of dragdrop [is provided by dragdrop.el]
5126 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5128 * window.c (window_needs_vertical_divider): Enable vertical
5129 dividers for every non-rightmost window.
5130 (window_left_gutter_width): Left gutter consists of mythical
5131 toolbar and a virtual scrollbar.
5132 (window_right_gutter_width): The right one may have a divider
5135 * scrollbar.c (update_scrollbar_instance): Position vertical
5136 scrollbar left to divider if the latter present.
5138 * redisplay.h: Declared OVER_DIVIER constant.
5140 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5143 * redisplay-x.c (x_output_vertical_divider): Output divider along
5144 the right side of the window, down to window bottom. Swapped
5145 foreground and background colors so it is visible by default.
5147 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5148 stick the divider to the right window side.
5150 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5152 (mswindows_divider_width): Ask system for user preferred value.
5153 (mswindows_output_vertical_divider): Always output the divider on
5154 the right side of a window, down to bottom.
5156 * keymap.c (get_relevant_keymaps): Route mouse button events which
5157 happened over a window divider through window-divider-map.
5158 (Fkey_binding): Documented that in the docstring.
5159 Defined the variable Vwindow_divider_map.
5161 * events.c (Fevent_over_divider_p): Added this function.
5163 * events.h: EXFUNed it.
5165 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5167 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5168 toolbar geometry is suspected to change.
5170 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5174 Condition dnd and dde code on HAVE_DRAGNDROP.
5176 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5178 * events.c (format_event_object): Print space as SPC etc.
5180 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5182 * print.c (print_internal): In the default case, abort() if
5183 ERROR_CHECK_TYPECHECK.
5185 * fileio.c (Fmake_temp_name): Doc fix.
5187 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5189 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5191 * undo.c (Fprimitive_undo): Fixed typo.
5193 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5195 * fns.c (concat): Signal error on integer argument.
5197 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5199 * console.h (device_metrics): Prefixed each constatnt with DM_
5201 * device.c: (Fdevice_system_metric): Renamed so from plural form
5202 (metrics); Changed parameters order and added DEFAULT parameter;
5203 Unabbreviated some metric constants; Fixed and untabified doc string.
5204 (Fdevice_system_metrics): Added. Returns a plist of all provided
5207 * device-msw.c (mswindows_device_system_metrics): Renamed
5208 device_metrics enum constants.
5209 Return Qunbound instead of Qnil.
5211 * device-tty.c (tty_device_system_metrics): Ditto.
5213 * device-x.c (x_device_system_metrics): Ditto.
5215 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5217 * redisplay-msw.c: implement background pixmaps (really!). Make
5218 sure bg color is transparent if we have bg pmaps.
5219 * (mswindows_output_string) (mswindows_clear_region): output bg
5221 * (mswindows_output_dibitmap_region): new function.
5222 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5223 the bg color rather than transparently.
5225 * toolbar-msw.c: use masks if they exist.
5227 * glyphs-msw.c: set up masks correctly.
5229 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5231 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5233 * regex.c (re_match_2_internal): Check for quit.
5235 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5237 * frame.c (Ffocus_frame): New function.