Commit graph

78 commits

Author SHA1 Message Date
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
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +00:00
mathias
9f4b2978c3 fix possible segfault: auto_ptr fluxbox may be 0 .. 2004-11-24 11:46:07 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
akir
496d73d899 rewritten fluxbox-restart code, all destructors are called before the
new program is started. the former method didnt do that.
2004-10-18 01:26:54 +00:00
rathnor
9fbf1ab395 fix mainWarnDisplaySet -> mainWarnDisplayEnv 2004-10-11 22:48:35 +00:00
rathnor
d17bf39a43 add autoconf check for std c++ headers 2004-08-31 15:26:40 +00:00
rathnor
fff4456dee update NLS string handling... 2004-06-07 11:46:05 +00:00
fluxgen
454938dd94 compiler and version 2004-02-28 10:32:06 +00:00