Commit Graph

37 Commits

Author SHA1 Message Date
csoler
bcdf536c98 added a column for directory in flat view of shared files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-07 20:09:32 +00:00
csoler
6c2bdbe214 - added some optimization to RequestDirDetails internal functions
- improved sorting/selection in shared files flat mode
*W* Needs full recompilation.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-03 19:59:12 +00:00
csoler
f634331442 - implemented an optional flat view for shared files that allows sorting by date/peer/name
- restored the search for flat view only (very slow for tree view)
- cleaned the code a bit: made two subclasses of RetroshareDirModel: TreeStyle_RDM and FlatStyle_RDM



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4117 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-01 21:46:06 +00:00
csoler
ebef7e7141 compatibility with Qt4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3864 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-23 21:00:17 +00:00
thunder2
f0f3dc413a Fixed open folder in shared files in portable version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3834 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-20 14:50:14 +00:00
csoler
f6e4257442 patch from apoapo to avoid crash in RemoteDirModel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 18:02:08 +00:00
thunder2
dd4c43cf7d Removed menus with friends in SharedFilesDialog.
Add a single action to send files as message.
Add send as message to the remote files too.
The files are now send as recommended files.
Disable context menus for the person item.
Auto hide the AttachFileItem in all dialogs after the successfully finish of the hash.
Removed the column source of the files in messages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-07 21:33:48 +00:00
thunder2
162a949092 Fixed calculation of the right QModelIndex for context menu. Indroduced with QSortFilterProxyModel.
Removed unnecessary calls to the librs in RemoveDirModel.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3708 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 17:26:00 +00:00
thunder2
8b2fffe346 Fixed sort by size in SharedFilesDialog (again). Now use the right conversion for uint64_t for 64 bit systems.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 13:40:17 +00:00
notdefine
35054699bc Fixes Compile Problems. Return type was not valid, hope now it is correct.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-29 20:45:50 +00:00
thunder2
a51bf3da67 Added new class RSTreeWidgetItem derived from QTreeWidgetItem for sorting strings case insensitive without proxy model.
Sort strings case insensitive in NetworkDialog, PeersDialog (changed to RSTreeWidgetItem), MessengerWindow (changed to RSTreeWidgetItem) and SharedFilesDialog (with folders first).
Sort the columns size and age in SharedFilesDialog by internal data and not by the shown string.
Save and load layout of the SharedFilesDialog in profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-20 00:10:51 +00:00
thunder2
ed737e2c9f Fixed umlauts (utf8) in Windows. Changed some parameters to reference pointer. Added virtual folders to the lib.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-17 18:27:30 +00:00
thunder2
690194d38f Cleaned PopupChatDialog, NetworkDialog, SearchDialog, TransfersDialog, SharedFilesDialog, ChannelFeeds and updated german translation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3477 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-13 00:27:50 +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
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
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
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
df61d8d018 added to display text for Dir counts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-25 16:18:22 +00:00
defnax
4d0cc50197 restored
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 23:13:56 +00:00
defnax
8b3f8efe8d restored back Folder Age with min_age
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2622 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 18:22:58 +00:00
defnax
36427a5d15 Added textcolors for Age Indicator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2620 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-24 16:47:34 +00:00
defnax
fde317cf22 change peericon when indicator changed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2296 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 12:21:41 +00:00
defnax
8f394af5d6 added for Last Month indicator icon too
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-09 15:54:15 +00:00
defnax
ab852e0fe0 added for indicator change Folder icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-09 15:05:08 +00:00
csoler
024e7f4b44 made the age indicator functional, by recursively changing color of directory/files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2244 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 22:32:00 +00:00
defnax
163ed040be reorder columns moved Share Type as last column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2191 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 16:54:59 +00:00
csoler
8ccf3c3e2d corrected bug about display/selection of anonymous files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-03 20:59:54 +00:00
csoler
e0113efb30 small fixes in files context menus
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-31 14:21:24 +00:00
csoler
8e5b1dca64 factorized and cleaned the common code between fistore.cc and fimonitor.cc, improved the stability of FileIndex, improved the display in RemoteDirModel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2158 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-30 20:47:34 +00:00
csoler
a70b106005 - added NETWORK_WIDE flag to remote dir model download
- added file priority strategy based on which files are requested first. This provides:
	- equal file speed for files with equal (source,priority)
	- effective priority speed for file of same source but different priority
- removed state variable load/save from turtle, as it's not needed anymore (FileRequest re-opens tunnels as needed)
- manage availability per peer instead of per file type: direct peer ids always assume file availability, while turtle tunnels don't

I still need to make the download queue work, and code this gui for it.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-26 20:40:21 +00:00
defnax
5676b68248 removed not working details ago for folders
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-19 19:31:53 +00:00
csoler
506f14eb2f - Added a parent page widget (class RsAutoUpdatePage) to handle auto-update. The page updates using a timer, only wh
en visible, and each time it gets showed. I already made some RS pages derive from this page.
- Modified and renamed the taskGraphPainterWidget to display info about currently selected file transfers. For know, it only shows file chunks info, but we should use it to display additional info about the transfer. Warning: in its
 current state, only fake chunk info is displayed.
 - Suppressed p3files.h, because it is not used.

 Remains to do (in order):
 - Implement a chunk map class in ft/ to properly manage which chunks should be downloaded 
 - Display correct chunk info by requesting the transfer's chunk map
 - Add check-sum verification of chunks
 - allow RS to import a partially downloaded file by force re-checking chunks
 - Add chunk map exchange from file source peer id to file destination peer id.
 - Manage chunks from different peers.
 - Allow search (turtle search) for partially downloaded files 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-17 12:45:06 +00:00
alexandrut
c7c9163c2c add new/old age indicator for shared files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-13 20:36:29 +00:00
defnax
97628d9552 added forgotten license text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 21:59:40 +00:00
csoler
7b534ba299 - added a pointer controller to findex to avoid RemoteDirModel to incidentally request for deleted pointers.
- suppressed auto-collapse of directories when updated.

Still To do:
	- auto-update QTreeView in PostMod() to avoid display inconsistencies.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1520 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 19:43:51 +00:00
defnax
a2e9054cac Clean up rsiface folder, moved RemoteDirModel to gui folder.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 23:28:15 +00:00