Commit Graph

12596 Commits

Author SHA1 Message Date
Nathan Sobo
7e0b0a4427 Cache incompatible packages based on electron version
This will cause us to re-check all packages when upgrading the version
of Electron.
2015-09-08 09:53:45 -06:00
Nathan Sobo
f5a591f6b3 Disable colored output from apm rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
ea5b12d69c Clear build failures, cached incompatible modules after rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
f571ee7baf Add Package::rebuild 2015-09-08 09:53:45 -06:00
Thomas Johansen
919445cf8a 🐛 Fix undefined reference to syntheticEvent 2015-09-06 10:27:26 +02:00
Nathan Sobo
aed785924d Continue to dispatch CustomEvent instances in CommandRegistry
This changes the approach used to synthesize an event to dispatch. Since
we can no longer point to the original event as our prototype, we build
a new CustomEvent instance and override select properties with
Object.defineProperty. This preserves the contract with event handlers
by giving them a true CustomEvent instance.
2015-09-06 10:27:25 +02:00
Thomas Johansen
6294bc22d7 Simplify workaround, and describe issue with Object.create + CustomEvent 2015-09-06 10:27:25 +02:00
Paul Betts
b483fc6805 Set App User Model ID on Win32 2015-09-06 10:27:25 +02:00
Thomas Johansen
405eaf14d1 🙈 Add temporary hack to work around issue with CustomEvent
Since it's no longer possible to "properly" extend CustomEvent, we will need to
figure out a way to shadow the prototype chain, or some such.

See https://code.google.com/p/chromium/issues/detail?id=495437 for more details.
2015-09-06 10:27:24 +02:00
Cheng Zhao
e3f9074f4a Object.create doesn't work well with CustomEvent in Chrome 43 2015-09-06 10:27:24 +02:00
Max Brunsfeld
c4fc8e55fa Use correct executedFrom value for subsequent invocations 2015-09-03 16:03:02 -07:00
Max Brunsfeld
8993ed1da6 Merge pull request #8661 from atom/mb-fix-opening-files-with-line-numbers
Fix handling of filename:line:column command-line arguments
2015-09-03 12:19:46 -07:00
Nathan Sobo
d6c0e8f8c8 Merge pull request #8660 from atom/as-null-bytes-paired-char
Avoid pairing null byte characters
2015-09-03 13:17:37 -06:00
Max Brunsfeld
e5da009cdc Strip colon-number suffixes from args before parsing them as URLs 2015-09-03 11:31:01 -07:00
Antonio Scandurra
ac64245848 Avoid pairing null bytes characters 2015-09-03 19:54:55 +02:00
Max Brunsfeld
0a8ff35c3a 🎨 Pass devResourcePath as an argument to AtomApplication 2015-09-03 10:30:08 -07:00
Max Brunsfeld
ed62685c78 🎨 main.coffee 2015-09-03 10:28:37 -07:00
Nathan Sobo
3ca11c2cef 🎨 select-line adjustments; Only select single row if row is given 2015-09-03 08:25:24 -06:00
jc roy
361ef308e2 SelectLine : When multiple line selected, complete both first and last line. 2015-09-02 20:03:18 -04:00
Nathan Sobo
698e414bfb Update selection and cursor state atomically before emitting any events
This ensures we correctly restore the last cursor when handling a cursor
destruction event. It fixes an exception that occurred when undoing
after splitting an editor.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-09-02 12:20:30 -06:00
Devon Carew
a235fcb8aa Update notification-manager.coffee
Fix a broken link in the docs page for https://atom.io/docs/api/v1.0.10/NotificationManager.
2015-09-01 21:28:16 -07:00
Max Brunsfeld
d9410716d2 Don't attempt to use source maps w/ no cache directory
This error will only happen when the compile-cache file is compiled
twice, which seems to be happening on windows when running specs.
This doesn't fix that problem, but prevents further errors from
cascading in a confusing way.
2015-09-01 16:49:15 -07:00
Max Brunsfeld
8f1daad4a9 Merge pull request #8608 from atom/mb-normalize-driver-letter-case
Normalize drive letter case on windows
2015-09-01 14:15:39 -07:00
Nathan Sobo
5be64cdc89 Merge pull request #8627 from atom/ns-terminate-drag-on-any-text-change
Terminate drag on any buffer change
2015-09-01 14:22:29 -06:00
Max Brunsfeld
61f7de736f Normalize resource path drive letters in main 2015-09-01 12:20:05 -07:00
Max Brunsfeld
5be3d4f82f Normalize drive letter case on windows 2015-09-01 12:17:19 -07:00
Nathan Sobo
f3def3a7ed Terminate drag on any buffer change
Not just text insertion.
2015-09-01 12:58:34 -06:00
Nathan Sobo
968cf6a51b Merge pull request #8624 from atom/ns-fix-mouse-autoscroll
Autoscroll when mouse gets close to the edge of the editor scroll view
2015-09-01 11:22:28 -06:00
Nathan Sobo
f1276f59de Autoscroll when mouse gets close to the edge of the editor scroll view
Previously, we required the cursor to exceed the bounds of the editor,
but that makes it impossible to scroll when the window is maximized.
2015-09-01 10:43:45 -06:00
Kevin Sawicki
56f40d7714 Append to existing cache dir value 2015-08-31 10:29:36 -07:00
Kevin Sawicki
8fa99a33be Append root to atom home value 2015-08-31 10:23:14 -07:00
Antonio Scandurra
0d248e0c5b Merge pull request #8500 from natthu/master
Fix a bug with refreshing the gutter UI.
2015-08-31 14:24:12 +02:00
Wliu
820fc7652b Merge pull request #8561 from atom/wl-menubar-toggle-notification
Add a notification when toggling the menu bar
2015-08-30 10:14:31 -04:00
Nathan Sobo
e91241be52 Revert "Remove arguments subheading"
This reverts commit ba7af0b9cd.
2015-08-29 13:00:08 -06:00
Nathan Sobo
70bcedba4d Revert "Nix arguments"
This reverts commit f2a017d013.
2015-08-29 12:59:16 -06:00
Wliu
01b9c3a0b0 👕 No fat arrow 2015-08-28 18:06:04 -04:00
Wliu
f3b457d8ba Add a notification when toggling the menu bar
Refs #4289
2015-08-28 17:33:46 -04:00
Nathan Sobo
c0b4181b47 Merge pull request #8558 from atom/ns-simplify-page-up-down
Simplify page-up/page-down
2015-08-28 14:55:24 -06:00
Nathan Sobo
c7cc404c42 Simplify page-up/page-down
We simply move the cursor up or down by the number of whole lines that
fit on screen, allowing autoscroll to adjust the scroll position. This
causes there to be a margin under the location to which we move the
cursor, but I think it’s better to provide context and keep the
autoscroll experience consistent when using the keyboard.
2015-08-28 13:39:14 -06:00
Nathan Sobo
2a3a304410 Terminate drag when editor is destroyed
Fixes #4562
2015-08-28 12:41:58 -06:00
Nathan Sobo
567199a3d2 Autoscroll the editor as a quadratic function of mouse cursor overshoot
This was a spike and still needs tests, but it’s going to be way better.
2015-08-28 12:17:59 -06:00
Nathan Sobo
0a87dad747 🎨 2015-08-28 09:46:18 -06:00
Nathan Sobo
1dac9eb801 Use imperative voice 2015-08-28 09:42:46 -06:00
Nathan Sobo
f2a017d013 Nix arguments 2015-08-28 09:42:39 -06:00
Nathan Sobo
1160c571a7 Public -> Essential 2015-08-28 09:41:23 -06:00
Nathan Sobo
313eb9e926 🎨 2015-08-28 09:41:13 -06:00
Nathan Sobo
bd4f5ba544 Replace Public with Essential
Still not sure about the value of this distinction, but let’s blend in.
2015-08-28 09:39:24 -06:00
Nathan Sobo
ba7af0b9cd Remove arguments subheading 2015-08-28 09:39:03 -06:00
Maxim Sokolov
93fba6a334 📝 Remove redundant docs
GutterContainer class shouldn't be public or extended.
2015-08-28 16:54:15 +03:00
Maxim Sokolov
df2fed2474 📝 Update docs for Gutter::decorateMarker
Docs from TextEditor::decorateMarker related to Gutter
2015-08-28 16:54:15 +03:00