Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-14 | bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape' | Mathias Gumz | 1 | -1/+3 | |
2010-09-14 | cleanup and code deduplication | Mathias Gumz | 3 | -2/+3 | |
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch) * FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned * FbTk/FbString.cc: missing return * WinClient.cc: create atoms only once; use helper function * Window.cc: use a helper function | |||||
2010-09-14 | use one array instead of two to hold both 'names' and 'atoms' for the rootwindow | Mathias Gumz | 1 | -30/+29 | |
2010-09-14 | bugfix: create the corner pixmaps only once per screen | Mathias Gumz | 1 | -14/+29 | |
for each window (windows, menue etc) the initCorners() function of FbTk/Shape.cc was called (which is ok). On each call the corner pixmaps (of the Screen the window belongs to) were created and destroyed the formerly created pixmaps. this is not needed. | |||||
2010-09-14 | bugfix: free the shape-corners on the last used 'Shape' | Mathias Gumz | 1 | -1/+1 | |
the global 's_corners' vector was still used on an application shutdown (including ctrl-c SIGINT). depending on when 's_corners' was created on the stack this could lead to an exception ('pure virtual called') while trying to free the 'FbPixmaps' without having a valid 'FbTk::Application::instance()' left. | |||||
2010-09-10 | moved helper struct TextPropPtr into anonymous namespace | Mathias Gumz | 1 | -0/+4 | |
2010-09-09 | bugfix: initialize the Shape of a menu AFTER we created the window for the menu | Mathias Gumz | 1 | -1/+4 | |
on startup a lot of 'Fluxbox: X Error: BadDrawable (invalid Pixmap ...)' occured. this was caused by using an empty 'Window' to create the shape. | |||||
2010-09-09 | added FbTk::Util::clamp() and simplified related code | Mathias Gumz | 3 | -11/+48 | |
2010-09-09 | simpler to use FbTk/Timer api | Mathias Gumz | 2 | -0/+6 | |
2010-09-08 | improved extract*Number functions from FbTk/StringUtil.cc | Mathias Gumz | 1 | -6/+22 | |
2010-09-08 | cosmetic fix: looks like a copyNpaste issue | Mathias Gumz | 1 | -7/+0 | |
2010-09-08 | code simplification | Mathias Gumz | 3 | -18/+11 | |
2010-09-08 | introduced FbTk::BidiString | Mathias Gumz | 23 | -276/+284 | |
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text). | |||||
2010-09-05 | avoid constructing new strings implicit | Mathias Gumz | 3 | -6/+6 | |
2010-09-05 | cosmetic | Mathias Gumz | 1 | -2/+6 | |
2010-09-05 | reuse temporary memory for reencoding / reordering fribidi-strings | Mathias Gumz | 1 | -17/+25 | |
2010-09-04 | added support for bidirectional text | Ken Bloom | 3 | -22/+69 | |
2010-08-24 | code simplification / deduplication | Mathias Gumz | 2 | -0/+30 | |
* parse the string only once for a bunch of chars to check instead of starting over again and again from the beginning, created a helper function to do this (FbTk::StringUtil::findCharFromAlphabetAfterTrigger) * put same code into a function (setClockModeLabel()) * use much simpler code to switch between 12h and 24h mode and replace the fmt-switches | |||||
2010-07-14 | bugfix: another crash when cleaning up signals | Jim Ramsay | 1 | -4/+4 | |
While 769130f51a8f did fix one issue, it introduced another by changing the logic related to the new SignalTracker. The original logic (introduced in 9ad388c5bf16) was: -> in 'leave(Signal)', only call 'disconnect' -> in 'leaveAll()', call 'disconnect' and 'disconnectTracker' But 769130f51a8f inverted this, calling 'disconnectTracker' in both cases but only 'disconnect' in the 'leaveAll()' case, which would leave unattached signals around after calling 'leave(Signal)'. This fix not only repairs the logic, but renames the ambiguous 'disconnect' boolean to something more explicit: 'withTracker'. | |||||
2010-05-23 | bugfix: do not use invalid iterators while looping thru a container which ↵ | Mathias Gumz | 1 | -3/+2 | |
gets destroyed | |||||
2010-05-23 | mostly cosmetic fixes, mainly discovered by 'clang --analyze' | Mathias Gumz | 1 | -1/+1 | |
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints. | |||||
2010-05-16 | fixed potential memory leak | Mathias Gumz | 1 | -1/+3 | |
2010-05-16 | cleanup created corner pixmaps, moved the initCorners() function out of the ↵ | Mathias Gumz | 2 | -23/+33 | |
class | |||||
2010-05-16 | initialize all member variables, otherwise unclean state in some circumstances | Mathias Gumz | 1 | -1/+6 | |
(valgrind complained a lot about ::updateGeometry() accessing uninitialized variables) | |||||
2010-05-07 | bugfix: crash when cleaning up signals | Mathias Gumz | 1 | -10/+9 | |
22fa5f544b35 was not fixing anything, the real cause is that the SignalHolder still has a reference to a not existing Tracker. | |||||
2010-05-06 | compile fix: FD_ZERO (sys/select.h) on solaris wants to use memset(); closes ↵ | Mathias Gumz | 2 | -5/+10 | |
#2997117 | |||||
2010-05-06 | bugfix: added missing 'virtual' keyword, otherwise fluxbox crashes with ↵ | Mathias Gumz | 1 | -1/+1 | |
'pure virtual method called' | |||||
2010-03-26 | Added Tracker interface for SignalHolder. | Henrik Kinnunen | 1 | -3/+40 | |
This is used by SignalTracker so Signals can disconnect from it when they die. | |||||
2010-03-26 | Minor fix for argument reference in MemFunSelectArgImpl | Henrik Kinnunen | 1 | -3/+3 | |
2010-03-26 | Initialize all variables in FbWindow | Henrik Kinnunen | 1 | -0/+4 | |
2010-03-19 | Added SelectArg.hh to Makefile.am | Henrik Kinnunen | 1 | -1/+1 | |
2010-03-19 | Added SelectArg and MemFunSelectArg* | Henrik Kinnunen | 3 | -0/+149 | |
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-18 | Added missing RelaySignal.hh to Makefile.am | Henrik Kinnunen | 1 | -1/+1 | |
2010-03-18 | Added FbTk::relaySignal, which relays new signals to old Subject type signals. | Henrik Kinnunen | 1 | -0/+62 | |
2010-03-18 | minor cleaning in MemFun.hh | Henrik Kinnunen | 1 | -6/+4 | |
2010-03-18 | Added MemFunIgnoreArgs which ignores aditional arguments. | Henrik Kinnunen | 1 | -1/+89 | |
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)); | |||||
2010-02-27 | fixed little preprocessor error | Mathias Gumz | 1 | -1/+1 | |
2010-01-19 | improved documentation of the code | Mathias Gumz | 1 | -5/+8 | |
2009-12-18 | implemented 'MoveN' and 'ClickN' support in keys file. | Mathias Gumz | 1 | -25/+31 | |
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs | |||||
2009-10-08 | reportedly fix compiling on gcc 4.4 on Solaris | Mark Tiefenbruck | 1 | -0/+2 | |
2009-10-03 | definition should match declaration | Mathias Gumz | 1 | -1/+1 | |
2009-10-03 | compile fixes for sun compiler 5.10: class Layer conflicts with class ↵ | Mathias Gumz | 2 | -8/+8 | |
FbTk/Layer .. so just a little renaming | |||||
2009-10-03 | compile fixes for sun compiler 5.10: complains about 'not beeing able to ↵ | Mathias Gumz | 1 | -1/+1 | |
initialize this from that' | |||||
2009-10-01 | another little helper for FbTk::StringUtil: extractNumber() | Mathias Gumz | 2 | -0/+54 | |
2009-10-01 | removed unused code | Mathias Gumz | 4 | -73/+0 | |
2009-10-01 | compile fix: missing include guards | Mathias Gumz | 1 | -0/+6 | |
2009-10-01 | simpler code | Mathias Gumz | 2 | -0/+9 | |
2009-10-01 | compile fix: missing headers (sun compiler complained about) | Mathias Gumz | 1 | -0/+6 | |
2009-10-01 | compile fix: using correct forward declaration for template classes | Mathias Gumz | 3 | -4/+4 | |
we got this 'Warning (Anachronism): Old syntax for explicit specialization or instantiation ignored.' with the solaris compiler | |||||
2009-10-01 | made code simpler | Mathias Gumz | 2 | -16/+7 | |