Pascal Terjan
ee3018643d
Only redraw empty rectangles in slang driver
15 vuotta sitten
Pascal Terjan
27fffbb33c
Fix empty dirty rectangles detection
15 vuotta sitten
Pascal Terjan
44f5d172f0
* Only redraw dirty rectangle in x11 driver
15 vuotta sitten
Sam Hocevar
70ee273ef7
Add a few svn:ignore properties for Visual Studio cruft.
15 vuotta sitten
Sam Hocevar
b61b93ddd2
Added MSVC project files for most example programs.
15 vuotta sitten
Sam Hocevar
1fe07f325e
Fixed libcaca and the Visual Studio solution so that it works
on Win64, including the .NET projects.
15 vuotta sitten
Sam Hocevar
fc193a4b99
Fix a few implicit cast related warnings on VC++.
15 vuotta sitten
Sam Hocevar
3b3bf0160d
Fix a few dirty rectangle bugs found with the unit tests. Let that be a
lesson to you: unit tests are good.
15 vuotta sitten
Sam Hocevar
6065f2246f
Start writing unit tests for the dirty rectangle handling.
15 vuotta sitten
Sam Hocevar
3a6f4323ec
Finish the dirty rectangle architecture. They are now reliable in the sense
that anything outside the dirty rectangle is guaranteed to be unchanged, but
we currently mark far too many cells as dirty. This must be optimised.
15 vuotta sitten
Sam Hocevar
a69ddfcd10
Factor code from caca_draw_cp437_box() and caca_draw_thinbox_box().
15 vuotta sitten
Sam Hocevar
a94a7e912c
Set up the architecture for dirty rectangles.
Dirty rectangles are an upcoming optimisation that will tell the output
drivers which portion of the canvas has been really modified since the
last blit.
15 vuotta sitten
Sam Hocevar
b17bb5f7e6
Update msdev files to 9.0 (Visual Studio 2008). If anyone wants to
play with the Windows port, there is a 90-day evaluation version
available for free on the Microsoft website.
15 vuotta sitten
Sam Hocevar
af3c74e915
import.c: when importing ANSI or UTF-8 files, treat ^L as a canvas
frame separator. Not extremely robust yet.
15 vuotta sitten
Sam Hocevar
7b25d39e63
Apparently \033 is more common than \x1b for ESC. Use the former in our
code for clarity.
15 vuotta sitten
Sam Hocevar
fb7c744402
Added new Unicode blocks to the built-in font.
15 vuotta sitten
Sam Hocevar
7e70f6183a
transform.c: one more rotated glyph.
15 vuotta sitten
Sam Hocevar
6e5b4d29d6
transform.c: add new transformation glyphs for various capital letters.
15 vuotta sitten
Sam Hocevar
b7ba0adba0
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>.
Fixes ticket #51 .
15 vuotta sitten
Nicolas Vion
42fc449127
* Remove 'copy' attribute of RETURN_STRINGL in php binding of functions: caca_file_gets, caca_file_read
* Use RETVAL_STRINGL instead of RETURN_STRINGL in function caca_export_string
16 vuotta sitten
Pascal Terjan
d17c0e5ce7
* Add a flip char for 1
16 vuotta sitten
Pascal Terjan
cd00d4bd33
* Add a rotate_180 char for G
16 vuotta sitten
Sam Hocevar
55d5e56691
Create a libcucul.la symlink for distributions such as Gentoo which may
rely on .la files for library dependencies.
16 vuotta sitten
Ben Wiley Sittler
1498e63f72
add a reset button, move usage to "stdout", and stop hyperlinking the
logo filename in the example
16 vuotta sitten
Ben Wiley Sittler
ff6e92dfc8
allow a filename exactly matching the uploaded filename; give a better
error message when this does not work
16 vuotta sitten
Ben Wiley Sittler
5e49dcc864
more copyright info
16 vuotta sitten
Ben Wiley Sittler
dc821b8826
add more copyright info
16 vuotta sitten
Ben Wiley Sittler
96a393f391
https should work too
16 vuotta sitten
Ben Wiley Sittler
7e823f8ba8
obscure email addresses somewhat
16 vuotta sitten
Ben Wiley Sittler
f02befd915
better argument handling, and allow logo-caca.png as a special file argument
16 vuotta sitten
Ben Wiley Sittler
3a86d53fb2
fix case in example
16 vuotta sitten
Ben Wiley Sittler
bea03b1b1b
now works as HTML
16 vuotta sitten
Ben Wiley Sittler
8e859c7c0d
handle argument-parsing exceptions
16 vuotta sitten
Ben Wiley Sittler
4c5f2a9098
more accurate error message
16 vuotta sitten
Ben Wiley Sittler
872dd08617
clarify that this is a PHP port, not the original C program; return -1
when export fails, too
16 vuotta sitten
Ben Wiley Sittler
8fa649ff3e
copy img2txt.php to www in preparation for htmlizing
16 vuotta sitten
Ben Wiley Sittler
fc3775ca2a
remove workarounds since alpha works now (merged from ..)
16 vuotta sitten
Ben Wiley Sittler
32e5ad4d05
hacked around the lack of a reasonable php getopt_long by writing a
new version in PHP. it seems to work, and is more flexible than the
getopt() found in PHP 5.3+.
16 vuotta sitten
Ben Wiley Sittler
04e8348ea5
fix yet another bug i wrote :( -- be endian-neutral.
16 vuotta sitten
Ben Wiley Sittler
d71ddf0f51
no more horrible hacks needed, since fixing the alpha mismatch in the C binding
16 vuotta sitten
Ben Wiley Sittler
d0a08f2be2
do not bother with an extraneous fill, and don't create out.png
16 vuotta sitten
Ben Wiley Sittler
79864c5541
fix endianness problem
16 vuotta sitten
Ben Wiley Sittler
010c3b20bf
oops! fix problem i introduced in the previous commit
16 vuotta sitten
Ben Wiley Sittler
f75f27aec8
fix impedence mismatch between libgd alpha (0 = opaque, 127 = transparent) and libcaca alpha (0 = transparent, 255 = opaque)
16 vuotta sitten
Ben Wiley Sittler
309bf77215
copy img2txt.c to img2txt.php in preparation for phpizing
16 vuotta sitten
Ben Wiley Sittler
bf59034786
convert to use PHP object layer similar to the C++ one used in its C++ predecessor, cxx/cxxtest.cpp; also change behavior and appearance to more closely match that version (perhaps, though, the changes should have been ported in the other direction instead...)
16 vuotta sitten
Ben Wiley Sittler
d9d23767d4
default to $timeout = 0 in Display::getEvent()
16 vuotta sitten
Ben Wiley Sittler
5626959bbc
fix some bugs and inconsistencies in the PHP object layer
16 vuotta sitten
Ben Wiley Sittler
0b32c1d6eb
add a Libcaca class to the PHP class interface, parallel to the Libcaca class in the .NET interface; fix a bunch of whitespace inconsistencies
16 vuotta sitten
Ben Wiley Sittler
8e65594567
add AnsiColor, EventType and EventKey constants parallel to the .NET ones
16 vuotta sitten