]>
khamidou — GitHub mirrors - electron.git/log
Ben Gotow [Thu, 21 Jan 2016 17:40:21 +0000 (09:40 -0800)]
Extend NativeWindow to track touch-based scroll events on OS X
In N1, we want to implement the famous "swipe to archive" action on threads in the user's inbox. Chrome exposes `scroll` and `wheel` events, but these aren't sufficient to implement the interaction because the element needs to "snap" when the user lifts their fingers from the trackpad, not when they / we stop receiving `wheel` / `scroll` events. These events may stop before the user lifts their fingers, or continue after the user has lifted their fingers if they had enough momentum for the gesture to continue.
This exposes BrowserWindow `scroll-touch-down` and `scroll-touch-up`, which fire immeditaely when the user touches two fingers to the trackpad, and again when the user lifts their fingers. Combined with the existing wheel event should allow for "swipe-to-archive" and other similar interactions.
Note: This is only implemented on Mac OS X and the events don't fire unless you're using a trackpad!
Related: #1486, #2683, https://github.com/nylas/N1/issues/541
Kevin Sawicki [Thu, 21 Jan 2016 16:56:07 +0000 (09:56 -0700)]
Merge pull request #4172 from atom/enable-eslint-rules
Enable more eslint rules
Kevin Sawicki [Wed, 20 Jan 2016 16:50:10 +0000 (09:50 -0700)]
Add WebView to globals
Kevin Sawicki [Wed, 20 Jan 2016 16:50:00 +0000 (09:50 -0700)]
Enable no-undef eslint rule
Kevin Sawicki [Wed, 20 Jan 2016 16:49:52 +0000 (09:49 -0700)]
Add missing fs require
Kevin Sawicki [Wed, 20 Jan 2016 16:48:25 +0000 (09:48 -0700)]
Add missing semicolons
Kevin Sawicki [Wed, 20 Jan 2016 14:10:14 +0000 (07:10 -0700)]
Add globals to eslint config
Kevin Sawicki [Wed, 20 Jan 2016 14:07:39 +0000 (07:07 -0700)]
Run cpplint from lint npm script
Kevin Sawicki [Tue, 19 Jan 2016 23:11:55 +0000 (15:11 -0800)]
e -> error
Kevin Sawicki [Tue, 19 Jan 2016 22:53:59 +0000 (14:53 -0800)]
Clean up semicolon lint errors
Kevin Sawicki [Tue, 19 Jan 2016 22:49:40 +0000 (14:49 -0800)]
Clean up no-unused-vars lint errors
Kevin Sawicki [Tue, 19 Jan 2016 19:31:47 +0000 (11:31 -0800)]
Clean up no-empty lint errors
Kevin Sawicki [Tue, 19 Jan 2016 18:25:03 +0000 (10:25 -0800)]
Clean up indent eslint errors
Kevin Sawicki [Tue, 19 Jan 2016 18:21:18 +0000 (10:21 -0800)]
Clean up no-unreachable lint errors
Kevin Sawicki [Tue, 19 Jan 2016 18:21:06 +0000 (10:21 -0800)]
Add npm run lint script
Cheng Zhao [Wed, 20 Jan 2016 22:47:32 +0000 (15:47 -0700)]
Merge pull request #4170 from arniu/patch-1
Update coding-style.md
Cheng Zhao [Wed, 20 Jan 2016 22:34:31 +0000 (15:34 -0700)]
Merge pull request #4166 from ragingwind/patch-1
Add Korean community
Cheng Zhao [Wed, 20 Jan 2016 22:32:53 +0000 (15:32 -0700)]
Merge pull request #4164 from deepak1556/menu_toggle_crash_patch
browser: fix crash when switching to sibling menu from submenus
Cheng Zhao [Wed, 20 Jan 2016 22:28:17 +0000 (15:28 -0700)]
Merge pull request #4165 from yamatoya/master
Add Japanes translated docs.
Kevin Sawicki [Wed, 20 Jan 2016 17:00:50 +0000 (10:00 -0700)]
Merge pull request #4168 from atom/cpplint-utility-folder
Run cpplint on utility folder
Cheng Zhao [Wed, 20 Jan 2016 16:46:38 +0000 (09:46 -0700)]
docs: win.destroy() is safe
Kevin Sawicki [Wed, 20 Jan 2016 14:11:38 +0000 (07:11 -0700)]
Remove trailing whitespace
Kevin Sawicki [Wed, 20 Jan 2016 14:11:28 +0000 (07:11 -0700)]
Run cpplint on utility folder
Cheng Zhao [Wed, 20 Jan 2016 16:42:51 +0000 (09:42 -0700)]
Merge pull request #4158 from atom/desktop-capturer-error-message
Fix error calling desktopCapturer.getSources twice
Hailin Tseng [Wed, 20 Jan 2016 16:03:41 +0000 (00:03 +0800)]
Update coding-style.md
Jimmy Moon [Wed, 20 Jan 2016 10:05:35 +0000 (19:05 +0900)]
Add Korean community
Takahito Yamatoya [Wed, 20 Jan 2016 07:09:01 +0000 (16:09 +0900)]
Add Japanes translated docs.
Robo [Wed, 20 Jan 2016 02:59:44 +0000 (08:29 +0530)]
browser: fix crash when switching to sibling menu from submenus
Cheng Zhao [Tue, 19 Jan 2016 20:12:41 +0000 (12:12 -0800)]
Merge pull request #4146 from yamatoya/master
Add Japanes translated docs.
Kevin Sawicki [Tue, 19 Jan 2016 19:05:57 +0000 (11:05 -0800)]
Tweak spec description
Kevin Sawicki [Tue, 19 Jan 2016 19:02:12 +0000 (11:02 -0800)]
Remove unused errorMessage reference
Kevin Sawicki [Tue, 19 Jan 2016 18:57:18 +0000 (10:57 -0800)]
Add failing spec
Kevin Sawicki [Tue, 19 Jan 2016 18:54:12 +0000 (10:54 -0800)]
Use const and remove extra returns
Kevin Sawicki [Tue, 19 Jan 2016 18:12:26 +0000 (10:12 -0800)]
Merge pull request #4153 from sunaiwen/patch-1
Update debugging-main-process.md
Kevin Sawicki [Tue, 19 Jan 2016 18:10:17 +0000 (10:10 -0800)]
Merge pull request #4150 from hamxiaoz/patch-1
Fix a broken link
Takahito Yamatoya [Tue, 19 Jan 2016 08:23:17 +0000 (17:23 +0900)]
Add Japanes translated docs.
Niven Su [Tue, 19 Jan 2016 05:49:49 +0000 (13:49 +0800)]
Update debugging-main-process.md
fix doc typo
Andrew Zheng [Mon, 18 Jan 2016 21:50:33 +0000 (13:50 -0800)]
Fix a broken link
The reference-style link uses a relative path, which doesn't work well on the main site http://electron.atom.io/.
Takahito Yamatoya [Mon, 18 Jan 2016 14:38:44 +0000 (23:38 +0900)]
Add Japanes translated docs.
Cheng Zhao [Mon, 18 Jan 2016 10:33:03 +0000 (18:33 +0800)]
Merge pull request #4142 from Rokt33r/patch-2
Update frameless-window.md
Dick Choi [Mon, 18 Jan 2016 09:35:14 +0000 (18:35 +0900)]
Update frameless-window.md
`-title-bar-style` => `titleBarStyle“
https://github.com/atom/electron/blob/master/docs/api/browser-window.md#class-browserwindow
Cheng Zhao [Mon, 18 Jan 2016 07:37:07 +0000 (15:37 +0800)]
Merge pull request #4138 from yamatoya/master
Add Japanes translated docs.
Takahito Yamatoya [Sun, 17 Jan 2016 16:00:28 +0000 (01:00 +0900)]
Add Japanes translated docs.
Cheng Zhao [Sun, 17 Jan 2016 06:33:28 +0000 (14:33 +0800)]
Merge pull request #4135 from atom/add-npm-start
Add npm start script
Kevin Sawicki [Sat, 16 Jan 2016 20:31:09 +0000 (12:31 -0800)]
Add npm start script
Cheng Zhao [Sat, 16 Jan 2016 16:11:52 +0000 (00:11 +0800)]
Merge pull request #4133 from yamatoya/master
Update Japanese translated docs.
Takahito Yamatoya [Sat, 16 Jan 2016 16:02:02 +0000 (01:02 +0900)]
Update Japanese translated docs.
Cheng Zhao [Sat, 16 Jan 2016 06:26:01 +0000 (14:26 +0800)]
modules.exports => module.exports
Cheng Zhao [Sat, 16 Jan 2016 06:16:22 +0000 (14:16 +0800)]
Merge pull request #4131 from etiktin/add_is_DWM_enabled
Add API for checking if DWM composition (Aero Glass) is enabled
Cheng Zhao [Sat, 16 Jan 2016 05:26:07 +0000 (13:26 +0800)]
Merge pull request #4126 from atom/add-eslint
Run eslint on CI
Cheng Zhao [Sat, 16 Jan 2016 05:24:26 +0000 (13:24 +0800)]
Merge pull request #4121 from atom/format-coffee-helpers
Format leftover CoffeeScript helpers
Eran Tiktin [Sat, 16 Jan 2016 05:18:20 +0000 (07:18 +0200)]
Add documentation
Eran Tiktin [Sat, 16 Jan 2016 04:27:44 +0000 (06:27 +0200)]
Add API for checking if AeroGlass/DWM is enabled
Resolves #1020
Cheng Zhao [Sat, 16 Jan 2016 04:12:00 +0000 (12:12 +0800)]
Merge pull request #4112 from evgenyzinoviev/resize-animate-pr
Animate window resizing on OS X
Cheng Zhao [Sat, 16 Jan 2016 03:43:15 +0000 (11:43 +0800)]
Update brightray, close #4124
Cheng Zhao [Sat, 16 Jan 2016 03:41:28 +0000 (11:41 +0800)]
Merge pull request #4129 from etiktin/fix_4127
Fix freeing asar fd on Windows
Eran Tiktin [Sat, 16 Jan 2016 01:48:07 +0000 (03:48 +0200)]
Fix Windows crash when trying to free asar fd
Kevin Sawicki [Fri, 15 Jan 2016 23:10:26 +0000 (15:10 -0800)]
Remove unneeded semicolon
Kevin Sawicki [Fri, 15 Jan 2016 23:09:25 +0000 (15:09 -0800)]
Add missing {
Kevin Sawicki [Fri, 15 Jan 2016 22:31:23 +0000 (14:31 -0800)]
Use ES6 style class
Kevin Sawicki [Fri, 15 Jan 2016 22:58:34 +0000 (14:58 -0800)]
Disable linebreak-style rule
Kevin Sawicki [Fri, 15 Jan 2016 22:43:23 +0000 (14:43 -0800)]
Lint entire atom folder
Kevin Sawicki [Fri, 15 Jan 2016 22:40:37 +0000 (14:40 -0800)]
Combine duplicate eslint keys
Kevin Sawicki [Fri, 15 Jan 2016 22:38:07 +0000 (14:38 -0800)]
Run eslint on CI
Kevin Sawicki [Fri, 15 Jan 2016 22:37:51 +0000 (14:37 -0800)]
Rename eslintrc-src to eslintrc-base
Kevin Sawicki [Fri, 15 Jan 2016 22:29:36 +0000 (14:29 -0800)]
Add back v8Util binding
Kevin Sawicki [Fri, 15 Jan 2016 22:28:12 +0000 (14:28 -0800)]
Use ES6 style class
Kevin Sawicki [Fri, 15 Jan 2016 22:15:42 +0000 (14:15 -0800)]
Use ES6 style class
Kevin Sawicki [Fri, 15 Jan 2016 22:12:57 +0000 (14:12 -0800)]
Use ES6 style class
Kevin Sawicki [Fri, 15 Jan 2016 22:02:05 +0000 (14:02 -0800)]
Lint spec js files
Kevin Sawicki [Fri, 15 Jan 2016 21:52:42 +0000 (13:52 -0800)]
Add eslint dev dependency
Kevin Sawicki [Fri, 15 Jan 2016 21:52:18 +0000 (13:52 -0800)]
Add initial eslint script
Kevin Sawicki [Fri, 15 Jan 2016 21:37:03 +0000 (13:37 -0800)]
Add initial eslint config
Kevin Sawicki [Fri, 15 Jan 2016 19:46:52 +0000 (11:46 -0800)]
Use const instead of var
Eran Tiktin [Fri, 15 Jan 2016 19:00:37 +0000 (21:00 +0200)]
Merge pull request #11 from atom/master
Update from upstream
Kevin Sawicki [Fri, 15 Jan 2016 18:29:00 +0000 (10:29 -0800)]
Remove unneeded .constructor segments
Kevin Sawicki [Fri, 15 Jan 2016 17:57:36 +0000 (09:57 -0800)]
Use util.inherits instead of CoffeeScript's extend function
Kevin Sawicki [Fri, 15 Jan 2016 17:32:57 +0000 (09:32 -0800)]
Declare vars one per line
Kevin Sawicki [Fri, 15 Jan 2016 17:30:29 +0000 (09:30 -0800)]
Use [].inclues where appropriate
Kevin Sawicki [Fri, 15 Jan 2016 17:24:53 +0000 (09:24 -0800)]
Remove unneeded [].indexOf fallback
Kevin Sawicki [Fri, 15 Jan 2016 18:17:16 +0000 (10:17 -0800)]
Merge pull request #4122 from atom/remove-cpp-lint-warning
Fix lint errors in archive.cc
Kevin Sawicki [Fri, 15 Jan 2016 18:09:19 +0000 (10:09 -0800)]
Add missing semicolon
Kevin Sawicki [Fri, 15 Jan 2016 18:05:35 +0000 (10:05 -0800)]
Use 2 space indent instead of 3
evgenyzinoviev [Fri, 15 Jan 2016 16:40:42 +0000 (17:40 +0100)]
code style fix
evgenyzinoviev [Fri, 15 Jan 2016 16:31:31 +0000 (17:31 +0100)]
arguments handing rewritten, doc updated
Cheng Zhao [Fri, 15 Jan 2016 15:58:57 +0000 (23:58 +0800)]
Merge pull request #4118 from Ivshti/patch-1
Ensure we close FD on Windows
Cheng Zhao [Fri, 15 Jan 2016 15:33:25 +0000 (23:33 +0800)]
Merge pull request #4116 from
0b61d29 /patch-1
Spelling: bellow → below
Cheng Zhao [Fri, 15 Jan 2016 15:32:39 +0000 (23:32 +0800)]
Merge pull request #4113 from importcjj/master
fix incorrect markdown tag
Cheng Zhao [Fri, 15 Jan 2016 15:24:22 +0000 (23:24 +0800)]
Merge pull request #4111 from evgenyzinoviev/movable
Added an option to prevent a window from being moved on OS X
evgenyzinoviev [Fri, 15 Jan 2016 15:02:23 +0000 (16:02 +0100)]
added a note that this option is only implemented on osx
Ivo Georgiev [Fri, 15 Jan 2016 14:54:29 +0000 (16:54 +0200)]
Ensure we close FD on Windows
Florian Hämmerle [Fri, 15 Jan 2016 12:43:44 +0000 (13:43 +0100)]
spelling: bellow -> below
Cheng Zhao [Fri, 15 Jan 2016 09:24:47 +0000 (17:24 +0800)]
Merge pull request #4082 from atom/web-contents-lifetime
Fix some junk output when running tests
Cheng Zhao [Wed, 13 Jan 2016 09:59:59 +0000 (17:59 +0800)]
Small ajustments on lifetime of webContents
Cheng Zhao [Wed, 13 Jan 2016 09:19:53 +0000 (17:19 +0800)]
spec: Group session.cookies tests
Cheng Zhao [Wed, 13 Jan 2016 09:12:47 +0000 (17:12 +0800)]
spec: Remove annoying outputs from savePage test
Cheng Zhao [Wed, 13 Jan 2016 09:07:18 +0000 (17:07 +0800)]
No need to call sender.callbacks.remove
The IDWeakMap automatically removes the key when object is garbage
collected.
Cheng Zhao [Fri, 15 Jan 2016 08:32:07 +0000 (16:32 +0800)]
Merge pull request #4109 from atom/const
[WIP] Use `const` for requires
Importcjj [Fri, 15 Jan 2016 07:26:16 +0000 (15:26 +0800)]
fix incorrect markdown tag
Cheng Zhao [Fri, 15 Jan 2016 06:27:19 +0000 (14:27 +0800)]
Bump v0.36.4