Sam Hocevar
4fa7ca6694
Merge pull request #31 from markisch/svg-attributes
Bold/italic attribute support for export to svg
3 anos atrás
Sam Hocevar
d9541e0ca5
Merge pull request #30 from markisch/fix-slang-utf8
slang driver: enable utf8 auto-detection (bug fix)
3 anos atrás
Sam Hocevar
b4b4a473cd
Fix off-by-one memory read in binary canvas import ( fixes #56 , #58 )
3 anos atrás
Sam Hocevar
ac56185be2
Fix off-by-one memory read in ANSI import ( fixes #55 , #58 )
3 anos atrás
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 anos atrás
Sam Hocevar
c807fbb878
Clean up Visual Studio build files
3 anos atrás
Sam Hocevar
e4968ba6e9
Fix a problem in the caca_resize() overflow detection and add several unit tests.
3 anos atrás
Sam Hocevar
46b4ea7cea
canvas: fix an integer overflow in caca_resize().
Fixes : #52 (CVE-2021-3410)
3 anos atrás
Sam Hocevar
813baea7a7
img2txt: reject pictures with 0 bits per plane.
Fixes : #42
5 anos atrás
Sam Hocevar
6425104e5f
img2txt: clean up some code in the BMP image loader.
5 anos atrás
Sam Hocevar
0b580d6630
img2txt: fix uninitialised data in BMP loader.
5 anos atrás
Sam Hocevar
b38bcd63f0
Remove useless generated ChangeLog.
5 anos atrás
Sam Hocevar
5cfb692b6a
Add .dirstamp to .gitignore.
5 anos atrás
Sam Hocevar
1022d97496
dither: fix integer multiplication overflow that caused crashes.
Fixes : #38 (CVE-2018-20546)
Fixes : #39 (CVE-2018-20547)
5 anos atrás
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)
5 anos atrás
Sam Hocevar
84bd155087
dither: fix integer overflows that were causing a division by zero.
Fixes : #36 (CVE-2018-20544)
5 anos atrás
Sam Hocevar
f1267fbd3c
Fix copyright headers so that the testsuite passes again.
6 anos atrás
Sam Hocevar
c094411808
Merge pull request #34 from yugr/issue33
Hide private symbols (issue #33 ).
6 anos atrás
Yury Gribov
726ede6491
Hide private symbols (issue #33 ).
6 anos atrás
Sam Hocevar
5f0ec215f8
Remove legacy code from 10 years ago.
6 anos atrás
Bastian Maerkisch
eebfb1eb65
Bold/italic attribute support for export to svg
7 anos atrás
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 anos atrás
alxf
da28e9684e
Merge branch 'jackarrozzo-master'
7 anos atrás
Jack Carrozzo
05bfb8af09
img2text.c: fix width arg case in example
7 anos atrás
Sam Hocevar
156781dd67
ruby: require 'caca' instead of 'caca.so'
This will hopefully fix the OS X ruby package.
8 anos atrás
Sam Hocevar
319ab6a989
Only fail the check-copyright test if more than 10 files are affected.
8 anos atrás
Sam Hocevar
093a9d422a
Try to run Coverity from Travis CI.
8 anos atrás
alxf
f7c072131a
Merge pull request #18 from alxf/ncurses-keypress
Fix a bug into the autorepeat trigger.
8 anos atrás
Pascal Terjan
02445fc305
Add some missing breaks (thanks coverity)
8 anos atrás
alxf
20f3a39e01
Fix header copyright.
8 anos atrás
alxf
c1ee309d79
Fix a bug into the autorepeat trigger.
- Only affect slang/ncurses.
8 anos atrás
alxf
0e2362461d
Merge pull request #16 from alxf/issue-#15
Issue #15 : Fix returned pointer with caca types.
8 anos atrás
alxf
f5a052e996
Fix free for caca types.
8 anos atrás
alxf
dcc7dca749
Fix returned pointer with caca types.
8 anos atrás
Sam Hocevar
ae47c93bff
Merge pull request #13 from HuxyUK/master
Fixed VS2015 error; snprintf std is now included
8 anos atrás
Huxy
e7a28ddc82
Fixed VS2015 error; snprintf std is now included
8 anos atrás
Sam Hocevar
558812d3fe
Update copyright information.
8 anos atrás
Sam Hocevar
d33e961dc9
Only declare weak symbols if the runtime doesn’t have them. Fixes #8 .
8 anos atrás
Sam Hocevar
cdfba0133b
Revert setlocale() effect as soon as possible. Closes #12 .
The Xlib and ncurses libraries query the LC_CTYPE locale value to guess
the usable character set. If the calling program did not call setlocale(),
that character set will be severely limited. Extensive Unicode support
is a reasonable libcaca user expectation.
The locale is restored as soon as possible, once the window or terminal
have been initialised. Unfortunately, the effect of setlocale() is process-
wide, and may affect other threads. This is now documented.
Note also that both Xlib and ncurses ignore the effects of uselocale()
which would have been the thread-safe solution to this problem.
8 anos atrás
Sam Hocevar
f7afe3fe05
Remove mention of Travis-CI not allowing libimlib2-dev and ruby-minitest.
8 anos atrás
Sam Hocevar
2b68df927b
Trick Travis-CI into installing libslang2-dev.
8 anos atrás
Sam Hocevar
8757e80e43
Try to make Travis-CI tests pass on OS X.
8 anos atrás
Sam Hocevar
9af0319219
Autodetect ruby-minitest. Travis-CI doesn’t have it yet.
8 anos atrás
Sam Hocevar
3fef621bb1
Disable Travis-CI shallow clones.
This feature messes up with our Git checking history.
8 anos atrás
Sam Hocevar
cc4640f1a0
Fix a bug in check-copyright.
8 anos atrás
Sam Hocevar
9b14aa4d05
Move many build files to the build subdirectory.
8 anos atrás
Sam Hocevar
2f1ca4a550
Refactor a few things in the makefiles.
This fixes the path to source files in some unit tests and allows
to get rid of a few duplicate lines.
8 anos atrás
Sam Hocevar
b078ba646b
Tell Travis CI to install ruby-minitest for Debian/Ubuntu builds and build-depend
on the current ruby-dev instead of a specific version.
9 anos atrás
Sam Hocevar
2beb644476
Fix the java bindings build by updating AM_CPPFLAGS.
9 anos atrás
Sam Hocevar
06f3bf04e9
Add Travis CI integration.
9 anos atrás