Commit Graph

29887 Commits

Author SHA1 Message Date
Max Brunsfeld
c876fd76f8 Add deprecated shims for invalid args to node path functions
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-07 16:33:52 +02:00
Max Brunsfeld
e7444b1ebe Add shims for legacy electron APIs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-07 16:33:52 +02:00
Max Brunsfeld
874b555fde ⬆️ autocomplete-plus 2016-09-07 16:33:38 +02:00
Thomas Johansen
e2210722f4 ⬆️ electron@1.1.3 2016-09-07 16:31:25 +02:00
Thomas Johansen
4a58f9d730 ⬆️ electron@1.0.2 2016-09-07 16:31:25 +02:00
Antonio Scandurra
549e65cb10 Merge pull request #12619 from atom/as-save-window-state-before-closing-window-or-app
Wait for windows' state to be saved before closing the app or any window
2016-09-07 16:02:56 +02:00
Antonio Scandurra
e6c15ee10b onSaveWindowState -> onSaveWindowStateRequest 2016-09-07 15:47:23 +02:00
Wliu
aecea6d2f3 Merge pull request #12502 from atom/wl-update-languages
Update languages
2016-09-07 09:28:53 -04:00
Antonio Scandurra
34a99f9c82 Write tests to ensure quitting the application works as expected 2016-09-07 14:18:52 +02:00
Antonio Scandurra
0f6eadcfce Wait for windows' state to be saved before closing the app or any window
Previously, we used to save the window's state in the renderer process
`beforeunload` event handler: because of the synchronous nature of event
handlers and the asynchronous design of IndexedDB, this could
potentially not save anything if windows close fast enough to prevent
IndexedDB from committing the pending transaction containing the state.
(Ref.: https://mzl.la/2bXCXDn)

With this commit, we will intercept the `before-quit` events on
`electron.app` and the `close` event on `BrowserWindow` (which will fire
respectively before quitting the application and before closing a
window), and prevent them from performing the default action. We will
then ask each renderer process to save its state and, finally, close the
window and/or the app.
2016-09-07 13:03:33 +02:00
Antonio Scandurra
db76b9fb39 Improve test coverage for #12610
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-06 19:24:57 +02:00
Antonio Scandurra
f01f75898c Merge pull request #12610 from atom/as-tokenized-buffer-iterator-regression
Clip to next boundary when seeking iterator to the middle of a text tag
2016-09-06 18:57:54 +02:00
Antonio Scandurra
581790760b Clip to next boundary when seeking iterator to the middle of a text tag
Previously, when calling `TokenizedBufferIterator.seek` with a position
that lied within a text tag, we advanced the iterator by the extent of
that tag without, however, consuming it. Hence, when calling
`moveToSuccessor` afterward, we would consume that tag and advance the
iterator again, thus effectively moving it twice and making its position
inaccurate.

An option could be to clip to the left of the textual tag without
consuming it. However, this would be a little odd with respect to the
current contract between (`DisplayLayer` and) `seek`, whose promise is
to move the iterator to a position that is greater or equal than the one
asked by the caller.

Therefore, with this commit, we are changing the behavior of `seek` in
this particular scenario to consume the tag in question and process all
its siblings until a tag boundary is finally found. This ensures that
the above contract is always respected, while still preserving the "seek
to leftmost tag boundary" semantics (i.e. notice how in the changed test
case, calling `seek` with `Point(0, 1)` is the same as calling it with
`Point(0, 3)`).
2016-09-06 18:12:05 +02:00
Thomas Johansen
f4fa467ec5 ⬆️ language-c@0.53.1 2016-09-06 14:31:27 +02:00
Antonio Scandurra
44c0fe5f86 Merge pull request #12589 from atom/as-use-clang-3.3-on-travis
Compile native modules on Travis using clang-3.3
2016-09-02 16:02:06 +02:00
Antonio Scandurra
3932bdc605 Compile native modules on Travis using clang-3.3
All the native modules we ship with Atom are compiled by dynamically
linking the libstdc++ library. Using gcc (and g++) > 4.6 to compile
them, however, requires a newer version of that library, which is not
installed by default on Ubuntu Precise (Travis default image) and thus
causing all the third-party packages built via Travis to fail when using
Atom 1.11-beta.

By using clang-3.3 we can keep backwards compatibility with previous
versions of libstdc++ and still be able to compile C++11 code (which is
mandatory for Node >= 4).
2016-09-02 14:26:26 +02:00
Lee Dohm
4a7370996d Merge pull request #12585 from aqchin/master
Change Help->Documentation url from https to http (Fix #12583)
2016-09-01 18:38:45 -07:00
simurai
ab7671480d Merge pull request #12580 from frantic1048/7446-fix-pane-resize-handle-overflow
Let atom-pane-resize-hanle inherit correct height (fix #7446)
2016-09-02 10:28:23 +09:00
Alan
71ee729f84 Change Help->Documentation url from https to http (Fix #12583)
The flight manual page does not have a secure connection, so navigating
to the https link would result in a SSL_ERROR_BAD_CERT_DOMAIN error.

It might be better to add a secure connection to the server rather than
pulling this commit.
2016-09-01 14:14:17 -07:00
Lee Dohm
e8b8dad7b4 ⬆️ markdown-preview@0.158.3 2016-09-01 09:48:33 -07:00
Wliu
6c95ef0cd8 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-update-languages 2016-09-01 11:24:39 -04:00
Antonio Scandurra
ac2c9268dd Merge pull request #12581 from atom/as-ns-remove-height-100
Remove `height: 100%` from atom-text-editor elements
2016-09-01 17:10:12 +02:00
Antonio Scandurra
9ebde9ccb2 Remove height: 100% from atom-text-editor elements
Originally, editors with autoHeight set to false had an inline style of
100%. We attempted to retain this behavior while allowing CSS to change
the height by applying this styling via a global CSS rule instead:
unfortunately, however, this applies to non autoHeight editors as well
because due to our deprecated autoHeight detection routine, the height
of these editors must be assigned on an internal element and therefore
does not override the 100% styling from the stylesheet.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-01 16:43:43 +02:00
Frantic1048
66575fbff9 🐛 let atom-pane-resize-hanle inherit correct height (fix #7446) 2016-09-01 22:06:06 +08:00
Nathan Sobo
95ab4ab754 Merge pull request #12572 from ablakely/patch-1
Update create-debian-package.js
2016-09-01 07:21:02 -06:00
Antonio Scandurra
01e65dceca Merge pull request #12576 from atom/as-fix-release-channel-detection
Fix release channel detection on Travis
2016-09-01 10:38:00 +02:00
Antonio Scandurra
8249dbbb79 Fix release channel detection on Travis
In the previous build scripts, we were considering all the builds
triggered by a pull-request to be part of the dev channel. We adopted
the same heuristic for the new build scripts, but didn't notice that
Travis always sets the `TRAVIS_PULL_REQUEST` variable to "false" (which
causes the `process.env.TRAVIS_PULL_REQUEST` expression to be evaluated
as truthy).

In the past, this wasn't a problem because we were building artifacts
via Janky, but after switching to Travis this makes it generate the
wrong assets on stable and beta.

To fix this, it seems reasonable to remove the conditional that checks
if we are building a pull-request: in the past this could have been
problematic because assets could be uploaded inadvertently to S3 or
GitHub, but this should be safe now that we rely on the release
publisher to perform that task.
2016-09-01 09:49:37 +02:00
Aaron Blakely
b54952d6e7 Update create-debian-package.js
Added support for building debian powerpc packages.
2016-08-31 16:46:05 -05:00
Lee Dohm
2ef61af84e Merge pull request #12566 from Ben3eeE/update-documentation
Fix arguments not marked as such
2016-08-31 12:20:18 -07:00
bene
66dd70d19d 📝 fix arugments not marked as such [ci skip] 2016-08-31 21:16:49 +02:00
Machisté N. Quintana
fa6bb226ce Merge pull request #12565 from atom/jf-update-marked
⬆️ Marked 0.3.6
2016-08-31 12:15:15 -07:00
Joe Fitzgerald
4ae823f312 ⬆️ Marked 0.3.6 2016-08-31 12:46:34 -06:00
Damien Guard
4a1b4cff23 Merge pull request #12560 from atom/dg-fix-toggle-line-numbers
Fix show/hide line numbers in editor
2016-08-30 13:43:25 -07:00
Damien Guard
9451ca0254 Fix show/hide line numbers in editor 2016-08-30 13:20:17 -07:00
Antonio Scandurra
059dbba290 Remove accidentally committed require
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-30 20:15:40 +02:00
Antonio Scandurra
ad24aaef35 Merge pull request #12559 from atom/as-ns-use-right-helper-name-on-beta
Use the correct Atom executable paths on the beta channel
2016-08-30 19:33:17 +02:00
Antonio Scandurra
ce24a2f1cf Use the correct Atom executable paths on the beta channel
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-30 19:25:09 +02:00
Max Brunsfeld
387a8174f7 Merge pull request #12551 from atom/fb-mdt-context-menu-copy-active-pane
Always copy item when splitting from the context menu
2016-08-30 09:34:55 -07:00
Hubot
fedf783b66 1.12.0-dev 2016-08-30 09:47:13 -05:00
Antonio Scandurra
d7227037c8 Merge pull request #12555 from atom/as-install-for-all-platforms
Allow to run script/build --install on all platforms
2016-08-30 16:43:17 +02:00
Antonio Scandurra
c66dde094b 🎨 📝 2016-08-30 16:42:58 +02:00
Antonio Scandurra
5c3c546f52 Document the --install flag for other platforms 2016-08-30 12:50:38 +02:00
Antonio Scandurra
ab0a7f8b61 Fix outdated code in script/clean 2016-08-30 12:33:37 +02:00
Antonio Scandurra
5b85e1c797 Allow script/build --install on all platforms 2016-08-30 12:21:55 +02:00
Antonio Scandurra
61aef00e71 Merge pull request #12553 from atom/as-fix-script-build
Run script/bootstrap immediately after running script/build
2016-08-30 11:51:34 +02:00
Antonio Scandurra
de3fca49a8 Run script/bootstrap immediately after running script/build
This will ensure all the dependencies used later in `script/build` are
installed.
2016-08-30 11:49:52 +02:00
simurai
795e47f307 ⬆️ one-light-ui@v1.6.0 2016-08-30 16:55:50 +09:00
simurai
d1daef9767 ⬆️ one-dark-ui@v1.6.0 2016-08-30 16:55:18 +09:00
Antonio Scandurra
42146d5685 Merge pull request #12550 from atom/ns-bootstrap-in-build
Run script/bootstrap from script/build
2016-08-30 08:21:06 +02:00
Antonio Scandurra
9030ee59f6 Update docs 2016-08-30 08:17:59 +02:00