fluxbox/src/FbTk
Mathias Gumz 33161595f4 Simplifies and fix bugs in FbTk::Timer
* Calling Timer::setTimeout() from within Timer::start() might lead to ugly
  behavior (as experienced in bugs #3590078, #3600143, etc; see commit
  4d307dcd10, fixes the problem partially).

* Stop a timer first, then call the handler (via Timer::fireTimeout()). A
  given handler might call Timer::start() again, which (re)adds the Timer
  to the control list .. the following Timer::stop() would remove it again.

* Use 'm_start' as indicator if timer is running.

* Move the (now quite short) code of ::addTimer / ::removeTimer
  into the Timer::start() and Timer::stop() functions.
2013-01-15 21:40:33 +01:00
..
Accessor.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
App.cc FbTk/App.cc: make startup failure easier to diagnose 2011-10-31 10:51:51 -05:00
App.hh bugfix: avoid naive use of 'putenv' by providing 'FbTk::App::setenv()' 2010-09-17 23:43:24 +02:00
AutoReloadHelper.cc cleanup of some files 2008-08-14 07:53:38 +02:00
AutoReloadHelper.hh cleanup of some files 2008-08-14 07:53:38 +02:00
BoolMenuItem.hh compile fix: using correct forward declaration for template classes 2009-10-01 07:34:37 +02:00
BorderTheme.cc some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
BorderTheme.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
Button.cc make clicking on the border of the toolbar activate toolbar buttons 2008-08-23 17:14:31 -07:00
Button.hh add tooltips for iconbar buttons when title is too long to fit 2008-05-05 05:05:52 -07:00
CachedPixmap.cc cached pixmap helper, works like auto ptr for cached pixmaps 2006-10-16 18:47:27 +00:00
CachedPixmap.hh cached pixmap helper, works like auto ptr for cached pixmaps 2006-10-16 18:47:27 +00:00
Color.cc improved code documentation 2013-01-13 12:25:00 +01:00
Color.hh improved code documentation 2013-01-13 12:25:00 +01:00
ColorLUT.cc Use the same lookup-tables for solid and gradient textures 2013-01-13 12:34:30 +01:00
ColorLUT.hh Use the same lookup-tables for solid and gradient textures 2013-01-13 12:34:30 +01:00
Command.hh Make FbTk::Command inherit from FbTk::Slot 2011-09-14 19:39:10 +02:00
CommandParser.hh cosmetic fix: removed warning about double ';' after command 2009-09-30 21:08:55 +02:00
CompareEqual.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Compose.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Container.cc bugfix: consistent use of 'int' for alpha values (#3187373) 2011-02-22 22:07:39 +01:00
Container.hh bugfix: consistent use of 'int' for alpha values (#3187373) 2011-02-22 22:07:39 +01:00
DefaultValue.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
EventHandler.hh don't let KeyRelease events propagate to windows 2008-09-28 01:26:21 -07:00
EventManager.cc don't let KeyRelease events propagate to windows 2008-09-28 01:26:21 -07:00
EventManager.hh compile fix: missing include guards 2009-10-01 08:57:46 +02:00
FbDrawable.cc some cleanup 2008-08-16 05:54:07 -07:00
FbDrawable.hh some cleanup 2008-08-16 05:54:07 -07:00
FbPixmap.cc clean up resources on shutdown 2011-10-23 11:51:36 +02:00
FbPixmap.hh split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
FbString.cc FbTk/FbString.cc,Font.cc: Windows doesn't have nl_langinfo 2011-10-31 10:54:09 -05:00
FbString.hh Mark FbTk::StringConvertor as NotCopyable 2011-09-14 19:39:10 +02:00
FbTime.cc Compile fix: forgotten parentheses around value 2013-01-02 09:57:32 +01:00
FbTime.hh changed timing functions to use a monotonic increasing clock 2012-08-28 10:51:55 +02:00
FbWindow.cc Set WM_WINDOW_ROLE for fluxbox windows 2012-12-30 12:27:43 +01:00
FbWindow.hh Set WM_WINDOW_ROLE for fluxbox windows 2012-12-30 12:27:43 +01:00
FileUtil.cc FbTk/FileUtil.cc: Use only file masks defined. 2011-10-31 10:51:13 -05:00
FileUtil.hh cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
Font.cc Improved vertical alignment of text in FbTk::TextButton 2012-10-03 10:27:16 +02:00
Font.hh Improved vertical alignment of text in FbTk::TextButton 2012-10-03 10:27:16 +02:00
FontImp.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
GContext.cc remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
GContext.hh some cleanup 2008-08-16 05:54:07 -07:00
I18n.cc FbTk/I18n.cc: Constructor should also check defined(NLS) 2011-10-31 10:41:32 -05:00
I18n.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
Image.cc Fix a pair of warnings reported by clang 2011-04-11 08:37:58 +02:00
Image.hh cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
ImageControl.cc changed timing functions to use a monotonic increasing clock 2012-08-28 10:51:55 +02:00
ImageControl.hh lots of code cleanup, reordering, trimming public API, bugfixes 2010-09-17 15:34:12 +02:00
ImageImlib2.cc Pre-increment non-primitive types. 2012-01-04 07:53:54 +01:00
ImageImlib2.hh Bugfix: clean up static resources correctly 2011-10-23 00:01:45 +02:00
ImageXPM.cc remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
ImageXPM.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
IntMenuItem.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
ITypeAheadable.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
KeyUtil.cc replace XKeycodeToKeysym() with XkbKeycodeToKeysym() 2012-12-30 20:31:25 +01:00
KeyUtil.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Layer.cc renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem 2011-02-23 22:49:27 +01:00
Layer.hh cosmetics 2011-03-23 12:03:17 +01:00
LayerItem.cc renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem 2011-02-23 22:49:27 +01:00
LayerItem.hh compile fix: added <cstdlib> to provide declaration for 'size_t' (gcc-4.6.x likes it that way) 2011-03-28 09:06:22 +02:00
LogicCommands.cc Remove the assignment operator from a regular pointer to a RefCount 2011-09-14 19:39:11 +02:00
LogicCommands.hh Make RefCount<> more sensible 2011-05-10 13:00:45 +02:00
MacroCommand.cc Remove the assignment operator from a regular pointer to a RefCount 2011-09-14 19:39:11 +02:00
MacroCommand.hh compile fix: added <cstdlib> to provide declaration for 'size_t' (gcc-4.6.x likes it that way) 2011-03-28 09:06:22 +02:00
Makefile.am Use the same lookup-tables for solid and gradient textures 2013-01-13 12:34:30 +01:00
MemFun.hh Added FbTk::MemFunBind - a functor which binds all arguments of a function 2011-05-10 13:00:45 +02:00
Menu.cc changed timing functions to use a monotonic increasing clock 2012-08-28 10:51:55 +02:00
Menu.hh Remove the Observer dependency from FbTk::Menu 2011-05-10 13:00:45 +02:00
MenuItem.cc Add menu.hilite.font and menu.hilite.justify style resources 2012-08-03 11:37:34 +02:00
MenuItem.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
MenuSeparator.cc update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
MenuSeparator.hh update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
MenuTheme.cc Add menu.hilite.font and menu.hilite.justify style resources 2012-08-03 11:37:34 +02:00
MenuTheme.hh Add menu.hilite.font and menu.hilite.justify style resources 2012-08-03 11:37:34 +02:00
MultiButtonMenuItem.cc No need to check if a pointer is null before de-allocating it. 2012-01-04 07:43:21 +01:00
MultiButtonMenuItem.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
MultLayers.cc renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem 2011-02-23 22:49:27 +01:00
MultLayers.hh compile fix: added <cstdlib> to provide declaration for 'size_t' (gcc-4.6.x likes it that way) 2011-03-28 09:06:22 +02:00
NotCopyable.hh copyright date 2005-01-24 18:02:34 +00:00
Orientation.hh split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
Parser.cc cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02:00
Parser.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
PixmapWithMask.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
RadioMenuItem.hh add selection box to various "choose one of these" menu items 2008-08-03 21:59:14 -07:00
RefCount.hh Add comparison operators to FbTk::RefCount 2011-09-14 19:39:11 +02:00
RegExp.cc some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
RegExp.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
RelCalcHelper.cc Allow percentage values for some Window commands 2012-04-06 14:11:16 +02:00
RelCalcHelper.hh Allow percentage values for some Window commands 2012-04-06 14:11:16 +02:00
Resource.cc made code simpler 2009-10-01 07:07:07 +02:00
Resource.hh made code simpler 2009-10-01 07:07:07 +02:00
SearchResult.cc remove some (hopefully) unneeded header includes 2007-12-29 22:44:11 -08:00
SearchResult.hh remove some (hopefully) unneeded header includes 2007-12-29 22:44:11 -08:00
Select2nd.hh remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
SelectArg.hh Added SelectArg and MemFunSelectArg* 2010-03-19 02:23:41 +01:00
Shape.cc bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape' 2010-09-15 01:23:56 +02:00
Shape.hh cleanup created corner pixmaps, moved the initCorners() function out of the class 2010-05-16 14:25:36 +02:00
Signal.hh Enable connecting to const Signals 2011-09-14 19:39:11 +02:00
SignalHandler.cc FbTk/SignalHandler.cc: Use HAVE_SIGACTION, with signal() fallback 2011-10-31 10:50:26 -05:00
SignalHandler.hh some cleanup 2008-08-16 05:54:07 -07:00
SimpleCommand.hh make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Slot.hh Add explicit ReturnType cast to operator() of FbTk::Slots 2011-09-14 19:39:11 +02:00
STLUtil.hh Pre-increment non-primitive types. 2012-01-04 07:53:54 +01:00
stringstream.hh fixed little preprocessor error 2010-02-27 10:33:06 +01:00
StringUtil.cc removed 'always-true' expression 2012-04-10 09:28:52 +02:00
StringUtil.hh removed duplicate function signature for FbTk::StringUtil::extractNumber() 2012-09-14 08:53:38 +02:00
TextBox.cc introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
TextBox.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
TextButton.cc Fix double text rendering if using parentRelative 2012-12-30 12:27:55 +01:00
TextButton.hh Improved vertical alignment of text in FbTk::TextButton 2012-10-03 10:27:16 +02:00
TextTheme.cc some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
TextTheme.hh some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
Texture.cc Use the same lookup-tables for solid and gradient textures 2013-01-13 12:34:30 +01:00
Texture.hh renamed Texture:DEFAULT_BEVEL to Texture::DEFAULT_LEVEL 2011-02-22 15:18:20 +01:00
TextureRender.cc Ensure textures have the correct size bevor applying 'bevel' 2013-01-13 12:44:19 +01:00
TextureRender.hh Rewrite of FbTk::TextureRender 2012-11-08 11:02:28 +01:00
TextUtils.cc some fixes for gcc 3.4 2008-04-21 15:43:10 -07:00
TextUtils.hh fix rotation 2008-02-03 07:37:01 -08:00
Theme.cc Fixed bug: use expanded style/theme filename 2012-12-11 19:37:59 +01:00
Theme.hh Last round of simplification of Signal/Slot classes 2011-05-10 13:00:45 +02:00
ThemeItems.cc FbTk/ThemeItems.cc: move loading additional font resources to load() 2012-08-03 11:37:17 +02:00
Timer.cc Simplifies and fix bugs in FbTk::Timer 2013-01-15 21:40:33 +01:00
Timer.hh Simplifies and fix bugs in FbTk::Timer 2013-01-15 21:40:33 +01:00
Transparent.cc bugfix: consistent use of 'int' for alpha values (#3187373) 2011-02-22 22:07:39 +01:00
Transparent.hh bugfix: consistent use of 'int' for alpha values (#3187373) 2011-02-22 22:07:39 +01:00
TypeAhead.hh Pre-increment non-primitive types. 2012-01-04 07:53:54 +01:00
Util.hh added FbTk::Util::clamp() and simplified related code 2010-09-09 15:31:54 +02:00
XFontImp.cc code simplification 2010-09-08 20:48:01 +02:00
XFontImp.hh code simplification 2010-09-08 20:48:01 +02:00
XftFontImp.cc introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
XftFontImp.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
XmbFontImp.cc cosmetic fix: looks like a copyNpaste issue 2010-09-08 20:48:37 +02:00
XmbFontImp.hh introduced FbTk::BidiString 2010-09-08 20:17:21 +02:00
XrmDatabaseHelper.hh FbTk/XrmDatabaseHelper.hh: operator== can be const. 2012-01-04 07:55:17 +01:00