Commit Graph

58 Commits

Author SHA1 Message Date
ache
19ff63320a Change holiday name to official one 1997-05-01 14:39:55 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
mpp
85eab8d10d Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
mpp
94957ee0fa Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
ache
334dc11236 Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
peter
1616dd447f Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
mpp
4b7afb7250 Don't call sendmail with "-f root" when run with "-a". This
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
1997-02-16 18:24:44 +00:00
mpp
75d7dff15d Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
mpp
0cf4c309b5 Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
mpp
3d8d35ba79 Initialize the group list when we switch uids when run as
root with "calendar -a".  Drop all privs when execing other
programs.

Obtained from: OpenBSD
1997-02-06 05:42:49 +00:00
mpp
28da3d391e Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
mpp
3ca80b4403 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mpp
1510c4c016 Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
mpp
f84fb449af Remove an extra tab. 1997-01-08 07:24:52 +00:00
mpp
6b8353eb10 Replace a bunch of tabs by spaces, since they
should not be used in man page text.
1996-12-21 20:03:02 +00:00
mpp
744110e957 Grammar/spelling/style fixes.
2.2 candidate.
1996-12-21 19:57:14 +00:00
ache
8bb841091d Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
wosch
e99625b29c sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
mpp
3af6efec9f Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
ache
36deae0afc Add yet one holiday 1996-06-07 15:53:44 +00:00
ache
c7e6cb1cb1 Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
ache
978f540d0a Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
ache
bf23c76e4e Describe russian calendar 1996-05-10 22:26:02 +00:00
ache
9d4f305536 Add russian data handling 1996-05-10 21:39:38 +00:00
ache
d420199128 Russian calendar 1996-05-10 21:36:56 +00:00
ache
d6a4dd4bb2 Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
ache
2af5b38acc Fix typing error 1996-05-10 17:36:33 +00:00
ache
270d1c1453 Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
ache
887003bc81 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
wosch
7df5a6ba6c Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
mpp
93503cec92 Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
jdp
9b433272e2 Removed the definition of the make variable SHAREDIR. It was clashing
with the definition in bsd.own.mk, causing "make world" to fall over.
1996-04-02 22:26:18 +00:00
mpp
7f39977b35 Fix some grammer problems. 1996-03-11 04:50:13 +00:00
wosch
a5143dc68a Submitted by: bruce
replace shell loop with make(1) builtin loop
1996-02-18 19:29:45 +00:00
wosch
e0db0f3ffa more verbose output during install foreign calendar files 1996-02-18 01:42:44 +00:00
wosch
d1d4dec77e Submitted by: Slaven Rezic (Tomic) <eserte@cs.tu-berlin.de>
croatian calendar
1996-02-09 14:35:02 +00:00
ache
a6f635ea20 Don't make directory here, it is mtree task 1996-02-05 17:35:17 +00:00
wosch
abfbc34f21 Submitted by: pst
add forgotten file calendar.h. Sorry.
1996-02-03 10:58:11 +00:00
wosch
1dd9a33b67 _de_DE_ISO8859_1_* -> _de_DE_ISO_8859_1_*
+ Muttertag
+ first german newspaper(s) in WWW
+ Konrad Zuse
1996-02-02 06:05:20 +00:00
wosch
4dcf1e37a1 easter and easter depending day 1996-02-02 06:04:06 +00:00
wosch
afe5288f51 - handle events that move around from year to year, i.e.,
``the last Monday in April'
- handle easter

new options
	-f calendarfile
	-A days
	-B days

Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
1996-02-02 06:02:41 +00:00
mpp
fed0858cd2 Fix some spelling errors in the calendar files. 1996-01-31 13:40:40 +00:00
wosch
a219b31e16 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 1996-01-30 23:36:43 +00:00
peter
1224adcbc8 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 after repository operation on
Andrey's request.
1996-01-30 18:24:32 +00:00
wosch
f43a34aa1d german calenda 1996-01-29 00:34:18 +00:00
wosch
61a70e21d6 include preprocessor commands like
#ifndef _calendar_christian_
#define _calendar_christian_
[...]
#endif
1996-01-29 00:33:02 +00:00
wosch
db86d07a14 install new calendars/de_DE.ISO8859-1/calendar.* files 1996-01-29 00:31:29 +00:00
julian
60eaed1783 Obtained from: pope gregory and julius caesar
27c27
< 11/29 Thanksgiving Day (Last Thursday in November)
---
> 11/23 Thanksgiving Day (4th Thursday in November)

it's not that the date was wrong for this year (it was the wrong year..
it was that the ALGORYTHM was wrong..
very confusing for non americans wondering why americans were going to be
on holiday on the 23rd..
1995-11-11 00:12:47 +00:00
ache
4e7e9a6848 Change error diagnostic to be less confusing:
no calendar file -> no calendar file in current directory
1995-10-08 14:18:15 +00:00