comparison src/ChangeLog @ 3063:d30cd499e445

[xemacs-hg @ 2005-11-13 10:48:01 by ben] further error-checking, etc. alloc.c, lrecord.h: Move around the handling of setting of lheader->uid so it's in set_lheader_implementation() -- that way, even non-MC-ALLOC builds get useful uid's in their bare lrecords. Redo related code for strings so the non-ascii count that is stored in the uid isn't hosed. events.c: Save and restore the uid around event zeroing/deadbeefing. lisp.h: Set the correct value of MAX_STRING_ASCII_BEGIN under MC_ALLOC. lisp.h: rearrange the basic code handling ints and chars. basic int stuff goes first, followed by basic char stuff, followed in turn by stuff that mixes ints and chars. this is required since some basic defn's have become inline functions. XCHAR and CHARP have additional error-checking in that they check to make sure that the value in question is not just a character but a valid character (i.e. its numeric value is valid). print.c: debug_p4 now has a useful UID in all cases and uses it; but it also prints the raw header address (previously, you just got one of them). text.h: some basic char defn's that belonged in lisp.h have been moved there. valid_ichar_p() is moved too since the inline functions need it.
author ben
date Sun, 13 Nov 2005 10:48:04 +0000
parents 21d92abaac3a
children 4c038e89d563
comparison
equal deleted inserted replaced
3062:21d92abaac3a 3063:d30cd499e445
1 2005-11-13 Ben Wing <ben@xemacs.org>
2
3 * alloc.c:
4 * alloc.c (alloc_lrecord):
5 * alloc.c (noseeum_alloc_lrecord):
6 * alloc.c (make_uninit_string):
7 * alloc.c (Fmake_string):
8 * alloc.c (make_string_nocopy):
9 * lrecord.h:
10 * lrecord.h (struct lrecord_header):
11 * lrecord.h (set_lheader_implementation):
12 Move around the handling of setting of lheader->uid so it's in
13 set_lheader_implementation() -- that way, even non-MC-ALLOC builds
14 get useful uid's in their bare lrecords. Redo related code for
15 strings so the non-ascii count that is stored in the uid isn't hosed.
16
17 * events.c:
18 * events.c (deinitialize_event):
19 * events.c (zero_event):
20 Save and restore the uid around event zeroing/deadbeefing.
21
22 * lisp.h:
23 Set the correct value of MAX_STRING_ASCII_BEGIN under MC_ALLOC.
24
25 * lisp.h (ZEROP):
26 * lisp.h (XINT):
27 * lisp.h (CHECK_INT):
28 * lisp.h (CONCHECK_INT):
29 * lisp.h (NATNUMP):
30 * lisp.h (CHECK_NATNUM):
31 * lisp.h (CONCHECK_NATNUM):
32 * lisp.h (XCHAR):
33 * lisp.h (XCHAR_OR_INT):
34 * lisp.h (CHAR_INTP):
35 rearrange the basic code handling ints and chars. basic int stuff goes
36 first, followed by basic char stuff, followed in turn by stuff that
37 mixes ints and chars. this is required since some basic defn's have
38 become inline functions.
39
40 XCHAR and CHARP have additional error-checking in that they check to make
41 sure that the value in question is not just a character but a valid
42 character (i.e. its numeric value is valid).
43
44 * print.c:
45 * print.c (debug_p4):
46 debug_p4 now has a useful UID in all cases and uses it; but it also prints
47 the raw header address (previously, you just got one of them).
48 * text.h:
49 some basic char defn's that belonged in lisp.h have been moved there.
50 valid_ichar_p() is moved too since the inline functions need it.
51
1 2005-11-13 Ben Wing <ben@xemacs.org> 52 2005-11-13 Ben Wing <ben@xemacs.org>
2 53
3 * Makefile.in.in (distclean-noconfig): 54 * Makefile.in.in (distclean-noconfig):
4 Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. 55 Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig.
5 Do some refactoring for cleanliness. 56 Do some refactoring for cleanliness.