Johannes Kauffmann
9683d1f7ef
caca_internals: export _caca_alloc2d
It is used by the image viewer:
/usr/bin/ld: img2txt-common-image.o: in function `load_image':
../../src/common-image.c:164: undefined reference to `_caca_alloc2d'
Fixes #59 .
2 years ago
Johannes Kauffmann
f57b0d65cf
caca: avoid nested externs
common-image.c:164:18: warning: nested extern declaration of ‘_caca_alloc2d’ [-Wnested-externs]
2 years ago
Johannes Kauffmann
afacac2cf7
common-image: avoid implicit function declaration
common-image.c: In function ‘load_image’:
common-image.c:164:18: warning: implicit declaration of function ‘_caca_alloc2d’ [-Wimplicit-function-declaration]
164 | im->pixels = _caca_alloc2d(im->w, im->h, depth);
| ^~~~~~~~~~~~~
2 years ago
Sam Hocevar
f42aa68fc7
Fix GL and X11 drivers in visibility mode
Patch courtesy of Jakub Bogusz.
3 years ago
Sam Hocevar
bd2cff9e94
Rename some internal functions with _caca prefix to avoid confusion when we export them
3 years ago
Sam Hocevar
9a0ebef8d7
Remove bashism in configure.ac
Patch courtesy of Jakub Bogusz.
3 years ago
Sam Hocevar
373c88b989
Merge branch 'main' of github.com:cacalabs/libcaca
3 years ago
Sam Hocevar
d5c7775113
Minor IPv6 tweaks and credit to original author
3 years ago
Sam Hocevar
ba3c9cc77d
Merge pull request #29 from alxf/fix-py-img2txt
Fix py img2txt
3 years ago
Sam Hocevar
a7355c49cf
Merge branch 'main' of github.com:cacalabs/libcaca
3 years ago
Sam Hocevar
bb069e84c9
Merge pull request #10 from ledeuns/master
Add support for IPv6 to cacaserver
3 years ago
Sam Hocevar
e972db074f
Merge pull request #27 from sbraz/cppunit
Disable cppunit tests by default, honor --enable-cppunit
3 years ago
Sam Hocevar
a18e28d43e
Update copyright information and changelog
3 years ago
Sam Hocevar
a8b9877080
Add ‘foreign’ flag to automake in order to please autoreconf ( Closes #20 )
3 years ago
Sam Hocevar
96ff990d5e
Better sanity checks when creating 2D buffers ( Closes #43 )
3 years ago
Sam Hocevar
b7d7a7a35c
Remove hack from 2004 that caused latex documentation generation issues
3 years ago
Sam Hocevar
d94dec49b1
Upgrade Doxygen configuration file
3 years ago
Sam Hocevar
a15ba999d5
Add a comment in the SVG exporter to explain buffer size
3 years ago
Sam Hocevar
f0f144be62
Update NEWS document
3 years ago
Sam Hocevar
5957d69900
Upgrade autoconf scripts
3 years ago
Sam Hocevar
4fa7ca6694
Merge pull request #31 from markisch/svg-attributes
Bold/italic attribute support for export to svg
3 years ago
Sam Hocevar
d9541e0ca5
Merge pull request #30 from markisch/fix-slang-utf8
slang driver: enable utf8 auto-detection (bug fix)
3 years ago
Sam Hocevar
b4b4a473cd
Fix off-by-one memory read in binary canvas import ( fixes #56 , #58 )
3 years ago
Sam Hocevar
ac56185be2
Fix off-by-one memory read in ANSI import ( fixes #55 , #58 )
3 years ago
Sam Hocevar
ab04483ee1
Fix buffer overflows in TGA and troff exports (addresses #53 , #54 )
These were all caused by sprintf() appending a null char that was not actually used.
Fixes CVE-2021-30498 and CVE-2021-30499.
3 years ago
Sam Hocevar
c807fbb878
Clean up Visual Studio build files
3 years ago
Sam Hocevar
e4968ba6e9
Fix a problem in the caca_resize() overflow detection and add several unit tests.
4 years ago
Sam Hocevar
46b4ea7cea
canvas: fix an integer overflow in caca_resize().
Fixes : #52 (CVE-2021-3410)
4 years ago
Sam Hocevar
813baea7a7
img2txt: reject pictures with 0 bits per plane.
Fixes : #42
6 years ago
Sam Hocevar
6425104e5f
img2txt: clean up some code in the BMP image loader.
6 years ago
Sam Hocevar
0b580d6630
img2txt: fix uninitialised data in BMP loader.
6 years ago
Sam Hocevar
b38bcd63f0
Remove useless generated ChangeLog.
6 years ago
Sam Hocevar
5cfb692b6a
Add .dirstamp to .gitignore.
6 years ago
Sam Hocevar
1022d97496
dither: fix integer multiplication overflow that caused crashes.
Fixes : #38 (CVE-2018-20546)
Fixes : #39 (CVE-2018-20547)
6 years ago
Sam Hocevar
3e52dabe3e
img2txt: fix an integer overflow in the BMP loader.
Fixes : #37 (CVE-2018-20545)
Fixes : #40 (CVE-2018-20548)
Fixes : #41 (CVE-2018-20549)
6 years ago
Sam Hocevar
84bd155087
dither: fix integer overflows that were causing a division by zero.
Fixes : #36 (CVE-2018-20544)
6 years ago
Sam Hocevar
f1267fbd3c
Fix copyright headers so that the testsuite passes again.
6 years ago
Sam Hocevar
c094411808
Merge pull request #34 from yugr/issue33
Hide private symbols (issue #33 ).
6 years ago
Yury Gribov
726ede6491
Hide private symbols (issue #33 ).
6 years ago
Sam Hocevar
5f0ec215f8
Remove legacy code from 10 years ago.
6 years ago
Bastian Maerkisch
eebfb1eb65
Bold/italic attribute support for export to svg
7 years ago
Bastian Maerkisch
68b9dcac92
slang driver: enable utf8 auto-detection
The slang internal auto-detection of utf8 is only executed by a call to
SLutf8_enable(-1).
7 years ago
alxf
cc8481c50c
Fix deprecated call to pil method
7 years ago
alxf
feab0ef0aa
Fix usage example typo
7 years ago
alxf
da28e9684e
Merge branch 'jackarrozzo-master'
7 years ago
Louis Sautier
83bf3b120f
Disable cppunit tests by default, honor --enable-cppunit
7 years ago
Jack Carrozzo
05bfb8af09
img2text.c: fix width arg case in example
7 years ago
Sam Hocevar
156781dd67
ruby: require 'caca' instead of 'caca.so'
This will hopefully fix the OS X ruby package.
8 years ago
Sam Hocevar
319ab6a989
Only fail the check-copyright test if more than 10 files are affected.
8 years ago
Sam Hocevar
093a9d422a
Try to run Coverity from Travis CI.
8 years ago