History log of /freebsd-11.0-release/usr.bin/ncal/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


300005 17-May-2016 truckman

swprintf() and apparently wcsftime() want the their output buffer size
specified in terms of the the number of wide characters and not
sizeof(buffer).

Reported by: Coverity
CID: 1007605, 1007606
MFC after: 1 week


299094 04-May-2016 ngie

Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary of changes:

- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that
namespacing is kept with FILES appropriately, and that this shouldn't need
to be repeated if the namespace changes -- only the definition of PACKAGE
needs to be changed
- Allow PACKAGE to be overridden by callers instead of forcing it to always be
`tests`. In the event we get to the point where things can be split up
enough in the base system, it would make more sense to group the tests
with the blocks they're a part of, e.g. byacc with byacc-tests, etc
- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used
previously.
- Remove unnecessary TESTSPACKAGE definitions; this has been elided into
bsd.tests.mk
- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES;
${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.
- Fix installation of files under data/ subdirectories in lib/libc/tests/hash
and lib/libc/tests/net/getaddrinfo
- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)

Document the proposed changes in share/examples/tests/tests/... via examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division


298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


296587 09-Mar-2016 bdrewery

DIRDEPS_BUILD: Connect MK_TESTS.

Sponsored by: EMC / Isilon Storage Division


289172 12-Oct-2015 ngie

Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)

- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


275042 25-Nov-2014 bapt

Convert to usr.bin/ to LIBADD
Reduce overlinking


268804 17-Jul-2014 brooks

Replace all uses of libncurses and libtermcap with their wide character
variants. This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.

Exp-run: antoine
PR: 189842
Discussed with: bapt
Sponsored by: DARPA, AFRL


267773 23-Jun-2014 bapt

use .Mt to mark up email addresses consistently (part3)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


265420 06-May-2014 imp

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


263227 16-Mar-2014 jmmv

Migrate most of tools/regression/usr.bin/ to the new tests layout.

I'm starting with the easy cases. The leftovers need to be looked at a
bit more closely.

Note that this change _does_ modify the code of the old tests. This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.

Also note that at least one test is known to be broken here. Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that. Will have to be
fixed separately.


241737 19-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.


232004 22-Feb-2012 maxim

o Use ISO 3166 county code for Sweden.

PR: standards/165400
Submitted by: Carsten Hey
MFC after: 1 week


223932 11-Jul-2011 edwin

Fix typo in order of markup and text.


223931 11-Jul-2011 edwin

ncal(1) highlights the current date (or a date provided via parameter)
even if stdout is not a tty. If stdout is not a tty the data is
normally processed by other tools and no control sequences are
expected.

PR: bin/158580
MFC after: 1 week


212032 30-Aug-2010 edwin

Use basename(3) to determine the name of the program.

Submitted by: Alexander Best <arundel@>


205427 21-Mar-2010 edwin

Replace -b with -C and -B (as proposed by Alexander).
Add -3, -A and -B to the usage.
Update regression test for the new parameters.


205071 12-Mar-2010 edwin

- With the introduction of -A, -B and -3, not all combinations of
arguments makes sense anymore. For example, what would a combination
of -3 (show three months) and -y (show the whole year) do?
We will abort on these cases.
- Move the debug option -d to -H (from highlight), while -d is now
used for setting the day of "today" so that -y and friends can
be tested.


204908 09-Mar-2010 edwin

- Fix the highlighting for non-terminals when the last week is not
7 days long.
- "-m <N> <YYYY>" now prints only the month, not the whole year.


204849 07-Mar-2010 edwin

- document the -3, -A and -B properly in Synopsis.
- add highlight of current date for non-terminals.
- fix -J option.
- code cleanup.

MFC after: 2 weeks


204706 04-Mar-2010 edwin

Remove no-op of WARNS?=

Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net>


204697 04-Mar-2010 edwin

- Implement -3 option (show previous, this and next month) option.
- Add -A option (months after this month).
- Add -B option (months before this month).
- Fix highlighting of today in year overview.
- Fix aligning of "foreign" characters.

MFC after: 2 weeks


200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


194447 18-Jun-2009 ume

Since the width is always 2, it is enough to put just one
trailing space is enough.

MFC after: 1 week


194366 17-Jun-2009 ume

Fix column width of weekday names for multibyte locales.

Noticed by: nyan
Discussed with: matusita, takawata
MFC after: 1 week


191737 02-May-2009 rdivacky

Mention -h in usage() and manpage. Rename term_{r,e} to term_{so,se}.

Suggested by: ru
Approved by: ed (mentor)


191690 30-Apr-2009 ru

Fixed multi-byte character support to actually work.


191687 30-Apr-2009 ru

Fixed missing dependency.


191364 21-Apr-2009 rdivacky

Couple of changes based on feedback

o Change mr/me to so/se [1].
o Introduce a -h option to disable highlighting. [2]
o Spell STDOUT_FILENO as such and pass NULL to tgetent()
to handle the case of unset TERM. [3]

Suggested by: naddy mips.inka.de (Christian Weisgerber) [1]
Requested by: danfe, deischen [2]
Suggested by: jmallett [3]
Approved by: ed (mentor)


191330 20-Apr-2009 rdivacky

Implement highlighting of today in month view of cal/ncal just like
gnu cal does. This is currently disabled for year view because of hard
coded padding in that case. This will hopefully be fixed soon.

Reviewed by: Simon 'corecode' Schubert <corecode fs.ei.tum.de>
Approved by: ed


189804 14-Mar-2009 das

Multibyte character support for cal(1).

PR: 131578


186401 22-Dec-2008 wollman

Implement a new feature for the "-m" option: if the month number is
followed by 'f' or 'p', use the following or preceding month of that
number, respectively. Document this. Also includes other minor
grammatical and punctuation fixes to the manual page (capitalize
Easter, etc.).

MFC after: 1 month


151568 23-Oct-2005 tjr

Document incorrect handling of multibyte characters.

PR: 87724


140909 27-Jan-2005 delphij

Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from: ru


140055 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


138230 30-Nov-2004 wollman

Use ?= with WARNS.

Requested by: ru


138036 23-Nov-2004 wollman

Add a `-m month' flag to provide a more convenient interface for
displaying a calendar for a specific month of the current year than
`cal $(date +"%Y") month'. A few minor code cleanups. Set WARNS=1.
(This code is WARNS=5 clean except for "`O' modifier used with `%B'
strftime format", which is legal in FreeBSD but GCC doesn't know about.)

MFC after: 1 week


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


104369 02-Oct-2002 roam

Teach ncal(1) about month names specified on the command line.

Reviewed by: -audit
Approved by: silence on -audit
MFC after: 3 weeks


97773 03-Jun-2002 tjr

Correct History: cal(1) appeared in V5, not V6.


95641 28-Apr-2002 markm

Easy warns fixes; constify.


95640 28-Apr-2002 markm

Style; line up columns, space things out more consistently.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


89061 08-Jan-2002 jhb

Remove gcc specific compiler flags, at least one of which doesn't work with
gcc 3.0.2. (-fstrict-prototypes)


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


78027 10-Jun-2001 ache

Handle ASCII and US-ASCII aliases


78016 10-Jun-2001 ache

Remove "SU" - not valid country code
Fix locale comparison with "C", add "POSIX"


74618 22-Mar-2001 ache

Properly deal with one char weekdays


74612 22-Mar-2001 ache

Uppercase first month letter
Terminate weekday string


74573 21-Mar-2001 ache

Use nl_langinfo instead of %EF


71107 16-Jan-2001 ru

mdoc(7) police: fixed broken references.


71066 15-Jan-2001 ru

mdoc(7) police: fix the weird construct.


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


53963 30-Nov-1999 ache

Use %EF instead of hardcoded order for each country


51201 12-Sep-1999 ache

use %OB for months names


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48566 04-Jul-1999 billf

Clean up some ambiguous nested if/elses.


45064 27-Mar-1999 helbig

Due to the switch form Julian to Gregorian calender,
even a whole month might be missing.
This caused a bug for the LN -calender, whose switch was
on Dec 12, 9999.


35458 26-Apr-1998 phk

fix ncal.1 grammar

PR: 6394
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>


34801 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


32525 15-Jan-1998 helbig

Handle option -j correctly.
Synchronize usage message with man page.
PR: bin/5488


32460 12-Jan-1998 obrien

changed 1st appeared in clause -- about to import into -stable


32310 07-Jan-1998 charnier

Sync usage and synopsis. Add rcsid.


32282 06-Jan-1998 helbig

1. Don't be confused if the first day of a month is dropped due to
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
http://www.pip.dknet.dk/~c-t/calendar.html,
That is Claus Tondering's Calendar FAQ.


32215 03-Jan-1998 helbig

Use locale to guess the switch date.
Localize formatting of date of easter.
Suggested by: ache


32139 31-Dec-1997 helbig

Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").


31868 19-Dec-1997 helbig

Use '.\' and not '/* */' for troff-comments.


31745 15-Dec-1997 helbig

This commit was generated by cvs2svn to compensate for changes in r31744,
which included commits to RCS files with non-trunk default branches.