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 vuotta sitten
Jean-Yves Lamoureux
32037db492
* Updated documentation a bit
18 vuotta sitten
Jean-Yves Lamoureux
a676487863
* Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
18 vuotta sitten
Jean-Yves Lamoureux
e710d1078d
* Fixed memory leak in network driver
18 vuotta sitten
Sam Hocevar
30d6a92464
* Made the OpenGL colors slightly less saturated.
18 vuotta sitten
Sam Hocevar
a499e05961
* Make output drivers more error resilient when handling UTF-32 characters,
by simply ignoring everything non ASCII :-)
18 vuotta sitten
Jean-Yves Lamoureux
f957e380d4
* Fixed blinking screen
18 vuotta sitten
Jean-Yves Lamoureux
b9ab5e0e5a
* Exporters now return size of generated data
18 vuotta sitten
Jean-Yves Lamoureux
fd331c1504
* Added very preliminary network driver
18 vuotta sitten
Sam Hocevar
da30961a0e
* Fixed async issues between the driver and libcaca when resizing windows,
and simplified the handle_resize() API. Still can be polished.
18 vuotta sitten
Sam Hocevar
05e98f2254
* cucul_set_size() does nothing if a graphical backend is attached. Added
documentation to explain this behaviour.
18 vuotta sitten
Sam Hocevar
e44a01f08d
* Cosmetic changes here and there.
18 vuotta sitten
Sam Hocevar
8f286f6432
* Finished moving everything driver-specific to the apropriate driver_*.c
files. Phew. Now they just need a few comments.
18 vuotta sitten
Sam Hocevar
cf02908f38
* Cleaned up useless header includes.
18 vuotta sitten
Sam Hocevar
2936525ab7
* Split event.c into the appropriate driver_*.c files.
18 vuotta sitten
Sam Hocevar
43fb548c8b
* Let us do "caca-config --libs cucul" to get only the libcucul dependencies.
18 vuotta sitten
Sam Hocevar
692132539c
* Ignore driver_*.c files when building documentation.
18 vuotta sitten
Sam Hocevar
de9aa8f55a
* configure.ac: look for a4wide.sty in more than one location.
18 vuotta sitten
Sam Hocevar
73e689b2a3
* Fixed DOS driver.
* Added a build-dos script to cross-compile the DOS version using djgpp.
19 vuotta sitten
Sam Hocevar
e41f3e0cc8
* configure.ac: removed the "null" frontend. just don't attach any frontend
if you do not want any.
19 vuotta sitten
Sam Hocevar
41e32c8809
* Got rid of static variables in the event code.
19 vuotta sitten
Sam Hocevar
70d96c811b
* Polished the driver split a bit (still no events, except resize events),
properly credited authors and documented a few things.
19 vuotta sitten
Sam Hocevar
34764ae68a
* Split caca/graphics.c into driver-specific files. Resize is currently
broken, and event handling is not yet in the driver-specific files, but
I will of course fix that later.
19 vuotta sitten
Sam Hocevar
2da530a9ab
* Ooops, I fucked up the build.
19 vuotta sitten
Sam Hocevar
201ad26639
* Moved stuff again.
19 vuotta sitten
Sam Hocevar
4f59010b4c
* Moved stuff around to differenciate between libcucul and libcaca.
19 vuotta sitten
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 vuotta sitten
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 vuotta sitten
Jean-Yves Lamoureux
044c9d39a0
* I just suck. I'll goatse myself right after beeing back at home.
19 vuotta sitten
Sam Hocevar
87f22f292e
* src/graphics.c: minor optimisations.
19 vuotta sitten
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 vuotta sitten
Jean-Yves Lamoureux
4c53d0ea48
* Mais je fais comme je veux bordel de cul !
19 vuotta sitten
Sam Hocevar
0ecdc0280b
* Haha mais vieux porc a pattes !
19 vuotta sitten
Jean-Yves Lamoureux
2826bc67f5
* Reverted to integer colors in GL driver, fixed a bunch of warnings in slang.
19 vuotta sitten
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 vuotta sitten
Sam Hocevar
480b8a916b
* Removed cacademo from examples, manpages and distributions. It's useless.
19 vuotta sitten
Sam Hocevar
dfb47f643c
* src/cucul.c: s/width/height/.
19 vuotta sitten
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 vuotta sitten
Sam Hocevar
4357edcaf9
* New updated bootstrap script.
19 vuotta sitten
Sam Hocevar
707f10de81
* Changed the licensing to WTFPL, as per all copyright holders' permission.
19 vuotta sitten
Jean-Yves Lamoureux
1a9c9e36f8
* Added two examples for python bindings (a subset of cacademo, and bitmap example)
19 vuotta sitten
Jean-Yves Lamoureux
895adf52f3
* Fixed bug in events with GL driver
19 vuotta sitten
Jean-Yves Lamoureux
43c29676eb
* Improved GL rendering (characters are not blurry anymore)
19 vuotta sitten
Jean-Yves Lamoureux
020219a96e
* Added -preliminary- Python bindings
19 vuotta sitten
Jean-Yves Lamoureux
bdf0f39073
* Updated for my ego trip
19 vuotta sitten
Jean-Yves Lamoureux
a05ac738aa
* Removed debug test, kekeke ^^
19 vuotta sitten
Jean-Yves Lamoureux
29775feb27
* Added caca_set_width, set_height_, set_size
19 vuotta sitten
Jean-Yves Lamoureux
dd5668d9f0
* Fixed remaining warnings with gcc 3.x and 4.x
19 vuotta sitten
Jean-Yves Lamoureux
c331fe42d5
* Fixed warnings under GCC 4.x
19 vuotta sitten
Jean-Yves Lamoureux
49a53f68bc
* Fixed a bunch of warnings
19 vuotta sitten