aboutsummaryrefslogtreecommitdiff
path: root/util/fluxbox-update_configs.cc
AgeCommit message (Collapse)AuthorFilesLines
2014-04-11merge Sami Kerola's new build-systemMathias Gumz1-9/+0
2013-06-29fix detection of $HOME folderMathias Gumz1-2/+1
usually $HOME is set when fluxbox runs. in some rare scenarios (eg., fuzzying binaries to detect bugs) one could launch fluxbox by using 'env -i' and thus eliminating $HOME from the environment. to prevent crashes fluxbox uses now 'getpwuid()' when $HOME is not set to detect the home folder.
2013-05-26build-sys: use AC_USE_SYSTEM_EXTENSIONSSami Kerola1-5/+0
The earlier _GNU_SOURCE definitions possibly did not take effect everywhere where it was intended.
2013-05-26build-sys: include config.h to all files using automakeSami Kerola1-4/+0
Do not try to be too smart which compilations need config.h, as most of them will simply because of the config.h has information about system capabilities.
2011-10-31fluxbox-update_configs.cc: Fix on windows - no kill or sigusr2Ryan Pavlik1-2/+2
2011-05-04Fix "comparison between signed and unsigned" warningPavel Labath1-2/+1
2011-04-18Fix VPATH buildsPavel Labath1-1/+1
2010-09-18changed the way we create the '~/.fluxbox' directory to avoid race conditionsMathias Gumz1-1/+1
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-1/+1
2010-09-11updated config version to '13' and adjusted 'fluxbox-update_configs' accordinglyMathias Gumz1-300/+472
our users should migrate seamlessly to our new windows-cycling behaviour without losing their current way of doing things. so, 'fluxbox-update_configs' tries its best to add '(workspace=[current])' wherever it looks like a valid place for it. such changed lines are marked by '!! FBCV13' at the end and can be easily spotted in case the updater got it wrong. addtional changes: * added '-check' to 'fluxbox-update_configs' to check the version number in '~/.fluxbox/init' vs. the version number of 'fluxbox-update_configs' * moved the update-code for each version into its own function, easier housekeeping
2010-09-04fixed the default 'OnTitlebar Mouse1' actionsMathias Gumz1-1/+1
2010-08-20implemented 'ActivateTab' action to (re)allow activation of tabs via mouseMathias Gumz1-0/+16
2010-05-05deploy new key-bindings to old keys-files via fluxbox-update_configsMathias Gumz1-0/+17
2009-10-02just use the FbTk APIMathias Gumz1-4/+3
2009-10-02bugfix: stop wiping out ~/.fluxbox/keysMathias Gumz1-6/+0
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2009-05-25minor cosmeticsMathias Gumz1-1/+1
2009-03-04compilefixMathias Gumz1-1/+1
2009-03-04dont try to read file when they are actually a directoryMathias Gumz1-9/+26
2008-09-10fix updating of keys file for scrolling on toolbarMark Tiefenbruck1-1/+1
2008-08-26use old focus/raise behavior for default alt+left/right mouse bindingsMark Tiefenbruck1-7/+7
2008-08-19update keys file for changes to NextWindow syntaxMark Tiefenbruck1-0/+53
2008-08-06use the same options in Slit and Toolbar placement menusMark Tiefenbruck1-0/+22
2008-06-11updated the copyright where it's easily visible: `fluxbox -v` and COPYRIGHT.skiidoo1-1/+1
nls/translators: typo, plus Translation.m.desc never existed. Never. more consistent keys file comments in fluxbox-update_config.
2008-04-29don't add program icons to tabs for previous users, for backwards ↵Mark Tiefenbruck1-0/+10
compatibility, but leave it as default for new users
2008-03-25Fix build with g++ 4.3Bernhard Walle1-0/+3
This change fixes the build for g++ 4.3. Build verified on openSUSE Factory. Only missing includes and using directives are added.
2007-12-21added key command StartTabbingMark Tiefenbruck1-0/+13
2007-12-21remove `OnTitlebar Mouse2 :Lower', as it interferes with tabbingMark Tiefenbruck1-1/+0
2007-12-11update default keys and init files for OnTitlebar codemarkt1-1/+1
2007-12-09added OnTitlebar modifier to keys filemarkt1-13/+50
2007-11-12allow arbitrary window patterns in iconbarmarkt1-1/+26
2007-10-22added missing mouse3 and space before startresizingfluxgen1-1/+1
2007-10-22replaced ModKey with new key commands StartMoving and StartResizingmarkt1-0/+32
2007-10-13merged changes from pre-develmarkt1-41/+176
2007-07-07allow negative indices in :Workspace <int>markt1-5/+7
2007-02-09added mouse bindings to the keys filemarkt1-0/+197