Přemysl Eric Janouch
f6225ac6cc
Warn on unexpected "id" fields
2020-09-01 20:54:23 +02:00
Přemysl Eric Janouch
16ec8261dc
Make the verbose mode also show the raw input
...
To make it more useful for debugging. We might also tie this
to the --debug option, though that would be a bit chaotic.
2020-09-01 20:37:08 +02:00
Přemysl Eric Janouch
e49ff84b74
Strip trailing newlines from editor output
2020-09-01 19:26:37 +02:00
Přemysl Eric Janouch
b7c9bfd9f5
Fix libedit crash
...
Again, I have no idea why it started to happen, it just occured
to me to try to change the call, and it turns out out it works.
2020-09-01 19:02:41 +02:00
Přemysl Eric Janouch
f6165164ee
Fix prompt attributes under libedit
...
I can only guess why this works, and I'm not sure I want to /know/.
2020-09-01 19:02:41 +02:00
Přemysl Eric Janouch
3a445c2db2
Name change
2020-09-01 19:02:41 +02:00
Přemysl Eric Janouch
90b5364b29
Fix running helper programs
...
A bug was introduced in 5c38087
.
2019-09-23 23:07:04 +02:00
Přemysl Eric Janouch
7c978fe50f
Relicense to 0BSD, update mail address
...
I've come to the conclusion that copyright mostly just stands in the way
of software development. In my jurisdiction I cannot give up my own
copyright and 0BSD seems to be the closest thing to public domain.
The updated mail address, also used in my author/committer lines,
is shorter and looks nicer. People rarely interact anyway.
2018-06-24 04:16:27 +02:00
Přemysl Eric Janouch
8d40122372
Display unexpected messages, too
2018-05-11 23:40:26 +02:00
Přemysl Eric Janouch
19e10aaf3e
Fix UTF-8 validation
2018-05-11 22:34:19 +02:00
Přemysl Eric Janouch
2e1127e371
Fix sent close code when failing the connection
2018-05-11 22:34:06 +02:00
Přemysl Eric Janouch
5c380878d5
Better fix for EOF handling with WebSockets
...
Used to spin.
2018-04-16 22:26:18 +02:00
Přemysl Eric Janouch
3002fb32b0
Fix EOF handling with WebSockets
2018-04-16 16:26:00 +02:00
Přemysl Eric Janouch
d8fcb22daf
Bump liberty, fix GNUC detection, update README
2018-04-16 16:25:44 +02:00
Přemysl Eric Janouch
989825f7eb
Cleanup
2017-02-07 03:28:15 +01:00
Přemysl Eric Janouch
c03af00e30
WebSockets are no longer experimental
...
Now that I've made it work at all, at least in some cases.
2017-02-06 21:28:40 +01:00
Přemysl Eric Janouch
9531f2b518
WebSocket: fix connection timeout
2017-02-06 21:28:40 +01:00
Přemysl Eric Janouch
06e066a491
WebSocket: avoid closing an invalid FD
2017-02-06 21:12:12 +01:00
Přemysl Eric Janouch
1be02128e3
WebSocket: fix reconnection
2017-02-06 21:11:17 +01:00
Přemysl Eric Janouch
6017ce464d
WebSocket: fix showing the close reason
2017-02-06 20:11:29 +01:00
Přemysl Eric Janouch
5946081a91
WebSocket: fix segfault in HTTP parsing
2017-02-06 19:04:58 +01:00
Přemysl Eric Janouch
753d5f02ae
WebSocket: remember to send the protocol version
2017-02-06 18:39:33 +01:00
Přemysl Eric Janouch
d73aa0436c
WebSocket: fix header parsing
2017-02-06 18:27:40 +01:00
Přemysl Eric Janouch
58408ae74a
Fix and update LICENSE
2017-02-03 23:02:29 +01:00
Přemysl Eric Janouch
66f1a6afa3
Fix OpenSSL 1.1 compatibility
2017-01-25 18:12:18 +01:00
Přemysl Eric Janouch
6ab7219752
Bump liberty
2017-01-23 23:59:03 +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
dc8e84d27a
Flush output properly
2016-01-22 14:39:41 +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
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
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
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
Přemysl Eric Janouch
fd4177157e
Fix WS masking logic
2015-04-08 19:49:45 +02:00
Přemysl Eric Janouch
01757df58f
Display the IP address while connecting
...
Instead of resolving the domain name.
2015-04-08 19:49:09 +02:00
Přemysl Eric Janouch
4b56f09ea6
Non-functional little fixes
2015-04-08 19:48:22 +02:00
Přemysl Eric Janouch
3339f43ec9
Watch for SIGINT and SIGTERM
2015-04-08 02:35:32 +02:00