Kevin Sawicki
9a3821b97e
Quit message loop when last browser is closed
...
Previously CefShutdown() was called after closing the windows
which would prevent them from running their beforeunload callbacks
and saving state properly when cmd-Q the application.
Now the number of open browsers is tracked and the message loop
is quit and the windows are autoreleased only after the browser
is ready to be closed.
Closes #493
2013-04-12 10:22:18 -07:00
Cheng Zhao
17e9c6ea3b
Restart renderer process when reloaded for 4 times.
...
Fix #481 .
2013-04-08 12:00:52 +08:00
Cheng Zhao
7c8e1634b8
Remove native path watcher code.
2013-04-07 19:33:27 +08:00
Kevin Sawicki
9633677bcc
Only check for updates on code signed builds
2013-04-05 10:16:56 -07:00
Kevin Sawicki
6e4d9508aa
Close browser instead of sending shutdown message
...
CEF now supports calling the beforeunload handler when closed
so we no longer need to send a shutdown message on the native
side.
2013-04-05 08:34:04 -07:00
Kevin Sawicki
062d07ada0
💄
2013-04-04 15:52:53 -07:00
Kevin Sawicki
bb2ab15753
Open files specified via CLI in existing window
...
Activate the window and open an editor when a path is specified
that is already present in an existing window's project.
Closes #357
2013-04-04 13:40:48 -07:00
Corey Johnson & Nathan Sobo
101605e50f
Add atom.crashMainProcess and atom.crashRenderProcess
2013-04-03 15:08:16 -07:00
Corey Johnson & Nathan Sobo
262e2fe1ec
Add Quincy crash reporter framework
2013-04-03 15:08:16 -07:00
probablycorey
1c5b72e04d
Add version to the Atom Helper plist
...
Closes #368
2013-03-29 14:13:33 -07:00
Kevin Sawicki
a3483d0ffe
Remove native injection from web worker contexts
...
Tasks are now processed based and so web workers no
longer need access to the native extension.
2013-03-27 20:51:01 -04:00
Cheng Zhao
3ed35574d4
Use node-nsspellchecker to replace $native's spell checker.
2013-03-27 12:25:54 +08:00
Kevin Sawicki
a772a9aa75
Remove unneeded std:: prefix
2013-03-26 23:32:05 -04:00
probablycorey
34f3176259
Add $native.beep
...
I could have created an npm for this. I also could wash my hands every 10 seconds, but I'm not crazy, so I did neither.
2013-03-26 16:45:21 -07:00
Kevin Sawicki
d58b1d5b72
Hide the 💀 dev button in full screen mode
...
Closes #417
2013-03-26 16:33:04 -04:00
Kevin Sawicki
74e7fbc76d
Remove logging of index URL
2013-03-23 20:29:53 -07:00
Corey Johnson & Nathan Sobo
f4d339ccac
Unify root view state with window state
2013-03-21 18:24:21 -06:00
Corey Johnson & Nathan Sobo
b169759f98
Flip version to 2.0 so we don't auto-upgrade after rake install
2013-03-21 16:01:52 -06:00
Kevin Sawicki
39ee6f66ba
Remove unused import
2013-03-21 10:02:14 -07:00
Kevin Sawicki
71f28ad9e5
💄
2013-03-20 18:50:20 -07:00
Kevin Sawicki
661ef175d5
Remove $native.getPlatform()
...
process.platform should now be used instead.
2013-03-20 17:51:51 -07:00
Corey Johnson & Kevin Sawicki
6c357aaca7
Make paths absolute before calling $native.watchPath
...
Also return a subscription that can be unwatched instead
of returning an id that is later passed to $native.unwatchPath
along with the watched path.
This allows specs to pass when run from a symlink'ed folder.
2013-03-20 13:27:49 -07:00
Kevin Sawicki & Nathan Sobo
501dc9b76c
Merge remote-tracking branch 'origin/master' into cefode
...
Conflicts:
native/v8_extensions/native.mm
spec/app/config-spec.coffee
spec/app/window-spec.coffee
spec/spec-helper.coffee
spec/stdlib/fs-utils-spec.coffee
src/app/atom-package.coffee
src/app/config.coffee
src/app/window.coffee
src/packages/fuzzy-finder/lib/load-paths-handler.coffee
src/packages/markdown-preview/lib/markdown-preview-view.coffee
src/packages/tree-view/spec/tree-view-spec.coffee
src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Nathan Sobo
836ff53ef3
Load index.html based on the resource path
...
Node uses the location of index as a starting point when looking for
node_modules. Previously, we always loaded index.html out of the app
bundle, which caused us to always load node_modules from the app
bundle as well, which is not what we want in dev mode. Since we no
longer depend on a compiled require.js, it's just as easy to load
index.html from the repository path when in dev mode.
2013-03-14 17:46:25 -06:00
Kevin Sawicki
65d5e631f8
Remove $native.absolute()
...
fs-utils.absolute() now recreates the same behavior
but instead using fs.readpathSync().
This brings over the same behavior for special handling
the /private directory for now.
2013-03-12 19:41:42 -07:00
Kevin Sawicki
426fc7ffc8
Remove themes from node search path
2013-03-12 18:03:47 -07:00
Kevin Sawicki
990f5a92ce
Remove vendor/packages from search paths
...
This folder only contains text mate bundles which
can't be directly required.
2013-03-12 17:58:32 -07:00
Kevin Sawicki
8f177c3835
Remove unused $native.md5ForPath()
2013-03-12 17:43:33 -07:00
Kevin Sawicki
e091f48b81
Only search in benchmark and spec when running specs
2013-03-12 17:33:21 -07:00
Kevin Sawicki
e461c4d94a
💄
2013-03-12 13:49:28 -07:00
Kevin Sawicki
4939b636da
Add missing spec segment to fixture packages path
2013-03-12 13:48:43 -07:00
Kevin Sawicki
c61bf804a4
Add root resource path as last searched path
2013-03-12 13:41:27 -07:00
Kevin Sawicki
8b82c06c6f
Include fixtures/packages in resource paths when running specs
2013-03-12 13:32:21 -07:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1
Use node's require instead of internal require
2013-03-12 10:38:05 -07:00
Kevin Sawicki & Nathan Sobo
cec037333f
Add all resource paths to NODE_PATH env var
2013-03-12 08:50:09 -07:00
Kevin Sawicki
6f5138a56e
Revert "Remove $native.md5ForPath()"
...
This reverts commit 832df7149e .
2013-03-12 08:23:54 -07:00
Kevin Sawicki
832df7149e
Remove $native.md5ForPath()
2013-03-11 20:58:57 -07:00
Corey Johnson
8247e56bef
Fix objective-c compiler warning
2013-03-11 10:49:01 -07:00
Corey Johnson
8fec1e82ee
Use instantiateWithOwner:topLevelObjects
...
Removes deprecation warnings
2013-03-11 10:26:46 -07:00
Corey Johnson
634702005d
💄
2013-03-11 10:24:00 -07:00
Kevin Sawicki
f3049681bd
Use git-utils module
...
Removes the need to include libgit2 as this is now handled by the
git-utils module which provides functions that were previously in
git.mm and git.coffee
2013-03-09 14:34:06 -08:00
Kevin Sawicki
8cf32149b7
Return absolute paths from $native.traverseTree()
...
Previously relative paths were generated even though
things like fs.list() and fs.listTree() would just
recombine them with the root path.
Closes #391
2013-03-08 13:44:28 -08:00
Kevin Sawicki
110d3719bb
Use actual root path length
...
Previously a one was added just to use for the
length with the null byte when creating the root
path passed to fts_open.
Closes #391
2013-03-08 13:17:36 -08:00
Kevin Sawicki
52f7e52255
💄
2013-03-07 19:01:36 -08:00
Kevin Sawicki
6ba9f24381
Remove unused include
2013-03-07 18:37:33 -08:00
Kevin Sawicki
2f8b1d5e3e
Remove $native.remove()
2013-03-07 18:36:20 -08:00
Kevin Sawicki
d91c540d47
Remove $native.move()
2013-03-07 18:25:25 -08:00
Kevin Sawicki
d55e1bfb67
Remove unused $native.read()
2013-03-07 18:21:36 -08:00
Kevin Sawicki
5202e846de
Remove $native.write()
2013-03-07 18:20:29 -08:00
Kevin Sawicki
6abf1ff1aa
Remove $native.makeDirectory()
2013-03-07 18:02:55 -08:00