Commit Graph

73 Commits

Author SHA1 Message Date
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
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
5277ca61e2 Some more changes for utf8 in Windows.
Changes in RetroShareLink and drag'n'drop of files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-17 21:54:25 +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
daf0ea50ee PeersDialog/MessengerWindow:
- send recommended friend as message
- paste recommended friends as "retroshare://person|..." from clipboard

reworked retroshare link handling
- added new type -> retroshare://person|<name>|<hash>
- added processing of links to RetroShareLink and RSLinkClipboard and removed all processing in anchorClicked of QTextBrowser 
- fixed parseClipboard to handle all found links in clipboard
- disabled the processing of the clickable links (RetroShareLink::processUrl), because QUrl can't handle the RetroShare links properly

removed memory leaks of the QAction in some context menus


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-15 11:25:34 +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
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
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
csoler
5b119ca4ba Corrected typo, Replaced Ok Button by anabled Apply button in settings, suppressed double click action for download in Shared File lists
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2914 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-16 09:54:21 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +00:00
thunder2
0c46da0dd2 Changed settings to local variable, no more as pointer on all classes.
RshareSettings settings;
settings.value(...);

It should lower memory usage and removes memory leaks.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:02:52 +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
thunder2
fb58beef4f Source code maintenance
Memory leaks:
- PeersDialog::insertPeers -> takeTopLevelItem, takeChild

- activate correct page on creating a new forum or channel from PeersDialog (problems with RS_RELEASE_VERSION)
  new static method to activate a page MainWindow::activatePage

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2842 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-03 00:09:55 +00:00
defnax
523956c0bf removed formating for the textlabel in SharedFiles.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-03 18:42:03 +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
04607c1205 restore back changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2610 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-23 11:48:34 +00:00
defnax
594defb1bd disabled set Command action not realy useful and not working.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2603 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-22 23:26:44 +00:00
csoler
cc17744ee3 ported branch v0.5.0 commits 2529 and 2544 to trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2545 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-15 12:57:08 +00:00
csoler
0705d9dfc7 added paste multiple links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 23:09:35 +00:00
csoler
a657def956 cleaned the RS link code, factorized the parsing into a single class. Still missing: copy/paste of multiple links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-10 21:38:26 +00:00
defnax
3ec3e4f53a added Copy link as html format
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2482 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-04 15:42:50 +00:00
defnax
2f43e4152c little design fixes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2308 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-14 01:34:14 +00:00
csoler
b899327f13 improved display of turtle routing info, corrected some minor compilation issues
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 23:09:46 +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
joss17
bf67301d71 remove a maximum of debug outputs for the release
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 21:28:40 +00:00
csoler
7d82dfb115 suppressed non release mode menu entry
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2231 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 20:10:31 +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
defnax
309e88e6b7 Added to send own Shared File as link to Public Chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-01 14:47:54 +00:00
defnax
1600831e16 Added attaching files to Public Chat via Button/Drag and Drop
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-31 22:29:30 +00:00
defnax
8b6f91e144 changed on context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2163 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-31 18:45:57 +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
751a466083 suppressed share type column for remote peers
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-21 12:35:11 +00:00
csoler
bad2b7a9f6 disabled unused column in Shared files tab
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2096 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-20 12:40:17 +00:00
defnax
84447a6304 Added to Send RetroShare link as html format for Messages
Added to can download from Messages when clicked on link.
Added when start connection attempt then change icon on location.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-16 18:03:35 +00:00
defnax
bbe773b91c removed not needed old Preferences
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-14 17:13:10 +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
261f21f22a improved design layout of some pages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1689 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-25 23:28:42 +00:00
alexandrut
c5e66682c8 set default title as file name for a link
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-17 22:06:48 +00:00
defnax
6145efd378 reorder local context menu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1547 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-17 21:40:34 +00:00
alexandrut
6e87a8d31f add links to cloud from shared files dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1544 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-17 20:19:53 +00:00
csoler
cf2343105b Improved RemoteDirModel interactivity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 18:14:55 +00:00
csoler
4720de4f70 corrected include insistency of RemoteDirModel.h
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-11 09:36:35 +00:00
defnax
4e8294444b Fixed SharedFiles column size's
Enabled for Network Log to show again rsversion
Added .rsfb extension for Uploads Progressbar

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1514 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 23:11:17 +00:00
defnax
11001bd1d4 added functionality to change text label when switch to different view.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1395 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-21 16:17:22 +00:00
defnax
13eed1c932 redesign SharedFiles, with splitted view for Remote and Local Dirs and added QFrame's for switch to different views.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1392 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-20 17:03:27 +00:00
defnax
3bd022bea3 added storing Network Tab Position
added for Check files button to change text when checking files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1353 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-11 00:45:17 +00:00
alexandrut
cfc2aa89c7 added open file/folder actions in local sharedfiles dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1330 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-07 18:56:31 +00:00