Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
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
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
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
thunder2
b0c1467abe improvement MessagesDialog:
- enabled draft box

bugfix MessagesDialog:
- correct from and to in list and message header

changes MessageComposer:
- cleaned channel part


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 09:32:14 +00:00
defnax
d0ef2c335d Added Search Friend Filter for Messenger Window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2987 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-24 00:59:12 +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
defnax
1fb7fb005c rename class and source ChanMsgDialog to MessageComposer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 19:13:41 +00:00
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
thunder2
48d2007f81 MessengerWindow::insertPeers:
- memory leak - return of takeTopLevelItem and takeChild are not deleted
- possible crash, when child has disappeared

fixed load and save of window state, i forgot to give the name of the window to the settings class

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 11:10:13 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +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
7f8cafa8a9 changed idle time to 30 secs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2812 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-28 16:37:27 +00:00
chrisparker126
8993ebb8aa - added idle status
- insert peers is now under the same qtimer as save status

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2797 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-27 12:21:39 +00:00
chrisparker126
c3f8af66e5 forgot to add back qtimer after experimenting with deriving rsAutoupdatepage
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-22 13:16:40 +00:00
defnax
aefd492b86 Use fixed header size for Avatar Item and display autoconnect attempt after location.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2744 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 16:37:53 +00:00
defnax
7e4eaa4ae3 changed default avatar icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2743 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 14:50:45 +00:00
defnax
26a5d6d11a display Avatar icons on second item in MessengerWindow, when no Avatar pictures is available show a default one.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2742 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 14:34:44 +00:00
chrisparker126
ab477885c3 restored open messenger to main window left hand panel
replaced messenger peer icons with avatars




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-20 08:42:45 +00:00
csoler
38463c905e ported branch commit 2732: fixed deadlock in passwd callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2734 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-19 21:50:03 +00:00
chrisparker126
9fb3770066 -sendstatus is now on qtimer - think of replacing with rs notify call back
- hack to load file status from previous rs session
- also removed 'offline' status

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2728 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-18 19:59:41 +00:00
chrisparker126
76a4c34440 rsstatus
-implemented simple rsStatus for messenger window
- fixed minor bug with messenger window (starts new pop-up chat dialog when peer responds, if private chat started from messenger window) solution: messenger windows start peers dialogs pop-up chat dialog instead


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-15 12:02:23 +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
defnax
7cba8b3b6b clean up blogs from project file added to the unfinished section for compiling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-24 12:58:24 +00:00
defnax
e7a78af546 little bit worked on rsStatus, and added a tooltip for status message lineedit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2412 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 23:53:44 +00:00
defnax
887b151779 Fixed Load and Save own status Message in MessengerWindow works now, you can change your status message in MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2409 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 22:26:38 +00:00
csoler
6943dbc9ac added smotth interpolation flag to image scaling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2398 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-23 14:11:47 +00:00
defnax
4ee0b8f252 removed unused icons, needs make clean for compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 01:33:32 +00:00
defnax
549979407c fixed a bug on MessengerWindow context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2339 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-15 23:47:12 +00:00
joss17
6f1e4623ab further log cleanings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 14:06:43 +00:00
defnax
d490f6b0fe fixes on QMessagesBox's to show a default window icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2196 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 23:12:35 +00:00
defnax
9115466351 fixed added connect for hide unconnected Friends action
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2186 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 00:04:41 +00:00
defnax
bd049a0bbd added nicklabel for MessengerWindow to show own name + location
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-03 23:38:38 +00:00
defnax
572d2c198d fixed to not stretch last column but stretch first column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2180 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-03 22:42:23 +00:00
defnax
8d74bb0e6b redesign MessengerWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-03 17:39:30 +00:00
defnax
de288d196d added to show personal status of each friend when its avaible
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2128 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 22:08:23 +00:00
nishant
d975d8bf1f Messenger Window linked with RsAutoupdate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-30 16:12:13 +00:00
defnax
10aef0b027 set bold font for Online/Offline strings and for connected Friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1705 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-30 22:10:49 +00:00
defnax
7c39ba9e0c added new im icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 16:26:52 +00:00
defnax
758ba49ff1 store Avatar images as PNG format, to not lose the transparent of the pictures
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-07 13:59:38 +00:00
csoler
f9dc3b223b Started implementing flags to handle the sharing mode.
What works:
- the gui shows the flags in ShareManager
- the flags are loaded/saved to ft_shared.cfg and passed on to FileIndexMonitor
What does not work yet:
- the flags are not accounted for yet by FileIndexMonitor

In addition:
- simplified the directories dialog in Preferences, so that it calls the ShareManager instead of dupplicating the directories management 
code that becomes larger.
- setup the ShareManager to be a singleton, so as to coherently call it from different places.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-03 19:43:52 +00:00
beardog_uk
b3f433b5f2 - Deleted AddFriendDialog, InviteDialog and AddFriendWizard files. They are not used in current version, so it was beter not to keep them. We can always restore them, if any need.
- Removed "Invite friend" button from main window. 

- Also  changed some comments  to the wizard code.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-03-28 10:41:49 +00:00
defnax
171a5bef0d * set Qt::IgnoreAspectRatio for pictures
* added for MessengerWindow the new getAvatar and updateAvatar function


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-30 23:51:59 +00:00
defnax
c3f610c519 * Added MessagesPopupDialog
* Added for Messenger Window Share Manager Button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@920 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-08 17:29:01 +00:00
defnax
5dc3e39337 * added for systray contextmenu Open Messages (working)
* set for MessengerWindow to use RWindow now
* added Messages button for MessengerWindow not working at the moment


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@919 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-07 21:12:31 +00:00
defnax
935a52dee3 * set for the Avatar Button a Background image
* set for Avatar Pictures to use IgnoreAspectRatio

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@918 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-07 01:56:09 +00:00
defnax
d2e64551c2 * added basic set avatar picture for MessengerWindow and Privat Chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@907 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-04 02:28:30 +00:00