qrenc.c

Branch


Log

Author Commit Date CI Message
Younes Khoudli 77de38ef 2018-11-18T00:30:52 usage: document the existence of the UTF8i and ANSIUTF8i options
Kentaro Fukuchi 4fdf22ac 2020-08-28T16:47:35 Documentation updates.
Kentaro Fukuchi df6d4a9b 2020-08-28T16:36:12 A new option '--strict-version' has been introduced.
Kentaro Fukuchi d9692de8 2020-08-28T16:27:27 Micro QR Code no longer requires to specify the version number.
Kentaro Fukuchi 53b637a1 2020-08-28T13:33:40 The manpage and help messages have been improved. (Thanks to @jidanni)
András Veres-Szentkirályi 6eae956f 2018-06-12T17:05:13 added ANSI256UTF8 format ANSI256 uses full blocks (1 pixel -> 2 characters), while ANSIUTF8 uses 3/4 bit color codes, and qrencode missed a combination of the two, which - uses UTF-8 half blocks (2 pixel -> 1 character) and - uses 8 bit color codes.
Kentaro Fukuchi 2b9af95c 2017-10-20T12:32:20 Short option '-I' for '--inline' disabled.
Jonathan Bennett 22296ecf 2017-10-16T11:59:23 Adds the --inline option, which omits the xml tag for SVG output.
Kentaro Fukuchi 06494038 2017-10-08T02:17:28 Fixed some warnings. (closing #89 and #102)
Kentaro Fukuchi 3e629c7b 2017-09-11T14:38:53 data buffer now allocated as a static array.
Kentaro Fukuchi 51f27950 2017-09-06T04:36:57 Copyright year updated.
Kentaro Fukuchi 785c5875 2017-03-15T12:12:05 The URI to the primary site has been updated.
Sebastian Buchwald 817d291f 2016-05-28T20:38:08 Simplify else if combinations
Sebastian Buchwald b2ed28b0 2016-05-28T20:00:51 Remove unreachable code
Sebastian Buchwald 04dafaac 2016-05-28T19:59:35 Remove empty statement
Kentaro Fukuchi 5b2e0a10 2016-05-18T02:38:41 Merge pull request #72 from UniQP/master Cleanups / Compiler warnings
Kentaro Fukuchi d0284837 2015-11-04T02:01:31 Added new configure option "--without-png". (closes #70)
Michał Górny 0d6e1c4f 2015-10-07T14:55:57 Support inverted UTF8 output Add support for UTF8i and ANSIUTF8i formats that provide reverse mappings of UTF8 and ANSIUTF8 formats respective. This is useful for black-on-white media.
Sebastian Buchwald 35756318 2015-08-17T18:14:21 Removed superfluous format flags.
Sebastian Buchwald 08069c6e 2015-08-17T17:22:15 Remove trailing whitespaces.
Kentaro Fukuchi b4205db5 2015-05-06T05:41:50 New option "--svg-path" has been added, that uses a single path instead of multiple rectangles to draw the modules.
Kentaro Fukuchi fb7c9805 2015-05-05T04:15:21 Some code cleanups.
Kentaro Fukuchi 6faa43ba 2015-05-05T02:16:48 Usage and documentation work.
Kentaro Fukuchi 02196ad7 2015-05-05T02:06:57 Merge pull request #65 from tklauser/xpm qrencode: Implement X Pixmap (XPM) support
Kentaro Fukuchi 7ee99e27 2015-05-05T01:43:32 Usage improved. (Thanks to @minus7)
Kentaro Fukuchi 3035b5ea 2015-05-05T00:30:30 Fixed some typos.
Robert Petersen 80989141 2015-04-28T15:57:36 check the file pointer to make sure the input file is readable
Robert Petersen e206bf32 2015-04-28T15:50:46 Fixed type in help text
Robert Petersen dd171885 2015-04-28T15:47:46 Added -r option to read input data from a file in addition to STDIN and the command line.
Tobias Klauser 732abc62 2015-03-06T12:27:41 qrencode: Implement X Pixmap (XPM) support closes #52
Tobias Klauser eef79f66 2015-03-05T14:13:47 qrenc: Fix array overrun in color_set If len is 8 we read 4 members from the string and store them in the temporary array col (which is only 3 elements long). Fix it by increasing the size of col.
Kentaro Fukuchi b8935bf0 2014-09-08T04:38:22 Added color support for EPS output. (closes #55)
Kentaro Fukuchi f2ec7368 2014-07-24T18:56:11 Added new option, "verbose".
Kentaro Fukuchi 8ceba943 2014-07-08T06:24:38 Some possible minor bug fixes and code cleanups.
Kentaro Fukuchi 988c6c9f 2014-07-08T01:18:51 Code cleanups.
Kentaro Fukuchi 59504b79 2014-07-07T03:21:32 Serious typo fix.
Kentaro Fukuchi 2a40ac85 2014-07-07T03:03:57 Code cleanup.
Kentaro Fukuchi a2f6d4cc 2014-07-06T07:54:39 New image type PNG32 has been added.
Kentaro Fukuchi 379a1d1f 2014-07-04T09:37:41 Copyright year updated.
Kentaro Fukuchi 3999eeb1 2014-06-27T05:04:38 Fixed some format issues.
antenore@simbiosi.org e3f473fb 2014-02-28T09:26:27 Updated qrencode documentation, adding SYMBOL VERSIONS section
Kentaro Fukuchi 5914c0cd 2014-02-14T09:01:15 Messages improved.
Kentaro Fukuchi d7066c29 2014-01-15T01:32:31 Usage modified.
doerrhoefer 3be2a613 2014-01-10T21:21:34 "usage" function distinguishes between explicit call and a wrong usage. explicit = stdout. else = stderr
doerrhoefer dd39c4b9 2014-01-10T14:37:29 EXIT_FAILURE is returned at argc == 1. Just in case that qrencode is used in a shell script. error message instead of usage(1,0).
doerrhoefer c9fb08cf 2014-01-10T12:25:33 commandline argument --help and -V is printed to stdout, instead of stderr.
Kentaro Fukuchi 3bb18adf 2013-09-06T19:08:36 bzero() has been replaced with memset(). (Thanks to Gavin Andresen)
Kentaro Fukuchi 220b6687 2013-08-15T16:59:55 Help messages improved.
Kentaro Fukuchi 09760657 2013-08-15T16:50:57 Bumped version to 3.9.0.
Kentaro Fukuchi cfa43209 2013-08-11T15:35:07 Copyright year updatd.
Kentaro Fukuchi 06de45d6 2013-07-16T11:10:47 Merge branch 'master' of github.com:fukuchi/libqrencode
Kentaro Fukuchi fd06c8ab 2013-07-16T11:09:16 Missing breaks in switch. (Thanks to ßlúèÇhîp)
doerrhoefer cb7f5de2 2013-06-18T22:18:39 Removed the "r" in *optstring. short version -r as an option removed.
Kentaro Fukuchi 656987b2 2013-06-19T01:09:48 Removed '-r' option (short for '--rle').
Kentaro Fukuchi 78a3d7e8 2013-06-19T00:31:32 Merge branch '3.4'
Kentaro Fukuchi 11ac32eb 2013-06-19T00:23:23 Removed magic comment.
doerrhoefer 1473fee1 2013-06-17T11:16:29 Added command line option -r -rle. This is used to enable run-length encoding for svg output. Removed run-length encoding by default in function writeSVG.
Kentaro Fukuchi dbc71930 2013-03-26T10:36:58 Buffer overrun bug has been fixed / Code cleanups.
Kentaro Fukuchi d5dbf14a 2013-03-26T09:16:59 Memory leak bug has been fixed. (Thanks to Hassan Hajji)
Kentaro Fukuchi 0d8b58a1 2013-02-17T14:58:23 Now includes "string.h" by itself for libpng16. (Thanks to Petr)
Kentaro Fukuchi 2e08c298 2012-10-09T23:47:22 Inkscape-friendly SVG output.
Kentaro Fukuchi bf7c669f 2012-10-09T04:27:23 Improved Usage.
Yann Droneaud baae95dc 2012-09-24T11:04:03 check color component strings decoding New options --foreground and --background try to decode strings in form RRGGBB[AA] where RGBA are hexadecimal digits. But color_set() function does not ensure that the string contains only hexadecimal digit. This patch add a basic check on the number of item decoded by sscanf() and add a check on the length of te parsed string. The string is known to have the number of color components required and being fully decoded. Signed-off-by: Yann Droneaud <yann@droneaud.fr>
Kentaro Fukuchi cae4640b 2012-09-22T22:54:42 Color palette support has been added.
Kentaro Fukuchi 80e7a296 2012-09-18T03:14:59 Merge pull request #19 from mezcalero/master qrenc: add output mode for drawing smaller QR codes using UTF8 box drawing characters
Kentaro Fukuchi f8583120 2012-09-13T17:39:06 Set XML(SVG) declaration's 'standalone' to 'yes'.
Kentaro Fukuchi ff195cf1 2012-09-04T13:28:35 A bug introduced in 'b3d5f7' has been reverted. (Thanks to Terry)
Kentaro Fukuchi b3d5f793 2012-09-03T17:44:28 Integrated David's SVG patch.
Lennart Poettering 92e28998 2012-08-20T20:50:46 qrenc: add output mode for drawing smaller QR codes using UTF8 box drawing characters This patch adds "-t utf8" and "-t ansiutf8" to the qrencode tool, which outputs a QR code using UTF8 box drawing characters. This doubles the density of QR codes printed on terminals, and should be supported by virtuallly all modern terminals, including xterm, gnome-terminal and the Linux console.
Kentaro Fukuchi 8645d6c4 2012-04-19T12:52:10 Merge commit '86ccc'
Kentaro Fukuchi 17782a2a 2012-04-18T22:59:02 EPS dot size bug has been fixed (closes: #12).
Kentaro Fukuchi 0baad748 2012-04-11T10:57:15 Paper size and margin are now set properly in SVG output.
Kentaro Fukuchi cd20baf3 2012-04-10T02:54:45 Pulled request #10 (SVG patch).
Repox de434069 2012-04-04T14:44:49 Removed white background and margin for SVG output
Repox d5211ab4 2012-04-03T17:57:23 Added the SVG in the short help
Repox 4d69b10e 2012-04-03T16:43:04 Added SVG output addressing issue #8
Kentaro Fukuchi 7d0f258d 2012-04-02T00:29:02 ASCII mode now handles ".txt" suffix correctly.
Kentaro Fukuchi 2e6cea83 2012-04-02T00:12:00 Small code cleanups.
Kentaro Fukuchi 89618d5a 2012-04-02T00:04:56 ASCII mode has been added. (Thanks to Ralf Ertzinger)
Kentaro Fukuchi c4ae0215 2012-03-31T14:27:27 Copyright year has been updated.
Kentaro Fukuchi 61974a4c 2012-02-28T19:27:08 Release date updated. Copyright years updated.
Kentaro Fukuchi ceab77a9 2012-01-31T12:41:52 Quick bug fix intrdocud in 09b72eb3070a36461eb83c1ec5237e4855ee515b.
Kentaro Fukuchi a8979a6d 2012-01-19T22:11:24 Default margin size has been rollbacked to 4 for ANSI(256).
Kentaro Fukuchi 09b72eb3 2012-01-19T21:56:43 Code refactoring. Now you can omit "-o -" for EPS and ANSI output.
Kentaro Fukuchi 12f5b16d 2012-01-19T20:18:39 Merge branch 'master' into 3.2
Kentaro Fukuchi 8b709719 2012-01-19T19:52:40 Small warning fix.
Kentaro Fukuchi a1603d55 2012-01-19T19:50:47 QRcode_APIVersion() and QRcode_APIVersionString() have been added.
Colin 4271ebfa 2012-01-16T16:36:14 Modify margin override in writeANSI margin is instead set to 1 when option parsing occurs. to set a different margin, simply use -m after the image type option
Colin 075ca0b1 2012-01-16T16:35:27 Add margin handling for data rows in writeANSI
Colin 14c44384 2012-01-16T16:34:23 Implement writeANSI_margin in writeANSI
Colin 54eb3e92 2012-01-16T16:32:20 Broke out top+bottom ANSI margins in a function writeANSI_margin(6) handles writing the top and bottom margins for writeANSI
Colin 24e25409 2012-01-14T19:32:19 Modified writeANSI to reset colors on each row
Colin 2f1f2b7f 2012-01-13T00:27:03 Cleaned up whitespace on line endings.
Colin 6ccfe730 2012-01-13T00:26:16 Added documentation for the ANSI and ANSI256 types.
Colin 2e61bfe3 2012-01-13T00:24:28 Added writeANSI(2) to qrenc. Writes out ANSI color coded QR codes!
Colin 1f8b1d98 2012-01-13T00:23:17 Added ANSI_TYPE and ANSI256_TYPE imageTypes Also added case statements to reflect these additions.
Kentaro Fukuchi e25666f3 2011-12-12T13:46:43 Usage updates.
Kentaro Fukuchi b4563217 2011-12-12T13:32:42 Usage updates.
Kentaro Fukuchi bb008b9c 2011-12-11T12:25:00 Merge branch 'epssupport' Conflicts: qrenc.c
Kentaro Fukuchi a6978b7d 2011-12-11T12:22:29 More code cleanups.