Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-17 | Store menus if smart pointers (RefCount) | Pavel Labath | 1 | -42/+37 | |
This was originally intended to be a bugfix for an memory error reported by valgrind (accessing freed memory). While debugging it, I found the menu ownership semantics confusing (setInternalMenu() et al.), so I decided to get rid of it and store it in smart pointers everywhere. Looking back, I'm not sure if this was worth all the trouble, but the good news is that the valgrind error disappeared. :) | |||||
2013-02-16 | Replace ResourceManager with the lua version | Pavel Labath | 1 | -18/+10 | |
Loading of an init file with the new manager works ok. Saving and restarting is still not completed. This touches many files because i removed the alternative name of resources. Unlike Xrm, lua does not have native support for alt names. It should be fairly easy to add them, but I think that is unnecessary and would be confusing. | |||||
2013-02-16 | Simplify FbTk::Resource template class | Pavel Labath | 1 | -63/+18 | |
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor. | |||||
2013-02-16 | Specializations of FbTk::Resource<X>::{setFromLua,pushToLua} | Pavel Labath | 1 | -0/+16 | |
for various values of X. | |||||
2012-12-30 | Set WM_WINDOW_ROLE for fluxbox windows | Vladimir A. Pavlov | 1 | -0/+2 | |
2012-10-03 | Improved vertical alignment of text in FbTk::TextButton | Mathias Gumz | 1 | -2/+0 | |
The old formula for vertical align text inside FbTk::TextButton ('height/2 + font_ascent/2 - 1') produced not always good looking results, escpecially when different fonts are involved (eg, ClockTool and WorkspaceName have different fonts and font-sizes). '(height - font_ascent) / 2 - 1' produces better results. Additional changes: * added ASCII-Art to document the involved entities when calculating the baseline * rewritten tests/testFont.cc to accept multiples texts and multiple fonts * removed some internal parts of FbTk::Font from the public interface | |||||
2012-08-28 | changed timing functions to use a monotonic increasing clock | Mathias Gumz | 1 | -1/+1 | |
gettimeofday() is subject to be changed on daylight-saving or to ntp-related (think leap-seconds). even worse, it is subject to be changed BACK in time. this is hard to fix correctly (see commit 45726d3016e and bug #3560509). it is irrelevant for timers to know the nano-seconds since the epoch anyways. | |||||
2011-05-10 | Convert ToolbarItem::resizeSig to FbTk::Signal | Pavel Labath | 1 | -6/+2 | |
2011-05-10 | Convert Screen::reconfigureSig to FbTk::Signal | Pavel Labath | 1 | -2/+5 | |
2011-05-10 | Convert FbTk::Theme::reconfigSig and friends to the new Signal system | Pavel Labath | 1 | -1/+1 | |
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway. | |||||
2011-03-23 | compile fix: sunCC 5.11 (sunstudio 12) compiles and links again | Mathias Gumz | 1 | -5/+5 | |
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'. 'ResourceLayer' sounds crappy, but that was the best I could come up with right now. | |||||
2011-03-01 | fix misordered Toolbar::Placement strings, closes 3195721 | Mathias Gumz | 1 | -3/+3 | |
2011-02-24 | moved Menu placement into ScreenPlacement::placeAndShowMenu() | Mathias Gumz | 1 | -16/+4 | |
2011-02-23 | renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem | Mathias Gumz | 1 | -1/+1 | |
2011-02-23 | disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem' | Mathias Gumz | 1 | -0/+1 | |
had to add <algorithm> at various other files as a result of this change. | |||||
2011-01-16 | compile fix, new name of setMinimumSublevels() is setMinimumColumns() | Mathias Gumz | 1 | -1/+1 | |
2010-09-17 | code simplification by reducing if-else hell | Mathias Gumz | 1 | -66/+38 | |
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-05-23 | mostly cosmetic fixes, mainly discovered by 'clang --analyze' | Mathias Gumz | 1 | -31/+32 | |
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints. | |||||
2009-09-30 | cosmetic fixes: removed redundant ';' + some whitespaces | Mathias Gumz | 1 | -1/+1 | |
2009-07-24 | make autohide only show the border or 1 pixel if borderless | Mark Tiefenbruck | 1 | -18/+15 | |
2009-06-28 | change default toolbar tools to: | Mark Tiefenbruck | 1 | -1/+1 | |
prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock | |||||
2009-06-28 | change default toolbar head from 0 to 1 | Mark Tiefenbruck | 1 | -1/+1 | |
2008-10-19 | increase default size of toolbar and icon buttons | Mark Tiefenbruck | 1 | -1/+1 | |
2008-09-28 | Changed resize signal in BScreen to use the new signal system | Henrik Kinnunen | 1 | -1/+8 | |
2008-09-08 | update workspace names atoms/resources when adding a new workspace | Mark Tiefenbruck | 1 | -1/+1 | |
also removed unnecessary items from default init file | |||||
2008-08-24 | toolbar placement menu wasn't updating | Mark Tiefenbruck | 1 | -0/+1 | |
2008-08-04 | add selection box to various "choose one of these" menu items | Mark Tiefenbruck | 1 | -10/+15 | |
2008-04-27 | Added SimpleObserver class. | Henrik Kinnunen | 1 | -21/+16 | |
This class works in the same way as the SimpleCommand class. Use it with the makeObserver function. It calls the receiver's member function when the subject sends a signal. | |||||
2008-03-29 | fixed a small issue with autohidden toolbar | Mathias Gumz | 1 | -2/+8 | |
the toolbar was not going to hidden state when the slit covered the toolbar and the mouse was still in the toolbar area. now we check event.subwindow to decide if it was a "valid" leaveNotifyEvent. | |||||
2008-02-11 | more fun with the window menu | Mark Tiefenbruck | 1 | -12/+1 | |
2008-01-27 | "On head" menu -- reloading and refreshing bugfix. | Tomas Janousek | 1 | -4/+8 | |
We should reload the contents of this menu on Xinerama layout change. I switched it from FbMenu to ToggleMenu, because the selected head wasn't being updated properly. Signed-off-by: Tomas Janousek <tomi@nomi.cz> | |||||
2008-01-22 | fix some issues with window menus | Mark Tiefenbruck | 1 | -1/+13 | |
2008-01-15 | split Text.hh into Orientation.hh and TextUtils.{cc,hh} | Mathias Gumz | 1 | -0/+1 | |
2008-01-13 | fix crashes on restart | Mark Tiefenbruck | 1 | -1/+2 | |
2008-01-12 | move some stuff from Fluxbox to BScreen | Mark Tiefenbruck | 1 | -4/+1 | |
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -7/+7 | |
ObjectRegistry | |||||
2008-01-05 | update code to use ThemeProxy | Mark Tiefenbruck | 1 | -18/+18 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-28 | move Shape to FbTk | Mark Tiefenbruck | 1 | -16/+15 | |
2007-12-27 | architecture astronomy | Mark Tiefenbruck | 1 | -10/+10 | |
2007-12-16 | changed CommandRegistry to a template class, renamed to ObjectRegistry<Type> | Mark Tiefenbruck | 1 | -2/+2 | |
2007-12-13 | added FbTk::CommandRegistry, decentralized command parsing, and made them ↵ | markt | 1 | -2/+2 | |
auto-register | |||||
2007-12-11 | only allow one open menu at a time | markt | 1 | -21/+15 | |
2007-12-09 | added OnTitlebar modifier to keys file | markt | 1 | -1/+1 | |
2007-11-23 | make sure window commands operate on the right window | markt | 1 | -0/+3 | |
2007-11-22 | added special FocusIn/Out MouseOver/Out ChangeWorkspace keys | markt | 1 | -3/+8 | |
2007-11-20 | move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed | markt | 1 | -1/+1 | |