1 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
4 (mule_encode): Likewise.
6 * mule-ccl.c (Qccl_program): New variable.
7 (CCL_SUSPEND): New macro.
8 (CCL_INVALID_CMD): New macro.
9 (CCL_READ_CHAR): Don't regard as invalid command while processing
10 the last block even if input is empty; use
11 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
12 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
14 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
15 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
16 (CCL_STAT_SUSPEND_BY_DST): Likewise.
17 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
18 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
20 1999-05-04 Ken'ichi Handa <handa@gnu.org>
22 * mule-ccl.h (struct ccl_program): New member stack_idx.
24 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
25 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
27 (setup_ccl_program): Initialize ccl->stack_idx to 0.
29 1998-10-12 Kenichi Handa <handa@etl.go.jp>
31 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
34 1998-08-18 Kenichi Handa <handa@etl.go.jp>
36 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
37 processing the last block, don't just finish but processes eol
38 block of the current CCL program.
39 (ccl_driver): Add a new jump label ccl_repeat for the above
42 1998-04-15 Kenichi Handa <handa@etl.go.jp>
44 * mule-ccl.c: Typo in comments fixed.
45 (Qccl_program_idx): New variables.
46 (CCL_ReadMultibyteChar2): Macro name changed from
47 CCL_ReadMultibyteCharacter.
48 (CCL_WriteMultibyteChar2): Macro name changed from
49 CCL_WriteMultibyteChar2.
50 (ccl_driver): Adjusted for the above changes.
51 (resolve_symbol_ccl_program): New function.
52 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
53 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
54 numbers by resolve_symbol_ccl_program.
55 (Fccl_execute_on_string): Likewise.
56 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
57 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
59 1998-01-21 Kenichi Handa <handa@etl.go.jp>
61 * mule-ccl.h: (struct ccl_program): New member private_state.
64 (CCL_Call): Fix the comment.
65 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
66 macros for CCL Commands.
68 (ccl_driver): New case lable `CCL_Extention'.
69 (setup_ccl_program): Initialize the member `private_state' of CCL.
71 1999-06-23 Olivier Galibert <galibert@pobox.com>
73 * config.h.in: Add missing #undef *_USER_DEFINED.
75 1999-06-23 SL Baur <steve@miho.m17n.org>
77 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
78 int (fixes a 64-bit problem).
80 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
83 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
85 * paths.h.in (PATH_DOC): Made doc-directory configurable.
87 1999-06-22 Olivier Galibert <galibert@pobox.com>
89 * lrecord.h: Added basic external description system.
91 * symbols.c: Added symbol, symbol-value-buffer-local,
92 symbol-value-lisp-magic and symbol-value-varalias description.
93 * mule-charset.c: Added charset description.
94 * marker.c: Added marker description.
95 * keymap.c: Added keymap description.
96 * glyphs.c: Added glyph description.
97 * floatfns.c: Added float description.
98 * file-coding.c: Added coding-system description.
99 * extents.c: Added extent description.
100 * elhash.c: Added hash-table description.
101 * data.c: Added weak-list desciption.
102 * chartab.c: Added char-table-entry and char-table description.
103 * bytecode.c: Added compiled-function description.
104 * alloc.c: Added cons, vector and string description.
106 1999-06-22 Olivier Galibert <galibert@pobox.com>
108 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
109 Updated everything to the removal of the "flags" substructure.
111 * lisp.h (subr_lheader_initializer): Updated.
112 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
114 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
116 * syntax.c (word_constituent_p): Deleted.
117 (scan_words): Use `WORD_BOUNDARY_P'.
119 * chartab.c (Vword_combining_categories): New variable.
120 (Vword_separating_categories): Likewise.
121 (CATEGORYP): New macro.
122 (CATEGORY_SET): Likewise.
123 (CATEGORY_MEMBER): Likewise.
124 (word_boundary_p): New function.
125 (complex_vars_of_chartab): Set up new variable
126 `word-combining-categories' and `word-separating-categories'.
128 1999-06-18 Olivier Galibert <galibert@pobox.com>
130 * lrecord.h: Added description as a placehold in the lrecord
131 implementation structures. Added the parameter to all constructor
134 * alloc.c: Added placeholders.
145 * event-stream.c: Ditto.
149 * file-coding.c: Ditto.
158 * mule-charset.c: Ditto.
163 * specifier.c: Ditto.
169 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
171 * XEmacs 21.2.17 is released
173 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
175 * config.h.in (HAVE_LDAP_SET_OPTION): New define
176 (HAVE_LDAP_GET_LDERRNO): Ditto
177 (HAVE_LDAP_RESULT2ERROR): Ditto
178 (HAVE_LDAP_PARSE_RESULT): Ditto
179 (HAVE_UMICH_LDAP): Removed
180 (HAVE_NS_LDAP): Removed
182 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
183 suggested by Olivier Galibert
184 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
186 * eldap.c: Take the removal of `livep' into account in all the
188 (signal_ldap_error): Take two additional parameters
189 Added new finer compilation conditions in order to use
190 ldap_parse_result or ldap_result2error if available
191 (Fldap_open): Conform to this new API
192 (Fldap_search_internal): Ditto
194 1999-06-17 SL Baur <steve@miho.m17n.org>
196 * data.c (struct int_or_double): Should use EMACS_INT not int.
198 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
200 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
203 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
205 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
208 * file-coding.c (mule_decode): Run `ccl_driver' with
210 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
212 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
213 (ccl_driver): Add new argument `conversion_mode'.
214 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
215 (Fccl_execute_on_string): Likewise [perhaps it is better to add
216 new optional argument].
218 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
219 (CCL_MODE_DECODING): New macro.
220 (ccl_driver): Add new argument `conversion_mode'.
222 1999-06-15 SL Baur <steve@miho.m17n.org>
224 * mule-charset.c (Fsplit_char): New subr.
225 (Fchar_octet): delete.
226 (syms_of_mule_charset): DEFSUBR it.
228 1999-06-13 Andy Piper <andy@xemacs.org>
230 * menubar.h: update declarations involving gui_items.
232 * lisp.h: declare Lisp_Gui_Item.
234 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
236 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
237 (print_image_instance): ditto.
238 (image_instance_equal): ditto.
239 (image_instance_hash): ditto.
241 * event-msw.c (mswindows_need_event): assert badly_p status.
242 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
243 callbacks in tree-view and tab-control widgets.
244 (emacs_mswindows_next_event): modify use of
245 mswindows_dequeue_dispatch_event.
247 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
248 lisp-based gui_items.
250 * glyphs-msw.c (mswindows_update_subwindow): update use of
252 (mswindows_register_gui_item): new function.
253 (mswindows_register_gui_item): fix to use lisp gui_items.
254 (mswindows_widget_instantiate): ditto.
255 (mswindows_button_instantiate): ditto.
256 (add_tree_item): new function to recursively add tree view
258 (add_tree_item_list): ditto.
259 (mswindows_tree_instantiate): new function. instantiate tree view
261 (add_tab_item): new function to add tabs to a tab control.
262 (mswindows_tab_instantiate): new function. instantiate tab
264 (image_instantiator_format_create_glyphs_mswindows): add tree view
266 (vars_of_glyphs_mswindows): ditto.
268 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
270 (check_valid_item_list): ditto.
271 (initialize_widget_image_instance): fix to use new lisp gui_item.
272 (widget_instantiate_1): allow the setting of default textwidth in
274 (widget_instantiate): change to use new widget_instantiate_1
276 (combo_instantiate): ditto.
277 (static_instantiate): ditto.
278 (tab_instantiate): new function for tab widgets.
279 (image_instantiator_format_create_glyphs_widget): add tab and tree
282 * menubar-msw.c (displayable_menu_item): convert to use lisp
284 (populate_menu_add_item): ditto.
285 (populate_or_checksum_helper): ditto.
287 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
289 (Fmenu_find_real_submenu): ditto.
291 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
293 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
294 objects, convert functions that use them accordingly.
295 (gui_item_init): ditto.
296 (gui_item_active_p): ditto.
297 (gui_item_selected_p): ditto.
298 (gui_item_included_p): ditto.
299 (gui_item_display_flush_left): ditto.
300 (gui_item_display_flush_right): ditto.
301 (mark_gui_item): ditto.
302 (allocate_gui_item): new function to create a gui_item.
303 (make_gui_item_from_keywords_internal): ditto. create and return a
304 gui_item as well as setting keywords.
305 (gui_parse_item_keywords): ditto.
306 (gui_parse_item_keywords_no_errors): ditto.
307 (gui_add_item_keywords_to_plist): new function, not yet used.
308 (gui_item_hash): new function.
309 (gui_item_id_hash): use gui_item_hash.
310 (gui_item_equal): new function.
311 (print_gui_item): new function.
313 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
315 * XEmacs 21.2.16 is released
317 1999-06-10 Andy Piper <andy@xemacs.org>
319 * select-msw.c (mswindows_own_selection): only set the clipboard
321 (mswindows_get_foreign_selection): only get the clipboard if
323 (mswindows_disown_selection): only disown the clipboard if asked.
325 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
327 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
329 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
330 of coding-category `no-conversion'.
332 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
334 * file-coding.c (Qraw_text): New variable.
335 (syms_of_mule_coding): Add new symbol `raw-text'.
336 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
337 define coding-system `binary' independently; define coding-system
338 `no-conversion' as an alias for `raw-text'.
340 * file-coding.h (Qraw_text): New variable.
342 1999-06-08 SL Baur <steve@xemacs.org>
344 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
346 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
348 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
350 (base64_decode_1): Signal errors instead of returning -1.
352 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
354 * mule-charset.c (Fmake_char): Update docstring.
356 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
358 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
360 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
362 * fns.c (base64_decode_1): Allow and ignore any non-base64
365 1999-05-27 Olivier Galibert <galibert@pobox.com>
367 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
368 of report_pure_usage().
370 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
372 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
374 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
376 * XEmacs 21.2.15 is released
378 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
380 * frame.c (Fset_mouse_position):
381 (Fset_mouse_pixel_position):
382 * window.c (Fsplit_window):
383 (Fmove_to_window_line):
384 Fix crash when invoking functions with an already-deleted window
387 * indent.c (vertical_motion_1):
389 (Fvertical_motion_pixels):
390 * window.c (Fwindow_displayed_text_pixel_height):
391 Fix error message when invoking functions with an already-deleted
394 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
396 * sysdep.c (request_sigio_on_device): Guard against glibc
397 2.1's stub streams implementation.
399 1999-06-03 SL Baur <steve@xemacs.org>
402 * emacs.c: Implement x.y.z version numbers
403 From Jan Vroonhof <vroonhof@math.ethz.ch>
405 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
407 * mule-charset.c (complex_vars_of_mule_charset): Registry of
408 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
411 1999-06-03 SL Baur <steve@xemacs.org>
414 * device-x.c: rename session option to wmcommand.
415 From Oliver Graf <ograf@rhein-zeitung.de>
417 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
419 * fns.c (Fsubstring): Don't traverse the same region twice with
420 charcount_to_bytecount().
422 1999-06-03 SL Baur <steve@steve1.m17n.org>
424 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
427 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
428 doesn't really work as is implied by the commentary).
429 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
431 1999-06-02 SL Baur <steve@steve1.m17n.org>
433 * symsinit.h: Declare vars_of_ntproc.
434 * emacs.c (main_1): Call it.
436 * ntproc.c (syms_of_ntproc): Move variable initializations from
438 (vars_of_ntproc): ... to here [new function].
440 * file-coding.c (syms_of_file_coding): Rename.
441 (vars_of_file_coding): Ditto.
442 (complex_vars_of_file_coding): Ditto.
444 * symsinit.h: Rename *_mule_coding to *_file_coding.
446 * emacs.c (main_1): Call them by the proper name.
448 * device-msw.c (syms_of_device_mswindows): Move variable
449 initializations from here ...
450 (vars_of_device_mswindows): ... to here.
452 * chartab.c (vars_of_chartab): New function.
454 * symsinit.h: New function, vars_of_chartab.
456 * emacs.c (main_1): Call it.
458 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
459 (vars_of_mule_canna): ... to here.
461 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
462 initializations out of syms_of_mule_ccl.
464 * symsinit.h: Declare new function vars_of_mule_ccl.
466 * emacs.c (main_1): Call it.
468 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
470 * fns.c (base64_decode_1): Ignore whitespace.
472 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
474 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
477 1999-05-21 Andy Piper <andy@xemacs.org>
479 * xselect.c: deleted.
481 * symsinit.h: declare select initialisation.
483 * select.h: new file. declare commonly used select functions and
486 * select.c: new file. generalised from xselect.c.
487 (clean_local_selection_data): moved from xselect.c.
488 (get_local_selection): ditto. device specific pieces called via a
490 (handle_selection_clear): ditto.
491 (Fown_selection_internal): renamed and generalised from
492 Fx_own_selection_internal. moved from xselect.c.
493 (Fdisown_selection_internal): ditto.
494 (Fselection_owner_p): ditto.
495 (Fselection_exists_p): ditto.
496 (Fget_selection_internal): ditto.
497 (syms_of_select): new function. QXXXX values moved from xselect.c
498 (vars_of_select): new function. selection_converter_alist,
499 lost_selection_hooks moved and renamed from xselect.c
501 * select-x.c: renamed from xselect.c.
502 (x_own_selection): converted to device specific. non-X-specific
503 bits moved to select.c.
504 (x_get_foreign_selection): ditto.
505 (x_disown_selection): ditto.
506 (x_selection_exists_p): ditto.
507 (console_type_create_select_x): new function.
509 * select-msw.c (mswindows_own_selection): new device method to set
510 the clipboard when we 'own' the selection.
511 (mswindows_get_foreign_selection): new device method to get the
513 (mswindows_disown_selection): new device method to delete the
514 selection when we 'disown' it.
515 (console_type_create_select_mswindows): new function.
517 * emacs.c (main_1): add select to things to initialise.
519 * console.h (struct console_methods): new console methods for
522 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
524 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
526 * print.c (long_to_string): Install a faster version.
528 1999-05-16 Andy Piper <andy@xemacs.org>
530 * ntproc.c (syms_of_ntproc): default
531 win32-start-process-share-console to t.
533 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
535 * config.h.in: Do it here.
537 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
539 1999-05-14 Andy Piper <andy@xemacs.org>
541 * toolbar-msw.c (mswindows_output_toolbar): hash on something
544 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
546 * XEmacs 21.2.14 is released
548 1999-05-12 Andy Piper <andy@xemacs.org>
550 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
552 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
554 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
555 run_temacs_argv array -- fixes random memory corruption crash
557 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
559 * window.c (Fcurrent_window_configuration):
560 Save minibuffer height;
562 * window.c (set_window_configuration): use it.
564 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
566 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
568 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
570 * redisplay.c (redisplay_window): Do not put data
571 in the line start cache if it is not guaranteed to be correct
573 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
575 * window.c (struct window_config): Removed frame
577 (window_config_equal): No longer compare frame sizes.
578 (Fset_window_configuration): Resize old top window to fit in the
579 current frame directly, no longer use a fake frame resize.
580 (Fcurrent_window_configuration): No longer save frame size
582 1999-05-11 Andy Piper <andy@xemacs.org>
584 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
587 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
589 * sysdep.c (init_system_name): If gethostname gives a proper
590 domain name, don't look further for one.
592 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
594 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
595 (Fintern_soft): Accept a symbol argument.
597 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
599 * symbols.c (Fintern): ...do it here.
601 * lread.c (read_atom): Don't handle keywords here.
603 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
605 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
607 1999-05-03 Olivier Galibert <galibert@pobox.com>
609 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
610 is interned in the main obarray.
612 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
614 * menubar-x.c (pre_activate_callback): set accelerator field in
615 "No menu" entries to nil. Avoid crash in
616 command_builder_operate_menu_accelerator
618 1999-05-03 Olivier Galibert <galibert@pobox.com>
620 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
622 * lisp.h (DEFUN): Fix lrecord header initialisation.
624 1999-05-02 Andy Piper <andy@xemacs.org>
626 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
628 * ntproc.c (sys_kill): cast using MS mandated defines.
630 1999-04-29 Andy Piper <andy@xemacs.org>
632 * m/intel386.h: remove redundant definitions.
634 * s/mingw32.h: new header for mingw32.
636 * unexnt.c: (open_input_file): function moved to nt.c.
637 (close_file_data): ditto.
638 (rva_to_section): function moved to ntproc.
640 * symsinit.h: declare syms_of_ntproc();
642 * objects-msw.c (mswindows_font_instance_truename): new function.
644 * ntproc.c: remove many warnings.
645 (_sys_read_ahead): moved from nt.c and made static.
646 (rva_to_section): moved from unexnt.c but not defined under
648 (win32_executable_type): implement what we can for mingw32
650 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
652 * ntheap.h: remove declarations of functions that are now static.
654 * ntheap.c: support static heap.
656 * nt.h: conditionalise X_OK definition.
658 * nt.c: eliminate many warnings and support mingw32.
659 (open_input_file): function moved from unexnt.c and made static
660 (close_file_data): ditto.
661 (_sys_read_ahead): moved to ntproc.c
663 * emacs.c: make sure syms_of_ntptroc gets called under windows.
665 * console-msw.h: support mingw32.
666 * getloadavg.c: ditto.
673 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
674 some systems don't have all of the encapsulated system calls.
676 * callproc.c: warning elimination.
677 * dired-msw.c: ditto.
678 * process-nt.c: ditto.
681 * Makefile.in.in: tweak : and ; for building under mswindows.
683 1999-04-26 Michael Harnois <mharnois@willinet.net>
685 * eldap.c (allocate_ldap): Adapt to the new semantics of
686 alloc_lcrecord_type().
688 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
690 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
692 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
694 * Delete mule-coding.c and mule-coding.h because they are not
697 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
699 * objects.c (print_font_instance): Check for NILP(f->device),
700 i.e. Vthe_null_font_instance.
701 (font_instance_truename_internal): ditto.
702 (Ffont_instance_properties): ditto.
704 1999-04-22 Olivier Galibert <galibert@pobox.com>
706 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
709 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
711 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
712 it easier to add new ones.
714 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
716 * symbols.c (reject_constant_symbols): Ditto.
717 (init_symbols_once_early): Ditto.
719 * print.c (print_symbol): Don't use ->obarray.
721 * symbols.c (Funintern): Ditto.
723 * alloc.c (Fmake_symbol): Don't set ->obarray.
725 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
727 * symbols.c (init_symbols_once_early): Removed
728 Vpure_uninterned_symbol_table.
729 (Fintern): Don't store to ->obarray field.
731 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
733 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
734 (eq_with_ebola_notice): Remove abracadabra support.
736 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
738 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
739 retrieve the distinguished names of entries
741 1999-03-08 Martin Buchholz <martin@xemacs.org>
743 * lread.c (read_escape): Make hex escapes read only two hex digits.
745 1999-04-05 Olivier Galibert <galibert@pobox.com>
747 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
748 * make-src-depend: Remove puresize-adjust.h.
749 * src-headers: Remove puresize-adjust.h.
750 * config.h.in: Kill everything purespace/gung-ho related.
752 * dbxrc: Make gung-ho mandatory.
755 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
756 c_readonly and lisp_readonly. Remove implementation arrays.
757 (C_READONLY_RECORD_HEADER_P): Added.
758 (LISP_READONLY_RECORD_HEADER_P): Added.
759 (SET_C_READONLY_RECORD_HEADER): Added.
760 (SET_LISP_READONLY_RECORD_HEADER): Added.
762 * lisp.h: Kill everything purespace/non gung-ho related.
763 (CHECK_C_WRITEABLE): Added.
764 (CHECK_LISP_WRITEABLE): Added.
766 (LISP_READONLY): Added.
768 * lisp-union.h: Make gung-ho mandatory.
769 * lisp-disunion.h: Ditto.
771 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
772 set_lheader_implementation calls.
774 (lisp_readonly): Added.
775 (make_string_nocopy): Added.
776 (Fpurecopy): Changed to do nothing. Kept the old documentation
777 for reference purposes for the next patches.
778 (sweep_lcrecords_1): Don't free C readonly lcrecords.
779 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
780 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
782 * fns.c: Make gung-ho mandatory.
783 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
787 * data.c: Make gung-ho mandatory.
788 (pure_write_error): Removed.
789 (c_write_error): Added.
790 (lisp_write_error): Added.
791 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
795 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
796 make_string or make_string_nocopy. Fix various
799 * lread.c: Remove everything purespace related.
800 (Flocate_file_clear_hashing): purified -> c_readonly.
801 (locate_file): Ditto.
802 (read_atom): make_pure_pname -> make_string.
804 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
806 (Fdump_emacs): Ditto.
808 * print.c (print_internal): Make gung-ho mandatory.
809 * ntheap.c (sbrk): Ditto.
810 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
811 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
813 * sheap.c (more_static_core): Remove puresize-adjust.h from
816 * syntax.c (complex_vars_of_syntax): make_pure_string ->
818 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
819 (vars_of_keymap): make_pure_string -> make_string_nocopy.
820 * events.c (deinitialize_event): Fix set_lheader_implementation.
822 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
823 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
824 * mule-charset.c (make_charset): Ditto.
825 * console.c (allocate_console): Ditto.
826 (complex_vars_of_console): Ditto.
827 * file-coding.c (allocate_coding_system): Ditto.
828 * device.c (allocate_device): Ditto
829 * gui-x.c (gcpro_popup_callbacks): Ditto.
830 * extents.c (allocate_extent_auxiliary): Ditto.
831 (allocate_extent_info): Ditto.
832 (copy_extent): Ditto.
833 * glyphs.c (allocate_image_instance): Ditto.
834 (allocate_glyph): Ditto.
835 * frame.c (allocate_frame_core): Ditto.
836 * database.c (allocate_database): Ditto.
837 * tooltalk.c (make_tooltalk_message): Ditto.
838 (make_tooltalk_pattern): Ditto.
839 * rangetab.c (Fmake_range_table): Ditto.
840 (Fcopy_range_table): Ditto.
841 * process.c (make_process_internal): Ditto.
842 * chartab.c (Fmake_char_table): Ditto.
843 (make_char_table_entry): Ditto.
844 (copy_char_table_entry): Ditto.
845 (Fcopy_char_table): Ditto.
846 * elhash.c (make_general_lisp_hash_table): Ditto.
847 (Fcopy_hash_table): Ditto.
848 * buffer.c (allocate_buffer): Ditto.
849 (complex_vars_of_buffer): Ditto.
850 * event-stream.c (allocate_command_builder): Ditto.
851 * objects.c (Fmake_color_instance): Ditto.
852 (Fmake_font_instance): Ditto.
853 (vars_of_objects): Ditto.
854 * toolbar.c (update_toolbar_button): Ditto.
855 * window.c (allocate_window): Ditto.
856 (make_dummy_parent): Ditto.
857 (Fcurrent_window_configuration): Fix alloc_lcrecord.
858 (vars_of_window): Fix make_lcrecord_list.
859 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
861 * lstream.c (Lstream_new): Fix make_lcrecord_list.
862 * opaque.c (make_opaque): Fix alloc_lrecord.
863 (make_opaque_list): Fix alloc_lrecord_type.
865 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
867 * process.c (Fstart_process_internal): Ditto.
869 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
872 * glyphs-x.c (x_locate_pixmap_file): Ditto.
874 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
877 * emodules.c (vars_of_module): New variable Vmodule_extensions.
878 (emodules_load): Use it when calling locate_file().
880 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
883 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
884 (vars_of_callproc): Initialize it.
885 (Fcall_process_internal): Use it when calling locate_file().
887 * alloc.c (disksave_object_finalization): Use
888 Flocate_file_clear_hashing().
890 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
891 given `t' as argument.
893 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
895 * lread.c (locate_file): Expand `pathel' when appropriate.
896 (Flocate_file_clear_hashing): Expand path elements.
897 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
899 * dired.c (make_directory_hash_table): Create the hash-table only
900 if the directory open is successful.
902 * lread.c (decode_mode_1): New function.
903 (decode_mode): Ditto.
904 (Flocate_file): Use them.
905 (Flocate_file): Expand FILENAME.
906 (locate_file_map_suffixes): New function.
907 (locate_file_in_directory_mapper): New function.
908 (locate_file_in_directory): Use locate_file_in_directory_mapper()
909 and locate_file_map_suffixes().
910 (locate_file_construct_suffixed_files): Use
911 locate_file_map_suffixes().
912 (locate_file_without_hash): Don't GCPRO path.
913 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
914 (syms_of_lread): Remove Qlocate_file_hash_table.
915 (locate_file_find_directory_hash_table): Use
916 Vlocate_file_hash_table.
917 (locate_file_refresh_hashing): Ditto.
919 * lread.c: Renamed read_objects to Vread_objects.
921 1999-04-16 Olivier Galibert <galibert@pobox.com>
923 * mule-charset.c: Generally resync with fsf 20.3 charset
925 (make_charset): Add long and short name. Use id instead of
927 (Fmake_charset): Ditto.
928 (Fmake_reverse_direction_charset): Ditto.
929 (Fcharset_property): Ditto.
930 (Fcharset_short_name): Added.
931 (Fcharset_long_name): Added.
932 (Fcharset_description): Renamed from charset-doc-string.
933 (syms_of_mule_charset): Synced symbols.
934 (complex_vars_of_mule_charset): Synced charsets.
936 * mule-charset.h: Removed leading byte (uses id instead), added
939 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
941 * file-coding.c (Fdefine_coding_system_alias): New function.
943 1999-04-08 Olivier Galibert <galibert@pobox.com>
945 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
946 and -ascii fonts for displaying ascii instead of iso8859-1 only.
948 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
950 * extents.c (set_extent_glyph_1): Make sure that the glyph we
951 attach to the extent is valid.
953 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
955 * dired.c (user_name_completion): Mule-ize.
956 (user_name_completion): Use xmalloc/xrealloc/xfree.
957 (user_name_completion): Use DO_REALLOC.
958 (user_name_completion): Cut down the number of static variables;
960 (user_name_completion): Username completion is always
963 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
965 * fns.c (base64_decode_1): Remove COUNTER.
966 (base64_decode_1): Accept CRLF in addition to CR.
967 (base64_decode_1): Disallow a stray character after final EOF; the
968 check was probably a remnant of buggy recode code.
970 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
972 * fns.c (init_provide_once): Provide `base64'.
974 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
976 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
977 (Fbase64_encode_region): If buffer is read-only, bail out early.
978 (Fbase64_decode_region): Ditto.
979 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
981 (Fbase64_encode_string): Ditto.
982 (Fbase64_decode_region): Ditto.
983 (Fbase64_decode_string): Ditto.
985 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
987 * dired.c (Fdirectory_files): Remove redundant code.
989 1999-03-05 Philip Aston <philipa@parallax.co.uk>
991 * frame-msw.c Make raise-frame restore minimised windows.
993 1999-03-05 Philip Aston <philipa@parallax.co.uk>
995 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
998 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1000 * toolbar-msw.c Consider captions when deciding whether to rebuild
1001 toolbar. This fixes the initial toolbar display for those of us
1002 who don't like captions. These patches applied by Andy Piper.
1004 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1006 * XEmacs 21.2.13 is released
1008 1999-03-12 SL Baur <steve@xemacs.org>
1010 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1012 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1014 * file-coding.c: docstring and comment improvements.
1015 (decode_ucs4) flag possible data loss with comment.
1017 1999-03-10 Martin Buchholz <martin@xemacs.org>
1019 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1023 (decode_coding_ucs4):
1024 (encode_coding_ucs4):
1025 (detect_coding_utf8):
1026 (decode_coding_utf8):
1028 (encode_coding_utf8):
1029 Add CHECK_* macros where needed to avoid crashes.
1030 #ifdef out all composite character support using
1031 #ifdef ENABLE_COMPOSITE_CHARS
1032 Use normal XEmacs coding standards.
1034 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1036 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1038 * file-coding.c (make-coding-system): Add description about
1039 `ucs-4' and `utf-8'.
1040 (detection_state): Modify to implement ucs-4 and utf-8.
1041 (detect_coding_type): Likewise.
1042 (detect_coding_ucs4): New implementation.
1043 (detect_coding_utf8): New implementation.
1044 (encode_utf8): fixed.
1045 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1048 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1050 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1051 2022 registry to private area.
1053 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1055 * file-coding.c (encode_utf8): New function.
1056 (encode_coding_utf8): New implementation.
1058 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1060 * file-coding.c (ucs_to_mule_table): New variable; abolish
1061 `Vucs_to_mule_table'
1062 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1063 (set-ucs-char): New function.
1064 (ucs_to_char): New function.
1065 (ucs-char): New function.
1066 (set-char-ucs): New function.
1067 (char-ucs): New function.
1068 (decode_ucs4): Use `ucs_to_char'.
1069 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1070 `mule-to-ucs-table'.
1072 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1074 * chartab.h: EXFUN `Fget_char_table'.
1076 * file-coding.c (encode_ucs4): New function.
1077 (encode_coding_ucs4): Use `encode_ucs4'.
1079 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1081 * file-coding.c (decode_coding_ucs4): New implementation.
1083 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1085 * file-coding.c (decode_coding_ucs4): fixed.
1087 * file-coding.c (Vmule_to_ucs_table): New variable.
1088 (mule_char_to_ucs4): New function.
1089 (encode_coding_ucs4): New implementation.
1090 (complex_vars_of_mule_coding): Define variable
1091 `mule-to-ucs-table'.
1093 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1095 * file-coding.c (decode_coding_utf8): New implementation.
1097 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1099 * file-coding.c (decode_coding_utf8): fixed.
1101 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1103 * file-coding.c (Vucs_to_mule_table): New variable.
1104 (decode_ucs4): Refer `Vucs_to_mule_table'.
1105 (complex_vars_of_mule_coding): Define variable
1106 `ucs-to-mule-table'.
1108 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1110 * file-coding.c (detect_coding_ucs4): New function (not
1112 (decode_coding_ucs4): New function.
1113 (encode_coding_ucs4): New function (not implemented yet).
1114 (detect_coding_utf8): New function (not implemented yet).
1115 (decode_coding_utf8): New function.
1116 (encode_coding_utf8): New function (not implemented yet).
1117 (make-coding-system): New type `ucs4' and `utf8'.
1118 (coding-system-type): Likewise.
1119 (detection_state): Add `ucs4' and `utf8'.
1120 (detect_coding_type): Likewise.
1121 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1122 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1123 (decode_ucs4): New function (very incomplete).
1124 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1126 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1128 1999-03-08 Martin Buchholz <martin@xemacs.org>
1131 (non_ascii_valid_char_p):
1132 (lookup_composite_char):
1133 (composite_char_string):
1134 (make-composite-char):
1135 (composite-char-string):
1136 (syms_of_mule_charset):
1137 (complex_vars_of_mule_charset):
1138 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1139 (CHAR_LEADING_BYTE):
1141 * file-coding.h (CODING_STATE_COMPOSITE):
1142 (CODING_STATE_ISO2022_LOCK):
1144 (LEADING_BYTE_COMPOSITE):
1145 * file-coding.c (struct iso2022_decoder):
1148 (parse_iso2022_esc):
1149 (encode_coding_iso2022):
1150 #ifdef out all composite character support using
1151 #ifdef ENABLE_COMPOSITE_CHARS
1153 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1155 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1157 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1158 way of `Fbase64_encode_region'.
1160 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1162 * fns.c (base64_encode_1): Don't add a newline at the tail.
1164 1999-03-08 Andy Piper <andy@xemacs.org>
1166 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1169 1999-03-07 Martin Buchholz <martin@xemacs.org>
1171 * console-stream.h (struct stream_console):
1172 * event-unixoid.c (event_stream_unixoid_select_console):
1173 (event_stream_unixoid_unselect_console):
1174 * print.c (Fexternal_debugging_output):
1175 * sysdep.c (reset_one_device):
1176 * console-stream.c (stream_init_console):
1177 (stream_delete_console):
1178 (allocate_stream_console_struct): move into stream_init_console.
1179 (free_stream_console_struct): move into stream_delete_console.
1180 Use `fd' only for file descriptors.
1181 Therefore, rename members of struct stream_console.
1183 * systime.h: Unix98 says sys/time.h should define select(), but
1184 some systems define that in unistd.h. So include that file always.
1186 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1187 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1188 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1190 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1194 Add #include <stdio.h>.
1195 Some versions of assert.h use printf() without #include'ing stdio.h
1197 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1198 (log_gcpro): Remove unused variable FRAME.
1199 (show_gcprohist): Ansify.
1200 Comment the #endif's
1202 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1203 after it's just been XtDestroy'ed!
1205 1999-02-18 Martin Buchholz <martin@xemacs.org>
1207 * opaque.c (print_opaque):
1211 Egcs 1.1.1 seems to have a bug where
1212 INTP (p->size_or_chain)
1213 will crash XEmacs. Fix by introducing intermediate variable.
1215 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1217 * dired.c (Fdirectory_files):
1218 (Ffile_name_completion):
1219 (Ffile_name_all_completions):
1220 (file_name_completion):
1221 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1222 avoid compiler warnings.
1223 - Fix up docstrings so that C variables match documentation.
1225 1999-03-05 Martin Buchholz <martin@xemacs.org>
1227 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1228 variables as small as possible to help out the compiler and the maintainer.
1230 * alloc.c: (disksave_object_finalization):
1231 Set all the *-load-path variables to
1232 nil, not just load-path itself. This gets the locate-file hash
1233 tables garbage collected BEFORE dump, and has the side effect of
1234 preventing crashes on OSF4.0+egcs.
1239 - Clean up gdb/dbx debugging support.
1240 - Storing an EMACS_INT in an enum is not 64-bit clean!
1241 - So change the enum to a set of separate variables.
1242 - Add test cases to help debug the debugging support!
1243 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1244 - Both dbx and gdb have been tested now.
1246 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1248 * XEmacs 21.2.12 is released
1250 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1252 * device-x.c: Support to find best visual without flashing.
1254 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1256 * database.c (berkdb_map): Add flags argument to cursor call (must
1257 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1259 1999-03-03 Martin Buchholz <martin@xemacs.org>
1263 General cleanup. Get free-hook.c working again.
1264 Remove unused functions:
1265 make_strings_hash_table, copy_hash, expand_hash_table.
1269 Always use new ANSI-style function prototypes.
1271 * unexalpha.c (unexec): Never use implicit int.
1273 * sgiplay.c (close_sound_file):
1275 (restore_audio_port):
1280 (write_mulaw_8_chunk):
1281 (write_linear_chunk):
1282 (write_linear_32_chunk):
1283 (initialize_audio_port):
1286 (set_output_format):
1287 (adjust_audio_volume):
1288 (get_current_volumes):
1290 Always use new ANSI-style function prototypes.
1291 Use unistd.h for missing prototypes.
1293 * unexelfsgi.c (round_up):
1295 (unexec): Always use new ANSI-style function prototypes
1297 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1299 * console.h (struct console_methods): Always use full ANSI prototypes
1301 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1303 1999-03-02 Andy Piper <andy@xemacs.org>
1305 * event-stream.c (init_event_stream): make sure native mswindows
1306 gets an appropriate event loop.
1308 1999-02-22 Andy Piper <andy@xemacs.org>
1310 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1311 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1312 (mswindows_raise_frame): remove comment.
1314 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1316 * XEmacs 21.2.11 is released
1318 1999-02-25 SL Baur <steve@xemacs.org>
1320 * mule-charset.c (Qleading_byte): New variable to implement
1321 charset-leading-byte function.
1322 (Fcharset_property): Use it.
1323 (syms_of_mule_charset): Initialize it.
1324 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1326 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1328 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1329 bytes per pixel counting.
1331 1999-02-15 Andy Piper <andy@xemacs.org>
1333 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1336 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1338 * fns.c (Fbase64_encode_string): New optional argument
1341 1999-02-16 Martin Buchholz <martin@xemacs.org>
1343 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1344 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1346 1999-02-10 Martin Buchholz <martin@xemacs.org>
1348 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1349 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1351 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1353 * XEmacs 21.2.10 is released
1355 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1357 * process-nt.c (nt_send_process):
1358 Fix for process-send-region/process-send-string breaking when size
1359 of the input > 128 chars: change maximum chunk size for process
1360 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1363 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1365 * XEmacs 21.2.9 is released
1367 1999-01-30 Martin Buchholz <martin@xemacs.org>
1369 * bytecode.c (funcall_compiled_function): Call
1370 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1372 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1373 #ifdef 0 out unused macro.
1375 1999-01-27 Martin Buchholz <martin@xemacs.org>
1377 * gui.c (gui_parse_item_keywords_internal): Make static.
1379 1999-01-21 Andy Piper <andy@xemacs.org>
1381 * glyphs-msw.c: add xface support.
1382 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1383 (image_instantiator_format_create_glyphs_mswindows): do device
1384 specific initialisation for xfaces.
1385 (xbm_create_bitmap_from_data): line data must be padded to a word
1388 * glyphs-x.c (xface_validate): moved to glyphs.c
1389 (xface_normalize): ditto.
1390 (xface_possible_dest_types): ditto.
1391 (image_instantiator_format_create_glyphs_x): do device specific
1392 initialisation for xfaces.
1394 * glyphs.h: declare xface symbol.
1396 * glyphs.c: move generic xface support here.
1397 (xface_validate): moved from glyphs-x.c
1398 (xface_normalize): ditto.
1399 (xface_possible_dest_types): ditto.
1400 (image_instantiator_format_create): xface declarations moved from
1403 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1405 * event-stream.c (vars_of_event_stream): Fixing documentation.
1407 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1409 * glyphs-eimage.c (gif_instantiate): Correct handling of
1410 interlaced gifs to avoid writing past the end of the eimage
1413 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1415 * search.c (Freplace_match): Handle single backslash at end of
1418 1999-01-12 William M. Perry <wmperry@aventail.com>
1420 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1421 avoid connection errors.
1423 1999-01-12 Andy Piper <andy@xemacs.org>
1425 * redisplay-output.c (redisplay_update_line): backout change that
1426 shouldn't have gone ine.
1428 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1430 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1431 collide with ldap.el
1433 1999-01-11 Andy Piper <andy@xemacs.org>
1435 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1436 (DISPLAY_LINE_YPOS): new macro.
1438 * redisplay-msw.c (mswindows_output_string): use it.
1439 (mswindows_output_pixmap): ditto.
1440 (mswindows_output_display_block): ditto.
1442 * redisplay-output.c (redisplay_output_display_block): new
1443 function. just call the devmeth, maybe insert some generic code
1445 (compare_display_blocks): use it.
1446 (output_display_line): ditto.
1447 (redisplay_unmap_subwindows_maybe): new function. potentially
1448 unmap subwindows in the given area.
1450 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1453 1999-01-10 J. Kean Johnston <jkj@sco.com>
1455 * Makefile.in.in: Set value of moduledir
1456 - Changed DUMPENV to include $(MODULEPATH)
1457 - Added install rule to install header files for use by ellcc.
1459 * config.h.in: Added INHIBIT_SITE_MODULES
1460 - Added HAVE__DLERROR
1461 - Added HAVE_DLFCN_H
1462 - Added DLSYM_NEEDS_UNDERSCORE
1466 * emodules.c: New file containing dynamic loading code.
1468 * emodules.h: New file.
1470 * emacs.c: Added variables Vmodule_directory,
1471 Vsite_module_directory, Vconfigure_module_directory and
1472 Vconfigure_site_module_directory.
1473 - (main_1): Added new variable inhibit_site_modules and command
1474 line options `-no-site-modules' and `--no-site-modules'.
1475 - (main_1): Call syms_of_module() instead of syms_of_dll().
1476 - (main_1): Call vars_of_module().
1477 - (vars_of_emacs): Introduce inhibit-site-modules,
1478 module-directory, configure-module-directory,
1479 site-module-directory, and configure-site-module-directory to the
1482 * lisp.h: Declare load_module and list_modules, as well as
1483 Vmodule_directory, Vsite_module_directory,
1484 Vconfigure_module_directory and Vconfigure_site_module_directory.
1486 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1487 - Added correct support for site-lisp directory.
1489 * symbols.c (defsubr): Modified to allow modules to add new subrs
1491 - (defsubr_macro): Same.
1492 - (defvar_magick): Only use purespace when not initialized, so
1493 that loaded modules can still add symbols.
1495 * symsinit.h: Add definitions for syms_of_module(),
1496 vars_of_module(). Removed syms_of_dll().
1498 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1499 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1500 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1502 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1503 explicitly pass -belf for native cc.
1505 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1506 hard-coding the library name.
1508 1999-01-01 <martin@xemacs.org>
1510 * device-x.c (Fx_set_font_path):
1511 Add proper cast to permit compilation under C++.
1513 * buffer.c (directory_is_current_directory):
1514 Add proper casts to permit compilation under C++.
1516 1998-12-30 Damon Lipparelli <lipp@primus.com>
1518 * event-msw.c (mswindows_wnd_proc):
1519 Fixed failure when building with MSVC 5.
1521 1998-12-29 Martin Buchholz <martin@xemacs.org>
1523 * file-coding.c (decode_coding_iso2022):
1524 - Prevent crash when decoding ISO7/Lock detected files
1525 - the usual martin fiddling
1527 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1531 Fixed failures when building with MSVC.
1532 * unexnt.c (dump_bss_and_heap):
1533 Removed compiler warning by removing bss_data variable.
1535 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1537 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1538 so that packages that distribute their own fonts can access them.
1540 1998-12-28 Andy Piper <andy@xemacs.org>
1542 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1543 that have an image provided.
1545 * glyphs.h: add Q_image decl.
1547 * glyphs-widget.c new functionality allowing images in
1549 (check_valid_glyph_or_image): new function to validate
1550 glyphs passed in through :image.
1551 (widget_normalize): new function. convert :image parameters into
1552 real glyphs if not already so.
1553 (widget_instantiate_1): mess with size parameters to be similar to
1555 (syms_of_glyphs_widget): new keyword :image.
1556 (image_instantiator_format_create_glyphs_widget): normalize
1557 buttons and allow :image.
1559 1998-12-27 Andy Piper <andy@xemacs.org>
1561 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1563 * glyphs-widget.c (check_valid_anything): no-op function.
1564 (check_valid_callback): check callbacks in gui_items.
1565 (check_valid_symbol): as it sounds.
1566 (check_valid_string_or_vector): ditto.
1567 (widget_validate): modified for descriptors that are vectors or
1568 sequences of keyword/val pairs.
1569 (widget_instantiate_1): ditto.
1570 (image_instantiator_format_create_glyphs_widget): allow gui_item
1571 keywords in the instantiator.
1573 * gui.c (gui_parse_item_keywords_internal): renamed from
1574 gui_parse_item_keywords but taking error behaviour.
1575 (gui_parse_item_keywords): use it.
1576 (gui_parse_item_keywords_no_errors): ditto.
1577 (gui_item_add_keyval_pair): add Error_behavior flag and only
1578 signal invalid keywords if required.
1580 * gui.h: new gui signatures.
1582 * menubar.c (menu_parse_submenu_keywords): use new
1583 gui_item_add_keyval_pair signature.
1585 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1587 1998-12-28 Martin Buchholz <martin@xemacs.org>
1589 * XEmacs 21.2.8 is released.
1591 1998-12-28 Martin Buchholz <martin@xemacs.org>
1593 * editfns.c (get_home_directory):
1594 (user-home-directory): Simplify.
1597 * callproc.c (child_setup):
1598 - Environment variables were being passed to inferior processes
1599 using internal encoding.
1600 - Convert to external encoding.
1601 - Rename local var `tem' to better name `tail'.
1602 - Use Flength instead of `manual' calculation.
1604 * buffer.c (kill-buffer):
1606 (set-buffer-major-mode):
1608 - Fix up parameter names to correspond to docstrings.
1609 - Don't use `bufname' when a buffer will do as well.
1610 - Remove one unneeded GCPRO.
1612 * buffer.h (initial_directory):
1613 * buffer.c (init_initial_directory):
1614 - use correct conversions between internal and external format.
1615 (directory_is_current_directory): new function
1616 (init_buffer): convert initial_directory to internal format.
1617 - solve crashes when current working directory is non-ASCII.
1619 * alloc.c (xmalloc):
1622 - remove stupid casts, since XEmacs requires an ANSI C system.
1623 (lrecord_type_index): replace abort() with more readable assert().
1625 (reset_lcrecord_stats): remove.
1626 (sweep_lcrecords_1):
1627 - replace call to reset_lcrecord_stats() with call to xzero().
1629 1998-12-27 Martin Buchholz <martin@xemacs.org>
1631 * process-unix.c (unix_create_process):
1632 - Fix crash invoking program with non-ASCII name.
1633 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1634 - Remove unused variable `env'.
1635 - Rename `temp' to better name `save_errno'.
1636 - Reorganize code for clarity. But still too chicken to nuke the
1639 1998-12-24 Martin Buchholz <martin@xemacs.org>
1641 * XEmacs 21.2.7 is released.
1643 1998-12-23 Martin Buchholz <martin@xemacs.org>
1645 * glyphs.c (decode_device_ii_format):
1647 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1649 * glyphs-x.c (x_subwindow_instantiate):
1650 - A image instance mask was being assigned to a image instance type!
1651 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1653 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1655 * glyphs-x.h: Make indentation consistent.
1657 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1659 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1661 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1665 Move declarations of decode_device_ii_format and
1666 decode_image_instantiator_format into glyphs.h where they belong.
1668 1998-12-22 Martin Buchholz <martin@xemacs.org>
1670 * frame-x.c (x_delete_frame): Revert part of my changes at the
1671 suggestion of Gunnar Evermann - unfortunately no one really
1672 understands this code.
1674 * callproc.c (init_callproc): code cleanup.
1676 * free-hook.c (malloc):
1681 (block_input_malloc):
1682 (block_input_realloc):
1683 * device-x.c (x_delete_device):
1684 * emacs.c (voodoo_free_hook):
1685 * events.c (print_event):
1687 (CHECK_EVENT_TYPE2):
1688 (CHECK_EVENT_TYPE3):
1689 Use proper prototypes.
1690 Make C_E_T macros a little faster.
1691 Pedantic fiddly little changes. You really don't care.
1693 1998-12-22 Andy Piper <andy@xemacs.org>
1695 * redisplay-output.c (redisplay_clear_region): make sure that
1696 fg/bg colors get set even when we are in the border area.
1698 1998-12-13 Martin Buchholz <martin@xemacs.org>
1700 * console-msw.c: Function definitions follow coding standards
1701 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1703 1998-12-11 Martin Buchholz <martin@xemacs.org>
1705 * events.h (struct timeout_data):
1706 * event-tty.c (tty_timeout_to_emacs_event):
1707 * event-msw.c (mswindows_wm_timer_callback):
1708 * event-Xt.c (Xt_timeout_to_emacs_event):
1709 * event-msw.c (mswindows_cancel_dispatch_event):
1710 Make sure Lisp_Objects inside events are initialized to Qnil, not
1711 Qnull_pointer, which is now illegal.
1713 1998-12-10 Martin Buchholz <martin@xemacs.org>
1715 * lisp.h: Fix up prototypes to match alloc.c
1717 1998-12-08 Martin Buchholz <martin@xemacs.org>
1719 * windowsnt.h: Remove `support' for using index and rindex
1721 * filelock.c (current_lock_owner):
1722 - Change uses of index -> strchr, rindex -> strrchr
1724 1998-12-07 Martin Buchholz <martin@xemacs.org>
1726 * sysdep.c (set_descriptor_non_blocking):
1727 Since O_NONBLOCK is now always #defined, make use of fcntl
1728 conditional on F_SETFL being defined.
1730 * console-msw.c (DHEADgER):
1739 - max_align_t should not be visible to the user of the
1741 - use Bufbyte instead of char
1742 - parens around (FOOP (obj)) are always redundant.
1743 If they were necessary, we should fix the macro instead.
1744 - Always use string_data(foo) instead of foo->data.
1747 1998-12-06 Martin Buchholz <martin@xemacs.org>
1749 * frame-msw.c (mswindows_init_frame_1):
1750 - use make_lisp_hash_table, not Fmake_hash_table
1754 * alloc.c (make_vector): remove travesty
1758 (make_bit_vector_internal):
1760 (make_bit_vector_from_byte_vector):
1762 - make vector_equal a little faster.
1763 - Don't use variable name `new'.
1764 - Use size_t instead of EMACS_INT.
1765 - usual Martin-style pointless bit-twiddling.
1771 Make mapcar faster. In particular, make
1772 (mapc #'identity long-string)
1773 MUCH faster under Mule.
1774 * tests/automated/lisp-tests.el: Test 'em!
1776 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1779 1998-12-01 Martin Buchholz <martin@xemacs.org>
1781 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1782 Qnil, not NULL, to initialize `null' Lisp_Objects.
1784 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1786 * specifier.c (display_table_validate): Update.
1788 * redisplay.c (create_text_block): Use them.
1790 * glyphs.c (display_table_entry): New function.
1791 (get_display_tables): Ditto.
1793 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1795 * eldap.c (toplevel): Mention that eldap.c compiles with
1797 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1798 (Fldap_search_internal): Ditto
1800 1998-12-11 Martin Buchholz <martin@xemacs.org>
1802 * event-msw.c (mswindows_cancel_dispatch_event):
1803 Gratuitous code prettification
1806 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1808 * fns.c (Fnconc): Fix use of wrong_type_argument().
1810 * floatfns.c (Ffloat): Fix docstring.
1811 (Ffloat): Fix use of wrong_type_argument().
1813 (extract_float): Ditto.
1818 1998-12-06 Martin Buchholz <martin@xemacs.org>
1820 * frame-msw.c (mswindows_init_frame_1):
1821 - use make_lisp_hash_table, not Fmake_hash_table
1825 * alloc.c (make_vector): remove travesty
1829 (make_bit_vector_internal):
1831 (make_bit_vector_from_byte_vector):
1833 - make vector_equal a little faster.
1834 - Don't use variable name `new'.
1835 - Use size_t instead of EMACS_INT.
1836 - usual Martin-style pointless bit-twiddling.
1842 Make mapcar faster. In particular, make
1843 (mapc #'identity long-string)
1844 MUCH faster under Mule.
1845 * tests/automated/lisp-tests.el: Test 'em!
1847 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1850 1998-12-02 Didier Verna <verna@inf.enst.fr>
1852 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1853 accelerator field to nil for labels.
1855 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1857 * menubar-msw.c (displayable_menu_item):
1858 Escape occurrences of '&' and support occurrences of the
1859 '%_' accelerator indicator in menus.
1861 1998-11-26 Didier Verna <verna@inf.enst.fr>
1863 * dired.c (Fdirectory_files): use make_string instead of
1864 make_ext_string on the filename. The conversion external->internal
1865 format is already done in sys_readdir.
1867 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1869 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1871 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1874 (Belatedly) added Kirill to list of file's authors.
1875 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1876 quit checking. WM_PAINT messages cause redisplay, but
1877 windows' states are not necessarily stable when this function
1880 1998-12-17 Andy Piper <andy@xemacs.org>
1882 * strftime.c (zone_name): CONSTify.
1884 1998-12-15 Andy Piper <andy@xemacs.org>
1886 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1887 (mswindows_widget_property): return Qunbound when no property available.
1888 (mswindows_button_property): ditto.
1889 (mswindows_combo_property): ditto.
1890 (mswindows_widget_set_property): ditto.
1892 * glyphs-widget.c (check_valid_item_list): use properties.
1894 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1896 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1897 (Fimage_instance_property): ditto.
1898 * glyphs-widget.c (widget_property): ditto.
1899 (widget_set_property): ditto.
1901 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1902 as setting the class cursor so that GC actually changes the
1905 * config.h: don't undef MAIL_USE_POP.
1907 1998-12-13 Andy Piper <andy@xemacs.org>
1910 (image_instantiator_format_create_glyphs_mswindows): line ->
1912 (mswindows_label_instantiate): ditto. Play with window flags.
1913 (image_instantiator_format_create_glyphs_mswindows): ditto.
1914 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1916 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1917 cope with lines and labels.
1918 (static_instantiate): use widget_instantiate_1.
1920 (image_instantiator_format_create_glyphs_widget): ditto.
1922 1998-12-10 Andy Piper <andy@xemacs.org>
1924 * Makefile.in.in (objs): add gui.o
1926 1998-12-10 Andy Piper <andy@xemacs.org>
1928 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1931 1998-12-09 Andy Piper <andy@xemacs.org>
1933 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1934 image instance is removed so that the subwindow cache gets reset
1935 and thus destroyed images get GC'd.
1937 1998-12-08 Andy Piper <andy@xemacs.org>
1939 * gui-msw.c (mswindows_handle_gui_wm_command): call
1940 MARK_SUBWINDOWS_CHANGED.
1942 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1943 subwindows really get deleted.
1945 * redisplay.c: new variable subwindows_changed[_set].
1946 (redisplay_window): use it.
1947 (redisplay_frame): ditto.
1948 (redisplay_device): ditto.
1949 (redisplay_without_hooks): ditto.
1951 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1952 subwindows redisplay as per glyphs equivalent.
1953 * redisplay.h: ditto.
1954 (MARK_SUBWINDOWS_CHANGED): ditto.
1955 (RESET_CHANGED_SET_FLAGS): ditto.
1956 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1958 1998-12-07 Andy Piper <andy@xemacs.org>
1960 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1963 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1965 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1966 messages and paint widget glyphs as appropriate with their face fg
1969 1998-12-06 Andy Piper <andy@xemacs.org>
1971 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1972 here rather than in glyphs-widget - do this because we only want
1973 to provide what is really available.
1975 * glyphs.c (Fimage_instance_property): new function to get the
1976 properties of image instances. wires through to console specific
1977 methods and then to widget specific methods.
1978 (Fset_image_instance_property): ditto but for setting widget properties.
1979 (check_valid_face): make extern so that it can be used elsewhere.
1981 * glyphs-widget.c (widget_property): new function. gets the
1982 properties of widgets in general and wires the function through to
1983 widget specific ones.
1984 (widget_set_property): ditto but for setting widget properties.
1986 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1987 add items to the list. Play with window styles a bit to get the
1989 (mswindows_widget_property): break out specific widget properties.
1990 (mswindows_button_property): new function. gets the checked state
1992 (mswindows_combo_property): new function. gets the current
1993 selection in the combo box.
1994 (mswindows_widget_set_property): new function. sets specific
1995 properties of specific widgets.
1997 * glyphs-widget.c (check_valid_item_list): new function. check
1998 that items for a combo-box are just a list of strings.
1999 (combo_validate): new function. check there is an item list.
2000 (widget_instantiate_1): new function. renamed from
2001 widget_instantiate so that we can do slightly different things for
2003 (widget_instantiate): call widget_instantiate_1.
2004 (combo_instantiate): new function to instantiate combo boxes,
2005 defaults height to the pixel height of the number of items in the
2007 (syms_of_glyphs_widget): move widget keywords here.
2008 (image_instantiator_format_create_glyphs_widget): use new combo
2011 1998-12-04 Andy Piper <andy@xemacs.org>
2013 * event-msw.c (mswindows_wnd_proc): mule-ize.
2015 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2017 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2018 (resource_name_to_resource): ditto.
2019 (mswindows_resource_instantiate): ditto.
2020 (mswindows_widget_instantiate): ditto.
2021 (mswindows_widget_set_property): ditto.
2023 * redisplay-output.c (redisplay_output_subwindow): don't show
2024 subwindows if they are obscured at the edge of the frame, emacs
2025 gets into some sort of redisplay loop otherwise.
2027 * gui.h: prototype gui_item_selected_p.
2029 * gui.c (gui_item_selected_p): new function to determine the
2030 selected state of a gui_item.
2032 * frame.h (struct frame): add subwindows_changed flag.
2034 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2036 * glyphs.c (update_subwindow): new function to update a
2038 (update_frame_subwindows): new function to update all the
2039 subwindows on a frame.
2041 * console.h (struct console_methods): add update_subwindow.
2043 * glyphs-msw.c (mswindows_widget_property): return selected state
2044 for selected property.
2045 (mswindows_update_subwindow): new function. updates widget glyphs
2046 in redisplay as per menubars or toolbars e.g. selected state.
2047 (console_type_create_glyphs_mswindows): add update_subwindow.
2049 1998-12-03 Andy Piper <andy@xemacs.org>
2051 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2052 tty coding system things are such.
2054 * glyphs-widget.c (widget_face_font_info): new function for
2055 pulling out height and width metrics for a widget's face.
2056 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2059 * event-msw.c (mswindows_drain_windows_queue): translate messages
2060 that are destined for subwindows. This makes edit fields interact
2061 with the keyboard correctly.
2062 nuke warnings by #ifndef'ing out stuff not required by msg select().
2064 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2065 macro defining the iiforma without the symbol required by widget.
2066 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2068 * general.c (syms_of_general): add Qwidget, Qselected.
2070 * faces.c (complex_vars_of_faces): add widget face inheriting from
2073 1998-11-09 Andy Piper <andy@xemacs.org>
2075 * window.h (struct window): add a cache of subwindows on a
2078 * window.c (mark_window): mark the subwindow_instance_cache.
2079 (allocate_window): initialise the subwindow instance_cache.
2081 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2082 instead of the devmeth.
2083 (x_clear_toolbar): ditto.
2085 * redisplay-x.c (x_output_display_block): call
2086 redisplay_output_subwindow for subwindows and widgets.
2088 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2089 types to do nothing for.
2091 * lisp.h: declare new widget/subwindow symbols.
2093 * glyphs.c (image_instantiate): cache subwindows on a per-window
2095 (subwindow_possible_dest_types): new function for subwindow dest
2097 (subwindow_instantiate): generic instantiation of a
2098 subwindow. specialised by device multi-methods.
2099 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2101 (Fimage_instance_subwindow_id): ditto.
2102 (Fresize_subwindow): ditto.
2103 (Fforce_subwindow_map): ditto.
2105 * glyphs-x.c (x_print_image_instance): remove subwindow
2106 stuff. Handled genrically in glyphs.c.
2107 (x_image_instance_equal): ditto.
2108 (x_image_instance_hash): ditto.
2109 (x_finalize_image_instance): delete subwindows when required.
2110 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2111 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2112 glyph-based, subwindow implementation.
2113 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2115 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2117 (x_unmap_subwindow): new function to unmap X subwindows.
2118 (x_map_subwindow): new function to map X subwindows.
2119 (x_subwindow_instantiate): new function to instantiate X
2121 (x_resize_subwindow): new function to resize X subwindows.
2122 (console_type_create_glyphs_x): add subwindow functions.
2123 (image_instantiator_format_create_glyphs_x): add device
2124 multi-methods for xpm, xbm and subwindow.
2126 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2127 (subwindow-width): ditto.
2128 (subwindow-height): ditto.
2130 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2131 generally instantiating ms subwindows. Used by
2132 mswindows_*_instantiate.
2133 (mswindows_edit_instantiate): instantiate an edit field on a
2136 1998-11-04 Andy Piper <andy@xemacs.org>
2138 * symsinit.h: declare new functions.
2140 * redisplay.h: declare new functions.
2142 * redisplay-x.c (x_output_display_block): call
2143 redisplay_clear_region rather than x_clear_region.
2144 (x_output_string): ditto.
2145 (x_output_pixmap): ditto.
2146 (x_clear_to_window_end): ditto.
2147 (x_output_eol_cursor): ditto.
2148 (x_clear_region): only do X specific things. other duties handled
2149 in redisplay_clear_region.
2151 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2152 duties moved to redisplay_clear_region.
2154 * redisplay-output.c (clear_left_border): use
2155 redisplay_clear_region instead of device method.
2156 (clear_right_border): ditto.
2157 (output_display_line): ditto.
2158 (redisplay_output_subwindow): ditto.
2159 (redisplay_clear_top_of_window): ditto.
2160 (redisplay_clear_region): perform duties previously handled by
2161 device methods. call the appropriate device method at the
2162 end. unmap subwindows if necessary.
2164 * redisplay-msw.c (mswindows_output_string): use
2165 redisplay_clear_region instead of mswindows_clear_region.
2166 (mswindows_clear_to_window_end): ditto.
2167 (mswindows_output_display_block): output subwindows when required.
2168 (mswindows_clear_region): only do mswindows specific things,
2169 everything else is now handled in redisplay_clear_region.
2171 * gui.h: add item id hash defines and declare function prototypes.
2173 * gui.c (mark_gui_item): new function for marking gui_items.
2174 (gui_item_hash): generic hash function for generating command ids
2177 * gui-msw.c: new file.
2178 (mswindows_handle_gui_wm_command): new function to handle widget
2181 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2183 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2184 (DEFINE_DEVICE_IIFORMAT): ditto.
2185 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2186 (struct Lisp_Image_Instance): add widget and subwindow data plus
2187 appropriate access functions.
2189 * glyphs.c (decode_device_ii_format): new function for decoding
2190 image instantiator functions based on a device type as well as an
2192 (decode_image_instantiator_format): just call
2193 decode_device_ii_format with nil device.
2194 (add_entry_to_device_ii_format_list): new function for per device
2196 (add_entry_to_image_instantiator_format_list): just call
2197 add_entry_to_device_ii_format_list with nil device.
2198 (check_valid_vector): new function.
2199 (instantiate_image_instantiator): instantiate using per-format
2200 method and then per-format-per-device method (device
2201 multi-methods). signal an error if neither is possible.
2202 (mark_image_instance): cope with subwindows and widgets.
2203 (print_image_instance): ditto.
2204 (image_instance_equal): ditto.
2205 (image_instance_hash): ditto.
2206 (allocate_glyph): ditto.
2207 (glyph_width): ditto.
2208 (glyph_height_internal): ditto.
2209 (xpm_instantiate): removed because of device multi-methods.
2210 (mark_subwindow_cachels): new cachel functions for caching
2211 instantiated subwindows on a per-frame basis. mostly copied from
2212 glyph cachel functions.
2213 (update_subwindow_cachel_data): ditto.
2214 (add_subwindow_cachel): ditto.
2215 (get_subwindow_cachel_index): ditto.
2216 (reset_subwindow_cachels): ditto.
2217 (mark_subwindow_cachels_as_not_updated): ditto.
2218 (unmap_subwindow): generic unmapping of subwindows based on cachel
2220 (map_subwindow): ditto.
2221 (initialize_subwindow_image_instance): generic initialisation of
2223 (syms_of_glyphs): add widget keywords.
2225 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2228 1998-11-04 Andy Piper <andy@xemacs.org>
2230 * glyphs-widget.c: new file for instantiating widget type glyphs.
2231 (widget_possible_dest_types): new general dest type function for
2233 (widget_validate): ditto.
2234 (initialize_widget_image_instance): ditto
2235 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2236 before handing on control to device multi-methods.
2237 (syms_of_glyphs_widget): new function.
2238 (image_instantiator_format_create_glyphs_widget): new function,
2239 added placeholders for button, edit, combo, scrollbar
2240 (vars_of_glyphs_widget): new function.
2242 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2243 storing window ids of widgets.
2245 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2246 deletion of widget and subwindow glyphs.
2247 (mswindows_unmap_subwindow): new device function for unmapping
2248 subwindows on a msw frame.
2249 (mswindows_map_subwindow): ditto.
2250 (mswindows_register_image_instance): register instantiated widgets
2251 with the widget hastable.
2252 (mswindows_button_instantiate): instantiate a button type widget
2254 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2256 (image_instantiator_format_create_glyphs_mswindows): add device
2257 multi-methods for xbm, xpm, subwindow, edit and button.
2259 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2260 information about subwindows visible on the current frame. used by
2261 redisplay_clear_region to unmap subwindows as required.
2263 * frame.c (mark_frame): mark subwindow_cachels.
2264 (allocate_frame_core): instantiate subwindow_cachels.
2266 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2269 * event-msw.c (mswindows_wnd_proc): add call to
2270 mswindows_handle_gui_wm_command to handle widget callbacks.
2272 * emacs.c (main_1): add calls to glyphs-widget initialisation
2275 * console.h (struct console_methods): add
2276 unmap/map_subwindow_method for use be redisplay_clear_region to
2277 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2278 with by image instantiator multi-methods. Add
2279 resize_subwindow_method.
2281 * console-stream.c (stream_clear_region): change signature to
2282 match new generic clear region function.
2284 * Makefile.in.in: add glyphs-widget.o to list of objects.
2286 * console-msw.h (struct mswindows_frame): add widget hashtable for
2287 wiring command ids to callbacks.
2289 1998-12-16 Andy Piper <andy@xemacs.org>
2291 * XEmacs 21.2.6 is released
2293 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2295 * md5.c (Fmd5): Correctly initiate string input stream.
2297 * Makefile.in.in (tests): Add md5-tests.el.
2299 1998-12-06 Martin Buchholz <martin@xemacs.org>
2302 * alloc.c (make_vector): remove travesty
2306 (make_bit_vector_internal):
2308 (make_bit_vector_from_byte_vector):
2310 - make vector_equal a little faster.
2311 - Don't use variable name `new'.
2312 - Use size_t instead of EMACS_INT.
2313 - usual Martin-style pointless bit-twiddling.
2319 Make mapcar faster. In particular, make
2320 (mapc #'identity long-string)
2321 MUCH faster under Mule.
2322 * tests/automated/lisp-tests.el: Test 'em!
2324 1998-12-06 Martin Buchholz <martin@xemacs.org>
2326 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2329 1998-12-13 Martin Buchholz <martin@xemacs.org>
2331 * console-msw.c: Function definitions follow coding standards
2332 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2334 1998-12-11 Martin Buchholz <martin@xemacs.org>
2336 * events.h (struct timeout_data):
2337 * event-tty.c (tty_timeout_to_emacs_event):
2338 * event-msw.c (mswindows_wm_timer_callback):
2339 * event-Xt.c (Xt_timeout_to_emacs_event):
2340 * event-msw.c (mswindows_cancel_dispatch_event):
2341 Make sure Lisp_Objects inside events are initialized to Qnil, not
2342 Qnull_pointer, which is now illegal.
2344 1998-12-10 Martin Buchholz <martin@xemacs.org>
2346 * lisp.h: Fix up prototypes to match alloc.c
2348 1998-12-09 Andy Piper <andy@xemacs.org>
2350 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2351 XSETINT for assigning lisp objects.
2353 1998-12-07 Martin Buchholz <martin@xemacs.org>
2356 * console-msw.c (DHEADER):
2365 - max_align_t should not be visible to the user of the
2367 - use Bufbyte instead of char
2368 - parens around (FOOP (obj)) are always redundant.
2369 If they were necessary, we should fix the macro instead.
2370 - Always use string_data(foo) instead of foo->data.
2372 1998-12-07 Martin Buchholz <martin@xemacs.org>
2374 * sysdep.c (set_descriptor_non_blocking):
2375 Since O_NONBLOCK is now always #defined, make use of fcntl
2376 conditional on F_SETFL being defined.
2378 1998-12-09 Andy Piper <andy@xemacs.org>
2380 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2381 that got removed in the merge
2383 1998-11-30 Greg Klanderman <greg@alphatech.com>
2385 * dired.c (vars_of_dired): bugfix for previous conditionalization
2386 of user-name-completion on non- Windows NT.
2388 1998-12-08 Martin Buchholz <martin@xemacs.org>
2390 * windowsnt.h: Remove `support' for using index and rindex
2392 * filelock.c (current_lock_owner):
2393 - Change uses of index -> strchr, rindex -> strrchr
2395 1998-12-06 Martin Buchholz <martin@xemacs.org>
2397 * frame-msw.c (mswindows_init_frame_1):
2398 - use make_lisp_hash_table, not Fmake_hash_table
2401 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2403 * XEmacs 21.2.5 is released
2405 1998-11-30 Martin Buchholz <martin@xemacs.org>
2407 * xselect.c (receive_incremental_selection):
2408 * xselect.c (x_get_window_property):
2409 * xmu.c (XmuReadBitmapDataFromFile):
2410 * xmu.c (XmuCursorNameToIndex):
2411 * xgccache.c (describe_gc_cache):
2412 * xgccache.c (gc_cache_lookup):
2413 * xgccache.c (free_gc_cache):
2414 * xgccache.c (make_gc_cache):
2416 * window.c (map_windows_1):
2417 * window.c (Fother_window_for_scrolling):
2418 * window.c (window_scroll):
2419 * window.c (change_window_height):
2420 * window.c (Fsplit_window):
2421 * window.c (window_left_gutter_width):
2422 * window.c (window_modeline_height):
2423 * window.c (invalidate_vertical_divider_cache_in_window):
2424 * window.c (window_needs_vertical_divider_1):
2425 * window.c (update_mirror_internal):
2426 * window.c (SET_LAST_FACECHANGE):
2427 * widget.c (Fwidget_plist_member):
2428 * unexec.c (copy_text_and_data):
2429 * unexcw.c (copy_executable_and_dump_data_section):
2431 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2432 * tooltalk.c (struct Lisp_Tooltalk_Message):
2433 * toolbar.h (struct toolbar_button):
2434 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2435 * toolbar.c (recompute_overlaying_specifier):
2436 * toolbar.c (toolbar_validate):
2437 * toolbar.c (toolbar_button_at_pixpos):
2438 * toolbar.c (get_toolbar_coords):
2439 * toolbar.c (update_frame_toolbars):
2441 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2442 * toolbar-msw.c (mswindows_find_toolbar_pos):
2443 * toolbar-msw.c (mswindows_output_toolbar):
2444 * toolbar-msw.c (mswindows_clear_toolbar):
2453 * sysdep.c (sys_fopen):
2454 * sysdep.c (sys_open):
2455 * sysdep.c (tty_init_sys_modes_on_device):
2456 * sysdep.c (get_eof_char):
2457 * sysdep.c (child_setup_tty):
2458 * sysdep.c (set_descriptor_non_blocking):
2460 * syntax.c (scan_words):
2463 * symeval.h (struct symbol_value_varalias):
2464 * symeval.h (struct symbol_value_forward):
2465 * symbols.c (syms_of_symbols):
2466 * symbols.c (init_symbols_once_early):
2467 * symbols.c (Fbuilt_in_variable_type):
2468 * symbols.c (Fsymbol_value_in_buffer):
2469 * symbols.c (default_value):
2471 * symbols.c (find_symbol_value_quickly):
2472 * symbols.c (store_symval_forwarding):
2473 * symbols.c (set_default_console_slot_variable):
2474 * symbols.c (set_default_buffer_slot_variable):
2475 * symbols.c (verify_ok_for_buffer_local):
2476 * symbols.c (symbol_is_constant):
2477 * symbols.c (oblookup):
2478 * symbols.c (Funintern):
2479 * symbols.c (Fintern):
2480 * symbols.c (check_obarray):
2482 * specifier.h (struct specifier_methods):
2484 * specifier.c (specifier_instance):
2485 * specifier.c (specifier_instance_from_inst_list):
2486 * specifier.c (decode_locale_type):
2487 * specifier.c (specifier_equal):
2488 * specifier.c (finalize_specifier):
2489 * specifier.c (prune_specifiers):
2490 * specifier.c (kill_specifier_buffer_locals):
2491 * sound.c (init_native_sound):
2494 * search.c (Fmatch_data):
2495 * search.c (match_limit):
2496 * search.c (Freplace_match):
2497 * search.c (skip_chars):
2498 * search.c (scan_buffer):
2500 * scrollbar.c (specifier_vars_of_scrollbar):
2501 * scrollbar.c (Fscrollbar_set_hscroll):
2502 * scrollbar.c (vertical_scrollbar_changed_in_window):
2503 * scrollbar.c (release_window_mirror_scrollbars):
2504 * scrollbar.c (free_scrollbar_instance):
2507 * s/msdos.h (O_BINARY):
2509 * s/freebsd.h (LIBS_TERMCAP):
2510 * regex.c (re_match_2_internal):
2511 * regex.c (compile_extended_range):
2512 * regex.c (POP_FAILURE_POINT):
2513 * regex.c (PUSH_FAILURE_POINT):
2514 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2516 * redisplay.h (struct display_line):
2517 * redisplay.h (struct rune):
2518 * redisplay.c (vars_of_redisplay):
2519 * redisplay.c (redisplay_variable_changed):
2520 * redisplay.c (UPDATE_CACHE_RETURN):
2521 * redisplay.c (validate_line_start_cache):
2522 * redisplay.c (mark_redisplay_structs):
2523 * redisplay.c (mark_glyph_block_dynarr):
2524 * redisplay.c (window_line_number):
2525 * redisplay.c (redisplay_frame):
2526 * redisplay.c (redisplay_window):
2527 * redisplay.c (generate_modeline):
2528 * redisplay.c (create_right_glyph_block):
2529 * redisplay.c (create_left_glyph_block):
2530 * redisplay.c (create_text_block):
2532 * redisplay-x.c (x_output_hline):
2533 * redisplay-x.c (x_output_vertical_divider):
2534 * redisplay-tty.c (tty_output_display_block):
2535 * redisplay-output.c (output_display_line):
2536 * redisplay-output.c:
2537 * redisplay-msw.c (mswindows_output_vertical_divider):
2538 * redisplay-msw.c (mswindows_ring_bell):
2539 * redisplay-msw.c (mswindows_output_cursor):
2543 * puresize.h (RAW_PURESIZE):
2544 * profile.c (syms_of_profile):
2545 * profile.c (Fstart_profiling):
2546 * profile.c (sigprof_handler):
2549 * process.c (vars_of_process):
2550 * process.c (read_process_output):
2551 * process.c (get_process):
2553 * process-unix.c (unix_open_multicast_group):
2554 * process-unix.c (unix_get_tty_name):
2555 * process-unix.c (unix_send_process):
2556 * process-unix.c (unix_reap_exited_processes):
2557 * process-unix.c (unix_create_process):
2558 * process-unix.c (unix_init_process_io_handles):
2559 * process-unix.c (allocate_pty):
2561 * process-nt.c (nt_open_network_stream):
2562 * process-nt.c (nt_update_status_if_terminated):
2563 * process-nt.c (nt_finalize_process_data):
2565 * print.c (debug_short_backtrace):
2566 * print.c (debug_backtrace):
2567 * print.c (print_symbol):
2568 * print.c (print_internal):
2569 * print.c (print_cons):
2570 * print.c (Fwrite_char):
2571 * print.c (print_prepare):
2572 * print.c (canonicalize_printcharfun):
2573 * print.c (output_string):
2576 * opaque.c (allocate_managed_opaque):
2578 * offix.c (DndSetData):
2579 * objects.c (face_boolean_create):
2580 * objects.c (font_instantiate):
2581 * objects.c (font_create):
2582 * objects.c (color_create):
2583 * objects.c (finalize_font_instance):
2584 * objects.c (finalize_color_instance):
2586 * objects-x.c (x_font_instance_truename):
2588 * objects-x.c (x_initialize_font_instance):
2589 * objects-x.c (allocate_nearest_color):
2590 * objects-tty.c (tty_initialize_font_instance):
2591 * objects-tty.c (tty_initialize_color_instance):
2592 * objects-msw.c (mswindows_initialize_color_instance):
2593 * ntproc.c (syms_of_ntproc):
2594 * ntproc.c (Fwin32_set_process_priority):
2595 * ntproc.c (sys_spawnve):
2597 * ntheap.c (get_data_end):
2601 * nt.c (generate_inode_val):
2602 * nt.c (sys_rename):
2604 * mule-wnnfns.c (Fwnn_hinsi_number):
2605 * mule-wnnfns.c (Fwnn_yuragi):
2606 * mule-wnnfns.c (Fwnn_common_learn):
2607 * mule-wnnfns.c (Fwnn_suffix_learn):
2608 * mule-wnnfns.c (Fwnn_prefix_learn):
2609 * mule-wnnfns.c (Fwnn_okuri_learn):
2610 * mule-wnnfns.c (Fwnn_complex_conv):
2611 * mule-wnnfns.c (Fwnn_last_is_first):
2612 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2613 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2614 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2615 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2616 * mule-wnnfns.c (Fwnn_hinsi_list):
2617 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2618 * mule-wnnfns.c (Fwnn_dict_search):
2619 * mule-wnnfns.c (Fwnn_word_toroku):
2620 * mule-wnnfns.c (Fwnn_hindo_update):
2621 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2622 * mule-wnnfns.c (Fwnn_kakutei):
2623 * mule-wnnfns.c (Fwnn_begin_henkan):
2624 * mule-wnnfns.c (Fwnn_dict_comment):
2625 * mule-wnnfns.c (Fwnn_dict_add):
2626 * mule-wnnfns.c (Fwnn_open):
2627 * mule-mcpath.c (mc_getcwd):
2628 * mule-coding.c (vars_of_mule_coding):
2629 * mule-coding.c (convert_to_external_format):
2630 * mule-coding.c (encoding_marker):
2631 * mule-coding.c (decoding_marker):
2632 * mule-coding.c (Fcopy_coding_system):
2633 * mule-coding.c (Fmake_coding_system):
2634 * mule-coding.c (Fcoding_system_list):
2635 * mule-coding.c (Ffind_coding_system):
2636 * mule-coding.c (symbol_to_eol_type):
2638 * mule-charset.c (complex_vars_of_mule_charset):
2639 * mule-charset.c (vars_of_mule_charset):
2640 * mule-charset.c (Fset_charset_ccl_program):
2641 * mule-charset.c (struct charset_list_closure):
2642 * mule-charset.c (Ffind_charset):
2643 * mule-charset.c (make_charset):
2644 * mule-charset.c (non_ascii_valid_char_p):
2646 * mule-ccl.c (ccl_driver):
2647 * mule-canna.c (c2mu):
2648 * mule-canna.c (Fcanna_henkan_begin):
2649 * mule-canna.c (Fcanna_parse):
2650 * mule-canna.c (Fcanna_store_yomi):
2651 * mule-canna.c (Fcanna_touroku_string):
2652 * mule-canna.c (Fcanna_initialize):
2654 * menubar.c (menu_parse_submenu_keywords):
2655 * menubar-x.c (make_dummy_xbutton_event):
2656 * menubar-x.c (set_frame_menubar):
2657 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2660 * menubar-msw.c (mswindows_popup_menu):
2661 * menubar-msw.c (mswindows_update_frame_menubars):
2662 * menubar-msw.c (mswindows_handle_wm_command):
2663 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2664 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2665 * menubar-msw.c (update_frame_menubar_maybe):
2666 * menubar-msw.c (populate_or_checksum_helper):
2667 * menubar-msw.c (empty_menu):
2670 * marker.c (set_marker_internal):
2671 * marker.c (print_marker):
2674 * lstream.c (lisp_buffer_rewinder):
2675 * lstream.c (mark_lstream):
2677 * lrecord.h (struct lrecord_header):
2678 * lread.c (readevalloop):
2679 * lread.c (locate_file):
2680 * lread.c (locate_file_in_directory):
2681 * lread.c (Flocate_file):
2682 * lread.c (load_force_doc_string_unwind):
2683 * lread.c (ebolify_bytecode_constants):
2688 * linuxplay.c (linux_play_data_or_file):
2689 * linuxplay.c (audio_init):
2692 * keymap.c (describe_map):
2693 * keymap.c (describe_map_mapper):
2694 * keymap.c (Fdescribe_bindings_internal):
2695 * keymap.c (Fsingle_key_description):
2696 * keymap.c (map_keymap_sorted):
2697 * keymap.c (get_relevant_keymaps):
2698 * keymap.c (Flookup_key):
2699 * keymap.c (raw_lookup_key_mapper):
2700 * keymap.c (Fdefine_key):
2701 * keymap.c (Fevent_matches_key_specifier_p):
2702 * keymap.c (key_desc_list_to_event):
2703 * keymap.c (define_key_parser):
2704 * keymap.c (define_key_check_and_coerce_keysym):
2705 * keymap.c (keymap_submaps):
2706 * keymap.c (keymap_store_internal):
2707 * keymap.c (keymap_delete_inverse_internal):
2708 * keymap.c (keymap_store_inverse_internal):
2709 * keymap.c (print_keymap):
2710 * keymap.c (Lisp_Keymap):
2713 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2714 * insdel.c (make_gap):
2715 * input-method-xlib.c (get_XIM_input):
2716 * input-method-xlib.c (XIM_init_frame):
2721 * gui-x.c (button_item_to_widget_value):
2722 * gui-x.c (popup_selection_callback):
2723 * glyphs.h (struct image_instantiator_methods):
2724 * glyphs.c (mark_glyph_cachels):
2725 * glyphs.c (Fglyph_type):
2726 * glyphs.c (image_instantiate):
2727 * glyphs.c (image_create):
2728 * glyphs.c (make_image_instance_1):
2729 * glyphs.c (finalize_image_instance):
2731 * glyphs-x.c (finalize_subwindow):
2732 * glyphs-x.c (xface_validate):
2733 * glyphs-x.c (x_locate_pixmap_file):
2734 * glyphs-x.c (convert_EImage_to_XImage):
2736 * glyphs-msw.c (mswindows_resource_instantiate):
2737 * glyphs-msw.c (xpm_to_eimage):
2738 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2739 * glyphs-eimage.c (tiff_instantiate):
2740 * glyphs-eimage.c (png_instantiate):
2741 * glyphs-eimage.c (struct png_error_struct):
2742 * glyphs-eimage.c (gif_memory_storage):
2745 * getloadavg.c (getloadavg):
2748 * free-hook.c (log_gcpro):
2749 * free-hook.c (check_malloc):
2750 * free-hook.c (check_free):
2751 * free-hook.c (ROUND_UP_TO_PAGE):
2753 * frame.h (struct frame):
2755 * frame.c (change_frame_size_1):
2756 * frame.c (allocate_frame_core):
2758 * frame-x.c (x_focus_on_frame):
2759 * frame-x.c (x_init_frame_2):
2760 * frame-x.c (x_popup_frame):
2761 * frame-x.c (xemacs_XtPopup):
2763 * frame-x.c (Foffix_start_drag_internal):
2764 * frame-x.c (x_cde_destroy_callback):
2765 * frame-x.c (x_wm_hack_wm_protocols):
2766 * frame-tty.c (tty_frame_visible_p):
2767 * frame-msw.c (mswindows_make_frame_invisible):
2768 * frame-msw.c (mswindows_after_init_frame):
2769 * frame-msw.c (mswindows_init_frame_1):
2770 * fns.c (syms_of_fns):
2771 * fns.c (Fbase64_decode_string):
2773 * fns.c (Ffillarray):
2774 * fns.c (Fobject_plist):
2776 * fns.c (Fcanonicalize_lax_plist):
2777 * fns.c (Fcanonicalize_plist):
2778 * fns.c (Fplist_remprop):
2779 * fns.c (Fplist_get):
2780 * fns.c (advance_plist_pointers):
2781 * fns.c (internal_plist_put):
2782 * fns.c (Fnreverse):
2785 * fns.c (Fsubstring):
2786 * fns.c (Fbvconcat):
2788 * fns.c (length_with_bytecode_hack):
2789 * fns.c (print_bit_vector):
2791 * floatfns.c (Ffloor):
2793 * floatfns.c (in_float_error):
2794 * fileio.c (Ffile_modes):
2795 * fileio.c (Fexpand_file_name):
2796 * fileio.c (Fmake_temp_name):
2797 * fileio.c (Ffile_name_nondirectory):
2798 * fileio.c (Ffile_name_directory):
2800 * file-coding.c (vars_of_mule_coding):
2801 * file-coding.c (convert_to_external_format):
2802 * file-coding.c (encoding_marker):
2803 * file-coding.c (decoding_marker):
2804 * file-coding.c (Fcopy_coding_system):
2805 * file-coding.c (Fmake_coding_system):
2806 * file-coding.c (struct coding_system_list_closure):
2807 * file-coding.c (Ffind_coding_system):
2808 * file-coding.c (symbol_to_eol_type):
2810 * faces.h (struct face_cachel):
2811 * faces.c (vars_of_faces):
2812 * faces.c (face_property_was_changed):
2813 * faces.c (mark_face_cachels):
2814 * faces.c (temporary_faces_list):
2815 * faces.c (struct face_list_closure):
2817 * extents.h (struct extent):
2818 * extents.c (vars_of_extents):
2819 * extents.c (struct copy_string_extents_1_arg):
2820 * extents.c (add_string_extents_mapper):
2821 * extents.c (Fextent_property):
2822 * extents.c (Fset_extent_property):
2823 * extents.c (symbol_to_glyph_layout):
2824 * extents.c (properties_equal):
2825 * extents.c (print_extent):
2826 * extents.c (print_extent_1):
2827 * extents.c (extent_in_region_p):
2828 * extents.c (gap_array_make_gap):
2830 * events.h (struct Lisp_Event):
2832 * events.c (Fevent_properties):
2833 * events.c (format_event_object):
2834 * events.c (Fmake_event):
2835 * events.c (event_equal):
2836 * events.c (print_event):
2837 * events.c (mark_event):
2838 * event-stream.c ((read-char)
2839 * event-stream.c (vars_of_event_stream):
2840 * event-stream.c (syms_of_event_stream):
2841 * event-stream.c (Fset_recent_keys_ring_size):
2842 * event-stream.c (Fsit_for):
2843 * event-stream.c (Fnext_event):
2844 * event-stream.c (execute_help_form):
2845 * event-stream.c (maybe_kbd_translate):
2847 * event-msw.c (vars_of_event_mswindows):
2848 * event-msw.c (mswindows_wnd_proc):
2849 * event-msw.c (mswindows_need_event):
2850 * event-msw.c (mswindows_drain_windows_queue):
2851 * event-msw.c (mswindows_pump_outstanding_events):
2853 * event-msw.c (slurp_thread):
2854 * event-msw.c (struct ntpipe_slurp_stream):
2855 * event-msw.c (HANDLE_TO_USID):
2856 * event-Xt.c (emacs_Xt_handle_magic_event):
2857 * event-Xt.c (x_event_to_emacs_event):
2858 * event-Xt.c (x_reset_modifier_mapping):
2859 * event-Xt.c (x_reset_key_mapping):
2861 * eval.c (syms_of_eval):
2862 * eval.c (warn_when_safe):
2863 * eval.c (warn_when_safe_lispobj):
2864 * eval.c (Fbacktrace_frame):
2865 * eval.c (Fbacktrace):
2866 * eval.c (top_level_set):
2867 * eval.c (unbind_to_hairy):
2868 * eval.c (specbind_magic):
2869 * eval.c (specbind_unwind_wasnt_local):
2870 * eval.c (call2_trapping_errors):
2871 * eval.c (call1_trapping_errors):
2872 * eval.c (catch_them_squirmers_call2):
2873 * eval.c (call0_trapping_errors):
2874 * eval.c (run_hook_trapping_errors):
2875 * eval.c (catch_them_squirmers_eval_in_buffer):
2876 * eval.c (call4_in_buffer):
2877 * eval.c (call3_in_buffer):
2878 * eval.c (call2_in_buffer):
2879 * eval.c (call1_in_buffer):
2880 * eval.c (call0_in_buffer):
2881 * eval.c (run_hook):
2882 * eval.c (run_hook_with_args_in_buffer):
2885 * eval.c (do_autoload):
2886 * eval.c (un_autoload):
2887 * eval.c (Fautoload):
2888 * eval.c (Finteractive_p):
2889 * eval.c (Fcommand_execute):
2890 * eval.c (signal_quit):
2891 * eval.c (call_with_suspended_errors):
2892 * eval.c (signal_error):
2893 * eval.c (return_from_signal):
2894 * eval.c (Fcall_with_condition_handler):
2895 * eval.c (run_condition_case_handlers):
2896 * eval.c (condition_case_1):
2897 * eval.c (Funwind_protect):
2898 * eval.c (unwind_to_catch):
2899 * eval.c (internal_catch):
2900 * eval.c (Fmacroexpand_internal):
2901 * eval.c (Fuser_variable_p):
2902 * eval.c (Fdefconst):
2904 * eval.c (Ffunction):
2905 * eval.c (signal_call_debugger):
2906 * eval.c (call_debugger):
2909 * emacs.c (sort_args):
2913 * editfns.c (Fencode_time):
2914 * editfns.c (Fdecode_time):
2915 * editfns.c (Fuser_full_name):
2917 * editfns.c (save_excursion_restore):
2920 * doprnt.c (emacs_doprnt_1):
2921 * doc.c (verify_doc_mapper):
2922 * doc.c (Fsnarf_documentation):
2923 * doc.c (Fdocumentation):
2925 * dired.c (user_name_completion):
2926 * dired.c (Fdirectory_files):
2929 * dgif_lib.c (FreeSavedImages):
2930 * dgif_lib.c (DGifGetImageDesc):
2932 * device.h (struct device):
2933 * device.c (Fselect_device):
2934 * device.c (allocate_device):
2936 * device-x.c (Fx_keysym_on_keyboard_p):
2937 * device-x.c (Fx_valid_keysym_name_p):
2938 * device-x.c (x_IO_error_handler):
2939 * device-x.c (x_delete_device):
2940 * device-x.c (x_finish_init_device):
2941 * device-x.c (x_init_device):
2943 * device-msw.c (mswindows_init_device):
2945 * database.c (vars_of_database):
2946 * database.c (Fput_database):
2947 * database.c (Fopen_database):
2948 * database.c (berkdb_remove):
2949 * database.c (berkdb_put):
2950 * database.c (Fdatabasep):
2951 * database.c (print_database):
2953 * data.c (vars_of_data):
2954 * data.c (syms_of_data):
2955 * data.c (init_errors_once_early):
2956 * data.c (prune_weak_lists):
2957 * data.c (finish_marking_weak_lists):
2958 * data.c (print_weak_list):
2960 * data.c (Fstring_to_number):
2961 * data.c (Fnumber_to_string):
2962 * data.c (Findirect_function):
2965 * data.c (Fsubr_interactive):
2967 * data.c (Fkeywordp):
2970 * console.h (CONSOLE_NAME):
2972 * console.c (vars_of_console):
2973 * console.c (Fselect_console):
2975 * console-x.h (DEVICE_X_COLORMAP):
2976 * console-x.h (struct x_device):
2977 * console-x.c (x_device_to_console_connection):
2978 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2979 * console-tty.c (tty_init_console):
2981 * console-msw.h (struct mswindows_frame):
2984 * cmds.c (internal_self_insert):
2985 * cmds.c (Fforward_line):
2986 * cmds.c (Fforward_char):
2989 * chartab.c (mark_char_table_entry):
2991 * casefiddle.c (casify_word):
2992 * callproc.c (child_setup):
2993 * callproc.c (Fcall_process_internal):
2995 * callint.c (Fcall_interactively):
2997 * bytecode.c (execute_rare_opcode):
2998 * bytecode.c (execute_optimized_program):
3001 * buffer.h (BUFFER_REALLOC):
3002 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3003 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3005 * buffer.h (MAP_INDIRECT_BUFFERS):
3006 * buffer.h (CHECK_LIVE_BUFFER):
3007 * buffer.c (init_initial_directory):
3008 * buffer.c (complex_vars_of_buffer):
3009 * buffer.c (vars_of_buffer):
3010 * buffer.c (finish_init_buffer):
3011 * buffer.c (Fget_file_buffer):
3012 * buffer.c (Fbuffer_list):
3013 * buffer.c (mark_buffer):
3014 * balloon_help.c (balloon_help_move_to_pointer):
3015 * balloon_help.c (show_help):
3018 * alloc.c (garbage_collect_1):
3019 * alloc.c (sweep_strings):
3020 * alloc.c (sweep_compiled_functions):
3021 * alloc.c (sweep_bit_vectors_1):
3022 * alloc.c (sweep_vectors_1):
3023 * alloc.c (sweep_lcrecords_1):
3024 * alloc.c (tick_lcrecord_stats):
3025 * alloc.c (pure_string_sizeof):
3026 * alloc.c (mark_conses_in_list):
3027 * alloc.c (mark_object):
3028 * alloc.c (report_pure_usage):
3029 * alloc.c (make_pure_float):
3030 * alloc.c (make_pure_string):
3031 * alloc.c (free_managed_lcrecord):
3032 * alloc.c (mark_string):
3033 * alloc.c (noseeum_make_marker):
3034 * alloc.c (allocate_event):
3035 * alloc.c (Fbit_vector):
3036 * alloc.c (Fvector):
3037 * alloc.c (make_float):
3038 * alloc.c (Fmake_list):
3040 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3041 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3042 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3043 * alloc.c (dbg_constants):
3044 * alloc.c (gc_record_type_p):
3045 * alloc.c (free_lcrecord):
3046 * alloc.c (xmalloc):
3047 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3049 * Makefile.in.in (mostlyclean):
3050 * Makefile.in.in (external_client_xlib_objs_nonshared):
3051 * Makefile.in.in (temacs_link_args):
3052 * Makefile.in.in (release):
3053 * Makefile.in.in (dnd_objs):
3054 * Makefile.in.in (objs):
3055 * Makefile.in.in (PROGNAME):
3056 * EmacsShell.c: cast strings to (XtPointer)
3057 * EmacsFrame.c: cast strings to (XtPointer)
3059 - rewrite basic lisp functions for speed
3060 - rewrite bytecode interpreter for speed
3061 - rewrite list looping constructs for speed and safety using
3063 - use size_t where appropriate.
3064 - new hashtable implementation
3065 - cleanup implementation of opaques
3066 - opaques can now be purecopy'ed
3067 - move some cl functionality into C for speed.
3068 - remove last remaining VMS support
3070 - improve gdb/dbx debugger support
3071 - move pure.c back into alloc.c for performance
3072 - enable report_pure_usage() if --memory-usage-stats
3073 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3074 - don't use symbols with leading `_' or embedded `__'
3075 - globally cleanup duplicated semicolons `;;'
3076 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3078 - globally replace O_NDELAY with O_NONBLOCK.
3079 - globally replace CDISABLE with _POSIX_VDISABLE.
3080 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3081 - define (and maybe use!) STDERR_FILENO and friends.
3082 - add support for macros defined in C
3083 - `when', `unless', `not' and `defalias' now defined in C,
3084 so that they are universally available.
3085 - rename defvar_mumble to defvar_magic
3086 - rename RETURN__ to RETURN_SANS_WARNINGS
3087 - use consistent style of initial caps in error messages
3088 - implement last, butlast, nbutlast, copy-list in C.
3089 - provide typedefs for all struct Lisp_foo types
3090 - Lisp_Objects must be initialized to Qnil rather than 0.
3091 - make sure XEmacs runs (slowly) with always_gc == 1;
3092 - fast and safe LOOP_* macros
3093 - change calls to XSETOBJ to XSETFOO
3094 - replace calls to XSETINT by make_int()
3095 - plug up memory leaks
3096 - use style markobj (foo), not silly ((markobj) (foo))
3097 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3099 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3101 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3103 1998-11-28 SL Baur <steve@altair.xemacs.org>
3105 * XEmacs 21.2-beta4 is released.
3107 1998-11-27 SL Baur <steve@altair.xemacs.org>
3109 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3110 property in control-1 charset.
3111 From Julian Bradfield <jcb@daimi.au.dk>
3113 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3115 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3117 Add stub for :label.
3119 * gui.c (gui_item_add_keyval_pair): ditto.
3121 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3122 :key-sequence keyword.
3124 Support :active for submenus like the Windows code and FSF Emacs.
3126 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3128 * dired.c (make_directory_hash_table): make_string() is OK because
3129 readdir() Mule-encapsulates.
3131 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3133 * fns.c (Fbase64_encode_string): Fix docstring.
3134 (Fbase64_decode_string): Ditto.
3136 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3138 * editfns.c (Ftranslate_region): Use
3139 convert_bufbyte_string_into_emchar_string().
3141 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3143 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3145 (Ftranslate_region): Turn table into an array of Emchars for
3148 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3150 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3152 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3154 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3155 type `char' with nils.
3157 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3158 for tables of type `char'.
3160 1998-11-26 Didier Verna <verna@inf.enst.fr>
3162 * input-method-xlib.c (Initialize_Locale): don't call
3163 XtSetLanguageProc. We've done the whole work here.
3164 * input-method-xfs.c (Initialize_Locale): ditto.
3165 * input-method-motif.c (Initialize_Locale): ditto.
3167 1998-11-26 Didier Verna <verna@inf.enst.fr>
3169 * process-unix.c (unix_create_process): handle properly
3170 Vfile_name_coding_system for converting the program and directory
3173 1998-11-27 SL Baur <steve@altair.xemacs.org>
3175 * m/arm.h: New file.
3176 From James LewisMoss <dres@ioa.com>
3178 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3181 Fix the realpath() problem of UnixWare2.1.3.
3182 Patches for NEC's sysv4.2 machine.
3184 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3186 * dired.c (Fdirectory_files): Remove redundant code.
3188 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3190 * fns.c (free_malloced_ptr): New function.
3191 (XMALLOC_OR_ALLOCA): New macro.
3192 (XMALLOC_UNBIND): Ditto.
3193 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3194 to be freed in case of non-local exit.
3195 (Fbase64_encode_string): Ditto.
3196 (Fbase64_decode_region): Ditto.
3197 (Fbase64_decode_string): Ditto.
3198 (STORE_BYTE): New macro.
3199 (base64_decode_1): Use it.
3201 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3203 * fns.c (base64_value_to_char): Base64 stuff.
3205 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3207 * editfns.c (Fbuffer_substring): New function.
3209 * lisp.h: Declare make_string_from_buffer_no_extents().
3211 * insdel.c (make_string_from_buffer_1): New function.
3212 (make_string_from_buffer_no_extents): Ditto.
3214 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3216 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3217 sound work on AIX with OSS installed. Linux should still work.
3219 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3221 * config.h.in: name change for cygwin/version.h
3223 * configure.in: check for cygwin/version.h now.
3225 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3226 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3227 move cygwin32/version.h to cygwin/version.h
3229 1998-11-03 Olivier Galibert <galibert@pobox.com>
3231 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3234 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3236 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3237 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3238 enable BROKEN_SIGIO under b20 to make QUIT work.
3240 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3242 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3243 to fit within the constraints of the screen size. I.e. make the
3244 frame small enough to fit and move it if some of it will be
3247 1998-10-19 Greg Klanderman <greg@alphatech.com>
3249 * dired.c: conditionalize inclusion of user-name-completion
3250 primitives on non-Windows NT. The needed functions don't exist on NT.
3252 1998-11-24 SL Baur <steve@altair.xemacs.org>
3254 * gifrlib.h: Clean up types for 64 bit compile.
3255 * dgif_lib.c (DGifInitRead): Ditto.
3256 (MakeSavedImage): Ditto.
3257 * emacs.c (decode_path): Ditto.
3258 From Steve Carney <carney@pa.dec.com>
3260 1998-10-16 William M. Perry <wmperry@aventail.com>
3262 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3263 (cehckboxes instead of checkboxes).
3265 1998-10-15 SL Baur <steve@altair.xemacs.org>
3267 * XEmacs 21.2-beta3 is released.
3269 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3271 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3272 gnuclient. Otherwise, we run xemacs as we always did. This gets
3273 rid of the annoying DOS window when running gnuclient.
3275 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3277 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3278 HAVE_MS_WINDOWS typo.
3280 1998-10-13 SL Baur <steve@altair.xemacs.org>
3282 * process-unix.c (unix_send_process): Set closed flag on writable
3283 pipe after SIGPIPE is received and before we call deactivate_process.
3285 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3287 * window.c (Fset_window_start): respect narrowing when
3288 checking wheter start is at the beginning of a line.
3289 (Fset_window_buffer): Ditto
3290 Fixes repeatable crash in VM.
3292 1998-10-09 SL Baur <steve@altair.xemacs.org>
3294 * window.c (specifier_vars_of_window): Set default vertical
3295 divider width to 1 on ttys.
3297 1998-10-08 Martin Buchholz <martin@xemacs.org>
3302 Add <stddef.h> to get ptrdiff_t declaration
3304 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3306 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3307 is used for Motif or Lucid scrollbars under X.
3309 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3311 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3314 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3316 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3318 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3320 * s/cygwin32.h: more cygwin b20 reorganisation.
3322 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3324 * nas.c: Added necessary support functions to be able to handle
3325 WAVE files in memory, just like the support for SND files in
3328 1998-09-30 SL Baur <steve@altair.xemacs.org>
3330 * callproc.c (child_setup): Fix spelling typo.
3332 1998-09-29 SL Baur <steve@altair.xemacs.org>
3334 * XEmacs 21.2-beta2 is released.
3336 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3338 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3339 to prevent memory corruption in the case of jumping out of a series of
3340 nested match patterns. This is a rather brute force approach, though.
3342 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3344 * config.h.in: ditto.
3346 * s/cygwin32.h: rearrange declarations to cope with cygwin
3347 b20. Include cygwin32/version.h if it exists.
3349 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3351 * device-msw.c (mswindows_init_device): Call new
3352 mswindows_enumerate_fonts() function in objects-msw.c instead
3353 of font_enum_callback_1() to enumerate fonts.
3355 font_enum_callback_1() and _2() moved to objects-msw.c.
3357 * faces.c (complex_vars_of_faces): Make the mswindows default
3358 face font fully specified and provide some fallbacks.
3360 * objects-msw.c: font_enum_callback_1() and _2() moved here
3361 from objects-msw.c. Obtain the enumerated font's character
3362 sets by table lookup instead of using the locale-specific
3363 string provided by Windows.
3365 New public non-method mswindows_enumerate_fonts() that fills
3366 in the supplied mswindows device's font list.
3368 mswindows_initialize_font_instance: Use the supplied name
3369 variable instead of f->name when signalling errors. Match font
3370 weights and character sets using lookup tables which handle
3371 spaces instead of by frobbing.
3373 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3375 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3376 on the size of code fragments passed to run_in_other_process.
3378 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3379 the amount of memory to allocate in the other process.
3381 Removed sigkill_code_end(), sigint_code_end() and
3382 sig_enable_code_end() since they are now redundant.
3384 send_signal() and enable_child_signals(): Don't try to work
3385 out the end of the code fragments passed to
3386 run_in_other_process()
3388 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3390 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3393 * src/unexelf.c: Partially synched with FSF's 20.3.
3395 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3397 * insdel.c (signal_after_change): Map across indirect buffers
3398 here, and not in the upper-level functions.
3399 (signal_first_change): Don't check for Armageddon.
3400 (signal_before_change): Map across indirect buffers here.
3401 (prepare_to_modify_buffer): ...and here.
3403 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3405 * insdel.c (signal_after_change): Add return value.
3406 (buffer_insert_string_1): Use it.
3407 (buffer_delete_range): Ditto.
3408 (buffer_replace_char): Ditto.
3409 (cancel_multiple_change): Map the indirect buffers.
3411 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3413 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3414 (uninit_buffer_text): Ditto.
3416 * buffer.c (Fmake_indirect_buffer): Implement stricter
3419 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3421 * insdel.c (change_function_restore): Reverse order of
3422 function-call and assignment.
3423 (first_change_hook_restore): Ditto.
3425 * extents.c (mark_extent_auxiliary): Mark them.
3426 (Fset_extent_property): Set them.
3427 (Fextent_property): Get them.
3428 (Fextent_properties): Ditto.
3429 (vars_of_extents): Set their default.
3431 * extents.h (struct extent_auxiliary): Add before_change_functions
3432 and after_change_functions.
3434 * insdel.c (signal_before_change): Use it.
3435 (signal_after_change): Ditto.
3437 * extents.c (report_extent_modification): New function.
3439 * insdel.c (signal_before_change): Don't check for Armageddon.
3440 (signal_after_change): Ditto.
3442 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3444 * redisplay.c (redisplay_window): make sure a new starting point
3445 is chosen if it somehow got moved from the beginning of the line
3446 -- this can happen because Fwiden was called recently.
3448 * window.c (Fset_window_start): set start_at_line_beg correctly
3449 (Fset_window_buffer): Ditto
3451 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3453 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3454 (uninit_buffer_text): Ditto.
3456 * buffer.c (Fmake_indirect_buffer): Implement stricter
3459 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3461 * emacs.c (main_1): Removed references to *vars_of_filelock.
3463 * lisp.h: Added Fsystem_name.
3465 * filelock.c: Replaced by version from FSF 20.2. Now implements
3466 locking by using symlinks which is NFS safe. However keep the
3467 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3468 version (and of course use ansi C, acessor macros, etc).
3470 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3472 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3473 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3474 in init_signals_very_early. However these should not be passed
3475 on to children attached to the new pty.
3477 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3479 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3481 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3483 * fileio.c (file-name-directory, file_name_as_directory):
3484 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3486 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3488 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3490 * ralloc.c: uncomment __morecore.
3492 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3494 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3495 WriteFile() to fix a winsock 1.x bug on Win95.
3497 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3499 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3501 (x_event_to_emacs_event): Ditto.
3502 (emacs_Xt_handle_focus_event): Ditto.
3503 (emacs_Xt_handle_magic_event): Ditto.
3505 * console-x.h (struct x_device): New flag being_deleted.
3506 (DEVICE_X_BEING_DELETED): New macro.
3508 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3509 returning. Before doing that, set the being_deleted flag on the
3512 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3514 * device-x.c (x-seppuku-on-epipe): Removed.
3516 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3518 * frame-x.c (x_delete_frame): Flush the X output buffer after
3519 calling XtDestroyWidget to ensure that the windows are really
3522 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3524 * menubar-x.c (my_run_hook): New unused function.
3525 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3526 since we ignore the results of the contained functions anyway.
3528 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3530 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3531 interlaced GIF files that are smaller than 4 lines high...
3533 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3535 * buffer.c (map_over_sharing_buffers): Deleted.
3537 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3539 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3542 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3544 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3546 (buffer_delete_range): Ditto.
3548 * marker.c (init_buffer_markers): Set point-marker to the value of
3549 point in an indirect buffer.
3551 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3553 * undo.c (undo_prelude): Test last-undo-buffer against base
3556 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3558 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3560 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3562 * insdel.c (init_buffer_text): Initialize it here.
3564 * line-number.c: Address line_number_cache through buffer->text.
3566 * buffer.c (mark_buffer): Mark line number cache.
3568 * bufslots.h (line_number_cache): Move to struct buffer_text.
3570 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3571 across the children buffers.
3572 (buffer_delete_range): Ditto.
3573 (buffer_replace_char): Ditto.
3577 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3579 * buffer.c (Fmake_indirect_buffer): Uncomment.
3581 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3583 * macros.c (Fend_kbd_macro): Remove trailing period from error
3585 (Fexecute_kbd_macro): Ditto.
3587 1998-08-21 Greg Klanderman <greg@alphatech.com>
3589 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3590 (Fuser_name_completion_1): new function to return uniqueness
3591 indication in addition to the user name completion.
3592 (user_name_completion): change type of `uniq' argument.
3594 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3596 * lread.c (vars_of_lread): Removed `source-directory' variable.
3598 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3600 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3603 1998-08-19 SL Baur <steve@altair.xemacs.org>
3605 * dired.c (vars_of_dired): Fix misapplied patch.
3607 1998-08-16 Martin Buchholz <martin@xemacs.org>
3609 * fns.c (Fremrassq, remrassq_no_quit):
3610 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3612 1998-07-17 Didier Verna <verna@inf.enst.fr>
3614 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3615 style as foreground GC for faces that have the `dim' property.
3616 (x_output_string): when the `dim' face property is set,
3617 ensure the gray pixmap has been created, and get a proper
3618 foreground GC to draw the text.
3620 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3622 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3623 Manually track the state of the left and right Ctrl and Alt
3626 1998-08-07 Matt Stupple <matts@tibco.com>
3628 * ntproc.c: don't wait on char_consumed at thread entry.
3629 Additionally, to get the 'process' marked as finished, ensure
3630 that the CHILD_ACTIVE macro returns false, so before exiting
3631 close char_avail and set it to NULL, and close other handles
3632 to reduce handle leak problems.
3634 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3636 * menubar-msw.c (displayable_menu_item): take account of menu
3637 depth when deciding whether to try to display accelerators.
3639 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3641 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3644 * glyphs-msw.c: fix a couple of potential handle leaks.
3646 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3648 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3649 *decoding ONLY* back into the core.
3650 * glyphs-eimage.c: Change referenced header file for GIF
3651 reading to point to the incore version.
3653 1998-07-20 Martin Buchholz <martin@xemacs.org>
3655 * casefiddle.c (casify_object):
3656 Change algorithm from O(N**2) to O(N).
3660 1998-07-22 Greg Klanderman <greg@alphatech.com>
3662 * dired.c (file_name_completion_unwind): don't leak the cons.
3664 1998-07-20 Greg Klanderman <greg@alphatech.com>
3666 * dired.c (Fuser_name_completion): new function.
3667 (Fuser_name_all_completions): new function.
3668 (user_name_completion): new function.
3669 (syms_of_dired): 2 new DEFSUBRs.
3670 (vars_of_dired): initialize user name cache vars.
3672 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3674 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3675 colors taken from the default face. Also correct a thinko in
3676 transparency (not alpha) handling.
3678 1998-07-23 Martin Buchholz <martin@xemacs.org>
3680 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3681 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3682 * lread.c (Fload_internal): Be very careful with printfs of
3684 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3687 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3689 * callint.c (Fcall_interactively): GCPRO prompt string before
3690 passing it to Fread_key_sequence
3692 1998-07-27 SL Baur <steve@altair.xemacs.org>
3694 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3695 Vvertical_divider_map.
3697 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3698 Qnil or 0, none were initialized prior to this change.
3700 Rename misnamed `V' prefixed integer variables:
3701 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3702 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3703 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3704 Vcanna_ichiran_revLen.
3706 Rename misnamed `V' prefixed integer variables and initialize
3707 properly in the vars_of routine.
3708 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3709 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3710 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3711 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3712 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3713 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3714 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3715 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3716 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3717 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3718 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3719 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3720 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3721 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3722 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3723 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3724 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3725 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3726 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3727 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3728 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3729 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3730 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3731 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3732 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3733 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3734 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3735 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3736 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3737 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3738 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3739 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3740 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3741 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3742 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3743 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3744 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3745 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3746 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3747 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3748 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3749 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3750 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3751 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3752 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3753 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3755 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3757 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3758 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3759 keys thus no longer considering all keysyms on a key.
3761 1998-07-19 SL Baur <steve@altair.xemacs.org>
3763 * XEmacs 21.2-beta1 is released.
3765 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3767 * eldap.c (Fldap_search_internal): When converting the list of
3768 attributes to search Copy the final 0 from Lisp strings to C
3770 Check base, not Vldap_default_base as a a string
3772 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3774 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3776 * unexnt.c: Unconditionally define bss_start and bss_size, and
3777 ensure that they don't go in the .bss section.
3779 1998-07-17 Olivier Galibert <galibert@pobox.com>
3781 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3782 byte order is dependant of the local byte order).
3783 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3785 1998-07-18 SL Baur <steve@altair.xemacs.org>
3787 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3788 Qmswindows_resource.
3789 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3791 1998-07-12 SL Baur <steve@altair.xemacs.org>
3793 * general.c (syms_of_general): Add defsymbol for Qresource.
3795 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3796 Qmswindows_resource.
3797 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3798 (mswindows_resource_validate): Rename.
3799 (mswindows_resource_normalize): Rename.
3800 (mswindows_resource_possible_dest_types): Rename.
3801 (mswindows_resource_instantiate): Rename.
3802 (image_instantiator_format_create_glyphs_mswindows): Replace
3803 `resource' with `mswindows.resource'.
3805 * XEmacs 21.0-pre5 is released.
3807 1998-07-10 SL Baur <steve@altair.xemacs.org>
3809 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3810 server type in environment.
3811 Use alloca-ed strings instead of tiny fixed size ones.
3813 1998-07-09 SL Baur <steve@altair.xemacs.org>
3815 * XEmacs 21.0-pre4 is released.
3817 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3819 * fileio.c: (expand_file_name): under win32: Don't treat names
3820 as UNC names if a drive letter has been specified. If a drive
3821 has been specified, strip out extra directory-seperators that
3822 reportedly cause problems under Win95.
3824 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3826 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3827 MSVC >= 5.0. Put emacs init and zero-init data in a special
3828 section of the executable when this is defined.
3830 * unexnt.c, ntheap.h:
3831 Removed unused find_section() and get_section_size().
3834 Fix up the executable's checksum after dumping otherwise the
3836 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3837 zero-init data separately from init data. Dump emacs data
3838 into a special section of the executable.
3839 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3840 my_ebss instead of up to the end of bss.
3842 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3844 * filelock.c: Removed Vconfigure_lock_directory - already
3847 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3848 defined in frame.c and general.c respectively.
3850 * glyphs-msw.c: Removed Qresource - already defined in
3853 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3855 * eldap.c (Fldap_search_internal): Docstring fixes
3857 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3859 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3860 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3861 EMACSPACKAGEPATH and INFOPATH variables.
3862 Removed unused get_emacs_configuration function.
3864 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3865 it is now defined at build-time by the makefile.
3867 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3869 * fileio.c: (expand_file_name): under win32: Don't treat names as
3870 UNC names if a drive letter has been specified. If a drive has
3871 been specified, strip out extra directory-seperators that
3872 reportedly cause problems under Win95.
3874 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3876 * faces.c (complex_vars_of_faces): for the gui-element face don't
3877 fallback to the default face, instead provide reasonable default
3878 fallbacks that were previously hardcoded elsewhere.
3880 1998-07-06 Olivier Galibert <galibert@pobox.com>
3882 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3883 when the X server endianness is different than the client's one.
3885 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3887 * eval.c (run_hook_with_args_in_buffer): Check
3888 default (non-buffer-local) value of hook for
3889 nil before treating it as a function. Don't initialize
3890 the `globals' variable twice.
3892 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3894 * fileio.c: Don't do directory seperator canonicalisation in
3895 substitute-in-file-name because we don't know that the
3896 filename refers to a local file.
3898 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3900 * process-nt.c (nt_create_process): Try appending the standard
3901 executable file extensions to the filename if none supplied.
3903 1998-06-29 SL Baur <steve@altair.xemacs.org>
3905 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3907 From Keisuke Mori <ksk@ntts.com>
3909 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3911 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3912 images if we have masks. This handles the xbm case (have masks)
3913 and avoids overuse of resources in the xpm case (generally no masks).
3914 Don't output small toolbars.
3916 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3918 * eval.c (run_hook_with_args_in_buffer): Don't treat
3919 the default value of a buffer local hook as a list of
3920 hooks unless it is both a cons and the car of that cons
3923 1998-06-29 SL Baur <steve@altair.xemacs.org>
3925 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3926 * process-unix.c: Ditto.
3927 * mule-coding.h: Ditto.
3928 * mule-coding.c: Ditto.
3929 * mule-charset.c: Ditto.
3930 * mule-charset.h: Ditto.
3931 * file-coding.c: Ditto.
3932 * file-coding.h: Ditto.
3934 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3936 * event-msw.c: Guard against recursion when freeing
3937 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3939 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3940 Call ShowWindow twice in init_frame_3 to get round runemacs
3943 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3945 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3947 * winslots.h: Rename.
3949 * window.c (specifier_vars_of_window): Renamed
3950 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3951 as suggested by Ben Wing.
3952 (specifier_vars_of_window): Fix docstrings.
3954 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3956 * unexaix.c: Line number information works correctly again.
3958 1998-06-22 Olivier Galibert <galibert@pobox.com>
3960 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3962 1998-06-21 Martin Buchholz <martin@xemacs.org>
3964 * editfns.c (get_home_directory): ANSIfy.
3965 XEmacs is compilable under C *and* C++.
3966 It's XEmacs, not Xemacs!
3968 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3970 * console-msw.h: added a list of fonts to device data.
3972 * device-msw.c: enumerate list of available fonts in
3973 mswindows_init_device. Free list in mswindows_delete_device.
3975 * objects-msw.c: Added helper function match_font used by
3976 mswindows_initialize_font_instance and mswindows_list_fonts.
3977 Allow a charset to be specified in a font string, even if
3978 previous fields havn't been specified.
3980 1998-06-23 Greg Klanderman <greg@alphatech.com>
3982 * indent.c (column_at_point): column cache bugfix.
3983 Set last_known_column_point to the buffer position for
3984 which the column was requested, not buffer's point.
3986 * redisplay.c (decode_mode_spec): for current-column, show
3987 window's point's column, not buffer's point's column.
3989 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3991 * menubar-msw.c (mswindows_handle_wm_command): use
3992 enqueue_misc_user event rather than
3993 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3996 * console-msw.h: declare mswindows_enqueue_magic_event.
3998 * event-msw.c (mswindows_enqueue_magic_event): make global.
4000 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4002 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4003 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4004 (add_position_to_cache): Use EMACS_INT instead of int.
4006 1998-06-21 Olivier Galibert <galibert@pobox.com>
4008 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4009 suitable for an int used as a boolean (btw, C sucks.).
4011 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4013 * object-msw.c: remove warnings.
4015 * device-msw.c: #define wrongly named cygwin structure elements.
4017 * s/cygwin32.h: define DEMI_BOLD
4019 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4021 * redisplay-msw.c: new function mswindows_apply_face_effects.
4022 This is called by output_string and output_cursor to display
4023 underline and strikeout on faces.
4025 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4027 * console-msw.h: added a list of fonts to device data.
4029 * device-msw.c: enumerate list of available fonts in
4030 mswindows_init_device. Free list in mswindows_delete_device.
4032 * objects-msw.c: Added helper function match_font used by
4033 mswindows_initialize_font_instance and mswindows_list_fonts.
4034 Allow a charset to be specified in a font string, even if
4035 previous fields havn't been specified.
4037 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4040 Removed compilation warnings from mswindows_string_to_color.
4041 mswindows_list_fonts returns a more general bogus font.
4042 New lisp-visible function mswindows-color-list.
4044 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4046 * editfns.c (Fuser_login_name): Modify to user new function
4048 (user_login_name): C only function to avoid Lisp object overhead
4049 Returns "unknown" instead of nil in Cygwin environment
4051 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4052 equivalent for current user in Cygwin environment. Use new
4053 function user_login_name to get username.
4055 * lisp.h: Declare user_login_name
4057 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4059 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4061 Some other insignificant nitpicks.
4063 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4065 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4066 creating the image list and make sure he bk color is transparent.
4068 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4070 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4071 completed_timeouts. The timer could have expired.
4073 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4075 * console-msw.h: move XEMACS_RECT_WH inside frame
4076 parameters. define macors to access it.
4078 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4079 parameter to intialise desired sizing. (mswindows_init_frame_2):
4080 enable and size the frame to something sensible when we get
4081 here. (mswindows_set_frame_properites): use new
4082 mswindows_size_frame_internal function and size frame if frame
4083 parameters not just if init is finished - WM_SIZE happens too
4084 early for some specs. (mswindows_size_frame_internal): new
4085 function abstracted from mswindows_set_frame_properties.
4086 (Vmswindows_use_system_frame_size_defaults):
4087 new variable controls whether to allow the system to pick frame
4088 size defaults, defaults to nil.
4090 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4091 than duplicated code.
4093 1998-06-15 Colin Rafferty <colin@xemacs.org>
4095 * Makefile.in.in: Made EXTW_LINK expand properly.
4097 1998-06-12 Martin Buchholz <martin@xemacs.org>
4099 * redisplay.c (vars_of_redisplay): default value of
4100 column-number-start-at-one should be NIL!
4102 1998-06-11 Martin Buchholz <martin@xemacs.org>
4105 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4107 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4109 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4110 build_string to avoid crashes under Mule.
4112 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4114 * ntplay.c (play_sound_data_1): don't delete the sound data until
4115 the next sound is played and the previous one finished.
4117 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4119 * fileio.c (directory-sep-char): Escape backslashes.
4121 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4123 * event-stream.c: Fix docstring reference.
4125 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4127 * alloc.c (make_float): Remove useless initialization of `next'
4129 (make_pure_float): Ditto.
4131 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4133 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4135 * fileio.c (Fmake_directory_internal): Remove conditionals
4136 on WINDOWSNT when calling mkdir.
4138 * ntproc.c: Deleted the following unused functions:
4139 register_child, reap_subprocess, sys_wait.
4141 * nt.c (sys_rename): Ifzeroed this implementation.
4142 Deleted the following unused functions:
4143 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4144 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4145 sys_read, sys_write.
4146 Merger sys_fopen and sys_open with sysdep.c implementation.
4148 * sysdep.c: Removed MS-DOS code.
4149 (sys_rename): Deal with Microsoft rename weirdness.
4150 (sys_open): Implemented for Windows.
4154 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4156 * buffer.c (complex_vars_of_buffer): Removed %t description from
4159 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4161 * scrollbar-msw.c: initialize the cbSize element of the
4162 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4163 to ignore the value of cbSize, but Win95 (and I presume Win98)
4164 appear to want it set to sizeof(SCROLLINFO).
4166 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4168 * event-stream.c: Defined Qcancel_mode_internal.
4169 (syms_of_event_stream): defsymbol'ed it.
4171 * events.h: Externed it.
4173 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4175 1998-06-04 Oliver Graf <ograf@fga.de>
4177 * frame-x.c (x_cde_destroy_callback): free the data
4178 (cde-start-drag-internal) corrected root position, 21.1 needs this
4179 hardcoded in Button events
4180 (offix-start-drag-internal) corrected root position
4182 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4184 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4187 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4189 * dialog-msw.c (button_width): Removed `inline' from the function
4192 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4194 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4195 Note that adding this flag to subsequent frames causes problems.
4197 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4199 * glyphs-eimage.c (png_instantiate) move 'struct
4200 png_memory_storage tbr' out of nested block to avoid dangling
4203 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4206 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4207 inherits from gui-element.
4209 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4210 with existing code, generate masks correctly.
4212 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4214 * glyphs-eimage.c: Changed included header for gifs to use
4215 Gifreader instead of giflib.
4217 * glyphs-x.c: removed the image-related functions that were
4218 moved into glyphs-eimage.
4220 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4222 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4223 if built without X Windows support.
4225 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4227 * fns.c (Fconcat): Synch docstring with new reality.
4229 1998-06-03 SL Baur <steve@altair.xemacs.org>
4231 * frame.c: Remove reference to msdos.h (which is going away).
4232 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4234 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4236 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4240 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4242 * events.h: Fixed commentary about misc-user scrollbar events.
4244 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4245 object as an event channel, instead of window object.
4246 (x_update_horizontal_scrollbar_callback): Ditto.
4248 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4250 * ntplay.c (play_sound_data_1) new function. convert alloca data
4251 to malloc if necessary.
4252 (play_sound_file): if the file is not in our path then convert to
4255 1998-06-01 SL Baur <steve@altair.xemacs.org>
4257 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4258 * msdos.c (Frecent_doskeys): Ditto.
4260 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4261 Suggested by Reggie Perry <perry@zso.dec.com>
4263 * buffer.h: Eliminate size in declaration.
4265 1998-06-01 Olivier Galibert <galibert@pobox.com>
4267 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4269 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4271 * gui.c (gui_item_init): Changed the default value for config member
4272 from Qunbound to Qnil.
4274 1998-06-01 Greg Klanderman <greg@alphatech.com>
4276 * indent.c (vmotion_pixels): Don't #define abs().
4278 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4280 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4283 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4285 * glyphs.h: add xbm declarations.
4287 * console.h: add xbm_instantiate_method device method.
4289 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4290 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4291 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4292 locate_pixmap_file device method and read_bitmap_data_from_file
4293 instead of XmuReadBitmapDataFromFile.
4294 (xbm_instatntiate): make a device method.
4296 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4297 new function that just calls XmuReadBitmapDataFromFile.
4298 (x_xbm_instatntiate): device method from xbm_instantiate.
4300 * glyphs-msw.c (read_bitmap_data) (NextInt)
4301 (read_bitmap_data_from_file): new functions copied from Xmu
4303 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4304 inline data to an mswindows bitmap.
4305 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4306 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4309 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4311 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4312 `modeline-visible-p'.
4313 Declared specifier lisp variables at the beginning oh the file
4316 * procimpl.h (struct process_methods): Changed semantics of
4317 create_process method so it accepts lisp strings instead of
4320 * process.c (Fstart_process_internal): Moved building of
4321 unix style argv from here to process-unix.c, ...
4323 * process-unix.c (unix_create_process): ... right here.
4325 * process-nt.c (nt_create_process): Changed this function to
4326 support new semantics, so avoided a GC problem.
4328 * events.c (Fmake_event): Document misc-user events properties.
4329 (Fmake_event): Do not allow arbitrary objects for channel property
4330 of misc-user events.
4331 (Fmake_event): Change misc-user event validation: it is function
4332 which is required, not button.
4334 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4336 (mswindows_enqueue_misc_user_event): Added function.
4337 (mswindows_bump_queue): Removed function.
4338 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4339 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4340 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4341 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4342 really nothing, which is my personal favorite thing.
4344 * console-msw.h: Removed prototype for mswindows_bump_queue().
4345 Added prototype for mswindows_enqueue_misc_user_event().
4347 * menubar-msw.c (mswindows_handle_wm_command): Use
4348 mswindows_enqueue_misc_user_event().
4350 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4352 * dialog-msw.c (dialog_proc): Ditto.
4354 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4355 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4356 user events channel.
4358 1998-05-29 Greg Klanderman <greg@alphatech.com>
4360 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4361 incorrect semantics of vmotion_pixels which has been fixed. don't
4362 use it anymore as it can't easily be used.
4364 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4365 the motion was reported incorrectly if you tried to go past end of
4368 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4370 * toolbar.h: Removed misleading commentary, as Martin suggested.
4372 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4374 * lisp.h: Extern Qactivate_menubar_hook.
4376 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4379 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4381 * glyphs-msw.c: use BPLINE macro.
4383 * select-msw.c (mswindows-selection-exists-p)
4384 (mswindows-delete-selection): doc string fixes.
4386 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4387 unpressable. warning elimination.
4389 1998-05-28 Martin Buchholz <martin@xemacs.org>
4391 * alloc.c (dbg_constants):
4394 Remove toolbar_data debugging code, since that lrecord has
4397 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4399 * alloc.c: zap cached value of (user-home-directory), so that
4402 * buffer.c: From init_buffer(), separated out code that
4403 determined the initial directory for the *scratch* buffer, and
4404 put them into a function called "init_initial_directory()".
4405 The initial directory is now available as a global "char *"
4406 called initial_directory.
4408 * buffer.h: Added extern entries for initial_directory[] and
4409 init_initial_directory().
4411 * editfns.c: added new elisp function "user-home-directory",
4412 which basically returns getenv("HOME"), but attempts to use
4413 other values if $HOME isn't set.This may have to be tweaked in
4414 the future as, under Unix, "/" is used if $HOME isn't set (this
4415 probably should be set to the current directory). To support
4416 this, a new C function, "get_home_directory()", now exists,
4417 which returns the "home directory", as a "char *" string.
4419 * emacs.c: Rearrange NT initialization order so that
4420 environment/registry variables will be properly entered into
4421 Vprocess_enviroment.
4423 * fileio.c: replaced egetenv("HOME") with calls to the new
4424 get_home_directory().
4426 * lisp.h: Added function prototypes for uncache_home_directory()
4427 and get_home_directory(), along with lisp prototypes for
4428 Fuser_home_directory() and friends.
4430 * nt.c: replaced getenv("HOME") with calls to the new
4431 get_home_directory().
4433 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4434 warnings about getcwd(), etc. not having prototypes.
4436 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4438 * process-nt.c (send_signal): Emulate SIGHUP.
4439 (validate_signal_number): Ditto.
4441 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4442 remove MOD_SHIFT from ASCII characters.
4443 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4446 1998-05-24 Oliver Graf <ograf@fga.de>
4448 * frame-x.c (cde-start-drag-internal): added filename and multi-
4450 (x_cde_convert_callback) dito
4452 1998-05-26 Oliver Graf <ograf@fga.de>
4454 * frame-x.c: include event-mod.h also with CDE
4455 (x_cde_convert_callback) made the thing working
4456 (cde-start-drag-internal) also debugging
4458 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4465 - add __OpenBSD__ where __NetBSD__ was found.
4466 - TODO: replace platform-specific conditional compilation by
4467 feature tests in configure.in.
4469 1998-05-15 Greg Klanderman <greg@alphatech.com>
4471 * window.c (Fwindow_displayed_text_pixel_height): New function.
4472 (syms_of_window): DEFSUBR it.
4474 * indent.c (Fvertical_motion_pixels): New function - request
4476 (vmotion_pixels): helper.
4477 (syms_of_indent): DEFSUBR.
4478 * lisp.h: declaration for vmotion_pixels().
4480 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4481 to request returning motion in pixels.
4482 (Fvertical_motion_pixels): Remove, functionality merged into
4484 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4485 (Fmove_to_window_line): ditto.
4486 * lisp.h: Change declaration for Fvertical_motion.
4488 * window.c: rename window-text-pixel-{height,width,edges} to
4489 window-text-area-pixel-*.
4491 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4493 * tooltalk.c (vars_of_tooltalk) added staticpro for
4494 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4496 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4498 * faces.c: create a new 3d_object_face, make modeline and
4499 vertical_divider faces fallback to this rather than the default.
4501 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4503 * s/cygwin32.h: define charsets for cygwin.
4505 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4507 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4508 and coordinates. resize bitmaps if we have already settled on a
4511 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4513 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4515 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4517 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4521 * gui-x.c (popup_selection_callback): Ditto.
4523 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4525 * gui.c (get_callback): Renamed to get_gui_callback.
4527 1998-05-17 Martin Buchholz <martin@xemacs.org>
4529 * glyphs.h: order rearrangement.
4531 * device-tty.c (tty_asynch_device_change): Warning suppression.
4532 * device-x.c (x_device_system_metrics): Warning suppression.
4533 Make Doc strings consistent with coding standards.
4535 1998-05-24 Martin Buchholz <martin@xemacs.org>
4537 * general.c: multiple definition of `Qicon'. general.c seems
4538 like a good home for Qicon.
4540 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4542 * This patch is to fix compilation warnings under Windows.
4544 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4545 Added prototypes for FSF inherited functions, with which XEmacs is
4546 sprinkled thoroughly.
4547 Removed some #if 0 code. Bracketed some more definitions, probably
4548 related to Visual C versions prior to 4 (we do not support them).
4550 * sysfloat.h (logb): Finally, get logb() prototyped.
4552 * sysfile.h: Added Windows specific includes.
4553 Removed old Windows specific code bracketed with #if 0.
4555 * sysdep.h: Added prototype for xrealpath().
4557 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4559 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4560 vars_of_dired_mswindows and init_ntproc (Grrr).
4562 * realpath.c: Added Windows specific include files.
4563 (xrealpath): Conditionalized declaration of some auto variables on
4564 S_IFLNK, to avoid warnings.
4566 * ntproc.c: Disabled some compiler warnings. This file is going to
4567 die, so I have not cleaned it up much.
4568 (set_process_dir): Const parameter.
4569 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4570 (Fwin32_long_file_name): Ditto.
4571 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4574 * nt.h: Added prototypes for set_process_dir and convert_time.
4576 * nt.c: More include files.
4577 (getpwnam): Consted char* argument.
4578 (get_emacs_configuration): Const return value.
4579 (opendir): Const argument.
4580 (stat): Casted converstion long->short.
4581 (stat): Removed ad hoc and questionable support for non-MSC compile.
4582 (sys_pipe): Removed unused auto variable.
4583 (_sys_read_ahead): Removed calls to DebPrint.
4584 (sys_read): Ditto, in 2 places.
4585 (term_ntproc): Added unused int parameter to signal handler, to
4586 avoid a warning when compiling a call to signal().
4587 (msw_sigset): Properly return old signandler or NULL instead of void.
4589 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4591 * gmalloc.c (morecore): Ditto.
4592 (_free_internal): Ditto.
4594 * lread.c (parse_integer): Ditto.
4596 * dired-msw.c: Added several include files.
4598 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4599 of Compilers to Shut Up.
4601 * callproc.c: Added #includes to suppress warnings under Windows.
4602 (init_callproc): Removed #if0'ed code and unused variables.
4604 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4606 * device-msw.c (mswindows_device_system_metrics): do planes in a
4607 way consistent with X.
4609 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4610 use SetPixel, use DIBits functions.
4611 (xpm_to_eimage): frob colors more closely like xpm deos.
4613 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4614 to be closer to X version.
4616 * event-msw.c: use tooltip string directly.
4618 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4620 * objects-msw.c: frob rgb colors that only Kyle uses.
4622 * dialog-msw.c (button_width): INLINE -> inline.
4624 1998-05-23 SL Baur <steve@altair.xemacs.org>
4626 * getloadavg.c (getloadavg): Fix typo.
4628 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4630 * objects-msw.c (mswindows_initialize_font_instance): Added support
4631 for font character sets.
4632 Replaced 'XXX' with '####' in comments throughout the file.
4634 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4636 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4637 console_type_create_dialog_mswindows(), to initialize Windows dialog
4640 * symsinit.h: Prototyped the above functions.
4642 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4643 checks to dialog.c...
4645 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4646 device must support dialog boxes, and the descriptor must supply at
4649 * dialog-msw.c: New file, dialogs for Windows.
4651 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4653 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4654 (Fldap_search_internal): Removed unused variable `err'
4656 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4659 1998-05-17 Martin Buchholz <martin@xemacs.org>
4661 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4662 defined. Therefore there is no need to handle the case when
4663 HAVE_LDAP is undefined. Similarily, there is no reason to have
4664 any code wrapped within `#ifdef emacs', since this code is only
4665 useful within an emacs. This simplifies the code significantly.
4667 * inline.c: Include eldap.h only if HAVE_LDAP.
4668 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4671 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4673 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4674 printing dump stats when building without DEBUG_XEMACS.
4675 (dump_bss_and_heap): Ditto.
4677 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4679 * gnuclient.c: don't suppress window system if there is no display
4680 and we are running under mswindows. send 'mswindows device type if
4681 we are in this situation.
4683 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4686 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4688 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4691 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4693 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4694 {top,bottom}-{left,right} values in addition to
4695 {top,bottom}_{left,right}.
4697 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4699 * fileio.c (Fmake_temp_name): Remove unreached code.
4701 * process-nt.c (validate_signal_number): Use
4702 signal_simple_error().
4704 1998-05-19 Martin Buchholz <martin@xemacs.org>
4707 * sound.c (vars_of_sound):
4708 * sysdep.c (reset_sigio_on_device):
4709 * window.c (window_bottom_gutter_height):
4710 unexhp9k800.c:258: warning: implicit declaration of function
4711 `calculate_checksum'
4712 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4713 sysdep.c:1012: warning: unused variable `owner'
4714 window.c:993: warning: `window_right_toolbar_width' defined but not used
4716 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4718 * glyphs-msw.c (mswindows_create_resized_mask)
4719 (mswindows_create_resized_bitmap): new funnctions split out from
4720 mswindows_resize_dibitmap_instance.
4722 * glyphs-msw.h: declare new resize functions.
4724 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4725 functions so that the original bitmaps are preserved.
4727 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4729 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4730 color if we are trying to output 0 depth bg pixmap.
4732 * scrollbar-msw.c: warning elimination.
4734 1998-05-18 Martin Buchholz <martin@xemacs.org>
4736 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4737 directives in column 1.
4739 * search.c (skip_chars): Avoid using xzero with arrays, since some
4740 compilers get confused by the construct &array.
4742 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4745 * objects-msw.c: Changed the charset value for a new font from
4746 "don't care" to "ansi".
4748 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4750 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4752 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4753 modifier on control chars.
4754 Use IsCharAlpha() instead of isaplha().
4756 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4758 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4760 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4762 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4763 charset when creating font.
4764 (mswindows_initialize_color_instance): Do not create brush along
4766 (mswindows_finalize_color_instance): Do not delete it then.
4768 * objects-msw.h (struct mswindows_color_instance_data): Removed
4769 brush slot, and corresponding accessor macro.
4771 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4773 * toolbar.c: Removed toolbar_data lrecord implementation.
4774 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4775 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4776 (compute_frame_toolbar_buttons): Ditto.
4777 (CHECK_TOOLBAR): Ditto.
4778 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4779 (update_frame_toolbars): Do not check for changed buffer
4780 here. Toolbar information is provided by cached specs in
4781 windows. The check for buffer is eliminated becuase toolbars are
4782 marked changed in set_frame_selected_window() in frame.c
4783 Added check for changed toolbars geometry.
4784 (compute_frame_toolbars_data): Removed unused second parameter;
4785 Adjusted callers of this static function throughout the file.
4786 (init_frame_toolbars): Initialize current_toolbar_size.
4787 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4788 what is its current expansion, for clarity.
4789 (init_frame_toolbars): Ditto.
4790 (init_device_toolbars): Ditto.
4791 (init_global_toolbars): Ditto.
4793 * toolbar.h: Removed definition of toolbar_data lrecord.
4794 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4795 FRAME_CURRENT_TOOLBAR_SIZE.
4796 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4798 * toolbar-x.c (x_output_toolbar): The same change as in
4800 (x_output_toolbar): Ditto.
4801 (x_redraw_exposed_toolbar): Ditto.
4803 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4804 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4805 (mswindows_output_toolbar): Ditto.
4806 (mswindows_output_toolbar): Ditto.
4808 * frame.c (mark_frame): Removed marking of arrays, according to
4809 frameslots.h change.
4810 (nuke_all_frame_slots): Ditto.
4811 (set_frame_selected_window): Mark toolbars changed when
4812 last_nonminibuf_window changes.
4814 * frame.h (struct frame): Moved some slots to frameslots.h.
4815 Added current_toolbar_size array.
4816 Changed references from toolbar_data to toolbar_buttons in macros
4817 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4818 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4819 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4821 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4822 Moved arrays of lisp objects here from frame.h: toolbar_size,
4823 toolbar_visible_p, toolbar_border_width.
4824 Removed toolbar_data slot and added toolbar_buttons.
4826 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4828 * symsinit.h: Externed syms_of_process_nt()
4830 * emacs.c (main_1): Call syms_of_process_nt()
4832 * process-nt.c: Quote process arguments by a call to Lisp function
4833 `nt-quote-process-args'.
4834 (syms_of_process_nt): New function.
4835 (nt_send_process): Flush data stream after each write, to avoid
4836 leaving buffered data.
4837 (nt_send_process): When blocked on process output, wait for
4838 process to slurp more for progressively increasing time intervals.
4840 1998-05-17 Martin Buchholz <martin@xemacs.org>
4842 * window.c (have_undivided_common_edge): Make file-local function
4844 (map_windows): Return 0 if all map functions successful.
4847 * winslots.h: Use unlikely names for local variables in macros to
4848 avoid shadowing warnings.
4850 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4852 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4853 so that we re-output if the toolbar size has changed.
4855 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4857 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4859 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4861 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4864 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4866 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4867 get bitmap manifest constants defined.
4869 * console-msw.h: Include system files in angle brackets, not in
4872 * window.c (specifier_vars_of_window): Fixed a typo in
4873 `vertical-divider-line-width' docstirng.
4875 1998-05-16 Olivier Galibert <galibert@pobox.com>
4877 * line-number.c (delete_invalidate_line_number_cache): Use an
4879 (buffer_line_number): Remove dangerous, plain wrong when using
4880 64bits emacs ints, cast.
4882 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4884 * cmds.c (Fforward_line): Use EMACS_INTs.
4886 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4887 (scan_buffer): Ditto.
4888 (bi_find_next_newline_no_quit): Remove useless cast.
4889 (find_next_newline_no_quit): Ditto.
4890 (find_next_newline): Ditto.
4891 (find_before_next_newline): Use an EMACS_INT.
4893 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4895 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4897 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4899 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4901 * gui-x.c (popup_selection_callback): Use it.
4903 * gui.h (get_callback): Declare it.
4905 * gui.c (get_callback): New function.
4907 1998-05-15 SL Baur <steve@altair.xemacs.org>
4909 * window.c (have_undivided_common_edge): Guard scrollbar specific
4911 (window_needs_vertical_divider_1): Ditto.
4913 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4915 * emacs.c (decode_path): Eliminate compiler warning.
4916 (Fdecode_path): Renamed to Fsplit_path.
4917 (Fsplit_string_by_char): New function.
4919 1998-05-14 Damon Lipparelli <lipp@primus.com>
4921 * winslots.h: close comment
4923 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4925 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4927 * bufslots.h: Removed buffer_file_type slot.
4929 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4931 (complex_vars_of_buffer): Removed buffer-file-type variable and
4932 its default reference.
4934 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4936 * faces.c (complex_vars_of_faces): Defined
4937 Vvertical_divider_face.
4938 (vars_of_faces): Staticpro it.
4940 * faces.h: Externed Vvertical_divider_face.
4942 * redisplay-x.c (x_output_vertical_divider): Use
4943 Vvertical_divider_face to draw the divider instead of modeline
4946 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4947 divider face using Vvertical_divider_face background.
4948 Fix drawing spacing gaps around the divider.
4950 1998-05-14 Didier Verna <verna@inf.enst.fr>
4952 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4953 values for the vertical divider line width and spacing. Use the
4954 cached values from the window structure instead.
4955 (x_divider_width): ditto.
4957 * window.c (specifier_vars_of_window): new specifiers:
4958 vertical-divier -line-width and -spacing.
4959 (vertical_divider_global_width_changed): formerly known as
4960 vertical_divider_shadow_thickness_changed.
4962 * winslots.h: new slots: vertical_specifier _line_width and
4963 _spacing. Plus corrected a comment typo.
4965 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4967 * window.h: Declared window_divider_width().
4969 * console-stream.c (stream_divider_width): Removed method.
4970 (console_type_create_stream): And declaration for it.
4972 * redisplay.c (pixel_to_glyph_translation): Use
4973 window_divider_width() instead of divider_width redisplay method.
4974 (pixel_to_glyph_translation): Fix top divider edge calculation
4975 when scrollbar is on top.
4977 * window.c (window_divider_width): New function, an outphaser for
4978 divider_width redisplay method.
4979 (window_right_gutter_width): Use it.
4980 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4981 specifiers, set fallback values differently on TTYs, and document
4982 the behavior of these on TTYs in the docstrings.
4984 * scrollbar.c (update_scrollbar_instance): Use
4985 window_divider_width() instead of divider_width redisplay method.
4987 * console.h (struct console_methods): Removed divider_width_method.
4989 * redisplay-tty.c (tty_divider_width): Removed device method.
4990 (console_type_create_redisplay_tty): Removed definition for it.
4991 (tty_output_vertical_divider): Respect the value returned by
4992 window_divider_width thus divider line width specification.
4994 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4995 (console_type_create_redisplay_mswindows): Removed definition for it.
4996 (mswinodws_output_vertical_divider): Respect the value returned by
4997 window_divider_width thus divider line width specification.
4999 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5001 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5003 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5005 * glyphs-msw.c: resource loading implementation.
5006 (cursor_normalize): new function.
5007 (cursor_validate): ditto.
5008 (cursor_instantiate): ditto.
5009 (cursor_name_to_resource): ditto.
5010 (cursor_possible_dest_types): ditto.
5011 (check_valid_symbol): ditto.
5012 (check_valid_string_or_int): ditto.
5014 1998-05-14 Martin Buchholz <martin@xemacs.org>
5016 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5019 * process-unix.c (process_signal_char): Use VSUSP instead of
5020 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5022 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5024 * specifier.c (specifier_instance): Change locale precedence of
5025 instantiation so window locale has higher priority than buffer
5027 (Fspecifier_instance): Reflect this in docstring.
5028 (Fadd_spec_list_to_specifier): Ditto.
5029 (Fadd_spec_to_specifier): Ditto.
5030 (Fremove_specifier): Ditto.
5032 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5034 ** Dialog separation into a device method from Andy Piper
5036 * emacs.c (main_1): Call console_type_create_dialog_x().
5038 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5039 into this device method.
5040 (console_type_create_dialog_x): New function.
5042 * dialog.c (Fpopup_dialog_box): New function.
5043 (syms_of_dialog): Defsubr it.
5045 * console.h (struct console_methods): Declared
5046 popup_dialog_box_method().
5048 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5050 1998-05-14 Oliver Graf <ograf@fga.de>
5052 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5053 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5055 1998-05-13 Oliver Graf <ograf@fga.de>
5057 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5059 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5061 * console.h (device_metrics): Removed dbcs, input-method-editor
5062 and right-to-left metrics.
5064 * device.c (Fdevice_system_metric): Ditto.
5065 (Fdevice_system_metrics): Ditto.
5066 (syms_of_device): Ditto.
5067 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5070 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5072 * line-number.h (mark_line_number_cache): Remove unused
5075 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5076 (get_nearest_line_number): Simplify.
5077 (add_position_to_cache): Make the old marker point nowhere.
5079 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5081 ** Renamed window-divider-map => vertical-divider-map
5082 and event-over-divider-p => event-over-vertical-divider-p,
5083 in the following files/functions:
5085 * events.c (Fevent_over_divider_p):
5086 * keymap.c (get_relevant_keymaps):
5089 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5091 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5093 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5095 * window.c (vertical_divider_changed_in_window): Renamed so.
5096 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5097 (window_needs_vertical_divider_1): Decide whether we need it based
5098 on the value of the above specifier. If separators are unwanted,
5099 put them only if there's no scrollbar between this window and its
5101 (have_undivided_common_edge): New function, helper for the above.
5102 (window_needs_vertical_divider): Return either a cached value,
5103 or clauclate and cache one.
5104 (invalidate_vertical_divider_cache_in_window): Implemented.
5105 (map_windows): Changed return type to int, return the value from
5108 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5109 (struct window): Added need_vertical_divider_p and
5110 need_vertical_divider_valid_p.
5112 * winslots.h: Added vertical_divider_draggable_p slot.
5114 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5115 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5117 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5119 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5120 invalidate_vertical_divider_cache_in_frame().
5123 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5125 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5127 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5128 masks correctly and don't select 0.
5130 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5132 * winslots.h: New file, declaration of some struct window and
5133 struct saved_window members.
5135 * window.h (struct window): Include it, with required preprocessor
5138 * window.c (mark_window): Ditto.
5139 (allocate_window): Ditto.
5140 (struct saved_window): Ditto.
5141 (mark_window_config): Ditto.
5142 (saved_window_equal): Ditto.
5143 (Fset_window_configuration): Ditto.
5145 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5147 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5149 1998-05-12 Didier Verna <verna@inf.enst.fr>
5151 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5152 the divider line. The shadow thickness is currently
5153 hard-wired. This will probably be turned into a specifier soon.
5155 1998-05-12 Didier Verna <verna@inf.enst.fr>
5157 * console.h (struct console_methods): the divider_width console
5158 method now requires a struct window * argument.
5160 * redisplay-x.c (x_divider_width): ditto. Plus remove
5161 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5162 (x_output_vertical_divider): give a depressed look when the shadow
5163 thickness is negative.
5165 * console-stream.c (stream_divider_width): pass a struct window *
5168 * redisplay-tty.c (tty_divider_width): ditto.
5170 * window.c (window_right_gutter_width): totdi.
5172 * redisplay.c (generate_modeline): ittod.
5174 * scrollbar.c (update_scrollbar_instance): ttido.
5176 * redisplay-msw.c (mswindows_divider_width): ottid.
5177 WARNING: this enables to compile, but the feature is not functional.
5179 * window.h (struct window): new field
5180 vertical_divider_shadow_thickness.
5182 * window.c (specifier_vars_of_window): new specifier
5183 vertical-divider-shadow-thickness.
5184 (vertical_divider_shadow_thickness_changed): new function to
5185 inform redisplay that the window has changed.
5186 (mark_window): handle new field vertical_divider_shadow_thickness
5188 (allocate_window): ditto.
5189 (saved_window_equal): toddi.
5190 (Fset_window_configuration): totid.
5191 (save_window_save): ttdio.
5192 (struct saved_window): new field vertical_divider_shadow_thickness.
5194 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5196 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5199 1998-05-12 Oliver Graf <ograf@fga.de>
5201 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5202 * event-Xt.c (x_event_to_emacs_event): C++ compability
5204 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5206 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5209 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5211 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5214 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5216 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5218 * emacs.c (decode_path_1): New function.
5219 (decode_path): Use it.
5220 (Fdecode_path): Renamed from Fdecode_path_internal; use
5223 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5225 * macros.c (Fzap_last_kbd_macro_event): New function.
5226 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5228 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5230 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5231 multiple bitmaps are output vertically as well as horizontally.
5232 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5233 crossing lines this is handled by
5234 mswindows_output_dibitmap_region.
5236 1998-05-12 Martin Buchholz <martin@xemacs.org>
5238 * inline.c: Include eldap.h
5240 * menubar-x.c (x_update_frame_menubar_internal):
5241 Remove: unused variable `container'
5243 1998-05-11 Martin Buchholz <martin@xemacs.org>
5245 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5246 Unfortunately, the resulting temacs still cannot dump.
5248 * symbols.c (symbol_is_constant):
5249 (verify_ok_for_buffer_local):
5250 -Wswitch Warning suppression - add default case to switches.
5252 * redisplay.c (decode_mode_spec): Remove unused variables,
5253 Replace Fcoding_system_property (codesys, Qmnemonic) with
5254 XCODING_SYSTEM_MNEMONIC (codesys);
5255 Fcoding_system_property is for users.
5261 Change empty docstrings into no doc strings at all.
5262 Fix bogus FSF-format docstrings.
5265 Standardize docstrings.
5268 Explain problems with matherr.
5270 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5273 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5274 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5275 Fix the weird resultant interaction (causes windows problems)
5279 Take new EMACSBOOTSTRAPLOADPATH into account.
5280 Update documentation strings
5283 - Adjust for luser's CDPATH being set to something weird.
5284 - Take into account bash 2.02's tendency to print the cwd when
5285 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5286 - fix the run-temacs target to use $(DUMPENV)
5287 - fix the run-puremacs target to use $(DUMPENV)
5288 - fix the `depend' target to properly $(RM) the right files
5289 - Generate a better TAGS file for XEmacs' lisp code using
5290 hand-crafted regexps.
5291 - Use standard coding conventions for modules/Makefile.in
5293 1998-05-12 Didier Verna <verna@inf.enst.fr>
5295 * redisplay.c: removed the scrolling modeline code that didn't
5296 make it for 21.0. To be continued ...
5298 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5300 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5301 and empty string inputs.
5303 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5305 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5307 1998-05-10 Oliver Graf <ograf@fga.de>
5309 * event-stream.c (enqueue_misc_user_event_pos): created
5310 * lisp.h (enqueue_misc_user_event_pos): prototype added
5311 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5312 * emacs.c: call vars_of_dragdrop
5313 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5315 1998-05-11 Oliver Graf <ograf@fga.de>
5317 * frame-x.c (x_cde_transfer_callback): return at correct pos
5318 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5319 object for MIME (see comment in dragdrop.c)
5320 * dragdrop.c: API change documented in comment
5321 removed provide of dragdrop [is provided by dragdrop.el]
5323 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5325 * window.c (window_needs_vertical_divider): Enable vertical
5326 dividers for every non-rightmost window.
5327 (window_left_gutter_width): Left gutter consists of mythical
5328 toolbar and a virtual scrollbar.
5329 (window_right_gutter_width): The right one may have a divider
5332 * scrollbar.c (update_scrollbar_instance): Position vertical
5333 scrollbar left to divider if the latter present.
5335 * redisplay.h: Declared OVER_DIVIER constant.
5337 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5340 * redisplay-x.c (x_output_vertical_divider): Output divider along
5341 the right side of the window, down to window bottom. Swapped
5342 foreground and background colors so it is visible by default.
5344 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5345 stick the divider to the right window side.
5347 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5349 (mswindows_divider_width): Ask system for user preferred value.
5350 (mswindows_output_vertical_divider): Always output the divider on
5351 the right side of a window, down to bottom.
5353 * keymap.c (get_relevant_keymaps): Route mouse button events which
5354 happened over a window divider through window-divider-map.
5355 (Fkey_binding): Documented that in the docstring.
5356 Defined the variable Vwindow_divider_map.
5358 * events.c (Fevent_over_divider_p): Added this function.
5360 * events.h: EXFUNed it.
5362 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5364 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5365 toolbar geometry is suspected to change.
5367 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5371 Condition dnd and dde code on HAVE_DRAGNDROP.
5373 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5375 * events.c (format_event_object): Print space as SPC etc.
5377 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5379 * print.c (print_internal): In the default case, abort() if
5380 ERROR_CHECK_TYPECHECK.
5382 * fileio.c (Fmake_temp_name): Doc fix.
5384 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5386 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5388 * undo.c (Fprimitive_undo): Fixed typo.
5390 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5392 * fns.c (concat): Signal error on integer argument.
5394 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5396 * console.h (device_metrics): Prefixed each constatnt with DM_
5398 * device.c: (Fdevice_system_metric): Renamed so from plural form
5399 (metrics); Changed parameters order and added DEFAULT parameter;
5400 Unabbreviated some metric constants; Fixed and untabified doc string.
5401 (Fdevice_system_metrics): Added. Returns a plist of all provided
5404 * device-msw.c (mswindows_device_system_metrics): Renamed
5405 device_metrics enum constants.
5406 Return Qunbound instead of Qnil.
5408 * device-tty.c (tty_device_system_metrics): Ditto.
5410 * device-x.c (x_device_system_metrics): Ditto.
5412 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5414 * redisplay-msw.c: implement background pixmaps (really!). Make
5415 sure bg color is transparent if we have bg pmaps.
5416 * (mswindows_output_string) (mswindows_clear_region): output bg
5418 * (mswindows_output_dibitmap_region): new function.
5419 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5420 the bg color rather than transparently.
5422 * toolbar-msw.c: use masks if they exist.
5424 * glyphs-msw.c: set up masks correctly.
5426 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5428 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5430 * regex.c (re_match_2_internal): Check for quit.
5432 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5434 * frame.c (Ffocus_frame): New function.