Sam Hocevar
d736507785
build: fix copyright information.
12 年之前
Sam Hocevar
9b513e786c
Fix a bug in our Xutf8LookupString() usage.
13 年之前
Pascal Terjan
7b4b48187e
* Fix using dead keys on my us_intl keyboard
- Ignore key events when XFilterEvent returns true
- Do not set key to 0 when it is over 128
14 年之前
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
15 年之前
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 年之前
Sam Hocevar
231c33acce
Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs().
Fixes #41 .
15 年之前
Sam Hocevar
827c233769
Deduce X11 font size from a relevant sample to avoid oversized font
cells. Fixes bug #21 (X11 Unicode support).
15 年之前
Sam Hocevar
6d943c6f02
Call setlocale() in the X11 driver to activate the current locale. If it
is an UTF-8 locale, more glyphs are displayed.
15 年之前
Sam Hocevar
84fb312769
Use XwcDrawString in the X11 driver if font sets are available.
15 年之前
Sam Hocevar
095f62878b
Allow the X11 driver to display Unicode characters if they are in the
current font (addresses #21 ).
15 年之前
Pascal Terjan
ad76a4e717
* Fix Delete key with X11 driver
15 年之前
Pascal Terjan
32a2af5501
* Fix non ASCII input in x11 driver
15 年之前
Sam Hocevar
7ebd74e3ee
Fix an unlikely crash that may happen when the X server cannot open
the "fixed" font.
15 年之前
Sam Hocevar
1f5518f842
Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and
caca_wherey(), in order to match the old <conio.h> naming scheme.
15 年之前
Sam Hocevar
4f7081153e
Do not add a dirty rectangle at the cursor's position. It's up to the
display driver to clean up its shit. Fixed X11 driver accordingly.
15 年之前
Sam Hocevar
1d60711ac4
Mark the whole canvas as dirty when a dirty rectangle aware driver is
attached to it.
15 年之前
Pascal Terjan
de5be87d0e
Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there
15 年之前
Sam Hocevar
ea99175a2f
Change the dirty rectangle API once again so that calling applications get
a more natural (x,y,w,h) 4-tuple to handle.
15 年之前
Sam Hocevar
222e165d21
Fix dirty rectangle handling in the X11 and SLang drivers.
15 年之前
Sam Hocevar
a6b98c2518
Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.
15 年之前
Pascal Terjan
27fffbb33c
Fix empty dirty rectangles detection
15 年之前
Pascal Terjan
44f5d172f0
* Only redraw dirty rectangle in x11 driver
15 年之前
Sam Hocevar
e1562a8d46
libcaca: move codecs and import/export functions into subdirectories.
16 年之前
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 年之前
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 年之前
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 年之前
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 年之前
Sam Hocevar
b519d05bce
* Export cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg() and
cucul_attr_to_argb64() (previously _cucul_attr_to_rgb12bg,
_cucul_attr_to_rgb12fg and _cucul_attr_to_argb4) in the official
libcucul API.
* Cleanup complete: libcaca no longer depends on "cucul_internals.h".
17 年之前
Sam Hocevar
07b9891afa
* Introduce cucul_get_canvas_chars() and cucul_get_canvas_attrs() to avoid
direct cv->chars and cv->attrs access by display drivers.
17 年之前
Sam Hocevar
7362a612c4
* Add cucul_manage_canvas() and cucul_unmanage_canvas(). Display
drivers no longer need to access the cv->refcount private member
and __cucul_set_canvas_size() is no longer needed.
17 年之前
Sam Hocevar
9da4d7b000
* Made the caca_event_t structure opaque and created a whole bunch of
functions to access its real data. This is a big API change that will
break your software, sorry :(
17 年之前
Sam Hocevar
2149829bdf
* Added as many "const" qualifiers as possible to the public API.
17 年之前
Sam Hocevar
31cbfb5bea
* Rename _cucul_set_canvas_size into __cucul_set_canvas_size to prevent
collisions due to symbol mangling.
17 年之前
Sam Hocevar
95e6709b10
* Implemented caca_set_cursor() on the X11, ncurses and S-Lang drivers.
* Use caca_set_cursor() in test/input.c.
17 年之前
Sam Hocevar
a6cb886e4a
* Differentiate between • and ● in the X11 rendering overrides.
17 年之前
Sam Hocevar
1e67bd5400
* Patch by Ben Wiley Sittler for two misrendered glyphs.
17 年之前
Sam Hocevar
9369bb3cb8
* Slightly nicer code in driver_x11.c.
17 年之前
Sam Hocevar
8ed49158e8
* X11 driver improvements courtesy of Ben Wiley Sittler. Reworked them a
bit myself, too.
17 年之前
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 年之前
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 年之前
Sam Hocevar
e1a42d9b42
* Added caca_set_cursor(). Not yet functional.
18 年之前
Sam Hocevar
111447fe27
* Blink/Underline/Bold/Italics support in the HTML exporters.
* Underline support in the X11 driver.
18 年之前
Sam Hocevar
86301dd48c
* Use the LSB of alpha and blue components to encode additional flags such
as bold or underline. No higher level support for these yet, but at
least everything is consistent.
* Created cucul_set_attr_ansi() and cucul_set_attr_argb() which are bound
to replace cucul_set_color() and cucul_set_truecolor().
18 年之前
Sam Hocevar
e03e1d62da
* Allow to create the initial canvas with a zero size. Either the application
resizes it later, or the driver changes it to fit the display.
18 年之前
Sam Hocevar
4711611e3f
* Support for fullwidth glyphs in the libcaca output drivers.
18 年之前
Sam Hocevar
0c1746c626
* Renamed the event data member "ucs4" to "utf32" for consistency
with "utf8".
18 年之前
Sam Hocevar
9f90f3f36d
* Added the long dash and middle dot CP437 characters to the X11 driver.
18 年之前
Sam Hocevar
3de6dcf5ef
* Added U+25A0 (■) to the CP437 hack in the X11 driver.
18 年之前
Jean-Yves Lamoureux
7674499822
* removed duplicate code
18 年之前
Sam Hocevar
20c12d1912
* Wow, we even have Home/End support in X11.
18 年之前