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
probablycorey
1b403d2920
Fix logic mistake
2013-03-05 16:10:03 -08:00
probablycorey
d6ae5a1778
Set atom.devMode
2013-03-05 16:10:02 -08:00
Corey Johnson, Kevin Sawicki & Nathan Sobo
8e11ca58e5
Add isDevMode method
2013-03-05 16:10:02 -08:00
Corey Johnson, Kevin Sawicki & Nathan Sobo
ad3782753b
Display 💀 in window bar when Atom is in dev mode
...
Closes #350
2013-03-05 16:10:02 -08:00
Corey Johnson & Kevin Sawicki
0a21ef4a18
Remove unused code
2013-03-05 16:10:02 -08:00
Kevin Sawicki & Nathan Sobo
280a73e7fd
Merge remote-tracking branch 'origin/dev' into cefode
2013-03-05 14:54:07 -08:00
Adam Roben
5421dddec6
info.plist -> Atom-Info.plist for Constructicon
2013-03-05 14:32:51 -08:00
Kevin Sawicki
91347f14f2
Build libgit2 with thread safe option enabled
2013-03-05 14:27:19 -08:00
Cheng Zhao
cc4fea5e67
Adopt to CEF's API change.
2013-03-05 09:10:04 +01: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
Adam Roben
c96e9acb64
Merge pull request #326 from github/framework
...
Move all code and resources into Atom.framework
2013-03-04 06:10:27 -08:00
probablycorey
32d57892a2
Use correct resource path in dev mode
2013-03-01 16:58:31 -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
probablycorey
5e25d3634c
Set CFBundleTypeRole to Editor
...
This gets ride of an annoying console warning.
2013-03-01 14:56:42 -08:00
probablycorey
467e30aeb1
Remove worker log message
2013-03-01 14:55:44 -08:00
probablycorey
591aba3faf
Revert "wip"
...
This reverts commit 2966cdb033 .
2013-03-01 14:09:43 -08:00
Corey Johnson
2966cdb033
wip
2013-03-01 13:54:19 -08:00
Corey Johnson
5e1701f8db
Call stringByStandardizingPath on moved paths
2013-03-01 13:54:19 -08:00
Corey Johnson
82bce082ef
Always call stringByStandardizingPath on the resource path
...
stringByStandardizingPath has an interesting quirk that causes it to
remove `/private` from the path if the result still indicates an
existing file or directory
2013-03-01 13:54:19 -08:00
Adam Roben
a3c48df25b
Move all code and resources into Atom.framework
...
All our native code now gets built into Atom.framework. Atom.app and
Atom Helper.app both link against this framework. All resources other
than a couple of main-bundle-only ones (e.g., atom.icns) go into
Atom.framework.
Note that this means that there's no compile- or link-time separation
between main process code and helper process code. We could introduce a
compile-time separation by building main process and helper process code
into separate static libraries with mutually exclusive include paths, if
we want.
Atom.framework exports a single symbol: AtomMain(). Atom.app and Atom
Helper.app contain a single source file: main.cpp. main() just calls
AtomMain().
All frameworks are placed in Atom.app/Contents/Frameworks. We now link
against all frameworks using @rpath-based install names, which allows
Atom.app and Atom Helper.app to find them automatically based on their
own LD_RUNPATH_SEARCH_PATH settings. We use install_name_tool at build
time on each of our three binaries (Atom.app, Atom Helper.app,
Atom.framework) to set the install names.
By reducing duplication of code and resources between Atom.app and Atom
Helper.app (and the EH/NP copies of Atom Helper.app), this reduces the
size of the total installed Atom.app bundle from 145MB to 82MB. By
compiling .coffee and .cson files only once, clean build time drops from
114 seconds to 79 seconds on my MacBook Pro.
2013-03-01 16:35:42 -05:00
Kevin Sawicki
31c1a202fd
Bump version to 0.3
2013-03-01 11:08:21 -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
cb6ce5aece
Bump version to 0.2
2013-02-28 15:21:24 -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
Corey Johnson
4f7a01a202
Set version to 0.1
2013-02-28 10:04:06 -08:00
Kevin Sawicki
91f66c8226
Merge pull request #314 from github/spell-check
...
Spell check
2013-02-27 10:50:14 -08:00
Corey Johnson
44680ad50c
Revert " 💄 "
...
This reverts commit c2c4d03c2d .
2013-02-27 10:11:02 -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
Corey Johnson
531946f35c
Allow menu item to update Atom to new version
2013-02-27 10:04:34 -08:00