Commit Graph

167 Commits

Author SHA1 Message Date
reed be2370c0aa Sorted two entries that were out of order.
And used spaces (instead of tab) for one entry to be consistent with rest
of file.
2005-03-12 15:13:54 +00:00
reed e991dffff3 Add that NetBSD 2.0 was released on December 09, 2004 2005-03-12 15:07:56 +00:00
snj 6bad99a279 Lincoln's birthday belongs (and already exists) in calendar.birthday. 2005-02-13 07:05:03 +00:00
simonb 82c8633b96 Fix the date of the Australia Day holiday. 2005-01-30 06:09:26 +00:00
wiz b7ceeca8dd New sentence, new line. Bump date for **. 2004-12-08 15:44:21 +00:00
jwise 8e40de5fcb Since we fall back to /etc/calendar now (if present), put that path properly
in pathnames.h.
2004-12-07 16:47:32 +00:00
jwise 4f1d9bdb73 Play with calendar syntax a little, allowing both of month and day
to be wildcarded.

As a side effect, this allows '**' in the date field to match every
day of the year, which is very useful for TODO items.

It's important to note that the syntax has a lot of hardcoded (and
undocumented) ambiguity resolution stuff, and is crying out for a
simplification, and maybe some use of yacc and lex.

When this is done, a minor flag day (and probably a compatibility
flag :-( ) should be included, for current users who are making
use of some of the corner cases.  I'll raise this on tech-userlevel
before going there.  CVS:
----------------------------------------------------------------------
2004-12-06 20:38:43 +00:00
snj d4d8a90495 Remove a duplicate entry. 2004-12-06 06:33:03 +00:00
wiz c6dfed6dc5 Sort options in SYNOPSIS, bump date for -x, and misc. cleanup. 2004-11-30 10:41:20 +00:00
wiz 53693aebe6 Add -x to usage and to getopt options string (hi Jim!). 2004-11-30 10:39:53 +00:00
jwise 69de851d35 Now that cpp(1) understands the CPP_RESTRICTED environment variable, set
that before invoking cpp -- and provide (with appropriate man page warnings)
an option to run cpp without this set.
2004-11-30 01:54:17 +00:00
wiz 68f709428b Bump date for new calendar searching behaviour; new sentence, new line. 2004-11-29 20:22:31 +00:00
jwise fe72e40594 Note switch to searching home directory, and add a note to the COMPATIBILITY
section describing how to get the historical behavior.
2004-11-29 18:33:45 +00:00
jwise e7f10875fa On further thought, always search for calendar files in the caller's home
directory when called directly (this was already done for calendar -a, by
definition).

Old behavior is still available by setting "CALENDAR_DIR=.".
2004-11-29 18:25:14 +00:00
jwise 9720571221 Note new behavior for finding calendar files when none specifically given. 2004-11-29 17:58:07 +00:00
jwise d728174e30 Instead of searching only for a calendar file named `calendar' in the current
directory, use the first found of:

	./calendar
	./.calendar
	/etc/calendar

Note that currently only the first found of these is used (so that users may
override a system calendar placed in /etc if desired).  Users who want can always
use #include to continue the chain...
2004-11-29 17:03:43 +00:00
grant 3e28f586c0 +pkgsrc/OSF1 2004-11-20 06:37:15 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
darcy e063143584 Spelling fix. Deomcratic ==> Democratic. 2004-05-14 07:53:22 +00:00
wiz 77fe0bb5b1 Remove some duplicate entries, and improve another entry.
From Sergey Svishchev in private mail.
2004-05-11 22:52:43 +00:00
snj b5746867c3 Lincoln was fatally shot on the 14th, and only the 14th. Move the more
detailed entry from 04/16 to 04/14.
2004-04-17 04:06:55 +00:00
wrstuden fa94e7cb27 Tweak change for Asimov's entry some. Restore reference to
Russian SFSR, but note that it's now Russia, not part of the USSR.
2004-03-30 22:29:19 +00:00
minoura 4061afd6fd Johann Sebastian Bach I mentioned in the previous commit seems
wrong.  Remove it, and put a part to the correct entry.
2004-03-30 12:33:50 +00:00
minoura 8d4ece79fc - AFAIK, Samuel Barber and Edward Elgar are composers; move them to
calendar.music, complementing Barber's birthday.
- Remove duplicating Beethoven's birthday.
  (some materials say it's 12/16, some say 12/17, and some christened on
   12/17...  I do not know which is correct)
- BTW, who is Johann Sebastian Bach born on 05/22, 1665?
2004-03-29 13:24:24 +00:00
grant bfea1fe663 add birthdays of pkgsrc support for AIX, BSDI, Darwin, IRIX, FreeBSD,
Linux, NetBSD, OpenBSD and Solaris.
2004-03-28 12:48:53 +00:00
soren 2a2693ed37 PR bin/24029: Asimov was born in Russia, the USSR no longer exists. 2004-03-27 15:18:31 +00:00
mason 9cc30e773d missed part of identifier on my first pass 2004-03-15 09:13:32 +00:00
mason 387f55ac2e Include year of My Lai massacre, correct spacing in name, and provide slightly
more detail regarding perpetrators.
2004-03-15 09:06:27 +00:00
grant 5e5453e284 folllow wiz' lead, add date of pkgsrc/Interix support. 2004-03-12 13:11:27 +00:00
wiz 935372e7be Add xen port and 1.6.2 release date. 2004-03-12 01:23:12 +00:00
snj a6b397d6de New sentence, new line. Kill some extra whitespace. Mention calendar.netbsd
and calendar.lotr.  Okayed by wiz.
2004-02-01 01:03:57 +00:00
snj 54d71a44a7 Fix some typos and spelling errors. Okayed by wiz. 2004-02-01 01:00:43 +00:00
snj 9395c6ab06 Expand some names, fix a spelling error (Pete Townshend might disagree,
but "quadrophonic" is not the proper spelling), give George Gershwin's
year of birth, add Stevie Ray Vaughan's birth/death dates.  Okayed by wiz.
2004-02-01 00:59:28 +00:00
snj 6d087af2f4 Expand a couple names and fix some spelling errors. Okayed by wiz. 2004-02-01 00:51:27 +00:00
snj a6c6550af8 Give year of MLK's birth. Expand some names. Okayed by wiz. 2004-02-01 00:48:50 +00:00
snj 22a35b2cee Jimi Hendrix's death date belongs in the music calendar. Okayed by wiz. 2004-02-01 00:46:05 +00:00
snj 7c73c22c56 It's "its." Add NetBSD 1.6.1 release date. Okayed by wiz. 2004-02-01 00:34:13 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
yyamano 0eb77d4bef Fix incorrect date: 1.4 and 1.4.2 release. 2004-01-01 16:50:05 +00:00
briggs ef852c60a0 Add option to remove escape character before comment character in
fparseln().  Add escape characters before comment characters in the
few places those appear in the calendar data files.
2003-09-30 15:00:18 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
minoura 9e27136527 Correct some Japanese entries.
- Add New Year's Day
  - Adults Day -> Coming-of-Age day
  - Girl's Day is not a holiday
  - Constitution Day is 5/3
  - There's no Boy's Day on 5/1; maybe 5/5? (which is now Children's Day)
  - Add Ocean Day (7/20)

Need sort?
2003-05-30 05:11:25 +00:00
kristerw a5348cc746 Remove a duplicated entry. 2003-05-28 23:14:03 +00:00
mjl f694ad9267 On second thought, move BSD to calendar.computer.
While there, spell Dijkstra correctly.
2003-04-24 13:36:19 +00:00
mjl 5082020546 Correct dates for Talbot and Zuse. Aristotle surely died only
once (though I have not been able to confirm the exact date).
Add NetBSD/FreeBSD birthday too for good measure.

Most of the changes from FreeBSD with corrections.
2003-04-24 13:29:23 +00:00
jdolecek 023b82a806 add Columbia tragedy
submitted in PR bin/20163
2003-02-03 17:03:27 +00:00
briggs a35f350a48 Remove a duplicate bank holiday entry for 12/26. 2002-12-26 19:17:23 +00:00
scw 4df9ab06e4 Add evbppc. 2002-12-09 13:00:05 +00:00
lukem d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem bac7350bc5 whitespace consistency 2002-11-04 03:17:53 +00:00
wiz ac9ef76efe Add NetBSD calendar file.
Dates supplied by Hubert Feyrer, thanks!
2002-11-03 15:53:41 +00:00
briggs 53c52257e1 Comiskey Park was the host of the Disco Demolition in 1979. Home of the
Chicago White Sox for 81 seasons: 1910-1990.
2002-07-12 13:42:06 +00:00
jdolecek 54b42d3fa5 Add entries for Thomas Kelly and Queen Elizabeth
Provided by in bin/16219 by John Franklin.
2002-07-09 22:25:06 +00:00
itojun 2cdb2f419e japan fix due to emperor change (1988) - 4/29 is now called greenary day,
12/23 is the new emperor's birthday.
2002-07-04 14:16:56 +00:00
wiz 2ecc494864 Move LOTR dates to calendar.lotr. Add 09/11 terrorist attack.
Patch from John Franklin in misc/17461.
2002-07-04 14:09:59 +00:00
atatat 1ba0247f4a Lorian -> Lorien 2002-05-18 16:18:10 +00:00
mjl 72cfdcede0 Normalize BC year format, correct a few typos, remove duplicate Descartes.
Partly from FreeBSD.
2002-03-18 00:05:34 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
christos bb58ba64b2 - knf
- use cpp -traditional, since the default has now changed. We want to allow
  unmatched single quotes!
- use fparseln, instead of a fixed 2k buffer.
- make all locals static and move to the top. This is so we can eventually
  make calendar understand languages other than us_en
- add braces and continue's to clarify things.
- replace gratuitous fprintf uses with warnx.
- replace vforks() with forks() since we tried to print errors with stdio.
- add more warnings so that we know how things fail.

XXX: Eventually we'll have to remove the cpp dependency, and we should:
	- make it use m4 instead [bad, breaks compatibility]
    or
	- add a small cpp like parser for #include [bad, too much code]
2001-12-04 15:55:32 +00:00
wiz 972bdd863c Use .Bd -literal instead of -unfilled. 2001-12-01 18:52:13 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
wiz 397bf83de7 Fix description of Thanksgiving Day per misc/14519 by Lawrence Doan,
and add a '*' since it's a moving target.
2001-11-10 08:21:07 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
mjl 134be573b3 Fix spelo: diffentiation -> differentiation 2001-06-29 23:33:02 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
cgd 9725bb291b __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that.  It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
2000-12-20 01:03:16 +00:00
christos e8048693f8 Open only plain files [please someone add O_REG_ONLY]. Since /etc/daily
runs calendar -a, a malicious user can put a fifo in his home directory
to prevent calendar from completing. Many thanks to: dynamo@ime.net
2000-11-29 15:29:51 +00:00
simonb 2c0eddaf19 Don't declare 'extern opt*' getopt variables.
Don't need to declare __progname in getmmdd() - it's already done earlier
in this file.
2000-04-14 06:07:14 +00:00
briggs ec0bcc8e62 Add entry for birthday of John Towner Williams (08 Feb 1932). He's most
well-known for his movie scores, which include Star Wars, E.T., Close
Encounters of the Third Kind, Schindler's List, Indiana Jones (all
three), and many, many more.  He was also the 19th conductor of the
Boston Pops.
2000-02-09 13:05:55 +00:00
mason 02a7de3c63 Fixed wording error. 1999-12-03 15:09:24 +00:00
drochner 85cbf55d16 Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
lukem 3f8c4dac86 revert previous 1999-11-02 10:55:47 +00:00
lukem 0895d2339e remove superfluous '-' in getopt string 1999-11-02 10:52:49 +00:00
briggs 042ade9674 Get pedantic about Pioneer's achievements. It was Pioneer 10
in 1983 that past Neptune's orbit.  That does not, however, mean that it
left the solar system since the solar system is defined by the heliosphere.
1999-06-13 18:52:28 +00:00
kleink 5c1e52ca24 Fix spelling of Gauss' fist name. 1999-05-02 18:41:41 +00:00
hwr 3be15b9a38 Remove duplicated entry. 1999-04-11 12:56:15 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos 9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
hwr 28a88d13b8 Typo *sigh* 1998-10-21 20:24:11 +00:00
hwr 1332e7b200 Jon Postel died ;-( 1998-10-21 17:44:05 +00:00
wsanchez 1426fb14d2 Use __CONCAT to concatenate strings "-I" and _PATH_CALENDARS. 1998-10-12 20:51:06 +00:00
wsanchez 76847494e0 Replace _PATH_INCLUE with _PATH_CALENDARS for clarity. 1998-10-12 20:38:55 +00:00
kleink 20eda71b18 It's sufficient to list Janis Joplin's death once only. 1998-10-02 18:19:05 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
mycroft 519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
mycroft f9f7e98dab const poisoning. 1998-07-27 07:41:31 +00:00
kleink c31696e747 Need <time.h> for time(), localtime(), strftim() and mktime() prototypes. 1998-04-01 20:50:17 +00:00
christos ae32ae7441 - Y2K fixes
- fix usage message
1998-02-04 15:19:50 +00:00
lukem 0b3de1cab3 WARNSify, fix .Nm usage, deprecate register 1997-10-18 12:27:31 +00:00
thorpej a73d0efd45 Enhancements from Ty Sarna <tsarna@endicor.com>, per PR #3935. Allow
user to:
- get entries from a file other than "calendar".
- get entries for a different date than today.
- get entries for a whole week in advance, or only one day.
1997-08-26 19:58:10 +00:00
fair 80b4ae52e8 fix PR#3278, add some other dates taken from historical sources available on the web 1997-08-14 11:28:07 +00:00
lukem 19474db41e Ensure calendar doesn't go past \0 in a string.
From Douglas Crosher <dtc@scrooge.ee.swin.oz.au> in [bin/1018]
1997-06-20 08:11:34 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
explorer ff34809355 Add Carl Sagan's death 1997-02-20 21:54:39 +00:00
perry 979eb7d04f close pr-2767 -- add German Reunification Day (from Heiko Rupp) 1997-01-17 15:24:51 +00:00
perry 93933ccd04 Close pr-3115 from stephen.ma@jtec.com.au. He claims:
Sydney was settled by the English on 26 Jan, 1788 not 1778
1997-01-17 05:35:10 +00:00
perry e1389b7341 Add David Packard & Konrad Zuse's deaths to calendar.birthday
submitted by Heiko W.Rupp.
closes pr-2448
Also, moved Alan Turing's birthday from calendar.computer to
calendar.birthday, removed duplicate Thoreau entry and cleaned up date
ordering in calendar.birthday
1997-01-17 02:32:00 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
neil b488cc87de Added World AIDS Day. Which is today.
12/01   World AIDS Day
1995-12-01 09:42:09 +00:00
jtc 29ab121b2f Sync with 4.4lite2 1995-09-02 05:38:38 +00:00