1 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-canna.c (c2mu): New implementation for UTF2000.
6 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
8 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
10 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
12 * file-coding.c (reset_encoding_stream): Set 0 to
13 `str->iso2022.current_char_boundary' in UTF2000.
14 (encode_utf8): Don't define in UTF2000.
15 (encode_coding_utf8): New implementation for UTF-8 representation
17 (complex_vars_of_file_coding): Define coding-system `utf-8'.
19 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
21 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
23 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
25 (REP_BYTES_BY_FIRST_BYTE): Likewise.
27 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
29 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
30 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
32 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
33 (non_ascii_valid_char_p): Don't define in UTF2000.
34 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
35 (Lstream_get_emchar_1): Likewise.
36 (utf-2000-version): New variable in UTF2000.
38 * lread.c (read_escape): Add new reader `u'.
40 * insdel.c (three_to_one_table): Don't define in UTF2000.
41 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
42 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
44 (bytind_to_bufpos_func): Likewise.
45 (buffer_mule_signal_inserted_region): Likewise.
46 (vars_of_insdel): Don't initialize `three_to_one_table'.
47 (init_buffer_text): Use `buf->text->mule_size' instead of
48 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
51 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
52 UTF-8 representation in UTF2000.
53 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
54 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
55 (decode_coding_iso2022): Don't define local variable `lb' in
56 UTF2000; don't use LEADING_BYTE in UTF2000; use
57 `DECODE_ADD_UCS_CHAR' in UTF2000.
58 (convert_to_external_format): Decode as UTF-8 in UTF2000.
60 * config.h.in (UTF2000): New macro.
62 * buffer.h (struct buffer_text): Add new member `mule_size' and
63 don't add `mule_shifter' and `mule_three_p' in UTF2000.
64 (valid_char_p): Return always 1 in UTF2000.
65 (MAX_EMCHAR_LEN): 6 in UTF2000.
66 (three_to_one_table): Don't define in UTF2000.
67 (real_bufpos_to_bytind): Modify for UTF-8 representation in
69 (real_bytind_to_bufpos): Likewise.
71 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
73 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
75 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
76 representation change.
77 (Vutf_2000_version): New variable.
78 (leading_code_private_11): New variable.
79 (syms_of_mule_charset): Add new variables `utf-2000-version' and
80 `leading-code-private-11'.
82 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
83 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
84 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
85 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
86 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
87 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
88 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
89 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
90 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
91 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
92 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
93 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
94 (MIN_CHAR_GREEK): New macro.
95 (MAX_CHAR_GREEK): New macro.
96 (MIN_CHAR_CYRILLIC): New macro.
97 (MAX_CHAR_CYRILLIC): New macro.
98 (MIN_CHAR_HEBREW): New macro.
99 (MAX_CHAR_HEBREW): New macro.
100 (MIN_CHAR_THAI): New macro.
101 (MAX_CHAR_THAI): New macro.
102 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
103 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
104 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
105 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
106 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
107 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
108 (CHAR_FIELD2): New inline function.
109 (CHAR_FIELD3): New inline function.
110 (MULE_CHAR_PRIVATE_OFFSET): New macro.
111 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
112 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
113 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
114 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
115 (MIN_CHAR_COMPOSITION): Likewise.
116 (CHAR_LEADING_BYTE): Modified for character representation change.
117 (MAKE_CHAR): Likewise.
119 * lisp.h (Vcharset_latin_iso8859_1): New variable.
120 (Vcharset_greek_iso8859_7): Likewise.
121 (Vcharset_cyrillic_iso8859_5): Likewise.
122 (Vcharset_hebrew_iso8859_8): Likewise.
123 (Vcharset_thai_tis620): Likewise.
124 (Vcharset_katakana_jisx0201): Likewise.
126 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
128 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
130 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
131 of coding-category `no-conversion'.
133 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
135 * file-coding.c (Qraw_text): New variable.
136 (syms_of_mule_coding): Add new symbol `raw-text'.
137 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
138 define coding-system `binary' independently; define coding-system
139 `no-conversion' as an alias for `raw-text'.
141 * file-coding.h (Qraw_text): New variable.
143 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
145 * mule-charset.c (complex_vars_of_mule_charset): Registry of
146 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
149 1999-06-08 SL Baur <steve@xemacs.org>
151 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
153 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
155 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
157 (base64_decode_1): Signal errors instead of returning -1.
159 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
161 * mule-charset.c (Fmake_char): Update docstring.
163 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
165 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
167 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
169 * fns.c (base64_decode_1): Allow and ignore any non-base64
172 1999-05-27 Olivier Galibert <galibert@pobox.com>
174 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
175 of report_pure_usage().
177 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
179 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
181 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
183 * XEmacs 21.2.15 is released
185 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
187 * frame.c (Fset_mouse_position):
188 (Fset_mouse_pixel_position):
189 * window.c (Fsplit_window):
190 (Fmove_to_window_line):
191 Fix crash when invoking functions with an already-deleted window
194 * indent.c (vertical_motion_1):
196 (Fvertical_motion_pixels):
197 * window.c (Fwindow_displayed_text_pixel_height):
198 Fix error message when invoking functions with an already-deleted
201 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
203 * sysdep.c (request_sigio_on_device): Guard against glibc
204 2.1's stub streams implementation.
206 1999-06-03 SL Baur <steve@xemacs.org>
209 * emacs.c: Implement x.y.z version numbers
210 From Jan Vroonhof <vroonhof@math.ethz.ch>
212 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
214 * mule-charset.c (complex_vars_of_mule_charset): Registry of
215 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
218 1999-06-03 SL Baur <steve@xemacs.org>
221 * device-x.c: rename session option to wmcommand.
222 From Oliver Graf <ograf@rhein-zeitung.de>
224 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
226 * fns.c (Fsubstring): Don't traverse the same region twice with
227 charcount_to_bytecount().
229 1999-06-03 SL Baur <steve@steve1.m17n.org>
231 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
234 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
235 doesn't really work as is implied by the commentary).
236 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
238 1999-06-02 SL Baur <steve@steve1.m17n.org>
240 * symsinit.h: Declare vars_of_ntproc.
241 * emacs.c (main_1): Call it.
243 * ntproc.c (syms_of_ntproc): Move variable initializations from
245 (vars_of_ntproc): ... to here [new function].
247 * file-coding.c (syms_of_file_coding): Rename.
248 (vars_of_file_coding): Ditto.
249 (complex_vars_of_file_coding): Ditto.
251 * symsinit.h: Rename *_mule_coding to *_file_coding.
253 * emacs.c (main_1): Call them by the proper name.
255 * device-msw.c (syms_of_device_mswindows): Move variable
256 initializations from here ...
257 (vars_of_device_mswindows): ... to here.
259 * chartab.c (vars_of_chartab): New function.
261 * symsinit.h: New function, vars_of_chartab.
263 * emacs.c (main_1): Call it.
265 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
266 (vars_of_mule_canna): ... to here.
268 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
269 initializations out of syms_of_mule_ccl.
271 * symsinit.h: Declare new function vars_of_mule_ccl.
273 * emacs.c (main_1): Call it.
275 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
277 * fns.c (base64_decode_1): Ignore whitespace.
279 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
281 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
284 1999-05-21 Andy Piper <andy@xemacs.org>
286 * xselect.c: deleted.
288 * symsinit.h: declare select initialisation.
290 * select.h: new file. declare commonly used select functions and
293 * select.c: new file. generalised from xselect.c.
294 (clean_local_selection_data): moved from xselect.c.
295 (get_local_selection): ditto. device specific pieces called via a
297 (handle_selection_clear): ditto.
298 (Fown_selection_internal): renamed and generalised from
299 Fx_own_selection_internal. moved from xselect.c.
300 (Fdisown_selection_internal): ditto.
301 (Fselection_owner_p): ditto.
302 (Fselection_exists_p): ditto.
303 (Fget_selection_internal): ditto.
304 (syms_of_select): new function. QXXXX values moved from xselect.c
305 (vars_of_select): new function. selection_converter_alist,
306 lost_selection_hooks moved and renamed from xselect.c
308 * select-x.c: renamed from xselect.c.
309 (x_own_selection): converted to device specific. non-X-specific
310 bits moved to select.c.
311 (x_get_foreign_selection): ditto.
312 (x_disown_selection): ditto.
313 (x_selection_exists_p): ditto.
314 (console_type_create_select_x): new function.
316 * select-msw.c (mswindows_own_selection): new device method to set
317 the clipboard when we 'own' the selection.
318 (mswindows_get_foreign_selection): new device method to get the
320 (mswindows_disown_selection): new device method to delete the
321 selection when we 'disown' it.
322 (console_type_create_select_mswindows): new function.
324 * emacs.c (main_1): add select to things to initialise.
326 * console.h (struct console_methods): new console methods for
329 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
331 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
333 * print.c (long_to_string): Install a faster version.
335 1999-05-16 Andy Piper <andy@xemacs.org>
337 * ntproc.c (syms_of_ntproc): default
338 win32-start-process-share-console to t.
340 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
342 * config.h.in: Do it here.
344 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
346 1999-05-14 Andy Piper <andy@xemacs.org>
348 * toolbar-msw.c (mswindows_output_toolbar): hash on something
351 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
353 * XEmacs 21.2.14 is released
355 1999-05-12 Andy Piper <andy@xemacs.org>
357 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
359 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
361 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
362 run_temacs_argv array -- fixes random memory corruption crash
364 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
366 * window.c (Fcurrent_window_configuration):
367 Save minibuffer height;
369 * window.c (set_window_configuration): use it.
371 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
373 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
375 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
377 * redisplay.c (redisplay_window): Do not put data
378 in the line start cache if it is not guaranteed to be correct
380 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
382 * window.c (struct window_config): Removed frame
384 (window_config_equal): No longer compare frame sizes.
385 (Fset_window_configuration): Resize old top window to fit in the
386 current frame directly, no longer use a fake frame resize.
387 (Fcurrent_window_configuration): No longer save frame size
389 1999-05-11 Andy Piper <andy@xemacs.org>
391 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
394 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
396 * sysdep.c (init_system_name): If gethostname gives a proper
397 domain name, don't look further for one.
399 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
401 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
402 (Fintern_soft): Accept a symbol argument.
404 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
406 * symbols.c (Fintern): ...do it here.
408 * lread.c (read_atom): Don't handle keywords here.
410 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
412 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
414 1999-05-03 Olivier Galibert <galibert@pobox.com>
416 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
417 is interned in the main obarray.
419 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
421 * menubar-x.c (pre_activate_callback): set accelerator field in
422 "No menu" entries to nil. Avoid crash in
423 command_builder_operate_menu_accelerator
425 1999-05-03 Olivier Galibert <galibert@pobox.com>
427 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
429 * lisp.h (DEFUN): Fix lrecord header initialisation.
431 1999-05-02 Andy Piper <andy@xemacs.org>
433 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
435 * ntproc.c (sys_kill): cast using MS mandated defines.
437 1999-04-29 Andy Piper <andy@xemacs.org>
439 * m/intel386.h: remove redundant definitions.
441 * s/mingw32.h: new header for mingw32.
443 * unexnt.c: (open_input_file): function moved to nt.c.
444 (close_file_data): ditto.
445 (rva_to_section): function moved to ntproc.
447 * symsinit.h: declare syms_of_ntproc();
449 * objects-msw.c (mswindows_font_instance_truename): new function.
451 * ntproc.c: remove many warnings.
452 (_sys_read_ahead): moved from nt.c and made static.
453 (rva_to_section): moved from unexnt.c but not defined under
455 (win32_executable_type): implement what we can for mingw32
457 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
459 * ntheap.h: remove declarations of functions that are now static.
461 * ntheap.c: support static heap.
463 * nt.h: conditionalise X_OK definition.
465 * nt.c: eliminate many warnings and support mingw32.
466 (open_input_file): function moved from unexnt.c and made static
467 (close_file_data): ditto.
468 (_sys_read_ahead): moved to ntproc.c
470 * emacs.c: make sure syms_of_ntptroc gets called under windows.
472 * console-msw.h: support mingw32.
473 * getloadavg.c: ditto.
480 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
481 some systems don't have all of the encapsulated system calls.
483 * callproc.c: warning elimination.
484 * dired-msw.c: ditto.
485 * process-nt.c: ditto.
488 * Makefile.in.in: tweak : and ; for building under mswindows.
490 1999-04-26 Michael Harnois <mharnois@willinet.net>
492 * eldap.c (allocate_ldap): Adapt to the new semantics of
493 alloc_lcrecord_type().
495 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
497 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
499 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
501 * Delete mule-coding.c and mule-coding.h because they are not
504 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
506 * objects.c (print_font_instance): Check for NILP(f->device),
507 i.e. Vthe_null_font_instance.
508 (font_instance_truename_internal): ditto.
509 (Ffont_instance_properties): ditto.
511 1999-04-22 Olivier Galibert <galibert@pobox.com>
513 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
516 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
518 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
519 it easier to add new ones.
521 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
523 * symbols.c (reject_constant_symbols): Ditto.
524 (init_symbols_once_early): Ditto.
526 * print.c (print_symbol): Don't use ->obarray.
528 * symbols.c (Funintern): Ditto.
530 * alloc.c (Fmake_symbol): Don't set ->obarray.
532 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
534 * symbols.c (init_symbols_once_early): Removed
535 Vpure_uninterned_symbol_table.
536 (Fintern): Don't store to ->obarray field.
538 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
540 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
541 (eq_with_ebola_notice): Remove abracadabra support.
543 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
545 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
546 retrieve the distinguished names of entries
548 1999-03-08 Martin Buchholz <martin@xemacs.org>
550 * lread.c (read_escape): Make hex escapes read only two hex digits.
552 1999-04-05 Olivier Galibert <galibert@pobox.com>
554 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
555 * make-src-depend: Remove puresize-adjust.h.
556 * src-headers: Remove puresize-adjust.h.
557 * config.h.in: Kill everything purespace/gung-ho related.
559 * dbxrc: Make gung-ho mandatory.
562 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
563 c_readonly and lisp_readonly. Remove implementation arrays.
564 (C_READONLY_RECORD_HEADER_P): Added.
565 (LISP_READONLY_RECORD_HEADER_P): Added.
566 (SET_C_READONLY_RECORD_HEADER): Added.
567 (SET_LISP_READONLY_RECORD_HEADER): Added.
569 * lisp.h: Kill everything purespace/non gung-ho related.
570 (CHECK_C_WRITEABLE): Added.
571 (CHECK_LISP_WRITEABLE): Added.
573 (LISP_READONLY): Added.
575 * lisp-union.h: Make gung-ho mandatory.
576 * lisp-disunion.h: Ditto.
578 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
579 set_lheader_implementation calls.
581 (lisp_readonly): Added.
582 (make_string_nocopy): Added.
583 (Fpurecopy): Changed to do nothing. Kept the old documentation
584 for reference purposes for the next patches.
585 (sweep_lcrecords_1): Don't free C readonly lcrecords.
586 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
587 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
589 * fns.c: Make gung-ho mandatory.
590 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
594 * data.c: Make gung-ho mandatory.
595 (pure_write_error): Removed.
596 (c_write_error): Added.
597 (lisp_write_error): Added.
598 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
602 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
603 make_string or make_string_nocopy. Fix various
606 * lread.c: Remove everything purespace related.
607 (Flocate_file_clear_hashing): purified -> c_readonly.
608 (locate_file): Ditto.
609 (read_atom): make_pure_pname -> make_string.
611 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
613 (Fdump_emacs): Ditto.
615 * print.c (print_internal): Make gung-ho mandatory.
616 * ntheap.c (sbrk): Ditto.
617 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
618 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
620 * sheap.c (more_static_core): Remove puresize-adjust.h from
623 * syntax.c (complex_vars_of_syntax): make_pure_string ->
625 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
626 (vars_of_keymap): make_pure_string -> make_string_nocopy.
627 * events.c (deinitialize_event): Fix set_lheader_implementation.
629 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
630 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
631 * mule-charset.c (make_charset): Ditto.
632 * console.c (allocate_console): Ditto.
633 (complex_vars_of_console): Ditto.
634 * file-coding.c (allocate_coding_system): Ditto.
635 * device.c (allocate_device): Ditto
636 * gui-x.c (gcpro_popup_callbacks): Ditto.
637 * extents.c (allocate_extent_auxiliary): Ditto.
638 (allocate_extent_info): Ditto.
639 (copy_extent): Ditto.
640 * glyphs.c (allocate_image_instance): Ditto.
641 (allocate_glyph): Ditto.
642 * frame.c (allocate_frame_core): Ditto.
643 * database.c (allocate_database): Ditto.
644 * tooltalk.c (make_tooltalk_message): Ditto.
645 (make_tooltalk_pattern): Ditto.
646 * rangetab.c (Fmake_range_table): Ditto.
647 (Fcopy_range_table): Ditto.
648 * process.c (make_process_internal): Ditto.
649 * chartab.c (Fmake_char_table): Ditto.
650 (make_char_table_entry): Ditto.
651 (copy_char_table_entry): Ditto.
652 (Fcopy_char_table): Ditto.
653 * elhash.c (make_general_lisp_hash_table): Ditto.
654 (Fcopy_hash_table): Ditto.
655 * buffer.c (allocate_buffer): Ditto.
656 (complex_vars_of_buffer): Ditto.
657 * event-stream.c (allocate_command_builder): Ditto.
658 * objects.c (Fmake_color_instance): Ditto.
659 (Fmake_font_instance): Ditto.
660 (vars_of_objects): Ditto.
661 * toolbar.c (update_toolbar_button): Ditto.
662 * window.c (allocate_window): Ditto.
663 (make_dummy_parent): Ditto.
664 (Fcurrent_window_configuration): Fix alloc_lcrecord.
665 (vars_of_window): Fix make_lcrecord_list.
666 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
668 * lstream.c (Lstream_new): Fix make_lcrecord_list.
669 * opaque.c (make_opaque): Fix alloc_lrecord.
670 (make_opaque_list): Fix alloc_lrecord_type.
672 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
674 * process.c (Fstart_process_internal): Ditto.
676 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
679 * glyphs-x.c (x_locate_pixmap_file): Ditto.
681 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
684 * emodules.c (vars_of_module): New variable Vmodule_extensions.
685 (emodules_load): Use it when calling locate_file().
687 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
690 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
691 (vars_of_callproc): Initialize it.
692 (Fcall_process_internal): Use it when calling locate_file().
694 * alloc.c (disksave_object_finalization): Use
695 Flocate_file_clear_hashing().
697 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
698 given `t' as argument.
700 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
702 * lread.c (locate_file): Expand `pathel' when appropriate.
703 (Flocate_file_clear_hashing): Expand path elements.
704 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
706 * dired.c (make_directory_hash_table): Create the hash-table only
707 if the directory open is successful.
709 * lread.c (decode_mode_1): New function.
710 (decode_mode): Ditto.
711 (Flocate_file): Use them.
712 (Flocate_file): Expand FILENAME.
713 (locate_file_map_suffixes): New function.
714 (locate_file_in_directory_mapper): New function.
715 (locate_file_in_directory): Use locate_file_in_directory_mapper()
716 and locate_file_map_suffixes().
717 (locate_file_construct_suffixed_files): Use
718 locate_file_map_suffixes().
719 (locate_file_without_hash): Don't GCPRO path.
720 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
721 (syms_of_lread): Remove Qlocate_file_hash_table.
722 (locate_file_find_directory_hash_table): Use
723 Vlocate_file_hash_table.
724 (locate_file_refresh_hashing): Ditto.
726 * lread.c: Renamed read_objects to Vread_objects.
728 1999-04-16 Olivier Galibert <galibert@pobox.com>
730 * mule-charset.c: Generally resync with fsf 20.3 charset
732 (make_charset): Add long and short name. Use id instead of
734 (Fmake_charset): Ditto.
735 (Fmake_reverse_direction_charset): Ditto.
736 (Fcharset_property): Ditto.
737 (Fcharset_short_name): Added.
738 (Fcharset_long_name): Added.
739 (Fcharset_description): Renamed from charset-doc-string.
740 (syms_of_mule_charset): Synced symbols.
741 (complex_vars_of_mule_charset): Synced charsets.
743 * mule-charset.h: Removed leading byte (uses id instead), added
746 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
748 * file-coding.c (Fdefine_coding_system_alias): New function.
750 1999-04-08 Olivier Galibert <galibert@pobox.com>
752 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
753 and -ascii fonts for displaying ascii instead of iso8859-1 only.
755 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
757 * extents.c (set_extent_glyph_1): Make sure that the glyph we
758 attach to the extent is valid.
760 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
762 * dired.c (user_name_completion): Mule-ize.
763 (user_name_completion): Use xmalloc/xrealloc/xfree.
764 (user_name_completion): Use DO_REALLOC.
765 (user_name_completion): Cut down the number of static variables;
767 (user_name_completion): Username completion is always
770 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
772 * fns.c (base64_decode_1): Remove COUNTER.
773 (base64_decode_1): Accept CRLF in addition to CR.
774 (base64_decode_1): Disallow a stray character after final EOF; the
775 check was probably a remnant of buggy recode code.
777 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
779 * fns.c (init_provide_once): Provide `base64'.
781 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
783 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
784 (Fbase64_encode_region): If buffer is read-only, bail out early.
785 (Fbase64_decode_region): Ditto.
786 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
788 (Fbase64_encode_string): Ditto.
789 (Fbase64_decode_region): Ditto.
790 (Fbase64_decode_string): Ditto.
792 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
794 * dired.c (Fdirectory_files): Remove redundant code.
796 1999-03-05 Philip Aston <philipa@parallax.co.uk>
798 * frame-msw.c Make raise-frame restore minimised windows.
800 1999-03-05 Philip Aston <philipa@parallax.co.uk>
802 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
805 1999-03-05 Philip Aston <philipa@parallax.co.uk>
807 * toolbar-msw.c Consider captions when deciding whether to rebuild
808 toolbar. This fixes the initial toolbar display for those of us
809 who don't like captions. These patches applied by Andy Piper.
811 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
813 * XEmacs 21.2.13 is released
815 1999-03-12 SL Baur <steve@xemacs.org>
817 * file-coding.c: Guard ucs table initialization with ifdef MULE.
819 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
821 * file-coding.c: docstring and comment improvements.
822 (decode_ucs4) flag possible data loss with comment.
824 1999-03-10 Martin Buchholz <martin@xemacs.org>
826 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
830 (decode_coding_ucs4):
831 (encode_coding_ucs4):
832 (detect_coding_utf8):
833 (decode_coding_utf8):
835 (encode_coding_utf8):
836 Add CHECK_* macros where needed to avoid crashes.
837 #ifdef out all composite character support using
838 #ifdef ENABLE_COMPOSITE_CHARS
839 Use normal XEmacs coding standards.
841 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
843 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
845 * file-coding.c (make-coding-system): Add description about
847 (detection_state): Modify to implement ucs-4 and utf-8.
848 (detect_coding_type): Likewise.
849 (detect_coding_ucs4): New implementation.
850 (detect_coding_utf8): New implementation.
851 (encode_utf8): fixed.
852 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
855 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
857 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
858 2022 registry to private area.
860 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
862 * file-coding.c (encode_utf8): New function.
863 (encode_coding_utf8): New implementation.
865 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
867 * file-coding.c (ucs_to_mule_table): New variable; abolish
869 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
870 (set-ucs-char): New function.
871 (ucs_to_char): New function.
872 (ucs-char): New function.
873 (set-char-ucs): New function.
874 (char-ucs): New function.
875 (decode_ucs4): Use `ucs_to_char'.
876 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
879 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
881 * chartab.h: EXFUN `Fget_char_table'.
883 * file-coding.c (encode_ucs4): New function.
884 (encode_coding_ucs4): Use `encode_ucs4'.
886 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
888 * file-coding.c (decode_coding_ucs4): New implementation.
890 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
892 * file-coding.c (decode_coding_ucs4): fixed.
894 * file-coding.c (Vmule_to_ucs_table): New variable.
895 (mule_char_to_ucs4): New function.
896 (encode_coding_ucs4): New implementation.
897 (complex_vars_of_mule_coding): Define variable
900 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
902 * file-coding.c (decode_coding_utf8): New implementation.
904 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
906 * file-coding.c (decode_coding_utf8): fixed.
908 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
910 * file-coding.c (Vucs_to_mule_table): New variable.
911 (decode_ucs4): Refer `Vucs_to_mule_table'.
912 (complex_vars_of_mule_coding): Define variable
915 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
917 * file-coding.c (detect_coding_ucs4): New function (not
919 (decode_coding_ucs4): New function.
920 (encode_coding_ucs4): New function (not implemented yet).
921 (detect_coding_utf8): New function (not implemented yet).
922 (decode_coding_utf8): New function.
923 (encode_coding_utf8): New function (not implemented yet).
924 (make-coding-system): New type `ucs4' and `utf8'.
925 (coding-system-type): Likewise.
926 (detection_state): Add `ucs4' and `utf8'.
927 (detect_coding_type): Likewise.
928 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
929 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
930 (decode_ucs4): New function (very incomplete).
931 (syms_of_mule_coding): Add `ucs4' and `utf8'.
933 * file-coding.h: Add definitions for UCS-4 and UTF-8.
935 1999-03-08 Martin Buchholz <martin@xemacs.org>
938 (non_ascii_valid_char_p):
939 (lookup_composite_char):
940 (composite_char_string):
941 (make-composite-char):
942 (composite-char-string):
943 (syms_of_mule_charset):
944 (complex_vars_of_mule_charset):
945 * mule-charset.h (LEADING_BYTE_COMPOSITE):
948 * file-coding.h (CODING_STATE_COMPOSITE):
949 (CODING_STATE_ISO2022_LOCK):
951 (LEADING_BYTE_COMPOSITE):
952 * file-coding.c (struct iso2022_decoder):
956 (encode_coding_iso2022):
957 #ifdef out all composite character support using
958 #ifdef ENABLE_COMPOSITE_CHARS
960 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
962 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
964 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
965 way of `Fbase64_encode_region'.
967 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
969 * fns.c (base64_encode_1): Don't add a newline at the tail.
971 1999-03-08 Andy Piper <andy@xemacs.org>
973 * menubar-msw.c (displayable_menu_item): correct off-by-one &
976 1999-03-07 Martin Buchholz <martin@xemacs.org>
978 * console-stream.h (struct stream_console):
979 * event-unixoid.c (event_stream_unixoid_select_console):
980 (event_stream_unixoid_unselect_console):
981 * print.c (Fexternal_debugging_output):
982 * sysdep.c (reset_one_device):
983 * console-stream.c (stream_init_console):
984 (stream_delete_console):
985 (allocate_stream_console_struct): move into stream_init_console.
986 (free_stream_console_struct): move into stream_delete_console.
987 Use `fd' only for file descriptors.
988 Therefore, rename members of struct stream_console.
990 * systime.h: Unix98 says sys/time.h should define select(), but
991 some systems define that in unistd.h. So include that file always.
993 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
994 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
995 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
997 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1001 Add #include <stdio.h>.
1002 Some versions of assert.h use printf() without #include'ing stdio.h
1004 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1005 (log_gcpro): Remove unused variable FRAME.
1006 (show_gcprohist): Ansify.
1007 Comment the #endif's
1009 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1010 after it's just been XtDestroy'ed!
1012 1999-02-18 Martin Buchholz <martin@xemacs.org>
1014 * opaque.c (print_opaque):
1018 Egcs 1.1.1 seems to have a bug where
1019 INTP (p->size_or_chain)
1020 will crash XEmacs. Fix by introducing intermediate variable.
1022 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1024 * dired.c (Fdirectory_files):
1025 (Ffile_name_completion):
1026 (Ffile_name_all_completions):
1027 (file_name_completion):
1028 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1029 avoid compiler warnings.
1030 - Fix up docstrings so that C variables match documentation.
1032 1999-03-05 Martin Buchholz <martin@xemacs.org>
1034 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1035 variables as small as possible to help out the compiler and the maintainer.
1037 * alloc.c: (disksave_object_finalization):
1038 Set all the *-load-path variables to
1039 nil, not just load-path itself. This gets the locate-file hash
1040 tables garbage collected BEFORE dump, and has the side effect of
1041 preventing crashes on OSF4.0+egcs.
1046 - Clean up gdb/dbx debugging support.
1047 - Storing an EMACS_INT in an enum is not 64-bit clean!
1048 - So change the enum to a set of separate variables.
1049 - Add test cases to help debug the debugging support!
1050 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1051 - Both dbx and gdb have been tested now.
1053 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1055 * XEmacs 21.2.12 is released
1057 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1059 * device-x.c: Support to find best visual without flashing.
1061 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1063 * database.c (berkdb_map): Add flags argument to cursor call (must
1064 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1066 1999-03-03 Martin Buchholz <martin@xemacs.org>
1070 General cleanup. Get free-hook.c working again.
1071 Remove unused functions:
1072 make_strings_hash_table, copy_hash, expand_hash_table.
1076 Always use new ANSI-style function prototypes.
1078 * unexalpha.c (unexec): Never use implicit int.
1080 * sgiplay.c (close_sound_file):
1082 (restore_audio_port):
1087 (write_mulaw_8_chunk):
1088 (write_linear_chunk):
1089 (write_linear_32_chunk):
1090 (initialize_audio_port):
1093 (set_output_format):
1094 (adjust_audio_volume):
1095 (get_current_volumes):
1097 Always use new ANSI-style function prototypes.
1098 Use unistd.h for missing prototypes.
1100 * unexelfsgi.c (round_up):
1102 (unexec): Always use new ANSI-style function prototypes
1104 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1106 * console.h (struct console_methods): Always use full ANSI prototypes
1108 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1110 1999-03-02 Andy Piper <andy@xemacs.org>
1112 * event-stream.c (init_event_stream): make sure native mswindows
1113 gets an appropriate event loop.
1115 1999-02-22 Andy Piper <andy@xemacs.org>
1117 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1118 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1119 (mswindows_raise_frame): remove comment.
1121 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1123 * XEmacs 21.2.11 is released
1125 1999-02-25 SL Baur <steve@xemacs.org>
1127 * mule-charset.c (Qleading_byte): New variable to implement
1128 charset-leading-byte function.
1129 (Fcharset_property): Use it.
1130 (syms_of_mule_charset): Initialize it.
1131 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1133 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1135 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1136 bytes per pixel counting.
1138 1999-02-15 Andy Piper <andy@xemacs.org>
1140 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1143 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1145 * fns.c (Fbase64_encode_string): New optional argument
1148 1999-02-16 Martin Buchholz <martin@xemacs.org>
1150 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1151 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1153 1999-02-10 Martin Buchholz <martin@xemacs.org>
1155 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1156 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1158 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1160 * XEmacs 21.2.10 is released
1162 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1164 * process-nt.c (nt_send_process):
1165 Fix for process-send-region/process-send-string breaking when size
1166 of the input > 128 chars: change maximum chunk size for process
1167 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1170 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1172 * XEmacs 21.2.9 is released
1174 1999-01-30 Martin Buchholz <martin@xemacs.org>
1176 * bytecode.c (funcall_compiled_function): Call
1177 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1179 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1180 #ifdef 0 out unused macro.
1182 1999-01-27 Martin Buchholz <martin@xemacs.org>
1184 * gui.c (gui_parse_item_keywords_internal): Make static.
1186 1999-01-21 Andy Piper <andy@xemacs.org>
1188 * glyphs-msw.c: add xface support.
1189 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1190 (image_instantiator_format_create_glyphs_mswindows): do device
1191 specific initialisation for xfaces.
1192 (xbm_create_bitmap_from_data): line data must be padded to a word
1195 * glyphs-x.c (xface_validate): moved to glyphs.c
1196 (xface_normalize): ditto.
1197 (xface_possible_dest_types): ditto.
1198 (image_instantiator_format_create_glyphs_x): do device specific
1199 initialisation for xfaces.
1201 * glyphs.h: declare xface symbol.
1203 * glyphs.c: move generic xface support here.
1204 (xface_validate): moved from glyphs-x.c
1205 (xface_normalize): ditto.
1206 (xface_possible_dest_types): ditto.
1207 (image_instantiator_format_create): xface declarations moved from
1210 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1212 * event-stream.c (vars_of_event_stream): Fixing documentation.
1214 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1216 * glyphs-eimage.c (gif_instantiate): Correct handling of
1217 interlaced gifs to avoid writing past the end of the eimage
1220 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1222 * search.c (Freplace_match): Handle single backslash at end of
1225 1999-01-12 William M. Perry <wmperry@aventail.com>
1227 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1228 avoid connection errors.
1230 1999-01-12 Andy Piper <andy@xemacs.org>
1232 * redisplay-output.c (redisplay_update_line): backout change that
1233 shouldn't have gone ine.
1235 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1237 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1238 collide with ldap.el
1240 1999-01-11 Andy Piper <andy@xemacs.org>
1242 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1243 (DISPLAY_LINE_YPOS): new macro.
1245 * redisplay-msw.c (mswindows_output_string): use it.
1246 (mswindows_output_pixmap): ditto.
1247 (mswindows_output_display_block): ditto.
1249 * redisplay-output.c (redisplay_output_display_block): new
1250 function. just call the devmeth, maybe insert some generic code
1252 (compare_display_blocks): use it.
1253 (output_display_line): ditto.
1254 (redisplay_unmap_subwindows_maybe): new function. potentially
1255 unmap subwindows in the given area.
1257 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1260 1999-01-10 J. Kean Johnston <jkj@sco.com>
1262 * Makefile.in.in: Set value of moduledir
1263 - Changed DUMPENV to include $(MODULEPATH)
1264 - Added install rule to install header files for use by ellcc.
1266 * config.h.in: Added INHIBIT_SITE_MODULES
1267 - Added HAVE__DLERROR
1268 - Added HAVE_DLFCN_H
1269 - Added DLSYM_NEEDS_UNDERSCORE
1273 * emodules.c: New file containing dynamic loading code.
1275 * emodules.h: New file.
1277 * emacs.c: Added variables Vmodule_directory,
1278 Vsite_module_directory, Vconfigure_module_directory and
1279 Vconfigure_site_module_directory.
1280 - (main_1): Added new variable inhibit_site_modules and command
1281 line options `-no-site-modules' and `--no-site-modules'.
1282 - (main_1): Call syms_of_module() instead of syms_of_dll().
1283 - (main_1): Call vars_of_module().
1284 - (vars_of_emacs): Introduce inhibit-site-modules,
1285 module-directory, configure-module-directory,
1286 site-module-directory, and configure-site-module-directory to the
1289 * lisp.h: Declare load_module and list_modules, as well as
1290 Vmodule_directory, Vsite_module_directory,
1291 Vconfigure_module_directory and Vconfigure_site_module_directory.
1293 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1294 - Added correct support for site-lisp directory.
1296 * symbols.c (defsubr): Modified to allow modules to add new subrs
1298 - (defsubr_macro): Same.
1299 - (defvar_magick): Only use purespace when not initialized, so
1300 that loaded modules can still add symbols.
1302 * symsinit.h: Add definitions for syms_of_module(),
1303 vars_of_module(). Removed syms_of_dll().
1305 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1306 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1307 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1309 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1310 explicitly pass -belf for native cc.
1312 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1313 hard-coding the library name.
1315 1999-01-01 <martin@xemacs.org>
1317 * device-x.c (Fx_set_font_path):
1318 Add proper cast to permit compilation under C++.
1320 * buffer.c (directory_is_current_directory):
1321 Add proper casts to permit compilation under C++.
1323 1998-12-30 Damon Lipparelli <lipp@primus.com>
1325 * event-msw.c (mswindows_wnd_proc):
1326 Fixed failure when building with MSVC 5.
1328 1998-12-29 Martin Buchholz <martin@xemacs.org>
1330 * file-coding.c (decode_coding_iso2022):
1331 - Prevent crash when decoding ISO7/Lock detected files
1332 - the usual martin fiddling
1334 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
1338 Fixed failures when building with MSVC.
1339 * unexnt.c (dump_bss_and_heap):
1340 Removed compiler warning by removing bss_data variable.
1342 1998-12-18 Jim Radford <radford@robby.caltech.edu>
1344 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
1345 so that packages that distribute their own fonts can access them.
1347 1998-12-28 Andy Piper <andy@xemacs.org>
1349 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
1350 that have an image provided.
1352 * glyphs.h: add Q_image decl.
1354 * glyphs-widget.c new functionality allowing images in
1356 (check_valid_glyph_or_image): new function to validate
1357 glyphs passed in through :image.
1358 (widget_normalize): new function. convert :image parameters into
1359 real glyphs if not already so.
1360 (widget_instantiate_1): mess with size parameters to be similar to
1362 (syms_of_glyphs_widget): new keyword :image.
1363 (image_instantiator_format_create_glyphs_widget): normalize
1364 buttons and allow :image.
1366 1998-12-27 Andy Piper <andy@xemacs.org>
1368 * frame-msw.c (mswindows_init_frame_1): warning elimination.
1370 * glyphs-widget.c (check_valid_anything): no-op function.
1371 (check_valid_callback): check callbacks in gui_items.
1372 (check_valid_symbol): as it sounds.
1373 (check_valid_string_or_vector): ditto.
1374 (widget_validate): modified for descriptors that are vectors or
1375 sequences of keyword/val pairs.
1376 (widget_instantiate_1): ditto.
1377 (image_instantiator_format_create_glyphs_widget): allow gui_item
1378 keywords in the instantiator.
1380 * gui.c (gui_parse_item_keywords_internal): renamed from
1381 gui_parse_item_keywords but taking error behaviour.
1382 (gui_parse_item_keywords): use it.
1383 (gui_parse_item_keywords_no_errors): ditto.
1384 (gui_item_add_keyval_pair): add Error_behavior flag and only
1385 signal invalid keywords if required.
1387 * gui.h: new gui signatures.
1389 * menubar.c (menu_parse_submenu_keywords): use new
1390 gui_item_add_keyval_pair signature.
1392 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
1394 1998-12-28 Martin Buchholz <martin@xemacs.org>
1396 * XEmacs 21.2.8 is released.
1398 1998-12-28 Martin Buchholz <martin@xemacs.org>
1400 * editfns.c (get_home_directory):
1401 (user-home-directory): Simplify.
1404 * callproc.c (child_setup):
1405 - Environment variables were being passed to inferior processes
1406 using internal encoding.
1407 - Convert to external encoding.
1408 - Rename local var `tem' to better name `tail'.
1409 - Use Flength instead of `manual' calculation.
1411 * buffer.c (kill-buffer):
1413 (set-buffer-major-mode):
1415 - Fix up parameter names to correspond to docstrings.
1416 - Don't use `bufname' when a buffer will do as well.
1417 - Remove one unneeded GCPRO.
1419 * buffer.h (initial_directory):
1420 * buffer.c (init_initial_directory):
1421 - use correct conversions between internal and external format.
1422 (directory_is_current_directory): new function
1423 (init_buffer): convert initial_directory to internal format.
1424 - solve crashes when current working directory is non-ASCII.
1426 * alloc.c (xmalloc):
1429 - remove stupid casts, since XEmacs requires an ANSI C system.
1430 (lrecord_type_index): replace abort() with more readable assert().
1432 (reset_lcrecord_stats): remove.
1433 (sweep_lcrecords_1):
1434 - replace call to reset_lcrecord_stats() with call to xzero().
1436 1998-12-27 Martin Buchholz <martin@xemacs.org>
1438 * process-unix.c (unix_create_process):
1439 - Fix crash invoking program with non-ASCII name.
1440 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
1441 - Remove unused variable `env'.
1442 - Rename `temp' to better name `save_errno'.
1443 - Reorganize code for clarity. But still too chicken to nuke the
1446 1998-12-24 Martin Buchholz <martin@xemacs.org>
1448 * XEmacs 21.2.7 is released.
1450 1998-12-23 Martin Buchholz <martin@xemacs.org>
1452 * glyphs.c (decode_device_ii_format):
1454 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
1456 * glyphs-x.c (x_subwindow_instantiate):
1457 - A image instance mask was being assigned to a image instance type!
1458 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
1460 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
1462 * glyphs-x.h: Make indentation consistent.
1464 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
1466 * glyphs-widget.c (check_valid_glyph): Warning suppression.
1468 - #ifdef it out, since it's not actually used yet (FIX THIS!)
1472 Move declarations of decode_device_ii_format and
1473 decode_image_instantiator_format into glyphs.h where they belong.
1475 1998-12-22 Martin Buchholz <martin@xemacs.org>
1477 * frame-x.c (x_delete_frame): Revert part of my changes at the
1478 suggestion of Gunnar Evermann - unfortunately no one really
1479 understands this code.
1481 * callproc.c (init_callproc): code cleanup.
1483 * free-hook.c (malloc):
1488 (block_input_malloc):
1489 (block_input_realloc):
1490 * device-x.c (x_delete_device):
1491 * emacs.c (voodoo_free_hook):
1492 * events.c (print_event):
1494 (CHECK_EVENT_TYPE2):
1495 (CHECK_EVENT_TYPE3):
1496 Use proper prototypes.
1497 Make C_E_T macros a little faster.
1498 Pedantic fiddly little changes. You really don't care.
1500 1998-12-22 Andy Piper <andy@xemacs.org>
1502 * redisplay-output.c (redisplay_clear_region): make sure that
1503 fg/bg colors get set even when we are in the border area.
1505 1998-12-13 Martin Buchholz <martin@xemacs.org>
1507 * console-msw.c: Function definitions follow coding standards
1508 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
1510 1998-12-11 Martin Buchholz <martin@xemacs.org>
1512 * events.h (struct timeout_data):
1513 * event-tty.c (tty_timeout_to_emacs_event):
1514 * event-msw.c (mswindows_wm_timer_callback):
1515 * event-Xt.c (Xt_timeout_to_emacs_event):
1516 * event-msw.c (mswindows_cancel_dispatch_event):
1517 Make sure Lisp_Objects inside events are initialized to Qnil, not
1518 Qnull_pointer, which is now illegal.
1520 1998-12-10 Martin Buchholz <martin@xemacs.org>
1522 * lisp.h: Fix up prototypes to match alloc.c
1524 1998-12-08 Martin Buchholz <martin@xemacs.org>
1526 * windowsnt.h: Remove `support' for using index and rindex
1528 * filelock.c (current_lock_owner):
1529 - Change uses of index -> strchr, rindex -> strrchr
1531 1998-12-07 Martin Buchholz <martin@xemacs.org>
1533 * sysdep.c (set_descriptor_non_blocking):
1534 Since O_NONBLOCK is now always #defined, make use of fcntl
1535 conditional on F_SETFL being defined.
1537 * console-msw.c (DHEADgER):
1546 - max_align_t should not be visible to the user of the
1548 - use Bufbyte instead of char
1549 - parens around (FOOP (obj)) are always redundant.
1550 If they were necessary, we should fix the macro instead.
1551 - Always use string_data(foo) instead of foo->data.
1554 1998-12-06 Martin Buchholz <martin@xemacs.org>
1556 * frame-msw.c (mswindows_init_frame_1):
1557 - use make_lisp_hash_table, not Fmake_hash_table
1561 * alloc.c (make_vector): remove travesty
1565 (make_bit_vector_internal):
1567 (make_bit_vector_from_byte_vector):
1569 - make vector_equal a little faster.
1570 - Don't use variable name `new'.
1571 - Use size_t instead of EMACS_INT.
1572 - usual Martin-style pointless bit-twiddling.
1578 Make mapcar faster. In particular, make
1579 (mapc #'identity long-string)
1580 MUCH faster under Mule.
1581 * tests/automated/lisp-tests.el: Test 'em!
1583 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1586 1998-12-01 Martin Buchholz <martin@xemacs.org>
1588 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
1589 Qnil, not NULL, to initialize `null' Lisp_Objects.
1591 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
1593 * specifier.c (display_table_validate): Update.
1595 * redisplay.c (create_text_block): Use them.
1597 * glyphs.c (display_table_entry): New function.
1598 (get_display_tables): Ditto.
1600 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1602 * eldap.c (toplevel): Mention that eldap.c compiles with
1604 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
1605 (Fldap_search_internal): Ditto
1607 1998-12-11 Martin Buchholz <martin@xemacs.org>
1609 * event-msw.c (mswindows_cancel_dispatch_event):
1610 Gratuitous code prettification
1613 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
1615 * fns.c (Fnconc): Fix use of wrong_type_argument().
1617 * floatfns.c (Ffloat): Fix docstring.
1618 (Ffloat): Fix use of wrong_type_argument().
1620 (extract_float): Ditto.
1625 1998-12-06 Martin Buchholz <martin@xemacs.org>
1627 * frame-msw.c (mswindows_init_frame_1):
1628 - use make_lisp_hash_table, not Fmake_hash_table
1632 * alloc.c (make_vector): remove travesty
1636 (make_bit_vector_internal):
1638 (make_bit_vector_from_byte_vector):
1640 - make vector_equal a little faster.
1641 - Don't use variable name `new'.
1642 - Use size_t instead of EMACS_INT.
1643 - usual Martin-style pointless bit-twiddling.
1649 Make mapcar faster. In particular, make
1650 (mapc #'identity long-string)
1651 MUCH faster under Mule.
1652 * tests/automated/lisp-tests.el: Test 'em!
1654 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
1657 1998-12-02 Didier Verna <verna@inf.enst.fr>
1659 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
1660 accelerator field to nil for labels.
1662 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1664 * menubar-msw.c (displayable_menu_item):
1665 Escape occurrences of '&' and support occurrences of the
1666 '%_' accelerator indicator in menus.
1668 1998-11-26 Didier Verna <verna@inf.enst.fr>
1670 * dired.c (Fdirectory_files): use make_string instead of
1671 make_ext_string on the filename. The conversion external->internal
1672 format is already done in sys_readdir.
1674 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
1676 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
1678 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
1681 (Belatedly) added Kirill to list of file's authors.
1682 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
1683 quit checking. WM_PAINT messages cause redisplay, but
1684 windows' states are not necessarily stable when this function
1687 1998-12-17 Andy Piper <andy@xemacs.org>
1689 * strftime.c (zone_name): CONSTify.
1691 1998-12-15 Andy Piper <andy@xemacs.org>
1693 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
1694 (mswindows_widget_property): return Qunbound when no property available.
1695 (mswindows_button_property): ditto.
1696 (mswindows_combo_property): ditto.
1697 (mswindows_widget_set_property): ditto.
1699 * glyphs-widget.c (check_valid_item_list): use properties.
1701 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
1703 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
1704 (Fimage_instance_property): ditto.
1705 * glyphs-widget.c (widget_property): ditto.
1706 (widget_set_property): ditto.
1708 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
1709 as setting the class cursor so that GC actually changes the
1712 * config.h: don't undef MAIL_USE_POP.
1714 1998-12-13 Andy Piper <andy@xemacs.org>
1717 (image_instantiator_format_create_glyphs_mswindows): line ->
1719 (mswindows_label_instantiate): ditto. Play with window flags.
1720 (image_instantiator_format_create_glyphs_mswindows): ditto.
1721 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
1723 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
1724 cope with lines and labels.
1725 (static_instantiate): use widget_instantiate_1.
1727 (image_instantiator_format_create_glyphs_widget): ditto.
1729 1998-12-10 Andy Piper <andy@xemacs.org>
1731 * Makefile.in.in (objs): add gui.o
1733 1998-12-10 Andy Piper <andy@xemacs.org>
1735 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
1738 1998-12-09 Andy Piper <andy@xemacs.org>
1740 * glyphs.c (finalize_image_instance): mark glyphs changed when an
1741 image instance is removed so that the subwindow cache gets reset
1742 and thus destroyed images get GC'd.
1744 1998-12-08 Andy Piper <andy@xemacs.org>
1746 * gui-msw.c (mswindows_handle_gui_wm_command): call
1747 MARK_SUBWINDOWS_CHANGED.
1749 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
1750 subwindows really get deleted.
1752 * redisplay.c: new variable subwindows_changed[_set].
1753 (redisplay_window): use it.
1754 (redisplay_frame): ditto.
1755 (redisplay_device): ditto.
1756 (redisplay_without_hooks): ditto.
1758 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
1759 subwindows redisplay as per glyphs equivalent.
1760 * redisplay.h: ditto.
1761 (MARK_SUBWINDOWS_CHANGED): ditto.
1762 (RESET_CHANGED_SET_FLAGS): ditto.
1763 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
1765 1998-12-07 Andy Piper <andy@xemacs.org>
1767 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
1770 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
1772 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
1773 messages and paint widget glyphs as appropriate with their face fg
1776 1998-12-06 Andy Piper <andy@xemacs.org>
1778 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
1779 here rather than in glyphs-widget - do this because we only want
1780 to provide what is really available.
1782 * glyphs.c (Fimage_instance_property): new function to get the
1783 properties of image instances. wires through to console specific
1784 methods and then to widget specific methods.
1785 (Fset_image_instance_property): ditto but for setting widget properties.
1786 (check_valid_face): make extern so that it can be used elsewhere.
1788 * glyphs-widget.c (widget_property): new function. gets the
1789 properties of widgets in general and wires the function through to
1790 widget specific ones.
1791 (widget_set_property): ditto but for setting widget properties.
1793 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
1794 add items to the list. Play with window styles a bit to get the
1796 (mswindows_widget_property): break out specific widget properties.
1797 (mswindows_button_property): new function. gets the checked state
1799 (mswindows_combo_property): new function. gets the current
1800 selection in the combo box.
1801 (mswindows_widget_set_property): new function. sets specific
1802 properties of specific widgets.
1804 * glyphs-widget.c (check_valid_item_list): new function. check
1805 that items for a combo-box are just a list of strings.
1806 (combo_validate): new function. check there is an item list.
1807 (widget_instantiate_1): new function. renamed from
1808 widget_instantiate so that we can do slightly different things for
1810 (widget_instantiate): call widget_instantiate_1.
1811 (combo_instantiate): new function to instantiate combo boxes,
1812 defaults height to the pixel height of the number of items in the
1814 (syms_of_glyphs_widget): move widget keywords here.
1815 (image_instantiator_format_create_glyphs_widget): use new combo
1818 1998-12-04 Andy Piper <andy@xemacs.org>
1820 * event-msw.c (mswindows_wnd_proc): mule-ize.
1822 * glyphs.c (pixmap_to_lisp_data): mule-ize.
1824 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
1825 (resource_name_to_resource): ditto.
1826 (mswindows_resource_instantiate): ditto.
1827 (mswindows_widget_instantiate): ditto.
1828 (mswindows_widget_set_property): ditto.
1830 * redisplay-output.c (redisplay_output_subwindow): don't show
1831 subwindows if they are obscured at the edge of the frame, emacs
1832 gets into some sort of redisplay loop otherwise.
1834 * gui.h: prototype gui_item_selected_p.
1836 * gui.c (gui_item_selected_p): new function to determine the
1837 selected state of a gui_item.
1839 * frame.h (struct frame): add subwindows_changed flag.
1841 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
1843 * glyphs.c (update_subwindow): new function to update a
1845 (update_frame_subwindows): new function to update all the
1846 subwindows on a frame.
1848 * console.h (struct console_methods): add update_subwindow.
1850 * glyphs-msw.c (mswindows_widget_property): return selected state
1851 for selected property.
1852 (mswindows_update_subwindow): new function. updates widget glyphs
1853 in redisplay as per menubars or toolbars e.g. selected state.
1854 (console_type_create_glyphs_mswindows): add update_subwindow.
1856 1998-12-03 Andy Piper <andy@xemacs.org>
1858 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
1859 tty coding system things are such.
1861 * glyphs-widget.c (widget_face_font_info): new function for
1862 pulling out height and width metrics for a widget's face.
1863 (widget_text_to_pixel_conversion): calculate pixel sizes of text
1866 * event-msw.c (mswindows_drain_windows_queue): translate messages
1867 that are destined for subwindows. This makes edit fields interact
1868 with the keyboard correctly.
1869 nuke warnings by #ifndef'ing out stuff not required by msg select().
1871 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
1872 macro defining the iiforma without the symbol required by widget.
1873 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
1875 * general.c (syms_of_general): add Qwidget, Qselected.
1877 * faces.c (complex_vars_of_faces): add widget face inheriting from
1880 1998-11-09 Andy Piper <andy@xemacs.org>
1882 * window.h (struct window): add a cache of subwindows on a
1885 * window.c (mark_window): mark the subwindow_instance_cache.
1886 (allocate_window): initialise the subwindow instance_cache.
1888 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
1889 instead of the devmeth.
1890 (x_clear_toolbar): ditto.
1892 * redisplay-x.c (x_output_display_block): call
1893 redisplay_output_subwindow for subwindows and widgets.
1895 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
1896 types to do nothing for.
1898 * lisp.h: declare new widget/subwindow symbols.
1900 * glyphs.c (image_instantiate): cache subwindows on a per-window
1902 (subwindow_possible_dest_types): new function for subwindow dest
1904 (subwindow_instantiate): generic instantiation of a
1905 subwindow. specialised by device multi-methods.
1906 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
1908 (Fimage_instance_subwindow_id): ditto.
1909 (Fresize_subwindow): ditto.
1910 (Fforce_subwindow_map): ditto.
1912 * glyphs-x.c (x_print_image_instance): remove subwindow
1913 stuff. Handled genrically in glyphs.c.
1914 (x_image_instance_equal): ditto.
1915 (x_image_instance_hash): ditto.
1916 (x_finalize_image_instance): delete subwindows when required.
1917 (mark_subwindow) (print_subwindow) (finalize_subwindow)
1918 (subwindow_hash) (Fmake_subwindow): deleted because of new,
1919 glyph-based, subwindow implementation.
1920 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
1922 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
1924 (x_unmap_subwindow): new function to unmap X subwindows.
1925 (x_map_subwindow): new function to map X subwindows.
1926 (x_subwindow_instantiate): new function to instantiate X
1928 (x_resize_subwindow): new function to resize X subwindows.
1929 (console_type_create_glyphs_x): add subwindow functions.
1930 (image_instantiator_format_create_glyphs_x): add device
1931 multi-methods for xpm, xbm and subwindow.
1933 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
1934 (subwindow-width): ditto.
1935 (subwindow-height): ditto.
1937 * glyphs-msw.c (mswindows_widget_instantiate): new function for
1938 generally instantiating ms subwindows. Used by
1939 mswindows_*_instantiate.
1940 (mswindows_edit_instantiate): instantiate an edit field on a
1943 1998-11-04 Andy Piper <andy@xemacs.org>
1945 * symsinit.h: declare new functions.
1947 * redisplay.h: declare new functions.
1949 * redisplay-x.c (x_output_display_block): call
1950 redisplay_clear_region rather than x_clear_region.
1951 (x_output_string): ditto.
1952 (x_output_pixmap): ditto.
1953 (x_clear_to_window_end): ditto.
1954 (x_output_eol_cursor): ditto.
1955 (x_clear_region): only do X specific things. other duties handled
1956 in redisplay_clear_region.
1958 * redisplay-tty.c (tty_clear_region): do tty specific things - some
1959 duties moved to redisplay_clear_region.
1961 * redisplay-output.c (clear_left_border): use
1962 redisplay_clear_region instead of device method.
1963 (clear_right_border): ditto.
1964 (output_display_line): ditto.
1965 (redisplay_output_subwindow): ditto.
1966 (redisplay_clear_top_of_window): ditto.
1967 (redisplay_clear_region): perform duties previously handled by
1968 device methods. call the appropriate device method at the
1969 end. unmap subwindows if necessary.
1971 * redisplay-msw.c (mswindows_output_string): use
1972 redisplay_clear_region instead of mswindows_clear_region.
1973 (mswindows_clear_to_window_end): ditto.
1974 (mswindows_output_display_block): output subwindows when required.
1975 (mswindows_clear_region): only do mswindows specific things,
1976 everything else is now handled in redisplay_clear_region.
1978 * gui.h: add item id hash defines and declare function prototypes.
1980 * gui.c (mark_gui_item): new function for marking gui_items.
1981 (gui_item_hash): generic hash function for generating command ids
1984 * gui-msw.c: new file.
1985 (mswindows_handle_gui_wm_command): new function to handle widget
1988 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
1990 (IIFORMAT_HAS_SHARED_METHOD): ditto.
1991 (DEFINE_DEVICE_IIFORMAT): ditto.
1992 (INITIALIZE_DEVICE_IIFORMAT): ditto.
1993 (struct Lisp_Image_Instance): add widget and subwindow data plus
1994 appropriate access functions.
1996 * glyphs.c (decode_device_ii_format): new function for decoding
1997 image instantiator functions based on a device type as well as an
1999 (decode_image_instantiator_format): just call
2000 decode_device_ii_format with nil device.
2001 (add_entry_to_device_ii_format_list): new function for per device
2003 (add_entry_to_image_instantiator_format_list): just call
2004 add_entry_to_device_ii_format_list with nil device.
2005 (check_valid_vector): new function.
2006 (instantiate_image_instantiator): instantiate using per-format
2007 method and then per-format-per-device method (device
2008 multi-methods). signal an error if neither is possible.
2009 (mark_image_instance): cope with subwindows and widgets.
2010 (print_image_instance): ditto.
2011 (image_instance_equal): ditto.
2012 (image_instance_hash): ditto.
2013 (allocate_glyph): ditto.
2014 (glyph_width): ditto.
2015 (glyph_height_internal): ditto.
2016 (xpm_instantiate): removed because of device multi-methods.
2017 (mark_subwindow_cachels): new cachel functions for caching
2018 instantiated subwindows on a per-frame basis. mostly copied from
2019 glyph cachel functions.
2020 (update_subwindow_cachel_data): ditto.
2021 (add_subwindow_cachel): ditto.
2022 (get_subwindow_cachel_index): ditto.
2023 (reset_subwindow_cachels): ditto.
2024 (mark_subwindow_cachels_as_not_updated): ditto.
2025 (unmap_subwindow): generic unmapping of subwindows based on cachel
2027 (map_subwindow): ditto.
2028 (initialize_subwindow_image_instance): generic initialisation of
2030 (syms_of_glyphs): add widget keywords.
2032 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2035 1998-11-04 Andy Piper <andy@xemacs.org>
2037 * glyphs-widget.c: new file for instantiating widget type glyphs.
2038 (widget_possible_dest_types): new general dest type function for
2040 (widget_validate): ditto.
2041 (initialize_widget_image_instance): ditto
2042 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2043 before handing on control to device multi-methods.
2044 (syms_of_glyphs_widget): new function.
2045 (image_instantiator_format_create_glyphs_widget): new function,
2046 added placeholders for button, edit, combo, scrollbar
2047 (vars_of_glyphs_widget): new function.
2049 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2050 storing window ids of widgets.
2052 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2053 deletion of widget and subwindow glyphs.
2054 (mswindows_unmap_subwindow): new device function for unmapping
2055 subwindows on a msw frame.
2056 (mswindows_map_subwindow): ditto.
2057 (mswindows_register_image_instance): register instantiated widgets
2058 with the widget hastable.
2059 (mswindows_button_instantiate): instantiate a button type widget
2061 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2063 (image_instantiator_format_create_glyphs_mswindows): add device
2064 multi-methods for xbm, xpm, subwindow, edit and button.
2066 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2067 information about subwindows visible on the current frame. used by
2068 redisplay_clear_region to unmap subwindows as required.
2070 * frame.c (mark_frame): mark subwindow_cachels.
2071 (allocate_frame_core): instantiate subwindow_cachels.
2073 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2076 * event-msw.c (mswindows_wnd_proc): add call to
2077 mswindows_handle_gui_wm_command to handle widget callbacks.
2079 * emacs.c (main_1): add calls to glyphs-widget initialisation
2082 * console.h (struct console_methods): add
2083 unmap/map_subwindow_method for use be redisplay_clear_region to
2084 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2085 with by image instantiator multi-methods. Add
2086 resize_subwindow_method.
2088 * console-stream.c (stream_clear_region): change signature to
2089 match new generic clear region function.
2091 * Makefile.in.in: add glyphs-widget.o to list of objects.
2093 * console-msw.h (struct mswindows_frame): add widget hashtable for
2094 wiring command ids to callbacks.
2096 1998-12-16 Andy Piper <andy@xemacs.org>
2098 * XEmacs 21.2.6 is released
2100 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2102 * md5.c (Fmd5): Correctly initiate string input stream.
2104 * Makefile.in.in (tests): Add md5-tests.el.
2106 1998-12-06 Martin Buchholz <martin@xemacs.org>
2109 * alloc.c (make_vector): remove travesty
2113 (make_bit_vector_internal):
2115 (make_bit_vector_from_byte_vector):
2117 - make vector_equal a little faster.
2118 - Don't use variable name `new'.
2119 - Use size_t instead of EMACS_INT.
2120 - usual Martin-style pointless bit-twiddling.
2126 Make mapcar faster. In particular, make
2127 (mapc #'identity long-string)
2128 MUCH faster under Mule.
2129 * tests/automated/lisp-tests.el: Test 'em!
2131 1998-12-06 Martin Buchholz <martin@xemacs.org>
2133 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2136 1998-12-13 Martin Buchholz <martin@xemacs.org>
2138 * console-msw.c: Function definitions follow coding standards
2139 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2141 1998-12-11 Martin Buchholz <martin@xemacs.org>
2143 * events.h (struct timeout_data):
2144 * event-tty.c (tty_timeout_to_emacs_event):
2145 * event-msw.c (mswindows_wm_timer_callback):
2146 * event-Xt.c (Xt_timeout_to_emacs_event):
2147 * event-msw.c (mswindows_cancel_dispatch_event):
2148 Make sure Lisp_Objects inside events are initialized to Qnil, not
2149 Qnull_pointer, which is now illegal.
2151 1998-12-10 Martin Buchholz <martin@xemacs.org>
2153 * lisp.h: Fix up prototypes to match alloc.c
2155 1998-12-09 Andy Piper <andy@xemacs.org>
2157 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2158 XSETINT for assigning lisp objects.
2160 1998-12-07 Martin Buchholz <martin@xemacs.org>
2163 * console-msw.c (DHEADER):
2172 - max_align_t should not be visible to the user of the
2174 - use Bufbyte instead of char
2175 - parens around (FOOP (obj)) are always redundant.
2176 If they were necessary, we should fix the macro instead.
2177 - Always use string_data(foo) instead of foo->data.
2179 1998-12-07 Martin Buchholz <martin@xemacs.org>
2181 * sysdep.c (set_descriptor_non_blocking):
2182 Since O_NONBLOCK is now always #defined, make use of fcntl
2183 conditional on F_SETFL being defined.
2185 1998-12-09 Andy Piper <andy@xemacs.org>
2187 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2188 that got removed in the merge
2190 1998-11-30 Greg Klanderman <greg@alphatech.com>
2192 * dired.c (vars_of_dired): bugfix for previous conditionalization
2193 of user-name-completion on non- Windows NT.
2195 1998-12-08 Martin Buchholz <martin@xemacs.org>
2197 * windowsnt.h: Remove `support' for using index and rindex
2199 * filelock.c (current_lock_owner):
2200 - Change uses of index -> strchr, rindex -> strrchr
2202 1998-12-06 Martin Buchholz <martin@xemacs.org>
2204 * frame-msw.c (mswindows_init_frame_1):
2205 - use make_lisp_hash_table, not Fmake_hash_table
2208 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2210 * XEmacs 21.2.5 is released
2212 1998-11-30 Martin Buchholz <martin@xemacs.org>
2214 * xselect.c (receive_incremental_selection):
2215 * xselect.c (x_get_window_property):
2216 * xmu.c (XmuReadBitmapDataFromFile):
2217 * xmu.c (XmuCursorNameToIndex):
2218 * xgccache.c (describe_gc_cache):
2219 * xgccache.c (gc_cache_lookup):
2220 * xgccache.c (free_gc_cache):
2221 * xgccache.c (make_gc_cache):
2223 * window.c (map_windows_1):
2224 * window.c (Fother_window_for_scrolling):
2225 * window.c (window_scroll):
2226 * window.c (change_window_height):
2227 * window.c (Fsplit_window):
2228 * window.c (window_left_gutter_width):
2229 * window.c (window_modeline_height):
2230 * window.c (invalidate_vertical_divider_cache_in_window):
2231 * window.c (window_needs_vertical_divider_1):
2232 * window.c (update_mirror_internal):
2233 * window.c (SET_LAST_FACECHANGE):
2234 * widget.c (Fwidget_plist_member):
2235 * unexec.c (copy_text_and_data):
2236 * unexcw.c (copy_executable_and_dump_data_section):
2238 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2239 * tooltalk.c (struct Lisp_Tooltalk_Message):
2240 * toolbar.h (struct toolbar_button):
2241 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2242 * toolbar.c (recompute_overlaying_specifier):
2243 * toolbar.c (toolbar_validate):
2244 * toolbar.c (toolbar_button_at_pixpos):
2245 * toolbar.c (get_toolbar_coords):
2246 * toolbar.c (update_frame_toolbars):
2248 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2249 * toolbar-msw.c (mswindows_find_toolbar_pos):
2250 * toolbar-msw.c (mswindows_output_toolbar):
2251 * toolbar-msw.c (mswindows_clear_toolbar):
2260 * sysdep.c (sys_fopen):
2261 * sysdep.c (sys_open):
2262 * sysdep.c (tty_init_sys_modes_on_device):
2263 * sysdep.c (get_eof_char):
2264 * sysdep.c (child_setup_tty):
2265 * sysdep.c (set_descriptor_non_blocking):
2267 * syntax.c (scan_words):
2270 * symeval.h (struct symbol_value_varalias):
2271 * symeval.h (struct symbol_value_forward):
2272 * symbols.c (syms_of_symbols):
2273 * symbols.c (init_symbols_once_early):
2274 * symbols.c (Fbuilt_in_variable_type):
2275 * symbols.c (Fsymbol_value_in_buffer):
2276 * symbols.c (default_value):
2278 * symbols.c (find_symbol_value_quickly):
2279 * symbols.c (store_symval_forwarding):
2280 * symbols.c (set_default_console_slot_variable):
2281 * symbols.c (set_default_buffer_slot_variable):
2282 * symbols.c (verify_ok_for_buffer_local):
2283 * symbols.c (symbol_is_constant):
2284 * symbols.c (oblookup):
2285 * symbols.c (Funintern):
2286 * symbols.c (Fintern):
2287 * symbols.c (check_obarray):
2289 * specifier.h (struct specifier_methods):
2291 * specifier.c (specifier_instance):
2292 * specifier.c (specifier_instance_from_inst_list):
2293 * specifier.c (decode_locale_type):
2294 * specifier.c (specifier_equal):
2295 * specifier.c (finalize_specifier):
2296 * specifier.c (prune_specifiers):
2297 * specifier.c (kill_specifier_buffer_locals):
2298 * sound.c (init_native_sound):
2301 * search.c (Fmatch_data):
2302 * search.c (match_limit):
2303 * search.c (Freplace_match):
2304 * search.c (skip_chars):
2305 * search.c (scan_buffer):
2307 * scrollbar.c (specifier_vars_of_scrollbar):
2308 * scrollbar.c (Fscrollbar_set_hscroll):
2309 * scrollbar.c (vertical_scrollbar_changed_in_window):
2310 * scrollbar.c (release_window_mirror_scrollbars):
2311 * scrollbar.c (free_scrollbar_instance):
2314 * s/msdos.h (O_BINARY):
2316 * s/freebsd.h (LIBS_TERMCAP):
2317 * regex.c (re_match_2_internal):
2318 * regex.c (compile_extended_range):
2319 * regex.c (POP_FAILURE_POINT):
2320 * regex.c (PUSH_FAILURE_POINT):
2321 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2323 * redisplay.h (struct display_line):
2324 * redisplay.h (struct rune):
2325 * redisplay.c (vars_of_redisplay):
2326 * redisplay.c (redisplay_variable_changed):
2327 * redisplay.c (UPDATE_CACHE_RETURN):
2328 * redisplay.c (validate_line_start_cache):
2329 * redisplay.c (mark_redisplay_structs):
2330 * redisplay.c (mark_glyph_block_dynarr):
2331 * redisplay.c (window_line_number):
2332 * redisplay.c (redisplay_frame):
2333 * redisplay.c (redisplay_window):
2334 * redisplay.c (generate_modeline):
2335 * redisplay.c (create_right_glyph_block):
2336 * redisplay.c (create_left_glyph_block):
2337 * redisplay.c (create_text_block):
2339 * redisplay-x.c (x_output_hline):
2340 * redisplay-x.c (x_output_vertical_divider):
2341 * redisplay-tty.c (tty_output_display_block):
2342 * redisplay-output.c (output_display_line):
2343 * redisplay-output.c:
2344 * redisplay-msw.c (mswindows_output_vertical_divider):
2345 * redisplay-msw.c (mswindows_ring_bell):
2346 * redisplay-msw.c (mswindows_output_cursor):
2350 * puresize.h (RAW_PURESIZE):
2351 * profile.c (syms_of_profile):
2352 * profile.c (Fstart_profiling):
2353 * profile.c (sigprof_handler):
2356 * process.c (vars_of_process):
2357 * process.c (read_process_output):
2358 * process.c (get_process):
2360 * process-unix.c (unix_open_multicast_group):
2361 * process-unix.c (unix_get_tty_name):
2362 * process-unix.c (unix_send_process):
2363 * process-unix.c (unix_reap_exited_processes):
2364 * process-unix.c (unix_create_process):
2365 * process-unix.c (unix_init_process_io_handles):
2366 * process-unix.c (allocate_pty):
2368 * process-nt.c (nt_open_network_stream):
2369 * process-nt.c (nt_update_status_if_terminated):
2370 * process-nt.c (nt_finalize_process_data):
2372 * print.c (debug_short_backtrace):
2373 * print.c (debug_backtrace):
2374 * print.c (print_symbol):
2375 * print.c (print_internal):
2376 * print.c (print_cons):
2377 * print.c (Fwrite_char):
2378 * print.c (print_prepare):
2379 * print.c (canonicalize_printcharfun):
2380 * print.c (output_string):
2383 * opaque.c (allocate_managed_opaque):
2385 * offix.c (DndSetData):
2386 * objects.c (face_boolean_create):
2387 * objects.c (font_instantiate):
2388 * objects.c (font_create):
2389 * objects.c (color_create):
2390 * objects.c (finalize_font_instance):
2391 * objects.c (finalize_color_instance):
2393 * objects-x.c (x_font_instance_truename):
2395 * objects-x.c (x_initialize_font_instance):
2396 * objects-x.c (allocate_nearest_color):
2397 * objects-tty.c (tty_initialize_font_instance):
2398 * objects-tty.c (tty_initialize_color_instance):
2399 * objects-msw.c (mswindows_initialize_color_instance):
2400 * ntproc.c (syms_of_ntproc):
2401 * ntproc.c (Fwin32_set_process_priority):
2402 * ntproc.c (sys_spawnve):
2404 * ntheap.c (get_data_end):
2408 * nt.c (generate_inode_val):
2409 * nt.c (sys_rename):
2411 * mule-wnnfns.c (Fwnn_hinsi_number):
2412 * mule-wnnfns.c (Fwnn_yuragi):
2413 * mule-wnnfns.c (Fwnn_common_learn):
2414 * mule-wnnfns.c (Fwnn_suffix_learn):
2415 * mule-wnnfns.c (Fwnn_prefix_learn):
2416 * mule-wnnfns.c (Fwnn_okuri_learn):
2417 * mule-wnnfns.c (Fwnn_complex_conv):
2418 * mule-wnnfns.c (Fwnn_last_is_first):
2419 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
2420 * mule-wnnfns.c (Fwnn_notrans_dict_add):
2421 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
2422 * mule-wnnfns.c (Fwnn_fisys_dict_add):
2423 * mule-wnnfns.c (Fwnn_hinsi_list):
2424 * mule-wnnfns.c (Fwnn_fuzokugo_set):
2425 * mule-wnnfns.c (Fwnn_dict_search):
2426 * mule-wnnfns.c (Fwnn_word_toroku):
2427 * mule-wnnfns.c (Fwnn_hindo_update):
2428 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
2429 * mule-wnnfns.c (Fwnn_kakutei):
2430 * mule-wnnfns.c (Fwnn_begin_henkan):
2431 * mule-wnnfns.c (Fwnn_dict_comment):
2432 * mule-wnnfns.c (Fwnn_dict_add):
2433 * mule-wnnfns.c (Fwnn_open):
2434 * mule-mcpath.c (mc_getcwd):
2435 * mule-coding.c (vars_of_mule_coding):
2436 * mule-coding.c (convert_to_external_format):
2437 * mule-coding.c (encoding_marker):
2438 * mule-coding.c (decoding_marker):
2439 * mule-coding.c (Fcopy_coding_system):
2440 * mule-coding.c (Fmake_coding_system):
2441 * mule-coding.c (Fcoding_system_list):
2442 * mule-coding.c (Ffind_coding_system):
2443 * mule-coding.c (symbol_to_eol_type):
2445 * mule-charset.c (complex_vars_of_mule_charset):
2446 * mule-charset.c (vars_of_mule_charset):
2447 * mule-charset.c (Fset_charset_ccl_program):
2448 * mule-charset.c (struct charset_list_closure):
2449 * mule-charset.c (Ffind_charset):
2450 * mule-charset.c (make_charset):
2451 * mule-charset.c (non_ascii_valid_char_p):
2453 * mule-ccl.c (ccl_driver):
2454 * mule-canna.c (c2mu):
2455 * mule-canna.c (Fcanna_henkan_begin):
2456 * mule-canna.c (Fcanna_parse):
2457 * mule-canna.c (Fcanna_store_yomi):
2458 * mule-canna.c (Fcanna_touroku_string):
2459 * mule-canna.c (Fcanna_initialize):
2461 * menubar.c (menu_parse_submenu_keywords):
2462 * menubar-x.c (make_dummy_xbutton_event):
2463 * menubar-x.c (set_frame_menubar):
2464 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2467 * menubar-msw.c (mswindows_popup_menu):
2468 * menubar-msw.c (mswindows_update_frame_menubars):
2469 * menubar-msw.c (mswindows_handle_wm_command):
2470 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
2471 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
2472 * menubar-msw.c (update_frame_menubar_maybe):
2473 * menubar-msw.c (populate_or_checksum_helper):
2474 * menubar-msw.c (empty_menu):
2477 * marker.c (set_marker_internal):
2478 * marker.c (print_marker):
2481 * lstream.c (lisp_buffer_rewinder):
2482 * lstream.c (mark_lstream):
2484 * lrecord.h (struct lrecord_header):
2485 * lread.c (readevalloop):
2486 * lread.c (locate_file):
2487 * lread.c (locate_file_in_directory):
2488 * lread.c (Flocate_file):
2489 * lread.c (load_force_doc_string_unwind):
2490 * lread.c (ebolify_bytecode_constants):
2495 * linuxplay.c (linux_play_data_or_file):
2496 * linuxplay.c (audio_init):
2499 * keymap.c (describe_map):
2500 * keymap.c (describe_map_mapper):
2501 * keymap.c (Fdescribe_bindings_internal):
2502 * keymap.c (Fsingle_key_description):
2503 * keymap.c (map_keymap_sorted):
2504 * keymap.c (get_relevant_keymaps):
2505 * keymap.c (Flookup_key):
2506 * keymap.c (raw_lookup_key_mapper):
2507 * keymap.c (Fdefine_key):
2508 * keymap.c (Fevent_matches_key_specifier_p):
2509 * keymap.c (key_desc_list_to_event):
2510 * keymap.c (define_key_parser):
2511 * keymap.c (define_key_check_and_coerce_keysym):
2512 * keymap.c (keymap_submaps):
2513 * keymap.c (keymap_store_internal):
2514 * keymap.c (keymap_delete_inverse_internal):
2515 * keymap.c (keymap_store_inverse_internal):
2516 * keymap.c (print_keymap):
2517 * keymap.c (Lisp_Keymap):
2520 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
2521 * insdel.c (make_gap):
2522 * input-method-xlib.c (get_XIM_input):
2523 * input-method-xlib.c (XIM_init_frame):
2528 * gui-x.c (button_item_to_widget_value):
2529 * gui-x.c (popup_selection_callback):
2530 * glyphs.h (struct image_instantiator_methods):
2531 * glyphs.c (mark_glyph_cachels):
2532 * glyphs.c (Fglyph_type):
2533 * glyphs.c (image_instantiate):
2534 * glyphs.c (image_create):
2535 * glyphs.c (make_image_instance_1):
2536 * glyphs.c (finalize_image_instance):
2538 * glyphs-x.c (finalize_subwindow):
2539 * glyphs-x.c (xface_validate):
2540 * glyphs-x.c (x_locate_pixmap_file):
2541 * glyphs-x.c (convert_EImage_to_XImage):
2543 * glyphs-msw.c (mswindows_resource_instantiate):
2544 * glyphs-msw.c (xpm_to_eimage):
2545 * glyphs-msw.c (convert_EImage_to_DIBitmap):
2546 * glyphs-eimage.c (tiff_instantiate):
2547 * glyphs-eimage.c (png_instantiate):
2548 * glyphs-eimage.c (struct png_error_struct):
2549 * glyphs-eimage.c (gif_memory_storage):
2552 * getloadavg.c (getloadavg):
2555 * free-hook.c (log_gcpro):
2556 * free-hook.c (check_malloc):
2557 * free-hook.c (check_free):
2558 * free-hook.c (ROUND_UP_TO_PAGE):
2560 * frame.h (struct frame):
2562 * frame.c (change_frame_size_1):
2563 * frame.c (allocate_frame_core):
2565 * frame-x.c (x_focus_on_frame):
2566 * frame-x.c (x_init_frame_2):
2567 * frame-x.c (x_popup_frame):
2568 * frame-x.c (xemacs_XtPopup):
2570 * frame-x.c (Foffix_start_drag_internal):
2571 * frame-x.c (x_cde_destroy_callback):
2572 * frame-x.c (x_wm_hack_wm_protocols):
2573 * frame-tty.c (tty_frame_visible_p):
2574 * frame-msw.c (mswindows_make_frame_invisible):
2575 * frame-msw.c (mswindows_after_init_frame):
2576 * frame-msw.c (mswindows_init_frame_1):
2577 * fns.c (syms_of_fns):
2578 * fns.c (Fbase64_decode_string):
2580 * fns.c (Ffillarray):
2581 * fns.c (Fobject_plist):
2583 * fns.c (Fcanonicalize_lax_plist):
2584 * fns.c (Fcanonicalize_plist):
2585 * fns.c (Fplist_remprop):
2586 * fns.c (Fplist_get):
2587 * fns.c (advance_plist_pointers):
2588 * fns.c (internal_plist_put):
2589 * fns.c (Fnreverse):
2592 * fns.c (Fsubstring):
2593 * fns.c (Fbvconcat):
2595 * fns.c (length_with_bytecode_hack):
2596 * fns.c (print_bit_vector):
2598 * floatfns.c (Ffloor):
2600 * floatfns.c (in_float_error):
2601 * fileio.c (Ffile_modes):
2602 * fileio.c (Fexpand_file_name):
2603 * fileio.c (Fmake_temp_name):
2604 * fileio.c (Ffile_name_nondirectory):
2605 * fileio.c (Ffile_name_directory):
2607 * file-coding.c (vars_of_mule_coding):
2608 * file-coding.c (convert_to_external_format):
2609 * file-coding.c (encoding_marker):
2610 * file-coding.c (decoding_marker):
2611 * file-coding.c (Fcopy_coding_system):
2612 * file-coding.c (Fmake_coding_system):
2613 * file-coding.c (struct coding_system_list_closure):
2614 * file-coding.c (Ffind_coding_system):
2615 * file-coding.c (symbol_to_eol_type):
2617 * faces.h (struct face_cachel):
2618 * faces.c (vars_of_faces):
2619 * faces.c (face_property_was_changed):
2620 * faces.c (mark_face_cachels):
2621 * faces.c (temporary_faces_list):
2622 * faces.c (struct face_list_closure):
2624 * extents.h (struct extent):
2625 * extents.c (vars_of_extents):
2626 * extents.c (struct copy_string_extents_1_arg):
2627 * extents.c (add_string_extents_mapper):
2628 * extents.c (Fextent_property):
2629 * extents.c (Fset_extent_property):
2630 * extents.c (symbol_to_glyph_layout):
2631 * extents.c (properties_equal):
2632 * extents.c (print_extent):
2633 * extents.c (print_extent_1):
2634 * extents.c (extent_in_region_p):
2635 * extents.c (gap_array_make_gap):
2637 * events.h (struct Lisp_Event):
2639 * events.c (Fevent_properties):
2640 * events.c (format_event_object):
2641 * events.c (Fmake_event):
2642 * events.c (event_equal):
2643 * events.c (print_event):
2644 * events.c (mark_event):
2645 * event-stream.c ((read-char)
2646 * event-stream.c (vars_of_event_stream):
2647 * event-stream.c (syms_of_event_stream):
2648 * event-stream.c (Fset_recent_keys_ring_size):
2649 * event-stream.c (Fsit_for):
2650 * event-stream.c (Fnext_event):
2651 * event-stream.c (execute_help_form):
2652 * event-stream.c (maybe_kbd_translate):
2654 * event-msw.c (vars_of_event_mswindows):
2655 * event-msw.c (mswindows_wnd_proc):
2656 * event-msw.c (mswindows_need_event):
2657 * event-msw.c (mswindows_drain_windows_queue):
2658 * event-msw.c (mswindows_pump_outstanding_events):
2660 * event-msw.c (slurp_thread):
2661 * event-msw.c (struct ntpipe_slurp_stream):
2662 * event-msw.c (HANDLE_TO_USID):
2663 * event-Xt.c (emacs_Xt_handle_magic_event):
2664 * event-Xt.c (x_event_to_emacs_event):
2665 * event-Xt.c (x_reset_modifier_mapping):
2666 * event-Xt.c (x_reset_key_mapping):
2668 * eval.c (syms_of_eval):
2669 * eval.c (warn_when_safe):
2670 * eval.c (warn_when_safe_lispobj):
2671 * eval.c (Fbacktrace_frame):
2672 * eval.c (Fbacktrace):
2673 * eval.c (top_level_set):
2674 * eval.c (unbind_to_hairy):
2675 * eval.c (specbind_magic):
2676 * eval.c (specbind_unwind_wasnt_local):
2677 * eval.c (call2_trapping_errors):
2678 * eval.c (call1_trapping_errors):
2679 * eval.c (catch_them_squirmers_call2):
2680 * eval.c (call0_trapping_errors):
2681 * eval.c (run_hook_trapping_errors):
2682 * eval.c (catch_them_squirmers_eval_in_buffer):
2683 * eval.c (call4_in_buffer):
2684 * eval.c (call3_in_buffer):
2685 * eval.c (call2_in_buffer):
2686 * eval.c (call1_in_buffer):
2687 * eval.c (call0_in_buffer):
2688 * eval.c (run_hook):
2689 * eval.c (run_hook_with_args_in_buffer):
2692 * eval.c (do_autoload):
2693 * eval.c (un_autoload):
2694 * eval.c (Fautoload):
2695 * eval.c (Finteractive_p):
2696 * eval.c (Fcommand_execute):
2697 * eval.c (signal_quit):
2698 * eval.c (call_with_suspended_errors):
2699 * eval.c (signal_error):
2700 * eval.c (return_from_signal):
2701 * eval.c (Fcall_with_condition_handler):
2702 * eval.c (run_condition_case_handlers):
2703 * eval.c (condition_case_1):
2704 * eval.c (Funwind_protect):
2705 * eval.c (unwind_to_catch):
2706 * eval.c (internal_catch):
2707 * eval.c (Fmacroexpand_internal):
2708 * eval.c (Fuser_variable_p):
2709 * eval.c (Fdefconst):
2711 * eval.c (Ffunction):
2712 * eval.c (signal_call_debugger):
2713 * eval.c (call_debugger):
2716 * emacs.c (sort_args):
2720 * editfns.c (Fencode_time):
2721 * editfns.c (Fdecode_time):
2722 * editfns.c (Fuser_full_name):
2724 * editfns.c (save_excursion_restore):
2727 * doprnt.c (emacs_doprnt_1):
2728 * doc.c (verify_doc_mapper):
2729 * doc.c (Fsnarf_documentation):
2730 * doc.c (Fdocumentation):
2732 * dired.c (user_name_completion):
2733 * dired.c (Fdirectory_files):
2736 * dgif_lib.c (FreeSavedImages):
2737 * dgif_lib.c (DGifGetImageDesc):
2739 * device.h (struct device):
2740 * device.c (Fselect_device):
2741 * device.c (allocate_device):
2743 * device-x.c (Fx_keysym_on_keyboard_p):
2744 * device-x.c (Fx_valid_keysym_name_p):
2745 * device-x.c (x_IO_error_handler):
2746 * device-x.c (x_delete_device):
2747 * device-x.c (x_finish_init_device):
2748 * device-x.c (x_init_device):
2750 * device-msw.c (mswindows_init_device):
2752 * database.c (vars_of_database):
2753 * database.c (Fput_database):
2754 * database.c (Fopen_database):
2755 * database.c (berkdb_remove):
2756 * database.c (berkdb_put):
2757 * database.c (Fdatabasep):
2758 * database.c (print_database):
2760 * data.c (vars_of_data):
2761 * data.c (syms_of_data):
2762 * data.c (init_errors_once_early):
2763 * data.c (prune_weak_lists):
2764 * data.c (finish_marking_weak_lists):
2765 * data.c (print_weak_list):
2767 * data.c (Fstring_to_number):
2768 * data.c (Fnumber_to_string):
2769 * data.c (Findirect_function):
2772 * data.c (Fsubr_interactive):
2774 * data.c (Fkeywordp):
2777 * console.h (CONSOLE_NAME):
2779 * console.c (vars_of_console):
2780 * console.c (Fselect_console):
2782 * console-x.h (DEVICE_X_COLORMAP):
2783 * console-x.h (struct x_device):
2784 * console-x.c (x_device_to_console_connection):
2785 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
2786 * console-tty.c (tty_init_console):
2788 * console-msw.h (struct mswindows_frame):
2791 * cmds.c (internal_self_insert):
2792 * cmds.c (Fforward_line):
2793 * cmds.c (Fforward_char):
2796 * chartab.c (mark_char_table_entry):
2798 * casefiddle.c (casify_word):
2799 * callproc.c (child_setup):
2800 * callproc.c (Fcall_process_internal):
2802 * callint.c (Fcall_interactively):
2804 * bytecode.c (execute_rare_opcode):
2805 * bytecode.c (execute_optimized_program):
2808 * buffer.h (BUFFER_REALLOC):
2809 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
2810 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
2812 * buffer.h (MAP_INDIRECT_BUFFERS):
2813 * buffer.h (CHECK_LIVE_BUFFER):
2814 * buffer.c (init_initial_directory):
2815 * buffer.c (complex_vars_of_buffer):
2816 * buffer.c (vars_of_buffer):
2817 * buffer.c (finish_init_buffer):
2818 * buffer.c (Fget_file_buffer):
2819 * buffer.c (Fbuffer_list):
2820 * buffer.c (mark_buffer):
2821 * balloon_help.c (balloon_help_move_to_pointer):
2822 * balloon_help.c (show_help):
2825 * alloc.c (garbage_collect_1):
2826 * alloc.c (sweep_strings):
2827 * alloc.c (sweep_compiled_functions):
2828 * alloc.c (sweep_bit_vectors_1):
2829 * alloc.c (sweep_vectors_1):
2830 * alloc.c (sweep_lcrecords_1):
2831 * alloc.c (tick_lcrecord_stats):
2832 * alloc.c (pure_string_sizeof):
2833 * alloc.c (mark_conses_in_list):
2834 * alloc.c (mark_object):
2835 * alloc.c (report_pure_usage):
2836 * alloc.c (make_pure_float):
2837 * alloc.c (make_pure_string):
2838 * alloc.c (free_managed_lcrecord):
2839 * alloc.c (mark_string):
2840 * alloc.c (noseeum_make_marker):
2841 * alloc.c (allocate_event):
2842 * alloc.c (Fbit_vector):
2843 * alloc.c (Fvector):
2844 * alloc.c (make_float):
2845 * alloc.c (Fmake_list):
2847 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
2848 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
2849 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
2850 * alloc.c (dbg_constants):
2851 * alloc.c (gc_record_type_p):
2852 * alloc.c (free_lcrecord):
2853 * alloc.c (xmalloc):
2854 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
2856 * Makefile.in.in (mostlyclean):
2857 * Makefile.in.in (external_client_xlib_objs_nonshared):
2858 * Makefile.in.in (temacs_link_args):
2859 * Makefile.in.in (release):
2860 * Makefile.in.in (dnd_objs):
2861 * Makefile.in.in (objs):
2862 * Makefile.in.in (PROGNAME):
2863 * EmacsShell.c: cast strings to (XtPointer)
2864 * EmacsFrame.c: cast strings to (XtPointer)
2866 - rewrite basic lisp functions for speed
2867 - rewrite bytecode interpreter for speed
2868 - rewrite list looping constructs for speed and safety using
2870 - use size_t where appropriate.
2871 - new hashtable implementation
2872 - cleanup implementation of opaques
2873 - opaques can now be purecopy'ed
2874 - move some cl functionality into C for speed.
2875 - remove last remaining VMS support
2877 - improve gdb/dbx debugger support
2878 - move pure.c back into alloc.c for performance
2879 - enable report_pure_usage() if --memory-usage-stats
2880 - remove remnants of Energize support (EMACS_BTL, cadillac...)
2881 - don't use symbols with leading `_' or embedded `__'
2882 - globally cleanup duplicated semicolons `;;'
2883 - I give in on %p vs %lx - we use printf("%lx",(long) p)
2885 - globally replace O_NDELAY with O_NONBLOCK.
2886 - globally replace CDISABLE with _POSIX_VDISABLE.
2887 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
2888 - define (and maybe use!) STDERR_FILENO and friends.
2889 - add support for macros defined in C
2890 - `when', `unless', `not' and `defalias' now defined in C,
2891 so that they are universally available.
2892 - rename defvar_mumble to defvar_magic
2893 - rename RETURN__ to RETURN_SANS_WARNINGS
2894 - use consistent style of initial caps in error messages
2895 - implement last, butlast, nbutlast, copy-list in C.
2896 - provide typedefs for all struct Lisp_foo types
2897 - Lisp_Objects must be initialized to Qnil rather than 0.
2898 - make sure XEmacs runs (slowly) with always_gc == 1;
2899 - fast and safe LOOP_* macros
2900 - change calls to XSETOBJ to XSETFOO
2901 - replace calls to XSETINT by make_int()
2902 - plug up memory leaks
2903 - use style markobj (foo), not silly ((markobj) (foo))
2904 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
2906 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
2908 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
2910 1998-11-28 SL Baur <steve@altair.xemacs.org>
2912 * XEmacs 21.2-beta4 is released.
2914 1998-11-27 SL Baur <steve@altair.xemacs.org>
2916 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
2917 property in control-1 charset.
2918 From Julian Bradfield <jcb@daimi.au.dk>
2920 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
2922 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
2924 Add stub for :label.
2926 * gui.c (gui_item_add_keyval_pair): ditto.
2928 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
2929 :key-sequence keyword.
2931 Support :active for submenus like the Windows code and FSF Emacs.
2933 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
2935 * dired.c (make_directory_hash_table): make_string() is OK because
2936 readdir() Mule-encapsulates.
2938 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2940 * fns.c (Fbase64_encode_string): Fix docstring.
2941 (Fbase64_decode_string): Ditto.
2943 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
2945 * editfns.c (Ftranslate_region): Use
2946 convert_bufbyte_string_into_emchar_string().
2948 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2950 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
2952 (Ftranslate_region): Turn table into an array of Emchars for
2955 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2957 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
2959 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
2961 * chartab.c (Freset_char_table): Don't blindly fill chartables of
2962 type `char' with nils.
2964 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
2965 for tables of type `char'.
2967 1998-11-26 Didier Verna <verna@inf.enst.fr>
2969 * input-method-xlib.c (Initialize_Locale): don't call
2970 XtSetLanguageProc. We've done the whole work here.
2971 * input-method-xfs.c (Initialize_Locale): ditto.
2972 * input-method-motif.c (Initialize_Locale): ditto.
2974 1998-11-26 Didier Verna <verna@inf.enst.fr>
2976 * process-unix.c (unix_create_process): handle properly
2977 Vfile_name_coding_system for converting the program and directory
2980 1998-11-27 SL Baur <steve@altair.xemacs.org>
2982 * m/arm.h: New file.
2983 From James LewisMoss <dres@ioa.com>
2985 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
2988 Fix the realpath() problem of UnixWare2.1.3.
2989 Patches for NEC's sysv4.2 machine.
2991 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2993 * dired.c (Fdirectory_files): Remove redundant code.
2995 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2997 * fns.c (free_malloced_ptr): New function.
2998 (XMALLOC_OR_ALLOCA): New macro.
2999 (XMALLOC_UNBIND): Ditto.
3000 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3001 to be freed in case of non-local exit.
3002 (Fbase64_encode_string): Ditto.
3003 (Fbase64_decode_region): Ditto.
3004 (Fbase64_decode_string): Ditto.
3005 (STORE_BYTE): New macro.
3006 (base64_decode_1): Use it.
3008 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3010 * fns.c (base64_value_to_char): Base64 stuff.
3012 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3014 * editfns.c (Fbuffer_substring): New function.
3016 * lisp.h: Declare make_string_from_buffer_no_extents().
3018 * insdel.c (make_string_from_buffer_1): New function.
3019 (make_string_from_buffer_no_extents): Ditto.
3021 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3023 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3024 sound work on AIX with OSS installed. Linux should still work.
3026 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3028 * config.h.in: name change for cygwin/version.h
3030 * configure.in: check for cygwin/version.h now.
3032 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3033 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3034 move cygwin32/version.h to cygwin/version.h
3036 1998-11-03 Olivier Galibert <galibert@pobox.com>
3038 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3041 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3043 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3044 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3045 enable BROKEN_SIGIO under b20 to make QUIT work.
3047 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3049 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3050 to fit within the constraints of the screen size. I.e. make the
3051 frame small enough to fit and move it if some of it will be
3054 1998-10-19 Greg Klanderman <greg@alphatech.com>
3056 * dired.c: conditionalize inclusion of user-name-completion
3057 primitives on non-Windows NT. The needed functions don't exist on NT.
3059 1998-11-24 SL Baur <steve@altair.xemacs.org>
3061 * gifrlib.h: Clean up types for 64 bit compile.
3062 * dgif_lib.c (DGifInitRead): Ditto.
3063 (MakeSavedImage): Ditto.
3064 * emacs.c (decode_path): Ditto.
3065 From Steve Carney <carney@pa.dec.com>
3067 1998-10-16 William M. Perry <wmperry@aventail.com>
3069 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3070 (cehckboxes instead of checkboxes).
3072 1998-10-15 SL Baur <steve@altair.xemacs.org>
3074 * XEmacs 21.2-beta3 is released.
3076 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3078 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3079 gnuclient. Otherwise, we run xemacs as we always did. This gets
3080 rid of the annoying DOS window when running gnuclient.
3082 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3084 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3085 HAVE_MS_WINDOWS typo.
3087 1998-10-13 SL Baur <steve@altair.xemacs.org>
3089 * process-unix.c (unix_send_process): Set closed flag on writable
3090 pipe after SIGPIPE is received and before we call deactivate_process.
3092 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3094 * window.c (Fset_window_start): respect narrowing when
3095 checking wheter start is at the beginning of a line.
3096 (Fset_window_buffer): Ditto
3097 Fixes repeatable crash in VM.
3099 1998-10-09 SL Baur <steve@altair.xemacs.org>
3101 * window.c (specifier_vars_of_window): Set default vertical
3102 divider width to 1 on ttys.
3104 1998-10-08 Martin Buchholz <martin@xemacs.org>
3109 Add <stddef.h> to get ptrdiff_t declaration
3111 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3113 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3114 is used for Motif or Lucid scrollbars under X.
3116 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3118 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3121 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3123 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3125 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3127 * s/cygwin32.h: more cygwin b20 reorganisation.
3129 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3131 * nas.c: Added necessary support functions to be able to handle
3132 WAVE files in memory, just like the support for SND files in
3135 1998-09-30 SL Baur <steve@altair.xemacs.org>
3137 * callproc.c (child_setup): Fix spelling typo.
3139 1998-09-29 SL Baur <steve@altair.xemacs.org>
3141 * XEmacs 21.2-beta2 is released.
3143 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3145 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3146 to prevent memory corruption in the case of jumping out of a series of
3147 nested match patterns. This is a rather brute force approach, though.
3149 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3151 * config.h.in: ditto.
3153 * s/cygwin32.h: rearrange declarations to cope with cygwin
3154 b20. Include cygwin32/version.h if it exists.
3156 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3158 * device-msw.c (mswindows_init_device): Call new
3159 mswindows_enumerate_fonts() function in objects-msw.c instead
3160 of font_enum_callback_1() to enumerate fonts.
3162 font_enum_callback_1() and _2() moved to objects-msw.c.
3164 * faces.c (complex_vars_of_faces): Make the mswindows default
3165 face font fully specified and provide some fallbacks.
3167 * objects-msw.c: font_enum_callback_1() and _2() moved here
3168 from objects-msw.c. Obtain the enumerated font's character
3169 sets by table lookup instead of using the locale-specific
3170 string provided by Windows.
3172 New public non-method mswindows_enumerate_fonts() that fills
3173 in the supplied mswindows device's font list.
3175 mswindows_initialize_font_instance: Use the supplied name
3176 variable instead of f->name when signalling errors. Match font
3177 weights and character sets using lookup tables which handle
3178 spaces instead of by frobbing.
3180 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3182 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3183 on the size of code fragments passed to run_in_other_process.
3185 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3186 the amount of memory to allocate in the other process.
3188 Removed sigkill_code_end(), sigint_code_end() and
3189 sig_enable_code_end() since they are now redundant.
3191 send_signal() and enable_child_signals(): Don't try to work
3192 out the end of the code fragments passed to
3193 run_in_other_process()
3195 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3197 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3200 * src/unexelf.c: Partially synched with FSF's 20.3.
3202 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3204 * insdel.c (signal_after_change): Map across indirect buffers
3205 here, and not in the upper-level functions.
3206 (signal_first_change): Don't check for Armageddon.
3207 (signal_before_change): Map across indirect buffers here.
3208 (prepare_to_modify_buffer): ...and here.
3210 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3212 * insdel.c (signal_after_change): Add return value.
3213 (buffer_insert_string_1): Use it.
3214 (buffer_delete_range): Ditto.
3215 (buffer_replace_char): Ditto.
3216 (cancel_multiple_change): Map the indirect buffers.
3218 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3220 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3221 (uninit_buffer_text): Ditto.
3223 * buffer.c (Fmake_indirect_buffer): Implement stricter
3226 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3228 * insdel.c (change_function_restore): Reverse order of
3229 function-call and assignment.
3230 (first_change_hook_restore): Ditto.
3232 * extents.c (mark_extent_auxiliary): Mark them.
3233 (Fset_extent_property): Set them.
3234 (Fextent_property): Get them.
3235 (Fextent_properties): Ditto.
3236 (vars_of_extents): Set their default.
3238 * extents.h (struct extent_auxiliary): Add before_change_functions
3239 and after_change_functions.
3241 * insdel.c (signal_before_change): Use it.
3242 (signal_after_change): Ditto.
3244 * extents.c (report_extent_modification): New function.
3246 * insdel.c (signal_before_change): Don't check for Armageddon.
3247 (signal_after_change): Ditto.
3249 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3251 * redisplay.c (redisplay_window): make sure a new starting point
3252 is chosen if it somehow got moved from the beginning of the line
3253 -- this can happen because Fwiden was called recently.
3255 * window.c (Fset_window_start): set start_at_line_beg correctly
3256 (Fset_window_buffer): Ditto
3258 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3260 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3261 (uninit_buffer_text): Ditto.
3263 * buffer.c (Fmake_indirect_buffer): Implement stricter
3266 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3268 * emacs.c (main_1): Removed references to *vars_of_filelock.
3270 * lisp.h: Added Fsystem_name.
3272 * filelock.c: Replaced by version from FSF 20.2. Now implements
3273 locking by using symlinks which is NFS safe. However keep the
3274 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3275 version (and of course use ansi C, acessor macros, etc).
3277 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3279 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3280 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3281 in init_signals_very_early. However these should not be passed
3282 on to children attached to the new pty.
3284 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3286 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3288 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3290 * fileio.c (file-name-directory, file_name_as_directory):
3291 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3293 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3295 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3297 * ralloc.c: uncomment __morecore.
3299 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3301 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3302 WriteFile() to fix a winsock 1.x bug on Win95.
3304 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3306 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3308 (x_event_to_emacs_event): Ditto.
3309 (emacs_Xt_handle_focus_event): Ditto.
3310 (emacs_Xt_handle_magic_event): Ditto.
3312 * console-x.h (struct x_device): New flag being_deleted.
3313 (DEVICE_X_BEING_DELETED): New macro.
3315 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3316 returning. Before doing that, set the being_deleted flag on the
3319 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3321 * device-x.c (x-seppuku-on-epipe): Removed.
3323 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3325 * frame-x.c (x_delete_frame): Flush the X output buffer after
3326 calling XtDestroyWidget to ensure that the windows are really
3329 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
3331 * menubar-x.c (my_run_hook): New unused function.
3332 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
3333 since we ignore the results of the contained functions anyway.
3335 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
3337 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
3338 interlaced GIF files that are smaller than 4 lines high...
3340 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3342 * buffer.c (map_over_sharing_buffers): Deleted.
3344 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
3346 * buffer.c (Fkill_buffer): Keep indirect_children updated while
3349 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3351 * insdel.c (buffer_insert_string_1): Advance the point bytind in
3353 (buffer_delete_range): Ditto.
3355 * marker.c (init_buffer_markers): Set point-marker to the value of
3356 point in an indirect buffer.
3358 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3360 * undo.c (undo_prelude): Test last-undo-buffer against base
3363 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
3365 * buffer.h (BUFFER_BASE_BUFFER): New macro.
3367 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
3369 * insdel.c (init_buffer_text): Initialize it here.
3371 * line-number.c: Address line_number_cache through buffer->text.
3373 * buffer.c (mark_buffer): Mark line number cache.
3375 * bufslots.h (line_number_cache): Move to struct buffer_text.
3377 * insdel.c (buffer_insert_string_1): Propagate signals and changes
3378 across the children buffers.
3379 (buffer_delete_range): Ditto.
3380 (buffer_replace_char): Ditto.
3384 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
3386 * buffer.c (Fmake_indirect_buffer): Uncomment.
3388 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
3390 * macros.c (Fend_kbd_macro): Remove trailing period from error
3392 (Fexecute_kbd_macro): Ditto.
3394 1998-08-21 Greg Klanderman <greg@alphatech.com>
3396 * dired.c (Fuser_name_completion): remove optional 2nd argument.
3397 (Fuser_name_completion_1): new function to return uniqueness
3398 indication in addition to the user name completion.
3399 (user_name_completion): change type of `uniq' argument.
3401 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3403 * lread.c (vars_of_lread): Removed `source-directory' variable.
3405 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
3407 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
3410 1998-08-19 SL Baur <steve@altair.xemacs.org>
3412 * dired.c (vars_of_dired): Fix misapplied patch.
3414 1998-08-16 Martin Buchholz <martin@xemacs.org>
3416 * fns.c (Fremrassq, remrassq_no_quit):
3417 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
3419 1998-07-17 Didier Verna <verna@inf.enst.fr>
3421 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
3422 style as foreground GC for faces that have the `dim' property.
3423 (x_output_string): when the `dim' face property is set,
3424 ensure the gray pixmap has been created, and get a proper
3425 foreground GC to draw the text.
3427 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3429 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
3430 Manually track the state of the left and right Ctrl and Alt
3433 1998-08-07 Matt Stupple <matts@tibco.com>
3435 * ntproc.c: don't wait on char_consumed at thread entry.
3436 Additionally, to get the 'process' marked as finished, ensure
3437 that the CHILD_ACTIVE macro returns false, so before exiting
3438 close char_avail and set it to NULL, and close other handles
3439 to reduce handle leak problems.
3441 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3443 * menubar-msw.c (displayable_menu_item): take account of menu
3444 depth when deciding whether to try to display accelerators.
3446 1998-08-04 Andy Piper <andyp@parallax.co.uk>
3448 * event-msw.c: use MsgWaitForMultipleObjects if there are no
3451 * glyphs-msw.c: fix a couple of potential handle leaks.
3453 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
3455 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
3456 *decoding ONLY* back into the core.
3457 * glyphs-eimage.c: Change referenced header file for GIF
3458 reading to point to the incore version.
3460 1998-07-20 Martin Buchholz <martin@xemacs.org>
3462 * casefiddle.c (casify_object):
3463 Change algorithm from O(N**2) to O(N).
3467 1998-07-22 Greg Klanderman <greg@alphatech.com>
3469 * dired.c (file_name_completion_unwind): don't leak the cons.
3471 1998-07-20 Greg Klanderman <greg@alphatech.com>
3473 * dired.c (Fuser_name_completion): new function.
3474 (Fuser_name_all_completions): new function.
3475 (user_name_completion): new function.
3476 (syms_of_dired): 2 new DEFSUBRs.
3477 (vars_of_dired): initialize user name cache vars.
3479 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
3481 * glyphs-eimage.c (png_instantiate): Add proper handling for background
3482 colors taken from the default face. Also correct a thinko in
3483 transparency (not alpha) handling.
3485 1998-07-23 Martin Buchholz <martin@xemacs.org>
3487 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
3488 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
3489 * lread.c (Fload_internal): Be very careful with printfs of
3491 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
3494 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3496 * callint.c (Fcall_interactively): GCPRO prompt string before
3497 passing it to Fread_key_sequence
3499 1998-07-27 SL Baur <steve@altair.xemacs.org>
3501 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
3502 Vvertical_divider_map.
3504 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
3505 Qnil or 0, none were initialized prior to this change.
3507 Rename misnamed `V' prefixed integer variables:
3508 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
3509 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
3510 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
3511 Vcanna_ichiran_revLen.
3513 Rename misnamed `V' prefixed integer variables and initialize
3514 properly in the vars_of routine.
3515 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
3516 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
3517 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
3518 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
3519 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
3520 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
3521 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
3522 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
3523 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
3524 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
3525 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
3526 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
3527 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
3528 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
3529 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
3530 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
3531 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
3532 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
3533 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
3534 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
3535 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
3536 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
3537 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
3538 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
3539 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
3540 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
3541 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
3542 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
3543 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
3544 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
3545 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
3546 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
3547 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
3548 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
3549 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
3550 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
3551 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
3552 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
3553 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
3554 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
3555 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
3556 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
3557 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
3558 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
3559 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
3560 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
3562 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
3564 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
3565 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
3566 keys thus no longer considering all keysyms on a key.
3568 1998-07-19 SL Baur <steve@altair.xemacs.org>
3570 * XEmacs 21.2-beta1 is released.
3572 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3574 * eldap.c (Fldap_search_internal): When converting the list of
3575 attributes to search Copy the final 0 from Lisp strings to C
3577 Check base, not Vldap_default_base as a a string
3579 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
3581 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
3583 * unexnt.c: Unconditionally define bss_start and bss_size, and
3584 ensure that they don't go in the .bss section.
3586 1998-07-17 Olivier Galibert <galibert@pobox.com>
3588 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
3589 byte order is dependant of the local byte order).
3590 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3592 1998-07-18 SL Baur <steve@altair.xemacs.org>
3594 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
3595 Qmswindows_resource.
3596 From Jonathan Harris <jhar@tardis.ed.ac.uk>
3598 1998-07-12 SL Baur <steve@altair.xemacs.org>
3600 * general.c (syms_of_general): Add defsymbol for Qresource.
3602 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
3603 Qmswindows_resource.
3604 (TopLevel): Rename 'resource image format to 'mswindows_resource.
3605 (mswindows_resource_validate): Rename.
3606 (mswindows_resource_normalize): Rename.
3607 (mswindows_resource_possible_dest_types): Rename.
3608 (mswindows_resource_instantiate): Rename.
3609 (image_instantiator_format_create_glyphs_mswindows): Replace
3610 `resource' with `mswindows.resource'.
3612 * XEmacs 21.0-pre5 is released.
3614 1998-07-10 SL Baur <steve@altair.xemacs.org>
3616 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
3617 server type in environment.
3618 Use alloca-ed strings instead of tiny fixed size ones.
3620 1998-07-09 SL Baur <steve@altair.xemacs.org>
3622 * XEmacs 21.0-pre4 is released.
3624 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3626 * fileio.c: (expand_file_name): under win32: Don't treat names
3627 as UNC names if a drive letter has been specified. If a drive
3628 has been specified, strip out extra directory-seperators that
3629 reportedly cause problems under Win95.
3631 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3633 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
3634 MSVC >= 5.0. Put emacs init and zero-init data in a special
3635 section of the executable when this is defined.
3637 * unexnt.c, ntheap.h:
3638 Removed unused find_section() and get_section_size().
3641 Fix up the executable's checksum after dumping otherwise the
3643 When DUMP_SEPARATE_SECTION is defined, don't need to dump
3644 zero-init data separately from init data. Dump emacs data
3645 into a special section of the executable.
3646 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
3647 my_ebss instead of up to the end of bss.
3649 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
3651 * filelock.c: Removed Vconfigure_lock_directory - already
3654 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
3655 defined in frame.c and general.c respectively.
3657 * glyphs-msw.c: Removed Qresource - already defined in
3660 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3662 * eldap.c (Fldap_search_internal): Docstring fixes
3664 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
3666 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
3667 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
3668 EMACSPACKAGEPATH and INFOPATH variables.
3669 Removed unused get_emacs_configuration function.
3671 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
3672 it is now defined at build-time by the makefile.
3674 1998-07-01 James N. Potts <jnpotts@plutonium.net>
3676 * fileio.c: (expand_file_name): under win32: Don't treat names as
3677 UNC names if a drive letter has been specified. If a drive has
3678 been specified, strip out extra directory-seperators that
3679 reportedly cause problems under Win95.
3681 1998-07-05 Andy Piper <andyp@parallax.co.uk>
3683 * faces.c (complex_vars_of_faces): for the gui-element face don't
3684 fallback to the default face, instead provide reasonable default
3685 fallbacks that were previously hardcoded elsewhere.
3687 1998-07-06 Olivier Galibert <galibert@pobox.com>
3689 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
3690 when the X server endianness is different than the client's one.
3692 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3694 * eval.c (run_hook_with_args_in_buffer): Check
3695 default (non-buffer-local) value of hook for
3696 nil before treating it as a function. Don't initialize
3697 the `globals' variable twice.
3699 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
3701 * fileio.c: Don't do directory seperator canonicalisation in
3702 substitute-in-file-name because we don't know that the
3703 filename refers to a local file.
3705 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
3707 * process-nt.c (nt_create_process): Try appending the standard
3708 executable file extensions to the filename if none supplied.
3710 1998-06-29 SL Baur <steve@altair.xemacs.org>
3712 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
3714 From Keisuke Mori <ksk@ntts.com>
3716 1998-06-24 Andy Piper <andyp@parallax.co.uk>
3718 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
3719 images if we have masks. This handles the xbm case (have masks)
3720 and avoids overuse of resources in the xpm case (generally no masks).
3721 Don't output small toolbars.
3723 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
3725 * eval.c (run_hook_with_args_in_buffer): Don't treat
3726 the default value of a buffer local hook as a list of
3727 hooks unless it is both a cons and the car of that cons
3730 1998-06-29 SL Baur <steve@altair.xemacs.org>
3732 * extents.c: Email address for Ben Wing is ben@xemacs.org.
3733 * process-unix.c: Ditto.
3734 * mule-coding.h: Ditto.
3735 * mule-coding.c: Ditto.
3736 * mule-charset.c: Ditto.
3737 * mule-charset.h: Ditto.
3738 * file-coding.c: Ditto.
3739 * file-coding.h: Ditto.
3741 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
3743 * event-msw.c: Guard against recursion when freeing
3744 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
3746 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
3747 Call ShowWindow twice in init_frame_3 to get round runemacs
3750 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
3752 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
3754 * winslots.h: Rename.
3756 * window.c (specifier_vars_of_window): Renamed
3757 vertical-divider-draggable-p to vertical-divider-always-visible-p,
3758 as suggested by Ben Wing.
3759 (specifier_vars_of_window): Fix docstrings.
3761 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3763 * unexaix.c: Line number information works correctly again.
3765 1998-06-22 Olivier Galibert <galibert@pobox.com>
3767 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
3769 1998-06-21 Martin Buchholz <martin@xemacs.org>
3771 * editfns.c (get_home_directory): ANSIfy.
3772 XEmacs is compilable under C *and* C++.
3773 It's XEmacs, not Xemacs!
3775 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3777 * console-msw.h: added a list of fonts to device data.
3779 * device-msw.c: enumerate list of available fonts in
3780 mswindows_init_device. Free list in mswindows_delete_device.
3782 * objects-msw.c: Added helper function match_font used by
3783 mswindows_initialize_font_instance and mswindows_list_fonts.
3784 Allow a charset to be specified in a font string, even if
3785 previous fields havn't been specified.
3787 1998-06-23 Greg Klanderman <greg@alphatech.com>
3789 * indent.c (column_at_point): column cache bugfix.
3790 Set last_known_column_point to the buffer position for
3791 which the column was requested, not buffer's point.
3793 * redisplay.c (decode_mode_spec): for current-column, show
3794 window's point's column, not buffer's point's column.
3796 1998-06-23 Andy Piper <andyp@parallax.co.uk>
3798 * menubar-msw.c (mswindows_handle_wm_command): use
3799 enqueue_misc_user event rather than
3800 mswindows_enqueue_msic_user_event to fix customize problems. Add some
3803 * console-msw.h: declare mswindows_enqueue_magic_event.
3805 * event-msw.c (mswindows_enqueue_magic_event): make global.
3807 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
3809 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
3810 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
3811 (add_position_to_cache): Use EMACS_INT instead of int.
3813 1998-06-21 Olivier Galibert <galibert@pobox.com>
3815 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
3816 suitable for an int used as a boolean (btw, C sucks.).
3818 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3820 * object-msw.c: remove warnings.
3822 * device-msw.c: #define wrongly named cygwin structure elements.
3824 * s/cygwin32.h: define DEMI_BOLD
3826 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3828 * redisplay-msw.c: new function mswindows_apply_face_effects.
3829 This is called by output_string and output_cursor to display
3830 underline and strikeout on faces.
3832 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
3834 * console-msw.h: added a list of fonts to device data.
3836 * device-msw.c: enumerate list of available fonts in
3837 mswindows_init_device. Free list in mswindows_delete_device.
3839 * objects-msw.c: Added helper function match_font used by
3840 mswindows_initialize_font_instance and mswindows_list_fonts.
3841 Allow a charset to be specified in a font string, even if
3842 previous fields havn't been specified.
3844 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
3847 Removed compilation warnings from mswindows_string_to_color.
3848 mswindows_list_fonts returns a more general bogus font.
3849 New lisp-visible function mswindows-color-list.
3851 1998-06-19 David Bush <david.bush@adn.alcatel.com>
3853 * editfns.c (Fuser_login_name): Modify to user new function
3855 (user_login_name): C only function to avoid Lisp object overhead
3856 Returns "unknown" instead of nil in Cygwin environment
3858 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
3859 equivalent for current user in Cygwin environment. Use new
3860 function user_login_name to get username.
3862 * lisp.h: Declare user_login_name
3864 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3866 * unexaix.c (make_hdr): Fixed bias computations so debugging info
3868 Some other insignificant nitpicks.
3870 1998-06-18 Andy Piper <andyp@parallax.co.uk>
3872 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
3873 creating the image list and make sure he bk color is transparent.
3875 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
3877 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
3878 completed_timeouts. The timer could have expired.
3880 1998-06-17 Andy Piper <andyp@parallax.co.uk>
3882 * console-msw.h: move XEMACS_RECT_WH inside frame
3883 parameters. define macors to access it.
3885 * frame-msw.c (mswindows_init_frame_1): use new target_rect
3886 parameter to intialise desired sizing. (mswindows_init_frame_2):
3887 enable and size the frame to something sensible when we get
3888 here. (mswindows_set_frame_properites): use new
3889 mswindows_size_frame_internal function and size frame if frame
3890 parameters not just if init is finished - WM_SIZE happens too
3891 early for some specs. (mswindows_size_frame_internal): new
3892 function abstracted from mswindows_set_frame_properties.
3893 (Vmswindows_use_system_frame_size_defaults):
3894 new variable controls whether to allow the system to pick frame
3895 size defaults, defaults to nil.
3897 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
3898 than duplicated code.
3900 1998-06-15 Colin Rafferty <colin@xemacs.org>
3902 * Makefile.in.in: Made EXTW_LINK expand properly.
3904 1998-06-12 Martin Buchholz <martin@xemacs.org>
3906 * redisplay.c (vars_of_redisplay): default value of
3907 column-number-start-at-one should be NIL!
3909 1998-06-11 Martin Buchholz <martin@xemacs.org>
3912 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
3914 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
3916 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
3917 build_string to avoid crashes under Mule.
3919 1998-06-13 Andy Piper <andyp@parallax.co.uk>
3921 * ntplay.c (play_sound_data_1): don't delete the sound data until
3922 the next sound is played and the previous one finished.
3924 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
3926 * fileio.c (directory-sep-char): Escape backslashes.
3928 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
3930 * event-stream.c: Fix docstring reference.
3932 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
3934 * alloc.c (make_float): Remove useless initialization of `next'
3936 (make_pure_float): Ditto.
3938 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
3940 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3942 * fileio.c (Fmake_directory_internal): Remove conditionals
3943 on WINDOWSNT when calling mkdir.
3945 * ntproc.c: Deleted the following unused functions:
3946 register_child, reap_subprocess, sys_wait.
3948 * nt.c (sys_rename): Ifzeroed this implementation.
3949 Deleted the following unused functions:
3950 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
3951 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
3952 sys_read, sys_write.
3953 Merger sys_fopen and sys_open with sysdep.c implementation.
3955 * sysdep.c: Removed MS-DOS code.
3956 (sys_rename): Deal with Microsoft rename weirdness.
3957 (sys_open): Implemented for Windows.
3961 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
3963 * buffer.c (complex_vars_of_buffer): Removed %t description from
3966 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
3968 * scrollbar-msw.c: initialize the cbSize element of the
3969 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
3970 to ignore the value of cbSize, but Win95 (and I presume Win98)
3971 appear to want it set to sizeof(SCROLLINFO).
3973 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
3975 * event-stream.c: Defined Qcancel_mode_internal.
3976 (syms_of_event_stream): defsymbol'ed it.
3978 * events.h: Externed it.
3980 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
3982 1998-06-04 Oliver Graf <ograf@fga.de>
3984 * frame-x.c (x_cde_destroy_callback): free the data
3985 (cde-start-drag-internal) corrected root position, 21.1 needs this
3986 hardcoded in Button events
3987 (offix-start-drag-internal) corrected root position
3989 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3991 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
3994 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
3996 * dialog-msw.c (button_width): Removed `inline' from the function
3999 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4001 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4002 Note that adding this flag to subsequent frames causes problems.
4004 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4006 * glyphs-eimage.c (png_instantiate) move 'struct
4007 png_memory_storage tbr' out of nested block to avoid dangling
4010 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4013 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4014 inherits from gui-element.
4016 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4017 with existing code, generate masks correctly.
4019 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4021 * glyphs-eimage.c: Changed included header for gifs to use
4022 Gifreader instead of giflib.
4024 * glyphs-x.c: removed the image-related functions that were
4025 moved into glyphs-eimage.
4027 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4029 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4030 if built without X Windows support.
4032 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4034 * fns.c (Fconcat): Synch docstring with new reality.
4036 1998-06-03 SL Baur <steve@altair.xemacs.org>
4038 * frame.c: Remove reference to msdos.h (which is going away).
4039 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4041 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4043 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4047 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4049 * events.h: Fixed commentary about misc-user scrollbar events.
4051 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4052 object as an event channel, instead of window object.
4053 (x_update_horizontal_scrollbar_callback): Ditto.
4055 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4057 * ntplay.c (play_sound_data_1) new function. convert alloca data
4058 to malloc if necessary.
4059 (play_sound_file): if the file is not in our path then convert to
4062 1998-06-01 SL Baur <steve@altair.xemacs.org>
4064 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4065 * msdos.c (Frecent_doskeys): Ditto.
4067 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4068 Suggested by Reggie Perry <perry@zso.dec.com>
4070 * buffer.h: Eliminate size in declaration.
4072 1998-06-01 Olivier Galibert <galibert@pobox.com>
4074 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4076 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4078 * gui.c (gui_item_init): Changed the default value for config member
4079 from Qunbound to Qnil.
4081 1998-06-01 Greg Klanderman <greg@alphatech.com>
4083 * indent.c (vmotion_pixels): Don't #define abs().
4085 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4087 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4090 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4092 * glyphs.h: add xbm declarations.
4094 * console.h: add xbm_instantiate_method device method.
4096 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4097 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4098 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4099 locate_pixmap_file device method and read_bitmap_data_from_file
4100 instead of XmuReadBitmapDataFromFile.
4101 (xbm_instatntiate): make a device method.
4103 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4104 new function that just calls XmuReadBitmapDataFromFile.
4105 (x_xbm_instatntiate): device method from xbm_instantiate.
4107 * glyphs-msw.c (read_bitmap_data) (NextInt)
4108 (read_bitmap_data_from_file): new functions copied from Xmu
4110 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4111 inline data to an mswindows bitmap.
4112 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4113 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4116 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4118 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4119 `modeline-visible-p'.
4120 Declared specifier lisp variables at the beginning oh the file
4123 * procimpl.h (struct process_methods): Changed semantics of
4124 create_process method so it accepts lisp strings instead of
4127 * process.c (Fstart_process_internal): Moved building of
4128 unix style argv from here to process-unix.c, ...
4130 * process-unix.c (unix_create_process): ... right here.
4132 * process-nt.c (nt_create_process): Changed this function to
4133 support new semantics, so avoided a GC problem.
4135 * events.c (Fmake_event): Document misc-user events properties.
4136 (Fmake_event): Do not allow arbitrary objects for channel property
4137 of misc-user events.
4138 (Fmake_event): Change misc-user event validation: it is function
4139 which is required, not button.
4141 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4143 (mswindows_enqueue_misc_user_event): Added function.
4144 (mswindows_bump_queue): Removed function.
4145 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4146 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4147 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4148 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4149 really nothing, which is my personal favorite thing.
4151 * console-msw.h: Removed prototype for mswindows_bump_queue().
4152 Added prototype for mswindows_enqueue_misc_user_event().
4154 * menubar-msw.c (mswindows_handle_wm_command): Use
4155 mswindows_enqueue_misc_user_event().
4157 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4159 * dialog-msw.c (dialog_proc): Ditto.
4161 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4162 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4163 user events channel.
4165 1998-05-29 Greg Klanderman <greg@alphatech.com>
4167 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4168 incorrect semantics of vmotion_pixels which has been fixed. don't
4169 use it anymore as it can't easily be used.
4171 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4172 the motion was reported incorrectly if you tried to go past end of
4175 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4177 * toolbar.h: Removed misleading commentary, as Martin suggested.
4179 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4181 * lisp.h: Extern Qactivate_menubar_hook.
4183 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4186 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4188 * glyphs-msw.c: use BPLINE macro.
4190 * select-msw.c (mswindows-selection-exists-p)
4191 (mswindows-delete-selection): doc string fixes.
4193 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4194 unpressable. warning elimination.
4196 1998-05-28 Martin Buchholz <martin@xemacs.org>
4198 * alloc.c (dbg_constants):
4201 Remove toolbar_data debugging code, since that lrecord has
4204 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4206 * alloc.c: zap cached value of (user-home-directory), so that
4209 * buffer.c: From init_buffer(), separated out code that
4210 determined the initial directory for the *scratch* buffer, and
4211 put them into a function called "init_initial_directory()".
4212 The initial directory is now available as a global "char *"
4213 called initial_directory.
4215 * buffer.h: Added extern entries for initial_directory[] and
4216 init_initial_directory().
4218 * editfns.c: added new elisp function "user-home-directory",
4219 which basically returns getenv("HOME"), but attempts to use
4220 other values if $HOME isn't set.This may have to be tweaked in
4221 the future as, under Unix, "/" is used if $HOME isn't set (this
4222 probably should be set to the current directory). To support
4223 this, a new C function, "get_home_directory()", now exists,
4224 which returns the "home directory", as a "char *" string.
4226 * emacs.c: Rearrange NT initialization order so that
4227 environment/registry variables will be properly entered into
4228 Vprocess_enviroment.
4230 * fileio.c: replaced egetenv("HOME") with calls to the new
4231 get_home_directory().
4233 * lisp.h: Added function prototypes for uncache_home_directory()
4234 and get_home_directory(), along with lisp prototypes for
4235 Fuser_home_directory() and friends.
4237 * nt.c: replaced getenv("HOME") with calls to the new
4238 get_home_directory().
4240 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4241 warnings about getcwd(), etc. not having prototypes.
4243 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4245 * process-nt.c (send_signal): Emulate SIGHUP.
4246 (validate_signal_number): Ditto.
4248 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4249 remove MOD_SHIFT from ASCII characters.
4250 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4253 1998-05-24 Oliver Graf <ograf@fga.de>
4255 * frame-x.c (cde-start-drag-internal): added filename and multi-
4257 (x_cde_convert_callback) dito
4259 1998-05-26 Oliver Graf <ograf@fga.de>
4261 * frame-x.c: include event-mod.h also with CDE
4262 (x_cde_convert_callback) made the thing working
4263 (cde-start-drag-internal) also debugging
4265 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4272 - add __OpenBSD__ where __NetBSD__ was found.
4273 - TODO: replace platform-specific conditional compilation by
4274 feature tests in configure.in.
4276 1998-05-15 Greg Klanderman <greg@alphatech.com>
4278 * window.c (Fwindow_displayed_text_pixel_height): New function.
4279 (syms_of_window): DEFSUBR it.
4281 * indent.c (Fvertical_motion_pixels): New function - request
4283 (vmotion_pixels): helper.
4284 (syms_of_indent): DEFSUBR.
4285 * lisp.h: declaration for vmotion_pixels().
4287 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4288 to request returning motion in pixels.
4289 (Fvertical_motion_pixels): Remove, functionality merged into
4291 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4292 (Fmove_to_window_line): ditto.
4293 * lisp.h: Change declaration for Fvertical_motion.
4295 * window.c: rename window-text-pixel-{height,width,edges} to
4296 window-text-area-pixel-*.
4298 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4300 * tooltalk.c (vars_of_tooltalk) added staticpro for
4301 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4303 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4305 * faces.c: create a new 3d_object_face, make modeline and
4306 vertical_divider faces fallback to this rather than the default.
4308 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4310 * s/cygwin32.h: define charsets for cygwin.
4312 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4314 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4315 and coordinates. resize bitmaps if we have already settled on a
4318 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4320 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4322 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4324 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4328 * gui-x.c (popup_selection_callback): Ditto.
4330 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
4332 * gui.c (get_callback): Renamed to get_gui_callback.
4334 1998-05-17 Martin Buchholz <martin@xemacs.org>
4336 * glyphs.h: order rearrangement.
4338 * device-tty.c (tty_asynch_device_change): Warning suppression.
4339 * device-x.c (x_device_system_metrics): Warning suppression.
4340 Make Doc strings consistent with coding standards.
4342 1998-05-24 Martin Buchholz <martin@xemacs.org>
4344 * general.c: multiple definition of `Qicon'. general.c seems
4345 like a good home for Qicon.
4347 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4349 * This patch is to fix compilation warnings under Windows.
4351 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
4352 Added prototypes for FSF inherited functions, with which XEmacs is
4353 sprinkled thoroughly.
4354 Removed some #if 0 code. Bracketed some more definitions, probably
4355 related to Visual C versions prior to 4 (we do not support them).
4357 * sysfloat.h (logb): Finally, get logb() prototyped.
4359 * sysfile.h: Added Windows specific includes.
4360 Removed old Windows specific code bracketed with #if 0.
4362 * sysdep.h: Added prototype for xrealpath().
4364 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
4366 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
4367 vars_of_dired_mswindows and init_ntproc (Grrr).
4369 * realpath.c: Added Windows specific include files.
4370 (xrealpath): Conditionalized declaration of some auto variables on
4371 S_IFLNK, to avoid warnings.
4373 * ntproc.c: Disabled some compiler warnings. This file is going to
4374 die, so I have not cleaned it up much.
4375 (set_process_dir): Const parameter.
4376 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
4377 (Fwin32_long_file_name): Ditto.
4378 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
4381 * nt.h: Added prototypes for set_process_dir and convert_time.
4383 * nt.c: More include files.
4384 (getpwnam): Consted char* argument.
4385 (get_emacs_configuration): Const return value.
4386 (opendir): Const argument.
4387 (stat): Casted converstion long->short.
4388 (stat): Removed ad hoc and questionable support for non-MSC compile.
4389 (sys_pipe): Removed unused auto variable.
4390 (_sys_read_ahead): Removed calls to DebPrint.
4391 (sys_read): Ditto, in 2 places.
4392 (term_ntproc): Added unused int parameter to signal handler, to
4393 avoid a warning when compiling a call to signal().
4394 (msw_sigset): Properly return old signandler or NULL instead of void.
4396 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
4398 * gmalloc.c (morecore): Ditto.
4399 (_free_internal): Ditto.
4401 * lread.c (parse_integer): Ditto.
4403 * dired-msw.c: Added several include files.
4405 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
4406 of Compilers to Shut Up.
4408 * callproc.c: Added #includes to suppress warnings under Windows.
4409 (init_callproc): Removed #if0'ed code and unused variables.
4411 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4413 * device-msw.c (mswindows_device_system_metrics): do planes in a
4414 way consistent with X.
4416 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
4417 use SetPixel, use DIBits functions.
4418 (xpm_to_eimage): frob colors more closely like xpm deos.
4420 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
4421 to be closer to X version.
4423 * event-msw.c: use tooltip string directly.
4425 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
4427 * objects-msw.c: frob rgb colors that only Kyle uses.
4429 * dialog-msw.c (button_width): INLINE -> inline.
4431 1998-05-23 SL Baur <steve@altair.xemacs.org>
4433 * getloadavg.c (getloadavg): Fix typo.
4435 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4437 * objects-msw.c (mswindows_initialize_font_instance): Added support
4438 for font character sets.
4439 Replaced 'XXX' with '####' in comments throughout the file.
4441 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
4443 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
4444 console_type_create_dialog_mswindows(), to initialize Windows dialog
4447 * symsinit.h: Prototyped the above functions.
4449 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
4450 checks to dialog.c...
4452 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
4453 device must support dialog boxes, and the descriptor must supply at
4456 * dialog-msw.c: New file, dialogs for Windows.
4458 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4460 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
4461 (Fldap_search_internal): Removed unused variable `err'
4463 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
4466 1998-05-17 Martin Buchholz <martin@xemacs.org>
4468 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
4469 defined. Therefore there is no need to handle the case when
4470 HAVE_LDAP is undefined. Similarily, there is no reason to have
4471 any code wrapped within `#ifdef emacs', since this code is only
4472 useful within an emacs. This simplifies the code significantly.
4474 * inline.c: Include eldap.h only if HAVE_LDAP.
4475 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
4478 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
4480 * unexnt.c (copy_executable_and_dump_data_section): Suppress
4481 printing dump stats when building without DEBUG_XEMACS.
4482 (dump_bss_and_heap): Ditto.
4484 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4486 * gnuclient.c: don't suppress window system if there is no display
4487 and we are running under mswindows. send 'mswindows device type if
4488 we are in this situation.
4490 1998-05-20 Andy Piper <andyp@parallax.co.uk>
4493 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
4495 * glyphs-msw.c: change cursor imgae type name to resource. Fix
4498 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
4500 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
4501 {top,bottom}-{left,right} values in addition to
4502 {top,bottom}_{left,right}.
4504 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
4506 * fileio.c (Fmake_temp_name): Remove unreached code.
4508 * process-nt.c (validate_signal_number): Use
4509 signal_simple_error().
4511 1998-05-19 Martin Buchholz <martin@xemacs.org>
4514 * sound.c (vars_of_sound):
4515 * sysdep.c (reset_sigio_on_device):
4516 * window.c (window_bottom_gutter_height):
4517 unexhp9k800.c:258: warning: implicit declaration of function
4518 `calculate_checksum'
4519 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
4520 sysdep.c:1012: warning: unused variable `owner'
4521 window.c:993: warning: `window_right_toolbar_width' defined but not used
4523 1998-05-19 Andy Piper <andyp@parallax.co.uk>
4525 * glyphs-msw.c (mswindows_create_resized_mask)
4526 (mswindows_create_resized_bitmap): new funnctions split out from
4527 mswindows_resize_dibitmap_instance.
4529 * glyphs-msw.h: declare new resize functions.
4531 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
4532 functions so that the original bitmaps are preserved.
4534 * sheap.c: fixup static heap exhausted error to avoid FAQs.
4536 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
4537 color if we are trying to output 0 depth bg pixmap.
4539 * scrollbar-msw.c: warning elimination.
4541 1998-05-18 Martin Buchholz <martin@xemacs.org>
4543 * frame-x.c (x_update_frame_external_traits): Start preprocessor
4544 directives in column 1.
4546 * search.c (skip_chars): Avoid using xzero with arrays, since some
4547 compilers get confused by the construct &array.
4549 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4552 * objects-msw.c: Changed the charset value for a new font from
4553 "don't care" to "ansi".
4555 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
4557 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4559 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
4560 modifier on control chars.
4561 Use IsCharAlpha() instead of isaplha().
4563 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4565 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
4567 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4569 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
4570 charset when creating font.
4571 (mswindows_initialize_color_instance): Do not create brush along
4573 (mswindows_finalize_color_instance): Do not delete it then.
4575 * objects-msw.h (struct mswindows_color_instance_data): Removed
4576 brush slot, and corresponding accessor macro.
4578 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
4580 * toolbar.c: Removed toolbar_data lrecord implementation.
4581 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
4582 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
4583 (compute_frame_toolbar_buttons): Ditto.
4584 (CHECK_TOOLBAR): Ditto.
4585 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
4586 (update_frame_toolbars): Do not check for changed buffer
4587 here. Toolbar information is provided by cached specs in
4588 windows. The check for buffer is eliminated becuase toolbars are
4589 marked changed in set_frame_selected_window() in frame.c
4590 Added check for changed toolbars geometry.
4591 (compute_frame_toolbars_data): Removed unused second parameter;
4592 Adjusted callers of this static function throughout the file.
4593 (init_frame_toolbars): Initialize current_toolbar_size.
4594 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
4595 what is its current expansion, for clarity.
4596 (init_frame_toolbars): Ditto.
4597 (init_device_toolbars): Ditto.
4598 (init_global_toolbars): Ditto.
4600 * toolbar.h: Removed definition of toolbar_data lrecord.
4601 Added accessor macros FRAME_TOOLBAR_BUTTONS and
4602 FRAME_CURRENT_TOOLBAR_SIZE.
4603 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
4605 * toolbar-x.c (x_output_toolbar): The same change as in
4607 (x_output_toolbar): Ditto.
4608 (x_redraw_exposed_toolbar): Ditto.
4610 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
4611 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
4612 (mswindows_output_toolbar): Ditto.
4613 (mswindows_output_toolbar): Ditto.
4615 * frame.c (mark_frame): Removed marking of arrays, according to
4616 frameslots.h change.
4617 (nuke_all_frame_slots): Ditto.
4618 (set_frame_selected_window): Mark toolbars changed when
4619 last_nonminibuf_window changes.
4621 * frame.h (struct frame): Moved some slots to frameslots.h.
4622 Added current_toolbar_size array.
4623 Changed references from toolbar_data to toolbar_buttons in macros
4624 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
4625 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
4626 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
4628 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
4629 Moved arrays of lisp objects here from frame.h: toolbar_size,
4630 toolbar_visible_p, toolbar_border_width.
4631 Removed toolbar_data slot and added toolbar_buttons.
4633 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
4635 * symsinit.h: Externed syms_of_process_nt()
4637 * emacs.c (main_1): Call syms_of_process_nt()
4639 * process-nt.c: Quote process arguments by a call to Lisp function
4640 `nt-quote-process-args'.
4641 (syms_of_process_nt): New function.
4642 (nt_send_process): Flush data stream after each write, to avoid
4643 leaving buffered data.
4644 (nt_send_process): When blocked on process output, wait for
4645 process to slurp more for progressively increasing time intervals.
4647 1998-05-17 Martin Buchholz <martin@xemacs.org>
4649 * window.c (have_undivided_common_edge): Make file-local function
4651 (map_windows): Return 0 if all map functions successful.
4654 * winslots.h: Use unlikely names for local variables in macros to
4655 avoid shadowing warnings.
4657 1998-05-17 Andy Piper <andyp@parallax.co.uk>
4659 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
4660 so that we re-output if the toolbar size has changed.
4662 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4664 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
4666 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
4668 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
4671 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4673 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
4674 get bitmap manifest constants defined.
4676 * console-msw.h: Include system files in angle brackets, not in
4679 * window.c (specifier_vars_of_window): Fixed a typo in
4680 `vertical-divider-line-width' docstirng.
4682 1998-05-16 Olivier Galibert <galibert@pobox.com>
4684 * line-number.c (delete_invalidate_line_number_cache): Use an
4686 (buffer_line_number): Remove dangerous, plain wrong when using
4687 64bits emacs ints, cast.
4689 * insdel.c (buffer_delete_range): Use an EMACS_INT.
4691 * cmds.c (Fforward_line): Use EMACS_INTs.
4693 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
4694 (scan_buffer): Ditto.
4695 (bi_find_next_newline_no_quit): Remove useless cast.
4696 (find_next_newline_no_quit): Ditto.
4697 (find_next_newline): Ditto.
4698 (find_before_next_newline): Use an EMACS_INT.
4700 * lisp.h: Change scan_buffer to pass EMACS_INTs.
4702 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4704 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4706 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4708 * gui-x.c (popup_selection_callback): Use it.
4710 * gui.h (get_callback): Declare it.
4712 * gui.c (get_callback): New function.
4714 1998-05-15 SL Baur <steve@altair.xemacs.org>
4716 * window.c (have_undivided_common_edge): Guard scrollbar specific
4718 (window_needs_vertical_divider_1): Ditto.
4720 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
4722 * emacs.c (decode_path): Eliminate compiler warning.
4723 (Fdecode_path): Renamed to Fsplit_path.
4724 (Fsplit_string_by_char): New function.
4726 1998-05-14 Damon Lipparelli <lipp@primus.com>
4728 * winslots.h: close comment
4730 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
4732 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
4734 * bufslots.h: Removed buffer_file_type slot.
4736 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
4738 (complex_vars_of_buffer): Removed buffer-file-type variable and
4739 its default reference.
4741 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4743 * faces.c (complex_vars_of_faces): Defined
4744 Vvertical_divider_face.
4745 (vars_of_faces): Staticpro it.
4747 * faces.h: Externed Vvertical_divider_face.
4749 * redisplay-x.c (x_output_vertical_divider): Use
4750 Vvertical_divider_face to draw the divider instead of modeline
4753 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
4754 divider face using Vvertical_divider_face background.
4755 Fix drawing spacing gaps around the divider.
4757 1998-05-14 Didier Verna <verna@inf.enst.fr>
4759 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
4760 values for the vertical divider line width and spacing. Use the
4761 cached values from the window structure instead.
4762 (x_divider_width): ditto.
4764 * window.c (specifier_vars_of_window): new specifiers:
4765 vertical-divier -line-width and -spacing.
4766 (vertical_divider_global_width_changed): formerly known as
4767 vertical_divider_shadow_thickness_changed.
4769 * winslots.h: new slots: vertical_specifier _line_width and
4770 _spacing. Plus corrected a comment typo.
4772 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4774 * window.h: Declared window_divider_width().
4776 * console-stream.c (stream_divider_width): Removed method.
4777 (console_type_create_stream): And declaration for it.
4779 * redisplay.c (pixel_to_glyph_translation): Use
4780 window_divider_width() instead of divider_width redisplay method.
4781 (pixel_to_glyph_translation): Fix top divider edge calculation
4782 when scrollbar is on top.
4784 * window.c (window_divider_width): New function, an outphaser for
4785 divider_width redisplay method.
4786 (window_right_gutter_width): Use it.
4787 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
4788 specifiers, set fallback values differently on TTYs, and document
4789 the behavior of these on TTYs in the docstrings.
4791 * scrollbar.c (update_scrollbar_instance): Use
4792 window_divider_width() instead of divider_width redisplay method.
4794 * console.h (struct console_methods): Removed divider_width_method.
4796 * redisplay-tty.c (tty_divider_width): Removed device method.
4797 (console_type_create_redisplay_tty): Removed definition for it.
4798 (tty_output_vertical_divider): Respect the value returned by
4799 window_divider_width thus divider line width specification.
4801 * redisplay-msw.c (mswindows_divider_width): Removed device method.
4802 (console_type_create_redisplay_mswindows): Removed definition for it.
4803 (mswinodws_output_vertical_divider): Respect the value returned by
4804 window_divider_width thus divider line width specification.
4806 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4808 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
4810 1998-05-15 Andy Piper <andyp@parallax.co.uk>
4812 * glyphs-msw.c: resource loading implementation.
4813 (cursor_normalize): new function.
4814 (cursor_validate): ditto.
4815 (cursor_instantiate): ditto.
4816 (cursor_name_to_resource): ditto.
4817 (cursor_possible_dest_types): ditto.
4818 (check_valid_symbol): ditto.
4819 (check_valid_string_or_int): ditto.
4821 1998-05-14 Martin Buchholz <martin@xemacs.org>
4823 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
4826 * process-unix.c (process_signal_char): Use VSUSP instead of
4827 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
4829 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4831 * specifier.c (specifier_instance): Change locale precedence of
4832 instantiation so window locale has higher priority than buffer
4834 (Fspecifier_instance): Reflect this in docstring.
4835 (Fadd_spec_list_to_specifier): Ditto.
4836 (Fadd_spec_to_specifier): Ditto.
4837 (Fremove_specifier): Ditto.
4839 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4841 ** Dialog separation into a device method from Andy Piper
4843 * emacs.c (main_1): Call console_type_create_dialog_x().
4845 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
4846 into this device method.
4847 (console_type_create_dialog_x): New function.
4849 * dialog.c (Fpopup_dialog_box): New function.
4850 (syms_of_dialog): Defsubr it.
4852 * console.h (struct console_methods): Declared
4853 popup_dialog_box_method().
4855 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
4857 1998-05-14 Oliver Graf <ograf@fga.de>
4859 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
4860 * frame-x.c (x_cde_transfer_callback): checked for merge errors
4862 1998-05-13 Oliver Graf <ograf@fga.de>
4864 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
4866 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
4868 * console.h (device_metrics): Removed dbcs, input-method-editor
4869 and right-to-left metrics.
4871 * device.c (Fdevice_system_metric): Ditto.
4872 (Fdevice_system_metrics): Ditto.
4873 (syms_of_device): Ditto.
4874 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
4877 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
4879 * line-number.h (mark_line_number_cache): Remove unused
4882 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
4883 (get_nearest_line_number): Simplify.
4884 (add_position_to_cache): Make the old marker point nowhere.
4886 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4888 ** Renamed window-divider-map => vertical-divider-map
4889 and event-over-divider-p => event-over-vertical-divider-p,
4890 in the following files/functions:
4892 * events.c (Fevent_over_divider_p):
4893 * keymap.c (get_relevant_keymaps):
4896 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
4898 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
4900 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4902 * window.c (vertical_divider_changed_in_window): Renamed so.
4903 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
4904 (window_needs_vertical_divider_1): Decide whether we need it based
4905 on the value of the above specifier. If separators are unwanted,
4906 put them only if there's no scrollbar between this window and its
4908 (have_undivided_common_edge): New function, helper for the above.
4909 (window_needs_vertical_divider): Return either a cached value,
4910 or clauclate and cache one.
4911 (invalidate_vertical_divider_cache_in_window): Implemented.
4912 (map_windows): Changed return type to int, return the value from
4915 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
4916 (struct window): Added need_vertical_divider_p and
4917 need_vertical_divider_valid_p.
4919 * winslots.h: Added vertical_divider_draggable_p slot.
4921 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
4922 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
4924 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
4926 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
4927 invalidate_vertical_divider_cache_in_frame().
4930 1998-05-14 Andy Piper <andyp@parallax.co.uk>
4932 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
4934 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
4935 masks correctly and don't select 0.
4937 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4939 * winslots.h: New file, declaration of some struct window and
4940 struct saved_window members.
4942 * window.h (struct window): Include it, with required preprocessor
4945 * window.c (mark_window): Ditto.
4946 (allocate_window): Ditto.
4947 (struct saved_window): Ditto.
4948 (mark_window_config): Ditto.
4949 (saved_window_equal): Ditto.
4950 (Fset_window_configuration): Ditto.
4952 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
4954 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
4956 1998-05-12 Didier Verna <verna@inf.enst.fr>
4958 * redisplay-x.c (x_output_vertical_divider): draw shadows around
4959 the divider line. The shadow thickness is currently
4960 hard-wired. This will probably be turned into a specifier soon.
4962 1998-05-12 Didier Verna <verna@inf.enst.fr>
4964 * console.h (struct console_methods): the divider_width console
4965 method now requires a struct window * argument.
4967 * redisplay-x.c (x_divider_width): ditto. Plus remove
4968 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
4969 (x_output_vertical_divider): give a depressed look when the shadow
4970 thickness is negative.
4972 * console-stream.c (stream_divider_width): pass a struct window *
4975 * redisplay-tty.c (tty_divider_width): ditto.
4977 * window.c (window_right_gutter_width): totdi.
4979 * redisplay.c (generate_modeline): ittod.
4981 * scrollbar.c (update_scrollbar_instance): ttido.
4983 * redisplay-msw.c (mswindows_divider_width): ottid.
4984 WARNING: this enables to compile, but the feature is not functional.
4986 * window.h (struct window): new field
4987 vertical_divider_shadow_thickness.
4989 * window.c (specifier_vars_of_window): new specifier
4990 vertical-divider-shadow-thickness.
4991 (vertical_divider_shadow_thickness_changed): new function to
4992 inform redisplay that the window has changed.
4993 (mark_window): handle new field vertical_divider_shadow_thickness
4995 (allocate_window): ditto.
4996 (saved_window_equal): toddi.
4997 (Fset_window_configuration): totid.
4998 (save_window_save): ttdio.
4999 (struct saved_window): new field vertical_divider_shadow_thickness.
5001 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5003 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5006 1998-05-12 Oliver Graf <ograf@fga.de>
5008 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5009 * event-Xt.c (x_event_to_emacs_event): C++ compability
5011 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5013 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5016 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5018 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5021 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5023 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5025 * emacs.c (decode_path_1): New function.
5026 (decode_path): Use it.
5027 (Fdecode_path): Renamed from Fdecode_path_internal; use
5030 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5032 * macros.c (Fzap_last_kbd_macro_event): New function.
5033 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5035 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5037 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5038 multiple bitmaps are output vertically as well as horizontally.
5039 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5040 crossing lines this is handled by
5041 mswindows_output_dibitmap_region.
5043 1998-05-12 Martin Buchholz <martin@xemacs.org>
5045 * inline.c: Include eldap.h
5047 * menubar-x.c (x_update_frame_menubar_internal):
5048 Remove: unused variable `container'
5050 1998-05-11 Martin Buchholz <martin@xemacs.org>
5052 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5053 Unfortunately, the resulting temacs still cannot dump.
5055 * symbols.c (symbol_is_constant):
5056 (verify_ok_for_buffer_local):
5057 -Wswitch Warning suppression - add default case to switches.
5059 * redisplay.c (decode_mode_spec): Remove unused variables,
5060 Replace Fcoding_system_property (codesys, Qmnemonic) with
5061 XCODING_SYSTEM_MNEMONIC (codesys);
5062 Fcoding_system_property is for users.
5068 Change empty docstrings into no doc strings at all.
5069 Fix bogus FSF-format docstrings.
5072 Standardize docstrings.
5075 Explain problems with matherr.
5077 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5080 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5081 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5082 Fix the weird resultant interaction (causes windows problems)
5086 Take new EMACSBOOTSTRAPLOADPATH into account.
5087 Update documentation strings
5090 - Adjust for luser's CDPATH being set to something weird.
5091 - Take into account bash 2.02's tendency to print the cwd when
5092 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5093 - fix the run-temacs target to use $(DUMPENV)
5094 - fix the run-puremacs target to use $(DUMPENV)
5095 - fix the `depend' target to properly $(RM) the right files
5096 - Generate a better TAGS file for XEmacs' lisp code using
5097 hand-crafted regexps.
5098 - Use standard coding conventions for modules/Makefile.in
5100 1998-05-12 Didier Verna <verna@inf.enst.fr>
5102 * redisplay.c: removed the scrolling modeline code that didn't
5103 make it for 21.0. To be continued ...
5105 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5107 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5108 and empty string inputs.
5110 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5112 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5114 1998-05-10 Oliver Graf <ograf@fga.de>
5116 * event-stream.c (enqueue_misc_user_event_pos): created
5117 * lisp.h (enqueue_misc_user_event_pos): prototype added
5118 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5119 * emacs.c: call vars_of_dragdrop
5120 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5122 1998-05-11 Oliver Graf <ograf@fga.de>
5124 * frame-x.c (x_cde_transfer_callback): return at correct pos
5125 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5126 object for MIME (see comment in dragdrop.c)
5127 * dragdrop.c: API change documented in comment
5128 removed provide of dragdrop [is provided by dragdrop.el]
5130 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5132 * window.c (window_needs_vertical_divider): Enable vertical
5133 dividers for every non-rightmost window.
5134 (window_left_gutter_width): Left gutter consists of mythical
5135 toolbar and a virtual scrollbar.
5136 (window_right_gutter_width): The right one may have a divider
5139 * scrollbar.c (update_scrollbar_instance): Position vertical
5140 scrollbar left to divider if the latter present.
5142 * redisplay.h: Declared OVER_DIVIER constant.
5144 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5147 * redisplay-x.c (x_output_vertical_divider): Output divider along
5148 the right side of the window, down to window bottom. Swapped
5149 foreground and background colors so it is visible by default.
5151 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5152 stick the divider to the right window side.
5154 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5156 (mswindows_divider_width): Ask system for user preferred value.
5157 (mswindows_output_vertical_divider): Always output the divider on
5158 the right side of a window, down to bottom.
5160 * keymap.c (get_relevant_keymaps): Route mouse button events which
5161 happened over a window divider through window-divider-map.
5162 (Fkey_binding): Documented that in the docstring.
5163 Defined the variable Vwindow_divider_map.
5165 * events.c (Fevent_over_divider_p): Added this function.
5167 * events.h: EXFUNed it.
5169 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5171 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5172 toolbar geometry is suspected to change.
5174 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5178 Condition dnd and dde code on HAVE_DRAGNDROP.
5180 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5182 * events.c (format_event_object): Print space as SPC etc.
5184 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5186 * print.c (print_internal): In the default case, abort() if
5187 ERROR_CHECK_TYPECHECK.
5189 * fileio.c (Fmake_temp_name): Doc fix.
5191 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5193 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5195 * undo.c (Fprimitive_undo): Fixed typo.
5197 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5199 * fns.c (concat): Signal error on integer argument.
5201 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5203 * console.h (device_metrics): Prefixed each constatnt with DM_
5205 * device.c: (Fdevice_system_metric): Renamed so from plural form
5206 (metrics); Changed parameters order and added DEFAULT parameter;
5207 Unabbreviated some metric constants; Fixed and untabified doc string.
5208 (Fdevice_system_metrics): Added. Returns a plist of all provided
5211 * device-msw.c (mswindows_device_system_metrics): Renamed
5212 device_metrics enum constants.
5213 Return Qunbound instead of Qnil.
5215 * device-tty.c (tty_device_system_metrics): Ditto.
5217 * device-x.c (x_device_system_metrics): Ditto.
5219 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5221 * redisplay-msw.c: implement background pixmaps (really!). Make
5222 sure bg color is transparent if we have bg pmaps.
5223 * (mswindows_output_string) (mswindows_clear_region): output bg
5225 * (mswindows_output_dibitmap_region): new function.
5226 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5227 the bg color rather than transparently.
5229 * toolbar-msw.c: use masks if they exist.
5231 * glyphs-msw.c: set up masks correctly.
5233 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5235 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5237 * regex.c (re_match_2_internal): Check for quit.
5239 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5241 * frame.c (Ffocus_frame): New function.