Commit Graph

860 Commits

Author SHA1 Message Date
csoler
6cf65eb9fb corrected handling of null strings in RsTlvBase::GetTlvString()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2766 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-23 13:42:01 +00:00
csoler
fd5523ae0a suppressed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-23 13:13:36 +00:00
csoler
f04535522f added security check against malformed packets
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2763 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-23 12:57:39 +00:00
csoler
3cca133e1c added a security check to avoid core dump when a bad p3discReply packet is received
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-22 21:31:14 +00:00
csoler
91f3aabdfe included patch for openssl-1.0.0 compatibility
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2748 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-21 08:54:10 +00:00
csoler
d7f555ff5c corrected other mismatched free/delete in avatar items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 14:30:53 +00:00
csoler
4b49ef34ec corrected mismatched free/delete in avatar items. Might have caused random crashes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 14:15:30 +00:00
csoler
76144c89e8 removed double definition of fingerprint
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2733 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-19 21:32:26 +00:00
csoler
97359c93f9 - Fixed deadlock when asking for GPG passwd with gpg callback during session.
- Added a method lockAllEvents()/unlockAllEvents() to remove timer updates in RsAutoUpdatePage
- Updated passwd message to be more user-friendly
- removed some warnings in authgpg.cc

- Trunk to branch portage:

  2703: added commandline option '-U' to allow user to access different profile 
         - in the situation where autologin is enabled 
         - BUG found (or rather autologin induced it), if one asks to make friends to a 
  	     peer (in ConfCertDialg) 'within' a session that uses autologin it freezes 
  
  2697: add the internal counter mutex lock. Move the code of the rw mutec to the rsthreads.cc file
  2696: fix a code bug
  2695: add a read / write lock and refactor authgpg with it
  2694: Add own key to p3disc clients


WARNING: this commit needs a clean compilation




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2732 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-19 20:17:33 +00:00
joss17
9eccfef9c1 Fix a bug when adding a cert
Conflicts:

	libretroshare/src/pqi/authgpg.cc

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2730 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-19 11:42:59 +00:00
joss17
976cafe564 add commentary for openssl 1.0 compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2714 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-15 09:36:04 +00:00
csoler
504d6654b2 ported trunk commit 2689,90,91,92 into branch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2701 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-10 14:53:18 +00:00
joss17
9f7e9517a6 block the notify callback of authgpg when the main windows is launched
Conflicts:

	libretroshare/src/pqi/authgpg.cc

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-08 19:27:44 +00:00
joss17
12050089da Add own key to p3disc clients
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2684 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-05 19:51:00 +00:00
csoler
ae09f71d59 added -D_FILE_OFFSET_BITS=64 to allow compilation on lucid i386
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-05 14:11:15 +00:00
csoler
1901ac10ef updated rsversions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2678 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-04 14:46:11 +00:00
csoler
c307d8bb9a added a state message for examining files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2672 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-03 16:04:35 +00:00
csoler
37124b0f9c suppressed notify callback in main thread, resulting in deadlock, and explicitely askes for queued message passing for notifyError
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2666 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-29 19:08:53 +00:00
joss17
4aaf6feffa update timings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2656 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 19:33:33 +00:00
joss17
15e85e50f0 change the timings and add some randomness for tcp connections
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 19:33:17 +00:00
csoler
f0e1d2afc3 corrected one nasty bug due to missing return
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 18:56:30 +00:00
csoler
9abbe935b3 added security to fd management, corrected bug causing bad fseeks
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2651 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 10:03:44 +00:00
csoler
a7358e060a suppressed some uninitialized memory reads
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-27 15:44:18 +00:00
csoler
d246ff2d7b suppressed uninitialized memory read in file transfer, also made the TransferDialog more secure
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2643 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-26 22:41:13 +00:00
csoler
058f965b71 cleaned some debug text, suppressed a few memory leaks
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 21:46:41 +00:00
csoler
3b1006bfa4 fixed a bug in download queue when ticking inactive files. Added a checkbox for showing cache transfers. Cleaned the dialog cleaning method.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-21 15:35:20 +00:00
csoler
20fd24d7b8 suppresed bad lookup in _queue causing SIGV
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-21 13:50:11 +00:00
csoler
589711d482 cleaned the config->Transfers tab, made the default chunk strategy combobox effective.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-17 21:10:10 +00:00
csoler
8305fe0bf7 - fixed copy/paste of RS links in public and private chat
- cleaned the code for anchorClick() in private chat
- added return false for FileRequest of already have files
- suppressed sources when the file is complete, in TransfersDialog.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-17 15:01:00 +00:00
csoler
1d016a6ceb added proper close for file transfers. This drops down the number of FDs from 250 to ... 50 svn status
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-16 13:33:49 +00:00
csoler
a914e463d3 added missing locks, that caused random crashes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-16 12:42:52 +00:00
joss17
09b2633b01 avoid sending bad gpg cert in p3disc
Conflicts:

	libretroshare/src/services/p3disc.cc

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2557 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-15 19:14:43 +00:00
joss17
e9d42e1965 improve the recieving of bad gpg keys
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-15 19:13:43 +00:00
csoler
928a06c17e trunk/branch uniformisation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2552 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-15 16:26:41 +00:00
joss17
814c06eb7a increase udp ttl
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2542 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-14 19:08:43 +00:00
joss17
7de56f3b1f change ssl binary encryption to aes debug code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-13 11:48:05 +00:00
joss17
2abed326bd change ssl binary encryption to aes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-13 11:47:24 +00:00
joss17
acaeeff4a4 lower connection attempt timings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-13 11:46:41 +00:00
joss17
bbbd23387f put UPNPBase under LGPL
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-13 11:46:19 +00:00
joss17
796fcfad3e Fixed original mistake
- changed bob's logic by mistake hence configs file were not being written

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-13 11:45:54 +00:00
csoler
11ce908e15 fixed the pause system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2529 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-12 23:29:50 +00:00
csoler
b4d8c398ce made branch v0.5.0 to stabilise the dev of v0.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-12 20:15:27 +00:00
csoler
5e0c8e062e bug correction: avoid reading deleted pointers by moving saveDone() after the next line
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-11 14:14:55 +00:00
joss17
a208efdaf9 fix a bug in the double file configuration loading
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 16:19:28 +00:00
joss17
63c41801c9 error message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 16:19:05 +00:00
chrisparker126
6054890725 Fixed config forward compatibility problem
- note to self: C++ binary file not same as C binary file 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 14:08:52 +00:00
csoler
5f7486f160 added proper dynamic suppression of sources from chunkmap, and updated the gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-07 14:42:13 +00:00
csoler
144669e672 suppressed debug msg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2494 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-06 23:37:42 +00:00
csoler
9e469d8baf Added proper dl queue behavior
- suppressed old DwlQueue class
	- turned mDownloads into a list of pointers to allow easy cross-info update between queue and std::map of downloads
	- added queue functionality for moving files top/bottom/up/down
	- added the necessary functions in rsFiles

Put back display of exact sizes in FileTransferInfoWidget

Suppressed some warnings.

**Warning**: this commit requires a make clean.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-06 23:29:47 +00:00
joss17
da095482db restrain ip list exchange in an attempt for bug solving
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2490 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-06 17:34:04 +00:00