Commit Graph

6169 Commits

Author SHA1 Message Date
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
8a3b395613 Use gyp's copies facility instead of cp -r
This is more portable, and ensures that we won't screw up symlinks like
cp -r would.
2013-03-01 16:35:48 -05:00
Adam Roben
225aca016b Preserve symlinks during rake install
This prevents resources within Atom.framework from getting duplicated
within the bundle.

This shrinks a `rake install`-ed Atom.app from 124MB to 82MB.
2013-03-01 16:35:47 -05: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
58bd83a225 Always unsubscribe when changing buffers
Previously subscribeToBuffer() returned early
in certain cases without first unsubscribing to
the current buffer.
2013-03-01 10:54:52 -08:00
Kevin Sawicki
7bfb07a25a Lock on shared NSSpellChecker and use release pool
Closes #335
2013-03-01 10:45:01 -08:00
Adam Roben
1c13ab8511 Add "rake download-cef-symbols" to...download CEF symbols 2013-03-01 13:19:23 -05:00
Nathan Sobo
305963c66a Merge pull request #336 from github/split-doc-edits
Split Pane Doc Updates
2013-03-01 10:14:43 -08:00
Nathan Sobo
a650635c97 Clarify key binding a bit
I added an *or* to make sure it was clear that `ctrl-|` and `ctrl-w v`
are separate bindings.
2013-03-01 11:07:32 -07:00
Adam Roben
e27ad21932 Bump prebuilt-cef so we can download debug symbols 2013-03-01 13:03:45 -05:00
Jon Maddox
fef9a67914 Updates do split pane docs
Updated this section to include the new (albeit wierd!) key commands
for creating splits and moving through them.
2013-03-01 12:53:09 -05:00
Kevin Sawicki
14bd7741d1 Change octicon based on creating file or folder 2013-02-28 16:04:18 -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
e36a3c18fb Remove .coffee extension from package main 2013-02-28 15:15:09 -08:00
Kevin Sawicki
35ca8a42a1 Display error when symbol's file does not exist 2013-02-28 15:06:48 -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
56d92fe029 Hide/show loading message instead of toggling 2013-02-28 11:25:02 -08:00
Corey Johnson & Kevin Sawicki
352607f9b4 Remove bump-patch-number from Rakefile 2013-02-28 10:16:01 -08:00
Corey Johnson & Kevin Sawicki
ec2f59836a Make patch version segment optional in spec 2013-02-28 10:15:24 -08:00
Corey Johnson
4f7a01a202 Set version to 0.1 2013-02-28 10:04:06 -08:00
Corey Johnson
057ccf7157 Add - to nonWordCharacters 2013-02-28 09:45:19 -08:00
Corey Johnson
40d50c58c4 Remove worthless line from Rakefile
/cc @aroben
2013-02-28 09:26:51 -08:00
Adam Roben
b0be4c0321 Merge pull request #324 from github/ci-testing
Get Atom building on the new Mac Janky slave
2013-02-28 05:37:03 -08:00
Adam Roben
eb0f118cd0 Remove "[object Object]" output from tests 2013-02-28 08:36:35 -05:00
Adam Roben
492a5d2ff0 Merge branch 'dev' of https://github.com/github/atom into ci-testing
Conflicts:
	.gitmodules
2013-02-28 08:34:19 -05:00
Garen Torikian
68c926b0bc Merge pull request #318 from github/add-popular-tmlanguages
Add popular tmlanguages
2013-02-27 20:12:04 -08:00
Garen Torikian
6c389629b7 Add less tmbundle 2013-02-27 15:40:38 -08:00
Garen Torikian
18e089571c Add SASS TMBundle 2013-02-27 15:39:10 -08:00
Garen Torikian
318e86b821 Add Perl TMBundle 2013-02-27 15:38:22 -08:00
Garen Torikian
392b34e675 Add PHP TMBundle 2013-02-27 15:37:49 -08:00
Garen Torikian
f21318c3c7 Add Java TMBundle 2013-02-27 15:36:53 -08:00
Kevin Sawicki
983ff9a748 Merge pull request #317 from github/yaml
Add YAML highlighting
2013-02-27 15:00:01 -08:00
Garen Torikian
519340a67c Add yaml submodule 2013-02-27 14:56:34 -08:00
Adam Roben
a470fb5851 Revert "Make Rakefile noisier"
This reverts commit 4c52424492.
2013-02-27 16:29:29 -05:00
Adam Roben
beb000ceaf Merge branch 'dev' of github.com:github/atom into ci-testing 2013-02-27 16:27:02 -05:00
Kevin Sawicki
745a3ef9f2 Use class methods to create native object shims
CoffeeScript 1.5 complains if a constructor has
a returns a value.
2013-02-27 13:25:10 -08:00
Corey Johnson
28a2958262 re-add prebuild-cef submodule using ssh url 2013-02-27 12:19:01 -08:00
Corey Johnson
35b3e8ff58 remove prebuilt-cef submodule 2013-02-27 12:18:54 -08:00
Adam Roben
4c52424492 Make Rakefile noisier 2013-02-27 14:47:36 -05:00
Adam Roben
550cd8348c Echo commands in script/cibuild for debugging purposes 2013-02-27 14:38:05 -05:00
Corey Johnson
a45bceb02a Remove unused param 2013-02-27 11:15:46 -08:00
Kevin Sawicki
23c3b18cf4 Add [] as word boundaries
This is a common boundary used in markdown link text
2013-02-27 11:08:35 -08:00
Kevin Sawicki
47021b8d3b Remove extra newline 2013-02-27 11:06:18 -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
d07d59353e Remove atom.githubapp.com private key 2013-02-27 10:48:38 -08:00
Corey Johnson
e618850712 Update script/cibuild to work with the Mac Janky server 2013-02-27 10:47:53 -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