aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Attach a modifiedSig handler to the session.styleFile resourcePavel Labath1-7/+3
2011-11-01Attach a modifiedSig handler to the session.keyFile resourcePavel Labath1-1/+1
2011-11-01use Lua::registerInitFunction to simplify some parts of codePavel Labath1-9/+10
2011-11-01Add a new command which executes lua functionsPavel Labath1-0/+68
2011-11-01Store menus if smart pointers (RefCount)Pavel Labath1-1/+1
This was originally intended to be a bugfix for an memory error reported by valgrind (accessing freed memory). While debugging it, I found the menu ownership semantics confusing (setInternalMenu() et al.), so I decided to get rid of it and store it in smart pointers everywhere. Looking back, I'm not sure if this was worth all the trouble, but the good news is that the valgrind error disappeared. :)
2011-11-01CustomMenu command now shows lua menusPavel Labath1-2/+14
2011-10-31FbCommands.cc: Implement ExecuteCmd for WindowsRyan Pavlik1-5/+17
2011-02-24moved Menu placement into ScreenPlacement::placeAndShowMenu()Mathias Gumz1-28/+12
2011-01-06bugfix: do not assume ':number.screen' as the result of 'DisplayString()'Mathias Gumz1-4/+15
a newer xlib recently changed the result of 'DisplayString()' a little bit: instead of returning ':0.0' or ':1.0' it yields ':0' or ':1'. our code to transform this string into something that includes the currently used Screen worked only on something like ':0.0'. we now find the '.' after the ':' and strip that part away.
2010-09-17bugfix: avoid naive use of 'putenv' by providing 'FbTk::App::setenv()'Mathias Gumz1-34/+5
to quote from 'man putenv': The string pointed to by string becomes part of the environment, so altering the string changes the environment. so, using putenv like { std::string foo("FOO=bar"); putenv(foo.c_str()); } is wrong and leads to a potentially corrupted environment. valgrind complaint correctly. FbTk::App seems to be the appropriate place to hold '::seten()' because it alters the environment of the application.
2010-09-09minor cleanupMathias Gumz1-4/+1
2010-09-08introduced FbTk::BidiStringMathias Gumz1-1/+1
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-10-01simpler codeMathias Gumz1-4/+1
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2008-09-21Changed icon list signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+3
2008-09-08update workspace names atoms/resources when adding a new workspaceMark Tiefenbruck1-3/+0
also removed unnecessary items from default init file
2008-06-20allow restart with no argument from fluxbox-remoteMark Tiefenbruck1-1/+8
2008-06-06allow window menu items in ordinary menusMark Tiefenbruck1-0/+2
2008-05-14don't save rc in SetStyle command if loading the style failsMatteo Galiazzo1-4/+5
2008-05-13implement smarter reloading for custom menusMark Tiefenbruck1-5/+12
2008-05-12refactor menu reloading, added FbTk::AutoReloadHelperMark Tiefenbruck1-5/+5
2008-05-11reuse some menu pointers instead of using delete/newMark Tiefenbruck1-13/+12
2008-05-11remove some more useless codeMark Tiefenbruck1-1/+1
2008-05-02remove some unnecessary argumentsMark Tiefenbruck1-1/+1
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-25cosmeticsMathias Gumz1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-30/+30
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-19remove reassoc argument from FluxboxWindow::deiconifyMark Tiefenbruck1-2/+2
2007-12-16changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>Mark Tiefenbruck1-27/+29
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-2/+108
auto-register
2007-12-11only allow one open menu at a timemarkt1-8/+1
2007-11-23somewhat fixed DeiconifyCmdmarkt1-2/+1
2007-11-12allow arbitrary window patterns in iconbarmarkt1-13/+5
2007-10-24introduced workspacename for ClientPattern, and some miscellaneous cleanupmarkt1-3/+3
2007-10-22replaced ModKey with new key commands StartMoving and StartResizingmarkt1-9/+0
2007-10-13merged changes from pre-develmarkt1-0/+30
2007-10-13deiconify windows via :Deiconify in reverse ordermathias1-2/+2
2007-07-24fix ToggleDecor for fullscreen and decorationless windows, plus some other ↵markt1-1/+1
cleanup
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-06-09small fix for the /bin/sh issue .. just using /bin/zsh nowmathias1-3/+1
2007-06-06fix for the following problem:mathias1-1/+4
on *bsd /bin/sh is not just a symlink to /bin/bash as on most linux's but a real standalone shell. and it behaves differently from "bash -c" behavior .. it doesnt exec the command given but waits till the command finishes. as a result a lot of "rogue" a flying around. solution is now ( $SHELL or /bin/sh ) -c exec <cmd>
2007-05-04fix infinite loop caused by deiconify commandmarkt1-2/+5
2007-04-19fixed crash when CustomMenu doesn't point to a real filemarkt1-0/+2
2007-03-21hidemenus hide custommenus and fix custommenu memleakmarkt1-2/+5
2007-03-16fixed a little bug with placing new menusmarkt1-0/+1
2007-03-16added custommenu commandmarkt1-0/+11
2007-02-09added mouse bindings to the keys filemarkt1-0/+9
2007-01-24detect shell from environment variablemarkt1-1/+7
2006-10-30Cosmetic patch from Slava Semushinmathias1-13/+18