1. xemacs
  2. xemacs-beta

Commits

Author Commit Message Date Builds
Aidan Kehoe
Fix a bug with silent corruption of a fixnum used in a string's plist. src/ChangeLog addition: 2016-04-24 Aidan Kehoe <kehoea@parhasard.net> Fix a bug where a fixnum used as a key in a string's plist was silently corrupted. * alloc.c: * alloc.c (string_plist_ptr): Check a flag in the header to find out whether this string was ever modified, rather than assuming based on the type of the corresponding entry of the plist. * alloc.c (string_extent_info): New…
Aidan Kehoe
Be more careful about possible relocation of string data, print.c lisp/ChangeLog addition: 2016-04-14 Aidan Kehoe <kehoea@parhasard.net> * print.c (output_string): When RELOC is a string and FUNCTION is a function, be more careful about FUNCTION possibly modifying RELOC and making our offset data invalid. Don't call bytecount_to_charcount when that is not necessary. * print.c (print_string): Check whether PRINTCHARFUN has made our string indices inval…
Aidan Kehoe
Clean up and finish regexp matching with relocating Lisp buffers src/ChangeLog addition: 2016-03-31 Aidan Kehoe <kehoea@parhasard.net> Clean up and finish the implementation of regular expression searching within relocating Lisp buffers. As well as relocating local pointers within re_match_2_internal() and re_search_2(), relocate pointers to regular expression register begin and end values, and pointers that are saved in the failure stack. * regex.c:…
Aidan Kehoe
Improve handling of symbols that might have number syntax, print_symbol () src/ChangeLog addition: 2016-02-28 Aidan Kehoe <kehoea@parhasard.net> * print.c (print_symbol): Small bugfix, recognise that a trailing sign excludes a symbol from potentially having number syntax. tests/ChangeLog addition: 2016-02-28 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-reader-tests.el: Check that the Lisp printer realises a trailing sign excludes a symbol from poten…
Stephen Turnbull
Docstring typo fix.
Stephen Turnbull
Make auto-save-timeout customizable.
Stephen Turnbull
Improve manual entry on string properties.
Stephen Turnbull
Protect against window deletion success errors on Mac OS X.
Jeff Sparkes
Don't clear unchanged toolbars in redisplay.
Stephen Turnbull
Remove dupes from pkg-config --cflags.
Stephen Turnbull
Fix C++ build by double-casting pointers to int.
crestani
Disable ASLR on El Capitan.
Michael Sperber
Follow change in Makeinfo 5.0. 2015-09-26 Michael Sperber <mike@xemacs.org> * info.el (Info-read-subfile): Follow change in Makeinfo 5.0 with arithmetic of node positions.
Michael Sperber
Speed up XEmacs on X. Avoid many calls to XQueryColor.
Aidan Kehoe
Fix a bug in the #'equalp compiler macro. lisp/ChangeLog addition: 2015-06-11 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (equalp): Fix a bug in this compiler macro when passed constants in a certain order. tests/ChangeLog addition: 2015-06-11 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: Add a test looking for a bug just fixed in the equalp compiler macro.
Aidan Kehoe
Avoid confusion about ELC vs. source file encoding, #'load, #'load-internal. lisp/ChangeLog addition: 2015-06-03 Aidan Kehoe <kehoea@parhasard.net> * code-files.el (load): Revise this to respect load-ignore-out-of-date-elc-files, rather than leaving that to #'load-internal. Avoids a corner case where the source and the compiled file have different, incompatible encodings. Move the call to #'substitute-in-file-name here. No longer check for a zero-length filename…
Aidan Kehoe
Avoid allocation in #'integer-length; add #'logcount. lisp/ChangeLog addition: 2015-05-29 Aidan Kehoe <kehoea@parhasard.net> * byte-optimize.el (side-effect-free-fns): Add #'integer-length, #'logcount here. * cl-extra.el: * cl-extra.el (integer-length): Update this to avoid allocating memory. * cl-extra.el (logcount): New. Return the number of one bits in INTEGER, if non-negative. Function from Common Lisp. tests/ChangeLog addition: 2015…
Aidan Kehoe
Use the existing C-level line number cache within #'line-number. src/ChangeLog addition: 2015-05-15 Aidan Kehoe <kehoea@parhasard.net> * buffer.c: * buffer.c (Fline_number): New C implementation, using the line number cache of line-number.c, with a new optional BUFFER argument. * buffer.c (syms_of_buffer): Make it available to Lisp. * line-number.c (buffer_line_number): New argument, RESPECT-NARROWING, describing whether to count from the beginning…
Aidan Kehoe
Remove an old, buggy attempt to preserve East Asian chars, encode_unicode_char src/ChangeLog addition: 2015-05-11 Aidan Kehoe <kehoea@parhasard.net> * unicode.c (encode_unicode_char): If we have no information on the Unicode mapping of a character, write U+FFFD unconditionally. Remove an old, incomplete, inappropriate attempt to preserve certain East Asian characters. tests/ChangeLog addition: 2015-05-11 Aidan Kehoe <kehoea@parhasard.net> * automated/mule-tests…
Aidan Kehoe
Fix a bug when passing a float to truncate and giving a bignum result. src/ChangeLog addition: 2015-05-10 Aidan Kehoe <kehoea@parhasard.net> * floatfns.c (truncate_one_float): Fix a bug here when double_to_integer() (and previously float_to_int()) returned a bignum; this was silently treated as a fixnum, giving consistently incorrect remainders and less consistently-incorrect but still buggy divisors. tests/ChangeLog addition: Check that a bug when supply…
Aidan Kehoe
GMP functions that take doubles choke on non-finite values, avoid that. src/ChangeLog addition: 2015-05-10 Aidan Kehoe <kehoea@parhasard.net> * floatfns.c (double_to_integer): Rename this from float_to_int to fit our newer, bignum-compatible terminology. GMP can signal SIGFPE when asked to turn NaN or infinity into a bignum, and we're not prepared to handle that signal if the OS float library routines don't do that, so check for those values explicitly. *…
Aidan Kehoe
Be less misleading in errors, data.c src/ChangeLog addition: 2015-05-09 Aidan Kehoe <kehoea@parhasard.net> * data.c (Flogand): * data.c (Flogior): * data.c (Frem): * data.c (Flsh): Give less misleading errors in all these functions, e.g. supplying #'integer-char-or-marker as the predicate on wrong-type-argument, when float would not be accepted.
Aidan Kehoe
Placate the C++ compiler, read_rational(). src/ChangeLog addition: 2015-05-09 Aidan Kehoe <kehoea@parhasard.net> * lread.c (read_rational): Cast the call to memchr() here to placate the C++ compiler.
Aidan Kehoe
Use parse_integer() in read_atom(); support bases with ratios like integers src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * data.c (init_errors_once_early): Move the Qunsupported_type here from numbers.c, so it's available when the majority of our types are not supported. * general-slots.h: Add it here, too. * number.c: Remove the definition of Qunsupported_type from here. * lread.c (read_atom): Check if the first character could reflec…
Aidan Kehoe
Sort the symbols in general-slots.h using the Lisp provided. src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * general-slots.h: Sort the symbols in this file using the Lisp provided.
Aidan Kehoe
chartab.h, #define get_char_table_mirrors_ok correctly sans ERROR_CHECK_TYPES src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * chartab.h (get_char_table_mirrors_ok): #define this correctly without ERROR_CHECK_TYPES.
Aidan Kehoe
Fix a bug in #'parse-integer with negative bignums and non-nil JUNK-ALLOWED src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * data.c (parse_integer): Fix a bug here with the interaction of negative bignums and a non-zero JUNK-ALLOWED argument. tests/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: Check for a bug just fixed with the interaction of negative bignums and :junk-allowed non-nil.
Aidan Kehoe
Revise print_symbol(), never calling is{float,ratio}_string(). src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * print.c (print_symbol): Revise this. No longer call isfloat_string() and isratio_string() on practically every symbol seen; check explicitly for the known float format in this function, which turns out to be a more limited and cheap job than you would think. Also check for integer and ratio syntax in passing. Use Vd…
Aidan Kehoe
Return ratios in canonical form too, #'string-to-number src/ChangeLog addition: 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * data.c (Fstring_to_number): Canonicalise ratios in this function, as we do bignums.
Aidan Kehoe
Make get_char_table in loop bodies more tolerable without optimization. 2015-05-08 Aidan Kehoe <kehoea@parhasard.net> * chartab.h (get_char_table): * chartab.h (get_char_table_mirrors_ok): New. Provide get_char_table_mirrors_ok, which differs from get_char_table only if ERROR_CHECK_TYPES is defined. Implement it, and get_char_table, using a macro wrapper of get_char_table_1, so that on builds without optimization each get_char_table no longer requires two C …
  1. Prev
  2. Next