]> granicus.if.org Git - file/commitdiff
Mention a lot of changes including the new "default" type, "regex"
authorAnon Ymous <ljt@astron.com>
Tue, 16 Jan 2007 16:43:21 +0000 (16:43 +0000)
committerAnon Ymous <ljt@astron.com>
Tue, 16 Jan 2007 16:43:21 +0000 (16:43 +0000)
fix, and C-style string escape fix.

ChangeLog

index 65ce0201cff2d7793389710d51873e682e4d2e1e..86315af755b84c13433036dc8b355c21893a99b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,46 @@
+2007-01-16 14:58 Anon Ymous <do@not.spam.me>
+
+       * Add a "default" type to print a message if nothing previously
+         matched at that level or since the last default at that
+         level.  This is useful for setting up switch-like statements.
+         It can also be used to do if/else constructions without a
+         redundant second test.
+
+       * Fix the "x" special case test so that one can test for that
+         string with "=x".
+
+       * Allow "search" to search the entire buffer if the "/N"
+         search count is missing.
+
+       * Make "regex" work!  It now starts its search at the
+         specified offset and takes an (optional) "/N" line count to
+         specify the search range; otherwise it searches to the end
+         of the file.  The match is now grabbed correctly for format
+         strings and the offset set to the end of the match.
+
+       * Add a "/s" flag to "regex" and "search" to set the offset to
+         the start of the match.  By default the offset is set to the
+         end of the match, as it is with other tests.  This is mostly
+         useful for "regex".
+
+       * Make "search", "string" and "pstring" use the same
+         file_strncmp() routine so that they support the same flags;
+         "bestring16" and "lestring16" call the same routine, but
+         with flags = 0.  Also add a "/C" flag (in analogy to "/c")
+         to ignore the case on uppercase (lowercase) characters in
+         the test string.
+
+       * Strict adherence to C style string escapes.  A warnings are
+         printed when compiling.  Note: previously "\a" was
+         incorrectly translated to 'a' instead of an <alert> (i.e.,
+         BELL, typically 0x07).
+
+       * Make this compile with "-Wall -Wextra" and all the warning
+         flags used with WARNS=4 in the NetBSD source.  Also make it
+         pass lint.
+
+       * Many "cleanups" and hopefully not too many new bugs!
+
 2007-01-16 14:56 Anon Ymous <do@not.spam.me>
 
        * make several more files compile with gcc warnings