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 роки тому
Sam Hocevar
bef9d0c827
misc: fix a few memory leaks and invalid memory accesses.
12 роки тому
Pascal Terjan
568f0432bb
Allow building with -Werror=format-security
12 роки тому
Pascal Terjan
36990e1fa5
Use macros to access len, needed for ruby 1.9
12 роки тому
Pascal Terjan
a9cfffb351
Use mkmf to get flags, needed for ruby 1.9
12 роки тому
Sam Hocevar
8046b1b287
core: fix a mistake in the caca_set_color_ansi() documentation.
12 роки тому
Sam Hocevar
28f4d43130
build: fix the OS X and Clang builds.
12 роки тому
Sam Hocevar
ab882df7b1
string: fix a potential memory corruption with caca_printf() calls done
outside the canvas.
12 роки тому
Sam Hocevar
a33126c3e6
doc: hide "__extern" from the final documentation.
12 роки тому
Sam Hocevar
e8db5f4629
figfont: fix uninitialised data access.
12 роки тому
Sam Hocevar
cd61fce90e
build: ship a weak symbol for vsnprintf, too, because our weak symbol for
sprintf_s uses that function and VS2010 does not strip it off even if it
is unused. Also do not use 64-bit integer division in the timer code because
that will create unwanted references to ___moddi3 and ___divdi3.
12 роки тому
Sam Hocevar
02bb261647
win32: define a custom sprintf_s() weak symbol. The VS2010 runtime does not
provide the deprecated snprintf(). The mingw32 runtime does not provide the
MS-specific sprintf_s(). Mingw-w64 copes with both. So we switch to sprintf_s
but also provide it as a weak symbol so that mingw32 does not complain.
12 роки тому
Sam Hocevar
b8068349a2
build: install the static libraries as caca.lib, not libcaca.lib.
12 роки тому
Sam Hocevar
f16f002bec
build: disable subdir-objects option because it makes the distclean rule fail.
12 роки тому
Sam Hocevar
9e8c0b6a46
build: switch to subdir objects and fix copyright information in string.c.
12 роки тому
Sam Hocevar
55af141873
caca: allow to define the CACA_STATIC macro to deactivate dllimport
specifiers; this is required for proper static link.
12 роки тому