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
Corey Johnson
bd3dfba1e5
Atom will work as your $EDITOR.
...
Set EDITOR='atom --wait'
2012-12-19 17:15:17 -08:00
Kevin Sawicki
c40ad87a1e
Remove replacing spaces with %20 when encoding URL params
...
This appears to be handled by stringByAddingPercentEscapesUsingEncoding
and so explicitly doing it causes a space to be encoded to %2520 instead
of %20
2012-12-19 15:37:41 -08:00
Kevin Sawicki
75b9e7cbb1
Replace & with %26 when encoding URL params
...
This is not handled by stringByAddingPercentEscapesUsingEncoding
2012-12-19 15:37:34 -08:00
Kevin Sawicki
b83a4ef5c0
Grammar tweaks
2012-12-19 13:42:15 -08:00
Kevin Sawicki
5ce59314fc
Use cleaner iterator over filenames array
2012-12-19 12:42:42 -08:00
Kevin Sawicki
491ecb145f
Remove code handled in standardizePathToOpen
2012-12-19 12:10:55 -08:00
Corey Johnson & Nathan Sobo
1bd0cc4152
ChildProcess can handle commands that return large amounts of data.
...
When a command returned a large amount of data, it was blocking on the stderr callback when `[fileHandle availableData]` was called. From what I can tell, this is because stderr was being called with a zero-length string.
This was fixed when `[fileHandle availableData]` was moved to run inside the NSTask thread (instead of on the main thread). It now returns a zero-length string rather than blocking forever.
An unresolved question is why stderr is being called with zero-length strings.
2012-12-19 11:47:50 -08:00
Kevin Sawicki
ea088db19d
Open default path from applicationDidFinishLaunching
...
This is called after openFiles and so the default path
will open be opened if other explicit files were not
opened such as by dropping onto the dock icon
2012-12-19 11:25:43 -08:00
Kevin Sawicki
17976a19b5
Use simpler windows iterator
2012-12-19 11:00:43 -08:00
Kevin Sawicki
d674aa6a39
Open folders and plain text files dropped dock icon
...
Closes #103
2012-12-19 10:58:30 -08:00
Kevin Sawicki
35f362df1d
Bring window to front when opening already opened path
...
Closes #104
2012-12-19 09:32:06 -08:00
Kevin Sawicki
d2d37e1d91
💄
2012-12-18 19:37:40 -08:00
Nathan Sobo
acc0503684
Merge remote-tracking branch 'origin/master' into config
...
Conflicts:
src/app/keymap.coffee
src/extensions/outline-view/src/keymap.coffee
src/extensions/outline-view/src/tag-reader.coffee
src/packages/fuzzy-finder/spec/fuzzy-finder-spec.coffee
src/packages/fuzzy-finder/src/fuzzy-finder.coffee
2012-12-18 20:32:05 -07:00
Kevin Sawicki
025122d642
Add project outline view with all tags
...
Opened via meta-J and limited to a maximum
of 10 tags similar to fuzzy-finder.
2012-12-17 16:37:27 -08:00
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