aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/calendar/parsedata.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
| | | | | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337 Notes: svn path=/head/; revision=289677
* Handle some expression regressions.Greg Lehey2013-06-121-46/+88
| | | | | | | | | | | | | | | Explicitly use GNU cpp for preprocessing. Remove explicit debugging code. Change some variable names to be less confusing. Improve some comments. Improve indentation. PR: 162211 168785 MFC after: 2 weeks Notes: svn path=/head/; revision=251647
* Use even more conventional conversion routines.Greg Lehey2012-12-131-1/+1
| | | | | | | Reported by: peterj@ Notes: svn path=/head/; revision=244168
* Reluctantly remove one of the most extraordinary numeric conversionGreg Lehey2012-12-131-7/+5
| | | | | | | routines I have ever seen and replace with something far more boring. Notes: svn path=/head/; revision=244166
* Tidy up command line processing:Greg Lehey2011-11-091-10/+13
| | | | | | | | | | | | | | | | | - Add ? option to optstring. - Sort options alphabetically. - Vertical space. Tidy up usage() function. Bring man page in sync with source. Ensure that debug code is only executed with the -d option. Submitted by: Christiane Yeardley Notes: svn path=/head/; revision=227370
* Fix run-time breakage when encoutering invalid input-data.Edwin Groothuis2011-07-111-0/+2
| | | | | | | PR: bin/157718 Notes: svn path=/head/; revision=223939
* Fix the interpreter for:Edwin Groothuis2011-07-111-0/+28
| | | | | | | | | | | | | | | | | | | Jul/Sat+3 Every third saturday of July - Jul/Sat+3 which was able to be done via: Jul/SatThird Every third saturday of July - Jul/SatThird Add interpreters for: SatFourth Every third saturday of each month - SatFourth Sat+4 Every third saturday of each month - Sat+4 Sat Every saturday of each month - Sat MFC after: 2 weeks Notes: svn path=/head/; revision=223928
* Fix Paskha and Paskha-specific holidays.Sergey A. Osokin2011-02-091-0/+1
| | | | Notes: svn path=/head/; revision=218471
* Fix typo (Pashka -> Paskha).Sergey A. Osokin2010-12-251-1/+1
| | | | Notes: svn path=/head/; revision=216697
* Remove extra ;Ed Maste2010-09-141-1/+1
| | | | Notes: svn path=/head/; revision=212591
* For calendars which don't match the solar-based Gregorian calendar,Edwin Groothuis2010-08-301-35/+68
| | | | | | | be able to specify a year string in an entry. Notes: svn path=/head/; revision=212035
* While I am here, add more missing (unsigned char) casts to ctype() macrosAndrey A. Chernov2010-05-061-1/+1
| | | | Notes: svn path=/head/; revision=207703
* On request of joel@:Edwin Groothuis2010-03-301-1/+2
| | | | | | | | | - Remove the 3rd clause of the UC Berkeley copyrighted files. - For the files added copyrighted by me, move the "All rights reserved" to the next line. Notes: svn path=/head/; revision=205872
* size_t is not equivalent to int on 64-bit platforms.Dag-Erling Smørgrav2010-03-291-4/+4
| | | | | | | Pointy hat to: edwin@ Notes: svn path=/head/; revision=205834
* Long awaited update to the calendar system:Edwin Groothuis2010-03-291-0/+1008
- Repeating events which span multiple years (because of -A, -B or just the three days before the end of the year). - Support for lunar events (full moon, new moon) and solar events (equinox and solstice, chinese new year). Because of this, the options -U (UTC offset) and -l (longitude) are available to compensate if reality doesn't match the calculated values. MFC after: 1 month Notes: svn path=/head/; revision=205821