head 1.14; access; symbols pkgsrc-2016Q4:1.13.0.30 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.28 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.26 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.24 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.22 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.20 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.18 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.16 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.14 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.12 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.10 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.8 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.6 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.4 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.2 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.12.0.2 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.11.0.6 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.4 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.2 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.10.0.22 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.10.0.20 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q3:1.10.0.18 pkgsrc-2011Q3-base:1.10 pkgsrc-2011Q2:1.10.0.16 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.10.0.14 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.12 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.10 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.10.0.8 pkgsrc-2010Q2-base:1.10 pkgsrc-2010Q1:1.10.0.6 pkgsrc-2010Q1-base:1.10 pkgsrc-2009Q4:1.10.0.4 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.10.0.2 pkgsrc-2009Q3-base:1.10 pkgsrc-2009Q2:1.9.0.18 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.16 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.14 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.12 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.10 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.8 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.6 pkgsrc-2008Q1:1.9.0.4 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.2 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.8.0.2 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.7.0.14 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.12 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.12 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.10 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.8 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.14 date 2017.02.22.12.20.51; author wiz; state dead; branches; next 1.13; commitid Ntg2iHUo2x4mCWGz; 1.13 date 2013.04.30.22.31.02; author joerg; state Exp; branches; next 1.12; 1.12 date 2013.02.27.18.06.39; author jperkin; state Exp; branches; next 1.11; 1.11 date 2012.04.17.20.08.06; author bsiegert; state Exp; branches; next 1.10; 1.10 date 2009.07.07.15.47.59; author sborrill; state Exp; branches; next 1.9; 1.9 date 2007.11.01.13.08.05; author rillig; state Exp; branches; next 1.8; 1.8 date 2007.10.09.20.17.32; author xtraeme; state Exp; branches; next 1.7; 1.7 date 2005.09.27.12.49.04; author tonio; state Exp; branches; next 1.6; 1.6 date 2004.05.13.10.03.12; author wiz; state Exp; branches; next 1.5; 1.5 date 2004.01.29.16.58.03; author jmmv; state Exp; branches; next 1.4; 1.4 date 2003.07.28.17.50.12; author hubertf; state Exp; branches; next 1.3; 1.3 date 2003.02.14.20.57.56; author wiz; state Exp; branches; next 1.2; 1.2 date 2002.04.22.18.39.19; author wiz; state dead; branches; next 1.1; 1.1 date 2002.01.04.02.05.33; author jmcneill; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.01.04.02.05.33; author jmcneill; state Exp; branches; next ; desc @@ 1.14 log @Updated fluxbox to 1.3.7. Set LICENSE. Version 1.3.7 is a bug fix release. Critical Bugfixes: * Segfault on startup (mostly *BSD) * Segfault on shutdown * Segfault on clicking the Remember menu * Menu crops on TypeAhead Minor Bugfixes: * _NET_REQUEST_FRAME_EXTENTS * Working autorepeat keys * Working vertical rotated Tabs and Toolbar * Proper size of titlebar buttons on restart / detaching tabs * Missing windowmenu works again * Several glitches in the menu * Correct handling of 'maximized' statement in the apps file Features: * The improved TypeAhead sytem is not limited to matches on beginning of menu items anymore, the behavior is configurable: - Nowhere - disables TypeAhead support - ItemStart - matches typed text only at the start of a menu item - Somewhere - matches typed text somewhere in a menu item (Currently this is a configfile-only option) * Minor tweaks to the i18n system * Updated turkish translations End User unrelated: * Code refactoring and cleanup, assisted by Coverity and clang static code analysis @ text @$NetBSD: patch-ac,v 1.13 2013/04/30 22:31:02 joerg Exp $ --- src/fluxbox.cc.orig 2013-04-30 20:22:28.000000000 +0000 +++ src/fluxbox.cc @@@@ -1077,7 +1077,7 @@@@ void Fluxbox::saveWindowSearchGroup(Wind } void Fluxbox::saveGroupSearch(Window window, WinClient *data) { - m_group_search.insert(pair(window, data)); + m_group_search.insert(std::multimap::value_type(window, data)); } @@@@ -1341,7 +1341,7 @@@@ bool Fluxbox::validateClient(const WinCl WinClientMap::const_iterator it = find_if(m_window_search.begin(), m_window_search.end(), - Compose(bind2nd(equal_to(), client), + Compose(bind2nd(equal_to(), client), Select2nd())); return it != m_window_search.end(); } @ 1.13 log @Match constness of other argument. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.12 2013/02/27 18:06:39 jperkin Exp $ @ 1.12 log @Remove old and now actively harmful patch chunk. Fixes build on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.11 2012/04/17 20:08:06 bsiegert Exp $ d3 1 a3 1 --- src/fluxbox.cc.orig Sat Oct 29 13:45:51 2011 d14 9 @ 1.11 log @Update fluxbox to current version, 1.3.2. Tested on MirBSD and NetBSD. Full ChangeLog is at http://git.fluxbox.org/fluxbox.git/tree/ChangeLog, the changes are too numerous to give here. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.10 2009/07/07 15:47:59 sborrill Exp $ a4 9 @@@@ -84,7 +84,7 @@@@ #ifdef SHAPE #include #endif // SHAPE -#ifdef HAVE_RANDR +#if !defined(__sun) #include #endif // HAVE_RANDR @ 1.10 log @Update to 1.1.1. Take over maintainership. Changes for 1.1.1 *08/09/14: * Fixed a minor pixmap resource leak (Henrik) FbTk/Menu.cc, FbTk/ImageControl.cc/hh *08/09/11: * Fixed unshading crash (Mark) src/FbWinFrame.cc * Be aware of badly specified _NET_WM_ICONS (Mathias) Ewmh.cc *08/09/03: * Added windowmenu to distpackage (Mark) ----------------------------- Changes for 1.1.0 *08/09/01: * When the current menu item gets disabled, highlight its nearest neighbor and add separators to the focus model menu (Mark) Screen.cc FbTk/Menu.cc *08/08/22: * Remove borders from maximized windows (Mark) FbWinFrame.cc * Add -sync command line option for debugging X issues (Mark) fluxbox.cc/hh main.cc *08/08/21: * Added SendToNextHead and SendToPrevHead commands (Mark) CurrentWindowCmd.cc/hh *08/08/20: * Added SetDecor key command (Mark) CurrentWindowCmd.cc/hh *08/08/19: * Add new [transient] tag to apps file to match transient windows (Mark) ClientPattern.cc/hh Remember.cc *08/08/18: * Combined code for MoveTo key command and saved window positions (Mark) Side effects: - both now have the following options: TopLeft Left BottomLeft Top Center Bottom TopRight Right BottomRight - the CENTER reference in apps now behaves like WINCENTER - some previously saved positions will be wrong, since they are now computed relative to the toolbar and slit - CENTER/WINCENTER will now work properly with Xinerama when placing the window on a head other than the top left one CurrentWindowCmd.cc/hh Remember.cc Window.cc/hh * Add Top Center, Left Center, Right Center, and Bottom Center tab placement options (Mark) FbWinFrame.cc/hh Screen.cc FbTk/Container.cc/hh *08/08/17: * Add new key commands SetTitle and SetTitleDialog (thanks Matteo Galiazzo) CommandDialog.cc/hh TextDialog.cc/hh CurrentWindowCmd.cc/hh Makefile.am *08/08/06: * Created manual for fluxbox-remote (Mark) doc/asciidoc/fluxbox-remote.txt doc/fluxbox-remote.1 * Automatically restore the previous background on startup (Mark) RootTheme.cc/hh util/fbsetbg startfluxbox.in *08/08/05: * Fixed Focus key command (Mark) CurrentWindowCmd.cc/hh FocusableList.cc/hh * Added new SetLayer key command (Mark) CurrentWindowCmd.cc/hh * Make ShowDesktop command toggle between showing windows and desktop (Mark) WorkspaceCmd.cc * Created new `fluxbox-keys' man page (thanks Jim Ramsay) doc/asciidoc/fluxbox-keys.txt * Make resize cursors consistent (thanks Dmitry E. Oboukhov) FbWinFrameTheme.cc *08/08/04: * Add selection box to various "choose one of these" menu items (Mark) Toolbar.cc Slit.cc Screen.cc LayerMenu.hh Xinerama.hh StyleMenuItem.cc/hh added FbTk/RadioMenuItem.hh * Add window list argument to ArrangeWindows (Mark) WorkspaceCmd.cc/hh *08/06/26: * Remove antiquated dithering code (Mark) FbTk/ImageControl.cc/hh FbTk/TextureRender.cc Screen.cc/hh *08/06/20: * Move default window menu to ~/.fluxbox/windowmenu (Mark) configure.in data/Makefile.am data/windowmenu Screen.cc *08/06/08: * Add (urgent=yes|no) option to client patterns (Mark) ClientPattern.cc/hh *08/06/06: * Allow window menu items in ordinary menus (Mark) MenuCreator.cc/hh *08/06/04: * Leave titlebar and handle borders alone with borderless windows (Mark) FbWinFrame.cc/hh *08/06/03: * Add -list-commands command line option, which prints a list of valid fluxbox commands (Mark) main.cc *08/05/13: * Only reload custom menus when necessary (Mark) FbCommands.cc/hh *08/05/12: * Only reload the keys file if the contents have changed (Mark) Keys.cc/hh fluxbox.cc/hh * Modifying the apps file no longer requires a reconfigure (Mark) Remember.cc/hh *08/05/09: * Made tooltip in toolbar update when the title changes (Henrik) Tooltip.cc/hh, Screen.cc/cc, OSDWindow.hh *08/05/05: * Add tooltips for iconbar buttons (thanks Matteo Galiazzo) TooltipWindow.cc/hh *08/05/02: * Minor changes for fluxbox-generate_menu (thanks skiidoo) util/fluxbox-generate_menu.in *08/05/01: * Notice when user replaces a non-existent menu file (Mark) fluxbox.cc Screen.cc *08/04/30: * Don't allow empty root menu (Mark) Screen.cc *08/04/27: * Added SimpleObserver class. (Henrik) SimpleObserver.hh, SendToMenu.hh/cc, Toolbar.hh/cc, SystemTray.hh/cc *08/01/27: * Reload the Xinerama layout on RandR signal (Tomas) Screen.cc/hh * Move windows out of inactive heads upon Xinerama layout change (Tomas) Screen.cc/hh *07/12/28: * Added new key command :Delay {} [], which runs the command after a delay of microseconds (default is 200 milliseconds) (Mark) FbTk/Timer.cc/hh *07/12/25: * Updated german translations for maximization menu (thanks Christian Loosli) nls/de_*/Translation.m * Removed KDE configure option, since it didn't do anything (Mark) configure.in config.h.in main.cc * Added resource session.screen.slit.acceptKdeDockapps: (Mark) Screen.cc Slit.cc/hh *07/12/23: * Added new style items window.(un)focus.border{Width,Color} (Mark) FbWinFrameTheme.cc/hh FbWinFrame.cc *07/12/21: * Added new key command :StartTabbing (Mark) Window.cc/hh CurrentWindowCmd.cc/hh *07/12/20: * Added new key command :ForEach (or :Map) (Mark) - :ForEach {} [{ [{}] [] }] - For example, the following command will shade all windows on the current workspace: ForEach {shade} {{groups} Matches (workspace=[current])} - can be any combination of `static' and `groups' where static means windows are listed in creation order, and groups means individual tabs are not considered separately - This replaces syntax such as `:Minimize (layer)', which no longer works WorkspaceCmd.cc/hh *07/12/19: * Don't let transient windows steal focus from other programs (Mark) Window.cc *07/12/18: * NLS entries for Mouse Tab Focus and Click Tab Focus were switched - please make sure they're right now in your language, bug #1786566 (Mark) fluxbox-nls.hh * Open transient windows on same workspace as parent (thanks Sascha Hunold) Window.cc * Holding control while clicking on a menu item will now keep the menu open (Mark) FbTk/Menu.cc MenuItem.cc/hh *07/12/17: * Fix startup items in apps file with specified screen number, bug #1843325 (thanks Martin) Remember.cc *07/12/14: * Fix compiling with gcc 4.3 (thanks Dmitry E. Oboukhov) main.cc *07/12/13: * Fix configure option --with-style (thanks Slava Semushin) configure.in Makefile.am * Close menus only when they lose focus (Mark) MenuCreator.cc FbTk/Menu.cc * Moved command parsing code all over the place -- expect any patches that add new commands to be broken (Mark, Simon) Added FbTk/CommandRegistry.cc/hh Removed FbCommandFactory.cc/hh CommandParser.cc/hh *07/12/11: * Added new resize modes for key command StartResizing: NearestEdge, Left, Right, Top, Bottom (Mark) Window.cc * Only allow one menu to be open at a time (Mark) FbTk/Menu.cc/hh *07/12/09: * Added OnTitlebar and Double modifiers to the keys file for clicks on the titlebar and double clicks, respectively (Mark, thanks Matteo Galiazzo) - For example, `OnTitlebar Double Mouse3 :Maximize' will maximize a window when you double click on the titlebar with the right mouse button - Note: if you have commands bound to both a single and double click, the single click command will still be executed on the first half of a double click - Added new key commands ShadeOn and ShadeOff that set whether or not a window is shaded, rather than toggling the current state Window.cc Keys.cc/hh FbCommandFactory.cc *07/11/22: * Added some new special keys to the keys file: FocusIn, FocusOut, MouseOver, MouseOut, ChangeWorkspace (Mark) - FocusIn/FocusOut correspond to a window gaining or losing focus, e.g. the following will raise all xterms when one gains focus: FocusIn :If {Matches (xterm)} {Raise (xterm)} {} - MouseOver/MouseOut correspond to the mouse moving over the window or toolbar (when used with OnToolbar) -- OnDesktop not yet supported, e.g. the following will unshade a window when you move your mouse over it with alt pressed: Mod1 MouseOver :If {Matches (shaded=yes)} {Shade} {} - ChangeWorkspace corresponds to the workspace being changed, e.g. the following will set a different wallpaper for each workspace: ChangeWorkspace :Exec fbsetbg ~/.fluxbox/bg$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}').png Keys.cc Window.cc Screen.cc Toolbar.cc * Added translations for zh_TW (thanks Wei-Lun Chao) * Fix division by 0 error when resize increments are set to 0 by an application, bug #1836182 WinClient.cc * Added conditional statements to key commands (Mark) - for example, this will search for an open xterm window, cycle through them if there are any, or else open one: Mod4 t :If {Some Matches (xterm)} {NextWindow (xterm)} {Exec xterm} - the syntax is :If {} {} {} - `Matches ' is currently the only test you can make; when used alone, it tests the focused window or the clicked window for OnWindow mouse events - there are many ways to combine tests: - `Some ' returns true if any open client matches - `Every ' returns true if every open client matches - `Not ' negates the value of - `Or {} {} ...' returns true if any of the tests is true - `And {} {} ...' returns true if all of the tests are true - `Xor {} {} ...' returns the boolean xor of the truth values FbCommandFactory.cc CurrentWindowCmd.cc/hh WorkspaceCmd.cc/hh FbTk/Command.hh FbTk/SimpleCommand.hh, added files FbTk/LogicCommands.cc/hh *07/11/16: * Added new key command :Focus [] that focuses a window (e.g., using OnWindow or specified using a window pattern) (Mark, thanks Tomas Janousek) FbCommandFactory.cc * Using ToggleDecor from Deco=TAB should hide tabs (thanks Tomas Janousek) Window.cc *07/11/12: * Allow arbitrary window patterns for the iconbar mode (Mark) - Note: for now, if you match against the current head of a window, it will not be updated as expected in the toolbar ClientPattern.cc/hh FocusControl.cc/hh IconbarTool.cc/hh FbTk/Subject.cc fluxbox.cc, added FocusableList.cc/hh *07/11/08: * Fix crash when cycling focus and window closes, bug #1787345 (Mark) FocusControl.cc *07/11/04: * Update autoraise delay on reconfigure (Mark) Window.cc *07/10/31: * Move fullscreen windows to normal layer when they lose focus (Mark) Window.cc FocusControl.cc *07/10/24: * Fixed some gcc 2.96 compile issues ( Henrik ) Layer.hh, MinOverlapPlacement.cc, Workspace.cc * Introduced (workspacename=...) for pattern matching and changed (workspace=...) to use the workspace number, indexed from 0 (Mark) ClientPattern.cc/hh * Reenabled raising window if window was moved by mouse by 0 pixels (Mathias) Window.cc *07/10/23: * Adding/removing workspaces wasn't updating menu (Mark) Screen.cc * Support remembering maximized, minimized, and fullscreen state (Mark) - [Maximized] {yes|no|horz|vert} - [Minimized] {yes|no} - [Fullscreen] {yes|no} - also fixed window placement when remembering head but not position Window.cc/hh Remember.cc/hh Screen.cc/hh Ewmh.cc fluxbox-nls.hh CurrentWindowCmd.cc * Allow negated patterns, e.g. (name!=xterm) (Mark) ClientPattern.cc/hh *07/10/22: * Added option "mouse" to client pattern ( Henrik ) This is usefull for xinerama. For example: Mod1 Tab :NextWindow (head=[mouse]) This will cycle focus through windows that are on the same head as the mouse pointer. ClientPattern.cc * Fixed crash bug at restart. ( Henrik ) Window.cc * Replaced modKey with new commands StartMoving and StartResizing (Mark) - your keys file should be updated automatically - they must be used with a mouse button, or they won't work - StartResizing takes one or none of the following arguments: NearestCorner, Center, TopLeft, TopRight, BottomLeft, BottomRight Window.cc/hh CurrentWindowCmd.cc/hh FbCommandFactory.cc Screen.cc/hh fluxbox.cc/hh ScreenResources.cc FbCommands.cc/hh util/fluxbox-update_configs.cc *07/10/21: * Allow decorations bitmask to be specified using '0x' (Mark) Window.cc *07/10/18: * Fixed gcc 2.96 compile problem ( Thanks rumpole at hotmail ) bug #1809786 src/FbTk/TextBox.cc *07/10/15: * Added OnWindow modifier to keys file (Mark) Keys.cc Window.cc Screen.cc CurrentWindowCmd.cc *07/10/14: * Added support for transient windows in window patterns, e.g. (transient=yes|no), defaulting to "no" for the apps file (Mark) Remember.cc ClientPattern.cc/hh Focusable.hh Window.cc/hh * Bugfix for SendToPrevWorkspace/TakeToPrevWorkspace (Mathias) CurrentWindowCmd.cc/hh *07/10/13: * Merged pre-devel branch; see all Changes since 1.0.0 (Mark) * Updated ru_RU (Thanks Konstantin Shashkin) * deiconify windows via :Deiconify in reverse order (Mathias) FbCommands.cc *07/05/23: * Added key command :Attach which groups all windows matching the given pattern (Mark) FbCommandFactory.cc WorkspaceCmd.cc/hh *07/05/20: * Added resources session.screen.maxDisable{Move,Resize}: , which prevent maximized windows from being moved/resized (Mark) Window.cc Screen.cc/hh nls/fluxbox-nls.hh *07/05/19: * Changed behavior of resource session.screen.followModel (Mark) - now only options are Ignore and Follow, the latter using the setting in session.screen.userFollowModel Window.cc/hh Ewmh.cc Screen.cc/hh *07/05/16: * Added new resource session.screen.noFocusWhileTypingDelay: (Mark) - specifies a time in milliseconds that new windows should not gain focus while the user is typing in the focused window Window.cc/hh Screen.cc/hh *07/05/13: * Added new placement policies {Row,Col}MinOverlapPlacement. They behave the same as {Row,Col}SmartPlacement when the window fits but fall back on minimizing overlap with other windows instead of CascadePlacement (Mark) MinOverlapPlacement.cc/hh ScreenPlacement.cc/hh *07/04/23: * Set IconicState on all unmapped clients and unmap clients with frames, as per ICCCM 4.1.4 (Mark) Screen.cc Window.cc FocusControl.cc * Added ClientMenu key command, which pops up a menu of open windows, based on a pattern match - e.g. :ClientMenu (workspace=[current]) (minimized=no) ClientMenu.cc FbCommands.cc/hh FbCommandFactory.cc *07/04/11: * Added resource session.screen.maxIgnoreIncrement: , to disable size checking when maximizing a window (e.g. terminals) (Mark) - Also added a new configuration submenu for maximize options, to be filled at a later date Screen.cc/hh Window.cc *07/04/08: * Added OnToolbar modifier to keys file (Mark) Keys.cc/hh Toolbar.cc/hh Screen.cc/hh IconbarTool.cc fluxbox.cc *07/04/06: * More changes to theme handling (Mark) - introduced window.label.(un)focused.{justify,border{Color,Width}}, which fallback to window.label.{justify,border{Color,Width}} before window.{justify,border{Color,Width}} - this has the backwards-incompatible effect that toolbar.iconbar.(un)focused.* fallback first to toolbar.iconbar.* and then to window.label.* FbWinFrame.cc/hh IconbarTool.cc/hh IconButton.cc/hh IconbarTheme.cc FbWinFrameTheme.cc/hh *07/04/03: * Added window.label.(un)focused.font to styles (Mark) FbWinFrame.cc *07/03/31: * [group] tag in apps file may now have a pattern appended to it, and a new window will only be automatically attached to the group if the group matches that pattern -- e.g. [group] (workspace) (shaded=no) will only automatically group with windows on the current workspace that are not shaded (Mark) Remember.cc/hh * Lots of window commands now take a client pattern as an additional argument, and the command will then be applied to all matching windows (Mark) - For example: `SendToWorkspace 2 (xterm)' will send all xterm windows to workspace 2 - Here is the full list of affected commands (which is not to imply they all necessarily make sense to do): Fullscreen, Minimize, Maximize, MaximizeVertical, MaximizeHorizontal, SetAlpha, Resize, ResizeTo, ResizeHorizontal, ResizeVertical, MoveTo, Move, MoveRight, MoveLeft, MoveUp, MoveDown, Raise, RaiseLayer, Lower, LowerLayer, Close, Kill, Shade, Stick, ToggleDecor, SetHead, Tab, SendToNextWorkspace, SendToPrevWorkspace, TakeToNextWorkspace, TakeToPrevWorkspace, SendToWorkspace, TakeToWorkspace, NextTab, PrevTab, MoveTabLeft, MoveTabRight, DetachClient WorkspaceCmd.cc/hh CurrentWindowCmd.cc/hh FbCommandFactory.cc *07/03/30: * Changed syntax for window cycling (Mark) - Instead of a bitmask, the window cycling functions NextWindow, PrevWindow, TypeAheadFocus, and GoToWindow now take a list of options enclosed in {} followed by a pattern similar to those used in the apps file. - Examples: * NextWindow {static groups} (shaded=yes) (name=xterm) - cycles through all shaded xterms in creation order, only focusing the active tab in the group * GoToWindow 3 (title=[current]) - focuses the third client in last-focused order with the same title as the currently focused window - The options are: name, class, title, role, maximized, minimized, shaded, stuck, focushidden (can't be disabled), iconhidden, workspace (matches workspace names, not numbers), head (numbers), and layer (names) - Parsing is a pain, so you'll have to update your keys file yourself for now. *07/03/29: * Removed groups file; entries will be added to the apps file automatically (Mark) * Fixed a problem with programs starting in IconicState (Mark) *07/03/27: * Added new resource session.screen.clientMenu.usePixmap that puts the window's icon in the workspace and icons menus: default true. (Mark) - For some reason, it doesn't work with un-shaped icons yet, but I've spent way too many hours already trying to figure out why * Use IconTitle in iconbar for minimized windows (Mark) *07/03/25: * Added new resource session.screen.tabs.usePixmap that puts the window's icon in the tab, if available. This is on by default. (Mark) Window.cc FbWinFrame.cc/hh WinClient.cc Screen.cc/hh *07/03/24: * Added new key command GoToWindow (Mark) - Syntax is GoToWindow [], where the int gives the position of the desired window with respect to a list of windows, and the bitmask is the same as for NextWindow. A negative number for will count back from the end of the list. - Particularly useful examples are GoToWindow 9 and GoToWindow 25, which will focus the window at position in the iconbar modes Workspace and WorkspaceNoIcons, respectively. * Fixed creation order window cycling with tabbed windows (Mark) *07/03/21: * Added new command TypeAheadFocus (Mark) - syntax is the same as for NextWindow; when you run the command, you can start typing the title of the window, and it will gain focus; pressing tab will cycle through all matching entries using the options specified; when you've found the window you want, just press return or escape WinClient.hh Screen.cc/hh FbCommandFactory.cc WorkspaceCmd.cc/hh @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2007/11/04 15:34:09 rillig Exp $ d3 2 a4 2 --- src/fluxbox.cc.orig 2009-07-06 12:28:48.000000000 +0100 +++ src/fluxbox.cc 2009-07-06 12:35:00.000000000 +0100 d14 1 a14 1 @@@@ -1227,7 +1227,7 @@@@ d18 1 a18 1 - m_group_search.insert(pair(window, data)); @ 1.9 log @Fixed the package so that it builds with sunpro, a very strict compiler. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.8 2007/10/09 20:17:32 xtraeme Exp $ d3 3 a5 3 --- src/fluxbox.cc.orig 2007-03-19 20:57:09.000000000 +0100 +++ src/fluxbox.cc 2007-10-31 00:54:40.610976000 +0100 @@@@ -94,7 +94,8 @@@@ class Toolbar { }; d10 1 a10 2 +#undef HAVE_RANDR +#if defined(HAVE_RANDR) && !defined(__sun) d14 1 a14 17 @@@@ -596,11 +597,11 @@@@ void Fluxbox::setupConfigFiles() { bool create_init = false, create_keys = false, create_menu = false; - string dirname = getenv("HOME") + string("/.") + m_RC_PATH + "/"; + string dirname = getenv("HOME") + string("/.") + m_RC_PATH; string init_file, keys_file, menu_file, slitlist_file; - init_file = dirname + m_RC_INIT_FILE; - keys_file = dirname + "keys"; - menu_file = dirname + "menu"; + init_file = dirname + "/" + m_RC_INIT_FILE; + keys_file = dirname + "/" + "keys"; + menu_file = dirname + "/" + "menu"; struct stat buf; @@@@ -1349,7 +1350,7 @@@@ void Fluxbox::saveWindowSearchGroup(Wind @ 1.8 log @Update to 1.0.0 (ok by agc) News in 1.0.0: * New default style: bloe * New styles: ostrich zimek_darkblue, zimek_green, zimek_bisque, carp, arch, bora_black, bora_blue, bora_green, green_tea, bloe * Fixed shape handling, now shaped corners have border. * Allow negative numbers in command "Workspace" * Added utility fluxbox-remote * Allows script access to most fluxbox commands; Support must be turned on in the init file with session.screen.allowRemoteActions; the syntax is, e.g., fluxbox-remote "CustomMenu ~/.fluxbox/custommenu" * Added keycommands :AddWorkspace and :RemoveLastWorkspace * Added some missing Open Office entries and window managers, plus some other minor changes in fluxbox-generate_menu * Updated languages: sv_SE, zh_CN, de_*, es_ES, es_AR, en_US, en_GB, pt_* fi_FI, fr_FR, ru_RU And a lot of bugfixes, please review the Changelog file for more info. @ text @d1 1 a1 1 $NetBSD$ d3 13 a15 3 --- src/fluxbox.cc.orig 2007-10-09 03:40:08.000000000 +0200 +++ src/fluxbox.cc 2007-10-09 03:41:21.000000000 +0200 @@@@ -589,11 +589,11 @@@@ d31 9 @ 1.7 log @Update wm/fluxbox to 0.9.14 Update maintainer remove dependancy over bsetroot, fluxbox now provides fbsetroot (and this one builds with gcc4) approved by jmcneill@@ and wiz@@ @ text @d3 3 a5 3 --- src/fluxbox.cc.orig 2005-09-01 11:22:01.000000000 +0200 +++ src/fluxbox.cc @@@@ -570,11 +570,11 @@@@ void Fluxbox::setupConfigFiles() { d9 2 a10 2 - string dirname = getenv("HOME") + string("/.") + string(m_RC_PATH) + "/"; + string dirname = getenv("HOME") + string("/.") + string(m_RC_PATH); @ 1.6 log @Adapt line numbers to current version of the file. @ text @d3 1 a3 1 --- src/fluxbox.cc.orig 2004-04-26 11:25:42.000000000 +0200 d5 1 a5 1 @@@@ -700,11 +700,11 @@@@ void Fluxbox::setupConfigFiles() { @ 1.5 log @Update to 0.9.8. Changes since 0.9.4: News in 0.9.8: - Transparent toolbar - Bug Fixes: Fixed image cache problem (the memory bug) Fixed color parsing bug Fixed iconbar bug in "All Windows" mode Fixed border bug with left/right alignment in iconbar Fixed a loop issue in fluxbox-generate_menu News in 0.9.7: - Two new pixmap styles: Emerge from Nuno Alexandre BlueFlux from Lauri Hakkarainen - Added menu delay/click to open or close sub menus - Added alignment for buttons in icon bar Change Left, Relative or Right via the iconbar mode menu - New menu item [separator] This will create a nice separator line - New theme items: window.label.active: window.label.active.textColor: - New actions: ReloadStyle CommandDialog - this will show a dialog in which you can issue fluxbox commands WorkspaceNameDialog - edit workspaces name dialog (old SetWorkspaceName) SetWorkspaceName SetResourceValueDialog - shows a dialog where you can type the resource name and it's value SetResourceValueCmd BindKey : - this will append key string and action to your keys file and bind the key - Window menu accessible in workspaces client menu - Shadow options for fonts. - Enabled/Disable toolbar menu item ("Visible" menu item) - Toggle images in iconbar - Edit clock format dialog - Send to menu is back - Changed Maximize menu item in Window menu to a multi button item - Added resource session.useMod1 to disable/enable mod1 for Resize/Move window with mod1 + button - Bug fixes: Fixed slit and toolbar autohide bug Fixed image cache bug Fixed some icc warnings Fixed mozilla focus issue Fixed crash bug when adding new workspaces Fixed menu draw bug in empty sub menus News in 0.9.6: - Adding image search paths when loading a style It now looks for pixmaps in and /pixmaps and in file //theme.cfg for this, stylebase is the style directory pixmap styles should use the new format for portability - Added startup script to be used with startfluxbox, to get a consistent frontend for both dm and startx and your fluxbox-session - Added "!" as a comment line for keys file - Added new actions - Improved menu speed - Added -verbose argument to fluxbox - This will enable theme warnings - Configurable tools in toolbar - New theme items for toolbar - Support for _NET_WM_STATE_FULLSCREEN - Nearest-quadrant resizing - Improvements/Updates to fbsetbg and fluxbox-generate_menu - Bug fixes: Fixed some issues with mplayer in fullscreen Fixed java bug with missing drawing bits of window Fixed building with --disable-slit Fixed NLS bad message errors by adding explicit codeset entries Fixed disappearing close button Fixed numlock and scrlock bug in FbTk TextBox Fixed pixmap bug when changing between non-pixmap themes and pixmap themes Fixed empty window bug in SystemTray Fixed toolbar height bug crash News in 0.9.5: - New theme items: - New actions: resizevertical resizehorizontal setworkspacename movetableft movetabright - Set workspace name tool - Search path resource for images session.screen.imageSearchPath This is a list separated by , or space - New height resource for toolbar - session.screen.toolbar.height This will override the style's font height - Support for system tray _NET_SYSTEM_TRAY Applications that support this will show their icon in the toolbar next to the clock. - New texture type: Tiled This will just affect pixmap loaded from file, and it will not scale them. - Improved iconbar - Bug fixes: Fixed Transparency bug in menus Fixed so shaped windows like xmms wont get round corners Fixed shape bug when switching between shaped themes and non shaped Fixed kde dockapp bug FbRun works properly on multiple screens Fixed pesky crash and phantom icons Fixed aspects of focus and raising, including transients Fixed java bug, slow windows Fixed 8 bpp crash @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2003/07/28 17:50:12 hubertf Exp $ d3 1 a3 1 --- src/fluxbox.cc.orig 2004-01-13 15:31:15.000000000 +0100 d5 1 a5 1 @@@@ -668,11 +668,11 @@@@ void Fluxbox::setupConfigFiles() { @ 1.4 log @Update fluxbox to 0.9.4. Changes: * Keyboard navigation in menus * Keys: Up/Down: select menu item Left/Right: go in/out from sub menus Escape: close menu and return focus to windows Enter: run/execute/toggle menu item To set input focus on the menu you either click on the title bar or bring it up with key bindings * New action strings * ArrangeWindows This will arrange the windows on the current desktop * ShowDesktop This will iconify all windows on the current desktop * The same action strings that are in keys file can now be used in the menu example: [ArrangeWindows] (arrange windows) * New theme items * toolbar.button.borderWidth: * toolbar.borderWidth: * toolbar.bevelWidth: * toolbar.borderColor: * slit.borderWidth: * slit.bevelWidth: * slit.borderColor: * [startup] option in remember file Can now add entries to apps file like: [startup] {xterm} Then "xterm" will be launched on fluxbox startup. Can also give a screen option: [startup] (screen=1) {xterm} will start it on screen 1 rather than the default 0. * Rounded corners on menu, windows and toolbar Theme items: * menu.roundCorners: * toolbar.shaped: * window.roundCorners: Shape item can be: TopLeft TopRight BottomLeft and/or BottomRight example: menu.roundCorners: TopRight BottomLeft * The current style is now marked in the style menu * Compile time option for toolbar --disable-toolbar --enable-toolbar (default) * Emacs style key bindings in fbrun * Tab completion in fbrun * Group persistence over a restart * Maximization stop on slit and toolbar (check Maximize Over menu items) * Support for _NET_WM_STRUT * Regular expression support for remember Bug fixes: * Toggle maximize vertical/horizontal * Slit/Toolbar auto hide bug * Button alignment bug in title bar * Trailing whitespace in group file resource * Group cycling Based on patch by Tom Hensel [ tom at replic8 dot net ]. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/fluxbox.cc.orig Thu Jul 10 14:00:49 2003 d5 1 a5 1 @@@@ -629,7 +629,11 @@@@ d9 2 a10 6 - string dirname = getenv("HOME")+string("/.")+string(m_RC_PATH) + "/"; + string dirname = getenv("HOME")+string("/.")+string(m_RC_PATH) +#if 0 + + "/" +#endif + ; d12 9 a20 2 init_file = dirname + m_RC_INIT_FILE; keys_file = dirname + "keys"; @ 1.3 log @Update to 0.1.14nb1: include patch from 20009 for better setlocale handling. @ text @d3 15 a17 13 --- src/i18n.cc.orig Sat Dec 7 15:14:05 2002 +++ src/i18n.cc @@@@ -61,7 +61,9 @@@@ void NLSInit(const char *catalog) { I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) { #ifdef HAVE_SETLOCALE //make sure we don't get 0 to m_locale string - char *temp = setlocale(LC_ALL, ""); + char *temp; + (void)setlocale(LC_ALL, ""); + temp = setlocale(LC_MESSAGES, NULL); m_locale = ( temp ? temp : ""); if (m_locale.size() == 0) { cerr<<"Warning: Failed to set locale, reverting to \"C\""< #include +template +class DataSearch { + private: + Window window; + Z *data; + + + public: + DataSearch(Window w, Z *d) { window = w; data = d; } + + inline const Window &getWindow(void) const { return window; } + inline Z *getData(void) { return data; } +}; + class Fluxbox : public BaseDisplay, public TimeoutHandler { public: @@@@ -191,21 +205,6 @@@@ enum { B_AmericanDate = 1, B_EuropeanDate }; #endif // HAVE_STRFTIME - template - class DataSearch { - private: - Window window; - Z *data; - - - public: - DataSearch(Window w, Z *d) { window = w; data = d; } - - inline const Window &getWindow(void) const { return window; } - inline Z *getData(void) { return data; } - }; - - private: typedef struct MenuTimestamp { char *filename; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import fluxbox 0.1.5, a Window Manager for X based on BlackBox @ text @@