Commit Graph

3046 Commits

Author SHA1 Message Date
csoler
709f9b515b suppressed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 19:06:12 +00:00
csoler
dffd2ad686 suppressed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 19:01:13 +00:00
defnax
0ff9bf65f3 Added "set all to read" Button for ChannelFeed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 17:33:37 +00:00
thunder2
fc320cf1a6 Fixed drag'n'drop of shared files from the SharedFilesDialog to the CreateChannelMsg.
Enabled the usage of remote files.
Added some small const& to the code.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 00:08:20 +00:00
defnax
791d6144dc fixed to set the text align left for the statusbutton in MessengerWindow
replaced QLineEdit with a editable QComboBox for the status message

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 23:18:27 +00:00
defnax
3309d2a247 moved the Download and Play Button to a better place, to the left side.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 22:07:07 +00:00
drbob
93ad430d54 * removed some DHT debugging output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3616 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 21:57:54 +00:00
drbob
cc5fa5e5dc Fixed up BITDHT versioning.
* Advertises client as DBxxxx where xxxx is provided by using app.
  * Added COMPILE switches to enable ANONYMOUS version or remove BD portion.
  * Fixed version code.
  * Added slow increase in retry timeout, to reduce DHT traffic over time.
      now RETRY PERIOD = query age / 2  
  * initialised bdToken bdVersion etc length.
  * new bdboot.txt 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 21:57:22 +00:00
thunder2
d31cef0f11 ChannelFeed:
- Sort the ChanMsgItems of the channel by date

ChanMsgItem:
- Fixed adding all files (SubFileItem) again by pressing the unsubscribe button (only in Friend Storm)
- Enable unsubscribe button only when channel is subscribed (only in Friend Storm)
- Fixed adding files with umlauts (utf8) on Windows
- Enabled Download and Play button in ChanMsgItem, when they are enabled in the SubFileItems

ftServer:
- Added the method alreadyHaveFile for use in the GUI - recompile of GUI needed

SubFileItem:
- Added state strings like LOCAL, REMOTE, ERROR, ... for translating


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 20:39:14 +00:00
csoler
3c29434007 bug correction (uninitialized value caused SIGSEGV)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3613 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 15:49:28 +00:00
csoler
a90f332a40 bug correction. Please do not use begin ( ) from returns of a function without const & s
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3612 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 15:46:08 +00:00
csoler
4db463a4dc fixed packaging on ubuntu with DHT
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3611 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 10:54:00 +00:00
csoler
55a4d4d1e1 corrected compilation issue with Qt 4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 10:12:15 +00:00
defnax
16caca6a95 added back dhtstatus sources for gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 09:01:26 +00:00
drbob
7c54b44005 switching the DHT back on... previous bugpatch appears to have done the job.
Let me know if crashes continue.





git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3608 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 00:05:49 +00:00
defnax
79f02f7297 fixed a margin problem in ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 00:01:53 +00:00
drbob
5321c35d30 * Disabled personal signatures on Channel Messages.
* Made "ConnectCallback" more accurate.
 * Improved DHT display slightly.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3606 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 22:25:12 +00:00
drbob
0ea899de29 * Added hack to remove DODGEY peers. (This should probably be moved to libbitdht).
* NOTE about how to correctly implement Peer filtering.
 * added peerConnectRequest() when PeerCallback(success) happens... starts UDP connection.
 * Split the p3conmgr::tryConnect() functions into sub functions.
 * added p3ConnMgr functions for UDP connections.
 * Added AddifUnique(conect_address), to ConnMgr, this should reduce the number of connection attempts, by removing dups.
 * Disabled bitdht in libretroshare.pro for the moment.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3605 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 21:42:31 +00:00
drbob
20a49a59cf Improvements to DHT, to support UDP connections.
* Changed getDhtPeerAddress() / Value() function to use const *bdNodeId.
 * Filled in getDhtPeerAddress()... to support UDP connections.
 * fixed bug in bdnode:: pong msg... wasn't checking if version existed.
 * printed out version string, as part of debug.
 * added IpAddr field to bdmanager peer search data.
 * stored IpAddr from queries... when peer found.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 21:37:07 +00:00
thunder2
26491f4b73 Fixed sort of uploads and downloads by progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3603 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 20:15:52 +00:00
defnax
22b74c8e63 enabled OK Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3602 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:43:13 +00:00
defnax
f0fb3db541 Added download and play button to ChannelMsgItem, it hided by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:28:11 +00:00
thunder2
8b2fffe346 Fixed sort by size in SharedFilesDialog (again). Now use the right conversion for uint64_t for 64 bit systems.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 13:40:17 +00:00
thunder2
49320c2ed9 History Browser:
- Fixed crash on delete history items
- Threaded load of messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 23:55:11 +00:00
defnax
9c562a97d4 disabled borders for some frames to look better in cleanlooks and plastique style.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3598 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 22:42:11 +00:00
defnax
6d54bbd78c changed the header resize for Title and Date in Forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 22:29:03 +00:00
chrisparker126
fa6af9a1ca fixed channel edit problem and added some documentation for pqimonitor
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3596 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 21:48:19 +00:00
csoler
f21cc0d746 partial resurrectin of ft tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3595 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 13:14:28 +00:00
chrisparker126
9bdf222418 new msg items to store srcid/from address for rs messages
also updated tests for new rsitems

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3594 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 11:56:53 +00:00
thunder2
cfa10c6f80 Added receive time to ChatInfo - recompile of gui needed.
Use receive time for chat information to have the right order in the history (problem of time zones and wrong clocks).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3593 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 10:08:58 +00:00
thunder2
7664a82fd6 Reworked design of offline chat messages in PopupChatDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 22:42:30 +00:00
thunder2
ccaebe2fae Added missing returns.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3591 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 20:05:27 +00:00
thunder2
81a053aa1f Removed the location after the nick name in MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 19:02:53 +00:00
defnax
4cb8171bc0 changes for silvergrey stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3589 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 18:22:21 +00:00
defnax
2a3fecc27b removed the minimum size for the Status Button in MessengerWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 18:17:05 +00:00
defnax
17f48ccd61 enabled word wrap for Channel Description in ChanneMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:57:17 +00:00
drbob
05e908df12 Changes to Integrate DHT... first tests appear successful.
* Added testing stuff to libretroshare.pro, enabled UDP again,
 * fixed NO_TCP #define in p3connmgr.cc
 * Added PeerStatus() call to p3bitdht.cc to start connect to DHT address.
 * HACK change to p3peers.cc to display DHT results.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:52:59 +00:00
drbob
0ca009c4fa * reduced gap between peer addition.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3585 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:47:56 +00:00
csoler
dd93311bad had compilation fixed for these tests.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:46:50 +00:00
csoler
36337b5011 put a warnign and check in rsdiscspace when rsFiles is null
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3583 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:28:27 +00:00
csoler
d71dd2889d added safety check to ftChunkMap call to p3turtle, mainly for tests to run
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3582 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:07:29 +00:00
csoler
6fc8f8831b put some consts& around std::string in rsdir to improve performance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 20:05:09 +00:00
csoler
978528824b added missing dummy class definitions for linking test programs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3580 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:52:24 +00:00
drbob
6cf3521e0b * Extra Debugging for DHT integration.
* Moved bootstrap location from current directory to CONFIG/bdboot.txt
 * Corrected DHT OwnId.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:48:53 +00:00
drbob
90daeacc36 * added extra debugging for rs integration testing.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3578 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:43:54 +00:00
defnax
102123cc52 changed maximum height of the Button frame in CreateForumMsg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3577 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-01 19:37:56 +00:00
csoler
861dec8e0b added scrupt for brute force callof valgrind over serialiser tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:48:16 +00:00
csoler
edd5aaf87a suppressed bug in CRC32 computation of files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3575 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:44:31 +00:00
csoler
47b48769e4 simplified the code in the post download CRC check routine and removed a potential bug.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 21:02:37 +00:00
thunder2
750c1a9403 Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3573 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 20:16:25 +00:00