]> git.madduck.net Git - etc/awesome.git/log

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

etc/awesome.git
10 years agoluatz/timetable: Fix `rfc_3339()` bad rounding behaviour. Closes issue #4
daurnimator [Sun, 9 Nov 2014 07:11:55 +0000 (02:11 -0500)]
luatz/timetable: Fix `rfc_3339()` bad rounding behaviour. Closes issue #4

10 years ago.gitignore: Ignore built rocks
daurnimator [Fri, 29 Aug 2014 21:32:02 +0000 (17:32 -0400)]
.gitignore: Ignore built rocks

10 years agodoc/timetable: Document `normalise` fractional behaviour
daurnimator [Fri, 29 Aug 2014 21:01:43 +0000 (17:01 -0400)]
doc/timetable: Document `normalise` fractional behaviour

10 years agoluatz/init: Add `now()` function
daurnimator [Fri, 29 Aug 2014 20:57:26 +0000 (16:57 -0400)]
luatz/init: Add `now()` function

10 years agoREADME: Add feature list, Usage section
daurnimator [Fri, 29 Aug 2014 20:53:43 +0000 (16:53 -0400)]
README: Add feature list, Usage section

10 years agoREADME: Add Installation instructions
daurnimator [Fri, 29 Aug 2014 20:51:29 +0000 (16:51 -0400)]
README: Add Installation instructions

10 years agodoc/index: Add C-like functions
daurnimator [Fri, 29 Aug 2014 20:44:24 +0000 (16:44 -0400)]
doc/index: Add C-like functions

10 years agodoc/: Reduce functions to a h3 instead of h2
daurnimator [Fri, 29 Aug 2014 20:42:58 +0000 (16:42 -0400)]
doc/: Reduce functions to a h3 instead of h2

10 years agoBreaking change: Normalise inside of `new_from_timestamp()`
daurnimator [Fri, 29 Aug 2014 20:36:10 +0000 (16:36 -0400)]
Breaking change: Normalise inside of `new_from_timestamp()`

10 years agodoc/timetable: spell check
daurnimator [Fri, 29 Aug 2014 20:34:33 +0000 (16:34 -0400)]
doc/timetable: spell check

10 years agoluatz/timetable: Add support to `normalise` for fractional columns
daurnimator [Fri, 29 Aug 2014 20:03:47 +0000 (16:03 -0400)]
luatz/timetable: Add support to `normalise` for fractional columns

10 years agospec/timetable_spec: more tests
daurnimator [Fri, 29 Aug 2014 20:02:40 +0000 (16:02 -0400)]
spec/timetable_spec: more tests

10 years agoluatz/timetable: Rename `increment` to `carry`
daurnimator [Fri, 29 Aug 2014 19:02:52 +0000 (15:02 -0400)]
luatz/timetable: Rename `increment` to `carry`

10 years agoluatz/timetable: Optimize and export `is_leap`; add tests
daurnimator [Fri, 29 Aug 2014 18:56:13 +0000 (14:56 -0400)]
luatz/timetable: Optimize and export `is_leap`; add tests

10 years agospec/timetable_spec: Add more tests for month handling
daurnimator [Fri, 29 Aug 2014 17:36:30 +0000 (13:36 -0400)]
spec/timetable_spec: Add more tests for month handling

10 years agospec/: Better test descriptions.
daurnimator [Fri, 29 Aug 2014 16:53:28 +0000 (12:53 -0400)]
spec/: Better test descriptions.

Now including hash tags.

10 years agoluatz/timetable: Check argument to `new_from_timestamp`
daurnimator [Thu, 28 Aug 2014 20:55:53 +0000 (16:55 -0400)]
luatz/timetable: Check argument to `new_from_timestamp`

10 years agospec/strftime: add tests for asctime
daurnimator [Sun, 24 Aug 2014 02:29:38 +0000 (22:29 -0400)]
spec/strftime: add tests for asctime

10 years agospec/strftime: only call gmtime once; then clone
daurnimator [Sun, 24 Aug 2014 02:29:26 +0000 (22:29 -0400)]
spec/strftime: only call gmtime once; then clone

10 years agoluatz/strftime: Fix asctime (forgot to call string.format)
daurnimator [Sun, 24 Aug 2014 02:01:02 +0000 (22:01 -0400)]
luatz/strftime: Fix asctime (forgot to call string.format)

10 years agoluatz/timetable: Add __sub metamethod to allow subtraction of timetables. Reintroduce...
daurnimator [Mon, 18 Aug 2014 19:13:51 +0000 (15:13 -0400)]
luatz/timetable: Add __sub metamethod to allow subtraction of timetables. Reintroduces coercion from cfc4ba97c3596db1105abc17692a54185cfd3a30

10 years agoluatz/tzfile: Add support for version 3 files (partial fix for Issue #2)
daurnimator [Mon, 18 Aug 2014 19:06:38 +0000 (15:06 -0400)]
luatz/tzfile: Add support for version 3 files (partial fix for Issue #2)

10 years agoluatz/tzfile: Read in (but don't yet use) TZ string
daurnimator [Mon, 18 Aug 2014 19:06:06 +0000 (15:06 -0400)]
luatz/tzfile: Read in (but don't yet use) TZ string

10 years agoluatz/init: asctime is now in strftime library, not a timetable method
daurnimator [Mon, 18 Aug 2014 18:42:35 +0000 (14:42 -0400)]
luatz/init: asctime is now in strftime library, not a timetable method

10 years agoexamples/os_date: Initial commit
daurnimator [Mon, 18 Aug 2014 18:39:08 +0000 (14:39 -0400)]
examples/os_date: Initial commit

10 years agoluatz/strftime: Optimize asctime/bypass strftime
daurnimator [Mon, 18 Aug 2014 17:53:02 +0000 (13:53 -0400)]
luatz/strftime: Optimize asctime/bypass strftime

10 years agoluatz/tzcache: Allow absolute paths
daurnimator [Mon, 18 Aug 2014 15:56:44 +0000 (11:56 -0400)]
luatz/tzcache: Allow absolute paths

10 years agospec/strftime: Generate format strings before tests, and use in test names
daurnimator [Mon, 18 Aug 2014 15:55:51 +0000 (11:55 -0400)]
spec/strftime: Generate format strings before tests, and use in test names

10 years agospec/strftime_spec: Use the same timestamp every test run.
daurnimator [Mon, 18 Aug 2014 15:55:12 +0000 (11:55 -0400)]
spec/strftime_spec: Use the same timestamp every test run.

10 years agoluatz/init: Add C-like functions for some common tasks
daurnimator [Mon, 18 Aug 2014 15:53:09 +0000 (11:53 -0400)]
luatz/init: Add C-like functions for some common tasks

10 years agoluatz/init: Add gettime and tzcache to exported table
daurnimator [Mon, 18 Aug 2014 15:52:35 +0000 (11:52 -0400)]
luatz/init: Add gettime and tzcache to exported table

10 years agoluatz/timetable: Move require call to top of file
daurnimator [Mon, 18 Aug 2014 15:48:12 +0000 (11:48 -0400)]
luatz/timetable: Move require call to top of file

10 years agoluatz: Move `asctime` from timetable.lua to strftime.lua. It doesn't deserve to be...
daurnimator [Mon, 18 Aug 2014 15:46:36 +0000 (11:46 -0400)]
luatz: Move `asctime` from timetable.lua to strftime.lua. It doesn't deserve to be a timetable method

10 years agoAdd strftime
daurnimator [Mon, 21 Jul 2014 04:41:08 +0000 (19:41 -0900)]
Add strftime

10 years agoluatz/init: Refactor
daurnimator [Mon, 21 Jul 2014 04:38:58 +0000 (19:38 -0900)]
luatz/init: Refactor

10 years ago{luatz,doc}/gettime: Add ljsyscall as a source. Better docs.
daurnimator [Tue, 15 Jul 2014 22:12:27 +0000 (18:12 -0400)]
{luatz,doc}/gettime: Add ljsyscall as a source. Better docs.

10 years agoluatz/timetable: Coercion doesn't work ==> lua relational operators only work on...
daurnimator [Mon, 6 Jan 2014 21:00:42 +0000 (16:00 -0500)]
luatz/timetable: Coercion doesn't work ==> lua relational operators only work on objects with same metatable

10 years agoluatz/timetable: Use sakamoto's algorithm instead of doomsday algorithm
daurnimator [Mon, 6 Jan 2014 20:56:55 +0000 (15:56 -0500)]
luatz/timetable: Use sakamoto's algorithm instead of doomsday algorithm

10 years agoluatz/tzinfo: Fix accidental global
daurnimator [Fri, 3 Jan 2014 22:52:48 +0000 (17:52 -0500)]
luatz/tzinfo: Fix accidental global

10 years agoluatz/tzinfo: Allow timetable objects in tzinfo methods
daurnimator [Mon, 23 Dec 2013 16:31:52 +0000 (11:31 -0500)]
luatz/tzinfo: Allow timetable objects in tzinfo methods

10 years agoexamples/date_arithmetic: Add an example that shows of date arithmetic
daurnimator [Sun, 24 Nov 2013 11:04:38 +0000 (06:04 -0500)]
examples/date_arithmetic: Add an example that shows of date arithmetic

10 years agoluatz/tzinfo: Give tt_info objects a __tostring
daurnimator [Sun, 24 Nov 2013 10:43:02 +0000 (05:43 -0500)]
luatz/tzinfo: Give tt_info objects a __tostring

10 years agoGive tt_info objects a metatable; and document them
daurnimator [Sun, 24 Nov 2013 10:42:23 +0000 (05:42 -0500)]
Give tt_info objects a metatable; and document them

10 years agodoc: Use 'precise' instead of 'accurate'
daurnimator [Sun, 24 Nov 2013 09:49:09 +0000 (04:49 -0500)]
doc: Use 'precise' instead of 'accurate'

10 years agoluatz/timetable: Fix incorrect rfc_3339 second format specifier
daurnimator [Sun, 24 Nov 2013 09:42:40 +0000 (04:42 -0500)]
luatz/timetable: Fix incorrect rfc_3339 second format specifier

10 years agodoc/index: Improve get_tz documentation around timezone_name
daurnimator [Sun, 24 Nov 2013 09:38:40 +0000 (04:38 -0500)]
doc/index: Improve get_tz documentation around timezone_name

10 years agoluatz/tzfile: Open files in readonly binary mode; and if invalid: throw a better...
daurnimator [Sun, 24 Nov 2013 09:35:44 +0000 (04:35 -0500)]
luatz/tzfile: Open files in readonly binary mode; and if invalid: throw a better error message

10 years agotzinfo: Add localise as alias for localize
daurnimator [Sun, 24 Nov 2013 09:32:39 +0000 (04:32 -0500)]
tzinfo: Add localise as alias for localize

10 years agodoc/timetable: Document unpack method
daurnimator [Sun, 24 Nov 2013 09:28:12 +0000 (04:28 -0500)]
doc/timetable: Document unpack method

10 years agoluatz/timetable: Move unpack to be a method rather than local utility function
daurnimator [Sun, 24 Nov 2013 09:25:12 +0000 (04:25 -0500)]
luatz/timetable: Move unpack to be a method rather than local utility function

10 years agoluatz/tzcache: Move out magic strings to file level variables
daurnimator [Sat, 23 Nov 2013 17:49:14 +0000 (12:49 -0500)]
luatz/tzcache: Move out magic strings to file level variables

10 years agodoc/index: Add links to zoneinfo resources
daurnimator [Sat, 23 Nov 2013 17:40:41 +0000 (12:40 -0500)]
doc/index: Add links to zoneinfo resources

10 years agorockspec: Support 5.1 and 5.2
daurnimator [Sat, 23 Nov 2013 17:34:15 +0000 (12:34 -0500)]
rockspec: Support 5.1 and 5.2

10 years agoCOPYING: License under MIT
daurnimator [Sat, 23 Nov 2013 16:55:18 +0000 (11:55 -0500)]
COPYING: License under MIT

10 years agoREADME: Fix typo
daurnimator [Sat, 23 Nov 2013 16:53:56 +0000 (11:53 -0500)]
README: Fix typo

10 years agodoc/index: Initial commit
daurnimator [Sat, 23 Nov 2013 16:49:02 +0000 (11:49 -0500)]
doc/index: Initial commit

10 years agoluatz/init: Remove unnecessary 'get' prefix
daurnimator [Sat, 23 Nov 2013 16:47:36 +0000 (11:47 -0500)]
luatz/init: Remove unnecessary 'get' prefix

10 years agoREADME: Mention docs subdirectory
daurnimator [Sat, 23 Nov 2013 16:09:26 +0000 (11:09 -0500)]
README: Mention docs subdirectory

10 years agoDocument tzinfo
daurnimator [Sat, 23 Nov 2013 15:54:04 +0000 (10:54 -0500)]
Document tzinfo

10 years agotzinfo: Remove unused argument
daurnimator [Sat, 23 Nov 2013 15:38:42 +0000 (10:38 -0500)]
tzinfo: Remove unused argument

10 years agodoc/parse: Add arguments
daurnimator [Sat, 23 Nov 2013 15:04:56 +0000 (10:04 -0500)]
doc/parse: Add arguments

10 years agodoc/gettime: format
daurnimator [Sat, 23 Nov 2013 15:03:49 +0000 (10:03 -0500)]
doc/gettime: format

10 years agoAdd documentation\!
daurnimator [Sat, 23 Nov 2013 14:26:07 +0000 (09:26 -0500)]
Add documentation\!

10 years agoparse: tz_offset should be returned in seconds
daurnimator [Sat, 23 Nov 2013 13:38:04 +0000 (08:38 -0500)]
parse: tz_offset should be returned in seconds

10 years agoparse: whitespace
daurnimator [Sat, 23 Nov 2013 13:37:34 +0000 (08:37 -0500)]
parse: whitespace

11 years agoAdd a `parse` module
daurnimator [Tue, 22 Oct 2013 19:02:39 +0000 (15:02 -0400)]
Add a `parse` module

11 years agoMove `src` to `luatz` subdirectory to make development paths simpler
daurnimator [Tue, 22 Oct 2013 18:23:46 +0000 (14:23 -0400)]
Move `src` to `luatz` subdirectory to make development paths simpler

11 years agosrc/timetable: Fix month incrementing
daurnimator [Fri, 30 Aug 2013 19:44:59 +0000 (15:44 -0400)]
src/timetable: Fix month incrementing

11 years agosrc/init: Export timetable from main module
daurnimator [Fri, 30 Aug 2013 18:29:59 +0000 (14:29 -0400)]
src/init: Export timetable from main module

11 years agosrc/timetable: Comparison operators can take raw timestamps
daurnimator [Fri, 30 Aug 2013 18:29:41 +0000 (14:29 -0400)]
src/timetable: Comparison operators can take raw timestamps

11 years agosrc/timetable: Add clone method
daurnimator [Fri, 30 Aug 2013 18:28:10 +0000 (14:28 -0400)]
src/timetable: Add clone method

11 years agosrc/timetable: Have `unpack_tm` and `new_timetable` optionally take/return yday and...
daurnimator [Fri, 30 Aug 2013 18:27:55 +0000 (14:27 -0400)]
src/timetable: Have `unpack_tm` and `new_timetable` optionally take/return yday and wday

11 years agosrc/timetable: Normalise out of range months
daurnimator [Thu, 15 Aug 2013 22:15:47 +0000 (18:15 -0400)]
src/timetable: Normalise out of range months

11 years agosrc/timetable: Multiplication is left associative, add brackets so that constants...
daurnimator [Tue, 6 Aug 2013 00:39:54 +0000 (20:39 -0400)]
src/timetable: Multiplication is left associative, add brackets so that constants can be folded

11 years agosrc/timetable: Fix missing string.format import
daurnimator [Tue, 6 Aug 2013 00:31:21 +0000 (20:31 -0400)]
src/timetable: Fix missing string.format import

11 years agosrc/timetable: Add new_from_timestamp function
daurnimator [Wed, 24 Jul 2013 15:56:07 +0000 (11:56 -0400)]
src/timetable: Add new_from_timestamp function

11 years agosrc/timetable: __eq was actually __lt; add __eq.
daurnimator [Wed, 24 Jul 2013 15:55:16 +0000 (11:55 -0400)]
src/timetable: __eq was actually __lt; add __eq.

11 years agospec/timetable_spec: Move native function to outer scope
daurnimator [Wed, 24 Jul 2013 15:53:43 +0000 (11:53 -0400)]
spec/timetable_spec: Move native function to outer scope

11 years agosrc/timetable: Fix timestamp function; add test
daurnimator [Wed, 24 Jul 2013 15:53:24 +0000 (11:53 -0400)]
src/timetable: Fix timestamp function; add test

11 years agosrc/timetable: Break out leap_years_since function from doomsday
daurnimator [Wed, 24 Jul 2013 15:52:27 +0000 (11:52 -0400)]
src/timetable: Break out leap_years_since function from doomsday

11 years ago.travis.yml: debian doesn't support luajit and busted doesn't support 5.2..... damn
daurnimator [Tue, 23 Jul 2013 23:04:46 +0000 (19:04 -0400)]
.travis.yml: debian doesn't support luajit and busted doesn't support 5.2..... damn

11 years ago.travis.yml: Test on multiple lua versions
daurnimator [Tue, 23 Jul 2013 23:00:04 +0000 (19:00 -0400)]
.travis.yml: Test on multiple lua versions

11 years agosrc/timetable: Add rfc_3339 method
daurnimator [Tue, 23 Jul 2013 22:54:07 +0000 (18:54 -0400)]
src/timetable: Add rfc_3339 method

11 years agosrc/timetable: Add equality metamethod
daurnimator [Tue, 23 Jul 2013 22:53:47 +0000 (18:53 -0400)]
src/timetable: Add equality metamethod

11 years agosrc/timetable: Add timestamp method
daurnimator [Tue, 23 Jul 2013 22:53:09 +0000 (18:53 -0400)]
src/timetable: Add timestamp method

11 years agosrc/timetable: Move normalise to be a method on timetable object
daurnimator [Tue, 23 Jul 2013 22:51:47 +0000 (18:51 -0400)]
src/timetable: Move normalise to be a method on timetable object

11 years agosrc/timetable: Invent timetable object
daurnimator [Tue, 23 Jul 2013 22:43:20 +0000 (18:43 -0400)]
src/timetable: Invent timetable object

11 years agoAdd .travis.yml
daurnimator [Tue, 23 Jul 2013 22:17:00 +0000 (18:17 -0400)]
Add .travis.yml

11 years agosrc/timetable: Move argument checking in normalise to own function
daurnimator [Tue, 23 Jul 2013 21:21:57 +0000 (17:21 -0400)]
src/timetable: Move argument checking in normalise to own function

11 years agoAdd src/timetable module (with tests)
daurnimator [Tue, 23 Jul 2013 19:39:52 +0000 (15:39 -0400)]
Add src/timetable module (with tests)

11 years agosrc/init: Expose gettime
daurnimator [Tue, 23 Jul 2013 15:17:47 +0000 (11:17 -0400)]
src/init: Expose gettime

11 years agosrc/tzinfo: Add utctime function to convert local -> utc
daurnimator [Mon, 22 Jul 2013 21:48:55 +0000 (17:48 -0400)]
src/tzinfo: Add utctime function to convert local -> utc

11 years agosrc/tzinfo: Fencepost bug
daurnimator [Mon, 22 Jul 2013 21:48:25 +0000 (17:48 -0400)]
src/tzinfo: Fencepost bug

11 years agosrc/: Fix gettime requiring
daurnimator [Mon, 22 Jul 2013 16:15:26 +0000 (12:15 -0400)]
src/: Fix gettime requiring

11 years agosrc/tzcache: Add TODO
daurnimator [Mon, 22 Jul 2013 16:15:08 +0000 (12:15 -0400)]
src/tzcache: Add TODO

11 years agoAdd rockspec
daurnimator [Fri, 12 Jul 2013 22:05:50 +0000 (18:05 -0400)]
Add rockspec

11 years agoMove source to subdirectory
daurnimator [Fri, 12 Jul 2013 15:45:32 +0000 (11:45 -0400)]
Move source to subdirectory

11 years agoREADME: First commit
daurnimator [Fri, 12 Jul 2013 15:42:59 +0000 (11:42 -0400)]
README: First commit

11 years agoInitial Commit
daurnimator [Fri, 12 Jul 2013 15:41:54 +0000 (11:41 -0400)]
Initial Commit