public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16]: [pull] cal: second review round
@ 2013-05-02 18:51 Sami Kerola
  2013-05-02 18:51 ` [PATCH 01/16] cal: fix preprocessor directive indendation Sami Kerola
                   ` (15 more replies)
  0 siblings, 16 replies; 27+ messages in thread
From: Sami Kerola @ 2013-05-02 18:51 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2861 bytes --]

Hello all,

Here comes cal(1) patch series II.  There is a lot of similarities, and
some changes since last submission.  The previous patch series is still
available in my git (branch 2013wk16), which should make comparing every
single small detail quite trivial.  IMHO the most significant changes in
between the two submissions are:

o Copy argmatch.h and argmatch.c from gnulib to util-linux.
o Add --highlight={never,auto,always} option.
o Add new option to usage(), and clean it up.
o Remove trailing space trimming.

All the changes are based on feedback from Pádraig, Thomas, Dave, and
Karel.  Thank you for pointing me to correct direction, and please have
look if I'm still a bit lost.


The following changes since commit a48c321dd175d043fb4572bab625631b2055075e:

  textual: fixing typos in a warning and an error message (2013-04-26 13:55:29 +0200)

are available in the git repository at:

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

for you to fetch changes up to 2b491019173dc2eda3a0d014e9adb3dec54e41bc:

  cal: simplify day_in_week() (2013-05-02 19:30:16 +0100)

----------------------------------------------------------------
Sami Kerola (16):
      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
      lib: copy argmatch from gnulib
      cal: add --highligth option which uses argmatch
      cal: add --highlight to usage()
      docs: cal: add --highlight option description
      tests: add cal day highlight corner cases
      cal: stop trimming whitespaces
      cal: move global variables to local scope
      cal: mark all functions static
      cal: simplify day_in_week()

 include/Makemodule.am        |   1 +
 include/argmatch.h           | 100 ++++++++
 lib/Makemodule.am            |   1 +
 lib/argmatch.c               | 272 ++++++++++++++++++++
 misc-utils/Makemodule.am     |   2 +-
 misc-utils/cal.1             |  13 +
 misc-utils/cal.c             | 597 ++++++++++++++++++++++---------------------
 tests/expected/cal/1m        |  48 ++--
 tests/expected/cal/3m        |  48 ++--
 tests/expected/cal/highlight |  55 ++++
 tests/expected/cal/sep1752   | 198 ++++++++++++++
 tests/expected/cal/year      | 240 ++++++++---------
 tests/ts/cal/highlight       |  70 +++++
 tests/ts/cal/sep1752         |  95 +++++++
 14 files changed, 1274 insertions(+), 466 deletions(-)
 create mode 100644 include/argmatch.h
 create mode 100644 lib/argmatch.c
 create mode 100644 tests/expected/cal/highlight
 create mode 100644 tests/expected/cal/sep1752
 create mode 100755 tests/ts/cal/highlight
 create mode 100755 tests/ts/cal/sep1752



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

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

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 18:51 [PATCH 00/16]: [pull] cal: second review round Sami Kerola
2013-05-02 18:51 ` [PATCH 01/16] cal: fix preprocessor directive indendation Sami Kerola
2013-05-02 18:51 ` [PATCH 02/16] cal: convert function like definitions to functions Sami Kerola
2013-05-02 18:51 ` [PATCH 03/16] cal: clean up use of constants Sami Kerola
2013-05-02 18:51 ` [PATCH 04/16] tests: add calendar reformation check Sami Kerola
2013-05-02 18:51 ` [PATCH 05/16] cal: simplify calendar reformat calculations Sami Kerola
2013-05-02 18:51 ` [PATCH 06/16] cal: remove unnecessary initializations Sami Kerola
2013-05-02 18:51 ` [PATCH 07/16] cal: de-duplicate julian specific functions Sami Kerola
2013-05-02 18:51 ` [PATCH 08/16] lib: copy argmatch from gnulib Sami Kerola
2013-05-06 17:16   ` Karel Zak
2013-05-07 21:14     ` Sami Kerola
2013-05-02 18:51 ` [PATCH 09/16] cal: add --highligth option which uses argmatch Sami Kerola
2013-05-06  0:11   ` Pádraig Brady
2013-05-06 10:44     ` Sami Kerola
2013-05-06 17:19   ` Karel Zak
2013-05-02 18:51 ` [PATCH 10/16] cal: add --highlight to usage() Sami Kerola
2013-05-02 18:51 ` [PATCH 11/16] docs: cal: add --highlight option description Sami Kerola
2013-05-02 18:51 ` [PATCH 12/16] tests: add cal day highlight corner cases Sami Kerola
2013-05-02 18:51 ` [PATCH 13/16] cal: stop trimming whitespaces Sami Kerola
2013-05-06  0:12   ` Pádraig Brady
2013-05-14 10:45   ` Karel Zak
2013-05-21 20:34     ` Sami Kerola
2013-05-02 18:51 ` [PATCH 14/16] cal: move global variables to local scope Sami Kerola
2013-05-14 10:49   ` Karel Zak
2013-05-02 18:51 ` [PATCH 15/16] cal: mark all functions static Sami Kerola
2013-05-02 18:51 ` [PATCH 16/16] cal: simplify day_in_week() Sami Kerola
2013-05-03 20:19   ` Sami Kerola

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