* lisp.h (xfree_1): Make non-public.
* (xzero): Use '\0' in memset call for clarity.
* (ALIGNOF): Use __alignof__ instead of undocumented __alignof.
- * alloc.c (allocate_string_chars_struct):
- (make_uninit_string):
- (resize_string):
+ * alloc.c (allocate_string_chars_struct):
+ (make_uninit_string):
+ (resize_string):
(verify_string_chars_integrity):
(compact_string_chars): Now only called for small strings.
(sweep_strings):
2000-01-04 Martin Buchholz <martin@xemacs.org>
- * mule-charset.h (REP_BYTES_BY_FIRST_BYTE):
+ * mule-charset.h (REP_BYTES_BY_FIRST_BYTE):
Remove macro, always use inline function.
* mule-charset.c (make_charset): Don't assign to rep_bytes_by_first_byte.
(rep_bytes_by_first_byte): Make const.
1999-12-21 Martin Buchholz <martin@xemacs.org>
- * editfns.c (Fpoint_min):
- (Fpoint_min_marker):
- (Fpoint_max):
- (Fpoint_max_marker):
- (Fchar_after):
- (Fchar_before):
+ * editfns.c (Fpoint_min):
+ (Fpoint_min_marker):
+ (Fpoint_max):
+ (Fpoint_max_marker):
+ (Fchar_after):
+ (Fchar_before):
Docstring fixes. What's a `buffer pointer' anyways?
* editfns.c (char=): Remove unused and undocumented optional
third BUFFER argument.
- * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P):
- * fns.c (plists_differ):
- * elhash.c (HASH_CODE):
- * elhash.c (KEYS_EQUAL_P):
- * redisplay-output.c (redisplay_move_cursor):
- * redisplay.c (create_text_block):
- * floatfns.c (Flogb):
- * glyphs-msw.c (mswindows_initialize_image_instance_mask):
- * glyphs-msw.c (xpm_to_eimage):
- * buffer.h (POINT_MARKER_P):
- * syntax.c (scan_lists):
- * cmdloop.c (Fcommand_loop_1):
- * widget.c (Fwidget_apply):
- * regex.c (STREQ):
+ * toolbar.h (DEVICE_SUPPORTS_TOOLBARS_P):
+ * fns.c (plists_differ):
+ * elhash.c (HASH_CODE):
+ * elhash.c (KEYS_EQUAL_P):
+ * redisplay-output.c (redisplay_move_cursor):
+ * redisplay.c (create_text_block):
+ * floatfns.c (Flogb):
+ * glyphs-msw.c (mswindows_initialize_image_instance_mask):
+ * glyphs-msw.c (xpm_to_eimage):
+ * buffer.h (POINT_MARKER_P):
+ * syntax.c (scan_lists):
+ * cmdloop.c (Fcommand_loop_1):
+ * widget.c (Fwidget_apply):
+ * regex.c (STREQ):
Remove extra parens, esp. of the form ((expr))
* floatfns.c (Flogb): Make 64-bit clean.
* glyphs-widget.c (VALID_GUI_KEYWORDS): use NONCOPY keyword for
callbacks and other things that could recurse.
- (VALID_GUI_KEYWORDS):
+ (VALID_GUI_KEYWORDS):
* event-msw.c: fix cpp stuff for cygwin < b20.
1999-12-18 Martin Buchholz <martin@xemacs.org>
- * fns.c (mapcar1):
- (Fmapconcat):
- (Fmapcar):
- (Fmapvector):
+ * fns.c (mapcar1):
+ (Fmapconcat):
+ (Fmapcar):
+ (Fmapvector):
Docstring fixes. Make them consistent with the lispref and ANSI Lisp.
1999-12-17 Martin Buchholz <martin@xemacs.org>
* window.c:
* event-stream.c:
Remove last vestigial uses of GC_*
-
+
* fns.c (mapcar1): Fix ***THREE*** obscure crashes in one function!
- Two of those involve evil mapping functions that destructively
modify a list being mapped over.
1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
- * file-coding.c (add_coding_system_to_list_mapper):
+ * file-coding.c (add_coding_system_to_list_mapper):
- (coding-system-list) should list aliases correctly.
1999-12-07 Andy Piper <andy@xemacs.org>
found.
(nt_open_network_stream): warn_when_safe if network stream fails
to open.
-
+
* ntproc.c (create_child): Remove negative pid hack for Windows
95. Remove incorrect and unnecessary USE_UNION_TYPE handling.
* events.c (Fcopy_event): Don't copy the lrecord_header.
- * lisp.h (DO_REALLOC):
+ * lisp.h (DO_REALLOC):
Optimize.
Remove redundant parens.
Remove generic hygienic macro comment.
1999-12-05 Martin Buchholz <martin@xemacs.org>
- * lstream.c (Lstream_adding):
+ * lstream.c (Lstream_adding):
- Never compare a size_t and a possibly negative number.
- Optimize.
1999-12-04 Martin Buchholz <martin@xemacs.org>
- * lstream.c: (filedesc_reader):
+ * lstream.c: (filedesc_reader):
(filedesc_writer): Try number 2: Support broken systems where
return type of read() and write() is different from ssize_t.
- * systty.h:
+ * systty.h:
* sysdep.h:
* sysdep.c:
- Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with
(menu_move_right): Ditto.
* lrecord.h (copy_lcrecord):
- (zero_lcrecord):
+ (zero_lcrecord):
Always add parentheses around uses of macro arguments.
* sysdll.c: #include <stdlib.h> for exit().
* file-coding.c (convert_to_external_format):
* file-coding.c (convert_from_external_format):
- Lstream functions mirror Unix98 read(),write(). Therefore use
- Unix98 types size_t and ssize_t.
+ Unix98 types size_t and ssize_t.
- Try to make Lstream* functions 64-bit clean. Someday someone
may actually want to read from a Lstream with more than 2**32 bytes.
- Add configure support for ssize_t.
1999-11-26 Martin Buchholz <martin@xemacs.org>
- * device-x.c (x_init_device):
+ * device-x.c (x_init_device):
- Replace magic number `17' with equivalent expn using sizeof.
- Replace strcmp with marginally more efficient memcmp.
- Avoid using C++ reserved word `class'.
- * file-coding.c (determine_real_coding_system):
+ * file-coding.c (determine_real_coding_system):
- Look for both initial and final -*- cookies.
- Replace EQ (foo, Qnil) with NILP (foo)
- Make searching for cookies more efficient.
* redisplay.h (struct rune): Do not use bitfields for members.
(struct rune): Add various comments about further optimizations.
-
+
1999-11-19 Eric Darve <darve@crocco.stanford.edu>
* abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
* tooltalk.c (tt_build_string): Remove extra parens.
* process.c (print_process): Remove extra parens.
- * buffer.h (BI_BUF_PTR_BYTE_POS):
- (BUF_PTR_BYTE_POS):
- (BI_BUF_BYTE_ADDRESS):
- (BI_BUF_BYTE_ADDRESS_BEFORE):
- (valid_memind_p):
- (bytind_to_memind):
+ * buffer.h (BI_BUF_PTR_BYTE_POS):
+ (BUF_PTR_BYTE_POS):
+ (BI_BUF_BYTE_ADDRESS):
+ (BI_BUF_BYTE_ADDRESS_BEFORE):
+ (valid_memind_p):
+ (bytind_to_memind):
(memind_to_bytind):
Remove extra parens. Inline functions are not macros.
- * editfns.c (Fuser_login_name):
+ * editfns.c (Fuser_login_name):
(user_login_name):
Use proper type uid_t.
1999-10-25 Martin Buchholz <martin@xemacs.org>
- * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
- (GLOBAL_RESET_CHANGED_FLAGS):
- (CLASS_REDISPLAY_FLAGS_CHANGEDP):
- (RESET_CHANGED_SET_FLAGS):
+ * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
+ (GLOBAL_RESET_CHANGED_FLAGS):
+ (CLASS_REDISPLAY_FLAGS_CHANGEDP):
+ (RESET_CHANGED_SET_FLAGS):
Fix C++ compile errors/warnings.
These macros were just a tad too clever.
* process-unix.c (unix_open_network_stream):
* objects-x.c (allocate_nearest_color):
- * mule-charset.c (vars_of_mule_charset):
- * fileio.c (Ffile_truename):
- * file-coding.c (vars_of_file_coding):
+ * mule-charset.c (vars_of_mule_charset):
+ * fileio.c (Ffile_truename):
+ * file-coding.c (vars_of_file_coding):
Fix compile errors/warnings.
* alloc.c (xstrdup): Use fact that memcpy returns its first arg.
* sound.c: support HAVE_ESD_SOUND
- * miscplay.c:
- * miscplay.h:
+ * miscplay.c:
+ * miscplay.h:
* linuxplay.c: Move large part of linuxplay to generalized file
miscplay. Make it platform independent.
1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
- * unexelf.c: Merge Martin's c++ fixes back in
+ * unexelf.c: Merge Martin's c++ fixes back in
1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
* lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
* alloc.c: Removed hash_next linked list pointer.
-
+
* *.c *.h: Removed markobj and mark_object parameters, removed GC_
and XGC macros.
XEmacs slow down to a crawl. I also hope to be able to create a
list with more than INT_MAX cons cells.
- * redisplay.c (decode_mode_spec):
+ * redisplay.c (decode_mode_spec):
The %p and %P specs in the mode line were not correct for buffers
larger than MAX_INT/100! The %p spec was off by .5% even for
small buffers!
* cmdloop.c (num_input_keys):
* print.c (debug_temp):
* emacs.c (Vinfo_directory):
- Delete unused variables
+ Delete unused variables
* console-x.h (x_interline_space): Mark as unimplemented.
* redisplay-x.c (x_interline_space): Mark as unimplemented.
* scrollbar-x.c (x_window_is_scrollbar): deleted.
* scrollbar-x.h: ditto.
-
+
1999-09-23 Martin Buchholz <martin@xemacs.org>
* alloc.c (this_marks_a_marked_record): Remove.
* console.h (struct console_methods): new console methods for
outputting pixmaps and strings.
-1999-08-23 Didier Verna <verna@inf.enst.fr>
+1999-08-23 Didier Verna <didier@xemacs.org>
* sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
and `bell_inhibit_time' to `Vbell_inhibit_time'.
(mswindows_tab_control_instantiate): ditto.
(mswindows_tab_control_set_property): ditto.
(image_instantiator_format_create_glyphs_mswindows): predicate
- existance of widgets on HAVE_WIDGETS.
+ existence of widgets on HAVE_WIDGETS.
* frame.h (struct frame): add subwindow_exposures variables.
* s/linux.h: gcc-2.8 changes for powerpc
From Justin Vallon <vallon@mindspring.com>
-1999-07-05 Didier Verna <verna@inf.enst.fr>
+1999-07-05 Didier Verna <didier@xemacs.org>
* indent.c: new symbol Qcoerce.
(Fmove_to_column): use it + doc string update.
* systime.h: ditto.
* systty.h: ditto.
- * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
+ * config.h.in: don't turn on DEBUG_ENCAPSULATION by default because
some systems don't have all of the encapsulated system calls.
* callproc.c: warning elimination.
* bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
bytecode.
-1998-12-02 Didier Verna <verna@inf.enst.fr>
+1998-12-02 Didier Verna <didier@xemacs.org>
* menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
accelerator field to nil for labels.
Escape occurrences of '&' and support occurrences of the
'%_' accelerator indicator in menus.
-1998-11-26 Didier Verna <verna@inf.enst.fr>
+1998-11-26 Didier Verna <didier@xemacs.org>
* dired.c (Fdirectory_files): use make_string instead of
make_ext_string on the filename. The conversion external->internal
subwindows on a msw frame.
(mswindows_map_subwindow): ditto.
(mswindows_register_image_instance): register instantiated widgets
- with the widget hastable.
+ with the widget hashtable.
(mswindows_button_instantiate): instantiate a button type widget
on an msw frame.
(mswindows_subwindow_instantiate): instanttiate a subwindow on a
* chartab.c (canonicalize_char_table_value): Coerce ints to chars
for tables of type `char'.
-1998-11-26 Didier Verna <verna@inf.enst.fr>
+1998-11-26 Didier Verna <didier@xemacs.org>
* 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 <verna@inf.enst.fr>
+1998-11-26 Didier Verna <didier@xemacs.org>
* process-unix.c (unix_create_process): handle properly
Vfile_name_coding_system for converting the program and directory
* fns.c (Fremrassq, remrassq_no_quit):
A XCAR that should have been an XCDR turned Fremrassq into Fremassq
-1998-07-17 Didier Verna <verna@inf.enst.fr>
+1998-07-17 Didier Verna <didier@xemacs.org>
* redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
style as foreground GC for faces that have the `dim' property.
* 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
+ has been specified, strip out extra directory-separators that
reportedly cause problems under Win95.
1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
* 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
+ been specified, strip out extra directory-separators that
reportedly cause problems under Win95.
1998-07-05 Andy Piper <andyp@parallax.co.uk>
1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
- * fileio.c: Don't do directory seperator canonicalisation in
+ * fileio.c: Don't do directory separator canonicalisation in
substitute-in-file-name because we don't know that the
filename refers to a local file.
* 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.
+ previous fields haven't been specified.
1998-06-23 Greg Klanderman <greg@alphatech.com>
* 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.
+ previous fields haven't been specified.
1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
parameters. define macors to access it.
* frame-msw.c (mswindows_init_frame_1): use new target_rect
- parameter to intialise desired sizing. (mswindows_init_frame_2):
+ parameter to initialize 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
(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
+ windows. The check for buffer is eliminated because 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;
divider face using Vvertical_divider_face background.
Fix drawing spacing gaps around the divider.
-1998-05-14 Didier Verna <verna@inf.enst.fr>
+1998-05-14 Didier Verna <didier@xemacs.org>
* redisplay-x.c (x_output_vertical_divider): removed hard-wired
values for the vertical divider line width and spacing. Use the
* redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
-1998-05-12 Didier Verna <verna@inf.enst.fr>
+1998-05-12 Didier Verna <didier@xemacs.org>
* 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 <verna@inf.enst.fr>
+1998-05-12 Didier Verna <didier@xemacs.org>
* console.h (struct console_methods): the divider_width console
method now requires a struct window * argument.
hand-crafted regexps.
- Use standard coding conventions for modules/Makefile.in
-1998-05-12 Didier Verna <verna@inf.enst.fr>
+1998-05-12 Didier Verna <didier@xemacs.org>
* redisplay.c: removed the scrolling modeline code that didn't
make it for 21.0. To be continued ...