X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=9b505c4f94b6b05960dfa7004fe573f99148d370;hb=89559a53b9683058a6cea41ce3f8f6c9bd067238;hp=91c0222213748fe3262a9a573f39e7079b6d0f29;hpb=3f6ecf401c01c83743af2c1e068f57e8d2e2e410;p=chise%2Fxemacs-chise.git.1 diff --git a/src/ChangeLog b/src/ChangeLog index 91c0222..d9b6740 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,2584 @@ +2007-10-07 Vin Shelton + + * XEmacs 21.4.21 is released + +2007-08-14 Marcus Crestani + + * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10. + +2007-02-17 Stephen J. Turnbull + + * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion. + (png_instantiate): Initialize setjmp_buffer early, and avoid + recursive entry to error handler. + +2007-06-23 Stephen J. Turnbull + + * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and + a typo fix. + +2007-05-12 Aidan Kehoe + + * event-Xt.c (x_reset_modifier_mapping): + * event-gtk.c (gtk_reset_modifier_mapping): + Zero out the device's modifier map once we've freed it, to prevent + a double free on a re-entrant call. + +2007-05-17 Vin Shelton + + * linuxplay.c (linux_play_data_or_file): Fix playing sound on + 64-bit linux. Patch from Hans de Graaff. + +2007-05-02 Vin Shelton + + * dumper.c (pdump): Don't close pdump_fd (already closed by + fclose() call. Patch from Steve Higham. + * callproc.c (Fold_call_process_internal): Don't close fd1 if it's + already closed. Patch inspired by Steve Higham. + +2007-05-01 Vin Shelton + + * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access. + (mswindows_fstat): Ditto. + * sysfile.h: Under Windows, define X_OK to be the same as R_OK. + +2007-02-08 Adrian Aichner + + * postgresql.c: Update Steve Baur's email address by his request. + * postgresql.h: Ditto. + +2007-01-04 Vin Shelton + + * fileio.c (check_writable): Check old-style readonly bit only for + non-directories. + +2006-12-25 Benson I. Margulies + + * src/fileio.c (check_writable): + Cope with the fact that the read-only attribute trumps Windows NTFS + ACLS. + + +2006-12-09 Vin Shelton + + * XEmacs 21.4.20 is released + +2006-12-08 Nelson Ferreira + + * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND): + relocated the definitions to be used sooner in file. + (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use + XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack + overflow. + +2006-11-29 Aidan Kehoe + + * sound.c (init_native_sound): + Only X11 and GTK devices can possibly not be on the console of the + associated machine. Fixes a crash when init_native_sound is called + on a msprinter device. + +2006-11-14 Stephen J. Turnbull + + * buffer.c (buffer-file-name): Document invariant. + (buffer-file-truename): Sync wording to buffer-file-name. + Thanks to Nelson Ferreira for report + and discussion. + +2006-11-19 Benson Margulies + + * fileio.c: Add code to use full Win32 API to check for write + access. Win32 has the general design policy that you aren't + supposed to ask this question, since security checks change + depending on asynchronous processes. Nonetheless, there is a way, + by acting as if we are a server doing interpretive access + control. + +2006-07-31 Aidan Kehoe + + * bytecode.c: Use xnew_array instead of alloca. + +2006-07-04 Vin Shelton + + * redisplay-msw.c: Fix tiny, but crucial typo. + +2006-06-22 Jerry James + + * EmacsShell-sub.c (ChangeManaged): + * device-x.c (x_IO_error_handler): Do not dereference d if it is + NULL. + * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before + checking if it is NULL. Also fix a memory leak. + * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then + dereference it, not the other way around. + * dumper.c (pdump_register_object): Fix off-by-one array bounds + overflow check. + * dumper.c (pdump_register_struct): Ditto. + * editfns.c (Ftemp_directory): Don't let a copy from (long) path + to (short) warnpath overflow warnpath. + * extents.c (detach_all_extents): Call extent_list_delete_all with + a non-NULL parameter only. + * glyphs-widget.c (widget_query_geometry): Guard against possibly + NULL width and height. + * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or + xic before checking if they are NULL. + * keymap.c (where_is_recursive_mapper): Don't throw away the newly + allocated array. + * md5.c (Fmd5): Check whether Lstream_read encountered an error. + * nas.c (Err): Fix a memory leak. + * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak. + Don't create the buffer if there is nothing to do. + * redisplay-msw.c (mswindows_output_display_block): Ditto. + * redisplay-output.c (redisplay_output_layout): Ditto. + * redisplay-tty.c (tty_output_display_block): Ditto. + * redisplay-x.c (x_output_display_block): Ditto. + * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not + dereference instance->scrollbar_data if it is NULL. + * scrollbar-x.c (x_free_scrollbar_instance): Ditto. + * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but + for sb->scrollbar_data. + * sound.c (init_native_sound): Avoid a buffer overflow by + allocating a buffer with the appropriate size. + +2006-05-08 Stephen J. Turnbull + + * EmacsShell-sub.c (RootGeometryManager): + Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT. + Based on a suggestion by Francois L'Archeveque. + +2006-03-21 Malcolm Purvis + + * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the + current values found in GNU Emacs. + +2006-03-17 Vin Shelton + + * dialog-msw.c (handle_directory_dialog_box): Don't declare + Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue. + + * glyphs-msw.c (read_bitmap_data): change 'initialized' to + 'hex_initialized' because it conflicts with 'initialized' in + lisp.h. + +2006-01-28 Vin Shelton + + * XEmacs 21.4.19 is released + +2006-01-20 Rick Rankin + + * sysdir.h: Workaround missing d_ino field from 'struct dirent'. + +2005-12-24 Aidan Kehoe + + * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from + 5000 to INT_MAX. + +2005-12-05 Dr. Volker Zell + + * database.c: Suppress compiler warning under Cygwin. + * database.c: Removed __FreeBSD__ check, should be handled by + HAVE_U_xxx_T defines. + +2005-12-18 Malcolm Purvis + + * console.c (stuff_buffered_input): Compile body only if + HAVE_TTY. + +2005-05-10 Aidan Kehoe + + * callproc.c: #include sysdir.h, so that any appropriate Mule + magic happens with the chdir() call when calling a subprocess. + +2005-12-06 Aidan Kehoe + + * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add. + * mule-ccl.c: Check that a character set exists before using it + to create a character. + +2005-12-06 Vin Shelton + + * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000 + to INT_MAX. + +2005-12-03 Vin Shelton + + * XEmacs 21.4.18 is released + +2005-11-27 Kean Johnston + + * redisplay-tty.c (set_tty_modes): + (reset_tty_modes): disable auto-margins if the terminal supports + them. + (init_tty_for_redisplay): fix cursor shape. + +2005-04-05 Aidan Kehoe + + * mule-ccl.c (ccl_driver): Calculate the charset and position code + for control-1 characters properly, both when reading multibyte + characters and writing them. + +2005-03-12 Aidan Kehoe + + * config.h.in: Make HAVE_XTREGISTERDRAWABLE available. + * select-x.c (x_reply_selection_request): Use it; fix the bug we + were seeing with incremental selection transfer failing. + +2005-11-26 Vin Shelton + + * callproc.c (Fold_call_process_internal): Create the buffer if it + does not already exist. The original patch came from Ben Wing in + http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html + +2002-05-13 Adrian Aichner + + * callproc.c: Process-related docstring improvements spurred by + Norbert Koch. + +2005-11-25 Vin Shelton + + * depend: Regenerated. + +2005-07-11 Malcolm Purvis + + * glyphs-gtk.c: Rename a local static variable because gcc 4.0 + says it clashes with a global with the same name. + +2005-07-11 Atanu Ghosh + + * sysdll.c (dll_open): Under MacOS X return NULL under the + filename is NULL. Fixes problems finding local symbols under 10.4 + (Tiger) + +2005-11-15 Dr. Volker Zell + + * config.h.in: New HAVE_U_INT*_T defines. + + * database.c: Only use u_int*_t typedefs if not already + defined. + +2005-04-07 15:08 Enrico Scholz + + * src/process-unix.c (unix_open_network_stream): moved + 'portbuf' buffer out of an inner block as it is used in the + entire function. With gcc4, the stack may get corrupted + after leaving this block. This patches adjusts the size of + the used buffer also; static '128' bytes are far too much + currently and might not suffice for future architectures + (e.g. for 512 bit ones ;)). Instead of, use only the really + required space (max octets * ln(256)/ln(10) chars + space + for '\0' and the sign) + +2005-04-08 Aidan Kehoe + + * callproc.c: Include sysdir.h, so any necessary Mule processing + is done on the current directory name before starting a new + process. + +2005-04-06 Stephen J. Turnbull + + * chartab.c (Fchar_table_p): + (Fget_range_char_table): + (Fput_char_table): + (Fmap_char_table): + Describe range representation and fix typo. + +2005-02-12 Vin Shelton + + * emacs.c (shut_down_emacs): Advise users to send email to the + xemacs-beta list instead of crashes@xemacs.org. + +2005-02-03 David Evers + + * process-unix.c (unix_send_process): Flush the last chunk, even + when the pipe is blocked. + +2005-02-06 Vin Shelton + + * XEmacs 21.4.17 is released + +2005-01-31 Ben Wing + + * emacs.c: + Define assert_failed() always. + * lisp.h: + Always define ABORT(). + +2005-01-25 Ben Wing + + * Makefile.in.in: + * Makefile.in.in (%.o): + Don't compile executable as Windows (-mwindows) under Cygwin. + Semi-recent changes to Cygwin's executable-startup handling make + it impossible to access the TTY this way. + + Don't use special linker file under Cygwin (cygwin.sc) except + when non-PDUMP (even in this case it is highly questionable); you + get errors like + + 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5 + 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5 + +2005-01-29 Ben Wing + + Port this: 2003-08-14 Stephen J. Turnbull + + * mule-charset.c (get_unallocated_leading_byte): Compiler quietus. + +2005-01-29 Ben Wing + + * bytecode.c (optimize_compiled_function): + * print.c (FROB): + * print.c (long_to_string): + Add casts to avoid warning. + + * glyphs-eimage.c: + Some really nasty hacks to allow TIFF and JPEG to both be compiled. + #### The better solution is to move the TIFF and JPEG code to + different files. + + * glyphs-msw.c (mswindows_xbm_instantiate): + Define __STDC__ to avoid problems with compface.h. + + * EmacsFrame.c (EmacsFrameRecomputeCellSize): + * EmacsShell-sub.c: + * EmacsShell-sub.c (ABORT): + * EmacsShell-sub.c (SuperClassRootGeometryManager): + * EmacsShell-sub.c (RootGeometryManager): + * EmacsShell.c: + * EmacsShell.c (ABORT): + * EmacsShell.c (EmacsShellUpdateSizeHints): + * alloc.c (free_lcrecord): + * alloca.c (i00afunc): + * buffer.c (delete_from_buffer_alist): + * buffer.c (MARKED_SLOT): + * bytecode.c (execute_rare_opcode): + * bytecode.c (optimize_byte_code): + * bytecode.c (Ffetch_bytecode): + * chartab.c (char_table_type_to_symbol): + * chartab.c (Freset_char_table): + * chartab.c (decode_char_table_range): + * chartab.c (Fget_range_char_table): + * chartab.c (check_valid_char_table_value): + * chartab.c (map_char_table): + * chartab.c (slow_map_char_table_fun): + * chartab.c (chartab_instantiate): + * cm.c (cmcheckmagic): + * console-msw.c (DHEADER): + * console.c (MARKED_SLOT): + * data.c (finish_marking_weak_lists): + * data.c (encode_weak_list_type): + * debug.h (DASSERT): + * device-gtk.c (gtk_init_device): + * device-msw.c (mswindows_get_default_margin): + * device-tty.c (tty_init_device): + * device-x.c (get_device_from_display): + * device-x.c (x_get_visual_depth): + * doprnt.c (parse_doprnt_spec): + * doprnt.c (get_doprnt_args): + * dumper.c (pdump_get_indirect_count): + * dumper.c (pdump_register_sub): + * dumper.c (pdump_register_object): + * dumper.c (pdump_register_struct): + * dumper.c (pdump_dump_data): + * dumper.c (pdump_reloc_one): + * elhash.c (print_hash_table): + * elhash.c (make_standard_lisp_hash_table): + * elhash.c (hash_table_instantiate): + * emacs.c: + * emacs.c (Fforce_debugging_signal): + * emacs.c (sort_args): + * emacs.c (main): + * emacs.c (assert_failed): + * eval.c (throw_or_bomb_out): + * eval.c (signal_1): + * eval.c (Fsignal): + * event-Xt.c: + * event-Xt.c (emacs_Xt_mapping_action): + * event-Xt.c (Xt_process_to_emacs_event): + * event-msw.c: + * event-stream.c (check_event_stream_ok): + * event-stream.c (Fadd_timeout): + * event-stream.c (Fadd_async_timeout): + * event-stream.c (Fdiscard_input): + * event-stream.c (execute_internal_event): + * event-stream.c (Frecent_keys): + * event-stream.c (extract_this_command_keys_nth_mouse_event): + * event-stream.c (lookup_command_event): + * event-unixoid.c (poll_fds_for_input): + * events.c: + * events.c (mark_event): + * events.c (event_equal): + * events.c (event_hash): + * events.c (Fmake_event): + * events.c (Fdeallocate_event): + * events.c (event_chain_find_previous): + * events.c (event_to_character): + * events.c (format_event_object): + * events.c (Fevent_type): + * events.c (event_pixel_translation): + * events.c (Fevent_properties): + * extents.c (extent_in_region_p): + * extents.c (print_extent): + * extents.c (process_extents_for_insertion_mapper): + * extents.c (report_extent_modification_mapper): + * extents.c (glyph_layout_to_symbol): + * faces.c (face_validate): + * file-coding.c (eol_type_to_symbol): + * file-coding.c (subsidiary_coding_system): + * file-coding.c (Fcoding_system_type): + * file-coding.c (Fcoding_system_property): + * file-coding.c (mule_decode): + * file-coding.c (mule_encode): + * file-coding.c (encode_coding_ucs4): + * file-coding.c (encode_coding_utf8): + * file-coding.c (parse_iso2022_esc): + * file-coding.c (encode_coding_iso2022): + * fileio.c: + * fns.c (concat): + * fns.c (Fsubseq): + * fns.c (mapcar1): + * fns.c (Fbase64_encode_region): + * fns.c (Fbase64_encode_string): + * fns.c (Fbase64_decode_region): + * fns.c (Fbase64_decode_string): + * font-lock.c (find_context): + * font-lock.c (context_to_symbol): + * frame-gtk.c (gtk_set_frame_pointer): + * frame-gtk.c (gtk_update_frame_external_traits): + * frame-x.c (x_wm_mark_shell_size_user_specified): + * frame-x.c (x_wm_mark_shell_position_user_specified): + * frame-x.c (x_wm_set_shell_iconic_p): + * frame-x.c (x_wm_set_cell_size): + * frame-x.c (x_wm_set_variable_size): + * frame-x.c (x_wm_store_class_hints): + * frame-x.c (x_wm_maybe_store_wm_command): + * frame-x.c (x_initialize_frame_size): + * frame-x.c (x_update_frame_external_traits): + * frame.c: + * frame.c (delete_frame_internal): + * frame.c (mouse_pixel_position_1): + * frame.c (change_frame_size_1): + * free-hook.c (check_free): + * free-hook.c (check_realloc): + * free-hook.c (note_block_input): + * free-hook.c (log_gcpro): + * gccache-gtk.c (gc_cache_lookup): + * glyphs-eimage.c (tiff_memory_write): + * glyphs-gtk.c (gtk_finalize_image_instance): + * glyphs-gtk.c (init_image_instance_from_gdk_pixmap): + * glyphs-gtk.c (init_image_instance_from_xbm_inline): + * glyphs-gtk.c (gtk_xpm_instantiate): + * glyphs-gtk.c (gtk_unmap_subwindow): + * glyphs-gtk.c (gtk_map_subwindow): + * glyphs-gtk.c (gtk_button_redisplay): + * glyphs-msw.c: + * glyphs-msw.c (init_image_instance_from_xbm_inline): + * glyphs-x.c (init_image_instance_from_xbm_inline): + * glyphs-x.c (extract_xpm_color_names): + * glyphs-x.c (x_xpm_instantiate): + * glyphs.c (get_image_instantiator_governing_domain): + * glyphs.c (print_image_instance): + * glyphs.c (image_instance_equal): + * glyphs.c (image_instance_hash): + * glyphs.c (encode_image_instance_type): + * glyphs.c (make_image_instance_1): + * glyphs.c (inherit_instantiate): + * glyphs.c (image_instantiate): + * glyphs.c (allocate_glyph): + * glyphs.c (Fglyph_type): + * glyphs.c (redisplay_subwindow): + * glyphs.c (display_table_entry): + * gtk-glue.c (xemacs_list_to_gtklist): + * gtk-glue.c (xemacs_gtklist_to_list): + * gtk-glue.c (xemacs_list_to_array): + * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG): + * gutter.c (gutter_was_visible): + * gutter.c (get_gutter_coords): + * input-method-xlib.c (get_XIM_input): + * insdel.c (bufpos_to_bytind_func): + * insdel.c (bytind_to_bufpos_func): + * insdel.c (move_gap): + * intl.c (x_get_composed_input): + * keymap.c (keymap_lookup_directly): + * keymap.c (keymap_delete_inverse_internal): + * keymap.c (ensure_meta_prefix_char_keymapp): + * keymap.c (accessible_keymaps_mapper_1): + * keymap.c (where_is_recursive_mapper): + * lisp.h: + * lisp.h (ABORT): + * lread.c (read_atom): + * lstream.c (Lstream_delete): + * lstream.c (make_lisp_buffer_stream_1): + * macros.c (pop_kbd_macro_event): + * malloc.c (malloc): + * malloc.c (free): + * marker.c (bi_marker_position): + * marker.c (set_bi_marker_position): + * menubar-gtk.c (menu_descriptor_to_widget_1): + * menubar-msw.c (prune_menubar): + * menubar-x.c (set_frame_menubar): + * mule-charset.c (get_unallocated_leading_byte): + * mule-charset.h (CHAR_LEADING_BYTE): + * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG): + * nt.c (init_environment): + * nt.c (generate_inode_val): + * ntproc.c (delete_child): + * ntproc.c (_sys_read_ahead): + * ntproc.c (create_child): + * objects.c (color_instantiate): + * objects.c (font_instantiate): + * objects.c (face_boolean_instantiate): + * print.c (printing_major_badness): + * process-nt.c (nt_send_process): + * process-unix.c (unix_send_process): + * process.c (get_process): + * ralloc.c (obtain): + * ralloc.c (relinquish): + * ralloc.c (relocate_blocs): + * ralloc.c (resize_bloc): + * ralloc.c (r_alloc_free): + * ralloc.c (r_re_alloc): + * ralloc.c (r_alloc_thaw): + * ralloc.c (init_ralloc): + * ralloc.c (Free_Addr_Block): + * ralloc.c (r_alloc): + * redisplay-gtk.c (gtk_output_display_block): + * redisplay-msw.c (mswindows_output_display_block): + * redisplay-output.c (get_next_display_block): + * redisplay-output.c (get_cursor_size_and_location): + * redisplay-output.c (redisplay_output_layout): + * redisplay-output.c (redisplay_clear_region): + * redisplay-tty.c (tty_output_display_block): + * redisplay-x.c (x_output_display_block): + * redisplay.c (add_propagation_runes): + * redisplay.c (add_glyph_rune): + * redisplay.c (create_text_block): + * redisplay.c (add_margin_runes): + * redisplay.c (create_left_glyph_block): + * redisplay.c (create_right_glyph_block): + * redisplay.c (create_string_text_block): + * redisplay.c (regenerate_window): + * redisplay.c (REGEN_INC_FIND_START_END): + * redisplay.c (redisplay_frame): + * redisplay.c (point_in_line_start_cache): + * regex.c: + * regex.c (ABORT): + * regex.c (re_compile_fastmap): + * regex.c (re_match_2_internal): + * regex.c (regerror): + * scrollbar-gtk.c (gtk_scrollbar_loop): + * scrollbar-gtk.c (scrollbar_cb): + * scrollbar-gtk.c (gtk_update_frame_scrollbars): + * scrollbar-msw.c (mswindows_handle_scrollbar_event): + * scrollbar-x.c (x_update_scrollbar_instance_status): + * scrollbar-x.c (x_scrollbar_loop): + * scrollbar-x.c (x_update_frame_scrollbars): + * search.c (search_command): + * search.c (Fmatch_data): + * select-x.c (motif_clipboard_cb): + * signal.c (interrupt_signal): + * specifier.c (specifier_add_spec): + * specifier.c (specifier_instance_from_inst_list): + * specifier.c (specifier_instance): + * specifier.h: + * specifier.h (struct specifier_methods): + * strftime.c (add_num_time_t): + * sunplay.c (init_device): + * symbols.c (Fsetplist): + * symbols.c (do_symval_forwarding): + * symbols.c (store_symval_forwarding): + * symbols.c (Fset): + * symbols.c (Fbuilt_in_variable_type): + * symbols.c (decode_magic_handler_type): + * symbols.c (handler_type_from_function_symbol): + * syntax.c (update_syntax_cache): + * sysdep.c (init_baud_rate): + * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG): + * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG): + * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG): + * toolbar.c (get_toolbar_coords): + * ui-gtk.c (build_gtk_boxed): + * ui-gtk.c (describe_gtk_arg): + * ui-gtk.c (gtk_type_to_lisp): + * ui-gtk.c (lisp_to_gtk_type): + * ui-gtk.c (lisp_to_gtk_ret_type): + * ui-gtk.c (lisp_to_flag): + * unexnt.c (read_in_bss): + * unexnt.c (map_in_heap): + * window.c (real_window): + * window.c (window_display_lines): + * window.c (window_display_buffer): + * window.c (set_window_display_buffer): + * window.c (window_modeline_height): + * window.c (unshow_buffer): + * window.c (window_loop): + * window.c (Fget_lru_window): + * window.c (Fsplit_window): + * window.c (Fset_window_configuration): + * window.c (saved_window_index): + * xgccache.c (gc_cache_lookup): + abort() -> ABORT(). Eliminate preprocessor games with abort() + since it creates huge problems in VC7, solvable only by including + massive amounts of files in every compile (and not worth it). + + * sysdep.c: + * sysproc.h: + Inclusion of process.h does not need to be before lisp.h any more. + Move later and remove comment about abort(). + +2005-01-26 Arnaud Giersch + + * regex.c (re_match_2_internal): + Correctly initialize loop which clears uninitialized registers. + +2005-01-28 Vin Shelton + + * sheap.c (more_static_core): Applied Ben's version of the long + string patch. + +2005-01-24 Vin Shelton + + * sheap.c (more_static_core): Reformatted printf string so + gcc-3.3.3 will compile this on Cygwin. + +2004-02-22 Stephen J. Turnbull + + * console.c (function_key_map): Reference `key-binding'. + + * keymap.c (Vkey_translation_map): Improve docstring. + +2004-03-30 Zajcev Evgeny + + * window.c: Declare `allow_deletion_of_last_visible_frame' extern. + * window.c (window_loop): [fix] Take into account + `allow-deletion-of-last-visible-frame' variable. + * window.c (replace-buffer-in-windows): Ditto. + +2004-12-15 Stephen J. Turnbull + + * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo. + +2005-01-20 Malcolm Purvis + + * event-gtk.c: Recognise AltGr as a valid modifier. + +2005-01-12 Ville Skyttä + + * console-x.h: #include X11/keysym.h before xintrinsic.h. + +2005-01-13 Stephen J. Turnbull + + Fix backreference bug caught by test suite. + + * regex.c (regex_compile): + Make backref duplicate internal register. + +2005-01-13 Stephen J. Turnbull + + Documentation, code clarification, and warning suppression. + + * regex.c (regex_compile): + Improve comments. + (re_match_2_internal): + Improve comments and avoid redundant braces. [Most of the big hunk + at l. 4710 is indentation; use diff -w to see the real changes.] + (alt_match_null_string_p): + (common_op_match_null_string_p): + Avoid shadowing global on Mac OS X 10.4, at least. + +2004-09-08 Stephen J. Turnbull + + * regex.c (regcomp): Fix "unsigned comparison" warning (maybe + introduced with shy groups fix). [Already applied, probably + with the second "fix shy groups" patch of 2004-10-07.] + +2005-01-10 Steve Youngs + + From Andrey Slusar : + + * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64. + +2004-11-21 Malcolm Purvis + + * Makefile (RECURSIVE_MAKE): Removed. + * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for + handling parallel builds. + +2004-09-08 Malcolm Purvis + + * Makefile.in.in: Enable support for parallel builds. + +2005-01-09 Steve Youngs + + From Andrey Slusar : + + * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if + FreeBSD version is >= 199701 _and_ < 600006. + +2005-01-06 Zajcev Evgeny + + * scrollbar.c (compute_scrollbar_instance_usage): + Only call device method compute_scrollbar_instance_usage() if it + is defined. + +2004-12-05 Vin Shelton + + * XEmacs 21.4.16 is released + +2004-12-04 Vin Shelton + + * depend: Regenerated. + +2004-10-07 Stephen J. Turnbull + + * regex.c (re_match_2_internal): Map internal to external + registers. Fixes bug identified by Steve Youngs 2004-09-30 + . + +2004-09-02 Yoshiki Hayashi + + * buffer.c (Frecord_buffer): Make sure the argument is buffer + to fix a crash. Also, check the buffer is live and it + really exists in buffer_list. If the buffer is not in the list, + prepend it. + +2004-09-08 Stephen J. Turnbull + + Fix shy groups by implementing recording of all groups for + repetition and backtracking. Backport from 21.5. + + * regex.h (struct re_pattern_buffer): Add members re_ngroups, + external_to_internal_register, external_to_internal_register_size, + and update comments for re_nsub. + + * regex.c (re_opcode_t): Update comments. + (print_compiled_pattern): Ouput external_to_internal_register, + external_to_internal_register_size, and re_ngroups for debugging. + (INIT_REG_TRANSLATE_SIZE): New manifest constant. + (regex_compile): Update header comment. + Ensure that all groups are recorded so that repeat matches and + backtracking work correctly. Comment related warning for groups > + 255. + (re_search_2): Construct map of API indexes (which count only + nonshy groups) to internal register numbers, and keep it updated. + +2004-07-27 Malcolm Purvis + + * frame-gtk.c (gtk_make_frame_visible): + * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of + show/hide. This is what X uses and is prevents previously hidden + widgets from suddenly reappearing. + * gtk-xemacs.c (gtk_xemacs_paint): + * gtk-xemacs.c (gtk_xemacs_draw): + * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is + drawable. + * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force + size and location changes so that they can be seen before the next + idle event. Without this rapid changes to scrollbar properties + are not seen. + +2004-07-02 Malcolm Purvis + + * console-gtk.h: + * console-gtk.h (struct gtk_frame): + * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE): + Add hash tables track tab_control callback data. + Added #defines for GTK object data names. + Declaration of gtk_widget_to_frame(). + * event-gtk.c (enqueue_gtk_dispatch_event) No longer static: + * frame-gtk.c (gtk_widget_to_frame): New. + * frame-gtk.c (gtk_create_widgets): + * frame-gtk.c (allocate_gtk_frame_struct): + * frame-gtk.c (gtk_mark_frame): + Manage frame callbakc hash tables. + * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs. + * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets. + * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration + of widget size. + * glyphs-gtk.c (gtk_widget_query_geometry): New + * glyphs-gtk.c (gtk_register_gui_item): New + * glyphs-gtk.c (gtk_add_tab_item): New + * glyphs-gtk.c (gtk_tab_control_callback): New + * glyphs-gtk.c (gtk_tab_control_instantiate): New + * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page. + Use correct list when loading item. + * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk): + Register new methods. + * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not + default size, for widgets. + * gui-x.c: Improved comment. + * menubar-gtk.c (__generic_button_callback): Use + gtk_widget_to_frame instead of __get_channel. + * scrollbar-gtk.c: + * ui-gtk.c: Use symbolic names for GTK object data. + +2004-06-23 Ilya N. Golubev + + * s/usg5-4.h (NSIG): Define only inside emacs binary. + +2002-03-04 Stephen J. Turnbull + + * fileio.c (Fwrite_region_internal): Document use of start == Qnil. + +2004-06-16 Malcolm Purvis + + * malloc.c (morecore): siz is a long because in some architectures + (eg ia-64) an int cannot hold the address range. Additional patch + from the SuSe distribution. + +2004-06-13 Malcolm Purvis + + * emacs.c: + * malloc.c: lim_data is a long because in some architectures + (eg ia-64) an int cannot hold the address range. + * mem-limits.h: lim-data is a long. Linux uses getrlimit() + instead of ulimit() because ulimit() always returns -1. + +2004-06-09 Stephen J. Turnbull + + * search.c: Reenable an ansync semaphore. Remove bogus comments. + +2004-06-11 David Kastrup + + * search.c (match_limit): Don't flag an error if match-data + exceeding the allocated search_regs.num_regs gets requested, just + return Qnil. + +2003-07-21 Malcolm Purvis + + * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to + replace symbolic color entries with the real colors specified in + xpm-color-symbols, before passing the XPM to gtk. + * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks, + instead of a GTK specific field, so that it is used in by generic + code. + +2004-05-05 Chuck Hines + + * dgif_lib.c (DGifSlurp): Changed do-while to while to stop + coredump from deref of NULL ptr (ExtData) + +2004-04-19 Jerry James + + * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of + VALBITS to compute the location of the sign bit. + * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use + of VALBITS with EMACS_INT_MAX. + * events.c (Fevent_timestamp): Ditto. + * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to + compute the halfway point to timestamp wraparound. + * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and + EMACS_INT_MIN instead of using VALBITS. + * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an + incorrect number with VALBITS. + * fns.c (Frandom): Correct number of integer bits in docstring. + Use INT_VALBITS instead of VALBITS to compute the denominator. + * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to + build random numbers. + +2004-03-23 Malcolm Purvis + * event-gtk.c: + * event-gtk.c (gtk_event_to_emacs_event): + * menubar-gtk.c: + * menubar-gtk.c (gtk_xemacs_menubar_class_init): + * menubar-gtk.c (gtk_xemacs_menubar_size_request): + * menubar-gtk.c (gtk_xemacs_accel_label_get_type): + * menubar-gtk.c (gtk_xemacs_set_accel_keys): + * menubar-gtk.c (__activate_menu): + * menubar-gtk.c (convert_underscores): + * menubar-gtk.c (remove_underscores): + * menubar-gtk.c (menu_convert): + * menubar-gtk.c (menu_descriptor_to_widget_1): + * menubar-gtk.c (menu_descriptor_to_widget): + * menubar-gtk.c (menu_can_reuse_widget): + * menubar-gtk.c (menu_create_menubar): + * menubar-gtk.c (gtk_popup_menu): + * menubar-gtk.c (Fgtk_build_xemacs_menu): + Added support for Gtk menu bar and menu item mnemonics. + +2004-03-23 Malcolm Purvis + + * sysdll.c: (dll_function): Added support for finding symbols in + Darwin shared libraries as well in Darwin bundles. + * sysdll.c (image_for_address): New + * sysdll.c (my_find_image): New + * sysdll.c (search_linked_libs): New + +2004-03-23 Malcolm Purvis + + * ui-gtk.c (__internal_callback_marshal): Marshalling data to + return to GTK requires a different API to marshalling data to use + as GTK parameters. + * ui-gtk.c (lisp_to_gtk_ret_type): New. + +2004-03-08 Lutz Euler + + * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN. + +2004-02-19 Stephen J. Turnbull + + * glyphs.c (process_image_string_instantiator): + (Fset_console_type_image_conversion_list): + Stop GCC from warning about shadowing of `exp'. + + * redisplay-x.c (x_output_string): Fix unsigned lossage. + +2004-02-19 Stephen J. Turnbull + + * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2. + +2004-02-03 Vin Shelton + + * glyphs.c (image_instance_layout): Remove pointless assertion. + * regex.c (regex_grow_registers): Return type is void. + +2004-02-02 Vin Shelton + + * XEmacs 21.4.15 is released + +2004-01-30 Glynn Clements + + * device-x.c (x_error_handler): Don't call stderr_out + +2003-11-07 Katsumi Yamaoka + + * buffer.c (other-buffer): Clarify documentation of order of + arguments for FSF Emacs. + +2003-10-11 Olivier Galibert + + * window.c (Fdelete_window): Dirty the mirror structure _before_ + marking the window deleted. + +2003-09-15 Jerry James + + * event-msw.c (debug_mswin_messages): Conditionally compile + messages missing from the Cygwin headers. + +2003-06-16 Stephen J. Turnbull + + * data.c (eq_with_ebola_notice): Fix typo in comment. + (Ftrue_list_p): Improve docstring. + +2003-10-13 Stephen J. Turnbull + + * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom. + +2003-09-27 Stephen J. Turnbull + + * search.c (trivial_regexp_p): Regexps containing "\{" are + nontrivial. Thanks to Manfred Bartz for reporting the bug and + Stefan Monnier for suggesting a diagnosis. + +2003-09-25 Stephen J. Turnbull + + * elhash.c (make-hash-table): Clarify use of :test #'equal. + +2003-09-12 Stephen J. Turnbull + + * search.c (Fsearch_forward): + (Fsearch_backward): + Document negative count. + +2003-09-13 Stephen J. Turnbull + + * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too. + +2003-09-13 Martin Buchholz + + * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor + +2003-09-15 Vin Shelton + + * .gdbinit (pobj): Remove Ilya's fix that was only intended for + 21.5. + +2003-09-12 Yoshiki Hayashi + + * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove. + (re_search_2): Match the first byte of Bufbyte, not Emchar. + (re_match_2_internal): Use TRANSLATE instead of + TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass + non-ASCII char case conversion. + +2003-09-08 Mike Sperber + + * symbols.c (Fvariable_binding_locus): Add, as per suggestion from + RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010 + +2003-06-14 Ilya N. Golubev + + * .gdbinit (pobj): fix printing of symbol name. + +2003-08-01 Ilya N. Golubev + + * frame-x.c (x_layout_widgets): When resizing is about to cause + frame size slip, mark it for redisplay. + +2003-08-18 Jerry James + + * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions. + +2003-09-03 Vin Shelton + + * XEmacs 21.4.14 is released + +2003-08-15 Stephen J. Turnbull + + * config.h.in (REGEX_MALLOC): Make it configure'able. + +2003-08-14 Andrew Begel + + * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic + linking. + * sysdll.c (dll_init): + * sysdll.c (dll_open): + * sysdll.c (dll_close): + * sysdll.c (dll_function): + * sysdll.c (dll_variable): + * sysdll.c (dll_error): + Add support for loading bundles using Darwin/MacOSX + native API. + +2003-08-12 Stephen J. Turnbull + + * process.c (start-process-internal): Document coding systems. + +2003-07-30 Jerry James + + * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD. + +2003-07-31 René Kyllingstad + + * event-msw.c (mswindows_enqueue_mouse_button_event): + * event-msw.c (mswindows_wnd_proc): + enqueue button event when scrollwheel event isn't handled by + mswindows_handle_mousewheel_event, such as when the scrollbars + are not showing. + +2003-07-29 Stephen J. Turnbull + + * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*. + +2003-03-24 Stephen J. Turnbull + + * database.c (Fopen_database): Don't use DB_AUTO_COMMIT. + +2003-03-21 Stephen J. Turnbull + + * regex.c (re_match_2_internal): Fix matching degenerate word + boundaries. + +2003-05-25 XEmacs Build Bot + + * XEmacs 21.4.13 is released + +2003-03-20 Stephen J. Turnbull + + * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H): + * lisp.h (): + Cygwin defines these types in . Don't duplicate + the definition. + +2003-03-15 Martin Buchholz + + * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file. + Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs' + Result: "temacs can only be run in -batch mode." + Fix: Check xemacs executable candidate for directory-ness. + +2003-03-03 Robert Pluim + + * database.c: Don't use the u_int8_t etc typedefs on FreeBSD, + they conflict with . + +2003-02-14 Martin Buchholz + + * database.c: Berkeley DB wants __STDC__ to be defined. + +2003-02-13 Martin Buchholz + + * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'. + +2003-02-01 Martin Buchholz + + * process-unix.c (unix_send_process): Fix C++ compile error. + +2003-02-25 Andrew Begel + + * Added .dylib as an acceptable shared library file extension + * to support MacOSX. + +2003-02-01 Martin Buchholz + + * EmacsFrameP.h (EmacsFramePart): + Kludge to allow compiling with Motif1, but linking with Motif2. + +2003-01-28 Martin Buchholz + + * config.h.in (_ALL_SOURCE): Guard against multiple definition. + + +2003-02-23 Stephen J. Turnbull + + * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin. + +2003-02-06 Andrew Begel + + * sysdll.c: Included lisp.h to define needed alloca_array. + +2003-02-13 Martin Buchholz + + Make XEmacs redisplay 10 times faster. + If, that is, you're using a slow X connection and MoveOpaque. + Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion. + Use compress_motion = TRUE. + * EmacsFrame.c (emacsFrameClassRec): + * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC): + * EmacsManager.c (emacsManagerClassRec): + * xintrinsicp.h: Make sure XtExposeNoRegion is defined. + +2003-01-30 Vin Shelton + + * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux. + +2003-01-17 Stephen J. Turnbull + + * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef. + Patch by Martin Buchholz. + +2003-01-16 Stephen J. Turnbull + + * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison. + Thanks to icc for warning and Martin Buchholz for reporting. + +2003-01-29 Vin Shelton + + Patch courtesy of Andrew Begel + + * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so + remember to multiply by the element size. + +2003-01-15 Stephen J. Turnbull + + * XEmacs 21.4.12 "Portable Code" is released. + +2003-01-14 Sergey Okhapkin + + * Makefile.in.in (ldflags): re-order sections for gcc 3.2. + * s/cygwin.sc: new linker file. + +2003-01-14 Stephen J. Turnbull + + Build fixes courtesy Martin Buchholz : + + * redisplay-x.c (x_output_string): Use X11-specified types. + * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int. + * emacs.c (__free_hook): Use typeof with Intel compiler. + * config.h.in (alloca.h): Quick safe hack to please Intel compiler. + +2003-01-08 Andy Piper + + * unexcw.c (copy_executable_and_dump_data_section): Set the stack + reserve size during unexec(). + +2003-01-07 Daiki Ueno + + * process-unix.c (unix_create_process): Don't let outchannel block. + +2003-01-05 Rick Rankin + + * emacs.c: Include "syswindows.h" when compiling under Cygwin. + Needed for IsBadReadPtr(). + +2003-01-03 Stephen J. Turnbull + + * XEmacs 21.4.11 "Native Windows TTY Support" is released. + +2002-12-14 Ben Wing + + * callint.c: Declaration error. + * dumper.c (pdump): + * dumper.c (pdump_load): Warning fix. + * process.c: GCPRO error. + * glyphs.c (unmap_subwindow): + * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&. + * event-stream.c (maybe_kbd_translate): Wrong argument to + character_to_event(). + + * alloc.c (garbage_collect_1): + * emacs.c: + * emacs.c (debug_can_access_memory): + * emacs.c (fatal_error_signal): + * emacs.c (mswindows_handle_hardware_exceptions): + * emacs.c (main_1): + * emacs.c (main): + * emacs.c (assert_failed): + * emacs.c (syms_of_emacs): + * lisp.h: + * print.c: + * print.c (std_handle_out_va): + * print.c (write_string_to_stdio_stream): + * print.c (write_fmt_string): + * print.c (printing_badness): + * print.c (printing_major_badness): + * print.c (print_internal): + * print.c (debug_print_no_newline): + * print.c (debug_backtrace): + Be more defensive in handling bad values when printing. Add code + from trunk involving inhibit_non_essential_printing_operations. + When going down or in debug_print(), don't do external conversion + and such and try really, really hard when printing to avoid core + dumping. Add force-debugging-signal, debug_break(). + +2002-12-12 Stephen J. Turnbull + + * dumper.c (pdump_load): Include sysdep.h; retry with truename. + Analysis and original patch by Vin Shelton . + +2002-12-02 Greg Allen + + * database.c: Fix open_database. Berkeley DB API has changed in + 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html + +2002-11-26 Stephen J. Turnbull + + * specifier.c (Fvalid_specifier_type_p): Typo in comment. + +2002-11-13 Stephen J. Turnbull + + * event-Xt.c (Xt_timeout): + (Xt_timeout_callback): + (emacs_Xt_add_timeout): + (emacs_Xt_remove_timeout): + (Xt_timeout_to_emacs_event): + Turn completed_timeouts from a stack into a queue. Fixes + deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>. + +2002-11-07 Wolfram Gloger + + * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc. + * emacs.c (main): Assert that mmap'd allocation is disabled. + +2002-10-14 Andy Piper + + * glyphs-widget.c (layout_query_geometry): add in fiddle + factor. Include border text in width layout calculation. + (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10. + +2002-11-02 Stephen J. Turnbull + + * XEmacs 21.4.10 "Military Intelligence" is released. + +2002-10-17 Raymond Toy + + * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was + using the NAS private array SoundFileInfo that no longer exists in + NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a + and earlier. This is broken for some versions between 1.5a and + 1.5f. + +2002-10-10 Stephen J. Turnbull + + * realpath.c (win32_readlink): Try to fix truename of wildcard bug. + + * emacs.c (shut_down_emacs): Improve crash message. + +2002-10-09 Stephen J. Turnbull + + * file-coding.c (determine_real_coding_system): Check for coding + cookie in first LINES_TO_CHECK lines (currently 2). Cater to + shebangs and Python PEP 263. + +2002-10-08 Andy Piper + + * glyphs-widget.c (layout_query_geometry): only resize dynamically + if static sizes haven't been set. + +2002-08-30 Mike Alexander + + * event-msw.c (winsock_closer): Use closesocket, not CloseHandle + to close a socket. + +2002-10-03 Stephen J. Turnbull + + * callproc.c (child_setup): 21.4 doesn't have retry_close. + +2002-09-20 Mike Sperber + + (This partially gets back my patch from 2002-07-20 without the + bug.) + * callproc.c (child_setup): Remove Ben's comment noting confusion + over the file descriptors >= 3: close_process_descs() doesn't + close those. Fix fd range to go up to MAXDESC-1 instead of 64. + * process-unix.c (unix_create_process): Call + begin_dont_check_for_quit to inhibit unwanted interaction (and + thus breaking of X event synchronicity) in the child. + +2002-09-26 Golubev I. N. + + * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed + widget. + +2002-08-20 Ben Sigelman + + * event-Xt.c (drain_X_queue): loop over while(XEventsQueued()) + instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout, + the xemacs process did not exit, but looped infinitely here. This + fixes that problem. + +2002-09-28 Stephen J. Turnbull + + * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC. + (find_context): Improve comments. + + * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes. + (re_match_2): An XCHAR_TABLE operation was missing. + + Many of the following changes were inspired by Andy Piper's (now + obsolete) patch to make syntax-table text property lookup optional. + + [Documentation] + + * syntax.h (top level): Document semantics of syntax flags. + * syntax.c (comstr_start, Fforward_comment): Improve comments. + * syntax.c, syntax.h (top level): Document syntax cache better in + comments. + + [Instrument syntax caching (temporary change)] + + * syntax.h (enum syntax_cache_statistics_functions, struct + syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION, + SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros. + * syntax.c (scan_words, Fforward_comment, scan_lists, + Fbackward_prefix_characters): + * font-lock.c (find_context): + Use them to instrument syntax caching. + * syntax.c (struct syntax_cache_statistics, scs_statistics, + syntax_cache_statistics_function_names): New type and variables. + * syntax.c (update_syntax_cache): Update and report statistics. + + [Major syntax cache optimizations] + + syntax.c (lookup_syntax_properties): Default off. + + * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*. + * syntax.c (update_syntax_cache): + Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL. + + [Minor syntax cache optimizations and code clarifications] + + * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P, + SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P, + SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P, + SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START, + SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'. + (Code clarification.) + + * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward, + scan_lists): Compute code from syncode, use Boolean macros instead + of redundant masking operations. (Code clarification; any decent + compiler can do this optimization.) + + * syntax.c (scan_lists): Rearrange switches (case Sstring_fence) + for clarity. + + * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE, + PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally + use F*_single_property_change instead of F*_extent_change. + Currently F*_single_property_change is _much_ less efficient. + + * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object. + * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize + syntax_cache.object properly, don't leave Qt or Qnil. + (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT. + * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not + tests for Qt or Qnil. + +2002-09-21 Stephen J. Turnbull + + * redisplay.c (point_in_line_start_cache): + * extents.c (print_extent_1): + Fix warnings. + + * extents.c (Fset_extent_property): Document `syntax-table' property. + + * extents.h (Fnext_single_property_change): EXFUN it. + +2002-09-09 Stephen J. Turnbull + + * search.c (clear_unused_search_regs): New static function. + (search_buffer): + (simple_search): + (boyer_moore): + Use it. Fixes "stale match data" bug reported by Martin Stjernholm. + Minor clarifications in comments. + + * regex.c (re_match_2_internal): Ensure no stale submatches. + +2002-09-09 Stephen J. Turnbull + + * event-Xt.c (enqueue_focus_event): Add missing prototype. + +2002-08-29 Jerry James + + * lisp.h: structrures -> structures. + +2002-06-03 Andy Piper + + * frame.c (frame_conversion_internal): add conversion appropriate + for setting frame dimensions in pixels. + + * console.h (struct console_methods): add device-specific widget + layout functions. + + * emacs.c (main_1): initialize glyph vars. + + * event-Xt.c (handle_focus_event_1): call handle_focus_event_2 + (handle_focus_event_2): new function. Allow focus to + be set to a particular window and widget. + (enqueue_focus_event): new function. Create a + synthetic focus event. + (emacs_Xt_handle_magic_event): call + handle_focus_event_2. + + * frame.c (Fset_frame_pixel_height): new function. Allow + pixel-based sizing. Does the right thing on character-oriented + displays. + (Fset_frame_pixel_width): ditto. + (Fset_frame_pixel_size): ditto. + (syms_of_frame): declare. + + * general-slots.h: add :vertically-justify and + :horizontally-justify. + + * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix. + (mswindows_widget_border_width): new function. + (mswindows_combo_box_instantiate): set border widths. + (console_type_create_glyphs_mswindows): declare. + + * glyphs-widget.c: + (check_valid_justification): allow vertical and horizontal + justification. + (widget_border_width): new function. Call device methods. + (widget_instance_border_width): ditto. + (logical_unit_height): new function. Determine the height of a + logical-unit. Logical units are intended to provide grid-like + layout for subcontrols in a layout. If the layout is + :vertically-justify top then subcontrols will be positioned on + logical-unit boundaries, thus allowing adjacent subcontrols to + line up. + (widget_logical_unit_height): ditto for widgets. + (redisplay_widget): misc cleanup. + (widget_spacing): new function. Call device specific + methods. Intended to be the default gap between adjacent widgets. + (widget_query_geometry): use new spacing functions to determine + appropriate geometry. + (initialize_widget_image_instance): initialize horizontal and + vertical justification. + (widget_instantiate): use logica-units where appropriate for + sizing large widgets. + (button_query_geometry): use widget_instance_border_width. + (tree_view_query_geometry): ditto. + (tab_control_query_geometry): ditto. + (edit_field_query_geometry): new function. + (layout_update): pick up :justify, :horizontally-justify and + :vertically-justify none of which worked previously. :justify is + used as a fallback for both horizontal and vertical justification. + (layout_query_geometry): use logical units to size appropriately. + (layout_layout): ditto. + (Fwidget_logical_to_character_width): new function. Allow users to + convert from logical units to characters so that frame sizes can + be set appropriately. + (Fwidget_logical_to_character_height): ditto. + (syms_of_glyphs_widget): declare. + (image_instantiator_edit_fields): add edit_field_query_geometry. + (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and + :horizontally-justify. + (specifier_vars_of_glyphs_widget): new function. Declare + Vwidget_border_width which is not yet used. + + * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events. + (x_widget_border_width): new function. + (x_widget_instantiate): create a sensible name for widgets. + (console_type_create_glyphs_x): declare x_widget_border_width. + + * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro. + (struct Lisp_Image_Instance): add :vertically-justify and + :horizontally-justify. + (LAYOUT_JUSTIFY_TOP): new. + (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new. + (ROUND_UP): new macro. Round argument up to next integral + interval. + + * redisplay-output.c (redisplay_output_layout): misc formatting. + + * symsinit.h: declare specifier_vars_of_glyphs_widget. + +2002-08-23 Stephen J. Turnbull + + * XEmacs 21.4.9 "Informed Management" is released. + +2002-08-19 Andy Piper + + * fileio.c (Ffile_truename): on cygwin using win32 normalize to + win32 format. + + * realpath.c (xrealpath): normalize drive spec also so that dir + sep chars are not mixed on cygwin. + +2002-08-06 Jerry James + + * window.c (Fsplit_window): Count only half of the divider width + against the left window when splitting horizontally. + +2002-06-24 Andy Piper + + * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole + toolbar was cleared. + + * toolbar-msw.c (mswindows_clear_frame_toolbars): new + function. Split out from mswindows_output_frame_toolbars. + (mswindows_output_frame_toolbars): move clear pieces to + mswindows_output_frame_toolbars. + + * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split + out from gtk_output_frame_toolbars. + (gtk_output_frame_toolbars): move clear pieces to + gtk_clear_frame_toolbars. + + * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when + the frame is cleared. How this ever worked before is a mystery. + (x_output_frame_toolbars): Only output toolbars. + (x_clear_frame_toolbars): new. Clear previous toolbar locations. + + * gutter.c (update_gutter_geometry): + Mark frame layout changed. + (update_frame_gutter_geometry, update_frame_gutters): + Respect frame_layout_changed. + + * console.h (struct console_methods): add + clear_frame_toolbars_method. + + * redisplay.c (redisplay_frame): call + update_frame_toolbars_geometry and re-order update_frame_toolbars. + + * toolbar.h: declare update_frame_toolbars_geometry. + + * toolbar.c (update_frame_toolbars_geometry): new function. Split + out from update_frame_toolbars. Call clear_frame_toolbars. + (update_frame_toolbars): only output, do not change geometry. + + * redisplay.c: add frame_layout_changed. + + * redisplay.h: add frame_layout_changed. + (CLASS_RESET_CHANGED_FLAGS): set it. + (GLOBAL_RESET_CHANGED_FLAGS): ditto. + (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it. + (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto. + + * device.h (struct device): add frame_layout_changed. + (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new. + + * frame.h (struct frame): add frame_layout_changed. + (MARK_FRAME_LAYOUT_CHANGED): new. + +2002-06-30 Mike Alexander + + * event-msw.c (mswindows_need_event): Don't wait for a new message + if the queue is not empty. Suggested by Paul Moore. + +2002-06-12 Andy Piper + + * frame-msw.c (msprinter_init_frame_3): calculate the frame size + for printing on accurately. + +2002-06-09 Rick Rankin + + * event-msw.c (mswindows_wnd_proc): Add a handler for the + WM_ACTIVATE message. Make sure that the frame is visible if the + window is visible. This seemss to fix the problem where XEmacs + appears to freeze after switching desktops with certain virtual + window managers. + (debug_output_mswin_message): Added code to output message + parameters for WM_WINDOWPOSCHANGED, + WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages. + +2002-05-25 Andy Piper + + * select-x.c (vars_of_select_x): Fix docstring of + x-selection-strict-motif-ownership + +2002-08-14 Stephen J. Turnbull + + * keymap.c (get_keymap): + Add comment about do_autoload GCPROs own args. + +2002-08-14 Stephen J. Turnbull + + * bytecode.c (execute_optimized_program): check_opcode ifdef + ERROR_CHECK_BYTE_CODE. + +2002-08-14 Stephen J. Turnbull + + Thanks to Ben Wing and Michael Sperber. + + * eval.c (Fcommand_execute): + (Feval): + (Ffuncall): + (Fmacroexpand_internal): + (function_argcount): + callint.c (Fcall_interactively): + Add comment about do_autoload GCPROs own args. + + * (do_autoload): GCPRO both args as well as local Lisp_Object. + + * eval.c (Ffuncall): Extra braces to placate GCC. + +2002-08-10 Stephen J. Turnbull + + * backtrace.h (grow_specpdl): + (SPECPDL_RESERVE): + * EmacsFrame.c (EmacsFrameSetValues): + * eval.c (grow_specpdl): + * ExternalShell.c (hack_event_masks_1): + * glyphs-x.c (convert_EImage_to_XImage): + (x_finalize_image_instance): + * ralloc.c (page_size): + (r_alloc_sbrk): + * xgccache.c (gc_cache_hash): + Fix unsigned comparison warnings. + +2002-07-29 Jerry James + + * lread.c (locate_file): Any nonnegative return value indicates + success if MODE is nonnegative. + +2002-08-03 Brian A Palmer + + * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required + argument. + +2002-07-17 Stephen J. Turnbull + + * process-unix.c (unix_send_process): #ifdef the coding_stream member. + + * dumper.c (pdump_get_indirect_count): + (pdump_scan_by_alignment): + (pdump_dump_root_struct_ptrs): + (pdump_dump_rtables): + (pdump_dump_root_objects): + (pdump): + * nas.c (WaveOpenDataForReading): + * fns.c (print_bit_vector): + * font-lock.c (SINGLE_SYNTAX_STYLE): + * glyphs.c (check_for_ignored_expose): + (find_matching_subwindow): + * glyphs-eimage.c: + * imgproc.c (get_histogram): + * redisplay.c (point_in_line_start_cache): + * redisplay-output.c (redisplay_unmap_subwindows): + * symbols.c (defsymbol_massage_name_1): + (defkeyword_massage_name): + (deferror_massage_name_and_message): + * redisplay-x.c (x_output_string): + * emacs.c (run_temacs_argv_size, run_temacs_args_size): + * frame.h (struct frame): + * filelock.c (current_lock_owner): + * doprnt.c (emacs_doprnt_1): + * lisp.h (struct Lisp_Bit_Vector): + (DO_REALLOC): + Fix warnings. + +2002-02-13 Ben Wing + + * event-stream.c (reset_key_echo): + * event-stream.c (reset_this_command_keys): + * event-stream.c (execute_command_event): + If console is dead as a result of C-x 5 0, then post-command stuff + needs to be careful and do only non-console-specific stuff. + +2002-07-01 Mike Sperber + + * process-unix.c (unix_send_process): Mark coding_outstream as + non-open upon SIGPIPE. + + * event-stream.c (Fnext_event): Reorder switch cases to something + that makes sense. + +2001-08-13 Dmitry Astapov + + * event-Xt.c (maybe_define_x_key_as_self_inserting_character): + Don't bogusly reinitialize ascii_character property. + +2002-07-08 Mike Sperber + + * process.c (Fstart_process_internal): Do error checking before we + fork off the child, so the child can't muck with the state of the + parent. + +2002-07-08 Mike Sperber + + * ralloc.c (init_ralloc): Allocate properly for pdump. + +2002-06-12 Andy Piper + + * glyphs.c (query_string_geometry): check the string. + + * glyphs-widget.c (widget_logical_unit_height): cope with nil + widget names. + +2002-06-17 Jerry James + + * sysdll.c: Remove RTLD_GLOBAL initialization. + * sysdll.c (dll_open): Do not use RTLD_GLOBAL. + +2002-06-25 Stephen J. Turnbull + + * search.c (skip_chars): Port Ben's crash fix and efficiency patch. + +2002-05-16 Mathias Grimmberger + + * sysdep.c (sys_rename): Make sys_rename work for the case where + Windows rename sets errno to EACCES if target file exists. + +2002-05-21 Jonathan Harris + + * device-msw.c (mswindows_handle_page_setup_dialog_box): + Fix detection of metric units to work on Win95 + +2002-05-21 Stephen J. Turnbull + + * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know. + +2002-04-25 Andy Piper + + * redisplay.c (create_text_block): Remove extra comment trailer. + +2002-04-24 Andy Piper + + * redisplay.c (create_text_block): Don't actually add propagation + data if the line ends after we have added a glyph. + +2002-04-22 Andy Piper + + * extents.c (extent_fragment_update): check for glyphs we have + previously displayed. + * extents.c (print_extent_1): warning removal. + * extents.h: change prototype. + * redisplay-output.c (redisplay_normalize_glyph_area): calculate + widths correctly for wide glyphs. + * redisplay.c (position_redisplay_data_type): add end_glyph_width. + * redisplay.c (prop_type): add PROP_GLYPH. + * redisplay.c (struct prop_block): add glyph type + * redisplay.c (add_glyph_rune): when adding part of a glyph add it + to the propagation data. + * redisplay.c (create_text_block): if there is a glyph in the + propagation data use it to salt extent_fragment_update. + * redisplay.c (create_string_text_block): ditto. + +2002-04-13 Nix + + * redisplay.h (struct rune): Add ascent, descent, and yoffset fields. + * redisplay-output.c (compare_runes): Compare them. + * redisplay.c: Update copyright date. + * redisplay.c (pos_data): Add need_baseline_computation field. + * redisplay.c (add_glyph_rune): Update ascent, descent, and + need_baseline_computation; zero yoffset. Set max_pixmap_height + for all pixmaps, not just automatically positioned ones. + * redisplay.c (calculate_yoffset): New, compute yoffset values. + * redisplay.c (calculate_baseline): New, compute textual baseline. + * redisplay.c (add_glyph_rune): Call them. + * redisplay.c (create_text_block): Likewise. + * redisplay.c (create_overlay_glyph_block): Likewise. + * redisplay.c (add_margin_runes): Likewise. + * redisplay.c (create_string_text_block): Likewise. Fix tabdamage. + + * redisplay.h: (redisplay_calculate_display_boxes): Change prototype. + * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset. + * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset. + * redisplay-msw.c (mswindows_output_string): Likewise. + * redisplay-msw.c (mswindows_output_display_block): Pass yoffset. + * redisplay-gtk.c (gtk_output_display_block): Likewise. + * redisplay-x.c (x_output_display_block): Likewise. + +2002-03-28 Ben Wing + + * redisplay.c: Fixed bug in redisplay + w.r.t. hscroll/truncation/continuation glyphs causing jumping up + and down of the lines, since they're bigger than the line + size. (It was seen most obviously when there's a horizontal scroll + bar, e.g. do C-h a glyph or something like that.) The problem was + that the glyph-contrib-p setting on glyphs was ignored even if it + was set properly, which it wasn't until now. + +2002-04-24 Andy Piper + + * lisp.h (Dynarr_end): Fix definition. + +2002-02-06 Adrian Aichner + + * redisplay.c (mark_redisplay): Remove call to + update_frame_window_mirror. + +2001-11-15 Andy Piper + + * win32.c (Fmswindows_shell_execute): fix handling of URL's under + cygwin (again). + +2002-02-13 Andy Piper + + * event-msw.c (mswindows_wnd_proc): only mark the frame visible if + we did in fact enqueue the XM_MAPFRAME event. + +2002-01-15 Adrian Aichner + + * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW + to fix problem switching between virtual desktops under virtuawin + virtual window manager. + +2001-07-30 Adrian Aichner + + * event-msw.c: Typo fix. + * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after + magic XM_MAPFRAME event has been sent. + +2001-11-23 Andy Piper + + * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events. + +2001-11-21 Andy Piper + + * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with + mouse events outside the frame. + +2002-03-20 Andy Piper + + * menubar-msw.c (mswindows_popup_menu): warning removal. + * dialog-msw.c (dialog_popped_down): ditto. + +2001-12-11 Andy Piper + + * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p. + * dialog-msw.c (mswindows_make_dialog_box_internal): set + popup_up_p. + * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto. + * menubar-msw.c (mswindows_handle_wm_command): ditto. + * menubar-msw.c (mswindows_popup_menu): ditto. + +2001-10-29 Andy Piper + + * dialog-msw.c (handle_directory_dialog_box): quit if the user + cancels. + +2002-01-03 Andy Piper + + * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive + letters. + (xrealpath): ditto. + +2002-03-29 Jonathan Harris + + * device-msw.c (plist_get_margin): Add arg specifying mm or inches + * device-msw.c (plist_set_margin): Fix multiplicand used for mm + * device-msw.c (mswindows_handle_page_setup_dialog_box): + Detect and handle case where machine is set up for metric units + +2002-04-02 Andy Piper + + * dired-msw.c (mswindows_get_files): + * nt.c (mswindows_stat): SetErrorMode() so that file errors are + completely handled by XEmacs. Suggested by Thomas Vogler + . + +2001-11-14 Andy Piper + + * nt.c (REG_ROOT): change registry key to XEmacs. + +2002-04-27 Andy Piper + + * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code. + +2002-04-26 Andy Piper + + * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus + behavior. + +2002-03-14 Mike Alexander + + * event-msw.c (mswindows_unwait_process): New, remove process from + wait list + * process-nt.c (nt_finalize_process_data): Call + mswindows_unwait_process + * console-msw.h: Declare mswindows_unwait_process + +2002-05-14 Stephen J. Turnbull + + * editfns.c (Fdecode_time): + (Fformat_time_string): + Check for invalid time. Thanks to Nick Pakoulin . + (make_time): Warning elimination (change arg name). + +2001-11-24 Andy Piper + + * window.c (Fsplit_window): Doc return type. + +2002-04-01 Andy Piper + + * emacs.c (Fkill_emacs): Only output message box in interactive + mode. + +2002-04-26 Andy Piper + + * config.h.in: pull in 21.5.x change to stop alloca warnings under + cygwin. + +2002-03-18 Gregory Steuck + + * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64 + bit platform. + +2002-05-09 Stephen J. Turnbull + + * XEmacs 21.4.8 "Honest Recruiter" is released. + +2002-05-07 Nix + + Supersedes 2002-04-17 patch. + + * process.h (PROCESS_LIVE_P): Use the process status as + evidence of health, not the state of the input stream. + (PROCESS_READABLE_P): Say if the process is readable + from. (It may be dead nonetheless.) + (CHECK_READABLE_PROCESS): Test for that condition. + + * process.c (create_process): Use PROCESS_READABLE_P. + (read_process_output, set_process_filter): Likewise. + + * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS. + (Fset_process_input_coding_system, Fprocess_coding_system): Likewise. + + This code is #if 0'd, this is not the time to add new functions: + + * process.c (Fprocess_readable_p): Report readability status. + * process.c (Qprocess_readable_p): New, associated symbol... + * process.c (syms_of_process): ... initialize it. + +2002-05-04 Stephen J. Turnbull + + * XEmacs 21.4.7 "Economic Science" is released. + +2002-04-17 Nix + + * process.h (PROCESS_LIVE_P): Use the process status as + evidence of health, not the state of the input stream. + +2002-04-30 Charles G. Waldman + + * sysdep.c (sys_siglist): change "signum" to "signal" + +2001-04-21 Martin Buchholz + + * s/darwin.h: New file. + Thanks to Greg Parker . + +2002-04-23 Andreas Jaeger + + * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x + which use lib64 for 64-bit libs. + (START_FILES): Likewise. + +2002-02-11 Mike Sperber + + * device-x.c: + (x_IO_error_handler): + (x_init_device): Temporarily keep device in static variable + `device_being_initialized' so we can recover gracefully from + internal XOpenDevice failure. (XOpenDevice is documented to + return NULL on failure, but sometimes calls the IO error handler + instead.) + +2002-01-31 John H. Palmieri + + * dired.c (Ffile_name_all_completions): Change documentation -- + remove reference to completion-ignored-extensions. + * dired.c (vars_of_dired): Change documentation for + completion-ignored-extensions -- remove reference to + file-name-all-completions. + +2002-03-06 Jerry James + + * emodules.c (emodules_load): Fix multiple loading of same module. + +2002-01-25 Andrew Begel + * sysdll.c (dll_open): Changed to use RTLD_NOW instead of + RTLD_LAZY to avoid incorrect symbol binding when using nested + shared libraries on Solaris. + +2002-02-12 Stephen J. Turnbull + + * fileio.c (Ffind_file_name_handler): Improve docstring. + +2002-01-20 Stephen J. Turnbull + + * fns.c (Fmapconcat): Improve docstring. + +2002-01-03 Eric Gillespie, Jr. + + * device-gtk.c: Add prototype for + emacs_gtk_selection_clear_event_handle. + (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD + selection. Setup signal handler for "selection_clear_event" + (emacs_gtk_selection_clear_event_handle). + + * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle + other applications owning the clipboard (based on + x_handle_selection_clear). + +2001-12-23 William M. Perry + + * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash. + +2002-01-04 Martin Buchholz + + * keymap.c (define_key_alternate_name): Parenthesize EQ. + +2001-12-17 Stephen J. Turnbull + + * XEmacs 21.4.6 "Common Lisp" is released. + +2001-12-16 Torsten Duwe + + * search.c (Freplace_match): Add missing sub-expression functionality. + + * buffer.c (decode_buffer): Add a check for pointer type to + decode_buffer, before gcc's CSE optimization reorders a + dereference in front of the allow_string test. + +2001-11-16 Darryl Okahata + + * window.c (window_loop): Fix bug that sometimes prevented + window_loop() from iterating across multiple devices. Also, at + Ben's request, changed infloop-detecting code to abort() instead + of silently terminating window_loop(). + +2001-11-21 Stephen J. Turnbull + + Based on analysis and patch by Simon Josefson . + * editfns.c (make_time): New function. + (Fencode_time): Use it instead of wasteful_word_to_lisp. + * lisp.h (make_time): Prototype and comment it. + * dired.c (wasteful_word_to_lisp): Deprecate. + (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp(). + +2001-10-31 Kyle Jones + + * fileio.c (auto_save_1): Use current coding system, not + escape-quoted. + +2001-11-13 Ben Wing + + * window.c: + * window.c (window_truncation_on): + * window.c (syms_of_window): + truncate-partial-width-windows should respect the buffer being + displayed, like other redisplay vars. + +2001-11-13 Hirokazu FUKUI + + * event-stream.c (Fread_key_sequence): save current buffer. + +2001-10-29 Andrew Begel + + * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300). + +2001-10-29 Andrew Begel + + * alloc.c (lcrecord_stats): Add space for types defined in modules. + +2001-10-26 Mike Alexander + + * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle. + +2001-10-25 Andy Piper + + * ChangeLog: + * dialog-msw.c (handle_directory_proc): new function. + (handle_directory_dialog_box): new fucntion. + (handle_file_dialog_box): use new directory dialog support. + (mswindows_make_dialog_box_internal): ditto. + * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event + handling. + (mswindows_find_frame): make global. + * fileio.c (Fexpand_file_name): build fix. + * general-slots.h: add Qdirectory. + * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus + handling. + * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with + cygwin not leaving win32 paths unchanged. + * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the + cygwin runtime to do path conversion. + (Fmswindows_shell_execute): fix cygwin handling of URLs. + (syms_of_win32): add new function. + * window.c (window_loop): build fix. + +2001-10-15 Andy Piper + + (Fmswindows_shell_execute): fix handling of URL's under cygwin. + +2001-10-23 Stephen J. Turnbull + + * XEmacs 21.4.5 "Civil Service" is released. + +2001-04-08 Danny Colascione + + * glyphs-x.c: Force buffer-tab highlight update when moving the + buffer, avoiding an ugly black border, used for keyboard focus + indication, on a widget that can never have keyboard focus, the + buffer tab. + +2001-08-30 Daiki Ueno + + * process-unix.c (unix_open_multicast_group): Remove too much + conversion between host and network byte order. + +2001-09-10 Nix + + * src/buffer.c (kill_buffer): Undedicate windows showing BUF + before replacing them. + + * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER + operation. + + * src/window.c (undedicate_windows): Use it. + * src/window.h: Add prototype. + +2001-09-17 Ben Wing + + * fileio.c (normalize_filename): + * fileio.c (Fexpand_file_name): + Fix various C++ compile errors in Andy's recent code. + + * callint.c (Fcall_interactively): + * editfns.c (Ftemp_directory): + * editfns.c (Fuser_full_name): + * emacs.c (argmatch): + * lread.c (locate_file_map_suffixes): + * redisplay-x.c (x_ring_bell): + Fix sign-compare warnings. + +2001-09-08 Andy Piper + + * fileio.c (normalize_filename): copied from nt.c + * (Ffile_name_directory): enable win32 paths under cygwin. + * (Ffile_name_nondirectory): ditto. + * (directory_file_name): ditto. + * (Fexpand_file_name): ditto. + * (Ffile_truename): ditto. + * (Fsubstitute_in_file_name): ditto. + * (Ffile_name_absolute_p): ditto. + * (Ffile_readable_p): ditto. + +2001-09-08 Andy Piper + + * device-msw.c (mswindows_finish_init_device): remove dde + initialization. + * device-msw.c (mswindows_init_dde): factor out from + mswindows_finish_init_device() + * device-msw.c (init_mswindows_very_early): new function + initialize but don't enable dde. + * emacs.c (main_1): call init_mswindows_very_early. + * event-msw.c: + * event-msw.c (mswindows_dde_callback): only execute when we are + ready. + * symsinit.h: declare init_mswindows_very_early. + +2001-05-02 Kirill 'Big K' Katsnelson + + [sjt: This has been in 21.5 for months with no complaints.] + + * console.h (struct console_methods): Added flags member. + (CONSOLE_IMPLEMENTATION_FLAGS): Defined. + (CONMETH_IMPL_FLAG): + (CONSOLE_IMPL_FLAG): Macro to check implememntation flags. + Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY. + + * device.c (window_system_pixelated_geometry): Use the above macros. + + * device.h (DEVICE_IMPL_FLAG): Macro to check a device + implememntation flag. + * device.h (DEVICE_DISPLAY_P): Use it. + + * frame.c (delete_frame_internal): Use the above macro. + + * redisplay.c (redisplay_device): Use it. + (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY. + (redisplay_frame): Ditto. + + * device-msw.c (mswindows_device_implementation_flags): Removed. + (msprinter_device_implementation_flags): Removed. + (console_type_create_device_mswindows): Removed references to + implementation_flags methods, set implementation flags here. + (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT. + + * device-gtk.c (gtk_device_implementation_flags): Removed method. + (console_type_create_device_gtk): Removed method declaration. + Added commented out statement which semantically matches the + commented out statement in the above removed method. + +2001-04-14 Gordon Sadler + + The attached patch fixes a few warnings. + + * src/emacs.c: prototype console_type_create_select_gtk for GTK only + * src/frame-gtk.c: guard against GNOME calls in GTK only + * src/redisplay-gtk.c: include #ifdef HAVE_POLL + * src/select-gtk.c: prototype lisp_to_time + +2001-06-08 Ben Wing + + ------ gc-in-window-procedure fixes ------ + + * alloc.c: + * alloc.c (struct post_gc_action): + * alloc.c (register_post_gc_action): + * alloc.c (run_post_gc_actions): + * alloc.c (garbage_collect_1): + Create "post-gc actions", to avoid those dreaded "GC during window + procedure" problems. + + * event-msw.c: + Abort, clean and simple, when GC in window procedure. We want + to flush these puppies out. + + * glyphs-msw.c: + * glyphs-msw.c (finalize_destroy_window): + * glyphs-msw.c (mswindows_finalize_image_instance): + Use a post-gc action when destroying subwindows. + + * lisp.h: + Declare register_post_gc_action(). + + * scrollbar-msw.c: + * scrollbar-msw.c (unshow_that_mofo): + Use a post-gc action when unshowing scrollbar windows, if in gc. + + * redisplay.c (mark_redisplay): + Add comment about the utter evilness of what's going down here. + + ------ cygwin setitimer fixes ------ + + * Makefile.in.in (sheap_objs): + * Makefile.in.in (profile_objs): + * Makefile.in.in (objs): + Compile profile.c only when HAVE_SETITIMER. + + * nt.c (mswindows_sigset): + * nt.c (mswindows_sighold): + * nt.c (mswindows_sigrelse): + * nt.c (mswindows_sigpause): + * nt.c (mswindows_raise): + * nt.c (close_file_data): + Style fixes. + + * nt.c: + Move setitimer() emulation to win32.c, because Cygwin needs it too. + + * profile.c: + * profile.c (Fstart_profiling): + * profile.c (Fstop_profiling): + Make sure we don't compile if no setitimer(). Use qxe_setitimer() + instead of just plain setitimer(). + + * signal.c: + * signal.c (set_one_shot_timer): + * signal.c (alarm): + Define qxe_setitimer() as an encapsulation around setitimer() -- + call setitimer() directly unless Cygwin or MS Win, in which case + we use our simulated version in win32.c. + + * systime.h: + * systime.h (struct itimerval): + * systime.h (ITIMER_REAL): + Prototype mswindows_setitimer() and qxe_setitimer(). Long + comment about "qxe" and the policy regarding encapsulation. + + * win32.c: + * win32.c (setitimer_helper_proc): + * win32.c (setitimer_helper_period): + * win32.c (setitimer_helper): + * win32.c (mswindows_setitimer): + Move setitimer() emulation here, so Cygwin can use it. + Rename a couple of functions and variables to be longer and more + descriptive. In setitimer_helper_proc(), send the signal + using either mswindows_raise() or (on Cygwin) kill(). If for + some reason we are still getting lockups, we'll change the kill() + to directly invoke the signal handlers. + + ------ windows shell fixes ------ + + * callproc.c: + * ntproc.c: + Comments about how these two files must die. + + * callproc.c (init_callproc): + On MS Windows, init shell-file-name from SHELL, then COMSPEC, + not just COMSPEC. (more correct and closer to FSF.) Don't + force a value for SHELL into the environment. (Comments added + to explain why not.) + + * nt.c (init_user_info): + Don't shove a fabricated SHELL into the environment. See above. + +2001-06-01 Ben Wing + + * Makefile.in.in (ldflags): + eliminate that pesky "defaulting to 00401000" warning. + * nt.h: + eliminate warnings. + +2001-06-15 Golubev I. N. + + * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define. + * process-unix.c (allocate_pty): #ifndef "modern" pty allocation. + +2001-04-24 Jerry James + + * faces.h: pass parameters to Fadd_spec_to_specifier in the + correct order. + +2001-06-01 Ben Wing + + * event-msw.c (debug_mswin_messages): + conditionalize the messages that were causing compile errors. + (if only macros could generate #ifdef statements ...) + +2001-07-28 Stephen J. Turnbull + + * XEmacs 21.4.4 "Artificial Intelligence" is released. + +2001-07-22 Stephen J. Turnbull + + * event-msw.c (mswindows_wnd_proc): Add GC debugging assert. + +2001-07-22 Stephen J. Turnbull + + * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup. + * process-unix.c (unix_canonicalize_host_name): + sysdep.c (init_system_name): + Use it to conditionally support IPv6 canonicalization. + +2001-05-31 Paul Stodghill + + * event-msw.c: + Cygwin does not define WM_IME_xxx. Modify the #if's accordingly. + +2001-05-19 Paul Krause + + * scrollbar-msw.c: Fixes a crash that occurs on Windows when an + attempt is made to scroll when no scroll bar is available. + +2001-04-19 Glynn Clements + + * input-method-motif.c (XIM_delete_frame): New callback. + (XIM_init_frame): Register it. (Reapplied by SJT, it somehow + got deleted from 21.4.3.) + +2001-06-01 Ben Wing + + * nt.c (mswindows_utime): + * nt.c (close_file_data): + fix off-by-one-indirection error. + +2001-05-29 Adrian Aichner + + * fileio.c: Include nt.h. Remove lisp_string_set_file_times() + because set_file_times() now takes Lisp_Object path, instead of + char*. + * nt.c: Include buffer.h. + * nt.c (convert_from_time_t): New. + * nt.c (mswindows_utime): New. Use utime, since SetFileTime does + not set mtime correctly. + * nt.h: Declare mswindows_utime(). + * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object + path, instead of char*. + * systime.h: Include on WIN32_NATIVE. + +2001-05-30 Ben Wing + + For 21.4: + + (Stephen, just take all event-msw.c patches. This includes + the "iconify" fix below.) + + * event-msw.c: + * event-msw.c (mswindows_dequeue_dispatch_event): + * event-msw.c (assert): + * event-msw.c (emacs_mswindows_quit_p): + * event-msw.c (debug_mswin_messages): + * event-msw.c (debug_output_mswin_message): + * event-msw.c (vars_of_event_mswindows): + Fix yet more problems with C-g handling. + Implement debug-mswindows-events. + +2001-05-24 Kirill 'Big K' Katsnelson + + * event-msw.c (WM_DROPFILES): Use correct type for OLE characters. + +2001-05-23 Ben Wing + + * event-msw.c (winsock_writer): + * event-msw.c (winsock_closer): + prior kludgy code was clobbering the buffer, thinking it was + "unused" space to store an unneeded return value; instead, use + the variable we've already got staring us in the face. + +2001-05-17 Andy Piper + + * sysfile.h: don't assume that file attributes are boolean + +2001-05-23 Ben Wing + + * device-msw.c (msprinter_init_device): + signal an error rather than crash with an unavailable network + printer (from Mike Alexander). + + * event-msw.c: + * event-msw.c (struct winsock_stream): + * event-msw.c (winsock_writer): + * event-msw.c (winsock_closer): + * event-msw.c (make_winsock_stream_1): + cleanup headers. fix (hopefully) an error with data corruption + when sending to a network connection. + + * fileio.c (Fexpand_file_name): Fix evil code that attempts + to handle the ~user prefix by (a) always assuming we're referencing + ourselves and not even verifying the user -- hence any file with + a tilde as its first char is invalid! (b) if there wasn't a slash + following the filename, the pointer was set *past* the end of + file and we started reading from uninitialized memory. Now we + simply treat these as files, always. + + * buffer.c (common_init_complex_vars_of_buffer): comment change. + +2001-05-19 Ben Wing + + * eval.c: doc comment about gcpro'ing in record_unwind_protect. + + * process-nt.c: + * process-nt.c (vars_of_process_nt): + remove unused mswindows-quote-process-args. rec for 21.4. + +2001-05-12 Ben Wing + + * event-msw.c (mswindows_dde_callback): + * event-msw.c (mswindows_wnd_proc): + eliminate cygwin warnings. + +2001-05-06 Ben Wing + + * console-msw.h: + * device-msw.c: + * device-msw.c (print_dialog_worker): + * device-msw.c (mswindows_handle_print_dialog_box): + * device-msw.c (syms_of_device_mswindows): + * dialog-msw.c (mswindows_make_dialog_box_internal): + * general-slots.h: + implement printing the selection when it's selected. + +2001-05-20 Drazen Kacar + + * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0 + +2001-05-11 Yoshiki Hayashi + + * lisp.h (EMACS_INT_MAX): This should be one bit less since + EMACS_INT is signed. + +2001-04-15 Michael Lausch + + * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call + gtk_widget_request_size() to give scrollbar >0 width for + GTK >1.2.8. + +2001-05-30 William M. Perry + + * event-gtk.c: Check for buttons as modifier keys. + +2001-05-25 Craig Lanning + + * s\mingw32.h: + Properly find MinGW's inside Cygwin's restructured + include directories. Don't try to include + since we are dropping support for MinGW in versions of Cygwin + earlier than b21. + * nt.c: + Drop support for MinGW in versions of Cygwin before b21. + * sysdep.c: + Properly find MinGW's inside Cygwin's restructured + include directories. + * syswindows.h: + Drop support for MinGW in versions of Cygwin before b21. + * unexcw.c: + Even though a.out.h is no longer detected by configure, allow + MinGW to use it until we figure out how to do the job with Win32. + +2001-07-11 Matt Tucker + + * syntax.c (find_start_of_comment): + Fix `unbalanced parentheses' bug when dealing with mixed comment + styles in c++/java/etc. mode + +2001-05-29 Mike Alexander + + * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap + FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT + +2001-05-17 Andrew Begel + + * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast. + +2001-03-31 Mike Sperber + + * search.c (Freplace_match): Support FSF-style specification of + match subexpression when applied to a buffer. + +2001-05-27 Karl M. Hegbloom + + * event-stream.c (is_scrollbar_event): add missing semicolon + +2001-05-22 Isaac Hollander + + * Makefile.in.in: Use TAR macro instead of hardcoding + tar. Allows use of GNU tar instead of system tar + +2001-05-27 Karl M. Hegbloom + + * event-stream.c (is_scrollbar_event): add missing semicolon + +2001-05-17 Stephen J. Turnbull + + * XEmacs 21.4.3 "Academic Rigor" is released. + +2001-05-17 Stephen J. Turnbull + + * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included. + +2001-05-08 Yoshiki Hayashi + + * buffer.c (Vcase_fold_search): Remove obsolete + comment about non ASCII case-fold-search. This + bug has been fixed by case-table changes. + +2001-05-11 Stephen J. Turnbull + + * event-msw.c: Restore include of events-mod.h. + +2001-04-22 zhaoway + + * event-stream.c (is_scrollbar_event): Noop returning 0 if + !HAVE_SCROLLBARS. + 2001-05-10 Stephen J. Turnbull * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released. @@ -35,13 +2616,8 @@ 2001-05-03 Martin Buchholz - * s/aix4.h: Fix crash with xlc -O3. - Improve comment explaining how -O3 works. - -2001-04-22 zhaoway - - * event-stream.c (is_scrollbar_event): Noop returning 0 if - !HAVE_SCROLLBARS. + * s/aix4.h: Fix crash with xlc -O3. + Improve comment explaining how -O3 works. 2001-04-15 Ben Wing @@ -2880,8 +5456,8 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-04-26 IKEYAMA Tomonori - * redisplay-msw.c (mswindows_output_dibitmap): Set foreground - color if the image is a mono pixmap. + * redisplay-msw.c (mswindows_output_dibitmap): Set foreground + color if the image is a mono pixmap. 2000-07-30 Ben Wing @@ -3501,12 +6077,12 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-07-15 Ben Wing - * s/cygwin32.h: - * s/cygwin32.h (CYGWIN_CONV_PATH): - Add missing logb prototype for v1.1. - Use post-b20 names and alias to pre-b20 names when pre-b20. + * s/cygwin32.h: + * s/cygwin32.h (CYGWIN_CONV_PATH): + Add missing logb prototype for v1.1. + Use post-b20 names and alias to pre-b20 names when pre-b20. - * s/windowsnt.h: [5]. + * s/windowsnt.h: [5]. 2000-07-15 Ben Wing @@ -3515,624 +6091,624 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * Makefile.in.in (objs): added win32.o, cosmetic cleanups. - * alloc.c (Fmake_byte_code): - [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, - etc. macros which declare their own args now. + * alloc.c (Fmake_byte_code): + [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, + etc. macros which declare their own args now. - * alloc.c (syms_of_alloc): - [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends. + * alloc.c (syms_of_alloc): + [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends. - * buffer.c: - Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. + * buffer.c: + Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. - * buffer.c (Fget_file_buffer): - Fixed GCPRO problem. + * buffer.c (Fget_file_buffer): + Fixed GCPRO problem. - * buffer.c (get_truename_buffer): - Fixed comment about GC checking. + * buffer.c (get_truename_buffer): + Fixed comment about GC checking. - * buffer.c (syms_of_buffer): - Undeclared those dedicated frame funs. - [2]. + * buffer.c (syms_of_buffer): + Undeclared those dedicated frame funs. + [2]. - * buffer.h: - Define convenience macros for internal/external conversions. + * buffer.h: + Define convenience macros for internal/external conversions. [[[3]]]: Define codesys aliases Qcommand_argument_encoding - and Qenvironment_variable_encoding for cleaner code. + and Qenvironment_variable_encoding for cleaner code. - * bufslots.h: - Remove dedicated-frame; in lisp. + * bufslots.h: + Remove dedicated-frame; in lisp. - * bytecode.c (funcall_compiled_function): - [1]. + * bytecode.c (funcall_compiled_function): + [1]. - * bytecode.c (syms_of_bytecode): - [2]. + * bytecode.c (syms_of_bytecode): + [2]. - * console-msw.c: - * console-msw.c (mswindows_show_console): Rewrote. + * console-msw.c: + * console-msw.c (mswindows_show_console): Rewrote. - * console-msw.c (Fmswindows_debugging_output): New. - Sends to OutputDebugString (special MSWin debugger interface). + * console-msw.c (Fmswindows_debugging_output): New. + Sends to OutputDebugString (special MSWin debugger interface). - * console-msw.c (Fmswindows_message_box): - Fixed stupid bugs so it works when called from kill-emacs. + * console-msw.c (Fmswindows_message_box): + Fixed stupid bugs so it works when called from kill-emacs. - * console-msw.c (syms_of_console_mswindows): - Declare Fmswindows_debugging_output. + * console-msw.c (syms_of_console_mswindows): + Declare Fmswindows_debugging_output. - * console-msw.h: - New MSWin prototypes. + * console-msw.h: + New MSWin prototypes. - * console-msw.h (struct mswindows_frame): - New entry last-click-mods for improved button-modifier support. + * console-msw.h (struct mswindows_frame): + New entry last-click-mods for improved button-modifier support. - * console-msw.h (FRAME_MSWINDOWS_POPUP): - New struct entry `popup' with corresponding accessor. + * console-msw.h (FRAME_MSWINDOWS_POPUP): + New struct entry `popup' with corresponding accessor. - * console-x.c: - * console-x.c (split_up_display_spec): - * console-x.c (get_display_arg_connection): - * console-x.c (x_semi_canonicalize_console_connection): - * console-x.c (x_canonicalize_device_connection): - [[[6]]]: Change char to more specific type. - [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4]; + * console-x.c: + * console-x.c (split_up_display_spec): + * console-x.c (get_display_arg_connection): + * console-x.c (x_semi_canonicalize_console_connection): + * console-x.c (x_canonicalize_device_connection): + [[[6]]]: Change char to more specific type. + [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4]; - * console-x.c (x_semi_canonicalize_console_connection): - * console-x.c (x_canonicalize_device_connection): - [[[9]]]: Fix up error signalling to use new structured error system. + * console-x.c (x_semi_canonicalize_console_connection): + * console-x.c (x_canonicalize_device_connection): + [[[9]]]: Fix up error signalling to use new structured error system. - * console-x.h: - [[[4]]]: Define codesys aliases: - Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding, - Qx_color_name_encoding, Qx_display_name_encoding. + * console-x.h: + [[[4]]]: Define codesys aliases: + Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding, + Qx_color_name_encoding, Qx_display_name_encoding. - * console.h (struct console_methods): - New method make_dialog_box_internal supersedes older - popup_dialog_box method. + * console.h (struct console_methods): + New method make_dialog_box_internal supersedes older + popup_dialog_box method. - * data.c: - Define many new errors, part of new structured errors. + * data.c: + Define many new errors, part of new structured errors. - * data.c (init_errors_once_early): - * data.c (syms_of_data): - [2]. + * data.c (init_errors_once_early): + * data.c (syms_of_data): + [2]. - * device-msw.c (mswindows_init_device): - [[[5]]]: Cleanup to support NT 3.51. + * device-msw.c (mswindows_init_device): + [[[5]]]: Cleanup to support NT 3.51. - * device-msw.c (decode_devmode): Cleanup. + * device-msw.c (decode_devmode): Cleanup. - * device-msw.c (mswindows_handle_print_setup_dialog_box): - * device-msw.c (mswindows_handle_print_dialog_box): - * device-msw.c (mswindows_handle_page_setup_dialog_box): - * device-msw.c (syms_of_device_mswindows): - Delete the dialog box primitives recently introduced by Kirill and + * device-msw.c (mswindows_handle_print_setup_dialog_box): + * device-msw.c (mswindows_handle_print_dialog_box): + * device-msw.c (mswindows_handle_page_setup_dialog_box): + * device-msw.c (syms_of_device_mswindows): + Delete the dialog box primitives recently introduced by Kirill and instead interface to general dialog box interface. - * device-x.c: - * device-x.c (compute_x_app_name): - * device-x.c (x_init_device): - * device-x.c (Fx_valid_keysym_name_p): - * device-x.c (Fx_set_font_path): - [6]. - [7]. - - * device.h (wrap_device): New. - First of its kind; meant to replace XSETDEVICE. - - * dialog-msw.c: Many file-dialog symbols. - - * dialog-msw.c (mswindows_register_popup_frame): New. - * dialog-msw.c (mswindows_is_dialog_msg): New. - For supporting kbd traversal in dialog boxes. - - * dialog-msw.c (dialog_proc): - Support hitting ESC in dialogs. - - * dialog-msw.c (struct): - Common dialog box errors. - - * dialog-msw.c (handle_file_dialog_box): New. - Add file dialog code. - - * dialog-msw.c (handle_question_dialog_box): - Redo existing code to support new question dialog syntax. - - * dialog-msw.c (console_type_create_dialog_mswindows): - We support new dialog console method. - - * dialog-msw.c (syms_of_dialog_mswindows): - * dialog-msw.c (vars_of_dialog_mswindows): - New file dialog symbols, vars. - - * dialog-x.c: - * dialog-x.c (maybe_run_dbox_text_callback): - * dialog-x.c (dbox_descriptor_to_widget_value): - * dialog-x.c (x_make_dialog_box_internal): - * dialog-x.c (console_type_create_dialog_x): - Mule-ize entire file. - Redo to support question dialog syntax. - [6]. - - * dialog.c: - * dialog.c (Fmake_dialog_box_internal): - * dialog.c (syms_of_dialog): - Kill old popup-dialog-box, replace with new primitive. - Just call device method or signal error. - - * eldap.c (Fldap_open): - * eldap.c (Fldap_search_basic): - * eldap.c (Fldap_add): - * eldap.c (Fldap_modify): - [1]. - [7]. - - * emacs.c: - * emacs.c (make_arg_list_1): - * emacs.c (make_arg_list): - Mule-ize call to dll_init(). - [6]. - [8]. - - * emacs.c (make_argc_argv): - * emacs.c (free_argc_argv): - * emacs.c (init_cmdargs): - * emacs.c (main_1): - * emacs.c (Fkill_emacs): - * emacs.c (Fdump_emacs): - Update comments about what can be used in syms_* etc. - Call init_win32() when necessary. - Fix up MS Win dialog box in kill-buffer to actually work right. - [7]. - - * eval.c: - * eval.c (For): - * eval.c (Fand): - * eval.c (Fprogn): - * eval.c (Fprog1): - * eval.c (Fprog2): - * eval.c (FletX): - * eval.c (Flet): - * eval.c (condition_case_3): - * eval.c (Feval): - * eval.c (function_argcount): - * eval.c (funcall_lambda): - [1]. - - * eval.c (type_error): New. - * eval.c (maybe_type_error): New. - * eval.c (continuable_type_error): New. - * eval.c (maybe_continuable_type_error): New. - * eval.c (type_error_with_frob): New. - * eval.c (maybe_type_error_with_frob): New. - * eval.c (continuable_type_error_with_frob): New. - * eval.c (maybe_continuable_type_error_with_frob): New. - New functions for use with structured errors. - - * event-Xt.c: - * event-Xt.c (x_event_to_emacs_event): - Buttons are now modifiers too. - - * event-Xt.c (emacs_Xt_current_event_timestamp): - Implement new event method. - * event-Xt.c (reinit_vars_of_event_Xt): Set it. - - * event-msw.c: - * event-msw.c (ntpipe_shove_writer): [5]. - * event-msw.c (mswindows_enqueue_mouse_button_event): - * event-msw.c (mswindows_drain_windows_queue): - * event-msw.c (mswindows_wnd_proc): [7]. - * event-msw.c (mswindows_current_layout_has_AltGr): [5]. - * event-msw.c (mswindows_modifier_state): - Throughout: support new button modifiers. - - * event-msw.c (emacs_mswindows_current_event_timestamp): - Implement new event method. - * event-msw.c (reinit_vars_of_event_mswindows): Set it. - - * event-stream.c: - * event-stream.c (event_stream_current_event_timestamp): New. - * event-stream.c (maybe_kbd_translate): New functionality. - * event-stream.c (vars_of_event_stream): - Document new kbd-translate-table functionality. - - * event-stream.c (Fcurrent_event_timestamp): New. - New primitive for use in fabricated events. - * event-stream.c (syms_of_event_stream): [2]. Declare new primitive. - - * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers. - - * events.c: - * events.c (Fmake_event): - * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): - [1]. - [9]. - - * events.c (format_event_object): fix gcc warnings. - - * events.c (Fevent_timestamp): Document new primitives. - - * events.c (TIMESTAMP_HALFSPACE): New. - - * events.c (Fevent_timestamp_lessp): New. New primitive for + * device-x.c: + * device-x.c (compute_x_app_name): + * device-x.c (x_init_device): + * device-x.c (Fx_valid_keysym_name_p): + * device-x.c (Fx_set_font_path): + [6]. + [7]. + + * device.h (wrap_device): New. + First of its kind; meant to replace XSETDEVICE. + + * dialog-msw.c: Many file-dialog symbols. + + * dialog-msw.c (mswindows_register_popup_frame): New. + * dialog-msw.c (mswindows_is_dialog_msg): New. + For supporting kbd traversal in dialog boxes. + + * dialog-msw.c (dialog_proc): + Support hitting ESC in dialogs. + + * dialog-msw.c (struct): + Common dialog box errors. + + * dialog-msw.c (handle_file_dialog_box): New. + Add file dialog code. + + * dialog-msw.c (handle_question_dialog_box): + Redo existing code to support new question dialog syntax. + + * dialog-msw.c (console_type_create_dialog_mswindows): + We support new dialog console method. + + * dialog-msw.c (syms_of_dialog_mswindows): + * dialog-msw.c (vars_of_dialog_mswindows): + New file dialog symbols, vars. + + * dialog-x.c: + * dialog-x.c (maybe_run_dbox_text_callback): + * dialog-x.c (dbox_descriptor_to_widget_value): + * dialog-x.c (x_make_dialog_box_internal): + * dialog-x.c (console_type_create_dialog_x): + Mule-ize entire file. + Redo to support question dialog syntax. + [6]. + + * dialog.c: + * dialog.c (Fmake_dialog_box_internal): + * dialog.c (syms_of_dialog): + Kill old popup-dialog-box, replace with new primitive. + Just call device method or signal error. + + * eldap.c (Fldap_open): + * eldap.c (Fldap_search_basic): + * eldap.c (Fldap_add): + * eldap.c (Fldap_modify): + [1]. + [7]. + + * emacs.c: + * emacs.c (make_arg_list_1): + * emacs.c (make_arg_list): + Mule-ize call to dll_init(). + [6]. + [8]. + + * emacs.c (make_argc_argv): + * emacs.c (free_argc_argv): + * emacs.c (init_cmdargs): + * emacs.c (main_1): + * emacs.c (Fkill_emacs): + * emacs.c (Fdump_emacs): + Update comments about what can be used in syms_* etc. + Call init_win32() when necessary. + Fix up MS Win dialog box in kill-buffer to actually work right. + [7]. + + * eval.c: + * eval.c (For): + * eval.c (Fand): + * eval.c (Fprogn): + * eval.c (Fprog1): + * eval.c (Fprog2): + * eval.c (FletX): + * eval.c (Flet): + * eval.c (condition_case_3): + * eval.c (Feval): + * eval.c (function_argcount): + * eval.c (funcall_lambda): + [1]. + + * eval.c (type_error): New. + * eval.c (maybe_type_error): New. + * eval.c (continuable_type_error): New. + * eval.c (maybe_continuable_type_error): New. + * eval.c (type_error_with_frob): New. + * eval.c (maybe_type_error_with_frob): New. + * eval.c (continuable_type_error_with_frob): New. + * eval.c (maybe_continuable_type_error_with_frob): New. + New functions for use with structured errors. + + * event-Xt.c: + * event-Xt.c (x_event_to_emacs_event): + Buttons are now modifiers too. + + * event-Xt.c (emacs_Xt_current_event_timestamp): + Implement new event method. + * event-Xt.c (reinit_vars_of_event_Xt): Set it. + + * event-msw.c: + * event-msw.c (ntpipe_shove_writer): [5]. + * event-msw.c (mswindows_enqueue_mouse_button_event): + * event-msw.c (mswindows_drain_windows_queue): + * event-msw.c (mswindows_wnd_proc): [7]. + * event-msw.c (mswindows_current_layout_has_AltGr): [5]. + * event-msw.c (mswindows_modifier_state): + Throughout: support new button modifiers. + + * event-msw.c (emacs_mswindows_current_event_timestamp): + Implement new event method. + * event-msw.c (reinit_vars_of_event_mswindows): Set it. + + * event-stream.c: + * event-stream.c (event_stream_current_event_timestamp): New. + * event-stream.c (maybe_kbd_translate): New functionality. + * event-stream.c (vars_of_event_stream): + Document new kbd-translate-table functionality. + + * event-stream.c (Fcurrent_event_timestamp): New. + New primitive for use in fabricated events. + * event-stream.c (syms_of_event_stream): [2]. Declare new primitive. + + * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers. + + * events.c: + * events.c (Fmake_event): + * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): + [1]. + [9]. + + * events.c (format_event_object): fix gcc warnings. + + * events.c (Fevent_timestamp): Document new primitives. + + * events.c (TIMESTAMP_HALFSPACE): New. + + * events.c (Fevent_timestamp_lessp): New. New primitive for comparing timestamps correctly (half-space algorithm). - * events.c (Fevent_modifier_bits): Doc fix. - - * events.c (Fevent_modifiers): Major doc addition. - * events.c (event_x_y_pixel_internal): Typo fix. - * events.c (syms_of_events): Declare new primitives. - - * events.h: - Update long comment for button modifiers, timestamps. - - * events.h (struct event_stream): - New current_event_timestamp method. - - * extents.c: - * extents.c (extent_in_region_p): - * extents.c (decode_extent): - * extents.c (Fset_extent_parent): - * extents.c (decode_map_extents_flags): - Fix gcc warnings. - [9]. - - * extents.c (struct extent_at_arg): - * extents.c (decode_extent_at_flag): - * extents.c (extent_at_mapper): - * extents.c (extent_at_bytind): - * extents.c (Fextent_at): Adapt to new lower-level interface. [9]. - * extents.c (Fextents_at): New primitive. [9]. - * extents.c (symbol_to_glyph_layout): [9]. - Support new primitive `extents-at'. - - - * extents.c (get_text_property_bytind): - extent_at_bytind has another arg. - [9]. - - * extents.c (syms_of_extents): New primitive. - - * file-coding.c (Fmake_coding_system): [1]. - * file-coding.c (subsidiary_coding_system): fix gcc warning - * file-coding.c (syms_of_file_coding): [2]. - - * fileio.c (Fexpand_file_name): - * fileio.c (Fsysnetunam): - * fileio.c (Ffile_exists_p): - * fileio.c (Ffile_executable_p): - * fileio.c (Fverify_visited_file_modtime): - Clean up GCPROing. - - * fileio.c (syms_of_fileio): [2]. - - * filelock.c (lock_file_1): - * filelock.c (current_lock_owner): - * filelock.c (lock_if_free): - * filelock.c (lock_file): - * filelock.c (unlock_file): - Clean up GCPROing. - - * fns.c (concat): Fix gcc warning. - - * fns.c (Fmember): - * fns.c (Fold_member): - * fns.c (Fmemq): - * fns.c (Fold_memq): - * fns.c (memq_no_quit): - * fns.c (Fassoc): - * fns.c (Fold_assoc): - * fns.c (Fassq): - * fns.c (Fold_assq): - * fns.c (assq_no_quit): - * fns.c (Frassoc): - * fns.c (Fold_rassoc): - * fns.c (Frassq): - * fns.c (Fold_rassq): - * fns.c (rassq_no_quit): - * fns.c (Fdelete): - * fns.c (Fold_delete): - * fns.c (Fdelq): - * fns.c (Fold_delq): - * fns.c (delq_no_quit): - * fns.c (Fremassoc): - * fns.c (Fremassq): - * fns.c (remassq_no_quit): - * fns.c (Fremrassoc): - * fns.c (Fremrassq): - * fns.c (remrassq_no_quit): - * fns.c (Freverse): - * fns.c (mapcar1): - [1]. - - * frame-msw.c (mswindows_init_frame_1): - * frame-msw.c (mswindows_delete_frame): - Register popups with dialog code so keyboard traversing works. - - * frame-tty.c (tty_raise_frame_no_select): [1]. - - * frame-x.c: - * frame-x.c (x_set_frame_text_value): - * frame-x.c (x_set_frame_properties): - * frame-x.c (x_create_widgets): - [7]. - - * frame.c: - * frame.c (Fmouse_pixel_position): Minor doc fixes. - - * frame.h (wrap_frame): New. - Macro like wrap_device. - - * general.c: - * general.c (SYMBOL): - * general.c (syms_of_general): - Major reorg. This is now just a wrapper and symbols themselves - are listed in general-slots.h. - - * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning. - * glyphs-msw.c (mswindows_resource_instantiate): [5]. - - * glyphs-msw.c (mswindows_native_layout_instantiate): - Add DS_CONTROL so keyboard traversal will work. - - * glyphs-widget.c: - * glyphs-widget.c (syms_of_glyphs_widget): - Move some symbols to general-slots.h. - - * glyphs-x.c: - * glyphs-x.c (xbm_instantiate_1): - * glyphs-x.c (x_xbm_instantiate): - * glyphs-x.c (x_xface_instantiate): - * glyphs-x.c (autodetect_instantiate): - * glyphs-x.c (cursor_font_instantiate): - * glyphs-x.c (x_update_widget): - * glyphs-x.c (x_widget_instantiate): - * glyphs.c (bitmap_to_lisp_data): - * glyphs.c (pixmap_to_lisp_data): - [7]. - - * glyphs.c (syms_of_glyphs): - [2]. - - * gui-x.c: - * gui-x.c (print_widget_value): - * gui-x.c (menu_separator_style_and_to_external): - * gui-x.c (add_accel_and_to_external): - * gui-x.c (button_item_to_widget_value): - * gui-x.c (gui_items_to_widget_values_1): - * gui-x.c (gui_items_to_widget_values): - * gui-x.c (syms_of_gui_x): - * gui-x.c (vars_of_gui_x): - Mule-ize entire file. Move menu-no-selection-hook to gui.c. - [9]. - - * gui-x.h: - Muleize, prototype changes matching gui-x.c. - - * gui.c: - * gui.c (separator_string_p): - * gui.c (gui_item_add_keyval_pair): - * gui.c (make_gui_item_from_keywords_internal): - * gui.c (signal_too_long_error): - * gui.c (parse_gui_item_tree_item): - * gui.c (syms_of_gui): - * gui.c (vars_of_gui): - * gui.h: - menu-no-selection-hook moved here (used by MSWin). - Move some symbols to general-slots.h. - [6]. - [9]. - - * insdel.c (get_buffer_pos_char): - * insdel.c (get_buffer_range_char): - Add GC comments. - - * keymap.c (keymap_lookup_directly): - * keymap.c (keymap_store): - * keymap.c (ensure_meta_prefix_char_keymapp): - * keymap.c (describe_map): - * keymap.h: - Support new button modifiers. - - * lisp-disunion.h (wrap_object): - * lisp-disunion.h (XSETOBJ): - Rename make_obj to wrap_object. - - * lisp-union.h: - * lisp-union.h (make_int): - * lisp-union.h (make_char): - Support wrap_object. - - * lisp.h: - * lisp.h (LIST_LOOP): - * lisp.h (EXTERNAL_LIST_LOOP): - * lisp.h (LIST_LOOP_2): - * lisp.h (EXTERNAL_LIST_LOOP_1): - * lisp.h (EXTERNAL_LIST_LOOP_2): - * lisp.h (EXTERNAL_LIST_LOOP_3): - * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE): - * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): - * lisp.h (GET_EXTERNAL_LIST_LENGTH): - * lisp.h (EXTERNAL_ALIST_LOOP_5): - * lisp.h (EXTERNAL_ALIST_LOOP_6): - * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE): - * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE): - * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7): - * lisp.h (struct Lisp_Symbol): - * lisp.h (maybe_continuable_error_with_frob): - Fix up section comments. - Add new types for char to indicate usage. - Delete symbols auto-generated from general-slots.h. - Add prototypes for structured error functions. - Add long comments describing looping macros and change interface - so that lvalues are automatically declared. + * events.c (Fevent_modifier_bits): Doc fix. + + * events.c (Fevent_modifiers): Major doc addition. + * events.c (event_x_y_pixel_internal): Typo fix. + * events.c (syms_of_events): Declare new primitives. + + * events.h: + Update long comment for button modifiers, timestamps. + + * events.h (struct event_stream): + New current_event_timestamp method. + + * extents.c: + * extents.c (extent_in_region_p): + * extents.c (decode_extent): + * extents.c (Fset_extent_parent): + * extents.c (decode_map_extents_flags): + Fix gcc warnings. + [9]. + + * extents.c (struct extent_at_arg): + * extents.c (decode_extent_at_flag): + * extents.c (extent_at_mapper): + * extents.c (extent_at_bytind): + * extents.c (Fextent_at): Adapt to new lower-level interface. [9]. + * extents.c (Fextents_at): New primitive. [9]. + * extents.c (symbol_to_glyph_layout): [9]. + Support new primitive `extents-at'. + + + * extents.c (get_text_property_bytind): + extent_at_bytind has another arg. + [9]. + + * extents.c (syms_of_extents): New primitive. + + * file-coding.c (Fmake_coding_system): [1]. + * file-coding.c (subsidiary_coding_system): fix gcc warning + * file-coding.c (syms_of_file_coding): [2]. + + * fileio.c (Fexpand_file_name): + * fileio.c (Fsysnetunam): + * fileio.c (Ffile_exists_p): + * fileio.c (Ffile_executable_p): + * fileio.c (Fverify_visited_file_modtime): + Clean up GCPROing. + + * fileio.c (syms_of_fileio): [2]. + + * filelock.c (lock_file_1): + * filelock.c (current_lock_owner): + * filelock.c (lock_if_free): + * filelock.c (lock_file): + * filelock.c (unlock_file): + Clean up GCPROing. + + * fns.c (concat): Fix gcc warning. + + * fns.c (Fmember): + * fns.c (Fold_member): + * fns.c (Fmemq): + * fns.c (Fold_memq): + * fns.c (memq_no_quit): + * fns.c (Fassoc): + * fns.c (Fold_assoc): + * fns.c (Fassq): + * fns.c (Fold_assq): + * fns.c (assq_no_quit): + * fns.c (Frassoc): + * fns.c (Fold_rassoc): + * fns.c (Frassq): + * fns.c (Fold_rassq): + * fns.c (rassq_no_quit): + * fns.c (Fdelete): + * fns.c (Fold_delete): + * fns.c (Fdelq): + * fns.c (Fold_delq): + * fns.c (delq_no_quit): + * fns.c (Fremassoc): + * fns.c (Fremassq): + * fns.c (remassq_no_quit): + * fns.c (Fremrassoc): + * fns.c (Fremrassq): + * fns.c (remrassq_no_quit): + * fns.c (Freverse): + * fns.c (mapcar1): + [1]. + + * frame-msw.c (mswindows_init_frame_1): + * frame-msw.c (mswindows_delete_frame): + Register popups with dialog code so keyboard traversing works. + + * frame-tty.c (tty_raise_frame_no_select): [1]. + + * frame-x.c: + * frame-x.c (x_set_frame_text_value): + * frame-x.c (x_set_frame_properties): + * frame-x.c (x_create_widgets): + [7]. + + * frame.c: + * frame.c (Fmouse_pixel_position): Minor doc fixes. + + * frame.h (wrap_frame): New. + Macro like wrap_device. + + * general.c: + * general.c (SYMBOL): + * general.c (syms_of_general): + Major reorg. This is now just a wrapper and symbols themselves + are listed in general-slots.h. + + * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning. + * glyphs-msw.c (mswindows_resource_instantiate): [5]. + + * glyphs-msw.c (mswindows_native_layout_instantiate): + Add DS_CONTROL so keyboard traversal will work. + + * glyphs-widget.c: + * glyphs-widget.c (syms_of_glyphs_widget): + Move some symbols to general-slots.h. + + * glyphs-x.c: + * glyphs-x.c (xbm_instantiate_1): + * glyphs-x.c (x_xbm_instantiate): + * glyphs-x.c (x_xface_instantiate): + * glyphs-x.c (autodetect_instantiate): + * glyphs-x.c (cursor_font_instantiate): + * glyphs-x.c (x_update_widget): + * glyphs-x.c (x_widget_instantiate): + * glyphs.c (bitmap_to_lisp_data): + * glyphs.c (pixmap_to_lisp_data): + [7]. + + * glyphs.c (syms_of_glyphs): + [2]. + + * gui-x.c: + * gui-x.c (print_widget_value): + * gui-x.c (menu_separator_style_and_to_external): + * gui-x.c (add_accel_and_to_external): + * gui-x.c (button_item_to_widget_value): + * gui-x.c (gui_items_to_widget_values_1): + * gui-x.c (gui_items_to_widget_values): + * gui-x.c (syms_of_gui_x): + * gui-x.c (vars_of_gui_x): + Mule-ize entire file. Move menu-no-selection-hook to gui.c. + [9]. + + * gui-x.h: + Muleize, prototype changes matching gui-x.c. + + * gui.c: + * gui.c (separator_string_p): + * gui.c (gui_item_add_keyval_pair): + * gui.c (make_gui_item_from_keywords_internal): + * gui.c (signal_too_long_error): + * gui.c (parse_gui_item_tree_item): + * gui.c (syms_of_gui): + * gui.c (vars_of_gui): + * gui.h: + menu-no-selection-hook moved here (used by MSWin). + Move some symbols to general-slots.h. + [6]. + [9]. + + * insdel.c (get_buffer_pos_char): + * insdel.c (get_buffer_range_char): + Add GC comments. + + * keymap.c (keymap_lookup_directly): + * keymap.c (keymap_store): + * keymap.c (ensure_meta_prefix_char_keymapp): + * keymap.c (describe_map): + * keymap.h: + Support new button modifiers. + + * lisp-disunion.h (wrap_object): + * lisp-disunion.h (XSETOBJ): + Rename make_obj to wrap_object. + + * lisp-union.h: + * lisp-union.h (make_int): + * lisp-union.h (make_char): + Support wrap_object. + + * lisp.h: + * lisp.h (LIST_LOOP): + * lisp.h (EXTERNAL_LIST_LOOP): + * lisp.h (LIST_LOOP_2): + * lisp.h (EXTERNAL_LIST_LOOP_1): + * lisp.h (EXTERNAL_LIST_LOOP_2): + * lisp.h (EXTERNAL_LIST_LOOP_3): + * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE): + * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6): + * lisp.h (GET_EXTERNAL_LIST_LENGTH): + * lisp.h (EXTERNAL_ALIST_LOOP_5): + * lisp.h (EXTERNAL_ALIST_LOOP_6): + * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE): + * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE): + * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7): + * lisp.h (struct Lisp_Symbol): + * lisp.h (maybe_continuable_error_with_frob): + Fix up section comments. + Add new types for char to indicate usage. + Delete symbols auto-generated from general-slots.h. + Add prototypes for structured error functions. + Add long comments describing looping macros and change interface + so that lvalues are automatically declared. Add NO_DECLARE macro in case callers want to declare lvalues themselves. - * lread.c (read_syntax_error): - * lread.c (continuable_read_syntax_error): - * lread.c (read_structure): - * lread.c (sequence_reader): - * lread.c (read_list_conser): - * lread.c (read_compiled_function): - Rename syntax_error and continuable_syntax_error to avoid clash - with same-named structured error functions. - - * menubar-msw.c (mswindows_translate_menu_or_dialog_item): - * menubar-msw.c (populate_menu_add_item): - * menubar-msw.c (populate_or_checksum_helper): - [5]. - [9]. - - * menubar-x.c: - * menubar-x.c (menu_item_descriptor_to_widget_value_1): - Mule-ize whole file. - - * menubar.c (Fnormalize_menu_item_name): Add optimization. - - * mule-charset.c (Fmake_charset): - * mule-wnnfns.c (Fwnn_set_param): - [1]. - - * ntproc.c (create_child): - * ntproc.c (Fwin32_set_current_locale): - Add comments portending doom. - - * objects-msw.c: - * objects-msw.c (old_font_enum_callback_2): - * objects-msw.c (font_enum_callback_1): - * objects-msw.c (mswindows_enumerate_fonts): - [5]. - - * objects-x.c: - * objects-x.c (allocate_nearest_color): - * objects-x.c (x_parse_nearest_color): - * objects-x.c (x_initialize_color_instance): - * objects-x.c (x_print_color_instance): - * objects-x.c (x_finalize_color_instance): - * objects-x.c (x_valid_color_name_p): - * objects-x.c (x_initialize_font_instance): - * objects-x.c (x_print_font_instance): - * objects-x.c (valid_x_font_name_p): - * objects-x.c (truename_via_FONT_prop): - * objects-x.c (truename_via_random_props): - * objects-x.c (truename_via_XListFonts): - * objects-x.c (x_font_truename): - * objects-x.c (x_font_instance_truename): - * objects-x.c (x_font_instance_properties): - * objects-x.c (x_list_fonts): - * objects-x.c (x_find_charset_font): - Mule-ize entire file. - [7]. - - * objects-x.h: - Mule-verify. - - * print.c: - * print.c (std_handle_out_external): - * print.c (debug_print_no_newline): - * print.c (syms_of_print): - Output to all debugger kinds in debug-print. - Fix console-output code under MSWin to actually work. - - * process-nt.c (send_signal): - * process-nt.c (nt_create_process): - Use newer Unicode macros. - - * process-unix.c (unix_create_process): - * process-unix.c (unix_canonicalize_host_name): - * process-unix.c (unix_open_network_stream): - [7]. - - * scrollbar-x.c: - Mule-verify. - - * search.c (syms_of_search): - [2]. - - * select-msw.c (mswindows_destroy_selection): - Use LIST_LOOP_2. - - * select-x.c (symbol_to_x_atom): - [7]. - - * select.c (syms_of_select): - [2]. - - * sound.c (Fplay_sound_file): - [7]. - - * specifier.c: - * specifier.c (decode_specifier_type): - * specifier.c (Fvalid_specifier_locale_type_p): - * specifier.c (check_valid_locale_or_locale_type): - * specifier.c (decode_locale): - * specifier.c (decode_locale_type): - * specifier.c (decode_locale_list): - * specifier.c (check_valid_domain): - * specifier.c (decode_specifier_tag_set): - * specifier.c (Fcanonicalize_tag_set): - * specifier.c (Fdefine_specifier_tag): - * specifier.c (Fspecifier_tag_predicate): - * specifier.c (check_valid_inst_list): - * specifier.c (check_valid_spec_list): - * specifier.c (decode_how_to_add_specification): - * specifier.c (check_modifiable_specifier): - * specifier.c (specifier_add_spec): - * specifier.c (boolean_validate): - * specifier.c (display_table_validate): - [9]. - - * specifier.c (syms_of_specifier): - Move some symbols to general-slots.h. - [2]. - - * symbols.c: - * symbols.c (Fmapatoms): - * symbols.c (Fapropos_internal): - Add GCPROs. - - * symbols.c (set_default_buffer_slot_variable): - * symbols.c (set_default_console_slot_variable): - [1]. - - * symbols.c (defsymbol_massage_name_1): - * symbols.c (defkeyword_massage_name): - * symbols.c (deferror_1): - * symbols.c (deferror): - * symbols.c (deferror_massage_name_and_message): - * symeval.h: - * symeval.h (DEFSYMBOL): - Support DEFSYMBOL*, DEFKEYWORD, DEFERROR - - * symbols.c (syms_of_symbols): - [2]. - - * symsinit.h: - * symsinit.h (init_win32): New. - Also new is syms_of_dialog_mswindows. - - * syswindows.h: + * lread.c (read_syntax_error): + * lread.c (continuable_read_syntax_error): + * lread.c (read_structure): + * lread.c (sequence_reader): + * lread.c (read_list_conser): + * lread.c (read_compiled_function): + Rename syntax_error and continuable_syntax_error to avoid clash + with same-named structured error functions. + + * menubar-msw.c (mswindows_translate_menu_or_dialog_item): + * menubar-msw.c (populate_menu_add_item): + * menubar-msw.c (populate_or_checksum_helper): + [5]. + [9]. + + * menubar-x.c: + * menubar-x.c (menu_item_descriptor_to_widget_value_1): + Mule-ize whole file. + + * menubar.c (Fnormalize_menu_item_name): Add optimization. + + * mule-charset.c (Fmake_charset): + * mule-wnnfns.c (Fwnn_set_param): + [1]. + + * ntproc.c (create_child): + * ntproc.c (Fwin32_set_current_locale): + Add comments portending doom. + + * objects-msw.c: + * objects-msw.c (old_font_enum_callback_2): + * objects-msw.c (font_enum_callback_1): + * objects-msw.c (mswindows_enumerate_fonts): + [5]. + + * objects-x.c: + * objects-x.c (allocate_nearest_color): + * objects-x.c (x_parse_nearest_color): + * objects-x.c (x_initialize_color_instance): + * objects-x.c (x_print_color_instance): + * objects-x.c (x_finalize_color_instance): + * objects-x.c (x_valid_color_name_p): + * objects-x.c (x_initialize_font_instance): + * objects-x.c (x_print_font_instance): + * objects-x.c (valid_x_font_name_p): + * objects-x.c (truename_via_FONT_prop): + * objects-x.c (truename_via_random_props): + * objects-x.c (truename_via_XListFonts): + * objects-x.c (x_font_truename): + * objects-x.c (x_font_instance_truename): + * objects-x.c (x_font_instance_properties): + * objects-x.c (x_list_fonts): + * objects-x.c (x_find_charset_font): + Mule-ize entire file. + [7]. + + * objects-x.h: + Mule-verify. + + * print.c: + * print.c (std_handle_out_external): + * print.c (debug_print_no_newline): + * print.c (syms_of_print): + Output to all debugger kinds in debug-print. + Fix console-output code under MSWin to actually work. + + * process-nt.c (send_signal): + * process-nt.c (nt_create_process): + Use newer Unicode macros. + + * process-unix.c (unix_create_process): + * process-unix.c (unix_canonicalize_host_name): + * process-unix.c (unix_open_network_stream): + [7]. + + * scrollbar-x.c: + Mule-verify. + + * search.c (syms_of_search): + [2]. + + * select-msw.c (mswindows_destroy_selection): + Use LIST_LOOP_2. + + * select-x.c (symbol_to_x_atom): + [7]. + + * select.c (syms_of_select): + [2]. + + * sound.c (Fplay_sound_file): + [7]. + + * specifier.c: + * specifier.c (decode_specifier_type): + * specifier.c (Fvalid_specifier_locale_type_p): + * specifier.c (check_valid_locale_or_locale_type): + * specifier.c (decode_locale): + * specifier.c (decode_locale_type): + * specifier.c (decode_locale_list): + * specifier.c (check_valid_domain): + * specifier.c (decode_specifier_tag_set): + * specifier.c (Fcanonicalize_tag_set): + * specifier.c (Fdefine_specifier_tag): + * specifier.c (Fspecifier_tag_predicate): + * specifier.c (check_valid_inst_list): + * specifier.c (check_valid_spec_list): + * specifier.c (decode_how_to_add_specification): + * specifier.c (check_modifiable_specifier): + * specifier.c (specifier_add_spec): + * specifier.c (boolean_validate): + * specifier.c (display_table_validate): + [9]. + + * specifier.c (syms_of_specifier): + Move some symbols to general-slots.h. + [2]. + + * symbols.c: + * symbols.c (Fmapatoms): + * symbols.c (Fapropos_internal): + Add GCPROs. + + * symbols.c (set_default_buffer_slot_variable): + * symbols.c (set_default_console_slot_variable): + [1]. + + * symbols.c (defsymbol_massage_name_1): + * symbols.c (defkeyword_massage_name): + * symbols.c (deferror_1): + * symbols.c (deferror): + * symbols.c (deferror_massage_name_and_message): + * symeval.h: + * symeval.h (DEFSYMBOL): + Support DEFSYMBOL*, DEFKEYWORD, DEFERROR + + * symbols.c (syms_of_symbols): + [2]. + + * symsinit.h: + * symsinit.h (init_win32): New. + Also new is syms_of_dialog_mswindows. + + * syswindows.h: Add new Unicode macros, missing Cygwin wide-char functions, convenience conversion macros for Qmswindows_tstr, macros for encapsulating required MSWin <-> Cygwin filename conversions, prototype for dynamically-extracted (not in NT 3.51) functions. - * toolbar-x.c: - Mule-verify. + * toolbar-x.c: + Mule-verify. - * tooltalk.c (Fadd_tooltalk_message_arg): - * tooltalk.c (Fadd_tooltalk_pattern_attribute): - * tooltalk.c (Fadd_tooltalk_pattern_arg): - [7]. + * tooltalk.c (Fadd_tooltalk_message_arg): + * tooltalk.c (Fadd_tooltalk_pattern_attribute): + * tooltalk.c (Fadd_tooltalk_pattern_arg): + [7]. - * tooltalk.c (syms_of_tooltalk): - [2]. + * tooltalk.c (syms_of_tooltalk): + [2]. - * unexnt.c: - * unexnt.c (unexec): - Fix up headers, declaration of unexec() to be more standard. + * unexnt.c: + * unexnt.c (unexec): + Fix up headers, declaration of unexec() to be more standard. 2000-07-20 Martin Buchholz @@ -4430,36 +7006,36 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-07-05 Craig Lanning - * Makefile.in.in: Add support for including the Windows resources - when building with the cygwin and mingw targets. + * Makefile.in.in: Add support for including the Windows resources + when building with the cygwin and mingw targets. - * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either - not set or not correct. - (directory_is_current_directory): Don't compile for WIN32_NATIVE. - (init_initial_directory): Don't try to use $PWD on the - WIN32_NATIVE target. + * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either + not set or not correct. + (directory_is_current_directory): Don't compile for WIN32_NATIVE. + (init_initial_directory): Don't try to use $PWD on the + WIN32_NATIVE target. - * s\cygwin32.h: + * s\cygwin32.h: [[Add -mwindows to eliminate console window.]] not required --ben - (HAVE_NATIVE_SOUND): removed; now handled by configure. - (MAIL_USE_POP): removed; now handled by configure. + (HAVE_NATIVE_SOUND): removed; now handled by configure. + (MAIL_USE_POP): removed; now handled by configure. - * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in + * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in C_SWITCH_SYSTEM or it will affect lib-src progs. --ben - (HAVE_NATIVE_SOUND): removed; now handled by configure. - (MAIL_USE_POP): removed; now handled by configure. - (ENCAPSULATE_STAT): from Dan Holmsand, added. - (ENCAPSULATE_FSTAT): from Dan Holmsand, added. - (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of - constant string. - (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked - up from via systime.h. - (HAVE_GETPAGESIZE): from Dan Holmsand, added. - (getpagesize): from Dan Holmsand, added. - Added #endif which was left dangling by Ben's mega patch; added - comment to help prevent this in the future. - - * sysdll.c: added #include for WIN32_NATIVE case. + (HAVE_NATIVE_SOUND): removed; now handled by configure. + (MAIL_USE_POP): removed; now handled by configure. + (ENCAPSULATE_STAT): from Dan Holmsand, added. + (ENCAPSULATE_FSTAT): from Dan Holmsand, added. + (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of + constant string. + (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked + up from via systime.h. + (HAVE_GETPAGESIZE): from Dan Holmsand, added. + (getpagesize): from Dan Holmsand, added. + Added #endif which was left dangling by Ben's mega patch; added + comment to help prevent this in the future. + + * sysdll.c: added #include for WIN32_NATIVE case. 2000-07-05 Kirill 'Big K' Katsnelson @@ -4557,13 +7133,13 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-06-08 Mike Alexander - (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size - (shove_thread): Don't write the same output twice - (make_ntpipe_output_stream): Increase priority of shove thread - (ntpipe_shove_writer): Call SwitchToThread to give shove thread a - chance to run - (ntpipe_shove_closer): Don't delete the pipe until we're done with - it. + (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size + (shove_thread): Don't write the same output twice + (make_ntpipe_output_stream): Increase priority of shove thread + (ntpipe_shove_writer): Call SwitchToThread to give shove thread a + chance to run + (ntpipe_shove_closer): Don't delete the pipe until we're done with + it. 2000-06-12 Ben Wing @@ -6354,12 +8930,12 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text image glyph if allow_cursor. - (add_hscroll_rune): Don't allow cursor to border glyph. - (create_text_block): Ditto. + (add_hscroll_rune): Don't allow cursor to border glyph. + (create_text_block): Ditto. * redisplay-output.c (redisplay_move_cursor): Do nothing even if text not in buffer. - (redisplay_output_layout): Call ensure_face_cachel_complete for + (redisplay_output_layout): Call ensure_face_cachel_complete for text image glyph. @@ -6938,7 +9514,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * alloc.c (pdump_register_struct): * alloc.c (pdump_dump_data): * alloc.c (pdump_reloc_one): - Minor cleanups. + Minor cleanups. * console-msw.c: * console-msw.c (GetConsoleHwnd): @@ -6948,16 +9524,16 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console-msw.c (msw_output_console_string): * console-msw.c (console_type_create_mswindows): - a) Added functions to manipulate the console window for use with - shell support. + a) Added functions to manipulate the console window for use with + shell support. - b) Added support for writing text to the console, which is now - used under Windows when xemacs is not being run non-interactively, - to write text that would otherwise be destined for stdout because - under these circumstances, text written to stdout tends to - disappear and not be seen. + b) Added support for writing text to the console, which is now + used under Windows when xemacs is not being run non-interactively, + to write text that would otherwise be destined for stdout because + under these circumstances, text written to stdout tends to + disappear and not be seen. - * console-msw.h: + * console-msw.h: * event-Xt.c: * event-Xt.c (x_event_to_emacs_event): * event-Xt.c (describe_event_window): @@ -7011,20 +9587,20 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * device-msw.c (msw_get_workspace_coords): * device-msw.c (mswindows_device_system_metrics): and various other files, added support for a new - device property called offset-workspace which returns the position - of the upper left corner of the workspace area and goes along with - the existing size-workspace property. + device property called offset-workspace which returns the position + of the upper left corner of the workspace area and goes along with + the existing size-workspace property. * dialog-msw.c: * dialog-msw.c (push_bufbyte_string_as_unicode): * dialog-msw.c (mswindows_popup_dialog_box): - Added support for XEmacs-style accelerator specifications in - button text. Note: I didn't add support for this under X Windows, - and somebody needs to do this. + Added support for XEmacs-style accelerator specifications in + button text. Note: I didn't add support for this under X Windows, + and somebody needs to do this. * dialog.c: * dialog.c (Fpopup_dialog_box): - Documented the support for accelerators that was just mentioned. + Documented the support for accelerators that was just mentioned. editfns.c (get_home_directory): Changed behavior under Windows when HOME not defined; former behavior was irretrievably broken. @@ -7043,9 +9619,9 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * print.c (debug_print): * print.c (debug_backtrace): * print.c (debug_short_backtrace): - Cleaned up the code that prints text to stdout so that this can be - changed to output into a console window instead under MS Windows, - as described above. + Cleaned up the code that prints text to stdout so that this can be + changed to output into a console window instead under MS Windows, + as described above. * eval.c: * eval.c (DEFEND_AGAINST_THROW_RECURSION): @@ -7067,14 +9643,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-msw.c (mswindows_modifier_state): * event-msw.c (emacs_mswindows_quit_p): * event-msw.c (vars_of_event_mswindows): - a) Added support for using the alt key to select menu items as is - standard under MS Windows. This is controlled using the variable - menu-accelerator-enabled, just like under X Windows. There is an - option on the options menu to turn this support on. I really - think that it should be on by default under Windows, but I'm not - going to make this change yet. + a) Added support for using the alt key to select menu items as is + standard under MS Windows. This is controlled using the variable + menu-accelerator-enabled, just like under X Windows. There is an + option on the options menu to turn this support on. I really + think that it should be on by default under Windows, but I'm not + going to make this change yet. - b) Added support for dynamic display size changes under Windows. + b) Added support for dynamic display size changes under Windows. * event-stream.c: * event-stream.c (maybe_echo_keys): @@ -7089,30 +9665,30 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-stream.c (complex_vars_of_event_stream): * events.h (struct command_builder): - a) Tried to clean up a little bit the horribly written x-specific - accelerator code that crept into this file. I moved this code - into menubar-x.c where it belongs. I also needed to move the - command builder structure into the file events.h because it is - accessed directly by this accelerator code. What I didn't do, but - which should be done at some point, is to properly abstract this - code using device methods instead of the kludgy way that it - currently hooks into the event code. - - b) Added the lisp variables this-command-properties and - last-command- properties, which should be used to synchronize two - adjacent commands in preference to playing games with the variable - this-command, which is typically what happens. - - c) Added some slightly nasty code to hook into the lisp support - for shifted- motion-key selection. This is actually necessary for - somewhat complicated reasons, which are described in - simple.el. (NB: I think the proper thing would be to have the code - that calls the pre and post command hooks also call out to generic - lisp functions in simple.el, where all built-in stuff could be - added. I will think about this more.) + a) Tried to clean up a little bit the horribly written x-specific + accelerator code that crept into this file. I moved this code + into menubar-x.c where it belongs. I also needed to move the + command builder structure into the file events.h because it is + accessed directly by this accelerator code. What I didn't do, but + which should be done at some point, is to properly abstract this + code using device methods instead of the kludgy way that it + currently hooks into the event code. + + b) Added the lisp variables this-command-properties and + last-command- properties, which should be used to synchronize two + adjacent commands in preference to playing games with the variable + this-command, which is typically what happens. + + c) Added some slightly nasty code to hook into the lisp support + for shifted- motion-key selection. This is actually necessary for + somewhat complicated reasons, which are described in + simple.el. (NB: I think the proper thing would be to have the code + that calls the pre and post command hooks also call out to generic + lisp functions in simple.el, where all built-in stuff could be + added. I will think about this more.) * event-unixoid.c (poll_fds_for_input): - * lread.c (readchar): + * lread.c (readchar): * redisplay-tty.c (tty_clear_frame): * redisplay-x.c (x_get_gc): * signal.c (interrupt_signal): @@ -7125,33 +9701,33 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * frame-msw.c: * frame-msw.c (mswindows_size_frame_internal): - Fixed the computation of frame size and position to keep the frame - within the workspace area, rather than within the physical - dimensions of the screen, so that the frame doesn't overlap window - manager decorations, such as the start menu and toolbar, typically - at the bottom of the screen. + Fixed the computation of frame size and position to keep the frame + within the workspace area, rather than within the physical + dimensions of the screen, so that the frame doesn't overlap window + manager decorations, such as the start menu and toolbar, typically + at the bottom of the screen. * frame.c (vars_of_frame): - Changed the default frame title format under MS Windows to consist - of buffername-XEmacs, which is standard under MS Windows. I think - it might be a good idea to change this everywhere because I think - it is superior to the current frame title format, but this is the - kind of change that is likely to cause some people to get annoyed, - so I'm not making it. + Changed the default frame title format under MS Windows to consist + of buffername-XEmacs, which is standard under MS Windows. I think + it might be a good idea to change this everywhere because I think + it is superior to the current frame title format, but this is the + kind of change that is likely to cause some people to get annoyed, + so I'm not making it. * glyphs-eimage.c (png_instantiate): Fixed some compile warnings. * gui-msw.c (mswindows_handle_gui_wm_command): - Fixed compile warnings. + Fixed compile warnings. * gui-x.c: * gui-x.c (strdup_and_add_accel): * gui-x.c (button_item_to_widget_value): * gui-x.h: - Added code to automatically put an accelerator onto the beginning - of menu items that don't have one as is now the standard, and is - described more later. Also fixed things so that the menu item - name can be an evaluated expression, again a new standard. + Added code to automatically put an accelerator onto the beginning + of menu items that don't have one as is now the standard, and is + described more later. Also fixed things so that the menu item + name can be an evaluated expression, again a new standard. * gui.c: * gui.c (gui_item_add_keyval_pair): @@ -7170,9 +9746,9 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * line-number.c (buffer_line_number): * lisp.h: * lisp.h (EMACS_INT_MAX): - Added the manifest constant EMACS_INT_MIN corresponding to the - existing constant EMACS_INT_MAX. This is partially to fix compile - warnings under Windows, and partly for cleanliness. + Added the manifest constant EMACS_INT_MIN corresponding to the + existing constant EMACS_INT_MAX. This is partially to fix compile + warnings under Windows, and partly for cleanliness. * menubar-msw.c: * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH): @@ -7191,15 +9767,15 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * menubar-msw.c (mswindows_update_frame_menubars): * menubar-msw.c (mswindows_free_frame_menubars): * menubar-msw.c (mswindows_popup_menu): - Fixed a bug in handling accelerators where an extra character - would be displayed in the menu item. Also generalized the - function displayable_menu_item because it is now used by the - dialog box code as well. And finally, added code in the functions - that create the menubar to extract a list of accelerators for the - top level menubar, which is used in the event code to determine - whether a particular alt-key combination should be used to invoke - a menu item, or should be passed through to access the standard - XEmacs keymap binding for this key combination. + Fixed a bug in handling accelerators where an extra character + would be displayed in the menu item. Also generalized the + function displayable_menu_item because it is now used by the + dialog box code as well. And finally, added code in the functions + that create the menubar to extract a list of accelerators for the + top level menubar, which is used in the event code to determine + whether a particular alt-key combination should be used to invoke + a menu item, or should be passed through to access the standard + XEmacs keymap binding for this key combination. Much needed GCPROing. @@ -7218,10 +9794,10 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * menubar-x.c (command_builder_find_menu_accelerator): * menubar-x.c (Faccelerate_menu): * menubar.h: - Moved a whole bunch of code here that was previously in - event-stream.c as described above. There is also code connected - to the new standard of adding an accelerator to the beginning of - menu items that don't have one as described above and below. + Moved a whole bunch of code here that was previously in + event-stream.c as described above. There is also code connected + to the new standard of adding an accelerator to the beginning of + menu items that don't have one as described above and below. * menubar.c: * menubar.c (menu_parse_submenu_keywords): @@ -7231,31 +9807,31 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * menubar.c (vars_of_menubar): * menubar.c (complex_vars_of_menubar): - a) Cleaned up a bunch of documentation and improved it. - - b) XEmacs now automatically adds an accelerator onto the beginning - of any menu items that don't have one. I did this because there - will inevitably be some menu items on the main menubar that don't - have accelerators on them because the package that adds that - particular menu item hasn't yet been fixed up to have accelerators - in them and it looked rather strange to have some items with and - some items without accelerators, especially since even in items - without accelerators, you can, at least under windows, still - access the item through an accelerator corresponding to the first - character in the item's name. If people don't like this behavior, - I can add a variable to turn it off optionally, but I'm not sure - this is a good idea because we really do need to have accelerators - on all of the menu items, and if a package doesn't like the - accelerators being put on the first character, then it should put - the accelerators where they belong. - - c) I made a behavior change, which is that the descriptor that - specifies the text of the menu item, which formerly was just a - string, can now also be an evaluated expression. This makes this - descriptor parallel with all of the others, which could also be - evaluated expressions. This also obviates the need for the - keyword :label, which was previously listed in the documentation - as unimplemented, and which was for the same purpose. + a) Cleaned up a bunch of documentation and improved it. + + b) XEmacs now automatically adds an accelerator onto the beginning + of any menu items that don't have one. I did this because there + will inevitably be some menu items on the main menubar that don't + have accelerators on them because the package that adds that + particular menu item hasn't yet been fixed up to have accelerators + in them and it looked rather strange to have some items with and + some items without accelerators, especially since even in items + without accelerators, you can, at least under windows, still + access the item through an accelerator corresponding to the first + character in the item's name. If people don't like this behavior, + I can add a variable to turn it off optionally, but I'm not sure + this is a good idea because we really do need to have accelerators + on all of the menu items, and if a package doesn't like the + accelerators being put on the first character, then it should put + the accelerators where they belong. + + c) I made a behavior change, which is that the descriptor that + specifies the text of the menu item, which formerly was just a + string, can now also be an evaluated expression. This makes this + descriptor parallel with all of the others, which could also be + evaluated expressions. This also obviates the need for the + keyword :label, which was previously listed in the documentation + as unimplemented, and which was for the same purpose. d) GCPROing. @@ -7264,10 +9840,10 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * ntproc.c (sys_spawnve): * ntproc.c (find_child_console): * ntproc.c (sys_kill): - Fixed compile warnings. By the way, this file should really go - away entirely, and this will happen as soon as Kirill makes his - final round of process cleanups, which affect the function - call-process. + Fixed compile warnings. By the way, this file should really go + away entirely, and this will happen as soon as Kirill makes his + final round of process cleanups, which affect the function + call-process. * process-nt.c: * process-nt.c (struct nt_process_data): @@ -7283,17 +9859,17 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * process-nt.c (nt_kill_process_by_pid): * process-nt.c (nt_open_network_stream): * process-nt.c (vars_of_process_nt): - Copied over code from Emacs 20.5 to correctly send signals to sub- - processes under Windows 95. Also added code to automatically - create and hide console window when a sub-process is created under - Windows 95, which obviates the need for the separate runemacs.exe - executable, and finally implemented some variables that were - implemented in Emacs 20.5, but previously not in XEmacs. These - include mswindows- start-process-share-console and - mswindows-start-process-inherit-error-mode. (Both of these only - apply to Windows 95.) - - * regex.c (regex_compile): Fixed a compile warning. + Copied over code from Emacs 20.5 to correctly send signals to sub- + processes under Windows 95. Also added code to automatically + create and hide console window when a sub-process is created under + Windows 95, which obviates the need for the separate runemacs.exe + executable, and finally implemented some variables that were + implemented in Emacs 20.5, but previously not in XEmacs. These + include mswindows- start-process-share-console and + mswindows-start-process-inherit-error-mode. (Both of these only + apply to Windows 95.) + + * regex.c (regex_compile): Fixed a compile warning. * select-msw.c: * select-msw.c (mswindows_own_selection): @@ -7301,20 +9877,20 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * select-msw.c (mswindows_disown_selection): * select-msw.c (console_type_create_select_mswindows): * select-msw.c (syms_of_select_mswindows): - Cleaned up the file and implemented the device method - selection_exists_p, which had accidentally been left out. Also - removed four lisp functions that were remnants from before the - time when the selection code was properly device abstracted. - These functions are no longer needed because there are generic - equivalents, and because they were added recently and don't exist - in FSF Emacs, I don't think there's any problem with just deleting - them. + Cleaned up the file and implemented the device method + selection_exists_p, which had accidentally been left out. Also + removed four lisp functions that were remnants from before the + time when the selection code was properly device abstracted. + These functions are no longer needed because there are generic + equivalents, and because they were added recently and don't exist + in FSF Emacs, I don't think there's any problem with just deleting + them. * sysdep.c: * sysdep.c (sys_subshell): - Fixed a compile warning, although in this case there's probably - something wrong with this code, and it ought to be looked into - more thoroughly by somebody who understands it. + Fixed a compile warning, although in this case there's probably + something wrong with this code, and it ought to be looked into + more thoroughly by somebody who understands it. * window.c: * window.c (Fwindow_text_area_height): @@ -7323,13 +9899,13 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * window.c (Fwindow_pixel_width): * window.c (debug_print_window): * window.c (syms_of_window): - Added functions window-text-area-height and window-full-width, - which are functions for returning various width and height - characteristics of a window. (One of these functions is necessary - for making the file dialog box work correctly, and the other one - was added for completeness.) Also added a table to the - documentation for window-height which describes the entire scheme - for accessing width and height characteristics of a window. + Added functions window-text-area-height and window-full-width, + which are functions for returning various width and height + characteristics of a window. (One of these functions is necessary + for making the file dialog box work correctly, and the other one + was added for completeness.) Also added a table to the + documentation for window-height which describes the entire scheme + for accessing width and height characteristics of a window. 2000-03-12 Kirill 'Big K' Katsnelson