Commit Graph

15504 Commits

Author SHA1 Message Date
Matthew Dapena-Tretter
a6424a795e Separate searching panes from creation 2017-03-18 15:32:00 -07:00
Matthew Dapena-Tretter
939ebb3ddf Add findRightmostSibling and findBottommostSibling methods 2017-03-18 15:32:00 -07:00
Matthew Dapena-Tretter
3ff830102f Serialize docks 2017-03-18 15:31:57 -07:00
Matthew Dapena-Tretter
bf39947eee Add Dock component 2017-03-18 15:31:51 -07:00
Antonio Scandurra
6722450b7e Merge pull request #14021 from atom/as-fix-snapshot-stack-traces
Use the generated snapshot source map in `source-map-support`
2017-03-17 18:05:42 +01:00
Antonio Scandurra
784d5043cf Set also defaultSettings.core.projectHome when initializing Config 2017-03-17 17:40:08 +01:00
Antonio Scandurra
934c377af6 Fix tests 2017-03-17 17:04:11 +01:00
Antonio Scandurra
d94c8811f3 Replace CommandRegistry.addBundled with a boolean param in .add 2017-03-17 16:19:25 +01:00
Antonio Scandurra
2f9a9ed657 Merge branch 'master' into as-snapshot-atom-environment 2017-03-17 15:25:10 +01:00
Antonio Scandurra
7534fbbeb7 Fix lint errors 2017-03-17 14:58:36 +01:00
Antonio Scandurra
ccbb276bf5 Bake source maps into the snapshot 2017-03-17 13:25:00 +01:00
Antonio Scandurra
0c8e515f9f Don't change on{Will,Did}ThrowError events parameter 2017-03-17 13:16:23 +01:00
Antonio Scandurra
bade347e01 Revert "Upgrade to Babel 6 and apply fewer transformations when transpiling babel files" 2017-03-17 12:40:38 +01:00
Antonio Scandurra
cbe60bd53d Use the generated snapshot source map in source-map-support
This will report the correct file and line numbers on stack traces
instead of always showing `<embedded>:absoluteLineNumber`. As a result,
it will also fix the `notifications` package, which will be able again
to identify which package threw an exception and to create an issue on
its repository.
2017-03-17 12:28:22 +01:00
Matthew Dapena-Tretter
7f5ad9a359 Add workspace center 2017-03-16 14:45:09 -07:00
Matthew Dapena-Tretter
62926e6b5b Don't mutate list during iteration
I saw a situation where this was calling `destroy()` on `undefined`—
presumably because destroying one caused the list to be mutated
elsewhere and the indexes to shift.
2017-03-16 14:45:09 -07:00
Antonio Scandurra
81af989f0d Merge branch 'master' into as-snapshot-atom-environment 2017-03-16 21:08:41 +01:00
Antonio Scandurra
ad6a5ac3bf Don't send did-resolve-proxy messages to destroyed windows
This should fix some main process test failures we are observing on
AppVeyor.
2017-03-16 15:58:54 +01:00
Antonio Scandurra
a8b885c4d5 Merge branch 'master' into as-ns-startup-snapshot 2017-03-16 10:52:34 +01:00
Antonio Scandurra
a1da6c9196 Resolve style sheets paths during script/build for bundled packages 2017-03-14 14:27:10 +01:00
Antonio Scandurra
b2ef8abf0a Don't use cached less sources and imported files in dev mode 2017-03-14 13:50:22 +01:00
Antonio Scandurra
684d8bd42c Provide importedFilePathsByRelativeImportPath to LessCache 2017-03-14 13:35:28 +01:00
Antonio Scandurra
dc76e2e144 Load base style sheets in AtomEnvironment again 2017-03-14 08:59:21 +01:00
Antonio Scandurra
abeedfe0c5 Skip deprecated selectors upgrade for base style sheets too 2017-03-14 08:58:31 +01:00
Ian Olsen
4ef9a0502f Merge pull request #11803 from lexicalunit/lexicalunit/replace-selected-text-tweak
Following replaceSelectedText(), update the selected text range accordingly.
2017-03-13 14:46:50 -07:00
Antonio Scandurra
0d29004723 Speed up FileSystemBlobStore.load by not storing invalidation keys
This was unneeded because we can simply compute the cache key by
concatenating the v8 version and the file's contents.
2017-03-13 19:11:53 +01:00
Antonio Scandurra
70177e5a4d Merge branch 'as-snapshot-atom-environment' into as-ns-optimize-stylesheets-loading
# Conflicts:
#	script/package.json
#	script/tdd
#	src/atom-environment.coffee
#	src/context-menu-manager.coffee
#	src/keymap-extensions.coffee
#	src/theme-manager.coffee
#	src/workspace-element.coffee
2017-03-13 08:32:12 +01:00
Antonio Scandurra
ea440148d8 Fix remaining tests 2017-03-12 11:57:16 +01:00
Antonio Scandurra
284f2c62e5 Start fixing tests 2017-03-11 19:05:28 +01:00
Antonio Scandurra
fbcbfc4889 Validate selectors only in devMode 2017-03-11 18:56:29 +01:00
Antonio Scandurra
8bd409ede3 Fix dev mode 2017-03-11 18:50:13 +01:00
Dirk Thomas
865294f3c8 pass through line count options 2017-03-10 10:37:50 -08:00
Max Brunsfeld
bb557d83a5 Merge pull request #13970 from atom/fb-mdt-refactor-open
Refactor open; separate creation and placement of items
2017-03-10 09:19:14 -08:00
Antonio Scandurra
05eb737a94 Set config schema entirely in the snapshot 2017-03-10 16:50:50 +01:00
Antonio Scandurra
f5a19a6904 Move StateStore into the snapshot 2017-03-10 16:50:50 +01:00
Antonio Scandurra
c4d0944c0d Snapshot more objects 2017-03-10 16:49:53 +01:00
Antonio Scandurra
c61df72548 Snapshot config, keymaps, tooltips, commands, grammars and styles 2017-03-10 16:48:00 +01:00
Antonio Scandurra
44e3573fcb Start moving AtomEnvironment instantiation bits inside the snapshot 2017-03-10 16:48:00 +01:00
Antonio Scandurra
4b98843fae Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 16:47:27 +01:00
Antonio Scandurra
69ea645b85 Fix lint errors 2017-03-10 16:31:20 +01:00
Antonio Scandurra
1e040c62d9 Add AtomEnvironment.prototype.resolveProxy(url)
This new private API will allow settings-view to communicate
asynchronously with the main process to resolve proxies, instead of
using `remote` and blocking the renderer process during startup.
2017-03-10 16:08:02 +01:00
Antonio Scandurra
e61919cd60 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 15:04:26 +01:00
Antonio Scandurra
11961b09ac Merge pull request #13949 from atom/as-minimize-startup-sync-io
Minimize synchronous I/O during startup
2017-03-10 15:00:30 +01:00
Antonio Scandurra
79e6a6ff3c 🔥 HistoryImporter 2017-03-10 14:45:34 +01:00
Antonio Scandurra
337ad58434 🔥 HistoryManager.prototype.importProjectHistory 2017-03-10 14:37:49 +01:00
Antonio Scandurra
7e761d39af Fall back to local storage when no history can be found 2017-03-10 14:37:37 +01:00
Antonio Scandurra
3d40f55747 Fix lint errors 2017-03-10 10:00:09 +01:00
Antonio Scandurra
73e8642b96 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 09:04:30 +01:00
Matthew Dapena-Tretter
e85ed1dc7f Refactor open; separate creation and placement of items
This is a refactoring that sets up the work for #13878 (docks).

Because items will be able to dictate their preferred locations, we
need to detangle the item creation from their placement.
2017-03-09 23:29:51 -08:00
Matthew Dapena-Tretter
4b3e2ccca4 Remove the buildTextEditor binding
The comment was actually no longer accurate since arrow functions
aren't newable. After doing an audit, @maxbrunsfeld determined that it
could just be removed.
2017-03-09 15:14:06 -08:00