Commit Graph

206 Commits

Author SHA1 Message Date
Kevin Sawicki
086c7f7133 Run biscotto directly through coffee
CI had issues finding coffee when exec'ing directly.
2013-04-18 21:08:33 -07:00
Garen Torikian
df528f954b Bump biscotto one last time 2013-04-18 18:51:23 -07:00
Garen Torikian
87f991a35d Remove package doc for now 2013-04-18 15:01:52 -07:00
Garen Torikian
c4e713f121 Update biscotto 2013-04-14 01:44:59 -07:00
Garen Torikian
e412eb16af Add a proper output dir 2013-04-12 14:36:59 -05:00
Garen Torikian
c5557500a9 Add more to specs 2013-04-10 18:01:54 -05:00
Garen Torikian
1963cb66fd Merge branch 'master' into api/docs 2013-04-10 17:23:05 -05:00
Nathan Sobo
93cddcf8dc Make CODE_SIGN gyp var lowercase and 💄 it in Rakefile 2013-04-10 15:57:17 -06:00
Nathan Sobo
2cb18f5855 Allow gyp version var to be set from CLI, but default it to git HEAD. 2013-04-10 15:57:17 -06:00
Garen Torikian
f677e6633c Fix doc tasks 2013-04-10 02:20:45 -05:00
Garen Torikian
abbda0643a Specify more namespaces 2013-04-09 18:02:24 -05:00
Garen Torikian
19c347903a Add stats tasks 2013-04-09 14:49:41 -05:00
Garen Torikian
a16428c5b6 Merge master 2013-04-09 01:37:46 -05:00
Garen Torikian
003813f39d Add statsOnly task 2013-04-05 13:54:56 -07:00
Cheng Zhao
20083b97c6 Update node to v0.10.3 2013-04-04 21:18:21 +08:00
Kevin Sawicki
52d47f555f Don't run clean before test
Clean should be optional
2013-04-03 12:11:45 -07:00
Garen Torikian
bd1b407a4b Add that rake task 2013-04-02 17:30:11 -07:00
Garen Torikian
83c6975d34 Add a rake task, of course 2013-04-02 16:47:30 -07:00
Kevin Sawicki
f51102a230 Don't force clean installs
Making clean a pre-req install forces a reinstall and
rebuild of all npm modules and reinstall of cef which
drastically increases the install time even for small
local changes.
2013-03-28 10:09:29 -04:00
Kevin Sawicki
b0706ee9fb Update coffee cache path used in clean task 2013-03-28 10:07:17 -04:00
Cheng Zhao
bc211a2231 Should erase cef in rake clean. 2013-03-27 23:09:01 +08:00
Cheng Zhao
371fdde4f9 Use atom/cefode. 2013-03-27 12:25:54 +08:00
Cheng Zhao
67c2a1473c Cefode is using node v0.8.22. 2013-03-27 12:25:54 +08:00
Cheng Zhao
215cd64c9a Use the node binary compiled with V8 used by Chromium.
The official node is using a different V8 version with the one used by
cefode, which causes incompatibility with cefode on native modules, this
special node binary fixes it.

The source code of this node binary can be found at:
https://github.com/atom/cefode-node/tree/chromium-v8
2013-03-27 12:25:54 +08:00
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