1 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
6 `NUM_LEADING_BYTES' instead of 128.
8 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
10 * mule-charset.h (charset_by_leading_byte): Use
11 `NUM_LEADING_BYTES' instead of 128.
12 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
14 * mule-charset.c (charset_by_leading_byte): Use
15 `NUM_LEADING_BYTES' instead of 128.
16 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
18 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
21 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
23 * mule-charset.c (syms_of_mule_charset): Update to
26 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
28 * file-coding.c (encode_coding_sjis): New implementation for
29 UTF2000. (decode_coding_sjis): Ditto.
31 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
33 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
34 Don't define in UTF2000.
36 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
39 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
40 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
43 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
45 * config.h.in (CHAR_IS_UCS4): New macro.
47 * mule-charset.c (rep_bytes_by_first_byte): Modify for
48 conventional MULE representation.
49 (syms_of_mule_charset): Update to 0.3 (Imamiya).
51 * mule-charset.h: Reverted to original.
53 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
54 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
55 "mule-charset.h" if CHAR_IS_UCS4 is defined.
57 * character.h: New file.
59 * file-coding.c (Fmake_coding_system): Set 1 to
60 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
62 (encode_coding_no_conversion): New implementation for UTF2000.
64 * file-coding.h (struct Lisp_Coding_System): Add new member
67 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
69 * file-coding.c (decode_coding_iso2022): Code-point arguments of
70 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
71 (encode_coding_iso2022): New implementation for UTF2000.
73 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
75 * mule-canna.c (c2mu): New implementation for UTF2000.
78 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
80 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
82 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
84 * file-coding.c (reset_encoding_stream): Set 0 to
85 `str->iso2022.current_char_boundary' in UTF2000.
86 (encode_utf8): Don't define in UTF2000.
87 (encode_coding_utf8): New implementation for UTF-8 representation
89 (complex_vars_of_file_coding): Define coding-system `utf-8'.
91 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
93 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
95 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
97 (REP_BYTES_BY_FIRST_BYTE): Likewise.
99 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
101 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
102 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
104 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
105 (non_ascii_valid_char_p): Don't define in UTF2000.
106 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
107 (Lstream_get_emchar_1): Likewise.
108 (utf-2000-version): New variable in UTF2000.
110 * lread.c (read_escape): Add new reader `u'.
112 * insdel.c (three_to_one_table): Don't define in UTF2000.
113 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
114 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
116 (bytind_to_bufpos_func): Likewise.
117 (buffer_mule_signal_inserted_region): Likewise.
118 (vars_of_insdel): Don't initialize `three_to_one_table'.
119 (init_buffer_text): Use `buf->text->mule_size' instead of
120 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
123 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
124 UTF-8 representation in UTF2000.
125 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
126 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
127 (decode_coding_iso2022): Don't define local variable `lb' in
128 UTF2000; don't use LEADING_BYTE in UTF2000; use
129 `DECODE_ADD_UCS_CHAR' in UTF2000.
130 (convert_to_external_format): Decode as UTF-8 in UTF2000.
132 * config.h.in (UTF2000): New macro.
134 * buffer.h (struct buffer_text): Add new member `mule_size' and
135 don't add `mule_shifter' and `mule_three_p' in UTF2000.
136 (valid_char_p): Return always 1 in UTF2000.
137 (MAX_EMCHAR_LEN): 6 in UTF2000.
138 (three_to_one_table): Don't define in UTF2000.
139 (real_bufpos_to_bytind): Modify for UTF-8 representation in
141 (real_bytind_to_bufpos): Likewise.
143 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
145 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
147 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
148 representation change.
149 (Vutf_2000_version): New variable.
150 (leading_code_private_11): New variable.
151 (syms_of_mule_charset): Add new variables `utf-2000-version' and
152 `leading-code-private-11'.
154 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
155 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
156 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
157 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
158 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
159 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
160 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
161 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
162 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
163 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
164 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
165 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
166 (MIN_CHAR_GREEK): New macro.
167 (MAX_CHAR_GREEK): New macro.
168 (MIN_CHAR_CYRILLIC): New macro.
169 (MAX_CHAR_CYRILLIC): New macro.
170 (MIN_CHAR_HEBREW): New macro.
171 (MAX_CHAR_HEBREW): New macro.
172 (MIN_CHAR_THAI): New macro.
173 (MAX_CHAR_THAI): New macro.
174 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
175 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
176 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
177 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
178 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
179 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
180 (CHAR_FIELD2): New inline function.
181 (CHAR_FIELD3): New inline function.
182 (MULE_CHAR_PRIVATE_OFFSET): New macro.
183 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
184 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
185 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
186 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
187 (MIN_CHAR_COMPOSITION): Likewise.
188 (CHAR_LEADING_BYTE): Modified for character representation change.
189 (MAKE_CHAR): Likewise.
191 * lisp.h (Vcharset_latin_iso8859_1): New variable.
192 (Vcharset_greek_iso8859_7): Likewise.
193 (Vcharset_cyrillic_iso8859_5): Likewise.
194 (Vcharset_hebrew_iso8859_8): Likewise.
195 (Vcharset_thai_tis620): Likewise.
196 (Vcharset_katakana_jisx0201): Likewise.
198 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
200 * file-coding.c (determine_real_coding_system): Treat `coding:'
203 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
205 * file-coding.c (struct decoding_stream): New member `counter'.
206 (reset_decoding_stream): Initialize `counter'.
207 (decode_coding_ucs4): Use `counter'.
208 (decode_coding_utf8): Likewise.
210 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
212 * XEmacs 21.2.19 is released
214 1999-07-27 Jeff Miller <jmiller@smart.net>
216 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
217 menubar_show_keybindings.
219 1999-07-23 SL Baur <steve@miho>
221 * mule-charset.c (syms_of_mule_charset): Delete duplicated
222 definition of Qccl_program.
224 * mule-ccl.h: Make a global declaration of it here.
226 1999-07-20 Bob Weiner <weiner@beopen.com>
228 * s/sco7.h: Added from rr@sco.com.
230 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
232 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
234 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
236 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
237 (mule_encode): Likewise.
239 * mule-ccl.c (Qccl_program): New variable.
240 (CCL_SUSPEND): New macro.
241 (CCL_INVALID_CMD): New macro.
242 (CCL_READ_CHAR): Don't regard as invalid command while processing
243 the last block even if input is empty; use
244 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
245 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
247 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
248 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
249 (CCL_STAT_SUSPEND_BY_DST): Likewise.
250 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
251 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
253 1999-05-04 Ken'ichi Handa <handa@gnu.org>
255 * mule-ccl.h (struct ccl_program): New member stack_idx.
257 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
258 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
260 (setup_ccl_program): Initialize ccl->stack_idx to 0.
262 1998-10-12 Kenichi Handa <handa@etl.go.jp>
264 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
267 1998-08-18 Kenichi Handa <handa@etl.go.jp>
269 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
270 processing the last block, don't just finish but processes eol
271 block of the current CCL program.
272 (ccl_driver): Add a new jump label ccl_repeat for the above
275 1998-04-15 Kenichi Handa <handa@etl.go.jp>
277 * mule-ccl.c: Typo in comments fixed.
278 (Qccl_program_idx): New variables.
279 (CCL_ReadMultibyteChar2): Macro name changed from
280 CCL_ReadMultibyteCharacter.
281 (CCL_WriteMultibyteChar2): Macro name changed from
282 CCL_WriteMultibyteChar2.
283 (ccl_driver): Adjusted for the above changes.
284 (resolve_symbol_ccl_program): New function.
285 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
286 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
287 numbers by resolve_symbol_ccl_program.
288 (Fccl_execute_on_string): Likewise.
289 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
290 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
292 1998-01-21 Kenichi Handa <handa@etl.go.jp>
294 * mule-ccl.h: (struct ccl_program): New member private_state.
297 (CCL_Call): Fix the comment.
298 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
299 macros for CCL Commands.
301 (ccl_driver): New case lable `CCL_Extention'.
302 (setup_ccl_program): Initialize the member `private_state' of CCL.
304 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
306 * keymap.c (copy_keymap_internal): Inherit the default binding.
308 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
310 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
311 focus the event (XIM_focus_event).
312 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
313 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
314 the interface for future use (XIM_SetGeometry).
315 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
316 location (XIM_SetSpotLocation).
317 (x_output_eol_cursor): Ditto.
319 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
321 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
322 Olivier's change to lrecord.h of 1999-04-22
324 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
326 * gutter.c (redraw_exposed_gutter): Change type of pos from
327 enum toolbar_pos -> enum gutter_pos, since former is only defined
328 if toolbar support is.
330 1999-07-19 Andy Piper <andy@xemacs.org>
332 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
335 * gutter.c (gutter_validate): new function for the gutter specifier.
336 (specifier_type_create_gutter): declare specifier validator.
338 * buffer.h (INC_CHARBYTIND): add for no error checking version.
340 1999-07-18 Andy Piper <andy@xemacs.org>
342 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
344 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
346 (mswindows_resize_subwindow): new function.
348 * gutter.c (redraw_exposed_gutter): only reset the
349 current_display_lines if non-zero.
350 (Fgutter_pixel_height): new function.
351 (Fgutter_pixel_width): new function.
353 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
354 we want to retrive from the tab control.
356 1999-07-17 Andy Piper <andy@xemacs.org>
358 * window.c (change_window_height): mark gutters changed when we're
361 * gutter.c (specifier_vars_of_gutter): make defaults more
364 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
366 (DEFAULT_GUTTER_WIDTH): change.
367 (DEFAULT_GUTTER_BORDER_WIDTH): change.
369 1999-07-18 Andy Piper <andy@xemacs.org>
371 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
373 1999-07-16 Andy Piper <andy@xemacs.org>
375 * frame.c (Fmake_frame): call init_frame_gutters().
377 * redisplay.c (add_emchar_rune): use string functions if we are
378 working with a string.
379 (position_redisplay_data_type): add string element.
381 1999-07-15 Andy Piper <andy@xemacs.org>
383 * winslots.h: add real_gutter_size slots to hold the actual gutter
384 size. This is important for autodetected sizes.
386 * gutter.c (calculate_gutter_size): calculate size for gutters
387 that have 'autodetect size.
389 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
390 extent of divider for gutters.
392 * redisplay-x.c (x_output_vertical_divider): adjust extent of
395 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
396 position to take into account the gutters.
398 * redisplay.c (generate_modeline): adjust modeline position to
399 take into account the gutters.
401 1999-07-14 Andy Piper <andy@xemacs.org>
403 * gutter.c (frame_topmost_window): new function.
404 (frame_bottommost_window): ditto.
405 (frame_leftmost_window): ditto.
406 (frame_rightmost_window): ditto.
408 1999-07-13 Andy Piper <andy@xemacs.org>
410 * redisplay.c (calculate_display_line_boundaries): use text
411 boundaries so that gutters get handled properly.
413 1999-07-12 Andy Piper <andy@xemacs.org>
415 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
418 * redisplay-output.c (redisplay_clear_to_window_end): generalised
421 * redisplay-x.c (redisplay_clear_to_window_end): moved to
424 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
426 * gutter.c: new file - implements gutters. All new functions are
427 semantically equivalent to the toolbar functions.
428 (gutter_was_visible): new function.
429 (get_gutter_coords): ditto.
430 (output_gutter): ditto.
431 (clear_gutter): ditto.
432 (update_frame_gutters): ditto.
433 (redraw_exposed_gutter): ditto.
434 (redraw_exposed_gutters): ditto.
435 (free_frame_gutters): ditto.
436 (init_frame_gutters): ditto.
437 (decode_gutter_position): ditto.
438 (Fset_default_gutter_position): ditto.
439 (Fset_default_gutter_position): ditto.
440 (Fdefault_gutter_position): ditto.
441 (gutter_after_change): ditto.
442 (Fgutter_specifier_p): ditto.
443 (recompute_overlaying_specifier): ditto.
444 (gutter_specs_changed): ditto.
445 (default_gutter_specs_changed): ditto.
446 (gutter_geometry_changed_in_window): ditto.
447 (default_gutter_size_changed_in_window): ditto.
448 (default_gutter_border_width_changed_in_window): ditto.
449 (default_gutter_visible_p_changed_in_window): ditto.
450 (syms_of_gutter): ditto.
451 (vars_of_gutter): ditto.
452 (specifier_type_create_gutter): ditto.
453 (specifier_vars_of_gutter): ditto.
455 * gutter.h: new file. Contains gutter constants and sizing macros
456 similar to those for the toolbar.
458 * winslots.h: add gutter variables.
460 * window.h: declare window_is_* functions.
462 * window.c (window_is_lowest): make non-static.
463 (window_is_highest): ditto.
464 (window_top_toolbar_height): deleted.
465 (window_bottom_toolbar_height): deleted.
466 (window_left_toolbar_width): deleted.
467 (window_right_toolbar_width): deleted.
468 (window_top_gutter_height): add gutter sizing.
469 (window_bottom_gutter_height): ditto.
470 (window_left_gutter_width): ditto.
471 (window_right_gutter_width): ditto.
473 * symsinit.h: declarations for gutters vars etc.
475 * search.c (bi_find_next_emchar_in_string): new function.
477 * scrollbar.c (update_scrollbar_instance): remove reference to
478 window_bottom_toolbar_height which did nothing.
480 * redisplay.h (struct display_line): add face indices for
481 overriding defaults in output_display_line.
482 Add gutter_changed flags and declarations.
484 * redisplay.c (create_string_text_block): new function, similar to
485 create_text_block but for strings. Display tables etc are used
486 from the currently selected window.
487 (generate_string_display_line): ditto. Similar to
488 generate_display_line.
489 (generate_displayable_area): generate display lines for a given
490 area on a frame. Input is the string, with associated extents, to
492 (redisplay_frame): add gutter_changed check.
493 (redisplay_device): ditto.
494 (redisplay_without_hooks): ditto.
496 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
497 (x_redraw_exposed_area): redraw exposed gutters.
498 (x_bevel_area): new redisplay device method.
499 (x_type_create_redisplay_mswindows): add bevel_area device method.
500 (x_output_display_block): fiddly Martin-style cleanup.
501 (x_output_vertical_divider): use bevel_area.
503 * redisplay-output.c (output_display_line): check display_lines
504 for face information before using defaults.
505 (bevel_modeline): new function, calls bevel_area with appropriate
508 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
509 (mswindows_redraw_exposed_area): redraw exposed gutters.
510 (mswindows_bevel_area): new redisplay device method.
511 (console_type_create_redisplay_mswindows): add bevel_area device
514 * indent.c (string_column_at_point): add column_at_point but for
517 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
518 instantiate widgets that we have a toolkit for.
520 * general.c: add Qgutter.
522 * frame.h (struct frame): add display lines for gutters and
525 * frame.c (set_frame_selected_window): mark gutters changed.
527 * emacs.c (main_1): add gutter initialisation.
529 * device.h (struct device): add gutter_changed flag and macros to
532 * console.h (struct console_methods): new bevel area redisplay
535 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
536 REAL_INC_BYTIND is for buffers.
537 (INC_CHARPTR): ditto.
539 * Makefile.in.in (objs): add gutter.o
541 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
543 * XEmacs 21.2.18 is released
545 1999-07-08 SL Baur <steve@mule.m17n.org>
547 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
549 (emacs_Xt_handle_magic_event): Ditto.
550 * redisplay-x.c (x_output_string): Ditto.
551 (x_output_eol_cursor): Ditto.
553 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
555 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
556 problem that when XIM is destroyed or missed with some reason,
557 xemacs will die. Now xim=xlib waits the XIM will be ready and
558 endures the case of XIM end up.
560 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
562 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
563 SIGINT and SIGCHLD before calling tt_open and restore the
564 afterwards. This fixes e.g. the zombie subprocesses on Solaris
566 1999-07-06 SL Baur <steve@xemacs.org>
568 * s/linux.h: gcc-2.8 changes for powerpc
569 From Justin Vallon <vallon@mindspring.com>
571 1999-07-05 Didier Verna <verna@inf.enst.fr>
573 * indent.c: new symbol Qcoerce.
574 (Fmove_to_column): use it + doc string update.
576 1999-07-04 Andy Piper <andy@xemacs.org>
578 * console.c: undo earlier Fprovide changes.
582 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
583 function. validate appropriate image formats for tty.
585 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
586 initialize consoles parameter.
587 (struct image_instantiator_methods): add consoles parameter.
588 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
590 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
593 * glyphs-msw.c: declare instantiators for later use.
594 (image_instantiator_format_create_glyphs_mswindows): validate xpm
595 and friends on the mswindows console.
598 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
599 that have not been registered on the supplied device.
600 (Fvalid_image_instantiator_format_p): add locale argument.
601 (instantiate_image_instantiator): valid image instantiator on the
604 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
607 * emacs.c (main_1): add call to
608 image_instantiator_format_create_glyphs_tty().
610 1999-06-29 Olivier Galibert <galibert@pobox.com>
612 * lisp.h: Add #include <stddef.h>.
614 * sysdep.c: Remove #include <stddef.h>.
615 * symbols.c: Remove #include <stddef.h>.
616 * sheap.c: Remove #include <stddef.h>.
617 * opaque.c: Remove #include <stddef.h>.
618 * nt.c: Remove #include <stddef.h>.
619 * mule-charset.c: Remove #include <stddef.h>.
620 * marker.c: Remove #include <stddef.h>.
621 * file-coding.c: Remove #include <stddef.h>.
622 * extents.c: Remove #include <stddef.h>.
623 * elhash.c: Remove #include <stddef.h>.
624 * data.c: Remove #include <stddef.h>.
625 * chartab.c: Remove #include <stddef.h>.
626 * bytecode.c: Remove #include <stddef.h>.
627 * alloc.c: Remove #include <stddef.h>. Fix vector description
629 1999-06-30 SL Baur <steve@miho.m17n.org>
631 * editfns.c: Document "%s" format spec.
632 Suggested by Bob Weiner <weiner@altrasoft.com>
634 1999-06-29 Andy Piper <andy@xemacs.org>
636 * event-msw.c: fix definition booboo.
638 1999-06-28 Andy Piper <andy@xemacs.org>
640 * glyphs-x.c: change tree -> tree-view, progress ->
641 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
643 (complex_vars_of_glyphs_x): provide-on-console the implemented
646 * glyphs-msw.c: ditto.
647 (complex_vars_of_glyphs_mswindows): ditto.
649 * lisp.h: add Fprovide_on_console.
651 * fns.c (Ffeaturep): add extra optional console argument.
652 (Fprovide_on_console): like Fprovide but provides only on the
653 specified console-type.
654 (Frequire): check console-features as well as global features.
656 * console.c (Fconsole_features): new function. return features for
658 (syms_of_console): add Fconsole_features.
660 * console.h (CONMETH_FEATURES): new function for accessing features.
661 (CONSOLE_FEATURES): ditto.
662 (struct console_methods): add features slot.
663 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
665 1999-06-28 Andy Piper <andy@xemacs.org>
667 * event-Xt.c (handle_focus_event_1): conditionally compile for
670 * s/cygwin32.h: fix me website address.
672 * event-msw.c: add NMHDR for pre b20 cygwin builds.
674 * gui-x.c (button_item_to_widget_value): only add callback if it
677 * glyphs-x.c: add progress, edit and combo instantiators.
678 (x_widget_set_property): new function. uses lwlib to set widget
680 (x_widget_property): new function. uses lwlib to get widget
682 (x_button_instantiate): support images in buttons.
683 (x_button_property): new function. use lwlib to get the selected
685 (x_progress_instantiate): new function for instantiating progress
687 (x_progress_set_property): new function. sets the progress gauge
689 (x_edit_instantiate): new function. for instantiating edit fields.
690 (x_combo_instantiate): new function. for instantiating combo
692 (image_instantiator_format_create_glyphs_x): add new device ii
695 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
697 * console.h (CONSOLE_FEATURES): new features accesor.
699 * conslots.h (MARKED_SLOT): add features entry.
701 1999-06-25 Andy Piper <andy@xemacs.org>
703 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
706 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
708 * gui.h (struct Lisp_Gui_Item): add accelerator.
710 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
711 (gui_item_init): ditto.
712 (gui_add_item_keywords_to_plist): ditto.
713 (mark_gui_item): ditto.
714 (gui_item_hash): ditto.
715 (gui_item_accelerator): new function.
716 (gui_name_accelerator): new function stolen from gui-x.c
718 * gui-x.c (popup_selection_callback): always define. mark
719 subwindows changed after calling a callback.
720 (menu_name_to_accelerator): deleted.
721 (button_item_to_widget_value): forward gui_item things to gui_item
724 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
725 appropriate accesors.
727 * glyphs-x.c: declare new glyph formats.
728 (x_finalize_image_instance): unmanage and destroy widgets if they
730 (x_unmap_subwindow): handle widgets specially.
731 (x_map_subwindow): ditto. offset display of widgets by offset of
732 text widget within container.
733 (x_update_subwindow): new function. call lw_modify_all_widgets
734 when we are a widget.
735 (x_widget_instantiate): new function for generically creating
736 widgets-glyphs. toolkit specifics forwarded to lwlib.
737 (x_button_instantiate): new function for instantiating
738 widgets-glyph buttons.
739 (console_type_create_glyphs_x): register update_subwindow.
740 (image_instantiator_format_create_glyphs_x): register widget and
743 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
745 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
746 when we get a button press in case we do not have the focus.
747 (handle_focus_event_1): set the keyboard focus to the text widget
748 if we do not have it.
750 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
753 1999-06-24 SL Baur <steve@miho.m17n.org>
755 * syntax.c (scan_words): Restore non-Mule code.
756 (word_constituent_p): Restore.
758 1999-06-23 Olivier Galibert <galibert@pobox.com>
760 * config.h.in: Add missing #undef *_USER_DEFINED.
762 1999-06-23 SL Baur <steve@miho.m17n.org>
764 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
765 int (fixes a 64-bit problem).
767 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
770 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
772 * paths.h.in (PATH_DOC): Made doc-directory configurable.
774 1999-06-22 Olivier Galibert <galibert@pobox.com>
776 * lrecord.h: Added basic external description system.
778 * symbols.c: Added symbol, symbol-value-buffer-local,
779 symbol-value-lisp-magic and symbol-value-varalias description.
780 * mule-charset.c: Added charset description.
781 * marker.c: Added marker description.
782 * keymap.c: Added keymap description.
783 * glyphs.c: Added glyph description.
784 * floatfns.c: Added float description.
785 * file-coding.c: Added coding-system description.
786 * extents.c: Added extent description.
787 * elhash.c: Added hash-table description.
788 * data.c: Added weak-list desciption.
789 * chartab.c: Added char-table-entry and char-table description.
790 * bytecode.c: Added compiled-function description.
791 * alloc.c: Added cons, vector and string description.
793 1999-06-22 Olivier Galibert <galibert@pobox.com>
795 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
796 Updated everything to the removal of the "flags" substructure.
798 * lisp.h (subr_lheader_initializer): Updated.
799 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
801 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
803 * syntax.c (word_constituent_p): Deleted.
804 (scan_words): Use `WORD_BOUNDARY_P'.
806 * chartab.c (Vword_combining_categories): New variable.
807 (Vword_separating_categories): Likewise.
808 (CATEGORYP): New macro.
809 (CATEGORY_SET): Likewise.
810 (CATEGORY_MEMBER): Likewise.
811 (word_boundary_p): New function.
812 (complex_vars_of_chartab): Set up new variable
813 `word-combining-categories' and `word-separating-categories'.
815 1999-06-18 Olivier Galibert <galibert@pobox.com>
817 * lrecord.h: Added description as a placehold in the lrecord
818 implementation structures. Added the parameter to all constructor
821 * alloc.c: Added placeholders.
832 * event-stream.c: Ditto.
836 * file-coding.c: Ditto.
845 * mule-charset.c: Ditto.
850 * specifier.c: Ditto.
856 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
858 * XEmacs 21.2.17 is released
860 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
862 * config.h.in (HAVE_LDAP_SET_OPTION): New define
863 (HAVE_LDAP_GET_LDERRNO): Ditto
864 (HAVE_LDAP_RESULT2ERROR): Ditto
865 (HAVE_LDAP_PARSE_RESULT): Ditto
866 (HAVE_UMICH_LDAP): Removed
867 (HAVE_NS_LDAP): Removed
869 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
870 suggested by Olivier Galibert
871 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
873 * eldap.c: Take the removal of `livep' into account in all the
875 (signal_ldap_error): Take two additional parameters
876 Added new finer compilation conditions in order to use
877 ldap_parse_result or ldap_result2error if available
878 (Fldap_open): Conform to this new API
879 (Fldap_search_internal): Ditto
881 1999-06-17 SL Baur <steve@miho.m17n.org>
883 * data.c (struct int_or_double): Should use EMACS_INT not int.
885 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
887 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
890 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
892 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
895 * file-coding.c (mule_decode): Run `ccl_driver' with
897 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
899 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
900 (ccl_driver): Add new argument `conversion_mode'.
901 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
902 (Fccl_execute_on_string): Likewise [perhaps it is better to add
903 new optional argument].
905 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
906 (CCL_MODE_DECODING): New macro.
907 (ccl_driver): Add new argument `conversion_mode'.
909 1999-06-15 SL Baur <steve@miho.m17n.org>
911 * mule-charset.c (Fsplit_char): New subr.
912 (Fchar_octet): delete.
913 (syms_of_mule_charset): DEFSUBR it.
915 1999-06-13 Andy Piper <andy@xemacs.org>
917 * menubar.h: update declarations involving gui_items.
919 * lisp.h: declare Lisp_Gui_Item.
921 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
923 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
924 (print_image_instance): ditto.
925 (image_instance_equal): ditto.
926 (image_instance_hash): ditto.
928 * event-msw.c (mswindows_need_event): assert badly_p status.
929 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
930 callbacks in tree-view and tab-control widgets.
931 (emacs_mswindows_next_event): modify use of
932 mswindows_dequeue_dispatch_event.
934 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
935 lisp-based gui_items.
937 * glyphs-msw.c (mswindows_update_subwindow): update use of
939 (mswindows_register_gui_item): new function.
940 (mswindows_register_gui_item): fix to use lisp gui_items.
941 (mswindows_widget_instantiate): ditto.
942 (mswindows_button_instantiate): ditto.
943 (add_tree_item): new function to recursively add tree view
945 (add_tree_item_list): ditto.
946 (mswindows_tree_instantiate): new function. instantiate tree view
948 (add_tab_item): new function to add tabs to a tab control.
949 (mswindows_tab_instantiate): new function. instantiate tab
951 (image_instantiator_format_create_glyphs_mswindows): add tree view
953 (vars_of_glyphs_mswindows): ditto.
955 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
957 (check_valid_item_list): ditto.
958 (initialize_widget_image_instance): fix to use new lisp gui_item.
959 (widget_instantiate_1): allow the setting of default textwidth in
961 (widget_instantiate): change to use new widget_instantiate_1
963 (combo_instantiate): ditto.
964 (static_instantiate): ditto.
965 (tab_instantiate): new function for tab widgets.
966 (image_instantiator_format_create_glyphs_widget): add tab and tree
969 * menubar-msw.c (displayable_menu_item): convert to use lisp
971 (populate_menu_add_item): ditto.
972 (populate_or_checksum_helper): ditto.
974 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
976 (Fmenu_find_real_submenu): ditto.
978 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
980 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
981 objects, convert functions that use them accordingly.
982 (gui_item_init): ditto.
983 (gui_item_active_p): ditto.
984 (gui_item_selected_p): ditto.
985 (gui_item_included_p): ditto.
986 (gui_item_display_flush_left): ditto.
987 (gui_item_display_flush_right): ditto.
988 (mark_gui_item): ditto.
989 (allocate_gui_item): new function to create a gui_item.
990 (make_gui_item_from_keywords_internal): ditto. create and return a
991 gui_item as well as setting keywords.
992 (gui_parse_item_keywords): ditto.
993 (gui_parse_item_keywords_no_errors): ditto.
994 (gui_add_item_keywords_to_plist): new function, not yet used.
995 (gui_item_hash): new function.
996 (gui_item_id_hash): use gui_item_hash.
997 (gui_item_equal): new function.
998 (print_gui_item): new function.
1000 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1002 * XEmacs 21.2.16 is released
1004 1999-06-10 Andy Piper <andy@xemacs.org>
1006 * select-msw.c (mswindows_own_selection): only set the clipboard
1008 (mswindows_get_foreign_selection): only get the clipboard if
1010 (mswindows_disown_selection): only disown the clipboard if asked.
1012 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1014 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1016 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1017 of coding-category `no-conversion'.
1019 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1021 * file-coding.c (Qraw_text): New variable.
1022 (syms_of_mule_coding): Add new symbol `raw-text'.
1023 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1024 define coding-system `binary' independently; define coding-system
1025 `no-conversion' as an alias for `raw-text'.
1027 * file-coding.h (Qraw_text): New variable.
1029 1999-06-08 SL Baur <steve@xemacs.org>
1031 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1033 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1035 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1037 (base64_decode_1): Signal errors instead of returning -1.
1039 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1041 * mule-charset.c (Fmake_char): Update docstring.
1043 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1045 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1047 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1049 * fns.c (base64_decode_1): Allow and ignore any non-base64
1050 characters in input.
1052 1999-05-27 Olivier Galibert <galibert@pobox.com>
1054 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1055 of report_pure_usage().
1057 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1059 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1061 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1063 * XEmacs 21.2.15 is released
1065 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1067 * frame.c (Fset_mouse_position):
1068 (Fset_mouse_pixel_position):
1069 * window.c (Fsplit_window):
1070 (Fmove_to_window_line):
1071 Fix crash when invoking functions with an already-deleted window
1074 * indent.c (vertical_motion_1):
1076 (Fvertical_motion_pixels):
1077 * window.c (Fwindow_displayed_text_pixel_height):
1078 Fix error message when invoking functions with an already-deleted
1081 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1083 * sysdep.c (request_sigio_on_device): Guard against glibc
1084 2.1's stub streams implementation.
1086 1999-06-03 SL Baur <steve@xemacs.org>
1089 * emacs.c: Implement x.y.z version numbers
1090 From Jan Vroonhof <vroonhof@math.ethz.ch>
1092 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1094 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1095 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1098 1999-06-03 SL Baur <steve@xemacs.org>
1101 * device-x.c: rename session option to wmcommand.
1102 From Oliver Graf <ograf@rhein-zeitung.de>
1104 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1106 * fns.c (Fsubstring): Don't traverse the same region twice with
1107 charcount_to_bytecount().
1109 1999-06-03 SL Baur <steve@steve1.m17n.org>
1111 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1114 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1115 doesn't really work as is implied by the commentary).
1116 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1118 1999-06-02 SL Baur <steve@steve1.m17n.org>
1120 * symsinit.h: Declare vars_of_ntproc.
1121 * emacs.c (main_1): Call it.
1123 * ntproc.c (syms_of_ntproc): Move variable initializations from
1125 (vars_of_ntproc): ... to here [new function].
1127 * file-coding.c (syms_of_file_coding): Rename.
1128 (vars_of_file_coding): Ditto.
1129 (complex_vars_of_file_coding): Ditto.
1131 * symsinit.h: Rename *_mule_coding to *_file_coding.
1133 * emacs.c (main_1): Call them by the proper name.
1135 * device-msw.c (syms_of_device_mswindows): Move variable
1136 initializations from here ...
1137 (vars_of_device_mswindows): ... to here.
1139 * chartab.c (vars_of_chartab): New function.
1141 * symsinit.h: New function, vars_of_chartab.
1143 * emacs.c (main_1): Call it.
1145 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1146 (vars_of_mule_canna): ... to here.
1148 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1149 initializations out of syms_of_mule_ccl.
1151 * symsinit.h: Declare new function vars_of_mule_ccl.
1153 * emacs.c (main_1): Call it.
1155 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1157 * fns.c (base64_decode_1): Ignore whitespace.
1159 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1161 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1164 1999-05-21 Andy Piper <andy@xemacs.org>
1166 * xselect.c: deleted.
1168 * symsinit.h: declare select initialisation.
1170 * select.h: new file. declare commonly used select functions and
1173 * select.c: new file. generalised from xselect.c.
1174 (clean_local_selection_data): moved from xselect.c.
1175 (get_local_selection): ditto. device specific pieces called via a
1177 (handle_selection_clear): ditto.
1178 (Fown_selection_internal): renamed and generalised from
1179 Fx_own_selection_internal. moved from xselect.c.
1180 (Fdisown_selection_internal): ditto.
1181 (Fselection_owner_p): ditto.
1182 (Fselection_exists_p): ditto.
1183 (Fget_selection_internal): ditto.
1184 (syms_of_select): new function. QXXXX values moved from xselect.c
1185 (vars_of_select): new function. selection_converter_alist,
1186 lost_selection_hooks moved and renamed from xselect.c
1188 * select-x.c: renamed from xselect.c.
1189 (x_own_selection): converted to device specific. non-X-specific
1190 bits moved to select.c.
1191 (x_get_foreign_selection): ditto.
1192 (x_disown_selection): ditto.
1193 (x_selection_exists_p): ditto.
1194 (console_type_create_select_x): new function.
1196 * select-msw.c (mswindows_own_selection): new device method to set
1197 the clipboard when we 'own' the selection.
1198 (mswindows_get_foreign_selection): new device method to get the
1200 (mswindows_disown_selection): new device method to delete the
1201 selection when we 'disown' it.
1202 (console_type_create_select_mswindows): new function.
1204 * emacs.c (main_1): add select to things to initialise.
1206 * console.h (struct console_methods): new console methods for
1209 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1211 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1213 * print.c (long_to_string): Install a faster version.
1215 1999-05-16 Andy Piper <andy@xemacs.org>
1217 * ntproc.c (syms_of_ntproc): default
1218 win32-start-process-share-console to t.
1220 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1222 * config.h.in: Do it here.
1224 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1226 1999-05-14 Andy Piper <andy@xemacs.org>
1228 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1231 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1233 * XEmacs 21.2.14 is released
1235 1999-05-12 Andy Piper <andy@xemacs.org>
1237 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1239 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1241 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1242 run_temacs_argv array -- fixes random memory corruption crash
1244 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1246 * window.c (Fcurrent_window_configuration):
1247 Save minibuffer height;
1249 * window.c (set_window_configuration): use it.
1251 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1253 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1255 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1257 * redisplay.c (redisplay_window): Do not put data
1258 in the line start cache if it is not guaranteed to be correct
1260 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1262 * window.c (struct window_config): Removed frame
1264 (window_config_equal): No longer compare frame sizes.
1265 (Fset_window_configuration): Resize old top window to fit in the
1266 current frame directly, no longer use a fake frame resize.
1267 (Fcurrent_window_configuration): No longer save frame size
1269 1999-05-11 Andy Piper <andy@xemacs.org>
1271 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1274 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1276 * sysdep.c (init_system_name): If gethostname gives a proper
1277 domain name, don't look further for one.
1279 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1281 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1282 (Fintern_soft): Accept a symbol argument.
1284 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1286 * symbols.c (Fintern): ...do it here.
1288 * lread.c (read_atom): Don't handle keywords here.
1290 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1292 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1294 1999-05-03 Olivier Galibert <galibert@pobox.com>
1296 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1297 is interned in the main obarray.
1299 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1301 * menubar-x.c (pre_activate_callback): set accelerator field in
1302 "No menu" entries to nil. Avoid crash in
1303 command_builder_operate_menu_accelerator
1305 1999-05-03 Olivier Galibert <galibert@pobox.com>
1307 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1309 * lisp.h (DEFUN): Fix lrecord header initialisation.
1311 1999-05-02 Andy Piper <andy@xemacs.org>
1313 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1315 * ntproc.c (sys_kill): cast using MS mandated defines.
1317 1999-04-29 Andy Piper <andy@xemacs.org>
1319 * m/intel386.h: remove redundant definitions.
1321 * s/mingw32.h: new header for mingw32.
1323 * unexnt.c: (open_input_file): function moved to nt.c.
1324 (close_file_data): ditto.
1325 (rva_to_section): function moved to ntproc.
1327 * symsinit.h: declare syms_of_ntproc();
1329 * objects-msw.c (mswindows_font_instance_truename): new function.
1331 * ntproc.c: remove many warnings.
1332 (_sys_read_ahead): moved from nt.c and made static.
1333 (rva_to_section): moved from unexnt.c but not defined under
1335 (win32_executable_type): implement what we can for mingw32
1337 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1339 * ntheap.h: remove declarations of functions that are now static.
1341 * ntheap.c: support static heap.
1343 * nt.h: conditionalise X_OK definition.
1345 * nt.c: eliminate many warnings and support mingw32.
1346 (open_input_file): function moved from unexnt.c and made static
1347 (close_file_data): ditto.
1348 (_sys_read_ahead): moved to ntproc.c
1350 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1352 * console-msw.h: support mingw32.
1353 * getloadavg.c: ditto.
1360 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1361 some systems don't have all of the encapsulated system calls.
1363 * callproc.c: warning elimination.
1364 * dired-msw.c: ditto.
1365 * process-nt.c: ditto.
1366 * realpath.c: ditto.
1368 * Makefile.in.in: tweak : and ; for building under mswindows.
1370 1999-04-26 Michael Harnois <mharnois@willinet.net>
1372 * eldap.c (allocate_ldap): Adapt to the new semantics of
1373 alloc_lcrecord_type().
1375 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1377 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1379 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1381 * Delete mule-coding.c and mule-coding.h because they are not
1384 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1386 * objects.c (print_font_instance): Check for NILP(f->device),
1387 i.e. Vthe_null_font_instance.
1388 (font_instance_truename_internal): ditto.
1389 (Ffont_instance_properties): ditto.
1391 1999-04-22 Olivier Galibert <galibert@pobox.com>
1393 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1396 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1398 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1399 it easier to add new ones.
1401 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1403 * symbols.c (reject_constant_symbols): Ditto.
1404 (init_symbols_once_early): Ditto.
1406 * print.c (print_symbol): Don't use ->obarray.
1408 * symbols.c (Funintern): Ditto.
1410 * alloc.c (Fmake_symbol): Don't set ->obarray.
1412 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1414 * symbols.c (init_symbols_once_early): Removed
1415 Vpure_uninterned_symbol_table.
1416 (Fintern): Don't store to ->obarray field.
1418 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1420 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1421 (eq_with_ebola_notice): Remove abracadabra support.
1423 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1425 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1426 retrieve the distinguished names of entries
1428 1999-03-08 Martin Buchholz <martin@xemacs.org>
1430 * lread.c (read_escape): Make hex escapes read only two hex digits.
1432 1999-04-05 Olivier Galibert <galibert@pobox.com>
1434 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1435 * make-src-depend: Remove puresize-adjust.h.
1436 * src-headers: Remove puresize-adjust.h.
1437 * config.h.in: Kill everything purespace/gung-ho related.
1439 * dbxrc: Make gung-ho mandatory.
1442 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1443 c_readonly and lisp_readonly. Remove implementation arrays.
1444 (C_READONLY_RECORD_HEADER_P): Added.
1445 (LISP_READONLY_RECORD_HEADER_P): Added.
1446 (SET_C_READONLY_RECORD_HEADER): Added.
1447 (SET_LISP_READONLY_RECORD_HEADER): Added.
1449 * lisp.h: Kill everything purespace/non gung-ho related.
1450 (CHECK_C_WRITEABLE): Added.
1451 (CHECK_LISP_WRITEABLE): Added.
1452 (C_READONLY): Added.
1453 (LISP_READONLY): Added.
1455 * lisp-union.h: Make gung-ho mandatory.
1456 * lisp-disunion.h: Ditto.
1458 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1459 set_lheader_implementation calls.
1460 (c_readonly): Added.
1461 (lisp_readonly): Added.
1462 (make_string_nocopy): Added.
1463 (Fpurecopy): Changed to do nothing. Kept the old documentation
1464 for reference purposes for the next patches.
1465 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1466 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1467 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1469 * fns.c: Make gung-ho mandatory.
1470 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1472 (Ffillarray): Ditto.
1474 * data.c: Make gung-ho mandatory.
1475 (pure_write_error): Removed.
1476 (c_write_error): Added.
1477 (lisp_write_error): Added.
1478 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1482 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1483 make_string or make_string_nocopy. Fix various
1484 alloc_lcrecord_type.
1486 * lread.c: Remove everything purespace related.
1487 (Flocate_file_clear_hashing): purified -> c_readonly.
1488 (locate_file): Ditto.
1489 (read_atom): make_pure_pname -> make_string.
1491 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1493 (Fdump_emacs): Ditto.
1495 * print.c (print_internal): Make gung-ho mandatory.
1496 * ntheap.c (sbrk): Ditto.
1497 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1498 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1500 * sheap.c (more_static_core): Remove puresize-adjust.h from
1503 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1505 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1506 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1507 * events.c (deinitialize_event): Fix set_lheader_implementation.
1508 (zero_event): Ditto.
1509 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1510 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1511 * mule-charset.c (make_charset): Ditto.
1512 * console.c (allocate_console): Ditto.
1513 (complex_vars_of_console): Ditto.
1514 * file-coding.c (allocate_coding_system): Ditto.
1515 * device.c (allocate_device): Ditto
1516 * gui-x.c (gcpro_popup_callbacks): Ditto.
1517 * extents.c (allocate_extent_auxiliary): Ditto.
1518 (allocate_extent_info): Ditto.
1519 (copy_extent): Ditto.
1520 * glyphs.c (allocate_image_instance): Ditto.
1521 (allocate_glyph): Ditto.
1522 * frame.c (allocate_frame_core): Ditto.
1523 * database.c (allocate_database): Ditto.
1524 * tooltalk.c (make_tooltalk_message): Ditto.
1525 (make_tooltalk_pattern): Ditto.
1526 * rangetab.c (Fmake_range_table): Ditto.
1527 (Fcopy_range_table): Ditto.
1528 * process.c (make_process_internal): Ditto.
1529 * chartab.c (Fmake_char_table): Ditto.
1530 (make_char_table_entry): Ditto.
1531 (copy_char_table_entry): Ditto.
1532 (Fcopy_char_table): Ditto.
1533 * elhash.c (make_general_lisp_hash_table): Ditto.
1534 (Fcopy_hash_table): Ditto.
1535 * buffer.c (allocate_buffer): Ditto.
1536 (complex_vars_of_buffer): Ditto.
1537 * event-stream.c (allocate_command_builder): Ditto.
1538 * objects.c (Fmake_color_instance): Ditto.
1539 (Fmake_font_instance): Ditto.
1540 (vars_of_objects): Ditto.
1541 * toolbar.c (update_toolbar_button): Ditto.
1542 * window.c (allocate_window): Ditto.
1543 (make_dummy_parent): Ditto.
1544 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1545 (vars_of_window): Fix make_lcrecord_list.
1546 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1548 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1549 * opaque.c (make_opaque): Fix alloc_lrecord.
1550 (make_opaque_list): Fix alloc_lrecord_type.
1552 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1554 * process.c (Fstart_process_internal): Ditto.
1556 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1559 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1561 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1564 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1565 (emodules_load): Use it when calling locate_file().
1567 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1570 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1571 (vars_of_callproc): Initialize it.
1572 (Fcall_process_internal): Use it when calling locate_file().
1574 * alloc.c (disksave_object_finalization): Use
1575 Flocate_file_clear_hashing().
1577 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1578 given `t' as argument.
1580 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1582 * lread.c (locate_file): Expand `pathel' when appropriate.
1583 (Flocate_file_clear_hashing): Expand path elements.
1584 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1586 * dired.c (make_directory_hash_table): Create the hash-table only
1587 if the directory open is successful.
1589 * lread.c (decode_mode_1): New function.
1590 (decode_mode): Ditto.
1591 (Flocate_file): Use them.
1592 (Flocate_file): Expand FILENAME.
1593 (locate_file_map_suffixes): New function.
1594 (locate_file_in_directory_mapper): New function.
1595 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1596 and locate_file_map_suffixes().
1597 (locate_file_construct_suffixed_files): Use
1598 locate_file_map_suffixes().
1599 (locate_file_without_hash): Don't GCPRO path.
1600 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1601 (syms_of_lread): Remove Qlocate_file_hash_table.
1602 (locate_file_find_directory_hash_table): Use
1603 Vlocate_file_hash_table.
1604 (locate_file_refresh_hashing): Ditto.
1606 * lread.c: Renamed read_objects to Vread_objects.
1608 1999-04-16 Olivier Galibert <galibert@pobox.com>
1610 * mule-charset.c: Generally resync with fsf 20.3 charset
1612 (make_charset): Add long and short name. Use id instead of
1614 (Fmake_charset): Ditto.
1615 (Fmake_reverse_direction_charset): Ditto.
1616 (Fcharset_property): Ditto.
1617 (Fcharset_short_name): Added.
1618 (Fcharset_long_name): Added.
1619 (Fcharset_description): Renamed from charset-doc-string.
1620 (syms_of_mule_charset): Synced symbols.
1621 (complex_vars_of_mule_charset): Synced charsets.
1623 * mule-charset.h: Removed leading byte (uses id instead), added
1624 short and long name.
1626 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1628 * file-coding.c (Fdefine_coding_system_alias): New function.
1630 1999-04-08 Olivier Galibert <galibert@pobox.com>
1632 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1633 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1635 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1637 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1638 attach to the extent is valid.
1640 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1642 * dired.c (user_name_completion): Mule-ize.
1643 (user_name_completion): Use xmalloc/xrealloc/xfree.
1644 (user_name_completion): Use DO_REALLOC.
1645 (user_name_completion): Cut down the number of static variables;
1647 (user_name_completion): Username completion is always
1650 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1652 * fns.c (base64_decode_1): Remove COUNTER.
1653 (base64_decode_1): Accept CRLF in addition to CR.
1654 (base64_decode_1): Disallow a stray character after final EOF; the
1655 check was probably a remnant of buggy recode code.
1657 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1659 * fns.c (init_provide_once): Provide `base64'.
1661 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1663 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1664 (Fbase64_encode_region): If buffer is read-only, bail out early.
1665 (Fbase64_decode_region): Ditto.
1666 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1668 (Fbase64_encode_string): Ditto.
1669 (Fbase64_decode_region): Ditto.
1670 (Fbase64_decode_string): Ditto.
1672 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1674 * dired.c (Fdirectory_files): Remove redundant code.
1676 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1678 * frame-msw.c Make raise-frame restore minimised windows.
1680 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1682 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1685 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1687 * toolbar-msw.c Consider captions when deciding whether to rebuild
1688 toolbar. This fixes the initial toolbar display for those of us
1689 who don't like captions. These patches applied by Andy Piper.
1691 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1693 * XEmacs 21.2.13 is released
1695 1999-03-12 SL Baur <steve@xemacs.org>
1697 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1699 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1701 * file-coding.c: docstring and comment improvements.
1702 (decode_ucs4) flag possible data loss with comment.
1704 1999-03-10 Martin Buchholz <martin@xemacs.org>
1706 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1710 (decode_coding_ucs4):
1711 (encode_coding_ucs4):
1712 (detect_coding_utf8):
1713 (decode_coding_utf8):
1715 (encode_coding_utf8):
1716 Add CHECK_* macros where needed to avoid crashes.
1717 #ifdef out all composite character support using
1718 #ifdef ENABLE_COMPOSITE_CHARS
1719 Use normal XEmacs coding standards.
1721 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1723 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1725 * file-coding.c (make-coding-system): Add description about
1726 `ucs-4' and `utf-8'.
1727 (detection_state): Modify to implement ucs-4 and utf-8.
1728 (detect_coding_type): Likewise.
1729 (detect_coding_ucs4): New implementation.
1730 (detect_coding_utf8): New implementation.
1731 (encode_utf8): fixed.
1732 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1735 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1737 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1738 2022 registry to private area.
1740 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1742 * file-coding.c (encode_utf8): New function.
1743 (encode_coding_utf8): New implementation.
1745 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1747 * file-coding.c (ucs_to_mule_table): New variable; abolish
1748 `Vucs_to_mule_table'
1749 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1750 (set-ucs-char): New function.
1751 (ucs_to_char): New function.
1752 (ucs-char): New function.
1753 (set-char-ucs): New function.
1754 (char-ucs): New function.
1755 (decode_ucs4): Use `ucs_to_char'.
1756 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1757 `mule-to-ucs-table'.
1759 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1761 * chartab.h: EXFUN `Fget_char_table'.
1763 * file-coding.c (encode_ucs4): New function.
1764 (encode_coding_ucs4): Use `encode_ucs4'.
1766 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1768 * file-coding.c (decode_coding_ucs4): New implementation.
1770 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1772 * file-coding.c (decode_coding_ucs4): fixed.
1774 * file-coding.c (Vmule_to_ucs_table): New variable.
1775 (mule_char_to_ucs4): New function.
1776 (encode_coding_ucs4): New implementation.
1777 (complex_vars_of_mule_coding): Define variable
1778 `mule-to-ucs-table'.
1780 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1782 * file-coding.c (decode_coding_utf8): New implementation.
1784 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1786 * file-coding.c (decode_coding_utf8): fixed.
1788 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1790 * file-coding.c (Vucs_to_mule_table): New variable.
1791 (decode_ucs4): Refer `Vucs_to_mule_table'.
1792 (complex_vars_of_mule_coding): Define variable
1793 `ucs-to-mule-table'.
1795 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1797 * file-coding.c (detect_coding_ucs4): New function (not
1799 (decode_coding_ucs4): New function.
1800 (encode_coding_ucs4): New function (not implemented yet).
1801 (detect_coding_utf8): New function (not implemented yet).
1802 (decode_coding_utf8): New function.
1803 (encode_coding_utf8): New function (not implemented yet).
1804 (make-coding-system): New type `ucs4' and `utf8'.
1805 (coding-system-type): Likewise.
1806 (detection_state): Add `ucs4' and `utf8'.
1807 (detect_coding_type): Likewise.
1808 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1809 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1810 (decode_ucs4): New function (very incomplete).
1811 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1813 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1815 1999-03-08 Martin Buchholz <martin@xemacs.org>
1818 (non_ascii_valid_char_p):
1819 (lookup_composite_char):
1820 (composite_char_string):
1821 (make-composite-char):
1822 (composite-char-string):
1823 (syms_of_mule_charset):
1824 (complex_vars_of_mule_charset):
1825 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1826 (CHAR_LEADING_BYTE):
1828 * file-coding.h (CODING_STATE_COMPOSITE):
1829 (CODING_STATE_ISO2022_LOCK):
1831 (LEADING_BYTE_COMPOSITE):
1832 * file-coding.c (struct iso2022_decoder):
1835 (parse_iso2022_esc):
1836 (encode_coding_iso2022):
1837 #ifdef out all composite character support using
1838 #ifdef ENABLE_COMPOSITE_CHARS
1840 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1842 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1844 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1845 way of `Fbase64_encode_region'.
1847 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1849 * fns.c (base64_encode_1): Don't add a newline at the tail.
1851 1999-03-08 Andy Piper <andy@xemacs.org>
1853 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1856 1999-03-07 Martin Buchholz <martin@xemacs.org>
1858 * console-stream.h (struct stream_console):
1859 * event-unixoid.c (event_stream_unixoid_select_console):
1860 (event_stream_unixoid_unselect_console):
1861 * print.c (Fexternal_debugging_output):
1862 * sysdep.c (reset_one_device):
1863 * console-stream.c (stream_init_console):
1864 (stream_delete_console):
1865 (allocate_stream_console_struct): move into stream_init_console.
1866 (free_stream_console_struct): move into stream_delete_console.
1867 Use `fd' only for file descriptors.
1868 Therefore, rename members of struct stream_console.
1870 * systime.h: Unix98 says sys/time.h should define select(), but
1871 some systems define that in unistd.h. So include that file always.
1873 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1874 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1875 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1877 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1881 Add #include <stdio.h>.
1882 Some versions of assert.h use printf() without #include'ing stdio.h
1884 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1885 (log_gcpro): Remove unused variable FRAME.
1886 (show_gcprohist): Ansify.
1887 Comment the #endif's
1889 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1890 after it's just been XtDestroy'ed!
1892 1999-02-18 Martin Buchholz <martin@xemacs.org>
1894 * opaque.c (print_opaque):
1898 Egcs 1.1.1 seems to have a bug where
1899 INTP (p->size_or_chain)
1900 will crash XEmacs. Fix by introducing intermediate variable.
1902 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1904 * dired.c (Fdirectory_files):
1905 (Ffile_name_completion):
1906 (Ffile_name_all_completions):
1907 (file_name_completion):
1908 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1909 avoid compiler warnings.
1910 - Fix up docstrings so that C variables match documentation.
1912 1999-03-05 Martin Buchholz <martin@xemacs.org>
1914 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1915 variables as small as possible to help out the compiler and the maintainer.
1917 * alloc.c: (disksave_object_finalization):
1918 Set all the *-load-path variables to
1919 nil, not just load-path itself. This gets the locate-file hash
1920 tables garbage collected BEFORE dump, and has the side effect of
1921 preventing crashes on OSF4.0+egcs.
1926 - Clean up gdb/dbx debugging support.
1927 - Storing an EMACS_INT in an enum is not 64-bit clean!
1928 - So change the enum to a set of separate variables.
1929 - Add test cases to help debug the debugging support!
1930 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1931 - Both dbx and gdb have been tested now.
1933 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1935 * XEmacs 21.2.12 is released
1937 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1939 * device-x.c: Support to find best visual without flashing.
1941 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1943 * database.c (berkdb_map): Add flags argument to cursor call (must
1944 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1946 1999-03-03 Martin Buchholz <martin@xemacs.org>
1950 General cleanup. Get free-hook.c working again.
1951 Remove unused functions:
1952 make_strings_hash_table, copy_hash, expand_hash_table.
1956 Always use new ANSI-style function prototypes.
1958 * unexalpha.c (unexec): Never use implicit int.
1960 * sgiplay.c (close_sound_file):
1962 (restore_audio_port):
1967 (write_mulaw_8_chunk):
1968 (write_linear_chunk):
1969 (write_linear_32_chunk):
1970 (initialize_audio_port):
1973 (set_output_format):
1974 (adjust_audio_volume):
1975 (get_current_volumes):
1977 Always use new ANSI-style function prototypes.
1978 Use unistd.h for missing prototypes.
1980 * unexelfsgi.c (round_up):
1982 (unexec): Always use new ANSI-style function prototypes
1984 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1986 * console.h (struct console_methods): Always use full ANSI prototypes
1988 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1990 1999-03-02 Andy Piper <andy@xemacs.org>
1992 * event-stream.c (init_event_stream): make sure native mswindows
1993 gets an appropriate event loop.
1995 1999-02-22 Andy Piper <andy@xemacs.org>
1997 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1998 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1999 (mswindows_raise_frame): remove comment.
2001 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2003 * XEmacs 21.2.11 is released
2005 1999-02-25 SL Baur <steve@xemacs.org>
2007 * mule-charset.c (Qleading_byte): New variable to implement
2008 charset-leading-byte function.
2009 (Fcharset_property): Use it.
2010 (syms_of_mule_charset): Initialize it.
2011 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2013 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2015 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2016 bytes per pixel counting.
2018 1999-02-15 Andy Piper <andy@xemacs.org>
2020 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2023 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2025 * fns.c (Fbase64_encode_string): New optional argument
2028 1999-02-16 Martin Buchholz <martin@xemacs.org>
2030 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2031 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2033 1999-02-10 Martin Buchholz <martin@xemacs.org>
2035 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2036 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2038 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2040 * XEmacs 21.2.10 is released
2042 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2044 * process-nt.c (nt_send_process):
2045 Fix for process-send-region/process-send-string breaking when size
2046 of the input > 128 chars: change maximum chunk size for process
2047 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2050 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2052 * XEmacs 21.2.9 is released
2054 1999-01-30 Martin Buchholz <martin@xemacs.org>
2056 * bytecode.c (funcall_compiled_function): Call
2057 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2059 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2060 #ifdef 0 out unused macro.
2062 1999-01-27 Martin Buchholz <martin@xemacs.org>
2064 * gui.c (gui_parse_item_keywords_internal): Make static.
2066 1999-01-21 Andy Piper <andy@xemacs.org>
2068 * glyphs-msw.c: add xface support.
2069 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2070 (image_instantiator_format_create_glyphs_mswindows): do device
2071 specific initialisation for xfaces.
2072 (xbm_create_bitmap_from_data): line data must be padded to a word
2075 * glyphs-x.c (xface_validate): moved to glyphs.c
2076 (xface_normalize): ditto.
2077 (xface_possible_dest_types): ditto.
2078 (image_instantiator_format_create_glyphs_x): do device specific
2079 initialisation for xfaces.
2081 * glyphs.h: declare xface symbol.
2083 * glyphs.c: move generic xface support here.
2084 (xface_validate): moved from glyphs-x.c
2085 (xface_normalize): ditto.
2086 (xface_possible_dest_types): ditto.
2087 (image_instantiator_format_create): xface declarations moved from
2090 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2092 * event-stream.c (vars_of_event_stream): Fixing documentation.
2094 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2096 * glyphs-eimage.c (gif_instantiate): Correct handling of
2097 interlaced gifs to avoid writing past the end of the eimage
2100 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2102 * search.c (Freplace_match): Handle single backslash at end of
2105 1999-01-12 William M. Perry <wmperry@aventail.com>
2107 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2108 avoid connection errors.
2110 1999-01-12 Andy Piper <andy@xemacs.org>
2112 * redisplay-output.c (redisplay_update_line): backout change that
2113 shouldn't have gone ine.
2115 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2117 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2118 collide with ldap.el
2120 1999-01-11 Andy Piper <andy@xemacs.org>
2122 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2123 (DISPLAY_LINE_YPOS): new macro.
2125 * redisplay-msw.c (mswindows_output_string): use it.
2126 (mswindows_output_pixmap): ditto.
2127 (mswindows_output_display_block): ditto.
2129 * redisplay-output.c (redisplay_output_display_block): new
2130 function. just call the devmeth, maybe insert some generic code
2132 (compare_display_blocks): use it.
2133 (output_display_line): ditto.
2134 (redisplay_unmap_subwindows_maybe): new function. potentially
2135 unmap subwindows in the given area.
2137 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2140 1999-01-10 J. Kean Johnston <jkj@sco.com>
2142 * Makefile.in.in: Set value of moduledir
2143 - Changed DUMPENV to include $(MODULEPATH)
2144 - Added install rule to install header files for use by ellcc.
2146 * config.h.in: Added INHIBIT_SITE_MODULES
2147 - Added HAVE__DLERROR
2148 - Added HAVE_DLFCN_H
2149 - Added DLSYM_NEEDS_UNDERSCORE
2153 * emodules.c: New file containing dynamic loading code.
2155 * emodules.h: New file.
2157 * emacs.c: Added variables Vmodule_directory,
2158 Vsite_module_directory, Vconfigure_module_directory and
2159 Vconfigure_site_module_directory.
2160 - (main_1): Added new variable inhibit_site_modules and command
2161 line options `-no-site-modules' and `--no-site-modules'.
2162 - (main_1): Call syms_of_module() instead of syms_of_dll().
2163 - (main_1): Call vars_of_module().
2164 - (vars_of_emacs): Introduce inhibit-site-modules,
2165 module-directory, configure-module-directory,
2166 site-module-directory, and configure-site-module-directory to the
2169 * lisp.h: Declare load_module and list_modules, as well as
2170 Vmodule_directory, Vsite_module_directory,
2171 Vconfigure_module_directory and Vconfigure_site_module_directory.
2173 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2174 - Added correct support for site-lisp directory.
2176 * symbols.c (defsubr): Modified to allow modules to add new subrs
2178 - (defsubr_macro): Same.
2179 - (defvar_magick): Only use purespace when not initialized, so
2180 that loaded modules can still add symbols.
2182 * symsinit.h: Add definitions for syms_of_module(),
2183 vars_of_module(). Removed syms_of_dll().
2185 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2186 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2187 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2189 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2190 explicitly pass -belf for native cc.
2192 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2193 hard-coding the library name.
2195 1999-01-01 <martin@xemacs.org>
2197 * device-x.c (Fx_set_font_path):
2198 Add proper cast to permit compilation under C++.
2200 * buffer.c (directory_is_current_directory):
2201 Add proper casts to permit compilation under C++.
2203 1998-12-30 Damon Lipparelli <lipp@primus.com>
2205 * event-msw.c (mswindows_wnd_proc):
2206 Fixed failure when building with MSVC 5.
2208 1998-12-29 Martin Buchholz <martin@xemacs.org>
2210 * file-coding.c (decode_coding_iso2022):
2211 - Prevent crash when decoding ISO7/Lock detected files
2212 - the usual martin fiddling
2214 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2218 Fixed failures when building with MSVC.
2219 * unexnt.c (dump_bss_and_heap):
2220 Removed compiler warning by removing bss_data variable.
2222 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2224 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2225 so that packages that distribute their own fonts can access them.
2227 1998-12-28 Andy Piper <andy@xemacs.org>
2229 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2230 that have an image provided.
2232 * glyphs.h: add Q_image decl.
2234 * glyphs-widget.c new functionality allowing images in
2236 (check_valid_glyph_or_image): new function to validate
2237 glyphs passed in through :image.
2238 (widget_normalize): new function. convert :image parameters into
2239 real glyphs if not already so.
2240 (widget_instantiate_1): mess with size parameters to be similar to
2242 (syms_of_glyphs_widget): new keyword :image.
2243 (image_instantiator_format_create_glyphs_widget): normalize
2244 buttons and allow :image.
2246 1998-12-27 Andy Piper <andy@xemacs.org>
2248 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2250 * glyphs-widget.c (check_valid_anything): no-op function.
2251 (check_valid_callback): check callbacks in gui_items.
2252 (check_valid_symbol): as it sounds.
2253 (check_valid_string_or_vector): ditto.
2254 (widget_validate): modified for descriptors that are vectors or
2255 sequences of keyword/val pairs.
2256 (widget_instantiate_1): ditto.
2257 (image_instantiator_format_create_glyphs_widget): allow gui_item
2258 keywords in the instantiator.
2260 * gui.c (gui_parse_item_keywords_internal): renamed from
2261 gui_parse_item_keywords but taking error behaviour.
2262 (gui_parse_item_keywords): use it.
2263 (gui_parse_item_keywords_no_errors): ditto.
2264 (gui_item_add_keyval_pair): add Error_behavior flag and only
2265 signal invalid keywords if required.
2267 * gui.h: new gui signatures.
2269 * menubar.c (menu_parse_submenu_keywords): use new
2270 gui_item_add_keyval_pair signature.
2272 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2274 1998-12-28 Martin Buchholz <martin@xemacs.org>
2276 * XEmacs 21.2.8 is released.
2278 1998-12-28 Martin Buchholz <martin@xemacs.org>
2280 * editfns.c (get_home_directory):
2281 (user-home-directory): Simplify.
2284 * callproc.c (child_setup):
2285 - Environment variables were being passed to inferior processes
2286 using internal encoding.
2287 - Convert to external encoding.
2288 - Rename local var `tem' to better name `tail'.
2289 - Use Flength instead of `manual' calculation.
2291 * buffer.c (kill-buffer):
2293 (set-buffer-major-mode):
2295 - Fix up parameter names to correspond to docstrings.
2296 - Don't use `bufname' when a buffer will do as well.
2297 - Remove one unneeded GCPRO.
2299 * buffer.h (initial_directory):
2300 * buffer.c (init_initial_directory):
2301 - use correct conversions between internal and external format.
2302 (directory_is_current_directory): new function
2303 (init_buffer): convert initial_directory to internal format.
2304 - solve crashes when current working directory is non-ASCII.
2306 * alloc.c (xmalloc):
2309 - remove stupid casts, since XEmacs requires an ANSI C system.
2310 (lrecord_type_index): replace abort() with more readable assert().
2312 (reset_lcrecord_stats): remove.
2313 (sweep_lcrecords_1):
2314 - replace call to reset_lcrecord_stats() with call to xzero().
2316 1998-12-27 Martin Buchholz <martin@xemacs.org>
2318 * process-unix.c (unix_create_process):
2319 - Fix crash invoking program with non-ASCII name.
2320 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2321 - Remove unused variable `env'.
2322 - Rename `temp' to better name `save_errno'.
2323 - Reorganize code for clarity. But still too chicken to nuke the
2326 1998-12-24 Martin Buchholz <martin@xemacs.org>
2328 * XEmacs 21.2.7 is released.
2330 1998-12-23 Martin Buchholz <martin@xemacs.org>
2332 * glyphs.c (decode_device_ii_format):
2334 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2336 * glyphs-x.c (x_subwindow_instantiate):
2337 - A image instance mask was being assigned to a image instance type!
2338 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2340 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2342 * glyphs-x.h: Make indentation consistent.
2344 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2346 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2348 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2352 Move declarations of decode_device_ii_format and
2353 decode_image_instantiator_format into glyphs.h where they belong.
2355 1998-12-22 Martin Buchholz <martin@xemacs.org>
2357 * frame-x.c (x_delete_frame): Revert part of my changes at the
2358 suggestion of Gunnar Evermann - unfortunately no one really
2359 understands this code.
2361 * callproc.c (init_callproc): code cleanup.
2363 * free-hook.c (malloc):
2368 (block_input_malloc):
2369 (block_input_realloc):
2370 * device-x.c (x_delete_device):
2371 * emacs.c (voodoo_free_hook):
2372 * events.c (print_event):
2374 (CHECK_EVENT_TYPE2):
2375 (CHECK_EVENT_TYPE3):
2376 Use proper prototypes.
2377 Make C_E_T macros a little faster.
2378 Pedantic fiddly little changes. You really don't care.
2380 1998-12-22 Andy Piper <andy@xemacs.org>
2382 * redisplay-output.c (redisplay_clear_region): make sure that
2383 fg/bg colors get set even when we are in the border area.
2385 1998-12-13 Martin Buchholz <martin@xemacs.org>
2387 * console-msw.c: Function definitions follow coding standards
2388 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2390 1998-12-11 Martin Buchholz <martin@xemacs.org>
2392 * events.h (struct timeout_data):
2393 * event-tty.c (tty_timeout_to_emacs_event):
2394 * event-msw.c (mswindows_wm_timer_callback):
2395 * event-Xt.c (Xt_timeout_to_emacs_event):
2396 * event-msw.c (mswindows_cancel_dispatch_event):
2397 Make sure Lisp_Objects inside events are initialized to Qnil, not
2398 Qnull_pointer, which is now illegal.
2400 1998-12-10 Martin Buchholz <martin@xemacs.org>
2402 * lisp.h: Fix up prototypes to match alloc.c
2404 1998-12-08 Martin Buchholz <martin@xemacs.org>
2406 * windowsnt.h: Remove `support' for using index and rindex
2408 * filelock.c (current_lock_owner):
2409 - Change uses of index -> strchr, rindex -> strrchr
2411 1998-12-07 Martin Buchholz <martin@xemacs.org>
2413 * sysdep.c (set_descriptor_non_blocking):
2414 Since O_NONBLOCK is now always #defined, make use of fcntl
2415 conditional on F_SETFL being defined.
2417 * console-msw.c (DHEADgER):
2426 - max_align_t should not be visible to the user of the
2428 - use Bufbyte instead of char
2429 - parens around (FOOP (obj)) are always redundant.
2430 If they were necessary, we should fix the macro instead.
2431 - Always use string_data(foo) instead of foo->data.
2434 1998-12-06 Martin Buchholz <martin@xemacs.org>
2436 * frame-msw.c (mswindows_init_frame_1):
2437 - use make_lisp_hash_table, not Fmake_hash_table
2441 * alloc.c (make_vector): remove travesty
2445 (make_bit_vector_internal):
2447 (make_bit_vector_from_byte_vector):
2449 - make vector_equal a little faster.
2450 - Don't use variable name `new'.
2451 - Use size_t instead of EMACS_INT.
2452 - usual Martin-style pointless bit-twiddling.
2458 Make mapcar faster. In particular, make
2459 (mapc #'identity long-string)
2460 MUCH faster under Mule.
2461 * tests/automated/lisp-tests.el: Test 'em!
2463 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2466 1998-12-01 Martin Buchholz <martin@xemacs.org>
2468 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2469 Qnil, not NULL, to initialize `null' Lisp_Objects.
2471 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2473 * specifier.c (display_table_validate): Update.
2475 * redisplay.c (create_text_block): Use them.
2477 * glyphs.c (display_table_entry): New function.
2478 (get_display_tables): Ditto.
2480 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2482 * eldap.c (toplevel): Mention that eldap.c compiles with
2484 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2485 (Fldap_search_internal): Ditto
2487 1998-12-11 Martin Buchholz <martin@xemacs.org>
2489 * event-msw.c (mswindows_cancel_dispatch_event):
2490 Gratuitous code prettification
2493 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2495 * fns.c (Fnconc): Fix use of wrong_type_argument().
2497 * floatfns.c (Ffloat): Fix docstring.
2498 (Ffloat): Fix use of wrong_type_argument().
2500 (extract_float): Ditto.
2505 1998-12-06 Martin Buchholz <martin@xemacs.org>
2507 * frame-msw.c (mswindows_init_frame_1):
2508 - use make_lisp_hash_table, not Fmake_hash_table
2512 * alloc.c (make_vector): remove travesty
2516 (make_bit_vector_internal):
2518 (make_bit_vector_from_byte_vector):
2520 - make vector_equal a little faster.
2521 - Don't use variable name `new'.
2522 - Use size_t instead of EMACS_INT.
2523 - usual Martin-style pointless bit-twiddling.
2529 Make mapcar faster. In particular, make
2530 (mapc #'identity long-string)
2531 MUCH faster under Mule.
2532 * tests/automated/lisp-tests.el: Test 'em!
2534 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2537 1998-12-02 Didier Verna <verna@inf.enst.fr>
2539 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2540 accelerator field to nil for labels.
2542 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2544 * menubar-msw.c (displayable_menu_item):
2545 Escape occurrences of '&' and support occurrences of the
2546 '%_' accelerator indicator in menus.
2548 1998-11-26 Didier Verna <verna@inf.enst.fr>
2550 * dired.c (Fdirectory_files): use make_string instead of
2551 make_ext_string on the filename. The conversion external->internal
2552 format is already done in sys_readdir.
2554 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2556 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2558 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2561 (Belatedly) added Kirill to list of file's authors.
2562 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2563 quit checking. WM_PAINT messages cause redisplay, but
2564 windows' states are not necessarily stable when this function
2567 1998-12-17 Andy Piper <andy@xemacs.org>
2569 * strftime.c (zone_name): CONSTify.
2571 1998-12-15 Andy Piper <andy@xemacs.org>
2573 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2574 (mswindows_widget_property): return Qunbound when no property available.
2575 (mswindows_button_property): ditto.
2576 (mswindows_combo_property): ditto.
2577 (mswindows_widget_set_property): ditto.
2579 * glyphs-widget.c (check_valid_item_list): use properties.
2581 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2583 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2584 (Fimage_instance_property): ditto.
2585 * glyphs-widget.c (widget_property): ditto.
2586 (widget_set_property): ditto.
2588 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2589 as setting the class cursor so that GC actually changes the
2592 * config.h: don't undef MAIL_USE_POP.
2594 1998-12-13 Andy Piper <andy@xemacs.org>
2597 (image_instantiator_format_create_glyphs_mswindows): line ->
2599 (mswindows_label_instantiate): ditto. Play with window flags.
2600 (image_instantiator_format_create_glyphs_mswindows): ditto.
2601 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2603 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2604 cope with lines and labels.
2605 (static_instantiate): use widget_instantiate_1.
2607 (image_instantiator_format_create_glyphs_widget): ditto.
2609 1998-12-10 Andy Piper <andy@xemacs.org>
2611 * Makefile.in.in (objs): add gui.o
2613 1998-12-10 Andy Piper <andy@xemacs.org>
2615 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2618 1998-12-09 Andy Piper <andy@xemacs.org>
2620 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2621 image instance is removed so that the subwindow cache gets reset
2622 and thus destroyed images get GC'd.
2624 1998-12-08 Andy Piper <andy@xemacs.org>
2626 * gui-msw.c (mswindows_handle_gui_wm_command): call
2627 MARK_SUBWINDOWS_CHANGED.
2629 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2630 subwindows really get deleted.
2632 * redisplay.c: new variable subwindows_changed[_set].
2633 (redisplay_window): use it.
2634 (redisplay_frame): ditto.
2635 (redisplay_device): ditto.
2636 (redisplay_without_hooks): ditto.
2638 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2639 subwindows redisplay as per glyphs equivalent.
2640 * redisplay.h: ditto.
2641 (MARK_SUBWINDOWS_CHANGED): ditto.
2642 (RESET_CHANGED_SET_FLAGS): ditto.
2643 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2645 1998-12-07 Andy Piper <andy@xemacs.org>
2647 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2650 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2652 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2653 messages and paint widget glyphs as appropriate with their face fg
2656 1998-12-06 Andy Piper <andy@xemacs.org>
2658 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2659 here rather than in glyphs-widget - do this because we only want
2660 to provide what is really available.
2662 * glyphs.c (Fimage_instance_property): new function to get the
2663 properties of image instances. wires through to console specific
2664 methods and then to widget specific methods.
2665 (Fset_image_instance_property): ditto but for setting widget properties.
2666 (check_valid_face): make extern so that it can be used elsewhere.
2668 * glyphs-widget.c (widget_property): new function. gets the
2669 properties of widgets in general and wires the function through to
2670 widget specific ones.
2671 (widget_set_property): ditto but for setting widget properties.
2673 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2674 add items to the list. Play with window styles a bit to get the
2676 (mswindows_widget_property): break out specific widget properties.
2677 (mswindows_button_property): new function. gets the checked state
2679 (mswindows_combo_property): new function. gets the current
2680 selection in the combo box.
2681 (mswindows_widget_set_property): new function. sets specific
2682 properties of specific widgets.
2684 * glyphs-widget.c (check_valid_item_list): new function. check
2685 that items for a combo-box are just a list of strings.
2686 (combo_validate): new function. check there is an item list.
2687 (widget_instantiate_1): new function. renamed from
2688 widget_instantiate so that we can do slightly different things for
2690 (widget_instantiate): call widget_instantiate_1.
2691 (combo_instantiate): new function to instantiate combo boxes,
2692 defaults height to the pixel height of the number of items in the
2694 (syms_of_glyphs_widget): move widget keywords here.
2695 (image_instantiator_format_create_glyphs_widget): use new combo
2698 1998-12-04 Andy Piper <andy@xemacs.org>
2700 * event-msw.c (mswindows_wnd_proc): mule-ize.
2702 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2704 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2705 (resource_name_to_resource): ditto.
2706 (mswindows_resource_instantiate): ditto.
2707 (mswindows_widget_instantiate): ditto.
2708 (mswindows_widget_set_property): ditto.
2710 * redisplay-output.c (redisplay_output_subwindow): don't show
2711 subwindows if they are obscured at the edge of the frame, emacs
2712 gets into some sort of redisplay loop otherwise.
2714 * gui.h: prototype gui_item_selected_p.
2716 * gui.c (gui_item_selected_p): new function to determine the
2717 selected state of a gui_item.
2719 * frame.h (struct frame): add subwindows_changed flag.
2721 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2723 * glyphs.c (update_subwindow): new function to update a
2725 (update_frame_subwindows): new function to update all the
2726 subwindows on a frame.
2728 * console.h (struct console_methods): add update_subwindow.
2730 * glyphs-msw.c (mswindows_widget_property): return selected state
2731 for selected property.
2732 (mswindows_update_subwindow): new function. updates widget glyphs
2733 in redisplay as per menubars or toolbars e.g. selected state.
2734 (console_type_create_glyphs_mswindows): add update_subwindow.
2736 1998-12-03 Andy Piper <andy@xemacs.org>
2738 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2739 tty coding system things are such.
2741 * glyphs-widget.c (widget_face_font_info): new function for
2742 pulling out height and width metrics for a widget's face.
2743 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2746 * event-msw.c (mswindows_drain_windows_queue): translate messages
2747 that are destined for subwindows. This makes edit fields interact
2748 with the keyboard correctly.
2749 nuke warnings by #ifndef'ing out stuff not required by msg select().
2751 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2752 macro defining the iiforma without the symbol required by widget.
2753 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2755 * general.c (syms_of_general): add Qwidget, Qselected.
2757 * faces.c (complex_vars_of_faces): add widget face inheriting from
2760 1998-11-09 Andy Piper <andy@xemacs.org>
2762 * window.h (struct window): add a cache of subwindows on a
2765 * window.c (mark_window): mark the subwindow_instance_cache.
2766 (allocate_window): initialise the subwindow instance_cache.
2768 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2769 instead of the devmeth.
2770 (x_clear_toolbar): ditto.
2772 * redisplay-x.c (x_output_display_block): call
2773 redisplay_output_subwindow for subwindows and widgets.
2775 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2776 types to do nothing for.
2778 * lisp.h: declare new widget/subwindow symbols.
2780 * glyphs.c (image_instantiate): cache subwindows on a per-window
2782 (subwindow_possible_dest_types): new function for subwindow dest
2784 (subwindow_instantiate): generic instantiation of a
2785 subwindow. specialised by device multi-methods.
2786 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2788 (Fimage_instance_subwindow_id): ditto.
2789 (Fresize_subwindow): ditto.
2790 (Fforce_subwindow_map): ditto.
2792 * glyphs-x.c (x_print_image_instance): remove subwindow
2793 stuff. Handled genrically in glyphs.c.
2794 (x_image_instance_equal): ditto.
2795 (x_image_instance_hash): ditto.
2796 (x_finalize_image_instance): delete subwindows when required.
2797 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2798 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2799 glyph-based, subwindow implementation.
2800 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2802 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2804 (x_unmap_subwindow): new function to unmap X subwindows.
2805 (x_map_subwindow): new function to map X subwindows.
2806 (x_subwindow_instantiate): new function to instantiate X
2808 (x_resize_subwindow): new function to resize X subwindows.
2809 (console_type_create_glyphs_x): add subwindow functions.
2810 (image_instantiator_format_create_glyphs_x): add device
2811 multi-methods for xpm, xbm and subwindow.
2813 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2814 (subwindow-width): ditto.
2815 (subwindow-height): ditto.
2817 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2818 generally instantiating ms subwindows. Used by
2819 mswindows_*_instantiate.
2820 (mswindows_edit_instantiate): instantiate an edit field on a
2823 1998-11-04 Andy Piper <andy@xemacs.org>
2825 * symsinit.h: declare new functions.
2827 * redisplay.h: declare new functions.
2829 * redisplay-x.c (x_output_display_block): call
2830 redisplay_clear_region rather than x_clear_region.
2831 (x_output_string): ditto.
2832 (x_output_pixmap): ditto.
2833 (x_clear_to_window_end): ditto.
2834 (x_output_eol_cursor): ditto.
2835 (x_clear_region): only do X specific things. other duties handled
2836 in redisplay_clear_region.
2838 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2839 duties moved to redisplay_clear_region.
2841 * redisplay-output.c (clear_left_border): use
2842 redisplay_clear_region instead of device method.
2843 (clear_right_border): ditto.
2844 (output_display_line): ditto.
2845 (redisplay_output_subwindow): ditto.
2846 (redisplay_clear_top_of_window): ditto.
2847 (redisplay_clear_region): perform duties previously handled by
2848 device methods. call the appropriate device method at the
2849 end. unmap subwindows if necessary.
2851 * redisplay-msw.c (mswindows_output_string): use
2852 redisplay_clear_region instead of mswindows_clear_region.
2853 (mswindows_clear_to_window_end): ditto.
2854 (mswindows_output_display_block): output subwindows when required.
2855 (mswindows_clear_region): only do mswindows specific things,
2856 everything else is now handled in redisplay_clear_region.
2858 * gui.h: add item id hash defines and declare function prototypes.
2860 * gui.c (mark_gui_item): new function for marking gui_items.
2861 (gui_item_hash): generic hash function for generating command ids
2864 * gui-msw.c: new file.
2865 (mswindows_handle_gui_wm_command): new function to handle widget
2868 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2870 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2871 (DEFINE_DEVICE_IIFORMAT): ditto.
2872 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2873 (struct Lisp_Image_Instance): add widget and subwindow data plus
2874 appropriate access functions.
2876 * glyphs.c (decode_device_ii_format): new function for decoding
2877 image instantiator functions based on a device type as well as an
2879 (decode_image_instantiator_format): just call
2880 decode_device_ii_format with nil device.
2881 (add_entry_to_device_ii_format_list): new function for per device
2883 (add_entry_to_image_instantiator_format_list): just call
2884 add_entry_to_device_ii_format_list with nil device.
2885 (check_valid_vector): new function.
2886 (instantiate_image_instantiator): instantiate using per-format
2887 method and then per-format-per-device method (device
2888 multi-methods). signal an error if neither is possible.
2889 (mark_image_instance): cope with subwindows and widgets.
2890 (print_image_instance): ditto.
2891 (image_instance_equal): ditto.
2892 (image_instance_hash): ditto.
2893 (allocate_glyph): ditto.
2894 (glyph_width): ditto.
2895 (glyph_height_internal): ditto.
2896 (xpm_instantiate): removed because of device multi-methods.
2897 (mark_subwindow_cachels): new cachel functions for caching
2898 instantiated subwindows on a per-frame basis. mostly copied from
2899 glyph cachel functions.
2900 (update_subwindow_cachel_data): ditto.
2901 (add_subwindow_cachel): ditto.
2902 (get_subwindow_cachel_index): ditto.
2903 (reset_subwindow_cachels): ditto.
2904 (mark_subwindow_cachels_as_not_updated): ditto.
2905 (unmap_subwindow): generic unmapping of subwindows based on cachel
2907 (map_subwindow): ditto.
2908 (initialize_subwindow_image_instance): generic initialisation of
2910 (syms_of_glyphs): add widget keywords.
2912 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2915 1998-11-04 Andy Piper <andy@xemacs.org>
2917 * glyphs-widget.c: new file for instantiating widget type glyphs.
2918 (widget_possible_dest_types): new general dest type function for
2920 (widget_validate): ditto.
2921 (initialize_widget_image_instance): ditto
2922 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2923 before handing on control to device multi-methods.
2924 (syms_of_glyphs_widget): new function.
2925 (image_instantiator_format_create_glyphs_widget): new function,
2926 added placeholders for button, edit, combo, scrollbar
2927 (vars_of_glyphs_widget): new function.
2929 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2930 storing window ids of widgets.
2932 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2933 deletion of widget and subwindow glyphs.
2934 (mswindows_unmap_subwindow): new device function for unmapping
2935 subwindows on a msw frame.
2936 (mswindows_map_subwindow): ditto.
2937 (mswindows_register_image_instance): register instantiated widgets
2938 with the widget hastable.
2939 (mswindows_button_instantiate): instantiate a button type widget
2941 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2943 (image_instantiator_format_create_glyphs_mswindows): add device
2944 multi-methods for xbm, xpm, subwindow, edit and button.
2946 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2947 information about subwindows visible on the current frame. used by
2948 redisplay_clear_region to unmap subwindows as required.
2950 * frame.c (mark_frame): mark subwindow_cachels.
2951 (allocate_frame_core): instantiate subwindow_cachels.
2953 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2956 * event-msw.c (mswindows_wnd_proc): add call to
2957 mswindows_handle_gui_wm_command to handle widget callbacks.
2959 * emacs.c (main_1): add calls to glyphs-widget initialisation
2962 * console.h (struct console_methods): add
2963 unmap/map_subwindow_method for use be redisplay_clear_region to
2964 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2965 with by image instantiator multi-methods. Add
2966 resize_subwindow_method.
2968 * console-stream.c (stream_clear_region): change signature to
2969 match new generic clear region function.
2971 * Makefile.in.in: add glyphs-widget.o to list of objects.
2973 * console-msw.h (struct mswindows_frame): add widget hashtable for
2974 wiring command ids to callbacks.
2976 1998-12-16 Andy Piper <andy@xemacs.org>
2978 * XEmacs 21.2.6 is released
2980 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2982 * md5.c (Fmd5): Correctly initiate string input stream.
2984 * Makefile.in.in (tests): Add md5-tests.el.
2986 1998-12-06 Martin Buchholz <martin@xemacs.org>
2989 * alloc.c (make_vector): remove travesty
2993 (make_bit_vector_internal):
2995 (make_bit_vector_from_byte_vector):
2997 - make vector_equal a little faster.
2998 - Don't use variable name `new'.
2999 - Use size_t instead of EMACS_INT.
3000 - usual Martin-style pointless bit-twiddling.
3006 Make mapcar faster. In particular, make
3007 (mapc #'identity long-string)
3008 MUCH faster under Mule.
3009 * tests/automated/lisp-tests.el: Test 'em!
3011 1998-12-06 Martin Buchholz <martin@xemacs.org>
3013 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3016 1998-12-13 Martin Buchholz <martin@xemacs.org>
3018 * console-msw.c: Function definitions follow coding standards
3019 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3021 1998-12-11 Martin Buchholz <martin@xemacs.org>
3023 * events.h (struct timeout_data):
3024 * event-tty.c (tty_timeout_to_emacs_event):
3025 * event-msw.c (mswindows_wm_timer_callback):
3026 * event-Xt.c (Xt_timeout_to_emacs_event):
3027 * event-msw.c (mswindows_cancel_dispatch_event):
3028 Make sure Lisp_Objects inside events are initialized to Qnil, not
3029 Qnull_pointer, which is now illegal.
3031 1998-12-10 Martin Buchholz <martin@xemacs.org>
3033 * lisp.h: Fix up prototypes to match alloc.c
3035 1998-12-09 Andy Piper <andy@xemacs.org>
3037 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3038 XSETINT for assigning lisp objects.
3040 1998-12-07 Martin Buchholz <martin@xemacs.org>
3043 * console-msw.c (DHEADER):
3052 - max_align_t should not be visible to the user of the
3054 - use Bufbyte instead of char
3055 - parens around (FOOP (obj)) are always redundant.
3056 If they were necessary, we should fix the macro instead.
3057 - Always use string_data(foo) instead of foo->data.
3059 1998-12-07 Martin Buchholz <martin@xemacs.org>
3061 * sysdep.c (set_descriptor_non_blocking):
3062 Since O_NONBLOCK is now always #defined, make use of fcntl
3063 conditional on F_SETFL being defined.
3065 1998-12-09 Andy Piper <andy@xemacs.org>
3067 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3068 that got removed in the merge
3070 1998-11-30 Greg Klanderman <greg@alphatech.com>
3072 * dired.c (vars_of_dired): bugfix for previous conditionalization
3073 of user-name-completion on non- Windows NT.
3075 1998-12-08 Martin Buchholz <martin@xemacs.org>
3077 * windowsnt.h: Remove `support' for using index and rindex
3079 * filelock.c (current_lock_owner):
3080 - Change uses of index -> strchr, rindex -> strrchr
3082 1998-12-06 Martin Buchholz <martin@xemacs.org>
3084 * frame-msw.c (mswindows_init_frame_1):
3085 - use make_lisp_hash_table, not Fmake_hash_table
3088 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3090 * XEmacs 21.2.5 is released
3092 1998-11-30 Martin Buchholz <martin@xemacs.org>
3094 * xselect.c (receive_incremental_selection):
3095 * xselect.c (x_get_window_property):
3096 * xmu.c (XmuReadBitmapDataFromFile):
3097 * xmu.c (XmuCursorNameToIndex):
3098 * xgccache.c (describe_gc_cache):
3099 * xgccache.c (gc_cache_lookup):
3100 * xgccache.c (free_gc_cache):
3101 * xgccache.c (make_gc_cache):
3103 * window.c (map_windows_1):
3104 * window.c (Fother_window_for_scrolling):
3105 * window.c (window_scroll):
3106 * window.c (change_window_height):
3107 * window.c (Fsplit_window):
3108 * window.c (window_left_gutter_width):
3109 * window.c (window_modeline_height):
3110 * window.c (invalidate_vertical_divider_cache_in_window):
3111 * window.c (window_needs_vertical_divider_1):
3112 * window.c (update_mirror_internal):
3113 * window.c (SET_LAST_FACECHANGE):
3114 * widget.c (Fwidget_plist_member):
3115 * unexec.c (copy_text_and_data):
3116 * unexcw.c (copy_executable_and_dump_data_section):
3118 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3119 * tooltalk.c (struct Lisp_Tooltalk_Message):
3120 * toolbar.h (struct toolbar_button):
3121 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3122 * toolbar.c (recompute_overlaying_specifier):
3123 * toolbar.c (toolbar_validate):
3124 * toolbar.c (toolbar_button_at_pixpos):
3125 * toolbar.c (get_toolbar_coords):
3126 * toolbar.c (update_frame_toolbars):
3128 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3129 * toolbar-msw.c (mswindows_find_toolbar_pos):
3130 * toolbar-msw.c (mswindows_output_toolbar):
3131 * toolbar-msw.c (mswindows_clear_toolbar):
3140 * sysdep.c (sys_fopen):
3141 * sysdep.c (sys_open):
3142 * sysdep.c (tty_init_sys_modes_on_device):
3143 * sysdep.c (get_eof_char):
3144 * sysdep.c (child_setup_tty):
3145 * sysdep.c (set_descriptor_non_blocking):
3147 * syntax.c (scan_words):
3150 * symeval.h (struct symbol_value_varalias):
3151 * symeval.h (struct symbol_value_forward):
3152 * symbols.c (syms_of_symbols):
3153 * symbols.c (init_symbols_once_early):
3154 * symbols.c (Fbuilt_in_variable_type):
3155 * symbols.c (Fsymbol_value_in_buffer):
3156 * symbols.c (default_value):
3158 * symbols.c (find_symbol_value_quickly):
3159 * symbols.c (store_symval_forwarding):
3160 * symbols.c (set_default_console_slot_variable):
3161 * symbols.c (set_default_buffer_slot_variable):
3162 * symbols.c (verify_ok_for_buffer_local):
3163 * symbols.c (symbol_is_constant):
3164 * symbols.c (oblookup):
3165 * symbols.c (Funintern):
3166 * symbols.c (Fintern):
3167 * symbols.c (check_obarray):
3169 * specifier.h (struct specifier_methods):
3171 * specifier.c (specifier_instance):
3172 * specifier.c (specifier_instance_from_inst_list):
3173 * specifier.c (decode_locale_type):
3174 * specifier.c (specifier_equal):
3175 * specifier.c (finalize_specifier):
3176 * specifier.c (prune_specifiers):
3177 * specifier.c (kill_specifier_buffer_locals):
3178 * sound.c (init_native_sound):
3181 * search.c (Fmatch_data):
3182 * search.c (match_limit):
3183 * search.c (Freplace_match):
3184 * search.c (skip_chars):
3185 * search.c (scan_buffer):
3187 * scrollbar.c (specifier_vars_of_scrollbar):
3188 * scrollbar.c (Fscrollbar_set_hscroll):
3189 * scrollbar.c (vertical_scrollbar_changed_in_window):
3190 * scrollbar.c (release_window_mirror_scrollbars):
3191 * scrollbar.c (free_scrollbar_instance):
3194 * s/msdos.h (O_BINARY):
3196 * s/freebsd.h (LIBS_TERMCAP):
3197 * regex.c (re_match_2_internal):
3198 * regex.c (compile_extended_range):
3199 * regex.c (POP_FAILURE_POINT):
3200 * regex.c (PUSH_FAILURE_POINT):
3201 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3203 * redisplay.h (struct display_line):
3204 * redisplay.h (struct rune):
3205 * redisplay.c (vars_of_redisplay):
3206 * redisplay.c (redisplay_variable_changed):
3207 * redisplay.c (UPDATE_CACHE_RETURN):
3208 * redisplay.c (validate_line_start_cache):
3209 * redisplay.c (mark_redisplay_structs):
3210 * redisplay.c (mark_glyph_block_dynarr):
3211 * redisplay.c (window_line_number):
3212 * redisplay.c (redisplay_frame):
3213 * redisplay.c (redisplay_window):
3214 * redisplay.c (generate_modeline):
3215 * redisplay.c (create_right_glyph_block):
3216 * redisplay.c (create_left_glyph_block):
3217 * redisplay.c (create_text_block):
3219 * redisplay-x.c (x_output_hline):
3220 * redisplay-x.c (x_output_vertical_divider):
3221 * redisplay-tty.c (tty_output_display_block):
3222 * redisplay-output.c (output_display_line):
3223 * redisplay-output.c:
3224 * redisplay-msw.c (mswindows_output_vertical_divider):
3225 * redisplay-msw.c (mswindows_ring_bell):
3226 * redisplay-msw.c (mswindows_output_cursor):
3230 * puresize.h (RAW_PURESIZE):
3231 * profile.c (syms_of_profile):
3232 * profile.c (Fstart_profiling):
3233 * profile.c (sigprof_handler):
3236 * process.c (vars_of_process):
3237 * process.c (read_process_output):
3238 * process.c (get_process):
3240 * process-unix.c (unix_open_multicast_group):
3241 * process-unix.c (unix_get_tty_name):
3242 * process-unix.c (unix_send_process):
3243 * process-unix.c (unix_reap_exited_processes):
3244 * process-unix.c (unix_create_process):
3245 * process-unix.c (unix_init_process_io_handles):
3246 * process-unix.c (allocate_pty):
3248 * process-nt.c (nt_open_network_stream):
3249 * process-nt.c (nt_update_status_if_terminated):
3250 * process-nt.c (nt_finalize_process_data):
3252 * print.c (debug_short_backtrace):
3253 * print.c (debug_backtrace):
3254 * print.c (print_symbol):
3255 * print.c (print_internal):
3256 * print.c (print_cons):
3257 * print.c (Fwrite_char):
3258 * print.c (print_prepare):
3259 * print.c (canonicalize_printcharfun):
3260 * print.c (output_string):
3263 * opaque.c (allocate_managed_opaque):
3265 * offix.c (DndSetData):
3266 * objects.c (face_boolean_create):
3267 * objects.c (font_instantiate):
3268 * objects.c (font_create):
3269 * objects.c (color_create):
3270 * objects.c (finalize_font_instance):
3271 * objects.c (finalize_color_instance):
3273 * objects-x.c (x_font_instance_truename):
3275 * objects-x.c (x_initialize_font_instance):
3276 * objects-x.c (allocate_nearest_color):
3277 * objects-tty.c (tty_initialize_font_instance):
3278 * objects-tty.c (tty_initialize_color_instance):
3279 * objects-msw.c (mswindows_initialize_color_instance):
3280 * ntproc.c (syms_of_ntproc):
3281 * ntproc.c (Fwin32_set_process_priority):
3282 * ntproc.c (sys_spawnve):
3284 * ntheap.c (get_data_end):
3288 * nt.c (generate_inode_val):
3289 * nt.c (sys_rename):
3291 * mule-wnnfns.c (Fwnn_hinsi_number):
3292 * mule-wnnfns.c (Fwnn_yuragi):
3293 * mule-wnnfns.c (Fwnn_common_learn):
3294 * mule-wnnfns.c (Fwnn_suffix_learn):
3295 * mule-wnnfns.c (Fwnn_prefix_learn):
3296 * mule-wnnfns.c (Fwnn_okuri_learn):
3297 * mule-wnnfns.c (Fwnn_complex_conv):
3298 * mule-wnnfns.c (Fwnn_last_is_first):
3299 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3300 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3301 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3302 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3303 * mule-wnnfns.c (Fwnn_hinsi_list):
3304 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3305 * mule-wnnfns.c (Fwnn_dict_search):
3306 * mule-wnnfns.c (Fwnn_word_toroku):
3307 * mule-wnnfns.c (Fwnn_hindo_update):
3308 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3309 * mule-wnnfns.c (Fwnn_kakutei):
3310 * mule-wnnfns.c (Fwnn_begin_henkan):
3311 * mule-wnnfns.c (Fwnn_dict_comment):
3312 * mule-wnnfns.c (Fwnn_dict_add):
3313 * mule-wnnfns.c (Fwnn_open):
3314 * mule-mcpath.c (mc_getcwd):
3315 * mule-coding.c (vars_of_mule_coding):
3316 * mule-coding.c (convert_to_external_format):
3317 * mule-coding.c (encoding_marker):
3318 * mule-coding.c (decoding_marker):
3319 * mule-coding.c (Fcopy_coding_system):
3320 * mule-coding.c (Fmake_coding_system):
3321 * mule-coding.c (Fcoding_system_list):
3322 * mule-coding.c (Ffind_coding_system):
3323 * mule-coding.c (symbol_to_eol_type):
3325 * mule-charset.c (complex_vars_of_mule_charset):
3326 * mule-charset.c (vars_of_mule_charset):
3327 * mule-charset.c (Fset_charset_ccl_program):
3328 * mule-charset.c (struct charset_list_closure):
3329 * mule-charset.c (Ffind_charset):
3330 * mule-charset.c (make_charset):
3331 * mule-charset.c (non_ascii_valid_char_p):
3333 * mule-ccl.c (ccl_driver):
3334 * mule-canna.c (c2mu):
3335 * mule-canna.c (Fcanna_henkan_begin):
3336 * mule-canna.c (Fcanna_parse):
3337 * mule-canna.c (Fcanna_store_yomi):
3338 * mule-canna.c (Fcanna_touroku_string):
3339 * mule-canna.c (Fcanna_initialize):
3341 * menubar.c (menu_parse_submenu_keywords):
3342 * menubar-x.c (make_dummy_xbutton_event):
3343 * menubar-x.c (set_frame_menubar):
3344 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3347 * menubar-msw.c (mswindows_popup_menu):
3348 * menubar-msw.c (mswindows_update_frame_menubars):
3349 * menubar-msw.c (mswindows_handle_wm_command):
3350 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3351 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3352 * menubar-msw.c (update_frame_menubar_maybe):
3353 * menubar-msw.c (populate_or_checksum_helper):
3354 * menubar-msw.c (empty_menu):
3357 * marker.c (set_marker_internal):
3358 * marker.c (print_marker):
3361 * lstream.c (lisp_buffer_rewinder):
3362 * lstream.c (mark_lstream):
3364 * lrecord.h (struct lrecord_header):
3365 * lread.c (readevalloop):
3366 * lread.c (locate_file):
3367 * lread.c (locate_file_in_directory):
3368 * lread.c (Flocate_file):
3369 * lread.c (load_force_doc_string_unwind):
3370 * lread.c (ebolify_bytecode_constants):
3375 * linuxplay.c (linux_play_data_or_file):
3376 * linuxplay.c (audio_init):
3379 * keymap.c (describe_map):
3380 * keymap.c (describe_map_mapper):
3381 * keymap.c (Fdescribe_bindings_internal):
3382 * keymap.c (Fsingle_key_description):
3383 * keymap.c (map_keymap_sorted):
3384 * keymap.c (get_relevant_keymaps):
3385 * keymap.c (Flookup_key):
3386 * keymap.c (raw_lookup_key_mapper):
3387 * keymap.c (Fdefine_key):
3388 * keymap.c (Fevent_matches_key_specifier_p):
3389 * keymap.c (key_desc_list_to_event):
3390 * keymap.c (define_key_parser):
3391 * keymap.c (define_key_check_and_coerce_keysym):
3392 * keymap.c (keymap_submaps):
3393 * keymap.c (keymap_store_internal):
3394 * keymap.c (keymap_delete_inverse_internal):
3395 * keymap.c (keymap_store_inverse_internal):
3396 * keymap.c (print_keymap):
3397 * keymap.c (Lisp_Keymap):
3400 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3401 * insdel.c (make_gap):
3402 * input-method-xlib.c (get_XIM_input):
3403 * input-method-xlib.c (XIM_init_frame):
3408 * gui-x.c (button_item_to_widget_value):
3409 * gui-x.c (popup_selection_callback):
3410 * glyphs.h (struct image_instantiator_methods):
3411 * glyphs.c (mark_glyph_cachels):
3412 * glyphs.c (Fglyph_type):
3413 * glyphs.c (image_instantiate):
3414 * glyphs.c (image_create):
3415 * glyphs.c (make_image_instance_1):
3416 * glyphs.c (finalize_image_instance):
3418 * glyphs-x.c (finalize_subwindow):
3419 * glyphs-x.c (xface_validate):
3420 * glyphs-x.c (x_locate_pixmap_file):
3421 * glyphs-x.c (convert_EImage_to_XImage):
3423 * glyphs-msw.c (mswindows_resource_instantiate):
3424 * glyphs-msw.c (xpm_to_eimage):
3425 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3426 * glyphs-eimage.c (tiff_instantiate):
3427 * glyphs-eimage.c (png_instantiate):
3428 * glyphs-eimage.c (struct png_error_struct):
3429 * glyphs-eimage.c (gif_memory_storage):
3432 * getloadavg.c (getloadavg):
3435 * free-hook.c (log_gcpro):
3436 * free-hook.c (check_malloc):
3437 * free-hook.c (check_free):
3438 * free-hook.c (ROUND_UP_TO_PAGE):
3440 * frame.h (struct frame):
3442 * frame.c (change_frame_size_1):
3443 * frame.c (allocate_frame_core):
3445 * frame-x.c (x_focus_on_frame):
3446 * frame-x.c (x_init_frame_2):
3447 * frame-x.c (x_popup_frame):
3448 * frame-x.c (xemacs_XtPopup):
3450 * frame-x.c (Foffix_start_drag_internal):
3451 * frame-x.c (x_cde_destroy_callback):
3452 * frame-x.c (x_wm_hack_wm_protocols):
3453 * frame-tty.c (tty_frame_visible_p):
3454 * frame-msw.c (mswindows_make_frame_invisible):
3455 * frame-msw.c (mswindows_after_init_frame):
3456 * frame-msw.c (mswindows_init_frame_1):
3457 * fns.c (syms_of_fns):
3458 * fns.c (Fbase64_decode_string):
3460 * fns.c (Ffillarray):
3461 * fns.c (Fobject_plist):
3463 * fns.c (Fcanonicalize_lax_plist):
3464 * fns.c (Fcanonicalize_plist):
3465 * fns.c (Fplist_remprop):
3466 * fns.c (Fplist_get):
3467 * fns.c (advance_plist_pointers):
3468 * fns.c (internal_plist_put):
3469 * fns.c (Fnreverse):
3472 * fns.c (Fsubstring):
3473 * fns.c (Fbvconcat):
3475 * fns.c (length_with_bytecode_hack):
3476 * fns.c (print_bit_vector):
3478 * floatfns.c (Ffloor):
3480 * floatfns.c (in_float_error):
3481 * fileio.c (Ffile_modes):
3482 * fileio.c (Fexpand_file_name):
3483 * fileio.c (Fmake_temp_name):
3484 * fileio.c (Ffile_name_nondirectory):
3485 * fileio.c (Ffile_name_directory):
3487 * file-coding.c (vars_of_mule_coding):
3488 * file-coding.c (convert_to_external_format):
3489 * file-coding.c (encoding_marker):
3490 * file-coding.c (decoding_marker):
3491 * file-coding.c (Fcopy_coding_system):
3492 * file-coding.c (Fmake_coding_system):
3493 * file-coding.c (struct coding_system_list_closure):
3494 * file-coding.c (Ffind_coding_system):
3495 * file-coding.c (symbol_to_eol_type):
3497 * faces.h (struct face_cachel):
3498 * faces.c (vars_of_faces):
3499 * faces.c (face_property_was_changed):
3500 * faces.c (mark_face_cachels):
3501 * faces.c (temporary_faces_list):
3502 * faces.c (struct face_list_closure):
3504 * extents.h (struct extent):
3505 * extents.c (vars_of_extents):
3506 * extents.c (struct copy_string_extents_1_arg):
3507 * extents.c (add_string_extents_mapper):
3508 * extents.c (Fextent_property):
3509 * extents.c (Fset_extent_property):
3510 * extents.c (symbol_to_glyph_layout):
3511 * extents.c (properties_equal):
3512 * extents.c (print_extent):
3513 * extents.c (print_extent_1):
3514 * extents.c (extent_in_region_p):
3515 * extents.c (gap_array_make_gap):
3517 * events.h (struct Lisp_Event):
3519 * events.c (Fevent_properties):
3520 * events.c (format_event_object):
3521 * events.c (Fmake_event):
3522 * events.c (event_equal):
3523 * events.c (print_event):
3524 * events.c (mark_event):
3525 * event-stream.c ((read-char)
3526 * event-stream.c (vars_of_event_stream):
3527 * event-stream.c (syms_of_event_stream):
3528 * event-stream.c (Fset_recent_keys_ring_size):
3529 * event-stream.c (Fsit_for):
3530 * event-stream.c (Fnext_event):
3531 * event-stream.c (execute_help_form):
3532 * event-stream.c (maybe_kbd_translate):
3534 * event-msw.c (vars_of_event_mswindows):
3535 * event-msw.c (mswindows_wnd_proc):
3536 * event-msw.c (mswindows_need_event):
3537 * event-msw.c (mswindows_drain_windows_queue):
3538 * event-msw.c (mswindows_pump_outstanding_events):
3540 * event-msw.c (slurp_thread):
3541 * event-msw.c (struct ntpipe_slurp_stream):
3542 * event-msw.c (HANDLE_TO_USID):
3543 * event-Xt.c (emacs_Xt_handle_magic_event):
3544 * event-Xt.c (x_event_to_emacs_event):
3545 * event-Xt.c (x_reset_modifier_mapping):
3546 * event-Xt.c (x_reset_key_mapping):
3548 * eval.c (syms_of_eval):
3549 * eval.c (warn_when_safe):
3550 * eval.c (warn_when_safe_lispobj):
3551 * eval.c (Fbacktrace_frame):
3552 * eval.c (Fbacktrace):
3553 * eval.c (top_level_set):
3554 * eval.c (unbind_to_hairy):
3555 * eval.c (specbind_magic):
3556 * eval.c (specbind_unwind_wasnt_local):
3557 * eval.c (call2_trapping_errors):
3558 * eval.c (call1_trapping_errors):
3559 * eval.c (catch_them_squirmers_call2):
3560 * eval.c (call0_trapping_errors):
3561 * eval.c (run_hook_trapping_errors):
3562 * eval.c (catch_them_squirmers_eval_in_buffer):
3563 * eval.c (call4_in_buffer):
3564 * eval.c (call3_in_buffer):
3565 * eval.c (call2_in_buffer):
3566 * eval.c (call1_in_buffer):
3567 * eval.c (call0_in_buffer):
3568 * eval.c (run_hook):
3569 * eval.c (run_hook_with_args_in_buffer):
3572 * eval.c (do_autoload):
3573 * eval.c (un_autoload):
3574 * eval.c (Fautoload):
3575 * eval.c (Finteractive_p):
3576 * eval.c (Fcommand_execute):
3577 * eval.c (signal_quit):
3578 * eval.c (call_with_suspended_errors):
3579 * eval.c (signal_error):
3580 * eval.c (return_from_signal):
3581 * eval.c (Fcall_with_condition_handler):
3582 * eval.c (run_condition_case_handlers):
3583 * eval.c (condition_case_1):
3584 * eval.c (Funwind_protect):
3585 * eval.c (unwind_to_catch):
3586 * eval.c (internal_catch):
3587 * eval.c (Fmacroexpand_internal):
3588 * eval.c (Fuser_variable_p):
3589 * eval.c (Fdefconst):
3591 * eval.c (Ffunction):
3592 * eval.c (signal_call_debugger):
3593 * eval.c (call_debugger):
3596 * emacs.c (sort_args):
3600 * editfns.c (Fencode_time):
3601 * editfns.c (Fdecode_time):
3602 * editfns.c (Fuser_full_name):
3604 * editfns.c (save_excursion_restore):
3607 * doprnt.c (emacs_doprnt_1):
3608 * doc.c (verify_doc_mapper):
3609 * doc.c (Fsnarf_documentation):
3610 * doc.c (Fdocumentation):
3612 * dired.c (user_name_completion):
3613 * dired.c (Fdirectory_files):
3616 * dgif_lib.c (FreeSavedImages):
3617 * dgif_lib.c (DGifGetImageDesc):
3619 * device.h (struct device):
3620 * device.c (Fselect_device):
3621 * device.c (allocate_device):
3623 * device-x.c (Fx_keysym_on_keyboard_p):
3624 * device-x.c (Fx_valid_keysym_name_p):
3625 * device-x.c (x_IO_error_handler):
3626 * device-x.c (x_delete_device):
3627 * device-x.c (x_finish_init_device):
3628 * device-x.c (x_init_device):
3630 * device-msw.c (mswindows_init_device):
3632 * database.c (vars_of_database):
3633 * database.c (Fput_database):
3634 * database.c (Fopen_database):
3635 * database.c (berkdb_remove):
3636 * database.c (berkdb_put):
3637 * database.c (Fdatabasep):
3638 * database.c (print_database):
3640 * data.c (vars_of_data):
3641 * data.c (syms_of_data):
3642 * data.c (init_errors_once_early):
3643 * data.c (prune_weak_lists):
3644 * data.c (finish_marking_weak_lists):
3645 * data.c (print_weak_list):
3647 * data.c (Fstring_to_number):
3648 * data.c (Fnumber_to_string):
3649 * data.c (Findirect_function):
3652 * data.c (Fsubr_interactive):
3654 * data.c (Fkeywordp):
3657 * console.h (CONSOLE_NAME):
3659 * console.c (vars_of_console):
3660 * console.c (Fselect_console):
3662 * console-x.h (DEVICE_X_COLORMAP):
3663 * console-x.h (struct x_device):
3664 * console-x.c (x_device_to_console_connection):
3665 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3666 * console-tty.c (tty_init_console):
3668 * console-msw.h (struct mswindows_frame):
3671 * cmds.c (internal_self_insert):
3672 * cmds.c (Fforward_line):
3673 * cmds.c (Fforward_char):
3676 * chartab.c (mark_char_table_entry):
3678 * casefiddle.c (casify_word):
3679 * callproc.c (child_setup):
3680 * callproc.c (Fcall_process_internal):
3682 * callint.c (Fcall_interactively):
3684 * bytecode.c (execute_rare_opcode):
3685 * bytecode.c (execute_optimized_program):
3688 * buffer.h (BUFFER_REALLOC):
3689 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3690 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3692 * buffer.h (MAP_INDIRECT_BUFFERS):
3693 * buffer.h (CHECK_LIVE_BUFFER):
3694 * buffer.c (init_initial_directory):
3695 * buffer.c (complex_vars_of_buffer):
3696 * buffer.c (vars_of_buffer):
3697 * buffer.c (finish_init_buffer):
3698 * buffer.c (Fget_file_buffer):
3699 * buffer.c (Fbuffer_list):
3700 * buffer.c (mark_buffer):
3701 * balloon_help.c (balloon_help_move_to_pointer):
3702 * balloon_help.c (show_help):
3705 * alloc.c (garbage_collect_1):
3706 * alloc.c (sweep_strings):
3707 * alloc.c (sweep_compiled_functions):
3708 * alloc.c (sweep_bit_vectors_1):
3709 * alloc.c (sweep_vectors_1):
3710 * alloc.c (sweep_lcrecords_1):
3711 * alloc.c (tick_lcrecord_stats):
3712 * alloc.c (pure_string_sizeof):
3713 * alloc.c (mark_conses_in_list):
3714 * alloc.c (mark_object):
3715 * alloc.c (report_pure_usage):
3716 * alloc.c (make_pure_float):
3717 * alloc.c (make_pure_string):
3718 * alloc.c (free_managed_lcrecord):
3719 * alloc.c (mark_string):
3720 * alloc.c (noseeum_make_marker):
3721 * alloc.c (allocate_event):
3722 * alloc.c (Fbit_vector):
3723 * alloc.c (Fvector):
3724 * alloc.c (make_float):
3725 * alloc.c (Fmake_list):
3727 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3728 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3729 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3730 * alloc.c (dbg_constants):
3731 * alloc.c (gc_record_type_p):
3732 * alloc.c (free_lcrecord):
3733 * alloc.c (xmalloc):
3734 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3736 * Makefile.in.in (mostlyclean):
3737 * Makefile.in.in (external_client_xlib_objs_nonshared):
3738 * Makefile.in.in (temacs_link_args):
3739 * Makefile.in.in (release):
3740 * Makefile.in.in (dnd_objs):
3741 * Makefile.in.in (objs):
3742 * Makefile.in.in (PROGNAME):
3743 * EmacsShell.c: cast strings to (XtPointer)
3744 * EmacsFrame.c: cast strings to (XtPointer)
3746 - rewrite basic lisp functions for speed
3747 - rewrite bytecode interpreter for speed
3748 - rewrite list looping constructs for speed and safety using
3750 - use size_t where appropriate.
3751 - new hashtable implementation
3752 - cleanup implementation of opaques
3753 - opaques can now be purecopy'ed
3754 - move some cl functionality into C for speed.
3755 - remove last remaining VMS support
3757 - improve gdb/dbx debugger support
3758 - move pure.c back into alloc.c for performance
3759 - enable report_pure_usage() if --memory-usage-stats
3760 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3761 - don't use symbols with leading `_' or embedded `__'
3762 - globally cleanup duplicated semicolons `;;'
3763 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3765 - globally replace O_NDELAY with O_NONBLOCK.
3766 - globally replace CDISABLE with _POSIX_VDISABLE.
3767 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3768 - define (and maybe use!) STDERR_FILENO and friends.
3769 - add support for macros defined in C
3770 - `when', `unless', `not' and `defalias' now defined in C,
3771 so that they are universally available.
3772 - rename defvar_mumble to defvar_magic
3773 - rename RETURN__ to RETURN_SANS_WARNINGS
3774 - use consistent style of initial caps in error messages
3775 - implement last, butlast, nbutlast, copy-list in C.
3776 - provide typedefs for all struct Lisp_foo types
3777 - Lisp_Objects must be initialized to Qnil rather than 0.
3778 - make sure XEmacs runs (slowly) with always_gc == 1;
3779 - fast and safe LOOP_* macros
3780 - change calls to XSETOBJ to XSETFOO
3781 - replace calls to XSETINT by make_int()
3782 - plug up memory leaks
3783 - use style markobj (foo), not silly ((markobj) (foo))
3784 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3786 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3788 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3790 1998-11-28 SL Baur <steve@altair.xemacs.org>
3792 * XEmacs 21.2-beta4 is released.
3794 1998-11-27 SL Baur <steve@altair.xemacs.org>
3796 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3797 property in control-1 charset.
3798 From Julian Bradfield <jcb@daimi.au.dk>
3800 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3802 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3804 Add stub for :label.
3806 * gui.c (gui_item_add_keyval_pair): ditto.
3808 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3809 :key-sequence keyword.
3811 Support :active for submenus like the Windows code and FSF Emacs.
3813 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3815 * dired.c (make_directory_hash_table): make_string() is OK because
3816 readdir() Mule-encapsulates.
3818 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3820 * fns.c (Fbase64_encode_string): Fix docstring.
3821 (Fbase64_decode_string): Ditto.
3823 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3825 * editfns.c (Ftranslate_region): Use
3826 convert_bufbyte_string_into_emchar_string().
3828 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3830 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3832 (Ftranslate_region): Turn table into an array of Emchars for
3835 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3837 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3839 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3841 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3842 type `char' with nils.
3844 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3845 for tables of type `char'.
3847 1998-11-26 Didier Verna <verna@inf.enst.fr>
3849 * input-method-xlib.c (Initialize_Locale): don't call
3850 XtSetLanguageProc. We've done the whole work here.
3851 * input-method-xfs.c (Initialize_Locale): ditto.
3852 * input-method-motif.c (Initialize_Locale): ditto.
3854 1998-11-26 Didier Verna <verna@inf.enst.fr>
3856 * process-unix.c (unix_create_process): handle properly
3857 Vfile_name_coding_system for converting the program and directory
3860 1998-11-27 SL Baur <steve@altair.xemacs.org>
3862 * m/arm.h: New file.
3863 From James LewisMoss <dres@ioa.com>
3865 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3868 Fix the realpath() problem of UnixWare2.1.3.
3869 Patches for NEC's sysv4.2 machine.
3871 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3873 * dired.c (Fdirectory_files): Remove redundant code.
3875 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3877 * fns.c (free_malloced_ptr): New function.
3878 (XMALLOC_OR_ALLOCA): New macro.
3879 (XMALLOC_UNBIND): Ditto.
3880 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3881 to be freed in case of non-local exit.
3882 (Fbase64_encode_string): Ditto.
3883 (Fbase64_decode_region): Ditto.
3884 (Fbase64_decode_string): Ditto.
3885 (STORE_BYTE): New macro.
3886 (base64_decode_1): Use it.
3888 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3890 * fns.c (base64_value_to_char): Base64 stuff.
3892 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3894 * editfns.c (Fbuffer_substring): New function.
3896 * lisp.h: Declare make_string_from_buffer_no_extents().
3898 * insdel.c (make_string_from_buffer_1): New function.
3899 (make_string_from_buffer_no_extents): Ditto.
3901 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3903 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3904 sound work on AIX with OSS installed. Linux should still work.
3906 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3908 * config.h.in: name change for cygwin/version.h
3910 * configure.in: check for cygwin/version.h now.
3912 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3913 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3914 move cygwin32/version.h to cygwin/version.h
3916 1998-11-03 Olivier Galibert <galibert@pobox.com>
3918 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3921 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3923 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3924 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3925 enable BROKEN_SIGIO under b20 to make QUIT work.
3927 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3929 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3930 to fit within the constraints of the screen size. I.e. make the
3931 frame small enough to fit and move it if some of it will be
3934 1998-10-19 Greg Klanderman <greg@alphatech.com>
3936 * dired.c: conditionalize inclusion of user-name-completion
3937 primitives on non-Windows NT. The needed functions don't exist on NT.
3939 1998-11-24 SL Baur <steve@altair.xemacs.org>
3941 * gifrlib.h: Clean up types for 64 bit compile.
3942 * dgif_lib.c (DGifInitRead): Ditto.
3943 (MakeSavedImage): Ditto.
3944 * emacs.c (decode_path): Ditto.
3945 From Steve Carney <carney@pa.dec.com>
3947 1998-10-16 William M. Perry <wmperry@aventail.com>
3949 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3950 (cehckboxes instead of checkboxes).
3952 1998-10-15 SL Baur <steve@altair.xemacs.org>
3954 * XEmacs 21.2-beta3 is released.
3956 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3958 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3959 gnuclient. Otherwise, we run xemacs as we always did. This gets
3960 rid of the annoying DOS window when running gnuclient.
3962 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3964 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3965 HAVE_MS_WINDOWS typo.
3967 1998-10-13 SL Baur <steve@altair.xemacs.org>
3969 * process-unix.c (unix_send_process): Set closed flag on writable
3970 pipe after SIGPIPE is received and before we call deactivate_process.
3972 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3974 * window.c (Fset_window_start): respect narrowing when
3975 checking wheter start is at the beginning of a line.
3976 (Fset_window_buffer): Ditto
3977 Fixes repeatable crash in VM.
3979 1998-10-09 SL Baur <steve@altair.xemacs.org>
3981 * window.c (specifier_vars_of_window): Set default vertical
3982 divider width to 1 on ttys.
3984 1998-10-08 Martin Buchholz <martin@xemacs.org>
3989 Add <stddef.h> to get ptrdiff_t declaration
3991 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3993 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3994 is used for Motif or Lucid scrollbars under X.
3996 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3998 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4001 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4003 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4005 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4007 * s/cygwin32.h: more cygwin b20 reorganisation.
4009 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4011 * nas.c: Added necessary support functions to be able to handle
4012 WAVE files in memory, just like the support for SND files in
4015 1998-09-30 SL Baur <steve@altair.xemacs.org>
4017 * callproc.c (child_setup): Fix spelling typo.
4019 1998-09-29 SL Baur <steve@altair.xemacs.org>
4021 * XEmacs 21.2-beta2 is released.
4023 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4025 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4026 to prevent memory corruption in the case of jumping out of a series of
4027 nested match patterns. This is a rather brute force approach, though.
4029 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4031 * config.h.in: ditto.
4033 * s/cygwin32.h: rearrange declarations to cope with cygwin
4034 b20. Include cygwin32/version.h if it exists.
4036 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4038 * device-msw.c (mswindows_init_device): Call new
4039 mswindows_enumerate_fonts() function in objects-msw.c instead
4040 of font_enum_callback_1() to enumerate fonts.
4042 font_enum_callback_1() and _2() moved to objects-msw.c.
4044 * faces.c (complex_vars_of_faces): Make the mswindows default
4045 face font fully specified and provide some fallbacks.
4047 * objects-msw.c: font_enum_callback_1() and _2() moved here
4048 from objects-msw.c. Obtain the enumerated font's character
4049 sets by table lookup instead of using the locale-specific
4050 string provided by Windows.
4052 New public non-method mswindows_enumerate_fonts() that fills
4053 in the supplied mswindows device's font list.
4055 mswindows_initialize_font_instance: Use the supplied name
4056 variable instead of f->name when signalling errors. Match font
4057 weights and character sets using lookup tables which handle
4058 spaces instead of by frobbing.
4060 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4062 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4063 on the size of code fragments passed to run_in_other_process.
4065 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4066 the amount of memory to allocate in the other process.
4068 Removed sigkill_code_end(), sigint_code_end() and
4069 sig_enable_code_end() since they are now redundant.
4071 send_signal() and enable_child_signals(): Don't try to work
4072 out the end of the code fragments passed to
4073 run_in_other_process()
4075 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4077 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4080 * src/unexelf.c: Partially synched with FSF's 20.3.
4082 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4084 * insdel.c (signal_after_change): Map across indirect buffers
4085 here, and not in the upper-level functions.
4086 (signal_first_change): Don't check for Armageddon.
4087 (signal_before_change): Map across indirect buffers here.
4088 (prepare_to_modify_buffer): ...and here.
4090 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4092 * insdel.c (signal_after_change): Add return value.
4093 (buffer_insert_string_1): Use it.
4094 (buffer_delete_range): Ditto.
4095 (buffer_replace_char): Ditto.
4096 (cancel_multiple_change): Map the indirect buffers.
4098 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4100 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4101 (uninit_buffer_text): Ditto.
4103 * buffer.c (Fmake_indirect_buffer): Implement stricter
4106 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4108 * insdel.c (change_function_restore): Reverse order of
4109 function-call and assignment.
4110 (first_change_hook_restore): Ditto.
4112 * extents.c (mark_extent_auxiliary): Mark them.
4113 (Fset_extent_property): Set them.
4114 (Fextent_property): Get them.
4115 (Fextent_properties): Ditto.
4116 (vars_of_extents): Set their default.
4118 * extents.h (struct extent_auxiliary): Add before_change_functions
4119 and after_change_functions.
4121 * insdel.c (signal_before_change): Use it.
4122 (signal_after_change): Ditto.
4124 * extents.c (report_extent_modification): New function.
4126 * insdel.c (signal_before_change): Don't check for Armageddon.
4127 (signal_after_change): Ditto.
4129 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4131 * redisplay.c (redisplay_window): make sure a new starting point
4132 is chosen if it somehow got moved from the beginning of the line
4133 -- this can happen because Fwiden was called recently.
4135 * window.c (Fset_window_start): set start_at_line_beg correctly
4136 (Fset_window_buffer): Ditto
4138 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4140 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4141 (uninit_buffer_text): Ditto.
4143 * buffer.c (Fmake_indirect_buffer): Implement stricter
4146 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4148 * emacs.c (main_1): Removed references to *vars_of_filelock.
4150 * lisp.h: Added Fsystem_name.
4152 * filelock.c: Replaced by version from FSF 20.2. Now implements
4153 locking by using symlinks which is NFS safe. However keep the
4154 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4155 version (and of course use ansi C, acessor macros, etc).
4157 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4159 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4160 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4161 in init_signals_very_early. However these should not be passed
4162 on to children attached to the new pty.
4164 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4166 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4168 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4170 * fileio.c (file-name-directory, file_name_as_directory):
4171 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4173 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4175 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4177 * ralloc.c: uncomment __morecore.
4179 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4181 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4182 WriteFile() to fix a winsock 1.x bug on Win95.
4184 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4186 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4188 (x_event_to_emacs_event): Ditto.
4189 (emacs_Xt_handle_focus_event): Ditto.
4190 (emacs_Xt_handle_magic_event): Ditto.
4192 * console-x.h (struct x_device): New flag being_deleted.
4193 (DEVICE_X_BEING_DELETED): New macro.
4195 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4196 returning. Before doing that, set the being_deleted flag on the
4199 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4201 * device-x.c (x-seppuku-on-epipe): Removed.
4203 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4205 * frame-x.c (x_delete_frame): Flush the X output buffer after
4206 calling XtDestroyWidget to ensure that the windows are really
4209 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4211 * menubar-x.c (my_run_hook): New unused function.
4212 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4213 since we ignore the results of the contained functions anyway.
4215 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4217 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4218 interlaced GIF files that are smaller than 4 lines high...
4220 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4222 * buffer.c (map_over_sharing_buffers): Deleted.
4224 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4226 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4229 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4231 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4233 (buffer_delete_range): Ditto.
4235 * marker.c (init_buffer_markers): Set point-marker to the value of
4236 point in an indirect buffer.
4238 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4240 * undo.c (undo_prelude): Test last-undo-buffer against base
4243 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4245 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4247 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4249 * insdel.c (init_buffer_text): Initialize it here.
4251 * line-number.c: Address line_number_cache through buffer->text.
4253 * buffer.c (mark_buffer): Mark line number cache.
4255 * bufslots.h (line_number_cache): Move to struct buffer_text.
4257 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4258 across the children buffers.
4259 (buffer_delete_range): Ditto.
4260 (buffer_replace_char): Ditto.
4264 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4266 * buffer.c (Fmake_indirect_buffer): Uncomment.
4268 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4270 * macros.c (Fend_kbd_macro): Remove trailing period from error
4272 (Fexecute_kbd_macro): Ditto.
4274 1998-08-21 Greg Klanderman <greg@alphatech.com>
4276 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4277 (Fuser_name_completion_1): new function to return uniqueness
4278 indication in addition to the user name completion.
4279 (user_name_completion): change type of `uniq' argument.
4281 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4283 * lread.c (vars_of_lread): Removed `source-directory' variable.
4285 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4287 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4290 1998-08-19 SL Baur <steve@altair.xemacs.org>
4292 * dired.c (vars_of_dired): Fix misapplied patch.
4294 1998-08-16 Martin Buchholz <martin@xemacs.org>
4296 * fns.c (Fremrassq, remrassq_no_quit):
4297 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4299 1998-07-17 Didier Verna <verna@inf.enst.fr>
4301 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4302 style as foreground GC for faces that have the `dim' property.
4303 (x_output_string): when the `dim' face property is set,
4304 ensure the gray pixmap has been created, and get a proper
4305 foreground GC to draw the text.
4307 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4309 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4310 Manually track the state of the left and right Ctrl and Alt
4313 1998-08-07 Matt Stupple <matts@tibco.com>
4315 * ntproc.c: don't wait on char_consumed at thread entry.
4316 Additionally, to get the 'process' marked as finished, ensure
4317 that the CHILD_ACTIVE macro returns false, so before exiting
4318 close char_avail and set it to NULL, and close other handles
4319 to reduce handle leak problems.
4321 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4323 * menubar-msw.c (displayable_menu_item): take account of menu
4324 depth when deciding whether to try to display accelerators.
4326 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4328 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4331 * glyphs-msw.c: fix a couple of potential handle leaks.
4333 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4335 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4336 *decoding ONLY* back into the core.
4337 * glyphs-eimage.c: Change referenced header file for GIF
4338 reading to point to the incore version.
4340 1998-07-20 Martin Buchholz <martin@xemacs.org>
4342 * casefiddle.c (casify_object):
4343 Change algorithm from O(N**2) to O(N).
4347 1998-07-22 Greg Klanderman <greg@alphatech.com>
4349 * dired.c (file_name_completion_unwind): don't leak the cons.
4351 1998-07-20 Greg Klanderman <greg@alphatech.com>
4353 * dired.c (Fuser_name_completion): new function.
4354 (Fuser_name_all_completions): new function.
4355 (user_name_completion): new function.
4356 (syms_of_dired): 2 new DEFSUBRs.
4357 (vars_of_dired): initialize user name cache vars.
4359 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4361 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4362 colors taken from the default face. Also correct a thinko in
4363 transparency (not alpha) handling.
4365 1998-07-23 Martin Buchholz <martin@xemacs.org>
4367 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4368 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4369 * lread.c (Fload_internal): Be very careful with printfs of
4371 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4374 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4376 * callint.c (Fcall_interactively): GCPRO prompt string before
4377 passing it to Fread_key_sequence
4379 1998-07-27 SL Baur <steve@altair.xemacs.org>
4381 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4382 Vvertical_divider_map.
4384 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4385 Qnil or 0, none were initialized prior to this change.
4387 Rename misnamed `V' prefixed integer variables:
4388 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4389 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4390 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4391 Vcanna_ichiran_revLen.
4393 Rename misnamed `V' prefixed integer variables and initialize
4394 properly in the vars_of routine.
4395 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4396 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4397 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4398 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4399 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4400 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4401 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4402 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4403 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4404 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4405 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4406 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4407 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4408 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4409 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4410 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4411 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4412 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4413 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4414 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4415 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4416 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4417 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4418 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4419 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4420 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4421 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4422 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4423 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4424 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4425 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4426 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4427 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4428 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4429 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4430 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4431 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4432 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4433 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4434 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4435 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4436 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4437 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4438 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4439 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4440 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4442 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4444 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4445 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4446 keys thus no longer considering all keysyms on a key.
4448 1998-07-19 SL Baur <steve@altair.xemacs.org>
4450 * XEmacs 21.2-beta1 is released.
4452 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4454 * eldap.c (Fldap_search_internal): When converting the list of
4455 attributes to search Copy the final 0 from Lisp strings to C
4457 Check base, not Vldap_default_base as a a string
4459 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4461 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4463 * unexnt.c: Unconditionally define bss_start and bss_size, and
4464 ensure that they don't go in the .bss section.
4466 1998-07-17 Olivier Galibert <galibert@pobox.com>
4468 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4469 byte order is dependant of the local byte order).
4470 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4472 1998-07-18 SL Baur <steve@altair.xemacs.org>
4474 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4475 Qmswindows_resource.
4476 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4478 1998-07-12 SL Baur <steve@altair.xemacs.org>
4480 * general.c (syms_of_general): Add defsymbol for Qresource.
4482 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4483 Qmswindows_resource.
4484 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4485 (mswindows_resource_validate): Rename.
4486 (mswindows_resource_normalize): Rename.
4487 (mswindows_resource_possible_dest_types): Rename.
4488 (mswindows_resource_instantiate): Rename.
4489 (image_instantiator_format_create_glyphs_mswindows): Replace
4490 `resource' with `mswindows.resource'.
4492 * XEmacs 21.0-pre5 is released.
4494 1998-07-10 SL Baur <steve@altair.xemacs.org>
4496 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4497 server type in environment.
4498 Use alloca-ed strings instead of tiny fixed size ones.
4500 1998-07-09 SL Baur <steve@altair.xemacs.org>
4502 * XEmacs 21.0-pre4 is released.
4504 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4506 * fileio.c: (expand_file_name): under win32: Don't treat names
4507 as UNC names if a drive letter has been specified. If a drive
4508 has been specified, strip out extra directory-seperators that
4509 reportedly cause problems under Win95.
4511 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4513 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4514 MSVC >= 5.0. Put emacs init and zero-init data in a special
4515 section of the executable when this is defined.
4517 * unexnt.c, ntheap.h:
4518 Removed unused find_section() and get_section_size().
4521 Fix up the executable's checksum after dumping otherwise the
4523 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4524 zero-init data separately from init data. Dump emacs data
4525 into a special section of the executable.
4526 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4527 my_ebss instead of up to the end of bss.
4529 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4531 * filelock.c: Removed Vconfigure_lock_directory - already
4534 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4535 defined in frame.c and general.c respectively.
4537 * glyphs-msw.c: Removed Qresource - already defined in
4540 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4542 * eldap.c (Fldap_search_internal): Docstring fixes
4544 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4546 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4547 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4548 EMACSPACKAGEPATH and INFOPATH variables.
4549 Removed unused get_emacs_configuration function.
4551 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4552 it is now defined at build-time by the makefile.
4554 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4556 * fileio.c: (expand_file_name): under win32: Don't treat names as
4557 UNC names if a drive letter has been specified. If a drive has
4558 been specified, strip out extra directory-seperators that
4559 reportedly cause problems under Win95.
4561 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4563 * faces.c (complex_vars_of_faces): for the gui-element face don't
4564 fallback to the default face, instead provide reasonable default
4565 fallbacks that were previously hardcoded elsewhere.
4567 1998-07-06 Olivier Galibert <galibert@pobox.com>
4569 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4570 when the X server endianness is different than the client's one.
4572 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4574 * eval.c (run_hook_with_args_in_buffer): Check
4575 default (non-buffer-local) value of hook for
4576 nil before treating it as a function. Don't initialize
4577 the `globals' variable twice.
4579 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4581 * fileio.c: Don't do directory seperator canonicalisation in
4582 substitute-in-file-name because we don't know that the
4583 filename refers to a local file.
4585 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4587 * process-nt.c (nt_create_process): Try appending the standard
4588 executable file extensions to the filename if none supplied.
4590 1998-06-29 SL Baur <steve@altair.xemacs.org>
4592 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4594 From Keisuke Mori <ksk@ntts.com>
4596 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4598 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4599 images if we have masks. This handles the xbm case (have masks)
4600 and avoids overuse of resources in the xpm case (generally no masks).
4601 Don't output small toolbars.
4603 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4605 * eval.c (run_hook_with_args_in_buffer): Don't treat
4606 the default value of a buffer local hook as a list of
4607 hooks unless it is both a cons and the car of that cons
4610 1998-06-29 SL Baur <steve@altair.xemacs.org>
4612 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4613 * process-unix.c: Ditto.
4614 * mule-coding.h: Ditto.
4615 * mule-coding.c: Ditto.
4616 * mule-charset.c: Ditto.
4617 * mule-charset.h: Ditto.
4618 * file-coding.c: Ditto.
4619 * file-coding.h: Ditto.
4621 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4623 * event-msw.c: Guard against recursion when freeing
4624 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4626 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4627 Call ShowWindow twice in init_frame_3 to get round runemacs
4630 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4632 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4634 * winslots.h: Rename.
4636 * window.c (specifier_vars_of_window): Renamed
4637 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4638 as suggested by Ben Wing.
4639 (specifier_vars_of_window): Fix docstrings.
4641 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4643 * unexaix.c: Line number information works correctly again.
4645 1998-06-22 Olivier Galibert <galibert@pobox.com>
4647 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4649 1998-06-21 Martin Buchholz <martin@xemacs.org>
4651 * editfns.c (get_home_directory): ANSIfy.
4652 XEmacs is compilable under C *and* C++.
4653 It's XEmacs, not Xemacs!
4655 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4657 * console-msw.h: added a list of fonts to device data.
4659 * device-msw.c: enumerate list of available fonts in
4660 mswindows_init_device. Free list in mswindows_delete_device.
4662 * objects-msw.c: Added helper function match_font used by
4663 mswindows_initialize_font_instance and mswindows_list_fonts.
4664 Allow a charset to be specified in a font string, even if
4665 previous fields havn't been specified.
4667 1998-06-23 Greg Klanderman <greg@alphatech.com>
4669 * indent.c (column_at_point): column cache bugfix.
4670 Set last_known_column_point to the buffer position for
4671 which the column was requested, not buffer's point.
4673 * redisplay.c (decode_mode_spec): for current-column, show
4674 window's point's column, not buffer's point's column.
4676 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4678 * menubar-msw.c (mswindows_handle_wm_command): use
4679 enqueue_misc_user event rather than
4680 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4683 * console-msw.h: declare mswindows_enqueue_magic_event.
4685 * event-msw.c (mswindows_enqueue_magic_event): make global.
4687 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4689 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4690 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4691 (add_position_to_cache): Use EMACS_INT instead of int.
4693 1998-06-21 Olivier Galibert <galibert@pobox.com>
4695 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4696 suitable for an int used as a boolean (btw, C sucks.).
4698 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4700 * object-msw.c: remove warnings.
4702 * device-msw.c: #define wrongly named cygwin structure elements.
4704 * s/cygwin32.h: define DEMI_BOLD
4706 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4708 * redisplay-msw.c: new function mswindows_apply_face_effects.
4709 This is called by output_string and output_cursor to display
4710 underline and strikeout on faces.
4712 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4714 * console-msw.h: added a list of fonts to device data.
4716 * device-msw.c: enumerate list of available fonts in
4717 mswindows_init_device. Free list in mswindows_delete_device.
4719 * objects-msw.c: Added helper function match_font used by
4720 mswindows_initialize_font_instance and mswindows_list_fonts.
4721 Allow a charset to be specified in a font string, even if
4722 previous fields havn't been specified.
4724 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4727 Removed compilation warnings from mswindows_string_to_color.
4728 mswindows_list_fonts returns a more general bogus font.
4729 New lisp-visible function mswindows-color-list.
4731 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4733 * editfns.c (Fuser_login_name): Modify to user new function
4735 (user_login_name): C only function to avoid Lisp object overhead
4736 Returns "unknown" instead of nil in Cygwin environment
4738 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4739 equivalent for current user in Cygwin environment. Use new
4740 function user_login_name to get username.
4742 * lisp.h: Declare user_login_name
4744 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4746 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4748 Some other insignificant nitpicks.
4750 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4752 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4753 creating the image list and make sure he bk color is transparent.
4755 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4757 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4758 completed_timeouts. The timer could have expired.
4760 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4762 * console-msw.h: move XEMACS_RECT_WH inside frame
4763 parameters. define macors to access it.
4765 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4766 parameter to intialise desired sizing. (mswindows_init_frame_2):
4767 enable and size the frame to something sensible when we get
4768 here. (mswindows_set_frame_properites): use new
4769 mswindows_size_frame_internal function and size frame if frame
4770 parameters not just if init is finished - WM_SIZE happens too
4771 early for some specs. (mswindows_size_frame_internal): new
4772 function abstracted from mswindows_set_frame_properties.
4773 (Vmswindows_use_system_frame_size_defaults):
4774 new variable controls whether to allow the system to pick frame
4775 size defaults, defaults to nil.
4777 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4778 than duplicated code.
4780 1998-06-15 Colin Rafferty <colin@xemacs.org>
4782 * Makefile.in.in: Made EXTW_LINK expand properly.
4784 1998-06-12 Martin Buchholz <martin@xemacs.org>
4786 * redisplay.c (vars_of_redisplay): default value of
4787 column-number-start-at-one should be NIL!
4789 1998-06-11 Martin Buchholz <martin@xemacs.org>
4792 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4794 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4796 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4797 build_string to avoid crashes under Mule.
4799 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4801 * ntplay.c (play_sound_data_1): don't delete the sound data until
4802 the next sound is played and the previous one finished.
4804 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4806 * fileio.c (directory-sep-char): Escape backslashes.
4808 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4810 * event-stream.c: Fix docstring reference.
4812 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4814 * alloc.c (make_float): Remove useless initialization of `next'
4816 (make_pure_float): Ditto.
4818 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4820 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4822 * fileio.c (Fmake_directory_internal): Remove conditionals
4823 on WINDOWSNT when calling mkdir.
4825 * ntproc.c: Deleted the following unused functions:
4826 register_child, reap_subprocess, sys_wait.
4828 * nt.c (sys_rename): Ifzeroed this implementation.
4829 Deleted the following unused functions:
4830 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4831 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4832 sys_read, sys_write.
4833 Merger sys_fopen and sys_open with sysdep.c implementation.
4835 * sysdep.c: Removed MS-DOS code.
4836 (sys_rename): Deal with Microsoft rename weirdness.
4837 (sys_open): Implemented for Windows.
4841 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4843 * buffer.c (complex_vars_of_buffer): Removed %t description from
4846 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4848 * scrollbar-msw.c: initialize the cbSize element of the
4849 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4850 to ignore the value of cbSize, but Win95 (and I presume Win98)
4851 appear to want it set to sizeof(SCROLLINFO).
4853 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4855 * event-stream.c: Defined Qcancel_mode_internal.
4856 (syms_of_event_stream): defsymbol'ed it.
4858 * events.h: Externed it.
4860 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4862 1998-06-04 Oliver Graf <ograf@fga.de>
4864 * frame-x.c (x_cde_destroy_callback): free the data
4865 (cde-start-drag-internal) corrected root position, 21.1 needs this
4866 hardcoded in Button events
4867 (offix-start-drag-internal) corrected root position
4869 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4871 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4874 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4876 * dialog-msw.c (button_width): Removed `inline' from the function
4879 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4881 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4882 Note that adding this flag to subsequent frames causes problems.
4884 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4886 * glyphs-eimage.c (png_instantiate) move 'struct
4887 png_memory_storage tbr' out of nested block to avoid dangling
4890 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4893 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4894 inherits from gui-element.
4896 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4897 with existing code, generate masks correctly.
4899 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4901 * glyphs-eimage.c: Changed included header for gifs to use
4902 Gifreader instead of giflib.
4904 * glyphs-x.c: removed the image-related functions that were
4905 moved into glyphs-eimage.
4907 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4909 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4910 if built without X Windows support.
4912 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4914 * fns.c (Fconcat): Synch docstring with new reality.
4916 1998-06-03 SL Baur <steve@altair.xemacs.org>
4918 * frame.c: Remove reference to msdos.h (which is going away).
4919 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4921 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4923 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4927 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4929 * events.h: Fixed commentary about misc-user scrollbar events.
4931 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4932 object as an event channel, instead of window object.
4933 (x_update_horizontal_scrollbar_callback): Ditto.
4935 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4937 * ntplay.c (play_sound_data_1) new function. convert alloca data
4938 to malloc if necessary.
4939 (play_sound_file): if the file is not in our path then convert to
4942 1998-06-01 SL Baur <steve@altair.xemacs.org>
4944 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4945 * msdos.c (Frecent_doskeys): Ditto.
4947 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4948 Suggested by Reggie Perry <perry@zso.dec.com>
4950 * buffer.h: Eliminate size in declaration.
4952 1998-06-01 Olivier Galibert <galibert@pobox.com>
4954 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4956 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4958 * gui.c (gui_item_init): Changed the default value for config member
4959 from Qunbound to Qnil.
4961 1998-06-01 Greg Klanderman <greg@alphatech.com>
4963 * indent.c (vmotion_pixels): Don't #define abs().
4965 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4967 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4970 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4972 * glyphs.h: add xbm declarations.
4974 * console.h: add xbm_instantiate_method device method.
4976 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4977 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4978 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4979 locate_pixmap_file device method and read_bitmap_data_from_file
4980 instead of XmuReadBitmapDataFromFile.
4981 (xbm_instatntiate): make a device method.
4983 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4984 new function that just calls XmuReadBitmapDataFromFile.
4985 (x_xbm_instatntiate): device method from xbm_instantiate.
4987 * glyphs-msw.c (read_bitmap_data) (NextInt)
4988 (read_bitmap_data_from_file): new functions copied from Xmu
4990 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4991 inline data to an mswindows bitmap.
4992 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4993 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4996 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4998 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4999 `modeline-visible-p'.
5000 Declared specifier lisp variables at the beginning oh the file
5003 * procimpl.h (struct process_methods): Changed semantics of
5004 create_process method so it accepts lisp strings instead of
5007 * process.c (Fstart_process_internal): Moved building of
5008 unix style argv from here to process-unix.c, ...
5010 * process-unix.c (unix_create_process): ... right here.
5012 * process-nt.c (nt_create_process): Changed this function to
5013 support new semantics, so avoided a GC problem.
5015 * events.c (Fmake_event): Document misc-user events properties.
5016 (Fmake_event): Do not allow arbitrary objects for channel property
5017 of misc-user events.
5018 (Fmake_event): Change misc-user event validation: it is function
5019 which is required, not button.
5021 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5023 (mswindows_enqueue_misc_user_event): Added function.
5024 (mswindows_bump_queue): Removed function.
5025 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5026 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5027 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5028 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5029 really nothing, which is my personal favorite thing.
5031 * console-msw.h: Removed prototype for mswindows_bump_queue().
5032 Added prototype for mswindows_enqueue_misc_user_event().
5034 * menubar-msw.c (mswindows_handle_wm_command): Use
5035 mswindows_enqueue_misc_user_event().
5037 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5039 * dialog-msw.c (dialog_proc): Ditto.
5041 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5042 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5043 user events channel.
5045 1998-05-29 Greg Klanderman <greg@alphatech.com>
5047 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5048 incorrect semantics of vmotion_pixels which has been fixed. don't
5049 use it anymore as it can't easily be used.
5051 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5052 the motion was reported incorrectly if you tried to go past end of
5055 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5057 * toolbar.h: Removed misleading commentary, as Martin suggested.
5059 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5061 * lisp.h: Extern Qactivate_menubar_hook.
5063 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5066 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5068 * glyphs-msw.c: use BPLINE macro.
5070 * select-msw.c (mswindows-selection-exists-p)
5071 (mswindows-delete-selection): doc string fixes.
5073 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5074 unpressable. warning elimination.
5076 1998-05-28 Martin Buchholz <martin@xemacs.org>
5078 * alloc.c (dbg_constants):
5081 Remove toolbar_data debugging code, since that lrecord has
5084 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5086 * alloc.c: zap cached value of (user-home-directory), so that
5089 * buffer.c: From init_buffer(), separated out code that
5090 determined the initial directory for the *scratch* buffer, and
5091 put them into a function called "init_initial_directory()".
5092 The initial directory is now available as a global "char *"
5093 called initial_directory.
5095 * buffer.h: Added extern entries for initial_directory[] and
5096 init_initial_directory().
5098 * editfns.c: added new elisp function "user-home-directory",
5099 which basically returns getenv("HOME"), but attempts to use
5100 other values if $HOME isn't set.This may have to be tweaked in
5101 the future as, under Unix, "/" is used if $HOME isn't set (this
5102 probably should be set to the current directory). To support
5103 this, a new C function, "get_home_directory()", now exists,
5104 which returns the "home directory", as a "char *" string.
5106 * emacs.c: Rearrange NT initialization order so that
5107 environment/registry variables will be properly entered into
5108 Vprocess_enviroment.
5110 * fileio.c: replaced egetenv("HOME") with calls to the new
5111 get_home_directory().
5113 * lisp.h: Added function prototypes for uncache_home_directory()
5114 and get_home_directory(), along with lisp prototypes for
5115 Fuser_home_directory() and friends.
5117 * nt.c: replaced getenv("HOME") with calls to the new
5118 get_home_directory().
5120 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5121 warnings about getcwd(), etc. not having prototypes.
5123 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5125 * process-nt.c (send_signal): Emulate SIGHUP.
5126 (validate_signal_number): Ditto.
5128 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5129 remove MOD_SHIFT from ASCII characters.
5130 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5133 1998-05-24 Oliver Graf <ograf@fga.de>
5135 * frame-x.c (cde-start-drag-internal): added filename and multi-
5137 (x_cde_convert_callback) dito
5139 1998-05-26 Oliver Graf <ograf@fga.de>
5141 * frame-x.c: include event-mod.h also with CDE
5142 (x_cde_convert_callback) made the thing working
5143 (cde-start-drag-internal) also debugging
5145 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5152 - add __OpenBSD__ where __NetBSD__ was found.
5153 - TODO: replace platform-specific conditional compilation by
5154 feature tests in configure.in.
5156 1998-05-15 Greg Klanderman <greg@alphatech.com>
5158 * window.c (Fwindow_displayed_text_pixel_height): New function.
5159 (syms_of_window): DEFSUBR it.
5161 * indent.c (Fvertical_motion_pixels): New function - request
5163 (vmotion_pixels): helper.
5164 (syms_of_indent): DEFSUBR.
5165 * lisp.h: declaration for vmotion_pixels().
5167 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5168 to request returning motion in pixels.
5169 (Fvertical_motion_pixels): Remove, functionality merged into
5171 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5172 (Fmove_to_window_line): ditto.
5173 * lisp.h: Change declaration for Fvertical_motion.
5175 * window.c: rename window-text-pixel-{height,width,edges} to
5176 window-text-area-pixel-*.
5178 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5180 * tooltalk.c (vars_of_tooltalk) added staticpro for
5181 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5183 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5185 * faces.c: create a new 3d_object_face, make modeline and
5186 vertical_divider faces fallback to this rather than the default.
5188 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5190 * s/cygwin32.h: define charsets for cygwin.
5192 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5194 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5195 and coordinates. resize bitmaps if we have already settled on a
5198 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5200 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5202 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5204 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5208 * gui-x.c (popup_selection_callback): Ditto.
5210 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5212 * gui.c (get_callback): Renamed to get_gui_callback.
5214 1998-05-17 Martin Buchholz <martin@xemacs.org>
5216 * glyphs.h: order rearrangement.
5218 * device-tty.c (tty_asynch_device_change): Warning suppression.
5219 * device-x.c (x_device_system_metrics): Warning suppression.
5220 Make Doc strings consistent with coding standards.
5222 1998-05-24 Martin Buchholz <martin@xemacs.org>
5224 * general.c: multiple definition of `Qicon'. general.c seems
5225 like a good home for Qicon.
5227 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5229 * This patch is to fix compilation warnings under Windows.
5231 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5232 Added prototypes for FSF inherited functions, with which XEmacs is
5233 sprinkled thoroughly.
5234 Removed some #if 0 code. Bracketed some more definitions, probably
5235 related to Visual C versions prior to 4 (we do not support them).
5237 * sysfloat.h (logb): Finally, get logb() prototyped.
5239 * sysfile.h: Added Windows specific includes.
5240 Removed old Windows specific code bracketed with #if 0.
5242 * sysdep.h: Added prototype for xrealpath().
5244 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5246 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5247 vars_of_dired_mswindows and init_ntproc (Grrr).
5249 * realpath.c: Added Windows specific include files.
5250 (xrealpath): Conditionalized declaration of some auto variables on
5251 S_IFLNK, to avoid warnings.
5253 * ntproc.c: Disabled some compiler warnings. This file is going to
5254 die, so I have not cleaned it up much.
5255 (set_process_dir): Const parameter.
5256 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5257 (Fwin32_long_file_name): Ditto.
5258 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5261 * nt.h: Added prototypes for set_process_dir and convert_time.
5263 * nt.c: More include files.
5264 (getpwnam): Consted char* argument.
5265 (get_emacs_configuration): Const return value.
5266 (opendir): Const argument.
5267 (stat): Casted converstion long->short.
5268 (stat): Removed ad hoc and questionable support for non-MSC compile.
5269 (sys_pipe): Removed unused auto variable.
5270 (_sys_read_ahead): Removed calls to DebPrint.
5271 (sys_read): Ditto, in 2 places.
5272 (term_ntproc): Added unused int parameter to signal handler, to
5273 avoid a warning when compiling a call to signal().
5274 (msw_sigset): Properly return old signandler or NULL instead of void.
5276 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5278 * gmalloc.c (morecore): Ditto.
5279 (_free_internal): Ditto.
5281 * lread.c (parse_integer): Ditto.
5283 * dired-msw.c: Added several include files.
5285 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5286 of Compilers to Shut Up.
5288 * callproc.c: Added #includes to suppress warnings under Windows.
5289 (init_callproc): Removed #if0'ed code and unused variables.
5291 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5293 * device-msw.c (mswindows_device_system_metrics): do planes in a
5294 way consistent with X.
5296 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5297 use SetPixel, use DIBits functions.
5298 (xpm_to_eimage): frob colors more closely like xpm deos.
5300 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5301 to be closer to X version.
5303 * event-msw.c: use tooltip string directly.
5305 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5307 * objects-msw.c: frob rgb colors that only Kyle uses.
5309 * dialog-msw.c (button_width): INLINE -> inline.
5311 1998-05-23 SL Baur <steve@altair.xemacs.org>
5313 * getloadavg.c (getloadavg): Fix typo.
5315 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5317 * objects-msw.c (mswindows_initialize_font_instance): Added support
5318 for font character sets.
5319 Replaced 'XXX' with '####' in comments throughout the file.
5321 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5323 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5324 console_type_create_dialog_mswindows(), to initialize Windows dialog
5327 * symsinit.h: Prototyped the above functions.
5329 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5330 checks to dialog.c...
5332 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5333 device must support dialog boxes, and the descriptor must supply at
5336 * dialog-msw.c: New file, dialogs for Windows.
5338 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5340 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5341 (Fldap_search_internal): Removed unused variable `err'
5343 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5346 1998-05-17 Martin Buchholz <martin@xemacs.org>
5348 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5349 defined. Therefore there is no need to handle the case when
5350 HAVE_LDAP is undefined. Similarily, there is no reason to have
5351 any code wrapped within `#ifdef emacs', since this code is only
5352 useful within an emacs. This simplifies the code significantly.
5354 * inline.c: Include eldap.h only if HAVE_LDAP.
5355 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5358 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5360 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5361 printing dump stats when building without DEBUG_XEMACS.
5362 (dump_bss_and_heap): Ditto.
5364 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5366 * gnuclient.c: don't suppress window system if there is no display
5367 and we are running under mswindows. send 'mswindows device type if
5368 we are in this situation.
5370 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5373 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5375 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5378 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5380 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5381 {top,bottom}-{left,right} values in addition to
5382 {top,bottom}_{left,right}.
5384 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5386 * fileio.c (Fmake_temp_name): Remove unreached code.
5388 * process-nt.c (validate_signal_number): Use
5389 signal_simple_error().
5391 1998-05-19 Martin Buchholz <martin@xemacs.org>
5394 * sound.c (vars_of_sound):
5395 * sysdep.c (reset_sigio_on_device):
5396 * window.c (window_bottom_gutter_height):
5397 unexhp9k800.c:258: warning: implicit declaration of function
5398 `calculate_checksum'
5399 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5400 sysdep.c:1012: warning: unused variable `owner'
5401 window.c:993: warning: `window_right_toolbar_width' defined but not used
5403 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5405 * glyphs-msw.c (mswindows_create_resized_mask)
5406 (mswindows_create_resized_bitmap): new funnctions split out from
5407 mswindows_resize_dibitmap_instance.
5409 * glyphs-msw.h: declare new resize functions.
5411 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5412 functions so that the original bitmaps are preserved.
5414 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5416 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5417 color if we are trying to output 0 depth bg pixmap.
5419 * scrollbar-msw.c: warning elimination.
5421 1998-05-18 Martin Buchholz <martin@xemacs.org>
5423 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5424 directives in column 1.
5426 * search.c (skip_chars): Avoid using xzero with arrays, since some
5427 compilers get confused by the construct &array.
5429 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5432 * objects-msw.c: Changed the charset value for a new font from
5433 "don't care" to "ansi".
5435 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5437 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5439 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5440 modifier on control chars.
5441 Use IsCharAlpha() instead of isaplha().
5443 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5445 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5447 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5449 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5450 charset when creating font.
5451 (mswindows_initialize_color_instance): Do not create brush along
5453 (mswindows_finalize_color_instance): Do not delete it then.
5455 * objects-msw.h (struct mswindows_color_instance_data): Removed
5456 brush slot, and corresponding accessor macro.
5458 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5460 * toolbar.c: Removed toolbar_data lrecord implementation.
5461 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5462 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5463 (compute_frame_toolbar_buttons): Ditto.
5464 (CHECK_TOOLBAR): Ditto.
5465 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5466 (update_frame_toolbars): Do not check for changed buffer
5467 here. Toolbar information is provided by cached specs in
5468 windows. The check for buffer is eliminated becuase toolbars are
5469 marked changed in set_frame_selected_window() in frame.c
5470 Added check for changed toolbars geometry.
5471 (compute_frame_toolbars_data): Removed unused second parameter;
5472 Adjusted callers of this static function throughout the file.
5473 (init_frame_toolbars): Initialize current_toolbar_size.
5474 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5475 what is its current expansion, for clarity.
5476 (init_frame_toolbars): Ditto.
5477 (init_device_toolbars): Ditto.
5478 (init_global_toolbars): Ditto.
5480 * toolbar.h: Removed definition of toolbar_data lrecord.
5481 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5482 FRAME_CURRENT_TOOLBAR_SIZE.
5483 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5485 * toolbar-x.c (x_output_toolbar): The same change as in
5487 (x_output_toolbar): Ditto.
5488 (x_redraw_exposed_toolbar): Ditto.
5490 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5491 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5492 (mswindows_output_toolbar): Ditto.
5493 (mswindows_output_toolbar): Ditto.
5495 * frame.c (mark_frame): Removed marking of arrays, according to
5496 frameslots.h change.
5497 (nuke_all_frame_slots): Ditto.
5498 (set_frame_selected_window): Mark toolbars changed when
5499 last_nonminibuf_window changes.
5501 * frame.h (struct frame): Moved some slots to frameslots.h.
5502 Added current_toolbar_size array.
5503 Changed references from toolbar_data to toolbar_buttons in macros
5504 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5505 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5506 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5508 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5509 Moved arrays of lisp objects here from frame.h: toolbar_size,
5510 toolbar_visible_p, toolbar_border_width.
5511 Removed toolbar_data slot and added toolbar_buttons.
5513 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5515 * symsinit.h: Externed syms_of_process_nt()
5517 * emacs.c (main_1): Call syms_of_process_nt()
5519 * process-nt.c: Quote process arguments by a call to Lisp function
5520 `nt-quote-process-args'.
5521 (syms_of_process_nt): New function.
5522 (nt_send_process): Flush data stream after each write, to avoid
5523 leaving buffered data.
5524 (nt_send_process): When blocked on process output, wait for
5525 process to slurp more for progressively increasing time intervals.
5527 1998-05-17 Martin Buchholz <martin@xemacs.org>
5529 * window.c (have_undivided_common_edge): Make file-local function
5531 (map_windows): Return 0 if all map functions successful.
5534 * winslots.h: Use unlikely names for local variables in macros to
5535 avoid shadowing warnings.
5537 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5539 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5540 so that we re-output if the toolbar size has changed.
5542 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5544 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5546 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5548 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5551 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5553 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5554 get bitmap manifest constants defined.
5556 * console-msw.h: Include system files in angle brackets, not in
5559 * window.c (specifier_vars_of_window): Fixed a typo in
5560 `vertical-divider-line-width' docstirng.
5562 1998-05-16 Olivier Galibert <galibert@pobox.com>
5564 * line-number.c (delete_invalidate_line_number_cache): Use an
5566 (buffer_line_number): Remove dangerous, plain wrong when using
5567 64bits emacs ints, cast.
5569 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5571 * cmds.c (Fforward_line): Use EMACS_INTs.
5573 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5574 (scan_buffer): Ditto.
5575 (bi_find_next_newline_no_quit): Remove useless cast.
5576 (find_next_newline_no_quit): Ditto.
5577 (find_next_newline): Ditto.
5578 (find_before_next_newline): Use an EMACS_INT.
5580 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5582 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5584 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5586 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5588 * gui-x.c (popup_selection_callback): Use it.
5590 * gui.h (get_callback): Declare it.
5592 * gui.c (get_callback): New function.
5594 1998-05-15 SL Baur <steve@altair.xemacs.org>
5596 * window.c (have_undivided_common_edge): Guard scrollbar specific
5598 (window_needs_vertical_divider_1): Ditto.
5600 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5602 * emacs.c (decode_path): Eliminate compiler warning.
5603 (Fdecode_path): Renamed to Fsplit_path.
5604 (Fsplit_string_by_char): New function.
5606 1998-05-14 Damon Lipparelli <lipp@primus.com>
5608 * winslots.h: close comment
5610 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5612 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5614 * bufslots.h: Removed buffer_file_type slot.
5616 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5618 (complex_vars_of_buffer): Removed buffer-file-type variable and
5619 its default reference.
5621 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5623 * faces.c (complex_vars_of_faces): Defined
5624 Vvertical_divider_face.
5625 (vars_of_faces): Staticpro it.
5627 * faces.h: Externed Vvertical_divider_face.
5629 * redisplay-x.c (x_output_vertical_divider): Use
5630 Vvertical_divider_face to draw the divider instead of modeline
5633 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5634 divider face using Vvertical_divider_face background.
5635 Fix drawing spacing gaps around the divider.
5637 1998-05-14 Didier Verna <verna@inf.enst.fr>
5639 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5640 values for the vertical divider line width and spacing. Use the
5641 cached values from the window structure instead.
5642 (x_divider_width): ditto.
5644 * window.c (specifier_vars_of_window): new specifiers:
5645 vertical-divier -line-width and -spacing.
5646 (vertical_divider_global_width_changed): formerly known as
5647 vertical_divider_shadow_thickness_changed.
5649 * winslots.h: new slots: vertical_specifier _line_width and
5650 _spacing. Plus corrected a comment typo.
5652 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5654 * window.h: Declared window_divider_width().
5656 * console-stream.c (stream_divider_width): Removed method.
5657 (console_type_create_stream): And declaration for it.
5659 * redisplay.c (pixel_to_glyph_translation): Use
5660 window_divider_width() instead of divider_width redisplay method.
5661 (pixel_to_glyph_translation): Fix top divider edge calculation
5662 when scrollbar is on top.
5664 * window.c (window_divider_width): New function, an outphaser for
5665 divider_width redisplay method.
5666 (window_right_gutter_width): Use it.
5667 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5668 specifiers, set fallback values differently on TTYs, and document
5669 the behavior of these on TTYs in the docstrings.
5671 * scrollbar.c (update_scrollbar_instance): Use
5672 window_divider_width() instead of divider_width redisplay method.
5674 * console.h (struct console_methods): Removed divider_width_method.
5676 * redisplay-tty.c (tty_divider_width): Removed device method.
5677 (console_type_create_redisplay_tty): Removed definition for it.
5678 (tty_output_vertical_divider): Respect the value returned by
5679 window_divider_width thus divider line width specification.
5681 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5682 (console_type_create_redisplay_mswindows): Removed definition for it.
5683 (mswinodws_output_vertical_divider): Respect the value returned by
5684 window_divider_width thus divider line width specification.
5686 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5688 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5690 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5692 * glyphs-msw.c: resource loading implementation.
5693 (cursor_normalize): new function.
5694 (cursor_validate): ditto.
5695 (cursor_instantiate): ditto.
5696 (cursor_name_to_resource): ditto.
5697 (cursor_possible_dest_types): ditto.
5698 (check_valid_symbol): ditto.
5699 (check_valid_string_or_int): ditto.
5701 1998-05-14 Martin Buchholz <martin@xemacs.org>
5703 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5706 * process-unix.c (process_signal_char): Use VSUSP instead of
5707 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5709 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5711 * specifier.c (specifier_instance): Change locale precedence of
5712 instantiation so window locale has higher priority than buffer
5714 (Fspecifier_instance): Reflect this in docstring.
5715 (Fadd_spec_list_to_specifier): Ditto.
5716 (Fadd_spec_to_specifier): Ditto.
5717 (Fremove_specifier): Ditto.
5719 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5721 ** Dialog separation into a device method from Andy Piper
5723 * emacs.c (main_1): Call console_type_create_dialog_x().
5725 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5726 into this device method.
5727 (console_type_create_dialog_x): New function.
5729 * dialog.c (Fpopup_dialog_box): New function.
5730 (syms_of_dialog): Defsubr it.
5732 * console.h (struct console_methods): Declared
5733 popup_dialog_box_method().
5735 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5737 1998-05-14 Oliver Graf <ograf@fga.de>
5739 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5740 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5742 1998-05-13 Oliver Graf <ograf@fga.de>
5744 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5746 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5748 * console.h (device_metrics): Removed dbcs, input-method-editor
5749 and right-to-left metrics.
5751 * device.c (Fdevice_system_metric): Ditto.
5752 (Fdevice_system_metrics): Ditto.
5753 (syms_of_device): Ditto.
5754 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5757 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5759 * line-number.h (mark_line_number_cache): Remove unused
5762 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5763 (get_nearest_line_number): Simplify.
5764 (add_position_to_cache): Make the old marker point nowhere.
5766 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5768 ** Renamed window-divider-map => vertical-divider-map
5769 and event-over-divider-p => event-over-vertical-divider-p,
5770 in the following files/functions:
5772 * events.c (Fevent_over_divider_p):
5773 * keymap.c (get_relevant_keymaps):
5776 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5778 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5780 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5782 * window.c (vertical_divider_changed_in_window): Renamed so.
5783 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5784 (window_needs_vertical_divider_1): Decide whether we need it based
5785 on the value of the above specifier. If separators are unwanted,
5786 put them only if there's no scrollbar between this window and its
5788 (have_undivided_common_edge): New function, helper for the above.
5789 (window_needs_vertical_divider): Return either a cached value,
5790 or clauclate and cache one.
5791 (invalidate_vertical_divider_cache_in_window): Implemented.
5792 (map_windows): Changed return type to int, return the value from
5795 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5796 (struct window): Added need_vertical_divider_p and
5797 need_vertical_divider_valid_p.
5799 * winslots.h: Added vertical_divider_draggable_p slot.
5801 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5802 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5804 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5806 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5807 invalidate_vertical_divider_cache_in_frame().
5810 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5812 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5814 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5815 masks correctly and don't select 0.
5817 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5819 * winslots.h: New file, declaration of some struct window and
5820 struct saved_window members.
5822 * window.h (struct window): Include it, with required preprocessor
5825 * window.c (mark_window): Ditto.
5826 (allocate_window): Ditto.
5827 (struct saved_window): Ditto.
5828 (mark_window_config): Ditto.
5829 (saved_window_equal): Ditto.
5830 (Fset_window_configuration): Ditto.
5832 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5834 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5836 1998-05-12 Didier Verna <verna@inf.enst.fr>
5838 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5839 the divider line. The shadow thickness is currently
5840 hard-wired. This will probably be turned into a specifier soon.
5842 1998-05-12 Didier Verna <verna@inf.enst.fr>
5844 * console.h (struct console_methods): the divider_width console
5845 method now requires a struct window * argument.
5847 * redisplay-x.c (x_divider_width): ditto. Plus remove
5848 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5849 (x_output_vertical_divider): give a depressed look when the shadow
5850 thickness is negative.
5852 * console-stream.c (stream_divider_width): pass a struct window *
5855 * redisplay-tty.c (tty_divider_width): ditto.
5857 * window.c (window_right_gutter_width): totdi.
5859 * redisplay.c (generate_modeline): ittod.
5861 * scrollbar.c (update_scrollbar_instance): ttido.
5863 * redisplay-msw.c (mswindows_divider_width): ottid.
5864 WARNING: this enables to compile, but the feature is not functional.
5866 * window.h (struct window): new field
5867 vertical_divider_shadow_thickness.
5869 * window.c (specifier_vars_of_window): new specifier
5870 vertical-divider-shadow-thickness.
5871 (vertical_divider_shadow_thickness_changed): new function to
5872 inform redisplay that the window has changed.
5873 (mark_window): handle new field vertical_divider_shadow_thickness
5875 (allocate_window): ditto.
5876 (saved_window_equal): toddi.
5877 (Fset_window_configuration): totid.
5878 (save_window_save): ttdio.
5879 (struct saved_window): new field vertical_divider_shadow_thickness.
5881 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5883 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5886 1998-05-12 Oliver Graf <ograf@fga.de>
5888 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5889 * event-Xt.c (x_event_to_emacs_event): C++ compability
5891 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5893 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5896 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5898 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5901 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5903 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5905 * emacs.c (decode_path_1): New function.
5906 (decode_path): Use it.
5907 (Fdecode_path): Renamed from Fdecode_path_internal; use
5910 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5912 * macros.c (Fzap_last_kbd_macro_event): New function.
5913 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5915 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5917 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5918 multiple bitmaps are output vertically as well as horizontally.
5919 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5920 crossing lines this is handled by
5921 mswindows_output_dibitmap_region.
5923 1998-05-12 Martin Buchholz <martin@xemacs.org>
5925 * inline.c: Include eldap.h
5927 * menubar-x.c (x_update_frame_menubar_internal):
5928 Remove: unused variable `container'
5930 1998-05-11 Martin Buchholz <martin@xemacs.org>
5932 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5933 Unfortunately, the resulting temacs still cannot dump.
5935 * symbols.c (symbol_is_constant):
5936 (verify_ok_for_buffer_local):
5937 -Wswitch Warning suppression - add default case to switches.
5939 * redisplay.c (decode_mode_spec): Remove unused variables,
5940 Replace Fcoding_system_property (codesys, Qmnemonic) with
5941 XCODING_SYSTEM_MNEMONIC (codesys);
5942 Fcoding_system_property is for users.
5948 Change empty docstrings into no doc strings at all.
5949 Fix bogus FSF-format docstrings.
5952 Standardize docstrings.
5955 Explain problems with matherr.
5957 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5960 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5961 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5962 Fix the weird resultant interaction (causes windows problems)
5966 Take new EMACSBOOTSTRAPLOADPATH into account.
5967 Update documentation strings
5970 - Adjust for luser's CDPATH being set to something weird.
5971 - Take into account bash 2.02's tendency to print the cwd when
5972 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5973 - fix the run-temacs target to use $(DUMPENV)
5974 - fix the run-puremacs target to use $(DUMPENV)
5975 - fix the `depend' target to properly $(RM) the right files
5976 - Generate a better TAGS file for XEmacs' lisp code using
5977 hand-crafted regexps.
5978 - Use standard coding conventions for modules/Makefile.in
5980 1998-05-12 Didier Verna <verna@inf.enst.fr>
5982 * redisplay.c: removed the scrolling modeline code that didn't
5983 make it for 21.0. To be continued ...
5985 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5987 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5988 and empty string inputs.
5990 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5992 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5994 1998-05-10 Oliver Graf <ograf@fga.de>
5996 * event-stream.c (enqueue_misc_user_event_pos): created
5997 * lisp.h (enqueue_misc_user_event_pos): prototype added
5998 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5999 * emacs.c: call vars_of_dragdrop
6000 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6002 1998-05-11 Oliver Graf <ograf@fga.de>
6004 * frame-x.c (x_cde_transfer_callback): return at correct pos
6005 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6006 object for MIME (see comment in dragdrop.c)
6007 * dragdrop.c: API change documented in comment
6008 removed provide of dragdrop [is provided by dragdrop.el]
6010 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6012 * window.c (window_needs_vertical_divider): Enable vertical
6013 dividers for every non-rightmost window.
6014 (window_left_gutter_width): Left gutter consists of mythical
6015 toolbar and a virtual scrollbar.
6016 (window_right_gutter_width): The right one may have a divider
6019 * scrollbar.c (update_scrollbar_instance): Position vertical
6020 scrollbar left to divider if the latter present.
6022 * redisplay.h: Declared OVER_DIVIER constant.
6024 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6027 * redisplay-x.c (x_output_vertical_divider): Output divider along
6028 the right side of the window, down to window bottom. Swapped
6029 foreground and background colors so it is visible by default.
6031 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6032 stick the divider to the right window side.
6034 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6036 (mswindows_divider_width): Ask system for user preferred value.
6037 (mswindows_output_vertical_divider): Always output the divider on
6038 the right side of a window, down to bottom.
6040 * keymap.c (get_relevant_keymaps): Route mouse button events which
6041 happened over a window divider through window-divider-map.
6042 (Fkey_binding): Documented that in the docstring.
6043 Defined the variable Vwindow_divider_map.
6045 * events.c (Fevent_over_divider_p): Added this function.
6047 * events.h: EXFUNed it.
6049 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6051 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6052 toolbar geometry is suspected to change.
6054 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6058 Condition dnd and dde code on HAVE_DRAGNDROP.
6060 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6062 * events.c (format_event_object): Print space as SPC etc.
6064 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6066 * print.c (print_internal): In the default case, abort() if
6067 ERROR_CHECK_TYPECHECK.
6069 * fileio.c (Fmake_temp_name): Doc fix.
6071 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6073 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6075 * undo.c (Fprimitive_undo): Fixed typo.
6077 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6079 * fns.c (concat): Signal error on integer argument.
6081 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6083 * console.h (device_metrics): Prefixed each constatnt with DM_
6085 * device.c: (Fdevice_system_metric): Renamed so from plural form
6086 (metrics); Changed parameters order and added DEFAULT parameter;
6087 Unabbreviated some metric constants; Fixed and untabified doc string.
6088 (Fdevice_system_metrics): Added. Returns a plist of all provided
6091 * device-msw.c (mswindows_device_system_metrics): Renamed
6092 device_metrics enum constants.
6093 Return Qunbound instead of Qnil.
6095 * device-tty.c (tty_device_system_metrics): Ditto.
6097 * device-x.c (x_device_system_metrics): Ditto.
6099 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6101 * redisplay-msw.c: implement background pixmaps (really!). Make
6102 sure bg color is transparent if we have bg pmaps.
6103 * (mswindows_output_string) (mswindows_clear_region): output bg
6105 * (mswindows_output_dibitmap_region): new function.
6106 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6107 the bg color rather than transparently.
6109 * toolbar-msw.c: use masks if they exist.
6111 * glyphs-msw.c: set up masks correctly.
6113 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6115 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6117 * regex.c (re_match_2_internal): Check for quit.
6119 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6121 * frame.c (Ffocus_frame): New function.