contrapunctus
b769743ca2
Fix error running chronometrist-statistics when clocked-in
2019-10-30 22:34:33 +05:30
contrapunctus
d10631b0f9
Offer to migrate from timeclock-file
2019-10-25 13:17:27 +05:30
contrapunctus
207c3b2cee
Migrate -statistics to sexp format
2019-10-22 23:41:03 +05:30
contrapunctus
b088bf1da7
Generate value history from -events
2019-09-15 01:19:39 +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
fb0d2da886
Get interactive interface to basic working state
...
* rename "project" -> "task" -
chronometrist-project-time-one-day -> chronometrist-task-time-one-day
chronometrist-project-events-in-day -> chronometrist-task-events-in-day
local variables have been renamed
* optimization - update chronometrist--task-list only when buffer is
visible, to reduce post-file-change load
* -events-populate - fix bug which resulted in the last expression
not being added
* -task-time-one-day, -task-events-in-day, -events->time-list have
been updated to work with plists
Auto-refresh is currently broken.
2019-09-08 12:31:42 +05:30
contrapunctus
9ed53c3e1b
Implement chronometrist--task-list
2019-09-07 22:43:05 +05:30
contrapunctus
92aba09601
Update keybinds for chronometrist-open-file
2019-09-07 12:44:48 +05:30
contrapunctus
639dba113e
Enable lexical binding
2019-08-09 11:49:26 +05:30
contrapunctus
950d7b7474
Combine *-format-keybinds functions
2019-08-09 07:35:47 +05:30
contrapunctus
0c8c1998e9
Add autoload cookies
2019-08-05 00:57:22 +05:30
contrapunctus
98d1fbb43d
-statistics - fix checkdoc errors
2019-08-02 14:48:57 +05:30
Kashish Sharma
fbdb103edd
Combine all timer code in one file
2019-04-08 22:10:26 +05:30
Kashish Sharma
0fcda9b717
API - add 3 functions from -statistics, fix docstring
2019-01-26 13:14:04 +05:30
Kashish Sharma
4146f83e3f
Use -refresh functions to revert
2019-01-26 10:49:39 +05:30
Kashish Sharma
61d435659d
Fix time display bug when active project spans midnight
2019-01-17 12:42:02 +05:30
Kashish Sharma
5ef526aa4a
Fix bug where timer function would move point in unrelated buffers
2018-11-29 00:03:15 +05:30
Kashish Sharma
3cdb04e66e
-statistics - fix refresh function
2018-11-05 19:01:01 +05:30
Kashish Sharma
45aa2efad9
Make timer logic and point-preservation logic consistent
2018-11-04 23:09:43 +05:30
Kashish Sharma
223ae5fe37
-statistics - tweak display
2018-11-03 13:13:14 +05:30
Kashish Sharma
6f843fa222
-statistics - add percent column
2018-11-02 22:19:54 +05:30
Kashish Sharma
02b623589a
-statistics - fix numeric args in next/previous
2018-11-02 20:18:23 +05:30
Kashish Sharma
cea81a4782
-statistics - pretty print dates
2018-11-02 19:24:07 +05:30
Kashish Sharma
bddebb5478
-statistics - don't pad project names
2018-11-02 19:10:24 +05:30
Kashish Sharma
a94b573d8c
-statistics - display average time
2018-11-02 18:51:52 +05:30
Kashish Sharma
a250fadbd8
-statistics - show dashes when number is zero
2018-11-02 14:53:47 +05:30
Kashish Sharma
e3d1c79b56
chronometrist - run -report and -statistics with numeric arguments
2018-11-02 13:58:54 +05:30
Kashish Sharma
35e9d03217
-statistics - fix "8 days in week" bug
...
In week mode, some activities were shown as having *8* active days,
which was obviously wrong.
2018-11-02 13:49:24 +05:30
Kashish Sharma
86c7232caf
Remove annoying whitespace
2018-11-02 11:49:48 +05:30
Kashish Sharma
6af28266a7
-statistics - update todo, docstring
2018-11-02 07:43:43 +05:30
Kashish Sharma
6959ee5c3d
-lib -> -common
2018-11-02 07:29:24 +05:30
Kashish Sharma
9378cabff4
-increment-or-decrement-date -> -date-op, move to -lib
2018-11-02 07:26:34 +05:30
Kashish Sharma
906db6b6a8
-statistics - implement weekly range, next/previous week
2018-11-02 07:02:33 +05:30
Kashish Sharma
571a66f486
-statistics - display weekly data
2018-11-02 06:28:54 +05:30
Kashish Sharma
bc0c1976b7
project-days/days worked -> active days (thanks MattJ!)
2018-11-01 13:32:48 +05:30
Kashish Sharma
6df11437b6
--ui-date -> --ui-state, keep-date -> preserve-state
2018-11-01 12:30:18 +05:30
Kashish Sharma
c0636b2f41
Move events-related code to -events.el
2018-11-01 12:17:25 +05:30
Kashish Sharma
a2226abe58
-statistics - make -events-subset less general (...yeah)
2018-11-01 11:22:36 +05:30
Kashish Sharma
d91a729d52
-statistics - implement -ht-subset
2018-11-01 11:14:26 +05:30
Kashish Sharma
15eb6fe2b9
Rename stats -> statistics
2018-11-01 11:12:20 +05:30