JACL

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent timeline items

2010-02-27
04:19
[568c2e83b8] Leaf: * tests/tcl/regexp.test: Add test case for escaped - character in regexp command. [Bug 2012389] (user: mdejong, tags: trunk)
2010-02-21
18:30
[c72b03b842] * src/jacl/tcl/lang/Regex.java (replaceAll): Fixup regsub -all logic so 5 more tests pass. The replaceAll() logic is broken because it depends on matching substrings instead of using an index into the larger string and Java's regexp library uses this to calculate line starts in multiline mode. (user: mdejong, tags: trunk)
2010-02-19
06:19
[f3df0463ff] Incorporate fix/tests from Tcl head on 2010-02-11, aka was Tcl [Bug 2826551, Patch 2948425]. * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): Fixup increment index on zero length match issue. * tests/tcl/regexp.test: Back port of new regexp tests, some tests marked with {endIndex} due to lack of impl. (user: mdejong, tags: trunk)
2010-02-12
03:43
[9092619461] Patch 2946118 * src/jacl/tcl/lang/ListCmd.java: Minor style reformat. * src/jacl/tcl/lang/Util.java (scanElement, convertElement): Remove crusty old code that treated backslash zero as the end of the line. That logic was removed from C Tcl long ago. * tests/inprogress/EventAdaptor.test: Fixup tests that depended on backslash zero quirks. * tests/tcl/list.test: Add test cases for backslash zero as argument to list command. (user: mdejong, tags: trunk)
2009-10-04
20:50
[060e3b08a2] * src/jacl/tcl/lang/Regex.java (match, _match, replaceFirst, replaceAll): Rewrite -start offset logic to correctly deal with odd edge cases. * tests/tcl/regexp.test: Add additional test cases that cover -start index edge cases. (user: mdejong, tags: trunk)
20:08
[aadaad930e] * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): * src/jacl/tcl/lang/RegsubCmd.java (cmdProc): Rewrite argument processing logic to avoid using IndexOutOfBoundsException to deal with an incorrect number of arguments. (user: mdejong, tags: trunk)
2009-10-03
23:11
[e90fb4d33e] * src/jacl/tcl/lang/Regex.java (replaceFirst, replaceAll): Fix regsub -all crash because offset was not getting advanced by 1 on a match of length zero. Fixup -start argument support with and without -all in the case where the offset was larger than the length of the string. * tests/tcl/regexp.test: Add additional test cases. Enable regsub test cases that were getting caught in an infinite loop. (user: mdejong, tags: trunk)
2009-10-01
03:29
[090d97c945] * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): Fixup failing tests related to optional subgroups. * src/jacl/tcl/lang/RegsubCmd.java (cmdProc): Minor paren fix, no function changes. (user: mdejong, tags: trunk)
02:31
[4a59ea4844] * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): Rework logic related to match result groups. * tests/tcl/regexp.test: Add missing test cases for non-capturing groups and -inline results. (user: mdejong, tags: trunk)
2009-09-26
21:09
[0c67af92a7] * src/jacl/tcl/lang/Regex.java (replaceFirst, replaceAll): Fixup use of MULTILINE flag. * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): Fixup support for -linestop and -lineanchor arguments to regexp. * src/jacl/tcl/lang/RegsubCmd.java (cmdProc): Fixup support for -linestop and -lineanchor arguments to regsub. * tests/tcl/regexp.test: Add missing test cases for -linestop and -lineanchor arguments. (user: mdejong, tags: trunk)
2009-09-22
21:55
[9948e6a0c9] * src/jacl/tcl/lang/RegexpCmd.java (cmdProc): Fixup support for empty string as string argument. (user: mdejong, tags: trunk)
21:43
[a32c1d5ada] * src/jacl/tcl/lang/Regex.java (replaceFirst, replaceAll): Fixup support for the empty string as the string argument to regsub by removing the MULTILINE flag when an empty string is detected. * src/jacl/tcl/lang/RegsubCmd.java (cmdProc): Remove comments. * tests/tcl/regexp.test: Add additional test cases for regsub edge cases involving the empty string. (user: mdejong, tags: trunk)
19:47
[f9b8b81482] * src/jacl/tcl/lang/Regex.java (parseSubSpec): Rewrite parseSubSpec to simplify and properly support Tcl escape chars and to escape Java regexp characters. * tests/tcl/regexp.test: Add simplified escape processing tests for regsub. (user: mdejong, tags: trunk)
2009-09-21
21:40
[573884f4fa] * src/jacl/tcl/lang/Regex.java (replaceFirst, parseSubSpec): Fixup comments, make logic more readable. Remove code block that replaced \ with \\ in replaceFirst. * src/jacl/tcl/lang/RegsubCmd.java (cmdProc): Add comments, rewrite block logic. * tests/tcl/regexp.test: Added simple regsub tests. (user: mdejong, tags: trunk)
2009-09-20
00:18
[137acf2488] fix date in ChangeLog (user: mdejong, tags: trunk)
00:09
[ec2179513b] Checkin reworked Java regexp module. * Makefile.in: Remove build rules for sunlabs classes. * src/jacl/sunlabs/brazil/util/regexp/Regexp.java: Removed * src/jacl/sunlabs/brazil/util/regexp/Regsub.java: Removed * src/jacl/tcl/lang/Regex.java: Add regexp module that makes use of Java native regexp classes. * src/jacl/tcl/lang/RegexpCmd.java: * src/jacl/tcl/lang/RegsubCmd.java: * src/jacl/tcl/lang/TclRegexp.java: * src/jacl/tcl/lang/Util.java: Use new regexp module. * tests/tcl/RegexpCmd.test: Removed * tests/tcl/regexp.test: Update to Tcl 8.4 test cases. (user: mdejong, tags: trunk)
2009-09-16
21:49
[9e9b606761] Revert HEAD changes back to tcljava-14-branchpoint (user: mdejong, tags: trunk)
21:26
[228ceb9109] Leaf: This commit was manufactured by cvs2svn to create tag 'tcljava-15 -reformatting-checkpoint-2009-09-16'. (user: anonymous, tags: tags)
21:26
[827f62ef70] tag tcljava-15-reformatting-checkpoint-2009-09-16 (user: mdejong, tags: trunk)
21:23
[ab20a46f25] mark tcljava-15-reformatting-checkpoint (user: mdejong, tags: trunk)
2009-08-12
12:07
[f1eec9be55] fixed bug: list command incorrectly converts strings beginning with \0 (user: rszulgo, tags: trunk)
2009-08-11
12:41
[edda48a893] fixed some bugs. (user: rszulgo, tags: trunk)
12:39
[8c495e44e6] fixed some bugs with getting substrings when offset was pre-set. Additional comments were written. (user: rszulgo, tags: trunk)
2009-08-07
22:00
[08d51c0994] regExpMatch method uses new Regex API, now. (user: rszulgo, tags: trunk)
21:56
[79cb401274] lsearch -regexp uses new Regex API (user: rszulgo, tags: trunk)
13:07
[0215694d0b] Added methods for matching pattern and other addidtional (user: rszulgo, tags: trunk)
12:37
[bf7591e6db] Regex cmd uses new Regex API and all switches from Tcl8.4 regex cmd were implemented. (user: rszulgo, tags: trunk)
2009-08-05
22:23
[81924b63ff] Regsub uses new Regex API and regsub -all, -expanded, -line, -linestop, -lineanchor, -nocase, -start, switches implemented. (user: rszulgo, tags: trunk)
22:21
[d162167d3d] new Regexp API (user: rszulgo, tags: trunk)
2009-07-29
16:55
[803aaf69a9] another one java 1.4 compilance issue fixed (user: rszulgo, tags: trunk)
16:50
[0d89415c29] isWideIntType() method (user: rszulgo, tags: trunk)
16:37
[6200534eaf] empty.jar now in java 1.4 (user: rszulgo, tags: trunk)
15:51
[815f12e53d] update of empty.jar (new method stub in Util.class) (user: rszulgo, tags: trunk)
15:45
[a321b7d218] Some Java 1.4 compilance level fixes. (user: rszulgo, tags: trunk)
12:00
[c7b6657512] regexp -indices, -nocase, -all, -inline, -start switches implemented. Regexp command uses java.util.regexp package now. Tested with tcl8.4 test suit case (user: rszulgo, tags: trunk)
2009-07-23
10:42
[09034ae98d] Added implementation of scan %u and %i modifiers. To implement %u (unsigned int value) there was needed to create new class TclWideInteger that stores unsigned int value in long variable. Tested with Tcl8.4 scan suit case. (user: rszulgo, tags: trunk)
10:40
[100837aa7c] added method stub for getWideInt() (user: rszulgo, tags: trunk)
2009-07-20
08:52
[b398cc540c] 1. `file normalize name` was implemented 2. getSeparators() method was moved from Util class to FileUtil. (user: rszulgo, tags: trunk)
08:50
[2496aff91a] getSeparators method was moved to the FileUtil class so necessary changes were made. (user: rszulgo, tags: trunk)
2009-07-16
22:12
[781616844d] file channel ?pattern? added (user: rszulgo, tags: trunk)
11:53
[f4f504f03a] in attributes, link, lstat, readlink, system file options error is thown now. (user: rszulgo, tags: trunk)
11:21
[d8fbcd39b1] file atime is no longer available (an error is thrown). It returned the same thing as `mtime` what can be misleading. In addition, atime was removed from `file stat` result. (user: rszulgo, tags: trunk)
2009-07-10
15:36
[b7a3c43aff] overrided hashCode() method added and equals() method reimplemented (user: rszulgo, tags: trunk)
14:35
[f52f443adb] remove unnecessary try-catch block in addHiddenToDirListing method (user: rszulgo, tags: trunk)
14:22
[18083afda4] doomed test for eqality to NaN and Ininity . Replaced with corresponding methods from Double class (user: rszulgo, tags: trunk)
14:09
[c59d37775d] dead store to 'ASSIGNED' variable (user: rszulgo, tags: trunk)
14:05
[3fa41a368c] dead store to 'array' variable in traceVar method (user: rszulgo, tags: trunk)
13:56
[dd70315f00] Computation of averege could overflow -> Better solution: a + b >>> 1 (user: rszulgo, tags: trunk)
13:27
[585730e622] every comparisons of String's objects via '==' operator were replaced with equals method (user: rszulgo, tags: trunk)
13:21
[f7a0cc02c5] Comparision of String object via equals() method in checkCommonString(String) . It was via '==' operator that could cause problems.. (user: rszulgo, tags: trunk)