aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun
AgeCommit message (Collapse)AuthorFilesLines
2015-01-04Fix build-system: use xxx_LDADD instead of xxx_LDFLAGSMathias Gumz1-6/+5
xxx_LDFLAGS place the libraries like '-lX11' or '-lXft' at the beginning of the linker command. Some systems were not able to handle the situation and this lead to a lot of unresolved symbols. Reading the documentation of automake: ... you can use LDADD to do so. This variable is used to specify additional objects or libraries to link with; it is inappropriate for specifying specific linker flags, you should use AM_LDFLAGS for this purpose. In addition we link against -lm in order to satisfy symbols refering to 'cos' and 'sin'.
2015-01-03Clean unused variablesMathias Gumz1-1/+0
2015-01-03Remove unused code / option from FbRunMathias Gumz1-5/+1
2015-01-03Update release versionMathias Gumz1-1/+1
2015-01-02Fix corruption of fbrun-historyMathias Gumz1-42/+20
This commit fixes issues #72 (brought up + different solution by Mattias Guns; I received a similar patch by 'Nable 80' via ML and discussed the issue in #fluxbox with 'Nable 80'), patch #73 (Mattias Guns) and finally patch #162 (Ulrich Eckhardt; this commit is heavily based upon Ulrich's work). The original code was overly complex. It tried to avoid writing bytes to the disk at the expense of comprehensibility and as a result it was buggy. I looked at both patches from Mattias and 'Nable 80' which address the bug with skipping entries in the history-file (my fault: incorrect use of outfile.ignore(1, '\n')): They provided a proper fix for the problem but I decided to use Ulrich's code since it improves the whole code by making it a lot simpler. So, kudos to all of you.
2015-01-02Fix loading fbrun-historyMathias Gumz1-5/+3
Previous code add one additional entry on loading the history. This commit is one part of the patch #162 (see [1] and [2]), written by Ulrich Eckhardt <doomster@knuut.de>. [1]: https://sourceforge.net/p/fluxbox/patches/162/ [2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=fbrun-bug636632.patch;att=1;bug=636632
2014-04-11merge Sami Kerola's new build-systemMathias Gumz3-12/+22
2014-02-17update of copyright infoMathias Gumz1-1/+1
2013-05-26build-sys: move to non-recursive buildSami Kerola2-16/+22
This rather large change will attempts to make 'make' to work better. See excellent paper 'Recursive Make Considered Harmful' by Peter Miller for further explanation why several make files is worse than one for whole project. Note. The tests are build with 'make check' rather than defining TEST. Reference: http://miller.emu.id.au/pmiller/books/rmch/ Reference: http://karelzak.blogspot.co.uk/2013/02/non-recursive-automake.html
2013-05-26build-sys: use pkg-config to locate dependenciesSami Kerola1-0/+8
This commit alters XRANDR (X Resize And Rotate) extension dependency, which is expected to have at least version 1.4. Earlier old versions of xrandr were supported, at least to some extent.
2013-05-26build-sys: include config.h to all files using automakeSami Kerola2-5/+1
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.
2013-02-14Updates copyright date information in some binariesMathias Gumz1-1/+1
2013-01-03automake: use AM_CPPFLAGS rather than INCLUDESSami Kerola1-2/+2
The INCLUDES macro deprecated in favour of AM_CPPFLAGS. References: http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
2012-12-30Store XClassHint on stack, not in dynamic memoryVladimir A. Pavlov1-8/+5
2012-01-04Check .empty() instead of .size() == 0Ryan Pavlik1-3/+3
Found with cppcheck.
2012-01-04Exceptions should be caught by reference.Ryan Pavlik1-1/+1
Found using cppcheck.
2011-10-31FbRun.cc: Fix on windows where there is no forkRyan Pavlik1-0/+25
2010-09-08introduced FbTk::BidiStringMathias Gumz1-6/+8
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-05-25minor cosmeticsMathias Gumz2-8/+8
2008-10-04recognize --option in addition to -option for most thingsMark Tiefenbruck1-10/+11
2008-10-04add -print option to fbrun to return result to stdout instead of executing itMark Tiefenbruck3-1/+14
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck3-6/+0
2007-07-31add some decorations to torn menus, and fix restart without an argumentmarkt2-5/+5
2007-06-29updates for compiling with gcc 4.3markt1-0/+10
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/+8
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-04-03getting rid of more useless files in the repomarkt1-5/+0
2006-10-30Cosmetic patch from Slava Semushinmathias2-12/+20
2006-04-25Cleanup unneeded headers (thanks Slava Semushin)mathias1-32/+30
2006-04-25fbrun: Move the cursor to the end when tab completingsimonb2-10/+24
+ thanks Jonas Koelker, sf.net rfe #1333003, patch #1475578
2006-04-17fix fbrun positioning code to use hints properlysimonb3-4/+11
2006-04-17fix compiler warnings in fbrun toosimonb1-4/+4
2006-02-16updated copyright infomathias3-3/+3
2005-12-22removed unused variablefluxgen1-1/+0
2005-06-03- Usage of xft-fonts is prefered, except a font-description starts with '-'mathias2-4/+4
- Removed "antialias"-option completly, to enable/disable "antialias" use either <fontname>:antialias=<bool> in the style or use Xft.antialias: <bool> in your .Xdefaults - Added new styleresources: *.font.effect: <halo|shadow> *.font.shadow.x : <int> - shadow x offset *.font.shadow.y : <int> - shadow y offset *.font.shadow.color : <color> - color of shadow *.font.halo.color : <color> - color of halo - Removed 'shadow' and 'halo' options from fontdefinitions: !! Style authors have to update their styles !! - Simplified XmbFontImp to not try all possible fonts to match locale - Style authors may specify multiple fonts: <font1>|<font2>|<font3> if loading of font1 fails, fluxbox probes <font2>, etc. The last font is "fixed". Hints for style authors: - if xft tries to load a font it will _ALWAYS_ return a valid font, it doesnt have to look like the one you want to have, read more about it: http://fontconfig.org/fontconfig-user.html - export XFT_DEBUG=1 before running fluxbox helps to see which fonts are picked. eg: *.font: Verdana,Arial-12:antialias=true|-artwiz-snap-*- if fluxbox is compiled with xft this will NEVER try to load "-artwiz-snap-*-" since xft gives for sure a font, most likely Verdana or Arial but noone knows. So, if fluxbox has no xft support the first fontpattern fails and fluxbox tries the next one, which might be successful. if everything fails, it will use "fixed" - Added caching of fonts, fonts are only loaded once. - Fixed #1090902 (slow utf8 start)
2005-05-09fix from vadim for fbrun-tabcompletionmathias1-2/+2
2005-05-06Fix for #1160244, #1099704, #1094107:mathias1-5/+6
if the xkb-extension is enabled and the user switches between his/her keyboardlayouts fluxbox's keybhandling doesn't work well anymore because xkeyevent.state contains also xkb-related flags and thus we have to handle that with caution. KeyUtils now contain 'isolateModifierMask()' to really work only on the modifiers. why not as part of cleanMods() ? because the XLookupString return false results, eg TextBox's would only print chars from the first keyboardlayout.
2005-01-24copyright datemathias3-3/+3
2005-01-20applied patches from openbsd-ports, closed #1105041 (sf)mathias1-1/+1
execl needs a terminating NULL at the end, a '0' would be converted to "int 0" on 64bit-systems
2004-12-24fix the no-writing-history issue for fbrunmathias1-12/+19
2004-12-21show fbrun after moving to the right positionmathias1-1/+2
2004-12-18* moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now mathias1-7/+7
file and directory - helproutines. * created the FileUtil-namespace which contains file-related functions, moved those functions out of Directory - code * changes to the rest of the files to follow those changes
2004-11-23update of copyright and version number of fbrunmathias1-1/+1
2004-11-22dont overlap with screenbordermathias1-4/+44
added xinerama-support
2004-11-19svn propset svn:keywords "Id"mathias2-2/+2
2004-11-18keypad-enter should work with fbrun nowmathias1-1/+2
2004-10-10fbrun switches between file-search and path-to-file-search now correctly (i ↵akir1-3/+4
think)
2004-09-29fixes #1026929 (sourceforge)akir1-2/+6
2004-09-12tiny fix for -nearmouseakir1-2/+1
2004-09-12for -nearmouse wrong -help - descriptionakir1-2/+2