aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent (unfollow)
Commit message (Collapse)Author
2022-03-28Remove assert.Hugo Hörnquist
Barely used, and almost always was better server by a propper error call.
2022-03-28Normalize errors.Hugo Hörnquist
2022-03-15Add 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-15Move summary-filter and description-filter configs to more sensible place.Hugo Hörnquist
2022-03-07Replace Guile's srfi-64:s test-error with working version.Hugo Hörnquist
Along with updating now failing tests.
2022-03-06Add missing (ice-9 format) imports.Hugo Hörnquist
2022-02-01Move path-append to own module.Hugo Hörnquist
2022-01-31Move 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-22Cleanup 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-12Add TODO about broken color files.Hugo Hörnquist
2021-12-06Add delete-{parameter,property}!Hugo Hörnquist
2021-12-06Update xcal rrule parser to do as expected.Hugo Hörnquist
2021-12-06Add clarifying comments.Hugo Hörnquist
2021-11-26Got categories working.Hugo Hörnquist
2021-11-08Comment 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-04Work on calendar from event in frontend, broken.Hugo Hörnquist
2021-09-29Start rework on js setup.Hugo Hörnquist
2021-08-21Improve error messages of rfc->datetime-weekdayHugo Hörnquist
2021-08-21Repair 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-15Refactor 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-15Add TODO about bad string-append performance.Hugo Hörnquist
2021-08-10Export vline? from (vcomponent base).Hugo Hörnquist
2021-07-19Fix bug where 'base' of event repeated through multiple VEVENT:s would be ↵Hugo Hörnquist
"lost".
2021-02-01Handle types of xcal rrule.Hugo Hörnquist
2021-01-14xcal parse now handles WKST in RRULE's.Hugo Hörnquist
2021-01-14Add comments to some procedures.Hugo Hörnquist
2021-01-12xcal->vcomponent fix rrule parsing.Hugo Hörnquist
2020-11-29Generated xcal now has by*-rules correct.Hugo Hörnquist
2020-11-17Slightly improve 'Building <events>' print.Hugo Hörnquist
2020-11-05Xcal input split CATEGORIES.Hugo Hörnquist
2020-11-05CATEGORIES (and RESOURCES) join list ical on output.Hugo Hörnquist
2020-11-05Change recovery on unexpected ',' in TEXT field.Hugo Hörnquist
2020-10-26HTML Prettyify code for following tags.Hugo Hörnquist
2020-10-23Add entry-point for generating tidsrapporter.Hugo Hörnquist
2020-10-16HTML add toggle for whole-day.Hugo Hörnquist
2020-10-15Fix error propagation for some search queries.Hugo Hörnquist
2020-10-15Datetime bindings for search.Hugo Hörnquist
2020-10-05Simplify /insert endpoint.Hugo Hörnquist
2020-09-06Allow recurrence from just Recurrence-ID.Hugo Hörnquist
2020-09-06Described vcomponent now has keys sorted.Hugo Hörnquist
2020-09-06Add some type signatures.Hugo Hörnquist
2020-09-06VComponent describe outputs line numbers when available.Hugo Hörnquist
2020-08-28Fix spelling of intersperse.Hugo Hörnquist
2020-08-28Move text numbers into sv-submodule, create en-module.Hugo Hörnquist
2020-08-27Propagate errors to HTML search page.Hugo Hörnquist
2020-08-24Move util modules into calp module..Hugo Hörnquist
2020-08-23Base64 now free floating top level.Hugo Hörnquist
2020-08-23Micro optimization on string->symbol.Hugo Hörnquist
2020-08-22Move more places to use path-append.Hugo Hörnquist
2020-08-18SIGUSR1 to reload calendars.Hugo Hörnquist