Commit Graph

600 Commits

Author SHA1 Message Date
joss17
324b51e250 improve udp stun and upnp collaboration
Conflicts:

	libretroshare/src/libretroshare.pro

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1749 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:35:12 +00:00
joss17
e7273b0453 change the getStateVariable method
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:34:51 +00:00
joss17
79e02eb221 remove unused include
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:34:28 +00:00
joss17
b167fbe587 add missing letter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1746 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:34:10 +00:00
joss17
333a9d31ee add missing slash
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1745 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:33:54 +00:00
joss17
4fe1bd8801 Remove miniupnp and add libupnp code
Conflicts:

	libretroshare/src/libretroshare.pro

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 00:33:40 +00:00
joss17
b6c2b6897a add gpg engine name log output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1743 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-28 21:10:35 +00:00
joss17
173ae69b9f solve configuration bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-28 18:08:17 +00:00
joss17
8db756eda3 removed useless log
;

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:50:55 +00:00
joss17
c00928a349 change back the engine setting. Now it should work with gpg1 and gpg2
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:50:30 +00:00
joss17
c1df0e1c1d remove debug defines
Conflicts:

	libretroshare/src/libretroshare.pro

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:48:46 +00:00
joss17
6f7b21944c fix the length of the encrypting ssl passphrase
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:48:31 +00:00
joss17
62452ed3c5 add gpgme error output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1737 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:48:11 +00:00
joss17
8a67100ebf set gpg2 engine for gpgme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1734 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:46:56 +00:00
joss17
af3e43ce4e code cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1732 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:46:17 +00:00
joss17
96fd660065 code cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1731 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:45:58 +00:00
joss17
a6029d69db change ssl password encryption to non symmetric
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1730 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:39:47 +00:00
joss17
9132dcf700 code cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1729 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:39:14 +00:00
csoler
500b996ff5 fixed core dump issue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-05 20:16:37 +00:00
csoler
5af018912b finished modification of previous commit about notifying changed about own status msg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1720 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-05 19:55:17 +00:00
csoler
798f6026cc fixed exchange of custom strings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-04 22:27:42 +00:00
csoler
97400a74ef - fixed the update of avatars in the various chat dialogs
- added a "peer is typing" function to the group chat.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-30 22:30:57 +00:00
csoler
dee82c5f1b - fixed up avatar exchange between peers
- reverted preceding commit about PNG/JPG in popup chat dialog. This only concerns internal data representation and this string has nothing to do with accepted image formats.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1704 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-30 20:53:18 +00:00
csoler
396058c665 - ported commit from v0.4.x to integrate new RsAvatarItem code
- suppressed compatibility with old avatar transmition code
- added code for storing and sending a custom status string (for e.g. saying "I'm not here now") in p3ChatService
- added code for sending group chat status messages "peer is typing". Not fully functionnal yet.

Warnings: 
- this commit breaks the compatibility for avatar transmission
- the new avatar transmission is not fully working yet




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-29 20:37:20 +00:00
alexandrut
e929b419f4 bugfix with rehashing already shared files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-28 20:31:09 +00:00
joss17
36a534b85d add includes for linux
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-26 19:17:32 +00:00
defnax
6d178d00cf added forgotten Path Defines UPNPC_DIR , GPG_ERROR_DIR, GPGME_DIR for linux-g++ section
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-26 18:09:34 +00:00
alexandrut
4e4d0cb54a replace raw with tlv string functions for better visibility
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1664 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-19 17:36:29 +00:00
alexandrut
ca4b4dde5e hope this fix the new bug with exchange of rs version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-16 19:42:00 +00:00
csoler
b1434fc86b removed call to rand() which lacks entropy on windows. Replaced by own congruency generator.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-11 14:32:06 +00:00
drbob
821855d16e * Added extra forum sorting method: Last Post.
This will hopefully be more useful than the existing ones.
	Extra childTS field was added & populated.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 21:15:12 +00:00
csoler
a3b8ed76f5 corrected small display bug of location
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 20:15:38 +00:00
csoler
95a577ccd0 Integrated turtle download to all kind of user-requested downloads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 20:14:43 +00:00
csoler
64a06fd0bb fixed core dump issue where AuthSSL::VerifySignBin() is called with NULL parameters. Still, this should not happen.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-09 11:22:44 +00:00
drbob
3b3c7c7ba4 * Bad loading by TlvString - fixed.
* Enabled extra debugging in rstlvtypes as extra check



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 23:41:57 +00:00
drbob
6842115258 Disable wide char stuff, until it works on windoze.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 21:30:59 +00:00
drbob
0f99826623 * Major tweak to the serialiser: shifted size to 32bits to handle bigger packets. This will break compatibility.
* Modified tlvitems to support future expansions.
 * added random tlv test functios.
 * added dummy Wide Directory functions to rsdir (for the future;)
 * Fixed Mutex Bug in fimonitor.
 * added netiface_test for hiberation / net change testing.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 20:18:43 +00:00
csoler
05676e4399 changed separator for file cache format, added tmp file to avoid file damage
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 19:47:50 +00:00
csoler
67d2fac2df restored forums workign state. Sorry for that, I introduced this bug myself in commit 1394
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 18:31:00 +00:00
joss17
6b63f511e3 add debug info when ip address is set to an unknown peer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-06 19:52:48 +00:00
csoler
52db2c4428 attempt to fix win compilation for defnax
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 18:45:00 +00:00
defnax
d2b3458f2b added for MSYS compile releated changes by default its disabled
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 17:23:58 +00:00
csoler
57ba727b6a fixed win32-x-g++ compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 11:59:42 +00:00
defnax
4ea523306b changend OpenSSL dir name for Windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1594 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 02:12:30 +00:00
csoler
26db7ada52 restored accounting for LAN transfer rates. See also trac ticket #60
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-04 20:31:25 +00:00
csoler
82f33acf6f fixed win32-x-ubuntu compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-03 20:51:12 +00:00
csoler
be59ccf135 win32 fix for large file support
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-03 20:43:18 +00:00
joss17
070bc5bdd3 Revert "removed useless initAuth"
This reverts commit 19e73391f92581fb6b7ce3216e8bd23bd143e9ec.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 21:12:05 +00:00
csoler
6de5024634 corrected bug in conversion char * (from gpgme) into string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 19:31:10 +00:00
joss17
d00a33ca14 add warning log info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1585 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 19:20:46 +00:00
joss17
055f9141a6 removed useless initAuth
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 19:20:15 +00:00
joss17
674a6dc719 remove log sslPassword
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-02 17:49:28 +00:00
csoler
76fe07e428 added missing return in error case handling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-01 19:48:18 +00:00
csoler
acb1000ef2 corrected potential bug due to double destruction of rsItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-31 20:54:42 +00:00
csoler
2597e6a61e added large file support
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-29 18:55:13 +00:00
alexandrut
10d44a15b8 -add support for searching and display directories
-downloading directories from search dialog not implemented yet
-needs more code clean and beautify the directory tree

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-25 20:49:50 +00:00
csoler
3c09b4f2d2 added regexp search to turtle router
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1564 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-25 12:04:43 +00:00
joss17
6db7ae1fe5 add error handling. Maybe some code review ciould be a good idea
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:44:54 +00:00
joss17
1bb1aa0fc5 add return when decrypting went wrong
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:44:32 +00:00
joss17
0a28f35eea encrypt and decrypt ssl password
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1550 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:43:19 +00:00
csoler
a293a39d1b - Integrated the turtle search and download to the gui. Now the search handles both friend and turtle searching.
- added a console in config->server->F2F routing to be able to visualize turtle routing statistics

WARNING: this is not complete yet. The fllowing still needs to be done:
- detect duplicates in search results between turtle and friends search
- RegExpr search does ot work with turtle (still to code).
- search does not search own files. Is this really needed after all ?



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-16 20:10:53 +00:00
csoler
dfeaed705b corrected potentially harmful uninitialized memory reads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-14 07:28:58 +00:00
joss17
0043af68c1 changed ctx->current_cert into X509_STORE_CTX_get_current_cert(ctx) according to steve@openssl.org
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:10:43 +00:00
joss17
f95755641e improved version_detail sript
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:10:19 +00:00
joss17
ab07042510 Revert "changing X509 ctx->current_cert to ctx->cert because of null pointer"
This reverts commit 7dbe821174ad65db5b22ecebec1e8ae5f356239b.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1528 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:09:58 +00:00
csoler
243af3ffee fixed some mutex bugs and some pointer access bugs in the FileIndexStore
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-12 22:06:11 +00:00
csoler
2807a778e8 ensured early creation of cache directories to avoid "Cannot copy file" bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 20:00:08 +00:00
csoler
7b534ba299 - added a pointer controller to findex to avoid RemoteDirModel to incidentally request for deleted pointers.
- suppressed auto-collapse of directories when updated.

Still To do:
	- auto-update QTreeView in PostMod() to avoid display inconsistencies.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 19:43:51 +00:00
csoler
cf2343105b Improved RemoteDirModel interactivity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 18:14:55 +00:00
csoler
d78ee60e30 suppressed debugging info to get back to fast directory browsing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1518 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 17:01:23 +00:00
csoler
cb5f22a5c6 Share Flags
- now, only files with the NETWORK_WIDE flag are searchable by turtle hopping.

	Next move:
	    - integrate turtle search in default gui.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 19:44:45 +00:00
csoler
45618c39c5 comment correction
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 19:04:02 +00:00
alexandrut
339fcd53ed add persistence to download queue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 19:01:27 +00:00
csoler
a808ab9173 Share Flags
- 1st attempt at displaying share properties in the SharedFlagsDialog.
	- added share flags in DirDetails structure in place of Rank, that is not used anymore.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 18:55:49 +00:00
csoler
792ddf1d25 Share Flags
- own directory browsing is now done through FileIndexMonitor. This allows:
	- to browse shared directories independently of their flags
	- to update files as they get hashed (yeah!)
- still to do:
	- turtle requests should respect the share flags



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1507 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 20:00:25 +00:00
csoler
4157321000 Share Flags
- now only the directories with flag "browsable" on are dispatched to friends
  - when switching flags, directories are re-sent to friends

Still to do:
  - turtle search only files with "Network wide" flag on
  - test what happens when 2 directories have the same base name
  - display own directories by calling FileIndexMonitor instead of FileIndexStore

Warning: at this time, directories that are not browsable do not appear in the Files dialog under "my directories".



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 16:32:31 +00:00
csoler
6928b3c426 fixed core dump (double delete) when getFileData fails
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1504 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 15:55:31 +00:00
drbob
60349baf9d * Fixed certificate saving bug. (authssl.cc)
* added cert->issuer to external interface (rspeers.h)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 13:06:24 +00:00
drbob
6e5d2f43d8 This is a little experimental modification to the TCP/UDP listening ports.
* Modified bind calls to attach to 0.0.0.0:XXXX instead of specific
    IP:Port combinations. This will help connectivity when RS chooses
    the wrong interface.
  * These changes are within #defines so they can be easily reverted.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-06 10:46:37 +00:00
defnax
c14572b13e update readme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1497 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-05 18:35:41 +00:00
defnax
0930dbf8f2 set new miniupnpc version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1496 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-05 18:27:05 +00:00
drbob
2dfb95ad13 Fixed code to compile under windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-05 16:35:07 +00:00
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
alexandrut
9b7d486d6c bug fixing when storing incoming and partials directory
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-11 21:41:42 +00:00
csoler
211acc6adf suppressed file download memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-11 08:09:08 +00:00
joss17
646603d71d new computing for download and upload rate. No more indiv rate settings
Merge branch 'maxUploadRate'

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-08 17:09:00 +00:00
csoler
3d6697e28b win32 compilation fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-04 19:30:19 +00:00
csoler
48218e98cb turtle tunnel management
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-06-03 18:47:14 +00:00
joss17
a26206cfbb gcc44 compliance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1283 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-28 19:41:03 +00:00
joss17
7b4c7384b5 Merge branch 'gcc44'
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-27 20:59:48 +00:00
csoler
1046bdd846 First commit for the turtle download. It works without perturbating RS traffic, but still needs some (internal) smoothing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-26 21:42:45 +00:00
defnax
c298de7f15 removed pqistrings header from libretroshare project file doesnt needed more
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-26 15:37:17 +00:00
drbob
d4b52a59e5 Major bugfixes to get PGP authentication finished.
* p3disc now exchanges "Issuer" (pgp) certificates as well.
 * additional types for rsdiscitems.h
 * Bug Fix for NULL packet in p3service.cc
 * allow unauthed SSL certificates to be added in AuthSSL - otherwise cant add new friends!
 * only save authed SSL certificates.
 * fixed ref/unref of PGP keys in AuthGPG
 * added Mutex protection to AuthGPG
 * added PGP reloading when key is imported, or signed.
 * Fixed PGP key signing.
 * added Additional field validLvl to RsPeerDetails.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-25 11:38:47 +00:00
drbob
387b7bae6a * Fixed up SSL peerIds and gpg password stuff.
* PGP version compiling / running on OSX now.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-24 10:33:08 +00:00
drbob
edd13ba38a Missed these files from libretroshare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-23 17:40:35 +00:00
drbob
5f28f76b07 * Addition of openpgp support!
This is not enabled by default. Instructions to enable are at the end of msg.

This is 60% complete. Supports creation of certificates, adding friends and connections.
Parts still to do: pgpids, p3discovery, signing and trusting peers.

The main reason it is being commited is so that connections between peers can be 
properly tested, and development on OSX and win can start.

This requires gpg and the gpgme.h development libraries, and no longer 
requires the custom ssl libraries.

To compile it switch the configuration flags in scripts/config-linux.mk

To compile XPGP (v0.4.x) enable PQI_USE_XPGP:
#PQI_USE_SSLONLY = 1
PQI_USE_XPGP = 1

To compile SSL only, enable PQI_USE_SSLONLY:
PQI_USE_SSLONLY = 1
#PQI_USE_XPGP = 1
 
To compile OpenPGP, disable both:
#PQI_USE_SSLONLY = 1
#PQI_USE_XPGP = 1

and enable RS_USEPGPSSL in rsiface/rsinit.h




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-23 15:07:35 +00:00
csoler
79388588b0 added missing BIN_FLAGS_READABLE to pqistore constructor calls
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 20:18:03 +00:00
csoler
2bf79b663d added missing BIN_FLAGS_WRITABLE
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 19:54:33 +00:00
csoler
f73c925507 added a missing return after deletion of membio in case of fail read (error handling)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 15:38:02 +00:00
csoler
c996915bd1 suppressed double item deletion that happens rarely (error handling case)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-13 15:30:11 +00:00
drbob
02fc02d23c Modified (all I hope) remaining pqistream -> pqistore for cache file save/loads.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-12 21:55:50 +00:00