Commit Graph

  • 7c79c58c0d added build all bat file for windows defnax 2011-07-02 16:52:58 +00:00
  • 477aca2227 fixed compilation, and removed costly loop csoler 2011-07-02 16:24:49 +00:00
  • 8baf2dc33b Changed the "Stunner" Flags to increase the number of peers (use RS + PeerNet peers). drbob 2011-07-02 14:54:06 +00:00
  • 7d653d0aa4 Bugfixes and testing of ConnectionLogic. * Added Proxy UdpStack Restrictions for use with testing script. * Added ConnectionLogic (ConnectStateBox) to each Peer. * Wired in Connection Logic... Ask it what type of connection to make, feedback on errors. * Moved ConnectionRequest Stop/Restart to Actions (Mutex Deadlock Bug). * Added Display of ConnectionLogic to GUI. * Expect there will be other bugs, etc but hard to find at the moment. drbob 2011-07-02 13:47:44 +00:00
  • bcac21e580 Mainly bugfixes to libbitdht. * fixed a few bugs in the UdpLayer Test Classes. hard to spot one: different args for virtual fn. * Updated BitDHT Version for "Full Connections" * Increased number of remote queries that we will process (Caused lost peers in testing scripts). * Added UPDATES flag to Queries, which triggers periodical DHT callbacks. * Added Periodical cleanup of Query Potential Peers. (improves Query results). * Fixed up bdQuery debug output. * reduced MAX_QUERY_TIME from 30 minutes to 5 minutes. * Exposed DEBUG statements for when we drop RemoteQueries. drbob 2011-07-02 13:22:57 +00:00
  • a1258e5470 corrected misspelling error csoler 2011-07-02 11:48:15 +00:00
  • 0980b8a733 reverted back cache opt changes, previous commit incorrectly made to trunk instead of cache opt branch chrisparker126 2011-07-02 01:33:52 +00:00
  • 2eae48b23e fix to duplicate msgs found between cachefile being formed (caused by not marking cache opt loaded files as local or not) also missing own-msgs bug caused by not accounting for msgs created by users chrisparker126 2011-07-02 01:27:27 +00:00
  • 37a81e98ef fix to duplicate msgs found between cachefile being formed (caused by not marking cache opt loaded files as local or not) also missing own-msgs bug caused by not accounting for msgs created by users chrisparker126 2011-07-02 01:14:23 +00:00
  • 3f809b6c3a forgot to commit this csoler 2011-07-01 21:01:47 +00:00
  • e9853b655c added a signature add/remove button in connect wizard, only when gpgme-1.3.1 or greater is used, based on the availability of the GPGME_EXPORT_MODE_MINIMAL option. csoler 2011-07-01 20:47:58 +00:00
  • ff568c335b Added Top Level Connection Logic. drbob 2011-07-01 14:36:42 +00:00
  • b7cbe7045c retroshare cache optimisations including cache file optimisations chrisparker126 2011-06-30 21:21:25 +00:00
  • f45997b062 retroshare cache optimisations including cache file optimisations retroshare_cache_opt chrisparker126 2011-06-30 21:14:14 +00:00
  • e5776e7647 retroshare cache optimisations including cache file optimisations chrisparker126 2011-06-30 21:08:13 +00:00
  • 28e5f1b8f3 refactored p3chatservice move avatar declaration to p3chat header and encapsulating config methods chrisparker126 2011-06-30 20:50:08 +00:00
  • fd98b94dbd fixed early initialization of QIcon csoler 2011-06-29 22:57:35 +00:00
  • aab46a5295 Changed parameter of the methods of pqiNotify from "std::string" to "const std::string&" Stops loading of a cache in p3GroupDistrib::loadFileMsgs on shutdown of RetroShare. thunder2 2011-06-29 22:54:44 +00:00
  • 04ce05025f fixed linux compilation csoler 2011-06-29 19:13:39 +00:00
  • e6062f4513 Fixed compile on Windows. thunder2 2011-06-29 19:05:03 +00:00
  • 96ce8e9103 Restarted BitDHT official numbering. drbob 2011-06-29 18:05:42 +00:00
  • b683e663d6 Merged Changes /branches/v0.5-peernet/libretroshare/:r4237-4358 drbob 2011-06-29 18:02:44 +00:00
  • d58f838269 Cleaned up formatting, and OSX zombie debugging drbob 2011-06-29 17:08:39 +00:00
  • 79b48d5a89 Merging from branches/v0.5-peernet/libbitdht (--- Merging r4354 through r4356 into '.') drbob 2011-06-29 16:06:33 +00:00
  • 88f532db5a More improvements to bitdht. * Added BloomFilter to enable reduced search space for BitDHT peers. * Added BloomFilter tests. * Added filter checks on random searches. * Fixed up other tests, some will have to patched to make run again. * Fixed a couple of "missing returns". * added #ifdefs for some debugging. drbob 2011-06-29 15:57:23 +00:00
  • 702ff44194 added new dummy callback. Required for updated libbitdht. drbob 2011-06-29 10:46:11 +00:00
  • fff40eceac Merging branches/v0.5-peernet/libbitdht (Merging r4237 through r4353 into '.') There are many significant improvements to the DHT here. See commit logs on v0.5-peernet branch for details. drbob 2011-06-29 10:46:11 +00:00
  • ccd38a821d * Added FAIL line if peer count gets to low (restart) * Improved debugging. * reduced random search 0.2 -> 0.1 drbob 2011-06-29 10:07:09 +00:00
  • f517442989 added win32 build bat for libbitdht defnax 2011-06-28 21:09:07 +00:00
  • 2256a67dfb updated bdboot file. drbob 2011-06-28 16:43:45 +00:00
  • 564ecb44a3 updated ubuntu changelog csoler 2011-06-28 16:39:56 +00:00
  • 70ff44f9ef Lots of improvements / bugfixes to BitDHT * Added "WorthyPeerSources" to allow pinging of potential BitDHT peers. * Added SearchForLocalNet() to find BitDHT peers if local net is small. * Fixed up printing of Statistics. * Increased MIN_START_PROXY_COUNT => 10 * Improved Query Search, by extending the bucket size, but only worrying about the first N. * Delayed QueryFinish until peers have had time to respond. * Added Random Searchs 20% of the time in QueryRandomLocalNet. (increase fill of bitDht peers). drbob 2011-06-28 15:54:12 +00:00
  • 3a7f95812d Major reorganisation of bitdht library. * Moved Local Query Logic into bdquerymgr * Moved Connection Logic into bdConnectManager. * bdnode now mainly contains the low level packet/message handling and routing. * added Peer Filtering. (at bdnode level). * added Filtering to bdStore (so we won't recontact them). * added new Accounting class. * added ExtraFlags to bdPeer (UNSTABLE | ATTACHED) at the moment. * used "Similar" functions in bdSpace to detect UNSTABLE peers. * changed the "Similar" functions signatures. * added "Attached" Mode if we are UNSTABLE. * change out_of_data_peer() => scanOutOfDatePeers() much more efficient! * probably other stuff too! * probably introduced some bugs too ;( drbob 2011-06-28 11:05:35 +00:00
  • e77913914d fixed bug in search with size in MB. Caused crash due to deserialization error. csoler 2011-06-28 08:18:54 +00:00
  • a9b85c83ae Moved define of the debug output from libretroshare.pro to pqissl.cc. thunder2 2011-06-27 22:28:33 +00:00
  • f55d8f9a88 Added new accounting class (will remove stats from bdnode) drbob 2011-06-27 16:22:51 +00:00
  • 4d1ee57340 Added the basic filter code to remove dht spies. (bdfilter) Added initialisation to bdconnection drbob 2011-06-27 15:30:49 +00:00
  • 66b9f42835 Added Check for the existance of each Cache File before that are passed on the loader. This should once and for-all remove the copy file warnings - I hope ;) drbob 2011-06-26 21:43:49 +00:00
  • 1ba11dd30d stupid bug. checking against the wrong end of list. drbob 2011-06-26 19:00:14 +00:00
  • 4e56166e3f Updated tests for tcponudp. Only some of these tests are still valid. the TOU interface no longer supports multiple sockets.. all the connections are attached to the same UdpStack. drbob 2011-06-26 15:41:08 +00:00
  • 2965091b65 Enabled parameter handling for Windows. thunder2 2011-06-25 20:54:07 +00:00
  • 3c19218bec update changelog defnax 2011-06-25 17:58:31 +00:00
  • 63fe89cf49 updated ubuntu changelog csoler 2011-06-25 17:13:39 +00:00
  • e34384b590 update for the win build script defnax 2011-06-25 16:16:59 +00:00
  • 6b0dacb8c3 update version for trunk defnax 2011-06-25 16:16:02 +00:00
  • f475c4bdd6 Returned debugging to what it was! drbob 2011-06-25 12:41:37 +00:00
  • 9e420ce08e Found the CacheTransfer Killing Bug... misplaced brackets! I've also switched on the debug output so we can see when it happens. drbob 2011-06-25 11:49:38 +00:00
  • fc959a0ad6 fixed a bug in pqissl and pqistreamer. The 2nd one was responsible for disconnections and errors in GetTlvString type csoler 2011-06-24 21:44:29 +00:00
  • cc8021b0a6 updated ubuntu changelog csoler 2011-06-24 19:18:51 +00:00
  • a333b12618 Fixed the Missing Cache File bug. * Added Old Cache Storage... so these can be retrieved. * Connected up the CancelCacheFile() -> FileCancel. drbob 2011-06-24 15:10:52 +00:00
  • 690d5a4e85 Modified the Connection Code to use both the GOOD and POTENTIAL Proxies from bdQuery. * GOOD ones are used without question. * POTENTIAL ones are checked against bdSpace for Flags. * any remaining POTENTIALs are pinged to get Version Id info. * POTENTIALs are stored in ConnectionRequest and updated as results come back from peers. drbob 2011-06-24 11:05:17 +00:00
  • 874b44361b updated GUI to match changes to bdQuery data structures. Now displays GOOD & POTENTIAL proxies. drbob 2011-06-24 11:02:23 +00:00
  • ee278b45b7 corrected uninitialized value csoler 2011-06-23 19:16:10 +00:00
  • e07e8e8d48 made "." be a plugin directory for debugging only csoler 2011-06-23 18:55:15 +00:00
  • 04d16f2397 corrected display of uploaded size csoler 2011-06-23 18:54:49 +00:00
  • 27c3f10fd2 Rework of part of bdQuery. * Cleaned up PotentialPeers and Proxy Lists and handling. * Split Proxies into Good & Potential, depending on whether we have IDed them as BitDHT peers. * Added MAX len limit to proxy lists, sorted them but most recently seen. * Extended Potential List to variable length ... back to mClosest.end(). This reduces excessive pings. * added Retry Pings for potential List. * Added bdSimilarId Functions to ignore multiple ports of NATted peers. * Changed bdQuery to use bdSimilarId Fns. * Added ID updates for both Potentials and Proxies. drbob 2011-06-23 15:58:20 +00:00
  • 3455067373 moved authgpgtest.cc/.h back to src/pqi from test/pqi removed test directory in src/pqi chrisparker126 2011-06-22 23:33:43 +00:00
  • 4c7beaa5c7 Added Dht Query GUI display drbob 2011-06-22 22:48:02 +00:00
  • f12d2c46bc moved authgpg fake module to tests folder fixed ficachetest and fimontest chrisparker126 2011-06-22 21:44:40 +00:00
  • f3fbac7d77 updating tests: chrisparker126 2011-06-22 21:38:26 +00:00
  • 8e1118faf2 Various Bugfixes for connections. * Added Random Pause Periods after a failed connection attempt. (5 + 15 * rnd_f32() secs) * Corrected retry test, and increased retry attempts to 3. * allowed startConnectAttempt() to return 0 and ==> PAUSED (not DONE as before). * checks on Proxies in startConnectAttempt(). * Added checks to addPotentialConnectionProxy() - proxy is not added for DIRECT connections. - actual peer is not added for PROXY|RELAY connections. * call addPotentialConnectionProxy() with all incoming peers (massively increases the numbers). * added check that src != NULL for PotentialPeers (is allowed!). * Reduced START_RETRY_PERIOD from 10 => 5. * added various DEBUGGING and extra ERROR messages. drbob 2011-06-22 16:23:01 +00:00
  • 0b72e4e795 Cleaned up Peer States. Three Important States (DHT, Connection, Request). * Fixed up peer state display. * added Callback Error notification in GUI. * Added ConnectionRequest State Handling (and interaction with BitDHT) * Improved Testing Script with analysis scripts to find ERROR/WARNING/etc drbob 2011-06-22 13:26:57 +00:00
  • d92f368c24 Added Proper State Machine for ConnectionRequests. Finished up this part of the code. * Reworked ConnectionRequest iterations. * Added Special ConnectionRequest Callback (CB_REQUEST) * Added Extra Error codes for ConnectionRequest Callbacks. * Internal callback mechanism for connections locally started. * Fixed up Potential Proxy filtering (Must be BitDHT peer with valid version) * Added extra parameter to ConnectionRequest() Interface call. to allow start/stop. * Installed addPotentialConnectionProxy() into bdnode for incoming peers. * added find_exactnode() function to bdSpace. * added killConnectionRequest() to properly stop then - instead of letting timeout. * added ERROR SOURCE parameters and Handling, including decode helper functions. * Added WIN Networking Error code WSAINITIALISED. * Changed various ERRORs to WARNINGs drbob 2011-06-22 13:22:37 +00:00
  • 7f072e6ae5 Bugfixes for UdpRelayReceiver and removed other warnings. * Changed udprelay overload from ERROR to WARNING. * Fixed relay time initialisation bug. caused immediate timeout. * Removed lots of OSX warnings for empty loops for(;;); => for(;;) ; drbob 2011-06-22 13:13:21 +00:00
  • e877f31409 made search case insentitive, by default csoler 2011-06-21 21:08:56 +00:00
  • a28b6d0de9 made the default behavior for multiple keywords search to eb an AND between keywords (emule style) csoler 2011-06-20 22:19:34 +00:00
  • 6cbb9417ff Added Windows startup code for threads and networking. unfortunately I can't test it! Hope it works. drbob 2011-06-20 21:23:29 +00:00
  • 886b366d5c Fixed html title bug in the forum message when answering to a message in ForumMsgItem. Fixed enabled sate of the new message buton in ForumsDialog. thunder2 2011-06-20 21:19:48 +00:00
  • bb9145fc4d removed capitals from #include. drbob 2011-06-20 18:56:16 +00:00
  • a8c5e32d61 Oups, missed some compile errors. drbob 2011-06-20 18:26:07 +00:00
  • 209768a5ed updated #ifdefs for WINDOZE drbob 2011-06-20 18:05:45 +00:00
  • f759638630 * Added Relay display to MainWindow. * Updated genTestNet to make it easier to edit. drbob 2011-06-20 18:02:49 +00:00
  • 57b097edbb Added Relay Data Extraction Functions for more GUI Displays. * Bugfix in order of peers inside udprelay. * re-wrote rs_inet_ntoa to be totally thread-safe. drbob 2011-06-20 18:00:43 +00:00
  • 4fdbd09879 Added Cyril's random number generator (from libretroshare) to libbitdht. * replaced all calls to rand() by bdRandom::random_u32(), etc. drbob 2011-06-20 15:19:25 +00:00
  • c9874176b9 Tightened up DHT Peer Storage. * Force a Ping of Peers without version string. * Drop peers which don't respond (very quickly) * Only re-ping if we haven't received a packet in a while. * Fixed Peer Timeout (comparision the wrong way around) * Added Peer Drop even if there is no replacement. * reduced timeout periods. * changed LocalNet to include all BitDHT clients (temporary). drbob 2011-06-20 12:03:52 +00:00
  • 2abd787af1 * Split PeerNetQt into a MainWindow and a DhtWindow. * Added DHT query display. * Added "keepalive" messages so TOU connections never timeout. drbob 2011-06-20 09:52:31 +00:00
  • d5e61e042c Added check to catch strange DHT client versions. drbob 2011-06-20 09:48:12 +00:00
  • 2372e9f3bd Added Functions to extract DHT Query information. These functions are quite heavy (they copy lots of data) and shouldn't be used in normal programs - only for debugging / testing. drbob 2011-06-19 23:56:17 +00:00
  • 0fcf56faea some fixes for windows compile defnax 2011-06-19 18:09:39 +00:00
  • 4c3e70f0bf reordered header files for windows. drbob 2011-06-19 16:47:59 +00:00
  • 41461dcadd tweaked the headers for windows compilation. drbob 2011-06-19 12:24:05 +00:00
  • 9b7c0bc6a8 fix errors for windows. * added rswin.h at the top of udpstunner.h * fixed up comment in tou.cc drbob 2011-06-19 10:51:01 +00:00
  • ebd9809adf Updated PeerNetQt inline with bitdht changes. * Added genTestNet.py, to automatically generate scripts for a test network. * Added new flag -R for blocking proxy UDP port (unfinished). * Call ConnectionOptions to setup connect code. * Updated all the ErrorCodes. * Added extra debugging. * Improvements to Chat. drbob 2011-06-19 10:22:11 +00:00
  • 7f9c8e92c2 updated bitdht interface for libretroshare drbob 2011-06-19 10:17:15 +00:00
  • 367df69136 Added Connection Error Codes, and Connection Options. * new ConnectionOptions() interface function. * added errcode parameter to connectionCallback(). * Added AutoProxy Mode where no user interaction is required to connect 2 peers. * default Connection Options are now: PROXY only and AutoProxy. * added Lots of different Error Codes. * Error codes also include Location that generated Error. drbob 2011-06-19 10:16:40 +00:00
  • dd17fcdcda moved Plugins page little bit to the top of the settings defnax 2011-06-19 10:05:14 +00:00
  • af858223d9 moved Plugins page little bit to the top of the settings defnax 2011-06-19 09:44:42 +00:00
  • 227880b216 Major setp forward in PeerNetQt's functionality. Have demonstrated successful Direct, Proxy and Relay Comms now. Still lots to do, but getting there! * Added DhtState to NetStateBox. * Added LocalTesting flag, this lets the UdpStunner report a local address. * Completed the TOU 3 Stack routing. * Tweaked the UdpStunners so Proxy runs fast, and Dht is slow. * Push suitable DHT peers to both Stunners. * Added the UnreachablePeerCallback (hardwired to RELAY for now). * Added External Address checks for Proxy Connections. * Added slow tick() for NetState and Relay Checks. * Filled in the install/remove Relay Connection stuff. * Fixed several bugs for the display of Failed Peers. (Non-Friends). drbob 2011-06-18 18:22:53 +00:00
  • 713f512406 Found and Fixed nasty Mutex issue in udprelay. This is caused by reentrant behaviour that udprelay has to support. * Split the Relay Peer class variables into Data, and UdpPeers. * Added second Mutex to protect UdpPeers seperately. * Found silly memory leak. drbob 2011-06-18 18:11:46 +00:00
  • dec9586c04 Bugfixes to get addresses communicated properly for various cases. * Cleaned up IP Address passing. * Added Fallback to Dht Node Addresses, if now addresses were specified. * Explicitly cleaned IP addresses which are unknown at various points. * Added more debugging. drbob 2011-06-18 18:08:10 +00:00
  • 7caf2c9b1c Bugfixes for UdpRelay: * Added Printer for Relay Headers. * Added missing "ID String" in packet creation. * turned off debugging in udpstunner. * Found bad Mutex Issue, with udprelay code. have to fix! drbob 2011-06-18 16:27:36 +00:00
  • 0706b133a7 Fixed my last commit. thunder2 2011-06-18 08:40:20 +00:00
  • ce90ea4495 PluginManager: Fixed compile under Windows. Removed CloseHandle of GetModuleHandle. Added missing return when the function entry of the plugin is NULL. Fixed checking for the extension ".dll". thunder2 2011-06-18 00:58:09 +00:00
  • 6e633e419a Added flag for coverage profiling to tests updated services tests - added chat and forum test skeletons chrisparker126 2011-06-17 20:57:58 +00:00
  • cbb3b4587f Fixed reaction of the checkbox "web of trust". Now the list of unvalid gpg keys is shown or hide directly after the click. Fixed calculation of the unread messages in MessagesDialog. The starred messages was not counted as unread. Set some tree widgets to allColumnsShowFocus. thunder2 2011-06-17 20:51:05 +00:00
  • ed24033323 removed not needed gui plugins defnax 2011-06-17 20:04:10 +00:00
  • e6f2d22a8c added settings page for plugins. csoler 2011-06-17 19:59:01 +00:00
  • 3c93d21b34 fixed LinksCloud Plugin csoler 2011-06-17 19:57:13 +00:00
  • f6001770b1 fixed plugin .pri file for windows and ubuntu csoler 2011-06-17 18:55:59 +00:00
  • e0f6899e01 added dlopen method for windows. To be tested. csoler 2011-06-17 18:51:22 +00:00