annotate etc/HELLO @ 5307:c096d8051f89

Have NATNUMP give t for positive bignums; check limits appropriately. src/ChangeLog addition: 2010-11-20 Aidan Kehoe <kehoea@parhasard.net> * abbrev.c (Fexpand_abbrev): * alloc.c: * alloc.c (Fmake_list): * alloc.c (Fmake_vector): * alloc.c (Fmake_bit_vector): * alloc.c (Fmake_byte_code): * alloc.c (Fmake_string): * alloc.c (vars_of_alloc): * bytecode.c (UNUSED): * bytecode.c (Fbyte_code): * chartab.c (decode_char_table_range): * cmds.c (Fself_insert_command): * data.c (check_integer_range): * data.c (Fnatnump): * data.c (Fnonnegativep): * data.c (Fstring_to_number): * elhash.c (hash_table_size_validate): * elhash.c (decode_hash_table_size): * eval.c (Fbacktrace_frame): * event-stream.c (lisp_number_to_milliseconds): * event-stream.c (Faccept_process_output): * event-stream.c (Frecent_keys): * event-stream.c (Fdispatch_event): * events.c (Fmake_event): * events.c (Fevent_timestamp): * events.c (Fevent_timestamp_lessp): * events.h: * events.h (struct command_builder): * file-coding.c (gzip_putprop): * fns.c: * fns.c (check_sequence_range): * fns.c (Frandom): * fns.c (Fnthcdr): * fns.c (Flast): * fns.c (Fnbutlast): * fns.c (Fbutlast): * fns.c (Fmember): * fns.c (Ffill): * fns.c (Freduce): * fns.c (replace_string_range_1): * fns.c (Freplace): * font-mgr.c (Ffc_pattern_get): * frame-msw.c (msprinter_set_frame_properties): * glyphs.c (check_valid_xbm_inline): * indent.c (Fmove_to_column): * intl-win32.c (mswindows_multibyte_to_unicode_putprop): * lisp.h: * lisp.h (ARRAY_DIMENSION_LIMIT): * lread.c (decode_mode_1): * mule-ccl.c (ccl_get_compiled_code): * number.h: * process-unix.c (unix_open_multicast_group): * process.c (Fset_process_window_size): * profile.c (Fstart_profiling): * unicode.c (Funicode_to_char): Change NATNUMP to return 1 for positive bignums; changes uses of it and of CHECK_NATNUM appropriately, usually by checking for an integer in an appropriate range. Add array-dimension-limit and use it in #'make-vector, #'make-string. Add array-total-size-limit, array-rank-limit while we're at it, for the sake of any Common Lisp-oriented code that uses these limits. Rename check_int_range to check_integer_range, have it take Lisp_Objects (and thus bignums) instead. Remove bignum_butlast(), just set int_n to an appropriately large integer if N is a bignum. Accept bignums in check_sequence_range(), change the functions that use check_sequence_range() appropriately. Move the definition of NATNUMP() to number.h; document why it's a reasonable name, contradicting an old comment. tests/ChangeLog addition: 2010-11-20 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: * automated/lisp-tests.el (featurep): * automated/lisp-tests.el (wrong-type-argument): * automated/mule-tests.el (featurep): Check for args-out-of-range errors instead of wrong-type-argument errors in various places when code is handed a large bignum instead of a fixnum. Also check for the wrong-type-argument errors when giving the same code a non-integer value.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 20 Nov 2010 16:49:11 +0000
parents 29fb3baea939
children f7b56a4b65e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4495
c95c06ee1e9d Correct a test failure now the XEmacs-specific Arabic charsets are gone.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4491
diff changeset
1 -*- coding: iso-2022-7 -*-
c95c06ee1e9d Correct a test failure now the XEmacs-specific Arabic charsets are gone.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4491
diff changeset
2
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 You need many fonts to read all.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 Please correct this incomplete list and add more!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 ---------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 Amharic ($(3"c!<!N"^(B) $(3!A!,!>(B
4884
29fb3baea939 Fix the bugs necessary to resolve the trivial test failures in mule-tests.el
Aidan Kehoe <kehoea@parhasard.net>
parents: 4495
diff changeset
8 Arabic ([2],GIqjHQYdG[0](B) [2],GecjdY[0](B [2],GeGdqSdG[0](B
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 Croatian (Hrvatski) Bog (Bok), Dobar dan
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
10 Czech (,Bh(Besky) Dobr,B}(B den
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 Danish (Dansk) Hej, Goddag
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 English Hello
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 Esperanto Saluton
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 Estonian Tere, Tervist
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 FORTRAN PROGRAM
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 Finnish (Suomi) Hei
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
17 French (Fran,Ag(Bais) Bonjour, Salut
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 German (Deutsch Nord) Guten Tag
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
19 German (Deutsch S,A|(Bd) Gr,A|_(B Gott
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
20 Greek (,FEkkgmij\(B) ,FCei\(B ,Fsar(B
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
21 Hebrew [2],Hylem[0](B
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
22 Irish (Gaeilge) Dia duit, Cad ,Ai(B mar a t,Aa(B t,Az(B?
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 Italiano Ciao, Buon giorno
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 Maltese Ciao
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 Nederlands, Vlaams Hallo, Hoi, Goedendag
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 Norwegian (Norsk) Hei, God dag
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
27 Polish Cze,B6f(B!
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
28 Russian (,L@caaZXY(B) ,L7T`PRabRcYbU(B!
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
29 Slovak Dobr,B}(B de,Br(B
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
30 Spanish (Espa,Aq(Bol) ,A!(BHola!
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31 Swedish (Svenska) Hej, Goddag
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
32 Tajik ,LAP[^\(B
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 Tigrigna ($(3"8#r!N"^(B) $(3!Q!,!<"8(B
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
35 Turkish (T,A|(Brk,Ag(Be) Merhaba
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
36 Vietnamese (Ti,1*(Bng Vi,1.(Bt) Ch,1`(Bo b,1U(Bn
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37
3077
35ef5091b281 [xemacs-hg @ 2005-11-18 11:28:10 by aidan]
aidan
parents: 428
diff changeset
38 Japanese ($BF|K\8l(B) $B$3$s$K$A$O(B, (I:]FAJ(B, $BqV$(DiQ(B
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 Chinese ($AVPND(B,$AFUM(;0(B,$A::So(B) $ADc:C(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 Cantonese ($(0GnM$(B,$(0N]0*Hd(B) $(0*/=((B, $(0+$)p(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 Hangul ($(CGQ1[(B) $(C>H3gGO<<?d(B, $(C>H3gGO=J4O1n(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 Difference among chinese characters in GB, JIS, KSC, BIG5:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
44 GB -- $AT*Fx(B $A?*7"(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
45 JIS -- $B855$(B $B3+H/(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46 KSC -- $(Cj*Q((B $(CKR[!(B
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 BIG5 -- $(0&x86(B $(0DeBv(B