Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5877:abe88cd200c9
Configure support for 64-bit cygwin
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Thu, 26 Mar 2015 14:39:53 -0400 |
parents | 0cebf04c18b5 |
children | 916187a03b82 |
comparison
equal
deleted
inserted
replaced
5876:0cebf04c18b5 | 5877:abe88cd200c9 |
---|---|
1 2015-03-26 Vin Shelton <acs@xemacs.org> | |
2 | |
3 * s/cygwin32.h: Moved guts to cygwin-common.h. | |
4 * s/cygwin-common.h: Created from cygwin32.h. | |
5 * s/cygwin64.h: | |
6 * m/x86_64.h: Created to support 64-bit cygwin. | |
7 Work started by Henry S. Thompson <ht@inf.ed.ac.uk>. | |
8 | |
1 2015-03-24 Vin Shelton <acs@xemacs.org> | 9 2015-03-24 Vin Shelton <acs@xemacs.org> |
2 | 10 |
3 * data.c (build_fixnum_to_char_map): Cast cctable malloc call to | 11 * data.c (build_fixnum_to_char_map): Cast cctable malloc call to |
4 avoid warning from VS6. | 12 avoid warning from VS6. |
5 | 13 |
25 (vars_of_data): Don't rely on zero termination here for | 33 (vars_of_data): Don't rely on zero termination here for |
26 Vfixnum_to_char_map, give an explicit bytecount. Again, thank you | 34 Vfixnum_to_char_map, give an explicit bytecount. Again, thank you |
27 Vin! | 35 Vin! |
28 | 36 |
29 2015-03-08 Aidan Kehoe <kehoea@parhasard.net> | 37 2015-03-08 Aidan Kehoe <kehoea@parhasard.net> |
30 | 38 |
31 * data.c (Fparse_integer): | 39 * data.c (Fparse_integer): |
32 Document a complication that arises when a leading minus sign has | 40 Document a complication that arises when a leading minus sign has |
33 a digit weight but is nonetheles interpreted as a minus. | 41 a digit weight but is nonetheles interpreted as a minus. |
34 | 42 |
35 2015-03-15 Aidan Kehoe <kehoea@parhasard.net> | 43 2015-03-15 Aidan Kehoe <kehoea@parhasard.net> |
110 replacement object. | 118 replacement object. |
111 | 119 |
112 2015-02-25 Aidan Kehoe <kehoea@parhasard.net> | 120 2015-02-25 Aidan Kehoe <kehoea@parhasard.net> |
113 | 121 |
114 * lread.c (read_atom): Use the new calling convention for | 122 * lread.c (read_atom): Use the new calling convention for |
115 parse_integer(). | 123 parse_integer(). |
116 * lisp.h: Change the declaration of parse_integer (). | 124 * lisp.h: Change the declaration of parse_integer (). |
117 * number.h (bignum_set_emacs_int, make_bignum_emacs_uint): | 125 * number.h (bignum_set_emacs_int, make_bignum_emacs_uint): |
118 New #defines, used in data.c. | 126 New #defines, used in data.c. |
119 * lread.c (read_integer): Ditto. | 127 * lread.c (read_integer): Ditto. |
120 * lread.c (read1): Ditto. | 128 * lread.c (read1): Ditto. |
187 gnutls, and openssl versions to satisfy g++. In the gnutls version, | 195 gnutls, and openssl versions to satisfy g++. In the gnutls version, |
188 use gnutls_certificate_type_t appropriately. | 196 use gnutls_certificate_type_t appropriately. |
189 | 197 |
190 2014-10-25 Michael Sperber <mike@xemacs.org> | 198 2014-10-25 Michael Sperber <mike@xemacs.org> |
191 | 199 |
192 * fontcolor-x.c (x_font_instance_truename): | 200 * fontcolor-x.c (x_font_instance_truename): |
193 * font-mgr.c (Ffc_name_unparse): | 201 * font-mgr.c (Ffc_name_unparse): |
194 * font-mgr.h (PRINT_XFT_PATTERN): Don't modify | 202 * font-mgr.h (PRINT_XFT_PATTERN): Don't modify |
195 fontconfig pattern passed in in place. | 203 fontconfig pattern passed in in place. |
196 | 204 |
197 2014-10-18 Aidan Kehoe <kehoea@parhasard.net> | 205 2014-10-18 Aidan Kehoe <kehoea@parhasard.net> |
198 | 206 |
334 * minibuf.c: | 342 * minibuf.c: |
335 * minibuf.c (echo_area_append): | 343 * minibuf.c (echo_area_append): |
336 Use the new START and END keyword arguments to #'append-message, | 344 Use the new START and END keyword arguments to #'append-message, |
337 rather than consing a new string for basically every #'next-event | 345 rather than consing a new string for basically every #'next-event |
338 prompt displayed. | 346 prompt displayed. |
339 | 347 |
340 2014-07-02 Aidan Kehoe <kehoea@parhasard.net> | 348 2014-07-02 Aidan Kehoe <kehoea@parhasard.net> |
341 | 349 |
342 * keymap.c (Fkeymapp): | 350 * keymap.c (Fkeymapp): |
343 Autoload within this, as documented. Our callers are not prepared | 351 Autoload within this, as documented. Our callers are not prepared |
344 to do the intelligent thing if a symbol that is fboundp to an | 352 to do the intelligent thing if a symbol that is fboundp to an |
378 is deleted, the window display code uses the buffer's actual point | 386 is deleted, the window display code uses the buffer's actual point |
379 instead of the position that the marker had been moved to. | 387 instead of the position that the marker had been moved to. |
380 Fixes Michael Heinrich's problem of | 388 Fixes Michael Heinrich's problem of |
381 http://mid.gmane.org/6zr42uxtf5.fsf@elektra.science-computing.de , | 389 http://mid.gmane.org/6zr42uxtf5.fsf@elektra.science-computing.de , |
382 introduced by Ben's patch of | 390 introduced by Ben's patch of |
383 https://bitbucket.org/xemacs/xemacs/commits/047d37eb70d70f43803 . | 391 https://bitbucket.org/xemacs/xemacs/commits/047d37eb70d70f43803 . |
384 | 392 |
385 2014-05-08 Jerry James <james@xemacs.org> | 393 2014-05-08 Jerry James <james@xemacs.org> |
386 | 394 |
387 * print.c (struct debug_bindings): Add print_circle field. | 395 * print.c (struct debug_bindings): Add print_circle field. |
388 (debug_print_exit): Restore print_circle. | 396 (debug_print_exit): Restore print_circle. |
497 | 505 |
498 Pass character count information from the no-conversion and | 506 Pass character count information from the no-conversion and |
499 unicode coding systems to the buffer insertion code, making | 507 unicode coding systems to the buffer insertion code, making |
500 #'find-file on large buffers a little snappier (if | 508 #'find-file on large buffers a little snappier (if |
501 ERROR_CHECK_TEXT is not defined). | 509 ERROR_CHECK_TEXT is not defined). |
502 | 510 |
503 * file-coding.c: | 511 * file-coding.c: |
504 * file-coding.c (coding_character_tell): New. | 512 * file-coding.c (coding_character_tell): New. |
505 * file-coding.c (conversion_coding_stream_description): New. | 513 * file-coding.c (conversion_coding_stream_description): New. |
506 * file-coding.c (no_conversion_convert): | 514 * file-coding.c (no_conversion_convert): |
507 Update characters_seen when decoding. | 515 Update characters_seen when decoding. |
517 bytecount-to-charcount work especially with large buffers. | 525 bytecount-to-charcount work especially with large buffers. |
518 | 526 |
519 * fileio.c (Finsert_file_contents_internal): | 527 * fileio.c (Finsert_file_contents_internal): |
520 Update this to pass charcount information to | 528 Update this to pass charcount information to |
521 buffer_insert_string_1(), if that is available from the lstream code. | 529 buffer_insert_string_1(), if that is available from the lstream code. |
522 | 530 |
523 * insdel.c: | 531 * insdel.c: |
524 * insdel.c (buffer_insert_string_1): | 532 * insdel.c (buffer_insert_string_1): |
525 Add a new CCLEN argument, giving the character count of the string | 533 Add a new CCLEN argument, giving the character count of the string |
526 to insert. It can be -1 to indicate that te function should work | 534 to insert. It can be -1 to indicate that te function should work |
527 it out itself using bytecount_to_charcount(), as it used to. | 535 it out itself using bytecount_to_charcount(), as it used to. |
622 * data.c (BIGFLOAT_CASE): | 630 * data.c (BIGFLOAT_CASE): |
623 * data.c (ARITHCOMPARE_MANY): | 631 * data.c (ARITHCOMPARE_MANY): |
624 Call promote_args_lazy () here too if WITH_NUMBER_TYPES is defined. | 632 Call promote_args_lazy () here too if WITH_NUMBER_TYPES is defined. |
625 We're not doing the equivalent with the non-NUMBER_TYPES code, but | 633 We're not doing the equivalent with the non-NUMBER_TYPES code, but |
626 that's mostly fine, we are doing it in the bytecode. | 634 that's mostly fine, we are doing it in the bytecode. |
627 | 635 |
628 * number.h: | 636 * number.h: |
629 * number.h (NUMBER_TYPES): | 637 * number.h (NUMBER_TYPES): |
630 * number.h (promote_args_lazy): | 638 * number.h (promote_args_lazy): |
631 Add this, returning LAZY_MARKER_T if both arguments are markers | 639 Add this, returning LAZY_MARKER_T if both arguments are markers |
632 that point to the same buffer. | 640 that point to the same buffer. |
648 2013-09-09 Stephen J. Turnbull <stephen@xemacs.org> | 656 2013-09-09 Stephen J. Turnbull <stephen@xemacs.org> |
649 | 657 |
650 * alloc.c (free_normal_lisp_object): | 658 * alloc.c (free_normal_lisp_object): |
651 Mark unused argument. | 659 Mark unused argument. |
652 | 660 |
653 * bytecode.c (bytecode_negate): | 661 * bytecode.c (bytecode_negate): |
654 * data.c (Fsub1): | 662 * data.c (Fsub1): |
655 Shut up compiler warnings about always true comparisons. | 663 Shut up compiler warnings about always true comparisons. |
656 | 664 |
657 * dired.c (Ffile_attributes): | 665 * dired.c (Ffile_attributes): |
658 Shut up compiler warnings about signedness in comparison. | 666 Shut up compiler warnings about signedness in comparison. |
807 * sysdep.c (qxe_getgrgid): Encapsulation of getgrgid. | 815 * sysdep.c (qxe_getgrgid): Encapsulation of getgrgid. |
808 * syspwd.h: Ditto. | 816 * syspwd.h: Ditto. |
809 | 817 |
810 * dired.c (Ffile_attributes): Added optional ID-FORMAT for | 818 * dired.c (Ffile_attributes): Added optional ID-FORMAT for |
811 compatibility with GNU. | 819 compatibility with GNU. |
812 | 820 |
813 2013-03-28 Jerry James <james@xemacs.org> | 821 2013-03-28 Jerry James <james@xemacs.org> |
814 | 822 |
815 * config.h.in: AC_FUNC_FSEEKO is the name of the autoconf macro. | 823 * config.h.in: AC_FUNC_FSEEKO is the name of the autoconf macro. |
816 HAVE_FSEEKO is the name of the C preprocessor symbol. Do not | 824 HAVE_FSEEKO is the name of the C preprocessor symbol. Do not |
817 confuse the two. | 825 confuse the two. |
942 find_coding_system() should be called. | 950 find_coding_system() should be called. |
943 * file-coding.c (look_for_coding_system_magic_cookie): | 951 * file-coding.c (look_for_coding_system_magic_cookie): |
944 * file-coding.c (determine_real_coding_system): | 952 * file-coding.c (determine_real_coding_system): |
945 * file-coding.c (undecided_convert): | 953 * file-coding.c (undecided_convert): |
946 Use this parameter. | 954 Use this parameter. |
947 * file-coding.c (Ffind_coding_system_magic_cookie_in_file): | 955 * file-coding.c (Ffind_coding_system_magic_cookie_in_file): |
948 New, moved from files.el, so we can use | 956 New, moved from files.el, so we can use |
949 look_for_coding_system_magic_cookie's implementation. | 957 look_for_coding_system_magic_cookie's implementation. |
950 * file-coding.c (syms_of_file_coding): | 958 * file-coding.c (syms_of_file_coding): |
951 Make Ffind_coding_system_magic_cookie_in_file available. | 959 Make Ffind_coding_system_magic_cookie_in_file available. |
952 | 960 |
1171 * minibuf.c (map_completion): New. Map a maphash_function_t across | 1179 * minibuf.c (map_completion): New. Map a maphash_function_t across |
1172 a non function COLLECTION, as appropriate for #'try-completion and | 1180 a non function COLLECTION, as appropriate for #'try-completion and |
1173 friends. | 1181 friends. |
1174 * minibuf.c (map_completion_list): New. Map a maphash_function_t | 1182 * minibuf.c (map_completion_list): New. Map a maphash_function_t |
1175 across a pseudo-alist, as appropriate for the completion | 1183 across a pseudo-alist, as appropriate for the completion |
1176 functions. | 1184 functions. |
1177 * minibuf.c (ignore_completion_p): PRED needs to be called with | 1185 * minibuf.c (ignore_completion_p): PRED needs to be called with |
1178 two args if and only if the collection is a hash table. Implement | 1186 two args if and only if the collection is a hash table. Implement |
1179 this. | 1187 this. |
1180 * minibuf.c (try_completion_mapper): New. The loop body of | 1188 * minibuf.c (try_completion_mapper): New. The loop body of |
1181 #'try-completion, refactored out. | 1189 #'try-completion, refactored out. |
1182 * minibuf.c (Ftry_completion): Use try_completion_mapper(), | 1190 * minibuf.c (Ftry_completion): Use try_completion_mapper(), |
1183 map_completion(). | 1191 map_completion(). |
1184 * minibuf.c (all_completions_mapper): New. The loop body of | 1192 * minibuf.c (all_completions_mapper): New. The loop body of |
1185 #'all-completions, refactored out. | 1193 #'all-completions, refactored out. |
1186 * minibuf.c (Fall_completions): Use all_completions_mapper(), | 1194 * minibuf.c (Fall_completions): Use all_completions_mapper(), |
1187 map_completion(). | 1195 map_completion(). |
1188 * minibuf.c (test_completion_mapper): New. The loop body of | 1196 * minibuf.c (test_completion_mapper): New. The loop body of |
1189 #'test-completion. | 1197 #'test-completion. |
1190 * minibuf.c (Ftest_completion): New, API from GNU. | 1198 * minibuf.c (Ftest_completion): New, API from GNU. |
1191 * minibuf.c (syms_of_minibuf): Make Ftest_completion available. | 1199 * minibuf.c (syms_of_minibuf): Make Ftest_completion available. |
1192 | 1200 |
1193 2011-12-30 Aidan Kehoe <kehoea@parhasard.net> | 1201 2011-12-30 Aidan Kehoe <kehoea@parhasard.net> |
1194 | 1202 |
1345 * redisplay-output.c (output_display_line): | 1353 * redisplay-output.c (output_display_line): |
1346 * redisplay-output.c (redisplay_output_window): | 1354 * redisplay-output.c (redisplay_output_window): |
1347 * redisplay.c (regenerate_window_extents_only_changed): | 1355 * redisplay.c (regenerate_window_extents_only_changed): |
1348 * redisplay.c (regenerate_window_incrementally): Update the | 1356 * redisplay.c (regenerate_window_incrementally): Update the |
1349 comparison tests between the current and desired display lines to | 1357 comparison tests between the current and desired display lines to |
1350 cope for different 'clear_findex values. | 1358 cope for different 'clear_findex values. |
1351 * redisplay.c (create_text_block): Initialize the display line's | 1359 * redisplay.c (create_text_block): Initialize the display line's |
1352 'clear_findex slot to DEFAULT_INDEX. Record a new 'clear_findex | 1360 'clear_findex slot to DEFAULT_INDEX. Record a new 'clear_findex |
1353 value when we encounter a newline character displayed in a flushed | 1361 value when we encounter a newline character displayed in a flushed |
1354 face. | 1362 face. |
1355 * redisplay.c (create_string_text_block): Record a new | 1363 * redisplay.c (create_string_text_block): Record a new |
1397 * alloc.c (print_bit_vector): | 1405 * alloc.c (print_bit_vector): |
1398 * alloc.c (bit_vector_equal): | 1406 * alloc.c (bit_vector_equal): |
1399 * alloc.c (internal_bit_vector_equalp_hash): | 1407 * alloc.c (internal_bit_vector_equalp_hash): |
1400 * alloc.c (bit_vector_hash): | 1408 * alloc.c (bit_vector_hash): |
1401 * alloc.c (init_alloc_once_early): | 1409 * alloc.c (init_alloc_once_early): |
1402 Move the implementation of the bit vector type here from fns.c. | 1410 Move the implementation of the bit vector type here from fns.c. |
1403 | 1411 |
1404 * emacs.c (main_1): | 1412 * emacs.c (main_1): |
1405 Call syms_of_sequence() here, now sequence.c is included. | 1413 Call syms_of_sequence() here, now sequence.c is included. |
1406 | 1414 |
1407 * fns.c (Fold_rassq): | 1415 * fns.c (Fold_rassq): |
2636 MOST_NEGATIVE_FIXNUM), NUMBER_FITS_IN_AN_EMACS_INT() to | 2644 MOST_NEGATIVE_FIXNUM), NUMBER_FITS_IN_AN_EMACS_INT() to |
2637 NUMBER_FITS_IN_A_FIXNUM(), XFLOATINT, XCHAR_OR_INT, INT_OR_FLOAT. | 2645 NUMBER_FITS_IN_A_FIXNUM(), XFLOATINT, XCHAR_OR_INT, INT_OR_FLOAT. |
2638 The EMACS_INT typedef was not changed, it does not describe | 2646 The EMACS_INT typedef was not changed, it does not describe |
2639 non-bignum Lisp integers. | 2647 non-bignum Lisp integers. |
2640 Script that did the change available in | 2648 Script that did the change available in |
2641 http://mid.gmane.org/20067.17650.181273.12014@parhasard.net . | 2649 http://mid.gmane.org/20067.17650.181273.12014@parhasard.net . |
2642 | 2650 |
2643 2011-09-06 Aidan Kehoe <kehoea@parhasard.net> | 2651 2011-09-06 Aidan Kehoe <kehoea@parhasard.net> |
2644 | 2652 |
2645 * redisplay-tty.c (init_tty_for_redisplay): | 2653 * redisplay-tty.c (init_tty_for_redisplay): |
2646 Only set the console meta key flag to treat the eight bit as meta | 2654 Only set the console meta key flag to treat the eight bit as meta |
2772 | 2780 |
2773 2011-08-23 Stephen Turnbull <stephen@xemacs.org> | 2781 2011-08-23 Stephen Turnbull <stephen@xemacs.org> |
2774 | 2782 |
2775 Fix performance regression in refactored syntax cache setup. | 2783 Fix performance regression in refactored syntax cache setup. |
2776 More doc improvements. | 2784 More doc improvements. |
2777 | 2785 |
2778 * syntax.h (enum syntax_source): | 2786 * syntax.h (enum syntax_source): |
2779 New. Specify whether syntax is from property or buffer. | 2787 New. Specify whether syntax is from property or buffer. |
2780 (struct syntax_cache): | 2788 (struct syntax_cache): |
2781 Use enum syntax_source source, instead of no_syntax_table_prop | 2789 Use enum syntax_source source, instead of no_syntax_table_prop |
2782 and use_code. | 2790 and use_code. |
3252 non-zero if the first argument is less than the second, zero | 3260 non-zero if the first argument is less than the second, zero |
3253 otherwise. | 3261 otherwise. |
3254 | 3262 |
3255 2011-01-30 Michael Sperber <mike@xemacs.org> | 3263 2011-01-30 Michael Sperber <mike@xemacs.org> |
3256 | 3264 |
3257 * redisplay.h: | 3265 * redisplay.h: |
3258 * redisplay.c: | 3266 * redisplay.c: |
3259 (redisplay_cancel_ritual_suicide): | 3267 (redisplay_cancel_ritual_suicide): |
3260 * eval.c (throw_or_bomb_out_unsafe): | 3268 * eval.c (throw_or_bomb_out_unsafe): |
3261 * device-x.c (x_IO_error_handler): Don't commit suicide when an X | 3269 * device-x.c (x_IO_error_handler): Don't commit suicide when an X |
3262 device dies. | 3270 device dies. |
3263 | 3271 |
3264 2011-01-23 Aidan Kehoe <kehoea@parhasard.net> | 3272 2011-01-23 Aidan Kehoe <kehoea@parhasard.net> |
3265 | 3273 |
3296 | 3304 |
3297 2011-01-11 Aidan Kehoe <kehoea@parhasard.net> | 3305 2011-01-11 Aidan Kehoe <kehoea@parhasard.net> |
3298 | 3306 |
3299 * device-msw.c (Fmswindows_printer_list): Remove a Fdelete () | 3307 * device-msw.c (Fmswindows_printer_list): Remove a Fdelete () |
3300 call here, remove the necessity for it. | 3308 call here, remove the necessity for it. |
3301 * fns.c (Fdelete, Fdelq): | 3309 * fns.c (Fdelete, Fdelq): |
3302 * lisp.h: | 3310 * lisp.h: |
3303 Move #'delete, #'delq to Lisp, implemented in terms of #'delete* | 3311 Move #'delete, #'delq to Lisp, implemented in terms of #'delete* |
3304 * select.c (Fown_selection_internal): | 3312 * select.c (Fown_selection_internal): |
3305 * select.c (handle_selection_clear): | 3313 * select.c (handle_selection_clear): |
3306 Use delq_no_quit() in these functions, don't reimplement it or use | 3314 Use delq_no_quit() in these functions, don't reimplement it or use |
3311 * mc-alloc.c (get_used_list_index): | 3319 * mc-alloc.c (get_used_list_index): |
3312 Replace some C++ comments with C-style /* comments. | 3320 Replace some C++ comments with C-style /* comments. |
3313 | 3321 |
3314 2011-01-02 Aidan Kehoe <kehoea@parhasard.net> | 3322 2011-01-02 Aidan Kehoe <kehoea@parhasard.net> |
3315 | 3323 |
3316 * fns.c (FdeleteX, FremoveX, Fnsubstitute, Fsubstitute, syms_of_fns): | 3324 * fns.c (FdeleteX, FremoveX, Fnsubstitute, Fsubstitute, syms_of_fns): |
3317 Don't repeat the declaration and DEFSYMBOL() for Qnintersection in | 3325 Don't repeat the declaration and DEFSYMBOL() for Qnintersection in |
3318 this file; don't assume that bignums are always available. Fixes | 3326 this file; don't assume that bignums are always available. Fixes |
3319 some of the build problems the buildbot is showing me at the | 3327 some of the build problems the buildbot is showing me at the |
3320 moment. | 3328 moment. |
3321 (syms_of_fns): Remove a couple more duplicate symbol declarations. | 3329 (syms_of_fns): Remove a couple more duplicate symbol declarations. |
3379 (CHECK_N_KEYWORDS_8, CHECK_N_KEYWORDS_9): | 3387 (CHECK_N_KEYWORDS_8, CHECK_N_KEYWORDS_9): |
3380 Support up to nine keywords in the PARSE_KEYWORDS() macro. | 3388 Support up to nine keywords in the PARSE_KEYWORDS() macro. |
3381 | 3389 |
3382 2010-12-30 Aidan Kehoe <kehoea@parhasard.net> | 3390 2010-12-30 Aidan Kehoe <kehoea@parhasard.net> |
3383 | 3391 |
3384 * elhash.c (syms_of_elhash): | 3392 * elhash.c (syms_of_elhash): |
3385 * chartab.c (syms_of_chartab): | 3393 * chartab.c (syms_of_chartab): |
3386 * abbrev.c (syms_of_abbrev): | 3394 * abbrev.c (syms_of_abbrev): |
3387 * general-slots.h: | 3395 * general-slots.h: |
3388 Move Qcount, Q_default, Q_test to general-slots.h, they're about | 3396 Move Qcount, Q_default, Q_test to general-slots.h, they're about |
3389 to be used by other files. Rename Q_default to Q_default_, for the | 3397 to be used by other files. Rename Q_default to Q_default_, for the |
3591 non-NEW_GC version of this. | 3599 non-NEW_GC version of this. |
3592 (PARSE_KEYWORDS): Fix the indentation for the DEBUG_XEMACS | 3600 (PARSE_KEYWORDS): Fix the indentation for the DEBUG_XEMACS |
3593 version of this macro. | 3601 version of this macro. |
3594 (PARSE_KEYWORDS): Use GET_DEFUN_LISP_OBJECT() for both the NEW_GC | 3602 (PARSE_KEYWORDS): Use GET_DEFUN_LISP_OBJECT() for both the NEW_GC |
3595 and non-NEW_GC versions of this macro, when working out the | 3603 and non-NEW_GC versions of this macro, when working out the |
3596 function's min args. | 3604 function's min args. |
3597 | 3605 |
3598 2010-09-18 Aidan Kehoe <kehoea@parhasard.net> | 3606 2010-09-18 Aidan Kehoe <kehoea@parhasard.net> |
3599 | 3607 |
3600 * lisp.h (PARSE_KEYWORDS): | 3608 * lisp.h (PARSE_KEYWORDS): |
3601 Turns out #elsif is not valid preprocessor syntax, who knew! | 3609 Turns out #elsif is not valid preprocessor syntax, who knew! |
3621 | 3629 |
3622 * fns.c (Fmerge, FsortX, Ffill, Freduce, Freplace): | 3630 * fns.c (Fmerge, FsortX, Ffill, Freduce, Freplace): |
3623 Change to use the new PARSE_KEYWORDS syntax. | 3631 Change to use the new PARSE_KEYWORDS syntax. |
3624 * elhash.c (Fmake_hash_table): Chance to the new PARSE_KEYWORDS | 3632 * elhash.c (Fmake_hash_table): Chance to the new PARSE_KEYWORDS |
3625 syntax, rename a define to correspond to what other files use. | 3633 syntax, rename a define to correspond to what other files use. |
3626 | 3634 |
3627 * symbols.c (intern_massaging_name): | 3635 * symbols.c (intern_massaging_name): |
3628 * buffer.c (ADD_INT): | 3636 * buffer.c (ADD_INT): |
3629 Rename intern_converting_underscores_to_dashes() to | 3637 Rename intern_converting_underscores_to_dashes() to |
3630 intern_massaging_name(), now it does a little more. | 3638 intern_massaging_name(), now it does a little more. |
3631 | 3639 |
3671 with nil and then copy. | 3679 with nil and then copy. |
3672 | 3680 |
3673 (Ffill): | 3681 (Ffill): |
3674 Only check the range arguments for a cons SEQUENCE if we have good | 3682 Only check the range arguments for a cons SEQUENCE if we have good |
3675 reason to think they were badly specified. | 3683 reason to think they were badly specified. |
3676 | 3684 |
3677 (Freduce): | 3685 (Freduce): |
3678 Handle multiple values properly. Add bounds checking to this | 3686 Handle multiple values properly. Add bounds checking to this |
3679 function, as specificied by ANSI Common Lisp. | 3687 function, as specificied by ANSI Common Lisp. |
3680 | 3688 |
3681 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> | 3689 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> |
3684 Add argument information in the arguments: () format for these two | 3692 Add argument information in the arguments: () format for these two |
3685 special operators. | 3693 special operators. |
3686 | 3694 |
3687 2010-09-07 Aidan Kehoe <kehoea@parhasard.net> | 3695 2010-09-07 Aidan Kehoe <kehoea@parhasard.net> |
3688 | 3696 |
3689 * fns.c (Freplace): | 3697 * fns.c (Freplace): |
3690 Replace an accidental double semi-colon with a single semi-colon, | 3698 Replace an accidental double semi-colon with a single semi-colon, |
3691 hopefully fixing Vin's Visual Studio 6 build. (Visual Studio 2005 | 3699 hopefully fixing Vin's Visual Studio 6 build. (Visual Studio 2005 |
3692 had no problem with it, oddly.) | 3700 had no problem with it, oddly.) |
3693 | 3701 |
3694 2010-09-06 Aidan Kehoe <kehoea@parhasard.net> | 3702 2010-09-06 Aidan Kehoe <kehoea@parhasard.net> |
3707 an Ibyte pointer. | 3715 an Ibyte pointer. |
3708 | 3716 |
3709 2010-09-05 Aidan Kehoe <kehoea@parhasard.net> | 3717 2010-09-05 Aidan Kehoe <kehoea@parhasard.net> |
3710 | 3718 |
3711 * chartab.c (char_table_default_for_type, | 3719 * chartab.c (char_table_default_for_type, |
3712 chartab_default_validate): New. | 3720 chartab_default_validate): New. |
3713 (print_char_table, Freset_char_table, chartab_default_validate) | 3721 (print_char_table, Freset_char_table, chartab_default_validate) |
3714 (chartab_instantiate, structure_type_create_chartab): | 3722 (chartab_instantiate, structure_type_create_chartab): |
3715 Accept keyword :default in the read syntax for char tables, and | 3723 Accept keyword :default in the read syntax for char tables, and |
3716 print the default when it is not what was expected for the | 3724 print the default when it is not what was expected for the |
3717 time. Makes it a little easier to debug things. | 3725 time. Makes it a little easier to debug things. |
3769 Avoid algorithmic complexity surprises when checking for | 3777 Avoid algorithmic complexity surprises when checking for |
3770 circularity. In #'mapcon, check a given stretch of | 3778 circularity. In #'mapcon, check a given stretch of |
3771 result for well-formedness once, which was not previously the | 3779 result for well-formedness once, which was not previously the |
3772 case, despite what the comments said. | 3780 case, despite what the comments said. |
3773 (Fmaplist, Fmapl, Fmapcon): | 3781 (Fmaplist, Fmapl, Fmapcon): |
3774 Call maplist() with its new arguments. | 3782 Call maplist() with its new arguments. |
3775 | 3783 |
3776 2010-09-02 Aidan Kehoe <kehoea@parhasard.net> | 3784 2010-09-02 Aidan Kehoe <kehoea@parhasard.net> |
3777 | 3785 |
3778 * process.c (process_getprop, process_putprop, process_remprop) | 3786 * process.c (process_getprop, process_putprop, process_remprop) |
3779 (process_plist, process_setplist, reinit_process_early): | 3787 (process_plist, process_setplist, reinit_process_early): |
3798 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor) | 3806 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor) |
3799 (Ffround, Fftruncate): | 3807 (Ffround, Fftruncate): |
3800 Correct some code formatting here. | 3808 Correct some code formatting here. |
3801 * doprnt.c (emacs_doprnt_1): | 3809 * doprnt.c (emacs_doprnt_1): |
3802 Remove some needless #ifdef WITH_NUMBER_TYPES, now number.h is | 3810 Remove some needless #ifdef WITH_NUMBER_TYPES, now number.h is |
3803 always #included. | 3811 always #included. |
3804 | 3812 |
3805 2010-08-26 Adam Sjøgren <asjo@koldfront.dk> | 3813 2010-08-26 Adam Sjøgren <asjo@koldfront.dk> |
3806 | 3814 |
3807 * glyphs-eimage.c (gif_instantiate): Try harder to find an | 3815 * glyphs-eimage.c (gif_instantiate): Try harder to find an |
3808 appropriate GIF colormap and then flag an error if one can't be | 3816 appropriate GIF colormap and then flag an error if one can't be |
3872 * symsinit.h: | 3880 * symsinit.h: |
3873 * ui-byhand.c: | 3881 * ui-byhand.c: |
3874 * ui-gtk.c: | 3882 * ui-gtk.c: |
3875 * ui-gtk.h: | 3883 * ui-gtk.h: |
3876 Correct FSF address in permission notice. | 3884 Correct FSF address in permission notice. |
3877 | 3885 |
3878 2010-06-08 Aidan Kehoe <kehoea@parhasard.net> | 3886 2010-06-08 Aidan Kehoe <kehoea@parhasard.net> |
3879 | 3887 |
3880 * alloc.c (Fpurecopy): | 3888 * alloc.c (Fpurecopy): |
3881 Moved to obsolete.el as an alias for #'identity, marked obsolete. | 3889 Moved to obsolete.el as an alias for #'identity, marked obsolete. |
3882 | 3890 |
3929 | 3937 |
3930 * config.h.in (NEED_TO_HANDLE_21_4_CODE): | 3938 * config.h.in (NEED_TO_HANDLE_21_4_CODE): |
3931 New #define, always 1 for the moment, replacing the previous | 3939 New #define, always 1 for the moment, replacing the previous |
3932 never-really-used NO_NEED_TO_HANDLE_21_4_CODE, and avoiding | 3940 never-really-used NO_NEED_TO_HANDLE_21_4_CODE, and avoiding |
3933 confusing syntax. | 3941 confusing syntax. |
3934 | 3942 |
3935 * eval.c (Ffuncall): Wrap the hack that allows #'throw to be | 3943 * eval.c (Ffuncall): Wrap the hack that allows #'throw to be |
3936 funcalled in #ifdef NEED_TO_HANDLE_21_4_CODE. | 3944 funcalled in #ifdef NEED_TO_HANDLE_21_4_CODE. |
3937 * elhash.c (syms_of_elhash): Move Q_type, Q_data to | 3945 * elhash.c (syms_of_elhash): Move Q_type, Q_data to |
3938 general-slots.h. Change to NEED_TO_HANDLE_21_4_CODE throughout | 3946 general-slots.h. Change to NEED_TO_HANDLE_21_4_CODE throughout |
3939 this file. | 3947 this file. |
3954 * window.c (compute_window_usage): Unbreak `show-memory-usage' for | 3962 * window.c (compute_window_usage): Unbreak `show-memory-usage' for |
3955 NEW_GC. | 3963 NEW_GC. |
3956 | 3964 |
3957 2010-05-28 Marcus Crestani <crestani@informatik.uni-tuebingen.de> | 3965 2010-05-28 Marcus Crestani <crestani@informatik.uni-tuebingen.de> |
3958 | 3966 |
3959 * mc-alloc.c: | 3967 * mc-alloc.c: |
3960 * mc-alloc.c (visit_all_used_page_headers): | 3968 * mc-alloc.c (visit_all_used_page_headers): |
3961 * mc-alloc.c (install_page_in_used_list): | 3969 * mc-alloc.c (install_page_in_used_list): |
3962 * mc-alloc.c (mc_alloc_1): | 3970 * mc-alloc.c (mc_alloc_1): |
3963 * mc-alloc.c (init_mc_allocator): | 3971 * mc-alloc.c (init_mc_allocator): |
3964 * mc-alloc.c (Fmc_alloc_memory_usage): Allocate lrecord arrays in | 3972 * mc-alloc.c (Fmc_alloc_memory_usage): Allocate lrecord arrays in |
3965 own size class. | 3973 own size class. |
3966 | 3974 |
3967 2010-05-24 Mike Sperber <mike@xemacs.org> | 3975 2010-05-24 Mike Sperber <mike@xemacs.org> |
3968 | 3976 |
3985 2010-05-16 Aidan Kehoe <kehoea@parhasard.net> | 3993 2010-05-16 Aidan Kehoe <kehoea@parhasard.net> |
3986 | 3994 |
3987 Move `default-file-system-ignore-case' to C; pay attention to it | 3995 Move `default-file-system-ignore-case' to C; pay attention to it |
3988 in creating the directory hash tables for #'locate-file. Fix a bug | 3996 in creating the directory hash tables for #'locate-file. Fix a bug |
3989 where #'eq was specified when creating directory hash tables in | 3997 where #'eq was specified when creating directory hash tables in |
3990 dired.c. | 3998 dired.c. |
3991 | 3999 |
3992 * config.h.in (DEFAULT_FILE_SYSTEM_IGNORE_CASE): This is 1 on | 4000 * config.h.in (DEFAULT_FILE_SYSTEM_IGNORE_CASE): This is 1 on |
3993 Darwin. | 4001 Darwin. |
3994 * dired.c (make_directory_hash_table): If | 4002 * dired.c (make_directory_hash_table): If |
3995 #'file-system-ignore-case-p gives non-nil for a directory, created | 4003 #'file-system-ignore-case-p gives non-nil for a directory, created |
4053 * lisp.h (XREALLOC_ARRAY): | 4061 * lisp.h (XREALLOC_ARRAY): |
4054 * text.h: | 4062 * text.h: |
4055 Port charset_codepoint_to_itext(), buffer_itext_to_charset_codepoint(), | 4063 Port charset_codepoint_to_itext(), buffer_itext_to_charset_codepoint(), |
4056 EXTBYTE_STRING_TO_ALLOCA(), `enum converr' from ben-unicode-internal, | 4064 EXTBYTE_STRING_TO_ALLOCA(), `enum converr' from ben-unicode-internal, |
4057 for use with the mule-wnnfns.c changes. | 4065 for use with the mule-wnnfns.c changes. |
4058 | 4066 |
4059 * mule-wnnfns.c: | 4067 * mule-wnnfns.c: |
4060 * mule-wnnfns.c (Fwnn_open): | 4068 * mule-wnnfns.c (Fwnn_open): |
4061 * mule-wnnfns.c (Fwnn_dict_add): | 4069 * mule-wnnfns.c (Fwnn_dict_add): |
4062 * mule-wnnfns.c (Fwnn_dict_list): | 4070 * mule-wnnfns.c (Fwnn_dict_list): |
4063 * mule-wnnfns.c (Fwnn_get_zenkouho): | 4071 * mule-wnnfns.c (Fwnn_get_zenkouho): |
4131 Cast to EMACS_INT to fix warning. | 4139 Cast to EMACS_INT to fix warning. |
4132 | 4140 |
4133 * elhash.c (internal_hash): | 4141 * elhash.c (internal_hash): |
4134 * elhash.c (Feql_hash): | 4142 * elhash.c (Feql_hash): |
4135 Fix spacing before parens. | 4143 Fix spacing before parens. |
4136 | 4144 |
4137 * general-slots.h: | 4145 * general-slots.h: |
4138 * xemacs.def.in.in: | 4146 * xemacs.def.in.in: |
4139 Export Qfixnump to fix eldap.c link error. | 4147 Export Qfixnump to fix eldap.c link error. |
4140 | 4148 |
4141 2010-04-06 Aidan Kehoe <kehoea@parhasard.net> | 4149 2010-04-06 Aidan Kehoe <kehoea@parhasard.net> |
4142 | 4150 |
4143 * toolbar-msw.c (allocate_toolbar_item_id) | 4151 * toolbar-msw.c (allocate_toolbar_item_id) |
4144 (mswindows_output_toolbar): | 4152 (mswindows_output_toolbar): |
4145 * menubar-msw.c (allocate_menu_item_id, checksum_menu_item): | 4153 * menubar-msw.c (allocate_menu_item_id, checksum_menu_item): |
4146 * glyphs-msw.c (mswindows_image_instance_hash): | 4154 * glyphs-msw.c (mswindows_image_instance_hash): |
4147 * fontcolor-msw.c (mswindows_color_instance_equal): | 4155 * fontcolor-msw.c (mswindows_color_instance_equal): |
4148 * device-msw.c (hash_devmode): | 4156 * device-msw.c (hash_devmode): |
4149 Call internal_hash() with the correct number of arguments, declare | 4157 Call internal_hash() with the correct number of arguments, declare |
4150 various hash methods with the correct number of arguments, fixing | 4158 various hash methods with the correct number of arguments, fixing |
4204 * font-mgr.c (syms_of_font_mgr): | 4212 * font-mgr.c (syms_of_font_mgr): |
4205 * font-mgr.c (vars_of_font_mgr): | 4213 * font-mgr.c (vars_of_font_mgr): |
4206 * font-mgr.c (complex_vars_of_font_mgr): | 4214 * font-mgr.c (complex_vars_of_font_mgr): |
4207 Fix the code to conform to GNU style standards. | 4215 Fix the code to conform to GNU style standards. |
4208 Rename xft-debug-level to debug-xft. | 4216 Rename xft-debug-level to debug-xft. |
4209 | 4217 |
4210 * fontcolor-x.c: | 4218 * fontcolor-x.c: |
4211 * fontcolor-x.c (vars_of_fontcolor_x): | 4219 * fontcolor-x.c (vars_of_fontcolor_x): |
4212 Rename debug-x-objects to debug-x-fonts. | 4220 Rename debug-x-objects to debug-x-fonts. |
4213 | 4221 |
4214 * fontcolor-xlike-inc.c: | 4222 * fontcolor-xlike-inc.c: |
4215 * fontcolor-xlike-inc.c (DEBUG_FONTS1): | 4223 * fontcolor-xlike-inc.c (DEBUG_FONTS1): |
4216 * fontcolor-xlike-inc.c (DEBUG_FONTS2): | 4224 * fontcolor-xlike-inc.c (DEBUG_FONTS2): |
4217 * fontcolor-xlike-inc.c (DEBUG_FONTS3): | 4225 * fontcolor-xlike-inc.c (DEBUG_FONTS3): |
4218 * fontcolor-xlike-inc.c (DEBUG_FONTS4): | 4226 * fontcolor-xlike-inc.c (DEBUG_FONTS4): |
4221 * fontcolor-xlike-inc.c (XFUN): | 4229 * fontcolor-xlike-inc.c (XFUN): |
4222 * fontcolor-xlike-inc.c (xlistfonts_checking_charset): | 4230 * fontcolor-xlike-inc.c (xlistfonts_checking_charset): |
4223 * fontcolor-xlike-inc.c (xft_find_charset_font): | 4231 * fontcolor-xlike-inc.c (xft_find_charset_font): |
4224 Misc. code fixes, mostly cosmetic. Get rid of some warnings. | 4232 Misc. code fixes, mostly cosmetic. Get rid of some warnings. |
4225 Fix the code to conform to GNU style standards. | 4233 Fix the code to conform to GNU style standards. |
4226 | 4234 |
4227 * lisp.h: | 4235 * lisp.h: |
4228 * print.c: | 4236 * print.c: |
4229 * print.c (debug_out_lisp): | 4237 * print.c (debug_out_lisp): |
4230 New function for doing printf-like formatting involving Lisp objects | 4238 New function for doing printf-like formatting involving Lisp objects |
4231 and outputting to the debug output. | 4239 and outputting to the debug output. |
4322 (describe_map_sort_predicate): | 4330 (describe_map_sort_predicate): |
4323 Change the calling semantics of the C sort predicates to return a | 4331 Change the calling semantics of the C sort predicates to return a |
4324 non-nil Lisp object if the first argument is less than the second, | 4332 non-nil Lisp object if the first argument is less than the second, |
4325 rather than C integers. | 4333 rather than C integers. |
4326 | 4334 |
4327 * fontcolor-msw.c (sort_font_list_function): | 4335 * fontcolor-msw.c (sort_font_list_function): |
4328 * fileio.c (build_annotations): | 4336 * fileio.c (build_annotations): |
4329 * dired.c (Fdirectory_files): | 4337 * dired.c (Fdirectory_files): |
4330 * abbrev.c (Finsert_abbrev_table_description): | 4338 * abbrev.c (Finsert_abbrev_table_description): |
4331 Call list_sort instead of Fsort, list_merge instead of merge() in | 4339 Call list_sort instead of Fsort, list_merge instead of merge() in |
4332 these functions. | 4340 these functions. |
4342 * alloc.c: | 4350 * alloc.c: |
4343 * alloc.c (lisp_object_storage_size): | 4351 * alloc.c (lisp_object_storage_size): |
4344 * alloc.c (Fobject_memory_usage): | 4352 * alloc.c (Fobject_memory_usage): |
4345 * alloc.c (lisp_object_memory_usage_full): | 4353 * alloc.c (lisp_object_memory_usage_full): |
4346 Don't crash if passed a non-record object (int or char). | 4354 Don't crash if passed a non-record object (int or char). |
4347 | 4355 |
4348 * alloc.c (tree_memory_usage_1): | 4356 * alloc.c (tree_memory_usage_1): |
4349 * lrecord.h: | 4357 * lrecord.h: |
4350 New function tree_memory_usage() to return the memory usage of | 4358 New function tree_memory_usage() to return the memory usage of |
4351 a tree of conses and/or vectors. | 4359 a tree of conses and/or vectors. |
4352 | 4360 |
4353 * lisp.h: | 4361 * lisp.h: |
4354 * lisp.h (PRIVATE_UNVERIFIED_LIST_LOOP_7): | 4362 * lisp.h (PRIVATE_UNVERIFIED_LIST_LOOP_7): |
4355 Add SAFE_LIST_LOOP_* functions for looping over a list not known | 4363 Add SAFE_LIST_LOOP_* functions for looping over a list not known |
4356 to be correct or non-circular, but without signalling an error -- | 4364 to be correct or non-circular, but without signalling an error -- |
4357 instead, just stop enumerating when an error detected. | 4365 instead, just stop enumerating when an error detected. |
4358 | 4366 |
4359 * emacs.c (main_1): | 4367 * emacs.c (main_1): |
4360 * specifier.c: | 4368 * specifier.c: |
4361 * specifier.c (specifier_memory_usage): | 4369 * specifier.c (specifier_memory_usage): |
4362 * specifier.c (vars_of_specifier): | 4370 * specifier.c (vars_of_specifier): |
4363 * symsinit.h: | 4371 * symsinit.h: |
4365 | 4373 |
4366 2010-03-28 Ben Wing <ben@xemacs.org> | 4374 2010-03-28 Ben Wing <ben@xemacs.org> |
4367 | 4375 |
4368 * window.c (find_window_mirror_internal): | 4376 * window.c (find_window_mirror_internal): |
4369 Stop looking if no window mirror, and return 0. | 4377 Stop looking if no window mirror, and return 0. |
4370 | 4378 |
4371 * window.c (window_display_lines): | 4379 * window.c (window_display_lines): |
4372 * window.c (window_display_buffer): | 4380 * window.c (window_display_buffer): |
4373 * window.c (set_window_display_buffer): | 4381 * window.c (set_window_display_buffer): |
4374 Don't need to update window mirror before calling find_window_mirror | 4382 Don't need to update window mirror before calling find_window_mirror |
4375 because does the updating automatically. | 4383 because does the updating automatically. |
4397 | 4405 |
4398 Add functions lisp_object_memory_usage_full() and | 4406 Add functions lisp_object_memory_usage_full() and |
4399 lisp_object_memory_usage() to compute the total memory usage of an | 4407 lisp_object_memory_usage() to compute the total memory usage of an |
4400 object (sum of object, non-Lisp attached, and Lisp ancillary | 4408 object (sum of object, non-Lisp attached, and Lisp ancillary |
4401 memory). | 4409 memory). |
4402 | 4410 |
4403 * array.c: | 4411 * array.c: |
4404 * array.c (gap_array_memory_usage): | 4412 * array.c (gap_array_memory_usage): |
4405 * array.h: | 4413 * array.h: |
4406 Add function to return memory usage of a gap array. | 4414 Add function to return memory usage of a gap array. |
4407 | 4415 |
4408 * buffer.c (struct buffer_stats): | 4416 * buffer.c (struct buffer_stats): |
4409 * buffer.c (compute_buffer_usage): | 4417 * buffer.c (compute_buffer_usage): |
4410 * buffer.c (vars_of_buffer): | 4418 * buffer.c (vars_of_buffer): |
4411 * extents.c (compute_buffer_extent_usage): | 4419 * extents.c (compute_buffer_extent_usage): |
4412 * marker.c: | 4420 * marker.c: |
4419 change the value of `memusage_stats_list' so that `markers' and | 4427 change the value of `memusage_stats_list' so that `markers' and |
4420 `extents' memory is in Lisp-ancillary, where it belongs. | 4428 `extents' memory is in Lisp-ancillary, where it belongs. |
4421 | 4429 |
4422 In compute_buffer_marker_usage(), use lisp_object_memory_usage() | 4430 In compute_buffer_marker_usage(), use lisp_object_memory_usage() |
4423 rather than lisp_object_storage_size(). | 4431 rather than lisp_object_storage_size(). |
4424 | 4432 |
4425 * casetab.c: | 4433 * casetab.c: |
4426 * casetab.c (case_table_memory_usage): | 4434 * casetab.c (case_table_memory_usage): |
4427 * casetab.c (vars_of_casetab): | 4435 * casetab.c (vars_of_casetab): |
4428 * emacs.c (main_1): | 4436 * emacs.c (main_1): |
4429 Add memory usage stats for case tables. | 4437 Add memory usage stats for case tables. |
4430 | 4438 |
4431 * lisp.h: | 4439 * lisp.h: |
4432 Add comment explaining the `struct generic_usage_stats' more, | 4440 Add comment explaining the `struct generic_usage_stats' more, |
4433 as well as the new fields in lrecord_implementation. | 4441 as well as the new fields in lrecord_implementation. |
4434 | 4442 |
4435 * console-impl.h: | 4443 * console-impl.h: |
4463 non-Lisp extra memory, and Lisp ancillary memory. For example, | 4471 non-Lisp extra memory, and Lisp ancillary memory. For example, |
4464 redisplay structures are non-Lisp memory hanging off a window | 4472 redisplay structures are non-Lisp memory hanging off a window |
4465 mirror, not a window; make it an ancillary Lisp-object field. | 4473 mirror, not a window; make it an ancillary Lisp-object field. |
4466 Window mirrors and scrollbar instances have their own statistics, | 4474 Window mirrors and scrollbar instances have their own statistics, |
4467 among other things. | 4475 among other things. |
4468 | 4476 |
4469 2010-03-24 Ben Wing <ben@xemacs.org> | 4477 2010-03-24 Ben Wing <ben@xemacs.org> |
4470 | 4478 |
4471 * array.h: | 4479 * array.h: |
4472 * array.h (XD_LISP_DYNARR_DESC): | 4480 * array.h (XD_LISP_DYNARR_DESC): |
4473 * dumper.c (pdump_register_sub): | 4481 * dumper.c (pdump_register_sub): |
4517 call it with various parameter values. Add an `is_lisp' field to | 4525 call it with various parameter values. Add an `is_lisp' field to |
4518 the stack and backtrace structures and use it to keep track of | 4526 the stack and backtrace structures and use it to keep track of |
4519 whether an object pushed onto the stack is a Lisp object or a | 4527 whether an object pushed onto the stack is a Lisp object or a |
4520 non-Lisp structure; in kkcc_backtrace_1(), don't try to print a | 4528 non-Lisp structure; in kkcc_backtrace_1(), don't try to print a |
4521 non-Lisp structure as a Lisp object. | 4529 non-Lisp structure as a Lisp object. |
4522 | 4530 |
4523 * elhash.c: | 4531 * elhash.c: |
4524 * extents.c: | 4532 * extents.c: |
4525 * file-coding.c: | 4533 * file-coding.c: |
4526 * lrecord.h: | 4534 * lrecord.h: |
4527 * lrecord.h (IF_NEW_GC): | 4535 * lrecord.h (IF_NEW_GC): |
4536 Use them appropriately. | 4544 Use them appropriately. |
4537 | 4545 |
4538 * extents.c (finalize_extent_info): | 4546 * extents.c (finalize_extent_info): |
4539 Don't zero out data->soe and data->extents before trying to free, | 4547 Don't zero out data->soe and data->extents before trying to free, |
4540 else we get memory leaks. | 4548 else we get memory leaks. |
4541 | 4549 |
4542 * lrecord.h (enum lrecord_type): | 4550 * lrecord.h (enum lrecord_type): |
4543 Make the first lrecord type have value 1 not 0 so that 0 remains | 4551 Make the first lrecord type have value 1 not 0 so that 0 remains |
4544 without implementation and attempts to interpret zeroed memory | 4552 without implementation and attempts to interpret zeroed memory |
4545 as a Lisp object will be more obvious. | 4553 as a Lisp object will be more obvious. |
4546 | 4554 |
4731 special entry for string headers in the object-memory-usage-stats | 4739 special entry for string headers in the object-memory-usage-stats |
4732 because it's already present as just "string". But do count the | 4740 because it's already present as just "string". But do count the |
4733 overhead used by long strings. Don't try to call the | 4741 overhead used by long strings. Don't try to call the |
4734 memory_usage() methods when NEW_GC because there's nowhere obvious | 4742 memory_usage() methods when NEW_GC because there's nowhere obvious |
4735 in the sweep stage to make the calls. | 4743 in the sweep stage to make the calls. |
4736 | 4744 |
4737 * marker.c (compute_buffer_marker_usage): | 4745 * marker.c (compute_buffer_marker_usage): |
4738 Just use lisp_object_storage_size() rather than trying to | 4746 Just use lisp_object_storage_size() rather than trying to |
4739 reimplement it. | 4747 reimplement it. |
4740 | 4748 |
4741 2010-03-19 Ben Wing <ben@xemacs.org> | 4749 2010-03-19 Ben Wing <ben@xemacs.org> |
4754 of the same type. At end of sweep time, call | 4762 of the same type. At end of sweep time, call |
4755 finish_object_memory_usage_stats() to add up all the aggreggrate | 4763 finish_object_memory_usage_stats() to add up all the aggreggrate |
4756 stats that are related to non-Lisp memory storage to compute | 4764 stats that are related to non-Lisp memory storage to compute |
4757 a single value, and add it to the list of values returned by | 4765 a single value, and add it to the list of values returned by |
4758 `garbage-collect' and `object-memory-usage-stats'. | 4766 `garbage-collect' and `object-memory-usage-stats'. |
4759 | 4767 |
4760 * buffer.c (compute_buffer_text_usage): | 4768 * buffer.c (compute_buffer_text_usage): |
4761 Don't crash on buffers without text (killed buffers?) and don't | 4769 Don't crash on buffers without text (killed buffers?) and don't |
4762 double-count indirect buffers. | 4770 double-count indirect buffers. |
4763 | 4771 |
4764 * elhash.c: | 4772 * elhash.c: |
4765 * elhash.c (hash_table_objects_create): | 4773 * elhash.c (hash_table_objects_create): |
4766 * elhash.c (vars_of_elhash): | 4774 * elhash.c (vars_of_elhash): |
4767 * symsinit.h: | 4775 * symsinit.h: |
4768 Add memory-usage method to count the size of `hentries'. | 4776 Add memory-usage method to count the size of `hentries'. |
4769 | 4777 |
4770 * emacs.c (main_1): | 4778 * emacs.c (main_1): |
4771 Call new functions in elhash.c, frame.c at init. | 4779 Call new functions in elhash.c, frame.c at init. |
4772 | 4780 |
4773 * frame.c: | 4781 * frame.c: |
4774 * frame.c (compute_frame_usage): | 4782 * frame.c (compute_frame_usage): |
4775 * frame.c (frame_memory_usage): | 4783 * frame.c (frame_memory_usage): |
4776 * frame.c (frame_objects_create): | 4784 * frame.c (frame_objects_create): |
4777 * symsinit.h: | 4785 * symsinit.h: |
4778 Add memory-usage method to count gutter display structures, | 4786 Add memory-usage method to count gutter display structures, |
4779 subwindow exposures. | 4787 subwindow exposures. |
4780 | 4788 |
4781 * gc.c (gc_finish): | 4789 * gc.c (gc_finish): |
4782 * lisp.h: | 4790 * lisp.h: |
4783 Declare finish_object_memory_usage_stats(), call it in gc_finish(). | 4791 Declare finish_object_memory_usage_stats(), call it in gc_finish(). |
4784 | 4792 |
4785 * lrecord.h (struct lrecord_implementation): | 4793 * lrecord.h (struct lrecord_implementation): |
4786 * lrecord.h (INIT_MEMORY_USAGE_STATS): | 4794 * lrecord.h (INIT_MEMORY_USAGE_STATS): |
4787 New value in implementation struct to track number of non-Lisp-memory | 4795 New value in implementation struct to track number of non-Lisp-memory |
4788 statistics. Computed in alloc.c. | 4796 statistics. Computed in alloc.c. |
4789 | 4797 |
4790 | 4798 |
4791 2010-03-18 Ben Wing <ben@xemacs.org> | 4799 2010-03-18 Ben Wing <ben@xemacs.org> |
4792 | 4800 |
4793 * alloc.c: | 4801 * alloc.c: |
4794 * alloc.c (disksave_object_finalization_1): | 4802 * alloc.c (disksave_object_finalization_1): |
4988 an array: listn() (number of args given), listu() (list terminated | 4996 an array: listn() (number of args given), listu() (list terminated |
4989 by Qunbound). | 4997 by Qunbound). |
4990 | 4998 |
4991 (4) Delete a bit of remaining unused C window_config stuff, also | 4999 (4) Delete a bit of remaining unused C window_config stuff, also |
4992 unused lrecord_type_popup_data. | 5000 unused lrecord_type_popup_data. |
4993 | 5001 |
4994 | 5002 |
4995 2010-03-18 Ben Wing <ben@xemacs.org> | 5003 2010-03-18 Ben Wing <ben@xemacs.org> |
4996 | 5004 |
4997 * tests.c: | 5005 * tests.c: |
4998 * tests.c (Ftest_data_format_conversion): | 5006 * tests.c (Ftest_data_format_conversion): |
4999 Need to GCPRO newly created objects or we'll eventually get | 5007 Need to GCPRO newly created objects or we'll eventually get |
5002 2010-03-16 Ben Wing <ben@xemacs.org> | 5010 2010-03-16 Ben Wing <ben@xemacs.org> |
5003 | 5011 |
5004 * alloc.c (make_lcrecord_list): | 5012 * alloc.c (make_lcrecord_list): |
5005 * alloc.c (alloc_managed_lcrecord): | 5013 * alloc.c (alloc_managed_lcrecord): |
5006 Fix compilation problems identified by Robert Delius Royar. | 5014 Fix compilation problems identified by Robert Delius Royar. |
5007 | 5015 |
5008 2010-03-15 Ben Wing <ben@xemacs.org> | 5016 2010-03-15 Ben Wing <ben@xemacs.org> |
5009 | 5017 |
5010 * extents.c (Fprevious_single_property_change): | 5018 * extents.c (Fprevious_single_property_change): |
5011 * extents.c (Fnext_single_char_property_change): | 5019 * extents.c (Fnext_single_char_property_change): |
5012 * extents.c (Fprevious_single_char_property_change): | 5020 * extents.c (Fprevious_single_char_property_change): |
5154 | 5162 |
5155 * lisp.h: | 5163 * lisp.h: |
5156 * lisp.h (redo-symbols): Removed. | 5164 * lisp.h (redo-symbols): Removed. |
5157 Put the Lisp variables and symbols where they belong, with other | 5165 Put the Lisp variables and symbols where they belong, with other |
5158 stuff related to the file they're in. | 5166 stuff related to the file they're in. |
5159 | 5167 |
5160 * event-Xt.c (THIS_IS_X): | 5168 * event-Xt.c (THIS_IS_X): |
5161 * event-Xt.c (syms_of_event_Xt): | 5169 * event-Xt.c (syms_of_event_Xt): |
5162 * event-Xt.c (reinit_vars_of_event_Xt): | 5170 * event-Xt.c (reinit_vars_of_event_Xt): |
5163 * event-gtk.c: | 5171 * event-gtk.c: |
5164 * event-gtk.c (syms_of_event_gtk): | 5172 * event-gtk.c (syms_of_event_gtk): |
5170 * events.c (vars_of_events): | 5178 * events.c (vars_of_events): |
5171 `sans-modifiers' was defsymbol'ed more than once. Move it to | 5179 `sans-modifiers' was defsymbol'ed more than once. Move it to |
5172 events-stream.c. `self-insert-command' was defsymbol'ed more than once. | 5180 events-stream.c. `self-insert-command' was defsymbol'ed more than once. |
5173 Vevent_resource should be staticpro_nodump()ed as it's declared in | 5181 Vevent_resource should be staticpro_nodump()ed as it's declared in |
5174 a reinit_*() method. | 5182 a reinit_*() method. |
5175 | 5183 |
5176 * lread.c (vars_of_lread): | 5184 * lread.c (vars_of_lread): |
5177 Vfile_domain wasn't staticpro'ed. | 5185 Vfile_domain wasn't staticpro'ed. |
5178 | 5186 |
5179 * minibuf.c: | 5187 * minibuf.c: |
5180 * minibuf.c (reinit_complex_vars_of_minibuf): | 5188 * minibuf.c (reinit_complex_vars_of_minibuf): |
5181 Vminibuffer_zero and Vecho_area_buffer weren't staticpro'ed. | 5189 Vminibuffer_zero and Vecho_area_buffer weren't staticpro'ed. |
5182 | 5190 |
5183 2010-03-12 Ben Wing <ben@xemacs.org> | 5191 2010-03-12 Ben Wing <ben@xemacs.org> |
5328 | 5336 |
5329 2010-03-06 Ben Wing <ben@xemacs.org> | 5337 2010-03-06 Ben Wing <ben@xemacs.org> |
5330 | 5338 |
5331 * frame.c (change_frame_size_1): | 5339 * frame.c (change_frame_size_1): |
5332 Add a comment about where FRAME_PIXWIDTH/FRAME_PIXHEIGHT is set. | 5340 Add a comment about where FRAME_PIXWIDTH/FRAME_PIXHEIGHT is set. |
5333 | 5341 |
5334 2010-03-05 Ben Wing <ben@xemacs.org> | 5342 2010-03-05 Ben Wing <ben@xemacs.org> |
5335 | 5343 |
5336 * frame.c: | 5344 * frame.c: |
5337 * frame.c (Fframe_pixel_height): | 5345 * frame.c (Fframe_pixel_height): |
5338 * frame.c (Fframe_displayable_pixel_height): | 5346 * frame.c (Fframe_displayable_pixel_height): |
5368 * frame.c (adjust_frame_size): | 5376 * frame.c (adjust_frame_size): |
5369 Add documentation on the different types of units used to measure | 5377 Add documentation on the different types of units used to measure |
5370 frame size. | 5378 frame size. |
5371 | 5379 |
5372 Add section headers to the various sections. | 5380 Add section headers to the various sections. |
5373 | 5381 |
5374 Rearrange the location of some functions in the file to keep | 5382 Rearrange the location of some functions in the file to keep |
5375 related functions together. This especially goes for frame-sizing | 5383 related functions together. This especially goes for frame-sizing |
5376 functions (internal_set_frame_size() and adjust_frame_size()), | 5384 functions (internal_set_frame_size() and adjust_frame_size()), |
5377 which have been moved so that they form a group with | 5385 which have been moved so that they form a group with |
5378 change_frame_size() and change_frame_size_1(). | 5386 change_frame_size() and change_frame_size_1(). |
5708 | 5716 |
5709 (4) Separate finalizer method into finalizer and disksaver, so | 5717 (4) Separate finalizer method into finalizer and disksaver, so |
5710 that normal finalize methods don't have to worry about disksaving. | 5718 that normal finalize methods don't have to worry about disksaving. |
5711 | 5719 |
5712 Other specifics: | 5720 Other specifics: |
5713 | 5721 |
5714 (1) Renaming: | 5722 (1) Renaming: |
5715 | 5723 |
5716 LISP_OBJECT_HEADER -> NORMAL_LISP_OBJECT_HEADER | 5724 LISP_OBJECT_HEADER -> NORMAL_LISP_OBJECT_HEADER |
5717 ALLOC_LISP_OBJECT -> ALLOC_NORMAL_LISP_OBJECT | 5725 ALLOC_LISP_OBJECT -> ALLOC_NORMAL_LISP_OBJECT |
5718 implementation->basic_p -> implementation->frob_block_p | 5726 implementation->basic_p -> implementation->frob_block_p |
5721 *FCPATTERN*, wrap_fcpattern -> *FC_PATTERN*, wrap_fc_pattern | 5729 *FCPATTERN*, wrap_fcpattern -> *FC_PATTERN*, wrap_fc_pattern |
5722 | 5730 |
5723 (the last two changes make the naming of these macros consistent | 5731 (the last two changes make the naming of these macros consistent |
5724 with the naming of all other macros, since the objects are named | 5732 with the naming of all other macros, since the objects are named |
5725 fc-config and fc-pattern with a hyphen) | 5733 fc-config and fc-pattern with a hyphen) |
5726 | 5734 |
5727 (2) Lots of documentation fixes in lrecord.h. | 5735 (2) Lots of documentation fixes in lrecord.h. |
5728 | 5736 |
5729 (3) Eliminate macros for copying, freeing, zeroing objects, getting | 5737 (3) Eliminate macros for copying, freeing, zeroing objects, getting |
5730 their storage size. Instead, new functions: | 5738 their storage size. Instead, new functions: |
5731 | 5739 |
5764 Vextent_auxiliary_defaults, and make extent auxiliaries dumpable | 5772 Vextent_auxiliary_defaults, and make extent auxiliaries dumpable |
5765 so that this object can be dumped. allocate_extent_auxiliary() | 5773 so that this object can be dumped. allocate_extent_auxiliary() |
5766 now just creates the object, and attach_extent_auxiliary() | 5774 now just creates the object, and attach_extent_auxiliary() |
5767 creates an extent auxiliary and attaches to an extent, like the | 5775 creates an extent auxiliary and attaches to an extent, like the |
5768 old allocate_extent_auxiliary(). | 5776 old allocate_extent_auxiliary(). |
5769 | 5777 |
5770 (6) Create EXTENT_AUXILIARY_SLOTS macro, similar to the foo-slots.h | 5778 (6) Create EXTENT_AUXILIARY_SLOTS macro, similar to the foo-slots.h |
5771 files but in a macro instead of a file. The purpose is to avoid | 5779 files but in a macro instead of a file. The purpose is to avoid |
5772 duplication when iterating over all the slots in an extent auxiliary. | 5780 duplication when iterating over all the slots in an extent auxiliary. |
5773 Use it. | 5781 Use it. |
5774 | 5782 |
5778 (8) In marker.c, fix a mistake in computing marker overhead. | 5786 (8) In marker.c, fix a mistake in computing marker overhead. |
5779 | 5787 |
5780 (9) In print.c, clean up printing_unreadable_lcrecord(), | 5788 (9) In print.c, clean up printing_unreadable_lcrecord(), |
5781 external_object_printer() to avoid lots of ifdef NEW_GC's. | 5789 external_object_printer() to avoid lots of ifdef NEW_GC's. |
5782 | 5790 |
5783 (10) Separate toolbar-button allocation into a separate | 5791 (10) Separate toolbar-button allocation into a separate |
5784 allocate_toolbar_button() function for use in the example code | 5792 allocate_toolbar_button() function for use in the example code |
5785 in lrecord.h. | 5793 in lrecord.h. |
5786 | 5794 |
5787 2010-01-20 Ben Wing <ben@xemacs.org> | 5795 2010-01-20 Ben Wing <ben@xemacs.org> |
5788 | 5796 |
5789 * alloc.c: | 5797 * alloc.c: |
5790 * alloc.c (very_old_free_lcrecord): | 5798 * alloc.c (very_old_free_lcrecord): |
5791 * alloc.c (disksave_object_finalization_1): | 5799 * alloc.c (disksave_object_finalization_1): |
5917 only one object remains that has a disksave method -- lstream. | 5925 only one object remains that has a disksave method -- lstream. |
5918 | 5926 |
5919 Change DEFINE_*_LISP_OBJECT_WITH_PROPS to DEFINE_*_GENERAL_LISP_OBJECT, | 5927 Change DEFINE_*_LISP_OBJECT_WITH_PROPS to DEFINE_*_GENERAL_LISP_OBJECT, |
5920 which is used for specifying either property methods or disksave | 5928 which is used for specifying either property methods or disksave |
5921 methods (or in the future, any other less-used methods). | 5929 methods (or in the future, any other less-used methods). |
5922 | 5930 |
5923 Remove the for_disksave argument to finalize_process_data. Don't | 5931 Remove the for_disksave argument to finalize_process_data. Don't |
5924 provide a disksaver for processes because no one currently needs | 5932 provide a disksaver for processes because no one currently needs |
5925 it. | 5933 it. |
5926 | 5934 |
5927 Clean up various places where objects didn't provide a print method. | 5935 Clean up various places where objects didn't provide a print method. |
5932 Change the definition of CONSOLE_LIVE_P to use the contype enum | 5940 Change the definition of CONSOLE_LIVE_P to use the contype enum |
5933 rather than looking into the conmeths structure -- in some weird | 5941 rather than looking into the conmeths structure -- in some weird |
5934 situations with dead objects, the conmeths structure is NULL, | 5942 situations with dead objects, the conmeths structure is NULL, |
5935 and printing such objects from debug_print() will crash if we try | 5943 and printing such objects from debug_print() will crash if we try |
5936 to look into the conmeths structure. | 5944 to look into the conmeths structure. |
5937 | 5945 |
5938 | 5946 |
5939 2005-11-22 Ben Wing <ben@xemacs.org> | 5947 2005-11-22 Ben Wing <ben@xemacs.org> |
5940 | 5948 |
5941 * alloc.c: | 5949 * alloc.c: |
5942 * alloc.c (assert_proper_sizing): | 5950 * alloc.c (assert_proper_sizing): |
6033 MAKE_LRECORD_IMPLEMENTATION -> MAKE_LISP_OBJECT | 6041 MAKE_LRECORD_IMPLEMENTATION -> MAKE_LISP_OBJECT |
6034 MAKE_EXTERNAL_LRECORD_IMPLEMENTATION -> MAKE_MODULE_LISP_OBJECT | 6042 MAKE_EXTERNAL_LRECORD_IMPLEMENTATION -> MAKE_MODULE_LISP_OBJECT |
6035 DECLARE_LRECORD -> DECLARE_LISP_OBJECT | 6043 DECLARE_LRECORD -> DECLARE_LISP_OBJECT |
6036 INIT_LRECORD_IMPLEMENTATION -> INIT_LISP_OBJECT | 6044 INIT_LRECORD_IMPLEMENTATION -> INIT_LISP_OBJECT |
6037 alloc_lrecord -> alloc_sized_lrecord (since it takes a size) | 6045 alloc_lrecord -> alloc_sized_lrecord (since it takes a size) |
6038 | 6046 |
6039 Dynarr_newf, Dynarr_lisp_newf: takes a Bytecount instead of an int | 6047 Dynarr_newf, Dynarr_lisp_newf: takes a Bytecount instead of an int |
6040 | 6048 |
6041 2010-03-05 Ben Wing <ben@xemacs.org> | 6049 2010-03-05 Ben Wing <ben@xemacs.org> |
6042 | 6050 |
6043 * mule-coding.c: | 6051 * mule-coding.c: |
6056 * emacs.c (assert_equal_failed): | 6064 * emacs.c (assert_equal_failed): |
6057 * lisp.h: | 6065 * lisp.h: |
6058 * lisp.h (assert_equal): | 6066 * lisp.h (assert_equal): |
6059 New fun assert_equal, asserting that two values == each other, and | 6067 New fun assert_equal, asserting that two values == each other, and |
6060 printing out both values upon failure. | 6068 printing out both values upon failure. |
6061 | 6069 |
6062 * frame-gtk.c (gtk_initialize_frame_size): | 6070 * frame-gtk.c (gtk_initialize_frame_size): |
6063 * frame-impl.h: | 6071 * frame-impl.h: |
6064 * frame-impl.h (FRAME_TOP_INTERNAL_BORDER_START): | 6072 * frame-impl.h (FRAME_TOP_INTERNAL_BORDER_START): |
6065 * frame-impl.h (FRAME_BOTTOM_INTERNAL_BORDER_START): | 6073 * frame-impl.h (FRAME_BOTTOM_INTERNAL_BORDER_START): |
6066 * frame-impl.h (FRAME_LEFT_INTERNAL_BORDER_START): | 6074 * frame-impl.h (FRAME_LEFT_INTERNAL_BORDER_START): |
6110 | 6118 |
6111 Add some #### GEOM! comments where I think code is incorrect -- | 6119 Add some #### GEOM! comments where I think code is incorrect -- |
6112 typically, it wasn't fixed up properly when the gutter was added. | 6120 typically, it wasn't fixed up properly when the gutter was added. |
6113 | 6121 |
6114 Some cosmetic changes. | 6122 Some cosmetic changes. |
6115 | 6123 |
6116 2010-03-02 Ben Wing <ben@xemacs.org> | 6124 2010-03-02 Ben Wing <ben@xemacs.org> |
6117 | 6125 |
6118 * lisp.h: | 6126 * lisp.h: |
6119 * text.h: | 6127 * text.h: |
6120 Move inclusion point of text.h earlier in lisp.h -- just before | 6128 Move inclusion point of text.h earlier in lisp.h -- just before |
6129 * Makefile.in.in: | 6137 * Makefile.in.in: |
6130 * Makefile.in.in (objs): | 6138 * Makefile.in.in (objs): |
6131 glyphs-shared.o, glyphs-eimage.o only needed when HAVE_WINDOW_SYSTEM. | 6139 glyphs-shared.o, glyphs-eimage.o only needed when HAVE_WINDOW_SYSTEM. |
6132 glyphs-widget.o should be too, but we need a bit of work ifdeffing | 6140 glyphs-widget.o should be too, but we need a bit of work ifdeffing |
6133 out the subwindow stuff from redisplay.c et al. | 6141 out the subwindow stuff from redisplay.c et al. |
6134 | 6142 |
6135 * bytecode.c (init_opcode_table_multi_op): | 6143 * bytecode.c (init_opcode_table_multi_op): |
6136 Change var name to avoid shadowing with `basename'. | 6144 Change var name to avoid shadowing with `basename'. |
6137 | 6145 |
6138 * emacs.c (main_1): | 6146 * emacs.c (main_1): |
6139 Don't call init/etc. routines for glyphs-shared, glyphs-eimage unless | 6147 Don't call init/etc. routines for glyphs-shared, glyphs-eimage unless |
6140 HAVE_WINDOW_SYSTEM is defined. | 6148 HAVE_WINDOW_SYSTEM is defined. |
6141 | 6149 |
6142 * linuxplay.c: | 6150 * linuxplay.c: |
6143 * linuxplay.c (sighandler): | 6151 * linuxplay.c (sighandler): |
6144 * vdb-posix.c (vdb_fault_handler): | 6152 * vdb-posix.c (vdb_fault_handler): |
6145 Use const for variables holding string constants to avoid C++ | 6153 Use const for variables holding string constants to avoid C++ |
6146 warnings. | 6154 warnings. |
6218 * objects.c (syms_of_objects): | 6226 * objects.c (syms_of_objects): |
6219 * objects.c (specifier_type_create_objects): | 6227 * objects.c (specifier_type_create_objects): |
6220 * objects.c (reinit_specifier_type_create_objects): | 6228 * objects.c (reinit_specifier_type_create_objects): |
6221 * objects.c (reinit_vars_of_objects): Update for the modifications | 6229 * objects.c (reinit_vars_of_objects): Update for the modifications |
6222 above. | 6230 above. |
6223 * console-xlike-inc.h (XLIKE_GC_TS_X_ORIGIN, XLIKE_GC_TS_X_ORIGIN): | 6231 * console-xlike-inc.h (XLIKE_GC_TS_X_ORIGIN, XLIKE_GC_TS_X_ORIGIN): |
6224 New X11/Gtk compatibility macros. | 6232 New X11/Gtk compatibility macros. |
6225 * redisplay-xlike-inc.c (XLIKE_get_gc): Add a background placement | 6233 * redisplay-xlike-inc.c (XLIKE_get_gc): Add a background placement |
6226 argument and handle it. | 6234 argument and handle it. |
6227 * gtk-glue.c (face_to_gc): | 6235 * gtk-glue.c (face_to_gc): |
6228 * redisplay-xlike-inc.c (XLIKE_output_string): | 6236 * redisplay-xlike-inc.c (XLIKE_output_string): |
6374 Instead of top_toolbar_was_visible, bottom_toolbar_was_visible, | 6382 Instead of top_toolbar_was_visible, bottom_toolbar_was_visible, |
6375 etc. make an array toolbar_was_visible[NUM_EDGES]. This increases | 6383 etc. make an array toolbar_was_visible[NUM_EDGES]. This increases |
6376 the frame size by 15 bytes or so (could be 3 if we use Boolbytes) | 6384 the frame size by 15 bytes or so (could be 3 if we use Boolbytes) |
6377 but hardly seems w to matter -- frames are heavy weight objects | 6385 but hardly seems w to matter -- frames are heavy weight objects |
6378 anyway. Same with top_gutter_was_visible, etc. | 6386 anyway. Same with top_gutter_was_visible, etc. |
6379 | 6387 |
6380 Remove duplicated SET_TOOLBAR_WAS_VISIBLE_FLAG and put defn in | 6388 Remove duplicated SET_TOOLBAR_WAS_VISIBLE_FLAG and put defn in |
6381 one place (toolbar.h). | 6389 one place (toolbar.h). |
6382 | 6390 |
6383 2010-02-24 Didier Verna <didier@xemacs.org> | 6391 2010-02-24 Didier Verna <didier@xemacs.org> |
6384 | 6392 |
6680 if (!x) ABORT (); --> assert (x); | 6688 if (!x) ABORT (); --> assert (x); |
6681 if (x) ABORT (); --> assert (!x); | 6689 if (x) ABORT (); --> assert (!x); |
6682 | 6690 |
6683 DeMorgan's Law's applied and manually simplified: | 6691 DeMorgan's Law's applied and manually simplified: |
6684 if (x && !y) ABORT (); --> assert (!x || y); | 6692 if (x && !y) ABORT (); --> assert (!x || y); |
6685 if (!x || y >= z) ABORT (); --> assert (x && y < z); | 6693 if (!x || y >= z) ABORT (); --> assert (x && y < z); |
6686 | 6694 |
6687 Checked to make sure that assert() of an expression with side | 6695 Checked to make sure that assert() of an expression with side |
6688 effects ensures that the side effects get executed even when | 6696 effects ensures that the side effects get executed even when |
6689 asserts are disabled, and add a comment about this being a | 6697 asserts are disabled, and add a comment about this being a |
6690 requirement of any "disabled assert" expression. | 6698 requirement of any "disabled assert" expression. |
6740 * window.c (change_window_height): | 6748 * window.c (change_window_height): |
6741 * window.c (window_scroll): | 6749 * window.c (window_scroll): |
6742 * window.h: | 6750 * window.h: |
6743 IMPORTANT: Aidan and Carbon Repo, please pay attention and fix | 6751 IMPORTANT: Aidan and Carbon Repo, please pay attention and fix |
6744 appropriately! | 6752 appropriately! |
6745 | 6753 |
6746 Rename: default_face_height_and_width -> default_face_width_and_height | 6754 Rename: default_face_height_and_width -> default_face_width_and_height |
6747 and reverse width/height arguments. | 6755 and reverse width/height arguments. |
6748 | 6756 |
6749 Reverse width/height arguments to the following functions: | 6757 Reverse width/height arguments to the following functions: |
6750 -- default_face_font_info | 6758 -- default_face_font_info |
6752 -- check_frame_size | 6760 -- check_frame_size |
6753 -- frame_size_valid_p (made into a static function) | 6761 -- frame_size_valid_p (made into a static function) |
6754 | 6762 |
6755 Fix a redisplay bug where args to default_face_height_and_width | 6763 Fix a redisplay bug where args to default_face_height_and_width |
6756 were in the wrong order. | 6764 were in the wrong order. |
6757 | 6765 |
6758 | 6766 |
6759 2010-02-20 Ben Wing <ben@xemacs.org> | 6767 2010-02-20 Ben Wing <ben@xemacs.org> |
6760 | 6768 |
6761 * syswindows.h: | 6769 * syswindows.h: |
6762 Add table about GNU Emacs -> XEmacs Windows constants from | 6770 Add table about GNU Emacs -> XEmacs Windows constants from |
6763 the internals manual. | 6771 the internals manual. |
6764 | 6772 |
6765 * frame.c: | 6773 * frame.c: |
6766 Shrink size of diagram consistent with internals manual. | 6774 Shrink size of diagram consistent with internals manual. |
6767 | 6775 |
6768 * alloc.c: | 6776 * alloc.c: |
6769 * compiler.h: | 6777 * compiler.h: |
6770 * console.c: | 6778 * console.c: |
6771 * events.c: | 6779 * events.c: |
6772 * gc.c (gc_stat_start_new_gc): | 6780 * gc.c (gc_stat_start_new_gc): |
6905 MS Windows is pixelated, X and GTK are not. For pixelated-geometry | 6913 MS Windows is pixelated, X and GTK are not. For pixelated-geometry |
6906 systems, the size in set_frame_size() is in displayable pixels | 6914 systems, the size in set_frame_size() is in displayable pixels |
6907 rather than total pixels and needs to be converted appropriately; | 6915 rather than total pixels and needs to be converted appropriately; |
6908 take a look at the changes made to mswindows_set_frame_size() | 6916 take a look at the changes made to mswindows_set_frame_size() |
6909 method if necessary. | 6917 method if necessary. |
6910 | 6918 |
6911 3. Add a big long comment in frame.c describing how frame geometry | 6919 3. Add a big long comment in frame.c describing how frame geometry |
6912 works. | 6920 works. |
6913 | 6921 |
6914 4. Remove MS Windows-specific character height and width fields, | 6922 4. Remove MS Windows-specific character height and width fields, |
6915 duplicative and unused. | 6923 duplicative and unused. |
6946 * mc-alloc.c (get_page_start): | 6954 * mc-alloc.c (get_page_start): |
6947 * vdb-win32.c (win32_fault_handler): | 6955 * vdb-win32.c (win32_fault_handler): |
6948 * vdb.c: | 6956 * vdb.c: |
6949 Fix some compile warnings, make vdb test code conditional on | 6957 Fix some compile warnings, make vdb test code conditional on |
6950 DEBUG_XEMACS. | 6958 DEBUG_XEMACS. |
6951 | 6959 |
6952 2010-02-15 Ben Wing <ben@xemacs.org> | 6960 2010-02-15 Ben Wing <ben@xemacs.org> |
6953 | 6961 |
6954 * regex.c: | 6962 * regex.c: |
6955 * regex.c (DEBUG_FAIL_PRINT1): | 6963 * regex.c (DEBUG_FAIL_PRINT1): |
6956 * regex.c (PUSH_FAILURE_POINT): | 6964 * regex.c (PUSH_FAILURE_POINT): |
7009 Lots of rewriting of dynarr code. | 7017 Lots of rewriting of dynarr code. |
7010 | 7018 |
7011 (1) Lots of documentation added. Also fix places that | 7019 (1) Lots of documentation added. Also fix places that |
7012 referenced a now-bogus internals node concerning redisplay | 7020 referenced a now-bogus internals node concerning redisplay |
7013 critical sections. | 7021 critical sections. |
7014 | 7022 |
7015 (2) Rename: | 7023 (2) Rename: |
7016 | 7024 |
7017 Dynarr_add_lisp_string -> Dynarr_add_ext_lisp_string | 7025 Dynarr_add_lisp_string -> Dynarr_add_ext_lisp_string |
7018 Dynarr_set_length -> Dynarr_set_lengthr ("restricted") | 7026 Dynarr_set_length -> Dynarr_set_lengthr ("restricted") |
7019 Dynarr_increment -> Dynarr_incrementr | 7027 Dynarr_increment -> Dynarr_incrementr |
7029 Optimization of Dynarr_set_length(), Dynarr_set_length_and_zero() | 7037 Optimization of Dynarr_set_length(), Dynarr_set_length_and_zero() |
7030 when size is known to increase | 7038 when size is known to increase |
7031 Dynarr_resize_to_fit(): Resize as necessary to fit a given length. | 7039 Dynarr_resize_to_fit(): Resize as necessary to fit a given length. |
7032 Dynarr_set(): Set element at a given position, increasing length | 7040 Dynarr_set(): Set element at a given position, increasing length |
7033 as necessary and setting any newly created positions to 0 | 7041 as necessary and setting any newly created positions to 0 |
7034 | 7042 |
7035 (4) Use Elemcount, Bytecount. | 7043 (4) Use Elemcount, Bytecount. |
7036 | 7044 |
7037 (5) Rewrite many macros as inline functions. | 7045 (5) Rewrite many macros as inline functions. |
7038 | 7046 |
7039 2010-02-20 Ben Wing <ben@xemacs.org> | 7047 2010-02-20 Ben Wing <ben@xemacs.org> |
7084 * Makefile.in.in: | 7092 * Makefile.in.in: |
7085 * dired.c: | 7093 * dired.c: |
7086 * dired.c (Ffile_attributes): | 7094 * dired.c (Ffile_attributes): |
7087 Use manifest constant IRIX6_5 instead of IRIX. | 7095 Use manifest constant IRIX6_5 instead of IRIX. |
7088 Eliminate constant BSD4_2, use BSD4_3 instead. | 7096 Eliminate constant BSD4_2, use BSD4_3 instead. |
7089 | 7097 |
7090 * getloadavg.c: | 7098 * getloadavg.c: |
7091 * getloadavg.c (getloadavg): | 7099 * getloadavg.c (getloadavg): |
7092 * getloadavg.c (LDAV_PRIVILEGED): | 7100 * getloadavg.c (LDAV_PRIVILEGED): |
7093 * getloadavg.c (LDAV_DONE): | 7101 * getloadavg.c (LDAV_DONE): |
7094 Sync with GNU 23.1.92. | 7102 Sync with GNU 23.1.92. |
7138 Remove stuff in hpux11-shr.h duplicated in hpux11.h. | 7146 Remove stuff in hpux11-shr.h duplicated in hpux11.h. |
7139 | 7147 |
7140 Remove sco7.h, identical with usg5-4-2.h. | 7148 Remove sco7.h, identical with usg5-4-2.h. |
7141 | 7149 |
7142 Remove unused POSIX flag, BROKEN_TIOC*, NO_SIOCTL_H. | 7150 Remove unused POSIX flag, BROKEN_TIOC*, NO_SIOCTL_H. |
7143 | 7151 |
7144 2010-02-20 Ben Wing <ben@xemacs.org> | 7152 2010-02-20 Ben Wing <ben@xemacs.org> |
7145 | 7153 |
7146 * m/arm.h: | 7154 * m/arm.h: |
7147 * m/hp800.h: | 7155 * m/hp800.h: |
7148 * m/intel386.h: | 7156 * m/intel386.h: |
7209 In emacs.c and cmdloop.c, don't display a message at early | 7217 In emacs.c and cmdloop.c, don't display a message at early |
7210 shutdown or fatal shutdown when on Cygwin, only Windows native -- | 7218 shutdown or fatal shutdown when on Cygwin, only Windows native -- |
7211 Cygwin has a working stderr that shows error output. | 7219 Cygwin has a working stderr that shows error output. |
7212 | 7220 |
7213 Update comment in Dynarr_verify_pos_atp(). | 7221 Update comment in Dynarr_verify_pos_atp(). |
7214 | 7222 |
7215 | 7223 |
7216 2010-02-09 Ben Wing <ben@xemacs.org> | 7224 2010-02-09 Ben Wing <ben@xemacs.org> |
7217 | 7225 |
7218 * syswindows.h: | 7226 * syswindows.h: |
7219 Create a long comment about build flags such as WIN32_NATIVE, | 7227 Create a long comment about build flags such as WIN32_NATIVE, |
7241 | 7249 |
7242 2010-02-08 Ben Wing <ben@xemacs.org> | 7250 2010-02-08 Ben Wing <ben@xemacs.org> |
7243 | 7251 |
7244 * alloc.c: | 7252 * alloc.c: |
7245 Add prototypes for debugging functions. | 7253 Add prototypes for debugging functions. |
7246 | 7254 |
7247 * alloc.c (compact_string_chars): Make static. | 7255 * alloc.c (compact_string_chars): Make static. |
7248 | 7256 |
7249 * console-x.c (x_initially_selected_for_input): | 7257 * console-x.c (x_initially_selected_for_input): |
7250 * console-x.h: | 7258 * console-x.h: |
7251 * console-x.h (X_ERROR_OCCURRED): | 7259 * console-x.h (X_ERROR_OCCURRED): |
7252 Delete x_has_keysym() prototype from console-x.c, move to console-x.h. | 7260 Delete x_has_keysym() prototype from console-x.c, move to console-x.h. |
7253 | 7261 |
7254 * eval.c (multiple_value_call): | 7262 * eval.c (multiple_value_call): |
7255 Real bug: Fix shadowing local vars. | 7263 Real bug: Fix shadowing local vars. |
7256 | 7264 |
7257 * event-unixoid.c (read_event_from_tty_or_stream_desc): | 7265 * event-unixoid.c (read_event_from_tty_or_stream_desc): |
7258 * event-unixoid.c (signal_fake_event): | 7266 * event-unixoid.c (signal_fake_event): |
7259 * lread.c (check_if_suppressed): | 7267 * lread.c (check_if_suppressed): |
7260 * strftime.c (strftime): | 7268 * strftime.c (strftime): |
7261 Fix stupid global shadowing warnings. | 7269 Fix stupid global shadowing warnings. |
7262 | 7270 |
7263 * event-unixoid.c (signal_fake_event): | 7271 * event-unixoid.c (signal_fake_event): |
7264 * event-unixoid.c (drain_signal_event_pipe): | 7272 * event-unixoid.c (drain_signal_event_pipe): |
7265 Use Rawbyte, not char. | 7273 Use Rawbyte, not char. |
7266 | 7274 |
7267 * frame.h: Remove old prototype. | 7275 * frame.h: Remove old prototype. |
7268 | 7276 |
7269 * gc.c: | 7277 * gc.c: |
7270 * gc.c (show_gc_cursor_and_message): | 7278 * gc.c (show_gc_cursor_and_message): |
7271 * gc.c (remove_gc_cursor_and_message): | 7279 * gc.c (remove_gc_cursor_and_message): |
7272 * gc.c (gc_prepare): | 7280 * gc.c (gc_prepare): |
7273 * gc.c (gc_finish_mark): | 7281 * gc.c (gc_finish_mark): |
7277 * gc.c (gc_suspend_mark_phase): | 7285 * gc.c (gc_suspend_mark_phase): |
7278 * gc.c (gc_resume_mark_phase): | 7286 * gc.c (gc_resume_mark_phase): |
7279 * gc.c (gc_mark): | 7287 * gc.c (gc_mark): |
7280 * gc.c (gc_resume_mark): | 7288 * gc.c (gc_resume_mark): |
7281 Make fns static. | 7289 Make fns static. |
7282 | 7290 |
7283 * glyphs-eimage.c (gif_decode_error_string): | 7291 * glyphs-eimage.c (gif_decode_error_string): |
7284 Fix non-prototype. | 7292 Fix non-prototype. |
7285 | 7293 |
7286 * lisp.h: | 7294 * lisp.h: |
7287 Hack around global shadowing warnings involving `index'. | 7295 Hack around global shadowing warnings involving `index'. |
7288 | 7296 |
7289 * intl-win32.c (wcsncpy): | 7297 * intl-win32.c (wcsncpy): |
7290 * number-gmp.c (bigfloat_to_string): | 7298 * number-gmp.c (bigfloat_to_string): |
7291 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | 7299 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): |
7292 * specifier.c (call_charset_predicate): | 7300 * specifier.c (call_charset_predicate): |
7293 * specifier.c (DEFINE_SPECIFIER_TAG_FROB): | 7301 * specifier.c (DEFINE_SPECIFIER_TAG_FROB): |
7294 Declarations cannot follow statements in standard C. | 7302 Declarations cannot follow statements in standard C. |
7295 | 7303 |
7296 * search.c (search_buffer): Fix local shadowing warnings. | 7304 * search.c (search_buffer): Fix local shadowing warnings. |
7297 | 7305 |
7298 2010-02-08 Ben Wing <ben@xemacs.org> | 7306 2010-02-08 Ben Wing <ben@xemacs.org> |
7299 | 7307 |
7300 * faces.c: | 7308 * faces.c: |
7301 * faces.c (face_property_matching_instance): | 7309 * faces.c (face_property_matching_instance): |
7302 * faces.c (ensure_face_cachel_contains_charset): | 7310 * faces.c (ensure_face_cachel_contains_charset): |
7356 Fix comments about when inhibit_non_essential_printing_operations | 7364 Fix comments about when inhibit_non_essential_printing_operations |
7357 is set and how used. Increment/decrement in assert_failed rather | 7365 is set and how used. Increment/decrement in assert_failed rather |
7358 than just setting/resetting to avoid hosing things in case we're | 7366 than just setting/resetting to avoid hosing things in case we're |
7359 called when the value is already non-zero. Similarly increment/ | 7367 called when the value is already non-zero. Similarly increment/ |
7360 decrement in_assert_failed. | 7368 decrement in_assert_failed. |
7361 | 7369 |
7362 * gc.c (gc_prepare): | 7370 * gc.c (gc_prepare): |
7363 * gc.c (gc_finish): | 7371 * gc.c (gc_finish): |
7364 Increment/decrement inhibit_non_essential_printing_operations | 7372 Increment/decrement inhibit_non_essential_printing_operations |
7365 rather than setting/resetting. | 7373 rather than setting/resetting. |
7366 | 7374 |
7367 * print.c: | 7375 * print.c: |
7368 * print.c (debug_out): | 7376 * print.c (debug_out): |
7369 * print.c (write_string_to_alternate_debugging_output): | 7377 * print.c (write_string_to_alternate_debugging_output): |
7370 * print.c (restore_inhibit_non_essential_conversion_operations): | 7378 * print.c (restore_inhibit_non_essential_conversion_operations): |
7371 * print.c (debug_print_exit): | 7379 * print.c (debug_print_exit): |
7388 so that debug_backtrace() can use it, and rewrite it to use the | 7396 so that debug_backtrace() can use it, and rewrite it to use the |
7389 new STORE_VOID_IN_LISP() rather than having to have a single | 7397 new STORE_VOID_IN_LISP() rather than having to have a single |
7390 static opaque structure holding all the bindings (and not handling | 7398 static opaque structure holding all the bindings (and not handling |
7391 reentrancy). Fix raw `char' to be `CIbyte' in the declaration of | 7399 reentrancy). Fix raw `char' to be `CIbyte' in the declaration of |
7392 `alternate_do_string'. | 7400 `alternate_do_string'. |
7393 | 7401 |
7394 * signal.c (check_what_happened): | 7402 * signal.c (check_what_happened): |
7395 Fix bug: Don't try to check for QUIT when | 7403 Fix bug: Don't try to check for QUIT when |
7396 inhibit_non_essential_printing_operations or we may screw things | 7404 inhibit_non_essential_printing_operations or we may screw things |
7397 up if QUIT happens during debug printing. | 7405 up if QUIT happens during debug printing. |
7398 | 7406 |
7564 | 7572 |
7565 2010-02-07 Ben Wing <ben@xemacs.org> | 7573 2010-02-07 Ben Wing <ben@xemacs.org> |
7566 | 7574 |
7567 * emacs.c (make_argc_argv): | 7575 * emacs.c (make_argc_argv): |
7568 Cast to Wexttext * to fix compile error. | 7576 Cast to Wexttext * to fix compile error. |
7569 | 7577 |
7570 * nt.c (init_user_info): | 7578 * nt.c (init_user_info): |
7571 Cast to CIbyte * to fix compile error. | 7579 Cast to CIbyte * to fix compile error. |
7572 | 7580 |
7573 * nt.c (open_unc_volume): | 7581 * nt.c (open_unc_volume): |
7574 To fix compile error, store pathname into an Extbyte * variable | 7582 To fix compile error, store pathname into an Extbyte * variable |
7575 then write into the dest, casting to LPTSTR. | 7583 then write into the dest, casting to LPTSTR. |
7576 | 7584 |
7577 * emacs.c (debug_can_access_memory): | 7585 * emacs.c (debug_can_access_memory): |
7594 least one real bug -- in a_write(), the "speedy insert" code that | 7602 least one real bug -- in a_write(), the "speedy insert" code that |
7595 checks for an unchanged region declared the file data read in as | 7603 checks for an unchanged region declared the file data read in as |
7596 char[] but then compared the value to an Ichar. Hence, any chars | 7604 char[] but then compared the value to an Ichar. Hence, any chars |
7597 in the range 128-255 would always appear changed -- in particular, | 7605 in the range 128-255 would always appear changed -- in particular, |
7598 this algorithm would fail completely with binary data. | 7606 this algorithm would fail completely with binary data. |
7599 | 7607 |
7600 | 7608 |
7601 2010-02-07 Ben Wing <ben@xemacs.org> | 7609 2010-02-07 Ben Wing <ben@xemacs.org> |
7602 | 7610 |
7603 * fns.c (mapcarX): | 7611 * fns.c (mapcarX): |
7604 C++ requires explicit cast to enum lrecord_type. | 7612 C++ requires explicit cast to enum lrecord_type. |
7605 | 7613 |
7606 2010-02-06 Ben Wing <ben@xemacs.org> | 7614 2010-02-06 Ben Wing <ben@xemacs.org> |
7607 | 7615 |
7608 * mule-wnnfns.c: | 7616 * mule-wnnfns.c: |
7609 Convert file to utf-8. | 7617 Convert file to utf-8. |
7610 | 7618 |
7611 2010-02-03 Aidan Kehoe <kehoea@parhasard.net> | 7619 2010-02-03 Aidan Kehoe <kehoea@parhasard.net> |
7612 | 7620 |
7613 * fns.c (mapcarX): | 7621 * fns.c (mapcarX): |
7614 Accept a new argument, indicating whether the function is being | 7622 Accept a new argument, indicating whether the function is being |
7615 called from #'some or #'every. Implement it. | 7623 called from #'some or #'every. Implement it. |
7646 | 7654 |
7647 * depend: | 7655 * depend: |
7648 Regenerate. | 7656 Regenerate. |
7649 * make-src-depend (PrintPatternDeps): | 7657 * make-src-depend (PrintPatternDeps): |
7650 Remove refs to xgccache, no longer existent. | 7658 Remove refs to xgccache, no longer existent. |
7651 | 7659 |
7652 * select-gtk.c (THIS_IS_GTK): | 7660 * select-gtk.c (THIS_IS_GTK): |
7653 * select-gtk.c (gtk_decline_selection_request): | 7661 * select-gtk.c (gtk_decline_selection_request): |
7654 * select-x.c (THIS_IS_X): | 7662 * select-x.c (THIS_IS_X): |
7655 * select-xlike-inc.c: | 7663 * select-xlike-inc.c: |
7656 * select-xlike-inc.c (selection_data_to_lisp_data): | 7664 * select-xlike-inc.c (selection_data_to_lisp_data): |
7657 Rename PROCESSING_X_CODE to THIS_IS_X and PROCESSING_GTK_CODE to | 7665 Rename PROCESSING_X_CODE to THIS_IS_X and PROCESSING_GTK_CODE to |
7658 THIS_SI_GTK for consistency with other xlike code. | 7666 THIS_SI_GTK for consistency with other xlike code. |
7659 | 7667 |
7660 Rename select-xlike-inc.c from select-common.h, in keeping with | 7668 Rename select-xlike-inc.c from select-common.h, in keeping with |
7661 xlike terminology. | 7669 xlike terminology. |
7662 | 7670 |
7663 2010-02-05 Ben Wing <ben@xemacs.org> | 7671 2010-02-05 Ben Wing <ben@xemacs.org> |
7664 | 7672 |
7877 C_STRING_TO_TSTR -> ITEXT_TO_TSTR | 7885 C_STRING_TO_TSTR -> ITEXT_TO_TSTR |
7878 TSTR_TO_C_STRING -> TSTR_TO_ITEXT | 7886 TSTR_TO_C_STRING -> TSTR_TO_ITEXT |
7879 | 7887 |
7880 The following four still return their values through parameters, | 7888 The following four still return their values through parameters, |
7881 since they have more than one value to return: | 7889 since they have more than one value to return: |
7882 | 7890 |
7883 C_STRING_TO_SIZED_EXTERNAL -> ITEXT_TO_SIZED_EXTERNAL | 7891 C_STRING_TO_SIZED_EXTERNAL -> ITEXT_TO_SIZED_EXTERNAL |
7884 LISP_STRING_TO_SIZED_EXTERNAL | 7892 LISP_STRING_TO_SIZED_EXTERNAL |
7885 C_STRING_TO_SIZED_EXTERNAL_MALLOC -> ITEXT_TO_SIZED_EXTERNAL_MALLOC | 7893 C_STRING_TO_SIZED_EXTERNAL_MALLOC -> ITEXT_TO_SIZED_EXTERNAL_MALLOC |
7886 LISP_STRING_TO_SIZED_EXTERNAL_MALLOC | 7894 LISP_STRING_TO_SIZED_EXTERNAL_MALLOC |
7887 | 7895 |
7916 2010-02-05 Ben Wing <ben@xemacs.org> | 7924 2010-02-05 Ben Wing <ben@xemacs.org> |
7917 | 7925 |
7918 * lisp.h: | 7926 * lisp.h: |
7919 * lisp.h (staticpro_nodump_1): | 7927 * lisp.h (staticpro_nodump_1): |
7920 Define staticpro_1 and staticpro_nodump_1 when not XEMACS_DEBUG. | 7928 Define staticpro_1 and staticpro_nodump_1 when not XEMACS_DEBUG. |
7921 | 7929 |
7922 * symbols.c (defsymbol_massage_name_1): | 7930 * symbols.c (defsymbol_massage_name_1): |
7923 * symbols.c (defsymbol_massage_multiword_predicate): | 7931 * symbols.c (defsymbol_massage_multiword_predicate): |
7924 Cosmetic fixes. | 7932 Cosmetic fixes. |
7925 | 7933 |
7926 2010-02-05 Ben Wing <ben@xemacs.org> | 7934 2010-02-05 Ben Wing <ben@xemacs.org> |
8185 * symbols.c (defsymbol_nodump): | 8193 * symbols.c (defsymbol_nodump): |
8186 * symbols.c (defsymbol): | 8194 * symbols.c (defsymbol): |
8187 * symbols.c (defkeyword): | 8195 * symbols.c (defkeyword): |
8188 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): | 8196 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): |
8189 Put this back again: | 8197 Put this back again: |
8190 | 8198 |
8191 Make the various calls to staticpro() instead call staticpro_1(), | 8199 Make the various calls to staticpro() instead call staticpro_1(), |
8192 passing in the name of the C var being staticpro'ed, so that it | 8200 passing in the name of the C var being staticpro'ed, so that it |
8193 shows up in staticpro_names. Otherwise staticpro_names just has | 8201 shows up in staticpro_names. Otherwise staticpro_names just has |
8194 1000+ copies of the word `location'. | 8202 1000+ copies of the word `location'. |
8195 | 8203 |
8196 2010-02-04 Ben Wing <ben@xemacs.org> | 8204 2010-02-04 Ben Wing <ben@xemacs.org> |
8197 | 8205 |
8198 * bytecode.c (assert_failed_with_remembered_ops): | 8206 * bytecode.c (assert_failed_with_remembered_ops): |
8199 * bytecode.c (init_opcode_table_multi_op): | 8207 * bytecode.c (init_opcode_table_multi_op): |
8200 Declare some things const to shut up G++ v4 warnings. | 8208 Declare some things const to shut up G++ v4 warnings. |
8201 | 8209 |
8202 * redisplay.c (add_ibyte_string_runes): | 8210 * redisplay.c (add_ibyte_string_runes): |
8203 * redisplay.c (add_string_to_fstring_db_runes): | 8211 * redisplay.c (add_string_to_fstring_db_runes): |
8204 * redisplay.c (generate_fstring_runes): | 8212 * redisplay.c (generate_fstring_runes): |
8205 * redisplay.c (window_line_number): | 8213 * redisplay.c (window_line_number): |
8206 * redisplay.c (decode_mode_spec): | 8214 * redisplay.c (decode_mode_spec): |
8331 Note that there are two kinds of verification -- one for accessing | 8339 Note that there are two kinds of verification -- one for accessing |
8332 and one for modifying. The difference is that the modify | 8340 and one for modifying. The difference is that the modify |
8333 verification additionally checks to make sure that the Dynarr | 8341 verification additionally checks to make sure that the Dynarr |
8334 isn't locked. (This is used in redisplay to check for problems | 8342 isn't locked. (This is used in redisplay to check for problems |
8335 with reentrancy.) | 8343 with reentrancy.) |
8336 | 8344 |
8337 * lrecord.h: Move XD_DYNARR_DESC to lisp.h, grouping with the dynarr code. | 8345 * lrecord.h: Move XD_DYNARR_DESC to lisp.h, grouping with the dynarr code. |
8338 | 8346 |
8339 2010-02-03 Jerry James <james@xemacs.org> | 8347 2010-02-03 Jerry James <james@xemacs.org> |
8340 | 8348 |
8341 * s/mach-bsd4-3.h: Add historical copyright and license information, | 8349 * s/mach-bsd4-3.h: Add historical copyright and license information, |
8392 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY', which is not enabled. | 8400 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY', which is not enabled. |
8393 | 8401 |
8394 Also enable byte-code metering when DEBUG_XEMACS -- this is a form | 8402 Also enable byte-code metering when DEBUG_XEMACS -- this is a form |
8395 of profiling for computing histograms of which sequences of two | 8403 of profiling for computing histograms of which sequences of two |
8396 bytecodes are used most often. | 8404 bytecodes are used most often. |
8397 | 8405 |
8398 * bytecode-ops.h: | 8406 * bytecode-ops.h: |
8399 * bytecode-ops.h (OPCODE): | 8407 * bytecode-ops.h (OPCODE): |
8400 New file. Extract out all the opcodes and declare them using | 8408 New file. Extract out all the opcodes and declare them using |
8401 OPCODE(), a bit like frame slots and such. This way the file can | 8409 OPCODE(), a bit like frame slots and such. This way the file can |
8402 be included multiple times if necessary to iterate multiple times | 8410 be included multiple times if necessary to iterate multiple times |
8403 over the byte opcodes. | 8411 over the byte opcodes. |
8404 | 8412 |
8405 * bytecode.c: | 8413 * bytecode.c: |
8406 * bytecode.c (NUM_REMEMBERED_BYTE_OPS): | 8414 * bytecode.c (NUM_REMEMBERED_BYTE_OPS): |
8407 * bytecode.c (OPCODE): | 8415 * bytecode.c (OPCODE): |
8408 * bytecode.c (assert_failed_with_remembered_ops): | 8416 * bytecode.c (assert_failed_with_remembered_ops): |
8409 * bytecode.c (READ_UINT_2): | 8417 * bytecode.c (READ_UINT_2): |
8444 Everything in the last two paras happens only when | 8452 Everything in the last two paras happens only when |
8445 ERROR_CHECK_BYTE_CODE. | 8453 ERROR_CHECK_BYTE_CODE. |
8446 | 8454 |
8447 Add some longish comments describing how the arrays that hold the | 8455 Add some longish comments describing how the arrays that hold the |
8448 stack and instructions, and the pointers used to access them, work. | 8456 stack and instructions, and the pointers used to access them, work. |
8449 | 8457 |
8450 * gc.c: | 8458 * gc.c: |
8451 Import some code from my `latest-fix' workspace to mark the | 8459 Import some code from my `latest-fix' workspace to mark the |
8452 staticpro's in order from lowest to highest, rather than highest to | 8460 staticpro's in order from lowest to highest, rather than highest to |
8453 lowest, so it's easier to debug when something goes wrong. | 8461 lowest, so it's easier to debug when something goes wrong. |
8454 | 8462 |
8455 * lisp.h (abort_with_message): Renamed from abort_with_msg(). | 8463 * lisp.h (abort_with_message): Renamed from abort_with_msg(). |
8456 | 8464 |
8457 * symbols.c (defsymbol_massage_name_1): | 8465 * symbols.c (defsymbol_massage_name_1): |
8458 * symbols.c (defsymbol_nodump): | 8466 * symbols.c (defsymbol_nodump): |
8459 * symbols.c (defsymbol): | 8467 * symbols.c (defsymbol): |
8460 * symbols.c (defkeyword): | 8468 * symbols.c (defkeyword): |
8461 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): | 8469 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT): |
8525 * toolbar-xlike.c (xlike_redraw_exposed_toolbars): | 8533 * toolbar-xlike.c (xlike_redraw_exposed_toolbars): |
8526 * toolbar-xlike.c (xlike_redraw_frame_toolbars): | 8534 * toolbar-xlike.c (xlike_redraw_frame_toolbars): |
8527 * toolbar-xlike.h: | 8535 * toolbar-xlike.h: |
8528 * toolbar-xlike.h (xlike_clear_frame_toolbars): | 8536 * toolbar-xlike.h (xlike_clear_frame_toolbars): |
8529 Rename some files to make them consistent with general naming rules: | 8537 Rename some files to make them consistent with general naming rules: |
8530 | 8538 |
8531 xgccache.c -> gccache-x.c | 8539 xgccache.c -> gccache-x.c |
8532 xgccache.h -> gccache-x.h | 8540 xgccache.h -> gccache-x.h |
8533 toolbar-common.c -> toolbar-xlike.c | 8541 toolbar-common.c -> toolbar-xlike.c |
8534 toolbar-common.h -> toolbar-xlike.h | 8542 toolbar-common.h -> toolbar-xlike.h |
8535 | 8543 |
8536 Fix include-file references. Also change the names of functions | 8544 Fix include-file references. Also change the names of functions |
8537 in now-named toolbar-xlike.c to be xlike_foo() instead of common_foo(). | 8545 in now-named toolbar-xlike.c to be xlike_foo() instead of common_foo(). |
8538 | 8546 |
8539 Add a longish comment in console-xlike-inc.h describing the "xlike" | 8547 Add a longish comment in console-xlike-inc.h describing the "xlike" |
8540 system, how it works and what the various files are used for. | 8548 system, how it works and what the various files are used for. |
8541 | 8549 |
8542 | 8550 |
8543 2010-02-01 Ben Wing <ben@xemacs.org> | 8551 2010-02-01 Ben Wing <ben@xemacs.org> |
8544 | 8552 |
8545 * Makefile.in.in: | 8553 * Makefile.in.in: |
8546 * compiler.h: | 8554 * compiler.h: |
8601 | 8609 |
8602 * compiler.h: | 8610 * compiler.h: |
8603 Create a USED() macro to force unused-var warnings to go away, | 8611 Create a USED() macro to force unused-var warnings to go away, |
8604 in certain cases where it's inconvenient to do otherwise (e.g. | 8612 in certain cases where it's inconvenient to do otherwise (e.g. |
8605 when THIS_IS_GTK in redisplay-xlike-inc.c). | 8613 when THIS_IS_GTK in redisplay-xlike-inc.c). |
8606 | 8614 |
8607 * console-x.h: | 8615 * console-x.h: |
8608 Remove unneeded decls, make some static. | 8616 Remove unneeded decls, make some static. |
8609 | 8617 |
8610 * redisplay-xlike-inc.c: | 8618 * redisplay-xlike-inc.c: |
8611 * console-xlike-inc.h: New file. Include defns from | 8619 * console-xlike-inc.h: New file. Include defns from |
8612 redisplay-xlike-inc.c that may be useful in other XLIKE files. | 8620 redisplay-xlike-inc.c that may be useful in other XLIKE files. |
8613 Correct the handling of colors and font-style setting functions | 8621 Correct the handling of colors and font-style setting functions |
8614 in the xlike defns. Lots of fixes in the GTK-specific defns. | 8622 in the xlike defns. Lots of fixes in the GTK-specific defns. |
8615 | 8623 |
8616 * depend: Regenerate. | 8624 * depend: Regenerate. |
8617 | 8625 |
8618 * event-xlike-inc.c: | 8626 * event-xlike-inc.c: |
8619 * event-xlike-inc.c (USE_UNICODE_MAP): | 8627 * event-xlike-inc.c (USE_UNICODE_MAP): |
8620 * event-xlike-inc.c (endif): | 8628 * event-xlike-inc.c (endif): |
8621 * gccache-gtk.c: | 8629 * gccache-gtk.c: |
8622 * gtk-glue.c (xemacs_list_to_gtklist): | 8630 * gtk-glue.c (xemacs_list_to_gtklist): |
8627 * gtk-glue.c (gdk_event_to_emacs_event): | 8635 * gtk-glue.c (gdk_event_to_emacs_event): |
8628 * gtk-xemacs.h (struct _GtkXEmacs): | 8636 * gtk-xemacs.h (struct _GtkXEmacs): |
8629 * gtk-xemacs.h (struct _GtkXEmacsClass): | 8637 * gtk-xemacs.h (struct _GtkXEmacsClass): |
8630 * objects-xlike-inc.c: | 8638 * objects-xlike-inc.c: |
8631 Cosmetic, comment fixes. | 8639 Cosmetic, comment fixes. |
8632 | 8640 |
8633 * glyphs.c (pixmap_to_lisp_data): | 8641 * glyphs.c (pixmap_to_lisp_data): |
8634 Unused var fixes. | 8642 Unused var fixes. |
8635 | 8643 |
8636 | 8644 |
8637 * gtk-glue.c: | 8645 * gtk-glue.c: |
8638 * gccache-gtk.c: | 8646 * gccache-gtk.c: |
8639 * gtk-xemacs.c: | 8647 * gtk-xemacs.c: |
8640 * gtk-xemacs.h: | 8648 * gtk-xemacs.h: |
8643 * ui-gtk.h: | 8651 * ui-gtk.h: |
8644 * xgccache.c: | 8652 * xgccache.c: |
8645 * xgccache.c (GC_CACHE_SIZE): | 8653 * xgccache.c (GC_CACHE_SIZE): |
8646 * xgccache.h: | 8654 * xgccache.h: |
8647 Misc include-file fixes. | 8655 Misc include-file fixes. |
8648 | 8656 |
8649 * objects-xlike-inc.c (XFUN): | 8657 * objects-xlike-inc.c (XFUN): |
8650 * objects-xlike-inc.c (xlistfonts_checking_charset): | 8658 * objects-xlike-inc.c (xlistfonts_checking_charset): |
8651 Combine some ifdeffed stuff using defs in console-xlike-inc.h. | 8659 Combine some ifdeffed stuff using defs in console-xlike-inc.h. |
8652 | 8660 |
8653 * redisplay-gtk.c: | 8661 * redisplay-gtk.c: |
8654 * redisplay-gtk.c (THIS_IS_GTK): | 8662 * redisplay-gtk.c (THIS_IS_GTK): |
8655 * redisplay-gtk.c (XLIKE_bevel_area): | 8663 * redisplay-gtk.c (XLIKE_bevel_area): |
8656 * redisplay-gtk.c (XLIKE_ring_bell): | 8664 * redisplay-gtk.c (XLIKE_ring_bell): |
8657 * redisplay-gtk.c (gdk_draw_text_image): | 8665 * redisplay-gtk.c (gdk_draw_text_image): |
8658 Fix numerous compile problems. Delete gtk_output_shadows(), | 8666 Fix numerous compile problems. Delete gtk_output_shadows(), |
8659 which mostly duplicates generic bevel_modeline(). Fix up | 8667 which mostly duplicates generic bevel_modeline(). Fix up |
8660 gtk_bevel_modeline() into XLIKE_bevel_area() and make use of | 8668 gtk_bevel_modeline() into XLIKE_bevel_area() and make use of |
8661 the style var properly to set the appropriate GTK constant. | 8669 the style var properly to set the appropriate GTK constant. |
8662 | 8670 |
8663 * redisplay-x.c: | 8671 * redisplay-x.c: |
8664 * redisplay-x.c (XLIKE_window_output_begin): | 8672 * redisplay-x.c (XLIKE_window_output_begin): |
8665 * redisplay-x.c (XLIKE_window_output_end): | 8673 * redisplay-x.c (XLIKE_window_output_end): |
8666 * redisplay-x.c (XLIKE_bevel_area): | 8674 * redisplay-x.c (XLIKE_bevel_area): |
8667 * redisplay-x.c (x_output_shadows): | 8675 * redisplay-x.c (x_output_shadows): |
8668 * redisplay-x.c (XLIKE_ring_bell): | 8676 * redisplay-x.c (XLIKE_ring_bell): |
8669 Make x_output_shadows be static. Change the defn of various | 8677 Make x_output_shadows be static. Change the defn of various |
8670 functions to look like XLIKE_foo() so it matches the calling | 8678 functions to look like XLIKE_foo() so it matches the calling |
8671 convention elsewhere. | 8679 convention elsewhere. |
8672 | 8680 |
8673 * redisplay-xlike-inc.c: | 8681 * redisplay-xlike-inc.c: |
8674 * redisplay-xlike-inc.c (NEED_GCCACHE_H): | 8682 * redisplay-xlike-inc.c (NEED_GCCACHE_H): |
8675 * redisplay-xlike-inc.c (XLIKE_text_width): | 8683 * redisplay-xlike-inc.c (XLIKE_text_width): |
8676 * redisplay-xlike-inc.c (XLIKE_get_gc): | 8684 * redisplay-xlike-inc.c (XLIKE_get_gc): |
8677 * redisplay-xlike-inc.c (XLIKE_text_width_single_run): | 8685 * redisplay-xlike-inc.c (XLIKE_text_width_single_run): |
8685 calling XLIKE_PASTE(). Remove unnecessary prototypes. | 8693 calling XLIKE_PASTE(). Remove unnecessary prototypes. |
8686 Unify calls to text_width funs. Make XLIKE_get_gc non-static | 8694 Unify calls to text_width funs. Make XLIKE_get_gc non-static |
8687 since it's called from gtk. Change the color-function calls | 8695 since it's called from gtk. Change the color-function calls |
8688 and fill-style-setting calls to match the changes in | 8696 and fill-style-setting calls to match the changes in |
8689 console-xlike-inc.h. Use USED() to avoid some warnings. | 8697 console-xlike-inc.h. Use USED() to avoid some warnings. |
8690 | 8698 |
8691 * symsinit.h: | 8699 * symsinit.h: |
8692 Sort the prototypes, and add a fun `sort-symsinit' in a comment | 8700 Sort the prototypes, and add a fun `sort-symsinit' in a comment |
8693 that does the sorting (using sort-regexp-fields). | 8701 that does the sorting (using sort-regexp-fields). |
8694 | 8702 |
8695 * symsinit.h (init_number): | 8703 * symsinit.h (init_number): |
8696 | 8704 |
8697 | 8705 |
8698 * sysgtk.h: New file, wraps the various GTK headers. | 8706 * sysgtk.h: New file, wraps the various GTK headers. |
8699 * sysgdkx.h: New file, wraps <gtk/gdkx.h>. Keep this separate to | 8707 * sysgdkx.h: New file, wraps <gtk/gdkx.h>. Keep this separate to |
8700 * event-gtk.h: Delete. Combine stuff into console-gtk.h. | 8708 * event-gtk.h: Delete. Combine stuff into console-gtk.h. |
8701 help isolate X-specific code from GTK. | 8709 help isolate X-specific code from GTK. |
8702 | 8710 |
8726 * text.c (qxestrncasecmp_i18n): | 8734 * text.c (qxestrncasecmp_i18n): |
8727 * text.c (qxetextcasecmp): | 8735 * text.c (qxetextcasecmp): |
8728 * text.c (qxetextcasecmp_matching): | 8736 * text.c (qxetextcasecmp_matching): |
8729 Create new macro CANONCASE that converts to a canonical mapping | 8737 Create new macro CANONCASE that converts to a canonical mapping |
8730 and use it to do caseless comparisons instead of DOWNCASE. | 8738 and use it to do caseless comparisons instead of DOWNCASE. |
8731 | 8739 |
8732 * alloc.c: | 8740 * alloc.c: |
8733 * alloc.c (cons_equal): | 8741 * alloc.c (cons_equal): |
8734 * alloc.c (vector_equal): | 8742 * alloc.c (vector_equal): |
8735 * alloc.c (string_equal): | 8743 * alloc.c (string_equal): |
8736 * bytecode.c (compiled_function_equal): | 8744 * bytecode.c (compiled_function_equal): |
8783 Don't implement our own handling of numeric promotion -- just use | 8791 Don't implement our own handling of numeric promotion -- just use |
8784 the `=' primitive. | 8792 the `=' primitive. |
8785 | 8793 |
8786 Add internal_equal_0(), which takes a `foldcase' param and calls | 8794 Add internal_equal_0(), which takes a `foldcase' param and calls |
8787 either internal_equal() or internal_equalp(). | 8795 either internal_equal() or internal_equalp(). |
8788 | 8796 |
8789 * buffer.h: | 8797 * buffer.h: |
8790 When given a 0 for buffer (which is the norm when functions don't | 8798 When given a 0 for buffer (which is the norm when functions don't |
8791 have a specific buffer available), use the current buffer's table, | 8799 have a specific buffer available), use the current buffer's table, |
8792 not `standard-case-table'; otherwise the current settings are | 8800 not `standard-case-table'; otherwise the current settings are |
8793 ignored. | 8801 ignored. |
8794 | 8802 |
8795 * casetab.c: | 8803 * casetab.c: |
8796 * casetab.c (set_case_table): | 8804 * casetab.c (set_case_table): |
8797 When handling old-style vectors of 256 in `set-case-table' don't | 8805 When handling old-style vectors of 256 in `set-case-table' don't |
8798 overwrite the existing table! Instead create a new table and | 8806 overwrite the existing table! Instead create a new table and |
8799 populate. | 8807 populate. |
8800 | 8808 |
8801 * device-msw.c (sync_printer_with_devmode): | 8809 * device-msw.c (sync_printer_with_devmode): |
8802 * lisp.h: | 8810 * lisp.h: |
8803 * text.c (lisp_strcasecmp_ascii): | 8811 * text.c (lisp_strcasecmp_ascii): |
8804 Rename lisp_strcasecmp to lisp_strcasecmp_ascii and use | 8812 Rename lisp_strcasecmp to lisp_strcasecmp_ascii and use |
8805 lisp_strcasecmp_i18n for caseless comparisons in some places. | 8813 lisp_strcasecmp_i18n for caseless comparisons in some places. |
8806 | 8814 |
8807 * elhash.c: | 8815 * elhash.c: |
8808 Delete unused lisp_string_hash and lisp_string_equal(). | 8816 Delete unused lisp_string_hash and lisp_string_equal(). |
8809 | 8817 |
8810 * events.h: | 8818 * events.h: |
8811 * keymap-buttons.h: | 8819 * keymap-buttons.h: |
8812 * keymap.h: | 8820 * keymap.h: |
8813 * keymap.c (keymap_lookup_directly): | 8821 * keymap.c (keymap_lookup_directly): |
8814 * keymap.c (keymap_store): | 8822 * keymap.c (keymap_store): |
8816 * keymap.c (key_desc_list_to_event): | 8824 * keymap.c (key_desc_list_to_event): |
8817 * keymap.c (describe_map_mapper): | 8825 * keymap.c (describe_map_mapper): |
8818 * keymap.c (INCLUDE_BUTTON_ZERO): | 8826 * keymap.c (INCLUDE_BUTTON_ZERO): |
8819 New file keymap-buttons.h; use to handle buttons 1-26 in place of | 8827 New file keymap-buttons.h; use to handle buttons 1-26 in place of |
8820 duplicating code 26 times. | 8828 duplicating code 26 times. |
8821 | 8829 |
8822 * frame-gtk.c (allocate_gtk_frame_struct): | 8830 * frame-gtk.c (allocate_gtk_frame_struct): |
8823 * frame-msw.c (mswindows_init_frame_1): | 8831 * frame-msw.c (mswindows_init_frame_1): |
8824 Fix some comments about internal_equal() in redisplay that don't | 8832 Fix some comments about internal_equal() in redisplay that don't |
8825 apply any more. | 8833 apply any more. |
8826 | 8834 |
8827 * keymap-slots.h: | 8835 * keymap-slots.h: |
8828 * keymap.c: | 8836 * keymap.c: |
8829 New file keymap-slots.h. Use it to notate the slots in a keymap | 8837 New file keymap-slots.h. Use it to notate the slots in a keymap |
8830 structure, similar to frameslots.h or coding-system-slots.h. | 8838 structure, similar to frameslots.h or coding-system-slots.h. |
8831 | 8839 |
8832 * keymap.c (MARKED_SLOT): | 8840 * keymap.c (MARKED_SLOT): |
8833 * keymap.c (keymap_equal): | 8841 * keymap.c (keymap_equal): |
8834 * keymap.c (keymap_hash): | 8842 * keymap.c (keymap_hash): |
8835 Implement. | 8843 Implement. |
8836 | 8844 |
8837 2010-02-01 Ben Wing <ben@xemacs.org> | 8845 2010-02-01 Ben Wing <ben@xemacs.org> |
8838 | 8846 |
8839 * syntax.c: | 8847 * syntax.c: |
8840 * syntax.c (scan_lists): | 8848 * syntax.c (scan_lists): |
8841 * syntax.c (syms_of_syntax): | 8849 * syntax.c (syms_of_syntax): |
8854 * doc.c (Fbuilt_in_symbol_file): | 8862 * doc.c (Fbuilt_in_symbol_file): |
8855 Change "special form" to "special operator" in our sources. | 8863 Change "special form" to "special operator" in our sources. |
8856 | 8864 |
8857 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> | 8865 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> |
8858 | 8866 |
8859 * search.c (search_buffer): | 8867 * search.c (search_buffer): |
8860 When checking the octets of c for identity, don't compare the | 8868 When checking the octets of c for identity, don't compare the |
8861 same octet with itself. Thank you Ben Wing! | 8869 same octet with itself. Thank you Ben Wing! |
8862 | 8870 |
8863 2010-01-30 Ben Wing <ben@xemacs.org> | 8871 2010-01-30 Ben Wing <ben@xemacs.org> |
8864 | 8872 |
8871 * intl-auto-encap-win32.c (qxeAbortSystemShutdown): | 8879 * intl-auto-encap-win32.c (qxeAbortSystemShutdown): |
8872 * intl-auto-encap-win32.c (qxeRegConnectRegistry): | 8880 * intl-auto-encap-win32.c (qxeRegConnectRegistry): |
8873 * intl-auto-encap-win32.c (qxeGetICMProfile): | 8881 * intl-auto-encap-win32.c (qxeGetICMProfile): |
8874 * intl-auto-encap-win32.h: | 8882 * intl-auto-encap-win32.h: |
8875 Rebuild. | 8883 Rebuild. |
8876 | 8884 |
8877 * intl-encap-win32.c: | 8885 * intl-encap-win32.c: |
8878 * intl-encap-win32.c (qxeUpdateICMRegKey): | 8886 * intl-encap-win32.c (qxeUpdateICMRegKey): |
8879 Delete manual definitions of functions with former errors in | 8887 Delete manual definitions of functions with former errors in |
8880 Cygwin headers but no longer. Use "override" with some functions | 8888 Cygwin headers but no longer. Use "override" with some functions |
8881 where Cygwin or VS6 accidentally omits a const declaration or | 8889 where Cygwin or VS6 accidentally omits a const declaration or |
8915 (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES. | 8923 (FmapcarX): Rename this from Fmapcar. Accept optional SEQUENCES. |
8916 (Fmapvector): Accept optional SEQUENCES. | 8924 (Fmapvector): Accept optional SEQUENCES. |
8917 (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el. | 8925 (Fmapcan, Fmapc, Fmap): Move these here from cl-extra.el. |
8918 (Fmap_into): New function, as specified by Common Lisp. | 8926 (Fmap_into): New function, as specified by Common Lisp. |
8919 (maplist): New function, the guts of the implementation of | 8927 (maplist): New function, the guts of the implementation of |
8920 Fmaplist and Fmapl. | 8928 Fmaplist and Fmapl. |
8921 (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el. | 8929 (Fmaplist, Fmapl, Fmapcon): Move these from cl-extra.el. |
8922 (syms_of_fns): | 8930 (syms_of_fns): |
8923 Add a few needed symbols here, for the type tests | 8931 Add a few needed symbols here, for the type tests |
8924 used by #'map. Add the new subrs, with aliases for #'mapc-internal | 8932 used by #'map. Add the new subrs, with aliases for #'mapc-internal |
8925 and #'mapcar. | 8933 and #'mapcar. |
8945 2010-01-29 Ben Wing <ben@xemacs.org> | 8953 2010-01-29 Ben Wing <ben@xemacs.org> |
8946 | 8954 |
8947 * search.c (boyer_moore): Fix longstanding bug involving | 8955 * search.c (boyer_moore): Fix longstanding bug involving |
8948 searching for Control-1 chars; code was trying to directly | 8956 searching for Control-1 chars; code was trying to directly |
8949 extract the last byte in the textual representation of a char | 8957 extract the last byte in the textual representation of a char |
8950 from an Ichar (and doing it in a buggy fashion) rather than | 8958 from an Ichar (and doing it in a buggy fashion) rather than |
8951 just converting the Ichar to text and looking at the last byte. | 8959 just converting the Ichar to text and looking at the last byte. |
8952 | 8960 |
8953 2010-01-28 Ben Wing <ben@xemacs.org> | 8961 2010-01-28 Ben Wing <ben@xemacs.org> |
8954 | 8962 |
8955 * syswindows.h: | 8963 * syswindows.h: |
8956 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks | 8964 Add typedefs for PCVOID and PDWORD_PTR for non-Cygwin-headers folks |
8957 (i.e. Visual Studio et al.). | 8965 (i.e. Visual Studio et al.). |
8958 | 8966 |
8959 2010-01-27 Aidan Kehoe <kehoea@parhasard.net> | 8967 2010-01-27 Aidan Kehoe <kehoea@parhasard.net> |
8960 | 8968 |
8961 * number.c (Fdenominator): | 8969 * number.c (Fdenominator): |
8962 Oops, change #else to #endif here; thank you Vin Shelton, thank | 8970 Oops, change #else to #endif here; thank you Vin Shelton, thank |
8963 you Robert Delius Royar. | 8971 you Robert Delius Royar. |
8964 | 8972 |
8965 2010-01-28 Ben Wing <ben@xemacs.org> | 8973 2010-01-28 Ben Wing <ben@xemacs.org> |
8966 | 8974 |
9542 * xemacs.def.in.in: | 9550 * xemacs.def.in.in: |
9543 | 9551 |
9544 BASIC IDEA: Further fixing up uses of char * and CIbyte * | 9552 BASIC IDEA: Further fixing up uses of char * and CIbyte * |
9545 to reflect their actual semantics; Mule-izing some code; | 9553 to reflect their actual semantics; Mule-izing some code; |
9546 redoing of the not-yet-working code to handle message translation. | 9554 redoing of the not-yet-working code to handle message translation. |
9547 | 9555 |
9548 Clean up code to handle message-translation (not yet working). | 9556 Clean up code to handle message-translation (not yet working). |
9549 Create separate versions of build_msg_string() for working with | 9557 Create separate versions of build_msg_string() for working with |
9550 Ibyte *, CIbyte *, and Ascbyte * arguments. Assert that Ascbyte * | 9558 Ibyte *, CIbyte *, and Ascbyte * arguments. Assert that Ascbyte * |
9551 arguments are pure-ASCII. Make build_msg_string() be the same | 9559 arguments are pure-ASCII. Make build_msg_string() be the same |
9552 as build_msg_ascstring(). Create same three versions of GETTEXT() | 9560 as build_msg_ascstring(). Create same three versions of GETTEXT() |
9558 GETTEXT() from calls to weird_doc() -- we assume that the | 9566 GETTEXT() from calls to weird_doc() -- we assume that the |
9559 message snarfer knows about weird_doc(). Remove uses of | 9567 message snarfer knows about weird_doc(). Remove uses of |
9560 DEFER_GETTEXT() from error messages in sysdep.c and instead use | 9568 DEFER_GETTEXT() from error messages in sysdep.c and instead use |
9561 special comments /* @@@begin-snarf@@@ */ and /* @@@end-snarf@@@ */ | 9569 special comments /* @@@begin-snarf@@@ */ and /* @@@end-snarf@@@ */ |
9562 that the message snarfer presumably knows about. | 9570 that the message snarfer presumably knows about. |
9563 | 9571 |
9564 Create build_ascstring() and use it in many instances in place | 9572 Create build_ascstring() and use it in many instances in place |
9565 of build_string(). The purpose of having Ascbyte * variants is | 9573 of build_string(). The purpose of having Ascbyte * variants is |
9566 to make the code more self-documenting in terms of what sort of | 9574 to make the code more self-documenting in terms of what sort of |
9567 semantics is expected for char * strings. In fact in the process | 9575 semantics is expected for char * strings. In fact in the process |
9568 of looking for uses of build_string(), much improperly Mule-ized | 9576 of looking for uses of build_string(), much improperly Mule-ized |
9593 write_ascstring(), etc. | 9601 write_ascstring(), etc. |
9594 | 9602 |
9595 Mule-ize emodules.c, emodules.h, sysdll.h. | 9603 Mule-ize emodules.c, emodules.h, sysdll.h. |
9596 | 9604 |
9597 Fix some un-Mule-ized code in intl-win32.c. | 9605 Fix some un-Mule-ized code in intl-win32.c. |
9598 | 9606 |
9599 A comment in event-Xt.c and the limitations of the message | 9607 A comment in event-Xt.c and the limitations of the message |
9600 snarfer (make-msgfile or whatever) is presumably incorrect -- | 9608 snarfer (make-msgfile or whatever) is presumably incorrect -- |
9601 it should be smart enough to handle function calls spread over | 9609 it should be smart enough to handle function calls spread over |
9602 more than one line. Clean up code in event-Xt.c that was | 9610 more than one line. Clean up code in event-Xt.c that was |
9603 written awkwardly for this reason. | 9611 written awkwardly for this reason. |
9611 | 9619 |
9612 Make nconc2() and other such functions MODULE_API and put | 9620 Make nconc2() and other such functions MODULE_API and put |
9613 them in xemacs.defs.in.in since postgresql.c now uses them. | 9621 them in xemacs.defs.in.in since postgresql.c now uses them. |
9614 | 9622 |
9615 Clean up indentation in lread.c and a few other places. | 9623 Clean up indentation in lread.c and a few other places. |
9616 | 9624 |
9617 In text.h, document ASSERT_ASCTEXT_ASCII() and | 9625 In text.h, document ASSERT_ASCTEXT_ASCII() and |
9618 ASSERT_ASCTEXT_ASCII_LEN(), group together the stand-in | 9626 ASSERT_ASCTEXT_ASCII_LEN(), group together the stand-in |
9619 encodings and add some more for DLL symbols, function and | 9627 encodings and add some more for DLL symbols, function and |
9620 variable names, etc. | 9628 variable names, etc. |
9621 | 9629 |
9622 2010-01-26 Ben Wing <ben@xemacs.org> | 9630 2010-01-26 Ben Wing <ben@xemacs.org> |
9623 | 9631 |
9624 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs | 9632 * .gdbinit.in.in: Allow an argument to check-xemacs and check-temacs |
9625 to check a specific file. | 9633 to check a specific file. |
9626 | 9634 |
9630 * extents.c (extent_fragment_update): | 9638 * extents.c (extent_fragment_update): |
9631 * objects-msw.c (initialize_font_instance): | 9639 * objects-msw.c (initialize_font_instance): |
9632 * process.c (Fgetenv): | 9640 * process.c (Fgetenv): |
9633 * redisplay-output.c (get_next_display_block): | 9641 * redisplay-output.c (get_next_display_block): |
9634 Fix warnings about possible use of uninitialized vars. | 9642 Fix warnings about possible use of uninitialized vars. |
9635 | 9643 |
9636 * compiler.h: | 9644 * compiler.h: |
9637 * compiler.h (REGISTER): | 9645 * compiler.h (REGISTER): |
9638 * event-stream.c (is_scrollbar_event): | 9646 * event-stream.c (is_scrollbar_event): |
9639 * window.c (window_scrollbar_width): | 9647 * window.c (window_scrollbar_width): |
9640 * window.c (window_scrollbar_height): | 9648 * window.c (window_scrollbar_height): |
9667 Fix g++ 4.3 complaints about implicit conversions of string | 9675 Fix g++ 4.3 complaints about implicit conversions of string |
9668 literals (const char *) to char *. | 9676 literals (const char *) to char *. |
9669 | 9677 |
9670 * lisp.h: | 9678 * lisp.h: |
9671 G++ 4.3 needs #include <limits> to avoid errors about min/max. | 9679 G++ 4.3 needs #include <limits> to avoid errors about min/max. |
9672 | 9680 |
9673 * lisp.h (disabled_assert_with_message): | 9681 * lisp.h (disabled_assert_with_message): |
9674 Use disabled_assert* whenever asserts are disabled. Rewrite | 9682 Use disabled_assert* whenever asserts are disabled. Rewrite |
9675 disabled_assert* to avoid complaints about unused vars by | 9683 disabled_assert* to avoid complaints about unused vars by |
9676 pretending to use the vars but casting them to (void). | 9684 pretending to use the vars but casting them to (void). |
9677 Remove code that defined assert() weirdly if DEBUG_XEMACS but | 9685 Remove code that defined assert() weirdly if DEBUG_XEMACS but |
9678 not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically | 9686 not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically |
9679 when DEBUG_XEMACS, and if the user has forced it off, then | 9687 when DEBUG_XEMACS, and if the user has forced it off, then |
9680 so be it. | 9688 so be it. |
9681 | 9689 |
9682 * lisp.h (SYMBOL_KEYWORD): | 9690 * lisp.h (SYMBOL_KEYWORD): |
9683 Put some of the combined `extern Lisp_Object's back under | 9691 Put some of the combined `extern Lisp_Object's back under |
9684 the file they are declared in. Cosmetic fix. | 9692 the file they are declared in. Cosmetic fix. |
9685 | 9693 |
9686 * number.h: | 9694 * number.h: |
9687 Remove `extern Lisp_Object' decls that duplicate lisp.h, | 9695 Remove `extern Lisp_Object' decls that duplicate lisp.h, |
9688 since they have different C vs. C++ linkage. | 9696 since they have different C vs. C++ linkage. |
9689 | 9697 |
9690 2010-01-21 Ben Wing <ben@xemacs.org> | 9698 2010-01-21 Ben Wing <ben@xemacs.org> |
9691 | 9699 |
9692 * Makefile.in.in: | 9700 * Makefile.in.in: |
9693 Oops. Use two hashes for comments in Makefile.in.in. | 9701 Oops. Use two hashes for comments in Makefile.in.in. |
9694 | 9702 |
9787 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule): | 9795 * redisplay-xlike-inc.c (separate_textual_runs_xft_mule): |
9788 * redisplay-xlike-inc.c (separate_textual_runs_mule): | 9796 * redisplay-xlike-inc.c (separate_textual_runs_mule): |
9789 Break separate_textual_runs_* functions from redisplay-x.c. | 9797 Break separate_textual_runs_* functions from redisplay-x.c. |
9790 (Code in redisplay-gtk.c should have been identical but was | 9798 (Code in redisplay-gtk.c should have been identical but was |
9791 bit-rotted.) | 9799 bit-rotted.) |
9792 | 9800 |
9793 * redisplay-gtk.c: | 9801 * redisplay-gtk.c: |
9794 * redisplay-x.c: | 9802 * redisplay-x.c: |
9795 Delete code, replace with include statement. | 9803 Delete code, replace with include statement. |
9796 | 9804 |
9797 * depend: Regenerate. | 9805 * depend: Regenerate. |
9799 2010-01-18 Ben Wing <ben@xemacs.org> | 9807 2010-01-18 Ben Wing <ben@xemacs.org> |
9800 | 9808 |
9801 * lisp.h: | 9809 * lisp.h: |
9802 * print.c: | 9810 * print.c: |
9803 New variable `in_debug_print'. | 9811 New variable `in_debug_print'. |
9804 | 9812 |
9805 * alloc.c: | 9813 * alloc.c: |
9806 * alloc.c (free_managed_lcrecord): | 9814 * alloc.c (free_managed_lcrecord): |
9807 If gc_in_progress and in_debug_print, just return instead of | 9815 If gc_in_progress and in_debug_print, just return instead of |
9808 crashing. This only happens when the programmer calls debug_print() | 9816 crashing. This only happens when the programmer calls debug_print() |
9809 or a variation inside of a debugger, and is probably already | 9817 or a variation inside of a debugger, and is probably already |
9810 diagnosing a crash. | 9818 diagnosing a crash. |
9811 | 9819 |
9812 * print.c (struct debug_bindings): | 9820 * print.c (struct debug_bindings): |
9813 * print.c (debug_prin1_exit): | 9821 * print.c (debug_prin1_exit): |
9814 * print.c (debug_prin1): | 9822 * print.c (debug_prin1): |
9815 At entrance, record the old value of in_debug_print in the | 9823 At entrance, record the old value of in_debug_print in the |
9816 debug_bindings, set up an unwind-protect to restore the old value, | 9824 debug_bindings, set up an unwind-protect to restore the old value, |
9817 and set in_debug_print to 1. In the unwind-protect, restore the | 9825 and set in_debug_print to 1. In the unwind-protect, restore the |
9818 old value. | 9826 old value. |
9819 | 9827 |
9820 | 9828 |
9821 2010-01-16 Ben Wing <ben@xemacs.org> | 9829 2010-01-16 Ben Wing <ben@xemacs.org> |
9822 | 9830 |
9823 * win32.c (mswindows_read_link_1): | 9831 * win32.c (mswindows_read_link_1): |
9824 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we | 9832 Conditionalize COM support on HAVE_MS_WINDOWS because otherwise we |
9827 2010-01-15 Ben Wing <ben@xemacs.org> | 9835 2010-01-15 Ben Wing <ben@xemacs.org> |
9828 | 9836 |
9829 * doprnt.c (emacs_doprnt_1): | 9837 * doprnt.c (emacs_doprnt_1): |
9830 Cosmetic: Use Qunbound, not Qnil as second arg to call to | 9838 Cosmetic: Use Qunbound, not Qnil as second arg to call to |
9831 syntax_error() to get cleaner error message. | 9839 syntax_error() to get cleaner error message. |
9832 | 9840 |
9833 2010-01-15 Ben Wing <ben@xemacs.org> | 9841 2010-01-15 Ben Wing <ben@xemacs.org> |
9834 | 9842 |
9835 * intl-encap-win32.c: | 9843 * intl-encap-win32.c: |
9836 Add `review' lines for all functions seen in the headers that we | 9844 Add `review' lines for all functions seen in the headers that we |
9837 process but not yet associated with an encapsulation command. | 9845 process but not yet associated with an encapsulation command. |
9916 * intl-auto-encap-win32.c (qxemciGetDeviceID): | 9924 * intl-auto-encap-win32.c (qxemciGetDeviceID): |
9917 * intl-auto-encap-win32.c (qxemciGetErrorString): | 9925 * intl-auto-encap-win32.c (qxemciGetErrorString): |
9918 * intl-auto-encap-win32.h: | 9926 * intl-auto-encap-win32.h: |
9919 * intl-auto-encap-win32.h (qxemciGetErrorString): | 9927 * intl-auto-encap-win32.h (qxemciGetErrorString): |
9920 Regenerate these files from Cygwin headers. | 9928 Regenerate these files from Cygwin headers. |
9921 | 9929 |
9922 * intl-encap-win32.c: | 9930 * intl-encap-win32.c: |
9923 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems | 9931 Bracket more functions in HAVE_MS_WINDOWS, to fix build problems |
9924 when building --with-msw=no on Cygwin. | 9932 when building --with-msw=no on Cygwin. |
9925 | 9933 |
9926 Fixes for Cygwin headers: | 9934 Fixes for Cygwin headers: |
9987 number types. | 9995 number types. |
9988 * bytecode.c (Bfixnump, execute_optimized_program): | 9996 * bytecode.c (Bfixnump, execute_optimized_program): |
9989 Rename Bintegerp to Bfixnump; change its semantics to reflect the | 9997 Rename Bintegerp to Bfixnump; change its semantics to reflect the |
9990 new name on builds with bignum support. | 9998 new name on builds with bignum support. |
9991 | 9999 |
9992 * data.c (Ffixnump, Fintegerp, syms_of_data, vars_of_data): | 10000 * data.c (Ffixnump, Fintegerp, syms_of_data, vars_of_data): |
9993 Always make #'fixnump available, even on non-BIGNUM builds; | 10001 Always make #'fixnump available, even on non-BIGNUM builds; |
9994 always implement #'integerp in this file, even on BIGNUM builds. | 10002 always implement #'integerp in this file, even on BIGNUM builds. |
9995 Move most-positive-fixnum, most-negative-fixnum here from | 10003 Move most-positive-fixnum, most-negative-fixnum here from |
9996 number.c, so they are Lisp constants even on builds without number | 10004 number.c, so they are Lisp constants even on builds without number |
9997 types, and attempts to change or bind them error. | 10005 types, and attempts to change or bind them error. |
10025 2010-01-14 Vin Shelton <acs@xemacs.org> | 10033 2010-01-14 Vin Shelton <acs@xemacs.org> |
10026 | 10034 |
10027 * fileio.c (check_writable): Fix compilation error under Visual | 10035 * fileio.c (check_writable): Fix compilation error under Visual |
10028 Studio 6. | 10036 Studio 6. |
10029 | 10037 |
10030 * sysfile.h: | 10038 * sysfile.h: |
10031 Add conditional definition for EOVERFLOW, which isn't defined | 10039 Add conditional definition for EOVERFLOW, which isn't defined |
10032 under Visual Studio 6. | 10040 under Visual Studio 6. |
10033 | 10041 |
10034 2010-01-14 Didier Verna <didier@xemacs.org> | 10042 2010-01-14 Didier Verna <didier@xemacs.org> |
10035 | 10043 |
10040 | 10048 |
10041 * buffer.h: | 10049 * buffer.h: |
10042 * compiler.h: | 10050 * compiler.h: |
10043 Don't use USED_IF_MULE_OR_CHECK_TEXT in buffer.h. Eliminate since | 10051 Don't use USED_IF_MULE_OR_CHECK_TEXT in buffer.h. Eliminate since |
10044 not used anywhere any more. | 10052 not used anywhere any more. |
10045 | 10053 |
10046 * font-mgr.c (fontset_to_list): | 10054 * font-mgr.c (fontset_to_list): |
10047 * font-mgr.c (Ffc_config_substitute): | 10055 * font-mgr.c (Ffc_config_substitute): |
10048 Don't use Fsignal() as it may return. Use signal_error() instead | 10056 Don't use Fsignal() as it may return. Use signal_error() instead |
10049 or a more specific function such as invalid_state() or wtaerror(). | 10057 or a more specific function such as invalid_state() or wtaerror(). |
10050 | 10058 |
10062 2010-01-14 Ben Wing <ben@xemacs.org> | 10070 2010-01-14 Ben Wing <ben@xemacs.org> |
10063 | 10071 |
10064 * glyphs-eimage.c: | 10072 * glyphs-eimage.c: |
10065 Turn on fixes for conflicts between jmorecfg.h and windows.h on | 10073 Turn on fixes for conflicts between jmorecfg.h and windows.h on |
10066 Cygwin, too. | 10074 Cygwin, too. |
10067 | 10075 |
10068 * emacs.c (debug_can_access_memory): | 10076 * emacs.c (debug_can_access_memory): |
10069 * lisp.h: | 10077 * lisp.h: |
10070 Declare function const void * to avoid warnings. | 10078 Declare function const void * to avoid warnings. |
10071 | 10079 |
10072 * sysfile.h: | 10080 * sysfile.h: |
10073 Include syswindows.h on Windows to avoid problems using things like | 10081 Include syswindows.h on Windows to avoid problems using things like |
10074 PATHNAME_CONVERT_OUT. | 10082 PATHNAME_CONVERT_OUT. |
10075 | 10083 |
10076 * sysfile.h (X_OK): | 10084 * sysfile.h (X_OK): |
10077 * dialog-msw.c (handle_directory_proc): | 10085 * dialog-msw.c (handle_directory_proc): |
10078 * dialog-msw.c (handle_directory_dialog_box): | 10086 * dialog-msw.c (handle_directory_dialog_box): |
10079 * nt.c (Fmswindows_short_file_name): | 10087 * nt.c (Fmswindows_short_file_name): |
10080 * sysdep.c (qxe_allocating_getcwd): | 10088 * sysdep.c (qxe_allocating_getcwd): |
10091 | 10099 |
10092 2010-01-13 Ben Wing <ben@xemacs.org> | 10100 2010-01-13 Ben Wing <ben@xemacs.org> |
10093 | 10101 |
10094 * specifier.c (specifier_instance_from_inst_list): | 10102 * specifier.c (specifier_instance_from_inst_list): |
10095 Don't declare an unused variable, (void) 0 is enough. | 10103 Don't declare an unused variable, (void) 0 is enough. |
10096 | 10104 |
10097 * text.h: | 10105 * text.h: |
10098 Don't use USED_IF_MULE_OR_CHECK_TEXT(). | 10106 Don't use USED_IF_MULE_OR_CHECK_TEXT(). |
10099 | 10107 |
10100 2010-01-13 Ben Wing <ben@xemacs.org> | 10108 2010-01-13 Ben Wing <ben@xemacs.org> |
10101 | 10109 |
10240 | 10248 |
10241 Rename Dynarr_end() to Dynarr_lastp() (pointer to the last | 10249 Rename Dynarr_end() to Dynarr_lastp() (pointer to the last |
10242 element) for clarity, and change code appropriately to use it. | 10250 element) for clarity, and change code appropriately to use it. |
10243 | 10251 |
10244 Change code appropriately to use Dynarr_begin(). | 10252 Change code appropriately to use Dynarr_begin(). |
10245 | 10253 |
10246 Rewrite Dynarr_add_many(). New version can accept a NULL pointer | 10254 Rewrite Dynarr_add_many(). New version can accept a NULL pointer |
10247 to mean "reserve space but don't put anything in it". Used by | 10255 to mean "reserve space but don't put anything in it". Used by |
10248 stack_like_malloc(). | 10256 stack_like_malloc(). |
10249 | 10257 |
10250 | 10258 |
10267 | 10275 |
10268 2010-01-13 Ben Wing <ben@xemacs.org> | 10276 2010-01-13 Ben Wing <ben@xemacs.org> |
10269 | 10277 |
10270 * cmdloop.c: | 10278 * cmdloop.c: |
10271 During really-early-error-handler, exit to the debugger and abort | 10279 During really-early-error-handler, exit to the debugger and abort |
10272 if an error occurs and | 10280 if an error occurs and |
10273 * lisp.h: extern Vdebug_on_error. | 10281 * lisp.h: extern Vdebug_on_error. |
10274 | 10282 |
10275 2010-01-12 Ben Wing <ben@xemacs.org> | 10283 2010-01-12 Ben Wing <ben@xemacs.org> |
10276 | 10284 |
10277 * sheap.c: | 10285 * sheap.c: |
10278 * sheap.c (more_static_core): | 10286 * sheap.c (more_static_core): |
10279 Increase STATIC_HEAP_SLOP. | 10287 Increase STATIC_HEAP_SLOP. |
10280 Change heap-exhausted error message to mention the computed | 10288 Change heap-exhausted error message to mention the computed |
10281 static heap size. | 10289 static heap size. |
10282 | 10290 |
10283 * unexcw.c: Include syswindows.h to avoid compile error. | 10291 * unexcw.c: Include syswindows.h to avoid compile error. |
10284 | 10292 |
10285 * file-coding.c (default_query_method): Single = is intended. | 10293 * file-coding.c (default_query_method): Single = is intended. |
10286 Rewrite using comma operator to make this clearer and avoid | 10294 Rewrite using comma operator to make this clearer and avoid |
10287 dependency on the value of an enum. | 10295 dependency on the value of an enum. |
10289 2010-01-11 Ben Wing <ben@xemacs.org> | 10297 2010-01-11 Ben Wing <ben@xemacs.org> |
10290 | 10298 |
10291 * database.c: | 10299 * database.c: |
10292 * intl-encap-win32.c (qxeUpdateICMRegKey): | 10300 * intl-encap-win32.c (qxeUpdateICMRegKey): |
10293 Cosmetic fixes. | 10301 Cosmetic fixes. |
10294 | 10302 |
10295 * device-x.c (signal_if_x_error): | 10303 * device-x.c (signal_if_x_error): |
10296 * editfns.c (Fformat_time_string): | 10304 * editfns.c (Fformat_time_string): |
10297 * editfns.c (Fencode_time): | 10305 * editfns.c (Fencode_time): |
10298 * editfns.c (Fcurrent_time_zone): | 10306 * editfns.c (Fcurrent_time_zone): |
10299 * editfns.c (Fset_time_zone_rule): | 10307 * editfns.c (Fset_time_zone_rule): |
10353 | 10361 |
10354 2010-01-11 Ben Wing <ben@xemacs.org> | 10362 2010-01-11 Ben Wing <ben@xemacs.org> |
10355 | 10363 |
10356 * config.h.in: | 10364 * config.h.in: |
10357 Add def for HAVE_CYGWIN_CONV_PATH. | 10365 Add def for HAVE_CYGWIN_CONV_PATH. |
10358 | 10366 |
10359 * dialog-msw.c (handle_directory_dialog_box): | 10367 * dialog-msw.c (handle_directory_dialog_box): |
10360 * dialog-msw.c (handle_file_dialog_box): | 10368 * dialog-msw.c (handle_file_dialog_box): |
10361 * fileio.c: | 10369 * fileio.c: |
10362 * fileio.c (Ffile_truename): | 10370 * fileio.c (Ffile_truename): |
10363 * syswindows.h: | 10371 * syswindows.h: |
10422 * unicode.c: | 10430 * unicode.c: |
10423 New function complex_vars_of_unicode(). In it, create the utf-8 | 10431 New function complex_vars_of_unicode(). In it, create the utf-8 |
10424 coding system. Call it appropriately in emacs.c. Sort the | 10432 coding system. Call it appropriately in emacs.c. Sort the |
10425 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic | 10433 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic |
10426 reasons. | 10434 reasons. |
10427 | 10435 |
10428 | 10436 |
10429 2010-01-11 Ben Wing <ben@xemacs.org> | 10437 2010-01-11 Ben Wing <ben@xemacs.org> |
10430 | 10438 |
10431 * regex.c (re_compile_fastmap): | 10439 * regex.c (re_compile_fastmap): |
10432 The code to compute the fastmap in charset_mule_not was totally | 10440 The code to compute the fastmap in charset_mule_not was totally |
10456 * config.h.in (ERROR_CHECK_GLYPHS): | 10464 * config.h.in (ERROR_CHECK_GLYPHS): |
10457 Trying to avoid link errors referring to the ERROR_CHECK_TYPES | 10465 Trying to avoid link errors referring to the ERROR_CHECK_TYPES |
10458 functions, either in eldap.o (if we don't include references to | 10466 functions, either in eldap.o (if we don't include references to |
10459 ERROR_CHECK_TYPES in xemacs.def.in.in) or xemacs-export.o (if | 10467 ERROR_CHECK_TYPES in xemacs.def.in.in) or xemacs-export.o (if |
10460 we do include such references): | 10468 we do include such references): |
10461 | 10469 |
10462 Add line for USE_GPLUSPLUS, set by configure. | 10470 Add line for USE_GPLUSPLUS, set by configure. |
10463 Define INLINE_HEADERS_ARE_STATIC when we add static to inline headers. | 10471 Define INLINE_HEADERS_ARE_STATIC when we add static to inline headers. |
10464 (Possibly used when setting NEED_ERROR_CHECK_TYPES_INLINES.) | 10472 (Possibly used when setting NEED_ERROR_CHECK_TYPES_INLINES.) |
10465 Currently, set NEED_ERROR_CHECK_TYPES_INLINES when ERROR_CHECK_TYPES | 10473 Currently, set NEED_ERROR_CHECK_TYPES_INLINES when ERROR_CHECK_TYPES |
10466 and USE_GPLUSPLUS. | 10474 and USE_GPLUSPLUS. |
10467 | 10475 |
10468 * xemacs.def.in.in: | 10476 * xemacs.def.in.in: |
10469 Use NEED_ERROR_CHECK_TYPES_INLINES here to bracket things like | 10477 Use NEED_ERROR_CHECK_TYPES_INLINES here to bracket things like |
10470 `error_check_cons' instead of just ERROR_CHECK_TYPES. | 10478 `error_check_cons' instead of just ERROR_CHECK_TYPES. |
10471 | 10479 |
10472 * faces.c (complex_vars_of_faces): | 10480 * faces.c (complex_vars_of_faces): |
10473 Bracket various font variables with defined(USE_XFT or MULE) to | 10481 Bracket various font variables with defined(USE_XFT or MULE) to |
10474 avoid warnings. | 10482 avoid warnings. |
10475 | 10483 |
10476 * fileio.c: | 10484 * fileio.c: |
10477 Make sure the `expand-file-name' handler returns a string, to | 10485 Make sure the `expand-file-name' handler returns a string, to |
10478 avoid a potential crash. | 10486 avoid a potential crash. |
10479 | 10487 |
10480 * floatfns.c (round_one_bigfloat_1): | 10488 * floatfns.c (round_one_bigfloat_1): |
10481 #if-0 out an assert that can never be triggered and which | 10489 #if-0 out an assert that can never be triggered and which |
10482 generates warnings "dereferencing type-punned pointer will break | 10490 generates warnings "dereferencing type-punned pointer will break |
10483 strict-aliasing rules". | 10491 strict-aliasing rules". |
10484 | 10492 |
10485 * redisplay-x.c (separate_textual_runs_nomule): | 10493 * redisplay-x.c (separate_textual_runs_nomule): |
10486 Remove unused variable in non-Mule case. | 10494 Remove unused variable in non-Mule case. |
10487 | 10495 |
10488 * specifier.c (charset_matches_specifier_tag_set_p): | 10496 * specifier.c (charset_matches_specifier_tag_set_p): |
10489 Variable CHARSET is unused when not Mule. | 10497 Variable CHARSET is unused when not Mule. |
10490 | 10498 |
10491 * specifier.c (specifier_instance_from_inst_list): | 10499 * specifier.c (specifier_instance_from_inst_list): |
10492 Add a comment questioning why font-specific stuff is littering | 10500 Add a comment questioning why font-specific stuff is littering |
10493 specifier.c. | 10501 specifier.c. |
10494 | 10502 |
10495 * syswindows.h: | 10503 * syswindows.h: |
10496 Expand on the comments on a #if 0 I added in a previous patch. | 10504 Expand on the comments on a #if 0 I added in a previous patch. |
10497 | 10505 |
10498 * vdb-win32.c: | 10506 * vdb-win32.c: |
10499 * vdb-win32.c (win32_fault_handler): | 10507 * vdb-win32.c (win32_fault_handler): |
10500 * vdb-win32.c (vdb_install_signal_handler): | 10508 * vdb-win32.c (vdb_install_signal_handler): |
10501 Change return type to LONG instead of DWORD to avoid warning or | 10509 Change return type to LONG instead of DWORD to avoid warning or |
10502 error. | 10510 error. |
10503 | 10511 |
10504 2010-01-11 Ben Wing <ben@xemacs.org> | 10512 2010-01-11 Ben Wing <ben@xemacs.org> |
10505 | 10513 |
10506 * database.c: Cygwin prototypes in ndbm.h are incomplete and | 10514 * database.c: Cygwin prototypes in ndbm.h are incomplete and |
10507 cause C++ compile errors; fix them. | 10515 cause C++ compile errors; fix them. |
10508 | 10516 |
10509 * fileio.c (check_writable): | 10517 * fileio.c (check_writable): |
10510 Fix compile errors. Also move the call to C_STRING_TO_TSTR | 10518 Fix compile errors. Also move the call to C_STRING_TO_TSTR |
10511 earlier, which is probably wrong, but fixed in a later patch. | 10519 earlier, which is probably wrong, but fixed in a later patch. |
10512 | 10520 |
10513 * intl-encap-win32.c (qxeGetICMProfile): | 10521 * intl-encap-win32.c (qxeGetICMProfile): |
10514 Ifdef out a fix to work around a previous bogosity in Cygwin | 10522 Ifdef out a fix to work around a previous bogosity in Cygwin |
10515 header files which has now been fixed. Keeping in the fix | 10523 header files which has now been fixed. Keeping in the fix |
10516 led to compile errors. #### Proper way to do it is to figure | 10524 led to compile errors. #### Proper way to do it is to figure |
10517 out when it got fixed, perhaps put in a configure test, but it | 10525 out when it got fixed, perhaps put in a configure test, but it |
10518 seems not worth it. | 10526 seems not worth it. |
10519 | 10527 |
10520 * intl-encap-win32.c (qxeUpdateICMRegKey): | 10528 * intl-encap-win32.c (qxeUpdateICMRegKey): |
10521 Cosmetic change, undone in a later patch. | 10529 Cosmetic change, undone in a later patch. |
10522 * mule-charset.c (Fset_charset_ccl_program): | 10530 * mule-charset.c (Fset_charset_ccl_program): |
10523 Remove unused variable. | 10531 Remove unused variable. |
10524 * nas.c: | 10532 * nas.c: |
10531 | 10539 |
10532 2010-01-11 Ben Wing <ben@xemacs.org> | 10540 2010-01-11 Ben Wing <ben@xemacs.org> |
10533 | 10541 |
10534 * config.h.in: | 10542 * config.h.in: |
10535 Add def for HAVE_CYGWIN_CONV_PATH. | 10543 Add def for HAVE_CYGWIN_CONV_PATH. |
10536 | 10544 |
10537 * dialog-msw.c (handle_directory_dialog_box): | 10545 * dialog-msw.c (handle_directory_dialog_box): |
10538 * dialog-msw.c (handle_file_dialog_box): | 10546 * dialog-msw.c (handle_file_dialog_box): |
10539 * fileio.c: | 10547 * fileio.c: |
10540 * fileio.c (Ffile_truename): | 10548 * fileio.c (Ffile_truename): |
10541 * syswindows.h: | 10549 * syswindows.h: |
10600 * unicode.c: | 10608 * unicode.c: |
10601 New function complex_vars_of_unicode(). In it, create the utf-8 | 10609 New function complex_vars_of_unicode(). In it, create the utf-8 |
10602 coding system. Call it appropriately in emacs.c. Sort the | 10610 coding system. Call it appropriately in emacs.c. Sort the |
10603 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic | 10611 prototypes of complex_vars_of_*() in symsinit.h, for cosmetic |
10604 reasons. | 10612 reasons. |
10605 | 10613 |
10606 | 10614 |
10607 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> | 10615 2010-02-07 Aidan Kehoe <kehoea@parhasard.net> |
10608 | 10616 |
10609 * fns.c (split_string_by_ichar_1): Extend this to take UNESCAPE | 10617 * fns.c (split_string_by_ichar_1): Extend this to take UNESCAPE |
10610 and ESCAPECHAR arguments. | 10618 and ESCAPECHAR arguments. |
10636 * glyphs.c (query_string_geometry): Use proper domain for cachel | 10644 * glyphs.c (query_string_geometry): Use proper domain for cachel |
10637 updating and in generalized version of redisplay_text_width_string. | 10645 updating and in generalized version of redisplay_text_width_string. |
10638 | 10646 |
10639 2010-01-08 Aidan Kehoe <kehoea@parhasard.net> | 10647 2010-01-08 Aidan Kehoe <kehoea@parhasard.net> |
10640 | 10648 |
10641 * mule-charset.c (Fmake_charset): | 10649 * mule-charset.c (Fmake_charset): |
10642 Change build_string with an Ibyte argument to build_intstring, | 10650 Change build_string with an Ibyte argument to build_intstring, |
10643 fixing the build on Visual C++. Thank you for the report, Vin. | 10651 fixing the build on Visual C++. Thank you for the report, Vin. |
10644 | 10652 |
10645 2010-01-07 Jerry James <james@xemacs.org> | 10653 2010-01-07 Jerry James <james@xemacs.org> |
10646 | 10654 |
10697 * font-mgr.c (Ffc_name_unparse): Return value of FcNameUnparse | 10705 * font-mgr.c (Ffc_name_unparse): Return value of FcNameUnparse |
10698 must be freed. | 10706 must be freed. |
10699 | 10707 |
10700 2009-12-31 Aidan Kehoe <kehoea@parhasard.net> | 10708 2009-12-31 Aidan Kehoe <kehoea@parhasard.net> |
10701 | 10709 |
10702 * eval.c (Ffunctionp): | 10710 * eval.c (Ffunctionp): |
10703 Special forms no longer give t in this function, in accordance | 10711 Special forms no longer give t in this function, in accordance |
10704 with recent GNU Emacs and with Common Lisp. | 10712 with recent GNU Emacs and with Common Lisp. |
10705 | 10713 |
10706 2009-12-21 Jerry James <james@xemacs.org> | 10714 2009-12-21 Jerry James <james@xemacs.org> |
10707 | 10715 |
10731 against msvcrt8. This fix was taken from the Mozilla project | 10739 against msvcrt8. This fix was taken from the Mozilla project |
10732 which experienced the same problem. | 10740 which experienced the same problem. |
10733 | 10741 |
10734 2009-12-19 Aidan Kehoe <kehoea@parhasard.net> | 10742 2009-12-19 Aidan Kehoe <kehoea@parhasard.net> |
10735 | 10743 |
10736 * symbols.c (reject_constant_symbols): | 10744 * symbols.c (reject_constant_symbols): |
10737 Indicate that accepting attempted modification of keywords is a | 10745 Indicate that accepting attempted modification of keywords is a |
10738 temporary thing. | 10746 temporary thing. |
10739 | 10747 |
10740 2009-12-23 Stephen J. Turnbull <stephen@xemacs.org> | 10748 2009-12-23 Stephen J. Turnbull <stephen@xemacs.org> |
10741 | 10749 |
10750 * events.h (character_to_event_meta_behavior): New enumeration, | 10758 * events.h (character_to_event_meta_behavior): New enumeration, |
10751 describing what character_to_event should do with characters in | 10759 describing what character_to_event should do with characters in |
10752 the range ?\x80-?\xFF, and passed as the third argument to | 10760 the range ?\x80-?\xFF, and passed as the third argument to |
10753 character_to_event instead of the binary use_console_meta_flag. | 10761 character_to_event instead of the binary use_console_meta_flag. |
10754 * events.c (character_to_event, Fcharacter_to_event): | 10762 * events.c (character_to_event, Fcharacter_to_event): |
10755 * event-unixoid.c (read_event_from_tty_or_stream_desc): | 10763 * event-unixoid.c (read_event_from_tty_or_stream_desc): |
10756 * event-stream.c (maybe_kbd_translate, maybe_kbd_translate): | 10764 * event-stream.c (maybe_kbd_translate, maybe_kbd_translate): |
10757 * event-msw.c (mswindows_need_event): | 10765 * event-msw.c (mswindows_need_event): |
10758 Use the new enumeration. | 10766 Use the new enumeration. |
10759 * event-Xt.c (x_to_emacs_keysym): | 10767 * event-Xt.c (x_to_emacs_keysym): |
10760 Call character_to_event when we receive XLookupChars events, | 10768 Call character_to_event when we receive XLookupChars events, |
10761 passing latin_1_maps_to_itself as the meta_behavior flag, | 10769 passing latin_1_maps_to_itself as the meta_behavior flag, |
10762 addressing the problem FKtPp sees in 87bpi9mwpu.fsf@yahoo.com.cn | 10770 addressing the problem FKtPp sees in 87bpi9mwpu.fsf@yahoo.com.cn |
10763 | 10771 |
10764 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> | 10772 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> |
10765 | 10773 |
10766 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): | 10774 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): |
10767 That last change was wrong in theory though not in practice; we're | 10775 That last change was wrong in theory though not in practice; we're |
10768 comparing function pointers, not enumeration values. | 10776 comparing function pointers, not enumeration values. |
10769 | 10777 |
10770 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> | 10778 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> |
10771 | 10779 |
10775 | 10783 |
10776 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> | 10784 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> |
10777 | 10785 |
10778 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): | 10786 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): |
10779 New macro, giving a default value for a hash table's rehash | 10787 New macro, giving a default value for a hash table's rehash |
10780 threshold given its size and test function. | 10788 threshold given its size and test function. |
10781 (print_hash_table): Print the hash table's rehash threshold if it | 10789 (print_hash_table): Print the hash table's rehash threshold if it |
10782 has a non-default value. Ditto for its rehash size. | 10790 has a non-default value. Ditto for its rehash size. |
10783 (Fmake_hash_table): Supply the keyword arguments in a format | 10791 (Fmake_hash_table): Supply the keyword arguments in a format |
10784 understood by #'function-arglist. | 10792 understood by #'function-arglist. |
10785 | 10793 |
10786 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> | 10794 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> |
10787 | 10795 |
10788 * alloc.c (resize_string): | 10796 * alloc.c (resize_string): |
10789 Don't attempt to free dumped data in this function, avoiding an | 10797 Don't attempt to free dumped data in this function, avoiding an |
10790 assertion failure. | 10798 assertion failure. |
10791 | 10799 |
10792 2009-12-13 Stephen J. Turnbull <stephen@xemacs.org> | 10800 2009-12-13 Stephen J. Turnbull <stephen@xemacs.org> |
10793 | 10801 |
10820 2010-01-09 Aidan Kehoe <kehoea@parhasard.net> | 10828 2010-01-09 Aidan Kehoe <kehoea@parhasard.net> |
10821 | 10829 |
10822 * elhash.c: | 10830 * elhash.c: |
10823 (print_hash_table, print_hash_table_data) | 10831 (print_hash_table, print_hash_table_data) |
10824 (hash_table_instantiate) | 10832 (hash_table_instantiate) |
10825 (structure_type_create_hash_table_structure_name): | 10833 (structure_type_create_hash_table_structure_name): |
10826 (syms_of_elhash): | 10834 (syms_of_elhash): |
10827 Use keywords, not ordinary symbols, in the hash table read syntax, | 10835 Use keywords, not ordinary symbols, in the hash table read syntax, |
10828 for compatibility with Common Lisp and recent GNU Emacs. Accept | 10836 for compatibility with Common Lisp and recent GNU Emacs. Accept |
10829 the non-keyword syntax, but don't allow mixing of the two styles. | 10837 the non-keyword syntax, but don't allow mixing of the two styles. |
10830 | 10838 |
10831 2009-11-19 Vin Shelton <acs@xemacs.org> | 10839 2009-11-19 Vin Shelton <acs@xemacs.org> |
11178 (DFC_CHECK_DATA): | 11186 (DFC_CHECK_DATA): |
11179 Use the new macros. | 11187 Use the new macros. |
11180 Add an argument for the test description. | 11188 Add an argument for the test description. |
11181 (DFC_CHECK_DATA_COND_EOL_NUL) | 11189 (DFC_CHECK_DATA_COND_EOL_NUL) |
11182 (DFC_CHECK_DATA_COND_EOL) | 11190 (DFC_CHECK_DATA_COND_EOL) |
11183 (DFC_CHECK_DATA_COND_MULE_NUL): | 11191 (DFC_CHECK_DATA_COND_MULE_NUL): |
11184 (DFC_CHECK_DATA_COND_MULE): | 11192 (DFC_CHECK_DATA_COND_MULE): |
11185 Add an argument for the test description. | 11193 Add an argument for the test description. |
11186 | 11194 |
11187 2009-11-17 Stephen J. Turnbull <stephen@xemacs.org> | 11195 2009-11-17 Stephen J. Turnbull <stephen@xemacs.org> |
11188 | 11196 |
11194 (print_partial_compiled_pattern): | 11202 (print_partial_compiled_pattern): |
11195 Avoid buffer overrun in case of /exactn/0. | 11203 Avoid buffer overrun in case of /exactn/0. |
11196 | 11204 |
11197 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> | 11205 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> |
11198 | 11206 |
11199 * mule-ccl.c (setup_ccl_program): | 11207 * mule-ccl.c (setup_ccl_program): |
11200 Fix the union build, thank you Robert Delius Royar. | 11208 Fix the union build, thank you Robert Delius Royar. |
11201 | 11209 |
11202 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> | 11210 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> |
11203 | 11211 |
11204 * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Assert that we always | 11212 * mule-ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Assert that we always |
11206 (setup_ccl_program): Ensure we're not allocating unreachable | 11214 (setup_ccl_program): Ensure we're not allocating unreachable |
11207 memory in this function; all symbols must have been resolved in a | 11215 memory in this function; all symbols must have been resolved in a |
11208 given CCL program before this function is called. | 11216 given CCL program before this function is called. |
11209 (find_ccl_program): New function, return a CCL program with all | 11217 (find_ccl_program): New function, return a CCL program with all |
11210 its symbols resolved if it is valid (possibly allocating memory), | 11218 its symbols resolved if it is valid (possibly allocating memory), |
11211 Qnil otherwise. | 11219 Qnil otherwise. |
11212 (get_ccl_program): New function, exported to other files; call | 11220 (get_ccl_program): New function, exported to other files; call |
11213 find_ccl_program, and error if it gives nil. | 11221 find_ccl_program, and error if it gives nil. |
11214 (Fccl_program_p): Call find_ccl_program from this function instead | 11222 (Fccl_program_p): Call find_ccl_program from this function instead |
11215 of implementing the bulk of it here. | 11223 of implementing the bulk of it here. |
11216 (Fccl_execute): Call get_ccl_program instead of implementing the | 11224 (Fccl_execute): Call get_ccl_program instead of implementing the |
11217 bulk of it here. | 11225 bulk of it here. |
11218 (Fccl_execute_on_string): Ditto. | 11226 (Fccl_execute_on_string): Ditto. |
11219 * mule-ccl.h (Vfont_ccl_encoder_alist): Remove this declaration, | 11227 * mule-ccl.h (Vfont_ccl_encoder_alist): Remove this declaration, |
11220 it hasn't been used in years. | 11228 it hasn't been used in years. |
11221 (get_ccl_program): Declare this function. | 11229 (get_ccl_program): Declare this function. |
11222 * mule-coding.c (ccl_putprop): Use get_ccl_program on any | 11230 * mule-coding.c (ccl_putprop): Use get_ccl_program on any |
11223 specified encode or decode CCL program property. | 11231 specified encode or decode CCL program property. |
11224 (fixed_width_putprop): Ditto. | 11232 (fixed_width_putprop): Ditto. |
11225 * mule-charset.c (Fmake_charset): Use get_ccl_program on any | 11233 * mule-charset.c (Fmake_charset): Use get_ccl_program on any |
11226 specified ccl-program. | 11234 specified ccl-program. |
11227 (Fset_charset_ccl_program): Ditto. | 11235 (Fset_charset_ccl_program): Ditto. |
11228 | 11236 |
11229 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> | 11237 2009-11-15 Aidan Kehoe <kehoea@parhasard.net> |
11230 | 11238 |
11231 * eval.c (Fquote_maybe): | 11239 * eval.c (Fquote_maybe): |
11232 Move this function here from callint.c; make it more comprehensive | 11240 Move this function here from callint.c; make it more comprehensive |
11233 about which types are self-quoting. | 11241 about which types are self-quoting. |
11234 * lisp.h: Declare Fquote_maybe here, since it's now used in | 11242 * lisp.h: Declare Fquote_maybe here, since it's now used in |
11235 callint.c and defined in eval.c | 11243 callint.c and defined in eval.c |
11236 * callint.c (Fquote_maybe): Remove this function from this file. | 11244 * callint.c (Fquote_maybe): Remove this function from this file. |
11240 * darwin.h: Remove. Functionality implemented in configure.ac. | 11248 * darwin.h: Remove. Functionality implemented in configure.ac. |
11241 * config.h.in (USE_PARAM_H): New. Used by Darwin to #define BSD. | 11249 * config.h.in (USE_PARAM_H): New. Used by Darwin to #define BSD. |
11242 | 11250 |
11243 2009-11-09 Aidan Kehoe <kehoea@parhasard.net> | 11251 2009-11-09 Aidan Kehoe <kehoea@parhasard.net> |
11244 | 11252 |
11245 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): | 11253 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): |
11246 Move the WIN32_NATIVE definition inside the #ifdef emacs | 11254 Move the WIN32_NATIVE definition inside the #ifdef emacs |
11247 conditional, clear up the comment after #else; thanks for the | 11255 conditional, clear up the comment after #else; thanks for the |
11248 build failure report, Vin! | 11256 build failure report, Vin! |
11249 Cast DEFAULT_DIRECTORY_FALLBACK to (const CIbyte *) by default, | 11257 Cast DEFAULT_DIRECTORY_FALLBACK to (const CIbyte *) by default, |
11250 which better reflects its contents. | 11258 which better reflects its contents. |
11251 * editfns.c (get_home_directory): | 11259 * editfns.c (get_home_directory): |
11252 * buffer.c (init_initial_directory): | 11260 * buffer.c (init_initial_directory): |
11253 Cast DEFAULT_DIRECTORY_FALLBACK to (Ibyte *) with functions that | 11261 Cast DEFAULT_DIRECTORY_FALLBACK to (Ibyte *) with functions that |
11254 take that type, now that is necessary. | 11262 take that type, now that is necessary. |
11255 | 11263 |
11256 2009-11-09 Jerry James <james@xemacs.org> | 11264 2009-11-09 Jerry James <james@xemacs.org> |
11257 | 11265 |
11258 * Makefile.in.in: Remove support for malloc.c ("old" GNU malloc). Do | 11266 * Makefile.in.in: Remove support for malloc.c ("old" GNU malloc). Do |
11259 not define GNU_MALLOC, which was only used to distinguish between | 11267 not define GNU_MALLOC, which was only used to distinguish between |
11272 * malloc.c: Remove. | 11280 * malloc.c: Remove. |
11273 * s/sunos4-0-shr.h: Defining GNU_MALLOC is no longer necessary. | 11281 * s/sunos4-0-shr.h: Defining GNU_MALLOC is no longer necessary. |
11274 | 11282 |
11275 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> | 11283 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> |
11276 | 11284 |
11277 * window.c (Fsave_window_excursion, save_window_excursion_unwind): | 11285 * window.c (Fsave_window_excursion, save_window_excursion_unwind): |
11278 Remove these functions, the first was masked by | 11286 Remove these functions, the first was masked by |
11279 #'save-window-excursion in window.el, and the second can be easily | 11287 #'save-window-excursion in window.el, and the second can be easily |
11280 replaced with Lisp primitives. | 11288 replaced with Lisp primitives. |
11281 * bytecode.c (Bsave_window_excursion) : Don't pass | 11289 * bytecode.c (Bsave_window_excursion) : Don't pass |
11282 save_window_excursion_unwind to record_unwind_protect, now the | 11290 save_window_excursion_unwind to record_unwind_protect, now the |
11283 former is gone. | 11291 former is gone. |
11284 * event-stream.c (execute_help_form): | 11292 * event-stream.c (execute_help_form): |
11285 Ditto. | 11293 Ditto. |
11286 | 11294 |
11287 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> | 11295 2009-11-08 Aidan Kehoe <kehoea@parhasard.net> |
11288 | 11296 |
11289 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): | 11297 * sysfile.h (DEFAULT_DIRECTORY_FALLBACK): |
11310 (Vdefault_process_coding_system): | 11318 (Vdefault_process_coding_system): |
11311 Document that these variables may be nil. | 11319 Document that these variables may be nil. |
11312 | 11320 |
11313 2009-10-26 Aidan Kehoe <kehoea@parhasard.net> | 11321 2009-10-26 Aidan Kehoe <kehoea@parhasard.net> |
11314 | 11322 |
11315 * config.h.in (REALPATH_CORRECTS_CASE): | 11323 * config.h.in (REALPATH_CORRECTS_CASE): |
11316 New #define, available on Darwin. | 11324 New #define, available on Darwin. |
11317 * realpath.c (readlink_or_correct_case): | 11325 * realpath.c (readlink_or_correct_case): |
11318 On Darwin, use realpath(3)'s case correction to get the canonical | 11326 On Darwin, use realpath(3)'s case correction to get the canonical |
11319 case for a file; thank you Robert Delius Royar! | 11327 case for a file; thank you Robert Delius Royar! |
11320 | 11328 |
11321 2009-10-16 Michael Sperber <mike@xemacs.org> | 11329 2009-10-16 Michael Sperber <mike@xemacs.org> |
11322 | 11330 |
11356 (truncate_two_float): Ditto. | 11364 (truncate_two_float): Ditto. |
11357 (truncate_one_ratio): Truncating zero should result in zero. | 11365 (truncate_one_ratio): Truncating zero should result in zero. |
11358 | 11366 |
11359 2009-10-10 Aidan Kehoe <kehoea@parhasard.net> | 11367 2009-10-10 Aidan Kehoe <kehoea@parhasard.net> |
11360 | 11368 |
11361 * rangetab.c (Frange_table_type): | 11369 * rangetab.c (Frange_table_type): |
11362 Correct the docstring for this function, don't reuse that of | 11370 Correct the docstring for this function, don't reuse that of |
11363 Frange_table_p. | 11371 Frange_table_p. |
11364 | 11372 |
11365 2009-10-05 Jerry James <james@xemacs.org> | 11373 2009-10-05 Jerry James <james@xemacs.org> |
11366 | 11374 |
11416 * frame-x.c (x_focus_on_frame): Use correct timestamp with | 11424 * frame-x.c (x_focus_on_frame): Use correct timestamp with |
11417 XSetInputFocus. | 11425 XSetInputFocus. |
11418 | 11426 |
11419 2009-09-30 Aidan Kehoe <kehoea@parhasard.net> | 11427 2009-09-30 Aidan Kehoe <kehoea@parhasard.net> |
11420 | 11428 |
11421 * mule-coding.c (fixed_width_putprop): | 11429 * mule-coding.c (fixed_width_putprop): |
11422 Register any CCL programs, avoiding crashes described by Robert | 11430 Register any CCL programs, avoiding crashes described by Robert |
11423 Delius Royar. Though it's unclear why, I'll try to investigate | 11431 Delius Royar. Though it's unclear why, I'll try to investigate |
11424 once I'm on a 32-bit Unix machine regularly again. | 11432 once I'm on a 32-bit Unix machine regularly again. |
11425 | 11433 |
11426 2009-09-29 Mike Sperber <mike@xemacs.org> | 11434 2009-09-29 Mike Sperber <mike@xemacs.org> |
11440 Make comment style more consistent. | 11448 Make comment style more consistent. |
11441 Remove some obsolete comments and #ifdefs. | 11449 Remove some obsolete comments and #ifdefs. |
11442 | 11450 |
11443 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> | 11451 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> |
11444 | 11452 |
11445 * alloc.c (Flist): | 11453 * alloc.c (Flist): |
11446 (Fvector): | 11454 (Fvector): |
11447 (Fbit_vector): | 11455 (Fbit_vector): |
11448 (Fmake_byte_code): | 11456 (Fmake_byte_code): |
11449 (Fstring): | 11457 (Fstring): |
11450 * data.c (Feqlsign): | 11458 * data.c (Feqlsign): |
11451 (Flss): | 11459 (Flss): |
11452 (Fgtr): | 11460 (Fgtr): |
11453 (Fleq): | 11461 (Fleq): |
11454 (Fgeq): | 11462 (Fgeq): |
11455 (Fneq): | 11463 (Fneq): |
11456 (Fgtr): | 11464 (Fgtr): |
11457 (Fplus): | 11465 (Fplus): |
11458 (Fminus): | 11466 (Fminus): |
11459 (Ftimes): | 11467 (Ftimes): |
11460 (Fdiv): | 11468 (Fdiv): |
11461 (Fquo): | 11469 (Fquo): |
11462 (Fmax): | 11470 (Fmax): |
11463 (Fmin): | 11471 (Fmin): |
11464 (Flogand): | 11472 (Flogand): |
11465 (Flogior): | 11473 (Flogior): |
11466 (Flogxor): | 11474 (Flogxor): |
11467 * editfns.c (Fsave_excursion): | 11475 * editfns.c (Fsave_excursion): |
11468 (Fsave_current_buffer): | 11476 (Fsave_current_buffer): |
11469 (Fencode_time): | 11477 (Fencode_time): |
11470 (Finsert): | 11478 (Finsert): |
11471 (Finsert_before_markers): | 11479 (Finsert_before_markers): |
11472 (Fsave_restriction): | 11480 (Fsave_restriction): |
11473 (Fformat): | 11481 (Fformat): |
11474 * elhash.c (Fmake_hash_table): | 11482 * elhash.c (Fmake_hash_table): |
11475 * eval.c (Fdefun): | 11483 * eval.c (Fdefun): |
11476 (Fdefmacro): | 11484 (Fdefmacro): |
11477 (Fcatch): | 11485 (Fcatch): |
11478 (Funwind_protect): | 11486 (Funwind_protect): |
11479 (Fcall_with_condition_handler): | 11487 (Fcall_with_condition_handler): |
11480 (Ffuncall): | 11488 (Ffuncall): |
11481 (Fapply): | 11489 (Fapply): |
11482 (Frun_hooks): | 11490 (Frun_hooks): |
11483 * fns.c (Fappend): | 11491 * fns.c (Fappend): |
11484 (Fconcat): | 11492 (Fconcat): |
11485 (Fvconcat): | 11493 (Fvconcat): |
11486 (Fbvconcat): | 11494 (Fbvconcat): |
11487 (Fnconc): | 11495 (Fnconc): |
11488 * print.c (Fwith_output_to_temp_buffer): | 11496 * print.c (Fwith_output_to_temp_buffer): |
11489 * process.c (Fstart_process_internal): | 11497 * process.c (Fstart_process_internal): |
11490 * window.c (Fsave_window_excursion): | 11498 * window.c (Fsave_window_excursion): |
11491 * widget.c (Fwidget_apply): | 11499 * widget.c (Fwidget_apply): |
11492 Add argument information, in a form understood by | 11500 Add argument information, in a form understood by |
11493 #'function-arglist, to all these MANY or UNEVALLED (that is to | 11501 #'function-arglist, to all these MANY or UNEVALLED (that is to |
11494 say, special-operator) built-in functions. | 11502 say, special-operator) built-in functions. |
11495 | 11503 |
11496 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> | 11504 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> |
11497 | 11505 |
11498 * general-slots.h: | 11506 * general-slots.h: |
11499 * mule-coding.c (syms_of_mule_coding): | 11507 * mule-coding.c (syms_of_mule_coding): |
11500 * mule-charset.c (syms_of_mule_charset): | 11508 * mule-charset.c (syms_of_mule_charset): |
11501 Move Qfrom_unicode to general-slots.h, now it's used in more than | 11509 Move Qfrom_unicode to general-slots.h, now it's used in more than |
11502 one file. Fixes the native Win32 build; thank you Vin! | 11510 one file. Fixes the native Win32 build; thank you Vin! |
11503 | 11511 |
11504 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> | 11512 2009-09-19 Aidan Kehoe <kehoea@parhasard.net> |
11505 | 11513 |
11511 portable #'query-coding-region implementation. However, this | 11519 portable #'query-coding-region implementation. However, this |
11512 change doesn't yet provide #'query-coding-region for the | 11520 change doesn't yet provide #'query-coding-region for the |
11513 mswindow-multibyte coding systems, there should be no functional | 11521 mswindow-multibyte coding systems, there should be no functional |
11514 differences between an XEmacs with this change and one without it. | 11522 differences between an XEmacs with this change and one without it. |
11515 | 11523 |
11516 * mule-coding.c (struct fixed_width_coding_system): | 11524 * mule-coding.c (struct fixed_width_coding_system): |
11517 Add a new coding system type, fixed_width, and implement it. It | 11525 Add a new coding system type, fixed_width, and implement it. It |
11518 uses the CCL infrastructure but has a much simpler creation API, | 11526 uses the CCL infrastructure but has a much simpler creation API, |
11519 and its own query_method, formerly in lisp/mule/mule-coding.el. | 11527 and its own query_method, formerly in lisp/mule/mule-coding.el. |
11520 * unicode.c: | 11528 * unicode.c: |
11521 Move the Unicode query method implementation here from | 11529 Move the Unicode query method implementation here from |
11522 unicode.el. | 11530 unicode.el. |
11523 * lisp.h: Declare Fmake_coding_system_internal, Fcopy_range_table | 11531 * lisp.h: Declare Fmake_coding_system_internal, Fcopy_range_table |
11524 here. | 11532 here. |
11525 * intl-win32.c (complex_vars_of_intl_win32): | 11533 * intl-win32.c (complex_vars_of_intl_win32): |
11526 Use Fmake_coding_system_internal, not Fmake_coding_system. | 11534 Use Fmake_coding_system_internal, not Fmake_coding_system. |
11527 * general-slots.h: Add Qsucceeded, Qunencodable, Qinvalid_sequence | 11535 * general-slots.h: Add Qsucceeded, Qunencodable, Qinvalid_sequence |
11528 here. | 11536 here. |
11529 * file-coding.h (enum coding_system_variant): | 11537 * file-coding.h (enum coding_system_variant): |
11530 Add fixed_width_coding_system here. | 11538 Add fixed_width_coding_system here. |
11531 (struct coding_system_methods): | 11539 (struct coding_system_methods): |
11532 Add query_method and query_lstream_method to the coding system | 11540 Add query_method and query_lstream_method to the coding system |
11533 methods. | 11541 methods. |
11534 Provide flags for the query methods. | 11542 Provide flags for the query methods. |
11535 Declare the default query method; initialise it correctly in | 11543 Declare the default query method; initialise it correctly in |
11536 INITIALIZE_CODING_SYSTEM_TYPE. | 11544 INITIALIZE_CODING_SYSTEM_TYPE. |
11537 * file-coding.c (default_query_method): | 11545 * file-coding.c (default_query_method): |
11538 New function, the default query method for coding systems that do | 11546 New function, the default query method for coding systems that do |
11539 not set it. Moved from coding.el. | 11547 not set it. Moved from coding.el. |
11540 (make_coding_system_1): | 11548 (make_coding_system_1): |
11541 Accept new elements in PROPS in #'make-coding-system; aliases, a | 11549 Accept new elements in PROPS in #'make-coding-system; aliases, a |
11542 list of aliases; safe-chars and safe-charsets (these were | 11550 list of aliases; safe-chars and safe-charsets (these were |
11543 previously accepted but not saved); and category. | 11551 previously accepted but not saved); and category. |
11544 (Fmake_coding_system_internal): | 11552 (Fmake_coding_system_internal): |
11545 New function, what used to be #'make-coding-system--on Mule | 11553 New function, what used to be #'make-coding-system--on Mule |
11546 builds, we've now moved some of the functionality of this to | 11554 builds, we've now moved some of the functionality of this to |
11547 Lisp. | 11555 Lisp. |
11548 (Fcoding_system_canonical_name_p): | 11556 (Fcoding_system_canonical_name_p): |
11549 Move this earlier in the file, since it's now called from within | 11557 Move this earlier in the file, since it's now called from within |
11550 make_coding_system_1. | 11558 make_coding_system_1. |
11551 (Fquery_coding_region): | 11559 (Fquery_coding_region): |
11552 Move the implementation of this here, from coding.el. | 11560 Move the implementation of this here, from coding.el. |
11553 (complex_vars_of_file_coding): | 11561 (complex_vars_of_file_coding): |
11554 Call Fmake_coding_system_internal, not Fmake_coding_system; | 11562 Call Fmake_coding_system_internal, not Fmake_coding_system; |
11555 specify safe-charsets properties when we're a mule build. | 11563 specify safe-charsets properties when we're a mule build. |
11556 * extents.h (mouse_highlight_priority, Fset_extent_priority, | 11564 * extents.h (mouse_highlight_priority, Fset_extent_priority, |
11557 Fset_extent_face, Fmap_extents): | 11565 Fset_extent_face, Fmap_extents): |
11558 Make these available to other C files. | 11566 Make these available to other C files. |
11559 | 11567 |
11560 2009-09-11 Aidan Kehoe <kehoea@parhasard.net> | 11568 2009-09-11 Aidan Kehoe <kehoea@parhasard.net> |
11561 | 11569 |
11562 * unicode.c (unicode_convert): | 11570 * unicode.c (unicode_convert): |
11563 Fix a bug with error sequences and very short input strings. | 11571 Fix a bug with error sequences and very short input strings. |
11564 | 11572 |
11565 2009-08-31 Aidan Kehoe <kehoea@parhasard.net> | 11573 2009-08-31 Aidan Kehoe <kehoea@parhasard.net> |
11566 | 11574 |
11567 * eval.c (For, Fand): | 11575 * eval.c (For, Fand): |
11568 Don't declare val as REGISTER in these functions, for some reason | 11576 Don't declare val as REGISTER in these functions, for some reason |
11569 it breaks the non-DEBUG union build. These functions are only | 11577 it breaks the non-DEBUG union build. These functions are only |
11570 called from interpreted code, the performance implication doesn't | 11578 called from interpreted code, the performance implication doesn't |
11571 matter. Thank you Robert Delius Royar! | 11579 matter. Thank you Robert Delius Royar! |
11572 * eval.c (Fmultiple_value_list_internal): | 11580 * eval.c (Fmultiple_value_list_internal): |
11573 Error on too many arguments. | 11581 Error on too many arguments. |
11574 | 11582 |
11575 2009-08-24 Jerry James <james@xemacs.org> | 11583 2009-08-24 Jerry James <james@xemacs.org> |
11576 | 11584 |
11577 * lisp.h (INT_64_BIT): define as __int64 on WIN32. | 11585 * lisp.h (INT_64_BIT): define as __int64 on WIN32. |
11578 * glyphs-eimage.c (tiff_instantiate): cast argument of | 11586 * glyphs-eimage.c (tiff_instantiate): cast argument of |
11597 (round_one_bigfloat_1, round_two_bigfloat, round_one_ratio) | 11605 (round_one_bigfloat_1, round_two_bigfloat, round_one_ratio) |
11598 (round_one_bigfloat, round_two_float, round_one_float) | 11606 (round_one_bigfloat, round_two_float, round_one_float) |
11599 (round_one_mundane_arg, truncate_two_fixnum) | 11607 (round_one_mundane_arg, truncate_two_fixnum) |
11600 (truncate_two_bignum, truncate_two_ratio, truncate_two_bigfloat) | 11608 (truncate_two_bignum, truncate_two_ratio, truncate_two_bigfloat) |
11601 (truncate_one_ratio, truncate_one_bigfloat, truncate_two_float) | 11609 (truncate_one_ratio, truncate_one_bigfloat, truncate_two_float) |
11602 (truncate_one_float, truncate_one_mundane_arg): | 11610 (truncate_one_float, truncate_one_mundane_arg): |
11603 New functions, used in the implementation of the rounding | 11611 New functions, used in the implementation of the rounding |
11604 functions. | 11612 functions. |
11605 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor) | 11613 (Fceiling, Ffloor, Fround, Ftruncate, Ffceiling, Fffloor) |
11606 (Ffround, Fftruncate): | 11614 (Ffround, Fftruncate): |
11607 Revise to fully support Common Lisp conventions. This means: | 11615 Revise to fully support Common Lisp conventions. This means: |
11608 -- All functions have optional DIVISOR arguments | 11616 -- All functions have optional DIVISOR arguments |
11609 -- All functions return multiple values; see #'values | 11617 -- All functions return multiple values; see #'values |
11610 -- All functions do their arithmetic with the correct number types | 11618 -- All functions do their arithmetic with the correct number types |
11611 according to the contamination rules. | 11619 according to the contamination rules. |
11612 -- #'round and #'fround always round towards the even number | 11620 -- #'round and #'fround always round towards the even number |
11613 in ambiguous cases. | 11621 in ambiguous cases. |
11614 * doprnt.c (emacs_doprnt_1): | 11622 * doprnt.c (emacs_doprnt_1): |
11615 * number.c (internal_coerce_number): | 11623 * number.c (internal_coerce_number): |
11616 Call Ftruncate with two arguments, not one. | 11624 Call Ftruncate with two arguments, not one. |
11617 * floatfns.c (Ffloat): | 11625 * floatfns.c (Ffloat): |
11618 Correct this, if NUMBER is a bignum. | 11626 Correct this, if NUMBER is a bignum. |
11619 * lisp.h: | 11627 * lisp.h: |
11620 Declare Ftruncate as taking two arguments. | 11628 Declare Ftruncate as taking two arguments. |
11621 * number.c: | 11629 * number.c: |
11622 Provide scratch_ratio2, init it appropriately. | 11630 Provide scratch_ratio2, init it appropriately. |
11623 * number.h: | 11631 * number.h: |
11624 Make scratch_ratio2 available. | 11632 Make scratch_ratio2 available. |
11625 * number.h (BIGFLOAT_ARITH_RETURN): | 11633 * number.h (BIGFLOAT_ARITH_RETURN): |
11626 * number.h (BIGFLOAT_ARITH_RETURN1): | 11634 * number.h (BIGFLOAT_ARITH_RETURN1): |
11627 Correct these functions. | 11635 Correct these functions. |
11628 | 11636 |
11629 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> | 11637 2009-08-11 Aidan Kehoe <kehoea@parhasard.net> |
11630 | 11638 |
11631 * bytecode.c (enum Opcode /* Byte codes */): | 11639 * bytecode.c (enum Opcode /* Byte codes */): |
11632 Add four new bytecodes, to deal with multiple values. | 11640 Add four new bytecodes, to deal with multiple values. |
11633 (POP_WITH_MULTIPLE_VALUES): New macro. | 11641 (POP_WITH_MULTIPLE_VALUES): New macro. |
11634 (POP): Modify this macro to ignore multiple values. | 11642 (POP): Modify this macro to ignore multiple values. |
11635 (DISCARD_PRESERVING_MULTIPLE_VALUES): New macro. | 11643 (DISCARD_PRESERVING_MULTIPLE_VALUES): New macro. |
11636 (DISCARD): Modify this macro to ignore multiple values. | 11644 (DISCARD): Modify this macro to ignore multiple values. |
11637 (TOP_WITH_MULTIPLE_VALUES): New macro. | 11645 (TOP_WITH_MULTIPLE_VALUES): New macro. |
11638 (TOP_ADDRESS): New macro. | 11646 (TOP_ADDRESS): New macro. |
11639 (TOP): Modify this macro to ignore multiple values. | 11647 (TOP): Modify this macro to ignore multiple values. |
11640 (TOP_LVALUE): New macro. | 11648 (TOP_LVALUE): New macro. |
11641 (Bcall): Ignore multiple values where appropriate. | 11649 (Bcall): Ignore multiple values where appropriate. |
11642 (Breturn): Pass back multiple values. | 11650 (Breturn): Pass back multiple values. |
11643 (Bdup): Preserve multiple values. | 11651 (Bdup): Preserve multiple values. |
11644 Use TOP_LVALUE with most bytecodes that assign anything to | 11652 Use TOP_LVALUE with most bytecodes that assign anything to |
11645 anything. | 11653 anything. |
11646 (Bbind_multiple_value_limits, Bmultiple_value_call, | 11654 (Bbind_multiple_value_limits, Bmultiple_value_call, |
11647 Bmultiple_value_list_internal, Bthrow): Implement the new | 11655 Bmultiple_value_list_internal, Bthrow): Implement the new |
11648 bytecodes. | 11656 bytecodes. |
11649 (Bgotoifnilelsepop, Bgotoifnonnilelsepop, BRgotoifnilelsepop, | 11657 (Bgotoifnilelsepop, Bgotoifnonnilelsepop, BRgotoifnilelsepop, |
11650 BRgotoifnonnilelsepop): | 11658 BRgotoifnonnilelsepop): |
11651 Discard any multiple values. | 11659 Discard any multiple values. |
11652 * callint.c (Fcall_interactively): | 11660 * callint.c (Fcall_interactively): |
11653 Ignore multiple values when calling #'eval, in two places. | 11661 Ignore multiple values when calling #'eval, in two places. |
11654 * device-x.c (x_IO_error_handler): | 11662 * device-x.c (x_IO_error_handler): |
11655 * macros.c (pop_kbd_macro_event): | 11663 * macros.c (pop_kbd_macro_event): |
11656 * eval.c (Fsignal): | 11664 * eval.c (Fsignal): |
11657 * eval.c (flagged_a_squirmer): | 11665 * eval.c (flagged_a_squirmer): |
11658 Call throw_or_bomb_out, not Fthrow, now that the latter is a | 11666 Call throw_or_bomb_out, not Fthrow, now that the latter is a |
11659 special form. | 11667 special form. |
11660 * eval.c: | 11668 * eval.c: |
11661 Make Qthrow, Qobsolete_throw available as symbols. | 11669 Make Qthrow, Qobsolete_throw available as symbols. |
11662 Provide multiple_value_current_limit, multiple-values-limit (the | 11670 Provide multiple_value_current_limit, multiple-values-limit (the |
11663 latter as specified by Common Lisp. | 11671 latter as specified by Common Lisp. |
11664 * eval.c (For): | 11672 * eval.c (For): |
11665 Ignore multiple values when comparing with Qnil, but pass any | 11673 Ignore multiple values when comparing with Qnil, but pass any |
11666 multiple values back for the last arg. | 11674 multiple values back for the last arg. |
11667 * eval.c (Fand): | 11675 * eval.c (Fand): |
11668 Ditto. | 11676 Ditto. |
11669 * eval.c (Fif): | 11677 * eval.c (Fif): |
11670 Ignore multiple values when examining the result of the | 11678 Ignore multiple values when examining the result of the |
11671 condition. | 11679 condition. |
11672 * eval.c (Fcond): | 11680 * eval.c (Fcond): |
11673 Ignore multiple values when comparing what the clauses give, but | 11681 Ignore multiple values when comparing what the clauses give, but |
11674 pass them back if a clause gave non-nil. | 11682 pass them back if a clause gave non-nil. |
11675 * eval.c (Fprog2): | 11683 * eval.c (Fprog2): |
11676 Never pass back multiple values. | 11684 Never pass back multiple values. |
11677 * eval.c (FletX, Flet): | 11685 * eval.c (FletX, Flet): |
11678 Ignore multiple when evaluating what exactly symbols should be | 11686 Ignore multiple when evaluating what exactly symbols should be |
11679 bound to. | 11687 bound to. |
11680 * eval.c (Fwhile): | 11688 * eval.c (Fwhile): |
11681 Ignore multiple values when evaluating the test. | 11689 Ignore multiple values when evaluating the test. |
11682 * eval.c (Fsetq, Fdefvar, Fdefconst): | 11690 * eval.c (Fsetq, Fdefvar, Fdefconst): |
11683 Ignore multiple values. | 11691 Ignore multiple values. |
11684 * eval.c (Fthrow): | 11692 * eval.c (Fthrow): |
11685 Declare this as a special form; ignore multiple values for TAG, | 11693 Declare this as a special form; ignore multiple values for TAG, |
11686 preserve them for VALUE. | 11694 preserve them for VALUE. |
11687 * eval.c (throw_or_bomb_out): | 11695 * eval.c (throw_or_bomb_out): |
11688 Make this available to other files, now Fthrow is a special form. | 11696 Make this available to other files, now Fthrow is a special form. |
11689 * eval.c (Feval): | 11697 * eval.c (Feval): |
11690 Ignore multiple values when calling a compiled function, a | 11698 Ignore multiple values when calling a compiled function, a |
11691 non-special-form subr, or a lambda expression. | 11699 non-special-form subr, or a lambda expression. |
11692 * eval.c (Ffuncall): | 11700 * eval.c (Ffuncall): |
11693 If we attempt to call #'throw (now a special form) as a function, | 11701 If we attempt to call #'throw (now a special form) as a function, |
11694 don't error, call #'obsolete-throw instead. | 11702 don't error, call #'obsolete-throw instead. |
11695 * eval.c (make_multiple_value, multiple_value_aset) | 11703 * eval.c (make_multiple_value, multiple_value_aset) |
11696 (multiple_value_aref, print_multiple_value, mark_multiple_value) | 11704 (multiple_value_aref, print_multiple_value, mark_multiple_value) |
11697 (size_multiple_value): | 11705 (size_multiple_value): |
11698 Implement the multiple_value type. Add a long comment describing | 11706 Implement the multiple_value type. Add a long comment describing |
11699 our implementation. | 11707 our implementation. |
11700 * eval.c (bind_multiple_value_limits): | 11708 * eval.c (bind_multiple_value_limits): |
11701 New function, used by the bytecode and by #'multiple-value-call, | 11709 New function, used by the bytecode and by #'multiple-value-call, |
11702 #'multiple-value-list-internal. | 11710 #'multiple-value-list-internal. |
11703 * eval.c (multiple_value_call): | 11711 * eval.c (multiple_value_call): |
11704 New function, used by the bytecode and #'multiple-value-call. | 11712 New function, used by the bytecode and #'multiple-value-call. |
11705 * eval.c (Fmultiple_value_call): | 11713 * eval.c (Fmultiple_value_call): |
11706 New special form. | 11714 New special form. |
11707 * eval.c (multiple_value_list_internal): | 11715 * eval.c (multiple_value_list_internal): |
11708 New function, used by the byte code and | 11716 New function, used by the byte code and |
11709 #'multiple-value-list-internal. | 11717 #'multiple-value-list-internal. |
11710 * eval.c (Fmultiple_value_list_internal, Fmultiple_value_prog1): | 11718 * eval.c (Fmultiple_value_list_internal, Fmultiple_value_prog1): |
11711 New special forms. | 11719 New special forms. |
11712 * eval.c (Fvalues, Fvalues_list): | 11720 * eval.c (Fvalues, Fvalues_list): |
11713 New Lisp functions. | 11721 New Lisp functions. |
11714 * eval.c (values2): | 11722 * eval.c (values2): |
11715 New function, for C code returning multiple values. | 11723 New function, for C code returning multiple values. |
11716 * eval.c (syms_of_eval): | 11724 * eval.c (syms_of_eval): |
11717 Make our new Lisp functions and symbols available. | 11725 Make our new Lisp functions and symbols available. |
11718 * eval.c (multiple-values-limit): | 11726 * eval.c (multiple-values-limit): |
11719 Make this available to Lisp. | 11727 Make this available to Lisp. |
11720 * event-msw.c (dde_eval_string): | 11728 * event-msw.c (dde_eval_string): |
11721 * event-stream.c (execute_help_form): | 11729 * event-stream.c (execute_help_form): |
11722 * glade.c (connector): | 11730 * glade.c (connector): |
11723 * glyphs-widget.c (glyph_instantiator_to_glyph): | 11731 * glyphs-widget.c (glyph_instantiator_to_glyph): |
11724 * glyphs.c (evaluate_xpm_color_symbols): | 11732 * glyphs.c (evaluate_xpm_color_symbols): |
11725 * gui-x.c (wv_set_evalable_slot, button_item_to_widget_value): | 11733 * gui-x.c (wv_set_evalable_slot, button_item_to_widget_value): |
11726 * gui.c (gui_item_value, gui_item_display_flush_left): | 11734 * gui.c (gui_item_value, gui_item_display_flush_left): |
11727 * lread.c (check_if_suppressed): | 11735 * lread.c (check_if_suppressed): |
11728 * menubar-gtk.c (menu_convert, menu_descriptor_to_widget_1): | 11736 * menubar-gtk.c (menu_convert, menu_descriptor_to_widget_1): |
11729 * menubar-msw.c (populate_menu_add_item): | 11737 * menubar-msw.c (populate_menu_add_item): |
11730 * print.c (Fwith_output_to_temp_buffer): | 11738 * print.c (Fwith_output_to_temp_buffer): |
11731 * symbols.c (Fsetq_default): | 11739 * symbols.c (Fsetq_default): |
11732 Ignore multiple values when calling Feval. | 11740 Ignore multiple values when calling Feval. |
11733 * symeval.h: | 11741 * symeval.h: |
11734 Add the header declarations necessary for the multiple-values | 11742 Add the header declarations necessary for the multiple-values |
11735 implementation. | 11743 implementation. |
11736 * inline.c: | 11744 * inline.c: |
11737 #include symeval.h, now that it has some inline functions. | 11745 #include symeval.h, now that it has some inline functions. |
11738 * lisp.h: | 11746 * lisp.h: |
11739 Update Fthrow's declaration. Make throw_or_bomb_out available to | 11747 Update Fthrow's declaration. Make throw_or_bomb_out available to |
11740 all files. | 11748 all files. |
11741 * lrecord.h (enum lrecord_type): | 11749 * lrecord.h (enum lrecord_type): |
11742 Add the multiple_value type here. | 11750 Add the multiple_value type here. |
11743 | 11751 |
11744 2009-07-31 Stephen Turnbull <stephen@xemacs.org> | 11752 2009-07-31 Stephen Turnbull <stephen@xemacs.org> |
11745 | 11753 |
11746 * glyphs-gtk.c (gtk_xpm_instantiate): Image instance pixmap | 11754 * glyphs-gtk.c (gtk_xpm_instantiate): Image instance pixmap |
11747 hotspot coordinates are Lisp integers; make it so. | 11755 hotspot coordinates are Lisp integers; make it so. |
11748 Thanks to Karl Kleinpaste for reporting. | 11756 Thanks to Karl Kleinpaste for reporting. |
11749 | 11757 |
11750 2009-07-31 Stephen Turnbull <stephen@xemacs.org> | 11758 2009-07-31 Stephen Turnbull <stephen@xemacs.org> |
11751 | 11759 |
11752 * config.h.in (HAVE_DBM): | 11760 * config.h.in (HAVE_DBM): |
11753 * database.c (HAVE_DBM): | 11761 * database.c (HAVE_DBM): |
11754 Use gdbm/ndbm.h if needed (via NDBM_H_FILE). | 11762 Use gdbm/ndbm.h if needed (via NDBM_H_FILE). |
11755 Thanks to Karl Kleinpaste for the report. | 11763 Thanks to Karl Kleinpaste for the report. |
11756 | 11764 |
11757 2009-07-28 Stephen Turnbull <stephen@xemacs.org> | 11765 2009-07-28 Stephen Turnbull <stephen@xemacs.org> |
11758 | 11766 |
11765 | 11773 |
11766 * eval.c (debug-on-error): Document interaction with process filters. | 11774 * eval.c (debug-on-error): Document interaction with process filters. |
11767 | 11775 |
11768 2009-07-15 Aidan Kehoe <kehoea@parhasard.net> | 11776 2009-07-15 Aidan Kehoe <kehoea@parhasard.net> |
11769 | 11777 |
11770 * syntax.c (complex_vars_of_syntax): | 11778 * syntax.c (complex_vars_of_syntax): |
11771 ?\012 is whitespace, as it always should have been, thank you Karl | 11779 ?\012 is whitespace, as it always should have been, thank you Karl |
11772 Kleinpaste and the Gnus team! | 11780 Kleinpaste and the Gnus team! |
11773 | 11781 |
11774 2009-07-11 Aidan Kehoe <kehoea@parhasard.net> | 11782 2009-07-11 Aidan Kehoe <kehoea@parhasard.net> |
11775 | 11783 |
11776 * file-coding.c (undecided_canonicalize_after_coding): | 11784 * file-coding.c (undecided_canonicalize_after_coding): |
11777 If no data have been seen, or if | 11785 If no data have been seen, or if |
11778 coding_stream_canonicalize_after_coding gives nil, pass back | 11786 coding_stream_canonicalize_after_coding gives nil, pass back |
11779 str->codesys, which will be of type undecided (the same as the old | 11787 str->codesys, which will be of type undecided (the same as the old |
11780 behaviour) but will reflect any CODESYS argument passed to | 11788 behaviour) but will reflect any CODESYS argument passed to |
11781 make_coding_input_stream. See also the change in lisp/code-files.el | 11789 make_coding_input_stream. See also the change in lisp/code-files.el |
11793 * callint.c (Finteractive): Document that (interactive) must | 11801 * callint.c (Finteractive): Document that (interactive) must |
11794 appear at the "top level" of a function definition to be effective. | 11802 appear at the "top level" of a function definition to be effective. |
11795 | 11803 |
11796 2009-06-14 Aidan Kehoe <kehoea@parhasard.net> | 11804 2009-06-14 Aidan Kehoe <kehoea@parhasard.net> |
11797 | 11805 |
11798 * eval.c (For): | 11806 * eval.c (For): |
11799 * eval.c (Fand): | 11807 * eval.c (Fand): |
11800 * eval.c (Fif): | 11808 * eval.c (Fif): |
11801 * eval.c (Fwhen): | 11809 * eval.c (Fwhen): |
11802 * eval.c (Fcond): | 11810 * eval.c (Fcond): |
11803 * eval.c (Fprogn): | 11811 * eval.c (Fprogn): |
11804 * eval.c (Fprog1): | 11812 * eval.c (Fprog1): |
11805 * eval.c (Fprog2): | 11813 * eval.c (Fprog2): |
11806 * eval.c (FletX): | 11814 * eval.c (FletX): |
11807 * eval.c (Flet): | 11815 * eval.c (Flet): |
11808 * eval.c (Fwhile): | 11816 * eval.c (Fwhile): |
11809 * eval.c (Fdefvar): | 11817 * eval.c (Fdefvar): |
11810 * eval.c (Fdefconst): | 11818 * eval.c (Fdefconst): |
11811 * eval.c (Frun_hooks): | 11819 * eval.c (Frun_hooks): |
11812 * eval.c (Frun_hooks_with_args): | 11820 * eval.c (Frun_hooks_with_args): |
11813 * eval.c (Frun_hooks_with_args_until_success): | 11821 * eval.c (Frun_hooks_with_args_until_success): |
11814 * eval.c (Frun_hooks_with_args_until_failure): | 11822 * eval.c (Frun_hooks_with_args_until_failure): |
11815 Add arguments information, understood by #'function-arglist, to | 11823 Add arguments information, understood by #'function-arglist, to |
11816 all these special forms, functions and macros. Remove the | 11824 all these special forms, functions and macros. Remove the |
11817 argument information that was already there that was not | 11825 argument information that was already there that was not |
11818 understood by #'function-arglist. | 11826 understood by #'function-arglist. |
11819 | 11827 |
11820 2009-06-02 Ron Isaacson <Ron.Isaacson@morganstanley.com> | 11828 2009-06-02 Ron Isaacson <Ron.Isaacson@morganstanley.com> |
11821 | 11829 |
11822 * nt.c (mswindows_link): Fix off-by-one bug in mswindows_link: | 11830 * nt.c (mswindows_link): Fix off-by-one bug in mswindows_link: |
11823 need to include trailing NUL in length of file name. | 11831 need to include trailing NUL in length of file name. |
11840 | 11848 |
11841 * number-gmp.c (bigfloat_to_string): Fix broken string conversion. | 11849 * number-gmp.c (bigfloat_to_string): Fix broken string conversion. |
11842 | 11850 |
11843 2009-02-10 Aidan Kehoe <kehoea@parhasard.net> | 11851 2009-02-10 Aidan Kehoe <kehoea@parhasard.net> |
11844 | 11852 |
11845 * lread.c (Fload_internal): | 11853 * lread.c (Fload_internal): |
11846 Make load-file-name-internal readonly for Lisp code; make | 11854 Make load-file-name-internal readonly for Lisp code; make |
11847 load-file-name a modifiable copy. | 11855 load-file-name a modifiable copy. |
11848 (init_lread): | 11856 (init_lread): |
11849 Initialised Vload_file_name_internal, Vload_file_name to nil on | 11857 Initialised Vload_file_name_internal, Vload_file_name to nil on |
11850 each post-dump start. | 11858 each post-dump start. |
11851 | 11859 |
11852 2009-02-02 Stephen J. Turnbull <stephen@xemacs.org> | 11860 2009-02-02 Stephen J. Turnbull <stephen@xemacs.org> |
11853 | 11861 |
11859 update_frame_icon. Suggested by Henry S. Thompson | 11867 update_frame_icon. Suggested by Henry S. Thompson |
11860 <ht@inf.ed.ac.uk> in <f5btz7ghm5k@hildegard.inf.ed.ac.uk>. | 11868 <ht@inf.ed.ac.uk> in <f5btz7ghm5k@hildegard.inf.ed.ac.uk>. |
11861 | 11869 |
11862 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> | 11870 2009-01-31 Aidan Kehoe <kehoea@parhasard.net> |
11863 | 11871 |
11864 * unicode.c (unicode_convert): | 11872 * unicode.c (unicode_convert): |
11865 Correct little-endian UTF-16 surrogate handling. | 11873 Correct little-endian UTF-16 surrogate handling. |
11866 | 11874 |
11867 2009-01-16 Aidan Kehoe <kehoea@parhasard.net> | 11875 2009-01-16 Aidan Kehoe <kehoea@parhasard.net> |
11868 | 11876 |
11869 * chartab.c (print_table_entry): | 11877 * chartab.c (print_table_entry): |
11870 Print char table values correctly, eliminating some confusion | 11878 Print char table values correctly, eliminating some confusion |
11871 between symbols and strings. | 11879 between symbols and strings. |
11872 | 11880 |
11873 2009-01-10 Aidan Kehoe <kehoea@parhasard.net> | 11881 2009-01-10 Aidan Kehoe <kehoea@parhasard.net> |
11874 | 11882 |
11875 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): | 11883 * objects-msw.c (mswindows_font_spec_matches_charset_stage_2): |
11876 Accept msprinter as well as mswindows devices here. | 11884 Accept msprinter as well as mswindows devices here. |
11877 | 11885 |
11878 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> | 11886 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> |
11879 | 11887 |
11880 * device-x.c (Fx_get_font_path): | 11888 * device-x.c (Fx_get_font_path): |
11881 Free the font path once we're finished with it. | 11889 Free the font path once we're finished with it. |
11882 | 11890 |
11883 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> | 11891 2008-12-28 Aidan Kehoe <kehoea@parhasard.net> |
11884 | 11892 |
11885 * file-coding.c (Fmake_coding_system): | 11893 * file-coding.c (Fmake_coding_system): |
11886 Document our use of the safe-chars and safe-charsets properties, | 11894 Document our use of the safe-chars and safe-charsets properties, |
11887 and the differences compared to GNU. | 11895 and the differences compared to GNU. |
11888 (make_coding_system_1): Don't drop the safe-chars and | 11896 (make_coding_system_1): Don't drop the safe-chars and |
11889 safe-charsets properties. | 11897 safe-charsets properties. |
11890 (Fcoding_system_property): Return the safe-chars and safe-charsets | 11898 (Fcoding_system_property): Return the safe-chars and safe-charsets |
11891 properties when asked for them. | 11899 properties when asked for them. |
11892 * file-coding.h (CODING_SYSTEM_SAFE_CHARSETS): | 11900 * file-coding.h (CODING_SYSTEM_SAFE_CHARSETS): |
11893 * coding-system-slots.h: | 11901 * coding-system-slots.h: |
11894 Make the safe-chars and safe-charsets slots available in these | 11902 Make the safe-chars and safe-charsets slots available in these |
11895 headers. | 11903 headers. |
11896 | 11904 |
11897 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> | 11905 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> |
11898 | 11906 |
11899 * doc.c (Fbuilt_in_symbol_file): | 11907 * doc.c (Fbuilt_in_symbol_file): |
11900 Return a subr's filename immediately if we've found it. Check for | 11908 Return a subr's filename immediately if we've found it. Check for |
11901 compiled function and compiled macro docstrings in DOC too, and | 11909 compiled function and compiled macro docstrings in DOC too, and |
11902 return them if they exist. | 11910 return them if they exist. |
11903 The branch of the if statement focused on functions may have | 11911 The branch of the if statement focused on functions may have |
11904 executed, but we may still want to check variable bindings; an | 11912 executed, but we may still want to check variable bindings; an |
11905 else clause isn't appropriate. | 11913 else clause isn't appropriate. |
11906 | 11914 |
11907 2008-12-27 Vin Shelton <acs@xemacs.org> | 11915 2008-12-27 Vin Shelton <acs@xemacs.org> |
11909 * syswindows.h: Don't define wide character interfaces for Cygwin | 11917 * syswindows.h: Don't define wide character interfaces for Cygwin |
11910 1.7 and up. | 11918 1.7 and up. |
11911 | 11919 |
11912 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> | 11920 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> |
11913 | 11921 |
11914 * symbols.c (Fdefine_function): | 11922 * symbols.c (Fdefine_function): |
11915 * eval.c (define_function): | 11923 * eval.c (define_function): |
11916 Record explicitly that we're defining a function in the load | 11924 Record explicitly that we're defining a function in the load |
11917 history, in both these files. | 11925 history, in both these files. |
11918 | 11926 |
11919 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> | 11927 2008-12-22 Aidan Kehoe <kehoea@parhasard.net> |
11920 | 11928 |
11921 * faces.c (Fbuilt_in_face_specifiers): | 11929 * faces.c (Fbuilt_in_face_specifiers): |
11922 Document that we're returning a copy. | 11930 Document that we're returning a copy. |
11923 | 11931 |
11924 2008-12-21 Aidan Kehoe <kehoea@parhasard.net> | 11932 2008-12-21 Aidan Kehoe <kehoea@parhasard.net> |
11925 | 11933 |
11926 * faces.c (Fbuilt_in_face_specifiers): | 11934 * faces.c (Fbuilt_in_face_specifiers): |
11927 Don't simply warn the user not to modify | 11935 Don't simply warn the user not to modify |
11928 Vbuilt_in_face_specifiers, enforce this by returning a copy of the | 11936 Vbuilt_in_face_specifiers, enforce this by returning a copy of the |
11929 list. | 11937 list. |
11930 | 11938 |
11931 2008-11-02 Stephen J. Turnbull <stephen@xemacs.org> | 11939 2008-11-02 Stephen J. Turnbull <stephen@xemacs.org> |
11932 | 11940 |
11933 G++ 4.3 complains a lot about implicit conversions of string | 11941 G++ 4.3 complains a lot about implicit conversions of string |
11934 literals (const char *) to char *. Shut it up. | 11942 literals (const char *) to char *. Shut it up. |
12026 These end up in a dynarray, so we would need to define a whole new | 12034 These end up in a dynarray, so we would need to define a whole new |
12027 class of dynarray just to handle the const char stuff. | 12035 class of dynarray just to handle the const char stuff. |
12028 | 12036 |
12029 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> | 12037 2008-08-27 Aidan Kehoe <kehoea@parhasard.net> |
12030 | 12038 |
12031 * symbols.c (Fuser_variable_p): | 12039 * symbols.c (Fuser_variable_p): |
12032 (map_varalias_chain): | 12040 (map_varalias_chain): |
12033 Use EQ() and !EQ(), don't compare two Lisp_Objects using == and | 12041 Use EQ() and !EQ(), don't compare two Lisp_Objects using == and |
12034 !=. Fixes the union build, thank you Robert Delius Royar. | 12042 !=. Fixes the union build, thank you Robert Delius Royar. |
12035 | 12043 |
12036 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> | 12044 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> |
12037 | 12045 |
12038 * eval.c (Fuser_variable_p): Moved to symbols.c | 12046 * eval.c (Fuser_variable_p): Moved to symbols.c |
12039 * symbols.c (Fcustom_variable_p): Moved here from custom.el. | 12047 * symbols.c (Fcustom_variable_p): Moved here from custom.el. |
12040 (user_variable_alias_check_fun): Mapper function used in | 12048 (user_variable_alias_check_fun): Mapper function used in |
12041 `user-variable-p'. | 12049 `user-variable-p'. |
12042 (Fuser_variable_p): Moved here from eval.c, to allow it to examine | 12050 (Fuser_variable_p): Moved here from eval.c, to allow it to examine |
12043 the variable alias chain. Expanded to check each entry in the | 12051 the variable alias chain. Expanded to check each entry in the |
12044 variable alias chain for signs of being a user variable; | 12052 variable alias chain for signs of being a user variable; |
12045 documentation updated, noting the differences between GNU's | 12053 documentation updated, noting the differences between GNU's |
12046 behaviour and ours (ours is a little more sensible) | 12054 behaviour and ours (ours is a little more sensible) |
12047 (map_varalias_chain): New. | 12055 (map_varalias_chain): New. |
12048 Given a C function, call it at least once for each symbol in a | 12056 Given a C function, call it at least once for each symbol in a |
12049 symbol's varalias chain, signalling an error if there's a cycle, | 12057 symbol's varalias chain, signalling an error if there's a cycle, |
12050 and returning immediately if the function returns something other | 12058 and returning immediately if the function returns something other |
12051 than Qzero. | 12059 than Qzero. |
12052 (Fdefvaralias): Correct the use of the word "alias" in the | 12060 (Fdefvaralias): Correct the use of the word "alias" in the |
12053 docstring and in the argument name. Motivate this in a | 12061 docstring and in the argument name. Motivate this in a |
12054 comment. Add support for a DOCSTRING argument, something GNU has | 12062 comment. Add support for a DOCSTRING argument, something GNU has |
12055 too, and document this | 12063 too, and document this |
12056 * gc.c (vars_of_gc): Start the docstring of | 12064 * gc.c (vars_of_gc): Start the docstring of |
12057 `garbage-collection-messages' with an asterisk, to indicate that | 12065 `garbage-collection-messages' with an asterisk, to indicate that |
12058 it's a user variable. | 12066 it's a user variable. |
12059 | 12067 |
12060 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> | 12068 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> |
12061 | 12069 |
12062 Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change, | 12070 Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change, |
12063 which can allow much better performace with some stupid | 12071 which can allow much better performace with some stupid |
12071 * objects-xlike-inc.c (charset_table): Remove the entry for | 12079 * objects-xlike-inc.c (charset_table): Remove the entry for |
12072 Vcharset_arabic_iso8859_7, thank you Robert Delius Royar. | 12080 Vcharset_arabic_iso8859_7, thank you Robert Delius Royar. |
12073 | 12081 |
12074 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> | 12082 2008-08-05 Aidan Kehoe <kehoea@parhasard.net> |
12075 | 12083 |
12076 * mule-charset.c (complex_vars_of_mule_charset): | 12084 * mule-charset.c (complex_vars_of_mule_charset): |
12077 Remove Vcharset_arabic_iso8859_7. | 12085 Remove Vcharset_arabic_iso8859_7. |
12078 * lisp.h: Remove Vcharset_arabic_iso8859_7. | 12086 * lisp.h: Remove Vcharset_arabic_iso8859_7. |
12079 See commentary in lisp/mule/iso-with-esc.el for motivation. | 12087 See commentary in lisp/mule/iso-with-esc.el for motivation. |
12080 | 12088 |
12081 2008-08-03 Mats Lidell <matsl@xemacs.org> | 12089 2008-08-03 Mats Lidell <matsl@xemacs.org> |
12082 | 12090 |
12083 * config.h.in: Renamed USE_XFT_GAUGE to USE_XFT_GAUGES in sync | 12091 * config.h.in: Renamed USE_XFT_GAUGE to USE_XFT_GAUGES in sync |
12084 with configure.ac. | 12092 with configure.ac. |
12088 * nt.c (Fmswindows_short_file_name, Fmswindows_long_file_name): | 12096 * nt.c (Fmswindows_short_file_name, Fmswindows_long_file_name): |
12089 Remove their interactive specs; they shouldn't be called interactively. | 12097 Remove their interactive specs; they shouldn't be called interactively. |
12090 | 12098 |
12091 2008-07-17 Aidan Kehoe <kehoea@parhasard.net> | 12099 2008-07-17 Aidan Kehoe <kehoea@parhasard.net> |
12092 | 12100 |
12093 * redisplay.c (init_redisplay): | 12101 * redisplay.c (init_redisplay): |
12094 Don't set window-system to 'stream if running noninteractively, | 12102 Don't set window-system to 'stream if running noninteractively, |
12095 revert to the documented behaviour. | 12103 revert to the documented behaviour. |
12096 | 12104 |
12097 2008-07-16 Aidan Kehoe <kehoea@parhasard.net> | 12105 2008-07-16 Aidan Kehoe <kehoea@parhasard.net> |
12098 | 12106 |
12099 * lread.c (read_escape): | 12107 * lread.c (read_escape): |
12100 Error if we're handed an over-long hex character escape, something | 12108 Error if we're handed an over-long hex character escape, something |
12101 which arises reasonably frequently in code written for GNU. | 12109 which arises reasonably frequently in code written for GNU. |
12102 | 12110 |
12103 2008-07-07 Aidan Kehoe <kehoea@parhasard.net> | 12111 2008-07-07 Aidan Kehoe <kehoea@parhasard.net> |
12104 | 12112 |
12105 Patch to make it up to the device-specific code whether | 12113 Patch to make it up to the device-specific code whether |
12106 various Lisp functions should be called during device creation, | 12114 various Lisp functions should be called during device creation, |
12107 not relying on the startup code to decide this. Also, rename | 12115 not relying on the startup code to decide this. Also, rename |
12108 initial-window-system to initial-device-type (which makes more | 12116 initial-window-system to initial-device-type (which makes more |
12109 sense in this scheme), always set it. | 12117 sense in this scheme), always set it. |
12110 | 12118 |
12111 * redisplay.c (Vinitial_device_type): New. | 12119 * redisplay.c (Vinitial_device_type): New. |
12112 (Vinitial_window_system): Removed. | 12120 (Vinitial_window_system): Removed. |
12113 Rename initial-window-system to initial-device type, making it | 12121 Rename initial-window-system to initial-device type, making it |
12114 a stream if we're noninteractive. Update its docstring. | 12122 a stream if we're noninteractive. Update its docstring. |
12115 | 12123 |
12116 * device-x.c (Qmake_device_early_x_entry_point, | 12124 * device-x.c (Qmake_device_early_x_entry_point, |
12117 Qmake_device_late_x_entry_point): New. | 12125 Qmake_device_late_x_entry_point): New. |
12118 Rename Qinit_pre_x_win, Qinit_post_x_win. | 12126 Rename Qinit_pre_x_win, Qinit_post_x_win. |
12119 (x_init_device): Call #'make-device-early-x-entry-point earlier, | 12127 (x_init_device): Call #'make-device-early-x-entry-point earlier, |
12120 now we rely on it to find the application class and the | 12128 now we rely on it to find the application class and the |
12121 app-defaults directory. | 12129 app-defaults directory. |
12122 (x_finish_init_device): Call #'make-device-late-x-entry-point with | 12130 (x_finish_init_device): Call #'make-device-late-x-entry-point with |
12123 the created device. | 12131 the created device. |
12124 (Vx_app_defaults_directory): Always make this available, to | 12132 (Vx_app_defaults_directory): Always make this available, to |
12125 simplify code in x-init.el. | 12133 simplify code in x-init.el. |
12126 | 12134 |
12127 * device-tty.c (Qmake_device_early_tty_entry_point): New. | 12135 * device-tty.c (Qmake_device_early_tty_entry_point): New. |
12128 Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to | 12136 Rename Qinit_pre_tty_win, rename Qinit_post_tty_win and move to |
12129 frame-tty.c as Qmake_frame_after_init_entry_point. | 12137 frame-tty.c as Qmake_frame_after_init_entry_point. |
12130 (tty_init_device): Call #'make-device-early-tty-entry-point before | 12138 (tty_init_device): Call #'make-device-early-tty-entry-point before |
12131 doing anything. | 12139 doing anything. |
12132 * frame-tty.c (Qmake_frame_after_init_entry_point): New. | 12140 * frame-tty.c (Qmake_frame_after_init_entry_point): New. |
12133 * frame-tty.c (tty_after_init_frame): Have it call the | 12141 * frame-tty.c (tty_after_init_frame): Have it call the |
12134 better-named #'make-frame-after-init-entry-point function | 12142 better-named #'make-frame-after-init-entry-point function |
12135 instead of #'init-post-tty-win (since it's called after frame, not | 12143 instead of #'init-post-tty-win (since it's called after frame, not |
12136 device, creation). | 12144 device, creation). |
12137 | 12145 |
12138 * device-msw.c (Qmake_device_early_mswindows_entry_point, | 12146 * device-msw.c (Qmake_device_early_mswindows_entry_point, |
12139 Qmake_device_late_mswindows_entry_point): New. | 12147 Qmake_device_late_mswindows_entry_point): New. |
12140 Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win. | 12148 Rename Qinit_pre_mswindows_win, Qinit_post_mswindows_win. |
12141 (mswindows_init_device): Call | 12149 (mswindows_init_device): Call |
12142 #'make-device-early-mswindows-entry-point here, instead of having | 12150 #'make-device-early-mswindows-entry-point here, instead of having |
12143 its predecessor call us. | 12151 its predecessor call us. |
12144 (mswindows_finish_init_device): Call | 12152 (mswindows_finish_init_device): Call |
12145 #'make-device-early-mswindows-entry-point, for symmetry with the | 12153 #'make-device-early-mswindows-entry-point, for symmetry with the |
12146 other device types (though it's an empty function). | 12154 other device types (though it's an empty function). |
12147 | 12155 |
12148 * device-gtk.c (Qmake_device_early_gtk_entry_point, | 12156 * device-gtk.c (Qmake_device_early_gtk_entry_point, |
12149 Qmake_device_late_gtk_entry_point): New. | 12157 Qmake_device_late_gtk_entry_point): New. |
12150 Rename Qinit_pre_gtk_win, Qinit_post_gtk_win. | 12158 Rename Qinit_pre_gtk_win, Qinit_post_gtk_win. |
12151 (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't | 12159 (gtk_init_device): Call #'make-device-early-gtk-entry-point; don't |
12152 load ~/.xemacs/gtk-options.el ourselves, leave that to lisp. | 12160 load ~/.xemacs/gtk-options.el ourselves, leave that to lisp. |
12153 (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point | 12161 (gtk_finish_init_device): Call #'make-device-late-gtk-entry-point |
12154 with the created device as an argument. | 12162 with the created device as an argument. |
12155 | 12163 |
12156 2008-07-10 Aidan Kehoe <kehoea@parhasard.net> | 12164 2008-07-10 Aidan Kehoe <kehoea@parhasard.net> |
12157 | 12165 |
12158 * redisplay-msw.c (mswindows_text_width_single_run): | 12166 * redisplay-msw.c (mswindows_text_width_single_run): |
12159 Explicitly check for the null font instance, and return zero if | 12167 Explicitly check for the null font instance, and return zero if |
12160 so. Avoids the crash documented in | 12168 so. Avoids the crash documented in |
12161 http://mid.gmane.org/18473.32468.712317.149457@parhasard.net . | 12169 http://mid.gmane.org/18473.32468.712317.149457@parhasard.net . |
12162 | 12170 |
12163 2008-05-27 Aidan Kehoe <kehoea@parhasard.net> | 12171 2008-05-27 Aidan Kehoe <kehoea@parhasard.net> |
12164 | 12172 |
12165 * editfns.c (Ftranslate_region): | 12173 * editfns.c (Ftranslate_region): |
12166 Correct a thinko in the last commit; I meant #'get-char-table, not | 12174 Correct a thinko in the last commit; I meant #'get-char-table, not |
12167 #'put-char-table. | 12175 #'put-char-table. |
12168 | 12176 |
12169 2008-05-25 Aidan Kehoe <kehoea@parhasard.net> | 12177 2008-05-25 Aidan Kehoe <kehoea@parhasard.net> |
12170 | 12178 |
12171 * chartab.c (Fmake_char_table): | 12179 * chartab.c (Fmake_char_table): |
12172 Document the default return values for the various char table | 12180 Document the default return values for the various char table |
12173 types. | 12181 types. |
12174 * editfns.c (Ftranslate_region): Document why `generic' char tables | 12182 * editfns.c (Ftranslate_region): Document why `generic' char tables |
12175 are preferable to `char' char tables for this function. | 12183 are preferable to `char' char tables for this function. |
12176 | 12184 |
12177 2008-05-21 Aidan Kehoe <kehoea@parhasard.net> | 12185 2008-05-21 Aidan Kehoe <kehoea@parhasard.net> |
12178 | 12186 |
12179 * fileio.c (Fmake_symbolic_link): | 12187 * fileio.c (Fmake_symbolic_link): |
12180 Document behaviour when the underlying OS doesn't support symbolic | 12188 Document behaviour when the underlying OS doesn't support symbolic |
12181 links. | 12189 links. |
12182 | 12190 |
12183 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> | 12191 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> |
12184 | 12192 |
12185 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): | 12193 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH): |
12186 Use WEXTSTRING separately on the two concatenated strings, | 12194 Use WEXTSTRING separately on the two concatenated strings, |
12187 avoiding an error on Win32. | 12195 avoiding an error on Win32. |
12188 | 12196 |
12189 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> | 12197 2008-05-13 Aidan Kehoe <kehoea@parhasard.net> |
12190 | 12198 |
12191 * config.h.in (_CRT_NONSTDC_NO_DEPRECATE): | 12199 * config.h.in (_CRT_NONSTDC_NO_DEPRECATE): |
12192 Define this, to avoid warnings about using standard POSIX and C9X | 12200 Define this, to avoid warnings about using standard POSIX and C9X |
12193 functions on Win32; fixes part of Matthew Persico's problems of | 12201 functions on Win32; fixes part of Matthew Persico's problems of |
12194 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com . | 12202 9ea6aaa80805081832r1a3308e9wb6d2bfea7457379f@mail.gmail.com . |
12195 | 12203 |
12196 2008-01-20 Aidan Kehoe <kehoea@parhasard.net> | 12204 2008-01-20 Aidan Kehoe <kehoea@parhasard.net> |
12197 | 12205 |
12198 * config.h.in: Add SHEBANG_PROGNAME. | 12206 * config.h.in: Add SHEBANG_PROGNAME. |
12199 * emacs.c (main_1): | 12207 * emacs.c (main_1): |
12200 If we've been called using SHEBANG_PROGNAME, rewrite our arguments | 12208 If we've been called using SHEBANG_PROGNAME, rewrite our arguments |
12201 to add a --script argument. | 12209 to add a --script argument. |
12202 Also, handle the --script argument by setting noninteractive and | 12210 Also, handle the --script argument by setting noninteractive and |
12203 vanilla. | 12211 vanilla. |
12204 * lread.c (Fload_internal): | 12212 * lread.c (Fload_internal): |
12205 If the first two characters of a file are #!, replace them with ;! | 12213 If the first two characters of a file are #!, replace them with ;! |
12206 before they get to the Lisp reader. | 12214 before they get to the Lisp reader. |
12207 | 12215 |
12208 2008-04-26 Mike Sperber <mike@xemacs.org> | 12216 2008-04-26 Mike Sperber <mike@xemacs.org> |
12209 | 12217 |
12210 * window.c (set_window_pixsize): Round up when we're shrinking, | 12218 * window.c (set_window_pixsize): Round up when we're shrinking, |
12211 down when we're growing * to make sure that pairs of grow / shrink | 12219 down when we're growing * to make sure that pairs of grow / shrink |
12213 problem with `resize-minibuffer-mode' where successive grow/shrink | 12221 problem with `resize-minibuffer-mode' where successive grow/shrink |
12214 actions are meant to cancel out, but previously didn't. | 12222 actions are meant to cancel out, but previously didn't. |
12215 | 12223 |
12216 2008-04-05 Aidan Kehoe <kehoea@parhasard.net> | 12224 2008-04-05 Aidan Kehoe <kehoea@parhasard.net> |
12217 | 12225 |
12218 * depend: | 12226 * depend: |
12219 Regenerate with LF line endings, not CRLF. | 12227 Regenerate with LF line endings, not CRLF. |
12220 | 12228 |
12221 2008-03-15 Michael Sperber <mike@xemacs.org> | 12229 2008-03-15 Michael Sperber <mike@xemacs.org> |
12222 | 12230 |
12223 * lread.c (read1): Signal an error on ?\<newline>, thus preventing | 12231 * lread.c (read1): Signal an error on ?\<newline>, thus preventing |
12224 an assertion failure higher up. | 12232 an assertion failure higher up. |