Ryan Pavlik
25d04827b5
main.cc,FbTk/StringUtil.cc: On windows, use USERPROFILE instead of HOME
2011-10-31 10:54:32 -05:00
Ryan Pavlik
f922d2d803
main.cc: Add a wrapper for two-argument mkdir on Windows
2011-10-31 10:54:09 -05:00
Ryan Pavlik
5bf23bb05d
Merge branches 'fix-out-of-range-memory', 'obey-configure' and 'other-improvements' into windows-mingw
2011-10-31 10:53:05 -05:00
Ryan Pavlik
d5b58a8033
main.cc: Use expandFilename for default paths
2011-10-31 10:51:45 -05:00
Ryan Pavlik
fa63fcdc66
main.cc: Check getenv output better.
...
Windows returns pointers to empty strings for non-existent env vars.
2011-10-31 10:51:38 -05:00
Ryan Pavlik
4bad431c90
main.cc: Only sync() if we can.
2011-10-31 10:42:06 -05:00
Mathias Gumz
a2558a2b14
removed obsolete handler for the gnome-window manager hints
...
nowadays every app should use the extended window manager hints exclusively.
2011-10-17 17:07:00 +02:00
Mathias Gumz
f9df3ffeda
sync the copied config files to disk before continuing
...
otherwise a race condition might appear between copying the default
config files to .fluxbox/ and executing 'fluxbox-update_configs'. under
macosx this lead to 'fluxbox hangs'.
2011-09-10 20:17:57 +02:00
Mathias Gumz
504fd5c4fa
updated year and copyright info
2011-02-23 21:42:51 +01:00
Mathias Gumz
1797d6895c
almost 10 years of fluxbox
2011-02-23 17:19:27 +01:00
Mathias Gumz
e2d52a3948
bugfix: std::string() does not like NULL on construction
...
not having DISPLAY set (eg: on a headless system) caused fluxbox to crash.
2010-10-13 15:48:29 +02:00
Mathias Gumz
650b6f842b
use 'system()' to run 'fluxbox-update_configs'
...
by using FbCommands::ExecureCmd() we run 'fluxbox-update_configs' in
the bacground while booting a new fluxbox instance already. 'system()'
waits until 'fluxbox-update_configs' is done and then gives the control
back to fluxbox.
2010-09-21 00:08:16 +02:00
Mathias Gumz
0ef76292c5
changed the way we create the '~/.fluxbox' directory to avoid race conditions
...
before bringing up the first instance of Fluxbox we prepare the directory
and the files it needs. if the config version of exiting files is lower
than what we expect, we upgrade the config files. after that we bring
up Fluxbox.
the old way was problematic because setupConfigFiles() calls
'fluxbox-update_configs' which does its job in the background while
fluxbox continues to boot. 'fluxbox-update_configs' sends a USR2 signal
to the booting fluxbox (it might even be finished, no one knows) which
triggers 'load_rc()' which triggered 'setupConfigFiles()' again which
might trigger 'fluxbox-update_configs' again (on my machine
'fluxbox-update_configs' was called 3 times and left a pretty crippled
'keys' file when it was done).
bootstrapping before bringing up fluxbox resolves the issue. as a bonus:
no need to send USR2 to fluxbox to reload the config file because fluxbox
has not even tried to read it yet.
2010-09-18 17:51:30 +02:00
Mathias Gumz
c9c741c88d
cosmetic
2010-09-18 17:27:28 +02:00
Mathias Gumz
87b45bd0d1
bugfix: avoid naive use of 'putenv' by providing 'FbTk::App::setenv()'
...
to quote from 'man putenv':
The string pointed to by string becomes part of the environment,
so altering the string changes the environment.
so, using putenv like
{
std::string foo("FOO=bar");
putenv(foo.c_str());
}
is wrong and leads to a potentially corrupted environment. valgrind
complaint correctly.
FbTk::App seems to be the appropriate place to hold '::seten()'
because it alters the environment of the application.
2010-09-17 23:43:24 +02:00
Mathias Gumz
f3ad09c4ce
missing initializations
...
'valgrind' reported a lot of code branches based upon uninitialized
variables. some are not identified yet.
2010-09-17 23:34:03 +02:00
Mathias Gumz
d3eabeb805
moved commandline parsing to its own function
2010-09-17 15:51:16 +02:00
Mathias Gumz
60c92b96f2
added info about 'BIDI' support to 'fluxbox -info'
2010-09-05 08:49:13 +02:00
Slava Semushin
efea05e85c
Renamed function svnversion() to gitrevision() because now we uses GIT.
...
No functional change.
Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2009-03-04 21:41:39 +01:00
Mark Tiefenbruck
aee9889a27
recognize --option in addition to -option for most things
2008-10-04 14:32:20 -07:00
Mark Tiefenbruck
f1ff5ff3b2
add -sync command line option for debugging X issues
2008-08-22 06:12:01 -07:00
skiidoo
be3ac3723d
updated the copyright where it's easily visible: fluxbox -v
and COPYRIGHT.
...
nls/translators: typo, plus Translation.m.desc never existed. Never.
more consistent keys file comments in fluxbox-update_config.
2008-06-11 07:47:02 +02:00
Mark Tiefenbruck
ad6a7e48f4
add new command line option -list-commands
2008-06-03 01:07:14 -07:00
Mathias Gumz
65df54d635
std::string.c_str() is never NULL
2008-01-25 08:21:35 +01:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mark Tiefenbruck
35d1017959
removed KDE configure option
2007-12-24 22:49:46 -08:00
Mark Tiefenbruck
b90a7e21a9
replace svn stuff with git
2007-12-19 16:51:15 -08:00
Mark Tiefenbruck
90f4f1ecc1
fix compile issue with gcc 4.3
2007-12-14 14:21:39 -08:00
fluxgen
66c537e1dc
Changed to Fluxbox Team
2007-08-11 18:21:36 +00:00
markt
8da54ca0eb
add some decorations to torn menus, and fix restart without an argument
2007-07-31 23:16:05 +00:00
markt
363764db5b
fix ToggleDecor for fullscreen and decorationless windows, plus some other cleanup
2007-07-24 12:12:45 +00:00
mathias
5eb658a51f
fixed a bug in parsing cli, thanks to steven kah hien wong <steven at zensaki dot com>
2007-04-24 19:38:40 +00:00
mathias
6ac57655d9
basicly cosmetic changes, patch by slava semushin
2007-04-17 07:52:40 +00:00
mathias
9ee2ee0ff4
small update for the copyright date
2007-03-22 20:20:26 +00:00
mathias
10082d821d
cosmetic patch from slava semushin, removes whitespaces and
...
uses only those things from "namespace std" what we really need.
2006-10-27 06:57:43 +00:00
simonb
3ada3b1f0d
fix nls... notably classify text on conversion whether its for X or
...
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
simonb
4afe5499b2
fix parentrelative background, and some tidying
2006-05-22 15:09:21 +00:00
simonb
0861f3a907
improve native language handling, move messages and menu labels to
...
FbTk::FbString
2006-05-20 15:08:14 +00:00
simonb
fae88b329c
Output the error message on fallback restart execs (sf.net patch
...
#1475213 ). Thanks Jonas Koelker, jonaskoelker at users.sourceforge.net.
2006-04-25 02:11:19 +00:00
simonb
acf4326f3c
Use -Wall when --enable-debug and some warning fixes
...
+ thanks Jonas Koelker
2006-04-24 14:29:21 +00:00
simonb
1028f4cb51
minor cosmetic tweaks, thanks Semushin Slavak, php-coder AT ngs ru
2006-04-22 09:49:05 +00:00
fluxgen
985d44190e
removed tabs in help text
2006-03-18 22:21:49 +00:00
mathias
ae05ad9a01
updated copyright info
2006-02-16 06:53:05 +00:00
fluxgen
0009bda842
added svn revision number output, thanks php-coder
2005-08-31 20:15:01 +00:00
fluxgen
0ffbf55eb3
info about locale path, patch from php-coder
2005-07-07 12:14:55 +00:00
mathias
99a7f9a110
added -screen to -help
2005-06-04 11:46:42 +00:00
fluxgen
8bbf5e6eed
update
2005-05-18 08:31:27 +00:00
mathias
b7bf873aa0
fixes the year for fluxbox -version
...
added a way to display the svn-revision-number in fluxbox -info
2005-02-03 16:46:46 +00:00
mathias
cf46669bc1
copyright date
2005-01-24 18:34:57 +00:00
mathias
52a8360e5b
updated copyrights
2005-01-18 19:06:04 +00:00