Commit message (Collapse) | Author | ||
---|---|---|---|
2022-04-11 | Translate newly added strings. | Hugo Hörnquist | |
2022-04-11 | Manual fixup of f589216 | Hugo Hörnquist | |
Name conflicts are apparently not good. Manual fixup since it's too much a hassle to undo the merge. | |||
2022-04-11 | Replace config system with paramater based system. | Hugo Hörnquist | |
This new setup stores all configurations are parameters. This forces everything into modules, and ensures that we can't have a module use an unloaded config. It (unfortunatelly) also causes users to have to specify namespaces when defining values, but ini-files (and the like) already does that. Also, there is nothing stopping a new `set-config!' from being defined which allows un-namespaced operation. The commit also removes the introspection procedures. They where a bit weird to begin with, since they only showed loaded fields. And since the program had no way of properly serializing or deserializing them we remove them for the time being. They would however be good to reintroduce together with a proper menu for editing simple configuration (see Emacs' `custom-set-variables'). | |||
2022-04-11 | Fixup translatable strings. | Hugo Hörnquist | |
2022-04-05 | Use existing filename if exists. | Hugo Hörnquist | |
2022-04-05 | Minor fixups. | Hugo Hörnquist | |
2022-04-05 | Slightly better parameter checking on save-event. | Hugo Hörnquist | |
2022-04-05 | Set some default values for recur rules. | Hugo Hörnquist | |
2022-04-05 | Move code for saving event away from routes. | Hugo Hörnquist | |
This frees it, currently only for calling it from our import entry point, but this will also allow us to much easier write tests for it (which we need since adding recurring events doesn't work). | |||
2022-04-05 | Comment and set defaults for event object. | Hugo Hörnquist | |
2022-03-28 | Remove assert. | Hugo Hörnquist | |
Barely used, and almost always was better server by a propper error call. | |||
2022-03-28 | Normalize errors. | Hugo Hörnquist | |
2022-03-15 | Add native UUID generator. | Hugo Hörnquist | |
While not necessary, since we barely use UUID:s, it's still WAY faster, and nice to not depend on the system providing `uuidgen'. For comparison, number of UUID:s generated by different settups in 1 second: 65.000 :: guile native 700 :: guile shell-out 3.500.000 :: c native 100.000 :: libuuid - guile bindings 650.000 :: libuuid Tests where run with either (call-with-time-limit 1 (lambda () (let loop () (uuid) (set! count (1+ count)) (loop))) (lambda _ (display count))) or volatile unsigned long long count = 0; sigaction(SIGALARM, ...); alarm(1); for (;;) { uuid(); count++; } (let ((count 0)) (call-with-time-limit 1 (lambda () (let loop () ((@ (hnh util) uuidgen)) (set! count (1+ count)) (loop))) (lambda _ (format #t "exec count = ~:d~%" count)))) | |||
2022-03-15 | Move summary-filter and description-filter configs to more sensible place. | Hugo Hörnquist | |
2022-03-07 | Replace Guile's srfi-64:s test-error with working version. | Hugo Hörnquist | |
Along with updating now failing tests. | |||
2022-03-06 | Add missing (ice-9 format) imports. | Hugo Hörnquist | |
2022-02-22 | Fix translation for (vcomponent datetime output). | Hugo Hörnquist | |
2022-02-22 | Fix modularization of recurrence display. | Hugo Hörnquist | |
2022-02-22 | Prepare code for translation. | Hugo Hörnquist | |
2022-02-01 | Move path-append to own module. | Hugo Hörnquist | |
2022-01-31 | Move stuff from calp/util to hnh/util. | Hugo Hörnquist | |
This is the first (major) step in splitting the generally useful items into its own library. | |||
2021-12-22 | Cleanup modules. | Hugo Hörnquist | |
Primarly this moves all vcompenent input and output code to clearly labeled modules, instead of being spread out. At the same time it also removes a handfull of unused procedures. | |||
2021-12-12 | Add TODO about broken color files. | Hugo Hörnquist | |
2021-12-06 | Add delete-{parameter,property}! | Hugo Hörnquist | |
2021-12-06 | Update xcal rrule parser to do as expected. | Hugo Hörnquist | |
2021-12-06 | Add clarifying comments. | Hugo Hörnquist | |
2021-11-26 | Got categories working. | Hugo Hörnquist | |
2021-11-08 | Comment out x-hnh-calendar-name. | Hugo Hörnquist | |
It caused tests to crash, since it requires that all components have parents (which is obviously false for root components), and that all those parents have a NAME field. | |||
2021-10-04 | Work on calendar from event in frontend, broken. | Hugo Hörnquist | |
2021-09-29 | Start rework on js setup. | Hugo Hörnquist | |
2021-08-21 | Improve error messages of rfc->datetime-weekday | Hugo Hörnquist | |
2021-08-21 | Repair BYDAY output for ical serialization. | Hugo Hörnquist | |
I have no idea why the byday case was commented out while implementing xcal output. Either way it's now fixed, and should hopefully stay fixed with some tests. | |||
2021-08-15 | Refactor read-file to use string ports. | Hugo Hörnquist | |
Like the diff mentions; appending strings leads to a huge number of allocations and deallocations, killing performance in the GC for large strings. String ports on the other hand say nothing about how the work internally, allowing Guile to have efficient C code which completely bypasses the GC (this was briefly checked in Guile's source code, commit 118ee0c50ba90ea7ad7ff1fd2a212bbbb7a66d99 (3.0.7 + a few commits). The approximate speed increase is at least two orders of magnitude, if not three. | |||
2021-08-15 | Add TODO about bad string-append performance. | Hugo Hörnquist | |
2021-08-10 | Export vline? from (vcomponent base). | Hugo Hörnquist | |
2021-07-19 | Fix bug where 'base' of event repeated through multiple VEVENT:s would be ↵ | Hugo Hörnquist | |
"lost". | |||
2021-02-01 | Handle types of xcal rrule. | Hugo Hörnquist | |
2021-01-14 | xcal parse now handles WKST in RRULE's. | Hugo Hörnquist | |
2021-01-14 | Add comments to some procedures. | Hugo Hörnquist | |
2021-01-12 | xcal->vcomponent fix rrule parsing. | Hugo Hörnquist | |
2020-11-29 | Generated xcal now has by*-rules correct. | Hugo Hörnquist | |
2020-11-17 | Slightly improve 'Building <events>' print. | Hugo Hörnquist | |
2020-11-05 | Xcal input split CATEGORIES. | Hugo Hörnquist | |
2020-11-05 | CATEGORIES (and RESOURCES) join list ical on output. | Hugo Hörnquist | |
2020-11-05 | Change recovery on unexpected ',' in TEXT field. | Hugo Hörnquist | |
2020-10-26 | HTML Prettyify code for following tags. | Hugo Hörnquist | |
2020-10-23 | Add entry-point for generating tidsrapporter. | Hugo Hörnquist | |
2020-10-16 | HTML add toggle for whole-day. | Hugo Hörnquist | |
2020-10-15 | Fix error propagation for some search queries. | Hugo Hörnquist | |
2020-10-15 | Datetime bindings for search. | Hugo Hörnquist | |