Sam Hocevar
d660aa1390
* Workaround for automake < 1.6.
18 years ago
Sam Hocevar
f149dc3ac4
* Massive rework of the event handling code, as per the TODO list.
18 years ago
Sam Hocevar
6db26f7487
* Made cucul_putchar32() an internal-only function.
* Changed the line, box, ellipsis etc. prototypes so that they use an UTF-8
string instead of a single character as their last argument.
18 years ago
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 years ago
Sam Hocevar
36886a339e
* Removed the cucul_t * argument from cucul_create_bitmap(). It's not needed.
18 years ago
Sam Hocevar
c979bc6eae
* Changed the cucul_init parameter so that it now directly accepts a
canvas size (use cucul_init(0, 0) for the old behaviour).
18 years ago
Sam Hocevar
57d897a7bf
* Gamma support in cacaview (through the g/G key).
18 years ago
Sam Hocevar
071f31ecc8
* Changed the cacaplas colours. Yeah, I do what I want.
18 years ago
Sam Hocevar
dcaccc744c
* Got rid of useless parameters in cucul_*_bitmap and cucul_*_sprite.
18 years ago
Sam Hocevar
e7deb17101
* Added a lame "powered by libcaca" banner to cacaplas.
18 years ago
Sam Hocevar
31d42c65de
Nan mais avec ma config _,--. ,--._
d'Emacs c'est vraiment \ > `-"""-' < /
impossible qu'il reste `-. .-'
des tabs dans mon code / 'e___e` \
\__ ( (o o) )
HAHAHAHA MAIS _\_ `=' _/_
VIEUX PORC ! / /|`-._.-'|\ \
\ ., / /||_______||\ \
.,|_) _/ /_||=======||_\ \_
_ _______( ,\ ', / _/==|| ||==\_ \
'(-'.` '-``o t__ `'( ^^ ^^ )`'
'/ (") \ /
| t-` \______|______/
\ )_.-` |______|______|
\ .^--| /_| )__| |__(
\_(_\ |_|'[_\ / ] [ \
'[_\ '[_\ `--' `--'
18 years ago
Jean-Yves Lamoureux
c32b620fb8
* Optimised cacaballs a bit
18 years ago
Jean-Yves Lamoureux
230d5ac181
* Better cacaballs parameters
18 years ago
Sam Hocevar
2453a988e4
* Increased cacamoir circle thikness by 50%, because it currently really
sucks in small resolutions.
18 years ago
Sam Hocevar
788bec7de8
* Minor coding style fixes.
18 years ago
Sam Hocevar
ba567af9a1
* Fixed a warning in cacaball.c.
18 years ago
Sam Hocevar
b337745bf1
* Made cacamoir, cacaball and cacaplas buildable into a kernel.
19 years ago
Sam Hocevar
15ac34a918
* Added glue code to compile libcaca without a libc and build applications
as multiboot kernels.
19 years ago
Sam Hocevar
70d96c811b
* Polished the driver split a bit (still no events, except resize events),
properly credited authors and documented a few things.
19 years ago
Sam Hocevar
201ad26639
* Moved stuff again.
19 years ago
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
19 years ago
Sam Hocevar
6c6beb3541
* Use 32 bit integers for the character array. No visible difference for
now because we only do ASCII, but that will let us do Unicode later.
19 years ago
Sam Hocevar
92ef8499f1
* Removed caca_set_{size,width,height} because cucul_set_size ought to be
enough for everyone. Maybe I'll reintroduce caca_set_size sometime in the
future because it's libcaca who gets the resize events, after all.
19 years ago
Jean-Yves Lamoureux
044c9d39a0
* I just suck. I'll goatse myself right after beeing back at home.
19 years ago
Sam Hocevar
87f22f292e
* src/graphics.c: minor optimisations.
19 years ago
Sam Hocevar
730834f30b
* Nan mais je voudrais pas avoir l'air d'insister mon gars, mais primo
dans la vraie vie, 0x007f7f7f et { 0x00, 0x7f, 0x7f, 0x7f } n'ont pas
toujours les bytes dans le meme ordre, deuzio un unsigned int n'a pas
toujours 4 bytes, et troizio tu pourrais au moins checker que ca fait
pas de warnings et/ou que ca segfaulte pas !
19 years ago
Jean-Yves Lamoureux
4c53d0ea48
* Mais je fais comme je veux bordel de cul !
19 years ago
Sam Hocevar
0ecdc0280b
* Haha mais vieux porc a pattes !
19 years ago
Jean-Yves Lamoureux
2826bc67f5
* Reverted to integer colors in GL driver, fixed a bunch of warnings in slang.
19 years ago
Sam Hocevar
6d99c79d26
* All output plugins should now work again.
* Renamed caca_refresh() into caca_display() which makes more sense.
* Optimised gl_bgpal by directly storing floats instead of doing the
conversion at runtime.
* Handle resizing in cucul_set_size() and try to keep as much information
as possible from the previous canvas.
* Moved most global variables into cucul_t or caca_t contexts.
* Moved time.c into libcaca.
19 years ago
Sam Hocevar
dfb47f643c
* src/cucul.c: s/width/height/.
19 years ago
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 years ago
Sam Hocevar
707f10de81
* Changed the licensing to WTFPL, as per all copyright holders' permission.
19 years ago
Jean-Yves Lamoureux
895adf52f3
* Fixed bug in events with GL driver
19 years ago
Jean-Yves Lamoureux
43c29676eb
* Improved GL rendering (characters are not blurry anymore)
19 years ago
Jean-Yves Lamoureux
29775feb27
* Added caca_set_width, set_height_, set_size
19 years ago
Jean-Yves Lamoureux
c331fe42d5
* Fixed warnings under GCC 4.x
19 years ago
Jean-Yves Lamoureux
49a53f68bc
* Fixed a bunch of warnings
19 years ago
Sam Hocevar
782b464878
* more coding style fixes.
19 years ago
Sam Hocevar
c55e00fe59
* src/caca.c: on Unix, do not use the GL driver if DISPLAY is not set.
19 years ago
Sam Hocevar
8067a1982b
* src/graphics.c: call glutInit() before calling other glut functions.
19 years ago
Sam Hocevar
6516714d03
* coding style fixes.
19 years ago
Sam Hocevar
f42fd33636
* src/bitmap.c:
+ Renamed gammaval into gamma.
+ Fixed Doxygen comments.
19 years ago
Jean-Yves Lamoureux
94bce66cf0
* src/event.c Fixed compilation problem when compiled without slang nor ncurses
19 years ago
Jean-Yves Lamoureux
2ce4af96e1
* src/graphics.c src/caca.h : Added ANSI exporter
19 years ago
Jean-Yves Lamoureux
4ce99f0aff
* src/math.c src/bitmap.c src/caca.h Removed powf call, added caca_powf, to remove libm depencies and problems on old compilers/linkers.
19 years ago
Sam Hocevar
970b0cfcc6
* src/event.c src/caca.c: fixed coding style
19 years ago
Jean-Yves Lamoureux
7faa9019fd
* OpenGL driver mouse support
19 years ago
Sam Hocevar
0ab0efe335
* src/graphics.c: more optimisations in the exporters
19 years ago
Jean-Yves Lamoureux
53c587e556
* made caca_get_html3() use tables again, as div is not html3 (bgcolor in html3 neither, but works on text mode tables-aware browsers
19 years ago