Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removed redundant text. | Kaz Kylheku | 2011-09-23 | 1 | -2/+0 | |
| | ||||||
* | * LICENSE, Makefile, configure, gc.c, gc.h, hash.c, hash.h, lib.c, | Kaz Kylheku | 2011-09-23 | 26 | -25/+34 | |
| | | | | | | lib.h, match.c, match.h, parser.h, parser.l, parser.y, regex.c, regex.h, stream.c, stream.h, txr.1, txr.c, txr.h, unwind.c, unwind.h, utf8.c, utf8.h: Updated copyright year. | |||||
* | * match.c, parser.y: Support for old output syntax removed. | Kaz Kylheku | 2011-09-23 | 4 | -32/+30 | |
| | | | | | | Leading :nothrow with trailing material is an error now. * txr.1: Updated. Made note of errors in pipes being asynchronous. | |||||
* | * tests/002/query-1.txr: Old next syntax rewritten to new. | Kaz Kylheku | 2011-09-23 | 2 | -3/+7 | |
| | ||||||
* | * match.c (match_files): Some cleanup in preparation of new | Kaz Kylheku | 2011-09-23 | 2 | -29/+33 | |
| | | | | features. Support for obsolescent @(next) syntax is gone. | |||||
* | Semantics tweak: short circuiting behavior for @(all) and @(none). | Kaz Kylheku | 2011-09-23 | 3 | -35/+64 | |
| | | | | | | * match.c (match_files): Added a couple of break statements. * txr.1: Updated. | |||||
* | Version 036.txr-036 | Kaz Kylheku | 2011-09-22 | 4 | -3/+15 | |
| | ||||||
* | Useful second argument in skip directive for skipping | Kaz Kylheku | 2011-09-22 | 3 | -2/+47 | |
| | | | | | | | | a minimum number of lines. * match.c (match_files): New behavior in skip_s case. * txr.1: Documented. | |||||
* | Spelling. | Kaz Kylheku | 2011-09-20 | 1 | -2/+2 | |
| | ||||||
* | This should be under version control. | Kaz Kylheku | 2011-09-01 | 1 | -0/+516 | |
| | ||||||
* | Fix month name.txr-035 | Kaz Kylheku | 2010-10-05 | 1 | -1/+1 | |
| | ||||||
* | Fix date. | Kaz Kylheku | 2010-10-05 | 1 | -1/+1 | |
| | ||||||
* | Changelog mistakes. | Kaz Kylheku | 2010-10-05 | 1 | -3/+3 | |
| | ||||||
* | Version 035. | Kaz Kylheku | 2010-10-05 | 4 | -3/+23 | |
| | ||||||
* | Bump copyrights to 2010. | Kaz Kylheku | 2010-10-05 | 25 | -25/+25 | |
| | ||||||
* | * match.c (match_files): Bugfix. A (sub)query that runs out of data | Kaz Kylheku | 2010-10-04 | 2 | -0/+9 | |
| | | | | | lines to match must fail. Extra data lines relative to the spec are tolerated; extra spec lines unmet by data aren't. | |||||
* | * lib.h (lazy_string): Fix incorrect comment. | Kaz Kylheku | 2010-10-03 | 3 | -1/+23 | |
| | | | | | | | | * lib.c (split_str, split_str_set): It is necessary to protect input parameters against GC, because we cache their internal pointers, after which we no longer refer to the objects themselves. Moreover, we perform object allocation, and then keep using the internal pointers. | |||||
* | * txr.1: Fix formatting problem. | Kaz Kylheku | 2010-09-30 | 2 | -1/+7 | |
| | ||||||
* | Regex cleanup. | Kaz Kylheku | 2010-03-01 | 1 | -18/+29 | |
| | ||||||
* | * txr.1: Fix inaccuracies: files are not read into memory all at | Kaz Kylheku | 2010-03-01 | 2 | -5/+10 | |
| | | | | once, and a query doesn't execute if it had errors. | |||||
* | Version 034.txr-034 | Kaz Kylheku | 2010-02-28 | 4 | -4/+16 | |
| | ||||||
* | More testcases. | Kaz Kylheku | 2010-02-28 | 3 | -1/+15 | |
| | ||||||
* | Whitespace. | Kaz Kylheku | 2010-02-28 | 1 | -1/+1 | |
| | ||||||
* | New testcase for freeform. | Kaz Kylheku | 2010-02-28 | 5 | -0/+45 | |
| | ||||||
* | Improved freeform documentation. | Kaz Kylheku | 2010-02-28 | 1 | -1/+52 | |
| | ||||||
* | * lib.c (length_str_gt, length_str_ge, length_str_lt, length_str_le): | Kaz Kylheku | 2010-02-28 | 2 | -36/+69 | |
| | | | | Added missing support for literal string type. | |||||
* | * lib.c (search_str): Bugfix for empty haystack case: checks for end | Kaz Kylheku | 2010-02-27 | 2 | -2/+8 | |
| | | | | | of string must use postincrement on the index, otherwise the access goes past the null terminator. | |||||
* | * match.c (match_lines): Bugfix in freeform directive. | Kaz Kylheku | 2010-02-27 | 2 | -1/+14 | |
| | | | | | | | | | | If the virtual line is partially matched, the remainder of the line is folded back into list form. In this case, the data line number must be incremented. Otherwise the calling context may conclude that no progress was made, and skip a line of input. I.e. the unmatched part of the input is a new line, even if there had originally been no line break at that point. | |||||
* | * lib.h (split_str_sep): Declared. | Kaz Kylheku | 2010-02-27 | 3 | -5/+34 | |
| | | | | | | | | | * lib.c (split_str_sep): New function. (split_str): Semantics changed; the second argument is not a set of separator characters (like in split_str_sep) but rather a separator string. Fixed bug: if the input string is empty, the output list is empty. This caused infinite looping behavior in @(freeform). | |||||
* | * lib.c (init_str): Bugfix: copy only len characters, not len + 1, so | Kaz Kylheku | 2010-02-24 | 2 | -1/+8 | |
| | | | | | | that we don't clobber the null terminator in the target string, or try read past the end of the source data. This affects the @(freeform) directive. | |||||
* | Version 033. | Kaz Kylheku | 2010-01-26 | 4 | -4/+17 | |
| | ||||||
* | Restoring missing ChangeLog entry. | Kaz Kylheku | 2010-01-26 | 1 | -1/+14 | |
| | ||||||
* | hash.c (hash_process_weak): There is no point in fixing up | Kaz Kylheku | 2010-01-26 | 2 | -18/+24 | |
| | | | | | | the type codes of spuriously reached nodes; reached objects will not be removed by weak processing and so it's better to just detect those situations and short-circuit. | |||||
* | Fix inaccurate comment. | Kaz Kylheku | 2010-01-26 | 1 | -4/+4 | |
| | ||||||
* | Optimization in derivative-based regex engine. | Kaz Kylheku | 2010-01-26 | 4 | -1/+91 | |
| | | | | | | | | Exponential memory consumption behavior was observed when matching the input aaaaaa.... against the regex a?a?a?a?....aaaa.... The fix is to eliminate common subexpressions from the derivative for the or operator. | |||||
* | Merge branch 'master' of ssh://kkylheku@git.sv.gnu.org/srv/git/txr | Kaz Kylheku | 2010-01-25 | 5 | -4/+34 | |
|\ | ||||||
| * | Version 032. | Kaz Kylheku | 2010-01-25 | 5 | -3/+19 | |
| | | ||||||
| * | Version 031.txr-031 | Kaz Kylheku | 2010-01-25 | 4 | -4/+18 | |
| | | ||||||
* | | Fixing weak hash tables. | Kaz Kylheku | 2010-01-25 | 3 | -7/+16 | |
|/ | ||||||
* | Fix screwup in previous change: value treated as a cons | Kaz Kylheku | 2010-01-25 | 2 | -3/+2 | |
| | | | | in a code path where it sometimes isn't. | |||||
* | * match.c (match_files): Workaround for GC issue | Kaz Kylheku | 2010-01-24 | 2 | -0/+10 | |
| | | | | | | | discovered on Red Hat EL 4 with gcc 3.4.3. In the collect loop, set car(success) to nil. Somehow the generated code hangs on to the last matching position for a regex, preventing GC. | |||||
* | * stream.c (vformat_num): Fix bad width calculation. | Kaz Kylheku | 2010-01-24 | 2 | -1/+5 | |
| | ||||||
* | Fix for unbounded memory growth problem reproduced with GCC 4.4.1 | Kaz Kylheku | 2010-01-21 | 4 | -0/+35 | |
| | | | | | | on 32 bit x86 Fedora. This happens because the lazy list variable ``data'' in the match_files function is optimized to a register, but a stale value of that variable persists in the backing storage. | |||||
* | * match.c (match_files): Reduce scope, and bogus use of, dataline | Kaz Kylheku | 2010-01-21 | 2 | -6/+7 | |
| | | | | variable. | |||||
* | Whitespace. | Kaz Kylheku | 2010-01-20 | 1 | -4/+0 | |
| | ||||||
* | Fix mangled bullets. | Kaz Kylheku | 2010-01-20 | 1 | -7/+10 | |
| | ||||||
* | Escape spaces in arguments to .IP. | Kaz Kylheku | 2010-01-20 | 1 | -3/+3 | |
| | ||||||
* | Remove unnecessary text. | Kaz Kylheku | 2010-01-20 | 1 | -6/+3 | |
| | ||||||
* | Missing word. | Kaz Kylheku | 2010-01-20 | 1 | -3/+3 | |
| | ||||||
* | Improved descriptions of regex syntax. | Kaz Kylheku | 2010-01-20 | 1 | -80/+61 | |
| | | | | Concise precedence table replaces paragraphs. |