summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-10Avoid initializing a VLA of 0 lengthMikael Magnusson
2014-04-10Declare variables at start of blocks in place.cMikael Magnusson
2014-04-10Break loop if is_true was set to false in IfMikael Magnusson
2014-04-10Don't segfault when there's no target in IfMikael Magnusson
2014-04-10Some fixes in french translationMikael Magnusson
2014-04-10Cache results of offset/shift functions so we don't do 6 function calls per ↵Derek Foreman
pixel when reducing color depth
2014-01-09Fix gcc warnings in screen.cRafael Ignacio Zurita
2014-01-09Added missing break statement (Bug 6043)Markus Roesch
2013-12-02Include rsvg-cairo.h for cairo-specific thingsDana Jansens
2013-09-09Add a strict option to the ToggleShowDesktop actionDana Jansens
When the strict option is used, normal windows are not able to show themselves while showing the desktop.
2013-09-08Portuguese update for openboxSérgio Marques
2013-09-02Allow FillToEdge to grow when all its edges are blocked.Dana Jansens
This change points out how useless the return value from client_find_resize_directional() was, so it also removes that. When all edges are blocked, the FillToEdge action will try to grow all four edges agin without blocking any of them on their current edge. This more closely matches the behaviour of the GrowToEdge action.
2013-09-02Clean up the FillToEdge action implementationDana Jansens
This extend the client_find_resize_directional() method to support two growing modes, and return a bool for whether it was able to grow/shrink. The client_find_resize_directional() method now takes an enum instead of a bool, with two growing modes. The old mode which always tries to grow, the a new mode that will only grow if the client's edge is not already at a grow stopping point (ie against the edge of another window).
2013-09-02Created a 'GrowToFill' action. (Bug 3356)Lucas Augusto Deters
2013-09-02Use the BSEARCH() macro in overlap placementDana Jansens
Currently the code rolls its own binary search, but now that we have a well-tested binary search implementation in obt/ we can make use of that.
2013-09-01Fix bugs and add unit tests for BSEARCH()Dana Jansens
Also adds running unit tests to the release/go script so we can be sure that all tests pass before we make a release.
2013-09-01Fix nits for overlap placement center optionDana Jansens
2013-09-01Add the old <center> option for the placement policy. (Bug 5946)Ian Zimmerman
Original commit messages: . Reformat to move closer to house style . Add center on top of leat overlap place algo . Add sentinel value to edge arrays . Use a Size instead of a Rect for a centering field . Fix off by one bug . Need to declare dx and dy . Pass length of edge array instead of recomputing . Fix missing open-brace in config.c . Address the more trivial subset of danakj comments . Revert "Remove now-unused config_place_center option." This reverts commit 5e282dae08be3b900e0337efa0fae8f3ffa92cd7. . Remove reliance on sentinel value when scanning edge arrays . Avoid need to initialize Size structure by removing it :) . Clean up field expansion code somewhat . Compress code further by using a structure for common args . Fix search for next grid point . Squeeze it even more by not using Size at all
2013-09-01Fix gcc warningsIan Zimmerman
2013-09-01Fix a typo causing submenuShowDelay to be ignored (Bug 6019)Tom Sires
2013-08-19Add window type to If as wellMikael Magnusson
This one required some extra helpers so is separate commit
2013-08-19Allow matching class, name and role in If actionMikael Magnusson
2013-08-19Add ForEach action which is like If but runs on all clientsMikael Magnusson
Also adds a Stop action that lets you stop running, in case you only want to run actions on the first match.
2013-08-18Remove the else-on-newline rule from HACKINGDana Jansens
2013-08-18Add queries to If actionsDana Jansens
This allows the If action to run queries against a client other than the target of the actions being run, for example to check state on the focused window while performing actions on another window during focus cycling. The syntax looks like <action name="If"> <query target="default"> <title>FooBar</title> <maximized>yes</maximized> </query> <query target="focus"> <desktop>3</desktop> </query> <then> <action name="NextDesktop"/> </then> </action> The above checks the client window that the actions will run on to verify that its title is "FooBar" and that it is maximized. If that is true, it also checks that the currently focused client window is on desktop 3. If that is true also, then it runs the NextDesktop action. The target="" option can be set to "default" which uses the client window that the actions will run on, or it can be "focus" which uses the client window that is currently focused. The <query> tag is optional, and the conditions inside the query can be placed directly inside the If <action> tag, as they were before this change. In that case, a default <query> tag is assumed with target="default" which matches the previous behaviour. Multiple <query> tags can be present, and they must all be true in order to run the actions in <then>. If any one is false, the actions in <else> will be run instead.
2013-08-18Update HACKING for brace rulesDana Jansens
The rules in HACKING for braces are kind of unclear, so add some more rules and provide examples too.
2013-08-18Add a note to add the version to the bug tracker for new releases.Dana Jansens
Also important to update IRC and keep hydrated.
2013-08-11Update po files for 3.5.2Dana Jansens
2013-08-11Add CHANGELOG for 3.5.2Dana Jansens
2013-08-11Update version in configure.ac to 3.5.2Dana Jansens
No library interfaces were changed since 3.5.1.
2013-08-11Maximized undecored windows have incorrect top border. (Bug 5996)Dana Jansens
If the window has no border since the theme has bwidth=0, or because the window is truly undecorated via MWM hints, then we should not allocate space for the frame of the window which will just be empty pixels.
2013-08-11window.inactive.label.text.color should default to white.Dana Jansens
Currently it defaults to itself, which is NULL, and causes a crash. The spec http://openbox.org/wiki/Help:Themes#window.inactive.label.text.color claims that the default is white. In 98b02c6b60bbde2a5db026b3ee3e6e6dc44d1a92 we had this property being read twice, once with the NULL backup and once with white. It seems that we kept the wrong one, so just switching this to white now.
2013-08-11Fix a write out of bounds in splitvertical gradients (Bug 3612)Dana Jansens
If the gradient has height 1, then y1sz is 0. We don't want to use the first color and move the data pointer, since this will move it past the end of the array.
2013-08-11We use congfigure.ac not configure.amDana Jansens
2013-08-11Fix some compiler warningsDana Jansens
Void function should actually be declared void. Not-reached switch condition should still return something.
2013-08-11Update line numbers in po filesDana Jansens
2013-08-11Change "plain" to "exact" for If's <title>Mikael Magnusson
2013-08-11Update CHANGELOGMikael Magnusson
2013-08-11Add matching which monitor the client is on in the If action (Bug 5426)Mikael Magnusson
2013-08-11Use enum value for monitor in MoveToCenterMikael Magnusson
2013-08-11Let the If action match window titles with GRegexMikael Magnusson
2013-08-11Use a helper function to make if.c a bit shorterMikael Magnusson
2013-08-11Add activedesktop to IfMikael Magnusson
2013-08-11Dock used showDelay for both hiding and showing (Bug 5811)Lefteris Chatzimparmpas
2013-08-11Allow specifying only one of width and height in per-app settings sizeMikael Magnusson
Fixes bug 5819.
2013-08-11Fix use after free in error messageMikael Magnusson
2013-08-11Add some comments in MoveResizeTo codeMikael Magnusson
2013-08-11Remove fuzzy and outdated translations, add plural expressions.Dana Jansens
Clean up the .po files for this release. Plural expressions are needed in all files that have plurals. And replace fuzzy (incorrect) translations with empty ones instead.
2013-08-11Make nplurals=2 in Turkish translation since there are plurals translationsDana Jansens
The plural should be a c expression that says if n is plural or not.
2013-08-11Remove po_PL from LINGUAS as that doesn't exist, should have be pl.poDana Jansens