Commit Graph

326 Commits

Author SHA1 Message Date
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
Corey Johnson
c2c4d03c2d 💄 2013-02-27 08:51:51 -08:00
Kevin Sawicki
34ee313ec9 Add native isMisspelled method 2013-02-26 16:55:46 -08:00
Corey Johnson
c12114743a Don't check for updates when run with --dev
closes #312
2013-02-26 10:00:17 -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
Corey Johnson
c757bf489f Add version and update info to Atom menu item 2013-02-25 14:58:11 -08:00
Corey Johnson
294bbfd870 Add version number to user_agent 2013-02-25 14:58:11 -08:00
Corey Johnson
ad14e65ef9 Add atom.getVersion(callback) 2013-02-25 14:58:11 -08:00
Corey Johnson
ab5f9afb1f Remove atom.update and atom.updateStatus
We will probably use these in the future, but we don't need them now.
2013-02-25 14:58:11 -08:00
Nathan Sobo
86f39f8a1a I like this temp icon better. Is the cat too obvious? 2013-02-25 11:23:40 -07:00
Nathan Sobo
6011dbe60b Add a new temporary icon. 2013-02-25 11:23:40 -07:00
Kevin Sawicki
259e20e7cc 💄 2013-02-24 09:16:40 -08:00
Kevin Sawicki
d35c871e17 Install atom executable during window.startup()
Previously this was done during `rake install`.

Also default to `~/github/atom` as the default resource path
when no `--resource-path` argument is specified.  This argument
will now be required when running in dev mode if the repository
is not at the default location.

Closes #300
2013-02-22 21:19:34 -08:00
Corey Johnson & Kevin Sawicki
ce9c416a3a Don't create background window when running specs or benchmarks 2013-02-22 16:57:15 -08:00
Corey Johnson & Kevin Sawicki
e202b622e8 Don't check for updates during benchmarks or tests 2013-02-22 16:50:19 -08:00
Corey Johnson
c1ee850b92 Show on icon when update is available 2013-02-22 16:16:21 -08:00
Kevin Sawicki
9ca7214d39 Add --dev flag and remove --stable flag
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.

Closes #198
2013-02-22 11:54:54 -08:00
Kevin Sawicki
98a8b1f4b2 Set User-Agent to GitHubAtom with version 2013-02-22 09:44:47 -08:00
Justin Palmer
f0c3b8f127 lighter icon.
/cc #296
2013-02-21 20:58:53 -08:00
Corey Johnson
e7a8e4e3c4 Add atom.update and atom.getUpdateStatus 2013-02-14 16:40:24 -08:00
Corey Johnson
16d8c52624 💄 2013-02-14 16:40:24 -08:00
Corey Johnson
67b2aeaae9 Remove RESOURCE_PATH macro 2013-02-13 13:09:50 -08:00
Kevin Sawicki
e952a68c96 Support setting working directory of child process 2013-02-11 14:53:53 -08:00
Justin Palmer
45179bacc9 smaller retina icon 2013-02-08 14:31:23 -08:00
Justin Palmer
140a54c53d remove poor lighting 2013-02-07 16:06:21 -08:00
Justin Palmer
03fb964351 💄 2013-02-07 15:59:16 -08:00
Justin Palmer
95a7bc69ce slightly adjust the size 2013-02-07 15:52:15 -08:00
Justin Palmer
714acd852f 💀 to the :octocat: 2013-02-07 15:47:48 -08:00
Justin Palmer
2f0b1b793f a better temporary icon 2013-02-07 12:27:29 -08:00