Commit Graph

93 Commits

Author SHA1 Message Date
defnax
87d2cec44c Added Cancel Buttons for Chat and Peer feed Items, and disable the Send Buttons by default, added for PeerItem to check if TextEdit is empty or not too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 22:46:26 +00:00
thunder2
cb1bee3318 Enable/disable the send button for quick message in the ChatMsgItem with textChanged signal of the QTextBrowser and not with updateItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 19:04:24 +00:00
defnax
2fa6afd36d Added for PeerItem too "Quick Message"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 18:46:30 +00:00
defnax
3ffbcb5569 Added "Write a Quick Message" functionality to answer faster from the ChatMsgItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 16:27:13 +00:00
thunder2
8213a2aa77 Chat service:
- Added send time to ChatInfo.

Chat:
- Reworked IMHistoryKeeper to save only needed data as raw data (not formatted from PeersDialog).
- Renamed the public chat history file from "his1.xml" to "chatPublic.xml" and moved it from data dir to config dir. The current history is lost. Please delete the file "his1.xml" manually.
- Optimized save of the history. Save only when changed, also during the runtime.
- Clear the history in PeersDialog clears the IMHistoryKeeper too.
- New setting to send chat message with Ctrl+Return. Changed the check for Enter in PeersDialog and PopupChatDialog from textChanged to eventFilter.
- Smileys are inserted at the current cursor position, not added at the end.
- Don't send emty messages.

New class ChatStyle:
- Created a new class for the work with chat styles and smileys.
- Currently only two internal styles are available - private and public. Later more external styles planned.
- Moved functions for loading and showing the emoticons from PeersDialog and PopupChatDialog to the new class.

Private chat:
- Split private chat style into incoming.htm and outgoing.htm.
- Removed style change.

Public chat:
- New chat style incoming.htm, outgoing.htm, hincoming.htm and houtgoing.htm.

Chat feed:
- Show links and emoticons if they are enabled for public chat.

PeersDialog:
- Show the own name and location only once at start and not with QTimer every 1.5 second.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 14:23:30 +00:00
defnax
d5ea522eb0 set correct Avatar size for the Label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:57:05 +00:00
defnax
c8de865e1a Redesign the Message Item feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:54:07 +00:00
thunder2
af4667232b Don't add a ChatMsgItem as feed on own public chat message.
Moved the handling of the avatar from PeerItem::updateItem and ChatMsgItem::updateItem called with QTimer to connect to the signal peerHasNewAvatar.
Fixed compiler warning.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 22:42:40 +00:00
defnax
b52a7d6df4 Improved the layout of ChatMsgItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 20:55:40 +00:00
thunder2
b6b5fa5cd6 Changed the chat service from a timer tick from the gui to a service tick.
Created a new notifier for new chat available - NOTIFY_LIST_CHAT. Removed the QTimer in PeersDialog and connect the signal.
Created news feed for public chat (prework of defnax, need still some gui changes)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 17:13:52 +00:00
defnax
d5090ea33c fixed to enable wordwrap for Forum Message Item, to not display long message in one line.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3398 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-27 13:52:17 +00:00
defnax
af81ffcf43 little layout change for PeerItem, removed not need label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-25 21:29:55 +00:00
defnax
b85d41cdd7 changed the Channel New Item layout design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 21:04:35 +00:00
defnax
43b47101db changed PeerItem style sheet color a little bit brightly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-13 12:47:10 +00:00
defnax
328bb4aacf Added Logo Labels for Forum Items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 19:49:41 +00:00
defnax
76019cd671 some design changes for PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:40:47 +00:00
defnax
c904eb54de Added to Display Avatar for NewsFeeds PeerItem. little design of PeerItem, removed not used buttons.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 15:07:09 +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
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
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
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
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
b4a4ce07af Enabled Post to Forum for ForumNewItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 23:02:15 +00:00
defnax
c3e1a71279 cleaning up source code removed GeneralMsgDialog and ConnectDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 22:35:51 +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
defnax
a5cc8d7ba2 Added for Peer name own Label to display bether Friend's names for News Feed's PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-22 00:23:13 +00:00
defnax
f79afbf7c3 Added to use now only the default Message Composer for MsgItem and PeerItem too, GeneralMessage needs to be removed soon.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2971 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-21 23:49:01 +00:00
defnax
d2baf4902d Added Blog New Item to News Feed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2962 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:00:59 +00:00
defnax
5df17295b8 added to display on New Channel Feed Item Channel logo when available
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 22:43:13 +00:00
defnax
e981dffc8c redesigned SubFileItem Layout.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2938 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 23:21:32 +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
chrisparker126
c5e8669ec0 Channels
- removed settings button 
 - deals with hashing of its own files
 
 subfileitem
 
 - absolved from file hashing responsibility 
 - added play button functionality(taken from transfer dialog, thanks)
 
 blog
  
  - removed file attachments feature (only for blogging ), will add pic support later
  
 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-08 16:21:57 +00:00
defnax
8b9b8e9f6b Added stylesheet for MsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-05 00:28:20 +00:00
thunder2
5bb023104d Source code maintenance
Memory leaks:
- SharedFilesDialog::sendLinkToCloud -> new AddLinksDialog
- SharedFilesDialog::addLinkToCloud -> new AddLinksDialog
- ChannelFeed::channelListCustomPopupMenu -> new QAction
- ChannelFeed::createChannel -> new CreateChannel
- ChannelFeed::openMsg -> new GeneralMsgDialog
- ChannelFeed::createMsg -> new CreateChannelMsg
- NewsFeed::openMsg -> new GeneralMsgDialog
- BlogsDialog::openMsg -> new GeneralMsgDialog
- BlogsDialog::createBlog -> new CreateBlog
- BlogsDialog::openMsg -> new GeneralMsgDialog
- BlogsDialog::createMsg -> new CreateBlogMsg
- NewsFeed::deleteFeedItem -> Feed items are not deleted, just switched to hidden

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-05 00:05:36 +00:00
defnax
d516dfbfa8 Set back Unsubscribe Button on ChannelMsgItem only visible for NewsFeed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2834 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 14:11:56 +00:00
defnax
36573c459d fixed images.qrc path
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 12:32:42 +00:00
chrisparker126
bb1fe255d3 - removed play adn d/l button (channels is now geared toward auto d/l of files)
- enabled unsubscribe on item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2827 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 12:17:43 +00:00
thunder2
f88cd1c0aa Show correct state of subscribe button in forum feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-29 19:00:27 +00:00
thunder2
e8b428a911 RetroShare stopped responding during signing a key and asking for password.
The QSingleShotTimer of ConfCertDialog wants to update the gui and stopped in  PeerItem::updateItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2810 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-28 11:25:12 +00:00
defnax
ff0b797248 added Timestamps for forum message feeds to know the date for each Forum Message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 22:41:10 +00:00
defnax
55c514d850 use CreatForumMsg when replying from News Feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2242 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 20:43:23 +00:00
defnax
442b8e2fb7 added groupbox to the News feed Items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 00:21:08 +00:00
defnax
9aae5520e9 few design improvements for Feeds Peer Item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2228 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 17:40:22 +00:00
defnax
57454e0486 removed not needed sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2226 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 14:24:51 +00:00
defnax
5515b12608 improved stylesheets for News Feed Items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 14:18:05 +00:00
defnax
eb2876bdb9 fixed vertical layout spacer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 21:27:02 +00:00
defnax
b6ebcd1a81 fixed Channel Msg item to not stretch when is only one item in list.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2153 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-30 02:19:09 +00:00
defnax
ee0e1f2f5d clean up Channel sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-30 01:13:03 +00:00
joss17
f481dbef59 add include for latest gcc. Comment usleep fonction in tou_net.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 22:02:43 +00:00