Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-17 | use FbTk::API to reduce code duplication | Mathias Gumz | 3 | -22/+34 | |
2010-09-17 | code simplification by reducing if-else hell | Mathias Gumz | 4 | -164/+110 | |
a lot of the parsing-related and menu-building stuff is just plain stupid boiler plate code. putting the data into a const array separates the boiler plate data from the actual code. | |||||
2010-09-15 | use hardcoded array for hardcoded placement menu defaults | Mathias Gumz | 1 | -30/+28 | |
2010-09-15 | removed useless code | Mathias Gumz | 1 | -4/+0 | |
'tools' is transformed to lower case some lines above, 'm_tools_ is a copy of the lower cased 'tools'. | |||||
2010-09-15 | code deduplication by using <algorithm> and FbTk/STLUtil.hh | Mathias Gumz | 1 | -17/+8 | |
2010-09-15 | code deduplication by using <algorithm> and FbTk/STLUtil.hh | Mathias Gumz | 6 | -168/+104 | |
2010-09-14 | code cleanup, missing commit for 2b62cf973318978bc222db7719552148275887db | Mathias Gumz | 1 | -30/+23 | |
2010-09-14 | bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape' | Mathias Gumz | 1 | -1/+3 | |
2010-09-14 | cleanup and code deduplication | Mathias Gumz | 5 | -51/+54 | |
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch) * FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned * FbTk/FbString.cc: missing return * WinClient.cc: create atoms only once; use helper function * Window.cc: use a helper function | |||||
2010-09-14 | use one array instead of two to hold both 'names' and 'atoms' for the rootwindow | Mathias Gumz | 1 | -30/+29 | |
2010-09-14 | bugfix: create the corner pixmaps only once per screen | Mathias Gumz | 1 | -14/+29 | |
for each window (windows, menue etc) the initCorners() function of FbTk/Shape.cc was called (which is ok). On each call the corner pixmaps (of the Screen the window belongs to) were created and destroyed the formerly created pixmaps. this is not needed. | |||||
2010-09-14 | bugfix: free the shape-corners on the last used 'Shape' | Mathias Gumz | 1 | -1/+1 | |
the global 's_corners' vector was still used on an application shutdown (including ctrl-c SIGINT). depending on when 's_corners' was created on the stack this could lead to an exception ('pure virtual called') while trying to free the 'FbPixmaps' without having a valid 'FbTk::Application::instance()' left. | |||||
2010-09-14 | bugfix: small typo in last cleanup prevented loading workspace names | Mathias Gumz | 1 | -1/+1 | |
2010-09-13 | cosmetic code cleaning | Mathias Gumz | 2 | -47/+33 | |
* use FbTk::StringUtil::number2String() to avoid 'sprintf' * use FbTk::Util::clamp() * use FbTk::STLUtil::destroyAndClear() * whitespaces | |||||
2010-09-13 | code simplification | Mathias Gumz | 7 | -62/+56 | |
we do not need a std::map just to store an attribute on an AtomHandler, it makes housekeeping just more annoying. | |||||
2010-09-13 | code simplification | Mathias Gumz | 1 | -56/+28 | |
2010-09-11 | updated config version to '13' and adjusted 'fluxbox-update_configs' accordingly | Mathias Gumz | 1 | -1/+1 | |
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-11 | added '(workspace=[current])' to our default keys | Mathias Gumz | 1 | -2/+2 | |
commit 882a50fe1d4930b156965c54d9b66ecb27b4c9b2 removed the hardcoded limit to cycle to windows on other workspaces, though it was and IS a good default behaviour. if users do not want this (they want to cycle to windows on other workspaces), they should explicitly avoid '(workspace=[current])' in their keysfile. | |||||
2010-09-11 | added 'SetXProp' action and (@PROP=foo) clientpattern | Mathias Gumz | 7 | -83/+189 | |
these two allow 'tagging' of arbitrary windows with 'tags' (or 'labels'). such 'tagged' windows can then be used in ':NextWindow (@PROP=foo)' commands to quickly cycle through a subset of available windows. since the 'tags' are applied as real xproperties to a window they survive a restart of fluxbox or even another windowmanager. the user can also set the tags by using xprop(1). the next step regarding the UI should be to visualize the tags of a window. | |||||
2010-09-10 | moved helper struct TextPropPtr into anonymous namespace | Mathias Gumz | 1 | -0/+4 | |
2010-09-10 | code cleanup | Mathias Gumz | 2 | -55/+57 | |
* moved code from public API to internals * avoid code duplication ( while(!m_terms.empty()) ...) * cosmetic '(*it)->' vs 'term.' | |||||
2010-09-10 | removed hardcoded limitation to cycle/focus windows on all workspaces | Mathias Gumz | 1 | -3/+1 | |
reasons: * fixes #1732115, allows to have chatwindows on another workspaces and reach them via :NextWindow (urgent=yes) * old behavior can be achieve by using the (workspace=[current]) pattern | |||||
2010-09-09 | disabled potentially dead code | Mathias Gumz | 1 | -0/+3 | |
2010-09-09 | simpler code | Mathias Gumz | 1 | -4/+1 | |
2010-09-09 | removed dead code | Mathias Gumz | 1 | -3/+0 | |
2010-09-09 | bugfix: initialize the Shape of a menu AFTER we created the window for the menu | Mathias Gumz | 1 | -1/+4 | |
on startup a lot of 'Fluxbox: X Error: BadDrawable (invalid Pixmap ...)' occured. this was caused by using an empty 'Window' to create the shape. | |||||
2010-09-09 | minor cleanup | Mathias Gumz | 3 | -6/+7 | |
2010-09-09 | reduced 'switch/case' and 'else if' hell a little bit | Mathias Gumz | 2 | -93/+82 | |
2010-09-09 | added FbTk::Util::clamp() and simplified related code | Mathias Gumz | 10 | -92/+92 | |
2010-09-09 | use FbTk apis instead of raw xlib calls | Mathias Gumz | 1 | -6/+5 | |
2010-09-09 | simpler to use FbTk/Timer api | Mathias Gumz | 3 | -5/+8 | |
2010-09-08 | cosmetic | Mathias Gumz | 1 | -6/+5 | |
2010-09-08 | simpler way of expressing 'Singleton' for 'FbAtoms' | Mathias Gumz | 3 | -35/+28 | |
2010-09-08 | fixed code duplication | Mathias Gumz | 1 | -5/+1 | |
2010-09-08 | improved 'escapeRememberChars()' routine by traversing the string only once | Mathias Gumz | 1 | -9/+14 | |
removed obsolete 'getuint()' function | |||||
2010-09-08 | avoid code duplication | Mathias Gumz | 1 | -3/+3 | |
2010-09-08 | improved extract*Number functions from FbTk/StringUtil.cc | Mathias Gumz | 1 | -6/+22 | |
2010-09-08 | cosmetic fix: looks like a copyNpaste issue | Mathias Gumz | 1 | -7/+0 | |
2010-09-08 | code simplification | Mathias Gumz | 3 | -18/+11 | |
2010-09-08 | avoid code duplication | Mathias Gumz | 1 | -21/+2 | |
2010-09-08 | removed unused code | Mathias Gumz | 1 | -1/+0 | |
2010-09-08 | introduced FbTk::BidiString | Mathias Gumz | 54 | -427/+438 | |
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text). | |||||
2010-09-08 | removed redundant if-statement | Mathias Gumz | 1 | -7/+5 | |
2010-09-05 | avoid constructing new strings implicit | Mathias Gumz | 4 | -7/+7 | |
2010-09-05 | cosmetic | Mathias Gumz | 1 | -2/+6 | |
2010-09-05 | reuse temporary memory for reencoding / reordering fribidi-strings | Mathias Gumz | 1 | -17/+25 | |
2010-09-05 | added info about 'BIDI' support to 'fluxbox -info' | Mathias Gumz | 1 | -1/+5 | |
2010-09-04 | added support for bidirectional text | Ken Bloom | 3 | -22/+69 | |
2010-09-04 | minor code simplification | Mathias Gumz | 1 | -13/+13 | |
2010-09-04 | fixed the default 'OnTitlebar Mouse1' actions | Mathias Gumz | 1 | -2/+2 | |