Skip to content
Tcl Source Code History Of Ticket 1484427fffffffff
Login

History Of Ticket 1484427fffffffff

Artifacts Associated With Ticket 1484427fffffffff

  1. Ticket change [47d8701e2f] (rid 99777) by nobody on 2006-05-09 07:05:14:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      It is not possible to list a hidden file with glob.
      A -all option would be suitable
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "behaviour glob command"
    11. type initialized to: "RFE"
  2. Ticket change [21a3f93899] (rid 130619) by nobody on 2006-05-09 18:37:21:

    1. icomment:
      Logged In: NO 
      
      Please do try reading the glob documentation where you will
      find '-types hidden' clearly documented.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Ticket change [acf6482025] (rid 101382) by hobbs on 2006-05-09 23:38:44:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      The -types hidden is what's documented, but glob is broken
      in that you can't get hidden and non-hidden items in one
      request, and glob's can be expensive.  A -all is a good idea.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  4. Ticket change [d1f140e8fc] (rid 113438) by dgp on 2006-05-10 00:17:12:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 360894
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "37. File System"
    6. username: "dgp"
  5. Ticket change [cc477a5981] (rid 95666) by dgp on 2006-05-10 00:18:11:

    1. assignee changed to: "vincentdarley"
    2. subsystem changed to: "36. Pathname Management"
  6. Ticket change [b453707856] (rid 125011) by vincentdarley on 2006-05-10 05:52:17:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Changed the summary to reflect what this is actually about.
      
      Indeed that is a good idea, and I heartily recommend someone
      write a TIP and provide a patch to implement this.
      
      I do have to ask, however, whether there are good examples
      when glob really is the performance bottleneck?  Clearly
      almost any situation where the files are actually going to
      be accessed in any way is going to mean that the 'glob'
      itself will be relatively quick in comparison.
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. title changed to: "glob: retrieve hidden and non-hidden in one go"
    5. username: "vincentdarley"
  7. Ticket change [2db29ce782] (rid 119107) by das on 2006-05-10 10:11:22:

    1. icomment:
      Logged In: YES 
      user_id=90580
      
      note the added wrinkle on Mac OS X of the HFS invisible flag in this context, 
      c.f. bug 823329:
      
      > the only thing not implemented is exclusion of
      > files hidden via HFS invisible flag from
      > ordinary glob results (i.e. without -types
      > hidden), to implement this it would be
      > necessary to do always do a costly stat &
      > getattrlist for every file traversed (as well
      > as a major rewrite of unix
      > TclpMatchInDirectory/ NativeMatchType), I don't
      > think it's worth the slowdown of the most
      > common glob cases to add this minor feature.
      > [glob -types hidden] does however return the
      > files with HFS invisible flag in addition to
      > files starting with '.'
      
      so -all is already the default mode of operation on Darwin for HFS invisible 
      files...
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  8. Ticket change [8af6ce9eb2] (rid 127481) by blacksqr on 2006-07-22 02:13:18:

    1. icomment:
      Logged In: YES 
      user_id=128673
      
      I second the request for an "-all" option.  It would be
      especially useful for example when dealing with high-latency
      network filesystems, where one wants to make as few calls as
      possible to maximize performance.
      
      Note also that the Tclvfs API doesn't transmit the "hidden"
      type flag to the underlying vfs code, so if one wants to
      make hidden files accessible in a virtual filesystem, every
      glob call made by a user must be fulfilled with two glob
      calls in the vfs code (one to get non-hidden files, another
      to get the hidden).  Again, when working over remote
      networks, this is an unnecessary performance hit.
      
      
    2. login: "blacksqr"
    3. mimetype: "text/plain"
    4. username: "blacksqr"