Feross Aboukhadijeh
f238b2d105
VLC tweaks
...
- Start video on top, so it's not obscured by other windows.
- Don't show "video title" which is just "http://localhost:xxxx "
- return after error
2016-05-19 19:43:43 -07:00
Feross Aboukhadijeh
973a366b94
Fix the auto updater
...
I'm sorry.
2016-05-18 00:36:52 -07:00
Feross Aboukhadijeh
34a9508483
Add '...' to menu items that open dialogs
2016-05-17 22:03:17 -07:00
DC
d466ed085a
When manually adding subtitle track(s), always switch to a new track
...
Also fix a bug I added in the parent commit
2016-05-17 05:50:36 -07:00
DC
eeda7c17c5
Wait for the app ready event before creating windows
...
Fixes #524
2016-05-17 05:12:42 -07:00
DC
951a89c6c9
Add Subtitles File menu item
2016-05-16 08:21:03 -07:00
Feross Aboukhadijeh
58f1594d9e
Fix missing 'About WebTorrent' menu item
2016-05-14 01:51:47 -07:00
Feross Aboukhadijeh
6df33bc58b
remove stray console.log
2016-05-13 16:37:17 -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
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
grunjol
53209a9da3
push/unshift from submenu in linux/windows ( #504 )
2016-05-13 02:02:08 -07:00
Feross Aboukhadijeh
6468f82a7f
Small comment fix
2016-05-12 17:54:23 -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
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
dbef07e334
Merge pull request #492 from feross/accelerator
...
Shortcuts improvements
2016-05-12 16:57:48 -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
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
Feross Aboukhadijeh
868739445a
Merge pull request #489 from feross/fix-add-duplicate
...
Fix duplicate torrent handling
2016-05-12 16:47:48 -07:00
gabriel
d4c415d585
Avoid TypeError out of OS X
2016-05-12 20:09:20 +02:00
Feross Aboukhadijeh
252443a529
UX: Improve torrent status line
...
The goal of this commit is to merge the two torrent status lines onto a
single, concise line which has high signal and information density.
- Hide download speed, upload speed, and number of peers when 0,
because that's just noise.
- Remove number of files, because that information can be found by
expanding the torrent.
This also allowed the further reduction of the torrent item height from
110px to 100px.
2016-05-11 21:29:46 +02:00
Feross Aboukhadijeh
86f5a1a54e
Default window height shows all torrents
2016-05-11 21:26:18 +02:00
Feross Aboukhadijeh
0b1872fa28
UI: Reduce font size, list item height
...
- Reduce torrent list item from 120px to 110px height
- Vertically center torrent list buttons
- Reduce font sizes (torrent list, modal labels)
2016-05-11 20:49:41 +02:00
Feross Aboukhadijeh
1eb5504029
move console.time/timeEnd to same file
2016-05-11 17:56:20 +02:00
Feross Aboukhadijeh
18b126e0d2
Remove unnecessary IPC
2016-05-09 16:14:46 +02:00
Feross Aboukhadijeh
82dff65572
Merge pull request #465 from furstenheim/master
...
Allow to torrent a single file
2016-05-09 16:00:36 +02:00
Feross Aboukhadijeh
ffbd8184b5
Set sheet offset on OS X
2016-05-09 02:06:17 +02:00
Feross Aboukhadijeh
facb07cbb1
Add "Show in Folder" to context menu
...
Based on @watson's PR #463 .
Differences:
- Remove the "Open Folder" link from expanded torrent view.
- Use showItemInFolder instead of openItem electron API
- Add a separator
- Use IPC to invoke electron.shell.showItemInFolder from main process
2016-05-09 01:34:35 +02:00
gabriel
41910aea9c
Do not show torrent file option on OS X
2016-05-08 23:39:32 +02:00
gabriel
8fcfa3b97a
Allow to torrent a single file
2016-05-07 22:05:46 +02:00
DC
8ebb2349dd
External VLC on Windows
...
Turns out we can't use vlc --version because it pops up a command prompt :/
2016-05-04 04:33:35 -07:00
DC
1e487a3c2a
Use vlc-command
2016-05-04 01:48:39 -07:00
DC
291ea94a10
Cross platform VLC detection
2016-05-04 00:48:34 -07:00
DC
bde5dc14c3
Play unsupported files in VLC
2016-05-04 00:48:34 -07:00
Feross Aboukhadijeh
735851486e
remove unnecessary escape
2016-05-02 20:42:05 +02:00
DC
31ef283e7b
Create Torrent dialog
2016-04-27 02:51:45 -07:00
DC
6b70554e63
Center video on current screen ( #427 )
...
Fixes #404
2016-04-22 19:59:17 -07:00
DC
06f81ff759
Remove extra filesystem dependencies
2016-04-19 06:59:11 -07:00