Kevin Sawicki
41ab48bc6e
Use path.join instead of path.resolve
...
This ensures the case of the path is consistent with how require resolves
paths.
Closes #2486
2014-06-03 17:19:00 -07:00
Kevin Sawicki
16df6a32d6
📝 Use TomDoc in Atom class
2014-05-22 14:06:17 -07:00
Kevin Sawicki
cdb6de05b3
Update broken Keymap class reference
2014-05-22 13:27:45 -07:00
Alfred Xing
839cad0c2a
Add fullscreen class to body when in full screen
...
Add a `fullscreen` class to body when full screen is triggered, as suggested
by @orderedlist in #1694
2014-05-08 20:36:46 -07:00
Lee Dohm
9b49c2f987
📝 Some simple documentation fixes
2014-05-07 22:38:51 -07:00
Kevin Sawicki
4f4da78e54
Add --safe argument
...
This will launch Atom in "safe" mode where packages from ~/.atom
will not be loaded automatically or be resolveable by name.
2014-05-01 15:20:22 -07:00
Cheng Zhao
f48241bc5e
Use new IPC API of atom-shell.
2014-04-29 15:16:27 +08:00
Nathan Sobo
56e5fb7a63
Set process.env.NODE_ENV to 'production' to speed up React
2014-04-22 17:09:43 -06:00
Corey Johnson
aed0c16acc
Remove github auth token methods
2014-04-15 16:16:01 -07:00
Corey Johnson
e1491ca154
Merge remote-tracking branch 'origin/master' into cj-remember-last-window-dimensions
2014-04-10 14:49:34 -07:00
Cheng Zhao
6017ff585f
Do not use deprecated app.exit API.
2014-04-10 17:33:26 +08:00
probablycorey
b72bb4ab65
Fix default size bug
2014-04-08 17:27:52 -07:00
probablycorey
3393583b72
Use windowDimensions from load settings if they exist
2014-04-08 16:57:52 -07:00
probablycorey
993534337c
Update restoreWindowDimensions
2014-04-08 15:26:08 -07:00
probablycorey
053965602c
Apply default dimensions
2014-04-08 14:19:03 -07:00
probablycorey
b45c1c7548
Store the default windows position.
...
Based on the last closed window or the last focused window
2014-04-08 12:35:36 -07:00
Cheng Zhao
96e3c63291
Show console when window error happened, fixes #1805 .
2014-04-08 15:27:41 +08:00
probablycorey
59108322e7
Merge remote-tracking branch 'origin/master' into cj-warn-deprecations
...
Conflicts:
package.json
2014-04-04 14:43:54 -07:00
probablycorey
56222a072a
Add deprecation warnings
2014-04-01 16:59:16 -07:00
Nathan Sobo
65564e2012
Rename atom.keymap to atom.keymaps
2014-03-31 16:28:55 -06:00
Nathan Sobo
d612a71af5
Upgrade to atom-keymap@0.14.0 and account for renamed methods
2014-03-31 16:01:31 -06:00
Kevin Sawicki
2bde128fed
Make serialization version independent of app version
...
Previously when deserializing the version of the serialized state
was compared to the app version causing the serialized state be discarded
each time Atom was updated.
Now the cached app version variable is different than the serialization
version allow them to drift accordingly without loss of serialized state.
2014-03-20 16:09:16 -07:00
Cheng Zhao
0ee3421cbc
Merge branch 'master' into linux-build
2014-03-18 15:54:52 +08:00
Cheng Zhao
cc2e1eecd3
Still set NODE_PATH since tasks may need it.
2014-03-18 15:38:57 +08:00
Cheng Zhao
87b95128f9
Do not rely on NODE_PATH env.
2014-03-18 15:34:24 +08:00
Nathan Sobo
dcdc9d6b90
Construct Keymap with options object
2014-03-17 13:05:47 -06:00
Nathan Sobo
3d28f957c7
Export Keymap from keymap-extensions
2014-03-17 13:05:47 -06:00
Nathan Sobo
2dcbf7f751
Replace Keymap subclass with keymap-extensions
2014-03-17 13:05:46 -06:00
Nathan Sobo
4c0f1efec6
Set the keymap default target to atom.workspaceView's DOM element
2014-03-17 13:05:46 -06:00
Nathan Sobo
38f25160d6
Upgrade to q@1.0.1, which doesn't need loophole to avoid CSP errors
2014-03-11 13:18:56 -06:00
Nathan Sobo
79089ced97
💄 whitespace
2014-03-07 17:19:53 -07:00
Nathan Sobo
dd27a35039
Silence CSP warnings from q's feature detection
2014-03-07 17:01:51 -07:00
Nathan Sobo
2d4797c84e
Define allowUnsafeEval in an npm module
2014-03-06 18:56:09 -07:00
Nathan Sobo
2bd5c10f09
Merge branch 'master' into enable-csp
2014-03-06 18:14:25 -07:00
Kevin Sawicki
372ca374cc
Serialize project
2014-03-05 15:06:19 -08:00
Nathan Sobo
5e8213d45f
Add atom.allowUnsafeEval loophole and disable unsafe-eval again
...
With Node.js baked in, there's no water-tight way to prevent users from
evaluating code at runtime, at least with CSP alone. This is because
node exposes a 'vm' module that allows scripts to be compiled. There's
also `module._compile`, etc.
I think a reasonable compromise is to protect users from eval'ing code
by accident. This commit adds an atom.allowUnsafeEval method which
re-enables eval in the dynamic scope of the given function.
I then use this to compile the keystroke grammar which saves us the
complexity of pre-compiling it during specs.
What do people think?
2014-03-05 09:57:08 -07:00
Kevin Sawicki
8900d9efdd
Require TextBuffer from text-buffer module
2014-02-19 09:19:08 -08:00
Kevin Sawicki
da945de5f5
Only require init script when it exists
2014-02-18 11:01:24 -08:00
Kevin Sawicki
3e6e530b44
Delete socket file when atom.exit() is called
...
Previously the socket file was not being deleted when `apm test` was run
causing a noticeable delay the next time a window was opened and the
socket had to timeout before the window would display.
2014-02-14 15:27:29 -08:00
probablycorey
763c5053ad
Shell commands installed on startup don't ask for admin privleges
2014-02-13 10:00:18 -08:00
Kevin Sawicki
e6e43f6884
Add Open Your Init Script command
2014-02-07 09:51:24 -08:00
Kevin Sawicki
d21b5ae75b
📝 doc parameters in atom.coffee
2014-02-06 15:34:47 -08:00
Kevin Sawicki
cee0b951fb
Remove empty Private: comments
2014-02-06 10:11:32 -08:00
Kevin Sawicki
932a792289
Remove Private: prefix
2014-02-06 10:02:53 -08:00
Kevin Sawicki
2a75836ca2
Remove unused environment param/ivar
2014-02-04 10:14:29 -08:00
Kevin Sawicki
ba45dbaa6a
📝 Mention atom.deserializers global
2014-02-04 10:13:59 -08:00
Kevin Sawicki
b28f3f29ec
📝 Sort and include atom.workspace
2014-02-04 10:00:34 -08:00
Cheng Zhao
c64b84750a
Merge pull request #1503 from atom/cz-sync-to-async
...
Remove usage of synchronous messages during startup
2014-02-04 00:32:02 -08:00
Cheng Zhao
01876c4004
Request loadSettings.windowState via IPC messages.
2014-02-04 11:46:21 +08:00
Cheng Zhao
88a65358b4
Add methods for setSize, setPosition and center.
2014-02-04 11:00:51 +08:00