ea99175
Change the dirty rectangle API once again so that calling applications get a more natural (x,y,w,h) 4-tuple to handle. by
2009-05-21 20:55:13 +0000
969e870
Fix the old demo examples so that they don't refresh the screen twice every frame, causing the mouse to flicker. by
2009-05-21 20:55:07 +0000
1142840
Split import.c and export.c to create a new text.c codec file in order to keep source files under 1,000 lines of code. by
2009-05-21 20:54:59 +0000
d1db2df
Revert r3478 by
2009-05-20 14:44:47 +0000
95811ce
Manually fix Visual Studio files so that builds do not spew their crap all over the place. There is still caca-sharp/obj that it insists on creating (reported as Connect ID 301965). by
2009-05-20 14:20:59 +0000
0c7fd89
Add dirty rectangle support to the ncurses and VGA drivers. by
2009-05-19 22:48:12 +0000
42a5c2b
Increased the autorepeat delay in the ncurses and SLang drivers. Now that we have dirty rectangles, fast autorepeat becomes perfectly usable. by
2009-05-19 21:41:44 +0000
17b840d
Improve dirty rectangle handling in examples/input.c. by
2009-05-19 21:41:38 +0000
3338776
Fix a few DOS compilation warnings. by
2009-05-19 20:42:40 +0000
8283ca4
Fix a ruby unit test that made wrong use of Caca::Display.driver_list. by
2009-05-19 20:42:34 +0000
9f726c1
Update the migration documentation to reflect old box drawing API changes. by
2009-05-19 20:42:28 +0000
143b3c9
Fix the text input example now that the box drawing functions take a size as argument. by
2009-05-19 20:42:22 +0000
222e165
Fix dirty rectangle handling in the X11 and SLang drivers. by
2009-05-19 20:42:12 +0000
33f2264
Import/export dirty rectangles by
2009-05-19 12:46:34 +0000
0abc49e
Minor optimisation in configure.ac. by
2009-05-19 01:04:03 +0000
22e5b5f
cacaplay: rename "eof" to "has_eof" to prevent shadowing a mingw32 variable. by
2009-05-19 01:03:57 +0000
1fe8a87
A lot of documentation updates here and there, including bugfixes dating back to the libcucul merge. by
2009-05-19 00:52:10 +0000
8d7a413
Update the Doxygen configuration file to version 1.5.9. by
2009-05-19 00:52:02 +0000
dd48fb6
Optimise the dirty rectangle handling by keeping track of the number of currently dirty rectangles. by
2009-05-19 00:51:55 +0000
a6b98c2
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. by
2009-05-19 00:51:47 +0000
ee30186
Only redraw empty rectangles in slang driver by
2009-05-18 13:02:43 +0000
27fffbb
Fix empty dirty rectangles detection by
2009-05-18 12:54:49 +0000
44f5d17
* Only redraw dirty rectangle in x11 driver by
2009-05-16 20:14:04 +0000
70ee273
Add a few svn:ignore properties for Visual Studio cruft. by
2009-05-15 14:42:31 +0000
b61b93d
Added MSVC project files for most example programs. by
2009-05-15 14:38:30 +0000
1fe07f3
Fixed libcaca and the Visual Studio solution so that it works on Win64, including the .NET projects. by
2009-05-14 10:04:26 +0000
fc193a4
Fix a few implicit cast related warnings on VC++. by
2009-05-14 08:43:52 +0000
3b3bf01
Fix a few dirty rectangle bugs found with the unit tests. Let that be a lesson to you: unit tests are good. by
2009-05-14 00:18:37 +0000
6065f22
Start writing unit tests for the dirty rectangle handling. by
2009-05-14 00:18:30 +0000
3a6f432
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. by
2009-05-14 00:18:23 +0000
a69ddfc
Factor code from caca_draw_cp437_box() and caca_draw_thinbox_box(). by
2009-05-14 00:18:13 +0000
a94a7e9
Set up the architecture for dirty rectangles. by
2009-05-13 06:40:48 +0000
b17bb5f
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. by
2009-04-29 12:22:35 +0000
af3c74e
import.c: when importing ANSI or UTF-8 files, treat ^L as a canvas frame separator. Not extremely robust yet. by
2009-04-29 12:13:19 +0000
7b25d39
Apparently \033 is more common than \x1b for ESC. Use the former in our code for clarity. by
2009-03-24 00:58:01 +0000
fb7c744
Added new Unicode blocks to the built-in font. by
2009-03-01 13:20:41 +0000
7e70f61
transform.c: one more rotated glyph. by
2009-03-01 12:39:36 +0000
6e5b4d2
transform.c: add new transformation glyphs for various capital letters. by
2009-03-01 12:33:25 +0000
b7ba0ad
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>. Fixes ticket #51. by
2009-02-26 10:41:32 +0000
42fc449
* 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 by
2008-12-09 17:37:22 +0000
d17c0e5
* Add a flip char for 1 by
2008-11-30 00:02:46 +0000
cd00d4b
* Add a rotate_180 char for G by
2008-11-29 23:53:55 +0000
55d5e56
Create a libcucul.la symlink for distributions such as Gentoo which may rely on .la files for library dependencies. by
2008-11-12 10:20:56 +0000
1498e63
add a reset button, move usage to "stdout", and stop hyperlinking the logo filename in the example by
2008-11-07 09:03:26 +0000
ff6e92d
allow a filename exactly matching the uploaded filename; give a better error message when this does not work by
2008-11-07 08:57:44 +0000
5e49dcc
more copyright info by
2008-11-07 08:38:55 +0000
dc821b8
add more copyright info by
2008-11-07 08:37:59 +0000
96a393f
https should work too by
2008-11-07 08:36:07 +0000
7e823f8
obscure email addresses somewhat by
2008-11-07 08:35:29 +0000
f02befd
better argument handling, and allow logo-caca.png as a special file argument by
2008-11-07 08:33:03 +0000
3a86d53
fix case in example by
2008-11-07 08:25:01 +0000
bea03b1
now works as HTML by
2008-11-07 07:56:36 +0000
8e859c7
handle argument-parsing exceptions by
2008-11-07 07:13:57 +0000
4c5f2a9
more accurate error message by
2008-11-07 07:09:52 +0000
872dd08
clarify that this is a PHP port, not the original C program; return -1 when export fails, too by
2008-11-07 06:30:29 +0000
8fa649f
copy img2txt.php to www in preparation for htmlizing by
2008-11-07 05:55:12 +0000
fc3775c
remove workarounds since alpha works now (merged from ..) by
2008-11-07 05:51:26 +0000
32e5ad4
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+. by
2008-11-07 05:48:32 +0000
04e8348
fix yet another bug i wrote :( -- be endian-neutral. by
2008-11-07 04:31:04 +0000
d71ddf0
no more horrible hacks needed, since fixing the alpha mismatch in the C binding by
2008-11-06 23:25:26 +0000
d0a08f2
do not bother with an extraneous fill, and don't create out.png by
2008-11-06 23:21:15 +0000
79864c5
fix endianness problem by
2008-11-06 23:18:48 +0000
010c3b2
oops! fix problem i introduced in the previous commit by
2008-11-06 20:01:57 +0000
f75f27a
fix impedence mismatch between libgd alpha (0 = opaque, 127 = transparent) and libcaca alpha (0 = transparent, 255 = opaque) by
2008-11-06 19:45:11 +0000
309bf77
copy img2txt.c to img2txt.php in preparation for phpizing by
2008-11-06 17:04:21 +0000
bf59034
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...) by
2008-11-06 07:16:59 +0000
d9d2376
default to $timeout = 0 in Display::getEvent() by
2008-11-06 07:14:12 +0000
5626959
fix some bugs and inconsistencies in the PHP object layer by
2008-11-06 07:11:01 +0000
0b32c1d
add a Libcaca class to the PHP class interface, parallel to the Libcaca class in the .NET interface; fix a bunch of whitespace inconsistencies by
2008-11-05 01:00:38 +0000
8e65594
add AnsiColor, EventType and EventKey constants parallel to the .NET ones by
2008-11-05 00:39:18 +0000
d258b7e
added missing constant CACA_KEY_UNKNOWN by
2008-11-05 00:38:14 +0000
96b250c
preliminary port of jylam and sam's test.cs to PHP using an early version of nico's caca.php; right now it looks in dirname($argv[0]) . "/.." for caca.php, which will need to be fixed once caca.php is installed in a php standard include directory by
2008-11-05 00:04:35 +0000
41b52e7
copy test.cs to test.php in preparation for phpizing by
2008-11-04 23:57:57 +0000
24ca750
merge alpha fix from svn://svn.zoy.org/libcaca/libcaca/trunk/caca-php/examples/export.php@3287 into examples/www/export.php by
2008-11-04 23:56:43 +0000
839457c
use alpha in PNG export, since it is now required to get a correct PNG output image by
2008-11-04 23:54:38 +0000
eb7b2bd
fix type in Canvas::drawLine; add a minimal class Event providing a subset of the functionality of the .NET version; added Display::getEvent similar to the .NET version; change Dither::bitmap to take a Canvas object rather than a caca canvas resource as its first parameter; add Font::Render and Font::getList methods parallel to the .NET version by
2008-11-04 23:53:18 +0000
c1e1760
use alpha channel in gd truecolor images -- note that the scale for this is [0, 127], rather than [0, 255]; always free the temporary pixels copy allocated in PHP_FUNCTION(caca_dither_bitmap); fix a typo which caused PHP_FUNCTION(caca_set_display_title) to crash due to a failed run-time binding to "caca_set_display" (the "_title" was missing). by
2008-11-04 23:48:31 +0000
07d9dcc
preserve column alignment better by breaking cells at spaces; preserve readability of fullwidth characters better by not placing cell boundaries between them unneccessarily by
2008-11-04 06:11:19 +0000
e434549
force a column alignment after each column containing a fullwidth character. by
2008-11-04 05:45:21 +0000
14c4a66
no border in old browsers, either. by
2008-11-04 05:43:37 +0000
fe9bc1e
htmlification by
2008-11-04 05:28:03 +0000
7ee83ef
copy unicode.php to www in preparation for htmlizing by
2008-11-04 05:23:16 +0000
912c12b
cli-only by
2008-11-04 05:22:24 +0000
cefb7fb
phpized by
2008-11-04 05:21:34 +0000
f89341d
copy unicode.c to unicode.php in preparation for phpizing by
2008-11-04 05:17:37 +0000
c503541
htmlize by
2008-11-04 05:12:17 +0000
b570119
copy transform.php to www in preparation for htmlizing by
2008-11-04 04:58:38 +0000
dd9fff4
PHPified by
2008-11-04 04:56:49 +0000
531c760
copy transform.c to transform.php in preparation for phpizing by
2008-11-04 04:49:17 +0000
7f251a3
show client-side filename by
2008-11-04 04:46:47 +0000
c662584
clearer wording. by
2008-11-04 04:45:23 +0000
735997d
link to an example file to download and then import (generated by export.php) by
2008-11-04 04:21:13 +0000
9e13b58
works well enough to import the files exported by export.php by
2008-11-04 04:13:13 +0000
fee77ca
force cli on remaining examples so that apache doesn't pop up a window (this actually happens with the cocoa driver!) by
2008-11-04 03:56:18 +0000
415b549
CLI-only by
2008-11-04 03:39:20 +0000
665f0c9
copy import.php to www in preparation for htmlizing by
2008-11-04 03:37:12 +0000
13dcd97
list available import formats in usage message by
2008-11-04 03:36:33 +0000
aae1d4c
PHPification of import.c by
2008-11-04 03:32:42 +0000
62b20bc
copy import.c to import.php in preparation for phpizing by
2008-11-04 03:22:04 +0000
4b01269
only fill the preview iframe when javascript is enabled by
2008-11-04 00:56:07 +0000