CVS update by stephent xemacs/src ...
xemacs-cvs at xemacs.org
xemacs-cvs at xemacs.org
Thu May 17 11:42:54 EDT 2007
User: stephent
Date: 07/05/17 17:42:53
Modified: xemacs/src ChangeLog config.h.in
Log:
Fixup error-checking option docstring. <87r6pf8n84.fsf at uwakimon.sk.tsukuba.ac.jp>
Revision Changes Path
1.525 +4 -0 XEmacs/xemacs/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/ChangeLog,v
retrieving revision 1.524
retrieving revision 1.525
diff -u -p -r1.524 -r1.525
--- ChangeLog 2007/03/13 17:27:20 1.524
+++ ChangeLog 2007/05/17 15:42:10 1.525
@@ -1,3 +1,7 @@
+2007-05-18 Stephen J. Turnbull <stephen at xemacs.org>
+
+ * configure.ac (error-checking): Reorder arguments and sync doctring.
+
2007-03-14 Stephen J. Turnbull <stephen at xemacs.org>
* PROBLEMS: describe crash when inserting or displaying a TAB.
1.294 +11 -10 XEmacs/xemacs/configure
Index: configure
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -p -r1.293 -r1.294
--- configure 2007/03/19 03:53:14 1.293
+++ configure 2007/05/17 15:42:11 1.294
@@ -1210,9 +1210,9 @@ Debugging options
cost.
--with-error-checking=TESTS
Compile with internal error-checking added. Causes
- noticeable loss of speed. Valid TESTS are `extents',
- `bufpos', `malloc', `gc', `types', `text',
- `byte_code', `glyphs', `display', `structures'.
+ noticeable loss of speed. Valid TESTS are
+ `byte_code', `display', `extents', `gc', `glyphs',
+ `malloc', `structures' `text', `types'.
--with-assertions Compile in runtime assertions.
--with-memory-usage-stats
Enable LISP memory usage API.
@@ -3794,17 +3794,18 @@ if test "${with_debug+set}" = set; then
fi;
_error_checking_notfirst=""
+_error_checking_byte_code_default=""
+_error_checking_display_default=""
_error_checking_extents_default=""
-_error_checking_types_default=""
-_error_checking_text_default=""
_error_checking_gc_default=""
-_error_checking_malloc_default=""
-_error_checking_byte_code_default=""
_error_checking_glyphs_default=""
-_error_checking_display_default=""
+_error_checking_malloc_default=""
_error_checking_structures_default=""
-_error_checking_types="extents types text gc malloc byte_code glyphs display structures"
-_error_checking_default="extents,types,text,gc,malloc,byte_code,glyphs,display,structures"
+ text
+_error_checking_types_default=""
+_error_checking__default=
+_error_checking_types="byte_code display extents gc glyphs malloc structures types "
+_error_checking_default="byte_code,display,extents,gc,glyphs,malloc,structures,types,"
# If --with-error-checking or --without-error-checking were given then copy the value to the
# equivalent enable_error-checking variable.
1.57 +9 -8 XEmacs/xemacs/configure.ac
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -p -r1.56 -r1.57
--- configure.ac 2007/03/13 16:48:38 1.56
+++ configure.ac 2007/05/17 15:42:24 1.57
@@ -979,20 +979,21 @@ XE_HELP_SUBSECTION([Debugging options])
XE_MERGED_ARG([debug],
AS_HELP_STRING([--enable-debug],[Enable additional debugging information. No time cost.]),
[], [])
+dnl Keep TESTS sorted to help with syncing doc to reality.
XE_COMPLEX_ARG([error-checking],
AS_HELP_STRING([--enable-error-checking=TESTS],[Compile with internal error-checking added.
Causes noticeable loss of speed. Valid TESTS
- are `extents', `bufpos', `malloc', `gc', `types', `text', `byte_code', `glyphs', `display', `structures'.]),
+ are `byte_code', `display', `extents', `gc', `glyphs', `malloc', `structures' `text', `types'.]),
[], [],
-[XE_COMPLEX_OPTION([extents],[""]),
- XE_COMPLEX_OPTION([types],[""]),
- XE_COMPLEX_OPTION([text],[""]),
+[XE_COMPLEX_OPTION([byte_code],[""]),
+ XE_COMPLEX_OPTION([display],[""]),
+ XE_COMPLEX_OPTION([extents],[""]),
XE_COMPLEX_OPTION([gc],[""]),
- XE_COMPLEX_OPTION([malloc],[""]),
- XE_COMPLEX_OPTION([byte_code],[""]),
XE_COMPLEX_OPTION([glyphs],[""]),
- XE_COMPLEX_OPTION([display],[""]),
- XE_COMPLEX_OPTION([structures],[""])])
+ XE_COMPLEX_OPTION([malloc],[""]),
+ XE_COMPLEX_OPTION([structures],[""])
+ XE_COMPLEX_OPTION([text],[""]),
+ XE_COMPLEX_OPTION([types],[""]),])
XE_MERGED_ARG([assertions],
AS_HELP_STRING([--enable-assertions],[Compile in runtime assertions.]),
[], [])
1.1061 +4 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.1060
retrieving revision 1.1061
diff -u -p -r1.1060 -r1.1061
--- ChangeLog 2007/05/13 11:11:28 1.1060
+++ ChangeLog 2007/05/17 15:42:46 1.1061
@@ -1,3 +1,7 @@
+2007-05-18 Stephen J. Turnbull <stephen at xemacs.org>
+
+ * config.h.in (ERROR_CHECK_BYTE_CODE): Alphabetize ERROR_CHECK_*.
+
2007-04-30 Aidan Kehoe <kehoea at parhasard.net>
* unicode.c:
1.112 +32 -26 XEmacs/xemacs/src/config.h.in
Index: config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -r1.111 -r1.112
--- config.h.in 2007/02/15 16:12:14 1.111
+++ config.h.in 2007/05/17 15:42:48 1.112
@@ -579,44 +579,47 @@ things are arranged in config.h.in. In
/* Define one or more of the following if you want lots of extra checks
(e.g. structure validation) compiled in. These should be turned
- on during the beta-test cycle. */
+ on during the beta-test cycle.
+ Keep macro names sorted to help with syncing this file to configure.ac.
+ Don't forget the ERROR_CHECK_ALL stuff at the end of this file. */
+
+/* Minor sanity checking of the bytecode interpreter. Useful for
+ debugging the byte compiler. */
+#undef ERROR_CHECK_BYTE_CODE
+
+/* Sanity-check the redisplay structures after each modification. */
+#undef ERROR_CHECK_DISPLAY
+
/* Check the entire extent structure of a buffer each time an extent
change is done, and do other extent-related checks. */
#undef ERROR_CHECK_EXTENTS
-/* Turn on checks related to types -- make sure that all X... macros are
- dereferencing the correct type, and that all XSET... macros (as much as
- possible) are setting the correct type of structure; check any other
- places that a specific type is expected. */
-#undef ERROR_CHECK_TYPES
-
-/* Turn on checks related to text -- check that text in strings and buffers
- is in a valid format before we use it, check that buffer positions are
- valid, etc. */
-#undef ERROR_CHECK_TEXT
-
/* Attempt to catch bugs related to garbage collection (e.g. not GCPRO'ing). */
#undef ERROR_CHECK_GC
-/* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
-#undef ERROR_CHECK_MALLOC
-
-/* Minor sanity checking of the bytecode interpreter. Useful for
- debugging the byte compiler. */
-#undef ERROR_CHECK_BYTE_CODE
-
/* Minor sanity checking of glyphs, especially subwindows and
widgets. */
#undef ERROR_CHECK_GLYPHS
-/* Sanity-check the redisplay structures after each modification. */
-#undef ERROR_CHECK_DISPLAY
+/* Attempt to catch freeing of a non-malloc()ed block, heap corruption, etc. */
+#undef ERROR_CHECK_MALLOC
/* Define for any sanity checks on structures that are not handled by a
more specific error-checking type. */
#undef ERROR_CHECK_STRUCTURES
+/* Turn on checks related to text -- check that text in strings and buffers
+ is in a valid format before we use it, check that buffer positions are
+ valid, etc. */
+#undef ERROR_CHECK_TEXT
+
+/* Turn on checks related to types -- make sure that all X... macros are
+ dereferencing the correct type, and that all XSET... macros (as much as
+ possible) are setting the correct type of structure; check any other
+ places that a specific type is expected. */
+#undef ERROR_CHECK_TYPES
+
/* Define DEBUG_XEMACS if you want extra debugging code compiled in.
This is mainly intended for use by developers. */
#undef DEBUG_XEMACS
@@ -1132,16 +1135,19 @@ extern "C" {
merge the two. */
#define USE_C_FONT_LOCK
+/* Keep the #defines sorted.
+ #### Can this code ever be executed? I guess if a developer #defines
+ ERROR_CHECK_ALL above the #include it could be useful. */
#ifdef ERROR_CHECK_ALL
+#define ERROR_CHECK_BYTE_CODE
+#define ERROR_CHECK_DISPLAY
#define ERROR_CHECK_EXTENTS
-#define ERROR_CHECK_TYPES
-#define ERROR_CHECK_TEXT
#define ERROR_CHECK_GC
-#define ERROR_CHECK_MALLOC
-#define ERROR_CHECK_BYTE_CODE
#define ERROR_CHECK_GLYPHS
-#define ERROR_CHECK_DISPLAY
+#define ERROR_CHECK_MALLOC
#define ERROR_CHECK_STRUCTURES
+#define ERROR_CHECK_TEXT
+#define ERROR_CHECK_TYPES
#endif /* ERROR_CHECK_ALL */
#endif /* _SRC_CONFIG_H_ */
More information about the XEmacs-CVS
mailing list