Commit Graph

5758 Commits

Author SHA1 Message Date
Max Brunsfeld
5d15a3784f Merge pull request #8130 from tmunro/master
Add support for activating and deactivating package-specific keymaps
2015-07-29 20:18:13 -07:00
Nathan Sobo
ef9e466540 Merge pull request #8141 from atom/ns-fix-selections-stuck-in-reverse
Fix bug where word- and line-wise selections got stuck in reversed state
2015-07-29 13:29:39 -06:00
Ben Ogle
f798fe2600 Merge pull request #8126 from atom/bo-fix-process-leak
Fix process leak
2015-07-29 11:59:56 -07:00
Tom Munro
b57d2e1dd0 Move disabledKeymaps observer into package manager 2015-07-29 11:59:32 -07:00
Ben Ogle
591db01067 Spy on Task::terminate instead of passing an obj through 2015-07-29 11:48:49 -07:00
Nathan Sobo
12dc045329 Fix bug where word- and line-wise selections got stuck in reversed state 2015-07-29 11:49:14 -06:00
Tom Munro
90ec8df3e6 Change spec to test disabling and enabling keymaps after activation 2015-07-29 09:28:37 -07:00
Tom Munro
b6b81fc2ed Remove extra newlines 2015-07-29 09:08:04 -07:00
Tom Munro
b9c12857fb Add support for activating and deactivating package-specific keymaps 2015-07-28 22:27:10 -07:00
Ben Ogle
f77fe8acab 🎨 Remove log line 2015-07-28 17:37:50 -07:00
Ben Ogle
16707f28f1 Add DefaultDirectorySearcher spec 2015-07-28 17:34:29 -07:00
Nathan Sobo
d1dec4e0cf Don’t autoscroll to selection when double- or triple-click dragging 2015-07-28 16:16:34 -06:00
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