Cheng Zhao
901ba72557
Show the open dialog as child window on Windows and Linux.
...
On Mac the open dialog is still showed as independent dialog, this matches
most native apps' behavior.
Fixes #3401 .
2014-09-12 21:43:01 +08:00
Kevin Sawicki
61166bf365
Don't track focus for spec windows
2014-09-10 11:14:08 -07:00
Nathan Sobo
5afceb3951
Merge remote-tracking branch 'origin/master' into atom-shell-v0.16.0
...
Conflicts:
apm/package.json
2014-09-09 12:05:54 -06:00
Cheng Zhao
3e10f491b4
Disable subpixel font scaling.
2014-09-09 21:54:32 +08:00
Kevin Sawicki
42f3605465
finish-launching -> ready
2014-09-08 09:22:46 -07:00
Kevin Sawicki
e7e4196fa6
Use fs.statSyncNoException
2014-09-08 09:22:45 -07:00
Kevin Sawicki
68801aacdb
Don't require shell until it is used
2014-09-08 09:22:45 -07:00
Kevin Sawicki
13956edfb5
Always assign to autoUpdater
2014-09-08 09:22:45 -07:00
Kevin Sawicki
3a7564b59e
Start auto updater on the next tick
...
This prevents it from adding time to first window startup
2014-09-08 09:22:45 -07:00
Kevin Sawicki
4e0928600f
💄
2014-09-08 09:22:45 -07:00
Kevin Sawicki
417134c799
Require dialog when used
2014-09-08 09:22:45 -07:00
Kevin Sawicki
b2638c8bad
💄
2014-09-08 09:22:45 -07:00
Kevin Sawicki
27bf096fbc
Remove require that is now inlined where used
2014-09-08 09:22:44 -07:00
Kevin Sawicki
4fa6f631a9
Defer ContextMenu require until requested
2014-09-08 09:22:44 -07:00
Kevin Sawicki
6e7968861d
Use fs instead of fs-plus
...
Since only an is file check is performed fs is sufficient
2014-09-08 09:22:44 -07:00
Kevin Sawicki
fc59d9c503
Require https on a next tick
...
This require is heavy in node for some reason so only
require it on Windows since it is only used there and only
after a next tick so that it doesn't affect startup
2014-09-08 09:22:44 -07:00
Kevin Sawicki
163b52efb0
CoffeeScript.compile returns a string
2014-09-08 09:22:44 -07:00
Kevin Sawicki
d4ed8a0b73
Defer requiring CoffeeScript
...
Requiring it up front adds about 30-40ms to startup.
2014-09-08 09:22:44 -07:00
Kevin Sawicki
b5dfaff426
Remove unused requires from main.coffee
2014-09-08 09:22:43 -07:00
Kevin Sawicki
78f7ff6ee7
Focus existing window after opening path
2014-08-29 09:10:12 -07:00
Kevin Sawicki
32353a31eb
Only restore window when it is minimized
...
Restoring a maximized windows on Windows unmaximizes it.
Closes #3381
2014-08-26 09:55:22 -07:00
Kevin Sawicki
fb53f85573
Rename topWindow to lastFocusedWindow
2014-08-25 09:21:27 -07:00
Kevin Sawicki
a853a27857
Open folder in current untitled window
...
Untitled windows will now have their project path set when a folder
is opened.
2014-08-25 09:21:27 -07:00
Kevin Sawicki
154fe4006f
📝 Doc file/folder path behavior in usage message
2014-08-25 09:21:27 -07:00
Kevin Sawicki
17feb91876
📝 Move comment above isFile check
2014-08-25 09:21:27 -07:00
Kevin Sawicki
5bdf8a14a7
Use once for closed event
2014-08-25 09:21:27 -07:00
Kevin Sawicki
1196e5a264
📝 Doc dev mode case
2014-08-25 09:21:27 -07:00
Kevin Sawicki
a4ae314b00
💄
2014-08-25 09:21:27 -07:00
Kevin Sawicki
c9390b61de
Track AtomWindow from ipc open event
...
This ensures the window where the file is dropped is used to open
that file into even when that window does not have focus.
2014-08-25 09:21:27 -07:00
Kevin Sawicki
2811663177
Open file paths in focused window
2014-08-25 09:21:26 -07:00
Desmond Brand
6b5d16173b
💄 more lint rules
2014-08-15 15:55:22 -07:00
Desmond Brand
590bfa0c86
💄 Tighten lint rules
...
coffeelint.json had some rules set to ignore, but since #3116 was merged there
are no violations of these rules in the code anymore. Tighten up the rules to
prevent those kinds of errors from creeping back in.
Test Plan:
Lint executes without finding any errors
```
$ ./script/grunt coffeelint
Running "coffeelint:src" (coffeelint) task
>> 80 files lint free.
Running "coffeelint:build" (coffeelint) task
>> 23 files lint free.
Running "coffeelint:test" (coffeelint) task
>> 40 files lint free.
Done, without errors.
```
2014-08-15 15:34:33 -07:00
Ben Ogle
c989557b5e
Run benchmarks passes specDir
2014-08-15 14:13:03 -07:00
Kevin Sawicki
c0a845bc56
Don't run ~/.atom/packages specs when in safe mode
...
Closes #3215
2014-08-12 17:49:33 -07:00
Marc Bachmann
9ae007a6d7
Remove duplicate addUrlToOpen() in browser/main.coffee
...
I don't think that this was the desired behaviour.
I do not know if that caused a bug.
2014-07-26 10:54:15 +02:00
Kevin Sawicki
0357872558
Use repository URL in crashed message
...
Now that the repository is public, issues there are better than
emailing the help address.
2014-07-15 06:25:53 -07:00
probablycorey
436d7de817
Send empty event arg
2014-07-08 11:46:04 -07:00
probablycorey
a9feed2e4a
Maintain autoUpdater listeners even if the version is in dev mode.
...
This is so we can test the auto-updater
2014-07-08 11:41:41 -07:00
probablycorey
832aeffd4f
Add basic updater spec
2014-07-08 11:12:28 -07:00
probablycorey
44e121c997
Add autoUpdater shim for Windows
2014-07-07 17:07:42 -07:00
Kevin Sawicki
68964f1ca1
🏁 Don't crash when closing spec window
...
Focusing the window during the blur event that fires when the
window is closed currently crashes the app on Windows.
Closes #2485
2014-06-04 14:33:39 -07:00
Kevin Sawicki
c1ebbf36be
Add missing l to global
2014-06-04 09:52:20 -07:00
Kevin Sawicki
8717547db4
Normalize resource path in remaining locations
2014-06-04 09:45:27 -07:00
Kevin Sawicki
7c4a32fffa
Normalize resource path in AtomWindow constructor
2014-06-04 08:46:40 -07:00
Kevin Sawicki
b5703ff57a
Normalize resource path before creating app
...
This ensures the drive letter case is consistent with the format
used by require.
2014-06-03 17:40:08 -07:00
Corey Johnson
8ed3b7a250
Merge pull request #2134 from erikhakansson/AdvancedContextMenu
...
Advanced context menu
2014-06-03 10:13:37 -07:00
Kevin Sawicki
4d65a220e2
Add support for a ATOM_DEV_RESOURCE_PATH env var
...
This is helpful on windows to set a default dev resource path that
isn't ~/github/atom since on Windows it is common to clone Atom to C:\atom
2014-06-02 12:38:33 -07:00
Erik Håkansson
3c8bfb8bc8
Context menus can now handle different types and commands, as well as submenus
2014-05-24 23:52:08 +02:00
Kevin Sawicki
ac70bfc456
Don't parse line and column if path to open exists
...
This previously prevented file containing a colon from being open
from the command line.
Closes #2376
2014-05-23 15:32:55 -07:00
Cameron McEfee
7882ac60d8
Include Terms of Use in the help menu
2014-05-14 10:44:33 -07:00