public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH 0000] pull: cal the branch four
Date: Sun, 26 May 2013 10:14:06 +0100	[thread overview]
Message-ID: <1369559650-12341-1-git-send-email-kerolasa@iki.fi> (raw)

Hi Karel and others,

The cal branch I have in my git has got fixes to issues reviewed earlier,
and I hope all works.  Based on that I decided to get rid of upper cal
year limit, 9999, and replace it with unsigned long.  I know the change
does not make much practical sense, the point of the change is that where
there is no need to have artificial limits to a random magic number they
should not exist.

Assuming the patch series are applied at somepoint I think the next thing
to do for this command is the cal_context Karel proposed[1].  Having more
sensible way to pass run time configuration will hopefully make
implementing the week numbering column easy (which I originally wanted),
and may even make various color additions possible.  Meanwhile here comes
mostly old patch series, with couple new changes.

[1] http://www.spinics.net/lists/util-linux-ng/msg07983.html


The following changes since commit ef264c830effc91add6da334204215f61eb8515e:

  agetty: allow full control on CLOCAL flag (2013-05-23 09:47:58 +0200)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git cal-fourth

for you to fetch changes up to 3f5e9ecbf54213867ec787f40bd23d76d43dbd61:

  docs: cal: stop telling year 9999 is upper limit (2013-05-26 09:59:21 +0100)

----------------------------------------------------------------
Sami Kerola (18):
      cal: fix preprocessor directive indendation
      cal: convert function like definitions to functions
      cal: clean up use of constants
      tests: add calendar reformation check
      cal: simplify calendar reformat calculations
      cal: remove unnecessary initializations
      cal: de-duplicate julian specific functions
      cal: support --color[={auto,always,never}]
      cal: add --color to usage()
      docs: cal: add --color option description to manual page
      tests: add cal day color corner cases
      cal: stop trimming whitespaces
      cal: mark all functions static
      cal: simplify day_in_week() calculation
      cal: use Claus Tøndering's day of the week algorithm
      cal: remove arbitrary limit of maxium year being 9999
      tests: check cal works when year is far in future
      docs: cal: stop telling year 9999 is upper limit

 misc-utils/Makemodule.am   |   2 +-
 misc-utils/cal.1           |  16 +-
 misc-utils/cal.c           | 611 +++++++++++++++++++++++----------------------
 tests/expected/cal/1m      |  48 ++--
 tests/expected/cal/3m      |  48 ++--
 tests/expected/cal/bigyear | 206 +++++++++++++++
 tests/expected/cal/color   |  55 ++++
 tests/expected/cal/sep1752 | 198 +++++++++++++++
 tests/expected/cal/year    | 240 +++++++++---------
 tests/ts/cal/bigyear       |  95 +++++++
 tests/ts/cal/color         |  68 +++++
 tests/ts/cal/sep1752       |  95 +++++++
 12 files changed, 1211 insertions(+), 471 deletions(-)
 create mode 100644 tests/expected/cal/bigyear
 create mode 100644 tests/expected/cal/color
 create mode 100644 tests/expected/cal/sep1752
 create mode 100755 tests/ts/cal/bigyear
 create mode 100755 tests/ts/cal/color
 create mode 100755 tests/ts/cal/sep1752



             reply	other threads:[~2013-05-26  9:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-26  9:14 Sami Kerola [this message]
2013-05-26  9:14 ` [PATCH 1/4] cal: use Claus Tøndering's day of the week algorithm Sami Kerola
2013-05-26  9:14 ` [PATCH 2/4] cal: remove arbitrary limit of maxium year being 9999 Sami Kerola
2013-05-26  9:14 ` [PATCH 3/4] tests: check cal works when year is far in future Sami Kerola
2013-05-26  9:14 ` [PATCH 4/4] docs: cal: stop telling year 9999 is upper limit Sami Kerola
2013-05-26 18:23 ` [PATCH 0000] pull: cal the branch four Bernhard Voelker
2013-05-26 18:55   ` Sami Kerola
2013-05-26 19:59     ` Sami Kerola
2013-05-28 13:49     ` Karel Zak
2013-05-29 16:20       ` Sami Kerola
2013-05-28 13:50 ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369559650-12341-1-git-send-email-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox