Commit Graph

57 Commits

Author SHA1 Message Date
Phenom
969b5ce1f1 Fix MacOSX compilation. 2017-04-21 15:57:57 +02:00
csoler
f406b81238 removed all FFT code and cleaned up deleted code in graphwidget.cpp 2017-04-19 18:46:58 +02:00
csoler
1da89dd70d changed FFT code in graph widget into a more efficient one, with free licence 2017-04-19 17:16:30 +02:00
Phenom
94ac8216f7 Fix Clang warnings: Unused variable Pi
warning: unused variable 'Pi' [-Wunused-const-variable]
static const double Pi = 3.14159265358979323846264338327950288419717;
2017-04-17 21:47:38 +02:00
Phenom
9319caffc7 Fix Clang warnings: 'Node::advance' hides overloaded virtual function
warning: 'Node::advance' hides overloaded virtual function [-
Woverloaded-virtual]
    bool advance();
         ^
/usr/include/qt4/QtGui/qgraphicsitem.h:323: hidden overloaded virtual
function 'QGraphicsItem::advance' declared here: different number of
parameters (1 vs 0)
    virtual void advance(int phase);
                 ^
2017-04-17 21:39:44 +02:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
Nyfor
5e94c772b3 Fixed compilation for Clang. 2016-04-23 09:50:49 +02:00
zeners
aca88308ea compatible to g++11 / QT5
method suggested by cyril
2016-03-29 21:22:14 +02:00
csoler
fc0067f980 fixed bug in network graph search sizes 2016-01-22 22:06:31 -05:00
csoler
c428739abd cleaned the network graph a little bit. Removed text, updated bounding boxes, removed background 2016-01-22 21:32:35 -05:00
electron128
d004056f67 fixed position of scaled/highlighted nodes in node graph (patch from Chozabu) 2015-07-31 17:26:22 +02:00
electron128
9e1a368061 added search and highlighting to network graph (patch from Chozabu)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8368 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-06-04 13:36:34 +00:00
csoler
e449e709b5 attempt to improve/clarify relationship between nodes and PGP keys. Removed duplicate options and splitted ConfCerDialog into a dialog to show nodes certificates and PGP key information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-05-12 20:30:44 +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
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
5304865fc4 Added freeze option in NetworkView (Modified patch from K. Eisentraut)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6879 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-27 23:07:47 +00:00
thunder2
3e15a7bb86 Code maintenance for Qt 5:
- Fixed some missing headers
- Fixed some deprecated functions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6845 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-19 02:07:01 +00:00
thunder2
135a5e579a Code maintenance for Qt 5:
- Replaced Qt::WFlags with Qt::WindowFlags.
- Removed path "QtCore/" and "QtGui/" from the includes.
- Replaced "QString::toAscii()" with "QString::toLatin1()".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6843 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-10-18 21:10:33 +00:00
csoler
be2025382b restrict last commit to left mouse button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6766 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-25 20:19:24 +00:00
csoler
1d0c7b2e2f highlight peers in network graph according to friendship distance from selected node
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6765 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-09-25 20:13:57 +00:00
csoler
ff5fde090c added adaptive factor to force convergence of network graph
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6264 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-21 20:19:43 +00:00
csoler
706fcc20f1 increased friction factor in network graph to compensate the oscillations due to a less precise calculation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6220 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-14 19:53:21 +00:00
csoler
29a762d340 significantly lowered the cost of the network graph by computing pairwise repulsive forces 8 times less often
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-03-07 20:16:04 +00:00
csoler
0591ef0432 corrected bad modification of commit #4560, which made RS not compilable on ubuntu karmic
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-01 16:42:05 +00:00
csoler
52a8b281d5 fixed up color codes for qt 4.7 in NetworkGraph (bug in qt::lighter())
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4581 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-31 20:04:04 +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
thunder2
8d4a4db027 Changed the generation of the gpg key and location to utf8.
The existing gpg keys and locations with umlauts are now shown wrong. The changes are not backward compatible.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-17 23:07:29 +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
csoler
8f9a54544d suppressed debug info
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-19 22:53:55 +00:00
csoler
1585606c4c NetworkView:
- corrected bug in popup menu 
	- used more saturated colors to improve clarity
	- used darker colors for less trusted peers
	- fixed ownId node position to the center
NetworkDialog:
	- changed color of own  lign to yellow to comply with color code in NetworkView



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3826 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-19 21:52:56 +00:00
csoler
b7e1cf73c6 last modification on nodes movement
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3795 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-14 21:14:13 +00:00
csoler
2094734391 improved networkview. It now displays GPG connexions from p3disc, and accepts dynamic friend level modification. Needs full recompilation.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3793 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-14 21:03:36 +00:00
thunder2
9ef2260dd4 Removed focus rectangle of the icon column in NetworkDialog.
Removed minimum size of the GraphWidget in NetworkView.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3784 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 10:22:43 +00:00
csoler
e5ce0c5877 corrected bug in networkview
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3775 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-10 20:18:53 +00:00
csoler
ca45c73dc2 added context menu to networkview
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-09 21:37:24 +00:00
csoler
a32bcbb635 dynamic update of networkview from p3disc info. Disabled friend level for now.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-05 22:46:40 +00:00
csoler
c5a8d25067 improved clustering effect with a non linear edge length
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3739 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-01 15:15:56 +00:00
csoler
0fcc298801 first networkview implementation. Totally unfinished
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-01 14:17:18 +00:00
csoler
70c90832be fixed compilation with old Qt4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-28 19:21:32 +00:00
thunder2
42f20e9b6b Fixed compile on Linux.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3695 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 18:58:45 +00:00
csoler
4fb0b2145e corrected bug in nodes.cpp, line 129: bad modulo arithmetic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 12:44:47 +00:00
csoler
12428d766f forgot isVisible() test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3691 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:54:32 +00:00
csoler
c4b5f41446 fixed force calculation in elastic model. Still need to figure out what connexions we show
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3690 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-22 20:47:08 +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
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
joss17
9976b80566 remove the ssl cert storage. Big rewrite of ssl cert and friend management
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2017 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:22:52 +00:00
csoler
c35a48feb7 Teaked the TrustView and NetworkView so that they only update when visible. Doing so, the CPU overload is only present when strictly needed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-29 11:25:06 +00:00
drbob
b756edd32e * Updated rsiface / rspeers.h
* Added correct menu items to the NetworkView.
 * Tweaked speed of NetworkView to conserve CPU.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-09 13:08:58 +00:00