Corey Johnson
6b4f3b0386
Use --headless arg to enable console reporter and exit on finish.
2012-03-15 10:24:57 -07:00
Corey Johnson
caaa8d110e
💄
2012-03-14 12:19:50 -07:00
Corey Johnson
56fb238bf6
Failures cause app to exit with exitStatus != 1
2012-03-14 11:00:35 -07:00
Corey Johnson
131d5775bf
Clean up line noise on console.log
2012-03-14 10:48:17 -07:00
Corey Johnson
ac61e18f2c
Format console log better
2012-03-14 09:59:36 -07:00
Corey Johnson
1b1e81c6cf
Running tests or benchmarks cause app to exit when finished.
2012-03-14 09:59:36 -07:00
Corey Johnson
8b62357c96
Add method that takes a block for modifying JS vars from objective-c
2012-03-14 09:52:08 -07:00
Corey Johnson
e7de17aed7
Console output is less noisy
2012-03-12 17:05:30 -07:00
Corey Johnson
b39201891f
Add native exit method
2012-03-12 16:39:20 -07:00
Corey Johnson
4be4f83dce
Class method load initializes Cef
2012-03-12 16:39:02 -07:00
Corey Johnson
9d3b13a850
These comments are line noise
2012-03-12 14:28:45 -07:00
Corey Johnson
98bc29cdce
Benchmarks are run when atom is run with --benchmark argument
2012-03-12 14:24:06 -07:00
Corey Johnson
cbfa165e5f
resources is Resources
2012-03-12 14:19:19 -07:00
Corey Johnson
8e97fbd5ed
document.title is set as the window title
2012-03-09 11:02:08 -08:00
Corey Johnson & Nathan Sobo
18c8c7e14f
Add benchmark suite, which runs with ctrl-alt-meta-b
2012-03-07 18:21:17 -07:00
Nathan Sobo
baeef54be3
Revert "Global Keyboard shortcuts work from spec window."
...
This reverts commit 6134d9e41e .
2012-03-07 10:53:09 -07:00
Corey Johnson & Nathan Sobo
6134d9e41e
Global Keyboard shortcuts work from spec window.
2012-03-06 16:48:28 -08:00
Adam Roben
5665fcb48c
Fix compiler error in Xcode 4.3
...
Presumably this also indicated infinite recursion, but I don't believe Atom is
ever actually deallocated.
2012-03-06 13:27:47 -08:00
Corey Johnson & Nathan Sobo
d334a26ddc
All of the methods from Native are now implemented in native_handler
2012-03-01 16:10:47 -08:00
Corey Johnson
404ca89767
Uncomment the custom event handling code
2012-03-01 15:45:49 -08:00
Corey Johnson
e874512284
Move atom.native to $native
2012-03-01 15:44:36 -08:00
Corey Johnson
e51f49f6f5
Deal with key-equivalents before we send events to Cef
2012-03-01 15:37:58 -08:00
Corey Johnson
7fc98e0ae3
Use NSURL.path to get the filename from openDialog
2012-03-01 15:36:05 -08:00
Corey Johnson
1e6a34db81
Added native.openDialog
2012-03-01 12:11:17 -08:00
Corey Johnson
bd17d890a1
If no windows are open, keydown events are sent to the shared context.
2012-03-01 12:11:04 -08:00
Corey Johnson
569bed9ee1
Refactor ad hoc delegate methods into BrowserDelegate protocol.
2012-02-29 17:30:50 -08:00
Corey Johnson
670b9dc52d
meta-r reloads a controller
2012-02-29 17:26:50 -08:00
Corey Johnson & Nathan Sobo
7e6132f5b7
Redo Xcode project FROM SCRATCH
2012-02-29 15:23:17 -08:00
Corey Johnson & Nathan Sobo
c84320b536
window-bootstrap is called when a file is opened.
2012-02-28 17:24:58 -08:00
Corey Johnson & Nathan Sobo
d9697d6ad1
💄
2012-02-28 13:20:55 -08:00
Corey Johnson & Nathan Sobo
b37b45b4b1
atom variable holds all global state and is shared across contexts.
2012-02-28 13:14:35 -08:00
Corey Johnson
5ac7088423
Reloading page resets JS env
2012-02-28 11:36:45 -08:00
Corey Johnson
b0c5cd6bb3
💄
2012-02-28 11:06:42 -08:00
Corey Johnson
bedc39d137
Close dev tools when window closes.
2012-02-28 11:06:33 -08:00
Corey Johnson
cd3dfa8ad2
Global background page is working.
2012-02-28 10:58:25 -08:00
Corey Johnson
19be5fed04
Clean up Xcode project layout
2012-02-27 17:00:05 -08:00
Corey Johnson
82dac0e554
Building Atom with Chrome
2012-02-21 14:36:59 -08:00
Corey Johnson
99cbb5e0a2
Cache compiled CoffeeScript on the Objective-C side.
...
This is a temporary fix, it just stores compiled scripts in memory. It
doesn't speed up the app start since the scripts need to be compiled
once. Here are some numbers.
#file load
pre: 1.5 seconds
post: 0.25 seconds
#spec load
pre: 5.4 seconds
post: 0.36 seconds
2012-01-30 16:19:28 -08:00
Corey Johnson & Nathan Sobo
430869b7e0
Show inspector with javascript
2012-01-25 12:29:36 -08:00
Nathan Sobo
80e4fda2f9
Filter out directory paths for FileFinder in Objective-C instead of JS.
...
Rename FileSystemHelper-contentsOfDirectoryAtPath… to -listFilesAtPath to make it clear that we're only listing files, not subdirectories. This is a fairly special purpose method but it saves us from calling back into objective-c a ton of times to filter them in JS, and makes bringing up the file finder ~2x as fast.
2012-01-04 18:22:22 -07:00
Nathan Sobo
be0fa84f1f
Move fs support methods out of AtomController into FileSystemHelper
2012-01-04 18:01:31 -07:00
Nathan Sobo
c21083ae24
Merge branch 'asyncfs' of github.com:probablycorey/Atomicity into asyncfs
2012-01-04 13:30:56 -07:00
Nathan Sobo
a16e596fdf
Refactor objective-c side of fs.async.list and cleanup memory leaks.
2012-01-04 13:21:26 -07:00
Corey Johnson & Nathan Sobo
9fde405ebe
cmd-o allows directories to be open
2012-01-04 10:50:53 -08:00
Nathan Sobo
faa39f6bdb
Construct native JS array/strings in C for fs.async.list callback.
...
Converting from JS-cocoa wrapper values for every element in the array appears to be very slow. Here we construct native JS datatypes and it's much faster. This is very messy and leaky and needs to be cleaned up if we want to keep it.
2012-01-03 22:47:20 -07:00
Corey Johnson & Nathan Sobo
7ba7ba2c81
Ported absolute and isFile to Objective-c.
...
This took fileFinder loading from .8 seconds to .35 seconds.
2012-01-03 17:50:43 -08:00
Corey Johnson & Nathan Sobo
2cfea9fa42
Fix broken specs
2012-01-03 14:40:31 -07:00
Corey Johnson & Nathan Sobo
5b3e0e9f83
fs.async.list takes a boolean 'recursive' flag.
2012-01-03 14:23:18 -07:00
Corey Johnson & Nathan Sobo
3822549007
Spec passes for fs.async.list.
2012-01-03 14:03:03 -07:00
Corey Johnson
d076b1a48c
Async file finding works with with blocks
2012-01-03 11:11:11 -08:00