8sync.git
8 years agoactors: Add actor creation/destruction methods.
Christopher Allan Webber [Tue, 26 Apr 2016 15:07:52 +0000 (10:07 -0500)]
actors: Add actor creation/destruction methods.

* 8sync/systems/actors.scm (create-actor, create-actor*, self-destruct):
  New procedures.

8 years agotests: actors: Add autoreply tests.
Christopher Allan Webber [Mon, 25 Apr 2016 19:21:00 +0000 (14:21 -0500)]
tests: actors: Add autoreply tests.

* tests/test-actors.scm: Added autoreply tests.
  (%record-out, ~display, ~format): Tools to test the display output
  from tests.
  (<antsy-caller>, <diligent-rep>, <lazy-rep>): New classes for testing
  autoreply tools.

8 years agoactors: Properly autoreply to replies; make reply-message-wait work.
Christopher Allan Webber [Mon, 25 Apr 2016 18:47:29 +0000 (13:47 -0500)]
actors: Properly autoreply to replies; make reply-message-wait work.

* 8sync/systems/actors.scm (hive-process-message): Enable prompt even when
  resuming coroutines.
  Enable autoreply when resuming coroutines.
  (send-message-wait, reply-message-wait): Rename agenda-prompt variable to
  abort-to, which makes more sense.

8 years agoactors: Remove unnecessary "begin".
Christopher Allan Webber [Mon, 25 Apr 2016 18:15:04 +0000 (13:15 -0500)]
actors: Remove unnecessary "begin".

* 8sync/systems/actors.scm (hive-process-message): Remove "begin",
  which was only wrapping one thing.

8 years agoactors: Add autoreply support.
Christopher Allan Webber [Mon, 25 Apr 2016 18:12:11 +0000 (13:12 -0500)]
actors: Add autoreply support.

* 8sync/systems/actors.scm (message-needs-reply): New method.
  (hive-process-message): Add autoreply to process-local-message logic.
  Add comment about maybe clearing out old coroutines.

8 years agoactors: Fix resuming continuation when waiting on message.
Christopher Allan Webber [Mon, 25 Apr 2016 17:51:09 +0000 (12:51 -0500)]
actors: Fix resuming continuation when waiting on message.

Pattern matching was wrong.  Also added an error check.

* 8sync/systems/actors.scm (hive-process-message): Fix pattern match.
  Add error check that we're resuming to the correct actor.

8 years agoactors: Remove nesting of actions in define-simple-actor.
Christopher Allan Webber [Mon, 25 Apr 2016 16:59:31 +0000 (11:59 -0500)]
actors: Remove nesting of actions in define-simple-actor.

* 8sync/systems/actors.scm (define-simple-actor): Move actions out of
  the "final parenthesis".  Simple actors just have a class type and
  then the rest of the arguments are acitons.
* demos/actors/simplest-possible.scm: Remove unnecessary import
  of (ice-9 match).
  (<emo>, <proog>): Adjust to new syntax for define-simple-actor.

8 years agotests: test-agenda: Remove broken shebang.
Christopher Allan Webber [Mon, 25 Apr 2016 16:48:28 +0000 (11:48 -0500)]
tests: test-agenda: Remove broken shebang.

* tests/test-agenda.scm: Removed broken shebang.

8 years agotests: test-actors: Add copyright header.
Christopher Allan Webber [Mon, 25 Apr 2016 16:47:53 +0000 (11:47 -0500)]
tests: test-actors: Add copyright header.

* tests/test-actors.scm: Add copyright header.

8 years agodemos: botherbotherbother: Make executable from command line.
Christopher Allan Webber [Mon, 25 Apr 2016 16:44:55 +0000 (11:44 -0500)]
demos: botherbotherbother: Make executable from command line.

* demos/actors/botherbotherbother.scm: Make executable.
  Add shebang.
  (main): Allow arbitrary arguments from the command line or wherever.

8 years agoactors; Move message definitions earlier in the file.
Christopher Allan Webber [Mon, 25 Apr 2016 16:39:13 +0000 (11:39 -0500)]
actors; Move message definitions earlier in the file.

The original positioning would mean that sometimes the accessors would
break in some of the actor/hive methods.  Defining the messages before
any methods make use of them seems to fix the problem.

* 8sync/systems/actors.scm (<message>, message?, make-message-intern)
  (message-id, message-to message-from, message-action, message-body)
  (message-in-reply-to, message-replied, set-message-replied!)
  (message-deferred-reply, set-message-deferred-reply!, make-message)
  (%nothing-provided, message-ref, kwarg-list-to-alist, send-message)
  (send-message-wait, reply-message, reply-message-wait):
  Moved location to earlier in file.

8 years agotests: actors: Fix test-end in test-actors.scm.
Christopher Allan Webber [Mon, 25 Apr 2016 14:43:14 +0000 (09:43 -0500)]
tests: actors: Fix test-end in test-actors.scm.

* tests/test-actors.scm: Fix test-end, which previously pointed at test-agenda.

8 years agobuild: Add actors.scm to SOURCES
Christopher Allan Webber [Sat, 23 Apr 2016 15:57:45 +0000 (10:57 -0500)]
build: Add actors.scm to SOURCES

* Makefile.am (SOURCES): Add 8sync/systems/actors.scm.

8 years agobuild: Add test-actors.scm to tests.
Christopher Allan Webber [Fri, 22 Apr 2016 19:04:13 +0000 (14:04 -0500)]
build: Add test-actors.scm to tests.

* Makefile.am (TESTS): Add tests/test-actors.scm.

8 years agotests: actors: Test serialization / deserialization of messages
Christopher Allan Webber [Fri, 22 Apr 2016 19:03:18 +0000 (14:03 -0500)]
tests: actors: Test serialization / deserialization of messages

* tests/test-actors.scm: Add message write/read tests.

8 years agoactors: Switch comment header
Christopher Allan Webber [Fri, 22 Apr 2016 16:19:03 +0000 (11:19 -0500)]
actors: Switch comment header

* 8sync/systems/actors: Switch "Convenience procedures" comment header
  to "Basic readers / writers".

8 years agoactors: Fix serialize-message to not use address->string
Christopher Allan Webber [Fri, 22 Apr 2016 15:46:58 +0000 (10:46 -0500)]
actors: Fix serialize-message to not use address->string

If we use address->string, read/write are no longer symmetric.

* 8sync/systems/actors.scm (serialize-message): Switch address
  serialization to not use address->string.

8 years agoactors: Fix export of pprint-message
Christopher Allan Webber [Fri, 22 Apr 2016 15:42:34 +0000 (10:42 -0500)]
actors: Fix export of pprint-message

* 8sync/systems/actors.scm: Fix export.  Previously said pprint-mesage.

8 years agotests: actors: Fix check for a missing key on message-ref
Christopher Allan Webber [Fri, 22 Apr 2016 15:36:03 +0000 (10:36 -0500)]
tests: actors: Fix check for a missing key on message-ref

* tests/test-actors.scm: Update test for message-ref with missing key.
  It used to be that the default was to return #f.
  Now the default is to throw an error if no default provided.

8 years agoactors: message-ref: Throw a better error on missing key
Christopher Allan Webber [Fri, 22 Apr 2016 15:31:25 +0000 (10:31 -0500)]
actors: message-ref: Throw a better error on missing key

* 8sync/systems/actors (message-ref): Throw 'message-missing-key
  on errors now.

8 years agoactors: Export read/write methods on messages.
Christopher Allan Webber [Fri, 22 Apr 2016 15:26:03 +0000 (10:26 -0500)]
actors: Export read/write methods on messages.

* 8sync/systems/actors.scm (serialize-message, write-message)
  (serialize-message-pretty pprint-mesage read-message)
  (read-message-from-string): Export methods.

8 years agoactors: `message-ref' now errors if no dflt provided and key not found
Christopher Allan Webber [Fri, 22 Apr 2016 15:10:27 +0000 (10:10 -0500)]
actors: `message-ref' now errors if no dflt provided and key not found

Thanks to David Thompson for guidance on the best way to construct
%nothing-provided.

* 8sync/systems/actors.scm (message-ref): Adjust to error if no dflt
  provided and key isn't found.
  (%nothing-provided): New unique, immutable value for checking
  if dflt provided to message-ref.

8 years agoactors: New read-message procedures, touch up write-message procedures
Christopher Allan Webber [Fri, 22 Apr 2016 15:03:08 +0000 (10:03 -0500)]
actors: New read-message procedures, touch up write-message procedures

* 8sync/systems/actors.scm (read-message, read-message-from-string):
  New procedures for reading in a serialized message.
  (write-message): Supply a default port (current-output-port) if none
  is provided.
  (serialize-message, serialize-message-pretty): Write out message-wants-reply,
  which we accidentally left out earlier.

8 years agoactors: Switch out address objects for more-easily-serialized cons cells
Christopher Allan Webber [Fri, 22 Apr 2016 14:34:57 +0000 (09:34 -0500)]
actors: Switch out address objects for more-easily-serialized cons cells

This is maybe temporary.  If we ever have canonical sexps as the
general serialization format, or something like that, we might revert
to a nicer structure.

* 8sync/systems/actors.scm (<address>): Commented out.

8 years agoactors: Added docstrings to some message write procedures
Christopher Allan Webber [Fri, 22 Apr 2016 14:24:44 +0000 (09:24 -0500)]
actors: Added docstrings to some message write procedures

* 8sync/systems/actors.scm (write-message, serialize-message-pretty)
  (pprint-message): Add docstrings.

8 years agoactors: Write/pretty-print procedures for messages
Christopher Allan Webber [Fri, 22 Apr 2016 14:17:44 +0000 (09:17 -0500)]
actors: Write/pretty-print procedures for messages

* 8sync/systems/actors.scm (serialize-message, write-message):
  New procedures for writing out messages.
  (serialize-message-pretty, pprint-message): New procedures
  for pretty printing.
  (<address>): Update printer to look a little bit nicer.

8 years agoactors: Rename function deferred-reply -> message-deferred-reply
Christopher Allan Webber [Fri, 22 Apr 2016 13:47:59 +0000 (08:47 -0500)]
actors: Rename function deferred-reply -> message-deferred-reply

* 8sync/systems/actors.scm (deferred-reply, message-deferred-reply):
  Renamed former to latter.

8 years agotests: test-actors: Start testing the actor model
Christopher Allan Webber [Fri, 22 Apr 2016 03:46:59 +0000 (22:46 -0500)]
tests: test-actors: Start testing the actor model

There's not much here yet.

* tests/test-actors.scm: New file.

8 years agodemos: actors: A couple of simple actor model demos.
Christopher Allan Webber [Fri, 22 Apr 2016 03:44:47 +0000 (22:44 -0500)]
demos: actors: A couple of simple actor model demos.

* demos/actors/simplest-possible.scm: New file.
  Simplest possible demo: Two actors say hello to each other.
* demos/actors/botherbotherbother.scm: New file.
  A little bit more complex; multiple actors interact with each
  other.  Ensures that actors don't clobber each other unexpectedly.

8 years agosystems: actors: New actor model system.
Christopher Allan Webber [Sat, 16 Apr 2016 22:17:28 +0000 (17:17 -0500)]
systems: actors: New actor model system.

* 8sync/systems/actors.scm: New file, containing actor model system.

8 years agoagenda: Make agendas run with "easier" default arguments
Christopher Allan Webber [Sun, 24 Apr 2016 19:18:56 +0000 (14:18 -0500)]
agenda: Make agendas run with "easier" default arguments

* 8sync/agenda.scm (make-agenda): Set #:pre-unwind-handler to
  print-error-and-continue.  This makes it so that by default,
  exceptions get printed to the shell in which the agenda was spawned.
  (start-agenda): Set #:stop-condition to stop-on-nothing-to-do.  This
  is a bit heavier than maybe desirable but is a good "default" stop
  condition, and prevents the agenda from entering into a busy-loop
  when computation has finished.

8 years agobuild: Ignore .sig, .directive, .asc files.
Christopher Allan Webber [Fri, 22 Apr 2016 22:13:25 +0000 (17:13 -0500)]
build: Ignore .sig, .directive, .asc files.

* .gitignore: Add ignore rules for .sig, .directive, .asc files.

8 years agobuild: Bump version number. v0.1.0
Christopher Allan Webber [Fri, 22 Apr 2016 19:34:13 +0000 (14:34 -0500)]
build: Bump version number.

* configure.ac: Change version to 0.1.0.

8 years agoREADME: Mention COPYING
Christopher Allan Webber [Fri, 22 Apr 2016 19:31:47 +0000 (14:31 -0500)]
README: Mention COPYING

* README: Mention COPYING file.

8 years agoMention INSTALL in the README file.
Christopher Allan Webber [Fri, 15 Apr 2016 18:15:25 +0000 (13:15 -0500)]
Mention INSTALL in the README file.

* README: Mention INSTALL file.

8 years agoAdd generic GNU style INSTALL file
Christopher Allan Webber [Fri, 15 Apr 2016 18:14:48 +0000 (13:14 -0500)]
Add generic GNU style INSTALL file

* INSTALL: New file.

8 years agoMove README.md to README
Christopher Allan Webber [Fri, 15 Apr 2016 18:14:14 +0000 (13:14 -0500)]
Move README.md to README

* README: Renamed from README.md.

8 years agobuild: Add COPYING-gplv3 to EXTRA_DIST
Christopher Allan Webber [Fri, 15 Apr 2016 18:09:16 +0000 (13:09 -0500)]
build: Add COPYING-gplv3 to EXTRA_DIST

* Makefile.am (EXTRA_DIST): add COPYING-GPLv3.txt

8 years agoUpdate %8sync -> 8sync in NEWS and README.md
Christopher Allan Webber [Fri, 15 Apr 2016 15:20:33 +0000 (10:20 -0500)]
Update %8sync -> 8sync in NEWS and README.md

* NEWS:
* README.md: Update references from %8sync -> 8sync.

8 years agoagenda: Rename %8sync (and %8sync-*) to 8sync (and 8sync-*)
Christopher Allan Webber [Fri, 15 Apr 2016 15:05:02 +0000 (10:05 -0500)]
agenda: Rename %8sync (and %8sync-*) to 8sync (and 8sync-*)

* 8sync/agenda.scm (%8sync, %8sync-delay, %8sync-run, %8sync-run-at)
  (%8sync-run-delay, %8sync-port, %8sync-port-remove, catch-%8sync):
  Rename, removing % sign.  Rename all references to other %8sync-foo
  in definitions and comments as well.
  (catch-8sync): Removed aliased version.
  (make-async-request, setup-async-request): Rename references of
  %8sync-foo to 8sync-foo.

* 8sync/systems/irc.scm (make-basic-irc-handler):
* 8sync/systems/web.scm (receive-http-conn):
* tests/test-agenda.scm: Rename all %8sync-foo to 8sync-foo.

8 years agosystems: web: Re-enable co-op repl with simple http server
Christopher Allan Webber [Thu, 14 Apr 2016 22:03:53 +0000 (17:03 -0500)]
systems: web: Re-enable co-op repl with simple http server

* 8sync/systems/web.scm (run-simple-webserver): Uncomment enabling
  the coop-repl.

8 years agodoc: Add scaffolding for new chapters
Christopher Allan Webber [Sat, 9 Apr 2016 18:48:49 +0000 (13:48 -0500)]
doc: Add scaffolding for new chapters

* doc/8sync.texi (Installation, Getting started, API Reference, Contributing):
  New chapter scaffolding added.

8 years agoAdd guix package.
Jan Nieuwenhuizen [Tue, 1 Mar 2016 07:10:59 +0000 (08:10 +0100)]
Add guix package.

* package.scm: New file.

8 years agoUpdate texinfo menus so that info documentation builds.
Jan Nieuwenhuizen [Mon, 29 Feb 2016 18:38:44 +0000 (19:38 +0100)]
Update texinfo menus so that info documentation builds.

* 8sync.texi: Run texinfo-all-menus-update.

8 years agoPut in a warning that 8sync has an unstable API.
Christopher Allan Webber [Wed, 10 Feb 2016 00:38:29 +0000 (16:38 -0800)]
Put in a warning that 8sync has an unstable API.

* README.md: New text.

8 years agoWe're GNU 8sync now!
Christopher Allan Webber [Wed, 10 Feb 2016 00:31:07 +0000 (16:31 -0800)]
We're GNU 8sync now!

* README.md: Updated text to reflect GNU status

8 years agodoc: More tweaks to the comments on copyleft section
Christopher Allan Webber [Wed, 30 Dec 2015 17:04:28 +0000 (11:04 -0600)]
doc: More tweaks to the comments on copyleft section

* doc/8sync.texi: Tweaked documentation and added a new paragraph

8 years agodoc:Updating indentation for consistency
Christopher Allan Webber [Fri, 18 Dec 2015 16:21:44 +0000 (10:21 -0600)]
doc:Updating indentation for consistency

doc/8sync.texi: Minor indentation tweak.

8 years agodoc: Removing a sentence which made things tricky
Christopher Allan Webber [Fri, 18 Dec 2015 16:21:16 +0000 (10:21 -0600)]
doc: Removing a sentence which made things tricky

doc/8sync.texi: Removed text.

8 years agoAlso mention requirement of permitting linking to modified versions of 8sync
Christopher Allan Webber [Fri, 18 Dec 2015 16:15:34 +0000 (10:15 -0600)]
Also mention requirement of permitting linking to modified versions of 8sync

* doc/8sync.texi: New text in 8sync license section.

8 years agoReformatting documentation for easier revision control handling
Christopher Allan Webber [Fri, 18 Dec 2015 16:10:11 +0000 (10:10 -0600)]
Reformatting documentation for easier revision control handling

See also:
  http://dustycloud.org/blog/vcs-friendly-patchable-document-line-wrapping/

* doc/8sync.texi: Reformatting/indenting text

8 years agodoc: Add section: "8sync's license and general comments on copyleft"
Christopher Allan Webber [Thu, 17 Dec 2015 15:48:23 +0000 (09:48 -0600)]
doc: Add section: "8sync's license and general comments on copyleft"

* doc/8sync.texi: New section.

8 years agoAdding absolute basic webdev environment
Christopher Allan Webber [Sat, 12 Dec 2015 02:10:30 +0000 (20:10 -0600)]
Adding absolute basic webdev environment

Incomplete, but running

* 8sync/system/web.scm: New file
* demos/hello-web.scm: New demo file
* Makefile.am: Adding files

8 years agoReturn a value to the continuations from various %8sync-* calls
Christopher Allan Webber [Sat, 12 Dec 2015 02:03:53 +0000 (20:03 -0600)]
Return a value to the continuations from various %8sync-* calls

Just doing (kont) would result in an error at times.

* 8sync/agenda.scm (%8sync-port, %8sync-port-remove, %8sync-immediate):
  Updated with fix.

8 years agoSwitch from (%8sync (%run)) to just (%8sync) or (%8sync-run)
Christopher Allan Webber [Sat, 12 Dec 2015 00:41:15 +0000 (18:41 -0600)]
Switch from (%8sync (%run)) to just (%8sync) or (%8sync-run)

This is a major overhaul inspired by the fact that (%8sync-port) never
worked (or at least not since error propagation), because the error
resolution code in (%8sync) was specific to (%run).

* 8sync/agenda.scm (%run, %run-at, %run-delay, %port-request)
  (%port-remove-request): Removed variables.
  (%8sync, %8sync-run, %8sync-run-at, %8sync-run-delay)
  (%8sync-port, %8sync-port-remove): Updated to new pattern.
  (%run-with-return, %8sync-immediate): Rename.
* 8sync/systems/irc.scm (make-basic-irc-handler):
  Update from %8sync-run to %8sync
* tests/test-agenda.scm (run-in-fake-agenda): new helper macro
  (test-%run-and-friends): Updated to work with run-in-fake-agenda,
    and upated several calls
  (talk-about-the-zoo, indirection-remote-func-breaks): Updated

8 years agoFix %port-request and %port-remove-request
Christopher Allan Webber [Mon, 7 Dec 2015 03:01:51 +0000 (21:01 -0600)]
Fix %port-request and %port-remove-request

Both of these need to have their continuation wrapped with (wrap).
I'm honestly a bit fuzzy on why this fixes things but it does.

* 8sync/agenda.scm (%port-request, %port-remove-request):
  Adjusted to wrap kont with `wrap' macro.

8 years agoagenda: Various %port-foo enhancements
Christopher Allan Webber [Mon, 7 Dec 2015 00:26:09 +0000 (18:26 -0600)]
agenda: Various %port-foo enhancements

Export port-remove stuff, add %8sync-port-remove, and fix
%port-request and %port-remove-request

* 8sync/agenda.scm (%8sync-port-remove): new variable
  (%port-remove-request, %8sync-port-remove): exported
  (%port-request, %port-remove-request): Fixed calls to make-run-request

8 years agoFail configure when GUILE_PROGS cannot be found
Mike Gerwitz [Thu, 3 Dec 2015 02:51:41 +0000 (21:51 -0500)]
Fail configure when GUILE_PROGS cannot be found

Available in $prefix/share/aclocal/guile.m4

8 years agoirc: shut down properly when the server does too
Christopher Allan Webber [Tue, 1 Dec 2015 15:36:08 +0000 (09:36 -0600)]
irc: shut down properly when the server does too

Formerly things would busyloop on irc disconnect; changed to prevent
that situation.

* 8sync/systems/irc.scm (make-basic-irc-handler): remove ports
  and don't break when the connection closes.

8 years agoPort removal, stop-on-nothing-to-do, and select when sleeping
Christopher Allan Webber [Tue, 1 Dec 2015 15:31:49 +0000 (09:31 -0600)]
Port removal, stop-on-nothing-to-do, and select when sleeping

The aligned goal here is to allow for removing ports, not busy-looping
when there's no ports but something to wait on, and allow for stopping
when nothing is remaining.  Accomplishing the latter requires all
of the former.

* 8sync/agenda.scm (<make-port-request>, make-port-remove-request)
  (port-remove-request port-remove-request?, stop-on-nothing-to-do):
  New variables.

  (update-agenda-from-select!): Sleep (via select, currently) when
  there's no ports in the queue but we still have things scheduled.

  (start-agenda): New comments

8 years agoAdd <port-remove-request> and friends
Christopher Allan Webber [Tue, 1 Dec 2015 04:59:51 +0000 (22:59 -0600)]
Add <port-remove-request> and friends

* 8sync/agenda.scm (<port-remove-request>, make-port-remove-request)
  (port-remove-request?, port-remove-request-port, port-remove-request)
  (%port-remove-request, agenda-handle-port-remove-request!): New variables
* 8sync/agenda.scm (%port-request): Original syntax of this probably
  never worked; fixed.
* 8sync/agenda.scm (agenda-run-once): Updated for port-remove-request

8 years agoSwitch irc.scm to use %8sync-run
Christopher Allan Webber [Tue, 1 Dec 2015 03:59:52 +0000 (21:59 -0600)]
Switch irc.scm to use %8sync-run

* 8sync/systems/irc.scm (make-basic-irc-handler): Update to use %8sync-run

8 years agotests: update to use make-q* instead of manually mutating a queue
Christopher Allan Webber [Tue, 1 Dec 2015 00:18:08 +0000 (18:18 -0600)]
tests: update to use make-q* instead of manually mutating a queue

* tests/test-agenda.scm: Adjust agenda queue calls to use (make-q*)

8 years agodoc: 8sync code *does* use coroutines, but not generator style
Christopher Allan Webber [Sun, 29 Nov 2015 19:45:08 +0000 (13:45 -0600)]
doc: 8sync code *does* use coroutines, but not generator style

* doc/8sync.texi: Make several clarifications between generator style
  coroutines and 8sync delimited continuation style, and clarify that
  8sync style *are* coroutines.

8 years agoFix tests to check for equality
Christopher Allan Webber [Sun, 29 Nov 2015 18:17:33 +0000 (12:17 -0600)]
Fix tests to check for equality

* tests/test-agenda.scm: Tests were checking for test-assert
  where they should have been checking for test-equal.

8 years agoMake use of %8sync-run in tests
Christopher Allan Webber [Sun, 29 Nov 2015 18:15:48 +0000 (12:15 -0600)]
Make use of %8sync-run in tests

* tests/test-agenda.scm (local-func-gets-break):
  Switched from `(%8sync (run foo))' to `(%8sync-run foo)'

8 years agoAdd %8sync-run sugar and friends
Christopher Allan Webber [Sun, 29 Nov 2015 18:14:51 +0000 (12:14 -0600)]
Add %8sync-run sugar and friends

* 8sync/agenda.scm (%8sync-run, %8sync-run-at): New variables
  (%8sync-run-delay, %8sync-port): New variables

8 years agoAdded a TODO for myself to write (%run-immediately)
Christopher Allan Webber [Sun, 29 Nov 2015 18:06:39 +0000 (12:06 -0600)]
Added a TODO for myself to write (%run-immediately)

8sync/agenda.scm: new comment

8 years agobuild: Add demos/run-demo.sh and demos/ircbot.scm to EXTRA_DIST
Christopher Allan Webber [Sun, 29 Nov 2015 17:51:53 +0000 (11:51 -0600)]
build: Add demos/run-demo.sh and demos/ircbot.scm to EXTRA_DIST

* Makefile.am (EXTRA_DIST): Added `demos/run_demo.sh' and `demos/ircbot.scm'

8 years agoAdd ./run-demo.sh script
Christopher Allan Webber [Sun, 29 Nov 2015 17:50:31 +0000 (11:50 -0600)]
Add ./run-demo.sh script

This script lets you run demos in this directory no matter where
`guile' is installed on your system.

* demos/run-demo.sh: New file

8 years agoRenaming `eightsync' to `8sync' everywhere in the code
Christopher Allan Webber [Sun, 29 Nov 2015 16:32:04 +0000 (10:32 -0600)]
Renaming `eightsync' to `8sync' everywhere in the code

* eightsync/agenda.scm, 8sync/agenda.scm: Renamed
* eightsync/repl.scm, 8sync/repl.scm: Renamed
* eightsync/systems/irc.scm, 8sync/systems/irc.scm: Renamed
* demos/ircbot.scm: Changed module import to 8sync
* tests/test-agenda.scm: Changed module import to 8sync
* Makefile.am: Updated to reference new file naming

8 years agodoc: Filled out Introduction and Acknowledgement sections
Christopher Allan Webber [Sun, 29 Nov 2015 16:12:47 +0000 (10:12 -0600)]
doc: Filled out Introduction and Acknowledgement sections

* doc/8sync.texi: Updated docs

8 years agoUpdating copyright headers to be more "modern"
Christopher Allan Webber [Sun, 29 Nov 2015 15:20:23 +0000 (09:20 -0600)]
Updating copyright headers to be more "modern"

In other words, change from physical addresses to retrieve licenses to
HTTP URIs.

* demos/ircbot.scm: Updated header
* eightsync/agenda.scm: Updated header
* eightsync/repl.scm: Updated header
* eightsync/systems/irc.scm: Updated header
* tests/test-agenda.scm: Updated header
* tests/utils.scm: Updated header

8 years agodoc: Adding clarification of dual license under LGPLv3+
Christopher Allan Webber [Sun, 29 Nov 2015 15:08:44 +0000 (09:08 -0600)]
doc: Adding clarification of dual license under LGPLv3+

* doc/8sync.texi: Add clarification

8 years agoSuccessfully build doc/8sync.texi skeleton manual
Christopher Allan Webber [Sun, 29 Nov 2015 15:04:12 +0000 (09:04 -0600)]
Successfully build doc/8sync.texi skeleton manual

* doc/Makefile.am: Removed file
* Makefile.am: Added commands to build texinfo files
  (info_TEXINFOS, 8sync_TEXINFOS, dvi-local): New variables.
* .gitignore: Ignore *.info and texinfo.tex files
* doc/8sync.texi: Fixed @ escaping and removed unused `@end'

8 years agobuild: Attempt to add buildable texinfo (not all is working yet)
Christopher Allan Webber [Sun, 29 Nov 2015 13:46:08 +0000 (07:46 -0600)]
build: Attempt to add buildable texinfo (not all is working yet)

* Makefile.am (EXTRA_DIST): Added `NOCOMP_SOURCES'
  (SUBDIRS): New variable
* doc/8sync.texi: New file
* doc/Makefile.am: New file
* doc/fdl.texi: New file

8 years agoRename LICENSE -> COPYING
Christopher Allan Webber [Sat, 28 Nov 2015 17:55:12 +0000 (11:55 -0600)]
Rename LICENSE -> COPYING

* LICENSE, COPYING: Renamed

8 years agoNEWS: Note IRC bot demo
Christopher Allan Webber [Sat, 28 Nov 2015 17:51:29 +0000 (11:51 -0600)]
NEWS: Note IRC bot demo

* NEWS: note added.

8 years agoAdd NEWS file.
Christopher Allan Webber [Sat, 28 Nov 2015 17:49:55 +0000 (11:49 -0600)]
Add NEWS file.

* NEWS: New file.

8 years agoIgnore tarballs in .gitignore
Christopher Allan Webber [Sat, 28 Nov 2015 17:48:00 +0000 (11:48 -0600)]
Ignore tarballs in .gitignore

* .gitignore: Adjust accordingly.

8 years agobuild: Add `git-to-changelog' and make use of it in `Makefile.am'.
Christopher Allan Webber [Sat, 28 Nov 2015 17:45:22 +0000 (11:45 -0600)]
build: Add `git-to-changelog' and make use of it in `Makefile.am'.

* build-aux/gitlog-to-changelog: New file, from Gnulib.
* Makefile.am: (gen-ChangeLog): New rule, borrowed from Guix.
  (dist-hook): Depend on `gen-ChangeLog'.

8 years agoLicensed utils.scm under the LGPL, with permission from David Thompson
Christopher Allan Webber [Sat, 28 Nov 2015 15:28:12 +0000 (09:28 -0600)]
Licensed utils.scm under the LGPL, with permission from David Thompson

8 years agoAdd queue helpers, with tests
Christopher Allan Webber [Sat, 28 Nov 2015 15:17:58 +0000 (09:17 -0600)]
Add queue helpers, with tests

8 years agoremove unused agenda-on-fail and agenda-on-error
Christopher Allan Webber [Sat, 28 Nov 2015 14:53:19 +0000 (08:53 -0600)]
remove unused agenda-on-fail and agenda-on-error

8 years agoFancy printed exceptions if it's an asynchronous exception
Christopher Allan Webber [Sat, 28 Nov 2015 14:52:48 +0000 (08:52 -0600)]
Fancy printed exceptions if it's an asynchronous exception

8 years agoprint out quoted key with print-error-and-continue
Christopher Allan Webber [Sat, 28 Nov 2015 13:58:34 +0000 (07:58 -0600)]
print out quoted key with print-error-and-continue

8 years agoexpose wrapped-exception introspect things for debugging
Christopher Allan Webber [Sat, 28 Nov 2015 13:47:12 +0000 (07:47 -0600)]
expose wrapped-exception introspect things for debugging

8 years agoremoving @@ comment
Christopher Allan Webber [Sat, 28 Nov 2015 13:22:30 +0000 (07:22 -0600)]
removing @@ comment

8 years agoswitch %8sync-caught-error to 8sync-caught-error
Christopher Allan Webber [Sat, 28 Nov 2015 04:14:13 +0000 (22:14 -0600)]
switch %8sync-caught-error to 8sync-caught-error

8 years agouse catch-8sync in test-agenda.scm
Christopher Allan Webber [Sat, 28 Nov 2015 04:12:22 +0000 (22:12 -0600)]
use catch-8sync in test-agenda.scm

8 years agoAdd (catch-8sync) stuff
Christopher Allan Webber [Sat, 28 Nov 2015 04:09:31 +0000 (22:09 -0600)]
Add (catch-8sync) stuff

8 years agoProperly handle %8sync to %8sync to error chains.
Christopher Allan Webber [Fri, 27 Nov 2015 23:23:40 +0000 (17:23 -0600)]
Properly handle %8sync to %8sync to error chains.

8 years agoAdd some early error handling tests
Christopher Allan Webber [Fri, 27 Nov 2015 18:44:09 +0000 (12:44 -0600)]
Add some early error handling tests

8 years agoremove (display)
Christopher Allan Webber [Fri, 27 Nov 2015 18:42:42 +0000 (12:42 -0600)]
remove (display)

8 years agopropagate asynchronous exceptions
Christopher Allan Webber [Fri, 27 Nov 2015 18:37:19 +0000 (12:37 -0600)]
propagate asynchronous exceptions

8 years agoAdd catching exceptions, and lots of much needed docuemntation
Christopher Allan Webber [Fri, 27 Nov 2015 17:20:40 +0000 (11:20 -0600)]
Add catching exceptions, and lots of much needed docuemntation

8 years agoAdd test runner utility from David Thompson
Christopher Allan Webber [Sat, 28 Nov 2015 02:18:33 +0000 (20:18 -0600)]
Add test runner utility from David Thompson

8 years agowrite out test-agenda, not tests-agenda
Christopher Allan Webber [Fri, 27 Nov 2015 23:25:05 +0000 (17:25 -0600)]
write out test-agenda, not tests-agenda

8 years agoremove deprecated comment
Christopher Allan Webber [Fri, 27 Nov 2015 16:34:33 +0000 (10:34 -0600)]
remove deprecated comment

8 years agoremove unused futures things
Christopher Allan Webber [Fri, 27 Nov 2015 16:26:46 +0000 (10:26 -0600)]
remove unused futures things