]> gitweb.michael.orlitzky.com - mailbox-count.git/log
mailbox-count.git
7 months agomailbox-count.cabal: trim the description
Michael Orlitzky [Thu, 25 Apr 2024 21:56:12 +0000 (17:56 -0400)]
mailbox-count.cabal: trim the description

I don't want to maintain two copies any more.

7 months agodoc/COPYING,mailbox-count.cabal: use AGPL-3+, include COPYING
Michael Orlitzky [Thu, 25 Apr 2024 21:51:17 +0000 (17:51 -0400)]
doc/COPYING,mailbox-count.cabal: use AGPL-3+, include COPYING

7 months agomailbox-count.cabal: add new homepage field
Michael Orlitzky [Thu, 25 Apr 2024 21:48:38 +0000 (17:48 -0400)]
mailbox-count.cabal: add new homepage field

7 months agomailbox-count.cabal: indent the "maintainer" field with spaces
Michael Orlitzky [Thu, 25 Apr 2024 21:46:46 +0000 (17:46 -0400)]
mailbox-count.cabal: indent the "maintainer" field with spaces

7 months agomailbox-count.cabal: http -> https
Michael Orlitzky [Thu, 25 Apr 2024 21:46:06 +0000 (17:46 -0400)]
mailbox-count.cabal: http -> https

7 months agosrc/Configuration.hs: add space around ++
Michael Orlitzky [Thu, 25 Apr 2024 21:44:14 +0000 (17:44 -0400)]
src/Configuration.hs: add space around ++

7 months agomakefile: disable -Wmissing-kind-signatures
Michael Orlitzky [Thu, 25 Apr 2024 21:43:44 +0000 (17:43 -0400)]
makefile: disable -Wmissing-kind-signatures

This requires a GHC extension to fix.

2 years agomailbox-count.cabal: update to v0.0.6. 0.0.6
Michael Orlitzky [Sun, 28 Aug 2022 15:56:46 +0000 (11:56 -0400)]
mailbox-count.cabal: update to v0.0.6.

2 years agomailbox-count.cabal: remove unused test suite dependency.
Michael Orlitzky [Sun, 28 Aug 2022 15:52:24 +0000 (11:52 -0400)]
mailbox-count.cabal: remove unused test suite dependency.

2 years agomailbox-count.cabal: improve haddock doc layout.
Michael Orlitzky [Sun, 28 Aug 2022 15:52:15 +0000 (11:52 -0400)]
mailbox-count.cabal: improve haddock doc layout.

2 years agomailbox-count.cabal: update for newer cabal and ghc-9.x.
Michael Orlitzky [Sun, 28 Aug 2022 15:31:58 +0000 (11:31 -0400)]
mailbox-count.cabal: update for newer cabal and ghc-9.x.

2 years agotest/Doctests.hs: remove code for older cabals.
Michael Orlitzky [Sun, 28 Aug 2022 15:26:04 +0000 (11:26 -0400)]
test/Doctests.hs: remove code for older cabals.

2 years agomakefile: remove obsolete hscolour invocation.
Michael Orlitzky [Sun, 28 Aug 2022 15:25:18 +0000 (11:25 -0400)]
makefile: remove obsolete hscolour invocation.

2 years agosrc/{Main,OptionalConfiguration}.hs: drop obsolete imports.
Michael Orlitzky [Wed, 24 Aug 2022 01:04:06 +0000 (21:04 -0400)]
src/{Main,OptionalConfiguration}.hs: drop obsolete imports.

My current ghc-9.0.2 seems perfectly happy without these.

2 years agomailbox-count.cabal: simplify a bit by assuming ghc-8.x or newer.
Michael Orlitzky [Wed, 24 Aug 2022 01:02:08 +0000 (21:02 -0400)]
mailbox-count.cabal: simplify a bit by assuming ghc-8.x or newer.

2 years agomakefile: ignore some new warnings.
Michael Orlitzky [Wed, 24 Aug 2022 01:01:44 +0000 (21:01 -0400)]
makefile: ignore some new warnings.

4 years agomailbox-count.cabal: bump version to 0.0.5. 0.0.5
Michael Orlitzky [Mon, 3 Feb 2020 21:03:31 +0000 (16:03 -0500)]
mailbox-count.cabal: bump version to 0.0.5.

4 years agosrc/OptionalConfiguration.hs: import (<>) from the Semigroup class.
Michael Orlitzky [Mon, 3 Feb 2020 20:58:11 +0000 (15:58 -0500)]
src/OptionalConfiguration.hs: import (<>) from the Semigroup class.

Ha ha, although Data.Semigroup was moved into GHC in v8.0, it wasn't
added to Prelude until v8.4. So there's a THIRD distinct situation we
need to handle to define a friggin monoid.

4 years agosrc/OptionalConfiguration.hs: use an explicit mappend. 0.0.4
Michael Orlitzky [Sun, 2 Feb 2020 17:41:49 +0000 (12:41 -0500)]
src/OptionalConfiguration.hs: use an explicit mappend.

I have a feeling that in older versions of GHC, the Monoid instance
is not smart enough to use an existing Semigroup instance for its
mappend implementation. Let's just make it explicit.

4 years agomailbox-count.cabal: update the version to 0.0.4.
Michael Orlitzky [Sun, 2 Feb 2020 17:28:58 +0000 (12:28 -0500)]
mailbox-count.cabal: update the version to 0.0.4.

4 years agomailbox-count.cabal: depend on semigroups conditionally.
Michael Orlitzky [Sun, 2 Feb 2020 17:26:47 +0000 (12:26 -0500)]
mailbox-count.cabal: depend on semigroups conditionally.

Just kidding, when the semigroups package promises "a backwards-
compatible API," what they mean is that they deleted the entire source
tree in the minor release 0.18.2 and nothing works at all. So instead,
we need to do a version check on GHC within the cabal file, and
conditionally depend on a version of semigroups before 0.18.2.

4 years agotest/Doctests.hs: update the include path for newer cabals. 0.0.3
Michael Orlitzky [Sun, 2 Feb 2020 05:40:55 +0000 (00:40 -0500)]
test/Doctests.hs: update the include path for newer cabals.

4 years agomailbox-count.cabal: add other-modules for the test suite.
Michael Orlitzky [Sun, 2 Feb 2020 05:37:38 +0000 (00:37 -0500)]
mailbox-count.cabal: add other-modules for the test suite.

4 years agosrc/OptionalConfiguration.hs: don't derive Typeable.
Michael Orlitzky [Sun, 2 Feb 2020 05:36:10 +0000 (00:36 -0500)]
src/OptionalConfiguration.hs: don't derive Typeable.

As of ghc-7.10.1, it's not necessary to derive Typeable. So let's not
do it. The cabal file was updated to require >=7.10.1 as a result.

4 years agosrc,test: use explicit import/export lists.
Michael Orlitzky [Sun, 2 Feb 2020 05:35:24 +0000 (00:35 -0500)]
src,test: use explicit import/export lists.

4 years agosrc/OptionalConfiguration.hs: make OptionalConfiguration.hs a Semigroup.
Michael Orlitzky [Sun, 2 Feb 2020 05:02:07 +0000 (00:02 -0500)]
src/OptionalConfiguration.hs: make OptionalConfiguration.hs a Semigroup.

This fixes the build with >=ghc-8.4, where monoids must also be
semigroups. The "semigroups" package was added as a build dependency
to (hopefully) keep things working with older versions of GHC.

4 years agomailbox-count.cabal: add Paths_mailbox_count to other-modules.
Michael Orlitzky [Sun, 2 Feb 2020 05:01:26 +0000 (00:01 -0500)]
mailbox-count.cabal: add Paths_mailbox_count to other-modules.

Otherwise, the build system complains that it's missing.

4 years agomailbox-count.cabal: bump version to 0.0.3.
Michael Orlitzky [Sun, 2 Feb 2020 04:18:52 +0000 (23:18 -0500)]
mailbox-count.cabal: bump version to 0.0.3.

4 years agomakefile: move ghc-options from the cabal file into the makefile.
Michael Orlitzky [Sun, 2 Feb 2020 04:18:04 +0000 (23:18 -0500)]
makefile: move ghc-options from the cabal file into the makefile.

We shouldn't be hard-coding user preferences into the cabal file that
everyone uses. Instead, GHC should support a variable like CFLAGS that
lets users and developers specify what warnings and optimizations they
would like to use. Instead, we have to fake it: I've standardized the
Gentoo HCFLAGS variable within the makefile, so that a few warnings
will be appended to the (exported) environment variable but otherwise
no flags will be forced by the cabal file.

This should work for me when I'm developing, because the warnings will
be appended to the HCFLAGS="-O2" that I have set in my environment. It
will work on Gentoo, because HCFLAGS are already passed to the cabal
build system in Gentoo. It will work(ish) everywhere else, because
nothing will get passed to the cabal build system, and that's okay.

4 years agomakefile: change the test target to "check" as with autotools.
Michael Orlitzky [Sun, 2 Feb 2020 04:16:40 +0000 (23:16 -0500)]
makefile: change the test target to "check" as with autotools.

8 years agoSwitch from GPL-3 to AGPL-3 and update project URLs.
Michael Orlitzky [Tue, 8 Nov 2016 03:34:47 +0000 (22:34 -0500)]
Switch from GPL-3 to AGPL-3 and update project URLs.

10 years agoAdd a cabal description and remove the TODO.
Michael Orlitzky [Sat, 31 May 2014 16:04:13 +0000 (12:04 -0400)]
Add a cabal description and remove the TODO.
Bump to version 0.0.2.

10 years agoHandle SQL errors gracefully.
Michael Orlitzky [Fri, 30 May 2014 18:46:52 +0000 (14:46 -0400)]
Handle SQL errors gracefully.

10 years agoAdd man page description and fix some options/examples.
Michael Orlitzky [Fri, 30 May 2014 18:46:28 +0000 (14:46 -0400)]
Add man page description and fix some options/examples.

10 years agoLoosen deps, set version to 0.0.1.
Michael Orlitzky [Fri, 30 May 2014 14:08:51 +0000 (10:08 -0400)]
Loosen deps, set version to 0.0.1.

10 years agoAdd options/examples (unfinished) to the man page.
Michael Orlitzky [Wed, 28 May 2014 20:23:41 +0000 (16:23 -0400)]
Add options/examples (unfinished) to the man page.

10 years agoUse consistent capitalization.
Michael Orlitzky [Wed, 28 May 2014 20:22:18 +0000 (16:22 -0400)]
Use consistent capitalization.

10 years agoAdd SQLite support (default if a filename is given as the database).
Michael Orlitzky [Fri, 16 May 2014 01:36:43 +0000 (21:36 -0400)]
Add SQLite support (default if a filename is given as the database).
Make the summary/default queries configurable.

10 years agoUpdate TODO file for recent changes.
Michael Orlitzky [Wed, 23 Apr 2014 00:57:58 +0000 (20:57 -0400)]
Update TODO file for recent changes.

10 years agoFix hlint suggestions.
Michael Orlitzky [Wed, 23 Apr 2014 00:56:06 +0000 (20:56 -0400)]
Fix hlint suggestions.

10 years agoAdd an example config file.
Michael Orlitzky [Wed, 23 Apr 2014 00:52:40 +0000 (20:52 -0400)]
Add an example config file.

10 years agoAlign the mailbox counts in the summary report to the same column.
Michael Orlitzky [Wed, 23 Apr 2014 00:51:40 +0000 (20:51 -0400)]
Align the mailbox counts in the summary report to the same column.
Add mailbox counts to the detail report.
Remove the 'both' option.

10 years agoMake all connection string parameters optional.
Michael Orlitzky [Tue, 22 Apr 2014 23:23:33 +0000 (19:23 -0400)]
Make all connection string parameters optional.

10 years agoAdd a TODO.
Michael Orlitzky [Tue, 22 Apr 2014 15:30:14 +0000 (11:30 -0400)]
Add a TODO.

10 years agoMove most of the report functionality into its own module.
Michael Orlitzky [Tue, 22 Apr 2014 15:28:02 +0000 (11:28 -0400)]
Move most of the report functionality into its own module.
Add an HUnit test suite (with sqlite3 database fixture).
Add a .ghci file.
Get the detail report working.

10 years agoBegin throwing real code together.
Michael Orlitzky [Tue, 22 Apr 2014 01:19:28 +0000 (21:19 -0400)]
Begin throwing real code together.

10 years agoInitial commit, Hello, world!
Michael Orlitzky [Mon, 21 Apr 2014 14:59:58 +0000 (10:59 -0400)]
Initial commit, Hello, world!