Commit Graph

227 Commits

Author SHA1 Message Date
drbob
be392405e8 * Switched to rsFiles interface for all File Information.
* added TMP p3Files class to interface with old system.
 * cleaned up old RsControl + RsIface file information.
 * removed unnecessary functions from RsServer.
 * Tweaked interfaces for ftServer + ftExtraList.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-02 16:58:13 +00:00
drbob
473f3f75f3 * Addition of new File Transfer structure. (server / search / extralist / controller)
* Fixed up variable names in p3Qblog.cc
 * Cleaned up unused BaseInfo/PersonInfo/DirInfo in rstypes/rsiface
 * added new rsfiles interface (rough outline at the moment)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@628 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-02 13:19:59 +00:00
cppenthu
eeb13e7b18 Corrected formatting
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-02 04:05:58 +00:00
cppenthu
1db82dee51 ftfileprovider.cc - takes care of getting data from a requested file
ftfilecreator.cc -- creates a file, tracks missing chunks, timed out 
chunks etc



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-02 02:36:39 +00:00
chrisparker126
93d785b8ff added revised qblog core
* added new tlv type rstlvwide key value pair for internationalisation
* profile interface method not fully implemented yet
* blog methods implemented          
* added extra constructor to facilitate extensibility (rename packet 
type)




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-26 13:08:48 +00:00
drbob
993a5e901d Added Structure/Example for Port Forwarding Service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@624 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-24 23:12:25 +00:00
drbob
b9ccbd54e8 Addition of new channels service.
* Addition of channels serialiser.
 * New channels interface.
 * Added Channels to startup code.
 * New CFG Id for serialiser.
 * Cleanup of old channels stuff from interfaces.
 * Cleanup of messages as well.
 * Changed file size to uint64_t



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-24 04:22:42 +00:00
drbob
d8def217fa removed duplicate function p3peers::CertToFile().
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-20 13:16:39 +00:00
chrisparker126
2059e102bf removing add config for qblog (no longer user pqi config for saving)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-20 13:04:43 +00:00
drbob
9f024eaee7 Changes to support the new NewsFeed.
* added interface to rsnotify/p3notify/pqinotify
 * added getForumInfo() to forum interface.
 * added virtual functions to p3distrib for event feedback.

New NewsFeed Notification.
 * Peer Connection/Disconnection.
 * Failed Certificate connection.
 * New/Updated Forums and Forum Msgs.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@616 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-20 12:38:11 +00:00
drbob
971ad4fe9b Added header files for new file transfer design.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-19 22:49:23 +00:00
chrisparker126
2a44784999 core modification for Qblog
*final modifications to qblog network messages: might need to consider 
wstring for profile kvsets tho
*update qblog core to hanldle messages
*updated interface with all methods we will ever need hopefully


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-19 21:34:13 +00:00
drbob
098851592c * Added isOnline to rspeers.h interface
Various improvements to get p3distrib Messages working:
 * Defensive programming in cachestrapper (forcing ownId on save).
 * Changed CONFIG_CACHE_ID to last -> to force correct loading order at startup
   This should be Config Files, Local Cache Files, then Remote Caches.
 * Hack to maintain existing Cache Files.
 * Improvments to forum_test.

Lots of work on p3distrib:
 * fixed nextCacheSubId.
 * Added new Msgs to Config Save.
 * Fixed Cache reload issues.
 * Overall: Enabled Forum Msg publication.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-16 20:37:48 +00:00
drbob
c47c751532 Added StartMinimised Option (-m as distinct from AutoLogin Option -a)
The core does nothing with this, but it can be used by the gui.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-14 13:22:39 +00:00
drbob
9c2558dbf0 Final changes as we head towards V0.4.09a release.
* Switched on RELEASE flag in libretroshare.
 * Added missing Mutex lock in upnphandler.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-13 23:22:20 +00:00
drbob
14bdaaf964 Added includes for GCC4.4
#include <stdlib.h>
#include <string.h>



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@596 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-13 16:02:36 +00:00
drbob
fe284b628a * Added rstlvimage.cc to serialiser (missed in other checkin).
* Added Forum ID to configuration Manager.
 * added proper startup for p3Forums.
 * updated forums/distrib interfaces.
 * Switch Auto-Login on by default.
 * switched out lots of debugging.
 * add RM libretroshare.a to top-level Makefile.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@594 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-13 15:42:08 +00:00
drbob
14dac82c85 Major work on distrib/forums system.
- Now creates Distribution Groups, with Admin + Publish Keys.
 - Distributes Groups + Public Keys in the Cache File.
 - Stores private Keys and subscribed groups in Configuration.
 - Forum Test to check basic functionality.
 - Added nullService for services that require tick(), but no instant messages.
 - removed debugging for other services (ranking/gamelauncher) 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@593 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-13 15:32:12 +00:00
drbob
602c7cc7b7 Addition of serialisers for forum/distrib
Addition of TLV for Keys, Signatures and Images



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-13 15:26:31 +00:00
drbob
e42ce13454 Add in storage of the current Data Rate to pqihandler.cc.
Add in interface for the Data Rates.
Increase DHT Bootstrap buckets to 8.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-10 00:47:24 +00:00
drbob
4a58c71f9e Added new functions to support profile and favourite files in Blog.
Added Dummy information too.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-08 18:32:40 +00:00
drbob
3b03f084fa Reorganised the Service Ids.
Services which are being designed / tested should use an Id 
  between 0xf000 - 0xffff until the messages are finalised.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-07 16:06:21 +00:00
drbob
9fbf95bf5d Added Filter to Stun Results to ensure that we only get external addresses.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-07 11:22:01 +00:00
drbob
cbd0b216a4 moved isLocalNet() etc to util/rsnet.cc
Fixed FAILURE in net_test1



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-07 11:21:00 +00:00
drbob
a827b0a839 Moved several network related functions from pqinetwork to here.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-07 11:19:09 +00:00
chrisparker126
bba3c20045 tick for Qblog service added to update server
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-06 23:40:43 +00:00
chrisparker126
5a2c0a27a2 add tick fn
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-06 23:39:05 +00:00
chrisparker126
96ce0a8eff added tick fn
cleaned up logical update behaviour, still needs fine tuning


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@578 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-06 23:38:37 +00:00
drbob
9786a2ad54 BUGFIX: use correct id for FileTransfer data.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-06 00:03:10 +00:00
drbob
dd771b9940 * Improvements to Upload information output: destination id, size and rate of last transfer
* Deletes fileCache after 30 seconds of inactivity.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-06 00:01:57 +00:00
drbob
42579f4dec Fixed warnings from -pedantic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-05 22:10:28 +00:00
drbob
9b3213a02b Chris: Don't change the paths in here. They should work as they are!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@572 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-05 21:42:01 +00:00
chrisparker126
d8bfc6d8b3 Mostly connectivity code additions
* implementation of p3config, cache functionality to p3Qblog
* added peerid (pid) attribute to rsQblog item and its serialisation
* TODO: logical updating for p3Qblog
* TODO: implement tick() so can add to server 
* TODO: test p3Qblog after addition of tick with some peers



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-04 10:59:24 +00:00
drbob
452d664b2a Added missing #includes for picky compilers (ArchLinux)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-31 13:39:04 +00:00
drbob
aa906da74a Added #includes for picky compiler (ArchLinux) mainly: stdlib.h & string.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@568 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-31 13:31:11 +00:00
drbob
9f64df3f20 added missing #include <algorithm> for std::find
(ArchLinux complained).



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-30 10:36:47 +00:00
drbob
39f4fa3d6c Modified rankings to take into account the User Score (-2 -> +2).
Scores can be based on:
	Time: Average Comment Age.
	Ranking: Sum of peer scores.
	Combo: Sum of (score * age)

These are still rather crude and could be improved significantly
if anyone is interested in trying.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-24 20:20:16 +00:00
chrisparker126
fe22d0b651 final interface, before starting on connectivity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-24 15:10:59 +00:00
chrisparker126
7d571f6e2c git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@560 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2008-05-24 15:09:51 +00:00
chrisparker126
ab4b0d0251 fixed some issues with dummy function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-18 20:25:14 +00:00
vinnyx
9cd24b315f Added network message objects for the Status service - RsStatusItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-14 10:35:12 +00:00
drbob
5913872a77 Fixed cross-platform bugs.
(1) std::map<> doesn't support .at() on OSX or Windows. (use [] or find())
 (2) u_int32_t is invalid on windows. (use uint32_t )



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-13 16:56:27 +00:00
drbob
d48205286a * Improvements to Link Cloud Service. You can now vote anonymously on a Link,
this will spread it to your friends anonymously.
 
 * Completed Mutex Locking on Connection Manager.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-13 15:41:40 +00:00
chrisparker126
b763bd5ae9 added P3Qblog to services makefile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-11 20:05:17 +00:00
chrisparker126
386a22746a added external interface
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-11 19:36:02 +00:00
chrisparker126
066ffd2447 fixed up some definition issues
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-10 21:33:07 +00:00
chrisparker126
d4b8340885 needed to make p3qblog public to rsQblog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@545 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-10 20:01:49 +00:00
chrisparker126
cb736a2d5b added initialised qblog interface
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@544 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-10 20:00:02 +00:00
chrisparker126
7d5b3af65a qblog dummy service implemented
- need to test with qblog gui
- added to make compiles fine


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-09 01:01:13 +00:00
chrisparker126
2ac5b4cc65 qblog dummy service implemented
- needs to be tested with gui
- added to make, compiles fine


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-09 00:30:29 +00:00
chrisparker126
de0ad9b68f qblog dummy service implemented
- needs to be tested with gui
- compiles fine


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-09 00:29:10 +00:00
chrisparker126
556a2f32b8 dummy service implemented, needs to be test with GUI
- added to make, compiles fine


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@537 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-09 00:27:28 +00:00
chrisparker126
f1081651e5 fully implemented qblog serialiser
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-05 20:21:22 +00:00
chrisparker126
ca861f6306 fully implemented qblog serial items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-05 20:20:18 +00:00
chrisparker126
041b1fb07c fully implemented chat serialiser
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-05-05 20:19:25 +00:00
vinnyx
3eafd7d00e Added RsStatusString() - returns a string for given status number
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-28 11:50:39 +00:00
vinnyx
26d2def720 Added status service: p3status
Added status service to core: p3face-startup


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-26 09:39:02 +00:00
vinnyx
02c6d70e30 Changed include from <string.h> to <string>
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-26 06:30:40 +00:00
chrisparker126
180c5ad542 for rsQblog service. TODO: fully implement and test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-25 18:43:23 +00:00
chrisparker126
46dd2988bb for rsQblog service, TODO: fully implement and test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-25 18:42:35 +00:00
chrisparker126
4f918b2fab add QBLOG service ID
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-25 18:37:57 +00:00
vinnyx
4e03fa5d06 #ifndef protection
global pointer to interface
LGPL header


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-24 12:26:44 +00:00
vinnyx
39eb8a3091 Interface for status service.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-24 12:11:59 +00:00
notdefine
86d191d932 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@515 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2008-04-24 08:41:07 +00:00
notdefine
57cb79a7e1 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@514 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2008-04-24 07:03:31 +00:00
drbob
77342705ea BUGFIX: Mutex remained locked if Upnp setup failed.
This caused the freezing on many people PCs.  It happened if 
	(1) Networking was set to Automatic.
	(2) UPnP was not available.

But its fixed now!




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@513 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-22 11:45:28 +00:00
chrisparker126
32cfbb8c80 add Qblogs header file for services
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@512 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-22 08:20:36 +00:00
chrisparker126
1381143133 removed pointer usage, and hid attirbutes from interface
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-22 08:19:02 +00:00
chrisparker126
100db5effc changed documentation script to gen subfolders
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@510 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-22 08:17:00 +00:00
chrisparker126
7f964076a1 new interface for retroshares QkBlog (TB renamed rsQkBlog)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-20 11:11:03 +00:00
drbob
129c07a553 Third attempt at link rank system.
* Added Anonymous links, stored in configuration file.
 * Friends recommendations are also shared anonymously with peers.
 * Own recommendations are shared with friends.
 * TODO include ranking (+2 <-> -2) in score.
 * some bugfixes too.

Added RandomId to p3service file.
Improved forum interface.
Added dummy forum system (not transmitted) for testing.
Switched on new features as well.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@505 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-15 16:35:46 +00:00
chrisparker126
2def35c6f2 script to gen rs documentation, pls comment your code JAVADOC style
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@504 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-15 12:37:31 +00:00
chrisparker126
83316559ba config file for doxygen, pls comment your code JAVADOC Style
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@503 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-15 12:36:04 +00:00
drbob
949f5ae8b8 Added net_test1 to Makefile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-15 11:25:44 +00:00
vinnyx
786e1ff65c added net_test1.cc - unit tests for pqinetwork.cc
modified pqinetwork.cc - isPrivateNet() and sameNet()


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@501 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-15 10:05:33 +00:00
drbob
a8d18793d9 removed net_test1 from tests (code not commited)
switched back to "release mode" in p3face-startup.c



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@495 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-09 15:13:05 +00:00
drbob
94371600be Fixed upnp issues
* Removed periodic Check and thread.
 * Added Shutdown.
 * switched to terminating background thread.
 * removed temporary lease.
 * A bit of a HACK - this class could be cleaned up significantly.

Adding the start of forums/channels.
 * Dummy Interface and Forum data (so GUI work can start)
 * rough p3distrib - needs a lot of work.

Added shutdown function to p3connmgr, to shutdown Upnp.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-09 12:54:15 +00:00
chrisparker126
f67a99e704 added pure virtual GlobalShutdownFn to ensure snapshots compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@483 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 22:34:43 +00:00
chrisparker126
b8d4bd5ff1 implemented global shut down function, yet to include calls to release
upnp held resources


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 20:57:36 +00:00
chrisparker126
518b696b27 implemented global shut down function, yet to implement calls to upnp
held resources


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@481 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 20:56:27 +00:00
chrisparker126
9d2255beb1 restoring original config-linux.mk file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@480 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 19:37:20 +00:00
chrisparker126
d8211ca03e restoring original make.opt file
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 19:31:20 +00:00
chrisparker126
27b37b7532 replaced original files for make.opt and config linux scripts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 19:18:09 +00:00
chrisparker126
a82af857ea added global shutdown function, need to update GUI 'quit' function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-06 17:20:18 +00:00
drbob
12d3606ad4 * Enabled saving of data rate limits.
* Fixed Lost certificates issue(!)
 * Tweaked Tick rate parameters.
 * Added new chatAvailable interface fn.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@469 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-04 12:19:50 +00:00
drbob
7f48353193 Changes for univeral build.
NB: This must be done in two parts. and then two libraries combined.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@467 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-03 18:37:33 +00:00
drbob
2a485cf6eb Final changes for Windows V0.4.06a
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-03 17:30:08 +00:00
drbob
6c90e1ad67 * HACK: fixed mem issues with file data - not ideal
* removed more debug: filedata prints.
 * removed rank/photo/games from setup for release (#define RS_RELEASE)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-03 14:34:52 +00:00
drbob
053e119e1c Added ConfigSave Indication when a Msg has been read.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-03 13:01:42 +00:00
drbob
99aab9cea4 * Memory Leak fixed in BinaryData.
* Fixed up Variable Ticking -> max = 1.0 sec now.
 * Removed debug output which was massively increasing CPU load.
 * Removed some old code from p3face-server.cc



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-03 12:51:28 +00:00
drbob
d69c2f72f1 * Fixed up various memory leaks (mainly serialiser cleanup).
* Added pthread_detach() to allow proper thread cleanup (affected ony Linux!)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-04-02 13:55:45 +00:00
drbob
a0247d39d1 Forgot this file!
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@453 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-31 21:29:17 +00:00
drbob
5e41b21cef Lots of bugfixes and tweaks:
* Switched p3Ranking to share Friends Links as well as own.
 * Modified rankmsgs to contain source id.
 * Fixed up rsNotify, added pqiNotify and global function call to get it.
 * Added notify for Bad Incoming Directory
 * Added Emergency Incoming directory so RS can keep running.
 * Added notify for Bad Packet (connecting to V0.3.X)
 * Added notify for Incomplete Packet Read (not been triggered yet!)
 * added close() to BinInterface, close on pqissl calls reset() 
 * removed exit(1) calls from pqistreamer, replaced with bio->close().
 * Increased Maximum Packet Size for HTML messages.
 * Fixed Online/Offline Message Forwarding. (TEST).
 * Increased DHT bootstrap buckets to 4.
 * Cleaned up much of serialiser debug (was slowing down Mac)
 * Added directory path to File Listings.
 * added ConvertSharedFilePath() so correct local dir can be found.
 * Added ForceDirectoryCheck() and InDirectoryCheck() for file hashing.
 * removed old TMP cache loading.
 * switched off Cache debug.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-31 14:06:59 +00:00
drbob
8d3f9a3ec6 Important changes to tighten up the connection methods:
* Switched to miniupnpc-1.0
 * modified miniupnpc to add lease duration.
 * set lease duration to 1 Hr.
 * Modified configure scripts to use miniupnpc-1.0

 * added TIMEOUT to all connections (5 sec for TCP - Important!)
 * reduced TCP offset delay to 2 seconds.
 * BUGFIX: Added missing connect_parameter wrapper function.
 * added reset to other connection methods when connection is made.
 * Added Connection Type (TCP/UDP) information to feedback/GUI

 * Increased default Data Rates: from 50/50 to 100/500 kB/s
 * Removed Default Bootstrap Ids. (only automatic now!)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-26 15:35:09 +00:00
drbob
048e84630e Changes to upnp interface to support miniupnpc-1.0
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-26 02:41:01 +00:00
drbob
6370582c9d Commented out 'Universal Binary' Options for the moment.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-24 14:20:48 +00:00
drbob
1024330b1d Increased DHT Bootstrap BINS to 2.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@410 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-23 22:41:17 +00:00
drbob
0c0147abe6 BUGFIX: Big BUG in External Port notification! FIXED.
An invalid comparison was being made - meaning the EXT_PORT_FLAG was not set.
 This can lead to failed connection attempts.

Added dht_check_peers program.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-23 22:27:43 +00:00
drbob
d335e37c8d BUGFIX: Authenticated friends were being dropped from Peer Lists at restart.
A config save is now triggered after an Authentication to fix this issue.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@408 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-23 19:29:42 +00:00
drbob
72823768bb BUGFIX: Config MetaFile, and Signature File now saved in correct directory.
BUGFIX: forceExtPort now initialised.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-23 19:11:36 +00:00