Adriaan de Groot [Thu, 18 Jan 2018 11:06:33 +0000 (06:06 -0500)]
Pulley: declare yylex
- fixes a compiler warning about undeclared yylex
Adriaan de Groot [Thu, 4 Jan 2018 15:58:23 +0000 (16:58 +0100)]
Crank: add a test-sequence
Adriaan de Groot [Thu, 4 Jan 2018 15:33:16 +0000 (16:33 +0100)]
C++: switch to C++11 style and reduce warnings.
Typedef'fed references don't consume const as expected.
Adriaan de Groot [Thu, 4 Jan 2018 15:02:40 +0000 (16:02 +0100)]
VerbDispatcher: switch to C++11 style
Adriaan de Groot [Thu, 4 Jan 2018 14:54:59 +0000 (15:54 +0100)]
FCGI: silence warning about printf parameters
Adriaan de Groot [Thu, 4 Jan 2018 14:32:29 +0000 (15:32 +0100)]
CMake: fix build when log4cpp isn't found
- include for OpenLDAP was not added
- on FreeBSD, happens to be same as for log4cpp
Adriaan de Groot [Thu, 4 Jan 2018 14:26:00 +0000 (15:26 +0100)]
CMake: don't use Quick-DER
Adriaan de Groot [Fri, 22 Sep 2017 12:57:53 +0000 (14:57 +0200)]
Licensing: add SPDX, tidy CMakeLists a little
- bump required CMake version to match ARPA2CM
- fixup style of commenting in license
- remove license of macro that moved to ARPA2CM
- follow reuse.software guidelines
Adriaan de Groot [Fri, 22 Sep 2017 12:15:01 +0000 (14:15 +0200)]
Merge branch 'master' of github.com:arpa2/steamworks
Adriaan de Groot [Thu, 31 Aug 2017 12:37:42 +0000 (14:37 +0200)]
CMake: use ARPA2CM
Remove own CMake modules in favor of the centraliesd ARPA2CM collection.
A more modern FindOpenLDAP is included there.
Keep FindFCGI because it is a bogus find module for the local bundled copy.
Adriaan de Groot [Fri, 18 Aug 2017 09:25:53 +0000 (11:25 +0200)]
Simplify C and C++ standard detection.
Adriaan de Groot [Fri, 18 Aug 2017 09:06:17 +0000 (11:06 +0200)]
Release: give Steamworks a default version
- This is used if git is not available
- Also used when building from a tarball instead of git checkout
Adriaan de Groot [Thu, 17 Aug 2017 14:40:17 +0000 (16:40 +0200)]
Documentation: mention Ubuntu packages, too
Adriaan de Groot [Fri, 14 Jul 2017 11:03:42 +0000 (13:03 +0200)]
Logging: change misleading debug output
Adriaan de Groot [Fri, 14 Jul 2017 10:58:56 +0000 (12:58 +0200)]
Logging: in examples, log plugin output to separate file
Adriaan de Groot [Thu, 13 Jul 2017 16:44:33 +0000 (18:44 +0200)]
Crank: simplify examples Makefile, remove -Z
Adriaan de Groot [Thu, 13 Jul 2017 16:39:26 +0000 (18:39 +0200)]
Pulley: use a working script as example
Adriaan de Groot [Thu, 13 Jul 2017 16:28:03 +0000 (18:28 +0200)]
Pulley: add another example script
Adriaan de Groot [Thu, 13 Jul 2017 16:27:49 +0000 (18:27 +0200)]
CMake: fix broken top-level argument handling
Adriaan de Groot [Thu, 13 Jul 2017 15:18:23 +0000 (17:18 +0200)]
Pulley: pulley also needs to give write_logger() to plugins
Adriaan de Groot [Thu, 13 Jul 2017 15:09:46 +0000 (17:09 +0200)]
LDAP: make TLS use depend on use of ldaps:// uri
Adriaan de Groot [Thu, 13 Jul 2017 14:43:14 +0000 (16:43 +0200)]
Examples: adjust makefiles to match changed build
Adriaan de Groot [Fri, 30 Jun 2017 22:55:40 +0000 (00:55 +0200)]
Update CMake system to match QD and LillyDAP
Adriaan de Groot [Fri, 30 Jun 2017 13:39:07 +0000 (15:39 +0200)]
FCGI: reduce warnings, be modern.
Adriaan de Groot [Fri, 30 Jun 2017 10:37:51 +0000 (12:37 +0200)]
De-cruft the CMakeLists
Adriaan de Groot [Fri, 30 Jun 2017 10:37:36 +0000 (12:37 +0200)]
Adjust FindFCGI for new top-level
Adriaan de Groot [Fri, 30 Jun 2017 09:52:34 +0000 (11:52 +0200)]
Update ignore
Adriaan de Groot [Fri, 30 Jun 2017 09:45:33 +0000 (11:45 +0200)]
Replace most of the stub-Makefile with QD/LD/LEAF version.
Adriaan de Groot [Fri, 30 Jun 2017 09:42:41 +0000 (11:42 +0200)]
Add top-level CMake
Adriaan de Groot [Fri, 30 Jun 2017 09:26:51 +0000 (11:26 +0200)]
Add LDIF updates to the example TLSPool config
Adriaan de Groot [Fri, 30 Jun 2017 09:26:20 +0000 (11:26 +0200)]
Add some dev-notes from way back
Adriaan de Groot [Wed, 11 Jan 2017 13:58:49 +0000 (14:58 +0100)]
Pulleyback: stub of documentation of the (example) backends and scripts.
Adriaan de Groot [Wed, 28 Dec 2016 15:41:16 +0000 (16:41 +0100)]
Unbound: start article describing DNS-in-LDAP with Unbound + Pulley
Adriaan de Groot [Wed, 28 Dec 2016 12:41:44 +0000 (13:41 +0100)]
Pulley: also install API-header file
Adriaan de Groot [Wed, 28 Dec 2016 12:23:38 +0000 (13:23 +0100)]
Packaging: FreeBSD packaging (ports Makefile).
Adriaan de Groot [Wed, 28 Dec 2016 11:50:25 +0000 (12:50 +0100)]
Packaging: documentation of packaging/ directory
Adriaan de Groot [Wed, 24 Aug 2016 21:32:18 +0000 (23:32 +0200)]
CrankFront: when not connected, offer a login box for connection info.
Adriaan de Groot [Wed, 24 Aug 2016 21:06:46 +0000 (23:06 +0200)]
Crank: give a better status message when disconnected.
Adriaan de Groot [Wed, 24 Aug 2016 14:21:29 +0000 (16:21 +0200)]
CrankFront: in demo, start Crank disconnected and unauthenticated
Adriaan de Groot [Wed, 24 Aug 2016 14:14:35 +0000 (16:14 +0200)]
CrankFront: minor cosmetics
Adriaan de Groot [Wed, 24 Aug 2016 13:08:47 +0000 (15:08 +0200)]
PulleyBack: make transactions C++-like with a BackendTransaction object.
Adriaan de Groot [Sun, 21 Aug 2016 22:12:34 +0000 (00:12 +0200)]
PulleyScript: add support for explicit transactions
Adriaan de Groot [Sun, 21 Aug 2016 21:34:53 +0000 (23:34 +0200)]
PulleyScript: call transaction-support functions in the backends after an add() or del()
Adriaan de Groot [Sun, 21 Aug 2016 20:10:14 +0000 (22:10 +0200)]
Squeal: be more forgiving of / in PULLEY_SQUEAL_DIR (or whatever else is passed in to squeal)
Adriaan de Groot [Sun, 21 Aug 2016 16:42:52 +0000 (18:42 +0200)]
Valgrind: cleanup blob-variable storage.
Adriaan de Groot [Sun, 21 Aug 2016 16:34:23 +0000 (18:34 +0200)]
Valgrind: don't leak bitsets
Adriaan de Groot [Sun, 21 Aug 2016 16:27:06 +0000 (18:27 +0200)]
Valgrind: don't leak variables or drivers
Adriaan de Groot [Sun, 21 Aug 2016 16:22:45 +0000 (18:22 +0200)]
Valgrind: don't leak generator table memory
Adriaan de Groot [Sun, 21 Aug 2016 16:12:45 +0000 (18:12 +0200)]
Valgrind: don't leak driver callback-parameter memory.
Adriaan de Groot [Sun, 21 Aug 2016 14:45:25 +0000 (16:45 +0200)]
Valgrind: don't leak memory when configuring generators.
Adriaan de Groot [Sun, 21 Aug 2016 14:25:30 +0000 (16:25 +0200)]
Valgrind: free driver structures on exit.
Adriaan de Groot [Sun, 21 Aug 2016 14:16:22 +0000 (16:16 +0200)]
Valgrind: fix der_dump(), which decoded length improperly.
Adriaan de Groot [Sun, 21 Aug 2016 14:03:23 +0000 (16:03 +0200)]
Valgrind: avoid uninitialized pointers
Adriaan de Groot [Sun, 21 Aug 2016 13:50:56 +0000 (15:50 +0200)]
PulleyScript: make test-program read multiple values to add or remove.
Adriaan de Groot [Sat, 20 Aug 2016 12:57:11 +0000 (14:57 +0200)]
Build: yet another qsort_r thing: split off to separate file.
Adriaan de Groot [Sat, 20 Aug 2016 12:10:04 +0000 (14:10 +0200)]
Build: fix up qsort_r() parameter order checks
Adriaan de Groot [Sat, 20 Aug 2016 11:58:18 +0000 (13:58 +0200)]
Build: check qsort_r() parameter order
Adriaan de Groot [Sat, 20 Aug 2016 11:24:21 +0000 (13:24 +0200)]
Build: start of a cmake-check to detect parameter-order in qsort_r
Adriaan de Groot [Sun, 10 Jul 2016 04:28:47 +0000 (06:28 +0200)]
Build: soothe the compiler, but retain the problem: qsort_r has variable interfaces that sometimes swap thunk and comparator-func
Adriaan de Groot [Sun, 10 Jul 2016 04:16:00 +0000 (06:16 +0200)]
Build: reduce conversion warnings
Adriaan de Groot [Sat, 20 Aug 2016 10:23:50 +0000 (12:23 +0200)]
Build: apply POSIX_C (for sigaction) only to os_unix.c
Adriaan de Groot [Sun, 10 Jul 2016 03:52:26 +0000 (05:52 +0200)]
Build: pslib uses qsort_r, assume GNU_SOURCE
Adriaan de Groot [Sun, 10 Jul 2016 03:16:24 +0000 (05:16 +0200)]
Build: c99 and GNU source fixups
- Use gnu99 / c99 if possible
- .. but c99 doesn't give us all of POSIX, so re-add that for sigaction
- h_addr is a FreeBSD or GNU backwards-compatibility thing.
Adriaan de Groot [Sun, 10 Jul 2016 03:10:17 +0000 (05:10 +0200)]
CMake: tidy includes, module uses
Adriaan de Groot [Sun, 10 Jul 2016 03:08:34 +0000 (05:08 +0200)]
Build: on Linux, -ldl is needed for dynamic loading.
Adriaan de Groot [Sun, 10 Jul 2016 02:52:48 +0000 (04:52 +0200)]
Build: remove logging-code when NDEBUG is set
Adriaan de Groot [Sun, 10 Jul 2016 02:15:37 +0000 (04:15 +0200)]
Build: fix build on non-FreeBSD
- update Debian dependency list in README.Linux
- building on Debian/g++ fixes:
- missing includes
- move dlfunc() check to where it's needed
- add a simple dlfunc() implementation, from stackoverflow.
Adriaan de Groot [Sat, 20 Aug 2016 08:09:23 +0000 (10:09 +0200)]
Build: dlfunc() isn't portable
Adriaan de Groot [Fri, 19 Aug 2016 18:59:49 +0000 (20:59 +0200)]
Pulleyback: in NULL-backend, dump passed-in DER data
Adriaan de Groot [Fri, 19 Aug 2016 18:43:33 +0000 (20:43 +0200)]
Build: add top-level test target
Adriaan de Groot [Fri, 19 Aug 2016 18:41:39 +0000 (20:41 +0200)]
Pulley: test program return code reflects plugin-loading status.
Adriaan de Groot [Wed, 17 Aug 2016 15:59:06 +0000 (17:59 +0200)]
PulleyBack: extend test program
- arguments are now a single script file + a single JSON data file
- JSON is read and passed as argument to script (which calls the
relevant backends).
Adriaan de Groot [Wed, 17 Aug 2016 15:39:58 +0000 (17:39 +0200)]
Pulleyback: add commit() and rollback() to instance methods.
Adriaan de Groot [Wed, 17 Aug 2016 15:34:31 +0000 (17:34 +0200)]
Pulleyback: call del in backends
Adriaan de Groot [Wed, 17 Aug 2016 14:11:30 +0000 (16:11 +0200)]
Build: propagate PREFIX, make it easier to set up PULLEY_SQUEAL_DIR from the make command-line.
Adriaan de Groot [Wed, 17 Aug 2016 08:30:29 +0000 (10:30 +0200)]
Build: add a top-level clean target
Adriaan de Groot [Sun, 14 Aug 2016 21:45:16 +0000 (23:45 +0200)]
Pulleyback: reencode Squeal blob to DER, pass that into the backends.
Adriaan de Groot [Sat, 13 Aug 2016 12:21:51 +0000 (14:21 +0200)]
NULL backend: log variables passed in to add()
Adriaan de Groot [Sat, 13 Aug 2016 12:13:05 +0000 (14:13 +0200)]
Pulleyscript: when opening an instance, pass in the number of generated (output) variables.
Adriaan de Groot [Sat, 13 Aug 2016 11:49:03 +0000 (13:49 +0200)]
Pulleyscript: test script outputs different numbers of vars to NULL backend.
Adriaan de Groot [Sat, 13 Aug 2016 11:48:37 +0000 (13:48 +0200)]
Pulleyscript: fix makefile wrt. simple compilation of Squeal now that it uses write_logger()
Adriaan de Groot [Sat, 13 Aug 2016 11:38:57 +0000 (13:38 +0200)]
NULL backend: for now, ignore DER encoding.
- take squeal_blob instead (this breaks tlspool backend)
- try printing expected variable count and actual vars
passed in when adding.
Adriaan de Groot [Sat, 13 Aug 2016 11:35:05 +0000 (13:35 +0200)]
Squeal: make squeal.h somewhat more self-supporting (so it can be included on its own)
Adriaan de Groot [Thu, 11 Aug 2016 22:19:53 +0000 (00:19 +0200)]
PulleyBack: call Instance::add() with data passed in from Squeal. Needs to be reencoded completely as DER, so pass NULL for now.
Adriaan de Groot [Thu, 11 Aug 2016 22:19:11 +0000 (00:19 +0200)]
PulleyBack: extend Instance API to call add() on the backend itself.
Adriaan de Groot [Thu, 11 Aug 2016 22:18:31 +0000 (00:18 +0200)]
PulleyBack: better logging in NULL backend (on allocation failure)
Adriaan de Groot [Thu, 11 Aug 2016 20:07:04 +0000 (22:07 +0200)]
PulleyBack: give instances (of backends) a name-accessor.
Adriaan de Groot [Thu, 11 Aug 2016 19:56:13 +0000 (21:56 +0200)]
Squeal: massage output from squeal so it goes to the loggers instead of stdout/stderr
Adriaan de Groot [Wed, 10 Aug 2016 15:52:18 +0000 (17:52 +0200)]
Squeal: additional debugging output
Adriaan de Groot [Wed, 10 Aug 2016 16:48:22 +0000 (18:48 +0200)]
Squeal: fix SQL API errors when inserting forks
- check for correct return-value from sqlite3_step()
- bail out on failure to get number of repeats
Adriaan de Groot [Wed, 10 Aug 2016 15:38:11 +0000 (17:38 +0200)]
Build: fix build parameters and DLL loading
- move definition for PULLEY_BACKEND_DIR down into pulleyscript
- need to allow dynamic resolution in plugins in the simple test-program too
Adriaan de Groot [Wed, 10 Aug 2016 15:47:26 +0000 (17:47 +0200)]
PulleyBack: set callback function for backend driver.
- Callback doesn't actually push to backend yet.
Adriaan de Groot [Wed, 10 Aug 2016 12:20:39 +0000 (14:20 +0200)]
PulleyBack: shuffle backend-loading into the pulleyscript/ directory.
- Move the backends and parameters again
- Keep track of loaded backends (cache)
- Keep driver-number in the backend-parameters, too
- Add accessor to check for validity of loader and instance
of a backend.
- Load backends from the parser while setting up SQL.
Adriaan de Groot [Wed, 10 Aug 2016 10:52:37 +0000 (12:52 +0200)]
PulleyBack: reshuffle backend-parameters again
- move the parameter class back to the parser, which is where
the information comes from.
- rename to BackendParameters
- add driver-name to parameter class
- add logging support to parameter class
- extend simple test with logging of backends from the script
Adriaan de Groot [Wed, 10 Aug 2016 11:32:04 +0000 (13:32 +0200)]
Build: make build-definitions visible at top-level
- PULLEY_SQUEAL_DIR
- PULLEY_BACKEND_DIR
These variables can be set in the CMake build; make them
visible at the top-level (Makefile) too.
Adriaan de Groot [Wed, 10 Aug 2016 08:35:55 +0000 (10:35 +0200)]
PulleyBack: minor variation in instantiating backends
Adriaan de Groot [Wed, 3 Aug 2016 12:54:15 +0000 (14:54 +0200)]
PulleyBack: the backend-parameter classes don't belong in pulleyscript itself (just the decoding).
Adriaan de Groot [Wed, 3 Aug 2016 11:54:32 +0000 (13:54 +0200)]
Pulley: store backend-parameters in the script (Parser)
Adriaan de Groot [Wed, 3 Aug 2016 11:21:10 +0000 (13:21 +0200)]
Pulley: simplify storage of vars-per-generator
Adriaan de Groot [Wed, 3 Aug 2016 11:00:59 +0000 (13:00 +0200)]
PulleyScript: decode backend-parameters