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-20 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * syntax.c (word_constituent_p): Deleted.
74 (scan_words): Use `WORD_BOUNDARY_P'.
76 * chartab.c (Vword_combining_categories): New variable.
77 (Vword_separating_categories): Likewise.
78 (CATEGORYP): New macro.
79 (CATEGORY_SET): Likewise.
80 (CATEGORY_MEMBER): Likewise.
81 (word_boundary_p): New function.
82 (complex_vars_of_chartab): Set up new variable
83 `word-combining-categories' and `word-separating-categories'.
85 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
87 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
90 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
92 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
95 * file-coding.c (mule_decode): Run `ccl_driver' with
97 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
99 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
100 (ccl_driver): Add new argument `conversion_mode'.
101 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
102 (Fccl_execute_on_string): Likewise [perhaps it is better to add
103 new optional argument].
105 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
106 (CCL_MODE_DECODING): New macro.
107 (ccl_driver): Add new argument `conversion_mode'.
109 1999-06-15 SL Baur <steve@miho.m17n.org>
111 * mule-charset.c (Fsplit_char): New subr.
112 (Fchar_octet): delete.
113 (syms_of_mule_charset): DEFSUBR it.
115 1999-06-13 Andy Piper <andy@xemacs.org>
117 * menubar.h: update declarations involving gui_items.
119 * lisp.h: declare Lisp_Gui_Item.
121 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
123 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
124 (print_image_instance): ditto.
125 (image_instance_equal): ditto.
126 (image_instance_hash): ditto.
128 * event-msw.c (mswindows_need_event): assert badly_p status.
129 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
130 callbacks in tree-view and tab-control widgets.
131 (emacs_mswindows_next_event): modify use of
132 mswindows_dequeue_dispatch_event.
134 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
135 lisp-based gui_items.
137 * glyphs-msw.c (mswindows_update_subwindow): update use of
139 (mswindows_register_gui_item): new function.
140 (mswindows_register_gui_item): fix to use lisp gui_items.
141 (mswindows_widget_instantiate): ditto.
142 (mswindows_button_instantiate): ditto.
143 (add_tree_item): new function to recursively add tree view
145 (add_tree_item_list): ditto.
146 (mswindows_tree_instantiate): new function. instantiate tree view
148 (add_tab_item): new function to add tabs to a tab control.
149 (mswindows_tab_instantiate): new function. instantiate tab
151 (image_instantiator_format_create_glyphs_mswindows): add tree view
153 (vars_of_glyphs_mswindows): ditto.
155 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
157 (check_valid_item_list): ditto.
158 (initialize_widget_image_instance): fix to use new lisp gui_item.
159 (widget_instantiate_1): allow the setting of default textwidth in
161 (widget_instantiate): change to use new widget_instantiate_1
163 (combo_instantiate): ditto.
164 (static_instantiate): ditto.
165 (tab_instantiate): new function for tab widgets.
166 (image_instantiator_format_create_glyphs_widget): add tab and tree
169 * menubar-msw.c (displayable_menu_item): convert to use lisp
171 (populate_menu_add_item): ditto.
172 (populate_or_checksum_helper): ditto.
174 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
176 (Fmenu_find_real_submenu): ditto.
178 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
180 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
181 objects, convert functions that use them accordingly.
182 (gui_item_init): ditto.
183 (gui_item_active_p): ditto.
184 (gui_item_selected_p): ditto.
185 (gui_item_included_p): ditto.
186 (gui_item_display_flush_left): ditto.
187 (gui_item_display_flush_right): ditto.
188 (mark_gui_item): ditto.
189 (allocate_gui_item): new function to create a gui_item.
190 (make_gui_item_from_keywords_internal): ditto. create and return a
191 gui_item as well as setting keywords.
192 (gui_parse_item_keywords): ditto.
193 (gui_parse_item_keywords_no_errors): ditto.
194 (gui_add_item_keywords_to_plist): new function, not yet used.
195 (gui_item_hash): new function.
196 (gui_item_id_hash): use gui_item_hash.
197 (gui_item_equal): new function.
198 (print_gui_item): new function.
200 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
202 * XEmacs 21.2.16 is released
204 1999-06-10 Andy Piper <andy@xemacs.org>
206 * select-msw.c (mswindows_own_selection): only set the clipboard
208 (mswindows_get_foreign_selection): only get the clipboard if
210 (mswindows_disown_selection): only disown the clipboard if asked.
212 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
214 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
216 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
217 of coding-category `no-conversion'.
219 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
221 * file-coding.c (Qraw_text): New variable.
222 (syms_of_mule_coding): Add new symbol `raw-text'.
223 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
224 define coding-system `binary' independently; define coding-system
225 `no-conversion' as an alias for `raw-text'.
227 * file-coding.h (Qraw_text): New variable.
229 1999-06-08 SL Baur <steve@xemacs.org>
231 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
233 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
235 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
237 (base64_decode_1): Signal errors instead of returning -1.
239 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
241 * mule-charset.c (Fmake_char): Update docstring.
243 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
245 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
247 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
249 * fns.c (base64_decode_1): Allow and ignore any non-base64
252 1999-05-27 Olivier Galibert <galibert@pobox.com>
254 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
255 of report_pure_usage().
257 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
259 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
261 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
263 * XEmacs 21.2.15 is released
265 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
267 * frame.c (Fset_mouse_position):
268 (Fset_mouse_pixel_position):
269 * window.c (Fsplit_window):
270 (Fmove_to_window_line):
271 Fix crash when invoking functions with an already-deleted window
274 * indent.c (vertical_motion_1):
276 (Fvertical_motion_pixels):
277 * window.c (Fwindow_displayed_text_pixel_height):
278 Fix error message when invoking functions with an already-deleted
281 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
283 * sysdep.c (request_sigio_on_device): Guard against glibc
284 2.1's stub streams implementation.
286 1999-06-03 SL Baur <steve@xemacs.org>
289 * emacs.c: Implement x.y.z version numbers
290 From Jan Vroonhof <vroonhof@math.ethz.ch>
292 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
294 * mule-charset.c (complex_vars_of_mule_charset): Registry of
295 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
298 1999-06-03 SL Baur <steve@xemacs.org>
301 * device-x.c: rename session option to wmcommand.
302 From Oliver Graf <ograf@rhein-zeitung.de>
304 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
306 * fns.c (Fsubstring): Don't traverse the same region twice with
307 charcount_to_bytecount().
309 1999-06-03 SL Baur <steve@steve1.m17n.org>
311 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
314 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
315 doesn't really work as is implied by the commentary).
316 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
318 1999-06-02 SL Baur <steve@steve1.m17n.org>
320 * symsinit.h: Declare vars_of_ntproc.
321 * emacs.c (main_1): Call it.
323 * ntproc.c (syms_of_ntproc): Move variable initializations from
325 (vars_of_ntproc): ... to here [new function].
327 * file-coding.c (syms_of_file_coding): Rename.
328 (vars_of_file_coding): Ditto.
329 (complex_vars_of_file_coding): Ditto.
331 * symsinit.h: Rename *_mule_coding to *_file_coding.
333 * emacs.c (main_1): Call them by the proper name.
335 * device-msw.c (syms_of_device_mswindows): Move variable
336 initializations from here ...
337 (vars_of_device_mswindows): ... to here.
339 * chartab.c (vars_of_chartab): New function.
341 * symsinit.h: New function, vars_of_chartab.
343 * emacs.c (main_1): Call it.
345 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
346 (vars_of_mule_canna): ... to here.
348 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
349 initializations out of syms_of_mule_ccl.
351 * symsinit.h: Declare new function vars_of_mule_ccl.
353 * emacs.c (main_1): Call it.
355 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
357 * fns.c (base64_decode_1): Ignore whitespace.
359 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
361 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
364 1999-05-21 Andy Piper <andy@xemacs.org>
366 * xselect.c: deleted.
368 * symsinit.h: declare select initialisation.
370 * select.h: new file. declare commonly used select functions and
373 * select.c: new file. generalised from xselect.c.
374 (clean_local_selection_data): moved from xselect.c.
375 (get_local_selection): ditto. device specific pieces called via a
377 (handle_selection_clear): ditto.
378 (Fown_selection_internal): renamed and generalised from
379 Fx_own_selection_internal. moved from xselect.c.
380 (Fdisown_selection_internal): ditto.
381 (Fselection_owner_p): ditto.
382 (Fselection_exists_p): ditto.
383 (Fget_selection_internal): ditto.
384 (syms_of_select): new function. QXXXX values moved from xselect.c
385 (vars_of_select): new function. selection_converter_alist,
386 lost_selection_hooks moved and renamed from xselect.c
388 * select-x.c: renamed from xselect.c.
389 (x_own_selection): converted to device specific. non-X-specific
390 bits moved to select.c.
391 (x_get_foreign_selection): ditto.
392 (x_disown_selection): ditto.
393 (x_selection_exists_p): ditto.
394 (console_type_create_select_x): new function.
396 * select-msw.c (mswindows_own_selection): new device method to set
397 the clipboard when we 'own' the selection.
398 (mswindows_get_foreign_selection): new device method to get the
400 (mswindows_disown_selection): new device method to delete the
401 selection when we 'disown' it.
402 (console_type_create_select_mswindows): new function.
404 * emacs.c (main_1): add select to things to initialise.
406 * console.h (struct console_methods): new console methods for
409 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
411 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
413 * print.c (long_to_string): Install a faster version.
415 1999-05-16 Andy Piper <andy@xemacs.org>
417 * ntproc.c (syms_of_ntproc): default
418 win32-start-process-share-console to t.
420 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
422 * config.h.in: Do it here.
424 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
426 1999-05-14 Andy Piper <andy@xemacs.org>
428 * toolbar-msw.c (mswindows_output_toolbar): hash on something
431 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
433 * XEmacs 21.2.14 is released
435 1999-05-12 Andy Piper <andy@xemacs.org>
437 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
439 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
441 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
442 run_temacs_argv array -- fixes random memory corruption crash
444 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
446 * window.c (Fcurrent_window_configuration):
447 Save minibuffer height;
449 * window.c (set_window_configuration): use it.
451 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
453 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
455 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
457 * redisplay.c (redisplay_window): Do not put data
458 in the line start cache if it is not guaranteed to be correct
460 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
462 * window.c (struct window_config): Removed frame
464 (window_config_equal): No longer compare frame sizes.
465 (Fset_window_configuration): Resize old top window to fit in the
466 current frame directly, no longer use a fake frame resize.
467 (Fcurrent_window_configuration): No longer save frame size
469 1999-05-11 Andy Piper <andy@xemacs.org>
471 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
474 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
476 * sysdep.c (init_system_name): If gethostname gives a proper
477 domain name, don't look further for one.
479 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
481 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
482 (Fintern_soft): Accept a symbol argument.
484 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
486 * symbols.c (Fintern): ...do it here.
488 * lread.c (read_atom): Don't handle keywords here.
490 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
492 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
494 1999-05-03 Olivier Galibert <galibert@pobox.com>
496 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
497 is interned in the main obarray.
499 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
501 * menubar-x.c (pre_activate_callback): set accelerator field in
502 "No menu" entries to nil. Avoid crash in
503 command_builder_operate_menu_accelerator
505 1999-05-03 Olivier Galibert <galibert@pobox.com>
507 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
509 * lisp.h (DEFUN): Fix lrecord header initialisation.
511 1999-05-02 Andy Piper <andy@xemacs.org>
513 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
515 * ntproc.c (sys_kill): cast using MS mandated defines.
517 1999-04-29 Andy Piper <andy@xemacs.org>
519 * m/intel386.h: remove redundant definitions.
521 * s/mingw32.h: new header for mingw32.
523 * unexnt.c: (open_input_file): function moved to nt.c.
524 (close_file_data): ditto.
525 (rva_to_section): function moved to ntproc.
527 * symsinit.h: declare syms_of_ntproc();
529 * objects-msw.c (mswindows_font_instance_truename): new function.
531 * ntproc.c: remove many warnings.
532 (_sys_read_ahead): moved from nt.c and made static.
533 (rva_to_section): moved from unexnt.c but not defined under
535 (win32_executable_type): implement what we can for mingw32
537 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
539 * ntheap.h: remove declarations of functions that are now static.
541 * ntheap.c: support static heap.
543 * nt.h: conditionalise X_OK definition.
545 * nt.c: eliminate many warnings and support mingw32.
546 (open_input_file): function moved from unexnt.c and made static
547 (close_file_data): ditto.
548 (_sys_read_ahead): moved to ntproc.c
550 * emacs.c: make sure syms_of_ntptroc gets called under windows.
552 * console-msw.h: support mingw32.
553 * getloadavg.c: ditto.
560 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
561 some systems don't have all of the encapsulated system calls.
563 * callproc.c: warning elimination.
564 * dired-msw.c: ditto.
565 * process-nt.c: ditto.
568 * Makefile.in.in: tweak : and ; for building under mswindows.
570 1999-04-26 Michael Harnois <mharnois@willinet.net>
572 * eldap.c (allocate_ldap): Adapt to the new semantics of
573 alloc_lcrecord_type().
575 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
577 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
579 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
581 * Delete mule-coding.c and mule-coding.h because they are not
584 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
586 * objects.c (print_font_instance): Check for NILP(f->device),
587 i.e. Vthe_null_font_instance.
588 (font_instance_truename_internal): ditto.
589 (Ffont_instance_properties): ditto.
591 1999-04-22 Olivier Galibert <galibert@pobox.com>
593 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
596 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
598 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
599 it easier to add new ones.
601 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
603 * symbols.c (reject_constant_symbols): Ditto.
604 (init_symbols_once_early): Ditto.
606 * print.c (print_symbol): Don't use ->obarray.
608 * symbols.c (Funintern): Ditto.
610 * alloc.c (Fmake_symbol): Don't set ->obarray.
612 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
614 * symbols.c (init_symbols_once_early): Removed
615 Vpure_uninterned_symbol_table.
616 (Fintern): Don't store to ->obarray field.
618 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
620 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
621 (eq_with_ebola_notice): Remove abracadabra support.
623 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
625 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
626 retrieve the distinguished names of entries
628 1999-03-08 Martin Buchholz <martin@xemacs.org>
630 * lread.c (read_escape): Make hex escapes read only two hex digits.
632 1999-04-05 Olivier Galibert <galibert@pobox.com>
634 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
635 * make-src-depend: Remove puresize-adjust.h.
636 * src-headers: Remove puresize-adjust.h.
637 * config.h.in: Kill everything purespace/gung-ho related.
639 * dbxrc: Make gung-ho mandatory.
642 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
643 c_readonly and lisp_readonly. Remove implementation arrays.
644 (C_READONLY_RECORD_HEADER_P): Added.
645 (LISP_READONLY_RECORD_HEADER_P): Added.
646 (SET_C_READONLY_RECORD_HEADER): Added.
647 (SET_LISP_READONLY_RECORD_HEADER): Added.
649 * lisp.h: Kill everything purespace/non gung-ho related.
650 (CHECK_C_WRITEABLE): Added.
651 (CHECK_LISP_WRITEABLE): Added.
653 (LISP_READONLY): Added.
655 * lisp-union.h: Make gung-ho mandatory.
656 * lisp-disunion.h: Ditto.
658 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
659 set_lheader_implementation calls.
661 (lisp_readonly): Added.
662 (make_string_nocopy): Added.
663 (Fpurecopy): Changed to do nothing. Kept the old documentation
664 for reference purposes for the next patches.
665 (sweep_lcrecords_1): Don't free C readonly lcrecords.
666 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
667 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
669 * fns.c: Make gung-ho mandatory.
670 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
674 * data.c: Make gung-ho mandatory.
675 (pure_write_error): Removed.
676 (c_write_error): Added.
677 (lisp_write_error): Added.
678 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
682 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
683 make_string or make_string_nocopy. Fix various
686 * lread.c: Remove everything purespace related.
687 (Flocate_file_clear_hashing): purified -> c_readonly.
688 (locate_file): Ditto.
689 (read_atom): make_pure_pname -> make_string.
691 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
693 (Fdump_emacs): Ditto.
695 * print.c (print_internal): Make gung-ho mandatory.
696 * ntheap.c (sbrk): Ditto.
697 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
698 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
700 * sheap.c (more_static_core): Remove puresize-adjust.h from
703 * syntax.c (complex_vars_of_syntax): make_pure_string ->
705 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
706 (vars_of_keymap): make_pure_string -> make_string_nocopy.
707 * events.c (deinitialize_event): Fix set_lheader_implementation.
709 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
710 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
711 * mule-charset.c (make_charset): Ditto.
712 * console.c (allocate_console): Ditto.
713 (complex_vars_of_console): Ditto.
714 * file-coding.c (allocate_coding_system): Ditto.
715 * device.c (allocate_device): Ditto
716 * gui-x.c (gcpro_popup_callbacks): Ditto.
717 * extents.c (allocate_extent_auxiliary): Ditto.
718 (allocate_extent_info): Ditto.
719 (copy_extent): Ditto.
720 * glyphs.c (allocate_image_instance): Ditto.
721 (allocate_glyph): Ditto.
722 * frame.c (allocate_frame_core): Ditto.
723 * database.c (allocate_database): Ditto.
724 * tooltalk.c (make_tooltalk_message): Ditto.
725 (make_tooltalk_pattern): Ditto.
726 * rangetab.c (Fmake_range_table): Ditto.
727 (Fcopy_range_table): Ditto.
728 * process.c (make_process_internal): Ditto.
729 * chartab.c (Fmake_char_table): Ditto.
730 (make_char_table_entry): Ditto.
731 (copy_char_table_entry): Ditto.
732 (Fcopy_char_table): Ditto.
733 * elhash.c (make_general_lisp_hash_table): Ditto.
734 (Fcopy_hash_table): Ditto.
735 * buffer.c (allocate_buffer): Ditto.
736 (complex_vars_of_buffer): Ditto.
737 * event-stream.c (allocate_command_builder): Ditto.
738 * objects.c (Fmake_color_instance): Ditto.
739 (Fmake_font_instance): Ditto.
740 (vars_of_objects): Ditto.
741 * toolbar.c (update_toolbar_button): Ditto.
742 * window.c (allocate_window): Ditto.
743 (make_dummy_parent): Ditto.
744 (Fcurrent_window_configuration): Fix alloc_lcrecord.
745 (vars_of_window): Fix make_lcrecord_list.
746 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
748 * lstream.c (Lstream_new): Fix make_lcrecord_list.
749 * opaque.c (make_opaque): Fix alloc_lrecord.
750 (make_opaque_list): Fix alloc_lrecord_type.
752 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
754 * process.c (Fstart_process_internal): Ditto.
756 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
759 * glyphs-x.c (x_locate_pixmap_file): Ditto.
761 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
764 * emodules.c (vars_of_module): New variable Vmodule_extensions.
765 (emodules_load): Use it when calling locate_file().
767 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
770 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
771 (vars_of_callproc): Initialize it.
772 (Fcall_process_internal): Use it when calling locate_file().
774 * alloc.c (disksave_object_finalization): Use
775 Flocate_file_clear_hashing().
777 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
778 given `t' as argument.
780 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
782 * lread.c (locate_file): Expand `pathel' when appropriate.
783 (Flocate_file_clear_hashing): Expand path elements.
784 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
786 * dired.c (make_directory_hash_table): Create the hash-table only
787 if the directory open is successful.
789 * lread.c (decode_mode_1): New function.
790 (decode_mode): Ditto.
791 (Flocate_file): Use them.
792 (Flocate_file): Expand FILENAME.
793 (locate_file_map_suffixes): New function.
794 (locate_file_in_directory_mapper): New function.
795 (locate_file_in_directory): Use locate_file_in_directory_mapper()
796 and locate_file_map_suffixes().
797 (locate_file_construct_suffixed_files): Use
798 locate_file_map_suffixes().
799 (locate_file_without_hash): Don't GCPRO path.
800 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
801 (syms_of_lread): Remove Qlocate_file_hash_table.
802 (locate_file_find_directory_hash_table): Use
803 Vlocate_file_hash_table.
804 (locate_file_refresh_hashing): Ditto.
806 * lread.c: Renamed read_objects to Vread_objects.
808 1999-04-16 Olivier Galibert <galibert@pobox.com>
810 * mule-charset.c: Generally resync with fsf 20.3 charset
812 (make_charset): Add long and short name. Use id instead of
814 (Fmake_charset): Ditto.
815 (Fmake_reverse_direction_charset): Ditto.
816 (Fcharset_property): Ditto.
817 (Fcharset_short_name): Added.
818 (Fcharset_long_name): Added.
819 (Fcharset_description): Renamed from charset-doc-string.
820 (syms_of_mule_charset): Synced symbols.
821 (complex_vars_of_mule_charset): Synced charsets.
823 * mule-charset.h: Removed leading byte (uses id instead), added
826 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
828 * file-coding.c (Fdefine_coding_system_alias): New function.
830 1999-04-08 Olivier Galibert <galibert@pobox.com>
832 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
833 and -ascii fonts for displaying ascii instead of iso8859-1 only.
835 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
837 * extents.c (set_extent_glyph_1): Make sure that the glyph we
838 attach to the extent is valid.
840 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
842 * dired.c (user_name_completion): Mule-ize.
843 (user_name_completion): Use xmalloc/xrealloc/xfree.
844 (user_name_completion): Use DO_REALLOC.
845 (user_name_completion): Cut down the number of static variables;
847 (user_name_completion): Username completion is always
850 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
852 * fns.c (base64_decode_1): Remove COUNTER.
853 (base64_decode_1): Accept CRLF in addition to CR.
854 (base64_decode_1): Disallow a stray character after final EOF; the
855 check was probably a remnant of buggy recode code.
857 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
859 * fns.c (init_provide_once): Provide `base64'.
861 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
863 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
864 (Fbase64_encode_region): If buffer is read-only, bail out early.
865 (Fbase64_decode_region): Ditto.
866 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
868 (Fbase64_encode_string): Ditto.
869 (Fbase64_decode_region): Ditto.
870 (Fbase64_decode_string): Ditto.
872 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
874 * dired.c (Fdirectory_files): Remove redundant code.
876 1999-03-05 Philip Aston <philipa@parallax.co.uk>
878 * frame-msw.c Make raise-frame restore minimised windows.
880 1999-03-05 Philip Aston <philipa@parallax.co.uk>
882 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
885 1999-03-05 Philip Aston <philipa@parallax.co.uk>
887 * toolbar-msw.c Consider captions when deciding whether to rebuild
888 toolbar. This fixes the initial toolbar display for those of us
889 who don't like captions. These patches applied by Andy Piper.
891 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
893 * XEmacs 21.2.13 is released
895 1999-03-12 SL Baur <steve@xemacs.org>
897 * file-coding.c: Guard ucs table initialization with ifdef MULE.
899 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
901 * file-coding.c: docstring and comment improvements.
902 (decode_ucs4) flag possible data loss with comment.
904 1999-03-10 Martin Buchholz <martin@xemacs.org>
906 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
910 (decode_coding_ucs4):
911 (encode_coding_ucs4):
912 (detect_coding_utf8):
913 (decode_coding_utf8):
915 (encode_coding_utf8):
916 Add CHECK_* macros where needed to avoid crashes.
917 #ifdef out all composite character support using
918 #ifdef ENABLE_COMPOSITE_CHARS
919 Use normal XEmacs coding standards.
921 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
923 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
925 * file-coding.c (make-coding-system): Add description about
927 (detection_state): Modify to implement ucs-4 and utf-8.
928 (detect_coding_type): Likewise.
929 (detect_coding_ucs4): New implementation.
930 (detect_coding_utf8): New implementation.
931 (encode_utf8): fixed.
932 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
935 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
937 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
938 2022 registry to private area.
940 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
942 * file-coding.c (encode_utf8): New function.
943 (encode_coding_utf8): New implementation.
945 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
947 * file-coding.c (ucs_to_mule_table): New variable; abolish
949 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
950 (set-ucs-char): New function.
951 (ucs_to_char): New function.
952 (ucs-char): New function.
953 (set-char-ucs): New function.
954 (char-ucs): New function.
955 (decode_ucs4): Use `ucs_to_char'.
956 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
959 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
961 * chartab.h: EXFUN `Fget_char_table'.
963 * file-coding.c (encode_ucs4): New function.
964 (encode_coding_ucs4): Use `encode_ucs4'.
966 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
968 * file-coding.c (decode_coding_ucs4): New implementation.
970 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
972 * file-coding.c (decode_coding_ucs4): fixed.
974 * file-coding.c (Vmule_to_ucs_table): New variable.
975 (mule_char_to_ucs4): New function.
976 (encode_coding_ucs4): New implementation.
977 (complex_vars_of_mule_coding): Define variable
980 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
982 * file-coding.c (decode_coding_utf8): New implementation.
984 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
986 * file-coding.c (decode_coding_utf8): fixed.
988 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
990 * file-coding.c (Vucs_to_mule_table): New variable.
991 (decode_ucs4): Refer `Vucs_to_mule_table'.
992 (complex_vars_of_mule_coding): Define variable
995 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
997 * file-coding.c (detect_coding_ucs4): New function (not
999 (decode_coding_ucs4): New function.
1000 (encode_coding_ucs4): New function (not implemented yet).
1001 (detect_coding_utf8): New function (not implemented yet).
1002 (decode_coding_utf8): New function.
1003 (encode_coding_utf8): New function (not implemented yet).
1004 (make-coding-system): New type `ucs4' and `utf8'.
1005 (coding-system-type): Likewise.
1006 (detection_state): Add `ucs4' and `utf8'.
1007 (detect_coding_type): Likewise.
1008 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1009 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1010 (decode_ucs4): New function (very incomplete).
1011 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1013 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1015 1999-03-08 Martin Buchholz <martin@xemacs.org>
1018 (non_ascii_valid_char_p):
1019 (lookup_composite_char):
1020 (composite_char_string):
1021 (make-composite-char):
1022 (composite-char-string):
1023 (syms_of_mule_charset):
1024 (complex_vars_of_mule_charset):
1025 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1026 (CHAR_LEADING_BYTE):
1028 * file-coding.h (CODING_STATE_COMPOSITE):
1029 (CODING_STATE_ISO2022_LOCK):
1031 (LEADING_BYTE_COMPOSITE):
1032 * file-coding.c (struct iso2022_decoder):
1035 (parse_iso2022_esc):
1036 (encode_coding_iso2022):
1037 #ifdef out all composite character support using
1038 #ifdef ENABLE_COMPOSITE_CHARS
1040 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1042 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1044 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1045 way of `Fbase64_encode_region'.
1047 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1049 * fns.c (base64_encode_1): Don't add a newline at the tail.
1051 1999-03-08 Andy Piper <andy@xemacs.org>
1053 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1056 1999-03-07 Martin Buchholz <martin@xemacs.org>
1058 * console-stream.h (struct stream_console):
1059 * event-unixoid.c (event_stream_unixoid_select_console):
1060 (event_stream_unixoid_unselect_console):
1061 * print.c (Fexternal_debugging_output):
1062 * sysdep.c (reset_one_device):
1063 * console-stream.c (stream_init_console):
1064 (stream_delete_console):
1065 (allocate_stream_console_struct): move into stream_init_console.
1066 (free_stream_console_struct): move into stream_delete_console.
1067 Use `fd' only for file descriptors.
1068 Therefore, rename members of struct stream_console.
1070 * systime.h: Unix98 says sys/time.h should define select(), but
1071 some systems define that in unistd.h. So include that file always.
1073 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1074 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1075 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1077 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1081 Add #include <stdio.h>.
1082 Some versions of assert.h use printf() without #include'ing stdio.h
1084 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1085 (log_gcpro): Remove unused variable FRAME.
1086 (show_gcprohist): Ansify.
1087 Comment the #endif's
1089 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1090 after it's just been XtDestroy'ed!
1092 1999-02-18 Martin Buchholz <martin@xemacs.org>
1094 * opaque.c (print_opaque):
1098 Egcs 1.1.1 seems to have a bug where
1099 INTP (p->size_or_chain)
1100 will crash XEmacs. Fix by introducing intermediate variable.
1102 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1104 * dired.c (Fdirectory_files):
1105 (Ffile_name_completion):
1106 (Ffile_name_all_completions):
1107 (file_name_completion):
1108 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1109 avoid compiler warnings.
1110 - Fix up docstrings so that C variables match documentation.
1112 1999-03-05 Martin Buchholz <martin@xemacs.org>
1114 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1115 variables as small as possible to help out the compiler and the maintainer.
1117 * alloc.c: (disksave_object_finalization):
1118 Set all the *-load-path variables to
1119 nil, not just load-path itself. This gets the locate-file hash
1120 tables garbage collected BEFORE dump, and has the side effect of
1121 preventing crashes on OSF4.0+egcs.
1126 - Clean up gdb/dbx debugging support.
1127 - Storing an EMACS_INT in an enum is not 64-bit clean!
1128 - So change the enum to a set of separate variables.
1129 - Add test cases to help debug the debugging support!
1130 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1131 - Both dbx and gdb have been tested now.
1133 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1135 * XEmacs 21.2.12 is released
1137 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1139 * device-x.c: Support to find best visual without flashing.
1141 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1143 * database.c (berkdb_map): Add flags argument to cursor call (must
1144 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1146 1999-03-03 Martin Buchholz <martin@xemacs.org>
1150 General cleanup. Get free-hook.c working again.
1151 Remove unused functions:
1152 make_strings_hash_table, copy_hash, expand_hash_table.
1156 Always use new ANSI-style function prototypes.
1158 * unexalpha.c (unexec): Never use implicit int.
1160 * sgiplay.c (close_sound_file):
1162 (restore_audio_port):
1167 (write_mulaw_8_chunk):
1168 (write_linear_chunk):
1169 (write_linear_32_chunk):
1170 (initialize_audio_port):
1173 (set_output_format):
1174 (adjust_audio_volume):
1175 (get_current_volumes):
1177 Always use new ANSI-style function prototypes.
1178 Use unistd.h for missing prototypes.
1180 * unexelfsgi.c (round_up):
1182 (unexec): Always use new ANSI-style function prototypes
1184 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1186 * console.h (struct console_methods): Always use full ANSI prototypes
1188 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1190 1999-03-02 Andy Piper <andy@xemacs.org>
1192 * event-stream.c (init_event_stream): make sure native mswindows
1193 gets an appropriate event loop.
1195 1999-02-22 Andy Piper <andy@xemacs.org>
1197 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1198 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1199 (mswindows_raise_frame): remove comment.
1201 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1203 * XEmacs 21.2.11 is released
1205 1999-02-25 SL Baur <steve@xemacs.org>
1207 * mule-charset.c (Qleading_byte): New variable to implement
1208 charset-leading-byte function.
1209 (Fcharset_property): Use it.
1210 (syms_of_mule_charset): Initialize it.
1211 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1213 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1215 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1216 bytes per pixel counting.
1218 1999-02-15 Andy Piper <andy@xemacs.org>
1220 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1223 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1225 * fns.c (Fbase64_encode_string): New optional argument
1228 1999-02-16 Martin Buchholz <martin@xemacs.org>
1230 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1231 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1233 1999-02-10 Martin Buchholz <martin@xemacs.org>
1235 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1236 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1238 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1240 * XEmacs 21.2.10 is released
1242 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1244 * process-nt.c (nt_send_process):
1245 Fix for process-send-region/process-send-string breaking when size
1246 of the input > 128 chars: change maximum chunk size for process
1247 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1250 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1252 * XEmacs 21.2.9 is released
1254 1999-01-30 Martin Buchholz <martin@xemacs.org>
1256 * bytecode.c (funcall_compiled_function): Call
1257 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1259 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1260 #ifdef 0 out unused macro.
1262 1999-01-27 Martin Buchholz <martin@xemacs.org>
1264 * gui.c (gui_parse_item_keywords_internal): Make static.
1266 1999-01-21 Andy Piper <andy@xemacs.org>
1268 * glyphs-msw.c: add xface support.
1269 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1270 (image_instantiator_format_create_glyphs_mswindows): do device
1271 specific initialisation for xfaces.
1272 (xbm_create_bitmap_from_data): line data must be padded to a word
1275 * glyphs-x.c (xface_validate): moved to glyphs.c
1276 (xface_normalize): ditto.
1277 (xface_possible_dest_types): ditto.
1278 (image_instantiator_format_create_glyphs_x): do device specific
1279 initialisation for xfaces.
1281 * glyphs.h: declare xface symbol.
1283 * glyphs.c: move generic xface support here.
1284 (xface_validate): moved from glyphs-x.c
1285 (xface_normalize): ditto.
1286 (xface_possible_dest_types): ditto.
1287 (image_instantiator_format_create): xface declarations moved from
1290 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1292 * event-stream.c (vars_of_event_stream): Fixing documentation.
1294 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1296 * glyphs-eimage.c (gif_instantiate): Correct handling of
1297 interlaced gifs to avoid writing past the end of the eimage
1300 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1302 * search.c (Freplace_match): Handle single backslash at end of
1305 1999-01-12 William M. Perry <wmperry@aventail.com>
1307 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1308 avoid connection errors.
1310 1999-01-12 Andy Piper <andy@xemacs.org>
1312 * redisplay-output.c (redisplay_update_line): backout change that
1313 shouldn't have gone ine.
1315 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1317 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1318 collide with ldap.el
1320 1999-01-11 Andy Piper <andy@xemacs.org>
1322 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1323 (DISPLAY_LINE_YPOS): new macro.
1325 * redisplay-msw.c (mswindows_output_string): use it.
1326 (mswindows_output_pixmap): ditto.
1327 (mswindows_output_display_block): ditto.
1329 * redisplay-output.c (redisplay_output_display_block): new
1330 function. just call the devmeth, maybe insert some generic code
1332 (compare_display_blocks): use it.
1333 (output_display_line): ditto.
1334 (redisplay_unmap_subwindows_maybe): new function. potentially
1335 unmap subwindows in the given area.
1337 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1340 1999-01-10 J. Kean Johnston <jkj@sco.com>
1342 * Makefile.in.in: Set value of moduledir
1343 - Changed DUMPENV to include $(MODULEPATH)
1344 - Added install rule to install header files for use by ellcc.
1346 * config.h.in: Added INHIBIT_SITE_MODULES
1347 - Added HAVE__DLERROR
1348 - Added HAVE_DLFCN_H
1349 - Added DLSYM_NEEDS_UNDERSCORE
1353 * emodules.c: New file containing dynamic loading code.
1355 * emodules.h: New file.
1357 * emacs.c: Added variables Vmodule_directory,
1358 Vsite_module_directory, Vconfigure_module_directory and
1359 Vconfigure_site_module_directory.
1360 - (main_1): Added new variable inhibit_site_modules and command
1361 line options `-no-site-modules' and `--no-site-modules'.
1362 - (main_1): Call syms_of_module() instead of syms_of_dll().
1363 - (main_1): Call vars_of_module().
1364 - (vars_of_emacs): Introduce inhibit-site-modules,
1365 module-directory, configure-module-directory,
1366 site-module-directory, and configure-site-module-directory to the
1369 * lisp.h: Declare load_module and list_modules, as well as
1370 Vmodule_directory, Vsite_module_directory,
1371 Vconfigure_module_directory and Vconfigure_site_module_directory.
1373 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1374 - Added correct support for site-lisp directory.
1376 * symbols.c (defsubr): Modified to allow modules to add new subrs
1378 - (defsubr_macro): Same.
1379 - (defvar_magick): Only use purespace when not initialized, so
1380 that loaded modules can still add symbols.
1382 * symsinit.h: Add definitions for syms_of_module(),
1383 vars_of_module(). Removed syms_of_dll().
1385 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1386 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1387 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1389 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1390 explicitly pass -belf for native cc.
1392 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1393 hard-coding the library name.
1395 1999-01-01 <martin@xemacs.org>
1397 * device-x.c (Fx_set_font_path):
1398 Add proper cast to permit compilation under C++.
1400 * buffer.c (directory_is_current_directory):
1401 Add proper casts to permit compilation under C++.
1403 1998-12-30 Damon Lipparelli <lipp@primus.com>
1405 * event-msw.c (mswindows_wnd_proc):
1406 Fixed failure when building with MSVC 5.
1408 1998-12-29 Martin Buchholz <martin@xemacs.org>
1410 * file-coding.c (decode_coding_iso2022):
1411 - Prevent crash when decoding ISO7/Lock detected files
1412 - the usual martin fiddling
1414 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1418 Fixed failures when building with MSVC.
1419 * unexnt.c (dump_bss_and_heap):
1420 Removed compiler warning by removing bss_data variable.
1422 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1424 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1425 so that packages that distribute their own fonts can access them.
1427 1998-12-28 Andy Piper <andy@xemacs.org>
1429 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1430 that have an image provided.
1432 * glyphs.h: add Q_image decl.
1434 * glyphs-widget.c new functionality allowing images in
1436 (check_valid_glyph_or_image): new function to validate
1437 glyphs passed in through :image.
1438 (widget_normalize): new function. convert :image parameters into
1439 real glyphs if not already so.
1440 (widget_instantiate_1): mess with size parameters to be similar to
1442 (syms_of_glyphs_widget): new keyword :image.
1443 (image_instantiator_format_create_glyphs_widget): normalize
1444 buttons and allow :image.
1446 1998-12-27 Andy Piper <andy@xemacs.org>
1448 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1450 * glyphs-widget.c (check_valid_anything): no-op function.
1451 (check_valid_callback): check callbacks in gui_items.
1452 (check_valid_symbol): as it sounds.
1453 (check_valid_string_or_vector): ditto.
1454 (widget_validate): modified for descriptors that are vectors or
1455 sequences of keyword/val pairs.
1456 (widget_instantiate_1): ditto.
1457 (image_instantiator_format_create_glyphs_widget): allow gui_item
1458 keywords in the instantiator.
1460 * gui.c (gui_parse_item_keywords_internal): renamed from
1461 gui_parse_item_keywords but taking error behaviour.
1462 (gui_parse_item_keywords): use it.
1463 (gui_parse_item_keywords_no_errors): ditto.
1464 (gui_item_add_keyval_pair): add Error_behavior flag and only
1465 signal invalid keywords if required.
1467 * gui.h: new gui signatures.
1469 * menubar.c (menu_parse_submenu_keywords): use new
1470 gui_item_add_keyval_pair signature.
1472 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1474 1998-12-28 Martin Buchholz <martin@xemacs.org>
1476 * XEmacs 21.2.8 is released.
1478 1998-12-28 Martin Buchholz <martin@xemacs.org>
1480 * editfns.c (get_home_directory):
1481 (user-home-directory): Simplify.
1484 * callproc.c (child_setup):
1485 - Environment variables were being passed to inferior processes
1486 using internal encoding.
1487 - Convert to external encoding.
1488 - Rename local var `tem' to better name `tail'.
1489 - Use Flength instead of `manual' calculation.
1491 * buffer.c (kill-buffer):
1493 (set-buffer-major-mode):
1495 - Fix up parameter names to correspond to docstrings.
1496 - Don't use `bufname' when a buffer will do as well.
1497 - Remove one unneeded GCPRO.
1499 * buffer.h (initial_directory):
1500 * buffer.c (init_initial_directory):
1501 - use correct conversions between internal and external format.
1502 (directory_is_current_directory): new function
1503 (init_buffer): convert initial_directory to internal format.
1504 - solve crashes when current working directory is non-ASCII.
1506 * alloc.c (xmalloc):
1509 - remove stupid casts, since XEmacs requires an ANSI C system.
1510 (lrecord_type_index): replace abort() with more readable assert().
1512 (reset_lcrecord_stats): remove.
1513 (sweep_lcrecords_1):
1514 - replace call to reset_lcrecord_stats() with call to xzero().
1516 1998-12-27 Martin Buchholz <martin@xemacs.org>
1518 * process-unix.c (unix_create_process):
1519 - Fix crash invoking program with non-ASCII name.
1520 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1521 - Remove unused variable `env'.
1522 - Rename `temp' to better name `save_errno'.
1523 - Reorganize code for clarity. But still too chicken to nuke the
1526 1998-12-24 Martin Buchholz <martin@xemacs.org>
1528 * XEmacs 21.2.7 is released.
1530 1998-12-23 Martin Buchholz <martin@xemacs.org>
1532 * glyphs.c (decode_device_ii_format):
1534 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1536 * glyphs-x.c (x_subwindow_instantiate):
1537 - A image instance mask was being assigned to a image instance type!
1538 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1540 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1542 * glyphs-x.h: Make indentation consistent.
1544 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1546 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1548 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1552 Move declarations of decode_device_ii_format and
1553 decode_image_instantiator_format into glyphs.h where they belong.
1555 1998-12-22 Martin Buchholz <martin@xemacs.org>
1557 * frame-x.c (x_delete_frame): Revert part of my changes at the
1558 suggestion of Gunnar Evermann - unfortunately no one really
1559 understands this code.
1561 * callproc.c (init_callproc): code cleanup.
1563 * free-hook.c (malloc):
1568 (block_input_malloc):
1569 (block_input_realloc):
1570 * device-x.c (x_delete_device):
1571 * emacs.c (voodoo_free_hook):
1572 * events.c (print_event):
1574 (CHECK_EVENT_TYPE2):
1575 (CHECK_EVENT_TYPE3):
1576 Use proper prototypes.
1577 Make C_E_T macros a little faster.
1578 Pedantic fiddly little changes. You really don't care.
1580 1998-12-22 Andy Piper <andy@xemacs.org>
1582 * redisplay-output.c (redisplay_clear_region): make sure that
1583 fg/bg colors get set even when we are in the border area.
1585 1998-12-13 Martin Buchholz <martin@xemacs.org>
1587 * console-msw.c: Function definitions follow coding standards
1588 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1590 1998-12-11 Martin Buchholz <martin@xemacs.org>
1592 * events.h (struct timeout_data):
1593 * event-tty.c (tty_timeout_to_emacs_event):
1594 * event-msw.c (mswindows_wm_timer_callback):
1595 * event-Xt.c (Xt_timeout_to_emacs_event):
1596 * event-msw.c (mswindows_cancel_dispatch_event):
1597 Make sure Lisp_Objects inside events are initialized to Qnil, not
1598 Qnull_pointer, which is now illegal.
1600 1998-12-10 Martin Buchholz <martin@xemacs.org>
1602 * lisp.h: Fix up prototypes to match alloc.c
1604 1998-12-08 Martin Buchholz <martin@xemacs.org>
1606 * windowsnt.h: Remove `support' for using index and rindex
1608 * filelock.c (current_lock_owner):
1609 - Change uses of index -> strchr, rindex -> strrchr
1611 1998-12-07 Martin Buchholz <martin@xemacs.org>
1613 * sysdep.c (set_descriptor_non_blocking):
1614 Since O_NONBLOCK is now always #defined, make use of fcntl
1615 conditional on F_SETFL being defined.
1617 * console-msw.c (DHEADgER):
1626 - max_align_t should not be visible to the user of the
1628 - use Bufbyte instead of char
1629 - parens around (FOOP (obj)) are always redundant.
1630 If they were necessary, we should fix the macro instead.
1631 - Always use string_data(foo) instead of foo->data.
1634 1998-12-06 Martin Buchholz <martin@xemacs.org>
1636 * frame-msw.c (mswindows_init_frame_1):
1637 - use make_lisp_hash_table, not Fmake_hash_table
1641 * alloc.c (make_vector): remove travesty
1645 (make_bit_vector_internal):
1647 (make_bit_vector_from_byte_vector):
1649 - make vector_equal a little faster.
1650 - Don't use variable name `new'.
1651 - Use size_t instead of EMACS_INT.
1652 - usual Martin-style pointless bit-twiddling.
1658 Make mapcar faster. In particular, make
1659 (mapc #'identity long-string)
1660 MUCH faster under Mule.
1661 * tests/automated/lisp-tests.el: Test 'em!
1663 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1666 1998-12-01 Martin Buchholz <martin@xemacs.org>
1668 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1669 Qnil, not NULL, to initialize `null' Lisp_Objects.
1671 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1673 * specifier.c (display_table_validate): Update.
1675 * redisplay.c (create_text_block): Use them.
1677 * glyphs.c (display_table_entry): New function.
1678 (get_display_tables): Ditto.
1680 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1682 * eldap.c (toplevel): Mention that eldap.c compiles with
1684 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1685 (Fldap_search_internal): Ditto
1687 1998-12-11 Martin Buchholz <martin@xemacs.org>
1689 * event-msw.c (mswindows_cancel_dispatch_event):
1690 Gratuitous code prettification
1693 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1695 * fns.c (Fnconc): Fix use of wrong_type_argument().
1697 * floatfns.c (Ffloat): Fix docstring.
1698 (Ffloat): Fix use of wrong_type_argument().
1700 (extract_float): Ditto.
1705 1998-12-06 Martin Buchholz <martin@xemacs.org>
1707 * frame-msw.c (mswindows_init_frame_1):
1708 - use make_lisp_hash_table, not Fmake_hash_table
1712 * alloc.c (make_vector): remove travesty
1716 (make_bit_vector_internal):
1718 (make_bit_vector_from_byte_vector):
1720 - make vector_equal a little faster.
1721 - Don't use variable name `new'.
1722 - Use size_t instead of EMACS_INT.
1723 - usual Martin-style pointless bit-twiddling.
1729 Make mapcar faster. In particular, make
1730 (mapc #'identity long-string)
1731 MUCH faster under Mule.
1732 * tests/automated/lisp-tests.el: Test 'em!
1734 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1737 1998-12-02 Didier Verna <verna@inf.enst.fr>
1739 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1740 accelerator field to nil for labels.
1742 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1744 * menubar-msw.c (displayable_menu_item):
1745 Escape occurrences of '&' and support occurrences of the
1746 '%_' accelerator indicator in menus.
1748 1998-11-26 Didier Verna <verna@inf.enst.fr>
1750 * dired.c (Fdirectory_files): use make_string instead of
1751 make_ext_string on the filename. The conversion external->internal
1752 format is already done in sys_readdir.
1754 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1756 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1758 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1761 (Belatedly) added Kirill to list of file's authors.
1762 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1763 quit checking. WM_PAINT messages cause redisplay, but
1764 windows' states are not necessarily stable when this function
1767 1998-12-17 Andy Piper <andy@xemacs.org>
1769 * strftime.c (zone_name): CONSTify.
1771 1998-12-15 Andy Piper <andy@xemacs.org>
1773 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1774 (mswindows_widget_property): return Qunbound when no property available.
1775 (mswindows_button_property): ditto.
1776 (mswindows_combo_property): ditto.
1777 (mswindows_widget_set_property): ditto.
1779 * glyphs-widget.c (check_valid_item_list): use properties.
1781 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1783 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1784 (Fimage_instance_property): ditto.
1785 * glyphs-widget.c (widget_property): ditto.
1786 (widget_set_property): ditto.
1788 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1789 as setting the class cursor so that GC actually changes the
1792 * config.h: don't undef MAIL_USE_POP.
1794 1998-12-13 Andy Piper <andy@xemacs.org>
1797 (image_instantiator_format_create_glyphs_mswindows): line ->
1799 (mswindows_label_instantiate): ditto. Play with window flags.
1800 (image_instantiator_format_create_glyphs_mswindows): ditto.
1801 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1803 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1804 cope with lines and labels.
1805 (static_instantiate): use widget_instantiate_1.
1807 (image_instantiator_format_create_glyphs_widget): ditto.
1809 1998-12-10 Andy Piper <andy@xemacs.org>
1811 * Makefile.in.in (objs): add gui.o
1813 1998-12-10 Andy Piper <andy@xemacs.org>
1815 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1818 1998-12-09 Andy Piper <andy@xemacs.org>
1820 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1821 image instance is removed so that the subwindow cache gets reset
1822 and thus destroyed images get GC'd.
1824 1998-12-08 Andy Piper <andy@xemacs.org>
1826 * gui-msw.c (mswindows_handle_gui_wm_command): call
1827 MARK_SUBWINDOWS_CHANGED.
1829 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1830 subwindows really get deleted.
1832 * redisplay.c: new variable subwindows_changed[_set].
1833 (redisplay_window): use it.
1834 (redisplay_frame): ditto.
1835 (redisplay_device): ditto.
1836 (redisplay_without_hooks): ditto.
1838 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1839 subwindows redisplay as per glyphs equivalent.
1840 * redisplay.h: ditto.
1841 (MARK_SUBWINDOWS_CHANGED): ditto.
1842 (RESET_CHANGED_SET_FLAGS): ditto.
1843 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1845 1998-12-07 Andy Piper <andy@xemacs.org>
1847 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1850 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1852 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1853 messages and paint widget glyphs as appropriate with their face fg
1856 1998-12-06 Andy Piper <andy@xemacs.org>
1858 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1859 here rather than in glyphs-widget - do this because we only want
1860 to provide what is really available.
1862 * glyphs.c (Fimage_instance_property): new function to get the
1863 properties of image instances. wires through to console specific
1864 methods and then to widget specific methods.
1865 (Fset_image_instance_property): ditto but for setting widget properties.
1866 (check_valid_face): make extern so that it can be used elsewhere.
1868 * glyphs-widget.c (widget_property): new function. gets the
1869 properties of widgets in general and wires the function through to
1870 widget specific ones.
1871 (widget_set_property): ditto but for setting widget properties.
1873 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1874 add items to the list. Play with window styles a bit to get the
1876 (mswindows_widget_property): break out specific widget properties.
1877 (mswindows_button_property): new function. gets the checked state
1879 (mswindows_combo_property): new function. gets the current
1880 selection in the combo box.
1881 (mswindows_widget_set_property): new function. sets specific
1882 properties of specific widgets.
1884 * glyphs-widget.c (check_valid_item_list): new function. check
1885 that items for a combo-box are just a list of strings.
1886 (combo_validate): new function. check there is an item list.
1887 (widget_instantiate_1): new function. renamed from
1888 widget_instantiate so that we can do slightly different things for
1890 (widget_instantiate): call widget_instantiate_1.
1891 (combo_instantiate): new function to instantiate combo boxes,
1892 defaults height to the pixel height of the number of items in the
1894 (syms_of_glyphs_widget): move widget keywords here.
1895 (image_instantiator_format_create_glyphs_widget): use new combo
1898 1998-12-04 Andy Piper <andy@xemacs.org>
1900 * event-msw.c (mswindows_wnd_proc): mule-ize.
1902 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1904 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1905 (resource_name_to_resource): ditto.
1906 (mswindows_resource_instantiate): ditto.
1907 (mswindows_widget_instantiate): ditto.
1908 (mswindows_widget_set_property): ditto.
1910 * redisplay-output.c (redisplay_output_subwindow): don't show
1911 subwindows if they are obscured at the edge of the frame, emacs
1912 gets into some sort of redisplay loop otherwise.
1914 * gui.h: prototype gui_item_selected_p.
1916 * gui.c (gui_item_selected_p): new function to determine the
1917 selected state of a gui_item.
1919 * frame.h (struct frame): add subwindows_changed flag.
1921 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1923 * glyphs.c (update_subwindow): new function to update a
1925 (update_frame_subwindows): new function to update all the
1926 subwindows on a frame.
1928 * console.h (struct console_methods): add update_subwindow.
1930 * glyphs-msw.c (mswindows_widget_property): return selected state
1931 for selected property.
1932 (mswindows_update_subwindow): new function. updates widget glyphs
1933 in redisplay as per menubars or toolbars e.g. selected state.
1934 (console_type_create_glyphs_mswindows): add update_subwindow.
1936 1998-12-03 Andy Piper <andy@xemacs.org>
1938 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1939 tty coding system things are such.
1941 * glyphs-widget.c (widget_face_font_info): new function for
1942 pulling out height and width metrics for a widget's face.
1943 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1946 * event-msw.c (mswindows_drain_windows_queue): translate messages
1947 that are destined for subwindows. This makes edit fields interact
1948 with the keyboard correctly.
1949 nuke warnings by #ifndef'ing out stuff not required by msg select().
1951 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1952 macro defining the iiforma without the symbol required by widget.
1953 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1955 * general.c (syms_of_general): add Qwidget, Qselected.
1957 * faces.c (complex_vars_of_faces): add widget face inheriting from
1960 1998-11-09 Andy Piper <andy@xemacs.org>
1962 * window.h (struct window): add a cache of subwindows on a
1965 * window.c (mark_window): mark the subwindow_instance_cache.
1966 (allocate_window): initialise the subwindow instance_cache.
1968 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1969 instead of the devmeth.
1970 (x_clear_toolbar): ditto.
1972 * redisplay-x.c (x_output_display_block): call
1973 redisplay_output_subwindow for subwindows and widgets.
1975 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1976 types to do nothing for.
1978 * lisp.h: declare new widget/subwindow symbols.
1980 * glyphs.c (image_instantiate): cache subwindows on a per-window
1982 (subwindow_possible_dest_types): new function for subwindow dest
1984 (subwindow_instantiate): generic instantiation of a
1985 subwindow. specialised by device multi-methods.
1986 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1988 (Fimage_instance_subwindow_id): ditto.
1989 (Fresize_subwindow): ditto.
1990 (Fforce_subwindow_map): ditto.
1992 * glyphs-x.c (x_print_image_instance): remove subwindow
1993 stuff. Handled genrically in glyphs.c.
1994 (x_image_instance_equal): ditto.
1995 (x_image_instance_hash): ditto.
1996 (x_finalize_image_instance): delete subwindows when required.
1997 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1998 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1999 glyph-based, subwindow implementation.
2000 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2002 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2004 (x_unmap_subwindow): new function to unmap X subwindows.
2005 (x_map_subwindow): new function to map X subwindows.
2006 (x_subwindow_instantiate): new function to instantiate X
2008 (x_resize_subwindow): new function to resize X subwindows.
2009 (console_type_create_glyphs_x): add subwindow functions.
2010 (image_instantiator_format_create_glyphs_x): add device
2011 multi-methods for xpm, xbm and subwindow.
2013 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2014 (subwindow-width): ditto.
2015 (subwindow-height): ditto.
2017 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2018 generally instantiating ms subwindows. Used by
2019 mswindows_*_instantiate.
2020 (mswindows_edit_instantiate): instantiate an edit field on a
2023 1998-11-04 Andy Piper <andy@xemacs.org>
2025 * symsinit.h: declare new functions.
2027 * redisplay.h: declare new functions.
2029 * redisplay-x.c (x_output_display_block): call
2030 redisplay_clear_region rather than x_clear_region.
2031 (x_output_string): ditto.
2032 (x_output_pixmap): ditto.
2033 (x_clear_to_window_end): ditto.
2034 (x_output_eol_cursor): ditto.
2035 (x_clear_region): only do X specific things. other duties handled
2036 in redisplay_clear_region.
2038 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2039 duties moved to redisplay_clear_region.
2041 * redisplay-output.c (clear_left_border): use
2042 redisplay_clear_region instead of device method.
2043 (clear_right_border): ditto.
2044 (output_display_line): ditto.
2045 (redisplay_output_subwindow): ditto.
2046 (redisplay_clear_top_of_window): ditto.
2047 (redisplay_clear_region): perform duties previously handled by
2048 device methods. call the appropriate device method at the
2049 end. unmap subwindows if necessary.
2051 * redisplay-msw.c (mswindows_output_string): use
2052 redisplay_clear_region instead of mswindows_clear_region.
2053 (mswindows_clear_to_window_end): ditto.
2054 (mswindows_output_display_block): output subwindows when required.
2055 (mswindows_clear_region): only do mswindows specific things,
2056 everything else is now handled in redisplay_clear_region.
2058 * gui.h: add item id hash defines and declare function prototypes.
2060 * gui.c (mark_gui_item): new function for marking gui_items.
2061 (gui_item_hash): generic hash function for generating command ids
2064 * gui-msw.c: new file.
2065 (mswindows_handle_gui_wm_command): new function to handle widget
2068 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2070 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2071 (DEFINE_DEVICE_IIFORMAT): ditto.
2072 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2073 (struct Lisp_Image_Instance): add widget and subwindow data plus
2074 appropriate access functions.
2076 * glyphs.c (decode_device_ii_format): new function for decoding
2077 image instantiator functions based on a device type as well as an
2079 (decode_image_instantiator_format): just call
2080 decode_device_ii_format with nil device.
2081 (add_entry_to_device_ii_format_list): new function for per device
2083 (add_entry_to_image_instantiator_format_list): just call
2084 add_entry_to_device_ii_format_list with nil device.
2085 (check_valid_vector): new function.
2086 (instantiate_image_instantiator): instantiate using per-format
2087 method and then per-format-per-device method (device
2088 multi-methods). signal an error if neither is possible.
2089 (mark_image_instance): cope with subwindows and widgets.
2090 (print_image_instance): ditto.
2091 (image_instance_equal): ditto.
2092 (image_instance_hash): ditto.
2093 (allocate_glyph): ditto.
2094 (glyph_width): ditto.
2095 (glyph_height_internal): ditto.
2096 (xpm_instantiate): removed because of device multi-methods.
2097 (mark_subwindow_cachels): new cachel functions for caching
2098 instantiated subwindows on a per-frame basis. mostly copied from
2099 glyph cachel functions.
2100 (update_subwindow_cachel_data): ditto.
2101 (add_subwindow_cachel): ditto.
2102 (get_subwindow_cachel_index): ditto.
2103 (reset_subwindow_cachels): ditto.
2104 (mark_subwindow_cachels_as_not_updated): ditto.
2105 (unmap_subwindow): generic unmapping of subwindows based on cachel
2107 (map_subwindow): ditto.
2108 (initialize_subwindow_image_instance): generic initialisation of
2110 (syms_of_glyphs): add widget keywords.
2112 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2115 1998-11-04 Andy Piper <andy@xemacs.org>
2117 * glyphs-widget.c: new file for instantiating widget type glyphs.
2118 (widget_possible_dest_types): new general dest type function for
2120 (widget_validate): ditto.
2121 (initialize_widget_image_instance): ditto
2122 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2123 before handing on control to device multi-methods.
2124 (syms_of_glyphs_widget): new function.
2125 (image_instantiator_format_create_glyphs_widget): new function,
2126 added placeholders for button, edit, combo, scrollbar
2127 (vars_of_glyphs_widget): new function.
2129 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2130 storing window ids of widgets.
2132 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2133 deletion of widget and subwindow glyphs.
2134 (mswindows_unmap_subwindow): new device function for unmapping
2135 subwindows on a msw frame.
2136 (mswindows_map_subwindow): ditto.
2137 (mswindows_register_image_instance): register instantiated widgets
2138 with the widget hastable.
2139 (mswindows_button_instantiate): instantiate a button type widget
2141 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2143 (image_instantiator_format_create_glyphs_mswindows): add device
2144 multi-methods for xbm, xpm, subwindow, edit and button.
2146 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2147 information about subwindows visible on the current frame. used by
2148 redisplay_clear_region to unmap subwindows as required.
2150 * frame.c (mark_frame): mark subwindow_cachels.
2151 (allocate_frame_core): instantiate subwindow_cachels.
2153 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2156 * event-msw.c (mswindows_wnd_proc): add call to
2157 mswindows_handle_gui_wm_command to handle widget callbacks.
2159 * emacs.c (main_1): add calls to glyphs-widget initialisation
2162 * console.h (struct console_methods): add
2163 unmap/map_subwindow_method for use be redisplay_clear_region to
2164 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2165 with by image instantiator multi-methods. Add
2166 resize_subwindow_method.
2168 * console-stream.c (stream_clear_region): change signature to
2169 match new generic clear region function.
2171 * Makefile.in.in: add glyphs-widget.o to list of objects.
2173 * console-msw.h (struct mswindows_frame): add widget hashtable for
2174 wiring command ids to callbacks.
2176 1998-12-16 Andy Piper <andy@xemacs.org>
2178 * XEmacs 21.2.6 is released
2180 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2182 * md5.c (Fmd5): Correctly initiate string input stream.
2184 * Makefile.in.in (tests): Add md5-tests.el.
2186 1998-12-06 Martin Buchholz <martin@xemacs.org>
2189 * alloc.c (make_vector): remove travesty
2193 (make_bit_vector_internal):
2195 (make_bit_vector_from_byte_vector):
2197 - make vector_equal a little faster.
2198 - Don't use variable name `new'.
2199 - Use size_t instead of EMACS_INT.
2200 - usual Martin-style pointless bit-twiddling.
2206 Make mapcar faster. In particular, make
2207 (mapc #'identity long-string)
2208 MUCH faster under Mule.
2209 * tests/automated/lisp-tests.el: Test 'em!
2211 1998-12-06 Martin Buchholz <martin@xemacs.org>
2213 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2216 1998-12-13 Martin Buchholz <martin@xemacs.org>
2218 * console-msw.c: Function definitions follow coding standards
2219 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2221 1998-12-11 Martin Buchholz <martin@xemacs.org>
2223 * events.h (struct timeout_data):
2224 * event-tty.c (tty_timeout_to_emacs_event):
2225 * event-msw.c (mswindows_wm_timer_callback):
2226 * event-Xt.c (Xt_timeout_to_emacs_event):
2227 * event-msw.c (mswindows_cancel_dispatch_event):
2228 Make sure Lisp_Objects inside events are initialized to Qnil, not
2229 Qnull_pointer, which is now illegal.
2231 1998-12-10 Martin Buchholz <martin@xemacs.org>
2233 * lisp.h: Fix up prototypes to match alloc.c
2235 1998-12-09 Andy Piper <andy@xemacs.org>
2237 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2238 XSETINT for assigning lisp objects.
2240 1998-12-07 Martin Buchholz <martin@xemacs.org>
2243 * console-msw.c (DHEADER):
2252 - max_align_t should not be visible to the user of the
2254 - use Bufbyte instead of char
2255 - parens around (FOOP (obj)) are always redundant.
2256 If they were necessary, we should fix the macro instead.
2257 - Always use string_data(foo) instead of foo->data.
2259 1998-12-07 Martin Buchholz <martin@xemacs.org>
2261 * sysdep.c (set_descriptor_non_blocking):
2262 Since O_NONBLOCK is now always #defined, make use of fcntl
2263 conditional on F_SETFL being defined.
2265 1998-12-09 Andy Piper <andy@xemacs.org>
2267 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2268 that got removed in the merge
2270 1998-11-30 Greg Klanderman <greg@alphatech.com>
2272 * dired.c (vars_of_dired): bugfix for previous conditionalization
2273 of user-name-completion on non- Windows NT.
2275 1998-12-08 Martin Buchholz <martin@xemacs.org>
2277 * windowsnt.h: Remove `support' for using index and rindex
2279 * filelock.c (current_lock_owner):
2280 - Change uses of index -> strchr, rindex -> strrchr
2282 1998-12-06 Martin Buchholz <martin@xemacs.org>
2284 * frame-msw.c (mswindows_init_frame_1):
2285 - use make_lisp_hash_table, not Fmake_hash_table
2288 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2290 * XEmacs 21.2.5 is released
2292 1998-11-30 Martin Buchholz <martin@xemacs.org>
2294 * xselect.c (receive_incremental_selection):
2295 * xselect.c (x_get_window_property):
2296 * xmu.c (XmuReadBitmapDataFromFile):
2297 * xmu.c (XmuCursorNameToIndex):
2298 * xgccache.c (describe_gc_cache):
2299 * xgccache.c (gc_cache_lookup):
2300 * xgccache.c (free_gc_cache):
2301 * xgccache.c (make_gc_cache):
2303 * window.c (map_windows_1):
2304 * window.c (Fother_window_for_scrolling):
2305 * window.c (window_scroll):
2306 * window.c (change_window_height):
2307 * window.c (Fsplit_window):
2308 * window.c (window_left_gutter_width):
2309 * window.c (window_modeline_height):
2310 * window.c (invalidate_vertical_divider_cache_in_window):
2311 * window.c (window_needs_vertical_divider_1):
2312 * window.c (update_mirror_internal):
2313 * window.c (SET_LAST_FACECHANGE):
2314 * widget.c (Fwidget_plist_member):
2315 * unexec.c (copy_text_and_data):
2316 * unexcw.c (copy_executable_and_dump_data_section):
2318 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2319 * tooltalk.c (struct Lisp_Tooltalk_Message):
2320 * toolbar.h (struct toolbar_button):
2321 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2322 * toolbar.c (recompute_overlaying_specifier):
2323 * toolbar.c (toolbar_validate):
2324 * toolbar.c (toolbar_button_at_pixpos):
2325 * toolbar.c (get_toolbar_coords):
2326 * toolbar.c (update_frame_toolbars):
2328 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2329 * toolbar-msw.c (mswindows_find_toolbar_pos):
2330 * toolbar-msw.c (mswindows_output_toolbar):
2331 * toolbar-msw.c (mswindows_clear_toolbar):
2340 * sysdep.c (sys_fopen):
2341 * sysdep.c (sys_open):
2342 * sysdep.c (tty_init_sys_modes_on_device):
2343 * sysdep.c (get_eof_char):
2344 * sysdep.c (child_setup_tty):
2345 * sysdep.c (set_descriptor_non_blocking):
2347 * syntax.c (scan_words):
2350 * symeval.h (struct symbol_value_varalias):
2351 * symeval.h (struct symbol_value_forward):
2352 * symbols.c (syms_of_symbols):
2353 * symbols.c (init_symbols_once_early):
2354 * symbols.c (Fbuilt_in_variable_type):
2355 * symbols.c (Fsymbol_value_in_buffer):
2356 * symbols.c (default_value):
2358 * symbols.c (find_symbol_value_quickly):
2359 * symbols.c (store_symval_forwarding):
2360 * symbols.c (set_default_console_slot_variable):
2361 * symbols.c (set_default_buffer_slot_variable):
2362 * symbols.c (verify_ok_for_buffer_local):
2363 * symbols.c (symbol_is_constant):
2364 * symbols.c (oblookup):
2365 * symbols.c (Funintern):
2366 * symbols.c (Fintern):
2367 * symbols.c (check_obarray):
2369 * specifier.h (struct specifier_methods):
2371 * specifier.c (specifier_instance):
2372 * specifier.c (specifier_instance_from_inst_list):
2373 * specifier.c (decode_locale_type):
2374 * specifier.c (specifier_equal):
2375 * specifier.c (finalize_specifier):
2376 * specifier.c (prune_specifiers):
2377 * specifier.c (kill_specifier_buffer_locals):
2378 * sound.c (init_native_sound):
2381 * search.c (Fmatch_data):
2382 * search.c (match_limit):
2383 * search.c (Freplace_match):
2384 * search.c (skip_chars):
2385 * search.c (scan_buffer):
2387 * scrollbar.c (specifier_vars_of_scrollbar):
2388 * scrollbar.c (Fscrollbar_set_hscroll):
2389 * scrollbar.c (vertical_scrollbar_changed_in_window):
2390 * scrollbar.c (release_window_mirror_scrollbars):
2391 * scrollbar.c (free_scrollbar_instance):
2394 * s/msdos.h (O_BINARY):
2396 * s/freebsd.h (LIBS_TERMCAP):
2397 * regex.c (re_match_2_internal):
2398 * regex.c (compile_extended_range):
2399 * regex.c (POP_FAILURE_POINT):
2400 * regex.c (PUSH_FAILURE_POINT):
2401 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2403 * redisplay.h (struct display_line):
2404 * redisplay.h (struct rune):
2405 * redisplay.c (vars_of_redisplay):
2406 * redisplay.c (redisplay_variable_changed):
2407 * redisplay.c (UPDATE_CACHE_RETURN):
2408 * redisplay.c (validate_line_start_cache):
2409 * redisplay.c (mark_redisplay_structs):
2410 * redisplay.c (mark_glyph_block_dynarr):
2411 * redisplay.c (window_line_number):
2412 * redisplay.c (redisplay_frame):
2413 * redisplay.c (redisplay_window):
2414 * redisplay.c (generate_modeline):
2415 * redisplay.c (create_right_glyph_block):
2416 * redisplay.c (create_left_glyph_block):
2417 * redisplay.c (create_text_block):
2419 * redisplay-x.c (x_output_hline):
2420 * redisplay-x.c (x_output_vertical_divider):
2421 * redisplay-tty.c (tty_output_display_block):
2422 * redisplay-output.c (output_display_line):
2423 * redisplay-output.c:
2424 * redisplay-msw.c (mswindows_output_vertical_divider):
2425 * redisplay-msw.c (mswindows_ring_bell):
2426 * redisplay-msw.c (mswindows_output_cursor):
2430 * puresize.h (RAW_PURESIZE):
2431 * profile.c (syms_of_profile):
2432 * profile.c (Fstart_profiling):
2433 * profile.c (sigprof_handler):
2436 * process.c (vars_of_process):
2437 * process.c (read_process_output):
2438 * process.c (get_process):
2440 * process-unix.c (unix_open_multicast_group):
2441 * process-unix.c (unix_get_tty_name):
2442 * process-unix.c (unix_send_process):
2443 * process-unix.c (unix_reap_exited_processes):
2444 * process-unix.c (unix_create_process):
2445 * process-unix.c (unix_init_process_io_handles):
2446 * process-unix.c (allocate_pty):
2448 * process-nt.c (nt_open_network_stream):
2449 * process-nt.c (nt_update_status_if_terminated):
2450 * process-nt.c (nt_finalize_process_data):
2452 * print.c (debug_short_backtrace):
2453 * print.c (debug_backtrace):
2454 * print.c (print_symbol):
2455 * print.c (print_internal):
2456 * print.c (print_cons):
2457 * print.c (Fwrite_char):
2458 * print.c (print_prepare):
2459 * print.c (canonicalize_printcharfun):
2460 * print.c (output_string):
2463 * opaque.c (allocate_managed_opaque):
2465 * offix.c (DndSetData):
2466 * objects.c (face_boolean_create):
2467 * objects.c (font_instantiate):
2468 * objects.c (font_create):
2469 * objects.c (color_create):
2470 * objects.c (finalize_font_instance):
2471 * objects.c (finalize_color_instance):
2473 * objects-x.c (x_font_instance_truename):
2475 * objects-x.c (x_initialize_font_instance):
2476 * objects-x.c (allocate_nearest_color):
2477 * objects-tty.c (tty_initialize_font_instance):
2478 * objects-tty.c (tty_initialize_color_instance):
2479 * objects-msw.c (mswindows_initialize_color_instance):
2480 * ntproc.c (syms_of_ntproc):
2481 * ntproc.c (Fwin32_set_process_priority):
2482 * ntproc.c (sys_spawnve):
2484 * ntheap.c (get_data_end):
2488 * nt.c (generate_inode_val):
2489 * nt.c (sys_rename):
2491 * mule-wnnfns.c (Fwnn_hinsi_number):
2492 * mule-wnnfns.c (Fwnn_yuragi):
2493 * mule-wnnfns.c (Fwnn_common_learn):
2494 * mule-wnnfns.c (Fwnn_suffix_learn):
2495 * mule-wnnfns.c (Fwnn_prefix_learn):
2496 * mule-wnnfns.c (Fwnn_okuri_learn):
2497 * mule-wnnfns.c (Fwnn_complex_conv):
2498 * mule-wnnfns.c (Fwnn_last_is_first):
2499 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2500 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2501 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2502 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2503 * mule-wnnfns.c (Fwnn_hinsi_list):
2504 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2505 * mule-wnnfns.c (Fwnn_dict_search):
2506 * mule-wnnfns.c (Fwnn_word_toroku):
2507 * mule-wnnfns.c (Fwnn_hindo_update):
2508 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2509 * mule-wnnfns.c (Fwnn_kakutei):
2510 * mule-wnnfns.c (Fwnn_begin_henkan):
2511 * mule-wnnfns.c (Fwnn_dict_comment):
2512 * mule-wnnfns.c (Fwnn_dict_add):
2513 * mule-wnnfns.c (Fwnn_open):
2514 * mule-mcpath.c (mc_getcwd):
2515 * mule-coding.c (vars_of_mule_coding):
2516 * mule-coding.c (convert_to_external_format):
2517 * mule-coding.c (encoding_marker):
2518 * mule-coding.c (decoding_marker):
2519 * mule-coding.c (Fcopy_coding_system):
2520 * mule-coding.c (Fmake_coding_system):
2521 * mule-coding.c (Fcoding_system_list):
2522 * mule-coding.c (Ffind_coding_system):
2523 * mule-coding.c (symbol_to_eol_type):
2525 * mule-charset.c (complex_vars_of_mule_charset):
2526 * mule-charset.c (vars_of_mule_charset):
2527 * mule-charset.c (Fset_charset_ccl_program):
2528 * mule-charset.c (struct charset_list_closure):
2529 * mule-charset.c (Ffind_charset):
2530 * mule-charset.c (make_charset):
2531 * mule-charset.c (non_ascii_valid_char_p):
2533 * mule-ccl.c (ccl_driver):
2534 * mule-canna.c (c2mu):
2535 * mule-canna.c (Fcanna_henkan_begin):
2536 * mule-canna.c (Fcanna_parse):
2537 * mule-canna.c (Fcanna_store_yomi):
2538 * mule-canna.c (Fcanna_touroku_string):
2539 * mule-canna.c (Fcanna_initialize):
2541 * menubar.c (menu_parse_submenu_keywords):
2542 * menubar-x.c (make_dummy_xbutton_event):
2543 * menubar-x.c (set_frame_menubar):
2544 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2547 * menubar-msw.c (mswindows_popup_menu):
2548 * menubar-msw.c (mswindows_update_frame_menubars):
2549 * menubar-msw.c (mswindows_handle_wm_command):
2550 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2551 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2552 * menubar-msw.c (update_frame_menubar_maybe):
2553 * menubar-msw.c (populate_or_checksum_helper):
2554 * menubar-msw.c (empty_menu):
2557 * marker.c (set_marker_internal):
2558 * marker.c (print_marker):
2561 * lstream.c (lisp_buffer_rewinder):
2562 * lstream.c (mark_lstream):
2564 * lrecord.h (struct lrecord_header):
2565 * lread.c (readevalloop):
2566 * lread.c (locate_file):
2567 * lread.c (locate_file_in_directory):
2568 * lread.c (Flocate_file):
2569 * lread.c (load_force_doc_string_unwind):
2570 * lread.c (ebolify_bytecode_constants):
2575 * linuxplay.c (linux_play_data_or_file):
2576 * linuxplay.c (audio_init):
2579 * keymap.c (describe_map):
2580 * keymap.c (describe_map_mapper):
2581 * keymap.c (Fdescribe_bindings_internal):
2582 * keymap.c (Fsingle_key_description):
2583 * keymap.c (map_keymap_sorted):
2584 * keymap.c (get_relevant_keymaps):
2585 * keymap.c (Flookup_key):
2586 * keymap.c (raw_lookup_key_mapper):
2587 * keymap.c (Fdefine_key):
2588 * keymap.c (Fevent_matches_key_specifier_p):
2589 * keymap.c (key_desc_list_to_event):
2590 * keymap.c (define_key_parser):
2591 * keymap.c (define_key_check_and_coerce_keysym):
2592 * keymap.c (keymap_submaps):
2593 * keymap.c (keymap_store_internal):
2594 * keymap.c (keymap_delete_inverse_internal):
2595 * keymap.c (keymap_store_inverse_internal):
2596 * keymap.c (print_keymap):
2597 * keymap.c (Lisp_Keymap):
2600 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2601 * insdel.c (make_gap):
2602 * input-method-xlib.c (get_XIM_input):
2603 * input-method-xlib.c (XIM_init_frame):
2608 * gui-x.c (button_item_to_widget_value):
2609 * gui-x.c (popup_selection_callback):
2610 * glyphs.h (struct image_instantiator_methods):
2611 * glyphs.c (mark_glyph_cachels):
2612 * glyphs.c (Fglyph_type):
2613 * glyphs.c (image_instantiate):
2614 * glyphs.c (image_create):
2615 * glyphs.c (make_image_instance_1):
2616 * glyphs.c (finalize_image_instance):
2618 * glyphs-x.c (finalize_subwindow):
2619 * glyphs-x.c (xface_validate):
2620 * glyphs-x.c (x_locate_pixmap_file):
2621 * glyphs-x.c (convert_EImage_to_XImage):
2623 * glyphs-msw.c (mswindows_resource_instantiate):
2624 * glyphs-msw.c (xpm_to_eimage):
2625 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2626 * glyphs-eimage.c (tiff_instantiate):
2627 * glyphs-eimage.c (png_instantiate):
2628 * glyphs-eimage.c (struct png_error_struct):
2629 * glyphs-eimage.c (gif_memory_storage):
2632 * getloadavg.c (getloadavg):
2635 * free-hook.c (log_gcpro):
2636 * free-hook.c (check_malloc):
2637 * free-hook.c (check_free):
2638 * free-hook.c (ROUND_UP_TO_PAGE):
2640 * frame.h (struct frame):
2642 * frame.c (change_frame_size_1):
2643 * frame.c (allocate_frame_core):
2645 * frame-x.c (x_focus_on_frame):
2646 * frame-x.c (x_init_frame_2):
2647 * frame-x.c (x_popup_frame):
2648 * frame-x.c (xemacs_XtPopup):
2650 * frame-x.c (Foffix_start_drag_internal):
2651 * frame-x.c (x_cde_destroy_callback):
2652 * frame-x.c (x_wm_hack_wm_protocols):
2653 * frame-tty.c (tty_frame_visible_p):
2654 * frame-msw.c (mswindows_make_frame_invisible):
2655 * frame-msw.c (mswindows_after_init_frame):
2656 * frame-msw.c (mswindows_init_frame_1):
2657 * fns.c (syms_of_fns):
2658 * fns.c (Fbase64_decode_string):
2660 * fns.c (Ffillarray):
2661 * fns.c (Fobject_plist):
2663 * fns.c (Fcanonicalize_lax_plist):
2664 * fns.c (Fcanonicalize_plist):
2665 * fns.c (Fplist_remprop):
2666 * fns.c (Fplist_get):
2667 * fns.c (advance_plist_pointers):
2668 * fns.c (internal_plist_put):
2669 * fns.c (Fnreverse):
2672 * fns.c (Fsubstring):
2673 * fns.c (Fbvconcat):
2675 * fns.c (length_with_bytecode_hack):
2676 * fns.c (print_bit_vector):
2678 * floatfns.c (Ffloor):
2680 * floatfns.c (in_float_error):
2681 * fileio.c (Ffile_modes):
2682 * fileio.c (Fexpand_file_name):
2683 * fileio.c (Fmake_temp_name):
2684 * fileio.c (Ffile_name_nondirectory):
2685 * fileio.c (Ffile_name_directory):
2687 * file-coding.c (vars_of_mule_coding):
2688 * file-coding.c (convert_to_external_format):
2689 * file-coding.c (encoding_marker):
2690 * file-coding.c (decoding_marker):
2691 * file-coding.c (Fcopy_coding_system):
2692 * file-coding.c (Fmake_coding_system):
2693 * file-coding.c (struct coding_system_list_closure):
2694 * file-coding.c (Ffind_coding_system):
2695 * file-coding.c (symbol_to_eol_type):
2697 * faces.h (struct face_cachel):
2698 * faces.c (vars_of_faces):
2699 * faces.c (face_property_was_changed):
2700 * faces.c (mark_face_cachels):
2701 * faces.c (temporary_faces_list):
2702 * faces.c (struct face_list_closure):
2704 * extents.h (struct extent):
2705 * extents.c (vars_of_extents):
2706 * extents.c (struct copy_string_extents_1_arg):
2707 * extents.c (add_string_extents_mapper):
2708 * extents.c (Fextent_property):
2709 * extents.c (Fset_extent_property):
2710 * extents.c (symbol_to_glyph_layout):
2711 * extents.c (properties_equal):
2712 * extents.c (print_extent):
2713 * extents.c (print_extent_1):
2714 * extents.c (extent_in_region_p):
2715 * extents.c (gap_array_make_gap):
2717 * events.h (struct Lisp_Event):
2719 * events.c (Fevent_properties):
2720 * events.c (format_event_object):
2721 * events.c (Fmake_event):
2722 * events.c (event_equal):
2723 * events.c (print_event):
2724 * events.c (mark_event):
2725 * event-stream.c ((read-char)
2726 * event-stream.c (vars_of_event_stream):
2727 * event-stream.c (syms_of_event_stream):
2728 * event-stream.c (Fset_recent_keys_ring_size):
2729 * event-stream.c (Fsit_for):
2730 * event-stream.c (Fnext_event):
2731 * event-stream.c (execute_help_form):
2732 * event-stream.c (maybe_kbd_translate):
2734 * event-msw.c (vars_of_event_mswindows):
2735 * event-msw.c (mswindows_wnd_proc):
2736 * event-msw.c (mswindows_need_event):
2737 * event-msw.c (mswindows_drain_windows_queue):
2738 * event-msw.c (mswindows_pump_outstanding_events):
2740 * event-msw.c (slurp_thread):
2741 * event-msw.c (struct ntpipe_slurp_stream):
2742 * event-msw.c (HANDLE_TO_USID):
2743 * event-Xt.c (emacs_Xt_handle_magic_event):
2744 * event-Xt.c (x_event_to_emacs_event):
2745 * event-Xt.c (x_reset_modifier_mapping):
2746 * event-Xt.c (x_reset_key_mapping):
2748 * eval.c (syms_of_eval):
2749 * eval.c (warn_when_safe):
2750 * eval.c (warn_when_safe_lispobj):
2751 * eval.c (Fbacktrace_frame):
2752 * eval.c (Fbacktrace):
2753 * eval.c (top_level_set):
2754 * eval.c (unbind_to_hairy):
2755 * eval.c (specbind_magic):
2756 * eval.c (specbind_unwind_wasnt_local):
2757 * eval.c (call2_trapping_errors):
2758 * eval.c (call1_trapping_errors):
2759 * eval.c (catch_them_squirmers_call2):
2760 * eval.c (call0_trapping_errors):
2761 * eval.c (run_hook_trapping_errors):
2762 * eval.c (catch_them_squirmers_eval_in_buffer):
2763 * eval.c (call4_in_buffer):
2764 * eval.c (call3_in_buffer):
2765 * eval.c (call2_in_buffer):
2766 * eval.c (call1_in_buffer):
2767 * eval.c (call0_in_buffer):
2768 * eval.c (run_hook):
2769 * eval.c (run_hook_with_args_in_buffer):
2772 * eval.c (do_autoload):
2773 * eval.c (un_autoload):
2774 * eval.c (Fautoload):
2775 * eval.c (Finteractive_p):
2776 * eval.c (Fcommand_execute):
2777 * eval.c (signal_quit):
2778 * eval.c (call_with_suspended_errors):
2779 * eval.c (signal_error):
2780 * eval.c (return_from_signal):
2781 * eval.c (Fcall_with_condition_handler):
2782 * eval.c (run_condition_case_handlers):
2783 * eval.c (condition_case_1):
2784 * eval.c (Funwind_protect):
2785 * eval.c (unwind_to_catch):
2786 * eval.c (internal_catch):
2787 * eval.c (Fmacroexpand_internal):
2788 * eval.c (Fuser_variable_p):
2789 * eval.c (Fdefconst):
2791 * eval.c (Ffunction):
2792 * eval.c (signal_call_debugger):
2793 * eval.c (call_debugger):
2796 * emacs.c (sort_args):
2800 * editfns.c (Fencode_time):
2801 * editfns.c (Fdecode_time):
2802 * editfns.c (Fuser_full_name):
2804 * editfns.c (save_excursion_restore):
2807 * doprnt.c (emacs_doprnt_1):
2808 * doc.c (verify_doc_mapper):
2809 * doc.c (Fsnarf_documentation):
2810 * doc.c (Fdocumentation):
2812 * dired.c (user_name_completion):
2813 * dired.c (Fdirectory_files):
2816 * dgif_lib.c (FreeSavedImages):
2817 * dgif_lib.c (DGifGetImageDesc):
2819 * device.h (struct device):
2820 * device.c (Fselect_device):
2821 * device.c (allocate_device):
2823 * device-x.c (Fx_keysym_on_keyboard_p):
2824 * device-x.c (Fx_valid_keysym_name_p):
2825 * device-x.c (x_IO_error_handler):
2826 * device-x.c (x_delete_device):
2827 * device-x.c (x_finish_init_device):
2828 * device-x.c (x_init_device):
2830 * device-msw.c (mswindows_init_device):
2832 * database.c (vars_of_database):
2833 * database.c (Fput_database):
2834 * database.c (Fopen_database):
2835 * database.c (berkdb_remove):
2836 * database.c (berkdb_put):
2837 * database.c (Fdatabasep):
2838 * database.c (print_database):
2840 * data.c (vars_of_data):
2841 * data.c (syms_of_data):
2842 * data.c (init_errors_once_early):
2843 * data.c (prune_weak_lists):
2844 * data.c (finish_marking_weak_lists):
2845 * data.c (print_weak_list):
2847 * data.c (Fstring_to_number):
2848 * data.c (Fnumber_to_string):
2849 * data.c (Findirect_function):
2852 * data.c (Fsubr_interactive):
2854 * data.c (Fkeywordp):
2857 * console.h (CONSOLE_NAME):
2859 * console.c (vars_of_console):
2860 * console.c (Fselect_console):
2862 * console-x.h (DEVICE_X_COLORMAP):
2863 * console-x.h (struct x_device):
2864 * console-x.c (x_device_to_console_connection):
2865 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2866 * console-tty.c (tty_init_console):
2868 * console-msw.h (struct mswindows_frame):
2871 * cmds.c (internal_self_insert):
2872 * cmds.c (Fforward_line):
2873 * cmds.c (Fforward_char):
2876 * chartab.c (mark_char_table_entry):
2878 * casefiddle.c (casify_word):
2879 * callproc.c (child_setup):
2880 * callproc.c (Fcall_process_internal):
2882 * callint.c (Fcall_interactively):
2884 * bytecode.c (execute_rare_opcode):
2885 * bytecode.c (execute_optimized_program):
2888 * buffer.h (BUFFER_REALLOC):
2889 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2890 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2892 * buffer.h (MAP_INDIRECT_BUFFERS):
2893 * buffer.h (CHECK_LIVE_BUFFER):
2894 * buffer.c (init_initial_directory):
2895 * buffer.c (complex_vars_of_buffer):
2896 * buffer.c (vars_of_buffer):
2897 * buffer.c (finish_init_buffer):
2898 * buffer.c (Fget_file_buffer):
2899 * buffer.c (Fbuffer_list):
2900 * buffer.c (mark_buffer):
2901 * balloon_help.c (balloon_help_move_to_pointer):
2902 * balloon_help.c (show_help):
2905 * alloc.c (garbage_collect_1):
2906 * alloc.c (sweep_strings):
2907 * alloc.c (sweep_compiled_functions):
2908 * alloc.c (sweep_bit_vectors_1):
2909 * alloc.c (sweep_vectors_1):
2910 * alloc.c (sweep_lcrecords_1):
2911 * alloc.c (tick_lcrecord_stats):
2912 * alloc.c (pure_string_sizeof):
2913 * alloc.c (mark_conses_in_list):
2914 * alloc.c (mark_object):
2915 * alloc.c (report_pure_usage):
2916 * alloc.c (make_pure_float):
2917 * alloc.c (make_pure_string):
2918 * alloc.c (free_managed_lcrecord):
2919 * alloc.c (mark_string):
2920 * alloc.c (noseeum_make_marker):
2921 * alloc.c (allocate_event):
2922 * alloc.c (Fbit_vector):
2923 * alloc.c (Fvector):
2924 * alloc.c (make_float):
2925 * alloc.c (Fmake_list):
2927 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2928 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2929 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2930 * alloc.c (dbg_constants):
2931 * alloc.c (gc_record_type_p):
2932 * alloc.c (free_lcrecord):
2933 * alloc.c (xmalloc):
2934 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2936 * Makefile.in.in (mostlyclean):
2937 * Makefile.in.in (external_client_xlib_objs_nonshared):
2938 * Makefile.in.in (temacs_link_args):
2939 * Makefile.in.in (release):
2940 * Makefile.in.in (dnd_objs):
2941 * Makefile.in.in (objs):
2942 * Makefile.in.in (PROGNAME):
2943 * EmacsShell.c: cast strings to (XtPointer)
2944 * EmacsFrame.c: cast strings to (XtPointer)
2946 - rewrite basic lisp functions for speed
2947 - rewrite bytecode interpreter for speed
2948 - rewrite list looping constructs for speed and safety using
2950 - use size_t where appropriate.
2951 - new hashtable implementation
2952 - cleanup implementation of opaques
2953 - opaques can now be purecopy'ed
2954 - move some cl functionality into C for speed.
2955 - remove last remaining VMS support
2957 - improve gdb/dbx debugger support
2958 - move pure.c back into alloc.c for performance
2959 - enable report_pure_usage() if --memory-usage-stats
2960 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2961 - don't use symbols with leading `_' or embedded `__'
2962 - globally cleanup duplicated semicolons `;;'
2963 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2965 - globally replace O_NDELAY with O_NONBLOCK.
2966 - globally replace CDISABLE with _POSIX_VDISABLE.
2967 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2968 - define (and maybe use!) STDERR_FILENO and friends.
2969 - add support for macros defined in C
2970 - `when', `unless', `not' and `defalias' now defined in C,
2971 so that they are universally available.
2972 - rename defvar_mumble to defvar_magic
2973 - rename RETURN__ to RETURN_SANS_WARNINGS
2974 - use consistent style of initial caps in error messages
2975 - implement last, butlast, nbutlast, copy-list in C.
2976 - provide typedefs for all struct Lisp_foo types
2977 - Lisp_Objects must be initialized to Qnil rather than 0.
2978 - make sure XEmacs runs (slowly) with always_gc == 1;
2979 - fast and safe LOOP_* macros
2980 - change calls to XSETOBJ to XSETFOO
2981 - replace calls to XSETINT by make_int()
2982 - plug up memory leaks
2983 - use style markobj (foo), not silly ((markobj) (foo))
2984 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2986 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2988 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2990 1998-11-28 SL Baur <steve@altair.xemacs.org>
2992 * XEmacs 21.2-beta4 is released.
2994 1998-11-27 SL Baur <steve@altair.xemacs.org>
2996 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2997 property in control-1 charset.
2998 From Julian Bradfield <jcb@daimi.au.dk>
3000 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3002 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3004 Add stub for :label.
3006 * gui.c (gui_item_add_keyval_pair): ditto.
3008 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3009 :key-sequence keyword.
3011 Support :active for submenus like the Windows code and FSF Emacs.
3013 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3015 * dired.c (make_directory_hash_table): make_string() is OK because
3016 readdir() Mule-encapsulates.
3018 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3020 * fns.c (Fbase64_encode_string): Fix docstring.
3021 (Fbase64_decode_string): Ditto.
3023 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3025 * editfns.c (Ftranslate_region): Use
3026 convert_bufbyte_string_into_emchar_string().
3028 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3030 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3032 (Ftranslate_region): Turn table into an array of Emchars for
3035 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3037 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3039 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3041 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3042 type `char' with nils.
3044 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3045 for tables of type `char'.
3047 1998-11-26 Didier Verna <verna@inf.enst.fr>
3049 * input-method-xlib.c (Initialize_Locale): don't call
3050 XtSetLanguageProc. We've done the whole work here.
3051 * input-method-xfs.c (Initialize_Locale): ditto.
3052 * input-method-motif.c (Initialize_Locale): ditto.
3054 1998-11-26 Didier Verna <verna@inf.enst.fr>
3056 * process-unix.c (unix_create_process): handle properly
3057 Vfile_name_coding_system for converting the program and directory
3060 1998-11-27 SL Baur <steve@altair.xemacs.org>
3062 * m/arm.h: New file.
3063 From James LewisMoss <dres@ioa.com>
3065 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3068 Fix the realpath() problem of UnixWare2.1.3.
3069 Patches for NEC's sysv4.2 machine.
3071 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3073 * dired.c (Fdirectory_files): Remove redundant code.
3075 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3077 * fns.c (free_malloced_ptr): New function.
3078 (XMALLOC_OR_ALLOCA): New macro.
3079 (XMALLOC_UNBIND): Ditto.
3080 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3081 to be freed in case of non-local exit.
3082 (Fbase64_encode_string): Ditto.
3083 (Fbase64_decode_region): Ditto.
3084 (Fbase64_decode_string): Ditto.
3085 (STORE_BYTE): New macro.
3086 (base64_decode_1): Use it.
3088 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3090 * fns.c (base64_value_to_char): Base64 stuff.
3092 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3094 * editfns.c (Fbuffer_substring): New function.
3096 * lisp.h: Declare make_string_from_buffer_no_extents().
3098 * insdel.c (make_string_from_buffer_1): New function.
3099 (make_string_from_buffer_no_extents): Ditto.
3101 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3103 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3104 sound work on AIX with OSS installed. Linux should still work.
3106 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3108 * config.h.in: name change for cygwin/version.h
3110 * configure.in: check for cygwin/version.h now.
3112 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3113 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3114 move cygwin32/version.h to cygwin/version.h
3116 1998-11-03 Olivier Galibert <galibert@pobox.com>
3118 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3121 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3123 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3124 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3125 enable BROKEN_SIGIO under b20 to make QUIT work.
3127 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3129 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3130 to fit within the constraints of the screen size. I.e. make the
3131 frame small enough to fit and move it if some of it will be
3134 1998-10-19 Greg Klanderman <greg@alphatech.com>
3136 * dired.c: conditionalize inclusion of user-name-completion
3137 primitives on non-Windows NT. The needed functions don't exist on NT.
3139 1998-11-24 SL Baur <steve@altair.xemacs.org>
3141 * gifrlib.h: Clean up types for 64 bit compile.
3142 * dgif_lib.c (DGifInitRead): Ditto.
3143 (MakeSavedImage): Ditto.
3144 * emacs.c (decode_path): Ditto.
3145 From Steve Carney <carney@pa.dec.com>
3147 1998-10-16 William M. Perry <wmperry@aventail.com>
3149 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3150 (cehckboxes instead of checkboxes).
3152 1998-10-15 SL Baur <steve@altair.xemacs.org>
3154 * XEmacs 21.2-beta3 is released.
3156 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3158 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3159 gnuclient. Otherwise, we run xemacs as we always did. This gets
3160 rid of the annoying DOS window when running gnuclient.
3162 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3164 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3165 HAVE_MS_WINDOWS typo.
3167 1998-10-13 SL Baur <steve@altair.xemacs.org>
3169 * process-unix.c (unix_send_process): Set closed flag on writable
3170 pipe after SIGPIPE is received and before we call deactivate_process.
3172 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3174 * window.c (Fset_window_start): respect narrowing when
3175 checking wheter start is at the beginning of a line.
3176 (Fset_window_buffer): Ditto
3177 Fixes repeatable crash in VM.
3179 1998-10-09 SL Baur <steve@altair.xemacs.org>
3181 * window.c (specifier_vars_of_window): Set default vertical
3182 divider width to 1 on ttys.
3184 1998-10-08 Martin Buchholz <martin@xemacs.org>
3189 Add <stddef.h> to get ptrdiff_t declaration
3191 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3193 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3194 is used for Motif or Lucid scrollbars under X.
3196 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3198 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3201 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3203 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3205 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3207 * s/cygwin32.h: more cygwin b20 reorganisation.
3209 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3211 * nas.c: Added necessary support functions to be able to handle
3212 WAVE files in memory, just like the support for SND files in
3215 1998-09-30 SL Baur <steve@altair.xemacs.org>
3217 * callproc.c (child_setup): Fix spelling typo.
3219 1998-09-29 SL Baur <steve@altair.xemacs.org>
3221 * XEmacs 21.2-beta2 is released.
3223 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3225 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3226 to prevent memory corruption in the case of jumping out of a series of
3227 nested match patterns. This is a rather brute force approach, though.
3229 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3231 * config.h.in: ditto.
3233 * s/cygwin32.h: rearrange declarations to cope with cygwin
3234 b20. Include cygwin32/version.h if it exists.
3236 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3238 * device-msw.c (mswindows_init_device): Call new
3239 mswindows_enumerate_fonts() function in objects-msw.c instead
3240 of font_enum_callback_1() to enumerate fonts.
3242 font_enum_callback_1() and _2() moved to objects-msw.c.
3244 * faces.c (complex_vars_of_faces): Make the mswindows default
3245 face font fully specified and provide some fallbacks.
3247 * objects-msw.c: font_enum_callback_1() and _2() moved here
3248 from objects-msw.c. Obtain the enumerated font's character
3249 sets by table lookup instead of using the locale-specific
3250 string provided by Windows.
3252 New public non-method mswindows_enumerate_fonts() that fills
3253 in the supplied mswindows device's font list.
3255 mswindows_initialize_font_instance: Use the supplied name
3256 variable instead of f->name when signalling errors. Match font
3257 weights and character sets using lookup tables which handle
3258 spaces instead of by frobbing.
3260 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3262 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3263 on the size of code fragments passed to run_in_other_process.
3265 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3266 the amount of memory to allocate in the other process.
3268 Removed sigkill_code_end(), sigint_code_end() and
3269 sig_enable_code_end() since they are now redundant.
3271 send_signal() and enable_child_signals(): Don't try to work
3272 out the end of the code fragments passed to
3273 run_in_other_process()
3275 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3277 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3280 * src/unexelf.c: Partially synched with FSF's 20.3.
3282 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3284 * insdel.c (signal_after_change): Map across indirect buffers
3285 here, and not in the upper-level functions.
3286 (signal_first_change): Don't check for Armageddon.
3287 (signal_before_change): Map across indirect buffers here.
3288 (prepare_to_modify_buffer): ...and here.
3290 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3292 * insdel.c (signal_after_change): Add return value.
3293 (buffer_insert_string_1): Use it.
3294 (buffer_delete_range): Ditto.
3295 (buffer_replace_char): Ditto.
3296 (cancel_multiple_change): Map the indirect buffers.
3298 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3300 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3301 (uninit_buffer_text): Ditto.
3303 * buffer.c (Fmake_indirect_buffer): Implement stricter
3306 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3308 * insdel.c (change_function_restore): Reverse order of
3309 function-call and assignment.
3310 (first_change_hook_restore): Ditto.
3312 * extents.c (mark_extent_auxiliary): Mark them.
3313 (Fset_extent_property): Set them.
3314 (Fextent_property): Get them.
3315 (Fextent_properties): Ditto.
3316 (vars_of_extents): Set their default.
3318 * extents.h (struct extent_auxiliary): Add before_change_functions
3319 and after_change_functions.
3321 * insdel.c (signal_before_change): Use it.
3322 (signal_after_change): Ditto.
3324 * extents.c (report_extent_modification): New function.
3326 * insdel.c (signal_before_change): Don't check for Armageddon.
3327 (signal_after_change): Ditto.
3329 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3331 * redisplay.c (redisplay_window): make sure a new starting point
3332 is chosen if it somehow got moved from the beginning of the line
3333 -- this can happen because Fwiden was called recently.
3335 * window.c (Fset_window_start): set start_at_line_beg correctly
3336 (Fset_window_buffer): Ditto
3338 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3340 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3341 (uninit_buffer_text): Ditto.
3343 * buffer.c (Fmake_indirect_buffer): Implement stricter
3346 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3348 * emacs.c (main_1): Removed references to *vars_of_filelock.
3350 * lisp.h: Added Fsystem_name.
3352 * filelock.c: Replaced by version from FSF 20.2. Now implements
3353 locking by using symlinks which is NFS safe. However keep the
3354 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3355 version (and of course use ansi C, acessor macros, etc).
3357 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3359 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3360 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3361 in init_signals_very_early. However these should not be passed
3362 on to children attached to the new pty.
3364 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3366 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3368 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3370 * fileio.c (file-name-directory, file_name_as_directory):
3371 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3373 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3375 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3377 * ralloc.c: uncomment __morecore.
3379 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3381 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3382 WriteFile() to fix a winsock 1.x bug on Win95.
3384 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3386 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3388 (x_event_to_emacs_event): Ditto.
3389 (emacs_Xt_handle_focus_event): Ditto.
3390 (emacs_Xt_handle_magic_event): Ditto.
3392 * console-x.h (struct x_device): New flag being_deleted.
3393 (DEVICE_X_BEING_DELETED): New macro.
3395 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3396 returning. Before doing that, set the being_deleted flag on the
3399 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3401 * device-x.c (x-seppuku-on-epipe): Removed.
3403 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3405 * frame-x.c (x_delete_frame): Flush the X output buffer after
3406 calling XtDestroyWidget to ensure that the windows are really
3409 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3411 * menubar-x.c (my_run_hook): New unused function.
3412 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3413 since we ignore the results of the contained functions anyway.
3415 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3417 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3418 interlaced GIF files that are smaller than 4 lines high...
3420 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3422 * buffer.c (map_over_sharing_buffers): Deleted.
3424 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3426 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3429 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3431 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3433 (buffer_delete_range): Ditto.
3435 * marker.c (init_buffer_markers): Set point-marker to the value of
3436 point in an indirect buffer.
3438 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3440 * undo.c (undo_prelude): Test last-undo-buffer against base
3443 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3445 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3447 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3449 * insdel.c (init_buffer_text): Initialize it here.
3451 * line-number.c: Address line_number_cache through buffer->text.
3453 * buffer.c (mark_buffer): Mark line number cache.
3455 * bufslots.h (line_number_cache): Move to struct buffer_text.
3457 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3458 across the children buffers.
3459 (buffer_delete_range): Ditto.
3460 (buffer_replace_char): Ditto.
3464 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3466 * buffer.c (Fmake_indirect_buffer): Uncomment.
3468 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3470 * macros.c (Fend_kbd_macro): Remove trailing period from error
3472 (Fexecute_kbd_macro): Ditto.
3474 1998-08-21 Greg Klanderman <greg@alphatech.com>
3476 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3477 (Fuser_name_completion_1): new function to return uniqueness
3478 indication in addition to the user name completion.
3479 (user_name_completion): change type of `uniq' argument.
3481 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3483 * lread.c (vars_of_lread): Removed `source-directory' variable.
3485 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3487 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3490 1998-08-19 SL Baur <steve@altair.xemacs.org>
3492 * dired.c (vars_of_dired): Fix misapplied patch.
3494 1998-08-16 Martin Buchholz <martin@xemacs.org>
3496 * fns.c (Fremrassq, remrassq_no_quit):
3497 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3499 1998-07-17 Didier Verna <verna@inf.enst.fr>
3501 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3502 style as foreground GC for faces that have the `dim' property.
3503 (x_output_string): when the `dim' face property is set,
3504 ensure the gray pixmap has been created, and get a proper
3505 foreground GC to draw the text.
3507 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3509 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3510 Manually track the state of the left and right Ctrl and Alt
3513 1998-08-07 Matt Stupple <matts@tibco.com>
3515 * ntproc.c: don't wait on char_consumed at thread entry.
3516 Additionally, to get the 'process' marked as finished, ensure
3517 that the CHILD_ACTIVE macro returns false, so before exiting
3518 close char_avail and set it to NULL, and close other handles
3519 to reduce handle leak problems.
3521 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3523 * menubar-msw.c (displayable_menu_item): take account of menu
3524 depth when deciding whether to try to display accelerators.
3526 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3528 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3531 * glyphs-msw.c: fix a couple of potential handle leaks.
3533 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3535 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3536 *decoding ONLY* back into the core.
3537 * glyphs-eimage.c: Change referenced header file for GIF
3538 reading to point to the incore version.
3540 1998-07-20 Martin Buchholz <martin@xemacs.org>
3542 * casefiddle.c (casify_object):
3543 Change algorithm from O(N**2) to O(N).
3547 1998-07-22 Greg Klanderman <greg@alphatech.com>
3549 * dired.c (file_name_completion_unwind): don't leak the cons.
3551 1998-07-20 Greg Klanderman <greg@alphatech.com>
3553 * dired.c (Fuser_name_completion): new function.
3554 (Fuser_name_all_completions): new function.
3555 (user_name_completion): new function.
3556 (syms_of_dired): 2 new DEFSUBRs.
3557 (vars_of_dired): initialize user name cache vars.
3559 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3561 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3562 colors taken from the default face. Also correct a thinko in
3563 transparency (not alpha) handling.
3565 1998-07-23 Martin Buchholz <martin@xemacs.org>
3567 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3568 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3569 * lread.c (Fload_internal): Be very careful with printfs of
3571 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3574 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3576 * callint.c (Fcall_interactively): GCPRO prompt string before
3577 passing it to Fread_key_sequence
3579 1998-07-27 SL Baur <steve@altair.xemacs.org>
3581 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3582 Vvertical_divider_map.
3584 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3585 Qnil or 0, none were initialized prior to this change.
3587 Rename misnamed `V' prefixed integer variables:
3588 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3589 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3590 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3591 Vcanna_ichiran_revLen.
3593 Rename misnamed `V' prefixed integer variables and initialize
3594 properly in the vars_of routine.
3595 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3596 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3597 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3598 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3599 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3600 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3601 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3602 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3603 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3604 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3605 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3606 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3607 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3608 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3609 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3610 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3611 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3612 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3613 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3614 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3615 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3616 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3617 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3618 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3619 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3620 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3621 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3622 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3623 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3624 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3625 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3626 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3627 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3628 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3629 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3630 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3631 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3632 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3633 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3634 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3635 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3636 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3637 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3638 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3639 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3640 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3642 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3644 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3645 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3646 keys thus no longer considering all keysyms on a key.
3648 1998-07-19 SL Baur <steve@altair.xemacs.org>
3650 * XEmacs 21.2-beta1 is released.
3652 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3654 * eldap.c (Fldap_search_internal): When converting the list of
3655 attributes to search Copy the final 0 from Lisp strings to C
3657 Check base, not Vldap_default_base as a a string
3659 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3661 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3663 * unexnt.c: Unconditionally define bss_start and bss_size, and
3664 ensure that they don't go in the .bss section.
3666 1998-07-17 Olivier Galibert <galibert@pobox.com>
3668 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3669 byte order is dependant of the local byte order).
3670 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3672 1998-07-18 SL Baur <steve@altair.xemacs.org>
3674 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3675 Qmswindows_resource.
3676 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3678 1998-07-12 SL Baur <steve@altair.xemacs.org>
3680 * general.c (syms_of_general): Add defsymbol for Qresource.
3682 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3683 Qmswindows_resource.
3684 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3685 (mswindows_resource_validate): Rename.
3686 (mswindows_resource_normalize): Rename.
3687 (mswindows_resource_possible_dest_types): Rename.
3688 (mswindows_resource_instantiate): Rename.
3689 (image_instantiator_format_create_glyphs_mswindows): Replace
3690 `resource' with `mswindows.resource'.
3692 * XEmacs 21.0-pre5 is released.
3694 1998-07-10 SL Baur <steve@altair.xemacs.org>
3696 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3697 server type in environment.
3698 Use alloca-ed strings instead of tiny fixed size ones.
3700 1998-07-09 SL Baur <steve@altair.xemacs.org>
3702 * XEmacs 21.0-pre4 is released.
3704 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3706 * fileio.c: (expand_file_name): under win32: Don't treat names
3707 as UNC names if a drive letter has been specified. If a drive
3708 has been specified, strip out extra directory-seperators that
3709 reportedly cause problems under Win95.
3711 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3713 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3714 MSVC >= 5.0. Put emacs init and zero-init data in a special
3715 section of the executable when this is defined.
3717 * unexnt.c, ntheap.h:
3718 Removed unused find_section() and get_section_size().
3721 Fix up the executable's checksum after dumping otherwise the
3723 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3724 zero-init data separately from init data. Dump emacs data
3725 into a special section of the executable.
3726 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3727 my_ebss instead of up to the end of bss.
3729 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3731 * filelock.c: Removed Vconfigure_lock_directory - already
3734 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3735 defined in frame.c and general.c respectively.
3737 * glyphs-msw.c: Removed Qresource - already defined in
3740 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3742 * eldap.c (Fldap_search_internal): Docstring fixes
3744 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3746 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3747 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3748 EMACSPACKAGEPATH and INFOPATH variables.
3749 Removed unused get_emacs_configuration function.
3751 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3752 it is now defined at build-time by the makefile.
3754 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3756 * fileio.c: (expand_file_name): under win32: Don't treat names as
3757 UNC names if a drive letter has been specified. If a drive has
3758 been specified, strip out extra directory-seperators that
3759 reportedly cause problems under Win95.
3761 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3763 * faces.c (complex_vars_of_faces): for the gui-element face don't
3764 fallback to the default face, instead provide reasonable default
3765 fallbacks that were previously hardcoded elsewhere.
3767 1998-07-06 Olivier Galibert <galibert@pobox.com>
3769 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3770 when the X server endianness is different than the client's one.
3772 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3774 * eval.c (run_hook_with_args_in_buffer): Check
3775 default (non-buffer-local) value of hook for
3776 nil before treating it as a function. Don't initialize
3777 the `globals' variable twice.
3779 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3781 * fileio.c: Don't do directory seperator canonicalisation in
3782 substitute-in-file-name because we don't know that the
3783 filename refers to a local file.
3785 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3787 * process-nt.c (nt_create_process): Try appending the standard
3788 executable file extensions to the filename if none supplied.
3790 1998-06-29 SL Baur <steve@altair.xemacs.org>
3792 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3794 From Keisuke Mori <ksk@ntts.com>
3796 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3798 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3799 images if we have masks. This handles the xbm case (have masks)
3800 and avoids overuse of resources in the xpm case (generally no masks).
3801 Don't output small toolbars.
3803 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3805 * eval.c (run_hook_with_args_in_buffer): Don't treat
3806 the default value of a buffer local hook as a list of
3807 hooks unless it is both a cons and the car of that cons
3810 1998-06-29 SL Baur <steve@altair.xemacs.org>
3812 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3813 * process-unix.c: Ditto.
3814 * mule-coding.h: Ditto.
3815 * mule-coding.c: Ditto.
3816 * mule-charset.c: Ditto.
3817 * mule-charset.h: Ditto.
3818 * file-coding.c: Ditto.
3819 * file-coding.h: Ditto.
3821 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3823 * event-msw.c: Guard against recursion when freeing
3824 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3826 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3827 Call ShowWindow twice in init_frame_3 to get round runemacs
3830 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3832 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3834 * winslots.h: Rename.
3836 * window.c (specifier_vars_of_window): Renamed
3837 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3838 as suggested by Ben Wing.
3839 (specifier_vars_of_window): Fix docstrings.
3841 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3843 * unexaix.c: Line number information works correctly again.
3845 1998-06-22 Olivier Galibert <galibert@pobox.com>
3847 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3849 1998-06-21 Martin Buchholz <martin@xemacs.org>
3851 * editfns.c (get_home_directory): ANSIfy.
3852 XEmacs is compilable under C *and* C++.
3853 It's XEmacs, not Xemacs!
3855 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3857 * console-msw.h: added a list of fonts to device data.
3859 * device-msw.c: enumerate list of available fonts in
3860 mswindows_init_device. Free list in mswindows_delete_device.
3862 * objects-msw.c: Added helper function match_font used by
3863 mswindows_initialize_font_instance and mswindows_list_fonts.
3864 Allow a charset to be specified in a font string, even if
3865 previous fields havn't been specified.
3867 1998-06-23 Greg Klanderman <greg@alphatech.com>
3869 * indent.c (column_at_point): column cache bugfix.
3870 Set last_known_column_point to the buffer position for
3871 which the column was requested, not buffer's point.
3873 * redisplay.c (decode_mode_spec): for current-column, show
3874 window's point's column, not buffer's point's column.
3876 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3878 * menubar-msw.c (mswindows_handle_wm_command): use
3879 enqueue_misc_user event rather than
3880 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3883 * console-msw.h: declare mswindows_enqueue_magic_event.
3885 * event-msw.c (mswindows_enqueue_magic_event): make global.
3887 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3889 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3890 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3891 (add_position_to_cache): Use EMACS_INT instead of int.
3893 1998-06-21 Olivier Galibert <galibert@pobox.com>
3895 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3896 suitable for an int used as a boolean (btw, C sucks.).
3898 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3900 * object-msw.c: remove warnings.
3902 * device-msw.c: #define wrongly named cygwin structure elements.
3904 * s/cygwin32.h: define DEMI_BOLD
3906 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3908 * redisplay-msw.c: new function mswindows_apply_face_effects.
3909 This is called by output_string and output_cursor to display
3910 underline and strikeout on faces.
3912 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3914 * console-msw.h: added a list of fonts to device data.
3916 * device-msw.c: enumerate list of available fonts in
3917 mswindows_init_device. Free list in mswindows_delete_device.
3919 * objects-msw.c: Added helper function match_font used by
3920 mswindows_initialize_font_instance and mswindows_list_fonts.
3921 Allow a charset to be specified in a font string, even if
3922 previous fields havn't been specified.
3924 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3927 Removed compilation warnings from mswindows_string_to_color.
3928 mswindows_list_fonts returns a more general bogus font.
3929 New lisp-visible function mswindows-color-list.
3931 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3933 * editfns.c (Fuser_login_name): Modify to user new function
3935 (user_login_name): C only function to avoid Lisp object overhead
3936 Returns "unknown" instead of nil in Cygwin environment
3938 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3939 equivalent for current user in Cygwin environment. Use new
3940 function user_login_name to get username.
3942 * lisp.h: Declare user_login_name
3944 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3946 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3948 Some other insignificant nitpicks.
3950 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3952 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3953 creating the image list and make sure he bk color is transparent.
3955 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3957 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3958 completed_timeouts. The timer could have expired.
3960 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3962 * console-msw.h: move XEMACS_RECT_WH inside frame
3963 parameters. define macors to access it.
3965 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3966 parameter to intialise desired sizing. (mswindows_init_frame_2):
3967 enable and size the frame to something sensible when we get
3968 here. (mswindows_set_frame_properites): use new
3969 mswindows_size_frame_internal function and size frame if frame
3970 parameters not just if init is finished - WM_SIZE happens too
3971 early for some specs. (mswindows_size_frame_internal): new
3972 function abstracted from mswindows_set_frame_properties.
3973 (Vmswindows_use_system_frame_size_defaults):
3974 new variable controls whether to allow the system to pick frame
3975 size defaults, defaults to nil.
3977 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3978 than duplicated code.
3980 1998-06-15 Colin Rafferty <colin@xemacs.org>
3982 * Makefile.in.in: Made EXTW_LINK expand properly.
3984 1998-06-12 Martin Buchholz <martin@xemacs.org>
3986 * redisplay.c (vars_of_redisplay): default value of
3987 column-number-start-at-one should be NIL!
3989 1998-06-11 Martin Buchholz <martin@xemacs.org>
3992 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3994 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3996 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3997 build_string to avoid crashes under Mule.
3999 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4001 * ntplay.c (play_sound_data_1): don't delete the sound data until
4002 the next sound is played and the previous one finished.
4004 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4006 * fileio.c (directory-sep-char): Escape backslashes.
4008 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4010 * event-stream.c: Fix docstring reference.
4012 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4014 * alloc.c (make_float): Remove useless initialization of `next'
4016 (make_pure_float): Ditto.
4018 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4020 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4022 * fileio.c (Fmake_directory_internal): Remove conditionals
4023 on WINDOWSNT when calling mkdir.
4025 * ntproc.c: Deleted the following unused functions:
4026 register_child, reap_subprocess, sys_wait.
4028 * nt.c (sys_rename): Ifzeroed this implementation.
4029 Deleted the following unused functions:
4030 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4031 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4032 sys_read, sys_write.
4033 Merger sys_fopen and sys_open with sysdep.c implementation.
4035 * sysdep.c: Removed MS-DOS code.
4036 (sys_rename): Deal with Microsoft rename weirdness.
4037 (sys_open): Implemented for Windows.
4041 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4043 * buffer.c (complex_vars_of_buffer): Removed %t description from
4046 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4048 * scrollbar-msw.c: initialize the cbSize element of the
4049 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4050 to ignore the value of cbSize, but Win95 (and I presume Win98)
4051 appear to want it set to sizeof(SCROLLINFO).
4053 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4055 * event-stream.c: Defined Qcancel_mode_internal.
4056 (syms_of_event_stream): defsymbol'ed it.
4058 * events.h: Externed it.
4060 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4062 1998-06-04 Oliver Graf <ograf@fga.de>
4064 * frame-x.c (x_cde_destroy_callback): free the data
4065 (cde-start-drag-internal) corrected root position, 21.1 needs this
4066 hardcoded in Button events
4067 (offix-start-drag-internal) corrected root position
4069 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4071 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4074 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4076 * dialog-msw.c (button_width): Removed `inline' from the function
4079 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4081 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4082 Note that adding this flag to subsequent frames causes problems.
4084 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4086 * glyphs-eimage.c (png_instantiate) move 'struct
4087 png_memory_storage tbr' out of nested block to avoid dangling
4090 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4093 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4094 inherits from gui-element.
4096 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4097 with existing code, generate masks correctly.
4099 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4101 * glyphs-eimage.c: Changed included header for gifs to use
4102 Gifreader instead of giflib.
4104 * glyphs-x.c: removed the image-related functions that were
4105 moved into glyphs-eimage.
4107 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4109 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4110 if built without X Windows support.
4112 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4114 * fns.c (Fconcat): Synch docstring with new reality.
4116 1998-06-03 SL Baur <steve@altair.xemacs.org>
4118 * frame.c: Remove reference to msdos.h (which is going away).
4119 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4121 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4123 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4127 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4129 * events.h: Fixed commentary about misc-user scrollbar events.
4131 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4132 object as an event channel, instead of window object.
4133 (x_update_horizontal_scrollbar_callback): Ditto.
4135 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4137 * ntplay.c (play_sound_data_1) new function. convert alloca data
4138 to malloc if necessary.
4139 (play_sound_file): if the file is not in our path then convert to
4142 1998-06-01 SL Baur <steve@altair.xemacs.org>
4144 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4145 * msdos.c (Frecent_doskeys): Ditto.
4147 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4148 Suggested by Reggie Perry <perry@zso.dec.com>
4150 * buffer.h: Eliminate size in declaration.
4152 1998-06-01 Olivier Galibert <galibert@pobox.com>
4154 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4156 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4158 * gui.c (gui_item_init): Changed the default value for config member
4159 from Qunbound to Qnil.
4161 1998-06-01 Greg Klanderman <greg@alphatech.com>
4163 * indent.c (vmotion_pixels): Don't #define abs().
4165 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4167 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4170 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4172 * glyphs.h: add xbm declarations.
4174 * console.h: add xbm_instantiate_method device method.
4176 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4177 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4178 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4179 locate_pixmap_file device method and read_bitmap_data_from_file
4180 instead of XmuReadBitmapDataFromFile.
4181 (xbm_instatntiate): make a device method.
4183 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4184 new function that just calls XmuReadBitmapDataFromFile.
4185 (x_xbm_instatntiate): device method from xbm_instantiate.
4187 * glyphs-msw.c (read_bitmap_data) (NextInt)
4188 (read_bitmap_data_from_file): new functions copied from Xmu
4190 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4191 inline data to an mswindows bitmap.
4192 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4193 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4196 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4198 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4199 `modeline-visible-p'.
4200 Declared specifier lisp variables at the beginning oh the file
4203 * procimpl.h (struct process_methods): Changed semantics of
4204 create_process method so it accepts lisp strings instead of
4207 * process.c (Fstart_process_internal): Moved building of
4208 unix style argv from here to process-unix.c, ...
4210 * process-unix.c (unix_create_process): ... right here.
4212 * process-nt.c (nt_create_process): Changed this function to
4213 support new semantics, so avoided a GC problem.
4215 * events.c (Fmake_event): Document misc-user events properties.
4216 (Fmake_event): Do not allow arbitrary objects for channel property
4217 of misc-user events.
4218 (Fmake_event): Change misc-user event validation: it is function
4219 which is required, not button.
4221 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4223 (mswindows_enqueue_misc_user_event): Added function.
4224 (mswindows_bump_queue): Removed function.
4225 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4226 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4227 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4228 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4229 really nothing, which is my personal favorite thing.
4231 * console-msw.h: Removed prototype for mswindows_bump_queue().
4232 Added prototype for mswindows_enqueue_misc_user_event().
4234 * menubar-msw.c (mswindows_handle_wm_command): Use
4235 mswindows_enqueue_misc_user_event().
4237 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4239 * dialog-msw.c (dialog_proc): Ditto.
4241 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4242 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4243 user events channel.
4245 1998-05-29 Greg Klanderman <greg@alphatech.com>
4247 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4248 incorrect semantics of vmotion_pixels which has been fixed. don't
4249 use it anymore as it can't easily be used.
4251 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4252 the motion was reported incorrectly if you tried to go past end of
4255 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4257 * toolbar.h: Removed misleading commentary, as Martin suggested.
4259 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4261 * lisp.h: Extern Qactivate_menubar_hook.
4263 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4266 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4268 * glyphs-msw.c: use BPLINE macro.
4270 * select-msw.c (mswindows-selection-exists-p)
4271 (mswindows-delete-selection): doc string fixes.
4273 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4274 unpressable. warning elimination.
4276 1998-05-28 Martin Buchholz <martin@xemacs.org>
4278 * alloc.c (dbg_constants):
4281 Remove toolbar_data debugging code, since that lrecord has
4284 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4286 * alloc.c: zap cached value of (user-home-directory), so that
4289 * buffer.c: From init_buffer(), separated out code that
4290 determined the initial directory for the *scratch* buffer, and
4291 put them into a function called "init_initial_directory()".
4292 The initial directory is now available as a global "char *"
4293 called initial_directory.
4295 * buffer.h: Added extern entries for initial_directory[] and
4296 init_initial_directory().
4298 * editfns.c: added new elisp function "user-home-directory",
4299 which basically returns getenv("HOME"), but attempts to use
4300 other values if $HOME isn't set.This may have to be tweaked in
4301 the future as, under Unix, "/" is used if $HOME isn't set (this
4302 probably should be set to the current directory). To support
4303 this, a new C function, "get_home_directory()", now exists,
4304 which returns the "home directory", as a "char *" string.
4306 * emacs.c: Rearrange NT initialization order so that
4307 environment/registry variables will be properly entered into
4308 Vprocess_enviroment.
4310 * fileio.c: replaced egetenv("HOME") with calls to the new
4311 get_home_directory().
4313 * lisp.h: Added function prototypes for uncache_home_directory()
4314 and get_home_directory(), along with lisp prototypes for
4315 Fuser_home_directory() and friends.
4317 * nt.c: replaced getenv("HOME") with calls to the new
4318 get_home_directory().
4320 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4321 warnings about getcwd(), etc. not having prototypes.
4323 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4325 * process-nt.c (send_signal): Emulate SIGHUP.
4326 (validate_signal_number): Ditto.
4328 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4329 remove MOD_SHIFT from ASCII characters.
4330 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4333 1998-05-24 Oliver Graf <ograf@fga.de>
4335 * frame-x.c (cde-start-drag-internal): added filename and multi-
4337 (x_cde_convert_callback) dito
4339 1998-05-26 Oliver Graf <ograf@fga.de>
4341 * frame-x.c: include event-mod.h also with CDE
4342 (x_cde_convert_callback) made the thing working
4343 (cde-start-drag-internal) also debugging
4345 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4352 - add __OpenBSD__ where __NetBSD__ was found.
4353 - TODO: replace platform-specific conditional compilation by
4354 feature tests in configure.in.
4356 1998-05-15 Greg Klanderman <greg@alphatech.com>
4358 * window.c (Fwindow_displayed_text_pixel_height): New function.
4359 (syms_of_window): DEFSUBR it.
4361 * indent.c (Fvertical_motion_pixels): New function - request
4363 (vmotion_pixels): helper.
4364 (syms_of_indent): DEFSUBR.
4365 * lisp.h: declaration for vmotion_pixels().
4367 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4368 to request returning motion in pixels.
4369 (Fvertical_motion_pixels): Remove, functionality merged into
4371 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4372 (Fmove_to_window_line): ditto.
4373 * lisp.h: Change declaration for Fvertical_motion.
4375 * window.c: rename window-text-pixel-{height,width,edges} to
4376 window-text-area-pixel-*.
4378 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4380 * tooltalk.c (vars_of_tooltalk) added staticpro for
4381 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4383 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4385 * faces.c: create a new 3d_object_face, make modeline and
4386 vertical_divider faces fallback to this rather than the default.
4388 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4390 * s/cygwin32.h: define charsets for cygwin.
4392 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4394 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4395 and coordinates. resize bitmaps if we have already settled on a
4398 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4400 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4402 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4404 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4408 * gui-x.c (popup_selection_callback): Ditto.
4410 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4412 * gui.c (get_callback): Renamed to get_gui_callback.
4414 1998-05-17 Martin Buchholz <martin@xemacs.org>
4416 * glyphs.h: order rearrangement.
4418 * device-tty.c (tty_asynch_device_change): Warning suppression.
4419 * device-x.c (x_device_system_metrics): Warning suppression.
4420 Make Doc strings consistent with coding standards.
4422 1998-05-24 Martin Buchholz <martin@xemacs.org>
4424 * general.c: multiple definition of `Qicon'. general.c seems
4425 like a good home for Qicon.
4427 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4429 * This patch is to fix compilation warnings under Windows.
4431 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4432 Added prototypes for FSF inherited functions, with which XEmacs is
4433 sprinkled thoroughly.
4434 Removed some #if 0 code. Bracketed some more definitions, probably
4435 related to Visual C versions prior to 4 (we do not support them).
4437 * sysfloat.h (logb): Finally, get logb() prototyped.
4439 * sysfile.h: Added Windows specific includes.
4440 Removed old Windows specific code bracketed with #if 0.
4442 * sysdep.h: Added prototype for xrealpath().
4444 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4446 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4447 vars_of_dired_mswindows and init_ntproc (Grrr).
4449 * realpath.c: Added Windows specific include files.
4450 (xrealpath): Conditionalized declaration of some auto variables on
4451 S_IFLNK, to avoid warnings.
4453 * ntproc.c: Disabled some compiler warnings. This file is going to
4454 die, so I have not cleaned it up much.
4455 (set_process_dir): Const parameter.
4456 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4457 (Fwin32_long_file_name): Ditto.
4458 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4461 * nt.h: Added prototypes for set_process_dir and convert_time.
4463 * nt.c: More include files.
4464 (getpwnam): Consted char* argument.
4465 (get_emacs_configuration): Const return value.
4466 (opendir): Const argument.
4467 (stat): Casted converstion long->short.
4468 (stat): Removed ad hoc and questionable support for non-MSC compile.
4469 (sys_pipe): Removed unused auto variable.
4470 (_sys_read_ahead): Removed calls to DebPrint.
4471 (sys_read): Ditto, in 2 places.
4472 (term_ntproc): Added unused int parameter to signal handler, to
4473 avoid a warning when compiling a call to signal().
4474 (msw_sigset): Properly return old signandler or NULL instead of void.
4476 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4478 * gmalloc.c (morecore): Ditto.
4479 (_free_internal): Ditto.
4481 * lread.c (parse_integer): Ditto.
4483 * dired-msw.c: Added several include files.
4485 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4486 of Compilers to Shut Up.
4488 * callproc.c: Added #includes to suppress warnings under Windows.
4489 (init_callproc): Removed #if0'ed code and unused variables.
4491 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4493 * device-msw.c (mswindows_device_system_metrics): do planes in a
4494 way consistent with X.
4496 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4497 use SetPixel, use DIBits functions.
4498 (xpm_to_eimage): frob colors more closely like xpm deos.
4500 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4501 to be closer to X version.
4503 * event-msw.c: use tooltip string directly.
4505 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4507 * objects-msw.c: frob rgb colors that only Kyle uses.
4509 * dialog-msw.c (button_width): INLINE -> inline.
4511 1998-05-23 SL Baur <steve@altair.xemacs.org>
4513 * getloadavg.c (getloadavg): Fix typo.
4515 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4517 * objects-msw.c (mswindows_initialize_font_instance): Added support
4518 for font character sets.
4519 Replaced 'XXX' with '####' in comments throughout the file.
4521 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4523 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4524 console_type_create_dialog_mswindows(), to initialize Windows dialog
4527 * symsinit.h: Prototyped the above functions.
4529 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4530 checks to dialog.c...
4532 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4533 device must support dialog boxes, and the descriptor must supply at
4536 * dialog-msw.c: New file, dialogs for Windows.
4538 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4540 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4541 (Fldap_search_internal): Removed unused variable `err'
4543 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4546 1998-05-17 Martin Buchholz <martin@xemacs.org>
4548 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4549 defined. Therefore there is no need to handle the case when
4550 HAVE_LDAP is undefined. Similarily, there is no reason to have
4551 any code wrapped within `#ifdef emacs', since this code is only
4552 useful within an emacs. This simplifies the code significantly.
4554 * inline.c: Include eldap.h only if HAVE_LDAP.
4555 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4558 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4560 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4561 printing dump stats when building without DEBUG_XEMACS.
4562 (dump_bss_and_heap): Ditto.
4564 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4566 * gnuclient.c: don't suppress window system if there is no display
4567 and we are running under mswindows. send 'mswindows device type if
4568 we are in this situation.
4570 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4573 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4575 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4578 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4580 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4581 {top,bottom}-{left,right} values in addition to
4582 {top,bottom}_{left,right}.
4584 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4586 * fileio.c (Fmake_temp_name): Remove unreached code.
4588 * process-nt.c (validate_signal_number): Use
4589 signal_simple_error().
4591 1998-05-19 Martin Buchholz <martin@xemacs.org>
4594 * sound.c (vars_of_sound):
4595 * sysdep.c (reset_sigio_on_device):
4596 * window.c (window_bottom_gutter_height):
4597 unexhp9k800.c:258: warning: implicit declaration of function
4598 `calculate_checksum'
4599 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4600 sysdep.c:1012: warning: unused variable `owner'
4601 window.c:993: warning: `window_right_toolbar_width' defined but not used
4603 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4605 * glyphs-msw.c (mswindows_create_resized_mask)
4606 (mswindows_create_resized_bitmap): new funnctions split out from
4607 mswindows_resize_dibitmap_instance.
4609 * glyphs-msw.h: declare new resize functions.
4611 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4612 functions so that the original bitmaps are preserved.
4614 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4616 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4617 color if we are trying to output 0 depth bg pixmap.
4619 * scrollbar-msw.c: warning elimination.
4621 1998-05-18 Martin Buchholz <martin@xemacs.org>
4623 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4624 directives in column 1.
4626 * search.c (skip_chars): Avoid using xzero with arrays, since some
4627 compilers get confused by the construct &array.
4629 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4632 * objects-msw.c: Changed the charset value for a new font from
4633 "don't care" to "ansi".
4635 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4637 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4639 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4640 modifier on control chars.
4641 Use IsCharAlpha() instead of isaplha().
4643 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4645 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4647 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4649 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4650 charset when creating font.
4651 (mswindows_initialize_color_instance): Do not create brush along
4653 (mswindows_finalize_color_instance): Do not delete it then.
4655 * objects-msw.h (struct mswindows_color_instance_data): Removed
4656 brush slot, and corresponding accessor macro.
4658 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4660 * toolbar.c: Removed toolbar_data lrecord implementation.
4661 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4662 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4663 (compute_frame_toolbar_buttons): Ditto.
4664 (CHECK_TOOLBAR): Ditto.
4665 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4666 (update_frame_toolbars): Do not check for changed buffer
4667 here. Toolbar information is provided by cached specs in
4668 windows. The check for buffer is eliminated becuase toolbars are
4669 marked changed in set_frame_selected_window() in frame.c
4670 Added check for changed toolbars geometry.
4671 (compute_frame_toolbars_data): Removed unused second parameter;
4672 Adjusted callers of this static function throughout the file.
4673 (init_frame_toolbars): Initialize current_toolbar_size.
4674 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4675 what is its current expansion, for clarity.
4676 (init_frame_toolbars): Ditto.
4677 (init_device_toolbars): Ditto.
4678 (init_global_toolbars): Ditto.
4680 * toolbar.h: Removed definition of toolbar_data lrecord.
4681 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4682 FRAME_CURRENT_TOOLBAR_SIZE.
4683 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4685 * toolbar-x.c (x_output_toolbar): The same change as in
4687 (x_output_toolbar): Ditto.
4688 (x_redraw_exposed_toolbar): Ditto.
4690 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4691 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4692 (mswindows_output_toolbar): Ditto.
4693 (mswindows_output_toolbar): Ditto.
4695 * frame.c (mark_frame): Removed marking of arrays, according to
4696 frameslots.h change.
4697 (nuke_all_frame_slots): Ditto.
4698 (set_frame_selected_window): Mark toolbars changed when
4699 last_nonminibuf_window changes.
4701 * frame.h (struct frame): Moved some slots to frameslots.h.
4702 Added current_toolbar_size array.
4703 Changed references from toolbar_data to toolbar_buttons in macros
4704 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4705 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4706 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4708 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4709 Moved arrays of lisp objects here from frame.h: toolbar_size,
4710 toolbar_visible_p, toolbar_border_width.
4711 Removed toolbar_data slot and added toolbar_buttons.
4713 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4715 * symsinit.h: Externed syms_of_process_nt()
4717 * emacs.c (main_1): Call syms_of_process_nt()
4719 * process-nt.c: Quote process arguments by a call to Lisp function
4720 `nt-quote-process-args'.
4721 (syms_of_process_nt): New function.
4722 (nt_send_process): Flush data stream after each write, to avoid
4723 leaving buffered data.
4724 (nt_send_process): When blocked on process output, wait for
4725 process to slurp more for progressively increasing time intervals.
4727 1998-05-17 Martin Buchholz <martin@xemacs.org>
4729 * window.c (have_undivided_common_edge): Make file-local function
4731 (map_windows): Return 0 if all map functions successful.
4734 * winslots.h: Use unlikely names for local variables in macros to
4735 avoid shadowing warnings.
4737 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4739 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4740 so that we re-output if the toolbar size has changed.
4742 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4744 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4746 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4748 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4751 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4753 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4754 get bitmap manifest constants defined.
4756 * console-msw.h: Include system files in angle brackets, not in
4759 * window.c (specifier_vars_of_window): Fixed a typo in
4760 `vertical-divider-line-width' docstirng.
4762 1998-05-16 Olivier Galibert <galibert@pobox.com>
4764 * line-number.c (delete_invalidate_line_number_cache): Use an
4766 (buffer_line_number): Remove dangerous, plain wrong when using
4767 64bits emacs ints, cast.
4769 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4771 * cmds.c (Fforward_line): Use EMACS_INTs.
4773 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4774 (scan_buffer): Ditto.
4775 (bi_find_next_newline_no_quit): Remove useless cast.
4776 (find_next_newline_no_quit): Ditto.
4777 (find_next_newline): Ditto.
4778 (find_before_next_newline): Use an EMACS_INT.
4780 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4782 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4784 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4786 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4788 * gui-x.c (popup_selection_callback): Use it.
4790 * gui.h (get_callback): Declare it.
4792 * gui.c (get_callback): New function.
4794 1998-05-15 SL Baur <steve@altair.xemacs.org>
4796 * window.c (have_undivided_common_edge): Guard scrollbar specific
4798 (window_needs_vertical_divider_1): Ditto.
4800 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4802 * emacs.c (decode_path): Eliminate compiler warning.
4803 (Fdecode_path): Renamed to Fsplit_path.
4804 (Fsplit_string_by_char): New function.
4806 1998-05-14 Damon Lipparelli <lipp@primus.com>
4808 * winslots.h: close comment
4810 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4812 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4814 * bufslots.h: Removed buffer_file_type slot.
4816 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4818 (complex_vars_of_buffer): Removed buffer-file-type variable and
4819 its default reference.
4821 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4823 * faces.c (complex_vars_of_faces): Defined
4824 Vvertical_divider_face.
4825 (vars_of_faces): Staticpro it.
4827 * faces.h: Externed Vvertical_divider_face.
4829 * redisplay-x.c (x_output_vertical_divider): Use
4830 Vvertical_divider_face to draw the divider instead of modeline
4833 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4834 divider face using Vvertical_divider_face background.
4835 Fix drawing spacing gaps around the divider.
4837 1998-05-14 Didier Verna <verna@inf.enst.fr>
4839 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4840 values for the vertical divider line width and spacing. Use the
4841 cached values from the window structure instead.
4842 (x_divider_width): ditto.
4844 * window.c (specifier_vars_of_window): new specifiers:
4845 vertical-divier -line-width and -spacing.
4846 (vertical_divider_global_width_changed): formerly known as
4847 vertical_divider_shadow_thickness_changed.
4849 * winslots.h: new slots: vertical_specifier _line_width and
4850 _spacing. Plus corrected a comment typo.
4852 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4854 * window.h: Declared window_divider_width().
4856 * console-stream.c (stream_divider_width): Removed method.
4857 (console_type_create_stream): And declaration for it.
4859 * redisplay.c (pixel_to_glyph_translation): Use
4860 window_divider_width() instead of divider_width redisplay method.
4861 (pixel_to_glyph_translation): Fix top divider edge calculation
4862 when scrollbar is on top.
4864 * window.c (window_divider_width): New function, an outphaser for
4865 divider_width redisplay method.
4866 (window_right_gutter_width): Use it.
4867 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4868 specifiers, set fallback values differently on TTYs, and document
4869 the behavior of these on TTYs in the docstrings.
4871 * scrollbar.c (update_scrollbar_instance): Use
4872 window_divider_width() instead of divider_width redisplay method.
4874 * console.h (struct console_methods): Removed divider_width_method.
4876 * redisplay-tty.c (tty_divider_width): Removed device method.
4877 (console_type_create_redisplay_tty): Removed definition for it.
4878 (tty_output_vertical_divider): Respect the value returned by
4879 window_divider_width thus divider line width specification.
4881 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4882 (console_type_create_redisplay_mswindows): Removed definition for it.
4883 (mswinodws_output_vertical_divider): Respect the value returned by
4884 window_divider_width thus divider line width specification.
4886 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4888 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4890 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4892 * glyphs-msw.c: resource loading implementation.
4893 (cursor_normalize): new function.
4894 (cursor_validate): ditto.
4895 (cursor_instantiate): ditto.
4896 (cursor_name_to_resource): ditto.
4897 (cursor_possible_dest_types): ditto.
4898 (check_valid_symbol): ditto.
4899 (check_valid_string_or_int): ditto.
4901 1998-05-14 Martin Buchholz <martin@xemacs.org>
4903 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4906 * process-unix.c (process_signal_char): Use VSUSP instead of
4907 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4909 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4911 * specifier.c (specifier_instance): Change locale precedence of
4912 instantiation so window locale has higher priority than buffer
4914 (Fspecifier_instance): Reflect this in docstring.
4915 (Fadd_spec_list_to_specifier): Ditto.
4916 (Fadd_spec_to_specifier): Ditto.
4917 (Fremove_specifier): Ditto.
4919 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4921 ** Dialog separation into a device method from Andy Piper
4923 * emacs.c (main_1): Call console_type_create_dialog_x().
4925 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4926 into this device method.
4927 (console_type_create_dialog_x): New function.
4929 * dialog.c (Fpopup_dialog_box): New function.
4930 (syms_of_dialog): Defsubr it.
4932 * console.h (struct console_methods): Declared
4933 popup_dialog_box_method().
4935 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4937 1998-05-14 Oliver Graf <ograf@fga.de>
4939 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4940 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4942 1998-05-13 Oliver Graf <ograf@fga.de>
4944 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4946 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4948 * console.h (device_metrics): Removed dbcs, input-method-editor
4949 and right-to-left metrics.
4951 * device.c (Fdevice_system_metric): Ditto.
4952 (Fdevice_system_metrics): Ditto.
4953 (syms_of_device): Ditto.
4954 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4957 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4959 * line-number.h (mark_line_number_cache): Remove unused
4962 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4963 (get_nearest_line_number): Simplify.
4964 (add_position_to_cache): Make the old marker point nowhere.
4966 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4968 ** Renamed window-divider-map => vertical-divider-map
4969 and event-over-divider-p => event-over-vertical-divider-p,
4970 in the following files/functions:
4972 * events.c (Fevent_over_divider_p):
4973 * keymap.c (get_relevant_keymaps):
4976 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4978 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4980 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4982 * window.c (vertical_divider_changed_in_window): Renamed so.
4983 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4984 (window_needs_vertical_divider_1): Decide whether we need it based
4985 on the value of the above specifier. If separators are unwanted,
4986 put them only if there's no scrollbar between this window and its
4988 (have_undivided_common_edge): New function, helper for the above.
4989 (window_needs_vertical_divider): Return either a cached value,
4990 or clauclate and cache one.
4991 (invalidate_vertical_divider_cache_in_window): Implemented.
4992 (map_windows): Changed return type to int, return the value from
4995 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4996 (struct window): Added need_vertical_divider_p and
4997 need_vertical_divider_valid_p.
4999 * winslots.h: Added vertical_divider_draggable_p slot.
5001 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5002 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5004 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5006 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5007 invalidate_vertical_divider_cache_in_frame().
5010 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5012 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5014 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5015 masks correctly and don't select 0.
5017 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5019 * winslots.h: New file, declaration of some struct window and
5020 struct saved_window members.
5022 * window.h (struct window): Include it, with required preprocessor
5025 * window.c (mark_window): Ditto.
5026 (allocate_window): Ditto.
5027 (struct saved_window): Ditto.
5028 (mark_window_config): Ditto.
5029 (saved_window_equal): Ditto.
5030 (Fset_window_configuration): Ditto.
5032 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5034 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5036 1998-05-12 Didier Verna <verna@inf.enst.fr>
5038 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5039 the divider line. The shadow thickness is currently
5040 hard-wired. This will probably be turned into a specifier soon.
5042 1998-05-12 Didier Verna <verna@inf.enst.fr>
5044 * console.h (struct console_methods): the divider_width console
5045 method now requires a struct window * argument.
5047 * redisplay-x.c (x_divider_width): ditto. Plus remove
5048 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5049 (x_output_vertical_divider): give a depressed look when the shadow
5050 thickness is negative.
5052 * console-stream.c (stream_divider_width): pass a struct window *
5055 * redisplay-tty.c (tty_divider_width): ditto.
5057 * window.c (window_right_gutter_width): totdi.
5059 * redisplay.c (generate_modeline): ittod.
5061 * scrollbar.c (update_scrollbar_instance): ttido.
5063 * redisplay-msw.c (mswindows_divider_width): ottid.
5064 WARNING: this enables to compile, but the feature is not functional.
5066 * window.h (struct window): new field
5067 vertical_divider_shadow_thickness.
5069 * window.c (specifier_vars_of_window): new specifier
5070 vertical-divider-shadow-thickness.
5071 (vertical_divider_shadow_thickness_changed): new function to
5072 inform redisplay that the window has changed.
5073 (mark_window): handle new field vertical_divider_shadow_thickness
5075 (allocate_window): ditto.
5076 (saved_window_equal): toddi.
5077 (Fset_window_configuration): totid.
5078 (save_window_save): ttdio.
5079 (struct saved_window): new field vertical_divider_shadow_thickness.
5081 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5083 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5086 1998-05-12 Oliver Graf <ograf@fga.de>
5088 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5089 * event-Xt.c (x_event_to_emacs_event): C++ compability
5091 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5093 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5096 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5098 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5101 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5103 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5105 * emacs.c (decode_path_1): New function.
5106 (decode_path): Use it.
5107 (Fdecode_path): Renamed from Fdecode_path_internal; use
5110 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5112 * macros.c (Fzap_last_kbd_macro_event): New function.
5113 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5115 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5117 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5118 multiple bitmaps are output vertically as well as horizontally.
5119 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5120 crossing lines this is handled by
5121 mswindows_output_dibitmap_region.
5123 1998-05-12 Martin Buchholz <martin@xemacs.org>
5125 * inline.c: Include eldap.h
5127 * menubar-x.c (x_update_frame_menubar_internal):
5128 Remove: unused variable `container'
5130 1998-05-11 Martin Buchholz <martin@xemacs.org>
5132 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5133 Unfortunately, the resulting temacs still cannot dump.
5135 * symbols.c (symbol_is_constant):
5136 (verify_ok_for_buffer_local):
5137 -Wswitch Warning suppression - add default case to switches.
5139 * redisplay.c (decode_mode_spec): Remove unused variables,
5140 Replace Fcoding_system_property (codesys, Qmnemonic) with
5141 XCODING_SYSTEM_MNEMONIC (codesys);
5142 Fcoding_system_property is for users.
5148 Change empty docstrings into no doc strings at all.
5149 Fix bogus FSF-format docstrings.
5152 Standardize docstrings.
5155 Explain problems with matherr.
5157 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5160 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5161 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5162 Fix the weird resultant interaction (causes windows problems)
5166 Take new EMACSBOOTSTRAPLOADPATH into account.
5167 Update documentation strings
5170 - Adjust for luser's CDPATH being set to something weird.
5171 - Take into account bash 2.02's tendency to print the cwd when
5172 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5173 - fix the run-temacs target to use $(DUMPENV)
5174 - fix the run-puremacs target to use $(DUMPENV)
5175 - fix the `depend' target to properly $(RM) the right files
5176 - Generate a better TAGS file for XEmacs' lisp code using
5177 hand-crafted regexps.
5178 - Use standard coding conventions for modules/Makefile.in
5180 1998-05-12 Didier Verna <verna@inf.enst.fr>
5182 * redisplay.c: removed the scrolling modeline code that didn't
5183 make it for 21.0. To be continued ...
5185 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5187 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5188 and empty string inputs.
5190 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5192 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5194 1998-05-10 Oliver Graf <ograf@fga.de>
5196 * event-stream.c (enqueue_misc_user_event_pos): created
5197 * lisp.h (enqueue_misc_user_event_pos): prototype added
5198 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5199 * emacs.c: call vars_of_dragdrop
5200 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5202 1998-05-11 Oliver Graf <ograf@fga.de>
5204 * frame-x.c (x_cde_transfer_callback): return at correct pos
5205 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5206 object for MIME (see comment in dragdrop.c)
5207 * dragdrop.c: API change documented in comment
5208 removed provide of dragdrop [is provided by dragdrop.el]
5210 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5212 * window.c (window_needs_vertical_divider): Enable vertical
5213 dividers for every non-rightmost window.
5214 (window_left_gutter_width): Left gutter consists of mythical
5215 toolbar and a virtual scrollbar.
5216 (window_right_gutter_width): The right one may have a divider
5219 * scrollbar.c (update_scrollbar_instance): Position vertical
5220 scrollbar left to divider if the latter present.
5222 * redisplay.h: Declared OVER_DIVIER constant.
5224 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5227 * redisplay-x.c (x_output_vertical_divider): Output divider along
5228 the right side of the window, down to window bottom. Swapped
5229 foreground and background colors so it is visible by default.
5231 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5232 stick the divider to the right window side.
5234 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5236 (mswindows_divider_width): Ask system for user preferred value.
5237 (mswindows_output_vertical_divider): Always output the divider on
5238 the right side of a window, down to bottom.
5240 * keymap.c (get_relevant_keymaps): Route mouse button events which
5241 happened over a window divider through window-divider-map.
5242 (Fkey_binding): Documented that in the docstring.
5243 Defined the variable Vwindow_divider_map.
5245 * events.c (Fevent_over_divider_p): Added this function.
5247 * events.h: EXFUNed it.
5249 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5251 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5252 toolbar geometry is suspected to change.
5254 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5258 Condition dnd and dde code on HAVE_DRAGNDROP.
5260 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5262 * events.c (format_event_object): Print space as SPC etc.
5264 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5266 * print.c (print_internal): In the default case, abort() if
5267 ERROR_CHECK_TYPECHECK.
5269 * fileio.c (Fmake_temp_name): Doc fix.
5271 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5273 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5275 * undo.c (Fprimitive_undo): Fixed typo.
5277 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5279 * fns.c (concat): Signal error on integer argument.
5281 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5283 * console.h (device_metrics): Prefixed each constatnt with DM_
5285 * device.c: (Fdevice_system_metric): Renamed so from plural form
5286 (metrics); Changed parameters order and added DEFAULT parameter;
5287 Unabbreviated some metric constants; Fixed and untabified doc string.
5288 (Fdevice_system_metrics): Added. Returns a plist of all provided
5291 * device-msw.c (mswindows_device_system_metrics): Renamed
5292 device_metrics enum constants.
5293 Return Qunbound instead of Qnil.
5295 * device-tty.c (tty_device_system_metrics): Ditto.
5297 * device-x.c (x_device_system_metrics): Ditto.
5299 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5301 * redisplay-msw.c: implement background pixmaps (really!). Make
5302 sure bg color is transparent if we have bg pmaps.
5303 * (mswindows_output_string) (mswindows_clear_region): output bg
5305 * (mswindows_output_dibitmap_region): new function.
5306 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5307 the bg color rather than transparently.
5309 * toolbar-msw.c: use masks if they exist.
5311 * glyphs-msw.c: set up masks correctly.
5313 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5315 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5317 * regex.c (re_match_2_internal): Check for quit.
5319 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5321 * frame.c (Ffocus_frame): New function.