1 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
7 (REP_BYTES_BY_FIRST_BYTE): Likewise.
9 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
11 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
12 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
14 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
15 (non_ascii_valid_char_p): Don't define in UTF2000.
16 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
17 (Lstream_get_emchar_1): Likewise.
18 (utf-2000-version): New variable in UTF2000.
20 * lread.c (read_escape): Add new reader `u'.
22 * insdel.c (three_to_one_table): Don't define in UTF2000.
23 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
24 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
26 (bytind_to_bufpos_func): Likewise.
27 (buffer_mule_signal_inserted_region): Likewise.
28 (vars_of_insdel): Don't initialize `three_to_one_table'.
29 (init_buffer_text): Use `buf->text->mule_size' instead of
30 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
33 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
34 UTF-8 representation in UTF2000.
35 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
36 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
37 (decode_coding_iso2022): Don't define local variable `lb' in
38 UTF2000; don't use LEADING_BYTE in UTF2000; use
39 `DECODE_ADD_UCS_CHAR' in UTF2000.
40 (convert_to_external_format): Decode as UTF-8 in UTF2000.
42 * config.h.in (UTF2000): New macro.
44 * buffer.h (struct buffer_text): Add new member `mule_size' and
45 don't add `mule_shifter' and `mule_three_p' in UTF2000.
46 (valid_char_p): Return always 1 in UTF2000.
47 (MAX_EMCHAR_LEN): 6 in UTF2000.
48 (three_to_one_table): Don't define in UTF2000.
49 (real_bufpos_to_bytind): Modify for UTF-8 representation in
51 (real_bytind_to_bufpos): Likewise.
53 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
55 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
57 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
58 representation change.
59 (Vutf_2000_version): New variable.
60 (leading_code_private_11): New variable.
61 (syms_of_mule_charset): Add new variables `utf-2000-version' and
62 `leading-code-private-11'.
64 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
65 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
66 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
67 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
68 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
69 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
70 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
71 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
72 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
73 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
74 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
75 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
76 (MIN_CHAR_GREEK): New macro.
77 (MAX_CHAR_GREEK): New macro.
78 (MIN_CHAR_CYRILLIC): New macro.
79 (MAX_CHAR_CYRILLIC): New macro.
80 (MIN_CHAR_HEBREW): New macro.
81 (MAX_CHAR_HEBREW): New macro.
82 (MIN_CHAR_THAI): New macro.
83 (MAX_CHAR_THAI): New macro.
84 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
85 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
86 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
87 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
88 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
89 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
90 (CHAR_FIELD2): New inline function.
91 (CHAR_FIELD3): New inline function.
92 (MULE_CHAR_PRIVATE_OFFSET): New macro.
93 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
94 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
95 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
96 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
97 (MIN_CHAR_COMPOSITION): Likewise.
98 (CHAR_LEADING_BYTE): Modified for character representation change.
99 (MAKE_CHAR): Likewise.
101 * lisp.h (Vcharset_latin_iso8859_1): New variable.
102 (Vcharset_greek_iso8859_7): Likewise.
103 (Vcharset_cyrillic_iso8859_5): Likewise.
104 (Vcharset_hebrew_iso8859_8): Likewise.
105 (Vcharset_thai_tis620): Likewise.
106 (Vcharset_katakana_jisx0201): Likewise.
108 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
110 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
112 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
113 of coding-category `no-conversion'.
115 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
117 * file-coding.c (Qraw_text): New variable.
118 (syms_of_mule_coding): Add new symbol `raw-text'.
119 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
120 define coding-system `binary' independently; define coding-system
121 `no-conversion' as an alias for `raw-text'.
123 * file-coding.h (Qraw_text): New variable.
125 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
127 * mule-charset.c (complex_vars_of_mule_charset): Registry of
128 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
131 1999-06-08 SL Baur <steve@xemacs.org>
133 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
135 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
137 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
139 (base64_decode_1): Signal errors instead of returning -1.
141 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
143 * mule-charset.c (Fmake_char): Update docstring.
145 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
147 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
149 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
151 * fns.c (base64_decode_1): Allow and ignore any non-base64
154 1999-05-27 Olivier Galibert <galibert@pobox.com>
156 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
157 of report_pure_usage().
159 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
161 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
163 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
165 * XEmacs 21.2.15 is released
167 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
169 * frame.c (Fset_mouse_position):
170 (Fset_mouse_pixel_position):
171 * window.c (Fsplit_window):
172 (Fmove_to_window_line):
173 Fix crash when invoking functions with an already-deleted window
176 * indent.c (vertical_motion_1):
178 (Fvertical_motion_pixels):
179 * window.c (Fwindow_displayed_text_pixel_height):
180 Fix error message when invoking functions with an already-deleted
183 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
185 * sysdep.c (request_sigio_on_device): Guard against glibc
186 2.1's stub streams implementation.
188 1999-06-03 SL Baur <steve@xemacs.org>
191 * emacs.c: Implement x.y.z version numbers
192 From Jan Vroonhof <vroonhof@math.ethz.ch>
194 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
196 * mule-charset.c (complex_vars_of_mule_charset): Registry of
197 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
200 1999-06-03 SL Baur <steve@xemacs.org>
203 * device-x.c: rename session option to wmcommand.
204 From Oliver Graf <ograf@rhein-zeitung.de>
206 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
208 * fns.c (Fsubstring): Don't traverse the same region twice with
209 charcount_to_bytecount().
211 1999-06-03 SL Baur <steve@steve1.m17n.org>
213 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
216 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
217 doesn't really work as is implied by the commentary).
218 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
220 1999-06-02 SL Baur <steve@steve1.m17n.org>
222 * symsinit.h: Declare vars_of_ntproc.
223 * emacs.c (main_1): Call it.
225 * ntproc.c (syms_of_ntproc): Move variable initializations from
227 (vars_of_ntproc): ... to here [new function].
229 * file-coding.c (syms_of_file_coding): Rename.
230 (vars_of_file_coding): Ditto.
231 (complex_vars_of_file_coding): Ditto.
233 * symsinit.h: Rename *_mule_coding to *_file_coding.
235 * emacs.c (main_1): Call them by the proper name.
237 * device-msw.c (syms_of_device_mswindows): Move variable
238 initializations from here ...
239 (vars_of_device_mswindows): ... to here.
241 * chartab.c (vars_of_chartab): New function.
243 * symsinit.h: New function, vars_of_chartab.
245 * emacs.c (main_1): Call it.
247 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
248 (vars_of_mule_canna): ... to here.
250 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
251 initializations out of syms_of_mule_ccl.
253 * symsinit.h: Declare new function vars_of_mule_ccl.
255 * emacs.c (main_1): Call it.
257 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
259 * fns.c (base64_decode_1): Ignore whitespace.
261 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
263 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
266 1999-05-21 Andy Piper <andy@xemacs.org>
268 * xselect.c: deleted.
270 * symsinit.h: declare select initialisation.
272 * select.h: new file. declare commonly used select functions and
275 * select.c: new file. generalised from xselect.c.
276 (clean_local_selection_data): moved from xselect.c.
277 (get_local_selection): ditto. device specific pieces called via a
279 (handle_selection_clear): ditto.
280 (Fown_selection_internal): renamed and generalised from
281 Fx_own_selection_internal. moved from xselect.c.
282 (Fdisown_selection_internal): ditto.
283 (Fselection_owner_p): ditto.
284 (Fselection_exists_p): ditto.
285 (Fget_selection_internal): ditto.
286 (syms_of_select): new function. QXXXX values moved from xselect.c
287 (vars_of_select): new function. selection_converter_alist,
288 lost_selection_hooks moved and renamed from xselect.c
290 * select-x.c: renamed from xselect.c.
291 (x_own_selection): converted to device specific. non-X-specific
292 bits moved to select.c.
293 (x_get_foreign_selection): ditto.
294 (x_disown_selection): ditto.
295 (x_selection_exists_p): ditto.
296 (console_type_create_select_x): new function.
298 * select-msw.c (mswindows_own_selection): new device method to set
299 the clipboard when we 'own' the selection.
300 (mswindows_get_foreign_selection): new device method to get the
302 (mswindows_disown_selection): new device method to delete the
303 selection when we 'disown' it.
304 (console_type_create_select_mswindows): new function.
306 * emacs.c (main_1): add select to things to initialise.
308 * console.h (struct console_methods): new console methods for
311 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
313 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
315 * print.c (long_to_string): Install a faster version.
317 1999-05-16 Andy Piper <andy@xemacs.org>
319 * ntproc.c (syms_of_ntproc): default
320 win32-start-process-share-console to t.
322 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
324 * config.h.in: Do it here.
326 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
328 1999-05-14 Andy Piper <andy@xemacs.org>
330 * toolbar-msw.c (mswindows_output_toolbar): hash on something
333 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
335 * XEmacs 21.2.14 is released
337 1999-05-12 Andy Piper <andy@xemacs.org>
339 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
341 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
343 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
344 run_temacs_argv array -- fixes random memory corruption crash
346 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
348 * window.c (Fcurrent_window_configuration):
349 Save minibuffer height;
351 * window.c (set_window_configuration): use it.
353 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
355 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
357 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
359 * redisplay.c (redisplay_window): Do not put data
360 in the line start cache if it is not guaranteed to be correct
362 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
364 * window.c (struct window_config): Removed frame
366 (window_config_equal): No longer compare frame sizes.
367 (Fset_window_configuration): Resize old top window to fit in the
368 current frame directly, no longer use a fake frame resize.
369 (Fcurrent_window_configuration): No longer save frame size
371 1999-05-11 Andy Piper <andy@xemacs.org>
373 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
376 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
378 * sysdep.c (init_system_name): If gethostname gives a proper
379 domain name, don't look further for one.
381 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
383 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
384 (Fintern_soft): Accept a symbol argument.
386 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
388 * symbols.c (Fintern): ...do it here.
390 * lread.c (read_atom): Don't handle keywords here.
392 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
394 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
396 1999-05-03 Olivier Galibert <galibert@pobox.com>
398 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
399 is interned in the main obarray.
401 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
403 * menubar-x.c (pre_activate_callback): set accelerator field in
404 "No menu" entries to nil. Avoid crash in
405 command_builder_operate_menu_accelerator
407 1999-05-03 Olivier Galibert <galibert@pobox.com>
409 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
411 * lisp.h (DEFUN): Fix lrecord header initialisation.
413 1999-05-02 Andy Piper <andy@xemacs.org>
415 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
417 * ntproc.c (sys_kill): cast using MS mandated defines.
419 1999-04-29 Andy Piper <andy@xemacs.org>
421 * m/intel386.h: remove redundant definitions.
423 * s/mingw32.h: new header for mingw32.
425 * unexnt.c: (open_input_file): function moved to nt.c.
426 (close_file_data): ditto.
427 (rva_to_section): function moved to ntproc.
429 * symsinit.h: declare syms_of_ntproc();
431 * objects-msw.c (mswindows_font_instance_truename): new function.
433 * ntproc.c: remove many warnings.
434 (_sys_read_ahead): moved from nt.c and made static.
435 (rva_to_section): moved from unexnt.c but not defined under
437 (win32_executable_type): implement what we can for mingw32
439 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
441 * ntheap.h: remove declarations of functions that are now static.
443 * ntheap.c: support static heap.
445 * nt.h: conditionalise X_OK definition.
447 * nt.c: eliminate many warnings and support mingw32.
448 (open_input_file): function moved from unexnt.c and made static
449 (close_file_data): ditto.
450 (_sys_read_ahead): moved to ntproc.c
452 * emacs.c: make sure syms_of_ntptroc gets called under windows.
454 * console-msw.h: support mingw32.
455 * getloadavg.c: ditto.
462 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
463 some systems don't have all of the encapsulated system calls.
465 * callproc.c: warning elimination.
466 * dired-msw.c: ditto.
467 * process-nt.c: ditto.
470 * Makefile.in.in: tweak : and ; for building under mswindows.
472 1999-04-26 Michael Harnois <mharnois@willinet.net>
474 * eldap.c (allocate_ldap): Adapt to the new semantics of
475 alloc_lcrecord_type().
477 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
479 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
481 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
483 * Delete mule-coding.c and mule-coding.h because they are not
486 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
488 * objects.c (print_font_instance): Check for NILP(f->device),
489 i.e. Vthe_null_font_instance.
490 (font_instance_truename_internal): ditto.
491 (Ffont_instance_properties): ditto.
493 1999-04-22 Olivier Galibert <galibert@pobox.com>
495 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
498 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
500 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
501 it easier to add new ones.
503 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
505 * symbols.c (reject_constant_symbols): Ditto.
506 (init_symbols_once_early): Ditto.
508 * print.c (print_symbol): Don't use ->obarray.
510 * symbols.c (Funintern): Ditto.
512 * alloc.c (Fmake_symbol): Don't set ->obarray.
514 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
516 * symbols.c (init_symbols_once_early): Removed
517 Vpure_uninterned_symbol_table.
518 (Fintern): Don't store to ->obarray field.
520 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
522 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
523 (eq_with_ebola_notice): Remove abracadabra support.
525 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
527 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
528 retrieve the distinguished names of entries
530 1999-03-08 Martin Buchholz <martin@xemacs.org>
532 * lread.c (read_escape): Make hex escapes read only two hex digits.
534 1999-04-05 Olivier Galibert <galibert@pobox.com>
536 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
537 * make-src-depend: Remove puresize-adjust.h.
538 * src-headers: Remove puresize-adjust.h.
539 * config.h.in: Kill everything purespace/gung-ho related.
541 * dbxrc: Make gung-ho mandatory.
544 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
545 c_readonly and lisp_readonly. Remove implementation arrays.
546 (C_READONLY_RECORD_HEADER_P): Added.
547 (LISP_READONLY_RECORD_HEADER_P): Added.
548 (SET_C_READONLY_RECORD_HEADER): Added.
549 (SET_LISP_READONLY_RECORD_HEADER): Added.
551 * lisp.h: Kill everything purespace/non gung-ho related.
552 (CHECK_C_WRITEABLE): Added.
553 (CHECK_LISP_WRITEABLE): Added.
555 (LISP_READONLY): Added.
557 * lisp-union.h: Make gung-ho mandatory.
558 * lisp-disunion.h: Ditto.
560 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
561 set_lheader_implementation calls.
563 (lisp_readonly): Added.
564 (make_string_nocopy): Added.
565 (Fpurecopy): Changed to do nothing. Kept the old documentation
566 for reference purposes for the next patches.
567 (sweep_lcrecords_1): Don't free C readonly lcrecords.
568 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
569 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
571 * fns.c: Make gung-ho mandatory.
572 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
576 * data.c: Make gung-ho mandatory.
577 (pure_write_error): Removed.
578 (c_write_error): Added.
579 (lisp_write_error): Added.
580 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
584 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
585 make_string or make_string_nocopy. Fix various
588 * lread.c: Remove everything purespace related.
589 (Flocate_file_clear_hashing): purified -> c_readonly.
590 (locate_file): Ditto.
591 (read_atom): make_pure_pname -> make_string.
593 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
595 (Fdump_emacs): Ditto.
597 * print.c (print_internal): Make gung-ho mandatory.
598 * ntheap.c (sbrk): Ditto.
599 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
600 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
602 * sheap.c (more_static_core): Remove puresize-adjust.h from
605 * syntax.c (complex_vars_of_syntax): make_pure_string ->
607 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
608 (vars_of_keymap): make_pure_string -> make_string_nocopy.
609 * events.c (deinitialize_event): Fix set_lheader_implementation.
611 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
612 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
613 * mule-charset.c (make_charset): Ditto.
614 * console.c (allocate_console): Ditto.
615 (complex_vars_of_console): Ditto.
616 * file-coding.c (allocate_coding_system): Ditto.
617 * device.c (allocate_device): Ditto
618 * gui-x.c (gcpro_popup_callbacks): Ditto.
619 * extents.c (allocate_extent_auxiliary): Ditto.
620 (allocate_extent_info): Ditto.
621 (copy_extent): Ditto.
622 * glyphs.c (allocate_image_instance): Ditto.
623 (allocate_glyph): Ditto.
624 * frame.c (allocate_frame_core): Ditto.
625 * database.c (allocate_database): Ditto.
626 * tooltalk.c (make_tooltalk_message): Ditto.
627 (make_tooltalk_pattern): Ditto.
628 * rangetab.c (Fmake_range_table): Ditto.
629 (Fcopy_range_table): Ditto.
630 * process.c (make_process_internal): Ditto.
631 * chartab.c (Fmake_char_table): Ditto.
632 (make_char_table_entry): Ditto.
633 (copy_char_table_entry): Ditto.
634 (Fcopy_char_table): Ditto.
635 * elhash.c (make_general_lisp_hash_table): Ditto.
636 (Fcopy_hash_table): Ditto.
637 * buffer.c (allocate_buffer): Ditto.
638 (complex_vars_of_buffer): Ditto.
639 * event-stream.c (allocate_command_builder): Ditto.
640 * objects.c (Fmake_color_instance): Ditto.
641 (Fmake_font_instance): Ditto.
642 (vars_of_objects): Ditto.
643 * toolbar.c (update_toolbar_button): Ditto.
644 * window.c (allocate_window): Ditto.
645 (make_dummy_parent): Ditto.
646 (Fcurrent_window_configuration): Fix alloc_lcrecord.
647 (vars_of_window): Fix make_lcrecord_list.
648 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
650 * lstream.c (Lstream_new): Fix make_lcrecord_list.
651 * opaque.c (make_opaque): Fix alloc_lrecord.
652 (make_opaque_list): Fix alloc_lrecord_type.
654 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
656 * process.c (Fstart_process_internal): Ditto.
658 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
661 * glyphs-x.c (x_locate_pixmap_file): Ditto.
663 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
666 * emodules.c (vars_of_module): New variable Vmodule_extensions.
667 (emodules_load): Use it when calling locate_file().
669 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
672 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
673 (vars_of_callproc): Initialize it.
674 (Fcall_process_internal): Use it when calling locate_file().
676 * alloc.c (disksave_object_finalization): Use
677 Flocate_file_clear_hashing().
679 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
680 given `t' as argument.
682 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
684 * lread.c (locate_file): Expand `pathel' when appropriate.
685 (Flocate_file_clear_hashing): Expand path elements.
686 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
688 * dired.c (make_directory_hash_table): Create the hash-table only
689 if the directory open is successful.
691 * lread.c (decode_mode_1): New function.
692 (decode_mode): Ditto.
693 (Flocate_file): Use them.
694 (Flocate_file): Expand FILENAME.
695 (locate_file_map_suffixes): New function.
696 (locate_file_in_directory_mapper): New function.
697 (locate_file_in_directory): Use locate_file_in_directory_mapper()
698 and locate_file_map_suffixes().
699 (locate_file_construct_suffixed_files): Use
700 locate_file_map_suffixes().
701 (locate_file_without_hash): Don't GCPRO path.
702 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
703 (syms_of_lread): Remove Qlocate_file_hash_table.
704 (locate_file_find_directory_hash_table): Use
705 Vlocate_file_hash_table.
706 (locate_file_refresh_hashing): Ditto.
708 * lread.c: Renamed read_objects to Vread_objects.
710 1999-04-16 Olivier Galibert <galibert@pobox.com>
712 * mule-charset.c: Generally resync with fsf 20.3 charset
714 (make_charset): Add long and short name. Use id instead of
716 (Fmake_charset): Ditto.
717 (Fmake_reverse_direction_charset): Ditto.
718 (Fcharset_property): Ditto.
719 (Fcharset_short_name): Added.
720 (Fcharset_long_name): Added.
721 (Fcharset_description): Renamed from charset-doc-string.
722 (syms_of_mule_charset): Synced symbols.
723 (complex_vars_of_mule_charset): Synced charsets.
725 * mule-charset.h: Removed leading byte (uses id instead), added
728 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
730 * file-coding.c (Fdefine_coding_system_alias): New function.
732 1999-04-08 Olivier Galibert <galibert@pobox.com>
734 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
735 and -ascii fonts for displaying ascii instead of iso8859-1 only.
737 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
739 * extents.c (set_extent_glyph_1): Make sure that the glyph we
740 attach to the extent is valid.
742 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
744 * dired.c (user_name_completion): Mule-ize.
745 (user_name_completion): Use xmalloc/xrealloc/xfree.
746 (user_name_completion): Use DO_REALLOC.
747 (user_name_completion): Cut down the number of static variables;
749 (user_name_completion): Username completion is always
752 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
754 * fns.c (base64_decode_1): Remove COUNTER.
755 (base64_decode_1): Accept CRLF in addition to CR.
756 (base64_decode_1): Disallow a stray character after final EOF; the
757 check was probably a remnant of buggy recode code.
759 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
761 * fns.c (init_provide_once): Provide `base64'.
763 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
765 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
766 (Fbase64_encode_region): If buffer is read-only, bail out early.
767 (Fbase64_decode_region): Ditto.
768 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
770 (Fbase64_encode_string): Ditto.
771 (Fbase64_decode_region): Ditto.
772 (Fbase64_decode_string): Ditto.
774 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
776 * dired.c (Fdirectory_files): Remove redundant code.
778 1999-03-05 Philip Aston <philipa@parallax.co.uk>
780 * frame-msw.c Make raise-frame restore minimised windows.
782 1999-03-05 Philip Aston <philipa@parallax.co.uk>
784 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
787 1999-03-05 Philip Aston <philipa@parallax.co.uk>
789 * toolbar-msw.c Consider captions when deciding whether to rebuild
790 toolbar. This fixes the initial toolbar display for those of us
791 who don't like captions. These patches applied by Andy Piper.
793 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
795 * XEmacs 21.2.13 is released
797 1999-03-12 SL Baur <steve@xemacs.org>
799 * file-coding.c: Guard ucs table initialization with ifdef MULE.
801 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
803 * file-coding.c: docstring and comment improvements.
804 (decode_ucs4) flag possible data loss with comment.
806 1999-03-10 Martin Buchholz <martin@xemacs.org>
808 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
812 (decode_coding_ucs4):
813 (encode_coding_ucs4):
814 (detect_coding_utf8):
815 (decode_coding_utf8):
817 (encode_coding_utf8):
818 Add CHECK_* macros where needed to avoid crashes.
819 #ifdef out all composite character support using
820 #ifdef ENABLE_COMPOSITE_CHARS
821 Use normal XEmacs coding standards.
823 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
825 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
827 * file-coding.c (make-coding-system): Add description about
829 (detection_state): Modify to implement ucs-4 and utf-8.
830 (detect_coding_type): Likewise.
831 (detect_coding_ucs4): New implementation.
832 (detect_coding_utf8): New implementation.
833 (encode_utf8): fixed.
834 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
837 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
839 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
840 2022 registry to private area.
842 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
844 * file-coding.c (encode_utf8): New function.
845 (encode_coding_utf8): New implementation.
847 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
849 * file-coding.c (ucs_to_mule_table): New variable; abolish
851 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
852 (set-ucs-char): New function.
853 (ucs_to_char): New function.
854 (ucs-char): New function.
855 (set-char-ucs): New function.
856 (char-ucs): New function.
857 (decode_ucs4): Use `ucs_to_char'.
858 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
861 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
863 * chartab.h: EXFUN `Fget_char_table'.
865 * file-coding.c (encode_ucs4): New function.
866 (encode_coding_ucs4): Use `encode_ucs4'.
868 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
870 * file-coding.c (decode_coding_ucs4): New implementation.
872 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
874 * file-coding.c (decode_coding_ucs4): fixed.
876 * file-coding.c (Vmule_to_ucs_table): New variable.
877 (mule_char_to_ucs4): New function.
878 (encode_coding_ucs4): New implementation.
879 (complex_vars_of_mule_coding): Define variable
882 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
884 * file-coding.c (decode_coding_utf8): New implementation.
886 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
888 * file-coding.c (decode_coding_utf8): fixed.
890 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
892 * file-coding.c (Vucs_to_mule_table): New variable.
893 (decode_ucs4): Refer `Vucs_to_mule_table'.
894 (complex_vars_of_mule_coding): Define variable
897 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
899 * file-coding.c (detect_coding_ucs4): New function (not
901 (decode_coding_ucs4): New function.
902 (encode_coding_ucs4): New function (not implemented yet).
903 (detect_coding_utf8): New function (not implemented yet).
904 (decode_coding_utf8): New function.
905 (encode_coding_utf8): New function (not implemented yet).
906 (make-coding-system): New type `ucs4' and `utf8'.
907 (coding-system-type): Likewise.
908 (detection_state): Add `ucs4' and `utf8'.
909 (detect_coding_type): Likewise.
910 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
911 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
912 (decode_ucs4): New function (very incomplete).
913 (syms_of_mule_coding): Add `ucs4' and `utf8'.
915 * file-coding.h: Add definitions for UCS-4 and UTF-8.
917 1999-03-08 Martin Buchholz <martin@xemacs.org>
920 (non_ascii_valid_char_p):
921 (lookup_composite_char):
922 (composite_char_string):
923 (make-composite-char):
924 (composite-char-string):
925 (syms_of_mule_charset):
926 (complex_vars_of_mule_charset):
927 * mule-charset.h (LEADING_BYTE_COMPOSITE):
930 * file-coding.h (CODING_STATE_COMPOSITE):
931 (CODING_STATE_ISO2022_LOCK):
933 (LEADING_BYTE_COMPOSITE):
934 * file-coding.c (struct iso2022_decoder):
938 (encode_coding_iso2022):
939 #ifdef out all composite character support using
940 #ifdef ENABLE_COMPOSITE_CHARS
942 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
944 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
946 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
947 way of `Fbase64_encode_region'.
949 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
951 * fns.c (base64_encode_1): Don't add a newline at the tail.
953 1999-03-08 Andy Piper <andy@xemacs.org>
955 * menubar-msw.c (displayable_menu_item): correct off-by-one &
958 1999-03-07 Martin Buchholz <martin@xemacs.org>
960 * console-stream.h (struct stream_console):
961 * event-unixoid.c (event_stream_unixoid_select_console):
962 (event_stream_unixoid_unselect_console):
963 * print.c (Fexternal_debugging_output):
964 * sysdep.c (reset_one_device):
965 * console-stream.c (stream_init_console):
966 (stream_delete_console):
967 (allocate_stream_console_struct): move into stream_init_console.
968 (free_stream_console_struct): move into stream_delete_console.
969 Use `fd' only for file descriptors.
970 Therefore, rename members of struct stream_console.
972 * systime.h: Unix98 says sys/time.h should define select(), but
973 some systems define that in unistd.h. So include that file always.
975 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
976 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
977 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
979 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
983 Add #include <stdio.h>.
984 Some versions of assert.h use printf() without #include'ing stdio.h
986 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
987 (log_gcpro): Remove unused variable FRAME.
988 (show_gcprohist): Ansify.
991 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
992 after it's just been XtDestroy'ed!
994 1999-02-18 Martin Buchholz <martin@xemacs.org>
996 * opaque.c (print_opaque):
1000 Egcs 1.1.1 seems to have a bug where
1001 INTP (p->size_or_chain)
1002 will crash XEmacs. Fix by introducing intermediate variable.
1004 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1006 * dired.c (Fdirectory_files):
1007 (Ffile_name_completion):
1008 (Ffile_name_all_completions):
1009 (file_name_completion):
1010 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1011 avoid compiler warnings.
1012 - Fix up docstrings so that C variables match documentation.
1014 1999-03-05 Martin Buchholz <martin@xemacs.org>
1016 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1017 variables as small as possible to help out the compiler and the maintainer.
1019 * alloc.c: (disksave_object_finalization):
1020 Set all the *-load-path variables to
1021 nil, not just load-path itself. This gets the locate-file hash
1022 tables garbage collected BEFORE dump, and has the side effect of
1023 preventing crashes on OSF4.0+egcs.
1028 - Clean up gdb/dbx debugging support.
1029 - Storing an EMACS_INT in an enum is not 64-bit clean!
1030 - So change the enum to a set of separate variables.
1031 - Add test cases to help debug the debugging support!
1032 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1033 - Both dbx and gdb have been tested now.
1035 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1037 * XEmacs 21.2.12 is released
1039 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1041 * device-x.c: Support to find best visual without flashing.
1043 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1045 * database.c (berkdb_map): Add flags argument to cursor call (must
1046 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1048 1999-03-03 Martin Buchholz <martin@xemacs.org>
1052 General cleanup. Get free-hook.c working again.
1053 Remove unused functions:
1054 make_strings_hash_table, copy_hash, expand_hash_table.
1058 Always use new ANSI-style function prototypes.
1060 * unexalpha.c (unexec): Never use implicit int.
1062 * sgiplay.c (close_sound_file):
1064 (restore_audio_port):
1069 (write_mulaw_8_chunk):
1070 (write_linear_chunk):
1071 (write_linear_32_chunk):
1072 (initialize_audio_port):
1075 (set_output_format):
1076 (adjust_audio_volume):
1077 (get_current_volumes):
1079 Always use new ANSI-style function prototypes.
1080 Use unistd.h for missing prototypes.
1082 * unexelfsgi.c (round_up):
1084 (unexec): Always use new ANSI-style function prototypes
1086 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1088 * console.h (struct console_methods): Always use full ANSI prototypes
1090 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1092 1999-03-02 Andy Piper <andy@xemacs.org>
1094 * event-stream.c (init_event_stream): make sure native mswindows
1095 gets an appropriate event loop.
1097 1999-02-22 Andy Piper <andy@xemacs.org>
1099 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1100 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1101 (mswindows_raise_frame): remove comment.
1103 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1105 * XEmacs 21.2.11 is released
1107 1999-02-25 SL Baur <steve@xemacs.org>
1109 * mule-charset.c (Qleading_byte): New variable to implement
1110 charset-leading-byte function.
1111 (Fcharset_property): Use it.
1112 (syms_of_mule_charset): Initialize it.
1113 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1115 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1117 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1118 bytes per pixel counting.
1120 1999-02-15 Andy Piper <andy@xemacs.org>
1122 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1125 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1127 * fns.c (Fbase64_encode_string): New optional argument
1130 1999-02-16 Martin Buchholz <martin@xemacs.org>
1132 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1133 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1135 1999-02-10 Martin Buchholz <martin@xemacs.org>
1137 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1138 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1140 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1142 * XEmacs 21.2.10 is released
1144 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1146 * process-nt.c (nt_send_process):
1147 Fix for process-send-region/process-send-string breaking when size
1148 of the input > 128 chars: change maximum chunk size for process
1149 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1152 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1154 * XEmacs 21.2.9 is released
1156 1999-01-30 Martin Buchholz <martin@xemacs.org>
1158 * bytecode.c (funcall_compiled_function): Call
1159 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1161 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1162 #ifdef 0 out unused macro.
1164 1999-01-27 Martin Buchholz <martin@xemacs.org>
1166 * gui.c (gui_parse_item_keywords_internal): Make static.
1168 1999-01-21 Andy Piper <andy@xemacs.org>
1170 * glyphs-msw.c: add xface support.
1171 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1172 (image_instantiator_format_create_glyphs_mswindows): do device
1173 specific initialisation for xfaces.
1174 (xbm_create_bitmap_from_data): line data must be padded to a word
1177 * glyphs-x.c (xface_validate): moved to glyphs.c
1178 (xface_normalize): ditto.
1179 (xface_possible_dest_types): ditto.
1180 (image_instantiator_format_create_glyphs_x): do device specific
1181 initialisation for xfaces.
1183 * glyphs.h: declare xface symbol.
1185 * glyphs.c: move generic xface support here.
1186 (xface_validate): moved from glyphs-x.c
1187 (xface_normalize): ditto.
1188 (xface_possible_dest_types): ditto.
1189 (image_instantiator_format_create): xface declarations moved from
1192 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1194 * event-stream.c (vars_of_event_stream): Fixing documentation.
1196 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1198 * glyphs-eimage.c (gif_instantiate): Correct handling of
1199 interlaced gifs to avoid writing past the end of the eimage
1202 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1204 * search.c (Freplace_match): Handle single backslash at end of
1207 1999-01-12 William M. Perry <wmperry@aventail.com>
1209 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1210 avoid connection errors.
1212 1999-01-12 Andy Piper <andy@xemacs.org>
1214 * redisplay-output.c (redisplay_update_line): backout change that
1215 shouldn't have gone ine.
1217 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1219 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1220 collide with ldap.el
1222 1999-01-11 Andy Piper <andy@xemacs.org>
1224 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1225 (DISPLAY_LINE_YPOS): new macro.
1227 * redisplay-msw.c (mswindows_output_string): use it.
1228 (mswindows_output_pixmap): ditto.
1229 (mswindows_output_display_block): ditto.
1231 * redisplay-output.c (redisplay_output_display_block): new
1232 function. just call the devmeth, maybe insert some generic code
1234 (compare_display_blocks): use it.
1235 (output_display_line): ditto.
1236 (redisplay_unmap_subwindows_maybe): new function. potentially
1237 unmap subwindows in the given area.
1239 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1242 1999-01-10 J. Kean Johnston <jkj@sco.com>
1244 * Makefile.in.in: Set value of moduledir
1245 - Changed DUMPENV to include $(MODULEPATH)
1246 - Added install rule to install header files for use by ellcc.
1248 * config.h.in: Added INHIBIT_SITE_MODULES
1249 - Added HAVE__DLERROR
1250 - Added HAVE_DLFCN_H
1251 - Added DLSYM_NEEDS_UNDERSCORE
1255 * emodules.c: New file containing dynamic loading code.
1257 * emodules.h: New file.
1259 * emacs.c: Added variables Vmodule_directory,
1260 Vsite_module_directory, Vconfigure_module_directory and
1261 Vconfigure_site_module_directory.
1262 - (main_1): Added new variable inhibit_site_modules and command
1263 line options `-no-site-modules' and `--no-site-modules'.
1264 - (main_1): Call syms_of_module() instead of syms_of_dll().
1265 - (main_1): Call vars_of_module().
1266 - (vars_of_emacs): Introduce inhibit-site-modules,
1267 module-directory, configure-module-directory,
1268 site-module-directory, and configure-site-module-directory to the
1271 * lisp.h: Declare load_module and list_modules, as well as
1272 Vmodule_directory, Vsite_module_directory,
1273 Vconfigure_module_directory and Vconfigure_site_module_directory.
1275 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1276 - Added correct support for site-lisp directory.
1278 * symbols.c (defsubr): Modified to allow modules to add new subrs
1280 - (defsubr_macro): Same.
1281 - (defvar_magick): Only use purespace when not initialized, so
1282 that loaded modules can still add symbols.
1284 * symsinit.h: Add definitions for syms_of_module(),
1285 vars_of_module(). Removed syms_of_dll().
1287 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1288 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1289 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1291 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1292 explicitly pass -belf for native cc.
1294 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1295 hard-coding the library name.
1297 1999-01-01 <martin@xemacs.org>
1299 * device-x.c (Fx_set_font_path):
1300 Add proper cast to permit compilation under C++.
1302 * buffer.c (directory_is_current_directory):
1303 Add proper casts to permit compilation under C++.
1305 1998-12-30 Damon Lipparelli <lipp@primus.com>
1307 * event-msw.c (mswindows_wnd_proc):
1308 Fixed failure when building with MSVC 5.
1310 1998-12-29 Martin Buchholz <martin@xemacs.org>
1312 * file-coding.c (decode_coding_iso2022):
1313 - Prevent crash when decoding ISO7/Lock detected files
1314 - the usual martin fiddling
1316 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1320 Fixed failures when building with MSVC.
1321 * unexnt.c (dump_bss_and_heap):
1322 Removed compiler warning by removing bss_data variable.
1324 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1326 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1327 so that packages that distribute their own fonts can access them.
1329 1998-12-28 Andy Piper <andy@xemacs.org>
1331 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1332 that have an image provided.
1334 * glyphs.h: add Q_image decl.
1336 * glyphs-widget.c new functionality allowing images in
1338 (check_valid_glyph_or_image): new function to validate
1339 glyphs passed in through :image.
1340 (widget_normalize): new function. convert :image parameters into
1341 real glyphs if not already so.
1342 (widget_instantiate_1): mess with size parameters to be similar to
1344 (syms_of_glyphs_widget): new keyword :image.
1345 (image_instantiator_format_create_glyphs_widget): normalize
1346 buttons and allow :image.
1348 1998-12-27 Andy Piper <andy@xemacs.org>
1350 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1352 * glyphs-widget.c (check_valid_anything): no-op function.
1353 (check_valid_callback): check callbacks in gui_items.
1354 (check_valid_symbol): as it sounds.
1355 (check_valid_string_or_vector): ditto.
1356 (widget_validate): modified for descriptors that are vectors or
1357 sequences of keyword/val pairs.
1358 (widget_instantiate_1): ditto.
1359 (image_instantiator_format_create_glyphs_widget): allow gui_item
1360 keywords in the instantiator.
1362 * gui.c (gui_parse_item_keywords_internal): renamed from
1363 gui_parse_item_keywords but taking error behaviour.
1364 (gui_parse_item_keywords): use it.
1365 (gui_parse_item_keywords_no_errors): ditto.
1366 (gui_item_add_keyval_pair): add Error_behavior flag and only
1367 signal invalid keywords if required.
1369 * gui.h: new gui signatures.
1371 * menubar.c (menu_parse_submenu_keywords): use new
1372 gui_item_add_keyval_pair signature.
1374 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1376 1998-12-28 Martin Buchholz <martin@xemacs.org>
1378 * XEmacs 21.2.8 is released.
1380 1998-12-28 Martin Buchholz <martin@xemacs.org>
1382 * editfns.c (get_home_directory):
1383 (user-home-directory): Simplify.
1386 * callproc.c (child_setup):
1387 - Environment variables were being passed to inferior processes
1388 using internal encoding.
1389 - Convert to external encoding.
1390 - Rename local var `tem' to better name `tail'.
1391 - Use Flength instead of `manual' calculation.
1393 * buffer.c (kill-buffer):
1395 (set-buffer-major-mode):
1397 - Fix up parameter names to correspond to docstrings.
1398 - Don't use `bufname' when a buffer will do as well.
1399 - Remove one unneeded GCPRO.
1401 * buffer.h (initial_directory):
1402 * buffer.c (init_initial_directory):
1403 - use correct conversions between internal and external format.
1404 (directory_is_current_directory): new function
1405 (init_buffer): convert initial_directory to internal format.
1406 - solve crashes when current working directory is non-ASCII.
1408 * alloc.c (xmalloc):
1411 - remove stupid casts, since XEmacs requires an ANSI C system.
1412 (lrecord_type_index): replace abort() with more readable assert().
1414 (reset_lcrecord_stats): remove.
1415 (sweep_lcrecords_1):
1416 - replace call to reset_lcrecord_stats() with call to xzero().
1418 1998-12-27 Martin Buchholz <martin@xemacs.org>
1420 * process-unix.c (unix_create_process):
1421 - Fix crash invoking program with non-ASCII name.
1422 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1423 - Remove unused variable `env'.
1424 - Rename `temp' to better name `save_errno'.
1425 - Reorganize code for clarity. But still too chicken to nuke the
1428 1998-12-24 Martin Buchholz <martin@xemacs.org>
1430 * XEmacs 21.2.7 is released.
1432 1998-12-23 Martin Buchholz <martin@xemacs.org>
1434 * glyphs.c (decode_device_ii_format):
1436 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1438 * glyphs-x.c (x_subwindow_instantiate):
1439 - A image instance mask was being assigned to a image instance type!
1440 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1442 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1444 * glyphs-x.h: Make indentation consistent.
1446 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1448 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1450 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1454 Move declarations of decode_device_ii_format and
1455 decode_image_instantiator_format into glyphs.h where they belong.
1457 1998-12-22 Martin Buchholz <martin@xemacs.org>
1459 * frame-x.c (x_delete_frame): Revert part of my changes at the
1460 suggestion of Gunnar Evermann - unfortunately no one really
1461 understands this code.
1463 * callproc.c (init_callproc): code cleanup.
1465 * free-hook.c (malloc):
1470 (block_input_malloc):
1471 (block_input_realloc):
1472 * device-x.c (x_delete_device):
1473 * emacs.c (voodoo_free_hook):
1474 * events.c (print_event):
1476 (CHECK_EVENT_TYPE2):
1477 (CHECK_EVENT_TYPE3):
1478 Use proper prototypes.
1479 Make C_E_T macros a little faster.
1480 Pedantic fiddly little changes. You really don't care.
1482 1998-12-22 Andy Piper <andy@xemacs.org>
1484 * redisplay-output.c (redisplay_clear_region): make sure that
1485 fg/bg colors get set even when we are in the border area.
1487 1998-12-13 Martin Buchholz <martin@xemacs.org>
1489 * console-msw.c: Function definitions follow coding standards
1490 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1492 1998-12-11 Martin Buchholz <martin@xemacs.org>
1494 * events.h (struct timeout_data):
1495 * event-tty.c (tty_timeout_to_emacs_event):
1496 * event-msw.c (mswindows_wm_timer_callback):
1497 * event-Xt.c (Xt_timeout_to_emacs_event):
1498 * event-msw.c (mswindows_cancel_dispatch_event):
1499 Make sure Lisp_Objects inside events are initialized to Qnil, not
1500 Qnull_pointer, which is now illegal.
1502 1998-12-10 Martin Buchholz <martin@xemacs.org>
1504 * lisp.h: Fix up prototypes to match alloc.c
1506 1998-12-08 Martin Buchholz <martin@xemacs.org>
1508 * windowsnt.h: Remove `support' for using index and rindex
1510 * filelock.c (current_lock_owner):
1511 - Change uses of index -> strchr, rindex -> strrchr
1513 1998-12-07 Martin Buchholz <martin@xemacs.org>
1515 * sysdep.c (set_descriptor_non_blocking):
1516 Since O_NONBLOCK is now always #defined, make use of fcntl
1517 conditional on F_SETFL being defined.
1519 * console-msw.c (DHEADgER):
1528 - max_align_t should not be visible to the user of the
1530 - use Bufbyte instead of char
1531 - parens around (FOOP (obj)) are always redundant.
1532 If they were necessary, we should fix the macro instead.
1533 - Always use string_data(foo) instead of foo->data.
1536 1998-12-06 Martin Buchholz <martin@xemacs.org>
1538 * frame-msw.c (mswindows_init_frame_1):
1539 - use make_lisp_hash_table, not Fmake_hash_table
1543 * alloc.c (make_vector): remove travesty
1547 (make_bit_vector_internal):
1549 (make_bit_vector_from_byte_vector):
1551 - make vector_equal a little faster.
1552 - Don't use variable name `new'.
1553 - Use size_t instead of EMACS_INT.
1554 - usual Martin-style pointless bit-twiddling.
1560 Make mapcar faster. In particular, make
1561 (mapc #'identity long-string)
1562 MUCH faster under Mule.
1563 * tests/automated/lisp-tests.el: Test 'em!
1565 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1568 1998-12-01 Martin Buchholz <martin@xemacs.org>
1570 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1571 Qnil, not NULL, to initialize `null' Lisp_Objects.
1573 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1575 * specifier.c (display_table_validate): Update.
1577 * redisplay.c (create_text_block): Use them.
1579 * glyphs.c (display_table_entry): New function.
1580 (get_display_tables): Ditto.
1582 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1584 * eldap.c (toplevel): Mention that eldap.c compiles with
1586 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1587 (Fldap_search_internal): Ditto
1589 1998-12-11 Martin Buchholz <martin@xemacs.org>
1591 * event-msw.c (mswindows_cancel_dispatch_event):
1592 Gratuitous code prettification
1595 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1597 * fns.c (Fnconc): Fix use of wrong_type_argument().
1599 * floatfns.c (Ffloat): Fix docstring.
1600 (Ffloat): Fix use of wrong_type_argument().
1602 (extract_float): Ditto.
1607 1998-12-06 Martin Buchholz <martin@xemacs.org>
1609 * frame-msw.c (mswindows_init_frame_1):
1610 - use make_lisp_hash_table, not Fmake_hash_table
1614 * alloc.c (make_vector): remove travesty
1618 (make_bit_vector_internal):
1620 (make_bit_vector_from_byte_vector):
1622 - make vector_equal a little faster.
1623 - Don't use variable name `new'.
1624 - Use size_t instead of EMACS_INT.
1625 - usual Martin-style pointless bit-twiddling.
1631 Make mapcar faster. In particular, make
1632 (mapc #'identity long-string)
1633 MUCH faster under Mule.
1634 * tests/automated/lisp-tests.el: Test 'em!
1636 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1639 1998-12-02 Didier Verna <verna@inf.enst.fr>
1641 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1642 accelerator field to nil for labels.
1644 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1646 * menubar-msw.c (displayable_menu_item):
1647 Escape occurrences of '&' and support occurrences of the
1648 '%_' accelerator indicator in menus.
1650 1998-11-26 Didier Verna <verna@inf.enst.fr>
1652 * dired.c (Fdirectory_files): use make_string instead of
1653 make_ext_string on the filename. The conversion external->internal
1654 format is already done in sys_readdir.
1656 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1658 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1660 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1663 (Belatedly) added Kirill to list of file's authors.
1664 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1665 quit checking. WM_PAINT messages cause redisplay, but
1666 windows' states are not necessarily stable when this function
1669 1998-12-17 Andy Piper <andy@xemacs.org>
1671 * strftime.c (zone_name): CONSTify.
1673 1998-12-15 Andy Piper <andy@xemacs.org>
1675 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1676 (mswindows_widget_property): return Qunbound when no property available.
1677 (mswindows_button_property): ditto.
1678 (mswindows_combo_property): ditto.
1679 (mswindows_widget_set_property): ditto.
1681 * glyphs-widget.c (check_valid_item_list): use properties.
1683 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1685 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1686 (Fimage_instance_property): ditto.
1687 * glyphs-widget.c (widget_property): ditto.
1688 (widget_set_property): ditto.
1690 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1691 as setting the class cursor so that GC actually changes the
1694 * config.h: don't undef MAIL_USE_POP.
1696 1998-12-13 Andy Piper <andy@xemacs.org>
1699 (image_instantiator_format_create_glyphs_mswindows): line ->
1701 (mswindows_label_instantiate): ditto. Play with window flags.
1702 (image_instantiator_format_create_glyphs_mswindows): ditto.
1703 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1705 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1706 cope with lines and labels.
1707 (static_instantiate): use widget_instantiate_1.
1709 (image_instantiator_format_create_glyphs_widget): ditto.
1711 1998-12-10 Andy Piper <andy@xemacs.org>
1713 * Makefile.in.in (objs): add gui.o
1715 1998-12-10 Andy Piper <andy@xemacs.org>
1717 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1720 1998-12-09 Andy Piper <andy@xemacs.org>
1722 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1723 image instance is removed so that the subwindow cache gets reset
1724 and thus destroyed images get GC'd.
1726 1998-12-08 Andy Piper <andy@xemacs.org>
1728 * gui-msw.c (mswindows_handle_gui_wm_command): call
1729 MARK_SUBWINDOWS_CHANGED.
1731 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1732 subwindows really get deleted.
1734 * redisplay.c: new variable subwindows_changed[_set].
1735 (redisplay_window): use it.
1736 (redisplay_frame): ditto.
1737 (redisplay_device): ditto.
1738 (redisplay_without_hooks): ditto.
1740 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1741 subwindows redisplay as per glyphs equivalent.
1742 * redisplay.h: ditto.
1743 (MARK_SUBWINDOWS_CHANGED): ditto.
1744 (RESET_CHANGED_SET_FLAGS): ditto.
1745 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1747 1998-12-07 Andy Piper <andy@xemacs.org>
1749 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1752 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1754 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1755 messages and paint widget glyphs as appropriate with their face fg
1758 1998-12-06 Andy Piper <andy@xemacs.org>
1760 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1761 here rather than in glyphs-widget - do this because we only want
1762 to provide what is really available.
1764 * glyphs.c (Fimage_instance_property): new function to get the
1765 properties of image instances. wires through to console specific
1766 methods and then to widget specific methods.
1767 (Fset_image_instance_property): ditto but for setting widget properties.
1768 (check_valid_face): make extern so that it can be used elsewhere.
1770 * glyphs-widget.c (widget_property): new function. gets the
1771 properties of widgets in general and wires the function through to
1772 widget specific ones.
1773 (widget_set_property): ditto but for setting widget properties.
1775 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1776 add items to the list. Play with window styles a bit to get the
1778 (mswindows_widget_property): break out specific widget properties.
1779 (mswindows_button_property): new function. gets the checked state
1781 (mswindows_combo_property): new function. gets the current
1782 selection in the combo box.
1783 (mswindows_widget_set_property): new function. sets specific
1784 properties of specific widgets.
1786 * glyphs-widget.c (check_valid_item_list): new function. check
1787 that items for a combo-box are just a list of strings.
1788 (combo_validate): new function. check there is an item list.
1789 (widget_instantiate_1): new function. renamed from
1790 widget_instantiate so that we can do slightly different things for
1792 (widget_instantiate): call widget_instantiate_1.
1793 (combo_instantiate): new function to instantiate combo boxes,
1794 defaults height to the pixel height of the number of items in the
1796 (syms_of_glyphs_widget): move widget keywords here.
1797 (image_instantiator_format_create_glyphs_widget): use new combo
1800 1998-12-04 Andy Piper <andy@xemacs.org>
1802 * event-msw.c (mswindows_wnd_proc): mule-ize.
1804 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1806 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1807 (resource_name_to_resource): ditto.
1808 (mswindows_resource_instantiate): ditto.
1809 (mswindows_widget_instantiate): ditto.
1810 (mswindows_widget_set_property): ditto.
1812 * redisplay-output.c (redisplay_output_subwindow): don't show
1813 subwindows if they are obscured at the edge of the frame, emacs
1814 gets into some sort of redisplay loop otherwise.
1816 * gui.h: prototype gui_item_selected_p.
1818 * gui.c (gui_item_selected_p): new function to determine the
1819 selected state of a gui_item.
1821 * frame.h (struct frame): add subwindows_changed flag.
1823 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1825 * glyphs.c (update_subwindow): new function to update a
1827 (update_frame_subwindows): new function to update all the
1828 subwindows on a frame.
1830 * console.h (struct console_methods): add update_subwindow.
1832 * glyphs-msw.c (mswindows_widget_property): return selected state
1833 for selected property.
1834 (mswindows_update_subwindow): new function. updates widget glyphs
1835 in redisplay as per menubars or toolbars e.g. selected state.
1836 (console_type_create_glyphs_mswindows): add update_subwindow.
1838 1998-12-03 Andy Piper <andy@xemacs.org>
1840 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1841 tty coding system things are such.
1843 * glyphs-widget.c (widget_face_font_info): new function for
1844 pulling out height and width metrics for a widget's face.
1845 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1848 * event-msw.c (mswindows_drain_windows_queue): translate messages
1849 that are destined for subwindows. This makes edit fields interact
1850 with the keyboard correctly.
1851 nuke warnings by #ifndef'ing out stuff not required by msg select().
1853 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1854 macro defining the iiforma without the symbol required by widget.
1855 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1857 * general.c (syms_of_general): add Qwidget, Qselected.
1859 * faces.c (complex_vars_of_faces): add widget face inheriting from
1862 1998-11-09 Andy Piper <andy@xemacs.org>
1864 * window.h (struct window): add a cache of subwindows on a
1867 * window.c (mark_window): mark the subwindow_instance_cache.
1868 (allocate_window): initialise the subwindow instance_cache.
1870 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1871 instead of the devmeth.
1872 (x_clear_toolbar): ditto.
1874 * redisplay-x.c (x_output_display_block): call
1875 redisplay_output_subwindow for subwindows and widgets.
1877 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1878 types to do nothing for.
1880 * lisp.h: declare new widget/subwindow symbols.
1882 * glyphs.c (image_instantiate): cache subwindows on a per-window
1884 (subwindow_possible_dest_types): new function for subwindow dest
1886 (subwindow_instantiate): generic instantiation of a
1887 subwindow. specialised by device multi-methods.
1888 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1890 (Fimage_instance_subwindow_id): ditto.
1891 (Fresize_subwindow): ditto.
1892 (Fforce_subwindow_map): ditto.
1894 * glyphs-x.c (x_print_image_instance): remove subwindow
1895 stuff. Handled genrically in glyphs.c.
1896 (x_image_instance_equal): ditto.
1897 (x_image_instance_hash): ditto.
1898 (x_finalize_image_instance): delete subwindows when required.
1899 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1900 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1901 glyph-based, subwindow implementation.
1902 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1904 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1906 (x_unmap_subwindow): new function to unmap X subwindows.
1907 (x_map_subwindow): new function to map X subwindows.
1908 (x_subwindow_instantiate): new function to instantiate X
1910 (x_resize_subwindow): new function to resize X subwindows.
1911 (console_type_create_glyphs_x): add subwindow functions.
1912 (image_instantiator_format_create_glyphs_x): add device
1913 multi-methods for xpm, xbm and subwindow.
1915 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1916 (subwindow-width): ditto.
1917 (subwindow-height): ditto.
1919 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1920 generally instantiating ms subwindows. Used by
1921 mswindows_*_instantiate.
1922 (mswindows_edit_instantiate): instantiate an edit field on a
1925 1998-11-04 Andy Piper <andy@xemacs.org>
1927 * symsinit.h: declare new functions.
1929 * redisplay.h: declare new functions.
1931 * redisplay-x.c (x_output_display_block): call
1932 redisplay_clear_region rather than x_clear_region.
1933 (x_output_string): ditto.
1934 (x_output_pixmap): ditto.
1935 (x_clear_to_window_end): ditto.
1936 (x_output_eol_cursor): ditto.
1937 (x_clear_region): only do X specific things. other duties handled
1938 in redisplay_clear_region.
1940 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1941 duties moved to redisplay_clear_region.
1943 * redisplay-output.c (clear_left_border): use
1944 redisplay_clear_region instead of device method.
1945 (clear_right_border): ditto.
1946 (output_display_line): ditto.
1947 (redisplay_output_subwindow): ditto.
1948 (redisplay_clear_top_of_window): ditto.
1949 (redisplay_clear_region): perform duties previously handled by
1950 device methods. call the appropriate device method at the
1951 end. unmap subwindows if necessary.
1953 * redisplay-msw.c (mswindows_output_string): use
1954 redisplay_clear_region instead of mswindows_clear_region.
1955 (mswindows_clear_to_window_end): ditto.
1956 (mswindows_output_display_block): output subwindows when required.
1957 (mswindows_clear_region): only do mswindows specific things,
1958 everything else is now handled in redisplay_clear_region.
1960 * gui.h: add item id hash defines and declare function prototypes.
1962 * gui.c (mark_gui_item): new function for marking gui_items.
1963 (gui_item_hash): generic hash function for generating command ids
1966 * gui-msw.c: new file.
1967 (mswindows_handle_gui_wm_command): new function to handle widget
1970 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1972 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1973 (DEFINE_DEVICE_IIFORMAT): ditto.
1974 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1975 (struct Lisp_Image_Instance): add widget and subwindow data plus
1976 appropriate access functions.
1978 * glyphs.c (decode_device_ii_format): new function for decoding
1979 image instantiator functions based on a device type as well as an
1981 (decode_image_instantiator_format): just call
1982 decode_device_ii_format with nil device.
1983 (add_entry_to_device_ii_format_list): new function for per device
1985 (add_entry_to_image_instantiator_format_list): just call
1986 add_entry_to_device_ii_format_list with nil device.
1987 (check_valid_vector): new function.
1988 (instantiate_image_instantiator): instantiate using per-format
1989 method and then per-format-per-device method (device
1990 multi-methods). signal an error if neither is possible.
1991 (mark_image_instance): cope with subwindows and widgets.
1992 (print_image_instance): ditto.
1993 (image_instance_equal): ditto.
1994 (image_instance_hash): ditto.
1995 (allocate_glyph): ditto.
1996 (glyph_width): ditto.
1997 (glyph_height_internal): ditto.
1998 (xpm_instantiate): removed because of device multi-methods.
1999 (mark_subwindow_cachels): new cachel functions for caching
2000 instantiated subwindows on a per-frame basis. mostly copied from
2001 glyph cachel functions.
2002 (update_subwindow_cachel_data): ditto.
2003 (add_subwindow_cachel): ditto.
2004 (get_subwindow_cachel_index): ditto.
2005 (reset_subwindow_cachels): ditto.
2006 (mark_subwindow_cachels_as_not_updated): ditto.
2007 (unmap_subwindow): generic unmapping of subwindows based on cachel
2009 (map_subwindow): ditto.
2010 (initialize_subwindow_image_instance): generic initialisation of
2012 (syms_of_glyphs): add widget keywords.
2014 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2017 1998-11-04 Andy Piper <andy@xemacs.org>
2019 * glyphs-widget.c: new file for instantiating widget type glyphs.
2020 (widget_possible_dest_types): new general dest type function for
2022 (widget_validate): ditto.
2023 (initialize_widget_image_instance): ditto
2024 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2025 before handing on control to device multi-methods.
2026 (syms_of_glyphs_widget): new function.
2027 (image_instantiator_format_create_glyphs_widget): new function,
2028 added placeholders for button, edit, combo, scrollbar
2029 (vars_of_glyphs_widget): new function.
2031 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2032 storing window ids of widgets.
2034 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2035 deletion of widget and subwindow glyphs.
2036 (mswindows_unmap_subwindow): new device function for unmapping
2037 subwindows on a msw frame.
2038 (mswindows_map_subwindow): ditto.
2039 (mswindows_register_image_instance): register instantiated widgets
2040 with the widget hastable.
2041 (mswindows_button_instantiate): instantiate a button type widget
2043 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2045 (image_instantiator_format_create_glyphs_mswindows): add device
2046 multi-methods for xbm, xpm, subwindow, edit and button.
2048 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2049 information about subwindows visible on the current frame. used by
2050 redisplay_clear_region to unmap subwindows as required.
2052 * frame.c (mark_frame): mark subwindow_cachels.
2053 (allocate_frame_core): instantiate subwindow_cachels.
2055 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2058 * event-msw.c (mswindows_wnd_proc): add call to
2059 mswindows_handle_gui_wm_command to handle widget callbacks.
2061 * emacs.c (main_1): add calls to glyphs-widget initialisation
2064 * console.h (struct console_methods): add
2065 unmap/map_subwindow_method for use be redisplay_clear_region to
2066 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2067 with by image instantiator multi-methods. Add
2068 resize_subwindow_method.
2070 * console-stream.c (stream_clear_region): change signature to
2071 match new generic clear region function.
2073 * Makefile.in.in: add glyphs-widget.o to list of objects.
2075 * console-msw.h (struct mswindows_frame): add widget hashtable for
2076 wiring command ids to callbacks.
2078 1998-12-16 Andy Piper <andy@xemacs.org>
2080 * XEmacs 21.2.6 is released
2082 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2084 * md5.c (Fmd5): Correctly initiate string input stream.
2086 * Makefile.in.in (tests): Add md5-tests.el.
2088 1998-12-06 Martin Buchholz <martin@xemacs.org>
2091 * alloc.c (make_vector): remove travesty
2095 (make_bit_vector_internal):
2097 (make_bit_vector_from_byte_vector):
2099 - make vector_equal a little faster.
2100 - Don't use variable name `new'.
2101 - Use size_t instead of EMACS_INT.
2102 - usual Martin-style pointless bit-twiddling.
2108 Make mapcar faster. In particular, make
2109 (mapc #'identity long-string)
2110 MUCH faster under Mule.
2111 * tests/automated/lisp-tests.el: Test 'em!
2113 1998-12-06 Martin Buchholz <martin@xemacs.org>
2115 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2118 1998-12-13 Martin Buchholz <martin@xemacs.org>
2120 * console-msw.c: Function definitions follow coding standards
2121 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2123 1998-12-11 Martin Buchholz <martin@xemacs.org>
2125 * events.h (struct timeout_data):
2126 * event-tty.c (tty_timeout_to_emacs_event):
2127 * event-msw.c (mswindows_wm_timer_callback):
2128 * event-Xt.c (Xt_timeout_to_emacs_event):
2129 * event-msw.c (mswindows_cancel_dispatch_event):
2130 Make sure Lisp_Objects inside events are initialized to Qnil, not
2131 Qnull_pointer, which is now illegal.
2133 1998-12-10 Martin Buchholz <martin@xemacs.org>
2135 * lisp.h: Fix up prototypes to match alloc.c
2137 1998-12-09 Andy Piper <andy@xemacs.org>
2139 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2140 XSETINT for assigning lisp objects.
2142 1998-12-07 Martin Buchholz <martin@xemacs.org>
2145 * console-msw.c (DHEADER):
2154 - max_align_t should not be visible to the user of the
2156 - use Bufbyte instead of char
2157 - parens around (FOOP (obj)) are always redundant.
2158 If they were necessary, we should fix the macro instead.
2159 - Always use string_data(foo) instead of foo->data.
2161 1998-12-07 Martin Buchholz <martin@xemacs.org>
2163 * sysdep.c (set_descriptor_non_blocking):
2164 Since O_NONBLOCK is now always #defined, make use of fcntl
2165 conditional on F_SETFL being defined.
2167 1998-12-09 Andy Piper <andy@xemacs.org>
2169 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2170 that got removed in the merge
2172 1998-11-30 Greg Klanderman <greg@alphatech.com>
2174 * dired.c (vars_of_dired): bugfix for previous conditionalization
2175 of user-name-completion on non- Windows NT.
2177 1998-12-08 Martin Buchholz <martin@xemacs.org>
2179 * windowsnt.h: Remove `support' for using index and rindex
2181 * filelock.c (current_lock_owner):
2182 - Change uses of index -> strchr, rindex -> strrchr
2184 1998-12-06 Martin Buchholz <martin@xemacs.org>
2186 * frame-msw.c (mswindows_init_frame_1):
2187 - use make_lisp_hash_table, not Fmake_hash_table
2190 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2192 * XEmacs 21.2.5 is released
2194 1998-11-30 Martin Buchholz <martin@xemacs.org>
2196 * xselect.c (receive_incremental_selection):
2197 * xselect.c (x_get_window_property):
2198 * xmu.c (XmuReadBitmapDataFromFile):
2199 * xmu.c (XmuCursorNameToIndex):
2200 * xgccache.c (describe_gc_cache):
2201 * xgccache.c (gc_cache_lookup):
2202 * xgccache.c (free_gc_cache):
2203 * xgccache.c (make_gc_cache):
2205 * window.c (map_windows_1):
2206 * window.c (Fother_window_for_scrolling):
2207 * window.c (window_scroll):
2208 * window.c (change_window_height):
2209 * window.c (Fsplit_window):
2210 * window.c (window_left_gutter_width):
2211 * window.c (window_modeline_height):
2212 * window.c (invalidate_vertical_divider_cache_in_window):
2213 * window.c (window_needs_vertical_divider_1):
2214 * window.c (update_mirror_internal):
2215 * window.c (SET_LAST_FACECHANGE):
2216 * widget.c (Fwidget_plist_member):
2217 * unexec.c (copy_text_and_data):
2218 * unexcw.c (copy_executable_and_dump_data_section):
2220 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2221 * tooltalk.c (struct Lisp_Tooltalk_Message):
2222 * toolbar.h (struct toolbar_button):
2223 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2224 * toolbar.c (recompute_overlaying_specifier):
2225 * toolbar.c (toolbar_validate):
2226 * toolbar.c (toolbar_button_at_pixpos):
2227 * toolbar.c (get_toolbar_coords):
2228 * toolbar.c (update_frame_toolbars):
2230 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2231 * toolbar-msw.c (mswindows_find_toolbar_pos):
2232 * toolbar-msw.c (mswindows_output_toolbar):
2233 * toolbar-msw.c (mswindows_clear_toolbar):
2242 * sysdep.c (sys_fopen):
2243 * sysdep.c (sys_open):
2244 * sysdep.c (tty_init_sys_modes_on_device):
2245 * sysdep.c (get_eof_char):
2246 * sysdep.c (child_setup_tty):
2247 * sysdep.c (set_descriptor_non_blocking):
2249 * syntax.c (scan_words):
2252 * symeval.h (struct symbol_value_varalias):
2253 * symeval.h (struct symbol_value_forward):
2254 * symbols.c (syms_of_symbols):
2255 * symbols.c (init_symbols_once_early):
2256 * symbols.c (Fbuilt_in_variable_type):
2257 * symbols.c (Fsymbol_value_in_buffer):
2258 * symbols.c (default_value):
2260 * symbols.c (find_symbol_value_quickly):
2261 * symbols.c (store_symval_forwarding):
2262 * symbols.c (set_default_console_slot_variable):
2263 * symbols.c (set_default_buffer_slot_variable):
2264 * symbols.c (verify_ok_for_buffer_local):
2265 * symbols.c (symbol_is_constant):
2266 * symbols.c (oblookup):
2267 * symbols.c (Funintern):
2268 * symbols.c (Fintern):
2269 * symbols.c (check_obarray):
2271 * specifier.h (struct specifier_methods):
2273 * specifier.c (specifier_instance):
2274 * specifier.c (specifier_instance_from_inst_list):
2275 * specifier.c (decode_locale_type):
2276 * specifier.c (specifier_equal):
2277 * specifier.c (finalize_specifier):
2278 * specifier.c (prune_specifiers):
2279 * specifier.c (kill_specifier_buffer_locals):
2280 * sound.c (init_native_sound):
2283 * search.c (Fmatch_data):
2284 * search.c (match_limit):
2285 * search.c (Freplace_match):
2286 * search.c (skip_chars):
2287 * search.c (scan_buffer):
2289 * scrollbar.c (specifier_vars_of_scrollbar):
2290 * scrollbar.c (Fscrollbar_set_hscroll):
2291 * scrollbar.c (vertical_scrollbar_changed_in_window):
2292 * scrollbar.c (release_window_mirror_scrollbars):
2293 * scrollbar.c (free_scrollbar_instance):
2296 * s/msdos.h (O_BINARY):
2298 * s/freebsd.h (LIBS_TERMCAP):
2299 * regex.c (re_match_2_internal):
2300 * regex.c (compile_extended_range):
2301 * regex.c (POP_FAILURE_POINT):
2302 * regex.c (PUSH_FAILURE_POINT):
2303 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2305 * redisplay.h (struct display_line):
2306 * redisplay.h (struct rune):
2307 * redisplay.c (vars_of_redisplay):
2308 * redisplay.c (redisplay_variable_changed):
2309 * redisplay.c (UPDATE_CACHE_RETURN):
2310 * redisplay.c (validate_line_start_cache):
2311 * redisplay.c (mark_redisplay_structs):
2312 * redisplay.c (mark_glyph_block_dynarr):
2313 * redisplay.c (window_line_number):
2314 * redisplay.c (redisplay_frame):
2315 * redisplay.c (redisplay_window):
2316 * redisplay.c (generate_modeline):
2317 * redisplay.c (create_right_glyph_block):
2318 * redisplay.c (create_left_glyph_block):
2319 * redisplay.c (create_text_block):
2321 * redisplay-x.c (x_output_hline):
2322 * redisplay-x.c (x_output_vertical_divider):
2323 * redisplay-tty.c (tty_output_display_block):
2324 * redisplay-output.c (output_display_line):
2325 * redisplay-output.c:
2326 * redisplay-msw.c (mswindows_output_vertical_divider):
2327 * redisplay-msw.c (mswindows_ring_bell):
2328 * redisplay-msw.c (mswindows_output_cursor):
2332 * puresize.h (RAW_PURESIZE):
2333 * profile.c (syms_of_profile):
2334 * profile.c (Fstart_profiling):
2335 * profile.c (sigprof_handler):
2338 * process.c (vars_of_process):
2339 * process.c (read_process_output):
2340 * process.c (get_process):
2342 * process-unix.c (unix_open_multicast_group):
2343 * process-unix.c (unix_get_tty_name):
2344 * process-unix.c (unix_send_process):
2345 * process-unix.c (unix_reap_exited_processes):
2346 * process-unix.c (unix_create_process):
2347 * process-unix.c (unix_init_process_io_handles):
2348 * process-unix.c (allocate_pty):
2350 * process-nt.c (nt_open_network_stream):
2351 * process-nt.c (nt_update_status_if_terminated):
2352 * process-nt.c (nt_finalize_process_data):
2354 * print.c (debug_short_backtrace):
2355 * print.c (debug_backtrace):
2356 * print.c (print_symbol):
2357 * print.c (print_internal):
2358 * print.c (print_cons):
2359 * print.c (Fwrite_char):
2360 * print.c (print_prepare):
2361 * print.c (canonicalize_printcharfun):
2362 * print.c (output_string):
2365 * opaque.c (allocate_managed_opaque):
2367 * offix.c (DndSetData):
2368 * objects.c (face_boolean_create):
2369 * objects.c (font_instantiate):
2370 * objects.c (font_create):
2371 * objects.c (color_create):
2372 * objects.c (finalize_font_instance):
2373 * objects.c (finalize_color_instance):
2375 * objects-x.c (x_font_instance_truename):
2377 * objects-x.c (x_initialize_font_instance):
2378 * objects-x.c (allocate_nearest_color):
2379 * objects-tty.c (tty_initialize_font_instance):
2380 * objects-tty.c (tty_initialize_color_instance):
2381 * objects-msw.c (mswindows_initialize_color_instance):
2382 * ntproc.c (syms_of_ntproc):
2383 * ntproc.c (Fwin32_set_process_priority):
2384 * ntproc.c (sys_spawnve):
2386 * ntheap.c (get_data_end):
2390 * nt.c (generate_inode_val):
2391 * nt.c (sys_rename):
2393 * mule-wnnfns.c (Fwnn_hinsi_number):
2394 * mule-wnnfns.c (Fwnn_yuragi):
2395 * mule-wnnfns.c (Fwnn_common_learn):
2396 * mule-wnnfns.c (Fwnn_suffix_learn):
2397 * mule-wnnfns.c (Fwnn_prefix_learn):
2398 * mule-wnnfns.c (Fwnn_okuri_learn):
2399 * mule-wnnfns.c (Fwnn_complex_conv):
2400 * mule-wnnfns.c (Fwnn_last_is_first):
2401 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2402 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2403 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2404 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2405 * mule-wnnfns.c (Fwnn_hinsi_list):
2406 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2407 * mule-wnnfns.c (Fwnn_dict_search):
2408 * mule-wnnfns.c (Fwnn_word_toroku):
2409 * mule-wnnfns.c (Fwnn_hindo_update):
2410 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2411 * mule-wnnfns.c (Fwnn_kakutei):
2412 * mule-wnnfns.c (Fwnn_begin_henkan):
2413 * mule-wnnfns.c (Fwnn_dict_comment):
2414 * mule-wnnfns.c (Fwnn_dict_add):
2415 * mule-wnnfns.c (Fwnn_open):
2416 * mule-mcpath.c (mc_getcwd):
2417 * mule-coding.c (vars_of_mule_coding):
2418 * mule-coding.c (convert_to_external_format):
2419 * mule-coding.c (encoding_marker):
2420 * mule-coding.c (decoding_marker):
2421 * mule-coding.c (Fcopy_coding_system):
2422 * mule-coding.c (Fmake_coding_system):
2423 * mule-coding.c (Fcoding_system_list):
2424 * mule-coding.c (Ffind_coding_system):
2425 * mule-coding.c (symbol_to_eol_type):
2427 * mule-charset.c (complex_vars_of_mule_charset):
2428 * mule-charset.c (vars_of_mule_charset):
2429 * mule-charset.c (Fset_charset_ccl_program):
2430 * mule-charset.c (struct charset_list_closure):
2431 * mule-charset.c (Ffind_charset):
2432 * mule-charset.c (make_charset):
2433 * mule-charset.c (non_ascii_valid_char_p):
2435 * mule-ccl.c (ccl_driver):
2436 * mule-canna.c (c2mu):
2437 * mule-canna.c (Fcanna_henkan_begin):
2438 * mule-canna.c (Fcanna_parse):
2439 * mule-canna.c (Fcanna_store_yomi):
2440 * mule-canna.c (Fcanna_touroku_string):
2441 * mule-canna.c (Fcanna_initialize):
2443 * menubar.c (menu_parse_submenu_keywords):
2444 * menubar-x.c (make_dummy_xbutton_event):
2445 * menubar-x.c (set_frame_menubar):
2446 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2449 * menubar-msw.c (mswindows_popup_menu):
2450 * menubar-msw.c (mswindows_update_frame_menubars):
2451 * menubar-msw.c (mswindows_handle_wm_command):
2452 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2453 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2454 * menubar-msw.c (update_frame_menubar_maybe):
2455 * menubar-msw.c (populate_or_checksum_helper):
2456 * menubar-msw.c (empty_menu):
2459 * marker.c (set_marker_internal):
2460 * marker.c (print_marker):
2463 * lstream.c (lisp_buffer_rewinder):
2464 * lstream.c (mark_lstream):
2466 * lrecord.h (struct lrecord_header):
2467 * lread.c (readevalloop):
2468 * lread.c (locate_file):
2469 * lread.c (locate_file_in_directory):
2470 * lread.c (Flocate_file):
2471 * lread.c (load_force_doc_string_unwind):
2472 * lread.c (ebolify_bytecode_constants):
2477 * linuxplay.c (linux_play_data_or_file):
2478 * linuxplay.c (audio_init):
2481 * keymap.c (describe_map):
2482 * keymap.c (describe_map_mapper):
2483 * keymap.c (Fdescribe_bindings_internal):
2484 * keymap.c (Fsingle_key_description):
2485 * keymap.c (map_keymap_sorted):
2486 * keymap.c (get_relevant_keymaps):
2487 * keymap.c (Flookup_key):
2488 * keymap.c (raw_lookup_key_mapper):
2489 * keymap.c (Fdefine_key):
2490 * keymap.c (Fevent_matches_key_specifier_p):
2491 * keymap.c (key_desc_list_to_event):
2492 * keymap.c (define_key_parser):
2493 * keymap.c (define_key_check_and_coerce_keysym):
2494 * keymap.c (keymap_submaps):
2495 * keymap.c (keymap_store_internal):
2496 * keymap.c (keymap_delete_inverse_internal):
2497 * keymap.c (keymap_store_inverse_internal):
2498 * keymap.c (print_keymap):
2499 * keymap.c (Lisp_Keymap):
2502 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2503 * insdel.c (make_gap):
2504 * input-method-xlib.c (get_XIM_input):
2505 * input-method-xlib.c (XIM_init_frame):
2510 * gui-x.c (button_item_to_widget_value):
2511 * gui-x.c (popup_selection_callback):
2512 * glyphs.h (struct image_instantiator_methods):
2513 * glyphs.c (mark_glyph_cachels):
2514 * glyphs.c (Fglyph_type):
2515 * glyphs.c (image_instantiate):
2516 * glyphs.c (image_create):
2517 * glyphs.c (make_image_instance_1):
2518 * glyphs.c (finalize_image_instance):
2520 * glyphs-x.c (finalize_subwindow):
2521 * glyphs-x.c (xface_validate):
2522 * glyphs-x.c (x_locate_pixmap_file):
2523 * glyphs-x.c (convert_EImage_to_XImage):
2525 * glyphs-msw.c (mswindows_resource_instantiate):
2526 * glyphs-msw.c (xpm_to_eimage):
2527 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2528 * glyphs-eimage.c (tiff_instantiate):
2529 * glyphs-eimage.c (png_instantiate):
2530 * glyphs-eimage.c (struct png_error_struct):
2531 * glyphs-eimage.c (gif_memory_storage):
2534 * getloadavg.c (getloadavg):
2537 * free-hook.c (log_gcpro):
2538 * free-hook.c (check_malloc):
2539 * free-hook.c (check_free):
2540 * free-hook.c (ROUND_UP_TO_PAGE):
2542 * frame.h (struct frame):
2544 * frame.c (change_frame_size_1):
2545 * frame.c (allocate_frame_core):
2547 * frame-x.c (x_focus_on_frame):
2548 * frame-x.c (x_init_frame_2):
2549 * frame-x.c (x_popup_frame):
2550 * frame-x.c (xemacs_XtPopup):
2552 * frame-x.c (Foffix_start_drag_internal):
2553 * frame-x.c (x_cde_destroy_callback):
2554 * frame-x.c (x_wm_hack_wm_protocols):
2555 * frame-tty.c (tty_frame_visible_p):
2556 * frame-msw.c (mswindows_make_frame_invisible):
2557 * frame-msw.c (mswindows_after_init_frame):
2558 * frame-msw.c (mswindows_init_frame_1):
2559 * fns.c (syms_of_fns):
2560 * fns.c (Fbase64_decode_string):
2562 * fns.c (Ffillarray):
2563 * fns.c (Fobject_plist):
2565 * fns.c (Fcanonicalize_lax_plist):
2566 * fns.c (Fcanonicalize_plist):
2567 * fns.c (Fplist_remprop):
2568 * fns.c (Fplist_get):
2569 * fns.c (advance_plist_pointers):
2570 * fns.c (internal_plist_put):
2571 * fns.c (Fnreverse):
2574 * fns.c (Fsubstring):
2575 * fns.c (Fbvconcat):
2577 * fns.c (length_with_bytecode_hack):
2578 * fns.c (print_bit_vector):
2580 * floatfns.c (Ffloor):
2582 * floatfns.c (in_float_error):
2583 * fileio.c (Ffile_modes):
2584 * fileio.c (Fexpand_file_name):
2585 * fileio.c (Fmake_temp_name):
2586 * fileio.c (Ffile_name_nondirectory):
2587 * fileio.c (Ffile_name_directory):
2589 * file-coding.c (vars_of_mule_coding):
2590 * file-coding.c (convert_to_external_format):
2591 * file-coding.c (encoding_marker):
2592 * file-coding.c (decoding_marker):
2593 * file-coding.c (Fcopy_coding_system):
2594 * file-coding.c (Fmake_coding_system):
2595 * file-coding.c (struct coding_system_list_closure):
2596 * file-coding.c (Ffind_coding_system):
2597 * file-coding.c (symbol_to_eol_type):
2599 * faces.h (struct face_cachel):
2600 * faces.c (vars_of_faces):
2601 * faces.c (face_property_was_changed):
2602 * faces.c (mark_face_cachels):
2603 * faces.c (temporary_faces_list):
2604 * faces.c (struct face_list_closure):
2606 * extents.h (struct extent):
2607 * extents.c (vars_of_extents):
2608 * extents.c (struct copy_string_extents_1_arg):
2609 * extents.c (add_string_extents_mapper):
2610 * extents.c (Fextent_property):
2611 * extents.c (Fset_extent_property):
2612 * extents.c (symbol_to_glyph_layout):
2613 * extents.c (properties_equal):
2614 * extents.c (print_extent):
2615 * extents.c (print_extent_1):
2616 * extents.c (extent_in_region_p):
2617 * extents.c (gap_array_make_gap):
2619 * events.h (struct Lisp_Event):
2621 * events.c (Fevent_properties):
2622 * events.c (format_event_object):
2623 * events.c (Fmake_event):
2624 * events.c (event_equal):
2625 * events.c (print_event):
2626 * events.c (mark_event):
2627 * event-stream.c ((read-char)
2628 * event-stream.c (vars_of_event_stream):
2629 * event-stream.c (syms_of_event_stream):
2630 * event-stream.c (Fset_recent_keys_ring_size):
2631 * event-stream.c (Fsit_for):
2632 * event-stream.c (Fnext_event):
2633 * event-stream.c (execute_help_form):
2634 * event-stream.c (maybe_kbd_translate):
2636 * event-msw.c (vars_of_event_mswindows):
2637 * event-msw.c (mswindows_wnd_proc):
2638 * event-msw.c (mswindows_need_event):
2639 * event-msw.c (mswindows_drain_windows_queue):
2640 * event-msw.c (mswindows_pump_outstanding_events):
2642 * event-msw.c (slurp_thread):
2643 * event-msw.c (struct ntpipe_slurp_stream):
2644 * event-msw.c (HANDLE_TO_USID):
2645 * event-Xt.c (emacs_Xt_handle_magic_event):
2646 * event-Xt.c (x_event_to_emacs_event):
2647 * event-Xt.c (x_reset_modifier_mapping):
2648 * event-Xt.c (x_reset_key_mapping):
2650 * eval.c (syms_of_eval):
2651 * eval.c (warn_when_safe):
2652 * eval.c (warn_when_safe_lispobj):
2653 * eval.c (Fbacktrace_frame):
2654 * eval.c (Fbacktrace):
2655 * eval.c (top_level_set):
2656 * eval.c (unbind_to_hairy):
2657 * eval.c (specbind_magic):
2658 * eval.c (specbind_unwind_wasnt_local):
2659 * eval.c (call2_trapping_errors):
2660 * eval.c (call1_trapping_errors):
2661 * eval.c (catch_them_squirmers_call2):
2662 * eval.c (call0_trapping_errors):
2663 * eval.c (run_hook_trapping_errors):
2664 * eval.c (catch_them_squirmers_eval_in_buffer):
2665 * eval.c (call4_in_buffer):
2666 * eval.c (call3_in_buffer):
2667 * eval.c (call2_in_buffer):
2668 * eval.c (call1_in_buffer):
2669 * eval.c (call0_in_buffer):
2670 * eval.c (run_hook):
2671 * eval.c (run_hook_with_args_in_buffer):
2674 * eval.c (do_autoload):
2675 * eval.c (un_autoload):
2676 * eval.c (Fautoload):
2677 * eval.c (Finteractive_p):
2678 * eval.c (Fcommand_execute):
2679 * eval.c (signal_quit):
2680 * eval.c (call_with_suspended_errors):
2681 * eval.c (signal_error):
2682 * eval.c (return_from_signal):
2683 * eval.c (Fcall_with_condition_handler):
2684 * eval.c (run_condition_case_handlers):
2685 * eval.c (condition_case_1):
2686 * eval.c (Funwind_protect):
2687 * eval.c (unwind_to_catch):
2688 * eval.c (internal_catch):
2689 * eval.c (Fmacroexpand_internal):
2690 * eval.c (Fuser_variable_p):
2691 * eval.c (Fdefconst):
2693 * eval.c (Ffunction):
2694 * eval.c (signal_call_debugger):
2695 * eval.c (call_debugger):
2698 * emacs.c (sort_args):
2702 * editfns.c (Fencode_time):
2703 * editfns.c (Fdecode_time):
2704 * editfns.c (Fuser_full_name):
2706 * editfns.c (save_excursion_restore):
2709 * doprnt.c (emacs_doprnt_1):
2710 * doc.c (verify_doc_mapper):
2711 * doc.c (Fsnarf_documentation):
2712 * doc.c (Fdocumentation):
2714 * dired.c (user_name_completion):
2715 * dired.c (Fdirectory_files):
2718 * dgif_lib.c (FreeSavedImages):
2719 * dgif_lib.c (DGifGetImageDesc):
2721 * device.h (struct device):
2722 * device.c (Fselect_device):
2723 * device.c (allocate_device):
2725 * device-x.c (Fx_keysym_on_keyboard_p):
2726 * device-x.c (Fx_valid_keysym_name_p):
2727 * device-x.c (x_IO_error_handler):
2728 * device-x.c (x_delete_device):
2729 * device-x.c (x_finish_init_device):
2730 * device-x.c (x_init_device):
2732 * device-msw.c (mswindows_init_device):
2734 * database.c (vars_of_database):
2735 * database.c (Fput_database):
2736 * database.c (Fopen_database):
2737 * database.c (berkdb_remove):
2738 * database.c (berkdb_put):
2739 * database.c (Fdatabasep):
2740 * database.c (print_database):
2742 * data.c (vars_of_data):
2743 * data.c (syms_of_data):
2744 * data.c (init_errors_once_early):
2745 * data.c (prune_weak_lists):
2746 * data.c (finish_marking_weak_lists):
2747 * data.c (print_weak_list):
2749 * data.c (Fstring_to_number):
2750 * data.c (Fnumber_to_string):
2751 * data.c (Findirect_function):
2754 * data.c (Fsubr_interactive):
2756 * data.c (Fkeywordp):
2759 * console.h (CONSOLE_NAME):
2761 * console.c (vars_of_console):
2762 * console.c (Fselect_console):
2764 * console-x.h (DEVICE_X_COLORMAP):
2765 * console-x.h (struct x_device):
2766 * console-x.c (x_device_to_console_connection):
2767 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2768 * console-tty.c (tty_init_console):
2770 * console-msw.h (struct mswindows_frame):
2773 * cmds.c (internal_self_insert):
2774 * cmds.c (Fforward_line):
2775 * cmds.c (Fforward_char):
2778 * chartab.c (mark_char_table_entry):
2780 * casefiddle.c (casify_word):
2781 * callproc.c (child_setup):
2782 * callproc.c (Fcall_process_internal):
2784 * callint.c (Fcall_interactively):
2786 * bytecode.c (execute_rare_opcode):
2787 * bytecode.c (execute_optimized_program):
2790 * buffer.h (BUFFER_REALLOC):
2791 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2792 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2794 * buffer.h (MAP_INDIRECT_BUFFERS):
2795 * buffer.h (CHECK_LIVE_BUFFER):
2796 * buffer.c (init_initial_directory):
2797 * buffer.c (complex_vars_of_buffer):
2798 * buffer.c (vars_of_buffer):
2799 * buffer.c (finish_init_buffer):
2800 * buffer.c (Fget_file_buffer):
2801 * buffer.c (Fbuffer_list):
2802 * buffer.c (mark_buffer):
2803 * balloon_help.c (balloon_help_move_to_pointer):
2804 * balloon_help.c (show_help):
2807 * alloc.c (garbage_collect_1):
2808 * alloc.c (sweep_strings):
2809 * alloc.c (sweep_compiled_functions):
2810 * alloc.c (sweep_bit_vectors_1):
2811 * alloc.c (sweep_vectors_1):
2812 * alloc.c (sweep_lcrecords_1):
2813 * alloc.c (tick_lcrecord_stats):
2814 * alloc.c (pure_string_sizeof):
2815 * alloc.c (mark_conses_in_list):
2816 * alloc.c (mark_object):
2817 * alloc.c (report_pure_usage):
2818 * alloc.c (make_pure_float):
2819 * alloc.c (make_pure_string):
2820 * alloc.c (free_managed_lcrecord):
2821 * alloc.c (mark_string):
2822 * alloc.c (noseeum_make_marker):
2823 * alloc.c (allocate_event):
2824 * alloc.c (Fbit_vector):
2825 * alloc.c (Fvector):
2826 * alloc.c (make_float):
2827 * alloc.c (Fmake_list):
2829 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2830 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2831 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2832 * alloc.c (dbg_constants):
2833 * alloc.c (gc_record_type_p):
2834 * alloc.c (free_lcrecord):
2835 * alloc.c (xmalloc):
2836 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2838 * Makefile.in.in (mostlyclean):
2839 * Makefile.in.in (external_client_xlib_objs_nonshared):
2840 * Makefile.in.in (temacs_link_args):
2841 * Makefile.in.in (release):
2842 * Makefile.in.in (dnd_objs):
2843 * Makefile.in.in (objs):
2844 * Makefile.in.in (PROGNAME):
2845 * EmacsShell.c: cast strings to (XtPointer)
2846 * EmacsFrame.c: cast strings to (XtPointer)
2848 - rewrite basic lisp functions for speed
2849 - rewrite bytecode interpreter for speed
2850 - rewrite list looping constructs for speed and safety using
2852 - use size_t where appropriate.
2853 - new hashtable implementation
2854 - cleanup implementation of opaques
2855 - opaques can now be purecopy'ed
2856 - move some cl functionality into C for speed.
2857 - remove last remaining VMS support
2859 - improve gdb/dbx debugger support
2860 - move pure.c back into alloc.c for performance
2861 - enable report_pure_usage() if --memory-usage-stats
2862 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2863 - don't use symbols with leading `_' or embedded `__'
2864 - globally cleanup duplicated semicolons `;;'
2865 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2867 - globally replace O_NDELAY with O_NONBLOCK.
2868 - globally replace CDISABLE with _POSIX_VDISABLE.
2869 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2870 - define (and maybe use!) STDERR_FILENO and friends.
2871 - add support for macros defined in C
2872 - `when', `unless', `not' and `defalias' now defined in C,
2873 so that they are universally available.
2874 - rename defvar_mumble to defvar_magic
2875 - rename RETURN__ to RETURN_SANS_WARNINGS
2876 - use consistent style of initial caps in error messages
2877 - implement last, butlast, nbutlast, copy-list in C.
2878 - provide typedefs for all struct Lisp_foo types
2879 - Lisp_Objects must be initialized to Qnil rather than 0.
2880 - make sure XEmacs runs (slowly) with always_gc == 1;
2881 - fast and safe LOOP_* macros
2882 - change calls to XSETOBJ to XSETFOO
2883 - replace calls to XSETINT by make_int()
2884 - plug up memory leaks
2885 - use style markobj (foo), not silly ((markobj) (foo))
2886 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2888 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2890 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2892 1998-11-28 SL Baur <steve@altair.xemacs.org>
2894 * XEmacs 21.2-beta4 is released.
2896 1998-11-27 SL Baur <steve@altair.xemacs.org>
2898 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2899 property in control-1 charset.
2900 From Julian Bradfield <jcb@daimi.au.dk>
2902 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2904 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2906 Add stub for :label.
2908 * gui.c (gui_item_add_keyval_pair): ditto.
2910 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2911 :key-sequence keyword.
2913 Support :active for submenus like the Windows code and FSF Emacs.
2915 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2917 * dired.c (make_directory_hash_table): make_string() is OK because
2918 readdir() Mule-encapsulates.
2920 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2922 * fns.c (Fbase64_encode_string): Fix docstring.
2923 (Fbase64_decode_string): Ditto.
2925 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2927 * editfns.c (Ftranslate_region): Use
2928 convert_bufbyte_string_into_emchar_string().
2930 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2932 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2934 (Ftranslate_region): Turn table into an array of Emchars for
2937 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2939 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2941 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2943 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2944 type `char' with nils.
2946 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2947 for tables of type `char'.
2949 1998-11-26 Didier Verna <verna@inf.enst.fr>
2951 * input-method-xlib.c (Initialize_Locale): don't call
2952 XtSetLanguageProc. We've done the whole work here.
2953 * input-method-xfs.c (Initialize_Locale): ditto.
2954 * input-method-motif.c (Initialize_Locale): ditto.
2956 1998-11-26 Didier Verna <verna@inf.enst.fr>
2958 * process-unix.c (unix_create_process): handle properly
2959 Vfile_name_coding_system for converting the program and directory
2962 1998-11-27 SL Baur <steve@altair.xemacs.org>
2964 * m/arm.h: New file.
2965 From James LewisMoss <dres@ioa.com>
2967 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2970 Fix the realpath() problem of UnixWare2.1.3.
2971 Patches for NEC's sysv4.2 machine.
2973 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2975 * dired.c (Fdirectory_files): Remove redundant code.
2977 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2979 * fns.c (free_malloced_ptr): New function.
2980 (XMALLOC_OR_ALLOCA): New macro.
2981 (XMALLOC_UNBIND): Ditto.
2982 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
2983 to be freed in case of non-local exit.
2984 (Fbase64_encode_string): Ditto.
2985 (Fbase64_decode_region): Ditto.
2986 (Fbase64_decode_string): Ditto.
2987 (STORE_BYTE): New macro.
2988 (base64_decode_1): Use it.
2990 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2992 * fns.c (base64_value_to_char): Base64 stuff.
2994 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2996 * editfns.c (Fbuffer_substring): New function.
2998 * lisp.h: Declare make_string_from_buffer_no_extents().
3000 * insdel.c (make_string_from_buffer_1): New function.
3001 (make_string_from_buffer_no_extents): Ditto.
3003 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3005 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3006 sound work on AIX with OSS installed. Linux should still work.
3008 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3010 * config.h.in: name change for cygwin/version.h
3012 * configure.in: check for cygwin/version.h now.
3014 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3015 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3016 move cygwin32/version.h to cygwin/version.h
3018 1998-11-03 Olivier Galibert <galibert@pobox.com>
3020 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3023 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3025 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3026 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3027 enable BROKEN_SIGIO under b20 to make QUIT work.
3029 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3031 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3032 to fit within the constraints of the screen size. I.e. make the
3033 frame small enough to fit and move it if some of it will be
3036 1998-10-19 Greg Klanderman <greg@alphatech.com>
3038 * dired.c: conditionalize inclusion of user-name-completion
3039 primitives on non-Windows NT. The needed functions don't exist on NT.
3041 1998-11-24 SL Baur <steve@altair.xemacs.org>
3043 * gifrlib.h: Clean up types for 64 bit compile.
3044 * dgif_lib.c (DGifInitRead): Ditto.
3045 (MakeSavedImage): Ditto.
3046 * emacs.c (decode_path): Ditto.
3047 From Steve Carney <carney@pa.dec.com>
3049 1998-10-16 William M. Perry <wmperry@aventail.com>
3051 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3052 (cehckboxes instead of checkboxes).
3054 1998-10-15 SL Baur <steve@altair.xemacs.org>
3056 * XEmacs 21.2-beta3 is released.
3058 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3060 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3061 gnuclient. Otherwise, we run xemacs as we always did. This gets
3062 rid of the annoying DOS window when running gnuclient.
3064 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3066 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3067 HAVE_MS_WINDOWS typo.
3069 1998-10-13 SL Baur <steve@altair.xemacs.org>
3071 * process-unix.c (unix_send_process): Set closed flag on writable
3072 pipe after SIGPIPE is received and before we call deactivate_process.
3074 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3076 * window.c (Fset_window_start): respect narrowing when
3077 checking wheter start is at the beginning of a line.
3078 (Fset_window_buffer): Ditto
3079 Fixes repeatable crash in VM.
3081 1998-10-09 SL Baur <steve@altair.xemacs.org>
3083 * window.c (specifier_vars_of_window): Set default vertical
3084 divider width to 1 on ttys.
3086 1998-10-08 Martin Buchholz <martin@xemacs.org>
3091 Add <stddef.h> to get ptrdiff_t declaration
3093 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3095 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3096 is used for Motif or Lucid scrollbars under X.
3098 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3100 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3103 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3105 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3107 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3109 * s/cygwin32.h: more cygwin b20 reorganisation.
3111 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3113 * nas.c: Added necessary support functions to be able to handle
3114 WAVE files in memory, just like the support for SND files in
3117 1998-09-30 SL Baur <steve@altair.xemacs.org>
3119 * callproc.c (child_setup): Fix spelling typo.
3121 1998-09-29 SL Baur <steve@altair.xemacs.org>
3123 * XEmacs 21.2-beta2 is released.
3125 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3127 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3128 to prevent memory corruption in the case of jumping out of a series of
3129 nested match patterns. This is a rather brute force approach, though.
3131 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3133 * config.h.in: ditto.
3135 * s/cygwin32.h: rearrange declarations to cope with cygwin
3136 b20. Include cygwin32/version.h if it exists.
3138 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3140 * device-msw.c (mswindows_init_device): Call new
3141 mswindows_enumerate_fonts() function in objects-msw.c instead
3142 of font_enum_callback_1() to enumerate fonts.
3144 font_enum_callback_1() and _2() moved to objects-msw.c.
3146 * faces.c (complex_vars_of_faces): Make the mswindows default
3147 face font fully specified and provide some fallbacks.
3149 * objects-msw.c: font_enum_callback_1() and _2() moved here
3150 from objects-msw.c. Obtain the enumerated font's character
3151 sets by table lookup instead of using the locale-specific
3152 string provided by Windows.
3154 New public non-method mswindows_enumerate_fonts() that fills
3155 in the supplied mswindows device's font list.
3157 mswindows_initialize_font_instance: Use the supplied name
3158 variable instead of f->name when signalling errors. Match font
3159 weights and character sets using lookup tables which handle
3160 spaces instead of by frobbing.
3162 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3164 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3165 on the size of code fragments passed to run_in_other_process.
3167 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3168 the amount of memory to allocate in the other process.
3170 Removed sigkill_code_end(), sigint_code_end() and
3171 sig_enable_code_end() since they are now redundant.
3173 send_signal() and enable_child_signals(): Don't try to work
3174 out the end of the code fragments passed to
3175 run_in_other_process()
3177 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3179 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3182 * src/unexelf.c: Partially synched with FSF's 20.3.
3184 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3186 * insdel.c (signal_after_change): Map across indirect buffers
3187 here, and not in the upper-level functions.
3188 (signal_first_change): Don't check for Armageddon.
3189 (signal_before_change): Map across indirect buffers here.
3190 (prepare_to_modify_buffer): ...and here.
3192 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3194 * insdel.c (signal_after_change): Add return value.
3195 (buffer_insert_string_1): Use it.
3196 (buffer_delete_range): Ditto.
3197 (buffer_replace_char): Ditto.
3198 (cancel_multiple_change): Map the indirect buffers.
3200 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3202 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3203 (uninit_buffer_text): Ditto.
3205 * buffer.c (Fmake_indirect_buffer): Implement stricter
3208 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3210 * insdel.c (change_function_restore): Reverse order of
3211 function-call and assignment.
3212 (first_change_hook_restore): Ditto.
3214 * extents.c (mark_extent_auxiliary): Mark them.
3215 (Fset_extent_property): Set them.
3216 (Fextent_property): Get them.
3217 (Fextent_properties): Ditto.
3218 (vars_of_extents): Set their default.
3220 * extents.h (struct extent_auxiliary): Add before_change_functions
3221 and after_change_functions.
3223 * insdel.c (signal_before_change): Use it.
3224 (signal_after_change): Ditto.
3226 * extents.c (report_extent_modification): New function.
3228 * insdel.c (signal_before_change): Don't check for Armageddon.
3229 (signal_after_change): Ditto.
3231 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3233 * redisplay.c (redisplay_window): make sure a new starting point
3234 is chosen if it somehow got moved from the beginning of the line
3235 -- this can happen because Fwiden was called recently.
3237 * window.c (Fset_window_start): set start_at_line_beg correctly
3238 (Fset_window_buffer): Ditto
3240 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3242 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3243 (uninit_buffer_text): Ditto.
3245 * buffer.c (Fmake_indirect_buffer): Implement stricter
3248 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3250 * emacs.c (main_1): Removed references to *vars_of_filelock.
3252 * lisp.h: Added Fsystem_name.
3254 * filelock.c: Replaced by version from FSF 20.2. Now implements
3255 locking by using symlinks which is NFS safe. However keep the
3256 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3257 version (and of course use ansi C, acessor macros, etc).
3259 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3261 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3262 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3263 in init_signals_very_early. However these should not be passed
3264 on to children attached to the new pty.
3266 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3268 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3270 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3272 * fileio.c (file-name-directory, file_name_as_directory):
3273 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3275 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3277 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3279 * ralloc.c: uncomment __morecore.
3281 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3283 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3284 WriteFile() to fix a winsock 1.x bug on Win95.
3286 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3288 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3290 (x_event_to_emacs_event): Ditto.
3291 (emacs_Xt_handle_focus_event): Ditto.
3292 (emacs_Xt_handle_magic_event): Ditto.
3294 * console-x.h (struct x_device): New flag being_deleted.
3295 (DEVICE_X_BEING_DELETED): New macro.
3297 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3298 returning. Before doing that, set the being_deleted flag on the
3301 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3303 * device-x.c (x-seppuku-on-epipe): Removed.
3305 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3307 * frame-x.c (x_delete_frame): Flush the X output buffer after
3308 calling XtDestroyWidget to ensure that the windows are really
3311 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3313 * menubar-x.c (my_run_hook): New unused function.
3314 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3315 since we ignore the results of the contained functions anyway.
3317 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3319 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3320 interlaced GIF files that are smaller than 4 lines high...
3322 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3324 * buffer.c (map_over_sharing_buffers): Deleted.
3326 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3328 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3331 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3333 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3335 (buffer_delete_range): Ditto.
3337 * marker.c (init_buffer_markers): Set point-marker to the value of
3338 point in an indirect buffer.
3340 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3342 * undo.c (undo_prelude): Test last-undo-buffer against base
3345 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3347 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3349 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3351 * insdel.c (init_buffer_text): Initialize it here.
3353 * line-number.c: Address line_number_cache through buffer->text.
3355 * buffer.c (mark_buffer): Mark line number cache.
3357 * bufslots.h (line_number_cache): Move to struct buffer_text.
3359 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3360 across the children buffers.
3361 (buffer_delete_range): Ditto.
3362 (buffer_replace_char): Ditto.
3366 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3368 * buffer.c (Fmake_indirect_buffer): Uncomment.
3370 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3372 * macros.c (Fend_kbd_macro): Remove trailing period from error
3374 (Fexecute_kbd_macro): Ditto.
3376 1998-08-21 Greg Klanderman <greg@alphatech.com>
3378 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3379 (Fuser_name_completion_1): new function to return uniqueness
3380 indication in addition to the user name completion.
3381 (user_name_completion): change type of `uniq' argument.
3383 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3385 * lread.c (vars_of_lread): Removed `source-directory' variable.
3387 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3389 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3392 1998-08-19 SL Baur <steve@altair.xemacs.org>
3394 * dired.c (vars_of_dired): Fix misapplied patch.
3396 1998-08-16 Martin Buchholz <martin@xemacs.org>
3398 * fns.c (Fremrassq, remrassq_no_quit):
3399 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3401 1998-07-17 Didier Verna <verna@inf.enst.fr>
3403 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3404 style as foreground GC for faces that have the `dim' property.
3405 (x_output_string): when the `dim' face property is set,
3406 ensure the gray pixmap has been created, and get a proper
3407 foreground GC to draw the text.
3409 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3411 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3412 Manually track the state of the left and right Ctrl and Alt
3415 1998-08-07 Matt Stupple <matts@tibco.com>
3417 * ntproc.c: don't wait on char_consumed at thread entry.
3418 Additionally, to get the 'process' marked as finished, ensure
3419 that the CHILD_ACTIVE macro returns false, so before exiting
3420 close char_avail and set it to NULL, and close other handles
3421 to reduce handle leak problems.
3423 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3425 * menubar-msw.c (displayable_menu_item): take account of menu
3426 depth when deciding whether to try to display accelerators.
3428 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3430 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3433 * glyphs-msw.c: fix a couple of potential handle leaks.
3435 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3437 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3438 *decoding ONLY* back into the core.
3439 * glyphs-eimage.c: Change referenced header file for GIF
3440 reading to point to the incore version.
3442 1998-07-20 Martin Buchholz <martin@xemacs.org>
3444 * casefiddle.c (casify_object):
3445 Change algorithm from O(N**2) to O(N).
3449 1998-07-22 Greg Klanderman <greg@alphatech.com>
3451 * dired.c (file_name_completion_unwind): don't leak the cons.
3453 1998-07-20 Greg Klanderman <greg@alphatech.com>
3455 * dired.c (Fuser_name_completion): new function.
3456 (Fuser_name_all_completions): new function.
3457 (user_name_completion): new function.
3458 (syms_of_dired): 2 new DEFSUBRs.
3459 (vars_of_dired): initialize user name cache vars.
3461 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3463 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3464 colors taken from the default face. Also correct a thinko in
3465 transparency (not alpha) handling.
3467 1998-07-23 Martin Buchholz <martin@xemacs.org>
3469 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3470 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3471 * lread.c (Fload_internal): Be very careful with printfs of
3473 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3476 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3478 * callint.c (Fcall_interactively): GCPRO prompt string before
3479 passing it to Fread_key_sequence
3481 1998-07-27 SL Baur <steve@altair.xemacs.org>
3483 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3484 Vvertical_divider_map.
3486 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3487 Qnil or 0, none were initialized prior to this change.
3489 Rename misnamed `V' prefixed integer variables:
3490 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3491 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3492 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3493 Vcanna_ichiran_revLen.
3495 Rename misnamed `V' prefixed integer variables and initialize
3496 properly in the vars_of routine.
3497 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3498 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3499 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3500 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3501 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3502 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3503 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3504 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3505 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3506 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3507 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3508 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3509 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3510 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3511 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3512 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3513 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3514 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3515 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3516 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3517 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3518 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3519 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3520 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3521 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3522 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3523 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3524 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3525 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3526 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3527 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3528 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3529 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3530 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3531 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3532 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3533 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3534 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3535 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3536 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3537 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3538 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3539 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3540 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3541 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3542 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3544 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3546 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3547 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3548 keys thus no longer considering all keysyms on a key.
3550 1998-07-19 SL Baur <steve@altair.xemacs.org>
3552 * XEmacs 21.2-beta1 is released.
3554 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3556 * eldap.c (Fldap_search_internal): When converting the list of
3557 attributes to search Copy the final 0 from Lisp strings to C
3559 Check base, not Vldap_default_base as a a string
3561 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3563 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3565 * unexnt.c: Unconditionally define bss_start and bss_size, and
3566 ensure that they don't go in the .bss section.
3568 1998-07-17 Olivier Galibert <galibert@pobox.com>
3570 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3571 byte order is dependant of the local byte order).
3572 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3574 1998-07-18 SL Baur <steve@altair.xemacs.org>
3576 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3577 Qmswindows_resource.
3578 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3580 1998-07-12 SL Baur <steve@altair.xemacs.org>
3582 * general.c (syms_of_general): Add defsymbol for Qresource.
3584 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3585 Qmswindows_resource.
3586 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3587 (mswindows_resource_validate): Rename.
3588 (mswindows_resource_normalize): Rename.
3589 (mswindows_resource_possible_dest_types): Rename.
3590 (mswindows_resource_instantiate): Rename.
3591 (image_instantiator_format_create_glyphs_mswindows): Replace
3592 `resource' with `mswindows.resource'.
3594 * XEmacs 21.0-pre5 is released.
3596 1998-07-10 SL Baur <steve@altair.xemacs.org>
3598 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3599 server type in environment.
3600 Use alloca-ed strings instead of tiny fixed size ones.
3602 1998-07-09 SL Baur <steve@altair.xemacs.org>
3604 * XEmacs 21.0-pre4 is released.
3606 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3608 * fileio.c: (expand_file_name): under win32: Don't treat names
3609 as UNC names if a drive letter has been specified. If a drive
3610 has been specified, strip out extra directory-seperators that
3611 reportedly cause problems under Win95.
3613 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3615 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3616 MSVC >= 5.0. Put emacs init and zero-init data in a special
3617 section of the executable when this is defined.
3619 * unexnt.c, ntheap.h:
3620 Removed unused find_section() and get_section_size().
3623 Fix up the executable's checksum after dumping otherwise the
3625 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3626 zero-init data separately from init data. Dump emacs data
3627 into a special section of the executable.
3628 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3629 my_ebss instead of up to the end of bss.
3631 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3633 * filelock.c: Removed Vconfigure_lock_directory - already
3636 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3637 defined in frame.c and general.c respectively.
3639 * glyphs-msw.c: Removed Qresource - already defined in
3642 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3644 * eldap.c (Fldap_search_internal): Docstring fixes
3646 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3648 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3649 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3650 EMACSPACKAGEPATH and INFOPATH variables.
3651 Removed unused get_emacs_configuration function.
3653 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3654 it is now defined at build-time by the makefile.
3656 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3658 * fileio.c: (expand_file_name): under win32: Don't treat names as
3659 UNC names if a drive letter has been specified. If a drive has
3660 been specified, strip out extra directory-seperators that
3661 reportedly cause problems under Win95.
3663 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3665 * faces.c (complex_vars_of_faces): for the gui-element face don't
3666 fallback to the default face, instead provide reasonable default
3667 fallbacks that were previously hardcoded elsewhere.
3669 1998-07-06 Olivier Galibert <galibert@pobox.com>
3671 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3672 when the X server endianness is different than the client's one.
3674 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3676 * eval.c (run_hook_with_args_in_buffer): Check
3677 default (non-buffer-local) value of hook for
3678 nil before treating it as a function. Don't initialize
3679 the `globals' variable twice.
3681 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3683 * fileio.c: Don't do directory seperator canonicalisation in
3684 substitute-in-file-name because we don't know that the
3685 filename refers to a local file.
3687 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3689 * process-nt.c (nt_create_process): Try appending the standard
3690 executable file extensions to the filename if none supplied.
3692 1998-06-29 SL Baur <steve@altair.xemacs.org>
3694 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3696 From Keisuke Mori <ksk@ntts.com>
3698 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3700 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3701 images if we have masks. This handles the xbm case (have masks)
3702 and avoids overuse of resources in the xpm case (generally no masks).
3703 Don't output small toolbars.
3705 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3707 * eval.c (run_hook_with_args_in_buffer): Don't treat
3708 the default value of a buffer local hook as a list of
3709 hooks unless it is both a cons and the car of that cons
3712 1998-06-29 SL Baur <steve@altair.xemacs.org>
3714 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3715 * process-unix.c: Ditto.
3716 * mule-coding.h: Ditto.
3717 * mule-coding.c: Ditto.
3718 * mule-charset.c: Ditto.
3719 * mule-charset.h: Ditto.
3720 * file-coding.c: Ditto.
3721 * file-coding.h: Ditto.
3723 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3725 * event-msw.c: Guard against recursion when freeing
3726 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3728 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3729 Call ShowWindow twice in init_frame_3 to get round runemacs
3732 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3734 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3736 * winslots.h: Rename.
3738 * window.c (specifier_vars_of_window): Renamed
3739 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3740 as suggested by Ben Wing.
3741 (specifier_vars_of_window): Fix docstrings.
3743 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3745 * unexaix.c: Line number information works correctly again.
3747 1998-06-22 Olivier Galibert <galibert@pobox.com>
3749 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3751 1998-06-21 Martin Buchholz <martin@xemacs.org>
3753 * editfns.c (get_home_directory): ANSIfy.
3754 XEmacs is compilable under C *and* C++.
3755 It's XEmacs, not Xemacs!
3757 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3759 * console-msw.h: added a list of fonts to device data.
3761 * device-msw.c: enumerate list of available fonts in
3762 mswindows_init_device. Free list in mswindows_delete_device.
3764 * objects-msw.c: Added helper function match_font used by
3765 mswindows_initialize_font_instance and mswindows_list_fonts.
3766 Allow a charset to be specified in a font string, even if
3767 previous fields havn't been specified.
3769 1998-06-23 Greg Klanderman <greg@alphatech.com>
3771 * indent.c (column_at_point): column cache bugfix.
3772 Set last_known_column_point to the buffer position for
3773 which the column was requested, not buffer's point.
3775 * redisplay.c (decode_mode_spec): for current-column, show
3776 window's point's column, not buffer's point's column.
3778 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3780 * menubar-msw.c (mswindows_handle_wm_command): use
3781 enqueue_misc_user event rather than
3782 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3785 * console-msw.h: declare mswindows_enqueue_magic_event.
3787 * event-msw.c (mswindows_enqueue_magic_event): make global.
3789 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3791 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3792 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3793 (add_position_to_cache): Use EMACS_INT instead of int.
3795 1998-06-21 Olivier Galibert <galibert@pobox.com>
3797 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3798 suitable for an int used as a boolean (btw, C sucks.).
3800 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3802 * object-msw.c: remove warnings.
3804 * device-msw.c: #define wrongly named cygwin structure elements.
3806 * s/cygwin32.h: define DEMI_BOLD
3808 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3810 * redisplay-msw.c: new function mswindows_apply_face_effects.
3811 This is called by output_string and output_cursor to display
3812 underline and strikeout on faces.
3814 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3816 * console-msw.h: added a list of fonts to device data.
3818 * device-msw.c: enumerate list of available fonts in
3819 mswindows_init_device. Free list in mswindows_delete_device.
3821 * objects-msw.c: Added helper function match_font used by
3822 mswindows_initialize_font_instance and mswindows_list_fonts.
3823 Allow a charset to be specified in a font string, even if
3824 previous fields havn't been specified.
3826 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3829 Removed compilation warnings from mswindows_string_to_color.
3830 mswindows_list_fonts returns a more general bogus font.
3831 New lisp-visible function mswindows-color-list.
3833 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3835 * editfns.c (Fuser_login_name): Modify to user new function
3837 (user_login_name): C only function to avoid Lisp object overhead
3838 Returns "unknown" instead of nil in Cygwin environment
3840 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3841 equivalent for current user in Cygwin environment. Use new
3842 function user_login_name to get username.
3844 * lisp.h: Declare user_login_name
3846 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3848 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3850 Some other insignificant nitpicks.
3852 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3854 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3855 creating the image list and make sure he bk color is transparent.
3857 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3859 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3860 completed_timeouts. The timer could have expired.
3862 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3864 * console-msw.h: move XEMACS_RECT_WH inside frame
3865 parameters. define macors to access it.
3867 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3868 parameter to intialise desired sizing. (mswindows_init_frame_2):
3869 enable and size the frame to something sensible when we get
3870 here. (mswindows_set_frame_properites): use new
3871 mswindows_size_frame_internal function and size frame if frame
3872 parameters not just if init is finished - WM_SIZE happens too
3873 early for some specs. (mswindows_size_frame_internal): new
3874 function abstracted from mswindows_set_frame_properties.
3875 (Vmswindows_use_system_frame_size_defaults):
3876 new variable controls whether to allow the system to pick frame
3877 size defaults, defaults to nil.
3879 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3880 than duplicated code.
3882 1998-06-15 Colin Rafferty <colin@xemacs.org>
3884 * Makefile.in.in: Made EXTW_LINK expand properly.
3886 1998-06-12 Martin Buchholz <martin@xemacs.org>
3888 * redisplay.c (vars_of_redisplay): default value of
3889 column-number-start-at-one should be NIL!
3891 1998-06-11 Martin Buchholz <martin@xemacs.org>
3894 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3896 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3898 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3899 build_string to avoid crashes under Mule.
3901 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3903 * ntplay.c (play_sound_data_1): don't delete the sound data until
3904 the next sound is played and the previous one finished.
3906 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3908 * fileio.c (directory-sep-char): Escape backslashes.
3910 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3912 * event-stream.c: Fix docstring reference.
3914 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3916 * alloc.c (make_float): Remove useless initialization of `next'
3918 (make_pure_float): Ditto.
3920 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3922 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3924 * fileio.c (Fmake_directory_internal): Remove conditionals
3925 on WINDOWSNT when calling mkdir.
3927 * ntproc.c: Deleted the following unused functions:
3928 register_child, reap_subprocess, sys_wait.
3930 * nt.c (sys_rename): Ifzeroed this implementation.
3931 Deleted the following unused functions:
3932 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3933 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3934 sys_read, sys_write.
3935 Merger sys_fopen and sys_open with sysdep.c implementation.
3937 * sysdep.c: Removed MS-DOS code.
3938 (sys_rename): Deal with Microsoft rename weirdness.
3939 (sys_open): Implemented for Windows.
3943 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3945 * buffer.c (complex_vars_of_buffer): Removed %t description from
3948 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3950 * scrollbar-msw.c: initialize the cbSize element of the
3951 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3952 to ignore the value of cbSize, but Win95 (and I presume Win98)
3953 appear to want it set to sizeof(SCROLLINFO).
3955 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3957 * event-stream.c: Defined Qcancel_mode_internal.
3958 (syms_of_event_stream): defsymbol'ed it.
3960 * events.h: Externed it.
3962 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3964 1998-06-04 Oliver Graf <ograf@fga.de>
3966 * frame-x.c (x_cde_destroy_callback): free the data
3967 (cde-start-drag-internal) corrected root position, 21.1 needs this
3968 hardcoded in Button events
3969 (offix-start-drag-internal) corrected root position
3971 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3973 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3976 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3978 * dialog-msw.c (button_width): Removed `inline' from the function
3981 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3983 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
3984 Note that adding this flag to subsequent frames causes problems.
3986 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3988 * glyphs-eimage.c (png_instantiate) move 'struct
3989 png_memory_storage tbr' out of nested block to avoid dangling
3992 1998-06-02 Andy Piper <andyp@parallax.co.uk>
3995 * faces.c: rename 3d-object -> gui-element. add toolbar face which
3996 inherits from gui-element.
3998 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
3999 with existing code, generate masks correctly.
4001 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4003 * glyphs-eimage.c: Changed included header for gifs to use
4004 Gifreader instead of giflib.
4006 * glyphs-x.c: removed the image-related functions that were
4007 moved into glyphs-eimage.
4009 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4011 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4012 if built without X Windows support.
4014 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4016 * fns.c (Fconcat): Synch docstring with new reality.
4018 1998-06-03 SL Baur <steve@altair.xemacs.org>
4020 * frame.c: Remove reference to msdos.h (which is going away).
4021 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4023 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4025 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4029 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4031 * events.h: Fixed commentary about misc-user scrollbar events.
4033 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4034 object as an event channel, instead of window object.
4035 (x_update_horizontal_scrollbar_callback): Ditto.
4037 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4039 * ntplay.c (play_sound_data_1) new function. convert alloca data
4040 to malloc if necessary.
4041 (play_sound_file): if the file is not in our path then convert to
4044 1998-06-01 SL Baur <steve@altair.xemacs.org>
4046 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4047 * msdos.c (Frecent_doskeys): Ditto.
4049 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4050 Suggested by Reggie Perry <perry@zso.dec.com>
4052 * buffer.h: Eliminate size in declaration.
4054 1998-06-01 Olivier Galibert <galibert@pobox.com>
4056 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4058 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4060 * gui.c (gui_item_init): Changed the default value for config member
4061 from Qunbound to Qnil.
4063 1998-06-01 Greg Klanderman <greg@alphatech.com>
4065 * indent.c (vmotion_pixels): Don't #define abs().
4067 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4069 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4072 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4074 * glyphs.h: add xbm declarations.
4076 * console.h: add xbm_instantiate_method device method.
4078 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4079 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4080 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4081 locate_pixmap_file device method and read_bitmap_data_from_file
4082 instead of XmuReadBitmapDataFromFile.
4083 (xbm_instatntiate): make a device method.
4085 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4086 new function that just calls XmuReadBitmapDataFromFile.
4087 (x_xbm_instatntiate): device method from xbm_instantiate.
4089 * glyphs-msw.c (read_bitmap_data) (NextInt)
4090 (read_bitmap_data_from_file): new functions copied from Xmu
4092 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4093 inline data to an mswindows bitmap.
4094 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4095 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4098 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4100 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4101 `modeline-visible-p'.
4102 Declared specifier lisp variables at the beginning oh the file
4105 * procimpl.h (struct process_methods): Changed semantics of
4106 create_process method so it accepts lisp strings instead of
4109 * process.c (Fstart_process_internal): Moved building of
4110 unix style argv from here to process-unix.c, ...
4112 * process-unix.c (unix_create_process): ... right here.
4114 * process-nt.c (nt_create_process): Changed this function to
4115 support new semantics, so avoided a GC problem.
4117 * events.c (Fmake_event): Document misc-user events properties.
4118 (Fmake_event): Do not allow arbitrary objects for channel property
4119 of misc-user events.
4120 (Fmake_event): Change misc-user event validation: it is function
4121 which is required, not button.
4123 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4125 (mswindows_enqueue_misc_user_event): Added function.
4126 (mswindows_bump_queue): Removed function.
4127 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4128 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4129 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4130 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4131 really nothing, which is my personal favorite thing.
4133 * console-msw.h: Removed prototype for mswindows_bump_queue().
4134 Added prototype for mswindows_enqueue_misc_user_event().
4136 * menubar-msw.c (mswindows_handle_wm_command): Use
4137 mswindows_enqueue_misc_user_event().
4139 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4141 * dialog-msw.c (dialog_proc): Ditto.
4143 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4144 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4145 user events channel.
4147 1998-05-29 Greg Klanderman <greg@alphatech.com>
4149 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4150 incorrect semantics of vmotion_pixels which has been fixed. don't
4151 use it anymore as it can't easily be used.
4153 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4154 the motion was reported incorrectly if you tried to go past end of
4157 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4159 * toolbar.h: Removed misleading commentary, as Martin suggested.
4161 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4163 * lisp.h: Extern Qactivate_menubar_hook.
4165 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4168 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4170 * glyphs-msw.c: use BPLINE macro.
4172 * select-msw.c (mswindows-selection-exists-p)
4173 (mswindows-delete-selection): doc string fixes.
4175 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4176 unpressable. warning elimination.
4178 1998-05-28 Martin Buchholz <martin@xemacs.org>
4180 * alloc.c (dbg_constants):
4183 Remove toolbar_data debugging code, since that lrecord has
4186 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4188 * alloc.c: zap cached value of (user-home-directory), so that
4191 * buffer.c: From init_buffer(), separated out code that
4192 determined the initial directory for the *scratch* buffer, and
4193 put them into a function called "init_initial_directory()".
4194 The initial directory is now available as a global "char *"
4195 called initial_directory.
4197 * buffer.h: Added extern entries for initial_directory[] and
4198 init_initial_directory().
4200 * editfns.c: added new elisp function "user-home-directory",
4201 which basically returns getenv("HOME"), but attempts to use
4202 other values if $HOME isn't set.This may have to be tweaked in
4203 the future as, under Unix, "/" is used if $HOME isn't set (this
4204 probably should be set to the current directory). To support
4205 this, a new C function, "get_home_directory()", now exists,
4206 which returns the "home directory", as a "char *" string.
4208 * emacs.c: Rearrange NT initialization order so that
4209 environment/registry variables will be properly entered into
4210 Vprocess_enviroment.
4212 * fileio.c: replaced egetenv("HOME") with calls to the new
4213 get_home_directory().
4215 * lisp.h: Added function prototypes for uncache_home_directory()
4216 and get_home_directory(), along with lisp prototypes for
4217 Fuser_home_directory() and friends.
4219 * nt.c: replaced getenv("HOME") with calls to the new
4220 get_home_directory().
4222 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4223 warnings about getcwd(), etc. not having prototypes.
4225 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4227 * process-nt.c (send_signal): Emulate SIGHUP.
4228 (validate_signal_number): Ditto.
4230 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4231 remove MOD_SHIFT from ASCII characters.
4232 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4235 1998-05-24 Oliver Graf <ograf@fga.de>
4237 * frame-x.c (cde-start-drag-internal): added filename and multi-
4239 (x_cde_convert_callback) dito
4241 1998-05-26 Oliver Graf <ograf@fga.de>
4243 * frame-x.c: include event-mod.h also with CDE
4244 (x_cde_convert_callback) made the thing working
4245 (cde-start-drag-internal) also debugging
4247 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4254 - add __OpenBSD__ where __NetBSD__ was found.
4255 - TODO: replace platform-specific conditional compilation by
4256 feature tests in configure.in.
4258 1998-05-15 Greg Klanderman <greg@alphatech.com>
4260 * window.c (Fwindow_displayed_text_pixel_height): New function.
4261 (syms_of_window): DEFSUBR it.
4263 * indent.c (Fvertical_motion_pixels): New function - request
4265 (vmotion_pixels): helper.
4266 (syms_of_indent): DEFSUBR.
4267 * lisp.h: declaration for vmotion_pixels().
4269 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4270 to request returning motion in pixels.
4271 (Fvertical_motion_pixels): Remove, functionality merged into
4273 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4274 (Fmove_to_window_line): ditto.
4275 * lisp.h: Change declaration for Fvertical_motion.
4277 * window.c: rename window-text-pixel-{height,width,edges} to
4278 window-text-area-pixel-*.
4280 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4282 * tooltalk.c (vars_of_tooltalk) added staticpro for
4283 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4285 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4287 * faces.c: create a new 3d_object_face, make modeline and
4288 vertical_divider faces fallback to this rather than the default.
4290 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4292 * s/cygwin32.h: define charsets for cygwin.
4294 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4296 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4297 and coordinates. resize bitmaps if we have already settled on a
4300 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4302 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4304 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4306 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4310 * gui-x.c (popup_selection_callback): Ditto.
4312 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4314 * gui.c (get_callback): Renamed to get_gui_callback.
4316 1998-05-17 Martin Buchholz <martin@xemacs.org>
4318 * glyphs.h: order rearrangement.
4320 * device-tty.c (tty_asynch_device_change): Warning suppression.
4321 * device-x.c (x_device_system_metrics): Warning suppression.
4322 Make Doc strings consistent with coding standards.
4324 1998-05-24 Martin Buchholz <martin@xemacs.org>
4326 * general.c: multiple definition of `Qicon'. general.c seems
4327 like a good home for Qicon.
4329 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4331 * This patch is to fix compilation warnings under Windows.
4333 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4334 Added prototypes for FSF inherited functions, with which XEmacs is
4335 sprinkled thoroughly.
4336 Removed some #if 0 code. Bracketed some more definitions, probably
4337 related to Visual C versions prior to 4 (we do not support them).
4339 * sysfloat.h (logb): Finally, get logb() prototyped.
4341 * sysfile.h: Added Windows specific includes.
4342 Removed old Windows specific code bracketed with #if 0.
4344 * sysdep.h: Added prototype for xrealpath().
4346 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4348 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4349 vars_of_dired_mswindows and init_ntproc (Grrr).
4351 * realpath.c: Added Windows specific include files.
4352 (xrealpath): Conditionalized declaration of some auto variables on
4353 S_IFLNK, to avoid warnings.
4355 * ntproc.c: Disabled some compiler warnings. This file is going to
4356 die, so I have not cleaned it up much.
4357 (set_process_dir): Const parameter.
4358 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4359 (Fwin32_long_file_name): Ditto.
4360 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4363 * nt.h: Added prototypes for set_process_dir and convert_time.
4365 * nt.c: More include files.
4366 (getpwnam): Consted char* argument.
4367 (get_emacs_configuration): Const return value.
4368 (opendir): Const argument.
4369 (stat): Casted converstion long->short.
4370 (stat): Removed ad hoc and questionable support for non-MSC compile.
4371 (sys_pipe): Removed unused auto variable.
4372 (_sys_read_ahead): Removed calls to DebPrint.
4373 (sys_read): Ditto, in 2 places.
4374 (term_ntproc): Added unused int parameter to signal handler, to
4375 avoid a warning when compiling a call to signal().
4376 (msw_sigset): Properly return old signandler or NULL instead of void.
4378 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4380 * gmalloc.c (morecore): Ditto.
4381 (_free_internal): Ditto.
4383 * lread.c (parse_integer): Ditto.
4385 * dired-msw.c: Added several include files.
4387 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4388 of Compilers to Shut Up.
4390 * callproc.c: Added #includes to suppress warnings under Windows.
4391 (init_callproc): Removed #if0'ed code and unused variables.
4393 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4395 * device-msw.c (mswindows_device_system_metrics): do planes in a
4396 way consistent with X.
4398 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4399 use SetPixel, use DIBits functions.
4400 (xpm_to_eimage): frob colors more closely like xpm deos.
4402 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4403 to be closer to X version.
4405 * event-msw.c: use tooltip string directly.
4407 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4409 * objects-msw.c: frob rgb colors that only Kyle uses.
4411 * dialog-msw.c (button_width): INLINE -> inline.
4413 1998-05-23 SL Baur <steve@altair.xemacs.org>
4415 * getloadavg.c (getloadavg): Fix typo.
4417 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4419 * objects-msw.c (mswindows_initialize_font_instance): Added support
4420 for font character sets.
4421 Replaced 'XXX' with '####' in comments throughout the file.
4423 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4425 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4426 console_type_create_dialog_mswindows(), to initialize Windows dialog
4429 * symsinit.h: Prototyped the above functions.
4431 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4432 checks to dialog.c...
4434 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4435 device must support dialog boxes, and the descriptor must supply at
4438 * dialog-msw.c: New file, dialogs for Windows.
4440 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4442 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4443 (Fldap_search_internal): Removed unused variable `err'
4445 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4448 1998-05-17 Martin Buchholz <martin@xemacs.org>
4450 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4451 defined. Therefore there is no need to handle the case when
4452 HAVE_LDAP is undefined. Similarily, there is no reason to have
4453 any code wrapped within `#ifdef emacs', since this code is only
4454 useful within an emacs. This simplifies the code significantly.
4456 * inline.c: Include eldap.h only if HAVE_LDAP.
4457 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4460 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4462 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4463 printing dump stats when building without DEBUG_XEMACS.
4464 (dump_bss_and_heap): Ditto.
4466 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4468 * gnuclient.c: don't suppress window system if there is no display
4469 and we are running under mswindows. send 'mswindows device type if
4470 we are in this situation.
4472 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4475 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4477 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4480 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4482 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4483 {top,bottom}-{left,right} values in addition to
4484 {top,bottom}_{left,right}.
4486 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4488 * fileio.c (Fmake_temp_name): Remove unreached code.
4490 * process-nt.c (validate_signal_number): Use
4491 signal_simple_error().
4493 1998-05-19 Martin Buchholz <martin@xemacs.org>
4496 * sound.c (vars_of_sound):
4497 * sysdep.c (reset_sigio_on_device):
4498 * window.c (window_bottom_gutter_height):
4499 unexhp9k800.c:258: warning: implicit declaration of function
4500 `calculate_checksum'
4501 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4502 sysdep.c:1012: warning: unused variable `owner'
4503 window.c:993: warning: `window_right_toolbar_width' defined but not used
4505 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4507 * glyphs-msw.c (mswindows_create_resized_mask)
4508 (mswindows_create_resized_bitmap): new funnctions split out from
4509 mswindows_resize_dibitmap_instance.
4511 * glyphs-msw.h: declare new resize functions.
4513 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4514 functions so that the original bitmaps are preserved.
4516 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4518 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4519 color if we are trying to output 0 depth bg pixmap.
4521 * scrollbar-msw.c: warning elimination.
4523 1998-05-18 Martin Buchholz <martin@xemacs.org>
4525 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4526 directives in column 1.
4528 * search.c (skip_chars): Avoid using xzero with arrays, since some
4529 compilers get confused by the construct &array.
4531 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4534 * objects-msw.c: Changed the charset value for a new font from
4535 "don't care" to "ansi".
4537 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4539 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4541 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4542 modifier on control chars.
4543 Use IsCharAlpha() instead of isaplha().
4545 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4547 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4549 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4551 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4552 charset when creating font.
4553 (mswindows_initialize_color_instance): Do not create brush along
4555 (mswindows_finalize_color_instance): Do not delete it then.
4557 * objects-msw.h (struct mswindows_color_instance_data): Removed
4558 brush slot, and corresponding accessor macro.
4560 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4562 * toolbar.c: Removed toolbar_data lrecord implementation.
4563 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4564 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4565 (compute_frame_toolbar_buttons): Ditto.
4566 (CHECK_TOOLBAR): Ditto.
4567 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4568 (update_frame_toolbars): Do not check for changed buffer
4569 here. Toolbar information is provided by cached specs in
4570 windows. The check for buffer is eliminated becuase toolbars are
4571 marked changed in set_frame_selected_window() in frame.c
4572 Added check for changed toolbars geometry.
4573 (compute_frame_toolbars_data): Removed unused second parameter;
4574 Adjusted callers of this static function throughout the file.
4575 (init_frame_toolbars): Initialize current_toolbar_size.
4576 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4577 what is its current expansion, for clarity.
4578 (init_frame_toolbars): Ditto.
4579 (init_device_toolbars): Ditto.
4580 (init_global_toolbars): Ditto.
4582 * toolbar.h: Removed definition of toolbar_data lrecord.
4583 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4584 FRAME_CURRENT_TOOLBAR_SIZE.
4585 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4587 * toolbar-x.c (x_output_toolbar): The same change as in
4589 (x_output_toolbar): Ditto.
4590 (x_redraw_exposed_toolbar): Ditto.
4592 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4593 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4594 (mswindows_output_toolbar): Ditto.
4595 (mswindows_output_toolbar): Ditto.
4597 * frame.c (mark_frame): Removed marking of arrays, according to
4598 frameslots.h change.
4599 (nuke_all_frame_slots): Ditto.
4600 (set_frame_selected_window): Mark toolbars changed when
4601 last_nonminibuf_window changes.
4603 * frame.h (struct frame): Moved some slots to frameslots.h.
4604 Added current_toolbar_size array.
4605 Changed references from toolbar_data to toolbar_buttons in macros
4606 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4607 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4608 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4610 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4611 Moved arrays of lisp objects here from frame.h: toolbar_size,
4612 toolbar_visible_p, toolbar_border_width.
4613 Removed toolbar_data slot and added toolbar_buttons.
4615 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4617 * symsinit.h: Externed syms_of_process_nt()
4619 * emacs.c (main_1): Call syms_of_process_nt()
4621 * process-nt.c: Quote process arguments by a call to Lisp function
4622 `nt-quote-process-args'.
4623 (syms_of_process_nt): New function.
4624 (nt_send_process): Flush data stream after each write, to avoid
4625 leaving buffered data.
4626 (nt_send_process): When blocked on process output, wait for
4627 process to slurp more for progressively increasing time intervals.
4629 1998-05-17 Martin Buchholz <martin@xemacs.org>
4631 * window.c (have_undivided_common_edge): Make file-local function
4633 (map_windows): Return 0 if all map functions successful.
4636 * winslots.h: Use unlikely names for local variables in macros to
4637 avoid shadowing warnings.
4639 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4641 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4642 so that we re-output if the toolbar size has changed.
4644 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4646 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4648 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4650 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4653 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4655 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4656 get bitmap manifest constants defined.
4658 * console-msw.h: Include system files in angle brackets, not in
4661 * window.c (specifier_vars_of_window): Fixed a typo in
4662 `vertical-divider-line-width' docstirng.
4664 1998-05-16 Olivier Galibert <galibert@pobox.com>
4666 * line-number.c (delete_invalidate_line_number_cache): Use an
4668 (buffer_line_number): Remove dangerous, plain wrong when using
4669 64bits emacs ints, cast.
4671 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4673 * cmds.c (Fforward_line): Use EMACS_INTs.
4675 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4676 (scan_buffer): Ditto.
4677 (bi_find_next_newline_no_quit): Remove useless cast.
4678 (find_next_newline_no_quit): Ditto.
4679 (find_next_newline): Ditto.
4680 (find_before_next_newline): Use an EMACS_INT.
4682 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4684 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4686 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4688 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4690 * gui-x.c (popup_selection_callback): Use it.
4692 * gui.h (get_callback): Declare it.
4694 * gui.c (get_callback): New function.
4696 1998-05-15 SL Baur <steve@altair.xemacs.org>
4698 * window.c (have_undivided_common_edge): Guard scrollbar specific
4700 (window_needs_vertical_divider_1): Ditto.
4702 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4704 * emacs.c (decode_path): Eliminate compiler warning.
4705 (Fdecode_path): Renamed to Fsplit_path.
4706 (Fsplit_string_by_char): New function.
4708 1998-05-14 Damon Lipparelli <lipp@primus.com>
4710 * winslots.h: close comment
4712 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4714 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4716 * bufslots.h: Removed buffer_file_type slot.
4718 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4720 (complex_vars_of_buffer): Removed buffer-file-type variable and
4721 its default reference.
4723 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4725 * faces.c (complex_vars_of_faces): Defined
4726 Vvertical_divider_face.
4727 (vars_of_faces): Staticpro it.
4729 * faces.h: Externed Vvertical_divider_face.
4731 * redisplay-x.c (x_output_vertical_divider): Use
4732 Vvertical_divider_face to draw the divider instead of modeline
4735 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4736 divider face using Vvertical_divider_face background.
4737 Fix drawing spacing gaps around the divider.
4739 1998-05-14 Didier Verna <verna@inf.enst.fr>
4741 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4742 values for the vertical divider line width and spacing. Use the
4743 cached values from the window structure instead.
4744 (x_divider_width): ditto.
4746 * window.c (specifier_vars_of_window): new specifiers:
4747 vertical-divier -line-width and -spacing.
4748 (vertical_divider_global_width_changed): formerly known as
4749 vertical_divider_shadow_thickness_changed.
4751 * winslots.h: new slots: vertical_specifier _line_width and
4752 _spacing. Plus corrected a comment typo.
4754 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4756 * window.h: Declared window_divider_width().
4758 * console-stream.c (stream_divider_width): Removed method.
4759 (console_type_create_stream): And declaration for it.
4761 * redisplay.c (pixel_to_glyph_translation): Use
4762 window_divider_width() instead of divider_width redisplay method.
4763 (pixel_to_glyph_translation): Fix top divider edge calculation
4764 when scrollbar is on top.
4766 * window.c (window_divider_width): New function, an outphaser for
4767 divider_width redisplay method.
4768 (window_right_gutter_width): Use it.
4769 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4770 specifiers, set fallback values differently on TTYs, and document
4771 the behavior of these on TTYs in the docstrings.
4773 * scrollbar.c (update_scrollbar_instance): Use
4774 window_divider_width() instead of divider_width redisplay method.
4776 * console.h (struct console_methods): Removed divider_width_method.
4778 * redisplay-tty.c (tty_divider_width): Removed device method.
4779 (console_type_create_redisplay_tty): Removed definition for it.
4780 (tty_output_vertical_divider): Respect the value returned by
4781 window_divider_width thus divider line width specification.
4783 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4784 (console_type_create_redisplay_mswindows): Removed definition for it.
4785 (mswinodws_output_vertical_divider): Respect the value returned by
4786 window_divider_width thus divider line width specification.
4788 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4790 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4792 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4794 * glyphs-msw.c: resource loading implementation.
4795 (cursor_normalize): new function.
4796 (cursor_validate): ditto.
4797 (cursor_instantiate): ditto.
4798 (cursor_name_to_resource): ditto.
4799 (cursor_possible_dest_types): ditto.
4800 (check_valid_symbol): ditto.
4801 (check_valid_string_or_int): ditto.
4803 1998-05-14 Martin Buchholz <martin@xemacs.org>
4805 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4808 * process-unix.c (process_signal_char): Use VSUSP instead of
4809 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4811 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4813 * specifier.c (specifier_instance): Change locale precedence of
4814 instantiation so window locale has higher priority than buffer
4816 (Fspecifier_instance): Reflect this in docstring.
4817 (Fadd_spec_list_to_specifier): Ditto.
4818 (Fadd_spec_to_specifier): Ditto.
4819 (Fremove_specifier): Ditto.
4821 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4823 ** Dialog separation into a device method from Andy Piper
4825 * emacs.c (main_1): Call console_type_create_dialog_x().
4827 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4828 into this device method.
4829 (console_type_create_dialog_x): New function.
4831 * dialog.c (Fpopup_dialog_box): New function.
4832 (syms_of_dialog): Defsubr it.
4834 * console.h (struct console_methods): Declared
4835 popup_dialog_box_method().
4837 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4839 1998-05-14 Oliver Graf <ograf@fga.de>
4841 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4842 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4844 1998-05-13 Oliver Graf <ograf@fga.de>
4846 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4848 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4850 * console.h (device_metrics): Removed dbcs, input-method-editor
4851 and right-to-left metrics.
4853 * device.c (Fdevice_system_metric): Ditto.
4854 (Fdevice_system_metrics): Ditto.
4855 (syms_of_device): Ditto.
4856 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4859 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4861 * line-number.h (mark_line_number_cache): Remove unused
4864 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4865 (get_nearest_line_number): Simplify.
4866 (add_position_to_cache): Make the old marker point nowhere.
4868 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4870 ** Renamed window-divider-map => vertical-divider-map
4871 and event-over-divider-p => event-over-vertical-divider-p,
4872 in the following files/functions:
4874 * events.c (Fevent_over_divider_p):
4875 * keymap.c (get_relevant_keymaps):
4878 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4880 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4882 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4884 * window.c (vertical_divider_changed_in_window): Renamed so.
4885 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4886 (window_needs_vertical_divider_1): Decide whether we need it based
4887 on the value of the above specifier. If separators are unwanted,
4888 put them only if there's no scrollbar between this window and its
4890 (have_undivided_common_edge): New function, helper for the above.
4891 (window_needs_vertical_divider): Return either a cached value,
4892 or clauclate and cache one.
4893 (invalidate_vertical_divider_cache_in_window): Implemented.
4894 (map_windows): Changed return type to int, return the value from
4897 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4898 (struct window): Added need_vertical_divider_p and
4899 need_vertical_divider_valid_p.
4901 * winslots.h: Added vertical_divider_draggable_p slot.
4903 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4904 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4906 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4908 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4909 invalidate_vertical_divider_cache_in_frame().
4912 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4914 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4916 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4917 masks correctly and don't select 0.
4919 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4921 * winslots.h: New file, declaration of some struct window and
4922 struct saved_window members.
4924 * window.h (struct window): Include it, with required preprocessor
4927 * window.c (mark_window): Ditto.
4928 (allocate_window): Ditto.
4929 (struct saved_window): Ditto.
4930 (mark_window_config): Ditto.
4931 (saved_window_equal): Ditto.
4932 (Fset_window_configuration): Ditto.
4934 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4936 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4938 1998-05-12 Didier Verna <verna@inf.enst.fr>
4940 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4941 the divider line. The shadow thickness is currently
4942 hard-wired. This will probably be turned into a specifier soon.
4944 1998-05-12 Didier Verna <verna@inf.enst.fr>
4946 * console.h (struct console_methods): the divider_width console
4947 method now requires a struct window * argument.
4949 * redisplay-x.c (x_divider_width): ditto. Plus remove
4950 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4951 (x_output_vertical_divider): give a depressed look when the shadow
4952 thickness is negative.
4954 * console-stream.c (stream_divider_width): pass a struct window *
4957 * redisplay-tty.c (tty_divider_width): ditto.
4959 * window.c (window_right_gutter_width): totdi.
4961 * redisplay.c (generate_modeline): ittod.
4963 * scrollbar.c (update_scrollbar_instance): ttido.
4965 * redisplay-msw.c (mswindows_divider_width): ottid.
4966 WARNING: this enables to compile, but the feature is not functional.
4968 * window.h (struct window): new field
4969 vertical_divider_shadow_thickness.
4971 * window.c (specifier_vars_of_window): new specifier
4972 vertical-divider-shadow-thickness.
4973 (vertical_divider_shadow_thickness_changed): new function to
4974 inform redisplay that the window has changed.
4975 (mark_window): handle new field vertical_divider_shadow_thickness
4977 (allocate_window): ditto.
4978 (saved_window_equal): toddi.
4979 (Fset_window_configuration): totid.
4980 (save_window_save): ttdio.
4981 (struct saved_window): new field vertical_divider_shadow_thickness.
4983 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4985 * device-msw.c (mswindows_device_system_metrics): Support a deluge
4988 1998-05-12 Oliver Graf <ograf@fga.de>
4990 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
4991 * event-Xt.c (x_event_to_emacs_event): C++ compability
4993 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4995 * emacs.c (Fdecode_path): Default SEPCHAR to value of
4998 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5000 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5003 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5005 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5007 * emacs.c (decode_path_1): New function.
5008 (decode_path): Use it.
5009 (Fdecode_path): Renamed from Fdecode_path_internal; use
5012 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5014 * macros.c (Fzap_last_kbd_macro_event): New function.
5015 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5017 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5019 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5020 multiple bitmaps are output vertically as well as horizontally.
5021 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5022 crossing lines this is handled by
5023 mswindows_output_dibitmap_region.
5025 1998-05-12 Martin Buchholz <martin@xemacs.org>
5027 * inline.c: Include eldap.h
5029 * menubar-x.c (x_update_frame_menubar_internal):
5030 Remove: unused variable `container'
5032 1998-05-11 Martin Buchholz <martin@xemacs.org>
5034 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5035 Unfortunately, the resulting temacs still cannot dump.
5037 * symbols.c (symbol_is_constant):
5038 (verify_ok_for_buffer_local):
5039 -Wswitch Warning suppression - add default case to switches.
5041 * redisplay.c (decode_mode_spec): Remove unused variables,
5042 Replace Fcoding_system_property (codesys, Qmnemonic) with
5043 XCODING_SYSTEM_MNEMONIC (codesys);
5044 Fcoding_system_property is for users.
5050 Change empty docstrings into no doc strings at all.
5051 Fix bogus FSF-format docstrings.
5054 Standardize docstrings.
5057 Explain problems with matherr.
5059 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5062 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5063 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5064 Fix the weird resultant interaction (causes windows problems)
5068 Take new EMACSBOOTSTRAPLOADPATH into account.
5069 Update documentation strings
5072 - Adjust for luser's CDPATH being set to something weird.
5073 - Take into account bash 2.02's tendency to print the cwd when
5074 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5075 - fix the run-temacs target to use $(DUMPENV)
5076 - fix the run-puremacs target to use $(DUMPENV)
5077 - fix the `depend' target to properly $(RM) the right files
5078 - Generate a better TAGS file for XEmacs' lisp code using
5079 hand-crafted regexps.
5080 - Use standard coding conventions for modules/Makefile.in
5082 1998-05-12 Didier Verna <verna@inf.enst.fr>
5084 * redisplay.c: removed the scrolling modeline code that didn't
5085 make it for 21.0. To be continued ...
5087 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5089 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5090 and empty string inputs.
5092 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5094 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5096 1998-05-10 Oliver Graf <ograf@fga.de>
5098 * event-stream.c (enqueue_misc_user_event_pos): created
5099 * lisp.h (enqueue_misc_user_event_pos): prototype added
5100 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5101 * emacs.c: call vars_of_dragdrop
5102 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5104 1998-05-11 Oliver Graf <ograf@fga.de>
5106 * frame-x.c (x_cde_transfer_callback): return at correct pos
5107 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5108 object for MIME (see comment in dragdrop.c)
5109 * dragdrop.c: API change documented in comment
5110 removed provide of dragdrop [is provided by dragdrop.el]
5112 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5114 * window.c (window_needs_vertical_divider): Enable vertical
5115 dividers for every non-rightmost window.
5116 (window_left_gutter_width): Left gutter consists of mythical
5117 toolbar and a virtual scrollbar.
5118 (window_right_gutter_width): The right one may have a divider
5121 * scrollbar.c (update_scrollbar_instance): Position vertical
5122 scrollbar left to divider if the latter present.
5124 * redisplay.h: Declared OVER_DIVIER constant.
5126 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5129 * redisplay-x.c (x_output_vertical_divider): Output divider along
5130 the right side of the window, down to window bottom. Swapped
5131 foreground and background colors so it is visible by default.
5133 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5134 stick the divider to the right window side.
5136 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5138 (mswindows_divider_width): Ask system for user preferred value.
5139 (mswindows_output_vertical_divider): Always output the divider on
5140 the right side of a window, down to bottom.
5142 * keymap.c (get_relevant_keymaps): Route mouse button events which
5143 happened over a window divider through window-divider-map.
5144 (Fkey_binding): Documented that in the docstring.
5145 Defined the variable Vwindow_divider_map.
5147 * events.c (Fevent_over_divider_p): Added this function.
5149 * events.h: EXFUNed it.
5151 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5153 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5154 toolbar geometry is suspected to change.
5156 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5160 Condition dnd and dde code on HAVE_DRAGNDROP.
5162 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5164 * events.c (format_event_object): Print space as SPC etc.
5166 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5168 * print.c (print_internal): In the default case, abort() if
5169 ERROR_CHECK_TYPECHECK.
5171 * fileio.c (Fmake_temp_name): Doc fix.
5173 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5175 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5177 * undo.c (Fprimitive_undo): Fixed typo.
5179 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5181 * fns.c (concat): Signal error on integer argument.
5183 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5185 * console.h (device_metrics): Prefixed each constatnt with DM_
5187 * device.c: (Fdevice_system_metric): Renamed so from plural form
5188 (metrics); Changed parameters order and added DEFAULT parameter;
5189 Unabbreviated some metric constants; Fixed and untabified doc string.
5190 (Fdevice_system_metrics): Added. Returns a plist of all provided
5193 * device-msw.c (mswindows_device_system_metrics): Renamed
5194 device_metrics enum constants.
5195 Return Qunbound instead of Qnil.
5197 * device-tty.c (tty_device_system_metrics): Ditto.
5199 * device-x.c (x_device_system_metrics): Ditto.
5201 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5203 * redisplay-msw.c: implement background pixmaps (really!). Make
5204 sure bg color is transparent if we have bg pmaps.
5205 * (mswindows_output_string) (mswindows_clear_region): output bg
5207 * (mswindows_output_dibitmap_region): new function.
5208 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5209 the bg color rather than transparently.
5211 * toolbar-msw.c: use masks if they exist.
5213 * glyphs-msw.c: set up masks correctly.
5215 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5217 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5219 * regex.c (re_match_2_internal): Check for quit.
5221 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5223 * frame.c (Ffocus_frame): New function.