summaryrefslogtreecommitdiffhomepage
path: root/Parsers.hs
AgeCommit message (Collapse)Author
2010-02-12correctly parse static position in config0.10Andrea Rossato
Ignore-this: c998e16a07bc65f0543ab26c5b155cb5e2b8f536 darcs-hash:20100212132309-d6583-a388b6542ece14051c94b76f8e0b821fef51ee18.gz
2010-02-11fix issue 19 - a small reegression in the config parserAndrea Rossato
Ignore-this: cea42efaa2e4c13ed3580154172008592d6e4970 darcs-hash:20100211135118-d6583-5be151b1907f91dec13ed555c47bd1c83119ad0d.gz
2010-02-09update my emailAndrea Rossato
Ignore-this: afbb205e54c523b9f091d4495f9ba176dd3db971 darcs-hash:20100209094548-d6583-024d9319483e56a4482ce5fb705951097c33ec83.gz
2010-01-30Partial fix for issue 14.Michal Terepeta
Ignore-this: 93060e4b19a975843eaab1185af52545 darcs-hash:20100130214452-c9c37-5b222060fbac6ea2f470224da766c6c3577a7c37.gz
2010-02-06get rid of action-permutations and use parsec permutation library insteadAndrea Rossato
Ignore-this: 73dbcd588c961bd8bb4dd6d0c931cb3760e2949e code gets shorter and error messages maybe meaningful darcs-hash:20100206003909-d6583-631e1c5e75ad7e7334f865828b398f4d2310af5a.gz
2009-10-11Strip '--' comments in xmobarrcAdam Vogt
Ignore-this: f58bb2b32a2257d48c039bb8866b5b65 darcs-hash:20091011035541-1499c-0a4163431ee0000c9cdbd70d15bce44b903ec314.gz
2009-10-11Use a newtype for the backtracking Parsec Alternative instanceAdam Vogt
Ignore-this: e79b4134f53f7449f54b08c4fc4dc787 darcs-hash:20091011035512-1499c-347dab168c4a8ee5507c18b0eb336f0a07114976.gz
2009-09-25fix a few warnings, clean up some recently added stuff, and restrict parsec ↵Andrea Rossato
to <3 Ignore-this: df12dd4ab0ccec4de18b15e77a6150c484bd5ec5 Parsec 3 adds Applicative and Alternative instances which conflict with the ones needed for version 2 (no other reasons I'm aware of bind us to parsec-2). darcs-hash:20090925192159-d6583-efb71dbd01a6d166fc66f8004889f020382280fc.gz
2009-09-23Output to stdout whenever fields are defaulted in a config.Adam Vogt
Ignore-this: 3bf71f10543f14aa17b6b403480bcdde This is done without a command line flag, but perhaps it should be. darcs-hash:20090923022835-1499c-d05af3db7816672e8a8cb4987215dcc3f9a96947.gz
2009-09-14Parse config file more intelligently.Adam Vogt
Ignore-this: 9d6cd7536b6df73f3af44b7a74b826a1 Using parsec and action-permutations, config options may be permuted or left out (to be replaced by the default configuration option). This patch improves forwards compatibility with xmobar (ex. the addition of lowerOnStart broke many configs), and provides some help to find typos in the config. The commands section is still parsed with Read however. darcs-hash:20090914023921-1499c-b73a792ccfafd50d31878e35f928facb50748531.gz
2009-04-09trailing space and variable name for the XFT version of printStringAndrea Rossato
Ignore-this: f39d8322665f04683ec99758d290cf49 darcs-hash:20090409113819-d6583-71f93fdd720f5c83fa833062ec4aaf991b432aec.gz
2009-03-24Drop Parsers.endOfLine and Parsers.tryStringnzeh
These were wrappers around eof and (try . string) and are no longer used. darcs-hash:20090324001930-c6b6b-c476cd602fd818bc4a9b5ee3d9d988eba8a3f7bc.gz
2009-03-24Handle nested colour tagsnzeh
Parsers.parseString now handles nested colour tags. darcs-hash:20090324001759-c6b6b-22f00082195fa8bebc90bf55266a2a7dd3069ce8.gz
2009-03-24Replaced inside with betweennzeh
Parsers.inside does the same as Text.Parsec.Combinators.between. So I switched to using this standard function. darcs-hash:20090324001622-c6b6b-11ed4dffcec239a98fd2a2caf7a4f38c725144b0.gz
2009-03-24Parsers.hs reduced export listnzeh
The old export list exported everything, making it unclear which functions were actually used outside this module. darcs-hash:20090324001358-c6b6b-bf924706a11f9583ae6591ca4fc962fa43f6845e.gz
2008-04-29style, pointfree and trailing spaces0.9_releaseAndrea Rossato
darcs-hash:20080429125953-d6583-02a6653c15d3166ad264c45ec44082bdae30260e.gz
2008-04-29Parsers: code and comment cleanupAndrea Rossato
darcs-hash:20080429123603-d6583-880ed830d8f9d9be913920a929cb450fde45899e.gz
2008-04-29Parser: '<' and '>' are not reserved characters anymore and can be used in ↵Andrea Rossato
the template Consider this the first 0.9 release candidate. darcs-hash:20080429094341-d6583-07a53391a46cd0f17c8e6dd4422c3216cf31a0dc.gz
2007-10-12Parser: semplify color parsingAndrea Rossato
darcs-hash:20071012193920-d6583-14b739dd4e04e221e3ff9ceacf0b2e7bf365f3de.gz
2007-10-02Updated Parsers to latest changesAndrea Rossato
darcs-hash:20071002115014-d6583-b02f9e1446f41300f1d8c9266766531f13be15f3.gz
2007-07-14README and Cabal editsAndrea Rossato
Added some more credits, corrected typos, updated darcs version to 0.7, changed name to Xmonbar and removed references to XMonad. Xmobar is now just a minimalistic text based status bar for any kind of WM (the XMonad community adopted the more advanced and stable dzen, after all ;-) darcs-hash:20070714103913-d6583-b143dedf4ed5cbcb59b4f630ffce9afe82e32b86.gz
2007-07-12use of existential types for plugin supportAndrea Rossato
This patch, which *changes the configuration format*, adds easy plugin support by using an existential type for storing the list of commands to be executed. Adding a plugin is just a matter of writing the appropriate instance of the Exec class, after importing Commands.hs. I must thank Claus Reinke for the help in understanding the mysteries of reading existential types. The Read instance of Runnable must be credited to him. See here: http://www.haskell.org/pipermail/haskell-cafe/2007-July/028227.html darcs-hash:20070712175034-d6583-f10174bb3b0a9b4f6e08d05052c18f30e539b319.gz
2007-07-08the output template is now parsed with the help of a finite mapAndrea Rossato
This way we can quickly implement program name aliasing. darcs-hash:20070708101208-d6583-fa4f7f490020289e6f6b6fce0886223ec7924fa6.gz
2007-07-06Add support for named colors.Krzysztof Kosciuszkiewicz
If bad color name is specified then exception is thrown by Xlib. This should be probably handled in a more elegant way. darcs-hash:20070706010124-ba08c-86d9d978d9f86348f552a1e2ebbdec18b21ff271.gz
2007-06-26splitted filesAndrea Rossato
darcs-hash:20070626113948-d6583-73d318293d1cd91894589450e5cd270dd39bdc02.gz