aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.hh
AgeCommit message (Collapse)AuthorFilesLines
2021-07-06Patch from Bo Simonsen.Mark Tiefenbruck1-1/+1
Improve switching between 12H and 24H in Clock Tool configuration Having: session.screen0.strftimeFormat: %d-%m-%y %02k:%M The switch[1] between 12H and 24H did not work due to the digits (02).
2016-02-28Mixed relative and absolute values for appsArkadiusz Bokowy1-2/+33
Allow setting relative value for x and y or width and height separately in the apps configuration file. This makes these settings compatible with ones available in the keys file. Previous buggy behavior: If someone has specified, e.g. "[Dimensions] {50% 100}" it was parsed as "{50% 100%}" not as "{50% 100px}" which was inconsistent with the "keys" configuration file. From now on it is possible to write something like this: [app] [Position] (RIGHT) {50% 0} [Dimensions] {300 100%} [end] Signed-off-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
2015-05-01Reduce the scope of the variable err in stringTokensBetween.Mario J. Rugiero1-2/+2
2015-02-07BoyscoutingMathias Gumz1-2/+0
2015-02-05Cleanup; Remove unused functionMathias Gumz1-6/+0
2013-01-31Adds 'ClientPatternTest' commandMathias Gumz1-0/+1
ClientPatterns might be tricky to get right. Instead of fiddling around in either the keys-file or the apps-file and restarting fluxbox to see if the changes had any effect / matched the right windows, 'ClientPatternTest' and the fluxbox-remote should make this easier: $> fluxbox-remote "clientpatterntest (title=.*vim*)" This causes fluxbox to store the list of matched windows in the _FLUXBOX_ACTION_RESULT property onto the rootwindow. This property might then be read by: $> xprop -root _FLUXBOX_ACTION_RESULT or $> fluxbox-remote result The format of the list is: win_id \t title_of_window \n win_id is '-1' when fluxbox wasn't able to parse the given ClientPattern. win_id is '0' when there are no windows matching the given ClientPattern.
2012-09-14removed duplicate function signature for FbTk::StringUtil::extractNumber()Mathias Gumz1-1/+1
2010-09-17use FbTk::API to reduce code duplicationMathias Gumz1-1/+5
2010-08-24code simplification / deduplicationMathias Gumz1-0/+12
* parse the string only once for a bunch of chars to check instead of starting over again and again from the beginning, created a helper function to do this (FbTk::StringUtil::findCharFromAlphabetAfterTrigger) * put same code into a function (setClockModeLabel()) * use much simpler code to switch between 12h and 24h mode and replace the fmt-switches
2009-10-01another little helper for FbTk::StringUtil: extractNumber()Mathias Gumz1-0/+8
2009-10-01simpler codeMathias Gumz1-0/+2
2009-05-26Exit loop for unterminated { } pairJim Ramsay1-1/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-28moved DelayedCmd from Screen.cc to FbTk/Timer.cc, added it to the keys fileMark Tiefenbruck1-0/+8
2007-12-20added ForEach key commandMark Tiefenbruck1-0/+21
2007-12-14StringUtil::removeFirst/TrailingWhitespace didn't truncate a string that was ↵markt1-1/+1
only whitespace
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-0/+3
auto-register
2006-06-27some minor code cleanups thanks Slava Semushin (php-coder), who also thanks ↵simonb1-1/+0
Mikhail Gusarov
2006-02-16updated copyright infomathias1-1/+1
2005-10-21Fixed #1223878, Style reloading on USR2 (patch from Zan)mathias1-1/+1
cosmetic stuff in StringUtil.cc/hh
2005-10-20added replaceStringfluxgen1-0/+5
2005-02-10cosmetic + updated copyright yearmathias1-1/+1
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-09-10cosmetic, man, we need a beautifarm :)akir1-3/+3
2004-05-02copyright updatefluxgen1-2/+3
2003-12-16fixed some icc warningsfluxgen1-3/+3
2003-10-25added removeTrailingWhitespacefluxgen1-1/+2
2003-09-29added removeFirstWhitespacefluxgen1-1/+5
2003-08-22fixed basenamefluxgen1-1/+5
2003-08-22cleaning, added toUpperfluxgen1-5/+6
2003-07-01make it work... (fix some small issues)rathnor1-1/+3
2003-06-12add support for nesting in getStringBetweenrathnor1-2/+2
2003-04-26moved from fluxbox sourcefluxgen1-0/+85