fix, make echse(1) tool survive a DSO whose only event is a 0-event

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, port 628c3a2 to echs-lisp tool

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, introduce instantaneous states and operator ITS() to emit them

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'tool/echse' into next

* tool/echse:
  fix, port 628c3a2 to echs-lisp tool
  fix, make echse(1) tool survive a DSO whose only event is a 0-event
Merge branch 'core/event' into next

* core/event:
  minor, introduce instantaneous states and operator ITS() to emit them
minor, provide a simple sunrise/noon/sunset stream

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, outsource celestial calculations to celest.[ch] and offer an interface for it

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor solar.c in terms of celest's API

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, offer calculation hints to cel_rts() through struct cel_calcopt_s

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, give calculation hints to cel_rts()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, factor out deg->h conversion in celest.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'dso/solar' into next

* dso/solar:
  minor, factor out deg->h conversion in celest.c
  minor, give calculation hints to cel_rts()
  minor, offer calculation hints to cel_rts() through struct cel_calcopt_s
  minor, refactor solar.c in terms of celest's API
  minor, outsource celestial calculations to celest.[ch] and offer an interface for it
  minor, provide a simple sunrise/noon/sunset stream
fix, PEBKAC, actually step through solar states

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
fix, PEBKAC, stick to celestial day number definition

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
fix, PEBKAC, do signed integer division on signed integers

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'dso/solar' into next

* dso/solar:
  fix, PEBKAC, do signed integer division on signed integers
  fix, PEBKAC, stick to celestial day number definition
  fix, PEBKAC, actually step through solar states
fix, PEBKAC, provide working __inst_{lt,le}_p() predicates

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'core/instant' into next

* core/instant:
  fix, PEBKAC, provide working __inst_{lt,le}_p() predicates
minor, update orbital elements of the sun, and group elements by their meaning

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, include computation of apparent diameter in rasc_decl struct

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>