DC
2e0de52520
Fix torrentPath migration ( #479 )
...
Fixes #448
2016-05-13 15:18:08 -07:00
Feross Aboukhadijeh
4002392b7f
Merge pull request #508 from feross/fix-handler
...
Windows: Fix handler registration for development version of app
2016-05-13 14:45:01 -07:00
Feross Aboukhadijeh
ee4b84fc11
Windows: Fix handler registration for development version of app
...
Closes #497 .
2016-05-13 14:24:22 -07:00
Feross Aboukhadijeh
90a0ce4a4d
Merge pull request #507 from feross/fix-is-production
...
Fix isProduction() detection
2016-05-13 13:38:41 -07:00
Feross Aboukhadijeh
80faba8234
Fix isProduction() detection
...
In the renderer process on OS X, config.IS_PRODUCTION was always true
because process.execPath is to "Electron Helper", so the detection
regex was being overly specific.
2016-05-13 13:29:25 -07:00
Feross Aboukhadijeh
ac0574a473
Fixes for PR #486
2016-05-13 13:21:31 -07:00
Feross Aboukhadijeh
792e3430f1
Merge pull request #486 from rguedes/soundwheelvideo
...
Increase/Decrease Sound with mouse wheel on video hover
2016-05-13 13:18:56 -07:00
Rolando Guedes
9e33be0ab1
Undo spaces changes
2016-05-13 21:05:26 +01:00
Rolando Guedes
c343c008ed
Undo spaces changes
2016-05-13 21:02:35 +01:00
Feross Aboukhadijeh
6405be5144
Merge pull request #506 from feross/update-deps
...
OS X: Bounce the Downloads stack when download completes
2016-05-13 12:26:52 -07:00
Feross Aboukhadijeh
db743daae5
Merge pull request #505 from feross/update-deps
...
Update deps
2016-05-13 12:25:27 -07:00
Feross Aboukhadijeh
290a25c393
OS X: Bounce the Downloads stack when download completes
...
(If the download is inside the Downloads folder.)
2016-05-13 12:25:03 -07:00
Feross Aboukhadijeh
6589e134b3
code style
2016-05-13 12:23:59 -07:00
Feross Aboukhadijeh
a2aa5e4271
electron-prebuilt@1.0.2
2016-05-13 12:09:03 -07:00
Feross Aboukhadijeh
205e2eb551
dlnacasts@0.1
2016-05-13 12:02:24 -07:00
grunjol
53209a9da3
push/unshift from submenu in linux/windows ( #504 )
2016-05-13 02:02:08 -07:00
Feross Aboukhadijeh
2a23611c5f
Merge pull request #502 from feross/add-mpg
...
Add .mpg video extension to supported list
2016-05-12 20:32:41 -07:00
Feross Aboukhadijeh
cb71913cbe
Add .mpg video extension to supported list
2016-05-12 20:16:12 -07:00
Feross Aboukhadijeh
836d7c6664
Use Array.prototype.includes
2016-05-12 20:14:24 -07:00
Feross Aboukhadijeh
4cef9f2911
Merge pull request #499 from feross/fix-fullscreen-button
...
Fix for overflowing captions icon
2016-05-12 17:57:51 -07:00
Feross Aboukhadijeh
0913988d53
Merge pull request #498 from feross/fix-volume-drag
...
OS X: Volume slider nub should not move window
2016-05-12 17:55:01 -07:00
Feross Aboukhadijeh
6468f82a7f
Small comment fix
2016-05-12 17:54:23 -07:00
Feross Aboukhadijeh
fd0fc769b1
Fix for overflowing captions icon
...
Closes #467 .
2016-05-12 17:54:16 -07:00
Feross Aboukhadijeh
e5b648dfc6
OS X: Volume slider nub should not move window
...
Before, grabbing the volume slider nub would move the window.
2016-05-12 17:23:51 -07:00
Feross Aboukhadijeh
7701c5f097
remove unused css
2016-05-12 17:11:11 -07:00
Feross Aboukhadijeh
e5eddce868
Merge pull request #495 from feross/osx-fullscreenst
...
OS X: Make controls use full window in fullscreen
2016-05-12 17:10:34 -07:00
Feross Aboukhadijeh
72f917a744
OS X: Make controls use full window in fullscreen
...
This bug was subtle. Basically, on OS X only, we use
window.setAspectRatio() to make the player window match the video size.
But this is maintained even in fullscreen mode, which makes the window
actually not use up the fullscreen, and there are black bars above and
below the video player controls, which looks really weird.
Unset the aspect ratio in fullscreen mode, then set it again upon
leaving fullscreen mode.
2016-05-12 17:09:10 -07:00
Feross Aboukhadijeh
0b82c83d44
style: remove extraneous parameters
2016-05-12 17:09:10 -07:00
Feross Aboukhadijeh
602654cc1d
Merge pull request #494 from feross/perf
...
Improve app startup time by ~350ms
2016-05-12 17:06:23 -07:00
Feross Aboukhadijeh
350bed53a3
Perf: Send 'ipcReady' before all requires (300ms improvement!)
...
This improves the time to the main window showing by 300ms on my
Macbook 12"!
Before: ~800ms
After: ~500ms
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
840754fb59
Perf: Lazy load srt-to-vtt and languagedetect
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
ed46583226
Perf: Send 'ipcReady' as soon as possible
...
This slightly improves app startup time
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
93252d430e
Delay calling tray.init() and handlers.init()
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
bfd09a058e
Small style tweaks
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
b1a7543d37
Perf: Use electron.* getter inline, rather than upfront
2016-05-12 17:00:34 -07:00
Feross Aboukhadijeh
39195fe8c4
Rename auto-updater.js -> updater.js
...
To remove confusion between Electron autoUpdater and our autoUpdater
module.
2016-05-12 16:58:18 -07:00
Feross Aboukhadijeh
ea1c66b3fc
Reduce delayedInit to 3 seconds
2016-05-12 16:58:18 -07:00
Feross Aboukhadijeh
f35eb73d50
Refactor auto-updater.js for lazy loading
...
By removing the upfront electron.autoUpdater, we can delay loading it
until init() is called.
2016-05-12 16:58:18 -07:00
Feross Aboukhadijeh
c99af4718e
Perf: Inline electron.* usage
...
Apparently, electron.* is actually a getter, so whenever a component of
electron is referenced for the first time, it's require()'d. So, there
are theoretical performance benefits to not declaring all electron.*
upfront.
Instead of:
var autoUpdater = electron.autoUpdater
Just use electron.autoUpdater directly when needed.
2016-05-12 16:58:18 -07:00
Feross Aboukhadijeh
dbef07e334
Merge pull request #492 from feross/accelerator
...
Shortcuts improvements
2016-05-12 16:57:48 -07:00
Feross Aboukhadijeh
969ad64c47
Merge pull request #493 from feross/fix-screen
...
Remove require('screen')
2016-05-12 16:57:42 -07:00
Feross Aboukhadijeh
5dd5e8661b
Remove require('screen')
...
This is deprecated usage and was just removed in Electron v1.
2016-05-12 16:57:09 -07:00
Feross Aboukhadijeh
5c9265fc99
Move Escape keyboard shortcut to shortcuts.js
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
1deab08d38
Playback menu: Add "Play/Pause" item
...
The goal here is to remove shortcut handling from the renderer and
unify it all in menu.js and shortcuts.ks (for alternate shortcuts).
I would rather name it "Play" and change to "Pause" when video is
playing, but Electron doesn't support this (yet).
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
3d6da99e8e
Bug: Space key triggers power save block from torrent list
...
Hitting Space from the torrent list should not cause power save to be
blocked.
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
2005ee4d0b
shortcuts.js: Consistent exported method naming
...
Exposed methods whose sole purpose is notify the module of an event
firing, should start with "on".
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
c99da2ccaa
Remove Window menu on Linux and Windows
...
The Window menu is apparently an OS X only convention. I couldn't find
a single app on Windows or Linux that had this menu or even a
"minimize" menu item.
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
4bffb6634c
Add Playback menu for playback-related functionality
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
504aca747d
main/menu.js: minor refactor
...
Just some code cleanup to make menu.js more internally consistent.
- Name the electron.dialog returned value `selectedPaths` which is more
accurate.
- Move the file menu into the `template` object, like the rest of the
menus. Then reach in afterwards for OS-specific tweaks.
2016-05-12 16:52:13 -07:00
Feross Aboukhadijeh
2085312c34
Merge pull request #490 from feross/smaller-ui
...
UI tweaks: Reduce font size, list item height, single torrent status line
2016-05-12 16:51:20 -07:00