Feross Aboukhadijeh
5dca89b61c
When player is active, and magnet link is pasted, go back to list
2016-05-19 18:56:41 -07:00
Feross Aboukhadijeh
264c035ef7
After deleting torrent, remove just the player from forward stack
2016-05-19 18:56:10 -07:00
Feross Aboukhadijeh
8f39f8a23e
After creating torrent, remove create torrent page from forward stack
2016-05-19 18:55:49 -07:00
Feross Aboukhadijeh
a29dbd7a71
Cancel button on create torrent page should only go back one page
2016-05-19 18:55:06 -07:00
Feross Aboukhadijeh
60a8969abc
Add location.url() shorthand
...
location.url() === location.current().url
2016-05-19 18:54:44 -07:00
Feross Aboukhadijeh
9747d28514
Fix bugs in LocationHistory
...
- Handles more than 2 pages in the history robustly now!
- When self._pending is true, all navigations are ignored.
- No more bug with back() being called twice too quickly.
- Remove "leaky abstraction" methods like clearPending() and pending()
- Add backToFirst() that properly unloads each page as it goes back to
the first one.
- Enhance clearForward() to support removing a specific page from the
forward stack, instead of nuking the whole thing.
2016-05-19 18:53:53 -07:00
DC
81d5a367da
Add new torrents to top and scroll to top
...
This means people who add a lot of torrents will always have their latest torrents at the top when they open the app, instead of having to scroll all the way down
2016-05-19 00:44:59 -07:00
DC
189e4bdc24
Always handle when the user opens a torrent
...
Fixes #523
2016-05-19 00:18:51 -07:00
DC
7bd30f8a16
Clean up addSubtitles ( #535 )
...
* Fix comments from #529
* Don't unlink deselected files
I still want to do that eventually, but needs to be supported in WebTorrent
See https://github.com/feross/webtorrent/issues/806
2016-05-18 02:07:24 -07:00
DC
454491572a
Remove cursor:pointer
...
Apparently that's only for websites & we want to feel native
2016-05-17 21:25:31 -07:00
DC
6518a1535c
Allow selecting individual files to torrent
...
Saves bandwidth and disk space when a torrent contains extra files you don't need
Fixes #360
2016-05-17 07:13:38 -07:00
DC
0095687bf5
Simplify subtitles code
2016-05-17 06:27:58 -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
b89deb46db
Remove debug console.logs
2016-05-16 08:35:00 -07:00
DC
d4e6c84279
Automatically add subtitle tracks
...
Currently, add all .SRT and .VTT subtitle files in the same torrent as a video file
2016-05-16 08:03:21 -07:00
DC
9731d85ca3
Simplify subtitles code
2016-05-16 03:41:27 -07:00
DC
98f7ba8931
Fix a bad bug when creating multifile torrents
2016-05-16 01:09:21 -07:00
Feross Aboukhadijeh
8eeddeb4bc
OS X: Fix magnet links throwing exception on launch
...
Push page into location right away
2016-05-15 18:02:11 -07:00
grunjol
7d64c7e308
check if the subtitle label ends with a number
2016-05-13 23:00:17 -03:00
Feross Aboukhadijeh
20c6737aba
Merge pull request #511 from feross/fix-cpu
...
HACK: OS X: Disable WebRTC peers to fix 100% CPU issue
2016-05-13 17:37:12 -07:00
Feross Aboukhadijeh
959fb20b61
HACK: OS X: Disable WebRTC peers to fix 100% CPU issue
...
HACK: OS X: Disable WebRTC peers to fix 100% CPU issue caused by Chrome
bug.
Fixed in Chrome 51, so we can remove this hack once Electron updates
Chrome.
For #353 .
2016-05-13 17:32:06 -07:00
DC
5ffa7c4465
Drag drop: subtitles only in video screen, torrents only in home screen
2016-05-13 17:15:10 -07:00
DC
461744da5b
Allow seeding torrents that contain subtitles
...
Fixes a bug in our drag-drop handling: before, it was impossible to create a torrent containing .torrent, .srt, or .vtt files
2016-05-13 16:59:49 -07:00
DC
2e0de52520
Fix torrentPath migration ( #479 )
...
Fixes #448
2016-05-13 15:18:08 -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
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
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
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
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
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
ea1c66b3fc
Reduce delayedInit to 3 seconds
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
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
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
744d38259e
Put peers before speeds, to reduce bouncing
...
When speed goes to zero, it disappears, which looks weird when it's not
the last item on the status line.
2016-05-12 16:50:58 -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
Rolando Guedes
cb8f7f53c2
Fix Cli Test fails: JavaScript Standard Style
2016-05-12 15:56:29 +01:00
Rolando Guedes
8d93641ebe
Fix Cli Test fails: JavaScript Standard Style
2016-05-12 15:47:48 +01:00
Rolando Guedes
4faf30e0a1
Fix Cli Test fails: JavaScript Standard Style
2016-05-12 15:31:28 +01:00
Rolando Guedes
ed1b27ede0
Increase/Decrease Sound with mouse wheel on video
2016-05-12 15:09:01 +01:00