Skip to content
Tcl Source Code History Of Ticket 693836ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 693836ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 693836ffffffffffffffffffffffffffffffffff

  1. Ticket change [612761f4c0] (rid 92198) by mic42 on 2003-02-26 18:53:18:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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)
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mic42"
    9. subsystem initialized to: ""
    10. title initialized to: "lsearch command enhanced with -index option"
    11. type initialized to: "Support"
  2. Ticket change [aa70e0e7c4] (rid 100926) by mic42 on 2003-03-01 21:28:21:

    1. icomment:
      
      
      File Added - 43783: tclCmdIL.c.diff
      
      Logged In: YES 
      user_id=302287
      
      Forgot to attach the patch.
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  3. Ticket change [f96551ea54] (rid 91700) by mic42 on 2003-03-01 23:10:28:

    1. 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.
      
      ----
      
      
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  4. Ticket change [0f5973762c] (rid 94776) by dkf on 2003-09-12 20:18:56:

    1. priority changed to: "9 Immediate"
    2. resolution changed to: ""
  5. Ticket change [b09b28a410] (rid 98012) by dkf on 2003-09-12 20:19:30:

    1. title changed to: "TIP#127 implementation"
  6. Ticket change [58689fd59c] (rid 117797) by dkf on 2003-09-13 08:08:41:

    1. 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.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [7404ed70cf] (rid 105130) by mic42 on 2003-09-13 22:24:37:

    1. 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
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  8. Ticket change [224173aab7] (rid 130713) by dkf on 2003-10-01 19:22:37:

    1. 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)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  9. Add attachment "tclCmdIL.c.diff" [75e5c767cb] (rid 105472) by mic42 on 2003-10-13 01:46:30.

  10. Ticket change [1455fcc890] (rid 124379) by mic42 on 2003-10-13 01:46:30:

    1. icomment:
      
      
      File Added - 64143: tclCmdIL.c.diff
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  11. Ticket change [4948d03b89] (rid 100032) by mic42 on 2003-10-13 01:47:20:

    1. icomment:
      
      
      File Deleted - 43786: 
      
      
      
      File Added - 64144: lsearch.test.diff
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  12. Add attachment "lsearch.test.diff" [38ca1bdb8f] (rid 112268) by mic42 on 2003-10-13 01:47:20.

  13. Ticket change [35b4ff0f84] (rid 106985) by mic42 on 2003-10-13 01:47:53:

    1. icomment:
      
      
      File Added - 64145: CmdIL.test.diff
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  14. Add attachment "CmdIL.test.diff" [81e9429083] (rid 117129) by mic42 on 2003-10-13 01:47:53.

  15. Ticket change [b2c16d8271] (rid 98399) by mic42 on 2003-10-13 01:54:33:

    1. 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.
      
      
      
    2. login: "mic42"
    3. mimetype: "text/plain"
    4. username: "mic42"
  16. Ticket change [8f8e549725] (rid 120289) by dkf on 2003-10-13 15:27:44:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Thanks. I'll try to get this in when I can.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  17. Ticket change [f254689dba] (rid 109520) by dkf on 2003-10-13 15:28:40:

    1. foundin changed to: ""
  18. Ticket change [a512b796c0] (rid 110312) by dkf on 2003-10-14 20:39:58:

    1. closedate changed to: "2003-10-14T13:39:58"
    2. closer changed to: "dkf"
    3. 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.  :^)
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"
  19. Ticket change [14626f91e1] (rid 124387) by dgp on 2003-10-15 05:43:18:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  20. Ticket change [a880b06811] (rid 99007) by dkf on 2003-10-15 05:49:49:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      That issue is being tracked in Bug 823768
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  21. Ticket change [f46e7b465d] (rid 129914) by dkf on 2008-11-02 18:26:31:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 210894
      
      
      
    3. is_private changed to: "1"
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. subsystem changed to: "None"
    7. username: "dkf"
  22. Ticket change [bb36fc8b48] (rid 129447) by dkf on 2009-07-29 19:40:09:

    1. icomment:
      
      
      IP - Comment Removed: 130.88.1.31
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"