aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20use 'system()' to run 'fluxbox-update_configs'Mathias Gumz1-3/+1
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-18changed the way we create the '~/.fluxbox' directory to avoid race conditionsMathias Gumz1-9/+115
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-18cosmeticMathias Gumz1-55/+106
2010-09-17bugfix: avoid naive use of 'putenv' by providing 'FbTk::App::setenv()'Mathias Gumz1-2/+1
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-17missing initializationsMathias Gumz1-0/+1
'valgrind' reported a lot of code branches based upon uninitialized variables. some are not identified yet.
2010-09-17moved commandline parsing to its own functionMathias Gumz1-20/+36
2010-09-05added info about 'BIDI' support to 'fluxbox -info'Mathias Gumz1-1/+5
2009-03-04Renamed function svnversion() to gitrevision() because now we uses GIT.Slava Semushin1-2/+2
No functional change. Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2008-10-04recognize --option in addition to -option for most thingsMark Tiefenbruck1-9/+9
2008-08-22add -sync command line option for debugging X issuesMark Tiefenbruck1-1/+6
2008-06-11updated the copyright where it's easily visible: `fluxbox -v` and COPYRIGHT.skiidoo1-2/+2
nls/translators: typo, plus Translation.m.desc never existed. Never. more consistent keys file comments in fluxbox-update_config.
2008-06-03add new command line option -list-commandsMark Tiefenbruck1-1/+9
2008-01-25std::string.c_str() is never NULLMathias Gumz1-5/+2
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-25removed KDE configure optionMark Tiefenbruck1-5/+0
2007-12-20replace svn stuff with gitMark Tiefenbruck1-1/+1
2007-12-14fix compile issue with gcc 4.3Mark Tiefenbruck1-0/+6
2007-08-11Changed to Fluxbox Teamfluxgen1-1/+1
2007-07-31add some decorations to torn menus, and fix restart without an argumentmarkt1-8/+10
2007-07-24fix ToggleDecor for fullscreen and decorationless windows, plus some other ↵markt1-1/+5
cleanup
2007-04-24fixed a bug in parsing cli, thanks to steven kah hien wong <steven at ↵mathias1-5/+6
zensaki dot com>
2007-04-17basicly cosmetic changes, patch by slava semushinmathias1-25/+17
2007-03-22small update for the copyright datemathias1-2/+2
2006-10-27cosmetic patch from slava semushin, removes whitespaces andmathias1-19/+32
uses only those things from "namespace std" what we really need.
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-53/+63
console, plus handle catalogs better.
2006-05-22fix parentrelative background, and some tidyingsimonb1-0/+2
2006-05-20improve native language handling, move messages and menu labels to simonb1-1/+1
FbTk::FbString
2006-04-25Output the error message on fallback restart execs (sf.net patch simonb1-1/+5
#1475213). Thanks Jonas Koelker, jonaskoelker at users.sourceforge.net.
2006-04-24Use -Wall when --enable-debug and some warning fixes simonb1-3/+4
+ thanks Jonas Koelker
2006-04-22minor cosmetic tweaks, thanks Semushin Slavak, php-coder AT ngs rusimonb1-1/+1
2006-03-18removed tabs in help textfluxgen1-9/+9
2006-02-16updated copyright infomathias1-1/+1
2005-08-31added svn revision number output, thanks php-coderfluxgen1-1/+1
2005-07-07info about locale path, patch from php-coderfluxgen1-1/+4
2005-06-04added -screen to -helpmathias1-0/+1
2005-05-18updatefluxgen1-0/+1
2005-02-03fixes the year for fluxbox -versionmathias1-1/+4
added a way to display the svn-revision-number in fluxbox -info
2005-01-24copyright datemathias1-1/+1
2005-01-18updated copyrightsmathias1-3/+3
2004-12-21adds imlib2-support to fluxbox: allows us to load several imageformatsmathias1-0/+5
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-11-24fix possible segfault: auto_ptr fluxbox may be 0 ..mathias1-2/+7
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-10-18rewritten fluxbox-restart code, all destructors are called before theakir1-9/+25
new program is started. the former method didnt do that.
2004-10-11fix mainWarnDisplaySet -> mainWarnDisplayEnvrathnor1-2/+2
2004-08-31add autoconf check for std c++ headersrathnor1-4/+16
2004-06-07update NLS string handling...rathnor1-44/+48
2004-02-28compiler and versionfluxgen1-7/+8
2004-01-12yearfluxgen1-2/+2
2004-01-11yearfluxgen1-2/+2
2004-01-11destroy fluxboxfluxgen1-2/+5