Sam Hocevar
f1267fbd3c
Fix copyright headers so that the testsuite passes again.
pirms 6 gadiem
Jack Carrozzo
05bfb8af09
img2text.c: fix width arg case in example
pirms 7 gadiem
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
pirms 12 gadiem
Sam Hocevar
a1d0435da5
Move mygetopt() directly into libcaca, for use by other programs.
pirms 14 gadiem
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
pirms 14 gadiem
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
pirms 15 gadiem
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().
pirms 15 gadiem
Sam Hocevar
c7487d700d
Change the website name to caca.zoy.org.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
8f832a3b47
* Switch a few unsigned int variables to size_t where appropriate.
* Synchronise parameter types in the C++ bindings with the C API.
pirms 16 gadiem
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.
pirms 16 gadiem
Sam Hocevar
7e75ff3c1d
* Fix the "img2txt: option requires an argument -- h" bug.
pirms 17 gadiem
Sam Hocevar
8d9239234f
* Use cucul_get_dither_algorithm_list() and cucul_get_export_list() instead
of hardcoding the feature list in img2txt.
pirms 17 gadiem
Jean-Yves Lamoureux
c2ed045c79
* Added BBCode (French) format to img2txt's help and doc
pirms 17 gadiem
Sam Hocevar
9c72677ccf
* Add cucul_get_version() and caca_get_version() and updated C++ bindings
accordingly.
* The C++ test example no longer needs "config.h".
pirms 17 gadiem
Jean-Yves Lamoureux
7d7f4c42e1
* Added switch to control output font size, and updated documentation
accordingly
pirms 17 gadiem
Jean-Yves Lamoureux
a4d6ee90fd
* Added version switch
pirms 17 gadiem
Jean-Yves Lamoureux
9ecad83135
* Updated documentation to reflect img2irc name change, fixed typo in img2txt help
pirms 17 gadiem
Jean-Yves Lamoureux
d6cc372844
* Fixed typo in help
pirms 17 gadiem
Jean-Yves Lamoureux
f4f8d0c5dd
* Added imlib2 note on builds without it
pirms 17 gadiem
Jean-Yves Lamoureux
4e0b1f5c13
* Added brightness / contrast / gamma support
pirms 17 gadiem
Jean-Yves Lamoureux
6a53dfc716
* Fixed bad file error handling, made dither and export errors more informative on program name
pirms 17 gadiem
Jean-Yves Lamoureux
885738502b
* Added dither error handling
pirms 17 gadiem
Jean-Yves Lamoureux
016460536f
* Added --dither option and updated usage()
pirms 17 gadiem
Jean-Yves Lamoureux
5f07f38ac1
* Replaced img2irc / pic2irc occurences, fixed bad c/c in options list
pirms 17 gadiem
Jean-Yves Lamoureux
44e898598f
* Renamed img2irc to a more generic img2txt
pirms 17 gadiem
Jean-Yves Lamoureux
2efdd10e16
* Added getopt / mygetopt support to img2irc, and added options to control width, height, and format
pirms 17 gadiem
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
pirms 18 gadiem
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
pirms 18 gadiem
Sam Hocevar
21856cf414
* Wrote manual pages for img2irc, cacaplay and cacaserver.
pirms 18 gadiem
Sam Hocevar
9621f21c5a
* Convert all programs and tests to the new import/export API.
pirms 18 gadiem
Sam Hocevar
42c9518d2a
* Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored
cucul_set_color() and cucul_set_truecolor() under the new names
cucul_set_color_ansi() and cucul_set_color_argb().
* Renamed cucul_get_color_name() into cucul_ansi_to_str().
pirms 18 gadiem
Sam Hocevar
0b37a307dd
* Get rid of cucul_set_attr_ansi() and cucul_set_attr_argb and merge the
functionality into cucul_set_attr().
* Add cucul_ansi_to_attr() and cucul_argb_to_attr().
* Rename CUCUL_COLOR_* to CUCUL_*.
pirms 18 gadiem
Sam Hocevar
aa93ad25f6
* Remove cucul_set_color() from the exported API and replaced all calls
with cucul_set_attr_ansi(). Old application will still compile (but issue
a warning) and run, though.
pirms 18 gadiem
Sam Hocevar
c58db87df1
* A few coding style fixes.
pirms 18 gadiem
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
pirms 18 gadiem
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
pirms 18 gadiem
Sam Hocevar
bde0e5ca7e
* Changed cucul_clear_canvas() again. It now uses the current foreground
and background colours to clear the screen.
pirms 18 gadiem
Sam Hocevar
2401f2c732
* Moved cucul_load_canvas() into cucul/import.c and renamed it into
cucul_import_canvas().
* Renamed cucul_create_export() into cucul_export_canvas() for consistency.
pirms 18 gadiem
Sam Hocevar
0deb4abc25
* Changed the cucul_dither_bitmap behaviour so that the 4 coordinates are
now x/y/width/height instead of x1/y1/x2/y2. Avoids unnecessary +1/-1
computations.
pirms 18 gadiem
Sam Hocevar
a4ac581b6f
* Renamed cucul_clear() to cucul_clear_canvas() and added an argument to
choose the background colour.
pirms 18 gadiem
Sam Hocevar
18f6532dbc
* Renamed main canvas-related functions so that they have "canvas" in
their name, eg. cucul_create() -> cucul_create_canvas() etc.
* Moved buffer-related functions to cucul/buffer.c.
pirms 18 gadiem
Sam Hocevar
687a2c43f6
* Renamed caca_t into caca_display_t.
* Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
pirms 18 gadiem
Sam Hocevar
246c5b4d67
* Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
pirms 18 gadiem
Sam Hocevar
17c065a49e
* Replaced "struct cucul_*" and "struct caca_*" types with opaque typedefs
such as cucul_dither_t instead of struct cucul_dither.
* Made cucul_buffer_t an opaque structure and implemented the two getters
cucul_get_buffer_data() and cucul_get_buffer_size().
* Documented all missing functions and function parameters.
pirms 18 gadiem
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
pirms 18 gadiem
Sam Hocevar
1084035890
* Added img2irc program. I know it does not have "cucul" or "caca" in the
name, but as I said, I do what I want. http://zoy.org/~sam/pb7th.png
pirms 18 gadiem