1 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5 (Vutf_2000_version): New variable.
6 (leading_code_private_11): New variable.
7 (syms_of_mule_charset): Add new variables `utf-2000-version' and
8 `leading-code-private-11'.
10 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
11 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
12 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
13 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
14 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
15 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
16 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
17 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
18 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
19 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
20 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
21 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
22 (MIN_CHAR_GREEK): New macro.
23 (MAX_CHAR_GREEK): New macro.
24 (MIN_CHAR_CYRILLIC): New macro.
25 (MAX_CHAR_CYRILLIC): New macro.
26 (MIN_CHAR_HEBREW): New macro.
27 (MAX_CHAR_HEBREW): New macro.
28 (MIN_CHAR_THAI): New macro.
29 (MAX_CHAR_THAI): New macro.
30 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
31 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
32 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
33 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
34 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
35 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
36 (CHAR_FIELD2): New inline function.
37 (CHAR_FIELD3): New inline function.
38 (MULE_CHAR_PRIVATE_OFFSET): New macro.
39 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
40 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
41 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
42 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
43 (MIN_CHAR_COMPOSITION): Likewise.
44 (CHAR_LEADING_BYTE): Modified for character representation change.
45 (MAKE_CHAR): Likewise.
47 * lisp.h (Vcharset_latin_iso8859_1): New variable.
48 (Vcharset_greek_iso8859_7): Likewise.
49 (Vcharset_cyrillic_iso8859_5): Likewise.
50 (Vcharset_hebrew_iso8859_8): Likewise.
51 (Vcharset_thai_tis620): Likewise.
52 (Vcharset_katakana_jisx0201): Likewise.
54 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
56 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
58 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
59 of coding-category `no-conversion'.
61 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
63 * file-coding.c (Qraw_text): New variable.
64 (syms_of_mule_coding): Add new symbol `raw-text'.
65 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
66 define coding-system `binary' independently; define coding-system
67 `no-conversion' as an alias for `raw-text'.
69 * file-coding.h (Qraw_text): New variable.
71 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * mule-charset.c (complex_vars_of_mule_charset): Registry of
74 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
77 1999-06-08 SL Baur <steve@xemacs.org>
79 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
81 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
83 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
85 (base64_decode_1): Signal errors instead of returning -1.
87 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
89 * mule-charset.c (Fmake_char): Update docstring.
91 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
93 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
95 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
97 * fns.c (base64_decode_1): Allow and ignore any non-base64
100 1999-05-27 Olivier Galibert <galibert@pobox.com>
102 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
103 of report_pure_usage().
105 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
107 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
109 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
111 * XEmacs 21.2.15 is released
113 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
115 * frame.c (Fset_mouse_position):
116 (Fset_mouse_pixel_position):
117 * window.c (Fsplit_window):
118 (Fmove_to_window_line):
119 Fix crash when invoking functions with an already-deleted window
122 * indent.c (vertical_motion_1):
124 (Fvertical_motion_pixels):
125 * window.c (Fwindow_displayed_text_pixel_height):
126 Fix error message when invoking functions with an already-deleted
129 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
131 * sysdep.c (request_sigio_on_device): Guard against glibc
132 2.1's stub streams implementation.
134 1999-06-03 SL Baur <steve@xemacs.org>
137 * emacs.c: Implement x.y.z version numbers
138 From Jan Vroonhof <vroonhof@math.ethz.ch>
140 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
142 * mule-charset.c (complex_vars_of_mule_charset): Registry of
143 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
146 1999-06-03 SL Baur <steve@xemacs.org>
149 * device-x.c: rename session option to wmcommand.
150 From Oliver Graf <ograf@rhein-zeitung.de>
152 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
154 * fns.c (Fsubstring): Don't traverse the same region twice with
155 charcount_to_bytecount().
157 1999-06-03 SL Baur <steve@steve1.m17n.org>
159 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
162 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
163 doesn't really work as is implied by the commentary).
164 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
166 1999-06-02 SL Baur <steve@steve1.m17n.org>
168 * symsinit.h: Declare vars_of_ntproc.
169 * emacs.c (main_1): Call it.
171 * ntproc.c (syms_of_ntproc): Move variable initializations from
173 (vars_of_ntproc): ... to here [new function].
175 * file-coding.c (syms_of_file_coding): Rename.
176 (vars_of_file_coding): Ditto.
177 (complex_vars_of_file_coding): Ditto.
179 * symsinit.h: Rename *_mule_coding to *_file_coding.
181 * emacs.c (main_1): Call them by the proper name.
183 * device-msw.c (syms_of_device_mswindows): Move variable
184 initializations from here ...
185 (vars_of_device_mswindows): ... to here.
187 * chartab.c (vars_of_chartab): New function.
189 * symsinit.h: New function, vars_of_chartab.
191 * emacs.c (main_1): Call it.
193 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
194 (vars_of_mule_canna): ... to here.
196 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
197 initializations out of syms_of_mule_ccl.
199 * symsinit.h: Declare new function vars_of_mule_ccl.
201 * emacs.c (main_1): Call it.
203 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
205 * fns.c (base64_decode_1): Ignore whitespace.
207 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
209 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
212 1999-05-21 Andy Piper <andy@xemacs.org>
214 * xselect.c: deleted.
216 * symsinit.h: declare select initialisation.
218 * select.h: new file. declare commonly used select functions and
221 * select.c: new file. generalised from xselect.c.
222 (clean_local_selection_data): moved from xselect.c.
223 (get_local_selection): ditto. device specific pieces called via a
225 (handle_selection_clear): ditto.
226 (Fown_selection_internal): renamed and generalised from
227 Fx_own_selection_internal. moved from xselect.c.
228 (Fdisown_selection_internal): ditto.
229 (Fselection_owner_p): ditto.
230 (Fselection_exists_p): ditto.
231 (Fget_selection_internal): ditto.
232 (syms_of_select): new function. QXXXX values moved from xselect.c
233 (vars_of_select): new function. selection_converter_alist,
234 lost_selection_hooks moved and renamed from xselect.c
236 * select-x.c: renamed from xselect.c.
237 (x_own_selection): converted to device specific. non-X-specific
238 bits moved to select.c.
239 (x_get_foreign_selection): ditto.
240 (x_disown_selection): ditto.
241 (x_selection_exists_p): ditto.
242 (console_type_create_select_x): new function.
244 * select-msw.c (mswindows_own_selection): new device method to set
245 the clipboard when we 'own' the selection.
246 (mswindows_get_foreign_selection): new device method to get the
248 (mswindows_disown_selection): new device method to delete the
249 selection when we 'disown' it.
250 (console_type_create_select_mswindows): new function.
252 * emacs.c (main_1): add select to things to initialise.
254 * console.h (struct console_methods): new console methods for
257 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
259 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
261 * print.c (long_to_string): Install a faster version.
263 1999-05-16 Andy Piper <andy@xemacs.org>
265 * ntproc.c (syms_of_ntproc): default
266 win32-start-process-share-console to t.
268 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
270 * config.h.in: Do it here.
272 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
274 1999-05-14 Andy Piper <andy@xemacs.org>
276 * toolbar-msw.c (mswindows_output_toolbar): hash on something
279 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
281 * XEmacs 21.2.14 is released
283 1999-05-12 Andy Piper <andy@xemacs.org>
285 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
287 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
289 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
290 run_temacs_argv array -- fixes random memory corruption crash
292 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
294 * window.c (Fcurrent_window_configuration):
295 Save minibuffer height;
297 * window.c (set_window_configuration): use it.
299 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
301 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
303 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
305 * redisplay.c (redisplay_window): Do not put data
306 in the line start cache if it is not guaranteed to be correct
308 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
310 * window.c (struct window_config): Removed frame
312 (window_config_equal): No longer compare frame sizes.
313 (Fset_window_configuration): Resize old top window to fit in the
314 current frame directly, no longer use a fake frame resize.
315 (Fcurrent_window_configuration): No longer save frame size
317 1999-05-11 Andy Piper <andy@xemacs.org>
319 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
322 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
324 * sysdep.c (init_system_name): If gethostname gives a proper
325 domain name, don't look further for one.
327 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
329 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
330 (Fintern_soft): Accept a symbol argument.
332 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
334 * symbols.c (Fintern): ...do it here.
336 * lread.c (read_atom): Don't handle keywords here.
338 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
340 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
342 1999-05-03 Olivier Galibert <galibert@pobox.com>
344 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
345 is interned in the main obarray.
347 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
349 * menubar-x.c (pre_activate_callback): set accelerator field in
350 "No menu" entries to nil. Avoid crash in
351 command_builder_operate_menu_accelerator
353 1999-05-03 Olivier Galibert <galibert@pobox.com>
355 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
357 * lisp.h (DEFUN): Fix lrecord header initialisation.
359 1999-05-02 Andy Piper <andy@xemacs.org>
361 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
363 * ntproc.c (sys_kill): cast using MS mandated defines.
365 1999-04-29 Andy Piper <andy@xemacs.org>
367 * m/intel386.h: remove redundant definitions.
369 * s/mingw32.h: new header for mingw32.
371 * unexnt.c: (open_input_file): function moved to nt.c.
372 (close_file_data): ditto.
373 (rva_to_section): function moved to ntproc.
375 * symsinit.h: declare syms_of_ntproc();
377 * objects-msw.c (mswindows_font_instance_truename): new function.
379 * ntproc.c: remove many warnings.
380 (_sys_read_ahead): moved from nt.c and made static.
381 (rva_to_section): moved from unexnt.c but not defined under
383 (win32_executable_type): implement what we can for mingw32
385 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
387 * ntheap.h: remove declarations of functions that are now static.
389 * ntheap.c: support static heap.
391 * nt.h: conditionalise X_OK definition.
393 * nt.c: eliminate many warnings and support mingw32.
394 (open_input_file): function moved from unexnt.c and made static
395 (close_file_data): ditto.
396 (_sys_read_ahead): moved to ntproc.c
398 * emacs.c: make sure syms_of_ntptroc gets called under windows.
400 * console-msw.h: support mingw32.
401 * getloadavg.c: ditto.
408 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
409 some systems don't have all of the encapsulated system calls.
411 * callproc.c: warning elimination.
412 * dired-msw.c: ditto.
413 * process-nt.c: ditto.
416 * Makefile.in.in: tweak : and ; for building under mswindows.
418 1999-04-26 Michael Harnois <mharnois@willinet.net>
420 * eldap.c (allocate_ldap): Adapt to the new semantics of
421 alloc_lcrecord_type().
423 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
425 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
427 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
429 * Delete mule-coding.c and mule-coding.h because they are not
432 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
434 * objects.c (print_font_instance): Check for NILP(f->device),
435 i.e. Vthe_null_font_instance.
436 (font_instance_truename_internal): ditto.
437 (Ffont_instance_properties): ditto.
439 1999-04-22 Olivier Galibert <galibert@pobox.com>
441 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
444 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
446 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
447 it easier to add new ones.
449 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
451 * symbols.c (reject_constant_symbols): Ditto.
452 (init_symbols_once_early): Ditto.
454 * print.c (print_symbol): Don't use ->obarray.
456 * symbols.c (Funintern): Ditto.
458 * alloc.c (Fmake_symbol): Don't set ->obarray.
460 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
462 * symbols.c (init_symbols_once_early): Removed
463 Vpure_uninterned_symbol_table.
464 (Fintern): Don't store to ->obarray field.
466 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
468 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
469 (eq_with_ebola_notice): Remove abracadabra support.
471 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
473 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
474 retrieve the distinguished names of entries
476 1999-03-08 Martin Buchholz <martin@xemacs.org>
478 * lread.c (read_escape): Make hex escapes read only two hex digits.
480 1999-04-05 Olivier Galibert <galibert@pobox.com>
482 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
483 * make-src-depend: Remove puresize-adjust.h.
484 * src-headers: Remove puresize-adjust.h.
485 * config.h.in: Kill everything purespace/gung-ho related.
487 * dbxrc: Make gung-ho mandatory.
490 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
491 c_readonly and lisp_readonly. Remove implementation arrays.
492 (C_READONLY_RECORD_HEADER_P): Added.
493 (LISP_READONLY_RECORD_HEADER_P): Added.
494 (SET_C_READONLY_RECORD_HEADER): Added.
495 (SET_LISP_READONLY_RECORD_HEADER): Added.
497 * lisp.h: Kill everything purespace/non gung-ho related.
498 (CHECK_C_WRITEABLE): Added.
499 (CHECK_LISP_WRITEABLE): Added.
501 (LISP_READONLY): Added.
503 * lisp-union.h: Make gung-ho mandatory.
504 * lisp-disunion.h: Ditto.
506 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
507 set_lheader_implementation calls.
509 (lisp_readonly): Added.
510 (make_string_nocopy): Added.
511 (Fpurecopy): Changed to do nothing. Kept the old documentation
512 for reference purposes for the next patches.
513 (sweep_lcrecords_1): Don't free C readonly lcrecords.
514 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
515 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
517 * fns.c: Make gung-ho mandatory.
518 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
522 * data.c: Make gung-ho mandatory.
523 (pure_write_error): Removed.
524 (c_write_error): Added.
525 (lisp_write_error): Added.
526 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
530 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
531 make_string or make_string_nocopy. Fix various
534 * lread.c: Remove everything purespace related.
535 (Flocate_file_clear_hashing): purified -> c_readonly.
536 (locate_file): Ditto.
537 (read_atom): make_pure_pname -> make_string.
539 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
541 (Fdump_emacs): Ditto.
543 * print.c (print_internal): Make gung-ho mandatory.
544 * ntheap.c (sbrk): Ditto.
545 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
546 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
548 * sheap.c (more_static_core): Remove puresize-adjust.h from
551 * syntax.c (complex_vars_of_syntax): make_pure_string ->
553 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
554 (vars_of_keymap): make_pure_string -> make_string_nocopy.
555 * events.c (deinitialize_event): Fix set_lheader_implementation.
557 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
558 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
559 * mule-charset.c (make_charset): Ditto.
560 * console.c (allocate_console): Ditto.
561 (complex_vars_of_console): Ditto.
562 * file-coding.c (allocate_coding_system): Ditto.
563 * device.c (allocate_device): Ditto
564 * gui-x.c (gcpro_popup_callbacks): Ditto.
565 * extents.c (allocate_extent_auxiliary): Ditto.
566 (allocate_extent_info): Ditto.
567 (copy_extent): Ditto.
568 * glyphs.c (allocate_image_instance): Ditto.
569 (allocate_glyph): Ditto.
570 * frame.c (allocate_frame_core): Ditto.
571 * database.c (allocate_database): Ditto.
572 * tooltalk.c (make_tooltalk_message): Ditto.
573 (make_tooltalk_pattern): Ditto.
574 * rangetab.c (Fmake_range_table): Ditto.
575 (Fcopy_range_table): Ditto.
576 * process.c (make_process_internal): Ditto.
577 * chartab.c (Fmake_char_table): Ditto.
578 (make_char_table_entry): Ditto.
579 (copy_char_table_entry): Ditto.
580 (Fcopy_char_table): Ditto.
581 * elhash.c (make_general_lisp_hash_table): Ditto.
582 (Fcopy_hash_table): Ditto.
583 * buffer.c (allocate_buffer): Ditto.
584 (complex_vars_of_buffer): Ditto.
585 * event-stream.c (allocate_command_builder): Ditto.
586 * objects.c (Fmake_color_instance): Ditto.
587 (Fmake_font_instance): Ditto.
588 (vars_of_objects): Ditto.
589 * toolbar.c (update_toolbar_button): Ditto.
590 * window.c (allocate_window): Ditto.
591 (make_dummy_parent): Ditto.
592 (Fcurrent_window_configuration): Fix alloc_lcrecord.
593 (vars_of_window): Fix make_lcrecord_list.
594 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
596 * lstream.c (Lstream_new): Fix make_lcrecord_list.
597 * opaque.c (make_opaque): Fix alloc_lrecord.
598 (make_opaque_list): Fix alloc_lrecord_type.
600 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
602 * process.c (Fstart_process_internal): Ditto.
604 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
607 * glyphs-x.c (x_locate_pixmap_file): Ditto.
609 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
612 * emodules.c (vars_of_module): New variable Vmodule_extensions.
613 (emodules_load): Use it when calling locate_file().
615 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
618 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
619 (vars_of_callproc): Initialize it.
620 (Fcall_process_internal): Use it when calling locate_file().
622 * alloc.c (disksave_object_finalization): Use
623 Flocate_file_clear_hashing().
625 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
626 given `t' as argument.
628 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
630 * lread.c (locate_file): Expand `pathel' when appropriate.
631 (Flocate_file_clear_hashing): Expand path elements.
632 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
634 * dired.c (make_directory_hash_table): Create the hash-table only
635 if the directory open is successful.
637 * lread.c (decode_mode_1): New function.
638 (decode_mode): Ditto.
639 (Flocate_file): Use them.
640 (Flocate_file): Expand FILENAME.
641 (locate_file_map_suffixes): New function.
642 (locate_file_in_directory_mapper): New function.
643 (locate_file_in_directory): Use locate_file_in_directory_mapper()
644 and locate_file_map_suffixes().
645 (locate_file_construct_suffixed_files): Use
646 locate_file_map_suffixes().
647 (locate_file_without_hash): Don't GCPRO path.
648 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
649 (syms_of_lread): Remove Qlocate_file_hash_table.
650 (locate_file_find_directory_hash_table): Use
651 Vlocate_file_hash_table.
652 (locate_file_refresh_hashing): Ditto.
654 * lread.c: Renamed read_objects to Vread_objects.
656 1999-04-16 Olivier Galibert <galibert@pobox.com>
658 * mule-charset.c: Generally resync with fsf 20.3 charset
660 (make_charset): Add long and short name. Use id instead of
662 (Fmake_charset): Ditto.
663 (Fmake_reverse_direction_charset): Ditto.
664 (Fcharset_property): Ditto.
665 (Fcharset_short_name): Added.
666 (Fcharset_long_name): Added.
667 (Fcharset_description): Renamed from charset-doc-string.
668 (syms_of_mule_charset): Synced symbols.
669 (complex_vars_of_mule_charset): Synced charsets.
671 * mule-charset.h: Removed leading byte (uses id instead), added
674 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
676 * file-coding.c (Fdefine_coding_system_alias): New function.
678 1999-04-08 Olivier Galibert <galibert@pobox.com>
680 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
681 and -ascii fonts for displaying ascii instead of iso8859-1 only.
683 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
685 * extents.c (set_extent_glyph_1): Make sure that the glyph we
686 attach to the extent is valid.
688 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
690 * dired.c (user_name_completion): Mule-ize.
691 (user_name_completion): Use xmalloc/xrealloc/xfree.
692 (user_name_completion): Use DO_REALLOC.
693 (user_name_completion): Cut down the number of static variables;
695 (user_name_completion): Username completion is always
698 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
700 * fns.c (base64_decode_1): Remove COUNTER.
701 (base64_decode_1): Accept CRLF in addition to CR.
702 (base64_decode_1): Disallow a stray character after final EOF; the
703 check was probably a remnant of buggy recode code.
705 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
707 * fns.c (init_provide_once): Provide `base64'.
709 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
711 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
712 (Fbase64_encode_region): If buffer is read-only, bail out early.
713 (Fbase64_decode_region): Ditto.
714 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
716 (Fbase64_encode_string): Ditto.
717 (Fbase64_decode_region): Ditto.
718 (Fbase64_decode_string): Ditto.
720 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
722 * dired.c (Fdirectory_files): Remove redundant code.
724 1999-03-05 Philip Aston <philipa@parallax.co.uk>
726 * frame-msw.c Make raise-frame restore minimised windows.
728 1999-03-05 Philip Aston <philipa@parallax.co.uk>
730 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
733 1999-03-05 Philip Aston <philipa@parallax.co.uk>
735 * toolbar-msw.c Consider captions when deciding whether to rebuild
736 toolbar. This fixes the initial toolbar display for those of us
737 who don't like captions. These patches applied by Andy Piper.
739 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
741 * XEmacs 21.2.13 is released
743 1999-03-12 SL Baur <steve@xemacs.org>
745 * file-coding.c: Guard ucs table initialization with ifdef MULE.
747 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
749 * file-coding.c: docstring and comment improvements.
750 (decode_ucs4) flag possible data loss with comment.
752 1999-03-10 Martin Buchholz <martin@xemacs.org>
754 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
758 (decode_coding_ucs4):
759 (encode_coding_ucs4):
760 (detect_coding_utf8):
761 (decode_coding_utf8):
763 (encode_coding_utf8):
764 Add CHECK_* macros where needed to avoid crashes.
765 #ifdef out all composite character support using
766 #ifdef ENABLE_COMPOSITE_CHARS
767 Use normal XEmacs coding standards.
769 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
771 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
773 * file-coding.c (make-coding-system): Add description about
775 (detection_state): Modify to implement ucs-4 and utf-8.
776 (detect_coding_type): Likewise.
777 (detect_coding_ucs4): New implementation.
778 (detect_coding_utf8): New implementation.
779 (encode_utf8): fixed.
780 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
783 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
785 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
786 2022 registry to private area.
788 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
790 * file-coding.c (encode_utf8): New function.
791 (encode_coding_utf8): New implementation.
793 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
795 * file-coding.c (ucs_to_mule_table): New variable; abolish
797 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
798 (set-ucs-char): New function.
799 (ucs_to_char): New function.
800 (ucs-char): New function.
801 (set-char-ucs): New function.
802 (char-ucs): New function.
803 (decode_ucs4): Use `ucs_to_char'.
804 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
807 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
809 * chartab.h: EXFUN `Fget_char_table'.
811 * file-coding.c (encode_ucs4): New function.
812 (encode_coding_ucs4): Use `encode_ucs4'.
814 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
816 * file-coding.c (decode_coding_ucs4): New implementation.
818 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
820 * file-coding.c (decode_coding_ucs4): fixed.
822 * file-coding.c (Vmule_to_ucs_table): New variable.
823 (mule_char_to_ucs4): New function.
824 (encode_coding_ucs4): New implementation.
825 (complex_vars_of_mule_coding): Define variable
828 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
830 * file-coding.c (decode_coding_utf8): New implementation.
832 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
834 * file-coding.c (decode_coding_utf8): fixed.
836 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
838 * file-coding.c (Vucs_to_mule_table): New variable.
839 (decode_ucs4): Refer `Vucs_to_mule_table'.
840 (complex_vars_of_mule_coding): Define variable
843 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
845 * file-coding.c (detect_coding_ucs4): New function (not
847 (decode_coding_ucs4): New function.
848 (encode_coding_ucs4): New function (not implemented yet).
849 (detect_coding_utf8): New function (not implemented yet).
850 (decode_coding_utf8): New function.
851 (encode_coding_utf8): New function (not implemented yet).
852 (make-coding-system): New type `ucs4' and `utf8'.
853 (coding-system-type): Likewise.
854 (detection_state): Add `ucs4' and `utf8'.
855 (detect_coding_type): Likewise.
856 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
857 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
858 (decode_ucs4): New function (very incomplete).
859 (syms_of_mule_coding): Add `ucs4' and `utf8'.
861 * file-coding.h: Add definitions for UCS-4 and UTF-8.
863 1999-03-08 Martin Buchholz <martin@xemacs.org>
866 (non_ascii_valid_char_p):
867 (lookup_composite_char):
868 (composite_char_string):
869 (make-composite-char):
870 (composite-char-string):
871 (syms_of_mule_charset):
872 (complex_vars_of_mule_charset):
873 * mule-charset.h (LEADING_BYTE_COMPOSITE):
876 * file-coding.h (CODING_STATE_COMPOSITE):
877 (CODING_STATE_ISO2022_LOCK):
879 (LEADING_BYTE_COMPOSITE):
880 * file-coding.c (struct iso2022_decoder):
884 (encode_coding_iso2022):
885 #ifdef out all composite character support using
886 #ifdef ENABLE_COMPOSITE_CHARS
888 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
890 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
892 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
893 way of `Fbase64_encode_region'.
895 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
897 * fns.c (base64_encode_1): Don't add a newline at the tail.
899 1999-03-08 Andy Piper <andy@xemacs.org>
901 * menubar-msw.c (displayable_menu_item): correct off-by-one &
904 1999-03-07 Martin Buchholz <martin@xemacs.org>
906 * console-stream.h (struct stream_console):
907 * event-unixoid.c (event_stream_unixoid_select_console):
908 (event_stream_unixoid_unselect_console):
909 * print.c (Fexternal_debugging_output):
910 * sysdep.c (reset_one_device):
911 * console-stream.c (stream_init_console):
912 (stream_delete_console):
913 (allocate_stream_console_struct): move into stream_init_console.
914 (free_stream_console_struct): move into stream_delete_console.
915 Use `fd' only for file descriptors.
916 Therefore, rename members of struct stream_console.
918 * systime.h: Unix98 says sys/time.h should define select(), but
919 some systems define that in unistd.h. So include that file always.
921 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
922 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
923 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
925 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
929 Add #include <stdio.h>.
930 Some versions of assert.h use printf() without #include'ing stdio.h
932 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
933 (log_gcpro): Remove unused variable FRAME.
934 (show_gcprohist): Ansify.
937 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
938 after it's just been XtDestroy'ed!
940 1999-02-18 Martin Buchholz <martin@xemacs.org>
942 * opaque.c (print_opaque):
946 Egcs 1.1.1 seems to have a bug where
947 INTP (p->size_or_chain)
948 will crash XEmacs. Fix by introducing intermediate variable.
950 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
952 * dired.c (Fdirectory_files):
953 (Ffile_name_completion):
954 (Ffile_name_all_completions):
955 (file_name_completion):
956 - Use `directory' instead of `dirname' to sync with FSF Emacs and
957 avoid compiler warnings.
958 - Fix up docstrings so that C variables match documentation.
960 1999-03-05 Martin Buchholz <martin@xemacs.org>
962 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
963 variables as small as possible to help out the compiler and the maintainer.
965 * alloc.c: (disksave_object_finalization):
966 Set all the *-load-path variables to
967 nil, not just load-path itself. This gets the locate-file hash
968 tables garbage collected BEFORE dump, and has the side effect of
969 preventing crashes on OSF4.0+egcs.
974 - Clean up gdb/dbx debugging support.
975 - Storing an EMACS_INT in an enum is not 64-bit clean!
976 - So change the enum to a set of separate variables.
977 - Add test cases to help debug the debugging support!
978 - Add `lisp-shadows' and `run-temacs' targets for dbx.
979 - Both dbx and gdb have been tested now.
981 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
983 * XEmacs 21.2.12 is released
985 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
987 * device-x.c: Support to find best visual without flashing.
989 1999-03-02 Paul Keusemann <pkeusem@visi.com>
991 * database.c (berkdb_map): Add flags argument to cursor call (must
992 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
994 1999-03-03 Martin Buchholz <martin@xemacs.org>
998 General cleanup. Get free-hook.c working again.
999 Remove unused functions:
1000 make_strings_hash_table, copy_hash, expand_hash_table.
1004 Always use new ANSI-style function prototypes.
1006 * unexalpha.c (unexec): Never use implicit int.
1008 * sgiplay.c (close_sound_file):
1010 (restore_audio_port):
1015 (write_mulaw_8_chunk):
1016 (write_linear_chunk):
1017 (write_linear_32_chunk):
1018 (initialize_audio_port):
1021 (set_output_format):
1022 (adjust_audio_volume):
1023 (get_current_volumes):
1025 Always use new ANSI-style function prototypes.
1026 Use unistd.h for missing prototypes.
1028 * unexelfsgi.c (round_up):
1030 (unexec): Always use new ANSI-style function prototypes
1032 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1034 * console.h (struct console_methods): Always use full ANSI prototypes
1036 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1038 1999-03-02 Andy Piper <andy@xemacs.org>
1040 * event-stream.c (init_event_stream): make sure native mswindows
1041 gets an appropriate event loop.
1043 1999-02-22 Andy Piper <andy@xemacs.org>
1045 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1046 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1047 (mswindows_raise_frame): remove comment.
1049 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1051 * XEmacs 21.2.11 is released
1053 1999-02-25 SL Baur <steve@xemacs.org>
1055 * mule-charset.c (Qleading_byte): New variable to implement
1056 charset-leading-byte function.
1057 (Fcharset_property): Use it.
1058 (syms_of_mule_charset): Initialize it.
1059 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1061 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1063 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1064 bytes per pixel counting.
1066 1999-02-15 Andy Piper <andy@xemacs.org>
1068 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1071 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1073 * fns.c (Fbase64_encode_string): New optional argument
1076 1999-02-16 Martin Buchholz <martin@xemacs.org>
1078 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1079 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1081 1999-02-10 Martin Buchholz <martin@xemacs.org>
1083 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1084 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1086 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1088 * XEmacs 21.2.10 is released
1090 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1092 * process-nt.c (nt_send_process):
1093 Fix for process-send-region/process-send-string breaking when size
1094 of the input > 128 chars: change maximum chunk size for process
1095 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1098 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1100 * XEmacs 21.2.9 is released
1102 1999-01-30 Martin Buchholz <martin@xemacs.org>
1104 * bytecode.c (funcall_compiled_function): Call
1105 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1107 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1108 #ifdef 0 out unused macro.
1110 1999-01-27 Martin Buchholz <martin@xemacs.org>
1112 * gui.c (gui_parse_item_keywords_internal): Make static.
1114 1999-01-21 Andy Piper <andy@xemacs.org>
1116 * glyphs-msw.c: add xface support.
1117 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1118 (image_instantiator_format_create_glyphs_mswindows): do device
1119 specific initialisation for xfaces.
1120 (xbm_create_bitmap_from_data): line data must be padded to a word
1123 * glyphs-x.c (xface_validate): moved to glyphs.c
1124 (xface_normalize): ditto.
1125 (xface_possible_dest_types): ditto.
1126 (image_instantiator_format_create_glyphs_x): do device specific
1127 initialisation for xfaces.
1129 * glyphs.h: declare xface symbol.
1131 * glyphs.c: move generic xface support here.
1132 (xface_validate): moved from glyphs-x.c
1133 (xface_normalize): ditto.
1134 (xface_possible_dest_types): ditto.
1135 (image_instantiator_format_create): xface declarations moved from
1138 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1140 * event-stream.c (vars_of_event_stream): Fixing documentation.
1142 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1144 * glyphs-eimage.c (gif_instantiate): Correct handling of
1145 interlaced gifs to avoid writing past the end of the eimage
1148 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1150 * search.c (Freplace_match): Handle single backslash at end of
1153 1999-01-12 William M. Perry <wmperry@aventail.com>
1155 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1156 avoid connection errors.
1158 1999-01-12 Andy Piper <andy@xemacs.org>
1160 * redisplay-output.c (redisplay_update_line): backout change that
1161 shouldn't have gone ine.
1163 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1165 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1166 collide with ldap.el
1168 1999-01-11 Andy Piper <andy@xemacs.org>
1170 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1171 (DISPLAY_LINE_YPOS): new macro.
1173 * redisplay-msw.c (mswindows_output_string): use it.
1174 (mswindows_output_pixmap): ditto.
1175 (mswindows_output_display_block): ditto.
1177 * redisplay-output.c (redisplay_output_display_block): new
1178 function. just call the devmeth, maybe insert some generic code
1180 (compare_display_blocks): use it.
1181 (output_display_line): ditto.
1182 (redisplay_unmap_subwindows_maybe): new function. potentially
1183 unmap subwindows in the given area.
1185 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1188 1999-01-10 J. Kean Johnston <jkj@sco.com>
1190 * Makefile.in.in: Set value of moduledir
1191 - Changed DUMPENV to include $(MODULEPATH)
1192 - Added install rule to install header files for use by ellcc.
1194 * config.h.in: Added INHIBIT_SITE_MODULES
1195 - Added HAVE__DLERROR
1196 - Added HAVE_DLFCN_H
1197 - Added DLSYM_NEEDS_UNDERSCORE
1201 * emodules.c: New file containing dynamic loading code.
1203 * emodules.h: New file.
1205 * emacs.c: Added variables Vmodule_directory,
1206 Vsite_module_directory, Vconfigure_module_directory and
1207 Vconfigure_site_module_directory.
1208 - (main_1): Added new variable inhibit_site_modules and command
1209 line options `-no-site-modules' and `--no-site-modules'.
1210 - (main_1): Call syms_of_module() instead of syms_of_dll().
1211 - (main_1): Call vars_of_module().
1212 - (vars_of_emacs): Introduce inhibit-site-modules,
1213 module-directory, configure-module-directory,
1214 site-module-directory, and configure-site-module-directory to the
1217 * lisp.h: Declare load_module and list_modules, as well as
1218 Vmodule_directory, Vsite_module_directory,
1219 Vconfigure_module_directory and Vconfigure_site_module_directory.
1221 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1222 - Added correct support for site-lisp directory.
1224 * symbols.c (defsubr): Modified to allow modules to add new subrs
1226 - (defsubr_macro): Same.
1227 - (defvar_magick): Only use purespace when not initialized, so
1228 that loaded modules can still add symbols.
1230 * symsinit.h: Add definitions for syms_of_module(),
1231 vars_of_module(). Removed syms_of_dll().
1233 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1234 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1235 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1237 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1238 explicitly pass -belf for native cc.
1240 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1241 hard-coding the library name.
1243 1999-01-01 <martin@xemacs.org>
1245 * device-x.c (Fx_set_font_path):
1246 Add proper cast to permit compilation under C++.
1248 * buffer.c (directory_is_current_directory):
1249 Add proper casts to permit compilation under C++.
1251 1998-12-30 Damon Lipparelli <lipp@primus.com>
1253 * event-msw.c (mswindows_wnd_proc):
1254 Fixed failure when building with MSVC 5.
1256 1998-12-29 Martin Buchholz <martin@xemacs.org>
1258 * file-coding.c (decode_coding_iso2022):
1259 - Prevent crash when decoding ISO7/Lock detected files
1260 - the usual martin fiddling
1262 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1266 Fixed failures when building with MSVC.
1267 * unexnt.c (dump_bss_and_heap):
1268 Removed compiler warning by removing bss_data variable.
1270 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1272 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1273 so that packages that distribute their own fonts can access them.
1275 1998-12-28 Andy Piper <andy@xemacs.org>
1277 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1278 that have an image provided.
1280 * glyphs.h: add Q_image decl.
1282 * glyphs-widget.c new functionality allowing images in
1284 (check_valid_glyph_or_image): new function to validate
1285 glyphs passed in through :image.
1286 (widget_normalize): new function. convert :image parameters into
1287 real glyphs if not already so.
1288 (widget_instantiate_1): mess with size parameters to be similar to
1290 (syms_of_glyphs_widget): new keyword :image.
1291 (image_instantiator_format_create_glyphs_widget): normalize
1292 buttons and allow :image.
1294 1998-12-27 Andy Piper <andy@xemacs.org>
1296 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1298 * glyphs-widget.c (check_valid_anything): no-op function.
1299 (check_valid_callback): check callbacks in gui_items.
1300 (check_valid_symbol): as it sounds.
1301 (check_valid_string_or_vector): ditto.
1302 (widget_validate): modified for descriptors that are vectors or
1303 sequences of keyword/val pairs.
1304 (widget_instantiate_1): ditto.
1305 (image_instantiator_format_create_glyphs_widget): allow gui_item
1306 keywords in the instantiator.
1308 * gui.c (gui_parse_item_keywords_internal): renamed from
1309 gui_parse_item_keywords but taking error behaviour.
1310 (gui_parse_item_keywords): use it.
1311 (gui_parse_item_keywords_no_errors): ditto.
1312 (gui_item_add_keyval_pair): add Error_behavior flag and only
1313 signal invalid keywords if required.
1315 * gui.h: new gui signatures.
1317 * menubar.c (menu_parse_submenu_keywords): use new
1318 gui_item_add_keyval_pair signature.
1320 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1322 1998-12-28 Martin Buchholz <martin@xemacs.org>
1324 * XEmacs 21.2.8 is released.
1326 1998-12-28 Martin Buchholz <martin@xemacs.org>
1328 * editfns.c (get_home_directory):
1329 (user-home-directory): Simplify.
1332 * callproc.c (child_setup):
1333 - Environment variables were being passed to inferior processes
1334 using internal encoding.
1335 - Convert to external encoding.
1336 - Rename local var `tem' to better name `tail'.
1337 - Use Flength instead of `manual' calculation.
1339 * buffer.c (kill-buffer):
1341 (set-buffer-major-mode):
1343 - Fix up parameter names to correspond to docstrings.
1344 - Don't use `bufname' when a buffer will do as well.
1345 - Remove one unneeded GCPRO.
1347 * buffer.h (initial_directory):
1348 * buffer.c (init_initial_directory):
1349 - use correct conversions between internal and external format.
1350 (directory_is_current_directory): new function
1351 (init_buffer): convert initial_directory to internal format.
1352 - solve crashes when current working directory is non-ASCII.
1354 * alloc.c (xmalloc):
1357 - remove stupid casts, since XEmacs requires an ANSI C system.
1358 (lrecord_type_index): replace abort() with more readable assert().
1360 (reset_lcrecord_stats): remove.
1361 (sweep_lcrecords_1):
1362 - replace call to reset_lcrecord_stats() with call to xzero().
1364 1998-12-27 Martin Buchholz <martin@xemacs.org>
1366 * process-unix.c (unix_create_process):
1367 - Fix crash invoking program with non-ASCII name.
1368 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1369 - Remove unused variable `env'.
1370 - Rename `temp' to better name `save_errno'.
1371 - Reorganize code for clarity. But still too chicken to nuke the
1374 1998-12-24 Martin Buchholz <martin@xemacs.org>
1376 * XEmacs 21.2.7 is released.
1378 1998-12-23 Martin Buchholz <martin@xemacs.org>
1380 * glyphs.c (decode_device_ii_format):
1382 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1384 * glyphs-x.c (x_subwindow_instantiate):
1385 - A image instance mask was being assigned to a image instance type!
1386 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1388 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1390 * glyphs-x.h: Make indentation consistent.
1392 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1394 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1396 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1400 Move declarations of decode_device_ii_format and
1401 decode_image_instantiator_format into glyphs.h where they belong.
1403 1998-12-22 Martin Buchholz <martin@xemacs.org>
1405 * frame-x.c (x_delete_frame): Revert part of my changes at the
1406 suggestion of Gunnar Evermann - unfortunately no one really
1407 understands this code.
1409 * callproc.c (init_callproc): code cleanup.
1411 * free-hook.c (malloc):
1416 (block_input_malloc):
1417 (block_input_realloc):
1418 * device-x.c (x_delete_device):
1419 * emacs.c (voodoo_free_hook):
1420 * events.c (print_event):
1422 (CHECK_EVENT_TYPE2):
1423 (CHECK_EVENT_TYPE3):
1424 Use proper prototypes.
1425 Make C_E_T macros a little faster.
1426 Pedantic fiddly little changes. You really don't care.
1428 1998-12-22 Andy Piper <andy@xemacs.org>
1430 * redisplay-output.c (redisplay_clear_region): make sure that
1431 fg/bg colors get set even when we are in the border area.
1433 1998-12-13 Martin Buchholz <martin@xemacs.org>
1435 * console-msw.c: Function definitions follow coding standards
1436 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1438 1998-12-11 Martin Buchholz <martin@xemacs.org>
1440 * events.h (struct timeout_data):
1441 * event-tty.c (tty_timeout_to_emacs_event):
1442 * event-msw.c (mswindows_wm_timer_callback):
1443 * event-Xt.c (Xt_timeout_to_emacs_event):
1444 * event-msw.c (mswindows_cancel_dispatch_event):
1445 Make sure Lisp_Objects inside events are initialized to Qnil, not
1446 Qnull_pointer, which is now illegal.
1448 1998-12-10 Martin Buchholz <martin@xemacs.org>
1450 * lisp.h: Fix up prototypes to match alloc.c
1452 1998-12-08 Martin Buchholz <martin@xemacs.org>
1454 * windowsnt.h: Remove `support' for using index and rindex
1456 * filelock.c (current_lock_owner):
1457 - Change uses of index -> strchr, rindex -> strrchr
1459 1998-12-07 Martin Buchholz <martin@xemacs.org>
1461 * sysdep.c (set_descriptor_non_blocking):
1462 Since O_NONBLOCK is now always #defined, make use of fcntl
1463 conditional on F_SETFL being defined.
1465 * console-msw.c (DHEADgER):
1474 - max_align_t should not be visible to the user of the
1476 - use Bufbyte instead of char
1477 - parens around (FOOP (obj)) are always redundant.
1478 If they were necessary, we should fix the macro instead.
1479 - Always use string_data(foo) instead of foo->data.
1482 1998-12-06 Martin Buchholz <martin@xemacs.org>
1484 * frame-msw.c (mswindows_init_frame_1):
1485 - use make_lisp_hash_table, not Fmake_hash_table
1489 * alloc.c (make_vector): remove travesty
1493 (make_bit_vector_internal):
1495 (make_bit_vector_from_byte_vector):
1497 - make vector_equal a little faster.
1498 - Don't use variable name `new'.
1499 - Use size_t instead of EMACS_INT.
1500 - usual Martin-style pointless bit-twiddling.
1506 Make mapcar faster. In particular, make
1507 (mapc #'identity long-string)
1508 MUCH faster under Mule.
1509 * tests/automated/lisp-tests.el: Test 'em!
1511 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1514 1998-12-01 Martin Buchholz <martin@xemacs.org>
1516 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1517 Qnil, not NULL, to initialize `null' Lisp_Objects.
1519 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1521 * specifier.c (display_table_validate): Update.
1523 * redisplay.c (create_text_block): Use them.
1525 * glyphs.c (display_table_entry): New function.
1526 (get_display_tables): Ditto.
1528 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1530 * eldap.c (toplevel): Mention that eldap.c compiles with
1532 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1533 (Fldap_search_internal): Ditto
1535 1998-12-11 Martin Buchholz <martin@xemacs.org>
1537 * event-msw.c (mswindows_cancel_dispatch_event):
1538 Gratuitous code prettification
1541 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1543 * fns.c (Fnconc): Fix use of wrong_type_argument().
1545 * floatfns.c (Ffloat): Fix docstring.
1546 (Ffloat): Fix use of wrong_type_argument().
1548 (extract_float): Ditto.
1553 1998-12-06 Martin Buchholz <martin@xemacs.org>
1555 * frame-msw.c (mswindows_init_frame_1):
1556 - use make_lisp_hash_table, not Fmake_hash_table
1560 * alloc.c (make_vector): remove travesty
1564 (make_bit_vector_internal):
1566 (make_bit_vector_from_byte_vector):
1568 - make vector_equal a little faster.
1569 - Don't use variable name `new'.
1570 - Use size_t instead of EMACS_INT.
1571 - usual Martin-style pointless bit-twiddling.
1577 Make mapcar faster. In particular, make
1578 (mapc #'identity long-string)
1579 MUCH faster under Mule.
1580 * tests/automated/lisp-tests.el: Test 'em!
1582 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1585 1998-12-02 Didier Verna <verna@inf.enst.fr>
1587 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1588 accelerator field to nil for labels.
1590 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1592 * menubar-msw.c (displayable_menu_item):
1593 Escape occurrences of '&' and support occurrences of the
1594 '%_' accelerator indicator in menus.
1596 1998-11-26 Didier Verna <verna@inf.enst.fr>
1598 * dired.c (Fdirectory_files): use make_string instead of
1599 make_ext_string on the filename. The conversion external->internal
1600 format is already done in sys_readdir.
1602 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1604 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1606 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1609 (Belatedly) added Kirill to list of file's authors.
1610 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1611 quit checking. WM_PAINT messages cause redisplay, but
1612 windows' states are not necessarily stable when this function
1615 1998-12-17 Andy Piper <andy@xemacs.org>
1617 * strftime.c (zone_name): CONSTify.
1619 1998-12-15 Andy Piper <andy@xemacs.org>
1621 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1622 (mswindows_widget_property): return Qunbound when no property available.
1623 (mswindows_button_property): ditto.
1624 (mswindows_combo_property): ditto.
1625 (mswindows_widget_set_property): ditto.
1627 * glyphs-widget.c (check_valid_item_list): use properties.
1629 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1631 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1632 (Fimage_instance_property): ditto.
1633 * glyphs-widget.c (widget_property): ditto.
1634 (widget_set_property): ditto.
1636 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1637 as setting the class cursor so that GC actually changes the
1640 * config.h: don't undef MAIL_USE_POP.
1642 1998-12-13 Andy Piper <andy@xemacs.org>
1645 (image_instantiator_format_create_glyphs_mswindows): line ->
1647 (mswindows_label_instantiate): ditto. Play with window flags.
1648 (image_instantiator_format_create_glyphs_mswindows): ditto.
1649 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1651 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1652 cope with lines and labels.
1653 (static_instantiate): use widget_instantiate_1.
1655 (image_instantiator_format_create_glyphs_widget): ditto.
1657 1998-12-10 Andy Piper <andy@xemacs.org>
1659 * Makefile.in.in (objs): add gui.o
1661 1998-12-10 Andy Piper <andy@xemacs.org>
1663 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1666 1998-12-09 Andy Piper <andy@xemacs.org>
1668 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1669 image instance is removed so that the subwindow cache gets reset
1670 and thus destroyed images get GC'd.
1672 1998-12-08 Andy Piper <andy@xemacs.org>
1674 * gui-msw.c (mswindows_handle_gui_wm_command): call
1675 MARK_SUBWINDOWS_CHANGED.
1677 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1678 subwindows really get deleted.
1680 * redisplay.c: new variable subwindows_changed[_set].
1681 (redisplay_window): use it.
1682 (redisplay_frame): ditto.
1683 (redisplay_device): ditto.
1684 (redisplay_without_hooks): ditto.
1686 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1687 subwindows redisplay as per glyphs equivalent.
1688 * redisplay.h: ditto.
1689 (MARK_SUBWINDOWS_CHANGED): ditto.
1690 (RESET_CHANGED_SET_FLAGS): ditto.
1691 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1693 1998-12-07 Andy Piper <andy@xemacs.org>
1695 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1698 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1700 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1701 messages and paint widget glyphs as appropriate with their face fg
1704 1998-12-06 Andy Piper <andy@xemacs.org>
1706 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1707 here rather than in glyphs-widget - do this because we only want
1708 to provide what is really available.
1710 * glyphs.c (Fimage_instance_property): new function to get the
1711 properties of image instances. wires through to console specific
1712 methods and then to widget specific methods.
1713 (Fset_image_instance_property): ditto but for setting widget properties.
1714 (check_valid_face): make extern so that it can be used elsewhere.
1716 * glyphs-widget.c (widget_property): new function. gets the
1717 properties of widgets in general and wires the function through to
1718 widget specific ones.
1719 (widget_set_property): ditto but for setting widget properties.
1721 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1722 add items to the list. Play with window styles a bit to get the
1724 (mswindows_widget_property): break out specific widget properties.
1725 (mswindows_button_property): new function. gets the checked state
1727 (mswindows_combo_property): new function. gets the current
1728 selection in the combo box.
1729 (mswindows_widget_set_property): new function. sets specific
1730 properties of specific widgets.
1732 * glyphs-widget.c (check_valid_item_list): new function. check
1733 that items for a combo-box are just a list of strings.
1734 (combo_validate): new function. check there is an item list.
1735 (widget_instantiate_1): new function. renamed from
1736 widget_instantiate so that we can do slightly different things for
1738 (widget_instantiate): call widget_instantiate_1.
1739 (combo_instantiate): new function to instantiate combo boxes,
1740 defaults height to the pixel height of the number of items in the
1742 (syms_of_glyphs_widget): move widget keywords here.
1743 (image_instantiator_format_create_glyphs_widget): use new combo
1746 1998-12-04 Andy Piper <andy@xemacs.org>
1748 * event-msw.c (mswindows_wnd_proc): mule-ize.
1750 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1752 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1753 (resource_name_to_resource): ditto.
1754 (mswindows_resource_instantiate): ditto.
1755 (mswindows_widget_instantiate): ditto.
1756 (mswindows_widget_set_property): ditto.
1758 * redisplay-output.c (redisplay_output_subwindow): don't show
1759 subwindows if they are obscured at the edge of the frame, emacs
1760 gets into some sort of redisplay loop otherwise.
1762 * gui.h: prototype gui_item_selected_p.
1764 * gui.c (gui_item_selected_p): new function to determine the
1765 selected state of a gui_item.
1767 * frame.h (struct frame): add subwindows_changed flag.
1769 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1771 * glyphs.c (update_subwindow): new function to update a
1773 (update_frame_subwindows): new function to update all the
1774 subwindows on a frame.
1776 * console.h (struct console_methods): add update_subwindow.
1778 * glyphs-msw.c (mswindows_widget_property): return selected state
1779 for selected property.
1780 (mswindows_update_subwindow): new function. updates widget glyphs
1781 in redisplay as per menubars or toolbars e.g. selected state.
1782 (console_type_create_glyphs_mswindows): add update_subwindow.
1784 1998-12-03 Andy Piper <andy@xemacs.org>
1786 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1787 tty coding system things are such.
1789 * glyphs-widget.c (widget_face_font_info): new function for
1790 pulling out height and width metrics for a widget's face.
1791 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1794 * event-msw.c (mswindows_drain_windows_queue): translate messages
1795 that are destined for subwindows. This makes edit fields interact
1796 with the keyboard correctly.
1797 nuke warnings by #ifndef'ing out stuff not required by msg select().
1799 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1800 macro defining the iiforma without the symbol required by widget.
1801 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1803 * general.c (syms_of_general): add Qwidget, Qselected.
1805 * faces.c (complex_vars_of_faces): add widget face inheriting from
1808 1998-11-09 Andy Piper <andy@xemacs.org>
1810 * window.h (struct window): add a cache of subwindows on a
1813 * window.c (mark_window): mark the subwindow_instance_cache.
1814 (allocate_window): initialise the subwindow instance_cache.
1816 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1817 instead of the devmeth.
1818 (x_clear_toolbar): ditto.
1820 * redisplay-x.c (x_output_display_block): call
1821 redisplay_output_subwindow for subwindows and widgets.
1823 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1824 types to do nothing for.
1826 * lisp.h: declare new widget/subwindow symbols.
1828 * glyphs.c (image_instantiate): cache subwindows on a per-window
1830 (subwindow_possible_dest_types): new function for subwindow dest
1832 (subwindow_instantiate): generic instantiation of a
1833 subwindow. specialised by device multi-methods.
1834 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1836 (Fimage_instance_subwindow_id): ditto.
1837 (Fresize_subwindow): ditto.
1838 (Fforce_subwindow_map): ditto.
1840 * glyphs-x.c (x_print_image_instance): remove subwindow
1841 stuff. Handled genrically in glyphs.c.
1842 (x_image_instance_equal): ditto.
1843 (x_image_instance_hash): ditto.
1844 (x_finalize_image_instance): delete subwindows when required.
1845 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1846 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1847 glyph-based, subwindow implementation.
1848 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1850 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1852 (x_unmap_subwindow): new function to unmap X subwindows.
1853 (x_map_subwindow): new function to map X subwindows.
1854 (x_subwindow_instantiate): new function to instantiate X
1856 (x_resize_subwindow): new function to resize X subwindows.
1857 (console_type_create_glyphs_x): add subwindow functions.
1858 (image_instantiator_format_create_glyphs_x): add device
1859 multi-methods for xpm, xbm and subwindow.
1861 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1862 (subwindow-width): ditto.
1863 (subwindow-height): ditto.
1865 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1866 generally instantiating ms subwindows. Used by
1867 mswindows_*_instantiate.
1868 (mswindows_edit_instantiate): instantiate an edit field on a
1871 1998-11-04 Andy Piper <andy@xemacs.org>
1873 * symsinit.h: declare new functions.
1875 * redisplay.h: declare new functions.
1877 * redisplay-x.c (x_output_display_block): call
1878 redisplay_clear_region rather than x_clear_region.
1879 (x_output_string): ditto.
1880 (x_output_pixmap): ditto.
1881 (x_clear_to_window_end): ditto.
1882 (x_output_eol_cursor): ditto.
1883 (x_clear_region): only do X specific things. other duties handled
1884 in redisplay_clear_region.
1886 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1887 duties moved to redisplay_clear_region.
1889 * redisplay-output.c (clear_left_border): use
1890 redisplay_clear_region instead of device method.
1891 (clear_right_border): ditto.
1892 (output_display_line): ditto.
1893 (redisplay_output_subwindow): ditto.
1894 (redisplay_clear_top_of_window): ditto.
1895 (redisplay_clear_region): perform duties previously handled by
1896 device methods. call the appropriate device method at the
1897 end. unmap subwindows if necessary.
1899 * redisplay-msw.c (mswindows_output_string): use
1900 redisplay_clear_region instead of mswindows_clear_region.
1901 (mswindows_clear_to_window_end): ditto.
1902 (mswindows_output_display_block): output subwindows when required.
1903 (mswindows_clear_region): only do mswindows specific things,
1904 everything else is now handled in redisplay_clear_region.
1906 * gui.h: add item id hash defines and declare function prototypes.
1908 * gui.c (mark_gui_item): new function for marking gui_items.
1909 (gui_item_hash): generic hash function for generating command ids
1912 * gui-msw.c: new file.
1913 (mswindows_handle_gui_wm_command): new function to handle widget
1916 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1918 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1919 (DEFINE_DEVICE_IIFORMAT): ditto.
1920 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1921 (struct Lisp_Image_Instance): add widget and subwindow data plus
1922 appropriate access functions.
1924 * glyphs.c (decode_device_ii_format): new function for decoding
1925 image instantiator functions based on a device type as well as an
1927 (decode_image_instantiator_format): just call
1928 decode_device_ii_format with nil device.
1929 (add_entry_to_device_ii_format_list): new function for per device
1931 (add_entry_to_image_instantiator_format_list): just call
1932 add_entry_to_device_ii_format_list with nil device.
1933 (check_valid_vector): new function.
1934 (instantiate_image_instantiator): instantiate using per-format
1935 method and then per-format-per-device method (device
1936 multi-methods). signal an error if neither is possible.
1937 (mark_image_instance): cope with subwindows and widgets.
1938 (print_image_instance): ditto.
1939 (image_instance_equal): ditto.
1940 (image_instance_hash): ditto.
1941 (allocate_glyph): ditto.
1942 (glyph_width): ditto.
1943 (glyph_height_internal): ditto.
1944 (xpm_instantiate): removed because of device multi-methods.
1945 (mark_subwindow_cachels): new cachel functions for caching
1946 instantiated subwindows on a per-frame basis. mostly copied from
1947 glyph cachel functions.
1948 (update_subwindow_cachel_data): ditto.
1949 (add_subwindow_cachel): ditto.
1950 (get_subwindow_cachel_index): ditto.
1951 (reset_subwindow_cachels): ditto.
1952 (mark_subwindow_cachels_as_not_updated): ditto.
1953 (unmap_subwindow): generic unmapping of subwindows based on cachel
1955 (map_subwindow): ditto.
1956 (initialize_subwindow_image_instance): generic initialisation of
1958 (syms_of_glyphs): add widget keywords.
1960 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
1963 1998-11-04 Andy Piper <andy@xemacs.org>
1965 * glyphs-widget.c: new file for instantiating widget type glyphs.
1966 (widget_possible_dest_types): new general dest type function for
1968 (widget_validate): ditto.
1969 (initialize_widget_image_instance): ditto
1970 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
1971 before handing on control to device multi-methods.
1972 (syms_of_glyphs_widget): new function.
1973 (image_instantiator_format_create_glyphs_widget): new function,
1974 added placeholders for button, edit, combo, scrollbar
1975 (vars_of_glyphs_widget): new function.
1977 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
1978 storing window ids of widgets.
1980 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
1981 deletion of widget and subwindow glyphs.
1982 (mswindows_unmap_subwindow): new device function for unmapping
1983 subwindows on a msw frame.
1984 (mswindows_map_subwindow): ditto.
1985 (mswindows_register_image_instance): register instantiated widgets
1986 with the widget hastable.
1987 (mswindows_button_instantiate): instantiate a button type widget
1989 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
1991 (image_instantiator_format_create_glyphs_mswindows): add device
1992 multi-methods for xbm, xpm, subwindow, edit and button.
1994 * frame.h (struct frame): add subwindow_cachels dynarr for caching
1995 information about subwindows visible on the current frame. used by
1996 redisplay_clear_region to unmap subwindows as required.
1998 * frame.c (mark_frame): mark subwindow_cachels.
1999 (allocate_frame_core): instantiate subwindow_cachels.
2001 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2004 * event-msw.c (mswindows_wnd_proc): add call to
2005 mswindows_handle_gui_wm_command to handle widget callbacks.
2007 * emacs.c (main_1): add calls to glyphs-widget initialisation
2010 * console.h (struct console_methods): add
2011 unmap/map_subwindow_method for use be redisplay_clear_region to
2012 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2013 with by image instantiator multi-methods. Add
2014 resize_subwindow_method.
2016 * console-stream.c (stream_clear_region): change signature to
2017 match new generic clear region function.
2019 * Makefile.in.in: add glyphs-widget.o to list of objects.
2021 * console-msw.h (struct mswindows_frame): add widget hashtable for
2022 wiring command ids to callbacks.
2024 1998-12-16 Andy Piper <andy@xemacs.org>
2026 * XEmacs 21.2.6 is released
2028 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2030 * md5.c (Fmd5): Correctly initiate string input stream.
2032 * Makefile.in.in (tests): Add md5-tests.el.
2034 1998-12-06 Martin Buchholz <martin@xemacs.org>
2037 * alloc.c (make_vector): remove travesty
2041 (make_bit_vector_internal):
2043 (make_bit_vector_from_byte_vector):
2045 - make vector_equal a little faster.
2046 - Don't use variable name `new'.
2047 - Use size_t instead of EMACS_INT.
2048 - usual Martin-style pointless bit-twiddling.
2054 Make mapcar faster. In particular, make
2055 (mapc #'identity long-string)
2056 MUCH faster under Mule.
2057 * tests/automated/lisp-tests.el: Test 'em!
2059 1998-12-06 Martin Buchholz <martin@xemacs.org>
2061 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2064 1998-12-13 Martin Buchholz <martin@xemacs.org>
2066 * console-msw.c: Function definitions follow coding standards
2067 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2069 1998-12-11 Martin Buchholz <martin@xemacs.org>
2071 * events.h (struct timeout_data):
2072 * event-tty.c (tty_timeout_to_emacs_event):
2073 * event-msw.c (mswindows_wm_timer_callback):
2074 * event-Xt.c (Xt_timeout_to_emacs_event):
2075 * event-msw.c (mswindows_cancel_dispatch_event):
2076 Make sure Lisp_Objects inside events are initialized to Qnil, not
2077 Qnull_pointer, which is now illegal.
2079 1998-12-10 Martin Buchholz <martin@xemacs.org>
2081 * lisp.h: Fix up prototypes to match alloc.c
2083 1998-12-09 Andy Piper <andy@xemacs.org>
2085 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2086 XSETINT for assigning lisp objects.
2088 1998-12-07 Martin Buchholz <martin@xemacs.org>
2091 * console-msw.c (DHEADER):
2100 - max_align_t should not be visible to the user of the
2102 - use Bufbyte instead of char
2103 - parens around (FOOP (obj)) are always redundant.
2104 If they were necessary, we should fix the macro instead.
2105 - Always use string_data(foo) instead of foo->data.
2107 1998-12-07 Martin Buchholz <martin@xemacs.org>
2109 * sysdep.c (set_descriptor_non_blocking):
2110 Since O_NONBLOCK is now always #defined, make use of fcntl
2111 conditional on F_SETFL being defined.
2113 1998-12-09 Andy Piper <andy@xemacs.org>
2115 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2116 that got removed in the merge
2118 1998-11-30 Greg Klanderman <greg@alphatech.com>
2120 * dired.c (vars_of_dired): bugfix for previous conditionalization
2121 of user-name-completion on non- Windows NT.
2123 1998-12-08 Martin Buchholz <martin@xemacs.org>
2125 * windowsnt.h: Remove `support' for using index and rindex
2127 * filelock.c (current_lock_owner):
2128 - Change uses of index -> strchr, rindex -> strrchr
2130 1998-12-06 Martin Buchholz <martin@xemacs.org>
2132 * frame-msw.c (mswindows_init_frame_1):
2133 - use make_lisp_hash_table, not Fmake_hash_table
2136 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2138 * XEmacs 21.2.5 is released
2140 1998-11-30 Martin Buchholz <martin@xemacs.org>
2142 * xselect.c (receive_incremental_selection):
2143 * xselect.c (x_get_window_property):
2144 * xmu.c (XmuReadBitmapDataFromFile):
2145 * xmu.c (XmuCursorNameToIndex):
2146 * xgccache.c (describe_gc_cache):
2147 * xgccache.c (gc_cache_lookup):
2148 * xgccache.c (free_gc_cache):
2149 * xgccache.c (make_gc_cache):
2151 * window.c (map_windows_1):
2152 * window.c (Fother_window_for_scrolling):
2153 * window.c (window_scroll):
2154 * window.c (change_window_height):
2155 * window.c (Fsplit_window):
2156 * window.c (window_left_gutter_width):
2157 * window.c (window_modeline_height):
2158 * window.c (invalidate_vertical_divider_cache_in_window):
2159 * window.c (window_needs_vertical_divider_1):
2160 * window.c (update_mirror_internal):
2161 * window.c (SET_LAST_FACECHANGE):
2162 * widget.c (Fwidget_plist_member):
2163 * unexec.c (copy_text_and_data):
2164 * unexcw.c (copy_executable_and_dump_data_section):
2166 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2167 * tooltalk.c (struct Lisp_Tooltalk_Message):
2168 * toolbar.h (struct toolbar_button):
2169 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2170 * toolbar.c (recompute_overlaying_specifier):
2171 * toolbar.c (toolbar_validate):
2172 * toolbar.c (toolbar_button_at_pixpos):
2173 * toolbar.c (get_toolbar_coords):
2174 * toolbar.c (update_frame_toolbars):
2176 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2177 * toolbar-msw.c (mswindows_find_toolbar_pos):
2178 * toolbar-msw.c (mswindows_output_toolbar):
2179 * toolbar-msw.c (mswindows_clear_toolbar):
2188 * sysdep.c (sys_fopen):
2189 * sysdep.c (sys_open):
2190 * sysdep.c (tty_init_sys_modes_on_device):
2191 * sysdep.c (get_eof_char):
2192 * sysdep.c (child_setup_tty):
2193 * sysdep.c (set_descriptor_non_blocking):
2195 * syntax.c (scan_words):
2198 * symeval.h (struct symbol_value_varalias):
2199 * symeval.h (struct symbol_value_forward):
2200 * symbols.c (syms_of_symbols):
2201 * symbols.c (init_symbols_once_early):
2202 * symbols.c (Fbuilt_in_variable_type):
2203 * symbols.c (Fsymbol_value_in_buffer):
2204 * symbols.c (default_value):
2206 * symbols.c (find_symbol_value_quickly):
2207 * symbols.c (store_symval_forwarding):
2208 * symbols.c (set_default_console_slot_variable):
2209 * symbols.c (set_default_buffer_slot_variable):
2210 * symbols.c (verify_ok_for_buffer_local):
2211 * symbols.c (symbol_is_constant):
2212 * symbols.c (oblookup):
2213 * symbols.c (Funintern):
2214 * symbols.c (Fintern):
2215 * symbols.c (check_obarray):
2217 * specifier.h (struct specifier_methods):
2219 * specifier.c (specifier_instance):
2220 * specifier.c (specifier_instance_from_inst_list):
2221 * specifier.c (decode_locale_type):
2222 * specifier.c (specifier_equal):
2223 * specifier.c (finalize_specifier):
2224 * specifier.c (prune_specifiers):
2225 * specifier.c (kill_specifier_buffer_locals):
2226 * sound.c (init_native_sound):
2229 * search.c (Fmatch_data):
2230 * search.c (match_limit):
2231 * search.c (Freplace_match):
2232 * search.c (skip_chars):
2233 * search.c (scan_buffer):
2235 * scrollbar.c (specifier_vars_of_scrollbar):
2236 * scrollbar.c (Fscrollbar_set_hscroll):
2237 * scrollbar.c (vertical_scrollbar_changed_in_window):
2238 * scrollbar.c (release_window_mirror_scrollbars):
2239 * scrollbar.c (free_scrollbar_instance):
2242 * s/msdos.h (O_BINARY):
2244 * s/freebsd.h (LIBS_TERMCAP):
2245 * regex.c (re_match_2_internal):
2246 * regex.c (compile_extended_range):
2247 * regex.c (POP_FAILURE_POINT):
2248 * regex.c (PUSH_FAILURE_POINT):
2249 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2251 * redisplay.h (struct display_line):
2252 * redisplay.h (struct rune):
2253 * redisplay.c (vars_of_redisplay):
2254 * redisplay.c (redisplay_variable_changed):
2255 * redisplay.c (UPDATE_CACHE_RETURN):
2256 * redisplay.c (validate_line_start_cache):
2257 * redisplay.c (mark_redisplay_structs):
2258 * redisplay.c (mark_glyph_block_dynarr):
2259 * redisplay.c (window_line_number):
2260 * redisplay.c (redisplay_frame):
2261 * redisplay.c (redisplay_window):
2262 * redisplay.c (generate_modeline):
2263 * redisplay.c (create_right_glyph_block):
2264 * redisplay.c (create_left_glyph_block):
2265 * redisplay.c (create_text_block):
2267 * redisplay-x.c (x_output_hline):
2268 * redisplay-x.c (x_output_vertical_divider):
2269 * redisplay-tty.c (tty_output_display_block):
2270 * redisplay-output.c (output_display_line):
2271 * redisplay-output.c:
2272 * redisplay-msw.c (mswindows_output_vertical_divider):
2273 * redisplay-msw.c (mswindows_ring_bell):
2274 * redisplay-msw.c (mswindows_output_cursor):
2278 * puresize.h (RAW_PURESIZE):
2279 * profile.c (syms_of_profile):
2280 * profile.c (Fstart_profiling):
2281 * profile.c (sigprof_handler):
2284 * process.c (vars_of_process):
2285 * process.c (read_process_output):
2286 * process.c (get_process):
2288 * process-unix.c (unix_open_multicast_group):
2289 * process-unix.c (unix_get_tty_name):
2290 * process-unix.c (unix_send_process):
2291 * process-unix.c (unix_reap_exited_processes):
2292 * process-unix.c (unix_create_process):
2293 * process-unix.c (unix_init_process_io_handles):
2294 * process-unix.c (allocate_pty):
2296 * process-nt.c (nt_open_network_stream):
2297 * process-nt.c (nt_update_status_if_terminated):
2298 * process-nt.c (nt_finalize_process_data):
2300 * print.c (debug_short_backtrace):
2301 * print.c (debug_backtrace):
2302 * print.c (print_symbol):
2303 * print.c (print_internal):
2304 * print.c (print_cons):
2305 * print.c (Fwrite_char):
2306 * print.c (print_prepare):
2307 * print.c (canonicalize_printcharfun):
2308 * print.c (output_string):
2311 * opaque.c (allocate_managed_opaque):
2313 * offix.c (DndSetData):
2314 * objects.c (face_boolean_create):
2315 * objects.c (font_instantiate):
2316 * objects.c (font_create):
2317 * objects.c (color_create):
2318 * objects.c (finalize_font_instance):
2319 * objects.c (finalize_color_instance):
2321 * objects-x.c (x_font_instance_truename):
2323 * objects-x.c (x_initialize_font_instance):
2324 * objects-x.c (allocate_nearest_color):
2325 * objects-tty.c (tty_initialize_font_instance):
2326 * objects-tty.c (tty_initialize_color_instance):
2327 * objects-msw.c (mswindows_initialize_color_instance):
2328 * ntproc.c (syms_of_ntproc):
2329 * ntproc.c (Fwin32_set_process_priority):
2330 * ntproc.c (sys_spawnve):
2332 * ntheap.c (get_data_end):
2336 * nt.c (generate_inode_val):
2337 * nt.c (sys_rename):
2339 * mule-wnnfns.c (Fwnn_hinsi_number):
2340 * mule-wnnfns.c (Fwnn_yuragi):
2341 * mule-wnnfns.c (Fwnn_common_learn):
2342 * mule-wnnfns.c (Fwnn_suffix_learn):
2343 * mule-wnnfns.c (Fwnn_prefix_learn):
2344 * mule-wnnfns.c (Fwnn_okuri_learn):
2345 * mule-wnnfns.c (Fwnn_complex_conv):
2346 * mule-wnnfns.c (Fwnn_last_is_first):
2347 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2348 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2349 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2350 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2351 * mule-wnnfns.c (Fwnn_hinsi_list):
2352 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2353 * mule-wnnfns.c (Fwnn_dict_search):
2354 * mule-wnnfns.c (Fwnn_word_toroku):
2355 * mule-wnnfns.c (Fwnn_hindo_update):
2356 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2357 * mule-wnnfns.c (Fwnn_kakutei):
2358 * mule-wnnfns.c (Fwnn_begin_henkan):
2359 * mule-wnnfns.c (Fwnn_dict_comment):
2360 * mule-wnnfns.c (Fwnn_dict_add):
2361 * mule-wnnfns.c (Fwnn_open):
2362 * mule-mcpath.c (mc_getcwd):
2363 * mule-coding.c (vars_of_mule_coding):
2364 * mule-coding.c (convert_to_external_format):
2365 * mule-coding.c (encoding_marker):
2366 * mule-coding.c (decoding_marker):
2367 * mule-coding.c (Fcopy_coding_system):
2368 * mule-coding.c (Fmake_coding_system):
2369 * mule-coding.c (Fcoding_system_list):
2370 * mule-coding.c (Ffind_coding_system):
2371 * mule-coding.c (symbol_to_eol_type):
2373 * mule-charset.c (complex_vars_of_mule_charset):
2374 * mule-charset.c (vars_of_mule_charset):
2375 * mule-charset.c (Fset_charset_ccl_program):
2376 * mule-charset.c (struct charset_list_closure):
2377 * mule-charset.c (Ffind_charset):
2378 * mule-charset.c (make_charset):
2379 * mule-charset.c (non_ascii_valid_char_p):
2381 * mule-ccl.c (ccl_driver):
2382 * mule-canna.c (c2mu):
2383 * mule-canna.c (Fcanna_henkan_begin):
2384 * mule-canna.c (Fcanna_parse):
2385 * mule-canna.c (Fcanna_store_yomi):
2386 * mule-canna.c (Fcanna_touroku_string):
2387 * mule-canna.c (Fcanna_initialize):
2389 * menubar.c (menu_parse_submenu_keywords):
2390 * menubar-x.c (make_dummy_xbutton_event):
2391 * menubar-x.c (set_frame_menubar):
2392 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2395 * menubar-msw.c (mswindows_popup_menu):
2396 * menubar-msw.c (mswindows_update_frame_menubars):
2397 * menubar-msw.c (mswindows_handle_wm_command):
2398 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2399 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2400 * menubar-msw.c (update_frame_menubar_maybe):
2401 * menubar-msw.c (populate_or_checksum_helper):
2402 * menubar-msw.c (empty_menu):
2405 * marker.c (set_marker_internal):
2406 * marker.c (print_marker):
2409 * lstream.c (lisp_buffer_rewinder):
2410 * lstream.c (mark_lstream):
2412 * lrecord.h (struct lrecord_header):
2413 * lread.c (readevalloop):
2414 * lread.c (locate_file):
2415 * lread.c (locate_file_in_directory):
2416 * lread.c (Flocate_file):
2417 * lread.c (load_force_doc_string_unwind):
2418 * lread.c (ebolify_bytecode_constants):
2423 * linuxplay.c (linux_play_data_or_file):
2424 * linuxplay.c (audio_init):
2427 * keymap.c (describe_map):
2428 * keymap.c (describe_map_mapper):
2429 * keymap.c (Fdescribe_bindings_internal):
2430 * keymap.c (Fsingle_key_description):
2431 * keymap.c (map_keymap_sorted):
2432 * keymap.c (get_relevant_keymaps):
2433 * keymap.c (Flookup_key):
2434 * keymap.c (raw_lookup_key_mapper):
2435 * keymap.c (Fdefine_key):
2436 * keymap.c (Fevent_matches_key_specifier_p):
2437 * keymap.c (key_desc_list_to_event):
2438 * keymap.c (define_key_parser):
2439 * keymap.c (define_key_check_and_coerce_keysym):
2440 * keymap.c (keymap_submaps):
2441 * keymap.c (keymap_store_internal):
2442 * keymap.c (keymap_delete_inverse_internal):
2443 * keymap.c (keymap_store_inverse_internal):
2444 * keymap.c (print_keymap):
2445 * keymap.c (Lisp_Keymap):
2448 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2449 * insdel.c (make_gap):
2450 * input-method-xlib.c (get_XIM_input):
2451 * input-method-xlib.c (XIM_init_frame):
2456 * gui-x.c (button_item_to_widget_value):
2457 * gui-x.c (popup_selection_callback):
2458 * glyphs.h (struct image_instantiator_methods):
2459 * glyphs.c (mark_glyph_cachels):
2460 * glyphs.c (Fglyph_type):
2461 * glyphs.c (image_instantiate):
2462 * glyphs.c (image_create):
2463 * glyphs.c (make_image_instance_1):
2464 * glyphs.c (finalize_image_instance):
2466 * glyphs-x.c (finalize_subwindow):
2467 * glyphs-x.c (xface_validate):
2468 * glyphs-x.c (x_locate_pixmap_file):
2469 * glyphs-x.c (convert_EImage_to_XImage):
2471 * glyphs-msw.c (mswindows_resource_instantiate):
2472 * glyphs-msw.c (xpm_to_eimage):
2473 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2474 * glyphs-eimage.c (tiff_instantiate):
2475 * glyphs-eimage.c (png_instantiate):
2476 * glyphs-eimage.c (struct png_error_struct):
2477 * glyphs-eimage.c (gif_memory_storage):
2480 * getloadavg.c (getloadavg):
2483 * free-hook.c (log_gcpro):
2484 * free-hook.c (check_malloc):
2485 * free-hook.c (check_free):
2486 * free-hook.c (ROUND_UP_TO_PAGE):
2488 * frame.h (struct frame):
2490 * frame.c (change_frame_size_1):
2491 * frame.c (allocate_frame_core):
2493 * frame-x.c (x_focus_on_frame):
2494 * frame-x.c (x_init_frame_2):
2495 * frame-x.c (x_popup_frame):
2496 * frame-x.c (xemacs_XtPopup):
2498 * frame-x.c (Foffix_start_drag_internal):
2499 * frame-x.c (x_cde_destroy_callback):
2500 * frame-x.c (x_wm_hack_wm_protocols):
2501 * frame-tty.c (tty_frame_visible_p):
2502 * frame-msw.c (mswindows_make_frame_invisible):
2503 * frame-msw.c (mswindows_after_init_frame):
2504 * frame-msw.c (mswindows_init_frame_1):
2505 * fns.c (syms_of_fns):
2506 * fns.c (Fbase64_decode_string):
2508 * fns.c (Ffillarray):
2509 * fns.c (Fobject_plist):
2511 * fns.c (Fcanonicalize_lax_plist):
2512 * fns.c (Fcanonicalize_plist):
2513 * fns.c (Fplist_remprop):
2514 * fns.c (Fplist_get):
2515 * fns.c (advance_plist_pointers):
2516 * fns.c (internal_plist_put):
2517 * fns.c (Fnreverse):
2520 * fns.c (Fsubstring):
2521 * fns.c (Fbvconcat):
2523 * fns.c (length_with_bytecode_hack):
2524 * fns.c (print_bit_vector):
2526 * floatfns.c (Ffloor):
2528 * floatfns.c (in_float_error):
2529 * fileio.c (Ffile_modes):
2530 * fileio.c (Fexpand_file_name):
2531 * fileio.c (Fmake_temp_name):
2532 * fileio.c (Ffile_name_nondirectory):
2533 * fileio.c (Ffile_name_directory):
2535 * file-coding.c (vars_of_mule_coding):
2536 * file-coding.c (convert_to_external_format):
2537 * file-coding.c (encoding_marker):
2538 * file-coding.c (decoding_marker):
2539 * file-coding.c (Fcopy_coding_system):
2540 * file-coding.c (Fmake_coding_system):
2541 * file-coding.c (struct coding_system_list_closure):
2542 * file-coding.c (Ffind_coding_system):
2543 * file-coding.c (symbol_to_eol_type):
2545 * faces.h (struct face_cachel):
2546 * faces.c (vars_of_faces):
2547 * faces.c (face_property_was_changed):
2548 * faces.c (mark_face_cachels):
2549 * faces.c (temporary_faces_list):
2550 * faces.c (struct face_list_closure):
2552 * extents.h (struct extent):
2553 * extents.c (vars_of_extents):
2554 * extents.c (struct copy_string_extents_1_arg):
2555 * extents.c (add_string_extents_mapper):
2556 * extents.c (Fextent_property):
2557 * extents.c (Fset_extent_property):
2558 * extents.c (symbol_to_glyph_layout):
2559 * extents.c (properties_equal):
2560 * extents.c (print_extent):
2561 * extents.c (print_extent_1):
2562 * extents.c (extent_in_region_p):
2563 * extents.c (gap_array_make_gap):
2565 * events.h (struct Lisp_Event):
2567 * events.c (Fevent_properties):
2568 * events.c (format_event_object):
2569 * events.c (Fmake_event):
2570 * events.c (event_equal):
2571 * events.c (print_event):
2572 * events.c (mark_event):
2573 * event-stream.c ((read-char)
2574 * event-stream.c (vars_of_event_stream):
2575 * event-stream.c (syms_of_event_stream):
2576 * event-stream.c (Fset_recent_keys_ring_size):
2577 * event-stream.c (Fsit_for):
2578 * event-stream.c (Fnext_event):
2579 * event-stream.c (execute_help_form):
2580 * event-stream.c (maybe_kbd_translate):
2582 * event-msw.c (vars_of_event_mswindows):
2583 * event-msw.c (mswindows_wnd_proc):
2584 * event-msw.c (mswindows_need_event):
2585 * event-msw.c (mswindows_drain_windows_queue):
2586 * event-msw.c (mswindows_pump_outstanding_events):
2588 * event-msw.c (slurp_thread):
2589 * event-msw.c (struct ntpipe_slurp_stream):
2590 * event-msw.c (HANDLE_TO_USID):
2591 * event-Xt.c (emacs_Xt_handle_magic_event):
2592 * event-Xt.c (x_event_to_emacs_event):
2593 * event-Xt.c (x_reset_modifier_mapping):
2594 * event-Xt.c (x_reset_key_mapping):
2596 * eval.c (syms_of_eval):
2597 * eval.c (warn_when_safe):
2598 * eval.c (warn_when_safe_lispobj):
2599 * eval.c (Fbacktrace_frame):
2600 * eval.c (Fbacktrace):
2601 * eval.c (top_level_set):
2602 * eval.c (unbind_to_hairy):
2603 * eval.c (specbind_magic):
2604 * eval.c (specbind_unwind_wasnt_local):
2605 * eval.c (call2_trapping_errors):
2606 * eval.c (call1_trapping_errors):
2607 * eval.c (catch_them_squirmers_call2):
2608 * eval.c (call0_trapping_errors):
2609 * eval.c (run_hook_trapping_errors):
2610 * eval.c (catch_them_squirmers_eval_in_buffer):
2611 * eval.c (call4_in_buffer):
2612 * eval.c (call3_in_buffer):
2613 * eval.c (call2_in_buffer):
2614 * eval.c (call1_in_buffer):
2615 * eval.c (call0_in_buffer):
2616 * eval.c (run_hook):
2617 * eval.c (run_hook_with_args_in_buffer):
2620 * eval.c (do_autoload):
2621 * eval.c (un_autoload):
2622 * eval.c (Fautoload):
2623 * eval.c (Finteractive_p):
2624 * eval.c (Fcommand_execute):
2625 * eval.c (signal_quit):
2626 * eval.c (call_with_suspended_errors):
2627 * eval.c (signal_error):
2628 * eval.c (return_from_signal):
2629 * eval.c (Fcall_with_condition_handler):
2630 * eval.c (run_condition_case_handlers):
2631 * eval.c (condition_case_1):
2632 * eval.c (Funwind_protect):
2633 * eval.c (unwind_to_catch):
2634 * eval.c (internal_catch):
2635 * eval.c (Fmacroexpand_internal):
2636 * eval.c (Fuser_variable_p):
2637 * eval.c (Fdefconst):
2639 * eval.c (Ffunction):
2640 * eval.c (signal_call_debugger):
2641 * eval.c (call_debugger):
2644 * emacs.c (sort_args):
2648 * editfns.c (Fencode_time):
2649 * editfns.c (Fdecode_time):
2650 * editfns.c (Fuser_full_name):
2652 * editfns.c (save_excursion_restore):
2655 * doprnt.c (emacs_doprnt_1):
2656 * doc.c (verify_doc_mapper):
2657 * doc.c (Fsnarf_documentation):
2658 * doc.c (Fdocumentation):
2660 * dired.c (user_name_completion):
2661 * dired.c (Fdirectory_files):
2664 * dgif_lib.c (FreeSavedImages):
2665 * dgif_lib.c (DGifGetImageDesc):
2667 * device.h (struct device):
2668 * device.c (Fselect_device):
2669 * device.c (allocate_device):
2671 * device-x.c (Fx_keysym_on_keyboard_p):
2672 * device-x.c (Fx_valid_keysym_name_p):
2673 * device-x.c (x_IO_error_handler):
2674 * device-x.c (x_delete_device):
2675 * device-x.c (x_finish_init_device):
2676 * device-x.c (x_init_device):
2678 * device-msw.c (mswindows_init_device):
2680 * database.c (vars_of_database):
2681 * database.c (Fput_database):
2682 * database.c (Fopen_database):
2683 * database.c (berkdb_remove):
2684 * database.c (berkdb_put):
2685 * database.c (Fdatabasep):
2686 * database.c (print_database):
2688 * data.c (vars_of_data):
2689 * data.c (syms_of_data):
2690 * data.c (init_errors_once_early):
2691 * data.c (prune_weak_lists):
2692 * data.c (finish_marking_weak_lists):
2693 * data.c (print_weak_list):
2695 * data.c (Fstring_to_number):
2696 * data.c (Fnumber_to_string):
2697 * data.c (Findirect_function):
2700 * data.c (Fsubr_interactive):
2702 * data.c (Fkeywordp):
2705 * console.h (CONSOLE_NAME):
2707 * console.c (vars_of_console):
2708 * console.c (Fselect_console):
2710 * console-x.h (DEVICE_X_COLORMAP):
2711 * console-x.h (struct x_device):
2712 * console-x.c (x_device_to_console_connection):
2713 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2714 * console-tty.c (tty_init_console):
2716 * console-msw.h (struct mswindows_frame):
2719 * cmds.c (internal_self_insert):
2720 * cmds.c (Fforward_line):
2721 * cmds.c (Fforward_char):
2724 * chartab.c (mark_char_table_entry):
2726 * casefiddle.c (casify_word):
2727 * callproc.c (child_setup):
2728 * callproc.c (Fcall_process_internal):
2730 * callint.c (Fcall_interactively):
2732 * bytecode.c (execute_rare_opcode):
2733 * bytecode.c (execute_optimized_program):
2736 * buffer.h (BUFFER_REALLOC):
2737 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2738 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2740 * buffer.h (MAP_INDIRECT_BUFFERS):
2741 * buffer.h (CHECK_LIVE_BUFFER):
2742 * buffer.c (init_initial_directory):
2743 * buffer.c (complex_vars_of_buffer):
2744 * buffer.c (vars_of_buffer):
2745 * buffer.c (finish_init_buffer):
2746 * buffer.c (Fget_file_buffer):
2747 * buffer.c (Fbuffer_list):
2748 * buffer.c (mark_buffer):
2749 * balloon_help.c (balloon_help_move_to_pointer):
2750 * balloon_help.c (show_help):
2753 * alloc.c (garbage_collect_1):
2754 * alloc.c (sweep_strings):
2755 * alloc.c (sweep_compiled_functions):
2756 * alloc.c (sweep_bit_vectors_1):
2757 * alloc.c (sweep_vectors_1):
2758 * alloc.c (sweep_lcrecords_1):
2759 * alloc.c (tick_lcrecord_stats):
2760 * alloc.c (pure_string_sizeof):
2761 * alloc.c (mark_conses_in_list):
2762 * alloc.c (mark_object):
2763 * alloc.c (report_pure_usage):
2764 * alloc.c (make_pure_float):
2765 * alloc.c (make_pure_string):
2766 * alloc.c (free_managed_lcrecord):
2767 * alloc.c (mark_string):
2768 * alloc.c (noseeum_make_marker):
2769 * alloc.c (allocate_event):
2770 * alloc.c (Fbit_vector):
2771 * alloc.c (Fvector):
2772 * alloc.c (make_float):
2773 * alloc.c (Fmake_list):
2775 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2776 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2777 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2778 * alloc.c (dbg_constants):
2779 * alloc.c (gc_record_type_p):
2780 * alloc.c (free_lcrecord):
2781 * alloc.c (xmalloc):
2782 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2784 * Makefile.in.in (mostlyclean):
2785 * Makefile.in.in (external_client_xlib_objs_nonshared):
2786 * Makefile.in.in (temacs_link_args):
2787 * Makefile.in.in (release):
2788 * Makefile.in.in (dnd_objs):
2789 * Makefile.in.in (objs):
2790 * Makefile.in.in (PROGNAME):
2791 * EmacsShell.c: cast strings to (XtPointer)
2792 * EmacsFrame.c: cast strings to (XtPointer)
2794 - rewrite basic lisp functions for speed
2795 - rewrite bytecode interpreter for speed
2796 - rewrite list looping constructs for speed and safety using
2798 - use size_t where appropriate.
2799 - new hashtable implementation
2800 - cleanup implementation of opaques
2801 - opaques can now be purecopy'ed
2802 - move some cl functionality into C for speed.
2803 - remove last remaining VMS support
2805 - improve gdb/dbx debugger support
2806 - move pure.c back into alloc.c for performance
2807 - enable report_pure_usage() if --memory-usage-stats
2808 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2809 - don't use symbols with leading `_' or embedded `__'
2810 - globally cleanup duplicated semicolons `;;'
2811 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2813 - globally replace O_NDELAY with O_NONBLOCK.
2814 - globally replace CDISABLE with _POSIX_VDISABLE.
2815 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2816 - define (and maybe use!) STDERR_FILENO and friends.
2817 - add support for macros defined in C
2818 - `when', `unless', `not' and `defalias' now defined in C,
2819 so that they are universally available.
2820 - rename defvar_mumble to defvar_magic
2821 - rename RETURN__ to RETURN_SANS_WARNINGS
2822 - use consistent style of initial caps in error messages
2823 - implement last, butlast, nbutlast, copy-list in C.
2824 - provide typedefs for all struct Lisp_foo types
2825 - Lisp_Objects must be initialized to Qnil rather than 0.
2826 - make sure XEmacs runs (slowly) with always_gc == 1;
2827 - fast and safe LOOP_* macros
2828 - change calls to XSETOBJ to XSETFOO
2829 - replace calls to XSETINT by make_int()
2830 - plug up memory leaks
2831 - use style markobj (foo), not silly ((markobj) (foo))
2832 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2834 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2836 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2838 1998-11-28 SL Baur <steve@altair.xemacs.org>
2840 * XEmacs 21.2-beta4 is released.
2842 1998-11-27 SL Baur <steve@altair.xemacs.org>
2844 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2845 property in control-1 charset.
2846 From Julian Bradfield <jcb@daimi.au.dk>
2848 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2850 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2852 Add stub for :label.
2854 * gui.c (gui_item_add_keyval_pair): ditto.
2856 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2857 :key-sequence keyword.
2859 Support :active for submenus like the Windows code and FSF Emacs.
2861 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2863 * dired.c (make_directory_hash_table): make_string() is OK because
2864 readdir() Mule-encapsulates.
2866 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2868 * fns.c (Fbase64_encode_string): Fix docstring.
2869 (Fbase64_decode_string): Ditto.
2871 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2873 * editfns.c (Ftranslate_region): Use
2874 convert_bufbyte_string_into_emchar_string().
2876 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2878 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2880 (Ftranslate_region): Turn table into an array of Emchars for
2883 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2885 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2887 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2889 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2890 type `char' with nils.
2892 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2893 for tables of type `char'.
2895 1998-11-26 Didier Verna <verna@inf.enst.fr>
2897 * input-method-xlib.c (Initialize_Locale): don't call
2898 XtSetLanguageProc. We've done the whole work here.
2899 * input-method-xfs.c (Initialize_Locale): ditto.
2900 * input-method-motif.c (Initialize_Locale): ditto.
2902 1998-11-26 Didier Verna <verna@inf.enst.fr>
2904 * process-unix.c (unix_create_process): handle properly
2905 Vfile_name_coding_system for converting the program and directory
2908 1998-11-27 SL Baur <steve@altair.xemacs.org>
2910 * m/arm.h: New file.
2911 From James LewisMoss <dres@ioa.com>
2913 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2916 Fix the realpath() problem of UnixWare2.1.3.
2917 Patches for NEC's sysv4.2 machine.
2919 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2921 * dired.c (Fdirectory_files): Remove redundant code.
2923 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2925 * fns.c (free_malloced_ptr): New function.
2926 (XMALLOC_OR_ALLOCA): New macro.
2927 (XMALLOC_UNBIND): Ditto.
2928 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2929 to be freed in case of non-local exit.
2930 (Fbase64_encode_string): Ditto.
2931 (Fbase64_decode_region): Ditto.
2932 (Fbase64_decode_string): Ditto.
2933 (STORE_BYTE): New macro.
2934 (base64_decode_1): Use it.
2936 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2938 * fns.c (base64_value_to_char): Base64 stuff.
2940 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2942 * editfns.c (Fbuffer_substring): New function.
2944 * lisp.h: Declare make_string_from_buffer_no_extents().
2946 * insdel.c (make_string_from_buffer_1): New function.
2947 (make_string_from_buffer_no_extents): Ditto.
2949 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2951 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
2952 sound work on AIX with OSS installed. Linux should still work.
2954 1998-11-03 Andy Piper <andyp@parallax.co.uk>
2956 * config.h.in: name change for cygwin/version.h
2958 * configure.in: check for cygwin/version.h now.
2960 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2961 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2962 move cygwin32/version.h to cygwin/version.h
2964 1998-11-03 Olivier Galibert <galibert@pobox.com>
2966 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
2969 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2971 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
2972 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
2973 enable BROKEN_SIGIO under b20 to make QUIT work.
2975 1998-10-22 Andy Piper <andyp@parallax.co.uk>
2977 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
2978 to fit within the constraints of the screen size. I.e. make the
2979 frame small enough to fit and move it if some of it will be
2982 1998-10-19 Greg Klanderman <greg@alphatech.com>
2984 * dired.c: conditionalize inclusion of user-name-completion
2985 primitives on non-Windows NT. The needed functions don't exist on NT.
2987 1998-11-24 SL Baur <steve@altair.xemacs.org>
2989 * gifrlib.h: Clean up types for 64 bit compile.
2990 * dgif_lib.c (DGifInitRead): Ditto.
2991 (MakeSavedImage): Ditto.
2992 * emacs.c (decode_path): Ditto.
2993 From Steve Carney <carney@pa.dec.com>
2995 1998-10-16 William M. Perry <wmperry@aventail.com>
2997 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
2998 (cehckboxes instead of checkboxes).
3000 1998-10-15 SL Baur <steve@altair.xemacs.org>
3002 * XEmacs 21.2-beta3 is released.
3004 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3006 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3007 gnuclient. Otherwise, we run xemacs as we always did. This gets
3008 rid of the annoying DOS window when running gnuclient.
3010 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3012 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3013 HAVE_MS_WINDOWS typo.
3015 1998-10-13 SL Baur <steve@altair.xemacs.org>
3017 * process-unix.c (unix_send_process): Set closed flag on writable
3018 pipe after SIGPIPE is received and before we call deactivate_process.
3020 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3022 * window.c (Fset_window_start): respect narrowing when
3023 checking wheter start is at the beginning of a line.
3024 (Fset_window_buffer): Ditto
3025 Fixes repeatable crash in VM.
3027 1998-10-09 SL Baur <steve@altair.xemacs.org>
3029 * window.c (specifier_vars_of_window): Set default vertical
3030 divider width to 1 on ttys.
3032 1998-10-08 Martin Buchholz <martin@xemacs.org>
3037 Add <stddef.h> to get ptrdiff_t declaration
3039 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3041 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3042 is used for Motif or Lucid scrollbars under X.
3044 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3046 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3049 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3051 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3053 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3055 * s/cygwin32.h: more cygwin b20 reorganisation.
3057 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3059 * nas.c: Added necessary support functions to be able to handle
3060 WAVE files in memory, just like the support for SND files in
3063 1998-09-30 SL Baur <steve@altair.xemacs.org>
3065 * callproc.c (child_setup): Fix spelling typo.
3067 1998-09-29 SL Baur <steve@altair.xemacs.org>
3069 * XEmacs 21.2-beta2 is released.
3071 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3073 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3074 to prevent memory corruption in the case of jumping out of a series of
3075 nested match patterns. This is a rather brute force approach, though.
3077 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3079 * config.h.in: ditto.
3081 * s/cygwin32.h: rearrange declarations to cope with cygwin
3082 b20. Include cygwin32/version.h if it exists.
3084 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3086 * device-msw.c (mswindows_init_device): Call new
3087 mswindows_enumerate_fonts() function in objects-msw.c instead
3088 of font_enum_callback_1() to enumerate fonts.
3090 font_enum_callback_1() and _2() moved to objects-msw.c.
3092 * faces.c (complex_vars_of_faces): Make the mswindows default
3093 face font fully specified and provide some fallbacks.
3095 * objects-msw.c: font_enum_callback_1() and _2() moved here
3096 from objects-msw.c. Obtain the enumerated font's character
3097 sets by table lookup instead of using the locale-specific
3098 string provided by Windows.
3100 New public non-method mswindows_enumerate_fonts() that fills
3101 in the supplied mswindows device's font list.
3103 mswindows_initialize_font_instance: Use the supplied name
3104 variable instead of f->name when signalling errors. Match font
3105 weights and character sets using lookup tables which handle
3106 spaces instead of by frobbing.
3108 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3110 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3111 on the size of code fragments passed to run_in_other_process.
3113 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3114 the amount of memory to allocate in the other process.
3116 Removed sigkill_code_end(), sigint_code_end() and
3117 sig_enable_code_end() since they are now redundant.
3119 send_signal() and enable_child_signals(): Don't try to work
3120 out the end of the code fragments passed to
3121 run_in_other_process()
3123 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3125 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3128 * src/unexelf.c: Partially synched with FSF's 20.3.
3130 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3132 * insdel.c (signal_after_change): Map across indirect buffers
3133 here, and not in the upper-level functions.
3134 (signal_first_change): Don't check for Armageddon.
3135 (signal_before_change): Map across indirect buffers here.
3136 (prepare_to_modify_buffer): ...and here.
3138 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3140 * insdel.c (signal_after_change): Add return value.
3141 (buffer_insert_string_1): Use it.
3142 (buffer_delete_range): Ditto.
3143 (buffer_replace_char): Ditto.
3144 (cancel_multiple_change): Map the indirect buffers.
3146 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3148 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3149 (uninit_buffer_text): Ditto.
3151 * buffer.c (Fmake_indirect_buffer): Implement stricter
3154 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3156 * insdel.c (change_function_restore): Reverse order of
3157 function-call and assignment.
3158 (first_change_hook_restore): Ditto.
3160 * extents.c (mark_extent_auxiliary): Mark them.
3161 (Fset_extent_property): Set them.
3162 (Fextent_property): Get them.
3163 (Fextent_properties): Ditto.
3164 (vars_of_extents): Set their default.
3166 * extents.h (struct extent_auxiliary): Add before_change_functions
3167 and after_change_functions.
3169 * insdel.c (signal_before_change): Use it.
3170 (signal_after_change): Ditto.
3172 * extents.c (report_extent_modification): New function.
3174 * insdel.c (signal_before_change): Don't check for Armageddon.
3175 (signal_after_change): Ditto.
3177 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3179 * redisplay.c (redisplay_window): make sure a new starting point
3180 is chosen if it somehow got moved from the beginning of the line
3181 -- this can happen because Fwiden was called recently.
3183 * window.c (Fset_window_start): set start_at_line_beg correctly
3184 (Fset_window_buffer): Ditto
3186 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3188 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3189 (uninit_buffer_text): Ditto.
3191 * buffer.c (Fmake_indirect_buffer): Implement stricter
3194 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3196 * emacs.c (main_1): Removed references to *vars_of_filelock.
3198 * lisp.h: Added Fsystem_name.
3200 * filelock.c: Replaced by version from FSF 20.2. Now implements
3201 locking by using symlinks which is NFS safe. However keep the
3202 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3203 version (and of course use ansi C, acessor macros, etc).
3205 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3207 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3208 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3209 in init_signals_very_early. However these should not be passed
3210 on to children attached to the new pty.
3212 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3214 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3216 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3218 * fileio.c (file-name-directory, file_name_as_directory):
3219 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3221 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3223 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3225 * ralloc.c: uncomment __morecore.
3227 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3229 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3230 WriteFile() to fix a winsock 1.x bug on Win95.
3232 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3234 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3236 (x_event_to_emacs_event): Ditto.
3237 (emacs_Xt_handle_focus_event): Ditto.
3238 (emacs_Xt_handle_magic_event): Ditto.
3240 * console-x.h (struct x_device): New flag being_deleted.
3241 (DEVICE_X_BEING_DELETED): New macro.
3243 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3244 returning. Before doing that, set the being_deleted flag on the
3247 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3249 * device-x.c (x-seppuku-on-epipe): Removed.
3251 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3253 * frame-x.c (x_delete_frame): Flush the X output buffer after
3254 calling XtDestroyWidget to ensure that the windows are really
3257 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3259 * menubar-x.c (my_run_hook): New unused function.
3260 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3261 since we ignore the results of the contained functions anyway.
3263 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3265 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3266 interlaced GIF files that are smaller than 4 lines high...
3268 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3270 * buffer.c (map_over_sharing_buffers): Deleted.
3272 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3274 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3277 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3279 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3281 (buffer_delete_range): Ditto.
3283 * marker.c (init_buffer_markers): Set point-marker to the value of
3284 point in an indirect buffer.
3286 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3288 * undo.c (undo_prelude): Test last-undo-buffer against base
3291 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3293 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3295 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3297 * insdel.c (init_buffer_text): Initialize it here.
3299 * line-number.c: Address line_number_cache through buffer->text.
3301 * buffer.c (mark_buffer): Mark line number cache.
3303 * bufslots.h (line_number_cache): Move to struct buffer_text.
3305 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3306 across the children buffers.
3307 (buffer_delete_range): Ditto.
3308 (buffer_replace_char): Ditto.
3312 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3314 * buffer.c (Fmake_indirect_buffer): Uncomment.
3316 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3318 * macros.c (Fend_kbd_macro): Remove trailing period from error
3320 (Fexecute_kbd_macro): Ditto.
3322 1998-08-21 Greg Klanderman <greg@alphatech.com>
3324 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3325 (Fuser_name_completion_1): new function to return uniqueness
3326 indication in addition to the user name completion.
3327 (user_name_completion): change type of `uniq' argument.
3329 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3331 * lread.c (vars_of_lread): Removed `source-directory' variable.
3333 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3335 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3338 1998-08-19 SL Baur <steve@altair.xemacs.org>
3340 * dired.c (vars_of_dired): Fix misapplied patch.
3342 1998-08-16 Martin Buchholz <martin@xemacs.org>
3344 * fns.c (Fremrassq, remrassq_no_quit):
3345 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3347 1998-07-17 Didier Verna <verna@inf.enst.fr>
3349 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3350 style as foreground GC for faces that have the `dim' property.
3351 (x_output_string): when the `dim' face property is set,
3352 ensure the gray pixmap has been created, and get a proper
3353 foreground GC to draw the text.
3355 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3357 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3358 Manually track the state of the left and right Ctrl and Alt
3361 1998-08-07 Matt Stupple <matts@tibco.com>
3363 * ntproc.c: don't wait on char_consumed at thread entry.
3364 Additionally, to get the 'process' marked as finished, ensure
3365 that the CHILD_ACTIVE macro returns false, so before exiting
3366 close char_avail and set it to NULL, and close other handles
3367 to reduce handle leak problems.
3369 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3371 * menubar-msw.c (displayable_menu_item): take account of menu
3372 depth when deciding whether to try to display accelerators.
3374 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3376 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3379 * glyphs-msw.c: fix a couple of potential handle leaks.
3381 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3383 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3384 *decoding ONLY* back into the core.
3385 * glyphs-eimage.c: Change referenced header file for GIF
3386 reading to point to the incore version.
3388 1998-07-20 Martin Buchholz <martin@xemacs.org>
3390 * casefiddle.c (casify_object):
3391 Change algorithm from O(N**2) to O(N).
3395 1998-07-22 Greg Klanderman <greg@alphatech.com>
3397 * dired.c (file_name_completion_unwind): don't leak the cons.
3399 1998-07-20 Greg Klanderman <greg@alphatech.com>
3401 * dired.c (Fuser_name_completion): new function.
3402 (Fuser_name_all_completions): new function.
3403 (user_name_completion): new function.
3404 (syms_of_dired): 2 new DEFSUBRs.
3405 (vars_of_dired): initialize user name cache vars.
3407 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3409 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3410 colors taken from the default face. Also correct a thinko in
3411 transparency (not alpha) handling.
3413 1998-07-23 Martin Buchholz <martin@xemacs.org>
3415 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3416 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3417 * lread.c (Fload_internal): Be very careful with printfs of
3419 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3422 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3424 * callint.c (Fcall_interactively): GCPRO prompt string before
3425 passing it to Fread_key_sequence
3427 1998-07-27 SL Baur <steve@altair.xemacs.org>
3429 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3430 Vvertical_divider_map.
3432 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3433 Qnil or 0, none were initialized prior to this change.
3435 Rename misnamed `V' prefixed integer variables:
3436 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3437 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3438 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3439 Vcanna_ichiran_revLen.
3441 Rename misnamed `V' prefixed integer variables and initialize
3442 properly in the vars_of routine.
3443 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3444 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3445 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3446 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3447 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3448 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3449 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3450 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3451 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3452 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3453 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3454 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3455 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3456 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3457 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3458 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3459 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3460 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3461 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3462 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3463 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3464 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3465 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3466 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3467 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3468 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3469 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3470 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3471 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3472 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3473 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3474 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3475 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3476 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3477 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3478 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3479 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3480 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3481 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3482 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3483 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3484 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3485 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3486 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3487 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3488 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3490 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3492 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3493 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3494 keys thus no longer considering all keysyms on a key.
3496 1998-07-19 SL Baur <steve@altair.xemacs.org>
3498 * XEmacs 21.2-beta1 is released.
3500 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3502 * eldap.c (Fldap_search_internal): When converting the list of
3503 attributes to search Copy the final 0 from Lisp strings to C
3505 Check base, not Vldap_default_base as a a string
3507 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3509 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3511 * unexnt.c: Unconditionally define bss_start and bss_size, and
3512 ensure that they don't go in the .bss section.
3514 1998-07-17 Olivier Galibert <galibert@pobox.com>
3516 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3517 byte order is dependant of the local byte order).
3518 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3520 1998-07-18 SL Baur <steve@altair.xemacs.org>
3522 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3523 Qmswindows_resource.
3524 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3526 1998-07-12 SL Baur <steve@altair.xemacs.org>
3528 * general.c (syms_of_general): Add defsymbol for Qresource.
3530 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3531 Qmswindows_resource.
3532 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3533 (mswindows_resource_validate): Rename.
3534 (mswindows_resource_normalize): Rename.
3535 (mswindows_resource_possible_dest_types): Rename.
3536 (mswindows_resource_instantiate): Rename.
3537 (image_instantiator_format_create_glyphs_mswindows): Replace
3538 `resource' with `mswindows.resource'.
3540 * XEmacs 21.0-pre5 is released.
3542 1998-07-10 SL Baur <steve@altair.xemacs.org>
3544 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3545 server type in environment.
3546 Use alloca-ed strings instead of tiny fixed size ones.
3548 1998-07-09 SL Baur <steve@altair.xemacs.org>
3550 * XEmacs 21.0-pre4 is released.
3552 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3554 * fileio.c: (expand_file_name): under win32: Don't treat names
3555 as UNC names if a drive letter has been specified. If a drive
3556 has been specified, strip out extra directory-seperators that
3557 reportedly cause problems under Win95.
3559 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3561 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3562 MSVC >= 5.0. Put emacs init and zero-init data in a special
3563 section of the executable when this is defined.
3565 * unexnt.c, ntheap.h:
3566 Removed unused find_section() and get_section_size().
3569 Fix up the executable's checksum after dumping otherwise the
3571 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3572 zero-init data separately from init data. Dump emacs data
3573 into a special section of the executable.
3574 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3575 my_ebss instead of up to the end of bss.
3577 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3579 * filelock.c: Removed Vconfigure_lock_directory - already
3582 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3583 defined in frame.c and general.c respectively.
3585 * glyphs-msw.c: Removed Qresource - already defined in
3588 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3590 * eldap.c (Fldap_search_internal): Docstring fixes
3592 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3594 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3595 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3596 EMACSPACKAGEPATH and INFOPATH variables.
3597 Removed unused get_emacs_configuration function.
3599 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3600 it is now defined at build-time by the makefile.
3602 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3604 * fileio.c: (expand_file_name): under win32: Don't treat names as
3605 UNC names if a drive letter has been specified. If a drive has
3606 been specified, strip out extra directory-seperators that
3607 reportedly cause problems under Win95.
3609 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3611 * faces.c (complex_vars_of_faces): for the gui-element face don't
3612 fallback to the default face, instead provide reasonable default
3613 fallbacks that were previously hardcoded elsewhere.
3615 1998-07-06 Olivier Galibert <galibert@pobox.com>
3617 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3618 when the X server endianness is different than the client's one.
3620 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3622 * eval.c (run_hook_with_args_in_buffer): Check
3623 default (non-buffer-local) value of hook for
3624 nil before treating it as a function. Don't initialize
3625 the `globals' variable twice.
3627 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3629 * fileio.c: Don't do directory seperator canonicalisation in
3630 substitute-in-file-name because we don't know that the
3631 filename refers to a local file.
3633 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3635 * process-nt.c (nt_create_process): Try appending the standard
3636 executable file extensions to the filename if none supplied.
3638 1998-06-29 SL Baur <steve@altair.xemacs.org>
3640 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3642 From Keisuke Mori <ksk@ntts.com>
3644 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3646 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3647 images if we have masks. This handles the xbm case (have masks)
3648 and avoids overuse of resources in the xpm case (generally no masks).
3649 Don't output small toolbars.
3651 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3653 * eval.c (run_hook_with_args_in_buffer): Don't treat
3654 the default value of a buffer local hook as a list of
3655 hooks unless it is both a cons and the car of that cons
3658 1998-06-29 SL Baur <steve@altair.xemacs.org>
3660 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3661 * process-unix.c: Ditto.
3662 * mule-coding.h: Ditto.
3663 * mule-coding.c: Ditto.
3664 * mule-charset.c: Ditto.
3665 * mule-charset.h: Ditto.
3666 * file-coding.c: Ditto.
3667 * file-coding.h: Ditto.
3669 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3671 * event-msw.c: Guard against recursion when freeing
3672 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3674 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3675 Call ShowWindow twice in init_frame_3 to get round runemacs
3678 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3680 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3682 * winslots.h: Rename.
3684 * window.c (specifier_vars_of_window): Renamed
3685 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3686 as suggested by Ben Wing.
3687 (specifier_vars_of_window): Fix docstrings.
3689 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3691 * unexaix.c: Line number information works correctly again.
3693 1998-06-22 Olivier Galibert <galibert@pobox.com>
3695 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3697 1998-06-21 Martin Buchholz <martin@xemacs.org>
3699 * editfns.c (get_home_directory): ANSIfy.
3700 XEmacs is compilable under C *and* C++.
3701 It's XEmacs, not Xemacs!
3703 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3705 * console-msw.h: added a list of fonts to device data.
3707 * device-msw.c: enumerate list of available fonts in
3708 mswindows_init_device. Free list in mswindows_delete_device.
3710 * objects-msw.c: Added helper function match_font used by
3711 mswindows_initialize_font_instance and mswindows_list_fonts.
3712 Allow a charset to be specified in a font string, even if
3713 previous fields havn't been specified.
3715 1998-06-23 Greg Klanderman <greg@alphatech.com>
3717 * indent.c (column_at_point): column cache bugfix.
3718 Set last_known_column_point to the buffer position for
3719 which the column was requested, not buffer's point.
3721 * redisplay.c (decode_mode_spec): for current-column, show
3722 window's point's column, not buffer's point's column.
3724 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3726 * menubar-msw.c (mswindows_handle_wm_command): use
3727 enqueue_misc_user event rather than
3728 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3731 * console-msw.h: declare mswindows_enqueue_magic_event.
3733 * event-msw.c (mswindows_enqueue_magic_event): make global.
3735 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3737 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3738 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3739 (add_position_to_cache): Use EMACS_INT instead of int.
3741 1998-06-21 Olivier Galibert <galibert@pobox.com>
3743 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3744 suitable for an int used as a boolean (btw, C sucks.).
3746 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3748 * object-msw.c: remove warnings.
3750 * device-msw.c: #define wrongly named cygwin structure elements.
3752 * s/cygwin32.h: define DEMI_BOLD
3754 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3756 * redisplay-msw.c: new function mswindows_apply_face_effects.
3757 This is called by output_string and output_cursor to display
3758 underline and strikeout on faces.
3760 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3762 * console-msw.h: added a list of fonts to device data.
3764 * device-msw.c: enumerate list of available fonts in
3765 mswindows_init_device. Free list in mswindows_delete_device.
3767 * objects-msw.c: Added helper function match_font used by
3768 mswindows_initialize_font_instance and mswindows_list_fonts.
3769 Allow a charset to be specified in a font string, even if
3770 previous fields havn't been specified.
3772 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3775 Removed compilation warnings from mswindows_string_to_color.
3776 mswindows_list_fonts returns a more general bogus font.
3777 New lisp-visible function mswindows-color-list.
3779 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3781 * editfns.c (Fuser_login_name): Modify to user new function
3783 (user_login_name): C only function to avoid Lisp object overhead
3784 Returns "unknown" instead of nil in Cygwin environment
3786 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3787 equivalent for current user in Cygwin environment. Use new
3788 function user_login_name to get username.
3790 * lisp.h: Declare user_login_name
3792 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3794 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3796 Some other insignificant nitpicks.
3798 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3800 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3801 creating the image list and make sure he bk color is transparent.
3803 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3805 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3806 completed_timeouts. The timer could have expired.
3808 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3810 * console-msw.h: move XEMACS_RECT_WH inside frame
3811 parameters. define macors to access it.
3813 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3814 parameter to intialise desired sizing. (mswindows_init_frame_2):
3815 enable and size the frame to something sensible when we get
3816 here. (mswindows_set_frame_properites): use new
3817 mswindows_size_frame_internal function and size frame if frame
3818 parameters not just if init is finished - WM_SIZE happens too
3819 early for some specs. (mswindows_size_frame_internal): new
3820 function abstracted from mswindows_set_frame_properties.
3821 (Vmswindows_use_system_frame_size_defaults):
3822 new variable controls whether to allow the system to pick frame
3823 size defaults, defaults to nil.
3825 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3826 than duplicated code.
3828 1998-06-15 Colin Rafferty <colin@xemacs.org>
3830 * Makefile.in.in: Made EXTW_LINK expand properly.
3832 1998-06-12 Martin Buchholz <martin@xemacs.org>
3834 * redisplay.c (vars_of_redisplay): default value of
3835 column-number-start-at-one should be NIL!
3837 1998-06-11 Martin Buchholz <martin@xemacs.org>
3840 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3842 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3844 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3845 build_string to avoid crashes under Mule.
3847 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3849 * ntplay.c (play_sound_data_1): don't delete the sound data until
3850 the next sound is played and the previous one finished.
3852 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3854 * fileio.c (directory-sep-char): Escape backslashes.
3856 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3858 * event-stream.c: Fix docstring reference.
3860 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3862 * alloc.c (make_float): Remove useless initialization of `next'
3864 (make_pure_float): Ditto.
3866 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3868 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3870 * fileio.c (Fmake_directory_internal): Remove conditionals
3871 on WINDOWSNT when calling mkdir.
3873 * ntproc.c: Deleted the following unused functions:
3874 register_child, reap_subprocess, sys_wait.
3876 * nt.c (sys_rename): Ifzeroed this implementation.
3877 Deleted the following unused functions:
3878 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3879 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3880 sys_read, sys_write.
3881 Merger sys_fopen and sys_open with sysdep.c implementation.
3883 * sysdep.c: Removed MS-DOS code.
3884 (sys_rename): Deal with Microsoft rename weirdness.
3885 (sys_open): Implemented for Windows.
3889 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3891 * buffer.c (complex_vars_of_buffer): Removed %t description from
3894 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3896 * scrollbar-msw.c: initialize the cbSize element of the
3897 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3898 to ignore the value of cbSize, but Win95 (and I presume Win98)
3899 appear to want it set to sizeof(SCROLLINFO).
3901 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3903 * event-stream.c: Defined Qcancel_mode_internal.
3904 (syms_of_event_stream): defsymbol'ed it.
3906 * events.h: Externed it.
3908 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3910 1998-06-04 Oliver Graf <ograf@fga.de>
3912 * frame-x.c (x_cde_destroy_callback): free the data
3913 (cde-start-drag-internal) corrected root position, 21.1 needs this
3914 hardcoded in Button events
3915 (offix-start-drag-internal) corrected root position
3917 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3919 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3922 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3924 * dialog-msw.c (button_width): Removed `inline' from the function
3927 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3929 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3930 Note that adding this flag to subsequent frames causes problems.
3932 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3934 * glyphs-eimage.c (png_instantiate) move 'struct
3935 png_memory_storage tbr' out of nested block to avoid dangling
3938 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3941 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3942 inherits from gui-element.
3944 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3945 with existing code, generate masks correctly.
3947 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
3949 * glyphs-eimage.c: Changed included header for gifs to use
3950 Gifreader instead of giflib.
3952 * glyphs-x.c: removed the image-related functions that were
3953 moved into glyphs-eimage.
3955 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
3957 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
3958 if built without X Windows support.
3960 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
3962 * fns.c (Fconcat): Synch docstring with new reality.
3964 1998-06-03 SL Baur <steve@altair.xemacs.org>
3966 * frame.c: Remove reference to msdos.h (which is going away).
3967 Suggested by Hrvoje Niksic and Kirill Katsnelson.
3969 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
3971 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
3975 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
3977 * events.h: Fixed commentary about misc-user scrollbar events.
3979 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
3980 object as an event channel, instead of window object.
3981 (x_update_horizontal_scrollbar_callback): Ditto.
3983 1998-05-29 Andy Piper <andyp@parallax.co.uk>
3985 * ntplay.c (play_sound_data_1) new function. convert alloca data
3986 to malloc if necessary.
3987 (play_sound_file): if the file is not in our path then convert to
3990 1998-06-01 SL Baur <steve@altair.xemacs.org>
3992 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
3993 * msdos.c (Frecent_doskeys): Ditto.
3995 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
3996 Suggested by Reggie Perry <perry@zso.dec.com>
3998 * buffer.h: Eliminate size in declaration.
4000 1998-06-01 Olivier Galibert <galibert@pobox.com>
4002 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4004 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4006 * gui.c (gui_item_init): Changed the default value for config member
4007 from Qunbound to Qnil.
4009 1998-06-01 Greg Klanderman <greg@alphatech.com>
4011 * indent.c (vmotion_pixels): Don't #define abs().
4013 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4015 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4018 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4020 * glyphs.h: add xbm declarations.
4022 * console.h: add xbm_instantiate_method device method.
4024 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4025 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4026 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4027 locate_pixmap_file device method and read_bitmap_data_from_file
4028 instead of XmuReadBitmapDataFromFile.
4029 (xbm_instatntiate): make a device method.
4031 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4032 new function that just calls XmuReadBitmapDataFromFile.
4033 (x_xbm_instatntiate): device method from xbm_instantiate.
4035 * glyphs-msw.c (read_bitmap_data) (NextInt)
4036 (read_bitmap_data_from_file): new functions copied from Xmu
4038 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4039 inline data to an mswindows bitmap.
4040 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4041 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4044 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4046 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4047 `modeline-visible-p'.
4048 Declared specifier lisp variables at the beginning oh the file
4051 * procimpl.h (struct process_methods): Changed semantics of
4052 create_process method so it accepts lisp strings instead of
4055 * process.c (Fstart_process_internal): Moved building of
4056 unix style argv from here to process-unix.c, ...
4058 * process-unix.c (unix_create_process): ... right here.
4060 * process-nt.c (nt_create_process): Changed this function to
4061 support new semantics, so avoided a GC problem.
4063 * events.c (Fmake_event): Document misc-user events properties.
4064 (Fmake_event): Do not allow arbitrary objects for channel property
4065 of misc-user events.
4066 (Fmake_event): Change misc-user event validation: it is function
4067 which is required, not button.
4069 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4071 (mswindows_enqueue_misc_user_event): Added function.
4072 (mswindows_bump_queue): Removed function.
4073 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4074 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4075 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4076 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4077 really nothing, which is my personal favorite thing.
4079 * console-msw.h: Removed prototype for mswindows_bump_queue().
4080 Added prototype for mswindows_enqueue_misc_user_event().
4082 * menubar-msw.c (mswindows_handle_wm_command): Use
4083 mswindows_enqueue_misc_user_event().
4085 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4087 * dialog-msw.c (dialog_proc): Ditto.
4089 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4090 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4091 user events channel.
4093 1998-05-29 Greg Klanderman <greg@alphatech.com>
4095 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4096 incorrect semantics of vmotion_pixels which has been fixed. don't
4097 use it anymore as it can't easily be used.
4099 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4100 the motion was reported incorrectly if you tried to go past end of
4103 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4105 * toolbar.h: Removed misleading commentary, as Martin suggested.
4107 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4109 * lisp.h: Extern Qactivate_menubar_hook.
4111 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4114 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4116 * glyphs-msw.c: use BPLINE macro.
4118 * select-msw.c (mswindows-selection-exists-p)
4119 (mswindows-delete-selection): doc string fixes.
4121 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4122 unpressable. warning elimination.
4124 1998-05-28 Martin Buchholz <martin@xemacs.org>
4126 * alloc.c (dbg_constants):
4129 Remove toolbar_data debugging code, since that lrecord has
4132 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4134 * alloc.c: zap cached value of (user-home-directory), so that
4137 * buffer.c: From init_buffer(), separated out code that
4138 determined the initial directory for the *scratch* buffer, and
4139 put them into a function called "init_initial_directory()".
4140 The initial directory is now available as a global "char *"
4141 called initial_directory.
4143 * buffer.h: Added extern entries for initial_directory[] and
4144 init_initial_directory().
4146 * editfns.c: added new elisp function "user-home-directory",
4147 which basically returns getenv("HOME"), but attempts to use
4148 other values if $HOME isn't set.This may have to be tweaked in
4149 the future as, under Unix, "/" is used if $HOME isn't set (this
4150 probably should be set to the current directory). To support
4151 this, a new C function, "get_home_directory()", now exists,
4152 which returns the "home directory", as a "char *" string.
4154 * emacs.c: Rearrange NT initialization order so that
4155 environment/registry variables will be properly entered into
4156 Vprocess_enviroment.
4158 * fileio.c: replaced egetenv("HOME") with calls to the new
4159 get_home_directory().
4161 * lisp.h: Added function prototypes for uncache_home_directory()
4162 and get_home_directory(), along with lisp prototypes for
4163 Fuser_home_directory() and friends.
4165 * nt.c: replaced getenv("HOME") with calls to the new
4166 get_home_directory().
4168 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4169 warnings about getcwd(), etc. not having prototypes.
4171 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4173 * process-nt.c (send_signal): Emulate SIGHUP.
4174 (validate_signal_number): Ditto.
4176 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4177 remove MOD_SHIFT from ASCII characters.
4178 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4181 1998-05-24 Oliver Graf <ograf@fga.de>
4183 * frame-x.c (cde-start-drag-internal): added filename and multi-
4185 (x_cde_convert_callback) dito
4187 1998-05-26 Oliver Graf <ograf@fga.de>
4189 * frame-x.c: include event-mod.h also with CDE
4190 (x_cde_convert_callback) made the thing working
4191 (cde-start-drag-internal) also debugging
4193 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4200 - add __OpenBSD__ where __NetBSD__ was found.
4201 - TODO: replace platform-specific conditional compilation by
4202 feature tests in configure.in.
4204 1998-05-15 Greg Klanderman <greg@alphatech.com>
4206 * window.c (Fwindow_displayed_text_pixel_height): New function.
4207 (syms_of_window): DEFSUBR it.
4209 * indent.c (Fvertical_motion_pixels): New function - request
4211 (vmotion_pixels): helper.
4212 (syms_of_indent): DEFSUBR.
4213 * lisp.h: declaration for vmotion_pixels().
4215 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4216 to request returning motion in pixels.
4217 (Fvertical_motion_pixels): Remove, functionality merged into
4219 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4220 (Fmove_to_window_line): ditto.
4221 * lisp.h: Change declaration for Fvertical_motion.
4223 * window.c: rename window-text-pixel-{height,width,edges} to
4224 window-text-area-pixel-*.
4226 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4228 * tooltalk.c (vars_of_tooltalk) added staticpro for
4229 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4231 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4233 * faces.c: create a new 3d_object_face, make modeline and
4234 vertical_divider faces fallback to this rather than the default.
4236 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4238 * s/cygwin32.h: define charsets for cygwin.
4240 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4242 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4243 and coordinates. resize bitmaps if we have already settled on a
4246 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4248 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4250 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4252 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4256 * gui-x.c (popup_selection_callback): Ditto.
4258 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4260 * gui.c (get_callback): Renamed to get_gui_callback.
4262 1998-05-17 Martin Buchholz <martin@xemacs.org>
4264 * glyphs.h: order rearrangement.
4266 * device-tty.c (tty_asynch_device_change): Warning suppression.
4267 * device-x.c (x_device_system_metrics): Warning suppression.
4268 Make Doc strings consistent with coding standards.
4270 1998-05-24 Martin Buchholz <martin@xemacs.org>
4272 * general.c: multiple definition of `Qicon'. general.c seems
4273 like a good home for Qicon.
4275 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4277 * This patch is to fix compilation warnings under Windows.
4279 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4280 Added prototypes for FSF inherited functions, with which XEmacs is
4281 sprinkled thoroughly.
4282 Removed some #if 0 code. Bracketed some more definitions, probably
4283 related to Visual C versions prior to 4 (we do not support them).
4285 * sysfloat.h (logb): Finally, get logb() prototyped.
4287 * sysfile.h: Added Windows specific includes.
4288 Removed old Windows specific code bracketed with #if 0.
4290 * sysdep.h: Added prototype for xrealpath().
4292 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4294 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4295 vars_of_dired_mswindows and init_ntproc (Grrr).
4297 * realpath.c: Added Windows specific include files.
4298 (xrealpath): Conditionalized declaration of some auto variables on
4299 S_IFLNK, to avoid warnings.
4301 * ntproc.c: Disabled some compiler warnings. This file is going to
4302 die, so I have not cleaned it up much.
4303 (set_process_dir): Const parameter.
4304 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4305 (Fwin32_long_file_name): Ditto.
4306 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4309 * nt.h: Added prototypes for set_process_dir and convert_time.
4311 * nt.c: More include files.
4312 (getpwnam): Consted char* argument.
4313 (get_emacs_configuration): Const return value.
4314 (opendir): Const argument.
4315 (stat): Casted converstion long->short.
4316 (stat): Removed ad hoc and questionable support for non-MSC compile.
4317 (sys_pipe): Removed unused auto variable.
4318 (_sys_read_ahead): Removed calls to DebPrint.
4319 (sys_read): Ditto, in 2 places.
4320 (term_ntproc): Added unused int parameter to signal handler, to
4321 avoid a warning when compiling a call to signal().
4322 (msw_sigset): Properly return old signandler or NULL instead of void.
4324 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4326 * gmalloc.c (morecore): Ditto.
4327 (_free_internal): Ditto.
4329 * lread.c (parse_integer): Ditto.
4331 * dired-msw.c: Added several include files.
4333 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4334 of Compilers to Shut Up.
4336 * callproc.c: Added #includes to suppress warnings under Windows.
4337 (init_callproc): Removed #if0'ed code and unused variables.
4339 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4341 * device-msw.c (mswindows_device_system_metrics): do planes in a
4342 way consistent with X.
4344 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4345 use SetPixel, use DIBits functions.
4346 (xpm_to_eimage): frob colors more closely like xpm deos.
4348 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4349 to be closer to X version.
4351 * event-msw.c: use tooltip string directly.
4353 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4355 * objects-msw.c: frob rgb colors that only Kyle uses.
4357 * dialog-msw.c (button_width): INLINE -> inline.
4359 1998-05-23 SL Baur <steve@altair.xemacs.org>
4361 * getloadavg.c (getloadavg): Fix typo.
4363 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4365 * objects-msw.c (mswindows_initialize_font_instance): Added support
4366 for font character sets.
4367 Replaced 'XXX' with '####' in comments throughout the file.
4369 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4371 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4372 console_type_create_dialog_mswindows(), to initialize Windows dialog
4375 * symsinit.h: Prototyped the above functions.
4377 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4378 checks to dialog.c...
4380 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4381 device must support dialog boxes, and the descriptor must supply at
4384 * dialog-msw.c: New file, dialogs for Windows.
4386 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4388 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4389 (Fldap_search_internal): Removed unused variable `err'
4391 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4394 1998-05-17 Martin Buchholz <martin@xemacs.org>
4396 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4397 defined. Therefore there is no need to handle the case when
4398 HAVE_LDAP is undefined. Similarily, there is no reason to have
4399 any code wrapped within `#ifdef emacs', since this code is only
4400 useful within an emacs. This simplifies the code significantly.
4402 * inline.c: Include eldap.h only if HAVE_LDAP.
4403 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4406 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4408 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4409 printing dump stats when building without DEBUG_XEMACS.
4410 (dump_bss_and_heap): Ditto.
4412 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4414 * gnuclient.c: don't suppress window system if there is no display
4415 and we are running under mswindows. send 'mswindows device type if
4416 we are in this situation.
4418 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4421 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4423 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4426 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4428 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4429 {top,bottom}-{left,right} values in addition to
4430 {top,bottom}_{left,right}.
4432 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4434 * fileio.c (Fmake_temp_name): Remove unreached code.
4436 * process-nt.c (validate_signal_number): Use
4437 signal_simple_error().
4439 1998-05-19 Martin Buchholz <martin@xemacs.org>
4442 * sound.c (vars_of_sound):
4443 * sysdep.c (reset_sigio_on_device):
4444 * window.c (window_bottom_gutter_height):
4445 unexhp9k800.c:258: warning: implicit declaration of function
4446 `calculate_checksum'
4447 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4448 sysdep.c:1012: warning: unused variable `owner'
4449 window.c:993: warning: `window_right_toolbar_width' defined but not used
4451 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4453 * glyphs-msw.c (mswindows_create_resized_mask)
4454 (mswindows_create_resized_bitmap): new funnctions split out from
4455 mswindows_resize_dibitmap_instance.
4457 * glyphs-msw.h: declare new resize functions.
4459 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4460 functions so that the original bitmaps are preserved.
4462 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4464 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4465 color if we are trying to output 0 depth bg pixmap.
4467 * scrollbar-msw.c: warning elimination.
4469 1998-05-18 Martin Buchholz <martin@xemacs.org>
4471 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4472 directives in column 1.
4474 * search.c (skip_chars): Avoid using xzero with arrays, since some
4475 compilers get confused by the construct &array.
4477 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4480 * objects-msw.c: Changed the charset value for a new font from
4481 "don't care" to "ansi".
4483 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4485 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4487 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4488 modifier on control chars.
4489 Use IsCharAlpha() instead of isaplha().
4491 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4493 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4495 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4497 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4498 charset when creating font.
4499 (mswindows_initialize_color_instance): Do not create brush along
4501 (mswindows_finalize_color_instance): Do not delete it then.
4503 * objects-msw.h (struct mswindows_color_instance_data): Removed
4504 brush slot, and corresponding accessor macro.
4506 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4508 * toolbar.c: Removed toolbar_data lrecord implementation.
4509 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4510 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4511 (compute_frame_toolbar_buttons): Ditto.
4512 (CHECK_TOOLBAR): Ditto.
4513 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4514 (update_frame_toolbars): Do not check for changed buffer
4515 here. Toolbar information is provided by cached specs in
4516 windows. The check for buffer is eliminated becuase toolbars are
4517 marked changed in set_frame_selected_window() in frame.c
4518 Added check for changed toolbars geometry.
4519 (compute_frame_toolbars_data): Removed unused second parameter;
4520 Adjusted callers of this static function throughout the file.
4521 (init_frame_toolbars): Initialize current_toolbar_size.
4522 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4523 what is its current expansion, for clarity.
4524 (init_frame_toolbars): Ditto.
4525 (init_device_toolbars): Ditto.
4526 (init_global_toolbars): Ditto.
4528 * toolbar.h: Removed definition of toolbar_data lrecord.
4529 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4530 FRAME_CURRENT_TOOLBAR_SIZE.
4531 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4533 * toolbar-x.c (x_output_toolbar): The same change as in
4535 (x_output_toolbar): Ditto.
4536 (x_redraw_exposed_toolbar): Ditto.
4538 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4539 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4540 (mswindows_output_toolbar): Ditto.
4541 (mswindows_output_toolbar): Ditto.
4543 * frame.c (mark_frame): Removed marking of arrays, according to
4544 frameslots.h change.
4545 (nuke_all_frame_slots): Ditto.
4546 (set_frame_selected_window): Mark toolbars changed when
4547 last_nonminibuf_window changes.
4549 * frame.h (struct frame): Moved some slots to frameslots.h.
4550 Added current_toolbar_size array.
4551 Changed references from toolbar_data to toolbar_buttons in macros
4552 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4553 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4554 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4556 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4557 Moved arrays of lisp objects here from frame.h: toolbar_size,
4558 toolbar_visible_p, toolbar_border_width.
4559 Removed toolbar_data slot and added toolbar_buttons.
4561 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4563 * symsinit.h: Externed syms_of_process_nt()
4565 * emacs.c (main_1): Call syms_of_process_nt()
4567 * process-nt.c: Quote process arguments by a call to Lisp function
4568 `nt-quote-process-args'.
4569 (syms_of_process_nt): New function.
4570 (nt_send_process): Flush data stream after each write, to avoid
4571 leaving buffered data.
4572 (nt_send_process): When blocked on process output, wait for
4573 process to slurp more for progressively increasing time intervals.
4575 1998-05-17 Martin Buchholz <martin@xemacs.org>
4577 * window.c (have_undivided_common_edge): Make file-local function
4579 (map_windows): Return 0 if all map functions successful.
4582 * winslots.h: Use unlikely names for local variables in macros to
4583 avoid shadowing warnings.
4585 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4587 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4588 so that we re-output if the toolbar size has changed.
4590 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4592 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4594 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4596 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4599 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4601 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4602 get bitmap manifest constants defined.
4604 * console-msw.h: Include system files in angle brackets, not in
4607 * window.c (specifier_vars_of_window): Fixed a typo in
4608 `vertical-divider-line-width' docstirng.
4610 1998-05-16 Olivier Galibert <galibert@pobox.com>
4612 * line-number.c (delete_invalidate_line_number_cache): Use an
4614 (buffer_line_number): Remove dangerous, plain wrong when using
4615 64bits emacs ints, cast.
4617 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4619 * cmds.c (Fforward_line): Use EMACS_INTs.
4621 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4622 (scan_buffer): Ditto.
4623 (bi_find_next_newline_no_quit): Remove useless cast.
4624 (find_next_newline_no_quit): Ditto.
4625 (find_next_newline): Ditto.
4626 (find_before_next_newline): Use an EMACS_INT.
4628 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4630 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4632 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4634 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4636 * gui-x.c (popup_selection_callback): Use it.
4638 * gui.h (get_callback): Declare it.
4640 * gui.c (get_callback): New function.
4642 1998-05-15 SL Baur <steve@altair.xemacs.org>
4644 * window.c (have_undivided_common_edge): Guard scrollbar specific
4646 (window_needs_vertical_divider_1): Ditto.
4648 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4650 * emacs.c (decode_path): Eliminate compiler warning.
4651 (Fdecode_path): Renamed to Fsplit_path.
4652 (Fsplit_string_by_char): New function.
4654 1998-05-14 Damon Lipparelli <lipp@primus.com>
4656 * winslots.h: close comment
4658 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4660 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4662 * bufslots.h: Removed buffer_file_type slot.
4664 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4666 (complex_vars_of_buffer): Removed buffer-file-type variable and
4667 its default reference.
4669 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4671 * faces.c (complex_vars_of_faces): Defined
4672 Vvertical_divider_face.
4673 (vars_of_faces): Staticpro it.
4675 * faces.h: Externed Vvertical_divider_face.
4677 * redisplay-x.c (x_output_vertical_divider): Use
4678 Vvertical_divider_face to draw the divider instead of modeline
4681 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4682 divider face using Vvertical_divider_face background.
4683 Fix drawing spacing gaps around the divider.
4685 1998-05-14 Didier Verna <verna@inf.enst.fr>
4687 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4688 values for the vertical divider line width and spacing. Use the
4689 cached values from the window structure instead.
4690 (x_divider_width): ditto.
4692 * window.c (specifier_vars_of_window): new specifiers:
4693 vertical-divier -line-width and -spacing.
4694 (vertical_divider_global_width_changed): formerly known as
4695 vertical_divider_shadow_thickness_changed.
4697 * winslots.h: new slots: vertical_specifier _line_width and
4698 _spacing. Plus corrected a comment typo.
4700 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4702 * window.h: Declared window_divider_width().
4704 * console-stream.c (stream_divider_width): Removed method.
4705 (console_type_create_stream): And declaration for it.
4707 * redisplay.c (pixel_to_glyph_translation): Use
4708 window_divider_width() instead of divider_width redisplay method.
4709 (pixel_to_glyph_translation): Fix top divider edge calculation
4710 when scrollbar is on top.
4712 * window.c (window_divider_width): New function, an outphaser for
4713 divider_width redisplay method.
4714 (window_right_gutter_width): Use it.
4715 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4716 specifiers, set fallback values differently on TTYs, and document
4717 the behavior of these on TTYs in the docstrings.
4719 * scrollbar.c (update_scrollbar_instance): Use
4720 window_divider_width() instead of divider_width redisplay method.
4722 * console.h (struct console_methods): Removed divider_width_method.
4724 * redisplay-tty.c (tty_divider_width): Removed device method.
4725 (console_type_create_redisplay_tty): Removed definition for it.
4726 (tty_output_vertical_divider): Respect the value returned by
4727 window_divider_width thus divider line width specification.
4729 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4730 (console_type_create_redisplay_mswindows): Removed definition for it.
4731 (mswinodws_output_vertical_divider): Respect the value returned by
4732 window_divider_width thus divider line width specification.
4734 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4736 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4738 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4740 * glyphs-msw.c: resource loading implementation.
4741 (cursor_normalize): new function.
4742 (cursor_validate): ditto.
4743 (cursor_instantiate): ditto.
4744 (cursor_name_to_resource): ditto.
4745 (cursor_possible_dest_types): ditto.
4746 (check_valid_symbol): ditto.
4747 (check_valid_string_or_int): ditto.
4749 1998-05-14 Martin Buchholz <martin@xemacs.org>
4751 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4754 * process-unix.c (process_signal_char): Use VSUSP instead of
4755 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4757 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4759 * specifier.c (specifier_instance): Change locale precedence of
4760 instantiation so window locale has higher priority than buffer
4762 (Fspecifier_instance): Reflect this in docstring.
4763 (Fadd_spec_list_to_specifier): Ditto.
4764 (Fadd_spec_to_specifier): Ditto.
4765 (Fremove_specifier): Ditto.
4767 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4769 ** Dialog separation into a device method from Andy Piper
4771 * emacs.c (main_1): Call console_type_create_dialog_x().
4773 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4774 into this device method.
4775 (console_type_create_dialog_x): New function.
4777 * dialog.c (Fpopup_dialog_box): New function.
4778 (syms_of_dialog): Defsubr it.
4780 * console.h (struct console_methods): Declared
4781 popup_dialog_box_method().
4783 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4785 1998-05-14 Oliver Graf <ograf@fga.de>
4787 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4788 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4790 1998-05-13 Oliver Graf <ograf@fga.de>
4792 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4794 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4796 * console.h (device_metrics): Removed dbcs, input-method-editor
4797 and right-to-left metrics.
4799 * device.c (Fdevice_system_metric): Ditto.
4800 (Fdevice_system_metrics): Ditto.
4801 (syms_of_device): Ditto.
4802 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4805 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4807 * line-number.h (mark_line_number_cache): Remove unused
4810 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4811 (get_nearest_line_number): Simplify.
4812 (add_position_to_cache): Make the old marker point nowhere.
4814 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4816 ** Renamed window-divider-map => vertical-divider-map
4817 and event-over-divider-p => event-over-vertical-divider-p,
4818 in the following files/functions:
4820 * events.c (Fevent_over_divider_p):
4821 * keymap.c (get_relevant_keymaps):
4824 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4826 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4828 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4830 * window.c (vertical_divider_changed_in_window): Renamed so.
4831 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4832 (window_needs_vertical_divider_1): Decide whether we need it based
4833 on the value of the above specifier. If separators are unwanted,
4834 put them only if there's no scrollbar between this window and its
4836 (have_undivided_common_edge): New function, helper for the above.
4837 (window_needs_vertical_divider): Return either a cached value,
4838 or clauclate and cache one.
4839 (invalidate_vertical_divider_cache_in_window): Implemented.
4840 (map_windows): Changed return type to int, return the value from
4843 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4844 (struct window): Added need_vertical_divider_p and
4845 need_vertical_divider_valid_p.
4847 * winslots.h: Added vertical_divider_draggable_p slot.
4849 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4850 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4852 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4854 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4855 invalidate_vertical_divider_cache_in_frame().
4858 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4860 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4862 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4863 masks correctly and don't select 0.
4865 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4867 * winslots.h: New file, declaration of some struct window and
4868 struct saved_window members.
4870 * window.h (struct window): Include it, with required preprocessor
4873 * window.c (mark_window): Ditto.
4874 (allocate_window): Ditto.
4875 (struct saved_window): Ditto.
4876 (mark_window_config): Ditto.
4877 (saved_window_equal): Ditto.
4878 (Fset_window_configuration): Ditto.
4880 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4882 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4884 1998-05-12 Didier Verna <verna@inf.enst.fr>
4886 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4887 the divider line. The shadow thickness is currently
4888 hard-wired. This will probably be turned into a specifier soon.
4890 1998-05-12 Didier Verna <verna@inf.enst.fr>
4892 * console.h (struct console_methods): the divider_width console
4893 method now requires a struct window * argument.
4895 * redisplay-x.c (x_divider_width): ditto. Plus remove
4896 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4897 (x_output_vertical_divider): give a depressed look when the shadow
4898 thickness is negative.
4900 * console-stream.c (stream_divider_width): pass a struct window *
4903 * redisplay-tty.c (tty_divider_width): ditto.
4905 * window.c (window_right_gutter_width): totdi.
4907 * redisplay.c (generate_modeline): ittod.
4909 * scrollbar.c (update_scrollbar_instance): ttido.
4911 * redisplay-msw.c (mswindows_divider_width): ottid.
4912 WARNING: this enables to compile, but the feature is not functional.
4914 * window.h (struct window): new field
4915 vertical_divider_shadow_thickness.
4917 * window.c (specifier_vars_of_window): new specifier
4918 vertical-divider-shadow-thickness.
4919 (vertical_divider_shadow_thickness_changed): new function to
4920 inform redisplay that the window has changed.
4921 (mark_window): handle new field vertical_divider_shadow_thickness
4923 (allocate_window): ditto.
4924 (saved_window_equal): toddi.
4925 (Fset_window_configuration): totid.
4926 (save_window_save): ttdio.
4927 (struct saved_window): new field vertical_divider_shadow_thickness.
4929 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4931 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4934 1998-05-12 Oliver Graf <ograf@fga.de>
4936 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4937 * event-Xt.c (x_event_to_emacs_event): C++ compability
4939 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4941 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4944 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4946 * emacs.c (vars_of_emacs): Do it here; change the meaning of
4949 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
4951 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4953 * emacs.c (decode_path_1): New function.
4954 (decode_path): Use it.
4955 (Fdecode_path): Renamed from Fdecode_path_internal; use
4958 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
4960 * macros.c (Fzap_last_kbd_macro_event): New function.
4961 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
4963 1998-05-10 Andy Piper <andyp@parallax.co.uk>
4965 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
4966 multiple bitmaps are output vertically as well as horizontally.
4967 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
4968 crossing lines this is handled by
4969 mswindows_output_dibitmap_region.
4971 1998-05-12 Martin Buchholz <martin@xemacs.org>
4973 * inline.c: Include eldap.h
4975 * menubar-x.c (x_update_frame_menubar_internal):
4976 Remove: unused variable `container'
4978 1998-05-11 Martin Buchholz <martin@xemacs.org>
4980 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
4981 Unfortunately, the resulting temacs still cannot dump.
4983 * symbols.c (symbol_is_constant):
4984 (verify_ok_for_buffer_local):
4985 -Wswitch Warning suppression - add default case to switches.
4987 * redisplay.c (decode_mode_spec): Remove unused variables,
4988 Replace Fcoding_system_property (codesys, Qmnemonic) with
4989 XCODING_SYSTEM_MNEMONIC (codesys);
4990 Fcoding_system_property is for users.
4996 Change empty docstrings into no doc strings at all.
4997 Fix bogus FSF-format docstrings.
5000 Standardize docstrings.
5003 Explain problems with matherr.
5005 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5008 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5009 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5010 Fix the weird resultant interaction (causes windows problems)
5014 Take new EMACSBOOTSTRAPLOADPATH into account.
5015 Update documentation strings
5018 - Adjust for luser's CDPATH being set to something weird.
5019 - Take into account bash 2.02's tendency to print the cwd when
5020 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5021 - fix the run-temacs target to use $(DUMPENV)
5022 - fix the run-puremacs target to use $(DUMPENV)
5023 - fix the `depend' target to properly $(RM) the right files
5024 - Generate a better TAGS file for XEmacs' lisp code using
5025 hand-crafted regexps.
5026 - Use standard coding conventions for modules/Makefile.in
5028 1998-05-12 Didier Verna <verna@inf.enst.fr>
5030 * redisplay.c: removed the scrolling modeline code that didn't
5031 make it for 21.0. To be continued ...
5033 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5035 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5036 and empty string inputs.
5038 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5040 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5042 1998-05-10 Oliver Graf <ograf@fga.de>
5044 * event-stream.c (enqueue_misc_user_event_pos): created
5045 * lisp.h (enqueue_misc_user_event_pos): prototype added
5046 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5047 * emacs.c: call vars_of_dragdrop
5048 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5050 1998-05-11 Oliver Graf <ograf@fga.de>
5052 * frame-x.c (x_cde_transfer_callback): return at correct pos
5053 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5054 object for MIME (see comment in dragdrop.c)
5055 * dragdrop.c: API change documented in comment
5056 removed provide of dragdrop [is provided by dragdrop.el]
5058 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5060 * window.c (window_needs_vertical_divider): Enable vertical
5061 dividers for every non-rightmost window.
5062 (window_left_gutter_width): Left gutter consists of mythical
5063 toolbar and a virtual scrollbar.
5064 (window_right_gutter_width): The right one may have a divider
5067 * scrollbar.c (update_scrollbar_instance): Position vertical
5068 scrollbar left to divider if the latter present.
5070 * redisplay.h: Declared OVER_DIVIER constant.
5072 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5075 * redisplay-x.c (x_output_vertical_divider): Output divider along
5076 the right side of the window, down to window bottom. Swapped
5077 foreground and background colors so it is visible by default.
5079 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5080 stick the divider to the right window side.
5082 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5084 (mswindows_divider_width): Ask system for user preferred value.
5085 (mswindows_output_vertical_divider): Always output the divider on
5086 the right side of a window, down to bottom.
5088 * keymap.c (get_relevant_keymaps): Route mouse button events which
5089 happened over a window divider through window-divider-map.
5090 (Fkey_binding): Documented that in the docstring.
5091 Defined the variable Vwindow_divider_map.
5093 * events.c (Fevent_over_divider_p): Added this function.
5095 * events.h: EXFUNed it.
5097 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5099 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5100 toolbar geometry is suspected to change.
5102 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5106 Condition dnd and dde code on HAVE_DRAGNDROP.
5108 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5110 * events.c (format_event_object): Print space as SPC etc.
5112 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5114 * print.c (print_internal): In the default case, abort() if
5115 ERROR_CHECK_TYPECHECK.
5117 * fileio.c (Fmake_temp_name): Doc fix.
5119 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5121 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5123 * undo.c (Fprimitive_undo): Fixed typo.
5125 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5127 * fns.c (concat): Signal error on integer argument.
5129 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5131 * console.h (device_metrics): Prefixed each constatnt with DM_
5133 * device.c: (Fdevice_system_metric): Renamed so from plural form
5134 (metrics); Changed parameters order and added DEFAULT parameter;
5135 Unabbreviated some metric constants; Fixed and untabified doc string.
5136 (Fdevice_system_metrics): Added. Returns a plist of all provided
5139 * device-msw.c (mswindows_device_system_metrics): Renamed
5140 device_metrics enum constants.
5141 Return Qunbound instead of Qnil.
5143 * device-tty.c (tty_device_system_metrics): Ditto.
5145 * device-x.c (x_device_system_metrics): Ditto.
5147 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5149 * redisplay-msw.c: implement background pixmaps (really!). Make
5150 sure bg color is transparent if we have bg pmaps.
5151 * (mswindows_output_string) (mswindows_clear_region): output bg
5153 * (mswindows_output_dibitmap_region): new function.
5154 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5155 the bg color rather than transparently.
5157 * toolbar-msw.c: use masks if they exist.
5159 * glyphs-msw.c: set up masks correctly.
5161 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5163 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5165 * regex.c (re_match_2_internal): Check for quit.
5167 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5169 * frame.c (Ffocus_frame): New function.