OpenBSD CVS

CVS log for src/usr.bin/calendar/calendar.h


[BACK] Up to [local] / src / usr.bin / calendar

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 1 16:22:53 2019 UTC (5 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Fix regresion that prevented -A0 from working as before.
This can be used to disable the default behavior of reporting events
for the weekend on a Friday.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 29 20:08:56 2019 UTC (5 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Fix a bug with -flag where later events may be shown when they should not be.
The problem is caused by the special handling of Friday, where calendar will
show the upcoming events for the weeked as well.  This change disables the
special handling of Friday for the -B option, as was already done for -A.
From Andy Bradford.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 7 18:46:35 2015 UTC (8 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.14: +6 -3 lines
Diff to previous 1.14 (colored)

tweak the code a bit and add a -w option to display day of week.
okay jmc@, millert@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 15 00:41:28 2015 UTC (9 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

tzfile.h is an internal header that should never have been installed.
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time.  This makes the
tree safe for /usr/include/tzfile.h removal.  The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree.  Actual removal of tzfile.h is pending
a ports build.  Based on a diff from deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 28 18:20:15 2010 UTC (14 years ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

shuffle extern decl of header[] so gcc4 doesn't complain about
incomplete types.

ok deraadt@ 'Looks acceptable' miod@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Aug 9 12:32:58 2005 UTC (18 years, 8 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

handle -A0 correctly; from koen@egelink.nl

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 20:47:30 2004 UTC (19 years, 4 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

define pesach (by gauss) and fix judaic calendar

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 10 15:00:27 2004 UTC (19 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

allow calendar files in julian

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:06 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:44 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.7: +19 -19 lines
Diff to previous 1.7 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 27 18:19:20 2001 UTC (22 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

some fixes and cleanups some from dfa@solo.ee, some pointed
out by pjanzen@ .

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 26 20:38:55 2001 UTC (22 years, 7 months ago) by mickey
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

special procesing for cyrillic calendars (.ru, .ua, .by for now).
does not affect any existing behaviour for everything else.
old idea expressed by form@; millert@ ok

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 3 15:53:00 2001 UTC (22 years, 8 months ago) by pjanzen
Branch: MAIN
Changes since 1.4: +8 -1 lines
Diff to previous 1.4 (colored)

- Prevent users from hanging or killing 'calendar -a', at the cost of
one additional fork() per user who has a calendar file.  Side effect is
that root runs much less code.
- Use login caps so we don't, for example, give a user more processes than
he's allowed.
- tmpfile() rather than mkstemp() means never leaving junk behind.
- Don't let 'calendar -a' take more than a day.

Reviewed by millert@

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 13 07:31:07 1998 UTC (25 years, 4 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.3: +37 -12 lines
Diff to previous 1.3 (colored)

Show periodic events the correct number of times.
Calculate special events (Easter) correctly regardless of which year
they occur in (thus fixing user/562).
Keep locales and special event names from propogating from one user
to the next during "calendar -a".
Set up a framework to handle special events other than Easter (for instance,
Jewish events, eventually).
Various other fixes.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 8 04:31:13 1998 UTC (25 years, 6 months ago) by pjanzen
Branch: MAIN
Changes since 1.2: +20 -7 lines
Diff to previous 1.2 (colored)

Sort output by date; include framework for showing periodic events more than
once

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 30 06:59:24 1998 UTC (26 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various places

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 5 06:04:38 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1

FreeBSD calendar(1) + OpenBSD changes.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.