Commit Graph

1901 Commits

Author SHA1 Message Date
thunder2
eccdba153e Ask for custom string in MessengerWindow and PeersDialog only when ssl contact is connected, like the avatar.
There are too much unnecessary internal SendItem's for the offline ssl contacts.

Maybe this should be handled in libretroshare. For every call to p3ChatService::sendAvatarRequest and p3ChatService::sendCustomStateRequest with currently no data available, a RsItem as created and sent. This is unnecessary, when the contact is offline.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3347 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 21:14:25 +00:00
defnax
bbd3902bbe Added for Private Chat Attachments to display for each rs link with file size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3346 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 15:31:30 +00:00
defnax
0abfbbb911 Added a splitter to Privat Chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3345 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 14:58:53 +00:00
defnax
cfc17398dd added Picture Preview Thumbnail patch for Privat Chat from xiaohan and fixed little design improvements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 12:30:06 +00:00
leander-256
4bb4fc11e2 This intimidating patch renames libretroshare/src/rsiface/ to
libretroshare/src/retroshare/

All the relevant headers have been modified to reflect that change.

This allows installation of libretroshare on a system, headers will
be put in $WHEREVER/retroshare/ and we keep the ability to compile
against them, be it on the system or in the SVN tree.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 09:40:23 +00:00
thunder2
cfd4eaad37 Small optimizations in MessengerWindow and PeersDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3336 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-03 12:35:26 +00:00
thunder2
6000233267 Fixed compile of libbitdht on Windows
Enabled bitdht in RetroShare.pro and retroshare-nogui.pro too
Fixed link of RetroShare on Windows
-> added ws2_32 after bitdht, maybe someone has a better solution

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3335 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-03 12:15:20 +00:00
drbob
6a9be43f31 Changes for bitdht compilation.
* disabled BlogItems, when BLOGS not defined.
 * added bitdht compile option to Retroshare.pro.
 * disabled BLOGS until it can compile in libretroshare



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-31 18:19:12 +00:00
csoler
38be555332 restored the NETWORK_WIDE flag in RetroShareLink->processFileRequest, because this security was designed in a specific context. Now the FileRequest for links is factored in a single place.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3320 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-30 13:47:31 +00:00
csoler
b8fe977f05 corrected typo (causing a SIGSEGV)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3319 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-30 13:31:29 +00:00
csoler
012808ea00 - Implemented CRC32 map traffic through direct downloads
- replaced the findItems() call into a hand-written search (this was causing a rare bug in displaying downloads)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3318 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-29 21:07:07 +00:00
csoler
81203b3cfd - modified ftFileProvider so as to keep multiple client peers per instance
- updated TransfersDialog to display this info correctly


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-27 16:05:21 +00:00
thunder2
569ac25843 cleaned include files
- removed some dependencies between other header files
- removed many includes of <QtGui> and replaced it with only needed files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 18:52:58 +00:00
defnax
ba47eedfe3 fixed GPG password freeze
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 11:55:21 +00:00
csoler
8bfc74485a First implementation of per-chunk CRC32 check. This is triggered
- by the right-click+Force Check on files.
- when a global hash on a downloaded file does not match the announced hash.

When a CRC map check is ordered, the CRC map is requested to one of the sources for the current file download.
When received, all downloaded chunks are checked w.r.t the reference CRC and marked as not done if the CRCs do not match.
The exchange of CRC32 map and requests has been tested, as well as CRC map checking during download (force check).

To be implemented soon:
    - caching of CRC32 maps (although these are fast to compute)
    - CRC32 map packets for normal downloads. For now these work only for turtle tunnels.
    - handling of errors if the CRC never comes. For now, the download will stay stuck in "Checking..." mode.

So, don't play too much with the force check feature for now...





git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3310 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 23:14:10 +00:00
defnax
db034b026f Added Idle settings to Settings Gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3309 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 18:48:33 +00:00
thunder2
423f6811ce new methods for set and get the max time before idle on RshareSettings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-21 07:39:14 +00:00
thunder2
e3e4c97369 RsAutoUpdatePage
- Changed the timer of RsAutoUpdatePage to a single-shot timer.
  The update can take longer than the given timer interval.

Changed status service:
- send status when the peer connects (new monitor)
- send status to all online peers only when user changed it (not in every timer tick)

MessengerWindow:
- remove load and save of custom state string in settings

p3ChatService::sendCustomState
- send empty custom state string too

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-20 19:45:07 +00:00
thunder2
3baae3a602 added status combobox to statusbar in MainWindow (initial code from defnax)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-18 21:28:56 +00:00
thunder2
d53a6c9d29 Create the instance of MessengerWindow only when needed and delete it on close.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3301 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-18 11:43:39 +00:00
thunder2
8f5fe8bae2 - added new status menu to tray menu
- moved internal status functions from MessengerWindow to MainWindow
- cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3300 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 23:19:43 +00:00
defnax
d92e1911eb enabled Channels for release
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 21:17:14 +00:00
chrisparker126
1f873e023e added channel msg thumbnail, you'll lose all your current channel msgs before this rev
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 20:17:14 +00:00
thunder2
de57423733 CreateForumMsg:
- removed memory leak in context menu
- cleaned includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 12:40:19 +00:00
defnax
0ab77d8a40 added more details about copy and paste for recommend message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-16 20:20:46 +00:00
defnax
b35ad11875 rename "Paste retroshare Link" to "Paste Person Link"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3293 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-16 20:12:02 +00:00
thunder2
daf0ea50ee PeersDialog/MessengerWindow:
- send recommended friend as message
- paste recommended friends as "retroshare://person|..." from clipboard

reworked retroshare link handling
- added new type -> retroshare://person|<name>|<hash>
- added processing of links to RetroShareLink and RSLinkClipboard and removed all processing in anchorClicked of QTextBrowser 
- fixed parseClipboard to handle all found links in clipboard
- disabled the processing of the clickable links (RetroShareLink::processUrl), because QUrl can't handle the RetroShare links properly

removed memory leaks of the QAction in some context menus


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-15 11:25:34 +00:00
defnax
b39302092e update german translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3290 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-14 20:47:12 +00:00
defnax
699ac58f71 update translation strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3289 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-14 20:34:46 +00:00
thunder2
728d755af8 MessageComposer:
- set focus to subject at start of MessageComposer
- sort friends by name ascending

main:
- removed signal with missing receiver


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-12 14:01:29 +00:00
thunder2
9b72977bba Optimized calls to p3Peers->getGPGOwnId in MessengerWindow::insertPeers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-09 22:57:44 +00:00
leander-256
36a9159884 Fixes two compiler warnings:
- call of GeneralPage() with null pointer rather than the boolean false
- decomposition of a suspicious line into safe expressions (problem related to
  sequence points)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3273 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-09 01:10:27 +00:00
thunder2
7dd79e650f Forgot to close the new invite page after sending the mail.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:54:47 +00:00
thunder2
1734ce4fdc New page in ConnectFriendWizard - "Invitation by Email"
Created by defnax and modified by me

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3268 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:13:40 +00:00
thunder2
f452304b5c Change header of MessageComposer when title edit has modified - like ThunderBird
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:03:34 +00:00
defnax
7eba601144 removed old version strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3265 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 20:53:11 +00:00
thunder2
3f7ad6ebd9 ConnectFriendWizard
- Cleaned includes
- Corrected call of mailto, certificate now has new lines in mail body

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 18:40:38 +00:00
thunder2
9495648d16 Optimized call to p3Peers::getPeerCount in MainWindow::updateStatus
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3263 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-06 21:17:41 +00:00
csoler
458a8faf70 - implemented post-download hash re-check. For now, if the hash does not match, the download is canceled, but in the near future, per-chunk comparison wil occur
.
- corrected a bug that caused file copy error: a closeFile() was missing when the file is complete. Because of delays in fwrite, the file would not be always co
mplete, nor exist at all for small files (e.g. cache files), which in the later case caused the copy error.

Warning: needs a make clean in libretroshare to recompile.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-06 05:04:11 +00:00
defnax
225781aa51 set a minimum size hint for the friends list in CreateChannel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3260 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 20:20:32 +00:00
drbob
126a1d4012 Switched parent from MainPage to RsAutoUpdatePage ... in an attempt to fix GPG password freeze.
don't think it worked!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 19:41:46 +00:00
defnax
e7d659946d set minimum size hint for the items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:17:54 +00:00
defnax
700048fd9c fixed the layout of ShareKey
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3256 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:12:03 +00:00
leander-256
fe46d7618a Prevent multiple instances from running on Unix systems.
Every call to RsInit::LoadCertificates() now creates a file:
~/.retroshare/xxxxxxxxxxxxxxxxxxxx/lock
which is then bound to a system lock (fcntl F_SETLK).

If the lock request fails, it means another instance is already
running with the same profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-01 20:30:36 +00:00
thunder2
840f077826 finished add a Friend with RetroShare ID in ConnectFriendWizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-01 19:04:41 +00:00
defnax
6008ef5e22 Added to display RetroShare ID on Peer Details
Added to display for each Signers Peer Name + (PeerId)
Added first basic add a Friend with RetroShare ID, not yet finished

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 21:57:46 +00:00
thunder2
17723df2c8 - set items in TrustView to not editable
- don't show the own gpgid in FofPage in ConnectFriendWizard

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 14:52:41 +00:00
defnax
852d82e287 update German translation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3237 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-30 12:21:15 +00:00
defnax
c1ae6c9773 enabled root decoration for Channels tree and renamed some items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-26 22:28:04 +00:00
thunder2
e175f0fb87 PeersDialog & MessengerWindow: removed hidden column id and store them in data (Qt::UserRole) of the first column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-25 14:19:48 +00:00
thunder2
73bfabd733 MessagesDialog: removed hidden columns msgid and srcid and store them in data (Qt::UserRole) of the first column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3203 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-25 12:17:46 +00:00
defnax
3ea1bb5f9f fixed Online since update only one time at start.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-24 18:06:30 +00:00
defnax
6202a0b201 Added Online since Label to ProfileWidget
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3198 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-24 15:38:38 +00:00
defnax
f3c2f0eaf0 disable the newthread and reply button when forum is not own or subscribed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 22:11:42 +00:00
defnax
c40bb75062 fixed column count for messages file list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 14:09:29 +00:00
defnax
cca5db6332 Added attaching files support via drag and drop for Create Forum Message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3193 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 13:04:54 +00:00
defnax
53d5287490 set minimum sizeHint for Network's TreeWidget items to 18 pixel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-21 12:26:23 +00:00
csoler
bf6f74c16a added correct image interpolation whenever QPixmap::scaled is called
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-20 12:13:47 +00:00
defnax
7e307af78b renamed items in BlogsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3174 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-20 11:23:58 +00:00
defnax
69bba330ac set a minimum size for Forum items and set a Foreground Text color.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 22:21:31 +00:00
defnax
051ce984ed set TextAlignment for Attachments AlignCenter
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 18:06:04 +00:00
defnax
76c6989164 added to store the listSplitter state to settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 17:46:19 +00:00
defnax
350f6e0365 fixed the QLineEdit to stretch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 16:57:46 +00:00
chrisparker126
43e756148a added sharekey feature to channel dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3166 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 16:38:13 +00:00
chrisparker126
ddb1094f68 added share key ui to .pro
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 15:37:31 +00:00
chrisparker126
7b26785262 added share key dialog for channels
enabled private group in channels

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 15:28:26 +00:00
defnax
37adbea543 fixed to hide ProgressBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 12:47:50 +00:00
csoler
bcd281f3e8 implemented speed measurement and display for turtle tunnels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3161 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 12:11:44 +00:00
defnax
09ac44316a Added a menu for the Hide Unconnected Button and renamed it
Added new action for Hide Status Column to the Display Menu
Moved Hide Offline Friends action to the Display Menu

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-18 21:59:33 +00:00
defnax
73ae89acad fixed to display all available Blogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-18 19:34:29 +00:00
defnax
766fa33535 some little change for MessageToaster to display more text and removed the not needed frame
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3156 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-17 21:03:17 +00:00
thunder2
e282a55164 MessengerWindow
- cleaned include files
- changed menu for set the tree is decorated
- new check for sort rows by state
- saved the state of sort order, hide offline, sort by state and decorated state

PopupChatWindow:
- when setting "Grab Focus when chat arrives" not checked, the new chat window is opened minimized and flashed in taskbar

reworked start private chat and message to friend from PeersDialog and MessengerWindow:
- moved method for starting a private chat from PeersDialog and MessengerWindow to PopupChatDialog
- moved method for sending a message to a friend from PeersDialog to MessageComposer
- removed signal startChat

fixed bug in MessengerWindow:
- when peer is not online and private chat is not available, the message was send to the wrong peer (the current peer in PeersDialog)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-17 17:39:32 +00:00
thunder2
e9fabc34e9 saved the state of the "hide unconnected" button in settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3150 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 19:00:28 +00:00
defnax
fe6d44ecde fixed to export full certificate on networkDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3147 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 18:01:23 +00:00
thunder2
8c1df60e49 show the complete certificate in the CryptoPage again
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-16 12:14:39 +00:00
thunder2
540e99bc48 - CryptoPage now shows and exports clean certificate, without sslid & co
- ConnectFriendWizard exports the certificate with additional informations like sslid & co

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 21:07:22 +00:00
thunder2
1585859896 fixed settings for tray message enable/disable
now it can be enabled and disabled at runtime

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 16:51:48 +00:00
defnax
6d3db4ae66 fixed some MessagesBox's to display a default Window Icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 15:13:47 +00:00
defnax
b1c838d991 fixed text alignment for Date Label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3139 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 14:25:53 +00:00
defnax
373762398c fixed some margins and spacing for the subject,from,to labels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 13:16:19 +00:00
defnax
db9dd0f04d added to settings for tray message enable/disable
fixed to get work Export Certificate on NetworkDialog
added to display on uploads extensions icons


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 11:34:58 +00:00
thunder2
f1da09ad93 save the window state only when the window was visible and the state was loaded
the problem was:
the state of the windows was set to the initial state on close, when it wasn't visible.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 20:15:51 +00:00
thunder2
5b1fae0123 all messages in MessagesDialog are now editable from context menu or with double click
changes from defnax with some corrections from me

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 18:16:32 +00:00
defnax
f4186fb7c8 Added a ProgressBar for Profile Generation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3134 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 13:35:38 +00:00
thunder2
927f8639b7 profile wasn't saved on first start
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 13:32:13 +00:00
leander-256
4dc30963cb Fix GCC 4.5 errors, which does not accept any more calling the constructor like
this: C::C()

For a more detailed and correct explanation see Harald van Dijk's comment here:
http://blog.flameeyes.eu/2010/06/02/tinderbox-summary-for-may-2010-gcc-4-5-berkeley-db-5-0-libpng-1-4


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3132 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 11:57:22 +00:00
defnax
2d839b031b Added to use QListWidget for Display signers, removed QTextBrowser
Added context menu for Signers QListWidget with Copy Peer Name.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3131 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 23:42:21 +00:00
defnax
876e33dc0a fixed forgotten notify changes for MessageToaster
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 21:02:29 +00:00
thunder2
0d1eaba890 p3StatusService::getStatusQueue
- memory leak -> "RsItem* item" was not freed, when "dynamic_cast<RsStatusItem*>" failed
- optimized return of std::list as parameter and not as return. return will copy the list and its not necessary

p3StatusService::getStatus
- memory leak -> items in "std::list<RsStatusItem* > status_items" was not freed
- potential crash, when receiving a status for an unknown peer

p3Peers::getPeerDetails
- optimized - call to "AuthSSL::getAuthSSL()->OwnId()" only once
- optimized - add ip addresses directly to "d.ipAddressList"

PeersDialog::insertPeers
- fixed possible crash, when ssl child has disappeared and was removed from tree, there was a missing continue

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 12:26:23 +00:00
ruchijain
61f2c14663 - UI changes to Message Toaster to display Subject and Content for the messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 10:22:55 +00:00
ruchijain
39c6af6638 - Changes to MessageToaster - display Subject and Content of incoming messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 10:21:46 +00:00
ruchijain
52b8e37295 - Changes for Message Toaster
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-13 10:20:28 +00:00
defnax
c5c3e4494c fixed text alignment for Local Address Label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3116 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-12 23:30:23 +00:00
defnax
2b02e35a9e Set minimum size for RemoteDirModel items and fixed Text Alignment role for File Size column, cleaned some code style.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-12 18:10:39 +00:00
defnax
1d4a02141f Added to use only one Label for Total Count, count selected Box on Total Label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-12 15:11:42 +00:00
thunder2
b715a577b0 changed sort to case insensitive in peers tree
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3113 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-11 23:28:05 +00:00
leander-256
c3c607ec80 Small bug and compiler warning fixes:
- gui/forums/CreateForumMsg.cpp used endl instead of std::endl
- constructor's initializer in the wrong order
- temporary variables type causing signedness warnings


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3107 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 14:13:20 +00:00
defnax
d48035385b fixed translation for a transfers column, there was a enter after translation text.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3105 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 13:43:52 +00:00
defnax
f22753a586 removed release defines from Connect Friend Wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3098 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 12:35:13 +00:00
defnax
37560129c8 fixed string for translation support
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3097 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 11:45:51 +00:00
defnax
5df30d555b update translation strings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 11:44:48 +00:00
thunder2
5c92cc4a0d removed unused variables
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3095 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-10 07:50:14 +00:00
defnax
e78ed75d36 * Added Drag and Drop feature for CertificatePage, you can now drag and drop friends key file in a easy way.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-09 23:46:24 +00:00
thunder2
04aaceaf4d CertificatePage
- enable export of own certificate to file
- enable import certificate of friend from file

read and write of file is done in the gui, because the methods for load from file and save to file on p3Peers are not implemented yet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-09 22:28:55 +00:00
defnax
ead1228535 cleaning some code style
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3091 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-09 15:56:07 +00:00
defnax
ee05917d30 changed color of the MessengerWindow's idle icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3090 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-09 13:02:55 +00:00
defnax
6d8c846726 Added Search Filter for Network
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3089 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-09 10:29:34 +00:00
thunder2
b343b9699c improvements PeersDialog
- save and load state of peer tree and splitter
- removed maximum length of dynamic dns line edit
- sort peers (only top level items) after internal value of state, not the name

cleaned some include files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3087 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-08 21:38:36 +00:00
leander-256
b5ce0fc56b Use a RetroShareLink to create a link rather than duplicate code, also removes
an awkward conversion from uint64_t to string.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-08 00:42:15 +00:00
notdefine
e73a144c8b Fixed compile Problem:
./gui/connect/ConfCertDialog.h:27:42: error: gui/help/browser/HelpBrowser.h: No such file or directory

The file is named "helpbrowser.h" not "HelpBrowser.h"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3081 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 15:11:44 +00:00
leander-256
2af2b056f4 Memory leak fix
Removes unnecessary conversion code as well as a malloc that was never freed


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 14:57:29 +00:00
leander-256
5f2f87537b Because some versions of Qt require a non-const QRegExp, we copy _embedInfos to
a non-const variable:

EmbedInHtml embedInfos(_embedInfos) ;

However, since EmbedInHtml is the base class we lose any information added in
the derived class, which causes a problem with EmbedInHtmlImg when we do a
static_cast to what should have been the proper type here:

const EmbedInHtmlImg& embedImg = static_cast<const EmbedInHtmlImg&>(embedInfos);

embedInfos is not an EmbedInHtmlImg any more, just a mere EmbedInHtml.

We could const_cast the QRegExp object instead but let's keep it simple and
remove the embedInfos constness from the method's signature.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3078 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-07 00:49:26 +00:00
defnax
749945dda8 added a idle icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 23:27:08 +00:00
defnax
3056ec0875 Added to display Friends rsstatus on PeersDialog, icon and color change when Friend is Idle, Away or Busy
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 22:42:32 +00:00
defnax
619a2d7491 improvements with user friendly words for Profile Generation labels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3074 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 21:17:46 +00:00
defnax
7331d17b16 removed the icon for Folders Button and set text-align to left.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3073 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 19:48:04 +00:00
defnax
2d087cea4c some improvements for Generating Profile Dialog, change Label and Button strings when switching to generate a new Profile or new Location.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3066 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-05 00:44:43 +00:00
thunder2
342768e626 improvements messages:
- save msgId in configuration file
- enable previous improvements read/unread state and tags

new function for creating backups of a file
bool createBackup (std::string sFilename, unsigned int nCount = 5);

currently its only available for windows compile. maybe there is a linux developer who change it for linux.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 23:39:33 +00:00
chrisparker126
fe98568329 added edit chan info dialog files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3063 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 22:56:06 +00:00
chrisparker126
478c4e1c29 edit channel info dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3062 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 22:52:54 +00:00
chrisparker126
ef56b199b8 added edit channel info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 22:52:01 +00:00
defnax
dd7e074791 added TabWidget to Messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 23:41:46 +00:00
thunder2
08ea7232f7 bugfix in MessageDialog, rs could crash when removing two or more messages at once
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3057 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 22:12:07 +00:00
defnax
5264f46f9e update the windows bat files, to not close the cmd box when there is a error on compiling.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 18:41:26 +00:00
defnax
d951674f64 Added Trust settings and Signing informations to HelpBrowser
Added Trust info Button to call HelpBrowser for Trust Settings and Signing informations.
Clean up Peer Details Trust TabWidget, removed not needed Labels.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-03 18:34:43 +00:00
thunder2
f06ed5fbed the default tags can be reset to standard in the settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3053 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-02 12:11:09 +00:00
defnax
141fdbe6fe reorder the default tags
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3052 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-02 00:26:15 +00:00
defnax
d7816689e4 added for tag list items default folder icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3051 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 23:27:34 +00:00
defnax
b30c142592 added for windows compile and revision bat files, and template rsversion.in
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 23:03:12 +00:00
thunder2
7c73ecef47 improvements MessagesDialog:
- filled tag list and filter the messages after the selected tag
- state of tag list is saved in settings

bugfix MessagesDialog:
- remove tag with uncheck of menu item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3048 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 22:14:52 +00:00
defnax
626947a7a1 update version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3046 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-01 20:15:44 +00:00
defnax
2088ff808d Set icons for Signed and none signed Forum Messages, set a default minimum size for thread items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 23:02:45 +00:00
defnax
9eb5af1f0b removed unused old im icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 22:20:14 +00:00
defnax
647c08c8da Added Folders and Tags Header Buttons, and moved "Total Inbox" and "Total Sent" to the Bottom into a QLabel.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3043 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 21:27:57 +00:00
defnax
bed4cb1d4a possible fix for search line edit for macos
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3041 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 00:14:57 +00:00
defnax
4f4bad4d5a moved Forum Title Column as First column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 23:49:20 +00:00
thunder2
3fdd570f62 the tags are colored in the menu with style cleanlooks
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 00:00:15 +00:00
defnax
f746306975 added to use on xp default style windows xp
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3032 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 23:44:23 +00:00
thunder2
74978b77b7 some optimizations in PeersDialog::insertPeers
do not call too much into the libretroshare

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 21:56:34 +00:00
defnax
d7b8e9cb7c Added Search Filter for Contacts View
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 19:05:10 +00:00
defnax
3d09acf96b added splitter to channelFeed and changed the minimum size for the channel tree
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3029 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 16:25:37 +00:00
thunder2
334c9b61d3 moved rsGlobalShutDown from MainWindow::doQuit to main
rsGlobalShutDown now cleans the threads and some memory on exit

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3028 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 15:14:25 +00:00
csoler
b80aef1228 Suppressed the possibility for browsable only files to be searched by hash from turtle router.
This avoids that an attacker that captures a broadcast hash request can also ask for the file.

This needed to add back explicit sources in SearchDialog and private chat transfer. I dynamically search
for sources in file lists just before calling FileRequest.

When RS links anchorClick() will work properly with Qt, we can remove the search flag "EXTRA" from the
tunnel digging in p3turtle.cc, otherwise, people having this bug can't transfer files in private chat by
copy+paste of a RS link.
    
	Also:
	    - added missing mutexes in search requests into fimonitor.cc
		- suppressed some debug info in connect manager
		- added check for write fails when dumping config files



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 13:17:09 +00:00
defnax
6dd4e0e617 fixed wrong spelling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 17:29:21 +00:00
thunder2
c8a805b8e7 added trash in msgservice and trash folder in MessagesDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 14:42:54 +00:00
defnax
3196f1d0e7 when Edit is called then set Window Title "Edit Tag"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3013 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 23:21:18 +00:00
thunder2
fa05813283 missing new files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3011 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 19:55:29 +00:00
thunder2
5b4985e3d3 tag feature in MessagesDialog
its disabled until the msgId is static

uncomment the define STATIC_MSGID in MessagesDialog.h for testing 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3010 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 19:48:52 +00:00
defnax
3ff6fce00f removed not needed channel logo button and label from CreateForum Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-27 16:06:07 +00:00
defnax
79688674ec changed Messages Context menu order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-26 15:20:31 +00:00