Adam Vogt
8863761d66
update testsuite (mostly due Jesper Reenberg)
...
* use quickcheck2
* run them using cabal's test-suite field
* split up Properties into separate files
2014-05-02 18:01:46 +00:00
Daniel Wagner
ec1a20c727
depend on data-default, and deprecate the monomorphic name defaultConfig
2013-05-28 00:35:31 +00:00
Daniel Wagner
d16aa9975e
recognize the --replace option
2011-08-09 19:52:50 +00:00
Spencer Janssen
f3b07eb5dc
Make the --replace docs consistent
2010-02-13 00:26:47 +00:00
Adam Vogt
4372c256ed
Add --replace flag with documentation (issue 99).
2009-12-20 18:35:29 +00:00
Adam Vogt
dd22717961
Correct warnings with ghc-6.12
...
Changes include:
- compatibility with base-4 or 3 (base-2 untested) by using
extensible-exceptions. This adds an additional dependency for users of
ghc<6.10)
- list all dependencies again when -ftesting (change in Cabal-1.8.0.2)
- remove unnecessary imports
- suppress -fwarn-unused-do-bind, with appropriate Cabal-1.8 workaround,
described here:
http://www.haskell.org/pipermail/xmonad/2010-January/009554.html
2010-01-18 18:15:32 +00:00
Spencer Janssen
eddb445307
A few tweaks to --verbose-version
2009-12-08 04:07:29 +00:00
gwern0
a16bb44934
Main.hs +--verbose-version flag
...
This resolves http://code.google.com/p/xmonad/issues/detail?id=320 by adding a
--verbose-version option yielding output like "xmonad 0.9 compiled by ghc 6.10 for linux/i386"
2009-11-28 14:48:40 +00:00
Daniel Schoepe
73e406f4a6
Support for extensible state in contrib modules.
2009-11-06 11:50:50 +00:00
Daniel Wagner
8ec0bf3290
correct a comment
2009-07-27 03:20:24 +00:00
Adam Vogt
66e7715ea6
Pester the user with one (not two) xmessages on config errors
2009-03-21 23:37:36 +00:00
Spencer Janssen
bf8ba79090
Add --restart, a command line flag to cause a running xmonad process to restart
2009-01-17 03:49:59 +00:00
Spencer Janssen
0fecae0abc
Remove doubleFork, handle SIGCHLD
...
This is a rather big change. Rather than make spawned processes become
children of init, we handle them in xmonad. As a side effect of this change,
we never need to use waitForProcess in any contrib module -- in fact, doing so
will raise an exception. The main benefit to handling SIGCHLD is that xmonad
can now be started with 'exec', and will correctly clean up after inherited
child processes.
2009-01-16 20:47:42 +00:00
gwern0
26f4f734f9
Main.hs: escape / in Haddocks
...
This lets haddocks for Main.hs, at least, to build with 2.3.0.
2008-12-07 02:09:15 +00:00
Malebria
942572c830
Haddock syntax for enumeration
2008-06-01 20:49:51 +00:00
Don Stewart
2b2774f81d
no need to expose --resume to the user
2008-03-28 21:42:19 +00:00
Spencer Janssen
4c69a85b3f
--recompile now forces recompilation of xmonad.hs
2008-03-24 21:24:53 +00:00
Lukas Mai
ac103b8472
add --help option
2008-01-29 23:52:58 +00:00
Daniel Neri
ad85e11a4a
Get version from the Paths_xmonad module generated by Cabal
...
No need to bump version in more than one place.
2008-01-29 14:40:37 +00:00
Don Stewart
0dd54885eb
bump output of --version
2008-01-28 17:08:40 +00:00
Spencer Janssen
f80d593d57
Generalize the type of catchIO, use it in Main.hs
2008-01-28 05:46:51 +00:00
Spencer Janssen
d74814af35
Roll testing into the main executable, use Cabal to build the tests
2008-01-19 09:12:15 +00:00
nicolas.pouillard
9ff105340e
The recompile function now returns a boolean status instead of ().
2008-01-05 22:55:00 +00:00
Spencer Janssen
6c72a03fb1
Add support for several flags:
...
--version: print xmonad's version
--recompile: recompile xmonad.hs if it is out of date
--force-recompile: recompile xmonad.hs unconditionally
2007-12-22 02:05:20 +00:00
tim.thelion
da167bfc11
Allow for sharing of home directory across architectures.
2007-12-18 06:51:46 +00:00
Lukas Mai
9ceef229c3
normalize Module headers
2007-12-10 08:53:27 +00:00
Spencer Janssen
161ade3593
Use XMonad meta-module in Main.hs
2007-12-10 00:44:56 +00:00
Lukas Mai
4fa10442ab
add getXMonadDir (2nd try)
2007-11-21 18:30:18 +00:00
Spencer Janssen
92b4510d7b
Add recompilation forcing, clean up recompile's documentation
2007-11-20 22:36:14 +00:00
Don Stewart
45eea722be
Do our own recompilation checking: only launch ghc if the xmonad.hs is newer than its .o file
2007-11-19 01:07:59 +00:00
Lukas Mai
dcf53fbaf6
refactor main, add "recompile" to XMonad.Core
2007-11-08 23:09:33 +00:00
Don Stewart
dbfd13207d
Provide top level XMonad.hs export module
2007-11-07 03:06:17 +00:00
Lukas Mai
94924123bb
fall back to previous ~/.xmonad/xmonad if recompilation fails
2007-11-07 01:53:09 +00:00
Don Stewart
a13c11ff52
~/.xmonad/Main.hs is now ~/.xmonad/xmonad.hs !
2007-11-05 03:26:55 +00:00
Don Stewart
fcea17f920
makeMain -> xmonad
2007-11-05 03:12:03 +00:00
Don Stewart
30af3a8f84
EventLoop -> Core, DefaultConfig -> Config
2007-11-05 02:17:05 +00:00
Spencer Janssen
c3c39aae12
Hierarchify
2007-11-01 18:08:46 +00:00
Spencer Janssen
7bc4ab41c7
Main.hs -> DefaultConfig.hs, add new Main.hs with 'buildLaunch'
2007-11-01 17:57:49 +00:00
Spencer Janssen
e8d3f674ef
Only export main from Main
2007-11-01 08:23:26 +00:00
Spencer Janssen
8a5d2490bb
Add readsLayout, remove the existential from XConfig
2007-11-01 08:21:55 +00:00
Spencer Janssen
22aacf9bf6
Delete Main.hs-boot!
2007-11-01 08:00:45 +00:00
Spencer Janssen
b0b43050f4
Remove manageHook from Main.hs-boot
2007-11-01 07:53:08 +00:00
Spencer Janssen
8a8c538c23
Eliminate defaultTerminal
2007-11-01 07:31:47 +00:00
Spencer Janssen
e50927ffc0
Store user configuration in XConf
2007-11-01 07:23:08 +00:00
Spencer Janssen
3789f37f25
This is a massive update, here's what has changed:
...
* Read is no longer a superclass of Layout
* All of the core layouts have moved to the new Layouts.hs module
* Select has been replaced by the new statically typed Choose combinator,
which is heavily based on David Roundy's NewSelect proposal for
XMonadContrib. Consequently:
- Rather than a list of choosable layouts, we use the ||| combinator to
combine several layouts into a single switchable layout
- We've lost the capability to JumpToLayout and PrevLayout. Both can be
added with some effort
2007-11-01 06:43:18 +00:00
David Roundy
48ccbc7fb2
cleaner version of main/config inversion.
2007-10-29 18:48:23 +00:00
David Roundy
7b3c1243b7
make xmonad work with inverted main/config.
2007-10-18 17:00:58 +00:00
David Roundy
97fe14dfd2
sketch of config/main inversion.
2007-10-18 16:42:30 +00:00
Spencer Janssen
bd6a52e587
Clean up trailing whitespace
2007-10-15 02:23:22 +00:00
Don Stewart
775172983b
clean up names of layout code
2007-10-13 20:43:00 +00:00