Commit Graph

14773 Commits

Author SHA1 Message Date
Max Brunsfeld
d91895961e Move more config observation out of text editor 2016-07-08 17:54:24 -07:00
Max Brunsfeld
eec1b70967 Start moving config observation out of editor into editor registry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-08 17:41:59 -07:00
Katrina Uychaco
66b2bb4441 Merge pull request #12119 from atom/ku-tear-down-ipc-response-handler
Tear down ipc response handler when atom environment is destroyed
2016-07-08 16:37:44 -07:00
Damien Guard
6a4f6751d1 Revise API to reduce surface area 2016-07-08 13:31:19 -07:00
Damien Guard
3e826c1357 Initial checkpoint not yet tested with settings-view changes 2016-07-08 10:04:59 -07:00
Antonio Scandurra
1aa0678d44 Merge branch 'master' into as-introduce-editor-update 2016-07-08 18:09:43 +02:00
Antonio Scandurra
811ab26f61 Return an update promise in TextEditor.prototype.update() 2016-07-08 09:42:08 +02:00
Katrina Uychaco
9bf329cef2 Tear down ipc response handler when atom environment is destroyed
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-07 15:53:07 -07:00
Nathan Sobo
e9650f611f Use grammar instead of registry to resolve scope names 2016-07-06 13:12:19 -06:00
Nathan Sobo
a5613cd7e4 Convert text-editor-registry and tests to JS
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-07-06 12:54:30 -06:00
Philipp Brumm
08a358228b move title bar setting check into method and check for isSpec as well 2016-07-06 14:22:17 +02:00
Philipp Brumm
974995f50a check for on method
during `window-event-handler-spec`, `applicationDelegate.getCurrentWindow`
seems to return a truncated version of a browserWindow object, which does not include the `on` method
2016-07-06 14:22:17 +02:00
Philipp Brumm
e65ccde492 adjust wording 2016-07-06 10:59:34 +02:00
Glavin Wiechert
4986a64815 Improve incompatible native module error message
Close #6771
2016-07-04 09:46:09 -03:00
Philipp Brumm
91102cf26b fix fullscreen class on body not being set when toggling fullscreen via window button
- move handling code to `window-event-handler`
2016-07-02 15:16:30 +02:00
Philipp Brumm
29dab2e5b2 setSheetOffset to height of titlebar 2016-07-02 13:01:14 +02:00
Philipp Brumm
6370db9d99 change dialog wording 2016-07-02 12:40:18 +02:00
Philipp Brumm
faa1f935f8 make custom titlebar user-configurable and prompt for relaunch on change 2016-07-02 12:28:14 +02:00
Philipp Brumm
a357228876 explicitly check for platform being darwin before applying titleBarStyle 2016-07-02 12:28:14 +02:00
Philipp Brumm
62a31da72c clean up title-bar element 2016-07-02 12:28:14 +02:00
Philipp Brumm
e59b5ee31a add title-bar to headPanel instead 2016-07-02 12:28:14 +02:00
Philipp Brumm
4897f4db26 replace OSX window title bar with custom title-bar 2016-07-02 12:28:14 +02:00
Lee Dohm
04ff1b5b57 Merge pull request #12028 from Floobits/node_env_fix
Don't erase NODE_ENV from environment.
2016-06-30 16:47:37 -07:00
Ross Allen
7e75b861d8 Describe whitespace in detail and description
`detail` is rendered as preformatted text in core themes. `description`
is rendered as Markdown.
2016-06-30 15:57:22 -07:00
Antonio Scandurra
7efb407d8a Write spec for TextEditorElement when autoHeight changes 2016-06-30 15:48:00 +02:00
Antonio Scandurra
b46ae1e681 Allow autoHeight to be updated in TextEditor.prototype.update 2016-06-30 15:30:05 +02:00
Antonio Scandurra
8cb0fbcc5c Allow autoHeight to be set from the editor 2016-06-30 15:27:47 +02:00
Antonio Scandurra
ccf73189ee Allow scrollPastEnd to be updated in TextEditor.prototype.update 2016-06-30 15:07:20 +02:00
Antonio Scandurra
c769b169aa Allow scrollPastEnd to be set from the editor 2016-06-30 15:05:21 +02:00
Antonio Scandurra
7beafa2da6 Introduce TextEditor.prototype.update
This allows TextEditor objects to be used within an etch component
easily.
2016-06-30 12:42:15 +02:00
Lee Dohm
438aac6244 Merge pull request #12031 from Jonahss/getTitle-docs
📝 Mention how models must implement getTitle() [ci skip]
2016-06-28 17:54:45 -07:00
Jonah
7b16e40fa8 📝 better docs for workspace.addOpener 2016-06-28 17:52:53 -07:00
Damien Guard
22922dec96 CrashReporter should not run on UI thread on Win/Linux 2016-06-27 16:31:01 -07:00
Thomas Johansen
35ceb66a5b Merge pull request #11875 from atom/sm-move-bootstrap-to-npm
Merge Bootstrap + Core styles

Closes #11839 
Closes #11858
2016-06-24 07:54:16 +02:00
Damien Guard
511587c3d0 Merge pull request #11929 from atom/windows-multiple-versions
Allow different versions of Atom to run simultaneously on Win32
2016-06-23 10:59:19 -07:00
Geoff Greer
76e59a25f4 Don't erase NODE_ENV from environment. Atom sets this to 'production' earlier, but some code paths can cause it to be un-set. This degrades performance and sometimes crashes React. Fixes #12024. 2016-06-22 20:09:25 -07:00
Jonah Stiennon
03257b17e2 📝 Mention how models must implement getTitle() [ci skip] 2016-06-22 15:38:51 -07:00
Ross Allen
752359b332 Clarify buttonClass and description 2016-06-21 08:22:05 -07:00
Antonio Scandurra
a5fdf3e18a Merge pull request #12008 from atom/as-ns-recreate-destroyed-repo
Recreate Repository if the same project is added after being removed
2016-06-21 11:40:49 +02:00
Antonio Scandurra
95932081b2 Recreate repository if the same project is added after being removed
:pear:ed with @nathansobo.
2016-06-20 17:06:50 +02:00
Antonio Scandurra
c6f9d1d222 Add GitRepository.prototype.isDestroyed 2016-06-20 17:05:56 +02:00
Leo Lamprecht
0ceacf5c13 OSX -> macOS 2016-06-20 11:29:10 +02:00
Thomas Johansen
b2f7c9d52d 🔥 Remove all bootstrap remnants 2016-06-19 16:20:44 +02:00
Leonard Lamprecht
3a1ad3fd40 Replace OS X and Mac OS with macOS 2016-06-18 15:33:08 +02:00
Antonio Scandurra
89f6604f91 Merge pull request #11994 from atom/ns-allow-test-directory
Make interactive package tests work with a top-level 'test' directory
2016-06-17 11:15:48 +02:00
Nathan Sobo
07a19df22c Make interactive test running work with ‘test’ directory
In addition to ‘spec’. I hate the word ‘spec’.
2016-06-16 16:28:11 -06:00
Nathan Sobo
8a3d5f8534 Use preferred line length as a *maximum* for soft wrapping
...if the softWrapAtPreferredLineLength config setting is enabled.
2016-06-16 08:42:30 -06:00
Lee Dohm
c7e3b0c728 📝 Update old docs links to point to Flight Manual 2016-06-15 08:57:27 -07:00
Ross Allen
86cdc61ff0 Correctly reference onDidClick, not onClick 2016-06-14 07:36:35 -07:00
Ross Allen
c19ed79066 Complete documentation for Notification creation
Notifications support several options that were yet to be documented:
`buttons`, `description`, and `stack`. Add descriptions for each option
and its defaults (where applicable, e.g. .buttons.className).

`stack` is technically available on all notification types, but it
doesn't make sense to use it on types other than 'error' and 'fatal'.
Therefore it's documented only in those two cases.

The usage and expected display, like preformatted vs. Markdown, taken
from [atom/notifications/lib/notification-element.coffee][1].

[1]: https://github.com/atom/notifications/blob/v0.64.1/lib/notification-element.coffee
2016-06-14 07:36:35 -07:00