Commit Graph

430 Commits

Author SHA1 Message Date
Max Brunsfeld
a6e8f8a08a Always open all CLI paths in the same window
No more 'atom --multi-folder'
2015-03-05 15:23:28 -08:00
Max Brunsfeld
49e92a45ae Update loadSettings as project paths change
This way, reloading the window always preserves your current state.
2015-03-04 17:40:24 -08:00
Max Brunsfeld
9bb4968e6f Store load settings in URL fragment, not query string 2015-03-04 16:03:00 -08:00
Ben Ogle
80cd20193a Move the logic for opening empty initial buffer to renderer 2015-03-03 11:39:38 -08:00
Kevin Sawicki
51f1a69788 Link to issues 2015-03-03 10:41:15 -08:00
Kevin Sawicki
16c32a64dd Don't corrupt non-ASCII paths
Stopgap until a long-term solution is found

Closes #5063
2015-03-03 10:38:12 -08:00
Kevin Sawicki
b23800084b Don't write to path when reading is blocked
Closes #5092
2015-03-03 10:30:07 -08:00
Kevin Sawicki
3b79ecbc8a Only set iconPath ivar on Windows 2015-02-26 09:07:30 -08:00
Jim Graham
93a725d453 Remove dialog icon from updater atom/atom#5670
Remove the update icon on windows when showing the update modal dialog.
Keep the icon for linux. This appears to be the only file outside of
`build/` that uses the `'atom.png'` file.
2015-02-25 17:11:17 -05:00
Kevin Sawicki
97f43a3335 Merge pull request #5623 from brendannee/master
Add "Checking for Update" to menu
2015-02-19 15:18:40 -08:00
Max Brunsfeld
0674244f5c Always create new window when opening w/ no path
Fixes #5631
2015-02-19 14:35:22 -08:00
Brendan Nee
2168a59828 Add "Checking for Update" to menu
When state is “checking”, menu should say “Checking for Update”
2015-02-18 13:50:18 -08:00
Max Brunsfeld
0eb742566f Always open w/ one untitled buffer when no paths are given
Fixes #5607
2015-02-18 11:17:52 -08:00
Max Brunsfeld
39a225821e Reuse current window if it has no project path
Fixes #5615
2015-02-18 10:29:48 -08:00
Max Brunsfeld
7fcec6e3c3 Restore old behavior of atom.open 2015-02-17 15:59:49 -08:00
Max Brunsfeld
bcfa4ef608 Restore old behavior for multiple path CLI args
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-17 15:25:50 -08:00
Max Brunsfeld
ac7057bb2e Always open new window when --wait is passed
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-02-13 13:04:22 -08:00
Max Brunsfeld
476876e479 Restore behavior of reusing focused window for opened files 2015-02-12 21:18:20 -08:00
Max Brunsfeld
29662efe7c Don't re-use dev windows for non-dev or vise-versa 2015-02-12 21:18:20 -08:00
Max Brunsfeld
f7e1629cfc Set multiple project paths for multiple cmd-line paths
Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 21:18:18 -08:00
Max Brunsfeld
c732ae8774 Add atom.pickFolder
For showing the native file-picker dialog. The tree-view
will use this to add new root folders

Signed-off-by: Jessica Lord <jlord@github.com>
2015-02-12 20:37:35 -08:00
Kevin Sawicki
3f246035da Remove semicolon 2015-02-12 14:22:45 -08:00
Kevin Sawicki
a5f40e2e7f Call setCacheDirectory on CoffeeCache 2015-02-12 14:22:45 -08:00
Kevin Sawicki
da3b1a4881 Add root cache check in browser process 2015-02-12 14:22:44 -08:00
Kevin Sawicki
0738d456b5 Use coffee-cash module 2015-02-12 14:22:44 -08:00
Kevin Sawicki
baf6795195 Use ATOM_HOME env var in protocol handler
Closes #5501
2015-02-11 12:20:24 -08:00
Max Brunsfeld
ef9ae8e7d7 Merge pull request #5404 from atom/mb-integration-test
Add integration test to cover browser-side code
2015-02-09 13:11:53 -08:00
Kevin Sawicki
04d015a7e0 Use app.getHomeDir 2015-02-05 11:39:58 -08:00
Kevin Sawicki
c5b6b90c88 Normalize opened paths to handle ~
Closes #3829
2015-02-04 16:39:25 -08:00
Kevin Sawicki
9618ec45cf Remove unused require 2015-02-04 15:35:41 -08:00
Max Brunsfeld
495caa7316 🎨 Rename DEFAULT_SOCKET_PATH -> DefaultSocketPath 2015-02-04 13:12:41 -08:00
Max Brunsfeld
ab43b08739 Add hidden --socket-path flag
This will allow integration tests to control which atom application
instance they use when creating atom windows
2015-02-04 11:47:29 -08:00
Kevin Sawicki
a985942b16 Use realpath to maintain old behavior 2015-02-04 10:52:32 -08:00
Kevin Sawicki
71333bbc93 Remove custom Windows behavior 2015-02-04 10:42:13 -08:00
Kevin Sawicki
622b396111 Guard against no LOCALAPPDATA env var 2015-02-04 10:35:57 -08:00
Kevin Sawicki
0f2943989f 📝 Fix comment typos 2015-02-04 10:35:57 -08:00
Kevin Sawicki
63e618cf74 Add missing rootAtomFolder var 2015-02-04 10:35:57 -08:00
Kevin Sawicki
76f37277d9 Use sibling .atom when non-standard installer location 2015-02-04 10:35:57 -08:00
Kevin Sawicki
745e9c8284 📝 Default -> Defaults 2015-02-04 10:35:57 -08:00
Kevin Sawicki
456e511031 📝 Doc ATOM_HOME 2015-02-04 10:35:57 -08:00
Kevin Sawicki
a127240f4f Use ATOM_HOME as config dir path 2015-02-04 10:35:56 -08:00
Kevin Sawicki
f330e207b4 Set ATOM_HOME env var at startup 2015-02-04 10:35:56 -08:00
Kevin Sawicki
a4976c32ae Remove release notes from event payload
The release notes are provided by Squirrel on Mac but not by Squirrel for
Windows and the release notes package pulls them down manually anyway
so this field is no longer needed.

Checking for the presence of the release notes previously was preventing the
event from firing on Windows which would cause old release notes to show in
the package.

Closes #3757
2015-02-03 14:57:33 -08:00
Kevin Sawicki
312e4e0e8a Be graceful about pathsToOpen string value
Gently convert it to an array of strings before opening

Closes #5340
2015-02-02 18:17:15 -08:00
Kevin Sawicki
3ca5495690 Merge pull request #5279 from paulcbetts/patch-1
Enable DirectWrite
2015-01-28 16:11:15 -08:00
Cheng Zhao
87c2f4496f 🐧 Set window icon, fixes #5281 2015-01-27 20:34:36 -08:00
Paul Betts
a743e8d058 Enable DirectWrite
Chrome 39 proper now has DirectWrite as the default renderer, which makes a huge difference in text clarity, especially on High DPI monitors.
2015-01-27 14:38:50 -08:00
Cheng Zhao
05aaace387 Do not set window icon, fixes #4811 2015-01-26 11:28:00 -08:00
Kevin Sawicki
a9d215970f Remove fs patches that are now fixed in Atom Shell 2015-01-21 10:39:08 -08:00
Kevin Sawicki
47b1d3e90f Use new apm.cmd path 2015-01-21 09:07:26 -08:00