- All Peer Connection related classes will go to a module called 'connection'
- All Transport related classes will go to a module called 'transport'
- Bye bye crypto2crypto.py and p2p.py, hello connection.py and transport.py
- All static functions found on these classes that are not core to what they do but to utilitarian tasks that can be reused by other classes will be moved out of these classes and into utility modules (crypto_util.py), for example, cryptographic key handling functions don't belong on transport classes if they don't have any mention of self._properties in them, other classes can reuse, reducing the possibility of having a bug in multiple places.
- kademlia.py was unused, there was only an exception class (TimeoutError) that was moved to the routingtable module.
- major import cleanup. only importing the necessary, no unused imports.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @hoffmabc i hope you have the patience to read this, at least it'll be a nice trip back | |
| through the code, a refresher, or perhaps you can clear any missunderstandings I have | |
| made as I read the p2p code. | |
| I see the following chain of events: | |
| from the Genesis, start_node() (tornadoloop.py) may or may not have a list of peers to | |
| boostrap the p2p connections, when it creates MarketApplication (still in tornadoloop.py), | |
| which is the one listening. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Classes to look at when porting this to frostwire-jlibtorrent: | |
| TorrentInfoManipulator - goes to TOTOrrentImpl and temporarily makes the field "additional_info_properties" accesible, and creates a reference to it that can be used from FrostWire's code base. | |
| Azureus uses this "additional_info_properties" Map, at the end of torrent bencoding serialization and whatever is in it gets added to the info map. | |
| With TorrentInfoManipulator we can add whatever we want to a torrent's info map. | |
| CreateTorrentDialog: here is where it all ties up, after all the data has been gathered from the different complex ui tabs, this uses TorrentInfoManipulator to add the new properties. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A million thanks to our donors, we really appreciate it! | |
| Thanks to your support we've been able to do a lot of work, specially on android, your donations have | |
| gone towards more hardware for testing, if you haven't upgraded we strongly suggest you do, here | |
| are some of the fixes for Android: | |
| FrostWire 1.3.4, 1.3.5, 1.3.6 - AUGUST/12/2014 | |
| - Improved cloud search results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function command_exists { | |
| #this should be a very portable way of checking if something is on the path | |
| #usage: "if command_exists foo; then echo it exists; fi" | |
| type "$1" &> /dev/null | |
| } |
Just compiled libtorrent 1.0.2 for development purposes.
$ ./configure --enable-tests --enable-examples --enable-python-binding --enable-debug
$ make
$ sudo make install
python bindings are there, but when I try to import libtorrent or run the simple_client.py, I get the following error:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export CC=clang | |
| export CXX=clang | |
| export CFLAGS="-O3 -DTORRENT_USE_IPV6=1" | |
| export CXXFLAGS=-O3 | |
| ./configure \ | |
| --enable-shared \ | |
| --enable-static \ | |
| --enable-debug \ | |
| --enable-tests \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| #fetch Gravatars | |
| use strict; | |
| use warnings; | |
| use LWP::Simple; | |
| use Digest::MD5 qw(md5_hex); | |
| my $size = 90; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gource -2048x1152 --start-date 2014-08-17 --stop-date 2014-09-22 --colour-images --user-image-dir .git/avatar/ |
Download FrostWire 5.7.7 for Mac OSX now, give it a spin, lots of bug fixes and updates. http://dl.frostwire.com/frostwire/5.7.7/frostwire-5.7.7.dmg
frostwire (5.7.7) stable; urgency=high
* New: VPN connection status indicator.
* New: Stop media playback by long pressing play/pause button.
* Fix: Freeze when opening FrostWire from the first time out of
clicking on a magnet link or .torrent file.
* Fix: Bug where files couldn't be played with the main player button.