Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-26 | build-sys: use AC_USE_SYSTEM_EXTENSIONS | Sami Kerola | 1 | -5/+0 | |
The earlier _GNU_SOURCE definitions possibly did not take effect everywhere where it was intended. | |||||
2013-05-26 | build-sys: include config.h to all files using automake | Sami Kerola | 1 | -4/+0 | |
Do not try to be too smart which compilations need config.h, as most of them will simply because of the config.h has information about system capabilities. | |||||
2012-08-28 | changed timing functions to use a monotonic increasing clock | Mathias Gumz | 1 | -2/+2 | |
gettimeofday() is subject to be changed on daylight-saving or to ntp-related (think leap-seconds). even worse, it is subject to be changed BACK in time. this is hard to fix correctly (see commit 45726d3016e and bug #3560509). it is irrelevant for timers to know the nano-seconds since the epoch anyways. | |||||
2012-01-04 | Check .empty() instead of .size() == 0 | Ryan Pavlik | 1 | -2/+2 | |
Found with cppcheck. | |||||
2012-01-04 | Pre-increment non-primitive types. | Ryan Pavlik | 1 | -1/+1 | |
Found with cppcheck: "Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code." | |||||
2011-05-10 | Remove the Observer dependency from FbTk::Menu | Pavel Labath | 1 | -1/+1 | |
2011-05-10 | Convert FbTk::Theme::reconfigSig and friends to the new Signal system | Pavel Labath | 1 | -2/+2 | |
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway. | |||||
2011-04-11 | Menu.cc: send debug output to cerr, make the output more sensible | Pavel Labath | 1 | -9/+15 | |
2011-02-25 | bugfix: submenus didn't hide if a delay was set | Mathias Gumz | 1 | -2/+2 | |
use the FbTk::Timer API correctly, bug(s) introduced by 1f0adef4daa2da5b08ed7f41e7a0ce1e3f71e46f e68511794130388ab9668fdef0dcf48dbbf002fd | |||||
2011-01-18 | bug fix: make fluxbox work under nxserver, closes #2813828 | Mathias Gumz | 1 | -0/+50 | |
nxserver-3.x creates a XExposeEvent for the unmapped FbTk::Menu(), which is not configured completely yet (hence unmapped). this causes a call to FbTk::Menu::clearItem() which then uses a value of 0 for m_rows_per_column to divide the current index which triggers a SIGFPE. it is still unclear, why nxserver-3.x creates the XExposeEvent for the unmapped (menu) window. doing nothing if the menu is unmapped 'fixes' the problem for now. many thanks to Lars Engels (bsd-geek.de) to assist me in debugging this issue. | |||||
2011-01-15 | removed useless include statements | Mathias Gumz | 1 | -4/+0 | |
'typeinfo' was needed for RTTI in isItemSelectable() (see last commit) 'algorithm' is already included some lines above | |||||
2011-01-15 | better use of API, no need for 'timeval' in Menu | Mathias Gumz | 1 | -4/+1 | |
2011-01-15 | MenuItem::isEnabled() is sufficient to decide Menu::isItemSelectable() | Mathias Gumz | 1 | -3/+1 | |
MenuSeparator is never enabled since it returns always 'false' in its implementation of isEnabled(). no need to use RTTI imho. | |||||
2011-01-15 | small refactoring of FbTk/Menu code | Mathias Gumz | 1 | -208/+214 | |
* removed useless struct _menu * code deduplication via renderMenuPixmap() * improved documentation: - 'sublevel' actually means 'column' - 'persub' means 'row_per_column' | |||||
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-08 | introduced FbTk::BidiString | Mathias Gumz | 1 | -9/+4 | |
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). | |||||
2009-09-23 | bugfix: 'HideMenus' command did not work if the user 'opened' an empty submenu. | Mathias Gumz | 1 | -1/+1 | |
'openeing' such an empty submenu lead to an already hidden menu referenced by the 'shown' pointer | |||||
2009-08-08 | allow navigating multi-column menus with left and right arrows | Mark Tiefenbruck | 1 | -4/+21 | |
2008-10-13 | merge menuDelay and menuDelayClose options | Mark Tiefenbruck | 1 | -2/+2 | |
2008-10-05 | remove menu modes | Mark Tiefenbruck | 1 | -1/+1 | |
2008-09-22 | fix active menu item when inserting or removing other items | Mark Tiefenbruck | 1 | -2/+7 | |
2008-09-14 | Fixed a pixmap resource leak with selected pixmap in menus. | Henrik Kinnunen | 1 | -3/+15 | |
menu.hilite.selected.pixmap and menu.selected.pixmap was not deleted while switching between non-pixmap styles and pixmap styles. | |||||
2008-09-01 | highlight the nearest menu item when the current one is disabled, and add ↵ | Mark Tiefenbruck | 1 | -0/+15 | |
separators to focus model menu | |||||
2008-08-19 | shift+enter wasn't sending right click if the menu item had a submenu | Mark Tiefenbruck | 1 | -3/+3 | |
2008-08-16 | some cleanup | Mark Tiefenbruck | 1 | -1/+1 | |
2008-05-30 | reset typeahead when adding/removing items in the menu | Mark Tiefenbruck | 1 | -0/+3 | |
2008-04-21 | some fixes for gcc 3.4 | Thomas Orgis | 1 | -1/+1 | |
2008-02-09 | fix highlighted menu item on mouse out | Mark Tiefenbruck | 1 | -2/+13 | |
2008-01-11 | make FbTk::Command a template class, split parsing information out of ↵ | Mark Tiefenbruck | 1 | -3/+3 | |
ObjectRegistry | |||||
2008-01-05 | update code to use ThemeProxy | Mark Tiefenbruck | 1 | -62/+62 | |
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2007-12-30 | remove some (hopefully) unneeded header includes | Mark Tiefenbruck | 1 | -0/+1 | |
2007-12-28 | move shape handling from FbMenu to FbTk::Menu | Mark Tiefenbruck | 1 | -0/+4 | |
2007-12-18 | fix torn menus | Mark Tiefenbruck | 1 | -11/+16 | |
2007-12-18 | holding control will now keep the menu open | Mark Tiefenbruck | 1 | -2/+2 | |
2007-12-18 | make MenuItem responsible for decision to close menu when clicked | Mark Tiefenbruck | 1 | -10/+11 | |
2007-12-13 | close menus when they lose focus, instead of on [exec] commands | markt | 1 | -0/+2 | |
2007-12-11 | only allow one open menu at a time | markt | 1 | -20/+17 | |
2007-10-13 | merged changes from pre-devel | markt | 1 | -6/+2 | |
2007-09-08 | fix crash when changing toolbar visibility with empty toolbar.tools | markt | 1 | -1/+1 | |
2007-07-17 | updated behavior of alt-tab to match pre-devel, fixing bug #1755698 | markt | 1 | -0/+1 | |
2007-07-15 | make sure menus close only when right clicking down and up on the titlebar | markt | 1 | -4/+8 | |
2007-07-07 | save workspace names, and some fixes for menu behavior | markt | 1 | -7/+13 | |
2007-06-29 | updates for compiling with gcc 4.3 | markt | 1 | -0/+3 | |
2007-03-21 | fix a little compile error on some machines | markt | 1 | -0/+2 | |
2007-03-19 | active menu item wasn't getting reset properly when closed from [exec] with ↵ | markt | 1 | -4/+4 | |
buttonpress | |||||
2007-03-11 | fixed parentrelative menu highlight bug | markt | 1 | -12/+12 | |
2007-03-07 | don't mark menu as focused, even if it gets a FocusIn, when it's not visible | markt | 1 | -1/+3 | |
2007-03-04 | more little changes to typeahead (thanks Matteo, plus changes from me) | markt | 1 | -16/+16 | |
2007-03-04 | little bug fix for menu typeahead (thanks Matteo) | markt | 1 | -0/+2 | |