Commit Graph

182 Commits

Author SHA1 Message Date
Cheng Zhao
e4995091d3 Always check and download newest cefode. 2013-03-24 13:43:19 +08:00
Cheng Zhao
955fa78d51 Update cefode: fix #434 and fix #404. 2013-03-22 10:52:22 +08:00
Cheng Zhao
95090d735e Update cefode: Fix crash when throwing exception from window context. 2013-03-21 21:56:45 +08:00
Cheng Zhao
977941655f Updae cefode: make sure exceptions thrown in node context can show in devtools. 2013-03-21 00:37:25 +08:00
Corey Johnson & Nathan Sobo
aae705e82c Run rake clean before running tests 2013-03-19 12:33:16 -07:00
Nathan Sobo
e7f371ac62 Nuke node_modules before 'rake test' 2013-03-19 12:17:29 -06:00
Cheng Zhao
a9b9e5651f Update cefode: speed up node's requrie by removing exceptions. 2013-03-16 00:43:43 +08:00
Cheng Zhao
12d3686cb6 Update cefode: fix crash when throw error from node module's callback. 2013-03-14 19:24:30 +08:00
Cheng Zhao
20e2f2bb7c Update cefode.
This fixed two crashes:
1. (message loop) Crash occurred from micro webkit supression.
2. (cef) Random startup crash caused by proxy service initialization.
2013-03-14 01:15:18 +08:00
Cheng Zhao
c393a0677e Update cefode for child_process.fork. 2013-03-13 21:57:12 +08:00
Cheng Zhao
347ba6c7ee Bundle offical node binary with Atom.
This is required for using child_process.fork.
2013-03-13 20:15:41 +08:00
Cheng Zhao
a5a41cf292 Update cefode to branch 1432 revision 1135. 2013-03-12 20:55:32 +08:00
Kevin Sawicki
b0ec0cda7f Merge remote-tracking branch 'origin/dev' into cefode 2013-03-07 11:44:46 -08:00
probablycorey
0c067b55ba Make rake install build with default configuration 2013-03-05 14:32:51 -08:00
Adam Roben
8394852f07 Remove the :package rake task
We don't need this anymore since Constructicon takes care of packaging
the app.
2013-03-05 14:32:51 -08:00
Cheng Zhao
fe7f43155a Use the dowload script of prebuilt-cef. 2013-03-05 15:04:17 +01:00
Cheng Zhao
f170d37479 Use cefode's CEF binary. 2013-03-05 09:10:04 +01:00
Kevin Sawicki
69f79b940b Update nof task for new package generator naming scheme 2013-03-04 20:05:42 -08:00
Joshua Peek
04ec1b01be Fallback to /usr/local/bin/atom 2013-03-04 14:45:24 -06:00
Adam Roben
83ee2d23b3 Use gyp's rules functionality to compile .coffee/.cson files
Instead of finding and compiling all .coffee/.cson files in
script/copy-files-to-bundle, we now tell gyp how to do this for us. It
works like this:

1. Rakefile invokes the new script/generate-sources-gypi script to
   generate sources.gypi. This file lists all the .coffee/.cson files in
   the src, static, and vendor directories, as well as a new
   compiled_sources_dir variable that specifies where the compiled
   versions of the files should be placed.
2. atom.gyp includes sources.gypi.
3. atom.gyp has a new target, generated_sources, which contains all the
   .coffee/.cson files, and uses two rules to tell gyp how to compile
   them. The rules invoke the new script/compile-coffee and
   script/compile-cson files once for each file.
4. gyp generates one Makefile for each rule to actually perform the
   compilation.
5. script/copy-files-to-bundle now takes the compiled_sources_dir
   variable as an argument, and copies files both from there and from
   the repository into the Resources directory.

By putting the compilation into a different target, we can do it in
parallel with compiling/linking our binaries. And gyp automatically runs
make using -j$(sysctl -n hw.ncpu), so compilation of .coffee/.cson files
happens in parallel, too.

These changes reduce clean build time on my MacBook Pro from 55 seconds
to 46 seconds.
2013-03-04 11:32:06 -05: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
4e971b085e Now that specs can handle symlinks, put atom-build in /tmp 2013-03-01 13:54:19 -08: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
1c13ab8511 Add "rake download-cef-symbols" to...download CEF symbols 2013-03-01 13:19:23 -05:00
Corey Johnson & Kevin Sawicki
352607f9b4 Remove bump-patch-number from Rakefile 2013-02-28 10:16:01 -08:00
Corey Johnson
40d50c58c4 Remove worthless line from Rakefile
/cc @aroben
2013-02-28 09:26:51 -08:00
Corey Johnson
9454cce157 Calling rake package will codesign the app 2013-02-26 16:43:15 -08:00
Corey Johnson
2b3bd11a46 Use tar.bz2 instead of zip to package Atom.app
zip was modifying some framework binaries, which causes codesigning to fail
2013-02-26 15:07:11 -08:00
Kevin Sawicki & Nathan Sobo
99c1819ceb Install cli to /opt/boxen if it exists 2013-02-25 12:40:59 -08:00
Corey Johnson
8b92b15b58 💄 2013-02-25 09:24:31 -08:00
Kevin Sawicki
74ac77e0eb Install atom.sh when running rake install
This was removed in commit d35c871e17
but shouldn't have been.
2013-02-24 08:16:16 -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
8e6ae81169 Add rake deploy 2013-02-22 16:17:39 -08:00
Corey Johnson
052b7923ac Add bump patch number to rakefile 2013-02-22 16:16:21 -08:00
Corey Johnson & Kevin Sawicki
aeac64ce68 Open with -a instead of application path 2013-02-22 15:52:51 -08:00
Corey Johnson & Kevin Sawicki
31d8151c3e Copy themes to ~/.atom/themes when config loads 2013-02-22 14:46:30 -08:00
Corey Johnson
b14099c10d Add update-cef dependency on rake test 2013-02-20 13:56:39 -08:00
Corey Johnson
eb7ed3df33 rake test uses source as its resource dir 2013-02-19 10:57:04 -08:00
Corey Johnson
c5a049dd0f Make rake test work again 2013-02-19 10:57:04 -08:00
Adam Roben
0599f83959 Show output from prebuilt-cef/script/download 2013-02-18 08:13:59 -05:00
Adam Roben
668921d336 Remove CEF from the repo and download it as needed
We now use github/prebuilt-cef to download CEF from S3, then build
against that. This means we no longer need to have CEF committed to the
repo.

Fixes #280.
2013-02-17 11:59:06 -05:00
Corey Johnson
a2bcea7d06 rake nof ignores package-generator spec templates 2013-02-14 11:37:55 -08:00
Corey Johnson
71246dde1b Remove rake run
Fixes #273
2013-02-13 13:09:49 -08:00
Corey Johnson
4b7e8b6a37 Clean up .atom creation 2013-02-13 13:09:49 -08:00
Corey Johnson
c370a027ff Rename create-project to create-xcode-project 2013-02-13 13:09:49 -08:00
Nathan Sobo
9973fb14e8 Run rake clean prior to running rake install 2013-02-07 12:23:37 -07:00
Will Farrington
b333cf2734 rake clean should kill the compiled scripts directory 2013-02-06 15:10:25 -08:00
Jon Rohan
c2af8712d1 Creating GitHub_Dark and GitHub_Light. 2013-01-31 19:01:44 -05:00
Justin Palmer
2982c5e51a need -r when copying packages directory 2013-01-31 10:22:36 -08:00
Justin Palmer
30103b66fc move old atom.coffee to user.coffee on rake install if it exists 2013-01-31 10:18:25 -08:00