Commit Graph

12946 Commits

Author SHA1 Message Date
Max Brunsfeld
395ffde7a1 Merge pull request #9131 from atom/mb-fix-config-unset
Fix setting default values in config
2015-10-14 09:51:53 -07:00
Ivan Žužak
6a0daebede Merge pull request #9096 from atom/iz-config-settings-descriptions
Add descriptions for config settings
2015-10-14 18:36:08 +02:00
Ivan Zuzak
b3a7fe3fc9 Clarify how auto-detection works 2015-10-14 18:01:43 +02:00
Antonio Scandurra
6b01811d20 Avoid stack overflow when scrolling with non-integer values
We were mistakenly using the rounded scroll top to guard against such cases.
This fixes it by using `@realScrollTop` instead.
2015-10-14 16:10:12 +02:00
Max Brunsfeld
10b8de6fc4 Merge pull request #8533 from ssorallen/notification-manager-options-docs
Document all options for creating Notifications
2015-10-13 13:56:41 -07:00
Martin Rodalgaard
5b37d3e1aa 📝 Better workspace scan and replace docs 2015-10-13 20:29:24 +02:00
Max Brunsfeld
47961a8e6b Fix setting default values in config 2015-10-13 11:00:53 -07:00
Jacek Kopecky
d04769907c prevent use of socket in apm test 2015-10-13 17:36:57 +01:00
Max Brunsfeld
0b6a695cc0 Merge pull request #9122 from ForNeVeR/coffee-source-maps
Fix coffeescript source maps on Windows
2015-10-12 16:00:48 -07:00
Nathan Sobo
93de5ccb79 Assign window.onbeforeunload instead of addEventListener
This allows us to cancel the unloading if the user doesn’t confirm the
save dialog.
2015-10-12 15:32:36 -06:00
Kevin Sawicki
21d11daf0c Merge pull request #9101 from atom/tj-fix-dragging-and-dropping-files
Fix #4300 by preventing 'will-navigate' event from firing
2015-10-12 12:01:41 -07:00
Ross Allen
41984a2317 Add onDidStopChangingActivePaneItem for async callbacks
`onDidChangeActivePaneItem` is called synchronously when the active pane
item changes, and several non-critical actions preform work on that
event. Critical UI feedback, like changing the active tab, needs to
happen synchronously, but most other functionality should be run
asynchronously.
2015-10-12 10:24:07 -07:00
Friedrich von Never
b19db0f0c0 Fix coffeescript source maps.
The file paths on Windows should be URLs with proper slashes and starting with file:///
2015-10-12 21:22:34 +06:00
Thomas Johansen
af36a23e95 🐛 Fix #4300 by preventing 'will-navigate' 2015-10-10 01:21:49 +02:00
Ivan Zuzak
fe7b15b684 Fix typos 2015-10-09 14:53:28 +02:00
Ivan Zuzak
5d9ae3d0db Remove duplicate key 2015-10-09 14:53:28 +02:00
Ivan Žužak
35764e3392 Remove extra word 2015-10-09 13:04:17 +02:00
Ivan Zuzak
74a9e41d9f Add descriptions for config settings 2015-10-09 12:55:32 +02:00
Nathan Sobo
8e834794a9 Remove scroll listener on destroy so we don’t call undefined onScroll
/cc @izuzak because no PR, @as-cii because this fixes an unexpected
issue with your change.
2015-10-07 16:52:37 -05:00
Nathan Sobo
3636eb35d8 Merge pull request #8811 from atom/as-double-reflow-measurements
DOM-based measurements
2015-10-07 15:43:59 -05:00
Antonio Scandurra
8da83022f1 🔥 Remove useless null assignment 2015-10-07 19:51:32 +02:00
Antonio Scandurra
1df9162389 Clear references to scrollbar components 2015-10-07 19:02:45 +02:00
Antonio Scandurra
a62341b548 Avoid capturing this when handling dragging 2015-10-07 19:02:01 +02:00
Antonio Scandurra
a767ca9892 🚱 Dispose ::onDidUpdateMarkers in presenter 2015-10-07 09:54:59 +02:00
Max Brunsfeld
06a0a26ba0 Include version in socket path on mac and linux 2015-10-06 10:17:29 -07:00
Antonio Scandurra
428f0db75b 🔥 2015-10-06 11:02:36 +02:00
Antonio Scandurra
e8387e0095 🐎 2015-10-06 11:00:50 +02:00
Antonio Scandurra
61892f932b Use cached text nodes instead of NodeIterator 2015-10-06 10:43:32 +02:00
Antonio Scandurra
175c21f47e Cache built text nodes 2015-10-06 10:35:01 +02:00
Antonio Scandurra
5529645ff3 Recycle highlights 2015-10-06 10:26:49 +02:00
Antonio Scandurra
cc1b42b279 Faster DOM removal 2015-10-06 10:21:13 +02:00
Antonio Scandurra
dede68011f Recycle text nodes in lines 2015-10-06 10:18:05 +02:00
Antonio Scandurra
c1e56322aa Recycle text nodes in line numbers 2015-10-06 10:08:06 +02:00
Antonio Scandurra
c79cc87172 Prepare DOMElementPool to account for text nodes 2015-10-06 10:02:04 +02:00
Antonio Scandurra
b31d3d1a3f Revert "🐎 Faster line number calculation"
This reverts commit e04aef0af3.
2015-10-06 09:16:29 +02:00
Antonio Scandurra
d5dac3459b Merge branch 'master' into as-double-reflow-measurements 2015-10-06 08:36:22 +02:00
Nathan Sobo
a64d5b18e2 Fix linter errors 2015-10-05 15:48:20 -06:00
Nathan Sobo
ddb08d0c46 Avoid redundant onDidAddPaneItem notifications
Refs #9012
2015-10-05 12:34:49 -06:00
Antonio Scandurra
e04aef0af3 🐎 Faster line number calculation 2015-10-05 17:36:28 +02:00
Antonio Scandurra
1c56c3f951 🎨 2015-10-05 16:32:51 +02:00
Antonio Scandurra
0bee6a0cc1 Avoid invalidating state when clearing screen rows to measure 2015-10-05 16:10:58 +02:00
Antonio Scandurra
581ffb1360 🐎 Avoid to measure invisible lines when dragging 2015-10-05 16:05:17 +02:00
Antonio Scandurra
56488748db 🔥 Remove dead code 2015-10-05 14:37:22 +02:00
Antonio Scandurra
3df6ed8405 Merge branch 'master' into as-double-reflow-measurements 2015-10-03 15:53:34 +02:00
Antonio Scandurra
beb7896234 Enable subpixel font scaling
For certain font sizes, enabling `textRendering: optimizeLegibility` caused a
bunch of measurement-related issues. You can reproduce it by setting the following in your stylesheet:

```
atom-text-editor {
  font-size: 14px;
  text-rendering: optimizeLegibility;
}
```

Although I wanted to defer subpixel font scaling to a later moment, it seems
like Chrome needs to have it enabled in order to properly support the
"legibility" path for text rendering. (I guess this is part of the reason why
the Chromium team enabled it by default at some point in the past.)
2015-10-02 18:14:09 +02:00
Antonio Scandurra
b7e373fdca 🐛 Correctly measure RTL characters
This will fix also the "hidden cursor" issue we were experiencing.

/cc: @izuzak
2015-10-02 12:51:10 +02:00
Antonio Scandurra
2ffa7da59e 🐎 Remove rows to measure in the next frame 2015-10-02 12:38:19 +02:00
Jeremy Ebneyamin
5b522f70c2 🐛 Fix Windows context menu shortcut
Fix the bug where Open With Atom on Windows machines will fail for paths
containing spaces. Wraps quotes around the path to the Atom executable
in the reg key string.
2015-10-02 00:06:30 -07:00
Nathan Sobo
9ec6bcd9c6 Merge pull request #8931 from ssorallen/texteditor-decoratemarker
Link Gutter::decorateMarker to TextEditor::decorateMarker
2015-10-01 13:30:31 -06:00
Ross Allen
1670357293 Link Gutter::decorateMarker to TextEditor::decorateMarker
`Gutter::decorateMarker` passes its `decorationParams` object through to
`TextEditor::decorateMarker`. Rather than duplicate documentation and
fall out-of-date (as was surfaced in #8920), link the
`TextEditor::decorateMarker` as the canonical docs location.
2015-10-01 10:08:36 -07:00