1 1999-06-29 Andy Piper <andy@xemacs.org>
3 * event-msw.c: fix definition booboo.
5 1999-06-28 Andy Piper <andy@xemacs.org>
7 * glyphs-x.c: change tree -> tree-view, progress ->
8 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
10 (complex_vars_of_glyphs_x): provide-on-console the implemented
13 * glyphs-msw.c: ditto.
14 (complex_vars_of_glyphs_mswindows): ditto.
16 * lisp.h: add Fprovide_on_console.
18 * fns.c (Ffeaturep): add extra optional console argument.
19 (Fprovide_on_console): like Fprovide but provides only on the
20 specified console-type.
21 (Frequire): check console-features as well as global features.
23 * console.c (Fconsole_features): new function. return features for
25 (syms_of_console): add Fconsole_features.
27 * console.h (CONMETH_FEATURES): new function for accessing features.
28 (CONSOLE_FEATURES): ditto.
29 (struct console_methods): add features slot.
30 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
32 1999-06-28 Andy Piper <andy@xemacs.org>
34 * event-Xt.c (handle_focus_event_1): conditionally compile for
37 * s/cygwin32.h: fix me website address.
39 * event-msw.c: add NMHDR for pre b20 cygwin builds.
41 * gui-x.c (button_item_to_widget_value): only add callback if it
44 * glyphs-x.c: add progress, edit and combo instantiators.
45 (x_widget_set_property): new function. uses lwlib to set widget
47 (x_widget_property): new function. uses lwlib to get widget
49 (x_button_instantiate): support images in buttons.
50 (x_button_property): new function. use lwlib to get the selected
52 (x_progress_instantiate): new function for instantiating progress
54 (x_progress_set_property): new function. sets the progress gauge
56 (x_edit_instantiate): new function. for instantiating edit fields.
57 (x_combo_instantiate): new function. for instantiating combo
59 (image_instantiator_format_create_glyphs_x): add new device ii
62 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
64 * console.h (CONSOLE_FEATURES): new features accesor.
66 * conslots.h (MARKED_SLOT): add features entry.
68 1999-06-25 Andy Piper <andy@xemacs.org>
70 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
73 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
75 * gui.h (struct Lisp_Gui_Item): add accelerator.
77 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
78 (gui_item_init): ditto.
79 (gui_add_item_keywords_to_plist): ditto.
80 (mark_gui_item): ditto.
81 (gui_item_hash): ditto.
82 (gui_item_accelerator): new function.
83 (gui_name_accelerator): new function stolen from gui-x.c
85 * gui-x.c (popup_selection_callback): always define. mark
86 subwindows changed after calling a callback.
87 (menu_name_to_accelerator): deleted.
88 (button_item_to_widget_value): forward gui_item things to gui_item
91 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
94 * glyphs-x.c: declare new glyph formats.
95 (x_finalize_image_instance): unmanage and destroy widgets if they
97 (x_unmap_subwindow): handle widgets specially.
98 (x_map_subwindow): ditto. offset display of widgets by offset of
99 text widget within container.
100 (x_update_subwindow): new function. call lw_modify_all_widgets
101 when we are a widget.
102 (x_widget_instantiate): new function for generically creating
103 widgets-glyphs. toolkit specifics forwarded to lwlib.
104 (x_button_instantiate): new function for instantiating
105 widgets-glyph buttons.
106 (console_type_create_glyphs_x): register update_subwindow.
107 (image_instantiator_format_create_glyphs_x): register widget and
110 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
112 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
113 when we get a button press in case we do not have the focus.
114 (handle_focus_event_1): set the keyboard focus to the text widget
115 if we do not have it.
117 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
120 1999-06-24 SL Baur <steve@miho.m17n.org>
122 * syntax.c (scan_words): Restore non-Mule code.
123 (word_constituent_p): Restore.
125 1999-06-23 Olivier Galibert <galibert@pobox.com>
127 * config.h.in: Add missing #undef *_USER_DEFINED.
129 1999-06-23 SL Baur <steve@miho.m17n.org>
131 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
132 int (fixes a 64-bit problem).
134 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
137 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
139 * paths.h.in (PATH_DOC): Made doc-directory configurable.
141 1999-06-22 Olivier Galibert <galibert@pobox.com>
143 * lrecord.h: Added basic external description system.
145 * symbols.c: Added symbol, symbol-value-buffer-local,
146 symbol-value-lisp-magic and symbol-value-varalias description.
147 * mule-charset.c: Added charset description.
148 * marker.c: Added marker description.
149 * keymap.c: Added keymap description.
150 * glyphs.c: Added glyph description.
151 * floatfns.c: Added float description.
152 * file-coding.c: Added coding-system description.
153 * extents.c: Added extent description.
154 * elhash.c: Added hash-table description.
155 * data.c: Added weak-list desciption.
156 * chartab.c: Added char-table-entry and char-table description.
157 * bytecode.c: Added compiled-function description.
158 * alloc.c: Added cons, vector and string description.
160 1999-06-22 Olivier Galibert <galibert@pobox.com>
162 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
163 Updated everything to the removal of the "flags" substructure.
165 * lisp.h (subr_lheader_initializer): Updated.
166 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
168 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
170 * syntax.c (word_constituent_p): Deleted.
171 (scan_words): Use `WORD_BOUNDARY_P'.
173 * chartab.c (Vword_combining_categories): New variable.
174 (Vword_separating_categories): Likewise.
175 (CATEGORYP): New macro.
176 (CATEGORY_SET): Likewise.
177 (CATEGORY_MEMBER): Likewise.
178 (word_boundary_p): New function.
179 (complex_vars_of_chartab): Set up new variable
180 `word-combining-categories' and `word-separating-categories'.
182 1999-06-18 Olivier Galibert <galibert@pobox.com>
184 * lrecord.h: Added description as a placehold in the lrecord
185 implementation structures. Added the parameter to all constructor
188 * alloc.c: Added placeholders.
199 * event-stream.c: Ditto.
203 * file-coding.c: Ditto.
212 * mule-charset.c: Ditto.
217 * specifier.c: Ditto.
223 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
225 * XEmacs 21.2.17 is released
227 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
229 * config.h.in (HAVE_LDAP_SET_OPTION): New define
230 (HAVE_LDAP_GET_LDERRNO): Ditto
231 (HAVE_LDAP_RESULT2ERROR): Ditto
232 (HAVE_LDAP_PARSE_RESULT): Ditto
233 (HAVE_UMICH_LDAP): Removed
234 (HAVE_NS_LDAP): Removed
236 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
237 suggested by Olivier Galibert
238 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
240 * eldap.c: Take the removal of `livep' into account in all the
242 (signal_ldap_error): Take two additional parameters
243 Added new finer compilation conditions in order to use
244 ldap_parse_result or ldap_result2error if available
245 (Fldap_open): Conform to this new API
246 (Fldap_search_internal): Ditto
248 1999-06-17 SL Baur <steve@miho.m17n.org>
250 * data.c (struct int_or_double): Should use EMACS_INT not int.
252 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
254 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
257 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
259 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
262 * file-coding.c (mule_decode): Run `ccl_driver' with
264 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
266 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
267 (ccl_driver): Add new argument `conversion_mode'.
268 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
269 (Fccl_execute_on_string): Likewise [perhaps it is better to add
270 new optional argument].
272 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
273 (CCL_MODE_DECODING): New macro.
274 (ccl_driver): Add new argument `conversion_mode'.
276 1999-06-15 SL Baur <steve@miho.m17n.org>
278 * mule-charset.c (Fsplit_char): New subr.
279 (Fchar_octet): delete.
280 (syms_of_mule_charset): DEFSUBR it.
282 1999-06-13 Andy Piper <andy@xemacs.org>
284 * menubar.h: update declarations involving gui_items.
286 * lisp.h: declare Lisp_Gui_Item.
288 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
290 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
291 (print_image_instance): ditto.
292 (image_instance_equal): ditto.
293 (image_instance_hash): ditto.
295 * event-msw.c (mswindows_need_event): assert badly_p status.
296 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
297 callbacks in tree-view and tab-control widgets.
298 (emacs_mswindows_next_event): modify use of
299 mswindows_dequeue_dispatch_event.
301 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
302 lisp-based gui_items.
304 * glyphs-msw.c (mswindows_update_subwindow): update use of
306 (mswindows_register_gui_item): new function.
307 (mswindows_register_gui_item): fix to use lisp gui_items.
308 (mswindows_widget_instantiate): ditto.
309 (mswindows_button_instantiate): ditto.
310 (add_tree_item): new function to recursively add tree view
312 (add_tree_item_list): ditto.
313 (mswindows_tree_instantiate): new function. instantiate tree view
315 (add_tab_item): new function to add tabs to a tab control.
316 (mswindows_tab_instantiate): new function. instantiate tab
318 (image_instantiator_format_create_glyphs_mswindows): add tree view
320 (vars_of_glyphs_mswindows): ditto.
322 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
324 (check_valid_item_list): ditto.
325 (initialize_widget_image_instance): fix to use new lisp gui_item.
326 (widget_instantiate_1): allow the setting of default textwidth in
328 (widget_instantiate): change to use new widget_instantiate_1
330 (combo_instantiate): ditto.
331 (static_instantiate): ditto.
332 (tab_instantiate): new function for tab widgets.
333 (image_instantiator_format_create_glyphs_widget): add tab and tree
336 * menubar-msw.c (displayable_menu_item): convert to use lisp
338 (populate_menu_add_item): ditto.
339 (populate_or_checksum_helper): ditto.
341 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
343 (Fmenu_find_real_submenu): ditto.
345 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
347 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
348 objects, convert functions that use them accordingly.
349 (gui_item_init): ditto.
350 (gui_item_active_p): ditto.
351 (gui_item_selected_p): ditto.
352 (gui_item_included_p): ditto.
353 (gui_item_display_flush_left): ditto.
354 (gui_item_display_flush_right): ditto.
355 (mark_gui_item): ditto.
356 (allocate_gui_item): new function to create a gui_item.
357 (make_gui_item_from_keywords_internal): ditto. create and return a
358 gui_item as well as setting keywords.
359 (gui_parse_item_keywords): ditto.
360 (gui_parse_item_keywords_no_errors): ditto.
361 (gui_add_item_keywords_to_plist): new function, not yet used.
362 (gui_item_hash): new function.
363 (gui_item_id_hash): use gui_item_hash.
364 (gui_item_equal): new function.
365 (print_gui_item): new function.
367 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
369 * XEmacs 21.2.16 is released
371 1999-06-10 Andy Piper <andy@xemacs.org>
373 * select-msw.c (mswindows_own_selection): only set the clipboard
375 (mswindows_get_foreign_selection): only get the clipboard if
377 (mswindows_disown_selection): only disown the clipboard if asked.
379 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
381 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
383 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
384 of coding-category `no-conversion'.
386 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
388 * file-coding.c (Qraw_text): New variable.
389 (syms_of_mule_coding): Add new symbol `raw-text'.
390 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
391 define coding-system `binary' independently; define coding-system
392 `no-conversion' as an alias for `raw-text'.
394 * file-coding.h (Qraw_text): New variable.
396 1999-06-08 SL Baur <steve@xemacs.org>
398 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
400 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
402 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
404 (base64_decode_1): Signal errors instead of returning -1.
406 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
408 * mule-charset.c (Fmake_char): Update docstring.
410 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
412 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
414 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
416 * fns.c (base64_decode_1): Allow and ignore any non-base64
419 1999-05-27 Olivier Galibert <galibert@pobox.com>
421 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
422 of report_pure_usage().
424 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
426 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
428 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
430 * XEmacs 21.2.15 is released
432 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
434 * frame.c (Fset_mouse_position):
435 (Fset_mouse_pixel_position):
436 * window.c (Fsplit_window):
437 (Fmove_to_window_line):
438 Fix crash when invoking functions with an already-deleted window
441 * indent.c (vertical_motion_1):
443 (Fvertical_motion_pixels):
444 * window.c (Fwindow_displayed_text_pixel_height):
445 Fix error message when invoking functions with an already-deleted
448 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
450 * sysdep.c (request_sigio_on_device): Guard against glibc
451 2.1's stub streams implementation.
453 1999-06-03 SL Baur <steve@xemacs.org>
456 * emacs.c: Implement x.y.z version numbers
457 From Jan Vroonhof <vroonhof@math.ethz.ch>
459 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
461 * mule-charset.c (complex_vars_of_mule_charset): Registry of
462 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
465 1999-06-03 SL Baur <steve@xemacs.org>
468 * device-x.c: rename session option to wmcommand.
469 From Oliver Graf <ograf@rhein-zeitung.de>
471 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
473 * fns.c (Fsubstring): Don't traverse the same region twice with
474 charcount_to_bytecount().
476 1999-06-03 SL Baur <steve@steve1.m17n.org>
478 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
481 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
482 doesn't really work as is implied by the commentary).
483 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
485 1999-06-02 SL Baur <steve@steve1.m17n.org>
487 * symsinit.h: Declare vars_of_ntproc.
488 * emacs.c (main_1): Call it.
490 * ntproc.c (syms_of_ntproc): Move variable initializations from
492 (vars_of_ntproc): ... to here [new function].
494 * file-coding.c (syms_of_file_coding): Rename.
495 (vars_of_file_coding): Ditto.
496 (complex_vars_of_file_coding): Ditto.
498 * symsinit.h: Rename *_mule_coding to *_file_coding.
500 * emacs.c (main_1): Call them by the proper name.
502 * device-msw.c (syms_of_device_mswindows): Move variable
503 initializations from here ...
504 (vars_of_device_mswindows): ... to here.
506 * chartab.c (vars_of_chartab): New function.
508 * symsinit.h: New function, vars_of_chartab.
510 * emacs.c (main_1): Call it.
512 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
513 (vars_of_mule_canna): ... to here.
515 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
516 initializations out of syms_of_mule_ccl.
518 * symsinit.h: Declare new function vars_of_mule_ccl.
520 * emacs.c (main_1): Call it.
522 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
524 * fns.c (base64_decode_1): Ignore whitespace.
526 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
528 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
531 1999-05-21 Andy Piper <andy@xemacs.org>
533 * xselect.c: deleted.
535 * symsinit.h: declare select initialisation.
537 * select.h: new file. declare commonly used select functions and
540 * select.c: new file. generalised from xselect.c.
541 (clean_local_selection_data): moved from xselect.c.
542 (get_local_selection): ditto. device specific pieces called via a
544 (handle_selection_clear): ditto.
545 (Fown_selection_internal): renamed and generalised from
546 Fx_own_selection_internal. moved from xselect.c.
547 (Fdisown_selection_internal): ditto.
548 (Fselection_owner_p): ditto.
549 (Fselection_exists_p): ditto.
550 (Fget_selection_internal): ditto.
551 (syms_of_select): new function. QXXXX values moved from xselect.c
552 (vars_of_select): new function. selection_converter_alist,
553 lost_selection_hooks moved and renamed from xselect.c
555 * select-x.c: renamed from xselect.c.
556 (x_own_selection): converted to device specific. non-X-specific
557 bits moved to select.c.
558 (x_get_foreign_selection): ditto.
559 (x_disown_selection): ditto.
560 (x_selection_exists_p): ditto.
561 (console_type_create_select_x): new function.
563 * select-msw.c (mswindows_own_selection): new device method to set
564 the clipboard when we 'own' the selection.
565 (mswindows_get_foreign_selection): new device method to get the
567 (mswindows_disown_selection): new device method to delete the
568 selection when we 'disown' it.
569 (console_type_create_select_mswindows): new function.
571 * emacs.c (main_1): add select to things to initialise.
573 * console.h (struct console_methods): new console methods for
576 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
578 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
580 * print.c (long_to_string): Install a faster version.
582 1999-05-16 Andy Piper <andy@xemacs.org>
584 * ntproc.c (syms_of_ntproc): default
585 win32-start-process-share-console to t.
587 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
589 * config.h.in: Do it here.
591 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
593 1999-05-14 Andy Piper <andy@xemacs.org>
595 * toolbar-msw.c (mswindows_output_toolbar): hash on something
598 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
600 * XEmacs 21.2.14 is released
602 1999-05-12 Andy Piper <andy@xemacs.org>
604 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
606 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
608 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
609 run_temacs_argv array -- fixes random memory corruption crash
611 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
613 * window.c (Fcurrent_window_configuration):
614 Save minibuffer height;
616 * window.c (set_window_configuration): use it.
618 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
620 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
622 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
624 * redisplay.c (redisplay_window): Do not put data
625 in the line start cache if it is not guaranteed to be correct
627 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
629 * window.c (struct window_config): Removed frame
631 (window_config_equal): No longer compare frame sizes.
632 (Fset_window_configuration): Resize old top window to fit in the
633 current frame directly, no longer use a fake frame resize.
634 (Fcurrent_window_configuration): No longer save frame size
636 1999-05-11 Andy Piper <andy@xemacs.org>
638 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
641 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
643 * sysdep.c (init_system_name): If gethostname gives a proper
644 domain name, don't look further for one.
646 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
648 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
649 (Fintern_soft): Accept a symbol argument.
651 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
653 * symbols.c (Fintern): ...do it here.
655 * lread.c (read_atom): Don't handle keywords here.
657 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
659 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
661 1999-05-03 Olivier Galibert <galibert@pobox.com>
663 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
664 is interned in the main obarray.
666 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
668 * menubar-x.c (pre_activate_callback): set accelerator field in
669 "No menu" entries to nil. Avoid crash in
670 command_builder_operate_menu_accelerator
672 1999-05-03 Olivier Galibert <galibert@pobox.com>
674 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
676 * lisp.h (DEFUN): Fix lrecord header initialisation.
678 1999-05-02 Andy Piper <andy@xemacs.org>
680 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
682 * ntproc.c (sys_kill): cast using MS mandated defines.
684 1999-04-29 Andy Piper <andy@xemacs.org>
686 * m/intel386.h: remove redundant definitions.
688 * s/mingw32.h: new header for mingw32.
690 * unexnt.c: (open_input_file): function moved to nt.c.
691 (close_file_data): ditto.
692 (rva_to_section): function moved to ntproc.
694 * symsinit.h: declare syms_of_ntproc();
696 * objects-msw.c (mswindows_font_instance_truename): new function.
698 * ntproc.c: remove many warnings.
699 (_sys_read_ahead): moved from nt.c and made static.
700 (rva_to_section): moved from unexnt.c but not defined under
702 (win32_executable_type): implement what we can for mingw32
704 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
706 * ntheap.h: remove declarations of functions that are now static.
708 * ntheap.c: support static heap.
710 * nt.h: conditionalise X_OK definition.
712 * nt.c: eliminate many warnings and support mingw32.
713 (open_input_file): function moved from unexnt.c and made static
714 (close_file_data): ditto.
715 (_sys_read_ahead): moved to ntproc.c
717 * emacs.c: make sure syms_of_ntptroc gets called under windows.
719 * console-msw.h: support mingw32.
720 * getloadavg.c: ditto.
727 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
728 some systems don't have all of the encapsulated system calls.
730 * callproc.c: warning elimination.
731 * dired-msw.c: ditto.
732 * process-nt.c: ditto.
735 * Makefile.in.in: tweak : and ; for building under mswindows.
737 1999-04-26 Michael Harnois <mharnois@willinet.net>
739 * eldap.c (allocate_ldap): Adapt to the new semantics of
740 alloc_lcrecord_type().
742 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
744 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
746 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
748 * Delete mule-coding.c and mule-coding.h because they are not
751 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
753 * objects.c (print_font_instance): Check for NILP(f->device),
754 i.e. Vthe_null_font_instance.
755 (font_instance_truename_internal): ditto.
756 (Ffont_instance_properties): ditto.
758 1999-04-22 Olivier Galibert <galibert@pobox.com>
760 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
763 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
765 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
766 it easier to add new ones.
768 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
770 * symbols.c (reject_constant_symbols): Ditto.
771 (init_symbols_once_early): Ditto.
773 * print.c (print_symbol): Don't use ->obarray.
775 * symbols.c (Funintern): Ditto.
777 * alloc.c (Fmake_symbol): Don't set ->obarray.
779 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
781 * symbols.c (init_symbols_once_early): Removed
782 Vpure_uninterned_symbol_table.
783 (Fintern): Don't store to ->obarray field.
785 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
787 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
788 (eq_with_ebola_notice): Remove abracadabra support.
790 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
792 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
793 retrieve the distinguished names of entries
795 1999-03-08 Martin Buchholz <martin@xemacs.org>
797 * lread.c (read_escape): Make hex escapes read only two hex digits.
799 1999-04-05 Olivier Galibert <galibert@pobox.com>
801 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
802 * make-src-depend: Remove puresize-adjust.h.
803 * src-headers: Remove puresize-adjust.h.
804 * config.h.in: Kill everything purespace/gung-ho related.
806 * dbxrc: Make gung-ho mandatory.
809 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
810 c_readonly and lisp_readonly. Remove implementation arrays.
811 (C_READONLY_RECORD_HEADER_P): Added.
812 (LISP_READONLY_RECORD_HEADER_P): Added.
813 (SET_C_READONLY_RECORD_HEADER): Added.
814 (SET_LISP_READONLY_RECORD_HEADER): Added.
816 * lisp.h: Kill everything purespace/non gung-ho related.
817 (CHECK_C_WRITEABLE): Added.
818 (CHECK_LISP_WRITEABLE): Added.
820 (LISP_READONLY): Added.
822 * lisp-union.h: Make gung-ho mandatory.
823 * lisp-disunion.h: Ditto.
825 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
826 set_lheader_implementation calls.
828 (lisp_readonly): Added.
829 (make_string_nocopy): Added.
830 (Fpurecopy): Changed to do nothing. Kept the old documentation
831 for reference purposes for the next patches.
832 (sweep_lcrecords_1): Don't free C readonly lcrecords.
833 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
834 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
836 * fns.c: Make gung-ho mandatory.
837 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
841 * data.c: Make gung-ho mandatory.
842 (pure_write_error): Removed.
843 (c_write_error): Added.
844 (lisp_write_error): Added.
845 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
849 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
850 make_string or make_string_nocopy. Fix various
853 * lread.c: Remove everything purespace related.
854 (Flocate_file_clear_hashing): purified -> c_readonly.
855 (locate_file): Ditto.
856 (read_atom): make_pure_pname -> make_string.
858 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
860 (Fdump_emacs): Ditto.
862 * print.c (print_internal): Make gung-ho mandatory.
863 * ntheap.c (sbrk): Ditto.
864 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
865 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
867 * sheap.c (more_static_core): Remove puresize-adjust.h from
870 * syntax.c (complex_vars_of_syntax): make_pure_string ->
872 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
873 (vars_of_keymap): make_pure_string -> make_string_nocopy.
874 * events.c (deinitialize_event): Fix set_lheader_implementation.
876 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
877 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
878 * mule-charset.c (make_charset): Ditto.
879 * console.c (allocate_console): Ditto.
880 (complex_vars_of_console): Ditto.
881 * file-coding.c (allocate_coding_system): Ditto.
882 * device.c (allocate_device): Ditto
883 * gui-x.c (gcpro_popup_callbacks): Ditto.
884 * extents.c (allocate_extent_auxiliary): Ditto.
885 (allocate_extent_info): Ditto.
886 (copy_extent): Ditto.
887 * glyphs.c (allocate_image_instance): Ditto.
888 (allocate_glyph): Ditto.
889 * frame.c (allocate_frame_core): Ditto.
890 * database.c (allocate_database): Ditto.
891 * tooltalk.c (make_tooltalk_message): Ditto.
892 (make_tooltalk_pattern): Ditto.
893 * rangetab.c (Fmake_range_table): Ditto.
894 (Fcopy_range_table): Ditto.
895 * process.c (make_process_internal): Ditto.
896 * chartab.c (Fmake_char_table): Ditto.
897 (make_char_table_entry): Ditto.
898 (copy_char_table_entry): Ditto.
899 (Fcopy_char_table): Ditto.
900 * elhash.c (make_general_lisp_hash_table): Ditto.
901 (Fcopy_hash_table): Ditto.
902 * buffer.c (allocate_buffer): Ditto.
903 (complex_vars_of_buffer): Ditto.
904 * event-stream.c (allocate_command_builder): Ditto.
905 * objects.c (Fmake_color_instance): Ditto.
906 (Fmake_font_instance): Ditto.
907 (vars_of_objects): Ditto.
908 * toolbar.c (update_toolbar_button): Ditto.
909 * window.c (allocate_window): Ditto.
910 (make_dummy_parent): Ditto.
911 (Fcurrent_window_configuration): Fix alloc_lcrecord.
912 (vars_of_window): Fix make_lcrecord_list.
913 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
915 * lstream.c (Lstream_new): Fix make_lcrecord_list.
916 * opaque.c (make_opaque): Fix alloc_lrecord.
917 (make_opaque_list): Fix alloc_lrecord_type.
919 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
921 * process.c (Fstart_process_internal): Ditto.
923 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
926 * glyphs-x.c (x_locate_pixmap_file): Ditto.
928 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
931 * emodules.c (vars_of_module): New variable Vmodule_extensions.
932 (emodules_load): Use it when calling locate_file().
934 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
937 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
938 (vars_of_callproc): Initialize it.
939 (Fcall_process_internal): Use it when calling locate_file().
941 * alloc.c (disksave_object_finalization): Use
942 Flocate_file_clear_hashing().
944 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
945 given `t' as argument.
947 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
949 * lread.c (locate_file): Expand `pathel' when appropriate.
950 (Flocate_file_clear_hashing): Expand path elements.
951 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
953 * dired.c (make_directory_hash_table): Create the hash-table only
954 if the directory open is successful.
956 * lread.c (decode_mode_1): New function.
957 (decode_mode): Ditto.
958 (Flocate_file): Use them.
959 (Flocate_file): Expand FILENAME.
960 (locate_file_map_suffixes): New function.
961 (locate_file_in_directory_mapper): New function.
962 (locate_file_in_directory): Use locate_file_in_directory_mapper()
963 and locate_file_map_suffixes().
964 (locate_file_construct_suffixed_files): Use
965 locate_file_map_suffixes().
966 (locate_file_without_hash): Don't GCPRO path.
967 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
968 (syms_of_lread): Remove Qlocate_file_hash_table.
969 (locate_file_find_directory_hash_table): Use
970 Vlocate_file_hash_table.
971 (locate_file_refresh_hashing): Ditto.
973 * lread.c: Renamed read_objects to Vread_objects.
975 1999-04-16 Olivier Galibert <galibert@pobox.com>
977 * mule-charset.c: Generally resync with fsf 20.3 charset
979 (make_charset): Add long and short name. Use id instead of
981 (Fmake_charset): Ditto.
982 (Fmake_reverse_direction_charset): Ditto.
983 (Fcharset_property): Ditto.
984 (Fcharset_short_name): Added.
985 (Fcharset_long_name): Added.
986 (Fcharset_description): Renamed from charset-doc-string.
987 (syms_of_mule_charset): Synced symbols.
988 (complex_vars_of_mule_charset): Synced charsets.
990 * mule-charset.h: Removed leading byte (uses id instead), added
993 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
995 * file-coding.c (Fdefine_coding_system_alias): New function.
997 1999-04-08 Olivier Galibert <galibert@pobox.com>
999 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1000 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1002 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1004 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1005 attach to the extent is valid.
1007 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1009 * dired.c (user_name_completion): Mule-ize.
1010 (user_name_completion): Use xmalloc/xrealloc/xfree.
1011 (user_name_completion): Use DO_REALLOC.
1012 (user_name_completion): Cut down the number of static variables;
1014 (user_name_completion): Username completion is always
1017 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1019 * fns.c (base64_decode_1): Remove COUNTER.
1020 (base64_decode_1): Accept CRLF in addition to CR.
1021 (base64_decode_1): Disallow a stray character after final EOF; the
1022 check was probably a remnant of buggy recode code.
1024 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1026 * fns.c (init_provide_once): Provide `base64'.
1028 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1030 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1031 (Fbase64_encode_region): If buffer is read-only, bail out early.
1032 (Fbase64_decode_region): Ditto.
1033 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1035 (Fbase64_encode_string): Ditto.
1036 (Fbase64_decode_region): Ditto.
1037 (Fbase64_decode_string): Ditto.
1039 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1041 * dired.c (Fdirectory_files): Remove redundant code.
1043 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1045 * frame-msw.c Make raise-frame restore minimised windows.
1047 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1049 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1052 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1054 * toolbar-msw.c Consider captions when deciding whether to rebuild
1055 toolbar. This fixes the initial toolbar display for those of us
1056 who don't like captions. These patches applied by Andy Piper.
1058 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1060 * XEmacs 21.2.13 is released
1062 1999-03-12 SL Baur <steve@xemacs.org>
1064 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1066 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1068 * file-coding.c: docstring and comment improvements.
1069 (decode_ucs4) flag possible data loss with comment.
1071 1999-03-10 Martin Buchholz <martin@xemacs.org>
1073 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1077 (decode_coding_ucs4):
1078 (encode_coding_ucs4):
1079 (detect_coding_utf8):
1080 (decode_coding_utf8):
1082 (encode_coding_utf8):
1083 Add CHECK_* macros where needed to avoid crashes.
1084 #ifdef out all composite character support using
1085 #ifdef ENABLE_COMPOSITE_CHARS
1086 Use normal XEmacs coding standards.
1088 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1090 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1092 * file-coding.c (make-coding-system): Add description about
1093 `ucs-4' and `utf-8'.
1094 (detection_state): Modify to implement ucs-4 and utf-8.
1095 (detect_coding_type): Likewise.
1096 (detect_coding_ucs4): New implementation.
1097 (detect_coding_utf8): New implementation.
1098 (encode_utf8): fixed.
1099 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1102 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1104 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1105 2022 registry to private area.
1107 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1109 * file-coding.c (encode_utf8): New function.
1110 (encode_coding_utf8): New implementation.
1112 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1114 * file-coding.c (ucs_to_mule_table): New variable; abolish
1115 `Vucs_to_mule_table'
1116 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1117 (set-ucs-char): New function.
1118 (ucs_to_char): New function.
1119 (ucs-char): New function.
1120 (set-char-ucs): New function.
1121 (char-ucs): New function.
1122 (decode_ucs4): Use `ucs_to_char'.
1123 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1124 `mule-to-ucs-table'.
1126 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1128 * chartab.h: EXFUN `Fget_char_table'.
1130 * file-coding.c (encode_ucs4): New function.
1131 (encode_coding_ucs4): Use `encode_ucs4'.
1133 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1135 * file-coding.c (decode_coding_ucs4): New implementation.
1137 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1139 * file-coding.c (decode_coding_ucs4): fixed.
1141 * file-coding.c (Vmule_to_ucs_table): New variable.
1142 (mule_char_to_ucs4): New function.
1143 (encode_coding_ucs4): New implementation.
1144 (complex_vars_of_mule_coding): Define variable
1145 `mule-to-ucs-table'.
1147 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1149 * file-coding.c (decode_coding_utf8): New implementation.
1151 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1153 * file-coding.c (decode_coding_utf8): fixed.
1155 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1157 * file-coding.c (Vucs_to_mule_table): New variable.
1158 (decode_ucs4): Refer `Vucs_to_mule_table'.
1159 (complex_vars_of_mule_coding): Define variable
1160 `ucs-to-mule-table'.
1162 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1164 * file-coding.c (detect_coding_ucs4): New function (not
1166 (decode_coding_ucs4): New function.
1167 (encode_coding_ucs4): New function (not implemented yet).
1168 (detect_coding_utf8): New function (not implemented yet).
1169 (decode_coding_utf8): New function.
1170 (encode_coding_utf8): New function (not implemented yet).
1171 (make-coding-system): New type `ucs4' and `utf8'.
1172 (coding-system-type): Likewise.
1173 (detection_state): Add `ucs4' and `utf8'.
1174 (detect_coding_type): Likewise.
1175 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1176 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1177 (decode_ucs4): New function (very incomplete).
1178 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1180 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1182 1999-03-08 Martin Buchholz <martin@xemacs.org>
1185 (non_ascii_valid_char_p):
1186 (lookup_composite_char):
1187 (composite_char_string):
1188 (make-composite-char):
1189 (composite-char-string):
1190 (syms_of_mule_charset):
1191 (complex_vars_of_mule_charset):
1192 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1193 (CHAR_LEADING_BYTE):
1195 * file-coding.h (CODING_STATE_COMPOSITE):
1196 (CODING_STATE_ISO2022_LOCK):
1198 (LEADING_BYTE_COMPOSITE):
1199 * file-coding.c (struct iso2022_decoder):
1202 (parse_iso2022_esc):
1203 (encode_coding_iso2022):
1204 #ifdef out all composite character support using
1205 #ifdef ENABLE_COMPOSITE_CHARS
1207 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1209 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1211 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1212 way of `Fbase64_encode_region'.
1214 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1216 * fns.c (base64_encode_1): Don't add a newline at the tail.
1218 1999-03-08 Andy Piper <andy@xemacs.org>
1220 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1223 1999-03-07 Martin Buchholz <martin@xemacs.org>
1225 * console-stream.h (struct stream_console):
1226 * event-unixoid.c (event_stream_unixoid_select_console):
1227 (event_stream_unixoid_unselect_console):
1228 * print.c (Fexternal_debugging_output):
1229 * sysdep.c (reset_one_device):
1230 * console-stream.c (stream_init_console):
1231 (stream_delete_console):
1232 (allocate_stream_console_struct): move into stream_init_console.
1233 (free_stream_console_struct): move into stream_delete_console.
1234 Use `fd' only for file descriptors.
1235 Therefore, rename members of struct stream_console.
1237 * systime.h: Unix98 says sys/time.h should define select(), but
1238 some systems define that in unistd.h. So include that file always.
1240 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1241 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1242 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1244 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1248 Add #include <stdio.h>.
1249 Some versions of assert.h use printf() without #include'ing stdio.h
1251 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1252 (log_gcpro): Remove unused variable FRAME.
1253 (show_gcprohist): Ansify.
1254 Comment the #endif's
1256 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1257 after it's just been XtDestroy'ed!
1259 1999-02-18 Martin Buchholz <martin@xemacs.org>
1261 * opaque.c (print_opaque):
1265 Egcs 1.1.1 seems to have a bug where
1266 INTP (p->size_or_chain)
1267 will crash XEmacs. Fix by introducing intermediate variable.
1269 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1271 * dired.c (Fdirectory_files):
1272 (Ffile_name_completion):
1273 (Ffile_name_all_completions):
1274 (file_name_completion):
1275 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1276 avoid compiler warnings.
1277 - Fix up docstrings so that C variables match documentation.
1279 1999-03-05 Martin Buchholz <martin@xemacs.org>
1281 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1282 variables as small as possible to help out the compiler and the maintainer.
1284 * alloc.c: (disksave_object_finalization):
1285 Set all the *-load-path variables to
1286 nil, not just load-path itself. This gets the locate-file hash
1287 tables garbage collected BEFORE dump, and has the side effect of
1288 preventing crashes on OSF4.0+egcs.
1293 - Clean up gdb/dbx debugging support.
1294 - Storing an EMACS_INT in an enum is not 64-bit clean!
1295 - So change the enum to a set of separate variables.
1296 - Add test cases to help debug the debugging support!
1297 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1298 - Both dbx and gdb have been tested now.
1300 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1302 * XEmacs 21.2.12 is released
1304 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1306 * device-x.c: Support to find best visual without flashing.
1308 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1310 * database.c (berkdb_map): Add flags argument to cursor call (must
1311 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1313 1999-03-03 Martin Buchholz <martin@xemacs.org>
1317 General cleanup. Get free-hook.c working again.
1318 Remove unused functions:
1319 make_strings_hash_table, copy_hash, expand_hash_table.
1323 Always use new ANSI-style function prototypes.
1325 * unexalpha.c (unexec): Never use implicit int.
1327 * sgiplay.c (close_sound_file):
1329 (restore_audio_port):
1334 (write_mulaw_8_chunk):
1335 (write_linear_chunk):
1336 (write_linear_32_chunk):
1337 (initialize_audio_port):
1340 (set_output_format):
1341 (adjust_audio_volume):
1342 (get_current_volumes):
1344 Always use new ANSI-style function prototypes.
1345 Use unistd.h for missing prototypes.
1347 * unexelfsgi.c (round_up):
1349 (unexec): Always use new ANSI-style function prototypes
1351 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1353 * console.h (struct console_methods): Always use full ANSI prototypes
1355 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1357 1999-03-02 Andy Piper <andy@xemacs.org>
1359 * event-stream.c (init_event_stream): make sure native mswindows
1360 gets an appropriate event loop.
1362 1999-02-22 Andy Piper <andy@xemacs.org>
1364 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1365 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1366 (mswindows_raise_frame): remove comment.
1368 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1370 * XEmacs 21.2.11 is released
1372 1999-02-25 SL Baur <steve@xemacs.org>
1374 * mule-charset.c (Qleading_byte): New variable to implement
1375 charset-leading-byte function.
1376 (Fcharset_property): Use it.
1377 (syms_of_mule_charset): Initialize it.
1378 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1380 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1382 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1383 bytes per pixel counting.
1385 1999-02-15 Andy Piper <andy@xemacs.org>
1387 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1390 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1392 * fns.c (Fbase64_encode_string): New optional argument
1395 1999-02-16 Martin Buchholz <martin@xemacs.org>
1397 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1398 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1400 1999-02-10 Martin Buchholz <martin@xemacs.org>
1402 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1403 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1405 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1407 * XEmacs 21.2.10 is released
1409 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1411 * process-nt.c (nt_send_process):
1412 Fix for process-send-region/process-send-string breaking when size
1413 of the input > 128 chars: change maximum chunk size for process
1414 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1417 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1419 * XEmacs 21.2.9 is released
1421 1999-01-30 Martin Buchholz <martin@xemacs.org>
1423 * bytecode.c (funcall_compiled_function): Call
1424 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1426 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1427 #ifdef 0 out unused macro.
1429 1999-01-27 Martin Buchholz <martin@xemacs.org>
1431 * gui.c (gui_parse_item_keywords_internal): Make static.
1433 1999-01-21 Andy Piper <andy@xemacs.org>
1435 * glyphs-msw.c: add xface support.
1436 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1437 (image_instantiator_format_create_glyphs_mswindows): do device
1438 specific initialisation for xfaces.
1439 (xbm_create_bitmap_from_data): line data must be padded to a word
1442 * glyphs-x.c (xface_validate): moved to glyphs.c
1443 (xface_normalize): ditto.
1444 (xface_possible_dest_types): ditto.
1445 (image_instantiator_format_create_glyphs_x): do device specific
1446 initialisation for xfaces.
1448 * glyphs.h: declare xface symbol.
1450 * glyphs.c: move generic xface support here.
1451 (xface_validate): moved from glyphs-x.c
1452 (xface_normalize): ditto.
1453 (xface_possible_dest_types): ditto.
1454 (image_instantiator_format_create): xface declarations moved from
1457 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1459 * event-stream.c (vars_of_event_stream): Fixing documentation.
1461 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1463 * glyphs-eimage.c (gif_instantiate): Correct handling of
1464 interlaced gifs to avoid writing past the end of the eimage
1467 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1469 * search.c (Freplace_match): Handle single backslash at end of
1472 1999-01-12 William M. Perry <wmperry@aventail.com>
1474 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1475 avoid connection errors.
1477 1999-01-12 Andy Piper <andy@xemacs.org>
1479 * redisplay-output.c (redisplay_update_line): backout change that
1480 shouldn't have gone ine.
1482 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1484 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1485 collide with ldap.el
1487 1999-01-11 Andy Piper <andy@xemacs.org>
1489 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1490 (DISPLAY_LINE_YPOS): new macro.
1492 * redisplay-msw.c (mswindows_output_string): use it.
1493 (mswindows_output_pixmap): ditto.
1494 (mswindows_output_display_block): ditto.
1496 * redisplay-output.c (redisplay_output_display_block): new
1497 function. just call the devmeth, maybe insert some generic code
1499 (compare_display_blocks): use it.
1500 (output_display_line): ditto.
1501 (redisplay_unmap_subwindows_maybe): new function. potentially
1502 unmap subwindows in the given area.
1504 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1507 1999-01-10 J. Kean Johnston <jkj@sco.com>
1509 * Makefile.in.in: Set value of moduledir
1510 - Changed DUMPENV to include $(MODULEPATH)
1511 - Added install rule to install header files for use by ellcc.
1513 * config.h.in: Added INHIBIT_SITE_MODULES
1514 - Added HAVE__DLERROR
1515 - Added HAVE_DLFCN_H
1516 - Added DLSYM_NEEDS_UNDERSCORE
1520 * emodules.c: New file containing dynamic loading code.
1522 * emodules.h: New file.
1524 * emacs.c: Added variables Vmodule_directory,
1525 Vsite_module_directory, Vconfigure_module_directory and
1526 Vconfigure_site_module_directory.
1527 - (main_1): Added new variable inhibit_site_modules and command
1528 line options `-no-site-modules' and `--no-site-modules'.
1529 - (main_1): Call syms_of_module() instead of syms_of_dll().
1530 - (main_1): Call vars_of_module().
1531 - (vars_of_emacs): Introduce inhibit-site-modules,
1532 module-directory, configure-module-directory,
1533 site-module-directory, and configure-site-module-directory to the
1536 * lisp.h: Declare load_module and list_modules, as well as
1537 Vmodule_directory, Vsite_module_directory,
1538 Vconfigure_module_directory and Vconfigure_site_module_directory.
1540 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1541 - Added correct support for site-lisp directory.
1543 * symbols.c (defsubr): Modified to allow modules to add new subrs
1545 - (defsubr_macro): Same.
1546 - (defvar_magick): Only use purespace when not initialized, so
1547 that loaded modules can still add symbols.
1549 * symsinit.h: Add definitions for syms_of_module(),
1550 vars_of_module(). Removed syms_of_dll().
1552 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1553 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1554 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1556 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1557 explicitly pass -belf for native cc.
1559 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1560 hard-coding the library name.
1562 1999-01-01 <martin@xemacs.org>
1564 * device-x.c (Fx_set_font_path):
1565 Add proper cast to permit compilation under C++.
1567 * buffer.c (directory_is_current_directory):
1568 Add proper casts to permit compilation under C++.
1570 1998-12-30 Damon Lipparelli <lipp@primus.com>
1572 * event-msw.c (mswindows_wnd_proc):
1573 Fixed failure when building with MSVC 5.
1575 1998-12-29 Martin Buchholz <martin@xemacs.org>
1577 * file-coding.c (decode_coding_iso2022):
1578 - Prevent crash when decoding ISO7/Lock detected files
1579 - the usual martin fiddling
1581 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1585 Fixed failures when building with MSVC.
1586 * unexnt.c (dump_bss_and_heap):
1587 Removed compiler warning by removing bss_data variable.
1589 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1591 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1592 so that packages that distribute their own fonts can access them.
1594 1998-12-28 Andy Piper <andy@xemacs.org>
1596 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1597 that have an image provided.
1599 * glyphs.h: add Q_image decl.
1601 * glyphs-widget.c new functionality allowing images in
1603 (check_valid_glyph_or_image): new function to validate
1604 glyphs passed in through :image.
1605 (widget_normalize): new function. convert :image parameters into
1606 real glyphs if not already so.
1607 (widget_instantiate_1): mess with size parameters to be similar to
1609 (syms_of_glyphs_widget): new keyword :image.
1610 (image_instantiator_format_create_glyphs_widget): normalize
1611 buttons and allow :image.
1613 1998-12-27 Andy Piper <andy@xemacs.org>
1615 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1617 * glyphs-widget.c (check_valid_anything): no-op function.
1618 (check_valid_callback): check callbacks in gui_items.
1619 (check_valid_symbol): as it sounds.
1620 (check_valid_string_or_vector): ditto.
1621 (widget_validate): modified for descriptors that are vectors or
1622 sequences of keyword/val pairs.
1623 (widget_instantiate_1): ditto.
1624 (image_instantiator_format_create_glyphs_widget): allow gui_item
1625 keywords in the instantiator.
1627 * gui.c (gui_parse_item_keywords_internal): renamed from
1628 gui_parse_item_keywords but taking error behaviour.
1629 (gui_parse_item_keywords): use it.
1630 (gui_parse_item_keywords_no_errors): ditto.
1631 (gui_item_add_keyval_pair): add Error_behavior flag and only
1632 signal invalid keywords if required.
1634 * gui.h: new gui signatures.
1636 * menubar.c (menu_parse_submenu_keywords): use new
1637 gui_item_add_keyval_pair signature.
1639 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1641 1998-12-28 Martin Buchholz <martin@xemacs.org>
1643 * XEmacs 21.2.8 is released.
1645 1998-12-28 Martin Buchholz <martin@xemacs.org>
1647 * editfns.c (get_home_directory):
1648 (user-home-directory): Simplify.
1651 * callproc.c (child_setup):
1652 - Environment variables were being passed to inferior processes
1653 using internal encoding.
1654 - Convert to external encoding.
1655 - Rename local var `tem' to better name `tail'.
1656 - Use Flength instead of `manual' calculation.
1658 * buffer.c (kill-buffer):
1660 (set-buffer-major-mode):
1662 - Fix up parameter names to correspond to docstrings.
1663 - Don't use `bufname' when a buffer will do as well.
1664 - Remove one unneeded GCPRO.
1666 * buffer.h (initial_directory):
1667 * buffer.c (init_initial_directory):
1668 - use correct conversions between internal and external format.
1669 (directory_is_current_directory): new function
1670 (init_buffer): convert initial_directory to internal format.
1671 - solve crashes when current working directory is non-ASCII.
1673 * alloc.c (xmalloc):
1676 - remove stupid casts, since XEmacs requires an ANSI C system.
1677 (lrecord_type_index): replace abort() with more readable assert().
1679 (reset_lcrecord_stats): remove.
1680 (sweep_lcrecords_1):
1681 - replace call to reset_lcrecord_stats() with call to xzero().
1683 1998-12-27 Martin Buchholz <martin@xemacs.org>
1685 * process-unix.c (unix_create_process):
1686 - Fix crash invoking program with non-ASCII name.
1687 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1688 - Remove unused variable `env'.
1689 - Rename `temp' to better name `save_errno'.
1690 - Reorganize code for clarity. But still too chicken to nuke the
1693 1998-12-24 Martin Buchholz <martin@xemacs.org>
1695 * XEmacs 21.2.7 is released.
1697 1998-12-23 Martin Buchholz <martin@xemacs.org>
1699 * glyphs.c (decode_device_ii_format):
1701 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1703 * glyphs-x.c (x_subwindow_instantiate):
1704 - A image instance mask was being assigned to a image instance type!
1705 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1707 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1709 * glyphs-x.h: Make indentation consistent.
1711 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1713 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1715 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1719 Move declarations of decode_device_ii_format and
1720 decode_image_instantiator_format into glyphs.h where they belong.
1722 1998-12-22 Martin Buchholz <martin@xemacs.org>
1724 * frame-x.c (x_delete_frame): Revert part of my changes at the
1725 suggestion of Gunnar Evermann - unfortunately no one really
1726 understands this code.
1728 * callproc.c (init_callproc): code cleanup.
1730 * free-hook.c (malloc):
1735 (block_input_malloc):
1736 (block_input_realloc):
1737 * device-x.c (x_delete_device):
1738 * emacs.c (voodoo_free_hook):
1739 * events.c (print_event):
1741 (CHECK_EVENT_TYPE2):
1742 (CHECK_EVENT_TYPE3):
1743 Use proper prototypes.
1744 Make C_E_T macros a little faster.
1745 Pedantic fiddly little changes. You really don't care.
1747 1998-12-22 Andy Piper <andy@xemacs.org>
1749 * redisplay-output.c (redisplay_clear_region): make sure that
1750 fg/bg colors get set even when we are in the border area.
1752 1998-12-13 Martin Buchholz <martin@xemacs.org>
1754 * console-msw.c: Function definitions follow coding standards
1755 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1757 1998-12-11 Martin Buchholz <martin@xemacs.org>
1759 * events.h (struct timeout_data):
1760 * event-tty.c (tty_timeout_to_emacs_event):
1761 * event-msw.c (mswindows_wm_timer_callback):
1762 * event-Xt.c (Xt_timeout_to_emacs_event):
1763 * event-msw.c (mswindows_cancel_dispatch_event):
1764 Make sure Lisp_Objects inside events are initialized to Qnil, not
1765 Qnull_pointer, which is now illegal.
1767 1998-12-10 Martin Buchholz <martin@xemacs.org>
1769 * lisp.h: Fix up prototypes to match alloc.c
1771 1998-12-08 Martin Buchholz <martin@xemacs.org>
1773 * windowsnt.h: Remove `support' for using index and rindex
1775 * filelock.c (current_lock_owner):
1776 - Change uses of index -> strchr, rindex -> strrchr
1778 1998-12-07 Martin Buchholz <martin@xemacs.org>
1780 * sysdep.c (set_descriptor_non_blocking):
1781 Since O_NONBLOCK is now always #defined, make use of fcntl
1782 conditional on F_SETFL being defined.
1784 * console-msw.c (DHEADgER):
1793 - max_align_t should not be visible to the user of the
1795 - use Bufbyte instead of char
1796 - parens around (FOOP (obj)) are always redundant.
1797 If they were necessary, we should fix the macro instead.
1798 - Always use string_data(foo) instead of foo->data.
1801 1998-12-06 Martin Buchholz <martin@xemacs.org>
1803 * frame-msw.c (mswindows_init_frame_1):
1804 - use make_lisp_hash_table, not Fmake_hash_table
1808 * alloc.c (make_vector): remove travesty
1812 (make_bit_vector_internal):
1814 (make_bit_vector_from_byte_vector):
1816 - make vector_equal a little faster.
1817 - Don't use variable name `new'.
1818 - Use size_t instead of EMACS_INT.
1819 - usual Martin-style pointless bit-twiddling.
1825 Make mapcar faster. In particular, make
1826 (mapc #'identity long-string)
1827 MUCH faster under Mule.
1828 * tests/automated/lisp-tests.el: Test 'em!
1830 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1833 1998-12-01 Martin Buchholz <martin@xemacs.org>
1835 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1836 Qnil, not NULL, to initialize `null' Lisp_Objects.
1838 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1840 * specifier.c (display_table_validate): Update.
1842 * redisplay.c (create_text_block): Use them.
1844 * glyphs.c (display_table_entry): New function.
1845 (get_display_tables): Ditto.
1847 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1849 * eldap.c (toplevel): Mention that eldap.c compiles with
1851 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1852 (Fldap_search_internal): Ditto
1854 1998-12-11 Martin Buchholz <martin@xemacs.org>
1856 * event-msw.c (mswindows_cancel_dispatch_event):
1857 Gratuitous code prettification
1860 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1862 * fns.c (Fnconc): Fix use of wrong_type_argument().
1864 * floatfns.c (Ffloat): Fix docstring.
1865 (Ffloat): Fix use of wrong_type_argument().
1867 (extract_float): Ditto.
1872 1998-12-06 Martin Buchholz <martin@xemacs.org>
1874 * frame-msw.c (mswindows_init_frame_1):
1875 - use make_lisp_hash_table, not Fmake_hash_table
1879 * alloc.c (make_vector): remove travesty
1883 (make_bit_vector_internal):
1885 (make_bit_vector_from_byte_vector):
1887 - make vector_equal a little faster.
1888 - Don't use variable name `new'.
1889 - Use size_t instead of EMACS_INT.
1890 - usual Martin-style pointless bit-twiddling.
1896 Make mapcar faster. In particular, make
1897 (mapc #'identity long-string)
1898 MUCH faster under Mule.
1899 * tests/automated/lisp-tests.el: Test 'em!
1901 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1904 1998-12-02 Didier Verna <verna@inf.enst.fr>
1906 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1907 accelerator field to nil for labels.
1909 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1911 * menubar-msw.c (displayable_menu_item):
1912 Escape occurrences of '&' and support occurrences of the
1913 '%_' accelerator indicator in menus.
1915 1998-11-26 Didier Verna <verna@inf.enst.fr>
1917 * dired.c (Fdirectory_files): use make_string instead of
1918 make_ext_string on the filename. The conversion external->internal
1919 format is already done in sys_readdir.
1921 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1923 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1925 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1928 (Belatedly) added Kirill to list of file's authors.
1929 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1930 quit checking. WM_PAINT messages cause redisplay, but
1931 windows' states are not necessarily stable when this function
1934 1998-12-17 Andy Piper <andy@xemacs.org>
1936 * strftime.c (zone_name): CONSTify.
1938 1998-12-15 Andy Piper <andy@xemacs.org>
1940 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1941 (mswindows_widget_property): return Qunbound when no property available.
1942 (mswindows_button_property): ditto.
1943 (mswindows_combo_property): ditto.
1944 (mswindows_widget_set_property): ditto.
1946 * glyphs-widget.c (check_valid_item_list): use properties.
1948 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1950 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1951 (Fimage_instance_property): ditto.
1952 * glyphs-widget.c (widget_property): ditto.
1953 (widget_set_property): ditto.
1955 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1956 as setting the class cursor so that GC actually changes the
1959 * config.h: don't undef MAIL_USE_POP.
1961 1998-12-13 Andy Piper <andy@xemacs.org>
1964 (image_instantiator_format_create_glyphs_mswindows): line ->
1966 (mswindows_label_instantiate): ditto. Play with window flags.
1967 (image_instantiator_format_create_glyphs_mswindows): ditto.
1968 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1970 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1971 cope with lines and labels.
1972 (static_instantiate): use widget_instantiate_1.
1974 (image_instantiator_format_create_glyphs_widget): ditto.
1976 1998-12-10 Andy Piper <andy@xemacs.org>
1978 * Makefile.in.in (objs): add gui.o
1980 1998-12-10 Andy Piper <andy@xemacs.org>
1982 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1985 1998-12-09 Andy Piper <andy@xemacs.org>
1987 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1988 image instance is removed so that the subwindow cache gets reset
1989 and thus destroyed images get GC'd.
1991 1998-12-08 Andy Piper <andy@xemacs.org>
1993 * gui-msw.c (mswindows_handle_gui_wm_command): call
1994 MARK_SUBWINDOWS_CHANGED.
1996 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1997 subwindows really get deleted.
1999 * redisplay.c: new variable subwindows_changed[_set].
2000 (redisplay_window): use it.
2001 (redisplay_frame): ditto.
2002 (redisplay_device): ditto.
2003 (redisplay_without_hooks): ditto.
2005 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2006 subwindows redisplay as per glyphs equivalent.
2007 * redisplay.h: ditto.
2008 (MARK_SUBWINDOWS_CHANGED): ditto.
2009 (RESET_CHANGED_SET_FLAGS): ditto.
2010 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2012 1998-12-07 Andy Piper <andy@xemacs.org>
2014 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2017 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2019 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2020 messages and paint widget glyphs as appropriate with their face fg
2023 1998-12-06 Andy Piper <andy@xemacs.org>
2025 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2026 here rather than in glyphs-widget - do this because we only want
2027 to provide what is really available.
2029 * glyphs.c (Fimage_instance_property): new function to get the
2030 properties of image instances. wires through to console specific
2031 methods and then to widget specific methods.
2032 (Fset_image_instance_property): ditto but for setting widget properties.
2033 (check_valid_face): make extern so that it can be used elsewhere.
2035 * glyphs-widget.c (widget_property): new function. gets the
2036 properties of widgets in general and wires the function through to
2037 widget specific ones.
2038 (widget_set_property): ditto but for setting widget properties.
2040 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2041 add items to the list. Play with window styles a bit to get the
2043 (mswindows_widget_property): break out specific widget properties.
2044 (mswindows_button_property): new function. gets the checked state
2046 (mswindows_combo_property): new function. gets the current
2047 selection in the combo box.
2048 (mswindows_widget_set_property): new function. sets specific
2049 properties of specific widgets.
2051 * glyphs-widget.c (check_valid_item_list): new function. check
2052 that items for a combo-box are just a list of strings.
2053 (combo_validate): new function. check there is an item list.
2054 (widget_instantiate_1): new function. renamed from
2055 widget_instantiate so that we can do slightly different things for
2057 (widget_instantiate): call widget_instantiate_1.
2058 (combo_instantiate): new function to instantiate combo boxes,
2059 defaults height to the pixel height of the number of items in the
2061 (syms_of_glyphs_widget): move widget keywords here.
2062 (image_instantiator_format_create_glyphs_widget): use new combo
2065 1998-12-04 Andy Piper <andy@xemacs.org>
2067 * event-msw.c (mswindows_wnd_proc): mule-ize.
2069 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2071 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2072 (resource_name_to_resource): ditto.
2073 (mswindows_resource_instantiate): ditto.
2074 (mswindows_widget_instantiate): ditto.
2075 (mswindows_widget_set_property): ditto.
2077 * redisplay-output.c (redisplay_output_subwindow): don't show
2078 subwindows if they are obscured at the edge of the frame, emacs
2079 gets into some sort of redisplay loop otherwise.
2081 * gui.h: prototype gui_item_selected_p.
2083 * gui.c (gui_item_selected_p): new function to determine the
2084 selected state of a gui_item.
2086 * frame.h (struct frame): add subwindows_changed flag.
2088 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2090 * glyphs.c (update_subwindow): new function to update a
2092 (update_frame_subwindows): new function to update all the
2093 subwindows on a frame.
2095 * console.h (struct console_methods): add update_subwindow.
2097 * glyphs-msw.c (mswindows_widget_property): return selected state
2098 for selected property.
2099 (mswindows_update_subwindow): new function. updates widget glyphs
2100 in redisplay as per menubars or toolbars e.g. selected state.
2101 (console_type_create_glyphs_mswindows): add update_subwindow.
2103 1998-12-03 Andy Piper <andy@xemacs.org>
2105 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2106 tty coding system things are such.
2108 * glyphs-widget.c (widget_face_font_info): new function for
2109 pulling out height and width metrics for a widget's face.
2110 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2113 * event-msw.c (mswindows_drain_windows_queue): translate messages
2114 that are destined for subwindows. This makes edit fields interact
2115 with the keyboard correctly.
2116 nuke warnings by #ifndef'ing out stuff not required by msg select().
2118 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2119 macro defining the iiforma without the symbol required by widget.
2120 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2122 * general.c (syms_of_general): add Qwidget, Qselected.
2124 * faces.c (complex_vars_of_faces): add widget face inheriting from
2127 1998-11-09 Andy Piper <andy@xemacs.org>
2129 * window.h (struct window): add a cache of subwindows on a
2132 * window.c (mark_window): mark the subwindow_instance_cache.
2133 (allocate_window): initialise the subwindow instance_cache.
2135 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2136 instead of the devmeth.
2137 (x_clear_toolbar): ditto.
2139 * redisplay-x.c (x_output_display_block): call
2140 redisplay_output_subwindow for subwindows and widgets.
2142 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2143 types to do nothing for.
2145 * lisp.h: declare new widget/subwindow symbols.
2147 * glyphs.c (image_instantiate): cache subwindows on a per-window
2149 (subwindow_possible_dest_types): new function for subwindow dest
2151 (subwindow_instantiate): generic instantiation of a
2152 subwindow. specialised by device multi-methods.
2153 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2155 (Fimage_instance_subwindow_id): ditto.
2156 (Fresize_subwindow): ditto.
2157 (Fforce_subwindow_map): ditto.
2159 * glyphs-x.c (x_print_image_instance): remove subwindow
2160 stuff. Handled genrically in glyphs.c.
2161 (x_image_instance_equal): ditto.
2162 (x_image_instance_hash): ditto.
2163 (x_finalize_image_instance): delete subwindows when required.
2164 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2165 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2166 glyph-based, subwindow implementation.
2167 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2169 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2171 (x_unmap_subwindow): new function to unmap X subwindows.
2172 (x_map_subwindow): new function to map X subwindows.
2173 (x_subwindow_instantiate): new function to instantiate X
2175 (x_resize_subwindow): new function to resize X subwindows.
2176 (console_type_create_glyphs_x): add subwindow functions.
2177 (image_instantiator_format_create_glyphs_x): add device
2178 multi-methods for xpm, xbm and subwindow.
2180 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2181 (subwindow-width): ditto.
2182 (subwindow-height): ditto.
2184 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2185 generally instantiating ms subwindows. Used by
2186 mswindows_*_instantiate.
2187 (mswindows_edit_instantiate): instantiate an edit field on a
2190 1998-11-04 Andy Piper <andy@xemacs.org>
2192 * symsinit.h: declare new functions.
2194 * redisplay.h: declare new functions.
2196 * redisplay-x.c (x_output_display_block): call
2197 redisplay_clear_region rather than x_clear_region.
2198 (x_output_string): ditto.
2199 (x_output_pixmap): ditto.
2200 (x_clear_to_window_end): ditto.
2201 (x_output_eol_cursor): ditto.
2202 (x_clear_region): only do X specific things. other duties handled
2203 in redisplay_clear_region.
2205 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2206 duties moved to redisplay_clear_region.
2208 * redisplay-output.c (clear_left_border): use
2209 redisplay_clear_region instead of device method.
2210 (clear_right_border): ditto.
2211 (output_display_line): ditto.
2212 (redisplay_output_subwindow): ditto.
2213 (redisplay_clear_top_of_window): ditto.
2214 (redisplay_clear_region): perform duties previously handled by
2215 device methods. call the appropriate device method at the
2216 end. unmap subwindows if necessary.
2218 * redisplay-msw.c (mswindows_output_string): use
2219 redisplay_clear_region instead of mswindows_clear_region.
2220 (mswindows_clear_to_window_end): ditto.
2221 (mswindows_output_display_block): output subwindows when required.
2222 (mswindows_clear_region): only do mswindows specific things,
2223 everything else is now handled in redisplay_clear_region.
2225 * gui.h: add item id hash defines and declare function prototypes.
2227 * gui.c (mark_gui_item): new function for marking gui_items.
2228 (gui_item_hash): generic hash function for generating command ids
2231 * gui-msw.c: new file.
2232 (mswindows_handle_gui_wm_command): new function to handle widget
2235 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2237 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2238 (DEFINE_DEVICE_IIFORMAT): ditto.
2239 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2240 (struct Lisp_Image_Instance): add widget and subwindow data plus
2241 appropriate access functions.
2243 * glyphs.c (decode_device_ii_format): new function for decoding
2244 image instantiator functions based on a device type as well as an
2246 (decode_image_instantiator_format): just call
2247 decode_device_ii_format with nil device.
2248 (add_entry_to_device_ii_format_list): new function for per device
2250 (add_entry_to_image_instantiator_format_list): just call
2251 add_entry_to_device_ii_format_list with nil device.
2252 (check_valid_vector): new function.
2253 (instantiate_image_instantiator): instantiate using per-format
2254 method and then per-format-per-device method (device
2255 multi-methods). signal an error if neither is possible.
2256 (mark_image_instance): cope with subwindows and widgets.
2257 (print_image_instance): ditto.
2258 (image_instance_equal): ditto.
2259 (image_instance_hash): ditto.
2260 (allocate_glyph): ditto.
2261 (glyph_width): ditto.
2262 (glyph_height_internal): ditto.
2263 (xpm_instantiate): removed because of device multi-methods.
2264 (mark_subwindow_cachels): new cachel functions for caching
2265 instantiated subwindows on a per-frame basis. mostly copied from
2266 glyph cachel functions.
2267 (update_subwindow_cachel_data): ditto.
2268 (add_subwindow_cachel): ditto.
2269 (get_subwindow_cachel_index): ditto.
2270 (reset_subwindow_cachels): ditto.
2271 (mark_subwindow_cachels_as_not_updated): ditto.
2272 (unmap_subwindow): generic unmapping of subwindows based on cachel
2274 (map_subwindow): ditto.
2275 (initialize_subwindow_image_instance): generic initialisation of
2277 (syms_of_glyphs): add widget keywords.
2279 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2282 1998-11-04 Andy Piper <andy@xemacs.org>
2284 * glyphs-widget.c: new file for instantiating widget type glyphs.
2285 (widget_possible_dest_types): new general dest type function for
2287 (widget_validate): ditto.
2288 (initialize_widget_image_instance): ditto
2289 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2290 before handing on control to device multi-methods.
2291 (syms_of_glyphs_widget): new function.
2292 (image_instantiator_format_create_glyphs_widget): new function,
2293 added placeholders for button, edit, combo, scrollbar
2294 (vars_of_glyphs_widget): new function.
2296 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2297 storing window ids of widgets.
2299 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2300 deletion of widget and subwindow glyphs.
2301 (mswindows_unmap_subwindow): new device function for unmapping
2302 subwindows on a msw frame.
2303 (mswindows_map_subwindow): ditto.
2304 (mswindows_register_image_instance): register instantiated widgets
2305 with the widget hastable.
2306 (mswindows_button_instantiate): instantiate a button type widget
2308 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2310 (image_instantiator_format_create_glyphs_mswindows): add device
2311 multi-methods for xbm, xpm, subwindow, edit and button.
2313 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2314 information about subwindows visible on the current frame. used by
2315 redisplay_clear_region to unmap subwindows as required.
2317 * frame.c (mark_frame): mark subwindow_cachels.
2318 (allocate_frame_core): instantiate subwindow_cachels.
2320 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2323 * event-msw.c (mswindows_wnd_proc): add call to
2324 mswindows_handle_gui_wm_command to handle widget callbacks.
2326 * emacs.c (main_1): add calls to glyphs-widget initialisation
2329 * console.h (struct console_methods): add
2330 unmap/map_subwindow_method for use be redisplay_clear_region to
2331 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2332 with by image instantiator multi-methods. Add
2333 resize_subwindow_method.
2335 * console-stream.c (stream_clear_region): change signature to
2336 match new generic clear region function.
2338 * Makefile.in.in: add glyphs-widget.o to list of objects.
2340 * console-msw.h (struct mswindows_frame): add widget hashtable for
2341 wiring command ids to callbacks.
2343 1998-12-16 Andy Piper <andy@xemacs.org>
2345 * XEmacs 21.2.6 is released
2347 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2349 * md5.c (Fmd5): Correctly initiate string input stream.
2351 * Makefile.in.in (tests): Add md5-tests.el.
2353 1998-12-06 Martin Buchholz <martin@xemacs.org>
2356 * alloc.c (make_vector): remove travesty
2360 (make_bit_vector_internal):
2362 (make_bit_vector_from_byte_vector):
2364 - make vector_equal a little faster.
2365 - Don't use variable name `new'.
2366 - Use size_t instead of EMACS_INT.
2367 - usual Martin-style pointless bit-twiddling.
2373 Make mapcar faster. In particular, make
2374 (mapc #'identity long-string)
2375 MUCH faster under Mule.
2376 * tests/automated/lisp-tests.el: Test 'em!
2378 1998-12-06 Martin Buchholz <martin@xemacs.org>
2380 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2383 1998-12-13 Martin Buchholz <martin@xemacs.org>
2385 * console-msw.c: Function definitions follow coding standards
2386 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2388 1998-12-11 Martin Buchholz <martin@xemacs.org>
2390 * events.h (struct timeout_data):
2391 * event-tty.c (tty_timeout_to_emacs_event):
2392 * event-msw.c (mswindows_wm_timer_callback):
2393 * event-Xt.c (Xt_timeout_to_emacs_event):
2394 * event-msw.c (mswindows_cancel_dispatch_event):
2395 Make sure Lisp_Objects inside events are initialized to Qnil, not
2396 Qnull_pointer, which is now illegal.
2398 1998-12-10 Martin Buchholz <martin@xemacs.org>
2400 * lisp.h: Fix up prototypes to match alloc.c
2402 1998-12-09 Andy Piper <andy@xemacs.org>
2404 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2405 XSETINT for assigning lisp objects.
2407 1998-12-07 Martin Buchholz <martin@xemacs.org>
2410 * console-msw.c (DHEADER):
2419 - max_align_t should not be visible to the user of the
2421 - use Bufbyte instead of char
2422 - parens around (FOOP (obj)) are always redundant.
2423 If they were necessary, we should fix the macro instead.
2424 - Always use string_data(foo) instead of foo->data.
2426 1998-12-07 Martin Buchholz <martin@xemacs.org>
2428 * sysdep.c (set_descriptor_non_blocking):
2429 Since O_NONBLOCK is now always #defined, make use of fcntl
2430 conditional on F_SETFL being defined.
2432 1998-12-09 Andy Piper <andy@xemacs.org>
2434 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2435 that got removed in the merge
2437 1998-11-30 Greg Klanderman <greg@alphatech.com>
2439 * dired.c (vars_of_dired): bugfix for previous conditionalization
2440 of user-name-completion on non- Windows NT.
2442 1998-12-08 Martin Buchholz <martin@xemacs.org>
2444 * windowsnt.h: Remove `support' for using index and rindex
2446 * filelock.c (current_lock_owner):
2447 - Change uses of index -> strchr, rindex -> strrchr
2449 1998-12-06 Martin Buchholz <martin@xemacs.org>
2451 * frame-msw.c (mswindows_init_frame_1):
2452 - use make_lisp_hash_table, not Fmake_hash_table
2455 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2457 * XEmacs 21.2.5 is released
2459 1998-11-30 Martin Buchholz <martin@xemacs.org>
2461 * xselect.c (receive_incremental_selection):
2462 * xselect.c (x_get_window_property):
2463 * xmu.c (XmuReadBitmapDataFromFile):
2464 * xmu.c (XmuCursorNameToIndex):
2465 * xgccache.c (describe_gc_cache):
2466 * xgccache.c (gc_cache_lookup):
2467 * xgccache.c (free_gc_cache):
2468 * xgccache.c (make_gc_cache):
2470 * window.c (map_windows_1):
2471 * window.c (Fother_window_for_scrolling):
2472 * window.c (window_scroll):
2473 * window.c (change_window_height):
2474 * window.c (Fsplit_window):
2475 * window.c (window_left_gutter_width):
2476 * window.c (window_modeline_height):
2477 * window.c (invalidate_vertical_divider_cache_in_window):
2478 * window.c (window_needs_vertical_divider_1):
2479 * window.c (update_mirror_internal):
2480 * window.c (SET_LAST_FACECHANGE):
2481 * widget.c (Fwidget_plist_member):
2482 * unexec.c (copy_text_and_data):
2483 * unexcw.c (copy_executable_and_dump_data_section):
2485 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2486 * tooltalk.c (struct Lisp_Tooltalk_Message):
2487 * toolbar.h (struct toolbar_button):
2488 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2489 * toolbar.c (recompute_overlaying_specifier):
2490 * toolbar.c (toolbar_validate):
2491 * toolbar.c (toolbar_button_at_pixpos):
2492 * toolbar.c (get_toolbar_coords):
2493 * toolbar.c (update_frame_toolbars):
2495 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2496 * toolbar-msw.c (mswindows_find_toolbar_pos):
2497 * toolbar-msw.c (mswindows_output_toolbar):
2498 * toolbar-msw.c (mswindows_clear_toolbar):
2507 * sysdep.c (sys_fopen):
2508 * sysdep.c (sys_open):
2509 * sysdep.c (tty_init_sys_modes_on_device):
2510 * sysdep.c (get_eof_char):
2511 * sysdep.c (child_setup_tty):
2512 * sysdep.c (set_descriptor_non_blocking):
2514 * syntax.c (scan_words):
2517 * symeval.h (struct symbol_value_varalias):
2518 * symeval.h (struct symbol_value_forward):
2519 * symbols.c (syms_of_symbols):
2520 * symbols.c (init_symbols_once_early):
2521 * symbols.c (Fbuilt_in_variable_type):
2522 * symbols.c (Fsymbol_value_in_buffer):
2523 * symbols.c (default_value):
2525 * symbols.c (find_symbol_value_quickly):
2526 * symbols.c (store_symval_forwarding):
2527 * symbols.c (set_default_console_slot_variable):
2528 * symbols.c (set_default_buffer_slot_variable):
2529 * symbols.c (verify_ok_for_buffer_local):
2530 * symbols.c (symbol_is_constant):
2531 * symbols.c (oblookup):
2532 * symbols.c (Funintern):
2533 * symbols.c (Fintern):
2534 * symbols.c (check_obarray):
2536 * specifier.h (struct specifier_methods):
2538 * specifier.c (specifier_instance):
2539 * specifier.c (specifier_instance_from_inst_list):
2540 * specifier.c (decode_locale_type):
2541 * specifier.c (specifier_equal):
2542 * specifier.c (finalize_specifier):
2543 * specifier.c (prune_specifiers):
2544 * specifier.c (kill_specifier_buffer_locals):
2545 * sound.c (init_native_sound):
2548 * search.c (Fmatch_data):
2549 * search.c (match_limit):
2550 * search.c (Freplace_match):
2551 * search.c (skip_chars):
2552 * search.c (scan_buffer):
2554 * scrollbar.c (specifier_vars_of_scrollbar):
2555 * scrollbar.c (Fscrollbar_set_hscroll):
2556 * scrollbar.c (vertical_scrollbar_changed_in_window):
2557 * scrollbar.c (release_window_mirror_scrollbars):
2558 * scrollbar.c (free_scrollbar_instance):
2561 * s/msdos.h (O_BINARY):
2563 * s/freebsd.h (LIBS_TERMCAP):
2564 * regex.c (re_match_2_internal):
2565 * regex.c (compile_extended_range):
2566 * regex.c (POP_FAILURE_POINT):
2567 * regex.c (PUSH_FAILURE_POINT):
2568 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2570 * redisplay.h (struct display_line):
2571 * redisplay.h (struct rune):
2572 * redisplay.c (vars_of_redisplay):
2573 * redisplay.c (redisplay_variable_changed):
2574 * redisplay.c (UPDATE_CACHE_RETURN):
2575 * redisplay.c (validate_line_start_cache):
2576 * redisplay.c (mark_redisplay_structs):
2577 * redisplay.c (mark_glyph_block_dynarr):
2578 * redisplay.c (window_line_number):
2579 * redisplay.c (redisplay_frame):
2580 * redisplay.c (redisplay_window):
2581 * redisplay.c (generate_modeline):
2582 * redisplay.c (create_right_glyph_block):
2583 * redisplay.c (create_left_glyph_block):
2584 * redisplay.c (create_text_block):
2586 * redisplay-x.c (x_output_hline):
2587 * redisplay-x.c (x_output_vertical_divider):
2588 * redisplay-tty.c (tty_output_display_block):
2589 * redisplay-output.c (output_display_line):
2590 * redisplay-output.c:
2591 * redisplay-msw.c (mswindows_output_vertical_divider):
2592 * redisplay-msw.c (mswindows_ring_bell):
2593 * redisplay-msw.c (mswindows_output_cursor):
2597 * puresize.h (RAW_PURESIZE):
2598 * profile.c (syms_of_profile):
2599 * profile.c (Fstart_profiling):
2600 * profile.c (sigprof_handler):
2603 * process.c (vars_of_process):
2604 * process.c (read_process_output):
2605 * process.c (get_process):
2607 * process-unix.c (unix_open_multicast_group):
2608 * process-unix.c (unix_get_tty_name):
2609 * process-unix.c (unix_send_process):
2610 * process-unix.c (unix_reap_exited_processes):
2611 * process-unix.c (unix_create_process):
2612 * process-unix.c (unix_init_process_io_handles):
2613 * process-unix.c (allocate_pty):
2615 * process-nt.c (nt_open_network_stream):
2616 * process-nt.c (nt_update_status_if_terminated):
2617 * process-nt.c (nt_finalize_process_data):
2619 * print.c (debug_short_backtrace):
2620 * print.c (debug_backtrace):
2621 * print.c (print_symbol):
2622 * print.c (print_internal):
2623 * print.c (print_cons):
2624 * print.c (Fwrite_char):
2625 * print.c (print_prepare):
2626 * print.c (canonicalize_printcharfun):
2627 * print.c (output_string):
2630 * opaque.c (allocate_managed_opaque):
2632 * offix.c (DndSetData):
2633 * objects.c (face_boolean_create):
2634 * objects.c (font_instantiate):
2635 * objects.c (font_create):
2636 * objects.c (color_create):
2637 * objects.c (finalize_font_instance):
2638 * objects.c (finalize_color_instance):
2640 * objects-x.c (x_font_instance_truename):
2642 * objects-x.c (x_initialize_font_instance):
2643 * objects-x.c (allocate_nearest_color):
2644 * objects-tty.c (tty_initialize_font_instance):
2645 * objects-tty.c (tty_initialize_color_instance):
2646 * objects-msw.c (mswindows_initialize_color_instance):
2647 * ntproc.c (syms_of_ntproc):
2648 * ntproc.c (Fwin32_set_process_priority):
2649 * ntproc.c (sys_spawnve):
2651 * ntheap.c (get_data_end):
2655 * nt.c (generate_inode_val):
2656 * nt.c (sys_rename):
2658 * mule-wnnfns.c (Fwnn_hinsi_number):
2659 * mule-wnnfns.c (Fwnn_yuragi):
2660 * mule-wnnfns.c (Fwnn_common_learn):
2661 * mule-wnnfns.c (Fwnn_suffix_learn):
2662 * mule-wnnfns.c (Fwnn_prefix_learn):
2663 * mule-wnnfns.c (Fwnn_okuri_learn):
2664 * mule-wnnfns.c (Fwnn_complex_conv):
2665 * mule-wnnfns.c (Fwnn_last_is_first):
2666 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2667 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2668 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2669 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2670 * mule-wnnfns.c (Fwnn_hinsi_list):
2671 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2672 * mule-wnnfns.c (Fwnn_dict_search):
2673 * mule-wnnfns.c (Fwnn_word_toroku):
2674 * mule-wnnfns.c (Fwnn_hindo_update):
2675 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2676 * mule-wnnfns.c (Fwnn_kakutei):
2677 * mule-wnnfns.c (Fwnn_begin_henkan):
2678 * mule-wnnfns.c (Fwnn_dict_comment):
2679 * mule-wnnfns.c (Fwnn_dict_add):
2680 * mule-wnnfns.c (Fwnn_open):
2681 * mule-mcpath.c (mc_getcwd):
2682 * mule-coding.c (vars_of_mule_coding):
2683 * mule-coding.c (convert_to_external_format):
2684 * mule-coding.c (encoding_marker):
2685 * mule-coding.c (decoding_marker):
2686 * mule-coding.c (Fcopy_coding_system):
2687 * mule-coding.c (Fmake_coding_system):
2688 * mule-coding.c (Fcoding_system_list):
2689 * mule-coding.c (Ffind_coding_system):
2690 * mule-coding.c (symbol_to_eol_type):
2692 * mule-charset.c (complex_vars_of_mule_charset):
2693 * mule-charset.c (vars_of_mule_charset):
2694 * mule-charset.c (Fset_charset_ccl_program):
2695 * mule-charset.c (struct charset_list_closure):
2696 * mule-charset.c (Ffind_charset):
2697 * mule-charset.c (make_charset):
2698 * mule-charset.c (non_ascii_valid_char_p):
2700 * mule-ccl.c (ccl_driver):
2701 * mule-canna.c (c2mu):
2702 * mule-canna.c (Fcanna_henkan_begin):
2703 * mule-canna.c (Fcanna_parse):
2704 * mule-canna.c (Fcanna_store_yomi):
2705 * mule-canna.c (Fcanna_touroku_string):
2706 * mule-canna.c (Fcanna_initialize):
2708 * menubar.c (menu_parse_submenu_keywords):
2709 * menubar-x.c (make_dummy_xbutton_event):
2710 * menubar-x.c (set_frame_menubar):
2711 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2714 * menubar-msw.c (mswindows_popup_menu):
2715 * menubar-msw.c (mswindows_update_frame_menubars):
2716 * menubar-msw.c (mswindows_handle_wm_command):
2717 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2718 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2719 * menubar-msw.c (update_frame_menubar_maybe):
2720 * menubar-msw.c (populate_or_checksum_helper):
2721 * menubar-msw.c (empty_menu):
2724 * marker.c (set_marker_internal):
2725 * marker.c (print_marker):
2728 * lstream.c (lisp_buffer_rewinder):
2729 * lstream.c (mark_lstream):
2731 * lrecord.h (struct lrecord_header):
2732 * lread.c (readevalloop):
2733 * lread.c (locate_file):
2734 * lread.c (locate_file_in_directory):
2735 * lread.c (Flocate_file):
2736 * lread.c (load_force_doc_string_unwind):
2737 * lread.c (ebolify_bytecode_constants):
2742 * linuxplay.c (linux_play_data_or_file):
2743 * linuxplay.c (audio_init):
2746 * keymap.c (describe_map):
2747 * keymap.c (describe_map_mapper):
2748 * keymap.c (Fdescribe_bindings_internal):
2749 * keymap.c (Fsingle_key_description):
2750 * keymap.c (map_keymap_sorted):
2751 * keymap.c (get_relevant_keymaps):
2752 * keymap.c (Flookup_key):
2753 * keymap.c (raw_lookup_key_mapper):
2754 * keymap.c (Fdefine_key):
2755 * keymap.c (Fevent_matches_key_specifier_p):
2756 * keymap.c (key_desc_list_to_event):
2757 * keymap.c (define_key_parser):
2758 * keymap.c (define_key_check_and_coerce_keysym):
2759 * keymap.c (keymap_submaps):
2760 * keymap.c (keymap_store_internal):
2761 * keymap.c (keymap_delete_inverse_internal):
2762 * keymap.c (keymap_store_inverse_internal):
2763 * keymap.c (print_keymap):
2764 * keymap.c (Lisp_Keymap):
2767 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2768 * insdel.c (make_gap):
2769 * input-method-xlib.c (get_XIM_input):
2770 * input-method-xlib.c (XIM_init_frame):
2775 * gui-x.c (button_item_to_widget_value):
2776 * gui-x.c (popup_selection_callback):
2777 * glyphs.h (struct image_instantiator_methods):
2778 * glyphs.c (mark_glyph_cachels):
2779 * glyphs.c (Fglyph_type):
2780 * glyphs.c (image_instantiate):
2781 * glyphs.c (image_create):
2782 * glyphs.c (make_image_instance_1):
2783 * glyphs.c (finalize_image_instance):
2785 * glyphs-x.c (finalize_subwindow):
2786 * glyphs-x.c (xface_validate):
2787 * glyphs-x.c (x_locate_pixmap_file):
2788 * glyphs-x.c (convert_EImage_to_XImage):
2790 * glyphs-msw.c (mswindows_resource_instantiate):
2791 * glyphs-msw.c (xpm_to_eimage):
2792 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2793 * glyphs-eimage.c (tiff_instantiate):
2794 * glyphs-eimage.c (png_instantiate):
2795 * glyphs-eimage.c (struct png_error_struct):
2796 * glyphs-eimage.c (gif_memory_storage):
2799 * getloadavg.c (getloadavg):
2802 * free-hook.c (log_gcpro):
2803 * free-hook.c (check_malloc):
2804 * free-hook.c (check_free):
2805 * free-hook.c (ROUND_UP_TO_PAGE):
2807 * frame.h (struct frame):
2809 * frame.c (change_frame_size_1):
2810 * frame.c (allocate_frame_core):
2812 * frame-x.c (x_focus_on_frame):
2813 * frame-x.c (x_init_frame_2):
2814 * frame-x.c (x_popup_frame):
2815 * frame-x.c (xemacs_XtPopup):
2817 * frame-x.c (Foffix_start_drag_internal):
2818 * frame-x.c (x_cde_destroy_callback):
2819 * frame-x.c (x_wm_hack_wm_protocols):
2820 * frame-tty.c (tty_frame_visible_p):
2821 * frame-msw.c (mswindows_make_frame_invisible):
2822 * frame-msw.c (mswindows_after_init_frame):
2823 * frame-msw.c (mswindows_init_frame_1):
2824 * fns.c (syms_of_fns):
2825 * fns.c (Fbase64_decode_string):
2827 * fns.c (Ffillarray):
2828 * fns.c (Fobject_plist):
2830 * fns.c (Fcanonicalize_lax_plist):
2831 * fns.c (Fcanonicalize_plist):
2832 * fns.c (Fplist_remprop):
2833 * fns.c (Fplist_get):
2834 * fns.c (advance_plist_pointers):
2835 * fns.c (internal_plist_put):
2836 * fns.c (Fnreverse):
2839 * fns.c (Fsubstring):
2840 * fns.c (Fbvconcat):
2842 * fns.c (length_with_bytecode_hack):
2843 * fns.c (print_bit_vector):
2845 * floatfns.c (Ffloor):
2847 * floatfns.c (in_float_error):
2848 * fileio.c (Ffile_modes):
2849 * fileio.c (Fexpand_file_name):
2850 * fileio.c (Fmake_temp_name):
2851 * fileio.c (Ffile_name_nondirectory):
2852 * fileio.c (Ffile_name_directory):
2854 * file-coding.c (vars_of_mule_coding):
2855 * file-coding.c (convert_to_external_format):
2856 * file-coding.c (encoding_marker):
2857 * file-coding.c (decoding_marker):
2858 * file-coding.c (Fcopy_coding_system):
2859 * file-coding.c (Fmake_coding_system):
2860 * file-coding.c (struct coding_system_list_closure):
2861 * file-coding.c (Ffind_coding_system):
2862 * file-coding.c (symbol_to_eol_type):
2864 * faces.h (struct face_cachel):
2865 * faces.c (vars_of_faces):
2866 * faces.c (face_property_was_changed):
2867 * faces.c (mark_face_cachels):
2868 * faces.c (temporary_faces_list):
2869 * faces.c (struct face_list_closure):
2871 * extents.h (struct extent):
2872 * extents.c (vars_of_extents):
2873 * extents.c (struct copy_string_extents_1_arg):
2874 * extents.c (add_string_extents_mapper):
2875 * extents.c (Fextent_property):
2876 * extents.c (Fset_extent_property):
2877 * extents.c (symbol_to_glyph_layout):
2878 * extents.c (properties_equal):
2879 * extents.c (print_extent):
2880 * extents.c (print_extent_1):
2881 * extents.c (extent_in_region_p):
2882 * extents.c (gap_array_make_gap):
2884 * events.h (struct Lisp_Event):
2886 * events.c (Fevent_properties):
2887 * events.c (format_event_object):
2888 * events.c (Fmake_event):
2889 * events.c (event_equal):
2890 * events.c (print_event):
2891 * events.c (mark_event):
2892 * event-stream.c ((read-char)
2893 * event-stream.c (vars_of_event_stream):
2894 * event-stream.c (syms_of_event_stream):
2895 * event-stream.c (Fset_recent_keys_ring_size):
2896 * event-stream.c (Fsit_for):
2897 * event-stream.c (Fnext_event):
2898 * event-stream.c (execute_help_form):
2899 * event-stream.c (maybe_kbd_translate):
2901 * event-msw.c (vars_of_event_mswindows):
2902 * event-msw.c (mswindows_wnd_proc):
2903 * event-msw.c (mswindows_need_event):
2904 * event-msw.c (mswindows_drain_windows_queue):
2905 * event-msw.c (mswindows_pump_outstanding_events):
2907 * event-msw.c (slurp_thread):
2908 * event-msw.c (struct ntpipe_slurp_stream):
2909 * event-msw.c (HANDLE_TO_USID):
2910 * event-Xt.c (emacs_Xt_handle_magic_event):
2911 * event-Xt.c (x_event_to_emacs_event):
2912 * event-Xt.c (x_reset_modifier_mapping):
2913 * event-Xt.c (x_reset_key_mapping):
2915 * eval.c (syms_of_eval):
2916 * eval.c (warn_when_safe):
2917 * eval.c (warn_when_safe_lispobj):
2918 * eval.c (Fbacktrace_frame):
2919 * eval.c (Fbacktrace):
2920 * eval.c (top_level_set):
2921 * eval.c (unbind_to_hairy):
2922 * eval.c (specbind_magic):
2923 * eval.c (specbind_unwind_wasnt_local):
2924 * eval.c (call2_trapping_errors):
2925 * eval.c (call1_trapping_errors):
2926 * eval.c (catch_them_squirmers_call2):
2927 * eval.c (call0_trapping_errors):
2928 * eval.c (run_hook_trapping_errors):
2929 * eval.c (catch_them_squirmers_eval_in_buffer):
2930 * eval.c (call4_in_buffer):
2931 * eval.c (call3_in_buffer):
2932 * eval.c (call2_in_buffer):
2933 * eval.c (call1_in_buffer):
2934 * eval.c (call0_in_buffer):
2935 * eval.c (run_hook):
2936 * eval.c (run_hook_with_args_in_buffer):
2939 * eval.c (do_autoload):
2940 * eval.c (un_autoload):
2941 * eval.c (Fautoload):
2942 * eval.c (Finteractive_p):
2943 * eval.c (Fcommand_execute):
2944 * eval.c (signal_quit):
2945 * eval.c (call_with_suspended_errors):
2946 * eval.c (signal_error):
2947 * eval.c (return_from_signal):
2948 * eval.c (Fcall_with_condition_handler):
2949 * eval.c (run_condition_case_handlers):
2950 * eval.c (condition_case_1):
2951 * eval.c (Funwind_protect):
2952 * eval.c (unwind_to_catch):
2953 * eval.c (internal_catch):
2954 * eval.c (Fmacroexpand_internal):
2955 * eval.c (Fuser_variable_p):
2956 * eval.c (Fdefconst):
2958 * eval.c (Ffunction):
2959 * eval.c (signal_call_debugger):
2960 * eval.c (call_debugger):
2963 * emacs.c (sort_args):
2967 * editfns.c (Fencode_time):
2968 * editfns.c (Fdecode_time):
2969 * editfns.c (Fuser_full_name):
2971 * editfns.c (save_excursion_restore):
2974 * doprnt.c (emacs_doprnt_1):
2975 * doc.c (verify_doc_mapper):
2976 * doc.c (Fsnarf_documentation):
2977 * doc.c (Fdocumentation):
2979 * dired.c (user_name_completion):
2980 * dired.c (Fdirectory_files):
2983 * dgif_lib.c (FreeSavedImages):
2984 * dgif_lib.c (DGifGetImageDesc):
2986 * device.h (struct device):
2987 * device.c (Fselect_device):
2988 * device.c (allocate_device):
2990 * device-x.c (Fx_keysym_on_keyboard_p):
2991 * device-x.c (Fx_valid_keysym_name_p):
2992 * device-x.c (x_IO_error_handler):
2993 * device-x.c (x_delete_device):
2994 * device-x.c (x_finish_init_device):
2995 * device-x.c (x_init_device):
2997 * device-msw.c (mswindows_init_device):
2999 * database.c (vars_of_database):
3000 * database.c (Fput_database):
3001 * database.c (Fopen_database):
3002 * database.c (berkdb_remove):
3003 * database.c (berkdb_put):
3004 * database.c (Fdatabasep):
3005 * database.c (print_database):
3007 * data.c (vars_of_data):
3008 * data.c (syms_of_data):
3009 * data.c (init_errors_once_early):
3010 * data.c (prune_weak_lists):
3011 * data.c (finish_marking_weak_lists):
3012 * data.c (print_weak_list):
3014 * data.c (Fstring_to_number):
3015 * data.c (Fnumber_to_string):
3016 * data.c (Findirect_function):
3019 * data.c (Fsubr_interactive):
3021 * data.c (Fkeywordp):
3024 * console.h (CONSOLE_NAME):
3026 * console.c (vars_of_console):
3027 * console.c (Fselect_console):
3029 * console-x.h (DEVICE_X_COLORMAP):
3030 * console-x.h (struct x_device):
3031 * console-x.c (x_device_to_console_connection):
3032 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3033 * console-tty.c (tty_init_console):
3035 * console-msw.h (struct mswindows_frame):
3038 * cmds.c (internal_self_insert):
3039 * cmds.c (Fforward_line):
3040 * cmds.c (Fforward_char):
3043 * chartab.c (mark_char_table_entry):
3045 * casefiddle.c (casify_word):
3046 * callproc.c (child_setup):
3047 * callproc.c (Fcall_process_internal):
3049 * callint.c (Fcall_interactively):
3051 * bytecode.c (execute_rare_opcode):
3052 * bytecode.c (execute_optimized_program):
3055 * buffer.h (BUFFER_REALLOC):
3056 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3057 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3059 * buffer.h (MAP_INDIRECT_BUFFERS):
3060 * buffer.h (CHECK_LIVE_BUFFER):
3061 * buffer.c (init_initial_directory):
3062 * buffer.c (complex_vars_of_buffer):
3063 * buffer.c (vars_of_buffer):
3064 * buffer.c (finish_init_buffer):
3065 * buffer.c (Fget_file_buffer):
3066 * buffer.c (Fbuffer_list):
3067 * buffer.c (mark_buffer):
3068 * balloon_help.c (balloon_help_move_to_pointer):
3069 * balloon_help.c (show_help):
3072 * alloc.c (garbage_collect_1):
3073 * alloc.c (sweep_strings):
3074 * alloc.c (sweep_compiled_functions):
3075 * alloc.c (sweep_bit_vectors_1):
3076 * alloc.c (sweep_vectors_1):
3077 * alloc.c (sweep_lcrecords_1):
3078 * alloc.c (tick_lcrecord_stats):
3079 * alloc.c (pure_string_sizeof):
3080 * alloc.c (mark_conses_in_list):
3081 * alloc.c (mark_object):
3082 * alloc.c (report_pure_usage):
3083 * alloc.c (make_pure_float):
3084 * alloc.c (make_pure_string):
3085 * alloc.c (free_managed_lcrecord):
3086 * alloc.c (mark_string):
3087 * alloc.c (noseeum_make_marker):
3088 * alloc.c (allocate_event):
3089 * alloc.c (Fbit_vector):
3090 * alloc.c (Fvector):
3091 * alloc.c (make_float):
3092 * alloc.c (Fmake_list):
3094 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3095 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3096 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3097 * alloc.c (dbg_constants):
3098 * alloc.c (gc_record_type_p):
3099 * alloc.c (free_lcrecord):
3100 * alloc.c (xmalloc):
3101 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3103 * Makefile.in.in (mostlyclean):
3104 * Makefile.in.in (external_client_xlib_objs_nonshared):
3105 * Makefile.in.in (temacs_link_args):
3106 * Makefile.in.in (release):
3107 * Makefile.in.in (dnd_objs):
3108 * Makefile.in.in (objs):
3109 * Makefile.in.in (PROGNAME):
3110 * EmacsShell.c: cast strings to (XtPointer)
3111 * EmacsFrame.c: cast strings to (XtPointer)
3113 - rewrite basic lisp functions for speed
3114 - rewrite bytecode interpreter for speed
3115 - rewrite list looping constructs for speed and safety using
3117 - use size_t where appropriate.
3118 - new hashtable implementation
3119 - cleanup implementation of opaques
3120 - opaques can now be purecopy'ed
3121 - move some cl functionality into C for speed.
3122 - remove last remaining VMS support
3124 - improve gdb/dbx debugger support
3125 - move pure.c back into alloc.c for performance
3126 - enable report_pure_usage() if --memory-usage-stats
3127 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3128 - don't use symbols with leading `_' or embedded `__'
3129 - globally cleanup duplicated semicolons `;;'
3130 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3132 - globally replace O_NDELAY with O_NONBLOCK.
3133 - globally replace CDISABLE with _POSIX_VDISABLE.
3134 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3135 - define (and maybe use!) STDERR_FILENO and friends.
3136 - add support for macros defined in C
3137 - `when', `unless', `not' and `defalias' now defined in C,
3138 so that they are universally available.
3139 - rename defvar_mumble to defvar_magic
3140 - rename RETURN__ to RETURN_SANS_WARNINGS
3141 - use consistent style of initial caps in error messages
3142 - implement last, butlast, nbutlast, copy-list in C.
3143 - provide typedefs for all struct Lisp_foo types
3144 - Lisp_Objects must be initialized to Qnil rather than 0.
3145 - make sure XEmacs runs (slowly) with always_gc == 1;
3146 - fast and safe LOOP_* macros
3147 - change calls to XSETOBJ to XSETFOO
3148 - replace calls to XSETINT by make_int()
3149 - plug up memory leaks
3150 - use style markobj (foo), not silly ((markobj) (foo))
3151 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3153 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3155 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3157 1998-11-28 SL Baur <steve@altair.xemacs.org>
3159 * XEmacs 21.2-beta4 is released.
3161 1998-11-27 SL Baur <steve@altair.xemacs.org>
3163 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3164 property in control-1 charset.
3165 From Julian Bradfield <jcb@daimi.au.dk>
3167 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3169 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3171 Add stub for :label.
3173 * gui.c (gui_item_add_keyval_pair): ditto.
3175 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3176 :key-sequence keyword.
3178 Support :active for submenus like the Windows code and FSF Emacs.
3180 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3182 * dired.c (make_directory_hash_table): make_string() is OK because
3183 readdir() Mule-encapsulates.
3185 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3187 * fns.c (Fbase64_encode_string): Fix docstring.
3188 (Fbase64_decode_string): Ditto.
3190 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3192 * editfns.c (Ftranslate_region): Use
3193 convert_bufbyte_string_into_emchar_string().
3195 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3197 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3199 (Ftranslate_region): Turn table into an array of Emchars for
3202 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3204 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3206 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3208 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3209 type `char' with nils.
3211 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3212 for tables of type `char'.
3214 1998-11-26 Didier Verna <verna@inf.enst.fr>
3216 * input-method-xlib.c (Initialize_Locale): don't call
3217 XtSetLanguageProc. We've done the whole work here.
3218 * input-method-xfs.c (Initialize_Locale): ditto.
3219 * input-method-motif.c (Initialize_Locale): ditto.
3221 1998-11-26 Didier Verna <verna@inf.enst.fr>
3223 * process-unix.c (unix_create_process): handle properly
3224 Vfile_name_coding_system for converting the program and directory
3227 1998-11-27 SL Baur <steve@altair.xemacs.org>
3229 * m/arm.h: New file.
3230 From James LewisMoss <dres@ioa.com>
3232 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3235 Fix the realpath() problem of UnixWare2.1.3.
3236 Patches for NEC's sysv4.2 machine.
3238 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3240 * dired.c (Fdirectory_files): Remove redundant code.
3242 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3244 * fns.c (free_malloced_ptr): New function.
3245 (XMALLOC_OR_ALLOCA): New macro.
3246 (XMALLOC_UNBIND): Ditto.
3247 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3248 to be freed in case of non-local exit.
3249 (Fbase64_encode_string): Ditto.
3250 (Fbase64_decode_region): Ditto.
3251 (Fbase64_decode_string): Ditto.
3252 (STORE_BYTE): New macro.
3253 (base64_decode_1): Use it.
3255 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3257 * fns.c (base64_value_to_char): Base64 stuff.
3259 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3261 * editfns.c (Fbuffer_substring): New function.
3263 * lisp.h: Declare make_string_from_buffer_no_extents().
3265 * insdel.c (make_string_from_buffer_1): New function.
3266 (make_string_from_buffer_no_extents): Ditto.
3268 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3270 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3271 sound work on AIX with OSS installed. Linux should still work.
3273 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3275 * config.h.in: name change for cygwin/version.h
3277 * configure.in: check for cygwin/version.h now.
3279 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3280 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3281 move cygwin32/version.h to cygwin/version.h
3283 1998-11-03 Olivier Galibert <galibert@pobox.com>
3285 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3288 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3290 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3291 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3292 enable BROKEN_SIGIO under b20 to make QUIT work.
3294 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3296 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3297 to fit within the constraints of the screen size. I.e. make the
3298 frame small enough to fit and move it if some of it will be
3301 1998-10-19 Greg Klanderman <greg@alphatech.com>
3303 * dired.c: conditionalize inclusion of user-name-completion
3304 primitives on non-Windows NT. The needed functions don't exist on NT.
3306 1998-11-24 SL Baur <steve@altair.xemacs.org>
3308 * gifrlib.h: Clean up types for 64 bit compile.
3309 * dgif_lib.c (DGifInitRead): Ditto.
3310 (MakeSavedImage): Ditto.
3311 * emacs.c (decode_path): Ditto.
3312 From Steve Carney <carney@pa.dec.com>
3314 1998-10-16 William M. Perry <wmperry@aventail.com>
3316 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3317 (cehckboxes instead of checkboxes).
3319 1998-10-15 SL Baur <steve@altair.xemacs.org>
3321 * XEmacs 21.2-beta3 is released.
3323 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3325 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3326 gnuclient. Otherwise, we run xemacs as we always did. This gets
3327 rid of the annoying DOS window when running gnuclient.
3329 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3331 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3332 HAVE_MS_WINDOWS typo.
3334 1998-10-13 SL Baur <steve@altair.xemacs.org>
3336 * process-unix.c (unix_send_process): Set closed flag on writable
3337 pipe after SIGPIPE is received and before we call deactivate_process.
3339 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3341 * window.c (Fset_window_start): respect narrowing when
3342 checking wheter start is at the beginning of a line.
3343 (Fset_window_buffer): Ditto
3344 Fixes repeatable crash in VM.
3346 1998-10-09 SL Baur <steve@altair.xemacs.org>
3348 * window.c (specifier_vars_of_window): Set default vertical
3349 divider width to 1 on ttys.
3351 1998-10-08 Martin Buchholz <martin@xemacs.org>
3356 Add <stddef.h> to get ptrdiff_t declaration
3358 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3360 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3361 is used for Motif or Lucid scrollbars under X.
3363 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3365 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3368 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3370 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3372 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3374 * s/cygwin32.h: more cygwin b20 reorganisation.
3376 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3378 * nas.c: Added necessary support functions to be able to handle
3379 WAVE files in memory, just like the support for SND files in
3382 1998-09-30 SL Baur <steve@altair.xemacs.org>
3384 * callproc.c (child_setup): Fix spelling typo.
3386 1998-09-29 SL Baur <steve@altair.xemacs.org>
3388 * XEmacs 21.2-beta2 is released.
3390 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3392 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3393 to prevent memory corruption in the case of jumping out of a series of
3394 nested match patterns. This is a rather brute force approach, though.
3396 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3398 * config.h.in: ditto.
3400 * s/cygwin32.h: rearrange declarations to cope with cygwin
3401 b20. Include cygwin32/version.h if it exists.
3403 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3405 * device-msw.c (mswindows_init_device): Call new
3406 mswindows_enumerate_fonts() function in objects-msw.c instead
3407 of font_enum_callback_1() to enumerate fonts.
3409 font_enum_callback_1() and _2() moved to objects-msw.c.
3411 * faces.c (complex_vars_of_faces): Make the mswindows default
3412 face font fully specified and provide some fallbacks.
3414 * objects-msw.c: font_enum_callback_1() and _2() moved here
3415 from objects-msw.c. Obtain the enumerated font's character
3416 sets by table lookup instead of using the locale-specific
3417 string provided by Windows.
3419 New public non-method mswindows_enumerate_fonts() that fills
3420 in the supplied mswindows device's font list.
3422 mswindows_initialize_font_instance: Use the supplied name
3423 variable instead of f->name when signalling errors. Match font
3424 weights and character sets using lookup tables which handle
3425 spaces instead of by frobbing.
3427 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3429 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3430 on the size of code fragments passed to run_in_other_process.
3432 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3433 the amount of memory to allocate in the other process.
3435 Removed sigkill_code_end(), sigint_code_end() and
3436 sig_enable_code_end() since they are now redundant.
3438 send_signal() and enable_child_signals(): Don't try to work
3439 out the end of the code fragments passed to
3440 run_in_other_process()
3442 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3444 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3447 * src/unexelf.c: Partially synched with FSF's 20.3.
3449 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3451 * insdel.c (signal_after_change): Map across indirect buffers
3452 here, and not in the upper-level functions.
3453 (signal_first_change): Don't check for Armageddon.
3454 (signal_before_change): Map across indirect buffers here.
3455 (prepare_to_modify_buffer): ...and here.
3457 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3459 * insdel.c (signal_after_change): Add return value.
3460 (buffer_insert_string_1): Use it.
3461 (buffer_delete_range): Ditto.
3462 (buffer_replace_char): Ditto.
3463 (cancel_multiple_change): Map the indirect buffers.
3465 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3467 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3468 (uninit_buffer_text): Ditto.
3470 * buffer.c (Fmake_indirect_buffer): Implement stricter
3473 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3475 * insdel.c (change_function_restore): Reverse order of
3476 function-call and assignment.
3477 (first_change_hook_restore): Ditto.
3479 * extents.c (mark_extent_auxiliary): Mark them.
3480 (Fset_extent_property): Set them.
3481 (Fextent_property): Get them.
3482 (Fextent_properties): Ditto.
3483 (vars_of_extents): Set their default.
3485 * extents.h (struct extent_auxiliary): Add before_change_functions
3486 and after_change_functions.
3488 * insdel.c (signal_before_change): Use it.
3489 (signal_after_change): Ditto.
3491 * extents.c (report_extent_modification): New function.
3493 * insdel.c (signal_before_change): Don't check for Armageddon.
3494 (signal_after_change): Ditto.
3496 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3498 * redisplay.c (redisplay_window): make sure a new starting point
3499 is chosen if it somehow got moved from the beginning of the line
3500 -- this can happen because Fwiden was called recently.
3502 * window.c (Fset_window_start): set start_at_line_beg correctly
3503 (Fset_window_buffer): Ditto
3505 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3507 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3508 (uninit_buffer_text): Ditto.
3510 * buffer.c (Fmake_indirect_buffer): Implement stricter
3513 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3515 * emacs.c (main_1): Removed references to *vars_of_filelock.
3517 * lisp.h: Added Fsystem_name.
3519 * filelock.c: Replaced by version from FSF 20.2. Now implements
3520 locking by using symlinks which is NFS safe. However keep the
3521 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3522 version (and of course use ansi C, acessor macros, etc).
3524 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3526 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3527 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3528 in init_signals_very_early. However these should not be passed
3529 on to children attached to the new pty.
3531 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3533 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3535 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3537 * fileio.c (file-name-directory, file_name_as_directory):
3538 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3540 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3542 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3544 * ralloc.c: uncomment __morecore.
3546 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3548 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3549 WriteFile() to fix a winsock 1.x bug on Win95.
3551 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3553 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3555 (x_event_to_emacs_event): Ditto.
3556 (emacs_Xt_handle_focus_event): Ditto.
3557 (emacs_Xt_handle_magic_event): Ditto.
3559 * console-x.h (struct x_device): New flag being_deleted.
3560 (DEVICE_X_BEING_DELETED): New macro.
3562 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3563 returning. Before doing that, set the being_deleted flag on the
3566 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3568 * device-x.c (x-seppuku-on-epipe): Removed.
3570 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3572 * frame-x.c (x_delete_frame): Flush the X output buffer after
3573 calling XtDestroyWidget to ensure that the windows are really
3576 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3578 * menubar-x.c (my_run_hook): New unused function.
3579 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3580 since we ignore the results of the contained functions anyway.
3582 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3584 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3585 interlaced GIF files that are smaller than 4 lines high...
3587 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3589 * buffer.c (map_over_sharing_buffers): Deleted.
3591 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3593 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3596 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3598 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3600 (buffer_delete_range): Ditto.
3602 * marker.c (init_buffer_markers): Set point-marker to the value of
3603 point in an indirect buffer.
3605 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3607 * undo.c (undo_prelude): Test last-undo-buffer against base
3610 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3612 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3614 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3616 * insdel.c (init_buffer_text): Initialize it here.
3618 * line-number.c: Address line_number_cache through buffer->text.
3620 * buffer.c (mark_buffer): Mark line number cache.
3622 * bufslots.h (line_number_cache): Move to struct buffer_text.
3624 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3625 across the children buffers.
3626 (buffer_delete_range): Ditto.
3627 (buffer_replace_char): Ditto.
3631 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3633 * buffer.c (Fmake_indirect_buffer): Uncomment.
3635 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3637 * macros.c (Fend_kbd_macro): Remove trailing period from error
3639 (Fexecute_kbd_macro): Ditto.
3641 1998-08-21 Greg Klanderman <greg@alphatech.com>
3643 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3644 (Fuser_name_completion_1): new function to return uniqueness
3645 indication in addition to the user name completion.
3646 (user_name_completion): change type of `uniq' argument.
3648 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3650 * lread.c (vars_of_lread): Removed `source-directory' variable.
3652 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3654 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3657 1998-08-19 SL Baur <steve@altair.xemacs.org>
3659 * dired.c (vars_of_dired): Fix misapplied patch.
3661 1998-08-16 Martin Buchholz <martin@xemacs.org>
3663 * fns.c (Fremrassq, remrassq_no_quit):
3664 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3666 1998-07-17 Didier Verna <verna@inf.enst.fr>
3668 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3669 style as foreground GC for faces that have the `dim' property.
3670 (x_output_string): when the `dim' face property is set,
3671 ensure the gray pixmap has been created, and get a proper
3672 foreground GC to draw the text.
3674 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3676 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3677 Manually track the state of the left and right Ctrl and Alt
3680 1998-08-07 Matt Stupple <matts@tibco.com>
3682 * ntproc.c: don't wait on char_consumed at thread entry.
3683 Additionally, to get the 'process' marked as finished, ensure
3684 that the CHILD_ACTIVE macro returns false, so before exiting
3685 close char_avail and set it to NULL, and close other handles
3686 to reduce handle leak problems.
3688 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3690 * menubar-msw.c (displayable_menu_item): take account of menu
3691 depth when deciding whether to try to display accelerators.
3693 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3695 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3698 * glyphs-msw.c: fix a couple of potential handle leaks.
3700 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3702 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3703 *decoding ONLY* back into the core.
3704 * glyphs-eimage.c: Change referenced header file for GIF
3705 reading to point to the incore version.
3707 1998-07-20 Martin Buchholz <martin@xemacs.org>
3709 * casefiddle.c (casify_object):
3710 Change algorithm from O(N**2) to O(N).
3714 1998-07-22 Greg Klanderman <greg@alphatech.com>
3716 * dired.c (file_name_completion_unwind): don't leak the cons.
3718 1998-07-20 Greg Klanderman <greg@alphatech.com>
3720 * dired.c (Fuser_name_completion): new function.
3721 (Fuser_name_all_completions): new function.
3722 (user_name_completion): new function.
3723 (syms_of_dired): 2 new DEFSUBRs.
3724 (vars_of_dired): initialize user name cache vars.
3726 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3728 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3729 colors taken from the default face. Also correct a thinko in
3730 transparency (not alpha) handling.
3732 1998-07-23 Martin Buchholz <martin@xemacs.org>
3734 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3735 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3736 * lread.c (Fload_internal): Be very careful with printfs of
3738 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3741 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3743 * callint.c (Fcall_interactively): GCPRO prompt string before
3744 passing it to Fread_key_sequence
3746 1998-07-27 SL Baur <steve@altair.xemacs.org>
3748 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3749 Vvertical_divider_map.
3751 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3752 Qnil or 0, none were initialized prior to this change.
3754 Rename misnamed `V' prefixed integer variables:
3755 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3756 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3757 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3758 Vcanna_ichiran_revLen.
3760 Rename misnamed `V' prefixed integer variables and initialize
3761 properly in the vars_of routine.
3762 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3763 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3764 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3765 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3766 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3767 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3768 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3769 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3770 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3771 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3772 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3773 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3774 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3775 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3776 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3777 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3778 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3779 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3780 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3781 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3782 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3783 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3784 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3785 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3786 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3787 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3788 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3789 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3790 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3791 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3792 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3793 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3794 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3795 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3796 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3797 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3798 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3799 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3800 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3801 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3802 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3803 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3804 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3805 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3806 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3807 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3809 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3811 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3812 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3813 keys thus no longer considering all keysyms on a key.
3815 1998-07-19 SL Baur <steve@altair.xemacs.org>
3817 * XEmacs 21.2-beta1 is released.
3819 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3821 * eldap.c (Fldap_search_internal): When converting the list of
3822 attributes to search Copy the final 0 from Lisp strings to C
3824 Check base, not Vldap_default_base as a a string
3826 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3828 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3830 * unexnt.c: Unconditionally define bss_start and bss_size, and
3831 ensure that they don't go in the .bss section.
3833 1998-07-17 Olivier Galibert <galibert@pobox.com>
3835 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3836 byte order is dependant of the local byte order).
3837 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3839 1998-07-18 SL Baur <steve@altair.xemacs.org>
3841 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3842 Qmswindows_resource.
3843 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3845 1998-07-12 SL Baur <steve@altair.xemacs.org>
3847 * general.c (syms_of_general): Add defsymbol for Qresource.
3849 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3850 Qmswindows_resource.
3851 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3852 (mswindows_resource_validate): Rename.
3853 (mswindows_resource_normalize): Rename.
3854 (mswindows_resource_possible_dest_types): Rename.
3855 (mswindows_resource_instantiate): Rename.
3856 (image_instantiator_format_create_glyphs_mswindows): Replace
3857 `resource' with `mswindows.resource'.
3859 * XEmacs 21.0-pre5 is released.
3861 1998-07-10 SL Baur <steve@altair.xemacs.org>
3863 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3864 server type in environment.
3865 Use alloca-ed strings instead of tiny fixed size ones.
3867 1998-07-09 SL Baur <steve@altair.xemacs.org>
3869 * XEmacs 21.0-pre4 is released.
3871 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3873 * fileio.c: (expand_file_name): under win32: Don't treat names
3874 as UNC names if a drive letter has been specified. If a drive
3875 has been specified, strip out extra directory-seperators that
3876 reportedly cause problems under Win95.
3878 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3880 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3881 MSVC >= 5.0. Put emacs init and zero-init data in a special
3882 section of the executable when this is defined.
3884 * unexnt.c, ntheap.h:
3885 Removed unused find_section() and get_section_size().
3888 Fix up the executable's checksum after dumping otherwise the
3890 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3891 zero-init data separately from init data. Dump emacs data
3892 into a special section of the executable.
3893 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3894 my_ebss instead of up to the end of bss.
3896 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3898 * filelock.c: Removed Vconfigure_lock_directory - already
3901 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3902 defined in frame.c and general.c respectively.
3904 * glyphs-msw.c: Removed Qresource - already defined in
3907 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3909 * eldap.c (Fldap_search_internal): Docstring fixes
3911 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3913 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3914 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3915 EMACSPACKAGEPATH and INFOPATH variables.
3916 Removed unused get_emacs_configuration function.
3918 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3919 it is now defined at build-time by the makefile.
3921 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3923 * fileio.c: (expand_file_name): under win32: Don't treat names as
3924 UNC names if a drive letter has been specified. If a drive has
3925 been specified, strip out extra directory-seperators that
3926 reportedly cause problems under Win95.
3928 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3930 * faces.c (complex_vars_of_faces): for the gui-element face don't
3931 fallback to the default face, instead provide reasonable default
3932 fallbacks that were previously hardcoded elsewhere.
3934 1998-07-06 Olivier Galibert <galibert@pobox.com>
3936 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3937 when the X server endianness is different than the client's one.
3939 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3941 * eval.c (run_hook_with_args_in_buffer): Check
3942 default (non-buffer-local) value of hook for
3943 nil before treating it as a function. Don't initialize
3944 the `globals' variable twice.
3946 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3948 * fileio.c: Don't do directory seperator canonicalisation in
3949 substitute-in-file-name because we don't know that the
3950 filename refers to a local file.
3952 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3954 * process-nt.c (nt_create_process): Try appending the standard
3955 executable file extensions to the filename if none supplied.
3957 1998-06-29 SL Baur <steve@altair.xemacs.org>
3959 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3961 From Keisuke Mori <ksk@ntts.com>
3963 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3965 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3966 images if we have masks. This handles the xbm case (have masks)
3967 and avoids overuse of resources in the xpm case (generally no masks).
3968 Don't output small toolbars.
3970 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3972 * eval.c (run_hook_with_args_in_buffer): Don't treat
3973 the default value of a buffer local hook as a list of
3974 hooks unless it is both a cons and the car of that cons
3977 1998-06-29 SL Baur <steve@altair.xemacs.org>
3979 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3980 * process-unix.c: Ditto.
3981 * mule-coding.h: Ditto.
3982 * mule-coding.c: Ditto.
3983 * mule-charset.c: Ditto.
3984 * mule-charset.h: Ditto.
3985 * file-coding.c: Ditto.
3986 * file-coding.h: Ditto.
3988 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3990 * event-msw.c: Guard against recursion when freeing
3991 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3993 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3994 Call ShowWindow twice in init_frame_3 to get round runemacs
3997 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3999 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4001 * winslots.h: Rename.
4003 * window.c (specifier_vars_of_window): Renamed
4004 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4005 as suggested by Ben Wing.
4006 (specifier_vars_of_window): Fix docstrings.
4008 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4010 * unexaix.c: Line number information works correctly again.
4012 1998-06-22 Olivier Galibert <galibert@pobox.com>
4014 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4016 1998-06-21 Martin Buchholz <martin@xemacs.org>
4018 * editfns.c (get_home_directory): ANSIfy.
4019 XEmacs is compilable under C *and* C++.
4020 It's XEmacs, not Xemacs!
4022 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4024 * console-msw.h: added a list of fonts to device data.
4026 * device-msw.c: enumerate list of available fonts in
4027 mswindows_init_device. Free list in mswindows_delete_device.
4029 * objects-msw.c: Added helper function match_font used by
4030 mswindows_initialize_font_instance and mswindows_list_fonts.
4031 Allow a charset to be specified in a font string, even if
4032 previous fields havn't been specified.
4034 1998-06-23 Greg Klanderman <greg@alphatech.com>
4036 * indent.c (column_at_point): column cache bugfix.
4037 Set last_known_column_point to the buffer position for
4038 which the column was requested, not buffer's point.
4040 * redisplay.c (decode_mode_spec): for current-column, show
4041 window's point's column, not buffer's point's column.
4043 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4045 * menubar-msw.c (mswindows_handle_wm_command): use
4046 enqueue_misc_user event rather than
4047 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4050 * console-msw.h: declare mswindows_enqueue_magic_event.
4052 * event-msw.c (mswindows_enqueue_magic_event): make global.
4054 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4056 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4057 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4058 (add_position_to_cache): Use EMACS_INT instead of int.
4060 1998-06-21 Olivier Galibert <galibert@pobox.com>
4062 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4063 suitable for an int used as a boolean (btw, C sucks.).
4065 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4067 * object-msw.c: remove warnings.
4069 * device-msw.c: #define wrongly named cygwin structure elements.
4071 * s/cygwin32.h: define DEMI_BOLD
4073 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4075 * redisplay-msw.c: new function mswindows_apply_face_effects.
4076 This is called by output_string and output_cursor to display
4077 underline and strikeout on faces.
4079 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4081 * console-msw.h: added a list of fonts to device data.
4083 * device-msw.c: enumerate list of available fonts in
4084 mswindows_init_device. Free list in mswindows_delete_device.
4086 * objects-msw.c: Added helper function match_font used by
4087 mswindows_initialize_font_instance and mswindows_list_fonts.
4088 Allow a charset to be specified in a font string, even if
4089 previous fields havn't been specified.
4091 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4094 Removed compilation warnings from mswindows_string_to_color.
4095 mswindows_list_fonts returns a more general bogus font.
4096 New lisp-visible function mswindows-color-list.
4098 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4100 * editfns.c (Fuser_login_name): Modify to user new function
4102 (user_login_name): C only function to avoid Lisp object overhead
4103 Returns "unknown" instead of nil in Cygwin environment
4105 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4106 equivalent for current user in Cygwin environment. Use new
4107 function user_login_name to get username.
4109 * lisp.h: Declare user_login_name
4111 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4113 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4115 Some other insignificant nitpicks.
4117 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4119 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4120 creating the image list and make sure he bk color is transparent.
4122 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4124 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4125 completed_timeouts. The timer could have expired.
4127 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4129 * console-msw.h: move XEMACS_RECT_WH inside frame
4130 parameters. define macors to access it.
4132 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4133 parameter to intialise desired sizing. (mswindows_init_frame_2):
4134 enable and size the frame to something sensible when we get
4135 here. (mswindows_set_frame_properites): use new
4136 mswindows_size_frame_internal function and size frame if frame
4137 parameters not just if init is finished - WM_SIZE happens too
4138 early for some specs. (mswindows_size_frame_internal): new
4139 function abstracted from mswindows_set_frame_properties.
4140 (Vmswindows_use_system_frame_size_defaults):
4141 new variable controls whether to allow the system to pick frame
4142 size defaults, defaults to nil.
4144 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4145 than duplicated code.
4147 1998-06-15 Colin Rafferty <colin@xemacs.org>
4149 * Makefile.in.in: Made EXTW_LINK expand properly.
4151 1998-06-12 Martin Buchholz <martin@xemacs.org>
4153 * redisplay.c (vars_of_redisplay): default value of
4154 column-number-start-at-one should be NIL!
4156 1998-06-11 Martin Buchholz <martin@xemacs.org>
4159 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4161 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4163 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4164 build_string to avoid crashes under Mule.
4166 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4168 * ntplay.c (play_sound_data_1): don't delete the sound data until
4169 the next sound is played and the previous one finished.
4171 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4173 * fileio.c (directory-sep-char): Escape backslashes.
4175 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4177 * event-stream.c: Fix docstring reference.
4179 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4181 * alloc.c (make_float): Remove useless initialization of `next'
4183 (make_pure_float): Ditto.
4185 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4187 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4189 * fileio.c (Fmake_directory_internal): Remove conditionals
4190 on WINDOWSNT when calling mkdir.
4192 * ntproc.c: Deleted the following unused functions:
4193 register_child, reap_subprocess, sys_wait.
4195 * nt.c (sys_rename): Ifzeroed this implementation.
4196 Deleted the following unused functions:
4197 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4198 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4199 sys_read, sys_write.
4200 Merger sys_fopen and sys_open with sysdep.c implementation.
4202 * sysdep.c: Removed MS-DOS code.
4203 (sys_rename): Deal with Microsoft rename weirdness.
4204 (sys_open): Implemented for Windows.
4208 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4210 * buffer.c (complex_vars_of_buffer): Removed %t description from
4213 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4215 * scrollbar-msw.c: initialize the cbSize element of the
4216 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4217 to ignore the value of cbSize, but Win95 (and I presume Win98)
4218 appear to want it set to sizeof(SCROLLINFO).
4220 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4222 * event-stream.c: Defined Qcancel_mode_internal.
4223 (syms_of_event_stream): defsymbol'ed it.
4225 * events.h: Externed it.
4227 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4229 1998-06-04 Oliver Graf <ograf@fga.de>
4231 * frame-x.c (x_cde_destroy_callback): free the data
4232 (cde-start-drag-internal) corrected root position, 21.1 needs this
4233 hardcoded in Button events
4234 (offix-start-drag-internal) corrected root position
4236 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4238 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4241 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4243 * dialog-msw.c (button_width): Removed `inline' from the function
4246 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4248 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4249 Note that adding this flag to subsequent frames causes problems.
4251 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4253 * glyphs-eimage.c (png_instantiate) move 'struct
4254 png_memory_storage tbr' out of nested block to avoid dangling
4257 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4260 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4261 inherits from gui-element.
4263 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4264 with existing code, generate masks correctly.
4266 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4268 * glyphs-eimage.c: Changed included header for gifs to use
4269 Gifreader instead of giflib.
4271 * glyphs-x.c: removed the image-related functions that were
4272 moved into glyphs-eimage.
4274 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4276 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4277 if built without X Windows support.
4279 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4281 * fns.c (Fconcat): Synch docstring with new reality.
4283 1998-06-03 SL Baur <steve@altair.xemacs.org>
4285 * frame.c: Remove reference to msdos.h (which is going away).
4286 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4288 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4290 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4294 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4296 * events.h: Fixed commentary about misc-user scrollbar events.
4298 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4299 object as an event channel, instead of window object.
4300 (x_update_horizontal_scrollbar_callback): Ditto.
4302 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4304 * ntplay.c (play_sound_data_1) new function. convert alloca data
4305 to malloc if necessary.
4306 (play_sound_file): if the file is not in our path then convert to
4309 1998-06-01 SL Baur <steve@altair.xemacs.org>
4311 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4312 * msdos.c (Frecent_doskeys): Ditto.
4314 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4315 Suggested by Reggie Perry <perry@zso.dec.com>
4317 * buffer.h: Eliminate size in declaration.
4319 1998-06-01 Olivier Galibert <galibert@pobox.com>
4321 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4323 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4325 * gui.c (gui_item_init): Changed the default value for config member
4326 from Qunbound to Qnil.
4328 1998-06-01 Greg Klanderman <greg@alphatech.com>
4330 * indent.c (vmotion_pixels): Don't #define abs().
4332 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4334 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4337 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4339 * glyphs.h: add xbm declarations.
4341 * console.h: add xbm_instantiate_method device method.
4343 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4344 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4345 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4346 locate_pixmap_file device method and read_bitmap_data_from_file
4347 instead of XmuReadBitmapDataFromFile.
4348 (xbm_instatntiate): make a device method.
4350 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4351 new function that just calls XmuReadBitmapDataFromFile.
4352 (x_xbm_instatntiate): device method from xbm_instantiate.
4354 * glyphs-msw.c (read_bitmap_data) (NextInt)
4355 (read_bitmap_data_from_file): new functions copied from Xmu
4357 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4358 inline data to an mswindows bitmap.
4359 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4360 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4363 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4365 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4366 `modeline-visible-p'.
4367 Declared specifier lisp variables at the beginning oh the file
4370 * procimpl.h (struct process_methods): Changed semantics of
4371 create_process method so it accepts lisp strings instead of
4374 * process.c (Fstart_process_internal): Moved building of
4375 unix style argv from here to process-unix.c, ...
4377 * process-unix.c (unix_create_process): ... right here.
4379 * process-nt.c (nt_create_process): Changed this function to
4380 support new semantics, so avoided a GC problem.
4382 * events.c (Fmake_event): Document misc-user events properties.
4383 (Fmake_event): Do not allow arbitrary objects for channel property
4384 of misc-user events.
4385 (Fmake_event): Change misc-user event validation: it is function
4386 which is required, not button.
4388 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4390 (mswindows_enqueue_misc_user_event): Added function.
4391 (mswindows_bump_queue): Removed function.
4392 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4393 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4394 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4395 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4396 really nothing, which is my personal favorite thing.
4398 * console-msw.h: Removed prototype for mswindows_bump_queue().
4399 Added prototype for mswindows_enqueue_misc_user_event().
4401 * menubar-msw.c (mswindows_handle_wm_command): Use
4402 mswindows_enqueue_misc_user_event().
4404 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4406 * dialog-msw.c (dialog_proc): Ditto.
4408 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4409 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4410 user events channel.
4412 1998-05-29 Greg Klanderman <greg@alphatech.com>
4414 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4415 incorrect semantics of vmotion_pixels which has been fixed. don't
4416 use it anymore as it can't easily be used.
4418 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4419 the motion was reported incorrectly if you tried to go past end of
4422 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4424 * toolbar.h: Removed misleading commentary, as Martin suggested.
4426 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4428 * lisp.h: Extern Qactivate_menubar_hook.
4430 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4433 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4435 * glyphs-msw.c: use BPLINE macro.
4437 * select-msw.c (mswindows-selection-exists-p)
4438 (mswindows-delete-selection): doc string fixes.
4440 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4441 unpressable. warning elimination.
4443 1998-05-28 Martin Buchholz <martin@xemacs.org>
4445 * alloc.c (dbg_constants):
4448 Remove toolbar_data debugging code, since that lrecord has
4451 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4453 * alloc.c: zap cached value of (user-home-directory), so that
4456 * buffer.c: From init_buffer(), separated out code that
4457 determined the initial directory for the *scratch* buffer, and
4458 put them into a function called "init_initial_directory()".
4459 The initial directory is now available as a global "char *"
4460 called initial_directory.
4462 * buffer.h: Added extern entries for initial_directory[] and
4463 init_initial_directory().
4465 * editfns.c: added new elisp function "user-home-directory",
4466 which basically returns getenv("HOME"), but attempts to use
4467 other values if $HOME isn't set.This may have to be tweaked in
4468 the future as, under Unix, "/" is used if $HOME isn't set (this
4469 probably should be set to the current directory). To support
4470 this, a new C function, "get_home_directory()", now exists,
4471 which returns the "home directory", as a "char *" string.
4473 * emacs.c: Rearrange NT initialization order so that
4474 environment/registry variables will be properly entered into
4475 Vprocess_enviroment.
4477 * fileio.c: replaced egetenv("HOME") with calls to the new
4478 get_home_directory().
4480 * lisp.h: Added function prototypes for uncache_home_directory()
4481 and get_home_directory(), along with lisp prototypes for
4482 Fuser_home_directory() and friends.
4484 * nt.c: replaced getenv("HOME") with calls to the new
4485 get_home_directory().
4487 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4488 warnings about getcwd(), etc. not having prototypes.
4490 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4492 * process-nt.c (send_signal): Emulate SIGHUP.
4493 (validate_signal_number): Ditto.
4495 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4496 remove MOD_SHIFT from ASCII characters.
4497 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4500 1998-05-24 Oliver Graf <ograf@fga.de>
4502 * frame-x.c (cde-start-drag-internal): added filename and multi-
4504 (x_cde_convert_callback) dito
4506 1998-05-26 Oliver Graf <ograf@fga.de>
4508 * frame-x.c: include event-mod.h also with CDE
4509 (x_cde_convert_callback) made the thing working
4510 (cde-start-drag-internal) also debugging
4512 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4519 - add __OpenBSD__ where __NetBSD__ was found.
4520 - TODO: replace platform-specific conditional compilation by
4521 feature tests in configure.in.
4523 1998-05-15 Greg Klanderman <greg@alphatech.com>
4525 * window.c (Fwindow_displayed_text_pixel_height): New function.
4526 (syms_of_window): DEFSUBR it.
4528 * indent.c (Fvertical_motion_pixels): New function - request
4530 (vmotion_pixels): helper.
4531 (syms_of_indent): DEFSUBR.
4532 * lisp.h: declaration for vmotion_pixels().
4534 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4535 to request returning motion in pixels.
4536 (Fvertical_motion_pixels): Remove, functionality merged into
4538 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4539 (Fmove_to_window_line): ditto.
4540 * lisp.h: Change declaration for Fvertical_motion.
4542 * window.c: rename window-text-pixel-{height,width,edges} to
4543 window-text-area-pixel-*.
4545 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4547 * tooltalk.c (vars_of_tooltalk) added staticpro for
4548 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4550 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4552 * faces.c: create a new 3d_object_face, make modeline and
4553 vertical_divider faces fallback to this rather than the default.
4555 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4557 * s/cygwin32.h: define charsets for cygwin.
4559 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4561 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4562 and coordinates. resize bitmaps if we have already settled on a
4565 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4567 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4569 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4571 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4575 * gui-x.c (popup_selection_callback): Ditto.
4577 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4579 * gui.c (get_callback): Renamed to get_gui_callback.
4581 1998-05-17 Martin Buchholz <martin@xemacs.org>
4583 * glyphs.h: order rearrangement.
4585 * device-tty.c (tty_asynch_device_change): Warning suppression.
4586 * device-x.c (x_device_system_metrics): Warning suppression.
4587 Make Doc strings consistent with coding standards.
4589 1998-05-24 Martin Buchholz <martin@xemacs.org>
4591 * general.c: multiple definition of `Qicon'. general.c seems
4592 like a good home for Qicon.
4594 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4596 * This patch is to fix compilation warnings under Windows.
4598 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4599 Added prototypes for FSF inherited functions, with which XEmacs is
4600 sprinkled thoroughly.
4601 Removed some #if 0 code. Bracketed some more definitions, probably
4602 related to Visual C versions prior to 4 (we do not support them).
4604 * sysfloat.h (logb): Finally, get logb() prototyped.
4606 * sysfile.h: Added Windows specific includes.
4607 Removed old Windows specific code bracketed with #if 0.
4609 * sysdep.h: Added prototype for xrealpath().
4611 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4613 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4614 vars_of_dired_mswindows and init_ntproc (Grrr).
4616 * realpath.c: Added Windows specific include files.
4617 (xrealpath): Conditionalized declaration of some auto variables on
4618 S_IFLNK, to avoid warnings.
4620 * ntproc.c: Disabled some compiler warnings. This file is going to
4621 die, so I have not cleaned it up much.
4622 (set_process_dir): Const parameter.
4623 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4624 (Fwin32_long_file_name): Ditto.
4625 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4628 * nt.h: Added prototypes for set_process_dir and convert_time.
4630 * nt.c: More include files.
4631 (getpwnam): Consted char* argument.
4632 (get_emacs_configuration): Const return value.
4633 (opendir): Const argument.
4634 (stat): Casted converstion long->short.
4635 (stat): Removed ad hoc and questionable support for non-MSC compile.
4636 (sys_pipe): Removed unused auto variable.
4637 (_sys_read_ahead): Removed calls to DebPrint.
4638 (sys_read): Ditto, in 2 places.
4639 (term_ntproc): Added unused int parameter to signal handler, to
4640 avoid a warning when compiling a call to signal().
4641 (msw_sigset): Properly return old signandler or NULL instead of void.
4643 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4645 * gmalloc.c (morecore): Ditto.
4646 (_free_internal): Ditto.
4648 * lread.c (parse_integer): Ditto.
4650 * dired-msw.c: Added several include files.
4652 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4653 of Compilers to Shut Up.
4655 * callproc.c: Added #includes to suppress warnings under Windows.
4656 (init_callproc): Removed #if0'ed code and unused variables.
4658 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4660 * device-msw.c (mswindows_device_system_metrics): do planes in a
4661 way consistent with X.
4663 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4664 use SetPixel, use DIBits functions.
4665 (xpm_to_eimage): frob colors more closely like xpm deos.
4667 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4668 to be closer to X version.
4670 * event-msw.c: use tooltip string directly.
4672 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4674 * objects-msw.c: frob rgb colors that only Kyle uses.
4676 * dialog-msw.c (button_width): INLINE -> inline.
4678 1998-05-23 SL Baur <steve@altair.xemacs.org>
4680 * getloadavg.c (getloadavg): Fix typo.
4682 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4684 * objects-msw.c (mswindows_initialize_font_instance): Added support
4685 for font character sets.
4686 Replaced 'XXX' with '####' in comments throughout the file.
4688 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4690 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4691 console_type_create_dialog_mswindows(), to initialize Windows dialog
4694 * symsinit.h: Prototyped the above functions.
4696 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4697 checks to dialog.c...
4699 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4700 device must support dialog boxes, and the descriptor must supply at
4703 * dialog-msw.c: New file, dialogs for Windows.
4705 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4707 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4708 (Fldap_search_internal): Removed unused variable `err'
4710 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4713 1998-05-17 Martin Buchholz <martin@xemacs.org>
4715 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4716 defined. Therefore there is no need to handle the case when
4717 HAVE_LDAP is undefined. Similarily, there is no reason to have
4718 any code wrapped within `#ifdef emacs', since this code is only
4719 useful within an emacs. This simplifies the code significantly.
4721 * inline.c: Include eldap.h only if HAVE_LDAP.
4722 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4725 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4727 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4728 printing dump stats when building without DEBUG_XEMACS.
4729 (dump_bss_and_heap): Ditto.
4731 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4733 * gnuclient.c: don't suppress window system if there is no display
4734 and we are running under mswindows. send 'mswindows device type if
4735 we are in this situation.
4737 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4740 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4742 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4745 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4747 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4748 {top,bottom}-{left,right} values in addition to
4749 {top,bottom}_{left,right}.
4751 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4753 * fileio.c (Fmake_temp_name): Remove unreached code.
4755 * process-nt.c (validate_signal_number): Use
4756 signal_simple_error().
4758 1998-05-19 Martin Buchholz <martin@xemacs.org>
4761 * sound.c (vars_of_sound):
4762 * sysdep.c (reset_sigio_on_device):
4763 * window.c (window_bottom_gutter_height):
4764 unexhp9k800.c:258: warning: implicit declaration of function
4765 `calculate_checksum'
4766 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4767 sysdep.c:1012: warning: unused variable `owner'
4768 window.c:993: warning: `window_right_toolbar_width' defined but not used
4770 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4772 * glyphs-msw.c (mswindows_create_resized_mask)
4773 (mswindows_create_resized_bitmap): new funnctions split out from
4774 mswindows_resize_dibitmap_instance.
4776 * glyphs-msw.h: declare new resize functions.
4778 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4779 functions so that the original bitmaps are preserved.
4781 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4783 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4784 color if we are trying to output 0 depth bg pixmap.
4786 * scrollbar-msw.c: warning elimination.
4788 1998-05-18 Martin Buchholz <martin@xemacs.org>
4790 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4791 directives in column 1.
4793 * search.c (skip_chars): Avoid using xzero with arrays, since some
4794 compilers get confused by the construct &array.
4796 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4799 * objects-msw.c: Changed the charset value for a new font from
4800 "don't care" to "ansi".
4802 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4804 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4806 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4807 modifier on control chars.
4808 Use IsCharAlpha() instead of isaplha().
4810 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4812 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4814 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4816 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4817 charset when creating font.
4818 (mswindows_initialize_color_instance): Do not create brush along
4820 (mswindows_finalize_color_instance): Do not delete it then.
4822 * objects-msw.h (struct mswindows_color_instance_data): Removed
4823 brush slot, and corresponding accessor macro.
4825 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4827 * toolbar.c: Removed toolbar_data lrecord implementation.
4828 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4829 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4830 (compute_frame_toolbar_buttons): Ditto.
4831 (CHECK_TOOLBAR): Ditto.
4832 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4833 (update_frame_toolbars): Do not check for changed buffer
4834 here. Toolbar information is provided by cached specs in
4835 windows. The check for buffer is eliminated becuase toolbars are
4836 marked changed in set_frame_selected_window() in frame.c
4837 Added check for changed toolbars geometry.
4838 (compute_frame_toolbars_data): Removed unused second parameter;
4839 Adjusted callers of this static function throughout the file.
4840 (init_frame_toolbars): Initialize current_toolbar_size.
4841 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4842 what is its current expansion, for clarity.
4843 (init_frame_toolbars): Ditto.
4844 (init_device_toolbars): Ditto.
4845 (init_global_toolbars): Ditto.
4847 * toolbar.h: Removed definition of toolbar_data lrecord.
4848 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4849 FRAME_CURRENT_TOOLBAR_SIZE.
4850 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4852 * toolbar-x.c (x_output_toolbar): The same change as in
4854 (x_output_toolbar): Ditto.
4855 (x_redraw_exposed_toolbar): Ditto.
4857 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4858 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4859 (mswindows_output_toolbar): Ditto.
4860 (mswindows_output_toolbar): Ditto.
4862 * frame.c (mark_frame): Removed marking of arrays, according to
4863 frameslots.h change.
4864 (nuke_all_frame_slots): Ditto.
4865 (set_frame_selected_window): Mark toolbars changed when
4866 last_nonminibuf_window changes.
4868 * frame.h (struct frame): Moved some slots to frameslots.h.
4869 Added current_toolbar_size array.
4870 Changed references from toolbar_data to toolbar_buttons in macros
4871 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4872 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4873 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4875 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4876 Moved arrays of lisp objects here from frame.h: toolbar_size,
4877 toolbar_visible_p, toolbar_border_width.
4878 Removed toolbar_data slot and added toolbar_buttons.
4880 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4882 * symsinit.h: Externed syms_of_process_nt()
4884 * emacs.c (main_1): Call syms_of_process_nt()
4886 * process-nt.c: Quote process arguments by a call to Lisp function
4887 `nt-quote-process-args'.
4888 (syms_of_process_nt): New function.
4889 (nt_send_process): Flush data stream after each write, to avoid
4890 leaving buffered data.
4891 (nt_send_process): When blocked on process output, wait for
4892 process to slurp more for progressively increasing time intervals.
4894 1998-05-17 Martin Buchholz <martin@xemacs.org>
4896 * window.c (have_undivided_common_edge): Make file-local function
4898 (map_windows): Return 0 if all map functions successful.
4901 * winslots.h: Use unlikely names for local variables in macros to
4902 avoid shadowing warnings.
4904 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4906 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4907 so that we re-output if the toolbar size has changed.
4909 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4911 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4913 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4915 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4918 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4920 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4921 get bitmap manifest constants defined.
4923 * console-msw.h: Include system files in angle brackets, not in
4926 * window.c (specifier_vars_of_window): Fixed a typo in
4927 `vertical-divider-line-width' docstirng.
4929 1998-05-16 Olivier Galibert <galibert@pobox.com>
4931 * line-number.c (delete_invalidate_line_number_cache): Use an
4933 (buffer_line_number): Remove dangerous, plain wrong when using
4934 64bits emacs ints, cast.
4936 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4938 * cmds.c (Fforward_line): Use EMACS_INTs.
4940 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4941 (scan_buffer): Ditto.
4942 (bi_find_next_newline_no_quit): Remove useless cast.
4943 (find_next_newline_no_quit): Ditto.
4944 (find_next_newline): Ditto.
4945 (find_before_next_newline): Use an EMACS_INT.
4947 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4949 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4951 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4953 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4955 * gui-x.c (popup_selection_callback): Use it.
4957 * gui.h (get_callback): Declare it.
4959 * gui.c (get_callback): New function.
4961 1998-05-15 SL Baur <steve@altair.xemacs.org>
4963 * window.c (have_undivided_common_edge): Guard scrollbar specific
4965 (window_needs_vertical_divider_1): Ditto.
4967 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4969 * emacs.c (decode_path): Eliminate compiler warning.
4970 (Fdecode_path): Renamed to Fsplit_path.
4971 (Fsplit_string_by_char): New function.
4973 1998-05-14 Damon Lipparelli <lipp@primus.com>
4975 * winslots.h: close comment
4977 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4979 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4981 * bufslots.h: Removed buffer_file_type slot.
4983 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4985 (complex_vars_of_buffer): Removed buffer-file-type variable and
4986 its default reference.
4988 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4990 * faces.c (complex_vars_of_faces): Defined
4991 Vvertical_divider_face.
4992 (vars_of_faces): Staticpro it.
4994 * faces.h: Externed Vvertical_divider_face.
4996 * redisplay-x.c (x_output_vertical_divider): Use
4997 Vvertical_divider_face to draw the divider instead of modeline
5000 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5001 divider face using Vvertical_divider_face background.
5002 Fix drawing spacing gaps around the divider.
5004 1998-05-14 Didier Verna <verna@inf.enst.fr>
5006 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5007 values for the vertical divider line width and spacing. Use the
5008 cached values from the window structure instead.
5009 (x_divider_width): ditto.
5011 * window.c (specifier_vars_of_window): new specifiers:
5012 vertical-divier -line-width and -spacing.
5013 (vertical_divider_global_width_changed): formerly known as
5014 vertical_divider_shadow_thickness_changed.
5016 * winslots.h: new slots: vertical_specifier _line_width and
5017 _spacing. Plus corrected a comment typo.
5019 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5021 * window.h: Declared window_divider_width().
5023 * console-stream.c (stream_divider_width): Removed method.
5024 (console_type_create_stream): And declaration for it.
5026 * redisplay.c (pixel_to_glyph_translation): Use
5027 window_divider_width() instead of divider_width redisplay method.
5028 (pixel_to_glyph_translation): Fix top divider edge calculation
5029 when scrollbar is on top.
5031 * window.c (window_divider_width): New function, an outphaser for
5032 divider_width redisplay method.
5033 (window_right_gutter_width): Use it.
5034 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5035 specifiers, set fallback values differently on TTYs, and document
5036 the behavior of these on TTYs in the docstrings.
5038 * scrollbar.c (update_scrollbar_instance): Use
5039 window_divider_width() instead of divider_width redisplay method.
5041 * console.h (struct console_methods): Removed divider_width_method.
5043 * redisplay-tty.c (tty_divider_width): Removed device method.
5044 (console_type_create_redisplay_tty): Removed definition for it.
5045 (tty_output_vertical_divider): Respect the value returned by
5046 window_divider_width thus divider line width specification.
5048 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5049 (console_type_create_redisplay_mswindows): Removed definition for it.
5050 (mswinodws_output_vertical_divider): Respect the value returned by
5051 window_divider_width thus divider line width specification.
5053 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5055 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5057 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5059 * glyphs-msw.c: resource loading implementation.
5060 (cursor_normalize): new function.
5061 (cursor_validate): ditto.
5062 (cursor_instantiate): ditto.
5063 (cursor_name_to_resource): ditto.
5064 (cursor_possible_dest_types): ditto.
5065 (check_valid_symbol): ditto.
5066 (check_valid_string_or_int): ditto.
5068 1998-05-14 Martin Buchholz <martin@xemacs.org>
5070 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5073 * process-unix.c (process_signal_char): Use VSUSP instead of
5074 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5076 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5078 * specifier.c (specifier_instance): Change locale precedence of
5079 instantiation so window locale has higher priority than buffer
5081 (Fspecifier_instance): Reflect this in docstring.
5082 (Fadd_spec_list_to_specifier): Ditto.
5083 (Fadd_spec_to_specifier): Ditto.
5084 (Fremove_specifier): Ditto.
5086 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5088 ** Dialog separation into a device method from Andy Piper
5090 * emacs.c (main_1): Call console_type_create_dialog_x().
5092 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5093 into this device method.
5094 (console_type_create_dialog_x): New function.
5096 * dialog.c (Fpopup_dialog_box): New function.
5097 (syms_of_dialog): Defsubr it.
5099 * console.h (struct console_methods): Declared
5100 popup_dialog_box_method().
5102 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5104 1998-05-14 Oliver Graf <ograf@fga.de>
5106 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5107 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5109 1998-05-13 Oliver Graf <ograf@fga.de>
5111 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5113 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5115 * console.h (device_metrics): Removed dbcs, input-method-editor
5116 and right-to-left metrics.
5118 * device.c (Fdevice_system_metric): Ditto.
5119 (Fdevice_system_metrics): Ditto.
5120 (syms_of_device): Ditto.
5121 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5124 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5126 * line-number.h (mark_line_number_cache): Remove unused
5129 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5130 (get_nearest_line_number): Simplify.
5131 (add_position_to_cache): Make the old marker point nowhere.
5133 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5135 ** Renamed window-divider-map => vertical-divider-map
5136 and event-over-divider-p => event-over-vertical-divider-p,
5137 in the following files/functions:
5139 * events.c (Fevent_over_divider_p):
5140 * keymap.c (get_relevant_keymaps):
5143 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5145 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5147 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5149 * window.c (vertical_divider_changed_in_window): Renamed so.
5150 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5151 (window_needs_vertical_divider_1): Decide whether we need it based
5152 on the value of the above specifier. If separators are unwanted,
5153 put them only if there's no scrollbar between this window and its
5155 (have_undivided_common_edge): New function, helper for the above.
5156 (window_needs_vertical_divider): Return either a cached value,
5157 or clauclate and cache one.
5158 (invalidate_vertical_divider_cache_in_window): Implemented.
5159 (map_windows): Changed return type to int, return the value from
5162 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5163 (struct window): Added need_vertical_divider_p and
5164 need_vertical_divider_valid_p.
5166 * winslots.h: Added vertical_divider_draggable_p slot.
5168 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5169 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5171 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5173 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5174 invalidate_vertical_divider_cache_in_frame().
5177 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5179 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5181 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5182 masks correctly and don't select 0.
5184 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5186 * winslots.h: New file, declaration of some struct window and
5187 struct saved_window members.
5189 * window.h (struct window): Include it, with required preprocessor
5192 * window.c (mark_window): Ditto.
5193 (allocate_window): Ditto.
5194 (struct saved_window): Ditto.
5195 (mark_window_config): Ditto.
5196 (saved_window_equal): Ditto.
5197 (Fset_window_configuration): Ditto.
5199 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5201 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5203 1998-05-12 Didier Verna <verna@inf.enst.fr>
5205 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5206 the divider line. The shadow thickness is currently
5207 hard-wired. This will probably be turned into a specifier soon.
5209 1998-05-12 Didier Verna <verna@inf.enst.fr>
5211 * console.h (struct console_methods): the divider_width console
5212 method now requires a struct window * argument.
5214 * redisplay-x.c (x_divider_width): ditto. Plus remove
5215 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5216 (x_output_vertical_divider): give a depressed look when the shadow
5217 thickness is negative.
5219 * console-stream.c (stream_divider_width): pass a struct window *
5222 * redisplay-tty.c (tty_divider_width): ditto.
5224 * window.c (window_right_gutter_width): totdi.
5226 * redisplay.c (generate_modeline): ittod.
5228 * scrollbar.c (update_scrollbar_instance): ttido.
5230 * redisplay-msw.c (mswindows_divider_width): ottid.
5231 WARNING: this enables to compile, but the feature is not functional.
5233 * window.h (struct window): new field
5234 vertical_divider_shadow_thickness.
5236 * window.c (specifier_vars_of_window): new specifier
5237 vertical-divider-shadow-thickness.
5238 (vertical_divider_shadow_thickness_changed): new function to
5239 inform redisplay that the window has changed.
5240 (mark_window): handle new field vertical_divider_shadow_thickness
5242 (allocate_window): ditto.
5243 (saved_window_equal): toddi.
5244 (Fset_window_configuration): totid.
5245 (save_window_save): ttdio.
5246 (struct saved_window): new field vertical_divider_shadow_thickness.
5248 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5250 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5253 1998-05-12 Oliver Graf <ograf@fga.de>
5255 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5256 * event-Xt.c (x_event_to_emacs_event): C++ compability
5258 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5260 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5263 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5265 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5268 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5270 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5272 * emacs.c (decode_path_1): New function.
5273 (decode_path): Use it.
5274 (Fdecode_path): Renamed from Fdecode_path_internal; use
5277 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5279 * macros.c (Fzap_last_kbd_macro_event): New function.
5280 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5282 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5284 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5285 multiple bitmaps are output vertically as well as horizontally.
5286 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5287 crossing lines this is handled by
5288 mswindows_output_dibitmap_region.
5290 1998-05-12 Martin Buchholz <martin@xemacs.org>
5292 * inline.c: Include eldap.h
5294 * menubar-x.c (x_update_frame_menubar_internal):
5295 Remove: unused variable `container'
5297 1998-05-11 Martin Buchholz <martin@xemacs.org>
5299 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5300 Unfortunately, the resulting temacs still cannot dump.
5302 * symbols.c (symbol_is_constant):
5303 (verify_ok_for_buffer_local):
5304 -Wswitch Warning suppression - add default case to switches.
5306 * redisplay.c (decode_mode_spec): Remove unused variables,
5307 Replace Fcoding_system_property (codesys, Qmnemonic) with
5308 XCODING_SYSTEM_MNEMONIC (codesys);
5309 Fcoding_system_property is for users.
5315 Change empty docstrings into no doc strings at all.
5316 Fix bogus FSF-format docstrings.
5319 Standardize docstrings.
5322 Explain problems with matherr.
5324 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5327 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5328 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5329 Fix the weird resultant interaction (causes windows problems)
5333 Take new EMACSBOOTSTRAPLOADPATH into account.
5334 Update documentation strings
5337 - Adjust for luser's CDPATH being set to something weird.
5338 - Take into account bash 2.02's tendency to print the cwd when
5339 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5340 - fix the run-temacs target to use $(DUMPENV)
5341 - fix the run-puremacs target to use $(DUMPENV)
5342 - fix the `depend' target to properly $(RM) the right files
5343 - Generate a better TAGS file for XEmacs' lisp code using
5344 hand-crafted regexps.
5345 - Use standard coding conventions for modules/Makefile.in
5347 1998-05-12 Didier Verna <verna@inf.enst.fr>
5349 * redisplay.c: removed the scrolling modeline code that didn't
5350 make it for 21.0. To be continued ...
5352 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5354 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5355 and empty string inputs.
5357 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5359 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5361 1998-05-10 Oliver Graf <ograf@fga.de>
5363 * event-stream.c (enqueue_misc_user_event_pos): created
5364 * lisp.h (enqueue_misc_user_event_pos): prototype added
5365 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5366 * emacs.c: call vars_of_dragdrop
5367 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5369 1998-05-11 Oliver Graf <ograf@fga.de>
5371 * frame-x.c (x_cde_transfer_callback): return at correct pos
5372 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5373 object for MIME (see comment in dragdrop.c)
5374 * dragdrop.c: API change documented in comment
5375 removed provide of dragdrop [is provided by dragdrop.el]
5377 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5379 * window.c (window_needs_vertical_divider): Enable vertical
5380 dividers for every non-rightmost window.
5381 (window_left_gutter_width): Left gutter consists of mythical
5382 toolbar and a virtual scrollbar.
5383 (window_right_gutter_width): The right one may have a divider
5386 * scrollbar.c (update_scrollbar_instance): Position vertical
5387 scrollbar left to divider if the latter present.
5389 * redisplay.h: Declared OVER_DIVIER constant.
5391 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5394 * redisplay-x.c (x_output_vertical_divider): Output divider along
5395 the right side of the window, down to window bottom. Swapped
5396 foreground and background colors so it is visible by default.
5398 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5399 stick the divider to the right window side.
5401 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5403 (mswindows_divider_width): Ask system for user preferred value.
5404 (mswindows_output_vertical_divider): Always output the divider on
5405 the right side of a window, down to bottom.
5407 * keymap.c (get_relevant_keymaps): Route mouse button events which
5408 happened over a window divider through window-divider-map.
5409 (Fkey_binding): Documented that in the docstring.
5410 Defined the variable Vwindow_divider_map.
5412 * events.c (Fevent_over_divider_p): Added this function.
5414 * events.h: EXFUNed it.
5416 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5418 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5419 toolbar geometry is suspected to change.
5421 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5425 Condition dnd and dde code on HAVE_DRAGNDROP.
5427 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5429 * events.c (format_event_object): Print space as SPC etc.
5431 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5433 * print.c (print_internal): In the default case, abort() if
5434 ERROR_CHECK_TYPECHECK.
5436 * fileio.c (Fmake_temp_name): Doc fix.
5438 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5440 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5442 * undo.c (Fprimitive_undo): Fixed typo.
5444 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5446 * fns.c (concat): Signal error on integer argument.
5448 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5450 * console.h (device_metrics): Prefixed each constatnt with DM_
5452 * device.c: (Fdevice_system_metric): Renamed so from plural form
5453 (metrics); Changed parameters order and added DEFAULT parameter;
5454 Unabbreviated some metric constants; Fixed and untabified doc string.
5455 (Fdevice_system_metrics): Added. Returns a plist of all provided
5458 * device-msw.c (mswindows_device_system_metrics): Renamed
5459 device_metrics enum constants.
5460 Return Qunbound instead of Qnil.
5462 * device-tty.c (tty_device_system_metrics): Ditto.
5464 * device-x.c (x_device_system_metrics): Ditto.
5466 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5468 * redisplay-msw.c: implement background pixmaps (really!). Make
5469 sure bg color is transparent if we have bg pmaps.
5470 * (mswindows_output_string) (mswindows_clear_region): output bg
5472 * (mswindows_output_dibitmap_region): new function.
5473 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5474 the bg color rather than transparently.
5476 * toolbar-msw.c: use masks if they exist.
5478 * glyphs-msw.c: set up masks correctly.
5480 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5482 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5484 * regex.c (re_match_2_internal): Check for quit.
5486 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5488 * frame.c (Ffocus_frame): New function.