Commit Graph

186 Commits

Author SHA1 Message Date
Hill Ma
a238a0ea6f gif: faster median cut quantization 2022-11-09 20:48:18 -08:00
Antoni Sawicki
444b7b31d7 update copyrights 2022-11-06 01:41:40 -08:00
Antoni Sawicki
76e72d5368 bump version 2022-11-06 01:39:03 -08:00
Antoni Sawicki
c4d9833707 add todo 2022-11-06 01:38:31 -08:00
Antoni Sawicki
9cd286add8 if/else to switch 2022-11-06 01:20:18 -08:00
Antoni Sawicki
fdfbe80024 more fortunate name static->builtin 2022-11-06 01:12:26 -08:00
Antoni Sawicki
d602124ed6 replace out/req with more common w/r 2022-11-06 01:11:49 -08:00
Antoni Sawicki
6e5e829b02 rename w to rq so that w can be used for http writer 2022-11-06 01:07:21 -08:00
Antoni Sawicki
f978d91ba9 make wrp request have methods for readability 2022-11-06 01:04:00 -08:00
Antoni Sawicki
9b15feacb2 fix chromedp scrollbar capture 2022-11-06 01:47:59 -07:00
Antoni Sawicki
08a89c6097 update dependencies 2022-11-06 00:51:44 -07:00
Antoni Sawicki
fa3bd3f8fb print time took to encode gif 2022-11-06 00:27:10 -07:00
Josh Deprez
8a9870d8e2 Remove unneeded go:generate directive 2022-03-17 02:34:22 +00:00
Josh Deprez
7c33bc67dc Replace statik with embed 2022-03-17 02:27:34 +00:00
Antoni Sawicki
cfb608c1f3 rename Scale to Zoom 2021-03-08 05:02:22 -08:00
Antoni Sawicki
c7811a6886 add support for Stop and Reload buttons 2021-03-08 04:41:13 -08:00
Antoni Sawicki
3b88b8665b tidy up 2021-03-08 04:26:09 -08:00
Antoni Sawicki
700c4aa495 rearrange functions to be groupped together 2020-11-05 08:05:50 -08:00
Antoni Sawicki
f05dde8188 remove methods as they don't change state, wrpReq is an input to a function 2020-11-05 07:43:06 -08:00
Antoni Sawicki
2a22cfd755 add more camels 2020-10-31 08:51:20 -07:00
Antoni Sawicki
a79f477948 add support for built-in wrp.html 2020-10-29 07:16:14 -07:00
Antoni Sawicki
c036841c0a revert sleep setting 2020-10-27 04:39:14 -07:00
Antoni Sawicki
878f43af75 add initial support for ui/html template 2020-10-27 04:35:57 -07:00
Antoni Sawicki
b54ebbf9e5 move chromedp.Sleep to just before screenshot to fix render issue 2020-10-27 04:05:17 -07:00
Antoni Sawicki
5dc4699ac9 add missing return 2020-10-27 03:44:43 -07:00
Antoni Sawicki
d6b33ad140 remove else to improve readability 2020-10-26 01:49:03 -07:00
Antoni Sawicki
3dddb70be0 remove else to improve readability 2020-10-26 01:42:11 -07:00
Antoni Sawicki
3ff226e1df reverse headed and headless to improve readability 2020-10-26 01:37:25 -07:00
Antoni Sawicki
1ddf005a23 if to switch to improve readability 2020-10-26 01:32:09 -07:00
Antoni Sawicki
69efa1fb92 if to switch to improve readability 2020-10-26 01:27:21 -07:00
Antoni Sawicki
2c2fbd11a6 refactor stuff to improve readability 2020-10-26 01:21:42 -07:00
debounce
36427fac64 add support for monochrome 2 colors 2020-09-28 12:19:27 -07:00
Antoni Sawicki
c64380dd72 args print with %q 2020-04-27 12:29:18 -07:00
Antoni Sawicki
4d911cb330 add printing image type / geometry 2020-04-27 12:22:59 -07:00
Antoni Sawicki
311bb829da print args to aid debugging 2020-04-27 12:12:39 -07:00
Antoni Sawicki
b90300ba2d allow env var PORT to override listen address flag for Cloud RUN, etc 2020-04-27 01:05:02 -07:00
Antoni Sawicki
ef04d2da72 more fortunate log entry for wrpreq/from 2020-04-26 01:33:20 -07:00
Antoni Sawicki
2e9773f705 break down footer fprintf to multiple lines 2020-04-26 01:32:08 -07:00
Antoni Sawicki
0957fedaee change image size from MB to KB 2020-04-26 01:25:28 -07:00
Antoni Sawicki
60ca1a0d50 lame attempt at restarting cancelled context 2020-04-26 00:23:31 -07:00
Antoni Sawicki
34b25be7d7 rename wrpReq variable names to be more readable 2020-04-25 23:56:14 -07:00
Antoni Sawicki
c4e3671468 add some comments 2020-04-24 03:09:20 -07:00
Antoni Sawicki
f73c778b7c add some comments 2020-04-24 03:06:21 -07:00
Antoni Sawicki
c9cedb7f81 split capture with kbdmouse function 2020-04-24 02:45:34 -07:00
Antoni Sawicki
f69a6e5219 include http req and out in wrpReq sturct 2020-04-24 00:47:11 -07:00
Antoni Sawicki
b30458930b copyright update 2020-04-23 03:27:16 -07:00
Antoni Sawicki
62b11cb216 fix css computed style property type 2020-04-23 03:25:39 -07:00
Antoni Sawicki
e2c06b2e7b change int64 to float64 for chromedp.MouseClickXY 2019-12-25 03:04:46 -08:00
Antoni Sawicki
af5174456a add propper img src width and height and log dimension 2019-11-13 00:22:07 -08:00
Antoni Sawicki
a91cc60a51 fix footer to render on mosaic hpux 2019-11-03 18:37:15 -08:00
Antoni Sawicki
51cd108bad scale is now a dropdown 2019-11-03 17:53:20 -08:00
Antoni Sawicki
cd2cf0baae char dangling in select dropdown 2019-11-03 17:41:11 -08:00
Antoni Sawicki
a344d177d6 footer and img alt displays page height and image size 2019-11-03 17:24:18 -08:00
Antoni Sawicki
02766d8844 footer to pass img type in request 2019-11-03 17:03:00 -08:00
Antoni Sawicki
91091cf94b png/gif is now a dropdown 2019-11-03 16:58:38 -08:00
Antoni Sawicki
95d9de7348 added flag to supply default geometry/size 2019-11-03 15:38:26 -08:00
Antoni Sawicki
6449c64e36 support unlimited page lenght via height=0 2019-11-03 15:01:05 -08:00
Antoni Sawicki
b058831ec6 fixed float/int casting 2019-11-03 01:00:44 -07:00
Antoni Sawicki
7c50c6e841 increase size of url input box 2019-11-03 00:59:56 -07:00
Antoni Sawicki
2f2e99eb85 changed imgmap to img for better readability 2019-11-03 00:56:04 -07:00
Antoni Sawicki
eb4201c56b added initial support for png image output 2019-08-22 00:38:36 -07:00
Antoni Sawicki
4cd55b31b0 adaptive background color 2019-08-12 23:35:29 -07:00
Antoni Sawicki
66412fa95e add debug option to not delete images and maps from memory 2019-08-08 02:31:23 -07:00
Antoni Sawicki
357f3ed6bf ver bump 2019-08-04 09:21:17 -07:00
Antoni Sawicki
97c0679e0b smaller font for status line 2019-08-04 09:08:23 -07:00
Antoni Sawicki
0e07f422f6 fix content type for shutdown 2019-08-04 00:39:21 -07:00
Antoni Sawicki
ba4183e0b4 4.3 2019-07-17 00:05:01 -07:00
Antoni Sawicki
6c29008eb5 added cache control cruft 2019-07-16 22:47:23 -07:00
Antoni Sawicki
bb84d43d31 fixed handling interrupts and shutdown 2019-07-16 22:29:35 -07:00
Antoni Sawicki
22dd6aaab2 removed alt as it was being annoying in netscape 2019-07-14 01:54:41 -07:00
Antoni Sawicki
d102016ba9 reduced sleep to 2 sec 2019-07-14 01:53:55 -07:00
Antoni Sawicki
253fef2aad fixed logging for wrpreq from from 2019-07-14 01:53:33 -07:00
Antoni Sawicki
cebebfa408 ver bump 2019-07-13 00:42:27 -07:00
Antoni Sawicki
9d7bb952c5 added buttons for backspace, enter and arrows 2019-07-13 00:40:56 -07:00
Antoni Sawicki
733efaea56 ver bump 2019-07-12 02:25:17 -07:00
Antoni Sawicki
a3661003b0 add support for sending keys in to web forms 2019-07-12 01:51:23 -07:00
Antoni Sawicki
7baaa0bd6e more clicky stuff 2019-07-10 23:58:40 -07:00
Antoni Sawicki
e5e5e321e8 more cruft to make clicks work 2019-07-10 18:09:20 -07:00
Antoni Sawicki
650ac026c3 comments 2019-07-10 01:20:18 -07:00
Antoni Sawicki
579d67f7fb made clicky work somehow 2019-07-10 01:01:40 -07:00
Antoni Sawicki
eb1476e579 fix 2019-06-26 01:25:50 -07:00
Antoni Sawicki
f599a51c8d added more clicky cruft 2019-06-26 01:07:13 -07:00
Antoni Sawicki
dedf7479b8 clicky data encoding 2019-06-25 17:07:43 -07:00
Antoni Sawicki
1f5592cbde initial 2019-06-24 00:40:34 -07:00
Antoni Sawicki
ceb6a67ff3 added shutdown handler 2019-06-17 23:53:22 -07:00
Antoni Sawicki
3ee146dee7 fix for #38, changed Content to Padding 2019-06-17 00:39:32 -07:00
Antoni Sawicki
1e58c94263 fix for #40 hang on page with no nodes, added timeout for cdp.Nodes 2019-06-17 00:38:52 -07:00
Antoni Sawicki
ce51eb6226 because lint said so 2019-06-17 00:21:32 -07:00
Antoni Sawicki
92f3cb7aee create new context on context cancelled 2019-06-08 17:32:35 -07:00
Antoni Sawicki
d9381ef71a print error message when failed to start server 2019-06-08 17:30:30 -07:00
Antoni Sawicki
dc6c8eca52
Merge pull request #39 from djames1/master
Add support for PPC64 Little Endian, fix incorrect spelling in wrp.go and README.md
2019-06-06 01:21:23 -07:00
Antoni Sawicki
849239fc8e added real color quantizer, number of colors works now 2019-06-06 01:06:36 -07:00
Daniel James
2671fc236c wrp.go: Fixed typos 2019-06-06 04:01:19 -04:00
Antoni Sawicki
89f5f556f9 assign to map before flush 2019-06-06 00:15:57 -07:00
Antoni Sawicki
af3aef5c39 switched to websafe color pallete, disabled number of colors input box for now 2019-06-06 00:15:36 -07:00
Antoni Sawicki
06317022a6 better scaling 2019-06-04 01:30:00 -07:00
Antoni Sawicki
69d4b39eff restored context 2019-06-04 01:23:46 -07:00
Antoni Sawicki
5f6a1154df single line toolbar 2019-06-04 01:20:41 -07:00
Antoni Sawicki
d6005b52fd removed halt server 2019-06-04 01:20:19 -07:00
Antoni Sawicki
fabcd721c3 obtain server address from context, -l no longer needed 2019-06-04 00:58:45 -07:00