Commit Graph

31381 Commits

Author SHA1 Message Date
Max Brunsfeld
76538fc43a Merge pull request #13977 from atom/fb-mdt-docks
Docks
2017-03-30 13:16:26 -07:00
Max Brunsfeld
817467f0a8 Merge branch 'master' into fb-mdt-docks 2017-03-30 11:16:21 -07:00
Max Brunsfeld
3e033250c8 ⬆️ deprecation-cop 2017-03-30 11:15:32 -07:00
Antonio Scandurra
93766bb256 ⬆️ temp 2017-03-30 15:28:06 +02:00
Antonio Scandurra
97c79ea596 Merge pull request #14096 from atom/as-exclude-minimatch-from-snapshot
Don't snapshot minimatch and fix package transpilation registry on win32
2017-03-30 11:15:16 +02:00
Antonio Scandurra
500cefb8d5 Don't snapshot minimatch and fix package transpilation registry on win32
This module uses Node's `path` for determinining which path separator to
use on the current platform. On browsers (and every other environment
that does not support `require`, such as v8 snapshots) it falls back to
always using a forward slash.

As a result, `PackageTranspilationRegistry` (and potentially other
bundled packages that depend on `minimatch`) couldn't match glob
expressions against any given path on Windows, thus causing the custom
transpiler code to not work properly.
2017-03-30 10:32:44 +02:00
Lee Dohm
6a76ef5dd6 Merge pull request #13764 from atom/wl-dont-soft-wrap-minis
Disable soft wrap on mini editors
2017-03-29 14:38:47 -07:00
Nathan Sobo
c7a4755808 If Workspace.open finds existing item, yield event loop
This ensures that the function always behaves asynchronously regardless
of the state of the workspace.

/cc @maxbrunsfeld

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2017-03-29 09:27:21 -06:00
simurai
5b6cca41ed ⬆️ tabs@v0.104.6 2017-03-29 12:09:29 +09:00
Nathan Sobo
45bd466384 Don’t add item in Workspace.open if activateItem is false
We thought it was a bug that activateItem: false caused the
item not to be added, but it turned out there were package
tests that depended on this behavior.

Ideally, we should have an addItem option that exhibits this
behavior instead.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2017-03-28 15:00:13 -06:00
Matthew Dapena-Tretter
08e8975a10 Always show the dock when an item is dropped into it
Previously, we were only showing it when going from 0 -> 1 items (which
is a bug).
2017-03-27 18:17:02 -07:00
Matthew Dapena-Tretter
3b23ab44bc Add getLocation() to PaneContainer class
This allows the location to be inspected without having to jump to the
DOM and searching for a dock element.
2017-03-27 17:45:21 -07:00
Matthew Dapena-Tretter
401a549bf5 Don't open items in disallowed locations 2017-03-27 17:45:21 -07:00
Matthew Dapena-Tretter
41953ae7d6 Only show dock toggle buttons when dragging if item is allowed 2017-03-27 17:45:15 -07:00
Matthew Dapena-Tretter
f3c3917825 Don't show the dock toggle button if it's closed and empty 2017-03-27 14:20:47 -07:00
Matthew Dapena-Tretter
13f0c8a977 Docks: define handle size in CSS; measure in JS 2017-03-27 12:19:08 -07:00
Michelle Tilley
9d5d09f348 ⬆️ tree-view@0.216.0 2017-03-27 11:40:20 -07:00
Michelle Tilley
1ff5c9e684 Merge pull request #13963 from atom/ku-mkt-restore-atom-env-when-adding-folder-to-fresh-window
Restore atom environment when adding project folders to a fresh window
2017-03-27 10:56:37 -07:00
Matthew Dapena-Tretter
d691c3e5aa Docks: Don't change inherited presentation styles 2017-03-27 10:48:27 -07:00
Wliu
c844d0f099 Merge pull request #14065 from akkatracker/patch-1
Fix typo in comments of text-editor-registry.js
2017-03-26 16:14:10 -04:00
Matthew Brener
11c06d44b8 Fix typo in comments of text-editor-registry.js 2017-03-26 19:46:43 +11:00
Max Brunsfeld
bc872143cc Avoid duplicate search for pane container in Workspace.open 2017-03-24 15:49:35 -07:00
Max Brunsfeld
4082b67fb0 Refactor Workspace.open
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-03-24 15:35:52 -07:00
Max Brunsfeld
93ba6109fa Create Dock element lazily to be compatible w/ snapshotting 2017-03-24 15:29:46 -07:00
Max Brunsfeld
51b40edebd ⬆️ packages to fix test failures 2017-03-24 12:02:49 -07:00
Antonio Scandurra
b43253f3e1 ⬆️ packages with unnecessary deferred requires 2017-03-24 15:26:39 +01:00
Antonio Scandurra
a9a2409ff7 Revert "Revert "⬆️ all packages that use atom-select-list""
This reverts commit ad27034f5d.
2017-03-24 14:55:04 +01:00
Michelle Tilley
42fb2cc55f Convert more tests to use emitterEventPromise 2017-03-24 00:32:15 -07:00
Michelle Tilley
ae64b35dca We need more time 2017-03-23 23:58:27 -07:00
Michelle Tilley
1651f0fd76 👕 2017-03-23 23:57:53 -07:00
Michelle Tilley
67a9e19bf9 Oh we can put this back now 2017-03-23 23:48:19 -07:00
Michelle Tilley
f657bd13c6 👕 2017-03-23 23:44:38 -07:00
Michelle Tilley
2ee692d3cf Fix up helpers 2017-03-23 23:44:27 -07:00
Michelle Tilley
3ab08754db These should probably be here 2017-03-23 23:42:55 -07:00
Michelle Tilley
132f199fae Fix main process test race conditions 2017-03-23 23:37:18 -07:00
Michelle Tilley
6b92bd041a Add emitterEventPromise helper 2017-03-23 23:37:06 -07:00
Michelle Tilley
cc2cbfbb0a Emit event from AtomWindow when locations are loaded 2017-03-23 23:36:53 -07:00
Michelle Tilley
3c47b775d2 Let's make that async pls 2017-03-23 21:28:12 -07:00
Matthew Dapena-Tretter
52606171bf Add "location" param to open() 2017-03-23 18:50:40 -07:00
Matthew Dapena-Tretter
d9e1fcc70b Merge branch 'master' into HEAD
* master: (43 commits)
  If one arch fails, kill the other for perf on appveyor
  ⬆️ dalek@0.2.1
  Revert "⬆️ all packages that use atom-select-list"
  ⬆️ atom-keymap
  ⬆️ status-bar
  ⬆️ all packages that use atom-select-list
  ⬆️ language-ruby@0.71.0
  ⬆️ autocomplete-css@0.16.1
  Ensure `packagesCache` exists before accessing it
  🎨
  ⬆️ less-cache
  Use `core/` instead of `<embedded>` for keymaps loaded during snapshot
  Set also defaultSettings.core.projectHome when initializing Config
  Fix tests
  ⬆️ atom-keymap
  Replace CommandRegistry.addBundled with a boolean param in .add
  Delete unused build scripts
  🔥 Remove parserlib
  Resolve style sheets paths during `script/build` for bundled packages
  Don't use cached less sources and imported files in dev mode
  ...
2017-03-23 18:47:46 -07:00
Damien Guard
ce51074e6f If one arch fails, kill the other for perf on appveyor 2017-03-23 17:57:18 -07:00
Michelle Tilley
0f6489e347 Use test-until for more flexible test timeout 2017-03-23 16:51:59 -07:00
Michelle Tilley
648055c5a9 Just to be sure, let's use a longer timeout 2017-03-23 16:29:01 -07:00
Michelle Tilley
ed2c399997 Fix main process tests 2017-03-23 16:19:11 -07:00
Lee Dohm
842b3f0f3c ⬆️ dalek@0.2.1 2017-03-23 14:37:32 -07:00
Wliu
ad27034f5d Revert "⬆️ all packages that use atom-select-list"
This reverts commit 363253522f.
2017-03-23 17:12:20 -04:00
bene
bfce347578 ⬆️ atom-keymap 2017-03-23 19:51:52 +01:00
Matthew Dapena-Tretter
77ea97e623 Use async/await in openItem() 2017-03-23 11:43:06 -07:00
Matthew Dapena-Tretter
3e826591fd Clean up storage of most recent location 2017-03-23 11:28:40 -07:00
Matthew Dapena-Tretter
791457d9a7 Add remaining pane container methods and documentation to docks 2017-03-23 11:24:41 -07:00