Commit Graph

165 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
f4d339ccac Unify root view state with window state 2013-03-21 18:24:21 -06:00
Kevin Sawicki
39ee6f66ba Remove unused import 2013-03-21 10:02:14 -07:00
Kevin Sawicki
71f28ad9e5 💄 2013-03-20 18:50:20 -07:00
Kevin Sawicki
661ef175d5 Remove $native.getPlatform()
process.platform should now be used instead.
2013-03-20 17:51:51 -07:00
Kevin Sawicki
65d5e631f8 Remove $native.absolute()
fs-utils.absolute() now recreates the same behavior
but instead using fs.readpathSync().

This brings over the same behavior for special handling
the /private directory for now.
2013-03-12 19:41:42 -07:00
Kevin Sawicki
8f177c3835 Remove unused $native.md5ForPath() 2013-03-12 17:43:33 -07:00
Kevin Sawicki
6f5138a56e Revert "Remove $native.md5ForPath()"
This reverts commit 832df7149e.
2013-03-12 08:23:54 -07:00
Kevin Sawicki
832df7149e Remove $native.md5ForPath() 2013-03-11 20:58:57 -07:00
Kevin Sawicki
f3049681bd Use git-utils module
Removes the need to include libgit2 as this is now handled by the
git-utils module which provides functions that were previously in
git.mm and git.coffee
2013-03-09 14:34:06 -08:00
Kevin Sawicki
52f7e52255 💄 2013-03-07 19:01:36 -08:00
Kevin Sawicki
6ba9f24381 Remove unused include 2013-03-07 18:37:33 -08:00
Kevin Sawicki
2f8b1d5e3e Remove $native.remove() 2013-03-07 18:36:20 -08:00
Kevin Sawicki
d91c540d47 Remove $native.move() 2013-03-07 18:25:25 -08:00
Kevin Sawicki
d55e1bfb67 Remove unused $native.read() 2013-03-07 18:21:36 -08:00
Kevin Sawicki
5202e846de Remove $native.write() 2013-03-07 18:20:29 -08:00
Kevin Sawicki
6abf1ff1aa Remove $native.makeDirectory() 2013-03-07 18:02:55 -08:00
Kevin Sawicki
e7050b2083 Remove unused $native.lastModified() 2013-03-07 18:00:35 -08:00
Kevin Sawicki
fedf43ca0a Remove $native.exists() 2013-03-07 17:57:28 -08:00
Kevin Sawicki
4bc513a8e3 Remove $native.isFile() and $native.isDirectory 2013-03-07 17:55:13 -08:00
Kevin Sawicki
fe172985bb Remove unused $native.traverseTree() 2013-03-07 17:50:12 -08:00
Kevin Sawicki
acf5f4ce5e Remove fs/$native.getAllFilePathsAsync()
This was previously only used by project.getFilePath()
which should have been using fs.traverseTree() instead.
2013-03-07 17:48:36 -08:00
Kevin Sawicki
53b3fbfed6 Remove $native.exec 2013-03-07 17:40:47 -08:00
Kevin Sawicki
b0ec0cda7f Merge remote-tracking branch 'origin/dev' into cefode 2013-03-07 11:44:46 -08:00
Kevin Sawicki
d34796a78b Use oniguruma node module
This removes all internal native oniguruma
sources and starts using the node module
directly to create onig scanners and regexes.
2013-03-07 10:45:22 -08:00
Kevin Sawicki
ce2d0389e1 Use ctags node module
Remove internal ctags code and defer to
new node module for finding tags and listing
tags.
2013-03-07 09:41:04 -08:00
Kevin Sawicki
9fe1be7fe0 Add parens around string length 2013-03-07 08:54:29 -08:00
Kevin Sawicki
d509195aab Free keys when config open fails 2013-03-07 08:34:05 -08:00
Kevin Sawicki
91347f14f2 Build libgit2 with thread safe option enabled 2013-03-05 14:27:19 -08:00
Kevin Sawicki
464aed92cb Don't return before freeing references 2013-03-04 22:04:13 -08:00
Kevin Sawicki
eb00623807 Return null when no merge base is found 2013-03-04 21:56:14 -08:00
Kevin Sawicki
a389d57219 Remove unneeded null terminators
These are already added by sprintf
2013-03-04 21:43:35 -08:00
Kevin Sawicki
11b5fc14dc Check that remote length is non-zero 2013-03-04 21:43:35 -08:00
Kevin Sawicki
5005aa0c7c Add null terminator to upstream branch string 2013-03-04 21:43:35 -08:00
Kevin Sawicki
673e8c948f Prevent repository config from leaking 2013-03-04 21:43:35 -08:00
Kevin Sawicki
060ed27a2f Set context lines to 1 for line diffs 2013-03-04 21:43:34 -08:00
Kevin Sawicki
885da83df2 💄 2013-03-04 21:43:34 -08:00
Kevin Sawicki
14a73337ce Remove unused diff options 2013-03-04 21:43:34 -08:00
Kevin Sawicki
72851486d8 💄 2013-03-04 21:43:34 -08:00
Kevin Sawicki
ab5043f890 Add method to get line diffs for path and text 2013-03-04 21:43:34 -08:00
Kevin Sawicki
fd82f3f8a4 Add method to get ahead/behind commit counts 2013-03-04 21:43:34 -08:00
Kevin Sawicki
4add7b6213 Support getting status of entire repository
New Git.getAllStatuses() method returns all non-ignored
status entries in the repository.
2013-03-04 21:43:32 -08:00
probablycorey
d6309ec31c Add autorelease pool wrappers around CefV8Handler::Execute methods
This removes all BlahBlahBlah was not autoreleased console warnings.
2013-03-01 15:01:14 -08:00
Kevin Sawicki
7bfb07a25a Lock on shared NSSpellChecker and use release pool
Closes #335
2013-03-01 10:45:01 -08:00
Kevin Sawicki
9de3a91c9c Correct typos in comment 2013-02-28 15:28:43 -08:00
Kevin Sawicki
1b71796698 Check for escaped backslashes in tag patterns
Previously readtags.c was not checking if the
end pattern / was preceded by an escaped \
which would cause segmentation faults for patterns
that ended with an escaped \.
2013-02-28 14:49:30 -08:00
Kevin Sawicki
a4efc32d45 Display corrections for misspelling on meta-0
A select list will now display with possible corrections
and the misspelling will be replaced when one is selected.
2013-02-27 10:08:02 -08:00
Kevin Sawicki
34ee313ec9 Add native isMisspelled method 2013-02-26 16:55:46 -08:00
Corey Johnson & Kevin Sawicki
ba47e60eeb Synchronize reads of task's stdout/stderr
This ensures that all the available data on standard
out and standard error has been read before the terminate
handler calls the JavaScript callback.

Without this synchronization the command panel specs
occasionally fail.
2013-02-26 09:02:49 -08:00
Kevin Sawicki
e952a68c96 Support setting working directory of child process 2013-02-11 14:53:53 -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