Sam Hocevar
b7ba0adba0
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>.
Fixes ticket #51 .
vor 16 Jahren
Sam Hocevar
34297fcdf9
Fix separate directory build failure caused by caca_types.h.
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
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
Sam Hocevar
e15e962928
* Implement caca_create_display_with_driver() to specify an output driver
without using environment variables..
* Implement caca_get_display_driver() to return the current display's
output driver.
* Add a simple example program to test caca_create_display_with_driver().
vor 17 Jahren
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
vor 17 Jahren
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
vor 17 Jahren
Sam Hocevar
a7ac5f9e1e
* Get rid of test/term.c, it's now in its own repository.
* Added back -Wshadow, it's more useful than annoying.
vor 18 Jahren
Sam Hocevar
1fd3d09e44
* Do not build test/term if fcntl() is not available. Yes, could be improved.
vor 18 Jahren
Sam Hocevar
81d9b86799
* Added a test app that swallows two console applications. Switch with C-a.
vor 18 Jahren
Sam Hocevar
e37f6aac55
* Renamed the "all" test to "cucul" because it otherwise conflicted with
the automake "all" rule.
vor 18 Jahren
Sam Hocevar
0b3faf2078
* Started writing a full API test. Not sure where it'll lead.
vor 18 Jahren
Sam Hocevar
8d5a1ea8e0
* libcaca multiplexer: swallows two libcaca applications, for instance
cacademo and cacafire, and displays them in a canvas.
vor 18 Jahren
Sam Hocevar
8c5342b263
* Made cucul_blit() handle-aware. Added a blit test for that.
vor 18 Jahren
Sam Hocevar
8a316f40d6
* Fix the Unicode test.
* Add a test for fullwidth characters.
vor 18 Jahren
Sam Hocevar
91645bfa68
* Do not link binaries with @CACA_LIBS@, it's useless.
vor 18 Jahren
Sam Hocevar
a34df4fa85
* Remove toilet from the libcaca source, it'll be moved to its own repo.
vor 18 Jahren
Sam Hocevar
f1cb79fac3
* Added getopt support to toilet.
vor 18 Jahren
Sam Hocevar
57bc9ff453
* TOIlet, The Other Implementation's letters. Will be a FIGlet clone. Later.
vor 18 Jahren
Sam Hocevar
060cb6f676
* Moved the matrix effect test into cacademo. Removed the motion sensor
stuff, it's cool but it's crap.
vor 18 Jahren
Sam Hocevar
1d1d643c67
* Added demo0.c, which is basically the old libcaca-0.9 demo.c file, as a
test for the <caca0.h> emulation layer.
vor 18 Jahren
Sam Hocevar
496445ffbf
* Small matrix effect. Totally useless. Unless you have a Thinkpad, in
which case it is massively useless.
vor 18 Jahren
Sam Hocevar
aca46d3f39
* Added -I${top_srcdir} to the compilation flags to fix builds configured
from an alternate directory (they failed to find common.h).
vor 18 Jahren
Sam Hocevar
afbdae6bf9
* Text input test program. Might be merged into libcaca if it works well.
vor 18 Jahren
Sam Hocevar
fdc8b45b72
* Added font2tga, a test program that exports our font in a known format.
vor 18 Jahren
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
vor 18 Jahren
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
vor 18 Jahren
Sam Hocevar
634c8266cc
* Added a test for multiple frames support.
* Added a test for textfile loading.
vor 18 Jahren
Sam Hocevar
960aceabac
* Added test/truecolor.c to test non-ANSI colour pairs.
vor 18 Jahren
Sam Hocevar
4095b65df3
* Redisplay the output bitmap using libcaca. Eh ouais mon gars.
vor 18 Jahren
Sam Hocevar
e18b717e38
* Added a test program for the font renderer.
vor 18 Jahren
Sam Hocevar
6fb44a69f9
* Moved test/optipal.c to tools/optipal.c. The tools subdirectory will
contain development tools that are only useful to libcaca developers.
vor 18 Jahren
Sam Hocevar
d660aa1390
* Workaround for automake < 1.6.
vor 18 Jahren
Sam Hocevar
7af7565b74
* Added a test for the transformation routines.
vor 18 Jahren
Sam Hocevar
73aad0447c
* Added the cucul_blit() function. It lets us blit various canvas one
onto the other with an optional mask.
vor 18 Jahren
Sam Hocevar
42cbd10958
___
* Bitmap gamma test example. Of ,---. /""`_,'
course it does not work yet, | `\``""-; /
because some dirty old pig \ /`\\ ';'
implemented a cucul_powf() .') | __ \
function that only works / (` / /(O\. _|
with integer exponents. .-`| `"` ` .-\_
.-' \ ` ;=-.
HAHAHAHA MAIS .' . ._, / o o\
VIEUX PORC ! .-'` . '-._;_._.J
.-'` `.-'`
_. -` L ' .'
.' U '- ._.-'
/` C /
/ y |
._ ; J | |
)).-| | | /
(/`.-| \ \ / .;
( (_)| | \ ; .' |
'--'; | `\ / / |
\ | `\ /.' /
\ / ; |`\ |
'. .' _.-| | | |
'-. .-';_"---'`.__| | | \
`'-._ ``'-. | \ \__\\
`''--.___\\ \__\\
vor 18 Jahren
Sam Hocevar
2f7c869bcc
* Small test program for exporters. Usage: "export html", "export irc" etc.
vor 18 Jahren
Sam Hocevar
ce16433e89
* Added a tiny Unicode test program. Of course it does not work yet, but
good to have something to start with.
vor 19 Jahren
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
vor 19 Jahren
Sam Hocevar
4c72df99aa
A new low-level text management library (canvas for ultrafast compositing
of unicode letters) is now separated from the higher level rendering and I/O
(that is, libcaca). This commit totally breaks the API, but once everything
is polished I will think about source-level backward compatibility. Most
drivers are broken, but X11 still sorta works.
The new design is much more object-oriented and allows having several
active renderers at the same time, changing renderers on the fly, and more
important, having no renderer at all (useful for converters, or when you
want to do your own renderer).
And in case you are still wondering, the libcucul acronym has "Unicode"
because I want to support at least a subset of Unicode. There are awesome
glyphs in it, including the ones inherited from Codepage 437 such as
"gray 25%" that are used in DOS and Win32 ANSI art.
vor 19 Jahren
Sam Hocevar
20b2c14750
* Use libtool for the static library generation; paves the way for
a future shared library.
vor 19 Jahren
Sam Hocevar
40a1d07570
* test/colors.c:
+ Extracted the colour test from examples/demo.c.
vor 21 Jahren
Sam Hocevar
337e22d1b7
* Fixed $Id in all Makefile.am files.
vor 21 Jahren
Sam Hocevar
7afbf42a0b
* build-win32:
+ Win32 cross-compilation script.
vor 21 Jahren
Sam Hocevar
bf8f9744a4
* test/event.c:
+ Small event lister, similar to X11's xev.
* src/graphics.c:
+ If possible, disable autorepeat in the X11 driver.
* src/io.c:
+ Implemented CACA_EVENT_MOUSE_RELEASE in all drivers.
+ Button number support in CACA_EVENT_MOUSE_{PRESS,RELEASE}.
vor 21 Jahren
Sam Hocevar
c508525f83
* test/spritedit.c:
+ Moved spritedit to the test/ directory, because it is not mature enough.
* libcaca.spec debian/control debian/rules:
+ Do not install caca-spritedit.
vor 21 Jahren
Sam Hocevar
5113f459dc
* test/hsv.c:
+ Trivial saturation/value rendering test.
vor 21 Jahren
Sam Hocevar
bf4ff1e254
* test/optipal.c:
+ Optimised S-Lang palette generator.
* src/graphics:
+ Removed the S-Lang palette generator and replaced it with the tables
generated by optipal.
vor 21 Jahren
Sam Hocevar
5e83efabc7
* Makefile.am:
+ Added a test directory for test programs.
* test/dithering.c:
+ The value/saturation dithering example.
vor 21 Jahren
Sam Hocevar
8a07f6f08d
* 2nd pass in the libcaca rehandling; moved sources to src/ and examples
to examples/.
vor 21 Jahren