Commit Graph

204 Commits

Author SHA1 Message Date
DC
61a99508ae Clean up and document index.js 2016-03-06 21:41:16 -08:00
Nate Goldman
7fc529f3c7 Merge pull request #47 from feross/screenshot-exception
fix: no exception when screenshot cannot be made for any files in torrent
2016-03-06 11:17:33 -08:00
Feross Aboukhadijeh
f1c1c72e63 fix: no exception when screenshot cannot be made for any files in torrent 2016-03-06 11:15:00 -08:00
Nate Goldman
4545a979cb Merge pull request #49 from feross/fix-44
Unsquash the UI when window is small
2016-03-06 11:08:07 -08:00
Feross Aboukhadijeh
8b1b21c1ee Unsquash the UI when window is small
Fix #44
2016-03-06 01:03:20 -08:00
Feross Aboukhadijeh
ad88d3bf67 Merge pull request #46 from feross/persist
add persistent app config
2016-03-05 23:32:50 -08:00
Nate Goldman
96340d3255 style 2016-03-05 22:45:09 -08:00
Nate Goldman
ec56d9a642 save config on torrent.destroy 2016-03-05 22:44:53 -08:00
Nate Goldman
045f38089c add persistent app config
resolves #24
2016-03-05 22:27:47 -08:00
Feross Aboukhadijeh
530db50adc disable non-working torrents 2016-03-05 22:16:17 -08:00
Feross Aboukhadijeh
7585ddb8b5 Merge pull request #45 from feross/header-disappear
header disappear when mouse not over
2016-03-05 22:07:26 -08:00
Feross Aboukhadijeh
e0122f81e5 don't calculate styles in JavaScript whenever possible 2016-03-05 22:06:32 -08:00
Feross Aboukhadijeh
f161a7c7e7 no need to account for header in aspect ratio
Since the header floats on top of the video now
2016-03-05 21:55:51 -08:00
Feross Aboukhadijeh
85cdc522c6 header disappear when mouse not over 2016-03-05 21:55:19 -08:00
Feross Aboukhadijeh
376d656407 use web seeded sintel file 2016-03-05 21:14:25 -08:00
Feross Aboukhadijeh
1a7b69a19d fix mistake 2016-03-05 21:14:17 -08:00
Feross Aboukhadijeh
62a91e433a Merge pull request #43 from feross/header
hide header on video after mouse idle
2016-03-05 21:04:09 -08:00
Nate Goldman
7c1c430097 hide header on video after mouse idle 2016-03-05 20:33:12 -08:00
Feross Aboukhadijeh
569111d336 load torrents from state.saved 2016-03-05 20:16:10 -08:00
Feross Aboukhadijeh
1264d325d9 Merge pull request #41 from feross/client-cleanup
Client cleanup
2016-03-05 20:14:59 -08:00
Feross Aboukhadijeh
6664c92ea6 refactor torrent event handling 2016-03-05 20:08:12 -08:00
Feross Aboukhadijeh
edf3d83e2e TODO 2016-03-05 20:07:55 -08:00
Feross Aboukhadijeh
db5de7d3ad one less global 2016-03-05 20:07:51 -08:00
Feross Aboukhadijeh
617f0bcf43 export object directly 2016-03-05 20:04:59 -08:00
Feross Aboukhadijeh
c7b49ae45b renderer: Use dispatch() code path even for ipc messages 2016-03-05 19:52:31 -08:00
Feross Aboukhadijeh
c01fb66bae move renderer state into new file 2016-03-05 19:52:16 -08:00
Nate Goldman
20d88320f1 Merge pull request #40 from feross/fix-36
Add missing update() calls
2016-03-05 19:48:47 -08:00
Nate Goldman
731f15264c Merge pull request #39 from feross/fix-37
Hide player controls when mouse is still, even when not fullscreened
2016-03-05 19:47:30 -08:00
Feross Aboukhadijeh
e78716b0fa add missing update() calls (fix #36) 2016-03-05 19:33:28 -08:00
Feross Aboukhadijeh
52427dd183 Hide player controls when mouse is still, even when not fullscreened (fix #37) 2016-03-05 19:24:42 -08:00
Feross Aboukhadijeh
1b269189b7 no need for '|| 0' 2016-03-05 19:20:17 -08:00
Nate Goldman
220a3f161d Merge pull request #38 from feross/single-quotes
Use single quotes in hyperx
2016-03-05 19:07:01 -08:00
Feross Aboukhadijeh
edb16a1bf1 Use single quotes in hyperx 2016-03-05 19:02:40 -08:00
Feross Aboukhadijeh
c8a8d28473 Merge pull request #34 from feross/progress
improve progress percent & bytes display
2016-03-05 18:50:43 -08:00
Nate Goldman
2a52dbb600 improve progress percent & bytes display 2016-03-05 18:41:20 -08:00
Nate Goldman
627a6f493b Merge pull request #33 from feross/fullscreen-fixes
Fullscreen fixes
2016-03-05 18:37:19 -08:00
Feross Aboukhadijeh
69a078ad4c Header tweaks
This change does the following:

- Show the header on Linux/Windows when fullscreened, but not in the
player. Users might fullscreen the app when they’re not playing a video.
- Always show the header on OS X (even when fullscreened) since that’s
how the user will exit the video. We can work on adding auto-hiding to
it later.
2016-03-05 18:31:18 -08:00
Feross Aboukhadijeh
79c2295775 move isFullScreen check to ipc.js 2016-03-05 18:28:54 -08:00
Feross Aboukhadijeh
44b8302b6c don't resize window when in fullscreen 2016-03-05 18:14:05 -08:00
Feross Aboukhadijeh
4f1dfc8c1e style 2016-03-05 17:42:03 -08:00
Feross Aboukhadijeh
fd300ed724 Merge pull request #31 from feross/fix-26
Add alternate fullscreen shortcut ⌘+Shift+F (fix #26)
2016-03-05 17:25:44 -08:00
Feross Aboukhadijeh
beca43029d standard 2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
7eeda57b57 Add alternate fullscreen shortcut ⌘+Shift+F (fix #26)
Uses https://npmjs.com/package/electron-localshortcut to workaround a
bug in Electron (https://github.com/atom/electron/issues/1334).

We can remove `electron-localshortcut` once that bug is fixed.
2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
30ec87e7a7 windows.js: small fix 2016-03-05 17:24:09 -08:00
Feross Aboukhadijeh
a94f5ed6a2 Merge pull request #30 from feross/disable-view-items-when-hidden
Disable view menu items when window is hidden
2016-03-05 17:23:22 -08:00
DC
d1b61bdc07 Hide cursor after 2s in fullscreen 2016-03-05 17:01:20 -08:00
Feross Aboukhadijeh
06f18ccb01 Disable view menu items when window is hidden 2016-03-05 16:47:16 -08:00
Feross Aboukhadijeh
a38b27876b state.client.torrents will always exist 2016-03-05 16:26:05 -08:00
DC
098827ec78 State: put temp state directly in state, saved in state.saved 2016-03-05 16:00:41 -08:00
DC
5b383d3ed0 Split state into temp and saved
Also stop using IPC to calculate window width

Add default torrents--the Blender Foundation videos--not displayed yet
2016-03-05 15:51:43 -08:00