summaryrefslogtreecommitdiff
path: root/Userland/cal.cpp
AgeCommit message (Collapse)Author
2020-03-18LibCore: Moved cal.cpp functions to DateTimerhin123
2020-03-08Userspace: Add missing #includes now that AK/StdLibExtras.h is smallerAndreas Kling
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-28Userland+Terminal: Port to new CArgsParser APISergey Bugaev
While at it, also add some niceties and fix some things.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-12-24Userland: Add support for printing multiple columns to the cal commandAndrés Vieira
Now cal is able to print the entire year when only that is passed as an argument. For example: `cal 1992`. However this meant breaking the highlighted day escape sequence as it messed up the layout and the character count for each of the rows :( Now the current day is specified like 17* (for example for day 17).
2019-12-02Userland: Add the cal command (#838)Andrés Vieira
This is a very simple implementation of the cal command to display a calendar into the command line. For now this only prints the current month highlighting the current day.