Simon Mott
45759aa258
Prevent duplicate dialogs for successful update as root
Fixes issue CLIENT-141
Change-Id: Idba0691d80e50042fac8b970d4351ecd19e97e26
Reviewed-on: http://gerrit.dmdirc.com/1759
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
251bcf1741
Fix bug in preparing the launcher.
Change-Id: I2e310e364c26ba86eba428b2d94a08cb89c8b666
Reviewed-on: http://gerrit.dmdirc.com/1757
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
13 years ago
Shane Mc Cormack
fd83b6b2a9
Update Copyright
Change-Id: I7f63fdd02ea0109fe31e55c44b078edae3862f32
Reviewed-on: http://gerrit.dmdirc.com/1726
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
13 years ago
Shane Mc Cormack
ad30b96580
Slightly nicer way to get the BASEDIR
Change-Id: I10d6bfe317653881e4b0af603d44ce2a6a435004
Reviewed-on: http://gerrit.dmdirc.com/1276
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Shane Mc Cormack
21efd7f341
When relaunching to update with sudo, always pass -d
Fixes issue 3958
Change-Id: Iaedb281b12cb82e9bc2023b36bb2c3faa924bb30
Reviewed-on: http://gerrit.dmdirc.com/1077
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 years ago
Shane Mc Cormack
989109b03c
when checking to see if functions.sh exists, use the full path.
Fixes issue 3888.
Probably makes issue 3887 redundant, but I'll do it anyway.
Change-Id: If196ea5f2dc74334058ee9b876f43bcef0414d9e
Reviewed-on: http://gerrit.dmdirc.com/1019
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Chris Smith <chris@dmdirc.com >
14 years ago
Shane Mc Cormack
6ef08b8a78
Be more dash friendly.
Change-Id: Ie0e67456e2580a1428aa36632788d6213c340d0c
Reviewed-on: http://gerrit.dmdirc.com/956
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
Reviewed-by: Gregory Holmes <greg@dmdirc.com >
14 years ago
Shane Mc Cormack
1934770f6f
Be more intelligent when looking for functions.sh, and correctly build functions.sh into the launcher when building the installer.
Change-Id: I7d7b5dff75bcd4ed89e92b9add69cc9d398870c0
Reviewed-on: http://gerrit.dmdirc.com/946
Reviewed-by: Chris Smith <chris@dmdirc.com >
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com >
14 years ago
Chris Smith
f3a753ec49
Fix error when trying to launch client on unix
Fixes issue 3534
Change-Id: Ieab5c4890b8af7f47c617ba1b8e37758b0cdf111
Reviewed-on: http://gerrit.dmdirc.com/515
Automatic-Compile: Gregory Holmes <greboid@dmdirc.com >
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
5390443ea0
Rather than just including an old version of the functions in the launcher, build in functions.sh from the installer.
This really negates the need to even include functions.sh when it exists but I'll leave that in for now.
Change-Id: I579dff3cae8930f43eea04780fa60cb55738a7d3
Reviewed-on: http://gerrit.dmdirc.com/434
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
b691b14491
Update the copyright date on all files.
UpdateCopyright.sh now works out the year automatically.
UpdateCopyright.sh now ignores .git aswell as .svn
UpdateCopyright.sh now excludes Binary Files from being matched during the initial search, rather than as an afterthought.
Change-Id: I2cfc56851a4217a4c85cbc7361c7a90421aae717
Reviewed-on: http://gerrit.dmdirc.com/202
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com >
Tested-by: Shane Mc Cormack <shane@dmdirc.com >
14 years ago
Shane Mc Cormack
7f0a0f7d38
Use XDG_CONFIG_HOME for storing the config if ~/.DMDirc/ does not exist.
Fixes issue 3097
Change-Id: I3e85e23908421bc6631718dfd74027acb61a3249
Reviewed-on: http://gerrit.dmdirc.com/92
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
b6e5f48a08
Fix including functions.sh when using dash not bash.
Change-Id: I4a841edd8f6ad169fdac6e99960ce71e09e6469c
Reviewed-on: http://gerrit.dmdirc.com/51
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
58d139e795
Client support for launcher options. (Currently jsut ignores them because the website doesn't understand them)
Also fixes a missing 'then' from gerrit being annoying!
Change-Id: I387c62616126c744f2c5129cabd2554004ff9db8
Reviewed-on: http://gerrit.dmdirc.com/45
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
256ed0bcf6
Fallback to zenity when available and running in a gui.
Fixes issue 2857
Change-Id: I988d7357af03f9d8c9e16ca0aec0d14e6092a018
Reviewed-on: http://gerrit.dmdirc.com/43
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
c8118edebf
Look in the right place for updates in portable mode.
Fixes issue 3025
Change-Id: Ib0e61e8b1d3a4a1e9878185b26b6c6ec0d2db4f2
Reviewed-on: http://gerrit.dmdirc.com/42
Reviewed-by: Chris Smith <chris@dmdirc.com >
Tested-by: Chris Smith <chris@dmdirc.com >
14 years ago
Shane Mc Cormack
7448cd3932
Allow launcher to support zip file updates, issue 3024
Make OSX installer include functions.sh in the dmg
Change-Id: I8606fd0737a7669848f7b1b493117a019d6d8919
Reviewed-on: http://gerrit.dmdirc.com/41
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
ab14e1d06f
Move dialog functions into functions.sh rather than duplicating everywhere.
Dialog functions now try:
- kdialog if found and either kdeinit or kdeinit4 are running, or zenity is not found
- zenity if found
- dialog if found
- text-only (and question defaults to no, or a passed value)
Kinda fixes issue 3078 (if a dialog isn't shown, then kdialog, zenity and dialog are not installed, or user is not in an X session.)
Fixes issue 3042
Change-Id: I7678233a9e9af75bcf97d6b47ae925636334b2e3
Reviewed-on: http://gerrit.dmdirc.com/38
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
14 years ago
Shane Mc Cormack
8628312679
Launcher should in theory support bsdiff now nicely!
Issue 1965
Change-Id: I938abf319c962d90d6c8ec904900bb6b02286d63
Reviewed-on: http://gerrit.dmdirc.com/39
Reviewed-by: Gregory Holmes <greboid@dmdirc.com >
Tested-by: Gregory Holmes <greboid@dmdirc.com >
15 years ago
Shane Mc Cormack
4f18140972
version++
15 years ago
Shane Mc Cormack
a80a0a1bf9
Don't fall over if ${HOME}/.profile sucks.
15 years ago
Shane Mc Cormack
e74d0ded47
Apple changes, fixes issue 2514
15 years ago
Shane Mc Cormack
45ce7346a6
Added getConfigOption() function that can read a DMDirc config file for values.
15 years ago
Shane Mc Cormack
25abf29ce1
Oh so hard...
15 years ago
Shane Mc Cormack
2083e98ff6
Issue 1558
15 years ago
Shane Mc Cormack
d194028c8a
increment version
15 years ago
Shane Mc Cormack
022dadf6bc
Relaunch if client exits as -42
15 years ago
Shane Mc Cormack
6770b514fd
Fix issue 2037
15 years ago
Gregory Holmes
ad6cddbba0
Update copyright header to 2009
15 years ago
Shane Mc Cormack
da01115ede
Merge linux and osx launchers into unix launcher.
Fixes issue 1724
git-svn-id: http://svn.dmdirc.com/trunk@4635 00569f92 -eb28-0410-84fd-f71c24880f
16 years ago