Commit Graph

24 Commits

Author SHA1 Message Date
contrapunctus
cc791cd61e MELPA - add license information to headers 2020-02-24 01:27:22 +05:30
contrapunctus
e9e0fe19d5 Fix recursive require introduced in 3ead84c 2020-02-19 17:29:47 +05:30
contrapunctus
3ead84cbcb byte compiler - fix missing definition warnings 2020-02-03 12:21:06 +05:30
contrapunctus
9ae39da05f Remove 2 more obsolete functions 2019-11-22 10:04:15 +05:30
contrapunctus
7443ac8cca Remove obsolete definitions 2019-11-22 10:04:15 +05:30
contrapunctus
a0b31ddd47 Byte compiler fixes - suppress unused variable warnings 2019-11-22 10:04:15 +05:30
contrapunctus
4b853f84d4 Place provide declaration before file variables 2019-11-17 18:46:34 +05:30
contrapunctus
ae82a05721 More checkdoc fixes
I think we got them all?
2019-11-06 11:01:14 +05:30
contrapunctus
ab08671cfb Add headers 2019-11-05 07:11:10 +05:30
contrapunctus
1740e6e413 -time - add -interval 2019-10-31 18:08:56 +05:30
contrapunctus
66013e8960 Use more accurate argument names (time -> duration) 2019-10-30 22:43:27 +05:30
contrapunctus
b9bcb7110e Deprecate 3 functions 2019-10-30 22:41:44 +05:30
contrapunctus
207c3b2cee Migrate -statistics to sexp format 2019-10-22 23:41:03 +05:30
contrapunctus
5979a8143b -seconds-to-hms - change setq to let binding 2019-10-22 18:55:10 +05:30
contrapunctus
747406c362 Update -date-less-p to handle ISO-8601 dates 2019-09-15 23:01:23 +05:30
contrapunctus
9e9b165558 Get chronometrist-report to a basic working state
Rename -
-total-time-one-day -> -active-time-one-day
-events-midnight-spanning-p -> -midnight-spanning-p
Argument names to better reflect type

Move -
-statistics-count-active-days to -queries.el
-task-events-in-day to -queries.el

Remove -date-op

-events->time-list now returns lists of start-stop times, making the
call to -partition in -time-list->sum-of-intervals unnecessary

Fix -midnight-spanning-p - earlier, it was using the start of the
_first_ day as the first split event's stop time, resulting in a
negative time interval and (wildly) inaccurate interval totals.
2019-09-12 15:18:03 +05:30
contrapunctus
fe98f304f8 Code reorganization - move functions to -queries.el and -time.el 2019-09-09 12:18:30 +05:30
contrapunctus
228b2ab753 Go back to using dates as hash table keys for performance
This time as "YYYY-MM-DD" instead of '(YEAR MONTH DAY). See
"Optimization" in doc/new-format.md for more information.
2019-09-08 21:33:09 +05:30
contrapunctus
ab451720eb Rename -current-time-iso8601 -> -format-time-iso8601 2019-09-07 11:56:17 +05:30
contrapunctus
2b19b9f30e Make interactive clocking in/out work
* -sexp.el - remove old multiple backends code, rename
  -in-sexp/-out-sexp to -in/-out

* -time.el - create -current-time-iso8601

* -events.el - -file-clean won't try to check an interval which
  doesn't have a :stop time (fixes error with current event)

* chronometrist.el - change quite a few uses of "project" to
  "task" (including function and argument names). Make -file-clean run
  before -events-populate. Replace calls to timeclock-in/out with
  chronometrist-in/out.
2019-09-07 09:43:03 +05:30
contrapunctus
05af9d05ff Implement in-file fixing of midnight-spanning events 2019-09-07 01:25:35 +05:30
contrapunctus
639dba113e Enable lexical binding 2019-08-09 11:49:26 +05:30
contrapunctus
0e226f1493 Add functions to -time 2019-08-09 07:26:51 +05:30
contrapunctus
10a20aa627 Fix refresh bugs 2019-08-08 13:49:06 +05:30