1 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
7 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
10 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
12 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
13 (CHARSET_PRIVATE_P): Likewise.
14 (XCHARSET_PRIVATE_P): Likewise.
15 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
17 * file-coding.c (encode_coding_ucs4): Don't implement in UTF2000.
18 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
20 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
22 * character.h (LEADING_BYTE_*): Changed in UTF2000.
23 (NUM_LEADING_BYTES): Changed from 128 to 256.
24 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
25 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
27 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
29 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
31 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
32 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
33 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
34 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
35 (Qchinese_cns11643_3): New variable in UTF2000.
36 (Qchinese_cns11643_4): New variable in UTF2000.
37 (Qchinese_cns11643_5): New variable in UTF2000.
38 (Qchinese_cns11643_6): New variable in UTF2000.
39 (Qchinese_cns11643_7): New variable in UTF2000.
40 (syms_of_mule_charset): Define `chinese-cns11643-3',
41 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
42 and `chinese-cns11643-7' in UTF2000.
43 (vars_of_mule_charset): Initialize
44 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
46 (complex_vars_of_mule_charset): Setup charset
47 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
48 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
50 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
52 * mule-charset.c: Move setting for `leading-code-private-11' from
53 `syms_of_mule_charset' to `vars_of_mule_charset'.
55 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
57 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
58 and `NUM_LEADING_BYTES' in assert.
60 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
62 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
64 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
65 `NUM_LEADING_BYTES' instead of 128.
67 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
69 * mule-charset.h (charset_by_leading_byte): Use
70 `NUM_LEADING_BYTES' instead of 128.
71 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
73 * mule-charset.c (charset_by_leading_byte): Use
74 `NUM_LEADING_BYTES' instead of 128.
75 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
77 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
80 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
82 * mule-charset.c (syms_of_mule_charset): Update to
85 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
87 * file-coding.c (encode_coding_sjis): New implementation for
88 UTF2000. (decode_coding_sjis): Ditto.
90 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
92 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
93 Don't define in UTF2000.
95 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
98 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
99 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
102 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
104 * config.h.in (CHAR_IS_UCS4): New macro.
106 * mule-charset.c (rep_bytes_by_first_byte): Modify for
107 conventional MULE representation.
108 (syms_of_mule_charset): Update to 0.3 (Imamiya).
110 * mule-charset.h: Reverted to original.
112 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
113 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
114 "mule-charset.h" if CHAR_IS_UCS4 is defined.
116 * character.h: New file.
118 * file-coding.c (Fmake_coding_system): Set 1 to
119 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
121 (encode_coding_no_conversion): New implementation for UTF2000.
123 * file-coding.h (struct Lisp_Coding_System): Add new member
126 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
128 * file-coding.c (decode_coding_iso2022): Code-point arguments of
129 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
130 (encode_coding_iso2022): New implementation for UTF2000.
132 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
134 * mule-canna.c (c2mu): New implementation for UTF2000.
137 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
139 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
141 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
143 * file-coding.c (reset_encoding_stream): Set 0 to
144 `str->iso2022.current_char_boundary' in UTF2000.
145 (encode_utf8): Don't define in UTF2000.
146 (encode_coding_utf8): New implementation for UTF-8 representation
148 (complex_vars_of_file_coding): Define coding-system `utf-8'.
150 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
152 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
154 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
156 (REP_BYTES_BY_FIRST_BYTE): Likewise.
158 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
160 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
161 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
163 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
164 (non_ascii_valid_char_p): Don't define in UTF2000.
165 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
166 (Lstream_get_emchar_1): Likewise.
167 (utf-2000-version): New variable in UTF2000.
169 * lread.c (read_escape): Add new reader `u'.
171 * insdel.c (three_to_one_table): Don't define in UTF2000.
172 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
173 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
175 (bytind_to_bufpos_func): Likewise.
176 (buffer_mule_signal_inserted_region): Likewise.
177 (vars_of_insdel): Don't initialize `three_to_one_table'.
178 (init_buffer_text): Use `buf->text->mule_size' instead of
179 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
182 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
183 UTF-8 representation in UTF2000.
184 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
185 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
186 (decode_coding_iso2022): Don't define local variable `lb' in
187 UTF2000; don't use LEADING_BYTE in UTF2000; use
188 `DECODE_ADD_UCS_CHAR' in UTF2000.
189 (convert_to_external_format): Decode as UTF-8 in UTF2000.
191 * config.h.in (UTF2000): New macro.
193 * buffer.h (struct buffer_text): Add new member `mule_size' and
194 don't add `mule_shifter' and `mule_three_p' in UTF2000.
195 (valid_char_p): Return always 1 in UTF2000.
196 (MAX_EMCHAR_LEN): 6 in UTF2000.
197 (three_to_one_table): Don't define in UTF2000.
198 (real_bufpos_to_bytind): Modify for UTF-8 representation in
200 (real_bytind_to_bufpos): Likewise.
202 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
204 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
206 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
207 representation change.
208 (Vutf_2000_version): New variable.
209 (leading_code_private_11): New variable.
210 (syms_of_mule_charset): Add new variables `utf-2000-version' and
211 `leading-code-private-11'.
213 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
214 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
215 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
216 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
217 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
218 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
219 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
220 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
221 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
222 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
223 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
224 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
225 (MIN_CHAR_GREEK): New macro.
226 (MAX_CHAR_GREEK): New macro.
227 (MIN_CHAR_CYRILLIC): New macro.
228 (MAX_CHAR_CYRILLIC): New macro.
229 (MIN_CHAR_HEBREW): New macro.
230 (MAX_CHAR_HEBREW): New macro.
231 (MIN_CHAR_THAI): New macro.
232 (MAX_CHAR_THAI): New macro.
233 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
234 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
235 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
236 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
237 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
238 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
239 (CHAR_FIELD2): New inline function.
240 (CHAR_FIELD3): New inline function.
241 (MULE_CHAR_PRIVATE_OFFSET): New macro.
242 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
243 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
244 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
245 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
246 (MIN_CHAR_COMPOSITION): Likewise.
247 (CHAR_LEADING_BYTE): Modified for character representation change.
248 (MAKE_CHAR): Likewise.
250 * lisp.h (Vcharset_latin_iso8859_1): New variable.
251 (Vcharset_greek_iso8859_7): Likewise.
252 (Vcharset_cyrillic_iso8859_5): Likewise.
253 (Vcharset_hebrew_iso8859_8): Likewise.
254 (Vcharset_thai_tis620): Likewise.
255 (Vcharset_katakana_jisx0201): Likewise.
257 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
259 * file-coding.c (determine_real_coding_system): Treat `coding:'
262 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
264 * file-coding.c (struct decoding_stream): New member `counter'.
265 (reset_decoding_stream): Initialize `counter'.
266 (decode_coding_ucs4): Use `counter'.
267 (decode_coding_utf8): Likewise.
269 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
271 * XEmacs 21.2.19 is released
273 1999-07-27 Jeff Miller <jmiller@smart.net>
275 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
276 menubar_show_keybindings.
278 1999-07-23 SL Baur <steve@miho>
280 * mule-charset.c (syms_of_mule_charset): Delete duplicated
281 definition of Qccl_program.
283 * mule-ccl.h: Make a global declaration of it here.
285 1999-07-20 Bob Weiner <weiner@beopen.com>
287 * s/sco7.h: Added from rr@sco.com.
289 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
291 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
293 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
295 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
296 (mule_encode): Likewise.
298 * mule-ccl.c (Qccl_program): New variable.
299 (CCL_SUSPEND): New macro.
300 (CCL_INVALID_CMD): New macro.
301 (CCL_READ_CHAR): Don't regard as invalid command while processing
302 the last block even if input is empty; use
303 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
304 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
306 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
307 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
308 (CCL_STAT_SUSPEND_BY_DST): Likewise.
309 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
310 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
312 1999-05-04 Ken'ichi Handa <handa@gnu.org>
314 * mule-ccl.h (struct ccl_program): New member stack_idx.
316 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
317 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
319 (setup_ccl_program): Initialize ccl->stack_idx to 0.
321 1998-10-12 Kenichi Handa <handa@etl.go.jp>
323 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
326 1998-08-18 Kenichi Handa <handa@etl.go.jp>
328 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
329 processing the last block, don't just finish but processes eol
330 block of the current CCL program.
331 (ccl_driver): Add a new jump label ccl_repeat for the above
334 1998-04-15 Kenichi Handa <handa@etl.go.jp>
336 * mule-ccl.c: Typo in comments fixed.
337 (Qccl_program_idx): New variables.
338 (CCL_ReadMultibyteChar2): Macro name changed from
339 CCL_ReadMultibyteCharacter.
340 (CCL_WriteMultibyteChar2): Macro name changed from
341 CCL_WriteMultibyteChar2.
342 (ccl_driver): Adjusted for the above changes.
343 (resolve_symbol_ccl_program): New function.
344 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
345 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
346 numbers by resolve_symbol_ccl_program.
347 (Fccl_execute_on_string): Likewise.
348 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
349 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
351 1998-01-21 Kenichi Handa <handa@etl.go.jp>
353 * mule-ccl.h: (struct ccl_program): New member private_state.
356 (CCL_Call): Fix the comment.
357 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
358 macros for CCL Commands.
360 (ccl_driver): New case lable `CCL_Extention'.
361 (setup_ccl_program): Initialize the member `private_state' of CCL.
363 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
365 * keymap.c (copy_keymap_internal): Inherit the default binding.
367 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
369 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
370 focus the event (XIM_focus_event).
371 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
372 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
373 the interface for future use (XIM_SetGeometry).
374 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
375 location (XIM_SetSpotLocation).
376 (x_output_eol_cursor): Ditto.
378 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
380 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
381 Olivier's change to lrecord.h of 1999-04-22
383 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
385 * gutter.c (redraw_exposed_gutter): Change type of pos from
386 enum toolbar_pos -> enum gutter_pos, since former is only defined
387 if toolbar support is.
389 1999-07-19 Andy Piper <andy@xemacs.org>
391 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
394 * gutter.c (gutter_validate): new function for the gutter specifier.
395 (specifier_type_create_gutter): declare specifier validator.
397 * buffer.h (INC_CHARBYTIND): add for no error checking version.
399 1999-07-18 Andy Piper <andy@xemacs.org>
401 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
403 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
405 (mswindows_resize_subwindow): new function.
407 * gutter.c (redraw_exposed_gutter): only reset the
408 current_display_lines if non-zero.
409 (Fgutter_pixel_height): new function.
410 (Fgutter_pixel_width): new function.
412 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
413 we want to retrive from the tab control.
415 1999-07-17 Andy Piper <andy@xemacs.org>
417 * window.c (change_window_height): mark gutters changed when we're
420 * gutter.c (specifier_vars_of_gutter): make defaults more
423 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
425 (DEFAULT_GUTTER_WIDTH): change.
426 (DEFAULT_GUTTER_BORDER_WIDTH): change.
428 1999-07-18 Andy Piper <andy@xemacs.org>
430 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
432 1999-07-16 Andy Piper <andy@xemacs.org>
434 * frame.c (Fmake_frame): call init_frame_gutters().
436 * redisplay.c (add_emchar_rune): use string functions if we are
437 working with a string.
438 (position_redisplay_data_type): add string element.
440 1999-07-15 Andy Piper <andy@xemacs.org>
442 * winslots.h: add real_gutter_size slots to hold the actual gutter
443 size. This is important for autodetected sizes.
445 * gutter.c (calculate_gutter_size): calculate size for gutters
446 that have 'autodetect size.
448 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
449 extent of divider for gutters.
451 * redisplay-x.c (x_output_vertical_divider): adjust extent of
454 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
455 position to take into account the gutters.
457 * redisplay.c (generate_modeline): adjust modeline position to
458 take into account the gutters.
460 1999-07-14 Andy Piper <andy@xemacs.org>
462 * gutter.c (frame_topmost_window): new function.
463 (frame_bottommost_window): ditto.
464 (frame_leftmost_window): ditto.
465 (frame_rightmost_window): ditto.
467 1999-07-13 Andy Piper <andy@xemacs.org>
469 * redisplay.c (calculate_display_line_boundaries): use text
470 boundaries so that gutters get handled properly.
472 1999-07-12 Andy Piper <andy@xemacs.org>
474 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
477 * redisplay-output.c (redisplay_clear_to_window_end): generalised
480 * redisplay-x.c (redisplay_clear_to_window_end): moved to
483 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
485 * gutter.c: new file - implements gutters. All new functions are
486 semantically equivalent to the toolbar functions.
487 (gutter_was_visible): new function.
488 (get_gutter_coords): ditto.
489 (output_gutter): ditto.
490 (clear_gutter): ditto.
491 (update_frame_gutters): ditto.
492 (redraw_exposed_gutter): ditto.
493 (redraw_exposed_gutters): ditto.
494 (free_frame_gutters): ditto.
495 (init_frame_gutters): ditto.
496 (decode_gutter_position): ditto.
497 (Fset_default_gutter_position): ditto.
498 (Fset_default_gutter_position): ditto.
499 (Fdefault_gutter_position): ditto.
500 (gutter_after_change): ditto.
501 (Fgutter_specifier_p): ditto.
502 (recompute_overlaying_specifier): ditto.
503 (gutter_specs_changed): ditto.
504 (default_gutter_specs_changed): ditto.
505 (gutter_geometry_changed_in_window): ditto.
506 (default_gutter_size_changed_in_window): ditto.
507 (default_gutter_border_width_changed_in_window): ditto.
508 (default_gutter_visible_p_changed_in_window): ditto.
509 (syms_of_gutter): ditto.
510 (vars_of_gutter): ditto.
511 (specifier_type_create_gutter): ditto.
512 (specifier_vars_of_gutter): ditto.
514 * gutter.h: new file. Contains gutter constants and sizing macros
515 similar to those for the toolbar.
517 * winslots.h: add gutter variables.
519 * window.h: declare window_is_* functions.
521 * window.c (window_is_lowest): make non-static.
522 (window_is_highest): ditto.
523 (window_top_toolbar_height): deleted.
524 (window_bottom_toolbar_height): deleted.
525 (window_left_toolbar_width): deleted.
526 (window_right_toolbar_width): deleted.
527 (window_top_gutter_height): add gutter sizing.
528 (window_bottom_gutter_height): ditto.
529 (window_left_gutter_width): ditto.
530 (window_right_gutter_width): ditto.
532 * symsinit.h: declarations for gutters vars etc.
534 * search.c (bi_find_next_emchar_in_string): new function.
536 * scrollbar.c (update_scrollbar_instance): remove reference to
537 window_bottom_toolbar_height which did nothing.
539 * redisplay.h (struct display_line): add face indices for
540 overriding defaults in output_display_line.
541 Add gutter_changed flags and declarations.
543 * redisplay.c (create_string_text_block): new function, similar to
544 create_text_block but for strings. Display tables etc are used
545 from the currently selected window.
546 (generate_string_display_line): ditto. Similar to
547 generate_display_line.
548 (generate_displayable_area): generate display lines for a given
549 area on a frame. Input is the string, with associated extents, to
551 (redisplay_frame): add gutter_changed check.
552 (redisplay_device): ditto.
553 (redisplay_without_hooks): ditto.
555 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
556 (x_redraw_exposed_area): redraw exposed gutters.
557 (x_bevel_area): new redisplay device method.
558 (x_type_create_redisplay_mswindows): add bevel_area device method.
559 (x_output_display_block): fiddly Martin-style cleanup.
560 (x_output_vertical_divider): use bevel_area.
562 * redisplay-output.c (output_display_line): check display_lines
563 for face information before using defaults.
564 (bevel_modeline): new function, calls bevel_area with appropriate
567 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
568 (mswindows_redraw_exposed_area): redraw exposed gutters.
569 (mswindows_bevel_area): new redisplay device method.
570 (console_type_create_redisplay_mswindows): add bevel_area device
573 * indent.c (string_column_at_point): add column_at_point but for
576 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
577 instantiate widgets that we have a toolkit for.
579 * general.c: add Qgutter.
581 * frame.h (struct frame): add display lines for gutters and
584 * frame.c (set_frame_selected_window): mark gutters changed.
586 * emacs.c (main_1): add gutter initialisation.
588 * device.h (struct device): add gutter_changed flag and macros to
591 * console.h (struct console_methods): new bevel area redisplay
594 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
595 REAL_INC_BYTIND is for buffers.
596 (INC_CHARPTR): ditto.
598 * Makefile.in.in (objs): add gutter.o
600 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
602 * XEmacs 21.2.18 is released
604 1999-07-08 SL Baur <steve@mule.m17n.org>
606 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
608 (emacs_Xt_handle_magic_event): Ditto.
609 * redisplay-x.c (x_output_string): Ditto.
610 (x_output_eol_cursor): Ditto.
612 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
614 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
615 problem that when XIM is destroyed or missed with some reason,
616 xemacs will die. Now xim=xlib waits the XIM will be ready and
617 endures the case of XIM end up.
619 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
621 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
622 SIGINT and SIGCHLD before calling tt_open and restore the
623 afterwards. This fixes e.g. the zombie subprocesses on Solaris
625 1999-07-06 SL Baur <steve@xemacs.org>
627 * s/linux.h: gcc-2.8 changes for powerpc
628 From Justin Vallon <vallon@mindspring.com>
630 1999-07-05 Didier Verna <verna@inf.enst.fr>
632 * indent.c: new symbol Qcoerce.
633 (Fmove_to_column): use it + doc string update.
635 1999-07-04 Andy Piper <andy@xemacs.org>
637 * console.c: undo earlier Fprovide changes.
641 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
642 function. validate appropriate image formats for tty.
644 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
645 initialize consoles parameter.
646 (struct image_instantiator_methods): add consoles parameter.
647 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
649 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
652 * glyphs-msw.c: declare instantiators for later use.
653 (image_instantiator_format_create_glyphs_mswindows): validate xpm
654 and friends on the mswindows console.
657 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
658 that have not been registered on the supplied device.
659 (Fvalid_image_instantiator_format_p): add locale argument.
660 (instantiate_image_instantiator): valid image instantiator on the
663 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
666 * emacs.c (main_1): add call to
667 image_instantiator_format_create_glyphs_tty().
669 1999-06-29 Olivier Galibert <galibert@pobox.com>
671 * lisp.h: Add #include <stddef.h>.
673 * sysdep.c: Remove #include <stddef.h>.
674 * symbols.c: Remove #include <stddef.h>.
675 * sheap.c: Remove #include <stddef.h>.
676 * opaque.c: Remove #include <stddef.h>.
677 * nt.c: Remove #include <stddef.h>.
678 * mule-charset.c: Remove #include <stddef.h>.
679 * marker.c: Remove #include <stddef.h>.
680 * file-coding.c: Remove #include <stddef.h>.
681 * extents.c: Remove #include <stddef.h>.
682 * elhash.c: Remove #include <stddef.h>.
683 * data.c: Remove #include <stddef.h>.
684 * chartab.c: Remove #include <stddef.h>.
685 * bytecode.c: Remove #include <stddef.h>.
686 * alloc.c: Remove #include <stddef.h>. Fix vector description
688 1999-06-30 SL Baur <steve@miho.m17n.org>
690 * editfns.c: Document "%s" format spec.
691 Suggested by Bob Weiner <weiner@altrasoft.com>
693 1999-06-29 Andy Piper <andy@xemacs.org>
695 * event-msw.c: fix definition booboo.
697 1999-06-28 Andy Piper <andy@xemacs.org>
699 * glyphs-x.c: change tree -> tree-view, progress ->
700 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
702 (complex_vars_of_glyphs_x): provide-on-console the implemented
705 * glyphs-msw.c: ditto.
706 (complex_vars_of_glyphs_mswindows): ditto.
708 * lisp.h: add Fprovide_on_console.
710 * fns.c (Ffeaturep): add extra optional console argument.
711 (Fprovide_on_console): like Fprovide but provides only on the
712 specified console-type.
713 (Frequire): check console-features as well as global features.
715 * console.c (Fconsole_features): new function. return features for
717 (syms_of_console): add Fconsole_features.
719 * console.h (CONMETH_FEATURES): new function for accessing features.
720 (CONSOLE_FEATURES): ditto.
721 (struct console_methods): add features slot.
722 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
724 1999-06-28 Andy Piper <andy@xemacs.org>
726 * event-Xt.c (handle_focus_event_1): conditionally compile for
729 * s/cygwin32.h: fix me website address.
731 * event-msw.c: add NMHDR for pre b20 cygwin builds.
733 * gui-x.c (button_item_to_widget_value): only add callback if it
736 * glyphs-x.c: add progress, edit and combo instantiators.
737 (x_widget_set_property): new function. uses lwlib to set widget
739 (x_widget_property): new function. uses lwlib to get widget
741 (x_button_instantiate): support images in buttons.
742 (x_button_property): new function. use lwlib to get the selected
744 (x_progress_instantiate): new function for instantiating progress
746 (x_progress_set_property): new function. sets the progress gauge
748 (x_edit_instantiate): new function. for instantiating edit fields.
749 (x_combo_instantiate): new function. for instantiating combo
751 (image_instantiator_format_create_glyphs_x): add new device ii
754 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
756 * console.h (CONSOLE_FEATURES): new features accesor.
758 * conslots.h (MARKED_SLOT): add features entry.
760 1999-06-25 Andy Piper <andy@xemacs.org>
762 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
765 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
767 * gui.h (struct Lisp_Gui_Item): add accelerator.
769 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
770 (gui_item_init): ditto.
771 (gui_add_item_keywords_to_plist): ditto.
772 (mark_gui_item): ditto.
773 (gui_item_hash): ditto.
774 (gui_item_accelerator): new function.
775 (gui_name_accelerator): new function stolen from gui-x.c
777 * gui-x.c (popup_selection_callback): always define. mark
778 subwindows changed after calling a callback.
779 (menu_name_to_accelerator): deleted.
780 (button_item_to_widget_value): forward gui_item things to gui_item
783 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
784 appropriate accesors.
786 * glyphs-x.c: declare new glyph formats.
787 (x_finalize_image_instance): unmanage and destroy widgets if they
789 (x_unmap_subwindow): handle widgets specially.
790 (x_map_subwindow): ditto. offset display of widgets by offset of
791 text widget within container.
792 (x_update_subwindow): new function. call lw_modify_all_widgets
793 when we are a widget.
794 (x_widget_instantiate): new function for generically creating
795 widgets-glyphs. toolkit specifics forwarded to lwlib.
796 (x_button_instantiate): new function for instantiating
797 widgets-glyph buttons.
798 (console_type_create_glyphs_x): register update_subwindow.
799 (image_instantiator_format_create_glyphs_x): register widget and
802 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
804 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
805 when we get a button press in case we do not have the focus.
806 (handle_focus_event_1): set the keyboard focus to the text widget
807 if we do not have it.
809 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
812 1999-06-24 SL Baur <steve@miho.m17n.org>
814 * syntax.c (scan_words): Restore non-Mule code.
815 (word_constituent_p): Restore.
817 1999-06-23 Olivier Galibert <galibert@pobox.com>
819 * config.h.in: Add missing #undef *_USER_DEFINED.
821 1999-06-23 SL Baur <steve@miho.m17n.org>
823 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
824 int (fixes a 64-bit problem).
826 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
829 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
831 * paths.h.in (PATH_DOC): Made doc-directory configurable.
833 1999-06-22 Olivier Galibert <galibert@pobox.com>
835 * lrecord.h: Added basic external description system.
837 * symbols.c: Added symbol, symbol-value-buffer-local,
838 symbol-value-lisp-magic and symbol-value-varalias description.
839 * mule-charset.c: Added charset description.
840 * marker.c: Added marker description.
841 * keymap.c: Added keymap description.
842 * glyphs.c: Added glyph description.
843 * floatfns.c: Added float description.
844 * file-coding.c: Added coding-system description.
845 * extents.c: Added extent description.
846 * elhash.c: Added hash-table description.
847 * data.c: Added weak-list desciption.
848 * chartab.c: Added char-table-entry and char-table description.
849 * bytecode.c: Added compiled-function description.
850 * alloc.c: Added cons, vector and string description.
852 1999-06-22 Olivier Galibert <galibert@pobox.com>
854 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
855 Updated everything to the removal of the "flags" substructure.
857 * lisp.h (subr_lheader_initializer): Updated.
858 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
860 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
862 * syntax.c (word_constituent_p): Deleted.
863 (scan_words): Use `WORD_BOUNDARY_P'.
865 * chartab.c (Vword_combining_categories): New variable.
866 (Vword_separating_categories): Likewise.
867 (CATEGORYP): New macro.
868 (CATEGORY_SET): Likewise.
869 (CATEGORY_MEMBER): Likewise.
870 (word_boundary_p): New function.
871 (complex_vars_of_chartab): Set up new variable
872 `word-combining-categories' and `word-separating-categories'.
874 1999-06-18 Olivier Galibert <galibert@pobox.com>
876 * lrecord.h: Added description as a placehold in the lrecord
877 implementation structures. Added the parameter to all constructor
880 * alloc.c: Added placeholders.
891 * event-stream.c: Ditto.
895 * file-coding.c: Ditto.
904 * mule-charset.c: Ditto.
909 * specifier.c: Ditto.
915 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
917 * XEmacs 21.2.17 is released
919 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
921 * config.h.in (HAVE_LDAP_SET_OPTION): New define
922 (HAVE_LDAP_GET_LDERRNO): Ditto
923 (HAVE_LDAP_RESULT2ERROR): Ditto
924 (HAVE_LDAP_PARSE_RESULT): Ditto
925 (HAVE_UMICH_LDAP): Removed
926 (HAVE_NS_LDAP): Removed
928 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
929 suggested by Olivier Galibert
930 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
932 * eldap.c: Take the removal of `livep' into account in all the
934 (signal_ldap_error): Take two additional parameters
935 Added new finer compilation conditions in order to use
936 ldap_parse_result or ldap_result2error if available
937 (Fldap_open): Conform to this new API
938 (Fldap_search_internal): Ditto
940 1999-06-17 SL Baur <steve@miho.m17n.org>
942 * data.c (struct int_or_double): Should use EMACS_INT not int.
944 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
946 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
949 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
951 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
954 * file-coding.c (mule_decode): Run `ccl_driver' with
956 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
958 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
959 (ccl_driver): Add new argument `conversion_mode'.
960 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
961 (Fccl_execute_on_string): Likewise [perhaps it is better to add
962 new optional argument].
964 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
965 (CCL_MODE_DECODING): New macro.
966 (ccl_driver): Add new argument `conversion_mode'.
968 1999-06-15 SL Baur <steve@miho.m17n.org>
970 * mule-charset.c (Fsplit_char): New subr.
971 (Fchar_octet): delete.
972 (syms_of_mule_charset): DEFSUBR it.
974 1999-06-13 Andy Piper <andy@xemacs.org>
976 * menubar.h: update declarations involving gui_items.
978 * lisp.h: declare Lisp_Gui_Item.
980 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
982 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
983 (print_image_instance): ditto.
984 (image_instance_equal): ditto.
985 (image_instance_hash): ditto.
987 * event-msw.c (mswindows_need_event): assert badly_p status.
988 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
989 callbacks in tree-view and tab-control widgets.
990 (emacs_mswindows_next_event): modify use of
991 mswindows_dequeue_dispatch_event.
993 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
994 lisp-based gui_items.
996 * glyphs-msw.c (mswindows_update_subwindow): update use of
998 (mswindows_register_gui_item): new function.
999 (mswindows_register_gui_item): fix to use lisp gui_items.
1000 (mswindows_widget_instantiate): ditto.
1001 (mswindows_button_instantiate): ditto.
1002 (add_tree_item): new function to recursively add tree view
1004 (add_tree_item_list): ditto.
1005 (mswindows_tree_instantiate): new function. instantiate tree view
1007 (add_tab_item): new function to add tabs to a tab control.
1008 (mswindows_tab_instantiate): new function. instantiate tab
1010 (image_instantiator_format_create_glyphs_mswindows): add tree view
1012 (vars_of_glyphs_mswindows): ditto.
1014 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1016 (check_valid_item_list): ditto.
1017 (initialize_widget_image_instance): fix to use new lisp gui_item.
1018 (widget_instantiate_1): allow the setting of default textwidth in
1020 (widget_instantiate): change to use new widget_instantiate_1
1022 (combo_instantiate): ditto.
1023 (static_instantiate): ditto.
1024 (tab_instantiate): new function for tab widgets.
1025 (image_instantiator_format_create_glyphs_widget): add tab and tree
1028 * menubar-msw.c (displayable_menu_item): convert to use lisp
1030 (populate_menu_add_item): ditto.
1031 (populate_or_checksum_helper): ditto.
1033 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1035 (Fmenu_find_real_submenu): ditto.
1037 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1039 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1040 objects, convert functions that use them accordingly.
1041 (gui_item_init): ditto.
1042 (gui_item_active_p): ditto.
1043 (gui_item_selected_p): ditto.
1044 (gui_item_included_p): ditto.
1045 (gui_item_display_flush_left): ditto.
1046 (gui_item_display_flush_right): ditto.
1047 (mark_gui_item): ditto.
1048 (allocate_gui_item): new function to create a gui_item.
1049 (make_gui_item_from_keywords_internal): ditto. create and return a
1050 gui_item as well as setting keywords.
1051 (gui_parse_item_keywords): ditto.
1052 (gui_parse_item_keywords_no_errors): ditto.
1053 (gui_add_item_keywords_to_plist): new function, not yet used.
1054 (gui_item_hash): new function.
1055 (gui_item_id_hash): use gui_item_hash.
1056 (gui_item_equal): new function.
1057 (print_gui_item): new function.
1059 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1061 * XEmacs 21.2.16 is released
1063 1999-06-10 Andy Piper <andy@xemacs.org>
1065 * select-msw.c (mswindows_own_selection): only set the clipboard
1067 (mswindows_get_foreign_selection): only get the clipboard if
1069 (mswindows_disown_selection): only disown the clipboard if asked.
1071 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1073 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1075 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1076 of coding-category `no-conversion'.
1078 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1080 * file-coding.c (Qraw_text): New variable.
1081 (syms_of_mule_coding): Add new symbol `raw-text'.
1082 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1083 define coding-system `binary' independently; define coding-system
1084 `no-conversion' as an alias for `raw-text'.
1086 * file-coding.h (Qraw_text): New variable.
1088 1999-06-08 SL Baur <steve@xemacs.org>
1090 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1092 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1094 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1096 (base64_decode_1): Signal errors instead of returning -1.
1098 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1100 * mule-charset.c (Fmake_char): Update docstring.
1102 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1104 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1106 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1108 * fns.c (base64_decode_1): Allow and ignore any non-base64
1109 characters in input.
1111 1999-05-27 Olivier Galibert <galibert@pobox.com>
1113 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1114 of report_pure_usage().
1116 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1118 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1120 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1122 * XEmacs 21.2.15 is released
1124 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1126 * frame.c (Fset_mouse_position):
1127 (Fset_mouse_pixel_position):
1128 * window.c (Fsplit_window):
1129 (Fmove_to_window_line):
1130 Fix crash when invoking functions with an already-deleted window
1133 * indent.c (vertical_motion_1):
1135 (Fvertical_motion_pixels):
1136 * window.c (Fwindow_displayed_text_pixel_height):
1137 Fix error message when invoking functions with an already-deleted
1140 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1142 * sysdep.c (request_sigio_on_device): Guard against glibc
1143 2.1's stub streams implementation.
1145 1999-06-03 SL Baur <steve@xemacs.org>
1148 * emacs.c: Implement x.y.z version numbers
1149 From Jan Vroonhof <vroonhof@math.ethz.ch>
1151 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1153 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1154 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1157 1999-06-03 SL Baur <steve@xemacs.org>
1160 * device-x.c: rename session option to wmcommand.
1161 From Oliver Graf <ograf@rhein-zeitung.de>
1163 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1165 * fns.c (Fsubstring): Don't traverse the same region twice with
1166 charcount_to_bytecount().
1168 1999-06-03 SL Baur <steve@steve1.m17n.org>
1170 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1173 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1174 doesn't really work as is implied by the commentary).
1175 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1177 1999-06-02 SL Baur <steve@steve1.m17n.org>
1179 * symsinit.h: Declare vars_of_ntproc.
1180 * emacs.c (main_1): Call it.
1182 * ntproc.c (syms_of_ntproc): Move variable initializations from
1184 (vars_of_ntproc): ... to here [new function].
1186 * file-coding.c (syms_of_file_coding): Rename.
1187 (vars_of_file_coding): Ditto.
1188 (complex_vars_of_file_coding): Ditto.
1190 * symsinit.h: Rename *_mule_coding to *_file_coding.
1192 * emacs.c (main_1): Call them by the proper name.
1194 * device-msw.c (syms_of_device_mswindows): Move variable
1195 initializations from here ...
1196 (vars_of_device_mswindows): ... to here.
1198 * chartab.c (vars_of_chartab): New function.
1200 * symsinit.h: New function, vars_of_chartab.
1202 * emacs.c (main_1): Call it.
1204 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1205 (vars_of_mule_canna): ... to here.
1207 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1208 initializations out of syms_of_mule_ccl.
1210 * symsinit.h: Declare new function vars_of_mule_ccl.
1212 * emacs.c (main_1): Call it.
1214 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1216 * fns.c (base64_decode_1): Ignore whitespace.
1218 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1220 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1223 1999-05-21 Andy Piper <andy@xemacs.org>
1225 * xselect.c: deleted.
1227 * symsinit.h: declare select initialisation.
1229 * select.h: new file. declare commonly used select functions and
1232 * select.c: new file. generalised from xselect.c.
1233 (clean_local_selection_data): moved from xselect.c.
1234 (get_local_selection): ditto. device specific pieces called via a
1236 (handle_selection_clear): ditto.
1237 (Fown_selection_internal): renamed and generalised from
1238 Fx_own_selection_internal. moved from xselect.c.
1239 (Fdisown_selection_internal): ditto.
1240 (Fselection_owner_p): ditto.
1241 (Fselection_exists_p): ditto.
1242 (Fget_selection_internal): ditto.
1243 (syms_of_select): new function. QXXXX values moved from xselect.c
1244 (vars_of_select): new function. selection_converter_alist,
1245 lost_selection_hooks moved and renamed from xselect.c
1247 * select-x.c: renamed from xselect.c.
1248 (x_own_selection): converted to device specific. non-X-specific
1249 bits moved to select.c.
1250 (x_get_foreign_selection): ditto.
1251 (x_disown_selection): ditto.
1252 (x_selection_exists_p): ditto.
1253 (console_type_create_select_x): new function.
1255 * select-msw.c (mswindows_own_selection): new device method to set
1256 the clipboard when we 'own' the selection.
1257 (mswindows_get_foreign_selection): new device method to get the
1259 (mswindows_disown_selection): new device method to delete the
1260 selection when we 'disown' it.
1261 (console_type_create_select_mswindows): new function.
1263 * emacs.c (main_1): add select to things to initialise.
1265 * console.h (struct console_methods): new console methods for
1268 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1270 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1272 * print.c (long_to_string): Install a faster version.
1274 1999-05-16 Andy Piper <andy@xemacs.org>
1276 * ntproc.c (syms_of_ntproc): default
1277 win32-start-process-share-console to t.
1279 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1281 * config.h.in: Do it here.
1283 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1285 1999-05-14 Andy Piper <andy@xemacs.org>
1287 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1290 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1292 * XEmacs 21.2.14 is released
1294 1999-05-12 Andy Piper <andy@xemacs.org>
1296 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1298 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1300 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1301 run_temacs_argv array -- fixes random memory corruption crash
1303 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1305 * window.c (Fcurrent_window_configuration):
1306 Save minibuffer height;
1308 * window.c (set_window_configuration): use it.
1310 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1312 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1314 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1316 * redisplay.c (redisplay_window): Do not put data
1317 in the line start cache if it is not guaranteed to be correct
1319 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1321 * window.c (struct window_config): Removed frame
1323 (window_config_equal): No longer compare frame sizes.
1324 (Fset_window_configuration): Resize old top window to fit in the
1325 current frame directly, no longer use a fake frame resize.
1326 (Fcurrent_window_configuration): No longer save frame size
1328 1999-05-11 Andy Piper <andy@xemacs.org>
1330 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1333 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1335 * sysdep.c (init_system_name): If gethostname gives a proper
1336 domain name, don't look further for one.
1338 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1340 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1341 (Fintern_soft): Accept a symbol argument.
1343 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1345 * symbols.c (Fintern): ...do it here.
1347 * lread.c (read_atom): Don't handle keywords here.
1349 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1351 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1353 1999-05-03 Olivier Galibert <galibert@pobox.com>
1355 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1356 is interned in the main obarray.
1358 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1360 * menubar-x.c (pre_activate_callback): set accelerator field in
1361 "No menu" entries to nil. Avoid crash in
1362 command_builder_operate_menu_accelerator
1364 1999-05-03 Olivier Galibert <galibert@pobox.com>
1366 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1368 * lisp.h (DEFUN): Fix lrecord header initialisation.
1370 1999-05-02 Andy Piper <andy@xemacs.org>
1372 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1374 * ntproc.c (sys_kill): cast using MS mandated defines.
1376 1999-04-29 Andy Piper <andy@xemacs.org>
1378 * m/intel386.h: remove redundant definitions.
1380 * s/mingw32.h: new header for mingw32.
1382 * unexnt.c: (open_input_file): function moved to nt.c.
1383 (close_file_data): ditto.
1384 (rva_to_section): function moved to ntproc.
1386 * symsinit.h: declare syms_of_ntproc();
1388 * objects-msw.c (mswindows_font_instance_truename): new function.
1390 * ntproc.c: remove many warnings.
1391 (_sys_read_ahead): moved from nt.c and made static.
1392 (rva_to_section): moved from unexnt.c but not defined under
1394 (win32_executable_type): implement what we can for mingw32
1396 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1398 * ntheap.h: remove declarations of functions that are now static.
1400 * ntheap.c: support static heap.
1402 * nt.h: conditionalise X_OK definition.
1404 * nt.c: eliminate many warnings and support mingw32.
1405 (open_input_file): function moved from unexnt.c and made static
1406 (close_file_data): ditto.
1407 (_sys_read_ahead): moved to ntproc.c
1409 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1411 * console-msw.h: support mingw32.
1412 * getloadavg.c: ditto.
1419 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1420 some systems don't have all of the encapsulated system calls.
1422 * callproc.c: warning elimination.
1423 * dired-msw.c: ditto.
1424 * process-nt.c: ditto.
1425 * realpath.c: ditto.
1427 * Makefile.in.in: tweak : and ; for building under mswindows.
1429 1999-04-26 Michael Harnois <mharnois@willinet.net>
1431 * eldap.c (allocate_ldap): Adapt to the new semantics of
1432 alloc_lcrecord_type().
1434 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1436 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1438 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1440 * Delete mule-coding.c and mule-coding.h because they are not
1443 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1445 * objects.c (print_font_instance): Check for NILP(f->device),
1446 i.e. Vthe_null_font_instance.
1447 (font_instance_truename_internal): ditto.
1448 (Ffont_instance_properties): ditto.
1450 1999-04-22 Olivier Galibert <galibert@pobox.com>
1452 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1455 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1457 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1458 it easier to add new ones.
1460 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1462 * symbols.c (reject_constant_symbols): Ditto.
1463 (init_symbols_once_early): Ditto.
1465 * print.c (print_symbol): Don't use ->obarray.
1467 * symbols.c (Funintern): Ditto.
1469 * alloc.c (Fmake_symbol): Don't set ->obarray.
1471 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1473 * symbols.c (init_symbols_once_early): Removed
1474 Vpure_uninterned_symbol_table.
1475 (Fintern): Don't store to ->obarray field.
1477 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1479 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1480 (eq_with_ebola_notice): Remove abracadabra support.
1482 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1484 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1485 retrieve the distinguished names of entries
1487 1999-03-08 Martin Buchholz <martin@xemacs.org>
1489 * lread.c (read_escape): Make hex escapes read only two hex digits.
1491 1999-04-05 Olivier Galibert <galibert@pobox.com>
1493 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1494 * make-src-depend: Remove puresize-adjust.h.
1495 * src-headers: Remove puresize-adjust.h.
1496 * config.h.in: Kill everything purespace/gung-ho related.
1498 * dbxrc: Make gung-ho mandatory.
1501 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1502 c_readonly and lisp_readonly. Remove implementation arrays.
1503 (C_READONLY_RECORD_HEADER_P): Added.
1504 (LISP_READONLY_RECORD_HEADER_P): Added.
1505 (SET_C_READONLY_RECORD_HEADER): Added.
1506 (SET_LISP_READONLY_RECORD_HEADER): Added.
1508 * lisp.h: Kill everything purespace/non gung-ho related.
1509 (CHECK_C_WRITEABLE): Added.
1510 (CHECK_LISP_WRITEABLE): Added.
1511 (C_READONLY): Added.
1512 (LISP_READONLY): Added.
1514 * lisp-union.h: Make gung-ho mandatory.
1515 * lisp-disunion.h: Ditto.
1517 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1518 set_lheader_implementation calls.
1519 (c_readonly): Added.
1520 (lisp_readonly): Added.
1521 (make_string_nocopy): Added.
1522 (Fpurecopy): Changed to do nothing. Kept the old documentation
1523 for reference purposes for the next patches.
1524 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1525 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1526 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1528 * fns.c: Make gung-ho mandatory.
1529 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1531 (Ffillarray): Ditto.
1533 * data.c: Make gung-ho mandatory.
1534 (pure_write_error): Removed.
1535 (c_write_error): Added.
1536 (lisp_write_error): Added.
1537 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1541 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1542 make_string or make_string_nocopy. Fix various
1543 alloc_lcrecord_type.
1545 * lread.c: Remove everything purespace related.
1546 (Flocate_file_clear_hashing): purified -> c_readonly.
1547 (locate_file): Ditto.
1548 (read_atom): make_pure_pname -> make_string.
1550 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1552 (Fdump_emacs): Ditto.
1554 * print.c (print_internal): Make gung-ho mandatory.
1555 * ntheap.c (sbrk): Ditto.
1556 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1557 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1559 * sheap.c (more_static_core): Remove puresize-adjust.h from
1562 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1564 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1565 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1566 * events.c (deinitialize_event): Fix set_lheader_implementation.
1567 (zero_event): Ditto.
1568 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1569 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1570 * mule-charset.c (make_charset): Ditto.
1571 * console.c (allocate_console): Ditto.
1572 (complex_vars_of_console): Ditto.
1573 * file-coding.c (allocate_coding_system): Ditto.
1574 * device.c (allocate_device): Ditto
1575 * gui-x.c (gcpro_popup_callbacks): Ditto.
1576 * extents.c (allocate_extent_auxiliary): Ditto.
1577 (allocate_extent_info): Ditto.
1578 (copy_extent): Ditto.
1579 * glyphs.c (allocate_image_instance): Ditto.
1580 (allocate_glyph): Ditto.
1581 * frame.c (allocate_frame_core): Ditto.
1582 * database.c (allocate_database): Ditto.
1583 * tooltalk.c (make_tooltalk_message): Ditto.
1584 (make_tooltalk_pattern): Ditto.
1585 * rangetab.c (Fmake_range_table): Ditto.
1586 (Fcopy_range_table): Ditto.
1587 * process.c (make_process_internal): Ditto.
1588 * chartab.c (Fmake_char_table): Ditto.
1589 (make_char_table_entry): Ditto.
1590 (copy_char_table_entry): Ditto.
1591 (Fcopy_char_table): Ditto.
1592 * elhash.c (make_general_lisp_hash_table): Ditto.
1593 (Fcopy_hash_table): Ditto.
1594 * buffer.c (allocate_buffer): Ditto.
1595 (complex_vars_of_buffer): Ditto.
1596 * event-stream.c (allocate_command_builder): Ditto.
1597 * objects.c (Fmake_color_instance): Ditto.
1598 (Fmake_font_instance): Ditto.
1599 (vars_of_objects): Ditto.
1600 * toolbar.c (update_toolbar_button): Ditto.
1601 * window.c (allocate_window): Ditto.
1602 (make_dummy_parent): Ditto.
1603 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1604 (vars_of_window): Fix make_lcrecord_list.
1605 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1607 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1608 * opaque.c (make_opaque): Fix alloc_lrecord.
1609 (make_opaque_list): Fix alloc_lrecord_type.
1611 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1613 * process.c (Fstart_process_internal): Ditto.
1615 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1618 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1620 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1623 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1624 (emodules_load): Use it when calling locate_file().
1626 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1629 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1630 (vars_of_callproc): Initialize it.
1631 (Fcall_process_internal): Use it when calling locate_file().
1633 * alloc.c (disksave_object_finalization): Use
1634 Flocate_file_clear_hashing().
1636 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1637 given `t' as argument.
1639 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1641 * lread.c (locate_file): Expand `pathel' when appropriate.
1642 (Flocate_file_clear_hashing): Expand path elements.
1643 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1645 * dired.c (make_directory_hash_table): Create the hash-table only
1646 if the directory open is successful.
1648 * lread.c (decode_mode_1): New function.
1649 (decode_mode): Ditto.
1650 (Flocate_file): Use them.
1651 (Flocate_file): Expand FILENAME.
1652 (locate_file_map_suffixes): New function.
1653 (locate_file_in_directory_mapper): New function.
1654 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1655 and locate_file_map_suffixes().
1656 (locate_file_construct_suffixed_files): Use
1657 locate_file_map_suffixes().
1658 (locate_file_without_hash): Don't GCPRO path.
1659 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1660 (syms_of_lread): Remove Qlocate_file_hash_table.
1661 (locate_file_find_directory_hash_table): Use
1662 Vlocate_file_hash_table.
1663 (locate_file_refresh_hashing): Ditto.
1665 * lread.c: Renamed read_objects to Vread_objects.
1667 1999-04-16 Olivier Galibert <galibert@pobox.com>
1669 * mule-charset.c: Generally resync with fsf 20.3 charset
1671 (make_charset): Add long and short name. Use id instead of
1673 (Fmake_charset): Ditto.
1674 (Fmake_reverse_direction_charset): Ditto.
1675 (Fcharset_property): Ditto.
1676 (Fcharset_short_name): Added.
1677 (Fcharset_long_name): Added.
1678 (Fcharset_description): Renamed from charset-doc-string.
1679 (syms_of_mule_charset): Synced symbols.
1680 (complex_vars_of_mule_charset): Synced charsets.
1682 * mule-charset.h: Removed leading byte (uses id instead), added
1683 short and long name.
1685 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1687 * file-coding.c (Fdefine_coding_system_alias): New function.
1689 1999-04-08 Olivier Galibert <galibert@pobox.com>
1691 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1692 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1694 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1696 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1697 attach to the extent is valid.
1699 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1701 * dired.c (user_name_completion): Mule-ize.
1702 (user_name_completion): Use xmalloc/xrealloc/xfree.
1703 (user_name_completion): Use DO_REALLOC.
1704 (user_name_completion): Cut down the number of static variables;
1706 (user_name_completion): Username completion is always
1709 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1711 * fns.c (base64_decode_1): Remove COUNTER.
1712 (base64_decode_1): Accept CRLF in addition to CR.
1713 (base64_decode_1): Disallow a stray character after final EOF; the
1714 check was probably a remnant of buggy recode code.
1716 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1718 * fns.c (init_provide_once): Provide `base64'.
1720 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1722 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1723 (Fbase64_encode_region): If buffer is read-only, bail out early.
1724 (Fbase64_decode_region): Ditto.
1725 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1727 (Fbase64_encode_string): Ditto.
1728 (Fbase64_decode_region): Ditto.
1729 (Fbase64_decode_string): Ditto.
1731 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1733 * dired.c (Fdirectory_files): Remove redundant code.
1735 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1737 * frame-msw.c Make raise-frame restore minimised windows.
1739 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1741 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1744 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1746 * toolbar-msw.c Consider captions when deciding whether to rebuild
1747 toolbar. This fixes the initial toolbar display for those of us
1748 who don't like captions. These patches applied by Andy Piper.
1750 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1752 * XEmacs 21.2.13 is released
1754 1999-03-12 SL Baur <steve@xemacs.org>
1756 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1758 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1760 * file-coding.c: docstring and comment improvements.
1761 (decode_ucs4) flag possible data loss with comment.
1763 1999-03-10 Martin Buchholz <martin@xemacs.org>
1765 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1769 (decode_coding_ucs4):
1770 (encode_coding_ucs4):
1771 (detect_coding_utf8):
1772 (decode_coding_utf8):
1774 (encode_coding_utf8):
1775 Add CHECK_* macros where needed to avoid crashes.
1776 #ifdef out all composite character support using
1777 #ifdef ENABLE_COMPOSITE_CHARS
1778 Use normal XEmacs coding standards.
1780 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1782 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1784 * file-coding.c (make-coding-system): Add description about
1785 `ucs-4' and `utf-8'.
1786 (detection_state): Modify to implement ucs-4 and utf-8.
1787 (detect_coding_type): Likewise.
1788 (detect_coding_ucs4): New implementation.
1789 (detect_coding_utf8): New implementation.
1790 (encode_utf8): fixed.
1791 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1794 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1796 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1797 2022 registry to private area.
1799 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1801 * file-coding.c (encode_utf8): New function.
1802 (encode_coding_utf8): New implementation.
1804 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1806 * file-coding.c (ucs_to_mule_table): New variable; abolish
1807 `Vucs_to_mule_table'
1808 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1809 (set-ucs-char): New function.
1810 (ucs_to_char): New function.
1811 (ucs-char): New function.
1812 (set-char-ucs): New function.
1813 (char-ucs): New function.
1814 (decode_ucs4): Use `ucs_to_char'.
1815 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1816 `mule-to-ucs-table'.
1818 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1820 * chartab.h: EXFUN `Fget_char_table'.
1822 * file-coding.c (encode_ucs4): New function.
1823 (encode_coding_ucs4): Use `encode_ucs4'.
1825 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1827 * file-coding.c (decode_coding_ucs4): New implementation.
1829 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1831 * file-coding.c (decode_coding_ucs4): fixed.
1833 * file-coding.c (Vmule_to_ucs_table): New variable.
1834 (mule_char_to_ucs4): New function.
1835 (encode_coding_ucs4): New implementation.
1836 (complex_vars_of_mule_coding): Define variable
1837 `mule-to-ucs-table'.
1839 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1841 * file-coding.c (decode_coding_utf8): New implementation.
1843 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1845 * file-coding.c (decode_coding_utf8): fixed.
1847 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1849 * file-coding.c (Vucs_to_mule_table): New variable.
1850 (decode_ucs4): Refer `Vucs_to_mule_table'.
1851 (complex_vars_of_mule_coding): Define variable
1852 `ucs-to-mule-table'.
1854 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1856 * file-coding.c (detect_coding_ucs4): New function (not
1858 (decode_coding_ucs4): New function.
1859 (encode_coding_ucs4): New function (not implemented yet).
1860 (detect_coding_utf8): New function (not implemented yet).
1861 (decode_coding_utf8): New function.
1862 (encode_coding_utf8): New function (not implemented yet).
1863 (make-coding-system): New type `ucs4' and `utf8'.
1864 (coding-system-type): Likewise.
1865 (detection_state): Add `ucs4' and `utf8'.
1866 (detect_coding_type): Likewise.
1867 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1868 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1869 (decode_ucs4): New function (very incomplete).
1870 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1872 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1874 1999-03-08 Martin Buchholz <martin@xemacs.org>
1877 (non_ascii_valid_char_p):
1878 (lookup_composite_char):
1879 (composite_char_string):
1880 (make-composite-char):
1881 (composite-char-string):
1882 (syms_of_mule_charset):
1883 (complex_vars_of_mule_charset):
1884 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1885 (CHAR_LEADING_BYTE):
1887 * file-coding.h (CODING_STATE_COMPOSITE):
1888 (CODING_STATE_ISO2022_LOCK):
1890 (LEADING_BYTE_COMPOSITE):
1891 * file-coding.c (struct iso2022_decoder):
1894 (parse_iso2022_esc):
1895 (encode_coding_iso2022):
1896 #ifdef out all composite character support using
1897 #ifdef ENABLE_COMPOSITE_CHARS
1899 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1901 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1903 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1904 way of `Fbase64_encode_region'.
1906 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1908 * fns.c (base64_encode_1): Don't add a newline at the tail.
1910 1999-03-08 Andy Piper <andy@xemacs.org>
1912 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1915 1999-03-07 Martin Buchholz <martin@xemacs.org>
1917 * console-stream.h (struct stream_console):
1918 * event-unixoid.c (event_stream_unixoid_select_console):
1919 (event_stream_unixoid_unselect_console):
1920 * print.c (Fexternal_debugging_output):
1921 * sysdep.c (reset_one_device):
1922 * console-stream.c (stream_init_console):
1923 (stream_delete_console):
1924 (allocate_stream_console_struct): move into stream_init_console.
1925 (free_stream_console_struct): move into stream_delete_console.
1926 Use `fd' only for file descriptors.
1927 Therefore, rename members of struct stream_console.
1929 * systime.h: Unix98 says sys/time.h should define select(), but
1930 some systems define that in unistd.h. So include that file always.
1932 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1933 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1934 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1936 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1940 Add #include <stdio.h>.
1941 Some versions of assert.h use printf() without #include'ing stdio.h
1943 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1944 (log_gcpro): Remove unused variable FRAME.
1945 (show_gcprohist): Ansify.
1946 Comment the #endif's
1948 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1949 after it's just been XtDestroy'ed!
1951 1999-02-18 Martin Buchholz <martin@xemacs.org>
1953 * opaque.c (print_opaque):
1957 Egcs 1.1.1 seems to have a bug where
1958 INTP (p->size_or_chain)
1959 will crash XEmacs. Fix by introducing intermediate variable.
1961 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1963 * dired.c (Fdirectory_files):
1964 (Ffile_name_completion):
1965 (Ffile_name_all_completions):
1966 (file_name_completion):
1967 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1968 avoid compiler warnings.
1969 - Fix up docstrings so that C variables match documentation.
1971 1999-03-05 Martin Buchholz <martin@xemacs.org>
1973 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1974 variables as small as possible to help out the compiler and the maintainer.
1976 * alloc.c: (disksave_object_finalization):
1977 Set all the *-load-path variables to
1978 nil, not just load-path itself. This gets the locate-file hash
1979 tables garbage collected BEFORE dump, and has the side effect of
1980 preventing crashes on OSF4.0+egcs.
1985 - Clean up gdb/dbx debugging support.
1986 - Storing an EMACS_INT in an enum is not 64-bit clean!
1987 - So change the enum to a set of separate variables.
1988 - Add test cases to help debug the debugging support!
1989 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1990 - Both dbx and gdb have been tested now.
1992 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1994 * XEmacs 21.2.12 is released
1996 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1998 * device-x.c: Support to find best visual without flashing.
2000 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2002 * database.c (berkdb_map): Add flags argument to cursor call (must
2003 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2005 1999-03-03 Martin Buchholz <martin@xemacs.org>
2009 General cleanup. Get free-hook.c working again.
2010 Remove unused functions:
2011 make_strings_hash_table, copy_hash, expand_hash_table.
2015 Always use new ANSI-style function prototypes.
2017 * unexalpha.c (unexec): Never use implicit int.
2019 * sgiplay.c (close_sound_file):
2021 (restore_audio_port):
2026 (write_mulaw_8_chunk):
2027 (write_linear_chunk):
2028 (write_linear_32_chunk):
2029 (initialize_audio_port):
2032 (set_output_format):
2033 (adjust_audio_volume):
2034 (get_current_volumes):
2036 Always use new ANSI-style function prototypes.
2037 Use unistd.h for missing prototypes.
2039 * unexelfsgi.c (round_up):
2041 (unexec): Always use new ANSI-style function prototypes
2043 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2045 * console.h (struct console_methods): Always use full ANSI prototypes
2047 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2049 1999-03-02 Andy Piper <andy@xemacs.org>
2051 * event-stream.c (init_event_stream): make sure native mswindows
2052 gets an appropriate event loop.
2054 1999-02-22 Andy Piper <andy@xemacs.org>
2056 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2057 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2058 (mswindows_raise_frame): remove comment.
2060 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2062 * XEmacs 21.2.11 is released
2064 1999-02-25 SL Baur <steve@xemacs.org>
2066 * mule-charset.c (Qleading_byte): New variable to implement
2067 charset-leading-byte function.
2068 (Fcharset_property): Use it.
2069 (syms_of_mule_charset): Initialize it.
2070 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2072 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2074 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2075 bytes per pixel counting.
2077 1999-02-15 Andy Piper <andy@xemacs.org>
2079 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2082 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2084 * fns.c (Fbase64_encode_string): New optional argument
2087 1999-02-16 Martin Buchholz <martin@xemacs.org>
2089 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2090 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2092 1999-02-10 Martin Buchholz <martin@xemacs.org>
2094 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2095 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2097 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2099 * XEmacs 21.2.10 is released
2101 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2103 * process-nt.c (nt_send_process):
2104 Fix for process-send-region/process-send-string breaking when size
2105 of the input > 128 chars: change maximum chunk size for process
2106 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2109 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2111 * XEmacs 21.2.9 is released
2113 1999-01-30 Martin Buchholz <martin@xemacs.org>
2115 * bytecode.c (funcall_compiled_function): Call
2116 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2118 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2119 #ifdef 0 out unused macro.
2121 1999-01-27 Martin Buchholz <martin@xemacs.org>
2123 * gui.c (gui_parse_item_keywords_internal): Make static.
2125 1999-01-21 Andy Piper <andy@xemacs.org>
2127 * glyphs-msw.c: add xface support.
2128 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2129 (image_instantiator_format_create_glyphs_mswindows): do device
2130 specific initialisation for xfaces.
2131 (xbm_create_bitmap_from_data): line data must be padded to a word
2134 * glyphs-x.c (xface_validate): moved to glyphs.c
2135 (xface_normalize): ditto.
2136 (xface_possible_dest_types): ditto.
2137 (image_instantiator_format_create_glyphs_x): do device specific
2138 initialisation for xfaces.
2140 * glyphs.h: declare xface symbol.
2142 * glyphs.c: move generic xface support here.
2143 (xface_validate): moved from glyphs-x.c
2144 (xface_normalize): ditto.
2145 (xface_possible_dest_types): ditto.
2146 (image_instantiator_format_create): xface declarations moved from
2149 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2151 * event-stream.c (vars_of_event_stream): Fixing documentation.
2153 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2155 * glyphs-eimage.c (gif_instantiate): Correct handling of
2156 interlaced gifs to avoid writing past the end of the eimage
2159 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2161 * search.c (Freplace_match): Handle single backslash at end of
2164 1999-01-12 William M. Perry <wmperry@aventail.com>
2166 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2167 avoid connection errors.
2169 1999-01-12 Andy Piper <andy@xemacs.org>
2171 * redisplay-output.c (redisplay_update_line): backout change that
2172 shouldn't have gone ine.
2174 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2176 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2177 collide with ldap.el
2179 1999-01-11 Andy Piper <andy@xemacs.org>
2181 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2182 (DISPLAY_LINE_YPOS): new macro.
2184 * redisplay-msw.c (mswindows_output_string): use it.
2185 (mswindows_output_pixmap): ditto.
2186 (mswindows_output_display_block): ditto.
2188 * redisplay-output.c (redisplay_output_display_block): new
2189 function. just call the devmeth, maybe insert some generic code
2191 (compare_display_blocks): use it.
2192 (output_display_line): ditto.
2193 (redisplay_unmap_subwindows_maybe): new function. potentially
2194 unmap subwindows in the given area.
2196 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2199 1999-01-10 J. Kean Johnston <jkj@sco.com>
2201 * Makefile.in.in: Set value of moduledir
2202 - Changed DUMPENV to include $(MODULEPATH)
2203 - Added install rule to install header files for use by ellcc.
2205 * config.h.in: Added INHIBIT_SITE_MODULES
2206 - Added HAVE__DLERROR
2207 - Added HAVE_DLFCN_H
2208 - Added DLSYM_NEEDS_UNDERSCORE
2212 * emodules.c: New file containing dynamic loading code.
2214 * emodules.h: New file.
2216 * emacs.c: Added variables Vmodule_directory,
2217 Vsite_module_directory, Vconfigure_module_directory and
2218 Vconfigure_site_module_directory.
2219 - (main_1): Added new variable inhibit_site_modules and command
2220 line options `-no-site-modules' and `--no-site-modules'.
2221 - (main_1): Call syms_of_module() instead of syms_of_dll().
2222 - (main_1): Call vars_of_module().
2223 - (vars_of_emacs): Introduce inhibit-site-modules,
2224 module-directory, configure-module-directory,
2225 site-module-directory, and configure-site-module-directory to the
2228 * lisp.h: Declare load_module and list_modules, as well as
2229 Vmodule_directory, Vsite_module_directory,
2230 Vconfigure_module_directory and Vconfigure_site_module_directory.
2232 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2233 - Added correct support for site-lisp directory.
2235 * symbols.c (defsubr): Modified to allow modules to add new subrs
2237 - (defsubr_macro): Same.
2238 - (defvar_magick): Only use purespace when not initialized, so
2239 that loaded modules can still add symbols.
2241 * symsinit.h: Add definitions for syms_of_module(),
2242 vars_of_module(). Removed syms_of_dll().
2244 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2245 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2246 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2248 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2249 explicitly pass -belf for native cc.
2251 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2252 hard-coding the library name.
2254 1999-01-01 <martin@xemacs.org>
2256 * device-x.c (Fx_set_font_path):
2257 Add proper cast to permit compilation under C++.
2259 * buffer.c (directory_is_current_directory):
2260 Add proper casts to permit compilation under C++.
2262 1998-12-30 Damon Lipparelli <lipp@primus.com>
2264 * event-msw.c (mswindows_wnd_proc):
2265 Fixed failure when building with MSVC 5.
2267 1998-12-29 Martin Buchholz <martin@xemacs.org>
2269 * file-coding.c (decode_coding_iso2022):
2270 - Prevent crash when decoding ISO7/Lock detected files
2271 - the usual martin fiddling
2273 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2277 Fixed failures when building with MSVC.
2278 * unexnt.c (dump_bss_and_heap):
2279 Removed compiler warning by removing bss_data variable.
2281 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2283 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2284 so that packages that distribute their own fonts can access them.
2286 1998-12-28 Andy Piper <andy@xemacs.org>
2288 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2289 that have an image provided.
2291 * glyphs.h: add Q_image decl.
2293 * glyphs-widget.c new functionality allowing images in
2295 (check_valid_glyph_or_image): new function to validate
2296 glyphs passed in through :image.
2297 (widget_normalize): new function. convert :image parameters into
2298 real glyphs if not already so.
2299 (widget_instantiate_1): mess with size parameters to be similar to
2301 (syms_of_glyphs_widget): new keyword :image.
2302 (image_instantiator_format_create_glyphs_widget): normalize
2303 buttons and allow :image.
2305 1998-12-27 Andy Piper <andy@xemacs.org>
2307 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2309 * glyphs-widget.c (check_valid_anything): no-op function.
2310 (check_valid_callback): check callbacks in gui_items.
2311 (check_valid_symbol): as it sounds.
2312 (check_valid_string_or_vector): ditto.
2313 (widget_validate): modified for descriptors that are vectors or
2314 sequences of keyword/val pairs.
2315 (widget_instantiate_1): ditto.
2316 (image_instantiator_format_create_glyphs_widget): allow gui_item
2317 keywords in the instantiator.
2319 * gui.c (gui_parse_item_keywords_internal): renamed from
2320 gui_parse_item_keywords but taking error behaviour.
2321 (gui_parse_item_keywords): use it.
2322 (gui_parse_item_keywords_no_errors): ditto.
2323 (gui_item_add_keyval_pair): add Error_behavior flag and only
2324 signal invalid keywords if required.
2326 * gui.h: new gui signatures.
2328 * menubar.c (menu_parse_submenu_keywords): use new
2329 gui_item_add_keyval_pair signature.
2331 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2333 1998-12-28 Martin Buchholz <martin@xemacs.org>
2335 * XEmacs 21.2.8 is released.
2337 1998-12-28 Martin Buchholz <martin@xemacs.org>
2339 * editfns.c (get_home_directory):
2340 (user-home-directory): Simplify.
2343 * callproc.c (child_setup):
2344 - Environment variables were being passed to inferior processes
2345 using internal encoding.
2346 - Convert to external encoding.
2347 - Rename local var `tem' to better name `tail'.
2348 - Use Flength instead of `manual' calculation.
2350 * buffer.c (kill-buffer):
2352 (set-buffer-major-mode):
2354 - Fix up parameter names to correspond to docstrings.
2355 - Don't use `bufname' when a buffer will do as well.
2356 - Remove one unneeded GCPRO.
2358 * buffer.h (initial_directory):
2359 * buffer.c (init_initial_directory):
2360 - use correct conversions between internal and external format.
2361 (directory_is_current_directory): new function
2362 (init_buffer): convert initial_directory to internal format.
2363 - solve crashes when current working directory is non-ASCII.
2365 * alloc.c (xmalloc):
2368 - remove stupid casts, since XEmacs requires an ANSI C system.
2369 (lrecord_type_index): replace abort() with more readable assert().
2371 (reset_lcrecord_stats): remove.
2372 (sweep_lcrecords_1):
2373 - replace call to reset_lcrecord_stats() with call to xzero().
2375 1998-12-27 Martin Buchholz <martin@xemacs.org>
2377 * process-unix.c (unix_create_process):
2378 - Fix crash invoking program with non-ASCII name.
2379 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2380 - Remove unused variable `env'.
2381 - Rename `temp' to better name `save_errno'.
2382 - Reorganize code for clarity. But still too chicken to nuke the
2385 1998-12-24 Martin Buchholz <martin@xemacs.org>
2387 * XEmacs 21.2.7 is released.
2389 1998-12-23 Martin Buchholz <martin@xemacs.org>
2391 * glyphs.c (decode_device_ii_format):
2393 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2395 * glyphs-x.c (x_subwindow_instantiate):
2396 - A image instance mask was being assigned to a image instance type!
2397 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2399 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2401 * glyphs-x.h: Make indentation consistent.
2403 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2405 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2407 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2411 Move declarations of decode_device_ii_format and
2412 decode_image_instantiator_format into glyphs.h where they belong.
2414 1998-12-22 Martin Buchholz <martin@xemacs.org>
2416 * frame-x.c (x_delete_frame): Revert part of my changes at the
2417 suggestion of Gunnar Evermann - unfortunately no one really
2418 understands this code.
2420 * callproc.c (init_callproc): code cleanup.
2422 * free-hook.c (malloc):
2427 (block_input_malloc):
2428 (block_input_realloc):
2429 * device-x.c (x_delete_device):
2430 * emacs.c (voodoo_free_hook):
2431 * events.c (print_event):
2433 (CHECK_EVENT_TYPE2):
2434 (CHECK_EVENT_TYPE3):
2435 Use proper prototypes.
2436 Make C_E_T macros a little faster.
2437 Pedantic fiddly little changes. You really don't care.
2439 1998-12-22 Andy Piper <andy@xemacs.org>
2441 * redisplay-output.c (redisplay_clear_region): make sure that
2442 fg/bg colors get set even when we are in the border area.
2444 1998-12-13 Martin Buchholz <martin@xemacs.org>
2446 * console-msw.c: Function definitions follow coding standards
2447 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2449 1998-12-11 Martin Buchholz <martin@xemacs.org>
2451 * events.h (struct timeout_data):
2452 * event-tty.c (tty_timeout_to_emacs_event):
2453 * event-msw.c (mswindows_wm_timer_callback):
2454 * event-Xt.c (Xt_timeout_to_emacs_event):
2455 * event-msw.c (mswindows_cancel_dispatch_event):
2456 Make sure Lisp_Objects inside events are initialized to Qnil, not
2457 Qnull_pointer, which is now illegal.
2459 1998-12-10 Martin Buchholz <martin@xemacs.org>
2461 * lisp.h: Fix up prototypes to match alloc.c
2463 1998-12-08 Martin Buchholz <martin@xemacs.org>
2465 * windowsnt.h: Remove `support' for using index and rindex
2467 * filelock.c (current_lock_owner):
2468 - Change uses of index -> strchr, rindex -> strrchr
2470 1998-12-07 Martin Buchholz <martin@xemacs.org>
2472 * sysdep.c (set_descriptor_non_blocking):
2473 Since O_NONBLOCK is now always #defined, make use of fcntl
2474 conditional on F_SETFL being defined.
2476 * console-msw.c (DHEADgER):
2485 - max_align_t should not be visible to the user of the
2487 - use Bufbyte instead of char
2488 - parens around (FOOP (obj)) are always redundant.
2489 If they were necessary, we should fix the macro instead.
2490 - Always use string_data(foo) instead of foo->data.
2493 1998-12-06 Martin Buchholz <martin@xemacs.org>
2495 * frame-msw.c (mswindows_init_frame_1):
2496 - use make_lisp_hash_table, not Fmake_hash_table
2500 * alloc.c (make_vector): remove travesty
2504 (make_bit_vector_internal):
2506 (make_bit_vector_from_byte_vector):
2508 - make vector_equal a little faster.
2509 - Don't use variable name `new'.
2510 - Use size_t instead of EMACS_INT.
2511 - usual Martin-style pointless bit-twiddling.
2517 Make mapcar faster. In particular, make
2518 (mapc #'identity long-string)
2519 MUCH faster under Mule.
2520 * tests/automated/lisp-tests.el: Test 'em!
2522 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2525 1998-12-01 Martin Buchholz <martin@xemacs.org>
2527 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2528 Qnil, not NULL, to initialize `null' Lisp_Objects.
2530 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2532 * specifier.c (display_table_validate): Update.
2534 * redisplay.c (create_text_block): Use them.
2536 * glyphs.c (display_table_entry): New function.
2537 (get_display_tables): Ditto.
2539 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2541 * eldap.c (toplevel): Mention that eldap.c compiles with
2543 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2544 (Fldap_search_internal): Ditto
2546 1998-12-11 Martin Buchholz <martin@xemacs.org>
2548 * event-msw.c (mswindows_cancel_dispatch_event):
2549 Gratuitous code prettification
2552 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2554 * fns.c (Fnconc): Fix use of wrong_type_argument().
2556 * floatfns.c (Ffloat): Fix docstring.
2557 (Ffloat): Fix use of wrong_type_argument().
2559 (extract_float): Ditto.
2564 1998-12-06 Martin Buchholz <martin@xemacs.org>
2566 * frame-msw.c (mswindows_init_frame_1):
2567 - use make_lisp_hash_table, not Fmake_hash_table
2571 * alloc.c (make_vector): remove travesty
2575 (make_bit_vector_internal):
2577 (make_bit_vector_from_byte_vector):
2579 - make vector_equal a little faster.
2580 - Don't use variable name `new'.
2581 - Use size_t instead of EMACS_INT.
2582 - usual Martin-style pointless bit-twiddling.
2588 Make mapcar faster. In particular, make
2589 (mapc #'identity long-string)
2590 MUCH faster under Mule.
2591 * tests/automated/lisp-tests.el: Test 'em!
2593 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2596 1998-12-02 Didier Verna <verna@inf.enst.fr>
2598 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2599 accelerator field to nil for labels.
2601 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2603 * menubar-msw.c (displayable_menu_item):
2604 Escape occurrences of '&' and support occurrences of the
2605 '%_' accelerator indicator in menus.
2607 1998-11-26 Didier Verna <verna@inf.enst.fr>
2609 * dired.c (Fdirectory_files): use make_string instead of
2610 make_ext_string on the filename. The conversion external->internal
2611 format is already done in sys_readdir.
2613 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2615 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2617 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2620 (Belatedly) added Kirill to list of file's authors.
2621 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2622 quit checking. WM_PAINT messages cause redisplay, but
2623 windows' states are not necessarily stable when this function
2626 1998-12-17 Andy Piper <andy@xemacs.org>
2628 * strftime.c (zone_name): CONSTify.
2630 1998-12-15 Andy Piper <andy@xemacs.org>
2632 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2633 (mswindows_widget_property): return Qunbound when no property available.
2634 (mswindows_button_property): ditto.
2635 (mswindows_combo_property): ditto.
2636 (mswindows_widget_set_property): ditto.
2638 * glyphs-widget.c (check_valid_item_list): use properties.
2640 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2642 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2643 (Fimage_instance_property): ditto.
2644 * glyphs-widget.c (widget_property): ditto.
2645 (widget_set_property): ditto.
2647 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2648 as setting the class cursor so that GC actually changes the
2651 * config.h: don't undef MAIL_USE_POP.
2653 1998-12-13 Andy Piper <andy@xemacs.org>
2656 (image_instantiator_format_create_glyphs_mswindows): line ->
2658 (mswindows_label_instantiate): ditto. Play with window flags.
2659 (image_instantiator_format_create_glyphs_mswindows): ditto.
2660 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2662 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2663 cope with lines and labels.
2664 (static_instantiate): use widget_instantiate_1.
2666 (image_instantiator_format_create_glyphs_widget): ditto.
2668 1998-12-10 Andy Piper <andy@xemacs.org>
2670 * Makefile.in.in (objs): add gui.o
2672 1998-12-10 Andy Piper <andy@xemacs.org>
2674 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2677 1998-12-09 Andy Piper <andy@xemacs.org>
2679 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2680 image instance is removed so that the subwindow cache gets reset
2681 and thus destroyed images get GC'd.
2683 1998-12-08 Andy Piper <andy@xemacs.org>
2685 * gui-msw.c (mswindows_handle_gui_wm_command): call
2686 MARK_SUBWINDOWS_CHANGED.
2688 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2689 subwindows really get deleted.
2691 * redisplay.c: new variable subwindows_changed[_set].
2692 (redisplay_window): use it.
2693 (redisplay_frame): ditto.
2694 (redisplay_device): ditto.
2695 (redisplay_without_hooks): ditto.
2697 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2698 subwindows redisplay as per glyphs equivalent.
2699 * redisplay.h: ditto.
2700 (MARK_SUBWINDOWS_CHANGED): ditto.
2701 (RESET_CHANGED_SET_FLAGS): ditto.
2702 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2704 1998-12-07 Andy Piper <andy@xemacs.org>
2706 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2709 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2711 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2712 messages and paint widget glyphs as appropriate with their face fg
2715 1998-12-06 Andy Piper <andy@xemacs.org>
2717 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2718 here rather than in glyphs-widget - do this because we only want
2719 to provide what is really available.
2721 * glyphs.c (Fimage_instance_property): new function to get the
2722 properties of image instances. wires through to console specific
2723 methods and then to widget specific methods.
2724 (Fset_image_instance_property): ditto but for setting widget properties.
2725 (check_valid_face): make extern so that it can be used elsewhere.
2727 * glyphs-widget.c (widget_property): new function. gets the
2728 properties of widgets in general and wires the function through to
2729 widget specific ones.
2730 (widget_set_property): ditto but for setting widget properties.
2732 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2733 add items to the list. Play with window styles a bit to get the
2735 (mswindows_widget_property): break out specific widget properties.
2736 (mswindows_button_property): new function. gets the checked state
2738 (mswindows_combo_property): new function. gets the current
2739 selection in the combo box.
2740 (mswindows_widget_set_property): new function. sets specific
2741 properties of specific widgets.
2743 * glyphs-widget.c (check_valid_item_list): new function. check
2744 that items for a combo-box are just a list of strings.
2745 (combo_validate): new function. check there is an item list.
2746 (widget_instantiate_1): new function. renamed from
2747 widget_instantiate so that we can do slightly different things for
2749 (widget_instantiate): call widget_instantiate_1.
2750 (combo_instantiate): new function to instantiate combo boxes,
2751 defaults height to the pixel height of the number of items in the
2753 (syms_of_glyphs_widget): move widget keywords here.
2754 (image_instantiator_format_create_glyphs_widget): use new combo
2757 1998-12-04 Andy Piper <andy@xemacs.org>
2759 * event-msw.c (mswindows_wnd_proc): mule-ize.
2761 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2763 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2764 (resource_name_to_resource): ditto.
2765 (mswindows_resource_instantiate): ditto.
2766 (mswindows_widget_instantiate): ditto.
2767 (mswindows_widget_set_property): ditto.
2769 * redisplay-output.c (redisplay_output_subwindow): don't show
2770 subwindows if they are obscured at the edge of the frame, emacs
2771 gets into some sort of redisplay loop otherwise.
2773 * gui.h: prototype gui_item_selected_p.
2775 * gui.c (gui_item_selected_p): new function to determine the
2776 selected state of a gui_item.
2778 * frame.h (struct frame): add subwindows_changed flag.
2780 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2782 * glyphs.c (update_subwindow): new function to update a
2784 (update_frame_subwindows): new function to update all the
2785 subwindows on a frame.
2787 * console.h (struct console_methods): add update_subwindow.
2789 * glyphs-msw.c (mswindows_widget_property): return selected state
2790 for selected property.
2791 (mswindows_update_subwindow): new function. updates widget glyphs
2792 in redisplay as per menubars or toolbars e.g. selected state.
2793 (console_type_create_glyphs_mswindows): add update_subwindow.
2795 1998-12-03 Andy Piper <andy@xemacs.org>
2797 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2798 tty coding system things are such.
2800 * glyphs-widget.c (widget_face_font_info): new function for
2801 pulling out height and width metrics for a widget's face.
2802 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2805 * event-msw.c (mswindows_drain_windows_queue): translate messages
2806 that are destined for subwindows. This makes edit fields interact
2807 with the keyboard correctly.
2808 nuke warnings by #ifndef'ing out stuff not required by msg select().
2810 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2811 macro defining the iiforma without the symbol required by widget.
2812 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2814 * general.c (syms_of_general): add Qwidget, Qselected.
2816 * faces.c (complex_vars_of_faces): add widget face inheriting from
2819 1998-11-09 Andy Piper <andy@xemacs.org>
2821 * window.h (struct window): add a cache of subwindows on a
2824 * window.c (mark_window): mark the subwindow_instance_cache.
2825 (allocate_window): initialise the subwindow instance_cache.
2827 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2828 instead of the devmeth.
2829 (x_clear_toolbar): ditto.
2831 * redisplay-x.c (x_output_display_block): call
2832 redisplay_output_subwindow for subwindows and widgets.
2834 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2835 types to do nothing for.
2837 * lisp.h: declare new widget/subwindow symbols.
2839 * glyphs.c (image_instantiate): cache subwindows on a per-window
2841 (subwindow_possible_dest_types): new function for subwindow dest
2843 (subwindow_instantiate): generic instantiation of a
2844 subwindow. specialised by device multi-methods.
2845 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2847 (Fimage_instance_subwindow_id): ditto.
2848 (Fresize_subwindow): ditto.
2849 (Fforce_subwindow_map): ditto.
2851 * glyphs-x.c (x_print_image_instance): remove subwindow
2852 stuff. Handled genrically in glyphs.c.
2853 (x_image_instance_equal): ditto.
2854 (x_image_instance_hash): ditto.
2855 (x_finalize_image_instance): delete subwindows when required.
2856 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2857 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2858 glyph-based, subwindow implementation.
2859 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2861 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2863 (x_unmap_subwindow): new function to unmap X subwindows.
2864 (x_map_subwindow): new function to map X subwindows.
2865 (x_subwindow_instantiate): new function to instantiate X
2867 (x_resize_subwindow): new function to resize X subwindows.
2868 (console_type_create_glyphs_x): add subwindow functions.
2869 (image_instantiator_format_create_glyphs_x): add device
2870 multi-methods for xpm, xbm and subwindow.
2872 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2873 (subwindow-width): ditto.
2874 (subwindow-height): ditto.
2876 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2877 generally instantiating ms subwindows. Used by
2878 mswindows_*_instantiate.
2879 (mswindows_edit_instantiate): instantiate an edit field on a
2882 1998-11-04 Andy Piper <andy@xemacs.org>
2884 * symsinit.h: declare new functions.
2886 * redisplay.h: declare new functions.
2888 * redisplay-x.c (x_output_display_block): call
2889 redisplay_clear_region rather than x_clear_region.
2890 (x_output_string): ditto.
2891 (x_output_pixmap): ditto.
2892 (x_clear_to_window_end): ditto.
2893 (x_output_eol_cursor): ditto.
2894 (x_clear_region): only do X specific things. other duties handled
2895 in redisplay_clear_region.
2897 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2898 duties moved to redisplay_clear_region.
2900 * redisplay-output.c (clear_left_border): use
2901 redisplay_clear_region instead of device method.
2902 (clear_right_border): ditto.
2903 (output_display_line): ditto.
2904 (redisplay_output_subwindow): ditto.
2905 (redisplay_clear_top_of_window): ditto.
2906 (redisplay_clear_region): perform duties previously handled by
2907 device methods. call the appropriate device method at the
2908 end. unmap subwindows if necessary.
2910 * redisplay-msw.c (mswindows_output_string): use
2911 redisplay_clear_region instead of mswindows_clear_region.
2912 (mswindows_clear_to_window_end): ditto.
2913 (mswindows_output_display_block): output subwindows when required.
2914 (mswindows_clear_region): only do mswindows specific things,
2915 everything else is now handled in redisplay_clear_region.
2917 * gui.h: add item id hash defines and declare function prototypes.
2919 * gui.c (mark_gui_item): new function for marking gui_items.
2920 (gui_item_hash): generic hash function for generating command ids
2923 * gui-msw.c: new file.
2924 (mswindows_handle_gui_wm_command): new function to handle widget
2927 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2929 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2930 (DEFINE_DEVICE_IIFORMAT): ditto.
2931 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2932 (struct Lisp_Image_Instance): add widget and subwindow data plus
2933 appropriate access functions.
2935 * glyphs.c (decode_device_ii_format): new function for decoding
2936 image instantiator functions based on a device type as well as an
2938 (decode_image_instantiator_format): just call
2939 decode_device_ii_format with nil device.
2940 (add_entry_to_device_ii_format_list): new function for per device
2942 (add_entry_to_image_instantiator_format_list): just call
2943 add_entry_to_device_ii_format_list with nil device.
2944 (check_valid_vector): new function.
2945 (instantiate_image_instantiator): instantiate using per-format
2946 method and then per-format-per-device method (device
2947 multi-methods). signal an error if neither is possible.
2948 (mark_image_instance): cope with subwindows and widgets.
2949 (print_image_instance): ditto.
2950 (image_instance_equal): ditto.
2951 (image_instance_hash): ditto.
2952 (allocate_glyph): ditto.
2953 (glyph_width): ditto.
2954 (glyph_height_internal): ditto.
2955 (xpm_instantiate): removed because of device multi-methods.
2956 (mark_subwindow_cachels): new cachel functions for caching
2957 instantiated subwindows on a per-frame basis. mostly copied from
2958 glyph cachel functions.
2959 (update_subwindow_cachel_data): ditto.
2960 (add_subwindow_cachel): ditto.
2961 (get_subwindow_cachel_index): ditto.
2962 (reset_subwindow_cachels): ditto.
2963 (mark_subwindow_cachels_as_not_updated): ditto.
2964 (unmap_subwindow): generic unmapping of subwindows based on cachel
2966 (map_subwindow): ditto.
2967 (initialize_subwindow_image_instance): generic initialisation of
2969 (syms_of_glyphs): add widget keywords.
2971 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2974 1998-11-04 Andy Piper <andy@xemacs.org>
2976 * glyphs-widget.c: new file for instantiating widget type glyphs.
2977 (widget_possible_dest_types): new general dest type function for
2979 (widget_validate): ditto.
2980 (initialize_widget_image_instance): ditto
2981 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2982 before handing on control to device multi-methods.
2983 (syms_of_glyphs_widget): new function.
2984 (image_instantiator_format_create_glyphs_widget): new function,
2985 added placeholders for button, edit, combo, scrollbar
2986 (vars_of_glyphs_widget): new function.
2988 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2989 storing window ids of widgets.
2991 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2992 deletion of widget and subwindow glyphs.
2993 (mswindows_unmap_subwindow): new device function for unmapping
2994 subwindows on a msw frame.
2995 (mswindows_map_subwindow): ditto.
2996 (mswindows_register_image_instance): register instantiated widgets
2997 with the widget hastable.
2998 (mswindows_button_instantiate): instantiate a button type widget
3000 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3002 (image_instantiator_format_create_glyphs_mswindows): add device
3003 multi-methods for xbm, xpm, subwindow, edit and button.
3005 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3006 information about subwindows visible on the current frame. used by
3007 redisplay_clear_region to unmap subwindows as required.
3009 * frame.c (mark_frame): mark subwindow_cachels.
3010 (allocate_frame_core): instantiate subwindow_cachels.
3012 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3015 * event-msw.c (mswindows_wnd_proc): add call to
3016 mswindows_handle_gui_wm_command to handle widget callbacks.
3018 * emacs.c (main_1): add calls to glyphs-widget initialisation
3021 * console.h (struct console_methods): add
3022 unmap/map_subwindow_method for use be redisplay_clear_region to
3023 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3024 with by image instantiator multi-methods. Add
3025 resize_subwindow_method.
3027 * console-stream.c (stream_clear_region): change signature to
3028 match new generic clear region function.
3030 * Makefile.in.in: add glyphs-widget.o to list of objects.
3032 * console-msw.h (struct mswindows_frame): add widget hashtable for
3033 wiring command ids to callbacks.
3035 1998-12-16 Andy Piper <andy@xemacs.org>
3037 * XEmacs 21.2.6 is released
3039 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3041 * md5.c (Fmd5): Correctly initiate string input stream.
3043 * Makefile.in.in (tests): Add md5-tests.el.
3045 1998-12-06 Martin Buchholz <martin@xemacs.org>
3048 * alloc.c (make_vector): remove travesty
3052 (make_bit_vector_internal):
3054 (make_bit_vector_from_byte_vector):
3056 - make vector_equal a little faster.
3057 - Don't use variable name `new'.
3058 - Use size_t instead of EMACS_INT.
3059 - usual Martin-style pointless bit-twiddling.
3065 Make mapcar faster. In particular, make
3066 (mapc #'identity long-string)
3067 MUCH faster under Mule.
3068 * tests/automated/lisp-tests.el: Test 'em!
3070 1998-12-06 Martin Buchholz <martin@xemacs.org>
3072 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3075 1998-12-13 Martin Buchholz <martin@xemacs.org>
3077 * console-msw.c: Function definitions follow coding standards
3078 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3080 1998-12-11 Martin Buchholz <martin@xemacs.org>
3082 * events.h (struct timeout_data):
3083 * event-tty.c (tty_timeout_to_emacs_event):
3084 * event-msw.c (mswindows_wm_timer_callback):
3085 * event-Xt.c (Xt_timeout_to_emacs_event):
3086 * event-msw.c (mswindows_cancel_dispatch_event):
3087 Make sure Lisp_Objects inside events are initialized to Qnil, not
3088 Qnull_pointer, which is now illegal.
3090 1998-12-10 Martin Buchholz <martin@xemacs.org>
3092 * lisp.h: Fix up prototypes to match alloc.c
3094 1998-12-09 Andy Piper <andy@xemacs.org>
3096 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3097 XSETINT for assigning lisp objects.
3099 1998-12-07 Martin Buchholz <martin@xemacs.org>
3102 * console-msw.c (DHEADER):
3111 - max_align_t should not be visible to the user of the
3113 - use Bufbyte instead of char
3114 - parens around (FOOP (obj)) are always redundant.
3115 If they were necessary, we should fix the macro instead.
3116 - Always use string_data(foo) instead of foo->data.
3118 1998-12-07 Martin Buchholz <martin@xemacs.org>
3120 * sysdep.c (set_descriptor_non_blocking):
3121 Since O_NONBLOCK is now always #defined, make use of fcntl
3122 conditional on F_SETFL being defined.
3124 1998-12-09 Andy Piper <andy@xemacs.org>
3126 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3127 that got removed in the merge
3129 1998-11-30 Greg Klanderman <greg@alphatech.com>
3131 * dired.c (vars_of_dired): bugfix for previous conditionalization
3132 of user-name-completion on non- Windows NT.
3134 1998-12-08 Martin Buchholz <martin@xemacs.org>
3136 * windowsnt.h: Remove `support' for using index and rindex
3138 * filelock.c (current_lock_owner):
3139 - Change uses of index -> strchr, rindex -> strrchr
3141 1998-12-06 Martin Buchholz <martin@xemacs.org>
3143 * frame-msw.c (mswindows_init_frame_1):
3144 - use make_lisp_hash_table, not Fmake_hash_table
3147 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3149 * XEmacs 21.2.5 is released
3151 1998-11-30 Martin Buchholz <martin@xemacs.org>
3153 * xselect.c (receive_incremental_selection):
3154 * xselect.c (x_get_window_property):
3155 * xmu.c (XmuReadBitmapDataFromFile):
3156 * xmu.c (XmuCursorNameToIndex):
3157 * xgccache.c (describe_gc_cache):
3158 * xgccache.c (gc_cache_lookup):
3159 * xgccache.c (free_gc_cache):
3160 * xgccache.c (make_gc_cache):
3162 * window.c (map_windows_1):
3163 * window.c (Fother_window_for_scrolling):
3164 * window.c (window_scroll):
3165 * window.c (change_window_height):
3166 * window.c (Fsplit_window):
3167 * window.c (window_left_gutter_width):
3168 * window.c (window_modeline_height):
3169 * window.c (invalidate_vertical_divider_cache_in_window):
3170 * window.c (window_needs_vertical_divider_1):
3171 * window.c (update_mirror_internal):
3172 * window.c (SET_LAST_FACECHANGE):
3173 * widget.c (Fwidget_plist_member):
3174 * unexec.c (copy_text_and_data):
3175 * unexcw.c (copy_executable_and_dump_data_section):
3177 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3178 * tooltalk.c (struct Lisp_Tooltalk_Message):
3179 * toolbar.h (struct toolbar_button):
3180 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3181 * toolbar.c (recompute_overlaying_specifier):
3182 * toolbar.c (toolbar_validate):
3183 * toolbar.c (toolbar_button_at_pixpos):
3184 * toolbar.c (get_toolbar_coords):
3185 * toolbar.c (update_frame_toolbars):
3187 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3188 * toolbar-msw.c (mswindows_find_toolbar_pos):
3189 * toolbar-msw.c (mswindows_output_toolbar):
3190 * toolbar-msw.c (mswindows_clear_toolbar):
3199 * sysdep.c (sys_fopen):
3200 * sysdep.c (sys_open):
3201 * sysdep.c (tty_init_sys_modes_on_device):
3202 * sysdep.c (get_eof_char):
3203 * sysdep.c (child_setup_tty):
3204 * sysdep.c (set_descriptor_non_blocking):
3206 * syntax.c (scan_words):
3209 * symeval.h (struct symbol_value_varalias):
3210 * symeval.h (struct symbol_value_forward):
3211 * symbols.c (syms_of_symbols):
3212 * symbols.c (init_symbols_once_early):
3213 * symbols.c (Fbuilt_in_variable_type):
3214 * symbols.c (Fsymbol_value_in_buffer):
3215 * symbols.c (default_value):
3217 * symbols.c (find_symbol_value_quickly):
3218 * symbols.c (store_symval_forwarding):
3219 * symbols.c (set_default_console_slot_variable):
3220 * symbols.c (set_default_buffer_slot_variable):
3221 * symbols.c (verify_ok_for_buffer_local):
3222 * symbols.c (symbol_is_constant):
3223 * symbols.c (oblookup):
3224 * symbols.c (Funintern):
3225 * symbols.c (Fintern):
3226 * symbols.c (check_obarray):
3228 * specifier.h (struct specifier_methods):
3230 * specifier.c (specifier_instance):
3231 * specifier.c (specifier_instance_from_inst_list):
3232 * specifier.c (decode_locale_type):
3233 * specifier.c (specifier_equal):
3234 * specifier.c (finalize_specifier):
3235 * specifier.c (prune_specifiers):
3236 * specifier.c (kill_specifier_buffer_locals):
3237 * sound.c (init_native_sound):
3240 * search.c (Fmatch_data):
3241 * search.c (match_limit):
3242 * search.c (Freplace_match):
3243 * search.c (skip_chars):
3244 * search.c (scan_buffer):
3246 * scrollbar.c (specifier_vars_of_scrollbar):
3247 * scrollbar.c (Fscrollbar_set_hscroll):
3248 * scrollbar.c (vertical_scrollbar_changed_in_window):
3249 * scrollbar.c (release_window_mirror_scrollbars):
3250 * scrollbar.c (free_scrollbar_instance):
3253 * s/msdos.h (O_BINARY):
3255 * s/freebsd.h (LIBS_TERMCAP):
3256 * regex.c (re_match_2_internal):
3257 * regex.c (compile_extended_range):
3258 * regex.c (POP_FAILURE_POINT):
3259 * regex.c (PUSH_FAILURE_POINT):
3260 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3262 * redisplay.h (struct display_line):
3263 * redisplay.h (struct rune):
3264 * redisplay.c (vars_of_redisplay):
3265 * redisplay.c (redisplay_variable_changed):
3266 * redisplay.c (UPDATE_CACHE_RETURN):
3267 * redisplay.c (validate_line_start_cache):
3268 * redisplay.c (mark_redisplay_structs):
3269 * redisplay.c (mark_glyph_block_dynarr):
3270 * redisplay.c (window_line_number):
3271 * redisplay.c (redisplay_frame):
3272 * redisplay.c (redisplay_window):
3273 * redisplay.c (generate_modeline):
3274 * redisplay.c (create_right_glyph_block):
3275 * redisplay.c (create_left_glyph_block):
3276 * redisplay.c (create_text_block):
3278 * redisplay-x.c (x_output_hline):
3279 * redisplay-x.c (x_output_vertical_divider):
3280 * redisplay-tty.c (tty_output_display_block):
3281 * redisplay-output.c (output_display_line):
3282 * redisplay-output.c:
3283 * redisplay-msw.c (mswindows_output_vertical_divider):
3284 * redisplay-msw.c (mswindows_ring_bell):
3285 * redisplay-msw.c (mswindows_output_cursor):
3289 * puresize.h (RAW_PURESIZE):
3290 * profile.c (syms_of_profile):
3291 * profile.c (Fstart_profiling):
3292 * profile.c (sigprof_handler):
3295 * process.c (vars_of_process):
3296 * process.c (read_process_output):
3297 * process.c (get_process):
3299 * process-unix.c (unix_open_multicast_group):
3300 * process-unix.c (unix_get_tty_name):
3301 * process-unix.c (unix_send_process):
3302 * process-unix.c (unix_reap_exited_processes):
3303 * process-unix.c (unix_create_process):
3304 * process-unix.c (unix_init_process_io_handles):
3305 * process-unix.c (allocate_pty):
3307 * process-nt.c (nt_open_network_stream):
3308 * process-nt.c (nt_update_status_if_terminated):
3309 * process-nt.c (nt_finalize_process_data):
3311 * print.c (debug_short_backtrace):
3312 * print.c (debug_backtrace):
3313 * print.c (print_symbol):
3314 * print.c (print_internal):
3315 * print.c (print_cons):
3316 * print.c (Fwrite_char):
3317 * print.c (print_prepare):
3318 * print.c (canonicalize_printcharfun):
3319 * print.c (output_string):
3322 * opaque.c (allocate_managed_opaque):
3324 * offix.c (DndSetData):
3325 * objects.c (face_boolean_create):
3326 * objects.c (font_instantiate):
3327 * objects.c (font_create):
3328 * objects.c (color_create):
3329 * objects.c (finalize_font_instance):
3330 * objects.c (finalize_color_instance):
3332 * objects-x.c (x_font_instance_truename):
3334 * objects-x.c (x_initialize_font_instance):
3335 * objects-x.c (allocate_nearest_color):
3336 * objects-tty.c (tty_initialize_font_instance):
3337 * objects-tty.c (tty_initialize_color_instance):
3338 * objects-msw.c (mswindows_initialize_color_instance):
3339 * ntproc.c (syms_of_ntproc):
3340 * ntproc.c (Fwin32_set_process_priority):
3341 * ntproc.c (sys_spawnve):
3343 * ntheap.c (get_data_end):
3347 * nt.c (generate_inode_val):
3348 * nt.c (sys_rename):
3350 * mule-wnnfns.c (Fwnn_hinsi_number):
3351 * mule-wnnfns.c (Fwnn_yuragi):
3352 * mule-wnnfns.c (Fwnn_common_learn):
3353 * mule-wnnfns.c (Fwnn_suffix_learn):
3354 * mule-wnnfns.c (Fwnn_prefix_learn):
3355 * mule-wnnfns.c (Fwnn_okuri_learn):
3356 * mule-wnnfns.c (Fwnn_complex_conv):
3357 * mule-wnnfns.c (Fwnn_last_is_first):
3358 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3359 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3360 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3361 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3362 * mule-wnnfns.c (Fwnn_hinsi_list):
3363 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3364 * mule-wnnfns.c (Fwnn_dict_search):
3365 * mule-wnnfns.c (Fwnn_word_toroku):
3366 * mule-wnnfns.c (Fwnn_hindo_update):
3367 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3368 * mule-wnnfns.c (Fwnn_kakutei):
3369 * mule-wnnfns.c (Fwnn_begin_henkan):
3370 * mule-wnnfns.c (Fwnn_dict_comment):
3371 * mule-wnnfns.c (Fwnn_dict_add):
3372 * mule-wnnfns.c (Fwnn_open):
3373 * mule-mcpath.c (mc_getcwd):
3374 * mule-coding.c (vars_of_mule_coding):
3375 * mule-coding.c (convert_to_external_format):
3376 * mule-coding.c (encoding_marker):
3377 * mule-coding.c (decoding_marker):
3378 * mule-coding.c (Fcopy_coding_system):
3379 * mule-coding.c (Fmake_coding_system):
3380 * mule-coding.c (Fcoding_system_list):
3381 * mule-coding.c (Ffind_coding_system):
3382 * mule-coding.c (symbol_to_eol_type):
3384 * mule-charset.c (complex_vars_of_mule_charset):
3385 * mule-charset.c (vars_of_mule_charset):
3386 * mule-charset.c (Fset_charset_ccl_program):
3387 * mule-charset.c (struct charset_list_closure):
3388 * mule-charset.c (Ffind_charset):
3389 * mule-charset.c (make_charset):
3390 * mule-charset.c (non_ascii_valid_char_p):
3392 * mule-ccl.c (ccl_driver):
3393 * mule-canna.c (c2mu):
3394 * mule-canna.c (Fcanna_henkan_begin):
3395 * mule-canna.c (Fcanna_parse):
3396 * mule-canna.c (Fcanna_store_yomi):
3397 * mule-canna.c (Fcanna_touroku_string):
3398 * mule-canna.c (Fcanna_initialize):
3400 * menubar.c (menu_parse_submenu_keywords):
3401 * menubar-x.c (make_dummy_xbutton_event):
3402 * menubar-x.c (set_frame_menubar):
3403 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3406 * menubar-msw.c (mswindows_popup_menu):
3407 * menubar-msw.c (mswindows_update_frame_menubars):
3408 * menubar-msw.c (mswindows_handle_wm_command):
3409 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3410 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3411 * menubar-msw.c (update_frame_menubar_maybe):
3412 * menubar-msw.c (populate_or_checksum_helper):
3413 * menubar-msw.c (empty_menu):
3416 * marker.c (set_marker_internal):
3417 * marker.c (print_marker):
3420 * lstream.c (lisp_buffer_rewinder):
3421 * lstream.c (mark_lstream):
3423 * lrecord.h (struct lrecord_header):
3424 * lread.c (readevalloop):
3425 * lread.c (locate_file):
3426 * lread.c (locate_file_in_directory):
3427 * lread.c (Flocate_file):
3428 * lread.c (load_force_doc_string_unwind):
3429 * lread.c (ebolify_bytecode_constants):
3434 * linuxplay.c (linux_play_data_or_file):
3435 * linuxplay.c (audio_init):
3438 * keymap.c (describe_map):
3439 * keymap.c (describe_map_mapper):
3440 * keymap.c (Fdescribe_bindings_internal):
3441 * keymap.c (Fsingle_key_description):
3442 * keymap.c (map_keymap_sorted):
3443 * keymap.c (get_relevant_keymaps):
3444 * keymap.c (Flookup_key):
3445 * keymap.c (raw_lookup_key_mapper):
3446 * keymap.c (Fdefine_key):
3447 * keymap.c (Fevent_matches_key_specifier_p):
3448 * keymap.c (key_desc_list_to_event):
3449 * keymap.c (define_key_parser):
3450 * keymap.c (define_key_check_and_coerce_keysym):
3451 * keymap.c (keymap_submaps):
3452 * keymap.c (keymap_store_internal):
3453 * keymap.c (keymap_delete_inverse_internal):
3454 * keymap.c (keymap_store_inverse_internal):
3455 * keymap.c (print_keymap):
3456 * keymap.c (Lisp_Keymap):
3459 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3460 * insdel.c (make_gap):
3461 * input-method-xlib.c (get_XIM_input):
3462 * input-method-xlib.c (XIM_init_frame):
3467 * gui-x.c (button_item_to_widget_value):
3468 * gui-x.c (popup_selection_callback):
3469 * glyphs.h (struct image_instantiator_methods):
3470 * glyphs.c (mark_glyph_cachels):
3471 * glyphs.c (Fglyph_type):
3472 * glyphs.c (image_instantiate):
3473 * glyphs.c (image_create):
3474 * glyphs.c (make_image_instance_1):
3475 * glyphs.c (finalize_image_instance):
3477 * glyphs-x.c (finalize_subwindow):
3478 * glyphs-x.c (xface_validate):
3479 * glyphs-x.c (x_locate_pixmap_file):
3480 * glyphs-x.c (convert_EImage_to_XImage):
3482 * glyphs-msw.c (mswindows_resource_instantiate):
3483 * glyphs-msw.c (xpm_to_eimage):
3484 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3485 * glyphs-eimage.c (tiff_instantiate):
3486 * glyphs-eimage.c (png_instantiate):
3487 * glyphs-eimage.c (struct png_error_struct):
3488 * glyphs-eimage.c (gif_memory_storage):
3491 * getloadavg.c (getloadavg):
3494 * free-hook.c (log_gcpro):
3495 * free-hook.c (check_malloc):
3496 * free-hook.c (check_free):
3497 * free-hook.c (ROUND_UP_TO_PAGE):
3499 * frame.h (struct frame):
3501 * frame.c (change_frame_size_1):
3502 * frame.c (allocate_frame_core):
3504 * frame-x.c (x_focus_on_frame):
3505 * frame-x.c (x_init_frame_2):
3506 * frame-x.c (x_popup_frame):
3507 * frame-x.c (xemacs_XtPopup):
3509 * frame-x.c (Foffix_start_drag_internal):
3510 * frame-x.c (x_cde_destroy_callback):
3511 * frame-x.c (x_wm_hack_wm_protocols):
3512 * frame-tty.c (tty_frame_visible_p):
3513 * frame-msw.c (mswindows_make_frame_invisible):
3514 * frame-msw.c (mswindows_after_init_frame):
3515 * frame-msw.c (mswindows_init_frame_1):
3516 * fns.c (syms_of_fns):
3517 * fns.c (Fbase64_decode_string):
3519 * fns.c (Ffillarray):
3520 * fns.c (Fobject_plist):
3522 * fns.c (Fcanonicalize_lax_plist):
3523 * fns.c (Fcanonicalize_plist):
3524 * fns.c (Fplist_remprop):
3525 * fns.c (Fplist_get):
3526 * fns.c (advance_plist_pointers):
3527 * fns.c (internal_plist_put):
3528 * fns.c (Fnreverse):
3531 * fns.c (Fsubstring):
3532 * fns.c (Fbvconcat):
3534 * fns.c (length_with_bytecode_hack):
3535 * fns.c (print_bit_vector):
3537 * floatfns.c (Ffloor):
3539 * floatfns.c (in_float_error):
3540 * fileio.c (Ffile_modes):
3541 * fileio.c (Fexpand_file_name):
3542 * fileio.c (Fmake_temp_name):
3543 * fileio.c (Ffile_name_nondirectory):
3544 * fileio.c (Ffile_name_directory):
3546 * file-coding.c (vars_of_mule_coding):
3547 * file-coding.c (convert_to_external_format):
3548 * file-coding.c (encoding_marker):
3549 * file-coding.c (decoding_marker):
3550 * file-coding.c (Fcopy_coding_system):
3551 * file-coding.c (Fmake_coding_system):
3552 * file-coding.c (struct coding_system_list_closure):
3553 * file-coding.c (Ffind_coding_system):
3554 * file-coding.c (symbol_to_eol_type):
3556 * faces.h (struct face_cachel):
3557 * faces.c (vars_of_faces):
3558 * faces.c (face_property_was_changed):
3559 * faces.c (mark_face_cachels):
3560 * faces.c (temporary_faces_list):
3561 * faces.c (struct face_list_closure):
3563 * extents.h (struct extent):
3564 * extents.c (vars_of_extents):
3565 * extents.c (struct copy_string_extents_1_arg):
3566 * extents.c (add_string_extents_mapper):
3567 * extents.c (Fextent_property):
3568 * extents.c (Fset_extent_property):
3569 * extents.c (symbol_to_glyph_layout):
3570 * extents.c (properties_equal):
3571 * extents.c (print_extent):
3572 * extents.c (print_extent_1):
3573 * extents.c (extent_in_region_p):
3574 * extents.c (gap_array_make_gap):
3576 * events.h (struct Lisp_Event):
3578 * events.c (Fevent_properties):
3579 * events.c (format_event_object):
3580 * events.c (Fmake_event):
3581 * events.c (event_equal):
3582 * events.c (print_event):
3583 * events.c (mark_event):
3584 * event-stream.c ((read-char)
3585 * event-stream.c (vars_of_event_stream):
3586 * event-stream.c (syms_of_event_stream):
3587 * event-stream.c (Fset_recent_keys_ring_size):
3588 * event-stream.c (Fsit_for):
3589 * event-stream.c (Fnext_event):
3590 * event-stream.c (execute_help_form):
3591 * event-stream.c (maybe_kbd_translate):
3593 * event-msw.c (vars_of_event_mswindows):
3594 * event-msw.c (mswindows_wnd_proc):
3595 * event-msw.c (mswindows_need_event):
3596 * event-msw.c (mswindows_drain_windows_queue):
3597 * event-msw.c (mswindows_pump_outstanding_events):
3599 * event-msw.c (slurp_thread):
3600 * event-msw.c (struct ntpipe_slurp_stream):
3601 * event-msw.c (HANDLE_TO_USID):
3602 * event-Xt.c (emacs_Xt_handle_magic_event):
3603 * event-Xt.c (x_event_to_emacs_event):
3604 * event-Xt.c (x_reset_modifier_mapping):
3605 * event-Xt.c (x_reset_key_mapping):
3607 * eval.c (syms_of_eval):
3608 * eval.c (warn_when_safe):
3609 * eval.c (warn_when_safe_lispobj):
3610 * eval.c (Fbacktrace_frame):
3611 * eval.c (Fbacktrace):
3612 * eval.c (top_level_set):
3613 * eval.c (unbind_to_hairy):
3614 * eval.c (specbind_magic):
3615 * eval.c (specbind_unwind_wasnt_local):
3616 * eval.c (call2_trapping_errors):
3617 * eval.c (call1_trapping_errors):
3618 * eval.c (catch_them_squirmers_call2):
3619 * eval.c (call0_trapping_errors):
3620 * eval.c (run_hook_trapping_errors):
3621 * eval.c (catch_them_squirmers_eval_in_buffer):
3622 * eval.c (call4_in_buffer):
3623 * eval.c (call3_in_buffer):
3624 * eval.c (call2_in_buffer):
3625 * eval.c (call1_in_buffer):
3626 * eval.c (call0_in_buffer):
3627 * eval.c (run_hook):
3628 * eval.c (run_hook_with_args_in_buffer):
3631 * eval.c (do_autoload):
3632 * eval.c (un_autoload):
3633 * eval.c (Fautoload):
3634 * eval.c (Finteractive_p):
3635 * eval.c (Fcommand_execute):
3636 * eval.c (signal_quit):
3637 * eval.c (call_with_suspended_errors):
3638 * eval.c (signal_error):
3639 * eval.c (return_from_signal):
3640 * eval.c (Fcall_with_condition_handler):
3641 * eval.c (run_condition_case_handlers):
3642 * eval.c (condition_case_1):
3643 * eval.c (Funwind_protect):
3644 * eval.c (unwind_to_catch):
3645 * eval.c (internal_catch):
3646 * eval.c (Fmacroexpand_internal):
3647 * eval.c (Fuser_variable_p):
3648 * eval.c (Fdefconst):
3650 * eval.c (Ffunction):
3651 * eval.c (signal_call_debugger):
3652 * eval.c (call_debugger):
3655 * emacs.c (sort_args):
3659 * editfns.c (Fencode_time):
3660 * editfns.c (Fdecode_time):
3661 * editfns.c (Fuser_full_name):
3663 * editfns.c (save_excursion_restore):
3666 * doprnt.c (emacs_doprnt_1):
3667 * doc.c (verify_doc_mapper):
3668 * doc.c (Fsnarf_documentation):
3669 * doc.c (Fdocumentation):
3671 * dired.c (user_name_completion):
3672 * dired.c (Fdirectory_files):
3675 * dgif_lib.c (FreeSavedImages):
3676 * dgif_lib.c (DGifGetImageDesc):
3678 * device.h (struct device):
3679 * device.c (Fselect_device):
3680 * device.c (allocate_device):
3682 * device-x.c (Fx_keysym_on_keyboard_p):
3683 * device-x.c (Fx_valid_keysym_name_p):
3684 * device-x.c (x_IO_error_handler):
3685 * device-x.c (x_delete_device):
3686 * device-x.c (x_finish_init_device):
3687 * device-x.c (x_init_device):
3689 * device-msw.c (mswindows_init_device):
3691 * database.c (vars_of_database):
3692 * database.c (Fput_database):
3693 * database.c (Fopen_database):
3694 * database.c (berkdb_remove):
3695 * database.c (berkdb_put):
3696 * database.c (Fdatabasep):
3697 * database.c (print_database):
3699 * data.c (vars_of_data):
3700 * data.c (syms_of_data):
3701 * data.c (init_errors_once_early):
3702 * data.c (prune_weak_lists):
3703 * data.c (finish_marking_weak_lists):
3704 * data.c (print_weak_list):
3706 * data.c (Fstring_to_number):
3707 * data.c (Fnumber_to_string):
3708 * data.c (Findirect_function):
3711 * data.c (Fsubr_interactive):
3713 * data.c (Fkeywordp):
3716 * console.h (CONSOLE_NAME):
3718 * console.c (vars_of_console):
3719 * console.c (Fselect_console):
3721 * console-x.h (DEVICE_X_COLORMAP):
3722 * console-x.h (struct x_device):
3723 * console-x.c (x_device_to_console_connection):
3724 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3725 * console-tty.c (tty_init_console):
3727 * console-msw.h (struct mswindows_frame):
3730 * cmds.c (internal_self_insert):
3731 * cmds.c (Fforward_line):
3732 * cmds.c (Fforward_char):
3735 * chartab.c (mark_char_table_entry):
3737 * casefiddle.c (casify_word):
3738 * callproc.c (child_setup):
3739 * callproc.c (Fcall_process_internal):
3741 * callint.c (Fcall_interactively):
3743 * bytecode.c (execute_rare_opcode):
3744 * bytecode.c (execute_optimized_program):
3747 * buffer.h (BUFFER_REALLOC):
3748 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3749 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3751 * buffer.h (MAP_INDIRECT_BUFFERS):
3752 * buffer.h (CHECK_LIVE_BUFFER):
3753 * buffer.c (init_initial_directory):
3754 * buffer.c (complex_vars_of_buffer):
3755 * buffer.c (vars_of_buffer):
3756 * buffer.c (finish_init_buffer):
3757 * buffer.c (Fget_file_buffer):
3758 * buffer.c (Fbuffer_list):
3759 * buffer.c (mark_buffer):
3760 * balloon_help.c (balloon_help_move_to_pointer):
3761 * balloon_help.c (show_help):
3764 * alloc.c (garbage_collect_1):
3765 * alloc.c (sweep_strings):
3766 * alloc.c (sweep_compiled_functions):
3767 * alloc.c (sweep_bit_vectors_1):
3768 * alloc.c (sweep_vectors_1):
3769 * alloc.c (sweep_lcrecords_1):
3770 * alloc.c (tick_lcrecord_stats):
3771 * alloc.c (pure_string_sizeof):
3772 * alloc.c (mark_conses_in_list):
3773 * alloc.c (mark_object):
3774 * alloc.c (report_pure_usage):
3775 * alloc.c (make_pure_float):
3776 * alloc.c (make_pure_string):
3777 * alloc.c (free_managed_lcrecord):
3778 * alloc.c (mark_string):
3779 * alloc.c (noseeum_make_marker):
3780 * alloc.c (allocate_event):
3781 * alloc.c (Fbit_vector):
3782 * alloc.c (Fvector):
3783 * alloc.c (make_float):
3784 * alloc.c (Fmake_list):
3786 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3787 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3788 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3789 * alloc.c (dbg_constants):
3790 * alloc.c (gc_record_type_p):
3791 * alloc.c (free_lcrecord):
3792 * alloc.c (xmalloc):
3793 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3795 * Makefile.in.in (mostlyclean):
3796 * Makefile.in.in (external_client_xlib_objs_nonshared):
3797 * Makefile.in.in (temacs_link_args):
3798 * Makefile.in.in (release):
3799 * Makefile.in.in (dnd_objs):
3800 * Makefile.in.in (objs):
3801 * Makefile.in.in (PROGNAME):
3802 * EmacsShell.c: cast strings to (XtPointer)
3803 * EmacsFrame.c: cast strings to (XtPointer)
3805 - rewrite basic lisp functions for speed
3806 - rewrite bytecode interpreter for speed
3807 - rewrite list looping constructs for speed and safety using
3809 - use size_t where appropriate.
3810 - new hashtable implementation
3811 - cleanup implementation of opaques
3812 - opaques can now be purecopy'ed
3813 - move some cl functionality into C for speed.
3814 - remove last remaining VMS support
3816 - improve gdb/dbx debugger support
3817 - move pure.c back into alloc.c for performance
3818 - enable report_pure_usage() if --memory-usage-stats
3819 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3820 - don't use symbols with leading `_' or embedded `__'
3821 - globally cleanup duplicated semicolons `;;'
3822 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3824 - globally replace O_NDELAY with O_NONBLOCK.
3825 - globally replace CDISABLE with _POSIX_VDISABLE.
3826 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3827 - define (and maybe use!) STDERR_FILENO and friends.
3828 - add support for macros defined in C
3829 - `when', `unless', `not' and `defalias' now defined in C,
3830 so that they are universally available.
3831 - rename defvar_mumble to defvar_magic
3832 - rename RETURN__ to RETURN_SANS_WARNINGS
3833 - use consistent style of initial caps in error messages
3834 - implement last, butlast, nbutlast, copy-list in C.
3835 - provide typedefs for all struct Lisp_foo types
3836 - Lisp_Objects must be initialized to Qnil rather than 0.
3837 - make sure XEmacs runs (slowly) with always_gc == 1;
3838 - fast and safe LOOP_* macros
3839 - change calls to XSETOBJ to XSETFOO
3840 - replace calls to XSETINT by make_int()
3841 - plug up memory leaks
3842 - use style markobj (foo), not silly ((markobj) (foo))
3843 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3845 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3847 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3849 1998-11-28 SL Baur <steve@altair.xemacs.org>
3851 * XEmacs 21.2-beta4 is released.
3853 1998-11-27 SL Baur <steve@altair.xemacs.org>
3855 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3856 property in control-1 charset.
3857 From Julian Bradfield <jcb@daimi.au.dk>
3859 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3861 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3863 Add stub for :label.
3865 * gui.c (gui_item_add_keyval_pair): ditto.
3867 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3868 :key-sequence keyword.
3870 Support :active for submenus like the Windows code and FSF Emacs.
3872 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3874 * dired.c (make_directory_hash_table): make_string() is OK because
3875 readdir() Mule-encapsulates.
3877 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3879 * fns.c (Fbase64_encode_string): Fix docstring.
3880 (Fbase64_decode_string): Ditto.
3882 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3884 * editfns.c (Ftranslate_region): Use
3885 convert_bufbyte_string_into_emchar_string().
3887 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3889 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3891 (Ftranslate_region): Turn table into an array of Emchars for
3894 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3896 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3898 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3900 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3901 type `char' with nils.
3903 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3904 for tables of type `char'.
3906 1998-11-26 Didier Verna <verna@inf.enst.fr>
3908 * input-method-xlib.c (Initialize_Locale): don't call
3909 XtSetLanguageProc. We've done the whole work here.
3910 * input-method-xfs.c (Initialize_Locale): ditto.
3911 * input-method-motif.c (Initialize_Locale): ditto.
3913 1998-11-26 Didier Verna <verna@inf.enst.fr>
3915 * process-unix.c (unix_create_process): handle properly
3916 Vfile_name_coding_system for converting the program and directory
3919 1998-11-27 SL Baur <steve@altair.xemacs.org>
3921 * m/arm.h: New file.
3922 From James LewisMoss <dres@ioa.com>
3924 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3927 Fix the realpath() problem of UnixWare2.1.3.
3928 Patches for NEC's sysv4.2 machine.
3930 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3932 * dired.c (Fdirectory_files): Remove redundant code.
3934 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3936 * fns.c (free_malloced_ptr): New function.
3937 (XMALLOC_OR_ALLOCA): New macro.
3938 (XMALLOC_UNBIND): Ditto.
3939 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3940 to be freed in case of non-local exit.
3941 (Fbase64_encode_string): Ditto.
3942 (Fbase64_decode_region): Ditto.
3943 (Fbase64_decode_string): Ditto.
3944 (STORE_BYTE): New macro.
3945 (base64_decode_1): Use it.
3947 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3949 * fns.c (base64_value_to_char): Base64 stuff.
3951 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3953 * editfns.c (Fbuffer_substring): New function.
3955 * lisp.h: Declare make_string_from_buffer_no_extents().
3957 * insdel.c (make_string_from_buffer_1): New function.
3958 (make_string_from_buffer_no_extents): Ditto.
3960 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3962 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3963 sound work on AIX with OSS installed. Linux should still work.
3965 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3967 * config.h.in: name change for cygwin/version.h
3969 * configure.in: check for cygwin/version.h now.
3971 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3972 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3973 move cygwin32/version.h to cygwin/version.h
3975 1998-11-03 Olivier Galibert <galibert@pobox.com>
3977 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3980 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3982 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3983 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3984 enable BROKEN_SIGIO under b20 to make QUIT work.
3986 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3988 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3989 to fit within the constraints of the screen size. I.e. make the
3990 frame small enough to fit and move it if some of it will be
3993 1998-10-19 Greg Klanderman <greg@alphatech.com>
3995 * dired.c: conditionalize inclusion of user-name-completion
3996 primitives on non-Windows NT. The needed functions don't exist on NT.
3998 1998-11-24 SL Baur <steve@altair.xemacs.org>
4000 * gifrlib.h: Clean up types for 64 bit compile.
4001 * dgif_lib.c (DGifInitRead): Ditto.
4002 (MakeSavedImage): Ditto.
4003 * emacs.c (decode_path): Ditto.
4004 From Steve Carney <carney@pa.dec.com>
4006 1998-10-16 William M. Perry <wmperry@aventail.com>
4008 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4009 (cehckboxes instead of checkboxes).
4011 1998-10-15 SL Baur <steve@altair.xemacs.org>
4013 * XEmacs 21.2-beta3 is released.
4015 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4017 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4018 gnuclient. Otherwise, we run xemacs as we always did. This gets
4019 rid of the annoying DOS window when running gnuclient.
4021 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4023 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4024 HAVE_MS_WINDOWS typo.
4026 1998-10-13 SL Baur <steve@altair.xemacs.org>
4028 * process-unix.c (unix_send_process): Set closed flag on writable
4029 pipe after SIGPIPE is received and before we call deactivate_process.
4031 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4033 * window.c (Fset_window_start): respect narrowing when
4034 checking wheter start is at the beginning of a line.
4035 (Fset_window_buffer): Ditto
4036 Fixes repeatable crash in VM.
4038 1998-10-09 SL Baur <steve@altair.xemacs.org>
4040 * window.c (specifier_vars_of_window): Set default vertical
4041 divider width to 1 on ttys.
4043 1998-10-08 Martin Buchholz <martin@xemacs.org>
4048 Add <stddef.h> to get ptrdiff_t declaration
4050 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4052 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4053 is used for Motif or Lucid scrollbars under X.
4055 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4057 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4060 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4062 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4064 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4066 * s/cygwin32.h: more cygwin b20 reorganisation.
4068 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4070 * nas.c: Added necessary support functions to be able to handle
4071 WAVE files in memory, just like the support for SND files in
4074 1998-09-30 SL Baur <steve@altair.xemacs.org>
4076 * callproc.c (child_setup): Fix spelling typo.
4078 1998-09-29 SL Baur <steve@altair.xemacs.org>
4080 * XEmacs 21.2-beta2 is released.
4082 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4084 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4085 to prevent memory corruption in the case of jumping out of a series of
4086 nested match patterns. This is a rather brute force approach, though.
4088 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4090 * config.h.in: ditto.
4092 * s/cygwin32.h: rearrange declarations to cope with cygwin
4093 b20. Include cygwin32/version.h if it exists.
4095 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4097 * device-msw.c (mswindows_init_device): Call new
4098 mswindows_enumerate_fonts() function in objects-msw.c instead
4099 of font_enum_callback_1() to enumerate fonts.
4101 font_enum_callback_1() and _2() moved to objects-msw.c.
4103 * faces.c (complex_vars_of_faces): Make the mswindows default
4104 face font fully specified and provide some fallbacks.
4106 * objects-msw.c: font_enum_callback_1() and _2() moved here
4107 from objects-msw.c. Obtain the enumerated font's character
4108 sets by table lookup instead of using the locale-specific
4109 string provided by Windows.
4111 New public non-method mswindows_enumerate_fonts() that fills
4112 in the supplied mswindows device's font list.
4114 mswindows_initialize_font_instance: Use the supplied name
4115 variable instead of f->name when signalling errors. Match font
4116 weights and character sets using lookup tables which handle
4117 spaces instead of by frobbing.
4119 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4121 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4122 on the size of code fragments passed to run_in_other_process.
4124 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4125 the amount of memory to allocate in the other process.
4127 Removed sigkill_code_end(), sigint_code_end() and
4128 sig_enable_code_end() since they are now redundant.
4130 send_signal() and enable_child_signals(): Don't try to work
4131 out the end of the code fragments passed to
4132 run_in_other_process()
4134 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4136 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4139 * src/unexelf.c: Partially synched with FSF's 20.3.
4141 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4143 * insdel.c (signal_after_change): Map across indirect buffers
4144 here, and not in the upper-level functions.
4145 (signal_first_change): Don't check for Armageddon.
4146 (signal_before_change): Map across indirect buffers here.
4147 (prepare_to_modify_buffer): ...and here.
4149 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4151 * insdel.c (signal_after_change): Add return value.
4152 (buffer_insert_string_1): Use it.
4153 (buffer_delete_range): Ditto.
4154 (buffer_replace_char): Ditto.
4155 (cancel_multiple_change): Map the indirect buffers.
4157 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4159 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4160 (uninit_buffer_text): Ditto.
4162 * buffer.c (Fmake_indirect_buffer): Implement stricter
4165 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4167 * insdel.c (change_function_restore): Reverse order of
4168 function-call and assignment.
4169 (first_change_hook_restore): Ditto.
4171 * extents.c (mark_extent_auxiliary): Mark them.
4172 (Fset_extent_property): Set them.
4173 (Fextent_property): Get them.
4174 (Fextent_properties): Ditto.
4175 (vars_of_extents): Set their default.
4177 * extents.h (struct extent_auxiliary): Add before_change_functions
4178 and after_change_functions.
4180 * insdel.c (signal_before_change): Use it.
4181 (signal_after_change): Ditto.
4183 * extents.c (report_extent_modification): New function.
4185 * insdel.c (signal_before_change): Don't check for Armageddon.
4186 (signal_after_change): Ditto.
4188 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4190 * redisplay.c (redisplay_window): make sure a new starting point
4191 is chosen if it somehow got moved from the beginning of the line
4192 -- this can happen because Fwiden was called recently.
4194 * window.c (Fset_window_start): set start_at_line_beg correctly
4195 (Fset_window_buffer): Ditto
4197 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4199 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4200 (uninit_buffer_text): Ditto.
4202 * buffer.c (Fmake_indirect_buffer): Implement stricter
4205 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4207 * emacs.c (main_1): Removed references to *vars_of_filelock.
4209 * lisp.h: Added Fsystem_name.
4211 * filelock.c: Replaced by version from FSF 20.2. Now implements
4212 locking by using symlinks which is NFS safe. However keep the
4213 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4214 version (and of course use ansi C, acessor macros, etc).
4216 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4218 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4219 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4220 in init_signals_very_early. However these should not be passed
4221 on to children attached to the new pty.
4223 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4225 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4227 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4229 * fileio.c (file-name-directory, file_name_as_directory):
4230 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4232 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4234 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4236 * ralloc.c: uncomment __morecore.
4238 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4240 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4241 WriteFile() to fix a winsock 1.x bug on Win95.
4243 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4245 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4247 (x_event_to_emacs_event): Ditto.
4248 (emacs_Xt_handle_focus_event): Ditto.
4249 (emacs_Xt_handle_magic_event): Ditto.
4251 * console-x.h (struct x_device): New flag being_deleted.
4252 (DEVICE_X_BEING_DELETED): New macro.
4254 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4255 returning. Before doing that, set the being_deleted flag on the
4258 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4260 * device-x.c (x-seppuku-on-epipe): Removed.
4262 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4264 * frame-x.c (x_delete_frame): Flush the X output buffer after
4265 calling XtDestroyWidget to ensure that the windows are really
4268 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4270 * menubar-x.c (my_run_hook): New unused function.
4271 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4272 since we ignore the results of the contained functions anyway.
4274 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4276 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4277 interlaced GIF files that are smaller than 4 lines high...
4279 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4281 * buffer.c (map_over_sharing_buffers): Deleted.
4283 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4285 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4288 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4290 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4292 (buffer_delete_range): Ditto.
4294 * marker.c (init_buffer_markers): Set point-marker to the value of
4295 point in an indirect buffer.
4297 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4299 * undo.c (undo_prelude): Test last-undo-buffer against base
4302 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4304 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4306 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4308 * insdel.c (init_buffer_text): Initialize it here.
4310 * line-number.c: Address line_number_cache through buffer->text.
4312 * buffer.c (mark_buffer): Mark line number cache.
4314 * bufslots.h (line_number_cache): Move to struct buffer_text.
4316 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4317 across the children buffers.
4318 (buffer_delete_range): Ditto.
4319 (buffer_replace_char): Ditto.
4323 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4325 * buffer.c (Fmake_indirect_buffer): Uncomment.
4327 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4329 * macros.c (Fend_kbd_macro): Remove trailing period from error
4331 (Fexecute_kbd_macro): Ditto.
4333 1998-08-21 Greg Klanderman <greg@alphatech.com>
4335 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4336 (Fuser_name_completion_1): new function to return uniqueness
4337 indication in addition to the user name completion.
4338 (user_name_completion): change type of `uniq' argument.
4340 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4342 * lread.c (vars_of_lread): Removed `source-directory' variable.
4344 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4346 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4349 1998-08-19 SL Baur <steve@altair.xemacs.org>
4351 * dired.c (vars_of_dired): Fix misapplied patch.
4353 1998-08-16 Martin Buchholz <martin@xemacs.org>
4355 * fns.c (Fremrassq, remrassq_no_quit):
4356 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4358 1998-07-17 Didier Verna <verna@inf.enst.fr>
4360 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4361 style as foreground GC for faces that have the `dim' property.
4362 (x_output_string): when the `dim' face property is set,
4363 ensure the gray pixmap has been created, and get a proper
4364 foreground GC to draw the text.
4366 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4368 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4369 Manually track the state of the left and right Ctrl and Alt
4372 1998-08-07 Matt Stupple <matts@tibco.com>
4374 * ntproc.c: don't wait on char_consumed at thread entry.
4375 Additionally, to get the 'process' marked as finished, ensure
4376 that the CHILD_ACTIVE macro returns false, so before exiting
4377 close char_avail and set it to NULL, and close other handles
4378 to reduce handle leak problems.
4380 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4382 * menubar-msw.c (displayable_menu_item): take account of menu
4383 depth when deciding whether to try to display accelerators.
4385 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4387 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4390 * glyphs-msw.c: fix a couple of potential handle leaks.
4392 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4394 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4395 *decoding ONLY* back into the core.
4396 * glyphs-eimage.c: Change referenced header file for GIF
4397 reading to point to the incore version.
4399 1998-07-20 Martin Buchholz <martin@xemacs.org>
4401 * casefiddle.c (casify_object):
4402 Change algorithm from O(N**2) to O(N).
4406 1998-07-22 Greg Klanderman <greg@alphatech.com>
4408 * dired.c (file_name_completion_unwind): don't leak the cons.
4410 1998-07-20 Greg Klanderman <greg@alphatech.com>
4412 * dired.c (Fuser_name_completion): new function.
4413 (Fuser_name_all_completions): new function.
4414 (user_name_completion): new function.
4415 (syms_of_dired): 2 new DEFSUBRs.
4416 (vars_of_dired): initialize user name cache vars.
4418 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4420 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4421 colors taken from the default face. Also correct a thinko in
4422 transparency (not alpha) handling.
4424 1998-07-23 Martin Buchholz <martin@xemacs.org>
4426 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4427 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4428 * lread.c (Fload_internal): Be very careful with printfs of
4430 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4433 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4435 * callint.c (Fcall_interactively): GCPRO prompt string before
4436 passing it to Fread_key_sequence
4438 1998-07-27 SL Baur <steve@altair.xemacs.org>
4440 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4441 Vvertical_divider_map.
4443 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4444 Qnil or 0, none were initialized prior to this change.
4446 Rename misnamed `V' prefixed integer variables:
4447 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4448 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4449 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4450 Vcanna_ichiran_revLen.
4452 Rename misnamed `V' prefixed integer variables and initialize
4453 properly in the vars_of routine.
4454 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4455 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4456 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4457 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4458 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4459 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4460 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4461 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4462 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4463 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4464 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4465 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4466 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4467 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4468 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4469 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4470 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4471 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4472 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4473 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4474 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4475 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4476 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4477 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4478 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4479 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4480 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4481 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4482 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4483 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4484 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4485 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4486 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4487 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4488 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4489 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4490 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4491 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4492 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4493 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4494 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4495 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4496 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4497 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4498 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4499 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4501 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4503 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4504 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4505 keys thus no longer considering all keysyms on a key.
4507 1998-07-19 SL Baur <steve@altair.xemacs.org>
4509 * XEmacs 21.2-beta1 is released.
4511 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4513 * eldap.c (Fldap_search_internal): When converting the list of
4514 attributes to search Copy the final 0 from Lisp strings to C
4516 Check base, not Vldap_default_base as a a string
4518 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4520 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4522 * unexnt.c: Unconditionally define bss_start and bss_size, and
4523 ensure that they don't go in the .bss section.
4525 1998-07-17 Olivier Galibert <galibert@pobox.com>
4527 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4528 byte order is dependant of the local byte order).
4529 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4531 1998-07-18 SL Baur <steve@altair.xemacs.org>
4533 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4534 Qmswindows_resource.
4535 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4537 1998-07-12 SL Baur <steve@altair.xemacs.org>
4539 * general.c (syms_of_general): Add defsymbol for Qresource.
4541 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4542 Qmswindows_resource.
4543 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4544 (mswindows_resource_validate): Rename.
4545 (mswindows_resource_normalize): Rename.
4546 (mswindows_resource_possible_dest_types): Rename.
4547 (mswindows_resource_instantiate): Rename.
4548 (image_instantiator_format_create_glyphs_mswindows): Replace
4549 `resource' with `mswindows.resource'.
4551 * XEmacs 21.0-pre5 is released.
4553 1998-07-10 SL Baur <steve@altair.xemacs.org>
4555 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4556 server type in environment.
4557 Use alloca-ed strings instead of tiny fixed size ones.
4559 1998-07-09 SL Baur <steve@altair.xemacs.org>
4561 * XEmacs 21.0-pre4 is released.
4563 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4565 * fileio.c: (expand_file_name): under win32: Don't treat names
4566 as UNC names if a drive letter has been specified. If a drive
4567 has been specified, strip out extra directory-seperators that
4568 reportedly cause problems under Win95.
4570 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4572 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4573 MSVC >= 5.0. Put emacs init and zero-init data in a special
4574 section of the executable when this is defined.
4576 * unexnt.c, ntheap.h:
4577 Removed unused find_section() and get_section_size().
4580 Fix up the executable's checksum after dumping otherwise the
4582 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4583 zero-init data separately from init data. Dump emacs data
4584 into a special section of the executable.
4585 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4586 my_ebss instead of up to the end of bss.
4588 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4590 * filelock.c: Removed Vconfigure_lock_directory - already
4593 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4594 defined in frame.c and general.c respectively.
4596 * glyphs-msw.c: Removed Qresource - already defined in
4599 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4601 * eldap.c (Fldap_search_internal): Docstring fixes
4603 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4605 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4606 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4607 EMACSPACKAGEPATH and INFOPATH variables.
4608 Removed unused get_emacs_configuration function.
4610 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4611 it is now defined at build-time by the makefile.
4613 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4615 * fileio.c: (expand_file_name): under win32: Don't treat names as
4616 UNC names if a drive letter has been specified. If a drive has
4617 been specified, strip out extra directory-seperators that
4618 reportedly cause problems under Win95.
4620 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4622 * faces.c (complex_vars_of_faces): for the gui-element face don't
4623 fallback to the default face, instead provide reasonable default
4624 fallbacks that were previously hardcoded elsewhere.
4626 1998-07-06 Olivier Galibert <galibert@pobox.com>
4628 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4629 when the X server endianness is different than the client's one.
4631 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4633 * eval.c (run_hook_with_args_in_buffer): Check
4634 default (non-buffer-local) value of hook for
4635 nil before treating it as a function. Don't initialize
4636 the `globals' variable twice.
4638 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4640 * fileio.c: Don't do directory seperator canonicalisation in
4641 substitute-in-file-name because we don't know that the
4642 filename refers to a local file.
4644 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4646 * process-nt.c (nt_create_process): Try appending the standard
4647 executable file extensions to the filename if none supplied.
4649 1998-06-29 SL Baur <steve@altair.xemacs.org>
4651 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4653 From Keisuke Mori <ksk@ntts.com>
4655 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4657 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4658 images if we have masks. This handles the xbm case (have masks)
4659 and avoids overuse of resources in the xpm case (generally no masks).
4660 Don't output small toolbars.
4662 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4664 * eval.c (run_hook_with_args_in_buffer): Don't treat
4665 the default value of a buffer local hook as a list of
4666 hooks unless it is both a cons and the car of that cons
4669 1998-06-29 SL Baur <steve@altair.xemacs.org>
4671 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4672 * process-unix.c: Ditto.
4673 * mule-coding.h: Ditto.
4674 * mule-coding.c: Ditto.
4675 * mule-charset.c: Ditto.
4676 * mule-charset.h: Ditto.
4677 * file-coding.c: Ditto.
4678 * file-coding.h: Ditto.
4680 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4682 * event-msw.c: Guard against recursion when freeing
4683 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4685 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4686 Call ShowWindow twice in init_frame_3 to get round runemacs
4689 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4691 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4693 * winslots.h: Rename.
4695 * window.c (specifier_vars_of_window): Renamed
4696 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4697 as suggested by Ben Wing.
4698 (specifier_vars_of_window): Fix docstrings.
4700 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4702 * unexaix.c: Line number information works correctly again.
4704 1998-06-22 Olivier Galibert <galibert@pobox.com>
4706 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4708 1998-06-21 Martin Buchholz <martin@xemacs.org>
4710 * editfns.c (get_home_directory): ANSIfy.
4711 XEmacs is compilable under C *and* C++.
4712 It's XEmacs, not Xemacs!
4714 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4716 * console-msw.h: added a list of fonts to device data.
4718 * device-msw.c: enumerate list of available fonts in
4719 mswindows_init_device. Free list in mswindows_delete_device.
4721 * objects-msw.c: Added helper function match_font used by
4722 mswindows_initialize_font_instance and mswindows_list_fonts.
4723 Allow a charset to be specified in a font string, even if
4724 previous fields havn't been specified.
4726 1998-06-23 Greg Klanderman <greg@alphatech.com>
4728 * indent.c (column_at_point): column cache bugfix.
4729 Set last_known_column_point to the buffer position for
4730 which the column was requested, not buffer's point.
4732 * redisplay.c (decode_mode_spec): for current-column, show
4733 window's point's column, not buffer's point's column.
4735 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4737 * menubar-msw.c (mswindows_handle_wm_command): use
4738 enqueue_misc_user event rather than
4739 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4742 * console-msw.h: declare mswindows_enqueue_magic_event.
4744 * event-msw.c (mswindows_enqueue_magic_event): make global.
4746 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4748 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4749 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4750 (add_position_to_cache): Use EMACS_INT instead of int.
4752 1998-06-21 Olivier Galibert <galibert@pobox.com>
4754 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4755 suitable for an int used as a boolean (btw, C sucks.).
4757 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4759 * object-msw.c: remove warnings.
4761 * device-msw.c: #define wrongly named cygwin structure elements.
4763 * s/cygwin32.h: define DEMI_BOLD
4765 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4767 * redisplay-msw.c: new function mswindows_apply_face_effects.
4768 This is called by output_string and output_cursor to display
4769 underline and strikeout on faces.
4771 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4773 * console-msw.h: added a list of fonts to device data.
4775 * device-msw.c: enumerate list of available fonts in
4776 mswindows_init_device. Free list in mswindows_delete_device.
4778 * objects-msw.c: Added helper function match_font used by
4779 mswindows_initialize_font_instance and mswindows_list_fonts.
4780 Allow a charset to be specified in a font string, even if
4781 previous fields havn't been specified.
4783 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4786 Removed compilation warnings from mswindows_string_to_color.
4787 mswindows_list_fonts returns a more general bogus font.
4788 New lisp-visible function mswindows-color-list.
4790 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4792 * editfns.c (Fuser_login_name): Modify to user new function
4794 (user_login_name): C only function to avoid Lisp object overhead
4795 Returns "unknown" instead of nil in Cygwin environment
4797 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4798 equivalent for current user in Cygwin environment. Use new
4799 function user_login_name to get username.
4801 * lisp.h: Declare user_login_name
4803 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4805 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4807 Some other insignificant nitpicks.
4809 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4811 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4812 creating the image list and make sure he bk color is transparent.
4814 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4816 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4817 completed_timeouts. The timer could have expired.
4819 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4821 * console-msw.h: move XEMACS_RECT_WH inside frame
4822 parameters. define macors to access it.
4824 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4825 parameter to intialise desired sizing. (mswindows_init_frame_2):
4826 enable and size the frame to something sensible when we get
4827 here. (mswindows_set_frame_properites): use new
4828 mswindows_size_frame_internal function and size frame if frame
4829 parameters not just if init is finished - WM_SIZE happens too
4830 early for some specs. (mswindows_size_frame_internal): new
4831 function abstracted from mswindows_set_frame_properties.
4832 (Vmswindows_use_system_frame_size_defaults):
4833 new variable controls whether to allow the system to pick frame
4834 size defaults, defaults to nil.
4836 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4837 than duplicated code.
4839 1998-06-15 Colin Rafferty <colin@xemacs.org>
4841 * Makefile.in.in: Made EXTW_LINK expand properly.
4843 1998-06-12 Martin Buchholz <martin@xemacs.org>
4845 * redisplay.c (vars_of_redisplay): default value of
4846 column-number-start-at-one should be NIL!
4848 1998-06-11 Martin Buchholz <martin@xemacs.org>
4851 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4853 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4855 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4856 build_string to avoid crashes under Mule.
4858 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4860 * ntplay.c (play_sound_data_1): don't delete the sound data until
4861 the next sound is played and the previous one finished.
4863 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4865 * fileio.c (directory-sep-char): Escape backslashes.
4867 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4869 * event-stream.c: Fix docstring reference.
4871 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4873 * alloc.c (make_float): Remove useless initialization of `next'
4875 (make_pure_float): Ditto.
4877 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4879 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4881 * fileio.c (Fmake_directory_internal): Remove conditionals
4882 on WINDOWSNT when calling mkdir.
4884 * ntproc.c: Deleted the following unused functions:
4885 register_child, reap_subprocess, sys_wait.
4887 * nt.c (sys_rename): Ifzeroed this implementation.
4888 Deleted the following unused functions:
4889 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4890 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4891 sys_read, sys_write.
4892 Merger sys_fopen and sys_open with sysdep.c implementation.
4894 * sysdep.c: Removed MS-DOS code.
4895 (sys_rename): Deal with Microsoft rename weirdness.
4896 (sys_open): Implemented for Windows.
4900 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4902 * buffer.c (complex_vars_of_buffer): Removed %t description from
4905 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4907 * scrollbar-msw.c: initialize the cbSize element of the
4908 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4909 to ignore the value of cbSize, but Win95 (and I presume Win98)
4910 appear to want it set to sizeof(SCROLLINFO).
4912 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4914 * event-stream.c: Defined Qcancel_mode_internal.
4915 (syms_of_event_stream): defsymbol'ed it.
4917 * events.h: Externed it.
4919 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4921 1998-06-04 Oliver Graf <ograf@fga.de>
4923 * frame-x.c (x_cde_destroy_callback): free the data
4924 (cde-start-drag-internal) corrected root position, 21.1 needs this
4925 hardcoded in Button events
4926 (offix-start-drag-internal) corrected root position
4928 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4930 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4933 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4935 * dialog-msw.c (button_width): Removed `inline' from the function
4938 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4940 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4941 Note that adding this flag to subsequent frames causes problems.
4943 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4945 * glyphs-eimage.c (png_instantiate) move 'struct
4946 png_memory_storage tbr' out of nested block to avoid dangling
4949 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4952 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4953 inherits from gui-element.
4955 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4956 with existing code, generate masks correctly.
4958 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4960 * glyphs-eimage.c: Changed included header for gifs to use
4961 Gifreader instead of giflib.
4963 * glyphs-x.c: removed the image-related functions that were
4964 moved into glyphs-eimage.
4966 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4968 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4969 if built without X Windows support.
4971 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4973 * fns.c (Fconcat): Synch docstring with new reality.
4975 1998-06-03 SL Baur <steve@altair.xemacs.org>
4977 * frame.c: Remove reference to msdos.h (which is going away).
4978 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4980 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4982 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4986 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4988 * events.h: Fixed commentary about misc-user scrollbar events.
4990 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4991 object as an event channel, instead of window object.
4992 (x_update_horizontal_scrollbar_callback): Ditto.
4994 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4996 * ntplay.c (play_sound_data_1) new function. convert alloca data
4997 to malloc if necessary.
4998 (play_sound_file): if the file is not in our path then convert to
5001 1998-06-01 SL Baur <steve@altair.xemacs.org>
5003 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5004 * msdos.c (Frecent_doskeys): Ditto.
5006 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5007 Suggested by Reggie Perry <perry@zso.dec.com>
5009 * buffer.h: Eliminate size in declaration.
5011 1998-06-01 Olivier Galibert <galibert@pobox.com>
5013 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5015 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5017 * gui.c (gui_item_init): Changed the default value for config member
5018 from Qunbound to Qnil.
5020 1998-06-01 Greg Klanderman <greg@alphatech.com>
5022 * indent.c (vmotion_pixels): Don't #define abs().
5024 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5026 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5029 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5031 * glyphs.h: add xbm declarations.
5033 * console.h: add xbm_instantiate_method device method.
5035 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5036 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5037 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5038 locate_pixmap_file device method and read_bitmap_data_from_file
5039 instead of XmuReadBitmapDataFromFile.
5040 (xbm_instatntiate): make a device method.
5042 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5043 new function that just calls XmuReadBitmapDataFromFile.
5044 (x_xbm_instatntiate): device method from xbm_instantiate.
5046 * glyphs-msw.c (read_bitmap_data) (NextInt)
5047 (read_bitmap_data_from_file): new functions copied from Xmu
5049 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5050 inline data to an mswindows bitmap.
5051 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5052 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5055 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5057 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5058 `modeline-visible-p'.
5059 Declared specifier lisp variables at the beginning oh the file
5062 * procimpl.h (struct process_methods): Changed semantics of
5063 create_process method so it accepts lisp strings instead of
5066 * process.c (Fstart_process_internal): Moved building of
5067 unix style argv from here to process-unix.c, ...
5069 * process-unix.c (unix_create_process): ... right here.
5071 * process-nt.c (nt_create_process): Changed this function to
5072 support new semantics, so avoided a GC problem.
5074 * events.c (Fmake_event): Document misc-user events properties.
5075 (Fmake_event): Do not allow arbitrary objects for channel property
5076 of misc-user events.
5077 (Fmake_event): Change misc-user event validation: it is function
5078 which is required, not button.
5080 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5082 (mswindows_enqueue_misc_user_event): Added function.
5083 (mswindows_bump_queue): Removed function.
5084 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5085 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5086 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5087 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5088 really nothing, which is my personal favorite thing.
5090 * console-msw.h: Removed prototype for mswindows_bump_queue().
5091 Added prototype for mswindows_enqueue_misc_user_event().
5093 * menubar-msw.c (mswindows_handle_wm_command): Use
5094 mswindows_enqueue_misc_user_event().
5096 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5098 * dialog-msw.c (dialog_proc): Ditto.
5100 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5101 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5102 user events channel.
5104 1998-05-29 Greg Klanderman <greg@alphatech.com>
5106 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5107 incorrect semantics of vmotion_pixels which has been fixed. don't
5108 use it anymore as it can't easily be used.
5110 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5111 the motion was reported incorrectly if you tried to go past end of
5114 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5116 * toolbar.h: Removed misleading commentary, as Martin suggested.
5118 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5120 * lisp.h: Extern Qactivate_menubar_hook.
5122 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5125 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5127 * glyphs-msw.c: use BPLINE macro.
5129 * select-msw.c (mswindows-selection-exists-p)
5130 (mswindows-delete-selection): doc string fixes.
5132 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5133 unpressable. warning elimination.
5135 1998-05-28 Martin Buchholz <martin@xemacs.org>
5137 * alloc.c (dbg_constants):
5140 Remove toolbar_data debugging code, since that lrecord has
5143 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5145 * alloc.c: zap cached value of (user-home-directory), so that
5148 * buffer.c: From init_buffer(), separated out code that
5149 determined the initial directory for the *scratch* buffer, and
5150 put them into a function called "init_initial_directory()".
5151 The initial directory is now available as a global "char *"
5152 called initial_directory.
5154 * buffer.h: Added extern entries for initial_directory[] and
5155 init_initial_directory().
5157 * editfns.c: added new elisp function "user-home-directory",
5158 which basically returns getenv("HOME"), but attempts to use
5159 other values if $HOME isn't set.This may have to be tweaked in
5160 the future as, under Unix, "/" is used if $HOME isn't set (this
5161 probably should be set to the current directory). To support
5162 this, a new C function, "get_home_directory()", now exists,
5163 which returns the "home directory", as a "char *" string.
5165 * emacs.c: Rearrange NT initialization order so that
5166 environment/registry variables will be properly entered into
5167 Vprocess_enviroment.
5169 * fileio.c: replaced egetenv("HOME") with calls to the new
5170 get_home_directory().
5172 * lisp.h: Added function prototypes for uncache_home_directory()
5173 and get_home_directory(), along with lisp prototypes for
5174 Fuser_home_directory() and friends.
5176 * nt.c: replaced getenv("HOME") with calls to the new
5177 get_home_directory().
5179 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5180 warnings about getcwd(), etc. not having prototypes.
5182 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5184 * process-nt.c (send_signal): Emulate SIGHUP.
5185 (validate_signal_number): Ditto.
5187 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5188 remove MOD_SHIFT from ASCII characters.
5189 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5192 1998-05-24 Oliver Graf <ograf@fga.de>
5194 * frame-x.c (cde-start-drag-internal): added filename and multi-
5196 (x_cde_convert_callback) dito
5198 1998-05-26 Oliver Graf <ograf@fga.de>
5200 * frame-x.c: include event-mod.h also with CDE
5201 (x_cde_convert_callback) made the thing working
5202 (cde-start-drag-internal) also debugging
5204 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5211 - add __OpenBSD__ where __NetBSD__ was found.
5212 - TODO: replace platform-specific conditional compilation by
5213 feature tests in configure.in.
5215 1998-05-15 Greg Klanderman <greg@alphatech.com>
5217 * window.c (Fwindow_displayed_text_pixel_height): New function.
5218 (syms_of_window): DEFSUBR it.
5220 * indent.c (Fvertical_motion_pixels): New function - request
5222 (vmotion_pixels): helper.
5223 (syms_of_indent): DEFSUBR.
5224 * lisp.h: declaration for vmotion_pixels().
5226 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5227 to request returning motion in pixels.
5228 (Fvertical_motion_pixels): Remove, functionality merged into
5230 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5231 (Fmove_to_window_line): ditto.
5232 * lisp.h: Change declaration for Fvertical_motion.
5234 * window.c: rename window-text-pixel-{height,width,edges} to
5235 window-text-area-pixel-*.
5237 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5239 * tooltalk.c (vars_of_tooltalk) added staticpro for
5240 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5242 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5244 * faces.c: create a new 3d_object_face, make modeline and
5245 vertical_divider faces fallback to this rather than the default.
5247 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5249 * s/cygwin32.h: define charsets for cygwin.
5251 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5253 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5254 and coordinates. resize bitmaps if we have already settled on a
5257 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5259 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5261 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5263 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5267 * gui-x.c (popup_selection_callback): Ditto.
5269 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5271 * gui.c (get_callback): Renamed to get_gui_callback.
5273 1998-05-17 Martin Buchholz <martin@xemacs.org>
5275 * glyphs.h: order rearrangement.
5277 * device-tty.c (tty_asynch_device_change): Warning suppression.
5278 * device-x.c (x_device_system_metrics): Warning suppression.
5279 Make Doc strings consistent with coding standards.
5281 1998-05-24 Martin Buchholz <martin@xemacs.org>
5283 * general.c: multiple definition of `Qicon'. general.c seems
5284 like a good home for Qicon.
5286 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5288 * This patch is to fix compilation warnings under Windows.
5290 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5291 Added prototypes for FSF inherited functions, with which XEmacs is
5292 sprinkled thoroughly.
5293 Removed some #if 0 code. Bracketed some more definitions, probably
5294 related to Visual C versions prior to 4 (we do not support them).
5296 * sysfloat.h (logb): Finally, get logb() prototyped.
5298 * sysfile.h: Added Windows specific includes.
5299 Removed old Windows specific code bracketed with #if 0.
5301 * sysdep.h: Added prototype for xrealpath().
5303 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5305 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5306 vars_of_dired_mswindows and init_ntproc (Grrr).
5308 * realpath.c: Added Windows specific include files.
5309 (xrealpath): Conditionalized declaration of some auto variables on
5310 S_IFLNK, to avoid warnings.
5312 * ntproc.c: Disabled some compiler warnings. This file is going to
5313 die, so I have not cleaned it up much.
5314 (set_process_dir): Const parameter.
5315 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5316 (Fwin32_long_file_name): Ditto.
5317 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5320 * nt.h: Added prototypes for set_process_dir and convert_time.
5322 * nt.c: More include files.
5323 (getpwnam): Consted char* argument.
5324 (get_emacs_configuration): Const return value.
5325 (opendir): Const argument.
5326 (stat): Casted converstion long->short.
5327 (stat): Removed ad hoc and questionable support for non-MSC compile.
5328 (sys_pipe): Removed unused auto variable.
5329 (_sys_read_ahead): Removed calls to DebPrint.
5330 (sys_read): Ditto, in 2 places.
5331 (term_ntproc): Added unused int parameter to signal handler, to
5332 avoid a warning when compiling a call to signal().
5333 (msw_sigset): Properly return old signandler or NULL instead of void.
5335 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5337 * gmalloc.c (morecore): Ditto.
5338 (_free_internal): Ditto.
5340 * lread.c (parse_integer): Ditto.
5342 * dired-msw.c: Added several include files.
5344 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5345 of Compilers to Shut Up.
5347 * callproc.c: Added #includes to suppress warnings under Windows.
5348 (init_callproc): Removed #if0'ed code and unused variables.
5350 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5352 * device-msw.c (mswindows_device_system_metrics): do planes in a
5353 way consistent with X.
5355 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5356 use SetPixel, use DIBits functions.
5357 (xpm_to_eimage): frob colors more closely like xpm deos.
5359 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5360 to be closer to X version.
5362 * event-msw.c: use tooltip string directly.
5364 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5366 * objects-msw.c: frob rgb colors that only Kyle uses.
5368 * dialog-msw.c (button_width): INLINE -> inline.
5370 1998-05-23 SL Baur <steve@altair.xemacs.org>
5372 * getloadavg.c (getloadavg): Fix typo.
5374 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5376 * objects-msw.c (mswindows_initialize_font_instance): Added support
5377 for font character sets.
5378 Replaced 'XXX' with '####' in comments throughout the file.
5380 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5382 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5383 console_type_create_dialog_mswindows(), to initialize Windows dialog
5386 * symsinit.h: Prototyped the above functions.
5388 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5389 checks to dialog.c...
5391 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5392 device must support dialog boxes, and the descriptor must supply at
5395 * dialog-msw.c: New file, dialogs for Windows.
5397 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5399 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5400 (Fldap_search_internal): Removed unused variable `err'
5402 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5405 1998-05-17 Martin Buchholz <martin@xemacs.org>
5407 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5408 defined. Therefore there is no need to handle the case when
5409 HAVE_LDAP is undefined. Similarily, there is no reason to have
5410 any code wrapped within `#ifdef emacs', since this code is only
5411 useful within an emacs. This simplifies the code significantly.
5413 * inline.c: Include eldap.h only if HAVE_LDAP.
5414 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5417 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5419 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5420 printing dump stats when building without DEBUG_XEMACS.
5421 (dump_bss_and_heap): Ditto.
5423 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5425 * gnuclient.c: don't suppress window system if there is no display
5426 and we are running under mswindows. send 'mswindows device type if
5427 we are in this situation.
5429 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5432 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5434 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5437 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5439 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5440 {top,bottom}-{left,right} values in addition to
5441 {top,bottom}_{left,right}.
5443 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5445 * fileio.c (Fmake_temp_name): Remove unreached code.
5447 * process-nt.c (validate_signal_number): Use
5448 signal_simple_error().
5450 1998-05-19 Martin Buchholz <martin@xemacs.org>
5453 * sound.c (vars_of_sound):
5454 * sysdep.c (reset_sigio_on_device):
5455 * window.c (window_bottom_gutter_height):
5456 unexhp9k800.c:258: warning: implicit declaration of function
5457 `calculate_checksum'
5458 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5459 sysdep.c:1012: warning: unused variable `owner'
5460 window.c:993: warning: `window_right_toolbar_width' defined but not used
5462 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5464 * glyphs-msw.c (mswindows_create_resized_mask)
5465 (mswindows_create_resized_bitmap): new funnctions split out from
5466 mswindows_resize_dibitmap_instance.
5468 * glyphs-msw.h: declare new resize functions.
5470 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5471 functions so that the original bitmaps are preserved.
5473 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5475 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5476 color if we are trying to output 0 depth bg pixmap.
5478 * scrollbar-msw.c: warning elimination.
5480 1998-05-18 Martin Buchholz <martin@xemacs.org>
5482 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5483 directives in column 1.
5485 * search.c (skip_chars): Avoid using xzero with arrays, since some
5486 compilers get confused by the construct &array.
5488 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5491 * objects-msw.c: Changed the charset value for a new font from
5492 "don't care" to "ansi".
5494 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5496 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5498 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5499 modifier on control chars.
5500 Use IsCharAlpha() instead of isaplha().
5502 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5504 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5506 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5508 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5509 charset when creating font.
5510 (mswindows_initialize_color_instance): Do not create brush along
5512 (mswindows_finalize_color_instance): Do not delete it then.
5514 * objects-msw.h (struct mswindows_color_instance_data): Removed
5515 brush slot, and corresponding accessor macro.
5517 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5519 * toolbar.c: Removed toolbar_data lrecord implementation.
5520 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5521 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5522 (compute_frame_toolbar_buttons): Ditto.
5523 (CHECK_TOOLBAR): Ditto.
5524 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5525 (update_frame_toolbars): Do not check for changed buffer
5526 here. Toolbar information is provided by cached specs in
5527 windows. The check for buffer is eliminated becuase toolbars are
5528 marked changed in set_frame_selected_window() in frame.c
5529 Added check for changed toolbars geometry.
5530 (compute_frame_toolbars_data): Removed unused second parameter;
5531 Adjusted callers of this static function throughout the file.
5532 (init_frame_toolbars): Initialize current_toolbar_size.
5533 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5534 what is its current expansion, for clarity.
5535 (init_frame_toolbars): Ditto.
5536 (init_device_toolbars): Ditto.
5537 (init_global_toolbars): Ditto.
5539 * toolbar.h: Removed definition of toolbar_data lrecord.
5540 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5541 FRAME_CURRENT_TOOLBAR_SIZE.
5542 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5544 * toolbar-x.c (x_output_toolbar): The same change as in
5546 (x_output_toolbar): Ditto.
5547 (x_redraw_exposed_toolbar): Ditto.
5549 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5550 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5551 (mswindows_output_toolbar): Ditto.
5552 (mswindows_output_toolbar): Ditto.
5554 * frame.c (mark_frame): Removed marking of arrays, according to
5555 frameslots.h change.
5556 (nuke_all_frame_slots): Ditto.
5557 (set_frame_selected_window): Mark toolbars changed when
5558 last_nonminibuf_window changes.
5560 * frame.h (struct frame): Moved some slots to frameslots.h.
5561 Added current_toolbar_size array.
5562 Changed references from toolbar_data to toolbar_buttons in macros
5563 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5564 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5565 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5567 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5568 Moved arrays of lisp objects here from frame.h: toolbar_size,
5569 toolbar_visible_p, toolbar_border_width.
5570 Removed toolbar_data slot and added toolbar_buttons.
5572 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5574 * symsinit.h: Externed syms_of_process_nt()
5576 * emacs.c (main_1): Call syms_of_process_nt()
5578 * process-nt.c: Quote process arguments by a call to Lisp function
5579 `nt-quote-process-args'.
5580 (syms_of_process_nt): New function.
5581 (nt_send_process): Flush data stream after each write, to avoid
5582 leaving buffered data.
5583 (nt_send_process): When blocked on process output, wait for
5584 process to slurp more for progressively increasing time intervals.
5586 1998-05-17 Martin Buchholz <martin@xemacs.org>
5588 * window.c (have_undivided_common_edge): Make file-local function
5590 (map_windows): Return 0 if all map functions successful.
5593 * winslots.h: Use unlikely names for local variables in macros to
5594 avoid shadowing warnings.
5596 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5598 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5599 so that we re-output if the toolbar size has changed.
5601 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5603 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5605 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5607 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5610 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5612 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5613 get bitmap manifest constants defined.
5615 * console-msw.h: Include system files in angle brackets, not in
5618 * window.c (specifier_vars_of_window): Fixed a typo in
5619 `vertical-divider-line-width' docstirng.
5621 1998-05-16 Olivier Galibert <galibert@pobox.com>
5623 * line-number.c (delete_invalidate_line_number_cache): Use an
5625 (buffer_line_number): Remove dangerous, plain wrong when using
5626 64bits emacs ints, cast.
5628 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5630 * cmds.c (Fforward_line): Use EMACS_INTs.
5632 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5633 (scan_buffer): Ditto.
5634 (bi_find_next_newline_no_quit): Remove useless cast.
5635 (find_next_newline_no_quit): Ditto.
5636 (find_next_newline): Ditto.
5637 (find_before_next_newline): Use an EMACS_INT.
5639 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5641 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5643 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5645 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5647 * gui-x.c (popup_selection_callback): Use it.
5649 * gui.h (get_callback): Declare it.
5651 * gui.c (get_callback): New function.
5653 1998-05-15 SL Baur <steve@altair.xemacs.org>
5655 * window.c (have_undivided_common_edge): Guard scrollbar specific
5657 (window_needs_vertical_divider_1): Ditto.
5659 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5661 * emacs.c (decode_path): Eliminate compiler warning.
5662 (Fdecode_path): Renamed to Fsplit_path.
5663 (Fsplit_string_by_char): New function.
5665 1998-05-14 Damon Lipparelli <lipp@primus.com>
5667 * winslots.h: close comment
5669 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5671 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5673 * bufslots.h: Removed buffer_file_type slot.
5675 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5677 (complex_vars_of_buffer): Removed buffer-file-type variable and
5678 its default reference.
5680 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5682 * faces.c (complex_vars_of_faces): Defined
5683 Vvertical_divider_face.
5684 (vars_of_faces): Staticpro it.
5686 * faces.h: Externed Vvertical_divider_face.
5688 * redisplay-x.c (x_output_vertical_divider): Use
5689 Vvertical_divider_face to draw the divider instead of modeline
5692 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5693 divider face using Vvertical_divider_face background.
5694 Fix drawing spacing gaps around the divider.
5696 1998-05-14 Didier Verna <verna@inf.enst.fr>
5698 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5699 values for the vertical divider line width and spacing. Use the
5700 cached values from the window structure instead.
5701 (x_divider_width): ditto.
5703 * window.c (specifier_vars_of_window): new specifiers:
5704 vertical-divier -line-width and -spacing.
5705 (vertical_divider_global_width_changed): formerly known as
5706 vertical_divider_shadow_thickness_changed.
5708 * winslots.h: new slots: vertical_specifier _line_width and
5709 _spacing. Plus corrected a comment typo.
5711 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5713 * window.h: Declared window_divider_width().
5715 * console-stream.c (stream_divider_width): Removed method.
5716 (console_type_create_stream): And declaration for it.
5718 * redisplay.c (pixel_to_glyph_translation): Use
5719 window_divider_width() instead of divider_width redisplay method.
5720 (pixel_to_glyph_translation): Fix top divider edge calculation
5721 when scrollbar is on top.
5723 * window.c (window_divider_width): New function, an outphaser for
5724 divider_width redisplay method.
5725 (window_right_gutter_width): Use it.
5726 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5727 specifiers, set fallback values differently on TTYs, and document
5728 the behavior of these on TTYs in the docstrings.
5730 * scrollbar.c (update_scrollbar_instance): Use
5731 window_divider_width() instead of divider_width redisplay method.
5733 * console.h (struct console_methods): Removed divider_width_method.
5735 * redisplay-tty.c (tty_divider_width): Removed device method.
5736 (console_type_create_redisplay_tty): Removed definition for it.
5737 (tty_output_vertical_divider): Respect the value returned by
5738 window_divider_width thus divider line width specification.
5740 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5741 (console_type_create_redisplay_mswindows): Removed definition for it.
5742 (mswinodws_output_vertical_divider): Respect the value returned by
5743 window_divider_width thus divider line width specification.
5745 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5747 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5749 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5751 * glyphs-msw.c: resource loading implementation.
5752 (cursor_normalize): new function.
5753 (cursor_validate): ditto.
5754 (cursor_instantiate): ditto.
5755 (cursor_name_to_resource): ditto.
5756 (cursor_possible_dest_types): ditto.
5757 (check_valid_symbol): ditto.
5758 (check_valid_string_or_int): ditto.
5760 1998-05-14 Martin Buchholz <martin@xemacs.org>
5762 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5765 * process-unix.c (process_signal_char): Use VSUSP instead of
5766 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5768 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5770 * specifier.c (specifier_instance): Change locale precedence of
5771 instantiation so window locale has higher priority than buffer
5773 (Fspecifier_instance): Reflect this in docstring.
5774 (Fadd_spec_list_to_specifier): Ditto.
5775 (Fadd_spec_to_specifier): Ditto.
5776 (Fremove_specifier): Ditto.
5778 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5780 ** Dialog separation into a device method from Andy Piper
5782 * emacs.c (main_1): Call console_type_create_dialog_x().
5784 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5785 into this device method.
5786 (console_type_create_dialog_x): New function.
5788 * dialog.c (Fpopup_dialog_box): New function.
5789 (syms_of_dialog): Defsubr it.
5791 * console.h (struct console_methods): Declared
5792 popup_dialog_box_method().
5794 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5796 1998-05-14 Oliver Graf <ograf@fga.de>
5798 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5799 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5801 1998-05-13 Oliver Graf <ograf@fga.de>
5803 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5805 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5807 * console.h (device_metrics): Removed dbcs, input-method-editor
5808 and right-to-left metrics.
5810 * device.c (Fdevice_system_metric): Ditto.
5811 (Fdevice_system_metrics): Ditto.
5812 (syms_of_device): Ditto.
5813 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5816 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5818 * line-number.h (mark_line_number_cache): Remove unused
5821 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5822 (get_nearest_line_number): Simplify.
5823 (add_position_to_cache): Make the old marker point nowhere.
5825 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5827 ** Renamed window-divider-map => vertical-divider-map
5828 and event-over-divider-p => event-over-vertical-divider-p,
5829 in the following files/functions:
5831 * events.c (Fevent_over_divider_p):
5832 * keymap.c (get_relevant_keymaps):
5835 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5837 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5839 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5841 * window.c (vertical_divider_changed_in_window): Renamed so.
5842 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5843 (window_needs_vertical_divider_1): Decide whether we need it based
5844 on the value of the above specifier. If separators are unwanted,
5845 put them only if there's no scrollbar between this window and its
5847 (have_undivided_common_edge): New function, helper for the above.
5848 (window_needs_vertical_divider): Return either a cached value,
5849 or clauclate and cache one.
5850 (invalidate_vertical_divider_cache_in_window): Implemented.
5851 (map_windows): Changed return type to int, return the value from
5854 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5855 (struct window): Added need_vertical_divider_p and
5856 need_vertical_divider_valid_p.
5858 * winslots.h: Added vertical_divider_draggable_p slot.
5860 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5861 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5863 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5865 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5866 invalidate_vertical_divider_cache_in_frame().
5869 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5871 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5873 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5874 masks correctly and don't select 0.
5876 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5878 * winslots.h: New file, declaration of some struct window and
5879 struct saved_window members.
5881 * window.h (struct window): Include it, with required preprocessor
5884 * window.c (mark_window): Ditto.
5885 (allocate_window): Ditto.
5886 (struct saved_window): Ditto.
5887 (mark_window_config): Ditto.
5888 (saved_window_equal): Ditto.
5889 (Fset_window_configuration): Ditto.
5891 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5893 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5895 1998-05-12 Didier Verna <verna@inf.enst.fr>
5897 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5898 the divider line. The shadow thickness is currently
5899 hard-wired. This will probably be turned into a specifier soon.
5901 1998-05-12 Didier Verna <verna@inf.enst.fr>
5903 * console.h (struct console_methods): the divider_width console
5904 method now requires a struct window * argument.
5906 * redisplay-x.c (x_divider_width): ditto. Plus remove
5907 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5908 (x_output_vertical_divider): give a depressed look when the shadow
5909 thickness is negative.
5911 * console-stream.c (stream_divider_width): pass a struct window *
5914 * redisplay-tty.c (tty_divider_width): ditto.
5916 * window.c (window_right_gutter_width): totdi.
5918 * redisplay.c (generate_modeline): ittod.
5920 * scrollbar.c (update_scrollbar_instance): ttido.
5922 * redisplay-msw.c (mswindows_divider_width): ottid.
5923 WARNING: this enables to compile, but the feature is not functional.
5925 * window.h (struct window): new field
5926 vertical_divider_shadow_thickness.
5928 * window.c (specifier_vars_of_window): new specifier
5929 vertical-divider-shadow-thickness.
5930 (vertical_divider_shadow_thickness_changed): new function to
5931 inform redisplay that the window has changed.
5932 (mark_window): handle new field vertical_divider_shadow_thickness
5934 (allocate_window): ditto.
5935 (saved_window_equal): toddi.
5936 (Fset_window_configuration): totid.
5937 (save_window_save): ttdio.
5938 (struct saved_window): new field vertical_divider_shadow_thickness.
5940 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5942 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5945 1998-05-12 Oliver Graf <ograf@fga.de>
5947 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5948 * event-Xt.c (x_event_to_emacs_event): C++ compability
5950 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5952 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5955 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5957 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5960 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5962 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5964 * emacs.c (decode_path_1): New function.
5965 (decode_path): Use it.
5966 (Fdecode_path): Renamed from Fdecode_path_internal; use
5969 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5971 * macros.c (Fzap_last_kbd_macro_event): New function.
5972 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5974 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5976 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5977 multiple bitmaps are output vertically as well as horizontally.
5978 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5979 crossing lines this is handled by
5980 mswindows_output_dibitmap_region.
5982 1998-05-12 Martin Buchholz <martin@xemacs.org>
5984 * inline.c: Include eldap.h
5986 * menubar-x.c (x_update_frame_menubar_internal):
5987 Remove: unused variable `container'
5989 1998-05-11 Martin Buchholz <martin@xemacs.org>
5991 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5992 Unfortunately, the resulting temacs still cannot dump.
5994 * symbols.c (symbol_is_constant):
5995 (verify_ok_for_buffer_local):
5996 -Wswitch Warning suppression - add default case to switches.
5998 * redisplay.c (decode_mode_spec): Remove unused variables,
5999 Replace Fcoding_system_property (codesys, Qmnemonic) with
6000 XCODING_SYSTEM_MNEMONIC (codesys);
6001 Fcoding_system_property is for users.
6007 Change empty docstrings into no doc strings at all.
6008 Fix bogus FSF-format docstrings.
6011 Standardize docstrings.
6014 Explain problems with matherr.
6016 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6019 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6020 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6021 Fix the weird resultant interaction (causes windows problems)
6025 Take new EMACSBOOTSTRAPLOADPATH into account.
6026 Update documentation strings
6029 - Adjust for luser's CDPATH being set to something weird.
6030 - Take into account bash 2.02's tendency to print the cwd when
6031 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6032 - fix the run-temacs target to use $(DUMPENV)
6033 - fix the run-puremacs target to use $(DUMPENV)
6034 - fix the `depend' target to properly $(RM) the right files
6035 - Generate a better TAGS file for XEmacs' lisp code using
6036 hand-crafted regexps.
6037 - Use standard coding conventions for modules/Makefile.in
6039 1998-05-12 Didier Verna <verna@inf.enst.fr>
6041 * redisplay.c: removed the scrolling modeline code that didn't
6042 make it for 21.0. To be continued ...
6044 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6046 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6047 and empty string inputs.
6049 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6051 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6053 1998-05-10 Oliver Graf <ograf@fga.de>
6055 * event-stream.c (enqueue_misc_user_event_pos): created
6056 * lisp.h (enqueue_misc_user_event_pos): prototype added
6057 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6058 * emacs.c: call vars_of_dragdrop
6059 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6061 1998-05-11 Oliver Graf <ograf@fga.de>
6063 * frame-x.c (x_cde_transfer_callback): return at correct pos
6064 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6065 object for MIME (see comment in dragdrop.c)
6066 * dragdrop.c: API change documented in comment
6067 removed provide of dragdrop [is provided by dragdrop.el]
6069 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6071 * window.c (window_needs_vertical_divider): Enable vertical
6072 dividers for every non-rightmost window.
6073 (window_left_gutter_width): Left gutter consists of mythical
6074 toolbar and a virtual scrollbar.
6075 (window_right_gutter_width): The right one may have a divider
6078 * scrollbar.c (update_scrollbar_instance): Position vertical
6079 scrollbar left to divider if the latter present.
6081 * redisplay.h: Declared OVER_DIVIER constant.
6083 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6086 * redisplay-x.c (x_output_vertical_divider): Output divider along
6087 the right side of the window, down to window bottom. Swapped
6088 foreground and background colors so it is visible by default.
6090 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6091 stick the divider to the right window side.
6093 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6095 (mswindows_divider_width): Ask system for user preferred value.
6096 (mswindows_output_vertical_divider): Always output the divider on
6097 the right side of a window, down to bottom.
6099 * keymap.c (get_relevant_keymaps): Route mouse button events which
6100 happened over a window divider through window-divider-map.
6101 (Fkey_binding): Documented that in the docstring.
6102 Defined the variable Vwindow_divider_map.
6104 * events.c (Fevent_over_divider_p): Added this function.
6106 * events.h: EXFUNed it.
6108 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6110 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6111 toolbar geometry is suspected to change.
6113 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6117 Condition dnd and dde code on HAVE_DRAGNDROP.
6119 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6121 * events.c (format_event_object): Print space as SPC etc.
6123 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6125 * print.c (print_internal): In the default case, abort() if
6126 ERROR_CHECK_TYPECHECK.
6128 * fileio.c (Fmake_temp_name): Doc fix.
6130 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6132 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6134 * undo.c (Fprimitive_undo): Fixed typo.
6136 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6138 * fns.c (concat): Signal error on integer argument.
6140 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6142 * console.h (device_metrics): Prefixed each constatnt with DM_
6144 * device.c: (Fdevice_system_metric): Renamed so from plural form
6145 (metrics); Changed parameters order and added DEFAULT parameter;
6146 Unabbreviated some metric constants; Fixed and untabified doc string.
6147 (Fdevice_system_metrics): Added. Returns a plist of all provided
6150 * device-msw.c (mswindows_device_system_metrics): Renamed
6151 device_metrics enum constants.
6152 Return Qunbound instead of Qnil.
6154 * device-tty.c (tty_device_system_metrics): Ditto.
6156 * device-x.c (x_device_system_metrics): Ditto.
6158 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6160 * redisplay-msw.c: implement background pixmaps (really!). Make
6161 sure bg color is transparent if we have bg pmaps.
6162 * (mswindows_output_string) (mswindows_clear_region): output bg
6164 * (mswindows_output_dibitmap_region): new function.
6165 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6166 the bg color rather than transparently.
6168 * toolbar-msw.c: use masks if they exist.
6170 * glyphs-msw.c: set up masks correctly.
6172 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6174 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6176 * regex.c (re_match_2_internal): Check for quit.
6178 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6180 * frame.c (Ffocus_frame): New function.