Sam Hocevar
34297fcdf9
Fix separate directory build failure caused by caca_types.h.
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
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
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().
17 anni fa
Sam Hocevar
81d6119762
* Implemented cucul_canvas_set_figfont() from TOIlet’s open_font().
17 anni fa
Sam Hocevar
10bf9f48a7
* Rename "test" to "examples". The former will become a real testsuite.
* Autodetect zzuf in the configure step. It might become handy.
17 anni fa
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.
18 anni fa
Sam Hocevar
1fd3d09e44
* Do not build test/term if fcntl() is not available. Yes, could be improved.
18 anni fa
Sam Hocevar
81d9b86799
* Added a test app that swallows two console applications. Switch with C-a.
18 anni fa
Sam Hocevar
e37f6aac55
* Renamed the "all" test to "cucul" because it otherwise conflicted with
the automake "all" rule.
18 anni fa
Sam Hocevar
0b3faf2078
* Started writing a full API test. Not sure where it'll lead.
18 anni fa
Sam Hocevar
8d5a1ea8e0
* libcaca multiplexer: swallows two libcaca applications, for instance
cacademo and cacafire, and displays them in a canvas.
18 anni fa
Sam Hocevar
8c5342b263
* Made cucul_blit() handle-aware. Added a blit test for that.
18 anni fa
Sam Hocevar
8a316f40d6
* Fix the Unicode test.
* Add a test for fullwidth characters.
18 anni fa
Sam Hocevar
91645bfa68
* Do not link binaries with @CACA_LIBS@, it's useless.
18 anni fa
Sam Hocevar
a34df4fa85
* Remove toilet from the libcaca source, it'll be moved to its own repo.
18 anni fa
Sam Hocevar
f1cb79fac3
* Added getopt support to toilet.
18 anni fa
Sam Hocevar
57bc9ff453
* TOIlet, The Other Implementation's letters. Will be a FIGlet clone. Later.
18 anni fa
Sam Hocevar
060cb6f676
* Moved the matrix effect test into cacademo. Removed the motion sensor
stuff, it's cool but it's crap.
18 anni fa
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.
18 anni fa
Sam Hocevar
496445ffbf
* Small matrix effect. Totally useless. Unless you have a Thinkpad, in
which case it is massively useless.
18 anni fa
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).
18 anni fa
Sam Hocevar
afbdae6bf9
* Text input test program. Might be merged into libcaca if it works well.
18 anni fa
Sam Hocevar
fdc8b45b72
* Added font2tga, a test program that exports our font in a known format.
18 anni fa
Jean-Yves Lamoureux
2e167ab614
* Added preliminary ANSI importer, added import formats autodection
18 anni fa
Sam Hocevar
d0b0d90e2a
* Got rid of CUCUL_LIBS. It's unused.
18 anni fa
Sam Hocevar
634c8266cc
* Added a test for multiple frames support.
* Added a test for textfile loading.
18 anni fa
Sam Hocevar
960aceabac
* Added test/truecolor.c to test non-ANSI colour pairs.
18 anni fa
Sam Hocevar
4095b65df3
* Redisplay the output bitmap using libcaca. Eh ouais mon gars.
18 anni fa
Sam Hocevar
e18b717e38
* Added a test program for the font renderer.
18 anni fa
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.
18 anni fa
Sam Hocevar
d660aa1390
* Workaround for automake < 1.6.
18 anni fa
Sam Hocevar
7af7565b74
* Added a test for the transformation routines.
18 anni fa
Sam Hocevar
73aad0447c
* Added the cucul_blit() function. It lets us blit various canvas one
onto the other with an optional mask.
18 anni fa
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 | |
)).-| | | /
(/`.-| \ \ / .;
( (_)| | \ ; .' |
'--'; | `\ / / |
\ | `\ /.' /
\ / ; |`\ |
'. .' _.-| | | |
'-. .-';_"---'`.__| | | \
`'-._ ``'-. | \ \__\\
`''--.___\\ \__\\
18 anni fa
Sam Hocevar
2f7c869bcc
* Small test program for exporters. Usage: "export html", "export irc" etc.
18 anni fa
Sam Hocevar
ce16433e89
* Added a tiny Unicode test program. Of course it does not work yet, but
good to have something to start with.
18 anni fa
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
19 anni fa
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.
19 anni fa
Sam Hocevar
20b2c14750
* Use libtool for the static library generation; paves the way for
a future shared library.
19 anni fa
Sam Hocevar
40a1d07570
* test/colors.c:
+ Extracted the colour test from examples/demo.c.
21 anni fa
Sam Hocevar
337e22d1b7
* Fixed $Id in all Makefile.am files.
21 anni fa
Sam Hocevar
7afbf42a0b
* build-win32:
+ Win32 cross-compilation script.
21 anni fa
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}.
21 anni fa
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.
21 anni fa
Sam Hocevar
5113f459dc
* test/hsv.c:
+ Trivial saturation/value rendering test.
21 anni fa
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.
21 anni fa
Sam Hocevar
5e83efabc7
* Makefile.am:
+ Added a test directory for test programs.
* test/dithering.c:
+ The value/saturation dithering example.
21 anni fa
Sam Hocevar
8a07f6f08d
* 2nd pass in the libcaca rehandling; moved sources to src/ and examples
to examples/.
21 anni fa
Sam Hocevar
63dc9c1010
* Renamed libee to libcaca. Far less collisions.
21 anni fa