Commit Graph

32 Commits

Author SHA1 Message Date
leander-256
fe46d7618a Prevent multiple instances from running on Unix systems.
Every call to RsInit::LoadCertificates() now creates a file:
~/.retroshare/xxxxxxxxxxxxxxxxxxxx/lock
which is then bound to a system lock (fcntl F_SETLK).

If the lock request fails, it means another instance is already
running with the same profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3241 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-01 20:30:36 +00:00
defnax
6d3db4ae66 fixed some MessagesBox's to display a default Window Icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3140 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-15 15:13:47 +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
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
8ce338c49c Source code maintenance
Memory leaks:
- NetworkDialog::loadcert -> new QFileDialog
- NetworkDialog::insertConnect -> takeTopLevelItem
- NetworkDialog::on_actionAddFriend_activated -> new QFileDialog
- main -> new StartDialog, new GenCertDialog

to be continued

Info:
Pointer from takeTopLevelItem must be deleted

Can someone convert the StartDialog from QMainWindow to QDialog ?


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 13:12:46 +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
76a4c34440 rsstatus
-implemented simple rsStatus for messenger window
- fixed minor bug with messenger window (starts new pop-up chat dialog when peer responds, if private chat started from messenger window) solution: messenger windows start peers dialogs pop-up chat dialog instead


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-15 12:02:23 +00:00
chrisparker126
6b8f62d8f0 Added support for Auto-login
- added checkbox in start dialog including warning (autologin not safe)
- added check box in gen setting to disable autologin on shutdown

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2689 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-08 11:55:10 +00:00
csoler
c7895aa0e2 made gpg ids more consistent with the way gpg lists them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-20 13:36:30 +00:00
csoler
449f257ef5 added more detailed info about gpg ids in login and gen certificates dialogs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-20 13:25:09 +00:00
joss17
9262feac1c add error info when gpg password is wrong
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2261 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-09 19:10:42 +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
joss17
77b3c0afd0 first code for the gui : network dialog, start dialog and certificate first generation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:08:46 +00:00
joss17
45b2287d41 remove the store of the pgp password
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:06:53 +00:00
joss17
6055c30832 code cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2006 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-13 21:03:36 +00:00
defnax
4dc48127f9 changend profile/info button as link
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1935 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-12-23 16:17:36 +00:00
joss17
be575a918d hide the password fields
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1791 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-30 21:26:51 +00:00
joss17
c00928a349 change back the engine setting. Now it should work with gpg1 and gpg2
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1740 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:50:30 +00:00
joss17
c7f20ab146 remove the password fields for start dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-10-27 20:47:19 +00:00
defnax
c9f295a760 added InfoDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-22 17:23:41 +00:00
csoler
0573171e6f fixed win32-x-g++ compilation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-09-05 18:15:23 +00:00
joss17
39882161b1 remove autologin button for other than windows sys
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1557 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-19 09:31:33 +00:00
joss17
ee99a37502 hide ssl password when logging in
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-18 12:43:33 +00:00
defnax
e56f29ce92 setFocus for Login and Search Field
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-13 12:16:35 +00:00
defnax
01935af39b added for Network menu Create new Profile action to can generate more Profiles without need to run Login Window.
disabled from Profile Generator Dialog not used the optional Cert loading sections.
fixed startdialogs layout

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-04 23:37:01 +00:00
joss17
83531eacdc add return button shorcut for pgp password field
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-08-02 14:11:54 +00:00
drbob
246927ac46 GUI side of the v0.5.0 modifications.
* Changes to startup / login function to handle multiple accounts.
 * Switched on OpenPGP version by default.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-07-30 21:48:54 +00:00
drbob
100cf75439 * minor changes required to get the gui working with PGP,
* improved NetworkView to show signatures, and friends.

I expect these will be cleaned up later - these were purely functional so i could test pgp.

Enable using RS_USE_PGPSSL in rsiface/rsinit.h
   


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-23 15:13:01 +00:00
csoler
529b0d7f04 disabled auto-login for non windows systems.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-05-17 12:58:15 +00:00
csoler
78c07ca367 Turned RsInit into a static class, and changed retroshare invite so that it does not contain signatures anymore.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-02-08 14:30:28 +00:00
defnax
8dab34d350 added stylesheet to src
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@794 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2008-11-07 22:11:33 +00:00
drbob
935745a08e Created V0.3.x branch and moved the head into the trunk directory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2007-11-15 03:18:48 +00:00