Feross Aboukhadijeh
7531ab4623
Simplify babel integration further
...
The "react" preset is composed of a bunch of plugins.
https://babeljs.io/docs/plugins/preset-react/
Turns out, we only need 2 of them, not all 5.
2016-08-04 21:37:53 -07:00
Feross Aboukhadijeh
9b36f9cb22
Ensure that build folder gets generated before npm publish
...
So users using `npm install -g webtorrent-desktop` will always get a
working version.
2016-08-04 21:05:03 -07:00
Feross Aboukhadijeh
29f8ef6b72
Replace deprecated react-tools with babel
...
- Switch to babel, since react-tools has been deprecated since June 12,
2015. See
https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform
-and-react-tools.html
- Move babel command to "npm run build"
- Move commands for package into "bin/package.js"
2016-08-04 21:04:49 -07:00
Feross Aboukhadijeh
7752e41416
Merge pull request #757 from feross/fix-695
...
Fix "Cannot read property 'numPiecesPresent' of undefined"
2016-08-04 15:03:16 -07:00
Feross Aboukhadijeh
756ccd1921
Merge pull request #758 from feross/fix-284
...
Allow dragging magnet links (Fix #284 )
2016-08-04 15:02:32 -07:00
Alberto Miranda
39ae0343fc
Merge branch 'master' of https://github.com/feross/webtorrent-desktop
2016-08-04 08:10:31 -03:00
Feross Aboukhadijeh
67409214a4
Allow dragging magnet links ( Fix #284 )
2016-08-03 20:26:46 -07:00
Feross Aboukhadijeh
b3d0edfec1
Merge pull request #756 from feross/electron-1.3.2
...
electron-prebuilt@1.3.2
2016-08-03 17:06:35 -07:00
Feross Aboukhadijeh
87b9dba568
Fix "Cannot read property 'numPiecesPresent' of undefined"
...
Fixes #695
2016-08-03 17:06:04 -07:00
Feross Aboukhadijeh
91a4c0cff5
electron-prebuilt@1.3.2
...
Changelog: https://github.com/electron/electron/releases/tag/v1.3.2
Nothing in the changelog fixes known WebTorrent Desktop issues.
2016-08-02 19:11:06 -07:00
Feross Aboukhadijeh
9670dc7a81
Merge pull request #752 from feross/user-tasks
...
Add User Tasks for Windows.
2016-08-02 18:57:44 -07:00
Feross Aboukhadijeh
4f2c5b946d
Merge pull request #753 from feross/rimraf
...
Use `rimraf` instead of `rm -rf` for Windows.
2016-08-02 18:52:35 -07:00
Benjamin Tan
fc53c68dd9
Use rimraf instead of rm -rf for Windows.
2016-07-31 16:36:43 +08:00
Benjamin Tan
03bc4cf9b1
Add User Tasks for Windows.
...
Closes #114 .
2016-07-31 16:29:38 +08:00
Alberto Miranda
c637878603
removed logging; restored minimist in package.js ignore list.
2016-07-29 23:01:17 -03:00
Alberto Miranda
91e61f6cd4
using icon as checkbox
2016-07-29 22:07:44 -03:00
Alberto Miranda
9f66418073
merged with latest master; using icon as checkbox.
2016-07-29 22:07:25 -03:00
Alberto Miranda
2c3d667675
Merge remote-tracking branch 'feross/master'
2016-07-29 20:49:29 -03:00
Feross Aboukhadijeh
2ab93f2309
Merge branch 'location-history'
2016-07-28 22:00:58 -07:00
Feross Aboukhadijeh
05ce20303c
fix exception
2016-07-28 20:35:36 -07:00
Feross Aboukhadijeh
5e997d1bbf
Merge pull request #748 from feross/location-history
...
Switch to using `location-history` package
2016-07-28 20:29:55 -07:00
Feross Aboukhadijeh
d95e5b02d6
Remove extra 'resetTitle' call
2016-07-28 20:10:48 -07:00
Feross Aboukhadijeh
536f04985f
Switch to using location-history package
...
https://npmjs.com/package/location-history
2016-07-28 20:07:12 -07:00
Feross Aboukhadijeh
43a81f725f
Merge pull request #747 from feross/electron-1.3.1
...
electron-prebuilt@1.3.1
2016-07-27 16:05:34 -07:00
Feross Aboukhadijeh
8373e69d09
Merge pull request #746 from feross/fix-700
...
Fix 700
2016-07-27 16:04:29 -07:00
Feross Aboukhadijeh
c5ed5fabd8
Fix typo based on @mathiasvr's feedback
2016-07-27 15:51:19 -07:00
Feross Aboukhadijeh
8ba4dadb10
electron-prebuilt@1.3.1
2016-07-27 14:49:59 -07:00
Feross Aboukhadijeh
112600f5c3
Set video title when opening VLC
...
Fix #700
The title is set with the `--meta-title` flag to VLC.
2016-07-27 14:46:39 -07:00
Feross Aboukhadijeh
c2f869b362
Use dispatch('setTitle') and add dispatch('resetTitle')
2016-07-27 14:39:22 -07:00
Feross Aboukhadijeh
2590e0effc
Merge pull request #743 from feross/f/mac
...
OS X -> Mac
2016-07-27 13:15:48 -07:00
Feross Aboukhadijeh
b417ef5b03
Merge pull request #744 from feross/f/engines
...
Add "engines" field to package.json
2016-07-27 13:15:12 -07:00
Feross Aboukhadijeh
1733a506c0
Merge pull request #742 from feross/peerid
...
Set peer ID to start with "-WD-"
2016-07-27 13:14:54 -07:00
Feross Aboukhadijeh
ac05cc4387
Use arrow function
...
cc @mathiasvr
2016-07-27 12:37:58 -07:00
Feross Aboukhadijeh
904f337713
Add "engines" field to package.json
...
Fixes #675
2016-07-26 22:58:07 -07:00
Feross Aboukhadijeh
febad56497
OS X -> Mac
2016-07-26 21:55:05 -07:00
Feross Aboukhadijeh
cb71de2313
Set peer ID to start with "-WD-"
...
To distinguish WebTorrent Desktop (WD) from WebTorrent in the browser
(WW).
See the spec:
http://www.bittorrent.org/beps/bep_0020.html
https://wiki.theory.org/BitTorrentSpecification
2016-07-26 20:20:01 -07:00
Feross Aboukhadijeh
6891ef1a0d
fix paths in clean script
2016-07-26 16:13:51 -07:00
Mathias Rasmussen
6c68645b0f
Custom external media player
2016-07-26 23:57:33 +02:00
Feross Aboukhadijeh
767ca71f7d
Update README.md
2016-07-26 01:33:24 -07:00
Feross Aboukhadijeh
1605d23509
Merge pull request #740 from feross/electron-1.3.0
...
electron-prebuilt@1.3.0
2016-07-25 16:42:08 -07:00
Feross Aboukhadijeh
90a0201e38
Merge pull request #739 from feross/fixes-738
...
Electron: Updates for Electron 1.2.8
2016-07-25 16:41:54 -07:00
Feross Aboukhadijeh
80983c2058
electron-prebuilt@1.3.0
...
Another Electron was just released. Let's bump from 1.2.8 to 1.3.0.
Changelog:
- Upgrade to Chrome 52
- Update to Node.js 6.3.0
2016-07-25 15:42:55 -07:00
Feross Aboukhadijeh
ad62bbd9d3
Linux: Support showing badge count
...
This was a macOS-only API before, but it's cross-platform now via
`app.setBadgeCount()`
2016-07-25 15:37:29 -07:00
Feross Aboukhadijeh
1b3b6fef10
Electron: Use 'quit' role
2016-07-25 15:30:02 -07:00
Feross Aboukhadijeh
6e1ff18eb9
macOS: add missing Edit menu roles
2016-07-25 15:29:53 -07:00
Feross Aboukhadijeh
5796ba32a6
Electron: Use default labels and accelerators
...
Less code for us to maintain.
This also gives us free internationalization in a future Electron
version (they'll set the label dynamically based on the 'role')
One slight regression with this change, but it will be fixed in a
future Electron once this PR is merged:
https://github.com/electron/electron/pull/6600
2016-07-25 15:21:46 -07:00
Feross Aboukhadijeh
2eb33e5f0c
Merge pull request #738 from mathiasvr/bump
...
bump versions of electron and fs-extra
2016-07-25 14:30:17 -07:00
Mathias Rasmussen
7c14d8c909
bump versions of electron and fs-extra
2016-07-25 02:18:14 +02:00
Feross Aboukhadijeh
fe4c1b0ee8
Merge pull request #733 from feross/f/application-config
...
application-config@1
2016-07-23 02:35:43 -07:00
DC
d21396c618
React: make webtorrent process easier to debug
...
Add window.client = the WebTorrent client
2016-07-22 22:14:51 -07:00