Commit Graph

13231 Commits

Author SHA1 Message Date
Kevin Sawicki
999bf8911e Set atomHome on load settings from env var 2015-11-03 14:29:44 -08:00
Dave Rael
3009d3e7d5 Add missing atomHome references
to make sure Linux execution is correctly getting the right home in all windows
2015-11-03 14:10:55 -08:00
Dave Rael
5d5d83d474 Remove duplication of locating Atom Home 2015-11-03 14:10:37 -08:00
Kevin Sawicki
de7cf162f9 Merge pull request #8442 from atom/portable-mode
Enable Portable Mode
2015-11-03 12:49:54 -08:00
Max Brunsfeld
3412251963 Merge pull request #9104 from joseramonc/master
autoindent lines with moveLineUp/moveLineDown
2015-11-03 10:41:29 -08:00
Antonio Scandurra
5d0ba5f182 Merge pull request #9318 from atom/as-compilation-cache
Introduce NativeCompileCache
2015-11-03 14:35:58 +01:00
Antonio Scandurra
b5226ad420 🎨 2015-11-03 09:55:29 +01:00
Antonio Scandurra
6290822067 Export a function in windowInitializationScript
...so that we can pass BlobStore to AtomEnvironment
2015-11-03 09:51:08 +01:00
Antonio Scandurra
e1087acf9e Save BlobStore only when unloading editor window 2015-11-02 19:49:14 +01:00
Nathan Sobo
152a479909 Merge pull request #9024 2015-11-02 11:26:21 -06:00
Antonio Scandurra
a8b5bb243f Save BlobStore only in the first window 2015-11-02 10:53:04 +01:00
Antonio Scandurra
6decf222a3 🐛 Fix incorrectly reported width when measuring lines
This commit fixes what seems to be a bug in Chromium.

When measuring lines (and with a special character sequence), it could happen
that Range(0, 0). getBoundingClientRect().width reports a number greater than 0.
This seems to happen when the font size is smaller than 12px and it's probably
due to subpixel font scaling. To solve it we've explicitly included a guard
clause that prevents this problem to happen.
2015-11-01 19:23:09 +01:00
Antonio Scandurra
887864a98b 📝 2015-10-30 19:10:26 +01:00
Antonio Scandurra
27a6f36738 Remove references to cache 2015-10-30 18:49:06 +01:00
Antonio Scandurra
abcfc8579b Rename to FileSystemBlobStore 2015-10-30 18:42:38 +01:00
Antonio Scandurra
f8c2c912e3 Hello, ES6 2015-10-30 18:33:28 +01:00
Antonio Scandurra
f13e516417 Invalidate cache when it is rejected by v8 2015-10-30 12:45:15 +01:00
Antonio Scandurra
72639e5393 🎨 Satisfy linter requirements 2015-10-30 11:36:58 +01:00
Antonio Scandurra
71b6871d3b 🐎 Make IO faster for v8 compile cache 2015-10-30 10:14:14 +01:00
Antonio Scandurra
c684273ecf Introduce NativeCompileCache 2015-10-30 10:14:14 +01:00
Yakira C. Bristol
908316ec72 Remove keyPath as a possible return value on the event object for onDidChange in config.coffee
The value is never returned on the object so the documention was updated to reflect that
2015-10-27 18:20:37 -04:00
Kevin Sawicki
02fe2cf618 🎨 2015-10-27 11:45:35 -06:00
Daniel Imms
5e1c2632e6 📝 Fix Cursor.getScreenPosition comment return type 2015-10-25 18:28:56 -07:00
Nathan Sobo
d2fdc414e7 Merge pull request #8919 from bencolon/workspace_vertical_splits
Add top/bottom split options when opening uri in a workspace
2015-10-22 14:13:42 -06:00
Ben Colon
1b0d72b232 Add up/down split options when opening uri in a workspace 2015-10-22 17:03:10 +02:00
Dave Rael
b1d10ef4dc Revert moving parse of command line
to the first line of start function because the move is not necessary
without having the code for using a command line parameter to set Atom to
portable mode.  This belongs on that branch and in that pull request.
2015-10-22 09:01:56 -06:00
Dave Rael
8acb2af055 Remove unused parameter
to keep the code clean and readable
2015-10-22 08:58:39 -06:00
Dave Rael
35345893fc Fix function name to be consistent with convention 2015-10-22 08:49:08 -06:00
Nathan Sobo
bd199545c0 In PaneContainer.prototype.saveAll, only save modified items 2015-10-21 20:22:20 -06:00
Ben Ogle
f679c4319c Merge branch 'beta' 2015-10-21 17:03:31 -07:00
Max Brunsfeld
3ba9fafbc5 Merge pull request #9218 from atom/mb-fix-dev-mode-new-window
Don't try to reuse existing normal windows as dev mode windows
2015-10-21 13:46:15 -07:00
Max Brunsfeld
8a6915e7a6 Pass application delegate to PaneElement 2015-10-21 10:57:56 -07:00
Dave Rael
810f0e4583 Fix merge problem and missing function call
Merge resulted in a missing require and change to remove unused function
parameters resulted in not calling function
2015-10-21 09:47:33 -06:00
Dave Rael
e93b013059 Remove unused function parameter
for setupAtomHome function no longer needing args
2015-10-21 04:40:05 -06:00
Dave Rael
e0697ecc7f Merge branch 'master' into portable-mode
Conflicts:
	src/atom-environment.coffee
2015-10-20 20:58:14 -06:00
Nathan Sobo
33839d1f0e Pass current options to loadState 2015-10-20 19:52:42 -06:00
Dave Rael
8652890958 Simplify markdown escaping for warning
by using a regular expression instead of multiple replaces
2015-10-20 10:32:12 -06:00
Dave Rael
6d4105ac97 Escape characters is portable path not writable
warning to resolve missing backslash and other potential problems
resulting from the markdown-parsed nature of the display of notifications.
2015-10-20 07:09:58 -06:00
Antonio Scandurra
5fc521fedc Add deprecated method to TextEditor 2015-10-20 08:37:15 +02:00
Antonio Scandurra
40e3b08a8c Add TextEditorElement::getMaxScrollTop 2015-10-20 08:36:27 +02:00
Wliu
1593cdbf7a 🐛 Fix toggle-menu-bar command 2015-10-19 18:19:43 -04:00
Max Brunsfeld
3535525ad9 Don't try to reuse existing normal windows as dev mode windows 2015-10-19 13:43:40 -07:00
Nathan Sobo
979b08f5fe Override console.log/error/warn in headless mode to log to stdout/stderr 2015-10-17 10:55:23 -06:00
Nathan Sobo
c35411cd29 🎨 2015-10-17 10:52:39 -06:00
Nathan Sobo
abee4c1db4 Default devMode to true ASAP if running Atom in test mode
Previously, we ran the window in devMode, but didn’t set devMode to true
early enough to compute the correct resource path. This caused errors
when attempting to load the bundled keymaps when running atom —test
without the —dev flag.
2015-10-17 10:39:26 -06:00
Thomas Johansen
2cb77aa4b9 🐛 Use fat arrow to capture correct scope
Fixes #9187
2015-10-17 16:55:57 +02:00
Thomas Johansen
306729f20c 🐛 Use fat arrow to capture correct scope
Fixes #9186
2015-10-17 16:55:04 +02:00
Wliu
6495f1a531 Revert "🔥 subpixel-font-scaling"
This reverts commit 1c0420b3bb.
2015-10-16 19:58:47 -04:00
Wliu
1c0420b3bb 🔥 subpixel-font-scaling
This option was removed in Electron v0.33.9
2015-10-16 19:57:40 -04:00
Max Brunsfeld
f31328baec Disable linter warning for Error prototype method 2015-10-16 16:25:45 -07:00