Commit Graph

38 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 023d69bdbf
Rename the project
The old name had its context, but now it's mostly just confusing.

Make it netdraw with an extra 'e'.
2021-11-16 11:52:54 +01:00
Přemysl Eric Janouch 3959693f79
Add clang-format configuration, clean up 2021-10-30 03:24:55 +02:00
Přemysl Eric Janouch 6964c610ba
Name change 2020-09-28 05:06:17 +02:00
Přemysl Eric Janouch 28fd07b9a0
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 02:58:23 +02:00
Přemysl Eric Janouch ea07d8931c
Cleanup 2018-06-24 02:45:41 +02:00
Přemysl Eric Janouch d37a38c100
Bump liberty 2017-06-22 23:23:57 +02:00
Přemysl Eric Janouch 93b305e35b
Streamline 2017-06-07 21:42:28 +02:00
Přemysl Eric Janouch c07bd84e19
Fix and update LICENSE 2017-02-03 22:44:46 +01:00
Přemysl Eric Janouch 688475bace Bump liberty, termo 2016-03-14 21:34:44 +01:00
Přemysl Eric Janouch 1a13b7b1b8 Bump liberty 2015-03-29 03:56:25 +02:00
Přemysl Eric Janouch 3748bc5d14 Move to liberty 2015-02-28 21:33:08 +01:00
Přemysl Eric Janouch 5c97066c71 Must store fgetc() output in an int 2015-02-14 08:55:43 +01:00
Přemysl Eric Janouch 386126ffdb Prevent integer overflow 2015-02-14 08:54:42 +01:00
Přemysl Eric Janouch 4793e93d69 Fix two off-by-one errors 2015-02-14 08:51:11 +01:00
Přemysl Eric Janouch 829463f8ee Fix resource leak 2015-02-14 08:48:56 +01:00
Přemysl Eric Janouch 8fc107a31b Add an option to expect all client drawing to succeed
Alias `no-wait'.  So far the server always draws everything.  If that stops
being the case, we might want to introduce a denial response and additional
logic in the client, so that it can fix its own version of the picture.
2015-02-08 02:33:02 +01:00
Přemysl Eric Janouch 30e61e2728 Little fixes 2015-02-08 02:31:13 +01:00
Přemysl Eric Janouch 76cab9137b Make IRC export work with more clients 2014-11-30 17:25:34 +01:00
Přemysl Eric Janouch 3e9bc6cee7 Fix server-client communication
Regression was introduced by 08a2d53eb4.
2014-11-30 17:25:08 +01:00
Přemysl Eric Janouch 08a2d53eb4 Draw continuous lines
So that the application is actually usable in shitty terminals.
2014-11-29 23:58:41 +01:00
Přemysl Eric Janouch a47ed4fe84 Update termo 2014-11-19 03:26:03 +01:00
Přemysl Eric Janouch 8838e88d91 More changes to fit libev's model 2014-10-28 02:59:39 +01:00
Přemysl Eric Janouch 74965b0f66 Rewrite to use libev
libuv is too immature so far and I'm not in the mood to try and
link it statically via some horrible hack (no CMake support).

Also libev is much closer to my understanding of event loops.

The messaging model stays for when/if I want to return to libuv.
2014-10-28 02:39:37 +01:00
Přemysl Eric Janouch 606c5f43af Use RLE bitmap compression 2014-10-27 18:49:21 +01:00
Přemysl Eric Janouch 5cebe379c8 Add some file saving/loading 2014-10-27 18:03:16 +01:00
Přemysl Eric Janouch 28a93ad693 Refactor the input part
And add support for moving the canvas with cursor keys.
2014-10-27 17:20:46 +01:00
Přemysl Eric Janouch 50842917f6 Clarify pixel address computation 2014-10-27 16:48:06 +01:00
Přemysl Eric Janouch 1f2e487302 Woo we can draw over the network now 2014-10-27 13:54:53 +01:00
Přemysl Eric Janouch 29bec0c0e0 Lay down some server-client foundations 2014-10-26 18:57:28 +01:00
Přemysl Eric Janouch 3ea5918fee Yes, I'm very funny 2014-10-26 18:55:25 +01:00
Přemysl Eric Janouch d77a47d54f Inject some of my copy-paste library
So far only to support argument parsing, which we're going to need
soon to set up a server.
2014-10-25 00:48:35 +02:00
Přemysl Eric Janouch 98a5fcaac2 Fix the ANSI SGR export 2014-10-25 00:03:17 +02:00
Přemysl Eric Janouch ee5f1b4cf2 Rewrite to use libuv
Also instead of resize_term() we use resizeterm() because the former
seems to cause massive glitches.  Not flicker-free in urxvt anymore
though.
2014-10-24 23:01:57 +02:00
Přemysl Eric Janouch 4e1c52d798 Add a license header 2014-10-24 22:58:18 +02:00
Přemysl Eric Janouch 52e8c7ac09 Add IRC and ANSI SGR exports 2014-10-24 08:27:13 +02:00
Přemysl Eric Janouch de3c8b89bb Back the canvas with a real bitmap
The first step towards making this actually useful.

Also the canvas can be now scrolled with the middle mouse button.
2014-10-23 23:27:48 +02:00
Přemysl Eric Janouch 47e6e7fa23 Use a real indexed palette
Instead of copying attributes from the screen.

And other minor changes, e.g. don't select a colour when the mouse
is dragged over the palette, instead of clicking on it.
2014-10-23 09:23:10 +02:00
Přemysl Eric Janouch de8b897b31 Initial commit
Forked from termo's demo-draw.c
2014-10-22 23:58:25 +02:00