Commit Graph

152 Commits

Author SHA1 Message Date
dholland b458f98fad If the parser scrapes up something it thinks is positionally a month, but
is numerically out of range, do something reasonable instead of crashing.
PR bin/39627.
2008-09-30 05:51:41 +00:00
jnemeth 60d26697e2 Updated UK Bank Holidays based on http://en.wikipedia.org/wiki/Bank_holiday
Thanks to perry@ for pointing me to this page.
2008-09-10 01:39:00 +00:00
jnemeth c189d3256b - update all dates that varies (hopefully, they'll be correct for the
first year that NetBSD 5.0 is out)
- add release date of NetBSD 4.0

XXX  There are several UK "Bank Holidays" in calendar.holiday.  Could
     somebody update those and give an indication of when they are, please?
2008-09-09 18:47:19 +00:00
reed b63f4fe587 Fix birth year for Meriwether Lewis.
Also add who he is.

(Why does this "birthday" file have deaths in it?)
2008-08-18 15:11:42 +00:00
wiz 99f508ab37 Correct spellings.
From comet-berkeley <comet@transbay.net> on FreeBSD PR conf/126199,
and Frantisek Holop.

From Igor Sobrado <sobrado@openbsd.org>.
2008-08-15 13:12:15 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos e8853135f2 fixed reversed tests in calendar (from Anon Ymous) 2008-04-09 17:47:53 +00:00
christos 53175f5071 ansi and lint fixes from Anon Ymous 2008-03-07 19:22:22 +00:00
christos 0bdd655872 Treat "Thursday" as "*Thursday" from anon ymous 2008-03-06 17:37:57 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
jnemeth ba708bffb8 typo 2007-10-14 11:30:37 +00:00
hubertf a1bb1e3040 aspell 2007-08-27 21:58:16 +00:00
reed d256941473 Add author's names for two books. 2007-08-27 14:34:17 +00:00
reed 2680c8169c 3 typos/mispellings.
A lot more to do in here as many spellings are wrong or inconsistent.
2007-08-24 14:35:17 +00:00
reed 85a0c6744d Edit the "Women get the vote" entry to say "get the right to vote".
(Since "get the vote" doesn't tell much here about how a legislator
made the last vote to put this in effect.)
And so this calendar entry mentions U.S. also mention the 19th
Amendment to US Constitution.
2007-08-24 14:28:04 +00:00
reed 4f402e3972 Add the year for:
08/15  Beatles replace drummer Pete Best with Richard Starkey, 1962
(While http://en.wikipedia.org/wiki/Ringo_Starr
says this happened on August 16 not the 15th.)
2007-08-14 13:15:06 +00:00
reed 3a6e61c6ab Remove "that" from a long calendar entry that wrapped over two lines.
While there remove a "that" from another entry too.
2007-08-04 15:14:05 +00:00
ober a57d36e7f8 Update to include Zaurus Port. 2007-01-06 03:56:13 +00:00
lukem b5cee0bd31 Hindenburg exploded on May 6 not March 6 2006-11-22 04:54:46 +00:00
jwise 8399bed491 Without commenting on what musicians do or do not belong in this file (the
current selection shows it's early eighties NoCal roots), if we're going to
include the births and deaths of other members of the Grateful Dead, we
should presumably include Jerry Garcia as well.

Make it so.
2006-11-20 17:27:56 +00:00
jwise 6fea1ccb2e Fix spelling of `Bangladesh' 2006-11-20 17:23:40 +00:00
jwise 0427d88cfc Eid-ul-Fitr is never in July, is celebrated in all Muslim lands (not just
Pakistan), and is a variable holiday.

Update to the date of its next occurrence (since calendar(1) does not
support the Muslim calendar), and fix its description accordingly.
2006-11-20 17:21:28 +00:00
jwise cb64006105 Update through a year from today. Barring support for the hebrew calendar
in calendar(1), this will have to do.  While there, tweak a few spellings,
and add a missing holiday.

Dates checked against http://www.hebcal.com/
2006-11-20 17:11:45 +00:00
jwise 500bebac90 It seems reasonable to include Christmas in calendar.christian. Per the
mishmash of anglican, catholic and other feast names included herein, use
both `Christmas' and `Feast of the Nativity' to denote this holiday.

This calendar could use serious updating, but it would be worth adding
better support for floating holidays first.
2006-11-20 16:58:55 +00:00
jwise d1096a69f3 Fix consistent misspelling of `Elassar', royal name of Aragorn/Strider. 2006-11-20 16:52:56 +00:00
elad 89f8748c35 PR/20319: Jeremy C. Reed: calendar reports other months that have matching
days

Patch applied, thanks!
2006-10-07 07:12:01 +00:00
elad e42f031453 PR/30107: Bob Kemp: calendar reports non-matching days.
Applied patch, and also apply patch from Johan Veenhuizen to fix bug
introduced later on -- thanks for the patches!
2006-09-23 22:25:19 +00:00
jnemeth 563d9df051 Victoria Day in Canada occurs on the Monday prior to May 25th 2006-05-20 22:31:02 +00:00
jld 42ddba8762 Correct logic error in wildcard handling, which was causing the
day-of-month on normal entries to always be treated as a wildcard.

Specifically, "if (x&(y|z))" is equivalent to "if ((x&y)||(x&z))", not
"if ((x&y)&&(x&z))", which latter is clearly what was intended.
2006-03-24 23:30:08 +00:00
tsutsui dcf59f2ba1 Add dates of ews4800mips and 3.0 release. 2006-01-09 18:45:00 +00:00
snj 5a7eec5112 Add NetBSD 2.1. 2005-11-06 20:14:36 +00:00
wiz bbd944217e Add missing break. From YOMURA Masanori in PR 30751. 2005-07-15 09:45:04 +00:00
reed 9887c735e4 Add NetBSD 2.0.2 was released on April 12, 2005. 2005-07-15 03:17:46 +00:00
lukem 658ed3362c appease gcc -Wuninitialized 2005-06-02 01:35:57 +00:00
jwise c0b02c27ef Begin major reworking of calendar.history. Goals are:
* every day of the year should have at least one entry
  * all entries should have been fact-checked against reliable sources,
    particularly for dates
  * calendar should contain a fair balance of world history -- existing
    calendar, being based on that shipped in 4.2BSD, was very northern
    california-centric.

This commit meets these guidelines through March 13.  I will continue to
update this as time permits.
2005-05-02 15:20:43 +00:00
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