Commit Graph

125 Commits

Author SHA1 Message Date
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
drbob
246bd80190 Changes to build system to support universal binaries on MacOSX.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@400 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-22 14:34:53 +00:00
drbob
247e583a35 Addition of a new Automatic DHT Bootstrap system. This will need to be tweaked as the numbers of users increase.
* hashed keys are posted to specific DHT entries, to create a series of bootstrap lists.
 * these are fetched as needed to bootstrap new clients.
 * Modified Bootstrap monitor program.

Created a minimal backup bootstrap list (temporary)
Added "-e" option to commandline to force 'external port' mode
Bugfix for multiple connection methods, could kill an active connection.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-03-21 19:06:34 +00:00