Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-01 | Rename new config files to <foo>.lua | Pavel Labath | 1 | -1/+1 | |
2011-11-01 | Attach modifiedSig handlers to the session.screenX.tab.width resource | Pavel Labath | 1 | -8/+1 | |
2011-11-01 | Attach modifiedSig handlers to the session.screenX.tab.placement resource | Pavel Labath | 1 | -3/+3 | |
2011-11-01 | Attach modifiedSig handlers to the session.screenX.tabs.intitlebar resource | Pavel Labath | 1 | -1/+1 | |
2011-11-01 | Attach modifiedSig handlers to the session.screenX.tooltipDelay resource | Pavel Labath | 1 | -0/+3 | |
ps: previously, one had to restart fluxbox for changes to this resource to take effect. | |||||
2011-11-01 | Attach modifiedSig handlers to session.screenX.menu{Delay,Alpha} resources | Pavel Labath | 1 | -4/+4 | |
2011-11-01 | Attach modifiedSig handlers to session.screenX.(un)focusedAlpha resources | Pavel Labath | 1 | -2/+6 | |
2011-11-01 | Attach modifiedSig handlers to the session.screenX.windowMenu resource | Pavel Labath | 1 | -11/+4 | |
2011-11-01 | Attach a modifiedSig handler to the session.cacheMax resource | Pavel Labath | 1 | -1/+3 | |
2011-11-01 | Attach a modifiedSig handler to the session.cacheLife resource | Pavel Labath | 1 | -1/+3 | |
2011-11-01 | Attach a modifiedSig handler to the session.menuFile resource | Pavel Labath | 1 | -5/+5 | |
2011-11-01 | Attach a modifiedSig handler to the session.styleFile resource | Pavel Labath | 1 | -5/+0 | |
2011-11-01 | Emit the "modified" signal when a resource value is changed through C++ code | Pavel Labath | 1 | -2/+3 | |
2011-11-01 | Add RangeTraits class which automatically clamps the value of resources | Pavel Labath | 1 | -12/+2 | |
and start using it. | |||||
2011-11-01 | Enable the resource traits classes to hold non-static members | Pavel Labath | 1 | -3/+2 | |
ps: the Resource class inherits from the Traits class instead of holding it as a member because it's more size-efficient (base classes can have zero size, members cannot). | |||||
2011-11-01 | use Lua::registerInitFunction to simplify some parts of code | Pavel Labath | 1 | -1/+1 | |
2011-11-01 | Fix a bug in the default root menu | Pavel Labath | 1 | -4/+8 | |
2011-11-01 | Catch and report errors during the creation of menus | Pavel Labath | 1 | -9/+18 | |
2011-11-01 | Store menus if smart pointers (RefCount) | Pavel Labath | 1 | -47/+16 | |
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. :) | |||||
2011-11-01 | CustomMenu command now shows lua menus | Pavel Labath | 1 | -2/+2 | |
2011-11-01 | Convert windowmenu to lua | Pavel Labath | 1 | -17/+20 | |
also, i've restored the autoreloading capability of menus. | |||||
2011-11-01 | A veeeery rough implementation of lua menu parsers | Pavel Labath | 1 | -1/+6 | |
2011-11-01 | Convert slitlist from a separate file to a regular lua resource | Pavel Labath | 1 | -2/+1 | |
2011-11-01 | Make session.screenX.workspace_names a real FbTk::Resource | Pavel Labath | 1 | -20/+19 | |
instead of the add-on hack it was. This also fixes a lot of problems with saving of config. | |||||
2011-11-01 | Replace ResourceManager with the lua version | Pavel Labath | 1 | -39/+33 | |
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. | |||||
2011-11-01 | Simplify FbTk::Resource template class | Pavel Labath | 1 | -50/+16 | |
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. | |||||
2011-11-01 | Specializations of FbTk::Resource<X>::{setFromLua,pushToLua} | Pavel Labath | 1 | -0/+14 | |
for various values of X. | |||||
2011-09-14 | Remove obsolete code | Pavel Labath | 1 | -8/+0 | |
ps: it was already commented out, I'm just deleting it | |||||
2011-09-14 | Fix a small bug in BScreen constructor | Pavel Labath | 1 | -1/+1 | |
it was testing for FbWindow.property() == Success, where it should've tested for == true. | |||||
2011-05-10 | Convert Screen::reconfigureSig to FbTk::Signal | Pavel Labath | 1 | -3/+1 | |
2011-05-10 | Convert FbTk::Theme::reconfigSig and friends to the new Signal system | Pavel Labath | 1 | -5/+3 | |
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway. | |||||
2011-05-08 | Can check CARDINAL properties in CLIENT PATTERNS | nacitar sevaht | 1 | -6/+5 | |
Introduces a new member function, FbWindow::cardinalProperty() This change also changes other code that previously used FbWindow::property() to do the same thing as the new function; this reduces code duplication. There are still some bits of code (Ewmh.cc, extractNetWmIcon()) that use FbWindow::property() to retrieve XA_CARDINAL values, but as the new method is designed for getting a _single_ property, and that code uses FbWindow::property() to retrieve the number of values present, and then grab all of them; it's a different use case. I opted to not try to make cardinalProperty() into some monolithic all-purpose cardinal method; FbWindow::property() works just fine for that. This change also adds an optional (default=NULL) boolean to FbWindow::textProperty and friends that allows the caller to determine whether or not a value was actually retrieved. This was necessary for integrating FbWindow::cardinalProperty with the codebase, and it seemed to fit with FbWindow::textProperty as well. Prior to this change, if you got a return value of "", you wouldn't know if you successfully retrieved the value which happened to be blank, or if you failed to retrieve the value. Now, you can pass the address of a boolean if you so choose in order to differentiate these situations; the same applies to the new FbWindow::cardinalProperty(). | |||||
2011-04-14 | bugfix: use 'unsigned long' to feed XChangeProperty, closes #3285968 | David Coppa | 1 | -1/+1 | |
old code crashed on sparc64, pid_t seems to be 32bit on that platform. | |||||
2011-03-23 | compile fix: arguments must match declaration | Mathias Gumz | 1 | -4/+4 | |
Sun CC++ 5.11 complaint on linking about missing symbols 'nextWorkspace()', 'prevWorkspace()' etc. | |||||
2011-03-23 | compile fix: sunCC 5.11 (sunstudio 12) compiles and links again | Mathias Gumz | 1 | -4/+4 | |
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-19 | delete config menu first at shutdown | Henrik Kinnunen | 1 | -3/+11 | |
2011-03-19 | bugfix: reposition windows only if they are invisible | Mathias Gumz | 1 | -4/+19 | |
changing the layout or the number of the attached monitors might lead to invisible windows. only those windows should be positioned to the closest monitor, if they are not visible already. | |||||
2011-03-19 | code deduplication: use RectangleUtil::insideBorder() | Mathias Gumz | 1 | -4/+1 | |
2011-03-19 | prepare BScreen::XineramaHeadInfo to be 'RectangleLike' | Mathias Gumz | 1 | -9/+10 | |
2011-02-24 | cache result of getWorkspace() | Mathias Gumz | 1 | -2/+3 | |
2011-02-23 | renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem | Mathias Gumz | 1 | -2/+2 | |
2011-01-15 | small refactoring of FbTk/Menu code | Mathias Gumz | 1 | -1/+1 | |
* removed useless struct _menu * code deduplication via renderMenuPixmap() * improved documentation: - 'sublevel' actually means 'column' - 'persub' means 'row_per_column' | |||||
2011-01-13 | compile fix: missing symbol (SystemTray::getNetSystemTray()) when configured ↵ | Mathias Gumz | 1 | -1/+4 | |
--disable-toolbar | |||||
2010-09-18 | recovered lost change from 041d586972db4da170123f5468d7b11d4eda8ae5 | Mathias Gumz | 1 | -96/+65 | |
got lost in d3eabeb805fdbd162c0743ed86a67e014e37c097 somehow | |||||
2010-09-17 | missing initializations | Mathias Gumz | 1 | -0/+1 | |
'valgrind' reported a lot of code branches based upon uninitialized variables. some are not identified yet. | |||||
2010-09-17 | moved commandline parsing to its own function | Mathias Gumz | 1 | -66/+96 | |
2010-09-17 | code simplification by reducing if-else hell | Mathias Gumz | 1 | -96/+66 | |
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-09 | disabled potentially dead code | Mathias Gumz | 1 | -0/+3 | |
2010-09-09 | added FbTk::Util::clamp() and simplified related code | Mathias Gumz | 1 | -19/+10 | |
2010-09-09 | use FbTk apis instead of raw xlib calls | Mathias Gumz | 1 | -6/+5 | |