Kevin Sawicki
5bf0e53c01
Shorten apm paths on Windows
2015-01-21 09:07:26 -08:00
Ben Ogle
db49d4da31
Merge pull request #5157 from postcasio/da-handle-erofs
...
Handle EROFS errors when saving
2015-01-20 15:39:19 -08:00
postcasio
867f920329
Handle EROFS errors when saving
2015-01-20 09:56:00 +00:00
Scott Fleckenstein
d263205a9a
📝 Fix typo in addOpener doc
2015-01-16 18:39:54 -08:00
Max Brunsfeld
96d4c1c41b
Save config when deprerecated Config::set signature is used
2015-01-16 12:24:32 -08:00
Ben Ogle
bac10d60c4
Merge pull request #5114 from atom/bo-readonly
...
Allow opening of readonly files
2015-01-16 11:41:30 -08:00
Ben Ogle
828b841f17
Roll two whens into one
2015-01-16 11:24:24 -08:00
Ben Ogle
11bda1b47a
Add error handling for EBUSY as well
2015-01-16 11:07:32 -08:00
Ben Ogle
2577843e51
Explicitly check if the path to be deserialized is a dir
2015-01-16 10:53:35 -08:00
Ben Ogle
93f109fbba
Add a better message for EPERM errors.
2015-01-16 10:45:48 -08:00
Ben Ogle
97a55ba8c0
Only check read permission on read
2015-01-16 10:24:19 -08:00
Max Brunsfeld
0a59d13d56
Fix Config::unset with no scope-selector
...
Closes #5095
2015-01-16 10:23:12 -08:00
Kevin Sawicki
b6b90c0270
💄
2015-01-16 09:33:42 -08:00
Kevin Sawicki
d736ebff38
Don't deserialize buffers with inaccessible paths
2015-01-16 09:33:42 -08:00
Kevin Sawicki
0cf180804c
💄
2015-01-16 09:33:42 -08:00
Kevin Sawicki
c0c5f46097
📝 Tweak catch comment
2015-01-16 09:33:42 -08:00
Kevin Sawicki
6ad8aa7e5c
Ignore buffer errors when the path is a directory
...
This would previously cause Atom to fail to launch if a buffer's
serialized path was now a directory on launch.
2015-01-16 09:33:42 -08:00
Kevin Sawicki
97d697f195
Guard against no cwd when resolving
...
Refs #5074
2015-01-15 17:02:23 -08:00
Kevin Sawicki
57d020ff65
Ensure resolving paths to open uses strings
...
Refs #5074
2015-01-15 16:58:08 -08:00
Kevin Sawicki
a6a9a9e94b
Use skinny arrow to remove lint warning
2015-01-15 09:53:47 -08:00
Nathan Sobo
c69f4baa04
Merge pull request #5068 from atom/ns-line-number-decorations
...
Rename 'gutter' decorations to 'line-number'
2015-01-14 20:04:02 -07:00
Nathan Sobo
5a4cf01083
Move getFirst/LastVisibleScreenRow to the view
2015-01-14 20:02:49 -07:00
Nathan Sobo
542ed631e8
Emit deprecation warnings for decorations of type ‘gutter’
2015-01-14 19:49:46 -07:00
Nathan Sobo
8c574bfd30
Rename 'gutter' decorations to 'line-number' decorations
2015-01-14 19:49:46 -07:00
Nathan Sobo
94cee03335
Provide package name for styles metadata deprecations
2015-01-14 18:48:26 -07:00
Ben Ogle
5cb18fc7e5
this. -> @
2015-01-14 16:15:54 -08:00
Ben Ogle
274ae6cd57
Use buffer.getPath not @getPath in project
...
😬
2015-01-14 16:15:53 -08:00
Ben Ogle
4ba7182bbf
💄 Inline fileName cause it's used once
2015-01-14 16:15:53 -08:00
Ben Ogle
3dc908c5ff
Use eventType from pathwatcher's watch errors in messages
2015-01-14 16:15:53 -08:00
Ben Ogle
e51e859631
Clean up error messages for keymap.cson
...
Use the computed path as well
2015-01-14 16:15:53 -08:00
Ben Ogle
6211f7330f
Use path name in config error messsages
2015-01-14 16:15:53 -08:00
Ben Ogle
62eac3f8a5
Fix error string when there is a user config error
2015-01-14 16:15:53 -08:00
Ben Ogle
ba40706265
Add a notification when the init script can’t be loaded
2015-01-14 16:15:53 -08:00
Ben Ogle
4be793f465
Post notifications when the user’s sheet cannot be loaded / parsed
2015-01-14 16:15:53 -08:00
Ben Ogle
3454249b58
Allow ENOENT errors in project.open
2015-01-14 16:15:52 -08:00
Ben Ogle
9bb6a18d41
Support empty paths
2015-01-14 16:15:52 -08:00
Ben Ogle
85844f03f7
Display better error on unable to watch keycap.cson
2015-01-14 16:15:52 -08:00
Ben Ogle
4b8e98af0c
Display a better message when there are config watch errors on startup
2015-01-14 16:15:52 -08:00
Ben Ogle
4af007dce3
💄
2015-01-14 16:15:52 -08:00
Ben Ogle
1e7da34346
Use code rather than name for custom error
2015-01-14 16:15:52 -08:00
Ben Ogle
b8efbedee1
Create a warning notification when buffer has a watch error
2015-01-14 16:15:52 -08:00
Ben Ogle
d5e04e883e
Use the error.code and path in the error
2015-01-14 16:15:52 -08:00
Ben Ogle
2f3ce50875
Add large file issue link to large file error
2015-01-14 16:15:51 -08:00
Ben Ogle
c20d3a8182
Throw an error when the error is unhandled
2015-01-14 16:15:51 -08:00
Ben Ogle
ca1f66d197
Post a notification when the user cannot access a file
2015-01-14 16:15:51 -08:00
Ben Ogle
11d4222c9f
Handle error when opening a file that doesn’t exist
2015-01-14 16:15:51 -08:00
Ben Ogle
bc454f14e0
Add a warning notification for oversize file open
2015-01-14 16:15:51 -08:00
Adrian Lee
63ad6b1a66
Fix getOriginUrl calling itself
2015-01-14 15:44:59 -08:00
Russell Lescai
c538857cfa
Removed unnecessary braces.
2015-01-15 08:57:25 +10:30
Nathan Sobo
e60a9e45f7
Display package name correctly for ::getUri deprecation warnings
...
We capture the package name during the call to ::addOpener and use it
if any open items have the deprecated ::getUri method.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-01-14 14:23:17 -07:00