comparison src/ChangeLog.2 @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents
children 2f8bb876ab1d
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
1 2000-01-09 Norbert Koch <norbert@s.netic.de>
2
3 * sysfile.h: Remove definition of HAVE_FSYNC. It's tested for
4 in configure.
5
6 2000-01-09 Martin Buchholz <martin@xemacs.org>
7
8 * lisp.h (xfree_1): Make non-public.
9 * (xzero): Use '\0' in memset call for clarity.
10 * (ALIGNOF): Use __alignof__ instead of undocumented __alignof.
11 * alloc.c (allocate_string_chars_struct):
12 (make_uninit_string):
13 (resize_string):
14 (verify_string_chars_integrity):
15 (compact_string_chars): Now only called for small strings.
16 (sweep_strings):
17 String allocation rewrite.
18 Properly handle resizing big strings.
19 Fixes crash when evaluating:
20 (aset (make-string 9003 ??) 1 (make-char 'latin-iso8859-1 57))
21 Use consistent coding convention.
22 Never use xfree_1() directly.
23 General cleanup.
24 (CHARS_TO_STRING_CHAR): Remove. No longer needed.
25 Big strings had unused space at beginning.
26
27 * scrollbar.c (specifier_vars_of_scrollbar):
28 * scrollbar.c (complex_vars_of_scrollbar):
29 * gutter.c (specifier_vars_of_gutter):
30 * menubar.c (specifier_vars_of_menubar):
31 * toolbar.c (specifier_vars_of_toolbar):
32 * glyphs.c (specifier_vars_of_glyphs):
33 * redisplay.c (specifier_vars_of_redisplay):
34 * window.c (specifier_vars_of_window):
35 * lisp.h (slot_offset): Remove slot_offset.
36 Replace all calls to `slot_offset' with the standard name, `offsetof'.
37
38 * menubar-x.c (compute_menubar_data):
39 Remove Fset_buffer(), always called by unwind_protect.
40 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Fiddling.
41 * menubar-x.c (set_frame_menubar): comment fix.
42
43 * keymap.c (lookup_keys): Remove extra parens.
44 * keymap.c (lookup_events): Remove extra parens.
45
46 * dbxrc (run-temacs): Allow function to take arguments.
47
48 * Makefile.in.in (PURIFY_FLAGS): No longer need pointer-mask.
49
50 2000-01-08 Andy Piper <andy@xemacs.org>
51
52 * event-msw.c (mswindows_wnd_proc): don't need to check for widget
53 face anymore.
54
55 * frame.c (change_frame_size_1): use new glyph_* signatures.
56 (frame_conversion_internal): ditto.
57
58 * toolbar-x.c (x_get_button_size): Use modified glyph_*
59 signatures.
60
61 * redisplay.c (add_glyph_rune): Use modified glyph_* signatures.
62 (add_glyph_rune): dittto.
63 (add_margin_runes): ditto.
64 (create_left_glyph_block): ditto.
65 (create_right_glyph_block): ditto.
66 (redisplay_window): ditto.
67
68 * redisplay-output.c (redisplay_output_layout): Use modified
69 glyph_* signatures.
70
71 * glyphs.h: (struct image_instantiator_methods): change signature
72 of query_geometry and layout.
73 (struct Lisp_Image_Instance): Clean up fields for dynamic geometry
74 calculations.
75 (struct expose_ignore): change field types.
76 (struct subwindow_cachel): ditto. declare new functions and
77 accessor macros.
78
79 * glyphs.c: (instantiate_image_instantiator): assign glyph when
80 creating the image instance.
81 (image_instance_hash): fixup for new and deleted fields.
82 (image_instance_equal): ditto.
83 (mark_image_instance): ditto.
84 (print_image_instance): ditto.
85 (allocate_image_instance): zero width and height. assign attached
86 glyph. mark as dirty for future layout.
87 (make_image_instance_1): pass Qnil as the glyph its attached to.
88 (Fimage_instance_height): simply return the height.
89 (Fimage_instance_width): simply return the width.
90 (image_instance_query_geometry): new function. query the image
91 instance's geometry by wiring through to format and device
92 specific methods. fallback on the existing geometry.
93 (image_instance_layout): new function. layout the image instance
94 by querying its geometry and then wiring through to format and
95 device specific methods.
96 (query_string_geometry): new function to decide the bounding box
97 of a string. text glyph geometry calculations moved here.
98 (query_string_font): new function. find out the font for a given
99 string in a given face.
100 (text_query_geometry): return geometry based on
101 quert_string_geometry.
102 (formatted_string_instantiate): call string_instantiate.
103 (image_instantiate): put strings in the per-window cache. Feed the
104 glyph to the instantiated image instance.
105 (glyph_height_internal): deleted.
106 (glyph_width): simply return the required dimension. re-layout if
107 the instance is dirty. Remove references to face_index and
108 frame_face which were only used for strings.
109 (glyph_ascent): ditto.
110 (glyph_descent): ditto.
111 (glyph_height): ditto.
112 (Fglyph_width): use new glyph_width function.
113 (Fglyph_ascent): use new glyph_ascent function.
114 (Fglyph_descent): use new glyph_descent function.
115 (Fglyph_height): use new glyph_height function.
116 (glyph_property_was_changed):
117 (glyph_image_instance_maybe): new function to possible create an
118 image instance from a glyph if we don't have one already.
119 (glyph_dirty_p): use it.
120 (glyph_layout): new function for laying out a glyph.
121 (glyph_query_geometry): new function for finding out the desired
122 geometry of a glyph.
123 (update_glyph_cachel_data): use new glyph_* signatures.
124 (update_subwindow): call resize_subwindow.
125 (map_subwindow): call update_subwindow if the image is dirty.
126 (subwindow_instantiate): add comment.
127 (Fresize_subwindow): don't actually resize the window, just record
128 the values and let update_subwindow handle it.
129 (Fglyph_animated_timeout_handler): use
130 MARK_IMAGE_INSTANCE_CHANGED.
131 (image_instantiator_format_create): declare things with
132 query_geometry and layout functions.
133
134 * glyphs-x.c: (x_update_subwindow): remove widget sizing.
135 (update_widget_face): use query_string_font.
136 (x_widget_set_property): don't return Qt when setting is
137 succesful.
138 (x_combo_box_instantiate): call widget_instantiate rather than
139 widget_instantiate_1.
140
141 * glyphs-widget.c: (widget_face_font_info): deleted.
142 (widget_text_to_pixel_conversion): deleted.
143 (widget_set_property): make sure the new text gets propagated to
144 the image instance.
145 (widget_layout): new function. wire through to device and format
146 specific methods.
147 (widget_query_geometry): new function. wire through to device and
148 format specific methods. fallback on geometry of widget text.
149 (initialize_widget_image_instance): fixup new fields.
150 (widget_instantiate_1): deleted.
151 (tree_view_instantiate): deleted.
152 (tree_view_query_geometry): new function. returns desired sizing
153 of tree view.
154 (tab_control_instantiate): deleted.
155 (tab_control_query_geometry): new function. returns desired sizing
156 of tab.
157 (widget_instantiate): subsume widget_instantiate_1. Fixup geometry
158 things in the light of dynamic layout.
159 (static_instantiate): deleted.
160 (layout_instantiate): use new glyph_* signatures.
161 (image_instantiator_format_create_glyphs_widget): fixup
162 query_geometry and layout declarations for various widgets.
163
164 * glyphs-msw.c: (mswindows_widget_instantiate): add comment.
165 (mswindows_button_instantiate): use query_string_font for geometry
166 calculations.
167 (mswindows_update_subwindow): ditto.
168 (mswindows_combo_box_instantiate): fixup for new geometry
169 management.
170 (mswindows_widget_set_property): Don't return Qt so that other
171 methods can be called.
172
173 2000-01-08 Martin Buchholz <martin@xemacs.org>
174
175 * gdbinit: rename to .gdbinit so that gdb will automatically source it.
176
177 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
178
179 * insdel.c (signal_before_change): Make sure START and END are
180 within the buffer before calling report_extent_modification().
181 (signal_after_change): Ditto for START, NEW_END, and ORIG_END.
182
183 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
184
185 * extents.h: Correct prototype of report_extent_modification().
186
187 * insdel.c (signal_before_change): Place record_unwind_protect()
188 outside MAP_INDIRECT_BUFFERS loops.
189 (signal_after_change): Ditto.
190
191 * extents.c (report_extent_modification): Don't expect pointer to
192 inside_change_hook.
193 (report_extent_modification_mapper): Explain why
194 closure->speccount is almost unused.
195
196 * insdel.c (change_function_restore): Call Fset_buffer only if
197 necessary.
198 (signal_before_change): Don't propagate inside_change_hook to
199 report_extent_modification().
200
201 2000-01-07 Martin Buchholz <martin@xemacs.org>
202
203 * elhash.c (make_general_lisp_hash_table): Remove purify UMR.
204 (hash_table_rehash_threshold): Removed. Update all callers.
205
206 2000-01-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
207
208 * s/windowsnt.h: Fix mail locking stuff.
209
210 * s/aix3-2.h: Remove HAVE_FSYNC which is now autodetected.
211
212 * emacs.c (vars_of_emacs): Added `mail-lock-methods' and
213 `configure-mail-lock-method' variables.
214
215 * config.h.in: Fix mail locking stuff.
216
217 2000-01-04 Martin Buchholz <martin@xemacs.org>
218
219 * mule-charset.h (REP_BYTES_BY_FIRST_BYTE):
220 Remove macro, always use inline function.
221 * mule-charset.c (make_charset): Don't assign to rep_bytes_by_first_byte.
222 (rep_bytes_by_first_byte): Make const.
223
224 2000-01-03 Didier Verna <didier@xemacs.org>
225
226 * redisplay.c (generate_fstring_runes): new parameter `offset'.
227 Take offset into account when outputting strings or glyphs.
228 (generate_formatted_string_db): call generate_fstring_runes with
229 an offset of 0 if generating a frame or icon title, or the
230 modeline hscroll if generating a modeline.
231
232 * redisplay.h: remove prototype of `generate_formatted_string' and
233 add prototype for `generate_formatted_string_db', now used in
234 "frame.c".
235
236 * frame.c: `title_string_display_line' and
237 `title_string_emchar_dynarr', formerly known as
238 `format_string_display_line' and `format_string_emchar_dynarr'
239 moved here from "redisplay.c".
240 (generate_title_string): formerly known as
241 `generate_format_string', moved here from "redisplay.c".
242 (update_frame_title): take these name changes into account.
243 (init_frame): new function. Initialize here the variables that
244 were previously in "redisplay.c" and initialized in
245 `init_redisplay'.
246
247 * frame.h: prototype for `init_frame'.
248
249 * window.c (Fmodeline_hscroll): restore the definition (remove the
250 MODELINE_IS_SCROLLABLE #ifdef).
251 (Fset_modeline_hscroll): ditto, docstring improvement, and return
252 the actual value that was set.
253 (struct saved_window): turn the `modeline_hscroll' field into a
254 Charcount.
255 (syms_of_window): restore the declaration of
256 `[set-]modeline-hscroll' (remove the MODELINE_IS_SCROLLABLE #ifdef).
257
258 * window.h (struct window): turn the `modeline_hscroll field' into
259 a Charcount.
260
261 * emacs.c: include "frame.h" to get `init_frame'.
262 (main_1): call `init_frame'.
263
264 1999-12-31 Martin Buchholz <martin@xemacs.org>
265
266 * XEmacs 21.2.26 is released.
267
268 1999-12-31 Andy Piper <andy@xemacs.org>
269
270 * glyphs-x.c (x_widget_instantiate): Avoid X errors calling
271 XMapWindow() on a NULL pointer X window.
272
273 1999-12-31 Martin Buchholz <martin@xemacs.org>
274
275 * data.c (indirect_function): Use signal_void_function_error().
276
277 * lisp.h: Modify prototypes for signal_*(). Add SUBR_FUNCTION macro.
278
279 * eval.c (PRIMITIVE_FUNCALL): Optimize.
280 (signal_void_function_error): return result of Fsignal().
281 (signal_invalid_function_error): return result of Fsignal().
282 (signal_wrong_number_of_arguments_error): return result of Fsignal().
283 (signal_malformed_list_error): Add DOESNT_RETURN.
284 (signal_malformed_property_list_error): Add DOESNT_RETURN.
285 (signal_circular_list_error): Add DOESNT_RETURN.
286 (signal_circular_property_list_error): Add DOESNT_RETURN.
287 (Feval): Use returned results of signal_*(). Avoids a crash!
288 (Ffuncall): Use returned results of signal_*(). Avoids the crash:
289 (setq debug-on-error t) (funcall 'foo) kbd{r42} kbd{RET}
290 - Only check for fun_nargs < subr_min_args if fun_nargs != max_args.
291 (function_argcount): Use signal_invalid_function_error().
292 (funcall_lambda): Use signal_wrong_number_of_arguments_error().
293 Use signal_invalid_function_error().
294
295 1999-12-28 Andy Piper <andy@xemacs.org>
296
297 * debug.c: rename debug_loop elements to X_ to avoid name clashes.
298
299 * menubar-x.c (menu_item_descriptor_to_widget_value_1): strdup
300 string_chars.
301 (menu_item_descriptor_to_widget_value_1): strdup name.
302 (pre_activate_callback): strdup name.
303
304 * scrollbar-x.c (scrollbar_instance_to_widget_value): strdup name.
305 (x_update_scrollbar_instance_status): use free_widget_value_tree.
306
307 * dialog-x.c (maybe_run_dbox_text_callback): strdup name. use
308 free_widget_value_tree.
309 (dbox_descriptor_to_widget_value): ditto.
310
311 * gui-x.c (widget_value_unwind): use free_widget_value_tree.
312 (gui_items_to_widget_values_1): ditto.
313 (gui_items_to_widget_values): ditto.
314 (free_popup_widget_value_tree): free name.
315
316 1999-12-27 Andy Piper <andy@xemacs.org>
317
318 * nt.c (fstat): use get_osfhandle rather than the handle
319 directly. From Fabrice Popineau.
320
321 * process-nt.c (nt_open_network_stream): take types into account
322 when warning. From Fabrice Popineau.
323
324 1999-12-24 Martin Buchholz <martin@xemacs.org>
325
326 * XEmacs 21.2.25 is released.
327
328 1999-12-22 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
329
330 * syntax.c (vars_of_syntax): Initialize parse-sexp_ignore_comments.
331
332 1999-12-21 Martin Buchholz <martin@xemacs.org>
333
334 * editfns.c (Fpoint_min):
335 (Fpoint_min_marker):
336 (Fpoint_max):
337 (Fpoint_max_marker):
338 (Fchar_after):
339 (Fchar_before):
340 Docstring fixes. What's a `buffer pointer' anyways?
341
342 * editfns.c (char=): Remove unused and undocumented optional
343 third BUFFER argument.
344
345 * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P):
346 * fns.c (plists_differ):
347 * elhash.c (HASH_CODE):
348 * elhash.c (KEYS_EQUAL_P):
349 * redisplay-output.c (redisplay_move_cursor):
350 * redisplay.c (create_text_block):
351 * floatfns.c (Flogb):
352 * glyphs-msw.c (mswindows_initialize_image_instance_mask):
353 * glyphs-msw.c (xpm_to_eimage):
354 * buffer.h (POINT_MARKER_P):
355 * syntax.c (scan_lists):
356 * cmdloop.c (Fcommand_loop_1):
357 * widget.c (Fwidget_apply):
358 * regex.c (STREQ):
359 Remove extra parens, esp. of the form ((expr))
360
361 * floatfns.c (Flogb): Make 64-bit clean.
362
363 1999-12-12 Daniel Pittman <daniel@danann.net>
364
365 * configure.in:
366 * configure.usage:
367 Clean up Athena widget support:
368 - Add `with-athena' to select a variant.
369 - Remove all `athena3d' options.
370 - Robust detection of Athena libraries and headers.
371 - Refuse to build with mismatched library and headers.
372 - Only build a 3d Athena if the user asks for it.
373
374 1999-12-21 Andy Piper <andy@xemacs.org>
375
376 * redisplay.c (redisplay_frame): check for faces changed when
377 reseting subwindow caches.
378
379 * glyphs.h (struct ii_keyword_entry): add copy_p.
380 (struct image_instantiator_methods): add query_geometry_method and
381 layout_children_method.
382 (IIFORMAT_VALID_GENERIC_KEYWORD): new macro to take into account
383 copying characteristics of keywords.
384 (IIFORMAT_VALID_NONCOPY_KEYWORD): new macro for defining keywords
385 whose arguments should not be copied by the specifier code.
386 (image_instance_geometry): new enum for layouts.
387 (struct Lisp_Image_Instance): re-jig for layouts and update
388 macros.
389
390 * glyphs.c (string_instantiate): rename variables.
391 (image_instantiate): add strings to those widgets that are
392 instantiated per-window.
393 (image_copy_vector_instantiator): new function for copying glyph
394 specifier instantiators.
395 (image_copy_instantiator): ditto.
396
397 * glyphs-x.c (x_update_subwindow): use new face update functions.
398 (update_widget_face): update to use new lwlib arg functions.
399 (update_tab_widget_face): new function for updating tab control
400 label faces.
401 (x_widget_instantiate): use new face update functions and new
402 lwlib arg functions.
403 (x_tab_control_instantiate): ditto.
404 (x_tab_control_set_property): ditto.
405
406 * glyphs-widget.c (VALID_GUI_KEYWORDS): use NONCOPY keyword for
407 callbacks and other things that could recurse.
408 (VALID_GUI_KEYWORDS):
409
410 * event-msw.c: fix cpp stuff for cygwin < b20.
411
412 * config.h.in: move uid_t and friends to before the s&m files so
413 that they can be used there.
414
415 * Makefile.in.in (debug-temacs): new target that adds emacs
416 environment before invoking gdb.
417
418 * lwlib.h (_widget_args): new structure for holding widget
419 args. It is reference counted so that we don't have to copy Xt
420 args.
421 (_widget_value): remove widget args. Add reference to widget_args.
422
423 * lwlib.c (free_widget_value_contents): free widget args using
424 free_widget_value_args.
425
426 * lwlib-Xaw.c (xaw_update_one_widget): use new arg packet.
427 (xaw_update_one_widget): use XtIsSubclass for determining labels.
428
429 * lwlib.c (lw_add_value_args_to_args): modify to use our reference
430 counted arg packet.
431 (lw_add_widget_value_arg): new function. Add an arg to the arg
432 packet.
433 (free_widget_value_args): new function. Remove a reference counted
434 arg packet.
435 (lw_copy_widget_value_args): new function. Copy reference counted
436 arg packet.
437 (merge_widget_value_args): new function. Do a merge of widget
438 args.
439 (merge_widget_value): use it.
440 (copy_widget_value_tree): copy widget args using reference
441 counting, since we can't easily copy the args we have been given.
442
443 * specifier.h (struct specifier_methods): add copy_instantiator_method.
444
445 * specifier.c (build_up_processed_list): use
446 copy_instantiator_method if defined.
447
448 1999-12-19 Martin Buchholz <martin@xemacs.org>
449
450 * fns.c (Ffillarray): Use O(N), not O(N^2) algorithm for strings.
451
452 1999-12-19 Hrvoje Niksic <hniksic@iskon.hr>
453
454 * profile.c (sigprof_handler): FUN retrieved from the backtrace
455 can also be a cons representing anonymous interpreted function.
456
457 1999-12-18 Martin Buchholz <martin@xemacs.org>
458
459 * fns.c (mapcar1):
460 (Fmapconcat):
461 (Fmapcar):
462 (Fmapvector):
463 Docstring fixes. Make them consistent with the lispref and ANSI Lisp.
464
465 1999-12-17 Martin Buchholz <martin@xemacs.org>
466
467 * print.c (print_internal): print ?+ instead of ?\+, etc...
468 Make printing a little more efficient.
469 Prevent buffer overflow if sizeof EMACS_INT > 8.
470 My first 128-bit fix!
471
472 1999-12-14 Karl M. Hegbloom <karlheg@inetarena.com>
473
474 * filelock.c (unlock_all_files): GC_CONSP should be CONSP
475
476 1999-12-17 Martin Buchholz <martin@xemacs.org>
477
478 * database.c:
479 * window.c:
480 * event-stream.c:
481 Remove last vestigial uses of GC_*
482
483 * fns.c (mapcar1): Fix ***THREE*** obscure crashes in one function!
484 - Two of those involve evil mapping functions that destructively
485 modify a list being mapped over.
486 - Any garbage collection when mapping over a string could cause a
487 crash (typically in mapconcat).
488
489 1999-12-08 Adrian Aichner <adrian@xemacs.org>
490
491 * s\windowsnt.h (DIRECTORY_SEP): Initialize from
492 `Vdirectory_sep_char'.
493
494 * lisp.h: Add declaration for `Vdirectory_sep_char' to allow
495 customization of `DIRECTORY_SEP' under native Windows NT.
496
497 1999-12-14 Katsumi Yamaoka <yamaoka@jpl.org>
498
499 * buffer.c (Fbury_buffer): Add directions to the docstring.
500
501 1999-12-14 Martin Buchholz <martin@xemacs.org>
502
503 * XEmacs 21.2.24 is released.
504
505 1999-12-13 Martin Buchholz <martin@xemacs.org>
506
507 * sound.c (vars_of_sound): Provide esd-sound if HAVE_ESD_SOUND
508
509 * nas.c: Fix compiler warnings. Ansify. C++ compilation support.
510
511 1999-12-13 Kazuyuki IENAGA <ienaga@jsys.co.jp>
512
513 * input-method-xlib.c: Make sure src/ does not use Athena, except
514 indirectly through lwlib.
515
516 1999-12-13 Gunnar Evermann <ge204@eng.cam.ac.uk>
517
518 * dbxrc (pobj): Add opaque_ptr, remove opaque_list.
519
520 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
521
522 * file-coding.c (add_coding_system_to_list_mapper):
523 - (coding-system-list) should list aliases correctly.
524
525 1999-12-07 Andy Piper <andy@xemacs.org>
526
527 * fileio.c (vars_of_fileio): directory separator fix from Mike Alexander.
528 * windowsnt.h (ditto):
529
530 1999-11-27 Adrian Aichner <adrian@xemacs.org>
531
532 * sysfile.h: Encapsulate `fstat' for Windows NT just like stat to
533 get consistent file modification times.
534
535 * sysdep.h: Declare `wait_for_termination' to use process handle,
536 not PID, on Windows NT native.
537
538 * sysdep.c (wait_for_termination): Use process handle, not PID, on
539 Windows NT native. Set exit code correctly on Windows NT.
540 (sys_subshell): Use process handle, not PID,
541 on Windows NT native.
542 (sys_fstat): Add ENCAPSULATE_FSTAT for Windows NT.
543
544 * process-nt.c (nt_create_process): Remove negative pid hack for
545 Windows 95.
546 (nt_send_process): Declare vol_proc volatile.
547 (get_internet_address): warn_when_safe if IP address cannot be
548 found.
549 (nt_open_network_stream): warn_when_safe if network stream fails
550 to open.
551
552 * ntproc.c (create_child): Remove negative pid hack for Windows
553 95. Remove incorrect and unnecessary USE_UNION_TYPE handling.
554
555 * nt.c (fstat): Encapsulate for Windows NT just like stat to get
556 consistent file modification times.
557
558 * callproc.c (call_process_cleanup): Use process handle, not PID,
559 on Windows NT native.
560 (Fcall_process_internal): Ditto. Close fd_error in parent. Don't
561 check for negative pid on Windows NT/9[58].
562
563 1999-12-07 Martin Buchholz <martin@xemacs.org>
564
565 * XEmacs 21.2.23 is released.
566
567 1999-12-06 Martin Buchholz <martin@xemacs.org>
568
569 * events.c (Fcopy_event): Don't copy the lrecord_header.
570
571 * lisp.h (DO_REALLOC):
572 Optimize.
573 Remove redundant parens.
574 Remove generic hygienic macro comment.
575
576 * lrecord.h (set_lheader_implementation): Remove redundant parens.
577
578 1999-12-05 Martin Buchholz <martin@xemacs.org>
579
580 * lstream.c (Lstream_adding):
581 - Never compare a size_t and a possibly negative number.
582 - Optimize.
583
584 1999-12-05 Kyle Jones <kyle_jones@wonderworks.com>
585
586 * lisp/itimer.el: (require 'lisp-float-type). Use
587 floats directly in itimer-time-difference.
588
589 1999-12-05 Andy Piper <andy@xemacs.org>
590
591 * redisplay-output.c (redisplay_output_layout): avoid name hiding.
592
593 * gui.h: declare gui_add_item_keywords_to_plist.
594
595 * window.c (Fdelete_window): mark subwindows as changed so that
596 they can be GC'd if necessary.
597
598 1999-12-02 Jan Vroonhof <vroonhof@math.ethz.ch>
599
600 * src/callproc.c (Fcall_process_internal): Be careful in writing
601 terminating null when copying args. nargs can be < 4.
602 Idea from Klaus Frank <klausf@i3.informatik.rwth-aachen.de>
603
604 1999-11-29 Kyle Jones <kyle_jones@wonderworks.com>
605
606 * src/sound.c (Fding): Remove zero initialization of
607 static variables to avoid crashes on systems that dump
608 the initialized data segment read-only.
609
610 1999-12-05 Jan Vroonhof <vroonhof@math.ethz.ch>
611
612 * glyphs-x.c (convert_EImage_to_XImage): Guard against other
613 visual classes. From Rasmus Borup Hansen <rbh@math.ku.dk>
614
615 1999-12-04 Martin Buchholz <martin@xemacs.org>
616
617 * lstream.c: (filedesc_reader):
618 (filedesc_writer): Try number 2: Support broken systems where
619 return type of read() and write() is different from ssize_t.
620
621 * systty.h:
622 * sysdep.h:
623 * sysdep.c:
624 - Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with
625 function equivalents emacs_get_tty() and emacs_set_tty().
626 - Moved prototypes to systty.h, where struct event_tty is defined.
627 - Renamed bogus `waitp' parameter to `flushp'.
628
629 * lstream.c (filedesc_reader): Support broken systems where return
630 type of read() is different from ssize_t.
631
632 * events.c (Fcopy_event): Avoid redundant EQ test if event2 is nil.
633
634 * event-stream.c (menu_move_up): Remove redundant if block.
635 (menu_move_down): Gratuitous rewriting.
636 (menu_move_left): Work around Cygnus codefusion-990706 compiler bug.
637 (menu_move_right): Ditto.
638
639 * lrecord.h (copy_lcrecord):
640 (zero_lcrecord):
641 Always add parentheses around uses of macro arguments.
642
643 * sysdll.c: #include <stdlib.h> for exit().
644 * unexhp9k800.x: #include <stdlib.h> for malloc().
645 Use proper prototype for Save_Shared_Data(void).
646
647 1999-12-04 Jan Vroonhof <vroonhof@math.ethz.ch>
648
649 * src/redisplay.c (point_would_be_visible): Correct for topclip.
650
651 1999-12-02 Hrvoje Niksic <hniksic@iskon.hr>
652
653 * lisp.h: Declare Qself_insert_defer_undo.
654
655 * event-stream.c (Fdispatch_event): Get the magic undo thing from
656 a symbol property, so commands other than self-insert-command can
657 install it.
658 (syms_of_event_stream): Define Qself_insert_defer_undo.
659
660 1999-11-30 Martin Buchholz <martin@xemacs.org>
661
662 * floatfns.c (emacs_rint): Rename rint to emacs_rint, so that
663 `#undef HAVE_RINT' works.
664
665 * sysdep.h: Fix up prototypes for sys_read_1(), sys_write_1()
666
667 1999-11-25 Andy Piper <andy@xemacs.org>
668
669 * select-msw.c (Fmswindows_set_clipboard): selection fixes from
670 Mike Alexander.
671 (Fmswindows_delete_selection): ditto.
672
673 * redisplay.h (CLASS_REDISPLAY_FLAGS_CHANGEDP): add size_changed.
674 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
675
676 * redisplay.c (redisplay_device): move size changed to macros in
677 redisplay.h
678 (redisplay_without_hooks): ditto.
679
680 * redisplay-output.c (redisplay_output_layout): rename to avoid
681 name hiding.
682
683 * process-nt.c (struct nt_process_data): mks toolkit fixes from
684 Mike Alexander.
685 (nt_create_process): ditto.
686 (nt_send_process): ditto.
687
688 * nt.c (init_environment): make sure mingw32 gets the cached
689 system info.
690
691 * gui.h: declare gui_add_item_keywords_to_plist.
692
693 * event-msw.c (mswindows_wnd_proc): Clipboard fixes from Mike
694 Alexander.
695
696 * console-msw.h: fix cygwin define/header 1.0 problems.
697 * glyphs-msw.c: ditto.
698 * ntplay.c: ditto.
699 * unexcw.c: ditto.
700 * s/cygwin32/h: ditto.
701
702 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
703
704 * XEmacs 21.2.22 is released
705
706 1999-11-28 Martin Buchholz <martin@xemacs.org>
707
708 * XEmacs 21.2.21 is released.
709
710 1999-11-26 Martin Buchholz <martin@xemacs.org>
711
712 * callproc.c (Fcall_process_internal):
713 * config.h.in:
714 * esd.c:
715 * event-msw.c (ntpipe_slurp_reader):
716 * event-msw.c (ntpipe_shove_writer):
717 * event-msw.c (winsock_reader):
718 * event-msw.c (winsock_writer):
719 * event-stream.c (dribble_out_event):
720 * fileio.c:
721 * fileio.c (Fexpand_file_name):
722 * glyphs-x.c (write_lisp_string_to_temp_file):
723 * gpmevent.c (tty_get_foreign_selection):
724 * lisp.h: Update prototypes.
725 * lstream.c (Lstream_flush_out):
726 * lstream.c (Lstream_write_1):
727 * lstream.c (Lstream_was_blocked_p):
728 * lstream.c (Lstream_read_more):
729 * lstream.c (Lstream_read):
730 * lstream.c (Lstream_fputc):
731 * lstream.c (make_stdio_output_stream):
732 * lstream.c (stdio_flusher):
733 * lstream.c (stdio_closer):
734 * lstream.c (make_filedesc_output_stream):
735 * lstream.c (errno_would_block_p):
736 * lstream.c (filedesc_writer):
737 * lstream.c (make_lisp_string_input_stream):
738 * lstream.c (make_fixed_buffer_output_stream):
739 * lstream.c (fixed_buffer_reader):
740 * lstream.c (make_resizing_buffer_output_stream):
741 * lstream.c (make_dynarr_output_stream):
742 * lstream.c (make_lisp_buffer_output_stream):
743 * lstream.c (lisp_buffer_reader):
744 * lstream.h (lstream_implementation):
745 * md5.c (Fmd5):
746 * miscplay.h (reset_parsestate):
747 * process-nt.c (nt_send_process):
748 * process-unix.c (unix_send_process):
749 * sound.c:
750 * sysdep.c (sys_close):
751 * sysdep.c (sys_read_1):
752 * sysdep.c (sys_write_1):
753 * sysfile.h:
754 * file-coding.c (determine_real_coding_system):
755 * file-coding.c (Fdetect_coding_region):
756 * file-coding.c (struct decoding_stream):
757 * file-coding.c (decoding_reader):
758 * file-coding.c (Fdecode_coding_region):
759 * file-coding.c (struct encoding_stream):
760 * file-coding.c (encoding_reader):
761 * file-coding.c (Fencode_coding_region):
762 * file-coding.c (convert_to_external_format):
763 * file-coding.c (convert_from_external_format):
764 - Lstream functions mirror Unix98 read(),write(). Therefore use
765 Unix98 types size_t and ssize_t.
766 - Try to make Lstream* functions 64-bit clean. Someday someone
767 may actually want to read from a Lstream with more than 2**32 bytes.
768 - Add configure support for ssize_t.
769 - Update all callers of Lstream_read and Lstream_write to
770 use the new types.
771 - Fix esd* initiated C++ compile errors.
772 - Remove comments referring to `fpurge' - we don't want to call it
773 even if it's there.
774
775 * lisp.h
776 - Remove some lingering Lucid compiler support.
777
778 * lisp.h
779 - Add prototype for Fdelete_process.
780
781 * gpmevent.c (Freceive_gpm_event): Remove unused variables.
782
783 1999-11-27 Martin Buchholz <martin@xemacs.org>
784
785 * Makefile.in.in (depend): Only update `depend' if there were changes.
786
787 1999-11-26 Martin Buchholz <martin@xemacs.org>
788
789 * editfns.c (get_system_name): Remove.
790
791 1999-11-26 Martin Buchholz <martin@xemacs.org>
792
793 * device-x.c (x_init_device):
794 - Replace magic number `17' with equivalent expn using sizeof.
795 - Replace strcmp with marginally more efficient memcmp.
796 - Avoid using C++ reserved word `class'.
797
798 * file-coding.c (determine_real_coding_system):
799 - Look for both initial and final -*- cookies.
800 - Replace EQ (foo, Qnil) with NILP (foo)
801 - Make searching for cookies more efficient.
802 - Recognize only rfc 1521 characters in charset names.
803
804 1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp>
805
806 * input-method-xlib.c (IMDestroyCallback): #ifdef'd by
807 "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6.
808 * input-method-xlib.c (IMInstantiateCallback): Ditto.
809 * input-method-xlib.c (XIM_init_device): Revive XOpenIM function
810 call for X11R5 systems.
811 * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC()
812 again because XIM doesn't concern with frame deletion itself.
813 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
814 callback).
815
816 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
817
818 * input-method-xlib.c: Added new lisp object Qxim_xlib.
819 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
820 All the valid stderr_out were changed to those macros.
821 (IMDestroyCallback): Don't test the XIC if the frame is not X
822 frame.
823 (IMInstantiateCallback): Treat the client_data as "device" not
824 "frame" because the caller changed from frame to device.
825 Here initializes XIM and activates XICs for each frame which
826 doesn't have XIC.
827 (XIM_init_device): Register the XIM instantiation callback which
828 had been performed by XIM_init_frame() before.
829 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
830 (XIM_init_frame): Placed an actual code for XIC activation which
831 was moved from IMInstantiateCallback.
832 (syms_of_input_method_xlib): New function which includes a symbol
833 Qxim_xlib that uses in emacs.c.
834
835 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
836 input_method_xlib.
837
838 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
839
840 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
841
842 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
843
844 1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch>
845
846 * redisplay-output.c (compare_runes): Add comments about
847 results from profiling.
848
849 * redisplay.h (struct rune): Do not use bitfields for members.
850 (struct rune): Add various comments about further optimizations.
851
852 1999-11-19 Eric Darve <darve@crocco.stanford.edu>
853
854 * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
855 if Vabbrev_start_location is used too.
856
857 1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
858
859 * file-coding.c (detect_eol_type): Return CR when two
860 sequential CR are found.
861 (determine_real_coding_system): Check EOL type when coding:
862 cookie is found and EOL type is not specified.
863 Don't assume 8bit char as part of coding: cookie.
864
865 1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
866
867 * file-coding.c (determine_real_coding_system): Check if
868 '-*-' exists. End searching for coding: cookie at the end
869 of line. Check whether character before coding: is space,
870 tab or ';'.
871
872 1999-11-07 William M. Perry <wmperry@aventail.com>
873
874 * gpmevent.c: Completely rewrote GPM mouse support for linux
875 console. The TTY console and event stream are modified at run
876 time, so this code can now be used as a module.
877 (tty_get_foreign_selection): New function to allow pasting from
878 other virtual consoles.
879 (Fgpm_enable): New lisp-visible function to turn GPM on or off
880 at run time.
881
882 * device-tty.c (tty_asynch_device_change): No longer need to
883 notify GPM code of window/console height/width changes.
884
885 * console-tty.c (tty_init_console): Removed outdated GPM support
886 that was part of the console/event code.
887
888 * event-Xt.c (emacs_Xt_select_console): Ditto
889
890 * event-Xt.c (emacs_Xt_unselect_console): Ditto
891
892 * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto
893
894 * frame-tty.c (console_type_create_frame_tty): Ditto
895
896 1999-11-17 Martin Buchholz <martin@xemacs.org>
897
898 * nt.c:
899 * sysdep.c:
900 * s/mingw32.h:
901 * s/windowsnt.h:
902 - Use Unix 98 types uid_t, gid_t, pid_t.
903 - Define them.
904
905 1999-11-01 Olivier Galibert <galibert@pobox.com>
906
907 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
908 * emacs.c (main_1): ...here, to get the correct value even with
909 the portable dumper.
910
911 1999-11-17 Martin Buchholz <martin@xemacs.org>
912
913 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
914
915 * tooltalk.c (tt_build_string): Remove extra parens.
916 * process.c (print_process): Remove extra parens.
917 * buffer.h (BI_BUF_PTR_BYTE_POS):
918 (BUF_PTR_BYTE_POS):
919 (BI_BUF_BYTE_ADDRESS):
920 (BI_BUF_BYTE_ADDRESS_BEFORE):
921 (valid_memind_p):
922 (bytind_to_memind):
923 (memind_to_bytind):
924 Remove extra parens. Inline functions are not macros.
925
926 * editfns.c (Fuser_login_name):
927 (user_login_name):
928 Use proper type uid_t.
929
930 1999-11-15 Martin Buchholz <martin@xemacs.org>
931
932 * syntax.c (complex_vars_of_syntax): Make more readable.
933 (define_standard_syntax): New function.
934
935 * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean.
936
937 1999-11-14 Martin Buchholz <martin@xemacs.org>
938
939 * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings.
940
941 1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
942
943 * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2):
944 New enum type to make sure no gap in the leading byte definition.
945
946 1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
947
948 * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5,
949 LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C
950 to remove a hole in leading byte definition.
951
952 1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
953
954 * mule-charset.c (non_ascii_valid_charptr_p): Check if
955 private charset is defined.
956
957 1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
958
959 * mule-ccl.c (ccl_driver): Make sure generated sequences
960 are valid when doing `CCL_WRITE_STRING'.
961 (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver.
962
963 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
964
965 * XEmacs 21.2.20 is released
966
967 1999-11-04 Martin Buchholz <martin@xemacs.org>
968
969 * mule-ccl.c (ccl_driver): Warning suppression
970
971 1999-11-01 SL Baur <steve@miho.m17n.org>
972
973 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
974 building a debugged XEmacs.
975
976 1999-10-28 Andreas Jaeger <aj@suse.de>
977
978 * src/emacs.c (main_1): Don't set the malloc hooks if using
979 DOUG_LEA_MALLOC.
980
981 1999-10-30 Olivier Galibert <galibert@pobox.com>
982
983 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
984 registered type.
985 (pdump): Ditto.
986
987 1999-10-25 Olivier Galibert <galibert@pobox.com>
988
989 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
990
991 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
992
993 1999-10-25 Martin Buchholz <martin@xemacs.org>
994
995 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
996 (GLOBAL_RESET_CHANGED_FLAGS):
997 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
998 (RESET_CHANGED_SET_FLAGS):
999 Fix C++ compile errors/warnings.
1000 These macros were just a tad too clever.
1001
1002 * process-unix.c (unix_open_network_stream):
1003 * objects-x.c (allocate_nearest_color):
1004 * mule-charset.c (vars_of_mule_charset):
1005 * fileio.c (Ffile_truename):
1006 * file-coding.c (vars_of_file_coding):
1007 Fix compile errors/warnings.
1008
1009 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
1010 (allocate_lisp_storage): Simplify.
1011
1012 1999-10-24 Olivier Galibert <galibert@pobox.com>
1013
1014 * conslots.h: Add defines with first and last slot names.
1015 * bufslots.h: Add defines with first and last slot names.
1016
1017 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
1018 reinit_complex_vars_of_buffer
1019 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
1020 value.
1021 (complex_vars_of_buffer): Dump the slots values.
1022
1023 * console.c (common_init_complex_vars_of_console): Renamed from
1024 reinit_complex_vars_of_console
1025 (reinit_complex_vars_of_console): Reset the slots to the dumped
1026 value.
1027 (complex_vars_of_console): Dump the slots values.
1028
1029 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
1030 pdump_rt_list and move them at the beginning of the file.
1031 (gc_sweep): Unmark pdumped objects after the sweep phase.
1032 (pdump_dump_rtables): Change a bare 256 to
1033 last_lrecord_type_index_assigned. Add a separator between the
1034 adresses or lrecords and the ones of C structs in the dump file.
1035 (pdump_load): Cope with the new separator and the renamings. Stop
1036 looking for the hash tables list after it has been found (duh!).
1037
1038 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
1039
1040 * sound.c: support HAVE_ESD_SOUND
1041
1042 * miscplay.c:
1043 * miscplay.h:
1044 * linuxplay.c: Move large part of linuxplay to generalized file
1045 miscplay. Make it platform independent.
1046
1047 * esd.c: New file
1048
1049 1999-10-24 Adrian Aichner <adrian@xemacs.org>
1050
1051 * lisp.h (Dynarr_declare): Fix boo-boo.
1052
1053 1999-10-24 Olivier Galibert <galibert@pobox.com>
1054
1055 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
1056 * process.h: Ditto.
1057
1058 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1059
1060 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
1061 >=0). Handle the cur_elt == 0 case.
1062
1063 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1064
1065 * unexelf.c: Merge Martin's c++ fixes back in
1066
1067 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
1068
1069 * unexelf.c (unexec): Only copy the global offset
1070 table from memory on sgi machines.
1071
1072 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
1073
1074 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
1075 adding support for an sbss section. Get IRIX 5.2 to build using
1076 unexelf.c.
1077
1078 * m/iris4d.h: Use unexelf.o for unexec.
1079
1080 * m/iris5d.h: Use unexelf.o for unexec.
1081
1082 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1083
1084 * unexelf.c: Revert to 21.1 version
1085
1086 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
1087
1088 * window.c (Fwindow_truncated_p): New function.
1089
1090 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
1091
1092 * window.c (window_truncation_on): Always return 0 for minibuffer
1093 windows, to enable auto scrolling.
1094
1095 1999-10-24 Neal Becker <nbecker@fred.net>
1096 * process.h: Unix98 PTY support
1097
1098 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
1099
1100 * fileio.c (Ffile_truename): Do proper mule decoding on
1101 the argument to xrealpath()
1102
1103 1999-08-19 Stephen Tse <stephent@sfu.ca>
1104
1105 * process-unix.c (unix_open_network_stream): Add udp network
1106 support; rename variable Qtcpip to Qtcp, parameter family to
1107 protocol for consistency with Qudp.
1108
1109 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
1110 Qtcp, parameter family to protocol for consistency with Qudp.
1111
1112 * process.c (global_variables): Add a new variable Qudp for udp
1113 network support; rename variable Qtcpip to Qtcp for consistency
1114 with Qudp.
1115 (Fopen_network_stream_internal): Rename parameter FAMILY to
1116 PROTOCOL for consistency; fix a minor typo and add an explanation
1117 in docstring for udp programming.
1118 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
1119 (syms_of_process): Add a new variable Qudp for udp network
1120 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
1121
1122 * process.h (extern_variables): Add a new variable Qudp for udp
1123 network support; rename variable Qtcpip to Qtcp for consistency
1124 with Qudp.
1125
1126 * procimpl.h: Add a new variable Qudp for udp network support;
1127 rename variable Qtcpip to Qtcp for consistency with Qudp.
1128 (struct process_methods): Rename parameter family to protocol.
1129
1130
1131 1999-10-24 Olivier Galibert <galibert@pobox.com>
1132
1133 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
1134
1135 1999-10-23 Olivier Galibert <galibert@pobox.com>
1136
1137 * lrecord.h (struct lrecord_header): Removed dumped flags.
1138
1139 * dynarr.c: Use DUMPEDP instead of dumped flag.
1140
1141 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
1142
1143 * alloc.c: Removed hash_next linked list pointer.
1144
1145 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
1146 and XGC macros.
1147
1148 1999-10-14 Andy Piper <andy@xemacs.org>
1149
1150 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
1151 calculations.
1152
1153 * gutter.c (output_gutter): be more accurate about the area to be
1154 cleared since X seems to manage to do the clear after drawing the
1155 border.
1156
1157 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
1158 redisplay flags as a group.
1159 (RESET_CHANGED_SET_FLAGS): ditto.
1160 (CLASS_RESET_CHANGED_FLAGS): ditto.
1161 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
1162 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
1163 as a group.
1164 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
1165 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
1166
1167 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
1168 instead of setting flags individually.
1169 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
1170 (redisplay_device): ditto.
1171 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
1172 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
1173 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
1174 (redisplay_without_hooks): ditto.
1175 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
1176
1177 * redisplay-x.c (x_output_string): unmap subwindows in the area.
1178 (x_output_blank): ditto.
1179
1180 * redisplay-output.c (redisplay_output_display_block): don't unmap
1181 subwindows in case layout optimization can avoid it.
1182 (redisplay_output_subwindow): unmap subwindows in the area.
1183 (redisplay_output_layout): optimize the output of layouts - only
1184 output glyphs that have changed if nothing else of redisplay
1185 significance has occurred.
1186 (redisplay_output_pixmap): change args to
1187 redisplay_clear_clipped_region.
1188 (redisplay_clear_clipped_region): allow the clipped region to be
1189 cleared of all subwindows except the one passed in.
1190
1191 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
1192 the area.
1193 (mswindows_output_cursor): ditto.
1194 (mswindows_output_string): ditto.
1195
1196 * gutter.c (calculate_gutter_size): if the window buffer is nil
1197 then don't continue.
1198 (update_frame_gutters): be more lenient about when we actually
1199 update the gutter. Layout optimization makes this
1200 non-costly. Cache redisplay flags that we want to temporarily
1201 ignore.
1202
1203 * glyphs.c (Fglyph_animated_timeout_handler): handle image
1204 specific timeouts rather than iterating over the instance cache.
1205 (glyph_animated_timeout_mapper): deleted.
1206 (add_glyph_animated_timeout): use a weak list to hold onto the
1207 image so that it can be GC'ed.
1208 (disable_glyph_animated_timeout): disable a specific timeout.
1209 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
1210 controlling whether pixmaps are animated or not.
1211
1212 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
1213 image timeout gets disabled when the image gets freed.
1214
1215 * glyphs-eimage.c (gif_instantiate): remove meaningless
1216 comment. Cope with timeouts specified in the gif extension block.
1217
1218 * event-msw.c (vars_of_event_mswindows): new variable
1219 mswindows-meta-activates-menu.
1220 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
1221 wants it.
1222
1223 * glyphs-x.c (x_finalize_image_instance): delete mask first so
1224 that we can compare with image.
1225
1226 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
1227
1228 * event-msw.c (mswindows_key_to_emacs_keysym):
1229 Recognise keypad keys as different from normal keys.
1230
1231 1999-10-14 Didier Verna <didier@xemacs.org>
1232
1233 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
1234
1235 1999-10-10 Olivier Galibert <galibert@pobox.com>
1236
1237 * symbols.c (init_symbols_once_early): dump Vquit_flag.
1238
1239 * symsinit.h: Updated.
1240
1241 * ntproc.c (vars_of_ntproc): Use defsymbol.
1242
1243 * emacs.c (main_1): Updated reinit calls.
1244
1245 * lisp.h: Removed Fpurecopy and pure_put declarations.
1246 * fns.c: Removed pure_put.
1247
1248 * eval.c (Fdefvar): pure_put -> Fput
1249 (Fdefconst): Ditto.
1250 * frame-x.c (init_x_prop_symbols): Ditto.
1251 * symbols.c (deferror): Ditto.
1252
1253 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
1254 * buffer.c (vars_of_buffer): Ditto.
1255 * bytecode.c (Ffetch_bytecode): Ditto.
1256 (optimize_compiled_function): Ditto.
1257 * emacs.c (vars_of_emacs): Ditto.
1258 * emodules.c (vars_of_module): Ditto.
1259 * eval.c (define_function): Ditto.
1260 (Fautoload): Ditto.
1261 * frame.c (vars_of_frame): Ditto.
1262 * intl.c (Fset_domain): Ditto.
1263 * lread.c (load_force_doc_string_unwind): Ditto.
1264 * menubar.c (vars_of_menubar): Ditto.
1265 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
1266
1267 * debug.c (reinit_vars_of_debug): Extracted.
1268 * device-x.c (reinit_vars_of_device_x): Ditto.
1269 * emodules.c (reinit_vars_of_module): Ditto.
1270 * font-lock.c (reinit_vars_of_font_lock): Ditto.
1271 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
1272 * glyphs.c (reinit_vars_of_glyphs): Ditto.
1273 * gui-x.c (reinit_vars_of_gui_x): Ditto.
1274 * insdel.c (reinit_vars_of_insdel): Ditto.
1275 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
1276 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
1277 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
1278 * print.c (reinit_vars_of_print): Ditto.
1279 * redisplay.c (reinit_vars_of_redisplay): Ditto.
1280 * select-x.c (reinit_vars_of_xselect): Ditto.
1281 * undo.c (reinit_vars_of_undo): Ditto.
1282
1283 1999-10-10 Olivier Galibert <galibert@pobox.com>
1284
1285 * symsinit.h: Updated declarations, see other ChangeLog entries.
1286
1287 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
1288
1289 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
1290
1291 * glyphs.c: Add the ii_keyword_entry and related descriptions.
1292 Fix the image_instantiator_methods one.
1293
1294 * file-coding.c: Plonk all data that needs to be dumped in a
1295 dynamically allocated structure.
1296
1297 * extents.c (reinit_vars_of_extents): Extracted from
1298 vars_of_extents.
1299
1300 * event-stream.c (vars_of_event_stream): Don't staticpro when
1301 pdump_wire is enough.
1302
1303 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
1304 vars_of_event_mswindows.
1305
1306 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
1307 vars_of_event_Xt.
1308
1309 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
1310
1311 * emacs.c (main_1): Added some reinit calls.
1312
1313 * device-x.c (reinit_console_type_create_device_x): Extracted from
1314 console_type_create_device_x.
1315
1316 * console.h: Declare the console_type_entry_dynarr description.
1317
1318 * console.c: Unstatic the console_type_entry_dynarr description.
1319
1320 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
1321
1322 1999-10-07 Olivier Galibert <galibert@pobox.com>
1323
1324 * symsinit.h: Updated declarations, see other ChangeLog entries.
1325
1326 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
1327 complex_vars_of_minibuf.
1328
1329 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
1330 unimplemented), added XD_LO_LINK.
1331
1332 * lisp.h (pdump_wire_list): Add declaration.
1333
1334 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
1335 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
1336 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
1337 stupid bug fixed.
1338
1339 * glyphs.c (reinit_image_instantiator_format_create): Remove.
1340
1341 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
1342 Remove.
1343
1344 * glyphs-widget.c
1345 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
1346
1347 * glyphs-msw.c
1348 (reinit_image_instantiator_format_create_glyphs_mswindows):
1349 Remove.
1350
1351 * glyphs-eimage.c
1352 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
1353
1354 * frame.c (Fmake_frame): Don't reset the face cache when using the
1355 stream device.
1356
1357 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
1358 relevant descriptions.
1359
1360 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
1361
1362 * eval.c: The subr is _not_ a lcrecord.
1363
1364 * emacs.c (main_1): Call vars_of_specifier early before any
1365 specifier creation (e.g in vars_of_glyphs, at least). Remove the
1366 useless reinit_image_instantiator_format*. Add
1367 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
1368 calls to lstream_type_create* and process_type_create*.
1369
1370 * elhash.c: Dump Vall_weak_hash_tables correctly.
1371
1372 * data.c: Dump Vall_weak_lists correctly.
1373
1374 * console.c: Fix description.
1375
1376 * console-stream.c (init_console_stream): Do initializations
1377 correctly in the pdump case.
1378
1379 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
1380 (Fcopy_char_table): Link into Vall_syntax_tables.
1381
1382 * alloc.c (pdump_wire_list): Added.
1383 (Fgarbage_collect): Fix loop in stats couting missing the last
1384 lrecord type.
1385 (pdump_register_sub): Added XD_LO_LINK.
1386 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
1387 counter.
1388 (pdump_reloc_one): Ditto.
1389 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
1390 instead of 256.
1391 (pdump_dump_wired): Added lists.
1392 (pdump): Use last_lrecord_type_index_assigned instead of 256.
1393 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
1394
1395 1999-10-07 Andy Piper <andy@xemacs.org>
1396
1397 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
1398 bitmap slices.
1399
1400 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
1401
1402 1999-10-06 Andy Piper <andy@xemacs.org>
1403
1404 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
1405
1406 1999-10-06 Damon Lipparelli <lipp@primus.com>
1407
1408 * elhash.h: forward declare Lisp_Hash_Table.
1409
1410 1999-10-06 Andy Piper <andy@xemacs.org>
1411
1412 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
1413 after setting an image instance property.
1414
1415 1999-10-05 Andy Piper <andy@xemacs.org>
1416
1417 * gutter.c (update_frame_gutters): output gutters if
1418 windows_changed is set. This is the only way of catching changes
1419 in selected window which obviously can affect the specifiers.
1420
1421 * redisplay.c: new state flags, subwindows_state_changed and
1422 subwindows_state_changed set.
1423 (redisplay_window): use them.
1424 (redisplay_device): ditto.
1425 (redisplay_without_hooks): ditto.
1426 (redisplay_frame): ditto. Reset subwindow cachels if
1427 subwindows_changed is set.
1428 (redisplay_window): call mark_glyph_cachels_as_clean after
1429 redisplaying.
1430
1431 * redisplay-x.c (x_output_x_pixmap): select correct
1432 pixmap image for display depending on the currently selected
1433 slice.
1434
1435 * redisplay-output.c (compare_runes): check dirtiness when
1436 checking RUNE_DGLYPH runes.
1437 (compare_display_blocks): relax invalidation of display blocks
1438 since we can now detect whether individual glyphs have changed or
1439 not.
1440
1441 * redisplay-msw.c (mswindows_output_dibitmap): select correct
1442 bitmap image for display depending on the currently selected
1443 slice.
1444
1445 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
1446 (IMAGE_INSTANCE_DIRTYP): new macro.
1447 (XIMAGE_INSTANCE_DIRTYP): ditto.
1448 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
1449 (GLYPH_DIRTYP): ditto.
1450 (XGLYPH_DIRTYP): ditto.
1451 (MARK_GLYPH_CHANGED): ditto.
1452 (GLYPH_CACHEL_DIRTYP): ditto.
1453 (struct glyph_cachel): add a dirty flag.
1454
1455 * glyphs.c (update_frame_subwindows): Don't update on
1456 glyphs_changed.
1457 (glyph_animated_timeout_mapper): new function. Map over the
1458 instance cache lookinng for animated images to update.
1459 (Fglyph_animated_timeout_handler): new function. Lisp callback for
1460 handling animated image timeout events.
1461 (disable_glyph_animated_timeout): new function. Add the animated
1462 image timeout.
1463 (disable_glyph_animated_timeout): new function. Remove the
1464 animated image timeout.
1465 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
1466 friends.
1467 (vars_of_glyphs): initialize Vglyph_animated_ticker.
1468 (image_instance_equal): add the currently displayed slice.
1469 (image_instance_hash): ditto.
1470 (allocate_glyph): initialize dirty flag.
1471 (glyph_width): rename glyph -> glyph_or_image.
1472 (glyph_height_internal): ditto.
1473 (glyph_dirty_p): new function. Determine whether the image
1474 instance in the domain and/or glyph is dirty.
1475 (set_glyph_dirty_p): set the dirtiness.
1476 (update_glyph_cachel_data): take dirtiness into account. Pass the
1477 image instance we are interested in to glyph_width and friends.
1478 (get_glyph_cachel_index): make non-static. Always call
1479 update_glyph_cachel_data.
1480 (mark_glyph_cachels_as_not_updated): meaningless formatting
1481 change.
1482 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
1483 glyph cachels.
1484
1485 * glyphs-x.h (struct x_image_instance_data): change
1486 pixmap to a list of pixmaps.
1487 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
1488 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
1489 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
1490 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
1491
1492 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
1493 images get deleted properly.
1494 (init_image_instance_from_x_image): add slices paramater and use
1495 it to initialize x_image_instance_data correctly.
1496 (image_instance_add_x_image): new function. Add new pixmaps to our
1497 set of instantiated pixmaps for an image. Used by animated images.
1498 (x_init_image_instance_from_eimage): add a slices
1499 parameter. Instantiate all images from the eimage.
1500 (x_xpm_instantiate): update use of
1501 init_image_instance_from_x_image.
1502 (init_image_instance_from_xbm_inline): ditto.
1503 (x_initialize_pixmap_image_instance): add slices paramater and use
1504 it to allocate x_image_instance_data correctly.
1505
1506 * glyphs-msw.h (struct mswindows_image_instance_data): change
1507 bitmap to a list of bitmaps.
1508 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
1509 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
1510 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
1511 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
1512
1513 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
1514 paramater and use it to initialize mswindows_image_instance_data
1515 correctly.
1516 (image_instance_add_dibitmap): new function. Add new bitmaps to
1517 our set of instantiated bitmaps for an image. Used by animated
1518 images.
1519 (mswindows_init_image_instance_from_eimage): add a slices
1520 parameter. Instantiate all images from the eimage.
1521 (mswindows_xpm_instantiate): update use of
1522 init_image_instance_from_dibitmap.
1523 (bmp_instantiate): ditto.
1524 (init_image_instance_from_xbm_inline): ditto.
1525 (mswindows_finalize_image_instance): make sure all the bitmap
1526 slices get deleted.
1527 (mswindows_initialize_dibitmap_image_instance): add slices
1528 paramater and use it to allocate mswindows_image_instance_data
1529 correctly.
1530
1531 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
1532 init_image_instance_from_eimage.
1533 (png_instantiate): ditto.
1534 (tiff_instantiate): ditto.
1535 (gif_instantiate): allocate bitmaps for all gif slices not just
1536 the first one.
1537
1538 * device.h (struct device): add subwindows_state_changed flag.
1539 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
1540 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
1541
1542 * console.h (struct console_methods): add a slice parameter to
1543 init_image_instance_from_eimage_method.
1544
1545 * redisplay.c (create_string_text_block): Allow buffer to be nil
1546 without crashing.
1547
1548 1999-09-24 Andy Piper <andy@xemacs.org>
1549
1550 * glyphs-x.c: only include gui-x.h if we are building with
1551 widgets.
1552
1553 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
1554
1555 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
1556
1557 * objects-x.c (allocate_nearest_color): will return 0 (failure)
1558 when the colormap is full and the color it has computed to be the
1559 'nearest' has been allocated read/write.
1560
1561 1999-10-02 Olivier Galibert <galibert@pobox.com>
1562
1563 * search.c (reinit_vars_of_search): Reinit the search cache
1564 correctly.
1565
1566 * elhash.h: Make the description visible. Declare
1567 resize_hash_table.
1568
1569 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
1570 to generalize the hash table reorganization.
1571 (reorganize_hash_table): Added.
1572 (enlarge_hash_table): Uses resize_has_table.
1573
1574 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
1575 tables.
1576
1577 * alloc.c: Add correct management of blocks of structures.
1578 Reorganize hash tables at reload since the hash values can change
1579 with the pointers.
1580
1581 1999-10-01 Olivier Galibert <galibert@pobox.com>
1582
1583 * lisp.h: Add pdump_wire declaration
1584
1585 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
1586 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
1587
1588 * alloc.c (pdump_wire): Added..
1589 (pdump_load): Support it.
1590 (pdump): Support it
1591
1592 * glyphs-msw.c
1593 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
1594 macro calls.
1595
1596 1999-09-28 Olivier Galibert <galibert@pobox.com>
1597
1598 * symsinit.h: Added lots of prototypes.
1599
1600 * symeval.h: Added defsymbol_nodump declaration.
1601
1602 * symbols.c (find_symbol_value): Lame attempt at making the
1603 startup go further.
1604 (defsymbol_nodump): Added.
1605
1606 * mule-charset.c: Collapsed global lisp objects arrays in one
1607 dumpable structure.
1608
1609 * lrecord.h: Added some flags.
1610
1611 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
1612 declaration.
1613
1614 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
1615 staticpro dynamic variables.
1616
1617 * glyphs.c (reinit_specifier_type_create_image): Added.
1618 (image_instantiator_format_create): Dump image instantiator format
1619 dynarr.
1620 (reinit_image_instantiator_format_create): Added.
1621
1622 * emacs.c (main_1): Added reinits calls.
1623
1624 * dynarr.c: Protect dumped dynarrays from going berzek in free or
1625 realloc.
1626
1627 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
1628 variables.
1629 * specifier.c (specifier_type_create): Dump the specifier type
1630 dynarr.
1631 (reinit_specifier_type_create): Added.
1632 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
1633 variables.
1634 * console.c (console_type_create): Dump the console type dynarr.
1635 (reinit_vars_of_console): Extracted from vars_of_console.
1636 (reinit_complex_vars_of_console): Extracted from
1637 complex_vars_of_console
1638 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
1639 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
1640 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
1641 * objects.c (reinit_specifier_type_create_objects): Added.
1642 (reinit_vars_of_objects): Extracted from vars_of_objects.
1643 * lstream.c (reinit_vars_of_lstream): Extracted from
1644 vars_of_lstream.
1645 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
1646 * gutter.c (reinit_specifier_type_create_gutter): Added.
1647 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
1648 Added.
1649 * glyphs-widget.c
1650 (reinit_image_instantiator_format_create_glyphs_widget): Added
1651 * glyphs-msw.c
1652 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
1653 * glyphs-eimage.c
1654 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
1655 * event-stream.c (reinit_vars_of_event_stream): Extracted from
1656 vars_of_event_stream
1657 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
1658 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
1659 * console-x.c (reinit_console_type_create_x): Added.
1660 * console-tty.c (reinit_console_type_create_tty): Added
1661 * console-stream.c (reinit_console_type_create_stream): Added.
1662 (init_console_stream): If PDUMP, always reinitialise basic
1663 devices.
1664 * console-msw.c (reinit_console_type_create_mswindows): Added.
1665 * buffer.c (reinit_vars_of_buffer): Extracted from
1666 init_vars_of_buffer.
1667 (reinit_complex_vars_of_buffer): Extracted from
1668 complex_vars_of_buffer
1669
1670 * alloc.c: Further with the portable dumping, the revenge.
1671 (dumpstruct): Added.
1672 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
1673
1674 * specifier.c (sizeof_specifier): Correct size computation.
1675 (make_specifier_internal): Ditto.
1676
1677 1999-09-27 Olivier Galibert <galibert@pobox.com>
1678
1679 * alloc.c: Further with the portable dumping.
1680
1681 1999-09-27 Martin Buchholz <martin@xemacs.org>
1682
1683 * glyphs-x.c (update_widget_face): Remove bogus cast
1684
1685 * data.c (sign_extent_lisp):
1686 * data.c (check_int_range):
1687 * data.c (Faref):
1688 * data.c (Faset):
1689 * data.c (number_char_or_marker_to_int):
1690 * data.c (number_char_or_marker_to_double):
1691 * data.c (Frem):
1692 * data.c (Fmod):
1693 * extents.c (print_extent_1):
1694 * fns.c (print_bit_vector):
1695 * fns.c (Flength):
1696 * fns.c (Fsafe_length):
1697 * fns.c (copy_list):
1698 * fns.c (Fsubseq):
1699 * fns.c (Felt):
1700 * fns.c (Flast):
1701 * fns.c (Fnbutlast):
1702 * insdel.h:
1703 * marker.c (print_marker):
1704 * syntax.h:
1705 * bytecode.c (bytecode_arithcompare):
1706 * bytecode.c (bytecode_arithop):
1707 * lisp.h:
1708 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
1709 * lisp.h (TRUE_LIST_P):
1710 * lisp.h (CHECK_TRUE_LIST):
1711 * lisp.h (bit_vector_length):
1712 * lisp.h (GCPRO4): Make consistent.
1713 * lisp.h (NGCPRO4): Make consistent.
1714 * lisp.h (NNGCPRO4): Make consistent.
1715 * alloc.c (Fmake_list):
1716 * alloc.c (Fmake_string):
1717 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
1718 This should make all arithmetic 64-bit clean.
1719
1720 Use %ld with (long) casts in print statements of types with sizes
1721 possibly larger than int.
1722
1723 Following functions had mismatched prototypes!!:
1724 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
1725 char_quoted(), make_string_from_buffer(),
1726 make_string_from_buffer_no_extents()
1727
1728 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
1729 Extcount are all now EMACS_INT. I hope to see the day when I can
1730 create a buffer with more than INT_MAX characters, without having
1731 XEmacs slow down to a crawl. I also hope to be able to create a
1732 list with more than INT_MAX cons cells.
1733
1734 * redisplay.c (decode_mode_spec):
1735 The %p and %P specs in the mode line were not correct for buffers
1736 larger than MAX_INT/100! The %p spec was off by .5% even for
1737 small buffers!
1738
1739 1999-09-27 Martin Buchholz <martin@xemacs.org>
1740
1741 * cmdloop.c (num_input_keys):
1742 * print.c (debug_temp):
1743 * emacs.c (Vinfo_directory):
1744 Delete unused variables
1745
1746 * console-x.h (x_interline_space): Mark as unimplemented.
1747 * redisplay-x.c (x_interline_space): Mark as unimplemented.
1748
1749 * event-Xt.c (pending_timeouts):
1750 * linuxplay.c (linuxplay_sndbuf):
1751 * profile.c (QS*):
1752 * search.c (searchbufs):
1753 * specifier.c (specifier_type_entry_dynarr):
1754 * undo.c (pending_boundary):
1755 * event-stream.c (the_low_level_timeout_blocktype):
1756 * extents.c (gap_array_marker_freelist):
1757 * extents.c (extent_list_marker_freelist):
1758 * print.c (being_printed):
1759 * print.c (alternate_do_pointer):
1760 * alloc.c (first_string_chars_block):
1761 * alloc.c (current_string_chars_block):
1762 * emacs.c (initial_argv):
1763 * emacs.c (initial_argc):
1764 * eval.c (lisp_eval_depth):
1765 * free-hook.c (pointer_table):
1766 * free-hook.c (free_queue):
1767 * free-hook.c (current_free):
1768 * free-hook.c (strict_free_check):
1769 * redisplay.c (formatted_string_emchar_dynarr):
1770 * redisplay.c (formatted_string_display_line):
1771 * redisplay.c (formatted_string_extent_dynarr):
1772 * redisplay.c (formatted_string_extent_start_dynarr):
1773 * redisplay.c (formatted_string_extent_end_dynarr):
1774 * redisplay.c (updating_line_start_cache):
1775 * redisplay.c (last_display_warning_tick):
1776 * redisplay.c (display_warning_tick):
1777 * redisplay.c (internal_cache):
1778 * window.c (Vwindow_configuration_free_list):
1779 Make static.
1780
1781 * redisplay.c (Vinitial_window_system): Make CONST.
1782
1783 1999-09-24 Martin Buchholz <martin@xemacs.org>
1784
1785 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
1786
1787 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
1788
1789 1999-09-24 Andy Piper <andy@xemacs.org>
1790
1791 * redisplay-output.c (output_display_line): only clear the borders
1792 if we are not displaying the gutter.
1793
1794 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1795
1796 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
1797 then use x_any_widget_or_parent_to_frame().
1798 (x_find_frame_for_window): remove special cases.
1799
1800 1999-09-24 Andy Piper <andy@xemacs.org>
1801
1802 * scrollbar-x.c (x_window_is_scrollbar): deleted.
1803 * scrollbar-x.h: ditto.
1804
1805 1999-09-23 Martin Buchholz <martin@xemacs.org>
1806
1807 * alloc.c (this_marks_a_marked_record): Remove.
1808
1809 * buffer.c (mark_buffer):
1810 * buffer.c (nuke_all_buffer_slots):
1811 * console.c (mark_console):
1812 * console.c (nuke_all_console_slots):
1813 * frame.c (mark_frame):
1814 * frame.c (nuke_all_frame_slots):
1815 Treat MARKED_SLOT() macros consistently.
1816
1817 * device.h (error_check_device_type):
1818 * faces.c (face_getprop):
1819 * fileio.c (DRIVE_LETTER):
1820 * filelock.c (lock_file_1):
1821 * frame-x.c (x_create_widgets):
1822 * frame.h (error_check_frame_type):
1823 * keymap.c (print_keymap):
1824 * keymap.c (Fkey_description):
1825 * keymap.c (where_is_recursive_mapper):
1826 * mule-charset.h (CHARSET_LEADING_BYTE):
1827 * objects-msw.c (mswindows_color_instance_hash):
1828 * objects.c (color_instance_equal):
1829 * objects.h (struct color_specifier):
1830 * objects.h (struct font_specifier):
1831 * objects.h (struct face_boolean_specifier):
1832 * opaque.h (get_opaque_ptr):
1833 * opaque.h (set_opaque_ptr):
1834 * process-unix.c (set_socket_nonblocking_maybe):
1835 * specifier.h (SPECIFIER_TYPE_P):
1836 * symbols.c (store_symval_forwarding):
1837 * syssignal.h (EMACS_KILLPG):
1838 * terminfo.c (emacs_tparam):
1839 * glyphs.c (glyph_putprop):
1840 * glyphs.c (glyph_remprop):
1841 * glyphs.c (Fimage_instance_subwindow_id):
1842 * window.c (mark_window):
1843 * window.c (mark_window_config):
1844 * window.c (Fset_window_configuration):
1845 * window.c (save_window_save):
1846 * eval.c (Fuser_variable_p):
1847 * eval.c (Fcommand_execute):
1848 * eval.c (Feval):
1849 * eval.c (Ffuncall):
1850 * lisp.h (XPNTR):
1851 * lisp.h (INT_OR_FLOATP):
1852 * lisp.h (GC_INT_OR_FLOATP):
1853 * lisp.h (XFLOATINT):
1854 * lisp.h (IS_ANY_SEP):
1855 * mule-ccl.c (Fccl_execute):
1856 * mule-ccl.c (Fccl_execute_on_string):
1857 * redisplay-x.c (x_output_string):
1858 Remove redundant extra parentheses.
1859
1860 1999-09-22 Martin Buchholz <martin@xemacs.org>
1861
1862 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
1863 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
1864 * free-hook.c (fun_ptr): ANSIfy
1865 * getloadavg.c: Remove declaration for errno.
1866 * gui.c (allocate_gui_item): ANSIfy
1867 * gui.h (allocate_gui_item): ANSIfy
1868 * mule-ccl.c (resolve_symbol_ccl_program): Make static
1869 * realpath.c: Remove K&R support.
1870 * redisplay-x.c (x_output_display_block): Don't shadow previous local
1871 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
1872 * gutter.c (get_gutter_coords): Make static.
1873 * lread.c (locate_file_map_suffixes): Make static.
1874 * ralloc.c (relinquish): ANSIfy
1875 * redisplay.c:
1876 * lisp.h:
1877 Move prototypes from redisplay.c to lisp.h
1878
1879 1999-09-22 Martin Buchholz <martin@xemacs.org>
1880
1881 * glyphs-x.c (x_widget_set_property):
1882 - Remove unnecessary initialization.
1883 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1884 * glyphs-x.c (x_widget_instantiate):
1885 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1886 * unexelf.c (unexec):
1887 Add cast for C++ compilability.
1888 * redisplay.h:
1889 Fix a typo.
1890 * ralloc.c (r_alloc_reinit):
1891 SET_FUN_PTR was broken wrt ANSI aliasing!
1892 To compensate, use __typeof__ when using gcc, else live with
1893 possible (but rare) warnings.
1894 * ralloc.c (init_ralloc):
1895 Ditto
1896 * ralloc.c: Use the real dlmalloc prototype for __morecore.
1897 * lread.c (locate_file_map_suffixes):
1898 * input-method-xlib.c (XIM_init_frame):
1899 - Xlib functions should use XPointer, not XtPointer.
1900 * input-method-xlib.c (XIM_delete_frame):
1901 - Xlib functions should use XPointer, not XtPointer.
1902 * input-method-xlib.c (IMDestroyCallback):
1903 - Simplify.
1904 - XFRAME (obj) can never be NULL, so don't test for it.
1905 * gutter.h:
1906 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
1907 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
1908 Run c-backslash-region on macro body.
1909 * gutter.c (gutter_was_visible):
1910 Remove redundant parens - this is not a macro.
1911 * gutter.c (redraw_exposed_gutters):
1912 Use GUTTER_POS_LOOP.
1913 * gutter.c (gutter_specs_changed):
1914 Use GUTTER_POS_LOOP.
1915 * gutter.c (gutter_geometry_changed_in_window):
1916 Use GUTTER_POS_LOOP.
1917 * gutter.c (update_frame_gutters):
1918 Use GUTTER_POS_LOOP.
1919 * gutter.c (init_frame_gutters):
1920 Use GUTTER_POS_LOOP.
1921 * file-coding.c (determine_real_coding_system):
1922 Fix C++ compile error.
1923 * emodules.c (find_make_module):
1924 Cast return value from xrealloc
1925 * emacs.c (Fkill_emacs):
1926 Use __typeof__, when available.
1927 * emacs.c (voodoo_free_hook):
1928 Use __typeof__, when available.
1929 (Unfortunately, the type of __free_hook is glibc-version-dependent)
1930 * dired.c (user_cache): Use Bufbyte *, not char *
1931 * dired.c (Fuser_name_all_completions): Ditto.
1932
1933 1999-09-22 Andy Piper <andy@xemacs.org>
1934
1935 * redisplay.c (redisplay_frame): reset the gutter display lines
1936 when we reset the subwindows.
1937
1938 * gutter.c (reset_gutter_display_lines): new function.
1939
1940 * window.c (Flast_nonminibuf_window): new function equivalent to
1941 FRAME_LAST_NONMINIBUF_WINDOW ().
1942 (syms_of_window): declare it.
1943
1944 * redisplay.c (create_string_text_block): don't add bogus eol
1945 markers to gutter display lines.
1946
1947 * glyphs.c (reset_subwindow_cachels): make sure we unmap
1948 subwindows using unmap_subwindow so that expose events get
1949 registered correctly.
1950
1951 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
1952 determine how much to scroll the window.
1953 (vars_of_window): Vwindow_pixel_scroll_increment is a new
1954 variable.
1955
1956 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
1957
1958 * glyphs-x.c (update_widget_face): Guard fontList declaration for
1959 non-motif uses.
1960
1961 1999-09-20 Andy Piper <andy@xemacs.org>
1962
1963 * glyphs-msw.c (mswindows_update_subwindow): update faces.
1964
1965 1999-09-19 Andy Piper <andy@xemacs.org>
1966
1967 * glyphs.c (update_frame_subwindows): update if faces have
1968 changed.
1969
1970 * glyphs-x.c (x_widget_instantiate): create the clip widget using
1971 lwlib rather than directly.
1972 (x_finalize_image_instance): delete the clip widget using lwlib.
1973 (x_update_subwindow): update widget faces.
1974 (update_widget_face): new function for updating the face
1975 properties of a widget.
1976 (x_widget_set_property): update widget faces.
1977
1978 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
1979 manage the clip widgets using lwlib so that we can delete them in
1980 a safe manner.
1981
1982 1999-09-16 Martin Buchholz <martin@xemacs.org>
1983
1984 * lisp-union.h:
1985 * lisp-disunion.h:
1986 Define new, potentially faster INT arithmetic macros
1987 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
1988 * bytecode.c (execute_optimized_function):
1989 Use new macros.
1990 Fix metering code
1991 * bytecode.c (bytecode_negate):
1992 Optimize for integer case.
1993
1994 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1995
1996 * m/mips.h: Support for mips-linux: Add !linux around places
1997 that are not valid for linux, define TEXT_START, DATA_START,
1998 DATA_SEG_BITS.
1999
2000 1999-09-16 Andy Piper <andy@xemacs.org>
2001
2002 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
2003 that don't completely fit on-screen rather than just unmapping
2004 them.
2005
2006 * glyphs.h: change signature of map_subwindow.
2007
2008 * glyphs.c (map_subwindow): add display_glyph_area to the
2009 signature. make sure the mapped area saved in the subwindow_cachel
2010 reflects this.
2011 (Fforce_subwindow_map): make a no-op. I don't think this does
2012 anything useful.
2013
2014 * glyphs-x.h (struct x_subwindow_data): save the Display rather
2015 than the Screen. Add a clipwindow and clipwidget handle.
2016 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
2017 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
2018 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
2019 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
2020
2021 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
2022 as well as the widget itself.
2023 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
2024 than the widgets and subwindows themselves. move the widget inside
2025 the clipwidget.
2026 (x_subwindow_instantiate): hold onto the Display rather than the
2027 Screen. allocate a clipwindow to put the subwindow inside.
2028 (x_resize_subwindow): use saved Display directly.
2029 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
2030 to put widgets inside.
2031
2032 * glyphs-widget.c: remove group stuff.
2033
2034 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
2035 hold the clipwindow.
2036 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
2037 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
2038
2039 * glyphs-msw.c: remove group stuff.
2040 (mswindows_finalize_image_instance): destroy clipwindow as well as
2041 the widget itself.
2042 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
2043 widget.
2044 (mswindows_map_subwindow): ditto. move the widget within the
2045 clipwindow.
2046 (mswindows_subwindow_instantiate): allocate and initialize
2047 mswindows_subwindow_data. allocate a clipwindow with the subwindow
2048 as a child.
2049 (mswindows_widget_instantiate): ditto.
2050 (mswindows_control_wnd_proc): new function that allows us to
2051 propagate events from the widget to the main windows control loop.
2052
2053 * device-msw.c (mswindows_init_device): register new widget clip window
2054 class.
2055
2056 * console.h (struct console_methods): add display_glyph_area to
2057 map_window.
2058
2059 * console-msw.h: declare new window class and wnd proc for
2060 widgets.
2061
2062 1999-09-14 Martin Buchholz <martin@xemacs.org>
2063
2064 * general.c:
2065 * eldap.c:
2066 Move symbols used only by eldap.c into eldap.c as statics.
2067
2068 1999-09-09 Martin Buchholz <martin@xemacs.org>
2069
2070 * window.c (syms_of_window):
2071 * symbols.c (syms_of_symbols):
2072 * redisplay.c (syms_of_redisplay):
2073 * print.c (syms_of_print):
2074 * lisp.h:
2075 * intl.c (syms_of_intl):
2076 * general.c (syms_of_general):
2077 * frame.c (syms_of_frame):
2078 * fileio.c (syms_of_fileio):
2079 * file-coding.h:
2080 * file-coding.c (syms_of_file_coding):
2081 * extents.c (syms_of_extents):
2082 * event-stream.c (syms_of_event_stream):
2083 * event-stream.c (Fnext_event):
2084 * device.c (syms_of_device):
2085 * data.c (syms_of_data):
2086 * casetab.c (syms_of_casetab):
2087 * casetab.c (check_case_table):
2088 * callint.c (syms_of_callint):
2089 * buffer.c (syms_of_buffer):
2090 Delete unused C symbols:
2091 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
2092 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
2093 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
2094 Qcommand_execute, Qglyph_invisible,
2095 Qbuffer_file_coding_system, Qfile_name_handler_alist,
2096 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
2097 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
2098 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
2099 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
2100
2101 Rename symbols as required by the CHECK_RECORD macro:
2102 - Qcase_table_p to Qcase_tablep
2103 - Qcoding_system_p to Qcoding_systemp
2104
2105 * debug.h:
2106 * debug.c (syms_of_debug):
2107 Make debug.c's internal Lisp_Objects static.
2108
2109 * events.c (vars_of_events):
2110 * events.c (syms_of_events):
2111 Use regular old defsymbol instead of KEYSYM + staticpro().
2112
2113 * select-x.c (CHECK_CUTBUFFER):
2114 Rewrite in accordance with coding standards.
2115
2116 * keymap.c (syms_of_keymap):
2117 Use SPC in the same way as RET, TAB, etc.
2118
2119 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
2120
2121 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
2122 offset twice if HAVE_WMCOMMAND is defined.
2123
2124 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
2125
2126 * redisplay-x.c (x_output_vertical_divider): make sure
2127 shadow_thickness is positive.
2128
2129 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
2130
2131 * process-nt.c (nt_create_process): fixup to cope with
2132 Vprocess_environment.
2133
2134 1999-09-02 Andy Piper <andy@xemacs.org>
2135
2136 * redisplay-output.c (redisplay_output_layout): call output
2137 routines with clear_clip false. output layout borders with text
2138 correctly.
2139
2140 * redisplay-msw.c (mswindows_output_blank): call output routines
2141 with clear_clip true.
2142 (mswindows_output_string): ditto.
2143 (mswindows_output_display_block): ditto.
2144
2145 * redisplay-x.c (x_output_display_block): call output routines
2146 with clear_clip true.
2147
2148 * redisplay.h: fix output routines for clear_clip parameter.
2149
2150 * redisplay-output.c (redisplay_output_layout): cope with glyphs
2151 in the border.
2152
2153 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
2154 (check_valid_glyph_or_instantiator): renamed from
2155 check_valid_glyph_or_image.
2156 (check_valid_border): allow glyphs or their instantiators.
2157 (check_valid_glyph_or_instantiator_list): renamed from
2158 check_valid_glyph_or_image_list,
2159 (glyph_instantiator_to_glyph): new function. make sure a glyph is
2160 a glyph and not an instantiator.
2161 (substitute_keyword_value): new function. replace a keyword value
2162 with a new one.
2163
2164 1999-09-01 Andy Piper <andy@xemacs.org>
2165
2166 * glyphs.c (string_set_property): new function to set the data of
2167 a string.
2168 (image_instantiator_format_create): use it.
2169
2170 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
2171
2172 * fns.c (Fmapc): Rename back to Fmapc_internal.
2173
2174 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
2175
2176 * ntheap.h: CONST (semantically constant) name field of file_data
2177 struct
2178
2179 * unexnt.c (open_output_file): match function definition with
2180 function declaration
2181
2182 * editfns.c: #include "sysfile.h" for getcwd() prototype
2183
2184 * gif_io.c: #include "sysfile.h" for close() prototype
2185
2186 1999-09-02 Martin Buchholz <martin@xemacs.org>
2187
2188 * elhash.c:
2189 * elhash.h:
2190 Change the :type keyword to :weakness, for compatibility with the
2191 GNU Emacs 20.5 hash table implementation.
2192 Keep (but don't document) the :type keyword for compatibility.
2193 Obsolete function hash-table-type
2194 General cleanup.
2195 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
2196
2197 1999-09-01 Martin Buchholz <martin@xemacs.org>
2198
2199 * floatfns.c (arith_error):
2200 * floatfns.c (range_error):
2201 * floatfns.c (range_error2):
2202 * floatfns.c (domain_error):
2203 * floatfns.c (domain_error2):
2204 * lrecord.h (LRECORDP):
2205 * console-x.h (X_ERROR_OCCURRED):
2206 * console-x.h (HANDLING_X_ERROR):
2207 * chartab.c (CATEGORYP):
2208 * buffer.h (XCHAR_OR_CHAR_INT):
2209 Remove redundant and confusing parentheses.
2210
2211 * redisplay-output.c (redisplay_clear_to_window_end):
2212 Remove redundant initialization.
2213
2214 * redisplay.h:
2215 * redisplay-msw.c:
2216 * redisplay-x.c:
2217 Move declarations of bevel_modeline() into redisplay.h.
2218
2219 1999-08-30 Olivier Galibert <galibert@pobox.com>
2220
2221 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
2222 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
2223 alignment information for dumped data. Enhance
2224 descriptions. Phase out Vterminal_* variables while
2225 dumping.
2226 * lrecord.h: Add chained descriptions and automagically-reset
2227 lisp_objects to the description system.
2228
2229 * console-stream.h: Declare the Vterminal_* variables.
2230
2231 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
2232 Vbuffer_local_symbols.
2233 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
2234 Vconsole_local_symbols.
2235 * eval.c: Don't dump Qunbound_suspended_errors_tag.
2236 * lread.c: Don't dump Vread_buffer_stream.
2237 * lstream.c: Don't dump Vlstream_free_list[].
2238 * search.c: Don't dump last_thing_searched.
2239 * window.c: Don't dump minibuf_window and
2240 Vwindow_configuration_free_list[].
2241
2242 * faces.c: Add face description.
2243 * fns.c: Add bit_vector description.
2244 * glyphs.c: Add image specifier description.
2245 * objects.c: Add color, face and face boolean specifiers descriptions.
2246 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
2247 * rangetab.c: Add range table description.
2248 * specifier.c: Add specifier and specifier methods description.
2249 * specifier.h: Add specifier extra description support.
2250
2251 * symbols.c: Fix symbol_value_buffer_local_description.
2252
2253 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
2254
2255 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
2256
2257 * extents.c (extent_remprop): Get extent's plist address
2258 correctly.
2259
2260 1999-08-31 Andy Piper <andy@xemacs.org>
2261
2262 * xmu.h: define Xmu/Converters.h things.
2263
2264 1999-08-31 Andy Piper <andy@xemacs.org>
2265
2266 * opaque.c (equal_opaque_ptr): define.
2267 (hash_opaque_ptr): define.
2268
2269 * xmu.h: define Xmu/Misc.h things.
2270
2271 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2272
2273 * file-coding.c (determine_real_coding_system): Treat `coding:'
2274 cookie.
2275
2276 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2277
2278 * file-coding.c (struct decoding_stream): New member `counter'.
2279 (reset_decoding_stream): Initialize `counter'.
2280 (decode_coding_ucs4): Use `counter'.
2281 (decode_coding_utf8): Likewise.
2282
2283 1999-08-31 Andy Piper <andy@xemacs.org>
2284
2285 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
2286 the clip offset doesn't exceed the height we have available to
2287 show.
2288
2289 * window.h (struct window): add top_yoffset and left_xoffset for
2290 pixel scrolling.
2291 (WINDOW_TEXT_TOP_CLIP): new macro.
2292
2293 * window.c (window_scroll): add behaviour for pixel-scrolling of
2294 tall lines.
2295
2296 * redisplay.h (struct display_line): add top_clip.
2297 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
2298 (DISPLAY_LINE_YPOS): ditto.
2299
2300 * redisplay.c (position_redisplay_data_type): add
2301 start_col_xoffset to prepare for pixel-based h-scrolling.
2302 (WINDOW_SCROLLED): new macro.
2303 (next_tab_position): use it.
2304 (add_glyph_rune): use new hscoll vars.
2305 (create_text_block): ditto.
2306 (generate_displayable_area): adjust off-by-one error.
2307 (regenerate_window): take top_clip into account.
2308 (regenerate_window_extents_only_changed): ditto.
2309 (regenerate_window_incrementally): ditto.
2310
2311 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
2312 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
2313 (x_output_string): ditto.
2314 (x_output_blank): ditto.
2315 (x_output_hline): ditto.
2316 (x_output_eol_cursor): ditto.
2317
2318 * redisplay-output.c (output_display_line): allow for
2319 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
2320 DISPLAY_LINE_YEND macros.
2321 (redisplay_output_layout): output strings in layouts correctly.
2322 (redisplay_clear_clipped_region): allow for top_clip.
2323 (redisplay_calculate_display_boxes): ditto.
2324
2325 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
2326 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
2327 (mswindows_output_cursor): ditto.
2328 (mswindows_output_string): ditto.
2329 (mswindows_redraw_exposed_window): ditto.
2330 (mswindows_output_display_block): ditto.
2331
2332 * gutter.c: new specifier type gutter-size.
2333 (gutter_size_validate): validate gutter-size specifier.
2334 (Fgutter_size_specifier_p): predicate for gutter-size.
2335 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
2336 under user contol, like Fredisplay_echo_area.
2337 (syms_of_gutter): add new functions.
2338 (specifier_type_create_gutter): add new specifier.
2339 (specifier_vars_of_gutter): change specifier types of *-height to
2340 gutter-size.
2341
2342 * glyphs.c (glyph_width): make work with image instances.
2343
2344 * console.h (struct console_methods): change api of output_string.
2345
2346 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
2347 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2348
2349 1999-08-30 Andy Piper <andy@xemacs.org>
2350
2351 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
2352 for assignment.
2353 (init_image_instance_from_x_image): ditto.
2354 (x_xpm_instantiate): ditto.
2355 (x_colorize_image_instance): ditto. Reported by Richard Cognot
2356 <cognot@ensg.u-nancy.fr>
2357
2358 1999-08-29 Andy Piper <andy@xemacs.org>
2359
2360 * glyphs-x.c (x_widget_instantiate): move font initialisation so
2361 that it doesn't get saved in the user defined args.
2362 (x_tab_control_instantiate): Set the fg color of the tab's
2363 children.
2364 (x_tab_control_set_property): ditto.
2365
2366 1999-08-27 Damon Lipparelli <lipp@primus.com>
2367
2368 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
2369 (XSETTIMEOUT): fixup typo
2370
2371 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
2372
2373 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
2374 Word boundary search looks back instead of forward so that it
2375 doesn't peek over the limit.
2376
2377 1999-08-20 Olivier Galibert <galibert@pobox.com>
2378
2379 * config.h.in: Add PDUMP define.
2380 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
2381
2382 * lrecord.h: Enhance description system.
2383 * alloc.c: Fix vector and string description. Add portable
2384 dumper enumeration fonctions.
2385
2386 * symbols.c: Fix symbols description. Add symbol_value_forward
2387 description.
2388 * eval.c: Add subr description.
2389 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
2390 table description.
2391 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
2392
2393 1999-08-20 Olivier Galibert <galibert@pobox.com>
2394
2395 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
2396 its own.
2397 * opaque.h: Ditto.
2398
2399 * eval.c (eval_in_buffer_trapping_errors):
2400 (run_hook_trapping_errors):
2401 (safe_run_hook_trapping_errors):
2402 (call0_trapping_errors):
2403 (call1_trapping_errors):
2404 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
2405 now takes a non-const void *.
2406
2407 1999-08-20 Olivier Galibert <galibert@pobox.com>
2408
2409 * opaque.c: Remove make_opaque_long.
2410
2411 * opaque.h: Remove everything opaque_long related.
2412
2413 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
2414 opaque_ptr.
2415
2416 * emacs.c (main_1): Remove make_opaque_long from comment.
2417
2418 1999-08-20 Olivier Galibert <galibert@pobox.com>
2419
2420 * event-stream.c (mark_timeout):
2421 (print_timeout):
2422 (event_stream_generate_wakeup):
2423 (event_stream_resignal_wakeup):
2424 (event_stream_disable_wakeup):
2425 (event_stream_wakeup_pending_p):
2426 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
2427
2428 * events.h (struct Lisp_Timeout): Added.
2429
2430 1999-08-24 Andy Piper <andy@xemacs.org>
2431
2432 * console-x.h: declare new pixmap signatures.
2433
2434 1999-08-23 Andy Piper <andy@xemacs.org>
2435
2436 * glyphs-x.c (x_update_subwindow): make sure the widget size is
2437 maintained after an update.
2438
2439 * event-Xt.c (emacs_Xt_handle_magic_event): use
2440 find_matching_subwindow to check whether the exposure is totally
2441 inside a subwindow, if it is then ignore it.
2442
2443 * glyphs.c (find_matching_subwindow): new function.
2444
2445 * toolbar-x.c (x_draw_blank_toolbar_button): use new
2446 x_output_shadows signature.
2447 (x_output_toolbar_button): use new x_output_x_pixmap signature.
2448
2449 * redisplay.h (struct display_box): new structure.
2450 (struct display_glyph_area): ditto.
2451 declare new display_box functions.
2452
2453 * redisplay-x.c (x_output_pixmap): update for new display
2454 box stuff.
2455 (x_bevel_area): update to allow multiple edge styles and border
2456 segments.
2457 (x_output_display_block): update for new display_box stuff and
2458 signatures.
2459 (x_clear_region): ditto.
2460 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
2461 (console_type_create_redisplay_x): declare new console methods.
2462 (x_output_vertical_divider): update for new bevel_area signature.
2463 (x_output_shadows): update to allow selective drawing of edges.
2464
2465 * redisplay-tty.c (tty_output_display_block): do nothing for
2466 layouts.
2467
2468 * redisplay-output.c (redisplay_output_subwindow): convert to use
2469 display_box structure, this allows us to put subwindows anywhere
2470 with any offset, useful for layout glyphs.
2471 (redisplay_output_layout): new function. output a layout and its
2472 sub-glyphs.
2473 (redisplay_output_pixmap): new modular function combining generic
2474 parts of the X and mswindows versions. convert to use display_box
2475 structures.
2476 (redisplay_clear_clipped_region): new function. clear the area a
2477 glyph is going into.
2478 (redisplay_normalize_glyph_area): new function. calculate the
2479 bounds of a display_glyph_area given a display_box.
2480 (redisplay_normalize_display_box): new function. shrink a
2481 display_box to enclose a display_glyph_area.
2482 (redisplay_display_boxes_in_window_p): check whether the input
2483 display_box and display_glyph_area are actually in a window.
2484 (redisplay_calculate_display_boxes): calculate display boxes based
2485 on conventional display_line metrics.
2486 (bevel_modeline): update for new bevel_area signature.
2487
2488 * redisplay-msw.c (mswindows_output_blank): update for new
2489 display_box stuff.
2490 (mswindows_output_string): ditto.
2491 (mswindows_output_dibitmap): ditto.
2492 (mswindows_output_dibitmap_region): ditto.
2493 (mswindows_output_pixmap): ditto.
2494 (mswindows_bevel_area): update to allow multiple edge styles and
2495 border segments.
2496 (mswindows_output_display_block): update for new display_box stuff
2497 and signatures.
2498 (mswindows_clear_region): ditto.
2499 (console_type_create_redisplay_mswindows): declare new console methods.
2500
2501 * lisp.h (edge_style): new enum.
2502 declare display_box and display_glyph_area.
2503
2504 * gutter.c (output_gutter): update for new bevel_area signature.
2505
2506 * glyphs.h (image_instance_type): add layout.
2507 (IMAGE_LAYOUT_MASK): ditto.
2508 (LAYOUT_IMAGE_INSTANCEP): new macro.
2509 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
2510 (struct Lisp_Image_Instance): add offsets for layout and the
2511 layout type itself. move mask here also.
2512 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
2513 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
2514 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
2515 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
2516
2517 * glyphs.c (mark_image_instance): update for layouts.
2518 (print_image_instance): ditto.
2519 (image_instance_equal): ditto.
2520 (image_instance_hash): ditto.
2521 (allocate_image_instance): initialise offsets for layout.
2522 (decode_image_instance_type): update for layouts.
2523 (encode_image_instance_type): ditto.
2524 (Fimage_instance_height): ditto.
2525 (Fimage_instance_width): ditto.
2526 (allocate_glyph): ditto.
2527 (glyph_width): allow image instances as an argument. update for layouts.
2528 (glyph_height_internal): ditto.
2529 (syms_of_glyphs): add layout symbols.
2530
2531 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
2532 (IMAGE_INSTANCE_X_MASK): update.
2533
2534 * glyphs-x.c (x_label_instantiate): new function. instantiate a
2535 label.
2536 (image_instantiator_format_create_glyphs_x): initialise new layout
2537 glyph type.
2538
2539 * glyphs-widget.c: new layout type.
2540 (check_valid_orientation): new keyword checker for layouts.
2541 (check_valid_justification): ditto.
2542 (check_valid_border): ditto.
2543 (check_valid_glyph_or_image_list): ditto.
2544 (layout_possible_dest_types): new function for layout glyph type.
2545 (layout_normalize): ditto.
2546 (layout_instantiate): ditto.
2547 (syms_of_glyphs_widget): new keywords for layout.
2548 (image_instantiator_format_create_glyphs_widget): initialise the
2549 layout glyph type.
2550
2551 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
2552 argument.
2553 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
2554
2555 * glyphs-msw.c: declare layout format.
2556 (image_instantiator_format_create_glyphs_mswindows): initialise it.
2557
2558 * general.c: new symbols for layouts.
2559
2560 * console.h (struct console_methods): new console methods for
2561 outputting pixmaps and strings.
2562
2563 1999-08-23 Didier Verna <verna@inf.enst.fr>
2564
2565 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
2566 and `bell_inhibit_time' to `Vbell_inhibit_time'.
2567
2568 1999-08-18 Andy Piper <andy@xemacs.org>
2569
2570 * redisplay-output.c (redisplay_output_subwindow): disable
2571 clipping attempt.
2572
2573 1999-08-17 Andy Piper <andy@xemacs.org>
2574
2575 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
2576 area to expose or no gutter to display.
2577
2578 1999-08-16 Charles G Waldman <cgw@fnal.gov>
2579
2580 * sound.c: rename `bell_volume' to `Vbell_volume' and
2581 `bell_inhibit_time' to `Vbell_inhibit_time'.
2582
2583 1999-08-13 Charles G Waldman <cgw@fnal.gov>
2584
2585 * sound.c: (bell-inhibit-time): New variable.
2586 (ding): Use it.
2587 (sound-alist): Fix docstring.
2588
2589 1999-08-17 Andy Piper <andy@xemacs.org>
2590
2591 * gui-x.c (button_item_to_widget_value): xstrdup name so that
2592 deleting it is ok.
2593
2594 1999-08-16 Jeff Miller <jmiller@smart.net>
2595
2596 * syntax.c (scan_words): make compile.
2597
2598 1999-08-16 Andy Piper <andy@xemacs.org>
2599
2600 * redisplay-output.c (redisplay_output_subwindow): try and be more
2601 relaxed about clipping possibilities.
2602
2603 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
2604 rather than just the widget_value.
2605 (x_update_subwindow): ditto.
2606 (x_widget_instantiate): ditto.
2607
2608 * gutter.c (output_gutter): shrink current display lines if
2609 required.
2610
2611 1999-08-15 Andy Piper <andy@xemacs.org>
2612
2613 * redisplay.h: declare free_display_lines.
2614
2615 * redisplay.c (free_display_lines): make non-static.
2616
2617 * gutter.c (free_frame_gutters): use free_display_lines instead of
2618 Dynarr_free.
2619 (calculate_gutter_size): ditto.
2620
2621 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2622
2623 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
2624
2625 1999-08-14 Andy Piper <andy@xemacs.org>
2626
2627 * glyphs.c (update_subwindow_cachel): make it less brittle.
2628
2629 1999-08-04 Mike Woolley <mike@bulsara.com>
2630
2631 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
2632 problem in wheelmouse code occurring when the horizontal scrollbar
2633 is enabled but not visible.
2634
2635 1999-08-08 Andy Piper <andyp@beasys.com>
2636
2637 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
2638 (console_type_create_toolbar_mswindows): use it.
2639
2640 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
2641
2642 * redisplay-output.c (redisplay_output_display_block): unmap
2643 subwindows in the block area before outputting the block.
2644
2645 * event-msw.c (mswindows_wnd_proc): check the update rect before
2646 painting and disable expose registration while painting.
2647
2648 * glyphs.c (register_ignored_expose): check
2649 hold_ignored_expose_registration before registering expose events.
2650
2651 * redisplay.c (redisplay_frame): reset the subwindow cache before
2652 displaying the gutter.
2653
2654 * glyphs-msw.c (mswindows_map_subwindow): move the window before
2655 mapping.
2656
2657 * gutter.c (update_frame_gutters): check for glyphs_changed as if
2658 it is the subwindow cache will have been reset.
2659
2660 1999-08-06 Andy Piper <andyp@beasys.com>
2661
2662 * gui-x.c (button_item_to_widget_value): cope with strings.
2663
2664 * glyphs.h: declare global widget functions.
2665 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
2666
2667 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
2668 here. remove dead code.
2669 (image_instantiator_format_create_glyphs_x): enable combo boxes
2670 for Motif 2.0.
2671
2672 * glyphs-widget.c (widget_instantiate_1): make non-static.
2673 (tree_view_instantiate): renamed from combo_box_instantiate.
2674 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
2675
2676 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
2677 initialization here.
2678
2679 * lwlib-Xm.c (xm_update_combo_box): new function.
2680 (xm_update_one_widget): call it.
2681 (xm_update_one_value): deal with combo boxes as well as lists.
2682 (xm_create_combo_box): create a drop-down combo box.
2683
2684 * toolbar-msw.c (mswindows_output_toolbar): call
2685 mswindows_move_toolbar.
2686
2687 1999-08-05 Andy Piper <andyp@beasys.com>
2688
2689 * window.c (Fcurrent_pixel_column): new function. use display
2690 lines to calculate pixel position of point.
2691 * window.c (syms_of_window): declare it.
2692
2693 1999-08-05 Andy Piper <andy@xemacs.org>
2694
2695 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
2696 contained in our ignore list.
2697
2698 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
2699 (syms_of_buffer): declare record-buffer-hook.
2700
2701 * s/mingw32.h: define mousewheel things.
2702
2703 1999-08-04 Mike Woolley <mike@bulsara.com>
2704
2705 * windowsnt.h (_WIN32_WINNT): enable for win95
2706
2707 * s/cygwin32.h: define mousewheel things.
2708
2709 * scrollbar-msw.h: declare mousewheel handler.
2710
2711 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
2712
2713 1999-08-04 Andy Piper <andy@xemacs.org>
2714
2715 * gui-x.c (gui_items_to_widget_values): remove unused variable.
2716 (gui_items_to_widget_values_1): ditto.
2717
2718 * gui-x.h: unconditionally define since it is used everywhere.
2719
2720 1999-08-04 Andy Piper <andy@xemacs.org>
2721
2722 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
2723 have that type of image.
2724
2725 1999-07-30 Andy Piper <andy@xemacs.org>
2726
2727 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
2728 subwindow to not unmap if required.
2729 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
2730 (redisplay_unmap_subwindows_except_us): new function.
2731 (redisplay_output_subwindow): use it to unmap windows in the area
2732 we are displaying into.
2733
2734 * glyphs.c (update_subwindow_cachel_data): always update as we
2735 only ever get called when an update is required.
2736 (update_subwindow_cachel): new function. sync a subwindow with its
2737 cachel.
2738 (Fresize_subwindow): use it.
2739 (register_ignored_expose): make sure we set the tail correctly.
2740
2741 1999-07-28 Andy Piper <andy@xemacs.org>
2742
2743 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
2744 unneeded device.
2745
2746 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
2747 whole gutter.
2748
2749 * gui.h: declare parse_gui_item_tree_list and
2750 parse_gui_item_tree_children.
2751
2752 * gui.c (parse_gui_item_tree_item): new function for parsing item
2753 lists into gui-item trees.
2754 (parse_gui_item_tree_children): ditto.
2755 (parse_gui_item_tree_list): ditto.
2756
2757 * gui-x.h: declare gui_items_to_widget_values.
2758
2759 * gui-x.c (gui_items_to_widget_values_1): new function for
2760 recursively parsing gui-items into widget_values.
2761 (gui_item_children_to_widget_values): ditto.
2762 (gui_items_to_widget_values): ditto.
2763 (sanity_check_lwlib): add widgets macrolets.
2764
2765 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
2766 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
2767 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
2768 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
2769 (struct expose_ignore): new structure for storing ignorable expose
2770 events.
2771
2772 * glyphs.c (valid_image_instantiator_format_p): fix so that using
2773 a console-type as a locale works.
2774 (mark_image_instance): ITEM->ITEMS.
2775 (image_instance_equal): ditto.
2776 (image_instance_hash): ditto.
2777 (struct expose_ignore_blocktype): new blocktype.
2778 (check_for_ignored_expose): new function. checks frame exposure
2779 list for events to ignore.
2780 (register_ignored_expose): new function. registers an expose event
2781 as ignorable.
2782 (unmap_subwindow): register the expose event as ignorable.
2783 (vars_of_glyphs): initialise the exposure blocktype.
2784
2785 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
2786 (x_update_subwindow): modify all widgets using widget_value tree
2787 rather than just a single widget value.
2788 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
2789 make sure widgets don't resize themselves.
2790 (x_tab_control_instantiate): new function. use lwlib tab functions.
2791 (x_tab_control_set_property): new function.
2792 (image_instantiator_format_create_glyphs_x): add tab_control.
2793
2794 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
2795 slightly more sensibly.
2796 (initialize_widget_image_instance): ITEM->ITEMS.
2797 (widget_instantiate_1): parse gui items generically into the ITEMS
2798 entry.
2799
2800 * glyphs-msw.c (mswindows_update_subwindow): replace
2801 SINGLE_ITEM->ITEM.
2802 (mswindows_register_widget_instance): ditto.
2803 (add_tree_item): modify to use new pre-initialised gui-item
2804 structure.
2805 (add_tab_item): ditto.
2806 (mswindows_tab_control_instantiate): ditto.
2807 (mswindows_tab_control_set_property): ditto.
2808 (image_instantiator_format_create_glyphs_mswindows): predicate
2809 existance of widgets on HAVE_WIDGETS.
2810
2811 * frame.h (struct frame): add subwindow_exposures variables.
2812
2813 * frame.c (allocate_frame_core): reset subwindow_exposures links.
2814
2815 * event-msw.c (mswindows_wnd_proc): check for ignored
2816 expose events before redrawing.
2817
2818 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
2819 expose events before redrawing.
2820
2821 1999-07-30 SL Baur <steve@xemacs.org>
2822
2823 * scrollbar-x.c: should include EmacsFrame.h.
2824 From Jeff Miller <jmiller@smart.net>
2825
2826 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
2827
2828 * XEmacs 21.2.19 is released
2829
2830 1999-07-27 Jeff Miller <jmiller@smart.net>
2831
2832 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
2833 menubar_show_keybindings.
2834
2835 1999-07-23 SL Baur <steve@miho>
2836
2837 * mule-charset.c (syms_of_mule_charset): Delete duplicated
2838 definition of Qccl_program.
2839
2840 * mule-ccl.h: Make a global declaration of it here.
2841
2842 1999-07-20 Bob Weiner <weiner@beopen.com>
2843
2844 * s/sco7.h: Added from rr@sco.com.
2845
2846 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2847
2848 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
2849
2850 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2851
2852 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
2853 (mule_encode): Likewise.
2854
2855 * mule-ccl.c (Qccl_program): New variable.
2856 (CCL_SUSPEND): New macro.
2857 (CCL_INVALID_CMD): New macro.
2858 (CCL_READ_CHAR): Don't regard as invalid command while processing
2859 the last block even if input is empty; use
2860 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
2861 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
2862
2863 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
2864 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
2865 (CCL_STAT_SUSPEND_BY_DST): Likewise.
2866 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
2867 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
2868
2869 1999-05-04 Ken'ichi Handa <handa@gnu.org>
2870
2871 * mule-ccl.h (struct ccl_program): New member stack_idx.
2872
2873 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
2874 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
2875 before returing.
2876 (setup_ccl_program): Initialize ccl->stack_idx to 0.
2877
2878 1998-10-12 Kenichi Handa <handa@etl.go.jp>
2879
2880 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
2881 definitions.
2882
2883 1998-08-18 Kenichi Handa <handa@etl.go.jp>
2884
2885 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
2886 processing the last block, don't just finish but processes eol
2887 block of the current CCL program.
2888 (ccl_driver): Add a new jump label ccl_repeat for the above
2889 change.
2890
2891 1998-04-15 Kenichi Handa <handa@etl.go.jp>
2892
2893 * mule-ccl.c: Typo in comments fixed.
2894 (Qccl_program_idx): New variables.
2895 (CCL_ReadMultibyteChar2): Macro name changed from
2896 CCL_ReadMultibyteCharacter.
2897 (CCL_WriteMultibyteChar2): Macro name changed from
2898 CCL_WriteMultibyteChar2.
2899 (ccl_driver): Adjusted for the above changes.
2900 (resolve_symbol_ccl_program): New function.
2901 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
2902 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
2903 numbers by resolve_symbol_ccl_program.
2904 (Fccl_execute_on_string): Likewise.
2905 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
2906 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
2907
2908 1998-01-21 Kenichi Handa <handa@etl.go.jp>
2909
2910 * mule-ccl.h: (struct ccl_program): New member private_state.
2911
2912 * mule-ccl.c
2913 (CCL_Call): Fix the comment.
2914 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
2915 macros for CCL Commands.
2916 (EXCMD): New macro.
2917 (ccl_driver): New case label `CCL_Extension'.
2918 (setup_ccl_program): Initialize the member `private_state' of CCL.
2919
2920 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
2921
2922 * keymap.c (copy_keymap_internal): Inherit the default binding.
2923
2924 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
2925
2926 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
2927 focus the event (XIM_focus_event).
2928 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
2929 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
2930 the interface for future use (XIM_SetGeometry).
2931 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
2932 location (XIM_SetSpotLocation).
2933 (x_output_eol_cursor): Ditto.
2934
2935 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2936
2937 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
2938 Olivier's change to lrecord.h of 1999-04-22
2939
2940 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
2941
2942 * gutter.c (redraw_exposed_gutter): Change type of pos from
2943 enum toolbar_pos -> enum gutter_pos, since former is only defined
2944 if toolbar support is.
2945
2946 1999-07-19 Andy Piper <andy@xemacs.org>
2947
2948 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
2949 subwindows.
2950
2951 * gutter.c (gutter_validate): new function for the gutter specifier.
2952 (specifier_type_create_gutter): declare specifier validator.
2953
2954 * buffer.h (INC_CHARBYTIND): add for no error checking version.
2955
2956 1999-07-18 Andy Piper <andy@xemacs.org>
2957
2958 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2959
2960 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
2961 resize_subwindow.
2962 (mswindows_resize_subwindow): new function.
2963
2964 * gutter.c (redraw_exposed_gutter): only reset the
2965 current_display_lines if non-zero.
2966 (Fgutter_pixel_height): new function.
2967 (Fgutter_pixel_width): new function.
2968
2969 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
2970 we want to retrive from the tab control.
2971
2972 1999-07-17 Andy Piper <andy@xemacs.org>
2973
2974 * window.c (change_window_height): mark gutters changed when we're
2975 done.
2976
2977 * gutter.c (specifier_vars_of_gutter): make defaults more
2978 sensible.
2979
2980 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
2981 height gutter.
2982 (DEFAULT_GUTTER_WIDTH): change.
2983 (DEFAULT_GUTTER_BORDER_WIDTH): change.
2984
2985 1999-07-18 Andy Piper <andy@xemacs.org>
2986
2987 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2988
2989 1999-07-16 Andy Piper <andy@xemacs.org>
2990
2991 * frame.c (Fmake_frame): call init_frame_gutters().
2992
2993 * redisplay.c (add_emchar_rune): use string functions if we are
2994 working with a string.
2995 (position_redisplay_data_type): add string element.
2996
2997 1999-07-15 Andy Piper <andy@xemacs.org>
2998
2999 * winslots.h: add real_gutter_size slots to hold the actual gutter
3000 size. This is important for autodetected sizes.
3001
3002 * gutter.c (calculate_gutter_size): calculate size for gutters
3003 that have 'autodetect size.
3004
3005 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
3006 extent of divider for gutters.
3007
3008 * redisplay-x.c (x_output_vertical_divider): adjust extent of
3009 divider for gutters.
3010
3011 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
3012 position to take into account the gutters.
3013
3014 * redisplay.c (generate_modeline): adjust modeline position to
3015 take into account the gutters.
3016
3017 1999-07-14 Andy Piper <andy@xemacs.org>
3018
3019 * gutter.c (frame_topmost_window): new function.
3020 (frame_bottommost_window): ditto.
3021 (frame_leftmost_window): ditto.
3022 (frame_rightmost_window): ditto.
3023
3024 1999-07-13 Andy Piper <andy@xemacs.org>
3025
3026 * redisplay.c (calculate_display_line_boundaries): use text
3027 boundaries so that gutters get handled properly.
3028
3029 1999-07-12 Andy Piper <andy@xemacs.org>
3030
3031 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
3032 we're using Motif.
3033
3034 * redisplay-output.c (redisplay_clear_to_window_end): generalised
3035 from redisplay-x.c
3036
3037 * redisplay-x.c (redisplay_clear_to_window_end): moved to
3038 redisplay.c
3039
3040 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
3041
3042 * gutter.c: new file - implements gutters. All new functions are
3043 semantically equivalent to the toolbar functions.
3044 (gutter_was_visible): new function.
3045 (get_gutter_coords): ditto.
3046 (output_gutter): ditto.
3047 (clear_gutter): ditto.
3048 (update_frame_gutters): ditto.
3049 (redraw_exposed_gutter): ditto.
3050 (redraw_exposed_gutters): ditto.
3051 (free_frame_gutters): ditto.
3052 (init_frame_gutters): ditto.
3053 (decode_gutter_position): ditto.
3054 (Fset_default_gutter_position): ditto.
3055 (Fset_default_gutter_position): ditto.
3056 (Fdefault_gutter_position): ditto.
3057 (gutter_after_change): ditto.
3058 (Fgutter_specifier_p): ditto.
3059 (recompute_overlaying_specifier): ditto.
3060 (gutter_specs_changed): ditto.
3061 (default_gutter_specs_changed): ditto.
3062 (gutter_geometry_changed_in_window): ditto.
3063 (default_gutter_size_changed_in_window): ditto.
3064 (default_gutter_border_width_changed_in_window): ditto.
3065 (default_gutter_visible_p_changed_in_window): ditto.
3066 (syms_of_gutter): ditto.
3067 (vars_of_gutter): ditto.
3068 (specifier_type_create_gutter): ditto.
3069 (specifier_vars_of_gutter): ditto.
3070
3071 * gutter.h: new file. Contains gutter constants and sizing macros
3072 similar to those for the toolbar.
3073
3074 * winslots.h: add gutter variables.
3075
3076 * window.h: declare window_is_* functions.
3077
3078 * window.c (window_is_lowest): make non-static.
3079 (window_is_highest): ditto.
3080 (window_top_toolbar_height): deleted.
3081 (window_bottom_toolbar_height): deleted.
3082 (window_left_toolbar_width): deleted.
3083 (window_right_toolbar_width): deleted.
3084 (window_top_gutter_height): add gutter sizing.
3085 (window_bottom_gutter_height): ditto.
3086 (window_left_gutter_width): ditto.
3087 (window_right_gutter_width): ditto.
3088
3089 * symsinit.h: declarations for gutters vars etc.
3090
3091 * search.c (bi_find_next_emchar_in_string): new function.
3092
3093 * scrollbar.c (update_scrollbar_instance): remove reference to
3094 window_bottom_toolbar_height which did nothing.
3095
3096 * redisplay.h (struct display_line): add face indices for
3097 overriding defaults in output_display_line.
3098 Add gutter_changed flags and declarations.
3099
3100 * redisplay.c (create_string_text_block): new function, similar to
3101 create_text_block but for strings. Display tables etc are used
3102 from the currently selected window.
3103 (generate_string_display_line): ditto. Similar to
3104 generate_display_line.
3105 (generate_displayable_area): generate display lines for a given
3106 area on a frame. Input is the string, with associated extents, to
3107 display.
3108 (redisplay_frame): add gutter_changed check.
3109 (redisplay_device): ditto.
3110 (redisplay_without_hooks): ditto.
3111
3112 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
3113 (x_redraw_exposed_area): redraw exposed gutters.
3114 (x_bevel_area): new redisplay device method.
3115 (x_type_create_redisplay_mswindows): add bevel_area device method.
3116 (x_output_display_block): fiddly Martin-style cleanup.
3117 (x_output_vertical_divider): use bevel_area.
3118
3119 * redisplay-output.c (output_display_line): check display_lines
3120 for face information before using defaults.
3121 (bevel_modeline): new function, calls bevel_area with appropriate
3122 values.
3123
3124 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
3125 (mswindows_redraw_exposed_area): redraw exposed gutters.
3126 (mswindows_bevel_area): new redisplay device method.
3127 (console_type_create_redisplay_mswindows): add bevel_area device
3128 method.
3129
3130 * indent.c (string_column_at_point): add column_at_point but for
3131 strings.
3132
3133 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
3134 instantiate widgets that we have a toolkit for.
3135
3136 * general.c: add Qgutter.
3137
3138 * frame.h (struct frame): add display lines for gutters and
3139 visibility flags.
3140
3141 * frame.c (set_frame_selected_window): mark gutters changed.
3142
3143 * emacs.c (main_1): add gutter initialisation.
3144
3145 * device.h (struct device): add gutter_changed flag and macros to
3146 manipulate it.
3147
3148 * console.h (struct console_methods): new bevel area redisplay
3149 method.
3150
3151 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
3152 REAL_INC_BYTIND is for buffers.
3153 (INC_CHARPTR): ditto.
3154
3155 * Makefile.in.in (objs): add gutter.o
3156
3157 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
3158
3159 * XEmacs 21.2.18 is released
3160
3161 1999-07-08 SL Baur <steve@mule.m17n.org>
3162
3163 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
3164 XIM_XLIB.
3165 (emacs_Xt_handle_magic_event): Ditto.
3166 * redisplay-x.c (x_output_string): Ditto.
3167 (x_output_eol_cursor): Ditto.
3168
3169 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
3170
3171 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
3172 problem that when XIM is destroyed or missed with some reason,
3173 xemacs will die. Now xim=xlib waits the XIM will be ready and
3174 endures the case of XIM end up.
3175
3176 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
3177
3178 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
3179 SIGINT and SIGCHLD before calling tt_open and restore the
3180 afterwards. This fixes e.g. the zombie subprocesses on Solaris
3181
3182 1999-07-06 SL Baur <steve@xemacs.org>
3183
3184 * s/linux.h: gcc-2.8 changes for powerpc
3185 From Justin Vallon <vallon@mindspring.com>
3186
3187 1999-07-05 Didier Verna <verna@inf.enst.fr>
3188
3189 * indent.c: new symbol Qcoerce.
3190 (Fmove_to_column): use it + doc string update.
3191
3192 1999-07-04 Andy Piper <andy@xemacs.org>
3193
3194 * console.c: undo earlier Fprovide changes.
3195 * fns.c: ditto.
3196 * console.h: ditto.
3197
3198 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
3199 function. validate appropriate image formats for tty.
3200
3201 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
3202 initialize consoles parameter.
3203 (struct image_instantiator_methods): add consoles parameter.
3204 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
3205 console.
3206 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
3207 console.
3208
3209 * glyphs-msw.c: declare instantiators for later use.
3210 (image_instantiator_format_create_glyphs_mswindows): validate xpm
3211 and friends on the mswindows console.
3212 * glyphs-x.c: ditto.
3213
3214 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
3215 that have not been registered on the supplied device.
3216 (Fvalid_image_instantiator_format_p): add locale argument.
3217 (instantiate_image_instantiator): valid image instantiator on the
3218 device.
3219
3220 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
3221 declaration.
3222
3223 * emacs.c (main_1): add call to
3224 image_instantiator_format_create_glyphs_tty().
3225
3226 1999-06-29 Olivier Galibert <galibert@pobox.com>
3227
3228 * lisp.h: Add #include <stddef.h>.
3229
3230 * sysdep.c: Remove #include <stddef.h>.
3231 * symbols.c: Remove #include <stddef.h>.
3232 * sheap.c: Remove #include <stddef.h>.
3233 * opaque.c: Remove #include <stddef.h>.
3234 * nt.c: Remove #include <stddef.h>.
3235 * mule-charset.c: Remove #include <stddef.h>.
3236 * marker.c: Remove #include <stddef.h>.
3237 * file-coding.c: Remove #include <stddef.h>.
3238 * extents.c: Remove #include <stddef.h>.
3239 * elhash.c: Remove #include <stddef.h>.
3240 * data.c: Remove #include <stddef.h>.
3241 * chartab.c: Remove #include <stddef.h>.
3242 * bytecode.c: Remove #include <stddef.h>.
3243 * alloc.c: Remove #include <stddef.h>. Fix vector description
3244
3245 1999-06-30 SL Baur <steve@miho.m17n.org>
3246
3247 * editfns.c: Document "%s" format spec.
3248 Suggested by Bob Weiner <weiner@altrasoft.com>
3249
3250 1999-06-29 Andy Piper <andy@xemacs.org>
3251
3252 * event-msw.c: fix definition booboo.
3253
3254 1999-06-28 Andy Piper <andy@xemacs.org>
3255
3256 * glyphs-x.c: change tree -> tree-view, progress ->
3257 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
3258 combo-box.
3259 (complex_vars_of_glyphs_x): provide-on-console the implemented
3260 widget types.
3261
3262 * glyphs-msw.c: ditto.
3263 (complex_vars_of_glyphs_mswindows): ditto.
3264
3265 * lisp.h: add Fprovide_on_console.
3266
3267 * fns.c (Ffeaturep): add extra optional console argument.
3268 (Fprovide_on_console): like Fprovide but provides only on the
3269 specified console-type.
3270 (Frequire): check console-features as well as global features.
3271
3272 * console.c (Fconsole_features): new function. return features for
3273 this console.
3274 (syms_of_console): add Fconsole_features.
3275
3276 * console.h (CONMETH_FEATURES): new function for accessing features.
3277 (CONSOLE_FEATURES): ditto.
3278 (struct console_methods): add features slot.
3279 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
3280
3281 1999-06-28 Andy Piper <andy@xemacs.org>
3282
3283 * event-Xt.c (handle_focus_event_1): conditionally compile for
3284 X11R5.
3285
3286 * s/cygwin32.h: fix me website address.
3287
3288 * event-msw.c: add NMHDR for pre b20 cygwin builds.
3289
3290 * gui-x.c (button_item_to_widget_value): only add callback if it
3291 is non-nil.
3292
3293 * glyphs-x.c: add progress, edit and combo instantiators.
3294 (x_widget_set_property): new function. uses lwlib to set widget
3295 values.
3296 (x_widget_property): new function. uses lwlib to get widget
3297 values.
3298 (x_button_instantiate): support images in buttons.
3299 (x_button_property): new function. use lwlib to get the selected
3300 state.
3301 (x_progress_instantiate): new function for instantiating progress
3302 gauges.
3303 (x_progress_set_property): new function. sets the progress gauge
3304 position.
3305 (x_edit_instantiate): new function. for instantiating edit fields.
3306 (x_combo_instantiate): new function. for instantiating combo
3307 boxes.
3308 (image_instantiator_format_create_glyphs_x): add new device ii
3309 formats.
3310
3311 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
3312
3313 * console.h (CONSOLE_FEATURES): new features accesor.
3314
3315 * conslots.h (MARKED_SLOT): add features entry.
3316
3317 1999-06-25 Andy Piper <andy@xemacs.org>
3318
3319 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
3320 gui functions.
3321
3322 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
3323
3324 * gui.h (struct Lisp_Gui_Item): add accelerator.
3325
3326 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
3327 (gui_item_init): ditto.
3328 (gui_add_item_keywords_to_plist): ditto.
3329 (mark_gui_item): ditto.
3330 (gui_item_hash): ditto.
3331 (gui_item_accelerator): new function.
3332 (gui_name_accelerator): new function stolen from gui-x.c
3333
3334 * gui-x.c (popup_selection_callback): always define. mark
3335 subwindows changed after calling a callback.
3336 (menu_name_to_accelerator): deleted.
3337 (button_item_to_widget_value): forward gui_item things to gui_item
3338 functions.
3339
3340 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
3341 appropriate accesors.
3342
3343 * glyphs-x.c: declare new glyph formats.
3344 (x_finalize_image_instance): unmanage and destroy widgets if they
3345 exist.
3346 (x_unmap_subwindow): handle widgets specially.
3347 (x_map_subwindow): ditto. offset display of widgets by offset of
3348 text widget within container.
3349 (x_update_subwindow): new function. call lw_modify_all_widgets
3350 when we are a widget.
3351 (x_widget_instantiate): new function for generically creating
3352 widgets-glyphs. toolkit specifics forwarded to lwlib.
3353 (x_button_instantiate): new function for instantiating
3354 widgets-glyph buttons.
3355 (console_type_create_glyphs_x): register update_subwindow.
3356 (image_instantiator_format_create_glyphs_x): register widget and
3357 button types.
3358
3359 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
3360
3361 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
3362 when we get a button press in case we do not have the focus.
3363 (handle_focus_event_1): set the keyboard focus to the text widget
3364 if we do not have it.
3365
3366 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
3367 functions.
3368
3369 1999-06-24 SL Baur <steve@miho.m17n.org>
3370
3371 * syntax.c (scan_words): Restore non-Mule code.
3372 (word_constituent_p): Restore.
3373
3374 1999-06-23 Olivier Galibert <galibert@pobox.com>
3375
3376 * config.h.in: Add missing #undef *_USER_DEFINED.
3377
3378 1999-06-23 SL Baur <steve@miho.m17n.org>
3379
3380 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
3381 int (fixes a 64-bit problem).
3382
3383 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
3384 comparison.
3385
3386 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
3387
3388 * paths.h.in (PATH_DOC): Made doc-directory configurable.
3389
3390 1999-06-22 Olivier Galibert <galibert@pobox.com>
3391
3392 * lrecord.h: Added basic external description system.
3393
3394 * symbols.c: Added symbol, symbol-value-buffer-local,
3395 symbol-value-lisp-magic and symbol-value-varalias description.
3396 * mule-charset.c: Added charset description.
3397 * marker.c: Added marker description.
3398 * keymap.c: Added keymap description.
3399 * glyphs.c: Added glyph description.
3400 * floatfns.c: Added float description.
3401 * file-coding.c: Added coding-system description.
3402 * extents.c: Added extent description.
3403 * elhash.c: Added hash-table description.
3404 * data.c: Added weak-list desciption.
3405 * chartab.c: Added char-table-entry and char-table description.
3406 * bytecode.c: Added compiled-function description.
3407 * alloc.c: Added cons, vector and string description.
3408
3409 1999-06-22 Olivier Galibert <galibert@pobox.com>
3410
3411 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
3412 Updated everything to the removal of the "flags" substructure.
3413
3414 * lisp.h (subr_lheader_initializer): Updated.
3415 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
3416
3417 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
3418
3419 * syntax.c (word_constituent_p): Deleted.
3420 (scan_words): Use `WORD_BOUNDARY_P'.
3421
3422 * chartab.c (Vword_combining_categories): New variable.
3423 (Vword_separating_categories): Likewise.
3424 (CATEGORYP): New macro.
3425 (CATEGORY_SET): Likewise.
3426 (CATEGORY_MEMBER): Likewise.
3427 (word_boundary_p): New function.
3428 (complex_vars_of_chartab): Set up new variable
3429 `word-combining-categories' and `word-separating-categories'.
3430
3431 1999-06-18 Olivier Galibert <galibert@pobox.com>
3432
3433 * lrecord.h: Added description as a placehold in the lrecord
3434 implementation structures. Added the parameter to all constructor
3435 defines.
3436
3437 * alloc.c: Added placeholders.
3438 * buffer.c: Ditto.
3439 * bytecode.c: Ditto.
3440 * chartab.c: Ditto.
3441 * console.c: Ditto.
3442 * data.c: Ditto.
3443 * database.c: Ditto.
3444 * device.c: Ditto.
3445 * eldap.c: Ditto.
3446 * elhash.c: Ditto.
3447 * eval.c: Ditto.
3448 * event-stream.c: Ditto.
3449 * events.c: Ditto.
3450 * extents.c: Ditto.
3451 * faces.c: Ditto.
3452 * file-coding.c: Ditto.
3453 * floatfns.c: Ditto.
3454 * fns.c: Ditto.
3455 * frame.c: Ditto.
3456 * glyphs.c: Ditto.
3457 * gui-x.c: Ditto.
3458 * keymap.c: Ditto.
3459 * lstream.c: Ditto.
3460 * marker.c: Ditto.
3461 * mule-charset.c: Ditto.
3462 * objects.c: Ditto.
3463 * opaque.c: Ditto.
3464 * process.c: Ditto.
3465 * rangetab.c: Ditto.
3466 * specifier.c: Ditto.
3467 * symbols.c: Ditto.
3468 * toolbar.c: Ditto.
3469 * tooltalk.c: Ditto.
3470 * window.c: Ditto.
3471
3472 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
3473
3474 * XEmacs 21.2.17 is released
3475
3476 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
3477
3478 * config.h.in (HAVE_LDAP_SET_OPTION): New define
3479 (HAVE_LDAP_GET_LDERRNO): Ditto
3480 (HAVE_LDAP_RESULT2ERROR): Ditto
3481 (HAVE_LDAP_PARSE_RESULT): Ditto
3482 (HAVE_UMICH_LDAP): Removed
3483 (HAVE_NS_LDAP): Removed
3484
3485 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
3486 suggested by Olivier Galibert
3487 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
3488
3489 * eldap.c: Take the removal of `livep' into account in all the
3490 necessary functions
3491 (signal_ldap_error): Take two additional parameters
3492 Added new finer compilation conditions in order to use
3493 ldap_parse_result or ldap_result2error if available
3494 (Fldap_open): Conform to this new API
3495 (Fldap_search_internal): Ditto
3496
3497 1999-06-17 SL Baur <steve@miho.m17n.org>
3498
3499 * data.c (struct int_or_double): Should use EMACS_INT not int.
3500
3501 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
3502
3503 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
3504 redisplay-x.c
3505
3506 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3507
3508 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
3509 `CCL_MODE_ENCODING'.
3510
3511 * file-coding.c (mule_decode): Run `ccl_driver' with
3512 `CCL_MODE_DECODING'.
3513 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
3514
3515 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
3516 (ccl_driver): Add new argument `conversion_mode'.
3517 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
3518 (Fccl_execute_on_string): Likewise [perhaps it is better to add
3519 new optional argument].
3520
3521 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
3522 (CCL_MODE_DECODING): New macro.
3523 (ccl_driver): Add new argument `conversion_mode'.
3524
3525 1999-06-15 SL Baur <steve@miho.m17n.org>
3526
3527 * mule-charset.c (Fsplit_char): New subr.
3528 (Fchar_octet): delete.
3529 (syms_of_mule_charset): DEFSUBR it.
3530
3531 1999-06-13 Andy Piper <andy@xemacs.org>
3532
3533 * menubar.h: update declarations involving gui_items.
3534
3535 * lisp.h: declare Lisp_Gui_Item.
3536
3537 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
3538
3539 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
3540 (print_image_instance): ditto.
3541 (image_instance_equal): ditto.
3542 (image_instance_hash): ditto.
3543
3544 * event-msw.c (mswindows_need_event): assert badly_p status.
3545 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
3546 callbacks in tree-view and tab-control widgets.
3547 (emacs_mswindows_next_event): modify use of
3548 mswindows_dequeue_dispatch_event.
3549
3550 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
3551 lisp-based gui_items.
3552
3553 * glyphs-msw.c (mswindows_update_subwindow): update use of
3554 gui_items.
3555 (mswindows_register_gui_item): new function.
3556 (mswindows_register_gui_item): fix to use lisp gui_items.
3557 (mswindows_widget_instantiate): ditto.
3558 (mswindows_button_instantiate): ditto.
3559 (add_tree_item): new function to recursively add tree view
3560 elements.
3561 (add_tree_item_list): ditto.
3562 (mswindows_tree_instantiate): new function. instantiate tree view
3563 controls.
3564 (add_tab_item): new function to add tabs to a tab control.
3565 (mswindows_tab_instantiate): new function. instantiate tab
3566 controls.
3567 (image_instantiator_format_create_glyphs_mswindows): add tree view
3568 and tab controls.
3569 (vars_of_glyphs_mswindows): ditto.
3570
3571 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
3572 item lists.
3573 (check_valid_item_list): ditto.
3574 (initialize_widget_image_instance): fix to use new lisp gui_item.
3575 (widget_instantiate_1): allow the setting of default textwidth in
3576 characters.
3577 (widget_instantiate): change to use new widget_instantiate_1
3578 signature.
3579 (combo_instantiate): ditto.
3580 (static_instantiate): ditto.
3581 (tab_instantiate): new function for tab widgets.
3582 (image_instantiator_format_create_glyphs_widget): add tab and tree
3583 view widgets.
3584
3585 * menubar-msw.c (displayable_menu_item): convert to use lisp
3586 gui_items.
3587 (populate_menu_add_item): ditto.
3588 (populate_or_checksum_helper): ditto.
3589
3590 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
3591 gui_items.
3592 (Fmenu_find_real_submenu): ditto.
3593
3594 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
3595
3596 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
3597 objects, convert functions that use them accordingly.
3598 (gui_item_init): ditto.
3599 (gui_item_active_p): ditto.
3600 (gui_item_selected_p): ditto.
3601 (gui_item_included_p): ditto.
3602 (gui_item_display_flush_left): ditto.
3603 (gui_item_display_flush_right): ditto.
3604 (mark_gui_item): ditto.
3605 (allocate_gui_item): new function to create a gui_item.
3606 (make_gui_item_from_keywords_internal): ditto. create and return a
3607 gui_item as well as setting keywords.
3608 (gui_parse_item_keywords): ditto.
3609 (gui_parse_item_keywords_no_errors): ditto.
3610 (gui_add_item_keywords_to_plist): new function, not yet used.
3611 (gui_item_hash): new function.
3612 (gui_item_id_hash): use gui_item_hash.
3613 (gui_item_equal): new function.
3614 (print_gui_item): new function.
3615
3616 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
3617
3618 * XEmacs 21.2.16 is released
3619
3620 1999-06-10 Andy Piper <andy@xemacs.org>
3621
3622 * select-msw.c (mswindows_own_selection): only set the clipboard
3623 if asked.
3624 (mswindows_get_foreign_selection): only get the clipboard if
3625 asked.
3626 (mswindows_disown_selection): only disown the clipboard if asked.
3627
3628 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
3629
3630 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
3631 of `no-conversion'.
3632 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
3633 of coding-category `no-conversion'.
3634
3635 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
3636
3637 * file-coding.c (Qraw_text): New variable.
3638 (syms_of_mule_coding): Add new symbol `raw-text'.
3639 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
3640 define coding-system `binary' independently; define coding-system
3641 `no-conversion' as an alias for `raw-text'.
3642
3643 * file-coding.h (Qraw_text): New variable.
3644
3645 1999-06-08 SL Baur <steve@xemacs.org>
3646
3647 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
3648
3649 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
3650
3651 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
3652 base64.el.
3653 (base64_decode_1): Signal errors instead of returning -1.
3654
3655 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
3656
3657 * mule-charset.c (Fmake_char): Update docstring.
3658
3659 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
3660
3661 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
3662
3663 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
3664
3665 * fns.c (base64_decode_1): Allow and ignore any non-base64
3666 characters in input.
3667
3668 1999-05-27 Olivier Galibert <galibert@pobox.com>
3669
3670 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
3671 of report_pure_usage().
3672
3673 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
3674
3675 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
3676
3677 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
3678
3679 * XEmacs 21.2.15 is released
3680
3681 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
3682
3683 * frame.c (Fset_mouse_position):
3684 (Fset_mouse_pixel_position):
3685 * window.c (Fsplit_window):
3686 (Fmove_to_window_line):
3687 Fix crash when invoking functions with an already-deleted window
3688 argument.
3689
3690 * indent.c (vertical_motion_1):
3691 (vmotion_pixels):
3692 (Fvertical_motion_pixels):
3693 * window.c (Fwindow_displayed_text_pixel_height):
3694 Fix error message when invoking functions with an already-deleted
3695 window argument.
3696
3697 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
3698
3699 * sysdep.c (request_sigio_on_device): Guard against glibc
3700 2.1's stub streams implementation.
3701
3702 1999-06-03 SL Baur <steve@xemacs.org>
3703
3704 * config.h.in:
3705 * emacs.c: Implement x.y.z version numbers
3706 From Jan Vroonhof <vroonhof@math.ethz.ch>
3707
3708 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
3709
3710 * mule-charset.c (complex_vars_of_mule_charset): Registry of
3711 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
3712 "jisc6226.1983".
3713
3714 1999-06-03 SL Baur <steve@xemacs.org>
3715
3716 * frame-x.c:
3717 * device-x.c: rename session option to wmcommand.
3718 From Oliver Graf <ograf@rhein-zeitung.de>
3719
3720 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3721
3722 * fns.c (Fsubstring): Don't traverse the same region twice with
3723 charcount_to_bytecount().
3724
3725 1999-06-03 SL Baur <steve@steve1.m17n.org>
3726
3727 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
3728 garbage.
3729
3730 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
3731 doesn't really work as is implied by the commentary).
3732 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
3733
3734 1999-06-02 SL Baur <steve@steve1.m17n.org>
3735
3736 * symsinit.h: Declare vars_of_ntproc.
3737 * emacs.c (main_1): Call it.
3738
3739 * ntproc.c (syms_of_ntproc): Move variable initializations from
3740 here ...
3741 (vars_of_ntproc): ... to here [new function].
3742
3743 * file-coding.c (syms_of_file_coding): Rename.
3744 (vars_of_file_coding): Ditto.
3745 (complex_vars_of_file_coding): Ditto.
3746
3747 * symsinit.h: Rename *_mule_coding to *_file_coding.
3748
3749 * emacs.c (main_1): Call them by the proper name.
3750
3751 * device-msw.c (syms_of_device_mswindows): Move variable
3752 initializations from here ...
3753 (vars_of_device_mswindows): ... to here.
3754
3755 * chartab.c (vars_of_chartab): New function.
3756
3757 * symsinit.h: New function, vars_of_chartab.
3758
3759 * emacs.c (main_1): Call it.
3760
3761 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
3762 (vars_of_mule_canna): ... to here.
3763
3764 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
3765 initializations out of syms_of_mule_ccl.
3766
3767 * symsinit.h: Declare new function vars_of_mule_ccl.
3768
3769 * emacs.c (main_1): Call it.
3770
3771 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3772
3773 * fns.c (base64_decode_1): Ignore whitespace.
3774
3775 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3776
3777 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
3778 ARG2.
3779
3780 1999-05-21 Andy Piper <andy@xemacs.org>
3781
3782 * xselect.c: deleted.
3783
3784 * symsinit.h: declare select initialisation.
3785
3786 * select.h: new file. declare commonly used select functions and
3787 variables.
3788
3789 * select.c: new file. generalised from xselect.c.
3790 (clean_local_selection_data): moved from xselect.c.
3791 (get_local_selection): ditto. device specific pieces called via a
3792 devmeth.
3793 (handle_selection_clear): ditto.
3794 (Fown_selection_internal): renamed and generalised from
3795 Fx_own_selection_internal. moved from xselect.c.
3796 (Fdisown_selection_internal): ditto.
3797 (Fselection_owner_p): ditto.
3798 (Fselection_exists_p): ditto.
3799 (Fget_selection_internal): ditto.
3800 (syms_of_select): new function. QXXXX values moved from xselect.c
3801 (vars_of_select): new function. selection_converter_alist,
3802 lost_selection_hooks moved and renamed from xselect.c
3803
3804 * select-x.c: renamed from xselect.c.
3805 (x_own_selection): converted to device specific. non-X-specific
3806 bits moved to select.c.
3807 (x_get_foreign_selection): ditto.
3808 (x_disown_selection): ditto.
3809 (x_selection_exists_p): ditto.
3810 (console_type_create_select_x): new function.
3811
3812 * select-msw.c (mswindows_own_selection): new device method to set
3813 the clipboard when we 'own' the selection.
3814 (mswindows_get_foreign_selection): new device method to get the
3815 clipboard.
3816 (mswindows_disown_selection): new device method to delete the
3817 selection when we 'disown' it.
3818 (console_type_create_select_mswindows): new function.
3819
3820 * emacs.c (main_1): add select to things to initialise.
3821
3822 * console.h (struct console_methods): new console methods for
3823 selection.
3824
3825 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
3826
3827 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
3828
3829 * print.c (long_to_string): Install a faster version.
3830
3831 1999-05-16 Andy Piper <andy@xemacs.org>
3832
3833 * ntproc.c (syms_of_ntproc): default
3834 win32-start-process-share-console to t.
3835
3836 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
3837
3838 * config.h.in: Do it here.
3839
3840 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
3841
3842 1999-05-14 Andy Piper <andy@xemacs.org>
3843
3844 * toolbar-msw.c (mswindows_output_toolbar): hash on something
3845 hashable.
3846
3847 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
3848
3849 * XEmacs 21.2.14 is released
3850
3851 1999-05-12 Andy Piper <andy@xemacs.org>
3852
3853 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
3854
3855 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
3856
3857 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
3858 run_temacs_argv array -- fixes random memory corruption crash
3859
3860 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
3861
3862 * window.c (Fcurrent_window_configuration):
3863 Save minibuffer height;
3864
3865 * window.c (set_window_configuration): use it.
3866
3867 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
3868
3869 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
3870
3871 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
3872
3873 * redisplay.c (redisplay_window): Do not put data
3874 in the line start cache if it is not guaranteed to be correct
3875
3876 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
3877
3878 * window.c (struct window_config): Removed frame
3879 size members.
3880 (window_config_equal): No longer compare frame sizes.
3881 (Fset_window_configuration): Resize old top window to fit in the
3882 current frame directly, no longer use a fake frame resize.
3883 (Fcurrent_window_configuration): No longer save frame size
3884
3885 1999-05-11 Andy Piper <andy@xemacs.org>
3886
3887 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
3888 first character.
3889
3890 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
3891
3892 * sysdep.c (init_system_name): If gethostname gives a proper
3893 domain name, don't look further for one.
3894
3895 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
3896
3897 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
3898 (Fintern_soft): Accept a symbol argument.
3899
3900 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3901
3902 * symbols.c (Fintern): ...do it here.
3903
3904 * lread.c (read_atom): Don't handle keywords here.
3905
3906 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3907
3908 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
3909
3910 1999-05-03 Olivier Galibert <galibert@pobox.com>
3911
3912 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
3913 is interned in the main obarray.
3914
3915 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
3916
3917 * menubar-x.c (pre_activate_callback): set accelerator field in
3918 "No menu" entries to nil. Avoid crash in
3919 command_builder_operate_menu_accelerator
3920
3921 1999-05-03 Olivier Galibert <galibert@pobox.com>
3922
3923 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
3924
3925 * lisp.h (DEFUN): Fix lrecord header initialisation.
3926
3927 1999-05-02 Andy Piper <andy@xemacs.org>
3928
3929 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
3930
3931 * ntproc.c (sys_kill): cast using MS mandated defines.
3932
3933 1999-04-29 Andy Piper <andy@xemacs.org>
3934
3935 * m/intel386.h: remove redundant definitions.
3936
3937 * s/mingw32.h: new header for mingw32.
3938
3939 * unexnt.c: (open_input_file): function moved to nt.c.
3940 (close_file_data): ditto.
3941 (rva_to_section): function moved to ntproc.
3942
3943 * symsinit.h: declare syms_of_ntproc();
3944
3945 * objects-msw.c (mswindows_font_instance_truename): new function.
3946
3947 * ntproc.c: remove many warnings.
3948 (_sys_read_ahead): moved from nt.c and made static.
3949 (rva_to_section): moved from unexnt.c but not defined under
3950 mingw32.
3951 (win32_executable_type): implement what we can for mingw32
3952 headers.
3953 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
3954
3955 * ntheap.h: remove declarations of functions that are now static.
3956
3957 * ntheap.c: support static heap.
3958
3959 * nt.h: conditionalise X_OK definition.
3960
3961 * nt.c: eliminate many warnings and support mingw32.
3962 (open_input_file): function moved from unexnt.c and made static
3963 (close_file_data): ditto.
3964 (_sys_read_ahead): moved to ntproc.c
3965
3966 * emacs.c: make sure syms_of_ntptroc gets called under windows.
3967
3968 * console-msw.h: support mingw32.
3969 * getloadavg.c: ditto.
3970 * ntplay.c: ditto.
3971 * sysdep.c: ditto.
3972 * sysdir.h: ditto.
3973 * systime.h: ditto.
3974 * systty.h: ditto.
3975
3976 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
3977 some systems don't have all of the encapsulated system calls.
3978
3979 * callproc.c: warning elimination.
3980 * dired-msw.c: ditto.
3981 * process-nt.c: ditto.
3982 * realpath.c: ditto.
3983
3984 * Makefile.in.in: tweak : and ; for building under mswindows.
3985
3986 1999-04-26 Michael Harnois <mharnois@willinet.net>
3987
3988 * eldap.c (allocate_ldap): Adapt to the new semantics of
3989 alloc_lcrecord_type().
3990
3991 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3992
3993 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
3994
3995 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3996
3997 * Delete mule-coding.c and mule-coding.h because they are not
3998 used.
3999
4000 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
4001
4002 * objects.c (print_font_instance): Check for NILP(f->device),
4003 i.e. Vthe_null_font_instance.
4004 (font_instance_truename_internal): ditto.
4005 (Ffont_instance_properties): ditto.
4006
4007 1999-04-22 Olivier Galibert <galibert@pobox.com>
4008
4009 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
4010 array anymore.
4011
4012 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
4013
4014 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
4015 it easier to add new ones.
4016
4017 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
4018
4019 * symbols.c (reject_constant_symbols): Ditto.
4020 (init_symbols_once_early): Ditto.
4021
4022 * print.c (print_symbol): Don't use ->obarray.
4023
4024 * symbols.c (Funintern): Ditto.
4025
4026 * alloc.c (Fmake_symbol): Don't set ->obarray.
4027
4028 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
4029
4030 * symbols.c (init_symbols_once_early): Removed
4031 Vpure_uninterned_symbol_table.
4032 (Fintern): Don't store to ->obarray field.
4033
4034 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
4035
4036 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
4037 (eq_with_ebola_notice): Remove abracadabra support.
4038
4039 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4040
4041 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
4042 retrieve the distinguished names of entries
4043
4044 1999-03-08 Martin Buchholz <martin@xemacs.org>
4045
4046 * lread.c (read_escape): Make hex escapes read only two hex digits.
4047
4048 1999-04-05 Olivier Galibert <galibert@pobox.com>
4049
4050 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
4051 * make-src-depend: Remove puresize-adjust.h.
4052 * src-headers: Remove puresize-adjust.h.
4053 * config.h.in: Kill everything purespace/gung-ho related.
4054
4055 * dbxrc: Make gung-ho mandatory.
4056 * gdbinit: Ditto.
4057
4058 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
4059 c_readonly and lisp_readonly. Remove implementation arrays.
4060 (C_READONLY_RECORD_HEADER_P): Added.
4061 (LISP_READONLY_RECORD_HEADER_P): Added.
4062 (SET_C_READONLY_RECORD_HEADER): Added.
4063 (SET_LISP_READONLY_RECORD_HEADER): Added.
4064
4065 * lisp.h: Kill everything purespace/non gung-ho related.
4066 (CHECK_C_WRITEABLE): Added.
4067 (CHECK_LISP_WRITEABLE): Added.
4068 (C_READONLY): Added.
4069 (LISP_READONLY): Added.
4070
4071 * lisp-union.h: Make gung-ho mandatory.
4072 * lisp-disunion.h: Ditto.
4073
4074 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
4075 set_lheader_implementation calls.
4076 (c_readonly): Added.
4077 (lisp_readonly): Added.
4078 (make_string_nocopy): Added.
4079 (Fpurecopy): Changed to do nothing. Kept the old documentation
4080 for reference purposes for the next patches.
4081 (sweep_lcrecords_1): Don't free C readonly lcrecords.
4082 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
4083 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
4084
4085 * fns.c: Make gung-ho mandatory.
4086 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
4087 (Fremprop): Ditto.
4088 (Ffillarray): Ditto.
4089
4090 * data.c: Make gung-ho mandatory.
4091 (pure_write_error): Removed.
4092 (c_write_error): Added.
4093 (lisp_write_error): Added.
4094 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
4095 (Fsetcdr): Ditto.
4096 (Faset): Ditto.
4097
4098 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
4099 make_string or make_string_nocopy. Fix various
4100 alloc_lcrecord_type.
4101
4102 * lread.c: Remove everything purespace related.
4103 (Flocate_file_clear_hashing): purified -> c_readonly.
4104 (locate_file): Ditto.
4105 (read_atom): make_pure_pname -> make_string.
4106
4107 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
4108 reporting.
4109 (Fdump_emacs): Ditto.
4110
4111 * print.c (print_internal): Make gung-ho mandatory.
4112 * ntheap.c (sbrk): Ditto.
4113 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
4114 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
4115
4116 * sheap.c (more_static_core): Remove puresize-adjust.h from
4117 message.
4118
4119 * syntax.c (complex_vars_of_syntax): make_pure_string ->
4120 make_string_nocopy.
4121 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
4122 (vars_of_keymap): make_pure_string -> make_string_nocopy.
4123 * events.c (deinitialize_event): Fix set_lheader_implementation.
4124 (zero_event): Ditto.
4125 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
4126 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
4127 * mule-charset.c (make_charset): Ditto.
4128 * console.c (allocate_console): Ditto.
4129 (complex_vars_of_console): Ditto.
4130 * file-coding.c (allocate_coding_system): Ditto.
4131 * device.c (allocate_device): Ditto
4132 * gui-x.c (gcpro_popup_callbacks): Ditto.
4133 * extents.c (allocate_extent_auxiliary): Ditto.
4134 (allocate_extent_info): Ditto.
4135 (copy_extent): Ditto.
4136 * glyphs.c (allocate_image_instance): Ditto.
4137 (allocate_glyph): Ditto.
4138 * frame.c (allocate_frame_core): Ditto.
4139 * database.c (allocate_database): Ditto.
4140 * tooltalk.c (make_tooltalk_message): Ditto.
4141 (make_tooltalk_pattern): Ditto.
4142 * rangetab.c (Fmake_range_table): Ditto.
4143 (Fcopy_range_table): Ditto.
4144 * process.c (make_process_internal): Ditto.
4145 * chartab.c (Fmake_char_table): Ditto.
4146 (make_char_table_entry): Ditto.
4147 (copy_char_table_entry): Ditto.
4148 (Fcopy_char_table): Ditto.
4149 * elhash.c (make_general_lisp_hash_table): Ditto.
4150 (Fcopy_hash_table): Ditto.
4151 * buffer.c (allocate_buffer): Ditto.
4152 (complex_vars_of_buffer): Ditto.
4153 * event-stream.c (allocate_command_builder): Ditto.
4154 * objects.c (Fmake_color_instance): Ditto.
4155 (Fmake_font_instance): Ditto.
4156 (vars_of_objects): Ditto.
4157 * toolbar.c (update_toolbar_button): Ditto.
4158 * window.c (allocate_window): Ditto.
4159 (make_dummy_parent): Ditto.
4160 (Fcurrent_window_configuration): Fix alloc_lcrecord.
4161 (vars_of_window): Fix make_lcrecord_list.
4162 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
4163 Flist.
4164 * lstream.c (Lstream_new): Fix make_lcrecord_list.
4165 * opaque.c (make_opaque): Fix alloc_lrecord.
4166 (make_opaque_list): Fix alloc_lrecord_type.
4167
4168 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
4169
4170 * process.c (Fstart_process_internal): Ditto.
4171
4172 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
4173 locate_file().
4174
4175 * glyphs-x.c (x_locate_pixmap_file): Ditto.
4176
4177 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
4178 locate_file().
4179
4180 * emodules.c (vars_of_module): New variable Vmodule_extensions.
4181 (emodules_load): Use it when calling locate_file().
4182
4183 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
4184 locate_file().
4185
4186 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
4187 (vars_of_callproc): Initialize it.
4188 (Fcall_process_internal): Use it when calling locate_file().
4189
4190 * alloc.c (disksave_object_finalization): Use
4191 Flocate_file_clear_hashing().
4192
4193 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
4194 given `t' as argument.
4195
4196 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
4197
4198 * lread.c (locate_file): Expand `pathel' when appropriate.
4199 (Flocate_file_clear_hashing): Expand path elements.
4200 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
4201
4202 * dired.c (make_directory_hash_table): Create the hash-table only
4203 if the directory open is successful.
4204
4205 * lread.c (decode_mode_1): New function.
4206 (decode_mode): Ditto.
4207 (Flocate_file): Use them.
4208 (Flocate_file): Expand FILENAME.
4209 (locate_file_map_suffixes): New function.
4210 (locate_file_in_directory_mapper): New function.
4211 (locate_file_in_directory): Use locate_file_in_directory_mapper()
4212 and locate_file_map_suffixes().
4213 (locate_file_construct_suffixed_files): Use
4214 locate_file_map_suffixes().
4215 (locate_file_without_hash): Don't GCPRO path.
4216 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
4217 (syms_of_lread): Remove Qlocate_file_hash_table.
4218 (locate_file_find_directory_hash_table): Use
4219 Vlocate_file_hash_table.
4220 (locate_file_refresh_hashing): Ditto.
4221
4222 * lread.c: Renamed read_objects to Vread_objects.
4223
4224 1999-04-16 Olivier Galibert <galibert@pobox.com>
4225
4226 * mule-charset.c: Generally resync with fsf 20.3 charset
4227 interface.
4228 (make_charset): Add long and short name. Use id instead of
4229 leading byte.
4230 (Fmake_charset): Ditto.
4231 (Fmake_reverse_direction_charset): Ditto.
4232 (Fcharset_property): Ditto.
4233 (Fcharset_short_name): Added.
4234 (Fcharset_long_name): Added.
4235 (Fcharset_description): Renamed from charset-doc-string.
4236 (syms_of_mule_charset): Synced symbols.
4237 (complex_vars_of_mule_charset): Synced charsets.
4238
4239 * mule-charset.h: Removed leading byte (uses id instead), added
4240 short and long name.
4241
4242 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
4243
4244 * file-coding.c (Fdefine_coding_system_alias): New function.
4245
4246 1999-04-08 Olivier Galibert <galibert@pobox.com>
4247
4248 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
4249 and -ascii fonts for displaying ascii instead of iso8859-1 only.
4250
4251 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
4252
4253 * extents.c (set_extent_glyph_1): Make sure that the glyph we
4254 attach to the extent is valid.
4255
4256 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
4257
4258 * dired.c (user_name_completion): Mule-ize.
4259 (user_name_completion): Use xmalloc/xrealloc/xfree.
4260 (user_name_completion): Use DO_REALLOC.
4261 (user_name_completion): Cut down the number of static variables;
4262 use a structure.
4263 (user_name_completion): Username completion is always
4264 case-sensitive.
4265
4266 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
4267
4268 * fns.c (base64_decode_1): Remove COUNTER.
4269 (base64_decode_1): Accept CRLF in addition to CR.
4270 (base64_decode_1): Disallow a stray character after final EOF; the
4271 check was probably a remnant of buggy recode code.
4272
4273 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
4274
4275 * fns.c (init_provide_once): Provide `base64'.
4276
4277 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
4278
4279 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
4280 (Fbase64_encode_region): If buffer is read-only, bail out early.
4281 (Fbase64_decode_region): Ditto.
4282 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
4283 compiler.
4284 (Fbase64_encode_string): Ditto.
4285 (Fbase64_decode_region): Ditto.
4286 (Fbase64_decode_string): Ditto.
4287
4288 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4289
4290 * dired.c (Fdirectory_files): Remove redundant code.
4291
4292 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4293
4294 * frame-msw.c Make raise-frame restore minimised windows.
4295
4296 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4297
4298 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
4299 add magic newline.
4300
4301 1999-03-05 Philip Aston <philipa@parallax.co.uk>
4302
4303 * toolbar-msw.c Consider captions when deciding whether to rebuild
4304 toolbar. This fixes the initial toolbar display for those of us
4305 who don't like captions. These patches applied by Andy Piper.
4306
4307 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
4308
4309 * XEmacs 21.2.13 is released
4310
4311 1999-03-12 SL Baur <steve@xemacs.org>
4312
4313 * file-coding.c: Guard ucs table initialization with ifdef MULE.
4314
4315 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
4316
4317 * file-coding.c: docstring and comment improvements.
4318 (decode_ucs4) flag possible data loss with comment.
4319
4320 1999-03-10 Martin Buchholz <martin@xemacs.org>
4321
4322 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
4323 (ucs_to_char):
4324 (Fucs_char):
4325 (Fset_char_ucs):
4326 (decode_coding_ucs4):
4327 (encode_coding_ucs4):
4328 (detect_coding_utf8):
4329 (decode_coding_utf8):
4330 (encode_utf8):
4331 (encode_coding_utf8):
4332 Add CHECK_* macros where needed to avoid crashes.
4333 #ifdef out all composite character support using
4334 #ifdef ENABLE_COMPOSITE_CHARS
4335 Use normal XEmacs coding standards.
4336 Fix docstrings.
4337 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
4338
4339 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4340
4341 * file-coding.c (make-coding-system): Add description about
4342 `ucs-4' and `utf-8'.
4343 (detection_state): Modify to implement ucs-4 and utf-8.
4344 (detect_coding_type): Likewise.
4345 (detect_coding_ucs4): New implementation.
4346 (detect_coding_utf8): New implementation.
4347 (encode_utf8): fixed.
4348 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
4349 `utf-8'.
4350
4351 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4352
4353 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
4354 2022 registry to private area.
4355
4356 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4357
4358 * file-coding.c (encode_utf8): New function.
4359 (encode_coding_utf8): New implementation.
4360
4361 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4362
4363 * file-coding.c (ucs_to_mule_table): New variable; abolish
4364 `Vucs_to_mule_table'
4365 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
4366 (set-ucs-char): New function.
4367 (ucs_to_char): New function.
4368 (ucs-char): New function.
4369 (set-char-ucs): New function.
4370 (char-ucs): New function.
4371 (decode_ucs4): Use `ucs_to_char'.
4372 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
4373 `mule-to-ucs-table'.
4374
4375 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4376
4377 * chartab.h: EXFUN `Fget_char_table'.
4378
4379 * file-coding.c (encode_ucs4): New function.
4380 (encode_coding_ucs4): Use `encode_ucs4'.
4381
4382 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4383
4384 * file-coding.c (decode_coding_ucs4): New implementation.
4385
4386 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4387
4388 * file-coding.c (decode_coding_ucs4): fixed.
4389
4390 * file-coding.c (Vmule_to_ucs_table): New variable.
4391 (mule_char_to_ucs4): New function.
4392 (encode_coding_ucs4): New implementation.
4393 (complex_vars_of_mule_coding): Define variable
4394 `mule-to-ucs-table'.
4395
4396 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4397
4398 * file-coding.c (decode_coding_utf8): New implementation.
4399
4400 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4401
4402 * file-coding.c (decode_coding_utf8): fixed.
4403
4404 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4405
4406 * file-coding.c (Vucs_to_mule_table): New variable.
4407 (decode_ucs4): Refer `Vucs_to_mule_table'.
4408 (complex_vars_of_mule_coding): Define variable
4409 `ucs-to-mule-table'.
4410
4411 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4412
4413 * file-coding.c (detect_coding_ucs4): New function (not
4414 implemented yet).
4415 (decode_coding_ucs4): New function.
4416 (encode_coding_ucs4): New function (not implemented yet).
4417 (detect_coding_utf8): New function (not implemented yet).
4418 (decode_coding_utf8): New function.
4419 (encode_coding_utf8): New function (not implemented yet).
4420 (make-coding-system): New type `ucs4' and `utf8'.
4421 (coding-system-type): Likewise.
4422 (detection_state): Add `ucs4' and `utf8'.
4423 (detect_coding_type): Likewise.
4424 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
4425 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
4426 (decode_ucs4): New function (very incomplete).
4427 (syms_of_mule_coding): Add `ucs4' and `utf8'.
4428
4429 * file-coding.h: Add definitions for UCS-4 and UTF-8.
4430
4431 1999-03-08 Martin Buchholz <martin@xemacs.org>
4432
4433 * mule-charset.c:
4434 (non_ascii_valid_char_p):
4435 (lookup_composite_char):
4436 (composite_char_string):
4437 (make-composite-char):
4438 (composite-char-string):
4439 (syms_of_mule_charset):
4440 (complex_vars_of_mule_charset):
4441 * mule-charset.h (LEADING_BYTE_COMPOSITE):
4442 (CHAR_LEADING_BYTE):
4443 (MAKE_CHAR):
4444 * file-coding.h (CODING_STATE_COMPOSITE):
4445 (CODING_STATE_ISO2022_LOCK):
4446 (iso_esc_flag):
4447 (LEADING_BYTE_COMPOSITE):
4448 * file-coding.c (struct iso2022_decoder):
4449 (decoding_closer):
4450 (reset_iso2022):
4451 (parse_iso2022_esc):
4452 (encode_coding_iso2022):
4453 #ifdef out all composite character support using
4454 #ifdef ENABLE_COMPOSITE_CHARS
4455
4456 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
4457
4458 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
4459
4460 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
4461 way of `Fbase64_encode_region'.
4462
4463 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
4464
4465 * fns.c (base64_encode_1): Don't add a newline at the tail.
4466
4467 1999-03-08 Andy Piper <andy@xemacs.org>
4468
4469 * menubar-msw.c (displayable_menu_item): correct off-by-one &
4470 handling.
4471
4472 1999-03-07 Martin Buchholz <martin@xemacs.org>
4473
4474 * console-stream.h (struct stream_console):
4475 * event-unixoid.c (event_stream_unixoid_select_console):
4476 (event_stream_unixoid_unselect_console):
4477 * print.c (Fexternal_debugging_output):
4478 * sysdep.c (reset_one_device):
4479 * console-stream.c (stream_init_console):
4480 (stream_delete_console):
4481 (allocate_stream_console_struct): move into stream_init_console.
4482 (free_stream_console_struct): move into stream_delete_console.
4483 Use `fd' only for file descriptors.
4484 Therefore, rename members of struct stream_console.
4485
4486 * systime.h: Unix98 says sys/time.h should define select(), but
4487 some systems define that in unistd.h. So include that file always.
4488
4489 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
4490 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
4491 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
4492 non-boolean context
4493 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
4494
4495 * EmacsShell.c:
4496 * balloon_help.c:
4497 Add #include <stdio.h>.
4498 Some versions of assert.h use printf() without #include'ing stdio.h
4499
4500 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
4501 (log_gcpro): Remove unused variable FRAME.
4502 (show_gcprohist): Ansify.
4503 Comment the #endif's
4504
4505 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
4506 after it's just been XtDestroy'ed!
4507
4508 1999-02-18 Martin Buchholz <martin@xemacs.org>
4509
4510 * opaque.c (print_opaque):
4511 (sizeof_opaque):
4512 (equal_opaque):
4513 (hash_opaque):
4514 Egcs 1.1.1 seems to have a bug where
4515 INTP (p->size_or_chain)
4516 will crash XEmacs. Fix by introducing intermediate variable.
4517
4518 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
4519
4520 * dired.c (Fdirectory_files):
4521 (Ffile_name_completion):
4522 (Ffile_name_all_completions):
4523 (file_name_completion):
4524 - Use `directory' instead of `dirname' to sync with FSF Emacs and
4525 avoid compiler warnings.
4526 - Fix up docstrings so that C variables match documentation.
4527
4528 1999-03-05 Martin Buchholz <martin@xemacs.org>
4529
4530 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
4531 variables as small as possible to help out the compiler and the maintainer.
4532
4533 * alloc.c: (disksave_object_finalization):
4534 Set all the *-load-path variables to
4535 nil, not just load-path itself. This gets the locate-file hash
4536 tables garbage collected BEFORE dump, and has the side effect of
4537 preventing crashes on OSF4.0+egcs.
4538
4539 * alloc.c:
4540 * gdbinit:
4541 * dbxrc:
4542 - Clean up gdb/dbx debugging support.
4543 - Storing an EMACS_INT in an enum is not 64-bit clean!
4544 - So change the enum to a set of separate variables.
4545 - Add test cases to help debug the debugging support!
4546 - Add `lisp-shadows' and `run-temacs' targets for dbx.
4547 - Both dbx and gdb have been tested now.
4548
4549 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4550
4551 * XEmacs 21.2.12 is released
4552
4553 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4554
4555 * device-x.c: Support to find best visual without flashing.
4556
4557 1999-03-02 Paul Keusemann <pkeusem@visi.com>
4558
4559 * database.c (berkdb_map): Add flags argument to cursor call (must
4560 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
4561
4562 1999-03-03 Martin Buchholz <martin@xemacs.org>
4563
4564 * hash.c:
4565 * hash.h:
4566 General cleanup. Get free-hook.c working again.
4567 Remove unused functions:
4568 make_strings_hash_table, copy_hash, expand_hash_table.
4569
4570 * malloc.c:
4571 * mem-limits.h:
4572 Always use new ANSI-style function prototypes.
4573
4574 * unexalpha.c (unexec): Never use implicit int.
4575
4576 * sgiplay.c (close_sound_file):
4577 (play_sound_file):
4578 (restore_audio_port):
4579 (play_sound_data):
4580 (audio_initialize):
4581 (play_internal):
4582 (drain_audio_port):
4583 (write_mulaw_8_chunk):
4584 (write_linear_chunk):
4585 (write_linear_32_chunk):
4586 (initialize_audio_port):
4587 (open_audio_port):
4588 (set_channels):
4589 (set_output_format):
4590 (adjust_audio_volume):
4591 (get_current_volumes):
4592 (parse_snd_header):
4593 Always use new ANSI-style function prototypes.
4594 Use unistd.h for missing prototypes.
4595
4596 * unexelfsgi.c (round_up):
4597 (find_section):
4598 (unexec): Always use new ANSI-style function prototypes
4599
4600 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
4601
4602 * console.h (struct console_methods): Always use full ANSI prototypes
4603
4604 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
4605
4606 1999-03-02 Andy Piper <andy@xemacs.org>
4607
4608 * event-stream.c (init_event_stream): make sure native mswindows
4609 gets an appropriate event loop.
4610
4611 1999-02-22 Andy Piper <andy@xemacs.org>
4612
4613 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
4614 than SW_SHOWNORMAL to prevent resizing of maximised frames.
4615 (mswindows_raise_frame): remove comment.
4616
4617 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
4618
4619 * XEmacs 21.2.11 is released
4620
4621 1999-02-25 SL Baur <steve@xemacs.org>
4622
4623 * mule-charset.c (Qleading_byte): New variable to implement
4624 charset-leading-byte function.
4625 (Fcharset_property): Use it.
4626 (syms_of_mule_charset): Initialize it.
4627 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
4628
4629 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
4630
4631 * glyphs-x.c (cononvert_EImage_to_XImage): correct
4632 bytes per pixel counting.
4633
4634 1999-02-15 Andy Piper <andy@xemacs.org>
4635
4636 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
4637 major lockups.
4638
4639 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
4640
4641 * fns.c (Fbase64_encode_string): New optional argument
4642 `NO_LINE_BREAK'.
4643
4644 1999-02-16 Martin Buchholz <martin@xemacs.org>
4645
4646 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
4647 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
4648
4649 1999-02-10 Martin Buchholz <martin@xemacs.org>
4650
4651 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
4652 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
4653
4654 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4655
4656 * XEmacs 21.2.10 is released
4657
4658 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
4659
4660 * process-nt.c (nt_send_process):
4661 Fix for process-send-region/process-send-string breaking when size
4662 of the input > 128 chars: change maximum chunk size for process
4663 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
4664 succeeds.
4665
4666 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
4667
4668 * XEmacs 21.2.9 is released
4669
4670 1999-01-30 Martin Buchholz <martin@xemacs.org>
4671
4672 * bytecode.c (funcall_compiled_function): Call
4673 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
4674
4675 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
4676 #ifdef 0 out unused macro.
4677
4678 1999-01-27 Martin Buchholz <martin@xemacs.org>
4679
4680 * gui.c (gui_parse_item_keywords_internal): Make static.
4681
4682 1999-01-21 Andy Piper <andy@xemacs.org>
4683
4684 * glyphs-msw.c: add xface support.
4685 (mswindows_xface_instantiate): new function copied from glyphs-x.c
4686 (image_instantiator_format_create_glyphs_mswindows): do device
4687 specific initialisation for xfaces.
4688 (xbm_create_bitmap_from_data): line data must be padded to a word
4689 boundary.
4690
4691 * glyphs-x.c (xface_validate): moved to glyphs.c
4692 (xface_normalize): ditto.
4693 (xface_possible_dest_types): ditto.
4694 (image_instantiator_format_create_glyphs_x): do device specific
4695 initialisation for xfaces.
4696
4697 * glyphs.h: declare xface symbol.
4698
4699 * glyphs.c: move generic xface support here.
4700 (xface_validate): moved from glyphs-x.c
4701 (xface_normalize): ditto.
4702 (xface_possible_dest_types): ditto.
4703 (image_instantiator_format_create): xface declarations moved from
4704 glyphs-x.c.
4705
4706 1999-01-14 Adrian Aichner <adrian@xemacs.org>
4707
4708 * event-stream.c (vars_of_event_stream): Fixing documentation.
4709
4710 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
4711
4712 * glyphs-eimage.c (gif_instantiate): Correct handling of
4713 interlaced gifs to avoid writing past the end of the eimage
4714 buffer.
4715
4716 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
4717
4718 * search.c (Freplace_match): Handle single backslash at end of
4719 NEWTEXT correctly.
4720
4721 1999-01-12 William M. Perry <wmperry@aventail.com>
4722
4723 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
4724 avoid connection errors.
4725
4726 1999-01-12 Andy Piper <andy@xemacs.org>
4727
4728 * redisplay-output.c (redisplay_update_line): backout change that
4729 shouldn't have gone ine.
4730
4731 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4732
4733 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
4734 collide with ldap.el
4735
4736 1999-01-11 Andy Piper <andy@xemacs.org>
4737
4738 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
4739 (DISPLAY_LINE_YPOS): new macro.
4740
4741 * redisplay-msw.c (mswindows_output_string): use it.
4742 (mswindows_output_pixmap): ditto.
4743 (mswindows_output_display_block): ditto.
4744
4745 * redisplay-output.c (redisplay_output_display_block): new
4746 function. just call the devmeth, maybe insert some generic code
4747 here later.
4748 (compare_display_blocks): use it.
4749 (output_display_line): ditto.
4750 (redisplay_unmap_subwindows_maybe): new function. potentially
4751 unmap subwindows in the given area.
4752
4753 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
4754 resetting.
4755
4756 1999-01-10 J. Kean Johnston <jkj@sco.com>
4757
4758 * Makefile.in.in: Set value of moduledir
4759 - Changed DUMPENV to include $(MODULEPATH)
4760 - Added install rule to install header files for use by ellcc.
4761
4762 * config.h.in: Added INHIBIT_SITE_MODULES
4763 - Added HAVE__DLERROR
4764 - Added HAVE_DLFCN_H
4765 - Added DLSYM_NEEDS_UNDERSCORE
4766
4767 * dll.c: Removed.
4768
4769 * emodules.c: New file containing dynamic loading code.
4770
4771 * emodules.h: New file.
4772
4773 * emacs.c: Added variables Vmodule_directory,
4774 Vsite_module_directory, Vconfigure_module_directory and
4775 Vconfigure_site_module_directory.
4776 - (main_1): Added new variable inhibit_site_modules and command
4777 line options `-no-site-modules' and `--no-site-modules'.
4778 - (main_1): Call syms_of_module() instead of syms_of_dll().
4779 - (main_1): Call vars_of_module().
4780 - (vars_of_emacs): Introduce inhibit-site-modules,
4781 module-directory, configure-module-directory,
4782 site-module-directory, and configure-site-module-directory to the
4783 Lisp reader.
4784
4785 * lisp.h: Declare load_module and list_modules, as well as
4786 Vmodule_directory, Vsite_module_directory,
4787 Vconfigure_module_directory and Vconfigure_site_module_directory.
4788
4789 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
4790 - Added correct support for site-lisp directory.
4791
4792 * symbols.c (defsubr): Modified to allow modules to add new subrs
4793 after dump time.
4794 - (defsubr_macro): Same.
4795 - (defvar_magick): Only use purespace when not initialized, so
4796 that loaded modules can still add symbols.
4797
4798 * symsinit.h: Add definitions for syms_of_module(),
4799 vars_of_module(). Removed syms_of_dll().
4800
4801 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
4802 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
4803 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
4804
4805 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
4806 explicitly pass -belf for native cc.
4807
4808 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
4809 hard-coding the library name.
4810
4811 1999-01-01 <martin@xemacs.org>
4812
4813 * device-x.c (Fx_set_font_path):
4814 Add proper cast to permit compilation under C++.
4815
4816 * buffer.c (directory_is_current_directory):
4817 Add proper casts to permit compilation under C++.
4818
4819 1998-12-30 Damon Lipparelli <lipp@primus.com>
4820
4821 * event-msw.c (mswindows_wnd_proc):
4822 Fixed failure when building with MSVC 5.
4823
4824 1998-12-29 Martin Buchholz <martin@xemacs.org>
4825
4826 * file-coding.c (decode_coding_iso2022):
4827 - Prevent crash when decoding ISO7/Lock detected files
4828 - the usual martin fiddling
4829
4830 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
4831
4832 * event-msw.c:
4833 glyphs-msw.c:
4834 Fixed failures when building with MSVC.
4835 * unexnt.c (dump_bss_and_heap):
4836 Removed compiler warning by removing bss_data variable.
4837
4838 1998-12-18 Jim Radford <radford@robby.caltech.edu>
4839
4840 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
4841 so that packages that distribute their own fonts can access them.
4842
4843 1998-12-28 Andy Piper <andy@xemacs.org>
4844
4845 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
4846 that have an image provided.
4847
4848 * glyphs.h: add Q_image decl.
4849
4850 * glyphs-widget.c new functionality allowing images in
4851 widgets.
4852 (check_valid_glyph_or_image): new function to validate
4853 glyphs passed in through :image.
4854 (widget_normalize): new function. convert :image parameters into
4855 real glyphs if not already so.
4856 (widget_instantiate_1): mess with size parameters to be similar to
4857 :image if provided.
4858 (syms_of_glyphs_widget): new keyword :image.
4859 (image_instantiator_format_create_glyphs_widget): normalize
4860 buttons and allow :image.
4861
4862 1998-12-27 Andy Piper <andy@xemacs.org>
4863
4864 * frame-msw.c (mswindows_init_frame_1): warning elimination.
4865
4866 * glyphs-widget.c (check_valid_anything): no-op function.
4867 (check_valid_callback): check callbacks in gui_items.
4868 (check_valid_symbol): as it sounds.
4869 (check_valid_string_or_vector): ditto.
4870 (widget_validate): modified for descriptors that are vectors or
4871 sequences of keyword/val pairs.
4872 (widget_instantiate_1): ditto.
4873 (image_instantiator_format_create_glyphs_widget): allow gui_item
4874 keywords in the instantiator.
4875
4876 * gui.c (gui_parse_item_keywords_internal): renamed from
4877 gui_parse_item_keywords but taking error behaviour.
4878 (gui_parse_item_keywords): use it.
4879 (gui_parse_item_keywords_no_errors): ditto.
4880 (gui_item_add_keyval_pair): add Error_behavior flag and only
4881 signal invalid keywords if required.
4882
4883 * gui.h: new gui signatures.
4884
4885 * menubar.c (menu_parse_submenu_keywords): use new
4886 gui_item_add_keyval_pair signature.
4887
4888 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
4889
4890 1998-12-28 Martin Buchholz <martin@xemacs.org>
4891
4892 * XEmacs 21.2.8 is released.
4893
4894 1998-12-28 Martin Buchholz <martin@xemacs.org>
4895
4896 * editfns.c (get_home_directory):
4897 (user-home-directory): Simplify.
4898
4899
4900 * callproc.c (child_setup):
4901 - Environment variables were being passed to inferior processes
4902 using internal encoding.
4903 - Convert to external encoding.
4904 - Rename local var `tem' to better name `tail'.
4905 - Use Flength instead of `manual' calculation.
4906
4907 * buffer.c (kill-buffer):
4908 (record-buffer):
4909 (set-buffer-major-mode):
4910 (current-buffer):
4911 - Fix up parameter names to correspond to docstrings.
4912 - Don't use `bufname' when a buffer will do as well.
4913 - Remove one unneeded GCPRO.
4914
4915 * buffer.h (initial_directory):
4916 * buffer.c (init_initial_directory):
4917 - use correct conversions between internal and external format.
4918 (directory_is_current_directory): new function
4919 (init_buffer): convert initial_directory to internal format.
4920 - solve crashes when current working directory is non-ASCII.
4921
4922 * alloc.c (xmalloc):
4923 (xcalloc):
4924 (xrealloc):
4925 - remove stupid casts, since XEmacs requires an ANSI C system.
4926 (lrecord_type_index): replace abort() with more readable assert().
4927
4928 (reset_lcrecord_stats): remove.
4929 (sweep_lcrecords_1):
4930 - replace call to reset_lcrecord_stats() with call to xzero().
4931
4932 1998-12-27 Martin Buchholz <martin@xemacs.org>
4933
4934 * process-unix.c (unix_create_process):
4935 - Fix crash invoking program with non-ASCII name.
4936 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
4937 - Remove unused variable `env'.
4938 - Rename `temp' to better name `save_errno'.
4939 - Reorganize code for clarity. But still too chicken to nuke the
4940 BSD 4.2 support.
4941
4942 1998-12-24 Martin Buchholz <martin@xemacs.org>
4943
4944 * XEmacs 21.2.7 is released.
4945
4946 1998-12-23 Martin Buchholz <martin@xemacs.org>
4947
4948 * glyphs.c (decode_device_ii_format):
4949 - Fix indentation.
4950 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
4951
4952 * glyphs-x.c (x_subwindow_instantiate):
4953 - A image instance mask was being assigned to a image instance type!
4954 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
4955
4956 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
4957 Fix indentation.
4958 * glyphs-x.h: Make indentation consistent.
4959
4960 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
4961
4962 * glyphs-widget.c (check_valid_glyph): Warning suppression.
4963 - Make it static
4964 - #ifdef it out, since it's not actually used yet (FIX THIS!)
4965
4966 * glyphs-widget.c:
4967 * glyphs.h:
4968 Move declarations of decode_device_ii_format and
4969 decode_image_instantiator_format into glyphs.h where they belong.
4970
4971 1998-12-22 Martin Buchholz <martin@xemacs.org>
4972
4973 * frame-x.c (x_delete_frame): Revert part of my changes at the
4974 suggestion of Gunnar Evermann - unfortunately no one really
4975 understands this code.
4976
4977 * callproc.c (init_callproc): code cleanup.
4978
4979 * free-hook.c (malloc):
4980 (check_malloc):
4981 (__free_hook):
4982 (__malloc_hook):
4983 (__realloc_hook):
4984 (block_input_malloc):
4985 (block_input_realloc):
4986 * device-x.c (x_delete_device):
4987 * emacs.c (voodoo_free_hook):
4988 * events.c (print_event):
4989 (CHECK_EVENT_TYPE):
4990 (CHECK_EVENT_TYPE2):
4991 (CHECK_EVENT_TYPE3):
4992 Use proper prototypes.
4993 Make C_E_T macros a little faster.
4994 Pedantic fiddly little changes. You really don't care.
4995
4996 1998-12-22 Andy Piper <andy@xemacs.org>
4997
4998 * redisplay-output.c (redisplay_clear_region): make sure that
4999 fg/bg colors get set even when we are in the border area.
5000
5001 1998-12-13 Martin Buchholz <martin@xemacs.org>
5002
5003 * console-msw.c: Function definitions follow coding standards
5004 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
5005
5006 1998-12-11 Martin Buchholz <martin@xemacs.org>
5007
5008 * events.h (struct timeout_data):
5009 * event-tty.c (tty_timeout_to_emacs_event):
5010 * event-msw.c (mswindows_wm_timer_callback):
5011 * event-Xt.c (Xt_timeout_to_emacs_event):
5012 * event-msw.c (mswindows_cancel_dispatch_event):
5013 Make sure Lisp_Objects inside events are initialized to Qnil, not
5014 Qnull_pointer, which is now illegal.
5015
5016 1998-12-10 Martin Buchholz <martin@xemacs.org>
5017
5018 * lisp.h: Fix up prototypes to match alloc.c
5019
5020 1998-12-08 Martin Buchholz <martin@xemacs.org>
5021
5022 * windowsnt.h: Remove `support' for using index and rindex
5023
5024 * filelock.c (current_lock_owner):
5025 - Change uses of index -> strchr, rindex -> strrchr
5026
5027 1998-12-07 Martin Buchholz <martin@xemacs.org>
5028
5029 * sysdep.c (set_descriptor_non_blocking):
5030 Since O_NONBLOCK is now always #defined, make use of fcntl
5031 conditional on F_SETFL being defined.
5032
5033 * console-msw.c (DHEADgER):
5034 (DOPAQUE_DATA):
5035 (DEVENT):
5036 (DCONS):
5037 (DCONSCDR):
5038 (DSTRING):
5039 (DVECTOR):
5040 (DSYMBOL):
5041 (DSYMNAME):
5042 - max_align_t should not be visible to the user of the
5043 XOPAQUE_DATA macro.
5044 - use Bufbyte instead of char
5045 - parens around (FOOP (obj)) are always redundant.
5046 If they were necessary, we should fix the macro instead.
5047 - Always use string_data(foo) instead of foo->data.
5048
5049
5050 1998-12-06 Martin Buchholz <martin@xemacs.org>
5051
5052 * frame-msw.c (mswindows_init_frame_1):
5053 - use make_lisp_hash_table, not Fmake_hash_table
5054 - include elhash.h
5055
5056 * lisp.h:
5057 * alloc.c (make_vector): remove travesty
5058 (Fmake_vector):
5059 (make_pure_vector):
5060 (pure_cons):
5061 (make_bit_vector_internal):
5062 (make_bit_vector):
5063 (make_bit_vector_from_byte_vector):
5064 (Fmake_bit_vector):
5065 - make vector_equal a little faster.
5066 - Don't use variable name `new'.
5067 - Use size_t instead of EMACS_INT.
5068 - usual Martin-style pointless bit-twiddling.
5069
5070 * fns.c (mapcar1):
5071 (Fmapconcat):
5072 (Fmapcar):
5073 (Fmapvector):
5074 Make mapcar faster. In particular, make
5075 (mapc #'identity long-string)
5076 MUCH faster under Mule.
5077 * tests/automated/lisp-tests.el: Test 'em!
5078
5079 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
5080 bytecode.
5081
5082 1998-12-01 Martin Buchholz <martin@xemacs.org>
5083
5084 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
5085 Qnil, not NULL, to initialize `null' Lisp_Objects.
5086
5087 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
5088
5089 * specifier.c (display_table_validate): Update.
5090
5091 * redisplay.c (create_text_block): Use them.
5092
5093 * glyphs.c (display_table_entry): New function.
5094 (get_display_tables): Ditto.
5095
5096 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5097
5098 * eldap.c (toplevel): Mention that eldap.c compiles with
5099 OpenLDAP libs
5100 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
5101 (Fldap_search_internal): Ditto
5102
5103 1998-12-11 Martin Buchholz <martin@xemacs.org>
5104
5105 * event-msw.c (mswindows_cancel_dispatch_event):
5106 Gratuitous code prettification
5107
5108
5109 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
5110
5111 * fns.c (Fnconc): Fix use of wrong_type_argument().
5112
5113 * floatfns.c (Ffloat): Fix docstring.
5114 (Ffloat): Fix use of wrong_type_argument().
5115 (Fabs): Ditto.
5116 (extract_float): Ditto.
5117 (Fceiling): Ditto.
5118 (Fround): Ditto.
5119 (Ftruncate): Ditto.
5120
5121 1998-12-06 Martin Buchholz <martin@xemacs.org>
5122
5123 * frame-msw.c (mswindows_init_frame_1):
5124 - use make_lisp_hash_table, not Fmake_hash_table
5125 - include elhash.h
5126
5127 * lisp.h:
5128 * alloc.c (make_vector): remove travesty
5129 (Fmake_vector):
5130 (make_pure_vector):
5131 (pure_cons):
5132 (make_bit_vector_internal):
5133 (make_bit_vector):
5134 (make_bit_vector_from_byte_vector):
5135 (Fmake_bit_vector):
5136 - make vector_equal a little faster.
5137 - Don't use variable name `new'.
5138 - Use size_t instead of EMACS_INT.
5139 - usual Martin-style pointless bit-twiddling.
5140
5141 * fns.c (mapcar1):
5142 (Fmapconcat):
5143 (Fmapcar):
5144 (Fmapvector):
5145 Make mapcar faster. In particular, make
5146 (mapc #'identity long-string)
5147 MUCH faster under Mule.
5148 * tests/automated/lisp-tests.el: Test 'em!
5149
5150 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
5151 bytecode.
5152
5153 1998-12-02 Didier Verna <verna@inf.enst.fr>
5154
5155 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
5156 accelerator field to nil for labels.
5157
5158 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
5159
5160 * menubar-msw.c (displayable_menu_item):
5161 Escape occurrences of '&' and support occurrences of the
5162 '%_' accelerator indicator in menus.
5163
5164 1998-11-26 Didier Verna <verna@inf.enst.fr>
5165
5166 * dired.c (Fdirectory_files): use make_string instead of
5167 make_ext_string on the filename. The conversion external->internal
5168 format is already done in sys_readdir.
5169
5170 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
5171
5172 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
5173
5174 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
5175
5176 * event-msw.c
5177 (Belatedly) added Kirill to list of file's authors.
5178 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
5179 quit checking. WM_PAINT messages cause redisplay, but
5180 windows' states are not necessarily stable when this function
5181 gets called.
5182
5183 1998-12-17 Andy Piper <andy@xemacs.org>
5184
5185 * strftime.c (zone_name): CONSTify.
5186
5187 1998-12-15 Andy Piper <andy@xemacs.org>
5188
5189 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
5190 (mswindows_widget_property): return Qunbound when no property available.
5191 (mswindows_button_property): ditto.
5192 (mswindows_combo_property): ditto.
5193 (mswindows_widget_set_property): ditto.
5194
5195 * glyphs-widget.c (check_valid_item_list): use properties.
5196
5197 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
5198
5199 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
5200 (Fimage_instance_property): ditto.
5201 * glyphs-widget.c (widget_property): ditto.
5202 (widget_set_property): ditto.
5203
5204 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
5205 as setting the class cursor so that GC actually changes the
5206 cursor.
5207
5208 * config.h: don't undef MAIL_USE_POP.
5209
5210 1998-12-13 Andy Piper <andy@xemacs.org>
5211
5212 * glyphs-msw.c
5213 (image_instantiator_format_create_glyphs_mswindows): line ->
5214 label.
5215 (mswindows_label_instantiate): ditto. Play with window flags.
5216 (image_instantiator_format_create_glyphs_mswindows): ditto.
5217 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
5218
5219 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
5220 cope with lines and labels.
5221 (static_instantiate): use widget_instantiate_1.
5222 line -> label.
5223 (image_instantiator_format_create_glyphs_widget): ditto.
5224
5225 1998-12-10 Andy Piper <andy@xemacs.org>
5226
5227 * Makefile.in.in (objs): add gui.o
5228
5229 1998-12-10 Andy Piper <andy@xemacs.org>
5230
5231 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
5232 no window system.
5233
5234 1998-12-09 Andy Piper <andy@xemacs.org>
5235
5236 * glyphs.c (finalize_image_instance): mark glyphs changed when an
5237 image instance is removed so that the subwindow cache gets reset
5238 and thus destroyed images get GC'd.
5239
5240 1998-12-08 Andy Piper <andy@xemacs.org>
5241
5242 * gui-msw.c (mswindows_handle_gui_wm_command): call
5243 MARK_SUBWINDOWS_CHANGED.
5244
5245 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
5246 subwindows really get deleted.
5247
5248 * redisplay.c: new variable subwindows_changed[_set].
5249 (redisplay_window): use it.
5250 (redisplay_frame): ditto.
5251 (redisplay_device): ditto.
5252 (redisplay_without_hooks): ditto.
5253
5254 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
5255 subwindows redisplay as per glyphs equivalent.
5256 * redisplay.h: ditto.
5257 (MARK_SUBWINDOWS_CHANGED): ditto.
5258 (RESET_CHANGED_SET_FLAGS): ditto.
5259 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
5260
5261 1998-12-07 Andy Piper <andy@xemacs.org>
5262
5263 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
5264 frames.
5265
5266 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
5267
5268 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
5269 messages and paint widget glyphs as appropriate with their face fg
5270 & bg.
5271
5272 1998-12-06 Andy Piper <andy@xemacs.org>
5273
5274 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
5275 here rather than in glyphs-widget - do this because we only want
5276 to provide what is really available.
5277
5278 * glyphs.c (Fimage_instance_property): new function to get the
5279 properties of image instances. wires through to console specific
5280 methods and then to widget specific methods.
5281 (Fset_image_instance_property): ditto but for setting widget properties.
5282 (check_valid_face): make extern so that it can be used elsewhere.
5283
5284 * glyphs-widget.c (widget_property): new function. gets the
5285 properties of widgets in general and wires the function through to
5286 widget specific ones.
5287 (widget_set_property): ditto but for setting widget properties.
5288
5289 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
5290 add items to the list. Play with window styles a bit to get the
5291 desired effect.
5292 (mswindows_widget_property): break out specific widget properties.
5293 (mswindows_button_property): new function. gets the checked state
5294 of a button.
5295 (mswindows_combo_property): new function. gets the current
5296 selection in the combo box.
5297 (mswindows_widget_set_property): new function. sets specific
5298 properties of specific widgets.
5299
5300 * glyphs-widget.c (check_valid_item_list): new function. check
5301 that items for a combo-box are just a list of strings.
5302 (combo_validate): new function. check there is an item list.
5303 (widget_instantiate_1): new function. renamed from
5304 widget_instantiate so that we can do slightly different things for
5305 other widgets.
5306 (widget_instantiate): call widget_instantiate_1.
5307 (combo_instantiate): new function to instantiate combo boxes,
5308 defaults height to the pixel height of the number of items in the
5309 box.
5310 (syms_of_glyphs_widget): move widget keywords here.
5311 (image_instantiator_format_create_glyphs_widget): use new combo
5312 functions.
5313
5314 1998-12-04 Andy Piper <andy@xemacs.org>
5315
5316 * event-msw.c (mswindows_wnd_proc): mule-ize.
5317
5318 * glyphs.c (pixmap_to_lisp_data): mule-ize.
5319
5320 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
5321 (resource_name_to_resource): ditto.
5322 (mswindows_resource_instantiate): ditto.
5323 (mswindows_widget_instantiate): ditto.
5324 (mswindows_widget_set_property): ditto.
5325
5326 * redisplay-output.c (redisplay_output_subwindow): don't show
5327 subwindows if they are obscured at the edge of the frame, emacs
5328 gets into some sort of redisplay loop otherwise.
5329
5330 * gui.h: prototype gui_item_selected_p.
5331
5332 * gui.c (gui_item_selected_p): new function to determine the
5333 selected state of a gui_item.
5334
5335 * frame.h (struct frame): add subwindows_changed flag.
5336
5337 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
5338
5339 * glyphs.c (update_subwindow): new function to update a
5340 subwindow's state.
5341 (update_frame_subwindows): new function to update all the
5342 subwindows on a frame.
5343
5344 * console.h (struct console_methods): add update_subwindow.
5345
5346 * glyphs-msw.c (mswindows_widget_property): return selected state
5347 for selected property.
5348 (mswindows_update_subwindow): new function. updates widget glyphs
5349 in redisplay as per menubars or toolbars e.g. selected state.
5350 (console_type_create_glyphs_mswindows): add update_subwindow.
5351
5352 1998-12-03 Andy Piper <andy@xemacs.org>
5353
5354 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
5355 tty coding system things are such.
5356
5357 * glyphs-widget.c (widget_face_font_info): new function for
5358 pulling out height and width metrics for a widget's face.
5359 (widget_text_to_pixel_conversion): calculate pixel sizes of text
5360 for widgets.
5361
5362 * event-msw.c (mswindows_drain_windows_queue): translate messages
5363 that are destined for subwindows. This makes edit fields interact
5364 with the keyboard correctly.
5365 nuke warnings by #ifndef'ing out stuff not required by msg select().
5366
5367 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
5368 macro defining the iiforma without the symbol required by widget.
5369 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
5370
5371 * general.c (syms_of_general): add Qwidget, Qselected.
5372
5373 * faces.c (complex_vars_of_faces): add widget face inheriting from
5374 gui-element face.
5375
5376 1998-11-09 Andy Piper <andy@xemacs.org>
5377
5378 * window.h (struct window): add a cache of subwindows on a
5379 per-window basis.
5380
5381 * window.c (mark_window): mark the subwindow_instance_cache.
5382 (allocate_window): initialise the subwindow instance_cache.
5383
5384 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
5385 instead of the devmeth.
5386 (x_clear_toolbar): ditto.
5387
5388 * redisplay-x.c (x_output_display_block): call
5389 redisplay_output_subwindow for subwindows and widgets.
5390
5391 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
5392 types to do nothing for.
5393
5394 * lisp.h: declare new widget/subwindow symbols.
5395
5396 * glyphs.c (image_instantiate): cache subwindows on a per-window
5397 basis.
5398 (subwindow_possible_dest_types): new function for subwindow dest
5399 types.
5400 (subwindow_instantiate): generic instantiation of a
5401 subwindow. specialised by device multi-methods.
5402 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
5403 subwindows.
5404 (Fimage_instance_subwindow_id): ditto.
5405 (Fresize_subwindow): ditto.
5406 (Fforce_subwindow_map): ditto.
5407
5408 * glyphs-x.c (x_print_image_instance): remove subwindow
5409 stuff. Handled genrically in glyphs.c.
5410 (x_image_instance_equal): ditto.
5411 (x_image_instance_hash): ditto.
5412 (x_finalize_image_instance): delete subwindows when required.
5413 (mark_subwindow) (print_subwindow) (finalize_subwindow)
5414 (subwindow_hash) (Fmake_subwindow): deleted because of new,
5415 glyph-based, subwindow implementation.
5416 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
5417 in glyphs.el
5418 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
5419 glyphs.c.
5420 (x_unmap_subwindow): new function to unmap X subwindows.
5421 (x_map_subwindow): new function to map X subwindows.
5422 (x_subwindow_instantiate): new function to instantiate X
5423 subwindows.
5424 (x_resize_subwindow): new function to resize X subwindows.
5425 (console_type_create_glyphs_x): add subwindow functions.
5426 (image_instantiator_format_create_glyphs_x): add device
5427 multi-methods for xpm, xbm and subwindow.
5428
5429 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
5430 (subwindow-width): ditto.
5431 (subwindow-height): ditto.
5432
5433 * glyphs-msw.c (mswindows_widget_instantiate): new function for
5434 generally instantiating ms subwindows. Used by
5435 mswindows_*_instantiate.
5436 (mswindows_edit_instantiate): instantiate an edit field on a
5437 mswindows frame.
5438
5439 1998-11-04 Andy Piper <andy@xemacs.org>
5440
5441 * symsinit.h: declare new functions.
5442
5443 * redisplay.h: declare new functions.
5444
5445 * redisplay-x.c (x_output_display_block): call
5446 redisplay_clear_region rather than x_clear_region.
5447 (x_output_string): ditto.
5448 (x_output_pixmap): ditto.
5449 (x_clear_to_window_end): ditto.
5450 (x_output_eol_cursor): ditto.
5451 (x_clear_region): only do X specific things. other duties handled
5452 in redisplay_clear_region.
5453
5454 * redisplay-tty.c (tty_clear_region): do tty specific things - some
5455 duties moved to redisplay_clear_region.
5456
5457 * redisplay-output.c (clear_left_border): use
5458 redisplay_clear_region instead of device method.
5459 (clear_right_border): ditto.
5460 (output_display_line): ditto.
5461 (redisplay_output_subwindow): ditto.
5462 (redisplay_clear_top_of_window): ditto.
5463 (redisplay_clear_region): perform duties previously handled by
5464 device methods. call the appropriate device method at the
5465 end. unmap subwindows if necessary.
5466
5467 * redisplay-msw.c (mswindows_output_string): use
5468 redisplay_clear_region instead of mswindows_clear_region.
5469 (mswindows_clear_to_window_end): ditto.
5470 (mswindows_output_display_block): output subwindows when required.
5471 (mswindows_clear_region): only do mswindows specific things,
5472 everything else is now handled in redisplay_clear_region.
5473
5474 * gui.h: add item id hash defines and declare function prototypes.
5475
5476 * gui.c (mark_gui_item): new function for marking gui_items.
5477 (gui_item_hash): generic hash function for generating command ids
5478 for gui_items.
5479
5480 * gui-msw.c: new file.
5481 (mswindows_handle_gui_wm_command): new function to handle widget
5482 callbacks.
5483
5484 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
5485 multi-methods.
5486 (IIFORMAT_HAS_SHARED_METHOD): ditto.
5487 (DEFINE_DEVICE_IIFORMAT): ditto.
5488 (INITIALIZE_DEVICE_IIFORMAT): ditto.
5489 (struct Lisp_Image_Instance): add widget and subwindow data plus
5490 appropriate access functions.
5491
5492 * glyphs.c (decode_device_ii_format): new function for decoding
5493 image instantiator functions based on a device type as well as an
5494 image format.
5495 (decode_image_instantiator_format): just call
5496 decode_device_ii_format with nil device.
5497 (add_entry_to_device_ii_format_list): new function for per device
5498 method instances.
5499 (add_entry_to_image_instantiator_format_list): just call
5500 add_entry_to_device_ii_format_list with nil device.
5501 (check_valid_vector): new function.
5502 (instantiate_image_instantiator): instantiate using per-format
5503 method and then per-format-per-device method (device
5504 multi-methods). signal an error if neither is possible.
5505 (mark_image_instance): cope with subwindows and widgets.
5506 (print_image_instance): ditto.
5507 (image_instance_equal): ditto.
5508 (image_instance_hash): ditto.
5509 (allocate_glyph): ditto.
5510 (glyph_width): ditto.
5511 (glyph_height_internal): ditto.
5512 (xpm_instantiate): removed because of device multi-methods.
5513 (mark_subwindow_cachels): new cachel functions for caching
5514 instantiated subwindows on a per-frame basis. mostly copied from
5515 glyph cachel functions.
5516 (update_subwindow_cachel_data): ditto.
5517 (add_subwindow_cachel): ditto.
5518 (get_subwindow_cachel_index): ditto.
5519 (reset_subwindow_cachels): ditto.
5520 (mark_subwindow_cachels_as_not_updated): ditto.
5521 (unmap_subwindow): generic unmapping of subwindows based on cachel
5522 data.
5523 (map_subwindow): ditto.
5524 (initialize_subwindow_image_instance): generic initialisation of
5525 subwindow data.
5526 (syms_of_glyphs): add widget keywords.
5527
5528 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
5529 x_subwindow_data.
5530
5531 1998-11-04 Andy Piper <andy@xemacs.org>
5532
5533 * glyphs-widget.c: new file for instantiating widget type glyphs.
5534 (widget_possible_dest_types): new general dest type function for
5535 widgets.
5536 (widget_validate): ditto.
5537 (initialize_widget_image_instance): ditto
5538 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
5539 before handing on control to device multi-methods.
5540 (syms_of_glyphs_widget): new function.
5541 (image_instantiator_format_create_glyphs_widget): new function,
5542 added placeholders for button, edit, combo, scrollbar
5543 (vars_of_glyphs_widget): new function.
5544
5545 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
5546 storing window ids of widgets.
5547
5548 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
5549 deletion of widget and subwindow glyphs.
5550 (mswindows_unmap_subwindow): new device function for unmapping
5551 subwindows on a msw frame.
5552 (mswindows_map_subwindow): ditto.
5553 (mswindows_register_image_instance): register instantiated widgets
5554 with the widget hastable.
5555 (mswindows_button_instantiate): instantiate a button type widget
5556 on an msw frame.
5557 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
5558 mswindows frame.
5559 (image_instantiator_format_create_glyphs_mswindows): add device
5560 multi-methods for xbm, xpm, subwindow, edit and button.
5561
5562 * frame.h (struct frame): add subwindow_cachels dynarr for caching
5563 information about subwindows visible on the current frame. used by
5564 redisplay_clear_region to unmap subwindows as required.
5565
5566 * frame.c (mark_frame): mark subwindow_cachels.
5567 (allocate_frame_core): instantiate subwindow_cachels.
5568
5569 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
5570 widget hashtable.
5571
5572 * event-msw.c (mswindows_wnd_proc): add call to
5573 mswindows_handle_gui_wm_command to handle widget callbacks.
5574
5575 * emacs.c (main_1): add calls to glyphs-widget initialisation
5576 routines.
5577
5578 * console.h (struct console_methods): add
5579 unmap/map_subwindow_method for use be redisplay_clear_region to
5580 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
5581 with by image instantiator multi-methods. Add
5582 resize_subwindow_method.
5583
5584 * console-stream.c (stream_clear_region): change signature to
5585 match new generic clear region function.
5586
5587 * Makefile.in.in: add glyphs-widget.o to list of objects.
5588
5589 * console-msw.h (struct mswindows_frame): add widget hashtable for
5590 wiring command ids to callbacks.
5591
5592 1998-12-16 Andy Piper <andy@xemacs.org>
5593
5594 * XEmacs 21.2.6 is released
5595
5596 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
5597
5598 * md5.c (Fmd5): Correctly initiate string input stream.
5599
5600 * Makefile.in.in (tests): Add md5-tests.el.
5601
5602 1998-12-06 Martin Buchholz <martin@xemacs.org>
5603
5604 * lisp.h:
5605 * alloc.c (make_vector): remove travesty
5606 (Fmake_vector):
5607 (make_pure_vector):
5608 (pure_cons):
5609 (make_bit_vector_internal):
5610 (make_bit_vector):
5611 (make_bit_vector_from_byte_vector):
5612 (Fmake_bit_vector):
5613 - make vector_equal a little faster.
5614 - Don't use variable name `new'.
5615 - Use size_t instead of EMACS_INT.
5616 - usual Martin-style pointless bit-twiddling.
5617
5618 * fns.c (mapcar1):
5619 (Fmapconcat):
5620 (Fmapcar):
5621 (Fmapvector):
5622 Make mapcar faster. In particular, make
5623 (mapc #'identity long-string)
5624 MUCH faster under Mule.
5625 * tests/automated/lisp-tests.el: Test 'em!
5626
5627 1998-12-06 Martin Buchholz <martin@xemacs.org>
5628
5629 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
5630 bytecode.
5631
5632 1998-12-13 Martin Buchholz <martin@xemacs.org>
5633
5634 * console-msw.c: Function definitions follow coding standards
5635 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
5636
5637 1998-12-11 Martin Buchholz <martin@xemacs.org>
5638
5639 * events.h (struct timeout_data):
5640 * event-tty.c (tty_timeout_to_emacs_event):
5641 * event-msw.c (mswindows_wm_timer_callback):
5642 * event-Xt.c (Xt_timeout_to_emacs_event):
5643 * event-msw.c (mswindows_cancel_dispatch_event):
5644 Make sure Lisp_Objects inside events are initialized to Qnil, not
5645 Qnull_pointer, which is now illegal.
5646
5647 1998-12-10 Martin Buchholz <martin@xemacs.org>
5648
5649 * lisp.h: Fix up prototypes to match alloc.c
5650
5651 1998-12-09 Andy Piper <andy@xemacs.org>
5652
5653 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
5654 XSETINT for assigning lisp objects.
5655
5656 1998-12-07 Martin Buchholz <martin@xemacs.org>
5657
5658 * opaque.h:
5659 * console-msw.c (DHEADER):
5660 (DOPAQUE_DATA):
5661 (DEVENT):
5662 (DCONS):
5663 (DCONSCDR):
5664 (DSTRING):
5665 (DVECTOR):
5666 (DSYMBOL):
5667 (DSYMNAME):
5668 - max_align_t should not be visible to the user of the
5669 XOPAQUE_DATA macro.
5670 - use Bufbyte instead of char
5671 - parens around (FOOP (obj)) are always redundant.
5672 If they were necessary, we should fix the macro instead.
5673 - Always use string_data(foo) instead of foo->data.
5674
5675 1998-12-07 Martin Buchholz <martin@xemacs.org>
5676
5677 * sysdep.c (set_descriptor_non_blocking):
5678 Since O_NONBLOCK is now always #defined, make use of fcntl
5679 conditional on F_SETFL being defined.
5680
5681 1998-12-09 Andy Piper <andy@xemacs.org>
5682
5683 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
5684 that got removed in the merge
5685
5686 1998-11-30 Greg Klanderman <greg@alphatech.com>
5687
5688 * dired.c (vars_of_dired): bugfix for previous conditionalization
5689 of user-name-completion on non- Windows NT.
5690
5691 1998-12-08 Martin Buchholz <martin@xemacs.org>
5692
5693 * windowsnt.h: Remove `support' for using index and rindex
5694
5695 * filelock.c (current_lock_owner):
5696 - Change uses of index -> strchr, rindex -> strrchr
5697
5698 1998-12-06 Martin Buchholz <martin@xemacs.org>
5699
5700 * frame-msw.c (mswindows_init_frame_1):
5701 - use make_lisp_hash_table, not Fmake_hash_table
5702 - include elhash.h
5703
5704 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
5705
5706 * XEmacs 21.2.5 is released
5707
5708 1998-11-30 Martin Buchholz <martin@xemacs.org>
5709
5710 * xselect.c (receive_incremental_selection):
5711 * xselect.c (x_get_window_property):
5712 * xmu.c (XmuReadBitmapDataFromFile):
5713 * xmu.c (XmuCursorNameToIndex):
5714 * xgccache.c (describe_gc_cache):
5715 * xgccache.c (gc_cache_lookup):
5716 * xgccache.c (free_gc_cache):
5717 * xgccache.c (make_gc_cache):
5718 * window.h:
5719 * window.c (map_windows_1):
5720 * window.c (Fother_window_for_scrolling):
5721 * window.c (window_scroll):
5722 * window.c (change_window_height):
5723 * window.c (Fsplit_window):
5724 * window.c (window_left_gutter_width):
5725 * window.c (window_modeline_height):
5726 * window.c (invalidate_vertical_divider_cache_in_window):
5727 * window.c (window_needs_vertical_divider_1):
5728 * window.c (update_mirror_internal):
5729 * window.c (SET_LAST_FACECHANGE):
5730 * widget.c (Fwidget_plist_member):
5731 * unexec.c (copy_text_and_data):
5732 * unexcw.c (copy_executable_and_dump_data_section):
5733 * tooltalk.doc:
5734 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
5735 * tooltalk.c (struct Lisp_Tooltalk_Message):
5736 * toolbar.h (struct toolbar_button):
5737 * toolbar.c (default_toolbar_visible_p_changed_in_window):
5738 * toolbar.c (recompute_overlaying_specifier):
5739 * toolbar.c (toolbar_validate):
5740 * toolbar.c (toolbar_button_at_pixpos):
5741 * toolbar.c (get_toolbar_coords):
5742 * toolbar.c (update_frame_toolbars):
5743 * toolbar-x.c:
5744 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
5745 * toolbar-msw.c (mswindows_find_toolbar_pos):
5746 * toolbar-msw.c (mswindows_output_toolbar):
5747 * toolbar-msw.c (mswindows_clear_toolbar):
5748 * toolbar-msw.c:
5749 * systty.h:
5750 * syssignal.h:
5751 * sysproc.h:
5752 * sysfile.h:
5753 * sysdll.c:
5754 * sysdep.h:
5755 * sysdep.c (rmdir):
5756 * sysdep.c (sys_fopen):
5757 * sysdep.c (sys_open):
5758 * sysdep.c (tty_init_sys_modes_on_device):
5759 * sysdep.c (get_eof_char):
5760 * sysdep.c (child_setup_tty):
5761 * sysdep.c (set_descriptor_non_blocking):
5762 * syntax.h:
5763 * syntax.c (scan_words):
5764 * syntax.c:
5765 * symsinit.h:
5766 * symeval.h (struct symbol_value_varalias):
5767 * symeval.h (struct symbol_value_forward):
5768 * symbols.c (syms_of_symbols):
5769 * symbols.c (init_symbols_once_early):
5770 * symbols.c (Fbuilt_in_variable_type):
5771 * symbols.c (Fsymbol_value_in_buffer):
5772 * symbols.c (default_value):
5773 * symbols.c (Fset):
5774 * symbols.c (find_symbol_value_quickly):
5775 * symbols.c (store_symval_forwarding):
5776 * symbols.c (set_default_console_slot_variable):
5777 * symbols.c (set_default_buffer_slot_variable):
5778 * symbols.c (verify_ok_for_buffer_local):
5779 * symbols.c (symbol_is_constant):
5780 * symbols.c (oblookup):
5781 * symbols.c (Funintern):
5782 * symbols.c (Fintern):
5783 * symbols.c (check_obarray):
5784 * sunplay.c:
5785 * specifier.h (struct specifier_methods):
5786 * specifier.h:
5787 * specifier.c (specifier_instance):
5788 * specifier.c (specifier_instance_from_inst_list):
5789 * specifier.c (decode_locale_type):
5790 * specifier.c (specifier_equal):
5791 * specifier.c (finalize_specifier):
5792 * specifier.c (prune_specifiers):
5793 * specifier.c (kill_specifier_buffer_locals):
5794 * sound.c (init_native_sound):
5795 * sound.c:
5796 * signal.c (alarm):
5797 * search.c (Fmatch_data):
5798 * search.c (match_limit):
5799 * search.c (Freplace_match):
5800 * search.c (skip_chars):
5801 * search.c (scan_buffer):
5802 * search.c:
5803 * scrollbar.c (specifier_vars_of_scrollbar):
5804 * scrollbar.c (Fscrollbar_set_hscroll):
5805 * scrollbar.c (vertical_scrollbar_changed_in_window):
5806 * scrollbar.c (release_window_mirror_scrollbars):
5807 * scrollbar.c (free_scrollbar_instance):
5808 * scrollbar-x.c:
5809 * scrollbar-msw.c:
5810 * s/msdos.h (O_BINARY):
5811 * s/linux.h:
5812 * s/freebsd.h (LIBS_TERMCAP):
5813 * regex.c (re_match_2_internal):
5814 * regex.c (compile_extended_range):
5815 * regex.c (POP_FAILURE_POINT):
5816 * regex.c (PUSH_FAILURE_POINT):
5817 * redisplay.h (RESET_CHANGED_SET_FLAGS):
5818 * redisplay.h:
5819 * redisplay.h (struct display_line):
5820 * redisplay.h (struct rune):
5821 * redisplay.c (vars_of_redisplay):
5822 * redisplay.c (redisplay_variable_changed):
5823 * redisplay.c (UPDATE_CACHE_RETURN):
5824 * redisplay.c (validate_line_start_cache):
5825 * redisplay.c (mark_redisplay_structs):
5826 * redisplay.c (mark_glyph_block_dynarr):
5827 * redisplay.c (window_line_number):
5828 * redisplay.c (redisplay_frame):
5829 * redisplay.c (redisplay_window):
5830 * redisplay.c (generate_modeline):
5831 * redisplay.c (create_right_glyph_block):
5832 * redisplay.c (create_left_glyph_block):
5833 * redisplay.c (create_text_block):
5834 * redisplay.c:
5835 * redisplay-x.c (x_output_hline):
5836 * redisplay-x.c (x_output_vertical_divider):
5837 * redisplay-tty.c (tty_output_display_block):
5838 * redisplay-output.c (output_display_line):
5839 * redisplay-output.c:
5840 * redisplay-msw.c (mswindows_output_vertical_divider):
5841 * redisplay-msw.c (mswindows_ring_bell):
5842 * redisplay-msw.c (mswindows_output_cursor):
5843 * redisplay-msw.c:
5844 * rangetab.c:
5845 * ralloc.c:
5846 * puresize.h (RAW_PURESIZE):
5847 * profile.c (syms_of_profile):
5848 * profile.c (Fstart_profiling):
5849 * profile.c (sigprof_handler):
5850 * profile.c:
5851 * procimpl.h:
5852 * process.c (vars_of_process):
5853 * process.c (read_process_output):
5854 * process.c (get_process):
5855 * process.c:
5856 * process-unix.c (unix_open_multicast_group):
5857 * process-unix.c (unix_get_tty_name):
5858 * process-unix.c (unix_send_process):
5859 * process-unix.c (unix_reap_exited_processes):
5860 * process-unix.c (unix_create_process):
5861 * process-unix.c (unix_init_process_io_handles):
5862 * process-unix.c (allocate_pty):
5863 * process-unix.c:
5864 * process-nt.c (nt_open_network_stream):
5865 * process-nt.c (nt_update_status_if_terminated):
5866 * process-nt.c (nt_finalize_process_data):
5867 * process-nt.c:
5868 * print.c (debug_short_backtrace):
5869 * print.c (debug_backtrace):
5870 * print.c (print_symbol):
5871 * print.c (print_internal):
5872 * print.c (print_cons):
5873 * print.c (Fwrite_char):
5874 * print.c (print_prepare):
5875 * print.c (canonicalize_printcharfun):
5876 * print.c (output_string):
5877 * print.c:
5878 * opaque.h:
5879 * opaque.c (allocate_managed_opaque):
5880 * opaque.c:
5881 * offix.c (DndSetData):
5882 * objects.c (face_boolean_create):
5883 * objects.c (font_instantiate):
5884 * objects.c (font_create):
5885 * objects.c (color_create):
5886 * objects.c (finalize_font_instance):
5887 * objects.c (finalize_color_instance):
5888 * objects.c:
5889 * objects-x.c (x_font_instance_truename):
5890 * objects-x.c:
5891 * objects-x.c (x_initialize_font_instance):
5892 * objects-x.c (allocate_nearest_color):
5893 * objects-tty.c (tty_initialize_font_instance):
5894 * objects-tty.c (tty_initialize_color_instance):
5895 * objects-msw.c (mswindows_initialize_color_instance):
5896 * ntproc.c (syms_of_ntproc):
5897 * ntproc.c (Fwin32_set_process_priority):
5898 * ntproc.c (sys_spawnve):
5899 * ntproc.c:
5900 * ntheap.c (get_data_end):
5901 * nt.c (period):
5902 * nt.c:
5903 * nt.c (stat):
5904 * nt.c (generate_inode_val):
5905 * nt.c (sys_rename):
5906 * nas.c:
5907 * mule-wnnfns.c (Fwnn_hinsi_number):
5908 * mule-wnnfns.c (Fwnn_yuragi):
5909 * mule-wnnfns.c (Fwnn_common_learn):
5910 * mule-wnnfns.c (Fwnn_suffix_learn):
5911 * mule-wnnfns.c (Fwnn_prefix_learn):
5912 * mule-wnnfns.c (Fwnn_okuri_learn):
5913 * mule-wnnfns.c (Fwnn_complex_conv):
5914 * mule-wnnfns.c (Fwnn_last_is_first):
5915 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
5916 * mule-wnnfns.c (Fwnn_notrans_dict_add):
5917 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
5918 * mule-wnnfns.c (Fwnn_fisys_dict_add):
5919 * mule-wnnfns.c (Fwnn_hinsi_list):
5920 * mule-wnnfns.c (Fwnn_fuzokugo_set):
5921 * mule-wnnfns.c (Fwnn_dict_search):
5922 * mule-wnnfns.c (Fwnn_word_toroku):
5923 * mule-wnnfns.c (Fwnn_hindo_update):
5924 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
5925 * mule-wnnfns.c (Fwnn_kakutei):
5926 * mule-wnnfns.c (Fwnn_begin_henkan):
5927 * mule-wnnfns.c (Fwnn_dict_comment):
5928 * mule-wnnfns.c (Fwnn_dict_add):
5929 * mule-wnnfns.c (Fwnn_open):
5930 * mule-mcpath.c (mc_getcwd):
5931 * mule-coding.c (vars_of_mule_coding):
5932 * mule-coding.c (convert_to_external_format):
5933 * mule-coding.c (encoding_marker):
5934 * mule-coding.c (decoding_marker):
5935 * mule-coding.c (Fcopy_coding_system):
5936 * mule-coding.c (Fmake_coding_system):
5937 * mule-coding.c (Fcoding_system_list):
5938 * mule-coding.c (Ffind_coding_system):
5939 * mule-coding.c (symbol_to_eol_type):
5940 * mule-coding.c:
5941 * mule-charset.c (complex_vars_of_mule_charset):
5942 * mule-charset.c (vars_of_mule_charset):
5943 * mule-charset.c (Fset_charset_ccl_program):
5944 * mule-charset.c (struct charset_list_closure):
5945 * mule-charset.c (Ffind_charset):
5946 * mule-charset.c (make_charset):
5947 * mule-charset.c (non_ascii_valid_char_p):
5948 * mule-charset.c:
5949 * mule-ccl.c (ccl_driver):
5950 * mule-canna.c (c2mu):
5951 * mule-canna.c (Fcanna_henkan_begin):
5952 * mule-canna.c (Fcanna_parse):
5953 * mule-canna.c (Fcanna_store_yomi):
5954 * mule-canna.c (Fcanna_touroku_string):
5955 * mule-canna.c (Fcanna_initialize):
5956 * minibuf.c:
5957 * menubar.c (menu_parse_submenu_keywords):
5958 * menubar-x.c (make_dummy_xbutton_event):
5959 * menubar-x.c (set_frame_menubar):
5960 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5961 * menubar-x.c:
5962 * menubar-msw.h:
5963 * menubar-msw.c (mswindows_popup_menu):
5964 * menubar-msw.c (mswindows_update_frame_menubars):
5965 * menubar-msw.c (mswindows_handle_wm_command):
5966 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
5967 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
5968 * menubar-msw.c (update_frame_menubar_maybe):
5969 * menubar-msw.c (populate_or_checksum_helper):
5970 * menubar-msw.c (empty_menu):
5971 * menubar-msw.c:
5972 * md5.c:
5973 * marker.c (set_marker_internal):
5974 * marker.c (print_marker):
5975 * malloc.c:
5976 * make-src-depend:
5977 * lstream.c (lisp_buffer_rewinder):
5978 * lstream.c (mark_lstream):
5979 * lrecord.h:
5980 * lrecord.h (struct lrecord_header):
5981 * lread.c (readevalloop):
5982 * lread.c (locate_file):
5983 * lread.c (locate_file_in_directory):
5984 * lread.c (Flocate_file):
5985 * lread.c (load_force_doc_string_unwind):
5986 * lread.c (ebolify_bytecode_constants):
5987 * lread.c:
5988 * lisp.h:
5989 * lisp-union.h:
5990 * lisp-disunion.h:
5991 * linuxplay.c (linux_play_data_or_file):
5992 * linuxplay.c (audio_init):
5993 * line-number.c:
5994 * keymap.h:
5995 * keymap.c (describe_map):
5996 * keymap.c (describe_map_mapper):
5997 * keymap.c (Fdescribe_bindings_internal):
5998 * keymap.c (Fsingle_key_description):
5999 * keymap.c (map_keymap_sorted):
6000 * keymap.c (get_relevant_keymaps):
6001 * keymap.c (Flookup_key):
6002 * keymap.c (raw_lookup_key_mapper):
6003 * keymap.c (Fdefine_key):
6004 * keymap.c (Fevent_matches_key_specifier_p):
6005 * keymap.c (key_desc_list_to_event):
6006 * keymap.c (define_key_parser):
6007 * keymap.c (define_key_check_and_coerce_keysym):
6008 * keymap.c (keymap_submaps):
6009 * keymap.c (keymap_store_internal):
6010 * keymap.c (keymap_delete_inverse_internal):
6011 * keymap.c (keymap_store_inverse_internal):
6012 * keymap.c (print_keymap):
6013 * keymap.c (Lisp_Keymap):
6014 * keymap.c:
6015 * intl.c:
6016 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
6017 * insdel.c (make_gap):
6018 * input-method-xlib.c (get_XIM_input):
6019 * input-method-xlib.c (XIM_init_frame):
6020 * imgproc.c:
6021 * hash.h:
6022 * hash.c:
6023 * gui.c:
6024 * gui-x.c (button_item_to_widget_value):
6025 * gui-x.c (popup_selection_callback):
6026 * glyphs.h (struct image_instantiator_methods):
6027 * glyphs.c (mark_glyph_cachels):
6028 * glyphs.c (Fglyph_type):
6029 * glyphs.c (image_instantiate):
6030 * glyphs.c (image_create):
6031 * glyphs.c (make_image_instance_1):
6032 * glyphs.c (finalize_image_instance):
6033 * glyphs.c:
6034 * glyphs-x.c (finalize_subwindow):
6035 * glyphs-x.c (xface_validate):
6036 * glyphs-x.c (x_locate_pixmap_file):
6037 * glyphs-x.c (convert_EImage_to_XImage):
6038 * glyphs-msw.c:
6039 * glyphs-msw.c (mswindows_resource_instantiate):
6040 * glyphs-msw.c (xpm_to_eimage):
6041 * glyphs-msw.c (convert_EImage_to_DIBitmap):
6042 * glyphs-eimage.c (tiff_instantiate):
6043 * glyphs-eimage.c (png_instantiate):
6044 * glyphs-eimage.c (struct png_error_struct):
6045 * glyphs-eimage.c (gif_memory_storage):
6046 * glyphs-eimage.c:
6047 * gifrlib.h:
6048 * getloadavg.c (getloadavg):
6049 * getloadavg.c:
6050 * gdbinit:
6051 * free-hook.c (log_gcpro):
6052 * free-hook.c (check_malloc):
6053 * free-hook.c (check_free):
6054 * free-hook.c (ROUND_UP_TO_PAGE):
6055 * free-hook.c:
6056 * frame.h (struct frame):
6057 * frame.h:
6058 * frame.c (change_frame_size_1):
6059 * frame.c (allocate_frame_core):
6060 * frame.c:
6061 * frame-x.c (x_focus_on_frame):
6062 * frame-x.c (x_init_frame_2):
6063 * frame-x.c (x_popup_frame):
6064 * frame-x.c (xemacs_XtPopup):
6065 * frame-x.c:
6066 * frame-x.c (Foffix_start_drag_internal):
6067 * frame-x.c (x_cde_destroy_callback):
6068 * frame-x.c (x_wm_hack_wm_protocols):
6069 * frame-tty.c (tty_frame_visible_p):
6070 * frame-msw.c (mswindows_make_frame_invisible):
6071 * frame-msw.c (mswindows_after_init_frame):
6072 * frame-msw.c (mswindows_init_frame_1):
6073 * fns.c (syms_of_fns):
6074 * fns.c (Fbase64_decode_string):
6075 * fns.c (Fnconc):
6076 * fns.c (Ffillarray):
6077 * fns.c (Fobject_plist):
6078 * fns.c (Fget):
6079 * fns.c (Fcanonicalize_lax_plist):
6080 * fns.c (Fcanonicalize_plist):
6081 * fns.c (Fplist_remprop):
6082 * fns.c (Fplist_get):
6083 * fns.c (advance_plist_pointers):
6084 * fns.c (internal_plist_put):
6085 * fns.c (Fnreverse):
6086 * fns.c (Fremassq):
6087 * fns.c (Felt):
6088 * fns.c (Fsubstring):
6089 * fns.c (Fbvconcat):
6090 * fns.c (Flength):
6091 * fns.c (length_with_bytecode_hack):
6092 * fns.c (print_bit_vector):
6093 * fns.c:
6094 * floatfns.c (Ffloor):
6095 * floatfns.c:
6096 * floatfns.c (in_float_error):
6097 * fileio.c (Ffile_modes):
6098 * fileio.c (Fexpand_file_name):
6099 * fileio.c (Fmake_temp_name):
6100 * fileio.c (Ffile_name_nondirectory):
6101 * fileio.c (Ffile_name_directory):
6102 * file-coding.h:
6103 * file-coding.c (vars_of_mule_coding):
6104 * file-coding.c (convert_to_external_format):
6105 * file-coding.c (encoding_marker):
6106 * file-coding.c (decoding_marker):
6107 * file-coding.c (Fcopy_coding_system):
6108 * file-coding.c (Fmake_coding_system):
6109 * file-coding.c (struct coding_system_list_closure):
6110 * file-coding.c (Ffind_coding_system):
6111 * file-coding.c (symbol_to_eol_type):
6112 * file-coding.c:
6113 * faces.h (struct face_cachel):
6114 * faces.c (vars_of_faces):
6115 * faces.c (face_property_was_changed):
6116 * faces.c (mark_face_cachels):
6117 * faces.c (temporary_faces_list):
6118 * faces.c (struct face_list_closure):
6119 * faces.c:
6120 * extents.h (struct extent):
6121 * extents.c (vars_of_extents):
6122 * extents.c (struct copy_string_extents_1_arg):
6123 * extents.c (add_string_extents_mapper):
6124 * extents.c (Fextent_property):
6125 * extents.c (Fset_extent_property):
6126 * extents.c (symbol_to_glyph_layout):
6127 * extents.c (properties_equal):
6128 * extents.c (print_extent):
6129 * extents.c (print_extent_1):
6130 * extents.c (extent_in_region_p):
6131 * extents.c (gap_array_make_gap):
6132 * extents.c:
6133 * events.h (struct Lisp_Event):
6134 * events.h:
6135 * events.c (Fevent_properties):
6136 * events.c (format_event_object):
6137 * events.c (Fmake_event):
6138 * events.c (event_equal):
6139 * events.c (print_event):
6140 * events.c (mark_event):
6141 * event-stream.c ((read-char)
6142 * event-stream.c (vars_of_event_stream):
6143 * event-stream.c (syms_of_event_stream):
6144 * event-stream.c (Fset_recent_keys_ring_size):
6145 * event-stream.c (Fsit_for):
6146 * event-stream.c (Fnext_event):
6147 * event-stream.c (execute_help_form):
6148 * event-stream.c (maybe_kbd_translate):
6149 * event-stream.c:
6150 * event-msw.c (vars_of_event_mswindows):
6151 * event-msw.c (mswindows_wnd_proc):
6152 * event-msw.c (mswindows_need_event):
6153 * event-msw.c (mswindows_drain_windows_queue):
6154 * event-msw.c (mswindows_pump_outstanding_events):
6155 * event-msw.c:
6156 * event-msw.c (slurp_thread):
6157 * event-msw.c (struct ntpipe_slurp_stream):
6158 * event-msw.c (HANDLE_TO_USID):
6159 * event-Xt.c (emacs_Xt_handle_magic_event):
6160 * event-Xt.c (x_event_to_emacs_event):
6161 * event-Xt.c (x_reset_modifier_mapping):
6162 * event-Xt.c (x_reset_key_mapping):
6163 * event-Xt.c:
6164 * eval.c (syms_of_eval):
6165 * eval.c (warn_when_safe):
6166 * eval.c (warn_when_safe_lispobj):
6167 * eval.c (Fbacktrace_frame):
6168 * eval.c (Fbacktrace):
6169 * eval.c (top_level_set):
6170 * eval.c (unbind_to_hairy):
6171 * eval.c (specbind_magic):
6172 * eval.c (specbind_unwind_wasnt_local):
6173 * eval.c (call2_trapping_errors):
6174 * eval.c (call1_trapping_errors):
6175 * eval.c (catch_them_squirmers_call2):
6176 * eval.c (call0_trapping_errors):
6177 * eval.c (run_hook_trapping_errors):
6178 * eval.c (catch_them_squirmers_eval_in_buffer):
6179 * eval.c (call4_in_buffer):
6180 * eval.c (call3_in_buffer):
6181 * eval.c (call2_in_buffer):
6182 * eval.c (call1_in_buffer):
6183 * eval.c (call0_in_buffer):
6184 * eval.c (run_hook):
6185 * eval.c (run_hook_with_args_in_buffer):
6186 * eval.c (Fapply):
6187 * eval.c (Feval):
6188 * eval.c (do_autoload):
6189 * eval.c (un_autoload):
6190 * eval.c (Fautoload):
6191 * eval.c (Finteractive_p):
6192 * eval.c (Fcommand_execute):
6193 * eval.c (signal_quit):
6194 * eval.c (call_with_suspended_errors):
6195 * eval.c (signal_error):
6196 * eval.c (return_from_signal):
6197 * eval.c (Fcall_with_condition_handler):
6198 * eval.c (run_condition_case_handlers):
6199 * eval.c (condition_case_1):
6200 * eval.c (Funwind_protect):
6201 * eval.c (unwind_to_catch):
6202 * eval.c (internal_catch):
6203 * eval.c (Fmacroexpand_internal):
6204 * eval.c (Fuser_variable_p):
6205 * eval.c (Fdefconst):
6206 * eval.c (Fdefvar):
6207 * eval.c (Ffunction):
6208 * eval.c (signal_call_debugger):
6209 * eval.c (call_debugger):
6210 * eval.c:
6211 * emacs.c (main):
6212 * emacs.c (sort_args):
6213 * emacs.c (main_1):
6214 * elhash.h:
6215 * elhash.c:
6216 * editfns.c (Fencode_time):
6217 * editfns.c (Fdecode_time):
6218 * editfns.c (Fuser_full_name):
6219 * editfns.c:
6220 * editfns.c (save_excursion_restore):
6221 * ecrt0.c:
6222 * dynarr.c:
6223 * doprnt.c (emacs_doprnt_1):
6224 * doc.c (verify_doc_mapper):
6225 * doc.c (Fsnarf_documentation):
6226 * doc.c (Fdocumentation):
6227 * dll.c:
6228 * dired.c (user_name_completion):
6229 * dired.c (Fdirectory_files):
6230 * dialog-x.c:
6231 * dialog-msw.c:
6232 * dgif_lib.c (FreeSavedImages):
6233 * dgif_lib.c (DGifGetImageDesc):
6234 * device.h:
6235 * device.h (struct device):
6236 * device.c (Fselect_device):
6237 * device.c (allocate_device):
6238 * device.c:
6239 * device-x.c (Fx_keysym_on_keyboard_p):
6240 * device-x.c (Fx_valid_keysym_name_p):
6241 * device-x.c (x_IO_error_handler):
6242 * device-x.c (x_delete_device):
6243 * device-x.c (x_finish_init_device):
6244 * device-x.c (x_init_device):
6245 * device-x.c:
6246 * device-msw.c (mswindows_init_device):
6247 * dbxrc:
6248 * database.c (vars_of_database):
6249 * database.c (Fput_database):
6250 * database.c (Fopen_database):
6251 * database.c (berkdb_remove):
6252 * database.c (berkdb_put):
6253 * database.c (Fdatabasep):
6254 * database.c (print_database):
6255 * database.c:
6256 * data.c (vars_of_data):
6257 * data.c (syms_of_data):
6258 * data.c (init_errors_once_early):
6259 * data.c (prune_weak_lists):
6260 * data.c (finish_marking_weak_lists):
6261 * data.c (print_weak_list):
6262 * data.c (Fmod):
6263 * data.c (Fstring_to_number):
6264 * data.c (Fnumber_to_string):
6265 * data.c (Findirect_function):
6266 * data.c (Fsetcdr):
6267 * data.c (Ffloatp):
6268 * data.c (Fsubr_interactive):
6269 * data.c (Farrayp):
6270 * data.c (Fkeywordp):
6271 * data.c (Fnull):
6272 * data.c:
6273 * console.h (CONSOLE_NAME):
6274 * console.h:
6275 * console.c (vars_of_console):
6276 * console.c (Fselect_console):
6277 * console.c:
6278 * console-x.h (DEVICE_X_COLORMAP):
6279 * console-x.h (struct x_device):
6280 * console-x.c (x_device_to_console_connection):
6281 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
6282 * console-tty.c (tty_init_console):
6283 * console-tty.c:
6284 * console-msw.h (struct mswindows_frame):
6285 * conslots.h:
6286 * config.h.in:
6287 * cmds.c (internal_self_insert):
6288 * cmds.c (Fforward_line):
6289 * cmds.c (Fforward_char):
6290 * cmds.c:
6291 * cmdloop.c:
6292 * chartab.c (mark_char_table_entry):
6293 * chartab.c:
6294 * casefiddle.c (casify_word):
6295 * callproc.c (child_setup):
6296 * callproc.c (Fcall_process_internal):
6297 * callproc.c:
6298 * callint.c (Fcall_interactively):
6299 * bytecode.h:
6300 * bytecode.c (execute_rare_opcode):
6301 * bytecode.c (execute_optimized_program):
6302 * bytecode.c:
6303 * bufslots.h:
6304 * buffer.h (BUFFER_REALLOC):
6305 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
6306 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
6307 * buffer.h:
6308 * buffer.h (MAP_INDIRECT_BUFFERS):
6309 * buffer.h (CHECK_LIVE_BUFFER):
6310 * buffer.c (init_initial_directory):
6311 * buffer.c (complex_vars_of_buffer):
6312 * buffer.c (vars_of_buffer):
6313 * buffer.c (finish_init_buffer):
6314 * buffer.c (Fget_file_buffer):
6315 * buffer.c (Fbuffer_list):
6316 * buffer.c (mark_buffer):
6317 * balloon_help.c (balloon_help_move_to_pointer):
6318 * balloon_help.c (show_help):
6319 * balloon_help.c:
6320 * backtrace.h:
6321 * alloc.c (garbage_collect_1):
6322 * alloc.c (sweep_strings):
6323 * alloc.c (sweep_compiled_functions):
6324 * alloc.c (sweep_bit_vectors_1):
6325 * alloc.c (sweep_vectors_1):
6326 * alloc.c (sweep_lcrecords_1):
6327 * alloc.c (tick_lcrecord_stats):
6328 * alloc.c (pure_string_sizeof):
6329 * alloc.c (mark_conses_in_list):
6330 * alloc.c (mark_object):
6331 * alloc.c (report_pure_usage):
6332 * alloc.c (make_pure_float):
6333 * alloc.c (make_pure_string):
6334 * alloc.c (free_managed_lcrecord):
6335 * alloc.c (mark_string):
6336 * alloc.c (noseeum_make_marker):
6337 * alloc.c (allocate_event):
6338 * alloc.c (Fbit_vector):
6339 * alloc.c (Fvector):
6340 * alloc.c (make_float):
6341 * alloc.c (Fmake_list):
6342 * alloc.c (Flist):
6343 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
6344 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
6345 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
6346 * alloc.c (dbg_constants):
6347 * alloc.c (gc_record_type_p):
6348 * alloc.c (free_lcrecord):
6349 * alloc.c (xmalloc):
6350 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
6351 * abbrev.c:
6352 * Makefile.in.in (mostlyclean):
6353 * Makefile.in.in (external_client_xlib_objs_nonshared):
6354 * Makefile.in.in (temacs_link_args):
6355 * Makefile.in.in (release):
6356 * Makefile.in.in (dnd_objs):
6357 * Makefile.in.in (objs):
6358 * Makefile.in.in (PROGNAME):
6359 * EmacsShell.c: cast strings to (XtPointer)
6360 * EmacsFrame.c: cast strings to (XtPointer)
6361 - mega patch
6362 - rewrite basic lisp functions for speed
6363 - rewrite bytecode interpreter for speed
6364 - rewrite list looping constructs for speed and safety using
6365 tortoise/hare.
6366 - use size_t where appropriate.
6367 - new hashtable implementation
6368 - cleanup implementation of opaques
6369 - opaques can now be purecopy'ed
6370 - move some cl functionality into C for speed.
6371 - remove last remaining VMS support
6372 - spelling fixes
6373 - improve gdb/dbx debugger support
6374 - move pure.c back into alloc.c for performance
6375 - enable report_pure_usage() if --memory-usage-stats
6376 - remove remnants of Energize support (EMACS_BTL, cadillac...)
6377 - don't use symbols with leading `_' or embedded `__'
6378 - globally cleanup duplicated semicolons `;;'
6379 - I give in on %p vs %lx - we use printf("%lx",(long) p)
6380 globally.
6381 - globally replace O_NDELAY with O_NONBLOCK.
6382 - globally replace CDISABLE with _POSIX_VDISABLE.
6383 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
6384 - define (and maybe use!) STDERR_FILENO and friends.
6385 - add support for macros defined in C
6386 - `when', `unless', `not' and `defalias' now defined in C,
6387 so that they are universally available.
6388 - rename defvar_mumble to defvar_magic
6389 - rename RETURN__ to RETURN_SANS_WARNINGS
6390 - use consistent style of initial caps in error messages
6391 - implement last, butlast, nbutlast, copy-list in C.
6392 - provide typedefs for all struct Lisp_foo types
6393 - Lisp_Objects must be initialized to Qnil rather than 0.
6394 - make sure XEmacs runs (slowly) with always_gc == 1;
6395 - fast and safe LOOP_* macros
6396 - change calls to XSETOBJ to XSETFOO
6397 - replace calls to XSETINT by make_int()
6398 - plug up memory leaks
6399 - use style markobj (foo), not silly ((markobj) (foo))
6400 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
6401
6402 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
6403
6404 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
6405
6406 1998-11-28 SL Baur <steve@altair.xemacs.org>
6407
6408 * XEmacs 21.2-beta4 is released.
6409
6410 1998-11-27 SL Baur <steve@altair.xemacs.org>
6411
6412 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
6413 property in control-1 charset.
6414 From Julian Bradfield <jcb@daimi.au.dk>
6415
6416 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
6417
6418 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
6419 keyword.
6420 Add stub for :label.
6421
6422 * gui.c (gui_item_add_keyval_pair): ditto.
6423
6424 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
6425 :key-sequence keyword.
6426 Add stub for:label.
6427 Support :active for submenus like the Windows code and FSF Emacs.
6428
6429 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
6430
6431 * dired.c (make_directory_hash_table): make_string() is OK because
6432 readdir() Mule-encapsulates.
6433
6434 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
6435
6436 * fns.c (Fbase64_encode_string): Fix docstring.
6437 (Fbase64_decode_string): Ditto.
6438
6439 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
6440
6441 * editfns.c (Ftranslate_region): Use
6442 convert_bufbyte_string_into_emchar_string().
6443
6444 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6445
6446 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
6447 well as strings.
6448 (Ftranslate_region): Turn table into an array of Emchars for
6449 larger regions.
6450
6451 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6452
6453 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
6454
6455 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
6456
6457 * chartab.c (Freset_char_table): Don't blindly fill chartables of
6458 type `char' with nils.
6459
6460 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
6461 for tables of type `char'.
6462
6463 1998-11-26 Didier Verna <verna@inf.enst.fr>
6464
6465 * input-method-xlib.c (Initialize_Locale): don't call
6466 XtSetLanguageProc. We've done the whole work here.
6467 * input-method-xfs.c (Initialize_Locale): ditto.
6468 * input-method-motif.c (Initialize_Locale): ditto.
6469
6470 1998-11-26 Didier Verna <verna@inf.enst.fr>
6471
6472 * process-unix.c (unix_create_process): handle properly
6473 Vfile_name_coding_system for converting the program and directory
6474 names.
6475
6476 1998-11-27 SL Baur <steve@altair.xemacs.org>
6477
6478 * m/arm.h: New file.
6479 From James LewisMoss <dres@ioa.com>
6480
6481 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6482
6483 * m/mips-nec.h:
6484 Fix the realpath() problem of UnixWare2.1.3.
6485 Patches for NEC's sysv4.2 machine.
6486
6487 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6488
6489 * dired.c (Fdirectory_files): Remove redundant code.
6490
6491 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6492
6493 * fns.c (free_malloced_ptr): New function.
6494 (XMALLOC_OR_ALLOCA): New macro.
6495 (XMALLOC_UNBIND): Ditto.
6496 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
6497 to be freed in case of non-local exit.
6498 (Fbase64_encode_string): Ditto.
6499 (Fbase64_decode_region): Ditto.
6500 (Fbase64_decode_string): Ditto.
6501 (STORE_BYTE): New macro.
6502 (base64_decode_1): Use it.
6503
6504 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
6505
6506 * fns.c (base64_value_to_char): Base64 stuff.
6507
6508 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
6509
6510 * editfns.c (Fbuffer_substring): New function.
6511
6512 * lisp.h: Declare make_string_from_buffer_no_extents().
6513
6514 * insdel.c (make_string_from_buffer_1): New function.
6515 (make_string_from_buffer_no_extents): Ditto.
6516
6517 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6518
6519 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
6520 sound work on AIX with OSS installed. Linux should still work.
6521
6522 1998-11-03 Andy Piper <andyp@parallax.co.uk>
6523
6524 * config.h.in: name change for cygwin/version.h
6525
6526 * configure.in: check for cygwin/version.h now.
6527
6528 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
6529 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
6530 move cygwin32/version.h to cygwin/version.h
6531
6532 1998-11-03 Olivier Galibert <galibert@pobox.com>
6533
6534 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
6535 int to long.
6536
6537 1998-10-22 Andy Piper <andyp@parallax.co.uk>
6538
6539 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
6540 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
6541 enable BROKEN_SIGIO under b20 to make QUIT work.
6542
6543 1998-10-22 Andy Piper <andyp@parallax.co.uk>
6544
6545 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
6546 to fit within the constraints of the screen size. I.e. make the
6547 frame small enough to fit and move it if some of it will be
6548 off-screen.
6549
6550 1998-10-19 Greg Klanderman <greg@alphatech.com>
6551
6552 * dired.c: conditionalize inclusion of user-name-completion
6553 primitives on non-Windows NT. The needed functions don't exist on NT.
6554
6555 1998-11-24 SL Baur <steve@altair.xemacs.org>
6556
6557 * gifrlib.h: Clean up types for 64 bit compile.
6558 * dgif_lib.c (DGifInitRead): Ditto.
6559 (MakeSavedImage): Ditto.
6560 * emacs.c (decode_path): Ditto.
6561 From Steve Carney <carney@pa.dec.com>
6562
6563 1998-10-16 William M. Perry <wmperry@aventail.com>
6564
6565 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
6566 (cehckboxes instead of checkboxes).
6567
6568 1998-10-15 SL Baur <steve@altair.xemacs.org>
6569
6570 * XEmacs 21.2-beta3 is released.
6571
6572 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
6573
6574 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
6575 gnuclient. Otherwise, we run xemacs as we always did. This gets
6576 rid of the annoying DOS window when running gnuclient.
6577
6578 1998-10-13 Andy Piper <andyp@parallax.co.uk>
6579
6580 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
6581 HAVE_MS_WINDOWS typo.
6582
6583 1998-10-13 SL Baur <steve@altair.xemacs.org>
6584
6585 * process-unix.c (unix_send_process): Set closed flag on writable
6586 pipe after SIGPIPE is received and before we call deactivate_process.
6587
6588 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
6589
6590 * window.c (Fset_window_start): respect narrowing when
6591 checking wheter start is at the beginning of a line.
6592 (Fset_window_buffer): Ditto
6593 Fixes repeatable crash in VM.
6594
6595 1998-10-09 SL Baur <steve@altair.xemacs.org>
6596
6597 * window.c (specifier_vars_of_window): Set default vertical
6598 divider width to 1 on ttys.
6599
6600 1998-10-08 Martin Buchholz <martin@xemacs.org>
6601
6602 * alloc.c:
6603 * unexec.c:
6604 * malloc.c:
6605 Add <stddef.h> to get ptrdiff_t declaration
6606
6607 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
6608
6609 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
6610 is used for Motif or Lucid scrollbars under X.
6611
6612 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
6613
6614 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
6615 `configure'
6616
6617 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6618
6619 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
6620
6621 1998-10-05 Andy Piper <andyp@parallax.co.uk>
6622
6623 * s/cygwin32.h: more cygwin b20 reorganisation.
6624
6625 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
6626
6627 * nas.c: Added necessary support functions to be able to handle
6628 WAVE files in memory, just like the support for SND files in
6629 memory.
6630
6631 1998-09-30 SL Baur <steve@altair.xemacs.org>
6632
6633 * callproc.c (child_setup): Fix spelling typo.
6634
6635 1998-09-29 SL Baur <steve@altair.xemacs.org>
6636
6637 * XEmacs 21.2-beta2 is released.
6638
6639 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
6640
6641 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
6642 to prevent memory corruption in the case of jumping out of a series of
6643 nested match patterns. This is a rather brute force approach, though.
6644
6645 1998-09-02 Andy Piper <andyp@parallax.co.uk>
6646
6647 * config.h.in: ditto.
6648
6649 * s/cygwin32.h: rearrange declarations to cope with cygwin
6650 b20. Include cygwin32/version.h if it exists.
6651
6652 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
6653
6654 * device-msw.c (mswindows_init_device): Call new
6655 mswindows_enumerate_fonts() function in objects-msw.c instead
6656 of font_enum_callback_1() to enumerate fonts.
6657
6658 font_enum_callback_1() and _2() moved to objects-msw.c.
6659
6660 * faces.c (complex_vars_of_faces): Make the mswindows default
6661 face font fully specified and provide some fallbacks.
6662
6663 * objects-msw.c: font_enum_callback_1() and _2() moved here
6664 from objects-msw.c. Obtain the enumerated font's character
6665 sets by table lookup instead of using the locale-specific
6666 string provided by Windows.
6667
6668 New public non-method mswindows_enumerate_fonts() that fills
6669 in the supplied mswindows device's font list.
6670
6671 mswindows_initialize_font_instance: Use the supplied name
6672 variable instead of f->name when signalling errors. Match font
6673 weights and character sets using lookup tables which handle
6674 spaces instead of by frobbing.
6675
6676 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
6677
6678 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
6679 on the size of code fragments passed to run_in_other_process.
6680
6681 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
6682 the amount of memory to allocate in the other process.
6683
6684 Removed sigkill_code_end(), sigint_code_end() and
6685 sig_enable_code_end() since they are now redundant.
6686
6687 send_signal() and enable_child_signals(): Don't try to work
6688 out the end of the code fragments passed to
6689 run_in_other_process()
6690
6691 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6692
6693 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
6694 FreeBSD-current.
6695
6696 * src/unexelf.c: Partially synched with FSF's 20.3.
6697
6698 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
6699
6700 * insdel.c (signal_after_change): Map across indirect buffers
6701 here, and not in the upper-level functions.
6702 (signal_first_change): Don't check for Armageddon.
6703 (signal_before_change): Map across indirect buffers here.
6704 (prepare_to_modify_buffer): ...and here.
6705
6706 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
6707
6708 * insdel.c (signal_after_change): Add return value.
6709 (buffer_insert_string_1): Use it.
6710 (buffer_delete_range): Ditto.
6711 (buffer_replace_char): Ditto.
6712 (cancel_multiple_change): Map the indirect buffers.
6713
6714 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6715
6716 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6717 (uninit_buffer_text): Ditto.
6718
6719 * buffer.c (Fmake_indirect_buffer): Implement stricter
6720 error-checking.
6721
6722 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
6723
6724 * insdel.c (change_function_restore): Reverse order of
6725 function-call and assignment.
6726 (first_change_hook_restore): Ditto.
6727
6728 * extents.c (mark_extent_auxiliary): Mark them.
6729 (Fset_extent_property): Set them.
6730 (Fextent_property): Get them.
6731 (Fextent_properties): Ditto.
6732 (vars_of_extents): Set their default.
6733
6734 * extents.h (struct extent_auxiliary): Add before_change_functions
6735 and after_change_functions.
6736
6737 * insdel.c (signal_before_change): Use it.
6738 (signal_after_change): Ditto.
6739
6740 * extents.c (report_extent_modification): New function.
6741
6742 * insdel.c (signal_before_change): Don't check for Armageddon.
6743 (signal_after_change): Ditto.
6744
6745 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6746
6747 * redisplay.c (redisplay_window): make sure a new starting point
6748 is chosen if it somehow got moved from the beginning of the line
6749 -- this can happen because Fwiden was called recently.
6750
6751 * window.c (Fset_window_start): set start_at_line_beg correctly
6752 (Fset_window_buffer): Ditto
6753
6754 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6755
6756 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6757 (uninit_buffer_text): Ditto.
6758
6759 * buffer.c (Fmake_indirect_buffer): Implement stricter
6760 error-checking.
6761
6762 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
6763
6764 * emacs.c (main_1): Removed references to *vars_of_filelock.
6765
6766 * lisp.h: Added Fsystem_name.
6767
6768 * filelock.c: Replaced by version from FSF 20.2. Now implements
6769 locking by using symlinks which is NFS safe. However keep the
6770 GCPRO's in lock_file and the calls to callx_in_buffer like our old
6771 version (and of course use ansi C, acessor macros, etc).
6772
6773 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
6774
6775 * process-unix.c (unix_create_process): Reset SIGHUP handler to
6776 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
6777 in init_signals_very_early. However these should not be passed
6778 on to children attached to the new pty.
6779
6780 1998-08-28 Andy Piper <andyp@parallax.co.uk>
6781
6782 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
6783
6784 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
6785
6786 * fileio.c (file-name-directory, file_name_as_directory):
6787 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
6788
6789 1998-09-02 Andy Piper <andyp@parallax.co.uk>
6790
6791 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
6792
6793 * ralloc.c: uncomment __morecore.
6794
6795 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
6796
6797 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
6798 WriteFile() to fix a winsock 1.x bug on Win95.
6799
6800 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
6801
6802 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
6803 deleted.
6804 (x_event_to_emacs_event): Ditto.
6805 (emacs_Xt_handle_focus_event): Ditto.
6806 (emacs_Xt_handle_magic_event): Ditto.
6807
6808 * console-x.h (struct x_device): New flag being_deleted.
6809 (DEVICE_X_BEING_DELETED): New macro.
6810
6811 * device-x.c (x_IO_error_handler): Throw to top-level instead of
6812 returning. Before doing that, set the being_deleted flag on the
6813 device.
6814
6815 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
6816
6817 * device-x.c (x-seppuku-on-epipe): Removed.
6818
6819 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6820
6821 * frame-x.c (x_delete_frame): Flush the X output buffer after
6822 calling XtDestroyWidget to ensure that the windows are really
6823 killed right now.
6824
6825 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
6826
6827 * menubar-x.c (my_run_hook): New unused function.
6828 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
6829 since we ignore the results of the contained functions anyway.
6830
6831 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
6832
6833 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
6834 interlaced GIF files that are smaller than 4 lines high...
6835
6836 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6837
6838 * buffer.c (map_over_sharing_buffers): Deleted.
6839
6840 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
6841
6842 * buffer.c (Fkill_buffer): Keep indirect_children updated while
6843 killing them.
6844
6845 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6846
6847 * insdel.c (buffer_insert_string_1): Advance the point bytind in
6848 all the buffers.
6849 (buffer_delete_range): Ditto.
6850
6851 * marker.c (init_buffer_markers): Set point-marker to the value of
6852 point in an indirect buffer.
6853
6854 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6855
6856 * undo.c (undo_prelude): Test last-undo-buffer against base
6857 buffer.
6858
6859 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
6860
6861 * buffer.h (BUFFER_BASE_BUFFER): New macro.
6862
6863 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6864
6865 * insdel.c (init_buffer_text): Initialize it here.
6866
6867 * line-number.c: Address line_number_cache through buffer->text.
6868
6869 * buffer.c (mark_buffer): Mark line number cache.
6870
6871 * bufslots.h (line_number_cache): Move to struct buffer_text.
6872
6873 * insdel.c (buffer_insert_string_1): Propagate signals and changes
6874 across the children buffers.
6875 (buffer_delete_range): Ditto.
6876 (buffer_replace_char): Ditto.
6877 (gap_left): Ditto.
6878 (gap_right): Ditto.
6879
6880 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
6881
6882 * buffer.c (Fmake_indirect_buffer): Uncomment.
6883
6884 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6885
6886 * macros.c (Fend_kbd_macro): Remove trailing period from error
6887 message.
6888 (Fexecute_kbd_macro): Ditto.
6889
6890 1998-08-21 Greg Klanderman <greg@alphatech.com>
6891
6892 * dired.c (Fuser_name_completion): remove optional 2nd argument.
6893 (Fuser_name_completion_1): new function to return uniqueness
6894 indication in addition to the user name completion.
6895 (user_name_completion): change type of `uniq' argument.
6896
6897 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6898
6899 * lread.c (vars_of_lread): Removed `source-directory' variable.
6900
6901 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
6902
6903 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
6904 Cygwin.
6905
6906 1998-08-19 SL Baur <steve@altair.xemacs.org>
6907
6908 * dired.c (vars_of_dired): Fix misapplied patch.
6909
6910 1998-08-16 Martin Buchholz <martin@xemacs.org>
6911
6912 * fns.c (Fremrassq, remrassq_no_quit):
6913 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
6914
6915 1998-07-17 Didier Verna <verna@inf.enst.fr>
6916
6917 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
6918 style as foreground GC for faces that have the `dim' property.
6919 (x_output_string): when the `dim' face property is set,
6920 ensure the gray pixmap has been created, and get a proper
6921 foreground GC to draw the text.
6922
6923 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6924
6925 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
6926 Manually track the state of the left and right Ctrl and Alt
6927 modifiers.
6928
6929 1998-08-07 Matt Stupple <matts@tibco.com>
6930
6931 * ntproc.c: don't wait on char_consumed at thread entry.
6932 Additionally, to get the 'process' marked as finished, ensure
6933 that the CHILD_ACTIVE macro returns false, so before exiting
6934 close char_avail and set it to NULL, and close other handles
6935 to reduce handle leak problems.
6936
6937 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6938
6939 * menubar-msw.c (displayable_menu_item): take account of menu
6940 depth when deciding whether to try to display accelerators.
6941
6942 1998-08-04 Andy Piper <andyp@parallax.co.uk>
6943
6944 * event-msw.c: use MsgWaitForMultipleObjects if there are no
6945 subprocesses.
6946
6947 * glyphs-msw.c: fix a couple of potential handle leaks.
6948
6949 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
6950
6951 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
6952 *decoding ONLY* back into the core.
6953 * glyphs-eimage.c: Change referenced header file for GIF
6954 reading to point to the incore version.
6955
6956 1998-07-20 Martin Buchholz <martin@xemacs.org>
6957
6958 * casefiddle.c (casify_object):
6959 Change algorithm from O(N**2) to O(N).
6960 Code cleanup.
6961 Doc string cleanup.
6962
6963 1998-07-22 Greg Klanderman <greg@alphatech.com>
6964
6965 * dired.c (file_name_completion_unwind): don't leak the cons.
6966
6967 1998-07-20 Greg Klanderman <greg@alphatech.com>
6968
6969 * dired.c (Fuser_name_completion): new function.
6970 (Fuser_name_all_completions): new function.
6971 (user_name_completion): new function.
6972 (syms_of_dired): 2 new DEFSUBRs.
6973 (vars_of_dired): initialize user name cache vars.
6974
6975 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
6976
6977 * glyphs-eimage.c (png_instantiate): Add proper handling for background
6978 colors taken from the default face. Also correct a thinko in
6979 transparency (not alpha) handling.
6980
6981 1998-07-23 Martin Buchholz <martin@xemacs.org>
6982
6983 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
6984 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
6985 * lread.c (Fload_internal): Be very careful with printfs of
6986 size_t's
6987 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
6988 argument.
6989
6990 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6991
6992 * callint.c (Fcall_interactively): GCPRO prompt string before
6993 passing it to Fread_key_sequence
6994
6995 1998-07-27 SL Baur <steve@altair.xemacs.org>
6996
6997 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
6998 Vvertical_divider_map.
6999
7000 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
7001 Qnil or 0, none were initialized prior to this change.
7002
7003 Rename misnamed `V' prefixed integer variables:
7004 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
7005 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
7006 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
7007 Vcanna_ichiran_revLen.
7008
7009 Rename misnamed `V' prefixed integer variables and initialize
7010 properly in the vars_of routine.
7011 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
7012 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
7013 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
7014 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
7015 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
7016 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
7017 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
7018 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
7019 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
7020 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
7021 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
7022 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
7023 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
7024 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
7025 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
7026 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
7027 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
7028 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
7029 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
7030 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
7031 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
7032 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
7033 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
7034 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
7035 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
7036 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
7037 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
7038 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
7039 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
7040 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
7041 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
7042 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
7043 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
7044 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
7045 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
7046 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
7047 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
7048 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
7049 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
7050 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
7051 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
7052 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
7053 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
7054 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
7055 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
7056 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
7057
7058 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
7059
7060 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
7061 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
7062 keys thus no longer considering all keysyms on a key.
7063
7064 1998-07-19 SL Baur <steve@altair.xemacs.org>
7065
7066 * XEmacs 21.2-beta1 is released.
7067
7068 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7069
7070 * eldap.c (Fldap_search_internal): When converting the list of
7071 attributes to search Copy the final 0 from Lisp strings to C
7072 strings.
7073 Check base, not Vldap_default_base as a a string
7074
7075 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
7076
7077 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
7078
7079 * unexnt.c: Unconditionally define bss_start and bss_size, and
7080 ensure that they don't go in the .bss section.
7081
7082 1998-07-17 Olivier Galibert <galibert@pobox.com>
7083
7084 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
7085 byte order is dependant of the local byte order).
7086 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
7087
7088 1998-07-18 SL Baur <steve@altair.xemacs.org>
7089
7090 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
7091 Qmswindows_resource.
7092 From Jonathan Harris <jhar@tardis.ed.ac.uk>
7093
7094 1998-07-12 SL Baur <steve@altair.xemacs.org>
7095
7096 * general.c (syms_of_general): Add defsymbol for Qresource.
7097
7098 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
7099 Qmswindows_resource.
7100 (TopLevel): Rename 'resource image format to 'mswindows_resource.
7101 (mswindows_resource_validate): Rename.
7102 (mswindows_resource_normalize): Rename.
7103 (mswindows_resource_possible_dest_types): Rename.
7104 (mswindows_resource_instantiate): Rename.
7105 (image_instantiator_format_create_glyphs_mswindows): Replace
7106 `resource' with `mswindows.resource'.
7107
7108 * XEmacs 21.0-pre5 is released.
7109
7110 1998-07-10 SL Baur <steve@altair.xemacs.org>
7111
7112 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
7113 server type in environment.
7114 Use alloca-ed strings instead of tiny fixed size ones.
7115
7116 1998-07-09 SL Baur <steve@altair.xemacs.org>
7117
7118 * XEmacs 21.0-pre4 is released.
7119
7120 1998-07-01 James N. Potts <jnpotts@plutonium.net>
7121
7122 * fileio.c: (expand_file_name): under win32: Don't treat names
7123 as UNC names if a drive letter has been specified. If a drive
7124 has been specified, strip out extra directory-seperators that
7125 reportedly cause problems under Win95.
7126
7127 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
7128
7129 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
7130 MSVC >= 5.0. Put emacs init and zero-init data in a special
7131 section of the executable when this is defined.
7132
7133 * unexnt.c, ntheap.h:
7134 Removed unused find_section() and get_section_size().
7135
7136 * unexnt.c:
7137 Fix up the executable's checksum after dumping otherwise the
7138 profiler complains.
7139 When DUMP_SEPARATE_SECTION is defined, don't need to dump
7140 zero-init data separately from init data. Dump emacs data
7141 into a special section of the executable.
7142 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
7143 my_ebss instead of up to the end of bss.
7144
7145 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
7146
7147 * filelock.c: Removed Vconfigure_lock_directory - already
7148 defined in emacs.c.
7149
7150 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
7151 defined in frame.c and general.c respectively.
7152
7153 * glyphs-msw.c: Removed Qresource - already defined in
7154 general.c.
7155
7156 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7157
7158 * eldap.c (Fldap_search_internal): Docstring fixes
7159
7160 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
7161
7162 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
7163 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
7164 EMACSPACKAGEPATH and INFOPATH variables.
7165 Removed unused get_emacs_configuration function.
7166
7167 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
7168 it is now defined at build-time by the makefile.
7169
7170 1998-07-01 James N. Potts <jnpotts@plutonium.net>
7171
7172 * fileio.c: (expand_file_name): under win32: Don't treat names as
7173 UNC names if a drive letter has been specified. If a drive has
7174 been specified, strip out extra directory-seperators that
7175 reportedly cause problems under Win95.
7176
7177 1998-07-05 Andy Piper <andyp@parallax.co.uk>
7178
7179 * faces.c (complex_vars_of_faces): for the gui-element face don't
7180 fallback to the default face, instead provide reasonable default
7181 fallbacks that were previously hardcoded elsewhere.
7182
7183 1998-07-06 Olivier Galibert <galibert@pobox.com>
7184
7185 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
7186 when the X server endianness is different than the client's one.
7187
7188 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
7189
7190 * eval.c (run_hook_with_args_in_buffer): Check
7191 default (non-buffer-local) value of hook for
7192 nil before treating it as a function. Don't initialize
7193 the `globals' variable twice.
7194
7195 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
7196
7197 * fileio.c: Don't do directory seperator canonicalisation in
7198 substitute-in-file-name because we don't know that the
7199 filename refers to a local file.
7200
7201 1998-06-24 Adrian Aichner <adrian@xemacs.org>
7202
7203 * process-nt.c (nt_create_process): Try appending the standard
7204 executable file extensions to the filename if none supplied.
7205
7206 1998-06-29 SL Baur <steve@altair.xemacs.org>
7207
7208 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
7209 for cygwin32.
7210 From Keisuke Mori <ksk@ntts.com>
7211
7212 1998-06-24 Andy Piper <andyp@parallax.co.uk>
7213
7214 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
7215 images if we have masks. This handles the xbm case (have masks)
7216 and avoids overuse of resources in the xpm case (generally no masks).
7217 Don't output small toolbars.
7218
7219 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
7220
7221 * eval.c (run_hook_with_args_in_buffer): Don't treat
7222 the default value of a buffer local hook as a list of
7223 hooks unless it is both a cons and the car of that cons
7224 is not Qlambda.
7225
7226 1998-06-29 SL Baur <steve@altair.xemacs.org>
7227
7228 * extents.c: Email address for Ben Wing is ben@xemacs.org.
7229 * process-unix.c: Ditto.
7230 * mule-coding.h: Ditto.
7231 * mule-coding.c: Ditto.
7232 * mule-charset.c: Ditto.
7233 * mule-charset.h: Ditto.
7234 * file-coding.c: Ditto.
7235 * file-coding.h: Ditto.
7236
7237 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
7238
7239 * event-msw.c: Guard against recursion when freeing
7240 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
7241
7242 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
7243 Call ShowWindow twice in init_frame_3 to get round runemacs
7244 weirdness.
7245
7246 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
7247
7248 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
7249
7250 * winslots.h: Rename.
7251
7252 * window.c (specifier_vars_of_window): Renamed
7253 vertical-divider-draggable-p to vertical-divider-always-visible-p,
7254 as suggested by Ben Wing.
7255 (specifier_vars_of_window): Fix docstrings.
7256
7257 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7258
7259 * unexaix.c: Line number information works correctly again.
7260
7261 1998-06-22 Olivier Galibert <galibert@pobox.com>
7262
7263 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
7264
7265 1998-06-21 Martin Buchholz <martin@xemacs.org>
7266
7267 * editfns.c (get_home_directory): ANSIfy.
7268 XEmacs is compilable under C *and* C++.
7269 It's XEmacs, not Xemacs!
7270
7271 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7272
7273 * console-msw.h: added a list of fonts to device data.
7274
7275 * device-msw.c: enumerate list of available fonts in
7276 mswindows_init_device. Free list in mswindows_delete_device.
7277
7278 * objects-msw.c: Added helper function match_font used by
7279 mswindows_initialize_font_instance and mswindows_list_fonts.
7280 Allow a charset to be specified in a font string, even if
7281 previous fields havn't been specified.
7282
7283 1998-06-23 Greg Klanderman <greg@alphatech.com>
7284
7285 * indent.c (column_at_point): column cache bugfix.
7286 Set last_known_column_point to the buffer position for
7287 which the column was requested, not buffer's point.
7288
7289 * redisplay.c (decode_mode_spec): for current-column, show
7290 window's point's column, not buffer's point's column.
7291
7292 1998-06-23 Andy Piper <andyp@parallax.co.uk>
7293
7294 * menubar-msw.c (mswindows_handle_wm_command): use
7295 enqueue_misc_user event rather than
7296 mswindows_enqueue_msic_user_event to fix customize problems. Add some
7297 checks that X does.
7298
7299 * console-msw.h: declare mswindows_enqueue_magic_event.
7300
7301 * event-msw.c (mswindows_enqueue_magic_event): make global.
7302
7303 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
7304
7305 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
7306 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
7307 (add_position_to_cache): Use EMACS_INT instead of int.
7308
7309 1998-06-21 Olivier Galibert <galibert@pobox.com>
7310
7311 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
7312 suitable for an int used as a boolean (btw, C sucks.).
7313
7314 1998-06-18 Andy Piper <andyp@parallax.co.uk>
7315
7316 * object-msw.c: remove warnings.
7317
7318 * device-msw.c: #define wrongly named cygwin structure elements.
7319
7320 * s/cygwin32.h: define DEMI_BOLD
7321
7322 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7323
7324 * redisplay-msw.c: new function mswindows_apply_face_effects.
7325 This is called by output_string and output_cursor to display
7326 underline and strikeout on faces.
7327
7328 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
7329
7330 * console-msw.h: added a list of fonts to device data.
7331
7332 * device-msw.c: enumerate list of available fonts in
7333 mswindows_init_device. Free list in mswindows_delete_device.
7334
7335 * objects-msw.c: Added helper function match_font used by
7336 mswindows_initialize_font_instance and mswindows_list_fonts.
7337 Allow a charset to be specified in a font string, even if
7338 previous fields havn't been specified.
7339
7340 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
7341
7342 * objects-msw.c:
7343 Removed compilation warnings from mswindows_string_to_color.
7344 mswindows_list_fonts returns a more general bogus font.
7345 New lisp-visible function mswindows-color-list.
7346
7347 1998-06-19 David Bush <david.bush@adn.alcatel.com>
7348
7349 * editfns.c (Fuser_login_name): Modify to user new function
7350 user_login_name.
7351 (user_login_name): C only function to avoid Lisp object overhead
7352 Returns "unknown" instead of nil in Cygwin environment
7353
7354 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
7355 equivalent for current user in Cygwin environment. Use new
7356 function user_login_name to get username.
7357
7358 * lisp.h: Declare user_login_name
7359
7360 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7361
7362 * unexaix.c (make_hdr): Fixed bias computations so debugging info
7363 works again.
7364 Some other insignificant nitpicks.
7365
7366 1998-06-18 Andy Piper <andyp@parallax.co.uk>
7367
7368 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
7369 creating the image list and make sure he bk color is transparent.
7370
7371 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
7372
7373 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
7374 completed_timeouts. The timer could have expired.
7375
7376 1998-06-17 Andy Piper <andyp@parallax.co.uk>
7377
7378 * console-msw.h: move XEMACS_RECT_WH inside frame
7379 parameters. define macors to access it.
7380
7381 * frame-msw.c (mswindows_init_frame_1): use new target_rect
7382 parameter to intialise desired sizing. (mswindows_init_frame_2):
7383 enable and size the frame to something sensible when we get
7384 here. (mswindows_set_frame_properites): use new
7385 mswindows_size_frame_internal function and size frame if frame
7386 parameters not just if init is finished - WM_SIZE happens too
7387 early for some specs. (mswindows_size_frame_internal): new
7388 function abstracted from mswindows_set_frame_properties.
7389 (Vmswindows_use_system_frame_size_defaults):
7390 new variable controls whether to allow the system to pick frame
7391 size defaults, defaults to nil.
7392
7393 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
7394 than duplicated code.
7395
7396 1998-06-15 Colin Rafferty <colin@xemacs.org>
7397
7398 * Makefile.in.in: Made EXTW_LINK expand properly.
7399
7400 1998-06-12 Martin Buchholz <martin@xemacs.org>
7401
7402 * redisplay.c (vars_of_redisplay): default value of
7403 column-number-start-at-one should be NIL!
7404
7405 1998-06-11 Martin Buchholz <martin@xemacs.org>
7406
7407 * casefiddle.c:
7408 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
7409
7410 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
7411
7412 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
7413 build_string to avoid crashes under Mule.
7414
7415 1998-06-13 Andy Piper <andyp@parallax.co.uk>
7416
7417 * ntplay.c (play_sound_data_1): don't delete the sound data until
7418 the next sound is played and the previous one finished.
7419
7420 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
7421
7422 * fileio.c (directory-sep-char): Escape backslashes.
7423
7424 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
7425
7426 * event-stream.c: Fix docstring reference.
7427
7428 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
7429
7430 * alloc.c (make_float): Remove useless initialization of `next'
7431 field.
7432 (make_pure_float): Ditto.
7433
7434 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
7435
7436 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
7437
7438 * fileio.c (Fmake_directory_internal): Remove conditionals
7439 on WINDOWSNT when calling mkdir.
7440
7441 * ntproc.c: Deleted the following unused functions:
7442 register_child, reap_subprocess, sys_wait.
7443
7444 * nt.c (sys_rename): Ifzeroed this implementation.
7445 Deleted the following unused functions:
7446 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
7447 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
7448 sys_read, sys_write.
7449 Merger sys_fopen and sys_open with sysdep.c implementation.
7450
7451 * sysdep.c: Removed MS-DOS code.
7452 (sys_rename): Deal with Microsoft rename weirdness.
7453 (sys_open): Implemented for Windows.
7454 (sys_fopen): Ditto.
7455 (sys_mkdir): Ditto.
7456
7457 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
7458
7459 * buffer.c (complex_vars_of_buffer): Removed %t description from
7460 the docstring.
7461
7462 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
7463
7464 * scrollbar-msw.c: initialize the cbSize element of the
7465 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
7466 to ignore the value of cbSize, but Win95 (and I presume Win98)
7467 appear to want it set to sizeof(SCROLLINFO).
7468
7469 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
7470
7471 * event-stream.c: Defined Qcancel_mode_internal.
7472 (syms_of_event_stream): defsymbol'ed it.
7473
7474 * events.h: Externed it.
7475
7476 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
7477
7478 1998-06-04 Oliver Graf <ograf@fga.de>
7479
7480 * frame-x.c (x_cde_destroy_callback): free the data
7481 (cde-start-drag-internal) corrected root position, 21.1 needs this
7482 hardcoded in Button events
7483 (offix-start-drag-internal) corrected root position
7484
7485 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
7486
7487 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
7488 instead of error().
7489
7490 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
7491
7492 * dialog-msw.c (button_width): Removed `inline' from the function
7493 declaration.
7494
7495 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
7496
7497 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
7498 Note that adding this flag to subsequent frames causes problems.
7499
7500 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7501
7502 * glyphs-eimage.c (png_instantiate) move 'struct
7503 png_memory_storage tbr' out of nested block to avoid dangling
7504 reference
7505
7506 1998-06-02 Andy Piper <andyp@parallax.co.uk>
7507
7508 * faces.h:
7509 * faces.c: rename 3d-object -> gui-element. add toolbar face which
7510 inherits from gui-element.
7511
7512 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
7513 with existing code, generate masks correctly.
7514
7515 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
7516
7517 * glyphs-eimage.c: Changed included header for gifs to use
7518 Gifreader instead of giflib.
7519
7520 * glyphs-x.c: removed the image-related functions that were
7521 moved into glyphs-eimage.
7522
7523 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
7524
7525 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
7526 if built without X Windows support.
7527
7528 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
7529
7530 * fns.c (Fconcat): Synch docstring with new reality.
7531
7532 1998-06-03 SL Baur <steve@altair.xemacs.org>
7533
7534 * frame.c: Remove reference to msdos.h (which is going away).
7535 Suggested by Hrvoje Niksic and Kirill Katsnelson.
7536
7537 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
7538
7539 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
7540 grayscale images/
7541
7542
7543 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7544
7545 * events.h: Fixed commentary about misc-user scrollbar events.
7546
7547 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
7548 object as an event channel, instead of window object.
7549 (x_update_horizontal_scrollbar_callback): Ditto.
7550
7551 1998-05-29 Andy Piper <andyp@parallax.co.uk>
7552
7553 * ntplay.c (play_sound_data_1) new function. convert alloca data
7554 to malloc if necessary.
7555 (play_sound_file): if the file is not in our path then convert to
7556 data and play.
7557
7558 1998-06-01 SL Baur <steve@altair.xemacs.org>
7559
7560 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
7561 * msdos.c (Frecent_doskeys): Ditto.
7562
7563 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
7564 Suggested by Reggie Perry <perry@zso.dec.com>
7565
7566 * buffer.h: Eliminate size in declaration.
7567
7568 1998-06-01 Olivier Galibert <galibert@pobox.com>
7569
7570 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
7571
7572 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
7573
7574 * gui.c (gui_item_init): Changed the default value for config member
7575 from Qunbound to Qnil.
7576
7577 1998-06-01 Greg Klanderman <greg@alphatech.com>
7578
7579 * indent.c (vmotion_pixels): Don't #define abs().
7580
7581 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7582
7583 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
7584 respectively.
7585
7586 1998-05-30 Andy Piper <andyp@parallax.co.uk>
7587
7588 * glyphs.h: add xbm declarations.
7589
7590 * console.h: add xbm_instantiate_method device method.
7591
7592 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
7593 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
7594 (xbm_possible_dest_types): moved here from glyphs-x.c. use
7595 locate_pixmap_file device method and read_bitmap_data_from_file
7596 instead of XmuReadBitmapDataFromFile.
7597 (xbm_instatntiate): make a device method.
7598
7599 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
7600 new function that just calls XmuReadBitmapDataFromFile.
7601 (x_xbm_instatntiate): device method from xbm_instantiate.
7602
7603 * glyphs-msw.c (read_bitmap_data) (NextInt)
7604 (read_bitmap_data_from_file): new functions copied from Xmu
7605 sources.
7606 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
7607 inline data to an mswindows bitmap.
7608 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
7609 (mswindows_xbm_instantiate): mswindows-ized versions of the X
7610 functions.
7611
7612 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7613
7614 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
7615 `modeline-visible-p'.
7616 Declared specifier lisp variables at the beginning oh the file
7617 as static.
7618
7619 * procimpl.h (struct process_methods): Changed semantics of
7620 create_process method so it accepts lisp strings instead of
7621 char pointers.
7622
7623 * process.c (Fstart_process_internal): Moved building of
7624 unix style argv from here to process-unix.c, ...
7625
7626 * process-unix.c (unix_create_process): ... right here.
7627
7628 * process-nt.c (nt_create_process): Changed this function to
7629 support new semantics, so avoided a GC problem.
7630
7631 * events.c (Fmake_event): Document misc-user events properties.
7632 (Fmake_event): Do not allow arbitrary objects for channel property
7633 of misc-user events.
7634 (Fmake_event): Change misc-user event validation: it is function
7635 which is required, not button.
7636
7637 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
7638 user events.
7639 (mswindows_enqueue_misc_user_event): Added function.
7640 (mswindows_bump_queue): Removed function.
7641 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
7642 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
7643 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
7644 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
7645 really nothing, which is my personal favorite thing.
7646
7647 * console-msw.h: Removed prototype for mswindows_bump_queue().
7648 Added prototype for mswindows_enqueue_misc_user_event().
7649
7650 * menubar-msw.c (mswindows_handle_wm_command): Use
7651 mswindows_enqueue_misc_user_event().
7652
7653 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7654
7655 * dialog-msw.c (dialog_proc): Ditto.
7656
7657 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
7658 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
7659 user events channel.
7660
7661 1998-05-29 Greg Klanderman <greg@alphatech.com>
7662
7663 * window.c (Fwindow_displayed_text_pixel_height): was relying on
7664 incorrect semantics of vmotion_pixels which has been fixed. don't
7665 use it anymore as it can't easily be used.
7666
7667 * indent.c (vmotion_pixels): fix off by one bug moving up. also
7668 the motion was reported incorrectly if you tried to go past end of
7669 buffer.
7670
7671 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7672
7673 * toolbar.h: Removed misleading commentary, as Martin suggested.
7674
7675 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
7676
7677 * lisp.h: Extern Qactivate_menubar_hook.
7678
7679 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
7680 run_hook ().
7681
7682 1998-05-29 Andy Piper <andyp@parallax.co.uk>
7683
7684 * glyphs-msw.c: use BPLINE macro.
7685
7686 * select-msw.c (mswindows-selection-exists-p)
7687 (mswindows-delete-selection): doc string fixes.
7688
7689 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
7690 unpressable. warning elimination.
7691
7692 1998-05-28 Martin Buchholz <martin@xemacs.org>
7693
7694 * alloc.c (dbg_constants):
7695 * dbxrc:
7696 * gdbinit:
7697 Remove toolbar_data debugging code, since that lrecord has
7698 also been removed.
7699
7700 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
7701
7702 * alloc.c: zap cached value of (user-home-directory), so that
7703 it's not undumped.
7704
7705 * buffer.c: From init_buffer(), separated out code that
7706 determined the initial directory for the *scratch* buffer, and
7707 put them into a function called "init_initial_directory()".
7708 The initial directory is now available as a global "char *"
7709 called initial_directory.
7710
7711 * buffer.h: Added extern entries for initial_directory[] and
7712 init_initial_directory().
7713
7714 * editfns.c: added new elisp function "user-home-directory",
7715 which basically returns getenv("HOME"), but attempts to use
7716 other values if $HOME isn't set.This may have to be tweaked in
7717 the future as, under Unix, "/" is used if $HOME isn't set (this
7718 probably should be set to the current directory). To support
7719 this, a new C function, "get_home_directory()", now exists,
7720 which returns the "home directory", as a "char *" string.
7721
7722 * emacs.c: Rearrange NT initialization order so that
7723 environment/registry variables will be properly entered into
7724 Vprocess_environment.
7725
7726 * fileio.c: replaced egetenv("HOME") with calls to the new
7727 get_home_directory().
7728
7729 * lisp.h: Added function prototypes for uncache_home_directory()
7730 and get_home_directory(), along with lisp prototypes for
7731 Fuser_home_directory() and friends.
7732
7733 * nt.c: replaced getenv("HOME") with calls to the new
7734 get_home_directory().
7735
7736 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
7737 warnings about getcwd(), etc. not having prototypes.
7738
7739 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
7740
7741 * process-nt.c (send_signal): Emulate SIGHUP.
7742 (validate_signal_number): Ditto.
7743
7744 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
7745 remove MOD_SHIFT from ASCII characters.
7746 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
7747 F10 is pressed.
7748
7749 1998-05-24 Oliver Graf <ograf@fga.de>
7750
7751 * frame-x.c (cde-start-drag-internal): added filename and multi-
7752 data transfers
7753 (x_cde_convert_callback) dito
7754
7755 1998-05-26 Oliver Graf <ograf@fga.de>
7756
7757 * frame-x.c: include event-mod.h also with CDE
7758 (x_cde_convert_callback) made the thing working
7759 (cde-start-drag-internal) also debugging
7760
7761 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
7762
7763 * m/sparc.h:
7764 * getloadavg.c:
7765 * malloc.c:
7766 * unexec.c:
7767 * mem-limits.h:
7768 - add __OpenBSD__ where __NetBSD__ was found.
7769 - TODO: replace platform-specific conditional compilation by
7770 feature tests in configure.in.
7771
7772 1998-05-15 Greg Klanderman <greg@alphatech.com>
7773
7774 * window.c (Fwindow_displayed_text_pixel_height): New function.
7775 (syms_of_window): DEFSUBR it.
7776
7777 * indent.c (Fvertical_motion_pixels): New function - request
7778 movement in pixels.
7779 (vmotion_pixels): helper.
7780 (syms_of_indent): DEFSUBR.
7781 * lisp.h: declaration for vmotion_pixels().
7782
7783 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
7784 to request returning motion in pixels.
7785 (Fvertical_motion_pixels): Remove, functionality merged into
7786 Fvertical_motion.
7787 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
7788 (Fmove_to_window_line): ditto.
7789 * lisp.h: Change declaration for Fvertical_motion.
7790
7791 * window.c: rename window-text-pixel-{height,width,edges} to
7792 window-text-area-pixel-*.
7793
7794 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7795
7796 * tooltalk.c (vars_of_tooltalk) added staticpro for
7797 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
7798
7799 1998-05-27 Andy Piper <andyp@parallax.co.uk>
7800
7801 * faces.c: create a new 3d_object_face, make modeline and
7802 vertical_divider faces fallback to this rather than the default.
7803
7804 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7805
7806 * s/cygwin32.h: define charsets for cygwin.
7807
7808 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7809
7810 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
7811 and coordinates. resize bitmaps if we have already settled on a
7812 different size.
7813
7814 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
7815
7816 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
7817
7818 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7819
7820 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7821
7822 * gui.h: Ditto.
7823
7824 * gui-x.c (popup_selection_callback): Ditto.
7825
7826 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
7827
7828 * gui.c (get_callback): Renamed to get_gui_callback.
7829
7830 1998-05-17 Martin Buchholz <martin@xemacs.org>
7831
7832 * glyphs.h: order rearrangement.
7833
7834 * device-tty.c (tty_asynch_device_change): Warning suppression.
7835 * device-x.c (x_device_system_metrics): Warning suppression.
7836 Make Doc strings consistent with coding standards.
7837
7838 1998-05-24 Martin Buchholz <martin@xemacs.org>
7839
7840 * general.c: multiple definition of `Qicon'. general.c seems
7841 like a good home for Qicon.
7842
7843 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7844
7845 * This patch is to fix compilation warnings under Windows.
7846
7847 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
7848 Added prototypes for FSF inherited functions, with which XEmacs is
7849 sprinkled thoroughly.
7850 Removed some #if 0 code. Bracketed some more definitions, probably
7851 related to Visual C versions prior to 4 (we do not support them).
7852
7853 * sysfloat.h (logb): Finally, get logb() prototyped.
7854
7855 * sysfile.h: Added Windows specific includes.
7856 Removed old Windows specific code bracketed with #if 0.
7857
7858 * sysdep.h: Added prototype for xrealpath().
7859
7860 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
7861
7862 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
7863 vars_of_dired_mswindows and init_ntproc (Grrr).
7864
7865 * realpath.c: Added Windows specific include files.
7866 (xrealpath): Conditionalized declaration of some auto variables on
7867 S_IFLNK, to avoid warnings.
7868
7869 * ntproc.c: Disabled some compiler warnings. This file is going to
7870 die, so I have not cleaned it up much.
7871 (set_process_dir): Const parameter.
7872 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
7873 (Fwin32_long_file_name): Ditto.
7874 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
7875 three functions?
7876
7877 * nt.h: Added prototypes for set_process_dir and convert_time.
7878
7879 * nt.c: More include files.
7880 (getpwnam): Consted char* argument.
7881 (get_emacs_configuration): Const return value.
7882 (opendir): Const argument.
7883 (stat): Casted converstion long->short.
7884 (stat): Removed ad hoc and questionable support for non-MSC compile.
7885 (sys_pipe): Removed unused auto variable.
7886 (_sys_read_ahead): Removed calls to DebPrint.
7887 (sys_read): Ditto, in 2 places.
7888 (term_ntproc): Added unused int parameter to signal handler, to
7889 avoid a warning when compiling a call to signal().
7890 (msw_sigset): Properly return old signandler or NULL instead of void.
7891
7892 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
7893
7894 * gmalloc.c (morecore): Ditto.
7895 (_free_internal): Ditto.
7896
7897 * lread.c (parse_integer): Ditto.
7898
7899 * dired-msw.c: Added several include files.
7900
7901 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
7902 of Compilers to Shut Up.
7903
7904 * callproc.c: Added #includes to suppress warnings under Windows.
7905 (init_callproc): Removed #if0'ed code and unused variables.
7906
7907 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7908
7909 * device-msw.c (mswindows_device_system_metrics): do planes in a
7910 way consistent with X.
7911
7912 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
7913 use SetPixel, use DIBits functions.
7914 (xpm_to_eimage): frob colors more closely like xpm deos.
7915
7916 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
7917 to be closer to X version.
7918
7919 * event-msw.c: use tooltip string directly.
7920
7921 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
7922
7923 * objects-msw.c: frob rgb colors that only Kyle uses.
7924
7925 * dialog-msw.c (button_width): INLINE -> inline.
7926
7927 1998-05-23 SL Baur <steve@altair.xemacs.org>
7928
7929 * getloadavg.c (getloadavg): Fix typo.
7930
7931 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7932
7933 * objects-msw.c (mswindows_initialize_font_instance): Added support
7934 for font character sets.
7935 Replaced 'XXX' with '####' in comments throughout the file.
7936
7937 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7938
7939 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
7940 console_type_create_dialog_mswindows(), to initialize Windows dialog
7941 support.
7942
7943 * symsinit.h: Prototyped the above functions.
7944
7945 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
7946 checks to dialog.c...
7947
7948 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
7949 device must support dialog boxes, and the descriptor must supply at
7950 least one button.
7951
7952 * dialog-msw.c: New file, dialogs for Windows.
7953
7954 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7955
7956 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
7957 (Fldap_search_internal): Removed unused variable `err'
7958
7959 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
7960 forward declaration
7961
7962 1998-05-17 Martin Buchholz <martin@xemacs.org>
7963
7964 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
7965 defined. Therefore there is no need to handle the case when
7966 HAVE_LDAP is undefined. Similarily, there is no reason to have
7967 any code wrapped within `#ifdef emacs', since this code is only
7968 useful within an emacs. This simplifies the code significantly.
7969
7970 * inline.c: Include eldap.h only if HAVE_LDAP.
7971 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
7972 already does that.
7973
7974 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
7975
7976 * unexnt.c (copy_executable_and_dump_data_section): Suppress
7977 printing dump stats when building without DEBUG_XEMACS.
7978 (dump_bss_and_heap): Ditto.
7979
7980 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7981
7982 * gnuclient.c: don't suppress window system if there is no display
7983 and we are running under mswindows. send 'mswindows device type if
7984 we are in this situation.
7985
7986 1998-05-20 Andy Piper <andyp@parallax.co.uk>
7987
7988 * general.c:
7989 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
7990
7991 * glyphs-msw.c: change cursor imgae type name to resource. Fix
7992 some nits.
7993
7994 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7995
7996 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
7997 {top,bottom}-{left,right} values in addition to
7998 {top,bottom}_{left,right}.
7999
8000 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
8001
8002 * fileio.c (Fmake_temp_name): Remove unreached code.
8003
8004 * process-nt.c (validate_signal_number): Use
8005 signal_simple_error().
8006
8007 1998-05-19 Martin Buchholz <martin@xemacs.org>
8008
8009 * unexhp9k800.c:
8010 * sound.c (vars_of_sound):
8011 * sysdep.c (reset_sigio_on_device):
8012 * window.c (window_bottom_gutter_height):
8013 unexhp9k800.c:258: warning: implicit declaration of function
8014 `calculate_checksum'
8015 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
8016 sysdep.c:1012: warning: unused variable `owner'
8017 window.c:993: warning: `window_right_toolbar_width' defined but not used
8018
8019 1998-05-19 Andy Piper <andyp@parallax.co.uk>
8020
8021 * glyphs-msw.c (mswindows_create_resized_mask)
8022 (mswindows_create_resized_bitmap): new funnctions split out from
8023 mswindows_resize_dibitmap_instance.
8024
8025 * glyphs-msw.h: declare new resize functions.
8026
8027 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
8028 functions so that the original bitmaps are preserved.
8029
8030 * sheap.c: fixup static heap exhausted error to avoid FAQs.
8031
8032 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
8033 color if we are trying to output 0 depth bg pixmap.
8034
8035 * scrollbar-msw.c: warning elimination.
8036
8037 1998-05-18 Martin Buchholz <martin@xemacs.org>
8038
8039 * frame-x.c (x_update_frame_external_traits): Start preprocessor
8040 directives in column 1.
8041
8042 * search.c (skip_chars): Avoid using xzero with arrays, since some
8043 compilers get confused by the construct &array.
8044
8045 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
8046
8047 * objects-msw.h:
8048 * objects-msw.c: Changed the charset value for a new font from
8049 "don't care" to "ansi".
8050
8051 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
8052
8053 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
8054
8055 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
8056 modifier on control chars.
8057 Use IsCharAlpha() instead of isaplha().
8058
8059 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
8060
8061 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
8062
8063 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
8064
8065 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
8066 charset when creating font.
8067 (mswindows_initialize_color_instance): Do not create brush along
8068 with a color.
8069 (mswindows_finalize_color_instance): Do not delete it then.
8070
8071 * objects-msw.h (struct mswindows_color_instance_data): Removed
8072 brush slot, and corresponding accessor macro.
8073
8074 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
8075
8076 * toolbar.c: Removed toolbar_data lrecord implementation.
8077 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
8078 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
8079 (compute_frame_toolbar_buttons): Ditto.
8080 (CHECK_TOOLBAR): Ditto.
8081 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
8082 (update_frame_toolbars): Do not check for changed buffer
8083 here. Toolbar information is provided by cached specs in
8084 windows. The check for buffer is eliminated becuase toolbars are
8085 marked changed in set_frame_selected_window() in frame.c
8086 Added check for changed toolbars geometry.
8087 (compute_frame_toolbars_data): Removed unused second parameter;
8088 Adjusted callers of this static function throughout the file.
8089 (init_frame_toolbars): Initialize current_toolbar_size.
8090 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
8091 what is its current expansion, for clarity.
8092 (init_frame_toolbars): Ditto.
8093 (init_device_toolbars): Ditto.
8094 (init_global_toolbars): Ditto.
8095
8096 * toolbar.h: Removed definition of toolbar_data lrecord.
8097 Added accessor macros FRAME_TOOLBAR_BUTTONS and
8098 FRAME_CURRENT_TOOLBAR_SIZE.
8099 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
8100
8101 * toolbar-x.c (x_output_toolbar): The same change as in
8102 toolbar-msw.c
8103 (x_output_toolbar): Ditto.
8104 (x_redraw_exposed_toolbar): Ditto.
8105
8106 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
8107 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
8108 (mswindows_output_toolbar): Ditto.
8109 (mswindows_output_toolbar): Ditto.
8110
8111 * frame.c (mark_frame): Removed marking of arrays, according to
8112 frameslots.h change.
8113 (nuke_all_frame_slots): Ditto.
8114 (set_frame_selected_window): Mark toolbars changed when
8115 last_nonminibuf_window changes.
8116
8117 * frame.h (struct frame): Moved some slots to frameslots.h.
8118 Added current_toolbar_size array.
8119 Changed references from toolbar_data to toolbar_buttons in macros
8120 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
8121 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
8122 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
8123
8124 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
8125 Moved arrays of lisp objects here from frame.h: toolbar_size,
8126 toolbar_visible_p, toolbar_border_width.
8127 Removed toolbar_data slot and added toolbar_buttons.
8128
8129 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
8130
8131 * symsinit.h: Externed syms_of_process_nt()
8132
8133 * emacs.c (main_1): Call syms_of_process_nt()
8134
8135 * process-nt.c: Quote process arguments by a call to Lisp function
8136 `nt-quote-process-args'.
8137 (syms_of_process_nt): New function.
8138 (nt_send_process): Flush data stream after each write, to avoid
8139 leaving buffered data.
8140 (nt_send_process): When blocked on process output, wait for
8141 process to slurp more for progressively increasing time intervals.
8142
8143 1998-05-17 Martin Buchholz <martin@xemacs.org>
8144
8145 * window.c (have_undivided_common_edge): Make file-local function
8146 static.
8147 (map_windows): Return 0 if all map functions successful.
8148 Fix typos.
8149
8150 * winslots.h: Use unlikely names for local variables in macros to
8151 avoid shadowing warnings.
8152
8153 1998-05-17 Andy Piper <andyp@parallax.co.uk>
8154
8155 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
8156 so that we re-output if the toolbar size has changed.
8157
8158 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8159
8160 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
8161
8162 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
8163
8164 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
8165 greater).
8166
8167 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
8168
8169 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
8170 get bitmap manifest constants defined.
8171
8172 * console-msw.h: Include system files in angle brackets, not in
8173 quotes.
8174
8175 * window.c (specifier_vars_of_window): Fixed a typo in
8176 `vertical-divider-line-width' docstirng.
8177
8178 1998-05-16 Olivier Galibert <galibert@pobox.com>
8179
8180 * line-number.c (delete_invalidate_line_number_cache): Use an
8181 EMACS_INT.
8182 (buffer_line_number): Remove dangerous, plain wrong when using
8183 64bits emacs ints, cast.
8184
8185 * insdel.c (buffer_delete_range): Use an EMACS_INT.
8186
8187 * cmds.c (Fforward_line): Use EMACS_INTs.
8188
8189 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
8190 (scan_buffer): Ditto.
8191 (bi_find_next_newline_no_quit): Remove useless cast.
8192 (find_next_newline_no_quit): Ditto.
8193 (find_next_newline): Ditto.
8194 (find_before_next_newline): Use an EMACS_INT.
8195
8196 * lisp.h: Change scan_buffer to pass EMACS_INTs.
8197
8198 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
8199
8200 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
8201
8202 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
8203
8204 * gui-x.c (popup_selection_callback): Use it.
8205
8206 * gui.h (get_callback): Declare it.
8207
8208 * gui.c (get_callback): New function.
8209
8210 1998-05-15 SL Baur <steve@altair.xemacs.org>
8211
8212 * window.c (have_undivided_common_edge): Guard scrollbar specific
8213 stuff.
8214 (window_needs_vertical_divider_1): Ditto.
8215
8216 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
8217
8218 * emacs.c (decode_path): Eliminate compiler warning.
8219 (Fdecode_path): Renamed to Fsplit_path.
8220 (Fsplit_string_by_char): New function.
8221
8222 1998-05-14 Damon Lipparelli <lipp@primus.com>
8223
8224 * winslots.h: close comment
8225
8226 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
8227
8228 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
8229
8230 * bufslots.h: Removed buffer_file_type slot.
8231
8232 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
8233 buffer local flags.
8234 (complex_vars_of_buffer): Removed buffer-file-type variable and
8235 its default reference.
8236
8237 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8238
8239 * faces.c (complex_vars_of_faces): Defined
8240 Vvertical_divider_face.
8241 (vars_of_faces): Staticpro it.
8242
8243 * faces.h: Externed Vvertical_divider_face.
8244
8245 * redisplay-x.c (x_output_vertical_divider): Use
8246 Vvertical_divider_face to draw the divider instead of modeline
8247 face.
8248
8249 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
8250 divider face using Vvertical_divider_face background.
8251 Fix drawing spacing gaps around the divider.
8252
8253 1998-05-14 Didier Verna <verna@inf.enst.fr>
8254
8255 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
8256 values for the vertical divider line width and spacing. Use the
8257 cached values from the window structure instead.
8258 (x_divider_width): ditto.
8259
8260 * window.c (specifier_vars_of_window): new specifiers:
8261 vertical-divier -line-width and -spacing.
8262 (vertical_divider_global_width_changed): formerly known as
8263 vertical_divider_shadow_thickness_changed.
8264
8265 * winslots.h: new slots: vertical_specifier _line_width and
8266 _spacing. Plus corrected a comment typo.
8267
8268 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8269
8270 * window.h: Declared window_divider_width().
8271
8272 * console-stream.c (stream_divider_width): Removed method.
8273 (console_type_create_stream): And declaration for it.
8274
8275 * redisplay.c (pixel_to_glyph_translation): Use
8276 window_divider_width() instead of divider_width redisplay method.
8277 (pixel_to_glyph_translation): Fix top divider edge calculation
8278 when scrollbar is on top.
8279
8280 * window.c (window_divider_width): New function, an outphaser for
8281 divider_width redisplay method.
8282 (window_right_gutter_width): Use it.
8283 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
8284 specifiers, set fallback values differently on TTYs, and document
8285 the behavior of these on TTYs in the docstrings.
8286
8287 * scrollbar.c (update_scrollbar_instance): Use
8288 window_divider_width() instead of divider_width redisplay method.
8289
8290 * console.h (struct console_methods): Removed divider_width_method.
8291
8292 * redisplay-tty.c (tty_divider_width): Removed device method.
8293 (console_type_create_redisplay_tty): Removed definition for it.
8294 (tty_output_vertical_divider): Respect the value returned by
8295 window_divider_width thus divider line width specification.
8296
8297 * redisplay-msw.c (mswindows_divider_width): Removed device method.
8298 (console_type_create_redisplay_mswindows): Removed definition for it.
8299 (mswinodws_output_vertical_divider): Respect the value returned by
8300 window_divider_width thus divider line width specification.
8301
8302 1998-05-15 Andy Piper <andyp@parallax.co.uk>
8303
8304 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
8305
8306 1998-05-15 Andy Piper <andyp@parallax.co.uk>
8307
8308 * glyphs-msw.c: resource loading implementation.
8309 (cursor_normalize): new function.
8310 (cursor_validate): ditto.
8311 (cursor_instantiate): ditto.
8312 (cursor_name_to_resource): ditto.
8313 (cursor_possible_dest_types): ditto.
8314 (check_valid_symbol): ditto.
8315 (check_valid_string_or_int): ditto.
8316
8317 1998-05-14 Martin Buchholz <martin@xemacs.org>
8318
8319 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
8320 VINTR and VQUIT.
8321
8322 * process-unix.c (process_signal_char): Use VSUSP instead of
8323 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
8324
8325 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8326
8327 * specifier.c (specifier_instance): Change locale precedence of
8328 instantiation so window locale has higher priority than buffer
8329 locale.
8330 (Fspecifier_instance): Reflect this in docstring.
8331 (Fadd_spec_list_to_specifier): Ditto.
8332 (Fadd_spec_to_specifier): Ditto.
8333 (Fremove_specifier): Ditto.
8334
8335 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8336
8337 ** Dialog separation into a device method from Andy Piper
8338
8339 * emacs.c (main_1): Call console_type_create_dialog_x().
8340
8341 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
8342 into this device method.
8343 (console_type_create_dialog_x): New function.
8344
8345 * dialog.c (Fpopup_dialog_box): New function.
8346 (syms_of_dialog): Defsubr it.
8347
8348 * console.h (struct console_methods): Declared
8349 popup_dialog_box_method().
8350
8351 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
8352
8353 1998-05-14 Oliver Graf <ograf@fga.de>
8354
8355 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
8356 * frame-x.c (x_cde_transfer_callback): checked for merge errors
8357
8358 1998-05-13 Oliver Graf <ograf@fga.de>
8359
8360 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
8361
8362 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
8363
8364 * console.h (device_metrics): Removed dbcs, input-method-editor
8365 and right-to-left metrics.
8366
8367 * device.c (Fdevice_system_metric): Ditto.
8368 (Fdevice_system_metrics): Ditto.
8369 (syms_of_device): Ditto.
8370 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
8371 again.
8372
8373 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8374
8375 * line-number.h (mark_line_number_cache): Remove unused
8376 declaration.
8377
8378 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
8379 (get_nearest_line_number): Simplify.
8380 (add_position_to_cache): Make the old marker point nowhere.
8381
8382 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8383
8384 ** Renamed window-divider-map => vertical-divider-map
8385 and event-over-divider-p => event-over-vertical-divider-p,
8386 in the following files/functions:
8387 * events.h:
8388 * events.c (Fevent_over_divider_p):
8389 * keymap.c (get_relevant_keymaps):
8390 (vars_of_keymap):
8391
8392 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
8393
8394 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
8395
8396 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8397
8398 * window.c (vertical_divider_changed_in_window): Renamed so.
8399 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
8400 (window_needs_vertical_divider_1): Decide whether we need it based
8401 on the value of the above specifier. If separators are unwanted,
8402 put them only if there's no scrollbar between this window and its
8403 right neighbor.
8404 (have_undivided_common_edge): New function, helper for the above.
8405 (window_needs_vertical_divider): Return either a cached value,
8406 or clauclate and cache one.
8407 (invalidate_vertical_divider_cache_in_window): Implemented.
8408 (map_windows): Changed return type to int, return the value from
8409 MAPFUN.
8410
8411 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
8412 (struct window): Added need_vertical_divider_p and
8413 need_vertical_divider_valid_p.
8414
8415 * winslots.h: Added vertical_divider_draggable_p slot.
8416
8417 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
8418 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
8419
8420 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
8421
8422 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
8423 invalidate_vertical_divider_cache_in_frame().
8424 Prototype it.
8425
8426 1998-05-14 Andy Piper <andyp@parallax.co.uk>
8427
8428 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
8429
8430 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
8431 masks correctly and don't select 0.
8432
8433 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8434
8435 * winslots.h: New file, declaration of some struct window and
8436 struct saved_window members.
8437
8438 * window.h (struct window): Include it, with required preprocessor
8439 magic.
8440
8441 * window.c (mark_window): Ditto.
8442 (allocate_window): Ditto.
8443 (struct saved_window): Ditto.
8444 (mark_window_config): Ditto.
8445 (saved_window_equal): Ditto.
8446 (Fset_window_configuration): Ditto.
8447
8448 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8449
8450 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
8451
8452 1998-05-12 Didier Verna <verna@inf.enst.fr>
8453
8454 * redisplay-x.c (x_output_vertical_divider): draw shadows around
8455 the divider line. The shadow thickness is currently
8456 hard-wired. This will probably be turned into a specifier soon.
8457
8458 1998-05-12 Didier Verna <verna@inf.enst.fr>
8459
8460 * console.h (struct console_methods): the divider_width console
8461 method now requires a struct window * argument.
8462
8463 * redisplay-x.c (x_divider_width): ditto. Plus remove
8464 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
8465 (x_output_vertical_divider): give a depressed look when the shadow
8466 thickness is negative.
8467
8468 * console-stream.c (stream_divider_width): pass a struct window *
8469 argument.
8470
8471 * redisplay-tty.c (tty_divider_width): ditto.
8472
8473 * window.c (window_right_gutter_width): totdi.
8474
8475 * redisplay.c (generate_modeline): ittod.
8476
8477 * scrollbar.c (update_scrollbar_instance): ttido.
8478
8479 * redisplay-msw.c (mswindows_divider_width): ottid.
8480 WARNING: this enables to compile, but the feature is not functional.
8481
8482 * window.h (struct window): new field
8483 vertical_divider_shadow_thickness.
8484
8485 * window.c (specifier_vars_of_window): new specifier
8486 vertical-divider-shadow-thickness.
8487 (vertical_divider_shadow_thickness_changed): new function to
8488 inform redisplay that the window has changed.
8489 (mark_window): handle new field vertical_divider_shadow_thickness
8490 from struct window.
8491 (allocate_window): ditto.
8492 (saved_window_equal): toddi.
8493 (Fset_window_configuration): totid.
8494 (save_window_save): ttdio.
8495 (struct saved_window): new field vertical_divider_shadow_thickness.
8496
8497 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
8498
8499 * device-msw.c (mswindows_device_system_metrics): Support a deluge
8500 of metrics.
8501
8502 1998-05-12 Oliver Graf <ograf@fga.de>
8503
8504 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
8505 * event-Xt.c (x_event_to_emacs_event): C++ compability
8506
8507 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8508
8509 * emacs.c (Fdecode_path): Default SEPCHAR to value of
8510 path-separator.
8511
8512 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8513
8514 * emacs.c (vars_of_emacs): Do it here; change the meaning of
8515 Vpath_separator.
8516
8517 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
8518
8519 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
8520
8521 * emacs.c (decode_path_1): New function.
8522 (decode_path): Use it.
8523 (Fdecode_path): Renamed from Fdecode_path_internal; use
8524 decode_path_1.
8525
8526 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
8527
8528 * macros.c (Fzap_last_kbd_macro_event): New function.
8529 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
8530
8531 1998-05-10 Andy Piper <andyp@parallax.co.uk>
8532
8533 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
8534 multiple bitmaps are output vertically as well as horizontally.
8535 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
8536 crossing lines this is handled by
8537 mswindows_output_dibitmap_region.
8538
8539 1998-05-12 Martin Buchholz <martin@xemacs.org>
8540
8541 * inline.c: Include eldap.h
8542
8543 * menubar-x.c (x_update_frame_menubar_internal):
8544 Remove: unused variable `container'
8545
8546 1998-05-11 Martin Buchholz <martin@xemacs.org>
8547
8548 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
8549 Unfortunately, the resulting temacs still cannot dump.
8550
8551 * symbols.c (symbol_is_constant):
8552 (verify_ok_for_buffer_local):
8553 -Wswitch Warning suppression - add default case to switches.
8554
8555 * redisplay.c (decode_mode_spec): Remove unused variables,
8556 Replace Fcoding_system_property (codesys, Qmnemonic) with
8557 XCODING_SYSTEM_MNEMONIC (codesys);
8558 Fcoding_system_property is for users.
8559
8560 * buffer.c:
8561 * fileio.c:
8562 * lread.c:
8563 * xselect.c:
8564 Change empty docstrings into no doc strings at all.
8565 Fix bogus FSF-format docstrings.
8566
8567 * extents.c:
8568 Standardize docstrings.
8569
8570 * floatfns.c:
8571 Explain problems with matherr.
8572
8573 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
8574
8575 * syssignal.h:
8576 if BROKEN_SIGIO, then SIGIO wants to be undefined.
8577 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
8578 Fix the weird resultant interaction (causes windows problems)
8579
8580 * gdbinit:
8581 * dbxrc:
8582 Take new EMACSBOOTSTRAPLOADPATH into account.
8583 Update documentation strings
8584
8585 * Makefile.in.in:
8586 - Adjust for luser's CDPATH being set to something weird.
8587 - Take into account bash 2.02's tendency to print the cwd when
8588 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
8589 - fix the run-temacs target to use $(DUMPENV)
8590 - fix the run-puremacs target to use $(DUMPENV)
8591 - fix the `depend' target to properly $(RM) the right files
8592 - Generate a better TAGS file for XEmacs' lisp code using
8593 hand-crafted regexps.
8594 - Use standard coding conventions for modules/Makefile.in
8595
8596 1998-05-12 Didier Verna <verna@inf.enst.fr>
8597
8598 * redisplay.c: removed the scrolling modeline code that didn't
8599 make it for 21.0. To be continued ...
8600
8601 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8602
8603 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
8604 and empty string inputs.
8605
8606 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
8607
8608 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
8609
8610 1998-05-10 Oliver Graf <ograf@fga.de>
8611
8612 * event-stream.c (enqueue_misc_user_event_pos): created
8613 * lisp.h (enqueue_misc_user_event_pos): prototype added
8614 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
8615 * emacs.c: call vars_of_dragdrop
8616 * dragdrop.c (vars_of_dragdrop): provide dragdrop
8617
8618 1998-05-11 Oliver Graf <ograf@fga.de>
8619
8620 * frame-x.c (x_cde_transfer_callback): return at correct pos
8621 * event-Xt.c (x_event_to_emacs_event): changed format of drop
8622 object for MIME (see comment in dragdrop.c)
8623 * dragdrop.c: API change documented in comment
8624 removed provide of dragdrop [is provided by dragdrop.el]
8625
8626 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
8627
8628 * window.c (window_needs_vertical_divider): Enable vertical
8629 dividers for every non-rightmost window.
8630 (window_left_gutter_width): Left gutter consists of mythical
8631 toolbar and a virtual scrollbar.
8632 (window_right_gutter_width): The right one may have a divider
8633 also.
8634
8635 * scrollbar.c (update_scrollbar_instance): Position vertical
8636 scrollbar left to divider if the latter present.
8637
8638 * redisplay.h: Declared OVER_DIVIER constant.
8639
8640 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
8641 case.
8642
8643 * redisplay-x.c (x_output_vertical_divider): Output divider along
8644 the right side of the window, down to window bottom. Swapped
8645 foreground and background colors so it is visible by default.
8646
8647 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
8648 stick the divider to the right window side.
8649
8650 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
8651 deadbox painting.
8652 (mswindows_divider_width): Ask system for user preferred value.
8653 (mswindows_output_vertical_divider): Always output the divider on
8654 the right side of a window, down to bottom.
8655
8656 * keymap.c (get_relevant_keymaps): Route mouse button events which
8657 happened over a window divider through window-divider-map.
8658 (Fkey_binding): Documented that in the docstring.
8659 Defined the variable Vwindow_divider_map.
8660
8661 * events.c (Fevent_over_divider_p): Added this function.
8662
8663 * events.h: EXFUNed it.
8664
8665 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
8666
8667 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
8668 toolbar geometry is suspected to change.
8669
8670 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8671
8672 * src/device-msw.c
8673 * src/event-msw.c
8674 Condition dnd and dde code on HAVE_DRAGNDROP.
8675
8676 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8677
8678 * events.c (format_event_object): Print space as SPC etc.
8679
8680 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8681
8682 * print.c (print_internal): In the default case, abort() if
8683 ERROR_CHECK_TYPECHECK.
8684
8685 * fileio.c (Fmake_temp_name): Doc fix.
8686
8687 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8688
8689 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
8690
8691 * undo.c (Fprimitive_undo): Fixed typo.
8692
8693 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
8694
8695 * fns.c (concat): Signal error on integer argument.
8696
8697 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
8698
8699 * console.h (device_metrics): Prefixed each constatnt with DM_
8700
8701 * device.c: (Fdevice_system_metric): Renamed so from plural form
8702 (metrics); Changed parameters order and added DEFAULT parameter;
8703 Unabbreviated some metric constants; Fixed and untabified doc string.
8704 (Fdevice_system_metrics): Added. Returns a plist of all provided
8705 metrics.
8706
8707 * device-msw.c (mswindows_device_system_metrics): Renamed
8708 device_metrics enum constants.
8709 Return Qunbound instead of Qnil.
8710
8711 * device-tty.c (tty_device_system_metrics): Ditto.
8712
8713 * device-x.c (x_device_system_metrics): Ditto.
8714
8715 1998-05-10 Andy Piper <andyp@parallax.co.uk>
8716
8717 * redisplay-msw.c: implement background pixmaps (really!). Make
8718 sure bg color is transparent if we have bg pmaps.
8719 * (mswindows_output_string) (mswindows_clear_region): output bg
8720 pmap if required.
8721 * (mswindows_output_dibitmap_region): new function.
8722 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
8723 the bg color rather than transparently.
8724
8725 * toolbar-msw.c: use masks if they exist.
8726
8727 * glyphs-msw.c: set up masks correctly.
8728
8729 * event-msw.c: typedef SOCKET if cygwin and not msg select().
8730
8731 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8732
8733 * regex.c (re_match_2_internal): Check for quit.
8734
8735 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8736
8737 * frame.c (Ffocus_frame): New function.