Commit Graph

24419 Commits

Author SHA1 Message Date
Joe Fitzgerald
f954aa2732 Rename @hooks >> @ activationHookEmitter 2015-07-09 02:38:06 -04:00
Joe Fitzgerald
b3b046aa66 Add activationHooks To package.json
- Trigger the `{grammar-package-name}:grammar-used` hook when grammar is set for tokenized-buffer
2015-07-09 02:33:17 -04:00
Nathan Sobo
587e898867 Remove assertion since we call this with out of range rows legitimately 2015-07-09 00:28:46 -05:00
Nathan Sobo
de8d1d95d8 Add assertion about removing the last selection 2015-07-09 00:23:11 -05:00
Nathan Sobo
442e75853b Base textNodeLength on textNode.textContent.length
This is how we were computing the length previously. Not sure what the
difference is but I want to keep it the same.
2015-07-09 00:18:42 -05:00
Nathan Sobo
a352a2ca61 Try to avoid exceptions due to undefined lines in TokenizedBuffer 2015-07-09 00:13:06 -05:00
Nathan Sobo
1dd1770b1a Assert the liveness of editor model when attaching editor view 2015-07-09 00:13:05 -05:00
Kevin Sawicki
8bad01ca5b Guard against null item like saveItem/saveItemAs does 2015-07-08 21:11:49 -07:00
Ben Ogle
650ef16344 ⬆️ settings-view@0.211.1
Fix regression!!!
2015-07-08 18:09:06 -07:00
Kevin Sawicki
56a951ef66 ⬆️ tree-view@0.178 2015-07-08 17:28:52 -07:00
Daniel Hengeveld
b13ee1c9cb re-add Pane require 2015-07-08 17:21:39 -07:00
Max Brunsfeld
f6ce49dd67 Merge pull request #7808 from atom/mb-handle-nan-in-workspace-open
Ignore NaN coordinates passed to workspace.open
2015-07-08 17:17:55 -07:00
Daniel Hengeveld
afee699137 Move view registration for Pane & Gutter related views earlier
Registering them in pane-container led to packages deserializing
before e.g. Gutter was available.
2015-07-08 17:07:26 -07:00
Ben Ogle
d55428e8fe ⬆️ autocomplete-plus@2.18.1 2015-07-08 17:05:59 -07:00
Ben Ogle
b9207e92e8 ⬆️ autocomplete-plus@2.18.0 2015-07-08 17:01:46 -07:00
Max Brunsfeld
c60c00f626 Ignore NaN coordinates passed to workspace.open 2015-07-08 16:50:17 -07:00
Kevin Sawicki
2cf0632b9c Merge pull request #7802 from atom/ks-handle-more-save-errors
Handle more open/save error codes with custom notifications
2015-07-08 15:57:17 -07:00
Kevin Sawicki
22f7379f32 Handle UNKNOWN open errors 2015-07-08 15:40:43 -07:00
Kevin Sawicki
27a94b4d70 Handle ENOTCONN open errors 2015-07-08 15:40:42 -07:00
Kevin Sawicki
955749b320 Handle EIO open errors 2015-07-08 15:40:42 -07:00
Kevin Sawicki
de4cf38dcc Handle ENXIO open errors 2015-07-08 15:40:42 -07:00
Kevin Sawicki
770dc9821e paneItem -> item for consistency 2015-07-08 15:40:42 -07:00
Kevin Sawicki
8c9ecbaf03 Add custom notification for ESPIPE 2015-07-08 15:40:42 -07:00
Kevin Sawicki
485f4dc3a3 Add custom notification for EINTR 2015-07-08 15:40:42 -07:00
Kevin Sawicki
c3e73bdd26 Add custom notification for EIO 2015-07-08 15:40:42 -07:00
Kevin Sawicki
3e744b0714 Add custom notification for ENOTSUP 2015-07-08 15:40:42 -07:00
Kevin Sawicki
7d88f9ea66 Use item path when error has no path 2015-07-08 15:40:42 -07:00
Nathan Sobo
cac74b9567 Merge pull request #7804 from atom/ns-clip-position
Clip positions in TokenizedBuffer::scopeDescriptorForPosition
2015-07-08 17:36:07 -05:00
Kevin Sawicki
e290b949c8 Merge pull request #7797 from atom/code-of-conduct
Add code of conduct to contributing guidelines
2015-07-08 15:23:14 -07:00
Nathan Sobo
b953a11fa5 Clip positions in TokenizedBuffer::scopeDescriptorForPosition 2015-07-08 17:06:05 -05:00
Nathan Sobo
9c63de930e Merge pull request #7798 from atom/ns-undefined-screen-line-metadata
Report extra metadata when screen lines are undefined when clipping
2015-07-08 17:01:29 -05:00
Nathan Sobo
efb384ba3b ⬆️ exception-reporting 2015-07-08 16:31:14 -05:00
Kevin Sawicki
4222e3c7f2 Prepare 1.0.3 2015-07-08 14:30:12 -07:00
Kevin Sawicki
943259800b ⬆️ tree-view@0.177 2015-07-08 14:04:23 -07:00
Kevin Sawicki
453be0ea7c Mention code of conduct in README 2015-07-08 11:44:04 -07:00
Max Brunsfeld
17c5aea56c ⬆️ language-go 2015-07-08 11:41:01 -07:00
Max Brunsfeld
009a65c1f3 Merge pull request #6808 from svanharmelen/f-improve-indenting
Change hard coded restrictions to enable more correct indentions
2015-07-08 11:33:49 -07:00
Sander van Harmelen
eaf814e5be Improve auto indenting by removing a hard coded restriction and adding a 3rd regexp
Currently there are only two regexps that can influence the indents.
Those are `increaseIndentPattern` (which tells Atom the indent of next
line should be increased) and `decreaseIndentPattern` (which tells Atom
the indent of the current line should be decreased).

But I found that a couple of languages would need a 3rd regexp in order
to support their use cases. This 3rd regexp should be a mixture of the
existing two so it tells Atom that the indent of the next line should
decrease.

I’ll add a screencast to show a use case for this 3rd regexp which I
would like to call `decreaseNextIndentPattern`.
2015-07-08 20:30:21 +02:00
Nathan Sobo
3e7881f35f Report extra metadata when screen lines are undefined when clipping 2015-07-08 13:29:25 -05:00
Kevin Sawicki
1ebc8db123 Prepare 1.0.2 2015-07-08 11:09:28 -07:00
Nathan Sobo
a094142a45 Merge pull request #7778 from atom/ns-mb-suppress-line-measurement-exceptions
Suppress line measurement exceptions and gather data to solve them
2015-07-08 12:43:55 -05:00
Brandon Keepers
8a4b631dfe Add code of conduct to contributing guidelines 2015-07-08 13:31:06 -04:00
Kevin Sawicki
c636b4e73a ⬆️ language-php@0.27 2015-07-08 09:22:03 -07:00
Nathan Sobo
a13e002079 Use atom.getCurrentWindow() 2015-07-07 20:19:22 -05:00
Nathan Sobo
7b95ba0a08 ⬆️ exception-reporting
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-07-07 19:34:37 -05:00
Nathan Sobo
08fe81844c Guard against IndexSizeError when measuring lines
Refs #7464 #7465 #5997

This will ask the user for the content of the offending line, but only
once so as not to be annoying. Hopefully this and the other data we’re
collecting will help us solve the problem.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-07-07 19:33:21 -05:00
Nathan Sobo
54549f916a Change assertion API to pass error to callback
Don’t assume anything about metadata. Just give assertion callers access
to the error object.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-07-07 19:29:23 -05:00
Nathan Sobo
4091fa9e78 Merge pull request #7770 from atom/ns-only-forward-menu-action-on-osx
Handle native chromium undo, redo, cut, copy, paste, selectAll on all platforms
2015-07-07 19:26:04 -05:00
Kevin Sawicki
a6fdf12841 ⬆️ autosave@0.22 2015-07-07 17:12:09 -07:00
Nathan Sobo
a4d716c491 Call native method on WebContents instead of sendActionToFirstResponder
Fixes #6587
2015-07-07 16:34:35 -05:00