Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-21 | Don't spam with the "Unable to convert ... from nil" messages | Pavel Labath | 1 | -3/+7 | |
2011-08-15 | More preparation for automatic updating of config files | Pavel Labath | 1 | -15/+26 | |
2011-08-04 | Move most of the resource loading code into ResourceManager_base | Pavel Labath | 1 | -5/+10 | |
I mostly do this to avoid code duplication between fluxbox and fluxbox-update_configs. | |||||
2011-08-02 | Automatically save init file when a resource is modified | Pavel Labath | 1 | -2/+9 | |
previously, init was autosaved only when a resource was modified using the menu. I have also included modifications through lua code. To avoid wasting resources, the file is not saved immediately, but with a 5 second delay (to enable saving a bunch of changes in one go) | |||||
2011-07-13 | Emit the "modified" signal when a resource value is changed through C++ code | Pavel Labath | 1 | -2/+6 | |
2011-07-12 | Add RangeTraits class which automatically clamps the value of resources | Pavel Labath | 1 | -0/+3 | |
and start using it. | |||||
2011-07-12 | Enable the resource traits classes to hold non-static members | Pavel Labath | 1 | -5/+7 | |
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-07-10 | Add a "modified" signal to resources | Pavel Labath | 1 | -2/+12 | |
This way, an object can be informed when a resource changes (e.g. by a lua function). | |||||
2011-06-16 | Replace ResourceManager with the lua version | Pavel Labath | 1 | -0/+8 | |
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-06-15 | Add a function for converting from XResources to lua ones | Pavel Labath | 1 | -0/+4 | |
2011-06-15 | Factor out "session." from resource names | Pavel Labath | 1 | -1/+6 | |
this reduces typing and it makes more sense in lua, since there the resources are implemented as hierarchical tables and the topmost table has to be handled a bit specially. | |||||
2011-06-15 | Move more common stuff of (L)ResourceManagers to their base class | Pavel Labath | 1 | -22/+10 | |
2011-06-15 | Simplify FbTk::Resource template class | Pavel Labath | 1 | -24/+36 | |
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-06-15 | A rough version of resource implementation in lua | Pavel Labath | 1 | -19/+59 | |
I added a new class, LResourceManager, which should handle loading and saving of resources like the old ResourceManager, only it does that with the help of lua. I moved the common features of the two managers (interface + a few functions) to a common base class ResourceManager_base. I augmented the Resource_base class with two new functions (setFromLua and pushToLua) which are used by the lua RM instead of getString and setFromString. Parts of the new RM are written in lua. To avoid loading scripts from a file at runtime I decided to link compiled lua code straight into the executable. For this purpose I created a small script which converts a binary file into a declaration of a C array of bytes. | |||||
2011-06-15 | convert ResourceManager::{add,remove}Resource from template to a regular ↵ | Pavel Labath | 1 | -34/+2 | |
function | |||||
2009-10-01 | made code simpler | Mathias Gumz | 1 | -7/+2 | |
2008-04-21 | some fixes for gcc 3.4 | Thomas Orgis | 1 | -0/+1 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-30 | fix compatibility with older gcc versions | Mark Tiefenbruck | 1 | -1/+1 | |
2007-12-30 | remove some (hopefully) unneeded header includes | Mark Tiefenbruck | 1 | -4/+0 | |
2007-12-29 | 'inline' in class declaration is implicitly inline | Mathias Gumz | 1 | -28/+28 | |
2007-12-27 | architecture astronomy | Mark Tiefenbruck | 1 | -9/+10 | |
2007-01-07 | per-window transparency, including apps and menu support, plus some | simonb | 1 | -0/+1 | |
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net | |||||
2006-05-13 | added comments | fluxgen | 1 | -0/+4 | |
2006-03-18 | added Type typedef of T in Resource | fluxgen | 1 | -4/+4 | |
2006-02-18 | Added template getResource(string) to ResourceManager. | fluxgen | 1 | -0/+40 | |
It finds and returns reference to resource on success, else throws ResourceException. | |||||
2005-11-22 | const fix | fluxgen | 1 | -3/+4 | |
2005-01-24 | copyright date | mathias | 1 | -1/+1 | |
2004-11-19 | svn propset svn:keywords "Id" | mathias | 1 | -1/+1 | |
2004-04-26 | oops, forgot to include file | fluxgen | 1 | -1/+2 | |
2003-12-19 | resourceValue and findResource | fluxgen | 1 | -1/+3 | |
2003-12-19 | setResourceValue function and a dump | fluxgen | 1 | -2/+10 | |
2003-12-16 | fixed some icc warnings | fluxgen | 1 | -2/+2 | |
2003-09-13 | minor fix for Solaris 2.x | fluxgen | 1 | -1/+2 | |
2003-08-08 | minor fix | fluxgen | 1 | -4/+6 | |
2003-07-18 | reorganise operation of ResourceManager | rathnor | 1 | -7/+58 | |
plus fix initialisation of layer for slit and toolbar | |||||
2003-05-18 | moved Resource to FbTk and change name of DirHelper to FbTk Directory | fluxgen | 1 | -0/+147 | |