Commit Graph

418 Commits

Author SHA1 Message Date
drbob
2bf94b909a Reworking of networking code to enable Net Restart.
* Stun code now runs continually - to check external network state.
  * Udpsorter controls DHT stun is on/off. (via p3ConnectMgr)
  * added code to enable threads to join/restart 
  * enabled NetRestart for UDP and TCP.
  * tweaked networking code for faster startup (now ~30 seconds - can still be improved).
  * tweaked debug messages for testing networking
  * Added test for checking external IP address determination.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-04 23:22:44 +00:00
csoler
fc6a86b592 forgot to commit this one.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1488 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-04 09:19:32 +00:00
csoler
f9dc3b223b Started implementing flags to handle the sharing mode.
What works:
- the gui shows the flags in ShareManager
- the flags are loaded/saved to ft_shared.cfg and passed on to FileIndexMonitor
What does not work yet:
- the flags are not accounted for yet by FileIndexMonitor

In addition:
- simplified the directories dialog in Preferences, so that it calls the ShareManager instead of dupplicating the directories management 
code that becomes larger.
- setup the ShareManager to be a singleton, so as to coherently call it from different places.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-03 19:43:52 +00:00
defnax
aa1658245c update Readme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 20:38:47 +00:00
defnax
5d2da3f6c8 moved version_detail_bash_script to only linux section doesnt works with windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 17:49:11 +00:00
joss17
af0b56836f changing X509 ctx->current_cert to ctx->cert because of null pointer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 14:12:22 +00:00
joss17
96b43d893f polish string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1476 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 14:12:08 +00:00
joss17
96f2d92ee7 rewrite script to include them in the make file. Use both util/rsversion.h and gui/help/version.html for gui version information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1473 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-01 13:53:47 +00:00
defnax
19de883705 update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 23:30:23 +00:00
defnax
6868926de5 update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 23:17:24 +00:00
defnax
23240b3326 removed old readme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 22:49:24 +00:00
defnax
40a2fb8341 about label "libretroshare" doesnt helps for Peer Details and for FileTransfers doesnt needs to show label "libretroshare", sorry but when needs for some dialogs with libretroshare label then its bether like example this method:
ui.version->setText(QString("libetroshare") + QString::fromStdString(vit->second));


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 22:33:30 +00:00
joss17
6af323e6ae add version information to p3disc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 18:31:26 +00:00
joss17
e2cd8703d8 Add libretroshare label to the version detail
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 18:29:06 +00:00
defnax
d024c7673a cleaned little bit libretroshare.pro , removed not needed xpgp sections
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1456 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 15:03:43 +00:00
drbob
502183da88 Bug fixes to get the Windows V0.5.0 working.
* Missing some RsInitConfig::s
 * Updated config-mingw.mk for pgp configuration.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1454 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-31 13:11:33 +00:00
drbob
a023a0bfcd Major change to the way certificates are stored now defaults to ~/.retroshare/SSLID/
* supports Multiple Accounts on same computer.
	* Enabled libretroshare tests using Makefiles.
	* restructured RsInit functions: Config Data is now private.
	* switch OpenPGP on by default (added #define to rsinit).
	


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-30 21:27:47 +00:00
drbob
870a30eac5 Modifications for updated Windows Build.
1) mods to use miniupnpc v1.3
2) bugfix to use WriteFile instead of write under windows with gpgme.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-30 14:36:42 +00:00
alexandrut
3394239297 let hash name for partial files, use qfile link instead
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-28 15:29:21 +00:00
alexandrut
e68d874406 *redesign of dwl queue - dwls will be enqueued and picked from there;
*changes to display the dwl queue in the transfers dialog 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-28 10:21:19 +00:00
csoler
65e1c17dbd added a few malloc gards
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1444 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-27 20:52:55 +00:00
csoler
c9467a2bfe this is a fix for the file download problem. It does not correct the wrong chunk size, but it checks that the malloc returns something.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1442 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-27 20:31:56 +00:00
alexandrut
e69351dda9 small changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1434 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-26 19:00:16 +00:00
alexandrut
c7ecf8c46d add implementation for priority download queue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1432 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-26 15:00:29 +00:00
defnax
f24e2dda02 added includepath for gpgme and gpg-error
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1417 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-24 15:34:24 +00:00
defnax
16c97138e3 update version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1415 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-23 21:41:05 +00:00
alexandrut
e7b42238cb use real name instead hash name for partials for preview; hope to work now
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 21:37:51 +00:00
drbob
369bb6a5c5 Bugfixes to make pgp friend sharing work.
* added rsinit.h include so PGPSSL flag is read. (enabling ISSUER sharing)
 * extra debugging so we can see the certs being passed around.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1399 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 21:25:39 +00:00
csoler
a436053e8b windows compilation fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 20:57:18 +00:00
csoler
4685fadbeb Hope I finally corrected the connexion + one-way bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 20:14:31 +00:00
csoler
9de1c5e6e6 suppressed bug in RsTlvBinData that could return true even when the serialisation fails
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-20 22:29:05 +00:00
csoler
f7475887dc suppressed some debugging code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1393 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-20 19:28:16 +00:00
alexandrut
f98d4f080b added extension for file names in partial dir, so them can be previewed in windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1390 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-18 12:23:34 +00:00
alexandrut
d9e99a8774 add RS version on peer details panel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-17 21:41:20 +00:00
csoler
6333cc4d37 added Makefile in libretroshare/src/turtle to comply with existing build scripts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1373 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-14 13:33:14 +00:00
alexandrut
17374bf299 default name for finished downloads directory was changed from Downloads to Incoming
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-12 16:11:09 +00:00
alexandrut
990ed277bd share of incoming directory by default
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-12 13:22:31 +00:00
csoler
49e9066afb updated libretroshare.pro so that people can choose between pgp and xpgp by doing "qmake CONFIG=pgp" or "qmake CONFIG=xpgp", or directly update the CONFIG variable in the .pro to change the default behavior.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1358 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-12 12:53:49 +00:00
drbob
e9a2c24ab1 Added Authentication update... for cases where
auth fails the first time, but is okay the second.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-08 20:58:58 +00:00
ammorais
2eccbce332 Updated the RetroShare.pro, fixed problem in p3face-startup, and upnputil.c with UPNP_AddPortMapping number of parameters when compiled with miniupnpc-1.0
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1332 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-08 14:49:20 +00:00
drbob
fec470c774 Bugfix for gpg connections.
added missing files to Makefiles



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1331 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-07 21:53:06 +00:00
defnax
16de90fc8d update changens from last month to changelog, and set to new version string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-05 16:15:10 +00:00
alexandrut
0b6800a5ce exchange of what version of retroshare our friends are using
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-28 20:57:02 +00:00
csoler
bc82110c97 Restored backward compatibility in p3disc:
- created a subclass for Own item parts, which is compatible with old format.
- suppressed sending of Issuer packets when not using PGP



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-23 21:36:02 +00:00
csoler
f16c136cbb changed the order of upnp/stun and extaddrFinder to limit wrong analysis of firewalled situation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-16 18:58:42 +00:00
csoler
5e91af8be0 small bug fix about not acconting identical tunnels appropriately
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-15 20:34:34 +00:00
csoler
2ff271f810 added missing continue which caused sigsegv
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-15 07:28:23 +00:00
csoler
51eb8b8eaf added removal of turtle handling when canceling/ending a file transfer. next step: Turtle download is now ready for gui integration
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-14 19:34:22 +00:00
csoler
0a7d39d4da - improved integration with FT
- added function for properly removing handled file hashes
- tested/debugged persistence of file hashes
- tested/debugged tunnel re-digging and maintenance


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1298 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-14 18:59:42 +00:00
csoler
130d846207 - made turtle tunnel ids asymetric
- cleaned up the documentation in p3turtle.h
- update tunnel time stamp only *on the way back* to avoid unsuccessful requests to update a timestamp.
- implemented persistence of which hashes are to be handled.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-13 19:28:47 +00:00