aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ncal
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-041-1/+1
| | | | Differential Revision: https://reviews.freebsd.org/D32098
* Remove spurious transition from Julian to Gregorian for countryGreg Lehey2020-03-291-3/+2
| | | | | | | | | | | | | | | "Latin". Arguably the entire -p option should be removed. It shows only a few countries, and it doesn't have any relationship with the rest of the program. PR: 244801 Submitted by: grog@ Reported by: Hamid Ali Notes: svn path=/head/; revision=359419
* Add STANDARDS sectionGreg Lehey2020-03-291-0/+18
| | | | | | | | | PR: 239723 Submitted by: Gordon Bergling Reported by: Gordon Bergling Notes: svn path=/head/; revision=359418
* Do not reference deskutils/cal from cal.1.Mateusz Piotrowski2019-03-071-6/+0
| | | | | | | | | | | | | | | The ports version of cal is an abandonware so in order to minimize the potential bit rot of our documentation let's not mention it at all. Interested users are going to find suitable alternatives anyway on their own. Reported by: bapt Approved by: bapt (src) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D19492 Notes: svn path=/head/; revision=344875
* Document that cal(1) cannot start a week with Monday.Mateusz Piotrowski2019-03-071-1/+10
| | | | | | | | | | Reviewed by: bcr Approved by: bcr (doc) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D19491 Notes: svn path=/head/; revision=344874
* ncal: correct history sectionEitan Adler2018-06-091-5/+8
| | | | | | | | | | | | | | | | | | originally reported Todd C. Miller[0] Additional data see [1][2]. While here, pet igor. Closes #152 (github pr) Sbmitted by: Raf Czlonka [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cal/cal.1?rev=1.28&content-type=text/x-cvsweb-markup [1] https://www.bell-labs.com/usr/dmr/www/1stEdman.html [2] https://www.bell-labs.com/usr/dmr/www/man61.pdf Notes: svn path=/head/; revision=334873
* Based on multiple sources including the State Gazette the last day ofWarner Losh2018-05-181-1/+1
| | | | | | | | | | | | Julian calendar in Bulgaria was 31.03.1916. Submitted by: Konstantin Terziev Pull Request: https://github.com/freebsd/freebsd/pull/142 (I independently confirmed the date and this was the right date to use for ncal) Notes: svn path=/head/; revision=333798
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* ncal: fix a reference to an out-of-scope stack bufferEric van Gyzen2016-11-051-1/+2
| | | | | | | | | | PR: 214237 Submitted by: Jonathan de Boyne Pollard MFC after: 3 days Sponsored by: Dell EMC Notes: svn path=/head/; revision=308340
* swprintf() and apparently wcsftime() want the their output buffer sizeDon Lewis2016-05-171-3/+3
| | | | | | | | | | | | specified in terms of the the number of wide characters and not sizeof(buffer). Reported by: Coverity CID: 1007605, 1007606 MFC after: 1 week Notes: svn path=/head/; revision=300005
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper2016-05-041-93/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
* MFHGlen Barber2016-03-101-0/+11
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
| * DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery2016-03-091-0/+11
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
* | First pass to fix the 'tests' packages.Glen Barber2016-02-021-0/+4
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295171
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andEnji Cooper2015-10-121-2/+0
| | | | | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison Notes: svn path=/head/; revision=289172
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-193-4/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ Merge headSimon J. Gerraty2014-04-2893-0/+1433
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Sync from headSimon J. Gerraty2012-11-041-85/+87
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | | Replace all uses of libncurses and libtermcap with their wide characterBrooks Davis2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=268804
* | | | | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino2014-03-1693-0/+1433
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
* | More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-85/+87
|/ | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'. Notes: svn path=/head/; revision=241737
* o Use ISO 3166 county code for Sweden.Maxim Konovalov2012-02-221-1/+1
| | | | | | | | | PR: standards/165400 Submitted by: Carsten Hey MFC after: 1 week Notes: svn path=/head/; revision=232004
* Fix typo in order of markup and text.Edwin Groothuis2011-07-111-1/+1
| | | | Notes: svn path=/head/; revision=223932
* ncal(1) highlights the current date (or a date provided via parameter)Edwin Groothuis2011-07-112-1/+4
| | | | | | | | | | | | even if stdout is not a tty. If stdout is not a tty the data is normally processed by other tools and no control sequences are expected. PR: bin/158580 MFC after: 1 week Notes: svn path=/head/; revision=223931
* Use basename(3) to determine the name of the program.Edwin Groothuis2010-08-301-3/+2
| | | | | | | Submitted by: Alexander Best <arundel@> Notes: svn path=/head/; revision=212032
* Replace -b with -C and -B (as proposed by Alexander).Edwin Groothuis2010-03-212-9/+23
| | | | | | | | Add -3, -A and -B to the usage. Update regression test for the new parameters. Notes: svn path=/head/; revision=205427
* - With the introduction of -A, -B and -3, not all combinations ofEdwin Groothuis2010-03-122-86/+188
| | | | | | | | | | | | arguments makes sense anymore. For example, what would a combination of -3 (show three months) and -y (show the whole year) do? We will abort on these cases. - Move the debug option -d to -H (from highlight), while -d is now used for setting the day of "today" so that -y and friends can be tested. Notes: svn path=/head/; revision=205071
* - Fix the highlighting for non-terminals when the last week is notEdwin Groothuis2010-03-092-10/+22
| | | | | | | | 7 days long. - "-m <N> <YYYY>" now prints only the month, not the whole year. Notes: svn path=/head/; revision=204908
* - document the -3, -A and -B properly in Synopsis.Edwin Groothuis2010-03-072-59/+106
| | | | | | | | | | | - add highlight of current date for non-terminals. - fix -J option. - code cleanup. MFC after: 2 weeks Notes: svn path=/head/; revision=204849
* Remove no-op of WARNS?=Edwin Groothuis2010-03-041-1/+0
| | | | | | | Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net> Notes: svn path=/head/; revision=204706
* - Implement -3 option (show previous, this and next month) option.Edwin Groothuis2010-03-043-206/+266
| | | | | | | | | | | | - Add -A option (months after this month). - Add -B option (months before this month). - Fix highlighting of today in year overview. - Fix aligning of "foreign" characters. MFC after: 2 weeks Notes: svn path=/head/; revision=204697
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+1
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-1/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* Since the width is always 2, it is enough to put just oneHajimu UMEMOTO2009-06-181-2/+2
| | | | | | | | | trailing space is enough. MFC after: 1 week Notes: svn path=/head/; revision=194447
* Fix column width of weekday names for multibyte locales.Hajimu UMEMOTO2009-06-171-9/+18
| | | | | | | | | Noticed by: nyan Discussed with: matusita, takawata MFC after: 1 week Notes: svn path=/head/; revision=194366