Sam Hocevar
f1267fbd3c
Fix copyright headers so that the testsuite passes again.
6 anni fa
Sam Hocevar
5f0ec215f8
Remove legacy code from 10 years ago.
6 anni fa
Sam Hocevar
558812d3fe
Update copyright information.
8 anni fa
Sam Hocevar
d33e961dc9
Only declare weak symbols if the runtime doesn’t have them. Fixes #8 .
8 anni fa
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
12 anni fa
Sam Hocevar
e8db5f4629
figfont: fix uninitialised data access.
12 anni fa
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 anni fa
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 anni fa
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 anni fa
Sam Hocevar
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
12 anni fa
Sam Hocevar
d736507785
build: fix copyright information.
12 anni fa
Sam Hocevar
00a285b11e
figfont: support setting the canvas width and smushing mode from the
calling application.
12 anni fa
Sam Hocevar
89670f0598
figfont: stick the source canvas's width, if specified.
12 anni fa
Sam Hocevar
c822280896
Rename figfont into charfont. We will support far more than figfonts in
the future.
13 anni fa
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
14 anni fa
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 anni fa
Sam Hocevar
4c23d2b5ed
Add brief documentation to figfont functions.
15 anni fa
Sam Hocevar
e83ae726b8
Activate colour toilet font support.
15 anni fa
Sam Hocevar
8c678ff82a
Do not crash in caca_flush_figlet() if no figfont was loaded.
15 anni fa
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
15 anni fa
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().
15 anni fa
Sam Hocevar
3338776b44
Fix a few DOS compilation warnings.
15 anni fa
Nicolas Vion
f016c8f416
* Check that a caca_figfont was loaded before using it in caca_put_figchar()
16 anni fa
Sam Hocevar
149a29b38e
libcaca: fix a minor warning on DOS targets.
16 anni fa
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
16 anni fa
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.
16 anni fa
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.
16 anni fa
Sam Hocevar
96d77f7d51
* Export cucul_file_t operations in the public header.
* Implement cucul_file_read() and cucul_file_write().
16 anni fa
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 anni fa
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.
16 anni fa
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.
16 anni fa
Ben Wiley Sittler
e1603937c7
build on Mac OS X again
17 anni fa
Sam Hocevar
9c951cebb2
* Windows build fixes here and there.
17 anni fa
Sam Hocevar
e895e01ee6
* Disable file operations in kernel mode.
* Implement strchr() in kernel.c.
* Check for snprintf() at configure time.
17 anni fa
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
17 anni fa
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 anni fa