Commit Graph

120 Commits

Author SHA1 Message Date
mr-alice
93818f6088 simplified a bit the code in Flat_Model, and tried to fix the crash when sorting items 2016-09-13 21:23:27 +02:00
mr-alice
c1e538ff13 added interactive update of dir entries when browsing files from an online friend 2016-09-11 17:52:12 +02:00
mr-alice
0ea695beb3 fixed a few bugs in hash-based sync. Not there yet. 2016-09-08 23:43:14 +02:00
mr-alice
ade6017f74 merged with upstream/master 2016-09-01 19:52:31 +02:00
defnax
5241a7d4c0 Added last icon changes for transfers page 2016-08-30 17:18:27 +02:00
mr-alice
1290aa8403 fixed proper display of file sharing flags 2016-08-29 21:30:56 +02:00
mr-alice
7c2ed3fca0 save/restore expanded state in file list tree view so that view gets updated seamlessly 2016-08-28 23:14:39 +02:00
mr-alice
f8ed1d3fb7 changed DirDetails::children to be a vector, removed costly caching of DirDetailVector 2016-08-19 18:49:42 +02:00
mr-alice
78b8744183 fixed display of remote directories 2016-08-17 14:48:54 +02:00
Phenom
1f8f413c85 Fix RsCollectionFile::load(QString, bool) calls.
Remove "this" as bool parameter.
2016-05-16 11:32:17 +02:00
electron128
b125cb1f1e fix the bug where a filter is applied in friends file list even if view mode is tree and search box is hidden. Problem was: SharedFilesDialog::FilterItems() is called from multiple places. The check if we should filter or not is now in the filter function itself. 2016-01-09 12:09:43 +01:00
thunder2
c3b794afb2 Fixed compile with Qt 5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-26 08:14:09 +00:00
csoler
b593a918a0 optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-21 22:33:02 +00:00
defnax
e65f73a44d Added new Patch from Phenom (AddRSCollectionEditor_v0.6_7386)
Some Improvements : added submenu, Edit and view mode.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-29 14:49:45 +00:00
chrisparker126
0f29d28b1b merge of branch v0.6-idclean 7180
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7187 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-03-17 20:56:06 +00:00
thunder2
3e13311be0 Fixed slot for signal "filesPreModChanged" and "filesPostModChanged" on SharedFilesDialog.
The list of files is now updated also when the tab is visible.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6990 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-01-05 22:51:54 +00:00
thunder2
6dbcc3e99b Code maintenance for Qt 5:
- Added new options to retroshare-gui.pro for Qt 5
- Added new file QtVersion.h with macros to compile with Qt 4 and Qt 5
  - QHeaderView::setResizeMode -> QHeaderView::setSectionResizeMode
  - QHeaderView::setMovable -> QHeaderView::setSectionsMovable

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 13:25:06 +00:00
defnax
22ee98f897 Fixed to use the correct sized Icon
Fixed item in Network Dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6690 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-05 15:48:44 +00:00
csoler
348c860d6e fixed up icons in sharedFilesDialog (Patch fromPhenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-25 20:19:01 +00:00
thunder2
2ed1712580 Moved call to setResizeMode in SharedFilesDialog after the call to setModel on QTreeView.
Qt shows an assertion in debug mode when column count is 0.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6152 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-27 00:23:56 +00:00
csoler
50db473329 Merged branch for GUI improvements into trunk. The improvement phase is not finsihed yet. The work on GUI will continue into trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-02-22 21:42:27 +00:00
defnax
54e669cb68 disabled, needs to be fixed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5948 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-06 16:00:13 +00:00
defnax
8cdefe9764 Added "Edit Share Permissions" Context Menu entry to My Directions, to edit easily share permissions for each directory
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-05 13:26:26 +00:00
csoler
e753f22909 fixed flags conflicts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-02 13:52:29 +00:00
csoler
03d4936b12 improved display in share manager. Updated RemoteDirModel to show groups.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5706 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-21 19:39:56 +00:00
thunder2
fb71387a47 Enabled the RetroShare icon of the collection file dialogs.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-31 14:07:15 +00:00
thunder2
5d482b9a6f Moved some internal stylesheets to the file Standard.qss.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5474 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-08-26 20:31:10 +00:00
thunder2
2611da2f72 Changed style of the reply/forwarded message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-04 23:39:36 +00:00
thunder2
f952bc267b Beautified RsCollectionDialog.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4670 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-13 13:58:39 +00:00
csoler
50d5c1159d Added the hability to create and handle collection files. A collection file contains a directory structure
and files that RS can DL seamlessly in the DL directory. Collection files are created from shared files
and can be handled by righ-clicking on them in Transfers and Shared files. Handling is based on the extension,
that must be "rscollection".


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4664 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-07 23:07:25 +00:00
thunder2
2fac47293e Reworked the process of the RetroShare links. Now RetroShare asks when adding a file or a person link and shows a detailed result.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-11 22:07:24 +00:00
thunder2
70d02c718d Removed unused parameter warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 14:06:29 +00:00
defnax
0429baf807 Added to sort by Age when one day, one week or one month is selected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4215 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-21 18:34:34 +00:00
thunder2
cd8188bf09 Added new RetroShare link format to start a search
retroshare://search?keywords=...
Enabled key "delete" to remove search results.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-04 10:22:49 +00:00
csoler
a337941555 attempt at making remoteDirModel less CPU intentive. Remove potential deadlock source in SearchDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4155 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-14 21:58:15 +00:00
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
thunder2
c21e13e68d Fixed Q_ASSERT in SharedFilesDialog on Windows.
Load and save the view type (flat or tree) in SharedFilesDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-06 00:19:56 +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
thunder2
bd319d2357 Added filter for files in SharedFilesDialog.
It is hidden for the release version (RS_RELEASE_VERSION), because the RemoteDirModel is slow with many files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3882 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-30 12:29:04 +00:00
defnax
0ca46dbaca removed unused dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3844 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-21 15:27:42 +00:00
thunder2
5d2a649e0a Removed the GUI part of the links cloud from building. You can add it again with
CONFIG += use_links

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3837 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-20 20:58:35 +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
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
3c65283f8f - Change methods of RsMsgs from "std::string" to "const std::string&"
- Fixed sent messages doesn't get the flag RS_MSG_FLAGS_NEW
- Rework reply and forward message, now the replied or forwarded message gets the state and not the answer itself
- Added RsMsgParentId (with test) to save the parent of the message in draft
- Change methods of MessageComposer from "std::string" to "QString"
- Show image in the message row in MessagesDialog again
- Fixed umlauts in recommended files in MessageComposer
- Renamed tab "Live Chat" in "Group Chat"
- Fixed german translation

recompile of the GUI needed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-02 21:11:11 +00:00
csoler
64709b8ae0 added to connexions to try to force QTreeView to update when the model is changed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3719 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 19:40:09 +00:00
defnax
ad34df9ac5 added the animation for file check/hashing to statusbar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3716 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 12:50:33 +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
de16f6c72d New class for working with peer names (rsid, name + location, ...) - PeerDefs.
Show the location in brackets - "name (location)" (defined now in PeerDefs).
Renamed head of context menu in PeersDialog for ssl items.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 20:33:34 +00:00
thunder2
627b0ca54a Reworked MessageComposer
- Added To, Cc, Bcc and Recommend friends
- Added group support
- Show state of the friends in real time
- Save state of the window in profile
- Translated into german

Added "Message group" to PeersDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-27 21:05:52 +00:00