1 2007-10-07 Vin Shelton <acs@xemacs.org>
3 * XEmacs 21.4.21 is released
5 2007-08-14 Marcus Crestani <crestani@xemacs.org>
7 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
9 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
11 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
12 (png_instantiate): Initialize setjmp_buffer early, and avoid
13 recursive entry to error handler.
15 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
17 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
20 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
22 * event-Xt.c (x_reset_modifier_mapping):
23 * event-gtk.c (gtk_reset_modifier_mapping):
24 Zero out the device's modifier map once we've freed it, to prevent
25 a double free on a re-entrant call.
27 2007-05-17 Vin Shelton <acs@xemacs.org>
29 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
30 64-bit linux. Patch from Hans de Graaff.
32 2007-05-02 Vin Shelton <acs@xemacs.org>
34 * dumper.c (pdump): Don't close pdump_fd (already closed by
35 fclose() call. Patch from Steve Higham.
36 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
37 already closed. Patch inspired by Steve Higham.
39 2007-05-01 Vin Shelton <acs@xemacs.org>
41 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
42 (mswindows_fstat): Ditto.
43 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
45 2007-02-08 Adrian Aichner <adrian@xemacs.org>
47 * postgresql.c: Update Steve Baur's email address by his request.
48 * postgresql.h: Ditto.
50 2007-01-04 Vin Shelton <acs@xemacs.org>
52 * fileio.c (check_writable): Check old-style readonly bit only for
55 2006-12-25 Benson I. Margulies <benson@dchbk.us>
57 * src/fileio.c (check_writable):
58 Cope with the fact that the read-only attribute trumps Windows NTFS
62 2006-12-09 Vin Shelton <acs@xemacs.org>
64 * XEmacs 21.4.20 is released
66 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
68 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
69 relocated the definitions to be used sooner in file.
70 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
71 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
74 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
76 * sound.c (init_native_sound):
77 Only X11 and GTK devices can possibly not be on the console of the
78 associated machine. Fixes a crash when init_native_sound is called
79 on a msprinter device.
81 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
83 * buffer.c (buffer-file-name): Document invariant.
84 (buffer-file-truename): Sync wording to buffer-file-name.
85 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
88 2006-11-19 Benson Margulies <benson@dchbk.us>
90 * fileio.c: Add code to use full Win32 API to check for write
91 access. Win32 has the general design policy that you aren't
92 supposed to ask this question, since security checks change
93 depending on asynchronous processes. Nonetheless, there is a way,
94 by acting as if we are a server doing interpretive access
97 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
99 * bytecode.c: Use xnew_array instead of alloca.
101 2006-07-04 Vin Shelton <acs@xemacs.org>
103 * redisplay-msw.c: Fix tiny, but crucial typo.
105 2006-06-22 Jerry James <james@xemacs.org>
107 * EmacsShell-sub.c (ChangeManaged):
108 * device-x.c (x_IO_error_handler): Do not dereference d if it is
110 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
111 checking if it is NULL. Also fix a memory leak.
112 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
113 dereference it, not the other way around.
114 * dumper.c (pdump_register_object): Fix off-by-one array bounds
116 * dumper.c (pdump_register_struct): Ditto.
117 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
118 to (short) warnpath overflow warnpath.
119 * extents.c (detach_all_extents): Call extent_list_delete_all with
120 a non-NULL parameter only.
121 * glyphs-widget.c (widget_query_geometry): Guard against possibly
122 NULL width and height.
123 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
124 xic before checking if they are NULL.
125 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
127 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
128 * nas.c (Err): Fix a memory leak.
129 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
130 Don't create the buffer if there is nothing to do.
131 * redisplay-msw.c (mswindows_output_display_block): Ditto.
132 * redisplay-output.c (redisplay_output_layout): Ditto.
133 * redisplay-tty.c (tty_output_display_block): Ditto.
134 * redisplay-x.c (x_output_display_block): Ditto.
135 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
136 dereference instance->scrollbar_data if it is NULL.
137 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
138 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
139 for sb->scrollbar_data.
140 * sound.c (init_native_sound): Avoid a buffer overflow by
141 allocating a buffer with the appropriate size.
143 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
145 * EmacsShell-sub.c (RootGeometryManager):
146 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
147 Based on a suggestion by Francois L'Archeveque.
149 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
151 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
152 current values found in GNU Emacs.
154 2006-03-17 Vin Shelton <acs@xemacs.org>
156 * dialog-msw.c (handle_directory_dialog_box): Don't declare
157 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
159 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
160 'hex_initialized' because it conflicts with 'initialized' in
163 2006-01-28 Vin Shelton <acs@xemacs.org>
165 * XEmacs 21.4.19 is released
167 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
169 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
171 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
173 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
176 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
178 * database.c: Suppress compiler warning under Cygwin.
179 * database.c: Removed __FreeBSD__ check, should be handled by
180 HAVE_U_xxx_T defines.
182 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
184 * console.c (stuff_buffered_input): Compile body only if
187 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
189 * callproc.c: #include sysdir.h, so that any appropriate Mule
190 magic happens with the chdir() call when calling a subprocess.
192 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
194 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
195 * mule-ccl.c: Check that a character set exists before using it
196 to create a character.
198 2005-12-06 Vin Shelton <acs@xemacs.org>
200 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
203 2005-12-03 Vin Shelton <acs@xemacs.org>
205 * XEmacs 21.4.18 is released
207 2005-11-27 Kean Johnston <kean@armory.com>
209 * redisplay-tty.c (set_tty_modes):
210 (reset_tty_modes): disable auto-margins if the terminal supports
212 (init_tty_for_redisplay): fix cursor shape.
214 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
216 * mule-ccl.c (ccl_driver): Calculate the charset and position code
217 for control-1 characters properly, both when reading multibyte
218 characters and writing them.
220 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
222 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
223 * select-x.c (x_reply_selection_request): Use it; fix the bug we
224 were seeing with incremental selection transfer failing.
226 2005-11-26 Vin Shelton <acs@xemacs.org>
228 * callproc.c (Fold_call_process_internal): Create the buffer if it
229 does not already exist. The original patch came from Ben Wing in
230 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
232 2002-05-13 Adrian Aichner <adrian@xemacs.org>
234 * callproc.c: Process-related docstring improvements spurred by
237 2005-11-25 Vin Shelton <acs@xemacs.org>
239 * depend: Regenerated.
241 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
243 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
244 says it clashes with a global with the same name.
246 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
248 * sysdll.c (dll_open): Under MacOS X return NULL under the
249 filename is NULL. Fixes problems finding local symbols under 10.4
252 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
254 * config.h.in: New HAVE_U_INT*_T defines.
256 * database.c: Only use u_int*_t typedefs if not already
259 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
261 * src/process-unix.c (unix_open_network_stream): moved
262 'portbuf' buffer out of an inner block as it is used in the
263 entire function. With gcc4, the stack may get corrupted
264 after leaving this block. This patches adjusts the size of
265 the used buffer also; static '128' bytes are far too much
266 currently and might not suffice for future architectures
267 (e.g. for 512 bit ones ;)). Instead of, use only the really
268 required space (max octets * ln(256)/ln(10) chars + space
269 for '\0' and the sign)
271 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
273 * callproc.c: Include sysdir.h, so any necessary Mule processing
274 is done on the current directory name before starting a new
277 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
279 * chartab.c (Fchar_table_p):
280 (Fget_range_char_table):
283 Describe range representation and fix typo.
285 2005-02-12 Vin Shelton <acs@xemacs.org>
287 * emacs.c (shut_down_emacs): Advise users to send email to the
288 xemacs-beta list instead of crashes@xemacs.org.
290 2005-02-03 David Evers <extsw@appliedgenerics.com>
292 * process-unix.c (unix_send_process): Flush the last chunk, even
293 when the pipe is blocked.
295 2005-02-06 Vin Shelton <acs@xemacs.org>
297 * XEmacs 21.4.17 is released
299 2005-01-31 Ben Wing <ben@xemacs.org>
302 Define assert_failed() always.
304 Always define ABORT().
306 2005-01-25 Ben Wing <ben@xemacs.org>
309 * Makefile.in.in (%.o):
310 Don't compile executable as Windows (-mwindows) under Cygwin.
311 Semi-recent changes to Cygwin's executable-startup handling make
312 it impossible to access the TTY this way.
314 Don't use special linker file under Cygwin (cygwin.sc) except
315 when non-PDUMP (even in this case it is highly questionable); you
318 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
319 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
321 2005-01-29 Ben Wing <ben@xemacs.org>
323 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
325 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
327 2005-01-29 Ben Wing <ben@xemacs.org>
329 * bytecode.c (optimize_compiled_function):
331 * print.c (long_to_string):
332 Add casts to avoid warning.
335 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
336 #### The better solution is to move the TIFF and JPEG code to
339 * glyphs-msw.c (mswindows_xbm_instantiate):
340 Define __STDC__ to avoid problems with compface.h.
342 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
344 * EmacsShell-sub.c (ABORT):
345 * EmacsShell-sub.c (SuperClassRootGeometryManager):
346 * EmacsShell-sub.c (RootGeometryManager):
348 * EmacsShell.c (ABORT):
349 * EmacsShell.c (EmacsShellUpdateSizeHints):
350 * alloc.c (free_lcrecord):
351 * alloca.c (i00afunc):
352 * buffer.c (delete_from_buffer_alist):
353 * buffer.c (MARKED_SLOT):
354 * bytecode.c (execute_rare_opcode):
355 * bytecode.c (optimize_byte_code):
356 * bytecode.c (Ffetch_bytecode):
357 * chartab.c (char_table_type_to_symbol):
358 * chartab.c (Freset_char_table):
359 * chartab.c (decode_char_table_range):
360 * chartab.c (Fget_range_char_table):
361 * chartab.c (check_valid_char_table_value):
362 * chartab.c (map_char_table):
363 * chartab.c (slow_map_char_table_fun):
364 * chartab.c (chartab_instantiate):
365 * cm.c (cmcheckmagic):
366 * console-msw.c (DHEADER):
367 * console.c (MARKED_SLOT):
368 * data.c (finish_marking_weak_lists):
369 * data.c (encode_weak_list_type):
371 * device-gtk.c (gtk_init_device):
372 * device-msw.c (mswindows_get_default_margin):
373 * device-tty.c (tty_init_device):
374 * device-x.c (get_device_from_display):
375 * device-x.c (x_get_visual_depth):
376 * doprnt.c (parse_doprnt_spec):
377 * doprnt.c (get_doprnt_args):
378 * dumper.c (pdump_get_indirect_count):
379 * dumper.c (pdump_register_sub):
380 * dumper.c (pdump_register_object):
381 * dumper.c (pdump_register_struct):
382 * dumper.c (pdump_dump_data):
383 * dumper.c (pdump_reloc_one):
384 * elhash.c (print_hash_table):
385 * elhash.c (make_standard_lisp_hash_table):
386 * elhash.c (hash_table_instantiate):
388 * emacs.c (Fforce_debugging_signal):
389 * emacs.c (sort_args):
391 * emacs.c (assert_failed):
392 * eval.c (throw_or_bomb_out):
396 * event-Xt.c (emacs_Xt_mapping_action):
397 * event-Xt.c (Xt_process_to_emacs_event):
399 * event-stream.c (check_event_stream_ok):
400 * event-stream.c (Fadd_timeout):
401 * event-stream.c (Fadd_async_timeout):
402 * event-stream.c (Fdiscard_input):
403 * event-stream.c (execute_internal_event):
404 * event-stream.c (Frecent_keys):
405 * event-stream.c (extract_this_command_keys_nth_mouse_event):
406 * event-stream.c (lookup_command_event):
407 * event-unixoid.c (poll_fds_for_input):
409 * events.c (mark_event):
410 * events.c (event_equal):
411 * events.c (event_hash):
412 * events.c (Fmake_event):
413 * events.c (Fdeallocate_event):
414 * events.c (event_chain_find_previous):
415 * events.c (event_to_character):
416 * events.c (format_event_object):
417 * events.c (Fevent_type):
418 * events.c (event_pixel_translation):
419 * events.c (Fevent_properties):
420 * extents.c (extent_in_region_p):
421 * extents.c (print_extent):
422 * extents.c (process_extents_for_insertion_mapper):
423 * extents.c (report_extent_modification_mapper):
424 * extents.c (glyph_layout_to_symbol):
425 * faces.c (face_validate):
426 * file-coding.c (eol_type_to_symbol):
427 * file-coding.c (subsidiary_coding_system):
428 * file-coding.c (Fcoding_system_type):
429 * file-coding.c (Fcoding_system_property):
430 * file-coding.c (mule_decode):
431 * file-coding.c (mule_encode):
432 * file-coding.c (encode_coding_ucs4):
433 * file-coding.c (encode_coding_utf8):
434 * file-coding.c (parse_iso2022_esc):
435 * file-coding.c (encode_coding_iso2022):
440 * fns.c (Fbase64_encode_region):
441 * fns.c (Fbase64_encode_string):
442 * fns.c (Fbase64_decode_region):
443 * fns.c (Fbase64_decode_string):
444 * font-lock.c (find_context):
445 * font-lock.c (context_to_symbol):
446 * frame-gtk.c (gtk_set_frame_pointer):
447 * frame-gtk.c (gtk_update_frame_external_traits):
448 * frame-x.c (x_wm_mark_shell_size_user_specified):
449 * frame-x.c (x_wm_mark_shell_position_user_specified):
450 * frame-x.c (x_wm_set_shell_iconic_p):
451 * frame-x.c (x_wm_set_cell_size):
452 * frame-x.c (x_wm_set_variable_size):
453 * frame-x.c (x_wm_store_class_hints):
454 * frame-x.c (x_wm_maybe_store_wm_command):
455 * frame-x.c (x_initialize_frame_size):
456 * frame-x.c (x_update_frame_external_traits):
458 * frame.c (delete_frame_internal):
459 * frame.c (mouse_pixel_position_1):
460 * frame.c (change_frame_size_1):
461 * free-hook.c (check_free):
462 * free-hook.c (check_realloc):
463 * free-hook.c (note_block_input):
464 * free-hook.c (log_gcpro):
465 * gccache-gtk.c (gc_cache_lookup):
466 * glyphs-eimage.c (tiff_memory_write):
467 * glyphs-gtk.c (gtk_finalize_image_instance):
468 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
469 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
470 * glyphs-gtk.c (gtk_xpm_instantiate):
471 * glyphs-gtk.c (gtk_unmap_subwindow):
472 * glyphs-gtk.c (gtk_map_subwindow):
473 * glyphs-gtk.c (gtk_button_redisplay):
475 * glyphs-msw.c (init_image_instance_from_xbm_inline):
476 * glyphs-x.c (init_image_instance_from_xbm_inline):
477 * glyphs-x.c (extract_xpm_color_names):
478 * glyphs-x.c (x_xpm_instantiate):
479 * glyphs.c (get_image_instantiator_governing_domain):
480 * glyphs.c (print_image_instance):
481 * glyphs.c (image_instance_equal):
482 * glyphs.c (image_instance_hash):
483 * glyphs.c (encode_image_instance_type):
484 * glyphs.c (make_image_instance_1):
485 * glyphs.c (inherit_instantiate):
486 * glyphs.c (image_instantiate):
487 * glyphs.c (allocate_glyph):
488 * glyphs.c (Fglyph_type):
489 * glyphs.c (redisplay_subwindow):
490 * glyphs.c (display_table_entry):
491 * gtk-glue.c (xemacs_list_to_gtklist):
492 * gtk-glue.c (xemacs_gtklist_to_list):
493 * gtk-glue.c (xemacs_list_to_array):
494 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
495 * gutter.c (gutter_was_visible):
496 * gutter.c (get_gutter_coords):
497 * input-method-xlib.c (get_XIM_input):
498 * insdel.c (bufpos_to_bytind_func):
499 * insdel.c (bytind_to_bufpos_func):
500 * insdel.c (move_gap):
501 * intl.c (x_get_composed_input):
502 * keymap.c (keymap_lookup_directly):
503 * keymap.c (keymap_delete_inverse_internal):
504 * keymap.c (ensure_meta_prefix_char_keymapp):
505 * keymap.c (accessible_keymaps_mapper_1):
506 * keymap.c (where_is_recursive_mapper):
509 * lread.c (read_atom):
510 * lstream.c (Lstream_delete):
511 * lstream.c (make_lisp_buffer_stream_1):
512 * macros.c (pop_kbd_macro_event):
515 * marker.c (bi_marker_position):
516 * marker.c (set_bi_marker_position):
517 * menubar-gtk.c (menu_descriptor_to_widget_1):
518 * menubar-msw.c (prune_menubar):
519 * menubar-x.c (set_frame_menubar):
520 * mule-charset.c (get_unallocated_leading_byte):
521 * mule-charset.h (CHAR_LEADING_BYTE):
522 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
523 * nt.c (init_environment):
524 * nt.c (generate_inode_val):
525 * ntproc.c (delete_child):
526 * ntproc.c (_sys_read_ahead):
527 * ntproc.c (create_child):
528 * objects.c (color_instantiate):
529 * objects.c (font_instantiate):
530 * objects.c (face_boolean_instantiate):
531 * print.c (printing_major_badness):
532 * process-nt.c (nt_send_process):
533 * process-unix.c (unix_send_process):
534 * process.c (get_process):
536 * ralloc.c (relinquish):
537 * ralloc.c (relocate_blocs):
538 * ralloc.c (resize_bloc):
539 * ralloc.c (r_alloc_free):
540 * ralloc.c (r_re_alloc):
541 * ralloc.c (r_alloc_thaw):
542 * ralloc.c (init_ralloc):
543 * ralloc.c (Free_Addr_Block):
544 * ralloc.c (r_alloc):
545 * redisplay-gtk.c (gtk_output_display_block):
546 * redisplay-msw.c (mswindows_output_display_block):
547 * redisplay-output.c (get_next_display_block):
548 * redisplay-output.c (get_cursor_size_and_location):
549 * redisplay-output.c (redisplay_output_layout):
550 * redisplay-output.c (redisplay_clear_region):
551 * redisplay-tty.c (tty_output_display_block):
552 * redisplay-x.c (x_output_display_block):
553 * redisplay.c (add_propagation_runes):
554 * redisplay.c (add_glyph_rune):
555 * redisplay.c (create_text_block):
556 * redisplay.c (add_margin_runes):
557 * redisplay.c (create_left_glyph_block):
558 * redisplay.c (create_right_glyph_block):
559 * redisplay.c (create_string_text_block):
560 * redisplay.c (regenerate_window):
561 * redisplay.c (REGEN_INC_FIND_START_END):
562 * redisplay.c (redisplay_frame):
563 * redisplay.c (point_in_line_start_cache):
566 * regex.c (re_compile_fastmap):
567 * regex.c (re_match_2_internal):
568 * regex.c (regerror):
569 * scrollbar-gtk.c (gtk_scrollbar_loop):
570 * scrollbar-gtk.c (scrollbar_cb):
571 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
572 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
573 * scrollbar-x.c (x_update_scrollbar_instance_status):
574 * scrollbar-x.c (x_scrollbar_loop):
575 * scrollbar-x.c (x_update_frame_scrollbars):
576 * search.c (search_command):
577 * search.c (Fmatch_data):
578 * select-x.c (motif_clipboard_cb):
579 * signal.c (interrupt_signal):
580 * specifier.c (specifier_add_spec):
581 * specifier.c (specifier_instance_from_inst_list):
582 * specifier.c (specifier_instance):
584 * specifier.h (struct specifier_methods):
585 * strftime.c (add_num_time_t):
586 * sunplay.c (init_device):
587 * symbols.c (Fsetplist):
588 * symbols.c (do_symval_forwarding):
589 * symbols.c (store_symval_forwarding):
591 * symbols.c (Fbuilt_in_variable_type):
592 * symbols.c (decode_magic_handler_type):
593 * symbols.c (handler_type_from_function_symbol):
594 * syntax.c (update_syntax_cache):
595 * sysdep.c (init_baud_rate):
596 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
597 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
598 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
599 * toolbar.c (get_toolbar_coords):
600 * ui-gtk.c (build_gtk_boxed):
601 * ui-gtk.c (describe_gtk_arg):
602 * ui-gtk.c (gtk_type_to_lisp):
603 * ui-gtk.c (lisp_to_gtk_type):
604 * ui-gtk.c (lisp_to_gtk_ret_type):
605 * ui-gtk.c (lisp_to_flag):
606 * unexnt.c (read_in_bss):
607 * unexnt.c (map_in_heap):
608 * window.c (real_window):
609 * window.c (window_display_lines):
610 * window.c (window_display_buffer):
611 * window.c (set_window_display_buffer):
612 * window.c (window_modeline_height):
613 * window.c (unshow_buffer):
614 * window.c (window_loop):
615 * window.c (Fget_lru_window):
616 * window.c (Fsplit_window):
617 * window.c (Fset_window_configuration):
618 * window.c (saved_window_index):
619 * xgccache.c (gc_cache_lookup):
620 abort() -> ABORT(). Eliminate preprocessor games with abort()
621 since it creates huge problems in VC7, solvable only by including
622 massive amounts of files in every compile (and not worth it).
626 Inclusion of process.h does not need to be before lisp.h any more.
627 Move later and remove comment about abort().
629 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
631 * regex.c (re_match_2_internal):
632 Correctly initialize loop which clears uninitialized registers.
634 2005-01-28 Vin Shelton <acs@xemacs.org>
636 * sheap.c (more_static_core): Applied Ben's version of the long
639 2005-01-24 Vin Shelton <acs@xemacs.org>
641 * sheap.c (more_static_core): Reformatted printf string so
642 gcc-3.3.3 will compile this on Cygwin.
644 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
646 * console.c (function_key_map): Reference `key-binding'.
648 * keymap.c (Vkey_translation_map): Improve docstring.
650 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
652 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
653 * window.c (window_loop): [fix] Take into account
654 `allow-deletion-of-last-visible-frame' variable.
655 * window.c (replace-buffer-in-windows): Ditto.
657 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
659 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
661 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
663 * event-gtk.c: Recognise AltGr as a valid modifier.
665 2005-01-12 Ville Skyttä <scop@xemacs.org>
667 * console-x.h: #include X11/keysym.h before xintrinsic.h.
669 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
671 Fix backreference bug caught by test suite.
673 * regex.c (regex_compile):
674 Make backref duplicate internal register.
676 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
678 Documentation, code clarification, and warning suppression.
680 * regex.c (regex_compile):
682 (re_match_2_internal):
683 Improve comments and avoid redundant braces. [Most of the big hunk
684 at l. 4710 is indentation; use diff -w to see the real changes.]
685 (alt_match_null_string_p):
686 (common_op_match_null_string_p):
687 Avoid shadowing global on Mac OS X 10.4, at least.
689 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
691 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
692 introduced with shy groups fix). [Already applied, probably
693 with the second "fix shy groups" patch of 2004-10-07.]
695 2005-01-10 Steve Youngs <steve@sxemacs.org>
697 From Andrey Slusar <anrays@gmail.com>:
699 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
701 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
703 * Makefile (RECURSIVE_MAKE): Removed.
704 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
705 handling parallel builds.
707 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
709 * Makefile.in.in: Enable support for parallel builds.
711 2005-01-09 Steve Youngs <steve@sxemacs.org>
713 From Andrey Slusar <anrays@gmail.com>:
715 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
716 FreeBSD version is >= 199701 _and_ < 600006.
718 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
720 * scrollbar.c (compute_scrollbar_instance_usage):
721 Only call device method compute_scrollbar_instance_usage() if it
724 2004-12-05 Vin Shelton <acs@xemacs.org>
726 * XEmacs 21.4.16 is released
728 2004-12-04 Vin Shelton <acs@xemacs.org>
730 * depend: Regenerated.
732 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
734 * regex.c (re_match_2_internal): Map internal to external
735 registers. Fixes bug identified by Steve Youngs 2004-09-30
736 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
738 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
740 * buffer.c (Frecord_buffer): Make sure the argument is buffer
741 to fix a crash. Also, check the buffer is live and it
742 really exists in buffer_list. If the buffer is not in the list,
745 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
747 Fix shy groups by implementing recording of all groups for
748 repetition and backtracking. Backport from 21.5.
750 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
751 external_to_internal_register, external_to_internal_register_size,
752 and update comments for re_nsub.
754 * regex.c (re_opcode_t): Update comments.
755 (print_compiled_pattern): Ouput external_to_internal_register,
756 external_to_internal_register_size, and re_ngroups for debugging.
757 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
758 (regex_compile): Update header comment.
759 Ensure that all groups are recorded so that repeat matches and
760 backtracking work correctly. Comment related warning for groups >
762 (re_search_2): Construct map of API indexes (which count only
763 nonshy groups) to internal register numbers, and keep it updated.
765 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
767 * frame-gtk.c (gtk_make_frame_visible):
768 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
769 show/hide. This is what X uses and is prevents previously hidden
770 widgets from suddenly reappearing.
771 * gtk-xemacs.c (gtk_xemacs_paint):
772 * gtk-xemacs.c (gtk_xemacs_draw):
773 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
775 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
776 size and location changes so that they can be seen before the next
777 idle event. Without this rapid changes to scrollbar properties
780 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
783 * console-gtk.h (struct gtk_frame):
784 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
785 Add hash tables track tab_control callback data.
786 Added #defines for GTK object data names.
787 Declaration of gtk_widget_to_frame().
788 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
789 * frame-gtk.c (gtk_widget_to_frame): New.
790 * frame-gtk.c (gtk_create_widgets):
791 * frame-gtk.c (allocate_gtk_frame_struct):
792 * frame-gtk.c (gtk_mark_frame):
793 Manage frame callbakc hash tables.
794 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
795 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
796 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
798 * glyphs-gtk.c (gtk_widget_query_geometry): New
799 * glyphs-gtk.c (gtk_register_gui_item): New
800 * glyphs-gtk.c (gtk_add_tab_item): New
801 * glyphs-gtk.c (gtk_tab_control_callback): New
802 * glyphs-gtk.c (gtk_tab_control_instantiate): New
803 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
804 Use correct list when loading item.
805 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
806 Register new methods.
807 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
808 default size, for widgets.
809 * gui-x.c: Improved comment.
810 * menubar-gtk.c (__generic_button_callback): Use
811 gtk_widget_to_frame instead of __get_channel.
813 * ui-gtk.c: Use symbolic names for GTK object data.
815 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
817 * s/usg5-4.h (NSIG): Define only inside emacs binary.
819 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
821 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
823 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
825 * malloc.c (morecore): siz is a long because in some architectures
826 (eg ia-64) an int cannot hold the address range. Additional patch
827 from the SuSe distribution.
829 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
832 * malloc.c: lim_data is a long because in some architectures
833 (eg ia-64) an int cannot hold the address range.
834 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
835 instead of ulimit() because ulimit() always returns -1.
837 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
839 * search.c: Reenable an ansync semaphore. Remove bogus comments.
841 2004-06-11 David Kastrup <dak@gnu.org>
843 * search.c (match_limit): Don't flag an error if match-data
844 exceeding the allocated search_regs.num_regs gets requested, just
847 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
849 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
850 replace symbolic color entries with the real colors specified in
851 xpm-color-symbols, before passing the XPM to gtk.
852 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
853 instead of a GTK specific field, so that it is used in by generic
856 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
858 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
859 coredump from deref of NULL ptr (ExtData)
861 2004-04-19 Jerry James <james@xemacs.org>
863 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
864 VALBITS to compute the location of the sign bit.
865 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
866 of VALBITS with EMACS_INT_MAX.
867 * events.c (Fevent_timestamp): Ditto.
868 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
869 compute the halfway point to timestamp wraparound.
870 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
871 EMACS_INT_MIN instead of using VALBITS.
872 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
873 incorrect number with VALBITS.
874 * fns.c (Frandom): Correct number of integer bits in docstring.
875 Use INT_VALBITS instead of VALBITS to compute the denominator.
876 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
877 build random numbers.
879 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
881 * event-gtk.c (gtk_event_to_emacs_event):
883 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
884 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
885 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
886 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
887 * menubar-gtk.c (__activate_menu):
888 * menubar-gtk.c (convert_underscores):
889 * menubar-gtk.c (remove_underscores):
890 * menubar-gtk.c (menu_convert):
891 * menubar-gtk.c (menu_descriptor_to_widget_1):
892 * menubar-gtk.c (menu_descriptor_to_widget):
893 * menubar-gtk.c (menu_can_reuse_widget):
894 * menubar-gtk.c (menu_create_menubar):
895 * menubar-gtk.c (gtk_popup_menu):
896 * menubar-gtk.c (Fgtk_build_xemacs_menu):
897 Added support for Gtk menu bar and menu item mnemonics.
899 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
901 * sysdll.c: (dll_function): Added support for finding symbols in
902 Darwin shared libraries as well in Darwin bundles.
903 * sysdll.c (image_for_address): New
904 * sysdll.c (my_find_image): New
905 * sysdll.c (search_linked_libs): New
907 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
909 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
910 return to GTK requires a different API to marshalling data to use
912 * ui-gtk.c (lisp_to_gtk_ret_type): New.
914 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
916 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
918 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
920 * glyphs.c (process_image_string_instantiator):
921 (Fset_console_type_image_conversion_list):
922 Stop GCC from warning about shadowing of `exp'.
924 * redisplay-x.c (x_output_string): Fix unsigned lossage.
926 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
928 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
930 2004-02-03 Vin Shelton <acs@xemacs.org>
932 * glyphs.c (image_instance_layout): Remove pointless assertion.
933 * regex.c (regex_grow_registers): Return type is void.
935 2004-02-02 Vin Shelton <acs@xemacs.org>
937 * XEmacs 21.4.15 is released
939 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
941 * device-x.c (x_error_handler): Don't call stderr_out
943 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
945 * buffer.c (other-buffer): Clarify documentation of order of
946 arguments for FSF Emacs.
948 2003-10-11 Olivier Galibert <galibert@pobox.com>
950 * window.c (Fdelete_window): Dirty the mirror structure _before_
951 marking the window deleted.
953 2003-09-15 Jerry James <james@xemacs.org>
955 * event-msw.c (debug_mswin_messages): Conditionally compile
956 messages missing from the Cygwin headers.
958 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
960 * data.c (eq_with_ebola_notice): Fix typo in comment.
961 (Ftrue_list_p): Improve docstring.
963 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
965 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
967 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
969 * search.c (trivial_regexp_p): Regexps containing "\{" are
970 nontrivial. Thanks to Manfred Bartz for reporting the bug and
971 Stefan Monnier for suggesting a diagnosis.
973 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
975 * elhash.c (make-hash-table): Clarify use of :test #'equal.
977 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
979 * search.c (Fsearch_forward):
981 Document negative count.
983 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
985 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
987 2003-09-13 Martin Buchholz <martin@xemacs.org>
989 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
991 2003-09-15 Vin Shelton <acs@xemacs.org>
993 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
996 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
998 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
999 (re_search_2): Match the first byte of Bufbyte, not Emchar.
1000 (re_match_2_internal): Use TRANSLATE instead of
1001 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
1002 non-ASCII char case conversion.
1004 2003-09-08 Mike Sperber <mike@xemacs.org>
1006 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
1007 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
1009 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
1011 * .gdbinit (pobj): fix printing of symbol name.
1013 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
1015 * frame-x.c (x_layout_widgets): When resizing is about to cause
1016 frame size slip, mark it for redisplay.
1018 2003-08-18 Jerry James <james@xemacs.org>
1020 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
1022 2003-09-03 Vin Shelton <acs@xemacs.org>
1024 * XEmacs 21.4.14 is released
1026 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
1028 * config.h.in (REGEX_MALLOC): Make it configure'able.
1030 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
1032 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
1034 * sysdll.c (dll_init):
1035 * sysdll.c (dll_open):
1036 * sysdll.c (dll_close):
1037 * sysdll.c (dll_function):
1038 * sysdll.c (dll_variable):
1039 * sysdll.c (dll_error):
1040 Add support for loading bundles using Darwin/MacOSX
1043 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
1045 * process.c (start-process-internal): Document coding systems.
1047 2003-07-30 Jerry James <james@xemacs.org>
1049 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
1051 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
1053 * event-msw.c (mswindows_enqueue_mouse_button_event):
1054 * event-msw.c (mswindows_wnd_proc):
1055 enqueue button event when scrollwheel event isn't handled by
1056 mswindows_handle_mousewheel_event, such as when the scrollbars
1059 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
1061 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
1063 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
1065 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
1067 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
1069 * regex.c (re_match_2_internal): Fix matching degenerate word
1072 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
1074 * XEmacs 21.4.13 is released
1076 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
1078 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
1079 * lisp.h (<inttypes.h>):
1080 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
1083 2003-03-15 Martin Buchholz <martin@xemacs.org>
1085 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
1086 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
1087 Result: "temacs can only be run in -batch mode."
1088 Fix: Check xemacs executable candidate for directory-ness.
1090 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
1092 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
1093 they conflict with <sys/types.h>.
1095 2003-02-14 Martin Buchholz <martin@xemacs.org>
1097 * database.c: Berkeley DB wants __STDC__ to be defined.
1099 2003-02-13 Martin Buchholz <martin@xemacs.org>
1101 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
1103 2003-02-01 Martin Buchholz <martin@xemacs.org>
1105 * process-unix.c (unix_send_process): Fix C++ compile error.
1107 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
1109 * Added .dylib as an acceptable shared library file extension
1110 * to support MacOSX.
1112 2003-02-01 Martin Buchholz <martin@xemacs.org>
1114 * EmacsFrameP.h (EmacsFramePart):
1115 Kludge to allow compiling with Motif1, but linking with Motif2.
1117 2003-01-28 Martin Buchholz <martin@xemacs.org>
1119 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
1122 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
1124 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
1126 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
1128 * sysdll.c: Included lisp.h to define needed alloca_array.
1130 2003-02-13 Martin Buchholz <martin@xemacs.org>
1132 Make XEmacs redisplay 10 times faster.
1133 If, that is, you're using a slow X connection and MoveOpaque.
1134 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
1135 Use compress_motion = TRUE.
1136 * EmacsFrame.c (emacsFrameClassRec):
1137 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
1138 * EmacsManager.c (emacsManagerClassRec):
1139 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
1141 2003-01-30 Vin Shelton <acs@xemacs.org>
1143 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
1145 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
1147 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
1148 Patch by Martin Buchholz.
1150 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
1152 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
1153 Thanks to icc for warning and Martin Buchholz for reporting.
1155 2003-01-29 Vin Shelton <acs@xemacs.org>
1157 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
1159 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
1160 remember to multiply by the element size.
1162 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
1164 * XEmacs 21.4.12 "Portable Code" is released.
1166 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
1168 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
1169 * s/cygwin.sc: new linker file.
1171 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
1173 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
1175 * redisplay-x.c (x_output_string): Use X11-specified types.
1176 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
1177 * emacs.c (__free_hook): Use typeof with Intel compiler.
1178 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
1180 2003-01-08 Andy Piper <andy@xemacs.org>
1182 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
1183 reserve size during unexec().
1185 2003-01-07 Daiki Ueno <daiki@xemacs.org>
1187 * process-unix.c (unix_create_process): Don't let outchannel block.
1189 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
1191 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
1192 Needed for IsBadReadPtr().
1194 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
1196 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
1198 2002-12-14 Ben Wing <ben@xemacs.org>
1200 * callint.c: Declaration error.
1202 * dumper.c (pdump_load): Warning fix.
1203 * process.c: GCPRO error.
1204 * glyphs.c (unmap_subwindow):
1205 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
1206 * event-stream.c (maybe_kbd_translate): Wrong argument to
1207 character_to_event().
1209 * alloc.c (garbage_collect_1):
1211 * emacs.c (debug_can_access_memory):
1212 * emacs.c (fatal_error_signal):
1213 * emacs.c (mswindows_handle_hardware_exceptions):
1216 * emacs.c (assert_failed):
1217 * emacs.c (syms_of_emacs):
1220 * print.c (std_handle_out_va):
1221 * print.c (write_string_to_stdio_stream):
1222 * print.c (write_fmt_string):
1223 * print.c (printing_badness):
1224 * print.c (printing_major_badness):
1225 * print.c (print_internal):
1226 * print.c (debug_print_no_newline):
1227 * print.c (debug_backtrace):
1228 Be more defensive in handling bad values when printing. Add code
1229 from trunk involving inhibit_non_essential_printing_operations.
1230 When going down or in debug_print(), don't do external conversion
1231 and such and try really, really hard when printing to avoid core
1232 dumping. Add force-debugging-signal, debug_break().
1234 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
1236 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
1237 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
1239 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
1241 * database.c: Fix open_database. Berkeley DB API has changed in
1242 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
1244 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
1246 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
1248 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
1250 * event-Xt.c (Xt_timeout):
1251 (Xt_timeout_callback):
1252 (emacs_Xt_add_timeout):
1253 (emacs_Xt_remove_timeout):
1254 (Xt_timeout_to_emacs_event):
1255 Turn completed_timeouts from a stack into a queue. Fixes
1256 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
1258 2002-11-07 Wolfram Gloger <wg@malloc.de>
1260 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
1261 * emacs.c (main): Assert that mmap'd allocation is disabled.
1263 2002-10-14 Andy Piper <andy@xemacs.org>
1265 * glyphs-widget.c (layout_query_geometry): add in fiddle
1266 factor. Include border text in width layout calculation.
1267 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
1269 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
1271 * XEmacs 21.4.10 "Military Intelligence" is released.
1273 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
1275 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
1276 using the NAS private array SoundFileInfo that no longer exists in
1277 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
1278 and earlier. This is broken for some versions between 1.5a and
1281 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
1283 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
1285 * emacs.c (shut_down_emacs): Improve crash message.
1287 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
1289 * file-coding.c (determine_real_coding_system): Check for coding
1290 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
1291 shebangs and Python PEP 263.
1293 2002-10-08 Andy Piper <andy@xemacs.org>
1295 * glyphs-widget.c (layout_query_geometry): only resize dynamically
1296 if static sizes haven't been set.
1298 2002-08-30 Mike Alexander <mta@arbortext.com>
1300 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
1303 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
1305 * callproc.c (child_setup): 21.4 doesn't have retry_close.
1307 2002-09-20 Mike Sperber <mike@xemacs.org>
1309 (This partially gets back my patch from 2002-07-20 without the
1311 * callproc.c (child_setup): Remove Ben's comment noting confusion
1312 over the file descriptors >= 3: close_process_descs() doesn't
1313 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
1314 * process-unix.c (unix_create_process): Call
1315 begin_dont_check_for_quit to inhibit unwanted interaction (and
1316 thus breaking of X event synchronicity) in the child.
1318 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
1320 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
1323 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
1325 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
1326 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
1327 the xemacs process did not exit, but looped infinitely here. This
1330 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
1332 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
1333 (find_context): Improve comments.
1335 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
1336 (re_match_2): An XCHAR_TABLE operation was missing.
1338 Many of the following changes were inspired by Andy Piper's (now
1339 obsolete) patch to make syntax-table text property lookup optional.
1343 * syntax.h (top level): Document semantics of syntax flags.
1344 * syntax.c (comstr_start, Fforward_comment): Improve comments.
1345 * syntax.c, syntax.h (top level): Document syntax cache better in
1348 [Instrument syntax caching (temporary change)]
1350 * syntax.h (enum syntax_cache_statistics_functions, struct
1351 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
1352 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
1353 * syntax.c (scan_words, Fforward_comment, scan_lists,
1354 Fbackward_prefix_characters):
1355 * font-lock.c (find_context):
1356 Use them to instrument syntax caching.
1357 * syntax.c (struct syntax_cache_statistics, scs_statistics,
1358 syntax_cache_statistics_function_names): New type and variables.
1359 * syntax.c (update_syntax_cache): Update and report statistics.
1361 [Major syntax cache optimizations]
1363 syntax.c (lookup_syntax_properties): Default off.
1365 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
1366 * syntax.c (update_syntax_cache):
1367 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
1369 [Minor syntax cache optimizations and code clarifications]
1371 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
1372 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
1373 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
1374 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
1375 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
1376 (Code clarification.)
1378 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
1379 scan_lists): Compute code from syncode, use Boolean macros instead
1380 of redundant masking operations. (Code clarification; any decent
1381 compiler can do this optimization.)
1383 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
1386 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
1387 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
1388 use F*_single_property_change instead of F*_extent_change.
1389 Currently F*_single_property_change is _much_ less efficient.
1391 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
1392 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
1393 syntax_cache.object properly, don't leave Qt or Qnil.
1394 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
1395 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
1396 tests for Qt or Qnil.
1398 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
1400 * redisplay.c (point_in_line_start_cache):
1401 * extents.c (print_extent_1):
1404 * extents.c (Fset_extent_property): Document `syntax-table' property.
1406 * extents.h (Fnext_single_property_change): EXFUN it.
1408 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
1410 * search.c (clear_unused_search_regs): New static function.
1414 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
1415 Minor clarifications in comments.
1417 * regex.c (re_match_2_internal): Ensure no stale submatches.
1419 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
1421 * event-Xt.c (enqueue_focus_event): Add missing prototype.
1423 2002-08-29 Jerry James <james@xemacs.org>
1425 * lisp.h: structrures -> structures.
1427 2002-06-03 Andy Piper <andy@xemacs.org>
1429 * frame.c (frame_conversion_internal): add conversion appropriate
1430 for setting frame dimensions in pixels.
1432 * console.h (struct console_methods): add device-specific widget
1435 * emacs.c (main_1): initialize glyph vars.
1437 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
1438 (handle_focus_event_2): new function. Allow focus to
1439 be set to a particular window and widget.
1440 (enqueue_focus_event): new function. Create a
1441 synthetic focus event.
1442 (emacs_Xt_handle_magic_event): call
1443 handle_focus_event_2.
1445 * frame.c (Fset_frame_pixel_height): new function. Allow
1446 pixel-based sizing. Does the right thing on character-oriented
1448 (Fset_frame_pixel_width): ditto.
1449 (Fset_frame_pixel_size): ditto.
1450 (syms_of_frame): declare.
1452 * general-slots.h: add :vertically-justify and
1453 :horizontally-justify.
1455 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
1456 (mswindows_widget_border_width): new function.
1457 (mswindows_combo_box_instantiate): set border widths.
1458 (console_type_create_glyphs_mswindows): declare.
1461 (check_valid_justification): allow vertical and horizontal
1463 (widget_border_width): new function. Call device methods.
1464 (widget_instance_border_width): ditto.
1465 (logical_unit_height): new function. Determine the height of a
1466 logical-unit. Logical units are intended to provide grid-like
1467 layout for subcontrols in a layout. If the layout is
1468 :vertically-justify top then subcontrols will be positioned on
1469 logical-unit boundaries, thus allowing adjacent subcontrols to
1471 (widget_logical_unit_height): ditto for widgets.
1472 (redisplay_widget): misc cleanup.
1473 (widget_spacing): new function. Call device specific
1474 methods. Intended to be the default gap between adjacent widgets.
1475 (widget_query_geometry): use new spacing functions to determine
1476 appropriate geometry.
1477 (initialize_widget_image_instance): initialize horizontal and
1478 vertical justification.
1479 (widget_instantiate): use logica-units where appropriate for
1480 sizing large widgets.
1481 (button_query_geometry): use widget_instance_border_width.
1482 (tree_view_query_geometry): ditto.
1483 (tab_control_query_geometry): ditto.
1484 (edit_field_query_geometry): new function.
1485 (layout_update): pick up :justify, :horizontally-justify and
1486 :vertically-justify none of which worked previously. :justify is
1487 used as a fallback for both horizontal and vertical justification.
1488 (layout_query_geometry): use logical units to size appropriately.
1489 (layout_layout): ditto.
1490 (Fwidget_logical_to_character_width): new function. Allow users to
1491 convert from logical units to characters so that frame sizes can
1492 be set appropriately.
1493 (Fwidget_logical_to_character_height): ditto.
1494 (syms_of_glyphs_widget): declare.
1495 (image_instantiator_edit_fields): add edit_field_query_geometry.
1496 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
1497 :horizontally-justify.
1498 (specifier_vars_of_glyphs_widget): new function. Declare
1499 Vwidget_border_width which is not yet used.
1501 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
1502 (x_widget_border_width): new function.
1503 (x_widget_instantiate): create a sensible name for widgets.
1504 (console_type_create_glyphs_x): declare x_widget_border_width.
1506 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
1507 (struct Lisp_Image_Instance): add :vertically-justify and
1508 :horizontally-justify.
1509 (LAYOUT_JUSTIFY_TOP): new.
1510 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
1511 (ROUND_UP): new macro. Round argument up to next integral
1514 * redisplay-output.c (redisplay_output_layout): misc formatting.
1516 * symsinit.h: declare specifier_vars_of_glyphs_widget.
1518 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
1520 * XEmacs 21.4.9 "Informed Management" is released.
1522 2002-08-19 Andy Piper <andy@xemacs.org>
1524 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
1527 * realpath.c (xrealpath): normalize drive spec also so that dir
1528 sep chars are not mixed on cygwin.
1530 2002-08-06 Jerry James <james@xemacs.org>
1532 * window.c (Fsplit_window): Count only half of the divider width
1533 against the left window when splitting horizontally.
1535 2002-06-24 Andy Piper <andy@xemacs.org>
1537 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
1538 toolbar was cleared.
1540 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
1541 function. Split out from mswindows_output_frame_toolbars.
1542 (mswindows_output_frame_toolbars): move clear pieces to
1543 mswindows_output_frame_toolbars.
1545 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
1546 out from gtk_output_frame_toolbars.
1547 (gtk_output_frame_toolbars): move clear pieces to
1548 gtk_clear_frame_toolbars.
1550 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
1551 the frame is cleared. How this ever worked before is a mystery.
1552 (x_output_frame_toolbars): Only output toolbars.
1553 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
1555 * gutter.c (update_gutter_geometry):
1556 Mark frame layout changed.
1557 (update_frame_gutter_geometry, update_frame_gutters):
1558 Respect frame_layout_changed.
1560 * console.h (struct console_methods): add
1561 clear_frame_toolbars_method.
1563 * redisplay.c (redisplay_frame): call
1564 update_frame_toolbars_geometry and re-order update_frame_toolbars.
1566 * toolbar.h: declare update_frame_toolbars_geometry.
1568 * toolbar.c (update_frame_toolbars_geometry): new function. Split
1569 out from update_frame_toolbars. Call clear_frame_toolbars.
1570 (update_frame_toolbars): only output, do not change geometry.
1572 * redisplay.c: add frame_layout_changed.
1574 * redisplay.h: add frame_layout_changed.
1575 (CLASS_RESET_CHANGED_FLAGS): set it.
1576 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
1577 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
1578 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
1580 * device.h (struct device): add frame_layout_changed.
1581 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
1583 * frame.h (struct frame): add frame_layout_changed.
1584 (MARK_FRAME_LAYOUT_CHANGED): new.
1586 2002-06-30 Mike Alexander <mta@arbortext.com>
1588 * event-msw.c (mswindows_need_event): Don't wait for a new message
1589 if the queue is not empty. Suggested by Paul Moore.
1591 2002-06-12 Andy Piper <andy@xemacs.org>
1593 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
1594 for printing on accurately.
1596 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
1598 * event-msw.c (mswindows_wnd_proc): Add a handler for the
1599 WM_ACTIVATE message. Make sure that the frame is visible if the
1600 window is visible. This seemss to fix the problem where XEmacs
1601 appears to freeze after switching desktops with certain virtual
1603 (debug_output_mswin_message): Added code to output message
1604 parameters for WM_WINDOWPOSCHANGED,
1605 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
1607 2002-05-25 Andy Piper <andy@xemacs.org>
1609 * select-x.c (vars_of_select_x): Fix docstring of
1610 x-selection-strict-motif-ownership
1612 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1614 * keymap.c (get_keymap):
1615 Add comment about do_autoload GCPROs own args.
1617 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1619 * bytecode.c (execute_optimized_program): check_opcode ifdef
1620 ERROR_CHECK_BYTE_CODE.
1622 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1624 Thanks to Ben Wing and Michael Sperber.
1626 * eval.c (Fcommand_execute):
1629 (Fmacroexpand_internal):
1630 (function_argcount):
1631 callint.c (Fcall_interactively):
1632 Add comment about do_autoload GCPROs own args.
1634 * (do_autoload): GCPRO both args as well as local Lisp_Object.
1636 * eval.c (Ffuncall): Extra braces to placate GCC.
1638 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
1640 * backtrace.h (grow_specpdl):
1642 * EmacsFrame.c (EmacsFrameSetValues):
1643 * eval.c (grow_specpdl):
1644 * ExternalShell.c (hack_event_masks_1):
1645 * glyphs-x.c (convert_EImage_to_XImage):
1646 (x_finalize_image_instance):
1647 * ralloc.c (page_size):
1649 * xgccache.c (gc_cache_hash):
1650 Fix unsigned comparison warnings.
1652 2002-07-29 Jerry James <james@xemacs.org>
1654 * lread.c (locate_file): Any nonnegative return value indicates
1655 success if MODE is nonnegative.
1657 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
1659 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
1662 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
1664 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
1666 * dumper.c (pdump_get_indirect_count):
1667 (pdump_scan_by_alignment):
1668 (pdump_dump_root_struct_ptrs):
1669 (pdump_dump_rtables):
1670 (pdump_dump_root_objects):
1672 * nas.c (WaveOpenDataForReading):
1673 * fns.c (print_bit_vector):
1674 * font-lock.c (SINGLE_SYNTAX_STYLE):
1675 * glyphs.c (check_for_ignored_expose):
1676 (find_matching_subwindow):
1678 * imgproc.c (get_histogram):
1679 * redisplay.c (point_in_line_start_cache):
1680 * redisplay-output.c (redisplay_unmap_subwindows):
1681 * symbols.c (defsymbol_massage_name_1):
1682 (defkeyword_massage_name):
1683 (deferror_massage_name_and_message):
1684 * redisplay-x.c (x_output_string):
1685 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
1686 * frame.h (struct frame):
1687 * filelock.c (current_lock_owner):
1688 * doprnt.c (emacs_doprnt_1):
1689 * lisp.h (struct Lisp_Bit_Vector):
1693 2002-02-13 Ben Wing <ben@xemacs.org>
1695 * event-stream.c (reset_key_echo):
1696 * event-stream.c (reset_this_command_keys):
1697 * event-stream.c (execute_command_event):
1698 If console is dead as a result of C-x 5 0, then post-command stuff
1699 needs to be careful and do only non-console-specific stuff.
1701 2002-07-01 Mike Sperber <mike@xemacs.org>
1703 * process-unix.c (unix_send_process): Mark coding_outstream as
1704 non-open upon SIGPIPE.
1706 * event-stream.c (Fnext_event): Reorder switch cases to something
1709 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
1711 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
1712 Don't bogusly reinitialize ascii_character property.
1714 2002-07-08 Mike Sperber <mike@xemacs.org>
1716 * process.c (Fstart_process_internal): Do error checking before we
1717 fork off the child, so the child can't muck with the state of the
1720 2002-07-08 Mike Sperber <mike@xemacs.org>
1722 * ralloc.c (init_ralloc): Allocate properly for pdump.
1724 2002-06-12 Andy Piper <andy@xemacs.org>
1726 * glyphs.c (query_string_geometry): check the string.
1728 * glyphs-widget.c (widget_logical_unit_height): cope with nil
1731 2002-06-17 Jerry James <james@xemacs.org>
1733 * sysdll.c: Remove RTLD_GLOBAL initialization.
1734 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
1736 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
1738 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
1740 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
1742 * sysdep.c (sys_rename): Make sys_rename work for the case where
1743 Windows rename sets errno to EACCES if target file exists.
1745 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
1747 * device-msw.c (mswindows_handle_page_setup_dialog_box):
1748 Fix detection of metric units to work on Win95
1750 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
1752 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
1754 2002-04-25 Andy Piper <andy@xemacs.org>
1756 * redisplay.c (create_text_block): Remove extra comment trailer.
1758 2002-04-24 Andy Piper <andy@xemacs.org>
1760 * redisplay.c (create_text_block): Don't actually add propagation
1761 data if the line ends after we have added a glyph.
1763 2002-04-22 Andy Piper <andy@xemacs.org>
1765 * extents.c (extent_fragment_update): check for glyphs we have
1766 previously displayed.
1767 * extents.c (print_extent_1): warning removal.
1768 * extents.h: change prototype.
1769 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
1770 widths correctly for wide glyphs.
1771 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
1772 * redisplay.c (prop_type): add PROP_GLYPH.
1773 * redisplay.c (struct prop_block): add glyph type
1774 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
1775 to the propagation data.
1776 * redisplay.c (create_text_block): if there is a glyph in the
1777 propagation data use it to salt extent_fragment_update.
1778 * redisplay.c (create_string_text_block): ditto.
1780 2002-04-13 Nix <nix@esperi.demon.co.uk>
1782 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
1783 * redisplay-output.c (compare_runes): Compare them.
1784 * redisplay.c: Update copyright date.
1785 * redisplay.c (pos_data): Add need_baseline_computation field.
1786 * redisplay.c (add_glyph_rune): Update ascent, descent, and
1787 need_baseline_computation; zero yoffset. Set max_pixmap_height
1788 for all pixmaps, not just automatically positioned ones.
1789 * redisplay.c (calculate_yoffset): New, compute yoffset values.
1790 * redisplay.c (calculate_baseline): New, compute textual baseline.
1791 * redisplay.c (add_glyph_rune): Call them.
1792 * redisplay.c (create_text_block): Likewise.
1793 * redisplay.c (create_overlay_glyph_block): Likewise.
1794 * redisplay.c (add_margin_runes): Likewise.
1795 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
1797 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
1798 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
1799 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
1800 * redisplay-msw.c (mswindows_output_string): Likewise.
1801 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
1802 * redisplay-gtk.c (gtk_output_display_block): Likewise.
1803 * redisplay-x.c (x_output_display_block): Likewise.
1805 2002-03-28 Ben Wing <ben@xemacs.org>
1807 * redisplay.c: Fixed bug in redisplay
1808 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
1809 and down of the lines, since they're bigger than the line
1810 size. (It was seen most obviously when there's a horizontal scroll
1811 bar, e.g. do C-h a glyph or something like that.) The problem was
1812 that the glyph-contrib-p setting on glyphs was ignored even if it
1813 was set properly, which it wasn't until now.
1815 2002-04-24 Andy Piper <andy@xemacs.org>
1817 * lisp.h (Dynarr_end): Fix definition.
1819 2002-02-06 Adrian Aichner <adrian@xemacs.org>
1821 * redisplay.c (mark_redisplay): Remove call to
1822 update_frame_window_mirror.
1824 2001-11-15 Andy Piper <andy@xemacs.org>
1826 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
1829 2002-02-13 Andy Piper <andy@xemacs.org>
1831 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
1832 we did in fact enqueue the XM_MAPFRAME event.
1834 2002-01-15 Adrian Aichner <adrian@xemacs.org>
1836 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
1837 to fix problem switching between virtual desktops under virtuawin
1838 virtual window manager.
1840 2001-07-30 Adrian Aichner <adrian@xemacs.org>
1842 * event-msw.c: Typo fix.
1843 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
1844 magic XM_MAPFRAME event has been sent.
1846 2001-11-23 Andy Piper <andy@xemacs.org>
1848 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
1850 2001-11-21 Andy Piper <andy@xemacs.org>
1852 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
1853 mouse events outside the frame.
1855 2002-03-20 Andy Piper <andy@xemacs.org>
1857 * menubar-msw.c (mswindows_popup_menu): warning removal.
1858 * dialog-msw.c (dialog_popped_down): ditto.
1860 2001-12-11 Andy Piper <andy@xemacs.org>
1862 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
1863 * dialog-msw.c (mswindows_make_dialog_box_internal): set
1865 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
1866 * menubar-msw.c (mswindows_handle_wm_command): ditto.
1867 * menubar-msw.c (mswindows_popup_menu): ditto.
1869 2001-10-29 Andy Piper <andy@xemacs.org>
1871 * dialog-msw.c (handle_directory_dialog_box): quit if the user
1874 2002-01-03 Andy Piper <andy@xemacs.org>
1876 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
1880 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
1882 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
1883 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
1884 * device-msw.c (mswindows_handle_page_setup_dialog_box):
1885 Detect and handle case where machine is set up for metric units
1887 2002-04-02 Andy Piper <andy@xemacs.org>
1889 * dired-msw.c (mswindows_get_files):
1890 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
1891 completely handled by XEmacs. Suggested by Thomas Vogler
1892 <mail@thomas-vogler.de>.
1894 2001-11-14 Andy Piper <andy@xemacs.org>
1896 * nt.c (REG_ROOT): change registry key to XEmacs.
1898 2002-04-27 Andy Piper <andy@xemacs.org>
1900 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
1902 2002-04-26 Andy Piper <andy@xemacs.org>
1904 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
1907 2002-03-14 Mike Alexander <mta@arbortext.com>
1909 * event-msw.c (mswindows_unwait_process): New, remove process from
1911 * process-nt.c (nt_finalize_process_data): Call
1912 mswindows_unwait_process
1913 * console-msw.h: Declare mswindows_unwait_process
1915 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
1917 * editfns.c (Fdecode_time):
1918 (Fformat_time_string):
1919 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
1920 (make_time): Warning elimination (change arg name).
1922 2001-11-24 Andy Piper <andy@xemacs.org>
1924 * window.c (Fsplit_window): Doc return type.
1926 2002-04-01 Andy Piper <andy@xemacs.org>
1928 * emacs.c (Fkill_emacs): Only output message box in interactive
1931 2002-04-26 Andy Piper <andy@xemacs.org>
1933 * config.h.in: pull in 21.5.x change to stop alloca warnings under
1936 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
1938 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
1941 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
1943 * XEmacs 21.4.8 "Honest Recruiter" is released.
1945 2002-05-07 Nix <nix@esperi.demon.co.uk>
1947 Supersedes 2002-04-17 patch.
1949 * process.h (PROCESS_LIVE_P): Use the process status as
1950 evidence of health, not the state of the input stream.
1951 (PROCESS_READABLE_P): Say if the process is readable
1952 from. (It may be dead nonetheless.)
1953 (CHECK_READABLE_PROCESS): Test for that condition.
1955 * process.c (create_process): Use PROCESS_READABLE_P.
1956 (read_process_output, set_process_filter): Likewise.
1958 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
1959 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
1961 This code is #if 0'd, this is not the time to add new functions:
1963 * process.c (Fprocess_readable_p): Report readability status.
1964 * process.c (Qprocess_readable_p): New, associated symbol...
1965 * process.c (syms_of_process): ... initialize it.
1967 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
1969 * XEmacs 21.4.7 "Economic Science" is released.
1971 2002-04-17 Nix <nix@esperi.demon.co.uk>
1973 * process.h (PROCESS_LIVE_P): Use the process status as
1974 evidence of health, not the state of the input stream.
1976 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
1978 * sysdep.c (sys_siglist): change "signum" to "signal"
1980 2001-04-21 Martin Buchholz <martin@xemacs.org>
1982 * s/darwin.h: New file.
1983 Thanks to Greg Parker <gparker@cs.stanford.edu>.
1985 2002-04-23 Andreas Jaeger <aj@suse.de>
1987 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
1988 which use lib64 for 64-bit libs.
1989 (START_FILES): Likewise.
1991 2002-02-11 Mike Sperber <mike@xemacs.org>
1994 (x_IO_error_handler):
1995 (x_init_device): Temporarily keep device in static variable
1996 `device_being_initialized' so we can recover gracefully from
1997 internal XOpenDevice failure. (XOpenDevice is documented to
1998 return NULL on failure, but sometimes calls the IO error handler
2001 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
2003 * dired.c (Ffile_name_all_completions): Change documentation --
2004 remove reference to completion-ignored-extensions.
2005 * dired.c (vars_of_dired): Change documentation for
2006 completion-ignored-extensions -- remove reference to
2007 file-name-all-completions.
2009 2002-03-06 Jerry James <james@xemacs.org>
2011 * emodules.c (emodules_load): Fix multiple loading of same module.
2013 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
2014 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
2015 RTLD_LAZY to avoid incorrect symbol binding when using nested
2016 shared libraries on Solaris.
2018 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
2020 * fileio.c (Ffind_file_name_handler): Improve docstring.
2022 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
2024 * fns.c (Fmapconcat): Improve docstring.
2026 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
2028 * device-gtk.c: Add prototype for
2029 emacs_gtk_selection_clear_event_handle.
2030 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
2031 selection. Setup signal handler for "selection_clear_event"
2032 (emacs_gtk_selection_clear_event_handle).
2034 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
2035 other applications owning the clipboard (based on
2036 x_handle_selection_clear).
2038 2001-12-23 William M. Perry <wmperry@gnu.org>
2040 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
2042 2002-01-04 Martin Buchholz <martin@xemacs.org>
2044 * keymap.c (define_key_alternate_name): Parenthesize EQ.
2046 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
2048 * XEmacs 21.4.6 "Common Lisp" is released.
2050 2001-12-16 Torsten Duwe <duwe@caldera.de>
2052 * search.c (Freplace_match): Add missing sub-expression functionality.
2054 * buffer.c (decode_buffer): Add a check for pointer type to
2055 decode_buffer, before gcc's CSE optimization reorders a
2056 dereference in front of the allow_string test.
2058 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
2060 * window.c (window_loop): Fix bug that sometimes prevented
2061 window_loop() from iterating across multiple devices. Also, at
2062 Ben's request, changed infloop-detecting code to abort() instead
2063 of silently terminating window_loop().
2065 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
2067 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
2068 * editfns.c (make_time): New function.
2069 (Fencode_time): Use it instead of wasteful_word_to_lisp.
2070 * lisp.h (make_time): Prototype and comment it.
2071 * dired.c (wasteful_word_to_lisp): Deprecate.
2072 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
2074 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
2076 * fileio.c (auto_save_1): Use current coding system, not
2079 2001-11-13 Ben Wing <ben@xemacs.org>
2082 * window.c (window_truncation_on):
2083 * window.c (syms_of_window):
2084 truncate-partial-width-windows should respect the buffer being
2085 displayed, like other redisplay vars.
2087 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
2089 * event-stream.c (Fread_key_sequence): save current buffer.
2091 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
2093 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
2095 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
2097 * alloc.c (lcrecord_stats): Add space for types defined in modules.
2099 2001-10-26 Mike Alexander <mta@arbortext.com>
2101 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
2103 2001-10-25 Andy Piper <andy@xemacs.org>
2106 * dialog-msw.c (handle_directory_proc): new function.
2107 (handle_directory_dialog_box): new fucntion.
2108 (handle_file_dialog_box): use new directory dialog support.
2109 (mswindows_make_dialog_box_internal): ditto.
2110 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
2112 (mswindows_find_frame): make global.
2113 * fileio.c (Fexpand_file_name): build fix.
2114 * general-slots.h: add Qdirectory.
2115 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
2117 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
2118 cygwin not leaving win32 paths unchanged.
2119 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
2120 cygwin runtime to do path conversion.
2121 (Fmswindows_shell_execute): fix cygwin handling of URLs.
2122 (syms_of_win32): add new function.
2123 * window.c (window_loop): build fix.
2125 2001-10-15 Andy Piper <andy@xemacs.org>
2127 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
2129 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
2131 * XEmacs 21.4.5 "Civil Service" is released.
2133 2001-04-08 Danny Colascione <qtmstr@optonline.net>
2135 * glyphs-x.c: Force buffer-tab highlight update when moving the
2136 buffer, avoiding an ugly black border, used for keyboard focus
2137 indication, on a widget that can never have keyboard focus, the
2140 2001-08-30 Daiki Ueno <ueno@unixuser.org>
2142 * process-unix.c (unix_open_multicast_group): Remove too much
2143 conversion between host and network byte order.
2145 2001-09-10 Nix <nix@esperi.demon.co.uk>
2147 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
2148 before replacing them.
2150 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
2153 * src/window.c (undedicate_windows): Use it.
2154 * src/window.h: Add prototype.
2156 2001-09-17 Ben Wing <ben@xemacs.org>
2158 * fileio.c (normalize_filename):
2159 * fileio.c (Fexpand_file_name):
2160 Fix various C++ compile errors in Andy's recent code.
2162 * callint.c (Fcall_interactively):
2163 * editfns.c (Ftemp_directory):
2164 * editfns.c (Fuser_full_name):
2165 * emacs.c (argmatch):
2166 * lread.c (locate_file_map_suffixes):
2167 * redisplay-x.c (x_ring_bell):
2168 Fix sign-compare warnings.
2170 2001-09-08 Andy Piper <andy@xemacs.org>
2172 * fileio.c (normalize_filename): copied from nt.c
2173 * (Ffile_name_directory): enable win32 paths under cygwin.
2174 * (Ffile_name_nondirectory): ditto.
2175 * (directory_file_name): ditto.
2176 * (Fexpand_file_name): ditto.
2177 * (Ffile_truename): ditto.
2178 * (Fsubstitute_in_file_name): ditto.
2179 * (Ffile_name_absolute_p): ditto.
2180 * (Ffile_readable_p): ditto.
2182 2001-09-08 Andy Piper <andy@xemacs.org>
2184 * device-msw.c (mswindows_finish_init_device): remove dde
2186 * device-msw.c (mswindows_init_dde): factor out from
2187 mswindows_finish_init_device()
2188 * device-msw.c (init_mswindows_very_early): new function
2189 initialize but don't enable dde.
2190 * emacs.c (main_1): call init_mswindows_very_early.
2192 * event-msw.c (mswindows_dde_callback): only execute when we are
2194 * symsinit.h: declare init_mswindows_very_early.
2196 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
2198 [sjt: This has been in 21.5 for months with no complaints.]
2200 * console.h (struct console_methods): Added flags member.
2201 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
2202 (CONMETH_IMPL_FLAG):
2203 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
2204 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
2206 * device.c (window_system_pixelated_geometry): Use the above macros.
2208 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
2209 implememntation flag.
2210 * device.h (DEVICE_DISPLAY_P): Use it.
2212 * frame.c (delete_frame_internal): Use the above macro.
2214 * redisplay.c (redisplay_device): Use it.
2215 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
2216 (redisplay_frame): Ditto.
2218 * device-msw.c (mswindows_device_implementation_flags): Removed.
2219 (msprinter_device_implementation_flags): Removed.
2220 (console_type_create_device_mswindows): Removed references to
2221 implementation_flags methods, set implementation flags here.
2222 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
2224 * device-gtk.c (gtk_device_implementation_flags): Removed method.
2225 (console_type_create_device_gtk): Removed method declaration.
2226 Added commented out statement which semantically matches the
2227 commented out statement in the above removed method.
2229 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
2231 The attached patch fixes a few warnings.
2233 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
2234 * src/frame-gtk.c: guard against GNOME calls in GTK only
2235 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
2236 * src/select-gtk.c: prototype lisp_to_time
2238 2001-06-08 Ben Wing <ben@xemacs.org>
2240 ------ gc-in-window-procedure fixes ------
2243 * alloc.c (struct post_gc_action):
2244 * alloc.c (register_post_gc_action):
2245 * alloc.c (run_post_gc_actions):
2246 * alloc.c (garbage_collect_1):
2247 Create "post-gc actions", to avoid those dreaded "GC during window
2248 procedure" problems.
2251 Abort, clean and simple, when GC in window procedure. We want
2252 to flush these puppies out.
2255 * glyphs-msw.c (finalize_destroy_window):
2256 * glyphs-msw.c (mswindows_finalize_image_instance):
2257 Use a post-gc action when destroying subwindows.
2260 Declare register_post_gc_action().
2263 * scrollbar-msw.c (unshow_that_mofo):
2264 Use a post-gc action when unshowing scrollbar windows, if in gc.
2266 * redisplay.c (mark_redisplay):
2267 Add comment about the utter evilness of what's going down here.
2269 ------ cygwin setitimer fixes ------
2271 * Makefile.in.in (sheap_objs):
2272 * Makefile.in.in (profile_objs):
2273 * Makefile.in.in (objs):
2274 Compile profile.c only when HAVE_SETITIMER.
2276 * nt.c (mswindows_sigset):
2277 * nt.c (mswindows_sighold):
2278 * nt.c (mswindows_sigrelse):
2279 * nt.c (mswindows_sigpause):
2280 * nt.c (mswindows_raise):
2281 * nt.c (close_file_data):
2285 Move setitimer() emulation to win32.c, because Cygwin needs it too.
2288 * profile.c (Fstart_profiling):
2289 * profile.c (Fstop_profiling):
2290 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
2291 instead of just plain setitimer().
2294 * signal.c (set_one_shot_timer):
2296 Define qxe_setitimer() as an encapsulation around setitimer() --
2297 call setitimer() directly unless Cygwin or MS Win, in which case
2298 we use our simulated version in win32.c.
2301 * systime.h (struct itimerval):
2302 * systime.h (ITIMER_REAL):
2303 Prototype mswindows_setitimer() and qxe_setitimer(). Long
2304 comment about "qxe" and the policy regarding encapsulation.
2307 * win32.c (setitimer_helper_proc):
2308 * win32.c (setitimer_helper_period):
2309 * win32.c (setitimer_helper):
2310 * win32.c (mswindows_setitimer):
2311 Move setitimer() emulation here, so Cygwin can use it.
2312 Rename a couple of functions and variables to be longer and more
2313 descriptive. In setitimer_helper_proc(), send the signal
2314 using either mswindows_raise() or (on Cygwin) kill(). If for
2315 some reason we are still getting lockups, we'll change the kill()
2316 to directly invoke the signal handlers.
2318 ------ windows shell fixes ------
2322 Comments about how these two files must die.
2324 * callproc.c (init_callproc):
2325 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
2326 not just COMSPEC. (more correct and closer to FSF.) Don't
2327 force a value for SHELL into the environment. (Comments added
2328 to explain why not.)
2330 * nt.c (init_user_info):
2331 Don't shove a fabricated SHELL into the environment. See above.
2333 2001-06-01 Ben Wing <ben@xemacs.org>
2335 * Makefile.in.in (ldflags):
2336 eliminate that pesky "defaulting to 00401000" warning.
2340 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
2342 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
2343 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
2345 2001-04-24 Jerry James <james@xemacs.org>
2347 * faces.h: pass parameters to Fadd_spec_to_specifier in the
2350 2001-06-01 Ben Wing <ben@xemacs.org>
2352 * event-msw.c (debug_mswin_messages):
2353 conditionalize the messages that were causing compile errors.
2354 (if only macros could generate #ifdef statements ...)
2356 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
2358 * XEmacs 21.4.4 "Artificial Intelligence" is released.
2360 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
2362 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
2364 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
2366 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
2367 * process-unix.c (unix_canonicalize_host_name):
2368 sysdep.c (init_system_name):
2369 Use it to conditionally support IPv6 canonicalization.
2371 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
2374 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
2376 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
2378 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
2379 attempt is made to scroll when no scroll bar is available.
2381 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
2383 * input-method-motif.c (XIM_delete_frame): New callback.
2384 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
2385 got deleted from 21.4.3.)
2387 2001-06-01 Ben Wing <ben@xemacs.org>
2389 * nt.c (mswindows_utime):
2390 * nt.c (close_file_data):
2391 fix off-by-one-indirection error.
2393 2001-05-29 Adrian Aichner <adrian@xemacs.org>
2395 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
2396 because set_file_times() now takes Lisp_Object path, instead of
2398 * nt.c: Include buffer.h.
2399 * nt.c (convert_from_time_t): New.
2400 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
2401 not set mtime correctly.
2402 * nt.h: Declare mswindows_utime().
2403 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
2404 path, instead of char*.
2405 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
2407 2001-05-30 Ben Wing <ben@xemacs.org>
2411 (Stephen, just take all event-msw.c patches. This includes
2412 the "iconify" fix below.)
2415 * event-msw.c (mswindows_dequeue_dispatch_event):
2416 * event-msw.c (assert):
2417 * event-msw.c (emacs_mswindows_quit_p):
2418 * event-msw.c (debug_mswin_messages):
2419 * event-msw.c (debug_output_mswin_message):
2420 * event-msw.c (vars_of_event_mswindows):
2421 Fix yet more problems with C-g handling.
2422 Implement debug-mswindows-events.
2424 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
2426 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
2428 2001-05-23 Ben Wing <ben@xemacs.org>
2430 * event-msw.c (winsock_writer):
2431 * event-msw.c (winsock_closer):
2432 prior kludgy code was clobbering the buffer, thinking it was
2433 "unused" space to store an unneeded return value; instead, use
2434 the variable we've already got staring us in the face.
2436 2001-05-17 Andy Piper <andy@xemacs.org>
2438 * sysfile.h: don't assume that file attributes are boolean
2440 2001-05-23 Ben Wing <ben@xemacs.org>
2442 * device-msw.c (msprinter_init_device):
2443 signal an error rather than crash with an unavailable network
2444 printer (from Mike Alexander).
2447 * event-msw.c (struct winsock_stream):
2448 * event-msw.c (winsock_writer):
2449 * event-msw.c (winsock_closer):
2450 * event-msw.c (make_winsock_stream_1):
2451 cleanup headers. fix (hopefully) an error with data corruption
2452 when sending to a network connection.
2454 * fileio.c (Fexpand_file_name): Fix evil code that attempts
2455 to handle the ~user prefix by (a) always assuming we're referencing
2456 ourselves and not even verifying the user -- hence any file with
2457 a tilde as its first char is invalid! (b) if there wasn't a slash
2458 following the filename, the pointer was set *past* the end of
2459 file and we started reading from uninitialized memory. Now we
2460 simply treat these as files, always.
2462 * buffer.c (common_init_complex_vars_of_buffer): comment change.
2464 2001-05-19 Ben Wing <ben@xemacs.org>
2466 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
2469 * process-nt.c (vars_of_process_nt):
2470 remove unused mswindows-quote-process-args. rec for 21.4.
2472 2001-05-12 Ben Wing <ben@xemacs.org>
2474 * event-msw.c (mswindows_dde_callback):
2475 * event-msw.c (mswindows_wnd_proc):
2476 eliminate cygwin warnings.
2478 2001-05-06 Ben Wing <ben@xemacs.org>
2482 * device-msw.c (print_dialog_worker):
2483 * device-msw.c (mswindows_handle_print_dialog_box):
2484 * device-msw.c (syms_of_device_mswindows):
2485 * dialog-msw.c (mswindows_make_dialog_box_internal):
2487 implement printing the selection when it's selected.
2489 2001-05-20 Drazen Kacar <dave@arsdigita.com>
2491 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
2493 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
2495 * lisp.h (EMACS_INT_MAX): This should be one bit less since
2496 EMACS_INT is signed.
2498 2001-04-15 Michael Lausch <mla@1012surf.net>
2500 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
2501 gtk_widget_request_size() to give scrollbar >0 width for
2504 2001-05-30 William M. Perry <wmperry@gnu.org>
2506 * event-gtk.c: Check for buttons as modifier keys.
2508 2001-05-25 Craig Lanning <CraigL@Knology.net>
2511 Properly find MinGW's <process.h> inside Cygwin's restructured
2512 include directories. Don't try to include <cygwin/version.h>
2513 since we are dropping support for MinGW in versions of Cygwin
2516 Drop support for MinGW in versions of Cygwin before b21.
2518 Properly find MinGW's <process.h> inside Cygwin's restructured
2519 include directories.
2521 Drop support for MinGW in versions of Cygwin before b21.
2523 Even though a.out.h is no longer detected by configure, allow
2524 MinGW to use it until we figure out how to do the job with Win32.
2526 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
2528 * syntax.c (find_start_of_comment):
2529 Fix `unbalanced parentheses' bug when dealing with mixed comment
2530 styles in c++/java/etc. mode
2532 2001-05-29 Mike Alexander <mta@arbortext.com>
2534 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
2535 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
2537 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
2539 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
2541 2001-03-31 Mike Sperber <mike@xemacs.org>
2543 * search.c (Freplace_match): Support FSF-style specification of
2544 match subexpression when applied to a buffer.
2546 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
2548 * event-stream.c (is_scrollbar_event): add missing semicolon
2550 2001-05-22 Isaac Hollander <ysh@mindspring.com>
2552 * Makefile.in.in: Use TAR macro instead of hardcoding
2553 tar. Allows use of GNU tar instead of system tar
2555 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
2557 * event-stream.c (is_scrollbar_event): add missing semicolon
2559 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
2561 * XEmacs 21.4.3 "Academic Rigor" is released.
2563 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
2565 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
2567 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
2569 * buffer.c (Vcase_fold_search): Remove obsolete
2570 comment about non ASCII case-fold-search. This
2571 bug has been fixed by case-table changes.
2573 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
2575 * event-msw.c: Restore include of events-mod.h.
2577 2001-04-22 zhaoway <zw@debian.org>
2579 * event-stream.c (is_scrollbar_event): Noop returning 0 if
2582 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
2584 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
2586 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2588 * mule-charset.c (Fmake_charset): Add missing else.
2590 2001-04-23 Ben Wing <ben@xemacs.org>
2592 * event-msw.c (FAKE_MOD_QUIT):
2593 * event-msw.c (mswindows_dequeue_dispatch_event):
2594 * event-msw.c (mswindows_wnd_proc):
2595 * event-msw.c (emacs_mswindows_quit_p):
2596 Get critical quit working.
2598 2001-05-05 Ben Wing <ben@xemacs.org>
2602 * device-msw.c (mswindows_get_default_margin):
2603 * frame-msw.c (mswindows_size_frame_internal):
2604 * frame-msw.c (msprinter_init_frame_1):
2605 * frame-msw.c (vars_of_frame_mswindows):
2606 Change top/bottom margin defaults to 0.5 inches.
2608 2001-05-01 Martin Buchholz <martin@xemacs.org>
2610 Fix link error with gcc 3.0 on Linux.
2611 * terminfo.c (UP): Remove.
2612 * terminfo.c (BC): Remove.
2613 * terminfo.c (PC): Remove.
2614 They weren't used, and in any case, these symbols should be
2615 defined in the *library*.
2617 2001-05-03 Martin Buchholz <martin@xemacs.org>
2619 * s/aix4.h: Fix crash with xlc -O3.
2620 Improve comment explaining how -O3 works.
2622 2001-04-15 Ben Wing <ben@xemacs.org>
2625 * event-stream.c (Fnext_event):
2626 * event-stream.c (is_scrollbar_event):
2627 * event-stream.c (execute_command_event):
2628 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
2629 crash' problem. His fix introduces other problems. We filter
2630 out scrollbar events specifically, making them somewhat invisible
2631 to command-building, and not appearing in `this-command-keys'.
2632 More work is still needed (see comments in event-stream.c), but
2633 this fixes all the major problems.
2635 2001-04-20 Ben Wing <ben@xemacs.org>
2637 * .cvsignore: Added stuff for Windows.
2639 2001-04-28 Ben Wing <ben@xemacs.org>
2641 * buffer.c (Ferase_buffer):
2642 * editfns.c (buffer_insert1):
2643 * editfns.c (Finsert_before_markers):
2644 * editfns.c (Finsert_string):
2645 * editfns.c (Finsert_char):
2646 * editfns.c (Fdelete_region):
2647 * editfns.c (Fwiden):
2648 * editfns.c (Fnarrow_to_region):
2649 remove bogus lines setting zmacs_region_stays to 0.
2651 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2653 * process-unix.c (unix_open_network_stream): If connect() fails
2654 invalidate file descriptor after closing it.
2656 2001-03-08 Mike Alexander <mta@arbortext.com>
2658 * event-msw.c (mswindows_need_event_in_modal_loop):
2659 Don't dispatch a message if we didn't get one.
2660 (mswindows_need_event):
2661 Terminate the correct process when one exits instead of the first
2662 one on Vprocess_list and look for process termination when in
2663 mswindows_protect_modal_loop.
2665 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
2667 * XEmacs 21.4.1 "Copyleft" is released.
2669 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
2671 * input-method-motif.c (XIM_delete_frame): New callback.
2672 (XIM_init_frame): Register it.
2674 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
2676 * XEmacs 21.4.0 "Solid Vapor" is released.
2678 2001-04-15 Ben Wing <ben@xemacs.org>
2680 * cmdloop.c (call_command_loop):
2681 Fix braino in bit-rotting code.
2683 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
2685 * extents.c (Fset_extent_endpoints): Force creation of extent info
2686 in buffer_or_string.
2688 * extents.c (process_extents_for_insertion_mapper): Correctly
2689 check for open-open zero-length extents.
2691 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
2693 * lisp.h: New typedefs Memory_count, Element_count.
2696 Sign-compare warning elimination: several unsigned -> signed.
2697 Based on work by Ben Wing <ben@xemacs.org>.
2699 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
2701 * XEmacs 21.2.47 "Zephir" is released.
2703 2001-04-02 Jan Vroonhof <jan@xemacs.org>
2705 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
2707 2001-04-03 Mike Sperber <mike@xemacs.org>
2709 * search.c: Revert previous patch due because of release.
2711 2001-03-30 Ben Wing <ben@xemacs.org>
2714 Add missing killpg prototype.
2717 Add a comment about fixing problems when a new entry is added
2720 * frame-msw.c (mswindows_init_frame_1):
2721 Fix compile warnings.
2723 * menubar.c (vars_of_menubar):
2724 Provide `menu-accelerator-support' to indicate that we properly
2725 support %_ in menu specifications, so that package code can
2726 conditionalize on this (and remove %_ from menu specifications
2731 * scrollbar-msw.c (can_scroll):
2733 Fix handling of mouse wheel under Windows to follow standards --
2734 now scrolls window under pointer, not selected window.
2736 2001-03-31 Mike Sperber <mike@xemacs.org>
2738 * search.c (Freplace_match): Support FSF-style specification of
2739 match subexpression when applied to a buffer.
2741 2001-03-15 Martin Buchholz <martin@xemacs.org>
2743 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
2744 function to modify KEYMAP, so map over a copy of the hash table.
2746 2001-03-21 Martin Buchholz <martin@xemacs.org>
2748 * XEmacs 21.2.46 "Urania" is released.
2750 2001-03-20 Dan Holmsand <dan@eyebee.com>
2752 * realpath.c (xrealpath): Make file-truename work with symlinks to
2753 /cygdrive paths on cygwin. Always lowercase drive-letters on
2755 (cygwin_readlink): Don't try to find canonical filename unless
2758 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
2760 * ChangeLog: Log GTK merge.
2766 Revert gratuitous whitespace changes from GTK merge.
2768 * emacs.c: Document end of complex #ifdef @ l. 1495.
2771 2001-03-12 Andy Piper <andy@xemacs.org>
2773 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
2774 have to do likewise.
2776 2001-03-12 Andy Piper <andy@xemacs.org>
2778 * sysdep.c: we only support mingw now.
2780 2001-03-09 Andy Piper <andy@xemacs.org>
2782 * unexcw.c (copy_executable_and_dump_data_section): making approx
2783 overrun a warning only.
2785 2001-03-10 William M. Perry <wmperry@aventail.com>
2787 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
2788 satisfy Stephen's identical-after-cpp plea.
2790 2001-03-02 Ben Wing <ben@xemacs.org>
2793 * cmds.c (Fforward_char):
2797 Augment documentation of the most common motion commands to make
2798 note of the shifted-motion support.
2800 2001-03-02 Ben Wing <ben@xemacs.org>
2802 * nt.c (mswindows_fstat):
2803 * nt.c (mswindows_stat):
2804 * search.c (boyer_moore):
2805 Fix compile warnings under Windows.
2807 * sysdep.c (sys_readdir):
2808 Fix buggy filename-conversion code under Mule.
2810 2001-03-09 William M. Perry <wmperry@aventail.com>
2832 * redisplay-output.c:
2838 The Great GTK Merge.
2845 * emacs-widget-accessors.c:
2859 * native-gtk-toolbar.c:
2870 The Great GTK Merge: new files.
2872 2001-02-26 Ben Wing <ben@xemacs.org>
2874 Reapplied Lstream change.
2876 2001-02-26 Ben Wing <ben@xemacs.org>
2878 Undid the last change, since it is more controversial than I
2879 thought. It should be back in at some point soon.
2881 2001-02-25 Ben Wing <ben@xemacs.org>
2884 * callproc.c (Fold_call_process_internal):
2885 * event-msw.c (ntpipe_slurp_reader):
2886 * event-msw.c (ntpipe_shove_writer):
2887 * event-msw.c (winsock_reader):
2888 * event-msw.c (winsock_writer):
2890 * file-coding.c (detect_eol_type):
2891 * file-coding.c (detect_coding_type):
2892 * file-coding.c (determine_real_coding_system):
2893 * file-coding.c (Fdetect_coding_region):
2894 * file-coding.c (decoding_reader):
2895 * file-coding.c (decoding_writer):
2896 * file-coding.c (mule_decode):
2897 * file-coding.c (Fdecode_coding_region):
2898 * file-coding.c (encoding_reader):
2899 * file-coding.c (encoding_writer):
2900 * file-coding.c (mule_encode):
2901 * file-coding.c (Fencode_coding_region):
2902 * file-coding.c (detect_coding_sjis):
2903 * file-coding.c (decode_coding_sjis):
2904 * file-coding.c (encode_coding_sjis):
2905 * file-coding.c (detect_coding_big5):
2906 * file-coding.c (decode_coding_big5):
2907 * file-coding.c (encode_coding_big5):
2908 * file-coding.c (detect_coding_ucs4):
2909 * file-coding.c (decode_coding_ucs4):
2910 * file-coding.c (encode_coding_ucs4):
2911 * file-coding.c (detect_coding_utf8):
2912 * file-coding.c (decode_coding_utf8):
2913 * file-coding.c (encode_coding_utf8):
2914 * file-coding.c (detect_coding_iso2022):
2915 * file-coding.c (decode_coding_iso2022):
2916 * file-coding.c (encode_coding_iso2022):
2917 * file-coding.c (decode_coding_no_conversion):
2918 * file-coding.c (encode_coding_no_conversion):
2919 * glyphs-x.c (write_lisp_string_to_temp_file):
2920 * gpmevent.c (tty_get_foreign_selection):
2923 * lstream.c (Lstream_flush_out):
2924 * lstream.c (Lstream_adding):
2925 * lstream.c (Lstream_write_1):
2926 * lstream.c (Lstream_write):
2927 * lstream.c (Lstream_raw_read):
2928 * lstream.c (Lstream_read_more):
2929 * lstream.c (Lstream_read):
2930 * lstream.c (Lstream_unread):
2931 * lstream.c (Lstream_fputc):
2932 * lstream.c (stdio_reader):
2933 * lstream.c (stdio_writer):
2934 * lstream.c (filedesc_reader):
2935 * lstream.c (filedesc_writer):
2936 * lstream.c (lisp_string_reader):
2937 * lstream.c (struct fixed_buffer_stream):
2938 * lstream.c (make_fixed_buffer_input_stream):
2939 * lstream.c (make_fixed_buffer_output_stream):
2940 * lstream.c (fixed_buffer_reader):
2941 * lstream.c (fixed_buffer_writer):
2942 * lstream.c (struct resizing_buffer_stream):
2943 * lstream.c (resizing_buffer_writer):
2944 * lstream.c (dynarr_writer):
2945 * lstream.c (lisp_buffer_reader):
2946 * lstream.c (lisp_buffer_writer):
2948 * lstream.h (lstream_implementation):
2949 * lstream.h (struct lstream):
2951 * process-nt.c (nt_send_process):
2952 * process-unix.c (unix_send_process):
2954 Correct Lstream lossage due to mixing of signed and unsigned
2955 quantities. All Lstream uses of size_t and ssize_t are now a
2956 single signed data type Lstream_data_count. This fixes problems
2957 under Windows with sending large quantities of data to a process,
2958 and may well fix other subtle bugs.
2960 2001-02-23 Martin Buchholz <martin@xemacs.org>
2962 * XEmacs 21.2.45 "Thelxepeia" is released.
2964 2001-02-21 Martin Buchholz <martin@xemacs.org>
2966 * lisp-union.h (XSETINT):
2969 Reverse previous change of 2001-02-06.
2971 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
2973 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
2975 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
2976 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
2977 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
2978 * regex.c (POS_AS_IN_BUFFER): removed
2979 * regex.c (re_search_2):
2980 * regex.c (re_match_2):
2981 Don't use an offset of 1 when calculating buffer positions, since
2982 `BI_BUF_BEGV' does it already.
2984 2001-02-18 Wim Dumon <wim@easics.be>
2986 * insdel.c (prepare_to_modify_buffer): Also check for
2987 supersession when clash-detection is enabled.
2989 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
2991 * regex.c (re_match_2_internal):
2992 Convert temp characters from 'const unsigned char' to 're_char'.
2993 Fix crashing bug with extended characters under mule.
2994 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
2995 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
2996 font-lock, pdump, and new syntax-table code.
2997 * syntax.c (find_start_of_comment):
2998 (find_end_of_comment):
3000 Fix crashing bugs involving moving beyond end of buffer.
3001 * syntax.c (find_start_of_comment):
3002 Fixed logic to allow proper detection of cases where the same
3003 character is used to end both a two-char comment start and a
3004 two-char comment end sequence. Fixes `(forward-comment -1)'.
3005 * syntax.c (find_start_of_comment):
3006 Return position just past last comment-end character for all cases
3007 (previously was only done for two-char comment-end sequences).
3008 * syntax.c (forward-comment):
3009 Take value returned from `find_end_of_comment', rather than
3011 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
3012 Properly deal with BUFFERP (syntax_cache.object)
3014 2001-02-17 Martin Buchholz <martin@xemacs.org>
3016 * alloc.c (Fgarbage_collect):
3017 * alloc.c (make_bit_vector_from_byte_vector):
3018 -Wsign-compare-correctness.
3020 2001-02-16 Martin Buchholz <martin@xemacs.org>
3022 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
3023 (XSETCHAR): Likewise.
3024 (XSETOBJ): Likewise.
3026 2001-02-15 Martin Buchholz <martin@xemacs.org>
3028 * mule-canna.c (canna-func-delete_previous):
3029 Rename to canna-func-delete-previous.
3031 2001-02-14 Martin Buchholz <martin@xemacs.org>
3033 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
3035 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
3037 * font-lock.c (find_context): Fix C++ compile errors introduced by
3040 2001-02-13 Martin Buchholz <martin@xemacs.org>
3042 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
3043 pragma, but earlier ones barf on the same pragma.
3045 2001-02-06 Mike Sperber <mike@xemacs.org>
3047 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
3048 `configure-mule-lisp-directory'.
3050 2001-02-12 Martin Buchholz <martin@xemacs.org>
3052 Make sure dump-id.c is compiled in the same way as other .c's.
3053 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
3054 * dump-id.h: Remove.
3055 * emacs.c: Move dump-id.h into dumper.h.
3056 * dumper.h: Move dump-id.h into dumper.h.
3058 Use standard .c.o rule for building dump-id.o.
3059 Remove preprocessor flags from link command.
3060 Add dump-id.o to ${otherobjs} if PDUMP.
3062 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
3064 Port FSF 20.7 syntax table improvements.
3068 Fixups for new syntax table stuff.
3069 * dired.c: Include syntax.c.
3070 (Fdirectory_files): Initialize regex_match_object and
3072 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
3073 and Fget_char_property.
3075 Use ported FSF 20.7 syntax table improvements.
3080 2001-02-09 Martin Buchholz <martin@xemacs.org>
3082 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
3083 Unixware's enum boolean from sys/types.h.
3085 2001-02-10 Martin Buchholz <martin@xemacs.org>
3087 Fix support for building with latest Purify.
3088 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
3089 (PURIFY_FLAGS): Likewise.
3091 2001-02-09 Martin Buchholz <martin@xemacs.org>
3093 * fileio.c (lisp_string_set_file_times): New.
3094 * fileio.c (Fcopy_file): Use it.
3096 (copy-file filename non-ascii-filename t t)
3097 ==> No such file or directory, non-ascii-filename
3099 2001-02-10 Martin Buchholz <martin@xemacs.org>
3101 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
3102 USHRT_MAX seems clearer than ~0 anyways.
3104 2001-02-09 Martin Buchholz <martin@xemacs.org>
3106 dumper improvements. Inspired by Olivier.
3107 * dumper.c (pdump_max_align): New.
3108 * dumper.c (pdump_add_entry): Use pdump_max_align.
3109 * dumper.c (pdump_get_entry_list): Likewise.
3110 * dumper.c (pdump_scan_by_alignment): Likewise.
3111 Don't iterate through unnecessary alignments.
3112 * dumper.c (pdump_file_get): No need to align result of malloc().
3113 * dumper.c (pdump_mallocadr): Remove.
3114 The result of malloc() is guaranteed to be maximally aligned.
3115 * dumper.c: s/elmt/elt/g;
3116 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
3117 * dumper.c (pdump_alert_undump_object): Likewise.
3118 * dumper.c (pdump_align_table):
3119 Don't support alignments > 64.
3120 Store ALIGNOF's, not shift counts, in table.
3122 2001-02-09 Martin Buchholz <martin@xemacs.org>
3124 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
3125 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
3126 * systime.h: Use HAVE_UTIME.
3127 * sysdep.c (struct utimbuf): Remove.
3128 * sysdep.c (set_file_times): Prefer utime() to utimes().
3129 * config.h.in (HAVE_UTIME): New.
3130 * config.h.in (HAVE_UTIME_H): Remove.
3131 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
3133 2001-02-09 Martin Buchholz <martin@xemacs.org>
3135 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
3137 2001-02-08 Martin Buchholz <martin@xemacs.org>
3139 * s/irix6-0.h: Use the standard system memmove, not bcopy.
3141 2001-02-08 Martin Buchholz <martin@xemacs.org>
3143 * XEmacs 21.2.44 "Thalia" is released.
3145 2001-02-06 Martin Buchholz <martin@xemacs.org>
3147 Fixes crashes in kill-emacs on some systems.
3148 * process-unix.c (unix_kill_child_process):
3149 It's OK for kill() to fail with ESRCH.
3151 2001-02-07 Martin Buchholz <martin@xemacs.org>
3153 Contortions to make .gdbinit tricks work on most systems.
3154 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3155 * alloc.c (dbg_valmask): Make non-const.
3156 * alloc.c (dbg_typemask): Make non-const.
3157 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3158 * alloc.c (dbg_valbits): Make non-const.
3159 * alloc.c (dbg_gctypebits): Make non-const.
3160 * .gdbinit (decode_object): Make it work with AIX cc.
3162 2001-02-06 Martin Buchholz <martin@xemacs.org>
3164 * elhash.c (make_general_lisp_hash_table):
3165 Use simpler and more efficient calloc to clear entries.
3167 2001-02-07 Martin Buchholz <martin@xemacs.org>
3169 * window.c (window_scroll): Work around an AIX C compiler bug.
3170 Fixes 'scroll-up' does nothing problem with xlC.
3172 2001-02-05 Martin Buchholz <martin@xemacs.org>
3174 * .gdbinit: Remove obsolete comment.
3176 2001-01-31 Mike Alexander <mta@arbortext.com>
3178 * select.c (Fown_selection_internal): Set owned_p for device
3181 2001-02-01 Martin Buchholz <martin@xemacs.org>
3184 "not" cannot be used as a macro name as it is an operator in C++
3185 * config.h.in: Stop #defining `not'.
3186 * chartab.c (check_category_char): not ==> not_p
3187 * chartab.h: Likewise.
3188 * regex.c (re_match_2_internal): Likewise.
3190 2001-02-02 Martin Buchholz <martin@xemacs.org>
3192 * lisp-disunion.h: Fix up comments.
3194 2001-01-31 Martin Buchholz <martin@xemacs.org>
3196 * keymap.c (define_key_check_and_coerce_keysym):
3198 Support mouse-6 and mouse-7 bindings in the obvious way.
3200 2001-02-01 Martin Buchholz <martin@xemacs.org>
3202 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3204 2001-01-30 Martin Buchholz <martin@xemacs.org>
3206 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3207 Previous patch missed DEFVAR_INT_MAGIC.
3208 Make sure future DEFVAR_foo use correct types.
3209 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3210 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3211 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3212 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3213 * (DEFVAR_INT): Likewise.
3214 * redisplay.c (vertical_clip): Should be of type Fixnum.
3215 * redisplay.c (horizontal_clip): Likewise.
3216 * lisp.h (dump_add_opaque_int): New.
3217 (dump_add_opaque_fixnum): New.
3219 2001-01-29 Andy Piper <andy@xemacs.org>
3221 * glyphs-widget.c (check_valid_int_or_function): allow symbols
3222 since they can be eval'ed
3224 2001-01-29 Martin Buchholz <martin@xemacs.org>
3226 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
3227 Oops, XEmacs redefines `class'. Use `typename' instead.
3229 2001-01-28 Martin Buchholz <martin@xemacs.org>
3231 * dumper.c: Fix C++ compile errors.
3233 2001-01-29 Martin Buchholz <martin@xemacs.org>
3235 * tparam.c: Use correct prototypes.
3237 2001-01-28 Martin Buchholz <martin@xemacs.org>
3239 * sysproc.h: #include util.h for NetBSD's openpty.
3241 2001-01-27 Martin Buchholz <martin@xemacs.org>
3243 More 64-bit correctness.
3244 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
3245 Use a typedef `fixnum' for the type used for DEFVAR_INT.
3247 This finally finishes the 64-bit SGI port.
3248 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
3249 * symbols.c: Fix up comments and type casts.
3250 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
3251 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
3252 * symeval.h (Fixnum): New type.
3253 * symeval.h (symbol_value_type): Fix up comment.
3269 * mule-canna.c: A million DEFVAR_INTs here...
3270 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
3283 s/int/Fixnum/g in DEFVAR_INT declarations.
3285 2001-01-26 Martin Buchholz <martin@xemacs.org>
3287 Port pdump to SGI alignment-sensitive environment.
3288 Lisp Object sizeof methods now return aligned sizes. Rely on that.
3289 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
3291 Define and use aligned reading and writing macros.
3292 Use buffered stdio instead of posix i/o for faster dumping.
3293 Eliminate kludgy 256 byte space for header.
3294 Read and write from dump file using structs for alignment safety.
3295 * dumper.c (pdump_align_stream): New.
3296 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
3297 * dumper.c (PDUMP_READ_ALIGNED): New.
3298 * dumper.c (PDUMP_WRITE_ALIGNED): New.
3299 * dumper.c (pdump_static_Lisp_Object): New struct.
3300 * dumper.c (pdump_static_pointer): New struct.
3301 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
3302 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
3303 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
3304 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
3306 * dumper.c (pdump_backtrace):
3307 * dumper.c (pdump_get_indirect_count):
3308 * dumper.c (pdump_register_object):
3309 * dumper.c (pdump_register_struct):
3310 * dumper.c (pdump_reloc_one):
3311 * dumper.c (pdump_scan_by_alignment):
3312 * dumper.c (pdump_dump_from_root_struct_ptrs):
3313 * dumper.c (pdump_dump_opaques):
3314 * dumper.c (pdump_dump_rtables):
3315 * dumper.c (pdump_dump_from_root_objects):
3317 * dumper.c (pdump_load_finish):
3318 Use aligned reading and writing.
3320 * dumper.c (pdump_free): Make static.
3321 * dumper.c (pdump_hFile): Likewise.
3322 * dumper.c (pdump_hMap): Likewise.
3324 2001-01-26 Martin Buchholz <martin@xemacs.org>
3326 * XEmacs 21.2.43 "Terspichore" is released.
3328 2001-01-25 Martin Buchholz <martin@xemacs.org>
3330 Type fiddling for window_config.saved_windows_count
3331 * window.c (struct window_config):
3332 Make saved_windows_count member unsigned.
3333 * window.c (sizeof_window_config_for_n_windows):
3334 Make parameter unsigned.
3335 * window.c (mark_window_config):
3336 * window.c (window_config_equal):
3337 * window.c (free_window_configuration):
3338 * window.c (Fset_window_configuration):
3339 * window.c (count_windows):
3340 * window.c (Fcurrent_window_configuration):
3341 * window.c (reinit_vars_of_window):
3342 Update all callers and users.
3344 2001-01-25 Martin Buchholz <martin@xemacs.org>
3346 Alignment correctness for flexible arrays.
3347 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
3348 Make alignment-correct. Add interesting comments.
3349 * alloc.c (size_vector):
3350 * alloc.c (make_vector_internal):
3351 * alloc.c (make_bit_vector_internal):
3352 * alloc.c (sweep_bit_vectors_1):
3353 * fns.c (size_bit_vector):
3354 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
3355 * window.c (sizeof_window_config_for_n_windows):
3356 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
3358 2001-01-24 Martin Buchholz <martin@xemacs.org>
3360 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
3362 2001-01-23 Andy Piper <andy@xemacs.org>
3364 * select.c (Fown_selection_internal): pass owned_p
3366 * select-msw.c (mswindows_own_selection): New Signature.
3368 * console.h (struct console_methods): add owned_p to
3371 * select-x.c (x_own_selection): pass owned_p
3372 (hack_motif_clipboard_selection): use owned_p
3373 (vars_of_select_x): new variable -
3374 x_selection_strict_motif_ownership.
3376 2001-01-23 Martin Buchholz <martin@xemacs.org>
3378 * specifier.h (specifier_data_offset): Remove pointless parens.
3379 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
3381 2001-01-24 Martin Buchholz <martin@xemacs.org>
3383 Make Lisp_Object sizeof methods be alignment-correct.
3384 pdump must restore objects to the same alignment as the C compiler
3385 assumes. It really matters on SGIs.
3386 * lstream.c (aligned_sizeof_lstream): New.
3387 (sizeof_lstream): Use aligned_sizeof_lstream.
3388 (Lstream_new): Likewise.
3389 * opaque.c (aligned_sizeof_opaque): New.
3390 (sizeof_opaque): Use aligned_sizeof_opaque.
3391 (make_opaque): Likewise.
3392 * specifier.c (aligned_sizeof_specifier): New.
3393 (sizeof_specifier): Use aligned_sizeof_specifier.
3394 (make_specifier_internal): Likewise.
3396 2001-01-23 Martin Buchholz <martin@xemacs.org>
3398 * lstream.h (struct lstream): Use max_align_t for trailing data.
3399 * specifier.h (struct Lisp_Specifier): Likewise.
3401 2001-01-22 Martin Buchholz <martin@xemacs.org>
3403 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
3404 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
3405 (CCL_SUSPEND): Likewise.
3406 (CCL_INVALID_CMD): Likewise.
3407 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
3408 (ccl_driver): Likewise.
3409 (CCL_WRITE_CHAR): Macro hygiene.
3410 (CCL_WRITE_STRING): Macro hygiene.
3412 2001-01-22 Martin Buchholz <martin@xemacs.org>
3414 Port "portable" dumper to SunOS 4 and HP-UX.
3415 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
3416 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
3417 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
3419 2001-01-22 Martin Buchholz <martin@xemacs.org>
3421 * lisp.h (ALIGNOF): A better definition for C++.
3423 2001-01-20 Martin Buchholz <martin@xemacs.org>
3426 Fix printf warnings: int format, long int arg.
3427 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
3428 (PUSH_FAILURE_POINT): Use correct printf formats.
3429 (POP_FAILURE_POINT): Use correct printf formats.
3430 Use do {...} while (0)
3432 2001-01-20 Martin Buchholz <martin@xemacs.org>
3434 * XEmacs 21.2.42 "Poseidon" is released.
3436 2001-01-20 Martin Buchholz <martin@xemacs.org>
3438 * console-x.h: typo fix du jour. Remove #if 0'ed code.
3440 2001-01-19 Martin Buchholz <martin@xemacs.org>
3442 De-kludgify FIXED_TYPE free list frobbing.
3443 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
3444 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
3445 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
3446 * alloc.c (Lisp_Free): New pseudo lisp object definition.
3447 * alloc.c (LRECORD_FREE_P): New.
3448 * alloc.c (MARK_LRECORD_AS_FREE): New.
3449 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
3450 * alloc.c (STRUCT_FREE_P): Deleted.
3451 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
3452 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
3453 * alloc.c (STRING_CHARS_FREE_P): New.
3454 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
3455 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
3456 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
3457 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
3458 * alloc.c (resize_string): Use new definitions.
3459 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
3460 * alloc.c (verify_string_chars_integrity): Use new definitions.
3461 * alloc.c (compact_string_chars): Use new definitions.
3462 * alloc.c: Update monster comments.
3463 * lrecord.h (lrecord_type): Add some new lrecord types for
3466 2001-01-18 Martin Buchholz <martin@xemacs.org>
3468 Improve alignment hackery.
3469 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
3470 (max_align_t): Moved from opaque.h - general purpose.
3471 (ALIGN_PTR): Use size_t, not long.
3472 * opaque.h (max_align_t): Move to lisp.h.
3474 2001-01-18 Norbert Koch <nk@LF.net>
3476 * gui.h: Fix and add prototypes to fix build problems.
3478 2001-01-18 Martin Buchholz <martin@xemacs.org>
3480 temacs is going away, so `dump-temacs' is now a bad name.
3481 * .dbxrc (dump-temacs): Rename to `dmp'.
3482 * .gdbinit (dump-temacs): Rename to `dmp'.
3484 2001-01-17 Andy Piper <andy@xemacs.org>
3486 * glyphs.c (print_image_instance): comment to make martin happy.
3488 * glyphs-x.c (x_redisplay_widget): update faces after a frame
3491 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
3493 (mswindows_tab_control_redisplay): warning suppression.
3495 * glyphs-widget.c (widget_update): re-write to cope with updated
3497 (widget_instantiate): use new gui_item functions.
3498 (tab_control_update): deleted.
3499 (progress_gauge_update): deleted.
3500 (image_instantiator_progress_guage): take out update reference.
3501 (image_instantiator_tree_view): ditto.
3502 (image_instantiator_tab_control): ditto.
3504 * gui.c (widget_gui_parse_item_keywords): new function. Do things
3506 (gui_item_add_keyval_pair): re-write to cope with descriptors and
3507 return whether anything was changed.
3508 (update_gui_item_keywords): as it sounds.
3510 * gui.h: declare widget_gui_parse_item_keywords.
3512 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
3513 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
3515 2001-01-17 Martin Buchholz <martin@xemacs.org>
3517 * XEmacs 21.2.41 "Polyhymnia" is released.
3519 2001-01-16 Didier Verna <didier@xemacs.org>
3521 * glyphs.c (image_instantiate): don't use fallbacks when
3522 instantiating a face's background pixmap by inheritance.
3524 2001-01-14 Mike Sperber <mike@xemacs.org>
3526 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
3527 Conditionalize accordingly.
3529 2001-01-16 Martin Buchholz <martin@xemacs.org>
3531 * dumper.c (pdump_file_get): Fix a compiler warning.
3533 2001-01-15 Martin Buchholz <martin@xemacs.org>
3535 Make Purify happy when pdumping.
3536 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
3537 iniitalizing all bits of new lisp object memory.
3538 * symbols.c (Fmake_local_variable): Likewise.
3539 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
3540 * symbols.c (Fdefvaralias): Likewise.
3541 * mule-charset.c (vars_of_mule_charset): Likewise.
3543 2001-01-15 Martin Buchholz <martin@xemacs.org>
3544 Add the `-nd' flag when running pre-dump operations under the debugger.
3545 * .dbxrc (run-temacs): Add `-nd'.
3546 * .dbxrc (update-elc): Likewise.
3547 * .dbxrc (dump-temacs): Likewise.
3548 * .gdbinit (run-temacs): Likewise.
3549 * .gdbinit (check-temacs): Likewise.
3550 * .gdbinit (update-elc): Likewise.
3551 * .gdbinit (dump-temacs): Likewise.
3553 2001-01-14 Martin Buchholz <martin@xemacs.org>
3555 Allow building 64-bit executables on AIX with GNU malloc, e.g.
3556 export OBJECT_MODE=64
3557 configure --pdump --use-union-type=no
3558 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
3559 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
3561 * miscplay.c (sndcnv8U_2mono):
3562 Avoid two uses of `++' in the same expression.
3563 Suppresses a GCC warning.
3565 2001-01-13 Martin Buchholz <martin@xemacs.org>
3567 Make sure future compilers don't miscompile alloc.c.
3569 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
3570 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
3572 2001-01-12 Martin Buchholz <martin@xemacs.org>
3574 * dumper.c: A little post-pdump-rename comment fixup.
3576 2001-01-09 Jerry James <james@eecs.ku.edu>
3578 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
3580 2001-01-13 Martin Buchholz <martin@xemacs.org>
3582 * *.[ch]: Globally rename symbols using the following `pdump-rename'
3586 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
3589 replace_symbol pdump_wire_lists pdump_weak_object_chains
3590 replace_symbol pdump_wire_list dump_add_weak_object_chain
3592 replace_symbol pdump_wires pdump_root_objects
3593 replace_symbol pdump_wire dump_add_root_object
3595 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
3596 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
3598 replace_symbol dumpstructinfos pdump_root_struct_ptrs
3599 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
3600 replace_symbol dumpstructinfo pdump_root_struct_ptr
3601 replace_symbol dumpstruct dump_add_root_struct_ptr
3603 replace_symbol dumpopaque dump_add_opaque
3604 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
3605 replace_symbol dumpopaqueinfos pdump_opaques
3606 replace_symbol dumpopaqueinfo pdump_opaque
3608 replace_symbol nb_structdump nb_root_struct_ptrs
3609 replace_symbol nb_opaquedump nb_opaques
3611 replace_symbol align_table pdump_align_table
3612 replace_symbol dump_header pdump_header
3614 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
3615 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
3618 2001-01-12 Martin Buchholz <martin@xemacs.org>
3620 * s/aix4.h: Keep the C for AIX compiler from overaggressively
3621 optimizing bytecount_to_charcount().
3623 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3626 (HAVE_DLFCN_H): Removed.
3627 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
3629 2001-01-06 Martin Buchholz <martin@xemacs.org>
3631 Portable dumper maintainability improvements.
3632 * alloc.c (staticpro):
3633 * alloc.c (staticpro_nodump):
3634 * alloc.c (garbage_collect_1):
3635 * alloc.c (reinit_alloc_once_early):
3636 * alloc.c (init_alloc_once_early):
3637 * alloc.c: Move dumper functions to alloc.c.
3638 * dumper.c (pdump_backtrace):
3639 * dumper.c (pdump_dump_structs):
3640 * dumper.c (pdump_dump_opaques):
3641 * dumper.c (pdump_dump_rtables):
3642 * dumper.c (pdump_dump_wired):
3644 * dumper.c (pdump_load_check):
3645 * dumper.c (pdump_load_finish):
3646 * dumper.c (pdump_file_unmap):
3647 * dumper.c (pdump_file_get):
3648 * dumper.c (pdump_resource_free):
3649 * dumper.c (pdump_resource_get):
3650 * dumper.c (pdump_file_free):
3651 * dumper.c (pdump_file_try):
3652 * dumper.c (pdump_load):
3653 Remove fixed size limits on staticpro(), staticpro_nodump(),
3654 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
3655 Remove custom code for dumping lrecord_implementations_table - use
3657 Remove (most of the) custom code for dumping staticpros - dump it
3658 like any other dynarr.
3660 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
3661 * dumper.c: Moved functions from alloc.c.
3662 * alloc.c (dumpstruct): Moved to dumper.c.
3663 * alloc.c (dumpopaque): Likewise.
3664 * alloc.c (pdump_wire): Likewise.
3665 * alloc.c (pdump_wire_list): Likewise.
3667 * lisp.h (Dynarr_sizeof): New.
3668 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
3669 * lisp.h (Dynarr_end): New. Very slightly C++oid.
3670 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
3672 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
3673 * lisp.h (dumpopaque): ditto.
3674 * lisp.h (pdump_wire): ditto.
3675 * lisp.h (pdump_wire_list): ditto.
3677 2001-01-09 Martin Buchholz <martin@xemacs.org>
3679 * make-src-depend (PrintPatternDeps):
3680 Use `sort' to make output independent of perl version.
3682 2001-01-08 Martin Buchholz <martin@xemacs.org>
3685 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
3686 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
3688 2001-01-03 Didier Verna <didier@xemacs.org>
3690 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
3691 that `focus_frame' is alive before thinking of calling
3692 `redisplay_redraw_cursor' on it.
3694 2001-01-08 Martin Buchholz <martin@xemacs.org>
3696 * XEmacs 21.2.40 is released.
3698 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3700 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
3702 2001-01-06 Martin Buchholz <martin@xemacs.org>
3704 * alloc.c (dbg_valmask): Make const.
3705 * alloc.c (dbg_typemask): Make const.
3706 * alloc.c (dbg_USE_UNION_TYPE): Make const.
3707 * alloc.c (dbg_valbits): Make const.
3708 * alloc.c (dbg_gctypebits): Make const.
3710 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
3712 * redisplay-x.c (x_bevel_area):
3713 redisplay.h (struct rune):
3714 Typo fixes in comments.
3716 2001-01-05 Andy Piper <andy@xemacs.org>
3718 * glyphs-x.c (x_redisplay_widget): use size changed for offset
3721 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
3723 2001-01-05 Martin Buchholz <martin@xemacs.org>
3725 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
3727 * mule-ccl.c (stack_idx_of_map_multiple):
3728 Non const global data must not be initialized!
3729 Found by MIYASHITA Hisashi.
3731 2001-01-02 Andy Piper <andy@xemacs.org>
3733 * frame.c (change_frame_size): make sure frame size is always
3736 * glyphs.c (image_instance_layout): minor code reuse.
3738 * window.c (Fcurrent_window_configuration): revert previous
3741 2001-01-02 Martin Buchholz <martin@xemacs.org>
3744 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
3746 2000-12-31 Andy Piper <andy@xemacs.org>
3748 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
3749 when widget gets unmapped.
3751 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
3752 function. Make sure widgets losing focus don't just drop it.
3753 (handle_focus_event_1): record the widget with focus.
3755 2000-12-31 Andy Piper <andy@xemacs.org>
3757 * window.c (allocate_window): use
3758 make_image_instance_cache_hash_table.
3759 (make_dummy_parent): ditto.
3760 (Fset_window_configuration): ditto.
3762 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
3764 * glyphs.c (process_image_string_instantiator): use
3766 (get_image_instantiator_governing_domain): ditto.
3767 (normalize_image_instantiator): ditto.
3768 (instantiate_image_instantiator): ditto.
3769 (make_image_instance_1): ditto.
3770 (image_instantiate): ditto. Key on glyph *and* instantiator type.
3771 (instantiator_eq_equal): new function for use with instance hash
3773 (instantiator_eq_hash): ditto.
3774 (make_image_instance_cache_hash_table): create a suitable hash
3775 table for storing image instances.
3777 * elhash.h (hash_table_weakness): new internal weakness type
3778 HASH_TABLE_KEY_CAR_VALUE_WEAK.
3779 declare new functions.
3781 * elhash.c (finish_marking_weak_hash_tables): introduce yet
3782 another weakness type for glyphs.
3783 (make_standard_lisp_hash_table): new function split out from
3784 make_general_lisp_hash_table.
3785 (make_lisp_hash_table): call make_standard_lisp_hash_table.
3786 (hash_table_instantiate): ditto.
3787 (Fmake_hash_table): ditto.
3789 2000-12-31 Martin Buchholz <martin@xemacs.org>
3791 * XEmacs 21.2.39 is released.
3793 2000-12-29 Andy Piper <andy@xemacs.org>
3795 * menubar.c (menubar_visible_p_changed): signal the frame changed.
3797 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
3798 the frame has changed so that we pick up geometry changes such as
3801 2000-12-28 Andy Piper <andy@xemacs.org>
3803 * lastfile.c (my_ebss): make a char array so we can pad the
3804 bss. Fixes cygwin unexec.
3806 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
3808 2000-12-26 Andy Piper <andy@xemacs.org>
3810 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
3811 comments and try and be more precise about a non-/SIGIO world.
3812 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
3815 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
3816 we don't normalize to zero width or height.
3818 2000-12-24 Andy Piper <andy@xemacs.org>
3820 * Makefile.in.in (ldflags): add -mwindows when appropriate.
3822 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
3824 * s/sco5.h: SCO 5 has pty support.
3826 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
3828 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
3829 input-method-xlib.c contains whole contents of input-method-xfs.c,
3830 so we can use input-method-xlib.c's code for USE_XFONTSET
3832 * input-method-xfs.c: removed.
3834 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
3836 * file-coding.h (enum coding_category_type): reorder enumerators to
3837 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
3838 (now one greater than largest real coding_category_type enumerator).
3839 * file-coding.c (coding_category_symbol, coding_category_by_priority,
3840 coding_category_system, fcd_descriptihon_1, decode_coding_category,
3841 Fcoding_category_list, Fset_coding_priority_list,
3842 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
3843 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
3845 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3847 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
3848 * redisplay-output.c (redisplay_output_window): Clear top of window
3849 when face is changed.
3850 * redisplay-x.c (x_redraw_exposed_window): Call
3851 redisplay_clear_top_of_window.
3852 * redisplay.h: Publish redisplay_clear_top_of_window.
3854 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3856 * buffer.c (Fkill_buffer): Map over all devices.
3857 * window.c (window_loop): Remove UNSHOW_BUFFER code.
3858 (list_windows): New function.
3859 (list_all_windows): Ditto.
3860 (Freplace_buffer_in_windows): Use them.
3862 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3864 * database.c (berkdb_subtype): Recognize new subtype `queue'.
3865 (Fopen_database): Use `db_create' instead of `db_open'.
3866 (syms_of_database): Initialize Qqueue.
3868 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3870 * buffer.c (common_init_complex_vars_of_buffer): Initialize
3871 buffer_local_face_property.
3872 * buffer.h (struct buffer): New member buffer_local_face_property.
3873 * window.c (Fset_window_buffer): Mark window's face as changed
3874 when buffer has buffer local face.
3875 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
3876 * objects.c (color_after_change): Set buffer_local_face_property
3877 when locale of face specifier is buffer.
3878 * objects.c (font_after_change): Ditto.
3879 * objects.c (face_boolean_after_change): Ditto.
3880 * glyphs.c (image_after_change): Ditto.
3882 2000-12-09 Dan Holmsand <dan@eyebee.com>
3884 * nt.c (mswindows_fstat): Report file permissions, volume serial
3885 number, etc. Code adapted from FSF Emacs 20.7.
3887 2000-12-09 Dan Holmsand <dan@eyebee.com>
3889 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
3890 of stat when we don't have symbolic links, to make sure
3891 mswindows_stat is called on mswindows.
3893 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
3895 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
3897 2000-12-12 Martin Buchholz <martin@xemacs.org>
3899 * doprnt.c (emacs_doprnt_1): More printing fixes.
3900 Make printing of numbers compatible with libc and FSF Emacs.
3901 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
3902 Use the system printf to do most of the hard work of formatting,
3903 instead of doprnt_1().
3904 Calculate memory to allocate for format string.
3905 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
3906 (doprnt_1): Cleaner code and documentation.
3908 2000-12-01 Jerry James <james@eecs.ukans.edu>
3910 * Makefile.in.in: Use the loop variable to install headers.
3912 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3914 * window.c (Fsplit_window): Don't invalidate face cache.
3916 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3918 * minibuf.c (Fall_completions): Undo the previous change
3919 which removed checking elements start with space.
3921 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3923 * mule-canna.c: Didier suppression.
3925 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3927 * mule-canna.c: rename static unsigned char buf[] to key_buffer
3928 (warning suppression). Add English comment translations.
3930 2000-12-05 Martin Buchholz <martin@xemacs.org>
3932 * unexelfsgi.c (unexec): Better test for mmap failure.
3934 2000-12-05 Martin Buchholz <martin@xemacs.org>
3936 * XEmacs 21.2.38 is released.
3938 2000-12-05 Martin Buchholz <martin@xemacs.org>
3940 * redisplay.c (bar-cursor): Make a user variable.
3942 * symsinit.h: Add init_postgresql_from_environment.
3944 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3946 * regex.c: Convert to clean C.
3948 2000-12-05 Dan Holmsand <dan@eyebee.com>
3951 Don't #include sysfile.h. Revert to duplicating PATH_MAX
3953 (sys_readlink): renamed to system_readlink to avoid conflict with
3954 the other sys_readlink.
3956 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
3958 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
3960 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
3962 * postgresql.c (init_postgresql_from_environment): new function.
3963 (vars_of_postgresql): Move code initializing Lisp variables out and
3964 into init_postgresql_from_environment.
3965 emacs.c (main_1): Call init_postgresql_from_environment if and only
3966 if running a dumped XEmacs.
3968 2000-08-31 Dan Holmsand <dan@eyebee.com>
3970 * buffer.c: Make find-file-compare-truenames default to true on
3973 * realpath.c (win32_abs_start):
3975 (win32_readlink): New functions.
3976 (xrealpath): Return really real filenames on windows.
3978 * fileio.c (Ffile_truename): Make file-truename work on windows.
3980 2000-11-29 Didier Verna <didier@xemacs.org>
3982 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
3983 * faces.c (update_face_cachel_data): use it.
3984 * faces.c (add_face_cachel): use it. Complete background pixmap
3985 frobbing in face cache if `update_face_cachel_data' has not done so.
3987 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
3989 * search.c (string_match_1): Don't set last_thing_searched
3992 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
3994 * buffer.c: Include casetab.h
3995 (common_init_complex_vars_of_buffer): Use new case-table object.
3996 * buffer.h: Include casetab.h
3997 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
3998 (DOWNCASE_TABLE_OF): Ditto.
3999 * bufslots.h: Remove char-tables and add case-table.
4000 * casetab.c: Include casetab.h
4001 (CASE_TABLE_P): Removed.
4002 (mark_case_table): New function.
4003 (allocate_case_table): New function.
4004 (Fcase_table_p): Use new case-table.
4005 (case_table_char): New function.
4006 (Fget_case_table): Ditto.
4007 (Fput_case_table): Ditto.
4008 (Fput_case_table_pair): Ditto.
4009 (Fcopy_case_table): Ditto.
4010 (Fcurrent_case_table): Return case-table.
4011 (Fstandard_case_table): Return case-table.
4012 (Fset_case_table): Fix doc-string.
4013 (set_case_table): Use case-table
4014 (syms_of_casetab): DEFSUBR new functions.
4015 (complex_vars_of_casetab): Set up standard case-table.
4016 * casetab.h: New file.
4017 * editfns.c: Include casetab.h
4018 (Fcompare_buffer_substrings): Use case-table.
4019 * inline.c: Include casetab.h
4020 * lisp.h: Remove bogus extern.
4021 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
4022 * search.c: Include casetab.h
4023 (TRANSLATE_ASCII): Removed.
4024 (TRANSLATE): Unconditionally translate character.
4025 (looking_at_1): Use case-table.
4026 (string_match_1): Ditto.
4027 (fast_string_match): Ditto.
4028 (search_command): Ditto.
4029 (search_buffer): Separate boyer_moore. Check whether
4030 boyer_moore is possible.
4031 (simple_search): New function.
4032 (boyer_moore): Separated from search_buffer. Translate char.
4034 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
4036 * regex.c (RE_TR_ASCII): Removed.
4037 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
4038 (PATFETCH): Call PATFETCH_RAW.
4039 (PATFETCH_RAW): Fetch Emchar.
4040 (PATUNFETCH): Decrement charptr.
4041 (GET_BUFFER_SPACE): Rename b to buf_end.
4043 (BUF_PUSH_2): Ditto.
4044 (BUF_PUSH_3): Ditto.
4045 (EXTEND_BUFFER): Ditto.
4046 (SET_LIST_BIT): Ditto.
4047 (regex_compile): Ditto. Translate non ASCII char.
4048 (compile_range): Ditto.
4049 (re_search_2): Ditto.
4050 (re_match_2_internal): Compare Emchar.
4051 (bcmp_translate): Ditto.
4053 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
4055 * lisp.h (basic char/int typedefs): comment improvement.
4057 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
4059 * emacs.c (main_1): unconditional pdump unstomping; don't save and
4060 unstomp inhibit_site_lisp. Improve comments.
4062 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4064 * mule-charset.c (Fcharset_property): improve type checking, comments.
4066 2000-11-28 Andy Piper <andy@xemacs.org>
4068 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4069 clipped display for windows in the gutter also.
4070 (redisplay_display_boxes_in_window_p): change semantics of return
4071 codes to be more intuitive.
4073 * gutter.h: declare display_boxes_in_gutter_p.
4075 * gutter.c (display_boxes_in_gutter_p): new function for
4078 2000-11-22 Andy Piper <andy@xemacs.org>
4080 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4083 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4085 * callproc.c (Fold_call_process_internal):
4086 * gpm.c (Freceive_gpm_event):
4087 (tty_get_foreign_selection): Might be just warning supression.
4088 * fileio.c (Fwrite_region_internal):
4089 (Fset_visited_file_modtime):
4090 * keymap.c (event_matches_key_specifier_p):
4091 Initialize GCPROed variable.
4093 * menubar-x.c (command_builder_find_menu_accelerator):
4094 Initialize before use.
4096 2000-11-23 Andy Piper <andy@xemacs.org>
4098 * unexcw.c (unexec): make the resulting executable executable.
4100 2000-11-21 Martin Buchholz <martin@xemacs.org>
4102 * doc.c (get_doc_string):
4103 Use size_t, not int, for result of XSTRING_LENGTH.
4105 * cmds.c (Fdelete_char):
4106 * cmds.c (Fpoint_at_eol):
4107 * cmds.c (Fself_insert_command):
4108 Use EMACS_INT, not int, for result of XINT.
4109 Someday, someone will want to insert more than 2**31 identical characters.
4111 * cmds.c (Fdelete_char):
4112 * cmds.c (Fdelete_backward_char):
4113 * syntax.c (Fforward_word):
4114 * syntax.c (Fforward_comment):
4115 Make COUNT argument optional, for consistency with forward-char et al.
4117 2000-11-22 Martin Buchholz <martin@xemacs.org>
4120 * print.c (long_to_string):
4121 Return a useful value: the pointer at end of data written.
4124 Use `static const char * const' for constant strings.
4125 (union printf_arg): Delete `i', `ui' members.
4128 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4129 Do all printf-ing via the `l' specifier.
4130 Use EMACS_INT instead of int.
4133 2000-11-20 Didier Verna <didier@xemacs.org>
4135 * faces.c (update_face_cachel_data): don't frob the background
4136 pixmap when the window is being created. The face is needed but
4139 2000-11-20 Andy Piper <andy@xemacs.org>
4141 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4142 messing with a debug environment.
4144 2000-11-20 Martin Buchholz <martin@xemacs.org>
4146 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4148 2000-11-20 Martin Buchholz <martin@xemacs.org>
4150 * casetab.c (Fcase_table_p): Fix compile error and crash.
4152 2000-11-18 Philip Aston <philipa@mail.com>
4154 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4156 2000-11-18 Martin Buchholz <martin@xemacs.org>
4158 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4159 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4161 2000-11-17 Martin Buchholz <martin@xemacs.org>
4163 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4164 * unexelf.c: Use HAVE_ELF_H.
4165 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4166 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4167 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4168 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4170 So this is an unexelfsgi.c from a different line of development.
4172 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4174 * regex.c (RE_TR_ASCII): New function.
4175 (RE_TRANSLATE): Call it.
4177 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4179 * buffer.h (TRT_TABLE_OF): Remove assert.
4180 (IN_TRT_TABLE_DOMAIN): Removed.
4182 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4184 * free-hook.c (log_gcpro):
4185 (show_gcprohist): Add support for GCPRO5.
4187 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4189 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4191 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4193 * symeval.h: Declare flush_all_buffer_local_cache.
4195 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4196 (flush_buffer_local_cache): Added.
4197 (flush_all_buffer_local_cache): Added.
4199 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4201 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4202 (pdump_dump_data): Ditto.
4203 (pdump_reloc_one): Ditto.
4204 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4208 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4210 * buffer.c: Remove if 0'ed entry.
4211 * buffer.h: Rewrite TRT to use char-table.
4212 * bufslots.h: Remove mirror tables.
4213 * casetab.c: Remove mirror tables.
4214 (CASE_TABLE_P): New macro.
4215 (Fcase_table_p): Element of a case table is string or char-table.
4216 (make_mirror_trt_table): Removed.
4217 (set_case_table): Setup char-table from strings for backward
4219 * dired.c (Fdirectory_files):
4220 * dired-msw.c: (mswindows_get_files):
4221 * lisp.h: Change prototype of re_pattern_buffer.
4222 * regex.c: (RE_TRANSLATE): New macro.
4223 (TRANSLATE_P): Ditto.
4224 Change translate to type RE_TRANSLATE_TYPE.
4225 * regex.h: Define RE_TRANSLATE_TYPE
4226 * search.c (TRANSLATE): New macro.
4227 (TRANSLATE_ASCII): New macro.
4228 Translate table is changed to Lisp_Object.
4229 (signal_failure): Inhibit return.
4231 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4238 Do UNGCPRO before return.
4240 2000-11-14 Martin Buchholz <martin@xemacs.org>
4242 * XEmacs 21.2.37 is released.
4244 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4246 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
4247 Add comments about discarded return value.
4249 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4252 * event-stream.c: Fix comments. Remove some #if 0'ed part.
4254 2000-10-27 Andy Piper <andy@xemacs.org>
4256 * gutter.c (Fset_default_gutter_position): default left and right
4258 (calculate_gutter_size): calculate resonable heuristic for left
4259 and right gutter sizes.
4260 (specifier_vars_of_gutter): change left and right gutter sizes to
4262 (calculate_gutter_size_from_display_lines): new function.
4263 (output_gutter): check for resizing on left and right gutters.
4264 (clear_gutter): don't special case top and left gutters.
4265 (specifier_vars_of_gutter): use new signature for
4266 set_specifier_caching.
4268 * glyphs-x.c (x_redisplay_widget): spelling fix.
4269 * glyphs.c (specifier_vars_of_glyphs):
4270 * menubar.c (specifier_vars_of_menubar):
4271 * redisplay.c (specifier_vars_of_redisplay):
4272 * toolbar.c (specifier_vars_of_toolbar):
4273 * window.c (specifier_vars_of_window):
4274 * scrollbar.c (specifier_vars_of_scrollbar):
4275 (complex_vars_of_scrollbar): use new signature for
4276 set_specifier_caching.
4278 * specifier.c (set_specifier_caching): include recompute flag.
4279 (recompute_one_cached_specifier_in_window): always recompute if
4281 (recompute_one_cached_specifier_in_frame): ditto.
4283 * specifier.h (struct specifier_caching): add recompute flag.
4285 2000-10-24 Andy Piper <andy@xemacs.org>
4287 * unexcw.c (copy_executable_and_dump_data_section): add new
4288 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
4291 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4293 * console-x.h (x_device): New member modifier_release_time.
4294 * event-Xt.c (x_handle_sticky_modifiers):
4295 Bound interval modifier keys are sticky.
4296 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
4297 * events.h: extern it.
4299 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4301 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
4303 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4305 * event-stream.c (execute_command_event): Preserve current_events
4306 and the like when event is misc-user-event.
4307 Inhibit quit during the call to maybe_echo_keys.
4309 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4311 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
4312 symlink when buffer is killed.
4313 (inhibit_clash_detection): New variable.
4315 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4317 * console.c (Fset_input_method): Trigger redisplay on tty.
4319 2000-11-07 Martin Buchholz <martin@xemacs.org>
4321 * process.c (Fprocess_status): Revert to previous behavior:
4322 (process-status "nosuchprocess") ==> nil
4324 2000-11-06 Martin Buchholz <martin@xemacs.org>
4326 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
4327 Work around another GCC 2.95.2 optimizer bug.
4329 2000-11-02 Martin Buchholz <martin@xemacs.org>
4331 * process.c (Fget_process): Use LIST_LOOP_2.
4332 (kill_buffer_processes): Use LIST_LOOP_2.
4334 * minibuf.c (Fall_completions):
4335 Delete old non-functional code for FSF fourth argument.
4337 * frame.c (frame_matches_frame_spec):
4338 Renamed from `frame_matches_frametype'. Update all callers.
4339 (device_matches_device_spec):
4340 Renamed from 'device_matches_console_spec'. Update all callers.
4342 * doc.c (Fsubstitute_command_keys):
4343 Remove buffer overflow crash. Small code cleanups.
4345 * casetab.c (check_case_table): Simpler code.
4347 * window.c (Freplace_buffer_in_windows):
4348 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
4349 (and similar implementation) as Fdelete_windows_on.
4352 * alloc.c (Fmake_list):
4353 * alloc.c (make_vector):
4354 * alloc.c (Fmake_vector):
4355 * alloc.c (make_bit_vector):
4356 * alloc.c (Fmake_bit_vector):
4357 * alloc.c (Fbit_vector):
4358 * alloc.c (Fmake_string):
4359 * alloc.c (Fpurecopy):
4360 * alloc.c (Fmemory_limit):
4362 * buffer.c (Fget_buffer):
4363 * buffer.c (Fkill_buffer):
4364 * buffer.c (complex_vars_of_buffer):
4365 * bytecode.c (Fcompiled_function_stack_depth):
4366 * callint.c (Fprefix_numeric_value):
4368 * event-stream.c (Fread_key_sequence):
4370 * casetab.c (Fcase_table_p):
4371 * casetab.c (check_case_table):
4372 * casetab.c (Fset_case_table):
4373 * casetab.c (Fset_standard_case_table):
4375 * chartab.c (Fchar_table_type):
4376 * chartab.c (Freset_char_table):
4377 * chartab.c (Fget_char_table):
4378 * chartab.c (Fget_range_char_table):
4379 * chartab.c (Fput_char_table):
4380 * chartab.c (Fmap_char_table):
4381 * chartab.c (Fcategory_table_p):
4382 * chartab.c (Fcheck_category_at):
4383 * chartab.c (Fchar_in_category_p):
4384 * chartab.c (Fcategory_table):
4385 * chartab.c (Fcopy_category_table):
4386 * chartab.c (Fset_category_table):
4387 * chartab.c (Fcategory_designator_p):
4388 * chartab.c (Fcategory_table_value_p):
4389 * cmds.c (Fdelete_char):
4390 * cmds.c (Fdelete_backward_char):
4391 * cmds.c (Fself_insert_command):
4392 * cmds.c (Fself_insert_internal):
4393 * console.c (Fvalid_console_type_p):
4394 * console.c (Fcdfw_console):
4395 * console.c (Fconsole_type):
4396 * console.c (Fconsole_name):
4397 * console.c (Fconsole_device_list):
4398 * console.c (Fconsole_on_window_system_p):
4402 * data.c (Fsubr_interactive):
4403 * data.c (Fchar_to_int):
4404 * data.c (Fint_to_char):
4407 * data.c (Fnumber_to_string):
4408 * data.c (Fstring_to_number):
4410 * database.c (mark_database):
4411 * database.c (finalize_database):
4412 * database.c (Fdatabase_live_p):
4413 * database.c (Fdatabasep):
4414 * device-x.c (Fx_get_resource):
4415 * device.c (Fdfw_device):
4417 * dired.c (Ffile_name_completion):
4418 * dired.c (Ffile_name_all_completions):
4419 * dired.c (Fuser_name_completion):
4420 * dired.c (Fuser_name_completion_1):
4421 * dired.c (Fuser_name_all_completions):
4422 * doc.c (Fdocumentation):
4423 * doc.c (Fdocumentation_property):
4424 * doc.c (Fsubstitute_command_keys):
4426 * editfns.c (Fchar_to_string):
4427 * editfns.c (Fstring_to_char):
4428 * editfns.c (Ftemp_directory):
4429 * editfns.c (Finsert_char):
4430 * editfns.c (Fbuffer_substring_no_properties):
4431 * editfns.c (Fnarrow_to_region):
4432 * editfns.c (Fchar_equal):
4433 * editfns.c (Fchar_Equal):
4434 * editfns.c (Ftranspose_regions):
4435 * emacs.c (Fdump_emacs):
4437 * eval.c (Fcommand_execute):
4438 * eval.c (Fautoload):
4439 * eval.c (Fbacktrace):
4440 * eval.c (Fbacktrace_frame):
4442 * events.c (Fcopy_event):
4443 * events.c (Fcharacter_to_event):
4444 * events.c (Fevent_button):
4445 * events.c (Fevent_process):
4447 * extents.c (Fnext_extent_change):
4448 * extents.c (Fextent_property):
4450 * faces.c (Fmake_face):
4452 * file-coding.c (Fencode_shift_jis_char):
4453 * file-coding.c (Fencode_big5_char):
4454 * fileio.c (Ffile_name_directory):
4455 * fileio.c (Ffile_name_nondirectory):
4456 * fileio.c (Ffile_name_as_directory):
4457 * fileio.c (Fdirectory_file_name):
4458 * fileio.c (Ffile_truename):
4459 * fileio.c (Fsubstitute_in_file_name):
4460 * fileio.c (Ffile_modes):
4461 * fileio.c (Fset_file_modes):
4462 * fileio.c (Fset_default_file_modes):
4463 * fileio.c (Fverify_visited_file_modtime):
4464 * floatfns.c (Facos):
4465 * floatfns.c (Fasin):
4466 * floatfns.c (Fatan):
4467 * floatfns.c (Fcos):
4468 * floatfns.c (Fsin):
4469 * floatfns.c (Ftan):
4470 * floatfns.c (Fbessel_j0):
4471 * floatfns.c (Fbessel_j1):
4472 * floatfns.c (Fbessel_jn):
4473 * floatfns.c (Fbessel_y0):
4474 * floatfns.c (Fbessel_y1):
4475 * floatfns.c (Fbessel_yn):
4476 * floatfns.c (Ferf):
4477 * floatfns.c (Ferfc):
4478 * floatfns.c (Flog_gamma):
4479 * floatfns.c (Fexp):
4480 * floatfns.c (Fexpt):
4481 * floatfns.c (Flog):
4482 * floatfns.c (Flog10):
4483 * floatfns.c (Fsqrt):
4484 * floatfns.c (Fcube_root):
4485 * floatfns.c (Facosh):
4486 * floatfns.c (Fasinh):
4487 * floatfns.c (Fatanh):
4488 * floatfns.c (Fcosh):
4489 * floatfns.c (Fsinh):
4490 * floatfns.c (Ftanh):
4491 * floatfns.c (Fabs):
4492 * floatfns.c (Ffloat):
4493 * floatfns.c (Flogb):
4494 * floatfns.c (Fceiling):
4495 * floatfns.c (Ffloor):
4496 * floatfns.c (Fround):
4497 * floatfns.c (Ftruncate):
4498 * floatfns.c (Ffceiling):
4499 * floatfns.c (Fffloor):
4500 * floatfns.c (Ffround):
4501 * floatfns.c (Fftruncate):
4502 * fns.c (Fstring_equal):
4503 * fns.c (Fstring_lessp):
4508 * fns.c (Fsubstring):
4510 * fns.c (Fold_assoc):
4511 * fns.c (assoc_no_quit):
4513 * fns.c (Fold_assq):
4514 * fns.c (assq_no_quit):
4516 * fns.c (Fold_rassoc):
4518 * fns.c (Fold_rassq):
4519 * fns.c (rassq_no_quit):
4520 * fns.c (Fremassoc):
4521 * fns.c (remassoc_no_quit):
4523 * fns.c (remassq_no_quit):
4524 * fns.c (Fremrassoc):
4525 * fns.c (Fremrassq):
4526 * fns.c (remrassq_no_quit):
4528 * fns.c (Fplist_get):
4529 * fns.c (Fplist_put):
4530 * fns.c (Fplist_remprop):
4531 * fns.c (Fplist_member):
4532 * fns.c (Flax_plist_get):
4533 * fns.c (Flax_plist_put):
4534 * fns.c (Flax_plist_remprop):
4535 * fns.c (Flax_plist_member):
4537 * fns.c (Fold_equal):
4539 * fns.c (Fbase64_encode_region):
4540 * fns.c (Fbase64_encode_string):
4541 * fns.c (Fbase64_decode_region):
4543 * frame.c (frame_matches_frame_spec):
4544 * frame.c (device_matches_device_spec):
4545 * frame.c (next_frame):
4546 * frame.c (previous_frame):
4547 * frame.c (Fnext_frame):
4548 * frame.c (Fprevious_frame):
4549 * frame.c (Fframe_property):
4550 * frame.c (Fset_frame_height):
4551 * frame.c (Fset_frame_size):
4555 * glyphs.c (decode_error_behavior_flag):
4556 * glyphs.c (Fmake_image_instance):
4557 * indent.c (Findent_to):
4558 * intl.c (Fignore_defer_gettext):
4559 * keymap.c (Fkeymapp):
4560 * keymap.c (Flookup_key):
4562 * lread.c (Fload_internal):
4563 * lread.c (Feval_buffer):
4564 * lread.c (Feval_region):
4565 * macros.c (Fexecute_kbd_macro):
4566 * marker.c (set_marker_internal):
4567 * marker.c (Fset_marker):
4568 * marker.c (set_marker_restricted):
4569 * marker.c (Fcopy_marker):
4570 * marker.c (noseeum_copy_marker):
4572 * menubar.c (Fpopup_menu):
4574 * mule-charset.c (Fcharset_name):
4575 * mule-charset.c (Fchar_charset):
4576 * mule-charset.c (Fchar_octet):
4577 * mule-charset.c (Fsplit_char):
4578 * mule-wnnfns.c (Fwnn_open):
4579 * mule-wnnfns.c (Fwnn_dict_comment):
4580 * mule-wnnfns.c (Fwnn_quit_henkan):
4581 * mule-wnnfns.c (Fwnn_word_toroku):
4582 * mule-wnnfns.c (Fwnn_word_sakujo):
4583 * mule-wnnfns.c (Fwnn_word_use):
4584 * mule-wnnfns.c (Fwnn_hindo_set):
4586 * objects.c (Fmake_color_instance):
4587 * objects.c (Fmake_font_instance):
4588 * print.c (Fwrite_char):
4590 * process.c (mark_process):
4591 * process.c (print_process):
4592 * process.c (get_process_from_usid):
4593 * process.c (Fprocessp):
4594 * process.c (Fprocess_live_p):
4595 * process.c (Fget_process):
4596 * process.c (Fget_buffer_process):
4597 * process.c (get_process):
4598 * process.c (Fprocess_id):
4599 * process.c (Fprocess_name):
4600 * process.c (Fprocess_command):
4601 * process.c (init_process_io_handles):
4602 * process.c (start_process_unwind):
4603 * process.c (Fstart_process_internal):
4604 * process.c (Fopen_multicast_group_internal):
4605 * process.c (Fset_process_window_size):
4606 * process.c (read_process_output):
4607 * process.c (send_process):
4608 * process.c (Fprocess_tty_name):
4609 * process.c (Fset_process_buffer):
4610 * process.c (Fprocess_buffer):
4611 * process.c (Fprocess_mark):
4612 * process.c (set_process_filter):
4613 * process.c (Fset_process_filter):
4614 * process.c (Fprocess_filter):
4615 * process.c (Fprocess_send_region):
4616 * process.c (Fprocess_send_string):
4617 * process.c (exec_sentinel):
4618 * process.c (Fset_process_sentinel):
4619 * process.c (Fprocess_sentinel):
4620 * process.c (status_notify):
4621 * process.c (Fprocess_status):
4622 * process.c (Fprocess_exit_status):
4623 * process.c (process_send_signal):
4624 * process.c (Fprocess_send_eof):
4625 * process.c (deactivate_process):
4626 * process.c (remove_process):
4627 * process.c (Fdelete_process):
4628 * process.c (kill_buffer_processes):
4629 * process.c (Fprocess_kill_without_query):
4630 * process.c (Fprocess_kill_without_query_p):
4632 * rangetab.c (Fget_range_table):
4633 * rangetab.c (Fput_range_table):
4634 * rangetab.c (Fremove_range_table):
4635 * rangetab.c (Fclear_range_table):
4637 * search.c (Fskip_chars_forward):
4638 * search.c (Fskip_chars_backward):
4639 * search.c (Fskip_syntax_forward):
4640 * search.c (Fskip_syntax_backward):
4641 * search.c (search_command):
4642 * search.c (Freplace_match):
4643 * search.c (Fregexp_quote):
4644 * select.c (Fown_selection_internal):
4645 * select.c (Fselection_owner_p):
4646 * select.c (Fselection_exists_p):
4647 * select.c (Fget_selection_internal):
4650 * symbols.c (Fintern):
4651 * symbols.c (Fintern_soft):
4652 * symbols.c (Funintern):
4653 * symbols.c (Fapropos_internal):
4654 * symbols.c (Fset_default):
4656 * syntax.c (Fsyntax_table_p):
4657 * syntax.c (Fcopy_syntax_table):
4658 * syntax.c (Fset_syntax_table):
4659 * syntax.c (Fchar_syntax):
4660 * syntax.c (syntax_match):
4661 * syntax.c (Fmatching_paren):
4662 * syntax.c (Fforward_word):
4663 * syntax.c (scan_lists):
4664 * syntax.c (Fscan_lists):
4665 * syntax.c (Fscan_sexps):
4666 * syntax.c (Fparse_partial_sexp):
4667 * toolbar.c (Fcheck_toolbar_button_syntax):
4670 * window.c (Fwindowp):
4671 * window.c (Fwindow_live_p):
4672 * window.c (Fwindow_point):
4673 * window.c (Fdelete_window):
4674 * window.c (Fnext_window):
4675 * window.c (Fprevious_window):
4676 * window.c (Fother_window):
4677 * window.c (window_loop):
4678 * window.c (Fget_lru_window):
4679 * window.c (Fsplit_window):
4680 * window.c (Fenlarge_window):
4681 * window.c (Fenlarge_window_pixels):
4682 * window.c (Fshrink_window):
4683 * window.c (Fshrink_window_pixels):
4684 * window.c (change_window_height):
4685 * window.c (Fwindow_configuration_p):
4686 * window.c (Fcurrent_window_configuration):
4688 * casefiddle.c (casify_object):
4689 * casefiddle.c (Fupcase):
4690 * casefiddle.c (Fdowncase):
4691 * casefiddle.c (Fcapitalize):
4692 * casefiddle.c (Fupcase_initials):
4693 * casefiddle.c (casify_region_internal):
4694 * casefiddle.c (casify_region):
4695 * casefiddle.c (Fupcase_region):
4696 * casefiddle.c (Fdowncase_region):
4697 * casefiddle.c (Fcapitalize_region):
4698 * casefiddle.c (Fupcase_initials_region):
4699 * casefiddle.c (Fupcase_word):
4700 * casefiddle.c (Fdowncase_word):
4701 * casefiddle.c (Fcapitalize_word):
4702 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
4703 Replace 0 with '\0' when working with bytes.
4704 Replace initial "(" with "\(" in docstrings.
4706 2000-11-01 Martin Buchholz <martin@xemacs.org>
4708 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
4710 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
4712 2000-10-31 Martin Buchholz <martin@xemacs.org>
4714 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
4716 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4718 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
4721 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4723 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
4724 (inhibit_auto_save_session): New variable.
4725 (vars_of_fileio): Declare and initialize them.
4726 * fileio.c (Fdo_auto_save): Don't create session file if
4727 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
4729 2000-10-31 Martin Buchholz <martin@xemacs.org>
4731 * sgiplay.c (play_internal): C++ compilability.
4732 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
4733 * callproc.c (Fold_call_process_internal):
4734 Remove unused vars `env', `first'.
4735 * scrollbar.c (update_scrollbar_instance):
4736 #### unused var `current_window'.
4737 * redisplay-tty.c: Put currently unused vars insert_mode_on,
4738 etc. within #ifdef NOT_YET.
4739 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
4740 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
4741 * specifier.c (specifier_instance):
4742 #### unused var `tag'.
4743 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
4745 2000-10-27 Martin Buchholz <martin@xemacs.org>
4748 * fns.c (list_sort):
4749 * fns.c (Ffillarray):
4750 * fns.c (bytecode_nconc2):
4753 * fns.c (Fmapconcat):
4754 Be pedantically 64-bit correct. For the time when someone will
4755 want to have a list with length > 2**32.
4757 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
4758 Work around MIPSpro compiler bug.
4760 * process-unix.c (unix_kill_child_process): Add snarky comment.
4761 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
4763 * config.h.in: Oops, _getpt ==> _getpty
4765 2000-10-26 Martin Buchholz <martin@xemacs.org>
4769 Use void*, not char*, as return type of alloca().
4771 * alloc.c (free_marker): Side effect inside assert expression!
4773 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
4775 * mule-charset.c (Fset_charset_ccl_program): To check
4776 if the given ccl program is valid, use setup_ccl_program()
4777 instead of CHECK_VECTOR().
4778 (Fmake_charset): Likewise.
4780 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
4782 * faces.c (get_extent_fragment_face_cache_index):
4783 Fix cachel.merged_faces memory leak.
4785 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
4787 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
4788 Reset MSB of octets obtained by DECODE_SJIS
4789 because of the incompatibility with Emacs.
4790 (ccl_driver)<CCL_ENCODE_SJIS>:
4791 Set MSB of octets before passing them to
4792 ENCODE_SJIS because of the incompatibility
4795 2000-10-18 Daiki Ueno <ueno@unixuser.org>
4797 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
4798 (DECLARE_LRECORD): Undo the last change.
4799 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
4801 2000-10-17 Daiki Ueno <ueno@unixuser.org>
4803 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
4804 the implementation to lrecord_implementations_table.
4806 2000-10-14 Daiki Ueno <ueno@unixuser.org>
4808 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
4809 initial value of `lrecord_type_##c_name' and
4810 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
4811 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
4812 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
4813 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
4814 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
4816 2000-10-17 Martin Buchholz <martin@xemacs.org>
4818 * miscplay.c (sndcnv8S_2mono):
4819 (sndcnv2monounsigned):
4820 (sndcnvULaw_2linear):
4822 Remove implementation-defined behavior.
4824 2000-10-12 Martin Buchholz <martin@xemacs.org>
4826 * input-method-xlib.c: Warning suppression.
4828 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
4830 * mule-ccl.c: Sync up with Emacs 21.0.90.
4831 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
4833 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
4835 (ccl_driver[WriteMultibyteChar2]): Bug fix.
4836 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
4837 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
4838 leading char belongs to official 2-dimensional charset.
4839 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
4840 write the given character as is. Otherwise,
4841 if it is a multibyte char, convert it by
4842 non_ascii_set_charptr_emchar, then write it.
4843 (CCL_WRITE_STRING): Likewise.
4844 (ccl_get_compiled_code): New function.
4845 (setup_ccl_program): When ccl_prog is invalid,
4847 (Fregister_code_conversion_map): New function.
4848 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
4850 * mule-ccl.h: Sync up with Emacs 21.0.90.
4851 (Fregister_ccl_program): export it.
4853 * redisplay-msw.c (separate_textual_runs):
4854 If ccl program is not valid, don't do ccl conversion.
4856 * redisplay-x.c (separate_textual_runs): Ditto.
4858 * file-coding.c (Fmake_coding_system):
4859 When type is ccl and value is vector, register it
4860 with a proper symbol. And checks whether the
4861 given ccl program is valid.
4862 (mule_decode): When calling ccl_driver, if src indicates
4863 NULL pointer, set an empty string instead.
4864 (mule_encode): Likewise.
4866 2000-10-11 Martin Buchholz <martin@xemacs.org>
4868 The following large batch of changes gets us back to a state of
4869 C++ compilability. Extbyte is now a char, which means that
4870 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
4872 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
4874 * sound.c (Fplay_sound): Type correctness.
4876 * select-x.c (hack_motif_clipboard_selection): Type correctness.
4877 (x_get_window_property): Type correctness.
4878 (receive_incremental_selection): unsigned char ==> Extbyte
4879 (selection_data_to_lisp_data): unsigned char ==> Extbyte
4880 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
4881 (Fx_store_cutbuffer_internal): Type correctness.
4883 * process-unix.c (try_to_initialize_subtty): Type correctness.
4885 * objects-x.c (x_print_color_instance): Type correctness.
4886 (x_print_font_instance): Type correctness.
4887 (x_list_fonts): SExtbyte ==> Extbyte.
4888 (valid_x_font_name_p): SExtbyte ==> Extbyte.
4889 (x_find_charset_font): SExtbyte ==> Extbyte.
4890 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
4891 (truename_via_XListFonts): SExtbyte ==> Extbyte.
4892 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
4895 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
4896 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
4897 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
4898 (BYTE_C0_P): Use bit ops for char-signedness safety.
4899 (BYTE_C1_P): Use bit ops for char-signedness safety.
4900 (CHARSET_BY_LEADING_BYTE):
4901 (CHARSET_BY_ATTRIBUTES):
4902 Always use inline function.
4903 Use type_checking_assert.
4906 * mule-charset.c (non_ascii_charptr_copy_char):
4907 Modify to work with both ASCII and non-ASCII characters.
4908 Improve docs and variable names.
4909 Replace over-clever fall-through switch with a simple loop.
4910 (Lstream_get_emchar_1):
4911 Replace over-clever fall-through switch with a simple loop.
4913 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4914 Warning suppression.
4916 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
4917 the return value of Lstream_getc, which could be EOF as well.
4919 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
4921 * lisp.h: Make Extbyte a char, not unsigned char, so that external
4922 APIs can be used on Extbytes without casts. Risky!
4926 * input-method-xlib.c (XIM_init_device):
4927 Use Xlib.h instead of IntrinsicP.h.
4928 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
4929 which will break in X11R7.
4930 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
4931 to call XRegisterIMInstantiateCallback with correct types.
4933 * gui-x.c (button_item_to_widget_value): Type correctness.
4935 * glyphs.c (bitmap_to_lisp_data): Type correctness.
4937 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
4938 (xbm_instantiate_1): Type correctness.
4939 (BUILD_GLYPH_INST): Type correctness.
4941 * fileio.c (Fsubstitute_in_file_name): Type correctness.
4944 (decode_coding_sjis):
4945 (decode_coding_big5):
4946 (decode_coding_ucs4):
4947 (decode_coding_utf8):
4948 (decode_coding_iso2022):
4949 (decode_coding_no_conversion):
4950 Make all decoding functions take an Extbyte * arg.
4951 (encode_coding_sjis):
4952 (encode_coding_big5):
4953 (encode_coding_ucs4):
4954 (encode_coding_utf8):
4955 (encode_coding_iso2022):
4956 (encode_coding_no_conversion):
4957 Make all encoding functions take a Bufbyte * arg.
4958 Use size_t instead of unsigned int for memory sizes.
4959 Only cast to unsigned char whenever dereferencing Extbyte *.
4961 * doc.c (unparesseuxify_doc_string): Type correctness.
4963 * console-x.c (split_up_display_spec):
4964 Rewrite without using details of internal string representation.
4965 (x_semi_canonicalize_device_connection): Type correctness.
4968 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
4969 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
4970 (HAVE_XFREE386): Removed.
4972 * buffer.h (DEC_CHARPTR): `const' correctness.
4973 (bufbyte_strcmp): New.
4974 (bufbyte_memcmp): New.
4976 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
4978 * buffer.h (XCHAR_OR_CHAR_INT):
4979 Always use inline function.
4980 Remove redundant type checking assert() - XINT will abort quite nicely.
4982 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4984 * search.c (Freplace_match): Set newtext to an empty string.
4986 2000-10-10 Martin Buchholz <martin@xemacs.org>
4988 * s/decosf1-3.h: Remove #include of stropts.h
4989 * s/ptx.h: Remove #include of stropts.h
4990 * s/usg5-4.h: Remove #include of stropts.h
4993 Use stropts.h, not sys/stropts.h.
4994 Use strtio.h, not sys/strtio.h.
4996 2000-10-04 Martin Buchholz <martin@xemacs.org>
4998 * XEmacs 21.2.36 is released.
5000 2000-09-21 Andy Piper <andy@xemacs.org>
5002 * glyphs-x.c (x_redisplay_widget): make sure non-structural
5003 changes still involve copying the widget tree.
5004 (update_widget_face): make sure a change is register in the widget
5005 tree. Call update_tab_widget_face appropriately.
5006 (update_tab_widget_face): ditto.
5007 (x_tab_control_redisplay): make sure non-structural changes still
5008 involve copying the widget tree.
5010 2000-08-31 Daiki Ueno <ueno@unixuser.org>
5012 * lread.c (locate_file): Check the path element is non-nil.
5014 2000-10-02 Martin Buchholz <martin@xemacs.org>
5016 * lisp.h: Warning suppression for SCO compilers.
5018 * redisplay-tty.c (reset_tty_modes): Fix crash.
5019 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
5021 2000-09-27 Martin Buchholz <martin@xemacs.org>
5023 Big signal/process handling overhaul. Bugs fixed:
5024 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
5025 M-x comint-kill-subjob should work for both values nil and t of
5026 process-connection-type. It was broken on most platforms.
5027 Testing on Irix and Cygwin still needed. Other plaforms tested.
5028 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
5029 * process-unix.c: Signal/Process handling overhaul.
5030 (pty_name): make 64 bytes, as `expect' does, for paranoia.
5031 (allocate_pty): Use all available modern methods of allocating
5032 ptys, falling back to old style BSD allocation as a last resort.
5033 Use allegedly more secure Unix98 pty allocation by default.
5034 (allocate_pty_the_old_fashioned_way): New. the last resort.
5035 (unix_create_process): Push ptem, ldterm, ttcompat where
5036 available. Autoconfiscate.
5037 (try_to_initialize_subtty): New.
5038 (unix_kill_child_process): Proper signal handling for ptys on most
5039 platforms, using special knowledge of AIX, BSD, etc...
5040 (unix_create_process): Always disconnect_controlling_terminal() for
5041 subprocesses, whether using ptys or not.
5042 * process.h: Remove old getpt-dependent PTY code.
5043 * process.c (Fprocess_send_signal): New, obvious generic function.
5044 (decode_signal): New.
5045 (Finterrupt_process):
5049 (Fcontinue_process):
5050 (Fsignal_process): Use decode_signal.
5051 (process_send_signal):
5052 Many docstring corrections.
5053 Allow any signal to be sent to a process object.
5054 * config.h.in: Add symbols for big signal/process overhaul.
5055 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
5056 * sysproc.h: Include process-related headers, where available:
5057 sys/stropts.h sys/strtio.h pty.h libutil.h
5065 Remove old S&M pty stuff.
5066 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5067 * systty.h: Simplify cpp hackery, improve comments.
5068 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5070 * editfns.c (Fformat_time_string):
5071 Be a little more paranoid with the return value of ctime.
5073 * fileio.c (check_executable):
5075 Use symbolic constants X_OK, W_OK.
5077 * console-x.c (split_up_display_spec): Fix a warning.
5079 2000-10-02 Martin Buchholz <martin@xemacs.org>
5081 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5082 * ntproc.c (sys_spawnve): make_string ==> build_string
5083 Small clarity improvements.
5085 2000-09-30 Martin Buchholz <martin@xemacs.org>
5087 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5089 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5091 * config.h.in (HAVE_STRCASECMP): Remove.
5093 2000-09-29 Martin Buchholz <martin@xemacs.org>
5095 * redisplay-output.c (redisplay_output_pixmap):
5096 Cleaner and possibly more 64-bit correct code.
5098 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5100 * dumper.c (pdump_load_finish): move restoration of
5101 `noninteractive1' to emacs.c (main_1).
5102 * emacs.c (main_1): protect LISP-visible command-line flags
5105 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5107 * Makefile.in.in (versionclean): Use EXE_TARGET and
5108 DUMP_TARGET instead of literal program names.
5110 2000-09-20 Martin Buchholz <martin@xemacs.org>
5112 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5114 2000-09-19 Martin Buchholz <martin@xemacs.org>
5116 * *: Spelling mega-patch
5118 2000-09-19 Martin Buchholz <martin@xemacs.org>
5120 * fns.c (bad_bad_turtle):
5121 Delete "Eek!" comment, since we fixed the bug to which it refers.
5123 2000-09-16 Martin Buchholz <martin@xemacs.org>
5125 * alloca.c: Replace REGISTER with register.
5127 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5129 * file-coding.c (ucs_to_char): Use countof.
5131 2000-09-16 Martin Buchholz <martin@xemacs.org>
5133 * file-coding.c: (ucs_to_char):
5134 (complex_vars_of_file_coding):
5135 Use countof instead of sizeof.
5136 Use CHECK_NATNUM instead of CHECK_INT.
5138 * sysdep.c (strcasecmp): Remove.
5139 * device-x.c (ascii_strcasecmp): New.
5140 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5141 Avoid using non-standard non-portable strcasecmp.
5143 2000-09-16 Martin Buchholz <martin@xemacs.org>
5145 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5146 * font-lock.c: remove reference to emacsfns.h.
5147 * search.c: small doc improvement.
5148 * event-Xt.c: correct file names in comments.
5149 * console-x.h Correct file names in comments.
5150 * frame.c: Correct file names in comments.
5151 * event-stream.c: remove Energize from comments.
5153 2000-09-15 Martin Buchholz <martin@xemacs.org>
5155 * symeval.h (DEFERROR_STANDARD):
5158 (DEFSYMBOL_NO_DUMP):
5159 (DEFSYMBOL_MULTIWORD_PREDICATE):
5160 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5162 The construct &##name is not sensible C.
5163 Fixes compilation errors with Unixware native compiler.
5165 2000-09-14 Martin Buchholz <martin@xemacs.org>
5167 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5168 (next_frame_internal): Removed. We now just have next_frame.
5170 Write a simpler and cleaner one-pass algorithm.
5171 Remove called_from_delete_device arg and #ifdefed-out code.
5173 Renamed from prev_frame. Update callers.
5174 Cleaned up to have an analogous implementation to next_frame.
5175 (other_visible_frames_internal): Remove the
5176 called_from_delete_device bogus arg, and hence, remove this
5177 function. Just use other_visible_frames().
5179 * window.c (Fnext_window):
5181 Since next_frame() is guaranteed to return a frame, remove check
5182 for nil inserted in previous patch.
5185 Make code look more like Fnext_window.
5187 Respect the `console' arg when iterating through windows.
5188 Fixes bug: (get-buffer-window buffer t device) not respecting
5190 This function needs more work, as others have pointed out.
5192 * frame.h: Rename prev_frame to previous_frame.
5193 device_matches_console_spec no longer takes a `frame' arg.
5198 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5199 From "Golubev I. N." <gin@mo.msk.ru>.
5201 * make-src-depend: Fix typo.
5203 2000-09-13 Martin Buchholz <martin@xemacs.org>
5205 * window.c (Fnext_window):
5206 next_frame() might return nil, not a frame.
5208 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5210 * frame.c (next_frame_internal):
5211 We've passed a frame if we've passed its device.
5213 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5214 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5216 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5218 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5219 Allow option to suppress accelerators in menu/dialog items.
5220 (populate_or_checksum_helper): Pass dialog title through above.
5222 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
5224 * event-msw.c (mswindows_key_to_emacs_keysym):
5225 Add "pause" key, fix "menu" key.
5227 2000-09-09 Martin Buchholz <martin@xemacs.org>
5229 * eval.c (reinit_vars_of_eval):
5230 Increase max_lisp_eval_depth to 1000,
5231 required for thai-xtis.el to byte-compile under some circumstances.
5233 2000-09-04 Martin Buchholz <martin@xemacs.org>
5235 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
5238 2000-09-01 Martin Buchholz <martin@xemacs.org>
5240 * make-src-depend: Make the generated Makefiles smaller.
5242 * s/hpux.h (SETUP_SLAVE_PTY):
5243 Provide a %d in the format string for the errno argument.
5245 * editfns.c (Ftemp_directory):
5247 Avoid buffer overrun on very long file name.
5249 * input-method-xlib.c (XIM_init_device):
5250 6th parameter of XRegisterIMInstantiateCallback has different
5251 pointer types on different OSes, so simply cast to (void *).
5253 * unexhp9k800.c: Warning fixes. Fiddly changes.
5255 * sysdll.c (dll_open):
5256 shl_load will hang hard if passed a NULL filename.
5257 Simply return NULL for compatibility with dlopen.
5258 * sysdll.c: Conform to XEmacs coding standards.
5260 * sysdep.c (get_pty_max_bytes):
5261 Support pty input lines longer than 512 bytes on HP-UX 10.20.
5263 2000-08-31 Martin Buchholz <martin@xemacs.org>
5265 * tooltalk.c: Add #include <syssignal.h>
5267 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5269 * s/hpux.h: Don't use undefined function sigunblock().
5271 2000-08-31 Martin Buchholz <martin@xemacs.org>
5273 * config.h.in: Add HAVE_BALLOON_HELP.
5274 * emacs.c: Use HAVE_BALLOON_HELP.
5275 * Makefile.in.in (x_objs):
5276 Make Balloon Help conditional on finding shape.h.
5278 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5280 * syntax.c (regex_emacs_buffer_p): New variable.
5281 * syntax.h (regex_emacs_buffer_p): extern.
5282 * search.c (looking_at_1):
5284 (fast_string_match):
5285 (search_buffer): Set regex_emacs_buffer_p.
5286 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
5287 when before_dot, at_dot, after_dot.
5289 2000-08-23 Andy Piper <andy@xemacs.org>
5291 * gui-x.c (popup_selection_callback): Only set action_occurred
5292 when we really have an image instance.
5293 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5295 2000-08-23 Andy Piper <andy@xemacs.org>
5297 * gui-msw.c (mswindows_handle_gui_wm_command): set
5299 * gui-x.c (popup_selection_callback): ditto.
5301 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
5302 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
5303 (struct Lisp_Image_Instance): add action_occurred flag.
5305 * glyphs.c (redisplay_subwindow): use action_occurred flag.
5306 (image_instance_changed): ditto.
5307 (reset_frame_subwindow_instance_cache): only unmap windows - do
5308 not remove them from the cache also.
5310 * glyphs-widget.c (tab_control_update): better debug.
5311 (progress_gauge_update): ditto.
5312 (layout_update): ditto.
5313 (layout_instantiate): ditto.
5314 (tab_control_order_only_changed): cope with null pending items.
5316 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
5317 debug. Force selection of an item when an action occurred. Cope
5318 with null pending_items.
5319 (mswindows_progress_gauge_redisplay): better debug.
5320 * glyphs-x.c (x_tab_control_redisplay): ditto.
5322 * redisplay.c (redisplay_frame): reset the frame cache if the
5325 * window.c (Fset_window_configuration): potentially re-enable
5327 (window_unmap_subwindows): need to finalize instances here since
5328 it is only used in mark_window_as_deleted.
5330 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
5332 * nas.c (SndOpenDataForReading):
5333 nas.c (WaveOpenDataForReading):
5334 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
5335 Somehow escaped from the 2000-08-14 patch.
5337 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5339 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
5340 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
5342 2000-08-21 Andy Piper <andy@xemacs.org>
5344 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
5345 window if it is not already displayed.
5347 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
5348 it is not already displayed.
5350 * window.c (Fset_window_configuration): don't reset the frame
5353 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
5354 instances from the frame cache if we are actually finalizing them.
5355 (reset_frame_subwindow_instance_cache): reset frame cache only
5356 after unmapping everything.
5357 (map_subwindow): set displayed flag after mapping.
5359 2000-08-21 Martin Buchholz <martin@xemacs.org>
5361 * data.c (indirect_function):
5362 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
5364 * eval.c (function_argcount):
5365 Use original function when signaling errors.
5367 2000-08-18 Andy Piper <andy@xemacs.org>
5369 * frame.c (delete_frame_internal): use new
5370 free_frame_subwindow_instances name.
5372 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
5373 (add_tab_item): make return type correct.
5374 (mswindows_tab_control_instantiate): assert index of tab.
5375 (mswindows_tab_control_redisplay): Re-code to use
5376 gui_item_equal_sans_selected and gui_item_list_find_selected.
5378 * glyphs-widget.c (tab_control_update): Correct comment.
5380 * window.c (window_unmap_subwindows): use new
5381 unmap_subwindow_instance_cache_mapper.
5382 (window_unmap_subwindows_cache_mapper): deleted.
5383 (Fset_window_configuration): comparisons should now be with
5384 EQ. Preserve the subwindow instance cache across configuration
5386 (allocate_window): ditto.
5387 (make_dummy_parent): ditto.
5389 * glyphs.c (free_frame_subwindow_instances): rename from
5390 free_frame_subwindow_instance_cache. finalize all instances rather
5391 than just those in the display cache.
5392 (finalize_all_subwindow_instances): walk windows unmapping and
5393 finalizing subwindows.
5394 (unmap_subwindow_instance_cache_mapper): moved from
5395 window.c. Allow finalization as well as unmapping.
5397 * gui.c (gui_item_list_find_selected): new function.
5399 * gui.h (gui_item_list_find_selected): declare.
5401 * glyphs-x.c (x_tab_control_redisplay): pick tab
5402 explicitly. Re-code to use gui_item_equal_sans_selected and
5403 gui_item_list_find_selected.
5405 * glyphs-x.h: add lwlib-utils.h
5407 * buffer.c (Frecord_buffer): undo previous change.
5409 2000-08-09 Vin Shelton <acs@xemacs.org>
5411 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
5412 possible. Create temporary files more securely. The patch was
5413 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
5414 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
5415 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
5418 2000-08-07 Ben Wing <ben@xemacs.org>
5420 * getloadavg.c: remove duplicate (and windows-breaking)
5421 includes of fcntl.h and sys/file.h.
5423 * nt.c: remove duplicate getloadavg() definition.
5425 * sysdll.h (Qdll_filename_encoding): add missing stand-in
5428 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
5430 * eval.c (function_argcount): If function needs to be autoloaded
5431 actually use the loaded definition.
5434 2000-08-05 Ben Wing <ben@xemacs.org>
5436 * getloadavg.c: add prototype for getloadavg(). remove
5437 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
5438 of the code). remove duplicate header includes.
5440 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
5442 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
5443 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
5444 useful load average.
5446 * alloc.c (reinit_alloc_once_early): removed references to
5447 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
5448 the lisp vars are the only things referencing the malloc_sbrk_*
5449 vars, and they were already if 0'd out. these vars only exist
5450 in the older malloc.c, which is basically unused, and they're
5451 only for informational purposes.
5453 * m\*.h: removed useless VIRT_ADDR_VARIES.
5455 * m\powerpc.h: removed stray NO_ARG_ARRAY.
5457 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
5459 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
5460 color if the image is a mono pixmap.
5462 2000-07-30 Ben Wing <ben@xemacs.org>
5464 * Makefile.in.in (release):
5467 * buffer.c (directory_is_current_directory):
5468 * dired-msw.c (mswindows_get_files):
5470 * dired.c (Fdirectory_files):
5471 * dired.c (file_name_completion_stat):
5472 * dired.c (Ffile_attributes):
5473 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
5474 preprocessor tricks, to avoid problems on some machines
5477 * callproc.c (egetenv): GC docs.
5480 * console-msw.h (struct mswindows_dialog_id):
5481 * lrecord.h (lrecord_type):
5482 New object for use with MSW dialogs.
5484 * console.h (struct console_methods):
5485 New enable/disable frame methods, for proper modal dialogs.
5487 * device-msw.c (msprinter_default_printer): Fix to follow
5488 proper Mule conventions.
5491 * device-msw.c (signal_open_printer_error):
5492 * device-msw.c (msprinter_init_device):
5493 * device-msw.c (ensure_not_printing):
5494 * device-msw.c (plist_get_margin):
5495 * device-msw.c (Fmsprinter_select_settings):
5496 * device-msw.c (finalize_devmode):
5497 * device-msw.c (Fmsprinter_settings_despecialize):
5498 * device-msw.c (signal_enum_priner_error):
5499 * extents.c (decode_extent):
5500 * extents.c (decode_map_extents_flags):
5501 * extents.c (decode_extent_at_flag):
5502 * extents.c (Fextent_at):
5503 * extents.c (Fextents_at):
5504 * extents.c (symbol_to_glyph_layout):
5505 [[[[2]]]] Use structured errors.
5508 * dialog-msw.c (mswindows_is_dialog_msg):
5509 * dialog-msw.c (mark_mswindows_dialog_id):
5510 * dialog-msw.c (dialog_proc):
5511 * dialog-msw.c (handle_question_dialog_box):
5512 * dialog-msw.c (syms_of_dialog_mswindows):
5513 Define new object to clean up marking; use it as a dialog identifier.
5514 Call new delete-dialog-box-hook.
5516 * dialog-x.c (dbox_selection_callback):
5517 * dialog-x.c (dbox_descriptor_to_widget_value):
5518 * dialog-x.c (x_make_dialog_box_internal):
5519 Call new delete-dialog-box-hook.
5523 * dialog.c (syms_of_dialog):
5524 * dialog.c (vars_of_dialog):
5525 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
5528 * eval.c (signal_call_debugger):
5529 when noninteractive, output stack traces on the console instead
5530 of in a (never-seen) buffer.
5532 * eval.c (signal_type_error):
5533 * eval.c (invalid_argument_2):
5535 new funs for use w/structured errors.
5538 * event-Xt.c (x_to_emacs_keysym):
5539 * event-Xt.c (describe_event):
5540 * event-Xt.c (emacs_Xt_event_handler):
5541 * event-Xt.c (vars_of_event_Xt):
5543 * event-msw.c (mswindows_wnd_proc):
5544 * event-msw.c (vars_of_event_mswindows):
5545 rename {x,mswindows}-debug-events to debug-{}-events for
5546 consistency with other debug-foo variables.
5549 document next-event more clearly.
5551 * fileio.c (Ffile_name_directory):
5552 * fileio.c (Ffile_name_nondirectory):
5553 * fileio.c (Funhandled_file_name_directory):
5554 * fileio.c (file_name_as_directory):
5555 * fileio.c (Ffile_name_as_directory):
5556 * fileio.c (directory_file_name):
5557 * fileio.c (Fdirectory_file_name):
5558 * fileio.c (Fmake_temp_name):
5559 * fileio.c (Ffile_truename):
5560 * fileio.c (Fsubstitute_in_file_name):
5561 * fileio.c (expand_and_dir_to_file):
5562 * fileio.c (barf_or_query_if_file_exists):
5563 * fileio.c (check_executable):
5564 * fileio.c (Ffile_exists_p):
5565 * fileio.c (Ffile_writable_p):
5566 * fileio.c (Ffile_directory_p):
5567 * fileio.c (Ffile_regular_p):
5568 * fileio.c (Ffile_modes):
5569 * fileio.c (Ffile_newer_than_file_p):
5570 * fileio.c (Fverify_visited_file_modtime):
5571 * fileio.c (Fset_visited_file_modtime):
5572 * fileio.c (auto_save_1):
5577 * frame-msw.c (mswindows_init_frame_1):
5578 * frame-msw.c (mswindows_enable_frame):
5579 * frame-msw.c (error_frame_unsizable):
5580 * frame-msw.c (msprinter_init_frame_1):
5581 * frame-msw.c (msprinter_init_frame_3):
5582 * frame-msw.c (console_type_create_frame_mswindows):
5584 implement new enable/disable frame methods.
5587 * frame-x.c (x_enable_frame):
5588 * frame-x.c (console_type_create_frame_x):
5589 implement new enable/disable frame methods.
5592 * frame.c (Fdisable_frame):
5593 * frame.c (syms_of_frame):
5594 * frame.h (struct frame):
5595 implement new enable/disable frame methods/functions.
5600 * glyphs-msw.c (mswindows_widget_instantiate):
5601 comment that initial-focus should be implemented.
5604 * glyphs-widget.c (check_valid_instantiator):
5605 * glyphs-widget.c (check_valid_orientation):
5606 * glyphs-widget.c (check_valid_tab_orientation):
5607 * glyphs-widget.c (check_valid_justification):
5608 * glyphs-widget.c (check_valid_border):
5609 * glyphs-widget.c (check_valid_callback):
5610 * glyphs-widget.c (check_valid_int_or_function):
5611 * glyphs-widget.c (check_valid_string_or_vector):
5612 * glyphs-widget.c (check_valid_item_list_1):
5613 * glyphs-widget.c (widget_validate):
5614 * glyphs-widget.c (combo_box_validate):
5615 * glyphs-widget.c (widget_instantiate):
5616 * glyphs-widget.c (syms_of_glyphs_widget):
5617 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
5618 * glyphs-widget.c (image_instantiator_combo_box):
5619 * glyphs-widget.c (image_instantiator_scrollbar):
5620 * glyphs-widget.c (image_instantiator_tab_control):
5621 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
5623 support (unimplemented) keyword initial-focus.
5624 reindent long macros.
5626 * glyphs-x.c (x_redisplay_widget):
5627 * glyphs-x.c (x_button_instantiate):
5628 * glyphs-x.c (x_button_redisplay):
5629 * glyphs-x.c (x_progress_gauge_instantiate):
5630 * glyphs-x.c (x_edit_field_instantiate):
5631 * glyphs-x.c (x_combo_box_instantiate):
5632 * glyphs-x.c (x_tab_control_instantiate):
5633 * glyphs-x.c (x_label_instantiate):
5635 * gui-x.c (button_item_to_widget_value):
5636 * gui-x.c (gui_items_to_widget_values_1):
5637 * gui-x.c (gui_item_children_to_widget_values):
5638 * gui-x.c (gui_items_to_widget_values):
5640 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5641 add new flag to gui-parsing routines to indicate whether
5642 accelerator specs should be supported.
5644 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
5646 * glyphs.h (struct Lisp_Image_Instance):
5647 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
5648 add initial-focus flag.
5651 * gui.c (syms_of_gui):
5652 * gui.c (vars_of_gui):
5653 clean up menu-no-selection-hook.
5656 support delete-dialog-box-hook.
5658 * lread.c (Fload_internal):
5659 * lread.c (locate_file_in_directory_mapper):
5663 * lrecord.h (struct toolbar_button):
5664 * lrecord.h (syms_of_toolbar):
5665 document how to create a new object.
5667 * menubar-msw.c (mswindows_char_is_accelerator):
5668 may be called on frames w/o menus.
5670 * menubar.c (vars_of_menubar):
5671 clean up :filter docs.
5678 * process-nt.c (validate_signal_number):
5679 * process-nt.c (signal_cannot_launch):
5680 * process-nt.c (nt_create_process):
5681 * process-nt.c (nt_send_process):
5682 * process-nt.c (nt_kill_child_process):
5683 * process-nt.c (nt_open_network_stream):
5684 * process-nt.c (syms_of_process_nt):
5686 delete quote-handling. call new lisp code that does it better.
5688 * process-unix.c (connect_to_file_descriptor):
5689 * process-unix.c (allocate_pty):
5690 * process-unix.c (unix_send_process):
5691 * process-unix.c (unix_kill_child_process):
5692 * process-unix.c (unix_open_network_stream):
5693 * process-unix.c (unix_open_multicast_group):
5697 * process.c (Fstart_process_internal):
5698 (2). need to canonicalize process path even if absolute.
5700 * select-msw.c (symbol_to_ms_cf):
5701 * select-msw.c (ms_cf_to_symbol):
5702 * select-msw.c (cf_is_autofreed):
5703 * select-msw.c (mswindows_destroy_selection):
5705 * select.c (syms_of_select):
5707 support dibv5, fix bugs. (from Mike Alexander)
5709 * select.c (Fget_selection_internal):
5710 * select.c (select_convert_out):
5713 * sysdep.c (xemacs_stat):
5718 but keep original stat() here because we provide encapsulation
5722 * sysfile.h (fstat):
5723 remove stat garbage.
5727 don't include tchar.h. it's inappropriate because it makes
5728 compile-time distinctions when we want runtime distinctions.
5729 (we provide our own tchar replacements)
5732 use default object printer for toolbar-button.
5735 make sure we don't encapsulate.
5737 * window.c (vars_of_window):
5738 emphasize that temp-buffer-show-hook is obsolete.
5740 2000-08-05 Martin Buchholz <martin@xemacs.org>
5742 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
5743 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
5745 * events.c (Fevent_timestamp_lessp):
5746 Not 64-bit clean. Use EMACS_INT, not int.
5748 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
5750 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
5751 unsigned int and changed the last enum to
5752 lrecord_type_last_built_in_type.
5753 (lrecord_implementations_table): changed prototype to know how
5754 long the array is supposed to be.
5755 (lrecord_type_count): new unsigned int to keep track of the
5756 current number of lisp lrecord types.
5757 (DEFINE_EXTERNAL_LRECORD):
5758 (DECLARE_EXTERNAL_LRECORD): Added these two for external
5759 dynamic-modules to declare new lisp types. They are the same
5760 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
5761 int for each new type, and increment lrecord_type_count by 1.
5763 * alloc.c (lrecord_implementations_table): Changed to reference
5764 lrecord_type_last_built_in_type for the size of the array.
5765 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
5767 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5769 * glyphs.h (check_valid_item_list): Renamed from
5770 check_valid_item_list_1.
5772 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
5774 * select.c (Qselect_coerce): New.
5775 * select.c (Vselection_coercion_alist): New.
5776 * select.c (syms_of_select): Declare.
5777 * select.c (get-selection-internal): Use it.
5778 Use the new select-coerce functionality.
5780 * select.c (select_coerce): New.
5781 * select.h (select_coerce): Declare.
5782 New function to coerce one type of data into another.
5784 2000-08-03 Martin Buchholz <martin@xemacs.org>
5786 * callproc.c (Fcall_process_internal):
5787 (Fcall_process_internal):
5788 * process-unix.c (unix_create_process):
5789 Save and restore the value of errno, so that error messages are accurate.
5791 2000-08-01 Martin Buchholz <martin@xemacs.org>
5793 * elhash.c (print_hash_table):
5794 Fix printing of hash tables to also use `key-and-value' instead of `t'.
5795 Prettify docstrings and indentation.
5797 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5799 * window.c (Fwindow_pixel_edges): Subtract frame border and
5802 2000-07-31 Andy Piper <andy@xemacs.org>
5804 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
5805 will acknowledge the change.
5807 * glyphs.h: declare tab_control_order_only_changed.
5809 * glyphs-x.c (x_tab_control_redisplay): use
5810 tab_control_order_only_changed.
5812 * glyphs-widget.c (tab_control_order_only_changed): new function.
5814 * glyphs-msw.c (mswindows_tab_control_redisplay): use
5815 tab_control_order_only_changed.
5817 * gui.c (gui_item_equal_sans_selected): new function.
5818 (gui_item_equal): use it.
5820 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
5821 :properties in favor of :items..
5823 * glyphs-widget.c (check_valid_item_list): rename from
5824 check_valid_item_list_1.
5825 (check_valid_item_list_1): renamed.
5826 (combo_box_validate): deprecate :properties in favor of :items.
5827 (widget_instantiate): ditto.
5828 (tab_control_update): ditto.
5829 (image_instantiator_combo_box): ditto.
5830 (image_instantiator_tree_view): ditto.
5831 (image_instantiator_tab_control): ditto.
5832 (layout_post_instantiate): remove dead code.
5834 * print.c (debug_print_no_newline): only write to debugger if in
5837 * elhash.c (Fmake_hash_table): update doc string.
5839 * event-msw.c (mswindows_wnd_proc): don't allow processing of
5840 messages whilst in GC. This at least stops XEmacs crashing but has
5841 the potential for wierd behaviour.
5843 2000-07-31 Martin Buchholz <martin@xemacs.org>
5846 Make existence of s&m files optional.
5848 * s/bsd386.h: Remove HAVE_GETLOADAVG.
5849 * s/freebsd.h: Remove HAVE_GETLOADAVG.
5850 * s/gnu.h: Remove HAVE_GETLOADAVG.
5851 * s/netbsd.h: Remove HAVE_GETLOADAVG.
5852 * s/sol2.h: Remove HAVE_GETLOADAVG.
5853 * lisp.h: Remove getloadavg() declaration.
5855 Include <sys/loadavg.h> if available.
5856 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
5857 * config.h.in: Group together getloadavg()-related macros.
5858 Use only configure-time tests to detect getloadavg().
5860 2000-07-30 Martin Buchholz <martin@xemacs.org>
5862 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
5864 2000-07-25 Andy Piper <andy@xemacs.org>
5866 * syswindows.h: add tchar.h for native builds.
5868 * frame.c (syms_of_frame): remove set-glyph-image.
5870 * general-slots.h: add Qset_glyph_image.
5872 * glyphs-widget.c (layout_update): add domain arg to
5874 (syms_of_glyphs_widget): remove set-glyph-image.
5876 2000-07-23 Ben Wing <ben@xemacs.org>
5878 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
5881 2000-07-22 Andy Piper <andy@xemacs.org>
5883 * symsinit.h: add syms_of_win32().
5885 * gui-msw.c (syms_of_gui_mswindows): remove
5886 Fmswindows_shell_execute.
5887 (Fmswindows_shell_execute): moved to win32.c.
5889 * emacs.c (main_1): add syms_of_win32 ().
5891 * win32.c (init_potentially_nonexistent_functions): rewrite in
5892 compiler-friendly terms.
5893 (Fmswindows_shell_execute): move here from gui-msw.c.
5894 (syms_of_win32): new.
5896 * device-msw.c (Fmswindows_printer_list): clean up args to
5898 Don't include tchar under cygwin or mingw.
5899 (msprinter_default_printer): make cygwin-friendly.
5901 2000-07-21 Andy Piper <andy@xemacs.org>
5903 * glyphs-widget.c (image_instantiator_tree_view): use tab
5904 control's update function.
5905 (layout_property): new function. Retrieve items.
5907 * glyphs-msw.c (mswindows_tree_view_redisplay): new
5908 function. Re-populate the tree view from the pending items.
5910 * glyphs.c (instantiate_image_instantiator): Make sure the domain
5911 is designated the parent if the domain is an image instance. This
5912 is needed so that dirtiness can be cascade up the hierarchy and
5913 thus for layout children to be redisplayed correctly.
5914 (allocate_image_instance): rename glyph -> parent.
5916 * redisplay.h: change redisplay_output_layout signature.
5918 * redisplay-msw.c (mswindows_output_display_block): use domain
5921 * redisplay-x.c (x_output_display_block): use domain arg.
5923 2000-07-10 Andy Piper <andy@xemacs.org>
5925 * window.c (Fset_window_configuration): add comment.
5927 * redisplay-output.c (compare_runes):
5928 (redisplay_output_subwindow): redisplay rather than update subwindow.
5929 (redisplay_output_layout): ditto.
5931 * redisplay-msw.c (mswindows_frame_output_end):
5932 (mswindows_frame_output_end): make defer window pos optional.
5934 * lisp.h: add Flast.
5936 * glyphs.h (struct image_instantiator_methods): add dest_mask top
5937 normalize method. Change update method to be for changed
5938 instantiators. Add redisplay method. Change signature of layout
5940 (struct Lisp_Image_Instance): add instantiator.
5941 (IMAGE_INSTANCE_INSTANTIATOR): new.
5942 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
5943 (XIMAGE_INSTANCE_INSTANTIATOR): new.
5944 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
5947 (find_instantiator_differences): new function.
5948 (Fset_instantiator_property): new convenience function.
5949 (check_image_instance_structure): strictly check for vector
5951 (normalize_image_instantiator): make non-static.
5952 (instantiate_image_instantiator): pass on dest_mask and use new
5953 signatures for image_instance_layout and friends.
5954 (mark_image_instance): mark the instantiator. Mark the subwindow
5955 face not the widget face.
5956 (image_instance_equal): add instantiator.
5957 (image_instance_hash): ditto.
5958 (allocate_image_instance): ditto.
5959 (Fset_image_instance_property): removed.
5960 (Fimage_instance_file_name): ditto.
5961 (Fcolorize_image_instance): ditto.
5962 (image_instance_layout): add offsets to be set.
5963 (update_image_instance): new function. update an image instance
5964 from its changed instantiator.
5965 (inherit_normalize): add dest_mask.
5966 (xbm_normalize): ditto.
5967 (xface_normalize): ditto.
5968 (xpm_normalize): ditto.
5969 (text_update): set_property -> update.
5970 (image_instantiate): use the glyph identity as a hash key, not the
5972 (glyph_width): use new image_instance_layout signature.
5973 (glyph_ascent): ditto.
5974 (glyph_descent): ditto.
5975 (glyph_height): ditto.
5976 (glyph_query_geometry): ressurrect.
5977 (glyph_layout): ditto.
5978 (redisplay_subwindow): update -> redisplay.
5979 (syms_of_glyphs): add Fset_instantiator_property.
5980 (image_instantiator_format_create): set_property -> update.
5983 (autodetect_normalize): add dest_maks to signature.
5984 (x_redisplay_subwindow): update -> redisplay.
5985 (x_redisplay_widget): ditto.
5986 (x_button_redisplay): ditto.
5987 (x_progress_gauge_redisplay): ditto.
5988 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
5990 (console_type_create_glyphs_x): update -> redisplay.
5991 (image_instantiator_format_create_glyphs_x): ditto.
5994 (check_valid_instantiator): disallow glyphs in the instantiator,
5995 they must now be vectors.
5996 (check_valid_instantiator_list): ditto.
5997 (glyph_instantiator_to_glyph): use internal symbol rather than
5999 (widget_update): renamed from widget_set_property. Call cascaded
6001 (redisplay_widget): renamed from update_widget.
6002 (widget_layout): image_instance_layout now takes position as well
6004 (widget_normalize): ditto.
6005 (widget_instantiate): ditto.
6006 (tab_control_query_geometry) ditto.:
6007 (tab_control_update): renamed from tab_control_set_property.
6008 (progress_gauge_update): set_property -> update.
6009 (layout_normalize): rewrite so that child instantiators are
6011 (layout_update): new function. Create glyphs from the normalized
6012 children and cope with any other layout keywords. We do not
6013 instantiate children here that will be take care of by
6014 redisplay_output_layout.
6015 (layout_instantiate): call layout_update and not much else.
6016 (layout_post_instantiate): not sure whether this is needed
6018 (layout_query_geometry): query glyph geometry rather than
6019 image_instance geometry.
6020 (layout_layout): set offsets from pass in parameters. Use glyph
6021 geometry and layout functions rather than image instance ones.
6022 (native_layout_layout): ditto.
6023 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
6024 (image_instantiator_widget): set_property -> update.
6025 (image_instantiator_buttons): ditto.
6026 (image_instantiator_progress_guage): ditto.
6027 (image_instantiator_tab_control): ditto.
6028 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
6029 (image_instantiator_layout): add update method.
6031 * glyphs-msw.c (bmp_normalize):
6032 (mswindows_resource_normalize): add dest_mask so that it can be
6033 proprogated by layout_normalize.
6034 (begin_defer_window_pos): make optional because it may not be the
6035 right thing to do and it introduces differences with X.
6036 (mswindows_unmap_subwindow): ditto.
6037 (mswindows_map_subwindow): ditto.
6038 (mswindows_redisplay_subwindow): renamed from
6039 mswindows_update_subwindow.
6040 (mswindows_redisplay_widget): ditto.
6041 (mswindows_button_redisplay): renamed from
6042 mswindows_button_update. Update is now what the instantiation
6043 function does for a changed instantiator.
6044 (mswindows_progress_gauge_instantiate): set the progress value
6045 here if appropriate.
6046 (mswindows_tab_control_redisplay): cope with re-ordering of the
6047 members of the tab widget by simply selecting the new top
6048 widget. This makes things appear ok if you click on a tab.
6049 (mswindows_combo_box_instantiate): image_instance_layout now takes
6050 position as well as size.
6051 (mswindows_progress_gauge_redisplay): renamed from
6052 mswindows_progress_gauge_update.
6053 (console_type_create_glyphs_mswindows): fix update -> redisplay.
6054 (image_instantiator_format_create_glyphs_mswindows): ditto.
6056 * glyphs-eimage.c (jpeg_normalize):
6059 (tiff_normalize): add dest_mask so that it can be proprogated by
6064 (hash_table_weakness_validate):
6065 (decode_hash_table_weakness):
6066 (Fhash_table_weakness):
6068 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6070 * console.h (struct console_methods): move update_* to
6073 2000-07-20 Ben Wing <ben@xemacs.org>
6075 * *.[ch] (XSETOBJ): remove unused middle argument.
6076 lisp-disunion.h: correct wrap_object() to one argument.
6078 2000-07-15 Ben Wing <ben@xemacs.org>
6081 * s/cygwin32.h (CYGWIN_CONV_PATH):
6082 Add missing logb prototype for v1.1.
6083 Use post-b20 names and alias to pre-b20 names when pre-b20.
6085 * s/windowsnt.h: [5].
6087 2000-07-15 Ben Wing <ben@xemacs.org>
6089 * Makefile.in.in (x_objs):
6090 * Makefile.in.in (sheap_objs):
6091 * Makefile.in.in (objs):
6092 added win32.o, cosmetic cleanups.
6094 * alloc.c (Fmake_byte_code):
6095 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6096 etc. macros which declare their own args now.
6098 * alloc.c (syms_of_alloc):
6099 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6102 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6104 * buffer.c (Fget_file_buffer):
6105 Fixed GCPRO problem.
6107 * buffer.c (get_truename_buffer):
6108 Fixed comment about GC checking.
6110 * buffer.c (syms_of_buffer):
6111 Undeclared those dedicated frame funs.
6115 Define convenience macros for internal/external conversions.
6116 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6117 and Qenvironment_variable_encoding for cleaner code.
6120 Remove dedicated-frame; in lisp.
6122 * bytecode.c (funcall_compiled_function):
6125 * bytecode.c (syms_of_bytecode):
6129 * console-msw.c (mswindows_show_console): Rewrote.
6131 * console-msw.c (Fmswindows_debugging_output): New.
6132 Sends to OutputDebugString (special MSWin debugger interface).
6134 * console-msw.c (Fmswindows_message_box):
6135 Fixed stupid bugs so it works when called from kill-emacs.
6137 * console-msw.c (syms_of_console_mswindows):
6138 Declare Fmswindows_debugging_output.
6141 New MSWin prototypes.
6143 * console-msw.h (struct mswindows_frame):
6144 New entry last-click-mods for improved button-modifier support.
6146 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6147 New struct entry `popup' with corresponding accessor.
6150 * console-x.c (split_up_display_spec):
6151 * console-x.c (get_display_arg_connection):
6152 * console-x.c (x_semi_canonicalize_console_connection):
6153 * console-x.c (x_canonicalize_device_connection):
6154 [[[6]]]: Change char to more specific type.
6155 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6157 * console-x.c (x_semi_canonicalize_console_connection):
6158 * console-x.c (x_canonicalize_device_connection):
6159 [[[9]]]: Fix up error signalling to use new structured error system.
6162 [[[4]]]: Define codesys aliases:
6163 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6164 Qx_color_name_encoding, Qx_display_name_encoding.
6166 * console.h (struct console_methods):
6167 New method make_dialog_box_internal supersedes older
6168 popup_dialog_box method.
6171 Define many new errors, part of new structured errors.
6173 * data.c (init_errors_once_early):
6174 * data.c (syms_of_data):
6177 * device-msw.c (mswindows_init_device):
6178 [[[5]]]: Cleanup to support NT 3.51.
6180 * device-msw.c (decode_devmode): Cleanup.
6182 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6183 * device-msw.c (mswindows_handle_print_dialog_box):
6184 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6185 * device-msw.c (syms_of_device_mswindows):
6186 Delete the dialog box primitives recently introduced by Kirill and
6187 instead interface to general dialog box interface.
6190 * device-x.c (compute_x_app_name):
6191 * device-x.c (x_init_device):
6192 * device-x.c (Fx_valid_keysym_name_p):
6193 * device-x.c (Fx_set_font_path):
6197 * device.h (wrap_device): New.
6198 First of its kind; meant to replace XSETDEVICE.
6200 * dialog-msw.c: Many file-dialog symbols.
6202 * dialog-msw.c (mswindows_register_popup_frame): New.
6203 * dialog-msw.c (mswindows_is_dialog_msg): New.
6204 For supporting kbd traversal in dialog boxes.
6206 * dialog-msw.c (dialog_proc):
6207 Support hitting ESC in dialogs.
6209 * dialog-msw.c (struct):
6210 Common dialog box errors.
6212 * dialog-msw.c (handle_file_dialog_box): New.
6213 Add file dialog code.
6215 * dialog-msw.c (handle_question_dialog_box):
6216 Redo existing code to support new question dialog syntax.
6218 * dialog-msw.c (console_type_create_dialog_mswindows):
6219 We support new dialog console method.
6221 * dialog-msw.c (syms_of_dialog_mswindows):
6222 * dialog-msw.c (vars_of_dialog_mswindows):
6223 New file dialog symbols, vars.
6226 * dialog-x.c (maybe_run_dbox_text_callback):
6227 * dialog-x.c (dbox_descriptor_to_widget_value):
6228 * dialog-x.c (x_make_dialog_box_internal):
6229 * dialog-x.c (console_type_create_dialog_x):
6230 Mule-ize entire file.
6231 Redo to support question dialog syntax.
6235 * dialog.c (Fmake_dialog_box_internal):
6236 * dialog.c (syms_of_dialog):
6237 Kill old popup-dialog-box, replace with new primitive.
6238 Just call device method or signal error.
6240 * eldap.c (Fldap_open):
6241 * eldap.c (Fldap_search_basic):
6242 * eldap.c (Fldap_add):
6243 * eldap.c (Fldap_modify):
6248 * emacs.c (make_arg_list_1):
6249 * emacs.c (make_arg_list):
6250 Mule-ize call to dll_init().
6254 * emacs.c (make_argc_argv):
6255 * emacs.c (free_argc_argv):
6256 * emacs.c (init_cmdargs):
6258 * emacs.c (Fkill_emacs):
6259 * emacs.c (Fdump_emacs):
6260 Update comments about what can be used in syms_* etc.
6261 Call init_win32() when necessary.
6262 Fix up MS Win dialog box in kill-buffer to actually work right.
6273 * eval.c (condition_case_3):
6275 * eval.c (function_argcount):
6276 * eval.c (funcall_lambda):
6279 * eval.c (type_error): New.
6280 * eval.c (maybe_type_error): New.
6281 * eval.c (continuable_type_error): New.
6282 * eval.c (maybe_continuable_type_error): New.
6283 * eval.c (type_error_with_frob): New.
6284 * eval.c (maybe_type_error_with_frob): New.
6285 * eval.c (continuable_type_error_with_frob): New.
6286 * eval.c (maybe_continuable_type_error_with_frob): New.
6287 New functions for use with structured errors.
6290 * event-Xt.c (x_event_to_emacs_event):
6291 Buttons are now modifiers too.
6293 * event-Xt.c (emacs_Xt_current_event_timestamp):
6294 Implement new event method.
6295 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
6298 * event-msw.c (ntpipe_shove_writer): [5].
6299 * event-msw.c (mswindows_enqueue_mouse_button_event):
6300 * event-msw.c (mswindows_drain_windows_queue):
6301 * event-msw.c (mswindows_wnd_proc): [7].
6302 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
6303 * event-msw.c (mswindows_modifier_state):
6304 Throughout: support new button modifiers.
6306 * event-msw.c (emacs_mswindows_current_event_timestamp):
6307 Implement new event method.
6308 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
6311 * event-stream.c (event_stream_current_event_timestamp): New.
6312 * event-stream.c (maybe_kbd_translate): New functionality.
6313 * event-stream.c (vars_of_event_stream):
6314 Document new kbd-translate-table functionality.
6316 * event-stream.c (Fcurrent_event_timestamp): New.
6317 New primitive for use in fabricated events.
6318 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
6320 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
6323 * events.c (Fmake_event):
6324 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
6328 * events.c (format_event_object): fix gcc warnings.
6330 * events.c (Fevent_timestamp): Document new primitives.
6332 * events.c (TIMESTAMP_HALFSPACE): New.
6334 * events.c (Fevent_timestamp_lessp): New. New primitive for
6335 comparing timestamps correctly (half-space algorithm).
6337 * events.c (Fevent_modifier_bits): Doc fix.
6339 * events.c (Fevent_modifiers): Major doc addition.
6340 * events.c (event_x_y_pixel_internal): Typo fix.
6341 * events.c (syms_of_events): Declare new primitives.
6344 Update long comment for button modifiers, timestamps.
6346 * events.h (struct event_stream):
6347 New current_event_timestamp method.
6350 * extents.c (extent_in_region_p):
6351 * extents.c (decode_extent):
6352 * extents.c (Fset_extent_parent):
6353 * extents.c (decode_map_extents_flags):
6357 * extents.c (struct extent_at_arg):
6358 * extents.c (decode_extent_at_flag):
6359 * extents.c (extent_at_mapper):
6360 * extents.c (extent_at_bytind):
6361 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
6362 * extents.c (Fextents_at): New primitive. [9].
6363 * extents.c (symbol_to_glyph_layout): [9].
6364 Support new primitive `extents-at'.
6367 * extents.c (get_text_property_bytind):
6368 extent_at_bytind has another arg.
6371 * extents.c (syms_of_extents): New primitive.
6373 * file-coding.c (Fmake_coding_system): [1].
6374 * file-coding.c (subsidiary_coding_system): fix gcc warning
6375 * file-coding.c (syms_of_file_coding): [2].
6377 * fileio.c (Fexpand_file_name):
6378 * fileio.c (Fsysnetunam):
6379 * fileio.c (Ffile_exists_p):
6380 * fileio.c (Ffile_executable_p):
6381 * fileio.c (Fverify_visited_file_modtime):
6384 * fileio.c (syms_of_fileio): [2].
6386 * filelock.c (lock_file_1):
6387 * filelock.c (current_lock_owner):
6388 * filelock.c (lock_if_free):
6389 * filelock.c (lock_file):
6390 * filelock.c (unlock_file):
6393 * fns.c (concat): Fix gcc warning.
6396 * fns.c (Fold_member):
6398 * fns.c (Fold_memq):
6399 * fns.c (memq_no_quit):
6401 * fns.c (Fold_assoc):
6403 * fns.c (Fold_assq):
6404 * fns.c (assq_no_quit):
6406 * fns.c (Fold_rassoc):
6408 * fns.c (Fold_rassq):
6409 * fns.c (rassq_no_quit):
6411 * fns.c (Fold_delete):
6413 * fns.c (Fold_delq):
6414 * fns.c (delq_no_quit):
6415 * fns.c (Fremassoc):
6417 * fns.c (remassq_no_quit):
6418 * fns.c (Fremrassoc):
6419 * fns.c (Fremrassq):
6420 * fns.c (remrassq_no_quit):
6425 * frame-msw.c (mswindows_init_frame_1):
6426 * frame-msw.c (mswindows_delete_frame):
6427 Register popups with dialog code so keyboard traversing works.
6429 * frame-tty.c (tty_raise_frame_no_select): [1].
6432 * frame-x.c (x_set_frame_text_value):
6433 * frame-x.c (x_set_frame_properties):
6434 * frame-x.c (x_create_widgets):
6438 * frame.c (Fmouse_pixel_position): Minor doc fixes.
6440 * frame.h (wrap_frame): New.
6441 Macro like wrap_device.
6444 * general.c (SYMBOL):
6445 * general.c (syms_of_general):
6446 Major reorg. This is now just a wrapper and symbols themselves
6447 are listed in general-slots.h.
6449 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
6450 * glyphs-msw.c (mswindows_resource_instantiate): [5].
6452 * glyphs-msw.c (mswindows_native_layout_instantiate):
6453 Add DS_CONTROL so keyboard traversal will work.
6456 * glyphs-widget.c (syms_of_glyphs_widget):
6457 Move some symbols to general-slots.h.
6460 * glyphs-x.c (xbm_instantiate_1):
6461 * glyphs-x.c (x_xbm_instantiate):
6462 * glyphs-x.c (x_xface_instantiate):
6463 * glyphs-x.c (autodetect_instantiate):
6464 * glyphs-x.c (cursor_font_instantiate):
6465 * glyphs-x.c (x_update_widget):
6466 * glyphs-x.c (x_widget_instantiate):
6467 * glyphs.c (bitmap_to_lisp_data):
6468 * glyphs.c (pixmap_to_lisp_data):
6471 * glyphs.c (syms_of_glyphs):
6475 * gui-x.c (print_widget_value):
6476 * gui-x.c (menu_separator_style_and_to_external):
6477 * gui-x.c (add_accel_and_to_external):
6478 * gui-x.c (button_item_to_widget_value):
6479 * gui-x.c (gui_items_to_widget_values_1):
6480 * gui-x.c (gui_items_to_widget_values):
6481 * gui-x.c (syms_of_gui_x):
6482 * gui-x.c (vars_of_gui_x):
6483 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
6487 Muleize, prototype changes matching gui-x.c.
6490 * gui.c (separator_string_p):
6491 * gui.c (gui_item_add_keyval_pair):
6492 * gui.c (make_gui_item_from_keywords_internal):
6493 * gui.c (signal_too_long_error):
6494 * gui.c (parse_gui_item_tree_item):
6495 * gui.c (syms_of_gui):
6496 * gui.c (vars_of_gui):
6498 menu-no-selection-hook moved here (used by MSWin).
6499 Move some symbols to general-slots.h.
6503 * insdel.c (get_buffer_pos_char):
6504 * insdel.c (get_buffer_range_char):
6507 * keymap.c (keymap_lookup_directly):
6508 * keymap.c (keymap_store):
6509 * keymap.c (ensure_meta_prefix_char_keymapp):
6510 * keymap.c (describe_map):
6512 Support new button modifiers.
6514 * lisp-disunion.h (wrap_object):
6515 * lisp-disunion.h (XSETOBJ):
6516 Rename make_obj to wrap_object.
6519 * lisp-union.h (make_int):
6520 * lisp-union.h (make_char):
6521 Support wrap_object.
6524 * lisp.h (LIST_LOOP):
6525 * lisp.h (EXTERNAL_LIST_LOOP):
6526 * lisp.h (LIST_LOOP_2):
6527 * lisp.h (EXTERNAL_LIST_LOOP_1):
6528 * lisp.h (EXTERNAL_LIST_LOOP_2):
6529 * lisp.h (EXTERNAL_LIST_LOOP_3):
6530 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
6531 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6532 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
6533 * lisp.h (EXTERNAL_ALIST_LOOP_5):
6534 * lisp.h (EXTERNAL_ALIST_LOOP_6):
6535 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
6536 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
6537 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
6538 * lisp.h (struct Lisp_Symbol):
6539 * lisp.h (maybe_continuable_error_with_frob):
6540 Fix up section comments.
6541 Add new types for char to indicate usage.
6542 Delete symbols auto-generated from general-slots.h.
6543 Add prototypes for structured error functions.
6544 Add long comments describing looping macros and change interface
6545 so that lvalues are automatically declared.
6546 Add NO_DECLARE macro in case callers want to declare lvalues
6549 * lread.c (read_syntax_error):
6550 * lread.c (continuable_read_syntax_error):
6551 * lread.c (read_structure):
6552 * lread.c (sequence_reader):
6553 * lread.c (read_list_conser):
6554 * lread.c (read_compiled_function):
6555 Rename syntax_error and continuable_syntax_error to avoid clash
6556 with same-named structured error functions.
6558 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6559 * menubar-msw.c (populate_menu_add_item):
6560 * menubar-msw.c (populate_or_checksum_helper):
6565 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6566 Mule-ize whole file.
6568 * menubar.c (Fnormalize_menu_item_name): Add optimization.
6570 * mule-charset.c (Fmake_charset):
6571 * mule-wnnfns.c (Fwnn_set_param):
6574 * ntproc.c (create_child):
6575 * ntproc.c (Fwin32_set_current_locale):
6576 Add comments portending doom.
6579 * objects-msw.c (old_font_enum_callback_2):
6580 * objects-msw.c (font_enum_callback_1):
6581 * objects-msw.c (mswindows_enumerate_fonts):
6585 * objects-x.c (allocate_nearest_color):
6586 * objects-x.c (x_parse_nearest_color):
6587 * objects-x.c (x_initialize_color_instance):
6588 * objects-x.c (x_print_color_instance):
6589 * objects-x.c (x_finalize_color_instance):
6590 * objects-x.c (x_valid_color_name_p):
6591 * objects-x.c (x_initialize_font_instance):
6592 * objects-x.c (x_print_font_instance):
6593 * objects-x.c (valid_x_font_name_p):
6594 * objects-x.c (truename_via_FONT_prop):
6595 * objects-x.c (truename_via_random_props):
6596 * objects-x.c (truename_via_XListFonts):
6597 * objects-x.c (x_font_truename):
6598 * objects-x.c (x_font_instance_truename):
6599 * objects-x.c (x_font_instance_properties):
6600 * objects-x.c (x_list_fonts):
6601 * objects-x.c (x_find_charset_font):
6602 Mule-ize entire file.
6609 * print.c (std_handle_out_external):
6610 * print.c (debug_print_no_newline):
6611 * print.c (syms_of_print):
6612 Output to all debugger kinds in debug-print.
6613 Fix console-output code under MSWin to actually work.
6615 * process-nt.c (send_signal):
6616 * process-nt.c (nt_create_process):
6617 Use newer Unicode macros.
6619 * process-unix.c (unix_create_process):
6620 * process-unix.c (unix_canonicalize_host_name):
6621 * process-unix.c (unix_open_network_stream):
6627 * search.c (syms_of_search):
6630 * select-msw.c (mswindows_destroy_selection):
6633 * select-x.c (symbol_to_x_atom):
6636 * select.c (syms_of_select):
6639 * sound.c (Fplay_sound_file):
6643 * specifier.c (decode_specifier_type):
6644 * specifier.c (Fvalid_specifier_locale_type_p):
6645 * specifier.c (check_valid_locale_or_locale_type):
6646 * specifier.c (decode_locale):
6647 * specifier.c (decode_locale_type):
6648 * specifier.c (decode_locale_list):
6649 * specifier.c (check_valid_domain):
6650 * specifier.c (decode_specifier_tag_set):
6651 * specifier.c (Fcanonicalize_tag_set):
6652 * specifier.c (Fdefine_specifier_tag):
6653 * specifier.c (Fspecifier_tag_predicate):
6654 * specifier.c (check_valid_inst_list):
6655 * specifier.c (check_valid_spec_list):
6656 * specifier.c (decode_how_to_add_specification):
6657 * specifier.c (check_modifiable_specifier):
6658 * specifier.c (specifier_add_spec):
6659 * specifier.c (boolean_validate):
6660 * specifier.c (display_table_validate):
6663 * specifier.c (syms_of_specifier):
6664 Move some symbols to general-slots.h.
6668 * symbols.c (Fmapatoms):
6669 * symbols.c (Fapropos_internal):
6672 * symbols.c (set_default_buffer_slot_variable):
6673 * symbols.c (set_default_console_slot_variable):
6676 * symbols.c (defsymbol_massage_name_1):
6677 * symbols.c (defkeyword_massage_name):
6678 * symbols.c (deferror_1):
6679 * symbols.c (deferror):
6680 * symbols.c (deferror_massage_name_and_message):
6682 * symeval.h (DEFSYMBOL):
6683 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
6685 * symbols.c (syms_of_symbols):
6689 * symsinit.h (init_win32): New.
6690 Also new is syms_of_dialog_mswindows.
6693 Add new Unicode macros, missing Cygwin wide-char functions,
6694 convenience conversion macros for Qmswindows_tstr, macros for
6695 encapsulating required MSWin <-> Cygwin filename conversions,
6696 prototype for dynamically-extracted (not in NT 3.51) functions.
6701 * tooltalk.c (Fadd_tooltalk_message_arg):
6702 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
6703 * tooltalk.c (Fadd_tooltalk_pattern_arg):
6706 * tooltalk.c (syms_of_tooltalk):
6710 * unexnt.c (unexec):
6711 Fix up headers, declaration of unexec() to be more standard.
6713 2000-07-20 Martin Buchholz <martin@xemacs.org>
6715 * offix.h: Revert change to guard macros - they're used in offix.c!
6717 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6719 * lisp.h: Defsubred Fdelete.
6721 * console-msw.h: (msprinter_default_printer): Added.
6723 * console-msw.c (msprinter_canonicalize_console_connection):
6724 (msprinter_canonicalize_device_connection): Added.
6726 * device-msw.c (msprinter_default_printer):
6727 (Fmswingows_get_default_printer):
6728 (signal_enum_priner_error):
6729 (Fmswingows_printer_list): Added.
6731 2000-07-19 Martin Buchholz <martin@xemacs.org>
6733 * XEmacs 21.2.35 is released.
6735 2000-07-19 Martin Buchholz <martin@xemacs.org>
6737 * select-x.c (x_handle_selection_request):
6738 Text selected in xemacs and pasted into xterm failed to appear.
6739 Spelling fixes and cosmetic changes.
6741 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6743 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
6744 XEmacs frame (fix for doubling chars in dialog boxes).
6746 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6748 * select.c (select_convert_in, select_convert_out):
6749 Don't call intern() every time.
6751 * select.c (Qselect_convert_in, Qselect_convert_out): New.
6752 * select.c (vars_of_select): Initialise them.
6754 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6756 * select.c (selection-coercible-types): New.
6758 * select.c (own-selection-internal):
6759 * select.c (get-selection-internal):
6760 MULE bug fix - these should default to COMPOUND_TEXT and not
6761 STRING for MULE. I think.
6763 * select.c (select_convert_out): Use selection-coercible-types
6764 to find types that we can attempt to perform coercions on.
6766 2000-07-18 Martin Buchholz <martin@xemacs.org>
6770 Add coding: cookie to identify encoding.
6772 * mule-canna.c (CANNA_mode_keys): make static.
6773 Use proper prototypes, even for functions of no arguments.
6774 Remove external prototype for Fding().
6776 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
6778 * select.c (syms_of_select): Add missing DEFSUBR.
6780 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6782 * select.c (get_selection_internal, own_selection_internal):
6783 Make the type default to STRING, rather than placing a nil type
6784 into Vselection_alist.
6786 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6788 * gpmevent.c (tty_selection_exists_p):
6789 * gpmevent.c (tty_own_selection):
6790 Updated parameter lists.
6792 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
6794 * select.h (selection-alist): Removed declaration.
6796 * select.h (get_local_selection):
6797 * select.c (get_local_selection):
6800 * select.h (convert_selection): Removed declaration.
6801 * select.c (convert_selection): Removed.
6802 This function belongs in Lisp.
6804 * select.h (select_convert_in): Declare.
6805 * select.h (select_convert_out): Declare.
6806 * select.c (select_convert_in): New.
6807 * select.c (select_convert_out): New.
6808 New conversion functions for other files to call.
6810 * select.h (select_notify_buffer_kill): Declare.
6811 * select.c (select_notify_buffer_kill): New.
6812 New functions that get called from kill-buffer.
6814 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
6815 X-specific lisp code.
6817 * select.h: Declare some of the lisp-visible functions for
6820 * select.c (clean_local_selection_data): Removed. This was
6821 a disgusting function, and previously should have been in
6822 select-x.c in any case. The functionality is now provided
6823 in select-convert-from-integer (select.el).
6825 * select.c (available-selection-types): Fixed stupidity where
6826 INTEGER and ATOM got added twice. Also add STRING when we see an
6829 * select.c (get-selection-internal): Removed symbol stripping. No
6830 longer causes conversion when data comes from the internal cache.
6832 * select.c (syms_of_select): Added new functions.
6834 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
6835 error checking - previously this called abort!
6837 * select-x.c (x_own_selection): Changed comment.
6839 * select-x.c (x_handle_selection_request): Use select_convert_out.
6840 Don't mess with selection-alist; it's an internal variable of select.c.
6842 * select-x.c (x_get_foreign_selection): Use select_convert_in.
6844 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
6845 rather than messing with selection-alist.
6847 * select-msw.c (mswindows_get_foreign_selection):
6848 Use TO_INTERNAL_FORMAT rather than hacking.
6850 2000-07-14 Martin Buchholz <martin@xemacs.org>
6852 * process-unix.c (unix_open_multicast_group):
6853 (unix_open_multicast_group): Remove useless casts.
6855 2000-07-13 Martin Buchholz <martin@xemacs.org>
6857 * sound.c (Fplay_sound): Fix `unused variable' warning.
6859 * emacs.c (main): Use correct type for _environ on SCO5.
6861 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
6863 * console.h (own_selection_method):
6864 * console.h (selection_exists_p_method):
6865 * console.h (available_selection_types_method): New.
6866 * console.h (register_selection_data_type_method): New.
6867 * console.h (selection_data_type_name): New.
6869 * console-msw.h (mswindows_destroy_selection): Declare it. New
6870 function & alist to track GlobalAlloc()'d handles that need
6871 releasing when the clipboard data gets replaced or emptied.
6873 * event-msw.c (mswindows_wnd_proc): Call it.
6875 * lisp.h, general.c (Qappend): New symbol representing a
6878 * select.c (own-selection-internal):
6879 * select.c (selection-exists-p):
6880 * select.c (available-selection-types): New.
6881 * select.c (register-selection-data-type): New.
6882 * select.c (selection-data-type-name): New. New functions to deal
6883 with device-specific selection data formats.
6884 * select.c (selection-converter-out-alist): Renamed.
6885 * select.c (selection-converter-in-alist): New.
6886 * select.c (selection-appender-alist): New. Added new alists.
6887 * select.c (syms_of_select, vars_of_select): Added new symbols &
6889 * select.c (get_local_selection): Split.
6890 * select.c: Removed spurious type checking - selections may now be
6891 of any type, not just strings.
6892 * select.c (own-selection-internal):
6894 * select.h, select.c (convert_selection): New. Created
6895 convert_selection() function based on get_local_selection().
6896 * select.h, select.c (QCF_*): New symbols representing mswindows
6898 * select.h, select.c (Qreplace_all, Qreplace_existing): New
6899 symbols representing `how-to-add' modes.
6901 * select-msw.c (x_sym_p): New.
6902 * select-msw.c (symbol_to_ms_cf): New.
6903 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
6904 symbols & clipboard formats. Can also handle string names.
6905 * select-msw.c (mswindows_own_selection):
6906 * select-msw.c (mswindows_selection_exists_p):
6907 Added `data-type' parameter. Use it.
6908 * select-msw.c (mswindows_available_selection_types): New.
6909 * select-msw.c (mswindows_register_selection_data_type): New.
6910 * select-msw.c (mswindows_selection_data_type_name): New.
6911 * select-msw.c (mswindows_own_selection):
6912 * select-msw.c (mswindows_get_foreign_selection):
6913 * select-msw.c (mswindows_selection_exists_p): Rewrote.
6914 * select-msw.c (console_create_select_mswindows): Added new methods.
6915 * select-msw.c (mswindows_destroy_selection): New.
6916 * select-msw.c (Vhandle_alist): New list.
6917 * select-msw.c (mswindows_own_selection):
6919 * select-x.c (x_own_selection):
6920 * select-x.c (x_selection_exists_p):
6921 * select-x.c: Added some comments about maybe using new
6923 * select-x.c (x_own_selection):
6925 * specifier.c: Remove definition of Qappend (now in general.c)
6926 * specifier.c (syms_of_specifier): Remove Qappend.
6928 2000-07-12 Martin Buchholz <martin@xemacs.org>
6930 * config.h.in: Add socklen_t.
6932 * s/decosf4-0.h: No special compiler flags needed or desired.
6933 In particular, undefine _BSD for DEC OSF 4.0.
6935 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6937 * redisplay-msw.c (msprinter_frame_output_end): Added.
6938 (console_type_create_redisplay_mswindows): Referred the above.
6940 * frame.c (setup_frame_without_minibuffer): Do not create a
6941 default minibuffer frame on a printer device.
6943 * frame-msw.c (apply_dc_geometry): Added.
6944 (msprinter_start_page):
6945 (msprinter_init_frame_3):
6946 (msprinter_eject_page): Use it.
6948 * console-msw.h (struct msprinter_frame): Added pix_left and top,
6949 and removed residual duplex and orientation properties.
6951 2000-07-11 Martin Buchholz <martin@xemacs.org>
6953 * eval.c (function_argcount): Work around a DEC CC compiler bug.
6955 * unexalpha.c: Remove system prototypes from C sources!
6957 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
6959 * eval.c: Remove references to M-x edit-options in DEFUNs for
6960 `defvar' and `defconst'.
6962 2000-07-09 Martin Buchholz <martin@xemacs.org>
6964 * config.h.in: Remove SMART_INCLUDE hackery.
6967 * config.h.in: Don't use SMART_INCLUDE.
6969 * postgresql.h: Include libpq-fe.h here. Fix typo.
6970 * inline.c: Simply #include "postgresql.h"
6972 - Don't use SMART_INCLUDE
6973 - Use simply "const".
6974 - Use standard doc string conventions.
6975 - Use correct type for result of PQstatus.
6977 2000-07-09 Martin Buchholz <martin@xemacs.org>
6979 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
6981 C++ compilation changes.
6982 * config.h.in (EXTERN_C): Define.
6983 * config.h.in (not): This is also a C++ keyword.
6984 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
6985 * cm.c: Use EXTERN_C.
6986 * redisplay-tty.c: Use EXTERN_C.
6987 * sysdep.c: Use EXTERN_C. Remove Gould support.
6989 2000-07-09 Martin Buchholz <martin@xemacs.org>
6991 * general.c: Remove duplicate definition for Qfunction.
6993 2000-07-08 Ben Wing <ben@xemacs.org>
6995 * device-msw.c (msprinter_init_device):
6996 * device-msw.c (sync_printer_with_devmode):
6997 * device-msw.c (handle_devmode_changes):
6998 * device-msw.c (print_dialog_worker):
6999 * device-msw.c (Fmsprinter_apply_settings):
7000 * device-msw.c (hash_devmode):
7001 * device-msw.c (Fmsprinter_settings_despecialize):
7002 use Qmswindows_tstr, not Qctext.
7004 * vm-limit.c (check_memory_limits):
7005 avoid infinite loop printing warning messages.
7007 2000-07-05 Craig Lanning <lanning@scra.org>
7009 * Makefile.in.in: Add support for including the Windows resources
7010 when building with the cygwin and mingw targets.
7012 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
7013 not set or not correct.
7014 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
7015 (init_initial_directory): Don't try to use $PWD on the
7016 WIN32_NATIVE target.
7019 [[Add -mwindows to eliminate console window.]] not required --ben
7020 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7021 (MAIL_USE_POP): removed; now handled by configure.
7023 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
7024 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
7025 (HAVE_NATIVE_SOUND): removed; now handled by configure.
7026 (MAIL_USE_POP): removed; now handled by configure.
7027 (ENCAPSULATE_STAT): from Dan Holmsand, added.
7028 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
7029 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
7031 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
7032 up from <winsock.h> via systime.h.
7033 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
7034 (getpagesize): from Dan Holmsand, added.
7035 Added #endif which was left dangling by Ben's mega patch; added
7036 comment to help prevent this in the future.
7038 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
7040 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7042 * console-msw.h (struct mswindows_device): Removed unnecessary
7043 cached device geometry values.
7044 Added update_tick and an accessor macro.
7045 (Lisp_Devmode): Added lrecord declaration.
7046 (struct msprinter_device): Contain devmode as a Lisp object.
7047 Added mswindows_get_selected_frame_hwnd();
7049 * console.h (struct console_methods): Indentation nitpicking.
7051 * device-msw.c (mswindows_init_device): Do not initialize geometry
7052 cache. Initialize update tick.
7053 (mswindows_device_system_metrics): Ask the device for its geometry.
7054 (global_free_2_maybe):
7055 (devmode_to_hglobal):
7056 (handle_printer_changes):
7057 (ensure_not_printing):
7058 (print_dialog_worker):
7059 (Fmsprinter_print_setup_dialog):
7060 (Fmsprinter_print_dialog):
7063 (Fmsprinter_page_setup_dialog): Added functions.
7064 (sync_printer_with_devmode):
7065 (handle_devmode_changes):
7066 (Fmsprinter_get_settings):
7067 (Fmsprinter_select_settings):
7068 (Fmsprinter_apply_settings):
7070 (Fmsprinter_settings_copy):
7071 (Fmsprinter_settings_despecialize):
7075 (hash_devmode): Added functions
7076 (syms_of_device_mswindows): Init devmode lrecord class.
7078 * device.h: Added an exfun for find-device.
7080 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7081 geometry; although, recreate the device compatible DC.
7083 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7084 (msprinter_init_frame_3):
7085 (msprinter_frame_property):
7086 (msprinter_internal_frame_property_p):
7087 (msprinter_frame_properties):
7088 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7089 print job properties (will move to device settings).
7091 * lisp.h: Added symbols.
7093 * general.c (syms_of_general): Declared them.
7095 * hash.c (string_hash): Added.
7097 * lrecord.h (lrecord_type): Added devmode lrecord type.
7099 2000-07-02 Mike Sperber <mike@xemacs.org>
7101 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7104 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7106 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7109 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7111 * data.c (Fstring_to_number): Don't recognize floating point if
7114 2000-06-22 Martin Buchholz <martin@xemacs.org>
7116 * glyphs-widget.c (tab_control_query_geometry):
7117 (widget_query_geometry):
7118 (button_query_geometry):
7119 * glyphs.c (text_query_geometry):
7120 Enforce type correctness.
7122 2000-06-18 Martin Buchholz <martin@xemacs.org>
7124 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7125 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7127 2000-06-17 Martin Buchholz <martin@xemacs.org>
7129 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7130 conflicts with gcc's fixincluded version of FOO.h.
7132 * glyphs.h (image_instance_geometry): Remove trailing `,'
7134 2000-06-08 Mike Alexander <mta@arbortext.com>
7136 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7137 (shove_thread): Don't write the same output twice
7138 (make_ntpipe_output_stream): Increase priority of shove thread
7139 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7141 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7144 2000-06-12 Ben Wing <ben@xemacs.org>
7146 * s\mingw32.h (sigset):
7147 * s\windowsnt.h (sigset):
7148 rename msw_ to mswindows_ for consistency with general convention.
7150 2000-06-12 Ben Wing <ben@xemacs.org>
7153 * console-msw.c (mswindows_get_console_hwnd):
7154 * console-msw.c (mswindows_ensure_console_allocated):
7155 * console-msw.c (mswindows_hide_console):
7156 * console-msw.c (mswindows_show_console):
7157 * console-msw.c (mswindows_ensure_console_buffered):
7158 * console-msw.c (mswindows_output_console_string):
7159 * console-msw.c (mswindows_windows9x_p):
7161 * device-msw.c (mswindows_get_workspace_coords):
7162 * device-msw.c (mswindows_device_system_metrics):
7163 * dialog-msw.c (mswindows_popup_dialog_box):
7164 * event-msw.c (mswindows_wnd_proc):
7165 * frame-msw.c (mswindows_size_frame_internal):
7166 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7167 * menubar-msw.c (displayable_menu_item):
7168 * menubar-msw.c (mswindows_char_is_accelerator):
7170 * nt.c (mswindows_sigset):
7171 * nt.c (mswindows_sigrelse):
7172 * nt.c (mswindows_sigpause):
7173 * nt.c (mswindows_raise):
7174 * nt.c (timer_proc):
7176 * ntproc.c (find_child_console):
7177 * ntproc.c (sys_kill):
7179 * print.c (std_handle_out_external):
7180 * process-nt.c (find_child_console):
7181 * process-nt.c (send_signal_the_95_way):
7182 * process-nt.c (ensure_console_window_exists):
7183 * process-nt.c (nt_create_process):
7185 rename msw_ to mswindows_ for consistency with general convention.
7189 include nt.h, not syswindows.h.
7191 * nt.c (mswindows_fstat):
7192 * nt.c (mswindows_stat):
7193 prefix mswindows_ instead of attempting to directly override the
7194 library functions. fix declarations.
7197 include syswindows.h. move some sysdep.h stuff here.
7200 include syswindows.h, not <windows.h>.
7208 * sysdep.c (sys_fstat):
7209 * sysdep.c (sys_stat):
7210 call mswindows versions when appropriate.
7213 move mswin decls to nt.h.
7216 add long comment describing appropriate use of the various windows
7219 2000-06-11 Ben Wing <ben@xemacs.org>
7221 * device-x.c: Correct doc string for sixth arg of x-get-resource.
7223 2000-06-10 Ben Wing <ben@xemacs.org>
7225 * Makefile.in.in (release):
7226 Correction to make sure xemacs.exe always dumped when correct.
7230 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
7232 * buffer.c (set_buffer_internal):
7233 [[[[2]]]]: Remove HAVE_FEP code.
7235 * buffer.c (init_initial_directory):
7239 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
7243 * callproc.c (call_process_cleanup):
7244 * callproc.c (Fold_call_process_internal):
7245 * callproc.c (child_setup):
7246 * callproc.c (getenv_internal):
7247 * callproc.c (init_callproc):
7248 * callproc.c (vars_of_callproc):
7249 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
7250 __CYGWIN32__ -> CYGWIN.
7251 DOS_NT -> WIN32_NATIVE.
7252 Remove MSDOS support/references, converting to WIN32_NATIVE
7254 __MINGW32__ -> MINGW.
7255 Fix windows.h includes.
7256 Remove bogus HAVE_NTGUI.
7262 mswindows_message_outputted added for use in allowing startup
7263 errors on the console to be seen.
7265 * console-msw.c (msw_ensure_console_allocated):
7266 * console-msw.c (msw_output_console_string):
7267 * console-msw.c (DHEADER):
7268 * console-msw.c (DOPAQUE_DATA):
7269 * console-msw.c (DEVENT):
7270 * console-msw.c (DCONS):
7271 * console-msw.c (DCONSCDR):
7272 * console-msw.c (DSTRING):
7273 * console-msw.c (DVECTOR):
7274 * console-msw.c (DSYMBOL):
7275 * console-msw.c (DSYMNAME):
7278 * console-stream.c (stream_init_console):
7279 Fix text/binary problems.
7282 * device-msw.c (mswindows_finish_init_device):
7283 * device-msw.c (mswindows_delete_device):
7286 * device.c (handle_asynch_device_change):
7290 * dgif_lib.c (DGifOpenFileName):
7291 * dgif_lib.c (DGifOpenFileHandle):
7292 * dgif_lib.c (DGifGetLine):
7293 * dgif_lib.c (DGifGetPixel):
7294 Added config.h/lisp.h, fix up includes.
7301 * dired.c (file_name_completion):
7302 * dired.c (Ffile_attributes):
7303 * dired.c (syms_of_dired):
7307 * dumper.c (pdump_file_unmap):
7308 * dumper.c (pdump_load):
7312 * editfns.c (Ftemp_directory):
7313 * editfns.c (user_login_name):
7314 * editfns.c (Fuser_real_login_name):
7315 * editfns.c (get_home_directory):
7318 * elhash.c (finish_marking_weak_hash_tables):
7319 [[[[5]]]]: Fix GCC warnings.
7322 * emacs.c (mswindows_handle_hardware_exceptions):
7323 * emacs.c (make_arg_list_1):
7325 * emacs.c (Fkill_emacs):
7326 * emacs.c (Fdump_emacs):
7328 Fix problems with nested crashes, add long comment.
7330 * event-Xt.c (init_event_Xt_late):
7334 * event-msw.c (mswindows_dde_callback):
7335 * event-msw.c (mswindows_handle_sticky_modifiers):
7336 * event-msw.c (mswindows_wnd_proc):
7340 * events.c (character_to_event):
7344 * fileio.c (Ffile_name_directory):
7345 * fileio.c (Ffile_name_nondirectory):
7346 * fileio.c (directory_file_name):
7347 * fileio.c (Fexpand_file_name):
7348 * fileio.c (Fsubstitute_in_file_name):
7349 * fileio.c (Ffile_name_absolute_p):
7350 * fileio.c (check_executable):
7351 * fileio.c (Ffile_readable_p):
7352 * fileio.c (Ffile_accessible_directory_p):
7353 * fileio.c (Ffile_modes):
7354 * fileio.c (Funix_sync):
7355 * fileio.c (vars_of_fileio):
7358 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
7360 Expand getdefdir defn.
7361 Fix bogus rename() comment.
7363 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
7364 to use standard XEmacs include files, e.g. sysfile.h, rather
7365 than system-specific includes.
7371 * frame.c (vars_of_frame):
7375 * getloadavg.c (getloadavg):
7377 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
7378 (We don't use it elsewhere in the code; just add a comment.)
7385 * glyphs-msw.c (mswindows_resource_instantiate):
7388 * glyphs-x.c (x_native_layout_instantiate):
7391 * gui-msw.c (Fmswindows_shell_execute):
7400 * lread.c (locate_file_in_directory_mapper):
7407 * mem-limits.h (get_lim_data):
7419 * nt.c (rva_to_section):
7420 * nt.c (mswindows_executable_type):
7422 Fix closedir() defn.
7425 [[[[8]]]]: *_OK defs moved to sysfile.h.
7434 * print.c (std_handle_out_external):
7438 * process-nt.c (nt_create_process):
7440 try to fix process quoting somewhat.
7442 * process-unix.c (unix_create_process):
7446 * process.c (vars_of_process):
7453 * realpath.c (xrealpath):
7456 * redisplay-tty.c (init_tty_for_redisplay):
7466 * sheap.c (more_static_core):
7467 * sheap.c (report_sheap_usage):
7471 * signal.c (alarm_signal):
7478 * strftime.c (zone_name):
7481 * symsinit.h (init_sunpro):
7485 commctrl.h not in Cygwin b20.1.
7489 * sysdep.c (sys_subshell):
7490 * sysdep.c (init_baud_rate):
7491 * sysdep.c (emacs_get_tty):
7492 * sysdep.c (emacs_set_tty):
7493 * sysdep.c (tty_init_sys_modes_on_device):
7494 * sysdep.c (init_system_name):
7495 * sysdep.c (sys_open):
7496 * sysdep.c (interruptible_open):
7497 * sysdep.c (sys_fopen):
7498 * sysdep.c (sys_mkdir):
7499 * sysdep.c (sys_rename):
7500 * sysdep.c (get_process_times_1):
7507 * sysdir.h (DIRENTRY_NONEMPTY):
7510 * sysdll.c (dll_init):
7516 added text/binary defs.
7522 * sysproc.h (EDESTADDRREQ):
7523 * sysproc.h (poll_fds_for_input):
7540 Always define WIN32_LEAN_AND_MEAN.
7542 * unexcw.c (unexec):
7546 * unexec.c (copy_text_and_data):
7547 * unexec.c (adjust_lnnoptrs):
7551 * unexnt.c (_start):
7554 2000-06-07 Ben Wing <ben@xemacs.org>
7556 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
7557 was used only as a model. We've long since extracted any useful
7558 logic or code out of this. (I just did an exhaustive search.)
7560 * s\msdos.h: Removed.
7562 * s\windows95.h: Removed.
7564 2000-06-10 Ben Wing <ben@xemacs.org>
7568 Don't use extern with fun defs.
7572 Remove nt\inc include.
7573 Remove getdisk, getdefdir. (The former is unused, the latter
7574 expanded in fileio.h.)
7577 * s\windowsnt.h (WIN32_NATIVE):
7578 * s\windowsnt.h (HAVE_STRCASECMP):
7580 Add long comment about preprocessor changes.
7581 Remove getdisk, getdefdir. (The former is unused, the latter
7582 expanded in fileio.h.)
7584 2000-06-10 Ben Wing <ben@xemacs.org>
7593 Remove bogus/unused NO_SOCK_SIGIO.
7595 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
7597 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
7600 2000-06-04 Mike Sperber <mike@xemacs.org>
7602 * casetab.c (set_case_table): For `set-standard-case-table',
7603 actually deposit the new case tables where the rest of XEmacs can
7606 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
7608 * data.c (Faset): Don't cast XCHAR() to unsigned char.
7610 2000-06-05 Ben Wing <ben@xemacs.org>
7612 * callproc.c (child_setup): Don't do close_load_descs() under
7613 MS Windows. Put in a comment explaining why.
7615 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
7617 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
7618 Toolkit shell" which breaks `kill-compilation' on Windows NT
7619 native, retaining STDERR handling improvements.
7621 2000-06-01 Andreas Jaeger <aj@suse.de>
7623 * s/s390.h: Support for S390, based on a patch by Martin
7624 Schwidefsky <schwidefsky@de.ibm.com>.
7626 2000-05-30 Andy Piper <andy@xemacs.org>
7628 * window.c (allocate_window):
7629 (make_dummy_parent):
7630 (Fset_window_configuration): use new hashtable type.
7632 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
7633 (struct image_instantiator_methods):
7634 (struct Lisp_Image_Instance): make instance geometry signed.
7636 * glyphs.c (instantiate_image_instantiator):
7637 (image_instance_query_geometry):
7638 (image_instance_layout):
7639 (image_instance_layout):
7640 (query_string_geometry):
7641 (text_query_geometry):
7642 (image_instantiate):
7643 (image_instantiate):
7644 (cache_subwindow_instance_in_frame_maybe):
7645 (subwindow_query_geometry): make instance geometry signed.
7647 * glyphs-widget.c (widget_query_geometry):
7649 (button_query_geometry):
7650 (tree_view_query_geometry):
7651 (tab_control_query_geometry):
7652 (layout_query_geometry):
7654 (native_layout_layout): make instance geometry signed.
7656 2000-05-29 Olivier Galibert <galibert@pobox.com>
7658 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
7661 * general.c (syms_of_general): Add Qfull_assoc symbol.
7663 * data.c (finish_marking_weak_lists): Mark full-assoc lists
7665 (decode_weak_list_type): Decode full-assoc type.
7666 (encode_weak_list_type): Encode full-assoc type.
7667 (Fmake_weak_list): Update doc string.
7669 2000-05-30 Andy Piper <andy@xemacs.org>
7671 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
7673 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
7674 (decode_hash_table_weakness): ditto.
7675 (Fhash_table_weakness): ditto.
7676 (Fhash_table_type): ditto.
7677 (finish_marking_weak_hash_tables): ditto.
7678 (hash_table_weakness_validate): ditto.
7679 (syms_of_elhash): ditto.
7681 2000-05-28 Martin Buchholz <martin@xemacs.org>
7683 * XEmacs 21.2.34 is released.
7685 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7687 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
7689 (updating_line_start_cache): Gone.
7690 (regenerate_window): Replace resetting of VERTICAL_CLIP by
7691 generic code to force a minimum of 1 line laid out in the
7694 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7696 * glyphs.c (instantiate_image_instantiator): Check for initialized
7697 height & width no longer special cases IMAGE_NOTHING.
7698 (nothing_instantiate): Set height and width of instance.
7700 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7702 * unexelf.c (unexec): Search for ".data" section.
7703 Initialize new_data2_offset from old_data_index.
7704 Remove redundant check for ElfW.
7706 2000-05-23 Andy Piper <andy@xemacs.org>
7708 * glyphs.c (get_image_instantiator_governing_domain): allow more
7709 specific domains as the governing domain rather than expecting an
7710 exact match. This fixes problems with layouts.
7712 2000-05-22 Andy Piper <andy@xemacs.org>
7714 * redisplay-output.c (compare_runes): check for non-images
7716 * glyphs.c (set_glyph_dirty_p): ditto.
7717 (update_glyph_cachel_data): ditto.
7719 * glyphs-widget.c (layout_post_instantiate): ditto.
7720 (layout_post_instantiate): ditto.
7722 * event-msw.c (mswindows_wnd_proc): warning removal.
7724 2000-05-12 Craig Lanning <CraigL@DyCon.com>
7726 * s\mingw32.h: Added #undef for CLASH_DETECTION.
7728 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
7730 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
7732 * nt.c (rva_to_section): mingw32 needs rva_to_section.
7733 (mswindows_executable_type): mingw32 now has enough headers for
7736 2000-05-20 Andy Piper <andy@xemacs.org>
7738 * console-msw.c (mswindows_output_last_error): ; -> ,
7740 2000-05-12 Andy Piper <andy@xemacs.org>
7742 * console-msw.c (FROB): compare ints with ints.
7744 2000-05-11 Andy Piper <andy@xemacs.org>
7746 * glyphs-x.c (x_finalize_image_instance): make minimal build
7749 2000-05-20 Ben Wing <ben@xemacs.org>
7752 * event-Xt.c (vars_of_event_Xt):
7753 move modifier-keys-are-sticky to event-stream.c.
7756 * event-msw.c (mswindows_enqueue_mouse_button_event):
7757 * event-msw.c (key_needs_default_processing_p):
7758 * event-msw.c (XEMSW_LCONTROL):
7759 * event-msw.c (mswindows_handle_sticky_modifiers):
7760 * event-msw.c (FROB):
7761 * event-msw.c (clear_sticky_modifiers):
7762 * event-msw.c (output_modifier_keyboard_state):
7763 * event-msw.c (output_alt_keyboard_state):
7764 * event-msw.c (mswindows_wnd_proc):
7765 * event-msw.c (mswindows_modifier_state):
7766 * event-msw.c (emacs_mswindows_handle_magic_event):
7767 implement sticky modifiers.
7770 * event-stream.c (vars_of_event_stream):
7771 move modifier-keys-are-sticky here.
7777 implement map-range-table.
7780 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
7782 * redisplay-tty.c (reset_tty_modes):
7783 (tty_redisplay_shutdown): Adjust argument type to
7784 tty_frame_output_end.
7786 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7788 * eval.c (Fbacktrace): Don't output a line with only right
7791 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
7793 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
7794 (Fpq_reset_poll): Ditto.
7796 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
7798 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
7800 2000-05-16 Ben Wing <ben@xemacs.org>
7803 * buffer.c (dfc_convert_to/from_internal_format):
7804 * buffer.c (reinit_vars_of_buffer):
7805 Fix conversion functions to allow reentrancy.
7808 * console-msw.c (mswindows_output_last_error):
7809 New fun, generally useful -- output a human-readable
7810 version of GetLastError() on the console.
7813 * console-msw.h (struct mswindows_frame):
7814 Changes for DeferWindowPos. Declare mswindows_output_last_error().
7816 * console-stream.c (stream_output_begin):
7817 * console-stream.c (stream_output_end):
7818 * console-stream.c (stream_output_vertical_divider):
7819 * console-stream.c (stream_clear_region):
7820 * console-stream.c (stream_flash):
7821 * console-stream.c (console_type_create_stream):
7822 Delete blank stream methods, not needed.
7824 * console.h (struct console_methods):
7825 Split begin/end methods into window and frame.
7828 * event-msw.c (mswindows_handle_paint):
7829 * event-msw.c (output_alt_keyboard_state):
7830 * event-msw.c (mswindows_wnd_proc):
7831 * event-msw.c (vars_of_event_mswindows):
7832 Comment about problems with ignored-expose.
7833 Define mswindows-debug-events; not really implemented.
7835 * frame-msw.c (mswindows_init_frame_1):
7839 * glyphs-msw.c (begin_defer_window_pos):
7840 * glyphs-msw.c (mswindows_unmap_subwindow):
7841 * glyphs-msw.c (mswindows_map_subwindow):
7842 * glyphs-msw.c (mswindows_resize_subwindow):
7843 Use DeferWindowPos to reduce flashing when mapping/unmapping.
7845 * glyphs.c (make_image_instance_1):
7848 * gutter.c (Fredisplay_gutter_area):
7849 Use new begin/end methods.
7851 * lisp.h (Dynarr_new2):
7855 * redisplay-msw.c (mswindows_frame_output_begin):
7856 * redisplay-msw.c (mswindows_frame_output_end):
7857 * redisplay-msw.c (console_type_create_redisplay_mswindows):
7858 New begin/end methods -- handle DeferWindowPos.
7860 * redisplay-output.c (redisplay_move_cursor):
7861 * redisplay-output.c (redraw_cursor_in_window):
7862 * redisplay-output.c (redisplay_update_line):
7863 * redisplay-output.c (redisplay_output_window):
7864 New begin/end methods.
7867 * redisplay-tty.c (tty_frame_output_begin):
7868 * redisplay-tty.c (tty_frame_output_end):
7869 * redisplay-tty.c (console_type_create_redisplay_tty):
7870 New begin/end methods.
7873 * redisplay-x.c (x_window_output_begin):
7874 * redisplay-x.c (x_window_output_end):
7875 * redisplay-x.c (console_type_create_redisplay_x):
7876 New begin/end methods.
7878 * redisplay.c (redisplay_frame):
7879 * redisplay.c (Fredisplay_echo_area):
7880 New begin/end methods.
7881 use MAYBE_DEVMETH for clear_frame; it may not exist.
7883 * window.h (WINDOW_XFRAME):
7884 WINDOW_XFOO macros -- get locale and decode struct pointer.
7887 2000-05-12 Ben Wing <ben@xemacs.org>
7890 * emacs.c (ensure_no_quitting_from_now_on):
7891 * emacs.c (fatal_error_signal):
7892 * emacs.c (mswindows_handle_hardware_exceptions):
7894 * emacs.c (Fkill_emacs):
7895 * emacs.c (shut_down_emacs):
7896 * emacs.c (assert_failed):
7897 various improvements in fatal error handling.
7900 move preparing_for_armageddon to emacs.c.
7903 declare fatal_error_in_progress.
7906 * print.c (std_handle_out_external):
7907 * print.c (std_handle_out_va):
7908 * print.c (stderr_out):
7909 * print.c (stdout_out):
7910 use console under mswin when no standard output.
7911 don't do code conversion during fatal error.
7913 * scrollbar.c (Fscrollbar_page_up):
7914 * scrollbar.c (Fscrollbar_page_down):
7915 fix missing else. reindent.
7917 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
7921 * glyphs.h (GLYPH_CACHEL_DESCENT):
7922 (GLYPH_CACHEL_DESCENT):
7923 (GLYPH_CACHEL_DESCENT):
7924 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
7925 used in case these are inline functions.
7926 Use more absurd values to error check.
7928 include window.h for error check functions.
7930 2000-05-11 Ben Wing <ben@xemacs.org>
7932 * cmdloop.c (Freally_early_error_handler):
7933 Display message box under windows; otherwise, message will disappear
7934 before it can be viewed.
7937 * console-msw.c (Fmswindows_message_box):
7938 * console-msw.c (FROB):
7939 * console-msw.c (syms_of_console_mswindows):
7940 Define new fun `mswindows-message-box'.
7941 #### I will merge this into `popup-dialog-box'; just give me
7945 * general.c (syms_of_general):
7946 Some new symbols used in `mswindows-message-box'.
7949 * glyphs.c (Fset_image_instance_property):
7950 put warning in this fun.
7953 * glyphs.h (GLYPH_CACHEL_WIDTH):
7954 * glyphs.h (GLYPH_CACHEL_ASCENT):
7955 * glyphs.h (GLYPH_CACHEL):
7956 * glyphs.h (GLYPH_CACHEL_GLYPH):
7957 define error-checking versions to try to catch a bug i've seen --
7958 redisplay gets in an infinite loop because the glyph width of the
7959 continuation glyph is 65535.
7962 Extern message-box stuff.
7964 * window.c (allocate_window):
7965 * window.c (make_dummy_parent):
7966 * window.c (Fset_window_configuration):
7967 Use EQUAL not EQ for subwindow caches to make them work a bit
7968 better. (Something is still very broken.)
7971 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7973 * glyphs.c (image_instantiate): Suppress gcc warnings.
7974 (Fmake_image_instance): Fix doc string.
7975 * specifier.c (Fmake_specifier): Ditto.
7977 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7979 * paths.h.in (PATH_LOCK): Removed.
7980 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
7981 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
7983 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7985 * fns.c (Ffeaturep): Update e-mail address in doc-string.
7986 Document (featurep '(and xemacs 21.02)).
7988 2000-05-09 Ben Wing <ben@xemacs.org>
7990 * buffer.c (complex_vars_of_buffer):
7991 update modeline-format doc.
7994 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
7997 timeline of all released versions of Emacs, for use in creating
7998 authorship comments and in synching up.
8000 * glyphs-widget.c (image_instantiator_buttons):
8001 * glyphs-widget.c (image_instantiator_edit_fields):
8002 * glyphs-widget.c (image_instantiator_combo_box):
8003 * glyphs-widget.c (image_instantiator_scrollbar):
8004 * glyphs-widget.c (image_instantiator_progress_guage):
8005 * glyphs-widget.c (image_instantiator_tree_view):
8006 * glyphs-widget.c (image_instantiator_tab_control):
8007 * glyphs-widget.c (image_instantiator_labels):
8008 * glyphs-widget.c (image_instantiator_layout):
8009 * glyphs-widget.c (image_instantiator_native_layout):
8010 rename decode_domain method to governing_domain.
8013 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
8014 * glyphs.c (add_entry_to_device_ii_format_list):
8015 make sure we don't put an entry more than once into the list.
8016 * glyphs.c (check_instance_cache_mapper):
8017 *************************************************************
8018 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8020 *************************************************************
8021 * glyphs.c (get_image_instantiator_governing_domain):
8022 clean up, expand on new concept of governing domain.
8023 * glyphs.c (instantiate_image_instantiator):
8024 * glyphs.c (allocate_image_instance):
8025 use governing_domain instead of cache_domain in naming.
8026 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
8027 * glyphs.c (make_image_instance_1):
8028 * glyphs.c (Fmake_image_instance):
8029 allow for any domain (not just device), and process the
8030 governing domain correctly. very big doc fix.
8031 * glyphs.c (Fimage_instance_domain):
8032 new primitive, to retrieve the governing domain of an image instance.
8033 * glyphs.c (image_instantiate):
8034 use new governing_domain stuff. this fixes a crash you could get
8035 by instantiating certain widget glyphs in frame locales. (should
8036 signal an error instead of crashing.)
8037 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
8038 * glyphs.c (Fglyphp): clean up doc.
8039 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
8040 * glyphs.c (syms_of_glyphs):
8041 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
8042 * glyphs.c (image_instantiator_format_create): add some comments about
8044 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
8045 for current-display-table. (Apparently Hrjove implemented in 1998 a
8046 design I wrote up in 1996, but didn't update the doc string.)
8048 * glyphs.h: clean up a doc string.
8049 * glyphs.h (governing_domain):
8050 * glyphs.h (struct image_instantiator_methods):
8051 changes for governing_domain stuff.
8054 * gutter.c (Fgutter_specifier_p):
8055 * gutter.c (Fgutter_size_specifier_p):
8056 * gutter.c (Fgutter_visible_specifier_p):
8058 * objects.c (Fcolor_specifier_p):
8059 * objects.c (Ffont_specifier_p):
8060 * objects.c (Fface_boolean_specifier_p):
8061 doc strings moved to make-*-specifier.
8063 * redisplay.c (add_disp_table_entry_runes_1):
8064 * redisplay.c (generate_fstring_runes):
8065 * redisplay.c (screen):
8066 add random comments and doc strings.
8069 * specifier.c (Fmake_specifier):
8070 major overhaul of this doc string.
8072 * specifier.c (Fvalid_specifier_domain_p):
8073 comment about the bogosity of image instances being domains.
8074 * specifier.c (decode_domain):
8075 now non-static, used in glyphs.c.
8076 * specifier.c (specifier_instance):
8077 comment about the bogosity of image instances being domains.
8078 * specifier.c (Fgeneric_specifier_p):
8079 move doc string to make-generic-specifier.
8080 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8084 * specifier.h (DOMAIN_FRAME):
8085 * specifier.h (DOMAIN_LIVE_P):
8086 * specifier.h (DOMAIN_XDEVICE):
8088 add comments about problems with these macros.
8089 prototype for decode_domain.
8092 * toolbar.c (Ftoolbar_specifier_p):
8093 move doc string to `make-toolbar-specifier'.
8095 * window.c (window_unmap_subwindows_cache_mapper):
8096 *************************************************************
8097 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8099 *************************************************************
8101 2000-05-09 Andy Piper <andy@xemacs.org>
8103 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8105 * window.c (Fset_window_configuration): reset the frame subwindow
8106 cache and re-initialize the window subwindow caches.
8108 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8110 2000-05-09 Ben Wing <ben@xemacs.org>
8112 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8115 2000-04-26 Mike Woolley <mike@bulsara.com>
8117 * ntheap.c: Changed recreate_heap to limit the amount reserved
8118 for the heap to that which is actually available. Also now
8119 displays a message box (with some dignostics) in the event that
8120 it still can't start.
8122 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8124 * callproc.c (Fold_call_process_internal): GCPRO path
8126 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8128 Patch by Bill Perry.
8130 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8131 back data instead of #ifdef.
8132 (Fscrollbar_page_down): ditto.
8134 2000-05-07 Ben Wing <ben@xemacs.org>
8137 Kludge for defining Qmswindows_tstr.
8140 * nt.c (open_input_file):
8141 * nt.c (open_output_file):
8142 * nt.c (rva_to_section):
8143 * nt.c (mswindows_executable_type):
8144 Move all memory-mapped-file routines here (some were in unexnt.c,
8145 which is bad because they are used by process-nt.c, and unexnt
8146 won't be around when portable dumping). Synched the above routines
8150 Removed ifdef'd out bogus code.
8151 Fixed some prototypes.
8154 * nt.h (OFFSET_TO_RVA):
8155 * nt.h (RVA_TO_OFFSET):
8156 * nt.h (RVA_TO_PTR):
8157 Moved the memory-mapped-file structures, macros and prototypes
8158 here, to parallel nt.c. ntheap.h should really be removed
8159 entirely, and it's a non-portable-dumper specific file.
8161 * ntheap.h (round_to_next):
8162 Moved the memory-mapped-file structures, macros and prototypes
8165 * ntproc.c (compare_env):
8166 Moved rva_to_section and mswindows_executable_type to nt.c.
8167 Moved compare_env to process-nt.c.
8168 ntproc.c will die, one day.
8170 * ntproc.c (sys_spawnve):
8171 Account for win32_ -> mswindows_.
8174 * process-nt.c (struct nt_process_data):
8175 * process-nt.c (ensure_console_window_exists):
8176 * process-nt.c (compare_env):
8177 * process-nt.c (nt_create_process):
8178 * process-nt.c (nt_kill_process_by_pid):
8179 * process-nt.c (syms_of_process_nt):
8180 * process-nt.c (vars_of_process_nt):
8181 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8182 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8183 changes). Eliminate our old `nt-quote-process-args' mechanism.
8184 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8185 Move compare_env here from ntproc.c.
8187 * process.c (Fprocess_send_region):
8188 Takes an optional fourth argument, BUFFER, which should fix some
8189 problems with call-process.
8192 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8195 Move ICC_BAR_CLASSES to syscommctrl.h.
8196 Add preliminary macros for MSWindows/Mule. More to come.
8199 * unexnt.c (unexec):
8200 open_output_file moved to nt.c.
8203 2000-05-05 Andy Piper <andy@xemacs.org>
8205 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8206 instance from the frame cache also since GC may catch up too late
8207 to make frame deletion sane.
8209 2000-05-04 Andy Piper <andy@xemacs.org>
8211 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8212 (x_finalize_image_instance): ungcpro on deletion.
8214 * glyphs.c (image_instantiator_format_create): give pointers a
8215 query geometry method so that the geometry is at least set.
8217 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8218 initialize layouts if using widgets.
8220 2000-05-03 Andy Piper <andy@xemacs.org>
8222 * nt.c: remove bogus reference to sysmmsystem.h
8224 * gui-x.c (popup_selection_callback): fix no selection abort.
8226 2000-05-02 Andy Piper <andy@xemacs.org>
8228 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
8229 (mswindows_widget_instantiate): ditto.
8231 * glyphs-widget.c (initialize_widget_image_instance): initialize
8233 (widget_instantiate): cope with children and items in the same
8236 * glyphs.c (mark_image_instance): cope with children as a first
8238 (image_instance_equal): ditto.
8239 (image_instance_hash): ditto.
8240 (image_instance_changed): ditto.
8242 2000-04-30 Andy Piper <andy@xemacs.org>
8244 * glyphs.c (subwindow_query_geometry): new function. Return some
8246 (subwindow_instantiate): don't assign dimensions if none have been
8248 (image_instantiator_format_create): add subwindow_query_geometry.
8249 (print_image_instance): cope with layouts as widgets.
8251 2000-04-29 Andy Piper <andy@xemacs.org>
8253 * frame.c (delete_frame_internal): call
8254 free_frame_subwindow_instance_cache so that all subwindows are
8255 finalized before their parent.
8256 (mark_frame): remove subwindow_cachels.
8257 (Fmake_frame): remove subwindow_cachel manipulation.
8258 (allocate_frame_core): subwindow_instance_cache is a weak list.
8259 (delete_frame_internal): set subwindow_instance_cache to nil.
8261 * glyphs-msw.c (mswindows_finalize_image_instance): make double
8263 (mswindows_finalize_image_instance): use the device
8264 not the domain as the domain may have died already.
8266 * glyphs-x.c (x_finalize_image_instance): ditto.
8267 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8270 * redisplay-output.c (redisplay_unmap_subwindows): update for
8271 subwindow instance cache as a weak list.
8272 (redisplay_unmap_subwindows_maybe): ditto.
8273 (redisplay_unmap_subwindows_except_us): ditto.
8275 * glyphs.c (unmap_subwindow): error checking will check the domain
8276 so don't deal with it here. Don't use cachels anymore.
8277 (map_subwindow): ditto.
8278 (update_subwindow_cachel_data): remove old accessor names.
8279 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8280 (Fresize_subwindow): don't update cachel.
8281 (mark_subwindow_cachels):
8282 (update_subwindow_cachel_data):
8283 (add_subwindow_cachel):
8284 (get_subwindow_cachel_index):
8285 (update_subwindow_cachel):
8286 (reset_subwindow_cachels):
8287 (mark_subwindow_cachels_as_not_updated): deleted.
8288 (cache_subwindow_instance_in_frame_maybe): new function. Add a
8289 subwindow instance to the frame cache.
8290 (find_matching_subwindow): update for subwindow instance cache as
8292 (update_widget_instances): ditto.
8293 (image_instance_type_to_mask):inlined.
8294 (free_frame_subwindow_instance_cache): new function. finalize all
8295 subwindows that are instantiated.
8297 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
8298 of cachel information.
8299 (IMAGE_INSTANCE_DISPLAY_X):
8300 (IMAGE_INSTANCE_DISPLAY_Y):
8301 (IMAGE_INSTANCE_DISPLAY_WIDTH):
8302 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
8303 (XIMAGE_INSTANCE_DISPLAY_X):
8304 (XIMAGE_INSTANCE_DISPLAY_Y):
8305 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
8306 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
8307 remove subwindow_cachel structure and function references.
8308 (image_instance_type_to_mask): inline from glyphs.c
8310 * redisplay.c (redisplay_frame): remove subwindow_cachel
8313 * frame.h (struct frame): remove subwindow_cachels.
8314 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
8316 * frameslots.h: add subwindow_instance_cache.
8318 * window.c (replace_window): check subwindow cache of replacement.
8319 (window_unmap_subwindows_cache_mapper):
8320 (window_unmap_subwindows): new functions. Unmap all subwindows
8321 cached on this window.
8322 (mark_window_as_deleted): unmap all subwindows.
8324 2000-04-27 Andy Piper <andy@xemacs.org>
8326 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
8328 * glyphs-widget.c (widget_layout): return something.
8329 (layout_layout): return something. Fail if not initialized.
8330 (layout_query_geometry): ditto.
8331 (image_instantiator_native_layout): new function. Initialized the
8333 (widget_instantiate): don't do layout stuff here.
8335 * glyphs.c (instantiate_image_instantiator): reorded calling or
8336 instantiate and post_instantiate with layout in between.
8337 (image_instance_layout): be more selective about deciding whether
8338 the layout has been done or not.
8340 * glyphs.h (struct image_instantiator_methods): return a value
8343 2000-04-26 Andy Piper <andy@xemacs.org>
8345 * glyphs.c (allocate_image_instance): make initial width and
8346 height unspecified. Set initialized to 0.
8348 * syscommctrl.h new file. Encapsulates commctrl.h.
8350 * syswindows.h new file. Encapsulates windows.h.
8352 * ntplay.c: use new syswindows.h and syscommctrl.h header.
8354 * console-msw.h: ditto.
8356 * redisplay-tty.c (tty_output_display_block): remove layout references.
8358 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
8359 window handle rather than just the frame.
8361 * glyphs.c (mark_image_instance): remove layout references.
8362 (print_image_instance): ditto.
8363 (image_instance_equal): ditto.
8364 (image_instance_hash): ditto.
8365 (decode_image_instance_type): ditto.
8366 (encode_image_instance_type): ditto.
8367 (image_instantiate): ditto.
8368 (allocate_glyph): ditto.
8369 (Fimage_instance_height): ditto.
8370 (Fimage_instance_width): ditto.
8371 (update_subwindow): ditto.
8373 * redisplay-x.c (x_output_display_block): recode for layouts as
8376 * redisplay-output.c (redisplay_output_layout): recode for layouts
8378 (compare_runes): remove layout references.
8380 * redisplay-msw.c (mswindows_output_display_block): recode for
8383 * glyphs-widget.c (image_instantiator_layout): remove
8384 layout_possible_dest_types.
8385 (layout_possible_dest_types): deleted.
8387 * glyphs.h (image_instance_type): remove layout references.
8388 (struct Lisp_Image_Instance): ditto. Add initialized flag.
8389 (IMAGE_INSTANCE_INITIALIZED): new accessor.
8390 (XIMAGE_INSTANCE_INITIALIZED): ditto.
8392 2000-04-25 Andy Piper <andy@xemacs.org>
8394 * glyphs-widget.c (image_instantiator_buttons):
8395 (image_instantiator_edit_fields):
8396 (image_instantiator_combo_box):
8397 (image_instantiator_scrollbar):
8398 (image_instantiator_progress_guage):
8399 (image_instantiator_tree_view):
8400 (image_instantiator_tab_control):
8401 (image_instantiator_labels):
8402 (image_instantiator_layout): call default post_instantiate method.
8403 (widget_post_instantiate): new function. Simply lays out the
8406 * glyphs.h (struct image_instantiator_methods): add
8407 post_instantiate method.
8409 * glyphs.c (instantiate_image_instantiator): add post_instantiate
8412 2000-04-23 Andy Piper <andy@xemacs.org>
8414 * glyphs.h (struct image_instantiator_methods): add
8415 decode_domain_method.
8416 (struct Lisp_Image_Instance): remove subwindow frame - it can be
8417 derived from the domain.
8418 (IMAGE_INSTANCE_FRAME): new accessor.
8419 (XIMAGE_INSTANCE_FRAME): ditto.
8421 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
8422 instead of _SUBWINDOW_FRAME.
8423 (finalize_image_instance): ditto.
8424 (Fimage_instance_foreground): ditto.
8425 (Fimage_instance_background): ditto.
8426 (image_instantiate): ditto.
8427 (update_subwindow_cachel): ditto.
8428 (update_subwindow): ditto.
8429 (unmap_subwindow): ditto.
8430 (map_subwindow): ditto
8431 (subwindow_instantiate): ditto.
8432 * glyphs-msw.c (mswindows_update_widget): ditto.
8433 (mswindows_progress_gauge_instantiate): ditto.
8434 (mswindows_tab_control_update): ditto.
8435 * glyphs-x.c (x_update_widget): ditto.
8436 (x_widget_instantiate): ditto.
8437 (x_tab_control_instantiate): ditto.
8438 (x_tab_control_update): ditto.
8439 * event-msw.c (mswindows_wnd_proc): ditto
8441 * glyphs-widget.c (image_instantiator_layout): use
8442 subwindow_decode_domain.
8443 (image_instantiator_buttons): ditto.
8444 (image_instantiator_edit_fields): ditto.
8445 (image_instantiator_combo_box): ditto.
8446 (image_instantiator_scrollbar): ditto.
8447 (image_instantiator_progress_guage): ditto.
8448 (image_instantiator_tree_view): ditto.
8449 (image_instantiator_tab_control): ditto.
8450 (image_instantiator_labels): ditto.
8451 (image_instantiator_layout): ditto.
8453 * glyphs.c: add instance error checking to many functions.
8454 (instantiate_image_instantiator): decode device from cache_domain.
8455 (image_instantiate): partially rewrite by using
8456 decode_image_instantiator_domain to determine what domain the
8457 instance needs to be cached in.
8458 (decode_image_instantiator_domain): new function. Determine what
8459 domain the image needs to be cached in.
8460 (check_window_subwindow_cache): new error checking function.
8461 (check_instance_cache_mapper): ditto.
8462 (check_image_instance_structure): ditto.
8463 (subwindow_decode_domain): new function. Encodes a window as a
8464 subwindow's cache domain.
8465 (image_instantiator_format_create): use it for text and
8468 2000-04-21 Andy Piper <andy@xemacs.org>
8470 * glyphs.c (image_instance_device): new function.
8471 (image_instance_frame): new function.
8472 (image_instance_window): new function.
8473 (image_instance_live_p): new function.
8475 * window.c (mark_window_as_deleted): reset the subwindow_instance_
8478 * glyphs.h (struct Lisp_Image_Instance): device->domain.
8479 (IMAGE_INSTANCE_DOMAIN): new accessor.
8480 (XIMAGE_INSTANCE_DOMAIN): ditto.
8482 * glyphs-x.c (x_finalize_image_instance): device->domain.
8484 * glyphs-msw.c (init_image_instance_geometry): device->domain.
8485 (mswindows_finalize_image_instance): ditto.
8487 * glyphs-eimage.c (jpeg_instantiate): device->domain.
8488 (gif_instantiate): ditto.
8489 (png_instantiate): ditto.
8490 (tiff_instantiate): ditto.
8492 * glyphs.c (instantiate_image_instantiator): use domain rather
8494 (mark_image_instance): device -> domain.
8495 (print_image_instance): ditto.
8496 (finalize_image_instance): ditto.
8497 (image_instance_equal): ditto.
8498 (allocate_image_instance): ditto.
8499 (Fcolorize_image_instance): ditto.
8500 (query_string_geometry): ditto.
8501 (image_instantiate): ditto
8502 (query_string_font): ditto.
8503 (image_instantiate): ditto.
8504 (update_subwindow): ditto.
8505 (unmap_subwindow): ditto.
8506 (map_subwindow): ditto.
8507 (subwindow_instantiate): ditto.
8509 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
8510 (DOMAIN_FRAME): ditto.
8511 (DOMAIN_WINDOW): ditto.
8512 (DOMAIN_LIVE_P): ditto.
8513 (XDOMAIN_DEVICE): ditto.
8514 (XDOMAIN_FRAME): ditto.
8515 (XDOMAIN_WINDOW): ditto.
8517 * specifier.c (Fvalid_specifier_domain_p): add image instances as
8518 a valid specifier domain.
8520 2000-04-19 Andy Piper <andy@xemacs.org>
8522 * glyphs-widget.c (syms_of_glyphs_widget): remove
8523 widget-callback-current-channel.
8524 (vars_of_glyphs_widget): ditto.
8527 * gui.c (get_gui_callback): revert to previous behaviour.
8529 2000-04-18 Andy Piper <andy@xemacs.org>
8531 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
8532 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
8533 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
8535 * glyphs.c (image_instance_equal): add margin_width.
8536 (image_instance_hash): ditto.
8538 * glyphs-widget.c (widget_instantiate): deal with margin-width.
8539 (layout_query_geometry): ditto.
8540 (layout_layout): ditto.
8541 (syms_of_glyphs_widget): add margin-width.
8542 (image_instantiator_layout): allow margin-width.
8544 * glyphs.c (update_widget_instances): make a normal function.
8545 (syms_of_glyphs): remove Qupdate_widget_instances.
8548 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
8549 so that we don't corrupt ideas about the last event or
8550 command. Remove widget-callback-current-channel fiddling.
8551 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8553 2000-05-01 Martin Buchholz <martin@xemacs.org>
8555 * XEmacs 21.2.33 is released.
8557 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
8559 * make-src-depend: Allow dots in header file name.
8561 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
8563 * mule-charset.h (struct charset_lookup): Add
8564 next_allocated_1_byte_leading_byte and
8565 next_allocated_2_byte_leading_byte.
8566 * mule-charset.c: Move above two variables so that those values
8569 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
8571 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
8572 when string length is zero.
8573 (find_charsets_in_emchar_string): Ditto.
8575 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
8577 * lisp.h: extern Qdialog and Qmenubar.
8579 * gui-x.c: added events.h.
8580 also fixed typo which made the file uncompilable.
8582 * general.c: Added Qmenubar and Qdialog
8584 2000-04-28 Ben Wing <ben@xemacs.org>
8586 * frame-msw.c (mswindows_init_frame_1):
8587 * frame-msw.c (mswindows_mark_frame):
8588 * event-msw.c (mswindows_enqueue_dispatch_event):
8590 * console-msw.h (struct mswindows_frame):
8591 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
8592 there are now three hash tables for callbacks.
8593 mswindows_enqueue_dispatch_event is no longer static.
8595 * dialog-x.c (maybe_run_dbox_text_callback):
8596 * dialog-x.c (dbox_descriptor_to_widget_value):
8597 switch to new cons3 form for callbacks.
8599 * glyphs-msw.c (mswindows_register_gui_item):
8600 * glyphs-msw.c (mswindows_widget_instantiate):
8601 * glyphs-msw.c (add_tree_item):
8602 * glyphs-msw.c (add_tab_item):
8603 new image instance parameter, so it can be passed to callback-ex.
8604 respect :callback-ex as well as :callback.
8606 * glyphs-widget.c (VALID_GUI_KEYWORDS):
8609 * glyphs.c (print_image_instance):
8610 prettify, e.g. now prints widget type.
8613 certain funs have new image instance parameter.
8616 * gui.c (get_gui_callback):
8617 * gui.c (gui_item_add_keyval_pair):
8618 * gui.c (gui_item_init):
8619 * gui.c (gui_add_item_keywords_to_plist):
8620 * gui.c (mark_gui_item):
8621 * gui.c (gui_item_hash):
8622 * gui.c (gui_item_equal):
8623 * gui.c (copy_gui_item):
8624 * gui.c (syms_of_gui):
8625 recognize callback-ex in a number of places.
8626 also, fix the annoying "can't get out of yes-no dialog" bug.
8629 * gui.h (struct Lisp_Gui_Item):
8630 recognize callback-ex in a number of places.
8632 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8633 new parameter in button_item_to_widget_value.
8635 * glyphs-x.c (x_update_widget):
8636 * glyphs-x.c (x_button_instantiate):
8637 * glyphs-x.c (x_button_update):
8638 * glyphs-x.c (x_progress_gauge_instantiate):
8639 * glyphs-x.c (x_edit_field_instantiate):
8640 * glyphs-x.c (x_combo_box_instantiate):
8641 * glyphs-x.c (x_tab_control_instantiate):
8642 * glyphs-x.c (x_label_instantiate):
8643 new image instance parameter in various places.
8646 * event-Xt.c (enqueue_Xt_dispatch_event):
8647 this fun gets exported.
8650 * gui-msw.c (mswindows_handle_gui_wm_command):
8651 handle both :callback and :callback-ex, and generate our own
8652 event because it's one of the callback-ex arguments.
8655 * gui-x.c (popup_selection_callback):
8656 handle both :callback and :callback-ex, and generate our own
8657 event because it's one of the callback-ex arguments.
8658 * gui-x.c (button_item_to_widget_value):
8659 * gui-x.c (gui_items_to_widget_values_1):
8660 * gui-x.c (gui_item_children_to_widget_values):
8661 * gui-x.c (gui_items_to_widget_values):
8662 new image instance parameter in various places.
8664 * fns.c (Freplace_list):
8665 fix small typo in doc string.
8668 declare enqueue_Xt_dispatch_event.
8670 2000-04-28 Ben Wing <ben@xemacs.org>
8673 * buffer.c (Frecord_buffer):
8674 * buffer.c (syms_of_buffer):
8675 delete record-buffer-hook.
8678 * fns.c (Freplace_list):
8679 * fns.c (syms_of_fns):
8680 new primitive replace-list.
8683 slot for old buffer-alist.
8689 * redisplay.c (redisplay_frame):
8690 * redisplay.c (syms_of_redisplay):
8691 * redisplay.c (vars_of_redisplay):
8692 new hook buffer-list-changed-hook.
8695 2000-04-27 Ben Wing <ben@xemacs.org>
8697 * extents.h: extern in_modeline_generation.
8699 * redisplay.c (generate_formatted_string_db): set
8700 in_modeline_generation.
8702 * extents.c (extent_changed_for_redisplay): don't mark redisplay
8703 flags if in modeline generation. otherwise frame-modified-tick
8704 is ticked far too often.
8705 Declare in_modeline_generation.
8707 2000-04-26 Ben Wing <ben@xemacs.org>
8709 * emacs.c (vars_of_emacs): document quick-build "error-checking"
8711 (vars_of_emacs): add quick-build as an error-checking option.
8712 A bit kludgy, but there doesn't seem much point in creating
8713 a real var for this.
8715 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
8717 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
8719 * redisplay.h (struct display_line): Add a new variable,
8722 * redisplay.c (create_text_block): Set dl->line_continuation if
8724 (create_string_text_block): Ditto.
8725 (regenerate_window_incrementally): Use line_continuation instead
8726 of searching continuation glyph.
8727 (add_margin_runes): Call add_glyph_rune.
8728 (add_glyph_rune): Handle margin glyph.
8730 2000-04-20 Martin Buchholz <martin@xemacs.org>
8732 * filelock.c (fill_in_lock_file_name):
8734 Check for IS_ANY_SEP instead of '/'.
8736 Avoid generating gratuitous garbage. Call user_login_name() directly.
8737 Never check errno without first seeing that system call failed.
8738 (unlock_file): Add GCPRO.
8739 (Flock_buffer): Fix docstring.
8740 (Ffile_locked_p): Fix docstring. Add GCPRO.
8742 2000-04-19 Martin Buchholz <martin@xemacs.org>
8744 * sysdep.c (get_pty_max_bytes):
8745 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
8746 strings longer than 252 bytes.
8748 * md5.c: Unconditionally include ANSI header <limits.h>
8750 * glyphs-x.c (convert_EImage_to_XImage):
8751 * lisp-union.h (union Lisp_Object):
8752 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
8754 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8756 * filelock.c (current_lock_owner): Remove unused variable o, p.
8758 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
8760 * callint.c: Remove multiply defined symbol Qlet
8761 (syms_of_callint): ditto.
8763 2000-04-14 Andy Piper <andy@xemacs.org>
8765 * general.c (syms_of_general): add last-command, this-command, let
8768 * lisp.h: declare various symbols.
8770 * glyphs.h: declare Qwidget_callback_current_channel;
8772 * glyphs-widget.c (syms_of_glyphs_widget): add
8773 Qgui_callback_current_channel.
8774 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
8776 * gui-msw.c (mswindows_handle_gui_wm_command): bind
8777 widget-callback-current-channel when invoking the interactive
8778 arg. Also bind last-command and next-command when invoking the
8780 * gui-x.c (popup_selection_callback): ditto.
8782 * gui.c (get_gui_callback): massage args so that we are always
8783 calling eval. This allows us to add our own variable bindings
8786 * glyphs-x.c (x_button_instantiate): use
8787 gui_items_to_widget_values since this is GC safe.
8788 (x_progress_gauge_instantiate): ditto.
8789 (x_edit_field_instantiate): ditto.
8790 (x_label_instantiate): ditto.
8792 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
8793 (emacs_Xt_event_widget_focus_out): new function
8794 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
8796 (emacs_Xt_event_add_widget_actions): new function. add focus
8797 functions as actions.
8798 (init_event_Xt_late): use it.
8800 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
8802 * event-stream.c (Fdispatch_event): Doc fix.
8804 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
8806 * postgresql.c: Remove all references to PQsetenv*.
8808 * postgresql.h: Remove references to PGsetenvHandler object.
8809 * lrecord.h (lrecord_type): Ditto.
8811 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8813 * glyphs-msw.h (struct mswindows_image_instance_data): Added
8814 real_heigh and real_width members, and accessor macros for these.
8816 * glyphs-msw.c (init_image_instance_geometry): New function.
8817 (init_image_instance_from_dibitmap): Use it.
8818 (mswindows_resource_instantiate): Use it.
8819 (init_image_instance_from_xbm_inline): Use it.
8820 (mswindows_initialize_image_instance_mask): Use real bitmap
8822 (mswindows_create_resized_bitmap): Ditto.
8823 (mswindows_create_resized_mask): Ditto.
8825 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
8826 and bitmap to their surface size.
8828 2000-04-11 Jan Vroonhof <jan@xemacs.org>
8830 * process-unix.c (unix_send_process): Guard against process MIA
8831 after Faccept_process_output.
8833 2000-04-11 Ben Wing <ben@xemacs.org>
8835 * eval.c (unbind_to_hairy): fix brokenness introduced by
8836 nanosecond speed improvements.
8838 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
8840 * sunplay.c (init_device): To play sounds correctly, the device
8841 apparently needs to be initialized at least once by XEmacs. Make
8844 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
8846 * redisplay.c (add_margin_runes): Add text image glyph
8849 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8851 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
8852 gcc is newer than 2.5.
8854 2000-04-06 Colin Rafferty <colin@xemacs.org>
8856 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
8858 * fns.c (size_bit_vector):
8859 * alloc.c (size_vector):
8860 (make_vector_internal):
8861 (make_bit_vector_internal):
8862 (sweep_bit_vectors_1):
8863 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
8865 2000-04-06 Andy Piper <andy@xemacs.org>
8867 * gmalloc.c (malloc): undo previous change.
8872 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
8874 * line-number.c (buffer_line_number): Revert to former version.
8876 2000-04-06 Andy Piper <andy@xemacs.org>
8878 * gmalloc.c (malloc): add error checking.
8883 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
8884 button_item_to_widget_value arg.
8886 * glyphs-x.c (x_button_instantiate): add extra
8887 button_item_to_widget_value arg.
8888 (x_progress_gauge_instantiate): ditto.
8889 (x_edit_field_instantiate): ditto.
8890 (x_label_instantiate): ditto.
8892 * gui-x.c (gui_items_to_widget_values_1): add extra
8893 button_item_to_widget_value arg.
8894 (button_item_to_widget_value): add extra menu_item_p arg.
8896 * gui-x.h: change signature of button_item_to_widget_value.
8898 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
8899 button_item_to_widget_value arg.
8901 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8903 * buffer.h (struct buffer): auto_save_modified should be long.
8905 2000-04-05 Andy Piper <andy@xemacs.org>
8907 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
8909 (button_query_geometry): give a little more room so that athena
8912 2000-04-05 Andy Piper <andy@xemacs.org>
8914 * faces.c (complex_vars_of_faces): The widget face should inherit
8915 the font of the gui-element face.
8917 2000-04-04 Andy Piper <andy@xemacs.org>
8919 * glyphs-x.c (x_button_update): new function. unconditionally
8920 update a button's state when the instance is dirty.
8921 (image_instantiator_format_create_glyphs_x): add x_button_update.
8922 (x_widget_instantiate): remove old resize cruft.
8924 2000-04-02 Andy Piper <andy@xemacs.org>
8926 * frame.c (change_frame_size_1): The introduction of gutters means
8927 that we need to allow 0 as a potential frame dimension.
8929 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
8931 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
8932 image glyph if allow_cursor.
8933 (add_hscroll_rune): Don't allow cursor to border glyph.
8934 (create_text_block): Ditto.
8936 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
8938 (redisplay_output_layout): Call ensure_face_cachel_complete for
8942 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
8944 * redisplay.c (add_glyph_rune): Adding text image as text runes.
8946 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
8949 * redisplay-tty.c (tty_output_display_block): Delete the routine
8950 for text image glyph
8951 * redisplay-x.c (x_output_display_block): ditto
8952 * redisplay-msw.c (mswindows_output_display_block): ditto
8954 2000-02-02 Mike Alexander <mta@arbortext.com>
8956 Note: Some of these were committed by accident as part of other
8959 * regex.c (regex_compile): Avoid compiler warnings.
8961 * ntproc.c (sys_spawnve): Avoid compiler warnings.
8963 * nt.h: Declare term_ntproc correctly.
8965 * nt.c: Remove incorrect declaration of get_home_directory which
8966 is declared correctly in lisp.h.
8968 * keymap.c (get_keyelt): Avoid compiler warnings.
8969 (raw_lookup_key_mapper): Avoid compiler warnings.
8971 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
8973 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
8975 * filemode.c (mode_string): Avoid compiler warnings.
8977 * file-coding.c (Fcoding_system_aliasee): Add return statement to
8980 * events-mod.h: Undef some things that winuser.h defines differently.
8982 * data.c (Faset): Avoid compiler warnings.
8984 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
8986 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8988 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
8989 Fall through to simple beep on error.
8990 Replace "extern" by real header file.
8992 * linuxplay.c: Use nativesound.h
8993 (play_sound_data): Return error code. Be less verbose on error.
8995 * sunplay.c: Use nativesound.h
8996 (play_sound_data): Return error code. Be less verbose on error.
8998 * ntplay.c: Use nativesound.h
8999 (play_sound_data): Return fake error code
9001 * sgiplay.c: Use nativesound.h
9002 (play_sound_data): Return error code
9004 * hpplay.c: Use nativesound.h, partially implement
9005 new error code. Break compilation until finished.
9006 (play_sound_data): error code.
9008 * nativesound.h (play_sound_file):
9009 (play_sound_data): Prototype in new header.
9011 2000-03-31 Andy Piper <andy@xemacs.org>
9013 * glyphs-widget.c: (button_query_geometry): new function. Adjust
9014 for toggle and radio buttons.
9015 (image_instantiator_buttons): use it.
9017 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
9019 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
9020 (x_update_horizontal_scrollbar_callback): Return if no mirror was
9021 found. Scrollbar event probably belonged to some old config.
9023 2000-03-31 Andy Piper <andy@xemacs.org>
9025 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
9027 (initialize_widget_image_instance): default layout to
9028 LAYOUT_HORIZONTAL rather than 0.
9029 (widget_instantiate): reverse the item list at the end rather than
9031 (layout_layout): re-code for the border text at the front of the
9032 item list rather than at the end.
9033 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
9034 provided by the user.
9035 (widget_query_geometry): comment.
9037 2000-03-30 Andy Piper <andy@xemacs.org>
9039 * glyphs-widget.c (image_instantiator_layout): allow standard
9040 widget keywords in layouts.
9042 * gutter.c (output_gutter): cope with nil gutter contents.
9044 * frame.c (Fset_frame_properties): add gutter docs.
9046 2000-03-29 Andy Piper <andy@xemacs.org>
9048 * toolbar-msw.c (TBSTYLE_FLAT): add.
9049 (mswindows_output_toolbar): minor fiddling.
9051 2000-03-29 Andy Piper <andy@xemacs.org>
9053 * gutter.c (output_gutter): force gutter size recalculation if
9054 what we are trying to display won't fit.
9055 (update_gutter_geometry): new function. A per-gutter version of
9056 update_frame_gutter_geometry.
9057 (update_frame_gutter_geometry): use it.
9058 (redraw_exposed_gutter): add extra debugging output.
9060 2000-03-28 Mike Alexander <mta@arbortext.com>
9062 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9063 (pdump_file_unmap): Implement it on Windows
9064 (pdump_file_get): Save alocated handles for pdump_file_unmap
9066 2000-03-28 Andy Piper <andy@xemacs.org>
9068 * gui.c (get_gui_callback): treat Quit specially.
9070 2000-03-27 Andy Piper <andy@xemacs.org>
9072 * glyphs.c (image_instantiate): be careful to check in the same
9075 2000-03-27 Didier Verna <didier@xemacs.org>
9077 * config.h.in: define the proper SMART_INCLUDE macro.
9078 handle renaming of `foo_h_path' to `foo_h_file'.
9080 * database.c: ditto.
9084 * linuxplay.c: ditto.
9086 * terminfo.c: ditto.
9088 * tooltalk.h: ditto.
9090 2000-03-27 Andy Piper <andy@xemacs.org>
9092 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9093 gets updated whenever the face might have changed.
9095 2000-03-26 Mike Alexander <mta@arbortext.com>
9097 * dumper.c (pdump_resource_free): Fix the comment.
9099 2000-03-21 Olivier Galibert <galibert@pobox.com>
9101 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9103 2000-03-22 Mike Alexander <mta@arbortext.com>
9105 * dumper.c: Include Windows headers on Windows
9106 (pdump_resource_free): Add a body to the function
9107 (pdump_load): exe_name -> exe_path and add some comments.
9109 2000-03-25 Mike Alexander <mta@arbortext.com>
9111 * gui.c (copy_gui_item_tree): Return a value in all cases
9113 2000-03-21 Didier Verna <didier@xemacs.org>
9115 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9117 (SMART_INCLUDE): new macro.
9118 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9119 the proper location.
9121 * postgresql.c: use it.
9125 2000-03-24 Andy Piper <andy@xemacs.org>
9127 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9130 2000-03-24 Andy Piper <andy@xemacs.org>
9132 * redisplay-output.c (compare_runes): use image_instance_changed
9133 to detect changes. Do not depend on glyphs_changed, only depend on
9135 (redisplay_output_layout): add debug messages.
9136 (compare_runes): ditto.
9138 * glyphs.h: declare new functions.
9139 (struct Lisp_Image_Instance): remove percent and associated
9142 * gui.h: declare new copying functions.
9144 * gui.c (copy_gui_item_tree): new function.
9145 (copy_gui_item): new function.
9146 (gui_item_id_hash): revert to standard hash.
9147 (gui_item_hash): ditto.
9148 (gui_item_hash_internal): deleted.
9149 (mark_gui_item): mark value.
9150 (gui_item_add_keyval_pair): add value.
9151 (gui_item_init): ditto.
9152 (gui_add_item_keywords_to_plist): ditto.
9153 (gui_item_equal): ditto.
9154 (syms_of_gui): add Q_value.
9156 * glyphs-x.c (x_progress_gauge_update): use pending items and
9157 value for setting the state.
9158 (x_update_widget): don't set items from pending here.
9160 * glyphs-widget.c (update_widget): update items here.
9161 (progress_gauge_set_property): use items for storing value. Put
9162 new value in pending items.
9164 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9165 items for new value. Convert percent -> value.
9166 (mswindows_tab_control_update): don't update items here.
9168 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9169 (update_subwindow): ditto.
9170 (image_instance_changed): new function. Compare hash values and
9171 past and present widget items.
9172 (image_instantiate): We more careful about where we instantiate
9174 (image_instantiate): add error checking.
9176 * gutter.c (syms_of_gutter): use -hook.
9178 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9180 * console-tty.c (Fset_console_tty_input_coding_system): Use
9182 (Fset_console_tty_output_coding_system): Use Qterminal.
9183 (tty_init_console): Use Qkeyboard and Qterminal.
9185 2000-03-21 Ben Wing <ben@xemacs.org>
9187 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9188 From Mike Alexander <mta@arbortext.com>.
9190 2000-03-21 Ben Wing <ben@xemacs.org>
9192 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9193 process brokenness. Proper implementation to come.
9195 Rename call-process-internal to old-call-process-internal.
9196 New impl. in process.el.
9198 2000-03-21 Martin Buchholz <martin@xemacs.org>
9200 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9202 2000-03-20 Andy Piper <andy@xemacs.org>
9204 * glyphs.c (full_list_hash): make hashes of the same elements in
9205 different orders return different values.
9207 2000-03-20 Martin Buchholz <martin@xemacs.org>
9209 * XEmacs 21.2.32 is released.
9211 2000-03-20 Martin Buchholz <martin@xemacs.org>
9213 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9214 (DFC_MALLOC_USE_CONVERTED_DATA):
9215 Add aliasing-safe casts to allow use with char* or unsigned char*
9218 * eldap.c (Fldap_open):
9219 (Fldap_search_basic):
9222 Make C++-compilable.
9223 Make sure GCPRO'ed variables are initialized.
9224 Use temp variables to avoid repeated calls to Flength.
9226 2000-03-16 Martin Buchholz <martin@xemacs.org>
9229 Make sure PATH_MAX is always defined.
9230 Include limits.h for PATH_MAX.
9231 Deprecate use of MAXPATHLEN.
9233 2000-03-10 Martin Buchholz <martin@xemacs.org>
9235 * emacs.c: Add reinit_vars_of_fileio.
9236 * symsinit.h: Add reinit_vars_of_fileio.
9237 * fileio.c (reinit_vars_of_fileio): New.
9238 * fileio.c (Fmake_temp_name):
9239 Initialize temp_name random number from microseconds to make
9240 collisions even less likely. Initialize always at process startup
9241 time. (make-temp-name) used to return the same file name twice in
9243 Random stylistic fiddling.
9246 2000-03-20 Andy Piper <andy@xemacs.org>
9248 * glyphs.c (image_instantiate): allow text glyphs to be
9249 instantiated in the minibuffer window.
9251 2000-03-19 Andy Piper <andy@xemacs.org>
9253 * glyphs.c (image_instance_hash): be careful about which items we
9256 * glyphs-widget.c (tab_control_set_property): record into pending
9257 items rather than the actual items.
9259 * glyphs-x.c (x_update_widget): use pending items to update with.
9261 * glyphs-msw.c (mswindows_tab_control_update): use pending items
9264 * glyphs.c (mark_image_instance): mark pending items.
9266 * window.c (Fset_window_configuration): record the buffer.
9267 (Fselect_window): totally revert previous change which breaks many
9270 2000-03-18 Andy Piper <andy@xemacs.org>
9272 * glyphs-msw.c (mswindows_tab_control_update): force selected
9275 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9276 window domain cache, otherwise we get inconsistencies at
9277 startup. There is something fishy at startup which can lead to the
9278 minibuffer being the selected window when the gutter content is
9281 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9283 (parse_gui_item_tree_children): ditto.
9284 (parse_gui_item_tree_item): ditto.
9286 * glyphs.c (Fupdate_widget_instances): return something.
9288 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9290 * window.c (Fselect_window): Undo 2000-03-17 change.
9292 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
9294 * postgresql.c (Fpq_setenv): Remove this turkey when linking
9295 against v7.0 libraries. Insta-coredump city until the postgres
9298 2000-03-17 Andy Piper <andy@xemacs.org>
9300 * faces.c (complex_vars_of_faces): don't give the widget face an
9301 inherited background pixmap.
9303 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
9306 * event-stream.c (Fdispatch_non_command_events): return something.
9308 * gutter.c (output_gutter): use widget face.
9309 (clear_gutter): ditto.
9311 * NEWS: adjust again.
9313 * window.c (Fselect_window): make sure this runs to completion to
9314 avoid oddities with Fset_window_configuration.
9315 (Fcurrent_window_configuration): in general do not save the
9316 minibuffer as the selected window.
9318 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
9320 2000-03-16 Olivier Galibert <galibert@pobox.com>
9322 * emacs.c (Frunning_temacs_p): Revert previous patch.
9323 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
9325 2000-03-16 Andy Piper <andy@xemacs.org>
9327 * glyphs-x.c (x_tab_control_update): if no widget values then
9330 * NEWS: update for new features.
9332 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
9333 synthetic event to the native system.
9334 (reinit_vars_of_event_Xt): set force_event_pending to
9335 emacs_Xt_force_event_pending.
9337 * events.h (struct event_stream): add force_event_pending.
9339 * specifier.c (recompute_one_cached_specifier_in_window): add
9342 * redisplay.c (redisplay_frame): don't call
9343 update_frame_subwindows. Reset subwindow cachels when
9344 subwindows_changed, removing this was an optimization too far.
9346 * redisplay-output.c (compare_runes): reorganize so that we catch
9347 glyph changes when we want them. Set optimize_output when this
9349 (redisplay_output_layout): remove frame_really_changed, use
9350 optimize_output instead.
9352 * redisplay-msw.c (mswindows_output_display_block): reset
9353 optimize_output after outputting a glyph.
9354 * redisplay-x.c (x_output_display_block): ditto.
9355 * redisplay-tty.c (tty_output_display_block): ditto.
9357 * gutter.c: (specifier_vars_of_gutter): use new spec changed
9359 (gutter_specs_changed): do specific gutter positions.
9360 (top_gutter_specs_changed): new function. Only update the
9361 specified gutter specs.
9362 (bottom_gutter_specs_changed): ditto.
9363 (left_gutter_specs_changed): ditto.
9364 (right_gutter_specs_changed): ditto.
9366 * gui.c (gui_item_hash_internal): new function, does a real hash.
9367 (gui_item_id_hash): use it.
9368 (gui_item_hash): hash the eval'ed gui_item.
9370 * gui-x.c (popup_selection_callback): send an eval event to call
9371 Fupdate_widget_instances.
9373 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
9374 to call Fupdate_widget_instances.
9376 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
9377 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
9379 * glyphs.c: (update_frame_subwindows): deleted.
9380 (Fupdate_widget_instances): new function for updating the dirty
9381 state of widgets that might have changed.
9382 (syms_of_glyphs): add Qupdate_widget_instances.
9383 (full_list_hash): hash a list completely.
9384 (image_instance_hash): use it for items and properties.
9386 * frame-msw.c (mswindows_size_frame_internal): remove unused
9389 * faces.h (struct face_cachel): fix comment.
9391 * event-stream.c (Fdispatch_non_command_events): new
9392 function. Process non-command events, forcing an event cycle
9394 (syms_of_event_stream): declare.
9395 (event_stream_force_event_pending): new function. Force an event
9396 on the native event queue so that an event cycle will occur next
9400 (struct ntpipe_shove_stream):
9401 (mswindows_enqueue_dispatch_event):
9402 (mswindows_dequeue_dispatch_event):
9403 (mswindows_cancel_dispatch_event):
9404 (mswindows_pump_outstanding_events):
9405 (mswindows_drain_windows_queue):
9406 (mswindows_handle_paint):
9407 (mswindows_wnd_proc):
9408 (mswindows_key_to_emacs_keysym):
9409 (get_process_input_waitable):
9410 (emacs_mswindows_delete_stream_pair): re-indent file.
9411 (mswindows_need_event): do not process further fds if the windows
9412 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
9413 fixes the 100% cpu problem.
9414 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
9416 2000-03-15 Olivier Galibert <galibert@pobox.com>
9422 * emacs.c: Moved dump file searching to dumper.c.
9423 (Frunning_temacs_p): Fixed.
9425 * alloc.c: Moved everything pdump-related to dumper.c. Removed
9426 last_lrecord_type_index_assigned.
9428 2000-02-20 Olivier Galibert <galibert@pobox.com>
9430 * symsinit.h: Added reinit parameter to init_console_stream
9433 * lisp.h: Added file parameter to pdump_load declaration.
9435 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
9436 support. Added dump file searching.
9438 * config.h.in: Added EMACS_PROGNAME.
9440 * console-stream.c (init_console_stream): Fix reinitialisation
9441 when running from temacs.
9443 * alloc.c (pdump): Add id support.
9444 (pdump_load): Add file parameter and signature/id support.
9446 * Makefile.in.in: Add full pdump support.
9448 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
9450 * postgresql.c: Update documentation to reflect latest code
9452 (print_result): Show tuple counts in printed representation when
9454 (Fpq_put_nbytes): MULE-ize.
9455 (Fpq_get_line_async): Ditto.
9457 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9459 * postgresql.c (Fpq_lo_import): Fix return value.
9460 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
9462 2000-03-13 Ben Wing <ben@xemacs.org>
9464 * alloc.c (pdump_load):
9465 Fix compile warning under mswin.
9467 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9469 * postgresql.c: Mule-ization, bug fixes.
9470 Use PG_CODING to encapsulate coding system name changes.
9471 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
9472 (pg-coding-system): Create.
9474 (Fpq_conn_defaults): Mule-ize.
9475 (Fpq_connectdb): Mule-ize & bug fix.
9476 (Fpq_connect_start): Mule-ize.
9477 (Fpq_set_client_encoding): Mule-ize.
9478 (Fpq_finish): Document `DEAD' connection status.
9480 (Fpq_pgconn): Mule-ize.
9481 (Fpq_exec): Mule-ize & bug fix.
9482 (Fpq_send_query): Ditto.
9483 (Fpq_get_result): Ditto.
9484 (Fpq_res_status): Mule-ize.
9485 (Fpq_result_error_message): Mule-ize.
9486 (Fpq_ntuples): fix comments.
9487 (Fpq_fname): Mule-ize.
9488 (Fpq_fnumber): Mule-ize.
9489 (Fpq_ftype): fix comments.
9490 (Fpq_get_value): Mule-ize.
9491 (Fpq_cmd_status): Ditto.
9492 (Fpq_cmd_tuples): Ditto.
9493 (Fpq_oid_value): Ditto.
9494 (Fpq_notifies): Ditto.
9495 (Fpq_lo_import): Ditto.
9496 (Fpq_lo_export): Ditto.
9497 (Fpq_get_line): Ditto.
9498 (Fpq_put_line): Mule-ize and bug fix.
9499 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
9501 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9503 * postgresql.c (vars_of_postgresql): Mule-ize.
9504 (Fpq_conn_defaults): Ditto.
9506 2000-03-12 Ben Wing <ben@xemacs.org>
9508 * alloc.c (Fmake_byte_code):
9509 * alloc.c (debug_string_purity_print):
9510 * alloc.c (pdump_backtrace):
9511 * alloc.c (pdump_get_indirect_count):
9512 * alloc.c (pdump_register_sub):
9513 * alloc.c (pdump_register_object):
9514 * alloc.c (pdump_register_struct):
9515 * alloc.c (pdump_dump_data):
9516 * alloc.c (pdump_reloc_one):
9520 * console-msw.c (GetConsoleHwnd):
9521 * console-msw.c (msw_hide_console):
9522 * console-msw.c (msw_show_console):
9523 * console-msw.c (msw_ensure_console_buffered):
9524 * console-msw.c (msw_output_console_string):
9525 * console-msw.c (console_type_create_mswindows):
9527 a) Added functions to manipulate the console window for use with
9530 b) Added support for writing text to the console, which is now
9531 used under Windows when xemacs is not being run non-interactively,
9532 to write text that would otherwise be destined for stdout because
9533 under these circumstances, text written to stdout tends to
9534 disappear and not be seen.
9538 * event-Xt.c (x_event_to_emacs_event):
9539 * event-Xt.c (describe_event_window):
9540 * events-mod.h (XEMACS_MOD_CONTROL):
9542 * events.c (Fmake_event):
9543 * events.c (character_to_event):
9544 * events.c (event_to_character):
9545 * events.c (format_event_object):
9546 * events.c (Fevent_modifiers):
9548 * events.h (struct key_data):
9549 * events.h (struct button_data):
9550 * events.h (struct misc_user_data):
9551 * frame-x.c (Fcde_start_drag_internal):
9552 * frame-x.c (Foffix_start_drag_internal):
9553 * gpmevent.c (Freceive_gpm_event):
9555 * keymap.c (bucky_sym_to_bucky_bit):
9556 * keymap.c (control_meta_superify):
9557 * keymap.c (make_key_description):
9558 * keymap.c (keymap_lookup_directly):
9559 * keymap.c (create_bucky_submap):
9560 * keymap.c (keymap_store):
9561 * keymap.c (define_key_check_and_coerce_keysym):
9562 * keymap.c (define_key_parser):
9563 * keymap.c (define_key_alternate_name):
9564 * keymap.c (Fdefine_key):
9565 * keymap.c (raw_lookup_key_mapper):
9566 * keymap.c (struct map_keymap_unsorted_closure):
9567 * keymap.c (map_keymap_unsorted_mapper):
9568 * keymap.c (map_keymap_sort_predicate):
9569 * keymap.c (map_keymap_sorted):
9570 * keymap.c (accessible_keymaps_mapper_1):
9571 * keymap.c (where_is_recursive_mapper):
9572 * keymap.c (describe_map_mapper):
9573 * keymap.c (describe_map_sort_predicate):
9574 * keymap.c (describe_map):
9575 * keymap.c (complex_vars_of_keymap):
9576 And a number of other files, the key modifier preprocessor
9577 constants that xemacs uses have names that conflict with constants
9578 defined under MS Windows for other purposes, so they were renamed
9579 to begin with the prefix XEMACS_. The variables that hold such
9580 modifiers were changed to consistently be of type int to fix
9581 various compile warnings.
9583 * console.c (complex_vars_of_console):
9586 * device-msw.c (mswindows_finish_init_device):
9587 * device-msw.c (msw_get_workspace_coords):
9588 * device-msw.c (mswindows_device_system_metrics):
9589 and various other files, added support for a new
9590 device property called offset-workspace which returns the position
9591 of the upper left corner of the workspace area and goes along with
9592 the existing size-workspace property.
9595 * dialog-msw.c (push_bufbyte_string_as_unicode):
9596 * dialog-msw.c (mswindows_popup_dialog_box):
9597 Added support for XEmacs-style accelerator specifications in
9598 button text. Note: I didn't add support for this under X Windows,
9599 and somebody needs to do this.
9602 * dialog.c (Fpopup_dialog_box):
9603 Documented the support for accelerators that was just mentioned.
9605 editfns.c (get_home_directory): Changed behavior under Windows
9606 when HOME not defined; former behavior was irretrievably broken.
9611 * minibuf.c (clear_echo_area_internal):
9612 * minibuf.c (echo_area_append):
9614 * print.c (std_handle_out_external):
9615 * print.c (std_handle_out_va):
9617 * print.c (write_string_to_stdio_stream):
9618 * print.c (output_string):
9619 * print.c (debug_print):
9620 * print.c (debug_backtrace):
9621 * print.c (debug_short_backtrace):
9622 Cleaned up the code that prints text to stdout so that this can be
9623 changed to output into a console window instead under MS Windows,
9627 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
9628 * eval.c (internal_catch):
9629 * eval.c (unwind_to_catch):
9630 * eval.c (throw_or_bomb_out):
9631 * eval.c (condition_case_1):
9632 * eval.c (signal_1):
9633 * eval.c (check_error_state_sanity):
9634 * eval.c (call_with_suspended_errors_1):
9635 * eval.c (call_with_suspended_errors):
9636 * eval.c (reinit_vars_of_eval):
9637 Added code to catch throw loops and check for a pesky bug that may
9641 * event-msw.c (key_needs_default_processing_p):
9642 * event-msw.c (mswindows_wnd_proc):
9643 * event-msw.c (mswindows_modifier_state):
9644 * event-msw.c (emacs_mswindows_quit_p):
9645 * event-msw.c (vars_of_event_mswindows):
9646 a) Added support for using the alt key to select menu items as is
9647 standard under MS Windows. This is controlled using the variable
9648 menu-accelerator-enabled, just like under X Windows. There is an
9649 option on the options menu to turn this support on. I really
9650 think that it should be on by default under Windows, but I'm not
9651 going to make this change yet.
9653 b) Added support for dynamic display size changes under Windows.
9656 * event-stream.c (maybe_echo_keys):
9657 * event-stream.c (Fnext_event):
9658 * event-stream.c (command_builder_find_leaf):
9659 * event-stream.c (lookup_command_event):
9660 * event-stream.c (execute_command_event):
9661 * event-stream.c (pre_command_hook):
9662 * event-stream.c (post_command_hook):
9663 * event-stream.c (syms_of_event_stream):
9664 * event-stream.c (vars_of_event_stream):
9665 * event-stream.c (complex_vars_of_event_stream):
9666 * events.h (struct command_builder):
9668 a) Tried to clean up a little bit the horribly written x-specific
9669 accelerator code that crept into this file. I moved this code
9670 into menubar-x.c where it belongs. I also needed to move the
9671 command builder structure into the file events.h because it is
9672 accessed directly by this accelerator code. What I didn't do, but
9673 which should be done at some point, is to properly abstract this
9674 code using device methods instead of the kludgy way that it
9675 currently hooks into the event code.
9677 b) Added the lisp variables this-command-properties and
9678 last-command- properties, which should be used to synchronize two
9679 adjacent commands in preference to playing games with the variable
9680 this-command, which is typically what happens.
9682 c) Added some slightly nasty code to hook into the lisp support
9683 for shifted- motion-key selection. This is actually necessary for
9684 somewhat complicated reasons, which are described in
9685 simple.el. (NB: I think the proper thing would be to have the code
9686 that calls the pre and post command hooks also call out to generic
9687 lisp functions in simple.el, where all built-in stuff could be
9688 added. I will think about this more.)
9690 * event-unixoid.c (poll_fds_for_input):
9691 * lread.c (readchar):
9692 * redisplay-tty.c (tty_clear_frame):
9693 * redisplay-x.c (x_get_gc):
9694 * signal.c (interrupt_signal):
9695 And a whole bunch of other files: fixed up places that printed
9696 directly to stderr to instead call the function stderr_out so that
9697 the changes I made under Windows work correctly.
9699 * filemode.c (mode_string):
9703 * frame-msw.c (mswindows_size_frame_internal):
9704 Fixed the computation of frame size and position to keep the frame
9705 within the workspace area, rather than within the physical
9706 dimensions of the screen, so that the frame doesn't overlap window
9707 manager decorations, such as the start menu and toolbar, typically
9708 at the bottom of the screen.
9710 * frame.c (vars_of_frame):
9711 Changed the default frame title format under MS Windows to consist
9712 of buffername-XEmacs, which is standard under MS Windows. I think
9713 it might be a good idea to change this everywhere because I think
9714 it is superior to the current frame title format, but this is the
9715 kind of change that is likely to cause some people to get annoyed,
9716 so I'm not making it.
9718 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
9720 * gui-msw.c (mswindows_handle_gui_wm_command):
9721 Fixed compile warnings.
9724 * gui-x.c (strdup_and_add_accel):
9725 * gui-x.c (button_item_to_widget_value):
9727 Added code to automatically put an accelerator onto the beginning
9728 of menu items that don't have one as is now the standard, and is
9729 described more later. Also fixed things so that the menu item
9730 name can be an evaluated expression, again a new standard.
9733 * gui.c (gui_item_add_keyval_pair):
9734 * gui.c (make_gui_item_from_keywords_internal):
9735 * gui.c (gui_add_item_keywords_to_plist):
9736 * gui.c (gui_item_accelerator):
9737 * gui.c (gui_name_accelerator):
9738 * gui.c (gui_item_included_p):
9739 * gui.c (gui_item_display_flush_left):
9740 * gui.c (gui_item_display_flush_right):
9741 * gui.c (parse_gui_item_tree_item):
9742 * gui.c (parse_gui_item_tree_children):
9743 * gui.c (parse_gui_item_tree_list):
9744 Mule-ized. Cleanup. GCPRO addition.
9746 * line-number.c (buffer_line_number):
9748 * lisp.h (EMACS_INT_MAX):
9749 Added the manifest constant EMACS_INT_MIN corresponding to the
9750 existing constant EMACS_INT_MAX. This is partially to fix compile
9751 warnings under Windows, and partly for cleanliness.
9754 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
9755 * menubar-msw.c (msw_translate_menu_or_dialog_item):
9756 * menubar-msw.c (displayable_menu_item):
9757 * menubar-msw.c (populate_menu_add_item):
9758 * menubar-msw.c (populate_or_checksum_helper):
9759 * menubar-msw.c (populate_menu):
9760 * menubar-msw.c (update_frame_menubar_maybe):
9761 * menubar-msw.c (prune_menubar):
9762 * menubar-msw.c (msw_char_is_accelerator):
9763 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
9764 * menubar-msw.c (mswindows_handle_wm_command):
9765 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
9766 * menubar-msw.c (mswindows_handle_wm_initmenu):
9767 * menubar-msw.c (mswindows_update_frame_menubars):
9768 * menubar-msw.c (mswindows_free_frame_menubars):
9769 * menubar-msw.c (mswindows_popup_menu):
9770 Fixed a bug in handling accelerators where an extra character
9771 would be displayed in the menu item. Also generalized the
9772 function displayable_menu_item because it is now used by the
9773 dialog box code as well. And finally, added code in the functions
9774 that create the menubar to extract a list of accelerators for the
9775 top level menubar, which is used in the event code to determine
9776 whether a particular alt-key combination should be used to invoke
9777 a menu item, or should be passed through to access the standard
9778 XEmacs keymap binding for this key combination.
9780 Much needed GCPROing.
9783 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9784 * menubar-x.c (menu_item_descriptor_to_widget_value):
9785 * menubar-x.c (restore_in_menu_callback):
9786 * menubar-x.c (x_popup_menu):
9787 * menubar-x.c (menu_move_up):
9788 * menubar-x.c (menu_move_down):
9789 * menubar-x.c (menu_move_left):
9790 * menubar-x.c (menu_move_right):
9791 * menubar-x.c (menu_select_item):
9792 * menubar-x.c (command_builder_operate_menu_accelerator):
9793 * menubar-x.c (menu_accelerator_junk_on_error):
9794 * menubar-x.c (command_builder_find_menu_accelerator):
9795 * menubar-x.c (Faccelerate_menu):
9797 Moved a whole bunch of code here that was previously in
9798 event-stream.c as described above. There is also code connected
9799 to the new standard of adding an accelerator to the beginning of
9800 menu items that don't have one as described above and below.
9803 * menubar.c (menu_parse_submenu_keywords):
9804 * menubar.c (Fmenu_find_real_submenu):
9805 * menubar.c (Fnormalize_menu_item_name):
9806 * menubar.c (syms_of_menubar):
9807 * menubar.c (vars_of_menubar):
9808 * menubar.c (complex_vars_of_menubar):
9810 a) Cleaned up a bunch of documentation and improved it.
9812 b) XEmacs now automatically adds an accelerator onto the beginning
9813 of any menu items that don't have one. I did this because there
9814 will inevitably be some menu items on the main menubar that don't
9815 have accelerators on them because the package that adds that
9816 particular menu item hasn't yet been fixed up to have accelerators
9817 in them and it looked rather strange to have some items with and
9818 some items without accelerators, especially since even in items
9819 without accelerators, you can, at least under windows, still
9820 access the item through an accelerator corresponding to the first
9821 character in the item's name. If people don't like this behavior,
9822 I can add a variable to turn it off optionally, but I'm not sure
9823 this is a good idea because we really do need to have accelerators
9824 on all of the menu items, and if a package doesn't like the
9825 accelerators being put on the first character, then it should put
9826 the accelerators where they belong.
9828 c) I made a behavior change, which is that the descriptor that
9829 specifies the text of the menu item, which formerly was just a
9830 string, can now also be an evaluated expression. This makes this
9831 descriptor parallel with all of the others, which could also be
9832 evaluated expressions. This also obviates the need for the
9833 keyword :label, which was previously listed in the documentation
9834 as unimplemented, and which was for the same purpose.
9839 * ntproc.c (new_child):
9840 * ntproc.c (sys_spawnve):
9841 * ntproc.c (find_child_console):
9842 * ntproc.c (sys_kill):
9843 Fixed compile warnings. By the way, this file should really go
9844 away entirely, and this will happen as soon as Kirill makes his
9845 final round of process cleanups, which affect the function
9849 * process-nt.c (struct nt_process_data):
9850 * process-nt.c (find_process_from_pid):
9851 * process-nt.c (send_signal_the_nt_way):
9852 * process-nt.c (enable_child_signals):
9853 * process-nt.c (find_child_console):
9854 * process-nt.c (send_signal_the_95_way):
9855 * process-nt.c (nt_finalize_process_data):
9856 * process-nt.c (ensure_console_window_exists):
9857 * process-nt.c (nt_create_process):
9858 * process-nt.c (nt_kill_child_process):
9859 * process-nt.c (nt_kill_process_by_pid):
9860 * process-nt.c (nt_open_network_stream):
9861 * process-nt.c (vars_of_process_nt):
9862 Copied over code from Emacs 20.5 to correctly send signals to sub-
9863 processes under Windows 95. Also added code to automatically
9864 create and hide console window when a sub-process is created under
9865 Windows 95, which obviates the need for the separate runemacs.exe
9866 executable, and finally implemented some variables that were
9867 implemented in Emacs 20.5, but previously not in XEmacs. These
9868 include mswindows- start-process-share-console and
9869 mswindows-start-process-inherit-error-mode. (Both of these only
9870 apply to Windows 95.)
9872 * regex.c (regex_compile): Fixed a compile warning.
9875 * select-msw.c (mswindows_own_selection):
9876 * select-msw.c (mswindows_get_foreign_selection):
9877 * select-msw.c (mswindows_disown_selection):
9878 * select-msw.c (console_type_create_select_mswindows):
9879 * select-msw.c (syms_of_select_mswindows):
9880 Cleaned up the file and implemented the device method
9881 selection_exists_p, which had accidentally been left out. Also
9882 removed four lisp functions that were remnants from before the
9883 time when the selection code was properly device abstracted.
9884 These functions are no longer needed because there are generic
9885 equivalents, and because they were added recently and don't exist
9886 in FSF Emacs, I don't think there's any problem with just deleting
9890 * sysdep.c (sys_subshell):
9891 Fixed a compile warning, although in this case there's probably
9892 something wrong with this code, and it ought to be looked into
9893 more thoroughly by somebody who understands it.
9896 * window.c (Fwindow_text_area_height):
9897 * window.c (Fwindow_width):
9898 * window.c (Fwindow_full_width):
9899 * window.c (Fwindow_pixel_width):
9900 * window.c (debug_print_window):
9901 * window.c (syms_of_window):
9902 Added functions window-text-area-height and window-full-width,
9903 which are functions for returning various width and height
9904 characteristics of a window. (One of these functions is necessary
9905 for making the file dialog box work correctly, and the other one
9906 was added for completeness.) Also added a table to the
9907 documentation for window-height which describes the entire scheme
9908 for accessing width and height characteristics of a window.
9910 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9912 * nt.c (fstat): Added a comment for another problem with
9913 non-encapsulated [f]stat(), reported by Adrian Aichner
9914 <aichner@ecf.teradyne.com>.
9916 2000-03-11 Andy Piper <andy@xemacs.org>
9918 * window.c (make_dummy_parent): initialize subwindow instance
9920 (Fset_window_configuration): zero extent_modiff.
9922 2000-03-10 Andy Piper <andy@xemacs.org>
9924 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
9925 more changes can be triggered.
9926 (Fredisplay_frame): ditto.
9927 (Fredraw_device): ditto.
9928 (Fredisplay_device): ditto.
9929 (redisplay_frame): make non-static.
9930 (redisplay_frame): call update_frame_gutter_geometry outside of
9933 * gutter.h: declare update_frame_gutter_geometry.
9935 * redisplay.h: declare redisplay_frame.
9937 * gutter.c (update_frame_gutter_geometry): move geometry changes
9938 in update_frame_gutters here. Geometry changes can only occur
9939 outside of redisplay.
9940 (update_frame_gutters): remove geometry change code.
9941 (Fredisplay_gutter_area): make sure that we are in display when we
9942 update and that we have flushed any size changes.
9944 2000-03-11 Andy Piper <andy@xemacs.org>
9946 * alloc.c (pdump_dump_data): remove i & count shadows.
9948 2000-02-27 Mike Alexander <mta@arbortext.com>
9950 * sysdep.h: Declare pdump_read_file
9952 * sysdep.c (pdump_read_file): New function
9954 * alloc.c (pdump_load): Call pdump_read_file to get the portable
9957 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9959 * lrecord.h: add `lrecord_type_pgsetenv'.
9961 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
9963 * symsinit.h: declare (vars|syms)_of* functions.
9964 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
9966 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
9968 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
9970 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
9973 * emacs.c (main_1): Call postgres initialization code.
9975 * postgresql.h: New file. PostgreSQL RDBMS support.
9976 * postgresql.c: New file.
9978 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9980 * redisplay-output.c (redisplay_output_display_block): Disable
9983 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9985 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
9986 (Fcanna_henkan_next): Ditto.
9987 (Fcanna_bunsetu_henkou): Ditto.
9988 (Fcanna_henkan_kakutei): Ditto.
9989 (Fcanna_henkan_end): Ditto.
9990 (Fcanna_henkan_quit): Ditto.
9991 (Fcanna_henkan_next): Set retun value correctly.
9992 (c2mu): Use unsigned char instead of signed char.
9994 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9996 * emacs.c (main_1): Always call syms_of_gui.
9997 * inline.c: include gui.h
9999 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10001 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
10002 converted to Lisp_Object.
10003 (Qtop_bottom): New variable.
10004 (syms_of_redisplay): Initialize it.
10005 * redisplay.h (Vvisible_bell): Ditto.
10006 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
10007 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
10008 only flash top and bottom.
10010 2000-03-08 Andy Piper <andy@xemacs.org>
10012 * buffer.c (Frename_buffer): record new buffer name the right way.
10014 2000-03-08 Andy Piper <andy@xemacs.org>
10016 * glyphs.c (update_subwindow): increase hash depth so that widget
10017 items get picked up properly.
10019 * redisplay-output.c (compare_runes): increase hash depth so that
10020 widget items get picked up properly.
10022 2000-03-08 Andy Piper <andy@xemacs.org>
10024 * gutter.c (output_gutter): add some debug.
10026 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
10027 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
10028 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
10030 * redisplay-output.c (compare_runes): use display_hash to
10031 determine if glyphs really are not the same.
10033 * glyphs.c (update_subwindow): check display_hash to see if
10034 anything really needs to be updated. If not then do
10035 nothing. Record the display_hash after updating.
10036 (image_instance_equal): compare the image_instance face also.
10038 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
10040 * redisplay.h: Fix comment style.
10042 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
10044 * consle-msw.h (struct mswindows_frame):
10045 Added new member paint_pending to indicate whether a WM_PAINT
10046 magic event has been queued for this frame.
10048 * event-msw.c (mswindows_drain_windows_queue):
10049 Don't queue a WM_PAINT magic event if one is already queued.
10050 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
10052 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
10054 2000-03-07 Didier Verna <didier@xemacs.org>
10056 * dired.c: #include `regex.h' after `sysfile.h'.
10058 2000-03-06 Martin Buchholz <martin@xemacs.org>
10060 * sound.c (init_nas_sound): Fix compiler warning.
10062 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10064 (MARK_STRUCT_AS_FREE):
10065 (MARK_STRUCT_AS_NOT_FREE):
10066 Make `gcc -fstrict-aliasing' work properly.
10068 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10070 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10071 (mswindows_delete_device): Call CoUnnitialize().
10073 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10075 2000-02-25 <CraigL@DyCon.com>
10077 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10080 * sysdep.c: This extern declaration for environ prevents MinGW
10081 from finding the variable in CRTDLL.DLL.
10083 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10085 (SHGFI_EXETYPE): ..
10086 (WM_MOUSEWHEEL): ..
10087 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10089 (MMRESULT): Removed, now defined in cygwin's windows headers.
10091 (uid_t,gid_t,pid_t,ssize_t): ..
10092 (_timeb): Removed, MinGW defines both _timeb and timeb.
10093 (HAVE_H_ERRNO): Added.
10094 (HAVE_TZNAME): Added, configure is not detecting this.
10096 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10098 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10099 * syntax.c (syntax_match): Use it.
10101 * cmds.c: Import auto-fill-chars from FSF Emacs.
10102 (Vauto_fill_chars): New variables.
10103 (internal_self_insert): Check Vauto_fill_chars.
10105 Declare auto-fill-chars as a Lisp variable and initialize it.
10107 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10109 * fileio.c (Fmake_symbolic_link):
10111 Run handlers even if local machine doesn't have symlinks.
10113 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10115 * event-msw.c (mswindows_drain_windows_queue):
10116 Don't generate paint magic events for non-XEmacs frames.
10118 2000-03-05 Andy Piper <andy@xemacs.org>
10120 * redisplay.c (redisplay_frame): generate_displayable_area and
10121 friends assumes that we are not in GC, we therefore have to make
10122 sure that this doesn't happen.
10124 * gutter.c (calculate_gutter_size): generate_displayable_area
10125 assumes that we are not in GC, we therefore have to make sure that
10126 this doesn't happen.
10128 2000-03-05 Martin Buchholz <martin@xemacs.org>
10130 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10132 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10134 * redisplay.c (regenerate_window): Make sure we set a sane value
10135 for end_pos even if we jump out of the loop.
10136 (regenerate_window): Answer Ben's question :-).
10137 (start_end_of_last_line): Add may_error argument.
10138 (start_of_last_line):
10139 (end_of_last_line): Pass may_error = 0.
10140 (end_of_last_line_may_error): New function.
10141 (pixel_to_glyph_translation): Use it, so we don't crash in
10144 2000-03-04 Andy Piper <andy@xemacs.org>
10146 * window.h (struct window): add gutter_extent_modiff.
10148 * window.c (allocate_window): zero out gutter_extent_modiff.
10150 * redisplay.h: declare sync_display_line_structs.
10152 * redisplay.c (add_glyph_rune): add a better comment.
10154 * redisplay-output.c (sync_display_line_structs): made non-static.
10155 (compare_runes): remove unneccesary glyph cachel access.
10157 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10159 * gutter.c (output_gutter): don't output the gutter if extent
10160 changes only involve extents in buffers. use 4 sets of display
10162 (gutter_extent_signal_changed_region_maybe): new function. Mark
10163 extents in gutters as changed.
10164 (update_frame_gutters): use 4 sets of display lines.
10165 (reset_gutter_display_lines): ditto.
10166 (free_frame_gutters): ditto.
10167 (redraw_exposed_gutter): force output of gutters.
10169 * frame.h (struct frame): add 4 sets of gutter display lines.
10171 * extents.c: (extent_changed_for_redisplay): signal changes to
10172 extents in strings in the gutter as well as extents in buffers.
10174 2000-03-02 Andy Piper <andy@xemacs.org>
10176 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10178 * frame.c (Fmake_frame): make sure the gutters get initialized
10179 after the frame is visible.
10180 (set_frame_selected_window): re-arrange compilation macros a
10182 (change_frame_size_1): mark gutters changed.
10184 * device.c (Fset_device_class): mark gutters changed.
10186 2000-03-01 Andy Piper <andy@xemacs.org>
10188 * window.c (window_top_frame_gutter_height): deleted.
10189 (window_bottom_frame_gutter_height): ditto.
10190 (window_left_frame_gutter_height): ditto.
10191 (window_right_frame_gutter_height): ditto.
10192 (window_top_gutter_height): don't use them.
10193 (window_bottom_gutter_height): ditto.
10194 (window_left_gutter_width): ditto.
10195 (window_right_gutter_width): ditto.
10196 (Fsplit_window): ditto.
10197 (Fwindow_pixel_edges): don't use border dimensions here.
10199 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10200 (update_scrollbar_instance): ditto.
10202 * redisplay.c (generate_modeline): don't take gutters into account.
10203 (generate_modeline): ditto.
10204 (redisplay_frame): small gutter display optimization.
10206 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10208 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10209 gutters into account.
10211 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10212 for window position and type.
10214 * gutter.c (get_gutter_coords): fix for frame gutters.
10215 (update_frame_gutters): update frame geometry if the gutters have
10217 (init_frame_gutters): record current gutter geometries.
10219 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10221 (mswindows_widget_instantiate): ditto.
10223 * frame.h (struct frame): add current_gutter_bounds.
10225 * frame.c (change_frame_size_1): position window and minibuffer
10226 appropriately taking into account the frame gutters.
10228 * frame-x.c: (x_initialize_frame_size): take into account the
10231 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10233 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
10235 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10237 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
10239 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10241 * file-coding.c (reset_decoding_stream): Clear previous
10242 detection state when autodetect.
10244 2000-02-29 Didier Verna <didier@xemacs.org>
10246 * extents.c (set_extent_glyph_1): don't require extents to be
10249 2000-02-27 Andy Piper <andy@xemacs.org>
10251 * gutter.c (Fset_default_gutter_position): don't default left and
10252 right gutter visibility to t.
10253 (Fset_default_gutter_position): run
10254 default-gutter-position-changed-hook.
10255 (syms_of_gutter): add default-gutter-position-changed-hook.
10257 2000-02-26 Andy Piper <andy@xemacs.org>
10259 * specifier.c (Fmake_specifier): add gutter references.
10261 * gutter.h (RAW_WINDOW_GUTTER): new macro.
10263 * lisp.h: declare Fvalid_plist_p.
10265 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10267 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10268 well as its visibility so that it gets reconstructed.
10269 (construct_window_gutter_spec): new function. Construct a string
10270 to be displayed in the gutter from a plist of strings. Take care
10271 to only use elements that are declared as visible.
10272 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10274 (gutter_validate): allow plists of strings in the specifier.
10275 (gutter_specs_changed): construct the real_gutter from the gutter
10276 specs using construct_window_gutter_spec.
10277 (gutter_visible_validate): gutter-visible is a new specifier type.
10278 (Fgutter_visible_specifier_p): new function for the new specifier.
10279 (syms_of_gutter): declare gutter-visible and
10280 Fgutter_visible_specifier_p.
10281 (specifier_type_create_gutter): intitalize new gutter-visible
10283 (reinit_specifier_type_create_gutter): ditto.
10284 (specifier_vars_of_gutter): use new specifier type for gutter
10286 (init_frame_gutters): construct real_gutter correctly.
10287 (Fgutter_specifier_p): beef up documentation.
10288 (Fgutter_size_specifier_p): ditto.
10290 * winslots.h: add real_gutter slots.
10292 2000-02-25 Andy Piper <andy@xemacs.org>
10294 * device-msw.c: Be kind to older cygwin versions. From Raymond
10295 Toy <toy@rtp.ericsson.se>.
10297 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
10298 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
10300 2000-02-25 Martin Buchholz <martin@xemacs.org>
10302 * elhash.c (MARK_OBJ): Practice macro hygiene.
10304 2000-02-24 Martin Buchholz <martin@xemacs.org>
10306 * miscplay.c: s/__inline__/inline/g;
10307 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
10308 (get_device_compdc): INLINE ==> static inline
10309 * *.[ch]: Change INLINE to INLINE_HEADER globally.
10310 find -name '*.h' | \
10311 xargs global-replace \
10312 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
10314 2000-02-25 Andy Piper <andy@xemacs.org>
10316 * window.c (window_top_frame_gutter_height): new function.
10317 (window_top_window_gutter_height): ditto.
10318 (window_top_gutter_height): use them.
10319 (window_bottom_frame_gutter_height): new function.
10320 (window_bottom_window_gutter_height): ditto.
10321 (window_bottom_gutter_height): use them.
10322 (window_left_window_gutter_width): new function.
10323 (window_left_frame_gutter_width): ditto.
10324 (window_left_gutter_width): use them.
10325 (window_right_window_gutter_width): new function.
10326 (window_right_frame_gutter_width): ditto.
10327 (window_right_gutter_width): use them.
10328 (window_pixel_height): new function. calulate window pixel height
10329 with frame gutter involvement.
10330 (Fsplit_window): calculate new sizes taking frame gutters into
10332 (window_char_height_to_pixel_height): don't include frame gutters.
10333 (window_char_height): use window_pixel_height.
10334 (window_pixheight): rename from window_pixel_height.
10335 (change_window_height): use it.
10336 (window_pixel_height_to_char_height): don't include frame gutters.
10337 (window_char_width_to_pixel_width): ditto.
10339 2000-02-25 Andy Piper <andy@xemacs.org>
10341 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
10344 2000-02-24 Martin Buchholz <martin@xemacs.org>
10346 * alloc.c (staticpro):
10347 (staticpro_nodump):
10352 (compact_string_chars):
10353 (pdump_dump_wired):
10354 Convert: if (foo) abort(); ==> assert (! foo);
10356 * eldap.c (Fldap_search_basic):
10360 Fix compiler warnings, and possible crashes if (random) return
10361 value were to be used.
10363 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10365 * device-msw.c: Workaround ResetDC failure.
10367 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
10368 applying a devmode.
10370 * redisplay-msw.c (get_frame_dc): Added start_page_p.
10371 (mswindows_text_width): Do not start printer page.
10373 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
10375 * glyphs-msw.c: Added image methods to msprinter console and
10376 msprinter-specific image instantiation.
10378 2000-02-20 Mike Alexander <mta@arbortext.com>
10380 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
10381 to avoid crashes when selection-sets-clipboard is on
10382 (mswindows_own_selection): ditto
10384 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10387 * redisplay-msw.c (get_frame_dc):
10388 (get_frame_compdc):
10390 * device-msw.c (mswindows_init_device):
10391 (mswindows_delete_device):
10392 (msprinter_init_device):
10393 (msprinter_delete_device):
10394 * frame-msw.c (mswindows_init_frame_1):
10395 (mswindows_delete_frame):
10396 (msprinter_init_frame_3):
10397 (msprinter_delete_frame): Move compatible DC to device object from
10398 frame object, for both mswindows and msprinter. Only one at a time
10399 is needed, it is a real waste to have one per frame!
10401 2000-02-23 Andy Piper <andy@xemacs.org>
10403 * glyphs.c: add dynamic width and height elements.
10404 (image_instance_equal): ditto.
10406 * glyphs-widget.c (widget_query_geometry): calculate width and
10407 height dynamically if required.
10408 (initialize_widget_image_instance): initialize dynamic dimensions.
10409 (widget_instantiate): pick-up dynamic dimensions.
10411 * glyphs.h (struct Lisp_Image_Instance): add width and height for
10412 dynamic determination. Add appropriate macros.
10414 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
10416 (WINDOW_GUTTER_SIZE): ditto.
10417 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
10419 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
10421 (get_frame_dc): ditto.
10423 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
10426 2000-02-23 Martin Buchholz <martin@xemacs.org>
10428 * XEmacs 21.2.31 is released.
10430 2000-02-22 Ben Wing <ben@xemacs.org>
10432 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
10434 2000-02-22 Andy Piper <andy@xemacs.org>
10436 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
10438 2000-02-21 Mike Sperber <mike@xemacs.org>
10442 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
10445 2000-02-21 Mike Sperber <mike@xemacs.org>
10447 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
10449 2000-02-21 Martin Buchholz <martin@xemacs.org>
10451 * XEmacs 21.2.30 is released.
10453 2000-02-20 Martin Buchholz <martin@xemacs.org>
10455 Performance hacking.
10457 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
10458 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
10459 * emacs.c (main_1):
10461 * console.c (DEFVAR_CONSOLE_LOCAL_1):
10462 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
10463 * symeval.h (DEFVAR_SYMVAL_FWD):
10464 * symbols.c (guts_of_unbound_marker):
10465 Make all c_readonly objects also lisp_readonly and marked for life.
10466 * lrecord.h (struct lrecord_implementation):
10467 Document flags better.
10468 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
10469 * lrecord.h (DECLARE_LRECORD):
10470 * lrecord.h (XSETRECORD):
10471 * lrecord.h (RECORDP):
10472 * lrecord.h (RECORD_TYPEP):
10473 * lrecord.h (RECORD_MARKER): New.
10474 * lrecord.h (error_check_*):
10475 * lrecord.h (CONCHECK_NONRECORD):
10476 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
10477 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
10478 * lrecord.h (set_lheader_implementation):
10479 * lrecord.h (enum lrecord_type): New.
10480 * symeval.h (SYMBOL_VALUE_MAGIC_P):
10481 * alloc.c (disksave_object_finalization_1):
10482 * alloc.c (mark_object):
10483 * alloc.c (lrecord_type_index):
10484 * alloc.c (tick_lcrecord_stats):
10485 * alloc.c (Fgarbage_collect):
10486 * alloc.c (init_alloc_once_early):
10487 * alloc.c (pdump_load):
10488 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
10489 * alloc.c (lrecord_type_index): Delete.
10490 Make lisp object type indexes be constant.
10491 Makes (byte-compile) 5% faster.
10492 Put all marker functions into their own array.
10493 Makes (garbage-collect) 5% faster.
10494 Optimize SYMBOL_VALUE_MAGIC_P.
10495 Makes (byte-compile) 2-3% faster.
10496 * config.h.in (gc_checking_assert): New.
10497 * alloc.c: Use gc_checking_assert().
10498 * .dbxrc: Make compatible with new object type implementation.
10499 * .gdbinit: Make compatible with new object type implementation.
10500 * alloc.c: Delete all symbols defined only for debugging, such as
10501 Lisp_Type_Vector and lrecord_charset.
10503 2000-02-21 Andy Piper <andy@xemacs.org>
10505 * gui-msw.c (Fmswindows_shell_execute): fix file location
10508 * buffer.c (Fkill_buffer): remove buffer from alist buffer
10509 unshowing so that set_window_buffer doesn't undo
10510 kill_buffer_hook's hard work.
10512 * glyphs-widget.c (tab_control_query_geometry): don't count the
10513 first item when calculating geometry.
10515 * glyphs.c (map_subwindow): remove redundant code.
10516 (update_frame_subwindows): be more circumspect about when to
10519 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
10520 when items haven't changed. Update faces if faces have changed as
10521 well as just the widget face.
10522 (x_tab_control_update): Update faces if faces have changed as well
10523 as just the widget face.
10525 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10527 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
10529 (build_syscolor_string): Use mswindows_color_to_string to try to
10531 (mswindows_device_system_metrics): Reverse the foreground and
10532 background colors so that they match the documentation.
10534 * objects-msw.c: (mswindows_X_color_map): tweak some values so
10535 they match the default Windows palette.
10536 (mswindows_color_to_string): New function.
10538 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10540 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
10542 2000-02-18 Olivier Galibert <galibert@pobox.com>
10544 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
10545 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
10547 * symbols.c (init_symbols_once_early): Removed obsolete
10548 DATA_SEG_BITS related kludge.
10549 (defvar_magic): Ditto.
10551 * malloc.c: Removed obsolete DATA_SEG_BITS
10553 * mem-limits.h: Ditto.
10555 * Makefile.in.in: Removed obsolete HAVE_SHM
10558 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10560 * device-msw.c (mswindows_delete_device): Free DDE string
10563 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10565 * keymap.c (get_keyelt):
10566 * unexnt.c (unexec):
10567 * vm-limit.c (memory_warnings):
10568 * ntheap.c (recreate_heap):
10569 * ntheap.h (UNINIT_PTR):
10570 * select-msw.c (Fmswindows_get_clipboard):
10571 (Fmswindows_set_clipboard):
10572 * objects-msw.h (MSWINDOWS_BAD_HFONT):
10574 * menubar-msw.c (displayable_menu_item):
10576 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
10577 * sysdep.c (sys_subshell):
10578 * process-nt.c (nt_create_process):
10579 * nt.c (normalize_filename):
10580 (dostounix_filename):
10581 (unixtodos_filename):
10582 * ntproc.c (win32_executable_type):
10583 * ntplay.c (play_sound_data_1):
10585 * editfns.c (get_home_directory):
10586 * event-msw.c (struct winsock_stream):
10587 (mswindows_dde_callback):
10588 * device-msw.c (msprinter_init_device):
10589 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
10591 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
10592 mswindows_clear_toolbar were swapped!
10594 * objects-msw.c:(colormap_t):
10596 * emacs.c (struct standard_args): Fixed const jumble.
10598 * glyphs-widget.c (update_widget): Fixed comparison notation.
10600 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
10602 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
10603 __declspec(noreturn) syntax.
10605 2000-02-19 Martin Buchholz <martin@xemacs.org>
10607 * eldap.c (Fldap_open):
10608 (Fldap_search_basic):
10611 Use new coding system conversion macros.
10613 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10615 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
10617 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
10619 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
10620 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10622 * eldap.c (Qadd, Qreplace): New constant symbols
10623 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
10624 interruptions by XEmacs signals
10625 Remove unnecessary calls to slow_down_interrupts and
10626 speed_up_interrupts
10627 (Fldap_search_basic): Renamed from Fldap_search_internal
10628 Added new optional parameter VERBOSE that triggers the
10629 display of progress messages
10630 Remove unnecessary calls to slow_down_interrupts and
10631 speed_up_interrupts
10632 LDAP result code analysis rewritten
10633 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10634 (syms_of_eldap): Define the new symbols and functions
10637 2000-02-17 Martin Buchholz <martin@xemacs.org>
10639 * realpath.c: Determine PATH_MAX maximally portably.
10641 * insdel.c (bytecount_to_charcount): Optimize.
10642 The function used to be optimized for entirely ASCII sequences.
10643 Now it is optimized for successive characters from the same
10644 charset. This also wins big for _mostly_ ASCII sequences.
10646 * fileio.c (Ffile_truename): convert return from realpath() using
10647 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
10648 - Rewrite GCPROing slightly.
10650 * sysdep.c (sys_open): Do filename conversion, like all other
10651 sys_* functions. Fixes bug:
10652 (let ((file-name-coding-system 'iso-8859-2))
10653 (write-region x y latin2-name))
10654 ==> writes filename using internal encoding.
10656 2000-02-18 Martin Buchholz <martin@xemacs.org>
10658 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
10659 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
10660 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
10661 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
10662 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
10663 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
10664 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
10665 (CONST_IF_NOT_DEBUG): Delete.
10666 * alloc.c (this_one_is_unmarkable): Delete.
10667 (mark_object): Don't check for this_one_is_unmarkable. Use the
10668 c_readonly flag instead.
10669 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
10671 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
10673 * event-msw.c (mswindows_drain_windows_queue):
10674 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
10675 away redundant repaint events.
10677 2000-02-17 Andy Piper <andy@xemacs.org>
10679 * redisplay.h: declare mark_redisplay_structs.
10681 * redisplay.c (redisplay_window):
10682 (redisplay_frame): don't check subwindows_state_changed.
10683 (mark_redisplay): mark gutters here.
10685 * glyphs.c: (instantiate_image_instantiator): always layout if we
10686 haven't done so already.
10687 (allocate_image_instance): don't mark as dirty.
10688 (update_subwindow): bind inhibit_quit.
10690 * gutter.c (mark_gutters): new function.
10692 * glyphs-x.c (x_update_widget): Always resize to get round a
10695 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
10696 breaking absolutely everything.
10698 * gutter.h: declare mark_gutters.
10700 2000-02-16 Martin Buchholz <martin@xemacs.org>
10702 * XEmacs 21.2.29 is released.
10704 2000-02-15 Olivier Galibert <galibert@pobox.com>
10706 * fns.c (size_bit_vector): Fix computation of the size.
10708 2000-02-15 Martin Buchholz <martin@xemacs.org>
10710 * *.[ch]: Change CONST to const globally.
10711 find -name '*.[ch]' | \
10712 xargs global-replace \
10713 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
10714 - Remove vestigial references to CONST_IS_LOSING
10716 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10718 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
10719 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
10720 events instead of dispatching them directly.
10721 (mswindows_handle_paint): New function to do repainting.
10722 (mswindows_wnd_proc):
10723 (emacs_mswindows_handle_magic_event): Call above function.
10725 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10727 * objects-msw.c (mswindows_create_font_variant): Return the new
10729 (initialize_font_instance): Get font metrics from the underlined
10730 variant of the font to cope with the case where the underlined
10731 font has a bigger descent.
10733 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10735 * gui.c (gui_item_accelerator): Return the first underlined
10736 character in item name.
10738 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10740 * lisp.h: Added Qprinter.
10742 * general.c (syms_of_general): Initialized it.
10744 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
10746 (get_frame_compdc): Made inline.
10748 * console.h (struct console_methods): Added eject_page method.
10750 * frame.h: Added FRAME_DISPLAY_P and friends.
10751 Aligned backslahes in many macros in more readable fashion.
10752 Added page_number to struct frame, and an accessor macro
10755 * defice.h: Added DEVICE_DISPLAY_P and friends.
10757 * device.c (Fdevice_printer_p): Used these.
10759 * frame.c (allocate_frame_core): Initialize page number.
10760 (Fprint_job_page_number):
10761 (Fprint_job_eject_page): Implemented.
10763 * frame-msw.c (msprinter_eject_page): Added method.
10764 (msprinter_start_page): Added.
10766 * window.c (Fwindow_truncated_p): Fixed docstring.
10767 (Fwindow_last_line_visible_height): Implemented.
10769 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10771 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
10773 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10775 * syntax.c (scan_words): Always advance at least one character.
10777 2000-02-13 Andy Piper <andy@xemacs.org>
10779 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
10780 to make sure the glyph is in the cachels.
10782 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
10783 global image instance flag.
10784 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
10785 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
10787 * glyphs.c (allocate_image_instance): set dirty bits correctly.
10788 (Fset_image_instance_property): mark layout as changed.
10789 (invalidate_glyph_geometry_maybe): mark layout as changed.
10790 (glyph_width): use new NEEDS_LAYOUT macro.
10791 (glyph_ascent): ditto.
10792 (glyph_descent): ditto.
10793 (glyph_height): ditto.
10794 (image_instance_layout): mark layout as clean after laying out.
10795 (update_subwindow): don't mark layout as clean here.
10797 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
10798 should no longer be needed.
10800 * glyphs-x.c (x_update_widget): sanitize asserts.
10801 (x_finalize_image_instance): sanitize assignment to widgets.
10803 * glyphs-widget.c (widget_instantiate): don't need to clear the
10806 2000-02-13 Martin Buchholz <martin@xemacs.org>
10808 * sysdep.c (getcwd): Use standard prototype.
10809 * sysdep.h (getcwd): Use standard prototype.
10811 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
10812 (sequence, start, end).
10813 Remove redundant type checking.
10814 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
10815 view of `caller-protects') to avoid a crash where the real fix was
10818 2000-02-12 Martin Buchholz <martin@xemacs.org>
10820 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
10822 * s/sol2.h: Remove feature macro initialization.
10824 * alloc.c (alloc_lcrecord): Add more type checking assertions.
10825 (vector_hash): New. Code from internal_hash.
10827 Fix up allocation subsystem comments.
10829 * config.h.in: Add __EXTENSIONS__ for Solaris.
10831 * systime.h (EMACS_GETTIMEOFDAY): New.
10832 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
10833 Remove Solaris-specific code.
10834 Use void* for the (ignored) second arg for gettimeofday().
10836 * elhash.c (hash_table_hash): Implement it, finally.
10837 * elhash.c: Use hashcode_t.
10839 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
10840 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
10842 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
10843 * fns.c (size_bit_vector):
10844 * alloc.c (size_vector):
10845 (make_vector_internal):
10846 (make_bit_vector_internal):
10847 (sweep_bit_vectors_1):
10848 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
10850 2000-02-10 Martin Buchholz <martin@xemacs.org>
10852 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
10853 Include strings.h to avoid warnings for bzero and strcasecmp.
10855 2000-02-10 Olivier Galibert <galibert@pobox.com>
10857 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
10858 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
10860 * fns.c (size_bit_vector): New. Declare bit vectors as a
10863 2000-02-10 Olivier Galibert <galibert@pobox.com>
10865 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
10866 use a value field instead.
10867 (symbol_value_forward_forward): Use value field.
10868 (DEFVAR_SYMVAL_FWD): Use value field.
10869 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
10870 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
10871 (DEFVAR_CONST_INT): Ditto.
10872 (DEFVAR_BOOL): Ditto.
10873 (DEFVAR_CONST_BOOL): Ditto.
10874 (DEFVAR_INT_MAGIC): Ditto.
10875 (DEFVAR_BOOL_MAGIC): Ditto.
10877 * symbols.c (guts_of_unbound_marker): Use value field.
10878 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
10879 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
10881 * lisp.h: Declare dumpopaque and noninteractive1.
10883 * alloc.c (dumpopaque): Added.
10884 (pdump_dump_opaquevec): Added.
10885 (pdump): Call pdump_dump_opaquevec to dump opaque data.
10886 (pdump_load): Reload opaque data. Sync noninteractive1 with
10889 2000-02-10 Andy Piper <andy@xemacs.org>
10891 * glyphs.c (image_instance_layout): if the size changes, mark it
10894 * redisplay-output.c (redisplay_output_layout): Update the
10896 (redisplay_output_subwindow): ditto.
10898 * glyphs.c (update_subwindow): make sure we reset flags for
10899 layouts as well as everything else.
10901 * glyphs-widget.c (layout_layout): don't need to set the instances
10904 2000-02-09 Martin Buchholz <martin@xemacs.org>
10906 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
10907 not HAVE_DLOPEN, which is a lower-level thing.
10909 * .cvsignore: Ignore gmon.out
10911 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
10913 * .cvsignore: Ignore portable dumper xemacs.dmp file
10915 2000-02-09 Andy Piper <andy@xemacs.org>
10917 * redisplay-output.c (redisplay_output_layout): be more clever
10918 about when we output based on the changed flags.
10920 * glyphs.h (struct image_instantiator_methods): add update_method.
10921 (struct Lisp_Image_Instance): add changed flags. Declare new
10922 macros for manipulating them.
10924 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
10925 (image_instance_parent_glyph): find an image_instance's parent
10926 glyph or image_instance.
10927 (image_instance_layout): mark the size as changed.
10928 (set_image_instance_dirty_p): new function. mark an image
10929 instance, plus all of its parents, as dirty.
10930 (Fset_image_instance_property): use it.
10931 (Fglyph_animated_timeout_handler): use it.
10932 (update_subwindow): call update_widget and device methods for
10933 update_subwindow. Mark all changed flags as clean.
10934 (Fresize_subwindow): mark size as changed.
10936 * glyphs-x.c (x_finalize_image_instance): try and detect gc
10938 (x_update_subwindow): only resize subwindows here.
10939 (x_update_widget): new function. Update all changed properties of
10941 (x_resize_subwindow): deleted.
10942 (x_widget_set_property): deleted.
10943 (x_progress_gauge_set_property): deleted.
10944 (x_progress_gauge_update): new function. Implement recorded
10946 (x_tab_control_update): ditto.
10947 (x_tab_control_set_property): deleted.
10948 (console_type_create_glyphs_x): declare new functions.
10949 (image_instantiator_format_create_glyphs_x): ditto.
10951 * glyphs-widget.c (widget_set_property): mark text changed.
10952 (update_widget): new function. Update properties of a widget.
10953 (widget_instantiate): for layouts make sure we set their
10954 children's parent correctly.
10955 (tab_control_set_property): new function. Record changes that will
10956 take place under redisplay's control.
10957 (progress_gauge_set_property): ditto.
10958 (image_instantiator_progress_guage): declare new functions.
10959 (image_instantiator_tab_control): ditto.
10961 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
10963 (mswindows_update_widget): new function. Update all properties on
10964 a widget that have changed.
10965 (mswindows_button_update): new function. Update a button's set
10967 (mswindows_tab_control_update): new function. Update the items in
10969 (mswindows_tab_control_set_property): deleted.
10970 (mswindows_progress_gauge_update): new function. Update the
10971 progress gauge's progress.
10972 (mswindows_widget_set_property): deleted. This is all done
10973 asynchronously now.
10974 (mswindows_progress_gauge_set_property): ditto.
10975 (console_type_create_glyphs_mswindows): declare new methods.
10976 (image_instantiator_format_create_glyphs_mswindows): ditto.
10978 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
10979 (msprinter_set_frame_properties): ditto.
10981 * console.h (struct console_methods): Add update_widget_method.
10983 2000-02-09 Andy Piper <andy@xemacs.org>
10985 * gui-msw.c (Fmswindows_shell_execute): Make
10986 mswindows-shell-execute industrial strength.
10988 2000-02-08 Martin Buchholz <martin@xemacs.org>
10990 * lrecord.h: Make macro argument `props' match member function `plist'.
10993 * fns.c (Fremprop):
10994 * fns.c (Fobject_plist):
10997 Object property list frobbing cleanup.
10998 - Allow any lisp object (compared with `eq'), not just symbols, as
10999 keys in object plists.
11000 - Move symbol plist frobbing into symbols.c, where it belongs.
11001 - Move string plist frobbing into alloc.c, where it belongs.
11002 - Everything's an lrecord now, so no need to test for symbolp, etc.
11003 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
11005 * extents.c: Reorder code to remove declarations.
11007 * frame.h (store_in_alist): Remove useless declaration.
11009 2000-02-07 Martin Buchholz <martin@xemacs.org>
11011 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
11012 * config.h.in: Add HAVE_XCONVERTCASE.
11014 2000-02-07 Andy Piper <andy@xemacs.org>
11016 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
11017 it breaks many things.
11019 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11021 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
11022 actually can start a common comment type.
11023 * src/syntax.h (SYNTAX_END_P): ditto for end.
11025 2000-02-07 Martin Buchholz <martin@xemacs.org>
11027 * XEmacs 21.2.28 is released.
11029 2000-02-06 Martin Buchholz <martin@xemacs.org>
11031 * event-Xt.c (x_keysym_to_character): New.
11032 (maybe_define_x_key_as_self_inserting_character): New.
11033 (x_has_keysym): New.
11034 Auto-define all keys on the keyboard as self-insert-key.
11036 2000-02-02 Martin Buchholz <martin@xemacs.org>
11038 * menubar.c (vars_of_menubar): A small code simplification.
11040 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
11043 * ExternalClient.c:
11044 * EmacsShell-sub.c:
11047 Use consistent style for specifying X resources.
11049 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
11050 This makes (dontusethis-set-symbol-value-handler) actually usable.
11052 * lrecord.h (lrecord_decription_type):
11053 * alloc.c (pdump_register_sub):
11056 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
11057 Comply with XEmacs coding style.
11058 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
11059 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11061 * keymap.c (Faccessible_keymaps):
11062 Make (accessible-keymaps map "\C-h") do the Right Thing.
11063 Make (accessible-keymaps map []) do the Right Thing.
11064 Make (accessible-keymaps map "") do the Right Thing.
11065 (check_keymap_definition_loop): New function.
11066 (keymap_store_internal): Keep luser from shooting self in foot,
11067 via (define-key ctl-x-4-map "p" global-map).
11068 Remove fullness slot from struct Lisp_Keymap, since hash tables
11070 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11072 2000-01-30 Martin Buchholz <martin@xemacs.org>
11074 * redisplay.c (init_redisplay): Fix small memory leak.
11076 * elhash.c (pdump_reorganize_hash_table):
11077 Rename from reorganize_hash_table. Change prototype.
11078 Reuse the original memory for hentries. Save 100k.
11079 * alloc.c (PDUMP_READ): new macro.
11080 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11081 * alloc.c: No need to #ifndef before #undef.
11083 * print.c: Allow debug_print() to print readably by modifying
11084 debug_print_readably. Use consistent variable names.
11086 * .dbxrc: Try to get things to work even if stopped in a function
11087 without source available by explicitly specifying source files.
11088 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11090 * unexnt.c (_start): Removed bogus code which caused loading heap
11091 from differrent executable file.
11092 Removed bogus assignment to _fmode, which caused inconsistencies.
11094 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11096 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11097 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11098 Do not preliminary `#define signal sigset'.
11100 * systime.h: Do not prototype environ on windows nt and cygwin,
11101 this conflicts with system header.
11103 * syssignal.h: Use correct define for WINDOWSNT
11105 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11106 with system header.
11108 * sysdep.c (near start of file): Fixed commentary and rearranged
11109 ifdefs in readable order.
11110 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11113 (end_of_data): Do not compile in if using PDUMP.
11115 * symsinit.h: Prototyped vars_of_nt().
11117 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11118 (find_child_console): Use it.
11119 (sys_kill): Use it.
11121 * ntheap.h: Do not extern os_subtype.
11123 * ntheap.c (cache_system_info): Do not cache unneeded:
11124 nt_major_version, nt_minor_version and os_subtype.
11125 (recreate_heap): Do not compile in when PDUMPing.
11127 * nt.c (geteuid and friends): Use the new varibale
11128 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11129 (init_user_info): Removed the above mentioned hackery.
11130 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11131 stat has been fixed in the C runtime.
11132 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11134 * file-coding.c (struct file_coding_dump): Do not define
11135 ucs_to_mule_table in the struct if not MULE.
11136 (struct struct lrecord_description fcd_description_1): Do not dump
11139 * emacs.c (main_1): Call vars_of_nt().
11140 (right before Fdump_emacs_data): Don't need lastfile if using both
11141 portabe dumper and system malloc.
11143 * alloc.c (Fmemory_limit): Conditionalized out.
11144 (pdump): Use OPEN_BINARY for the portable dump file.
11145 (pdump_load): Ditto.
11147 2000-02-02 Mike Alexander <mta@arbortext.com>
11149 * nt.c (convert_time): Set tm_isdst before calling mktime and
11150 avoid calling it at all if the compiler supports 64 bit integers.
11151 Also initialize utc_base_ft before using it.
11153 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11155 * frame.c (change_frame_size_1): Take f->internal_border_width
11156 into consideration when calculating the width of the frame.
11158 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11160 * window.c (frame_min_height):
11161 (frame_size_valid_p):
11162 (frame_pixsize_valid_p): Added.
11163 (check_frame_size): Generalized.
11165 * window.h: Prototyped the above.
11168 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11169 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11170 Deleted Vwin32_* and Vbinary_process_* unused variables.
11172 * device-msw.c (msprinter_init_device): Do not get printer font
11173 list; Added DEVMODE functions.
11175 * frame-msw.c: Added lots of printer code.
11177 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11180 * console-msw.h: Added more msprinter device private slots.
11182 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11184 * event-msw.c (key_needs_default_processing_p): Added.
11185 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11187 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11189 * glyphs.c (image_instance_layout): Mark image instance as clean
11191 (glyph_dirty_p): Removed redundant function.
11192 (invalidate_glyph_geometry_maybe): Added.
11193 (update_glyph_cachel_data): Call it.
11195 * glyphs.h: Prototyped it.
11197 * redisplay.c (add_glyph_rune): Call it.
11198 (redisplay_window): Reset glyphs cachels when frame faces have
11199 changed, thus forcing recomputation of built-in border glyphs.
11201 2000-01-30 Martin Buchholz <martin@xemacs.org>
11203 * Makefile.in.in: Make portable dumper and purify play well together.
11204 Add imperfect, but better than nothing, support for pdump.
11205 Remove xemacs.dmp when temacs is re-generated.
11206 Don't ignore errors when dumping xemacs.
11208 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11210 2000-01-28 Andy Piper <andy@xemacs.org>
11212 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11213 (setup_normal_frame): ditto.
11214 (setup_frame_without_minibuffer): ditto.
11215 (setup_minibuffer_frame): ditto.
11216 (delete_frame_internal): ditto.
11217 (Fmake_frame_invisible): ditto.
11218 (Ficonify_frame): ditto.
11220 * window.h: change Fset_window_buffer signature.
11222 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
11223 (Fset_window_buffer): allow recording of buffer if the window is
11224 the selected window.
11225 (window_loop): Use new Fset_window signature.
11227 2000-01-23 Daniel Pittman <daniel@danann.net>
11229 * config.h.in: Added template for `HAVE_ATHENA_3D'
11231 2000-01-29 Andy Piper <andy@xemacs.org>
11233 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
11235 * gutter.c (output_gutter): Don't output if the window isn't live.
11237 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11239 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
11240 of 01/12/00: Moved SetFocus back here where it belongs.
11242 2000-01-23 Andy Piper <andy@xemacs.org>
11244 * s/cygwin32.h: declare printer things.
11246 2000-01-26 Andy Piper <andy@xemacs.org>
11248 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
11251 2000-01-24 Andy Piper <andy@xemacs.org>
11253 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
11254 (mswindows_button_instantiate): Make sure glyph is a pixmap.
11256 * glyphs-widget.c (widget_instantiate): Avoid shadows.
11258 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
11260 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
11262 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
11263 (mswindows_output_display_block): Avoid local shadows.
11265 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
11266 (mswindows_enqueue_mouse_button_event): ditto.
11267 (mswindows_handle_gui_wm_command): remove declaration.
11269 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11272 * console-msw.h: Avoid shadows.
11273 (mswindows_get_toolbar_button_text):
11274 (emacs_mswindows_create_stream_pair):
11275 (emacs_mswindows_delete_stream_pair):
11276 (mswindows_handle_toolbar_wm_command): declare.
11278 * device-msw.c (build_syscolor_string): Avoid shadows.
11280 2000-01-23 Andy Piper <andy@xemacs.org>
11282 * glyphs-widget.c (widget_instantiate): reverse the items for
11283 layouts so that children are in the expected order.
11285 2000-01-28 Martin Buchholz <martin@xemacs.org>
11287 * ralloc.c: safe_bcopy ==> memmove
11288 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
11289 * s/msdos.h: Remove BCOPY macros.
11290 * insdel.c (gap_right): Remove BCOPY conditional code.
11291 * insdel.c (gap_left): Remove BCOPY conditional code.
11292 XEmacs demands a working ANSI C compiler - hence memmove.
11294 * regex.c (regex_compile): Remove accidental use of trigraphs.
11296 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11298 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
11301 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11303 * event-msw.c (mswindows_drain_windows_queue): Added the
11305 (mswindows_need_event): Commented the call to
11306 mswindows_drain_windows_queue().
11307 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
11310 * console-msw.h: Moved a few function prototypes here from
11313 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
11314 parameter from unsigned short to unsigned long.
11315 (Fmswindows_shell_execute): Added return value.
11317 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11319 * sysdep.c (init_system_name):
11320 process-unix.c (unix_canonicalized_host_name):
11321 Don't call freeaddrinfo() if getaddrinfo() fails.
11323 * process-unix.c (unix_open_unix_network_stream):
11324 Moved the code to get a port # into address loop.
11326 2000-01-27 Martin Buchholz <martin@xemacs.org>
11328 * buffer.c (reinit_vars_of_buffer):
11329 The right place to initialize conversion_in_dynarr and
11330 conversion_out_dynarr.
11332 * alloc.c (pdump): Use the real open() till sys_open() is functional.
11334 * process-unix.c (unix_canonicalize_host_name): Muleize.
11335 (unix_open_network_stream): Muleize.
11337 * buffer.h: Fix up prototypes for ralloc.c functions.
11339 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11340 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
11341 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
11342 instead of gethostbyname()
11343 * process-unix.c: In unix_canonicalize_host_name() and
11344 unix_open_network_stream(), add code to use getaddrinfo()
11345 instead of gethostbyname().
11347 2000-01-27 Daniel Pittman <daniel@danann.net>
11349 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
11350 libs when built with flat Athena.
11352 2000-01-27 Martin Buchholz <martin@xemacs.org>
11354 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
11355 Use coding standards for function prototypes.
11357 2000-01-25 Martin Buchholz <martin@xemacs.org>
11359 * dialog-msw.c (push_lisp_string_as_unicode):
11360 * doc.c (unparesseuxify_doc_string):
11361 * dired.c (Fuser_name_completion_1):
11362 * dired.c (Fuser_name_all_completions):
11363 * dired.c (free_user_cache):
11364 * dired.c (user_name_completion):
11365 * console-x.c (get_display_arg_connection):
11366 * minibuf.c (clear_echo_area_internal):
11367 * minibuf.c (echo_area_append):
11368 * eldap.c (Fldap_open):
11369 * eldap.c (Fldap_search_internal):
11370 * frame-x.c (x_set_frame_text_value):
11371 * frame-x.c (x_set_frame_properties):
11372 * frame-x.c (x_create_widgets):
11373 * redisplay-tty.c (term_get_fkeys_1):
11374 * objects-x.c (x_parse_nearest_color):
11375 * objects-x.c (x_valid_color_name_p):
11376 * objects-x.c (x_initialize_font_instance):
11377 * objects-x.c (x_list_fonts):
11378 * objects-x.c (x_find_charset_font):
11379 * tooltalk.c (Fadd_tooltalk_message_arg):
11380 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11381 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11382 * process-unix.c (unix_create_process):
11383 * ntproc.c (sys_spawnve):
11384 * sound.c (Fplay_sound_file):
11385 * sound.c (Fplay_sound):
11386 * buffer.c (init_initial_directory):
11387 * buffer.c (init_buffer):
11388 * editfns.c (init_editfns):
11389 * editfns.c (Ftemp_directory):
11390 * editfns.c (Fuser_full_name):
11391 * editfns.c (uncache_home_directory):
11392 * editfns.c (get_home_directory):
11393 * editfns.c (Fuser_home_directory):
11394 * editfns.c (Fformat_time_string):
11395 * editfns.c (Fcurrent_time_string):
11396 * gui-x.c (button_item_to_widget_value):
11397 * database.c (Fopen_database):
11398 * event-Xt.c (x_to_emacs_keysym):
11399 * event-Xt.c (x_event_to_emacs_event):
11400 * event-Xt.c (describe_event_window):
11401 * event-msw.c (mswindows_wnd_proc):
11402 * glyphs-eimage.c (jpeg_instantiate):
11403 * glyphs-eimage.c (gif_instantiate):
11404 * glyphs-eimage.c (png_instantiate):
11405 * glyphs-eimage.c (tiff_instantiate):
11406 * glyphs-x.c (xbm_instantiate_1):
11407 * glyphs-x.c (x_xbm_instantiate):
11408 * glyphs-x.c (x_xface_instantiate):
11409 * glyphs-x.c (autodetect_instantiate):
11410 * glyphs-x.c (cursor_font_instantiate):
11411 * glyphs-x.c (x_widget_instantiate):
11412 * glyphs-x.c (x_widget_set_property):
11413 * glyphs-x.c (x_widget_property):
11414 * glyphs-x.c (BUILD_GLYPH_INST):
11415 * print.c (write_string_to_stdio_stream):
11416 * print.c (output_string):
11417 * print.c (Falternate_debugging_output):
11418 * print.c (Fexternal_debugging_output):
11419 * glyphs-msw.c (extract_xpm_color_names):
11420 * glyphs-msw.c (mswindows_xpm_instantiate):
11421 * glyphs-msw.c (bmp_instantiate):
11422 * glyphs-msw.c (resource_name_to_resource):
11423 * glyphs-msw.c (mswindows_resource_instantiate):
11424 * glyphs-msw.c (xbm_instantiate_1):
11425 * glyphs-msw.c (mswindows_xbm_instantiate):
11426 * glyphs-msw.c (mswindows_xface_instantiate):
11427 * glyphs-msw.c (mswindows_widget_instantiate):
11428 * glyphs-msw.c (add_tree_item):
11429 * glyphs-msw.c (add_tab_item):
11430 * glyphs-msw.c (mswindows_combo_box_instantiate):
11431 * glyphs-msw.c (mswindows_widget_property):
11432 * glyphs-msw.c (mswindows_combo_box_property):
11433 * glyphs-msw.c (mswindows_widget_set_property):
11434 * console.c (stuff_buffered_input):
11435 * objects-msw.c (mswindows_initialize_color_instance):
11436 * objects-msw.c (mswindows_valid_color_name_p):
11437 * objects-msw.c (mswindows_list_fonts):
11438 * objects-msw.c (mswindows_font_instance_truename):
11439 * bytecode.c (optimize_compiled_function):
11440 * select-x.c (symbol_to_x_atom):
11441 * select-x.c (x_atom_to_symbol):
11442 * select-x.c (hack_motif_clipboard_selection):
11443 * select-x.c (selection_data_to_lisp_data):
11444 * select-x.c (lisp_data_to_selection_data):
11445 * select-x.c (Fx_get_cutbuffer_internal):
11446 * select-x.c (Fx_store_cutbuffer_internal):
11447 * buffer.h (TO_EXTERNAL_FORMAT): New function.
11448 * buffer.h (TO_INTERNAL_FORMAT): New function.
11449 * emacs.c (make_arg_list_1):
11450 * emacs.c (make_argc_argv):
11451 * emacs.c (main_1):
11452 * emacs.c (Fdump_emacs):
11453 * emacs.c (split_string_by_emchar_1):
11458 * device-x.c (x_init_device):
11459 * device-x.c (Fx_valid_keysym_name_p):
11460 * device-x.c (Fx_get_font_path):
11461 * device-x.c (Fx_set_font_path):
11462 * glyphs.c (bitmap_to_lisp_data):
11463 * glyphs.c (pixmap_to_lisp_data):
11464 * alloc.c (make_ext_string): Use coding system arguments. Update
11466 * alloc.c (build_string):
11467 * callproc.c (child_setup):
11468 * callproc.c (init_callproc):
11469 * fileio.c (lisp_strerror):
11470 * fileio.c (directory_file_name):
11471 * fileio.c (Fexpand_file_name):
11472 * fileio.c (Ffile_truename):
11473 * fileio.c (Fsysnetunam):
11474 * fileio.c (Fdo_auto_save):
11475 * sysdep.c (sys_readdir):
11476 * tests.c: New file. Allow adding C tests.
11477 Replace GET_* macros with a more comprehensible and flexible
11478 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
11480 Any coding system can be used to do format conversion.
11481 Eliminate enum external_data_format.
11482 Eliminate convert_to_external_format.
11483 Eliminate convert_to_internal_format.
11484 Make sure file-name, keyboard, terminal, and ctext are always
11485 defined as coding systems or aliases. Make
11486 file-name-coding-system, terminal-coding-system, and
11487 keyboard-coding-system magical variables that are equivalent to
11488 defining the corresponding coding system aliases.
11490 * file-coding.c (Fcoding_system_canonical_name_p): New function.
11491 * file-coding.c (Fcoding_system_alias_p): New function.
11492 * file-coding.c (Fcoding_system_aliasee): New function.
11493 * file-coding.c (append_suffix_to_symbol): New function.
11494 * file-coding.c (dangling_coding_system_alias_p): New function.
11495 * file-coding.c (Ffind_coding_system):
11496 * file-coding.c (Fcopy_coding_system):
11497 * file-coding.c (encode_coding_no_conversion):
11498 * file-coding.c (syms_of_file_coding):
11499 * file-coding.c (vars_of_file_coding):
11500 Rewrite coding system alias code.
11501 Allow nested aliases, like symbolic links.
11502 Allow redefinition of coding system aliases.
11503 Prevent existence of dangling coding system aliases.
11505 * dired.c (Fuser_name_completion_1):
11506 * dired.c (Fuser_name_all_completions):
11507 A crash would happen if user did QUIT in the middle of building
11508 user_name_cache. Remove redundant code in mainline and unwind_protect.
11511 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
11513 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
11514 an unsigned char *. Update all callers.
11516 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11518 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
11520 2000-01-25 Martin Buchholz <martin@xemacs.org>
11522 * elhash.c (hentry_description): Use more portable definition.
11523 (resize_hash_table): Initialize new hentries using
11524 xnew_array_and_zero, thereby simplifying the code.
11526 * mule-charset.c (make_charset): Make sure entire object is
11527 initialized, to avoid Purify warnings.
11529 * alloc.c (resize_string): Fix unlikely crash with big strings.
11531 2000-01-24 Martin Buchholz <martin@xemacs.org>
11533 * realpath.c (xrealpath):
11534 Don't call getwd().
11536 2000-01-25 Martin Buchholz <martin@xemacs.org>
11538 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
11540 1999-12-28 Max Matveev <max@melbourne.sgi.com>
11542 * unexelfsgi.c (unexec): Change the way we decide which segment
11543 should be extended.
11545 Assumption that .bss section should be outside the PT_LOADable
11546 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
11547 it's present) is inside the 'data' segment. This would fail the
11548 test which was used to find a segment to grow and cover new
11549 heap. Instead of this assumption, I created another one - on IRIX
11550 the segment to grow should start below .bss and it's address
11551 should extent above the end of .bss. Once this segment is
11552 identified, it's grown to accommodate the new heap and new
11553 zero-length .bss section is added at the end of .data2.
11555 2000-01-25 Martin Buchholz <martin@xemacs.org>
11557 * eval.c (Feval): Wrong number of arguments should use original
11558 function, not the indirect_function version of it.
11560 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11562 * glyphs-x.c (x_button_instantiate): Don't add image if
11563 it is not a pixmap.
11564 (x_locate_pixmap_file): Call Fexpand_file_name when file name
11567 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
11569 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
11571 (DEFVAR_INT_MAGIC): Ditto.
11572 (DEFVAR_BOOL_MAGIC): Ditto.
11573 * glyphs.h: Reindent backslash.
11575 2000-01-24 Martin Buchholz <martin@xemacs.org>
11577 * glyphs-widget.c (layout_query_geometry):
11578 (layout_layout): Use correct types for gheight, gwidth.
11580 2000-01-24 Martin Buchholz <martin@xemacs.org>
11582 * EmacsManager.c (QueryGeometry): Purified.
11584 2000-01-23 Martin Buchholz <martin@xemacs.org>
11586 * alloc.c (make_float): Make sure entire object is initialized, to
11587 avoid Purify warnings.
11588 (pdump_register_sub): Remove useless assignment.
11589 (pdump): Use xmalloc, not malloc.
11590 (pdump_load): Use xmalloc, not malloc.
11592 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11599 * sysdep.c: Removed redundant #include <windows.h>
11601 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11603 * frame.c (delete_frame_internal): Do not delete device when its
11604 implementation so declares.
11605 (delete_frame_internal): Set device selected frame to nil when
11606 last frame goes away.
11608 * device-msw.c (msprinter_device_system_metrics): Implemented.
11609 (mswindows_device_system_metrics): Added 'device-dpi property.
11611 * device.c: (Fdevice_printer_p): Added.
11612 Added 'offset-workspace device metric.
11614 * console.h (device_metrics): Declared DM_offset_workspace.
11616 2000-01-23 Martin Buchholz <martin@xemacs.org>
11618 * fileio.c (Ffile_truename): Remove pointless and confusing
11619 initialization of elen.
11621 * glyphs-widget.c: Compiler warning fixes.
11623 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
11625 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
11626 instead of a Lisp_Object as argument to make it consistent with
11627 the other LIVE_P macros.
11628 (CHECK_LIVE_PROCESS): New macro.
11630 * process.c: Declare Qprocess_live_p.
11631 (Fprocess_live_p): New function.
11632 (create_process): Use PROCESS_LIVE_P.
11633 (read_process_output): Ditto.
11634 (set_process_filter): Ditto.
11635 (Fdelete_process): Ditto.
11636 (kill_buffer_processes): Ditto
11637 (process_send_signal): Use CHECK_LIVE_PROCESS.
11638 (Fprocess_input_coding_system): Check whether process is still
11639 alive (fix PR#1061).
11640 (Fprocess_output_coding_system): Ditto.
11641 (Fprocess_coding_system): Ditto.
11642 (Fset_process_input_coding_system): Ditto.
11643 (Fset_process_output_coding_system): Ditto.
11645 2000-01-23 Andy Piper <andy@xemacs.org>
11647 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
11650 * glyphs.c (mark_image_instance): take into account changed
11651 image_instance format.
11652 (image_instance_equal): ditto.
11653 (image_instance_hash): ditto.
11655 * glyphs-widget.c (widget_instantiate): Incorporate layout
11656 instantiation here. Delay layout of the layout until later.
11657 (layout_instantiate): deleted.
11658 (layout_query_geometry): new function. get the geometry of a
11660 (layout_layout): layout a layout dynamically.
11661 (image_instantiator_widget): New function - splitting up
11662 image_instantiator_format_create_glyphs_widget for netwinder
11664 (image_instantiator_buttons):
11665 (image_instantiator_edit_fields):
11666 (image_instantiator_combo_box):
11667 (image_instantiator_scrollbar):
11668 (image_instantiator_progress_guage):
11669 (image_instantiator_tree_view):
11670 (image_instantiator_tab_control):
11671 (image_instantiator_labels):
11672 (image_instantiator_layout): ditto.
11673 (image_instantiator_format_create_glyphs_widget): Call preceding
11676 2000-01-22 Martin Buchholz <martin@xemacs.org>
11678 * process.c (Fset_process_coding_system):
11679 * device-x.c (Fx_keysym_hash_table):
11682 * lstream.c (Lstream_write): Return documented value, not 0.
11684 * fileio.c (directory_file_name):
11685 (Fsubstitute_in_file_name):
11686 (Fsubstitute_insert_file_contents_internal):
11687 (Fwrite_region_internal):
11692 Remove vestigial APOLLO-conditional code.
11694 2000-01-21 Martin Buchholz <martin@xemacs.org>
11696 * getpagesize.h: Add guard macros.
11697 * libsst.h: Add guard macros.
11698 * libst.h: Add guard macros.
11699 * line-number.h: Add guard macros.
11700 * ndir.h: Add guard macros.
11701 * sysfloat.h: Add guard macros.
11702 * sysfile.h: Add guard macros.
11703 * sysproc.h: Add guard macros.
11704 * syswait.h: Add guard macros.
11705 * xintrinsic.h: Add guard macros.
11706 * xintrinsicp.h: Add guard macros.
11707 * xmmanager.h: Add guard macros.
11708 * xmmanagerp.h: Add guard macros.
11709 * xmprimitive.h: Add guard macros.
11710 * xmu.h: Add guard macros.
11711 * gpmevent.h: Add copyright statement. Add guard macros.
11712 * miscplay.h: Add guard macros.
11713 * *.h: Use consistent C-standards-approved guard macro names.
11715 * opaque.c (make_opaque): Switch parameter order.
11716 * opaque.h (make_opaque): Switch parameter order.
11717 Update all callers.
11718 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
11720 * config.h.in (type_checking_assert): Added.
11721 (bufpos_checking_assert): Added.
11723 2000-01-21 Martin Buchholz <martin@xemacs.org>
11725 * alloc.c: Harmless pdump changes.
11727 - spell alignment correctly.
11728 * sysdep.c: Use countof()
11730 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11732 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
11733 initially_selected_for_input() console method, default to 0.
11734 (semi_canonicalize_console_connection): Try to delegate to
11735 canonicalize_console_connection if no such console method.
11736 (canonicalize_console_connection): Vice versa.
11737 (print_console): Do not print nil connection.
11739 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
11740 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
11741 (XDEVIMPF_FRAMELESS_OK): Added.
11742 (CONSOLE_INHERITS_METHOD): Added.
11744 * console-msw.c (mswindows_canonicalize_console_connection):
11746 (mswindows_canonicalize_device_connection): Added.
11748 * console-msw.h (struct msprinter_device): Added this struct and
11750 (mswindows_device): Made fontlist a lisp object.
11752 * device.c (semi_canonicalize_device_connection): Try to delegate
11753 to canonicalize_device_connection if no such console method.
11754 (canonicalize_device_connection): Vice versa.
11755 (print_device): Do not print nil connection.
11757 * device-msw.c (mswindows_init_device): Call InitCommonControls
11759 (mswindows_delete_device): Removed fontlist deallocation.
11760 (mswindows_mark_device): Added.
11762 * events.c (event_equal): Added abort() at unreached code.
11763 (event_hash): Ditto.
11765 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
11766 fallback tags of Windows devices.
11768 * general.c (syms_of_general): Initialized Qmsprinter.
11770 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
11771 of fallback tags of Windows devices.
11773 * lisp.h: Declared Qmsprinter.
11775 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
11777 (mswindows_list_fonts): Ditto.
11778 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
11779 that it can be used by both mswindows and msprinter devices.
11780 (initialize_font_instance): Added.
11781 (mswindows_initialize_font_instance): Use it.
11782 (msprinter_initialize_font_instance): Added.
11784 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
11785 and implementation flags check.
11786 (redisplay_without_hooks): Changed the call to the above.
11787 (Fredraw_device): Ditto.
11788 (Fredisplay_device): Ditto.
11790 * redisplay-msw.c (get_frame_dc): Implemented.
11791 (get_frame_compdc): Implemented.
11792 (many functions): Use the two functions above to get device
11793 contexts, ether for a window or a printer.
11795 2000-01-21 Olivier Galibert <galibert@pobox.com>
11797 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
11798 initialization here.
11799 (init_symbols_once_early): Call it.
11800 * emacs.c (main_1): Call it.
11801 * symsinit.h: Declare it.
11803 2000-01-19 Olivier Galibert <galibert@pobox.com>
11805 * alloc.c: Use a lrecord_header * in the backtrace instead of a
11807 (pdump_backtrace): Ditto.
11808 (pdump_register_object): Ditto. Cleanup use of the pointers.
11809 (pdump_get_entry): Abort if trying to register a null pointer.
11810 (pdump_dump_data): Cleanup types when relocating.
11811 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
11812 (pdump_dump_rtables): Remove bad casts.
11813 (pdump_load): Cleanup relocation w.r.t union type. Use a
11814 Lisp_Object instead of a EMACS_INT for the hashtable
11817 2000-01-20 Martin Buchholz <martin@xemacs.org>
11819 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
11821 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
11823 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
11825 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
11827 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11829 * faces.h (FACE_STRIKETHRU_P): Added.
11831 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
11834 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
11835 (mswindows_set_dc_font): New function, aware of font variants,
11836 separated from mswindows_update_dc.
11838 * objects-msw.h (struct mswindows_font_instance_data): Added
11841 * objects-msw.c (mswindows_finalize_font_instance): Delete all
11842 cached fonts and the data structure.
11843 (mswindows_initialize_font_instance): Added creation of font data
11845 (mswindows_print_font_instance): Print at least something.
11846 (mswindows_create_font_variant): Implemented.
11847 (mswindows_get_hfont): Implemented.
11849 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
11851 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
11852 prototyping problem with msvc.
11854 * emacs.c (main_1): added syms_of_gui_mswindows() call
11856 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
11857 syms_of_gui_mswindows() function
11859 * symsinit.h: added the prototype for syms_of_gui_mswindows()
11861 2000-01-18 Martin Buchholz <martin@xemacs.org>
11863 * XEmacs 21.2.27 is released.
11865 2000-01-18 Martin Buchholz <martin@xemacs.org>
11867 * glyphs-eimage.c (struct tiff_error_struct):
11869 (tiff_warning_func):
11870 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
11875 * unexec.c: Remove vestigial Lucid C code.
11879 * libsst.c: Ansify.
11880 Remove declarations of errno and strerror().
11882 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
11884 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
11886 2000-01-16 Martin Buchholz <martin@xemacs.org>
11888 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
11891 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11896 Change enum eol_type to eol_type_t.
11898 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11900 * gui.c (get_gui_callback): Check cons before accessing car.
11902 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11904 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
11905 (XSETSPECIFIER_TYPE): Ditto.
11907 2000-01-17 Didier Verna <didier@xemacs.org>
11909 * redisplay.c (generate_fstring_runes): compute string size in
11910 characters, not bytes.
11912 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11914 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
11916 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
11918 * print.c (print_error_message): Call print_prepare().
11920 2000-01-14 Martin Buchholz <martin@xemacs.org>
11922 * .dbxrc: Renamed from dbxrc.
11924 * events.c (event_to_character):
11925 Use `assert (foo)' instead of `if (!foo) abort()'
11927 * .gdbinit (xtype): Add documentation.
11928 * .gdbinit (check-temacs): New function.
11929 * .gdbinit (check-xemacs): New function.
11930 * dbxrc (check-xemacs): New function.
11931 * dbxrc (check-xemacs): New function.
11933 2000-01-14 Andy Piper <andy@xemacs.org>
11935 * glyphs-widget.c (widget_query_geometry): Make sure that we
11936 calculate default dimensions correctly.
11938 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11940 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
11942 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
11943 pdump_wire'd variable.
11945 * emacs.c: (main_1): Conditionalized calls to
11946 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
11948 2000-01-13 Martin Buchholz <martin@xemacs.org>
11950 * window.c (Fset_window_configuration):
11951 * sysdep.c (_start):
11952 * input-method-motif.c (res):
11953 * event-Xt.c (Xt_process_to_emacs_event):
11954 Simple compiler warning fixes.
11956 * bytecode.c (funcall_compiled_function): Use the original
11957 function symbol on the backtrace list in preference to the
11958 compiled_function object in error messages.
11960 2000-01-13 Andy Piper <andy@xemacs.org>
11962 * glyphs-x.c (update_widget_face): Make sure we update the widget
11963 background as well as foreground.
11965 2000-01-13 Andy Piper <andy@xemacs.org>
11967 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
11968 fields to subwindow.
11969 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
11970 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
11971 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11972 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11974 * glyphs-widget.c (check_valid_tab_orientation): new function.
11975 (initialize_widget_image_instance): zero orientation and
11977 (widget_instantiate): pick up orientation.
11978 (tab_control_query_geometry): return appropriate values for
11981 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
11982 appropriate creation flags for left, right and bottom tabs.
11984 * s/cygwin32.h: add tab definitions.
11986 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11988 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
11989 frame upon hiding a subwindow.
11990 (mswindows_button_instantiate): Changed the push button style to
11992 (mswindows_button_instantiate): Removed button BS_NOTIFY
11994 (mswindows_button_instantiate): Removed redundant check for
11995 a disabled gui item.
11996 (mswindows_button_instantiate): Made use of WS_TABSTOP
11997 consistent: "operable" controls (edit, button, tree, scroll) have
11998 this style, "display-only" ones (static, progress gauge) do
11999 not. This style is currently ignored by XEmacs though. Also,
12000 removed the WS_EX_CONTROLPARENT style - it is not for children,
12001 it is for their parents!
12002 (mswindows_edit_field_instantiate): Ditto.
12003 (mswindows_progress_gauge_instantiate): Ditto.
12004 (mswindows_tree_view_instantiate): Ditto.
12005 (mswindows_tab_control_instantiate): Ditto.
12006 (mswindows_scrollbar_instantiate): Ditto.
12007 (mswindows_combo_box_instantiate): Ditto.
12008 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
12009 style to the "clip" window.
12010 (mswindows_button_instantiate): Removed compilation warning by
12011 equally typing terms of the ?: operator.
12013 2000-01-12 Didier Verna <didier@xemacs.org>
12015 * redisplay.c (generate_fstring_runes): new parameter holding the
12016 last modeline-format extent.
12017 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
12018 extent, fill the glyph block with it.
12019 (generate_fstring_runes): handle these parameters.
12020 (generate_formatted_string_db): ditto.
12022 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
12023 glyphs'extents in the modeline.
12025 1999-01-11 Mike Woolley <mike@bulsara.com>
12027 * ntheap.c: Reduced the reserved heap space from 1Gb down to
12028 256Mb, as a workaround for the non-starting problem many people
12031 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
12033 * console-tty.c (Fset_console_tty_output_coding_system):
12034 Force redrawing tty frame.
12036 2000-01-10 Didier Verna <didier@xemacs.org>
12038 * redisplay.c (generate_fstring_runes): fix size computation bug.
12040 2000-01-09 William M. Perry <wmperry@aventail.com>
12042 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
12044 2000-01-09 Andy Piper <andy@xemacs.org>
12046 * glyphs-msw.c: index -> i to avoid shadows.
12047 (xbm_create_bitmap_from_data): make static.
12048 (check_valid_string_or_int): deleted.
12049 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
12051 * glyphs-x.c (x_update_subwindow): remove unused args.
12053 * glyphs.c (glyph_image_instance): return the thing. Don't set the
12054 back pointer - this is done in allocate_image_instance.
12055 (query_string_font): return Qnil to make the compiler happy.
12056 (unmap_subwindow): set to ~0 to make the compiler happy.
12057 (glyph_query_geometry): comment out until used.
12058 (glyph_layout): ditto.
12060 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12062 * insdel.c (signal_after_change): Remove extraneous unbind_to().