litoprism.git
15 months agoDependency upgrade & cargo update master
MegaBrutal [Mon, 26 Dec 2022 23:00:00 +0000 (00:00 +0100)]
Dependency upgrade & cargo update

15 months agoUse apply_to_canvas in /pgen/3 as well
MegaBrutal [Mon, 26 Dec 2022 22:30:00 +0000 (23:30 +0100)]
Use apply_to_canvas in /pgen/3 as well

15 months agoAvoid redundant closure
MegaBrutal [Sun, 25 Dec 2022 01:30:30 +0000 (02:30 +0100)]
Avoid redundant closure

15 months agoCanvas creation fails if dimensions are too large
MegaBrutal [Sun, 25 Dec 2022 01:15:00 +0000 (02:15 +0100)]
Canvas creation fails if dimensions are too large

15 months agoImplement /pgen/5
MegaBrutal [Sat, 24 Dec 2022 23:30:00 +0000 (00:30 +0100)]
Implement /pgen/5

15 months agoImplement /gen/5
MegaBrutal [Sat, 24 Dec 2022 22:30:00 +0000 (23:30 +0100)]
Implement /gen/5

15 months agoImplement /pgen/4
MegaBrutal [Sat, 24 Dec 2022 20:45:00 +0000 (21:45 +0100)]
Implement /pgen/4

15 months agoStricten color specification
MegaBrutal [Fri, 23 Dec 2022 23:45:00 +0000 (00:45 +0100)]
Stricten color specification

15 months agoGeneralize make_png and use it in /gen/4
MegaBrutal [Fri, 23 Dec 2022 00:45:00 +0000 (01:45 +0100)]
Generalize make_png and use it in /gen/4

15 months agoExtract sine wave encoding to separate function
MegaBrutal [Thu, 22 Dec 2022 23:30:00 +0000 (00:30 +0100)]
Extract sine wave encoding to separate function

16 months agoImplement /gen/4
MegaBrutal [Mon, 19 Dec 2022 00:00:00 +0000 (01:00 +0100)]
Implement /gen/4

16 months agoExperimental implementation of /gen/4
MegaBrutal [Sat, 17 Dec 2022 21:30:00 +0000 (22:30 +0100)]
Experimental implementation of /gen/4

16 months agoMacros to extract data from request
MegaBrutal [Sun, 27 Nov 2022 23:15:15 +0000 (00:15 +0100)]
Macros to extract data from request

16 months agoGet rid of to_imageresult & to_canvasresult
MegaBrutal [Sun, 27 Nov 2022 05:30:00 +0000 (06:30 +0100)]
Get rid of to_imageresult & to_canvasresult

16 months agoCreate macro to make HTTP response of image
MegaBrutal [Sun, 27 Nov 2022 01:45:00 +0000 (02:45 +0100)]
Create macro to make HTTP response of image

16 months agoLog requests
MegaBrutal [Sat, 26 Nov 2022 22:00:00 +0000 (23:00 +0100)]
Log requests

16 months agoChange package name to litoprism & dependency upgrade
MegaBrutal [Sat, 26 Nov 2022 21:45:45 +0000 (22:45 +0100)]
Change package name to litoprism & dependency upgrade

18 months agoUse argument as listen address
MegaBrutal [Sat, 15 Oct 2022 18:20:45 +0000 (20:20 +0200)]
Use argument as listen address

18 months agoResolve clippy warnings
MegaBrutal [Sat, 15 Oct 2022 17:30:00 +0000 (19:30 +0200)]
Resolve clippy warnings

18 months agoDependency upgrade & cargo update
MegaBrutal [Sat, 15 Oct 2022 16:55:00 +0000 (18:55 +0200)]
Dependency upgrade & cargo update

18 months agoImplement /pgen/3
MegaBrutal [Sat, 15 Oct 2022 16:45:45 +0000 (18:45 +0200)]
Implement /pgen/3

18 months agoImplement /gen/3
MegaBrutal [Sat, 15 Oct 2022 00:30:30 +0000 (02:30 +0200)]
Implement /gen/3

18 months agoImplement /gen/2 and /pgen/2
MegaBrutal [Tue, 11 Oct 2022 22:30:00 +0000 (00:30 +0200)]
Implement /gen/2 and /pgen/2

21 months agoImplement /pdrop
MegaBrutal [Mon, 18 Jul 2022 02:00:00 +0000 (04:00 +0200)]
Implement /pdrop

21 months agomake_png now utilizes image_to_cursor
MegaBrutal [Mon, 18 Jul 2022 00:40:30 +0000 (02:40 +0200)]
make_png now utilizes image_to_cursor

21 months agoRemove some debug messages
MegaBrutal [Mon, 18 Jul 2022 00:35:00 +0000 (02:35 +0200)]
Remove some debug messages

21 months agoCargo update
MegaBrutal [Mon, 18 Jul 2022 00:30:00 +0000 (02:30 +0200)]
Cargo update

21 months agoReturn dimensions of existing canvas
MegaBrutal [Mon, 18 Jul 2022 00:20:00 +0000 (02:20 +0200)]
Return dimensions of existing canvas

21 months agoImplement image_to_cursor to avoid redundant code
MegaBrutal [Sun, 17 Jul 2022 23:45:00 +0000 (01:45 +0200)]
Implement image_to_cursor to avoid redundant code

21 months agoForce actix-web to differentiate between canvases
MegaBrutal [Sun, 17 Jul 2022 23:15:00 +0000 (01:15 +0200)]
Force actix-web to differentiate between canvases

21 months agoImplement apply_to_canvas to avoid redundant code
MegaBrutal [Sun, 17 Jul 2022 22:30:00 +0000 (00:30 +0200)]
Implement apply_to_canvas to avoid redundant code

It takes a closure and applies it to the canvas.

21 months agoRefactor /pgen/1 to avoid drop & return
MegaBrutal [Sun, 17 Jul 2022 18:15:00 +0000 (20:15 +0200)]
Refactor /pgen/1 to avoid drop & return

21 months agoImplement /pgen/1
MegaBrutal [Sun, 17 Jul 2022 17:45:00 +0000 (19:45 +0200)]
Implement /pgen/1

21 months agoCycle through pixels
MegaBrutal [Fri, 15 Jul 2022 00:40:40 +0000 (02:40 +0200)]
Cycle through pixels

21 months agoUse actual image dimensions
MegaBrutal [Thu, 14 Jul 2022 23:40:00 +0000 (01:40 +0200)]
Use actual image dimensions

21 months agoGracefully handle non-existent canvas error
MegaBrutal [Thu, 14 Jul 2022 22:15:00 +0000 (00:15 +0200)]
Gracefully handle non-existent canvas error

21 months agoGet rid of warnings
MegaBrutal [Thu, 14 Jul 2022 21:35:00 +0000 (23:35 +0200)]
Get rid of warnings

21 months ago/pgen/0 now resizes image as /gen/0 does
MegaBrutal [Thu, 14 Jul 2022 21:30:45 +0000 (23:30 +0200)]
/pgen/0 now resizes image as /gen/0 does

21 months agoImplement /pgen/0
MegaBrutal [Thu, 14 Jul 2022 21:05:15 +0000 (23:05 +0200)]
Implement /pgen/0

21 months agoAdd env_logger
MegaBrutal [Sun, 10 Jul 2022 19:55:45 +0000 (21:55 +0200)]
Add env_logger

21 months agoEnforce maximum image size
MegaBrutal [Sun, 26 Jun 2022 00:20:00 +0000 (02:20 +0200)]
Enforce maximum image size

21 months agoReturn error on too much data
MegaBrutal [Sat, 25 Jun 2022 23:30:00 +0000 (01:30 +0200)]
Return error on too much data

21 months agoImplement /gen/1
MegaBrutal [Sat, 25 Jun 2022 22:45:00 +0000 (00:45 +0200)]
Implement /gen/1

21 months agoMake_png now accepts processed data
MegaBrutal [Sat, 25 Jun 2022 22:15:00 +0000 (00:15 +0200)]
Make_png now accepts processed data

21 months agoGeneric make_png function
MegaBrutal [Sat, 25 Jun 2022 22:00:00 +0000 (00:00 +0200)]
Generic make_png function

21 months agoChange path to /gen/0
MegaBrutal [Sat, 25 Jun 2022 21:00:15 +0000 (23:00 +0200)]
Change path to /gen/0

21 months agoProcess raw path
MegaBrutal [Sat, 25 Jun 2022 20:45:00 +0000 (22:45 +0200)]
Process raw path

UTF-8 conversion corrupted the intended data.

21 months agoPercent decode
MegaBrutal [Sat, 25 Jun 2022 10:30:00 +0000 (12:30 +0200)]
Percent decode

21 months agoConvert input to pixel data
MegaBrutal [Fri, 24 Jun 2022 23:15:00 +0000 (01:15 +0200)]
Convert input to pixel data

21 months agoPut red pixels from data
MegaBrutal [Fri, 24 Jun 2022 20:55:45 +0000 (22:55 +0200)]
Put red pixels from data

21 months agoBlank image generator
MegaBrutal [Thu, 23 Jun 2022 01:30:00 +0000 (03:30 +0200)]
Blank image generator

21 months agoInitial commit
MegaBrutal [Wed, 22 Jun 2022 23:30:00 +0000 (01:30 +0200)]
Initial commit