Sam Hocevar
d33e961dc9
Only declare weak symbols if the runtime doesn’t have them. Fixes #8 .
vor 8 Jahren
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
vor 12 Jahren
Sam Hocevar
e8db5f4629
figfont: fix uninitialised data access.
vor 12 Jahren
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.
vor 12 Jahren
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.
vor 12 Jahren
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().
vor 12 Jahren
Sam Hocevar
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
vor 12 Jahren
Sam Hocevar
d736507785
build: fix copyright information.
vor 12 Jahren
Sam Hocevar
00a285b11e
figfont: support setting the canvas width and smushing mode from the
calling application.
vor 12 Jahren
Sam Hocevar
89670f0598
figfont: stick the source canvas's width, if specified.
vor 12 Jahren
Sam Hocevar
c822280896
Rename figfont into charfont. We will support far more than figfonts in
the future.
vor 13 Jahren
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
vor 15 Jahren
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
vor 15 Jahren
Sam Hocevar
4c23d2b5ed
Add brief documentation to figfont functions.
vor 15 Jahren
Sam Hocevar
e83ae726b8
Activate colour toilet font support.
vor 15 Jahren
Sam Hocevar
8c678ff82a
Do not crash in caca_flush_figlet() if no figfont was loaded.
vor 15 Jahren
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
vor 15 Jahren
Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
vor 15 Jahren
Sam Hocevar
3338776b44
Fix a few DOS compilation warnings.
vor 15 Jahren
Nicolas Vion
f016c8f416
* Check that a caca_figfont was loaded before using it in caca_put_figchar()
vor 16 Jahren
Sam Hocevar
149a29b38e
libcaca: fix a minor warning on DOS targets.
vor 16 Jahren
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
vor 16 Jahren
Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
vor 16 Jahren
Sam Hocevar
52710f796c
* Export cucul_flush_figlet() to the public API. It should be removed later,
but for now it's the only way to integrate properly with TOIlet.
vor 16 Jahren
Sam Hocevar
96d77f7d51
* Export cucul_file_t operations in the public header.
* Implement cucul_file_read() and cucul_file_write().
vor 16 Jahren
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
vor 16 Jahren
Sam Hocevar
6a3f5c21f0
* Changed most of the long ints in the API into C99 types. WARNING: this
completely breaks compatibility with previous versions of libcaca on
64-bit systems.
vor 16 Jahren
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
vor 16 Jahren
Ben Wiley Sittler
e1603937c7
build on Mac OS X again
vor 17 Jahren
Sam Hocevar
9c951cebb2
* Windows build fixes here and there.
vor 17 Jahren
Sam Hocevar
e895e01ee6
* Disable file operations in kernel mode.
* Implement strchr() in kernel.c.
* Check for snprintf() at configure time.
vor 17 Jahren
Sam Hocevar
d06bf76c96
=?utf-8?q?=20=20*=20Implement=20cucul=5Fput=5Ffigchar()=20to=20paste=20FIGlet/TOIlet=20characters=20in
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=20=20=20=E2=96=9C=E2=96=9C=20=20=20=20=C2=A0=E2=96=8C=20=E2=96=8C=20=20=20=20=20=20=E2=96=9C=20=20=20=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=99=E2=96=84=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=90=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=96=C2=A0=E2=96=8C=E2=96=96=E2=96=8C=E2=96=9E=E2=96=80=E2=96=96=E2=96=99=E2=96=80=E2=96=96=E2=96=90=20=E2=96=9E=E2=96=80=E2=96=8C=E2=96=90
=20=20=20=20=20=20=20=20=20=20=E2=96=8C=20=E2=96=8C=E2=96=9B=E2=96=80=20=E2=96=90=E2=96=90=20=E2=96=8C=20=E2=96=8C=C2=A0=E2=96=99=E2=96=9A=E2=96=8C=E2=96=8C=20=E2=96=8C=E2=96=8C=20=C2=A0=E2=96=90=20=E2=96=8C=20=E2=96=8C=E2=96=9D
=20=20=20=20=20=20=20=20=20=20=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=20=E2=96=98=E2=96=98=E2=96=9D=E2=96=80=20=C2=A0=E2=96=98=20=E2=96=98=E2=96=9D=E2=96=80=20=E2=96=98=20=20=20=E2=96=98=E2=96=9D=E2=96=80=E2=96=98=E2=96=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
vor 17 Jahren
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
vor 17 Jahren