Commit Graph

13495 Commits

Author SHA1 Message Date
Nathan Sobo
2493269f09 Merge pull request #10277 from atom/ns-fix-horizontal-measurement
Fix measurement of rows that are present in the model but haven't been rendered yet
2016-01-05 09:43:01 -07:00
Nathan Sobo
6669703677 Force a sync render when measuring if we don’t have a DOM node for a row 2016-01-04 16:40:56 -07:00
Nathan Sobo
9f6fbacddd Don’t clip screen positions in yardstick
By clipping positions only in the TextEditorComponent, we can ensure
that we check for the presence of a rendered line for the clipped row
value.
2016-01-04 16:32:38 -07:00
Josh Abernathy
29590d94ac Merge pull request #10233 from atom/fix-new-file
Fix New File with no open windows
2016-01-04 16:43:46 -05:00
Kevin J
876928f7f6 Update function documentation for scrollToScreenPosition 2016-01-02 16:05:21 -05:00
joshaber
5c14d3e99b Don't fail if event is undefined.
Unclear why this is undefined, but apparently it is.
2015-12-30 14:33:23 -05:00
joshaber
7024e000a8 Provide some defaults.
Otherwise we’ll get:

TypeError: Cannot read property 'pathToOpen' of undefined

when called from ‘application:new-file’.
2015-12-30 14:32:55 -05:00
Antonio Scandurra
590c2da211 Merge pull request #10084 from atom/as-serialize-language-state
Serialize language state for untitled buffers
2015-12-18 19:56:40 +01:00
Max Brunsfeld
352a5abf11 Merge branch 'beta'
Conflicts:
	package.json
2015-12-16 10:22:26 -08:00
Max Brunsfeld
f670dd8ff2 Merge branch 'stable' into beta
Conflicts:
	package.json
2015-12-16 10:21:29 -08:00
Nathan Sobo
473e8856a8 Merge pull request #10017 from atom/as-sha1-v8-cache
Cache v8 code by source file's SHA1
2015-12-16 10:19:01 -08:00
Antonio Scandurra
19ff676c7b Serialize grammar for untitled buffers 2015-12-16 10:35:23 +01:00
Antonio Scandurra
14f959e13d Merge pull request #9997 from atom/as-cjk-wrap-boundary
Wrap line at boundary if it includes a CJK character
2015-12-15 12:09:52 +01:00
Max Brunsfeld
a16b99fa58 Merge pull request #10062 from atom/mb-emit-state-update-on-model-scroll
Emit state update when model's scroll position is changed
2015-12-14 17:38:36 -08:00
Max Brunsfeld
02ab7179ce Emit state update when model's scroll position is changed 2015-12-14 16:56:53 -08:00
Antonio Scandurra
e16430accd 🎨 Extend isCJKUnifiedIdeograph charset 2015-12-14 11:58:05 +01:00
Antonio Scandurra
2e7048d8c6 Merge pull request #10028 from atom/ns-remove-presenter-flags
Remove non-essential update guard flags from TextEditorPresenter
2015-12-14 11:43:19 +01:00
Antonio Scandurra
20e8856df1 💄 Minor stylistic change 2015-12-11 13:41:44 -07:00
Antonio Scandurra
d5f67494ab Add back shouldUpdateDecorations 2015-12-11 13:41:44 -07:00
Nathan Sobo
3233570c0d Remove flags from presenter. Always perform full state update.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-12-11 13:41:44 -07:00
Nathan Sobo
5cfd3423bf Use internal scroll assignment methods when committing logical positions
This prevents an addition pending assignment and cuts directly to
adjusting the positions.
2015-12-11 13:34:46 -07:00
Antonio Scandurra
3e63197b51 💄 Fix lint warnings 2015-12-11 19:05:49 +01:00
Antonio Scandurra
fa48b2fbe0 Make v8 version part of the key 2015-12-11 17:47:04 +01:00
Antonio Scandurra
12376039a9 🎨 cjk -> CJK 2015-12-11 14:28:26 +01:00
Antonio Scandurra
173fbba02b Wrap at the first CJK character before the boundary 2015-12-11 14:26:51 +01:00
Antonio Scandurra
4bf86b2b9e Merge branch 'master' into as-cjk-wrap-boundary 2015-12-11 13:49:53 +01:00
Antonio Scandurra
c5562d8446 Allow to supply an invalidation key to FileSystemBlobStore 2015-12-11 13:38:50 +01:00
Antonio Scandurra
cdd4212400 Pass an invalidation key in NativeCompileCache 2015-12-11 12:47:17 +01:00
Nathan Sobo
85c6139579 Don’t force DOM updates in LinesYardstick
Instead, determine the need for a DOM update in the component before
measuring with the lines yardstick, and break `updateSync` into two
explicit pre- and post-measurement phases.
2015-12-10 14:47:05 -07:00
Nathan Sobo
3937312936 Merge pull request #9796 from atom/as-native-key-bindings
Use CommandRegistry to listen for native-key-bindings
2015-12-10 10:49:11 -08:00
Max Brunsfeld
e5c9a67056 Add a comment explaining why there's no es6 in compile-cache.js 2015-12-10 10:00:43 -08:00
Max Brunsfeld
5a6fd06386 There is no ES6 in compile-cache.js 2015-12-10 09:51:53 -08:00
Antonio Scandurra
c22cae451b Wrap line at boundary if it includes a CJK character 2015-12-10 10:18:24 +01:00
Antonio Scandurra
9a2c3a49e7 Expose a isCjkCharacter text utility 2015-12-10 10:01:03 +01:00
Antonio Scandurra
769b7bcd89 Merge branch 'master' into as-deserialize-untitled-editors
# Conflicts:
#	package.json
2015-12-09 08:48:04 +01:00
Nathan Sobo
3567d47790 Merge pull request #9878 from atom/ns-mb-fix-prepare-stack-trace-recursion
Avoid infinite recursion in Error.prepareStackTrace
2015-12-08 14:22:07 -07:00
Nathan Sobo
7718d5cb56 Merge pull request #9773 from atom/mb-ns-prepare-stack-trace-fixes
Allow Error.prepareStackTrace to be temporarily reassigned
2015-12-08 14:21:47 -07:00
Nathan Sobo
9bd22d35b4 Merge branch 'beta' 2015-12-08 14:13:37 -07:00
Max Brunsfeld
314a1234f4 Track which packages are in the process of activating
This fixes a race condition where a package's activation promise resolves asynchronously
after it has been deactivated, causing it to stay in the package manager's @activePackages
object.
2015-12-08 11:09:52 -08:00
Max Brunsfeld
05e10bfaeb Register config schemas from package.json in theme packages 2015-12-07 16:52:33 -08:00
Max Brunsfeld
ec759f1322 Clear out loaded packages in PackageManager.prototype.reset
This way, when the AtomEnvironment is reset, packages will have .load() called
on them again, so their config schemas will be registered again.
2015-12-07 16:49:57 -08:00
Nathan Sobo
4f9e1a8ca3 Increase stack trace size limit to 30 2015-12-07 14:25:11 -07:00
Max Brunsfeld
5825fb51b5 Merge pull request #9948 from dirk-thomas/order_config_cson
save config.cson in alphabetic order
2015-12-07 11:19:56 -08:00
Antonio Scandurra
a8a9581ef4 🎨 Use only id 2015-12-07 19:57:30 +01:00
Dirk Thomas
fbbcdbf518 order keys in config.cson alphabetically 2015-12-07 09:54:18 -08:00
Antonio Scandurra
08f48a8a9d 🔥 2015-12-07 15:20:20 +01:00
Antonio Scandurra
afd05f391f Don't prompt to save when a window close is requested
Fixes #942
2015-12-07 14:50:34 +01:00
Antonio Scandurra
f7a4ef4a84 Deserialize also untitled buffers 2015-12-07 14:47:23 +01:00
Antonio Scandurra
0896142ea2 Merge pull request #9831 from atom/as-user-keybindings-priority
Do not override user-defined keymaps when reloading packages
2015-12-04 21:34:20 +01:00
Kevin Sawicki
7f9da428b0 Merge pull request #9609 from DouweM/recent-documents
Add opened files and folders to recent documents menu
2015-12-04 09:18:17 -08:00