5746 Commits

Author SHA1 Message Date
Antonio Scandurra
d46fea9d10 Emit did-insert-text on pasteText() 2015-07-28 10:38:11 +02:00
Antonio Scandurra
b00c148de8 Merge pull request #8098 from atom/as-tiles-z-index
Render tiles upper in the stack in front of the ones below
2015-07-28 10:13:20 +02:00
Kevin Sawicki
6e59763b7a Spy on theme activation to prevent watcher leak
Closes #8012
2015-07-27 15:37:01 -07:00
Ben Ogle
02ad3fe298 Merge pull request #8094 from smashwilson/overlay-class
Specify class attributes directly for overlay nodes
2015-07-27 15:36:42 -07:00
Nathan Sobo
f659bc20a2 Fix occasional spec flakiness on travis 2015-07-27 15:14:07 -06:00
Antonio Scandurra
e374425d7a Render tiles upper in the stack in front of the ones below 2015-07-27 20:16:36 +02:00
Nathan Sobo
2d25301ea0 Destroy folds when DisplayBuffer is destroyed
Fixes #4562
2015-07-27 12:04:46 -06:00
Max Brunsfeld
886c51aed1 Fix flaky project spec caused by async service hub 2015-07-27 10:16:11 -07:00
Max Brunsfeld
48e37730e5 Fix use of deprecated atom-keymap method 2015-07-27 09:59:14 -07:00
Ash Wilson
0b1a303d5b Spec for overlay element class. 2015-07-27 10:52:45 -04:00
George Ogata
45694dcda0 Fire event before a pane is destroyed. 2015-07-23 18:47:38 -04:00
Max Brunsfeld
a28882fff9 Merge pull request #8051 from atom/mb-upgrade-service-hub-again
Upgrade service hub again
2015-07-23 13:15:52 -07:00
Nathan Sobo
731d6a27f4 Merge pull request #8009 from atom/jl-ns-battery-life
Change Document Polling from Time Interval to Event
2015-07-23 13:06:02 -06:00
Max Brunsfeld
e5083b621f Merge pull request #8048 from svanharmelen/b-fix-indentation
Fix indentation for languages without indent pattern
2015-07-23 12:00:28 -07:00
Max Brunsfeld
d9aa95fb11 Fix specs to deal w/ async ServiceHub::consume 2015-07-23 11:31:09 -07:00
Nathan Sobo
c18db48f54 Fix specs 2015-07-23 12:03:20 -06:00
Nathan Sobo
92f1a800e2 Unfocus spec 2015-07-23 12:03:11 -06:00
Sander van Harmelen
df1b193eba Add a test for the indent fix 2015-07-23 19:23:03 +02:00
Nathan Sobo
2869d66de0 Trigger polling in spec via window resize instead of advancing clock 2015-07-23 10:51:11 -06:00
Jessica Lord
96874d68d8 Run polling functions when windows resizes 2015-07-23 10:51:11 -06:00
Jessica Lord
fb7304a3d7 Remove event listeners after each test 2015-07-23 10:51:10 -06:00
Jessica Lord
39749ac70a Remove unused spy for intervals 2015-07-23 10:51:10 -06:00
Jessica Lord
2f11b86a34 Ensure document polling functions run when stylesheets change 2015-07-23 10:51:10 -06:00
Jessica Lord
3715e05bed Change spec to test on DOM mutation rather than interval 2015-07-23 10:51:10 -06:00
Max Brunsfeld
a60f330628 Default maintainHistory marker option to false 2015-07-21 13:27:05 -07:00
Nathan Sobo
375211b278 Merge pull request #7859 from dsandstrom/update-subword-regex
Update subword regex
2015-07-17 14:11:41 -07:00
Max Brunsfeld
b24258056d Merge pull request #7858 from svanharmelen/b-fix-indenting
Fix indentation when pasting lines
2015-07-17 09:46:47 -07:00
Darrell Sandstrom
ecf68903af Add non-English characters to subword regex
Fixes #7656
2015-07-12 17:20:46 -07:00
Darrell Sandstrom
c02df26fa7 Add underscore to subword regex
Fixes #7658
2015-07-12 17:03:53 -07:00
Sander van Harmelen
e7de136a27 Small tweaks after review 2015-07-13 00:58:03 +02:00
Sander van Harmelen
195b84a34a Fix indentation when pasting lines
The fix to ignore invisibles () introduces a new bug when pasting lines
from the clipboard (see screencast below).

As the commit takes the content of `@buffer.lineFromRow(bufferRow)` to
test against the `decreaseIndentRegex`, it will actually test the
content of the row the cursor is on instead of the content that is
being pasted. And this (of course) could cause unexpected indentations.
2015-07-12 23:57:13 +02: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
Max Brunsfeld
c60c00f626 Ignore NaN coordinates passed to workspace.open 2015-07-08 16:50:17 -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
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
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
Kevin Sawicki
a6dfbb2804 Remove string detail check
This appears to be in use by other packages

Refs atom/notifications#50
2015-07-07 13:46:53 -07:00
Kevin Sawicki
93069fad75 Add stricter object checking 2015-07-07 13:46:53 -07:00
Kevin Sawicki
24a56e974b Add specs for message, options, and detail 2015-07-07 13:46:52 -07:00
Kevin Sawicki
b371b2f0c9 Guard against missing stdout/stderr 2015-07-07 09:50:07 -07:00
Kevin Sawicki
f4284b91ea Add failing spec for missing stdout/stderr 2015-07-07 09:50:07 -07:00
Max Brunsfeld
1761f19efb Merge pull request #7748 from atom/mb-emit-will-insert-text-on-paste
Emit will-insert-text event when pasting
2015-07-07 09:14:07 -07:00
Antonio Scandurra
4e4b49eef8 🐛 updateContentDimensions when model changes 2015-07-07 11:28:30 +02:00
Max Brunsfeld
8c3400c084 Emit will-insert-text event when pasting 2015-07-06 18:29:44 -07:00
Ben Ogle
5d42b27f5f Merge pull request #7411 from deprint/multiline-mini-editor
Mini editor with TextEditor::setMini
2015-07-06 13:56:20 -07:00
Nathan Sobo
a3308ef04d Clear notifications between specs 2015-07-01 16:35:59 -05:00
Nathan Sobo
550efc8397 Merge pull request #7633 from atom/ns-pane-items-must-be-objects
Throw an exception when adding a non-object pane item
2015-07-01 14:09:14 -05:00
Nathan Sobo
8348b2c039 Throw exception when adding a non-object pane item 2015-07-01 13:29:13 -05:00
Fabian Stiewitz
eca4ed170e Add specs for TextEditor::setMini in TextEditorElement 2015-07-01 12:36:10 +02:00
Nathan Sobo
df6ef94b60 🎨 add spaces after commas 2015-06-30 23:03:55 -05:00