X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2FChangeLog;h=e37adb478f55fa26179b37731410c096beeee3b2;hp=765c3bf774883da2fbc3dd33bc32f6b15b41af2a;hb=a7bf8d60d66c38f62928b171842d1b45d4539077;hpb=fc475e6669a613cd6d98eb5511c749a23b63c7ac diff --git a/src/ChangeLog b/src/ChangeLog index 765c3bf..e37adb4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,2339 +1,1637 @@ -1998-11-28 SL Baur - - * XEmacs 21.2-beta4 is released. - -1998-11-27 SL Baur - - * mule-charset.c (complex_vars_of_mule_charset): Fix graphic - property in control-1 charset. - From Julian Bradfield - -1998-11-26 Jan Vroonhof - - * gui-x.c (button_item_to_widget_value): Ignore :key-sequence - keyword. - Add stub for :label. - - * gui.c (gui_item_add_keyval_pair): ditto. - - * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore - :key-sequence keyword. - Add stub for:label. - Support :active for submenus like the Windows code and FSF Emacs. - -1998-11-27 Hrvoje Niksic - - * dired.c (make_directory_hash_table): make_string() is OK because - readdir() Mule-encapsulates. - -1998-11-26 Hrvoje Niksic - - * fns.c (Fbase64_encode_string): Fix docstring. - (Fbase64_decode_string): Ditto. - -1998-11-26 Hrvoje Niksic - - * editfns.c (Ftranslate_region): Use - convert_bufbyte_string_into_emchar_string(). - -1998-11-25 Hrvoje Niksic - - * editfns.c (Ftranslate_region): Accept vectors and char-tables as - well as strings. - (Ftranslate_region): Turn table into an array of Emchars for - larger regions. - -1998-11-25 Hrvoje Niksic - - * chartab.c (Freset_char_table): Fix wrong placement of #endif. - -1998-11-24 Hrvoje Niksic - - * chartab.c (Freset_char_table): Don't blindly fill chartables of - type `char' with nils. - - * chartab.c (canonicalize_char_table_value): Coerce ints to chars - for tables of type `char'. - -1998-11-26 Didier Verna - - * input-method-xlib.c (Initialize_Locale): don't call - XtSetLanguageProc. We've done the whole work here. - * input-method-xfs.c (Initialize_Locale): ditto. - * input-method-motif.c (Initialize_Locale): ditto. - -1998-11-26 Didier Verna - - * process-unix.c (unix_create_process): handle properly - Vfile_name_coding_system for converting the program and directory - names. - -1998-11-27 SL Baur - - * m/arm.h: New file. - From James LewisMoss - -1998-11-27 Takeshi Hagiwara - - * m/mips-nec.h: - Fix the realpath() problem of UnixWare2.1.3. - Patches for NEC's sysv4.2 machine. - -1998-11-25 Hrvoje Niksic - - * dired.c (Fdirectory_files): Remove redundant code. - -1998-11-25 Hrvoje Niksic - - * fns.c (free_malloced_ptr): New function. - (XMALLOC_OR_ALLOCA): New macro. - (XMALLOC_UNBIND): Ditto. - (Fbase64_encode_region): Use malloc() for large blocks; arrange it - to be freed in case of non-local exit. - (Fbase64_encode_string): Ditto. - (Fbase64_decode_region): Ditto. - (Fbase64_decode_string): Ditto. - (STORE_BYTE): New macro. - (base64_decode_1): Use it. - -1998-11-25 Hrvoje Niksic - - * fns.c (base64_value_to_char): Base64 stuff. - -1998-11-24 Hrvoje Niksic - - * editfns.c (Fbuffer_substring): New function. - - * lisp.h: Declare make_string_from_buffer_no_extents(). - - * insdel.c (make_string_from_buffer_1): New function. - (make_string_from_buffer_no_extents): Ditto. - -1998-11-15 Michael Sperber [Mr. Preprocessor] - - * linuxplay.c: Including instead of makes - sound work on AIX with OSS installed. Linux should still work. - -1998-11-03 Andy Piper - - * config.h.in: name change for cygwin/version.h - - * configure.in: check for cygwin/version.h now. - - * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> - CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. - move cygwin32/version.h to cygwin/version.h - -1998-11-03 Olivier Galibert - - * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from - int to long. - -1998-10-22 Andy Piper - - * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> - CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. - enable BROKEN_SIGIO under b20 to make QUIT work. - -1998-10-22 Andy Piper - - * frame-msw.c (mswindows_size_frame_internal): force frame sizing - to fit within the constraints of the screen size. I.e. make the - frame small enough to fit and move it if some of it will be - off-screen. - -1998-10-19 Greg Klanderman - - * dired.c: conditionalize inclusion of user-name-completion - primitives on non-Windows NT. The needed functions don't exist on NT. - -1998-11-24 SL Baur - - * gifrlib.h: Clean up types for 64 bit compile. - * dgif_lib.c (DGifInitRead): Ditto. - (MakeSavedImage): Ditto. - * emacs.c (decode_path): Ditto. - From Steve Carney - -1998-10-16 William M. Perry - - * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps - (cehckboxes instead of checkboxes). - -1998-10-15 SL Baur - - * XEmacs 21.2-beta3 is released. - -1998-10-13 Raymond Toy - - * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run - gnuclient. Otherwise, we run xemacs as we always did. This gets - rid of the annoying DOS window when running gnuclient. - -1998-10-13 Andy Piper - - * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS -> - HAVE_MS_WINDOWS typo. - -1998-10-13 SL Baur - - * process-unix.c (unix_send_process): Set closed flag on writable - pipe after SIGPIPE is received and before we call deactivate_process. - -1998-10-03 Gunnar Evermann - - * window.c (Fset_window_start): respect narrowing when - checking wheter start is at the beginning of a line. - (Fset_window_buffer): Ditto - Fixes repeatable crash in VM. - -1998-10-09 SL Baur - - * window.c (specifier_vars_of_window): Set default vertical - divider width to 1 on ttys. - -1998-10-08 Martin Buchholz - - * alloc.c: - * unexec.c: - * malloc.c: - Add to get ptrdiff_t declaration - -1998-10-07 Jonathan Harris - - * scrollbar-msw.c: Use the same vertical scrollbar drag hack as - is used for Motif or Lucid scrollbars under X. - -1998-10-08 Pierre Wendling - - * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running - `configure' - -1998-10-06 Takeshi Hagiwara - - * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget. - -1998-10-05 Andy Piper - - * s/cygwin32.h: more cygwin b20 reorganisation. - -1998-10-03 Gunnar Evermann - - * window.c (Fset_window_start): Document me. - (Fset_window_buffer): Document me. - Fixes some sort of repeatable crash. - -1998-10-01 Raymond Toy - - * nas.c: Added necessary support functions to be able to handle - WAVE files in memory, just like the support for SND files in - memory. - -1998-09-30 SL Baur - - * callproc.c (child_setup): Fix spelling typo. - -1998-09-29 SL Baur - - * XEmacs 21.2-beta2 is released. - -1998-09-27 P. E. Jareth Hein - - * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg - to prevent memory corruption in the case of jumping out of a series of - nested match patterns. This is a rather brute force approach, though. - -1998-09-02 Andy Piper - - * config.h.in: ditto. - - * s/cygwin32.h: rearrange declarations to cope with cygwin - b20. Include cygwin32/version.h if it exists. - -1998-09-20 Jonathan Harris - - * device-msw.c (mswindows_init_device): Call new - mswindows_enumerate_fonts() function in objects-msw.c instead - of font_enum_callback_1() to enumerate fonts. - - font_enum_callback_1() and _2() moved to objects-msw.c. - - * faces.c (complex_vars_of_faces): Make the mswindows default - face font fully specified and provide some fallbacks. - - * objects-msw.c: font_enum_callback_1() and _2() moved here - from objects-msw.c. Obtain the enumerated font's character - sets by table lookup instead of using the locale-specific - string provided by Windows. - - New public non-method mswindows_enumerate_fonts() that fills - in the supplied mswindows device's font list. - - mswindows_initialize_font_instance: Use the supplied name - variable instead of f->name when signalling errors. Match font - weights and character sets using lookup tables which handle - spaces instead of by frobbing. - -1998-09-20 Jonathan Harris - - * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE, - on the size of code fragments passed to run_in_other_process. - - run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine - the amount of memory to allocate in the other process. - - Removed sigkill_code_end(), sigint_code_end() and - sig_enable_code_end() since they are now redundant. - - send_signal() and enable_child_signals(): Don't try to work - out the end of the code fragments passed to - run_in_other_process() - -1998-09-10 Kazuyuki IENAGA - - * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for - FreeBSD-current. - - * src/unexelf.c: Partially synched with FSF's 20.3. - -1998-09-10 Hrvoje Niksic - - * insdel.c (signal_after_change): Map across indirect buffers - here, and not in the upper-level functions. - (signal_first_change): Don't check for Armageddon. - (signal_before_change): Map across indirect buffers here. - (prepare_to_modify_buffer): ...and here. - -1998-09-09 Hrvoje Niksic - - * insdel.c (signal_after_change): Add return value. - (buffer_insert_string_1): Use it. - (buffer_delete_range): Ditto. - (buffer_replace_char): Ditto. - (cancel_multiple_change): Map the indirect buffers. - -1998-09-06 Hrvoje Niksic - - * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. - (uninit_buffer_text): Ditto. - - * buffer.c (Fmake_indirect_buffer): Implement stricter - error-checking. - -1998-09-04 Hrvoje Niksic - - * insdel.c (change_function_restore): Reverse order of - function-call and assignment. - (first_change_hook_restore): Ditto. - - * extents.c (mark_extent_auxiliary): Mark them. - (Fset_extent_property): Set them. - (Fextent_property): Get them. - (Fextent_properties): Ditto. - (vars_of_extents): Set their default. - - * extents.h (struct extent_auxiliary): Add before_change_functions - and after_change_functions. - - * insdel.c (signal_before_change): Use it. - (signal_after_change): Ditto. - - * extents.c (report_extent_modification): New function. - - * insdel.c (signal_before_change): Don't check for Armageddon. - (signal_after_change): Ditto. - -1998-09-11 Gunnar Evermann - - * redisplay.c (redisplay_window): make sure a new starting point - is chosen if it somehow got moved from the beginning of the line - -- this can happen because Fwiden was called recently. - - * window.c (Fset_window_start): set start_at_line_beg correctly - (Fset_window_buffer): Ditto - -1998-09-06 Hrvoje Niksic - - * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. - (uninit_buffer_text): Ditto. - - * buffer.c (Fmake_indirect_buffer): Implement stricter - error-checking. - -1998-05-14 Jan Vroonhof - - * emacs.c (main_1): Removed references to *vars_of_filelock. - - * lisp.h: Added Fsystem_name. - - * filelock.c: Replaced by version from FSF 20.2. Now implements - locking by using symlinks which is NFS safe. However keep the - GCPRO's in lock_file and the calls to callx_in_buffer like our old - version (and of course use ansi C, acessor macros, etc). - -1998-09-06 Jan Vroonhof - - * process-unix.c (unix_create_process): Reset SIGHUP handler to - SIG_DFL. We now try to conserve any inherted SIG_IGN settings - in init_signals_very_early. However these should not be passed - on to children attached to the new pty. - -1998-08-28 Andy Piper - - * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. - -1998-09-07 Jonathan Harris - - * fileio.c (file-name-directory, file_name_as_directory): - Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. - -1998-09-02 Andy Piper - - * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC - - * ralloc.c: uncomment __morecore. - -1998-09-92 Jonathan Harris - - * event-msw.c(winsock_writer): Supply a dummy 4th argument to - WriteFile() to fix a winsock 1.x bug on Win95. - -1998-08-28 Hrvoje Niksic - - * event-Xt.c (emacs_Xt_mapping_action): Check for device being - deleted. - (x_event_to_emacs_event): Ditto. - (emacs_Xt_handle_focus_event): Ditto. - (emacs_Xt_handle_magic_event): Ditto. - - * console-x.h (struct x_device): New flag being_deleted. - (DEVICE_X_BEING_DELETED): New macro. - - * device-x.c (x_IO_error_handler): Throw to top-level instead of - returning. Before doing that, set the being_deleted flag on the - device. - -1998-08-27 Hrvoje Niksic - - * device-x.c (x-seppuku-on-epipe): Removed. - -1998-08-26 Gunnar Evermann - - * frame-x.c (x_delete_frame): Flush the X output buffer after - calling XtDestroyWidget to ensure that the windows are really - killed right now. - -1998-08-26 Hrvoje Niksic - - * menubar-x.c (my_run_hook): New unused function. - (pre_activate_callback): Use run_hook for Qactivate_menubar_hook, - since we ignore the results of the contained functions anyway. - -1998-08-26 P. E. Jareth Hein - - * glyphs-eimage.c (gif_instantiate): Fix a crash in handling - interlaced GIF files that are smaller than 4 lines high... - -1998-08-31 Hrvoje Niksic - - * buffer.c (map_over_sharing_buffers): Deleted. - - * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h. - - * buffer.c (Fkill_buffer): Keep indirect_children updated while - killing them. - -1998-08-31 Hrvoje Niksic - - * insdel.c (buffer_insert_string_1): Advance the point bytind in - all the buffers. - (buffer_delete_range): Ditto. - - * marker.c (init_buffer_markers): Set point-marker to the value of - point in an indirect buffer. - -1998-08-30 Hrvoje Niksic - - * undo.c (undo_prelude): Test last-undo-buffer against base - buffer. - - * insdel.c (MAP_INDIRECT_BUFFERS): Use it. - - * buffer.h (BUFFER_BASE_BUFFER): New macro. +2000-02-23 Martin Buchholz + + * XEmacs 21.2.31 is released. + +2000-02-22 Ben Wing + + * ntheap.c (allocate_heap): Make sure `ptr' is initialized. + +2000-02-22 Andy Piper + + * glyphs-x.c (x_widget_instantiate): don't explicitly resize here. + +2000-02-21 Mike Sperber + + * .dbxrc: + * .gdbinit: + * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment + variables. + +2000-02-21 Mike Sperber + + * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is. + +2000-02-21 Martin Buchholz + + * XEmacs 21.2.30 is released. + +2000-02-20 Martin Buchholz + + Performance hacking. + * *.c (syms_of_*): + Add INIT_LRECORD_IMPLEMENTATION macros, paired with + DEFINE_LRECORD_IMPLEMENTATION macros in the same file. + * emacs.c (main_1): + * lisp.h (DEFUN): + * console.c (DEFVAR_CONSOLE_LOCAL_1): + * buffer.c (DEFVAR_BUFFER_LOCAL_1): + * symeval.h (DEFVAR_SYMVAL_FWD): + * symbols.c (guts_of_unbound_marker): + Make all c_readonly objects also lisp_readonly and marked for life. + * lrecord.h (struct lrecord_implementation): + Document flags better. + * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS): + * lrecord.h (DECLARE_LRECORD): + * lrecord.h (XSETRECORD): + * lrecord.h (RECORDP): + * lrecord.h (RECORD_TYPEP): + * lrecord.h (RECORD_MARKER): New. + * lrecord.h (error_check_*): + * lrecord.h (CONCHECK_NONRECORD): + * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): + * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New. + * lrecord.h (set_lheader_implementation): + * lrecord.h (enum lrecord_type): New. + * symeval.h (SYMBOL_VALUE_MAGIC_P): + * alloc.c (disksave_object_finalization_1): + * alloc.c (mark_object): + * alloc.c (lrecord_type_index): + * alloc.c (tick_lcrecord_stats): + * alloc.c (Fgarbage_collect): + * alloc.c (init_alloc_once_early): + * alloc.c (pdump_load): + * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New. + * alloc.c (lrecord_type_index): Delete. + Make lisp object type indexes be constant. + Makes (byte-compile) 5% faster. + Put all marker functions into their own array. + Makes (garbage-collect) 5% faster. + Optimize SYMBOL_VALUE_MAGIC_P. + Makes (byte-compile) 2-3% faster. + * config.h.in (gc_checking_assert): New. + * alloc.c: Use gc_checking_assert(). + * .dbxrc: Make compatible with new object type implementation. + * .gdbinit: Make compatible with new object type implementation. + * alloc.c: Delete all symbols defined only for debugging, such as + Lisp_Type_Vector and lrecord_charset. + +2000-02-21 Andy Piper + + * gui-msw.c (Fmswindows_shell_execute): fix file location + problems. + + * buffer.c (Fkill_buffer): remove buffer from alist buffer + unshowing so that set_window_buffer doesn't undo + kill_buffer_hook's hard work. + + * glyphs-widget.c (tab_control_query_geometry): don't count the + first item when calculating geometry. + + * glyphs.c (map_subwindow): remove redundant code. + (update_frame_subwindows): be more circumspect about when to + update subwindows. + + * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug + when items haven't changed. Update faces if faces have changed as + well as just the widget face. + (x_tab_control_update): Update faces if faces have changed as well + as just the widget face. + +2000-02-21 Jonathan Harris + + * device-msw.c: (mswindows_delete_device): Remove redundant DDE + registration. + (build_syscolor_string): Use mswindows_color_to_string to try to + get a named color. + (mswindows_device_system_metrics): Reverse the foreground and + background colors so that they match the documentation. + + * objects-msw.c: (mswindows_X_color_map): tweak some values so + they match the default Windows palette. + (mswindows_color_to_string): New function. + +2000-02-21 Jonathan Harris -1998-08-30 Hrvoje Niksic + * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6. - * insdel.c (init_buffer_text): Initialize it here. +2000-02-18 Olivier Galibert - * line-number.c: Address line_number_cache through buffer->text. + * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS, + WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND. + + * symbols.c (init_symbols_once_early): Removed obsolete + DATA_SEG_BITS related kludge. + (defvar_magic): Ditto. - * buffer.c (mark_buffer): Mark line number cache. + * malloc.c: Removed obsolete DATA_SEG_BITS + * ralloc.c: Ditto. + * mem-limits.h: Ditto. - * bufslots.h (line_number_cache): Move to struct buffer_text. + * Makefile.in.in: Removed obsolete HAVE_SHM + * emacs.c: Ditto. - * insdel.c (buffer_insert_string_1): Propagate signals and changes - across the children buffers. - (buffer_delete_range): Ditto. - (buffer_replace_char): Ditto. - (gap_left): Ditto. - (gap_right): Ditto. +2000-02-13 Jonathan Harris - * insdel.c (MAP_INDIRECT_BUFFERS): New macro. + * device-msw.c (mswindows_delete_device): Free DDE string + handles. - * buffer.c (Fmake_indirect_buffer): Uncomment. +2000-02-16 Kirill 'Big K' Katsnelson -1998-08-31 Hrvoje Niksic + * keymap.c (get_keyelt): + * unexnt.c (unexec): + * vm-limit.c (memory_warnings): + * ntheap.c (recreate_heap): + * ntheap.h (UNINIT_PTR): + * select-msw.c (Fmswindows_get_clipboard): + (Fmswindows_set_clipboard): + * objects-msw.h (MSWINDOWS_BAD_HFONT): + * objects-msw.c: + * menubar-msw.c (displayable_menu_item): + * glyphs-msw.c: + * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK): + * sysdep.c (sys_subshell): + * process-nt.c (nt_create_process): + * nt.c (normalize_filename): + (dostounix_filename): + (unixtodos_filename): + * ntproc.c (win32_executable_type): + * ntplay.c (play_sound_data_1): + (play_sound_file): + * editfns.c (get_home_directory): + * event-msw.c (struct winsock_stream): + (mswindows_dde_callback): + * device-msw.c (msprinter_init_device): + (msprinter_get_devmode_copy): Frobbed syntax frivolities. + + * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to + mswindows_clear_toolbar were swapped! + + * objects-msw.c:(colormap_t): + (fontmap_t): + * emacs.c (struct standard_args): Fixed const jumble. + + * glyphs-widget.c (update_widget): Fixed comparison notation. + + * event-msw.c (mswindows_dde_callback): Removed extraneous ';'. + + * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC + __declspec(noreturn) syntax. - * macros.c (Fend_kbd_macro): Remove trailing period from error - message. - (Fexecute_kbd_macro): Ditto. +2000-02-19 Martin Buchholz -1998-08-21 Greg Klanderman + * eldap.c (Fldap_open): + (Fldap_search_basic): + (Fldap_add): + (Fldap_modify): + Use new coding system conversion macros. - * dired.c (Fuser_name_completion): remove optional 2nd argument. - (Fuser_name_completion_1): new function to return uniqueness - indication in addition to the user name completion. - (user_name_completion): change type of `uniq' argument. +2000-01-06 Yoshiki Hayashi -1998-08-19 Michael Sperber [Mr. Preprocessor] + * console-tty.c (tty_init_console): Change MULE to FILE_CODING. - * lread.c (vars_of_lread): Removed `source-directory' variable. +1999-11-27 Oscar Figueiredo -1998-08-22 Hrvoje Niksic + * eldap.h (Fldap_search) Renamed from Fldap_search_internal: + (Fldap_add, Fldap_modify, Fldap_delete): New functions - * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to - Cygwin. + * eldap.c (Qadd, Qreplace): New constant symbols + (Fldap_open): Use the LDAP_OPT_RESTART option to avoid + interruptions by XEmacs signals + Remove unnecessary calls to slow_down_interrupts and + speed_up_interrupts + (Fldap_search_basic): Renamed from Fldap_search_internal + Added new optional parameter VERBOSE that triggers the + display of progress messages + Remove unnecessary calls to slow_down_interrupts and + speed_up_interrupts + LDAP result code analysis rewritten + (Fldap_add, Fldap_modify, Fldap_delete): New functions + (syms_of_eldap): Define the new symbols and functions -1998-08-19 SL Baur - * dired.c (vars_of_dired): Fix misapplied patch. +2000-02-17 Martin Buchholz -1998-08-16 Martin Buchholz + * realpath.c: Determine PATH_MAX maximally portably. - * fns.c (Fremrassq, remrassq_no_quit): - A XCAR that should have been an XCDR turned Fremrassq into Fremassq + * insdel.c (bytecount_to_charcount): Optimize. + The function used to be optimized for entirely ASCII sequences. + Now it is optimized for successive characters from the same + charset. This also wins big for _mostly_ ASCII sequences. -1998-07-17 Didier Verna + * fileio.c (Ffile_truename): convert return from realpath() using + Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks. + - Rewrite GCPROing slightly. - * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill - style as foreground GC for faces that have the `dim' property. - (x_output_string): when the `dim' face property is set, - ensure the gray pixmap has been created, and get a proper - foreground GC to draw the text. + * sysdep.c (sys_open): Do filename conversion, like all other + sys_* functions. Fixes bug: + (let ((file-name-coding-system 'iso-8859-2)) + (write-region x y latin2-name)) + ==> writes filename using internal encoding. -1998-08-09 Jonathan Harris +2000-02-18 Martin Buchholz - * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug: - Manually track the state of the left and right Ctrl and Alt - modifiers. + * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const. + * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const. + * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const. + * eval.c (lrecord_subr): Remove this_one_is_unmarkable. + * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable. + * symbols.c (guts_of_unbound_marker): Turn on c_readonly. + * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete. + (CONST_IF_NOT_DEBUG): Delete. + * alloc.c (this_one_is_unmarkable): Delete. + (mark_object): Don't check for this_one_is_unmarkable. Use the + c_readonly flag instead. + * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly. -1998-08-07 Matt Stupple +2000-02-18 Jonathan Harris - * ntproc.c: don't wait on char_consumed at thread entry. - Additionally, to get the 'process' marked as finished, ensure - that the CHILD_ACTIVE macro returns false, so before exiting - close char_avail and set it to NULL, and close other handles - to reduce handle leak problems. + * event-msw.c (mswindows_drain_windows_queue): + (emacs_mswindows_handle_magic_event): Remove attempt to optimise + away redundant repaint events. -1998-08-09 Jonathan Harris +2000-02-17 Andy Piper - * menubar-msw.c (displayable_menu_item): take account of menu - depth when deciding whether to try to display accelerators. + * redisplay.h: declare mark_redisplay_structs. -1998-08-04 Andy Piper + * redisplay.c (redisplay_window): + (redisplay_frame): don't check subwindows_state_changed. + (mark_redisplay): mark gutters here. - * event-msw.c: use MsgWaitForMultipleObjects if there are no - subprocesses. + * glyphs.c: (instantiate_image_instantiator): always layout if we + haven't done so already. + (allocate_image_instance): don't mark as dirty. + (update_subwindow): bind inhibit_quit. - * glyphs-msw.c: fix a couple of potential handle leaks. + * gutter.c (mark_gutters): new function. -1998-08-04 P. E. Jareth Hein + * glyphs-x.c (x_update_widget): Always resize to get round a + widget bug. - * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF - *decoding ONLY* back into the core. - * glyphs-eimage.c: Change referenced header file for GIF - reading to point to the incore version. + * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was + breaking absolutely everything. -1998-07-20 Martin Buchholz + * gutter.h: declare mark_gutters. - * casefiddle.c (casify_object): - Change algorithm from O(N**2) to O(N). - Code cleanup. - Doc string cleanup. +2000-02-16 Martin Buchholz -1998-07-22 Greg Klanderman + * XEmacs 21.2.29 is released. - * dired.c (file_name_completion_unwind): don't leak the cons. +2000-02-15 Olivier Galibert -1998-07-20 Greg Klanderman + * fns.c (size_bit_vector): Fix computation of the size. - * dired.c (Fuser_name_completion): new function. - (Fuser_name_all_completions): new function. - (user_name_completion): new function. - (syms_of_dired): 2 new DEFSUBRs. - (vars_of_dired): initialize user name cache vars. +2000-02-15 Martin Buchholz -1998-07-29 P. E. Jareth Hein + * *.[ch]: Change CONST to const globally. + find -name '*.[ch]' | \ + xargs global-replace \ + 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g' + - Remove vestigial references to CONST_IS_LOSING - * glyphs-eimage.c (png_instantiate): Add proper handling for background - colors taken from the default face. Also correct a thinko in - transparency (not alpha) handling. +2000-02-13 Jonathan Harris -1998-07-23 Martin Buchholz + * event-msw.c (mswindows_drain_windows_queue): Remove hack to + bailout early on quit. Enqueue WM_PAINT events as XEmacs magic + events instead of dispatching them directly. + (mswindows_handle_paint): New function to do repainting. + (mswindows_wnd_proc): + (emacs_mswindows_handle_magic_event): Call above function. - * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap. - * unexalpha.c: ANSI C-ize. Clean compiler warnings. - * lread.c (Fload_internal): Be very careful with printfs of - size_t's - * gui-x.c (menu_name_to_accelerator): tolower wants an `int' - argument. +2000-02-13 Jonathan Harris -1998-07-27 Gunnar Evermann + * objects-msw.c (mswindows_create_font_variant): Return the new + font handle. + (initialize_font_instance): Get font metrics from the underlined + variant of the font to cope with the case where the underlined + font has a bigger descent. - * callint.c (Fcall_interactively): GCPRO prompt string before - passing it to Fread_key_sequence +2000-02-08 Daiki Ueno -1998-07-27 SL Baur + * gui.c (gui_item_accelerator): Return the first underlined + character in item name. - * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and - Vvertical_divider_map. +2000-02-11 Kirill 'Big K' Katsnelson - * mule-canna.c (vars_of_mule_canna): Initialize every symbol to - Qnil or 0, none were initialized prior to this change. + * lisp.h: Added Qprinter. - Rename misnamed `V' prefixed integer variables: - Vcanna_empty_info, Vcanna_through_info, Vcanna_underline, - Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos, - Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos, - Vcanna_ichiran_revLen. - - Rename misnamed `V' prefixed integer variables and initialize - properly in the vars_of routine. - Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode, - Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode, - Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode, - Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode, - Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode, - Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode, - Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode, - Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode, - Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode, - Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode, - Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode, - Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode, - Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode, - Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode, - Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode, - Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode, - Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode, - Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode, - Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode, - Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert, - Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode, - Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward, - Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine, - Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious, - Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei, - Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu, - Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu, - Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku, - Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper, - Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana, - Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana, - Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku, - Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei, - Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle, - Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle, - Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward, - Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode, - Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark, - Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer, - Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down, - Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown, - Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key, - Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up, - Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down, - Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up, - Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down - -1998-07-16 Jan Vroonhof - - * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms. - (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier - keys thus no longer considering all keysyms on a key. - -1998-07-19 SL Baur - - * XEmacs 21.2-beta1 is released. - -1998-07-12 Oscar Figueiredo - - * eldap.c (Fldap_search_internal): When converting the list of - attributes to search Copy the final 0 from Lisp strings to C - strings. - Check base, not Vldap_default_base as a a string - -1998-07-13 Jonathan Harris - - * nt.c: Remove Vstdio_str; already defined in console-stream.c. - - * unexnt.c: Unconditionally define bss_start and bss_size, and - ensure that they don't go in the .bss section. - -1998-07-17 Olivier Galibert - - * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv - byte order is dependant of the local byte order). - From Takeshi Hagiwara + * general.c (syms_of_general): Initialized it. -1998-07-18 SL Baur + * redisplay-msw.c (get_frame_dc): Conditionally start a new page. + (get_frame_dc): + (get_frame_compdc): Made inline. - * glyphs-msw.c (mswindows_resource_normalize): Qresource -> - Qmswindows_resource. - From Jonathan Harris - -1998-07-12 SL Baur - - * general.c (syms_of_general): Add defsymbol for Qresource. - - * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to - Qmswindows_resource. - (TopLevel): Rename 'resource image format to 'mswindows_resource. - (mswindows_resource_validate): Rename. - (mswindows_resource_normalize): Rename. - (mswindows_resource_possible_dest_types): Rename. - (mswindows_resource_instantiate): Rename. - (image_instantiator_format_create_glyphs_mswindows): Replace - `resource' with `mswindows.resource'. + * console.h (struct console_methods): Added eject_page method. - * XEmacs 21.0-pre5 is released. + * frame.h: Added FRAME_DISPLAY_P and friends. + Aligned backslahes in many macros in more readable fashion. + Added page_number to struct frame, and an accessor macro + for it. -1998-07-10 SL Baur + * defice.h: Added DEVICE_DISPLAY_P and friends. - * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn - server type in environment. - Use alloca-ed strings instead of tiny fixed size ones. + * device.c (Fdevice_printer_p): Used these. -1998-07-09 SL Baur + * frame.c (allocate_frame_core): Initialize page number. + (Fprint_job_page_number): + (Fprint_job_eject_page): Implemented. - * XEmacs 21.0-pre4 is released. + * frame-msw.c (msprinter_eject_page): Added method. + (msprinter_start_page): Added. -1998-07-01 James N. Potts + * window.c (Fwindow_truncated_p): Fixed docstring. + (Fwindow_last_line_visible_height): Implemented. - * fileio.c: (expand_file_name): under win32: Don't treat names - as UNC names if a drive letter has been specified. If a drive - has been specified, strip out extra directory-seperators that - reportedly cause problems under Win95. +2000-02-09 Yoshiki Hayashi -1998-07-09 Jonathan Harris + * frame.c (change_frame_size_1): Undo 2000-02-03 change. - * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with - MSVC >= 5.0. Put emacs init and zero-init data in a special - section of the executable when this is defined. +1999-12-20 Yoshiki Hayashi - * unexnt.c, ntheap.h: - Removed unused find_section() and get_section_size(). + * syntax.c (scan_words): Always advance at least one character. - * unexnt.c: - Fix up the executable's checksum after dumping otherwise the - profiler complains. - When DUMP_SEPARATE_SECTION is defined, don't need to dump - zero-init data separately from init data. Dump emacs data - into a special section of the executable. - When DUMP_SEPARATE_SECTION not defined, dump .bss up to - my_ebss instead of up to the end of bss. +2000-02-13 Andy Piper -1998-07-09 Jonathan Harris + * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here + to make sure the glyph is in the cachels. - * filelock.c: Removed Vconfigure_lock_directory - already - defined in emacs.c. + * glyphs.h (struct Lisp_Image_Instance): make layout_changed a + global image instance flag. + (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro. + (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto. - * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already - defined in frame.c and general.c respectively. + * glyphs.c (allocate_image_instance): set dirty bits correctly. + (Fset_image_instance_property): mark layout as changed. + (invalidate_glyph_geometry_maybe): mark layout as changed. + (glyph_width): use new NEEDS_LAYOUT macro. + (glyph_ascent): ditto. + (glyph_descent): ditto. + (glyph_height): ditto. + (image_instance_layout): mark layout as clean after laying out. + (update_subwindow): don't mark layout as clean here. - * glyphs-msw.c: Removed Qresource - already defined in - general.c. + * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they + should no longer be needed. -1998-07-05 Oscar Figueiredo + * glyphs-x.c (x_update_widget): sanitize asserts. + (x_finalize_image_instance): sanitize assignment to widgets. - * eldap.c (Fldap_search_internal): Docstring fixes + * glyphs-widget.c (widget_instantiate): don't need to clear the + layout flag here. -1998-07-04 Jonathan Harris +2000-02-13 Martin Buchholz - * nt.c (init_environment): Removed unused PRELOAD_WINSOCK, - EMACSDOC and TERM variables. Added EMACSDEBUGPATHS, - EMACSPACKAGEPATH and INFOPATH variables. - Removed unused get_emacs_configuration function. + * sysdep.c (getcwd): Use standard prototype. + * sysdep.h (getcwd): Use standard prototype. - * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because - it is now defined at build-time by the makefile. + * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp + (sequence, start, end). + Remove redundant type checking. + (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in + view of `caller-protects') to avoid a crash where the real fix was + found elsewhere. -1998-07-01 James N. Potts +2000-02-12 Martin Buchholz - * fileio.c: (expand_file_name): under win32: Don't treat names as - UNC names if a drive letter has been specified. If a drive has - been specified, strip out extra directory-seperators that - reportedly cause problems under Win95. + * glyphs-x.c (x_finalize_image_instance): Compile error fixes. -1998-07-05 Andy Piper + * s/sol2.h: Remove feature macro initialization. - * faces.c (complex_vars_of_faces): for the gui-element face don't - fallback to the default face, instead provide reasonable default - fallbacks that were previously hardcoded elsewhere. + * alloc.c (alloc_lcrecord): Add more type checking assertions. + (vector_hash): New. Code from internal_hash. + * lrecord.h: + Fix up allocation subsystem comments. -1998-07-06 Olivier Galibert + * config.h.in: Add __EXTENSIONS__ for Solaris. - * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem - when the X server endianness is different than the client's one. + * systime.h (EMACS_GETTIMEOFDAY): New. + (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY. + Remove Solaris-specific code. + Use void* for the (ignored) second arg for gettimeofday(). -1998-06-29 Kyle Jones + * elhash.c (hash_table_hash): Implement it, finally. + * elhash.c: Use hashcode_t. - * eval.c (run_hook_with_args_in_buffer): Check - default (non-buffer-local) value of hook for - nil before treating it as a function. Don't initialize - the `globals' variable twice. + * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE. + * sunplay.c (sighandler): Fix prototype to use SIGTYPE. -1998-06-24 Jonathan Harris + * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete. + * fns.c (size_bit_vector): + * alloc.c (size_vector): + (make_vector_internal): + (make_bit_vector_internal): + (sweep_bit_vectors_1): + Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression. - * fileio.c: Don't do directory seperator canonicalisation in - substitute-in-file-name because we don't know that the - filename refers to a local file. +2000-02-10 Martin Buchholz -1998-06-24 Adrian Aichner + * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't. + Include strings.h to avoid warnings for bzero and strcasecmp. - * process-nt.c (nt_create_process): Try appending the standard - executable file extensions to the filename if none supplied. +2000-02-10 Olivier Galibert -1998-06-29 SL Baur + * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here... + * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here - * fileio.c (Fsubstitute_in_file_name): Enable double slash notation - for cygwin32. - From Keisuke Mori + * fns.c (size_bit_vector): New. Declare bit vectors as a + sequence. -1998-06-24 Andy Piper +2000-02-10 Olivier Galibert - * toolbar-msw.c (mswindows_output_toolbar): only enable masked - images if we have masks. This handles the xbm case (have masks) - and avoids overuse of resources in the xpm case (generally no masks). - Don't output small toolbars. + * symeval.h (struct symbol_value_magic): Remove "next" kludge and + use a value field instead. + (symbol_value_forward_forward): Use value field. + (DEFVAR_SYMVAL_FWD): Use value field. + (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque. + (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT. + (DEFVAR_CONST_INT): Ditto. + (DEFVAR_BOOL): Ditto. + (DEFVAR_CONST_BOOL): Ditto. + (DEFVAR_INT_MAGIC): Ditto. + (DEFVAR_BOOL_MAGIC): Ditto. + + * symbols.c (guts_of_unbound_marker): Use value field. + * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto. + * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto. + + * lisp.h: Declare dumpopaque and noninteractive1. + + * alloc.c (dumpopaque): Added. + (pdump_dump_opaquevec): Added. + (pdump): Call pdump_dump_opaquevec to dump opaque data. + (pdump_load): Reload opaque data. Sync noninteractive1 with + noninteractive. + +2000-02-10 Andy Piper + + * glyphs.c (image_instance_layout): if the size changes, mark it + as such. + + * redisplay-output.c (redisplay_output_layout): Update the + subwindow here. + (redisplay_output_subwindow): ditto. + + * glyphs.c (update_subwindow): make sure we reset flags for + layouts as well as everything else. + + * glyphs-widget.c (layout_layout): don't need to set the instances + dimensions here. + +2000-02-09 Martin Buchholz + + * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB, + not HAVE_DLOPEN, which is a lower-level thing. + + * .cvsignore: Ignore gmon.out + +2000-02-09 Hamish Macdonald + + * .cvsignore: Ignore portable dumper xemacs.dmp file + +2000-02-09 Andy Piper + + * redisplay-output.c (redisplay_output_layout): be more clever + about when we output based on the changed flags. + + * glyphs.h (struct image_instantiator_methods): add update_method. + (struct Lisp_Image_Instance): add changed flags. Declare new + macros for manipulating them. + + * glyphs.c (allocate_image_instance): renamed glyph -> parent. + (image_instance_parent_glyph): find an image_instance's parent + glyph or image_instance. + (image_instance_layout): mark the size as changed. + (set_image_instance_dirty_p): new function. mark an image + instance, plus all of its parents, as dirty. + (Fset_image_instance_property): use it. + (Fglyph_animated_timeout_handler): use it. + (update_subwindow): call update_widget and device methods for + update_subwindow. Mark all changed flags as clean. + (Fresize_subwindow): mark size as changed. + + * glyphs-x.c (x_finalize_image_instance): try and detect gc + failures. + (x_update_subwindow): only resize subwindows here. + (x_update_widget): new function. Update all changed properties of + a widget. + (x_resize_subwindow): deleted. + (x_widget_set_property): deleted. + (x_progress_gauge_set_property): deleted. + (x_progress_gauge_update): new function. Implement recorded + changes. + (x_tab_control_update): ditto. + (x_tab_control_set_property): deleted. + (console_type_create_glyphs_x): declare new functions. + (image_instantiator_format_create_glyphs_x): ditto. + + * glyphs-widget.c (widget_set_property): mark text changed. + (update_widget): new function. Update properties of a widget. + (widget_instantiate): for layouts make sure we set their + children's parent correctly. + (tab_control_set_property): new function. Record changes that will + take place under redisplay's control. + (progress_gauge_set_property): ditto. + (image_instantiator_progress_guage): declare new functions. + (image_instantiator_tab_control): ditto. + + * glyphs-msw.c (mswindows_update_subwindow): just do resizing here + now. + (mswindows_update_widget): new function. Update all properties on + a widget that have changed. + (mswindows_button_update): new function. Update a button's set + state. + (mswindows_tab_control_update): new function. Update the items in + a tab. + (mswindows_tab_control_set_property): deleted. + (mswindows_progress_gauge_update): new function. Update the + progress gauge's progress. + (mswindows_widget_set_property): deleted. This is all done + asynchronously now. + (mswindows_progress_gauge_set_property): ditto. + (console_type_create_glyphs_mswindows): declare new methods. + (image_instantiator_format_create_glyphs_mswindows): ditto. + + * frame-msw.c (msprinter_init_frame_1): Remove unused variables. + (msprinter_set_frame_properties): ditto. + + * console.h (struct console_methods): Add update_widget_method. + +2000-02-09 Andy Piper + + * gui-msw.c (Fmswindows_shell_execute): Make + mswindows-shell-execute industrial strength. + +2000-02-08 Martin Buchholz + + * lrecord.h: Make macro argument `props' match member function `plist'. + * fns.c (Fget): + * fns.c (Fput): + * fns.c (Fremprop): + * fns.c (Fobject_plist): + * alloc.c: + * symbols.c: + Object property list frobbing cleanup. + - Allow any lisp object (compared with `eq'), not just symbols, as + keys in object plists. + - Move symbol plist frobbing into symbols.c, where it belongs. + - Move string plist frobbing into alloc.c, where it belongs. + - Everything's an lrecord now, so no need to test for symbolp, etc. + - Fix up doc strings to refer to PROPERTY, not PROPNAME. -1998-06-29 Kyle Jones + * extents.c: Reorder code to remove declarations. - * eval.c (run_hook_with_args_in_buffer): Don't treat - the default value of a buffer local hook as a list of - hooks unless it is both a cons and the car of that cons - is not Qlambda. + * frame.h (store_in_alist): Remove useless declaration. -1998-06-29 SL Baur +2000-02-07 Martin Buchholz - * extents.c: Email address for Ben Wing is ben@xemacs.org. - * process-unix.c: Ditto. - * mule-coding.h: Ditto. - * mule-coding.c: Ditto. - * mule-charset.c: Ditto. - * mule-charset.h: Ditto. - * file-coding.c: Ditto. - * file-coding.h: Ditto. + * event-Xt.c (x_has_keysym): Use XConvertCase only if available. + * config.h.in: Add HAVE_XCONVERTCASE. -1998-06-22 Jonathan Harris +2000-02-07 Andy Piper - * event-msw.c: Guard against recursion when freeing - FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing. + * glyphs.c (image_instance_layout): undo 2000-01-29 change since + it breaks many things. - * frame-msw.c: Don't set WS_VISIBLE attribute on first frame. - Call ShowWindow twice in init_frame_3 to get round runemacs - weirdness. +2000-02-07 Jan Vroonhof -1998-06-27 Hrvoje Niksic + * src/syntax.h (SYNTAX_START_P): Check whether the two chars + actually can start a common comment type. + * src/syntax.h (SYNTAX_END_P): ditto for end. - * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. +2000-02-07 Martin Buchholz - * winslots.h: Rename. + * XEmacs 21.2.28 is released. - * window.c (specifier_vars_of_window): Renamed - vertical-divider-draggable-p to vertical-divider-always-visible-p, - as suggested by Ben Wing. - (specifier_vars_of_window): Fix docstrings. +2000-02-06 Martin Buchholz -1998-06-22 Michael Sperber [Mr. Preprocessor] + * event-Xt.c (x_keysym_to_character): New. + (maybe_define_x_key_as_self_inserting_character): New. + (x_has_keysym): New. + Auto-define all keys on the keyboard as self-insert-key. - * unexaix.c: Line number information works correctly again. +2000-02-02 Martin Buchholz -1998-06-22 Olivier Galibert + * menubar.c (vars_of_menubar): A small code simplification. - * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry. + * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug -1998-06-21 Martin Buchholz + * ExternalShell.c: + * ExternalClient.c: + * EmacsShell-sub.c: + * EmacsManager.c: + * EmacsFrame.c: + Use consistent style for specifying X resources. - * editfns.c (get_home_directory): ANSIfy. - XEmacs is compilable under C *and* C++. - It's XEmacs, not Xemacs! + * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC. + This makes (dontusethis-set-symbol-value-handler) actually usable. -1998-06-19 Jonathan Harris + * lrecord.h (lrecord_decription_type): + * alloc.c (pdump_register_sub): + (pdump_dump_data): + (pdump_reloc_one): + Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects. + Comply with XEmacs coding style. + All lrecord descriptions updated to use XD_LISP_OBJECT with 2 + args, and XD_LISP_OBJECT_ARRAY with 3 args. - * console-msw.h: added a list of fonts to device data. + * keymap.c (Faccessible_keymaps): + Make (accessible-keymaps map "\C-h") do the Right Thing. + Make (accessible-keymaps map []) do the Right Thing. + Make (accessible-keymaps map "") do the Right Thing. + (check_keymap_definition_loop): New function. + (keymap_store_internal): Keep luser from shooting self in foot, + via (define-key ctl-x-4-map "p" global-map). + Remove fullness slot from struct Lisp_Keymap, since hash tables + are now reliable. + (print_keymap): Remove 'Yuck' factor by simply printing "size %d". - * device-msw.c: enumerate list of available fonts in - mswindows_init_device. Free list in mswindows_delete_device. +2000-01-30 Martin Buchholz - * objects-msw.c: Added helper function match_font used by - mswindows_initialize_font_instance and mswindows_list_fonts. - Allow a charset to be specified in a font string, even if - previous fields havn't been specified. + * redisplay.c (init_redisplay): Fix small memory leak. + * elhash.h: + * elhash.c (pdump_reorganize_hash_table): + Rename from reorganize_hash_table. Change prototype. + Reuse the original memory for hentries. Save 100k. + * alloc.c (PDUMP_READ): new macro. + * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros. + * alloc.c: No need to #ifndef before #undef. -1998-06-23 Greg Klanderman + * print.c: Allow debug_print() to print readably by modifying + debug_print_readably. Use consistent variable names. - * indent.c (column_at_point): column cache bugfix. - Set last_known_column_point to the buffer position for - which the column was requested, not buffer's point. + * .dbxrc: Try to get things to work even if stopped in a function + without source available by explicitly specifying source files. +2000-02-03 Kirill 'Big K' Katsnelson - * redisplay.c (decode_mode_spec): for current-column, show - window's point's column, not buffer's point's column. + * unexnt.c (_start): Removed bogus code which caused loading heap + from differrent executable file. + Removed bogus assignment to _fmode, which caused inconsistencies. -1998-06-23 Andy Piper +2000-02-03 Kirill 'Big K' Katsnelson - * menubar-msw.c (mswindows_handle_wm_command): use - enqueue_misc_user event rather than - mswindows_enqueue_msic_user_event to fix customize problems. Add some - checks that X does. + * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage. + Have spawnve encapsulation regard DONT_ENCAPSULATE. + Do not preliminary `#define signal sigset'. - * console-msw.h: declare mswindows_enqueue_magic_event. + * systime.h: Do not prototype environ on windows nt and cygwin, + this conflicts with system header. - * event-msw.c (mswindows_enqueue_magic_event): make global. + * syssignal.h: Use correct define for WINDOWSNT -1998-06-24 Hrvoje Niksic + * sysdep.h: Do not prototype environ on windows nt, this conflicts + with system header. - * line-number.c (LINE_NUMBER_FAR): Reverted to 16384. - (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS. - (add_position_to_cache): Use EMACS_INT instead of int. + * sysdep.c (near start of file): Fixed commentary and rearranged + ifdefs in readable order. + (NEED_STARTS): Do not force NEED_STARTS when PDUMPing. + (start_of_text): + (end_of_text): + (end_of_data): Do not compile in if using PDUMP. -1998-06-21 Olivier Galibert + * symsinit.h: Protptyped vars_of_nt(). - * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something - suitable for an int used as a boolean (btw, C sucks.). + * ntproc.c (windows9x_p): Added, instead of os_subtype. + (find_child_console): Use it. + (sys_kill): Use it. -1998-06-18 Andy Piper + * ntheap.h: Do not extern os_subtype. - * object-msw.c: remove warnings. + * ntheap.c (cache_system_info): Do not cache unneeded: + nt_major_version, nt_minor_version and os_subtype. + (recreate_heap): Do not compile in when PDUMPing. - * device-msw.c: #define wrongly named cygwin structure elements. + * nt.c (geteuid and friends): Use the new varibale + nt_fake_unix_uid, instead of hashing fake uid out of NT RID. + (init_user_info): Removed the above mentioned hackery. + (fstat, stat): Do not compile in if using MSVC 5.0 and above - + stat has been fixed in the C runtime. + (vars_of_nt): Added, defined the nt_fake_unix_uid variable there. - * s/cygwin32.h: define DEMI_BOLD + * file-coding.c (struct file_coding_dump): Do not define + ucs_to_mule_table in the struct if not MULE. + (struct struct lrecord_description fcd_description_1): Do not dump + the above. -1998-06-19 Jonathan Harris + * emacs.c (main_1): Call vars_of_nt(). + (right before Fdump_emacs_data): Don't need lastfile if using both + portabe dumper and system malloc. - * redisplay-msw.c: new function mswindows_apply_face_effects. - This is called by output_string and output_cursor to display - underline and strikeout on faces. + * alloc.c (Fmemory_limit): Conditionalized out. + (pdump): Use OPEN_BINARY for the portable dump file. + (pdump_load): Ditto. -1998-06-19 Jonathan Harris +2000-02-02 Mike Alexander - * console-msw.h: added a list of fonts to device data. + * nt.c (convert_time): Set tm_isdst before calling mktime and + avoid calling it at all if the compiler supports 64 bit integers. + Also initialize utc_base_ft before using it. - * device-msw.c: enumerate list of available fonts in - mswindows_init_device. Free list in mswindows_delete_device. +2000-02-03 Daiki Ueno - * objects-msw.c: Added helper function match_font used by - mswindows_initialize_font_instance and mswindows_list_fonts. - Allow a charset to be specified in a font string, even if - previous fields havn't been specified. + * frame.c (change_frame_size_1): Take f->internal_border_width + into consideration when calculating the width of the frame. -1998-06-15 Jonathan Harris +2000-02-01 Kirill 'Big K' Katsnelson - * objects-msw.c: - Removed compilation warnings from mswindows_string_to_color. - mswindows_list_fonts returns a more general bogus font. - New lisp-visible function mswindows-color-list. + * window.c (frame_min_height): + (frame_size_valid_p): + (frame_pixsize_valid_p): Added. + (check_frame_size): Generalized. -1998-06-19 David Bush + * window.h: Prototyped the above. - * editfns.c (Fuser_login_name): Modify to user new function - user_login_name. - (user_login_name): C only function to avoid Lisp object overhead - Returns "unknown" instead of nil in Cygwin environment + * lisp.h: + * general.c: Added Qbottom_margin, Qduplex, Qlandscape, + Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin. + Deleted Vwin32_* and Vbinary_process_* unused variables. - * fileio.c (Fexpand_file_name): Treat "~" and "~user" as - equivalent for current user in Cygwin environment. Use new - function user_login_name to get username. + * device-msw.c (msprinter_init_device): Do not get printer font + list; Added DEVMODE functions. - * lisp.h: Declare user_login_name + * frame-msw.c: Added lots of printer code. -1998-06-18 Michael Sperber [Mr. Preprocessor] + * faces.c: Moved 'left-margin and 'right-margin defsymbols to + general.c. - * unexaix.c (make_hdr): Fixed bias computations so debugging info - works again. - Some other insignificant nitpicks. + * console-msw.h: Added more msprinter device private slots. -1998-06-18 Andy Piper +2000-02-01 Kirill 'Big K' Katsnelson - * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when - creating the image list and make sure he bk color is transparent. + * event-msw.c (key_needs_default_processing_p): Added. + (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it. -1998-06-18 Jan Vroonhof +2000-01-29 Kirill 'Big K' Katsnelson - * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from - completed_timeouts. The timer could have expired. + * glyphs.c (image_instance_layout): Mark image instance as clean + after layout. + (glyph_dirty_p): Removed redundant function. + (invalidate_glyph_geometry_maybe): Added. + (update_glyph_cachel_data): Call it. -1998-06-17 Andy Piper + * glyphs.h: Prototyped it. - * console-msw.h: move XEMACS_RECT_WH inside frame - parameters. define macors to access it. + * redisplay.c (add_glyph_rune): Call it. + (redisplay_window): Reset glyphs cachels when frame faces has + changed, thus forcing recomputation of built-in border glyphs. - * frame-msw.c (mswindows_init_frame_1): use new target_rect - parameter to intialise desired sizing. (mswindows_init_frame_2): - enable and size the frame to something sensible when we get - here. (mswindows_set_frame_properites): use new - mswindows_size_frame_internal function and size frame if frame - parameters not just if init is finished - WM_SIZE happens too - early for some specs. (mswindows_size_frame_internal): new - function abstracted from mswindows_set_frame_properties. - (Vmswindows_use_system_frame_size_defaults): - new variable controls whether to allow the system to pick frame - size defaults, defaults to nil. +2000-01-30 Martin Buchholz - * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather - than duplicated code. + * Makefile.in.in: Make portable dumper and purify play well together. + Add imperfect, but better than nothing, support for pdump. + Remove xemacs.dmp when temacs is re-generated. + Don't ignore errors when dumping xemacs. -1998-06-15 Colin Rafferty + * symbols.c (maybe_call_magic_handler): Remove one magic number. - * Makefile.in.in: Made EXTW_LINK expand properly. +2000-01-28 Andy Piper -1998-06-12 Martin Buchholz + * frame.c (allocate_frame_core): Use new Fset_window_buffer signature. + (setup_normal_frame): ditto. + (setup_frame_without_minibuffer): ditto. + (setup_minibuffer_frame): ditto. + (delete_frame_internal): ditto. + (Fmake_frame_invisible): ditto. + (Ficonify_frame): ditto. - * redisplay.c (vars_of_redisplay): default value of - column-number-start-at-one should be NIL! + * window.h: change Fset_window_buffer signature. -1998-06-11 Martin Buchholz + * window.c (Fsplit_window): Use new Fset_window_buffer signature. + (Fset_window_buffer): allow recording of buffer if the window is + the selected window. + (window_loop): Use new Fset_window signature. - * casefiddle.c: - (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" +2000-01-23 Daniel Pittman -1998-06-05 Hrvoje Niksic + * config.h.in: Added template for `HAVE_ATHENA_3D' - * eldap.c (Fldap_search_internal): Use build_ext_string instead of - build_string to avoid crashes under Mule. +2000-01-29 Andy Piper -1998-06-13 Andy Piper + * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes. - * ntplay.c (play_sound_data_1): don't delete the sound data until - the next sound is played and the previous one finished. + * gutter.c (output_gutter): Don't output if the window isn't live. -1998-06-10 Samuel Mikes +2000-01-28 Kirill 'Big K' Katsnelson - * fileio.c (directory-sep-char): Escape backslashes. + * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch + of 01/12/00: Moved SetFocus back here where it belongs. -1998-06-10 Hrvoje Niksic +2000-01-23 Andy Piper - * event-stream.c: Fix docstring reference. + * s/cygwin32.h: declare printer things. -1998-06-12 Hrvoje Niksic +2000-01-26 Andy Piper - * alloc.c (make_float): Remove useless initialization of `next' - field. - (make_pure_float): Ditto. + * select.c (Fown_selection_internal): GCPRO bug fix from Mike + Alexander. - * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. +2000-01-24 Andy Piper -1998-06-08 Kirill M. Katsnelson + * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename. + (mswindows_button_instantiate): Make sure glyph is a pixmap. - * fileio.c (Fmake_directory_internal): Remove conditionals - on WINDOWSNT when calling mkdir. + * glyphs-widget.c (widget_instantiate): Avoid shadows. - * ntproc.c: Deleted the following unused functions: - register_child, reap_subprocess, sys_wait. + * frame-msw.c (msprinter_init_frame_3): Nuke warning. - * nt.c (sys_rename): Ifzeroed this implementation. - Deleted the following unused functions: - sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir, - sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2, - sys_read, sys_write. - Merger sys_fopen and sys_open with sysdep.c implementation. + * glyphs-msw.c: (mswindows_string_to_color): remove declaration. - * sysdep.c: Removed MS-DOS code. - (sys_rename): Deal with Microsoft rename weirdness. - (sys_open): Implemented for Windows. - (sys_fopen): Ditto. - (sys_mkdir): Ditto. + * redisplay-msw.c (mswindows_output_cursor): Avoid shadows. + (mswindows_output_display_block): Avoid local shadows. -1998-06-08 Kirill M. Katsnelson + * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows. + (mswindows_enqueue_mouse_button_event): ditto. + (mswindows_handle_gui_wm_command): remove declaration. - * buffer.c (complex_vars_of_buffer): Removed %t description from - the docstring. + * console-msw.c (mswindows_canonicalize_console_connection): Avoid + warnings. -1998-06-04 Rick Rankin + * console-msw.h: Avoid shadows. + (mswindows_get_toolbar_button_text): + (emacs_mswindows_create_stream_pair): + (emacs_mswindows_delete_stream_pair): + (mswindows_handle_toolbar_wm_command): declare. - * scrollbar-msw.c: initialize the cbSize element of the - SCROLLINFO struct before calling SetScrollInfo. WinNT seems - to ignore the value of cbSize, but Win95 (and I presume Win98) - appear to want it set to sizeof(SCROLLINFO). + * device-msw.c (build_syscolor_string): Avoid shadows. -1998-06-04 Kirill M. Katsnelson +2000-01-23 Andy Piper - * event-stream.c: Defined Qcancel_mode_internal. - (syms_of_event_stream): defsymbol'ed it. + * glyphs-widget.c (widget_instantiate): reverse the items for + layouts so that children are in the expected order. - * events.h: Externed it. +2000-01-28 Martin Buchholz - * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler. + * ralloc.c: safe_bcopy ==> memmove + * gmalloc.c: Remove MEMMOVE_MISSING conditional code. + * s/msdos.h: Remove BCOPY macros. + * insdel.c (gap_right): Remove BCOPY conditional code. + * insdel.c (gap_left): Remove BCOPY conditional code. + XEmacs demands a working ANSI C compiler - hence memmove. -1998-06-04 Oliver Graf + * regex.c (regex_compile): Remove accidental use of trigraphs. - * frame-x.c (x_cde_destroy_callback): free the data - (cde-start-drag-internal) corrected root position, 21.1 needs this - hardcoded in Button events - (offix-start-drag-internal) corrected root position +2000-01-27 Kirill 'Big K' Katsnelson -1998-06-03 Kirill M. Katsnelson + * event-msw.c (mswindows_enqueue_misc_user_event): Initialize + event timestamp. - * process-nt.c (signal_cannot_launch): Use signal_simple_error() - instead of error(). +2000-01-26 Kirill 'Big K' Katsnelson -1998-06-03 Kirill M. Katsnelson + * event-msw.c (mswindows_drain_windows_queue): Added the + parameter. + (mswindows_need_event): Commented the call to + mswindows_drain_windows_queue(). + (emacs_mswindows_quit_p): Lookup the windows for keyboard messages + only. - * dialog-msw.c (button_width): Removed `inline' from the function + * console-msw.h: Moved a few function prototypes here from + event-msw.c. + + * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID + parameter from unsigned short to unsigned long. + (Fmswindows_shell_execute): Added return value. + +2000-01-27 URA Hiroshi + + * sysdep.c (init_system_name): + process-unix.c (unix_canonicalized_host_name): + Don't call freeaddrinfo() if getaddrinfo() fails. + + * process-unix.c (unix_open_unix_network_stream): + Moved the code to get a port # into address loop. + +2000-01-27 Martin Buchholz + + * buffer.c (reinit_vars_of_buffer): + The right place to initialize conversion_in_dynarr and + conversion_out_dynarr. + + * alloc.c (pdump): Use the real open() till sys_open() is functional. + + * process-unix.c (unix_canonicalize_host_name): Muleize. + (unix_open_network_stream): Muleize. + + * buffer.h: Fix up prototypes for ralloc.c functions. + +2000-01-27 URA Hiroshi + * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO + * sysdep.c: In init_system_name(), add code to use getaddrinfo() + instead of gethostbyname() + * process-unix.c: In unix_canonicalize_host_name() and + unix_open_network_stream(), add code to use getaddrinfo() + instead of gethostbyname(). + +2000-01-27 Daniel Pittman + + * device-x.c (x_init_device): Warn at run-time if using Athena 3d + libs when built with flat Athena. + +2000-01-27 Martin Buchholz + + * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t. + Use coding standards for function prototypes. + +2000-01-25 Martin Buchholz + + * dialog-msw.c (push_lisp_string_as_unicode): + * doc.c (unparesseuxify_doc_string): + * dired.c (Fuser_name_completion_1): + * dired.c (Fuser_name_all_completions): + * dired.c (free_user_cache): + * dired.c (user_name_completion): + * console-x.c (get_display_arg_connection): + * minibuf.c (clear_echo_area_internal): + * minibuf.c (echo_area_append): + * eldap.c (Fldap_open): + * eldap.c (Fldap_search_internal): + * frame-x.c (x_set_frame_text_value): + * frame-x.c (x_set_frame_properties): + * frame-x.c (x_create_widgets): + * redisplay-tty.c (term_get_fkeys_1): + * objects-x.c (x_parse_nearest_color): + * objects-x.c (x_valid_color_name_p): + * objects-x.c (x_initialize_font_instance): + * objects-x.c (x_list_fonts): + * objects-x.c (x_find_charset_font): + * tooltalk.c (Fadd_tooltalk_message_arg): + * tooltalk.c (Fadd_tooltalk_pattern_attribute): + * tooltalk.c (Fadd_tooltalk_pattern_arg): + * process-unix.c (unix_create_process): + * ntproc.c (sys_spawnve): + * sound.c (Fplay_sound_file): + * sound.c (Fplay_sound): + * buffer.c (init_initial_directory): + * buffer.c (init_buffer): + * editfns.c (init_editfns): + * editfns.c (Ftemp_directory): + * editfns.c (Fuser_full_name): + * editfns.c (uncache_home_directory): + * editfns.c (get_home_directory): + * editfns.c (Fuser_home_directory): + * editfns.c (Fformat_time_string): + * editfns.c (Fcurrent_time_string): + * gui-x.c (button_item_to_widget_value): + * database.c (Fopen_database): + * event-Xt.c (x_to_emacs_keysym): + * event-Xt.c (x_event_to_emacs_event): + * event-Xt.c (describe_event_window): + * event-msw.c (mswindows_wnd_proc): + * glyphs-eimage.c (jpeg_instantiate): + * glyphs-eimage.c (gif_instantiate): + * glyphs-eimage.c (png_instantiate): + * glyphs-eimage.c (tiff_instantiate): + * 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_widget_instantiate): + * glyphs-x.c (x_widget_set_property): + * glyphs-x.c (x_widget_property): + * glyphs-x.c (BUILD_GLYPH_INST): + * print.c (write_string_to_stdio_stream): + * print.c (output_string): + * print.c (Falternate_debugging_output): + * print.c (Fexternal_debugging_output): + * glyphs-msw.c (extract_xpm_color_names): + * glyphs-msw.c (mswindows_xpm_instantiate): + * glyphs-msw.c (bmp_instantiate): + * glyphs-msw.c (resource_name_to_resource): + * glyphs-msw.c (mswindows_resource_instantiate): + * glyphs-msw.c (xbm_instantiate_1): + * glyphs-msw.c (mswindows_xbm_instantiate): + * glyphs-msw.c (mswindows_xface_instantiate): + * glyphs-msw.c (mswindows_widget_instantiate): + * glyphs-msw.c (add_tree_item): + * glyphs-msw.c (add_tab_item): + * glyphs-msw.c (mswindows_combo_box_instantiate): + * glyphs-msw.c (mswindows_widget_property): + * glyphs-msw.c (mswindows_combo_box_property): + * glyphs-msw.c (mswindows_widget_set_property): + * console.c (stuff_buffered_input): + * objects-msw.c (mswindows_initialize_color_instance): + * objects-msw.c (mswindows_valid_color_name_p): + * objects-msw.c (mswindows_list_fonts): + * objects-msw.c (mswindows_font_instance_truename): + * bytecode.c (optimize_compiled_function): + * select-x.c (symbol_to_x_atom): + * select-x.c (x_atom_to_symbol): + * select-x.c (hack_motif_clipboard_selection): + * select-x.c (selection_data_to_lisp_data): + * select-x.c (lisp_data_to_selection_data): + * select-x.c (Fx_get_cutbuffer_internal): + * select-x.c (Fx_store_cutbuffer_internal): + * buffer.h (TO_EXTERNAL_FORMAT): New function. + * buffer.h (TO_INTERNAL_FORMAT): New function. + * emacs.c (make_arg_list_1): + * emacs.c (make_argc_argv): + * emacs.c (main_1): + * emacs.c (Fdump_emacs): + * emacs.c (split_string_by_emchar_1): + * file-coding.h: + * lisp.h: + * lstream.h: + * symsinit.h: + * device-x.c (x_init_device): + * device-x.c (Fx_valid_keysym_name_p): + * device-x.c (Fx_get_font_path): + * device-x.c (Fx_set_font_path): + * glyphs.c (bitmap_to_lisp_data): + * glyphs.c (pixmap_to_lisp_data): + * alloc.c (make_ext_string): Use coding system arguments. Update + all callers. + * alloc.c (build_string): + * callproc.c (child_setup): + * callproc.c (init_callproc): + * fileio.c (lisp_strerror): + * fileio.c (directory_file_name): + * fileio.c (Fexpand_file_name): + * fileio.c (Ffile_truename): + * fileio.c (Fsysnetunam): + * fileio.c (Fdo_auto_save): + * sysdep.c (sys_readdir): + * tests.c: New file. Allow adding C tests. + Replace GET_* macros with a more comprehensible and flexible + interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT(). + Modify all calls. + Any coding system can be used to do format conversion. + Eliminate enum external_data_format. + Eliminate convert_to_external_format. + Eliminate convert_to_internal_format. + Make sure file-name, keyboard, terminal, and ctext are always + defined as coding systems or aliases. Make + file-name-coding-system, terminal-coding-system, and + keyboard-coding-system magical variables that are equivalent to + defining the corresponding coding system aliases. + + * file-coding.c (Fcoding_system_canonical_name_p): New function. + * file-coding.c (Fcoding_system_alias_p): New function. + * file-coding.c (Fcoding_system_aliasee): New function. + * file-coding.c (append_suffix_to_symbol): New function. + * file-coding.c (dangling_coding_system_alias_p): New function. + * file-coding.c (Ffind_coding_system): + * file-coding.c (Fcopy_coding_system): + * file-coding.c (encode_coding_no_conversion): + * file-coding.c (syms_of_file_coding): + * file-coding.c (vars_of_file_coding): + Rewrite coding system alias code. + Allow nested aliases, like symbolic links. + Allow redefinition of coding system aliases. + Prevent existence of dangling coding system aliases. + + * dired.c (Fuser_name_completion_1): + * dired.c (Fuser_name_all_completions): + A crash would happen if user did QUIT in the middle of building + user_name_cache. Remove redundant code in mainline and unwind_protect. + + * lisp.h: + * dynarr.c (Dynarr_min_size): Make static. Increase value to 8. + + * lstream.c (make_fixed_buffer_input_stream): Take a void *, not + an unsigned char *. Update all callers. + +2000-01-26 Kirill 'Big K' Katsnelson + + * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output. + +2000-01-25 Martin Buchholz + + * elhash.c (hentry_description): Use more portable definition. + (resize_hash_table): Initialize new hentries using + xnew_array_and_zero, thereby simplifying the code. + + * mule-charset.c (make_charset): Make sure entire object is + intialized, to avoid Purify warnings. + + * alloc.c (resize_string): Fix unlikely crash with big strings. + +2000-01-24 Martin Buchholz + + * realpath.c (xrealpath): + Don't call getwd(). + +2000-01-25 Martin Buchholz + + * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors. + +1999-12-28 Max Matveev + + * unexelfsgi.c (unexec): Change the way we decide which segment + should be extended. + + Assumption that .bss section should be outside the PT_LOADable + segment. On IRIX with version 6.2 and above, .bss (or .sbss, if + it's present) is inside the 'data' segment. This would fail the + test which was used to find a segment to grow and cover new + heap. Instead of this assumption, I created another one - on IRIX + the segment to grow should start below .bss and it's address + should extent above the end of .bss. Once this segment is + identified, it's grown to accommodate the new heap and new + zero-length .bss section is added at the end of .data2. + +2000-01-25 Martin Buchholz + + * eval.c (Feval): Wrong number of arguments should use original + function, not the indirect_function version of it. + +2000-01-24 Yoshiki Hayashi + + * glyphs-x.c (x_button_instantiate): Don't add image if + it is not a pixmap. + (x_locate_pixmap_file): Call Fexpand_file_name when file name + is relative. + +2000-01-21 Yoshiki Hayashi + + * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro declaration. + (DEFVAR_INT_MAGIC): Ditto. + (DEFVAR_BOOL_MAGIC): Ditto. + * glyphs.h: Reindent backslash. -1998-06-03 Rick Rankin - - * frame-msw.c: add WS_VISIBLE flag to the first frame created. - Note that adding this flag to subsequent frames causes problems. - -1998-06-03 Gunnar Evermann - - * glyphs-eimage.c (png_instantiate) move 'struct - png_memory_storage tbr' out of nested block to avoid dangling - reference - -1998-06-02 Andy Piper - - * faces.h: - * faces.c: rename 3d-object -> gui-element. add toolbar face which - inherits from gui-element. +2000-01-24 Martin Buchholz - * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent - with existing code, generate masks correctly. + * glyphs-widget.c (layout_query_geometry): + (layout_layout): Use correct types for gheight, gwidth. -1998-06-03 P. E. Jareth Hein +2000-01-24 Martin Buchholz - * glyphs-eimage.c: Changed included header for gifs to use - Gifreader instead of giflib. + * EmacsManager.c (QueryGeometry): Purified. - * glyphs-x.c: removed the image-related functions that were - moved into glyphs-eimage. +2000-01-23 Martin Buchholz -1998-06-02 David Bush + * alloc.c (make_float): Make sure entire object is intialized, to + avoid Purify warnings. + (pdump_register_sub): Remove useless assignment. + (pdump): Use xmalloc, not malloc. + (pdump_load): Use xmalloc, not malloc. - * glyphs.c (bitmap_to_lisp_data) Define XFree to be free - if built without X Windows support. +2000-01-23 Kirill 'Big K' Katsnelson -1998-06-02 Hrvoje Niksic - - * fns.c (Fconcat): Synch docstring with new reality. - -1998-06-03 SL Baur - - * frame.c: Remove reference to msdos.h (which is going away). - Suggested by Hrvoje Niksic and Kirill Katsnelson. - -1998-06-02 P. E. Jareth Hein - - * glyphs-eimage.c (jpeg_instantiate): Fix handling of - grayscale images/ - - -1998-05-30 Kirill M. Katsnelson - - * events.h: Fixed commentary about misc-user scrollbar events. - - * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame - object as an event channel, instead of window object. - (x_update_horizontal_scrollbar_callback): Ditto. - -1998-05-29 Andy Piper - - * ntplay.c (play_sound_data_1) new function. convert alloca data - to malloc if necessary. - (play_sound_file): if the file is not in our path then convert to - data and play. - -1998-06-01 SL Baur - - * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy. - * msdos.c (Frecent_doskeys): Ditto. - - * unexalpha.c (unexec): Reverse parameters in call to memcpy. - Suggested by Reggie Perry - - * buffer.h: Eliminate size in declaration. - -1998-06-01 Olivier Galibert - - * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge. - -1998-06-01 Kirill M. Katsnelson - - * gui.c (gui_item_init): Changed the default value for config member - from Qunbound to Qnil. - -1998-06-01 Greg Klanderman - - * indent.c (vmotion_pixels): Don't #define abs(). - -1998-05-30 Kirill M. Katsnelson - - * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose - respectively. - -1998-05-30 Andy Piper - - * glyphs.h: add xbm declarations. - - * console.h: add xbm_instantiate_method device method. - - * glyphs.c (check_valid_xbm_inline) (xbm_validate) - (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize) - (xbm_possible_dest_types): moved here from glyphs-x.c. use - locate_pixmap_file device method and read_bitmap_data_from_file - instead of XmuReadBitmapDataFromFile. - (xbm_instatntiate): make a device method. - - * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file) - new function that just calls XmuReadBitmapDataFromFile. - (x_xbm_instatntiate): device method from xbm_instantiate. - - * glyphs-msw.c (read_bitmap_data) (NextInt) - (read_bitmap_data_from_file): new functions copied from Xmu - sources. - (xbm_create_bitmap_from_data) from Ben convert - inline data to an mswindows bitmap. - (init_image_instance_from_xbm_inline) (xbm_instantiate_1) - (mswindows_xbm_instantiate): mswindows-ized versions of the X + * callproc.c: + * dired-msw.c: + * fileio.c: + * process-nt.c: + * redisplay-msw.c: + * sysdep.c: Removed redundant #include + +2000-01-22 Kirill 'Big K' Katsnelson + + * frame.c (delete_frame_internal): Do not delete device when its + implementation so declares. + (delete_frame_internal): Set device selected frame to nil when + last frame goes away. + + * device-msw.c (msprinter_device_system_metrics): Implemented. + (mswindows_device_system_metrics): Added 'device-dpi property. + + * device.c: (Fdevice_printer_p): Added. + Added 'offset-workspace device metric. + + * console.h (device_metrics): Declared DM_offset_workspace. + +2000-01-23 Martin Buchholz + + * fileio.c (Ffile_truename): Remove pointless and confusing + initialization of elen. + + * glyphs-widget.c: Compiler warning fixes. + +2000-01-23 Gunnar Evermann + + * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process + instead of a Lisp_Object as argument to make it consistent with + the other LIVE_P macros. + (CHECK_LIVE_PROCESS): New macro. + + * process.c: Declare Qprocess_live_p. + (Fprocess_live_p): New function. + (create_process): Use PROCESS_LIVE_P. + (read_process_output): Ditto. + (set_process_filter): Ditto. + (Fdelete_process): Ditto. + (kill_buffer_processes): Ditto + (process_send_signal): Use CHECK_LIVE_PROCESS. + (Fprocess_input_coding_system): Check whether process is still + alive (fix PR#1061). + (Fprocess_output_coding_system): Ditto. + (Fprocess_coding_system): Ditto. + (Fset_process_input_coding_system): Ditto. + (Fset_process_output_coding_system): Ditto. + +2000-01-23 Andy Piper + + * glyphs.h (struct Lisp_Image_Instance): change format by unifying + layout and widget. + + * glyphs.c (mark_image_instance): take into account changed + image_instance format. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + + * glyphs-widget.c (widget_instantiate): Incorporate layout + instantiation here. Delay layout of the layout until later. + (layout_instantiate): deleted. + (layout_query_geometry): new function. get the geometry of a + layout. + (layout_layout): layout a layout dynamically. + (image_instantiator_widget): New function - splitting up + image_instantiator_format_create_glyphs_widget for netwinder + compilation. + (image_instantiator_buttons): + (image_instantiator_edit_fields): + (image_instantiator_combo_box): + (image_instantiator_scrollbar): + (image_instantiator_progress_guage): + (image_instantiator_tree_view): + (image_instantiator_tab_control): + (image_instantiator_labels): + (image_instantiator_layout): ditto. + (image_instantiator_format_create_glyphs_widget): Call preceeding functions. -1998-05-30 Kirill M. Katsnelson - - * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to - `modeline-visible-p'. - Declared specifier lisp variables at the beginning oh the file - as static. - - * procimpl.h (struct process_methods): Changed semantics of - create_process method so it accepts lisp strings instead of - char pointers. - - * process.c (Fstart_process_internal): Moved building of - unix style argv from here to process-unix.c, ... - - * process-unix.c (unix_create_process): ... right here. - - * process-nt.c (nt_create_process): Changed this function to - support new semantics, so avoided a GC problem. - - * events.c (Fmake_event): Document misc-user events properties. - (Fmake_event): Do not allow arbitrary objects for channel property - of misc-user events. - (Fmake_event): Change misc-user event validation: it is function - which is required, not button. - - * event-msw.c (mswindows_user_event_p): Recognize misc user events as - user events. - (mswindows_enqueue_misc_user_event): Added function. - (mswindows_bump_queue): Removed function. - (mswindows_enqueue_magic_event): Support NULL HWND parameter. - (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event(). - (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto. - (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing - really nothing, which is my personal favorite thing. - - * console-msw.h: Removed prototype for mswindows_bump_queue(). - Added prototype for mswindows_enqueue_misc_user_event(). - - * menubar-msw.c (mswindows_handle_wm_command): Use - mswindows_enqueue_misc_user_event(). - - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. - - * dialog-msw.c (dialog_proc): Ditto. - - * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto. - (mswindows_handle_scrollbar_event): Use frame, not window, for misc - user events channel. - -1998-05-29 Greg Klanderman - - * window.c (Fwindow_displayed_text_pixel_height): was relying on - incorrect semantics of vmotion_pixels which has been fixed. don't - use it anymore as it can't easily be used. - - * indent.c (vmotion_pixels): fix off by one bug moving up. also - the motion was reported incorrectly if you tried to go past end of - buffer. - -1998-05-30 Kirill M. Katsnelson - - * toolbar.h: Removed misleading commentary, as Martin suggested. - -1998-05-30 Kirill M. Katsnelson - - * lisp.h: Extern Qactivate_menubar_hook. - - * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to - run_hook (). - -1998-05-29 Andy Piper - - * glyphs-msw.c: use BPLINE macro. - - * select-msw.c (mswindows-selection-exists-p) - (mswindows-delete-selection): doc string fixes. - - * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons - unpressable. warning elimination. - -1998-05-28 Martin Buchholz - - * alloc.c (dbg_constants): - * dbxrc: - * gdbinit: - Remove toolbar_data debugging code, since that lrecord has - also been removed. - -Wed May 27, 1998 Darryl Okahata - - * alloc.c: zap cached value of (user-home-directory), so that - it's not undumped. +2000-01-22 Martin Buchholz - * buffer.c: From init_buffer(), separated out code that - determined the initial directory for the *scratch* buffer, and - put them into a function called "init_initial_directory()". - The initial directory is now available as a global "char *" - called initial_directory. + * process.c (Fset_process_coding_system): + * device-x.c (Fx_keysym_hash_table): + Docstring fixes. - * buffer.h: Added extern entries for initial_directory[] and - init_initial_directory(). + * lstream.c (Lstream_write): Return documented value, not 0. - * editfns.c: added new elisp function "user-home-directory", - which basically returns getenv("HOME"), but attempts to use - other values if $HOME isn't set.This may have to be tweaked in - the future as, under Unix, "/" is used if $HOME isn't set (this - probably should be set to the current directory). To support - this, a new C function, "get_home_directory()", now exists, - which returns the "home directory", as a "char *" string. - - * emacs.c: Rearrange NT initialization order so that - environment/registry variables will be properly entered into - Vprocess_enviroment. - - * fileio.c: replaced egetenv("HOME") with calls to the new - get_home_directory(). - - * lisp.h: Added function prototypes for uncache_home_directory() - and get_home_directory(), along with lisp prototypes for - Fuser_home_directory() and friends. - - * nt.c: replaced getenv("HOME") with calls to the new - get_home_directory(). - - * sysfile.h: for WINDOWSNT, #include , to suppress - warnings about getcwd(), etc. not having prototypes. - -1998-05-28 Kirill M. Katsnelson - - * process-nt.c (send_signal): Emulate SIGHUP. - (validate_signal_number): Ditto. - - * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally - remove MOD_SHIFT from ASCII characters. - (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when - F10 is pressed. - -1998-05-24 Oliver Graf - - * frame-x.c (cde-start-drag-internal): added filename and multi- - data transfers - (x_cde_convert_callback) dito - -1998-05-26 Oliver Graf - - * frame-x.c: include event-mod.h also with CDE - (x_cde_convert_callback) made the thing working - (cde-start-drag-internal) also debugging - -1998-05-25 Hans Guenter Weigand - - * m/sparc.h: + * fileio.c (directory_file_name): + (Fsubstitute_in_file_name): + (Fsubstitute_insert_file_contents_internal): + (Fwrite_region_internal): + * emacs.c: + * sysdep.c: * getloadavg.c: - * malloc.c: - * unexec.c: - * mem-limits.h: - - add __OpenBSD__ where __NetBSD__ was found. - - TODO: replace platform-specific conditional compilation by - feature tests in configure.in. - -1998-05-15 Greg Klanderman - - * window.c (Fwindow_displayed_text_pixel_height): New function. - (syms_of_window): DEFSUBR it. - - * indent.c (Fvertical_motion_pixels): New function - request - movement in pixels. - (vmotion_pixels): helper. - (syms_of_indent): DEFSUBR. - * lisp.h: declaration for vmotion_pixels(). - - * indent.c (Fvertical_motion): Add optional third argument PIXELS, - to request returning motion in pixels. - (Fvertical_motion_pixels): Remove, functionality merged into - Fvertical_motion. - * window.c (window_scroll): call Fvertical_motion with 3 arguments. - (Fmove_to_window_line): ditto. - * lisp.h: Change declaration for Fvertical_motion. - - * window.c: rename window-text-pixel-{height,width,edges} to - window-text-area-pixel-*. - -1998-05-26 Gunnar Evermann - - * tooltalk.c (vars_of_tooltalk) added staticpro for - Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str - -1998-05-27 Andy Piper - - * faces.c: create a new 3d_object_face, make modeline and - vertical_divider faces fallback to this rather than the default. - -1998-05-21 Andy Piper - - * s/cygwin32.h: define charsets for cygwin. - -1998-05-25 Andy Piper - - * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes - and coordinates. resize bitmaps if we have already settled on a - different size. - - * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler. - -1998-05-25 Hrvoje Niksic - - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. - - * menubar-msw.c (mswindows_handle_wm_command): Ditto. - - * gui.h: Ditto. - - * gui-x.c (popup_selection_callback): Ditto. - - * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback. - - * gui.c (get_callback): Renamed to get_gui_callback. - -1998-05-17 Martin Buchholz - - * glyphs.h: order rearrangement. - - * device-tty.c (tty_asynch_device_change): Warning suppression. - * device-x.c (x_device_system_metrics): Warning suppression. - Make Doc strings consistent with coding standards. - -1998-05-24 Martin Buchholz - - * general.c: multiple definition of `Qicon'. general.c seems - like a good home for Qicon. - -1998-05-20 Kirill M. Katsnelson - - * This patch is to fix compilation warnings under Windows. - - * s/windowsnt.h: Encapsulate getpid with sys_getpid. - Added prototypes for FSF inherited functions, with which XEmacs is - sprinkled thoroughly. - Removed some #if 0 code. Bracketed some more definitions, probably - related to Visual C versions prior to 4 (we do not support them). - - * sysfloat.h (logb): Finally, get logb() prototyped. - - * sysfile.h: Added Windows specific includes. - Removed old Windows specific code bracketed with #if 0. - - * sysdep.h: Added prototype for xrealpath(). - - * sysdep.c (sys_getpid): Added function, to support '95 negative pids. - - * symsinit.h: Added prototypes for syms_of_dired_mswindows, - vars_of_dired_mswindows and init_ntproc (Grrr). - - * realpath.c: Added Windows specific include files. - (xrealpath): Conditionalized declaration of some auto variables on - S_IFLNK, to avoid warnings. - - * ntproc.c: Disabled some compiler warnings. This file is going to - die, so I have not cleaned it up much. - (set_process_dir): Const parameter. - (Fwin32_short_file_name): Down CHECK_* macros to one argument. - (Fwin32_long_file_name): Ditto. - (Fwin32_set_process_priority): Ditto. Why didn't I remove these - three functions? - - * nt.h: Added prototypes for set_process_dir and convert_time. - - * nt.c: More include files. - (getpwnam): Consted char* argument. - (get_emacs_configuration): Const return value. - (opendir): Const argument. - (stat): Casted converstion long->short. - (stat): Removed ad hoc and questionable support for non-MSC compile. - (sys_pipe): Removed unused auto variable. - (_sys_read_ahead): Removed calls to DebPrint. - (sys_read): Ditto, in 2 places. - (term_ntproc): Added unused int parameter to signal handler, to - avoid a warning when compiling a call to signal(). - (msw_sigset): Properly return old signandler or NULL instead of void. - - * floatfns.c (Flogb): Casted arguments to unary minus to signed. - - * gmalloc.c (morecore): Ditto. - (_free_internal): Ditto. - - * lread.c (parse_integer): Ditto. - - * dired-msw.c: Added several include files. - - * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List - of Compilers to Shut Up. - - * callproc.c: Added #includes to suppress warnings under Windows. - (init_callproc): Removed #if0'ed code and unused variables. - -1998-05-25 Andy Piper - - * device-msw.c (mswindows_device_system_metrics): do planes in a - way consistent with X. - - * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't - use SetPixel, use DIBits functions. - (xpm_to_eimage): frob colors more closely like xpm deos. - - * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look - to be closer to X version. - - * event-msw.c: use tooltip string directly. - - * redisplay-msw.c: reinstate Kirill's bg pixmap change. - - * objects-msw.c: frob rgb colors that only Kyle uses. - - * dialog-msw.c (button_width): INLINE -> inline. - -1998-05-23 SL Baur - - * getloadavg.c (getloadavg): Fix typo. - -1998-05-23 Kirill M. Katsnelson - - * objects-msw.c (mswindows_initialize_font_instance): Added support - for font character sets. - Replaced 'XXX' with '####' in comments throughout the file. - -1998-05-23 Kirill M. Katsnelson - - * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and - console_type_create_dialog_mswindows(), to initialize Windows dialog - support. - - * symsinit.h: Prototyped the above functions. - - * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency - checks to dialog.c... - - * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a - device must support dialog boxes, and the descriptor must supply at - least one button. - - * dialog-msw.c: New file, dialogs for Windows. - -1998-05-21 Oscar Figueiredo - - * eldap.c (ldap_search_unwind): Return Qnil instead of nothing - (Fldap_search_internal): Removed unused variable `err' - - * eldap.h: Moved Lisp_LDAP declaration here instead of using a - forward declaration - -1998-05-17 Martin Buchholz - - * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is - defined. Therefore there is no need to handle the case when - HAVE_LDAP is undefined. Similarily, there is no reason to have - any code wrapped within `#ifdef emacs', since this code is only - useful within an emacs. This simplifies the code significantly. - - * inline.c: Include eldap.h only if HAVE_LDAP. - * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h - already does that. - -1998-05-21 Kirill M. Katsnelson - - * unexnt.c (copy_executable_and_dump_data_section): Suppress - printing dump stats when building without DEBUG_XEMACS. - (dump_bss_and_heap): Ditto. - -1998-05-21 Andy Piper - - * gnuclient.c: don't suppress window system if there is no display - and we are running under mswindows. send 'mswindows device type if - we are in this situation. - -1998-05-20 Andy Piper - - * general.c: - * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c. - - * glyphs-msw.c: change cursor imgae type name to resource. Fix - some nits. - -1998-05-20 Kirill M. Katsnelson - - * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for - {top,bottom}-{left,right} values in addition to - {top,bottom}_{left,right}. - -1998-05-18 Hrvoje Niksic - - * fileio.c (Fmake_temp_name): Remove unreached code. - - * process-nt.c (validate_signal_number): Use - signal_simple_error(). - -1998-05-19 Martin Buchholz - - * unexhp9k800.c: - * sound.c (vars_of_sound): - * sysdep.c (reset_sigio_on_device): - * window.c (window_bottom_gutter_height): - unexhp9k800.c:258: warning: implicit declaration of function - `calculate_checksum' - sound.c:604: warning: implicit declaration of function `vars_of_hpplay' - sysdep.c:1012: warning: unused variable `owner' - window.c:993: warning: `window_right_toolbar_width' defined but not used - -1998-05-19 Andy Piper - - * glyphs-msw.c (mswindows_create_resized_mask) - (mswindows_create_resized_bitmap): new funnctions split out from - mswindows_resize_dibitmap_instance. - - * glyphs-msw.h: declare new resize functions. - - * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize - functions so that the original bitmaps are preserved. - - * sheap.c: fixup static heap exhausted error to avoid FAQs. - - * redisplay-msw.c (mswindows_output_blank): fixup brush from bg - color if we are trying to output 0 depth bg pixmap. - - * scrollbar-msw.c: warning elimination. - -1998-05-18 Martin Buchholz - - * frame-x.c (x_update_frame_external_traits): Start preprocessor - directives in column 1. - - * search.c (skip_chars): Avoid using xzero with arrays, since some - compilers get confused by the construct &array. - -1998-05-18 Kirill M. Katsnelson - - * objects-msw.h: - * objects-msw.c: Changed the charset value for a new font from - "don't care" to "ansi". - - * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix. - -1998-05-18 Kirill M. Katsnelson - - * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift - modifier on control chars. - Use IsCharAlpha() instead of isaplha(). - -1998-05-19 Kazuyuki IENAGA - - * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). - -1998-05-18 Kirill M. Katsnelson - - * objects-msw.c (mswindows_initialize_font_instance): Use ANSI - charset when creating font. - (mswindows_initialize_color_instance): Do not create brush along - with a color. - (mswindows_finalize_color_instance): Do not delete it then. - - * objects-msw.h (struct mswindows_color_instance_data): Removed - brush slot, and corresponding accessor macro. - -1998-05-18 Kirill M. Katsnelson - - * toolbar.c: Removed toolbar_data lrecord implementation. - (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data - with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS). - (compute_frame_toolbar_buttons): Ditto. - (CHECK_TOOLBAR): Ditto. - (set_frame_toolbar): Removed allocation of toolbar_data lrecord. - (update_frame_toolbars): Do not check for changed buffer - here. Toolbar information is provided by cached specs in - windows. The check for buffer is eliminated becuase toolbars are - marked changed in set_frame_selected_window() in frame.c - Added check for changed toolbars geometry. - (compute_frame_toolbars_data): Removed unused second parameter; - Adjusted callers of this static function throughout the file. - (init_frame_toolbars): Initialize current_toolbar_size. - (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of - what is its current expansion, for clarity. - (init_frame_toolbars): Ditto. - (init_device_toolbars): Ditto. - (init_global_toolbars): Ditto. + * systty.h: + Remove vestigial APOLLO-conditional code. + +2000-01-21 Martin Buchholz + + * getpagesize.h: Add guard macros. + * libsst.h: Add guard macros. + * libst.h: Add guard macros. + * line-number.h: Add guard macros. + * ndir.h: Add guard macros. + * sysfloat.h: Add guard macros. + * sysfile.h: Add guard macros. + * sysproc.h: Add guard macros. + * syswait.h: Add guard macros. + * xintrinsic.h: Add guard macros. + * xintrinsicp.h: Add guard macros. + * xmmanager.h: Add guard macros. + * xmmanagerp.h: Add guard macros. + * xmprimitive.h: Add guard macros. + * xmu.h: Add guard macros. + * gpmevent.h: Add copyright statement. Add guard macros. + * miscplay.h: Add guard macros. + * *.h: Use consistent C-standards-approved guard macro names. + + * opaque.c (make_opaque): Switch parameter order. + * opaque.h (make_opaque): Switch parameter order. + Update all callers. + * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR. + + * config.h.in (type_checking_assert): Added. + (bufpos_checking_assert): Added. + +2000-01-21 Martin Buchholz + + * alloc.c: Harmless pdump changes. + - Use countof(). + - spell alignment correctly. + * sysdep.c: Use countof() + +2000-01-20 Kirill 'Big K' Katsnelson + + * console.c (create_console): Use CONMETH_OR_GIVEN when calling + initially_selected_for_input() console method, default to 0. + (semi_canonicalize_console_connection): Try to delegate to + canonicalize_console_connection if no such console method. + (canonicalize_console_connection): Vice versa. + (print_console): Do not print nil connection. + + * console.h (XDEVIMPF_IS_A_PRINTER): Added. + (XDEVIMPF_NO_AUTO_REDISPLAY): Added. + (XDEVIMPF_FRAMELESS_OK): Added. + (CONSOLE_INHERITS_METHOD): Added. + + * console-msw.c (mswindows_canonicalize_console_connection): + Added. + (mswindows_canonicalize_device_connection): Added. + + * console-msw.h (struct msprinter_device): Added this struct and + accessor macros. + (mswindows_device): Made fontlist a lisp object. + + * device.c (semi_canonicalize_device_connection): Try to delegate + to canonicalize_device_connection if no such console method. + (canonicalize_device_connection): Vice versa. + (print_device): Do not print nil connection. + + * device-msw.c (mswindows_init_device): Call InitCommonControls + when have widgets. + (mswindows_delete_device): Removed fontlist deallocation. + (mswindows_mark_device): Added. - * toolbar.h: Removed definition of toolbar_data lrecord. - Added accessor macros FRAME_TOOLBAR_BUTTONS and - FRAME_CURRENT_TOOLBAR_SIZE. - Added macro DEVICE_SUPPORTS_TOOLBARS_P. + * events.c (event_equal): Added abort() at unreached code. + (event_hash): Ditto. - * toolbar-x.c (x_output_toolbar): The same change as in - toolbar-msw.c - (x_output_toolbar): Ditto. - (x_redraw_exposed_toolbar): Ditto. + * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of + fallback tags of Windows devices. - * toolbar-msw.c (mswindows_output_toolbar): Retrieve current - buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro. - (mswindows_output_toolbar): Ditto. - (mswindows_output_toolbar): Ditto. + * general.c (syms_of_general): Initialized Qmsprinter. - * frame.c (mark_frame): Removed marking of arrays, according to - frameslots.h change. - (nuke_all_frame_slots): Ditto. - (set_frame_selected_window): Mark toolbars changed when - last_nonminibuf_window changes. + * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list + of fallback tags of Windows devices. - * frame.h (struct frame): Moved some slots to frameslots.h. - Added current_toolbar_size array. - Changed references from toolbar_data to toolbar_buttons in macros - FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE, - FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and - FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH. + * lisp.h: Declared Qmsprinter. - * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h - Moved arrays of lisp objects here from frame.h: toolbar_size, - toolbar_visible_p, toolbar_border_width. - Removed toolbar_data slot and added toolbar_buttons. + * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list + of strings. + (mswindows_list_fonts): Ditto. + (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so + that it can be used by both mswindows and msprinter devices. + (initialize_font_instance): Added. + (mswindows_initialize_font_instance): Use it. + (msprinter_initialize_font_instance): Added. -1998-05-17 Kirill M. Katsnelson + * redisplay.c (redisplay_device): Added the parameter AUTOMATIC + and implementation flags check. + (redisplay_without_hooks): Changed the call to the above. + (Fredraw_device): Ditto. + (Fredisplay_device): Ditto. - * symsinit.h: Externed syms_of_process_nt() + * redisplay-msw.c (get_frame_dc): Implemented. + (get_frame_compdc): Implemented. + (many functions): Use the two functions above to get device + contexts, ether for a window or a printer. - * emacs.c (main_1): Call syms_of_process_nt() +2000-01-21 Olivier Galibert - * process-nt.c: Quote process arguments by a call to Lisp function - `nt-quote-process-args'. - (syms_of_process_nt): New function. - (nt_send_process): Flush data stream after each write, to avoid - leaving buffered data. - (nt_send_process): When blocked on process output, wait for - process to slurp more for progressively increasing time intervals. + * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer + initialization here. + (init_symbols_once_early): Call it. + * emacs.c (main_1): Call it. + * symsinit.h: Declare it. -1998-05-17 Martin Buchholz +2000-01-19 Olivier Galibert - * window.c (have_undivided_common_edge): Make file-local function - static. - (map_windows): Return 0 if all map functions successful. - Fix typos. + * alloc.c: Use a lrecord_header * in the backtrace instead of a + Lisp_Object. + (pdump_backtrace): Ditto. + (pdump_register_object): Ditto. Cleanup use of the pointers. + (pdump_get_entry): Abort if trying to register a null pointer. + (pdump_dump_data): Cleanup types when relocating. + (pdump_dump_staticvec): Cleanup types w.r.t the reloc table. + (pdump_dump_rtables): Remove bad casts. + (pdump_load): Cleanup relocation w.r.t union type. Use a + Lisp_Object instead of a EMACS_INT for the hashtable + reorganization. - * winslots.h: Use unlikely names for local variables in macros to - avoid shadowing warnings. +2000-01-20 Martin Buchholz -1998-05-17 Andy Piper + * emacs.c (main_1): Rearrange morass of #ifdef's for correctness. - * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width - so that we re-output if the toolbar size has changed. + * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity. -1998-05-17 Michael Sperber [Mr. Preprocessor] + * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity. - * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. + * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch] - * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. +2000-01-17 Kirill 'Big K' Katsnelson - * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully - greater). + * faces.h (FACE_STRIKETHRU_P): Added. -1998-05-16 Kirill M. Katsnelson + * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care + of font variants. - * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to - get bitmap manifest constants defined. + * redisplay-msw.c (mswindows_apply_face_effects): Deleted. + (mswindows_set_dc_font): New function, aware of font variants, + separated from mswindows_update_dc. - * console-msw.h: Include system files in angle brackets, not in - quotes. + * objects-msw.h (struct mswindows_font_instance_data): Added + definition. - * window.c (specifier_vars_of_window): Fixed a typo in - `vertical-divider-line-width' docstirng. + * objects-msw.c (mswindows_finalize_font_instance): Delete all + cached fonts and the data structure. + (mswindows_initialize_font_instance): Added creation of font data + structure. + (mswindows_print_font_instance): Print at least something. + (mswindows_create_font_variant): Implemented. + (mswindows_get_hfont): Implemented. -1998-05-16 Olivier Galibert +2000-01-13 Fabrice Popineau - * line-number.c (delete_invalidate_line_number_cache): Use an - EMACS_INT. - (buffer_line_number): Remove dangerous, plain wrong when using - 64bits emacs ints, cast. + * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of + prototyping problem with msvc. - * insdel.c (buffer_delete_range): Use an EMACS_INT. + * emacs.c (main_1): added syms_of_gui_mswindows() call - * cmds.c (Fforward_line): Use EMACS_INTs. + * gui-msw.c: added "mswindows-shell-execute" lisp subr and + syms_of_gui_mswindows() function - * search.c (bi_scan_buffer): Change to use EMACS_INTs. - (scan_buffer): Ditto. - (bi_find_next_newline_no_quit): Remove useless cast. - (find_next_newline_no_quit): Ditto. - (find_next_newline): Ditto. - (find_before_next_newline): Use an EMACS_INT. + * symsinit.h: added the prototype for syms_of_gui_mswindows() - * lisp.h: Change scan_buffer to pass EMACS_INTs. +2000-01-18 Martin Buchholz -1998-05-16 Hrvoje Niksic - - * menubar-msw.c (mswindows_handle_wm_command): Ditto. - - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. - - * gui-x.c (popup_selection_callback): Use it. - - * gui.h (get_callback): Declare it. - - * gui.c (get_callback): New function. - -1998-05-15 SL Baur - - * window.c (have_undivided_common_edge): Guard scrollbar specific - stuff. - (window_needs_vertical_divider_1): Ditto. - -1998-05-16 Hrvoje Niksic - - * emacs.c (decode_path): Eliminate compiler warning. - (Fdecode_path): Renamed to Fsplit_path. - (Fsplit_string_by_char): New function. - -1998-05-14 Damon Lipparelli - - * winslots.h: close comment - -1998-05-16 Kirill M. Katsnelson - - * callproc.c: Removed declared and unused variable Qbuffer_file_type. - - * bufslots.h: Removed buffer_file_type slot. - - * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from - buffer local flags. - (complex_vars_of_buffer): Removed buffer-file-type variable and - its default reference. - -1998-05-15 Kirill M. Katsnelson - - * faces.c (complex_vars_of_faces): Defined - Vvertical_divider_face. - (vars_of_faces): Staticpro it. - - * faces.h: Externed Vvertical_divider_face. - - * redisplay-x.c (x_output_vertical_divider): Use - Vvertical_divider_face to draw the divider instead of modeline - face. - - * redisplay-msw.c (mswindows_output_vertical_divider): Draw - divider face using Vvertical_divider_face background. - Fix drawing spacing gaps around the divider. - -1998-05-14 Didier Verna - - * redisplay-x.c (x_output_vertical_divider): removed hard-wired - values for the vertical divider line width and spacing. Use the - cached values from the window structure instead. - (x_divider_width): ditto. - - * window.c (specifier_vars_of_window): new specifiers: - vertical-divier -line-width and -spacing. - (vertical_divider_global_width_changed): formerly known as - vertical_divider_shadow_thickness_changed. - - * winslots.h: new slots: vertical_specifier _line_width and - _spacing. Plus corrected a comment typo. - -1998-05-15 Kirill M. Katsnelson - - * window.h: Declared window_divider_width(). - - * console-stream.c (stream_divider_width): Removed method. - (console_type_create_stream): And declaration for it. - - * redisplay.c (pixel_to_glyph_translation): Use - window_divider_width() instead of divider_width redisplay method. - (pixel_to_glyph_translation): Fix top divider edge calculation - when scrollbar is on top. - - * window.c (window_divider_width): New function, an outphaser for - divider_width redisplay method. - (window_right_gutter_width): Use it. - (specifier_vars_of_window): For vertical-divider-{spacing,line-width} - specifiers, set fallback values differently on TTYs, and document - the behavior of these on TTYs in the docstrings. - - * scrollbar.c (update_scrollbar_instance): Use - window_divider_width() instead of divider_width redisplay method. - - * console.h (struct console_methods): Removed divider_width_method. - - * redisplay-tty.c (tty_divider_width): Removed device method. - (console_type_create_redisplay_tty): Removed definition for it. - (tty_output_vertical_divider): Respect the value returned by - window_divider_width thus divider line width specification. - - * redisplay-msw.c (mswindows_divider_width): Removed device method. - (console_type_create_redisplay_mswindows): Removed definition for it. - (mswinodws_output_vertical_divider): Respect the value returned by - window_divider_width thus divider line width specification. - -1998-05-15 Andy Piper - - * toolbar-msw.c: guess toolbar frame size a bit more accurately. - -1998-05-15 Andy Piper - - * glyphs-msw.c: resource loading implementation. - (cursor_normalize): new function. - (cursor_validate): ditto. - (cursor_instantiate): ditto. - (cursor_name_to_resource): ditto. - (cursor_possible_dest_types): ditto. - (check_valid_symbol): ditto. - (check_valid_string_or_int): ditto. - -1998-05-14 Martin Buchholz - - * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like - VINTR and VQUIT. - - * process-unix.c (process_signal_char): Use VSUSP instead of - non-standard VSWTCH. Always prefer VSUSP to VSWTCH. - -1998-05-14 Kirill M. Katsnelson - - * specifier.c (specifier_instance): Change locale precedence of - instantiation so window locale has higher priority than buffer - locale. - (Fspecifier_instance): Reflect this in docstring. - (Fadd_spec_list_to_specifier): Ditto. - (Fadd_spec_to_specifier): Ditto. - (Fremove_specifier): Ditto. - -1998-05-15 Kirill M. Katsnelson - - ** Dialog separation into a device method from Andy Piper - - * emacs.c (main_1): Call console_type_create_dialog_x(). - - * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted - into this device method. - (console_type_create_dialog_x): New function. - - * dialog.c (Fpopup_dialog_box): New function. - (syms_of_dialog): Defsubr it. - - * console.h (struct console_methods): Declared - popup_dialog_box_method(). - - * symsinit.h: Defined console_type_create_dialog_{x,mswindows} - -1998-05-14 Oliver Graf - - * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created - * frame-x.c (x_cde_transfer_callback): checked for merge errors - -1998-05-13 Oliver Graf - - * dragdrop.c (vars_of_dragdrop): provide dragdrop-api - -1998-05-15 Kirill M. Katsnelson - - * console.h (device_metrics): Removed dbcs, input-method-editor - and right-to-left metrics. - - * device.c (Fdevice_system_metric): Ditto. - (Fdevice_system_metrics): Ditto. - (syms_of_device): Ditto. - (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back - again. - -1998-05-14 Hrvoje Niksic - - * line-number.h (mark_line_number_cache): Remove unused - declaration. - - * line-number.c (LINE_NUMBER_FAR): Increase to 32768. - (get_nearest_line_number): Simplify. - (add_position_to_cache): Make the old marker point nowhere. - -1998-05-14 Kirill M. Katsnelson - - ** Renamed window-divider-map => vertical-divider-map - and event-over-divider-p => event-over-vertical-divider-p, - in the following files/functions: - * events.h: - * events.c (Fevent_over_divider_p): - * keymap.c (get_relevant_keymaps): - (vars_of_keymap): - - * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. - - * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. - -1998-05-14 Kirill M. Katsnelson - - * window.c (vertical_divider_changed_in_window): Renamed so. - (specifier_vars_of_window): Defined Vvertical_divider_draggable_p. - (window_needs_vertical_divider_1): Decide whether we need it based - on the value of the above specifier. If separators are unwanted, - put them only if there's no scrollbar between this window and its - right neighbor. - (have_undivided_common_edge): New function, helper for the above. - (window_needs_vertical_divider): Return either a cached value, - or clauclate and cache one. - (invalidate_vertical_divider_cache_in_window): Implemented. - (map_windows): Changed return type to int, return the value from - MAPFUN. - - * window.h: Prototype invalidate_vertical_divider_cache_in_window. - (struct window): Added need_vertical_divider_p and - need_vertical_divider_valid_p. - - * winslots.h: Added vertical_divider_draggable_p slot. - - * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. - (specifier_vars_of_scrollbar): Used it in all vertical specifiers. - - * frame.c (invalidate_vertical_divider_cache_in_frame): New function. - - * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call - invalidate_vertical_divider_cache_in_frame(). - Prototype it. - -1998-05-14 Andy Piper - - * toolbar-msw.c: provide correct parameters to TB_SETROWS. - - * glyphs-msw.c (mswindows_initialize_image_instance_mask): size - masks correctly and don't select 0. - -1998-05-14 Kirill M. Katsnelson - - * winslots.h: New file, declaration of some struct window and - struct saved_window members. - - * window.h (struct window): Include it, with required preprocessor - magic. - - * window.c (mark_window): Ditto. - (allocate_window): Ditto. - (struct saved_window): Ditto. - (mark_window_config): Ditto. - (saved_window_equal): Ditto. - (Fset_window_configuration): Ditto. - -1998-05-14 Kirill M. Katsnelson - - * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix. - -1998-05-12 Didier Verna - - * redisplay-x.c (x_output_vertical_divider): draw shadows around - the divider line. The shadow thickness is currently - hard-wired. This will probably be turned into a specifier soon. - -1998-05-12 Didier Verna - - * console.h (struct console_methods): the divider_width console - method now requires a struct window * argument. - - * redisplay-x.c (x_divider_width): ditto. Plus remove - X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS. - (x_output_vertical_divider): give a depressed look when the shadow - thickness is negative. - - * console-stream.c (stream_divider_width): pass a struct window * - argument. - - * redisplay-tty.c (tty_divider_width): ditto. - - * window.c (window_right_gutter_width): totdi. - - * redisplay.c (generate_modeline): ittod. - - * scrollbar.c (update_scrollbar_instance): ttido. - - * redisplay-msw.c (mswindows_divider_width): ottid. - WARNING: this enables to compile, but the feature is not functional. - - * window.h (struct window): new field - vertical_divider_shadow_thickness. - - * window.c (specifier_vars_of_window): new specifier - vertical-divider-shadow-thickness. - (vertical_divider_shadow_thickness_changed): new function to - inform redisplay that the window has changed. - (mark_window): handle new field vertical_divider_shadow_thickness - from struct window. - (allocate_window): ditto. - (saved_window_equal): toddi. - (Fset_window_configuration): totid. - (save_window_save): ttdio. - (struct saved_window): new field vertical_divider_shadow_thickness. - -1998-05-14 Kirill M. Katsnelson - - * device-msw.c (mswindows_device_system_metrics): Support a deluge - of metrics. - -1998-05-12 Oliver Graf - - * frame-x.c (x_cde_transfer_callback): fixed for the new protocol - * event-Xt.c (x_event_to_emacs_event): C++ compability - -1998-05-14 Hrvoje Niksic - - * emacs.c (Fdecode_path): Default SEPCHAR to value of - path-separator. - -1998-05-14 Hrvoje Niksic - - * emacs.c (vars_of_emacs): Do it here; change the meaning of - Vpath_separator. - - * fileio.c (vars_of_fileio): Don't define Vpath_separator here. - -1998-05-14 Hrvoje Niksic - - * emacs.c (decode_path_1): New function. - (decode_path): Use it. - (Fdecode_path): Renamed from Fdecode_path_internal; use - decode_path_1. - -1998-05-12 Hrvoje Niksic - - * macros.c (Fzap_last_kbd_macro_event): New function. - (Fend_kbd_macro): Remove REMOVE_LAST kludge. - -1998-05-10 Andy Piper - - * redisplay-msw.c (mswindows_output_dibitmap_region): make sure - multiple bitmaps are output vertically as well as horizontally. - * (mswindows_output_dibitmap): don't cope with bitmap boundaries - crossing lines this is handled by - mswindows_output_dibitmap_region. - -1998-05-12 Martin Buchholz - - * inline.c: Include eldap.h - - * menubar-x.c (x_update_frame_menubar_internal): - Remove: unused variable `container' - -1998-05-11 Martin Buchholz - - * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. - Unfortunately, the resulting temacs still cannot dump. - - * symbols.c (symbol_is_constant): - (verify_ok_for_buffer_local): - -Wswitch Warning suppression - add default case to switches. - - * redisplay.c (decode_mode_spec): Remove unused variables, - Replace Fcoding_system_property (codesys, Qmnemonic) with - XCODING_SYSTEM_MNEMONIC (codesys); - Fcoding_system_property is for users. - - * buffer.c: - * fileio.c: - * lread.c: - * xselect.c: - Change empty docstrings into no doc strings at all. - Fix bogus FSF-format docstrings. + * XEmacs 21.2.27 is released. - * extents.c: - Standardize docstrings. +2000-01-18 Martin Buchholz - * floatfns.c: - Explain problems with matherr. + * glyphs-eimage.c (struct tiff_error_struct): + (tiff_error_func): + (tiff_warning_func): + #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF - * glyphs.c: make DEFUNs etags-readable, i.e. single-line + * unexmips.c: + * unexhp9k3.c: + * unexfreebsd.c: + * unexec.c: Remove vestigial Lucid C code. + * unexalpha.c: + * unexaix.c: + * termcap.c: + * libsst.c: Ansify. + Remove declarations of errno and strerror(). - * syssignal.h: - if BROKEN_SIGIO, then SIGIO wants to be undefined. - if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\ - Fix the weird resultant interaction (causes windows problems) + * eval.c (Fbacktrace): Small Purify-cation. Fix docstring. - * gdbinit: - * dbxrc: - Take new EMACSBOOTSTRAPLOADPATH into account. - Update documentation strings + * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@". - * Makefile.in.in: - - Adjust for luser's CDPATH being set to something weird. - - Take into account bash 2.02's tendency to print the cwd when - using CDPATH. Always use `cd ./foo' instead of `cd foo'. - - fix the run-temacs target to use $(DUMPENV) - - fix the run-puremacs target to use $(DUMPENV) - - fix the `depend' target to properly $(RM) the right files - - Generate a better TAGS file for XEmacs' lisp code using - hand-crafted regexps. - - Use standard coding conventions for modules/Makefile.in +2000-01-16 Martin Buchholz -1998-05-12 Didier Verna + * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999. + Optimize. - * redisplay.c: removed the scrolling modeline code that didn't - make it for 21.0. To be continued ... +2000-01-14 Yoshiki Hayashi -1998-05-13 Michael Sperber [Mr. Preprocessor] + * md5.c: + * file-coding.c: + * file-coding.h: + Change enum eol_type to eol_type_t. - * emacs.c (Fdecode_path_internal): Removed bogus handling of nil - and empty string inputs. +2000-01-17 Yoshiki Hayashi -1998-05-12 Hrvoje Niksic + * gui.c (get_gui_callback): Check cons before accessing car. - * redisplay-x.c (x_output_vertical_divider): Fixed typo. +2000-01-17 Yoshiki Hayashi -1998-05-10 Oliver Graf + * specifier.h (XSPECIFIER_TYPE): Add error checking version. + (XSETSPECIFIER_TYPE): Ditto. - * event-stream.c (enqueue_misc_user_event_pos): created - * lisp.h (enqueue_misc_user_event_pos): prototype added - * frame-x.c (x_cde_transfer_callback): debug code plus API changes - * emacs.c: call vars_of_dragdrop - * dragdrop.c (vars_of_dragdrop): provide dragdrop +2000-01-17 Didier Verna -1998-05-11 Oliver Graf + * redisplay.c (generate_fstring_runes): compute string size in + characters, not bytes. - * frame-x.c (x_cde_transfer_callback): return at correct pos - * event-Xt.c (x_event_to_emacs_event): changed format of drop - object for MIME (see comment in dragdrop.c) - * dragdrop.c: API change documented in comment - removed provide of dragdrop [is provided by dragdrop.el] +2000-01-09 Hrvoje Niksic -1998-05-12 Kirill M. Katsnelson + * window.c (Fwindow_minibuffer_p): Make WINDOW optional. - * window.c (window_needs_vertical_divider): Enable vertical - dividers for every non-rightmost window. - (window_left_gutter_width): Left gutter consists of mythical - toolbar and a virtual scrollbar. - (window_right_gutter_width): The right one may have a divider - also. +2000-01-14 Hrvoje Niksic - * scrollbar.c (update_scrollbar_instance): Position vertical - scrollbar left to divider if the latter present. + * print.c (print_error_message): Call print_prepare(). - * redisplay.h: Declared OVER_DIVIER constant. +2000-01-14 Martin Buchholz - * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER - case. + * .dbxrc: Renamed from dbxrc. - * redisplay-x.c (x_output_vertical_divider): Output divider along - the right side of the window, down to window bottom. Swapped - foreground and background colors so it is visible by default. + * events.c (event_to_character): + Use `assert (foo)' instead of `if (!foo) abort()' - * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally - stick the divider to the right window side. + * .gdbinit (xtype): Add documentation. + * .gdbinit (check-temacs): New function. + * .gdbinit (check-xemacs): New function. + * dbxrc (check-xemacs): New function. + * dbxrc (check-xemacs): New function. - * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed - deadbox painting. - (mswindows_divider_width): Ask system for user preferred value. - (mswindows_output_vertical_divider): Always output the divider on - the right side of a window, down to bottom. +2000-01-14 Andy Piper - * keymap.c (get_relevant_keymaps): Route mouse button events which - happened over a window divider through window-divider-map. - (Fkey_binding): Documented that in the docstring. - Defined the variable Vwindow_divider_map. + * glyphs-widget.c (widget_query_geometry): Make sure that we + calculate default dimensions correctly. - * events.c (Fevent_over_divider_p): Added this function. +2000-01-13 Kirill 'Big K' Katsnelson - * events.h: EXFUNed it. + * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows. -1998-05-12 Kirill M. Katsnelson + * event-msw.c (vars_of_event_mswindows): Fixed a mistyped + pdump_wire'd variable. - * toolbar.c (update_frame_toolbars): Re-layout frame windows if - toolbar geometry is suspected to change. + * emacs.c: (main_1): Conditionalized calls to + reinit_vars_of_scrollbar_x and reinit_vars_of_module. -1998-05-11 Jonathan Harris +2000-01-13 Martin Buchholz - * src/device-msw.c - * src/event-msw.c - Condition dnd and dde code on HAVE_DRAGNDROP. + * window.c (Fset_window_configuration): + * sysdep.c (_start): + * input-method-motif.c (res): + * event-Xt.c (Xt_process_to_emacs_event): + Simple compiler warning fixes. -1998-05-11 Hrvoje Niksic + * bytecode.c (funcall_compiled_function): Use the original + function symbol on the backtrace list in preference to the + compiled_function object in error messages. - * events.c (format_event_object): Print space as SPC etc. +2000-01-13 Andy Piper -1998-05-11 Hrvoje Niksic + * glyphs-x.c (update_widget_face): Make sure we update the widget + background as well as foreground. - * print.c (print_internal): In the default case, abort() if - ERROR_CHECK_TYPECHECK. +2000-01-13 Andy Piper - * fileio.c (Fmake_temp_name): Doc fix. + * glyphs.h (struct Lisp_Image_Instance): Move justify and orient + fields to subwindow. + (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro. + (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto. + (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. + (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. -1998-05-10 Hrvoje Niksic + * glyphs-widget.c (check_valid_tab_orientation): new function. + (initialize_widget_image_instance): zero orientation and + justification. + (widget_instantiate): pick up orientation. + (tab_control_query_geometry): return appropriate values for + vertical tabs. - * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS. + * glyphs-msw.c: (mswindows_tab_control_instantiate): assign + appropriate creation flags for left, right and bottom tabs. - * undo.c (Fprimitive_undo): Fixed typo. + * s/cygwin32.h: add tab definitions. -1998-05-11 Hrvoje Niksic +2000-01-12 Kirill 'Big K' Katsnelson - * fns.c (concat): Signal error on integer argument. + * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the + frame upon hiding a subwindow. + (mswindows_button_instantiate): Changed the push button style to + BS_PUSHBUTTON. + (mswindows_button_instantiate): Removed button BS_NOTIFY + style. + (mswindows_button_instantiate): Removed redundant check for + a disabled gui item. + (mswindows_button_instantiate): Made use of WS_TABSTOP + consistent: "operable" controls (edit, button, tree, scroll) have + this style, "display-only" ones (static, progress gauge) do + not. This style is currently ignored by XEmacs though. Also, + removed the WS_EX_CONTROLPARENT style - it is not for children, + it is for their parents! + (mswindows_edit_field_instantiate): Ditto. + (mswindows_progress_gauge_instantiate): Ditto. + (mswindows_tree_view_instantiate): Ditto. + (mswindows_tab_control_instantiate): Ditto. + (mswindows_scrollbar_instantiate): Ditto. + (mswindows_combo_box_instantiate): Ditto. + (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT + style to the "clip" window. + (mswindows_button_instantiate): Removed compilation warning by + equally typing terms of the ?: operator. -1998-05-10 Kirill M. Katsnelson +2000-01-12 Didier Verna - * console.h (device_metrics): Prefixed each constatnt with DM_ + * redisplay.c (generate_fstring_runes): new parameter holding the + last modeline-format extent. + (add_glyph_to_fstring_db_runes): new parameter holding the glyph + extent, fill the glyph block with it. + (generate_fstring_runes): handle these parameters. + (generate_formatted_string_db): ditto. - * device.c: (Fdevice_system_metric): Renamed so from plural form - (metrics); Changed parameters order and added DEFAULT parameter; - Unabbreviated some metric constants; Fixed and untabified doc string. - (Fdevice_system_metrics): Added. Returns a plist of all provided - metrics. + * keymap.c (get_relevant_keymaps): retreive the keymaps from the + glyphs'extents in the modeline. - * device-msw.c (mswindows_device_system_metrics): Renamed - device_metrics enum constants. - Return Qunbound instead of Qnil. +1999-01-11 Mike Woolley - * device-tty.c (tty_device_system_metrics): Ditto. + * ntheap.c: Reduced the reserved heap space from 1Gb down to + 256Mb, as a workaround for the non-starting problem many people + have experienced. - * device-x.c (x_device_system_metrics): Ditto. +2000-01-06 Yoshiki Hayashi -1998-05-10 Andy Piper + * console-tty.c (Fset_console_tty_output_coding_system): + Force redrawing tty frame. - * redisplay-msw.c: implement background pixmaps (really!). Make - sure bg color is transparent if we have bg pmaps. - * (mswindows_output_string) (mswindows_clear_region): output bg - pmap if required. - * (mswindows_output_dibitmap_region): new function. - * (mswindows_output_dibitmap): output offset pixmaps, blt masks in - the bg color rather than transparently. +2000-01-10 Didier Verna - * toolbar-msw.c: use masks if they exist. + * redisplay.c (generate_fstring_runes): fix size computation bug. - * glyphs-msw.c: set up masks correctly. +2000-01-09 William M. Perry - * event-msw.c: typedef SOCKET if cygwin and not msg select(). + * gpmevent.c: (gpm_next_event_cb): Don't return value from void function. -1998-05-10 Hrvoje Niksic +2000-01-09 Andy Piper - * regex.c (re_match_2_internal): Check for quit. + * glyphs-msw.c: index -> i to avoid shadows. + (xbm_create_bitmap_from_data): make static. + (check_valid_string_or_int): deleted. + (mswindows_control_wnd_proc): message -> msg to avoid shadows. + + * glyphs-x.c (x_update_subwindow): remove unused args. -1998-05-10 Hrvoje Niksic + * glyphs.c (glyph_image_instance): return the thing. Don't set the + back pointer - this is done in allocate_image_instance. + (query_string_font): return Qnil to make the compiler happy. + (unmap_subwindow): set to ~0 to make the compiler happy. + (glyph_query_geometry): comment out until used. + (glyph_layout): ditto. - * frame.c (Ffocus_frame): New function. +2000-01-09 Hrvoje Niksic + * insdel.c (signal_after_change): Remove extraneous unbind_to().