Commit Graph

149 Commits

Author SHA1 Message Date
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
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
20908b2c48 Count of new messages in systemtray tooltip corrected
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-09 08:01:52 +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
chrisparker126
5cc59d6e77 added idle status and connection to messenger window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-27 12:18:44 +00:00
csoler
0773e92f85 Ported patch from thunder2 (http://sourceforge.net/tracker/index.php?func=detail&aid=2991827&group_id=178712&atid=886241)
- Bug fix: Checkbox for automatic share of the incoming directory doesn't correctly set with setDown, use setChecked
- ShareManager and RSettingsWin doesn't need to be created all the time
- RSettingsWin: Save the last active page for the current runtime
- ShareManager and DirectoryPage: Show changed shared directories direct after the change




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2777 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-24 22:09:47 +00:00
csoler
38463c905e ported branch commit 2732: fixed deadlock in passwd callback
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2734 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-19 21:50:03 +00:00
chrisparker126
e6848bb615 enabled messenger on the side of rs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-18 19:54:19 +00:00
defnax
4c3651d597 Added to count new messages on Tray icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2722 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-15 14:35:27 +00:00
defnax
76cb8733af Fixed new message string
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-12 22:31:14 +00:00
csoler
c6c8e63e91 ported branch commits 2666-2668, 2670-2672, 2679, 2682-2683 into trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2702 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-10 14:56:34 +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
0ea171e237 fixed mainwindow title
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2505 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-09 13:22:58 +00:00
defnax
07da0c3917 removed translation for QFont "Arial"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-04 18:08:24 +00:00
defnax
706e26a7e3 fixed only show a new message icon on tray when its a inbox message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-03 21:55:07 +00:00
defnax
e23878665b fixed trayicon tooltip
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2450 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 17:59:59 +00:00
defnax
508782f673 added change trayicon when get a new message, added change trust icons when trust is changed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-27 17:47:52 +00:00
defnax
1ee9a6ae0d added for blogs own define to project file and set on MainWindow the defines for Blogs, added to function for Messages icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2423 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-25 13:12:18 +00:00
defnax
7cba8b3b6b clean up blogs from project file added to the unfinished section for compiling
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-24 12:58:24 +00:00
chrisparker126
3ff7635171 adding blog bad to gui, test for new blog reply field
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2376 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 23:23:19 +00:00
defnax
4ee0b8f252 removed unused icons, needs make clean for compile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 01:33:32 +00:00
csoler
3621ef4a95 resurected error msg window. Added a check for file hashes in FileRequest() to detect issues with badly formed file links
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2230 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-07 18:10:12 +00:00
joss17
d8ae27123e gui cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-06 20:49:24 +00:00
defnax
451af2b47d moved Forums before Links Cloud
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-04 21:47:34 +00:00
defnax
8d74bb0e6b redesign MessengerWindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-03 17:39:30 +00:00
joss17
e142c63180 update start wizard, change gui settings directory into ssl profile directory (RestroShare.conf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-27 22:31:25 +00:00
joss17
ac580a6c07 add location to account detail at startup, and improve the peersdialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-18 22:44:09 +00:00
defnax
2ad7d02fa3 Added settings for start Quick Start Wizard at first time start.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1984 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-08 16:32:10 +00:00
defnax
b05dbc80e4 Added Quick Start Wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1982 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-08 13:00:00 +00:00
defnax
2a107ad706 rename menu to trayMenu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1952 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-01 13:45:35 +00:00
defnax
5fb8107779 clean up MainWindow removed not used code for openfile
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1951 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-01 13:28:56 +00:00
defnax
e919981e00 * added a about dialog
* quit RetroShare with rApp not more use qApp for quit, shutdown is now faster.
* added first retranslateUi for MainWindow
* changend Add Share string.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1944 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-31 02:23:02 +00:00
joss17
61c570b0f0 remove DHT from the gui
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1873 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-14 13:47:04 +00:00
defnax
3830d39278 added missed defines
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1860 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 14:49:15 +00:00
defnax
ecac6008bc added unfinished section to compile unfinished examples and prototypes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-05 13:42:24 +00:00
nishant
d975d8bf1f Messenger Window linked with RsAutoupdate
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1855 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-30 16:12:13 +00:00
defnax
d7a052720a moved trayicon to own void function
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-24 20:17:13 +00:00
defnax
9c5f01f49a changend icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1715 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-04 16:54:37 +00:00
defnax
25f888b8c6 removed not needed old channels sources
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1710 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-04 15:17:06 +00:00
defnax
858951be63 changend order
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1649 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-14 18:04:37 +00:00
defnax
50fd6ae8bc Enabled Channels by default for Release version
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1647 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-13 18:11:36 +00:00
defnax
fba860fc2c Generated a new MainWindow.ui to solve the problem with the grey background color.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1641 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-12 16:39:50 +00:00
defnax
26b149429b added Enable disable minimize to Tray feature when closing RetroShare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-08 12:34:18 +00:00
defnax
bb7e3684f0 clean up mainwindow
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-22 10:19:47 +00:00
alexandrut
c0523dabbd changes to speedup settings dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1562 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-21 17:58:55 +00:00
alexandrut
1c93c63ba4 add new settings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-19 22:19:35 +00:00
defnax
43b6505512 added rating icons to show on first columns too
update settings with latest changes from Preferences

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-17 20:19:02 +00:00
csoler
a293a39d1b - Integrated the turtle search and download to the gui. Now the search handles both friend and turtle searching.
- added a console in config->server->F2F routing to be able to visualize turtle routing statistics

WARNING: this is not complete yet. The fllowing still needs to be done:
- detect duplicates in search results between turtle and friends search
- RegExpr search does ot work with turtle (still to code).
- search does not search own files. Is this really needed after all ?



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1540 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-16 20:10:53 +00:00
joss17
eef31ea805 Revert "now retrieve version for gui directly from lib"
This reverts commit 0aa0d500c001730e05ffecd69cf3068d87138557.

The GUI and LIB could have two different version when compiling, so we
need to keep both version info.

Conflicts:

	retroshare-gui/src/version_detail.sh

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 15:11:08 +00:00
defnax
e7b289b367 Clean up MainWindow removed unused headers and not needed SMPlayer entries
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-10 23:44:46 +00:00