Commit graph

92 commits

Author SHA1 Message Date
Sami Kerola
73b7958770 build-sys: include config.h to all files using automake
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-05-26 10:38:10 +01:00
Mathias Gumz
ac27c8cb42 Updates copyright date information in some binaries 2013-02-14 19:45:17 +01:00
Sami Kerola
f12e149baf automake: use AM_CPPFLAGS rather than INCLUDES
The INCLUDES macro deprecated in favour of AM_CPPFLAGS.

References: http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html
2013-01-03 08:17:27 +01:00
Vladimir A. Pavlov
7a404e7fbc Store XClassHint on stack, not in dynamic memory 2012-12-30 12:27:37 +01:00
Ryan Pavlik
d70bdbe675 Check .empty() instead of .size() == 0
Found with cppcheck.
2012-01-04 07:54:46 +01:00
Ryan Pavlik
f859e78cb2 Exceptions should be caught by reference.
Found using cppcheck.
2012-01-04 07:51:35 +01:00
Ryan Pavlik
3ca61475fb FbRun.cc: Fix on windows where there is no fork 2011-10-31 10:54:09 -05:00
Mathias Gumz
690d926ac4 introduced FbTk::BidiString
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).
2010-09-08 20:17:21 +02:00
Mathias Gumz
df81e1f774 minor cosmetics 2009-05-25 08:04:41 +02:00
Mark Tiefenbruck
aee9889a27 recognize --option in addition to -option for most things 2008-10-04 14:32:20 -07:00
Mark Tiefenbruck
e6570b61f3 add -print option to fbrun to return result to stdout instead of executing it 2008-10-04 14:01:31 -07:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
markt
8da54ca0eb add some decorations to torn menus, and fix restart without an argument 2007-07-31 23:16:05 +00:00
markt
329fca30fd updates for compiling with gcc 4.3 2007-06-29 17:25:24 +00:00
mathias
6f8a5c7a8d small fix for the /bin/sh issue .. just using /bin/zsh now 2007-06-09 17:44:27 +00:00
mathias
dff2aa3356 fix for the following problem:
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-06-06 06:22:37 +00:00
markt
e89d4aa219 getting rid of more useless files in the repo 2007-04-03 22:39:41 +00:00
mathias
e5e76e7761 Cosmetic patch from Slava Semushin 2006-10-30 19:31:15 +00:00
mathias
a15d9af3c7 Cleanup unneeded headers (thanks Slava Semushin) 2006-04-25 06:46:06 +00:00
simonb
cb65dae95f fbrun: Move the cursor to the end when tab completing
+ thanks Jonas Koelker, sf.net rfe #1333003, patch #1475578
2006-04-25 02:42:05 +00:00
simonb
b2105a62c3 fix fbrun positioning code to use hints properly 2006-04-17 14:00:28 +00:00
simonb
78f3b0ada4 fix compiler warnings in fbrun too 2006-04-17 08:04:12 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
fluxgen
17c9cafd25 removed unused variable 2005-12-22 23:41:41 +00:00
mathias
ef76b45ab1 - Usage of xft-fonts is prefered, except a font-description starts with '-'
- 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-06-03 07:25:48 +00:00
mathias
318d76b47c fix from vadim for fbrun-tabcompletion 2005-05-09 07:20:17 +00:00
mathias
6c057c6903 Fix for #1160244, #1099704, #1094107:
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-05-06 09:22:53 +00:00
mathias
1789d0c31f copyright date 2005-01-24 18:49:01 +00:00
mathias
6fbe0e44d6 applied patches from openbsd-ports, closed #1105041 (sf)
execl needs a terminating NULL at the end, a '0' would be
    converted to "int 0" on 64bit-systems
2005-01-20 12:30:35 +00:00
mathias
1910d5af46 fix the no-writing-history issue for fbrun 2004-12-24 03:02:48 +00:00
mathias
37c6602f07 show fbrun after moving to the right position 2004-12-21 16:10:57 +00:00
mathias
b3fa5c2428 * moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now
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-12-18 01:29:22 +00:00
mathias
f7c92157ac update of copyright and version number of fbrun 2004-11-23 11:37:39 +00:00
mathias
a65f840b68 dont overlap with screenborder
added xinerama-support
2004-11-22 20:10:26 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
mathias
ee8b44813e keypad-enter should work with fbrun now 2004-11-18 03:25:08 +00:00
akir
4e05252172 fbrun switches between file-search and path-to-file-search now correctly (i think) 2004-10-10 16:35:29 +00:00
akir
07f1a6e457 fixes #1026929 (sourceforge) 2004-09-29 00:51:29 +00:00
akir
7481146467 tiny fix for -nearmouse 2004-09-12 10:01:46 +00:00
akir
bc21d2e222 for -nearmouse wrong -help - description 2004-09-12 09:42:43 +00:00
akir
d6a32de0f8 added -nearmouse to fbrun 2004-09-03 14:18:48 +00:00
rathnor
d17bf39a43 add autoconf check for std c++ headers 2004-08-31 15:26:40 +00:00
fluxgen
9fce121737 path completion, and load apps on first tab press, patch from Mathias Gumz 2004-04-22 21:01:58 +00:00
rathnor
217af49664 add unistd include for fork 2004-04-21 14:58:44 +00:00
fluxgen
1355708ae2 using fbtk directory, patch from Mathias Gumz 2004-04-19 18:10:44 +00:00
fluxgen
4e360624e6 minor fix 2004-04-18 18:57:24 +00:00
fluxgen
facca1f6f9 tab complete on all apps in PATH, patch from Mathias Gumz 2004-04-18 14:16:09 +00:00
fluxgen
d26e439375 minor fix, patch from Fr�d�ric L. W. Meunier (1 at pervalidus dot net) 2004-04-10 19:52:43 +00:00
fluxgen
bd7c2ecf07 fixed invinite loop, patch from Mathias Gumz 2004-02-28 10:43:20 +00:00
fluxgen
25957274a4 cycle tabcompletion, patch from Mathias Gumz 2004-02-25 18:37:47 +00:00