-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: joachimm/dialog
base: master
head repository: textmate/dialog
compare: master
Commits on Sep 18, 2012
-
- now insert_text() and insert_snippet() will look for the front most text view before inserting - if no text view was found a new document will be created before inserting - for insert_snippet(): after insertion the key input focus will set to the found text view after insertion since a snippet needs user interaction afterwards
Configuration menu - View commit details
-
Copy full SHA for 73e1ad0 - Browse repository at this point
Copy the full SHA 73e1ad0View commit details -
Those used are likely to change in the future.
Configuration menu - View commit details
-
Copy full SHA for 6a1dc94 - Browse repository at this point
Copy the full SHA 6a1dc94View commit details -
We do a breadth first search starting with first responder and then content view so we still get the advantage of finding the view quickly but avoid duplicated code.
Configuration menu - View commit details
-
Copy full SHA for 5eb3c82 - Browse repository at this point
Copy the full SHA 5eb3c82View commit details
Commits on Oct 24, 2012
-
- shows an Open File Panel or a Save File Panel - returns a plist with keys 'clickedButton' and 'path' for one file or 'paths' for more than one file - see help for option list
Configuration menu - View commit details
-
Copy full SHA for 0894fc3 - Browse repository at this point
Copy the full SHA 0894fc3View commit details
Commits on Nov 16, 2012
-
Configuration menu - View commit details
-
Copy full SHA for d251aab - Browse repository at this point
Copy the full SHA d251aabView commit details
Commits on Dec 19, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 07964e3 - Browse repository at this point
Copy the full SHA 07964e3View commit details
Commits on Dec 30, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 5d39b24 - Browse repository at this point
Copy the full SHA 5d39b24View commit details
Commits on Jan 17, 2013
-
Turn nil arguments into empty strings
With bindings, a text field is likely to set its value to ‘nil’ when the contained string is empty. Related to textmate/textmate#584 (though the API mentioned there is using the older dialog plug-in).
Configuration menu - View commit details
-
Copy full SHA for 80b3c8d - Browse repository at this point
Copy the full SHA 80b3c8dView commit details
Commits on Feb 16, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 02733af - Browse repository at this point
Copy the full SHA 02733afView commit details
Commits on Mar 20, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 179528b - Browse repository at this point
Copy the full SHA 179528bView commit details
Commits on Nov 2, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 60dde1f - Browse repository at this point
Copy the full SHA 60dde1fView commit details
Commits on Mar 3, 2014
-
Configuration menu - View commit details
-
Copy full SHA for f872370 - Browse repository at this point
Copy the full SHA f872370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c8dc61 - Browse repository at this point
Copy the full SHA 4c8dc61View commit details
Commits on Mar 5, 2014
-
Configuration menu - View commit details
-
Copy full SHA for b13159a - Browse repository at this point
Copy the full SHA b13159aView commit details -
Do not translate NSScrollWheel events to up/down (in pop-up menu)
Instead we send the events to the window so that the list scrolls (without changing selection).
Configuration menu - View commit details
-
Copy full SHA for 2e873f8 - Browse repository at this point
Copy the full SHA 2e873f8View commit details -
Adjust pop-up menu width to widest row
Previously we would go by string length and multiply it by 18 (average width of a character?) to get the width. The width would not be allowed to exceed 340, this has now been increased to 600. Furthermore, the width would never decrease, unsure if this was to limit visual distractions or if it was because the width was a heuristic, so there was a chance that the calculated width was too small to have the rows fit, and by newer shrinking the menu’s width, we would decrease the chance of this happening.
Configuration menu - View commit details
-
Copy full SHA for d32b5c8 - Browse repository at this point
Copy the full SHA d32b5c8View commit details
Commits on Mar 6, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 506388e - Browse repository at this point
Copy the full SHA 506388eView commit details
Commits on Apr 1, 2014
-
Let HTML tool tips use same font as TextMate
The existing code was for TextMate 1.x (and an OS where Monaco was the default fixed width system font).
Configuration menu - View commit details
-
Copy full SHA for fb41293 - Browse repository at this point
Copy the full SHA fb41293View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee1cf36 - Browse repository at this point
Copy the full SHA ee1cf36View commit details
Commits on Sep 11, 2014
-
Configuration menu - View commit details
-
Copy full SHA for fdb66f6 - Browse repository at this point
Copy the full SHA fdb66f6View commit details -
Remove workaround for signatureWithObjCTypes:
This was made public in 10.5.
Configuration menu - View commit details
-
Copy full SHA for 2ff5a03 - Browse repository at this point
Copy the full SHA 2ff5a03View commit details -
Remove workaround for WebView setDrawsBackground:
We no longer support versions of Mac OS X where is this not available. Also, updated usage string to remove mention of 10.5.
Configuration menu - View commit details
-
Copy full SHA for 87a8532 - Browse repository at this point
Copy the full SHA 87a8532View commit details -
Update to new APIs for reading/writing plists
These do not cause a problem yet, but the new APIs follow proper Cocoa memory management rules and will make upgrading to ARC easier. Also, since we now return an NSError instead of an NSString, we should not expect upon successful completion that these methods will return nil for the passed NSError object.
Configuration menu - View commit details
-
Copy full SHA for 2f5d738 - Browse repository at this point
Copy the full SHA 2f5d738View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0f1869 - Browse repository at this point
Copy the full SHA d0f1869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b21d9f - Browse repository at this point
Copy the full SHA 9b21d9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ca66bc - Browse repository at this point
Copy the full SHA 4ca66bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d46482 - Browse repository at this point
Copy the full SHA 1d46482View commit details -
Use anonymous categories to declare private interfaces
Anonymous and named categories actual behave differently. Using the latter, prevents us from declaring (private) properties.
Configuration menu - View commit details
-
Copy full SHA for 7019c37 - Browse repository at this point
Copy the full SHA 7019c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe560ab - Browse repository at this point
Copy the full SHA fe560abView commit details -
Configuration menu - View commit details
-
Copy full SHA for fff3e32 - Browse repository at this point
Copy the full SHA fff3e32View commit details -
Don't use the pre-processor to declare a string constant
Also, renamed DialogServerConnectionName → kDialogServerConnectionName. This is more consistent with the TextMate coding style.
Configuration menu - View commit details
-
Copy full SHA for 8e281dc - Browse repository at this point
Copy the full SHA 8e281dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb393e - Browse repository at this point
Copy the full SHA 4bb393eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 675612f - Browse repository at this point
Copy the full SHA 675612fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d94714 - Browse repository at this point
Copy the full SHA 8d94714View commit details -
I added a usage statement to the help message and did some refactoring in order to alphabetize the list of registered commands along with some minor fixes, such as removing the redundant "help" in the invocation string when running "$DIALOG" help help.
Configuration menu - View commit details
-
Copy full SHA for 813a177 - Browse repository at this point
Copy the full SHA 813a177View commit details -
Use Core Animation to fade out tooltips
This code was based on recent changes (db2c7982929a16da8abf9a0da20ac0b1ccccad01) made to OakToolTip in the main TextMate repository.
Configuration menu - View commit details
-
Copy full SHA for 68fadb9 - Browse repository at this point
Copy the full SHA 68fadb9View commit details
Commits on Sep 13, 2014
-
Configuration menu - View commit details
-
Copy full SHA for de96a2d - Browse repository at this point
Copy the full SHA de96a2dView commit details -
Avoid typecast and return instancetype from factory class method
The typecast was required because there are multiple initWithOptions: methods and alloc used to return ‘id’, but it now returns ‘instancetype’ (which is why we need to send the alloc message to ‘CLIProxy’ instead of ‘[self class]’).
Configuration menu - View commit details
-
Copy full SHA for 8a5317d - Browse repository at this point
Copy the full SHA 8a5317dView commit details -
Speedup tool-tip fadeout except when closing due to mouse moved
This mimics commit 5d4fe11e707672f43f95c33a1bf975919ecf1733 (in the TextMate source).
Configuration menu - View commit details
-
Copy full SHA for 1612829 - Browse repository at this point
Copy the full SHA 1612829View commit details
Commits on Sep 16, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 10f7f29 - Browse repository at this point
Copy the full SHA 10f7f29View commit details -
Don't use ASCII format property list for returning results
All the other commands return an XML formatted plist. I do not think this will break anything, unless someone is manually parsing the results from this command. If so, they should use the tm_helpers `from_plist`.
Configuration menu - View commit details
-
Copy full SHA for 3048f8d - Browse repository at this point
Copy the full SHA 3048f8dView commit details -
This category was introduced (9630995) to avoid repeatedly typing: [foo writeData:[@"bar" dataUsingEncoding:NSUTF8StringEncoding]];. However, it has since been superseded by `writeStringToOutput` and `writeStringToError`. So let's remove it and let these methods use the original call shown above.
Configuration menu - View commit details
-
Copy full SHA for 580bbc0 - Browse repository at this point
Copy the full SHA 580bbc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0781f47 - Browse repository at this point
Copy the full SHA 0781f47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60305f6 - Browse repository at this point
Copy the full SHA 60305f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 926a36f - Browse repository at this point
Copy the full SHA 926a36fView commit details -
This macro was called multiple times before commit 2030fd1 but now this is the only place where it's used, so let's just remove it.
Configuration menu - View commit details
-
Copy full SHA for e1ea1b3 - Browse repository at this point
Copy the full SHA e1ea1b3View commit details -
Move ivar declarations to their class extensions
This is really just to make the code style more similar to the TextMate source.
Configuration menu - View commit details
-
Copy full SHA for 83dd3d4 - Browse repository at this point
Copy the full SHA 83dd3d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fda2794 - Browse repository at this point
Copy the full SHA fda2794View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36b9e81 - Browse repository at this point
Copy the full SHA 36b9e81View commit details -
Delete Dialog2_Prefix.pch on disk
We removed the Xcode project (6388785), which contained the original build system. Since we now use the custom build system in the TextMate source (along with it's precompiled headers), let's delete it.
Configuration menu - View commit details
-
Copy full SHA for a93bf26 - Browse repository at this point
Copy the full SHA a93bf26View commit details
There are no files selected for viewing