Huxy
e7a28ddc82
Fixed VS2015 error; snprintf std is now included
8 年之前
Sam Hocevar
558812d3fe
Update copyright information.
8 年之前
Sam Hocevar
d33e961dc9
Only declare weak symbols if the runtime doesn’t have them. Fixes #8 .
8 年之前
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 年之前
Sam Hocevar
f7afe3fe05
Remove mention of Travis-CI not allowing libimlib2-dev and ruby-minitest.
8 年之前
Sam Hocevar
2b68df927b
Trick Travis-CI into installing libslang2-dev.
8 年之前
Sam Hocevar
8757e80e43
Try to make Travis-CI tests pass on OS X.
8 年之前
Sam Hocevar
9af0319219
Autodetect ruby-minitest. Travis-CI doesn’t have it yet.
8 年之前
Sam Hocevar
3fef621bb1
Disable Travis-CI shallow clones.
This feature messes up with our Git checking history.
8 年之前
Sam Hocevar
cc4640f1a0
Fix a bug in check-copyright.
8 年之前
Sam Hocevar
9b14aa4d05
Move many build files to the build subdirectory.
8 年之前
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 年之前
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 年之前
Sam Hocevar
2beb644476
Fix the java bindings build by updating AM_CPPFLAGS.
9 年之前
Sam Hocevar
06f3bf04e9
Add Travis CI integration.
9 年之前
alxf
203d33361e
Merge pull request #5 from alxf/python
Fix python 3 issue
9 年之前
Alex Foulon
0baf2fde06
fix python3 issue again.
9 年之前
Alex Foulon
551ad91775
python: fix python3 problem
9 年之前
Alex Foulon
b97a47705f
python: fix drawing.py example
9 年之前
alxf
d3cc67da08
Merge pull request #2 from artygus/x11_input_init_check
x11 driver: handle errors caused by missing locales
9 年之前
alxf
fdb67c5c9b
Merge pull request #1 from artygus/master
Fix cocoa check on osx mavericks and above
9 年之前
Sam Hocevar
5b50cfa59c
test: refactor a lot of test suite related stuff.
9 年之前
Sam Hocevar
eae8918745
ruby: update the testsuite to match Ruby API changes.
9 年之前
Sam Hocevar
d3c5bce620
misc: fix unit test failures.
9 年之前
Sam Hocevar
c3276fbd03
doc: update for doxygen 1.8.9.1.
9 年之前
Sam Hocevar
92d6ac3a71
build: now working on 0.99.beta20.
9 年之前
Sam Hocevar
6190f41fc8
build: update bootstrap script.
9 年之前
Sam Hocevar
32f430e69d
examples: remove cross-directory build dependencies.
9 年之前
Sam Hocevar
55f85166e5
x11: replace deprecated XKeycodeToKeysym() with XLookupKeysym().
9 年之前
artygus
239b223fff
x11 driver: handle errors caused by missing locales
9 年之前
artygus
4ae4579b17
fix cocoa check on osx mavericks and above
9 年之前
Sam Hocevar
e569ea4b33
caca-sharp: fix an ABI mismatch bug.
10 年之前
Sam Hocevar
4aaca9b11a
doc: update for doxygen 1.8.7.
10 年之前
Sam Hocevar
3791c06647
doc: update the Doxygen configuration file.
10 年之前
Sam Hocevar
44317430a1
misc: some source code cleanup.
10 年之前
Pascal Terjan
caae67dce5
Fill in the correct array (coverity)
11 年之前
Pascal Terjan
2ec11a8d96
Test limits before accessing the array (coverity)
11 年之前
Pascal Terjan
707eccb851
Fix 2 buffers leaking even if we exist just afterwards (coverity)
11 年之前
Pascal Terjan
c80bd429bd
Don't leak fd when malloc fails (coverity)
11 年之前
Sam Hocevar
a836967426
attr: fix a very old bug in caca_attr_to_ansi_fg.
11 年之前
Sam Hocevar
2731717bee
codec: add import code for .BIN binary ANSI files.
11 年之前
Sam Hocevar
298edbc8bd
codec: fix \t handling in the text importer.
11 年之前
Alex Foulon
237f946a2e
Fixed character attribute in ncurses driver.
11 年之前
Alex Foulon
34d172f0f2
Fixed typo in driver/x11.c.
11 年之前
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
12 年之前
Sam Hocevar
75fd8cd06f
win32: improvements to the Win32 driver by Bastian Märkisch <bmaerkisch@web.de>:
- Save and correctly restore console input mode, ie. do not
change settings of the original console.
- Fix hiding of cursor.
- Free console again if the driver actually created a new one.
- Default canvas size is current window size.
- Base calculation on current font.
- Properly handle press and release events of up to 5 mouse buttons.
- Map right mouse button to button #3 . This is a change in behaviour,
which is desirable for cross-platform codes.
- Generate two click events for double mouse clicks.
- Mouse wheel support, creates button press events. Button numbers
are identical to X11 mappings.
- Handle window buffer resize events.
12 年之前
Sam Hocevar
97c26b9bbb
string: avoid an infinite loop with some invalid UTF-8 sequences, and add a
unit test for the problem. Bug found by Bastian Märkisch <bmaerkisch@web.de>.
12 年之前
Sam Hocevar
26d01d6307
build: fix copyright date in old files.
12 年之前
Sam Hocevar
f1096cbb73
build: make the build process less verbose.
12 年之前
Sam Hocevar
a9a6d2c6a8
examples: fix a potential buffer overflow in the canvas example, triggered
when BUFSIZ is smaller than 1000. Bug found and patch sent by Bastian
Märkisch <bmaerkisch@web.de>.
12 年之前