Kevin Sawicki
983f1ab18b
Bind meta-~ to focus previous window
...
Closes #212
2013-01-30 18:42:04 -08:00
Corey Johnson & Nathan Sobo
cab281c6db
Inject all native extensions into web worker contexts
2013-01-24 17:22:50 -08:00
Nathan Sobo
f22fedebcf
Inject new instances of native objects into every JS context
...
This prevents concurrent access to the same state from different
worker threads. We needed to treat windowState specially because we
explicitly want it to last beyond the life-span of a single context.
So we store it as a static variable in `native.mm` and synchronize
access with a static `NSLock`. Good enough for now.
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
9bff6f63df
Delete lines that never should have been there
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
1b228c75bc
Convert Tags to context binding
2013-01-24 17:22:50 -08:00
Corey Johnson & Nathan Sobo
e5c96c7077
Convert OnigScanner to a context binding
2013-01-24 17:22:49 -08:00
Nathan Sobo
df2bb3f75c
💄
2013-01-24 17:22:49 -08:00
Nathan Sobo
2946ba7b9a
Convert OnigRegExp from a v8 extension to a window binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
f876071ff0
💄
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
1e6e6c4411
Convert git v8 extension to a context binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
47420c2e01
Inject $native into WebWorker contexts
...
This is just to make sure it works. Will inject the remaining extensions
when they are converted to from v8 extensions to context bindings.
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
faaaaec846
Convert atom global to a window binding
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
a5f72c8a2d
💄
2013-01-24 17:22:49 -08:00
Corey Johnson & Nathan Sobo
5294cb6df1
Kill lines I forgot to delete
2013-01-24 17:22:49 -08:00
Nathan Sobo
87829043d4
Use window binding instead of v8 extension for $native object
...
This paves the way to inject `$native` into the context of a web worker
2013-01-24 17:22:49 -08:00
Nathan Sobo
d9cfc491e0
💄
2013-01-24 17:22:48 -08:00
Corey Johnson & Nathan Sobo
ed532e552e
Initialize Sparkle on application launch and add delegate methods
2013-01-23 15:23:15 -08:00
Corey Johnson & Nathan Sobo
d7137c980f
Update Atom's info.plist to work with sparkle
2013-01-23 15:13:07 -08:00
Corey Johnson & Nathan Sobo
61e1effd28
Add Sparkle.framework and DSA key for speakeasy
2013-01-23 15:09:58 -08:00
Kevin Sawicki
a451a369e8
Use device color instead of calibrated
2013-01-23 08:28:44 -08:00
Kevin Sawicki
a9d3d010d9
Use executed-from argument when path is missing
...
This still allows atom to open its own source when
run from Xcode but will now use the current working
directory when launched from the command line with
no path argument.
Closes #139
2013-01-22 15:58:11 -08:00
Kevin Sawicki & Nathan Sobo
d09610cbcd
Upgrade CEF 3 to branch 1364, r1050
...
This adds support for accessing native extensions in web workers, though it may
not work quite how we need it to just yet. Figured we'd bank an upgrade anyway.
2013-01-21 18:05:39 -07:00
Kevin Sawicki
7f8a64b69c
Show window only after root view is attached
...
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Kevin Sawicki
12fdf07137
💄
2013-01-17 16:50:25 -08:00
Kevin Sawicki & Nathan Sobo
2fb27bb2dd
Store pathToOpen using new atom.set/getWindowState api
...
When you use `setWindowState`, your data is saved across refreshes.
You can only store state that can be serialized to JSON.
2013-01-10 18:04:22 -07:00
Kevin Sawicki & Nathan Sobo
caffda6027
Add Git.destroy() that frees native repository
2013-01-09 17:07:29 -08:00
Kevin Sawicki
ba614d5549
Throw error from GitRepository constructor
2013-01-09 11:53:13 -08:00
Kevin Sawicki
6f5e29d48e
Throw exception when repository fails to open
...
Removes need to check if the repository is valid before
each native API call and also removes calling into the
native-side if no repository can be opened for the project
page.
2013-01-08 21:15:41 -08:00
Kevin Sawicki
c4f82c8db5
Update libgit2 to commit 11fccddcb5
...
Closes #122
2013-01-08 17:43:30 -08:00
Kevin Sawicki
fffba45b50
💄
2013-01-07 19:36:13 -08:00
Kevin Sawicki
146ae9d776
Refresh the Git index when the window gains focus
...
Closes #121
2013-01-07 17:29:48 -08:00
Kevin Sawicki
1535930521
Show existing hidden window when re-opening
...
Previously if Atom was opened to an already opened
path but that window was hidden then a new window
would be opened when instead the existing window
should be unhidden.
2013-01-07 16:58:27 -08:00
Corey Johnson
60e295e7f3
Merge remote-tracking branch 'origin/hide-apps'
2013-01-07 08:33:21 -08:00
Kevin Sawicki
df309c80dc
Use switch statement for line types
2013-01-06 11:04:59 -08:00
Kevin Sawicki
64afd51ca4
Use constant for submodule file mode
2013-01-06 09:59:57 -08:00
Kevin Sawicki
a300146f2a
Display submodule icon in tree-view
2013-01-06 09:52:53 -08:00
Kevin Sawicki
b855799d96
Return null unless exactly 1 delta exists
2013-01-04 14:59:41 -08:00
Kevin Sawicki
f1efc9ce60
Upgrade to latest libgit2 development branch
2013-01-04 14:57:14 -08:00
Nathan Sobo
cb4d2f63ad
Log errno when path watcher fails to open an fd
2013-01-02 03:44:25 -07:00
Nathan Sobo
f0ee7a06f7
Log a better error upon failing to open an fd in path watcher
...
I've been struggling with some intermittent failures, so I'm hoping the
code returned from `open` might shed some light on the issue.
2013-01-02 03:18:50 -07:00
Kevin Sawicki
4be8805c37
Add placeholder file icon
2012-12-28 15:39:19 -08:00
Kevin Sawicki
d328db65f2
Free path after generating diff list
2012-12-27 10:54:06 -08:00
Kevin Sawicki
a561d5efab
Only create diff options when necessary
2012-12-27 10:53:13 -08:00
Kevin Sawicki
d3ed0fca27
Free reference before returning result
2012-12-27 10:51:35 -08:00
Kevin Sawicki
219aaca0f5
Show diff stat in status bar
...
Include the number of lines added and removed for
new and modified files
2012-12-27 10:41:29 -08:00
Corey Johnson
747b2b6bad
Use an offensive icon for Atom
2012-12-27 10:15:42 -08:00
Kevin Sawicki
9f6d1f987f
Add initial support for replacing anchors
2012-12-21 13:22:08 -08:00
Kevin Sawicki
39f5ce6087
Activate running Atom when invoked with no path
2012-12-20 13:11:01 -08:00
Kevin Sawicki
275f6f2df5
💄
2012-12-19 17:25:20 -08:00
Kevin Sawicki
cdac5e0763
Read output for terminate handler off main thread
...
Follow on to commit 1bd0cc4152
2012-12-19 17:25:19 -08:00