public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0000] pull: cal the branch four
@ 2013-05-26  9:14 Sami Kerola
  2013-05-26  9:14 ` [PATCH 1/4] cal: use Claus Tøndering's day of the week algorithm Sami Kerola
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Sami Kerola @ 2013-05-26  9:14 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-05-29 16:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26  9:14 [PATCH 0000] pull: cal the branch four Sami Kerola
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox