Commit Graph

2341 Commits

Author SHA1 Message Date
csoler
7072ea5d92 final debian package tweak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-27 20:31:50 +00:00
csoler
44cfc288c5 added missign INCLUDEPATH in ubuntu package
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3229 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-27 18:50:07 +00:00
csoler
0c5f3fd444 updated ubuntu base directory structure
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-27 16:47:10 +00:00
csoler
0267e9f469 updated debian scripts to build the retroshare-nogui executable as well
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3227 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-27 16:37:28 +00:00
csoler
7649a8d554 merged trunk commit 3225: restored the retroshare-nogui executable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-27 16:32:50 +00:00
csoler
a00e311dd6 Merged
- trunk commit 3204:cachestrapper checks for physical presence of own
						cache files if they don't exist they are not saved
						p3distrib: don't refresh cache if file not written
						successfully
	- trunk commit 3205:still have to clean pending pub msgs and pointer deleted when sent.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3208 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-25 19:57:35 +00:00
csoler
f28792c1d5 Corrected two harmful bugs in tunnel connexion code:
- added a destructor to RsTunnelDataItem, to remove a memory leak on all data packets.
- apparently the code would allow data items of zero size, hence calling malloc(0), which
  has undetermined behavior.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-22 21:05:56 +00:00
csoler
240459c316 turned constructors into static functions, to avoid the need of exception handling, and thus treat errors correctly on windows
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-22 20:29:59 +00:00
csoler
1c9bcb53e8 removed deadlock situation in data multiplex
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-21 19:00:00 +00:00
csoler
10565a1fe7 ported trunk commit 3153: put generic turtle packets into data queue in pqistreamer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3155 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-17 17:55:58 +00:00
csoler
1892a87ceb corrected missed update of peer info when connected. Disabled setting peer connexion IP from p3disc info (does not make sense, and leads to errors)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3151 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 20:03:32 +00:00
csoler
9bac4ea41f removed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3149 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 18:59:28 +00:00
csoler
aa15f95907 modified the update system for address lists, so that the list is totally replaced (and not merged) when it comes from the peer itself. This helps cleaning wrong addresses
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3148 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 18:58:45 +00:00
csoler
a38ae6241e corrected bug responsible for mixing IP lists between peers of same GPG id (connection attempt to other peer responded with connection to oneself). Added additional debug info in p3disc.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3143 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 21:21:39 +00:00
csoler
dac2dce479 updated version number
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3111 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-11 18:38:27 +00:00
defnax
c2d186e5e8 update changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3109 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-11 11:15:11 +00:00
defnax
776b14bbbc update version and revision
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3108 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-11 10:28:27 +00:00
defnax
ab292906ee fixed translation for a transfers column, there was a enter after translation text.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3106 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 13:45:49 +00:00
csoler
36b0a9ee84 removed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3103 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 13:15:33 +00:00
csoler
9004aa79f0 Made a pass on the code in p3disc. Corrected some bugs:
- suppressed an unwanted return in packet treatment
	- prevented sending info to a peer about itself
	- changed askInfoToAllPeers() such as not to discard info from peers with
	  NODISC flag (because we especially need info for these)
	- enabled receiving p3disc info even if p3discovery is disabled. Indeed,
	  disabeling p3disc is a measure of protection, so it should limit the
	  export of p3disc info, not the import.
	- removed test discarding info about dummy friends, because it is useless
	- don't discard info about peers that have the NODISC flag (meaning that we
	  especially need info for them)
	- added safety check about received GPG keys. Before we relied on this test
	  being performed by p3ConnMgr::addFriend()
	- added some debug info



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 13:14:09 +00:00
csoler
22f07fcc66 put correct (i.e. non conservative) size for RsDiscReply packets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 12:53:30 +00:00
csoler
9e72fb31e6 suppressed debug mode
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 12:51:28 +00:00
csoler
f9ad63f74a moved operator<<(ostream&,sockaddr_in) to rsnet.h, as it is used at different places
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3099 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 12:39:14 +00:00
csoler
a9953c081c suppressed temp debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 22:42:30 +00:00
csoler
737a4d0917 corrected bug in rsdiscitem that prevented RsDiscReply packets to transfer cp serialiser/rsdiscitems.cc ../../../../trunk/libretroshare/src/serialiser/rsdiscitems.cc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 22:23:28 +00:00
csoler
15f5f1f359 fixed compilation on archlinux
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3083 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 20:40:47 +00:00
csoler
27943d2e8c ported trunk commit 3078: bug correction in chat smiley substitution
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 18:23:28 +00:00
csoler
c94a5c4e67 switched ip addr finder to on by default (users seem to request it, and its not harmful)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3077 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-06 12:59:31 +00:00
csoler
0f8fae8344 automatic removal of file lists from deleted peers, at restart (After double check that this does not alter exchange of file lists in any way)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3071 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 19:10:30 +00:00
csoler
790ba02350 suppressed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 19:07:19 +00:00
csoler
d28c1f7cb7 set heartbeat values to intermediate values
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3069 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 19:06:21 +00:00
csoler
0095976d21 added verification for file size computation (bug correction)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3068 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 19:05:18 +00:00
csoler
2da2e29fdb augmented the heartbeat parameters, to reduce the stress on connections. Seems to help a lot when the traffic is high.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3047 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 20:33:27 +00:00
defnax
5b2afbc466 update
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3038 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 22:08:26 +00:00
defnax
f3b77bb481 update changelog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3037 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 20:59:56 +00:00
csoler
aafcf99c36 updated scripts to automatically setup version numbers in the source code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3036 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 14:23:14 +00:00
csoler
926dc8d78f updated version numbers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3035 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 14:07:44 +00:00
csoler
39969cd342 Suppressed the possibility for browsable only files to be searched by hash from turtle router.
This avoids that an attacker that captures a broadcast hash request can also ask for the file.

This needed to add back explicit sources in SearchDialog and private chat transfer. I dynamically search
for sources in file lists just before calling FileRequest.

When RS links anchorClick() will work properly with Qt, we can remove the search flag "EXTRA" from the
tunnel digging in p3turtle.cc, otherwise, people having this bug can't transfer files in private chat by
copy+paste of a RS link.

Also:
	- added missing mutexes in search requests into fimonitor.cc
	- suppressed some debug info in connect manager
	- added check for write fails when dumping config files



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3026 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 13:10:32 +00:00
csoler
6aded9f4e7 suppressed package dependency on gpg-agent
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3025 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 12:35:29 +00:00
csoler
6dce8aba18 updated doxyfile to list sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 07:36:34 +00:00
csoler
7343a7f03c ported trunk commit 3012: Fix discspace for OSX
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 14:06:03 +00:00
csoler
b9deaf1ea3 - added failure tests for fwrite. Some where missing.
- added a test against the IP 1.0.0.0, which pops up on MacOS (when the peer is not connected to the internet?)
- put some additional debug messages.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3017 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 13:57:44 +00:00
csoler
c87fbfe2cb Ported trunk commits 2968 2969 2972 2979 2986 2992 2993: implemented a free disk space checking method, with a warning when running low. Set the default to 50MB. Updated the message to be more explicit (thanks Chris)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-26 20:32:44 +00:00
csoler
971431bfa1 suppressed debug messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3007 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-26 19:52:38 +00:00
csoler
d6bb8f5f00 fixed proper sorting of IP lists.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2989 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-24 12:12:31 +00:00
csoler
88018d4512 suppressed debug messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 22:16:20 +00:00
csoler
cb535dd73d cleaned the code in IP address lists management. Removed some bugs. Changed the strategy a bit: only keep the most recent port for identical ips. Changed the interface of extAddrFinder to make it mroe secure.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2981 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 22:14:13 +00:00
csoler
f78e25521b put back an exit when the local address+port are already in use. Otherwise this corrupts file lists, config files etc.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2952 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 20:05:31 +00:00
csoler
a63b5262d8 cleaned up some desastrous code in rsdiscitems.cc, causing crashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 20:04:23 +00:00
csoler
ffd1d15ad4 fixed win32 compilation issue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2948 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 11:33:18 +00:00