Feross Aboukhadijeh
b8bdf65514
Use subtler UI sounds ( #945 )
...
* Use subtler UI sounds
Fixes #858
* Second round of volume tweaks
2016-09-22 14:42:43 -07:00
Feross Aboukhadijeh
1c0c3d07ff
Merge pull request #949 from feross/f/state
...
State cleanup, rename, & tweaks
2016-09-22 23:41:01 +02:00
Feross Aboukhadijeh
832980eb9a
Update Electron to 1.4.1 ( #955 )
...
Changelog: https://github.com/electron/electron/releases/tag/v1.4.1
(Should fix the Spectron console issue that @dcposch reported.)
2016-09-22 14:39:32 -07:00
Feross Aboukhadijeh
7c158e9f2c
Rename events to be consistent
...
- Make State.save() always throttle calls -- since that's the common
case.
- Immediate saves are now the exception, with State.saveImmediate().
- The function is called State.save(), so the dispatch event should be
'stateSave'.
2016-09-22 14:25:57 -07:00
Feross Aboukhadijeh
a98d22ed72
code style
2016-09-22 14:20:58 -07:00
Feross Aboukhadijeh
63b7d34e29
Merge pull request #954 from omrilitov/master
...
use arch to determine OS_SYSARCH
2016-09-22 23:07:20 +02:00
Omri Litov
67ae6061aa
use arch to determine OS_SYSARCH
2016-09-22 23:29:02 +03:00
Feross Aboukhadijeh
a8a861260e
main: Start loading state before app is ready ( #952 )
...
As mentioned in
https://github.com/feross/webtorrent-desktop/pull/827#discussion_r799219
59
We should load the state outside the app.on('ready') handler so there's
a chance it's ready by the time 'ready' fires.
This improves startup time by roughly 50ms on my Macbook 12".
2016-09-22 03:00:40 -07:00
Feross Aboukhadijeh
fc879d5801
Update electron-packager to v8 ( #946 )
...
* electron-packager@8
* package: updates for electron-packager 8
2016-09-22 02:42:43 -07:00
DC
2d2645e642
Integration test: announce list windows screenshot
2016-09-21 23:58:42 -07:00
DC
8e66f641ce
Integration test: default announce list changed
2016-09-21 23:58:21 -07:00
DC
82c49b5fc5
Integration test: yet another round of fixes
2016-09-21 23:58:21 -07:00
DC
b57ee73035
Integration tests: extra wait in test-audio
2016-09-21 23:58:21 -07:00
Feross Aboukhadijeh
ed8f493b8b
Merge pull request #950 from feross/f/config
...
Make config static, not dynamic
2016-09-21 22:46:30 +02:00
Feross Aboukhadijeh
9e853027da
make config static, not dynamic
...
I don't think we should dynamically generate the config object -- it
makes it harder to figure out what's going on.
2016-09-21 13:08:32 -07:00
Feross Aboukhadijeh
1e05487acd
state: Use dispatch instead of direct call
2016-09-21 11:48:23 -07:00
Feross Aboukhadijeh
167da9dfd5
Double wait time until quit
...
On my modern Macbook 12" I've run into "Saving state took too long.
Quitting.". We have users with spinning disk drives, so let's be a bit
more generous.
2016-09-21 11:46:41 -07:00
Feross Aboukhadijeh
46e138a376
state: Use debounce to throttle saves
2016-09-21 11:46:00 -07:00
DC
853db922f1
Integration test: windows screenshot fuzzy diff
2016-09-20 23:53:00 -07:00
DC
7bf51b11ee
Integration test: screenshot timing
2016-09-20 23:51:38 -07:00
DC
3a286ae978
Integration test: wait for next song
2016-09-20 23:51:38 -07:00
DC
82245f0b5c
Integration tests: README
2016-09-20 23:51:37 -07:00
DC
802a898394
Integration tests: offline by default
2016-09-20 23:51:37 -07:00
DC
2200fffa1e
Fix integration tests on Windows
2016-09-20 23:51:37 -07:00
DC
f4b2e78e72
Fix Delete Data on Windows. Fixes #935
2016-09-20 23:51:37 -07:00
DC
ad1162c7de
Integration tests on Windows
2016-09-20 23:51:33 -07:00
DC
ed4daeb560
Integration test reliability
2016-09-20 23:49:45 -07:00
Feross Aboukhadijeh
927ae16e4f
Merge pull request #941 from feross/dc/perf
...
Fix a sad, sad bug that resulted in 100+MB config.json
2016-09-21 08:18:48 +02:00
Feross Aboukhadijeh
917c89542b
Merge pull request #944 from feross/buble
...
Replace babel with bublé
2016-09-21 08:18:27 +02:00
Feross Aboukhadijeh
39570bd4d7
Replace babel with bublé
...
Pros of bubel over babel:
- No configuration (a la standard)
- Runs twice as fast, for quicker development
- Converts everything to ES5 (which is likely to be faster than ES6,
untested)
- Easy to swap Babel back in -- low commitment
Cons:
- Less battle-tested than Babel, but recommended by React core
developer so probably not too bad
- No babel plugin support, but we're not using that right now anyway.
Can switch back to babel if we need that later
BEFORE:
$ time npm run build
> webtorrent-desktop@0.16 .0 build /Users/feross/code/webtorrent-desktop
> babel --quiet src --out-dir build
npm run build 3.07s user 0.27s system 115% cpu 2.902 total
AFTER:
$ time npm run build
> webtorrent-desktop@0.16 .0 build /Users/feross/code/webtorrent-desktop
> buble src --output build
npm run build 1.38s user 0.16s system 114% cpu 1.343 total
2016-09-20 15:21:17 -07:00
DC
f368dfad81
Fix a sad, sad bug that resulted in 100+MB config.json
2016-09-19 22:31:26 -07:00
DC
205e17cc83
Merge pull request #937 from feross/dynamic-window-min-height
...
make WINDOW_MIN_HEIGHT use existing values
2016-09-19 19:30:05 -07:00
Dan Flettre
4e052c8059
make WINDOW_MIN_HEIGHT use existing values
2016-09-19 16:48:12 -05:00
Dan Flettre
0afecd6063
Merge pull request #827 from feross/window-position
...
remember window position
2016-09-19 16:04:46 -05:00
DC
41511c5615
Integration test: use /tmp
2016-09-18 19:17:07 -07:00
Feross Aboukhadijeh
b9d39e3c64
changelog
2016-09-18 03:03:45 -07:00
Feross Aboukhadijeh
c1f482a950
Fix app DMG image
2016-09-18 02:58:39 -07:00
Feross Aboukhadijeh
e424031ad9
Windows build path fix
2016-09-18 02:58:36 -07:00
Feross Aboukhadijeh
f43dc2fc98
Fix windows path rename
2016-09-18 02:11:23 -07:00
Feross Aboukhadijeh
9cdc73edce
0.16.0
v0.16.0
2016-09-18 01:56:59 -07:00
Feross Aboukhadijeh
3d254fa075
changelog
2016-09-18 01:41:01 -07:00
Feross Aboukhadijeh
ed1e43015e
Merge pull request #931 from feross/detect-arch
...
Add 64-bit Windows build
2016-09-18 10:37:05 +02:00
Feross Aboukhadijeh
e6cbbd73f0
Fix silly typo
2016-09-18 01:35:20 -07:00
Feross Aboukhadijeh
67dff7b38c
Add sanity check
2016-09-18 01:33:51 -07:00
Feross Aboukhadijeh
ced67176a3
add changelog
2016-09-18 01:29:14 -07:00
Feross Aboukhadijeh
00ac8afe64
About window: Show 32-bit vs. 64-bit status
2016-09-18 01:22:16 -07:00
Feross Aboukhadijeh
a6964c4495
Change file name inside RELEASES-ia32 to match renamed file
2016-09-18 01:07:45 -07:00
Dan Flettre
aedbc3c32f
remember window position
2016-09-18 00:29:37 -05:00
DC
6541291e0d
Integration test: address PR comments
2016-09-17 20:35:54 -07:00
DC
711d274398
Integration test: mock cast, remove loading bar
...
This lets us use exact screenshots with no transparency.
2016-09-17 20:35:53 -07:00