Commit Graph

135 Commits

Author SHA1 Message Date
hunbernd
acc3e4bb62 Replaced Q_WS_ --> Q_OS_
Q_WS macros are not available in Qt5
Restores some functions in Options->General dialog that were not available under Qt5
2015-08-30 22:51:15 +02: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
csoler
03c68c1276 patch "AddSearchFilesourceSorted_6951.diff" from Phenom. Adds correct sorting for search results.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6972 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-12-27 20:25:49 +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
csoler
1976fece8c Added Open Folder to own files in search (Patch from Phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6603 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-08-23 21:13:13 +00:00
csoler
82456bc9a6 removed auto-clear of search field when searching (Patch from AC)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6182 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-02 21:31:45 +00:00
thunder2
a8d1d05405 Moved most of the hardcoded colors of lists and trees to the file qss.default (with help from braindead).
Now the stylesheet can redefine these colors.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5843 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 16:01:21 +00:00
csoler
6edb9eb4f8 Merged branch that provide group-based file permissions.
Now users can sort peers into groups in the friend list, and attribute flags and parent groups to the
directories in the share manager.

Flags are B-B-N, meaning in order:
- browsable for peers in the parent groups
- browsable for everyone
- network wide for everyone
Backward compatibility makes previously BN flags been interpreted as -BN, meaning browsable/network wide for everyone.

Be careful with this new feature. It has been tested, but it's a bit early to rely on it for highly sensitive data.

The merge also includes a significant improvement of the naming of flags with incompatible types
which should sort out some existing bugs as well, since inconsistencies in flag usage have been
found during the process.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5787 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-07 20:03:16 +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
dc82cee700 First shot of file sharing permissions. Compiles, but needs some testing/debugging.
- added type-safe flags in retroshare/rsflags.h. This should be used to make new flags types in order to prevent mixing flags up in function prototypes.
- group handling is left to rsPeers. We'll move it to rsCircles later.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-FileSharingPermissions@5754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-01 10:06:12 +00:00
thunder2
a7c29c0f24 Removed the filter comboboxes and replaced it with a menu in LineEditClear.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5737 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-10-29 10:59:26 +00:00
thunder2
3d341b3817 Moved some internal stylesheets to the file Standard.qss.
Reworked some elements in the standard gui.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5521 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-07 17:30:23 +00:00
thunder2
be177ecb27 Fixed one more compiling issue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-11 21:32:22 +00:00
thunder2
63104ceefc Fixed possible compiling issues on Ubuntu.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-10 23:47:41 +00:00
thunder2
0989897696 Fixed sorting (case insensitive, numbers) in SearchDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5207 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-06-09 14:14:04 +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
csoler
2f749e2bf5 Improved Search Dialog (Patch from AsamK)
-don't add friend sources count to anonymous count each time a result for the same file is received!, this could lead to enormously large sources numbers
  -don't readd search in summary list if it was already removed by the user
  -don't clear the filter when new search results are added
  -when using the file name filter only show result from the current search, not also from previous searches
  -fixed adding only file types which were searched for, for this I created a new hidden column in summary list to store the file type
  -fixed sorting by file size/age, pad string with '0' instead of ' ' Search feature: a quirk I've found
  -decrease gui hanging:
     -when adding search results temporarily disable sorting
     -only add 250 instead of 500 items in one go
     -don't call selectSearchResults() for each item added to the result list; instead call hideOrShowSearchResult() which only sets the hidden status of the added item, not the complete list
     -replace std::string with QString, removes unnecessary conversions


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-12 19:30:41 +00:00
thunder2
7756b093bf Added new basic class for a QLineEdit with a clear button - LineEditClear.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5080 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-05 21:03:03 +00:00
csoler
0778e8f691 3 patches from AsamK:
* fixed utf8 in dropping links to channels
	* fixed pasting cert links in the friend list
	* added code to allow pasting GPG certificates missing a newline at the end.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-30 19:43:39 +00:00
thunder2
4cb844c44d Removed most of the usages of std::ostringstream in the gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-28 18:02:49 +00:00
csoler
ee5dcd1a8c - moved RsAutoUpdatePage into retroshare-gui/ directory, to allow plugins to use it
- removed VOIP code from main executable. Moved it into VOIP plugin (c.f next commit)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-19 15:03:07 +00:00
thunder2
5c75b3933a Mark local existing files in SearchDialog with red text color.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4955 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-18 01:50:33 +00:00
thunder2
ef57cd44b3 Added a new menu item "Search again" to the SearchDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4724 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-12-10 23:41:58 +00:00
thunder2
0ee35b55f4 Added new widget for hashing files.
Added new common class FilesDefs to handle informations of file types like icons and names.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-12-07 13:08:12 +00:00
csoler
43cbc153ed added dialog to select files to DL from collection files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4667 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-09 21:26:51 +00:00
csoler
f77bb8136f added icon for rscollection file type
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4665 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-11-09 14:02:15 +00:00
thunder2
7e3a342a9a Fixed utf8 issues (Patch from Asamk #3393353)
SearchDialog: enable search for strings containing utf8 characters, I assume that filenames are always stored as utf8 on all platforms
ConnectFriendWizard: adding friends with gpg key or from file, now sets location name correctly
notifyqt: setting status message in chatwindow works correctly now, when a friend changes his message while the chat window is open

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-11 23:29:38 +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
154d315c92 Fix for ticket #124
Search don't work with utf8 chars.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4574 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-27 16:15:56 +00:00
thunder2
0f51b7d72f Set inititial sizes of the splitter and columns in FriendsDialog and SearchDialog.
Fixed height of the MainWindow when GetStartedDialog is visible.
Fixed the initial size of the ShareManger and show the checkboxes for the share mode centered.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-15 23:42:07 +00:00
thunder2
39708cdd0b Removed some more compiler warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4566 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-14 21:25:41 +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
csoler
e877f31409 made search case insentitive, by default
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4315 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-21 21:08:56 +00:00
csoler
a28b6d0de9 made the default behavior for multiple keywords search to eb an AND between keywords (emule style)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-20 22:19: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
1dfa0c4155 suspended the addDirectory function, since it s not working properly yet (no hierarchy created, download not working, etc)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4138 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-09 15:06:12 +00:00
thunder2
db19db7e60 Optimized some small things in TransferDialog and SearchDialog.
Changed the parameter of the constructor of ftFileCreator and ftFileProvider and some methods of ftTransferModule from "std::string" to "const std::string&"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-20 00:59:47 +00:00
defnax
24b2b8ce29 added settings to search for store the splitter position
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4043 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-17 16:30:59 +00:00
defnax
daad701f52 Added Search Filter for Search Results
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4039 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-16 20:07:06 +00:00
thunder2
4b8766aec3 Fixed compile on Windows and removed some compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 21:23:44 +00:00
csoler
62c7f815fc improved cost of search usign temporization. Removed some debugging outputs from RetroShareLink
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4027 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-09 21:44:49 +00:00
thunder2
e0a2883eaf Commited changes from Imanuel
Added flac and m4a to the audio extensions. Optimized "toUpper" on searching for the extension.
Convert the extension to lower case to find mixed cases too - mP3, AVi, ...


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-09 20:49:41 +00:00
thunder2
f7252fd693 Added three new methods on misc: getOpenFileName, getOpenFileNames and getSaveFileName. Please use this rather than QFileDialog.
Added save and restore of the last used directories for the following types
- Extra files
- Certificates
- History
- Images
- Messages
- Blogs (not tested)
It is easy to change.

Added attach of multiple files at once in CreateForumMsg.
The RetroShare links of the added files in CreateForumMsg are added with new style and as anchor with size information.
Added translation to some file dialogs.
Removed (commented out) not needed methods in NetworkDialog.
Fixed handling of filenames with umlauts when adding extra files.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-03 00:54:40 +00:00
defnax
3896ce0e5e fix for the searchline stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-01 00:37:43 +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
defnax
df8cf16f9f changed search line frame's objekt name.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:22:03 +00:00