Commit Graph

712 Commits

Author SHA1 Message Date
csoler
7fd5c7ad4b restaured priority queue methods, and made better context menues.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 23:25:00 +00:00
csoler
7b35b7dc6a added some more robust tests in certificate creation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 20:41:55 +00:00
csoler
a70b106005 - added NETWORK_WIDE flag to remote dir model download
- added file priority strategy based on which files are requested first. This provides:
	- equal file speed for files with equal (source,priority)
	- effective priority speed for file of same source but different priority
- removed state variable load/save from turtle, as it's not needed anymore (FileRequest re-opens tunnels as needed)
- manage availability per peer instead of per file type: direct peer ids always assume file availability, while turtle tunnels don't

I still need to make the download queue work, and code this gui for it.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 20:40:21 +00:00
csoler
0266420798 added a member in RsThread that indicates the id of the thread currently owning the lock, for debugging purposes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 19:34:31 +00:00
joss17
8bfd696430 solve a bug with gpg signature summary
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2119 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-24 22:20:13 +00:00
csoler
fb1e030cb6 corrected missing return, added some debug printfs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-24 13:59:22 +00:00
csoler
76cce0c7d2 improved peer name info in cachestrapper, gence improving dir names in file lists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-23 21:38:38 +00:00
csoler
0e7f9df638 made contextual menus in FT more contextual, added info about transfer type and chunking strategy, load/save of transfer flags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-22 23:23:37 +00:00
csoler
09acb717a0 added a debug ifdef to GPG stuff to remove printfs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2110 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 23:01:48 +00:00
joss17
79d95fdc63 fix a bug with gpg id details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2108 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 22:05:26 +00:00
joss17
5d863f6243 reduce the reading access to gpgme
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2107 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 22:04:20 +00:00
csoler
f42489d8e6 changed name of turtle tunnels into a more explicit and less losy name ;-)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2103 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 12:33:01 +00:00
csoler
e2b807aad7 added regular cleaning of inactive chunks and slices, so that they can be treated by a different peer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 12:31:00 +00:00
joss17
f481dbef59 add include for latest gcc. Comment usleep fonction in tou_net.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 22:02:43 +00:00
joss17
074671af29 don't send an empty gpg key in p3disc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 21:41:21 +00:00
joss17
5fd9dba515 fix null pointer to string in authgpg save certificate to string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2098 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 21:15:14 +00:00
joss17
fcb92631fb clean the cert only when manually inserted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2092 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 22:06:42 +00:00
joss17
c0acb71136 add the clean cert routine for gpg certs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 21:44:59 +00:00
joss17
abf19c964a don't send gpg key when all the ssl childs are on no disc or when we got no ssl child of it
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 19:17:21 +00:00
joss17
b4d89ccd94 ask disc info when adding a new friend
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 19:15:22 +00:00
joss17
e4b7ee7766 fix a bug to connect to own gpg key
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 19:12:27 +00:00
joss17
b617dcd1f7 removing of own gpg key as friend when not necessary
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 13:09:11 +00:00
csoler
10b7726e55 suppressed a bug in signature length computation. Old certs are still valid (because of a if I added), but wont connect to new ones, so users should update from now on.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-18 22:44:18 +00:00
joss17
ac580a6c07 add location to account detail at startup, and improve the peersdialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-18 22:44:09 +00:00
joss17
af68fa36ce add key generation at startup if no gpg key found
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-18 12:30:54 +00:00
csoler
3afd4442c9 forgot flag in ::alreadyHaveFile()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2059 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 23:51:46 +00:00
csoler
02234325cc fixed startup password handling, so that it wont ask for passwd again, hence preventing deadlocks when the gui is running
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 22:03:33 +00:00
csoler
e70e995894 added functionnality to complain when a download is initiated over a file already in download, or in the HD
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 15:42:26 +00:00
joss17
5618d145a9 accept connection from our own key
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 12:24:58 +00:00
joss17
3f22602b6c adding a deleted ssl friends persistence in p3disc to avoid getting back a friend we just deleted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-15 21:09:25 +00:00
joss17
0318e73917 fix a bug when removing friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-15 19:43:00 +00:00
joss17
0d06dbe55b change the removing af dummy friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2049 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-15 19:42:15 +00:00
joss17
de1f223d7d add a test for connection establishement
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-15 19:41:29 +00:00
joss17
5349ab101a Revert "Ad a friend right upon connection when necessary. Removed two core mutex to do that, it might be dangerous, we will see"
This reverts commit 430b13ab7d12b0911e072887c8347b6855d173af.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2042 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 22:50:27 +00:00
joss17
e2cc7213a3 Ad a friend right upon connection when necessary. Removed two core mutex to do that, it might be dangerous, we will see
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2037 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 01:33:56 +00:00
joss17
8d002a1566 add a ssl check that the peer isn't already connected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2036 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 01:33:36 +00:00
joss17
0291c94702 fix windows compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:39:14 +00:00
joss17
a51df4ba6b accept own locations
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2034 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:38:36 +00:00
joss17
79ead807a2 fix a compilation bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:37:38 +00:00
joss17
810481c8b7 add more explicit param names
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:37:15 +00:00
joss17
a38799a98e add a gpg debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:36:02 +00:00
joss17
37cf2e98a2 remove boost call
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-14 00:35:16 +00:00
joss17
3863b8c173 solve a bug with dummy friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:35:27 +00:00
joss17
38df8b54a6 change mutex lock in authgpg to avoid deadlock
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2028 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:34:47 +00:00
joss17
c45582738e send just connected peer info to all others
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:34:28 +00:00
joss17
115a80045e implementation of p3disc with new gpg key management
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2026 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:33:54 +00:00
joss17
54c7f8b81a implement the remove friend for gpg key, and improve the tranfer of ip address from a dummy peer to a normal peer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2024 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:32:05 +00:00
joss17
018b84a1e1 change the design of the connect friends wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:30:44 +00:00
joss17
c6edff7df8 change the cert to gpg + some ssl details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:29:21 +00:00
joss17
72d9eb2aef solve a bug in the load list af connect mgr
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:27:07 +00:00