1 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
3 * XEmacs 21.2.19 is released
5 1999-07-27 Jeff Miller <jmiller@smart.net>
7 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
8 menubar_show_keybindings.
10 1999-07-23 SL Baur <steve@miho>
12 * mule-charset.c (syms_of_mule_charset): Delete duplicated
13 definition of Qccl_program.
15 * mule-ccl.h: Make a global declaration of it here.
17 1999-07-20 Bob Weiner <weiner@beopen.com>
19 * s/sco7.h: Added from rr@sco.com.
21 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
23 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
25 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
27 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
28 (mule_encode): Likewise.
30 * mule-ccl.c (Qccl_program): New variable.
31 (CCL_SUSPEND): New macro.
32 (CCL_INVALID_CMD): New macro.
33 (CCL_READ_CHAR): Don't regard as invalid command while processing
34 the last block even if input is empty; use
35 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
36 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
38 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
39 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
40 (CCL_STAT_SUSPEND_BY_DST): Likewise.
41 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
42 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
44 1999-05-04 Ken'ichi Handa <handa@gnu.org>
46 * mule-ccl.h (struct ccl_program): New member stack_idx.
48 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
49 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
51 (setup_ccl_program): Initialize ccl->stack_idx to 0.
53 1998-10-12 Kenichi Handa <handa@etl.go.jp>
55 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
58 1998-08-18 Kenichi Handa <handa@etl.go.jp>
60 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
61 processing the last block, don't just finish but processes eol
62 block of the current CCL program.
63 (ccl_driver): Add a new jump label ccl_repeat for the above
66 1998-04-15 Kenichi Handa <handa@etl.go.jp>
68 * mule-ccl.c: Typo in comments fixed.
69 (Qccl_program_idx): New variables.
70 (CCL_ReadMultibyteChar2): Macro name changed from
71 CCL_ReadMultibyteCharacter.
72 (CCL_WriteMultibyteChar2): Macro name changed from
73 CCL_WriteMultibyteChar2.
74 (ccl_driver): Adjusted for the above changes.
75 (resolve_symbol_ccl_program): New function.
76 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
77 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
78 numbers by resolve_symbol_ccl_program.
79 (Fccl_execute_on_string): Likewise.
80 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
81 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
83 1998-01-21 Kenichi Handa <handa@etl.go.jp>
85 * mule-ccl.h: (struct ccl_program): New member private_state.
88 (CCL_Call): Fix the comment.
89 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
90 macros for CCL Commands.
92 (ccl_driver): New case lable `CCL_Extention'.
93 (setup_ccl_program): Initialize the member `private_state' of CCL.
95 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
97 * keymap.c (copy_keymap_internal): Inherit the default binding.
99 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
101 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
102 focus the event (XIM_focus_event).
103 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
104 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
105 the interface for future use (XIM_SetGeometry).
106 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
107 location (XIM_SetSpotLocation).
108 (x_output_eol_cursor): Ditto.
110 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
112 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
113 Olivier's change to lrecord.h of 1999-04-22
115 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
117 * gutter.c (redraw_exposed_gutter): Change type of pos from
118 enum toolbar_pos -> enum gutter_pos, since former is only defined
119 if toolbar support is.
121 1999-07-19 Andy Piper <andy@xemacs.org>
123 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
126 * gutter.c (gutter_validate): new function for the gutter specifier.
127 (specifier_type_create_gutter): declare specifier validator.
129 * buffer.h (INC_CHARBYTIND): add for no error checking version.
131 1999-07-18 Andy Piper <andy@xemacs.org>
133 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
135 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
137 (mswindows_resize_subwindow): new function.
139 * gutter.c (redraw_exposed_gutter): only reset the
140 current_display_lines if non-zero.
141 (Fgutter_pixel_height): new function.
142 (Fgutter_pixel_width): new function.
144 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
145 we want to retrive from the tab control.
147 1999-07-17 Andy Piper <andy@xemacs.org>
149 * window.c (change_window_height): mark gutters changed when we're
152 * gutter.c (specifier_vars_of_gutter): make defaults more
155 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
157 (DEFAULT_GUTTER_WIDTH): change.
158 (DEFAULT_GUTTER_BORDER_WIDTH): change.
160 1999-07-18 Andy Piper <andy@xemacs.org>
162 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
164 1999-07-16 Andy Piper <andy@xemacs.org>
166 * frame.c (Fmake_frame): call init_frame_gutters().
168 * redisplay.c (add_emchar_rune): use string functions if we are
169 working with a string.
170 (position_redisplay_data_type): add string element.
172 1999-07-15 Andy Piper <andy@xemacs.org>
174 * winslots.h: add real_gutter_size slots to hold the actual gutter
175 size. This is important for autodetected sizes.
177 * gutter.c (calculate_gutter_size): calculate size for gutters
178 that have 'autodetect size.
180 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
181 extent of divider for gutters.
183 * redisplay-x.c (x_output_vertical_divider): adjust extent of
186 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
187 position to take into account the gutters.
189 * redisplay.c (generate_modeline): adjust modeline position to
190 take into account the gutters.
192 1999-07-14 Andy Piper <andy@xemacs.org>
194 * gutter.c (frame_topmost_window): new function.
195 (frame_bottommost_window): ditto.
196 (frame_leftmost_window): ditto.
197 (frame_rightmost_window): ditto.
199 1999-07-13 Andy Piper <andy@xemacs.org>
201 * redisplay.c (calculate_display_line_boundaries): use text
202 boundaries so that gutters get handled properly.
204 1999-07-12 Andy Piper <andy@xemacs.org>
206 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
209 * redisplay-output.c (redisplay_clear_to_window_end): generalised
212 * redisplay-x.c (redisplay_clear_to_window_end): moved to
215 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
217 * gutter.c: new file - implements gutters. All new functions are
218 semantically equivalent to the toolbar functions.
219 (gutter_was_visible): new function.
220 (get_gutter_coords): ditto.
221 (output_gutter): ditto.
222 (clear_gutter): ditto.
223 (update_frame_gutters): ditto.
224 (redraw_exposed_gutter): ditto.
225 (redraw_exposed_gutters): ditto.
226 (free_frame_gutters): ditto.
227 (init_frame_gutters): ditto.
228 (decode_gutter_position): ditto.
229 (Fset_default_gutter_position): ditto.
230 (Fset_default_gutter_position): ditto.
231 (Fdefault_gutter_position): ditto.
232 (gutter_after_change): ditto.
233 (Fgutter_specifier_p): ditto.
234 (recompute_overlaying_specifier): ditto.
235 (gutter_specs_changed): ditto.
236 (default_gutter_specs_changed): ditto.
237 (gutter_geometry_changed_in_window): ditto.
238 (default_gutter_size_changed_in_window): ditto.
239 (default_gutter_border_width_changed_in_window): ditto.
240 (default_gutter_visible_p_changed_in_window): ditto.
241 (syms_of_gutter): ditto.
242 (vars_of_gutter): ditto.
243 (specifier_type_create_gutter): ditto.
244 (specifier_vars_of_gutter): ditto.
246 * gutter.h: new file. Contains gutter constants and sizing macros
247 similar to those for the toolbar.
249 * winslots.h: add gutter variables.
251 * window.h: declare window_is_* functions.
253 * window.c (window_is_lowest): make non-static.
254 (window_is_highest): ditto.
255 (window_top_toolbar_height): deleted.
256 (window_bottom_toolbar_height): deleted.
257 (window_left_toolbar_width): deleted.
258 (window_right_toolbar_width): deleted.
259 (window_top_gutter_height): add gutter sizing.
260 (window_bottom_gutter_height): ditto.
261 (window_left_gutter_width): ditto.
262 (window_right_gutter_width): ditto.
264 * symsinit.h: declarations for gutters vars etc.
266 * search.c (bi_find_next_emchar_in_string): new function.
268 * scrollbar.c (update_scrollbar_instance): remove reference to
269 window_bottom_toolbar_height which did nothing.
271 * redisplay.h (struct display_line): add face indices for
272 overriding defaults in output_display_line.
273 Add gutter_changed flags and declarations.
275 * redisplay.c (create_string_text_block): new function, similar to
276 create_text_block but for strings. Display tables etc are used
277 from the currently selected window.
278 (generate_string_display_line): ditto. Similar to
279 generate_display_line.
280 (generate_displayable_area): generate display lines for a given
281 area on a frame. Input is the string, with associated extents, to
283 (redisplay_frame): add gutter_changed check.
284 (redisplay_device): ditto.
285 (redisplay_without_hooks): ditto.
287 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
288 (x_redraw_exposed_area): redraw exposed gutters.
289 (x_bevel_area): new redisplay device method.
290 (x_type_create_redisplay_mswindows): add bevel_area device method.
291 (x_output_display_block): fiddly Martin-style cleanup.
292 (x_output_vertical_divider): use bevel_area.
294 * redisplay-output.c (output_display_line): check display_lines
295 for face information before using defaults.
296 (bevel_modeline): new function, calls bevel_area with appropriate
299 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
300 (mswindows_redraw_exposed_area): redraw exposed gutters.
301 (mswindows_bevel_area): new redisplay device method.
302 (console_type_create_redisplay_mswindows): add bevel_area device
305 * indent.c (string_column_at_point): add column_at_point but for
308 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
309 instantiate widgets that we have a toolkit for.
311 * general.c: add Qgutter.
313 * frame.h (struct frame): add display lines for gutters and
316 * frame.c (set_frame_selected_window): mark gutters changed.
318 * emacs.c (main_1): add gutter initialisation.
320 * device.h (struct device): add gutter_changed flag and macros to
323 * console.h (struct console_methods): new bevel area redisplay
326 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
327 REAL_INC_BYTIND is for buffers.
328 (INC_CHARPTR): ditto.
330 * Makefile.in.in (objs): add gutter.o
332 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
334 * XEmacs 21.2.18 is released
336 1999-07-08 SL Baur <steve@mule.m17n.org>
338 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
340 (emacs_Xt_handle_magic_event): Ditto.
341 * redisplay-x.c (x_output_string): Ditto.
342 (x_output_eol_cursor): Ditto.
344 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
346 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
347 problem that when XIM is destroyed or missed with some reason,
348 xemacs will die. Now xim=xlib waits the XIM will be ready and
349 endures the case of XIM end up.
351 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
353 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
354 SIGINT and SIGCHLD before calling tt_open and restore the
355 afterwards. This fixes e.g. the zombie subprocesses on Solaris
357 1999-07-06 SL Baur <steve@xemacs.org>
359 * s/linux.h: gcc-2.8 changes for powerpc
360 From Justin Vallon <vallon@mindspring.com>
362 1999-07-05 Didier Verna <verna@inf.enst.fr>
364 * indent.c: new symbol Qcoerce.
365 (Fmove_to_column): use it + doc string update.
367 1999-07-04 Andy Piper <andy@xemacs.org>
369 * console.c: undo earlier Fprovide changes.
373 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
374 function. validate appropriate image formats for tty.
376 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
377 initialize consoles parameter.
378 (struct image_instantiator_methods): add consoles parameter.
379 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
381 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
384 * glyphs-msw.c: declare instantiators for later use.
385 (image_instantiator_format_create_glyphs_mswindows): validate xpm
386 and friends on the mswindows console.
389 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
390 that have not been registered on the supplied device.
391 (Fvalid_image_instantiator_format_p): add locale argument.
392 (instantiate_image_instantiator): valid image instantiator on the
395 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
398 * emacs.c (main_1): add call to
399 image_instantiator_format_create_glyphs_tty().
401 1999-06-29 Olivier Galibert <galibert@pobox.com>
403 * lisp.h: Add #include <stddef.h>.
405 * sysdep.c: Remove #include <stddef.h>.
406 * symbols.c: Remove #include <stddef.h>.
407 * sheap.c: Remove #include <stddef.h>.
408 * opaque.c: Remove #include <stddef.h>.
409 * nt.c: Remove #include <stddef.h>.
410 * mule-charset.c: Remove #include <stddef.h>.
411 * marker.c: Remove #include <stddef.h>.
412 * file-coding.c: Remove #include <stddef.h>.
413 * extents.c: Remove #include <stddef.h>.
414 * elhash.c: Remove #include <stddef.h>.
415 * data.c: Remove #include <stddef.h>.
416 * chartab.c: Remove #include <stddef.h>.
417 * bytecode.c: Remove #include <stddef.h>.
418 * alloc.c: Remove #include <stddef.h>. Fix vector description
420 1999-06-30 SL Baur <steve@miho.m17n.org>
422 * editfns.c: Document "%s" format spec.
423 Suggested by Bob Weiner <weiner@altrasoft.com>
425 1999-06-29 Andy Piper <andy@xemacs.org>
427 * event-msw.c: fix definition booboo.
429 1999-06-28 Andy Piper <andy@xemacs.org>
431 * glyphs-x.c: change tree -> tree-view, progress ->
432 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
434 (complex_vars_of_glyphs_x): provide-on-console the implemented
437 * glyphs-msw.c: ditto.
438 (complex_vars_of_glyphs_mswindows): ditto.
440 * lisp.h: add Fprovide_on_console.
442 * fns.c (Ffeaturep): add extra optional console argument.
443 (Fprovide_on_console): like Fprovide but provides only on the
444 specified console-type.
445 (Frequire): check console-features as well as global features.
447 * console.c (Fconsole_features): new function. return features for
449 (syms_of_console): add Fconsole_features.
451 * console.h (CONMETH_FEATURES): new function for accessing features.
452 (CONSOLE_FEATURES): ditto.
453 (struct console_methods): add features slot.
454 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
456 1999-06-28 Andy Piper <andy@xemacs.org>
458 * event-Xt.c (handle_focus_event_1): conditionally compile for
461 * s/cygwin32.h: fix me website address.
463 * event-msw.c: add NMHDR for pre b20 cygwin builds.
465 * gui-x.c (button_item_to_widget_value): only add callback if it
468 * glyphs-x.c: add progress, edit and combo instantiators.
469 (x_widget_set_property): new function. uses lwlib to set widget
471 (x_widget_property): new function. uses lwlib to get widget
473 (x_button_instantiate): support images in buttons.
474 (x_button_property): new function. use lwlib to get the selected
476 (x_progress_instantiate): new function for instantiating progress
478 (x_progress_set_property): new function. sets the progress gauge
480 (x_edit_instantiate): new function. for instantiating edit fields.
481 (x_combo_instantiate): new function. for instantiating combo
483 (image_instantiator_format_create_glyphs_x): add new device ii
486 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
488 * console.h (CONSOLE_FEATURES): new features accesor.
490 * conslots.h (MARKED_SLOT): add features entry.
492 1999-06-25 Andy Piper <andy@xemacs.org>
494 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
497 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
499 * gui.h (struct Lisp_Gui_Item): add accelerator.
501 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
502 (gui_item_init): ditto.
503 (gui_add_item_keywords_to_plist): ditto.
504 (mark_gui_item): ditto.
505 (gui_item_hash): ditto.
506 (gui_item_accelerator): new function.
507 (gui_name_accelerator): new function stolen from gui-x.c
509 * gui-x.c (popup_selection_callback): always define. mark
510 subwindows changed after calling a callback.
511 (menu_name_to_accelerator): deleted.
512 (button_item_to_widget_value): forward gui_item things to gui_item
515 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
516 appropriate accesors.
518 * glyphs-x.c: declare new glyph formats.
519 (x_finalize_image_instance): unmanage and destroy widgets if they
521 (x_unmap_subwindow): handle widgets specially.
522 (x_map_subwindow): ditto. offset display of widgets by offset of
523 text widget within container.
524 (x_update_subwindow): new function. call lw_modify_all_widgets
525 when we are a widget.
526 (x_widget_instantiate): new function for generically creating
527 widgets-glyphs. toolkit specifics forwarded to lwlib.
528 (x_button_instantiate): new function for instantiating
529 widgets-glyph buttons.
530 (console_type_create_glyphs_x): register update_subwindow.
531 (image_instantiator_format_create_glyphs_x): register widget and
534 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
536 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
537 when we get a button press in case we do not have the focus.
538 (handle_focus_event_1): set the keyboard focus to the text widget
539 if we do not have it.
541 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
544 1999-06-24 SL Baur <steve@miho.m17n.org>
546 * syntax.c (scan_words): Restore non-Mule code.
547 (word_constituent_p): Restore.
549 1999-06-23 Olivier Galibert <galibert@pobox.com>
551 * config.h.in: Add missing #undef *_USER_DEFINED.
553 1999-06-23 SL Baur <steve@miho.m17n.org>
555 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
556 int (fixes a 64-bit problem).
558 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
561 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
563 * paths.h.in (PATH_DOC): Made doc-directory configurable.
565 1999-06-22 Olivier Galibert <galibert@pobox.com>
567 * lrecord.h: Added basic external description system.
569 * symbols.c: Added symbol, symbol-value-buffer-local,
570 symbol-value-lisp-magic and symbol-value-varalias description.
571 * mule-charset.c: Added charset description.
572 * marker.c: Added marker description.
573 * keymap.c: Added keymap description.
574 * glyphs.c: Added glyph description.
575 * floatfns.c: Added float description.
576 * file-coding.c: Added coding-system description.
577 * extents.c: Added extent description.
578 * elhash.c: Added hash-table description.
579 * data.c: Added weak-list desciption.
580 * chartab.c: Added char-table-entry and char-table description.
581 * bytecode.c: Added compiled-function description.
582 * alloc.c: Added cons, vector and string description.
584 1999-06-22 Olivier Galibert <galibert@pobox.com>
586 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
587 Updated everything to the removal of the "flags" substructure.
589 * lisp.h (subr_lheader_initializer): Updated.
590 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
592 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
594 * syntax.c (word_constituent_p): Deleted.
595 (scan_words): Use `WORD_BOUNDARY_P'.
597 * chartab.c (Vword_combining_categories): New variable.
598 (Vword_separating_categories): Likewise.
599 (CATEGORYP): New macro.
600 (CATEGORY_SET): Likewise.
601 (CATEGORY_MEMBER): Likewise.
602 (word_boundary_p): New function.
603 (complex_vars_of_chartab): Set up new variable
604 `word-combining-categories' and `word-separating-categories'.
606 1999-06-18 Olivier Galibert <galibert@pobox.com>
608 * lrecord.h: Added description as a placehold in the lrecord
609 implementation structures. Added the parameter to all constructor
612 * alloc.c: Added placeholders.
623 * event-stream.c: Ditto.
627 * file-coding.c: Ditto.
636 * mule-charset.c: Ditto.
641 * specifier.c: Ditto.
647 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
649 * XEmacs 21.2.17 is released
651 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
653 * config.h.in (HAVE_LDAP_SET_OPTION): New define
654 (HAVE_LDAP_GET_LDERRNO): Ditto
655 (HAVE_LDAP_RESULT2ERROR): Ditto
656 (HAVE_LDAP_PARSE_RESULT): Ditto
657 (HAVE_UMICH_LDAP): Removed
658 (HAVE_NS_LDAP): Removed
660 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
661 suggested by Olivier Galibert
662 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
664 * eldap.c: Take the removal of `livep' into account in all the
666 (signal_ldap_error): Take two additional parameters
667 Added new finer compilation conditions in order to use
668 ldap_parse_result or ldap_result2error if available
669 (Fldap_open): Conform to this new API
670 (Fldap_search_internal): Ditto
672 1999-06-17 SL Baur <steve@miho.m17n.org>
674 * data.c (struct int_or_double): Should use EMACS_INT not int.
676 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
678 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
681 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
683 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
686 * file-coding.c (mule_decode): Run `ccl_driver' with
688 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
690 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
691 (ccl_driver): Add new argument `conversion_mode'.
692 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
693 (Fccl_execute_on_string): Likewise [perhaps it is better to add
694 new optional argument].
696 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
697 (CCL_MODE_DECODING): New macro.
698 (ccl_driver): Add new argument `conversion_mode'.
700 1999-06-15 SL Baur <steve@miho.m17n.org>
702 * mule-charset.c (Fsplit_char): New subr.
703 (Fchar_octet): delete.
704 (syms_of_mule_charset): DEFSUBR it.
706 1999-06-13 Andy Piper <andy@xemacs.org>
708 * menubar.h: update declarations involving gui_items.
710 * lisp.h: declare Lisp_Gui_Item.
712 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
714 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
715 (print_image_instance): ditto.
716 (image_instance_equal): ditto.
717 (image_instance_hash): ditto.
719 * event-msw.c (mswindows_need_event): assert badly_p status.
720 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
721 callbacks in tree-view and tab-control widgets.
722 (emacs_mswindows_next_event): modify use of
723 mswindows_dequeue_dispatch_event.
725 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
726 lisp-based gui_items.
728 * glyphs-msw.c (mswindows_update_subwindow): update use of
730 (mswindows_register_gui_item): new function.
731 (mswindows_register_gui_item): fix to use lisp gui_items.
732 (mswindows_widget_instantiate): ditto.
733 (mswindows_button_instantiate): ditto.
734 (add_tree_item): new function to recursively add tree view
736 (add_tree_item_list): ditto.
737 (mswindows_tree_instantiate): new function. instantiate tree view
739 (add_tab_item): new function to add tabs to a tab control.
740 (mswindows_tab_instantiate): new function. instantiate tab
742 (image_instantiator_format_create_glyphs_mswindows): add tree view
744 (vars_of_glyphs_mswindows): ditto.
746 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
748 (check_valid_item_list): ditto.
749 (initialize_widget_image_instance): fix to use new lisp gui_item.
750 (widget_instantiate_1): allow the setting of default textwidth in
752 (widget_instantiate): change to use new widget_instantiate_1
754 (combo_instantiate): ditto.
755 (static_instantiate): ditto.
756 (tab_instantiate): new function for tab widgets.
757 (image_instantiator_format_create_glyphs_widget): add tab and tree
760 * menubar-msw.c (displayable_menu_item): convert to use lisp
762 (populate_menu_add_item): ditto.
763 (populate_or_checksum_helper): ditto.
765 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
767 (Fmenu_find_real_submenu): ditto.
769 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
771 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
772 objects, convert functions that use them accordingly.
773 (gui_item_init): ditto.
774 (gui_item_active_p): ditto.
775 (gui_item_selected_p): ditto.
776 (gui_item_included_p): ditto.
777 (gui_item_display_flush_left): ditto.
778 (gui_item_display_flush_right): ditto.
779 (mark_gui_item): ditto.
780 (allocate_gui_item): new function to create a gui_item.
781 (make_gui_item_from_keywords_internal): ditto. create and return a
782 gui_item as well as setting keywords.
783 (gui_parse_item_keywords): ditto.
784 (gui_parse_item_keywords_no_errors): ditto.
785 (gui_add_item_keywords_to_plist): new function, not yet used.
786 (gui_item_hash): new function.
787 (gui_item_id_hash): use gui_item_hash.
788 (gui_item_equal): new function.
789 (print_gui_item): new function.
791 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
793 * XEmacs 21.2.16 is released
795 1999-06-10 Andy Piper <andy@xemacs.org>
797 * select-msw.c (mswindows_own_selection): only set the clipboard
799 (mswindows_get_foreign_selection): only get the clipboard if
801 (mswindows_disown_selection): only disown the clipboard if asked.
803 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
805 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
807 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
808 of coding-category `no-conversion'.
810 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
812 * file-coding.c (Qraw_text): New variable.
813 (syms_of_mule_coding): Add new symbol `raw-text'.
814 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
815 define coding-system `binary' independently; define coding-system
816 `no-conversion' as an alias for `raw-text'.
818 * file-coding.h (Qraw_text): New variable.
820 1999-06-08 SL Baur <steve@xemacs.org>
822 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
824 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
826 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
828 (base64_decode_1): Signal errors instead of returning -1.
830 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
832 * mule-charset.c (Fmake_char): Update docstring.
834 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
836 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
838 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
840 * fns.c (base64_decode_1): Allow and ignore any non-base64
843 1999-05-27 Olivier Galibert <galibert@pobox.com>
845 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
846 of report_pure_usage().
848 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
850 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
852 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
854 * XEmacs 21.2.15 is released
856 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
858 * frame.c (Fset_mouse_position):
859 (Fset_mouse_pixel_position):
860 * window.c (Fsplit_window):
861 (Fmove_to_window_line):
862 Fix crash when invoking functions with an already-deleted window
865 * indent.c (vertical_motion_1):
867 (Fvertical_motion_pixels):
868 * window.c (Fwindow_displayed_text_pixel_height):
869 Fix error message when invoking functions with an already-deleted
872 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
874 * sysdep.c (request_sigio_on_device): Guard against glibc
875 2.1's stub streams implementation.
877 1999-06-03 SL Baur <steve@xemacs.org>
880 * emacs.c: Implement x.y.z version numbers
881 From Jan Vroonhof <vroonhof@math.ethz.ch>
883 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
885 * mule-charset.c (complex_vars_of_mule_charset): Registry of
886 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
889 1999-06-03 SL Baur <steve@xemacs.org>
892 * device-x.c: rename session option to wmcommand.
893 From Oliver Graf <ograf@rhein-zeitung.de>
895 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
897 * fns.c (Fsubstring): Don't traverse the same region twice with
898 charcount_to_bytecount().
900 1999-06-03 SL Baur <steve@steve1.m17n.org>
902 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
905 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
906 doesn't really work as is implied by the commentary).
907 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
909 1999-06-02 SL Baur <steve@steve1.m17n.org>
911 * symsinit.h: Declare vars_of_ntproc.
912 * emacs.c (main_1): Call it.
914 * ntproc.c (syms_of_ntproc): Move variable initializations from
916 (vars_of_ntproc): ... to here [new function].
918 * file-coding.c (syms_of_file_coding): Rename.
919 (vars_of_file_coding): Ditto.
920 (complex_vars_of_file_coding): Ditto.
922 * symsinit.h: Rename *_mule_coding to *_file_coding.
924 * emacs.c (main_1): Call them by the proper name.
926 * device-msw.c (syms_of_device_mswindows): Move variable
927 initializations from here ...
928 (vars_of_device_mswindows): ... to here.
930 * chartab.c (vars_of_chartab): New function.
932 * symsinit.h: New function, vars_of_chartab.
934 * emacs.c (main_1): Call it.
936 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
937 (vars_of_mule_canna): ... to here.
939 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
940 initializations out of syms_of_mule_ccl.
942 * symsinit.h: Declare new function vars_of_mule_ccl.
944 * emacs.c (main_1): Call it.
946 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
948 * fns.c (base64_decode_1): Ignore whitespace.
950 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
952 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
955 1999-05-21 Andy Piper <andy@xemacs.org>
957 * xselect.c: deleted.
959 * symsinit.h: declare select initialisation.
961 * select.h: new file. declare commonly used select functions and
964 * select.c: new file. generalised from xselect.c.
965 (clean_local_selection_data): moved from xselect.c.
966 (get_local_selection): ditto. device specific pieces called via a
968 (handle_selection_clear): ditto.
969 (Fown_selection_internal): renamed and generalised from
970 Fx_own_selection_internal. moved from xselect.c.
971 (Fdisown_selection_internal): ditto.
972 (Fselection_owner_p): ditto.
973 (Fselection_exists_p): ditto.
974 (Fget_selection_internal): ditto.
975 (syms_of_select): new function. QXXXX values moved from xselect.c
976 (vars_of_select): new function. selection_converter_alist,
977 lost_selection_hooks moved and renamed from xselect.c
979 * select-x.c: renamed from xselect.c.
980 (x_own_selection): converted to device specific. non-X-specific
981 bits moved to select.c.
982 (x_get_foreign_selection): ditto.
983 (x_disown_selection): ditto.
984 (x_selection_exists_p): ditto.
985 (console_type_create_select_x): new function.
987 * select-msw.c (mswindows_own_selection): new device method to set
988 the clipboard when we 'own' the selection.
989 (mswindows_get_foreign_selection): new device method to get the
991 (mswindows_disown_selection): new device method to delete the
992 selection when we 'disown' it.
993 (console_type_create_select_mswindows): new function.
995 * emacs.c (main_1): add select to things to initialise.
997 * console.h (struct console_methods): new console methods for
1000 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1002 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1004 * print.c (long_to_string): Install a faster version.
1006 1999-05-16 Andy Piper <andy@xemacs.org>
1008 * ntproc.c (syms_of_ntproc): default
1009 win32-start-process-share-console to t.
1011 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1013 * config.h.in: Do it here.
1015 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1017 1999-05-14 Andy Piper <andy@xemacs.org>
1019 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1022 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1024 * XEmacs 21.2.14 is released
1026 1999-05-12 Andy Piper <andy@xemacs.org>
1028 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1030 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1032 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
1033 run_temacs_argv array -- fixes random memory corruption crash
1035 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1037 * window.c (Fcurrent_window_configuration):
1038 Save minibuffer height;
1040 * window.c (set_window_configuration): use it.
1042 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
1044 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
1046 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
1048 * redisplay.c (redisplay_window): Do not put data
1049 in the line start cache if it is not guaranteed to be correct
1051 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1053 * window.c (struct window_config): Removed frame
1055 (window_config_equal): No longer compare frame sizes.
1056 (Fset_window_configuration): Resize old top window to fit in the
1057 current frame directly, no longer use a fake frame resize.
1058 (Fcurrent_window_configuration): No longer save frame size
1060 1999-05-11 Andy Piper <andy@xemacs.org>
1062 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
1065 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
1067 * sysdep.c (init_system_name): If gethostname gives a proper
1068 domain name, don't look further for one.
1070 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
1072 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
1073 (Fintern_soft): Accept a symbol argument.
1075 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1077 * symbols.c (Fintern): ...do it here.
1079 * lread.c (read_atom): Don't handle keywords here.
1081 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
1083 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
1085 1999-05-03 Olivier Galibert <galibert@pobox.com>
1087 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
1088 is interned in the main obarray.
1090 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
1092 * menubar-x.c (pre_activate_callback): set accelerator field in
1093 "No menu" entries to nil. Avoid crash in
1094 command_builder_operate_menu_accelerator
1096 1999-05-03 Olivier Galibert <galibert@pobox.com>
1098 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1100 * lisp.h (DEFUN): Fix lrecord header initialisation.
1102 1999-05-02 Andy Piper <andy@xemacs.org>
1104 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
1106 * ntproc.c (sys_kill): cast using MS mandated defines.
1108 1999-04-29 Andy Piper <andy@xemacs.org>
1110 * m/intel386.h: remove redundant definitions.
1112 * s/mingw32.h: new header for mingw32.
1114 * unexnt.c: (open_input_file): function moved to nt.c.
1115 (close_file_data): ditto.
1116 (rva_to_section): function moved to ntproc.
1118 * symsinit.h: declare syms_of_ntproc();
1120 * objects-msw.c (mswindows_font_instance_truename): new function.
1122 * ntproc.c: remove many warnings.
1123 (_sys_read_ahead): moved from nt.c and made static.
1124 (rva_to_section): moved from unexnt.c but not defined under
1126 (win32_executable_type): implement what we can for mingw32
1128 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
1130 * ntheap.h: remove declarations of functions that are now static.
1132 * ntheap.c: support static heap.
1134 * nt.h: conditionalise X_OK definition.
1136 * nt.c: eliminate many warnings and support mingw32.
1137 (open_input_file): function moved from unexnt.c and made static
1138 (close_file_data): ditto.
1139 (_sys_read_ahead): moved to ntproc.c
1141 * emacs.c: make sure syms_of_ntptroc gets called under windows.
1143 * console-msw.h: support mingw32.
1144 * getloadavg.c: ditto.
1151 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
1152 some systems don't have all of the encapsulated system calls.
1154 * callproc.c: warning elimination.
1155 * dired-msw.c: ditto.
1156 * process-nt.c: ditto.
1157 * realpath.c: ditto.
1159 * Makefile.in.in: tweak : and ; for building under mswindows.
1161 1999-04-26 Michael Harnois <mharnois@willinet.net>
1163 * eldap.c (allocate_ldap): Adapt to the new semantics of
1164 alloc_lcrecord_type().
1166 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1168 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
1170 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1172 * Delete mule-coding.c and mule-coding.h because they are not
1175 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
1177 * objects.c (print_font_instance): Check for NILP(f->device),
1178 i.e. Vthe_null_font_instance.
1179 (font_instance_truename_internal): ditto.
1180 (Ffont_instance_properties): ditto.
1182 1999-04-22 Olivier Galibert <galibert@pobox.com>
1184 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
1187 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1189 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
1190 it easier to add new ones.
1192 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1194 * symbols.c (reject_constant_symbols): Ditto.
1195 (init_symbols_once_early): Ditto.
1197 * print.c (print_symbol): Don't use ->obarray.
1199 * symbols.c (Funintern): Ditto.
1201 * alloc.c (Fmake_symbol): Don't set ->obarray.
1203 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
1205 * symbols.c (init_symbols_once_early): Removed
1206 Vpure_uninterned_symbol_table.
1207 (Fintern): Don't store to ->obarray field.
1209 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
1211 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
1212 (eq_with_ebola_notice): Remove abracadabra support.
1214 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1216 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
1217 retrieve the distinguished names of entries
1219 1999-03-08 Martin Buchholz <martin@xemacs.org>
1221 * lread.c (read_escape): Make hex escapes read only two hex digits.
1223 1999-04-05 Olivier Galibert <galibert@pobox.com>
1225 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
1226 * make-src-depend: Remove puresize-adjust.h.
1227 * src-headers: Remove puresize-adjust.h.
1228 * config.h.in: Kill everything purespace/gung-ho related.
1230 * dbxrc: Make gung-ho mandatory.
1233 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
1234 c_readonly and lisp_readonly. Remove implementation arrays.
1235 (C_READONLY_RECORD_HEADER_P): Added.
1236 (LISP_READONLY_RECORD_HEADER_P): Added.
1237 (SET_C_READONLY_RECORD_HEADER): Added.
1238 (SET_LISP_READONLY_RECORD_HEADER): Added.
1240 * lisp.h: Kill everything purespace/non gung-ho related.
1241 (CHECK_C_WRITEABLE): Added.
1242 (CHECK_LISP_WRITEABLE): Added.
1243 (C_READONLY): Added.
1244 (LISP_READONLY): Added.
1246 * lisp-union.h: Make gung-ho mandatory.
1247 * lisp-disunion.h: Ditto.
1249 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
1250 set_lheader_implementation calls.
1251 (c_readonly): Added.
1252 (lisp_readonly): Added.
1253 (make_string_nocopy): Added.
1254 (Fpurecopy): Changed to do nothing. Kept the old documentation
1255 for reference purposes for the next patches.
1256 (sweep_lcrecords_1): Don't free C readonly lcrecords.
1257 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
1258 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
1260 * fns.c: Make gung-ho mandatory.
1261 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1263 (Ffillarray): Ditto.
1265 * data.c: Make gung-ho mandatory.
1266 (pure_write_error): Removed.
1267 (c_write_error): Added.
1268 (lisp_write_error): Added.
1269 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
1273 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
1274 make_string or make_string_nocopy. Fix various
1275 alloc_lcrecord_type.
1277 * lread.c: Remove everything purespace related.
1278 (Flocate_file_clear_hashing): purified -> c_readonly.
1279 (locate_file): Ditto.
1280 (read_atom): make_pure_pname -> make_string.
1282 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
1284 (Fdump_emacs): Ditto.
1286 * print.c (print_internal): Make gung-ho mandatory.
1287 * ntheap.c (sbrk): Ditto.
1288 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
1289 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
1291 * sheap.c (more_static_core): Remove puresize-adjust.h from
1294 * syntax.c (complex_vars_of_syntax): make_pure_string ->
1296 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
1297 (vars_of_keymap): make_pure_string -> make_string_nocopy.
1298 * events.c (deinitialize_event): Fix set_lheader_implementation.
1299 (zero_event): Ditto.
1300 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
1301 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
1302 * mule-charset.c (make_charset): Ditto.
1303 * console.c (allocate_console): Ditto.
1304 (complex_vars_of_console): Ditto.
1305 * file-coding.c (allocate_coding_system): Ditto.
1306 * device.c (allocate_device): Ditto
1307 * gui-x.c (gcpro_popup_callbacks): Ditto.
1308 * extents.c (allocate_extent_auxiliary): Ditto.
1309 (allocate_extent_info): Ditto.
1310 (copy_extent): Ditto.
1311 * glyphs.c (allocate_image_instance): Ditto.
1312 (allocate_glyph): Ditto.
1313 * frame.c (allocate_frame_core): Ditto.
1314 * database.c (allocate_database): Ditto.
1315 * tooltalk.c (make_tooltalk_message): Ditto.
1316 (make_tooltalk_pattern): Ditto.
1317 * rangetab.c (Fmake_range_table): Ditto.
1318 (Fcopy_range_table): Ditto.
1319 * process.c (make_process_internal): Ditto.
1320 * chartab.c (Fmake_char_table): Ditto.
1321 (make_char_table_entry): Ditto.
1322 (copy_char_table_entry): Ditto.
1323 (Fcopy_char_table): Ditto.
1324 * elhash.c (make_general_lisp_hash_table): Ditto.
1325 (Fcopy_hash_table): Ditto.
1326 * buffer.c (allocate_buffer): Ditto.
1327 (complex_vars_of_buffer): Ditto.
1328 * event-stream.c (allocate_command_builder): Ditto.
1329 * objects.c (Fmake_color_instance): Ditto.
1330 (Fmake_font_instance): Ditto.
1331 (vars_of_objects): Ditto.
1332 * toolbar.c (update_toolbar_button): Ditto.
1333 * window.c (allocate_window): Ditto.
1334 (make_dummy_parent): Ditto.
1335 (Fcurrent_window_configuration): Fix alloc_lcrecord.
1336 (vars_of_window): Fix make_lcrecord_list.
1337 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
1339 * lstream.c (Lstream_new): Fix make_lcrecord_list.
1340 * opaque.c (make_opaque): Fix alloc_lrecord.
1341 (make_opaque_list): Fix alloc_lrecord_type.
1343 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
1345 * process.c (Fstart_process_internal): Ditto.
1347 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
1350 * glyphs-x.c (x_locate_pixmap_file): Ditto.
1352 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
1355 * emodules.c (vars_of_module): New variable Vmodule_extensions.
1356 (emodules_load): Use it when calling locate_file().
1358 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
1361 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
1362 (vars_of_callproc): Initialize it.
1363 (Fcall_process_internal): Use it when calling locate_file().
1365 * alloc.c (disksave_object_finalization): Use
1366 Flocate_file_clear_hashing().
1368 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
1369 given `t' as argument.
1371 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
1373 * lread.c (locate_file): Expand `pathel' when appropriate.
1374 (Flocate_file_clear_hashing): Expand path elements.
1375 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
1377 * dired.c (make_directory_hash_table): Create the hash-table only
1378 if the directory open is successful.
1380 * lread.c (decode_mode_1): New function.
1381 (decode_mode): Ditto.
1382 (Flocate_file): Use them.
1383 (Flocate_file): Expand FILENAME.
1384 (locate_file_map_suffixes): New function.
1385 (locate_file_in_directory_mapper): New function.
1386 (locate_file_in_directory): Use locate_file_in_directory_mapper()
1387 and locate_file_map_suffixes().
1388 (locate_file_construct_suffixed_files): Use
1389 locate_file_map_suffixes().
1390 (locate_file_without_hash): Don't GCPRO path.
1391 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
1392 (syms_of_lread): Remove Qlocate_file_hash_table.
1393 (locate_file_find_directory_hash_table): Use
1394 Vlocate_file_hash_table.
1395 (locate_file_refresh_hashing): Ditto.
1397 * lread.c: Renamed read_objects to Vread_objects.
1399 1999-04-16 Olivier Galibert <galibert@pobox.com>
1401 * mule-charset.c: Generally resync with fsf 20.3 charset
1403 (make_charset): Add long and short name. Use id instead of
1405 (Fmake_charset): Ditto.
1406 (Fmake_reverse_direction_charset): Ditto.
1407 (Fcharset_property): Ditto.
1408 (Fcharset_short_name): Added.
1409 (Fcharset_long_name): Added.
1410 (Fcharset_description): Renamed from charset-doc-string.
1411 (syms_of_mule_charset): Synced symbols.
1412 (complex_vars_of_mule_charset): Synced charsets.
1414 * mule-charset.h: Removed leading byte (uses id instead), added
1415 short and long name.
1417 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
1419 * file-coding.c (Fdefine_coding_system_alias): New function.
1421 1999-04-08 Olivier Galibert <galibert@pobox.com>
1423 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
1424 and -ascii fonts for displaying ascii instead of iso8859-1 only.
1426 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
1428 * extents.c (set_extent_glyph_1): Make sure that the glyph we
1429 attach to the extent is valid.
1431 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
1433 * dired.c (user_name_completion): Mule-ize.
1434 (user_name_completion): Use xmalloc/xrealloc/xfree.
1435 (user_name_completion): Use DO_REALLOC.
1436 (user_name_completion): Cut down the number of static variables;
1438 (user_name_completion): Username completion is always
1441 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
1443 * fns.c (base64_decode_1): Remove COUNTER.
1444 (base64_decode_1): Accept CRLF in addition to CR.
1445 (base64_decode_1): Disallow a stray character after final EOF; the
1446 check was probably a remnant of buggy recode code.
1448 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
1450 * fns.c (init_provide_once): Provide `base64'.
1452 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
1454 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
1455 (Fbase64_encode_region): If buffer is read-only, bail out early.
1456 (Fbase64_decode_region): Ditto.
1457 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
1459 (Fbase64_encode_string): Ditto.
1460 (Fbase64_decode_region): Ditto.
1461 (Fbase64_decode_string): Ditto.
1463 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
1465 * dired.c (Fdirectory_files): Remove redundant code.
1467 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1469 * frame-msw.c Make raise-frame restore minimised windows.
1471 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1473 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
1476 1999-03-05 Philip Aston <philipa@parallax.co.uk>
1478 * toolbar-msw.c Consider captions when deciding whether to rebuild
1479 toolbar. This fixes the initial toolbar display for those of us
1480 who don't like captions. These patches applied by Andy Piper.
1482 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
1484 * XEmacs 21.2.13 is released
1486 1999-03-12 SL Baur <steve@xemacs.org>
1488 * file-coding.c: Guard ucs table initialization with ifdef MULE.
1490 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1492 * file-coding.c: docstring and comment improvements.
1493 (decode_ucs4) flag possible data loss with comment.
1495 1999-03-10 Martin Buchholz <martin@xemacs.org>
1497 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
1501 (decode_coding_ucs4):
1502 (encode_coding_ucs4):
1503 (detect_coding_utf8):
1504 (decode_coding_utf8):
1506 (encode_coding_utf8):
1507 Add CHECK_* macros where needed to avoid crashes.
1508 #ifdef out all composite character support using
1509 #ifdef ENABLE_COMPOSITE_CHARS
1510 Use normal XEmacs coding standards.
1512 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
1514 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1516 * file-coding.c (make-coding-system): Add description about
1517 `ucs-4' and `utf-8'.
1518 (detection_state): Modify to implement ucs-4 and utf-8.
1519 (detect_coding_type): Likewise.
1520 (detect_coding_ucs4): New implementation.
1521 (detect_coding_utf8): New implementation.
1522 (encode_utf8): fixed.
1523 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
1526 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1528 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
1529 2022 registry to private area.
1531 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1533 * file-coding.c (encode_utf8): New function.
1534 (encode_coding_utf8): New implementation.
1536 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1538 * file-coding.c (ucs_to_mule_table): New variable; abolish
1539 `Vucs_to_mule_table'
1540 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
1541 (set-ucs-char): New function.
1542 (ucs_to_char): New function.
1543 (ucs-char): New function.
1544 (set-char-ucs): New function.
1545 (char-ucs): New function.
1546 (decode_ucs4): Use `ucs_to_char'.
1547 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
1548 `mule-to-ucs-table'.
1550 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1552 * chartab.h: EXFUN `Fget_char_table'.
1554 * file-coding.c (encode_ucs4): New function.
1555 (encode_coding_ucs4): Use `encode_ucs4'.
1557 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1559 * file-coding.c (decode_coding_ucs4): New implementation.
1561 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1563 * file-coding.c (decode_coding_ucs4): fixed.
1565 * file-coding.c (Vmule_to_ucs_table): New variable.
1566 (mule_char_to_ucs4): New function.
1567 (encode_coding_ucs4): New implementation.
1568 (complex_vars_of_mule_coding): Define variable
1569 `mule-to-ucs-table'.
1571 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1573 * file-coding.c (decode_coding_utf8): New implementation.
1575 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1577 * file-coding.c (decode_coding_utf8): fixed.
1579 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1581 * file-coding.c (Vucs_to_mule_table): New variable.
1582 (decode_ucs4): Refer `Vucs_to_mule_table'.
1583 (complex_vars_of_mule_coding): Define variable
1584 `ucs-to-mule-table'.
1586 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1588 * file-coding.c (detect_coding_ucs4): New function (not
1590 (decode_coding_ucs4): New function.
1591 (encode_coding_ucs4): New function (not implemented yet).
1592 (detect_coding_utf8): New function (not implemented yet).
1593 (decode_coding_utf8): New function.
1594 (encode_coding_utf8): New function (not implemented yet).
1595 (make-coding-system): New type `ucs4' and `utf8'.
1596 (coding-system-type): Likewise.
1597 (detection_state): Add `ucs4' and `utf8'.
1598 (detect_coding_type): Likewise.
1599 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
1600 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
1601 (decode_ucs4): New function (very incomplete).
1602 (syms_of_mule_coding): Add `ucs4' and `utf8'.
1604 * file-coding.h: Add definitions for UCS-4 and UTF-8.
1606 1999-03-08 Martin Buchholz <martin@xemacs.org>
1609 (non_ascii_valid_char_p):
1610 (lookup_composite_char):
1611 (composite_char_string):
1612 (make-composite-char):
1613 (composite-char-string):
1614 (syms_of_mule_charset):
1615 (complex_vars_of_mule_charset):
1616 * mule-charset.h (LEADING_BYTE_COMPOSITE):
1617 (CHAR_LEADING_BYTE):
1619 * file-coding.h (CODING_STATE_COMPOSITE):
1620 (CODING_STATE_ISO2022_LOCK):
1622 (LEADING_BYTE_COMPOSITE):
1623 * file-coding.c (struct iso2022_decoder):
1626 (parse_iso2022_esc):
1627 (encode_coding_iso2022):
1628 #ifdef out all composite character support using
1629 #ifdef ENABLE_COMPOSITE_CHARS
1631 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
1633 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
1635 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
1636 way of `Fbase64_encode_region'.
1638 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
1640 * fns.c (base64_encode_1): Don't add a newline at the tail.
1642 1999-03-08 Andy Piper <andy@xemacs.org>
1644 * menubar-msw.c (displayable_menu_item): correct off-by-one &
1647 1999-03-07 Martin Buchholz <martin@xemacs.org>
1649 * console-stream.h (struct stream_console):
1650 * event-unixoid.c (event_stream_unixoid_select_console):
1651 (event_stream_unixoid_unselect_console):
1652 * print.c (Fexternal_debugging_output):
1653 * sysdep.c (reset_one_device):
1654 * console-stream.c (stream_init_console):
1655 (stream_delete_console):
1656 (allocate_stream_console_struct): move into stream_init_console.
1657 (free_stream_console_struct): move into stream_delete_console.
1658 Use `fd' only for file descriptors.
1659 Therefore, rename members of struct stream_console.
1661 * systime.h: Unix98 says sys/time.h should define select(), but
1662 some systems define that in unistd.h. So include that file always.
1664 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
1665 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
1666 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
1668 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
1672 Add #include <stdio.h>.
1673 Some versions of assert.h use printf() without #include'ing stdio.h
1675 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
1676 (log_gcpro): Remove unused variable FRAME.
1677 (show_gcprohist): Ansify.
1678 Comment the #endif's
1680 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
1681 after it's just been XtDestroy'ed!
1683 1999-02-18 Martin Buchholz <martin@xemacs.org>
1685 * opaque.c (print_opaque):
1689 Egcs 1.1.1 seems to have a bug where
1690 INTP (p->size_or_chain)
1691 will crash XEmacs. Fix by introducing intermediate variable.
1693 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
1695 * dired.c (Fdirectory_files):
1696 (Ffile_name_completion):
1697 (Ffile_name_all_completions):
1698 (file_name_completion):
1699 - Use `directory' instead of `dirname' to sync with FSF Emacs and
1700 avoid compiler warnings.
1701 - Fix up docstrings so that C variables match documentation.
1703 1999-03-05 Martin Buchholz <martin@xemacs.org>
1705 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
1706 variables as small as possible to help out the compiler and the maintainer.
1708 * alloc.c: (disksave_object_finalization):
1709 Set all the *-load-path variables to
1710 nil, not just load-path itself. This gets the locate-file hash
1711 tables garbage collected BEFORE dump, and has the side effect of
1712 preventing crashes on OSF4.0+egcs.
1717 - Clean up gdb/dbx debugging support.
1718 - Storing an EMACS_INT in an enum is not 64-bit clean!
1719 - So change the enum to a set of separate variables.
1720 - Add test cases to help debug the debugging support!
1721 - Add `lisp-shadows' and `run-temacs' targets for dbx.
1722 - Both dbx and gdb have been tested now.
1724 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1726 * XEmacs 21.2.12 is released
1728 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1730 * device-x.c: Support to find best visual without flashing.
1732 1999-03-02 Paul Keusemann <pkeusem@visi.com>
1734 * database.c (berkdb_map): Add flags argument to cursor call (must
1735 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
1737 1999-03-03 Martin Buchholz <martin@xemacs.org>
1741 General cleanup. Get free-hook.c working again.
1742 Remove unused functions:
1743 make_strings_hash_table, copy_hash, expand_hash_table.
1747 Always use new ANSI-style function prototypes.
1749 * unexalpha.c (unexec): Never use implicit int.
1751 * sgiplay.c (close_sound_file):
1753 (restore_audio_port):
1758 (write_mulaw_8_chunk):
1759 (write_linear_chunk):
1760 (write_linear_32_chunk):
1761 (initialize_audio_port):
1764 (set_output_format):
1765 (adjust_audio_volume):
1766 (get_current_volumes):
1768 Always use new ANSI-style function prototypes.
1769 Use unistd.h for missing prototypes.
1771 * unexelfsgi.c (round_up):
1773 (unexec): Always use new ANSI-style function prototypes
1775 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
1777 * console.h (struct console_methods): Always use full ANSI prototypes
1779 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
1781 1999-03-02 Andy Piper <andy@xemacs.org>
1783 * event-stream.c (init_event_stream): make sure native mswindows
1784 gets an appropriate event loop.
1786 1999-02-22 Andy Piper <andy@xemacs.org>
1788 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
1789 than SW_SHOWNORMAL to prevent resizing of maximised frames.
1790 (mswindows_raise_frame): remove comment.
1792 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
1794 * XEmacs 21.2.11 is released
1796 1999-02-25 SL Baur <steve@xemacs.org>
1798 * mule-charset.c (Qleading_byte): New variable to implement
1799 charset-leading-byte function.
1800 (Fcharset_property): Use it.
1801 (syms_of_mule_charset): Initialize it.
1802 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
1804 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
1806 * glyphs-x.c (cononvert_EImage_to_XImage): correct
1807 bytes per pixel counting.
1809 1999-02-15 Andy Piper <andy@xemacs.org>
1811 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
1814 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1816 * fns.c (Fbase64_encode_string): New optional argument
1819 1999-02-16 Martin Buchholz <martin@xemacs.org>
1821 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
1822 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
1824 1999-02-10 Martin Buchholz <martin@xemacs.org>
1826 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
1827 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
1829 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
1831 * XEmacs 21.2.10 is released
1833 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
1835 * process-nt.c (nt_send_process):
1836 Fix for process-send-region/process-send-string breaking when size
1837 of the input > 128 chars: change maximum chunk size for process
1838 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
1841 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
1843 * XEmacs 21.2.9 is released
1845 1999-01-30 Martin Buchholz <martin@xemacs.org>
1847 * bytecode.c (funcall_compiled_function): Call
1848 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
1850 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
1851 #ifdef 0 out unused macro.
1853 1999-01-27 Martin Buchholz <martin@xemacs.org>
1855 * gui.c (gui_parse_item_keywords_internal): Make static.
1857 1999-01-21 Andy Piper <andy@xemacs.org>
1859 * glyphs-msw.c: add xface support.
1860 (mswindows_xface_instantiate): new function copied from glyphs-x.c
1861 (image_instantiator_format_create_glyphs_mswindows): do device
1862 specific initialisation for xfaces.
1863 (xbm_create_bitmap_from_data): line data must be padded to a word
1866 * glyphs-x.c (xface_validate): moved to glyphs.c
1867 (xface_normalize): ditto.
1868 (xface_possible_dest_types): ditto.
1869 (image_instantiator_format_create_glyphs_x): do device specific
1870 initialisation for xfaces.
1872 * glyphs.h: declare xface symbol.
1874 * glyphs.c: move generic xface support here.
1875 (xface_validate): moved from glyphs-x.c
1876 (xface_normalize): ditto.
1877 (xface_possible_dest_types): ditto.
1878 (image_instantiator_format_create): xface declarations moved from
1881 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
1883 * event-stream.c (vars_of_event_stream): Fixing documentation.
1885 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1887 * glyphs-eimage.c (gif_instantiate): Correct handling of
1888 interlaced gifs to avoid writing past the end of the eimage
1891 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
1893 * search.c (Freplace_match): Handle single backslash at end of
1896 1999-01-12 William M. Perry <wmperry@aventail.com>
1898 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
1899 avoid connection errors.
1901 1999-01-12 Andy Piper <andy@xemacs.org>
1903 * redisplay-output.c (redisplay_update_line): backout change that
1904 shouldn't have gone ine.
1906 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
1908 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
1909 collide with ldap.el
1911 1999-01-11 Andy Piper <andy@xemacs.org>
1913 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
1914 (DISPLAY_LINE_YPOS): new macro.
1916 * redisplay-msw.c (mswindows_output_string): use it.
1917 (mswindows_output_pixmap): ditto.
1918 (mswindows_output_display_block): ditto.
1920 * redisplay-output.c (redisplay_output_display_block): new
1921 function. just call the devmeth, maybe insert some generic code
1923 (compare_display_blocks): use it.
1924 (output_display_line): ditto.
1925 (redisplay_unmap_subwindows_maybe): new function. potentially
1926 unmap subwindows in the given area.
1928 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
1931 1999-01-10 J. Kean Johnston <jkj@sco.com>
1933 * Makefile.in.in: Set value of moduledir
1934 - Changed DUMPENV to include $(MODULEPATH)
1935 - Added install rule to install header files for use by ellcc.
1937 * config.h.in: Added INHIBIT_SITE_MODULES
1938 - Added HAVE__DLERROR
1939 - Added HAVE_DLFCN_H
1940 - Added DLSYM_NEEDS_UNDERSCORE
1944 * emodules.c: New file containing dynamic loading code.
1946 * emodules.h: New file.
1948 * emacs.c: Added variables Vmodule_directory,
1949 Vsite_module_directory, Vconfigure_module_directory and
1950 Vconfigure_site_module_directory.
1951 - (main_1): Added new variable inhibit_site_modules and command
1952 line options `-no-site-modules' and `--no-site-modules'.
1953 - (main_1): Call syms_of_module() instead of syms_of_dll().
1954 - (main_1): Call vars_of_module().
1955 - (vars_of_emacs): Introduce inhibit-site-modules,
1956 module-directory, configure-module-directory,
1957 site-module-directory, and configure-site-module-directory to the
1960 * lisp.h: Declare load_module and list_modules, as well as
1961 Vmodule_directory, Vsite_module_directory,
1962 Vconfigure_module_directory and Vconfigure_site_module_directory.
1964 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
1965 - Added correct support for site-lisp directory.
1967 * symbols.c (defsubr): Modified to allow modules to add new subrs
1969 - (defsubr_macro): Same.
1970 - (defvar_magick): Only use purespace when not initialized, so
1971 that loaded modules can still add symbols.
1973 * symsinit.h: Add definitions for syms_of_module(),
1974 vars_of_module(). Removed syms_of_dll().
1976 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
1977 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
1978 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
1980 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
1981 explicitly pass -belf for native cc.
1983 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
1984 hard-coding the library name.
1986 1999-01-01 <martin@xemacs.org>
1988 * device-x.c (Fx_set_font_path):
1989 Add proper cast to permit compilation under C++.
1991 * buffer.c (directory_is_current_directory):
1992 Add proper casts to permit compilation under C++.
1994 1998-12-30 Damon Lipparelli <lipp@primus.com>
1996 * event-msw.c (mswindows_wnd_proc):
1997 Fixed failure when building with MSVC 5.
1999 1998-12-29 Martin Buchholz <martin@xemacs.org>
2001 * file-coding.c (decode_coding_iso2022):
2002 - Prevent crash when decoding ISO7/Lock detected files
2003 - the usual martin fiddling
2005 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2009 Fixed failures when building with MSVC.
2010 * unexnt.c (dump_bss_and_heap):
2011 Removed compiler warning by removing bss_data variable.
2013 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2015 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2016 so that packages that distribute their own fonts can access them.
2018 1998-12-28 Andy Piper <andy@xemacs.org>
2020 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2021 that have an image provided.
2023 * glyphs.h: add Q_image decl.
2025 * glyphs-widget.c new functionality allowing images in
2027 (check_valid_glyph_or_image): new function to validate
2028 glyphs passed in through :image.
2029 (widget_normalize): new function. convert :image parameters into
2030 real glyphs if not already so.
2031 (widget_instantiate_1): mess with size parameters to be similar to
2033 (syms_of_glyphs_widget): new keyword :image.
2034 (image_instantiator_format_create_glyphs_widget): normalize
2035 buttons and allow :image.
2037 1998-12-27 Andy Piper <andy@xemacs.org>
2039 * frame-msw.c (mswindows_init_frame_1): warning elimination.
2041 * glyphs-widget.c (check_valid_anything): no-op function.
2042 (check_valid_callback): check callbacks in gui_items.
2043 (check_valid_symbol): as it sounds.
2044 (check_valid_string_or_vector): ditto.
2045 (widget_validate): modified for descriptors that are vectors or
2046 sequences of keyword/val pairs.
2047 (widget_instantiate_1): ditto.
2048 (image_instantiator_format_create_glyphs_widget): allow gui_item
2049 keywords in the instantiator.
2051 * gui.c (gui_parse_item_keywords_internal): renamed from
2052 gui_parse_item_keywords but taking error behaviour.
2053 (gui_parse_item_keywords): use it.
2054 (gui_parse_item_keywords_no_errors): ditto.
2055 (gui_item_add_keyval_pair): add Error_behavior flag and only
2056 signal invalid keywords if required.
2058 * gui.h: new gui signatures.
2060 * menubar.c (menu_parse_submenu_keywords): use new
2061 gui_item_add_keyval_pair signature.
2063 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
2065 1998-12-28 Martin Buchholz <martin@xemacs.org>
2067 * XEmacs 21.2.8 is released.
2069 1998-12-28 Martin Buchholz <martin@xemacs.org>
2071 * editfns.c (get_home_directory):
2072 (user-home-directory): Simplify.
2075 * callproc.c (child_setup):
2076 - Environment variables were being passed to inferior processes
2077 using internal encoding.
2078 - Convert to external encoding.
2079 - Rename local var `tem' to better name `tail'.
2080 - Use Flength instead of `manual' calculation.
2082 * buffer.c (kill-buffer):
2084 (set-buffer-major-mode):
2086 - Fix up parameter names to correspond to docstrings.
2087 - Don't use `bufname' when a buffer will do as well.
2088 - Remove one unneeded GCPRO.
2090 * buffer.h (initial_directory):
2091 * buffer.c (init_initial_directory):
2092 - use correct conversions between internal and external format.
2093 (directory_is_current_directory): new function
2094 (init_buffer): convert initial_directory to internal format.
2095 - solve crashes when current working directory is non-ASCII.
2097 * alloc.c (xmalloc):
2100 - remove stupid casts, since XEmacs requires an ANSI C system.
2101 (lrecord_type_index): replace abort() with more readable assert().
2103 (reset_lcrecord_stats): remove.
2104 (sweep_lcrecords_1):
2105 - replace call to reset_lcrecord_stats() with call to xzero().
2107 1998-12-27 Martin Buchholz <martin@xemacs.org>
2109 * process-unix.c (unix_create_process):
2110 - Fix crash invoking program with non-ASCII name.
2111 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
2112 - Remove unused variable `env'.
2113 - Rename `temp' to better name `save_errno'.
2114 - Reorganize code for clarity. But still too chicken to nuke the
2117 1998-12-24 Martin Buchholz <martin@xemacs.org>
2119 * XEmacs 21.2.7 is released.
2121 1998-12-23 Martin Buchholz <martin@xemacs.org>
2123 * glyphs.c (decode_device_ii_format):
2125 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
2127 * glyphs-x.c (x_subwindow_instantiate):
2128 - A image instance mask was being assigned to a image instance type!
2129 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
2131 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
2133 * glyphs-x.h: Make indentation consistent.
2135 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
2137 * glyphs-widget.c (check_valid_glyph): Warning suppression.
2139 - #ifdef it out, since it's not actually used yet (FIX THIS!)
2143 Move declarations of decode_device_ii_format and
2144 decode_image_instantiator_format into glyphs.h where they belong.
2146 1998-12-22 Martin Buchholz <martin@xemacs.org>
2148 * frame-x.c (x_delete_frame): Revert part of my changes at the
2149 suggestion of Gunnar Evermann - unfortunately no one really
2150 understands this code.
2152 * callproc.c (init_callproc): code cleanup.
2154 * free-hook.c (malloc):
2159 (block_input_malloc):
2160 (block_input_realloc):
2161 * device-x.c (x_delete_device):
2162 * emacs.c (voodoo_free_hook):
2163 * events.c (print_event):
2165 (CHECK_EVENT_TYPE2):
2166 (CHECK_EVENT_TYPE3):
2167 Use proper prototypes.
2168 Make C_E_T macros a little faster.
2169 Pedantic fiddly little changes. You really don't care.
2171 1998-12-22 Andy Piper <andy@xemacs.org>
2173 * redisplay-output.c (redisplay_clear_region): make sure that
2174 fg/bg colors get set even when we are in the border area.
2176 1998-12-13 Martin Buchholz <martin@xemacs.org>
2178 * console-msw.c: Function definitions follow coding standards
2179 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2181 1998-12-11 Martin Buchholz <martin@xemacs.org>
2183 * events.h (struct timeout_data):
2184 * event-tty.c (tty_timeout_to_emacs_event):
2185 * event-msw.c (mswindows_wm_timer_callback):
2186 * event-Xt.c (Xt_timeout_to_emacs_event):
2187 * event-msw.c (mswindows_cancel_dispatch_event):
2188 Make sure Lisp_Objects inside events are initialized to Qnil, not
2189 Qnull_pointer, which is now illegal.
2191 1998-12-10 Martin Buchholz <martin@xemacs.org>
2193 * lisp.h: Fix up prototypes to match alloc.c
2195 1998-12-08 Martin Buchholz <martin@xemacs.org>
2197 * windowsnt.h: Remove `support' for using index and rindex
2199 * filelock.c (current_lock_owner):
2200 - Change uses of index -> strchr, rindex -> strrchr
2202 1998-12-07 Martin Buchholz <martin@xemacs.org>
2204 * sysdep.c (set_descriptor_non_blocking):
2205 Since O_NONBLOCK is now always #defined, make use of fcntl
2206 conditional on F_SETFL being defined.
2208 * console-msw.c (DHEADgER):
2217 - max_align_t should not be visible to the user of the
2219 - use Bufbyte instead of char
2220 - parens around (FOOP (obj)) are always redundant.
2221 If they were necessary, we should fix the macro instead.
2222 - Always use string_data(foo) instead of foo->data.
2225 1998-12-06 Martin Buchholz <martin@xemacs.org>
2227 * frame-msw.c (mswindows_init_frame_1):
2228 - use make_lisp_hash_table, not Fmake_hash_table
2232 * alloc.c (make_vector): remove travesty
2236 (make_bit_vector_internal):
2238 (make_bit_vector_from_byte_vector):
2240 - make vector_equal a little faster.
2241 - Don't use variable name `new'.
2242 - Use size_t instead of EMACS_INT.
2243 - usual Martin-style pointless bit-twiddling.
2249 Make mapcar faster. In particular, make
2250 (mapc #'identity long-string)
2251 MUCH faster under Mule.
2252 * tests/automated/lisp-tests.el: Test 'em!
2254 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2257 1998-12-01 Martin Buchholz <martin@xemacs.org>
2259 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
2260 Qnil, not NULL, to initialize `null' Lisp_Objects.
2262 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
2264 * specifier.c (display_table_validate): Update.
2266 * redisplay.c (create_text_block): Use them.
2268 * glyphs.c (display_table_entry): New function.
2269 (get_display_tables): Ditto.
2271 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2273 * eldap.c (toplevel): Mention that eldap.c compiles with
2275 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2276 (Fldap_search_internal): Ditto
2278 1998-12-11 Martin Buchholz <martin@xemacs.org>
2280 * event-msw.c (mswindows_cancel_dispatch_event):
2281 Gratuitous code prettification
2284 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2286 * fns.c (Fnconc): Fix use of wrong_type_argument().
2288 * floatfns.c (Ffloat): Fix docstring.
2289 (Ffloat): Fix use of wrong_type_argument().
2291 (extract_float): Ditto.
2296 1998-12-06 Martin Buchholz <martin@xemacs.org>
2298 * frame-msw.c (mswindows_init_frame_1):
2299 - use make_lisp_hash_table, not Fmake_hash_table
2303 * alloc.c (make_vector): remove travesty
2307 (make_bit_vector_internal):
2309 (make_bit_vector_from_byte_vector):
2311 - make vector_equal a little faster.
2312 - Don't use variable name `new'.
2313 - Use size_t instead of EMACS_INT.
2314 - usual Martin-style pointless bit-twiddling.
2320 Make mapcar faster. In particular, make
2321 (mapc #'identity long-string)
2322 MUCH faster under Mule.
2323 * tests/automated/lisp-tests.el: Test 'em!
2325 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2328 1998-12-02 Didier Verna <verna@inf.enst.fr>
2330 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
2331 accelerator field to nil for labels.
2333 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2335 * menubar-msw.c (displayable_menu_item):
2336 Escape occurrences of '&' and support occurrences of the
2337 '%_' accelerator indicator in menus.
2339 1998-11-26 Didier Verna <verna@inf.enst.fr>
2341 * dired.c (Fdirectory_files): use make_string instead of
2342 make_ext_string on the filename. The conversion external->internal
2343 format is already done in sys_readdir.
2345 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2347 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
2349 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
2352 (Belatedly) added Kirill to list of file's authors.
2353 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
2354 quit checking. WM_PAINT messages cause redisplay, but
2355 windows' states are not necessarily stable when this function
2358 1998-12-17 Andy Piper <andy@xemacs.org>
2360 * strftime.c (zone_name): CONSTify.
2362 1998-12-15 Andy Piper <andy@xemacs.org>
2364 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
2365 (mswindows_widget_property): return Qunbound when no property available.
2366 (mswindows_button_property): ditto.
2367 (mswindows_combo_property): ditto.
2368 (mswindows_widget_set_property): ditto.
2370 * glyphs-widget.c (check_valid_item_list): use properties.
2372 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
2374 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
2375 (Fimage_instance_property): ditto.
2376 * glyphs-widget.c (widget_property): ditto.
2377 (widget_set_property): ditto.
2379 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
2380 as setting the class cursor so that GC actually changes the
2383 * config.h: don't undef MAIL_USE_POP.
2385 1998-12-13 Andy Piper <andy@xemacs.org>
2388 (image_instantiator_format_create_glyphs_mswindows): line ->
2390 (mswindows_label_instantiate): ditto. Play with window flags.
2391 (image_instantiator_format_create_glyphs_mswindows): ditto.
2392 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
2394 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
2395 cope with lines and labels.
2396 (static_instantiate): use widget_instantiate_1.
2398 (image_instantiator_format_create_glyphs_widget): ditto.
2400 1998-12-10 Andy Piper <andy@xemacs.org>
2402 * Makefile.in.in (objs): add gui.o
2404 1998-12-10 Andy Piper <andy@xemacs.org>
2406 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
2409 1998-12-09 Andy Piper <andy@xemacs.org>
2411 * glyphs.c (finalize_image_instance): mark glyphs changed when an
2412 image instance is removed so that the subwindow cache gets reset
2413 and thus destroyed images get GC'd.
2415 1998-12-08 Andy Piper <andy@xemacs.org>
2417 * gui-msw.c (mswindows_handle_gui_wm_command): call
2418 MARK_SUBWINDOWS_CHANGED.
2420 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
2421 subwindows really get deleted.
2423 * redisplay.c: new variable subwindows_changed[_set].
2424 (redisplay_window): use it.
2425 (redisplay_frame): ditto.
2426 (redisplay_device): ditto.
2427 (redisplay_without_hooks): ditto.
2429 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
2430 subwindows redisplay as per glyphs equivalent.
2431 * redisplay.h: ditto.
2432 (MARK_SUBWINDOWS_CHANGED): ditto.
2433 (RESET_CHANGED_SET_FLAGS): ditto.
2434 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
2436 1998-12-07 Andy Piper <andy@xemacs.org>
2438 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
2441 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
2443 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
2444 messages and paint widget glyphs as appropriate with their face fg
2447 1998-12-06 Andy Piper <andy@xemacs.org>
2449 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
2450 here rather than in glyphs-widget - do this because we only want
2451 to provide what is really available.
2453 * glyphs.c (Fimage_instance_property): new function to get the
2454 properties of image instances. wires through to console specific
2455 methods and then to widget specific methods.
2456 (Fset_image_instance_property): ditto but for setting widget properties.
2457 (check_valid_face): make extern so that it can be used elsewhere.
2459 * glyphs-widget.c (widget_property): new function. gets the
2460 properties of widgets in general and wires the function through to
2461 widget specific ones.
2462 (widget_set_property): ditto but for setting widget properties.
2464 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
2465 add items to the list. Play with window styles a bit to get the
2467 (mswindows_widget_property): break out specific widget properties.
2468 (mswindows_button_property): new function. gets the checked state
2470 (mswindows_combo_property): new function. gets the current
2471 selection in the combo box.
2472 (mswindows_widget_set_property): new function. sets specific
2473 properties of specific widgets.
2475 * glyphs-widget.c (check_valid_item_list): new function. check
2476 that items for a combo-box are just a list of strings.
2477 (combo_validate): new function. check there is an item list.
2478 (widget_instantiate_1): new function. renamed from
2479 widget_instantiate so that we can do slightly different things for
2481 (widget_instantiate): call widget_instantiate_1.
2482 (combo_instantiate): new function to instantiate combo boxes,
2483 defaults height to the pixel height of the number of items in the
2485 (syms_of_glyphs_widget): move widget keywords here.
2486 (image_instantiator_format_create_glyphs_widget): use new combo
2489 1998-12-04 Andy Piper <andy@xemacs.org>
2491 * event-msw.c (mswindows_wnd_proc): mule-ize.
2493 * glyphs.c (pixmap_to_lisp_data): mule-ize.
2495 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
2496 (resource_name_to_resource): ditto.
2497 (mswindows_resource_instantiate): ditto.
2498 (mswindows_widget_instantiate): ditto.
2499 (mswindows_widget_set_property): ditto.
2501 * redisplay-output.c (redisplay_output_subwindow): don't show
2502 subwindows if they are obscured at the edge of the frame, emacs
2503 gets into some sort of redisplay loop otherwise.
2505 * gui.h: prototype gui_item_selected_p.
2507 * gui.c (gui_item_selected_p): new function to determine the
2508 selected state of a gui_item.
2510 * frame.h (struct frame): add subwindows_changed flag.
2512 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
2514 * glyphs.c (update_subwindow): new function to update a
2516 (update_frame_subwindows): new function to update all the
2517 subwindows on a frame.
2519 * console.h (struct console_methods): add update_subwindow.
2521 * glyphs-msw.c (mswindows_widget_property): return selected state
2522 for selected property.
2523 (mswindows_update_subwindow): new function. updates widget glyphs
2524 in redisplay as per menubars or toolbars e.g. selected state.
2525 (console_type_create_glyphs_mswindows): add update_subwindow.
2527 1998-12-03 Andy Piper <andy@xemacs.org>
2529 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
2530 tty coding system things are such.
2532 * glyphs-widget.c (widget_face_font_info): new function for
2533 pulling out height and width metrics for a widget's face.
2534 (widget_text_to_pixel_conversion): calculate pixel sizes of text
2537 * event-msw.c (mswindows_drain_windows_queue): translate messages
2538 that are destined for subwindows. This makes edit fields interact
2539 with the keyboard correctly.
2540 nuke warnings by #ifndef'ing out stuff not required by msg select().
2542 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
2543 macro defining the iiforma without the symbol required by widget.
2544 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
2546 * general.c (syms_of_general): add Qwidget, Qselected.
2548 * faces.c (complex_vars_of_faces): add widget face inheriting from
2551 1998-11-09 Andy Piper <andy@xemacs.org>
2553 * window.h (struct window): add a cache of subwindows on a
2556 * window.c (mark_window): mark the subwindow_instance_cache.
2557 (allocate_window): initialise the subwindow instance_cache.
2559 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
2560 instead of the devmeth.
2561 (x_clear_toolbar): ditto.
2563 * redisplay-x.c (x_output_display_block): call
2564 redisplay_output_subwindow for subwindows and widgets.
2566 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
2567 types to do nothing for.
2569 * lisp.h: declare new widget/subwindow symbols.
2571 * glyphs.c (image_instantiate): cache subwindows on a per-window
2573 (subwindow_possible_dest_types): new function for subwindow dest
2575 (subwindow_instantiate): generic instantiation of a
2576 subwindow. specialised by device multi-methods.
2577 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
2579 (Fimage_instance_subwindow_id): ditto.
2580 (Fresize_subwindow): ditto.
2581 (Fforce_subwindow_map): ditto.
2583 * glyphs-x.c (x_print_image_instance): remove subwindow
2584 stuff. Handled genrically in glyphs.c.
2585 (x_image_instance_equal): ditto.
2586 (x_image_instance_hash): ditto.
2587 (x_finalize_image_instance): delete subwindows when required.
2588 (mark_subwindow) (print_subwindow) (finalize_subwindow)
2589 (subwindow_hash) (Fmake_subwindow): deleted because of new,
2590 glyph-based, subwindow implementation.
2591 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
2593 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
2595 (x_unmap_subwindow): new function to unmap X subwindows.
2596 (x_map_subwindow): new function to map X subwindows.
2597 (x_subwindow_instantiate): new function to instantiate X
2599 (x_resize_subwindow): new function to resize X subwindows.
2600 (console_type_create_glyphs_x): add subwindow functions.
2601 (image_instantiator_format_create_glyphs_x): add device
2602 multi-methods for xpm, xbm and subwindow.
2604 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
2605 (subwindow-width): ditto.
2606 (subwindow-height): ditto.
2608 * glyphs-msw.c (mswindows_widget_instantiate): new function for
2609 generally instantiating ms subwindows. Used by
2610 mswindows_*_instantiate.
2611 (mswindows_edit_instantiate): instantiate an edit field on a
2614 1998-11-04 Andy Piper <andy@xemacs.org>
2616 * symsinit.h: declare new functions.
2618 * redisplay.h: declare new functions.
2620 * redisplay-x.c (x_output_display_block): call
2621 redisplay_clear_region rather than x_clear_region.
2622 (x_output_string): ditto.
2623 (x_output_pixmap): ditto.
2624 (x_clear_to_window_end): ditto.
2625 (x_output_eol_cursor): ditto.
2626 (x_clear_region): only do X specific things. other duties handled
2627 in redisplay_clear_region.
2629 * redisplay-tty.c (tty_clear_region): do tty specific things - some
2630 duties moved to redisplay_clear_region.
2632 * redisplay-output.c (clear_left_border): use
2633 redisplay_clear_region instead of device method.
2634 (clear_right_border): ditto.
2635 (output_display_line): ditto.
2636 (redisplay_output_subwindow): ditto.
2637 (redisplay_clear_top_of_window): ditto.
2638 (redisplay_clear_region): perform duties previously handled by
2639 device methods. call the appropriate device method at the
2640 end. unmap subwindows if necessary.
2642 * redisplay-msw.c (mswindows_output_string): use
2643 redisplay_clear_region instead of mswindows_clear_region.
2644 (mswindows_clear_to_window_end): ditto.
2645 (mswindows_output_display_block): output subwindows when required.
2646 (mswindows_clear_region): only do mswindows specific things,
2647 everything else is now handled in redisplay_clear_region.
2649 * gui.h: add item id hash defines and declare function prototypes.
2651 * gui.c (mark_gui_item): new function for marking gui_items.
2652 (gui_item_hash): generic hash function for generating command ids
2655 * gui-msw.c: new file.
2656 (mswindows_handle_gui_wm_command): new function to handle widget
2659 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
2661 (IIFORMAT_HAS_SHARED_METHOD): ditto.
2662 (DEFINE_DEVICE_IIFORMAT): ditto.
2663 (INITIALIZE_DEVICE_IIFORMAT): ditto.
2664 (struct Lisp_Image_Instance): add widget and subwindow data plus
2665 appropriate access functions.
2667 * glyphs.c (decode_device_ii_format): new function for decoding
2668 image instantiator functions based on a device type as well as an
2670 (decode_image_instantiator_format): just call
2671 decode_device_ii_format with nil device.
2672 (add_entry_to_device_ii_format_list): new function for per device
2674 (add_entry_to_image_instantiator_format_list): just call
2675 add_entry_to_device_ii_format_list with nil device.
2676 (check_valid_vector): new function.
2677 (instantiate_image_instantiator): instantiate using per-format
2678 method and then per-format-per-device method (device
2679 multi-methods). signal an error if neither is possible.
2680 (mark_image_instance): cope with subwindows and widgets.
2681 (print_image_instance): ditto.
2682 (image_instance_equal): ditto.
2683 (image_instance_hash): ditto.
2684 (allocate_glyph): ditto.
2685 (glyph_width): ditto.
2686 (glyph_height_internal): ditto.
2687 (xpm_instantiate): removed because of device multi-methods.
2688 (mark_subwindow_cachels): new cachel functions for caching
2689 instantiated subwindows on a per-frame basis. mostly copied from
2690 glyph cachel functions.
2691 (update_subwindow_cachel_data): ditto.
2692 (add_subwindow_cachel): ditto.
2693 (get_subwindow_cachel_index): ditto.
2694 (reset_subwindow_cachels): ditto.
2695 (mark_subwindow_cachels_as_not_updated): ditto.
2696 (unmap_subwindow): generic unmapping of subwindows based on cachel
2698 (map_subwindow): ditto.
2699 (initialize_subwindow_image_instance): generic initialisation of
2701 (syms_of_glyphs): add widget keywords.
2703 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
2706 1998-11-04 Andy Piper <andy@xemacs.org>
2708 * glyphs-widget.c: new file for instantiating widget type glyphs.
2709 (widget_possible_dest_types): new general dest type function for
2711 (widget_validate): ditto.
2712 (initialize_widget_image_instance): ditto
2713 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
2714 before handing on control to device multi-methods.
2715 (syms_of_glyphs_widget): new function.
2716 (image_instantiator_format_create_glyphs_widget): new function,
2717 added placeholders for button, edit, combo, scrollbar
2718 (vars_of_glyphs_widget): new function.
2720 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
2721 storing window ids of widgets.
2723 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
2724 deletion of widget and subwindow glyphs.
2725 (mswindows_unmap_subwindow): new device function for unmapping
2726 subwindows on a msw frame.
2727 (mswindows_map_subwindow): ditto.
2728 (mswindows_register_image_instance): register instantiated widgets
2729 with the widget hastable.
2730 (mswindows_button_instantiate): instantiate a button type widget
2732 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
2734 (image_instantiator_format_create_glyphs_mswindows): add device
2735 multi-methods for xbm, xpm, subwindow, edit and button.
2737 * frame.h (struct frame): add subwindow_cachels dynarr for caching
2738 information about subwindows visible on the current frame. used by
2739 redisplay_clear_region to unmap subwindows as required.
2741 * frame.c (mark_frame): mark subwindow_cachels.
2742 (allocate_frame_core): instantiate subwindow_cachels.
2744 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
2747 * event-msw.c (mswindows_wnd_proc): add call to
2748 mswindows_handle_gui_wm_command to handle widget callbacks.
2750 * emacs.c (main_1): add calls to glyphs-widget initialisation
2753 * console.h (struct console_methods): add
2754 unmap/map_subwindow_method for use be redisplay_clear_region to
2755 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
2756 with by image instantiator multi-methods. Add
2757 resize_subwindow_method.
2759 * console-stream.c (stream_clear_region): change signature to
2760 match new generic clear region function.
2762 * Makefile.in.in: add glyphs-widget.o to list of objects.
2764 * console-msw.h (struct mswindows_frame): add widget hashtable for
2765 wiring command ids to callbacks.
2767 1998-12-16 Andy Piper <andy@xemacs.org>
2769 * XEmacs 21.2.6 is released
2771 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
2773 * md5.c (Fmd5): Correctly initiate string input stream.
2775 * Makefile.in.in (tests): Add md5-tests.el.
2777 1998-12-06 Martin Buchholz <martin@xemacs.org>
2780 * alloc.c (make_vector): remove travesty
2784 (make_bit_vector_internal):
2786 (make_bit_vector_from_byte_vector):
2788 - make vector_equal a little faster.
2789 - Don't use variable name `new'.
2790 - Use size_t instead of EMACS_INT.
2791 - usual Martin-style pointless bit-twiddling.
2797 Make mapcar faster. In particular, make
2798 (mapc #'identity long-string)
2799 MUCH faster under Mule.
2800 * tests/automated/lisp-tests.el: Test 'em!
2802 1998-12-06 Martin Buchholz <martin@xemacs.org>
2804 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
2807 1998-12-13 Martin Buchholz <martin@xemacs.org>
2809 * console-msw.c: Function definitions follow coding standards
2810 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
2812 1998-12-11 Martin Buchholz <martin@xemacs.org>
2814 * events.h (struct timeout_data):
2815 * event-tty.c (tty_timeout_to_emacs_event):
2816 * event-msw.c (mswindows_wm_timer_callback):
2817 * event-Xt.c (Xt_timeout_to_emacs_event):
2818 * event-msw.c (mswindows_cancel_dispatch_event):
2819 Make sure Lisp_Objects inside events are initialized to Qnil, not
2820 Qnull_pointer, which is now illegal.
2822 1998-12-10 Martin Buchholz <martin@xemacs.org>
2824 * lisp.h: Fix up prototypes to match alloc.c
2826 1998-12-09 Andy Piper <andy@xemacs.org>
2828 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
2829 XSETINT for assigning lisp objects.
2831 1998-12-07 Martin Buchholz <martin@xemacs.org>
2834 * console-msw.c (DHEADER):
2843 - max_align_t should not be visible to the user of the
2845 - use Bufbyte instead of char
2846 - parens around (FOOP (obj)) are always redundant.
2847 If they were necessary, we should fix the macro instead.
2848 - Always use string_data(foo) instead of foo->data.
2850 1998-12-07 Martin Buchholz <martin@xemacs.org>
2852 * sysdep.c (set_descriptor_non_blocking):
2853 Since O_NONBLOCK is now always #defined, make use of fcntl
2854 conditional on F_SETFL being defined.
2856 1998-12-09 Andy Piper <andy@xemacs.org>
2858 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
2859 that got removed in the merge
2861 1998-11-30 Greg Klanderman <greg@alphatech.com>
2863 * dired.c (vars_of_dired): bugfix for previous conditionalization
2864 of user-name-completion on non- Windows NT.
2866 1998-12-08 Martin Buchholz <martin@xemacs.org>
2868 * windowsnt.h: Remove `support' for using index and rindex
2870 * filelock.c (current_lock_owner):
2871 - Change uses of index -> strchr, rindex -> strrchr
2873 1998-12-06 Martin Buchholz <martin@xemacs.org>
2875 * frame-msw.c (mswindows_init_frame_1):
2876 - use make_lisp_hash_table, not Fmake_hash_table
2879 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2881 * XEmacs 21.2.5 is released
2883 1998-11-30 Martin Buchholz <martin@xemacs.org>
2885 * xselect.c (receive_incremental_selection):
2886 * xselect.c (x_get_window_property):
2887 * xmu.c (XmuReadBitmapDataFromFile):
2888 * xmu.c (XmuCursorNameToIndex):
2889 * xgccache.c (describe_gc_cache):
2890 * xgccache.c (gc_cache_lookup):
2891 * xgccache.c (free_gc_cache):
2892 * xgccache.c (make_gc_cache):
2894 * window.c (map_windows_1):
2895 * window.c (Fother_window_for_scrolling):
2896 * window.c (window_scroll):
2897 * window.c (change_window_height):
2898 * window.c (Fsplit_window):
2899 * window.c (window_left_gutter_width):
2900 * window.c (window_modeline_height):
2901 * window.c (invalidate_vertical_divider_cache_in_window):
2902 * window.c (window_needs_vertical_divider_1):
2903 * window.c (update_mirror_internal):
2904 * window.c (SET_LAST_FACECHANGE):
2905 * widget.c (Fwidget_plist_member):
2906 * unexec.c (copy_text_and_data):
2907 * unexcw.c (copy_executable_and_dump_data_section):
2909 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
2910 * tooltalk.c (struct Lisp_Tooltalk_Message):
2911 * toolbar.h (struct toolbar_button):
2912 * toolbar.c (default_toolbar_visible_p_changed_in_window):
2913 * toolbar.c (recompute_overlaying_specifier):
2914 * toolbar.c (toolbar_validate):
2915 * toolbar.c (toolbar_button_at_pixpos):
2916 * toolbar.c (get_toolbar_coords):
2917 * toolbar.c (update_frame_toolbars):
2919 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
2920 * toolbar-msw.c (mswindows_find_toolbar_pos):
2921 * toolbar-msw.c (mswindows_output_toolbar):
2922 * toolbar-msw.c (mswindows_clear_toolbar):
2931 * sysdep.c (sys_fopen):
2932 * sysdep.c (sys_open):
2933 * sysdep.c (tty_init_sys_modes_on_device):
2934 * sysdep.c (get_eof_char):
2935 * sysdep.c (child_setup_tty):
2936 * sysdep.c (set_descriptor_non_blocking):
2938 * syntax.c (scan_words):
2941 * symeval.h (struct symbol_value_varalias):
2942 * symeval.h (struct symbol_value_forward):
2943 * symbols.c (syms_of_symbols):
2944 * symbols.c (init_symbols_once_early):
2945 * symbols.c (Fbuilt_in_variable_type):
2946 * symbols.c (Fsymbol_value_in_buffer):
2947 * symbols.c (default_value):
2949 * symbols.c (find_symbol_value_quickly):
2950 * symbols.c (store_symval_forwarding):
2951 * symbols.c (set_default_console_slot_variable):
2952 * symbols.c (set_default_buffer_slot_variable):
2953 * symbols.c (verify_ok_for_buffer_local):
2954 * symbols.c (symbol_is_constant):
2955 * symbols.c (oblookup):
2956 * symbols.c (Funintern):
2957 * symbols.c (Fintern):
2958 * symbols.c (check_obarray):
2960 * specifier.h (struct specifier_methods):
2962 * specifier.c (specifier_instance):
2963 * specifier.c (specifier_instance_from_inst_list):
2964 * specifier.c (decode_locale_type):
2965 * specifier.c (specifier_equal):
2966 * specifier.c (finalize_specifier):
2967 * specifier.c (prune_specifiers):
2968 * specifier.c (kill_specifier_buffer_locals):
2969 * sound.c (init_native_sound):
2972 * search.c (Fmatch_data):
2973 * search.c (match_limit):
2974 * search.c (Freplace_match):
2975 * search.c (skip_chars):
2976 * search.c (scan_buffer):
2978 * scrollbar.c (specifier_vars_of_scrollbar):
2979 * scrollbar.c (Fscrollbar_set_hscroll):
2980 * scrollbar.c (vertical_scrollbar_changed_in_window):
2981 * scrollbar.c (release_window_mirror_scrollbars):
2982 * scrollbar.c (free_scrollbar_instance):
2985 * s/msdos.h (O_BINARY):
2987 * s/freebsd.h (LIBS_TERMCAP):
2988 * regex.c (re_match_2_internal):
2989 * regex.c (compile_extended_range):
2990 * regex.c (POP_FAILURE_POINT):
2991 * regex.c (PUSH_FAILURE_POINT):
2992 * redisplay.h (RESET_CHANGED_SET_FLAGS):
2994 * redisplay.h (struct display_line):
2995 * redisplay.h (struct rune):
2996 * redisplay.c (vars_of_redisplay):
2997 * redisplay.c (redisplay_variable_changed):
2998 * redisplay.c (UPDATE_CACHE_RETURN):
2999 * redisplay.c (validate_line_start_cache):
3000 * redisplay.c (mark_redisplay_structs):
3001 * redisplay.c (mark_glyph_block_dynarr):
3002 * redisplay.c (window_line_number):
3003 * redisplay.c (redisplay_frame):
3004 * redisplay.c (redisplay_window):
3005 * redisplay.c (generate_modeline):
3006 * redisplay.c (create_right_glyph_block):
3007 * redisplay.c (create_left_glyph_block):
3008 * redisplay.c (create_text_block):
3010 * redisplay-x.c (x_output_hline):
3011 * redisplay-x.c (x_output_vertical_divider):
3012 * redisplay-tty.c (tty_output_display_block):
3013 * redisplay-output.c (output_display_line):
3014 * redisplay-output.c:
3015 * redisplay-msw.c (mswindows_output_vertical_divider):
3016 * redisplay-msw.c (mswindows_ring_bell):
3017 * redisplay-msw.c (mswindows_output_cursor):
3021 * puresize.h (RAW_PURESIZE):
3022 * profile.c (syms_of_profile):
3023 * profile.c (Fstart_profiling):
3024 * profile.c (sigprof_handler):
3027 * process.c (vars_of_process):
3028 * process.c (read_process_output):
3029 * process.c (get_process):
3031 * process-unix.c (unix_open_multicast_group):
3032 * process-unix.c (unix_get_tty_name):
3033 * process-unix.c (unix_send_process):
3034 * process-unix.c (unix_reap_exited_processes):
3035 * process-unix.c (unix_create_process):
3036 * process-unix.c (unix_init_process_io_handles):
3037 * process-unix.c (allocate_pty):
3039 * process-nt.c (nt_open_network_stream):
3040 * process-nt.c (nt_update_status_if_terminated):
3041 * process-nt.c (nt_finalize_process_data):
3043 * print.c (debug_short_backtrace):
3044 * print.c (debug_backtrace):
3045 * print.c (print_symbol):
3046 * print.c (print_internal):
3047 * print.c (print_cons):
3048 * print.c (Fwrite_char):
3049 * print.c (print_prepare):
3050 * print.c (canonicalize_printcharfun):
3051 * print.c (output_string):
3054 * opaque.c (allocate_managed_opaque):
3056 * offix.c (DndSetData):
3057 * objects.c (face_boolean_create):
3058 * objects.c (font_instantiate):
3059 * objects.c (font_create):
3060 * objects.c (color_create):
3061 * objects.c (finalize_font_instance):
3062 * objects.c (finalize_color_instance):
3064 * objects-x.c (x_font_instance_truename):
3066 * objects-x.c (x_initialize_font_instance):
3067 * objects-x.c (allocate_nearest_color):
3068 * objects-tty.c (tty_initialize_font_instance):
3069 * objects-tty.c (tty_initialize_color_instance):
3070 * objects-msw.c (mswindows_initialize_color_instance):
3071 * ntproc.c (syms_of_ntproc):
3072 * ntproc.c (Fwin32_set_process_priority):
3073 * ntproc.c (sys_spawnve):
3075 * ntheap.c (get_data_end):
3079 * nt.c (generate_inode_val):
3080 * nt.c (sys_rename):
3082 * mule-wnnfns.c (Fwnn_hinsi_number):
3083 * mule-wnnfns.c (Fwnn_yuragi):
3084 * mule-wnnfns.c (Fwnn_common_learn):
3085 * mule-wnnfns.c (Fwnn_suffix_learn):
3086 * mule-wnnfns.c (Fwnn_prefix_learn):
3087 * mule-wnnfns.c (Fwnn_okuri_learn):
3088 * mule-wnnfns.c (Fwnn_complex_conv):
3089 * mule-wnnfns.c (Fwnn_last_is_first):
3090 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
3091 * mule-wnnfns.c (Fwnn_notrans_dict_add):
3092 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
3093 * mule-wnnfns.c (Fwnn_fisys_dict_add):
3094 * mule-wnnfns.c (Fwnn_hinsi_list):
3095 * mule-wnnfns.c (Fwnn_fuzokugo_set):
3096 * mule-wnnfns.c (Fwnn_dict_search):
3097 * mule-wnnfns.c (Fwnn_word_toroku):
3098 * mule-wnnfns.c (Fwnn_hindo_update):
3099 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
3100 * mule-wnnfns.c (Fwnn_kakutei):
3101 * mule-wnnfns.c (Fwnn_begin_henkan):
3102 * mule-wnnfns.c (Fwnn_dict_comment):
3103 * mule-wnnfns.c (Fwnn_dict_add):
3104 * mule-wnnfns.c (Fwnn_open):
3105 * mule-mcpath.c (mc_getcwd):
3106 * mule-coding.c (vars_of_mule_coding):
3107 * mule-coding.c (convert_to_external_format):
3108 * mule-coding.c (encoding_marker):
3109 * mule-coding.c (decoding_marker):
3110 * mule-coding.c (Fcopy_coding_system):
3111 * mule-coding.c (Fmake_coding_system):
3112 * mule-coding.c (Fcoding_system_list):
3113 * mule-coding.c (Ffind_coding_system):
3114 * mule-coding.c (symbol_to_eol_type):
3116 * mule-charset.c (complex_vars_of_mule_charset):
3117 * mule-charset.c (vars_of_mule_charset):
3118 * mule-charset.c (Fset_charset_ccl_program):
3119 * mule-charset.c (struct charset_list_closure):
3120 * mule-charset.c (Ffind_charset):
3121 * mule-charset.c (make_charset):
3122 * mule-charset.c (non_ascii_valid_char_p):
3124 * mule-ccl.c (ccl_driver):
3125 * mule-canna.c (c2mu):
3126 * mule-canna.c (Fcanna_henkan_begin):
3127 * mule-canna.c (Fcanna_parse):
3128 * mule-canna.c (Fcanna_store_yomi):
3129 * mule-canna.c (Fcanna_touroku_string):
3130 * mule-canna.c (Fcanna_initialize):
3132 * menubar.c (menu_parse_submenu_keywords):
3133 * menubar-x.c (make_dummy_xbutton_event):
3134 * menubar-x.c (set_frame_menubar):
3135 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3138 * menubar-msw.c (mswindows_popup_menu):
3139 * menubar-msw.c (mswindows_update_frame_menubars):
3140 * menubar-msw.c (mswindows_handle_wm_command):
3141 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3142 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
3143 * menubar-msw.c (update_frame_menubar_maybe):
3144 * menubar-msw.c (populate_or_checksum_helper):
3145 * menubar-msw.c (empty_menu):
3148 * marker.c (set_marker_internal):
3149 * marker.c (print_marker):
3152 * lstream.c (lisp_buffer_rewinder):
3153 * lstream.c (mark_lstream):
3155 * lrecord.h (struct lrecord_header):
3156 * lread.c (readevalloop):
3157 * lread.c (locate_file):
3158 * lread.c (locate_file_in_directory):
3159 * lread.c (Flocate_file):
3160 * lread.c (load_force_doc_string_unwind):
3161 * lread.c (ebolify_bytecode_constants):
3166 * linuxplay.c (linux_play_data_or_file):
3167 * linuxplay.c (audio_init):
3170 * keymap.c (describe_map):
3171 * keymap.c (describe_map_mapper):
3172 * keymap.c (Fdescribe_bindings_internal):
3173 * keymap.c (Fsingle_key_description):
3174 * keymap.c (map_keymap_sorted):
3175 * keymap.c (get_relevant_keymaps):
3176 * keymap.c (Flookup_key):
3177 * keymap.c (raw_lookup_key_mapper):
3178 * keymap.c (Fdefine_key):
3179 * keymap.c (Fevent_matches_key_specifier_p):
3180 * keymap.c (key_desc_list_to_event):
3181 * keymap.c (define_key_parser):
3182 * keymap.c (define_key_check_and_coerce_keysym):
3183 * keymap.c (keymap_submaps):
3184 * keymap.c (keymap_store_internal):
3185 * keymap.c (keymap_delete_inverse_internal):
3186 * keymap.c (keymap_store_inverse_internal):
3187 * keymap.c (print_keymap):
3188 * keymap.c (Lisp_Keymap):
3191 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
3192 * insdel.c (make_gap):
3193 * input-method-xlib.c (get_XIM_input):
3194 * input-method-xlib.c (XIM_init_frame):
3199 * gui-x.c (button_item_to_widget_value):
3200 * gui-x.c (popup_selection_callback):
3201 * glyphs.h (struct image_instantiator_methods):
3202 * glyphs.c (mark_glyph_cachels):
3203 * glyphs.c (Fglyph_type):
3204 * glyphs.c (image_instantiate):
3205 * glyphs.c (image_create):
3206 * glyphs.c (make_image_instance_1):
3207 * glyphs.c (finalize_image_instance):
3209 * glyphs-x.c (finalize_subwindow):
3210 * glyphs-x.c (xface_validate):
3211 * glyphs-x.c (x_locate_pixmap_file):
3212 * glyphs-x.c (convert_EImage_to_XImage):
3214 * glyphs-msw.c (mswindows_resource_instantiate):
3215 * glyphs-msw.c (xpm_to_eimage):
3216 * glyphs-msw.c (convert_EImage_to_DIBitmap):
3217 * glyphs-eimage.c (tiff_instantiate):
3218 * glyphs-eimage.c (png_instantiate):
3219 * glyphs-eimage.c (struct png_error_struct):
3220 * glyphs-eimage.c (gif_memory_storage):
3223 * getloadavg.c (getloadavg):
3226 * free-hook.c (log_gcpro):
3227 * free-hook.c (check_malloc):
3228 * free-hook.c (check_free):
3229 * free-hook.c (ROUND_UP_TO_PAGE):
3231 * frame.h (struct frame):
3233 * frame.c (change_frame_size_1):
3234 * frame.c (allocate_frame_core):
3236 * frame-x.c (x_focus_on_frame):
3237 * frame-x.c (x_init_frame_2):
3238 * frame-x.c (x_popup_frame):
3239 * frame-x.c (xemacs_XtPopup):
3241 * frame-x.c (Foffix_start_drag_internal):
3242 * frame-x.c (x_cde_destroy_callback):
3243 * frame-x.c (x_wm_hack_wm_protocols):
3244 * frame-tty.c (tty_frame_visible_p):
3245 * frame-msw.c (mswindows_make_frame_invisible):
3246 * frame-msw.c (mswindows_after_init_frame):
3247 * frame-msw.c (mswindows_init_frame_1):
3248 * fns.c (syms_of_fns):
3249 * fns.c (Fbase64_decode_string):
3251 * fns.c (Ffillarray):
3252 * fns.c (Fobject_plist):
3254 * fns.c (Fcanonicalize_lax_plist):
3255 * fns.c (Fcanonicalize_plist):
3256 * fns.c (Fplist_remprop):
3257 * fns.c (Fplist_get):
3258 * fns.c (advance_plist_pointers):
3259 * fns.c (internal_plist_put):
3260 * fns.c (Fnreverse):
3263 * fns.c (Fsubstring):
3264 * fns.c (Fbvconcat):
3266 * fns.c (length_with_bytecode_hack):
3267 * fns.c (print_bit_vector):
3269 * floatfns.c (Ffloor):
3271 * floatfns.c (in_float_error):
3272 * fileio.c (Ffile_modes):
3273 * fileio.c (Fexpand_file_name):
3274 * fileio.c (Fmake_temp_name):
3275 * fileio.c (Ffile_name_nondirectory):
3276 * fileio.c (Ffile_name_directory):
3278 * file-coding.c (vars_of_mule_coding):
3279 * file-coding.c (convert_to_external_format):
3280 * file-coding.c (encoding_marker):
3281 * file-coding.c (decoding_marker):
3282 * file-coding.c (Fcopy_coding_system):
3283 * file-coding.c (Fmake_coding_system):
3284 * file-coding.c (struct coding_system_list_closure):
3285 * file-coding.c (Ffind_coding_system):
3286 * file-coding.c (symbol_to_eol_type):
3288 * faces.h (struct face_cachel):
3289 * faces.c (vars_of_faces):
3290 * faces.c (face_property_was_changed):
3291 * faces.c (mark_face_cachels):
3292 * faces.c (temporary_faces_list):
3293 * faces.c (struct face_list_closure):
3295 * extents.h (struct extent):
3296 * extents.c (vars_of_extents):
3297 * extents.c (struct copy_string_extents_1_arg):
3298 * extents.c (add_string_extents_mapper):
3299 * extents.c (Fextent_property):
3300 * extents.c (Fset_extent_property):
3301 * extents.c (symbol_to_glyph_layout):
3302 * extents.c (properties_equal):
3303 * extents.c (print_extent):
3304 * extents.c (print_extent_1):
3305 * extents.c (extent_in_region_p):
3306 * extents.c (gap_array_make_gap):
3308 * events.h (struct Lisp_Event):
3310 * events.c (Fevent_properties):
3311 * events.c (format_event_object):
3312 * events.c (Fmake_event):
3313 * events.c (event_equal):
3314 * events.c (print_event):
3315 * events.c (mark_event):
3316 * event-stream.c ((read-char)
3317 * event-stream.c (vars_of_event_stream):
3318 * event-stream.c (syms_of_event_stream):
3319 * event-stream.c (Fset_recent_keys_ring_size):
3320 * event-stream.c (Fsit_for):
3321 * event-stream.c (Fnext_event):
3322 * event-stream.c (execute_help_form):
3323 * event-stream.c (maybe_kbd_translate):
3325 * event-msw.c (vars_of_event_mswindows):
3326 * event-msw.c (mswindows_wnd_proc):
3327 * event-msw.c (mswindows_need_event):
3328 * event-msw.c (mswindows_drain_windows_queue):
3329 * event-msw.c (mswindows_pump_outstanding_events):
3331 * event-msw.c (slurp_thread):
3332 * event-msw.c (struct ntpipe_slurp_stream):
3333 * event-msw.c (HANDLE_TO_USID):
3334 * event-Xt.c (emacs_Xt_handle_magic_event):
3335 * event-Xt.c (x_event_to_emacs_event):
3336 * event-Xt.c (x_reset_modifier_mapping):
3337 * event-Xt.c (x_reset_key_mapping):
3339 * eval.c (syms_of_eval):
3340 * eval.c (warn_when_safe):
3341 * eval.c (warn_when_safe_lispobj):
3342 * eval.c (Fbacktrace_frame):
3343 * eval.c (Fbacktrace):
3344 * eval.c (top_level_set):
3345 * eval.c (unbind_to_hairy):
3346 * eval.c (specbind_magic):
3347 * eval.c (specbind_unwind_wasnt_local):
3348 * eval.c (call2_trapping_errors):
3349 * eval.c (call1_trapping_errors):
3350 * eval.c (catch_them_squirmers_call2):
3351 * eval.c (call0_trapping_errors):
3352 * eval.c (run_hook_trapping_errors):
3353 * eval.c (catch_them_squirmers_eval_in_buffer):
3354 * eval.c (call4_in_buffer):
3355 * eval.c (call3_in_buffer):
3356 * eval.c (call2_in_buffer):
3357 * eval.c (call1_in_buffer):
3358 * eval.c (call0_in_buffer):
3359 * eval.c (run_hook):
3360 * eval.c (run_hook_with_args_in_buffer):
3363 * eval.c (do_autoload):
3364 * eval.c (un_autoload):
3365 * eval.c (Fautoload):
3366 * eval.c (Finteractive_p):
3367 * eval.c (Fcommand_execute):
3368 * eval.c (signal_quit):
3369 * eval.c (call_with_suspended_errors):
3370 * eval.c (signal_error):
3371 * eval.c (return_from_signal):
3372 * eval.c (Fcall_with_condition_handler):
3373 * eval.c (run_condition_case_handlers):
3374 * eval.c (condition_case_1):
3375 * eval.c (Funwind_protect):
3376 * eval.c (unwind_to_catch):
3377 * eval.c (internal_catch):
3378 * eval.c (Fmacroexpand_internal):
3379 * eval.c (Fuser_variable_p):
3380 * eval.c (Fdefconst):
3382 * eval.c (Ffunction):
3383 * eval.c (signal_call_debugger):
3384 * eval.c (call_debugger):
3387 * emacs.c (sort_args):
3391 * editfns.c (Fencode_time):
3392 * editfns.c (Fdecode_time):
3393 * editfns.c (Fuser_full_name):
3395 * editfns.c (save_excursion_restore):
3398 * doprnt.c (emacs_doprnt_1):
3399 * doc.c (verify_doc_mapper):
3400 * doc.c (Fsnarf_documentation):
3401 * doc.c (Fdocumentation):
3403 * dired.c (user_name_completion):
3404 * dired.c (Fdirectory_files):
3407 * dgif_lib.c (FreeSavedImages):
3408 * dgif_lib.c (DGifGetImageDesc):
3410 * device.h (struct device):
3411 * device.c (Fselect_device):
3412 * device.c (allocate_device):
3414 * device-x.c (Fx_keysym_on_keyboard_p):
3415 * device-x.c (Fx_valid_keysym_name_p):
3416 * device-x.c (x_IO_error_handler):
3417 * device-x.c (x_delete_device):
3418 * device-x.c (x_finish_init_device):
3419 * device-x.c (x_init_device):
3421 * device-msw.c (mswindows_init_device):
3423 * database.c (vars_of_database):
3424 * database.c (Fput_database):
3425 * database.c (Fopen_database):
3426 * database.c (berkdb_remove):
3427 * database.c (berkdb_put):
3428 * database.c (Fdatabasep):
3429 * database.c (print_database):
3431 * data.c (vars_of_data):
3432 * data.c (syms_of_data):
3433 * data.c (init_errors_once_early):
3434 * data.c (prune_weak_lists):
3435 * data.c (finish_marking_weak_lists):
3436 * data.c (print_weak_list):
3438 * data.c (Fstring_to_number):
3439 * data.c (Fnumber_to_string):
3440 * data.c (Findirect_function):
3443 * data.c (Fsubr_interactive):
3445 * data.c (Fkeywordp):
3448 * console.h (CONSOLE_NAME):
3450 * console.c (vars_of_console):
3451 * console.c (Fselect_console):
3453 * console-x.h (DEVICE_X_COLORMAP):
3454 * console-x.h (struct x_device):
3455 * console-x.c (x_device_to_console_connection):
3456 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
3457 * console-tty.c (tty_init_console):
3459 * console-msw.h (struct mswindows_frame):
3462 * cmds.c (internal_self_insert):
3463 * cmds.c (Fforward_line):
3464 * cmds.c (Fforward_char):
3467 * chartab.c (mark_char_table_entry):
3469 * casefiddle.c (casify_word):
3470 * callproc.c (child_setup):
3471 * callproc.c (Fcall_process_internal):
3473 * callint.c (Fcall_interactively):
3475 * bytecode.c (execute_rare_opcode):
3476 * bytecode.c (execute_optimized_program):
3479 * buffer.h (BUFFER_REALLOC):
3480 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
3481 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
3483 * buffer.h (MAP_INDIRECT_BUFFERS):
3484 * buffer.h (CHECK_LIVE_BUFFER):
3485 * buffer.c (init_initial_directory):
3486 * buffer.c (complex_vars_of_buffer):
3487 * buffer.c (vars_of_buffer):
3488 * buffer.c (finish_init_buffer):
3489 * buffer.c (Fget_file_buffer):
3490 * buffer.c (Fbuffer_list):
3491 * buffer.c (mark_buffer):
3492 * balloon_help.c (balloon_help_move_to_pointer):
3493 * balloon_help.c (show_help):
3496 * alloc.c (garbage_collect_1):
3497 * alloc.c (sweep_strings):
3498 * alloc.c (sweep_compiled_functions):
3499 * alloc.c (sweep_bit_vectors_1):
3500 * alloc.c (sweep_vectors_1):
3501 * alloc.c (sweep_lcrecords_1):
3502 * alloc.c (tick_lcrecord_stats):
3503 * alloc.c (pure_string_sizeof):
3504 * alloc.c (mark_conses_in_list):
3505 * alloc.c (mark_object):
3506 * alloc.c (report_pure_usage):
3507 * alloc.c (make_pure_float):
3508 * alloc.c (make_pure_string):
3509 * alloc.c (free_managed_lcrecord):
3510 * alloc.c (mark_string):
3511 * alloc.c (noseeum_make_marker):
3512 * alloc.c (allocate_event):
3513 * alloc.c (Fbit_vector):
3514 * alloc.c (Fvector):
3515 * alloc.c (make_float):
3516 * alloc.c (Fmake_list):
3518 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
3519 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
3520 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
3521 * alloc.c (dbg_constants):
3522 * alloc.c (gc_record_type_p):
3523 * alloc.c (free_lcrecord):
3524 * alloc.c (xmalloc):
3525 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
3527 * Makefile.in.in (mostlyclean):
3528 * Makefile.in.in (external_client_xlib_objs_nonshared):
3529 * Makefile.in.in (temacs_link_args):
3530 * Makefile.in.in (release):
3531 * Makefile.in.in (dnd_objs):
3532 * Makefile.in.in (objs):
3533 * Makefile.in.in (PROGNAME):
3534 * EmacsShell.c: cast strings to (XtPointer)
3535 * EmacsFrame.c: cast strings to (XtPointer)
3537 - rewrite basic lisp functions for speed
3538 - rewrite bytecode interpreter for speed
3539 - rewrite list looping constructs for speed and safety using
3541 - use size_t where appropriate.
3542 - new hashtable implementation
3543 - cleanup implementation of opaques
3544 - opaques can now be purecopy'ed
3545 - move some cl functionality into C for speed.
3546 - remove last remaining VMS support
3548 - improve gdb/dbx debugger support
3549 - move pure.c back into alloc.c for performance
3550 - enable report_pure_usage() if --memory-usage-stats
3551 - remove remnants of Energize support (EMACS_BTL, cadillac...)
3552 - don't use symbols with leading `_' or embedded `__'
3553 - globally cleanup duplicated semicolons `;;'
3554 - I give in on %p vs %lx - we use printf("%lx",(long) p)
3556 - globally replace O_NDELAY with O_NONBLOCK.
3557 - globally replace CDISABLE with _POSIX_VDISABLE.
3558 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
3559 - define (and maybe use!) STDERR_FILENO and friends.
3560 - add support for macros defined in C
3561 - `when', `unless', `not' and `defalias' now defined in C,
3562 so that they are universally available.
3563 - rename defvar_mumble to defvar_magic
3564 - rename RETURN__ to RETURN_SANS_WARNINGS
3565 - use consistent style of initial caps in error messages
3566 - implement last, butlast, nbutlast, copy-list in C.
3567 - provide typedefs for all struct Lisp_foo types
3568 - Lisp_Objects must be initialized to Qnil rather than 0.
3569 - make sure XEmacs runs (slowly) with always_gc == 1;
3570 - fast and safe LOOP_* macros
3571 - change calls to XSETOBJ to XSETFOO
3572 - replace calls to XSETINT by make_int()
3573 - plug up memory leaks
3574 - use style markobj (foo), not silly ((markobj) (foo))
3575 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
3577 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
3579 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
3581 1998-11-28 SL Baur <steve@altair.xemacs.org>
3583 * XEmacs 21.2-beta4 is released.
3585 1998-11-27 SL Baur <steve@altair.xemacs.org>
3587 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
3588 property in control-1 charset.
3589 From Julian Bradfield <jcb@daimi.au.dk>
3591 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
3593 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
3595 Add stub for :label.
3597 * gui.c (gui_item_add_keyval_pair): ditto.
3599 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
3600 :key-sequence keyword.
3602 Support :active for submenus like the Windows code and FSF Emacs.
3604 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
3606 * dired.c (make_directory_hash_table): make_string() is OK because
3607 readdir() Mule-encapsulates.
3609 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3611 * fns.c (Fbase64_encode_string): Fix docstring.
3612 (Fbase64_decode_string): Ditto.
3614 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
3616 * editfns.c (Ftranslate_region): Use
3617 convert_bufbyte_string_into_emchar_string().
3619 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3621 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
3623 (Ftranslate_region): Turn table into an array of Emchars for
3626 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3628 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
3630 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3632 * chartab.c (Freset_char_table): Don't blindly fill chartables of
3633 type `char' with nils.
3635 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
3636 for tables of type `char'.
3638 1998-11-26 Didier Verna <verna@inf.enst.fr>
3640 * input-method-xlib.c (Initialize_Locale): don't call
3641 XtSetLanguageProc. We've done the whole work here.
3642 * input-method-xfs.c (Initialize_Locale): ditto.
3643 * input-method-motif.c (Initialize_Locale): ditto.
3645 1998-11-26 Didier Verna <verna@inf.enst.fr>
3647 * process-unix.c (unix_create_process): handle properly
3648 Vfile_name_coding_system for converting the program and directory
3651 1998-11-27 SL Baur <steve@altair.xemacs.org>
3653 * m/arm.h: New file.
3654 From James LewisMoss <dres@ioa.com>
3656 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3659 Fix the realpath() problem of UnixWare2.1.3.
3660 Patches for NEC's sysv4.2 machine.
3662 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3664 * dired.c (Fdirectory_files): Remove redundant code.
3666 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3668 * fns.c (free_malloced_ptr): New function.
3669 (XMALLOC_OR_ALLOCA): New macro.
3670 (XMALLOC_UNBIND): Ditto.
3671 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
3672 to be freed in case of non-local exit.
3673 (Fbase64_encode_string): Ditto.
3674 (Fbase64_decode_region): Ditto.
3675 (Fbase64_decode_string): Ditto.
3676 (STORE_BYTE): New macro.
3677 (base64_decode_1): Use it.
3679 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3681 * fns.c (base64_value_to_char): Base64 stuff.
3683 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
3685 * editfns.c (Fbuffer_substring): New function.
3687 * lisp.h: Declare make_string_from_buffer_no_extents().
3689 * insdel.c (make_string_from_buffer_1): New function.
3690 (make_string_from_buffer_no_extents): Ditto.
3692 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3694 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
3695 sound work on AIX with OSS installed. Linux should still work.
3697 1998-11-03 Andy Piper <andyp@parallax.co.uk>
3699 * config.h.in: name change for cygwin/version.h
3701 * configure.in: check for cygwin/version.h now.
3703 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3704 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3705 move cygwin32/version.h to cygwin/version.h
3707 1998-11-03 Olivier Galibert <galibert@pobox.com>
3709 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
3712 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3714 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
3715 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
3716 enable BROKEN_SIGIO under b20 to make QUIT work.
3718 1998-10-22 Andy Piper <andyp@parallax.co.uk>
3720 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
3721 to fit within the constraints of the screen size. I.e. make the
3722 frame small enough to fit and move it if some of it will be
3725 1998-10-19 Greg Klanderman <greg@alphatech.com>
3727 * dired.c: conditionalize inclusion of user-name-completion
3728 primitives on non-Windows NT. The needed functions don't exist on NT.
3730 1998-11-24 SL Baur <steve@altair.xemacs.org>
3732 * gifrlib.h: Clean up types for 64 bit compile.
3733 * dgif_lib.c (DGifInitRead): Ditto.
3734 (MakeSavedImage): Ditto.
3735 * emacs.c (decode_path): Ditto.
3736 From Steve Carney <carney@pa.dec.com>
3738 1998-10-16 William M. Perry <wmperry@aventail.com>
3740 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
3741 (cehckboxes instead of checkboxes).
3743 1998-10-15 SL Baur <steve@altair.xemacs.org>
3745 * XEmacs 21.2-beta3 is released.
3747 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
3749 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
3750 gnuclient. Otherwise, we run xemacs as we always did. This gets
3751 rid of the annoying DOS window when running gnuclient.
3753 1998-10-13 Andy Piper <andyp@parallax.co.uk>
3755 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
3756 HAVE_MS_WINDOWS typo.
3758 1998-10-13 SL Baur <steve@altair.xemacs.org>
3760 * process-unix.c (unix_send_process): Set closed flag on writable
3761 pipe after SIGPIPE is received and before we call deactivate_process.
3763 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3765 * window.c (Fset_window_start): respect narrowing when
3766 checking wheter start is at the beginning of a line.
3767 (Fset_window_buffer): Ditto
3768 Fixes repeatable crash in VM.
3770 1998-10-09 SL Baur <steve@altair.xemacs.org>
3772 * window.c (specifier_vars_of_window): Set default vertical
3773 divider width to 1 on ttys.
3775 1998-10-08 Martin Buchholz <martin@xemacs.org>
3780 Add <stddef.h> to get ptrdiff_t declaration
3782 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3784 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
3785 is used for Motif or Lucid scrollbars under X.
3787 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
3789 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
3792 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
3794 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
3796 1998-10-05 Andy Piper <andyp@parallax.co.uk>
3798 * s/cygwin32.h: more cygwin b20 reorganisation.
3800 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
3802 * nas.c: Added necessary support functions to be able to handle
3803 WAVE files in memory, just like the support for SND files in
3806 1998-09-30 SL Baur <steve@altair.xemacs.org>
3808 * callproc.c (child_setup): Fix spelling typo.
3810 1998-09-29 SL Baur <steve@altair.xemacs.org>
3812 * XEmacs 21.2-beta2 is released.
3814 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
3816 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
3817 to prevent memory corruption in the case of jumping out of a series of
3818 nested match patterns. This is a rather brute force approach, though.
3820 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3822 * config.h.in: ditto.
3824 * s/cygwin32.h: rearrange declarations to cope with cygwin
3825 b20. Include cygwin32/version.h if it exists.
3827 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3829 * device-msw.c (mswindows_init_device): Call new
3830 mswindows_enumerate_fonts() function in objects-msw.c instead
3831 of font_enum_callback_1() to enumerate fonts.
3833 font_enum_callback_1() and _2() moved to objects-msw.c.
3835 * faces.c (complex_vars_of_faces): Make the mswindows default
3836 face font fully specified and provide some fallbacks.
3838 * objects-msw.c: font_enum_callback_1() and _2() moved here
3839 from objects-msw.c. Obtain the enumerated font's character
3840 sets by table lookup instead of using the locale-specific
3841 string provided by Windows.
3843 New public non-method mswindows_enumerate_fonts() that fills
3844 in the supplied mswindows device's font list.
3846 mswindows_initialize_font_instance: Use the supplied name
3847 variable instead of f->name when signalling errors. Match font
3848 weights and character sets using lookup tables which handle
3849 spaces instead of by frobbing.
3851 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
3853 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
3854 on the size of code fragments passed to run_in_other_process.
3856 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
3857 the amount of memory to allocate in the other process.
3859 Removed sigkill_code_end(), sigint_code_end() and
3860 sig_enable_code_end() since they are now redundant.
3862 send_signal() and enable_child_signals(): Don't try to work
3863 out the end of the code fragments passed to
3864 run_in_other_process()
3866 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3868 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
3871 * src/unexelf.c: Partially synched with FSF's 20.3.
3873 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
3875 * insdel.c (signal_after_change): Map across indirect buffers
3876 here, and not in the upper-level functions.
3877 (signal_first_change): Don't check for Armageddon.
3878 (signal_before_change): Map across indirect buffers here.
3879 (prepare_to_modify_buffer): ...and here.
3881 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
3883 * insdel.c (signal_after_change): Add return value.
3884 (buffer_insert_string_1): Use it.
3885 (buffer_delete_range): Ditto.
3886 (buffer_replace_char): Ditto.
3887 (cancel_multiple_change): Map the indirect buffers.
3889 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3891 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3892 (uninit_buffer_text): Ditto.
3894 * buffer.c (Fmake_indirect_buffer): Implement stricter
3897 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
3899 * insdel.c (change_function_restore): Reverse order of
3900 function-call and assignment.
3901 (first_change_hook_restore): Ditto.
3903 * extents.c (mark_extent_auxiliary): Mark them.
3904 (Fset_extent_property): Set them.
3905 (Fextent_property): Get them.
3906 (Fextent_properties): Ditto.
3907 (vars_of_extents): Set their default.
3909 * extents.h (struct extent_auxiliary): Add before_change_functions
3910 and after_change_functions.
3912 * insdel.c (signal_before_change): Use it.
3913 (signal_after_change): Ditto.
3915 * extents.c (report_extent_modification): New function.
3917 * insdel.c (signal_before_change): Don't check for Armageddon.
3918 (signal_after_change): Ditto.
3920 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3922 * redisplay.c (redisplay_window): make sure a new starting point
3923 is chosen if it somehow got moved from the beginning of the line
3924 -- this can happen because Fwiden was called recently.
3926 * window.c (Fset_window_start): set start_at_line_beg correctly
3927 (Fset_window_buffer): Ditto
3929 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
3931 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
3932 (uninit_buffer_text): Ditto.
3934 * buffer.c (Fmake_indirect_buffer): Implement stricter
3937 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
3939 * emacs.c (main_1): Removed references to *vars_of_filelock.
3941 * lisp.h: Added Fsystem_name.
3943 * filelock.c: Replaced by version from FSF 20.2. Now implements
3944 locking by using symlinks which is NFS safe. However keep the
3945 GCPRO's in lock_file and the calls to callx_in_buffer like our old
3946 version (and of course use ansi C, acessor macros, etc).
3948 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
3950 * process-unix.c (unix_create_process): Reset SIGHUP handler to
3951 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
3952 in init_signals_very_early. However these should not be passed
3953 on to children attached to the new pty.
3955 1998-08-28 Andy Piper <andyp@parallax.co.uk>
3957 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
3959 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3961 * fileio.c (file-name-directory, file_name_as_directory):
3962 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
3964 1998-09-02 Andy Piper <andyp@parallax.co.uk>
3966 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
3968 * ralloc.c: uncomment __morecore.
3970 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
3972 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
3973 WriteFile() to fix a winsock 1.x bug on Win95.
3975 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
3977 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
3979 (x_event_to_emacs_event): Ditto.
3980 (emacs_Xt_handle_focus_event): Ditto.
3981 (emacs_Xt_handle_magic_event): Ditto.
3983 * console-x.h (struct x_device): New flag being_deleted.
3984 (DEVICE_X_BEING_DELETED): New macro.
3986 * device-x.c (x_IO_error_handler): Throw to top-level instead of
3987 returning. Before doing that, set the being_deleted flag on the
3990 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
3992 * device-x.c (x-seppuku-on-epipe): Removed.
3994 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
3996 * frame-x.c (x_delete_frame): Flush the X output buffer after
3997 calling XtDestroyWidget to ensure that the windows are really
4000 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4002 * menubar-x.c (my_run_hook): New unused function.
4003 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4004 since we ignore the results of the contained functions anyway.
4006 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4008 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4009 interlaced GIF files that are smaller than 4 lines high...
4011 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4013 * buffer.c (map_over_sharing_buffers): Deleted.
4015 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4017 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4020 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4022 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4024 (buffer_delete_range): Ditto.
4026 * marker.c (init_buffer_markers): Set point-marker to the value of
4027 point in an indirect buffer.
4029 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4031 * undo.c (undo_prelude): Test last-undo-buffer against base
4034 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
4036 * buffer.h (BUFFER_BASE_BUFFER): New macro.
4038 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4040 * insdel.c (init_buffer_text): Initialize it here.
4042 * line-number.c: Address line_number_cache through buffer->text.
4044 * buffer.c (mark_buffer): Mark line number cache.
4046 * bufslots.h (line_number_cache): Move to struct buffer_text.
4048 * insdel.c (buffer_insert_string_1): Propagate signals and changes
4049 across the children buffers.
4050 (buffer_delete_range): Ditto.
4051 (buffer_replace_char): Ditto.
4055 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
4057 * buffer.c (Fmake_indirect_buffer): Uncomment.
4059 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4061 * macros.c (Fend_kbd_macro): Remove trailing period from error
4063 (Fexecute_kbd_macro): Ditto.
4065 1998-08-21 Greg Klanderman <greg@alphatech.com>
4067 * dired.c (Fuser_name_completion): remove optional 2nd argument.
4068 (Fuser_name_completion_1): new function to return uniqueness
4069 indication in addition to the user name completion.
4070 (user_name_completion): change type of `uniq' argument.
4072 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4074 * lread.c (vars_of_lread): Removed `source-directory' variable.
4076 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
4078 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
4081 1998-08-19 SL Baur <steve@altair.xemacs.org>
4083 * dired.c (vars_of_dired): Fix misapplied patch.
4085 1998-08-16 Martin Buchholz <martin@xemacs.org>
4087 * fns.c (Fremrassq, remrassq_no_quit):
4088 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
4090 1998-07-17 Didier Verna <verna@inf.enst.fr>
4092 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
4093 style as foreground GC for faces that have the `dim' property.
4094 (x_output_string): when the `dim' face property is set,
4095 ensure the gray pixmap has been created, and get a proper
4096 foreground GC to draw the text.
4098 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4100 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
4101 Manually track the state of the left and right Ctrl and Alt
4104 1998-08-07 Matt Stupple <matts@tibco.com>
4106 * ntproc.c: don't wait on char_consumed at thread entry.
4107 Additionally, to get the 'process' marked as finished, ensure
4108 that the CHILD_ACTIVE macro returns false, so before exiting
4109 close char_avail and set it to NULL, and close other handles
4110 to reduce handle leak problems.
4112 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4114 * menubar-msw.c (displayable_menu_item): take account of menu
4115 depth when deciding whether to try to display accelerators.
4117 1998-08-04 Andy Piper <andyp@parallax.co.uk>
4119 * event-msw.c: use MsgWaitForMultipleObjects if there are no
4122 * glyphs-msw.c: fix a couple of potential handle leaks.
4124 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
4126 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
4127 *decoding ONLY* back into the core.
4128 * glyphs-eimage.c: Change referenced header file for GIF
4129 reading to point to the incore version.
4131 1998-07-20 Martin Buchholz <martin@xemacs.org>
4133 * casefiddle.c (casify_object):
4134 Change algorithm from O(N**2) to O(N).
4138 1998-07-22 Greg Klanderman <greg@alphatech.com>
4140 * dired.c (file_name_completion_unwind): don't leak the cons.
4142 1998-07-20 Greg Klanderman <greg@alphatech.com>
4144 * dired.c (Fuser_name_completion): new function.
4145 (Fuser_name_all_completions): new function.
4146 (user_name_completion): new function.
4147 (syms_of_dired): 2 new DEFSUBRs.
4148 (vars_of_dired): initialize user name cache vars.
4150 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
4152 * glyphs-eimage.c (png_instantiate): Add proper handling for background
4153 colors taken from the default face. Also correct a thinko in
4154 transparency (not alpha) handling.
4156 1998-07-23 Martin Buchholz <martin@xemacs.org>
4158 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
4159 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
4160 * lread.c (Fload_internal): Be very careful with printfs of
4162 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
4165 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4167 * callint.c (Fcall_interactively): GCPRO prompt string before
4168 passing it to Fread_key_sequence
4170 1998-07-27 SL Baur <steve@altair.xemacs.org>
4172 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
4173 Vvertical_divider_map.
4175 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
4176 Qnil or 0, none were initialized prior to this change.
4178 Rename misnamed `V' prefixed integer variables:
4179 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
4180 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
4181 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
4182 Vcanna_ichiran_revLen.
4184 Rename misnamed `V' prefixed integer variables and initialize
4185 properly in the vars_of routine.
4186 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
4187 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
4188 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
4189 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
4190 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
4191 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
4192 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
4193 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
4194 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
4195 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
4196 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
4197 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
4198 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
4199 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
4200 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
4201 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
4202 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
4203 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
4204 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
4205 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
4206 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
4207 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
4208 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
4209 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
4210 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
4211 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
4212 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
4213 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
4214 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
4215 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
4216 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
4217 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
4218 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
4219 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
4220 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
4221 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
4222 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
4223 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
4224 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
4225 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
4226 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
4227 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
4228 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
4229 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
4230 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
4231 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
4233 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
4235 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
4236 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
4237 keys thus no longer considering all keysyms on a key.
4239 1998-07-19 SL Baur <steve@altair.xemacs.org>
4241 * XEmacs 21.2-beta1 is released.
4243 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4245 * eldap.c (Fldap_search_internal): When converting the list of
4246 attributes to search Copy the final 0 from Lisp strings to C
4248 Check base, not Vldap_default_base as a a string
4250 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4252 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
4254 * unexnt.c: Unconditionally define bss_start and bss_size, and
4255 ensure that they don't go in the .bss section.
4257 1998-07-17 Olivier Galibert <galibert@pobox.com>
4259 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
4260 byte order is dependant of the local byte order).
4261 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4263 1998-07-18 SL Baur <steve@altair.xemacs.org>
4265 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
4266 Qmswindows_resource.
4267 From Jonathan Harris <jhar@tardis.ed.ac.uk>
4269 1998-07-12 SL Baur <steve@altair.xemacs.org>
4271 * general.c (syms_of_general): Add defsymbol for Qresource.
4273 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
4274 Qmswindows_resource.
4275 (TopLevel): Rename 'resource image format to 'mswindows_resource.
4276 (mswindows_resource_validate): Rename.
4277 (mswindows_resource_normalize): Rename.
4278 (mswindows_resource_possible_dest_types): Rename.
4279 (mswindows_resource_instantiate): Rename.
4280 (image_instantiator_format_create_glyphs_mswindows): Replace
4281 `resource' with `mswindows.resource'.
4283 * XEmacs 21.0-pre5 is released.
4285 1998-07-10 SL Baur <steve@altair.xemacs.org>
4287 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
4288 server type in environment.
4289 Use alloca-ed strings instead of tiny fixed size ones.
4291 1998-07-09 SL Baur <steve@altair.xemacs.org>
4293 * XEmacs 21.0-pre4 is released.
4295 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4297 * fileio.c: (expand_file_name): under win32: Don't treat names
4298 as UNC names if a drive letter has been specified. If a drive
4299 has been specified, strip out extra directory-seperators that
4300 reportedly cause problems under Win95.
4302 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4304 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
4305 MSVC >= 5.0. Put emacs init and zero-init data in a special
4306 section of the executable when this is defined.
4308 * unexnt.c, ntheap.h:
4309 Removed unused find_section() and get_section_size().
4312 Fix up the executable's checksum after dumping otherwise the
4314 When DUMP_SEPARATE_SECTION is defined, don't need to dump
4315 zero-init data separately from init data. Dump emacs data
4316 into a special section of the executable.
4317 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
4318 my_ebss instead of up to the end of bss.
4320 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
4322 * filelock.c: Removed Vconfigure_lock_directory - already
4325 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
4326 defined in frame.c and general.c respectively.
4328 * glyphs-msw.c: Removed Qresource - already defined in
4331 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4333 * eldap.c (Fldap_search_internal): Docstring fixes
4335 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
4337 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
4338 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
4339 EMACSPACKAGEPATH and INFOPATH variables.
4340 Removed unused get_emacs_configuration function.
4342 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
4343 it is now defined at build-time by the makefile.
4345 1998-07-01 James N. Potts <jnpotts@plutonium.net>
4347 * fileio.c: (expand_file_name): under win32: Don't treat names as
4348 UNC names if a drive letter has been specified. If a drive has
4349 been specified, strip out extra directory-seperators that
4350 reportedly cause problems under Win95.
4352 1998-07-05 Andy Piper <andyp@parallax.co.uk>
4354 * faces.c (complex_vars_of_faces): for the gui-element face don't
4355 fallback to the default face, instead provide reasonable default
4356 fallbacks that were previously hardcoded elsewhere.
4358 1998-07-06 Olivier Galibert <galibert@pobox.com>
4360 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
4361 when the X server endianness is different than the client's one.
4363 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4365 * eval.c (run_hook_with_args_in_buffer): Check
4366 default (non-buffer-local) value of hook for
4367 nil before treating it as a function. Don't initialize
4368 the `globals' variable twice.
4370 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
4372 * fileio.c: Don't do directory seperator canonicalisation in
4373 substitute-in-file-name because we don't know that the
4374 filename refers to a local file.
4376 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
4378 * process-nt.c (nt_create_process): Try appending the standard
4379 executable file extensions to the filename if none supplied.
4381 1998-06-29 SL Baur <steve@altair.xemacs.org>
4383 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
4385 From Keisuke Mori <ksk@ntts.com>
4387 1998-06-24 Andy Piper <andyp@parallax.co.uk>
4389 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
4390 images if we have masks. This handles the xbm case (have masks)
4391 and avoids overuse of resources in the xpm case (generally no masks).
4392 Don't output small toolbars.
4394 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
4396 * eval.c (run_hook_with_args_in_buffer): Don't treat
4397 the default value of a buffer local hook as a list of
4398 hooks unless it is both a cons and the car of that cons
4401 1998-06-29 SL Baur <steve@altair.xemacs.org>
4403 * extents.c: Email address for Ben Wing is ben@xemacs.org.
4404 * process-unix.c: Ditto.
4405 * mule-coding.h: Ditto.
4406 * mule-coding.c: Ditto.
4407 * mule-charset.c: Ditto.
4408 * mule-charset.h: Ditto.
4409 * file-coding.c: Ditto.
4410 * file-coding.h: Ditto.
4412 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
4414 * event-msw.c: Guard against recursion when freeing
4415 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
4417 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
4418 Call ShowWindow twice in init_frame_3 to get round runemacs
4421 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
4423 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
4425 * winslots.h: Rename.
4427 * window.c (specifier_vars_of_window): Renamed
4428 vertical-divider-draggable-p to vertical-divider-always-visible-p,
4429 as suggested by Ben Wing.
4430 (specifier_vars_of_window): Fix docstrings.
4432 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4434 * unexaix.c: Line number information works correctly again.
4436 1998-06-22 Olivier Galibert <galibert@pobox.com>
4438 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
4440 1998-06-21 Martin Buchholz <martin@xemacs.org>
4442 * editfns.c (get_home_directory): ANSIfy.
4443 XEmacs is compilable under C *and* C++.
4444 It's XEmacs, not Xemacs!
4446 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4448 * console-msw.h: added a list of fonts to device data.
4450 * device-msw.c: enumerate list of available fonts in
4451 mswindows_init_device. Free list in mswindows_delete_device.
4453 * objects-msw.c: Added helper function match_font used by
4454 mswindows_initialize_font_instance and mswindows_list_fonts.
4455 Allow a charset to be specified in a font string, even if
4456 previous fields havn't been specified.
4458 1998-06-23 Greg Klanderman <greg@alphatech.com>
4460 * indent.c (column_at_point): column cache bugfix.
4461 Set last_known_column_point to the buffer position for
4462 which the column was requested, not buffer's point.
4464 * redisplay.c (decode_mode_spec): for current-column, show
4465 window's point's column, not buffer's point's column.
4467 1998-06-23 Andy Piper <andyp@parallax.co.uk>
4469 * menubar-msw.c (mswindows_handle_wm_command): use
4470 enqueue_misc_user event rather than
4471 mswindows_enqueue_msic_user_event to fix customize problems. Add some
4474 * console-msw.h: declare mswindows_enqueue_magic_event.
4476 * event-msw.c (mswindows_enqueue_magic_event): make global.
4478 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
4480 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
4481 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
4482 (add_position_to_cache): Use EMACS_INT instead of int.
4484 1998-06-21 Olivier Galibert <galibert@pobox.com>
4486 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
4487 suitable for an int used as a boolean (btw, C sucks.).
4489 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4491 * object-msw.c: remove warnings.
4493 * device-msw.c: #define wrongly named cygwin structure elements.
4495 * s/cygwin32.h: define DEMI_BOLD
4497 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4499 * redisplay-msw.c: new function mswindows_apply_face_effects.
4500 This is called by output_string and output_cursor to display
4501 underline and strikeout on faces.
4503 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
4505 * console-msw.h: added a list of fonts to device data.
4507 * device-msw.c: enumerate list of available fonts in
4508 mswindows_init_device. Free list in mswindows_delete_device.
4510 * objects-msw.c: Added helper function match_font used by
4511 mswindows_initialize_font_instance and mswindows_list_fonts.
4512 Allow a charset to be specified in a font string, even if
4513 previous fields havn't been specified.
4515 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
4518 Removed compilation warnings from mswindows_string_to_color.
4519 mswindows_list_fonts returns a more general bogus font.
4520 New lisp-visible function mswindows-color-list.
4522 1998-06-19 David Bush <david.bush@adn.alcatel.com>
4524 * editfns.c (Fuser_login_name): Modify to user new function
4526 (user_login_name): C only function to avoid Lisp object overhead
4527 Returns "unknown" instead of nil in Cygwin environment
4529 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
4530 equivalent for current user in Cygwin environment. Use new
4531 function user_login_name to get username.
4533 * lisp.h: Declare user_login_name
4535 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4537 * unexaix.c (make_hdr): Fixed bias computations so debugging info
4539 Some other insignificant nitpicks.
4541 1998-06-18 Andy Piper <andyp@parallax.co.uk>
4543 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
4544 creating the image list and make sure he bk color is transparent.
4546 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
4548 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
4549 completed_timeouts. The timer could have expired.
4551 1998-06-17 Andy Piper <andyp@parallax.co.uk>
4553 * console-msw.h: move XEMACS_RECT_WH inside frame
4554 parameters. define macors to access it.
4556 * frame-msw.c (mswindows_init_frame_1): use new target_rect
4557 parameter to intialise desired sizing. (mswindows_init_frame_2):
4558 enable and size the frame to something sensible when we get
4559 here. (mswindows_set_frame_properites): use new
4560 mswindows_size_frame_internal function and size frame if frame
4561 parameters not just if init is finished - WM_SIZE happens too
4562 early for some specs. (mswindows_size_frame_internal): new
4563 function abstracted from mswindows_set_frame_properties.
4564 (Vmswindows_use_system_frame_size_defaults):
4565 new variable controls whether to allow the system to pick frame
4566 size defaults, defaults to nil.
4568 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
4569 than duplicated code.
4571 1998-06-15 Colin Rafferty <colin@xemacs.org>
4573 * Makefile.in.in: Made EXTW_LINK expand properly.
4575 1998-06-12 Martin Buchholz <martin@xemacs.org>
4577 * redisplay.c (vars_of_redisplay): default value of
4578 column-number-start-at-one should be NIL!
4580 1998-06-11 Martin Buchholz <martin@xemacs.org>
4583 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
4585 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
4587 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
4588 build_string to avoid crashes under Mule.
4590 1998-06-13 Andy Piper <andyp@parallax.co.uk>
4592 * ntplay.c (play_sound_data_1): don't delete the sound data until
4593 the next sound is played and the previous one finished.
4595 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
4597 * fileio.c (directory-sep-char): Escape backslashes.
4599 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
4601 * event-stream.c: Fix docstring reference.
4603 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
4605 * alloc.c (make_float): Remove useless initialization of `next'
4607 (make_pure_float): Ditto.
4609 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
4611 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4613 * fileio.c (Fmake_directory_internal): Remove conditionals
4614 on WINDOWSNT when calling mkdir.
4616 * ntproc.c: Deleted the following unused functions:
4617 register_child, reap_subprocess, sys_wait.
4619 * nt.c (sys_rename): Ifzeroed this implementation.
4620 Deleted the following unused functions:
4621 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
4622 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
4623 sys_read, sys_write.
4624 Merger sys_fopen and sys_open with sysdep.c implementation.
4626 * sysdep.c: Removed MS-DOS code.
4627 (sys_rename): Deal with Microsoft rename weirdness.
4628 (sys_open): Implemented for Windows.
4632 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
4634 * buffer.c (complex_vars_of_buffer): Removed %t description from
4637 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4639 * scrollbar-msw.c: initialize the cbSize element of the
4640 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
4641 to ignore the value of cbSize, but Win95 (and I presume Win98)
4642 appear to want it set to sizeof(SCROLLINFO).
4644 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
4646 * event-stream.c: Defined Qcancel_mode_internal.
4647 (syms_of_event_stream): defsymbol'ed it.
4649 * events.h: Externed it.
4651 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
4653 1998-06-04 Oliver Graf <ograf@fga.de>
4655 * frame-x.c (x_cde_destroy_callback): free the data
4656 (cde-start-drag-internal) corrected root position, 21.1 needs this
4657 hardcoded in Button events
4658 (offix-start-drag-internal) corrected root position
4660 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4662 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
4665 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
4667 * dialog-msw.c (button_width): Removed `inline' from the function
4670 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
4672 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
4673 Note that adding this flag to subsequent frames causes problems.
4675 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4677 * glyphs-eimage.c (png_instantiate) move 'struct
4678 png_memory_storage tbr' out of nested block to avoid dangling
4681 1998-06-02 Andy Piper <andyp@parallax.co.uk>
4684 * faces.c: rename 3d-object -> gui-element. add toolbar face which
4685 inherits from gui-element.
4687 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
4688 with existing code, generate masks correctly.
4690 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
4692 * glyphs-eimage.c: Changed included header for gifs to use
4693 Gifreader instead of giflib.
4695 * glyphs-x.c: removed the image-related functions that were
4696 moved into glyphs-eimage.
4698 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
4700 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
4701 if built without X Windows support.
4703 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
4705 * fns.c (Fconcat): Synch docstring with new reality.
4707 1998-06-03 SL Baur <steve@altair.xemacs.org>
4709 * frame.c: Remove reference to msdos.h (which is going away).
4710 Suggested by Hrvoje Niksic and Kirill Katsnelson.
4712 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
4714 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
4718 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4720 * events.h: Fixed commentary about misc-user scrollbar events.
4722 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
4723 object as an event channel, instead of window object.
4724 (x_update_horizontal_scrollbar_callback): Ditto.
4726 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4728 * ntplay.c (play_sound_data_1) new function. convert alloca data
4729 to malloc if necessary.
4730 (play_sound_file): if the file is not in our path then convert to
4733 1998-06-01 SL Baur <steve@altair.xemacs.org>
4735 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
4736 * msdos.c (Frecent_doskeys): Ditto.
4738 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
4739 Suggested by Reggie Perry <perry@zso.dec.com>
4741 * buffer.h: Eliminate size in declaration.
4743 1998-06-01 Olivier Galibert <galibert@pobox.com>
4745 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
4747 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
4749 * gui.c (gui_item_init): Changed the default value for config member
4750 from Qunbound to Qnil.
4752 1998-06-01 Greg Klanderman <greg@alphatech.com>
4754 * indent.c (vmotion_pixels): Don't #define abs().
4756 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4758 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
4761 1998-05-30 Andy Piper <andyp@parallax.co.uk>
4763 * glyphs.h: add xbm declarations.
4765 * console.h: add xbm_instantiate_method device method.
4767 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
4768 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
4769 (xbm_possible_dest_types): moved here from glyphs-x.c. use
4770 locate_pixmap_file device method and read_bitmap_data_from_file
4771 instead of XmuReadBitmapDataFromFile.
4772 (xbm_instatntiate): make a device method.
4774 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
4775 new function that just calls XmuReadBitmapDataFromFile.
4776 (x_xbm_instatntiate): device method from xbm_instantiate.
4778 * glyphs-msw.c (read_bitmap_data) (NextInt)
4779 (read_bitmap_data_from_file): new functions copied from Xmu
4781 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
4782 inline data to an mswindows bitmap.
4783 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
4784 (mswindows_xbm_instantiate): mswindows-ized versions of the X
4787 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4789 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
4790 `modeline-visible-p'.
4791 Declared specifier lisp variables at the beginning oh the file
4794 * procimpl.h (struct process_methods): Changed semantics of
4795 create_process method so it accepts lisp strings instead of
4798 * process.c (Fstart_process_internal): Moved building of
4799 unix style argv from here to process-unix.c, ...
4801 * process-unix.c (unix_create_process): ... right here.
4803 * process-nt.c (nt_create_process): Changed this function to
4804 support new semantics, so avoided a GC problem.
4806 * events.c (Fmake_event): Document misc-user events properties.
4807 (Fmake_event): Do not allow arbitrary objects for channel property
4808 of misc-user events.
4809 (Fmake_event): Change misc-user event validation: it is function
4810 which is required, not button.
4812 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
4814 (mswindows_enqueue_misc_user_event): Added function.
4815 (mswindows_bump_queue): Removed function.
4816 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
4817 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
4818 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
4819 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
4820 really nothing, which is my personal favorite thing.
4822 * console-msw.h: Removed prototype for mswindows_bump_queue().
4823 Added prototype for mswindows_enqueue_misc_user_event().
4825 * menubar-msw.c (mswindows_handle_wm_command): Use
4826 mswindows_enqueue_misc_user_event().
4828 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4830 * dialog-msw.c (dialog_proc): Ditto.
4832 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
4833 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
4834 user events channel.
4836 1998-05-29 Greg Klanderman <greg@alphatech.com>
4838 * window.c (Fwindow_displayed_text_pixel_height): was relying on
4839 incorrect semantics of vmotion_pixels which has been fixed. don't
4840 use it anymore as it can't easily be used.
4842 * indent.c (vmotion_pixels): fix off by one bug moving up. also
4843 the motion was reported incorrectly if you tried to go past end of
4846 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4848 * toolbar.h: Removed misleading commentary, as Martin suggested.
4850 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
4852 * lisp.h: Extern Qactivate_menubar_hook.
4854 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
4857 1998-05-29 Andy Piper <andyp@parallax.co.uk>
4859 * glyphs-msw.c: use BPLINE macro.
4861 * select-msw.c (mswindows-selection-exists-p)
4862 (mswindows-delete-selection): doc string fixes.
4864 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
4865 unpressable. warning elimination.
4867 1998-05-28 Martin Buchholz <martin@xemacs.org>
4869 * alloc.c (dbg_constants):
4872 Remove toolbar_data debugging code, since that lrecord has
4875 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
4877 * alloc.c: zap cached value of (user-home-directory), so that
4880 * buffer.c: From init_buffer(), separated out code that
4881 determined the initial directory for the *scratch* buffer, and
4882 put them into a function called "init_initial_directory()".
4883 The initial directory is now available as a global "char *"
4884 called initial_directory.
4886 * buffer.h: Added extern entries for initial_directory[] and
4887 init_initial_directory().
4889 * editfns.c: added new elisp function "user-home-directory",
4890 which basically returns getenv("HOME"), but attempts to use
4891 other values if $HOME isn't set.This may have to be tweaked in
4892 the future as, under Unix, "/" is used if $HOME isn't set (this
4893 probably should be set to the current directory). To support
4894 this, a new C function, "get_home_directory()", now exists,
4895 which returns the "home directory", as a "char *" string.
4897 * emacs.c: Rearrange NT initialization order so that
4898 environment/registry variables will be properly entered into
4899 Vprocess_enviroment.
4901 * fileio.c: replaced egetenv("HOME") with calls to the new
4902 get_home_directory().
4904 * lisp.h: Added function prototypes for uncache_home_directory()
4905 and get_home_directory(), along with lisp prototypes for
4906 Fuser_home_directory() and friends.
4908 * nt.c: replaced getenv("HOME") with calls to the new
4909 get_home_directory().
4911 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
4912 warnings about getcwd(), etc. not having prototypes.
4914 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
4916 * process-nt.c (send_signal): Emulate SIGHUP.
4917 (validate_signal_number): Ditto.
4919 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
4920 remove MOD_SHIFT from ASCII characters.
4921 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
4924 1998-05-24 Oliver Graf <ograf@fga.de>
4926 * frame-x.c (cde-start-drag-internal): added filename and multi-
4928 (x_cde_convert_callback) dito
4930 1998-05-26 Oliver Graf <ograf@fga.de>
4932 * frame-x.c: include event-mod.h also with CDE
4933 (x_cde_convert_callback) made the thing working
4934 (cde-start-drag-internal) also debugging
4936 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
4943 - add __OpenBSD__ where __NetBSD__ was found.
4944 - TODO: replace platform-specific conditional compilation by
4945 feature tests in configure.in.
4947 1998-05-15 Greg Klanderman <greg@alphatech.com>
4949 * window.c (Fwindow_displayed_text_pixel_height): New function.
4950 (syms_of_window): DEFSUBR it.
4952 * indent.c (Fvertical_motion_pixels): New function - request
4954 (vmotion_pixels): helper.
4955 (syms_of_indent): DEFSUBR.
4956 * lisp.h: declaration for vmotion_pixels().
4958 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
4959 to request returning motion in pixels.
4960 (Fvertical_motion_pixels): Remove, functionality merged into
4962 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
4963 (Fmove_to_window_line): ditto.
4964 * lisp.h: Change declaration for Fvertical_motion.
4966 * window.c: rename window-text-pixel-{height,width,edges} to
4967 window-text-area-pixel-*.
4969 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4971 * tooltalk.c (vars_of_tooltalk) added staticpro for
4972 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
4974 1998-05-27 Andy Piper <andyp@parallax.co.uk>
4976 * faces.c: create a new 3d_object_face, make modeline and
4977 vertical_divider faces fallback to this rather than the default.
4979 1998-05-21 Andy Piper <andyp@parallax.co.uk>
4981 * s/cygwin32.h: define charsets for cygwin.
4983 1998-05-25 Andy Piper <andyp@parallax.co.uk>
4985 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
4986 and coordinates. resize bitmaps if we have already settled on a
4989 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
4991 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
4993 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
4995 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
4999 * gui-x.c (popup_selection_callback): Ditto.
5001 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5003 * gui.c (get_callback): Renamed to get_gui_callback.
5005 1998-05-17 Martin Buchholz <martin@xemacs.org>
5007 * glyphs.h: order rearrangement.
5009 * device-tty.c (tty_asynch_device_change): Warning suppression.
5010 * device-x.c (x_device_system_metrics): Warning suppression.
5011 Make Doc strings consistent with coding standards.
5013 1998-05-24 Martin Buchholz <martin@xemacs.org>
5015 * general.c: multiple definition of `Qicon'. general.c seems
5016 like a good home for Qicon.
5018 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5020 * This patch is to fix compilation warnings under Windows.
5022 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5023 Added prototypes for FSF inherited functions, with which XEmacs is
5024 sprinkled thoroughly.
5025 Removed some #if 0 code. Bracketed some more definitions, probably
5026 related to Visual C versions prior to 4 (we do not support them).
5028 * sysfloat.h (logb): Finally, get logb() prototyped.
5030 * sysfile.h: Added Windows specific includes.
5031 Removed old Windows specific code bracketed with #if 0.
5033 * sysdep.h: Added prototype for xrealpath().
5035 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
5037 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
5038 vars_of_dired_mswindows and init_ntproc (Grrr).
5040 * realpath.c: Added Windows specific include files.
5041 (xrealpath): Conditionalized declaration of some auto variables on
5042 S_IFLNK, to avoid warnings.
5044 * ntproc.c: Disabled some compiler warnings. This file is going to
5045 die, so I have not cleaned it up much.
5046 (set_process_dir): Const parameter.
5047 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
5048 (Fwin32_long_file_name): Ditto.
5049 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
5052 * nt.h: Added prototypes for set_process_dir and convert_time.
5054 * nt.c: More include files.
5055 (getpwnam): Consted char* argument.
5056 (get_emacs_configuration): Const return value.
5057 (opendir): Const argument.
5058 (stat): Casted converstion long->short.
5059 (stat): Removed ad hoc and questionable support for non-MSC compile.
5060 (sys_pipe): Removed unused auto variable.
5061 (_sys_read_ahead): Removed calls to DebPrint.
5062 (sys_read): Ditto, in 2 places.
5063 (term_ntproc): Added unused int parameter to signal handler, to
5064 avoid a warning when compiling a call to signal().
5065 (msw_sigset): Properly return old signandler or NULL instead of void.
5067 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
5069 * gmalloc.c (morecore): Ditto.
5070 (_free_internal): Ditto.
5072 * lread.c (parse_integer): Ditto.
5074 * dired-msw.c: Added several include files.
5076 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
5077 of Compilers to Shut Up.
5079 * callproc.c: Added #includes to suppress warnings under Windows.
5080 (init_callproc): Removed #if0'ed code and unused variables.
5082 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5084 * device-msw.c (mswindows_device_system_metrics): do planes in a
5085 way consistent with X.
5087 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
5088 use SetPixel, use DIBits functions.
5089 (xpm_to_eimage): frob colors more closely like xpm deos.
5091 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
5092 to be closer to X version.
5094 * event-msw.c: use tooltip string directly.
5096 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
5098 * objects-msw.c: frob rgb colors that only Kyle uses.
5100 * dialog-msw.c (button_width): INLINE -> inline.
5102 1998-05-23 SL Baur <steve@altair.xemacs.org>
5104 * getloadavg.c (getloadavg): Fix typo.
5106 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5108 * objects-msw.c (mswindows_initialize_font_instance): Added support
5109 for font character sets.
5110 Replaced 'XXX' with '####' in comments throughout the file.
5112 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
5114 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
5115 console_type_create_dialog_mswindows(), to initialize Windows dialog
5118 * symsinit.h: Prototyped the above functions.
5120 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
5121 checks to dialog.c...
5123 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
5124 device must support dialog boxes, and the descriptor must supply at
5127 * dialog-msw.c: New file, dialogs for Windows.
5129 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5131 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
5132 (Fldap_search_internal): Removed unused variable `err'
5134 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
5137 1998-05-17 Martin Buchholz <martin@xemacs.org>
5139 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
5140 defined. Therefore there is no need to handle the case when
5141 HAVE_LDAP is undefined. Similarily, there is no reason to have
5142 any code wrapped within `#ifdef emacs', since this code is only
5143 useful within an emacs. This simplifies the code significantly.
5145 * inline.c: Include eldap.h only if HAVE_LDAP.
5146 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
5149 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
5151 * unexnt.c (copy_executable_and_dump_data_section): Suppress
5152 printing dump stats when building without DEBUG_XEMACS.
5153 (dump_bss_and_heap): Ditto.
5155 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5157 * gnuclient.c: don't suppress window system if there is no display
5158 and we are running under mswindows. send 'mswindows device type if
5159 we are in this situation.
5161 1998-05-20 Andy Piper <andyp@parallax.co.uk>
5164 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
5166 * glyphs-msw.c: change cursor imgae type name to resource. Fix
5169 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5171 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
5172 {top,bottom}-{left,right} values in addition to
5173 {top,bottom}_{left,right}.
5175 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
5177 * fileio.c (Fmake_temp_name): Remove unreached code.
5179 * process-nt.c (validate_signal_number): Use
5180 signal_simple_error().
5182 1998-05-19 Martin Buchholz <martin@xemacs.org>
5185 * sound.c (vars_of_sound):
5186 * sysdep.c (reset_sigio_on_device):
5187 * window.c (window_bottom_gutter_height):
5188 unexhp9k800.c:258: warning: implicit declaration of function
5189 `calculate_checksum'
5190 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
5191 sysdep.c:1012: warning: unused variable `owner'
5192 window.c:993: warning: `window_right_toolbar_width' defined but not used
5194 1998-05-19 Andy Piper <andyp@parallax.co.uk>
5196 * glyphs-msw.c (mswindows_create_resized_mask)
5197 (mswindows_create_resized_bitmap): new funnctions split out from
5198 mswindows_resize_dibitmap_instance.
5200 * glyphs-msw.h: declare new resize functions.
5202 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
5203 functions so that the original bitmaps are preserved.
5205 * sheap.c: fixup static heap exhausted error to avoid FAQs.
5207 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
5208 color if we are trying to output 0 depth bg pixmap.
5210 * scrollbar-msw.c: warning elimination.
5212 1998-05-18 Martin Buchholz <martin@xemacs.org>
5214 * frame-x.c (x_update_frame_external_traits): Start preprocessor
5215 directives in column 1.
5217 * search.c (skip_chars): Avoid using xzero with arrays, since some
5218 compilers get confused by the construct &array.
5220 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5223 * objects-msw.c: Changed the charset value for a new font from
5224 "don't care" to "ansi".
5226 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
5228 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5230 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
5231 modifier on control chars.
5232 Use IsCharAlpha() instead of isaplha().
5234 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5236 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
5238 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5240 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
5241 charset when creating font.
5242 (mswindows_initialize_color_instance): Do not create brush along
5244 (mswindows_finalize_color_instance): Do not delete it then.
5246 * objects-msw.h (struct mswindows_color_instance_data): Removed
5247 brush slot, and corresponding accessor macro.
5249 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
5251 * toolbar.c: Removed toolbar_data lrecord implementation.
5252 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
5253 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
5254 (compute_frame_toolbar_buttons): Ditto.
5255 (CHECK_TOOLBAR): Ditto.
5256 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
5257 (update_frame_toolbars): Do not check for changed buffer
5258 here. Toolbar information is provided by cached specs in
5259 windows. The check for buffer is eliminated becuase toolbars are
5260 marked changed in set_frame_selected_window() in frame.c
5261 Added check for changed toolbars geometry.
5262 (compute_frame_toolbars_data): Removed unused second parameter;
5263 Adjusted callers of this static function throughout the file.
5264 (init_frame_toolbars): Initialize current_toolbar_size.
5265 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
5266 what is its current expansion, for clarity.
5267 (init_frame_toolbars): Ditto.
5268 (init_device_toolbars): Ditto.
5269 (init_global_toolbars): Ditto.
5271 * toolbar.h: Removed definition of toolbar_data lrecord.
5272 Added accessor macros FRAME_TOOLBAR_BUTTONS and
5273 FRAME_CURRENT_TOOLBAR_SIZE.
5274 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
5276 * toolbar-x.c (x_output_toolbar): The same change as in
5278 (x_output_toolbar): Ditto.
5279 (x_redraw_exposed_toolbar): Ditto.
5281 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
5282 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
5283 (mswindows_output_toolbar): Ditto.
5284 (mswindows_output_toolbar): Ditto.
5286 * frame.c (mark_frame): Removed marking of arrays, according to
5287 frameslots.h change.
5288 (nuke_all_frame_slots): Ditto.
5289 (set_frame_selected_window): Mark toolbars changed when
5290 last_nonminibuf_window changes.
5292 * frame.h (struct frame): Moved some slots to frameslots.h.
5293 Added current_toolbar_size array.
5294 Changed references from toolbar_data to toolbar_buttons in macros
5295 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
5296 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
5297 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
5299 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
5300 Moved arrays of lisp objects here from frame.h: toolbar_size,
5301 toolbar_visible_p, toolbar_border_width.
5302 Removed toolbar_data slot and added toolbar_buttons.
5304 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
5306 * symsinit.h: Externed syms_of_process_nt()
5308 * emacs.c (main_1): Call syms_of_process_nt()
5310 * process-nt.c: Quote process arguments by a call to Lisp function
5311 `nt-quote-process-args'.
5312 (syms_of_process_nt): New function.
5313 (nt_send_process): Flush data stream after each write, to avoid
5314 leaving buffered data.
5315 (nt_send_process): When blocked on process output, wait for
5316 process to slurp more for progressively increasing time intervals.
5318 1998-05-17 Martin Buchholz <martin@xemacs.org>
5320 * window.c (have_undivided_common_edge): Make file-local function
5322 (map_windows): Return 0 if all map functions successful.
5325 * winslots.h: Use unlikely names for local variables in macros to
5326 avoid shadowing warnings.
5328 1998-05-17 Andy Piper <andyp@parallax.co.uk>
5330 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
5331 so that we re-output if the toolbar size has changed.
5333 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5335 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
5337 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
5339 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
5342 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5344 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
5345 get bitmap manifest constants defined.
5347 * console-msw.h: Include system files in angle brackets, not in
5350 * window.c (specifier_vars_of_window): Fixed a typo in
5351 `vertical-divider-line-width' docstirng.
5353 1998-05-16 Olivier Galibert <galibert@pobox.com>
5355 * line-number.c (delete_invalidate_line_number_cache): Use an
5357 (buffer_line_number): Remove dangerous, plain wrong when using
5358 64bits emacs ints, cast.
5360 * insdel.c (buffer_delete_range): Use an EMACS_INT.
5362 * cmds.c (Fforward_line): Use EMACS_INTs.
5364 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
5365 (scan_buffer): Ditto.
5366 (bi_find_next_newline_no_quit): Remove useless cast.
5367 (find_next_newline_no_quit): Ditto.
5368 (find_next_newline): Ditto.
5369 (find_before_next_newline): Use an EMACS_INT.
5371 * lisp.h: Change scan_buffer to pass EMACS_INTs.
5373 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5375 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5377 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5379 * gui-x.c (popup_selection_callback): Use it.
5381 * gui.h (get_callback): Declare it.
5383 * gui.c (get_callback): New function.
5385 1998-05-15 SL Baur <steve@altair.xemacs.org>
5387 * window.c (have_undivided_common_edge): Guard scrollbar specific
5389 (window_needs_vertical_divider_1): Ditto.
5391 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
5393 * emacs.c (decode_path): Eliminate compiler warning.
5394 (Fdecode_path): Renamed to Fsplit_path.
5395 (Fsplit_string_by_char): New function.
5397 1998-05-14 Damon Lipparelli <lipp@primus.com>
5399 * winslots.h: close comment
5401 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5403 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5405 * bufslots.h: Removed buffer_file_type slot.
5407 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
5409 (complex_vars_of_buffer): Removed buffer-file-type variable and
5410 its default reference.
5412 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5414 * faces.c (complex_vars_of_faces): Defined
5415 Vvertical_divider_face.
5416 (vars_of_faces): Staticpro it.
5418 * faces.h: Externed Vvertical_divider_face.
5420 * redisplay-x.c (x_output_vertical_divider): Use
5421 Vvertical_divider_face to draw the divider instead of modeline
5424 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
5425 divider face using Vvertical_divider_face background.
5426 Fix drawing spacing gaps around the divider.
5428 1998-05-14 Didier Verna <verna@inf.enst.fr>
5430 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
5431 values for the vertical divider line width and spacing. Use the
5432 cached values from the window structure instead.
5433 (x_divider_width): ditto.
5435 * window.c (specifier_vars_of_window): new specifiers:
5436 vertical-divier -line-width and -spacing.
5437 (vertical_divider_global_width_changed): formerly known as
5438 vertical_divider_shadow_thickness_changed.
5440 * winslots.h: new slots: vertical_specifier _line_width and
5441 _spacing. Plus corrected a comment typo.
5443 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5445 * window.h: Declared window_divider_width().
5447 * console-stream.c (stream_divider_width): Removed method.
5448 (console_type_create_stream): And declaration for it.
5450 * redisplay.c (pixel_to_glyph_translation): Use
5451 window_divider_width() instead of divider_width redisplay method.
5452 (pixel_to_glyph_translation): Fix top divider edge calculation
5453 when scrollbar is on top.
5455 * window.c (window_divider_width): New function, an outphaser for
5456 divider_width redisplay method.
5457 (window_right_gutter_width): Use it.
5458 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
5459 specifiers, set fallback values differently on TTYs, and document
5460 the behavior of these on TTYs in the docstrings.
5462 * scrollbar.c (update_scrollbar_instance): Use
5463 window_divider_width() instead of divider_width redisplay method.
5465 * console.h (struct console_methods): Removed divider_width_method.
5467 * redisplay-tty.c (tty_divider_width): Removed device method.
5468 (console_type_create_redisplay_tty): Removed definition for it.
5469 (tty_output_vertical_divider): Respect the value returned by
5470 window_divider_width thus divider line width specification.
5472 * redisplay-msw.c (mswindows_divider_width): Removed device method.
5473 (console_type_create_redisplay_mswindows): Removed definition for it.
5474 (mswinodws_output_vertical_divider): Respect the value returned by
5475 window_divider_width thus divider line width specification.
5477 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5479 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
5481 1998-05-15 Andy Piper <andyp@parallax.co.uk>
5483 * glyphs-msw.c: resource loading implementation.
5484 (cursor_normalize): new function.
5485 (cursor_validate): ditto.
5486 (cursor_instantiate): ditto.
5487 (cursor_name_to_resource): ditto.
5488 (cursor_possible_dest_types): ditto.
5489 (check_valid_symbol): ditto.
5490 (check_valid_string_or_int): ditto.
5492 1998-05-14 Martin Buchholz <martin@xemacs.org>
5494 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
5497 * process-unix.c (process_signal_char): Use VSUSP instead of
5498 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
5500 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5502 * specifier.c (specifier_instance): Change locale precedence of
5503 instantiation so window locale has higher priority than buffer
5505 (Fspecifier_instance): Reflect this in docstring.
5506 (Fadd_spec_list_to_specifier): Ditto.
5507 (Fadd_spec_to_specifier): Ditto.
5508 (Fremove_specifier): Ditto.
5510 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5512 ** Dialog separation into a device method from Andy Piper
5514 * emacs.c (main_1): Call console_type_create_dialog_x().
5516 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
5517 into this device method.
5518 (console_type_create_dialog_x): New function.
5520 * dialog.c (Fpopup_dialog_box): New function.
5521 (syms_of_dialog): Defsubr it.
5523 * console.h (struct console_methods): Declared
5524 popup_dialog_box_method().
5526 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
5528 1998-05-14 Oliver Graf <ograf@fga.de>
5530 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
5531 * frame-x.c (x_cde_transfer_callback): checked for merge errors
5533 1998-05-13 Oliver Graf <ograf@fga.de>
5535 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
5537 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
5539 * console.h (device_metrics): Removed dbcs, input-method-editor
5540 and right-to-left metrics.
5542 * device.c (Fdevice_system_metric): Ditto.
5543 (Fdevice_system_metrics): Ditto.
5544 (syms_of_device): Ditto.
5545 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
5548 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5550 * line-number.h (mark_line_number_cache): Remove unused
5553 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
5554 (get_nearest_line_number): Simplify.
5555 (add_position_to_cache): Make the old marker point nowhere.
5557 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5559 ** Renamed window-divider-map => vertical-divider-map
5560 and event-over-divider-p => event-over-vertical-divider-p,
5561 in the following files/functions:
5563 * events.c (Fevent_over_divider_p):
5564 * keymap.c (get_relevant_keymaps):
5567 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
5569 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
5571 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5573 * window.c (vertical_divider_changed_in_window): Renamed so.
5574 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
5575 (window_needs_vertical_divider_1): Decide whether we need it based
5576 on the value of the above specifier. If separators are unwanted,
5577 put them only if there's no scrollbar between this window and its
5579 (have_undivided_common_edge): New function, helper for the above.
5580 (window_needs_vertical_divider): Return either a cached value,
5581 or clauclate and cache one.
5582 (invalidate_vertical_divider_cache_in_window): Implemented.
5583 (map_windows): Changed return type to int, return the value from
5586 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
5587 (struct window): Added need_vertical_divider_p and
5588 need_vertical_divider_valid_p.
5590 * winslots.h: Added vertical_divider_draggable_p slot.
5592 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
5593 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
5595 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
5597 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
5598 invalidate_vertical_divider_cache_in_frame().
5601 1998-05-14 Andy Piper <andyp@parallax.co.uk>
5603 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
5605 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
5606 masks correctly and don't select 0.
5608 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5610 * winslots.h: New file, declaration of some struct window and
5611 struct saved_window members.
5613 * window.h (struct window): Include it, with required preprocessor
5616 * window.c (mark_window): Ditto.
5617 (allocate_window): Ditto.
5618 (struct saved_window): Ditto.
5619 (mark_window_config): Ditto.
5620 (saved_window_equal): Ditto.
5621 (Fset_window_configuration): Ditto.
5623 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5625 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
5627 1998-05-12 Didier Verna <verna@inf.enst.fr>
5629 * redisplay-x.c (x_output_vertical_divider): draw shadows around
5630 the divider line. The shadow thickness is currently
5631 hard-wired. This will probably be turned into a specifier soon.
5633 1998-05-12 Didier Verna <verna@inf.enst.fr>
5635 * console.h (struct console_methods): the divider_width console
5636 method now requires a struct window * argument.
5638 * redisplay-x.c (x_divider_width): ditto. Plus remove
5639 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
5640 (x_output_vertical_divider): give a depressed look when the shadow
5641 thickness is negative.
5643 * console-stream.c (stream_divider_width): pass a struct window *
5646 * redisplay-tty.c (tty_divider_width): ditto.
5648 * window.c (window_right_gutter_width): totdi.
5650 * redisplay.c (generate_modeline): ittod.
5652 * scrollbar.c (update_scrollbar_instance): ttido.
5654 * redisplay-msw.c (mswindows_divider_width): ottid.
5655 WARNING: this enables to compile, but the feature is not functional.
5657 * window.h (struct window): new field
5658 vertical_divider_shadow_thickness.
5660 * window.c (specifier_vars_of_window): new specifier
5661 vertical-divider-shadow-thickness.
5662 (vertical_divider_shadow_thickness_changed): new function to
5663 inform redisplay that the window has changed.
5664 (mark_window): handle new field vertical_divider_shadow_thickness
5666 (allocate_window): ditto.
5667 (saved_window_equal): toddi.
5668 (Fset_window_configuration): totid.
5669 (save_window_save): ttdio.
5670 (struct saved_window): new field vertical_divider_shadow_thickness.
5672 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
5674 * device-msw.c (mswindows_device_system_metrics): Support a deluge
5677 1998-05-12 Oliver Graf <ograf@fga.de>
5679 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
5680 * event-Xt.c (x_event_to_emacs_event): C++ compability
5682 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5684 * emacs.c (Fdecode_path): Default SEPCHAR to value of
5687 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5689 * emacs.c (vars_of_emacs): Do it here; change the meaning of
5692 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
5694 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
5696 * emacs.c (decode_path_1): New function.
5697 (decode_path): Use it.
5698 (Fdecode_path): Renamed from Fdecode_path_internal; use
5701 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5703 * macros.c (Fzap_last_kbd_macro_event): New function.
5704 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
5706 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5708 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
5709 multiple bitmaps are output vertically as well as horizontally.
5710 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
5711 crossing lines this is handled by
5712 mswindows_output_dibitmap_region.
5714 1998-05-12 Martin Buchholz <martin@xemacs.org>
5716 * inline.c: Include eldap.h
5718 * menubar-x.c (x_update_frame_menubar_internal):
5719 Remove: unused variable `container'
5721 1998-05-11 Martin Buchholz <martin@xemacs.org>
5723 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
5724 Unfortunately, the resulting temacs still cannot dump.
5726 * symbols.c (symbol_is_constant):
5727 (verify_ok_for_buffer_local):
5728 -Wswitch Warning suppression - add default case to switches.
5730 * redisplay.c (decode_mode_spec): Remove unused variables,
5731 Replace Fcoding_system_property (codesys, Qmnemonic) with
5732 XCODING_SYSTEM_MNEMONIC (codesys);
5733 Fcoding_system_property is for users.
5739 Change empty docstrings into no doc strings at all.
5740 Fix bogus FSF-format docstrings.
5743 Standardize docstrings.
5746 Explain problems with matherr.
5748 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
5751 if BROKEN_SIGIO, then SIGIO wants to be undefined.
5752 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
5753 Fix the weird resultant interaction (causes windows problems)
5757 Take new EMACSBOOTSTRAPLOADPATH into account.
5758 Update documentation strings
5761 - Adjust for luser's CDPATH being set to something weird.
5762 - Take into account bash 2.02's tendency to print the cwd when
5763 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
5764 - fix the run-temacs target to use $(DUMPENV)
5765 - fix the run-puremacs target to use $(DUMPENV)
5766 - fix the `depend' target to properly $(RM) the right files
5767 - Generate a better TAGS file for XEmacs' lisp code using
5768 hand-crafted regexps.
5769 - Use standard coding conventions for modules/Makefile.in
5771 1998-05-12 Didier Verna <verna@inf.enst.fr>
5773 * redisplay.c: removed the scrolling modeline code that didn't
5774 make it for 21.0. To be continued ...
5776 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5778 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
5779 and empty string inputs.
5781 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
5783 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
5785 1998-05-10 Oliver Graf <ograf@fga.de>
5787 * event-stream.c (enqueue_misc_user_event_pos): created
5788 * lisp.h (enqueue_misc_user_event_pos): prototype added
5789 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
5790 * emacs.c: call vars_of_dragdrop
5791 * dragdrop.c (vars_of_dragdrop): provide dragdrop
5793 1998-05-11 Oliver Graf <ograf@fga.de>
5795 * frame-x.c (x_cde_transfer_callback): return at correct pos
5796 * event-Xt.c (x_event_to_emacs_event): changed format of drop
5797 object for MIME (see comment in dragdrop.c)
5798 * dragdrop.c: API change documented in comment
5799 removed provide of dragdrop [is provided by dragdrop.el]
5801 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5803 * window.c (window_needs_vertical_divider): Enable vertical
5804 dividers for every non-rightmost window.
5805 (window_left_gutter_width): Left gutter consists of mythical
5806 toolbar and a virtual scrollbar.
5807 (window_right_gutter_width): The right one may have a divider
5810 * scrollbar.c (update_scrollbar_instance): Position vertical
5811 scrollbar left to divider if the latter present.
5813 * redisplay.h: Declared OVER_DIVIER constant.
5815 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
5818 * redisplay-x.c (x_output_vertical_divider): Output divider along
5819 the right side of the window, down to window bottom. Swapped
5820 foreground and background colors so it is visible by default.
5822 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
5823 stick the divider to the right window side.
5825 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
5827 (mswindows_divider_width): Ask system for user preferred value.
5828 (mswindows_output_vertical_divider): Always output the divider on
5829 the right side of a window, down to bottom.
5831 * keymap.c (get_relevant_keymaps): Route mouse button events which
5832 happened over a window divider through window-divider-map.
5833 (Fkey_binding): Documented that in the docstring.
5834 Defined the variable Vwindow_divider_map.
5836 * events.c (Fevent_over_divider_p): Added this function.
5838 * events.h: EXFUNed it.
5840 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
5842 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
5843 toolbar geometry is suspected to change.
5845 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5849 Condition dnd and dde code on HAVE_DRAGNDROP.
5851 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5853 * events.c (format_event_object): Print space as SPC etc.
5855 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5857 * print.c (print_internal): In the default case, abort() if
5858 ERROR_CHECK_TYPECHECK.
5860 * fileio.c (Fmake_temp_name): Doc fix.
5862 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5864 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
5866 * undo.c (Fprimitive_undo): Fixed typo.
5868 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
5870 * fns.c (concat): Signal error on integer argument.
5872 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
5874 * console.h (device_metrics): Prefixed each constatnt with DM_
5876 * device.c: (Fdevice_system_metric): Renamed so from plural form
5877 (metrics); Changed parameters order and added DEFAULT parameter;
5878 Unabbreviated some metric constants; Fixed and untabified doc string.
5879 (Fdevice_system_metrics): Added. Returns a plist of all provided
5882 * device-msw.c (mswindows_device_system_metrics): Renamed
5883 device_metrics enum constants.
5884 Return Qunbound instead of Qnil.
5886 * device-tty.c (tty_device_system_metrics): Ditto.
5888 * device-x.c (x_device_system_metrics): Ditto.
5890 1998-05-10 Andy Piper <andyp@parallax.co.uk>
5892 * redisplay-msw.c: implement background pixmaps (really!). Make
5893 sure bg color is transparent if we have bg pmaps.
5894 * (mswindows_output_string) (mswindows_clear_region): output bg
5896 * (mswindows_output_dibitmap_region): new function.
5897 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
5898 the bg color rather than transparently.
5900 * toolbar-msw.c: use masks if they exist.
5902 * glyphs-msw.c: set up masks correctly.
5904 * event-msw.c: typedef SOCKET if cygwin and not msg select().
5906 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5908 * regex.c (re_match_2_internal): Check for quit.
5910 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
5912 * frame.c (Ffocus_frame): New function.