1 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.h (charset_by_leading_byte): Use
4 `NUM_LEADING_BYTES' instead of 128.
5 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
7 * mule-charset.c (charset_by_leading_byte): Use
8 `NUM_LEADING_BYTES' instead of 128.
9 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
11 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
14 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
16 * mule-charset.c (syms_of_mule_charset): Update to
19 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
21 * file-coding.c (encode_coding_sjis): New implementation for
22 UTF2000. (decode_coding_sjis): Ditto.
24 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
26 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
27 Don't define in UTF2000.
29 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
32 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
33 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
36 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
38 * config.h.in (CHAR_IS_UCS4): New macro.
40 * mule-charset.c (rep_bytes_by_first_byte): Modify for
41 conventional MULE representation.
42 (syms_of_mule_charset): Update to 0.3 (Imamiya).
44 * mule-charset.h: Reverted to original.
46 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
47 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
48 "mule-charset.h" if CHAR_IS_UCS4 is defined.
50 * character.h: New file.
52 * file-coding.c (Fmake_coding_system): Set 1 to
53 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
55 (encode_coding_no_conversion): New implementation for UTF2000.
57 * file-coding.h (struct Lisp_Coding_System): Add new member
60 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
62 * file-coding.c (decode_coding_iso2022): Code-point arguments of
63 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
64 (encode_coding_iso2022): New implementation for UTF2000.
66 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
68 * mule-canna.c (c2mu): New implementation for UTF2000.
71 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
73 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
75 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
77 * file-coding.c (reset_encoding_stream): Set 0 to
78 `str->iso2022.current_char_boundary' in UTF2000.
79 (encode_utf8): Don't define in UTF2000.
80 (encode_coding_utf8): New implementation for UTF-8 representation
82 (complex_vars_of_file_coding): Define coding-system `utf-8'.
84 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
86 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
88 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
90 (REP_BYTES_BY_FIRST_BYTE): Likewise.
92 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
94 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
95 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
97 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
98 (non_ascii_valid_char_p): Don't define in UTF2000.
99 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
100 (Lstream_get_emchar_1): Likewise.
101 (utf-2000-version): New variable in UTF2000.
103 * lread.c (read_escape): Add new reader `u'.
105 * insdel.c (three_to_one_table): Don't define in UTF2000.
106 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
107 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
109 (bytind_to_bufpos_func): Likewise.
110 (buffer_mule_signal_inserted_region): Likewise.
111 (vars_of_insdel): Don't initialize `three_to_one_table'.
112 (init_buffer_text): Use `buf->text->mule_size' instead of
113 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
116 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
117 UTF-8 representation in UTF2000.
118 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
119 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
120 (decode_coding_iso2022): Don't define local variable `lb' in
121 UTF2000; don't use LEADING_BYTE in UTF2000; use
122 `DECODE_ADD_UCS_CHAR' in UTF2000.
123 (convert_to_external_format): Decode as UTF-8 in UTF2000.
125 * config.h.in (UTF2000): New macro.
127 * buffer.h (struct buffer_text): Add new member `mule_size' and
128 don't add `mule_shifter' and `mule_three_p' in UTF2000.
129 (valid_char_p): Return always 1 in UTF2000.
130 (MAX_EMCHAR_LEN): 6 in UTF2000.
131 (three_to_one_table): Don't define in UTF2000.
132 (real_bufpos_to_bytind): Modify for UTF-8 representation in
134 (real_bytind_to_bufpos): Likewise.
136 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
138 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
140 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
141 representation change.
142 (Vutf_2000_version): New variable.
143 (leading_code_private_11): New variable.
144 (syms_of_mule_charset): Add new variables `utf-2000-version' and
145 `leading-code-private-11'.
147 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
148 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
149 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
150 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
151 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
152 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
153 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
154 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
155 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
156 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
157 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
158 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
159 (MIN_CHAR_GREEK): New macro.
160 (MAX_CHAR_GREEK): New macro.
161 (MIN_CHAR_CYRILLIC): New macro.
162 (MAX_CHAR_CYRILLIC): New macro.
163 (MIN_CHAR_HEBREW): New macro.
164 (MAX_CHAR_HEBREW): New macro.
165 (MIN_CHAR_THAI): New macro.
166 (MAX_CHAR_THAI): New macro.
167 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
168 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
169 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
170 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
171 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
172 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
173 (CHAR_FIELD2): New inline function.
174 (CHAR_FIELD3): New inline function.
175 (MULE_CHAR_PRIVATE_OFFSET): New macro.
176 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
177 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
178 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
179 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
180 (MIN_CHAR_COMPOSITION): Likewise.
181 (CHAR_LEADING_BYTE): Modified for character representation change.
182 (MAKE_CHAR): Likewise.
184 * lisp.h (Vcharset_latin_iso8859_1): New variable.
185 (Vcharset_greek_iso8859_7): Likewise.
186 (Vcharset_cyrillic_iso8859_5): Likewise.
187 (Vcharset_hebrew_iso8859_8): Likewise.
188 (Vcharset_thai_tis620): Likewise.
189 (Vcharset_katakana_jisx0201): Likewise.
191 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
193 * file-coding.c (determine_real_coding_system): Treat `coding:'
196 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
198 * file-coding.c (struct decoding_stream): New member `counter'.
199 (reset_decoding_stream): Initialize `counter'.
200 (decode_coding_ucs4): Use `counter'.
201 (decode_coding_utf8): Likewise.
203 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
205 * XEmacs 21.2.19 is released
207 1999-07-27 Jeff Miller <jmiller@smart.net>
209 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
210 menubar_show_keybindings.
212 1999-07-23 SL Baur <steve@miho>
214 * mule-charset.c (syms_of_mule_charset): Delete duplicated
215 definition of Qccl_program.
217 * mule-ccl.h: Make a global declaration of it here.
219 1999-07-20 Bob Weiner <weiner@beopen.com>
221 * s/sco7.h: Added from rr@sco.com.
223 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
225 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
227 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
229 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
230 (mule_encode): Likewise.
232 * mule-ccl.c (Qccl_program): New variable.
233 (CCL_SUSPEND): New macro.
234 (CCL_INVALID_CMD): New macro.
235 (CCL_READ_CHAR): Don't regard as invalid command while processing
236 the last block even if input is empty; use
237 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
238 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
240 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
241 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
242 (CCL_STAT_SUSPEND_BY_DST): Likewise.
243 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
244 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
246 1999-05-04 Ken'ichi Handa <handa@gnu.org>
248 * mule-ccl.h (struct ccl_program): New member stack_idx.
250 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
251 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
253 (setup_ccl_program): Initialize ccl->stack_idx to 0.
255 1998-10-12 Kenichi Handa <handa@etl.go.jp>
257 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
260 1998-08-18 Kenichi Handa <handa@etl.go.jp>
262 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
263 processing the last block, don't just finish but processes eol
264 block of the current CCL program.
265 (ccl_driver): Add a new jump label ccl_repeat for the above
268 1998-04-15 Kenichi Handa <handa@etl.go.jp>
270 * mule-ccl.c: Typo in comments fixed.
271 (Qccl_program_idx): New variables.
272 (CCL_ReadMultibyteChar2): Macro name changed from
273 CCL_ReadMultibyteCharacter.
274 (CCL_WriteMultibyteChar2): Macro name changed from
275 CCL_WriteMultibyteChar2.
276 (ccl_driver): Adjusted for the above changes.
277 (resolve_symbol_ccl_program): New function.
278 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
279 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
280 numbers by resolve_symbol_ccl_program.
281 (Fccl_execute_on_string): Likewise.
282 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
283 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
285 1998-01-21 Kenichi Handa <handa@etl.go.jp>
287 * mule-ccl.h: (struct ccl_program): New member private_state.
290 (CCL_Call): Fix the comment.
291 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
292 macros for CCL Commands.
294 (ccl_driver): New case lable `CCL_Extention'.
295 (setup_ccl_program): Initialize the member `private_state' of CCL.
297 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
299 * keymap.c (copy_keymap_internal): Inherit the default binding.
301 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
303 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
304 focus the event (XIM_focus_event).
305 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
306 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
307 the interface for future use (XIM_SetGeometry).
308 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
309 location (XIM_SetSpotLocation).
310 (x_output_eol_cursor): Ditto.
312 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
314 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
315 Olivier's change to lrecord.h of 1999-04-22
317 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
319 * gutter.c (redraw_exposed_gutter): Change type of pos from
320 enum toolbar_pos -> enum gutter_pos, since former is only defined
321 if toolbar support is.
323 1999-07-19 Andy Piper <andy@xemacs.org>
325 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
328 * gutter.c (gutter_validate): new function for the gutter specifier.
329 (specifier_type_create_gutter): declare specifier validator.
331 * buffer.h (INC_CHARBYTIND): add for no error checking version.
333 1999-07-18 Andy Piper <andy@xemacs.org>
335 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
337 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
339 (mswindows_resize_subwindow): new function.
341 * gutter.c (redraw_exposed_gutter): only reset the
342 current_display_lines if non-zero.
343 (Fgutter_pixel_height): new function.
344 (Fgutter_pixel_width): new function.
346 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
347 we want to retrive from the tab control.
349 1999-07-17 Andy Piper <andy@xemacs.org>
351 * window.c (change_window_height): mark gutters changed when we're
354 * gutter.c (specifier_vars_of_gutter): make defaults more
357 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
359 (DEFAULT_GUTTER_WIDTH): change.
360 (DEFAULT_GUTTER_BORDER_WIDTH): change.
362 1999-07-18 Andy Piper <andy@xemacs.org>
364 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
366 1999-07-16 Andy Piper <andy@xemacs.org>
368 * frame.c (Fmake_frame): call init_frame_gutters().
370 * redisplay.c (add_emchar_rune): use string functions if we are
371 working with a string.
372 (position_redisplay_data_type): add string element.
374 1999-07-15 Andy Piper <andy@xemacs.org>
376 * winslots.h: add real_gutter_size slots to hold the actual gutter
377 size. This is important for autodetected sizes.
379 * gutter.c (calculate_gutter_size): calculate size for gutters
380 that have 'autodetect size.
382 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
383 extent of divider for gutters.
385 * redisplay-x.c (x_output_vertical_divider): adjust extent of
388 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
389 position to take into account the gutters.
391 * redisplay.c (generate_modeline): adjust modeline position to
392 take into account the gutters.
394 1999-07-14 Andy Piper <andy@xemacs.org>
396 * gutter.c (frame_topmost_window): new function.
397 (frame_bottommost_window): ditto.
398 (frame_leftmost_window): ditto.
399 (frame_rightmost_window): ditto.
401 1999-07-13 Andy Piper <andy@xemacs.org>
403 * redisplay.c (calculate_display_line_boundaries): use text
404 boundaries so that gutters get handled properly.
406 1999-07-12 Andy Piper <andy@xemacs.org>
408 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
411 * redisplay-output.c (redisplay_clear_to_window_end): generalised
414 * redisplay-x.c (redisplay_clear_to_window_end): moved to
417 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
419 * gutter.c: new file - implements gutters. All new functions are
420 semantically equivalent to the toolbar functions.
421 (gutter_was_visible): new function.
422 (get_gutter_coords): ditto.
423 (output_gutter): ditto.
424 (clear_gutter): ditto.
425 (update_frame_gutters): ditto.
426 (redraw_exposed_gutter): ditto.
427 (redraw_exposed_gutters): ditto.
428 (free_frame_gutters): ditto.
429 (init_frame_gutters): ditto.
430 (decode_gutter_position): ditto.
431 (Fset_default_gutter_position): ditto.
432 (Fset_default_gutter_position): ditto.
433 (Fdefault_gutter_position): ditto.
434 (gutter_after_change): ditto.
435 (Fgutter_specifier_p): ditto.
436 (recompute_overlaying_specifier): ditto.
437 (gutter_specs_changed): ditto.
438 (default_gutter_specs_changed): ditto.
439 (gutter_geometry_changed_in_window): ditto.
440 (default_gutter_size_changed_in_window): ditto.
441 (default_gutter_border_width_changed_in_window): ditto.
442 (default_gutter_visible_p_changed_in_window): ditto.
443 (syms_of_gutter): ditto.
444 (vars_of_gutter): ditto.
445 (specifier_type_create_gutter): ditto.
446 (specifier_vars_of_gutter): ditto.
448 * gutter.h: new file. Contains gutter constants and sizing macros
449 similar to those for the toolbar.
451 * winslots.h: add gutter variables.
453 * window.h: declare window_is_* functions.
455 * window.c (window_is_lowest): make non-static.
456 (window_is_highest): ditto.
457 (window_top_toolbar_height): deleted.
458 (window_bottom_toolbar_height): deleted.
459 (window_left_toolbar_width): deleted.
460 (window_right_toolbar_width): deleted.
461 (window_top_gutter_height): add gutter sizing.
462 (window_bottom_gutter_height): ditto.
463 (window_left_gutter_width): ditto.
464 (window_right_gutter_width): ditto.
466 * symsinit.h: declarations for gutters vars etc.
468 * search.c (bi_find_next_emchar_in_string): new function.
470 * scrollbar.c (update_scrollbar_instance): remove reference to
471 window_bottom_toolbar_height which did nothing.
473 * redisplay.h (struct display_line): add face indices for
474 overriding defaults in output_display_line.
475 Add gutter_changed flags and declarations.
477 * redisplay.c (create_string_text_block): new function, similar to
478 create_text_block but for strings. Display tables etc are used
479 from the currently selected window.
480 (generate_string_display_line): ditto. Similar to
481 generate_display_line.
482 (generate_displayable_area): generate display lines for a given
483 area on a frame. Input is the string, with associated extents, to
485 (redisplay_frame): add gutter_changed check.
486 (redisplay_device): ditto.
487 (redisplay_without_hooks): ditto.
489 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
490 (x_redraw_exposed_area): redraw exposed gutters.
491 (x_bevel_area): new redisplay device method.
492 (x_type_create_redisplay_mswindows): add bevel_area device method.
493 (x_output_display_block): fiddly Martin-style cleanup.
494 (x_output_vertical_divider): use bevel_area.
496 * redisplay-output.c (output_display_line): check display_lines
497 for face information before using defaults.
498 (bevel_modeline): new function, calls bevel_area with appropriate
501 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
502 (mswindows_redraw_exposed_area): redraw exposed gutters.
503 (mswindows_bevel_area): new redisplay device method.
504 (console_type_create_redisplay_mswindows): add bevel_area device
507 * indent.c (string_column_at_point): add column_at_point but for
510 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
511 instantiate widgets that we have a toolkit for.
513 * general.c: add Qgutter.
515 * frame.h (struct frame): add display lines for gutters and
518 * frame.c (set_frame_selected_window): mark gutters changed.
520 * emacs.c (main_1): add gutter initialisation.
522 * device.h (struct device): add gutter_changed flag and macros to
525 * console.h (struct console_methods): new bevel area redisplay
528 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
529 REAL_INC_BYTIND is for buffers.
530 (INC_CHARPTR): ditto.
532 * Makefile.in.in (objs): add gutter.o
534 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
536 * XEmacs 21.2.18 is released
538 1999-07-08 SL Baur <steve@mule.m17n.org>
540 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
542 (emacs_Xt_handle_magic_event): Ditto.
543 * redisplay-x.c (x_output_string): Ditto.
544 (x_output_eol_cursor): Ditto.
546 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
548 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
549 problem that when XIM is destroyed or missed with some reason,
550 xemacs will die. Now xim=xlib waits the XIM will be ready and
551 endures the case of XIM end up.
553 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
555 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
556 SIGINT and SIGCHLD before calling tt_open and restore the
557 afterwards. This fixes e.g. the zombie subprocesses on Solaris
559 1999-07-06 SL Baur <steve@xemacs.org>
561 * s/linux.h: gcc-2.8 changes for powerpc
562 From Justin Vallon <vallon@mindspring.com>
564 1999-07-05 Didier Verna <verna@inf.enst.fr>
566 * indent.c: new symbol Qcoerce.
567 (Fmove_to_column): use it + doc string update.
569 1999-07-04 Andy Piper <andy@xemacs.org>
571 * console.c: undo earlier Fprovide changes.
575 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
576 function. validate appropriate image formats for tty.
578 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
579 initialize consoles parameter.
580 (struct image_instantiator_methods): add consoles parameter.
581 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
583 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
586 * glyphs-msw.c: declare instantiators for later use.
587 (image_instantiator_format_create_glyphs_mswindows): validate xpm
588 and friends on the mswindows console.
591 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
592 that have not been registered on the supplied device.
593 (Fvalid_image_instantiator_format_p): add locale argument.
594 (instantiate_image_instantiator): valid image instantiator on the
597 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
600 * emacs.c (main_1): add call to
601 image_instantiator_format_create_glyphs_tty().
603 1999-06-29 Olivier Galibert <galibert@pobox.com>
605 * lisp.h: Add #include <stddef.h>.
607 * sysdep.c: Remove #include <stddef.h>.
608 * symbols.c: Remove #include <stddef.h>.
609 * sheap.c: Remove #include <stddef.h>.
610 * opaque.c: Remove #include <stddef.h>.
611 * nt.c: Remove #include <stddef.h>.
612 * mule-charset.c: Remove #include <stddef.h>.
613 * marker.c: Remove #include <stddef.h>.
614 * file-coding.c: Remove #include <stddef.h>.
615 * extents.c: Remove #include <stddef.h>.
616 * elhash.c: Remove #include <stddef.h>.
617 * data.c: Remove #include <stddef.h>.
618 * chartab.c: Remove #include <stddef.h>.
619 * bytecode.c: Remove #include <stddef.h>.
620 * alloc.c: Remove #include <stddef.h>. Fix vector description
622 1999-06-30 SL Baur <steve@miho.m17n.org>
624 * editfns.c: Document "%s" format spec.
625 Suggested by Bob Weiner <weiner@altrasoft.com>
627 1999-06-29 Andy Piper <andy@xemacs.org>
629 * event-msw.c: fix definition booboo.
631 1999-06-28 Andy Piper <andy@xemacs.org>
633 * glyphs-x.c: change tree -> tree-view, progress ->
634 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
636 (complex_vars_of_glyphs_x): provide-on-console the implemented
639 * glyphs-msw.c: ditto.
640 (complex_vars_of_glyphs_mswindows): ditto.
642 * lisp.h: add Fprovide_on_console.
644 * fns.c (Ffeaturep): add extra optional console argument.
645 (Fprovide_on_console): like Fprovide but provides only on the
646 specified console-type.
647 (Frequire): check console-features as well as global features.
649 * console.c (Fconsole_features): new function. return features for
651 (syms_of_console): add Fconsole_features.
653 * console.h (CONMETH_FEATURES): new function for accessing features.
654 (CONSOLE_FEATURES): ditto.
655 (struct console_methods): add features slot.
656 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
658 1999-06-28 Andy Piper <andy@xemacs.org>
660 * event-Xt.c (handle_focus_event_1): conditionally compile for
663 * s/cygwin32.h: fix me website address.
665 * event-msw.c: add NMHDR for pre b20 cygwin builds.
667 * gui-x.c (button_item_to_widget_value): only add callback if it
670 * glyphs-x.c: add progress, edit and combo instantiators.
671 (x_widget_set_property): new function. uses lwlib to set widget
673 (x_widget_property): new function. uses lwlib to get widget
675 (x_button_instantiate): support images in buttons.
676 (x_button_property): new function. use lwlib to get the selected
678 (x_progress_instantiate): new function for instantiating progress
680 (x_progress_set_property): new function. sets the progress gauge
682 (x_edit_instantiate): new function. for instantiating edit fields.
683 (x_combo_instantiate): new function. for instantiating combo
685 (image_instantiator_format_create_glyphs_x): add new device ii
688 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
690 * console.h (CONSOLE_FEATURES): new features accesor.
692 * conslots.h (MARKED_SLOT): add features entry.
694 1999-06-25 Andy Piper <andy@xemacs.org>
696 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
699 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
701 * gui.h (struct Lisp_Gui_Item): add accelerator.
703 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
704 (gui_item_init): ditto.
705 (gui_add_item_keywords_to_plist): ditto.
706 (mark_gui_item): ditto.
707 (gui_item_hash): ditto.
708 (gui_item_accelerator): new function.
709 (gui_name_accelerator): new function stolen from gui-x.c
711 * gui-x.c (popup_selection_callback): always define. mark
712 subwindows changed after calling a callback.
713 (menu_name_to_accelerator): deleted.
714 (button_item_to_widget_value): forward gui_item things to gui_item
717 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
718 appropriate accesors.
720 * glyphs-x.c: declare new glyph formats.
721 (x_finalize_image_instance): unmanage and destroy widgets if they
723 (x_unmap_subwindow): handle widgets specially.
724 (x_map_subwindow): ditto. offset display of widgets by offset of
725 text widget within container.
726 (x_update_subwindow): new function. call lw_modify_all_widgets
727 when we are a widget.
728 (x_widget_instantiate): new function for generically creating
729 widgets-glyphs. toolkit specifics forwarded to lwlib.
730 (x_button_instantiate): new function for instantiating
731 widgets-glyph buttons.
732 (console_type_create_glyphs_x): register update_subwindow.
733 (image_instantiator_format_create_glyphs_x): register widget and
736 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
738 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
739 when we get a button press in case we do not have the focus.
740 (handle_focus_event_1): set the keyboard focus to the text widget
741 if we do not have it.
743 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
746 1999-06-24 SL Baur <steve@miho.m17n.org>
748 * syntax.c (scan_words): Restore non-Mule code.
749 (word_constituent_p): Restore.
751 1999-06-23 Olivier Galibert <galibert@pobox.com>
753 * config.h.in: Add missing #undef *_USER_DEFINED.
755 1999-06-23 SL Baur <steve@miho.m17n.org>
757 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
758 int (fixes a 64-bit problem).
760 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
763 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
765 * paths.h.in (PATH_DOC): Made doc-directory configurable.
767 1999-06-22 Olivier Galibert <galibert@pobox.com>
769 * lrecord.h: Added basic external description system.
771 * symbols.c: Added symbol, symbol-value-buffer-local,
772 symbol-value-lisp-magic and symbol-value-varalias description.
773 * mule-charset.c: Added charset description.
774 * marker.c: Added marker description.
775 * keymap.c: Added keymap description.
776 * glyphs.c: Added glyph description.
777 * floatfns.c: Added float description.
778 * file-coding.c: Added coding-system description.
779 * extents.c: Added extent description.
780 * elhash.c: Added hash-table description.
781 * data.c: Added weak-list desciption.
782 * chartab.c: Added char-table-entry and char-table description.
783 * bytecode.c: Added compiled-function description.
784 * alloc.c: Added cons, vector and string description.
786 1999-06-22 Olivier Galibert <galibert@pobox.com>
788 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
789 Updated everything to the removal of the "flags" substructure.
791 * lisp.h (subr_lheader_initializer): Updated.
792 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
794 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
796 * syntax.c (word_constituent_p): Deleted.
797 (scan_words): Use `WORD_BOUNDARY_P'.
799 * chartab.c (Vword_combining_categories): New variable.
800 (Vword_separating_categories): Likewise.
801 (CATEGORYP): New macro.
802 (CATEGORY_SET): Likewise.
803 (CATEGORY_MEMBER): Likewise.
804 (word_boundary_p): New function.
805 (complex_vars_of_chartab): Set up new variable
806 `word-combining-categories' and `word-separating-categories'.
808 1999-06-18 Olivier Galibert <galibert@pobox.com>
810 * lrecord.h: Added description as a placehold in the lrecord
811 implementation structures. Added the parameter to all constructor
814 * alloc.c: Added placeholders.
825 * event-stream.c: Ditto.
829 * file-coding.c: Ditto.
838 * mule-charset.c: Ditto.
843 * specifier.c: Ditto.
849 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
851 * XEmacs 21.2.17 is released
853 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
855 * config.h.in (HAVE_LDAP_SET_OPTION): New define
856 (HAVE_LDAP_GET_LDERRNO): Ditto
857 (HAVE_LDAP_RESULT2ERROR): Ditto
858 (HAVE_LDAP_PARSE_RESULT): Ditto
859 (HAVE_UMICH_LDAP): Removed
860 (HAVE_NS_LDAP): Removed
862 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
863 suggested by Olivier Galibert
864 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
866 * eldap.c: Take the removal of `livep' into account in all the
868 (signal_ldap_error): Take two additional parameters
869 Added new finer compilation conditions in order to use
870 ldap_parse_result or ldap_result2error if available
871 (Fldap_open): Conform to this new API
872 (Fldap_search_internal): Ditto
874 1999-06-17 SL Baur <steve@miho.m17n.org>
876 * data.c (struct int_or_double): Should use EMACS_INT not int.
878 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
880 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
883 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
885 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
888 * file-coding.c (mule_decode): Run `ccl_driver' with
890 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
892 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
893 (ccl_driver): Add new argument `conversion_mode'.
894 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
895 (Fccl_execute_on_string): Likewise [perhaps it is better to add
896 new optional argument].
898 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
899 (CCL_MODE_DECODING): New macro.
900 (ccl_driver): Add new argument `conversion_mode'.
902 1999-06-15 SL Baur <steve@miho.m17n.org>
904 * mule-charset.c (Fsplit_char): New subr.
905 (Fchar_octet): delete.
906 (syms_of_mule_charset): DEFSUBR it.
908 1999-06-13 Andy Piper <andy@xemacs.org>
910 * menubar.h: update declarations involving gui_items.
912 * lisp.h: declare Lisp_Gui_Item.
914 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
916 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
917 (print_image_instance): ditto.
918 (image_instance_equal): ditto.
919 (image_instance_hash): ditto.
921 * event-msw.c (mswindows_need_event): assert badly_p status.
922 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
923 callbacks in tree-view and tab-control widgets.
924 (emacs_mswindows_next_event): modify use of
925 mswindows_dequeue_dispatch_event.
927 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
928 lisp-based gui_items.
930 * glyphs-msw.c (mswindows_update_subwindow): update use of
932 (mswindows_register_gui_item): new function.
933 (mswindows_register_gui_item): fix to use lisp gui_items.
934 (mswindows_widget_instantiate): ditto.
935 (mswindows_button_instantiate): ditto.
936 (add_tree_item): new function to recursively add tree view
938 (add_tree_item_list): ditto.
939 (mswindows_tree_instantiate): new function. instantiate tree view
941 (add_tab_item): new function to add tabs to a tab control.
942 (mswindows_tab_instantiate): new function. instantiate tab
944 (image_instantiator_format_create_glyphs_mswindows): add tree view
946 (vars_of_glyphs_mswindows): ditto.
948 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
950 (check_valid_item_list): ditto.
951 (initialize_widget_image_instance): fix to use new lisp gui_item.
952 (widget_instantiate_1): allow the setting of default textwidth in
954 (widget_instantiate): change to use new widget_instantiate_1
956 (combo_instantiate): ditto.
957 (static_instantiate): ditto.
958 (tab_instantiate): new function for tab widgets.
959 (image_instantiator_format_create_glyphs_widget): add tab and tree
962 * menubar-msw.c (displayable_menu_item): convert to use lisp
964 (populate_menu_add_item): ditto.
965 (populate_or_checksum_helper): ditto.
967 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
969 (Fmenu_find_real_submenu): ditto.
971 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
973 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
974 objects, convert functions that use them accordingly.
975 (gui_item_init): ditto.
976 (gui_item_active_p): ditto.
977 (gui_item_selected_p): ditto.
978 (gui_item_included_p): ditto.
979 (gui_item_display_flush_left): ditto.
980 (gui_item_display_flush_right): ditto.
981 (mark_gui_item): ditto.
982 (allocate_gui_item): new function to create a gui_item.
983 (make_gui_item_from_keywords_internal): ditto. create and return a
984 gui_item as well as setting keywords.
985 (gui_parse_item_keywords): ditto.
986 (gui_parse_item_keywords_no_errors): ditto.
987 (gui_add_item_keywords_to_plist): new function, not yet used.
988 (gui_item_hash): new function.
989 (gui_item_id_hash): use gui_item_hash.
990 (gui_item_equal): new function.
991 (print_gui_item): new function.
993 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
995 * XEmacs 21.2.16 is released
997 1999-06-10 Andy Piper <andy@xemacs.org>
999 * select-msw.c (mswindows_own_selection): only set the clipboard
1001 (mswindows_get_foreign_selection): only get the clipboard if
1003 (mswindows_disown_selection): only disown the clipboard if asked.
1005 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1007 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1009 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1010 of coding-category `no-conversion'.
1012 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1014 * file-coding.c (Qraw_text): New variable.
1015 (syms_of_mule_coding): Add new symbol `raw-text'.
1016 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1017 define coding-system `binary' independently; define coding-system
1018 `no-conversion' as an alias for `raw-text'.
1020 * file-coding.h (Qraw_text): New variable.
1022 1999-06-08 SL Baur <steve@xemacs.org>
1024 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1026 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1028 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1030 (base64_decode_1): Signal errors instead of returning -1.
1032 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1034 * mule-charset.c (Fmake_char): Update docstring.
1036 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1038 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1040 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1042 * fns.c (base64_decode_1): Allow and ignore any non-base64
1043 characters in input.
1045 1999-05-27 Olivier Galibert <galibert@pobox.com>
1047 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1048 of report_pure_usage().
1050 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1052 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1054 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1056 * XEmacs 21.2.15 is released
1058 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1060 * frame.c (Fset_mouse_position):
1061 (Fset_mouse_pixel_position):
1062 * window.c (Fsplit_window):
1063 (Fmove_to_window_line):
1064 Fix crash when invoking functions with an already-deleted window
1067 * indent.c (vertical_motion_1):
1069 (Fvertical_motion_pixels):
1070 * window.c (Fwindow_displayed_text_pixel_height):
1071 Fix error message when invoking functions with an already-deleted
1074 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1076 * sysdep.c (request_sigio_on_device): Guard against glibc
1077 2.1's stub streams implementation.
1079 1999-06-03 SL Baur <steve@xemacs.org>
1082 * emacs.c: Implement x.y.z version numbers
1083 From Jan Vroonhof <vroonhof@math.ethz.ch>
1085 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1087 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1088 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1091 1999-06-03 SL Baur <steve@xemacs.org>
1094 * device-x.c: rename session option to wmcommand.
1095 From Oliver Graf <ograf@rhein-zeitung.de>
1097 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1099 * fns.c (Fsubstring): Don't traverse the same region twice with
1100 charcount_to_bytecount().
1102 1999-06-03 SL Baur <steve@steve1.m17n.org>
1104 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1107 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1108 doesn't really work as is implied by the commentary).
1109 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1111 1999-06-02 SL Baur <steve@steve1.m17n.org>
1113 * symsinit.h: Declare vars_of_ntproc.
1114 * emacs.c (main_1): Call it.
1116 * ntproc.c (syms_of_ntproc): Move variable initializations from
1118 (vars_of_ntproc): ... to here [new function].
1120 * file-coding.c (syms_of_file_coding): Rename.
1121 (vars_of_file_coding): Ditto.
1122 (complex_vars_of_file_coding): Ditto.
1124 * symsinit.h: Rename *_mule_coding to *_file_coding.
1126 * emacs.c (main_1): Call them by the proper name.
1128 * device-msw.c (syms_of_device_mswindows): Move variable
1129 initializations from here ...
1130 (vars_of_device_mswindows): ... to here.
1132 * chartab.c (vars_of_chartab): New function.
1134 * symsinit.h: New function, vars_of_chartab.
1136 * emacs.c (main_1): Call it.
1138 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1139 (vars_of_mule_canna): ... to here.
1141 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1142 initializations out of syms_of_mule_ccl.
1144 * symsinit.h: Declare new function vars_of_mule_ccl.
1146 * emacs.c (main_1): Call it.
1148 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1150 * fns.c (base64_decode_1): Ignore whitespace.
1152 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1154 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1157 1999-05-21 Andy Piper <andy@xemacs.org>
1159 * xselect.c: deleted.
1161 * symsinit.h: declare select initialisation.
1163 * select.h: new file. declare commonly used select functions and
1166 * select.c: new file. generalised from xselect.c.
1167 (clean_local_selection_data): moved from xselect.c.
1168 (get_local_selection): ditto. device specific pieces called via a
1170 (handle_selection_clear): ditto.
1171 (Fown_selection_internal): renamed and generalised from
1172 Fx_own_selection_internal. moved from xselect.c.
1173 (Fdisown_selection_internal): ditto.
1174 (Fselection_owner_p): ditto.
1175 (Fselection_exists_p): ditto.
1176 (Fget_selection_internal): ditto.
1177 (syms_of_select): new function. QXXXX values moved from xselect.c
1178 (vars_of_select): new function. selection_converter_alist,
1179 lost_selection_hooks moved and renamed from xselect.c
1181 * select-x.c: renamed from xselect.c.
1182 (x_own_selection): converted to device specific. non-X-specific
1183 bits moved to select.c.
1184 (x_get_foreign_selection): ditto.
1185 (x_disown_selection): ditto.
1186 (x_selection_exists_p): ditto.
1187 (console_type_create_select_x): new function.
1189 * select-msw.c (mswindows_own_selection): new device method to set
1190 the clipboard when we 'own' the selection.
1191 (mswindows_get_foreign_selection): new device method to get the
1193 (mswindows_disown_selection): new device method to delete the
1194 selection when we 'disown' it.
1195 (console_type_create_select_mswindows): new function.
1197 * emacs.c (main_1): add select to things to initialise.
1199 * console.h (struct console_methods): new console methods for
1202 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1204 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1206 * print.c (long_to_string): Install a faster version.
1208 1999-05-16 Andy Piper <andy@xemacs.org>
1210 * ntproc.c (syms_of_ntproc): default
1211 win32-start-process-share-console to t.
1213 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1215 * config.h.in: Do it here.
1217 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1219 1999-05-14 Andy Piper <andy@xemacs.org>
1221 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1224 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1226 * XEmacs 21.2.14 is released
1228 1999-05-12 Andy Piper <andy@xemacs.org>
1230 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1232 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1234 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1235 run_temacs_argv array -- fixes random memory corruption crash
1237 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1239 * window.c (Fcurrent_window_configuration):
1240 Save minibuffer height;
1242 * window.c (set_window_configuration): use it.
1244 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1246 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1248 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1250 * redisplay.c (redisplay_window): Do not put data
1251 in the line start cache if it is not guaranteed to be correct
1253 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1255 * window.c (struct window_config): Removed frame
1257 (window_config_equal): No longer compare frame sizes.
1258 (Fset_window_configuration): Resize old top window to fit in the
1259 current frame directly, no longer use a fake frame resize.
1260 (Fcurrent_window_configuration): No longer save frame size
1262 1999-05-11 Andy Piper <andy@xemacs.org>
1264 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1267 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1269 * sysdep.c (init_system_name): If gethostname gives a proper
1270 domain name, don't look further for one.
1272 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1274 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1275 (Fintern_soft): Accept a symbol argument.
1277 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1279 * symbols.c (Fintern): ...do it here.
1281 * lread.c (read_atom): Don't handle keywords here.
1283 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1285 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1287 1999-05-03 Olivier Galibert <galibert@pobox.com>
1289 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1290 is interned in the main obarray.
1292 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1294 * menubar-x.c (pre_activate_callback): set accelerator field in
1295 "No menu" entries to nil. Avoid crash in
1296 command_builder_operate_menu_accelerator
1298 1999-05-03 Olivier Galibert <galibert@pobox.com>
1300 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1302 * lisp.h (DEFUN): Fix lrecord header initialisation.
1304 1999-05-02 Andy Piper <andy@xemacs.org>
1306 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1308 * ntproc.c (sys_kill): cast using MS mandated defines.
1310 1999-04-29 Andy Piper <andy@xemacs.org>
1312 * m/intel386.h: remove redundant definitions.
1314 * s/mingw32.h: new header for mingw32.
1316 * unexnt.c: (open_input_file): function moved to nt.c.
1317 (close_file_data): ditto.
1318 (rva_to_section): function moved to ntproc.
1320 * symsinit.h: declare syms_of_ntproc();
1322 * objects-msw.c (mswindows_font_instance_truename): new function.
1324 * ntproc.c: remove many warnings.
1325 (_sys_read_ahead): moved from nt.c and made static.
1326 (rva_to_section): moved from unexnt.c but not defined under
1328 (win32_executable_type): implement what we can for mingw32
1330 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1332 * ntheap.h: remove declarations of functions that are now static.
1334 * ntheap.c: support static heap.
1336 * nt.h: conditionalise X_OK definition.
1338 * nt.c: eliminate many warnings and support mingw32.
1339 (open_input_file): function moved from unexnt.c and made static
1340 (close_file_data): ditto.
1341 (_sys_read_ahead): moved to ntproc.c
1343 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1345 * console-msw.h: support mingw32.
1346 * getloadavg.c: ditto.
1353 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1354 some systems don't have all of the encapsulated system calls.
1356 * callproc.c: warning elimination.
1357 * dired-msw.c: ditto.
1358 * process-nt.c: ditto.
1359 * realpath.c: ditto.
1361 * Makefile.in.in: tweak : and ; for building under mswindows.
1363 1999-04-26 Michael Harnois <mharnois@willinet.net>
1365 * eldap.c (allocate_ldap): Adapt to the new semantics of
1366 alloc_lcrecord_type().
1368 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1370 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1372 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1374 * Delete mule-coding.c and mule-coding.h because they are not
1377 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1379 * objects.c (print_font_instance): Check for NILP(f->device),
1380 i.e. Vthe_null_font_instance.
1381 (font_instance_truename_internal): ditto.
1382 (Ffont_instance_properties): ditto.
1384 1999-04-22 Olivier Galibert <galibert@pobox.com>
1386 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1389 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1391 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1392 it easier to add new ones.
1394 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1396 * symbols.c (reject_constant_symbols): Ditto.
1397 (init_symbols_once_early): Ditto.
1399 * print.c (print_symbol): Don't use ->obarray.
1401 * symbols.c (Funintern): Ditto.
1403 * alloc.c (Fmake_symbol): Don't set ->obarray.
1405 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1407 * symbols.c (init_symbols_once_early): Removed
1408 Vpure_uninterned_symbol_table.
1409 (Fintern): Don't store to ->obarray field.
1411 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1413 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1414 (eq_with_ebola_notice): Remove abracadabra support.
1416 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1418 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1419 retrieve the distinguished names of entries
1421 1999-03-08 Martin Buchholz <martin@xemacs.org>
1423 * lread.c (read_escape): Make hex escapes read only two hex digits.
1425 1999-04-05 Olivier Galibert <galibert@pobox.com>
1427 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1428 * make-src-depend: Remove puresize-adjust.h.
1429 * src-headers: Remove puresize-adjust.h.
1430 * config.h.in: Kill everything purespace/gung-ho related.
1432 * dbxrc: Make gung-ho mandatory.
1435 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1436 c_readonly and lisp_readonly. Remove implementation arrays.
1437 (C_READONLY_RECORD_HEADER_P): Added.
1438 (LISP_READONLY_RECORD_HEADER_P): Added.
1439 (SET_C_READONLY_RECORD_HEADER): Added.
1440 (SET_LISP_READONLY_RECORD_HEADER): Added.
1442 * lisp.h: Kill everything purespace/non gung-ho related.
1443 (CHECK_C_WRITEABLE): Added.
1444 (CHECK_LISP_WRITEABLE): Added.
1445 (C_READONLY): Added.
1446 (LISP_READONLY): Added.
1448 * lisp-union.h: Make gung-ho mandatory.
1449 * lisp-disunion.h: Ditto.
1451 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1452 set_lheader_implementation calls.
1453 (c_readonly): Added.
1454 (lisp_readonly): Added.
1455 (make_string_nocopy): Added.
1456 (Fpurecopy): Changed to do nothing. Kept the old documentation
1457 for reference purposes for the next patches.
1458 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1459 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1460 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1462 * fns.c: Make gung-ho mandatory.
1463 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1465 (Ffillarray): Ditto.
1467 * data.c: Make gung-ho mandatory.
1468 (pure_write_error): Removed.
1469 (c_write_error): Added.
1470 (lisp_write_error): Added.
1471 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1475 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1476 make_string or make_string_nocopy. Fix various
1477 alloc_lcrecord_type.
1479 * lread.c: Remove everything purespace related.
1480 (Flocate_file_clear_hashing): purified -> c_readonly.
1481 (locate_file): Ditto.
1482 (read_atom): make_pure_pname -> make_string.
1484 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1486 (Fdump_emacs): Ditto.
1488 * print.c (print_internal): Make gung-ho mandatory.
1489 * ntheap.c (sbrk): Ditto.
1490 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1491 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1493 * sheap.c (more_static_core): Remove puresize-adjust.h from
1496 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1498 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1499 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1500 * events.c (deinitialize_event): Fix set_lheader_implementation.
1501 (zero_event): Ditto.
1502 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1503 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1504 * mule-charset.c (make_charset): Ditto.
1505 * console.c (allocate_console): Ditto.
1506 (complex_vars_of_console): Ditto.
1507 * file-coding.c (allocate_coding_system): Ditto.
1508 * device.c (allocate_device): Ditto
1509 * gui-x.c (gcpro_popup_callbacks): Ditto.
1510 * extents.c (allocate_extent_auxiliary): Ditto.
1511 (allocate_extent_info): Ditto.
1512 (copy_extent): Ditto.
1513 * glyphs.c (allocate_image_instance): Ditto.
1514 (allocate_glyph): Ditto.
1515 * frame.c (allocate_frame_core): Ditto.
1516 * database.c (allocate_database): Ditto.
1517 * tooltalk.c (make_tooltalk_message): Ditto.
1518 (make_tooltalk_pattern): Ditto.
1519 * rangetab.c (Fmake_range_table): Ditto.
1520 (Fcopy_range_table): Ditto.
1521 * process.c (make_process_internal): Ditto.
1522 * chartab.c (Fmake_char_table): Ditto.
1523 (make_char_table_entry): Ditto.
1524 (copy_char_table_entry): Ditto.
1525 (Fcopy_char_table): Ditto.
1526 * elhash.c (make_general_lisp_hash_table): Ditto.
1527 (Fcopy_hash_table): Ditto.
1528 * buffer.c (allocate_buffer): Ditto.
1529 (complex_vars_of_buffer): Ditto.
1530 * event-stream.c (allocate_command_builder): Ditto.
1531 * objects.c (Fmake_color_instance): Ditto.
1532 (Fmake_font_instance): Ditto.
1533 (vars_of_objects): Ditto.
1534 * toolbar.c (update_toolbar_button): Ditto.
1535 * window.c (allocate_window): Ditto.
1536 (make_dummy_parent): Ditto.
1537 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1538 (vars_of_window): Fix make_lcrecord_list.
1539 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1541 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1542 * opaque.c (make_opaque): Fix alloc_lrecord.
1543 (make_opaque_list): Fix alloc_lrecord_type.
1545 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1547 * process.c (Fstart_process_internal): Ditto.
1549 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1552 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1554 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1557 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1558 (emodules_load): Use it when calling locate_file().
1560 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1563 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1564 (vars_of_callproc): Initialize it.
1565 (Fcall_process_internal): Use it when calling locate_file().
1567 * alloc.c (disksave_object_finalization): Use
1568 Flocate_file_clear_hashing().
1570 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1571 given `t' as argument.
1573 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1575 * lread.c (locate_file): Expand `pathel' when appropriate.
1576 (Flocate_file_clear_hashing): Expand path elements.
1577 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1579 * dired.c (make_directory_hash_table): Create the hash-table only
1580 if the directory open is successful.
1582 * lread.c (decode_mode_1): New function.
1583 (decode_mode): Ditto.
1584 (Flocate_file): Use them.
1585 (Flocate_file): Expand FILENAME.
1586 (locate_file_map_suffixes): New function.
1587 (locate_file_in_directory_mapper): New function.
1588 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1589 and locate_file_map_suffixes().
1590 (locate_file_construct_suffixed_files): Use
1591 locate_file_map_suffixes().
1592 (locate_file_without_hash): Don't GCPRO path.
1593 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1594 (syms_of_lread): Remove Qlocate_file_hash_table.
1595 (locate_file_find_directory_hash_table): Use
1596 Vlocate_file_hash_table.
1597 (locate_file_refresh_hashing): Ditto.
1599 * lread.c: Renamed read_objects to Vread_objects.
1601 1999-04-16 Olivier Galibert <galibert@pobox.com>
1603 * mule-charset.c: Generally resync with fsf 20.3 charset
1605 (make_charset): Add long and short name. Use id instead of
1607 (Fmake_charset): Ditto.
1608 (Fmake_reverse_direction_charset): Ditto.
1609 (Fcharset_property): Ditto.
1610 (Fcharset_short_name): Added.
1611 (Fcharset_long_name): Added.
1612 (Fcharset_description): Renamed from charset-doc-string.
1613 (syms_of_mule_charset): Synced symbols.
1614 (complex_vars_of_mule_charset): Synced charsets.
1616 * mule-charset.h: Removed leading byte (uses id instead), added
1617 short and long name.
1619 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1621 * file-coding.c (Fdefine_coding_system_alias): New function.
1623 1999-04-08 Olivier Galibert <galibert@pobox.com>
1625 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1626 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1628 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1630 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1631 attach to the extent is valid.
1633 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1635 * dired.c (user_name_completion): Mule-ize.
1636 (user_name_completion): Use xmalloc/xrealloc/xfree.
1637 (user_name_completion): Use DO_REALLOC.
1638 (user_name_completion): Cut down the number of static variables;
1640 (user_name_completion): Username completion is always
1643 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1645 * fns.c (base64_decode_1): Remove COUNTER.
1646 (base64_decode_1): Accept CRLF in addition to CR.
1647 (base64_decode_1): Disallow a stray character after final EOF; the
1648 check was probably a remnant of buggy recode code.
1650 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1652 * fns.c (init_provide_once): Provide `base64'.
1654 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1656 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1657 (Fbase64_encode_region): If buffer is read-only, bail out early.
1658 (Fbase64_decode_region): Ditto.
1659 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1661 (Fbase64_encode_string): Ditto.
1662 (Fbase64_decode_region): Ditto.
1663 (Fbase64_decode_string): Ditto.
1665 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1667 * dired.c (Fdirectory_files): Remove redundant code.
1669 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1671 * frame-msw.c Make raise-frame restore minimised windows.
1673 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1675 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1678 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1680 * toolbar-msw.c Consider captions when deciding whether to rebuild
1681 toolbar. This fixes the initial toolbar display for those of us
1682 who don't like captions. These patches applied by Andy Piper.
1684 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1686 * XEmacs 21.2.13 is released
1688 1999-03-12 SL Baur <steve@xemacs.org>
1690 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1692 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1694 * file-coding.c: docstring and comment improvements.
1695 (decode_ucs4) flag possible data loss with comment.
1697 1999-03-10 Martin Buchholz <martin@xemacs.org>
1699 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1703 (decode_coding_ucs4):
1704 (encode_coding_ucs4):
1705 (detect_coding_utf8):
1706 (decode_coding_utf8):
1708 (encode_coding_utf8):
1709 Add CHECK_* macros where needed to avoid crashes.
1710 #ifdef out all composite character support using
1711 #ifdef ENABLE_COMPOSITE_CHARS
1712 Use normal XEmacs coding standards.
1714 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1716 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1718 * file-coding.c (make-coding-system): Add description about
1719 `ucs-4' and `utf-8'.
1720 (detection_state): Modify to implement ucs-4 and utf-8.
1721 (detect_coding_type): Likewise.
1722 (detect_coding_ucs4): New implementation.
1723 (detect_coding_utf8): New implementation.
1724 (encode_utf8): fixed.
1725 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1728 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1730 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1731 2022 registry to private area.
1733 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1735 * file-coding.c (encode_utf8): New function.
1736 (encode_coding_utf8): New implementation.
1738 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1740 * file-coding.c (ucs_to_mule_table): New variable; abolish
1741 `Vucs_to_mule_table'
1742 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1743 (set-ucs-char): New function.
1744 (ucs_to_char): New function.
1745 (ucs-char): New function.
1746 (set-char-ucs): New function.
1747 (char-ucs): New function.
1748 (decode_ucs4): Use `ucs_to_char'.
1749 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1750 `mule-to-ucs-table'.
1752 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1754 * chartab.h: EXFUN `Fget_char_table'.
1756 * file-coding.c (encode_ucs4): New function.
1757 (encode_coding_ucs4): Use `encode_ucs4'.
1759 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1761 * file-coding.c (decode_coding_ucs4): New implementation.
1763 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1765 * file-coding.c (decode_coding_ucs4): fixed.
1767 * file-coding.c (Vmule_to_ucs_table): New variable.
1768 (mule_char_to_ucs4): New function.
1769 (encode_coding_ucs4): New implementation.
1770 (complex_vars_of_mule_coding): Define variable
1771 `mule-to-ucs-table'.
1773 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1775 * file-coding.c (decode_coding_utf8): New implementation.
1777 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1779 * file-coding.c (decode_coding_utf8): fixed.
1781 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1783 * file-coding.c (Vucs_to_mule_table): New variable.
1784 (decode_ucs4): Refer `Vucs_to_mule_table'.
1785 (complex_vars_of_mule_coding): Define variable
1786 `ucs-to-mule-table'.
1788 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1790 * file-coding.c (detect_coding_ucs4): New function (not
1792 (decode_coding_ucs4): New function.
1793 (encode_coding_ucs4): New function (not implemented yet).
1794 (detect_coding_utf8): New function (not implemented yet).
1795 (decode_coding_utf8): New function.
1796 (encode_coding_utf8): New function (not implemented yet).
1797 (make-coding-system): New type `ucs4' and `utf8'.
1798 (coding-system-type): Likewise.
1799 (detection_state): Add `ucs4' and `utf8'.
1800 (detect_coding_type): Likewise.
1801 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1802 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1803 (decode_ucs4): New function (very incomplete).
1804 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1806 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1808 1999-03-08 Martin Buchholz <martin@xemacs.org>
1811 (non_ascii_valid_char_p):
1812 (lookup_composite_char):
1813 (composite_char_string):
1814 (make-composite-char):
1815 (composite-char-string):
1816 (syms_of_mule_charset):
1817 (complex_vars_of_mule_charset):
1818 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1819 (CHAR_LEADING_BYTE):
1821 * file-coding.h (CODING_STATE_COMPOSITE):
1822 (CODING_STATE_ISO2022_LOCK):
1824 (LEADING_BYTE_COMPOSITE):
1825 * file-coding.c (struct iso2022_decoder):
1828 (parse_iso2022_esc):
1829 (encode_coding_iso2022):
1830 #ifdef out all composite character support using
1831 #ifdef ENABLE_COMPOSITE_CHARS
1833 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1835 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1837 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1838 way of `Fbase64_encode_region'.
1840 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1842 * fns.c (base64_encode_1): Don't add a newline at the tail.
1844 1999-03-08 Andy Piper <andy@xemacs.org>
1846 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1849 1999-03-07 Martin Buchholz <martin@xemacs.org>
1851 * console-stream.h (struct stream_console):
1852 * event-unixoid.c (event_stream_unixoid_select_console):
1853 (event_stream_unixoid_unselect_console):
1854 * print.c (Fexternal_debugging_output):
1855 * sysdep.c (reset_one_device):
1856 * console-stream.c (stream_init_console):
1857 (stream_delete_console):
1858 (allocate_stream_console_struct): move into stream_init_console.
1859 (free_stream_console_struct): move into stream_delete_console.
1860 Use `fd' only for file descriptors.
1861 Therefore, rename members of struct stream_console.
1863 * systime.h: Unix98 says sys/time.h should define select(), but
1864 some systems define that in unistd.h. So include that file always.
1866 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1867 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1868 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1870 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1874 Add #include <stdio.h>.
1875 Some versions of assert.h use printf() without #include'ing stdio.h
1877 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1878 (log_gcpro): Remove unused variable FRAME.
1879 (show_gcprohist): Ansify.
1880 Comment the #endif's
1882 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1883 after it's just been XtDestroy'ed!
1885 1999-02-18 Martin Buchholz <martin@xemacs.org>
1887 * opaque.c (print_opaque):
1891 Egcs 1.1.1 seems to have a bug where
1892 INTP (p->size_or_chain)
1893 will crash XEmacs. Fix by introducing intermediate variable.
1895 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1897 * dired.c (Fdirectory_files):
1898 (Ffile_name_completion):
1899 (Ffile_name_all_completions):
1900 (file_name_completion):
1901 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1902 avoid compiler warnings.
1903 - Fix up docstrings so that C variables match documentation.
1905 1999-03-05 Martin Buchholz <martin@xemacs.org>
1907 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1908 variables as small as possible to help out the compiler and the maintainer.
1910 * alloc.c: (disksave_object_finalization):
1911 Set all the *-load-path variables to
1912 nil, not just load-path itself. This gets the locate-file hash
1913 tables garbage collected BEFORE dump, and has the side effect of
1914 preventing crashes on OSF4.0+egcs.
1919 - Clean up gdb/dbx debugging support.
1920 - Storing an EMACS_INT in an enum is not 64-bit clean!
1921 - So change the enum to a set of separate variables.
1922 - Add test cases to help debug the debugging support!
1923 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1924 - Both dbx and gdb have been tested now.
1926 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1928 * XEmacs 21.2.12 is released
1930 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1932 * device-x.c: Support to find best visual without flashing.
1934 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1936 * database.c (berkdb_map): Add flags argument to cursor call (must
1937 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1939 1999-03-03 Martin Buchholz <martin@xemacs.org>
1943 General cleanup. Get free-hook.c working again.
1944 Remove unused functions:
1945 make_strings_hash_table, copy_hash, expand_hash_table.
1949 Always use new ANSI-style function prototypes.
1951 * unexalpha.c (unexec): Never use implicit int.
1953 * sgiplay.c (close_sound_file):
1955 (restore_audio_port):
1960 (write_mulaw_8_chunk):
1961 (write_linear_chunk):
1962 (write_linear_32_chunk):
1963 (initialize_audio_port):
1966 (set_output_format):
1967 (adjust_audio_volume):
1968 (get_current_volumes):
1970 Always use new ANSI-style function prototypes.
1971 Use unistd.h for missing prototypes.
1973 * unexelfsgi.c (round_up):
1975 (unexec): Always use new ANSI-style function prototypes
1977 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1979 * console.h (struct console_methods): Always use full ANSI prototypes
1981 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1983 1999-03-02 Andy Piper <andy@xemacs.org>
1985 * event-stream.c (init_event_stream): make sure native mswindows
1986 gets an appropriate event loop.
1988 1999-02-22 Andy Piper <andy@xemacs.org>
1990 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1991 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1992 (mswindows_raise_frame): remove comment.
1994 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1996 * XEmacs 21.2.11 is released
1998 1999-02-25 SL Baur <steve@xemacs.org>
2000 * mule-charset.c (Qleading_byte): New variable to implement
2001 charset-leading-byte function.
2002 (Fcharset_property): Use it.
2003 (syms_of_mule_charset): Initialize it.
2004 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2006 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2008 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2009 bytes per pixel counting.
2011 1999-02-15 Andy Piper <andy@xemacs.org>
2013 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2016 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2018 * fns.c (Fbase64_encode_string): New optional argument
2021 1999-02-16 Martin Buchholz <martin@xemacs.org>
2023 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2024 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2026 1999-02-10 Martin Buchholz <martin@xemacs.org>
2028 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2029 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2031 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2033 * XEmacs 21.2.10 is released
2035 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2037 * process-nt.c (nt_send_process):
2038 Fix for process-send-region/process-send-string breaking when size
2039 of the input > 128 chars: change maximum chunk size for process
2040 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2043 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2045 * XEmacs 21.2.9 is released
2047 1999-01-30 Martin Buchholz <martin@xemacs.org>
2049 * bytecode.c (funcall_compiled_function): Call
2050 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2052 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2053 #ifdef 0 out unused macro.
2055 1999-01-27 Martin Buchholz <martin@xemacs.org>
2057 * gui.c (gui_parse_item_keywords_internal): Make static.
2059 1999-01-21 Andy Piper <andy@xemacs.org>
2061 * glyphs-msw.c: add xface support.
2062 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2063 (image_instantiator_format_create_glyphs_mswindows): do device
2064 specific initialisation for xfaces.
2065 (xbm_create_bitmap_from_data): line data must be padded to a word
2068 * glyphs-x.c (xface_validate): moved to glyphs.c
2069 (xface_normalize): ditto.
2070 (xface_possible_dest_types): ditto.
2071 (image_instantiator_format_create_glyphs_x): do device specific
2072 initialisation for xfaces.
2074 * glyphs.h: declare xface symbol.
2076 * glyphs.c: move generic xface support here.
2077 (xface_validate): moved from glyphs-x.c
2078 (xface_normalize): ditto.
2079 (xface_possible_dest_types): ditto.
2080 (image_instantiator_format_create): xface declarations moved from
2083 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2085 * event-stream.c (vars_of_event_stream): Fixing documentation.
2087 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2089 * glyphs-eimage.c (gif_instantiate): Correct handling of
2090 interlaced gifs to avoid writing past the end of the eimage
2093 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2095 * search.c (Freplace_match): Handle single backslash at end of
2098 1999-01-12 William M. Perry <wmperry@aventail.com>
2100 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2101 avoid connection errors.
2103 1999-01-12 Andy Piper <andy@xemacs.org>
2105 * redisplay-output.c (redisplay_update_line): backout change that
2106 shouldn't have gone ine.
2108 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2110 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2111 collide with ldap.el
2113 1999-01-11 Andy Piper <andy@xemacs.org>
2115 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2116 (DISPLAY_LINE_YPOS): new macro.
2118 * redisplay-msw.c (mswindows_output_string): use it.
2119 (mswindows_output_pixmap): ditto.
2120 (mswindows_output_display_block): ditto.
2122 * redisplay-output.c (redisplay_output_display_block): new
2123 function. just call the devmeth, maybe insert some generic code
2125 (compare_display_blocks): use it.
2126 (output_display_line): ditto.
2127 (redisplay_unmap_subwindows_maybe): new function. potentially
2128 unmap subwindows in the given area.
2130 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2133 1999-01-10 J. Kean Johnston <jkj@sco.com>
2135 * Makefile.in.in: Set value of moduledir
2136 - Changed DUMPENV to include $(MODULEPATH)
2137 - Added install rule to install header files for use by ellcc.
2139 * config.h.in: Added INHIBIT_SITE_MODULES
2140 - Added HAVE__DLERROR
2141 - Added HAVE_DLFCN_H
2142 - Added DLSYM_NEEDS_UNDERSCORE
2146 * emodules.c: New file containing dynamic loading code.
2148 * emodules.h: New file.
2150 * emacs.c: Added variables Vmodule_directory,
2151 Vsite_module_directory, Vconfigure_module_directory and
2152 Vconfigure_site_module_directory.
2153 - (main_1): Added new variable inhibit_site_modules and command
2154 line options `-no-site-modules' and `--no-site-modules'.
2155 - (main_1): Call syms_of_module() instead of syms_of_dll().
2156 - (main_1): Call vars_of_module().
2157 - (vars_of_emacs): Introduce inhibit-site-modules,
2158 module-directory, configure-module-directory,
2159 site-module-directory, and configure-site-module-directory to the
2162 * lisp.h: Declare load_module and list_modules, as well as
2163 Vmodule_directory, Vsite_module_directory,
2164 Vconfigure_module_directory and Vconfigure_site_module_directory.
2166 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2167 - Added correct support for site-lisp directory.
2169 * symbols.c (defsubr): Modified to allow modules to add new subrs
2171 - (defsubr_macro): Same.
2172 - (defvar_magick): Only use purespace when not initialized, so
2173 that loaded modules can still add symbols.
2175 * symsinit.h: Add definitions for syms_of_module(),
2176 vars_of_module(). Removed syms_of_dll().
2178 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2179 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2180 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2182 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2183 explicitly pass -belf for native cc.
2185 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2186 hard-coding the library name.
2188 1999-01-01 <martin@xemacs.org>
2190 * device-x.c (Fx_set_font_path):
2191 Add proper cast to permit compilation under C++.
2193 * buffer.c (directory_is_current_directory):
2194 Add proper casts to permit compilation under C++.
2196 1998-12-30 Damon Lipparelli <lipp@primus.com>
2198 * event-msw.c (mswindows_wnd_proc):
2199 Fixed failure when building with MSVC 5.
2201 1998-12-29 Martin Buchholz <martin@xemacs.org>
2203 * file-coding.c (decode_coding_iso2022):
2204 - Prevent crash when decoding ISO7/Lock detected files
2205 - the usual martin fiddling
2207 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2211 Fixed failures when building with MSVC.
2212 * unexnt.c (dump_bss_and_heap):
2213 Removed compiler warning by removing bss_data variable.
2215 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2217 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2218 so that packages that distribute their own fonts can access them.
2220 1998-12-28 Andy Piper <andy@xemacs.org>
2222 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2223 that have an image provided.
2225 * glyphs.h: add Q_image decl.
2227 * glyphs-widget.c new functionality allowing images in
2229 (check_valid_glyph_or_image): new function to validate
2230 glyphs passed in through :image.
2231 (widget_normalize): new function. convert :image parameters into
2232 real glyphs if not already so.
2233 (widget_instantiate_1): mess with size parameters to be similar to
2235 (syms_of_glyphs_widget): new keyword :image.
2236 (image_instantiator_format_create_glyphs_widget): normalize
2237 buttons and allow :image.
2239 1998-12-27 Andy Piper <andy@xemacs.org>
2241 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2243 * glyphs-widget.c (check_valid_anything): no-op function.
2244 (check_valid_callback): check callbacks in gui_items.
2245 (check_valid_symbol): as it sounds.
2246 (check_valid_string_or_vector): ditto.
2247 (widget_validate): modified for descriptors that are vectors or
2248 sequences of keyword/val pairs.
2249 (widget_instantiate_1): ditto.
2250 (image_instantiator_format_create_glyphs_widget): allow gui_item
2251 keywords in the instantiator.
2253 * gui.c (gui_parse_item_keywords_internal): renamed from
2254 gui_parse_item_keywords but taking error behaviour.
2255 (gui_parse_item_keywords): use it.
2256 (gui_parse_item_keywords_no_errors): ditto.
2257 (gui_item_add_keyval_pair): add Error_behavior flag and only
2258 signal invalid keywords if required.
2260 * gui.h: new gui signatures.
2262 * menubar.c (menu_parse_submenu_keywords): use new
2263 gui_item_add_keyval_pair signature.
2265 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2267 1998-12-28 Martin Buchholz <martin@xemacs.org>
2269 * XEmacs 21.2.8 is released.
2271 1998-12-28 Martin Buchholz <martin@xemacs.org>
2273 * editfns.c (get_home_directory):
2274 (user-home-directory): Simplify.
2277 * callproc.c (child_setup):
2278 - Environment variables were being passed to inferior processes
2279 using internal encoding.
2280 - Convert to external encoding.
2281 - Rename local var `tem' to better name `tail'.
2282 - Use Flength instead of `manual' calculation.
2284 * buffer.c (kill-buffer):
2286 (set-buffer-major-mode):
2288 - Fix up parameter names to correspond to docstrings.
2289 - Don't use `bufname' when a buffer will do as well.
2290 - Remove one unneeded GCPRO.
2292 * buffer.h (initial_directory):
2293 * buffer.c (init_initial_directory):
2294 - use correct conversions between internal and external format.
2295 (directory_is_current_directory): new function
2296 (init_buffer): convert initial_directory to internal format.
2297 - solve crashes when current working directory is non-ASCII.
2299 * alloc.c (xmalloc):
2302 - remove stupid casts, since XEmacs requires an ANSI C system.
2303 (lrecord_type_index): replace abort() with more readable assert().
2305 (reset_lcrecord_stats): remove.
2306 (sweep_lcrecords_1):
2307 - replace call to reset_lcrecord_stats() with call to xzero().
2309 1998-12-27 Martin Buchholz <martin@xemacs.org>
2311 * process-unix.c (unix_create_process):
2312 - Fix crash invoking program with non-ASCII name.
2313 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2314 - Remove unused variable `env'.
2315 - Rename `temp' to better name `save_errno'.
2316 - Reorganize code for clarity. But still too chicken to nuke the
2319 1998-12-24 Martin Buchholz <martin@xemacs.org>
2321 * XEmacs 21.2.7 is released.
2323 1998-12-23 Martin Buchholz <martin@xemacs.org>
2325 * glyphs.c (decode_device_ii_format):
2327 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2329 * glyphs-x.c (x_subwindow_instantiate):
2330 - A image instance mask was being assigned to a image instance type!
2331 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2333 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2335 * glyphs-x.h: Make indentation consistent.
2337 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2339 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2341 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2345 Move declarations of decode_device_ii_format and
2346 decode_image_instantiator_format into glyphs.h where they belong.
2348 1998-12-22 Martin Buchholz <martin@xemacs.org>
2350 * frame-x.c (x_delete_frame): Revert part of my changes at the
2351 suggestion of Gunnar Evermann - unfortunately no one really
2352 understands this code.
2354 * callproc.c (init_callproc): code cleanup.
2356 * free-hook.c (malloc):
2361 (block_input_malloc):
2362 (block_input_realloc):
2363 * device-x.c (x_delete_device):
2364 * emacs.c (voodoo_free_hook):
2365 * events.c (print_event):
2367 (CHECK_EVENT_TYPE2):
2368 (CHECK_EVENT_TYPE3):
2369 Use proper prototypes.
2370 Make C_E_T macros a little faster.
2371 Pedantic fiddly little changes. You really don't care.
2373 1998-12-22 Andy Piper <andy@xemacs.org>
2375 * redisplay-output.c (redisplay_clear_region): make sure that
2376 fg/bg colors get set even when we are in the border area.
2378 1998-12-13 Martin Buchholz <martin@xemacs.org>
2380 * console-msw.c: Function definitions follow coding standards
2381 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2383 1998-12-11 Martin Buchholz <martin@xemacs.org>
2385 * events.h (struct timeout_data):
2386 * event-tty.c (tty_timeout_to_emacs_event):
2387 * event-msw.c (mswindows_wm_timer_callback):
2388 * event-Xt.c (Xt_timeout_to_emacs_event):
2389 * event-msw.c (mswindows_cancel_dispatch_event):
2390 Make sure Lisp_Objects inside events are initialized to Qnil, not
2391 Qnull_pointer, which is now illegal.
2393 1998-12-10 Martin Buchholz <martin@xemacs.org>
2395 * lisp.h: Fix up prototypes to match alloc.c
2397 1998-12-08 Martin Buchholz <martin@xemacs.org>
2399 * windowsnt.h: Remove `support' for using index and rindex
2401 * filelock.c (current_lock_owner):
2402 - Change uses of index -> strchr, rindex -> strrchr
2404 1998-12-07 Martin Buchholz <martin@xemacs.org>
2406 * sysdep.c (set_descriptor_non_blocking):
2407 Since O_NONBLOCK is now always #defined, make use of fcntl
2408 conditional on F_SETFL being defined.
2410 * console-msw.c (DHEADgER):
2419 - max_align_t should not be visible to the user of the
2421 - use Bufbyte instead of char
2422 - parens around (FOOP (obj)) are always redundant.
2423 If they were necessary, we should fix the macro instead.
2424 - Always use string_data(foo) instead of foo->data.
2427 1998-12-06 Martin Buchholz <martin@xemacs.org>
2429 * frame-msw.c (mswindows_init_frame_1):
2430 - use make_lisp_hash_table, not Fmake_hash_table
2434 * alloc.c (make_vector): remove travesty
2438 (make_bit_vector_internal):
2440 (make_bit_vector_from_byte_vector):
2442 - make vector_equal a little faster.
2443 - Don't use variable name `new'.
2444 - Use size_t instead of EMACS_INT.
2445 - usual Martin-style pointless bit-twiddling.
2451 Make mapcar faster. In particular, make
2452 (mapc #'identity long-string)
2453 MUCH faster under Mule.
2454 * tests/automated/lisp-tests.el: Test 'em!
2456 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2459 1998-12-01 Martin Buchholz <martin@xemacs.org>
2461 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2462 Qnil, not NULL, to initialize `null' Lisp_Objects.
2464 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2466 * specifier.c (display_table_validate): Update.
2468 * redisplay.c (create_text_block): Use them.
2470 * glyphs.c (display_table_entry): New function.
2471 (get_display_tables): Ditto.
2473 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2475 * eldap.c (toplevel): Mention that eldap.c compiles with
2477 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2478 (Fldap_search_internal): Ditto
2480 1998-12-11 Martin Buchholz <martin@xemacs.org>
2482 * event-msw.c (mswindows_cancel_dispatch_event):
2483 Gratuitous code prettification
2486 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2488 * fns.c (Fnconc): Fix use of wrong_type_argument().
2490 * floatfns.c (Ffloat): Fix docstring.
2491 (Ffloat): Fix use of wrong_type_argument().
2493 (extract_float): Ditto.
2498 1998-12-06 Martin Buchholz <martin@xemacs.org>
2500 * frame-msw.c (mswindows_init_frame_1):
2501 - use make_lisp_hash_table, not Fmake_hash_table
2505 * alloc.c (make_vector): remove travesty
2509 (make_bit_vector_internal):
2511 (make_bit_vector_from_byte_vector):
2513 - make vector_equal a little faster.
2514 - Don't use variable name `new'.
2515 - Use size_t instead of EMACS_INT.
2516 - usual Martin-style pointless bit-twiddling.
2522 Make mapcar faster. In particular, make
2523 (mapc #'identity long-string)
2524 MUCH faster under Mule.
2525 * tests/automated/lisp-tests.el: Test 'em!
2527 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2530 1998-12-02 Didier Verna <verna@inf.enst.fr>
2532 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2533 accelerator field to nil for labels.
2535 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2537 * menubar-msw.c (displayable_menu_item):
2538 Escape occurrences of '&' and support occurrences of the
2539 '%_' accelerator indicator in menus.
2541 1998-11-26 Didier Verna <verna@inf.enst.fr>
2543 * dired.c (Fdirectory_files): use make_string instead of
2544 make_ext_string on the filename. The conversion external->internal
2545 format is already done in sys_readdir.
2547 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2549 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2551 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2554 (Belatedly) added Kirill to list of file's authors.
2555 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2556 quit checking. WM_PAINT messages cause redisplay, but
2557 windows' states are not necessarily stable when this function
2560 1998-12-17 Andy Piper <andy@xemacs.org>
2562 * strftime.c (zone_name): CONSTify.
2564 1998-12-15 Andy Piper <andy@xemacs.org>
2566 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2567 (mswindows_widget_property): return Qunbound when no property available.
2568 (mswindows_button_property): ditto.
2569 (mswindows_combo_property): ditto.
2570 (mswindows_widget_set_property): ditto.
2572 * glyphs-widget.c (check_valid_item_list): use properties.
2574 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2576 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2577 (Fimage_instance_property): ditto.
2578 * glyphs-widget.c (widget_property): ditto.
2579 (widget_set_property): ditto.
2581 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2582 as setting the class cursor so that GC actually changes the
2585 * config.h: don't undef MAIL_USE_POP.
2587 1998-12-13 Andy Piper <andy@xemacs.org>
2590 (image_instantiator_format_create_glyphs_mswindows): line ->
2592 (mswindows_label_instantiate): ditto. Play with window flags.
2593 (image_instantiator_format_create_glyphs_mswindows): ditto.
2594 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2596 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2597 cope with lines and labels.
2598 (static_instantiate): use widget_instantiate_1.
2600 (image_instantiator_format_create_glyphs_widget): ditto.
2602 1998-12-10 Andy Piper <andy@xemacs.org>
2604 * Makefile.in.in (objs): add gui.o
2606 1998-12-10 Andy Piper <andy@xemacs.org>
2608 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2611 1998-12-09 Andy Piper <andy@xemacs.org>
2613 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2614 image instance is removed so that the subwindow cache gets reset
2615 and thus destroyed images get GC'd.
2617 1998-12-08 Andy Piper <andy@xemacs.org>
2619 * gui-msw.c (mswindows_handle_gui_wm_command): call
2620 MARK_SUBWINDOWS_CHANGED.
2622 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2623 subwindows really get deleted.
2625 * redisplay.c: new variable subwindows_changed[_set].
2626 (redisplay_window): use it.
2627 (redisplay_frame): ditto.
2628 (redisplay_device): ditto.
2629 (redisplay_without_hooks): ditto.
2631 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2632 subwindows redisplay as per glyphs equivalent.
2633 * redisplay.h: ditto.
2634 (MARK_SUBWINDOWS_CHANGED): ditto.
2635 (RESET_CHANGED_SET_FLAGS): ditto.
2636 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2638 1998-12-07 Andy Piper <andy@xemacs.org>
2640 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2643 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2645 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2646 messages and paint widget glyphs as appropriate with their face fg
2649 1998-12-06 Andy Piper <andy@xemacs.org>
2651 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2652 here rather than in glyphs-widget - do this because we only want
2653 to provide what is really available.
2655 * glyphs.c (Fimage_instance_property): new function to get the
2656 properties of image instances. wires through to console specific
2657 methods and then to widget specific methods.
2658 (Fset_image_instance_property): ditto but for setting widget properties.
2659 (check_valid_face): make extern so that it can be used elsewhere.
2661 * glyphs-widget.c (widget_property): new function. gets the
2662 properties of widgets in general and wires the function through to
2663 widget specific ones.
2664 (widget_set_property): ditto but for setting widget properties.
2666 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2667 add items to the list. Play with window styles a bit to get the
2669 (mswindows_widget_property): break out specific widget properties.
2670 (mswindows_button_property): new function. gets the checked state
2672 (mswindows_combo_property): new function. gets the current
2673 selection in the combo box.
2674 (mswindows_widget_set_property): new function. sets specific
2675 properties of specific widgets.
2677 * glyphs-widget.c (check_valid_item_list): new function. check
2678 that items for a combo-box are just a list of strings.
2679 (combo_validate): new function. check there is an item list.
2680 (widget_instantiate_1): new function. renamed from
2681 widget_instantiate so that we can do slightly different things for
2683 (widget_instantiate): call widget_instantiate_1.
2684 (combo_instantiate): new function to instantiate combo boxes,
2685 defaults height to the pixel height of the number of items in the
2687 (syms_of_glyphs_widget): move widget keywords here.
2688 (image_instantiator_format_create_glyphs_widget): use new combo
2691 1998-12-04 Andy Piper <andy@xemacs.org>
2693 * event-msw.c (mswindows_wnd_proc): mule-ize.
2695 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2697 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2698 (resource_name_to_resource): ditto.
2699 (mswindows_resource_instantiate): ditto.
2700 (mswindows_widget_instantiate): ditto.
2701 (mswindows_widget_set_property): ditto.
2703 * redisplay-output.c (redisplay_output_subwindow): don't show
2704 subwindows if they are obscured at the edge of the frame, emacs
2705 gets into some sort of redisplay loop otherwise.
2707 * gui.h: prototype gui_item_selected_p.
2709 * gui.c (gui_item_selected_p): new function to determine the
2710 selected state of a gui_item.
2712 * frame.h (struct frame): add subwindows_changed flag.
2714 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2716 * glyphs.c (update_subwindow): new function to update a
2718 (update_frame_subwindows): new function to update all the
2719 subwindows on a frame.
2721 * console.h (struct console_methods): add update_subwindow.
2723 * glyphs-msw.c (mswindows_widget_property): return selected state
2724 for selected property.
2725 (mswindows_update_subwindow): new function. updates widget glyphs
2726 in redisplay as per menubars or toolbars e.g. selected state.
2727 (console_type_create_glyphs_mswindows): add update_subwindow.
2729 1998-12-03 Andy Piper <andy@xemacs.org>
2731 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2732 tty coding system things are such.
2734 * glyphs-widget.c (widget_face_font_info): new function for
2735 pulling out height and width metrics for a widget's face.
2736 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2739 * event-msw.c (mswindows_drain_windows_queue): translate messages
2740 that are destined for subwindows. This makes edit fields interact
2741 with the keyboard correctly.
2742 nuke warnings by #ifndef'ing out stuff not required by msg select().
2744 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2745 macro defining the iiforma without the symbol required by widget.
2746 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2748 * general.c (syms_of_general): add Qwidget, Qselected.
2750 * faces.c (complex_vars_of_faces): add widget face inheriting from
2753 1998-11-09 Andy Piper <andy@xemacs.org>
2755 * window.h (struct window): add a cache of subwindows on a
2758 * window.c (mark_window): mark the subwindow_instance_cache.
2759 (allocate_window): initialise the subwindow instance_cache.
2761 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2762 instead of the devmeth.
2763 (x_clear_toolbar): ditto.
2765 * redisplay-x.c (x_output_display_block): call
2766 redisplay_output_subwindow for subwindows and widgets.
2768 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2769 types to do nothing for.
2771 * lisp.h: declare new widget/subwindow symbols.
2773 * glyphs.c (image_instantiate): cache subwindows on a per-window
2775 (subwindow_possible_dest_types): new function for subwindow dest
2777 (subwindow_instantiate): generic instantiation of a
2778 subwindow. specialised by device multi-methods.
2779 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2781 (Fimage_instance_subwindow_id): ditto.
2782 (Fresize_subwindow): ditto.
2783 (Fforce_subwindow_map): ditto.
2785 * glyphs-x.c (x_print_image_instance): remove subwindow
2786 stuff. Handled genrically in glyphs.c.
2787 (x_image_instance_equal): ditto.
2788 (x_image_instance_hash): ditto.
2789 (x_finalize_image_instance): delete subwindows when required.
2790 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2791 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2792 glyph-based, subwindow implementation.
2793 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2795 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2797 (x_unmap_subwindow): new function to unmap X subwindows.
2798 (x_map_subwindow): new function to map X subwindows.
2799 (x_subwindow_instantiate): new function to instantiate X
2801 (x_resize_subwindow): new function to resize X subwindows.
2802 (console_type_create_glyphs_x): add subwindow functions.
2803 (image_instantiator_format_create_glyphs_x): add device
2804 multi-methods for xpm, xbm and subwindow.
2806 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2807 (subwindow-width): ditto.
2808 (subwindow-height): ditto.
2810 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2811 generally instantiating ms subwindows. Used by
2812 mswindows_*_instantiate.
2813 (mswindows_edit_instantiate): instantiate an edit field on a
2816 1998-11-04 Andy Piper <andy@xemacs.org>
2818 * symsinit.h: declare new functions.
2820 * redisplay.h: declare new functions.
2822 * redisplay-x.c (x_output_display_block): call
2823 redisplay_clear_region rather than x_clear_region.
2824 (x_output_string): ditto.
2825 (x_output_pixmap): ditto.
2826 (x_clear_to_window_end): ditto.
2827 (x_output_eol_cursor): ditto.
2828 (x_clear_region): only do X specific things. other duties handled
2829 in redisplay_clear_region.
2831 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2832 duties moved to redisplay_clear_region.
2834 * redisplay-output.c (clear_left_border): use
2835 redisplay_clear_region instead of device method.
2836 (clear_right_border): ditto.
2837 (output_display_line): ditto.
2838 (redisplay_output_subwindow): ditto.
2839 (redisplay_clear_top_of_window): ditto.
2840 (redisplay_clear_region): perform duties previously handled by
2841 device methods. call the appropriate device method at the
2842 end. unmap subwindows if necessary.
2844 * redisplay-msw.c (mswindows_output_string): use
2845 redisplay_clear_region instead of mswindows_clear_region.
2846 (mswindows_clear_to_window_end): ditto.
2847 (mswindows_output_display_block): output subwindows when required.
2848 (mswindows_clear_region): only do mswindows specific things,
2849 everything else is now handled in redisplay_clear_region.
2851 * gui.h: add item id hash defines and declare function prototypes.
2853 * gui.c (mark_gui_item): new function for marking gui_items.
2854 (gui_item_hash): generic hash function for generating command ids
2857 * gui-msw.c: new file.
2858 (mswindows_handle_gui_wm_command): new function to handle widget
2861 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2863 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2864 (DEFINE_DEVICE_IIFORMAT): ditto.
2865 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2866 (struct Lisp_Image_Instance): add widget and subwindow data plus
2867 appropriate access functions.
2869 * glyphs.c (decode_device_ii_format): new function for decoding
2870 image instantiator functions based on a device type as well as an
2872 (decode_image_instantiator_format): just call
2873 decode_device_ii_format with nil device.
2874 (add_entry_to_device_ii_format_list): new function for per device
2876 (add_entry_to_image_instantiator_format_list): just call
2877 add_entry_to_device_ii_format_list with nil device.
2878 (check_valid_vector): new function.
2879 (instantiate_image_instantiator): instantiate using per-format
2880 method and then per-format-per-device method (device
2881 multi-methods). signal an error if neither is possible.
2882 (mark_image_instance): cope with subwindows and widgets.
2883 (print_image_instance): ditto.
2884 (image_instance_equal): ditto.
2885 (image_instance_hash): ditto.
2886 (allocate_glyph): ditto.
2887 (glyph_width): ditto.
2888 (glyph_height_internal): ditto.
2889 (xpm_instantiate): removed because of device multi-methods.
2890 (mark_subwindow_cachels): new cachel functions for caching
2891 instantiated subwindows on a per-frame basis. mostly copied from
2892 glyph cachel functions.
2893 (update_subwindow_cachel_data): ditto.
2894 (add_subwindow_cachel): ditto.
2895 (get_subwindow_cachel_index): ditto.
2896 (reset_subwindow_cachels): ditto.
2897 (mark_subwindow_cachels_as_not_updated): ditto.
2898 (unmap_subwindow): generic unmapping of subwindows based on cachel
2900 (map_subwindow): ditto.
2901 (initialize_subwindow_image_instance): generic initialisation of
2903 (syms_of_glyphs): add widget keywords.
2905 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2908 1998-11-04 Andy Piper <andy@xemacs.org>
2910 * glyphs-widget.c: new file for instantiating widget type glyphs.
2911 (widget_possible_dest_types): new general dest type function for
2913 (widget_validate): ditto.
2914 (initialize_widget_image_instance): ditto
2915 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2916 before handing on control to device multi-methods.
2917 (syms_of_glyphs_widget): new function.
2918 (image_instantiator_format_create_glyphs_widget): new function,
2919 added placeholders for button, edit, combo, scrollbar
2920 (vars_of_glyphs_widget): new function.
2922 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2923 storing window ids of widgets.
2925 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2926 deletion of widget and subwindow glyphs.
2927 (mswindows_unmap_subwindow): new device function for unmapping
2928 subwindows on a msw frame.
2929 (mswindows_map_subwindow): ditto.
2930 (mswindows_register_image_instance): register instantiated widgets
2931 with the widget hastable.
2932 (mswindows_button_instantiate): instantiate a button type widget
2934 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2936 (image_instantiator_format_create_glyphs_mswindows): add device
2937 multi-methods for xbm, xpm, subwindow, edit and button.
2939 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2940 information about subwindows visible on the current frame. used by
2941 redisplay_clear_region to unmap subwindows as required.
2943 * frame.c (mark_frame): mark subwindow_cachels.
2944 (allocate_frame_core): instantiate subwindow_cachels.
2946 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2949 * event-msw.c (mswindows_wnd_proc): add call to
2950 mswindows_handle_gui_wm_command to handle widget callbacks.
2952 * emacs.c (main_1): add calls to glyphs-widget initialisation
2955 * console.h (struct console_methods): add
2956 unmap/map_subwindow_method for use be redisplay_clear_region to
2957 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2958 with by image instantiator multi-methods. Add
2959 resize_subwindow_method.
2961 * console-stream.c (stream_clear_region): change signature to
2962 match new generic clear region function.
2964 * Makefile.in.in: add glyphs-widget.o to list of objects.
2966 * console-msw.h (struct mswindows_frame): add widget hashtable for
2967 wiring command ids to callbacks.
2969 1998-12-16 Andy Piper <andy@xemacs.org>
2971 * XEmacs 21.2.6 is released
2973 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2975 * md5.c (Fmd5): Correctly initiate string input stream.
2977 * Makefile.in.in (tests): Add md5-tests.el.
2979 1998-12-06 Martin Buchholz <martin@xemacs.org>
2982 * alloc.c (make_vector): remove travesty
2986 (make_bit_vector_internal):
2988 (make_bit_vector_from_byte_vector):
2990 - make vector_equal a little faster.
2991 - Don't use variable name `new'.
2992 - Use size_t instead of EMACS_INT.
2993 - usual Martin-style pointless bit-twiddling.
2999 Make mapcar faster. In particular, make
3000 (mapc #'identity long-string)
3001 MUCH faster under Mule.
3002 * tests/automated/lisp-tests.el: Test 'em!
3004 1998-12-06 Martin Buchholz <martin@xemacs.org>
3006 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3009 1998-12-13 Martin Buchholz <martin@xemacs.org>
3011 * console-msw.c: Function definitions follow coding standards
3012 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3014 1998-12-11 Martin Buchholz <martin@xemacs.org>
3016 * events.h (struct timeout_data):
3017 * event-tty.c (tty_timeout_to_emacs_event):
3018 * event-msw.c (mswindows_wm_timer_callback):
3019 * event-Xt.c (Xt_timeout_to_emacs_event):
3020 * event-msw.c (mswindows_cancel_dispatch_event):
3021 Make sure Lisp_Objects inside events are initialized to Qnil, not
3022 Qnull_pointer, which is now illegal.
3024 1998-12-10 Martin Buchholz <martin@xemacs.org>
3026 * lisp.h: Fix up prototypes to match alloc.c
3028 1998-12-09 Andy Piper <andy@xemacs.org>
3030 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3031 XSETINT for assigning lisp objects.
3033 1998-12-07 Martin Buchholz <martin@xemacs.org>
3036 * console-msw.c (DHEADER):
3045 - max_align_t should not be visible to the user of the
3047 - use Bufbyte instead of char
3048 - parens around (FOOP (obj)) are always redundant.
3049 If they were necessary, we should fix the macro instead.
3050 - Always use string_data(foo) instead of foo->data.
3052 1998-12-07 Martin Buchholz <martin@xemacs.org>
3054 * sysdep.c (set_descriptor_non_blocking):
3055 Since O_NONBLOCK is now always #defined, make use of fcntl
3056 conditional on F_SETFL being defined.
3058 1998-12-09 Andy Piper <andy@xemacs.org>
3060 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3061 that got removed in the merge
3063 1998-11-30 Greg Klanderman <greg@alphatech.com>
3065 * dired.c (vars_of_dired): bugfix for previous conditionalization
3066 of user-name-completion on non- Windows NT.
3068 1998-12-08 Martin Buchholz <martin@xemacs.org>
3070 * windowsnt.h: Remove `support' for using index and rindex
3072 * filelock.c (current_lock_owner):
3073 - Change uses of index -> strchr, rindex -> strrchr
3075 1998-12-06 Martin Buchholz <martin@xemacs.org>
3077 * frame-msw.c (mswindows_init_frame_1):
3078 - use make_lisp_hash_table, not Fmake_hash_table
3081 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3083 * XEmacs 21.2.5 is released
3085 1998-11-30 Martin Buchholz <martin@xemacs.org>
3087 * xselect.c (receive_incremental_selection):
3088 * xselect.c (x_get_window_property):
3089 * xmu.c (XmuReadBitmapDataFromFile):
3090 * xmu.c (XmuCursorNameToIndex):
3091 * xgccache.c (describe_gc_cache):
3092 * xgccache.c (gc_cache_lookup):
3093 * xgccache.c (free_gc_cache):
3094 * xgccache.c (make_gc_cache):
3096 * window.c (map_windows_1):
3097 * window.c (Fother_window_for_scrolling):
3098 * window.c (window_scroll):
3099 * window.c (change_window_height):
3100 * window.c (Fsplit_window):
3101 * window.c (window_left_gutter_width):
3102 * window.c (window_modeline_height):
3103 * window.c (invalidate_vertical_divider_cache_in_window):
3104 * window.c (window_needs_vertical_divider_1):
3105 * window.c (update_mirror_internal):
3106 * window.c (SET_LAST_FACECHANGE):
3107 * widget.c (Fwidget_plist_member):
3108 * unexec.c (copy_text_and_data):
3109 * unexcw.c (copy_executable_and_dump_data_section):
3111 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3112 * tooltalk.c (struct Lisp_Tooltalk_Message):
3113 * toolbar.h (struct toolbar_button):
3114 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3115 * toolbar.c (recompute_overlaying_specifier):
3116 * toolbar.c (toolbar_validate):
3117 * toolbar.c (toolbar_button_at_pixpos):
3118 * toolbar.c (get_toolbar_coords):
3119 * toolbar.c (update_frame_toolbars):
3121 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3122 * toolbar-msw.c (mswindows_find_toolbar_pos):
3123 * toolbar-msw.c (mswindows_output_toolbar):
3124 * toolbar-msw.c (mswindows_clear_toolbar):
3133 * sysdep.c (sys_fopen):
3134 * sysdep.c (sys_open):
3135 * sysdep.c (tty_init_sys_modes_on_device):
3136 * sysdep.c (get_eof_char):
3137 * sysdep.c (child_setup_tty):
3138 * sysdep.c (set_descriptor_non_blocking):
3140 * syntax.c (scan_words):
3143 * symeval.h (struct symbol_value_varalias):
3144 * symeval.h (struct symbol_value_forward):
3145 * symbols.c (syms_of_symbols):
3146 * symbols.c (init_symbols_once_early):
3147 * symbols.c (Fbuilt_in_variable_type):
3148 * symbols.c (Fsymbol_value_in_buffer):
3149 * symbols.c (default_value):
3151 * symbols.c (find_symbol_value_quickly):
3152 * symbols.c (store_symval_forwarding):
3153 * symbols.c (set_default_console_slot_variable):
3154 * symbols.c (set_default_buffer_slot_variable):
3155 * symbols.c (verify_ok_for_buffer_local):
3156 * symbols.c (symbol_is_constant):
3157 * symbols.c (oblookup):
3158 * symbols.c (Funintern):
3159 * symbols.c (Fintern):
3160 * symbols.c (check_obarray):
3162 * specifier.h (struct specifier_methods):
3164 * specifier.c (specifier_instance):
3165 * specifier.c (specifier_instance_from_inst_list):
3166 * specifier.c (decode_locale_type):
3167 * specifier.c (specifier_equal):
3168 * specifier.c (finalize_specifier):
3169 * specifier.c (prune_specifiers):
3170 * specifier.c (kill_specifier_buffer_locals):
3171 * sound.c (init_native_sound):
3174 * search.c (Fmatch_data):
3175 * search.c (match_limit):
3176 * search.c (Freplace_match):
3177 * search.c (skip_chars):
3178 * search.c (scan_buffer):
3180 * scrollbar.c (specifier_vars_of_scrollbar):
3181 * scrollbar.c (Fscrollbar_set_hscroll):
3182 * scrollbar.c (vertical_scrollbar_changed_in_window):
3183 * scrollbar.c (release_window_mirror_scrollbars):
3184 * scrollbar.c (free_scrollbar_instance):
3187 * s/msdos.h (O_BINARY):
3189 * s/freebsd.h (LIBS_TERMCAP):
3190 * regex.c (re_match_2_internal):
3191 * regex.c (compile_extended_range):
3192 * regex.c (POP_FAILURE_POINT):
3193 * regex.c (PUSH_FAILURE_POINT):
3194 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3196 * redisplay.h (struct display_line):
3197 * redisplay.h (struct rune):
3198 * redisplay.c (vars_of_redisplay):
3199 * redisplay.c (redisplay_variable_changed):
3200 * redisplay.c (UPDATE_CACHE_RETURN):
3201 * redisplay.c (validate_line_start_cache):
3202 * redisplay.c (mark_redisplay_structs):
3203 * redisplay.c (mark_glyph_block_dynarr):
3204 * redisplay.c (window_line_number):
3205 * redisplay.c (redisplay_frame):
3206 * redisplay.c (redisplay_window):
3207 * redisplay.c (generate_modeline):
3208 * redisplay.c (create_right_glyph_block):
3209 * redisplay.c (create_left_glyph_block):
3210 * redisplay.c (create_text_block):
3212 * redisplay-x.c (x_output_hline):
3213 * redisplay-x.c (x_output_vertical_divider):
3214 * redisplay-tty.c (tty_output_display_block):
3215 * redisplay-output.c (output_display_line):
3216 * redisplay-output.c:
3217 * redisplay-msw.c (mswindows_output_vertical_divider):
3218 * redisplay-msw.c (mswindows_ring_bell):
3219 * redisplay-msw.c (mswindows_output_cursor):
3223 * puresize.h (RAW_PURESIZE):
3224 * profile.c (syms_of_profile):
3225 * profile.c (Fstart_profiling):
3226 * profile.c (sigprof_handler):
3229 * process.c (vars_of_process):
3230 * process.c (read_process_output):
3231 * process.c (get_process):
3233 * process-unix.c (unix_open_multicast_group):
3234 * process-unix.c (unix_get_tty_name):
3235 * process-unix.c (unix_send_process):
3236 * process-unix.c (unix_reap_exited_processes):
3237 * process-unix.c (unix_create_process):
3238 * process-unix.c (unix_init_process_io_handles):
3239 * process-unix.c (allocate_pty):
3241 * process-nt.c (nt_open_network_stream):
3242 * process-nt.c (nt_update_status_if_terminated):
3243 * process-nt.c (nt_finalize_process_data):
3245 * print.c (debug_short_backtrace):
3246 * print.c (debug_backtrace):
3247 * print.c (print_symbol):
3248 * print.c (print_internal):
3249 * print.c (print_cons):
3250 * print.c (Fwrite_char):
3251 * print.c (print_prepare):
3252 * print.c (canonicalize_printcharfun):
3253 * print.c (output_string):
3256 * opaque.c (allocate_managed_opaque):
3258 * offix.c (DndSetData):
3259 * objects.c (face_boolean_create):
3260 * objects.c (font_instantiate):
3261 * objects.c (font_create):
3262 * objects.c (color_create):
3263 * objects.c (finalize_font_instance):
3264 * objects.c (finalize_color_instance):
3266 * objects-x.c (x_font_instance_truename):
3268 * objects-x.c (x_initialize_font_instance):
3269 * objects-x.c (allocate_nearest_color):
3270 * objects-tty.c (tty_initialize_font_instance):
3271 * objects-tty.c (tty_initialize_color_instance):
3272 * objects-msw.c (mswindows_initialize_color_instance):
3273 * ntproc.c (syms_of_ntproc):
3274 * ntproc.c (Fwin32_set_process_priority):
3275 * ntproc.c (sys_spawnve):
3277 * ntheap.c (get_data_end):
3281 * nt.c (generate_inode_val):
3282 * nt.c (sys_rename):
3284 * mule-wnnfns.c (Fwnn_hinsi_number):
3285 * mule-wnnfns.c (Fwnn_yuragi):
3286 * mule-wnnfns.c (Fwnn_common_learn):
3287 * mule-wnnfns.c (Fwnn_suffix_learn):
3288 * mule-wnnfns.c (Fwnn_prefix_learn):
3289 * mule-wnnfns.c (Fwnn_okuri_learn):
3290 * mule-wnnfns.c (Fwnn_complex_conv):
3291 * mule-wnnfns.c (Fwnn_last_is_first):
3292 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3293 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3294 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3295 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3296 * mule-wnnfns.c (Fwnn_hinsi_list):
3297 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3298 * mule-wnnfns.c (Fwnn_dict_search):
3299 * mule-wnnfns.c (Fwnn_word_toroku):
3300 * mule-wnnfns.c (Fwnn_hindo_update):
3301 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3302 * mule-wnnfns.c (Fwnn_kakutei):
3303 * mule-wnnfns.c (Fwnn_begin_henkan):
3304 * mule-wnnfns.c (Fwnn_dict_comment):
3305 * mule-wnnfns.c (Fwnn_dict_add):
3306 * mule-wnnfns.c (Fwnn_open):
3307 * mule-mcpath.c (mc_getcwd):
3308 * mule-coding.c (vars_of_mule_coding):
3309 * mule-coding.c (convert_to_external_format):
3310 * mule-coding.c (encoding_marker):
3311 * mule-coding.c (decoding_marker):
3312 * mule-coding.c (Fcopy_coding_system):
3313 * mule-coding.c (Fmake_coding_system):
3314 * mule-coding.c (Fcoding_system_list):
3315 * mule-coding.c (Ffind_coding_system):
3316 * mule-coding.c (symbol_to_eol_type):
3318 * mule-charset.c (complex_vars_of_mule_charset):
3319 * mule-charset.c (vars_of_mule_charset):
3320 * mule-charset.c (Fset_charset_ccl_program):
3321 * mule-charset.c (struct charset_list_closure):
3322 * mule-charset.c (Ffind_charset):
3323 * mule-charset.c (make_charset):
3324 * mule-charset.c (non_ascii_valid_char_p):
3326 * mule-ccl.c (ccl_driver):
3327 * mule-canna.c (c2mu):
3328 * mule-canna.c (Fcanna_henkan_begin):
3329 * mule-canna.c (Fcanna_parse):
3330 * mule-canna.c (Fcanna_store_yomi):
3331 * mule-canna.c (Fcanna_touroku_string):
3332 * mule-canna.c (Fcanna_initialize):
3334 * menubar.c (menu_parse_submenu_keywords):
3335 * menubar-x.c (make_dummy_xbutton_event):
3336 * menubar-x.c (set_frame_menubar):
3337 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3340 * menubar-msw.c (mswindows_popup_menu):
3341 * menubar-msw.c (mswindows_update_frame_menubars):
3342 * menubar-msw.c (mswindows_handle_wm_command):
3343 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3344 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3345 * menubar-msw.c (update_frame_menubar_maybe):
3346 * menubar-msw.c (populate_or_checksum_helper):
3347 * menubar-msw.c (empty_menu):
3350 * marker.c (set_marker_internal):
3351 * marker.c (print_marker):
3354 * lstream.c (lisp_buffer_rewinder):
3355 * lstream.c (mark_lstream):
3357 * lrecord.h (struct lrecord_header):
3358 * lread.c (readevalloop):
3359 * lread.c (locate_file):
3360 * lread.c (locate_file_in_directory):
3361 * lread.c (Flocate_file):
3362 * lread.c (load_force_doc_string_unwind):
3363 * lread.c (ebolify_bytecode_constants):
3368 * linuxplay.c (linux_play_data_or_file):
3369 * linuxplay.c (audio_init):
3372 * keymap.c (describe_map):
3373 * keymap.c (describe_map_mapper):
3374 * keymap.c (Fdescribe_bindings_internal):
3375 * keymap.c (Fsingle_key_description):
3376 * keymap.c (map_keymap_sorted):
3377 * keymap.c (get_relevant_keymaps):
3378 * keymap.c (Flookup_key):
3379 * keymap.c (raw_lookup_key_mapper):
3380 * keymap.c (Fdefine_key):
3381 * keymap.c (Fevent_matches_key_specifier_p):
3382 * keymap.c (key_desc_list_to_event):
3383 * keymap.c (define_key_parser):
3384 * keymap.c (define_key_check_and_coerce_keysym):
3385 * keymap.c (keymap_submaps):
3386 * keymap.c (keymap_store_internal):
3387 * keymap.c (keymap_delete_inverse_internal):
3388 * keymap.c (keymap_store_inverse_internal):
3389 * keymap.c (print_keymap):
3390 * keymap.c (Lisp_Keymap):
3393 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3394 * insdel.c (make_gap):
3395 * input-method-xlib.c (get_XIM_input):
3396 * input-method-xlib.c (XIM_init_frame):
3401 * gui-x.c (button_item_to_widget_value):
3402 * gui-x.c (popup_selection_callback):
3403 * glyphs.h (struct image_instantiator_methods):
3404 * glyphs.c (mark_glyph_cachels):
3405 * glyphs.c (Fglyph_type):
3406 * glyphs.c (image_instantiate):
3407 * glyphs.c (image_create):
3408 * glyphs.c (make_image_instance_1):
3409 * glyphs.c (finalize_image_instance):
3411 * glyphs-x.c (finalize_subwindow):
3412 * glyphs-x.c (xface_validate):
3413 * glyphs-x.c (x_locate_pixmap_file):
3414 * glyphs-x.c (convert_EImage_to_XImage):
3416 * glyphs-msw.c (mswindows_resource_instantiate):
3417 * glyphs-msw.c (xpm_to_eimage):
3418 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3419 * glyphs-eimage.c (tiff_instantiate):
3420 * glyphs-eimage.c (png_instantiate):
3421 * glyphs-eimage.c (struct png_error_struct):
3422 * glyphs-eimage.c (gif_memory_storage):
3425 * getloadavg.c (getloadavg):
3428 * free-hook.c (log_gcpro):
3429 * free-hook.c (check_malloc):
3430 * free-hook.c (check_free):
3431 * free-hook.c (ROUND_UP_TO_PAGE):
3433 * frame.h (struct frame):
3435 * frame.c (change_frame_size_1):
3436 * frame.c (allocate_frame_core):
3438 * frame-x.c (x_focus_on_frame):
3439 * frame-x.c (x_init_frame_2):
3440 * frame-x.c (x_popup_frame):
3441 * frame-x.c (xemacs_XtPopup):
3443 * frame-x.c (Foffix_start_drag_internal):
3444 * frame-x.c (x_cde_destroy_callback):
3445 * frame-x.c (x_wm_hack_wm_protocols):
3446 * frame-tty.c (tty_frame_visible_p):
3447 * frame-msw.c (mswindows_make_frame_invisible):
3448 * frame-msw.c (mswindows_after_init_frame):
3449 * frame-msw.c (mswindows_init_frame_1):
3450 * fns.c (syms_of_fns):
3451 * fns.c (Fbase64_decode_string):
3453 * fns.c (Ffillarray):
3454 * fns.c (Fobject_plist):
3456 * fns.c (Fcanonicalize_lax_plist):
3457 * fns.c (Fcanonicalize_plist):
3458 * fns.c (Fplist_remprop):
3459 * fns.c (Fplist_get):
3460 * fns.c (advance_plist_pointers):
3461 * fns.c (internal_plist_put):
3462 * fns.c (Fnreverse):
3465 * fns.c (Fsubstring):
3466 * fns.c (Fbvconcat):
3468 * fns.c (length_with_bytecode_hack):
3469 * fns.c (print_bit_vector):
3471 * floatfns.c (Ffloor):
3473 * floatfns.c (in_float_error):
3474 * fileio.c (Ffile_modes):
3475 * fileio.c (Fexpand_file_name):
3476 * fileio.c (Fmake_temp_name):
3477 * fileio.c (Ffile_name_nondirectory):
3478 * fileio.c (Ffile_name_directory):
3480 * file-coding.c (vars_of_mule_coding):
3481 * file-coding.c (convert_to_external_format):
3482 * file-coding.c (encoding_marker):
3483 * file-coding.c (decoding_marker):
3484 * file-coding.c (Fcopy_coding_system):
3485 * file-coding.c (Fmake_coding_system):
3486 * file-coding.c (struct coding_system_list_closure):
3487 * file-coding.c (Ffind_coding_system):
3488 * file-coding.c (symbol_to_eol_type):
3490 * faces.h (struct face_cachel):
3491 * faces.c (vars_of_faces):
3492 * faces.c (face_property_was_changed):
3493 * faces.c (mark_face_cachels):
3494 * faces.c (temporary_faces_list):
3495 * faces.c (struct face_list_closure):
3497 * extents.h (struct extent):
3498 * extents.c (vars_of_extents):
3499 * extents.c (struct copy_string_extents_1_arg):
3500 * extents.c (add_string_extents_mapper):
3501 * extents.c (Fextent_property):
3502 * extents.c (Fset_extent_property):
3503 * extents.c (symbol_to_glyph_layout):
3504 * extents.c (properties_equal):
3505 * extents.c (print_extent):
3506 * extents.c (print_extent_1):
3507 * extents.c (extent_in_region_p):
3508 * extents.c (gap_array_make_gap):
3510 * events.h (struct Lisp_Event):
3512 * events.c (Fevent_properties):
3513 * events.c (format_event_object):
3514 * events.c (Fmake_event):
3515 * events.c (event_equal):
3516 * events.c (print_event):
3517 * events.c (mark_event):
3518 * event-stream.c ((read-char)
3519 * event-stream.c (vars_of_event_stream):
3520 * event-stream.c (syms_of_event_stream):
3521 * event-stream.c (Fset_recent_keys_ring_size):
3522 * event-stream.c (Fsit_for):
3523 * event-stream.c (Fnext_event):
3524 * event-stream.c (execute_help_form):
3525 * event-stream.c (maybe_kbd_translate):
3527 * event-msw.c (vars_of_event_mswindows):
3528 * event-msw.c (mswindows_wnd_proc):
3529 * event-msw.c (mswindows_need_event):
3530 * event-msw.c (mswindows_drain_windows_queue):
3531 * event-msw.c (mswindows_pump_outstanding_events):
3533 * event-msw.c (slurp_thread):
3534 * event-msw.c (struct ntpipe_slurp_stream):
3535 * event-msw.c (HANDLE_TO_USID):
3536 * event-Xt.c (emacs_Xt_handle_magic_event):
3537 * event-Xt.c (x_event_to_emacs_event):
3538 * event-Xt.c (x_reset_modifier_mapping):
3539 * event-Xt.c (x_reset_key_mapping):
3541 * eval.c (syms_of_eval):
3542 * eval.c (warn_when_safe):
3543 * eval.c (warn_when_safe_lispobj):
3544 * eval.c (Fbacktrace_frame):
3545 * eval.c (Fbacktrace):
3546 * eval.c (top_level_set):
3547 * eval.c (unbind_to_hairy):
3548 * eval.c (specbind_magic):
3549 * eval.c (specbind_unwind_wasnt_local):
3550 * eval.c (call2_trapping_errors):
3551 * eval.c (call1_trapping_errors):
3552 * eval.c (catch_them_squirmers_call2):
3553 * eval.c (call0_trapping_errors):
3554 * eval.c (run_hook_trapping_errors):
3555 * eval.c (catch_them_squirmers_eval_in_buffer):
3556 * eval.c (call4_in_buffer):
3557 * eval.c (call3_in_buffer):
3558 * eval.c (call2_in_buffer):
3559 * eval.c (call1_in_buffer):
3560 * eval.c (call0_in_buffer):
3561 * eval.c (run_hook):
3562 * eval.c (run_hook_with_args_in_buffer):
3565 * eval.c (do_autoload):
3566 * eval.c (un_autoload):
3567 * eval.c (Fautoload):
3568 * eval.c (Finteractive_p):
3569 * eval.c (Fcommand_execute):
3570 * eval.c (signal_quit):
3571 * eval.c (call_with_suspended_errors):
3572 * eval.c (signal_error):
3573 * eval.c (return_from_signal):
3574 * eval.c (Fcall_with_condition_handler):
3575 * eval.c (run_condition_case_handlers):
3576 * eval.c (condition_case_1):
3577 * eval.c (Funwind_protect):
3578 * eval.c (unwind_to_catch):
3579 * eval.c (internal_catch):
3580 * eval.c (Fmacroexpand_internal):
3581 * eval.c (Fuser_variable_p):
3582 * eval.c (Fdefconst):
3584 * eval.c (Ffunction):
3585 * eval.c (signal_call_debugger):
3586 * eval.c (call_debugger):
3589 * emacs.c (sort_args):
3593 * editfns.c (Fencode_time):
3594 * editfns.c (Fdecode_time):
3595 * editfns.c (Fuser_full_name):
3597 * editfns.c (save_excursion_restore):
3600 * doprnt.c (emacs_doprnt_1):
3601 * doc.c (verify_doc_mapper):
3602 * doc.c (Fsnarf_documentation):
3603 * doc.c (Fdocumentation):
3605 * dired.c (user_name_completion):
3606 * dired.c (Fdirectory_files):
3609 * dgif_lib.c (FreeSavedImages):
3610 * dgif_lib.c (DGifGetImageDesc):
3612 * device.h (struct device):
3613 * device.c (Fselect_device):
3614 * device.c (allocate_device):
3616 * device-x.c (Fx_keysym_on_keyboard_p):
3617 * device-x.c (Fx_valid_keysym_name_p):
3618 * device-x.c (x_IO_error_handler):
3619 * device-x.c (x_delete_device):
3620 * device-x.c (x_finish_init_device):
3621 * device-x.c (x_init_device):
3623 * device-msw.c (mswindows_init_device):
3625 * database.c (vars_of_database):
3626 * database.c (Fput_database):
3627 * database.c (Fopen_database):
3628 * database.c (berkdb_remove):
3629 * database.c (berkdb_put):
3630 * database.c (Fdatabasep):
3631 * database.c (print_database):
3633 * data.c (vars_of_data):
3634 * data.c (syms_of_data):
3635 * data.c (init_errors_once_early):
3636 * data.c (prune_weak_lists):
3637 * data.c (finish_marking_weak_lists):
3638 * data.c (print_weak_list):
3640 * data.c (Fstring_to_number):
3641 * data.c (Fnumber_to_string):
3642 * data.c (Findirect_function):
3645 * data.c (Fsubr_interactive):
3647 * data.c (Fkeywordp):
3650 * console.h (CONSOLE_NAME):
3652 * console.c (vars_of_console):
3653 * console.c (Fselect_console):
3655 * console-x.h (DEVICE_X_COLORMAP):
3656 * console-x.h (struct x_device):
3657 * console-x.c (x_device_to_console_connection):
3658 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3659 * console-tty.c (tty_init_console):
3661 * console-msw.h (struct mswindows_frame):
3664 * cmds.c (internal_self_insert):
3665 * cmds.c (Fforward_line):
3666 * cmds.c (Fforward_char):
3669 * chartab.c (mark_char_table_entry):
3671 * casefiddle.c (casify_word):
3672 * callproc.c (child_setup):
3673 * callproc.c (Fcall_process_internal):
3675 * callint.c (Fcall_interactively):
3677 * bytecode.c (execute_rare_opcode):
3678 * bytecode.c (execute_optimized_program):
3681 * buffer.h (BUFFER_REALLOC):
3682 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3683 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3685 * buffer.h (MAP_INDIRECT_BUFFERS):
3686 * buffer.h (CHECK_LIVE_BUFFER):
3687 * buffer.c (init_initial_directory):
3688 * buffer.c (complex_vars_of_buffer):
3689 * buffer.c (vars_of_buffer):
3690 * buffer.c (finish_init_buffer):
3691 * buffer.c (Fget_file_buffer):
3692 * buffer.c (Fbuffer_list):
3693 * buffer.c (mark_buffer):
3694 * balloon_help.c (balloon_help_move_to_pointer):
3695 * balloon_help.c (show_help):
3698 * alloc.c (garbage_collect_1):
3699 * alloc.c (sweep_strings):
3700 * alloc.c (sweep_compiled_functions):
3701 * alloc.c (sweep_bit_vectors_1):
3702 * alloc.c (sweep_vectors_1):
3703 * alloc.c (sweep_lcrecords_1):
3704 * alloc.c (tick_lcrecord_stats):
3705 * alloc.c (pure_string_sizeof):
3706 * alloc.c (mark_conses_in_list):
3707 * alloc.c (mark_object):
3708 * alloc.c (report_pure_usage):
3709 * alloc.c (make_pure_float):
3710 * alloc.c (make_pure_string):
3711 * alloc.c (free_managed_lcrecord):
3712 * alloc.c (mark_string):
3713 * alloc.c (noseeum_make_marker):
3714 * alloc.c (allocate_event):
3715 * alloc.c (Fbit_vector):
3716 * alloc.c (Fvector):
3717 * alloc.c (make_float):
3718 * alloc.c (Fmake_list):
3720 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3721 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3722 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3723 * alloc.c (dbg_constants):
3724 * alloc.c (gc_record_type_p):
3725 * alloc.c (free_lcrecord):
3726 * alloc.c (xmalloc):
3727 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3729 * Makefile.in.in (mostlyclean):
3730 * Makefile.in.in (external_client_xlib_objs_nonshared):
3731 * Makefile.in.in (temacs_link_args):
3732 * Makefile.in.in (release):
3733 * Makefile.in.in (dnd_objs):
3734 * Makefile.in.in (objs):
3735 * Makefile.in.in (PROGNAME):
3736 * EmacsShell.c: cast strings to (XtPointer)
3737 * EmacsFrame.c: cast strings to (XtPointer)
3739 - rewrite basic lisp functions for speed
3740 - rewrite bytecode interpreter for speed
3741 - rewrite list looping constructs for speed and safety using
3743 - use size_t where appropriate.
3744 - new hashtable implementation
3745 - cleanup implementation of opaques
3746 - opaques can now be purecopy'ed
3747 - move some cl functionality into C for speed.
3748 - remove last remaining VMS support
3750 - improve gdb/dbx debugger support
3751 - move pure.c back into alloc.c for performance
3752 - enable report_pure_usage() if --memory-usage-stats
3753 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3754 - don't use symbols with leading `_' or embedded `__'
3755 - globally cleanup duplicated semicolons `;;'
3756 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3758 - globally replace O_NDELAY with O_NONBLOCK.
3759 - globally replace CDISABLE with _POSIX_VDISABLE.
3760 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3761 - define (and maybe use!) STDERR_FILENO and friends.
3762 - add support for macros defined in C
3763 - `when', `unless', `not' and `defalias' now defined in C,
3764 so that they are universally available.
3765 - rename defvar_mumble to defvar_magic
3766 - rename RETURN__ to RETURN_SANS_WARNINGS
3767 - use consistent style of initial caps in error messages
3768 - implement last, butlast, nbutlast, copy-list in C.
3769 - provide typedefs for all struct Lisp_foo types
3770 - Lisp_Objects must be initialized to Qnil rather than 0.
3771 - make sure XEmacs runs (slowly) with always_gc == 1;
3772 - fast and safe LOOP_* macros
3773 - change calls to XSETOBJ to XSETFOO
3774 - replace calls to XSETINT by make_int()
3775 - plug up memory leaks
3776 - use style markobj (foo), not silly ((markobj) (foo))
3777 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3779 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3781 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3783 1998-11-28 SL Baur <steve@altair.xemacs.org>
3785 * XEmacs 21.2-beta4 is released.
3787 1998-11-27 SL Baur <steve@altair.xemacs.org>
3789 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3790 property in control-1 charset.
3791 From Julian Bradfield <jcb@daimi.au.dk>
3793 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3795 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3797 Add stub for :label.
3799 * gui.c (gui_item_add_keyval_pair): ditto.
3801 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3802 :key-sequence keyword.
3804 Support :active for submenus like the Windows code and FSF Emacs.
3806 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3808 * dired.c (make_directory_hash_table): make_string() is OK because
3809 readdir() Mule-encapsulates.
3811 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3813 * fns.c (Fbase64_encode_string): Fix docstring.
3814 (Fbase64_decode_string): Ditto.
3816 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3818 * editfns.c (Ftranslate_region): Use
3819 convert_bufbyte_string_into_emchar_string().
3821 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3823 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3825 (Ftranslate_region): Turn table into an array of Emchars for
3828 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3830 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3832 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3834 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3835 type `char' with nils.
3837 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3838 for tables of type `char'.
3840 1998-11-26 Didier Verna <verna@inf.enst.fr>
3842 * input-method-xlib.c (Initialize_Locale): don't call
3843 XtSetLanguageProc. We've done the whole work here.
3844 * input-method-xfs.c (Initialize_Locale): ditto.
3845 * input-method-motif.c (Initialize_Locale): ditto.
3847 1998-11-26 Didier Verna <verna@inf.enst.fr>
3849 * process-unix.c (unix_create_process): handle properly
3850 Vfile_name_coding_system for converting the program and directory
3853 1998-11-27 SL Baur <steve@altair.xemacs.org>
3855 * m/arm.h: New file.
3856 From James LewisMoss <dres@ioa.com>
3858 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3861 Fix the realpath() problem of UnixWare2.1.3.
3862 Patches for NEC's sysv4.2 machine.
3864 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3866 * dired.c (Fdirectory_files): Remove redundant code.
3868 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3870 * fns.c (free_malloced_ptr): New function.
3871 (XMALLOC_OR_ALLOCA): New macro.
3872 (XMALLOC_UNBIND): Ditto.
3873 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3874 to be freed in case of non-local exit.
3875 (Fbase64_encode_string): Ditto.
3876 (Fbase64_decode_region): Ditto.
3877 (Fbase64_decode_string): Ditto.
3878 (STORE_BYTE): New macro.
3879 (base64_decode_1): Use it.
3881 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3883 * fns.c (base64_value_to_char): Base64 stuff.
3885 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3887 * editfns.c (Fbuffer_substring): New function.
3889 * lisp.h: Declare make_string_from_buffer_no_extents().
3891 * insdel.c (make_string_from_buffer_1): New function.
3892 (make_string_from_buffer_no_extents): Ditto.
3894 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3896 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3897 sound work on AIX with OSS installed. Linux should still work.
3899 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3901 * config.h.in: name change for cygwin/version.h
3903 * configure.in: check for cygwin/version.h now.
3905 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3906 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3907 move cygwin32/version.h to cygwin/version.h
3909 1998-11-03 Olivier Galibert <galibert@pobox.com>
3911 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3914 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3916 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3917 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3918 enable BROKEN_SIGIO under b20 to make QUIT work.
3920 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3922 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3923 to fit within the constraints of the screen size. I.e. make the
3924 frame small enough to fit and move it if some of it will be
3927 1998-10-19 Greg Klanderman <greg@alphatech.com>
3929 * dired.c: conditionalize inclusion of user-name-completion
3930 primitives on non-Windows NT. The needed functions don't exist on NT.
3932 1998-11-24 SL Baur <steve@altair.xemacs.org>
3934 * gifrlib.h: Clean up types for 64 bit compile.
3935 * dgif_lib.c (DGifInitRead): Ditto.
3936 (MakeSavedImage): Ditto.
3937 * emacs.c (decode_path): Ditto.
3938 From Steve Carney <carney@pa.dec.com>
3940 1998-10-16 William M. Perry <wmperry@aventail.com>
3942 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3943 (cehckboxes instead of checkboxes).
3945 1998-10-15 SL Baur <steve@altair.xemacs.org>
3947 * XEmacs 21.2-beta3 is released.
3949 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3951 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3952 gnuclient. Otherwise, we run xemacs as we always did. This gets
3953 rid of the annoying DOS window when running gnuclient.
3955 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3957 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3958 HAVE_MS_WINDOWS typo.
3960 1998-10-13 SL Baur <steve@altair.xemacs.org>
3962 * process-unix.c (unix_send_process): Set closed flag on writable
3963 pipe after SIGPIPE is received and before we call deactivate_process.
3965 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3967 * window.c (Fset_window_start): respect narrowing when
3968 checking wheter start is at the beginning of a line.
3969 (Fset_window_buffer): Ditto
3970 Fixes repeatable crash in VM.
3972 1998-10-09 SL Baur <steve@altair.xemacs.org>
3974 * window.c (specifier_vars_of_window): Set default vertical
3975 divider width to 1 on ttys.
3977 1998-10-08 Martin Buchholz <martin@xemacs.org>
3982 Add <stddef.h> to get ptrdiff_t declaration
3984 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3986 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3987 is used for Motif or Lucid scrollbars under X.
3989 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3991 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3994 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3996 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3998 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4000 * s/cygwin32.h: more cygwin b20 reorganisation.
4002 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4004 * nas.c: Added necessary support functions to be able to handle
4005 WAVE files in memory, just like the support for SND files in
4008 1998-09-30 SL Baur <steve@altair.xemacs.org>
4010 * callproc.c (child_setup): Fix spelling typo.
4012 1998-09-29 SL Baur <steve@altair.xemacs.org>
4014 * XEmacs 21.2-beta2 is released.
4016 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4018 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4019 to prevent memory corruption in the case of jumping out of a series of
4020 nested match patterns. This is a rather brute force approach, though.
4022 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4024 * config.h.in: ditto.
4026 * s/cygwin32.h: rearrange declarations to cope with cygwin
4027 b20. Include cygwin32/version.h if it exists.
4029 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4031 * device-msw.c (mswindows_init_device): Call new
4032 mswindows_enumerate_fonts() function in objects-msw.c instead
4033 of font_enum_callback_1() to enumerate fonts.
4035 font_enum_callback_1() and _2() moved to objects-msw.c.
4037 * faces.c (complex_vars_of_faces): Make the mswindows default
4038 face font fully specified and provide some fallbacks.
4040 * objects-msw.c: font_enum_callback_1() and _2() moved here
4041 from objects-msw.c. Obtain the enumerated font's character
4042 sets by table lookup instead of using the locale-specific
4043 string provided by Windows.
4045 New public non-method mswindows_enumerate_fonts() that fills
4046 in the supplied mswindows device's font list.
4048 mswindows_initialize_font_instance: Use the supplied name
4049 variable instead of f->name when signalling errors. Match font
4050 weights and character sets using lookup tables which handle
4051 spaces instead of by frobbing.
4053 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4055 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4056 on the size of code fragments passed to run_in_other_process.
4058 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4059 the amount of memory to allocate in the other process.
4061 Removed sigkill_code_end(), sigint_code_end() and
4062 sig_enable_code_end() since they are now redundant.
4064 send_signal() and enable_child_signals(): Don't try to work
4065 out the end of the code fragments passed to
4066 run_in_other_process()
4068 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4070 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4073 * src/unexelf.c: Partially synched with FSF's 20.3.
4075 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4077 * insdel.c (signal_after_change): Map across indirect buffers
4078 here, and not in the upper-level functions.
4079 (signal_first_change): Don't check for Armageddon.
4080 (signal_before_change): Map across indirect buffers here.
4081 (prepare_to_modify_buffer): ...and here.
4083 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4085 * insdel.c (signal_after_change): Add return value.
4086 (buffer_insert_string_1): Use it.
4087 (buffer_delete_range): Ditto.
4088 (buffer_replace_char): Ditto.
4089 (cancel_multiple_change): Map the indirect buffers.
4091 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4093 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4094 (uninit_buffer_text): Ditto.
4096 * buffer.c (Fmake_indirect_buffer): Implement stricter
4099 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4101 * insdel.c (change_function_restore): Reverse order of
4102 function-call and assignment.
4103 (first_change_hook_restore): Ditto.
4105 * extents.c (mark_extent_auxiliary): Mark them.
4106 (Fset_extent_property): Set them.
4107 (Fextent_property): Get them.
4108 (Fextent_properties): Ditto.
4109 (vars_of_extents): Set their default.
4111 * extents.h (struct extent_auxiliary): Add before_change_functions
4112 and after_change_functions.
4114 * insdel.c (signal_before_change): Use it.
4115 (signal_after_change): Ditto.
4117 * extents.c (report_extent_modification): New function.
4119 * insdel.c (signal_before_change): Don't check for Armageddon.
4120 (signal_after_change): Ditto.
4122 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4124 * redisplay.c (redisplay_window): make sure a new starting point
4125 is chosen if it somehow got moved from the beginning of the line
4126 -- this can happen because Fwiden was called recently.
4128 * window.c (Fset_window_start): set start_at_line_beg correctly
4129 (Fset_window_buffer): Ditto
4131 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4133 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4134 (uninit_buffer_text): Ditto.
4136 * buffer.c (Fmake_indirect_buffer): Implement stricter
4139 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4141 * emacs.c (main_1): Removed references to *vars_of_filelock.
4143 * lisp.h: Added Fsystem_name.
4145 * filelock.c: Replaced by version from FSF 20.2. Now implements
4146 locking by using symlinks which is NFS safe. However keep the
4147 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4148 version (and of course use ansi C, acessor macros, etc).
4150 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4152 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4153 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4154 in init_signals_very_early. However these should not be passed
4155 on to children attached to the new pty.
4157 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4159 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4161 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4163 * fileio.c (file-name-directory, file_name_as_directory):
4164 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4166 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4168 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4170 * ralloc.c: uncomment __morecore.
4172 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4174 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4175 WriteFile() to fix a winsock 1.x bug on Win95.
4177 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4179 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4181 (x_event_to_emacs_event): Ditto.
4182 (emacs_Xt_handle_focus_event): Ditto.
4183 (emacs_Xt_handle_magic_event): Ditto.
4185 * console-x.h (struct x_device): New flag being_deleted.
4186 (DEVICE_X_BEING_DELETED): New macro.
4188 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4189 returning. Before doing that, set the being_deleted flag on the
4192 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4194 * device-x.c (x-seppuku-on-epipe): Removed.
4196 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4198 * frame-x.c (x_delete_frame): Flush the X output buffer after
4199 calling XtDestroyWidget to ensure that the windows are really
4202 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4204 * menubar-x.c (my_run_hook): New unused function.
4205 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4206 since we ignore the results of the contained functions anyway.
4208 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4210 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4211 interlaced GIF files that are smaller than 4 lines high...
4213 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4215 * buffer.c (map_over_sharing_buffers): Deleted.
4217 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4219 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4222 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4224 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4226 (buffer_delete_range): Ditto.
4228 * marker.c (init_buffer_markers): Set point-marker to the value of
4229 point in an indirect buffer.
4231 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4233 * undo.c (undo_prelude): Test last-undo-buffer against base
4236 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4238 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4240 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4242 * insdel.c (init_buffer_text): Initialize it here.
4244 * line-number.c: Address line_number_cache through buffer->text.
4246 * buffer.c (mark_buffer): Mark line number cache.
4248 * bufslots.h (line_number_cache): Move to struct buffer_text.
4250 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4251 across the children buffers.
4252 (buffer_delete_range): Ditto.
4253 (buffer_replace_char): Ditto.
4257 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4259 * buffer.c (Fmake_indirect_buffer): Uncomment.
4261 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4263 * macros.c (Fend_kbd_macro): Remove trailing period from error
4265 (Fexecute_kbd_macro): Ditto.
4267 1998-08-21 Greg Klanderman <greg@alphatech.com>
4269 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4270 (Fuser_name_completion_1): new function to return uniqueness
4271 indication in addition to the user name completion.
4272 (user_name_completion): change type of `uniq' argument.
4274 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4276 * lread.c (vars_of_lread): Removed `source-directory' variable.
4278 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4280 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4283 1998-08-19 SL Baur <steve@altair.xemacs.org>
4285 * dired.c (vars_of_dired): Fix misapplied patch.
4287 1998-08-16 Martin Buchholz <martin@xemacs.org>
4289 * fns.c (Fremrassq, remrassq_no_quit):
4290 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4292 1998-07-17 Didier Verna <verna@inf.enst.fr>
4294 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4295 style as foreground GC for faces that have the `dim' property.
4296 (x_output_string): when the `dim' face property is set,
4297 ensure the gray pixmap has been created, and get a proper
4298 foreground GC to draw the text.
4300 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4302 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4303 Manually track the state of the left and right Ctrl and Alt
4306 1998-08-07 Matt Stupple <matts@tibco.com>
4308 * ntproc.c: don't wait on char_consumed at thread entry.
4309 Additionally, to get the 'process' marked as finished, ensure
4310 that the CHILD_ACTIVE macro returns false, so before exiting
4311 close char_avail and set it to NULL, and close other handles
4312 to reduce handle leak problems.
4314 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4316 * menubar-msw.c (displayable_menu_item): take account of menu
4317 depth when deciding whether to try to display accelerators.
4319 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4321 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4324 * glyphs-msw.c: fix a couple of potential handle leaks.
4326 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4328 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4329 *decoding ONLY* back into the core.
4330 * glyphs-eimage.c: Change referenced header file for GIF
4331 reading to point to the incore version.
4333 1998-07-20 Martin Buchholz <martin@xemacs.org>
4335 * casefiddle.c (casify_object):
4336 Change algorithm from O(N**2) to O(N).
4340 1998-07-22 Greg Klanderman <greg@alphatech.com>
4342 * dired.c (file_name_completion_unwind): don't leak the cons.
4344 1998-07-20 Greg Klanderman <greg@alphatech.com>
4346 * dired.c (Fuser_name_completion): new function.
4347 (Fuser_name_all_completions): new function.
4348 (user_name_completion): new function.
4349 (syms_of_dired): 2 new DEFSUBRs.
4350 (vars_of_dired): initialize user name cache vars.
4352 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4354 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4355 colors taken from the default face. Also correct a thinko in
4356 transparency (not alpha) handling.
4358 1998-07-23 Martin Buchholz <martin@xemacs.org>
4360 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4361 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4362 * lread.c (Fload_internal): Be very careful with printfs of
4364 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4367 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4369 * callint.c (Fcall_interactively): GCPRO prompt string before
4370 passing it to Fread_key_sequence
4372 1998-07-27 SL Baur <steve@altair.xemacs.org>
4374 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4375 Vvertical_divider_map.
4377 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4378 Qnil or 0, none were initialized prior to this change.
4380 Rename misnamed `V' prefixed integer variables:
4381 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4382 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4383 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4384 Vcanna_ichiran_revLen.
4386 Rename misnamed `V' prefixed integer variables and initialize
4387 properly in the vars_of routine.
4388 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4389 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4390 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4391 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4392 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4393 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4394 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4395 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4396 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4397 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4398 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4399 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4400 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4401 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4402 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4403 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4404 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4405 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4406 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4407 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4408 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4409 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4410 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4411 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4412 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4413 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4414 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4415 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4416 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4417 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4418 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4419 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4420 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4421 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4422 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4423 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4424 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4425 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4426 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4427 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4428 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4429 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4430 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4431 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4432 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4433 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4435 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4437 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4438 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4439 keys thus no longer considering all keysyms on a key.
4441 1998-07-19 SL Baur <steve@altair.xemacs.org>
4443 * XEmacs 21.2-beta1 is released.
4445 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4447 * eldap.c (Fldap_search_internal): When converting the list of
4448 attributes to search Copy the final 0 from Lisp strings to C
4450 Check base, not Vldap_default_base as a a string
4452 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4454 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4456 * unexnt.c: Unconditionally define bss_start and bss_size, and
4457 ensure that they don't go in the .bss section.
4459 1998-07-17 Olivier Galibert <galibert@pobox.com>
4461 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4462 byte order is dependant of the local byte order).
4463 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4465 1998-07-18 SL Baur <steve@altair.xemacs.org>
4467 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4468 Qmswindows_resource.
4469 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4471 1998-07-12 SL Baur <steve@altair.xemacs.org>
4473 * general.c (syms_of_general): Add defsymbol for Qresource.
4475 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4476 Qmswindows_resource.
4477 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4478 (mswindows_resource_validate): Rename.
4479 (mswindows_resource_normalize): Rename.
4480 (mswindows_resource_possible_dest_types): Rename.
4481 (mswindows_resource_instantiate): Rename.
4482 (image_instantiator_format_create_glyphs_mswindows): Replace
4483 `resource' with `mswindows.resource'.
4485 * XEmacs 21.0-pre5 is released.
4487 1998-07-10 SL Baur <steve@altair.xemacs.org>
4489 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4490 server type in environment.
4491 Use alloca-ed strings instead of tiny fixed size ones.
4493 1998-07-09 SL Baur <steve@altair.xemacs.org>
4495 * XEmacs 21.0-pre4 is released.
4497 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4499 * fileio.c: (expand_file_name): under win32: Don't treat names
4500 as UNC names if a drive letter has been specified. If a drive
4501 has been specified, strip out extra directory-seperators that
4502 reportedly cause problems under Win95.
4504 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4506 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4507 MSVC >= 5.0. Put emacs init and zero-init data in a special
4508 section of the executable when this is defined.
4510 * unexnt.c, ntheap.h:
4511 Removed unused find_section() and get_section_size().
4514 Fix up the executable's checksum after dumping otherwise the
4516 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4517 zero-init data separately from init data. Dump emacs data
4518 into a special section of the executable.
4519 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4520 my_ebss instead of up to the end of bss.
4522 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4524 * filelock.c: Removed Vconfigure_lock_directory - already
4527 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4528 defined in frame.c and general.c respectively.
4530 * glyphs-msw.c: Removed Qresource - already defined in
4533 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4535 * eldap.c (Fldap_search_internal): Docstring fixes
4537 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4539 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4540 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4541 EMACSPACKAGEPATH and INFOPATH variables.
4542 Removed unused get_emacs_configuration function.
4544 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4545 it is now defined at build-time by the makefile.
4547 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4549 * fileio.c: (expand_file_name): under win32: Don't treat names as
4550 UNC names if a drive letter has been specified. If a drive has
4551 been specified, strip out extra directory-seperators that
4552 reportedly cause problems under Win95.
4554 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4556 * faces.c (complex_vars_of_faces): for the gui-element face don't
4557 fallback to the default face, instead provide reasonable default
4558 fallbacks that were previously hardcoded elsewhere.
4560 1998-07-06 Olivier Galibert <galibert@pobox.com>
4562 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4563 when the X server endianness is different than the client's one.
4565 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4567 * eval.c (run_hook_with_args_in_buffer): Check
4568 default (non-buffer-local) value of hook for
4569 nil before treating it as a function. Don't initialize
4570 the `globals' variable twice.
4572 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4574 * fileio.c: Don't do directory seperator canonicalisation in
4575 substitute-in-file-name because we don't know that the
4576 filename refers to a local file.
4578 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4580 * process-nt.c (nt_create_process): Try appending the standard
4581 executable file extensions to the filename if none supplied.
4583 1998-06-29 SL Baur <steve@altair.xemacs.org>
4585 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4587 From Keisuke Mori <ksk@ntts.com>
4589 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4591 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4592 images if we have masks. This handles the xbm case (have masks)
4593 and avoids overuse of resources in the xpm case (generally no masks).
4594 Don't output small toolbars.
4596 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4598 * eval.c (run_hook_with_args_in_buffer): Don't treat
4599 the default value of a buffer local hook as a list of
4600 hooks unless it is both a cons and the car of that cons
4603 1998-06-29 SL Baur <steve@altair.xemacs.org>
4605 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4606 * process-unix.c: Ditto.
4607 * mule-coding.h: Ditto.
4608 * mule-coding.c: Ditto.
4609 * mule-charset.c: Ditto.
4610 * mule-charset.h: Ditto.
4611 * file-coding.c: Ditto.
4612 * file-coding.h: Ditto.
4614 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4616 * event-msw.c: Guard against recursion when freeing
4617 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4619 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4620 Call ShowWindow twice in init_frame_3 to get round runemacs
4623 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4625 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4627 * winslots.h: Rename.
4629 * window.c (specifier_vars_of_window): Renamed
4630 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4631 as suggested by Ben Wing.
4632 (specifier_vars_of_window): Fix docstrings.
4634 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4636 * unexaix.c: Line number information works correctly again.
4638 1998-06-22 Olivier Galibert <galibert@pobox.com>
4640 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4642 1998-06-21 Martin Buchholz <martin@xemacs.org>
4644 * editfns.c (get_home_directory): ANSIfy.
4645 XEmacs is compilable under C *and* C++.
4646 It's XEmacs, not Xemacs!
4648 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4650 * console-msw.h: added a list of fonts to device data.
4652 * device-msw.c: enumerate list of available fonts in
4653 mswindows_init_device. Free list in mswindows_delete_device.
4655 * objects-msw.c: Added helper function match_font used by
4656 mswindows_initialize_font_instance and mswindows_list_fonts.
4657 Allow a charset to be specified in a font string, even if
4658 previous fields havn't been specified.
4660 1998-06-23 Greg Klanderman <greg@alphatech.com>
4662 * indent.c (column_at_point): column cache bugfix.
4663 Set last_known_column_point to the buffer position for
4664 which the column was requested, not buffer's point.
4666 * redisplay.c (decode_mode_spec): for current-column, show
4667 window's point's column, not buffer's point's column.
4669 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4671 * menubar-msw.c (mswindows_handle_wm_command): use
4672 enqueue_misc_user event rather than
4673 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4676 * console-msw.h: declare mswindows_enqueue_magic_event.
4678 * event-msw.c (mswindows_enqueue_magic_event): make global.
4680 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4682 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4683 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4684 (add_position_to_cache): Use EMACS_INT instead of int.
4686 1998-06-21 Olivier Galibert <galibert@pobox.com>
4688 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4689 suitable for an int used as a boolean (btw, C sucks.).
4691 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4693 * object-msw.c: remove warnings.
4695 * device-msw.c: #define wrongly named cygwin structure elements.
4697 * s/cygwin32.h: define DEMI_BOLD
4699 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4701 * redisplay-msw.c: new function mswindows_apply_face_effects.
4702 This is called by output_string and output_cursor to display
4703 underline and strikeout on faces.
4705 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4707 * console-msw.h: added a list of fonts to device data.
4709 * device-msw.c: enumerate list of available fonts in
4710 mswindows_init_device. Free list in mswindows_delete_device.
4712 * objects-msw.c: Added helper function match_font used by
4713 mswindows_initialize_font_instance and mswindows_list_fonts.
4714 Allow a charset to be specified in a font string, even if
4715 previous fields havn't been specified.
4717 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4720 Removed compilation warnings from mswindows_string_to_color.
4721 mswindows_list_fonts returns a more general bogus font.
4722 New lisp-visible function mswindows-color-list.
4724 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4726 * editfns.c (Fuser_login_name): Modify to user new function
4728 (user_login_name): C only function to avoid Lisp object overhead
4729 Returns "unknown" instead of nil in Cygwin environment
4731 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4732 equivalent for current user in Cygwin environment. Use new
4733 function user_login_name to get username.
4735 * lisp.h: Declare user_login_name
4737 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4739 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4741 Some other insignificant nitpicks.
4743 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4745 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4746 creating the image list and make sure he bk color is transparent.
4748 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4750 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4751 completed_timeouts. The timer could have expired.
4753 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4755 * console-msw.h: move XEMACS_RECT_WH inside frame
4756 parameters. define macors to access it.
4758 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4759 parameter to intialise desired sizing. (mswindows_init_frame_2):
4760 enable and size the frame to something sensible when we get
4761 here. (mswindows_set_frame_properites): use new
4762 mswindows_size_frame_internal function and size frame if frame
4763 parameters not just if init is finished - WM_SIZE happens too
4764 early for some specs. (mswindows_size_frame_internal): new
4765 function abstracted from mswindows_set_frame_properties.
4766 (Vmswindows_use_system_frame_size_defaults):
4767 new variable controls whether to allow the system to pick frame
4768 size defaults, defaults to nil.
4770 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4771 than duplicated code.
4773 1998-06-15 Colin Rafferty <colin@xemacs.org>
4775 * Makefile.in.in: Made EXTW_LINK expand properly.
4777 1998-06-12 Martin Buchholz <martin@xemacs.org>
4779 * redisplay.c (vars_of_redisplay): default value of
4780 column-number-start-at-one should be NIL!
4782 1998-06-11 Martin Buchholz <martin@xemacs.org>
4785 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4787 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4789 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4790 build_string to avoid crashes under Mule.
4792 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4794 * ntplay.c (play_sound_data_1): don't delete the sound data until
4795 the next sound is played and the previous one finished.
4797 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4799 * fileio.c (directory-sep-char): Escape backslashes.
4801 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4803 * event-stream.c: Fix docstring reference.
4805 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4807 * alloc.c (make_float): Remove useless initialization of `next'
4809 (make_pure_float): Ditto.
4811 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4813 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4815 * fileio.c (Fmake_directory_internal): Remove conditionals
4816 on WINDOWSNT when calling mkdir.
4818 * ntproc.c: Deleted the following unused functions:
4819 register_child, reap_subprocess, sys_wait.
4821 * nt.c (sys_rename): Ifzeroed this implementation.
4822 Deleted the following unused functions:
4823 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4824 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4825 sys_read, sys_write.
4826 Merger sys_fopen and sys_open with sysdep.c implementation.
4828 * sysdep.c: Removed MS-DOS code.
4829 (sys_rename): Deal with Microsoft rename weirdness.
4830 (sys_open): Implemented for Windows.
4834 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4836 * buffer.c (complex_vars_of_buffer): Removed %t description from
4839 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4841 * scrollbar-msw.c: initialize the cbSize element of the
4842 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4843 to ignore the value of cbSize, but Win95 (and I presume Win98)
4844 appear to want it set to sizeof(SCROLLINFO).
4846 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4848 * event-stream.c: Defined Qcancel_mode_internal.
4849 (syms_of_event_stream): defsymbol'ed it.
4851 * events.h: Externed it.
4853 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4855 1998-06-04 Oliver Graf <ograf@fga.de>
4857 * frame-x.c (x_cde_destroy_callback): free the data
4858 (cde-start-drag-internal) corrected root position, 21.1 needs this
4859 hardcoded in Button events
4860 (offix-start-drag-internal) corrected root position
4862 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4864 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4867 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4869 * dialog-msw.c (button_width): Removed `inline' from the function
4872 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4874 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4875 Note that adding this flag to subsequent frames causes problems.
4877 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4879 * glyphs-eimage.c (png_instantiate) move 'struct
4880 png_memory_storage tbr' out of nested block to avoid dangling
4883 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4886 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4887 inherits from gui-element.
4889 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4890 with existing code, generate masks correctly.
4892 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4894 * glyphs-eimage.c: Changed included header for gifs to use
4895 Gifreader instead of giflib.
4897 * glyphs-x.c: removed the image-related functions that were
4898 moved into glyphs-eimage.
4900 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4902 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4903 if built without X Windows support.
4905 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4907 * fns.c (Fconcat): Synch docstring with new reality.
4909 1998-06-03 SL Baur <steve@altair.xemacs.org>
4911 * frame.c: Remove reference to msdos.h (which is going away).
4912 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4914 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4916 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4920 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4922 * events.h: Fixed commentary about misc-user scrollbar events.
4924 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4925 object as an event channel, instead of window object.
4926 (x_update_horizontal_scrollbar_callback): Ditto.
4928 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4930 * ntplay.c (play_sound_data_1) new function. convert alloca data
4931 to malloc if necessary.
4932 (play_sound_file): if the file is not in our path then convert to
4935 1998-06-01 SL Baur <steve@altair.xemacs.org>
4937 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4938 * msdos.c (Frecent_doskeys): Ditto.
4940 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4941 Suggested by Reggie Perry <perry@zso.dec.com>
4943 * buffer.h: Eliminate size in declaration.
4945 1998-06-01 Olivier Galibert <galibert@pobox.com>
4947 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4949 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4951 * gui.c (gui_item_init): Changed the default value for config member
4952 from Qunbound to Qnil.
4954 1998-06-01 Greg Klanderman <greg@alphatech.com>
4956 * indent.c (vmotion_pixels): Don't #define abs().
4958 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4960 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4963 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4965 * glyphs.h: add xbm declarations.
4967 * console.h: add xbm_instantiate_method device method.
4969 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4970 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4971 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4972 locate_pixmap_file device method and read_bitmap_data_from_file
4973 instead of XmuReadBitmapDataFromFile.
4974 (xbm_instatntiate): make a device method.
4976 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4977 new function that just calls XmuReadBitmapDataFromFile.
4978 (x_xbm_instatntiate): device method from xbm_instantiate.
4980 * glyphs-msw.c (read_bitmap_data) (NextInt)
4981 (read_bitmap_data_from_file): new functions copied from Xmu
4983 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4984 inline data to an mswindows bitmap.
4985 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4986 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4989 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4991 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4992 `modeline-visible-p'.
4993 Declared specifier lisp variables at the beginning oh the file
4996 * procimpl.h (struct process_methods): Changed semantics of
4997 create_process method so it accepts lisp strings instead of
5000 * process.c (Fstart_process_internal): Moved building of
5001 unix style argv from here to process-unix.c, ...
5003 * process-unix.c (unix_create_process): ... right here.
5005 * process-nt.c (nt_create_process): Changed this function to
5006 support new semantics, so avoided a GC problem.
5008 * events.c (Fmake_event): Document misc-user events properties.
5009 (Fmake_event): Do not allow arbitrary objects for channel property
5010 of misc-user events.
5011 (Fmake_event): Change misc-user event validation: it is function
5012 which is required, not button.
5014 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5016 (mswindows_enqueue_misc_user_event): Added function.
5017 (mswindows_bump_queue): Removed function.
5018 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5019 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5020 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5021 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5022 really nothing, which is my personal favorite thing.
5024 * console-msw.h: Removed prototype for mswindows_bump_queue().
5025 Added prototype for mswindows_enqueue_misc_user_event().
5027 * menubar-msw.c (mswindows_handle_wm_command): Use
5028 mswindows_enqueue_misc_user_event().
5030 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5032 * dialog-msw.c (dialog_proc): Ditto.
5034 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5035 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5036 user events channel.
5038 1998-05-29 Greg Klanderman <greg@alphatech.com>
5040 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5041 incorrect semantics of vmotion_pixels which has been fixed. don't
5042 use it anymore as it can't easily be used.
5044 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5045 the motion was reported incorrectly if you tried to go past end of
5048 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5050 * toolbar.h: Removed misleading commentary, as Martin suggested.
5052 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5054 * lisp.h: Extern Qactivate_menubar_hook.
5056 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5059 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5061 * glyphs-msw.c: use BPLINE macro.
5063 * select-msw.c (mswindows-selection-exists-p)
5064 (mswindows-delete-selection): doc string fixes.
5066 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5067 unpressable. warning elimination.
5069 1998-05-28 Martin Buchholz <martin@xemacs.org>
5071 * alloc.c (dbg_constants):
5074 Remove toolbar_data debugging code, since that lrecord has
5077 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5079 * alloc.c: zap cached value of (user-home-directory), so that
5082 * buffer.c: From init_buffer(), separated out code that
5083 determined the initial directory for the *scratch* buffer, and
5084 put them into a function called "init_initial_directory()".
5085 The initial directory is now available as a global "char *"
5086 called initial_directory.
5088 * buffer.h: Added extern entries for initial_directory[] and
5089 init_initial_directory().
5091 * editfns.c: added new elisp function "user-home-directory",
5092 which basically returns getenv("HOME"), but attempts to use
5093 other values if $HOME isn't set.This may have to be tweaked in
5094 the future as, under Unix, "/" is used if $HOME isn't set (this
5095 probably should be set to the current directory). To support
5096 this, a new C function, "get_home_directory()", now exists,
5097 which returns the "home directory", as a "char *" string.
5099 * emacs.c: Rearrange NT initialization order so that
5100 environment/registry variables will be properly entered into
5101 Vprocess_enviroment.
5103 * fileio.c: replaced egetenv("HOME") with calls to the new
5104 get_home_directory().
5106 * lisp.h: Added function prototypes for uncache_home_directory()
5107 and get_home_directory(), along with lisp prototypes for
5108 Fuser_home_directory() and friends.
5110 * nt.c: replaced getenv("HOME") with calls to the new
5111 get_home_directory().
5113 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5114 warnings about getcwd(), etc. not having prototypes.
5116 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5118 * process-nt.c (send_signal): Emulate SIGHUP.
5119 (validate_signal_number): Ditto.
5121 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5122 remove MOD_SHIFT from ASCII characters.
5123 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5126 1998-05-24 Oliver Graf <ograf@fga.de>
5128 * frame-x.c (cde-start-drag-internal): added filename and multi-
5130 (x_cde_convert_callback) dito
5132 1998-05-26 Oliver Graf <ograf@fga.de>
5134 * frame-x.c: include event-mod.h also with CDE
5135 (x_cde_convert_callback) made the thing working
5136 (cde-start-drag-internal) also debugging
5138 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5145 - add __OpenBSD__ where __NetBSD__ was found.
5146 - TODO: replace platform-specific conditional compilation by
5147 feature tests in configure.in.
5149 1998-05-15 Greg Klanderman <greg@alphatech.com>
5151 * window.c (Fwindow_displayed_text_pixel_height): New function.
5152 (syms_of_window): DEFSUBR it.
5154 * indent.c (Fvertical_motion_pixels): New function - request
5156 (vmotion_pixels): helper.
5157 (syms_of_indent): DEFSUBR.
5158 * lisp.h: declaration for vmotion_pixels().
5160 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5161 to request returning motion in pixels.
5162 (Fvertical_motion_pixels): Remove, functionality merged into
5164 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5165 (Fmove_to_window_line): ditto.
5166 * lisp.h: Change declaration for Fvertical_motion.
5168 * window.c: rename window-text-pixel-{height,width,edges} to
5169 window-text-area-pixel-*.
5171 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5173 * tooltalk.c (vars_of_tooltalk) added staticpro for
5174 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5176 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5178 * faces.c: create a new 3d_object_face, make modeline and
5179 vertical_divider faces fallback to this rather than the default.
5181 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5183 * s/cygwin32.h: define charsets for cygwin.
5185 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5187 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5188 and coordinates. resize bitmaps if we have already settled on a
5191 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5193 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5195 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5197 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5201 * gui-x.c (popup_selection_callback): Ditto.
5203 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5205 * gui.c (get_callback): Renamed to get_gui_callback.
5207 1998-05-17 Martin Buchholz <martin@xemacs.org>
5209 * glyphs.h: order rearrangement.
5211 * device-tty.c (tty_asynch_device_change): Warning suppression.
5212 * device-x.c (x_device_system_metrics): Warning suppression.
5213 Make Doc strings consistent with coding standards.
5215 1998-05-24 Martin Buchholz <martin@xemacs.org>
5217 * general.c: multiple definition of `Qicon'. general.c seems
5218 like a good home for Qicon.
5220 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5222 * This patch is to fix compilation warnings under Windows.
5224 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5225 Added prototypes for FSF inherited functions, with which XEmacs is
5226 sprinkled thoroughly.
5227 Removed some #if 0 code. Bracketed some more definitions, probably
5228 related to Visual C versions prior to 4 (we do not support them).
5230 * sysfloat.h (logb): Finally, get logb() prototyped.
5232 * sysfile.h: Added Windows specific includes.
5233 Removed old Windows specific code bracketed with #if 0.
5235 * sysdep.h: Added prototype for xrealpath().
5237 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5239 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5240 vars_of_dired_mswindows and init_ntproc (Grrr).
5242 * realpath.c: Added Windows specific include files.
5243 (xrealpath): Conditionalized declaration of some auto variables on
5244 S_IFLNK, to avoid warnings.
5246 * ntproc.c: Disabled some compiler warnings. This file is going to
5247 die, so I have not cleaned it up much.
5248 (set_process_dir): Const parameter.
5249 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5250 (Fwin32_long_file_name): Ditto.
5251 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5254 * nt.h: Added prototypes for set_process_dir and convert_time.
5256 * nt.c: More include files.
5257 (getpwnam): Consted char* argument.
5258 (get_emacs_configuration): Const return value.
5259 (opendir): Const argument.
5260 (stat): Casted converstion long->short.
5261 (stat): Removed ad hoc and questionable support for non-MSC compile.
5262 (sys_pipe): Removed unused auto variable.
5263 (_sys_read_ahead): Removed calls to DebPrint.
5264 (sys_read): Ditto, in 2 places.
5265 (term_ntproc): Added unused int parameter to signal handler, to
5266 avoid a warning when compiling a call to signal().
5267 (msw_sigset): Properly return old signandler or NULL instead of void.
5269 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5271 * gmalloc.c (morecore): Ditto.
5272 (_free_internal): Ditto.
5274 * lread.c (parse_integer): Ditto.
5276 * dired-msw.c: Added several include files.
5278 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5279 of Compilers to Shut Up.
5281 * callproc.c: Added #includes to suppress warnings under Windows.
5282 (init_callproc): Removed #if0'ed code and unused variables.
5284 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5286 * device-msw.c (mswindows_device_system_metrics): do planes in a
5287 way consistent with X.
5289 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5290 use SetPixel, use DIBits functions.
5291 (xpm_to_eimage): frob colors more closely like xpm deos.
5293 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5294 to be closer to X version.
5296 * event-msw.c: use tooltip string directly.
5298 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5300 * objects-msw.c: frob rgb colors that only Kyle uses.
5302 * dialog-msw.c (button_width): INLINE -> inline.
5304 1998-05-23 SL Baur <steve@altair.xemacs.org>
5306 * getloadavg.c (getloadavg): Fix typo.
5308 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5310 * objects-msw.c (mswindows_initialize_font_instance): Added support
5311 for font character sets.
5312 Replaced 'XXX' with '####' in comments throughout the file.
5314 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5316 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5317 console_type_create_dialog_mswindows(), to initialize Windows dialog
5320 * symsinit.h: Prototyped the above functions.
5322 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5323 checks to dialog.c...
5325 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5326 device must support dialog boxes, and the descriptor must supply at
5329 * dialog-msw.c: New file, dialogs for Windows.
5331 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5333 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5334 (Fldap_search_internal): Removed unused variable `err'
5336 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5339 1998-05-17 Martin Buchholz <martin@xemacs.org>
5341 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5342 defined. Therefore there is no need to handle the case when
5343 HAVE_LDAP is undefined. Similarily, there is no reason to have
5344 any code wrapped within `#ifdef emacs', since this code is only
5345 useful within an emacs. This simplifies the code significantly.
5347 * inline.c: Include eldap.h only if HAVE_LDAP.
5348 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5351 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5353 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5354 printing dump stats when building without DEBUG_XEMACS.
5355 (dump_bss_and_heap): Ditto.
5357 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5359 * gnuclient.c: don't suppress window system if there is no display
5360 and we are running under mswindows. send 'mswindows device type if
5361 we are in this situation.
5363 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5366 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5368 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5371 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5373 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5374 {top,bottom}-{left,right} values in addition to
5375 {top,bottom}_{left,right}.
5377 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5379 * fileio.c (Fmake_temp_name): Remove unreached code.
5381 * process-nt.c (validate_signal_number): Use
5382 signal_simple_error().
5384 1998-05-19 Martin Buchholz <martin@xemacs.org>
5387 * sound.c (vars_of_sound):
5388 * sysdep.c (reset_sigio_on_device):
5389 * window.c (window_bottom_gutter_height):
5390 unexhp9k800.c:258: warning: implicit declaration of function
5391 `calculate_checksum'
5392 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5393 sysdep.c:1012: warning: unused variable `owner'
5394 window.c:993: warning: `window_right_toolbar_width' defined but not used
5396 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5398 * glyphs-msw.c (mswindows_create_resized_mask)
5399 (mswindows_create_resized_bitmap): new funnctions split out from
5400 mswindows_resize_dibitmap_instance.
5402 * glyphs-msw.h: declare new resize functions.
5404 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5405 functions so that the original bitmaps are preserved.
5407 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5409 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5410 color if we are trying to output 0 depth bg pixmap.
5412 * scrollbar-msw.c: warning elimination.
5414 1998-05-18 Martin Buchholz <martin@xemacs.org>
5416 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5417 directives in column 1.
5419 * search.c (skip_chars): Avoid using xzero with arrays, since some
5420 compilers get confused by the construct &array.
5422 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5425 * objects-msw.c: Changed the charset value for a new font from
5426 "don't care" to "ansi".
5428 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5430 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5432 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5433 modifier on control chars.
5434 Use IsCharAlpha() instead of isaplha().
5436 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5438 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5440 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5442 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5443 charset when creating font.
5444 (mswindows_initialize_color_instance): Do not create brush along
5446 (mswindows_finalize_color_instance): Do not delete it then.
5448 * objects-msw.h (struct mswindows_color_instance_data): Removed
5449 brush slot, and corresponding accessor macro.
5451 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5453 * toolbar.c: Removed toolbar_data lrecord implementation.
5454 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5455 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5456 (compute_frame_toolbar_buttons): Ditto.
5457 (CHECK_TOOLBAR): Ditto.
5458 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5459 (update_frame_toolbars): Do not check for changed buffer
5460 here. Toolbar information is provided by cached specs in
5461 windows. The check for buffer is eliminated becuase toolbars are
5462 marked changed in set_frame_selected_window() in frame.c
5463 Added check for changed toolbars geometry.
5464 (compute_frame_toolbars_data): Removed unused second parameter;
5465 Adjusted callers of this static function throughout the file.
5466 (init_frame_toolbars): Initialize current_toolbar_size.
5467 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5468 what is its current expansion, for clarity.
5469 (init_frame_toolbars): Ditto.
5470 (init_device_toolbars): Ditto.
5471 (init_global_toolbars): Ditto.
5473 * toolbar.h: Removed definition of toolbar_data lrecord.
5474 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5475 FRAME_CURRENT_TOOLBAR_SIZE.
5476 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5478 * toolbar-x.c (x_output_toolbar): The same change as in
5480 (x_output_toolbar): Ditto.
5481 (x_redraw_exposed_toolbar): Ditto.
5483 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5484 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5485 (mswindows_output_toolbar): Ditto.
5486 (mswindows_output_toolbar): Ditto.
5488 * frame.c (mark_frame): Removed marking of arrays, according to
5489 frameslots.h change.
5490 (nuke_all_frame_slots): Ditto.
5491 (set_frame_selected_window): Mark toolbars changed when
5492 last_nonminibuf_window changes.
5494 * frame.h (struct frame): Moved some slots to frameslots.h.
5495 Added current_toolbar_size array.
5496 Changed references from toolbar_data to toolbar_buttons in macros
5497 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5498 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5499 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5501 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5502 Moved arrays of lisp objects here from frame.h: toolbar_size,
5503 toolbar_visible_p, toolbar_border_width.
5504 Removed toolbar_data slot and added toolbar_buttons.
5506 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5508 * symsinit.h: Externed syms_of_process_nt()
5510 * emacs.c (main_1): Call syms_of_process_nt()
5512 * process-nt.c: Quote process arguments by a call to Lisp function
5513 `nt-quote-process-args'.
5514 (syms_of_process_nt): New function.
5515 (nt_send_process): Flush data stream after each write, to avoid
5516 leaving buffered data.
5517 (nt_send_process): When blocked on process output, wait for
5518 process to slurp more for progressively increasing time intervals.
5520 1998-05-17 Martin Buchholz <martin@xemacs.org>
5522 * window.c (have_undivided_common_edge): Make file-local function
5524 (map_windows): Return 0 if all map functions successful.
5527 * winslots.h: Use unlikely names for local variables in macros to
5528 avoid shadowing warnings.
5530 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5532 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5533 so that we re-output if the toolbar size has changed.
5535 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5537 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5539 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5541 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5544 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5546 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5547 get bitmap manifest constants defined.
5549 * console-msw.h: Include system files in angle brackets, not in
5552 * window.c (specifier_vars_of_window): Fixed a typo in
5553 `vertical-divider-line-width' docstirng.
5555 1998-05-16 Olivier Galibert <galibert@pobox.com>
5557 * line-number.c (delete_invalidate_line_number_cache): Use an
5559 (buffer_line_number): Remove dangerous, plain wrong when using
5560 64bits emacs ints, cast.
5562 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5564 * cmds.c (Fforward_line): Use EMACS_INTs.
5566 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5567 (scan_buffer): Ditto.
5568 (bi_find_next_newline_no_quit): Remove useless cast.
5569 (find_next_newline_no_quit): Ditto.
5570 (find_next_newline): Ditto.
5571 (find_before_next_newline): Use an EMACS_INT.
5573 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5575 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5577 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5579 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5581 * gui-x.c (popup_selection_callback): Use it.
5583 * gui.h (get_callback): Declare it.
5585 * gui.c (get_callback): New function.
5587 1998-05-15 SL Baur <steve@altair.xemacs.org>
5589 * window.c (have_undivided_common_edge): Guard scrollbar specific
5591 (window_needs_vertical_divider_1): Ditto.
5593 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5595 * emacs.c (decode_path): Eliminate compiler warning.
5596 (Fdecode_path): Renamed to Fsplit_path.
5597 (Fsplit_string_by_char): New function.
5599 1998-05-14 Damon Lipparelli <lipp@primus.com>
5601 * winslots.h: close comment
5603 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5605 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5607 * bufslots.h: Removed buffer_file_type slot.
5609 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5611 (complex_vars_of_buffer): Removed buffer-file-type variable and
5612 its default reference.
5614 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5616 * faces.c (complex_vars_of_faces): Defined
5617 Vvertical_divider_face.
5618 (vars_of_faces): Staticpro it.
5620 * faces.h: Externed Vvertical_divider_face.
5622 * redisplay-x.c (x_output_vertical_divider): Use
5623 Vvertical_divider_face to draw the divider instead of modeline
5626 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5627 divider face using Vvertical_divider_face background.
5628 Fix drawing spacing gaps around the divider.
5630 1998-05-14 Didier Verna <verna@inf.enst.fr>
5632 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5633 values for the vertical divider line width and spacing. Use the
5634 cached values from the window structure instead.
5635 (x_divider_width): ditto.
5637 * window.c (specifier_vars_of_window): new specifiers:
5638 vertical-divier -line-width and -spacing.
5639 (vertical_divider_global_width_changed): formerly known as
5640 vertical_divider_shadow_thickness_changed.
5642 * winslots.h: new slots: vertical_specifier _line_width and
5643 _spacing. Plus corrected a comment typo.
5645 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5647 * window.h: Declared window_divider_width().
5649 * console-stream.c (stream_divider_width): Removed method.
5650 (console_type_create_stream): And declaration for it.
5652 * redisplay.c (pixel_to_glyph_translation): Use
5653 window_divider_width() instead of divider_width redisplay method.
5654 (pixel_to_glyph_translation): Fix top divider edge calculation
5655 when scrollbar is on top.
5657 * window.c (window_divider_width): New function, an outphaser for
5658 divider_width redisplay method.
5659 (window_right_gutter_width): Use it.
5660 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5661 specifiers, set fallback values differently on TTYs, and document
5662 the behavior of these on TTYs in the docstrings.
5664 * scrollbar.c (update_scrollbar_instance): Use
5665 window_divider_width() instead of divider_width redisplay method.
5667 * console.h (struct console_methods): Removed divider_width_method.
5669 * redisplay-tty.c (tty_divider_width): Removed device method.
5670 (console_type_create_redisplay_tty): Removed definition for it.
5671 (tty_output_vertical_divider): Respect the value returned by
5672 window_divider_width thus divider line width specification.
5674 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5675 (console_type_create_redisplay_mswindows): Removed definition for it.
5676 (mswinodws_output_vertical_divider): Respect the value returned by
5677 window_divider_width thus divider line width specification.
5679 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5681 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5683 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5685 * glyphs-msw.c: resource loading implementation.
5686 (cursor_normalize): new function.
5687 (cursor_validate): ditto.
5688 (cursor_instantiate): ditto.
5689 (cursor_name_to_resource): ditto.
5690 (cursor_possible_dest_types): ditto.
5691 (check_valid_symbol): ditto.
5692 (check_valid_string_or_int): ditto.
5694 1998-05-14 Martin Buchholz <martin@xemacs.org>
5696 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5699 * process-unix.c (process_signal_char): Use VSUSP instead of
5700 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5702 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5704 * specifier.c (specifier_instance): Change locale precedence of
5705 instantiation so window locale has higher priority than buffer
5707 (Fspecifier_instance): Reflect this in docstring.
5708 (Fadd_spec_list_to_specifier): Ditto.
5709 (Fadd_spec_to_specifier): Ditto.
5710 (Fremove_specifier): Ditto.
5712 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5714 ** Dialog separation into a device method from Andy Piper
5716 * emacs.c (main_1): Call console_type_create_dialog_x().
5718 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5719 into this device method.
5720 (console_type_create_dialog_x): New function.
5722 * dialog.c (Fpopup_dialog_box): New function.
5723 (syms_of_dialog): Defsubr it.
5725 * console.h (struct console_methods): Declared
5726 popup_dialog_box_method().
5728 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5730 1998-05-14 Oliver Graf <ograf@fga.de>
5732 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5733 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5735 1998-05-13 Oliver Graf <ograf@fga.de>
5737 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5739 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5741 * console.h (device_metrics): Removed dbcs, input-method-editor
5742 and right-to-left metrics.
5744 * device.c (Fdevice_system_metric): Ditto.
5745 (Fdevice_system_metrics): Ditto.
5746 (syms_of_device): Ditto.
5747 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5750 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5752 * line-number.h (mark_line_number_cache): Remove unused
5755 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5756 (get_nearest_line_number): Simplify.
5757 (add_position_to_cache): Make the old marker point nowhere.
5759 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5761 ** Renamed window-divider-map => vertical-divider-map
5762 and event-over-divider-p => event-over-vertical-divider-p,
5763 in the following files/functions:
5765 * events.c (Fevent_over_divider_p):
5766 * keymap.c (get_relevant_keymaps):
5769 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5771 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5773 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5775 * window.c (vertical_divider_changed_in_window): Renamed so.
5776 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5777 (window_needs_vertical_divider_1): Decide whether we need it based
5778 on the value of the above specifier. If separators are unwanted,
5779 put them only if there's no scrollbar between this window and its
5781 (have_undivided_common_edge): New function, helper for the above.
5782 (window_needs_vertical_divider): Return either a cached value,
5783 or clauclate and cache one.
5784 (invalidate_vertical_divider_cache_in_window): Implemented.
5785 (map_windows): Changed return type to int, return the value from
5788 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5789 (struct window): Added need_vertical_divider_p and
5790 need_vertical_divider_valid_p.
5792 * winslots.h: Added vertical_divider_draggable_p slot.
5794 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5795 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5797 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5799 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5800 invalidate_vertical_divider_cache_in_frame().
5803 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5805 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5807 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5808 masks correctly and don't select 0.
5810 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5812 * winslots.h: New file, declaration of some struct window and
5813 struct saved_window members.
5815 * window.h (struct window): Include it, with required preprocessor
5818 * window.c (mark_window): Ditto.
5819 (allocate_window): Ditto.
5820 (struct saved_window): Ditto.
5821 (mark_window_config): Ditto.
5822 (saved_window_equal): Ditto.
5823 (Fset_window_configuration): Ditto.
5825 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5827 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5829 1998-05-12 Didier Verna <verna@inf.enst.fr>
5831 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5832 the divider line. The shadow thickness is currently
5833 hard-wired. This will probably be turned into a specifier soon.
5835 1998-05-12 Didier Verna <verna@inf.enst.fr>
5837 * console.h (struct console_methods): the divider_width console
5838 method now requires a struct window * argument.
5840 * redisplay-x.c (x_divider_width): ditto. Plus remove
5841 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5842 (x_output_vertical_divider): give a depressed look when the shadow
5843 thickness is negative.
5845 * console-stream.c (stream_divider_width): pass a struct window *
5848 * redisplay-tty.c (tty_divider_width): ditto.
5850 * window.c (window_right_gutter_width): totdi.
5852 * redisplay.c (generate_modeline): ittod.
5854 * scrollbar.c (update_scrollbar_instance): ttido.
5856 * redisplay-msw.c (mswindows_divider_width): ottid.
5857 WARNING: this enables to compile, but the feature is not functional.
5859 * window.h (struct window): new field
5860 vertical_divider_shadow_thickness.
5862 * window.c (specifier_vars_of_window): new specifier
5863 vertical-divider-shadow-thickness.
5864 (vertical_divider_shadow_thickness_changed): new function to
5865 inform redisplay that the window has changed.
5866 (mark_window): handle new field vertical_divider_shadow_thickness
5868 (allocate_window): ditto.
5869 (saved_window_equal): toddi.
5870 (Fset_window_configuration): totid.
5871 (save_window_save): ttdio.
5872 (struct saved_window): new field vertical_divider_shadow_thickness.
5874 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5876 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5879 1998-05-12 Oliver Graf <ograf@fga.de>
5881 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5882 * event-Xt.c (x_event_to_emacs_event): C++ compability
5884 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5886 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5889 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5891 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5894 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5896 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5898 * emacs.c (decode_path_1): New function.
5899 (decode_path): Use it.
5900 (Fdecode_path): Renamed from Fdecode_path_internal; use
5903 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5905 * macros.c (Fzap_last_kbd_macro_event): New function.
5906 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5908 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5910 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5911 multiple bitmaps are output vertically as well as horizontally.
5912 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5913 crossing lines this is handled by
5914 mswindows_output_dibitmap_region.
5916 1998-05-12 Martin Buchholz <martin@xemacs.org>
5918 * inline.c: Include eldap.h
5920 * menubar-x.c (x_update_frame_menubar_internal):
5921 Remove: unused variable `container'
5923 1998-05-11 Martin Buchholz <martin@xemacs.org>
5925 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5926 Unfortunately, the resulting temacs still cannot dump.
5928 * symbols.c (symbol_is_constant):
5929 (verify_ok_for_buffer_local):
5930 -Wswitch Warning suppression - add default case to switches.
5932 * redisplay.c (decode_mode_spec): Remove unused variables,
5933 Replace Fcoding_system_property (codesys, Qmnemonic) with
5934 XCODING_SYSTEM_MNEMONIC (codesys);
5935 Fcoding_system_property is for users.
5941 Change empty docstrings into no doc strings at all.
5942 Fix bogus FSF-format docstrings.
5945 Standardize docstrings.
5948 Explain problems with matherr.
5950 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5953 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5954 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5955 Fix the weird resultant interaction (causes windows problems)
5959 Take new EMACSBOOTSTRAPLOADPATH into account.
5960 Update documentation strings
5963 - Adjust for luser's CDPATH being set to something weird.
5964 - Take into account bash 2.02's tendency to print the cwd when
5965 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5966 - fix the run-temacs target to use $(DUMPENV)
5967 - fix the run-puremacs target to use $(DUMPENV)
5968 - fix the `depend' target to properly $(RM) the right files
5969 - Generate a better TAGS file for XEmacs' lisp code using
5970 hand-crafted regexps.
5971 - Use standard coding conventions for modules/Makefile.in
5973 1998-05-12 Didier Verna <verna@inf.enst.fr>
5975 * redisplay.c: removed the scrolling modeline code that didn't
5976 make it for 21.0. To be continued ...
5978 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5980 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5981 and empty string inputs.
5983 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5985 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5987 1998-05-10 Oliver Graf <ograf@fga.de>
5989 * event-stream.c (enqueue_misc_user_event_pos): created
5990 * lisp.h (enqueue_misc_user_event_pos): prototype added
5991 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5992 * emacs.c: call vars_of_dragdrop
5993 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5995 1998-05-11 Oliver Graf <ograf@fga.de>
5997 * frame-x.c (x_cde_transfer_callback): return at correct pos
5998 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5999 object for MIME (see comment in dragdrop.c)
6000 * dragdrop.c: API change documented in comment
6001 removed provide of dragdrop [is provided by dragdrop.el]
6003 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6005 * window.c (window_needs_vertical_divider): Enable vertical
6006 dividers for every non-rightmost window.
6007 (window_left_gutter_width): Left gutter consists of mythical
6008 toolbar and a virtual scrollbar.
6009 (window_right_gutter_width): The right one may have a divider
6012 * scrollbar.c (update_scrollbar_instance): Position vertical
6013 scrollbar left to divider if the latter present.
6015 * redisplay.h: Declared OVER_DIVIER constant.
6017 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6020 * redisplay-x.c (x_output_vertical_divider): Output divider along
6021 the right side of the window, down to window bottom. Swapped
6022 foreground and background colors so it is visible by default.
6024 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6025 stick the divider to the right window side.
6027 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6029 (mswindows_divider_width): Ask system for user preferred value.
6030 (mswindows_output_vertical_divider): Always output the divider on
6031 the right side of a window, down to bottom.
6033 * keymap.c (get_relevant_keymaps): Route mouse button events which
6034 happened over a window divider through window-divider-map.
6035 (Fkey_binding): Documented that in the docstring.
6036 Defined the variable Vwindow_divider_map.
6038 * events.c (Fevent_over_divider_p): Added this function.
6040 * events.h: EXFUNed it.
6042 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6044 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6045 toolbar geometry is suspected to change.
6047 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6051 Condition dnd and dde code on HAVE_DRAGNDROP.
6053 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6055 * events.c (format_event_object): Print space as SPC etc.
6057 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6059 * print.c (print_internal): In the default case, abort() if
6060 ERROR_CHECK_TYPECHECK.
6062 * fileio.c (Fmake_temp_name): Doc fix.
6064 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6066 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6068 * undo.c (Fprimitive_undo): Fixed typo.
6070 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6072 * fns.c (concat): Signal error on integer argument.
6074 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6076 * console.h (device_metrics): Prefixed each constatnt with DM_
6078 * device.c: (Fdevice_system_metric): Renamed so from plural form
6079 (metrics); Changed parameters order and added DEFAULT parameter;
6080 Unabbreviated some metric constants; Fixed and untabified doc string.
6081 (Fdevice_system_metrics): Added. Returns a plist of all provided
6084 * device-msw.c (mswindows_device_system_metrics): Renamed
6085 device_metrics enum constants.
6086 Return Qunbound instead of Qnil.
6088 * device-tty.c (tty_device_system_metrics): Ditto.
6090 * device-x.c (x_device_system_metrics): Ditto.
6092 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6094 * redisplay-msw.c: implement background pixmaps (really!). Make
6095 sure bg color is transparent if we have bg pmaps.
6096 * (mswindows_output_string) (mswindows_clear_region): output bg
6098 * (mswindows_output_dibitmap_region): new function.
6099 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6100 the bg color rather than transparently.
6102 * toolbar-msw.c: use masks if they exist.
6104 * glyphs-msw.c: set up masks correctly.
6106 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6108 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6110 * regex.c (re_match_2_internal): Check for quit.
6112 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6114 * frame.c (Ffocus_frame): New function.