Sam Hocevar
55f85166e5
x11: replace deprecated XKeycodeToKeysym() with XLookupKeysym().
hace 9 años
Sam Hocevar
e569ea4b33
caca-sharp: fix an ABI mismatch bug.
hace 10 años
Sam Hocevar
4aaca9b11a
doc: update for doxygen 1.8.7.
hace 10 años
Sam Hocevar
3791c06647
doc: update the Doxygen configuration file.
hace 10 años
Sam Hocevar
44317430a1
misc: some source code cleanup.
hace 10 años
Pascal Terjan
caae67dce5
Fill in the correct array (coverity)
hace 11 años
Pascal Terjan
2ec11a8d96
Test limits before accessing the array (coverity)
hace 11 años
Pascal Terjan
707eccb851
Fix 2 buffers leaking even if we exist just afterwards (coverity)
hace 11 años
Pascal Terjan
c80bd429bd
Don't leak fd when malloc fails (coverity)
hace 11 años
Sam Hocevar
a836967426
attr: fix a very old bug in caca_attr_to_ansi_fg.
hace 11 años
Sam Hocevar
2731717bee
codec: add import code for .BIN binary ANSI files.
hace 11 años
Sam Hocevar
298edbc8bd
codec: fix \t handling in the text importer.
hace 11 años
Alex Foulon
237f946a2e
Fixed character attribute in ncurses driver.
hace 11 años
Alex Foulon
34d172f0f2
Fixed typo in driver/x11.c.
hace 11 años
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
hace 12 años
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.
hace 12 años
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>.
hace 12 años
Sam Hocevar
26d01d6307
build: fix copyright date in old files.
hace 12 años
Sam Hocevar
f1096cbb73
build: make the build process less verbose.
hace 12 años
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>.
hace 12 años
Sam Hocevar
bef9d0c827
misc: fix a few memory leaks and invalid memory accesses.
hace 12 años
Pascal Terjan
568f0432bb
Allow building with -Werror=format-security
hace 12 años
Pascal Terjan
36990e1fa5
Use macros to access len, needed for ruby 1.9
hace 12 años
Pascal Terjan
a9cfffb351
Use mkmf to get flags, needed for ruby 1.9
hace 12 años
Sam Hocevar
8046b1b287
core: fix a mistake in the caca_set_color_ansi() documentation.
hace 12 años
Sam Hocevar
28f4d43130
build: fix the OS X and Clang builds.
hace 12 años
Sam Hocevar
ab882df7b1
string: fix a potential memory corruption with caca_printf() calls done
outside the canvas.
hace 12 años
Sam Hocevar
a33126c3e6
doc: hide "__extern" from the final documentation.
hace 12 años
Sam Hocevar
e8db5f4629
figfont: fix uninitialised data access.
hace 12 años
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.
hace 12 años
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.
hace 12 años
Sam Hocevar
b8068349a2
build: install the static libraries as caca.lib, not libcaca.lib.
hace 12 años
Sam Hocevar
f16f002bec
build: disable subdir-objects option because it makes the distclean rule fail.
hace 12 años
Sam Hocevar
9e8c0b6a46
build: switch to subdir objects and fix copyright information in string.c.
hace 12 años
Sam Hocevar
55af141873
caca: allow to define the CACA_STATIC macro to deactivate dllimport
specifiers; this is required for proper static link.
hace 12 años
Sam Hocevar
f56be9bffa
win32: use sprintf_s and vsnprintf_s on Windows, so that our static library
works with the VS2010 runtime, too. Also reduce the stack size requirements
to avoid depending on __chkstk_ms().
hace 12 años
Sam Hocevar
84619aad20
build: use RbConfig instead of Config in the Ruby checks.
hace 12 años
Sam Hocevar
b2e484ffe0
build: fix Win32 build and allow to build Win64 binaries from Linux, and
ship the static library and includes too.
hace 12 años
Sam Hocevar
6ad85219e0
build: no longer create symlinks for old libcucul stuff; it's really
gone for good.
hace 12 años
Sam Hocevar
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
hace 12 años
Sam Hocevar
f068c83b6a
build: add ignore entries for Visual Studio crap.
hace 12 años
Sam Hocevar
3ccae93cab
release: libcaca 0.99.beta18
hace 12 años
Sam Hocevar
d736507785
build: fix copyright information.
hace 12 años
Sam Hocevar
00a285b11e
figfont: support setting the canvas width and smushing mode from the
calling application.
hace 12 años
Sam Hocevar
859804d7af
build: fix "make dist", which was broken because of the vcproj -> vcxproj
migration.
hace 12 años
Sam Hocevar
89670f0598
figfont: stick the source canvas's width, if specified.
hace 12 años
Alex Foulon
769eab719d
Add support for python3 to python bindings.
hace 13 años
Alex Foulon
ae32f9e226
Add unittest for canvas module.
hace 13 años
Alex Foulon
d70c958c8c
Drop tabs and trailing spaces.
hace 13 años
Alex Foulon
4e9a9b891d
Add check-source rule for python files.
hace 13 años