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 година
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().
пре 12 година
Sam Hocevar
84619aad20
build: use RbConfig instead of Config in the Ruby checks.
пре 12 година
Sam Hocevar
b2e484ffe0
build: fix Win32 build and allow to build Win64 binaries from Linux, and
ship the static library and includes too.
пре 12 година
Sam Hocevar
6ad85219e0
build: no longer create symlinks for old libcucul stuff; it's really
gone for good.
пре 12 година
Sam Hocevar
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
пре 12 година
Sam Hocevar
f068c83b6a
build: add ignore entries for Visual Studio crap.
пре 12 година
Sam Hocevar
3ccae93cab
release: libcaca 0.99.beta18
пре 12 година
Sam Hocevar
d736507785
build: fix copyright information.
пре 12 година
Sam Hocevar
00a285b11e
figfont: support setting the canvas width and smushing mode from the
calling application.
пре 12 година
Sam Hocevar
859804d7af
build: fix "make dist", which was broken because of the vcproj -> vcxproj
migration.
пре 12 година
Sam Hocevar
89670f0598
figfont: stick the source canvas's width, if specified.
пре 12 година
Alex Foulon
769eab719d
Add support for python3 to python bindings.
пре 13 година
Alex Foulon
ae32f9e226
Add unittest for canvas module.
пре 13 година
Alex Foulon
d70c958c8c
Drop tabs and trailing spaces.
пре 13 година
Alex Foulon
4e9a9b891d
Add check-source rule for python files.
пре 13 година
Alex Foulon
09e6b6734d
Fixed wildcard for python and perl extension.
пре 13 година
Alex Foulon
1877583ea0
Add cacaclock demo and python binaries to git ignore list.
пре 13 година
Pascal Terjan
c5937ce907
Drop trailing spaces
пре 13 година
Pascal Terjan
23c8dfdfea
Add set_cursor to the ruby binding (patch from Tony Miller <mcfiredrill@gmail.com>)
пре 13 година
Sam Hocevar
8f1c38b695
ncurses: if terminal doesn't support curs_set(2), try curs_set(1).
пре 13 година
Jean-Yves Lamoureux
9f8e3143d2
* Updated help
пре 13 година
Jean-Yves Lamoureux
8c758dd1a4
* Removed unused variable
пре 13 година
Jean-Yves Lamoureux
115e47f54a
* Added command line parsing (--dateformat, --font, --help, --version)
* Center font
пре 13 година
Alex Foulon
487f9686cd
* Handles error messages from libcaca and ctypes with CanvasError exception.
пре 13 година
Jean-Yves Lamoureux
94182a6f1a
* Added width/height fetch
пре 13 година
Alex Foulon
0319420c90
* Fixed utf32_to_utf8 function.
пре 13 година
Jean-Yves Lamoureux
41f434f05b
* Added preliminary cacaclock, a continuous clock
пре 13 година
Alex Foulon
4295cf3e4f
* Make mask an optional argument for Canvas.blit method.
* Drawing and put_figchar methods now can handle utf8 chars.
пре 13 година
Alex Foulon
83c34c42ae
* method Canvas.put_char now handle utf8 char.
пре 13 година
Alex Foulon
69ab7aaf37
* Bind font functions.
* Bind caca_render_canvas function.
* Add example font.
пре 14 година
Alex Foulon
c5e2f0eb7d
* Fix get_key_utf8 method, return python string with utf8 char now.
пре 14 година
Sam Hocevar
9b513e786c
Fix a bug in our Xutf8LookupString() usage.
пре 14 година
Sam Hocevar
c822280896
Rename figfont into charfont. We will support far more than figfonts in
the future.
пре 14 година
Alex Foulon
77c94579be
* Add examples: colors, driver and event.
пре 14 година
Alex Foulon
569bab3f72
* Add examples: blit, frames and text.
пре 14 година
Alex Foulon
4aaab2f4d2
* Bind figfont functions
* Add example figfont
пре 14 година
Alex Foulon
01b5f89f76
* Convert RGB image to RGBA.
пре 14 година
Alex Foulon
8800d9743b
* Fix color mask order in Dither class.
пре 14 година
Alex Foulon
80113aa069
* Add example: port of img2txt with python bindings.
пре 14 година
Alex Foulon
ebaa0dc5a3
* Bind dither functions
пре 14 година
Jean-Yves Lamoureux
9506e1f384
* Fixed typo in img2txt doc (patch courtesy of Julien Danjou)
* Fixes #85
пре 14 година
Sam Hocevar
4e3e2d95d0
Fix the Win32 build: ssize_t was no longer defined.
пре 14 година
Sam Hocevar
d761415833
Convert stuff to Visual Studio 2010. It has <stdint.h>!
пре 14 година