Feross Aboukhadijeh
27f9bf1cc6
Windows/linux: Don't autohide top menu bar (it's important)
2016-03-25 03:33:39 -07:00
Feross Aboukhadijeh
fe5c52d1f5
Show, unminimize, and focus window after opening magnet link ( fix #210 )
...
Requires a workaround for this Electron issue:
https://github.com/atom/electron/issues/4338
2016-03-24 02:56:34 -07:00
DC
34a8afa9ec
Fix #176 : close window on OSX
2016-03-21 04:06:54 -07:00
Feross Aboukhadijeh
1022d616d2
Unpack icon files so setting browserWindow.icon works
2016-03-20 01:10:41 -07:00
Feross Aboukhadijeh
4f40e5d963
Fix Exception when dropping .torrent file onto Dock icon when app is closed
...
Fixes #154
2016-03-19 16:07:35 -07:00
Dan Flettre
b1678b71c6
ensure video is paused before hiding window
2016-03-11 01:10:39 -06:00
Feross Aboukhadijeh
3c17697aca
Merge pull request #121 from feross/logo
...
Create WebTorrent app icon
2016-03-10 14:56:28 -08:00
Feross Aboukhadijeh
7c94c4166c
Create WebTorrent app icon
...
For #120 .
2016-03-10 00:09:21 -08:00
Feross Aboukhadijeh
4fef6d00a8
main modules use require() instead of arguments
2016-03-09 15:20:28 -08:00
Feross Aboukhadijeh
713c87729a
all main modules have init() function
2016-03-09 15:15:04 -08:00
Feross Aboukhadijeh
a6e8a3462e
don't use executeJavaScript() (fix for PR #107 )
...
It’s not *that* much cleaner, but executeJavaScript() feels too much
like eval().
cc @flet
2016-03-09 02:38:59 -08:00
Dan Flettre
e686aa8d02
dispatch a pause event before hiding window on darwin
2016-03-08 22:40:51 -06:00
Feross Aboukhadijeh
6946ab3507
style improvements
...
- make torrent placeholder the exact size of a normal torrent
- make torrent list window minimum size of two torrents
- make window start out sized for 4 torrents
- increase font size responsively
2016-03-08 15:39:39 -08:00
Feross Aboukhadijeh
e399ac9285
make min window height have room for two torrents
2016-03-08 15:00:10 -08:00
DC
ff56d818f6
Torrent list styling
...
* Download button is a lot easier to read: white down arrow when off, animated and pulsating green down arrow when downloading, solid green up arrow when seeding
* Play button shows a spinner if you click play before a torrent is ready, then an exclamation point if the torrent still isn't ready after 10 seconds
* Drop target shows up always, not just when the torrent list is empty. Lights up when you drag something
* Fixed alignment, the Xs to delete torrents are now aligned with the + to add a new torrent
2016-03-08 04:20:37 -08:00
Feross Aboukhadijeh
0cca67a436
fix fullscreen on Windows
...
The win.isFullScreen() state takes a second to update so we should just
pass the state manually into onToggleFullScreen().
2016-03-07 22:22:25 -08:00
Feross Aboukhadijeh
7c68be4fd4
code style
2016-03-07 22:21:01 -08:00
DC
4b890ee9f6
Show Blender Foundation videos by default
...
* Finishes the saved torrents feature!
* Torrents load and save correctly. Poster is autogenerated only once.
* Torrents can be paused and restarted
* Download button indicates state:
- White means paused
- Pulsating green means downloading
- Solid green means finished downloading, only seeding
2016-03-07 22:15:47 -08:00
Feross Aboukhadijeh
ca68e85520
add comments for window options
2016-03-07 18:18:40 -08:00
Feross Aboukhadijeh
58d7f93ec8
Hide top menu bar unless Alt key is pressed (Windows, Linux)
2016-03-07 18:18:31 -08:00
Feross Aboukhadijeh
1ea055eb4a
show window without 50ms timeout
...
Shouldn’t be needed since @ngoldman changed the <script> tag to async.
2016-03-07 18:15:21 -08:00
Feross Aboukhadijeh
2a423a8cb3
Use config.APP_NAME throughout
2016-03-07 15:48:22 -08:00
Feross Aboukhadijeh
30ec87e7a7
windows.js: small fix
2016-03-05 17:24:09 -08:00
Feross Aboukhadijeh
06f18ccb01
Disable view menu items when window is hidden
2016-03-05 16:47:16 -08:00
Feross Aboukhadijeh
11464176cb
Start in correct full screen state
...
If the app is already fullscreen when it is loaded, set
state.view.isFullScreen to the correct state.
2016-03-05 14:56:55 -08:00
Feross Aboukhadijeh
82fc6cabe8
move config.startTime to app.startTime
...
This also captures the true start time since it runs before any
require() calls, so the time to require() will be taken into account.
2016-03-04 16:10:14 -08:00
Nate Goldman
9a0f361e14
separation of concerns
2016-03-04 13:14:22 -08:00