comparison lisp/ChangeLog @ 4571:ebc01476e352

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 30 Dec 2008 20:33:30 +0000
parents ab9e8f0fb295 e6a7054a9c30
children 16c9098dd3d2
comparison
equal deleted inserted replaced
4548:b0d2ace4aed1 4571:ebc01476e352
1 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 1 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
2 2
3 * make-docfile.el: 3 * make-docfile.el:
4 Use absolute source file names when checking if DOC is out of 4 Use absolute source file names when checking if DOC is out of
5 date, don't use relative paths that may not be related to the 5 date, don't use relative paths that may not be related to the
6 current directory. 6 current directory.
7
8 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
9
10 * coding.el (query-coding-region):
11 (query-coding-string):
12 Make these defsubsts, they're short enough and they're called
13 explicitly rarely enough that it make some sense. The alternative
14 would be compiler macros that avoid the binding of the arguments.
15 (unencodable-char-position):
16 Document where the docstring and API are from.
17 Correct a special case for zero--check-argument-type returns nil
18 when it succeeds, we can't usefully chain its result in an and
19 here.
20 (check-coding-systems-region): New. API taken from GNU; docstring
21 and implementation are independent.
22 (encode-coding-char):
23 Add an optional third argument, as used by recent GNU. Document
24 the origen of the docstring.
25 (default-query-coding-region): Add a short docstring to the
26 non-Mule implementation of this function.
27 * unicode.el:
28 Don't set the query-coding-function property for unicode coding
29 systems if we're on non-mule. Unintern
30 unicode-query-coding-region, unicode-query-coding-skip-chars-arg
31 in the same context.
7 32
8 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> 33 2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
9 34
10 * frame.el (display-mouse-p): 35 * frame.el (display-mouse-p):
11 (display-popup-menus-p): 36 (display-popup-menus-p):
12 (display-images-p): 37 (display-images-p):
13 (display-selections-p): 38 (display-selections-p):
14 (display-visual-class): 39 (display-visual-class):
15 Make all these functions more general, do not hard code device 40 Make all these functions more general, do not hard code device
16 type symbols where that is inappropriate. 41 type symbols where that is inappropriate.
42
43 2008-12-28 Aidan Kehoe <kehoea@parhasard.net>
44
45 * coding.el (default-query-coding-region):
46 Declare using defun*, so we can #'return-from to it on
47 encountering a safe-charsets value of t. Comment out a few
48 debug messages.
49 (query-coding-region):
50 Correct the docstring, it deals with a region, not a string.
51 (unencodable-char-position):
52 Correct the implementation for non-nil COUNT, special-case a zero
53 value for count, treat it as one. Don't rely on dynamic scope when
54 calling the main lambda.
55 * unicode.el (unicode-query-coding-region):
56 Comment out some debug messages here.
57 * mule/mule-coding.el (8-bit-fixed-query-coding-region):
58 Comment out some debug messages here.
59
60 * code-init.el (raw-text):
61 Add a safe-charsets property to this coding system.
62 * mule/korean.el (iso-2022-int-1):
63 * mule/korean.el (euc-kr):
64 * mule/korean.el (iso-2022-kr):
65 Add safe-charsets properties for these coding systems.
66 * mule/japanese.el (iso-2022-jp):
67 * mule/japanese.el (jis7):
68 * mule/japanese.el (jis8):
69 * mule/japanese.el (shift-jis):
70 * mule/japanese.el (iso-2022-jp-1978-irv):
71 * mule/japanese.el (euc-jp):
72 Add safe-charsets properties for all these coding systems.
73 * mule/iso-with-esc.el:
74 Add safe-charsets properties to all the coding systems in
75 here. Comment on the downside of a safe-charsets value of t for
76 iso-latin-1-with-esc.
77 * mule/hebrew.el (ctext-hebrew):
78 Add a safe-charsets property for this coding system.
79 * mule/devanagari.el (in-is13194-devanagari):
80 Add a safe-charsets property for this coding system.
81 * mule/chinese.el (cn-gb-2312):
82 * mule/chinese.el (hz-gb-2312):
83 * mule/chinese.el (big5):
84 Add safe-charsets properties for these coding systems.
85 * mule/latin.el (iso-8859-14):
86 Add an implementation for this, using #'make-8-bit-coding-system.
87 * mule/mule-coding.el (ctext):
88 * mule/mule-coding.el (iso-2022-8bit-ss2):
89 * mule/mule-coding.el (iso-2022-7bit-ss2):
90 * mule/mule-coding.el (iso-2022-jp-2):
91 * mule/mule-coding.el (iso-2022-7bit):
92 * mule/mule-coding.el (iso-2022-8):
93 * mule/mule-coding.el (escape-quoted):
94 * mule/mule-coding.el (iso-2022-lock):
95 Add safe-charsets properties for all these coding systems.
17 96
18 2008-12-27 Aidan Kehoe <kehoea@parhasard.net> 97 2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
19 98
20 * loadhist.el (symbol-file): 99 * loadhist.el (symbol-file):
21 Use #'defun*, not #'defun, to allow the checks for autoloaded 100 Use #'defun*, not #'defun, to allow the checks for autoloaded
116 2008-08-23 Aidan Kehoe <kehoea@parhasard.net> 195 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
117 196
118 * custom.el: Move #'custom-variable-p to C, since it's now called 197 * custom.el: Move #'custom-variable-p to C, since it's now called
119 from #'user-variable-p. 198 from #'user-variable-p.
120 199
200 2008-08-23 Aidan Kehoe <kehoea@parhasard.net>
201
202 * mule/mule-coding.el (make-8-bit-coding-system):
203 * mule/general-late.el (posix-charset-to-coding-system-hash):
204 Use #'skip-chars-quote as appropriate.
205
121 2008-08-09 Aidan Kehoe <kehoea@parhasard.net> 206 2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
122 207
123 * subr.el (skip-chars-quote): New. 208 * subr.el (skip-chars-quote): New.
124 Given STRING, return a string that means that all characters in 209 Given STRING, return a string that means that all characters in
125 STRING will be skipped when passed to #'skip-chars-forward, 210 STRING will be skipped when passed to #'skip-chars-forward,
308 Make this a char table of type generic, not of type char. Makes it 393 Make this a char table of type generic, not of type char. Makes it
309 possible to have the relevant logic in #'describe-char reasonably 394 possible to have the relevant logic in #'describe-char reasonably
310 clear; also, and this is undocumented, makes it much easier to 395 clear; also, and this is undocumented, makes it much easier to
311 implement #'frob-unicode-errors-region. I should document this, 396 implement #'frob-unicode-errors-region. I should document this,
312 and revise #'frob-unicode-errors-region. 397 and revise #'frob-unicode-errors-region.
398
399 2008-05-21 Aidan Kehoe <kehoea@parhasard.net>
400
401 * mule/mule-coding.el (make-8-bit-choose-category):
402 Merge my change of 2008-05-14 to the query-coding-region code.
313 403
314 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org> 404 2008-05-14 Stephen J. Turnbull <stephen@xemacs.org>
315 405
316 * subr.el (add-to-list): Fix Aidan's last commit. 406 * subr.el (add-to-list): Fix Aidan's last commit.
317 407
406 * mule/latin.el (windows-1250): Add the Central European Windows 496 * mule/latin.el (windows-1250): Add the Central European Windows
407 coding system. 497 coding system.
408 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250 498 * mule/mule-win32-init.el: Don't use the Windows-specific CP1250
409 implementation, rely on that in latin.el instead. 499 implementation, rely on that in latin.el instead.
410 500
501 2008-05-11 Aidan Kehoe <kehoea@parhasard.net>
502
503 * coding.el (query-coding-clear-highlights):
504 New function--clear any face information added by
505 `query-coding-region'.
506 (default-query-coding-region): Use it.
507
411 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org> 508 2008-04-13 Henry S. Thompson <ht@inf.ed.ac.uk>, Mike Sperber <mike@xemacs.org>
412 509
413 * window-xemacs.el (save-window-excursion/mapping, 510 * window-xemacs.el (save-window-excursion/mapping,
414 set-window-configuration/mapping): Add. These function return an 511 set-window-configuration/mapping): Add. These function return an
415 alist mapping the window objects from the original window 512 alist mapping the window objects from the original window
491 588
492 2008-01-21 Aidan Kehoe <kehoea@parhasard.net> 589 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
493 590
494 * info.el (Info-suffix-list): 591 * info.el (Info-suffix-list):
495 Support LZMA compression, as used--oddly--by Mandriva Linux. 592 Support LZMA compression, as used--oddly--by Mandriva Linux.
593 * coding.el (decode-coding-string):
594 (encode-coding-string): Accept GNU's NOCOPY argument for
595 these. Todo; write compiler macros to use it.
596 (query-coding-warning-face): New face, to show unencodable
597 characters.
598 (default-query-coding-region-safe-charset-skip-chars-map):
599 New variable, a cache used by #'default-query-coding-region.
600 (default-query-coding-region): Default implementation of
601 #'query-coding-region, using the safe-charsets and safe-chars
602 coding systemproperties.
603 (query-coding-region): New function; can a given coding system
604 encode a given region?
605 (query-coding-string): New function; can a given coding system
606 encode a given string?
607 (unencodable-char-position): Function API taken from GNU; return
608 the first unencodable position given a string and coding system.
609 (encode-coding-char): Function API taken from GNU; return CHAR
610 encoded using CODING-SYSTEM, or nil if CODING-SYSTEM would trash
611 CHAR.
612 ((unless (featurep 'mule)): Override the default
613 query-coding-region implementation on non-Mule.
614 * mule/mule-coding.el (make-8-bit-generate-helper): Eliminate a
615 duplicate comment.
616 (make-8-bit-choose-category): Simplify implementation.
617 (8-bit-fixed-query-coding-region): Implementation of
618 #'query-coding-region for coding systems created with
619 #'make-8-bit-coding-system.
620 (make-8-bit-coding-system): Initialise the #'query-coding-region
621 implementation for these character sets.
622 (make-8-bit-coding-system): Ditto for the compiler macro version
623 of this function.
624 * unicode.el (unicode-query-coding-skip-chars-arg): New variable,
625 used by unicode-query-coding-region, initialised in
626 mule/general-late.el.
627 (unicode-query-coding-region): New function, the
628 #'query-coding-region implementation for Unicode coding systems.
629 Initialise the query-coding-function property for the Unicode
630 coding systems to #'unicode-query-coding-region.
631 * mule/mule-charset.el (charset-skip-chars-string): New
632 function. Return a #'skip-chars-forward argument that skips all
633 characters in CHARSET.
634 (map-charset-chars): Function synced from GNU, modified to work
635 with XEmacs. Map FUNC across the int value charset ranges of
636 CHARSET.
637
638 2008-01-21 Aidan Kehoe <kehoea@parhasard.net>
639
640 * info.el (Info-suffix-list):
641 Support LZMA compression, as used--oddly--by Mandriva Linux.
496 642
497 2008-01-17 Mike Sperber <mike@xemacs.org> 643 2008-01-17 Mike Sperber <mike@xemacs.org>
498 644
499 * files.el (insert-directory): Bind `coding-system-for-read' to 645 * files.el (insert-directory): Bind `coding-system-for-read' to
500 the `file-name' coding system. (Previously, the default ended up 646 the `file-name' coding system. (Previously, the default ended up