Kevin Sawicki
5f400303ac
Add ref counting to Git class
2012-12-13 15:23:55 -08:00
Kevin Sawicki
1686c97244
Add initial support for jump to declaration
2012-12-13 15:22:23 -08:00
Corey Johnson & Kevin Sawicki
a6a05b6ff4
Remove directories from fuzzy-finder
2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
af49ab9c6c
Add callback param to getAllPathsAsync signature
2012-12-12 13:41:15 -08:00
Corey Johnson & Kevin Sawicki
404f637101
Populate fuzzy-finder asynchronously
2012-12-12 12:26:39 -08:00
Kevin Sawicki
c78ccf3ede
Read index before checking status
2012-12-10 11:47:26 -08:00
Corey Johnson & Nathan Sobo
702b8047e4
Unwatch all paths after each test
2012-11-29 15:31:05 -08:00
Corey Johnson
5c4079a2c8
Use NSASCIIStringEncoding instead of NSNonLossyASCIIStringEncoding
2012-11-29 10:36:16 -08:00
Corey Johnson
02c441e937
If $native.read fails to open a file as UTF8, it opens it as ascii
...
This is a temporary solution to allow Atom to open binary files. The ultimate goal would be to have a hex-editor built into atom.
2012-11-29 10:34:22 -08:00
Corey Johnson & Nathan Sobo
db78d6a7e5
Ensure PathWatcher isn't watching anything at the end of each spec
...
This replaces the old functionality of ensuring no files or directories have subscriptions in javascript. We allow this now, but we just don't allow leaked watches at the native layer.
2012-11-28 17:16:15 -07:00
Corey Johnson & Nathan Sobo
d6009df44e
Buffers retain path when file is deleted and can be re-saved
...
Path watching resumes once the file is saved again. This commit allows files to be created for as-yet nonexistent paths. We won't call `$native.watchPath` until we have at least 1 subscription to the file in JS and the file exists on disk.
Also, we moved execution of the path watcher callbacks until after the callbacks data structure is updated in order to avoid confusing behavior in specs.
2012-11-28 16:55:10 -07:00
Corey Johnson & Nathan Sobo
f9563f5e55
Fix PathWatcher failures
...
Now when a file is removed, we always remove its subscriptions and its kevent.
2012-11-19 13:16:14 -07:00
Corey Johnson
0ba0813f7c
Clean up lurking pathwatcher bugs
2012-11-16 15:26:55 -08:00
Corey Johnson
69e04d57aa
Remove NSLogs from PathWatcher
2012-11-15 14:37:49 -08:00
Corey Johnson
173a615f07
Clean up PathWatcher
...
Uses the path to store the callback instead of the fd. This
2012-11-15 14:31:49 -08:00
Corey Johnson
18f4134e81
Remove existing PathWatcher when window is reloaded or closed
2012-11-15 13:16:13 -08:00
Nathan Sobo
1f1243a839
Merge branch 'master' of https://github.com/github/atom
2012-11-14 20:54:46 -07:00
Corey Johnson
0bb384d98b
Atom is sent to the foreground when launched from the command line.
2012-11-09 15:51:24 -08:00
Corey Johnson & Nathan Sobo
fa5acd600a
Hack to open unstable windows from atom-stable
2012-11-09 10:25:42 -07:00
Corey Johnson
608b7ee9e1
Throw an exception if OnigRegExp fails to create a regex from a pattern
2012-11-08 16:46:56 -08:00
Corey Johnson
1850da70e3
Ensure closing the application will call window.shutdown on each window.
2012-11-07 15:45:44 -08:00
Corey Johnson
e96d1b07d3
When a window is closed, the AtomCefClient is destroyed.
2012-11-07 15:45:44 -08:00
Corey Johnson
3860fe1de7
Add atom.log (passes message directly to NSLog)
2012-11-07 15:45:44 -08:00
Nathan Sobo
11d8192221
Show docked dev tools synchronously.
...
This commit fixes the sizing issues that were forcing the asynchronous hack. It also makes the split view divider dark gray like in chrome.
2012-11-07 11:20:12 -07:00
Nathan Sobo
6145605849
Still focus the browser when window becomes main
2012-11-06 18:18:34 -07:00
Corey Johnson & Nathan Sobo
a613fdf8a9
Make browser properly unfocus when resigning main window status
2012-11-06 16:58:43 -07:00
Kevin Sawicki
1019154db6
Add Git.checkoutHead(path)
2012-11-03 15:09:52 -07:00
Corey Johnson & Kevin Sawicki
be533d4342
Add Git.isPathNew(path)
...
Renamed other method to Git.isPathModified
2012-11-02 15:36:35 -07:00
Corey Johnson
999a74ec2c
Add $git.getStatus(path)
2012-11-02 15:35:21 -07:00
Corey Johnson
13be2ea607
💄
2012-11-02 15:35:21 -07:00
Kevin Sawicki
bb201f8e42
💄
2012-11-02 15:33:39 -07:00
Kevin Sawicki
a934c5502f
Remove unneeded import
2012-11-02 15:33:39 -07:00
Kevin Sawicki
8bfe7b770f
💄
2012-11-02 15:33:39 -07:00
Kevin Sawicki
46e3ec17be
Use int instead of int*
2012-11-02 15:33:38 -07:00
Kevin Sawicki
8195206d04
Check that pointer
2012-11-02 15:33:38 -07:00
Kevin Sawicki
f5db2b63d8
Add specs for Git.isIgnored
2012-11-02 15:33:38 -07:00
Kevin Sawicki
20c69118ff
Decorate ignored files/folders in tree-view
2012-11-02 15:33:38 -07:00
Kevin Sawicki
9ec1a2c406
💄
2012-11-02 15:33:37 -07:00
Kevin Sawicki
8e8ab4ff94
Add getPath helper
2012-11-02 15:33:37 -07:00
Kevin Sawicki
34bf39e364
Take char* path in constructor
2012-11-02 15:33:07 -07:00
Kevin Sawicki
a3ef53f8e6
Return repository for all paths
2012-11-02 15:33:07 -07:00
Kevin Sawicki
4c80b1e4ef
💄
2012-11-02 15:33:07 -07:00
Kevin Sawicki
e4fb12a398
Add octicon to branch label
2012-11-02 15:31:11 -07:00
Kevin Sawicki
8831c2a2dc
Return SHA-1 when HEAD is detached
2012-11-02 15:31:10 -07:00
Kevin Sawicki
14302c491d
Show current branch in status bar
2012-11-02 15:31:10 -07:00
Kevin Sawicki
c425b58093
Spec out more $git methods
2012-11-02 15:30:06 -07:00
Kevin Sawicki
1b42bd9662
Add $git.isRepository
2012-11-02 15:30:06 -07:00
Kevin Sawicki
17c3621853
Add native Git v8 extension
2012-11-02 15:30:06 -07:00
Nathan Sobo
980c5d6b11
Add support for native tracing w/ atom.begin/endTracing in console.
...
* Open the dev tools console
* Call `atom.beginTracing()`
* Do stuff
* Call `atom.endTracing()`
* Save the file somewhere
* Open `about:tracing` in chrome and load the file
* Inspect away!
2012-10-31 11:39:58 -06:00
Nathan Sobo
e649b2e6c6
Handle standard pasteboard keybindings in the dev tools
...
This commit adds a boolean constructor parameter to the AtomCefClient indicating whether it should handle the standard pasteboard commands for its associated browser. We pass `true` when constructing the client for the dev tools, so these commands work there.
2012-10-29 11:45:16 -06:00