aboutsummaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-05-10Last round of simplification of Signal/Slot classesPavel Labath1-9/+9
- merged all the common stuff from 0,1,2,3 argument versions into one common base class - removed ReturnType template parameter as it was instantiated with "void" everywhere and the current ignores the return value of the callbacks anyway
2011-04-18Fix VPATH buildsPavel Labath1-1/+1
2011-04-15Fix a couple of "comparison between signed and unsigned" warningsPavel Labath2-9/+7
2011-03-19added RectangleUtil::overlapRectangles() + test casesMathias Gumz1-0/+55
2011-03-18added tests/testRectangleUtil.ccMathias Gumz2-1/+69
2011-03-18some love to src/tests, use automake to use the same build environment as ↵Mathias Gumz8-260/+63
the rest of fluxbox
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-11/+11
2011-02-21Render rectangles instead of squares to test TextureRender.ccMathias Gumz1-13/+9
2010-09-20updated 'texturetest.cc' to work with current APIMathias Gumz1-4/+6
2010-03-19Added simple stress test in pythonHenrik Kinnunen1-0/+87
2010-03-19Added SelectArg and MemFunSelectArg*Henrik Kinnunen1-1/+32
The MemFunSelectArg* functions can be used to select a specific argument from a signal. For example this would select the string argument as argument to the callback: Signal<void, int, float, string> signal; signal.connect(MemFunSelectArg2(obj, &Object::takesOneStringArg)); signal.emit(10, 3.14, "hello"); ... void Object::takesOneStringArg(const string& value) { ... }
2010-03-18Added FbTk::relaySignal, which relays new signals to old Subject type signals.Henrik Kinnunen2-3/+25
2010-03-18Fixed so testDemandAttention compilesHenrik Kinnunen1-3/+5
2010-03-18Added MemFunIgnoreArgs which ignores aditional arguments.Henrik Kinnunen1-1/+22
For example connecting a function that takes two arguments to a signal that emits three arguments: struct Functor { void show(int a, int b); }; Functor f; Signal<void, int, int, int> s3; s3.connect(MemFunIgnoreArgs(f, &Functor::show));
2008-09-18Added new Signal/Slot system in FbTkHenrik Kinnunen2-1/+126
This is suppose to replace the obsolete Subject/Observer classes. See the src/tests/testSignals.cc for basic usage.
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck6-12/+0
2007-05-20added fullscreen testfluxgen2-0/+173
2007-05-19added title test for _NET_WM_NAME and WM_NAME memory leaksfluxgen2-0/+123
2006-11-07cosmetic patch from slava againmathias1-1/+0
2006-10-30Cosmetic patch from Slava Semushinmathias1-1/+2
2006-09-18added include pathfluxgen1-1/+1
2006-05-13added test program for _NET_WM_STATE_DEMANDS_ATTENTIONfluxgen1-0/+5
2006-05-13test program for _NET_WM_STATE_DEMANDS_ATTENTIONfluxgen1-0/+131
2006-05-07handle utf-8 strings properly.simonb1-1/+4
use utf8 internally
2006-03-26rotated fonts, buttons, containers. Used for tabs for nowsimonb1-14/+44
2006-02-16updated copyright infomathias12-12/+12
2005-11-22testing replaceStringfluxgen1-10/+16
2005-06-03- Usage of xft-fonts is prefered, except a font-description starts with '-'mathias2-11/+12
- Removed "antialias"-option completly, to enable/disable "antialias" use either <fontname>:antialias=<bool> in the style or use Xft.antialias: <bool> in your .Xdefaults - Added new styleresources: *.font.effect: <halo|shadow> *.font.shadow.x : <int> - shadow x offset *.font.shadow.y : <int> - shadow y offset *.font.shadow.color : <color> - color of shadow *.font.halo.color : <color> - color of halo - Removed 'shadow' and 'halo' options from fontdefinitions: !! Style authors have to update their styles !! - Simplified XmbFontImp to not try all possible fonts to match locale - Style authors may specify multiple fonts: <font1>|<font2>|<font3> if loading of font1 fails, fluxbox probes <font2>, etc. The last font is "fixed". Hints for style authors: - if xft tries to load a font it will _ALWAYS_ return a valid font, it doesnt have to look like the one you want to have, read more about it: http://fontconfig.org/fontconfig-user.html - export XFT_DEBUG=1 before running fluxbox helps to see which fonts are picked. eg: *.font: Verdana,Arial-12:antialias=true|-artwiz-snap-*- if fluxbox is compiled with xft this will NEVER try to load "-artwiz-snap-*-" since xft gives for sure a font, most likely Verdana or Arial but noone knows. So, if fluxbox has no xft support the first fontpattern fails and fluxbox tries the next one, which might be successful. if everything fails, it will use "fixed" - Added caching of fonts, fonts are only loaded once. - Fixed #1090902 (slow utf8 start)
2005-01-24copyright datemathias12-8/+21
2005-01-15minor stufffluxgen1-2/+1
2005-01-15fixed some issues and added testMenu targetfluxgen1-2/+5
2005-01-15testing menu theme and parserfluxgen1-0/+155
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-11-17needed init for font-testmathias1-2/+4
2004-10-06fixed compilefluxgen1-1/+1
2004-09-12fix for Font drawTextfluxgen1-2/+2
2004-09-01updatefluxgen1-31/+12
2004-09-01foreground and background color as argumentfluxgen1-9/+30
2004-08-31add autoconf check for std c++ headersrathnor2-2/+10
2004-05-02updatefluxgen1-1/+2
2004-05-02minor fixesfluxgen1-8/+14
2004-05-02movetestfluxgen1-0/+83
2004-05-02testing menu parserfluxgen1-0/+31
2004-05-02parsertestfluxgen1-3/+13
2004-03-01templatefluxgen1-0/+103
2004-01-12removed printfluxgen1-1/+0
2004-01-11texture testsfluxgen4-5/+406
2003-09-11updatefluxgen1-28/+8
2003-09-11updatefluxgen2-59/+65
2003-05-15cleaning in FluxboxWindow interfacefluxgen1-2/+8