Artifacts Associated With Ticket 693836ffffffffffffffffffffffffffffffffff
Ticket change [612761f4c0] (rid 92198) by mic42 on 2003-02-26 18:53:18:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
This patch adds a -index option like the one from lsort to lsearch. Its diff'ed -u against the current HEAD (rev 1.45)
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mic42"
- subsystem initialized to: ""
- title initialized to: "lsearch command enhanced with -index option"
- type initialized to: "Support"
Ticket change [aa70e0e7c4] (rid 100926) by mic42 on 2003-03-01 21:28:21:
- icomment:
File Added - 43783: tclCmdIL.c.diff Logged In: YES user_id=302287 Forgot to attach the patch.
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [f96551ea54] (rid 91700) by mic42 on 2003-03-01 23:10:28:
- icomment:
File Added - 43786: tclCmdIL.c.diff Logged In: YES user_id=302287 I made a new patch, further enhancing lsearch (and lsort as a side effect). The new patch does the following: add two new options to lsearch: -index index -subindices -subindices is mutually exclusive with -inline and may only be specified if -index is specified. ----- ?-index index? Takes an index in the form used by lindex or lset, a list of indices is allowed to search or sort based on the values in nested sublists. ?-subindices? Returns indices one can use directly in [lset] or [lindex] to access the sublist element found. ----
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [0f5973762c] (rid 94776) by dkf on 2003-09-12 20:18:56:
- priority changed to: "9 Immediate"
- resolution changed to: ""
Ticket change [b09b28a410] (rid 98012) by dkf on 2003-09-12 20:19:30:
- title changed to: "TIP#127 implementation"
Ticket change [58689fd59c] (rid 117797) by dkf on 2003-09-13 08:08:41:
- icomment:
File Deleted - 43783: Logged In: YES user_id=79902 Could you be a real star and produce: * a forward patch (the one you've done is reversed!) * some tests (via a patch to lsearch.test of course) While I could reverse the patch, synthesizing tests is a bit awkward as I don't understand (especially at 2am!) the nuances of what cases should be tested and how. (You could use some of the examples from the TIP as the basis...) If there are a few tests in there (so we can check that it is doing what we think it ought to be doing) I'd be happy to get this code into the core.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [7404ed70cf] (rid 105130) by mic42 on 2003-09-13 22:24:37:
- icomment:
Logged In: YES user_id=302287 Sorry for the reversed patch. Should do better this time. Shall i diff against current HEAD? As the patch changes things to lsearch and lsort tests for both will be needed. I have the ones for simple syntax checks (where the error messages are checked) done, as those are trivial. Just a bit busy this week (local conference), so expect something by the end of the week/next weekend. Michael
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [224173aab7] (rid 130713) by dkf on 2003-10-01 19:22:37:
- icomment:
Logged In: YES user_id=79902 Reminder: still waiting the tests (or at least enough of them that I can double-check that the behaviour specified in the TIP is actually implemented)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Add attachment "tclCmdIL.c.diff" [75e5c767cb] (rid 105472) by mic42 on 2003-10-13 01:46:30.
Ticket change [1455fcc890] (rid 124379) by mic42 on 2003-10-13 01:46:30:
- icomment:
File Added - 64143: tclCmdIL.c.diff
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [4948d03b89] (rid 100032) by mic42 on 2003-10-13 01:47:20:
- icomment:
File Deleted - 43786: File Added - 64144: lsearch.test.diff
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Add attachment "lsearch.test.diff" [38ca1bdb8f] (rid 112268) by mic42 on 2003-10-13 01:47:20.
Ticket change [35b4ff0f84] (rid 106985) by mic42 on 2003-10-13 01:47:53:
- icomment:
File Added - 64145: CmdIL.test.diff
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Add attachment "CmdIL.test.diff" [81e9429083] (rid 117129) by mic42 on 2003-10-13 01:47:53.
Ticket change [b2c16d8271] (rid 98399) by mic42 on 2003-10-13 01:54:33:
- icomment:
Logged In: YES user_id=302287 Ok, hopefully i have done the diff'ing the right way this time. I added a basic testsuite, i wouldn't say its really complete, there should probably be more checks. (as the multiindex code is shared between lsort and lsearch there are more tests in lsearch that test it). Whats missing: more combinations of options (-inline...) Really good tests for error handling of the index code (should have copied some things from the lset and lindex tests..., as the code is copied from lindex...), some basic ones are there. A patch to the documentation.
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [8f8e549725] (rid 120289) by dkf on 2003-10-13 15:27:44:
- icomment:
Logged In: YES user_id=79902 Thanks. I'll try to get this in when I can.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [f254689dba] (rid 109520) by dkf on 2003-10-13 15:28:40:
- foundin changed to: ""
Ticket change [a512b796c0] (rid 110312) by dkf on 2003-10-14 20:39:58:
- closedate changed to: "2003-10-14T13:39:58"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Applied to HEAD. The documentation is perhaps a touch sparse, but that can be the subject of future bug reports if I've omitted something crucial. :^)
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dkf"
Ticket change [14626f91e1] (rid 124387) by dgp on 2003-10-15 05:43:18:
- icomment:
Logged In: YES user_id=80530 Note this implementation causes new segfaults. Test cmdIL-5.5 demos this. Probably good learning opportunities here for how apparently good code can be subtly wrong.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [a880b06811] (rid 99007) by dkf on 2003-10-15 05:49:49:
- icomment:
Logged In: YES user_id=79902 That issue is being tracked in Bug 823768
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [f46e7b465d] (rid 129914) by dkf on 2008-11-02 18:26:31:
- foundin changed to: "None"
- icomment:
data_type - 210894
- is_private changed to: "1"
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "None"
- username: "dkf"
Ticket change [bb36fc8b48] (rid 129447) by dkf on 2009-07-29 19:40:09:
- icomment:
IP - Comment Removed: 130.88.1.31
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: