1 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
3 * XEmacs 21.2.22 is released
5 1999-11-28 Martin Buchholz <martin@xemacs.org>
7 * XEmacs 21.2.21 is released.
9 1999-11-26 Martin Buchholz <martin@xemacs.org>
11 * callproc.c (Fcall_process_internal):
14 * event-msw.c (ntpipe_slurp_reader):
15 * event-msw.c (ntpipe_shove_writer):
16 * event-msw.c (winsock_reader):
17 * event-msw.c (winsock_writer):
18 * event-stream.c (dribble_out_event):
20 * fileio.c (Fexpand_file_name):
21 * glyphs-x.c (write_lisp_string_to_temp_file):
22 * gpmevent.c (tty_get_foreign_selection):
23 * lisp.h: Update prototypes.
24 * lstream.c (Lstream_flush_out):
25 * lstream.c (Lstream_write_1):
26 * lstream.c (Lstream_was_blocked_p):
27 * lstream.c (Lstream_read_more):
28 * lstream.c (Lstream_read):
29 * lstream.c (Lstream_fputc):
30 * lstream.c (make_stdio_output_stream):
31 * lstream.c (stdio_flusher):
32 * lstream.c (stdio_closer):
33 * lstream.c (make_filedesc_output_stream):
34 * lstream.c (errno_would_block_p):
35 * lstream.c (filedesc_writer):
36 * lstream.c (make_lisp_string_input_stream):
37 * lstream.c (make_fixed_buffer_output_stream):
38 * lstream.c (fixed_buffer_reader):
39 * lstream.c (make_resizing_buffer_output_stream):
40 * lstream.c (make_dynarr_output_stream):
41 * lstream.c (make_lisp_buffer_output_stream):
42 * lstream.c (lisp_buffer_reader):
43 * lstream.h (lstream_implementation):
45 * miscplay.h (reset_parsestate):
46 * process-nt.c (nt_send_process):
47 * process-unix.c (unix_send_process):
49 * sysdep.c (sys_close):
50 * sysdep.c (sys_read_1):
51 * sysdep.c (sys_write_1):
53 * file-coding.c (determine_real_coding_system):
54 * file-coding.c (Fdetect_coding_region):
55 * file-coding.c (struct decoding_stream):
56 * file-coding.c (decoding_reader):
57 * file-coding.c (Fdecode_coding_region):
58 * file-coding.c (struct encoding_stream):
59 * file-coding.c (encoding_reader):
60 * file-coding.c (Fencode_coding_region):
61 * file-coding.c (convert_to_external_format):
62 * file-coding.c (convert_from_external_format):
63 - Lstream functions mirror Unix98 read(),write(). Therefore use
64 Unix98 types size_t and ssize_t.
65 - Try to make Lstream* functions 64-bit clean. Someday someone
66 may actually want to read from a Lstream with more than 2**32 bytes.
67 - Add configure support for ssize_t.
68 - Update all callers of Lstream_read and Lstream_write to
70 - Fix esd* initiated C++ compile errors.
71 - Remove comments referring to `fpurge' - we don't want to call it
75 - Remove some lingering Lucid compiler support.
78 - Add prototype for Fdelete_process.
80 * gpmevent.c (Freceive_gpm_event): Remove unused variables.
82 1999-11-27 Martin Buchholz <martin@xemacs.org>
84 * Makefile.in.in (depend): Only update `depend' if there were changes.
86 1999-11-26 Martin Buchholz <martin@xemacs.org>
88 * editfns.c (get_system_name): Remove.
90 1999-11-26 Martin Buchholz <martin@xemacs.org>
92 * device-x.c (x_init_device):
93 - Replace magic number `17' with equivalent expn using sizeof.
94 - Replace strcmp with marginally more efficient memcmp.
95 - Avoid using C++ reserved word `class'.
97 * file-coding.c (determine_real_coding_system):
98 - Look for both initial and final -*- cookies.
99 - Replace EQ (foo, Qnil) with NILP (foo)
100 - Make searching for cookies more efficient.
101 - Recognize only rfc 1521 characters in charset names.
103 1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp>
105 * input-method-xlib.c (IMDestroyCallback): #ifdef'd by
106 "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6.
107 * input-method-xlib.c (IMInstantiateCallback): Ditto.
108 * input-method-xlib.c (XIM_init_device): Revive XOpenIM function
109 call for X11R5 systems.
110 * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC()
111 again because XIM doesn't concern with frame deletion itself.
112 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
115 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
117 * input-method-xlib.c: Added new lisp object Qxim_xlib.
118 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
119 All the valid stderr_out were changed to those macros.
120 (IMDestroyCallback): Don't test the XIC if the frame is not X
122 (IMInstantiateCallback): Treat the client_data as "device" not
123 "frame" because the caller changed from frame to device.
124 Here initializes XIM and activates XICs for each frame which
126 (XIM_init_device): Register the XIM instantiation callback which
127 had been performed by XIM_init_frame() before.
128 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
129 (XIM_init_frame): Placed an actual code for XIC activation which
130 was moved from IMInstantiateCallback.
131 (syms_of_input_method_xlib): New function which includes a symbol
132 Qxim_xlib that uses in emacs.c.
134 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
137 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
139 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
141 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
143 1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch>
145 * redisplay-output.c (compare_runes): Add comments about
146 results from profiling.
148 * redisplay.h (struct rune): Do not use bitfields for members.
149 (struct rune): Add various comments about further optimizations.
151 1999-11-19 Eric Darve <darve@crocco.stanford.edu>
153 * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
154 if Vabbrev_start_location is used too.
156 1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
158 * file-coding.c (detect_eol_type): Return CR when two
159 sequential CR are found.
160 (determine_real_coding_system): Check EOL type when coding:
161 cookie is found and EOL type is not specified.
162 Don't assume 8bit char as part of coding: cookie.
164 1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
166 * file-coding.c (determine_real_coding_system): Check if
167 '-*-' exists. End searching for coding: cookie at the end
168 of line. Check whether character before coding: is space,
171 1999-11-07 William M. Perry <wmperry@aventail.com>
173 * gpmevent.c: Completely rewrote GPM mouse support for linux
174 console. The TTY console and event stream are modified at run
175 time, so this code can now be used as a module.
176 (tty_get_foreign_selection): New function to allow pasting from
177 other virtual consoles.
178 (Fgpm_enable): New lisp-visible function to turn GPM on or off
181 * device-tty.c (tty_asynch_device_change): No longer need to
182 notify GPM code of window/console height/width changes.
184 * console-tty.c (tty_init_console): Removed outdated GPM support
185 that was part of the console/event code.
187 * event-Xt.c (emacs_Xt_select_console): Ditto
189 * event-Xt.c (emacs_Xt_unselect_console): Ditto
191 * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto
193 * frame-tty.c (console_type_create_frame_tty): Ditto
195 1999-11-17 Martin Buchholz <martin@xemacs.org>
201 - Use Unix 98 types uid_t, gid_t, pid_t.
204 1999-11-01 Olivier Galibert <galibert@pobox.com>
206 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
207 * emacs.c (main_1): ...here, to get the correct value even with
210 1999-11-17 Martin Buchholz <martin@xemacs.org>
212 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
214 * tooltalk.c (tt_build_string): Remove extra parens.
215 * process.c (print_process): Remove extra parens.
216 * buffer.h (BI_BUF_PTR_BYTE_POS):
218 (BI_BUF_BYTE_ADDRESS):
219 (BI_BUF_BYTE_ADDRESS_BEFORE):
223 Remove extra parens. Inline functions are not macros.
225 * editfns.c (Fuser_login_name):
227 Use proper type uid_t.
229 1999-11-15 Martin Buchholz <martin@xemacs.org>
231 * syntax.c (complex_vars_of_syntax): Make more readable.
232 (define_standard_syntax): New function.
234 * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean.
236 1999-11-14 Martin Buchholz <martin@xemacs.org>
238 * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings.
240 1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
242 * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2):
243 New enum type to make sure no gap in the leading byte definition.
245 1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
247 * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5,
248 LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C
249 to remove a hole in leading byte definition.
251 1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
253 * mule-charset.c (non_ascii_valid_charptr_p): Check if
254 private charset is defined.
256 1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
258 * mule-ccl.c (ccl_driver): Make sure generated sequences
259 are valid when doing `CCL_WRITE_STRING'.
260 (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver.
262 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
264 * XEmacs 21.2.20 is released
266 1999-11-04 Martin Buchholz <martin@xemacs.org>
268 * mule-ccl.c (ccl_driver): Warning suppression
270 1999-11-01 SL Baur <steve@miho.m17n.org>
272 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
273 building a debugged XEmacs.
275 1999-10-28 Andreas Jaeger <aj@suse.de>
277 * src/emacs.c (main_1): Don't set the malloc hooks if using
280 1999-10-30 Olivier Galibert <galibert@pobox.com>
282 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
286 1999-10-25 Olivier Galibert <galibert@pobox.com>
288 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
290 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
292 1999-10-25 Martin Buchholz <martin@xemacs.org>
294 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
295 (GLOBAL_RESET_CHANGED_FLAGS):
296 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
297 (RESET_CHANGED_SET_FLAGS):
298 Fix C++ compile errors/warnings.
299 These macros were just a tad too clever.
301 * process-unix.c (unix_open_network_stream):
302 * objects-x.c (allocate_nearest_color):
303 * mule-charset.c (vars_of_mule_charset):
304 * fileio.c (Ffile_truename):
305 * file-coding.c (vars_of_file_coding):
306 Fix compile errors/warnings.
308 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
309 (allocate_lisp_storage): Simplify.
311 1999-10-24 Olivier Galibert <galibert@pobox.com>
313 * conslots.h: Add defines with first and last slot names.
314 * bufslots.h: Add defines with first and last slot names.
316 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
317 reinit_complex_vars_of_buffer
318 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
320 (complex_vars_of_buffer): Dump the slots values.
322 * console.c (common_init_complex_vars_of_console): Renamed from
323 reinit_complex_vars_of_console
324 (reinit_complex_vars_of_console): Reset the slots to the dumped
326 (complex_vars_of_console): Dump the slots values.
328 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
329 pdump_rt_list and move them at the beginning of the file.
330 (gc_sweep): Unmark pdumped objects after the sweep phase.
331 (pdump_dump_rtables): Change a bare 256 to
332 last_lrecord_type_index_assigned. Add a separator between the
333 adresses or lrecords and the ones of C structs in the dump file.
334 (pdump_load): Cope with the new separator and the renamings. Stop
335 looking for the hash tables list after it has been found (duh!).
337 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
339 * sound.c: support HAVE_ESD_SOUND
343 * linuxplay.c: Move large part of linuxplay to generalized file
344 miscplay. Make it platform independent.
348 1999-10-24 Adrian Aichner <aichner@ecf.teradyne.com>
350 * lisp.h (Dynarr_declare): Fix boo-boo.
352 1999-10-24 Olivier Galibert <galibert@pobox.com>
354 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
357 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
359 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
360 >=0). Handle the cur_elt == 0 case.
362 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
364 * unexelf.c: Merge Martin's c++ fixes back in
366 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
368 * unexelf.c (unexec): Only copy the global offset
369 table from memory on sgi machines.
371 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
373 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
374 adding support for an sbss section. Get IRIX 5.2 to build using
377 * m/iris4d.h: Use unexelf.o for unexec.
379 * m/iris5d.h: Use unexelf.o for unexec.
381 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
383 * unexelf.c: Revert to 21.1 version
385 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
387 * window.c (Fwindow_truncated_p): New function.
389 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
391 * window.c (window_truncation_on): Always return 0 for minibuffer
392 windows, to enable auto scrolling.
394 1999-10-24 Neal Becker <nbecker@fred.net>
395 * process.h: Unix98 PTY support
397 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
399 * fileio.c (Ffile_truename): Do proper mule decoding on
400 the argument to xrealpath()
402 1999-08-19 Stephen Tse <stephent@sfu.ca>
404 * process-unix.c (unix_open_network_stream): Add udp network
405 support; rename variable Qtcpip to Qtcp, parameter family to
406 protocol for consistency with Qudp.
408 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
409 Qtcp, parameter family to protocol for consistency with Qudp.
411 * process.c (global_variables): Add a new variable Qudp for udp
412 network support; rename variable Qtcpip to Qtcp for consistency
414 (Fopen_network_stream_internal): Rename parameter FAMILY to
415 PROTOCOL for consistency; fix a minor typo and add an explanation
416 in docstring for udp programming.
417 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
418 (syms_of_process): Add a new variable Qudp for udp network
419 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
421 * process.h (extern_variables): Add a new variable Qudp for udp
422 network support; rename variable Qtcpip to Qtcp for consistency
425 * procimpl.h: Add a new variable Qudp for udp network support;
426 rename variable Qtcpip to Qtcp for consistency with Qudp.
427 (struct process_methods): Rename parameter family to protocol.
430 1999-10-24 Olivier Galibert <galibert@pobox.com>
432 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
434 1999-10-23 Olivier Galibert <galibert@pobox.com>
436 * lrecord.h (struct lrecord_header): Removed dumped flags.
438 * dynarr.c: Use DUMPEDP instead of dumped flag.
440 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
442 * alloc.c: Removed hash_next linked list pointer.
444 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
447 1999-10-14 Andy Piper <andy@xemacs.org>
449 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
452 * gutter.c (output_gutter): be more accurate about the area to be
453 cleared since X seems to manage to do the clear after drawing the
456 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
457 redisplay flags as a group.
458 (RESET_CHANGED_SET_FLAGS): ditto.
459 (CLASS_RESET_CHANGED_FLAGS): ditto.
460 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
461 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
463 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
464 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
466 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
467 instead of setting flags individually.
468 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
469 (redisplay_device): ditto.
470 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
471 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
472 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
473 (redisplay_without_hooks): ditto.
474 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
476 * redisplay-x.c (x_output_string): unmap subwindows in the area.
477 (x_output_blank): ditto.
479 * redisplay-output.c (redisplay_output_display_block): don't unmap
480 subwindows in case layout optimization can avoid it.
481 (redisplay_output_subwindow): unmap subwindows in the area.
482 (redisplay_output_layout): optimize the output of layouts - only
483 output glyphs that have changed if nothing else of redisplay
484 significance has occurred.
485 (redisplay_output_pixmap): change args to
486 redisplay_clear_clipped_region.
487 (redisplay_clear_clipped_region): allow the clipped region to be
488 cleared of all subwindows except the one passed in.
490 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
492 (mswindows_output_cursor): ditto.
493 (mswindows_output_string): ditto.
495 * gutter.c (calculate_gutter_size): if the window buffer is nil
497 (update_frame_gutters): be more lenient about when we actually
498 update the gutter. Layout optimization makes this
499 non-costly. Cache redisplay flags that we want to temporarily
502 * glyphs.c (Fglyph_animated_timeout_handler): handle image
503 specific timeouts rather than iterating over the instance cache.
504 (glyph_animated_timeout_mapper): deleted.
505 (add_glyph_animated_timeout): use a weak list to hold onto the
506 image so that it can be GC'ed.
507 (disable_glyph_animated_timeout): disable a specific timeout.
508 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
509 controlling whether pixmaps are animated or not.
511 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
512 image timeout gets disabled when the image gets freed.
514 * glyphs-eimage.c (gif_instantiate): remove meaningless
515 comment. Cope with timeouts specified in the gif extension block.
517 * event-msw.c (vars_of_event_mswindows): new variable
518 mswindows-meta-activates-menu.
519 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
522 * glyphs-x.c (x_finalize_image_instance): delete mask first so
523 that we can compare with image.
525 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
527 * event-msw.c (mswindows_key_to_emacs_keysym):
528 Recognise keypad keys as different from normal keys.
530 1999-10-14 Didier Verna <didier@xemacs.org>
532 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
534 1999-10-10 Olivier Galibert <galibert@pobox.com>
536 * symbols.c (init_symbols_once_early): dump Vquit_flag.
538 * symsinit.h: Updated.
540 * ntproc.c (vars_of_ntproc): Use defsymbol.
542 * emacs.c (main_1): Updated reinit calls.
544 * lisp.h: Removed Fpurecopy and pure_put declarations.
545 * fns.c: Removed pure_put.
547 * eval.c (Fdefvar): pure_put -> Fput
549 * frame-x.c (init_x_prop_symbols): Ditto.
550 * symbols.c (deferror): Ditto.
552 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
553 * buffer.c (vars_of_buffer): Ditto.
554 * bytecode.c (Ffetch_bytecode): Ditto.
555 (optimize_compiled_function): Ditto.
556 * emacs.c (vars_of_emacs): Ditto.
557 * emodules.c (vars_of_module): Ditto.
558 * eval.c (define_function): Ditto.
560 * frame.c (vars_of_frame): Ditto.
561 * intl.c (Fset_domain): Ditto.
562 * lread.c (load_force_doc_string_unwind): Ditto.
563 * menubar.c (vars_of_menubar): Ditto.
564 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
566 * debug.c (reinit_vars_of_debug): Extracted.
567 * device-x.c (reinit_vars_of_device_x): Ditto.
568 * emodules.c (reinit_vars_of_module): Ditto.
569 * font-lock.c (reinit_vars_of_font_lock): Ditto.
570 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
571 * glyphs.c (reinit_vars_of_glyphs): Ditto.
572 * gui-x.c (reinit_vars_of_gui_x): Ditto.
573 * insdel.c (reinit_vars_of_insdel): Ditto.
574 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
575 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
576 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
577 * print.c (reinit_vars_of_print): Ditto.
578 * redisplay.c (reinit_vars_of_redisplay): Ditto.
579 * select-x.c (reinit_vars_of_xselect): Ditto.
580 * undo.c (reinit_vars_of_undo): Ditto.
582 1999-10-10 Olivier Galibert <galibert@pobox.com>
584 * symsinit.h: Updated declarations, see other ChangeLog entries.
586 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
588 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
590 * glyphs.c: Add the ii_keyword_entry and related descriptions.
591 Fix the image_instantiator_methods one.
593 * file-coding.c: Plonk all data that needs to be dumped in a
594 dynamically allocated structure.
596 * extents.c (reinit_vars_of_extents): Extracted from
599 * event-stream.c (vars_of_event_stream): Don't staticpro when
600 pdump_wire is enough.
602 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
603 vars_of_event_mswindows.
605 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
608 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
610 * emacs.c (main_1): Added some reinit calls.
612 * device-x.c (reinit_console_type_create_device_x): Extracted from
613 console_type_create_device_x.
615 * console.h: Declare the console_type_entry_dynarr description.
617 * console.c: Unstatic the console_type_entry_dynarr description.
619 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
621 1999-10-07 Olivier Galibert <galibert@pobox.com>
623 * symsinit.h: Updated declarations, see other ChangeLog entries.
625 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
626 complex_vars_of_minibuf.
628 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
629 unimplemented), added XD_LO_LINK.
631 * lisp.h (pdump_wire_list): Add declaration.
633 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
634 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
635 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
638 * glyphs.c (reinit_image_instantiator_format_create): Remove.
640 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
644 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
647 (reinit_image_instantiator_format_create_glyphs_mswindows):
651 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
653 * frame.c (Fmake_frame): Don't reset the face cache when using the
656 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
657 relevant descriptions.
659 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
661 * eval.c: The subr is _not_ a lcrecord.
663 * emacs.c (main_1): Call vars_of_specifier early before any
664 specifier creation (e.g in vars_of_glyphs, at least). Remove the
665 useless reinit_image_instantiator_format*. Add
666 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
667 calls to lstream_type_create* and process_type_create*.
669 * elhash.c: Dump Vall_weak_hash_tables correctly.
671 * data.c: Dump Vall_weak_lists correctly.
673 * console.c: Fix description.
675 * console-stream.c (init_console_stream): Do initializations
676 correctly in the pdump case.
678 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
679 (Fcopy_char_table): Link into Vall_syntax_tables.
681 * alloc.c (pdump_wire_list): Added.
682 (Fgarbage_collect): Fix loop in stats couting missing the last
684 (pdump_register_sub): Added XD_LO_LINK.
685 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
687 (pdump_reloc_one): Ditto.
688 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
690 (pdump_dump_wired): Added lists.
691 (pdump): Use last_lrecord_type_index_assigned instead of 256.
692 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
694 1999-10-07 Andy Piper <andy@xemacs.org>
696 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
699 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
701 1999-10-06 Andy Piper <andy@xemacs.org>
703 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
705 1999-10-06 Damon Lipparelli <lipp@primus.com>
707 * elhash.h: forward declare Lisp_Hash_Table.
709 1999-10-06 Andy Piper <andy@xemacs.org>
711 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
712 after setting an image instance property.
714 1999-10-05 Andy Piper <andy@xemacs.org>
716 * gutter.c (update_frame_gutters): output gutters if
717 windows_changed is set. This is the only way of catching changes
718 in selected window which obviously can affect the specifiers.
720 * redisplay.c: new state flags, subwindows_state_changed and
721 subwindows_state_changed set.
722 (redisplay_window): use them.
723 (redisplay_device): ditto.
724 (redisplay_without_hooks): ditto.
725 (redisplay_frame): ditto. Reset subwindow cachels if
726 subwindows_changed is set.
727 (redisplay_window): call mark_glyph_cachels_as_clean after
730 * redisplay-x.c (x_output_x_pixmap): select correct
731 pixmap image for display depending on the currently selected
734 * redisplay-output.c (compare_runes): check dirtiness when
735 checking RUNE_DGLYPH runes.
736 (compare_display_blocks): relax invalidation of display blocks
737 since we can now detect whether individual glyphs have changed or
740 * redisplay-msw.c (mswindows_output_dibitmap): select correct
741 bitmap image for display depending on the currently selected
744 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
745 (IMAGE_INSTANCE_DIRTYP): new macro.
746 (XIMAGE_INSTANCE_DIRTYP): ditto.
747 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
748 (GLYPH_DIRTYP): ditto.
749 (XGLYPH_DIRTYP): ditto.
750 (MARK_GLYPH_CHANGED): ditto.
751 (GLYPH_CACHEL_DIRTYP): ditto.
752 (struct glyph_cachel): add a dirty flag.
754 * glyphs.c (update_frame_subwindows): Don't update on
756 (glyph_animated_timeout_mapper): new function. Map over the
757 instance cache lookinng for animated images to update.
758 (Fglyph_animated_timeout_handler): new function. Lisp callback for
759 handling animated image timeout events.
760 (disable_glyph_animated_timeout): new function. Add the animated
762 (disable_glyph_animated_timeout): new function. Remove the
763 animated image timeout.
764 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
766 (vars_of_glyphs): initialize Vglyph_animated_ticker.
767 (image_instance_equal): add the currently displayed slice.
768 (image_instance_hash): ditto.
769 (allocate_glyph): initialize dirty flag.
770 (glyph_width): rename glyph -> glyph_or_image.
771 (glyph_height_internal): ditto.
772 (glyph_dirty_p): new function. Determine whether the image
773 instance in the domain and/or glyph is dirty.
774 (set_glyph_dirty_p): set the dirtiness.
775 (update_glyph_cachel_data): take dirtiness into account. Pass the
776 image instance we are interested in to glyph_width and friends.
777 (get_glyph_cachel_index): make non-static. Always call
778 update_glyph_cachel_data.
779 (mark_glyph_cachels_as_not_updated): meaningless formatting
781 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
784 * glyphs-x.h (struct x_image_instance_data): change
785 pixmap to a list of pixmaps.
786 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
787 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
788 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
789 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
791 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
792 images get deleted properly.
793 (init_image_instance_from_x_image): add slices paramater and use
794 it to initialize x_image_instance_data correctly.
795 (image_instance_add_x_image): new function. Add new pixmaps to our
796 set of instantiated pixmaps for an image. Used by animated images.
797 (x_init_image_instance_from_eimage): add a slices
798 parameter. Instantiate all images from the eimage.
799 (x_xpm_instantiate): update use of
800 init_image_instance_from_x_image.
801 (init_image_instance_from_xbm_inline): ditto.
802 (x_initialize_pixmap_image_instance): add slices paramater and use
803 it to allocate x_image_instance_data correctly.
805 * glyphs-msw.h (struct mswindows_image_instance_data): change
806 bitmap to a list of bitmaps.
807 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
808 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
809 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
810 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
812 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
813 paramater and use it to initialize mswindows_image_instance_data
815 (image_instance_add_dibitmap): new function. Add new bitmaps to
816 our set of instantiated bitmaps for an image. Used by animated
818 (mswindows_init_image_instance_from_eimage): add a slices
819 parameter. Instantiate all images from the eimage.
820 (mswindows_xpm_instantiate): update use of
821 init_image_instance_from_dibitmap.
822 (bmp_instantiate): ditto.
823 (init_image_instance_from_xbm_inline): ditto.
824 (mswindows_finalize_image_instance): make sure all the bitmap
826 (mswindows_initialize_dibitmap_image_instance): add slices
827 paramater and use it to allocate mswindows_image_instance_data
830 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
831 init_image_instance_from_eimage.
832 (png_instantiate): ditto.
833 (tiff_instantiate): ditto.
834 (gif_instantiate): allocate bitmaps for all gif slices not just
837 * device.h (struct device): add subwindows_state_changed flag.
838 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
839 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
841 * console.h (struct console_methods): add a slice parameter to
842 init_image_instance_from_eimage_method.
844 * redisplay.c (create_string_text_block): Allow buffer to be nil
847 1999-09-24 Andy Piper <andy@xemacs.org>
849 * glyphs-x.c: only include gui-x.h if we are building with
852 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
854 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
856 * objects-x.c (allocate_nearest_color): will return 0 (failure)
857 when the colormap is full and the color it has computed to be the
858 'nearest' has been allocated read/write.
860 1999-10-02 Olivier Galibert <galibert@pobox.com>
862 * search.c (reinit_vars_of_search): Reinit the search cache
865 * elhash.h: Make the description visible. Declare
868 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
869 to generalize the hash table reorganization.
870 (reorganize_hash_table): Added.
871 (enlarge_hash_table): Uses resize_has_table.
873 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
876 * alloc.c: Add correct management of blocks of structures.
877 Reorganize hash tables at reload since the hash values can change
880 1999-10-01 Olivier Galibert <galibert@pobox.com>
882 * lisp.h: Add pdump_wire declaration
884 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
885 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
887 * alloc.c (pdump_wire): Added..
888 (pdump_load): Support it.
892 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
895 1999-09-28 Olivier Galibert <galibert@pobox.com>
897 * symsinit.h: Added lots of prototypes.
899 * symeval.h: Added defsymbol_nodump declaration.
901 * symbols.c (find_symbol_value): Lame attempt at making the
903 (defsymbol_nodump): Added.
905 * mule-charset.c: Collapsed global lisp objects arrays in one
908 * lrecord.h: Added some flags.
910 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
913 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
914 staticpro dynamic variables.
916 * glyphs.c (reinit_specifier_type_create_image): Added.
917 (image_instantiator_format_create): Dump image instantiator format
919 (reinit_image_instantiator_format_create): Added.
921 * emacs.c (main_1): Added reinits calls.
923 * dynarr.c: Protect dumped dynarrays from going berzek in free or
926 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
928 * specifier.c (specifier_type_create): Dump the specifier type
930 (reinit_specifier_type_create): Added.
931 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
933 * console.c (console_type_create): Dump the console type dynarr.
934 (reinit_vars_of_console): Extracted from vars_of_console.
935 (reinit_complex_vars_of_console): Extracted from
936 complex_vars_of_console
937 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
938 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
939 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
940 * objects.c (reinit_specifier_type_create_objects): Added.
941 (reinit_vars_of_objects): Extracted from vars_of_objects.
942 * lstream.c (reinit_vars_of_lstream): Extracted from
944 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
945 * gutter.c (reinit_specifier_type_create_gutter): Added.
946 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
949 (reinit_image_instantiator_format_create_glyphs_widget): Added
951 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
953 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
954 * event-stream.c (reinit_vars_of_event_stream): Extracted from
956 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
957 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
958 * console-x.c (reinit_console_type_create_x): Added.
959 * console-tty.c (reinit_console_type_create_tty): Added
960 * console-stream.c (reinit_console_type_create_stream): Added.
961 (init_console_stream): If PDUMP, always reinitialise basic
963 * console-msw.c (reinit_console_type_create_mswindows): Added.
964 * buffer.c (reinit_vars_of_buffer): Extracted from
966 (reinit_complex_vars_of_buffer): Extracted from
967 complex_vars_of_buffer
969 * alloc.c: Further with the portable dumping, the revenge.
971 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
973 * specifier.c (sizeof_specifier): Correct size computation.
974 (make_specifier_internal): Ditto.
976 1999-09-27 Olivier Galibert <galibert@pobox.com>
978 * alloc.c: Further with the portable dumping.
980 1999-09-27 Martin Buchholz <martin@xemacs.org>
982 * glyphs-x.c (update_widget_face): Remove bogus cast
984 * data.c (sign_extent_lisp):
985 * data.c (check_int_range):
988 * data.c (number_char_or_marker_to_int):
989 * data.c (number_char_or_marker_to_double):
992 * extents.c (print_extent_1):
993 * fns.c (print_bit_vector):
995 * fns.c (Fsafe_length):
1000 * fns.c (Fnbutlast):
1002 * marker.c (print_marker):
1004 * bytecode.c (bytecode_arithcompare):
1005 * bytecode.c (bytecode_arithop):
1007 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
1008 * lisp.h (TRUE_LIST_P):
1009 * lisp.h (CHECK_TRUE_LIST):
1010 * lisp.h (bit_vector_length):
1011 * lisp.h (GCPRO4): Make consistent.
1012 * lisp.h (NGCPRO4): Make consistent.
1013 * lisp.h (NNGCPRO4): Make consistent.
1014 * alloc.c (Fmake_list):
1015 * alloc.c (Fmake_string):
1016 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
1017 This should make all arithmetic 64-bit clean.
1019 Use %ld with (long) casts in print statements of types with sizes
1020 possibly larger than int.
1022 Following functions had mismatched prototypes!!:
1023 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
1024 char_quoted(), make_string_from_buffer(),
1025 make_string_from_buffer_no_extents()
1027 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
1028 Extcount are all now EMACS_INT. I hope to see the day when I can
1029 create a buffer with more than INT_MAX characters, without having
1030 XEmacs slow down to a crawl. I also hope to be able to create a
1031 list with more than INT_MAX cons cells.
1033 * redisplay.c (decode_mode_spec):
1034 The %p and %P specs in the mode line were not correct for buffers
1035 larger than MAX_INT/100! The %p spec was off by .5% even for
1038 1999-09-27 Martin Buchholz <martin@xemacs.org>
1040 * cmdloop.c (num_input_keys):
1041 * print.c (debug_temp):
1042 * emacs.c (Vinfo_directory):
1043 Delete unused variables
1045 * console-x.h (x_interline_space): Mark as unimplemented.
1046 * redisplay-x.c (x_interline_space): Mark as unimplemented.
1048 * event-Xt.c (pending_timeouts):
1049 * linuxplay.c (linuxplay_sndbuf):
1051 * search.c (searchbufs):
1052 * specifier.c (specifier_type_entry_dynarr):
1053 * undo.c (pending_boundary):
1054 * event-stream.c (the_low_level_timeout_blocktype):
1055 * extents.c (gap_array_marker_freelist):
1056 * extents.c (extent_list_marker_freelist):
1057 * print.c (being_printed):
1058 * print.c (alternate_do_pointer):
1059 * alloc.c (first_string_chars_block):
1060 * alloc.c (current_string_chars_block):
1061 * emacs.c (initial_argv):
1062 * emacs.c (initial_argc):
1063 * eval.c (lisp_eval_depth):
1064 * free-hook.c (pointer_table):
1065 * free-hook.c (free_queue):
1066 * free-hook.c (current_free):
1067 * free-hook.c (strict_free_check):
1068 * redisplay.c (formatted_string_emchar_dynarr):
1069 * redisplay.c (formatted_string_display_line):
1070 * redisplay.c (formatted_string_extent_dynarr):
1071 * redisplay.c (formatted_string_extent_start_dynarr):
1072 * redisplay.c (formatted_string_extent_end_dynarr):
1073 * redisplay.c (updating_line_start_cache):
1074 * redisplay.c (last_display_warning_tick):
1075 * redisplay.c (display_warning_tick):
1076 * redisplay.c (internal_cache):
1077 * window.c (Vwindow_configuration_free_list):
1080 * redisplay.c (Vinitial_window_system): Make CONST.
1082 1999-09-24 Martin Buchholz <martin@xemacs.org>
1084 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
1086 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
1088 1999-09-24 Andy Piper <andy@xemacs.org>
1090 * redisplay-output.c (output_display_line): only clear the borders
1091 if we are not displaying the gutter.
1093 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
1095 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
1096 then use x_any_widget_or_parent_to_frame().
1097 (x_find_frame_for_window): remove special cases.
1099 1999-09-24 Andy Piper <andy@xemacs.org>
1101 * scrollbar-x.c (x_window_is_scrollbar): deleted.
1102 * scrollbar-x.h: ditto.
1104 1999-09-23 Martin Buchholz <martin@xemacs.org>
1106 * alloc.c (this_marks_a_marked_record): Remove.
1108 * buffer.c (mark_buffer):
1109 * buffer.c (nuke_all_buffer_slots):
1110 * console.c (mark_console):
1111 * console.c (nuke_all_console_slots):
1112 * frame.c (mark_frame):
1113 * frame.c (nuke_all_frame_slots):
1114 Treat MARKED_SLOT() macros consistently.
1116 * device.h (error_check_device_type):
1117 * faces.c (face_getprop):
1118 * fileio.c (DRIVE_LETTER):
1119 * filelock.c (lock_file_1):
1120 * frame-x.c (x_create_widgets):
1121 * frame.h (error_check_frame_type):
1122 * keymap.c (print_keymap):
1123 * keymap.c (Fkey_description):
1124 * keymap.c (where_is_recursive_mapper):
1125 * mule-charset.h (CHARSET_LEADING_BYTE):
1126 * objects-msw.c (mswindows_color_instance_hash):
1127 * objects.c (color_instance_equal):
1128 * objects.h (struct color_specifier):
1129 * objects.h (struct font_specifier):
1130 * objects.h (struct face_boolean_specifier):
1131 * opaque.h (get_opaque_ptr):
1132 * opaque.h (set_opaque_ptr):
1133 * process-unix.c (set_socket_nonblocking_maybe):
1134 * specifier.h (SPECIFIER_TYPE_P):
1135 * symbols.c (store_symval_forwarding):
1136 * syssignal.h (EMACS_KILLPG):
1137 * terminfo.c (emacs_tparam):
1138 * glyphs.c (glyph_putprop):
1139 * glyphs.c (glyph_remprop):
1140 * glyphs.c (Fimage_instance_subwindow_id):
1141 * window.c (mark_window):
1142 * window.c (mark_window_config):
1143 * window.c (Fset_window_configuration):
1144 * window.c (save_window_save):
1145 * eval.c (Fuser_variable_p):
1146 * eval.c (Fcommand_execute):
1148 * eval.c (Ffuncall):
1150 * lisp.h (INT_OR_FLOATP):
1151 * lisp.h (GC_INT_OR_FLOATP):
1152 * lisp.h (XFLOATINT):
1153 * lisp.h (IS_ANY_SEP):
1154 * mule-ccl.c (Fccl_execute):
1155 * mule-ccl.c (Fccl_execute_on_string):
1156 * redisplay-x.c (x_output_string):
1157 Remove redundant extra parentheses.
1159 1999-09-22 Martin Buchholz <martin@xemacs.org>
1161 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
1162 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
1163 * free-hook.c (fun_ptr): ANSIfy
1164 * getloadavg.c: Remove declaration for errno.
1165 * gui.c (allocate_gui_item): ANSIfy
1166 * gui.h (allocate_gui_item): ANSIfy
1167 * mule-ccl.c (resolve_symbol_ccl_program): Make static
1168 * realpath.c: Remove K&R support.
1169 * redisplay-x.c (x_output_display_block): Don't shadow previous local
1170 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
1171 * gutter.c (get_gutter_coords): Make static.
1172 * lread.c (locate_file_map_suffixes): Make static.
1173 * ralloc.c (relinquish): ANSIfy
1176 Move prototypes from redisplay.c to lisp.h
1178 1999-09-22 Martin Buchholz <martin@xemacs.org>
1180 * glyphs-x.c (x_widget_set_property):
1181 - Remove unnecessary initialization.
1182 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1183 * glyphs-x.c (x_widget_instantiate):
1184 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
1185 * unexelf.c (unexec):
1186 Add cast for C++ compilability.
1189 * ralloc.c (r_alloc_reinit):
1190 SET_FUN_PTR was broken wrt ANSI aliasing!
1191 To compensate, use __typeof__ when using gcc, else live with
1192 possible (but rare) warnings.
1193 * ralloc.c (init_ralloc):
1195 * ralloc.c: Use the real dlmalloc prototype for __morecore.
1196 * lread.c (locate_file_map_suffixes):
1197 * input-method-xlib.c (XIM_init_frame):
1198 - Xlib functions should use XPointer, not XtPointer.
1199 * input-method-xlib.c (XIM_delete_frame):
1200 - Xlib functions should use XPointer, not XtPointer.
1201 * input-method-xlib.c (IMDestroyCallback):
1203 - XFRAME (obj) can never be NULL, so don't test for it.
1205 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
1206 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
1207 Run c-backslash-region on macro body.
1208 * gutter.c (gutter_was_visible):
1209 Remove redundant parens - this is not a macro.
1210 * gutter.c (redraw_exposed_gutters):
1211 Use GUTTER_POS_LOOP.
1212 * gutter.c (gutter_specs_changed):
1213 Use GUTTER_POS_LOOP.
1214 * gutter.c (gutter_geometry_changed_in_window):
1215 Use GUTTER_POS_LOOP.
1216 * gutter.c (update_frame_gutters):
1217 Use GUTTER_POS_LOOP.
1218 * gutter.c (init_frame_gutters):
1219 Use GUTTER_POS_LOOP.
1220 * file-coding.c (determine_real_coding_system):
1221 Fix C++ compile error.
1222 * emodules.c (find_make_module):
1223 Cast return value from xrealloc
1224 * emacs.c (Fkill_emacs):
1225 Use __typeof__, when available.
1226 * emacs.c (voodoo_free_hook):
1227 Use __typeof__, when available.
1228 (Unfortunately, the type of __free_hook is glibc-version-dependent)
1229 * dired.c (user_cache): Use Bufbyte *, not char *
1230 * dired.c (Fuser_name_all_completions): Ditto.
1232 1999-09-22 Andy Piper <andy@xemacs.org>
1234 * redisplay.c (redisplay_frame): reset the gutter display lines
1235 when we reset the subwindows.
1237 * gutter.c (reset_gutter_display_lines): new function.
1239 * window.c (Flast_nonminibuf_window): new function equivalent to
1240 FRAME_LAST_NONMINIBUF_WINDOW ().
1241 (syms_of_window): declare it.
1243 * redisplay.c (create_string_text_block): don't add bogus eol
1244 markers to gutter display lines.
1246 * glyphs.c (reset_subwindow_cachels): make sure we unmap
1247 subwindows using unmap_subwindow so that expose events get
1248 registered correctly.
1250 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
1251 determine how much to scroll the window.
1252 (vars_of_window): Vwindow_pixel_scroll_increment is a new
1255 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
1257 * glyphs-x.c (update_widget_face): Guard fontList declaration for
1260 1999-09-20 Andy Piper <andy@xemacs.org>
1262 * glyphs-msw.c (mswindows_update_subwindow): update faces.
1264 1999-09-19 Andy Piper <andy@xemacs.org>
1266 * glyphs.c (update_frame_subwindows): update if faces have
1269 * glyphs-x.c (x_widget_instantiate): create the clip widget using
1270 lwlib rather than directly.
1271 (x_finalize_image_instance): delete the clip widget using lwlib.
1272 (x_update_subwindow): update widget faces.
1273 (update_widget_face): new function for updating the face
1274 properties of a widget.
1275 (x_widget_set_property): update widget faces.
1277 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
1278 manage the clip widgets using lwlib so that we can delete them in
1281 1999-09-16 Martin Buchholz <martin@xemacs.org>
1285 Define new, potentially faster INT arithmetic macros
1286 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
1287 * bytecode.c (execute_optimized_function):
1290 * bytecode.c (bytecode_negate):
1291 Optimize for integer case.
1293 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1295 * m/mips.h: Support for mips-linux: Add !linux around places
1296 that are not valid for linux, define TEXT_START, DATA_START,
1299 1999-09-16 Andy Piper <andy@xemacs.org>
1301 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
1302 that don't completely fit on-screen rather than just unmapping
1305 * glyphs.h: change signature of map_subwindow.
1307 * glyphs.c (map_subwindow): add display_glyph_area to the
1308 signature. make sure the mapped area saved in the subwindow_cachel
1310 (Fforce_subwindow_map): make a no-op. I don't think this does
1313 * glyphs-x.h (struct x_subwindow_data): save the Display rather
1314 than the Screen. Add a clipwindow and clipwidget handle.
1315 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
1316 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1317 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1318 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
1320 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
1321 as well as the widget itself.
1322 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
1323 than the widgets and subwindows themselves. move the widget inside
1325 (x_subwindow_instantiate): hold onto the Display rather than the
1326 Screen. allocate a clipwindow to put the subwindow inside.
1327 (x_resize_subwindow): use saved Display directly.
1328 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
1329 to put widgets inside.
1331 * glyphs-widget.c: remove group stuff.
1333 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
1334 hold the clipwindow.
1335 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
1336 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
1338 * glyphs-msw.c: remove group stuff.
1339 (mswindows_finalize_image_instance): destroy clipwindow as well as
1341 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
1343 (mswindows_map_subwindow): ditto. move the widget within the
1345 (mswindows_subwindow_instantiate): allocate and initialize
1346 mswindows_subwindow_data. allocate a clipwindow with the subwindow
1348 (mswindows_widget_instantiate): ditto.
1349 (mswindows_control_wnd_proc): new function that allows us to
1350 propagate events from the widget to the main windows control loop.
1352 * device-msw.c (mswindows_init_device): register new widget clip window
1355 * console.h (struct console_methods): add display_glyph_area to
1358 * console-msw.h: declare new window class and wnd proc for
1361 1999-09-14 Martin Buchholz <martin@xemacs.org>
1365 Move symbols used only by eldap.c into eldap.c as statics.
1367 1999-09-09 Martin Buchholz <martin@xemacs.org>
1369 * window.c (syms_of_window):
1370 * symbols.c (syms_of_symbols):
1371 * redisplay.c (syms_of_redisplay):
1372 * print.c (syms_of_print):
1374 * intl.c (syms_of_intl):
1375 * general.c (syms_of_general):
1376 * frame.c (syms_of_frame):
1377 * fileio.c (syms_of_fileio):
1379 * file-coding.c (syms_of_file_coding):
1380 * extents.c (syms_of_extents):
1381 * event-stream.c (syms_of_event_stream):
1382 * event-stream.c (Fnext_event):
1383 * device.c (syms_of_device):
1384 * data.c (syms_of_data):
1385 * casetab.c (syms_of_casetab):
1386 * casetab.c (check_case_table):
1387 * callint.c (syms_of_callint):
1388 * buffer.c (syms_of_buffer):
1389 Delete unused C symbols:
1390 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
1391 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
1392 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
1393 Qcommand_execute, Qglyph_invisible,
1394 Qbuffer_file_coding_system, Qfile_name_handler_alist,
1395 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
1396 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
1397 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
1398 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
1400 Rename symbols as required by the CHECK_RECORD macro:
1401 - Qcase_table_p to Qcase_tablep
1402 - Qcoding_system_p to Qcoding_systemp
1405 * debug.c (syms_of_debug):
1406 Make debug.c's internal Lisp_Objects static.
1408 * events.c (vars_of_events):
1409 * events.c (syms_of_events):
1410 Use regular old defsymbol instead of KEYSYM + staticpro().
1412 * select-x.c (CHECK_CUTBUFFER):
1413 Rewrite in accordance with coding standards.
1415 * keymap.c (syms_of_keymap):
1416 Use SPC in the same way as RET, TAB, etc.
1418 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
1420 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
1421 offset twice if HAVE_WMCOMMAND is defined.
1423 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
1425 * redisplay-x.c (x_output_vertical_divider): make sure
1426 shadow_thickness is positive.
1428 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
1430 * process-nt.c (nt_create_process): fixup to cope with
1431 Vprocess_environment.
1433 1999-09-02 Andy Piper <andy@xemacs.org>
1435 * redisplay-output.c (redisplay_output_layout): call output
1436 routines with clear_clip false. output layout borders with text
1439 * redisplay-msw.c (mswindows_output_blank): call output routines
1440 with clear_clip true.
1441 (mswindows_output_string): ditto.
1442 (mswindows_output_display_block): ditto.
1444 * redisplay-x.c (x_output_display_block): call output routines
1445 with clear_clip true.
1447 * redisplay.h: fix output routines for clear_clip parameter.
1449 * redisplay-output.c (redisplay_output_layout): cope with glyphs
1452 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
1453 (check_valid_glyph_or_instantiator): renamed from
1454 check_valid_glyph_or_image.
1455 (check_valid_border): allow glyphs or their instantiators.
1456 (check_valid_glyph_or_instantiator_list): renamed from
1457 check_valid_glyph_or_image_list,
1458 (glyph_instantiator_to_glyph): new function. make sure a glyph is
1459 a glyph and not an instantiator.
1460 (substitute_keyword_value): new function. replace a keyword value
1463 1999-09-01 Andy Piper <andy@xemacs.org>
1465 * glyphs.c (string_set_property): new function to set the data of
1467 (image_instantiator_format_create): use it.
1469 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
1471 * fns.c (Fmapc): Rename back to Fmapc_internal.
1473 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
1475 * ntheap.h: CONST (semantically constant) name field of file_data
1478 * unexnt.c (open_output_file): match function definition with
1479 function declaration
1481 * editfns.c: #include "sysfile.h" for getcwd() prototype
1483 * gif_io.c: #include "sysfile.h" for close() prototype
1485 1999-09-02 Martin Buchholz <martin@xemacs.org>
1489 Change the :type keyword to :weakness, for compatibility with the
1490 GNU Emacs 20.5 hash table implementation.
1491 Keep (but don't document) the :type keyword for compatibility.
1492 Obsolete function hash-table-type
1494 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
1496 1999-09-01 Martin Buchholz <martin@xemacs.org>
1498 * floatfns.c (arith_error):
1499 * floatfns.c (range_error):
1500 * floatfns.c (range_error2):
1501 * floatfns.c (domain_error):
1502 * floatfns.c (domain_error2):
1503 * lrecord.h (LRECORDP):
1504 * console-x.h (X_ERROR_OCCURRED):
1505 * console-x.h (HANDLING_X_ERROR):
1506 * chartab.c (CATEGORYP):
1507 * buffer.h (XCHAR_OR_CHAR_INT):
1508 Remove redundant and confusing parentheses.
1510 * redisplay-output.c (redisplay_clear_to_window_end):
1511 Remove redundant initialization.
1516 Move declarations of bevel_modeline() into redisplay.h.
1518 1999-08-30 Olivier Galibert <galibert@pobox.com>
1520 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
1521 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
1522 alignment information for dumped data. Enhance
1523 descriptions. Phase out Vterminal_* variables while
1525 * lrecord.h: Add chained descriptions and automagically-reset
1526 lisp_objects to the description system.
1528 * console-stream.h: Declare the Vterminal_* variables.
1530 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
1531 Vbuffer_local_symbols.
1532 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
1533 Vconsole_local_symbols.
1534 * eval.c: Don't dump Qunbound_suspended_errors_tag.
1535 * lread.c: Don't dump Vread_buffer_stream.
1536 * lstream.c: Don't dump Vlstream_free_list[].
1537 * search.c: Don't dump last_thing_searched.
1538 * window.c: Don't dump minibuf_window and
1539 Vwindow_configuration_free_list[].
1541 * faces.c: Add face description.
1542 * fns.c: Add bit_vector description.
1543 * glyphs.c: Add image specifier description.
1544 * objects.c: Add color, face and face boolean specifiers descriptions.
1545 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
1546 * rangetab.c: Add range table description.
1547 * specifier.c: Add specifier and specifier methods description.
1548 * specifier.h: Add specifier extra description support.
1550 * symbols.c: Fix symbol_value_buffer_local_description.
1552 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
1554 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
1556 * extents.c (extent_remprop): Get extent's plist address
1559 1999-08-31 Andy Piper <andy@xemacs.org>
1561 * xmu.h: define Xmu/Converters.h things.
1563 1999-08-31 Andy Piper <andy@xemacs.org>
1565 * opaque.c (equal_opaque_ptr): define.
1566 (hash_opaque_ptr): define.
1568 * xmu.h: define Xmu/Misc.h things.
1570 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1572 * file-coding.c (determine_real_coding_system): Treat `coding:'
1575 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1577 * file-coding.c (struct decoding_stream): New member `counter'.
1578 (reset_decoding_stream): Initialize `counter'.
1579 (decode_coding_ucs4): Use `counter'.
1580 (decode_coding_utf8): Likewise.
1582 1999-08-31 Andy Piper <andy@xemacs.org>
1584 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
1585 the clip offset doesn't exceed the height we have available to
1588 * window.h (struct window): add top_yoffset and left_xoffset for
1590 (WINDOW_TEXT_TOP_CLIP): new macro.
1592 * window.c (window_scroll): add behaviour for pixel-scrolling of
1595 * redisplay.h (struct display_line): add top_clip.
1596 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
1597 (DISPLAY_LINE_YPOS): ditto.
1599 * redisplay.c (position_redisplay_data_type): add
1600 start_col_xoffset to prepare for pixel-based h-scrolling.
1601 (WINDOW_SCROLLED): new macro.
1602 (next_tab_position): use it.
1603 (add_glyph_rune): use new hscoll vars.
1604 (create_text_block): ditto.
1605 (generate_displayable_area): adjust off-by-one error.
1606 (regenerate_window): take top_clip into account.
1607 (regenerate_window_extents_only_changed): ditto.
1608 (regenerate_window_incrementally): ditto.
1610 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
1611 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
1612 (x_output_string): ditto.
1613 (x_output_blank): ditto.
1614 (x_output_hline): ditto.
1615 (x_output_eol_cursor): ditto.
1617 * redisplay-output.c (output_display_line): allow for
1618 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
1619 DISPLAY_LINE_YEND macros.
1620 (redisplay_output_layout): output strings in layouts correctly.
1621 (redisplay_clear_clipped_region): allow for top_clip.
1622 (redisplay_calculate_display_boxes): ditto.
1624 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
1625 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
1626 (mswindows_output_cursor): ditto.
1627 (mswindows_output_string): ditto.
1628 (mswindows_redraw_exposed_window): ditto.
1629 (mswindows_output_display_block): ditto.
1631 * gutter.c: new specifier type gutter-size.
1632 (gutter_size_validate): validate gutter-size specifier.
1633 (Fgutter_size_specifier_p): predicate for gutter-size.
1634 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
1635 under user contol, like Fredisplay_echo_area.
1636 (syms_of_gutter): add new functions.
1637 (specifier_type_create_gutter): add new specifier.
1638 (specifier_vars_of_gutter): change specifier types of *-height to
1641 * glyphs.c (glyph_width): make work with image instances.
1643 * console.h (struct console_methods): change api of output_string.
1645 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
1646 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1648 1999-08-30 Andy Piper <andy@xemacs.org>
1650 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
1652 (init_image_instance_from_x_image): ditto.
1653 (x_xpm_instantiate): ditto.
1654 (x_colorize_image_instance): ditto. Reported by Richard Cognot
1655 <cognot@ensg.u-nancy.fr>
1657 1999-08-29 Andy Piper <andy@xemacs.org>
1659 * glyphs-x.c (x_widget_instantiate): move font initialisation so
1660 that it doesn't get saved in the user defined args.
1661 (x_tab_control_instantiate): Set the fg color of the tab's
1663 (x_tab_control_set_property): ditto.
1665 1999-08-27 Damon Lipparelli <lipp@primus.com>
1667 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
1668 (XSETTIMEOUT): fixup typo
1670 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
1672 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
1673 Word boundary search looks back instead of forward so that it
1674 doesn't peek over the limit.
1676 1999-08-20 Olivier Galibert <galibert@pobox.com>
1678 * config.h.in: Add PDUMP define.
1679 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
1681 * lrecord.h: Enhance description system.
1682 * alloc.c: Fix vector and string description. Add portable
1683 dumper enumeration fonctions.
1685 * symbols.c: Fix symbols description. Add symbol_value_forward
1687 * eval.c: Add subr description.
1688 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
1690 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
1692 1999-08-20 Olivier Galibert <galibert@pobox.com>
1694 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
1698 * eval.c (eval_in_buffer_trapping_errors):
1699 (run_hook_trapping_errors):
1700 (safe_run_hook_trapping_errors):
1701 (call0_trapping_errors):
1702 (call1_trapping_errors):
1703 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
1704 now takes a non-const void *.
1706 1999-08-20 Olivier Galibert <galibert@pobox.com>
1708 * opaque.c: Remove make_opaque_long.
1710 * opaque.h: Remove everything opaque_long related.
1712 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
1715 * emacs.c (main_1): Remove make_opaque_long from comment.
1717 1999-08-20 Olivier Galibert <galibert@pobox.com>
1719 * event-stream.c (mark_timeout):
1721 (event_stream_generate_wakeup):
1722 (event_stream_resignal_wakeup):
1723 (event_stream_disable_wakeup):
1724 (event_stream_wakeup_pending_p):
1725 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
1727 * events.h (struct Lisp_Timeout): Added.
1729 1999-08-24 Andy Piper <andy@xemacs.org>
1731 * console-x.h: declare new pixmap signatures.
1733 1999-08-23 Andy Piper <andy@xemacs.org>
1735 * glyphs-x.c (x_update_subwindow): make sure the widget size is
1736 maintained after an update.
1738 * event-Xt.c (emacs_Xt_handle_magic_event): use
1739 find_matching_subwindow to check whether the exposure is totally
1740 inside a subwindow, if it is then ignore it.
1742 * glyphs.c (find_matching_subwindow): new function.
1744 * toolbar-x.c (x_draw_blank_toolbar_button): use new
1745 x_output_shadows signature.
1746 (x_output_toolbar_button): use new x_output_x_pixmap signature.
1748 * redisplay.h (struct display_box): new structure.
1749 (struct display_glyph_area): ditto.
1750 declare new display_box functions.
1752 * redisplay-x.c (x_output_pixmap): update for new display
1754 (x_bevel_area): update to allow multiple edge styles and border
1756 (x_output_display_block): update for new display_box stuff and
1758 (x_clear_region): ditto.
1759 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
1760 (console_type_create_redisplay_x): declare new console methods.
1761 (x_output_vertical_divider): update for new bevel_area signature.
1762 (x_output_shadows): update to allow selective drawing of edges.
1764 * redisplay-tty.c (tty_output_display_block): do nothing for
1767 * redisplay-output.c (redisplay_output_subwindow): convert to use
1768 display_box structure, this allows us to put subwindows anywhere
1769 with any offset, useful for layout glyphs.
1770 (redisplay_output_layout): new function. output a layout and its
1772 (redisplay_output_pixmap): new modular function combining generic
1773 parts of the X and mswindows versions. convert to use display_box
1775 (redisplay_clear_clipped_region): new function. clear the area a
1776 glyph is going into.
1777 (redisplay_normalize_glyph_area): new function. calculate the
1778 bounds of a display_glyph_area given a display_box.
1779 (redisplay_normalize_display_box): new function. shrink a
1780 display_box to enclose a display_glyph_area.
1781 (redisplay_display_boxes_in_window_p): check whether the input
1782 display_box and display_glyph_area are actually in a window.
1783 (redisplay_calculate_display_boxes): calculate display boxes based
1784 on conventional display_line metrics.
1785 (bevel_modeline): update for new bevel_area signature.
1787 * redisplay-msw.c (mswindows_output_blank): update for new
1789 (mswindows_output_string): ditto.
1790 (mswindows_output_dibitmap): ditto.
1791 (mswindows_output_dibitmap_region): ditto.
1792 (mswindows_output_pixmap): ditto.
1793 (mswindows_bevel_area): update to allow multiple edge styles and
1795 (mswindows_output_display_block): update for new display_box stuff
1797 (mswindows_clear_region): ditto.
1798 (console_type_create_redisplay_mswindows): declare new console methods.
1800 * lisp.h (edge_style): new enum.
1801 declare display_box and display_glyph_area.
1803 * gutter.c (output_gutter): update for new bevel_area signature.
1805 * glyphs.h (image_instance_type): add layout.
1806 (IMAGE_LAYOUT_MASK): ditto.
1807 (LAYOUT_IMAGE_INSTANCEP): new macro.
1808 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
1809 (struct Lisp_Image_Instance): add offsets for layout and the
1810 layout type itself. move mask here also.
1811 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
1812 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
1813 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
1814 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
1816 * glyphs.c (mark_image_instance): update for layouts.
1817 (print_image_instance): ditto.
1818 (image_instance_equal): ditto.
1819 (image_instance_hash): ditto.
1820 (allocate_image_instance): initialise offsets for layout.
1821 (decode_image_instance_type): update for layouts.
1822 (encode_image_instance_type): ditto.
1823 (Fimage_instance_height): ditto.
1824 (Fimage_instance_width): ditto.
1825 (allocate_glyph): ditto.
1826 (glyph_width): allow image instances as an argument. update for layouts.
1827 (glyph_height_internal): ditto.
1828 (syms_of_glyphs): add layout symbols.
1830 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
1831 (IMAGE_INSTANCE_X_MASK): update.
1833 * glyphs-x.c (x_label_instantiate): new function. instantiate a
1835 (image_instantiator_format_create_glyphs_x): initialise new layout
1838 * glyphs-widget.c: new layout type.
1839 (check_valid_orientation): new keyword checker for layouts.
1840 (check_valid_justification): ditto.
1841 (check_valid_border): ditto.
1842 (check_valid_glyph_or_image_list): ditto.
1843 (layout_possible_dest_types): new function for layout glyph type.
1844 (layout_normalize): ditto.
1845 (layout_instantiate): ditto.
1846 (syms_of_glyphs_widget): new keywords for layout.
1847 (image_instantiator_format_create_glyphs_widget): initialise the
1850 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
1852 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
1854 * glyphs-msw.c: declare layout format.
1855 (image_instantiator_format_create_glyphs_mswindows): initialise it.
1857 * general.c: new symbols for layouts.
1859 * console.h (struct console_methods): new console methods for
1860 outputting pixmaps and strings.
1862 1999-08-23 Didier Verna <verna@inf.enst.fr>
1864 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
1865 and `bell_inhibit_time' to `Vbell_inhibit_time'.
1867 1999-08-18 Andy Piper <andy@xemacs.org>
1869 * redisplay-output.c (redisplay_output_subwindow): disable
1872 1999-08-17 Andy Piper <andy@xemacs.org>
1874 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
1875 area to expose or no gutter to display.
1877 1999-08-16 Charles G Waldman <cgw@fnal.gov>
1879 * sound.c: rename `bell_volume' to `Vbell_volume' and
1880 `bell_inhibit_time' to `Vbell_inhibit_time'.
1882 1999-08-13 Charles G Waldman <cgw@fnal.gov>
1884 * sound.c: (bell-inhibit-time): New variable.
1886 (sound-alist): Fix docstring.
1888 1999-08-17 Andy Piper <andy@xemacs.org>
1890 * gui-x.c (button_item_to_widget_value): xstrdup name so that
1893 1999-08-16 Jeff Miller <jmiller@smart.net>
1895 * syntax.c (scan_words): make compile.
1897 1999-08-16 Andy Piper <andy@xemacs.org>
1899 * redisplay-output.c (redisplay_output_subwindow): try and be more
1900 relaxed about clipping possibilities.
1902 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
1903 rather than just the widget_value.
1904 (x_update_subwindow): ditto.
1905 (x_widget_instantiate): ditto.
1907 * gutter.c (output_gutter): shrink current display lines if
1910 1999-08-15 Andy Piper <andy@xemacs.org>
1912 * redisplay.h: declare free_display_lines.
1914 * redisplay.c (free_display_lines): make non-static.
1916 * gutter.c (free_frame_gutters): use free_display_lines instead of
1918 (calculate_gutter_size): ditto.
1920 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1922 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
1924 1999-08-14 Andy Piper <andy@xemacs.org>
1926 * glyphs.c (update_subwindow_cachel): make it less brittle.
1928 1999-08-04 Mike Woolley <mike@bulsara.com>
1930 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
1931 problem in wheelmouse code occurring when the horizontal scrollbar
1932 is enabled but not visible.
1934 1999-08-08 Andy Piper <andyp@beasys.com>
1936 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
1937 (console_type_create_toolbar_mswindows): use it.
1939 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
1941 * redisplay-output.c (redisplay_output_display_block): unmap
1942 subwindows in the block area before outputting the block.
1944 * event-msw.c (mswindows_wnd_proc): check the update rect before
1945 painting and disable expose registration while painting.
1947 * glyphs.c (register_ignored_expose): check
1948 hold_ignored_expose_registration before registering expose events.
1950 * redisplay.c (redisplay_frame): reset the subwindow cache before
1951 displaying the gutter.
1953 * glyphs-msw.c (mswindows_map_subwindow): move the window before
1956 * gutter.c (update_frame_gutters): check for glyphs_changed as if
1957 it is the subwindow cache will have been reset.
1959 1999-08-06 Andy Piper <andyp@beasys.com>
1961 * gui-x.c (button_item_to_widget_value): cope with strings.
1963 * glyphs.h: declare global widget functions.
1964 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
1966 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
1967 here. remove dead code.
1968 (image_instantiator_format_create_glyphs_x): enable combo boxes
1971 * glyphs-widget.c (widget_instantiate_1): make non-static.
1972 (tree_view_instantiate): renamed from combo_box_instantiate.
1973 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
1975 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
1976 initialization here.
1978 * lwlib-Xm.c (xm_update_combo_box): new function.
1979 (xm_update_one_widget): call it.
1980 (xm_update_one_value): deal with combo boxes as well as lists.
1981 (xm_create_combo_box): create a drop-down combo box.
1983 * toolbar-msw.c (mswindows_output_toolbar): call
1984 mswindows_move_toolbar.
1986 1999-08-05 Andy Piper <andyp@beasys.com>
1988 * window.c (Fcurrent_pixel_column): new function. use display
1989 lines to calculate pixel position of point.
1990 * window.c (syms_of_window): declare it.
1992 1999-08-05 Andy Piper <andy@xemacs.org>
1994 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
1995 contained in our ignore list.
1997 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
1998 (syms_of_buffer): declare record-buffer-hook.
2000 * s/mingw32.h: define mousewheel things.
2002 1999-08-04 Mike Woolley <mike@bulsara.com>
2004 * windowsnt.h (_WIN32_WINNT): enable for win95
2006 * s/cygwin32.h: define mousewheel things.
2008 * scrollbar-msw.h: declare mousewheel handler.
2010 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
2012 1999-08-04 Andy Piper <andy@xemacs.org>
2014 * gui-x.c (gui_items_to_widget_values): remove unused variable.
2015 (gui_items_to_widget_values_1): ditto.
2017 * gui-x.h: unconditionally define since it is used everywhere.
2019 1999-08-04 Andy Piper <andy@xemacs.org>
2021 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
2022 have that type of image.
2024 1999-07-30 Andy Piper <andy@xemacs.org>
2026 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
2027 subwindow to not unmap if required.
2028 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
2029 (redisplay_unmap_subwindows_except_us): new function.
2030 (redisplay_output_subwindow): use it to unmap windows in the area
2031 we are displaying into.
2033 * glyphs.c (update_subwindow_cachel_data): always update as we
2034 only ever get called when an update is required.
2035 (update_subwindow_cachel): new function. sync a subwindow with its
2037 (Fresize_subwindow): use it.
2038 (register_ignored_expose): make sure we set the tail correctly.
2040 1999-07-28 Andy Piper <andy@xemacs.org>
2042 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
2045 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
2048 * gui.h: declare parse_gui_item_tree_list and
2049 parse_gui_item_tree_children.
2051 * gui.c (parse_gui_item_tree_item): new function for parsing item
2052 lists into gui-item trees.
2053 (parse_gui_item_tree_children): ditto.
2054 (parse_gui_item_tree_list): ditto.
2056 * gui-x.h: declare gui_items_to_widget_values.
2058 * gui-x.c (gui_items_to_widget_values_1): new function for
2059 recursively parsing gui-items into widget_values.
2060 (gui_item_children_to_widget_values): ditto.
2061 (gui_items_to_widget_values): ditto.
2062 (sanity_check_lwlib): add widgets macrolets.
2064 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
2065 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
2066 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
2067 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
2068 (struct expose_ignore): new structure for storing ignorable expose
2071 * glyphs.c (valid_image_instantiator_format_p): fix so that using
2072 a console-type as a locale works.
2073 (mark_image_instance): ITEM->ITEMS.
2074 (image_instance_equal): ditto.
2075 (image_instance_hash): ditto.
2076 (struct expose_ignore_blocktype): new blocktype.
2077 (check_for_ignored_expose): new function. checks frame exposure
2078 list for events to ignore.
2079 (register_ignored_expose): new function. registers an expose event
2081 (unmap_subwindow): register the expose event as ignorable.
2082 (vars_of_glyphs): initialise the exposure blocktype.
2084 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
2085 (x_update_subwindow): modify all widgets using widget_value tree
2086 rather than just a single widget value.
2087 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
2088 make sure widgets don't resize themselves.
2089 (x_tab_control_instantiate): new function. use lwlib tab functions.
2090 (x_tab_control_set_property): new function.
2091 (image_instantiator_format_create_glyphs_x): add tab_control.
2093 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
2094 slightly more sensibly.
2095 (initialize_widget_image_instance): ITEM->ITEMS.
2096 (widget_instantiate_1): parse gui items generically into the ITEMS
2099 * glyphs-msw.c (mswindows_update_subwindow): replace
2101 (mswindows_register_widget_instance): ditto.
2102 (add_tree_item): modify to use new pre-initialised gui-item
2104 (add_tab_item): ditto.
2105 (mswindows_tab_control_instantiate): ditto.
2106 (mswindows_tab_control_set_property): ditto.
2107 (image_instantiator_format_create_glyphs_mswindows): predicate
2108 existance of widgets on HAVE_WIDGETS.
2110 * frame.h (struct frame): add subwindow_exposures variables.
2112 * frame.c (allocate_frame_core): reset subwindow_exposures links.
2114 * event-msw.c (mswindows_wnd_proc): check for ignored
2115 expose events before redrawing.
2117 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
2118 expose events before redrawing.
2120 1999-07-30 SL Baur <steve@xemacs.org>
2122 * scrollbar-x.c: should include EmacsFrame.h.
2123 From Jeff Miller <jmiller@smart.net>
2125 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
2127 * XEmacs 21.2.19 is released
2129 1999-07-27 Jeff Miller <jmiller@smart.net>
2131 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
2132 menubar_show_keybindings.
2134 1999-07-23 SL Baur <steve@miho>
2136 * mule-charset.c (syms_of_mule_charset): Delete duplicated
2137 definition of Qccl_program.
2139 * mule-ccl.h: Make a global declaration of it here.
2141 1999-07-20 Bob Weiner <weiner@beopen.com>
2143 * s/sco7.h: Added from rr@sco.com.
2145 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2147 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
2149 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
2151 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
2152 (mule_encode): Likewise.
2154 * mule-ccl.c (Qccl_program): New variable.
2155 (CCL_SUSPEND): New macro.
2156 (CCL_INVALID_CMD): New macro.
2157 (CCL_READ_CHAR): Don't regard as invalid command while processing
2158 the last block even if input is empty; use
2159 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
2160 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
2162 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
2163 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
2164 (CCL_STAT_SUSPEND_BY_DST): Likewise.
2165 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
2166 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
2168 1999-05-04 Ken'ichi Handa <handa@gnu.org>
2170 * mule-ccl.h (struct ccl_program): New member stack_idx.
2172 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
2173 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
2175 (setup_ccl_program): Initialize ccl->stack_idx to 0.
2177 1998-10-12 Kenichi Handa <handa@etl.go.jp>
2179 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
2182 1998-08-18 Kenichi Handa <handa@etl.go.jp>
2184 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
2185 processing the last block, don't just finish but processes eol
2186 block of the current CCL program.
2187 (ccl_driver): Add a new jump label ccl_repeat for the above
2190 1998-04-15 Kenichi Handa <handa@etl.go.jp>
2192 * mule-ccl.c: Typo in comments fixed.
2193 (Qccl_program_idx): New variables.
2194 (CCL_ReadMultibyteChar2): Macro name changed from
2195 CCL_ReadMultibyteCharacter.
2196 (CCL_WriteMultibyteChar2): Macro name changed from
2197 CCL_WriteMultibyteChar2.
2198 (ccl_driver): Adjusted for the above changes.
2199 (resolve_symbol_ccl_program): New function.
2200 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
2201 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
2202 numbers by resolve_symbol_ccl_program.
2203 (Fccl_execute_on_string): Likewise.
2204 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
2205 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
2207 1998-01-21 Kenichi Handa <handa@etl.go.jp>
2209 * mule-ccl.h: (struct ccl_program): New member private_state.
2212 (CCL_Call): Fix the comment.
2213 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
2214 macros for CCL Commands.
2216 (ccl_driver): New case lable `CCL_Extention'.
2217 (setup_ccl_program): Initialize the member `private_state' of CCL.
2219 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
2221 * keymap.c (copy_keymap_internal): Inherit the default binding.
2223 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
2225 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
2226 focus the event (XIM_focus_event).
2227 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
2228 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
2229 the interface for future use (XIM_SetGeometry).
2230 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
2231 location (XIM_SetSpotLocation).
2232 (x_output_eol_cursor): Ditto.
2234 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2236 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
2237 Olivier's change to lrecord.h of 1999-04-22
2239 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
2241 * gutter.c (redraw_exposed_gutter): Change type of pos from
2242 enum toolbar_pos -> enum gutter_pos, since former is only defined
2243 if toolbar support is.
2245 1999-07-19 Andy Piper <andy@xemacs.org>
2247 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
2250 * gutter.c (gutter_validate): new function for the gutter specifier.
2251 (specifier_type_create_gutter): declare specifier validator.
2253 * buffer.h (INC_CHARBYTIND): add for no error checking version.
2255 1999-07-18 Andy Piper <andy@xemacs.org>
2257 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2259 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
2261 (mswindows_resize_subwindow): new function.
2263 * gutter.c (redraw_exposed_gutter): only reset the
2264 current_display_lines if non-zero.
2265 (Fgutter_pixel_height): new function.
2266 (Fgutter_pixel_width): new function.
2268 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
2269 we want to retrive from the tab control.
2271 1999-07-17 Andy Piper <andy@xemacs.org>
2273 * window.c (change_window_height): mark gutters changed when we're
2276 * gutter.c (specifier_vars_of_gutter): make defaults more
2279 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
2281 (DEFAULT_GUTTER_WIDTH): change.
2282 (DEFAULT_GUTTER_BORDER_WIDTH): change.
2284 1999-07-18 Andy Piper <andy@xemacs.org>
2286 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
2288 1999-07-16 Andy Piper <andy@xemacs.org>
2290 * frame.c (Fmake_frame): call init_frame_gutters().
2292 * redisplay.c (add_emchar_rune): use string functions if we are
2293 working with a string.
2294 (position_redisplay_data_type): add string element.
2296 1999-07-15 Andy Piper <andy@xemacs.org>
2298 * winslots.h: add real_gutter_size slots to hold the actual gutter
2299 size. This is important for autodetected sizes.
2301 * gutter.c (calculate_gutter_size): calculate size for gutters
2302 that have 'autodetect size.
2304 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
2305 extent of divider for gutters.
2307 * redisplay-x.c (x_output_vertical_divider): adjust extent of
2308 divider for gutters.
2310 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
2311 position to take into account the gutters.
2313 * redisplay.c (generate_modeline): adjust modeline position to
2314 take into account the gutters.
2316 1999-07-14 Andy Piper <andy@xemacs.org>
2318 * gutter.c (frame_topmost_window): new function.
2319 (frame_bottommost_window): ditto.
2320 (frame_leftmost_window): ditto.
2321 (frame_rightmost_window): ditto.
2323 1999-07-13 Andy Piper <andy@xemacs.org>
2325 * redisplay.c (calculate_display_line_boundaries): use text
2326 boundaries so that gutters get handled properly.
2328 1999-07-12 Andy Piper <andy@xemacs.org>
2330 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
2333 * redisplay-output.c (redisplay_clear_to_window_end): generalised
2336 * redisplay-x.c (redisplay_clear_to_window_end): moved to
2339 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
2341 * gutter.c: new file - implements gutters. All new functions are
2342 semantically equivalent to the toolbar functions.
2343 (gutter_was_visible): new function.
2344 (get_gutter_coords): ditto.
2345 (output_gutter): ditto.
2346 (clear_gutter): ditto.
2347 (update_frame_gutters): ditto.
2348 (redraw_exposed_gutter): ditto.
2349 (redraw_exposed_gutters): ditto.
2350 (free_frame_gutters): ditto.
2351 (init_frame_gutters): ditto.
2352 (decode_gutter_position): ditto.
2353 (Fset_default_gutter_position): ditto.
2354 (Fset_default_gutter_position): ditto.
2355 (Fdefault_gutter_position): ditto.
2356 (gutter_after_change): ditto.
2357 (Fgutter_specifier_p): ditto.
2358 (recompute_overlaying_specifier): ditto.
2359 (gutter_specs_changed): ditto.
2360 (default_gutter_specs_changed): ditto.
2361 (gutter_geometry_changed_in_window): ditto.
2362 (default_gutter_size_changed_in_window): ditto.
2363 (default_gutter_border_width_changed_in_window): ditto.
2364 (default_gutter_visible_p_changed_in_window): ditto.
2365 (syms_of_gutter): ditto.
2366 (vars_of_gutter): ditto.
2367 (specifier_type_create_gutter): ditto.
2368 (specifier_vars_of_gutter): ditto.
2370 * gutter.h: new file. Contains gutter constants and sizing macros
2371 similar to those for the toolbar.
2373 * winslots.h: add gutter variables.
2375 * window.h: declare window_is_* functions.
2377 * window.c (window_is_lowest): make non-static.
2378 (window_is_highest): ditto.
2379 (window_top_toolbar_height): deleted.
2380 (window_bottom_toolbar_height): deleted.
2381 (window_left_toolbar_width): deleted.
2382 (window_right_toolbar_width): deleted.
2383 (window_top_gutter_height): add gutter sizing.
2384 (window_bottom_gutter_height): ditto.
2385 (window_left_gutter_width): ditto.
2386 (window_right_gutter_width): ditto.
2388 * symsinit.h: declarations for gutters vars etc.
2390 * search.c (bi_find_next_emchar_in_string): new function.
2392 * scrollbar.c (update_scrollbar_instance): remove reference to
2393 window_bottom_toolbar_height which did nothing.
2395 * redisplay.h (struct display_line): add face indices for
2396 overriding defaults in output_display_line.
2397 Add gutter_changed flags and declarations.
2399 * redisplay.c (create_string_text_block): new function, similar to
2400 create_text_block but for strings. Display tables etc are used
2401 from the currently selected window.
2402 (generate_string_display_line): ditto. Similar to
2403 generate_display_line.
2404 (generate_displayable_area): generate display lines for a given
2405 area on a frame. Input is the string, with associated extents, to
2407 (redisplay_frame): add gutter_changed check.
2408 (redisplay_device): ditto.
2409 (redisplay_without_hooks): ditto.
2411 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
2412 (x_redraw_exposed_area): redraw exposed gutters.
2413 (x_bevel_area): new redisplay device method.
2414 (x_type_create_redisplay_mswindows): add bevel_area device method.
2415 (x_output_display_block): fiddly Martin-style cleanup.
2416 (x_output_vertical_divider): use bevel_area.
2418 * redisplay-output.c (output_display_line): check display_lines
2419 for face information before using defaults.
2420 (bevel_modeline): new function, calls bevel_area with appropriate
2423 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
2424 (mswindows_redraw_exposed_area): redraw exposed gutters.
2425 (mswindows_bevel_area): new redisplay device method.
2426 (console_type_create_redisplay_mswindows): add bevel_area device
2429 * indent.c (string_column_at_point): add column_at_point but for
2432 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
2433 instantiate widgets that we have a toolkit for.
2435 * general.c: add Qgutter.
2437 * frame.h (struct frame): add display lines for gutters and
2440 * frame.c (set_frame_selected_window): mark gutters changed.
2442 * emacs.c (main_1): add gutter initialisation.
2444 * device.h (struct device): add gutter_changed flag and macros to
2447 * console.h (struct console_methods): new bevel area redisplay
2450 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
2451 REAL_INC_BYTIND is for buffers.
2452 (INC_CHARPTR): ditto.
2454 * Makefile.in.in (objs): add gutter.o
2456 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
2458 * XEmacs 21.2.18 is released
2460 1999-07-08 SL Baur <steve@mule.m17n.org>
2462 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
2464 (emacs_Xt_handle_magic_event): Ditto.
2465 * redisplay-x.c (x_output_string): Ditto.
2466 (x_output_eol_cursor): Ditto.
2468 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
2470 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
2471 problem that when XIM is destroyed or missed with some reason,
2472 xemacs will die. Now xim=xlib waits the XIM will be ready and
2473 endures the case of XIM end up.
2475 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2477 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
2478 SIGINT and SIGCHLD before calling tt_open and restore the
2479 afterwards. This fixes e.g. the zombie subprocesses on Solaris
2481 1999-07-06 SL Baur <steve@xemacs.org>
2483 * s/linux.h: gcc-2.8 changes for powerpc
2484 From Justin Vallon <vallon@mindspring.com>
2486 1999-07-05 Didier Verna <verna@inf.enst.fr>
2488 * indent.c: new symbol Qcoerce.
2489 (Fmove_to_column): use it + doc string update.
2491 1999-07-04 Andy Piper <andy@xemacs.org>
2493 * console.c: undo earlier Fprovide changes.
2497 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
2498 function. validate appropriate image formats for tty.
2500 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
2501 initialize consoles parameter.
2502 (struct image_instantiator_methods): add consoles parameter.
2503 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
2505 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
2508 * glyphs-msw.c: declare instantiators for later use.
2509 (image_instantiator_format_create_glyphs_mswindows): validate xpm
2510 and friends on the mswindows console.
2511 * glyphs-x.c: ditto.
2513 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
2514 that have not been registered on the supplied device.
2515 (Fvalid_image_instantiator_format_p): add locale argument.
2516 (instantiate_image_instantiator): valid image instantiator on the
2519 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
2522 * emacs.c (main_1): add call to
2523 image_instantiator_format_create_glyphs_tty().
2525 1999-06-29 Olivier Galibert <galibert@pobox.com>
2527 * lisp.h: Add #include <stddef.h>.
2529 * sysdep.c: Remove #include <stddef.h>.
2530 * symbols.c: Remove #include <stddef.h>.
2531 * sheap.c: Remove #include <stddef.h>.
2532 * opaque.c: Remove #include <stddef.h>.
2533 * nt.c: Remove #include <stddef.h>.
2534 * mule-charset.c: Remove #include <stddef.h>.
2535 * marker.c: Remove #include <stddef.h>.
2536 * file-coding.c: Remove #include <stddef.h>.
2537 * extents.c: Remove #include <stddef.h>.
2538 * elhash.c: Remove #include <stddef.h>.
2539 * data.c: Remove #include <stddef.h>.
2540 * chartab.c: Remove #include <stddef.h>.
2541 * bytecode.c: Remove #include <stddef.h>.
2542 * alloc.c: Remove #include <stddef.h>. Fix vector description
2544 1999-06-30 SL Baur <steve@miho.m17n.org>
2546 * editfns.c: Document "%s" format spec.
2547 Suggested by Bob Weiner <weiner@altrasoft.com>
2549 1999-06-29 Andy Piper <andy@xemacs.org>
2551 * event-msw.c: fix definition booboo.
2553 1999-06-28 Andy Piper <andy@xemacs.org>
2555 * glyphs-x.c: change tree -> tree-view, progress ->
2556 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
2558 (complex_vars_of_glyphs_x): provide-on-console the implemented
2561 * glyphs-msw.c: ditto.
2562 (complex_vars_of_glyphs_mswindows): ditto.
2564 * lisp.h: add Fprovide_on_console.
2566 * fns.c (Ffeaturep): add extra optional console argument.
2567 (Fprovide_on_console): like Fprovide but provides only on the
2568 specified console-type.
2569 (Frequire): check console-features as well as global features.
2571 * console.c (Fconsole_features): new function. return features for
2573 (syms_of_console): add Fconsole_features.
2575 * console.h (CONMETH_FEATURES): new function for accessing features.
2576 (CONSOLE_FEATURES): ditto.
2577 (struct console_methods): add features slot.
2578 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
2580 1999-06-28 Andy Piper <andy@xemacs.org>
2582 * event-Xt.c (handle_focus_event_1): conditionally compile for
2585 * s/cygwin32.h: fix me website address.
2587 * event-msw.c: add NMHDR for pre b20 cygwin builds.
2589 * gui-x.c (button_item_to_widget_value): only add callback if it
2592 * glyphs-x.c: add progress, edit and combo instantiators.
2593 (x_widget_set_property): new function. uses lwlib to set widget
2595 (x_widget_property): new function. uses lwlib to get widget
2597 (x_button_instantiate): support images in buttons.
2598 (x_button_property): new function. use lwlib to get the selected
2600 (x_progress_instantiate): new function for instantiating progress
2602 (x_progress_set_property): new function. sets the progress gauge
2604 (x_edit_instantiate): new function. for instantiating edit fields.
2605 (x_combo_instantiate): new function. for instantiating combo
2607 (image_instantiator_format_create_glyphs_x): add new device ii
2610 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
2612 * console.h (CONSOLE_FEATURES): new features accesor.
2614 * conslots.h (MARKED_SLOT): add features entry.
2616 1999-06-25 Andy Piper <andy@xemacs.org>
2618 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
2621 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
2623 * gui.h (struct Lisp_Gui_Item): add accelerator.
2625 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
2626 (gui_item_init): ditto.
2627 (gui_add_item_keywords_to_plist): ditto.
2628 (mark_gui_item): ditto.
2629 (gui_item_hash): ditto.
2630 (gui_item_accelerator): new function.
2631 (gui_name_accelerator): new function stolen from gui-x.c
2633 * gui-x.c (popup_selection_callback): always define. mark
2634 subwindows changed after calling a callback.
2635 (menu_name_to_accelerator): deleted.
2636 (button_item_to_widget_value): forward gui_item things to gui_item
2639 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
2640 appropriate accesors.
2642 * glyphs-x.c: declare new glyph formats.
2643 (x_finalize_image_instance): unmanage and destroy widgets if they
2645 (x_unmap_subwindow): handle widgets specially.
2646 (x_map_subwindow): ditto. offset display of widgets by offset of
2647 text widget within container.
2648 (x_update_subwindow): new function. call lw_modify_all_widgets
2649 when we are a widget.
2650 (x_widget_instantiate): new function for generically creating
2651 widgets-glyphs. toolkit specifics forwarded to lwlib.
2652 (x_button_instantiate): new function for instantiating
2653 widgets-glyph buttons.
2654 (console_type_create_glyphs_x): register update_subwindow.
2655 (image_instantiator_format_create_glyphs_x): register widget and
2658 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
2660 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
2661 when we get a button press in case we do not have the focus.
2662 (handle_focus_event_1): set the keyboard focus to the text widget
2663 if we do not have it.
2665 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
2668 1999-06-24 SL Baur <steve@miho.m17n.org>
2670 * syntax.c (scan_words): Restore non-Mule code.
2671 (word_constituent_p): Restore.
2673 1999-06-23 Olivier Galibert <galibert@pobox.com>
2675 * config.h.in: Add missing #undef *_USER_DEFINED.
2677 1999-06-23 SL Baur <steve@miho.m17n.org>
2679 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
2680 int (fixes a 64-bit problem).
2682 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
2685 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2687 * paths.h.in (PATH_DOC): Made doc-directory configurable.
2689 1999-06-22 Olivier Galibert <galibert@pobox.com>
2691 * lrecord.h: Added basic external description system.
2693 * symbols.c: Added symbol, symbol-value-buffer-local,
2694 symbol-value-lisp-magic and symbol-value-varalias description.
2695 * mule-charset.c: Added charset description.
2696 * marker.c: Added marker description.
2697 * keymap.c: Added keymap description.
2698 * glyphs.c: Added glyph description.
2699 * floatfns.c: Added float description.
2700 * file-coding.c: Added coding-system description.
2701 * extents.c: Added extent description.
2702 * elhash.c: Added hash-table description.
2703 * data.c: Added weak-list desciption.
2704 * chartab.c: Added char-table-entry and char-table description.
2705 * bytecode.c: Added compiled-function description.
2706 * alloc.c: Added cons, vector and string description.
2708 1999-06-22 Olivier Galibert <galibert@pobox.com>
2710 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
2711 Updated everything to the removal of the "flags" substructure.
2713 * lisp.h (subr_lheader_initializer): Updated.
2714 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
2716 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2718 * syntax.c (word_constituent_p): Deleted.
2719 (scan_words): Use `WORD_BOUNDARY_P'.
2721 * chartab.c (Vword_combining_categories): New variable.
2722 (Vword_separating_categories): Likewise.
2723 (CATEGORYP): New macro.
2724 (CATEGORY_SET): Likewise.
2725 (CATEGORY_MEMBER): Likewise.
2726 (word_boundary_p): New function.
2727 (complex_vars_of_chartab): Set up new variable
2728 `word-combining-categories' and `word-separating-categories'.
2730 1999-06-18 Olivier Galibert <galibert@pobox.com>
2732 * lrecord.h: Added description as a placehold in the lrecord
2733 implementation structures. Added the parameter to all constructor
2736 * alloc.c: Added placeholders.
2738 * bytecode.c: Ditto.
2742 * database.c: Ditto.
2747 * event-stream.c: Ditto.
2751 * file-coding.c: Ditto.
2752 * floatfns.c: Ditto.
2760 * mule-charset.c: Ditto.
2764 * rangetab.c: Ditto.
2765 * specifier.c: Ditto.
2768 * tooltalk.c: Ditto.
2771 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2773 * XEmacs 21.2.17 is released
2775 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2777 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2778 (HAVE_LDAP_GET_LDERRNO): Ditto
2779 (HAVE_LDAP_RESULT2ERROR): Ditto
2780 (HAVE_LDAP_PARSE_RESULT): Ditto
2781 (HAVE_UMICH_LDAP): Removed
2782 (HAVE_NS_LDAP): Removed
2784 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2785 suggested by Olivier Galibert
2786 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2788 * eldap.c: Take the removal of `livep' into account in all the
2790 (signal_ldap_error): Take two additional parameters
2791 Added new finer compilation conditions in order to use
2792 ldap_parse_result or ldap_result2error if available
2793 (Fldap_open): Conform to this new API
2794 (Fldap_search_internal): Ditto
2796 1999-06-17 SL Baur <steve@miho.m17n.org>
2798 * data.c (struct int_or_double): Should use EMACS_INT not int.
2800 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2802 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2805 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2807 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2808 `CCL_MODE_ENCODING'.
2810 * file-coding.c (mule_decode): Run `ccl_driver' with
2811 `CCL_MODE_DECODING'.
2812 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2814 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2815 (ccl_driver): Add new argument `conversion_mode'.
2816 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2817 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2818 new optional argument].
2820 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2821 (CCL_MODE_DECODING): New macro.
2822 (ccl_driver): Add new argument `conversion_mode'.
2824 1999-06-15 SL Baur <steve@miho.m17n.org>
2826 * mule-charset.c (Fsplit_char): New subr.
2827 (Fchar_octet): delete.
2828 (syms_of_mule_charset): DEFSUBR it.
2830 1999-06-13 Andy Piper <andy@xemacs.org>
2832 * menubar.h: update declarations involving gui_items.
2834 * lisp.h: declare Lisp_Gui_Item.
2836 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2838 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2839 (print_image_instance): ditto.
2840 (image_instance_equal): ditto.
2841 (image_instance_hash): ditto.
2843 * event-msw.c (mswindows_need_event): assert badly_p status.
2844 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2845 callbacks in tree-view and tab-control widgets.
2846 (emacs_mswindows_next_event): modify use of
2847 mswindows_dequeue_dispatch_event.
2849 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2850 lisp-based gui_items.
2852 * glyphs-msw.c (mswindows_update_subwindow): update use of
2854 (mswindows_register_gui_item): new function.
2855 (mswindows_register_gui_item): fix to use lisp gui_items.
2856 (mswindows_widget_instantiate): ditto.
2857 (mswindows_button_instantiate): ditto.
2858 (add_tree_item): new function to recursively add tree view
2860 (add_tree_item_list): ditto.
2861 (mswindows_tree_instantiate): new function. instantiate tree view
2863 (add_tab_item): new function to add tabs to a tab control.
2864 (mswindows_tab_instantiate): new function. instantiate tab
2866 (image_instantiator_format_create_glyphs_mswindows): add tree view
2868 (vars_of_glyphs_mswindows): ditto.
2870 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2872 (check_valid_item_list): ditto.
2873 (initialize_widget_image_instance): fix to use new lisp gui_item.
2874 (widget_instantiate_1): allow the setting of default textwidth in
2876 (widget_instantiate): change to use new widget_instantiate_1
2878 (combo_instantiate): ditto.
2879 (static_instantiate): ditto.
2880 (tab_instantiate): new function for tab widgets.
2881 (image_instantiator_format_create_glyphs_widget): add tab and tree
2884 * menubar-msw.c (displayable_menu_item): convert to use lisp
2886 (populate_menu_add_item): ditto.
2887 (populate_or_checksum_helper): ditto.
2889 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2891 (Fmenu_find_real_submenu): ditto.
2893 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2895 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2896 objects, convert functions that use them accordingly.
2897 (gui_item_init): ditto.
2898 (gui_item_active_p): ditto.
2899 (gui_item_selected_p): ditto.
2900 (gui_item_included_p): ditto.
2901 (gui_item_display_flush_left): ditto.
2902 (gui_item_display_flush_right): ditto.
2903 (mark_gui_item): ditto.
2904 (allocate_gui_item): new function to create a gui_item.
2905 (make_gui_item_from_keywords_internal): ditto. create and return a
2906 gui_item as well as setting keywords.
2907 (gui_parse_item_keywords): ditto.
2908 (gui_parse_item_keywords_no_errors): ditto.
2909 (gui_add_item_keywords_to_plist): new function, not yet used.
2910 (gui_item_hash): new function.
2911 (gui_item_id_hash): use gui_item_hash.
2912 (gui_item_equal): new function.
2913 (print_gui_item): new function.
2915 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2917 * XEmacs 21.2.16 is released
2919 1999-06-10 Andy Piper <andy@xemacs.org>
2921 * select-msw.c (mswindows_own_selection): only set the clipboard
2923 (mswindows_get_foreign_selection): only get the clipboard if
2925 (mswindows_disown_selection): only disown the clipboard if asked.
2927 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2929 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2931 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2932 of coding-category `no-conversion'.
2934 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2936 * file-coding.c (Qraw_text): New variable.
2937 (syms_of_mule_coding): Add new symbol `raw-text'.
2938 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2939 define coding-system `binary' independently; define coding-system
2940 `no-conversion' as an alias for `raw-text'.
2942 * file-coding.h (Qraw_text): New variable.
2944 1999-06-08 SL Baur <steve@xemacs.org>
2946 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2948 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2950 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2952 (base64_decode_1): Signal errors instead of returning -1.
2954 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2956 * mule-charset.c (Fmake_char): Update docstring.
2958 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2960 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2962 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2964 * fns.c (base64_decode_1): Allow and ignore any non-base64
2965 characters in input.
2967 1999-05-27 Olivier Galibert <galibert@pobox.com>
2969 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2970 of report_pure_usage().
2972 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2974 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2976 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2978 * XEmacs 21.2.15 is released
2980 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2982 * frame.c (Fset_mouse_position):
2983 (Fset_mouse_pixel_position):
2984 * window.c (Fsplit_window):
2985 (Fmove_to_window_line):
2986 Fix crash when invoking functions with an already-deleted window
2989 * indent.c (vertical_motion_1):
2991 (Fvertical_motion_pixels):
2992 * window.c (Fwindow_displayed_text_pixel_height):
2993 Fix error message when invoking functions with an already-deleted
2996 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2998 * sysdep.c (request_sigio_on_device): Guard against glibc
2999 2.1's stub streams implementation.
3001 1999-06-03 SL Baur <steve@xemacs.org>
3004 * emacs.c: Implement x.y.z version numbers
3005 From Jan Vroonhof <vroonhof@math.ethz.ch>
3007 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
3009 * mule-charset.c (complex_vars_of_mule_charset): Registry of
3010 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
3013 1999-06-03 SL Baur <steve@xemacs.org>
3016 * device-x.c: rename session option to wmcommand.
3017 From Oliver Graf <ograf@rhein-zeitung.de>
3019 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3021 * fns.c (Fsubstring): Don't traverse the same region twice with
3022 charcount_to_bytecount().
3024 1999-06-03 SL Baur <steve@steve1.m17n.org>
3026 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
3029 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
3030 doesn't really work as is implied by the commentary).
3031 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
3033 1999-06-02 SL Baur <steve@steve1.m17n.org>
3035 * symsinit.h: Declare vars_of_ntproc.
3036 * emacs.c (main_1): Call it.
3038 * ntproc.c (syms_of_ntproc): Move variable initializations from
3040 (vars_of_ntproc): ... to here [new function].
3042 * file-coding.c (syms_of_file_coding): Rename.
3043 (vars_of_file_coding): Ditto.
3044 (complex_vars_of_file_coding): Ditto.
3046 * symsinit.h: Rename *_mule_coding to *_file_coding.
3048 * emacs.c (main_1): Call them by the proper name.
3050 * device-msw.c (syms_of_device_mswindows): Move variable
3051 initializations from here ...
3052 (vars_of_device_mswindows): ... to here.
3054 * chartab.c (vars_of_chartab): New function.
3056 * symsinit.h: New function, vars_of_chartab.
3058 * emacs.c (main_1): Call it.
3060 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
3061 (vars_of_mule_canna): ... to here.
3063 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
3064 initializations out of syms_of_mule_ccl.
3066 * symsinit.h: Declare new function vars_of_mule_ccl.
3068 * emacs.c (main_1): Call it.
3070 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3072 * fns.c (base64_decode_1): Ignore whitespace.
3074 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
3076 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
3079 1999-05-21 Andy Piper <andy@xemacs.org>
3081 * xselect.c: deleted.
3083 * symsinit.h: declare select initialisation.
3085 * select.h: new file. declare commonly used select functions and
3088 * select.c: new file. generalised from xselect.c.
3089 (clean_local_selection_data): moved from xselect.c.
3090 (get_local_selection): ditto. device specific pieces called via a
3092 (handle_selection_clear): ditto.
3093 (Fown_selection_internal): renamed and generalised from
3094 Fx_own_selection_internal. moved from xselect.c.
3095 (Fdisown_selection_internal): ditto.
3096 (Fselection_owner_p): ditto.
3097 (Fselection_exists_p): ditto.
3098 (Fget_selection_internal): ditto.
3099 (syms_of_select): new function. QXXXX values moved from xselect.c
3100 (vars_of_select): new function. selection_converter_alist,
3101 lost_selection_hooks moved and renamed from xselect.c
3103 * select-x.c: renamed from xselect.c.
3104 (x_own_selection): converted to device specific. non-X-specific
3105 bits moved to select.c.
3106 (x_get_foreign_selection): ditto.
3107 (x_disown_selection): ditto.
3108 (x_selection_exists_p): ditto.
3109 (console_type_create_select_x): new function.
3111 * select-msw.c (mswindows_own_selection): new device method to set
3112 the clipboard when we 'own' the selection.
3113 (mswindows_get_foreign_selection): new device method to get the
3115 (mswindows_disown_selection): new device method to delete the
3116 selection when we 'disown' it.
3117 (console_type_create_select_mswindows): new function.
3119 * emacs.c (main_1): add select to things to initialise.
3121 * console.h (struct console_methods): new console methods for
3124 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
3126 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
3128 * print.c (long_to_string): Install a faster version.
3130 1999-05-16 Andy Piper <andy@xemacs.org>
3132 * ntproc.c (syms_of_ntproc): default
3133 win32-start-process-share-console to t.
3135 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
3137 * config.h.in: Do it here.
3139 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
3141 1999-05-14 Andy Piper <andy@xemacs.org>
3143 * toolbar-msw.c (mswindows_output_toolbar): hash on something
3146 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
3148 * XEmacs 21.2.14 is released
3150 1999-05-12 Andy Piper <andy@xemacs.org>
3152 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
3154 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
3156 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
3157 run_temacs_argv array -- fixes random memory corruption crash
3159 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
3161 * window.c (Fcurrent_window_configuration):
3162 Save minibuffer height;
3164 * window.c (set_window_configuration): use it.
3166 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
3168 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
3170 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
3172 * redisplay.c (redisplay_window): Do not put data
3173 in the line start cache if it is not guaranteed to be correct
3175 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
3177 * window.c (struct window_config): Removed frame
3179 (window_config_equal): No longer compare frame sizes.
3180 (Fset_window_configuration): Resize old top window to fit in the
3181 current frame directly, no longer use a fake frame resize.
3182 (Fcurrent_window_configuration): No longer save frame size
3184 1999-05-11 Andy Piper <andy@xemacs.org>
3186 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
3189 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
3191 * sysdep.c (init_system_name): If gethostname gives a proper
3192 domain name, don't look further for one.
3194 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
3196 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
3197 (Fintern_soft): Accept a symbol argument.
3199 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3201 * symbols.c (Fintern): ...do it here.
3203 * lread.c (read_atom): Don't handle keywords here.
3205 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
3207 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
3209 1999-05-03 Olivier Galibert <galibert@pobox.com>
3211 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
3212 is interned in the main obarray.
3214 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
3216 * menubar-x.c (pre_activate_callback): set accelerator field in
3217 "No menu" entries to nil. Avoid crash in
3218 command_builder_operate_menu_accelerator
3220 1999-05-03 Olivier Galibert <galibert@pobox.com>
3222 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
3224 * lisp.h (DEFUN): Fix lrecord header initialisation.
3226 1999-05-02 Andy Piper <andy@xemacs.org>
3228 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
3230 * ntproc.c (sys_kill): cast using MS mandated defines.
3232 1999-04-29 Andy Piper <andy@xemacs.org>
3234 * m/intel386.h: remove redundant definitions.
3236 * s/mingw32.h: new header for mingw32.
3238 * unexnt.c: (open_input_file): function moved to nt.c.
3239 (close_file_data): ditto.
3240 (rva_to_section): function moved to ntproc.
3242 * symsinit.h: declare syms_of_ntproc();
3244 * objects-msw.c (mswindows_font_instance_truename): new function.
3246 * ntproc.c: remove many warnings.
3247 (_sys_read_ahead): moved from nt.c and made static.
3248 (rva_to_section): moved from unexnt.c but not defined under
3250 (win32_executable_type): implement what we can for mingw32
3252 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
3254 * ntheap.h: remove declarations of functions that are now static.
3256 * ntheap.c: support static heap.
3258 * nt.h: conditionalise X_OK definition.
3260 * nt.c: eliminate many warnings and support mingw32.
3261 (open_input_file): function moved from unexnt.c and made static
3262 (close_file_data): ditto.
3263 (_sys_read_ahead): moved to ntproc.c
3265 * emacs.c: make sure syms_of_ntptroc gets called under windows.
3267 * console-msw.h: support mingw32.
3268 * getloadavg.c: ditto.
3275 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
3276 some systems don't have all of the encapsulated system calls.
3278 * callproc.c: warning elimination.
3279 * dired-msw.c: ditto.
3280 * process-nt.c: ditto.
3281 * realpath.c: ditto.
3283 * Makefile.in.in: tweak : and ; for building under mswindows.
3285 1999-04-26 Michael Harnois <mharnois@willinet.net>
3287 * eldap.c (allocate_ldap): Adapt to the new semantics of
3288 alloc_lcrecord_type().
3290 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3292 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
3294 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3296 * Delete mule-coding.c and mule-coding.h because they are not
3299 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
3301 * objects.c (print_font_instance): Check for NILP(f->device),
3302 i.e. Vthe_null_font_instance.
3303 (font_instance_truename_internal): ditto.
3304 (Ffont_instance_properties): ditto.
3306 1999-04-22 Olivier Galibert <galibert@pobox.com>
3308 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
3311 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3313 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
3314 it easier to add new ones.
3316 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3318 * symbols.c (reject_constant_symbols): Ditto.
3319 (init_symbols_once_early): Ditto.
3321 * print.c (print_symbol): Don't use ->obarray.
3323 * symbols.c (Funintern): Ditto.
3325 * alloc.c (Fmake_symbol): Don't set ->obarray.
3327 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
3329 * symbols.c (init_symbols_once_early): Removed
3330 Vpure_uninterned_symbol_table.
3331 (Fintern): Don't store to ->obarray field.
3333 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
3335 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
3336 (eq_with_ebola_notice): Remove abracadabra support.
3338 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3340 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
3341 retrieve the distinguished names of entries
3343 1999-03-08 Martin Buchholz <martin@xemacs.org>
3345 * lread.c (read_escape): Make hex escapes read only two hex digits.
3347 1999-04-05 Olivier Galibert <galibert@pobox.com>
3349 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
3350 * make-src-depend: Remove puresize-adjust.h.
3351 * src-headers: Remove puresize-adjust.h.
3352 * config.h.in: Kill everything purespace/gung-ho related.
3354 * dbxrc: Make gung-ho mandatory.
3357 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
3358 c_readonly and lisp_readonly. Remove implementation arrays.
3359 (C_READONLY_RECORD_HEADER_P): Added.
3360 (LISP_READONLY_RECORD_HEADER_P): Added.
3361 (SET_C_READONLY_RECORD_HEADER): Added.
3362 (SET_LISP_READONLY_RECORD_HEADER): Added.
3364 * lisp.h: Kill everything purespace/non gung-ho related.
3365 (CHECK_C_WRITEABLE): Added.
3366 (CHECK_LISP_WRITEABLE): Added.
3367 (C_READONLY): Added.
3368 (LISP_READONLY): Added.
3370 * lisp-union.h: Make gung-ho mandatory.
3371 * lisp-disunion.h: Ditto.
3373 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
3374 set_lheader_implementation calls.
3375 (c_readonly): Added.
3376 (lisp_readonly): Added.
3377 (make_string_nocopy): Added.
3378 (Fpurecopy): Changed to do nothing. Kept the old documentation
3379 for reference purposes for the next patches.
3380 (sweep_lcrecords_1): Don't free C readonly lcrecords.
3381 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
3382 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
3384 * fns.c: Make gung-ho mandatory.
3385 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
3387 (Ffillarray): Ditto.
3389 * data.c: Make gung-ho mandatory.
3390 (pure_write_error): Removed.
3391 (c_write_error): Added.
3392 (lisp_write_error): Added.
3393 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
3397 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
3398 make_string or make_string_nocopy. Fix various
3399 alloc_lcrecord_type.
3401 * lread.c: Remove everything purespace related.
3402 (Flocate_file_clear_hashing): purified -> c_readonly.
3403 (locate_file): Ditto.
3404 (read_atom): make_pure_pname -> make_string.
3406 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
3408 (Fdump_emacs): Ditto.
3410 * print.c (print_internal): Make gung-ho mandatory.
3411 * ntheap.c (sbrk): Ditto.
3412 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
3413 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
3415 * sheap.c (more_static_core): Remove puresize-adjust.h from
3418 * syntax.c (complex_vars_of_syntax): make_pure_string ->
3420 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
3421 (vars_of_keymap): make_pure_string -> make_string_nocopy.
3422 * events.c (deinitialize_event): Fix set_lheader_implementation.
3423 (zero_event): Ditto.
3424 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
3425 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
3426 * mule-charset.c (make_charset): Ditto.
3427 * console.c (allocate_console): Ditto.
3428 (complex_vars_of_console): Ditto.
3429 * file-coding.c (allocate_coding_system): Ditto.
3430 * device.c (allocate_device): Ditto
3431 * gui-x.c (gcpro_popup_callbacks): Ditto.
3432 * extents.c (allocate_extent_auxiliary): Ditto.
3433 (allocate_extent_info): Ditto.
3434 (copy_extent): Ditto.
3435 * glyphs.c (allocate_image_instance): Ditto.
3436 (allocate_glyph): Ditto.
3437 * frame.c (allocate_frame_core): Ditto.
3438 * database.c (allocate_database): Ditto.
3439 * tooltalk.c (make_tooltalk_message): Ditto.
3440 (make_tooltalk_pattern): Ditto.
3441 * rangetab.c (Fmake_range_table): Ditto.
3442 (Fcopy_range_table): Ditto.
3443 * process.c (make_process_internal): Ditto.
3444 * chartab.c (Fmake_char_table): Ditto.
3445 (make_char_table_entry): Ditto.
3446 (copy_char_table_entry): Ditto.
3447 (Fcopy_char_table): Ditto.
3448 * elhash.c (make_general_lisp_hash_table): Ditto.
3449 (Fcopy_hash_table): Ditto.
3450 * buffer.c (allocate_buffer): Ditto.
3451 (complex_vars_of_buffer): Ditto.
3452 * event-stream.c (allocate_command_builder): Ditto.
3453 * objects.c (Fmake_color_instance): Ditto.
3454 (Fmake_font_instance): Ditto.
3455 (vars_of_objects): Ditto.
3456 * toolbar.c (update_toolbar_button): Ditto.
3457 * window.c (allocate_window): Ditto.
3458 (make_dummy_parent): Ditto.
3459 (Fcurrent_window_configuration): Fix alloc_lcrecord.
3460 (vars_of_window): Fix make_lcrecord_list.
3461 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
3463 * lstream.c (Lstream_new): Fix make_lcrecord_list.
3464 * opaque.c (make_opaque): Fix alloc_lrecord.
3465 (make_opaque_list): Fix alloc_lrecord_type.
3467 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
3469 * process.c (Fstart_process_internal): Ditto.
3471 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
3474 * glyphs-x.c (x_locate_pixmap_file): Ditto.
3476 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
3479 * emodules.c (vars_of_module): New variable Vmodule_extensions.
3480 (emodules_load): Use it when calling locate_file().
3482 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
3485 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
3486 (vars_of_callproc): Initialize it.
3487 (Fcall_process_internal): Use it when calling locate_file().
3489 * alloc.c (disksave_object_finalization): Use
3490 Flocate_file_clear_hashing().
3492 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
3493 given `t' as argument.
3495 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
3497 * lread.c (locate_file): Expand `pathel' when appropriate.
3498 (Flocate_file_clear_hashing): Expand path elements.
3499 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
3501 * dired.c (make_directory_hash_table): Create the hash-table only
3502 if the directory open is successful.
3504 * lread.c (decode_mode_1): New function.
3505 (decode_mode): Ditto.
3506 (Flocate_file): Use them.
3507 (Flocate_file): Expand FILENAME.
3508 (locate_file_map_suffixes): New function.
3509 (locate_file_in_directory_mapper): New function.
3510 (locate_file_in_directory): Use locate_file_in_directory_mapper()
3511 and locate_file_map_suffixes().
3512 (locate_file_construct_suffixed_files): Use
3513 locate_file_map_suffixes().
3514 (locate_file_without_hash): Don't GCPRO path.
3515 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
3516 (syms_of_lread): Remove Qlocate_file_hash_table.
3517 (locate_file_find_directory_hash_table): Use
3518 Vlocate_file_hash_table.
3519 (locate_file_refresh_hashing): Ditto.
3521 * lread.c: Renamed read_objects to Vread_objects.
3523 1999-04-16 Olivier Galibert <galibert@pobox.com>
3525 * mule-charset.c: Generally resync with fsf 20.3 charset
3527 (make_charset): Add long and short name. Use id instead of
3529 (Fmake_charset): Ditto.
3530 (Fmake_reverse_direction_charset): Ditto.
3531 (Fcharset_property): Ditto.
3532 (Fcharset_short_name): Added.
3533 (Fcharset_long_name): Added.
3534 (Fcharset_description): Renamed from charset-doc-string.
3535 (syms_of_mule_charset): Synced symbols.
3536 (complex_vars_of_mule_charset): Synced charsets.
3538 * mule-charset.h: Removed leading byte (uses id instead), added
3539 short and long name.
3541 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
3543 * file-coding.c (Fdefine_coding_system_alias): New function.
3545 1999-04-08 Olivier Galibert <galibert@pobox.com>
3547 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
3548 and -ascii fonts for displaying ascii instead of iso8859-1 only.
3550 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
3552 * extents.c (set_extent_glyph_1): Make sure that the glyph we
3553 attach to the extent is valid.
3555 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
3557 * dired.c (user_name_completion): Mule-ize.
3558 (user_name_completion): Use xmalloc/xrealloc/xfree.
3559 (user_name_completion): Use DO_REALLOC.
3560 (user_name_completion): Cut down the number of static variables;
3562 (user_name_completion): Username completion is always
3565 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
3567 * fns.c (base64_decode_1): Remove COUNTER.
3568 (base64_decode_1): Accept CRLF in addition to CR.
3569 (base64_decode_1): Disallow a stray character after final EOF; the
3570 check was probably a remnant of buggy recode code.
3572 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
3574 * fns.c (init_provide_once): Provide `base64'.
3576 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
3578 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
3579 (Fbase64_encode_region): If buffer is read-only, bail out early.
3580 (Fbase64_decode_region): Ditto.
3581 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
3583 (Fbase64_encode_string): Ditto.
3584 (Fbase64_decode_region): Ditto.
3585 (Fbase64_decode_string): Ditto.
3587 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3589 * dired.c (Fdirectory_files): Remove redundant code.
3591 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3593 * frame-msw.c Make raise-frame restore minimised windows.
3595 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3597 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
3600 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3602 * toolbar-msw.c Consider captions when deciding whether to rebuild
3603 toolbar. This fixes the initial toolbar display for those of us
3604 who don't like captions. These patches applied by Andy Piper.
3606 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
3608 * XEmacs 21.2.13 is released
3610 1999-03-12 SL Baur <steve@xemacs.org>
3612 * file-coding.c: Guard ucs table initialization with ifdef MULE.
3614 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
3616 * file-coding.c: docstring and comment improvements.
3617 (decode_ucs4) flag possible data loss with comment.
3619 1999-03-10 Martin Buchholz <martin@xemacs.org>
3621 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
3625 (decode_coding_ucs4):
3626 (encode_coding_ucs4):
3627 (detect_coding_utf8):
3628 (decode_coding_utf8):
3630 (encode_coding_utf8):
3631 Add CHECK_* macros where needed to avoid crashes.
3632 #ifdef out all composite character support using
3633 #ifdef ENABLE_COMPOSITE_CHARS
3634 Use normal XEmacs coding standards.
3636 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
3638 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3640 * file-coding.c (make-coding-system): Add description about
3641 `ucs-4' and `utf-8'.
3642 (detection_state): Modify to implement ucs-4 and utf-8.
3643 (detect_coding_type): Likewise.
3644 (detect_coding_ucs4): New implementation.
3645 (detect_coding_utf8): New implementation.
3646 (encode_utf8): fixed.
3647 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
3650 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3652 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
3653 2022 registry to private area.
3655 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3657 * file-coding.c (encode_utf8): New function.
3658 (encode_coding_utf8): New implementation.
3660 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3662 * file-coding.c (ucs_to_mule_table): New variable; abolish
3663 `Vucs_to_mule_table'
3664 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
3665 (set-ucs-char): New function.
3666 (ucs_to_char): New function.
3667 (ucs-char): New function.
3668 (set-char-ucs): New function.
3669 (char-ucs): New function.
3670 (decode_ucs4): Use `ucs_to_char'.
3671 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
3672 `mule-to-ucs-table'.
3674 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3676 * chartab.h: EXFUN `Fget_char_table'.
3678 * file-coding.c (encode_ucs4): New function.
3679 (encode_coding_ucs4): Use `encode_ucs4'.
3681 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3683 * file-coding.c (decode_coding_ucs4): New implementation.
3685 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3687 * file-coding.c (decode_coding_ucs4): fixed.
3689 * file-coding.c (Vmule_to_ucs_table): New variable.
3690 (mule_char_to_ucs4): New function.
3691 (encode_coding_ucs4): New implementation.
3692 (complex_vars_of_mule_coding): Define variable
3693 `mule-to-ucs-table'.
3695 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3697 * file-coding.c (decode_coding_utf8): New implementation.
3699 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3701 * file-coding.c (decode_coding_utf8): fixed.
3703 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3705 * file-coding.c (Vucs_to_mule_table): New variable.
3706 (decode_ucs4): Refer `Vucs_to_mule_table'.
3707 (complex_vars_of_mule_coding): Define variable
3708 `ucs-to-mule-table'.
3710 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3712 * file-coding.c (detect_coding_ucs4): New function (not
3714 (decode_coding_ucs4): New function.
3715 (encode_coding_ucs4): New function (not implemented yet).
3716 (detect_coding_utf8): New function (not implemented yet).
3717 (decode_coding_utf8): New function.
3718 (encode_coding_utf8): New function (not implemented yet).
3719 (make-coding-system): New type `ucs4' and `utf8'.
3720 (coding-system-type): Likewise.
3721 (detection_state): Add `ucs4' and `utf8'.
3722 (detect_coding_type): Likewise.
3723 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
3724 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
3725 (decode_ucs4): New function (very incomplete).
3726 (syms_of_mule_coding): Add `ucs4' and `utf8'.
3728 * file-coding.h: Add definitions for UCS-4 and UTF-8.
3730 1999-03-08 Martin Buchholz <martin@xemacs.org>
3733 (non_ascii_valid_char_p):
3734 (lookup_composite_char):
3735 (composite_char_string):
3736 (make-composite-char):
3737 (composite-char-string):
3738 (syms_of_mule_charset):
3739 (complex_vars_of_mule_charset):
3740 * mule-charset.h (LEADING_BYTE_COMPOSITE):
3741 (CHAR_LEADING_BYTE):
3743 * file-coding.h (CODING_STATE_COMPOSITE):
3744 (CODING_STATE_ISO2022_LOCK):
3746 (LEADING_BYTE_COMPOSITE):
3747 * file-coding.c (struct iso2022_decoder):
3750 (parse_iso2022_esc):
3751 (encode_coding_iso2022):
3752 #ifdef out all composite character support using
3753 #ifdef ENABLE_COMPOSITE_CHARS
3755 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3757 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3759 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3760 way of `Fbase64_encode_region'.
3762 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3764 * fns.c (base64_encode_1): Don't add a newline at the tail.
3766 1999-03-08 Andy Piper <andy@xemacs.org>
3768 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3771 1999-03-07 Martin Buchholz <martin@xemacs.org>
3773 * console-stream.h (struct stream_console):
3774 * event-unixoid.c (event_stream_unixoid_select_console):
3775 (event_stream_unixoid_unselect_console):
3776 * print.c (Fexternal_debugging_output):
3777 * sysdep.c (reset_one_device):
3778 * console-stream.c (stream_init_console):
3779 (stream_delete_console):
3780 (allocate_stream_console_struct): move into stream_init_console.
3781 (free_stream_console_struct): move into stream_delete_console.
3782 Use `fd' only for file descriptors.
3783 Therefore, rename members of struct stream_console.
3785 * systime.h: Unix98 says sys/time.h should define select(), but
3786 some systems define that in unistd.h. So include that file always.
3788 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3789 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3790 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3792 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3796 Add #include <stdio.h>.
3797 Some versions of assert.h use printf() without #include'ing stdio.h
3799 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3800 (log_gcpro): Remove unused variable FRAME.
3801 (show_gcprohist): Ansify.
3802 Comment the #endif's
3804 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3805 after it's just been XtDestroy'ed!
3807 1999-02-18 Martin Buchholz <martin@xemacs.org>
3809 * opaque.c (print_opaque):
3813 Egcs 1.1.1 seems to have a bug where
3814 INTP (p->size_or_chain)
3815 will crash XEmacs. Fix by introducing intermediate variable.
3817 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3819 * dired.c (Fdirectory_files):
3820 (Ffile_name_completion):
3821 (Ffile_name_all_completions):
3822 (file_name_completion):
3823 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3824 avoid compiler warnings.
3825 - Fix up docstrings so that C variables match documentation.
3827 1999-03-05 Martin Buchholz <martin@xemacs.org>
3829 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3830 variables as small as possible to help out the compiler and the maintainer.
3832 * alloc.c: (disksave_object_finalization):
3833 Set all the *-load-path variables to
3834 nil, not just load-path itself. This gets the locate-file hash
3835 tables garbage collected BEFORE dump, and has the side effect of
3836 preventing crashes on OSF4.0+egcs.
3841 - Clean up gdb/dbx debugging support.
3842 - Storing an EMACS_INT in an enum is not 64-bit clean!
3843 - So change the enum to a set of separate variables.
3844 - Add test cases to help debug the debugging support!
3845 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3846 - Both dbx and gdb have been tested now.
3848 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3850 * XEmacs 21.2.12 is released
3852 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3854 * device-x.c: Support to find best visual without flashing.
3856 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3858 * database.c (berkdb_map): Add flags argument to cursor call (must
3859 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3861 1999-03-03 Martin Buchholz <martin@xemacs.org>
3865 General cleanup. Get free-hook.c working again.
3866 Remove unused functions:
3867 make_strings_hash_table, copy_hash, expand_hash_table.
3871 Always use new ANSI-style function prototypes.
3873 * unexalpha.c (unexec): Never use implicit int.
3875 * sgiplay.c (close_sound_file):
3877 (restore_audio_port):
3882 (write_mulaw_8_chunk):
3883 (write_linear_chunk):
3884 (write_linear_32_chunk):
3885 (initialize_audio_port):
3888 (set_output_format):
3889 (adjust_audio_volume):
3890 (get_current_volumes):
3892 Always use new ANSI-style function prototypes.
3893 Use unistd.h for missing prototypes.
3895 * unexelfsgi.c (round_up):
3897 (unexec): Always use new ANSI-style function prototypes
3899 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3901 * console.h (struct console_methods): Always use full ANSI prototypes
3903 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3905 1999-03-02 Andy Piper <andy@xemacs.org>
3907 * event-stream.c (init_event_stream): make sure native mswindows
3908 gets an appropriate event loop.
3910 1999-02-22 Andy Piper <andy@xemacs.org>
3912 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3913 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3914 (mswindows_raise_frame): remove comment.
3916 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3918 * XEmacs 21.2.11 is released
3920 1999-02-25 SL Baur <steve@xemacs.org>
3922 * mule-charset.c (Qleading_byte): New variable to implement
3923 charset-leading-byte function.
3924 (Fcharset_property): Use it.
3925 (syms_of_mule_charset): Initialize it.
3926 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3928 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3930 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3931 bytes per pixel counting.
3933 1999-02-15 Andy Piper <andy@xemacs.org>
3935 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3938 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3940 * fns.c (Fbase64_encode_string): New optional argument
3943 1999-02-16 Martin Buchholz <martin@xemacs.org>
3945 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3946 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3948 1999-02-10 Martin Buchholz <martin@xemacs.org>
3950 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3951 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3953 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3955 * XEmacs 21.2.10 is released
3957 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3959 * process-nt.c (nt_send_process):
3960 Fix for process-send-region/process-send-string breaking when size
3961 of the input > 128 chars: change maximum chunk size for process
3962 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3965 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3967 * XEmacs 21.2.9 is released
3969 1999-01-30 Martin Buchholz <martin@xemacs.org>
3971 * bytecode.c (funcall_compiled_function): Call
3972 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3974 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3975 #ifdef 0 out unused macro.
3977 1999-01-27 Martin Buchholz <martin@xemacs.org>
3979 * gui.c (gui_parse_item_keywords_internal): Make static.
3981 1999-01-21 Andy Piper <andy@xemacs.org>
3983 * glyphs-msw.c: add xface support.
3984 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3985 (image_instantiator_format_create_glyphs_mswindows): do device
3986 specific initialisation for xfaces.
3987 (xbm_create_bitmap_from_data): line data must be padded to a word
3990 * glyphs-x.c (xface_validate): moved to glyphs.c
3991 (xface_normalize): ditto.
3992 (xface_possible_dest_types): ditto.
3993 (image_instantiator_format_create_glyphs_x): do device specific
3994 initialisation for xfaces.
3996 * glyphs.h: declare xface symbol.
3998 * glyphs.c: move generic xface support here.
3999 (xface_validate): moved from glyphs-x.c
4000 (xface_normalize): ditto.
4001 (xface_possible_dest_types): ditto.
4002 (image_instantiator_format_create): xface declarations moved from
4005 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
4007 * event-stream.c (vars_of_event_stream): Fixing documentation.
4009 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
4011 * glyphs-eimage.c (gif_instantiate): Correct handling of
4012 interlaced gifs to avoid writing past the end of the eimage
4015 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
4017 * search.c (Freplace_match): Handle single backslash at end of
4020 1999-01-12 William M. Perry <wmperry@aventail.com>
4022 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
4023 avoid connection errors.
4025 1999-01-12 Andy Piper <andy@xemacs.org>
4027 * redisplay-output.c (redisplay_update_line): backout change that
4028 shouldn't have gone ine.
4030 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4032 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
4033 collide with ldap.el
4035 1999-01-11 Andy Piper <andy@xemacs.org>
4037 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
4038 (DISPLAY_LINE_YPOS): new macro.
4040 * redisplay-msw.c (mswindows_output_string): use it.
4041 (mswindows_output_pixmap): ditto.
4042 (mswindows_output_display_block): ditto.
4044 * redisplay-output.c (redisplay_output_display_block): new
4045 function. just call the devmeth, maybe insert some generic code
4047 (compare_display_blocks): use it.
4048 (output_display_line): ditto.
4049 (redisplay_unmap_subwindows_maybe): new function. potentially
4050 unmap subwindows in the given area.
4052 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
4055 1999-01-10 J. Kean Johnston <jkj@sco.com>
4057 * Makefile.in.in: Set value of moduledir
4058 - Changed DUMPENV to include $(MODULEPATH)
4059 - Added install rule to install header files for use by ellcc.
4061 * config.h.in: Added INHIBIT_SITE_MODULES
4062 - Added HAVE__DLERROR
4063 - Added HAVE_DLFCN_H
4064 - Added DLSYM_NEEDS_UNDERSCORE
4068 * emodules.c: New file containing dynamic loading code.
4070 * emodules.h: New file.
4072 * emacs.c: Added variables Vmodule_directory,
4073 Vsite_module_directory, Vconfigure_module_directory and
4074 Vconfigure_site_module_directory.
4075 - (main_1): Added new variable inhibit_site_modules and command
4076 line options `-no-site-modules' and `--no-site-modules'.
4077 - (main_1): Call syms_of_module() instead of syms_of_dll().
4078 - (main_1): Call vars_of_module().
4079 - (vars_of_emacs): Introduce inhibit-site-modules,
4080 module-directory, configure-module-directory,
4081 site-module-directory, and configure-site-module-directory to the
4084 * lisp.h: Declare load_module and list_modules, as well as
4085 Vmodule_directory, Vsite_module_directory,
4086 Vconfigure_module_directory and Vconfigure_site_module_directory.
4088 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
4089 - Added correct support for site-lisp directory.
4091 * symbols.c (defsubr): Modified to allow modules to add new subrs
4093 - (defsubr_macro): Same.
4094 - (defvar_magick): Only use purespace when not initialized, so
4095 that loaded modules can still add symbols.
4097 * symsinit.h: Add definitions for syms_of_module(),
4098 vars_of_module(). Removed syms_of_dll().
4100 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
4101 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
4102 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
4104 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
4105 explicitly pass -belf for native cc.
4107 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
4108 hard-coding the library name.
4110 1999-01-01 <martin@xemacs.org>
4112 * device-x.c (Fx_set_font_path):
4113 Add proper cast to permit compilation under C++.
4115 * buffer.c (directory_is_current_directory):
4116 Add proper casts to permit compilation under C++.
4118 1998-12-30 Damon Lipparelli <lipp@primus.com>
4120 * event-msw.c (mswindows_wnd_proc):
4121 Fixed failure when building with MSVC 5.
4123 1998-12-29 Martin Buchholz <martin@xemacs.org>
4125 * file-coding.c (decode_coding_iso2022):
4126 - Prevent crash when decoding ISO7/Lock detected files
4127 - the usual martin fiddling
4129 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
4133 Fixed failures when building with MSVC.
4134 * unexnt.c (dump_bss_and_heap):
4135 Removed compiler warning by removing bss_data variable.
4137 1998-12-18 Jim Radford <radford@robby.caltech.edu>
4139 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
4140 so that packages that distribute their own fonts can access them.
4142 1998-12-28 Andy Piper <andy@xemacs.org>
4144 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
4145 that have an image provided.
4147 * glyphs.h: add Q_image decl.
4149 * glyphs-widget.c new functionality allowing images in
4151 (check_valid_glyph_or_image): new function to validate
4152 glyphs passed in through :image.
4153 (widget_normalize): new function. convert :image parameters into
4154 real glyphs if not already so.
4155 (widget_instantiate_1): mess with size parameters to be similar to
4157 (syms_of_glyphs_widget): new keyword :image.
4158 (image_instantiator_format_create_glyphs_widget): normalize
4159 buttons and allow :image.
4161 1998-12-27 Andy Piper <andy@xemacs.org>
4163 * frame-msw.c (mswindows_init_frame_1): warning elimination.
4165 * glyphs-widget.c (check_valid_anything): no-op function.
4166 (check_valid_callback): check callbacks in gui_items.
4167 (check_valid_symbol): as it sounds.
4168 (check_valid_string_or_vector): ditto.
4169 (widget_validate): modified for descriptors that are vectors or
4170 sequences of keyword/val pairs.
4171 (widget_instantiate_1): ditto.
4172 (image_instantiator_format_create_glyphs_widget): allow gui_item
4173 keywords in the instantiator.
4175 * gui.c (gui_parse_item_keywords_internal): renamed from
4176 gui_parse_item_keywords but taking error behaviour.
4177 (gui_parse_item_keywords): use it.
4178 (gui_parse_item_keywords_no_errors): ditto.
4179 (gui_item_add_keyval_pair): add Error_behavior flag and only
4180 signal invalid keywords if required.
4182 * gui.h: new gui signatures.
4184 * menubar.c (menu_parse_submenu_keywords): use new
4185 gui_item_add_keyval_pair signature.
4187 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
4189 1998-12-28 Martin Buchholz <martin@xemacs.org>
4191 * XEmacs 21.2.8 is released.
4193 1998-12-28 Martin Buchholz <martin@xemacs.org>
4195 * editfns.c (get_home_directory):
4196 (user-home-directory): Simplify.
4199 * callproc.c (child_setup):
4200 - Environment variables were being passed to inferior processes
4201 using internal encoding.
4202 - Convert to external encoding.
4203 - Rename local var `tem' to better name `tail'.
4204 - Use Flength instead of `manual' calculation.
4206 * buffer.c (kill-buffer):
4208 (set-buffer-major-mode):
4210 - Fix up parameter names to correspond to docstrings.
4211 - Don't use `bufname' when a buffer will do as well.
4212 - Remove one unneeded GCPRO.
4214 * buffer.h (initial_directory):
4215 * buffer.c (init_initial_directory):
4216 - use correct conversions between internal and external format.
4217 (directory_is_current_directory): new function
4218 (init_buffer): convert initial_directory to internal format.
4219 - solve crashes when current working directory is non-ASCII.
4221 * alloc.c (xmalloc):
4224 - remove stupid casts, since XEmacs requires an ANSI C system.
4225 (lrecord_type_index): replace abort() with more readable assert().
4227 (reset_lcrecord_stats): remove.
4228 (sweep_lcrecords_1):
4229 - replace call to reset_lcrecord_stats() with call to xzero().
4231 1998-12-27 Martin Buchholz <martin@xemacs.org>
4233 * process-unix.c (unix_create_process):
4234 - Fix crash invoking program with non-ASCII name.
4235 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
4236 - Remove unused variable `env'.
4237 - Rename `temp' to better name `save_errno'.
4238 - Reorganize code for clarity. But still too chicken to nuke the
4241 1998-12-24 Martin Buchholz <martin@xemacs.org>
4243 * XEmacs 21.2.7 is released.
4245 1998-12-23 Martin Buchholz <martin@xemacs.org>
4247 * glyphs.c (decode_device_ii_format):
4249 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
4251 * glyphs-x.c (x_subwindow_instantiate):
4252 - A image instance mask was being assigned to a image instance type!
4253 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
4255 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
4257 * glyphs-x.h: Make indentation consistent.
4259 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
4261 * glyphs-widget.c (check_valid_glyph): Warning suppression.
4263 - #ifdef it out, since it's not actually used yet (FIX THIS!)
4267 Move declarations of decode_device_ii_format and
4268 decode_image_instantiator_format into glyphs.h where they belong.
4270 1998-12-22 Martin Buchholz <martin@xemacs.org>
4272 * frame-x.c (x_delete_frame): Revert part of my changes at the
4273 suggestion of Gunnar Evermann - unfortunately no one really
4274 understands this code.
4276 * callproc.c (init_callproc): code cleanup.
4278 * free-hook.c (malloc):
4283 (block_input_malloc):
4284 (block_input_realloc):
4285 * device-x.c (x_delete_device):
4286 * emacs.c (voodoo_free_hook):
4287 * events.c (print_event):
4289 (CHECK_EVENT_TYPE2):
4290 (CHECK_EVENT_TYPE3):
4291 Use proper prototypes.
4292 Make C_E_T macros a little faster.
4293 Pedantic fiddly little changes. You really don't care.
4295 1998-12-22 Andy Piper <andy@xemacs.org>
4297 * redisplay-output.c (redisplay_clear_region): make sure that
4298 fg/bg colors get set even when we are in the border area.
4300 1998-12-13 Martin Buchholz <martin@xemacs.org>
4302 * console-msw.c: Function definitions follow coding standards
4303 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4305 1998-12-11 Martin Buchholz <martin@xemacs.org>
4307 * events.h (struct timeout_data):
4308 * event-tty.c (tty_timeout_to_emacs_event):
4309 * event-msw.c (mswindows_wm_timer_callback):
4310 * event-Xt.c (Xt_timeout_to_emacs_event):
4311 * event-msw.c (mswindows_cancel_dispatch_event):
4312 Make sure Lisp_Objects inside events are initialized to Qnil, not
4313 Qnull_pointer, which is now illegal.
4315 1998-12-10 Martin Buchholz <martin@xemacs.org>
4317 * lisp.h: Fix up prototypes to match alloc.c
4319 1998-12-08 Martin Buchholz <martin@xemacs.org>
4321 * windowsnt.h: Remove `support' for using index and rindex
4323 * filelock.c (current_lock_owner):
4324 - Change uses of index -> strchr, rindex -> strrchr
4326 1998-12-07 Martin Buchholz <martin@xemacs.org>
4328 * sysdep.c (set_descriptor_non_blocking):
4329 Since O_NONBLOCK is now always #defined, make use of fcntl
4330 conditional on F_SETFL being defined.
4332 * console-msw.c (DHEADgER):
4341 - max_align_t should not be visible to the user of the
4343 - use Bufbyte instead of char
4344 - parens around (FOOP (obj)) are always redundant.
4345 If they were necessary, we should fix the macro instead.
4346 - Always use string_data(foo) instead of foo->data.
4349 1998-12-06 Martin Buchholz <martin@xemacs.org>
4351 * frame-msw.c (mswindows_init_frame_1):
4352 - use make_lisp_hash_table, not Fmake_hash_table
4356 * alloc.c (make_vector): remove travesty
4360 (make_bit_vector_internal):
4362 (make_bit_vector_from_byte_vector):
4364 - make vector_equal a little faster.
4365 - Don't use variable name `new'.
4366 - Use size_t instead of EMACS_INT.
4367 - usual Martin-style pointless bit-twiddling.
4373 Make mapcar faster. In particular, make
4374 (mapc #'identity long-string)
4375 MUCH faster under Mule.
4376 * tests/automated/lisp-tests.el: Test 'em!
4378 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4381 1998-12-01 Martin Buchholz <martin@xemacs.org>
4383 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
4384 Qnil, not NULL, to initialize `null' Lisp_Objects.
4386 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
4388 * specifier.c (display_table_validate): Update.
4390 * redisplay.c (create_text_block): Use them.
4392 * glyphs.c (display_table_entry): New function.
4393 (get_display_tables): Ditto.
4395 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4397 * eldap.c (toplevel): Mention that eldap.c compiles with
4399 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
4400 (Fldap_search_internal): Ditto
4402 1998-12-11 Martin Buchholz <martin@xemacs.org>
4404 * event-msw.c (mswindows_cancel_dispatch_event):
4405 Gratuitous code prettification
4408 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
4410 * fns.c (Fnconc): Fix use of wrong_type_argument().
4412 * floatfns.c (Ffloat): Fix docstring.
4413 (Ffloat): Fix use of wrong_type_argument().
4415 (extract_float): Ditto.
4420 1998-12-06 Martin Buchholz <martin@xemacs.org>
4422 * frame-msw.c (mswindows_init_frame_1):
4423 - use make_lisp_hash_table, not Fmake_hash_table
4427 * alloc.c (make_vector): remove travesty
4431 (make_bit_vector_internal):
4433 (make_bit_vector_from_byte_vector):
4435 - make vector_equal a little faster.
4436 - Don't use variable name `new'.
4437 - Use size_t instead of EMACS_INT.
4438 - usual Martin-style pointless bit-twiddling.
4444 Make mapcar faster. In particular, make
4445 (mapc #'identity long-string)
4446 MUCH faster under Mule.
4447 * tests/automated/lisp-tests.el: Test 'em!
4449 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4452 1998-12-02 Didier Verna <verna@inf.enst.fr>
4454 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
4455 accelerator field to nil for labels.
4457 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
4459 * menubar-msw.c (displayable_menu_item):
4460 Escape occurrences of '&' and support occurrences of the
4461 '%_' accelerator indicator in menus.
4463 1998-11-26 Didier Verna <verna@inf.enst.fr>
4465 * dired.c (Fdirectory_files): use make_string instead of
4466 make_ext_string on the filename. The conversion external->internal
4467 format is already done in sys_readdir.
4469 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
4471 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
4473 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
4476 (Belatedly) added Kirill to list of file's authors.
4477 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
4478 quit checking. WM_PAINT messages cause redisplay, but
4479 windows' states are not necessarily stable when this function
4482 1998-12-17 Andy Piper <andy@xemacs.org>
4484 * strftime.c (zone_name): CONSTify.
4486 1998-12-15 Andy Piper <andy@xemacs.org>
4488 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
4489 (mswindows_widget_property): return Qunbound when no property available.
4490 (mswindows_button_property): ditto.
4491 (mswindows_combo_property): ditto.
4492 (mswindows_widget_set_property): ditto.
4494 * glyphs-widget.c (check_valid_item_list): use properties.
4496 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
4498 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
4499 (Fimage_instance_property): ditto.
4500 * glyphs-widget.c (widget_property): ditto.
4501 (widget_set_property): ditto.
4503 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
4504 as setting the class cursor so that GC actually changes the
4507 * config.h: don't undef MAIL_USE_POP.
4509 1998-12-13 Andy Piper <andy@xemacs.org>
4512 (image_instantiator_format_create_glyphs_mswindows): line ->
4514 (mswindows_label_instantiate): ditto. Play with window flags.
4515 (image_instantiator_format_create_glyphs_mswindows): ditto.
4516 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
4518 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
4519 cope with lines and labels.
4520 (static_instantiate): use widget_instantiate_1.
4522 (image_instantiator_format_create_glyphs_widget): ditto.
4524 1998-12-10 Andy Piper <andy@xemacs.org>
4526 * Makefile.in.in (objs): add gui.o
4528 1998-12-10 Andy Piper <andy@xemacs.org>
4530 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
4533 1998-12-09 Andy Piper <andy@xemacs.org>
4535 * glyphs.c (finalize_image_instance): mark glyphs changed when an
4536 image instance is removed so that the subwindow cache gets reset
4537 and thus destroyed images get GC'd.
4539 1998-12-08 Andy Piper <andy@xemacs.org>
4541 * gui-msw.c (mswindows_handle_gui_wm_command): call
4542 MARK_SUBWINDOWS_CHANGED.
4544 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
4545 subwindows really get deleted.
4547 * redisplay.c: new variable subwindows_changed[_set].
4548 (redisplay_window): use it.
4549 (redisplay_frame): ditto.
4550 (redisplay_device): ditto.
4551 (redisplay_without_hooks): ditto.
4553 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
4554 subwindows redisplay as per glyphs equivalent.
4555 * redisplay.h: ditto.
4556 (MARK_SUBWINDOWS_CHANGED): ditto.
4557 (RESET_CHANGED_SET_FLAGS): ditto.
4558 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
4560 1998-12-07 Andy Piper <andy@xemacs.org>
4562 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
4565 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
4567 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
4568 messages and paint widget glyphs as appropriate with their face fg
4571 1998-12-06 Andy Piper <andy@xemacs.org>
4573 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
4574 here rather than in glyphs-widget - do this because we only want
4575 to provide what is really available.
4577 * glyphs.c (Fimage_instance_property): new function to get the
4578 properties of image instances. wires through to console specific
4579 methods and then to widget specific methods.
4580 (Fset_image_instance_property): ditto but for setting widget properties.
4581 (check_valid_face): make extern so that it can be used elsewhere.
4583 * glyphs-widget.c (widget_property): new function. gets the
4584 properties of widgets in general and wires the function through to
4585 widget specific ones.
4586 (widget_set_property): ditto but for setting widget properties.
4588 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
4589 add items to the list. Play with window styles a bit to get the
4591 (mswindows_widget_property): break out specific widget properties.
4592 (mswindows_button_property): new function. gets the checked state
4594 (mswindows_combo_property): new function. gets the current
4595 selection in the combo box.
4596 (mswindows_widget_set_property): new function. sets specific
4597 properties of specific widgets.
4599 * glyphs-widget.c (check_valid_item_list): new function. check
4600 that items for a combo-box are just a list of strings.
4601 (combo_validate): new function. check there is an item list.
4602 (widget_instantiate_1): new function. renamed from
4603 widget_instantiate so that we can do slightly different things for
4605 (widget_instantiate): call widget_instantiate_1.
4606 (combo_instantiate): new function to instantiate combo boxes,
4607 defaults height to the pixel height of the number of items in the
4609 (syms_of_glyphs_widget): move widget keywords here.
4610 (image_instantiator_format_create_glyphs_widget): use new combo
4613 1998-12-04 Andy Piper <andy@xemacs.org>
4615 * event-msw.c (mswindows_wnd_proc): mule-ize.
4617 * glyphs.c (pixmap_to_lisp_data): mule-ize.
4619 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
4620 (resource_name_to_resource): ditto.
4621 (mswindows_resource_instantiate): ditto.
4622 (mswindows_widget_instantiate): ditto.
4623 (mswindows_widget_set_property): ditto.
4625 * redisplay-output.c (redisplay_output_subwindow): don't show
4626 subwindows if they are obscured at the edge of the frame, emacs
4627 gets into some sort of redisplay loop otherwise.
4629 * gui.h: prototype gui_item_selected_p.
4631 * gui.c (gui_item_selected_p): new function to determine the
4632 selected state of a gui_item.
4634 * frame.h (struct frame): add subwindows_changed flag.
4636 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
4638 * glyphs.c (update_subwindow): new function to update a
4640 (update_frame_subwindows): new function to update all the
4641 subwindows on a frame.
4643 * console.h (struct console_methods): add update_subwindow.
4645 * glyphs-msw.c (mswindows_widget_property): return selected state
4646 for selected property.
4647 (mswindows_update_subwindow): new function. updates widget glyphs
4648 in redisplay as per menubars or toolbars e.g. selected state.
4649 (console_type_create_glyphs_mswindows): add update_subwindow.
4651 1998-12-03 Andy Piper <andy@xemacs.org>
4653 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
4654 tty coding system things are such.
4656 * glyphs-widget.c (widget_face_font_info): new function for
4657 pulling out height and width metrics for a widget's face.
4658 (widget_text_to_pixel_conversion): calculate pixel sizes of text
4661 * event-msw.c (mswindows_drain_windows_queue): translate messages
4662 that are destined for subwindows. This makes edit fields interact
4663 with the keyboard correctly.
4664 nuke warnings by #ifndef'ing out stuff not required by msg select().
4666 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
4667 macro defining the iiforma without the symbol required by widget.
4668 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
4670 * general.c (syms_of_general): add Qwidget, Qselected.
4672 * faces.c (complex_vars_of_faces): add widget face inheriting from
4675 1998-11-09 Andy Piper <andy@xemacs.org>
4677 * window.h (struct window): add a cache of subwindows on a
4680 * window.c (mark_window): mark the subwindow_instance_cache.
4681 (allocate_window): initialise the subwindow instance_cache.
4683 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
4684 instead of the devmeth.
4685 (x_clear_toolbar): ditto.
4687 * redisplay-x.c (x_output_display_block): call
4688 redisplay_output_subwindow for subwindows and widgets.
4690 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
4691 types to do nothing for.
4693 * lisp.h: declare new widget/subwindow symbols.
4695 * glyphs.c (image_instantiate): cache subwindows on a per-window
4697 (subwindow_possible_dest_types): new function for subwindow dest
4699 (subwindow_instantiate): generic instantiation of a
4700 subwindow. specialised by device multi-methods.
4701 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
4703 (Fimage_instance_subwindow_id): ditto.
4704 (Fresize_subwindow): ditto.
4705 (Fforce_subwindow_map): ditto.
4707 * glyphs-x.c (x_print_image_instance): remove subwindow
4708 stuff. Handled genrically in glyphs.c.
4709 (x_image_instance_equal): ditto.
4710 (x_image_instance_hash): ditto.
4711 (x_finalize_image_instance): delete subwindows when required.
4712 (mark_subwindow) (print_subwindow) (finalize_subwindow)
4713 (subwindow_hash) (Fmake_subwindow): deleted because of new,
4714 glyph-based, subwindow implementation.
4715 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
4717 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
4719 (x_unmap_subwindow): new function to unmap X subwindows.
4720 (x_map_subwindow): new function to map X subwindows.
4721 (x_subwindow_instantiate): new function to instantiate X
4723 (x_resize_subwindow): new function to resize X subwindows.
4724 (console_type_create_glyphs_x): add subwindow functions.
4725 (image_instantiator_format_create_glyphs_x): add device
4726 multi-methods for xpm, xbm and subwindow.
4728 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
4729 (subwindow-width): ditto.
4730 (subwindow-height): ditto.
4732 * glyphs-msw.c (mswindows_widget_instantiate): new function for
4733 generally instantiating ms subwindows. Used by
4734 mswindows_*_instantiate.
4735 (mswindows_edit_instantiate): instantiate an edit field on a
4738 1998-11-04 Andy Piper <andy@xemacs.org>
4740 * symsinit.h: declare new functions.
4742 * redisplay.h: declare new functions.
4744 * redisplay-x.c (x_output_display_block): call
4745 redisplay_clear_region rather than x_clear_region.
4746 (x_output_string): ditto.
4747 (x_output_pixmap): ditto.
4748 (x_clear_to_window_end): ditto.
4749 (x_output_eol_cursor): ditto.
4750 (x_clear_region): only do X specific things. other duties handled
4751 in redisplay_clear_region.
4753 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4754 duties moved to redisplay_clear_region.
4756 * redisplay-output.c (clear_left_border): use
4757 redisplay_clear_region instead of device method.
4758 (clear_right_border): ditto.
4759 (output_display_line): ditto.
4760 (redisplay_output_subwindow): ditto.
4761 (redisplay_clear_top_of_window): ditto.
4762 (redisplay_clear_region): perform duties previously handled by
4763 device methods. call the appropriate device method at the
4764 end. unmap subwindows if necessary.
4766 * redisplay-msw.c (mswindows_output_string): use
4767 redisplay_clear_region instead of mswindows_clear_region.
4768 (mswindows_clear_to_window_end): ditto.
4769 (mswindows_output_display_block): output subwindows when required.
4770 (mswindows_clear_region): only do mswindows specific things,
4771 everything else is now handled in redisplay_clear_region.
4773 * gui.h: add item id hash defines and declare function prototypes.
4775 * gui.c (mark_gui_item): new function for marking gui_items.
4776 (gui_item_hash): generic hash function for generating command ids
4779 * gui-msw.c: new file.
4780 (mswindows_handle_gui_wm_command): new function to handle widget
4783 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4785 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4786 (DEFINE_DEVICE_IIFORMAT): ditto.
4787 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4788 (struct Lisp_Image_Instance): add widget and subwindow data plus
4789 appropriate access functions.
4791 * glyphs.c (decode_device_ii_format): new function for decoding
4792 image instantiator functions based on a device type as well as an
4794 (decode_image_instantiator_format): just call
4795 decode_device_ii_format with nil device.
4796 (add_entry_to_device_ii_format_list): new function for per device
4798 (add_entry_to_image_instantiator_format_list): just call
4799 add_entry_to_device_ii_format_list with nil device.
4800 (check_valid_vector): new function.
4801 (instantiate_image_instantiator): instantiate using per-format
4802 method and then per-format-per-device method (device
4803 multi-methods). signal an error if neither is possible.
4804 (mark_image_instance): cope with subwindows and widgets.
4805 (print_image_instance): ditto.
4806 (image_instance_equal): ditto.
4807 (image_instance_hash): ditto.
4808 (allocate_glyph): ditto.
4809 (glyph_width): ditto.
4810 (glyph_height_internal): ditto.
4811 (xpm_instantiate): removed because of device multi-methods.
4812 (mark_subwindow_cachels): new cachel functions for caching
4813 instantiated subwindows on a per-frame basis. mostly copied from
4814 glyph cachel functions.
4815 (update_subwindow_cachel_data): ditto.
4816 (add_subwindow_cachel): ditto.
4817 (get_subwindow_cachel_index): ditto.
4818 (reset_subwindow_cachels): ditto.
4819 (mark_subwindow_cachels_as_not_updated): ditto.
4820 (unmap_subwindow): generic unmapping of subwindows based on cachel
4822 (map_subwindow): ditto.
4823 (initialize_subwindow_image_instance): generic initialisation of
4825 (syms_of_glyphs): add widget keywords.
4827 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4830 1998-11-04 Andy Piper <andy@xemacs.org>
4832 * glyphs-widget.c: new file for instantiating widget type glyphs.
4833 (widget_possible_dest_types): new general dest type function for
4835 (widget_validate): ditto.
4836 (initialize_widget_image_instance): ditto
4837 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4838 before handing on control to device multi-methods.
4839 (syms_of_glyphs_widget): new function.
4840 (image_instantiator_format_create_glyphs_widget): new function,
4841 added placeholders for button, edit, combo, scrollbar
4842 (vars_of_glyphs_widget): new function.
4844 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4845 storing window ids of widgets.
4847 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4848 deletion of widget and subwindow glyphs.
4849 (mswindows_unmap_subwindow): new device function for unmapping
4850 subwindows on a msw frame.
4851 (mswindows_map_subwindow): ditto.
4852 (mswindows_register_image_instance): register instantiated widgets
4853 with the widget hastable.
4854 (mswindows_button_instantiate): instantiate a button type widget
4856 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4858 (image_instantiator_format_create_glyphs_mswindows): add device
4859 multi-methods for xbm, xpm, subwindow, edit and button.
4861 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4862 information about subwindows visible on the current frame. used by
4863 redisplay_clear_region to unmap subwindows as required.
4865 * frame.c (mark_frame): mark subwindow_cachels.
4866 (allocate_frame_core): instantiate subwindow_cachels.
4868 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4871 * event-msw.c (mswindows_wnd_proc): add call to
4872 mswindows_handle_gui_wm_command to handle widget callbacks.
4874 * emacs.c (main_1): add calls to glyphs-widget initialisation
4877 * console.h (struct console_methods): add
4878 unmap/map_subwindow_method for use be redisplay_clear_region to
4879 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4880 with by image instantiator multi-methods. Add
4881 resize_subwindow_method.
4883 * console-stream.c (stream_clear_region): change signature to
4884 match new generic clear region function.
4886 * Makefile.in.in: add glyphs-widget.o to list of objects.
4888 * console-msw.h (struct mswindows_frame): add widget hashtable for
4889 wiring command ids to callbacks.
4891 1998-12-16 Andy Piper <andy@xemacs.org>
4893 * XEmacs 21.2.6 is released
4895 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4897 * md5.c (Fmd5): Correctly initiate string input stream.
4899 * Makefile.in.in (tests): Add md5-tests.el.
4901 1998-12-06 Martin Buchholz <martin@xemacs.org>
4904 * alloc.c (make_vector): remove travesty
4908 (make_bit_vector_internal):
4910 (make_bit_vector_from_byte_vector):
4912 - make vector_equal a little faster.
4913 - Don't use variable name `new'.
4914 - Use size_t instead of EMACS_INT.
4915 - usual Martin-style pointless bit-twiddling.
4921 Make mapcar faster. In particular, make
4922 (mapc #'identity long-string)
4923 MUCH faster under Mule.
4924 * tests/automated/lisp-tests.el: Test 'em!
4926 1998-12-06 Martin Buchholz <martin@xemacs.org>
4928 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4931 1998-12-13 Martin Buchholz <martin@xemacs.org>
4933 * console-msw.c: Function definitions follow coding standards
4934 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4936 1998-12-11 Martin Buchholz <martin@xemacs.org>
4938 * events.h (struct timeout_data):
4939 * event-tty.c (tty_timeout_to_emacs_event):
4940 * event-msw.c (mswindows_wm_timer_callback):
4941 * event-Xt.c (Xt_timeout_to_emacs_event):
4942 * event-msw.c (mswindows_cancel_dispatch_event):
4943 Make sure Lisp_Objects inside events are initialized to Qnil, not
4944 Qnull_pointer, which is now illegal.
4946 1998-12-10 Martin Buchholz <martin@xemacs.org>
4948 * lisp.h: Fix up prototypes to match alloc.c
4950 1998-12-09 Andy Piper <andy@xemacs.org>
4952 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4953 XSETINT for assigning lisp objects.
4955 1998-12-07 Martin Buchholz <martin@xemacs.org>
4958 * console-msw.c (DHEADER):
4967 - max_align_t should not be visible to the user of the
4969 - use Bufbyte instead of char
4970 - parens around (FOOP (obj)) are always redundant.
4971 If they were necessary, we should fix the macro instead.
4972 - Always use string_data(foo) instead of foo->data.
4974 1998-12-07 Martin Buchholz <martin@xemacs.org>
4976 * sysdep.c (set_descriptor_non_blocking):
4977 Since O_NONBLOCK is now always #defined, make use of fcntl
4978 conditional on F_SETFL being defined.
4980 1998-12-09 Andy Piper <andy@xemacs.org>
4982 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4983 that got removed in the merge
4985 1998-11-30 Greg Klanderman <greg@alphatech.com>
4987 * dired.c (vars_of_dired): bugfix for previous conditionalization
4988 of user-name-completion on non- Windows NT.
4990 1998-12-08 Martin Buchholz <martin@xemacs.org>
4992 * windowsnt.h: Remove `support' for using index and rindex
4994 * filelock.c (current_lock_owner):
4995 - Change uses of index -> strchr, rindex -> strrchr
4997 1998-12-06 Martin Buchholz <martin@xemacs.org>
4999 * frame-msw.c (mswindows_init_frame_1):
5000 - use make_lisp_hash_table, not Fmake_hash_table
5003 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
5005 * XEmacs 21.2.5 is released
5007 1998-11-30 Martin Buchholz <martin@xemacs.org>
5009 * xselect.c (receive_incremental_selection):
5010 * xselect.c (x_get_window_property):
5011 * xmu.c (XmuReadBitmapDataFromFile):
5012 * xmu.c (XmuCursorNameToIndex):
5013 * xgccache.c (describe_gc_cache):
5014 * xgccache.c (gc_cache_lookup):
5015 * xgccache.c (free_gc_cache):
5016 * xgccache.c (make_gc_cache):
5018 * window.c (map_windows_1):
5019 * window.c (Fother_window_for_scrolling):
5020 * window.c (window_scroll):
5021 * window.c (change_window_height):
5022 * window.c (Fsplit_window):
5023 * window.c (window_left_gutter_width):
5024 * window.c (window_modeline_height):
5025 * window.c (invalidate_vertical_divider_cache_in_window):
5026 * window.c (window_needs_vertical_divider_1):
5027 * window.c (update_mirror_internal):
5028 * window.c (SET_LAST_FACECHANGE):
5029 * widget.c (Fwidget_plist_member):
5030 * unexec.c (copy_text_and_data):
5031 * unexcw.c (copy_executable_and_dump_data_section):
5033 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
5034 * tooltalk.c (struct Lisp_Tooltalk_Message):
5035 * toolbar.h (struct toolbar_button):
5036 * toolbar.c (default_toolbar_visible_p_changed_in_window):
5037 * toolbar.c (recompute_overlaying_specifier):
5038 * toolbar.c (toolbar_validate):
5039 * toolbar.c (toolbar_button_at_pixpos):
5040 * toolbar.c (get_toolbar_coords):
5041 * toolbar.c (update_frame_toolbars):
5043 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
5044 * toolbar-msw.c (mswindows_find_toolbar_pos):
5045 * toolbar-msw.c (mswindows_output_toolbar):
5046 * toolbar-msw.c (mswindows_clear_toolbar):
5055 * sysdep.c (sys_fopen):
5056 * sysdep.c (sys_open):
5057 * sysdep.c (tty_init_sys_modes_on_device):
5058 * sysdep.c (get_eof_char):
5059 * sysdep.c (child_setup_tty):
5060 * sysdep.c (set_descriptor_non_blocking):
5062 * syntax.c (scan_words):
5065 * symeval.h (struct symbol_value_varalias):
5066 * symeval.h (struct symbol_value_forward):
5067 * symbols.c (syms_of_symbols):
5068 * symbols.c (init_symbols_once_early):
5069 * symbols.c (Fbuilt_in_variable_type):
5070 * symbols.c (Fsymbol_value_in_buffer):
5071 * symbols.c (default_value):
5073 * symbols.c (find_symbol_value_quickly):
5074 * symbols.c (store_symval_forwarding):
5075 * symbols.c (set_default_console_slot_variable):
5076 * symbols.c (set_default_buffer_slot_variable):
5077 * symbols.c (verify_ok_for_buffer_local):
5078 * symbols.c (symbol_is_constant):
5079 * symbols.c (oblookup):
5080 * symbols.c (Funintern):
5081 * symbols.c (Fintern):
5082 * symbols.c (check_obarray):
5084 * specifier.h (struct specifier_methods):
5086 * specifier.c (specifier_instance):
5087 * specifier.c (specifier_instance_from_inst_list):
5088 * specifier.c (decode_locale_type):
5089 * specifier.c (specifier_equal):
5090 * specifier.c (finalize_specifier):
5091 * specifier.c (prune_specifiers):
5092 * specifier.c (kill_specifier_buffer_locals):
5093 * sound.c (init_native_sound):
5096 * search.c (Fmatch_data):
5097 * search.c (match_limit):
5098 * search.c (Freplace_match):
5099 * search.c (skip_chars):
5100 * search.c (scan_buffer):
5102 * scrollbar.c (specifier_vars_of_scrollbar):
5103 * scrollbar.c (Fscrollbar_set_hscroll):
5104 * scrollbar.c (vertical_scrollbar_changed_in_window):
5105 * scrollbar.c (release_window_mirror_scrollbars):
5106 * scrollbar.c (free_scrollbar_instance):
5109 * s/msdos.h (O_BINARY):
5111 * s/freebsd.h (LIBS_TERMCAP):
5112 * regex.c (re_match_2_internal):
5113 * regex.c (compile_extended_range):
5114 * regex.c (POP_FAILURE_POINT):
5115 * regex.c (PUSH_FAILURE_POINT):
5116 * redisplay.h (RESET_CHANGED_SET_FLAGS):
5118 * redisplay.h (struct display_line):
5119 * redisplay.h (struct rune):
5120 * redisplay.c (vars_of_redisplay):
5121 * redisplay.c (redisplay_variable_changed):
5122 * redisplay.c (UPDATE_CACHE_RETURN):
5123 * redisplay.c (validate_line_start_cache):
5124 * redisplay.c (mark_redisplay_structs):
5125 * redisplay.c (mark_glyph_block_dynarr):
5126 * redisplay.c (window_line_number):
5127 * redisplay.c (redisplay_frame):
5128 * redisplay.c (redisplay_window):
5129 * redisplay.c (generate_modeline):
5130 * redisplay.c (create_right_glyph_block):
5131 * redisplay.c (create_left_glyph_block):
5132 * redisplay.c (create_text_block):
5134 * redisplay-x.c (x_output_hline):
5135 * redisplay-x.c (x_output_vertical_divider):
5136 * redisplay-tty.c (tty_output_display_block):
5137 * redisplay-output.c (output_display_line):
5138 * redisplay-output.c:
5139 * redisplay-msw.c (mswindows_output_vertical_divider):
5140 * redisplay-msw.c (mswindows_ring_bell):
5141 * redisplay-msw.c (mswindows_output_cursor):
5145 * puresize.h (RAW_PURESIZE):
5146 * profile.c (syms_of_profile):
5147 * profile.c (Fstart_profiling):
5148 * profile.c (sigprof_handler):
5151 * process.c (vars_of_process):
5152 * process.c (read_process_output):
5153 * process.c (get_process):
5155 * process-unix.c (unix_open_multicast_group):
5156 * process-unix.c (unix_get_tty_name):
5157 * process-unix.c (unix_send_process):
5158 * process-unix.c (unix_reap_exited_processes):
5159 * process-unix.c (unix_create_process):
5160 * process-unix.c (unix_init_process_io_handles):
5161 * process-unix.c (allocate_pty):
5163 * process-nt.c (nt_open_network_stream):
5164 * process-nt.c (nt_update_status_if_terminated):
5165 * process-nt.c (nt_finalize_process_data):
5167 * print.c (debug_short_backtrace):
5168 * print.c (debug_backtrace):
5169 * print.c (print_symbol):
5170 * print.c (print_internal):
5171 * print.c (print_cons):
5172 * print.c (Fwrite_char):
5173 * print.c (print_prepare):
5174 * print.c (canonicalize_printcharfun):
5175 * print.c (output_string):
5178 * opaque.c (allocate_managed_opaque):
5180 * offix.c (DndSetData):
5181 * objects.c (face_boolean_create):
5182 * objects.c (font_instantiate):
5183 * objects.c (font_create):
5184 * objects.c (color_create):
5185 * objects.c (finalize_font_instance):
5186 * objects.c (finalize_color_instance):
5188 * objects-x.c (x_font_instance_truename):
5190 * objects-x.c (x_initialize_font_instance):
5191 * objects-x.c (allocate_nearest_color):
5192 * objects-tty.c (tty_initialize_font_instance):
5193 * objects-tty.c (tty_initialize_color_instance):
5194 * objects-msw.c (mswindows_initialize_color_instance):
5195 * ntproc.c (syms_of_ntproc):
5196 * ntproc.c (Fwin32_set_process_priority):
5197 * ntproc.c (sys_spawnve):
5199 * ntheap.c (get_data_end):
5203 * nt.c (generate_inode_val):
5204 * nt.c (sys_rename):
5206 * mule-wnnfns.c (Fwnn_hinsi_number):
5207 * mule-wnnfns.c (Fwnn_yuragi):
5208 * mule-wnnfns.c (Fwnn_common_learn):
5209 * mule-wnnfns.c (Fwnn_suffix_learn):
5210 * mule-wnnfns.c (Fwnn_prefix_learn):
5211 * mule-wnnfns.c (Fwnn_okuri_learn):
5212 * mule-wnnfns.c (Fwnn_complex_conv):
5213 * mule-wnnfns.c (Fwnn_last_is_first):
5214 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
5215 * mule-wnnfns.c (Fwnn_notrans_dict_add):
5216 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
5217 * mule-wnnfns.c (Fwnn_fisys_dict_add):
5218 * mule-wnnfns.c (Fwnn_hinsi_list):
5219 * mule-wnnfns.c (Fwnn_fuzokugo_set):
5220 * mule-wnnfns.c (Fwnn_dict_search):
5221 * mule-wnnfns.c (Fwnn_word_toroku):
5222 * mule-wnnfns.c (Fwnn_hindo_update):
5223 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
5224 * mule-wnnfns.c (Fwnn_kakutei):
5225 * mule-wnnfns.c (Fwnn_begin_henkan):
5226 * mule-wnnfns.c (Fwnn_dict_comment):
5227 * mule-wnnfns.c (Fwnn_dict_add):
5228 * mule-wnnfns.c (Fwnn_open):
5229 * mule-mcpath.c (mc_getcwd):
5230 * mule-coding.c (vars_of_mule_coding):
5231 * mule-coding.c (convert_to_external_format):
5232 * mule-coding.c (encoding_marker):
5233 * mule-coding.c (decoding_marker):
5234 * mule-coding.c (Fcopy_coding_system):
5235 * mule-coding.c (Fmake_coding_system):
5236 * mule-coding.c (Fcoding_system_list):
5237 * mule-coding.c (Ffind_coding_system):
5238 * mule-coding.c (symbol_to_eol_type):
5240 * mule-charset.c (complex_vars_of_mule_charset):
5241 * mule-charset.c (vars_of_mule_charset):
5242 * mule-charset.c (Fset_charset_ccl_program):
5243 * mule-charset.c (struct charset_list_closure):
5244 * mule-charset.c (Ffind_charset):
5245 * mule-charset.c (make_charset):
5246 * mule-charset.c (non_ascii_valid_char_p):
5248 * mule-ccl.c (ccl_driver):
5249 * mule-canna.c (c2mu):
5250 * mule-canna.c (Fcanna_henkan_begin):
5251 * mule-canna.c (Fcanna_parse):
5252 * mule-canna.c (Fcanna_store_yomi):
5253 * mule-canna.c (Fcanna_touroku_string):
5254 * mule-canna.c (Fcanna_initialize):
5256 * menubar.c (menu_parse_submenu_keywords):
5257 * menubar-x.c (make_dummy_xbutton_event):
5258 * menubar-x.c (set_frame_menubar):
5259 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5262 * menubar-msw.c (mswindows_popup_menu):
5263 * menubar-msw.c (mswindows_update_frame_menubars):
5264 * menubar-msw.c (mswindows_handle_wm_command):
5265 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
5266 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
5267 * menubar-msw.c (update_frame_menubar_maybe):
5268 * menubar-msw.c (populate_or_checksum_helper):
5269 * menubar-msw.c (empty_menu):
5272 * marker.c (set_marker_internal):
5273 * marker.c (print_marker):
5276 * lstream.c (lisp_buffer_rewinder):
5277 * lstream.c (mark_lstream):
5279 * lrecord.h (struct lrecord_header):
5280 * lread.c (readevalloop):
5281 * lread.c (locate_file):
5282 * lread.c (locate_file_in_directory):
5283 * lread.c (Flocate_file):
5284 * lread.c (load_force_doc_string_unwind):
5285 * lread.c (ebolify_bytecode_constants):
5290 * linuxplay.c (linux_play_data_or_file):
5291 * linuxplay.c (audio_init):
5294 * keymap.c (describe_map):
5295 * keymap.c (describe_map_mapper):
5296 * keymap.c (Fdescribe_bindings_internal):
5297 * keymap.c (Fsingle_key_description):
5298 * keymap.c (map_keymap_sorted):
5299 * keymap.c (get_relevant_keymaps):
5300 * keymap.c (Flookup_key):
5301 * keymap.c (raw_lookup_key_mapper):
5302 * keymap.c (Fdefine_key):
5303 * keymap.c (Fevent_matches_key_specifier_p):
5304 * keymap.c (key_desc_list_to_event):
5305 * keymap.c (define_key_parser):
5306 * keymap.c (define_key_check_and_coerce_keysym):
5307 * keymap.c (keymap_submaps):
5308 * keymap.c (keymap_store_internal):
5309 * keymap.c (keymap_delete_inverse_internal):
5310 * keymap.c (keymap_store_inverse_internal):
5311 * keymap.c (print_keymap):
5312 * keymap.c (Lisp_Keymap):
5315 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
5316 * insdel.c (make_gap):
5317 * input-method-xlib.c (get_XIM_input):
5318 * input-method-xlib.c (XIM_init_frame):
5323 * gui-x.c (button_item_to_widget_value):
5324 * gui-x.c (popup_selection_callback):
5325 * glyphs.h (struct image_instantiator_methods):
5326 * glyphs.c (mark_glyph_cachels):
5327 * glyphs.c (Fglyph_type):
5328 * glyphs.c (image_instantiate):
5329 * glyphs.c (image_create):
5330 * glyphs.c (make_image_instance_1):
5331 * glyphs.c (finalize_image_instance):
5333 * glyphs-x.c (finalize_subwindow):
5334 * glyphs-x.c (xface_validate):
5335 * glyphs-x.c (x_locate_pixmap_file):
5336 * glyphs-x.c (convert_EImage_to_XImage):
5338 * glyphs-msw.c (mswindows_resource_instantiate):
5339 * glyphs-msw.c (xpm_to_eimage):
5340 * glyphs-msw.c (convert_EImage_to_DIBitmap):
5341 * glyphs-eimage.c (tiff_instantiate):
5342 * glyphs-eimage.c (png_instantiate):
5343 * glyphs-eimage.c (struct png_error_struct):
5344 * glyphs-eimage.c (gif_memory_storage):
5347 * getloadavg.c (getloadavg):
5350 * free-hook.c (log_gcpro):
5351 * free-hook.c (check_malloc):
5352 * free-hook.c (check_free):
5353 * free-hook.c (ROUND_UP_TO_PAGE):
5355 * frame.h (struct frame):
5357 * frame.c (change_frame_size_1):
5358 * frame.c (allocate_frame_core):
5360 * frame-x.c (x_focus_on_frame):
5361 * frame-x.c (x_init_frame_2):
5362 * frame-x.c (x_popup_frame):
5363 * frame-x.c (xemacs_XtPopup):
5365 * frame-x.c (Foffix_start_drag_internal):
5366 * frame-x.c (x_cde_destroy_callback):
5367 * frame-x.c (x_wm_hack_wm_protocols):
5368 * frame-tty.c (tty_frame_visible_p):
5369 * frame-msw.c (mswindows_make_frame_invisible):
5370 * frame-msw.c (mswindows_after_init_frame):
5371 * frame-msw.c (mswindows_init_frame_1):
5372 * fns.c (syms_of_fns):
5373 * fns.c (Fbase64_decode_string):
5375 * fns.c (Ffillarray):
5376 * fns.c (Fobject_plist):
5378 * fns.c (Fcanonicalize_lax_plist):
5379 * fns.c (Fcanonicalize_plist):
5380 * fns.c (Fplist_remprop):
5381 * fns.c (Fplist_get):
5382 * fns.c (advance_plist_pointers):
5383 * fns.c (internal_plist_put):
5384 * fns.c (Fnreverse):
5387 * fns.c (Fsubstring):
5388 * fns.c (Fbvconcat):
5390 * fns.c (length_with_bytecode_hack):
5391 * fns.c (print_bit_vector):
5393 * floatfns.c (Ffloor):
5395 * floatfns.c (in_float_error):
5396 * fileio.c (Ffile_modes):
5397 * fileio.c (Fexpand_file_name):
5398 * fileio.c (Fmake_temp_name):
5399 * fileio.c (Ffile_name_nondirectory):
5400 * fileio.c (Ffile_name_directory):
5402 * file-coding.c (vars_of_mule_coding):
5403 * file-coding.c (convert_to_external_format):
5404 * file-coding.c (encoding_marker):
5405 * file-coding.c (decoding_marker):
5406 * file-coding.c (Fcopy_coding_system):
5407 * file-coding.c (Fmake_coding_system):
5408 * file-coding.c (struct coding_system_list_closure):
5409 * file-coding.c (Ffind_coding_system):
5410 * file-coding.c (symbol_to_eol_type):
5412 * faces.h (struct face_cachel):
5413 * faces.c (vars_of_faces):
5414 * faces.c (face_property_was_changed):
5415 * faces.c (mark_face_cachels):
5416 * faces.c (temporary_faces_list):
5417 * faces.c (struct face_list_closure):
5419 * extents.h (struct extent):
5420 * extents.c (vars_of_extents):
5421 * extents.c (struct copy_string_extents_1_arg):
5422 * extents.c (add_string_extents_mapper):
5423 * extents.c (Fextent_property):
5424 * extents.c (Fset_extent_property):
5425 * extents.c (symbol_to_glyph_layout):
5426 * extents.c (properties_equal):
5427 * extents.c (print_extent):
5428 * extents.c (print_extent_1):
5429 * extents.c (extent_in_region_p):
5430 * extents.c (gap_array_make_gap):
5432 * events.h (struct Lisp_Event):
5434 * events.c (Fevent_properties):
5435 * events.c (format_event_object):
5436 * events.c (Fmake_event):
5437 * events.c (event_equal):
5438 * events.c (print_event):
5439 * events.c (mark_event):
5440 * event-stream.c ((read-char)
5441 * event-stream.c (vars_of_event_stream):
5442 * event-stream.c (syms_of_event_stream):
5443 * event-stream.c (Fset_recent_keys_ring_size):
5444 * event-stream.c (Fsit_for):
5445 * event-stream.c (Fnext_event):
5446 * event-stream.c (execute_help_form):
5447 * event-stream.c (maybe_kbd_translate):
5449 * event-msw.c (vars_of_event_mswindows):
5450 * event-msw.c (mswindows_wnd_proc):
5451 * event-msw.c (mswindows_need_event):
5452 * event-msw.c (mswindows_drain_windows_queue):
5453 * event-msw.c (mswindows_pump_outstanding_events):
5455 * event-msw.c (slurp_thread):
5456 * event-msw.c (struct ntpipe_slurp_stream):
5457 * event-msw.c (HANDLE_TO_USID):
5458 * event-Xt.c (emacs_Xt_handle_magic_event):
5459 * event-Xt.c (x_event_to_emacs_event):
5460 * event-Xt.c (x_reset_modifier_mapping):
5461 * event-Xt.c (x_reset_key_mapping):
5463 * eval.c (syms_of_eval):
5464 * eval.c (warn_when_safe):
5465 * eval.c (warn_when_safe_lispobj):
5466 * eval.c (Fbacktrace_frame):
5467 * eval.c (Fbacktrace):
5468 * eval.c (top_level_set):
5469 * eval.c (unbind_to_hairy):
5470 * eval.c (specbind_magic):
5471 * eval.c (specbind_unwind_wasnt_local):
5472 * eval.c (call2_trapping_errors):
5473 * eval.c (call1_trapping_errors):
5474 * eval.c (catch_them_squirmers_call2):
5475 * eval.c (call0_trapping_errors):
5476 * eval.c (run_hook_trapping_errors):
5477 * eval.c (catch_them_squirmers_eval_in_buffer):
5478 * eval.c (call4_in_buffer):
5479 * eval.c (call3_in_buffer):
5480 * eval.c (call2_in_buffer):
5481 * eval.c (call1_in_buffer):
5482 * eval.c (call0_in_buffer):
5483 * eval.c (run_hook):
5484 * eval.c (run_hook_with_args_in_buffer):
5487 * eval.c (do_autoload):
5488 * eval.c (un_autoload):
5489 * eval.c (Fautoload):
5490 * eval.c (Finteractive_p):
5491 * eval.c (Fcommand_execute):
5492 * eval.c (signal_quit):
5493 * eval.c (call_with_suspended_errors):
5494 * eval.c (signal_error):
5495 * eval.c (return_from_signal):
5496 * eval.c (Fcall_with_condition_handler):
5497 * eval.c (run_condition_case_handlers):
5498 * eval.c (condition_case_1):
5499 * eval.c (Funwind_protect):
5500 * eval.c (unwind_to_catch):
5501 * eval.c (internal_catch):
5502 * eval.c (Fmacroexpand_internal):
5503 * eval.c (Fuser_variable_p):
5504 * eval.c (Fdefconst):
5506 * eval.c (Ffunction):
5507 * eval.c (signal_call_debugger):
5508 * eval.c (call_debugger):
5511 * emacs.c (sort_args):
5515 * editfns.c (Fencode_time):
5516 * editfns.c (Fdecode_time):
5517 * editfns.c (Fuser_full_name):
5519 * editfns.c (save_excursion_restore):
5522 * doprnt.c (emacs_doprnt_1):
5523 * doc.c (verify_doc_mapper):
5524 * doc.c (Fsnarf_documentation):
5525 * doc.c (Fdocumentation):
5527 * dired.c (user_name_completion):
5528 * dired.c (Fdirectory_files):
5531 * dgif_lib.c (FreeSavedImages):
5532 * dgif_lib.c (DGifGetImageDesc):
5534 * device.h (struct device):
5535 * device.c (Fselect_device):
5536 * device.c (allocate_device):
5538 * device-x.c (Fx_keysym_on_keyboard_p):
5539 * device-x.c (Fx_valid_keysym_name_p):
5540 * device-x.c (x_IO_error_handler):
5541 * device-x.c (x_delete_device):
5542 * device-x.c (x_finish_init_device):
5543 * device-x.c (x_init_device):
5545 * device-msw.c (mswindows_init_device):
5547 * database.c (vars_of_database):
5548 * database.c (Fput_database):
5549 * database.c (Fopen_database):
5550 * database.c (berkdb_remove):
5551 * database.c (berkdb_put):
5552 * database.c (Fdatabasep):
5553 * database.c (print_database):
5555 * data.c (vars_of_data):
5556 * data.c (syms_of_data):
5557 * data.c (init_errors_once_early):
5558 * data.c (prune_weak_lists):
5559 * data.c (finish_marking_weak_lists):
5560 * data.c (print_weak_list):
5562 * data.c (Fstring_to_number):
5563 * data.c (Fnumber_to_string):
5564 * data.c (Findirect_function):
5567 * data.c (Fsubr_interactive):
5569 * data.c (Fkeywordp):
5572 * console.h (CONSOLE_NAME):
5574 * console.c (vars_of_console):
5575 * console.c (Fselect_console):
5577 * console-x.h (DEVICE_X_COLORMAP):
5578 * console-x.h (struct x_device):
5579 * console-x.c (x_device_to_console_connection):
5580 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
5581 * console-tty.c (tty_init_console):
5583 * console-msw.h (struct mswindows_frame):
5586 * cmds.c (internal_self_insert):
5587 * cmds.c (Fforward_line):
5588 * cmds.c (Fforward_char):
5591 * chartab.c (mark_char_table_entry):
5593 * casefiddle.c (casify_word):
5594 * callproc.c (child_setup):
5595 * callproc.c (Fcall_process_internal):
5597 * callint.c (Fcall_interactively):
5599 * bytecode.c (execute_rare_opcode):
5600 * bytecode.c (execute_optimized_program):
5603 * buffer.h (BUFFER_REALLOC):
5604 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
5605 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
5607 * buffer.h (MAP_INDIRECT_BUFFERS):
5608 * buffer.h (CHECK_LIVE_BUFFER):
5609 * buffer.c (init_initial_directory):
5610 * buffer.c (complex_vars_of_buffer):
5611 * buffer.c (vars_of_buffer):
5612 * buffer.c (finish_init_buffer):
5613 * buffer.c (Fget_file_buffer):
5614 * buffer.c (Fbuffer_list):
5615 * buffer.c (mark_buffer):
5616 * balloon_help.c (balloon_help_move_to_pointer):
5617 * balloon_help.c (show_help):
5620 * alloc.c (garbage_collect_1):
5621 * alloc.c (sweep_strings):
5622 * alloc.c (sweep_compiled_functions):
5623 * alloc.c (sweep_bit_vectors_1):
5624 * alloc.c (sweep_vectors_1):
5625 * alloc.c (sweep_lcrecords_1):
5626 * alloc.c (tick_lcrecord_stats):
5627 * alloc.c (pure_string_sizeof):
5628 * alloc.c (mark_conses_in_list):
5629 * alloc.c (mark_object):
5630 * alloc.c (report_pure_usage):
5631 * alloc.c (make_pure_float):
5632 * alloc.c (make_pure_string):
5633 * alloc.c (free_managed_lcrecord):
5634 * alloc.c (mark_string):
5635 * alloc.c (noseeum_make_marker):
5636 * alloc.c (allocate_event):
5637 * alloc.c (Fbit_vector):
5638 * alloc.c (Fvector):
5639 * alloc.c (make_float):
5640 * alloc.c (Fmake_list):
5642 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
5643 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
5644 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
5645 * alloc.c (dbg_constants):
5646 * alloc.c (gc_record_type_p):
5647 * alloc.c (free_lcrecord):
5648 * alloc.c (xmalloc):
5649 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
5651 * Makefile.in.in (mostlyclean):
5652 * Makefile.in.in (external_client_xlib_objs_nonshared):
5653 * Makefile.in.in (temacs_link_args):
5654 * Makefile.in.in (release):
5655 * Makefile.in.in (dnd_objs):
5656 * Makefile.in.in (objs):
5657 * Makefile.in.in (PROGNAME):
5658 * EmacsShell.c: cast strings to (XtPointer)
5659 * EmacsFrame.c: cast strings to (XtPointer)
5661 - rewrite basic lisp functions for speed
5662 - rewrite bytecode interpreter for speed
5663 - rewrite list looping constructs for speed and safety using
5665 - use size_t where appropriate.
5666 - new hashtable implementation
5667 - cleanup implementation of opaques
5668 - opaques can now be purecopy'ed
5669 - move some cl functionality into C for speed.
5670 - remove last remaining VMS support
5672 - improve gdb/dbx debugger support
5673 - move pure.c back into alloc.c for performance
5674 - enable report_pure_usage() if --memory-usage-stats
5675 - remove remnants of Energize support (EMACS_BTL, cadillac...)
5676 - don't use symbols with leading `_' or embedded `__'
5677 - globally cleanup duplicated semicolons `;;'
5678 - I give in on %p vs %lx - we use printf("%lx",(long) p)
5680 - globally replace O_NDELAY with O_NONBLOCK.
5681 - globally replace CDISABLE with _POSIX_VDISABLE.
5682 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
5683 - define (and maybe use!) STDERR_FILENO and friends.
5684 - add support for macros defined in C
5685 - `when', `unless', `not' and `defalias' now defined in C,
5686 so that they are universally available.
5687 - rename defvar_mumble to defvar_magic
5688 - rename RETURN__ to RETURN_SANS_WARNINGS
5689 - use consistent style of initial caps in error messages
5690 - implement last, butlast, nbutlast, copy-list in C.
5691 - provide typedefs for all struct Lisp_foo types
5692 - Lisp_Objects must be initialized to Qnil rather than 0.
5693 - make sure XEmacs runs (slowly) with always_gc == 1;
5694 - fast and safe LOOP_* macros
5695 - change calls to XSETOBJ to XSETFOO
5696 - replace calls to XSETINT by make_int()
5697 - plug up memory leaks
5698 - use style markobj (foo), not silly ((markobj) (foo))
5699 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
5701 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
5703 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
5705 1998-11-28 SL Baur <steve@altair.xemacs.org>
5707 * XEmacs 21.2-beta4 is released.
5709 1998-11-27 SL Baur <steve@altair.xemacs.org>
5711 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
5712 property in control-1 charset.
5713 From Julian Bradfield <jcb@daimi.au.dk>
5715 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
5717 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
5719 Add stub for :label.
5721 * gui.c (gui_item_add_keyval_pair): ditto.
5723 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
5724 :key-sequence keyword.
5726 Support :active for submenus like the Windows code and FSF Emacs.
5728 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
5730 * dired.c (make_directory_hash_table): make_string() is OK because
5731 readdir() Mule-encapsulates.
5733 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5735 * fns.c (Fbase64_encode_string): Fix docstring.
5736 (Fbase64_decode_string): Ditto.
5738 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5740 * editfns.c (Ftranslate_region): Use
5741 convert_bufbyte_string_into_emchar_string().
5743 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5745 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
5747 (Ftranslate_region): Turn table into an array of Emchars for
5750 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5752 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5754 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5756 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5757 type `char' with nils.
5759 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5760 for tables of type `char'.
5762 1998-11-26 Didier Verna <verna@inf.enst.fr>
5764 * input-method-xlib.c (Initialize_Locale): don't call
5765 XtSetLanguageProc. We've done the whole work here.
5766 * input-method-xfs.c (Initialize_Locale): ditto.
5767 * input-method-motif.c (Initialize_Locale): ditto.
5769 1998-11-26 Didier Verna <verna@inf.enst.fr>
5771 * process-unix.c (unix_create_process): handle properly
5772 Vfile_name_coding_system for converting the program and directory
5775 1998-11-27 SL Baur <steve@altair.xemacs.org>
5777 * m/arm.h: New file.
5778 From James LewisMoss <dres@ioa.com>
5780 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5783 Fix the realpath() problem of UnixWare2.1.3.
5784 Patches for NEC's sysv4.2 machine.
5786 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5788 * dired.c (Fdirectory_files): Remove redundant code.
5790 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5792 * fns.c (free_malloced_ptr): New function.
5793 (XMALLOC_OR_ALLOCA): New macro.
5794 (XMALLOC_UNBIND): Ditto.
5795 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5796 to be freed in case of non-local exit.
5797 (Fbase64_encode_string): Ditto.
5798 (Fbase64_decode_region): Ditto.
5799 (Fbase64_decode_string): Ditto.
5800 (STORE_BYTE): New macro.
5801 (base64_decode_1): Use it.
5803 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5805 * fns.c (base64_value_to_char): Base64 stuff.
5807 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5809 * editfns.c (Fbuffer_substring): New function.
5811 * lisp.h: Declare make_string_from_buffer_no_extents().
5813 * insdel.c (make_string_from_buffer_1): New function.
5814 (make_string_from_buffer_no_extents): Ditto.
5816 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5818 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5819 sound work on AIX with OSS installed. Linux should still work.
5821 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5823 * config.h.in: name change for cygwin/version.h
5825 * configure.in: check for cygwin/version.h now.
5827 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5828 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5829 move cygwin32/version.h to cygwin/version.h
5831 1998-11-03 Olivier Galibert <galibert@pobox.com>
5833 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5836 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5838 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5839 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5840 enable BROKEN_SIGIO under b20 to make QUIT work.
5842 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5844 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5845 to fit within the constraints of the screen size. I.e. make the
5846 frame small enough to fit and move it if some of it will be
5849 1998-10-19 Greg Klanderman <greg@alphatech.com>
5851 * dired.c: conditionalize inclusion of user-name-completion
5852 primitives on non-Windows NT. The needed functions don't exist on NT.
5854 1998-11-24 SL Baur <steve@altair.xemacs.org>
5856 * gifrlib.h: Clean up types for 64 bit compile.
5857 * dgif_lib.c (DGifInitRead): Ditto.
5858 (MakeSavedImage): Ditto.
5859 * emacs.c (decode_path): Ditto.
5860 From Steve Carney <carney@pa.dec.com>
5862 1998-10-16 William M. Perry <wmperry@aventail.com>
5864 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5865 (cehckboxes instead of checkboxes).
5867 1998-10-15 SL Baur <steve@altair.xemacs.org>
5869 * XEmacs 21.2-beta3 is released.
5871 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5873 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5874 gnuclient. Otherwise, we run xemacs as we always did. This gets
5875 rid of the annoying DOS window when running gnuclient.
5877 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5879 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5880 HAVE_MS_WINDOWS typo.
5882 1998-10-13 SL Baur <steve@altair.xemacs.org>
5884 * process-unix.c (unix_send_process): Set closed flag on writable
5885 pipe after SIGPIPE is received and before we call deactivate_process.
5887 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5889 * window.c (Fset_window_start): respect narrowing when
5890 checking wheter start is at the beginning of a line.
5891 (Fset_window_buffer): Ditto
5892 Fixes repeatable crash in VM.
5894 1998-10-09 SL Baur <steve@altair.xemacs.org>
5896 * window.c (specifier_vars_of_window): Set default vertical
5897 divider width to 1 on ttys.
5899 1998-10-08 Martin Buchholz <martin@xemacs.org>
5904 Add <stddef.h> to get ptrdiff_t declaration
5906 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5908 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5909 is used for Motif or Lucid scrollbars under X.
5911 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5913 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5916 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5918 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5920 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5922 * s/cygwin32.h: more cygwin b20 reorganisation.
5924 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5926 * nas.c: Added necessary support functions to be able to handle
5927 WAVE files in memory, just like the support for SND files in
5930 1998-09-30 SL Baur <steve@altair.xemacs.org>
5932 * callproc.c (child_setup): Fix spelling typo.
5934 1998-09-29 SL Baur <steve@altair.xemacs.org>
5936 * XEmacs 21.2-beta2 is released.
5938 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5940 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5941 to prevent memory corruption in the case of jumping out of a series of
5942 nested match patterns. This is a rather brute force approach, though.
5944 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5946 * config.h.in: ditto.
5948 * s/cygwin32.h: rearrange declarations to cope with cygwin
5949 b20. Include cygwin32/version.h if it exists.
5951 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5953 * device-msw.c (mswindows_init_device): Call new
5954 mswindows_enumerate_fonts() function in objects-msw.c instead
5955 of font_enum_callback_1() to enumerate fonts.
5957 font_enum_callback_1() and _2() moved to objects-msw.c.
5959 * faces.c (complex_vars_of_faces): Make the mswindows default
5960 face font fully specified and provide some fallbacks.
5962 * objects-msw.c: font_enum_callback_1() and _2() moved here
5963 from objects-msw.c. Obtain the enumerated font's character
5964 sets by table lookup instead of using the locale-specific
5965 string provided by Windows.
5967 New public non-method mswindows_enumerate_fonts() that fills
5968 in the supplied mswindows device's font list.
5970 mswindows_initialize_font_instance: Use the supplied name
5971 variable instead of f->name when signalling errors. Match font
5972 weights and character sets using lookup tables which handle
5973 spaces instead of by frobbing.
5975 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5977 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5978 on the size of code fragments passed to run_in_other_process.
5980 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5981 the amount of memory to allocate in the other process.
5983 Removed sigkill_code_end(), sigint_code_end() and
5984 sig_enable_code_end() since they are now redundant.
5986 send_signal() and enable_child_signals(): Don't try to work
5987 out the end of the code fragments passed to
5988 run_in_other_process()
5990 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5992 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5995 * src/unexelf.c: Partially synched with FSF's 20.3.
5997 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5999 * insdel.c (signal_after_change): Map across indirect buffers
6000 here, and not in the upper-level functions.
6001 (signal_first_change): Don't check for Armageddon.
6002 (signal_before_change): Map across indirect buffers here.
6003 (prepare_to_modify_buffer): ...and here.
6005 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
6007 * insdel.c (signal_after_change): Add return value.
6008 (buffer_insert_string_1): Use it.
6009 (buffer_delete_range): Ditto.
6010 (buffer_replace_char): Ditto.
6011 (cancel_multiple_change): Map the indirect buffers.
6013 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6015 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6016 (uninit_buffer_text): Ditto.
6018 * buffer.c (Fmake_indirect_buffer): Implement stricter
6021 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
6023 * insdel.c (change_function_restore): Reverse order of
6024 function-call and assignment.
6025 (first_change_hook_restore): Ditto.
6027 * extents.c (mark_extent_auxiliary): Mark them.
6028 (Fset_extent_property): Set them.
6029 (Fextent_property): Get them.
6030 (Fextent_properties): Ditto.
6031 (vars_of_extents): Set their default.
6033 * extents.h (struct extent_auxiliary): Add before_change_functions
6034 and after_change_functions.
6036 * insdel.c (signal_before_change): Use it.
6037 (signal_after_change): Ditto.
6039 * extents.c (report_extent_modification): New function.
6041 * insdel.c (signal_before_change): Don't check for Armageddon.
6042 (signal_after_change): Ditto.
6044 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6046 * redisplay.c (redisplay_window): make sure a new starting point
6047 is chosen if it somehow got moved from the beginning of the line
6048 -- this can happen because Fwiden was called recently.
6050 * window.c (Fset_window_start): set start_at_line_beg correctly
6051 (Fset_window_buffer): Ditto
6053 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
6055 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
6056 (uninit_buffer_text): Ditto.
6058 * buffer.c (Fmake_indirect_buffer): Implement stricter
6061 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
6063 * emacs.c (main_1): Removed references to *vars_of_filelock.
6065 * lisp.h: Added Fsystem_name.
6067 * filelock.c: Replaced by version from FSF 20.2. Now implements
6068 locking by using symlinks which is NFS safe. However keep the
6069 GCPRO's in lock_file and the calls to callx_in_buffer like our old
6070 version (and of course use ansi C, acessor macros, etc).
6072 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
6074 * process-unix.c (unix_create_process): Reset SIGHUP handler to
6075 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
6076 in init_signals_very_early. However these should not be passed
6077 on to children attached to the new pty.
6079 1998-08-28 Andy Piper <andyp@parallax.co.uk>
6081 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
6083 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
6085 * fileio.c (file-name-directory, file_name_as_directory):
6086 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
6088 1998-09-02 Andy Piper <andyp@parallax.co.uk>
6090 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
6092 * ralloc.c: uncomment __morecore.
6094 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
6096 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
6097 WriteFile() to fix a winsock 1.x bug on Win95.
6099 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
6101 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
6103 (x_event_to_emacs_event): Ditto.
6104 (emacs_Xt_handle_focus_event): Ditto.
6105 (emacs_Xt_handle_magic_event): Ditto.
6107 * console-x.h (struct x_device): New flag being_deleted.
6108 (DEVICE_X_BEING_DELETED): New macro.
6110 * device-x.c (x_IO_error_handler): Throw to top-level instead of
6111 returning. Before doing that, set the being_deleted flag on the
6114 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
6116 * device-x.c (x-seppuku-on-epipe): Removed.
6118 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6120 * frame-x.c (x_delete_frame): Flush the X output buffer after
6121 calling XtDestroyWidget to ensure that the windows are really
6124 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
6126 * menubar-x.c (my_run_hook): New unused function.
6127 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
6128 since we ignore the results of the contained functions anyway.
6130 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
6132 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
6133 interlaced GIF files that are smaller than 4 lines high...
6135 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6137 * buffer.c (map_over_sharing_buffers): Deleted.
6139 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
6141 * buffer.c (Fkill_buffer): Keep indirect_children updated while
6144 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6146 * insdel.c (buffer_insert_string_1): Advance the point bytind in
6148 (buffer_delete_range): Ditto.
6150 * marker.c (init_buffer_markers): Set point-marker to the value of
6151 point in an indirect buffer.
6153 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6155 * undo.c (undo_prelude): Test last-undo-buffer against base
6158 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
6160 * buffer.h (BUFFER_BASE_BUFFER): New macro.
6162 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
6164 * insdel.c (init_buffer_text): Initialize it here.
6166 * line-number.c: Address line_number_cache through buffer->text.
6168 * buffer.c (mark_buffer): Mark line number cache.
6170 * bufslots.h (line_number_cache): Move to struct buffer_text.
6172 * insdel.c (buffer_insert_string_1): Propagate signals and changes
6173 across the children buffers.
6174 (buffer_delete_range): Ditto.
6175 (buffer_replace_char): Ditto.
6179 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
6181 * buffer.c (Fmake_indirect_buffer): Uncomment.
6183 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
6185 * macros.c (Fend_kbd_macro): Remove trailing period from error
6187 (Fexecute_kbd_macro): Ditto.
6189 1998-08-21 Greg Klanderman <greg@alphatech.com>
6191 * dired.c (Fuser_name_completion): remove optional 2nd argument.
6192 (Fuser_name_completion_1): new function to return uniqueness
6193 indication in addition to the user name completion.
6194 (user_name_completion): change type of `uniq' argument.
6196 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6198 * lread.c (vars_of_lread): Removed `source-directory' variable.
6200 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
6202 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
6205 1998-08-19 SL Baur <steve@altair.xemacs.org>
6207 * dired.c (vars_of_dired): Fix misapplied patch.
6209 1998-08-16 Martin Buchholz <martin@xemacs.org>
6211 * fns.c (Fremrassq, remrassq_no_quit):
6212 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
6214 1998-07-17 Didier Verna <verna@inf.enst.fr>
6216 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
6217 style as foreground GC for faces that have the `dim' property.
6218 (x_output_string): when the `dim' face property is set,
6219 ensure the gray pixmap has been created, and get a proper
6220 foreground GC to draw the text.
6222 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6224 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
6225 Manually track the state of the left and right Ctrl and Alt
6228 1998-08-07 Matt Stupple <matts@tibco.com>
6230 * ntproc.c: don't wait on char_consumed at thread entry.
6231 Additionally, to get the 'process' marked as finished, ensure
6232 that the CHILD_ACTIVE macro returns false, so before exiting
6233 close char_avail and set it to NULL, and close other handles
6234 to reduce handle leak problems.
6236 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6238 * menubar-msw.c (displayable_menu_item): take account of menu
6239 depth when deciding whether to try to display accelerators.
6241 1998-08-04 Andy Piper <andyp@parallax.co.uk>
6243 * event-msw.c: use MsgWaitForMultipleObjects if there are no
6246 * glyphs-msw.c: fix a couple of potential handle leaks.
6248 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
6250 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
6251 *decoding ONLY* back into the core.
6252 * glyphs-eimage.c: Change referenced header file for GIF
6253 reading to point to the incore version.
6255 1998-07-20 Martin Buchholz <martin@xemacs.org>
6257 * casefiddle.c (casify_object):
6258 Change algorithm from O(N**2) to O(N).
6262 1998-07-22 Greg Klanderman <greg@alphatech.com>
6264 * dired.c (file_name_completion_unwind): don't leak the cons.
6266 1998-07-20 Greg Klanderman <greg@alphatech.com>
6268 * dired.c (Fuser_name_completion): new function.
6269 (Fuser_name_all_completions): new function.
6270 (user_name_completion): new function.
6271 (syms_of_dired): 2 new DEFSUBRs.
6272 (vars_of_dired): initialize user name cache vars.
6274 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
6276 * glyphs-eimage.c (png_instantiate): Add proper handling for background
6277 colors taken from the default face. Also correct a thinko in
6278 transparency (not alpha) handling.
6280 1998-07-23 Martin Buchholz <martin@xemacs.org>
6282 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
6283 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
6284 * lread.c (Fload_internal): Be very careful with printfs of
6286 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
6289 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6291 * callint.c (Fcall_interactively): GCPRO prompt string before
6292 passing it to Fread_key_sequence
6294 1998-07-27 SL Baur <steve@altair.xemacs.org>
6296 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
6297 Vvertical_divider_map.
6299 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
6300 Qnil or 0, none were initialized prior to this change.
6302 Rename misnamed `V' prefixed integer variables:
6303 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
6304 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
6305 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
6306 Vcanna_ichiran_revLen.
6308 Rename misnamed `V' prefixed integer variables and initialize
6309 properly in the vars_of routine.
6310 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
6311 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
6312 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
6313 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
6314 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
6315 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
6316 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
6317 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
6318 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
6319 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
6320 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
6321 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
6322 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
6323 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
6324 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
6325 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
6326 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
6327 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
6328 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
6329 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
6330 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
6331 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
6332 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
6333 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
6334 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
6335 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
6336 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
6337 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
6338 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
6339 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
6340 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
6341 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
6342 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
6343 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
6344 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
6345 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
6346 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
6347 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
6348 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
6349 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
6350 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
6351 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
6352 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
6353 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
6354 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
6355 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
6357 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
6359 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
6360 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
6361 keys thus no longer considering all keysyms on a key.
6363 1998-07-19 SL Baur <steve@altair.xemacs.org>
6365 * XEmacs 21.2-beta1 is released.
6367 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6369 * eldap.c (Fldap_search_internal): When converting the list of
6370 attributes to search Copy the final 0 from Lisp strings to C
6372 Check base, not Vldap_default_base as a a string
6374 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
6376 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
6378 * unexnt.c: Unconditionally define bss_start and bss_size, and
6379 ensure that they don't go in the .bss section.
6381 1998-07-17 Olivier Galibert <galibert@pobox.com>
6383 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
6384 byte order is dependant of the local byte order).
6385 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
6387 1998-07-18 SL Baur <steve@altair.xemacs.org>
6389 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
6390 Qmswindows_resource.
6391 From Jonathan Harris <jhar@tardis.ed.ac.uk>
6393 1998-07-12 SL Baur <steve@altair.xemacs.org>
6395 * general.c (syms_of_general): Add defsymbol for Qresource.
6397 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
6398 Qmswindows_resource.
6399 (TopLevel): Rename 'resource image format to 'mswindows_resource.
6400 (mswindows_resource_validate): Rename.
6401 (mswindows_resource_normalize): Rename.
6402 (mswindows_resource_possible_dest_types): Rename.
6403 (mswindows_resource_instantiate): Rename.
6404 (image_instantiator_format_create_glyphs_mswindows): Replace
6405 `resource' with `mswindows.resource'.
6407 * XEmacs 21.0-pre5 is released.
6409 1998-07-10 SL Baur <steve@altair.xemacs.org>
6411 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
6412 server type in environment.
6413 Use alloca-ed strings instead of tiny fixed size ones.
6415 1998-07-09 SL Baur <steve@altair.xemacs.org>
6417 * XEmacs 21.0-pre4 is released.
6419 1998-07-01 James N. Potts <jnpotts@plutonium.net>
6421 * fileio.c: (expand_file_name): under win32: Don't treat names
6422 as UNC names if a drive letter has been specified. If a drive
6423 has been specified, strip out extra directory-seperators that
6424 reportedly cause problems under Win95.
6426 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6428 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
6429 MSVC >= 5.0. Put emacs init and zero-init data in a special
6430 section of the executable when this is defined.
6432 * unexnt.c, ntheap.h:
6433 Removed unused find_section() and get_section_size().
6436 Fix up the executable's checksum after dumping otherwise the
6438 When DUMP_SEPARATE_SECTION is defined, don't need to dump
6439 zero-init data separately from init data. Dump emacs data
6440 into a special section of the executable.
6441 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
6442 my_ebss instead of up to the end of bss.
6444 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
6446 * filelock.c: Removed Vconfigure_lock_directory - already
6449 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
6450 defined in frame.c and general.c respectively.
6452 * glyphs-msw.c: Removed Qresource - already defined in
6455 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6457 * eldap.c (Fldap_search_internal): Docstring fixes
6459 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
6461 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
6462 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
6463 EMACSPACKAGEPATH and INFOPATH variables.
6464 Removed unused get_emacs_configuration function.
6466 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
6467 it is now defined at build-time by the makefile.
6469 1998-07-01 James N. Potts <jnpotts@plutonium.net>
6471 * fileio.c: (expand_file_name): under win32: Don't treat names as
6472 UNC names if a drive letter has been specified. If a drive has
6473 been specified, strip out extra directory-seperators that
6474 reportedly cause problems under Win95.
6476 1998-07-05 Andy Piper <andyp@parallax.co.uk>
6478 * faces.c (complex_vars_of_faces): for the gui-element face don't
6479 fallback to the default face, instead provide reasonable default
6480 fallbacks that were previously hardcoded elsewhere.
6482 1998-07-06 Olivier Galibert <galibert@pobox.com>
6484 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
6485 when the X server endianness is different than the client's one.
6487 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6489 * eval.c (run_hook_with_args_in_buffer): Check
6490 default (non-buffer-local) value of hook for
6491 nil before treating it as a function. Don't initialize
6492 the `globals' variable twice.
6494 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
6496 * fileio.c: Don't do directory seperator canonicalisation in
6497 substitute-in-file-name because we don't know that the
6498 filename refers to a local file.
6500 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
6502 * process-nt.c (nt_create_process): Try appending the standard
6503 executable file extensions to the filename if none supplied.
6505 1998-06-29 SL Baur <steve@altair.xemacs.org>
6507 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
6509 From Keisuke Mori <ksk@ntts.com>
6511 1998-06-24 Andy Piper <andyp@parallax.co.uk>
6513 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
6514 images if we have masks. This handles the xbm case (have masks)
6515 and avoids overuse of resources in the xpm case (generally no masks).
6516 Don't output small toolbars.
6518 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6520 * eval.c (run_hook_with_args_in_buffer): Don't treat
6521 the default value of a buffer local hook as a list of
6522 hooks unless it is both a cons and the car of that cons
6525 1998-06-29 SL Baur <steve@altair.xemacs.org>
6527 * extents.c: Email address for Ben Wing is ben@xemacs.org.
6528 * process-unix.c: Ditto.
6529 * mule-coding.h: Ditto.
6530 * mule-coding.c: Ditto.
6531 * mule-charset.c: Ditto.
6532 * mule-charset.h: Ditto.
6533 * file-coding.c: Ditto.
6534 * file-coding.h: Ditto.
6536 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
6538 * event-msw.c: Guard against recursion when freeing
6539 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
6541 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
6542 Call ShowWindow twice in init_frame_3 to get round runemacs
6545 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
6547 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
6549 * winslots.h: Rename.
6551 * window.c (specifier_vars_of_window): Renamed
6552 vertical-divider-draggable-p to vertical-divider-always-visible-p,
6553 as suggested by Ben Wing.
6554 (specifier_vars_of_window): Fix docstrings.
6556 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6558 * unexaix.c: Line number information works correctly again.
6560 1998-06-22 Olivier Galibert <galibert@pobox.com>
6562 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
6564 1998-06-21 Martin Buchholz <martin@xemacs.org>
6566 * editfns.c (get_home_directory): ANSIfy.
6567 XEmacs is compilable under C *and* C++.
6568 It's XEmacs, not Xemacs!
6570 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6572 * console-msw.h: added a list of fonts to device data.
6574 * device-msw.c: enumerate list of available fonts in
6575 mswindows_init_device. Free list in mswindows_delete_device.
6577 * objects-msw.c: Added helper function match_font used by
6578 mswindows_initialize_font_instance and mswindows_list_fonts.
6579 Allow a charset to be specified in a font string, even if
6580 previous fields havn't been specified.
6582 1998-06-23 Greg Klanderman <greg@alphatech.com>
6584 * indent.c (column_at_point): column cache bugfix.
6585 Set last_known_column_point to the buffer position for
6586 which the column was requested, not buffer's point.
6588 * redisplay.c (decode_mode_spec): for current-column, show
6589 window's point's column, not buffer's point's column.
6591 1998-06-23 Andy Piper <andyp@parallax.co.uk>
6593 * menubar-msw.c (mswindows_handle_wm_command): use
6594 enqueue_misc_user event rather than
6595 mswindows_enqueue_msic_user_event to fix customize problems. Add some
6598 * console-msw.h: declare mswindows_enqueue_magic_event.
6600 * event-msw.c (mswindows_enqueue_magic_event): make global.
6602 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
6604 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
6605 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
6606 (add_position_to_cache): Use EMACS_INT instead of int.
6608 1998-06-21 Olivier Galibert <galibert@pobox.com>
6610 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
6611 suitable for an int used as a boolean (btw, C sucks.).
6613 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6615 * object-msw.c: remove warnings.
6617 * device-msw.c: #define wrongly named cygwin structure elements.
6619 * s/cygwin32.h: define DEMI_BOLD
6621 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6623 * redisplay-msw.c: new function mswindows_apply_face_effects.
6624 This is called by output_string and output_cursor to display
6625 underline and strikeout on faces.
6627 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6629 * console-msw.h: added a list of fonts to device data.
6631 * device-msw.c: enumerate list of available fonts in
6632 mswindows_init_device. Free list in mswindows_delete_device.
6634 * objects-msw.c: Added helper function match_font used by
6635 mswindows_initialize_font_instance and mswindows_list_fonts.
6636 Allow a charset to be specified in a font string, even if
6637 previous fields havn't been specified.
6639 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
6642 Removed compilation warnings from mswindows_string_to_color.
6643 mswindows_list_fonts returns a more general bogus font.
6644 New lisp-visible function mswindows-color-list.
6646 1998-06-19 David Bush <david.bush@adn.alcatel.com>
6648 * editfns.c (Fuser_login_name): Modify to user new function
6650 (user_login_name): C only function to avoid Lisp object overhead
6651 Returns "unknown" instead of nil in Cygwin environment
6653 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
6654 equivalent for current user in Cygwin environment. Use new
6655 function user_login_name to get username.
6657 * lisp.h: Declare user_login_name
6659 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6661 * unexaix.c (make_hdr): Fixed bias computations so debugging info
6663 Some other insignificant nitpicks.
6665 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6667 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
6668 creating the image list and make sure he bk color is transparent.
6670 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
6672 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
6673 completed_timeouts. The timer could have expired.
6675 1998-06-17 Andy Piper <andyp@parallax.co.uk>
6677 * console-msw.h: move XEMACS_RECT_WH inside frame
6678 parameters. define macors to access it.
6680 * frame-msw.c (mswindows_init_frame_1): use new target_rect
6681 parameter to intialise desired sizing. (mswindows_init_frame_2):
6682 enable and size the frame to something sensible when we get
6683 here. (mswindows_set_frame_properites): use new
6684 mswindows_size_frame_internal function and size frame if frame
6685 parameters not just if init is finished - WM_SIZE happens too
6686 early for some specs. (mswindows_size_frame_internal): new
6687 function abstracted from mswindows_set_frame_properties.
6688 (Vmswindows_use_system_frame_size_defaults):
6689 new variable controls whether to allow the system to pick frame
6690 size defaults, defaults to nil.
6692 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
6693 than duplicated code.
6695 1998-06-15 Colin Rafferty <colin@xemacs.org>
6697 * Makefile.in.in: Made EXTW_LINK expand properly.
6699 1998-06-12 Martin Buchholz <martin@xemacs.org>
6701 * redisplay.c (vars_of_redisplay): default value of
6702 column-number-start-at-one should be NIL!
6704 1998-06-11 Martin Buchholz <martin@xemacs.org>
6707 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
6709 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
6711 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
6712 build_string to avoid crashes under Mule.
6714 1998-06-13 Andy Piper <andyp@parallax.co.uk>
6716 * ntplay.c (play_sound_data_1): don't delete the sound data until
6717 the next sound is played and the previous one finished.
6719 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
6721 * fileio.c (directory-sep-char): Escape backslashes.
6723 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
6725 * event-stream.c: Fix docstring reference.
6727 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
6729 * alloc.c (make_float): Remove useless initialization of `next'
6731 (make_pure_float): Ditto.
6733 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
6735 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6737 * fileio.c (Fmake_directory_internal): Remove conditionals
6738 on WINDOWSNT when calling mkdir.
6740 * ntproc.c: Deleted the following unused functions:
6741 register_child, reap_subprocess, sys_wait.
6743 * nt.c (sys_rename): Ifzeroed this implementation.
6744 Deleted the following unused functions:
6745 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
6746 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
6747 sys_read, sys_write.
6748 Merger sys_fopen and sys_open with sysdep.c implementation.
6750 * sysdep.c: Removed MS-DOS code.
6751 (sys_rename): Deal with Microsoft rename weirdness.
6752 (sys_open): Implemented for Windows.
6756 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6758 * buffer.c (complex_vars_of_buffer): Removed %t description from
6761 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6763 * scrollbar-msw.c: initialize the cbSize element of the
6764 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6765 to ignore the value of cbSize, but Win95 (and I presume Win98)
6766 appear to want it set to sizeof(SCROLLINFO).
6768 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6770 * event-stream.c: Defined Qcancel_mode_internal.
6771 (syms_of_event_stream): defsymbol'ed it.
6773 * events.h: Externed it.
6775 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6777 1998-06-04 Oliver Graf <ograf@fga.de>
6779 * frame-x.c (x_cde_destroy_callback): free the data
6780 (cde-start-drag-internal) corrected root position, 21.1 needs this
6781 hardcoded in Button events
6782 (offix-start-drag-internal) corrected root position
6784 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6786 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6789 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6791 * dialog-msw.c (button_width): Removed `inline' from the function
6794 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6796 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6797 Note that adding this flag to subsequent frames causes problems.
6799 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6801 * glyphs-eimage.c (png_instantiate) move 'struct
6802 png_memory_storage tbr' out of nested block to avoid dangling
6805 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6808 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6809 inherits from gui-element.
6811 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6812 with existing code, generate masks correctly.
6814 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6816 * glyphs-eimage.c: Changed included header for gifs to use
6817 Gifreader instead of giflib.
6819 * glyphs-x.c: removed the image-related functions that were
6820 moved into glyphs-eimage.
6822 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6824 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6825 if built without X Windows support.
6827 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6829 * fns.c (Fconcat): Synch docstring with new reality.
6831 1998-06-03 SL Baur <steve@altair.xemacs.org>
6833 * frame.c: Remove reference to msdos.h (which is going away).
6834 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6836 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6838 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6842 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6844 * events.h: Fixed commentary about misc-user scrollbar events.
6846 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6847 object as an event channel, instead of window object.
6848 (x_update_horizontal_scrollbar_callback): Ditto.
6850 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6852 * ntplay.c (play_sound_data_1) new function. convert alloca data
6853 to malloc if necessary.
6854 (play_sound_file): if the file is not in our path then convert to
6857 1998-06-01 SL Baur <steve@altair.xemacs.org>
6859 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6860 * msdos.c (Frecent_doskeys): Ditto.
6862 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6863 Suggested by Reggie Perry <perry@zso.dec.com>
6865 * buffer.h: Eliminate size in declaration.
6867 1998-06-01 Olivier Galibert <galibert@pobox.com>
6869 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6871 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6873 * gui.c (gui_item_init): Changed the default value for config member
6874 from Qunbound to Qnil.
6876 1998-06-01 Greg Klanderman <greg@alphatech.com>
6878 * indent.c (vmotion_pixels): Don't #define abs().
6880 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6882 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6885 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6887 * glyphs.h: add xbm declarations.
6889 * console.h: add xbm_instantiate_method device method.
6891 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6892 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6893 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6894 locate_pixmap_file device method and read_bitmap_data_from_file
6895 instead of XmuReadBitmapDataFromFile.
6896 (xbm_instatntiate): make a device method.
6898 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6899 new function that just calls XmuReadBitmapDataFromFile.
6900 (x_xbm_instatntiate): device method from xbm_instantiate.
6902 * glyphs-msw.c (read_bitmap_data) (NextInt)
6903 (read_bitmap_data_from_file): new functions copied from Xmu
6905 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6906 inline data to an mswindows bitmap.
6907 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6908 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6911 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6913 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6914 `modeline-visible-p'.
6915 Declared specifier lisp variables at the beginning oh the file
6918 * procimpl.h (struct process_methods): Changed semantics of
6919 create_process method so it accepts lisp strings instead of
6922 * process.c (Fstart_process_internal): Moved building of
6923 unix style argv from here to process-unix.c, ...
6925 * process-unix.c (unix_create_process): ... right here.
6927 * process-nt.c (nt_create_process): Changed this function to
6928 support new semantics, so avoided a GC problem.
6930 * events.c (Fmake_event): Document misc-user events properties.
6931 (Fmake_event): Do not allow arbitrary objects for channel property
6932 of misc-user events.
6933 (Fmake_event): Change misc-user event validation: it is function
6934 which is required, not button.
6936 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6938 (mswindows_enqueue_misc_user_event): Added function.
6939 (mswindows_bump_queue): Removed function.
6940 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6941 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6942 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6943 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6944 really nothing, which is my personal favorite thing.
6946 * console-msw.h: Removed prototype for mswindows_bump_queue().
6947 Added prototype for mswindows_enqueue_misc_user_event().
6949 * menubar-msw.c (mswindows_handle_wm_command): Use
6950 mswindows_enqueue_misc_user_event().
6952 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6954 * dialog-msw.c (dialog_proc): Ditto.
6956 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6957 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6958 user events channel.
6960 1998-05-29 Greg Klanderman <greg@alphatech.com>
6962 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6963 incorrect semantics of vmotion_pixels which has been fixed. don't
6964 use it anymore as it can't easily be used.
6966 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6967 the motion was reported incorrectly if you tried to go past end of
6970 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6972 * toolbar.h: Removed misleading commentary, as Martin suggested.
6974 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6976 * lisp.h: Extern Qactivate_menubar_hook.
6978 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6981 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6983 * glyphs-msw.c: use BPLINE macro.
6985 * select-msw.c (mswindows-selection-exists-p)
6986 (mswindows-delete-selection): doc string fixes.
6988 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6989 unpressable. warning elimination.
6991 1998-05-28 Martin Buchholz <martin@xemacs.org>
6993 * alloc.c (dbg_constants):
6996 Remove toolbar_data debugging code, since that lrecord has
6999 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
7001 * alloc.c: zap cached value of (user-home-directory), so that
7004 * buffer.c: From init_buffer(), separated out code that
7005 determined the initial directory for the *scratch* buffer, and
7006 put them into a function called "init_initial_directory()".
7007 The initial directory is now available as a global "char *"
7008 called initial_directory.
7010 * buffer.h: Added extern entries for initial_directory[] and
7011 init_initial_directory().
7013 * editfns.c: added new elisp function "user-home-directory",
7014 which basically returns getenv("HOME"), but attempts to use
7015 other values if $HOME isn't set.This may have to be tweaked in
7016 the future as, under Unix, "/" is used if $HOME isn't set (this
7017 probably should be set to the current directory). To support
7018 this, a new C function, "get_home_directory()", now exists,
7019 which returns the "home directory", as a "char *" string.
7021 * emacs.c: Rearrange NT initialization order so that
7022 environment/registry variables will be properly entered into
7023 Vprocess_enviroment.
7025 * fileio.c: replaced egetenv("HOME") with calls to the new
7026 get_home_directory().
7028 * lisp.h: Added function prototypes for uncache_home_directory()
7029 and get_home_directory(), along with lisp prototypes for
7030 Fuser_home_directory() and friends.
7032 * nt.c: replaced getenv("HOME") with calls to the new
7033 get_home_directory().
7035 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
7036 warnings about getcwd(), etc. not having prototypes.
7038 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
7040 * process-nt.c (send_signal): Emulate SIGHUP.
7041 (validate_signal_number): Ditto.
7043 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
7044 remove MOD_SHIFT from ASCII characters.
7045 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
7048 1998-05-24 Oliver Graf <ograf@fga.de>
7050 * frame-x.c (cde-start-drag-internal): added filename and multi-
7052 (x_cde_convert_callback) dito
7054 1998-05-26 Oliver Graf <ograf@fga.de>
7056 * frame-x.c: include event-mod.h also with CDE
7057 (x_cde_convert_callback) made the thing working
7058 (cde-start-drag-internal) also debugging
7060 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
7067 - add __OpenBSD__ where __NetBSD__ was found.
7068 - TODO: replace platform-specific conditional compilation by
7069 feature tests in configure.in.
7071 1998-05-15 Greg Klanderman <greg@alphatech.com>
7073 * window.c (Fwindow_displayed_text_pixel_height): New function.
7074 (syms_of_window): DEFSUBR it.
7076 * indent.c (Fvertical_motion_pixels): New function - request
7078 (vmotion_pixels): helper.
7079 (syms_of_indent): DEFSUBR.
7080 * lisp.h: declaration for vmotion_pixels().
7082 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
7083 to request returning motion in pixels.
7084 (Fvertical_motion_pixels): Remove, functionality merged into
7086 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
7087 (Fmove_to_window_line): ditto.
7088 * lisp.h: Change declaration for Fvertical_motion.
7090 * window.c: rename window-text-pixel-{height,width,edges} to
7091 window-text-area-pixel-*.
7093 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7095 * tooltalk.c (vars_of_tooltalk) added staticpro for
7096 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
7098 1998-05-27 Andy Piper <andyp@parallax.co.uk>
7100 * faces.c: create a new 3d_object_face, make modeline and
7101 vertical_divider faces fallback to this rather than the default.
7103 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7105 * s/cygwin32.h: define charsets for cygwin.
7107 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7109 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
7110 and coordinates. resize bitmaps if we have already settled on a
7113 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
7115 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
7117 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7119 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7123 * gui-x.c (popup_selection_callback): Ditto.
7125 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
7127 * gui.c (get_callback): Renamed to get_gui_callback.
7129 1998-05-17 Martin Buchholz <martin@xemacs.org>
7131 * glyphs.h: order rearrangement.
7133 * device-tty.c (tty_asynch_device_change): Warning suppression.
7134 * device-x.c (x_device_system_metrics): Warning suppression.
7135 Make Doc strings consistent with coding standards.
7137 1998-05-24 Martin Buchholz <martin@xemacs.org>
7139 * general.c: multiple definition of `Qicon'. general.c seems
7140 like a good home for Qicon.
7142 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7144 * This patch is to fix compilation warnings under Windows.
7146 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
7147 Added prototypes for FSF inherited functions, with which XEmacs is
7148 sprinkled thoroughly.
7149 Removed some #if 0 code. Bracketed some more definitions, probably
7150 related to Visual C versions prior to 4 (we do not support them).
7152 * sysfloat.h (logb): Finally, get logb() prototyped.
7154 * sysfile.h: Added Windows specific includes.
7155 Removed old Windows specific code bracketed with #if 0.
7157 * sysdep.h: Added prototype for xrealpath().
7159 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
7161 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
7162 vars_of_dired_mswindows and init_ntproc (Grrr).
7164 * realpath.c: Added Windows specific include files.
7165 (xrealpath): Conditionalized declaration of some auto variables on
7166 S_IFLNK, to avoid warnings.
7168 * ntproc.c: Disabled some compiler warnings. This file is going to
7169 die, so I have not cleaned it up much.
7170 (set_process_dir): Const parameter.
7171 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
7172 (Fwin32_long_file_name): Ditto.
7173 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
7176 * nt.h: Added prototypes for set_process_dir and convert_time.
7178 * nt.c: More include files.
7179 (getpwnam): Consted char* argument.
7180 (get_emacs_configuration): Const return value.
7181 (opendir): Const argument.
7182 (stat): Casted converstion long->short.
7183 (stat): Removed ad hoc and questionable support for non-MSC compile.
7184 (sys_pipe): Removed unused auto variable.
7185 (_sys_read_ahead): Removed calls to DebPrint.
7186 (sys_read): Ditto, in 2 places.
7187 (term_ntproc): Added unused int parameter to signal handler, to
7188 avoid a warning when compiling a call to signal().
7189 (msw_sigset): Properly return old signandler or NULL instead of void.
7191 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
7193 * gmalloc.c (morecore): Ditto.
7194 (_free_internal): Ditto.
7196 * lread.c (parse_integer): Ditto.
7198 * dired-msw.c: Added several include files.
7200 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
7201 of Compilers to Shut Up.
7203 * callproc.c: Added #includes to suppress warnings under Windows.
7204 (init_callproc): Removed #if0'ed code and unused variables.
7206 1998-05-25 Andy Piper <andyp@parallax.co.uk>
7208 * device-msw.c (mswindows_device_system_metrics): do planes in a
7209 way consistent with X.
7211 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
7212 use SetPixel, use DIBits functions.
7213 (xpm_to_eimage): frob colors more closely like xpm deos.
7215 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
7216 to be closer to X version.
7218 * event-msw.c: use tooltip string directly.
7220 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
7222 * objects-msw.c: frob rgb colors that only Kyle uses.
7224 * dialog-msw.c (button_width): INLINE -> inline.
7226 1998-05-23 SL Baur <steve@altair.xemacs.org>
7228 * getloadavg.c (getloadavg): Fix typo.
7230 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7232 * objects-msw.c (mswindows_initialize_font_instance): Added support
7233 for font character sets.
7234 Replaced 'XXX' with '####' in comments throughout the file.
7236 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
7238 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
7239 console_type_create_dialog_mswindows(), to initialize Windows dialog
7242 * symsinit.h: Prototyped the above functions.
7244 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
7245 checks to dialog.c...
7247 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
7248 device must support dialog boxes, and the descriptor must supply at
7251 * dialog-msw.c: New file, dialogs for Windows.
7253 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7255 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
7256 (Fldap_search_internal): Removed unused variable `err'
7258 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
7261 1998-05-17 Martin Buchholz <martin@xemacs.org>
7263 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
7264 defined. Therefore there is no need to handle the case when
7265 HAVE_LDAP is undefined. Similarily, there is no reason to have
7266 any code wrapped within `#ifdef emacs', since this code is only
7267 useful within an emacs. This simplifies the code significantly.
7269 * inline.c: Include eldap.h only if HAVE_LDAP.
7270 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
7273 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
7275 * unexnt.c (copy_executable_and_dump_data_section): Suppress
7276 printing dump stats when building without DEBUG_XEMACS.
7277 (dump_bss_and_heap): Ditto.
7279 1998-05-21 Andy Piper <andyp@parallax.co.uk>
7281 * gnuclient.c: don't suppress window system if there is no display
7282 and we are running under mswindows. send 'mswindows device type if
7283 we are in this situation.
7285 1998-05-20 Andy Piper <andyp@parallax.co.uk>
7288 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
7290 * glyphs-msw.c: change cursor imgae type name to resource. Fix
7293 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
7295 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
7296 {top,bottom}-{left,right} values in addition to
7297 {top,bottom}_{left,right}.
7299 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
7301 * fileio.c (Fmake_temp_name): Remove unreached code.
7303 * process-nt.c (validate_signal_number): Use
7304 signal_simple_error().
7306 1998-05-19 Martin Buchholz <martin@xemacs.org>
7309 * sound.c (vars_of_sound):
7310 * sysdep.c (reset_sigio_on_device):
7311 * window.c (window_bottom_gutter_height):
7312 unexhp9k800.c:258: warning: implicit declaration of function
7313 `calculate_checksum'
7314 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
7315 sysdep.c:1012: warning: unused variable `owner'
7316 window.c:993: warning: `window_right_toolbar_width' defined but not used
7318 1998-05-19 Andy Piper <andyp@parallax.co.uk>
7320 * glyphs-msw.c (mswindows_create_resized_mask)
7321 (mswindows_create_resized_bitmap): new funnctions split out from
7322 mswindows_resize_dibitmap_instance.
7324 * glyphs-msw.h: declare new resize functions.
7326 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
7327 functions so that the original bitmaps are preserved.
7329 * sheap.c: fixup static heap exhausted error to avoid FAQs.
7331 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
7332 color if we are trying to output 0 depth bg pixmap.
7334 * scrollbar-msw.c: warning elimination.
7336 1998-05-18 Martin Buchholz <martin@xemacs.org>
7338 * frame-x.c (x_update_frame_external_traits): Start preprocessor
7339 directives in column 1.
7341 * search.c (skip_chars): Avoid using xzero with arrays, since some
7342 compilers get confused by the construct &array.
7344 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7347 * objects-msw.c: Changed the charset value for a new font from
7348 "don't care" to "ansi".
7350 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
7352 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7354 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
7355 modifier on control chars.
7356 Use IsCharAlpha() instead of isaplha().
7358 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
7360 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
7362 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7364 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
7365 charset when creating font.
7366 (mswindows_initialize_color_instance): Do not create brush along
7368 (mswindows_finalize_color_instance): Do not delete it then.
7370 * objects-msw.h (struct mswindows_color_instance_data): Removed
7371 brush slot, and corresponding accessor macro.
7373 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
7375 * toolbar.c: Removed toolbar_data lrecord implementation.
7376 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
7377 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
7378 (compute_frame_toolbar_buttons): Ditto.
7379 (CHECK_TOOLBAR): Ditto.
7380 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
7381 (update_frame_toolbars): Do not check for changed buffer
7382 here. Toolbar information is provided by cached specs in
7383 windows. The check for buffer is eliminated becuase toolbars are
7384 marked changed in set_frame_selected_window() in frame.c
7385 Added check for changed toolbars geometry.
7386 (compute_frame_toolbars_data): Removed unused second parameter;
7387 Adjusted callers of this static function throughout the file.
7388 (init_frame_toolbars): Initialize current_toolbar_size.
7389 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
7390 what is its current expansion, for clarity.
7391 (init_frame_toolbars): Ditto.
7392 (init_device_toolbars): Ditto.
7393 (init_global_toolbars): Ditto.
7395 * toolbar.h: Removed definition of toolbar_data lrecord.
7396 Added accessor macros FRAME_TOOLBAR_BUTTONS and
7397 FRAME_CURRENT_TOOLBAR_SIZE.
7398 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
7400 * toolbar-x.c (x_output_toolbar): The same change as in
7402 (x_output_toolbar): Ditto.
7403 (x_redraw_exposed_toolbar): Ditto.
7405 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
7406 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
7407 (mswindows_output_toolbar): Ditto.
7408 (mswindows_output_toolbar): Ditto.
7410 * frame.c (mark_frame): Removed marking of arrays, according to
7411 frameslots.h change.
7412 (nuke_all_frame_slots): Ditto.
7413 (set_frame_selected_window): Mark toolbars changed when
7414 last_nonminibuf_window changes.
7416 * frame.h (struct frame): Moved some slots to frameslots.h.
7417 Added current_toolbar_size array.
7418 Changed references from toolbar_data to toolbar_buttons in macros
7419 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
7420 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
7421 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
7423 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
7424 Moved arrays of lisp objects here from frame.h: toolbar_size,
7425 toolbar_visible_p, toolbar_border_width.
7426 Removed toolbar_data slot and added toolbar_buttons.
7428 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
7430 * symsinit.h: Externed syms_of_process_nt()
7432 * emacs.c (main_1): Call syms_of_process_nt()
7434 * process-nt.c: Quote process arguments by a call to Lisp function
7435 `nt-quote-process-args'.
7436 (syms_of_process_nt): New function.
7437 (nt_send_process): Flush data stream after each write, to avoid
7438 leaving buffered data.
7439 (nt_send_process): When blocked on process output, wait for
7440 process to slurp more for progressively increasing time intervals.
7442 1998-05-17 Martin Buchholz <martin@xemacs.org>
7444 * window.c (have_undivided_common_edge): Make file-local function
7446 (map_windows): Return 0 if all map functions successful.
7449 * winslots.h: Use unlikely names for local variables in macros to
7450 avoid shadowing warnings.
7452 1998-05-17 Andy Piper <andyp@parallax.co.uk>
7454 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
7455 so that we re-output if the toolbar size has changed.
7457 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7459 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
7461 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
7463 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
7466 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7468 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
7469 get bitmap manifest constants defined.
7471 * console-msw.h: Include system files in angle brackets, not in
7474 * window.c (specifier_vars_of_window): Fixed a typo in
7475 `vertical-divider-line-width' docstirng.
7477 1998-05-16 Olivier Galibert <galibert@pobox.com>
7479 * line-number.c (delete_invalidate_line_number_cache): Use an
7481 (buffer_line_number): Remove dangerous, plain wrong when using
7482 64bits emacs ints, cast.
7484 * insdel.c (buffer_delete_range): Use an EMACS_INT.
7486 * cmds.c (Fforward_line): Use EMACS_INTs.
7488 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
7489 (scan_buffer): Ditto.
7490 (bi_find_next_newline_no_quit): Remove useless cast.
7491 (find_next_newline_no_quit): Ditto.
7492 (find_next_newline): Ditto.
7493 (find_before_next_newline): Use an EMACS_INT.
7495 * lisp.h: Change scan_buffer to pass EMACS_INTs.
7497 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7499 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7501 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7503 * gui-x.c (popup_selection_callback): Use it.
7505 * gui.h (get_callback): Declare it.
7507 * gui.c (get_callback): New function.
7509 1998-05-15 SL Baur <steve@altair.xemacs.org>
7511 * window.c (have_undivided_common_edge): Guard scrollbar specific
7513 (window_needs_vertical_divider_1): Ditto.
7515 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7517 * emacs.c (decode_path): Eliminate compiler warning.
7518 (Fdecode_path): Renamed to Fsplit_path.
7519 (Fsplit_string_by_char): New function.
7521 1998-05-14 Damon Lipparelli <lipp@primus.com>
7523 * winslots.h: close comment
7525 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7527 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
7529 * bufslots.h: Removed buffer_file_type slot.
7531 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
7533 (complex_vars_of_buffer): Removed buffer-file-type variable and
7534 its default reference.
7536 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7538 * faces.c (complex_vars_of_faces): Defined
7539 Vvertical_divider_face.
7540 (vars_of_faces): Staticpro it.
7542 * faces.h: Externed Vvertical_divider_face.
7544 * redisplay-x.c (x_output_vertical_divider): Use
7545 Vvertical_divider_face to draw the divider instead of modeline
7548 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
7549 divider face using Vvertical_divider_face background.
7550 Fix drawing spacing gaps around the divider.
7552 1998-05-14 Didier Verna <verna@inf.enst.fr>
7554 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
7555 values for the vertical divider line width and spacing. Use the
7556 cached values from the window structure instead.
7557 (x_divider_width): ditto.
7559 * window.c (specifier_vars_of_window): new specifiers:
7560 vertical-divier -line-width and -spacing.
7561 (vertical_divider_global_width_changed): formerly known as
7562 vertical_divider_shadow_thickness_changed.
7564 * winslots.h: new slots: vertical_specifier _line_width and
7565 _spacing. Plus corrected a comment typo.
7567 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7569 * window.h: Declared window_divider_width().
7571 * console-stream.c (stream_divider_width): Removed method.
7572 (console_type_create_stream): And declaration for it.
7574 * redisplay.c (pixel_to_glyph_translation): Use
7575 window_divider_width() instead of divider_width redisplay method.
7576 (pixel_to_glyph_translation): Fix top divider edge calculation
7577 when scrollbar is on top.
7579 * window.c (window_divider_width): New function, an outphaser for
7580 divider_width redisplay method.
7581 (window_right_gutter_width): Use it.
7582 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
7583 specifiers, set fallback values differently on TTYs, and document
7584 the behavior of these on TTYs in the docstrings.
7586 * scrollbar.c (update_scrollbar_instance): Use
7587 window_divider_width() instead of divider_width redisplay method.
7589 * console.h (struct console_methods): Removed divider_width_method.
7591 * redisplay-tty.c (tty_divider_width): Removed device method.
7592 (console_type_create_redisplay_tty): Removed definition for it.
7593 (tty_output_vertical_divider): Respect the value returned by
7594 window_divider_width thus divider line width specification.
7596 * redisplay-msw.c (mswindows_divider_width): Removed device method.
7597 (console_type_create_redisplay_mswindows): Removed definition for it.
7598 (mswinodws_output_vertical_divider): Respect the value returned by
7599 window_divider_width thus divider line width specification.
7601 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7603 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
7605 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7607 * glyphs-msw.c: resource loading implementation.
7608 (cursor_normalize): new function.
7609 (cursor_validate): ditto.
7610 (cursor_instantiate): ditto.
7611 (cursor_name_to_resource): ditto.
7612 (cursor_possible_dest_types): ditto.
7613 (check_valid_symbol): ditto.
7614 (check_valid_string_or_int): ditto.
7616 1998-05-14 Martin Buchholz <martin@xemacs.org>
7618 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
7621 * process-unix.c (process_signal_char): Use VSUSP instead of
7622 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
7624 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7626 * specifier.c (specifier_instance): Change locale precedence of
7627 instantiation so window locale has higher priority than buffer
7629 (Fspecifier_instance): Reflect this in docstring.
7630 (Fadd_spec_list_to_specifier): Ditto.
7631 (Fadd_spec_to_specifier): Ditto.
7632 (Fremove_specifier): Ditto.
7634 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7636 ** Dialog separation into a device method from Andy Piper
7638 * emacs.c (main_1): Call console_type_create_dialog_x().
7640 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
7641 into this device method.
7642 (console_type_create_dialog_x): New function.
7644 * dialog.c (Fpopup_dialog_box): New function.
7645 (syms_of_dialog): Defsubr it.
7647 * console.h (struct console_methods): Declared
7648 popup_dialog_box_method().
7650 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
7652 1998-05-14 Oliver Graf <ograf@fga.de>
7654 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
7655 * frame-x.c (x_cde_transfer_callback): checked for merge errors
7657 1998-05-13 Oliver Graf <ograf@fga.de>
7659 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
7661 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7663 * console.h (device_metrics): Removed dbcs, input-method-editor
7664 and right-to-left metrics.
7666 * device.c (Fdevice_system_metric): Ditto.
7667 (Fdevice_system_metrics): Ditto.
7668 (syms_of_device): Ditto.
7669 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
7672 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7674 * line-number.h (mark_line_number_cache): Remove unused
7677 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
7678 (get_nearest_line_number): Simplify.
7679 (add_position_to_cache): Make the old marker point nowhere.
7681 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7683 ** Renamed window-divider-map => vertical-divider-map
7684 and event-over-divider-p => event-over-vertical-divider-p,
7685 in the following files/functions:
7687 * events.c (Fevent_over_divider_p):
7688 * keymap.c (get_relevant_keymaps):
7691 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
7693 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
7695 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7697 * window.c (vertical_divider_changed_in_window): Renamed so.
7698 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
7699 (window_needs_vertical_divider_1): Decide whether we need it based
7700 on the value of the above specifier. If separators are unwanted,
7701 put them only if there's no scrollbar between this window and its
7703 (have_undivided_common_edge): New function, helper for the above.
7704 (window_needs_vertical_divider): Return either a cached value,
7705 or clauclate and cache one.
7706 (invalidate_vertical_divider_cache_in_window): Implemented.
7707 (map_windows): Changed return type to int, return the value from
7710 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
7711 (struct window): Added need_vertical_divider_p and
7712 need_vertical_divider_valid_p.
7714 * winslots.h: Added vertical_divider_draggable_p slot.
7716 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
7717 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
7719 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
7721 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
7722 invalidate_vertical_divider_cache_in_frame().
7725 1998-05-14 Andy Piper <andyp@parallax.co.uk>
7727 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
7729 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
7730 masks correctly and don't select 0.
7732 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7734 * winslots.h: New file, declaration of some struct window and
7735 struct saved_window members.
7737 * window.h (struct window): Include it, with required preprocessor
7740 * window.c (mark_window): Ditto.
7741 (allocate_window): Ditto.
7742 (struct saved_window): Ditto.
7743 (mark_window_config): Ditto.
7744 (saved_window_equal): Ditto.
7745 (Fset_window_configuration): Ditto.
7747 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7749 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
7751 1998-05-12 Didier Verna <verna@inf.enst.fr>
7753 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7754 the divider line. The shadow thickness is currently
7755 hard-wired. This will probably be turned into a specifier soon.
7757 1998-05-12 Didier Verna <verna@inf.enst.fr>
7759 * console.h (struct console_methods): the divider_width console
7760 method now requires a struct window * argument.
7762 * redisplay-x.c (x_divider_width): ditto. Plus remove
7763 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7764 (x_output_vertical_divider): give a depressed look when the shadow
7765 thickness is negative.
7767 * console-stream.c (stream_divider_width): pass a struct window *
7770 * redisplay-tty.c (tty_divider_width): ditto.
7772 * window.c (window_right_gutter_width): totdi.
7774 * redisplay.c (generate_modeline): ittod.
7776 * scrollbar.c (update_scrollbar_instance): ttido.
7778 * redisplay-msw.c (mswindows_divider_width): ottid.
7779 WARNING: this enables to compile, but the feature is not functional.
7781 * window.h (struct window): new field
7782 vertical_divider_shadow_thickness.
7784 * window.c (specifier_vars_of_window): new specifier
7785 vertical-divider-shadow-thickness.
7786 (vertical_divider_shadow_thickness_changed): new function to
7787 inform redisplay that the window has changed.
7788 (mark_window): handle new field vertical_divider_shadow_thickness
7790 (allocate_window): ditto.
7791 (saved_window_equal): toddi.
7792 (Fset_window_configuration): totid.
7793 (save_window_save): ttdio.
7794 (struct saved_window): new field vertical_divider_shadow_thickness.
7796 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7798 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7801 1998-05-12 Oliver Graf <ograf@fga.de>
7803 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7804 * event-Xt.c (x_event_to_emacs_event): C++ compability
7806 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7808 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7811 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7813 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7816 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7818 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7820 * emacs.c (decode_path_1): New function.
7821 (decode_path): Use it.
7822 (Fdecode_path): Renamed from Fdecode_path_internal; use
7825 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7827 * macros.c (Fzap_last_kbd_macro_event): New function.
7828 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7830 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7832 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7833 multiple bitmaps are output vertically as well as horizontally.
7834 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7835 crossing lines this is handled by
7836 mswindows_output_dibitmap_region.
7838 1998-05-12 Martin Buchholz <martin@xemacs.org>
7840 * inline.c: Include eldap.h
7842 * menubar-x.c (x_update_frame_menubar_internal):
7843 Remove: unused variable `container'
7845 1998-05-11 Martin Buchholz <martin@xemacs.org>
7847 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7848 Unfortunately, the resulting temacs still cannot dump.
7850 * symbols.c (symbol_is_constant):
7851 (verify_ok_for_buffer_local):
7852 -Wswitch Warning suppression - add default case to switches.
7854 * redisplay.c (decode_mode_spec): Remove unused variables,
7855 Replace Fcoding_system_property (codesys, Qmnemonic) with
7856 XCODING_SYSTEM_MNEMONIC (codesys);
7857 Fcoding_system_property is for users.
7863 Change empty docstrings into no doc strings at all.
7864 Fix bogus FSF-format docstrings.
7867 Standardize docstrings.
7870 Explain problems with matherr.
7872 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7875 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7876 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7877 Fix the weird resultant interaction (causes windows problems)
7881 Take new EMACSBOOTSTRAPLOADPATH into account.
7882 Update documentation strings
7885 - Adjust for luser's CDPATH being set to something weird.
7886 - Take into account bash 2.02's tendency to print the cwd when
7887 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7888 - fix the run-temacs target to use $(DUMPENV)
7889 - fix the run-puremacs target to use $(DUMPENV)
7890 - fix the `depend' target to properly $(RM) the right files
7891 - Generate a better TAGS file for XEmacs' lisp code using
7892 hand-crafted regexps.
7893 - Use standard coding conventions for modules/Makefile.in
7895 1998-05-12 Didier Verna <verna@inf.enst.fr>
7897 * redisplay.c: removed the scrolling modeline code that didn't
7898 make it for 21.0. To be continued ...
7900 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7902 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7903 and empty string inputs.
7905 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7907 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7909 1998-05-10 Oliver Graf <ograf@fga.de>
7911 * event-stream.c (enqueue_misc_user_event_pos): created
7912 * lisp.h (enqueue_misc_user_event_pos): prototype added
7913 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7914 * emacs.c: call vars_of_dragdrop
7915 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7917 1998-05-11 Oliver Graf <ograf@fga.de>
7919 * frame-x.c (x_cde_transfer_callback): return at correct pos
7920 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7921 object for MIME (see comment in dragdrop.c)
7922 * dragdrop.c: API change documented in comment
7923 removed provide of dragdrop [is provided by dragdrop.el]
7925 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7927 * window.c (window_needs_vertical_divider): Enable vertical
7928 dividers for every non-rightmost window.
7929 (window_left_gutter_width): Left gutter consists of mythical
7930 toolbar and a virtual scrollbar.
7931 (window_right_gutter_width): The right one may have a divider
7934 * scrollbar.c (update_scrollbar_instance): Position vertical
7935 scrollbar left to divider if the latter present.
7937 * redisplay.h: Declared OVER_DIVIER constant.
7939 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7942 * redisplay-x.c (x_output_vertical_divider): Output divider along
7943 the right side of the window, down to window bottom. Swapped
7944 foreground and background colors so it is visible by default.
7946 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7947 stick the divider to the right window side.
7949 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7951 (mswindows_divider_width): Ask system for user preferred value.
7952 (mswindows_output_vertical_divider): Always output the divider on
7953 the right side of a window, down to bottom.
7955 * keymap.c (get_relevant_keymaps): Route mouse button events which
7956 happened over a window divider through window-divider-map.
7957 (Fkey_binding): Documented that in the docstring.
7958 Defined the variable Vwindow_divider_map.
7960 * events.c (Fevent_over_divider_p): Added this function.
7962 * events.h: EXFUNed it.
7964 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7966 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7967 toolbar geometry is suspected to change.
7969 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7973 Condition dnd and dde code on HAVE_DRAGNDROP.
7975 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7977 * events.c (format_event_object): Print space as SPC etc.
7979 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7981 * print.c (print_internal): In the default case, abort() if
7982 ERROR_CHECK_TYPECHECK.
7984 * fileio.c (Fmake_temp_name): Doc fix.
7986 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7988 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7990 * undo.c (Fprimitive_undo): Fixed typo.
7992 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7994 * fns.c (concat): Signal error on integer argument.
7996 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7998 * console.h (device_metrics): Prefixed each constatnt with DM_
8000 * device.c: (Fdevice_system_metric): Renamed so from plural form
8001 (metrics); Changed parameters order and added DEFAULT parameter;
8002 Unabbreviated some metric constants; Fixed and untabified doc string.
8003 (Fdevice_system_metrics): Added. Returns a plist of all provided
8006 * device-msw.c (mswindows_device_system_metrics): Renamed
8007 device_metrics enum constants.
8008 Return Qunbound instead of Qnil.
8010 * device-tty.c (tty_device_system_metrics): Ditto.
8012 * device-x.c (x_device_system_metrics): Ditto.
8014 1998-05-10 Andy Piper <andyp@parallax.co.uk>
8016 * redisplay-msw.c: implement background pixmaps (really!). Make
8017 sure bg color is transparent if we have bg pmaps.
8018 * (mswindows_output_string) (mswindows_clear_region): output bg
8020 * (mswindows_output_dibitmap_region): new function.
8021 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
8022 the bg color rather than transparently.
8024 * toolbar-msw.c: use masks if they exist.
8026 * glyphs-msw.c: set up masks correctly.
8028 * event-msw.c: typedef SOCKET if cygwin and not msg select().
8030 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8032 * regex.c (re_match_2_internal): Check for quit.
8034 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
8036 * frame.c (Ffocus_frame): New function.