Commit Graph

24058 Commits

Author SHA1 Message Date
Nathan Sobo
64fca5db20 Absorb exception in isFoldableCodeAtRow and report assertion failure
Can’t figure out what’s going on in this bug, but we can hopefully make
it less damaging and collect more information via the new assertion
system.

Refs #5905
2015-06-20 18:37:53 +02:00
Nathan Sobo
11c3b3444b Return a boolean from atom.assert 2015-06-20 18:37:53 +02:00
Nathan Sobo
a1f6a15c0b Add atom.assert and atom.onDidFailAssertion 2015-06-20 18:37:53 +02:00
Nathan Sobo
cd35107f8c Call atom.onDidThrowError handlers with the error object
…and remove a bunch of dead source maps handling. Source map handling
for stack traces is now built into Chromium so it shouldn’t be needed
here.

Original event properties maintained for backward compatibility with the
1.0 API. Can be deprecated for 2.0 once we transition
exception-reporter.
2015-06-20 18:37:53 +02:00
simurai
fc4f2a102e ⬆️ one-dark/light-ui@v0.9.1 2015-06-20 16:16:05 +09:00
Max Brunsfeld
ca146c991a Merge pull request #7341 from atom/as-remove-orphaned-gutter-events
Remove event listeners from orphaned gutters
2015-06-19 10:52:17 -07:00
Kevin Sawicki
82fe556af8 ⬆️ language-clojure@0.16 2015-06-19 09:17:22 -07:00
Kevin Sawicki
bde74dee0b Merge pull request #7281 from atom/sm-default-editor-font
New default editor font
2015-06-19 09:12:18 -07:00
Kevin Sawicki
9725398445 Merge pull request #7338 from atom/sm-styles-examples
styles.less examples
2015-06-19 09:10:16 -07:00
Ben Ogle
af42c6bbab ⬆️ language-css@0.31.0 2015-06-19 09:10:55 -06:00
simurai
cfd61afd38 📝 Update styles.less copy 2015-06-19 23:21:36 +09:00
simurai
67cf747a20 📝 Add back link to the Less docs 2015-06-19 21:37:57 +09:00
simurai
533abc5a63 Increase default line height even a bit more 2015-06-19 21:31:36 +09:00
Antonio Scandurra
d7156ff387 Remove event listeners from orphaned gutters 2015-06-19 10:24:48 +02:00
simurai
d922c1804f Update note about Less
Mentioning that you can use plain CSS should make it less intimitaing.
2015-06-19 16:05:03 +09:00
Antonio Scandurra
26b1d166fd Merge pull request #7320 from atom/as-remove-gutter-from-view-registry
Fix TextEditorComponent Race Condition
2015-06-19 09:01:59 +02:00
simurai
351b407751 Add style.less examples
that can get uncommented
2015-06-19 15:57:09 +09:00
simurai
2017e3fe23 Increase default line height 2015-06-19 10:22:26 +09:00
Antonio Scandurra
c8f24d2358 Revert "🐛 Remove Gutter from ViewRegistry"
This reverts commit b0d93accf7.
2015-06-18 19:54:37 +02:00
Kevin Sawicki
4675fc52e2 ⬆️ language-go@0.27 2015-06-18 08:35:27 -07:00
Kevin Sawicki
68cc5154d6 ⬆️ language-text@0.7 2015-06-18 08:33:51 -07:00
Kevin Sawicki
309410f3f4 Prepare 0.211 2015-06-17 14:42:32 -07:00
Ben Ogle
17235e706b ⬆️ notifications@0.56.0 v0.210.0 2015-06-17 14:11:35 -07:00
Nathan Sobo
8890f78fae ⬆️ exception-reporting 2015-06-17 23:04:38 +02:00
Ben Ogle
fae42ca107 ⬆️ autocomplete-plus@2.17.4 2015-06-17 13:59:56 -07:00
Ben Ogle
2f41fb300f ⬆️ notifications to fix error 2015-06-17 13:59:29 -07:00
Max Brunsfeld
7b10d9bf3b Merge pull request #7324 from atom/mb-tweak-auto-indent
Fix some issues with auto-indent
2015-06-17 12:41:59 -07:00
Max Brunsfeld
64dfda572d Use raw buffer text (w/o invisibles) when testing decreaseIndentRegex 2015-06-17 12:07:42 -07:00
Max Brunsfeld
3cdeaa8b51 Don't auto-indent when pasting text w/ no line breaks 2015-06-17 10:57:21 -07:00
Antonio Scandurra
b04b0a8dc4 🐛 Fix race condition as well 2015-06-17 13:48:31 +02:00
Antonio Scandurra
b0d93accf7 🐛 Remove Gutter from ViewRegistry
Closes #7306

We started noticing that when a `TextEditor` pane got split, the same view for
`Gutter` was being shared amongst several models, thereby making the same DOM
element accessible simultaneously by more than one object. This made us
experience *orphaned line numbers*, caused by two instances of
`LineNumberGutterComponent` mutating `.line-numbers` at the same time.

This is a typical race condition which I would normally address by understanding
and possibly locking the correct order in which operations should happen.
However, I believe in this situation we shouldn’t actually care about ordering
at all, since I think views should be kept “local”, thus avoiding to expose them
to the world and/or reusing them across other views (either accidentally as in
this case or on purpose).
2015-06-17 12:28:10 +02:00
Machisté N. Quintana
62dc15a697 Merge pull request #7310 from atom/mq-resize-cursor
Fix pane resize cursors on Windows
2015-06-16 21:09:21 -04:00
Machiste Quintana
1bd94c670f Fix copypasta selector 2015-06-16 20:23:41 -04:00
Machiste Quintana
fe4654c9ea 🐛 Fix pane resize cursors on Windows 2015-06-16 20:18:16 -04:00
Max Brunsfeld
dbb1200e1b 🔥 unused method 2015-06-16 14:54:01 -07:00
Max Brunsfeld
1bbeca6801 ⬆️ snippets 2015-06-16 14:29:37 -07:00
Max Brunsfeld
7a80849d67 Merge pull request #7294 from aki77/fix/leak
DisplayBuffer::decorateMarker leak subscriptions
2015-06-16 14:26:51 -07:00
aki
449c03cb35 Fix destroy listeners 2015-06-16 18:05:45 +09:00
Max Brunsfeld
ebc5758d79 Merge pull request #7290 from atom/mb-fix-save-state-race
Fix incorrect state save when exiting
2015-06-15 14:40:37 -07:00
Max Brunsfeld
41773b0861 Fix incorrect state save when exiting 2015-06-15 14:14:08 -07:00
Max Brunsfeld
749e894070 ⬆️ text-buffer 2015-06-15 13:46:14 -07:00
Max Brunsfeld
fcf45ea0ce ⬆️ find-and-replace 2015-06-15 11:13:39 -07:00
Kevin Sawicki
9affa8d6dd ⬆️ symbols-view@0.99 2015-06-15 07:47:13 -07:00
Machisté N. Quintana
b79b5338d7 Merge pull request #7284 from atom/mq-bump-autosave
autosave@0.21.0
2015-06-15 09:27:03 -04:00
Machisté N. Quintana
d075a64e62 ⬆️ autosave@0.21.0 2015-06-15 07:41:25 -04:00
simurai
e4ba689e40 Replaces default editor font
Only affects OS X
2015-06-15 16:03:50 +09:00
Max Brunsfeld
abca152fba Merge pull request #7258 from atom/mb-add-by-clauses-to-for-loops
Add by clauses to for loops to avoid complex loop increments
2015-06-12 16:58:41 -07:00
Max Brunsfeld
715238c3cd Add by clauses to for loops to avoid complex loop increments 2015-06-12 16:38:07 -07:00
Max Brunsfeld
6282e7e533 Merge pull request #7234 from atom/mb-keep-state-when-auto-updating
Avoid saving state when closing windows due to auto-update
2015-06-12 10:50:57 -07:00
Max Brunsfeld
c43233892b Merge pull request #7225 from lpommers/add-remove-cursor-when-there-are-multiple-cursors-if-cmd-clicking-on-it
Add remove cursor when there are multiple cursors and cmd clicking on it
2015-06-12 10:41:17 -07:00