Commit Graph

14893 Commits

Author SHA1 Message Date
Antonio Scandurra
3147a2ce3d Fix wrong variable name causing style.width to be constantly re-assigned 2016-10-07 10:40:41 +02:00
Antonio Scandurra
8280fa9540 Rewrite LinesTileComponent in JavaScript 2016-10-07 10:40:41 +02:00
Antonio Scandurra
f8a89ed99a Add backward compatible classes to TextEditorComponent's root node 2016-10-07 10:40:41 +02:00
Antonio Scandurra
895dbdfce2 Add StyleManager.prototype.{onDidUpdateDeprecations,getDeprecations} 2016-10-07 10:40:41 +02:00
Antonio Scandurra
80fc448b8d Transform deprecated shadow DOM selectors in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
92a3c2f4b2 Use a more accurate list for deprecated-syntax-selectors.js 2016-10-07 10:40:41 +02:00
Antonio Scandurra
712e91b03c Convert StyleManager to JavaScript 2016-10-07 10:40:41 +02:00
Antonio Scandurra
ad39693719 🎨 2016-10-07 10:40:41 +02:00
Antonio Scandurra
93512ba174 Add deprecated syntax selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
2d553fae12 Return scopes prepended with --syntax from TokenizedBufferIterator 2016-10-07 10:40:41 +02:00
Antonio Scandurra
853130f581 Rewrite TokenizedBufferIterator in js 2016-10-07 10:40:41 +02:00
Antonio Scandurra
b71b412ede Transform deprecated shadow DOM selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
56a6510b25 Start on removing shadow DOM 2016-10-07 10:40:41 +02:00
Max Brunsfeld
26abbbd7cb Merge pull request #12883 from atom/mb-fix-maintain-grammar-return-value
Always return Disposable from maintain{Config,Grammar}
2016-10-05 12:49:02 -07:00
Max Brunsfeld
e6cac10a23 Always return Disposable from maintain{Config,Grammar} 2016-10-05 12:03:53 -07:00
Damien Guard
1a97f97a54 Specs runner dev tools should also be ctrl-shift-i on Linux/Windows 2016-10-04 15:26:24 -07:00
Indrek Ardel
fd1e060592 Use inline source maps for coffeescript 2016-09-30 15:03:04 +03:00
Max Brunsfeld
d79690e2d5 Merge pull request #12823 from atom/mb-as-guard-tab-length
Guard against null tab length value
2016-09-29 14:21:54 -07:00
Wliu
0e99232615 Merge pull request #12782 from Ingramz/remove-unused-variables-obvious
Remove unused variables (obvious ones)
2016-09-29 16:58:06 -04:00
Max Brunsfeld
28975fba81 Merge pull request #12780 from Ingramz/update-coffee-script
Update coffee-script to 1.11.0
2016-09-29 13:53:02 -07:00
Max Brunsfeld
814817ae4f Merge pull request #12824 from atom/mb-as-fix-window-method-calls-in-specs
Fix uses of `call-window-method` IPC channel in specs
2016-09-29 13:15:10 -07:00
Damien Guard
04b4c3ac9f Merge pull request #12821 from atom/dg-win-allow-multiple-user-instances
Allow Atom on Windows to run multiple instances e.g. on Windows server
2016-09-29 12:39:39 -07:00
Max Brunsfeld
51a2360a9b Fix uses of call-window-method IPC channel in specs 2016-09-29 12:13:24 -07:00
Damien Guard
8f7f812988 Merge pull request #10748 from atom/ld-glob-link
Add link to article on glob patterns
2016-09-29 12:10:51 -07:00
Max Brunsfeld
556d79b544 Guard against null tab length value
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-09-29 12:01:39 -07:00
Wliu
85cc4e1312 Merge pull request #12822 from philschatz/documentation-for-indentationForBufferRow
Fixes documentation for TextEditor::indentationForBufferRow()
2016-09-29 14:56:21 -04:00
Philip Schatz
a7d30abdcf 🐛 documentation for TextEditor::indentLevelForLine
[ci skip]
2016-09-29 14:47:29 -04:00
Philip Schatz
3d22829104 🐛 documentation for TextEditor::indentationForBufferRow() 2016-09-29 14:23:17 -04:00
Philip Schatz
72110ed40f fixup! 🐛 support variable terminal widths 2016-09-29 13:58:47 -04:00
Damien Guard
2cf2dcca57 Allow Atom on Windows to run multiple instances e.g. on Windows server/Citrix etc 2016-09-29 09:55:34 -07:00
Philip Schatz
7bbc0d12eb 🐛 support variable terminal widths 2016-09-27 14:25:45 -04:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Indrek Ardel
f7bd0d451f Update coffee-script to 1.11.0 2016-09-26 17:24:49 +03:00
Nathan Sobo
15a475889c Merge pull request #12762 from atom/ns-mb-minimize-main
Make main-process/main.js as minimal as possible
2016-09-23 09:41:40 -07:00
Max Brunsfeld
3a69e5bcb2 Merge pull request #12761 from atom/ns-mb-fix-dock-icon-click
Use app 'activate' event instead of defunct 'activate-with-no-open-windows'
2016-09-22 16:31:10 -07:00
Nathan Sobo
880e75ff18 Make main-process/main.js as minimal as possible
In order to test changes to main.js, we need to rebuild the application.
For this reason, it makes sense to do as little work as possible here.
In this commit, we change main to just determine the resourcePath, then
use that path to require a start function which can be iterated on in
dev mode.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 17:30:52 -06:00
Nathan Sobo
6535c64995 Merge pull request #12760 from atom/mb-ns-better-user-bindings
Make it easier to define user key bindings
2016-09-22 15:16:34 -07:00
Nathan Sobo
85efc08d13 Merge pull request #12753 from lgeiger/tildify-path
Tildify path in title bar
2016-09-22 15:07:50 -07:00
Nathan Sobo
f14587d3cc Use app activate event instead of defunct activate-with-no-open-windows
This restores the ability to open a Window by single-clicking the dock
icon on macOS.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 15:54:44 -06:00
Max Brunsfeld
db781dd54f Disallow duplicate keys when loading package keymaps
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-22 14:21:36 -07:00
Nathan Sobo
19a4f1ab89 Null guard AtomWindow instance in window-method ipc handler
Since things are async, I think the window could potentially disappear
before we can handle the message.
2016-09-22 14:14:37 -06:00
Nathan Sobo
b7126aff4c Don't serialize packages in deactivatePackages
Serialization still occurs when deactivating a single package via the
API. Otherwise, when the window is closed or reloaded we will serialize
all packages as a result of saving the window state.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 12:39:06 -06:00
Nathan Sobo
3a4ae04f74 Use call/respondTo helpers to return a promise from window method ipcs
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 12:18:09 -06:00
Nathan Sobo
50128949d4 Call window methods on AtomWindow when ipc'ing from render process
This enables saveState to be called when requesting a window reload from the render process.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 11:41:57 -06:00
Nathan Sobo
9ace7b899c Bind promptForRestart since it calls a method now
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-09-22 11:29:39 -06:00
Lukas Geiger
498a56a603 Tildify path in title bar
This will use ~/ for the path to the home directory
2016-09-22 11:14:03 +02:00
Antonio Scandurra
a45afcbba4 Always invalidate yardstick measurements when the editor becomes visible
...because content could get reflowed and previous measurements might
become inaccurate. Typically, this could occur when measuring while the
editor is hidden: in that case, the yardstick would always report `0px`
and save that position into the cache. Then, when the editor becomes
visible again, the wrong `0px` value would be returned, thus causing
cursors etc. to be displayed incorrectly.

This was being shadowed by a bug in our measurements cache, but after
fixing it in #12730 it started becoming evident.
2016-09-22 09:50:51 +02:00
Max Brunsfeld
1ad6a0f50c Merge pull request #12694 from atom/mb-ns-avoid-adding-non-existent-project-directories
Avoid adding non-existent project directories
2016-09-21 13:24:12 -07:00
Max Brunsfeld
3039024d17 Go back to using promise based on window:loaded event in main process tests 2016-09-21 11:37:24 -07:00
Max Brunsfeld
da6bfedc76 Merge branch 'master' into mb-ns-avoid-adding-non-existent-project-directories 2016-09-21 09:54:04 -07:00