Permalink
Commits on Feb 2, 2009
Commits on Jan 20, 2009
Commits on Jan 19, 2009
Commits on Jan 18, 2009
  1. format syntax

    committed Jan 18, 2009
Commits on Jan 17, 2009
  1. Added synchronisation around output pipe, fixed recieves with intermi…

    …xed null, refactored ui.rb and objc-completion command.
    committed Jan 17, 2009
  2. added updated versions of ui.rb and objc_completion2.rb, to the repo,…

    … these needs to be symlinked from their correct location, for the time being
    committed Jan 17, 2009
Commits on Jan 16, 2009
  1. initial commit

    committed Jan 16, 2009
Commits on Dec 4, 2008
  1. • change ‘window’ command to ‘nib’ and make the sub-commands be --loa…

    …d/--dispose instead of --open/--close.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@10952 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Dec 4, 2008
Commits on Nov 27, 2008
  1. • require command (⌘) modifier key for the key equivalents (to be con…

    …sistent with native menus starting with next build)
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@10891 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  2. • for ‘$DIALOG menu’ give back the selected item rather than a dictio…

    …nary with a key for selected item’s index and values. No selection results in nothing written back (but ideally a non-zero return code should be given).
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@10890 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  3. • move Dialog v2 out of WIP and into /trunk

    git-svn-id: http://svn.textmate.org/trunk/Tools/Dialog@10883 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  4. • remove ‘--defaults «plist»’ from usage instructions

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10882 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  5. • fix description typo

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10881 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  6. • move defaults registration from window into seperate command

    This is both because future commands (like file requesters with auxilary views) can benefit from this and to offer more (sub)commands related to the defaults.
    
    Presently there is a --read «key» in addition to --register «dictionary». If the key is not found, no output is written back, ideally "$DIALOG" should exit with a non-zero return code, but our infrastructure does not currently allow that.
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10880 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  7. • change syntax to:

        "$DIALOG" images --register '{ «name» = «path»; … }'
    
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10879 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
  8. • move image registration out of the popup command

    This means it is now a two-step process to use images in popups (when those images are referring to disk files), esxample:
    
        "$DIALOG" register_images --images  "{ macro = '$(find_app com.macromates.textmate)/Contents/Resources/Bundle Item Icons/Macros.png'; }"
        "$DIALOG" popup --suggestions '( { image = macro; display = foo; }, { display = bar; } )'
    	
    But since images are registered with the given name, it means they can also be used in nibs, and so, this functionality is more general than just the popup stuff.
    
    If an image is already registered under a requested name, the new image will not replace the existing one, so use unique/namespaced names for your images (although sematics may change).
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10878 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 27, 2008
Commits on Nov 24, 2008
  1. Remove CLIProxy usage from TMDIncrementalPopUpMenu.mm

    The CLI arguments are interpreted in extendedmenu.mm and is using the new argument system.
    
    Also changed is image support; now the popup uses NSImage’s imageNamed: to show images. This allows using images from TM’s bundle or AppKit’s image library. Images provided on the command line gets registered under the name provided.
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10863 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Nov 24, 2008
Commits on Sep 18, 2008
  1. • when pressing tab, something will always be inserted. That is, if t…

    …here are no common prefix with the current item and those below (apart from what’s already typed) then it will find the common prefix among those items which has as prefix what is already typed (the filter string) plus one more character (taken from current item).
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10600 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  2. • fix memory leak

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10599 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  3. • more refactoring

    Except for moving out the use of CLIProxy (and then move to the new argument interface) I think I am done with this stuff… oh, except for renaming the file(s).
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10598 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  4. • re-introduce scroll-wheel support

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10597 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  5. • re-arrange methods, insert headings, etc.

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10596 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  6. • remove setAbove:

    It’s not that I am opposed to accessor methods, but having them for private variables with a primitive (C) type and only use them half the time only adds noise to the code IMHO.
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10595 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  7. • remove awakeFromNib since no nib is used by this code

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10594 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  8. • split initWithProxy: into a regular init: that only sets up instanc…

    …e variables called by initWithProxy:
    
    This makes it easier to ensure that init/dealloc are symmetrical wrt retain/release — and indeed they were not :)
    
    Also, it makes it easier to move the initWithProxy: out of this class, since it really should not know about CLIProxy (only the user/caller/creator should).
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10593 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  9. • remove support for the extraOptions key in the values passed in (th…

    …is was already sort of not used by anything, same goes for the environment kept).
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10592 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  10. • remove support for ‘--shell-cmd’.

    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10591 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008
  11. • remove getCloseStatus method

    No-one was using this (accessor) method.
    
    
    git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10590 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
    duff committed Sep 18, 2008