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
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
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
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
89670f0598
figfont: stick the source canvas's width, if specified.
12 лет назад
Sam Hocevar
c822280896
Rename figfont into charfont. We will support far more than figfonts in
the future.
13 лет назад
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
15 лет назад
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 лет назад
Sam Hocevar
4c23d2b5ed
Add brief documentation to figfont functions.
15 лет назад
Sam Hocevar
e83ae726b8
Activate colour toilet font support.
15 лет назад
Sam Hocevar
8c678ff82a
Do not crash in caca_flush_figlet() if no figfont was loaded.
15 лет назад
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
15 лет назад
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 лет назад
Sam Hocevar
3338776b44
Fix a few DOS compilation warnings.
15 лет назад
Nicolas Vion
f016c8f416
* Check that a caca_figfont was loaded before using it in caca_put_figchar()
16 лет назад
Sam Hocevar
149a29b38e
libcaca: fix a minor warning on DOS targets.
16 лет назад
Sam Hocevar
319cc69db3
Continue the libcaca/libcucul merge. Source and binary compatibility
are almost there.
16 лет назад
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 лет назад
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 лет назад
Sam Hocevar
96d77f7d51
* Export cucul_file_t operations in the public header.
* Implement cucul_file_read() and cucul_file_write().
16 лет назад
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 лет назад
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 лет назад
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 лет назад
Ben Wiley Sittler
e1603937c7
build on Mac OS X again
17 лет назад
Sam Hocevar
9c951cebb2
* Windows build fixes here and there.
17 лет назад
Sam Hocevar
e895e01ee6
* Disable file operations in kernel mode.
* Implement strchr() in kernel.c.
* Check for snprintf() at configure time.
17 лет назад
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 лет назад
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 лет назад