Přemysl Eric Janouch
a38ad4d64d
json-format.pl: further fixes
...
- skip_ws() -> gettoken() as it doesn't always skip whitespace
- add a newline after each top-level token
- since we've become a streaming parser, GNU parallel may not apply,
so remove the comment at the top of the file
2017-01-26 01:35:24 +01:00
Přemysl Eric Janouch
cd4107b782
json-format.pl: add a --keep-ws switch
2017-01-25 21:13:36 +01:00
Přemysl Eric Janouch
18c25e8bff
json-format.pl: make it a streaming formatter
...
Always pretty-print.
2017-01-25 21:05:38 +01:00
Přemysl Eric Janouch
17331073a4
json-format.pl: fix display of empty [] and {}
2017-01-25 19:52:09 +01:00
Přemysl Eric Janouch
66f1a6afa3
Fix OpenSSL 1.1 compatibility
2017-01-25 18:12:18 +01:00
Přemysl Eric Janouch
72a7cbdb1f
Add and install json-format.pl
...
Seemed somewhat related to what this program does.
2017-01-25 17:51:38 +01:00
Přemysl Eric Janouch
6ab7219752
Bump liberty
2017-01-23 23:59:03 +01:00
Přemysl Eric Janouch
7b94a03e8c
Update IRC server address
2016-03-14 21:18:27 +01:00
Přemysl Eric Janouch
a90173c71a
Fix Travis CI notifications
2016-03-14 20:52:07 +01:00
Přemysl Eric Janouch
f079075f4b
Update README
2016-03-13 01:02:26 +01:00
Přemysl Eric Janouch
ed77188bfd
Use TMPDIR as a fallback if set
2016-03-13 01:02:07 +01:00
Přemysl Eric Janouch
e2f5cb768e
Update README
2016-03-10 21:32:33 +01:00
Přemysl Eric Janouch
9aff11b0f5
Fix CMakeLists.txt
2016-03-10 21:08:24 +01:00
Přemysl Eric Janouch
dc8e84d27a
Flush output properly
2016-01-22 14:39:41 +01:00
Přemysl Eric Janouch
a9df3059cf
Update README
2016-01-21 09:48:22 +01:00
Přemysl Eric Janouch
ed1bb2c5be
Update README
2016-01-21 09:44:39 +01:00
Přemysl Eric Janouch
46b926d9e5
Add ability to pipe output from calls
2016-01-21 09:26:29 +01:00
Přemysl Eric Janouch
e70cd4e434
Add JSON syntax highlighting
2016-01-21 07:34:03 +01:00
Přemysl Eric Janouch
d6d53a4e70
Fix segfault on config load error
2016-01-20 10:39:46 +01:00
Přemysl Eric Janouch
8b66a3f074
Bump liberty
2016-01-17 04:48:17 +01:00
Přemysl Eric Janouch
f273151447
Overall revision after a year
...
Use something closer to inheritance for clients
2016-01-17 04:48:00 +01:00
Přemysl Eric Janouch
a95867dbee
Fix daemonization
2016-01-16 22:33:57 +01:00
Přemysl Eric Janouch
5298d802bb
Fix compiler warning
2016-01-16 22:16:01 +01:00
Přemysl Eric Janouch
af3cb3aaba
Bump liberty
2016-01-16 06:41:31 +01:00
Přemysl Eric Janouch
0f62ef26f5
Fix FindLibMagic.cmake
2016-01-16 06:37:56 +01:00
Přemysl Eric Janouch
e0aa42fb99
Allow line editing with VISUAL/EDITOR/vi
...
Let's pray I haven't broken anything so far.
2015-12-26 04:13:51 +01:00
Přemysl Eric Janouch
dd9bfbe37e
Refactor backends
...
That was fucking ugly.
2015-12-26 01:42:08 +01:00
Přemysl Eric Janouch
63df918482
Rewrite the input layer
...
Now we also support libedit for the backend.
2015-12-25 23:38:40 +01:00
Přemysl Eric Janouch
3e2728443b
Bump liberty, use newer configuration format
...
So that we don't need to maintain our own string parser for attribute strings.
More or less just plugging in what the old code has evolved into in degesch.
2015-12-13 22:54:14 +01:00
Přemysl Eric Janouch
50c8ef12ac
Bump liberty
2015-12-13 01:40:03 +01:00
Přemysl Eric Janouch
f1a83abdd8
Fix compile warning
2015-12-13 01:39:27 +01:00
Přemysl Eric Janouch
ff64e45988
Reorganize code
2015-12-13 01:38:53 +01:00
Přemysl Eric Janouch
3c7b57bba9
Convert README to AsciiDoc
2015-09-27 02:11:38 +02:00
Přemysl Eric Janouch
98bbea72d2
Fix README
2015-09-27 02:10:19 +02:00
Přemysl Eric Janouch
06bff9cb8f
Convert README to AsciiDoc
2015-09-27 01:59:21 +02:00
Přemysl Eric Janouch
ddf99cfc2b
Fix README
2015-09-27 01:56:26 +02:00
Přemysl Eric Janouch
ac5c2f40a2
WS: allow leaving out the URL path
...
It defaults to / now, it used to cause undefined behaviour.
2015-06-25 22:32:59 +02:00
Přemysl Eric Janouch
be1e424e17
WS: include the part after '?' in the query
2015-06-25 21:54:16 +02:00
Přemysl Eric Janouch
a16a7940dd
Fix typo in HTTP request header
2015-06-24 20:46:42 +02:00
Přemysl Eric Janouch
ace6a1ff56
Bump liberty
...
isspace_ascii() sabotaged the functioning of this program.
2015-05-25 23:14:40 +02:00
Přemysl Eric Janouch
df5b7ad71a
Update README
2015-05-07 20:28:24 +02:00
Přemysl Eric Janouch
8a41b31358
Update README
2015-05-07 20:27:57 +02:00
Přemysl Eric Janouch
6785d3a9ed
Implement shutdown
2015-04-10 02:44:13 +02:00
Přemysl Eric Janouch
1944f9f17d
Travis CI: Change IRC notification address
2015-04-10 01:46:05 +02:00
Přemysl Eric Janouch
4dbdc849d9
Steady progress
...
On the WebSocket service.
It's not too far from being finished now. I just have to make some
sense of the code again and make sure it's correct.
Now that json-rpc-shell should be able to run against this, I can
also finally test if both of them work as they should.
2015-04-10 01:42:41 +02:00
Přemysl Eric Janouch
1c2c2bccbb
Move a comment
2015-04-08 20:43:49 +02:00
Přemysl Eric Janouch
ba659a99e1
Fix an embarrasing logic error
2015-04-08 20:33:42 +02:00
Přemysl Eric Janouch
ad094ebb4b
Allow specifying the CA bundle in configuration
2015-04-08 20:29:53 +02:00
Přemysl Eric Janouch
e1d2626f10
WS: send messages in blocks
2015-04-08 20:00:47 +02:00
Přemysl Eric Janouch
808393c537
WS: only display the "connecting" status on -v
2015-04-08 19:51:57 +02:00