Commit Graph

81 Commits

Author SHA1 Message Date
thunder2
ad6b10272b Added setting for the count of messages to load from the history for group and private chat
Restore the last active page in MainWindow on startup
Removed not needed methods RshareSettings::getChatAvatar and RshareSettings::setChatAvatar


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-04 11:14:47 +00:00
defnax
5809e25a60 added back dhtstatus label to StatusBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-27 12:49:46 +00:00
thunder2
0be24268f7 Fixed resizing of the MainWindow when hashing files with long names.
Moved the hash strings of notifyHashingInfo from the librs to the GUI for translating.
Fixed german translation.

Recompile of GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3659 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 18:35:34 +00:00
thunder2
fc0ff38206 Added read/unread state to channel service (copied from forum service).
Added new and missing tests of the RsItems.
Added new notifier on channel changes.
Reworked fill of channels in ChannelFeed. Now the channel tree is updated and not refilled.
Show unread message count in channels tree.
Fixed memory leak in context menu.
Show a new tray icon and action icon in MainWindow, when new channel messages are available.

Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:17:42 +00:00
thunder2
37fe5ff3a3 Save incoming not read private chat messages in config and delete it after reading.
Added queue for outgoing private offline chat messages. The queue is also saved until the private chat message could be delivered.
It does not work in the short time between the shutdown of the peer and the switch of the state to offline for that peer. For this we need a response of the peer.
Need recompile.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-21 00:08:06 +00:00
thunder2
7f837e9778 Splitted queue of chat messages in chat service into public and private queue.
Reworked the interface of the chat service. So full recomile is needed.
With disabled flags for private chat (RS_CHAT_OPEN_NEW and RS_CHAT_REOPEN), the incoming private chat messages are queued (only for the runtime) until the user shows the private chat dialog.
When a new chat message is available, the icon of the gpg and ssl contact changed in MessengerWindow and PeersDialog and a new tray icon is shown.
Fixed compiler warning.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 17:56:15 +00:00
defnax
3d9aa943ba Display Friends activities on Friends Storm Tab in PeersDialog. removed from MainWindow NewsFeed action.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3360 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:00:21 +00:00
thunder2
3cfc08482f New icon in system tray and a new icon with star in toolbar of MainWindow, when new forum messages are available.
New signal forumsChanged on NotifyQt.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3354 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-09 21:20:34 +00:00
thunder2
32afd370bb Moved notify of new messages in MainWindow from QTimer to signal messagesChanged.
Show own tray icon for new messages.
Removed unused member p3Forums::mForumsChanged.
The message service send a notify on p3MsgService::markMsgIdRead too.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-09 12:16: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
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
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
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
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
thunder2
591a141a18 - removed MessagesPopupDialog
- click in MessageToaster shows the MainWindow and activates the MessagesDialog


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 21:32:58 +00:00
csoler
0634e461fb implemented a safety check for low disc space, and safe drop of disk access if too low
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2968 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 20:49:48 +00:00
thunder2
84a87fa11b New methods for calculating the count of peers and messages. It should be faster than getting all data in std::list.
Now used in MainWindow.cpp, MessagesDialog.cpp and peerstatus.cpp

void p3Peers::getPeerCount (unsigned int *pnFriendCount, unsigned int *pnOnlineCount);
void p3Msgs::getMessageCount(unsigned int *pnInbox, unsigned int *pnInboxNew, unsigned int *pnOutbox, unsigned int *pnDraftbox, unsigned int *pnSentbox);


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 19:20:40 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +00:00
thunder2
fb58beef4f Source code maintenance
Memory leaks:
- PeersDialog::insertPeers -> takeTopLevelItem, takeChild

- activate correct page on creating a new forum or channel from PeersDialog (problems with RS_RELEASE_VERSION)
  new static method to activate a page MainWindow::activatePage

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-03 00:09:55 +00:00
chrisparker126
5cc59d6e77 added idle status and connection to messenger window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-27 12:18:44 +00:00
csoler
0773e92f85 Ported patch from thunder2 (http://sourceforge.net/tracker/index.php?func=detail&aid=2991827&group_id=178712&atid=886241)
- Bug fix: Checkbox for automatic share of the incoming directory doesn't correctly set with setDown, use setChecked
- ShareManager and RSettingsWin doesn't need to be created all the time
- RSettingsWin: Save the last active page for the current runtime
- ShareManager and DirectoryPage: Show changed shared directories direct after the change




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-24 22:09:47 +00:00
csoler
08065b4298 ported branch v0.5.0 commits 2623, 2624, 2626, 2633, 2634, 2643, 2644, 2646, 2651 and 2654 to trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2660 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-28 20:46:45 +00:00
defnax
1ee9a6ae0d added for blogs own define to project file and set on MainWindow the defines for Blogs, added to function for Messages icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-25 13:12:18 +00:00
chrisparker126
aeb0f44259 added blog to enum
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2401 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 19:50:14 +00:00
csoler
3621ef4a95 resurected error msg window. Added a check for file hashes in FileRequest() to detect issues with badly formed file links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 18:10:12 +00:00
defnax
b05dbc80e4 Added Quick Start Wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-08 13:00:00 +00:00
defnax
2a107ad706 rename menu to trayMenu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1952 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-01 13:45:35 +00:00
defnax
5fb8107779 clean up MainWindow removed not used code for openfile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-01 13:28:56 +00:00
csoler
b482df68f8 upper/lower case fix
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1946 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-31 13:36:39 +00:00
defnax
e919981e00 * added a about dialog
* quit RetroShare with rApp not more use qApp for quit, shutdown is now faster.
* added first retranslateUi for MainWindow
* changend Add Share string.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-31 02:23:02 +00:00
joss17
61c570b0f0 remove DHT from the gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1873 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-14 13:47:04 +00:00
defnax
3830d39278 added missed defines
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 14:49:15 +00:00
defnax
ecac6008bc added unfinished section to compile unfinished examples and prototypes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 13:42:24 +00:00
defnax
d7a052720a moved trayicon to own void function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-24 20:17:13 +00:00
defnax
25f888b8c6 removed not needed old channels sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1710 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-04 15:17:06 +00:00
defnax
858951be63 changend order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-14 18:04:37 +00:00
alexandrut
c0523dabbd changes to speedup settings dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-21 17:58:55 +00:00
alexandrut
1c93c63ba4 add new settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-19 22:19:35 +00:00
csoler
a293a39d1b - Integrated the turtle search and download to the gui. Now the search handles both friend and turtle searching.
- added a console in config->server->F2F routing to be able to visualize turtle routing statistics

WARNING: this is not complete yet. The fllowing still needs to be done:
- detect duplicates in search results between turtle and friends search
- RegExpr search does ot work with turtle (still to code).
- search does not search own files. Is this really needed after all ?



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-16 20:10:53 +00:00
defnax
e7b289b367 Clean up MainWindow removed unused headers and not needed SMPlayer entries
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 23:44:46 +00:00
defnax
6abadc6375 Added new settings which will be replace soon as possible Preferences
Changend Quit RetroShare MessageBox with "Yes" and not more with "OK"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-23 17:11:51 +00:00
csoler
72112fb54c added systray notification for group chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-13 14:01:49 +00:00
csoler
c82c7eea26 suppressed Settings/ directory, as it_s not used at all
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1250 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-17 12:48:54 +00:00
defnax
74c0df0d7e removed not needed Chatdialog header in MainWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-05 16:01:43 +00:00
defnax
69914204db generated for statusRates own class to clean more MainWindow
clean up some namings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1157 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-02 22:14:20 +00:00