Commit Graph

24 Commits

Author SHA1 Message Date
defnax
e1d9e1a4a8 Little improvements with QFont::PreferAntialias for the Labels in ChannelMsgItem/SubFileItem.
Added to display the file size after the filename on SubFileItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 16:43: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
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
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
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
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
260ef774a5 added RS_FILE_HINTS_NETWORK_WIDE for SubFileItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 22:08:42 +00:00
defnax
6144bb2b25 clean up MainWindow removed not used code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-01 13:27:46 +00:00
joss17
84efbbe2d2 Set the SubFileItem in error mode when cancelling from the GUI
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-14 15:53:40 +00:00
joss17
35740d89b1 fix a bug with windows compiler and small() function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1219 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-11 14:35:05 +00:00
joss17
8e6f082025 add file button to general message; add extra file sending from chat dialog; Add a link when sending a file; Add a link for downloading in the reciever chat dialog; Little gui improvement
Merge branch 'extraFile'


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1181 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-06 21:15:12 +00:00
drbob
0c4947f4e6 Fixed Channel: SubFileItem display and play.
* added openFile function to MainWindow. (uses QtDesktopServices)
 * disabled PlayAll in ChanMsgItem (as we can't do this).
 * enabled play() once files downloaded. 
 * tested play audio/video files on MacOSX 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@857 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-30 17:15:23 +00:00
drbob
b9236dc91e Updated versions to v0.4.11c
Disabled 'play' button.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-29 22:31:47 +00:00
drbob
99c038a4db Enabled save() function in SubFileItems.
Improved Channel Menu Item: added Icon and popularity.
Reduced most of the margins in Channel Feed.
updated libretroshare interface files.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-27 21:26:52 +00:00
drbob
b0d462c93e Small changes to how gui handles files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-09 22:21:14 +00:00
drbob
6a8509740b Updated rs interface for new File Transfer.
tweaked Transfer displays to work with new interface.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-02 11:39:09 +00:00
drbob
f9b22cc5d2 Updated interface files.
Added SrcIds to FileRequests().



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-08-17 16:14:03 +00:00
drbob
45f2108fd0 * Cleaned up fonts for MacOSX.
* made changes to win32.cpp cross-platform.
 * updated rsfiles.h
 * updated version to v0.4.10b




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-08-16 17:10:01 +00:00
drbob
d5376cd575 Removed most debugging/std::cerr output (in #defines)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@640 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-09 09:53:47 +00:00
drbob
2ba752fbfb Improvements to make more complete Feed System Demo.
* Major Work on SubFileItem to display possible attachment/file states.
 * Added Download / Save buttons to SubFileItem.
 * Enabled Correct Name / Transfer state display in SubFileItem.
 * Disabled 'Local' Checks temporarily in SubFileItem.  (for demo)
 * Disabled 'Remote' Drops temporarily in GeneralMsgDialog. (for demo)
 * Added File Details to TransferFeed.
 * Add 'Online' List to PeersFeed.
 * extended Msg Attachments to handle local/remote, and check for attachment errors.
 * enabled Attachment removal.
 * Updated RS Interface files.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@637 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-07-06 16:03:16 +00:00
drbob
c6a595c7db Significant changes to the GUI to introduce new display style.
* Completed much of General Msg Dialog.
 * Completed much of ChannelFeed.
 * Added Channel Messages to News Feed.
 * Connected Blog/Channels to GeneralMsgDialog.
 * Improved SubFileItem display.
 * Completed ChanGroup/Menu/MsgItems.
 * Added SubDestItem for use in GeneralMsgDialog.
 * Generalise CreateForum to cover Channels as well.
 * Restricted CreateForum to public forums/private channels.
 * Demo of Drag-N-Drop Files for Linux (filesystem->GenMsgDialog)
 * Updates to rsiface stuff (blog/channels/types)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@621 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-24 04:36:45 +00:00
drbob
07451c5336 * Addition of NewsFeed, ChannelFeed and BlogFeed.
* Added new GUI NewsFeed elements to display information (gui/feeds/*)
 * modifications to RS interfaces to support NewsFeeds.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-06-20 12:43:23 +00:00