xscreenshot, branch HEAD screen capture tool caf336af3691d3514b5b0afb596b4dfaf273f1e2 2020-03-03T23:49:33Z 2020-03-03T23:49:33Z small README tweak + remove comment Hiltjo Posthuma hiltjo@codemadness.org commit caf336af3691d3514b5b0afb596b4dfaf273f1e2 parent e2d09a8e0399846975b3bd8d09fa482d65f95617 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 4 Mar 2020 00:49:33 +0100 small README tweak + remove comment e2d09a8e0399846975b3bd8d09fa482d65f95617 2020-03-03T23:40:58Z 2020-03-03T23:40:58Z README: reword a few things Hiltjo Posthuma hiltjo@codemadness.org commit e2d09a8e0399846975b3bd8d09fa482d65f95617 parent a61ce36c878f7bd110fa7c0753efa4d12fbb6304 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 4 Mar 2020 00:40:58 +0100 README: reword a few things a61ce36c878f7bd110fa7c0753efa4d12fbb6304 2020-03-03T23:40:39Z 2020-03-03T23:40:39Z improve Makefile Hiltjo Posthuma hiltjo@codemadness.org commit a61ce36c878f7bd110fa7c0753efa4d12fbb6304 parent 7b7a88a34cf8da48cd07a87357e65cfd54befcaa Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 4 Mar 2020 00:40:39 +0100 improve Makefile - rm config.mk - just be verbose. - fix 'dist' target. - remove 'options' target. - change man page location to OpenBSD it's location by default. - respect system CFLAGS/LDFLAGS asmuch as possible by default. 7b7a88a34cf8da48cd07a87357e65cfd54befcaa 2020-03-03T23:30:23Z 2020-03-03T23:30:23Z rm .gitignore Hiltjo Posthuma hiltjo@codemadness.org commit 7b7a88a34cf8da48cd07a87357e65cfd54befcaa parent f6c6ca5f7a38cf8e3f415ead5d53169b46d95e29 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 4 Mar 2020 00:30:23 +0100 rm .gitignore f6c6ca5f7a38cf8e3f415ead5d53169b46d95e29 2020-01-28T21:24:37Z 2020-01-28T21:24:37Z fix url in README and fix LICENSE Hiltjo Posthuma hiltjo@codemadness.org commit f6c6ca5f7a38cf8e3f415ead5d53169b46d95e29 parent 6b5515432737f1a4c93c8691829f0a17b8f42a5d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 28 Jan 2020 22:24:37 +0100 fix url in README and fix LICENSE 6b5515432737f1a4c93c8691829f0a17b8f42a5d 2016-07-27T17:18:30Z 2016-07-27T17:18:30Z xscreenshot.1: add xwininfo(1) as reference Hiltjo Posthuma hiltjo@codemadness.org commit 6b5515432737f1a4c93c8691829f0a17b8f42a5d parent f6e5f87ec62d886c4acd7b3bd77adf5801242f03 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 27 Jul 2016 19:18:30 +0200 xscreenshot.1: add xwininfo(1) as reference as suggested by Svyatoslav Mishyn, thanks! f6e5f87ec62d886c4acd7b3bd77adf5801242f03 2016-02-25T19:34:41Z 2016-02-25T19:34:41Z remove double newlines from errx() Hiltjo Posthuma hiltjo@codemadness.org commit f6e5f87ec62d886c4acd7b3bd77adf5801242f03 parent 895ec4bf5e0ff2ff52e27d62a88f7927d8fc470c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 25 Feb 2016 20:34:41 +0100 remove double newlines from errx() 895ec4bf5e0ff2ff52e27d62a88f7927d8fc470c 2016-02-24T19:01:13Z 2016-02-24T19:01:13Z add 16-bit colour support (only 5-6-5 format). Hiltjo Posthuma hiltjo@codemadness.org commit 895ec4bf5e0ff2ff52e27d62a88f7927d8fc470c parent d8f8fff9489a4e0521b682d2d9ab0698ad2b6422 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 24 Feb 2016 20:01:13 +0100 add 16-bit colour support (only 5-6-5 format). Add 16-bit bpp colour support, only 5-6-6 format is assumed and supported. Check explcitly for 16-bit, 24-bit and 32-bit. Thanks Dwight Hower for the idea/feedback! d8f8fff9489a4e0521b682d2d9ab0698ad2b6422 2016-02-24T19:00:25Z 2016-02-24T19:00:25Z use standard BSD err functions Hiltjo Posthuma hiltjo@codemadness.org commit d8f8fff9489a4e0521b682d2d9ab0698ad2b6422 parent e8fe465251d2897d54eaa451d9d653ff025a18e5 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 24 Feb 2016 20:00:25 +0100 use standard BSD err functions add -D_BSD_SOURCE and -D_DEFAULT_SOURCE to cpp flags e8fe465251d2897d54eaa451d9d653ff025a18e5 2016-02-24T18:57:56Z 2016-02-24T18:57:56Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit e8fe465251d2897d54eaa451d9d653ff025a18e5 parent 09f10196b609f477adfd6d1692508434954c3566 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 24 Feb 2016 19:57:56 +0100 bump LICENSE year 09f10196b609f477adfd6d1692508434954c3566 2015-11-17T21:40:45Z 2015-11-17T21:43:35Z Make conversion from RGB8 to RGB16 more accurate z3bra willyatmailoodotorg commit 09f10196b609f477adfd6d1692508434954c3566 parent b0165f794fa7eee32c3c29933f60d05e122e9c4d Author: z3bra <willyatmailoodotorg> Date: Tue, 17 Nov 2015 22:40:45 +0100 Make conversion from RGB8 to RGB16 more accurate Each value has to be multiplied by 257 (65535/255), and not left-rotated by 8 bits. Thanks FRIGN! b0165f794fa7eee32c3c29933f60d05e122e9c4d 2015-11-17T20:20:54Z 2015-11-17T20:20:54Z Avoid using the non-portable endian.h conversion functions Hiltjo Posthuma hiltjo@codemadness.org commit b0165f794fa7eee32c3c29933f60d05e122e9c4d parent 99787cb985153f007e66f2fd53e2279ee6f7333c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 17 Nov 2015 21:20:54 +0100 Avoid using the non-portable endian.h conversion functions Use the arpa/inet.h conversion functions which are standardized in POSIX. Idea copied over from farbfeld (thanks stateless!). 99787cb985153f007e66f2fd53e2279ee6f7333c 2015-11-16T21:05:32Z 2015-11-16T21:05:32Z remove TODO Hiltjo Posthuma hiltjo@codemadness.org commit 99787cb985153f007e66f2fd53e2279ee6f7333c parent bcf725e82616a2ff64e4cc70c529c185440df14d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 22:05:32 +0100 remove TODO bcf725e82616a2ff64e4cc70c529c185440df14d 2015-11-16T21:04:24Z 2015-11-16T21:04:24Z xscreenshot: descriptive error message on invalid winid Hiltjo Posthuma hiltjo@codemadness.org commit bcf725e82616a2ff64e4cc70c529c185440df14d parent c776bb923767e4ca1fa1e6179cfc37e3d0babc0a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 22:04:24 +0100 xscreenshot: descriptive error message on invalid winid c776bb923767e4ca1fa1e6179cfc37e3d0babc0a 2015-11-16T20:22:36Z 2015-11-16T20:22:36Z xscreenshot.1: convert to mandoc Hiltjo Posthuma hiltjo@codemadness.org commit c776bb923767e4ca1fa1e6179cfc37e3d0babc0a parent 11794e5af35d61c0477e1a267c862939c2c8f674 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 21:22:36 +0100 xscreenshot.1: convert to mandoc 11794e5af35d61c0477e1a267c862939c2c8f674 2015-11-16T20:22:16Z 2015-11-16T20:22:16Z some more minor code-style improvements Hiltjo Posthuma hiltjo@codemadness.org commit 11794e5af35d61c0477e1a267c862939c2c8f674 parent cd1359cce761e458e956453bd99b4bac021723f2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 21:22:16 +0100 some more minor code-style improvements cd1359cce761e458e956453bd99b4bac021723f2 2015-11-16T16:58:49Z 2015-11-16T16:58:49Z style changes Hiltjo Posthuma hiltjo@codemadness.org commit cd1359cce761e458e956453bd99b4bac021723f2 parent 85ee16921ed51359ffe1496f7380684f5a03979d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 17:58:49 +0100 style changes 85ee16921ed51359ffe1496f7380684f5a03979d 2015-11-16T16:52:49Z 2015-11-16T16:52:49Z config.mk: improvements, allow to override X11INC and X11LIB Hiltjo Posthuma hiltjo@codemadness.org commit 85ee16921ed51359ffe1496f7380684f5a03979d parent 8a6fbfbed1428dc71588d6a1b86730e0da055163 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 17:52:49 +0100 config.mk: improvements, allow to override X11INC and X11LIB 8a6fbfbed1428dc71588d6a1b86730e0da055163 2015-11-16T16:50:12Z 2015-11-16T16:50:12Z add farbeld support, kudos to z3bra! Hiltjo Posthuma hiltjo@codemadness.org commit 8a6fbfbed1428dc71588d6a1b86730e0da055163 parent cb8ad238bc437ee427cddac7507d90d89dc7051c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 16 Nov 2015 17:50:12 +0100 add farbeld support, kudos to z3bra! cb8ad238bc437ee427cddac7507d90d89dc7051c 2014-07-28T18:46:18Z 2014-07-28T18:47:12Z config.mk: remove some flags and unneeded defines Hiltjo Posthuma hiltjo@codemadness.org commit cb8ad238bc437ee427cddac7507d90d89dc7051c parent 1f1d1ce39921ed510d6927243da836a906f0f26d Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 18:46:18 +0000 config.mk: remove some flags and unneeded defines Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> 1f1d1ce39921ed510d6927243da836a906f0f26d 2014-07-28T18:35:39Z 2014-07-28T18:44:56Z Refactor pixel-calculation Laslo Hunhold dev@frign.de commit 1f1d1ce39921ed510d6927243da836a906f0f26d parent d027bcf68df72a92e3b0f6d2b7b97e73e736f4ed Author: Laslo Hunhold <dev@frign.de> Date: Mon, 28 Jul 2014 18:35:39 +0000 Refactor pixel-calculation patch slightly adjusted to avoid type warnings. d027bcf68df72a92e3b0f6d2b7b97e73e736f4ed 2014-07-28T15:21:28Z 2014-07-28T14:07:59Z xscreenshot improvements, thanks sin and frign! Hiltjo Posthuma hiltjo@codemadness.org commit d027bcf68df72a92e3b0f6d2b7b97e73e736f4ed parent 82ccf27dff05c70fe7c0bcde466edb9a36aa0314 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 15:21:28 +0000 xscreenshot improvements, thanks sin and frign! - use imagefile tools for conversion, don't depend on libpng anymore directly. - use XGetPixel to get pixel values. - update documentation accordingly. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> 82ccf27dff05c70fe7c0bcde466edb9a36aa0314 2014-07-28T14:55:24Z 2014-07-28T14:55:24Z update TODO Hiltjo Posthuma hiltjo@codemadness.org commit 82ccf27dff05c70fe7c0bcde466edb9a36aa0314 parent 5e5fc6da22d1a496e21a52941af91f85b58186d2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 14:55:24 +0000 update TODO Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> 5e5fc6da22d1a496e21a52941af91f85b58186d2 2014-07-28T14:55:17Z 2014-07-28T14:55:17Z add usage information Hiltjo Posthuma hiltjo@codemadness.org commit 5e5fc6da22d1a496e21a52941af91f85b58186d2 parent 5f514c5284b3db94ecb4db1fea1e387d66ed4651 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 14:55:17 +0000 add usage information Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> 5f514c5284b3db94ecb4db1fea1e387d66ed4651 2014-07-28T14:46:43Z 2014-07-28T14:46:43Z add suckless Makefile + VERSION Hiltjo Posthuma hiltjo@codemadness.org commit 5f514c5284b3db94ecb4db1fea1e387d66ed4651 parent 2d869ad3f9af08d8fd02fe07f8002a892ccfc2d2 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 14:46:43 +0000 add suckless Makefile + VERSION Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> 2d869ad3f9af08d8fd02fe07f8002a892ccfc2d2 2014-07-28T14:46:11Z 2014-07-28T14:46:11Z add manpage Hiltjo Posthuma hiltjo@codemadness.org commit 2d869ad3f9af08d8fd02fe07f8002a892ccfc2d2 parent cb982e93f664eb8052bb180a5faac8fb02718a83 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 28 Jul 2014 14:46:11 +0000 add manpage Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> cb982e93f664eb8052bb180a5faac8fb02718a83 2014-07-28T11:48:33Z 2014-07-28T11:48:33Z No need to have self-explanatory comments sin sin@2f30.org commit cb982e93f664eb8052bb180a5faac8fb02718a83 parent 540d4dc0fb64b33d5f8050cc80affe513c37199e Author: sin <sin@2f30.org> Date: Mon, 28 Jul 2014 12:48:33 +0100 No need to have self-explanatory comments 540d4dc0fb64b33d5f8050cc80affe513c37199e 2014-07-28T11:46:00Z 2014-07-28T11:46:00Z Ungrab X as quickly as possible and close display sin sin@2f30.org commit 540d4dc0fb64b33d5f8050cc80affe513c37199e parent 1cf03c53b280d3fe21dac843504dd54e9b64e4b6 Author: sin <sin@2f30.org> Date: Mon, 28 Jul 2014 12:46:00 +0100 Ungrab X as quickly as possible and close display Avoids deadlock when trying to output to stdout but the terminal can't process any events because of the grabbed X. 1cf03c53b280d3fe21dac843504dd54e9b64e4b6 2014-07-27T21:22:39Z 2014-07-27T21:22:39Z initial import Hiltjo Posthuma hiltjo@codemadness.org commit 1cf03c53b280d3fe21dac843504dd54e9b64e4b6 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 27 Jul 2014 21:22:39 +0000 initial import Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>