Commit: 4341 Author: sam Date: Mon Feb 8 15:06:13 2010 +0100 Add triangle texture mapping to NEWS and update ChangeLog. ChangeLog | 19 +++++++++++++++++++ NEWS | 1 + 2 files changed, 20 insertions(+), 0 deletions(-) Commit: 4340 Author: sam Date: Mon Feb 8 13:59:04 2010 +0000 Update changelog. ChangeLog | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) Commit: 4339 Author: sam Date: Mon Feb 8 13:57:46 2010 +0000 Disable set_dither_palette until we really use it. caca-sharp/Dither.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 4338 Author: sam Date: Mon Feb 8 13:51:52 2010 +0000 Fix distribution of Java source. java/Makefile.am | 69 ++++++++++++++++++++++++++++++++--------------------- 1 files changed, 42 insertions(+), 27 deletions(-) Commit: 4334 Author: sam Date: Mon Feb 8 01:50:59 2010 +0000 Fix ChangeLog, NEWS and win32/config.h for release 0.99.beta17. ChangeLog | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 3 + win32/config.h | 2 +- 3 files changed, 243 insertions(+), 1 deletions(-) Commit: 4333 Author: sam Date: Mon Feb 8 01:27:22 2010 +0000 Large source code cleanup, getting rid of spaces, tabs, and svn keywords. AUTHORS | 2 +- ChangeLog | 26 +- Makefile.am | 1 - NEWS | 37 +- NOTES | 1 - README | 7 +- THANKS | 2 +- bootstrap | 1 - build-dos | 1 - build-kernel | 3 +- build-win32 | 1 - caca-config.in | 1 - caca-php/examples/cacainfo.php | 56 +- caca-php/examples/cacapig.php | 82 ++-- caca-php/examples/colors.php | 24 +- caca-php/examples/demo.php | 630 +++++++++++----------- caca-php/examples/dithering.php | 8 +- caca-php/examples/export.php | 166 +++--- caca-php/examples/figfont.php | 30 +- caca-php/examples/fullwidth.php | 32 +- caca-php/examples/img2txt.php | 682 ++++++++++++------------ caca-php/examples/import.php | 24 +- caca-php/examples/polyline.php | 44 +- caca-php/examples/render.php | 30 +- caca-php/examples/test.php | 208 ++++---- caca-php/examples/text.php | 38 +- caca-php/examples/transform.php | 32 +- caca-php/examples/truecolor.php | 30 +- caca-php/examples/unicode.php | 10 +- caca-php/examples/www/cacainfo.php | 56 +- caca-php/examples/www/colors.php | 20 +- caca-php/examples/www/dithering.php | 4 +- caca-php/examples/www/export.php | 264 +++++----- caca-php/examples/www/figlet.php | 52 +- caca-php/examples/www/fullwidth.php | 28 +- caca-php/examples/www/img2txt.php | 858 +++++++++++++++---------------- caca-php/examples/www/import.php | 42 +- caca-php/examples/www/render.php | 66 ++-- caca-php/examples/www/text.php | 36 +- caca-php/examples/www/transform.php | 28 +- caca-php/examples/www/truecolor.php | 26 +- caca-php/examples/www/unicode.php | 6 +- caca-sharp/AssemblyInfo.cs | 2 - caca-sharp/Attr.cs | 2 - caca-sharp/Caca.cs | 2 - caca-sharp/Canvas.cs | 2 - caca-sharp/Display.cs | 2 - caca-sharp/Dither.cs | 2 - caca-sharp/Event.cs | 2 - caca-sharp/Font.cs | 2 - caca-sharp/Makefile.am | 1 - caca-sharp/test.cs | 2 - caca/Makefile.am | 1 - caca/attr.c | 2 - caca/box.c | 2 - caca/caca.c | 2 - caca/caca.h | 3 - caca/caca0.c | 2 - caca/caca0.h | 2 - caca/caca_conio.c | 2 - caca/caca_conio.h | 2 - caca/caca_debug.h | 9 +- caca/caca_internals.h | 2 - caca/caca_prof.h | 9 +- caca/caca_stubs.h | 9 +- caca/caca_types.h.in | 9 +- caca/canvas.c | 2 - caca/charset.c | 2 - caca/codec/codec.h | 2 - caca/codec/export.c | 2 - caca/codec/import.c | 2 - caca/codec/text.c | 2 - caca/conic.c | 2 - caca/dirty.c | 2 - caca/dither.c | 2 - caca/driver/cocoa.m | 2 - caca/driver/conio.c | 2 - caca/driver/gl.c | 2 - caca/driver/ncurses.c | 2 - caca/driver/null.c | 2 - caca/driver/raw.c | 2 - caca/driver/slang.c | 2 - caca/driver/vga.c | 2 - caca/driver/win32.c | 2 - caca/driver/x11.c | 2 - caca/event.c | 2 - caca/figfont.c | 2 - caca/file.c | 2 - caca/font.c | 2 - caca/frame.c | 2 - caca/graphics.c | 2 - caca/legacy.c | 2 - caca/line.c | 2 - caca/prof.c | 2 - caca/string.c | 2 - caca/time.c | 2 - caca/transform.c | 2 - caca/triangle.c | 2 - configure.ac | 1 - cxx/Makefile.am | 1 - cxx/caca++.cpp | 2 - cxx/caca++.h | 3 - cxx/cxxtest.cpp | 2 - doc/Makefile.am | 1 - doc/canvas.dox | 2 - doc/font.dox | 2 - doc/footer.html | 1 - doc/header.html | 1 - doc/libcaca.dox | 2 - doc/migrating.dox | 2 - doc/style.dox | 2 - doc/tutorial.dox | 2 - doc/user.dox | 2 - examples/Makefile.am | 1 - examples/blit.c | 2 - examples/canvas.c | 2 - examples/colors.c | 2 - examples/demo.c | 2 - examples/demo0.c | 2 - examples/dithering.c | 2 - examples/driver.c | 2 - examples/event.c | 2 - examples/export.c | 2 - examples/figfont.c | 2 - examples/font.c | 2 - examples/font2tga.c | 2 - examples/frames.c | 2 - examples/fullwidth.c | 2 - examples/gamma.c | 2 - examples/hsv.c | 2 - examples/import.c | 2 - examples/input.c | 2 - examples/mouse.c | 2 - examples/spritedit.c | 2 - examples/swallow.c | 2 - examples/text.c | 2 - examples/transform.c | 2 - examples/trifiller.c | 2 - examples/truecolor.c | 2 - examples/unicode.c | 2 - java/Makefile.am | 1 - java/README | 1 - java/caca_java_common.c | 2 - java/caca_java_common.h | 2 - java/examples/Driver.java | 2 - java/examples/TrueColor.java | 2 - java/org/zoy/caca/Attribute.java | 2 - java/org/zoy/caca/Caca.java | 2 - java/org/zoy/caca/CacaException.java | 2 - java/org/zoy/caca/CacaObject.java | 2 - java/org/zoy/caca/Canvas.java | 2 - java/org/zoy/caca/Color.java | 4 +- java/org/zoy/caca/Display.java | 2 - java/org/zoy/caca/Dither.java | 2 - java/org/zoy/caca/Event.java | 2 - java/org/zoy/caca/Font.java | 2 - java/org/zoy/caca/NativeObject.java | 2 - java/org/zoy/caca/TimeoutException.java | 2 - java/org_zoy_caca_Attribute.c | 2 - java/org_zoy_caca_Caca.c | 2 - java/org_zoy_caca_Canvas.c | 8 +- java/org_zoy_caca_Display.c | 2 - java/org_zoy_caca_Dither.c | 4 +- java/org_zoy_caca_Event.c | 2 - java/org_zoy_caca_Font.c | 2 - kernel/Makefile.am | 1 - kernel/boot/gdt.c | 7 +- kernel/boot/idt.c | 7 +- kernel/boot/interruptions.c | 5 +- kernel/boot/pic.c | 5 +- kernel/boot/stage2.c | 7 +- kernel/boot/stage2.h | 5 +- kernel/drivers/floppy.c | 5 +- kernel/drivers/floppy.h | 5 +- kernel/drivers/keyboard.c | 5 +- kernel/drivers/memory.c | 5 +- kernel/drivers/memory.h | 5 +- kernel/drivers/processor.c | 5 +- kernel/drivers/processor.h | 5 +- kernel/drivers/timer.c | 11 +- kernel/drivers/timer.h | 5 +- kernel/kernel.c | 3 - kernel/kernel.h | 2 - kernel/klibc.c | 5 +- kernel/klibc.h | 2 - perl/lib/Term/Caca.pm | 1 - perl/lib/Term/Caca/Constants.pm | 1 - perl/lib/Term/Kaka.pm | 1 - python/Makefile.am | 3 +- python/pypycaca.c | 2 - python/pypycaca.h | 2 - ruby/Makefile.am | 1 - ruby/ruby-caca.dox | 2 +- ruby/ruby.dox | 2 +- src/Makefile.am | 1 - src/aafire.c | 2 - src/cacademo.c | 2 - src/cacadraw.c | 2 - src/cacaplay.c | 2 - src/cacaserver.c | 2 - src/cacaview.c | 2 - src/common-image.c | 2 - src/common-image.h | 2 - src/img2txt.c | 2 - src/mygetopt.c | 2 - src/mygetopt.h | 2 - test/Makefile.am | 1 - test/caca-test.cpp | 2 - test/canvas.cpp | 2 - test/check-source | 2 +- test/dirty.cpp | 2 - test/driver.cpp | 2 - test/export.cpp | 2 - test/simple.c | 2 - tools/Makefile.am | 1 - tools/makefont.c | 2 - tools/optipal.c | 1 - tools/sortchars.c | 1 - win32/Makefile.am | 1 - win32/config.h | 2 +- 220 files changed, 1885 insertions(+), 2247 deletions(-) Commit: 4332 Author: sam Date: Mon Feb 8 00:40:21 2010 +0000 Nicer make check output for our custom tests. test/check-doxygen | 10 +++++++--- test/check-source | 20 +++++++++++++------- test/check-win32 | 11 +++++++---- 3 files changed, 27 insertions(+), 14 deletions(-) Commit: 4331 Author: sam Date: Sun Feb 7 23:44:38 2010 +0000 Add missing ruby/test file to the distributed tarball. ruby/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 4330 Author: sam Date: Sun Feb 7 22:37:18 2010 +0000 Improve changelog generation. ChangeLog | 3706 ++++++++++++++++++++++++++++++----------------------------- Makefile.am | 3 +- 2 files changed, 1917 insertions(+), 1792 deletions(-) Commit: 4328 Author: sam Date: Sun Feb 7 21:11:03 2010 +0000 Update logo in the PHP bindings. caca-php/examples/logo-caca.png | Bin 7526 -> 17112 bytes caca-php/examples/www/logo-caca.png | Bin 7526 -> 17112 bytes 2 files changed, 0 insertions(+), 0 deletions(-) Commit: 4326 Author: sam Date: Sun Feb 7 20:59:05 2010 +0000 Replace the old caca texture with a copy of our new logo. src/cacademo.c | 5 +- src/texture.h | 260 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 259 insertions(+), 6 deletions(-) Commit: 4325 Author: sam Date: Sun Feb 7 17:21:51 2010 +0000 Fix dllexport usage, courtesy of Carlo Bramini in #48. caca/caca.h | 8 ++++---- caca/caca0.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) Commit: 4324 Author: sam Date: Sun Feb 7 17:21:45 2010 +0000 Add #undef __extern at the end of caca0.h. Thanks to Carlo Bramini for fixing this in #48. caca/caca0.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 4323 Author: sam Date: Sun Feb 7 17:01:16 2010 +0000 Only define CACA_ALIAS with gcc > 3 (instead of >= 3). Patch courtesy of Carlo Bramini. Addresses #48. caca/caca.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 4322 Author: sam Date: Sun Feb 7 17:01:10 2010 +0000 Do not use htons/htonl in makefont.c, since we already have hton16/hton32 which do not require to initialise winsock on Windows. Addresses #48. tools/makefont.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 4321 Author: sam Date: Sun Feb 7 15:57:52 2010 +0000 Add brief documentation to figfont functions. caca/figfont.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 4320 Author: sam Date: Sun Feb 7 15:57:46 2010 +0000 Split check-build into check-doygen, check-source and check-win32. test/Makefile.am | 7 +++- test/check-build | 71 ---------------------------------------------------- test/check-doxygen | 14 ++++++++++ test/check-source | 32 +++++++++++++++++++++++ test/check-win32 | 27 +++++++++++++++++++ 5 files changed, 78 insertions(+), 73 deletions(-) Commit: 4318 Author: sam Date: Sun Feb 7 00:22:38 2010 +0000 Document file functions and fix a few issues here and there. caca/caca.h | 32 ++++++++++++++----------- caca/file.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ caca/string.c | 2 +- win32/config.h | 1 + 4 files changed, 89 insertions(+), 15 deletions(-) Commit: 4317 Author: sam Date: Sun Feb 7 00:22:31 2010 +0000 Move some configuration stuff from build-kernel into configure.ac. build-kernel | 41 ++++++++++++++++++----------------------- build-win32 | 2 +- configure.ac | 39 ++++++++++++++++++++++++++------------- kernel/klibc.h | 6 +++++- 4 files changed, 50 insertions(+), 38 deletions(-) Commit: 4316 Author: sam Date: Sat Feb 6 21:20:40 2010 +0000 Generate a better changelog. ChangeLog |36885 +++++++++++++++++++++++++++++++++++------------------------ Makefile.am | 8 +- 2 files changed, 22052 insertions(+), 14841 deletions(-) Commit: 4304 Author: sam Date: Wed Jan 27 00:42:57 2010 +0000 Activate colour toilet font support. caca/figfont.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) Commit: 4303 Author: sam Date: Mon Jan 25 12:40:18 2010 +0000 Don't fail the check-build test if documentation was not built. test/check-build | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 4302 Author: sam Date: Mon Jan 25 01:47:21 2010 +0000 Simpler and more accurate troff colour selection. caca/codec/export.c | 39 +++++++++++++-------------------------- 1 files changed, 13 insertions(+), 26 deletions(-) Commit: 4301 Author: pterjan Date: Sun Jan 24 22:04:10 2010 +0000 * Always draw all background in troff output, on beginning of lines too caca/codec/export.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) Commit: 4300 Author: sam Date: Sun Jan 24 21:58:17 2010 +0000 Fix the source code to reduce testsuite errors. caca/codec/export.c | 33 ++++++++++++++++----------------- kernel/Makefile.am | 2 ++ kernel/kernel.c | 12 ++++++------ kernel/kernel.h | 12 +++++------- kernel/multiboot.h | 18 +++++++++--------- test/check-build | 5 +++-- win32/config.h | 1 + 7 files changed, 42 insertions(+), 41 deletions(-) Commit: 4299 Author: pterjan Date: Sun Jan 24 21:43:19 2010 +0000 * Always draw all background in troff output caca/codec/export.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) Commit: 4298 Author: pterjan Date: Sun Jan 24 21:15:01 2010 +0000 * Unbreak make dist (multiboot.S is dead), but many files in kernel/ are missing there kernel/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) Commit: 4297 Author: sam Date: Sun Jan 24 01:47:25 2010 +0000 Fix check-build verbosity. test/check-build | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 4296 Author: sam Date: Sun Jan 24 01:47:18 2010 +0000 Fix shrext_cmds usage in configure.ac. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 4292 Author: pterjan Date: Thu Jan 21 11:14:24 2010 +0000 * Add back some missing spaces ruby/ruby-caca.dox | 100 ++++++++++++++++++++++++++-------------------------- 1 files changed, 50 insertions(+), 50 deletions(-) Commit: 4235 Author: pterjan Date: Wed Jan 6 20:56:29 2010 +0000 * Map colors to the ones known by groff, defining mines don't work caca/codec/export.c | 63 +++++++++++++++++++++++++-------------------------- 1 files changed, 31 insertions(+), 32 deletions(-) Commit: 4229 Author: sam Date: Wed Jan 6 00:10:31 2010 +0000 Move conditional java targets to the top of Makefile.am. java/Makefile.am | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) Commit: 4228 Author: pterjan Date: Wed Jan 6 00:05:09 2010 +0000 * Improve a bit troff export caca/codec/export.c | 46 ++++++++++++++++++++++++++++++++++++---------- 1 files changed, 36 insertions(+), 10 deletions(-) Commit: 4227 Author: pterjan Date: Tue Jan 5 23:27:26 2010 +0000 * Add experimental troff export caca/codec/export.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 0 deletions(-) Commit: 4225 Author: pterjan Date: Tue Jan 5 21:59:10 2010 +0000 * Do not want libjava.jar when we don't build java binding java/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4220 Author: sam Date: Sun Jan 3 02:54:32 2010 +0000 Clean up .gitignore and documentation build rules. .gitignore | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 5 ++- caca-sharp/.gitignore | 3 -- caca/.gitignore | 1 - cxx/.gitignore | 1 - doc/.gitignore | 4 --- doc/Makefile.am | 7 ++--- doc/doxygen.cfg.in | 2 +- examples/.gitignore | 29 ---------------------- ruby/.gitignore | 2 - src/.gitignore | 7 ----- test/.gitignore | 3 -- test/check-build | 11 ++++++++ tools/.gitignore | 3 -- 14 files changed, 83 insertions(+), 60 deletions(-) Commit: 4219 Author: sam Date: Sun Jan 3 02:54:17 2010 +0000 Clean up files generated by build-kernel in make clean. build-kernel | 11 ++++++----- kernel/Makefile.am | 4 ++++ 2 files changed, 10 insertions(+), 5 deletions(-) Commit: 4198 Author: sam Date: Thu Dec 24 00:02:16 2009 +0000 Build Java examples and add wrapper scripts to run them. java/.gitignore | 1 + java/Makefile.am | 13 +++++++++++-- java/examples/Driver | 6 ++++++ java/examples/Driver.java | 2 +- java/examples/TrueColor | 6 ++++++ java/org/zoy/caca/Caca.java | 2 +- 6 files changed, 26 insertions(+), 4 deletions(-) Commit: 4197 Author: sam Date: Wed Dec 23 11:34:49 2009 +0000 Java bindings, courtesy of Adrien Grand . AUTHORS | 3 + Makefile.am | 4 +- configure.ac | 45 ++++ java/.gitignore | 3 + java/Makefile.am | 94 ++++++++ java/README | 20 ++ java/caca_java_common.c | 31 +++ java/caca_java_common.h | 23 ++ java/examples/Driver.java | 54 +++++ java/examples/TrueColor.java | 38 +++ java/org/zoy/caca/Attribute.java | 60 +++++ java/org/zoy/caca/Caca.java | 33 +++ java/org/zoy/caca/CacaException.java | 24 ++ java/org/zoy/caca/CacaObject.java | 40 ++++ java/org/zoy/caca/Canvas.java | 377 ++++++++++++++++++++++++++++++ java/org/zoy/caca/Color.java | 84 +++++++ java/org/zoy/caca/Display.java | 170 ++++++++++++++ java/org/zoy/caca/Dither.java | 238 +++++++++++++++++++ java/org/zoy/caca/Event.java | 184 +++++++++++++++ java/org/zoy/caca/Font.java | 61 +++++ java/org/zoy/caca/NativeObject.java | 20 ++ java/org/zoy/caca/TimeoutException.java | 24 ++ java/org_zoy_caca_Attribute.c | 62 +++++ java/org_zoy_caca_Caca.c | 24 ++ java/org_zoy_caca_Canvas.c | 389 +++++++++++++++++++++++++++++++ java/org_zoy_caca_Display.c | 187 +++++++++++++++ java/org_zoy_caca_Dither.c | 175 ++++++++++++++ java/org_zoy_caca_Event.c | 80 +++++++ java/org_zoy_caca_Font.c | 117 +++++++++ 29 files changed, 2663 insertions(+), 1 deletions(-) Commit: 4160 Author: jylam Date: Sun Dec 20 16:29:24 2009 +0000 * Fix libcaca.a linkage (was off by one argument), fill memory with 0xCACA, because caca is so delicious. build-kernel | 2 +- kernel/drivers/processor.c | 10 ++++++---- kernel/kernel.c | 12 ++++++++---- 3 files changed, 15 insertions(+), 9 deletions(-) Commit: 4159 Author: jylam Date: Sun Dec 20 15:41:41 2009 +0000 * Added 64bits RDTSC support, as well as CPU frequency guess (more like a 8254a test, actually) build-kernel | 8 +- kernel/drivers/processor.c | 49 +++++ kernel/drivers/processor.h | 2 + kernel/drivers/timer.c | 55 ++++--- kernel/kernel.c | 22 +-- kernel/kernel.h | 2 + kernel/klibc.c | 430 ++++++++++++++++++++++++-------------------- kernel/klibc.h | 3 +- 8 files changed, 336 insertions(+), 235 deletions(-) Commit: 4158 Author: jylam Date: Sun Dec 20 14:02:02 2009 +0000 * Fix indentation and add licensing and copyright headers to kernel kernel/boot/gdt.c | 151 ++++++++++++++++++------------- kernel/boot/idt.c | 164 +++++++++++++++++++--------------- kernel/boot/interruptions.c | 209 +++++++++++++++++++++++++++++-------------- kernel/boot/pic.c | 99 ++++++++++++-------- kernel/boot/stage2.c | 37 ++++++--- kernel/boot/stage2.h | 18 ++++ kernel/drivers/floppy.c | 19 ++++- kernel/drivers/floppy.h | 28 +++++- kernel/drivers/keyboard.c | 210 +++++++++++++++++++++++-------------------- kernel/drivers/memory.c | 17 ++++- kernel/drivers/memory.h | 15 +++ kernel/drivers/processor.c | 18 +++- kernel/drivers/processor.h | 142 ++++++++++++++++------------- kernel/drivers/timer.c | 68 ++++++++------- kernel/drivers/timer.h | 18 ++++- kernel/kernel.c | 13 +-- kernel/kernel.h | 10 +-- kernel/klibc.c | 16 ++++ kernel/klibc.h | 68 ++++++++++----- 19 files changed, 824 insertions(+), 496 deletions(-) Commit: 4157 Author: jylam Date: Sun Dec 20 13:45:00 2009 +0000 * Fill CPU id correctly, you dumb fuck. kernel/drivers/processor.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 4156 Author: jylam Date: Sun Dec 20 13:40:42 2009 +0000 * XCode project file updated for kernel XCode/libcacaXCode.xcodeproj/project.pbxproj | 77 +++++++++++++++++++++++++- 1 files changed, 75 insertions(+), 2 deletions(-) Commit: 4155 Author: jylam Date: Sun Dec 20 13:36:15 2009 +0000 * Forgot kernel build script build-kernel | 67 +++++++++++++++++++++++++++++++++++++++++---------------- 1 files changed, 48 insertions(+), 19 deletions(-) Commit: 4154 Author: jylam Date: Sun Dec 20 13:33:11 2009 +0000 * Total kernel rewrite configure.ac | 2 +- kernel/boot/bootsect.asm | 123 +++++++++ kernel/boot/gdt.c | 101 ++++++++ kernel/boot/idt.c | 132 ++++++++++ kernel/boot/int.asm | 147 +++++++++++ kernel/boot/interruptions.c | 112 ++++++++ kernel/boot/pic.c | 73 ++++++ kernel/boot/stage2.c | 30 +++ kernel/boot/stage2.h | 1 + kernel/drivers/floppy.c | 56 ++++ kernel/drivers/floppy.h | 14 + kernel/drivers/keyboard.c | 101 ++++++++ kernel/drivers/memory.c | 4 + kernel/drivers/processor.c | 50 ++++ kernel/drivers/processor.h | 81 ++++++ kernel/drivers/timer.c | 42 +++ kernel/drivers/timer.h | 2 + kernel/kernel.c | 421 ++++--------------------------- kernel/kernel.h | 118 +-------- kernel/klibc.c | 598 +++++++++++++++++++++++++++++++++++++++++++ kernel/klibc.h | 125 +++++++++ kernel/multiboot.S | 73 ------ 22 files changed, 1850 insertions(+), 556 deletions(-) Commit: 4149 Author: sam Date: Sat Dec 19 14:38:47 2009 +0000 Store built-in fonts in a uin8_t[] instead of char[]. caca/font.c | 4 ++-- caca/mono9.data | 4 ++-- caca/monobold12.data | 4 ++-- tools/makefont.c | 5 +++-- 4 files changed, 9 insertions(+), 8 deletions(-) Commit: 4148 Author: sam Date: Sat Dec 19 14:38:38 2009 +0000 Update my e-mail address everywhere. build-dos | 2 +- build-kernel | 2 +- build-win32 | 2 +- caca-config.in | 2 +- caca-php/examples/colors.php | 2 +- caca-php/examples/demo.php | 2 +- caca-php/examples/export.php | 2 +- caca-php/examples/fullwidth.php | 2 +- caca-php/examples/img2txt.php | 5 +++-- caca-php/examples/test.php | 4 ++-- caca-php/examples/text.php | 2 +- caca-php/examples/transform.php | 2 +- caca-php/examples/truecolor.php | 2 +- caca-php/examples/unicode.php | 2 +- caca-php/examples/www/colors.php | 2 +- caca-php/examples/www/export.php | 2 +- caca-php/examples/www/fullwidth.php | 2 +- caca-php/examples/www/img2txt.php | 5 +++-- caca-php/examples/www/text.php | 2 +- caca-php/examples/www/transform.php | 2 +- caca-php/examples/www/truecolor.php | 2 +- caca-php/examples/www/unicode.php | 2 +- caca-sharp/Attr.cs | 2 +- caca-sharp/Caca.cs | 2 +- caca-sharp/Display.cs | 2 +- caca-sharp/Dither.cs | 2 +- caca-sharp/Event.cs | 2 +- caca-sharp/Font.cs | 2 +- caca-sharp/test.cs | 2 +- caca/caca0.h | 2 +- caca/caca_stubs.h | 2 +- caca/caca_types.h.in | 2 +- caca/charset.c | 2 +- caca/conic.c | 2 +- caca/dither.c | 2 +- caca/file.c | 2 +- caca/font.c | 2 +- caca/line.c | 2 +- caca/time.c | 2 +- caca/triangle.c | 2 +- doc/caca-config.1 | 2 +- doc/cacafire.1 | 2 +- doc/cacaplay.1 | 2 +- doc/cacaserver.1 | 2 +- doc/cacaview.1 | 2 +- doc/img2txt.1 | 2 +- examples/canvas.c | 2 +- examples/colors.c | 2 +- examples/dithering.c | 2 +- examples/driver.c | 2 +- examples/event.c | 2 +- examples/font.c | 2 +- examples/frames.c | 2 +- examples/fullwidth.c | 2 +- examples/gamma.c | 2 +- examples/hsv.c | 2 +- examples/input.c | 2 +- examples/truecolor.c | 2 +- examples/unicode.c | 2 +- kernel/kernel.c | 2 +- kernel/kernel.h | 2 +- src/cacademo.c | 2 +- src/cacaview.c | 2 +- src/common-image.c | 2 +- src/common-image.h | 2 +- src/mygetopt.c | 2 +- src/mygetopt.h | 2 +- test/caca-test.cpp | 2 +- test/canvas.cpp | 2 +- test/driver.cpp | 2 +- test/simple.c | 2 +- tools/makefont.c | 2 +- tools/optipal.c | 2 +- tools/sortchars.c | 2 +- 74 files changed, 79 insertions(+), 77 deletions(-) Commit: 4147 Author: sam Date: Fri Dec 18 22:09:25 2009 +0000 Preload the example input buffer with Unicode stuff for testing. examples/input.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) Commit: 4146 Author: sam Date: Fri Dec 18 21:50:37 2009 +0000 Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs(). Fixes #41. caca/caca.h | 4 ++-- caca/canvas.c | 20 ++++++++++---------- caca/driver/conio.c | 6 +++--- caca/driver/gl.c | 6 +++--- caca/driver/ncurses.c | 6 ++---- caca/driver/slang.c | 6 ++---- caca/driver/vga.c | 6 ++---- caca/driver/win32.c | 4 ++-- caca/driver/x11.c | 4 ++-- 9 files changed, 28 insertions(+), 34 deletions(-) Commit: 4145 Author: sam Date: Fri Dec 18 21:36:15 2009 +0000 Implement caca_unset_attr() and caca_toggle_attr(). Fixes #7. caca/attr.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ caca/caca.h | 2 ++ 2 files changed, 56 insertions(+), 0 deletions(-) Commit: 4144 Author: sam Date: Fri Dec 18 21:24:10 2009 +0000 Explicitly link with -lGLU because freeglut may not provide it. Fixes #61. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4143 Author: sam Date: Fri Dec 18 21:17:54 2009 +0000 Deduce X11 font size from a relevant sample to avoid oversized font cells. Fixes bug #21 (X11 Unicode support). caca/driver/x11.c | 29 ++++++++++++++++++++--------- examples/unicode.c | 1 + 2 files changed, 21 insertions(+), 9 deletions(-) Commit: 4142 Author: sam Date: Thu Dec 17 23:25:46 2009 +0000 Call setlocale() in the X11 driver to activate the current locale. If it is an UTF-8 locale, more glyphs are displayed. caca/driver/x11.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) Commit: 4141 Author: sam Date: Thu Dec 17 01:46:30 2009 +0000 Use XwcDrawString in the X11 driver if font sets are available. caca/driver/x11.c | 158 ++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 119 insertions(+), 39 deletions(-) Commit: 4140 Author: sam Date: Thu Dec 17 01:46:22 2009 +0000 Allow the X11 driver to display Unicode characters if they are in the current font (addresses #21). caca/driver/x11.c | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) Commit: 4139 Author: sam Date: Wed Dec 16 19:25:52 2009 +0000 Do not crash in caca_flush_figlet() if no figfont was loaded. caca/figfont.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 4131 Author: sam Date: Mon Dec 14 23:29:51 2009 +0000 Fix the libcucul symlink installation when /bin/sh points to bash or any shell that doesn't look for sourced files in $PWD. caca/Makefile.am | 4 ++-- cxx/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) Commit: 4130 Author: sam Date: Mon Dec 14 18:27:49 2009 +0000 Fix the old "value computed is unused" warning triggered by ncurses. caca/driver/ncurses.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) Commit: 4129 Author: sam Date: Mon Dec 14 18:06:12 2009 +0000 Fix a compilation warning in conio-snake.cpp. examples/conio-snake.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4128 Author: pterjan Date: Mon Dec 14 18:05:39 2009 +0000 * Add test for import/export of area ruby/t/tc_canvas.rb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 4127 Author: sam Date: Mon Dec 14 17:59:38 2009 +0000 More warning fixes in conio.c. examples/conio.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 4126 Author: sam Date: Mon Dec 14 17:40:37 2009 +0000 Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !) examples/.gitignore | 1 + examples/conio.c | 7 +++---- examples/mouse.c | 2 +- ruby/caca-canvas.c | 20 ++++++++++---------- 4 files changed, 15 insertions(+), 15 deletions(-) Commit: 4125 Author: pterjan Date: Mon Dec 14 17:36:42 2009 +0000 * Oops ruby/caca-canvas.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4123 Author: pterjan Date: Mon Dec 14 15:58:31 2009 +0000 * Remove tabs ruby/caca-canvas.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Commit: 4105 Author: pterjan Date: Mon Dec 7 17:21:25 2009 +0000 * Bind area import/export functions ruby/caca-canvas.c | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) Commit: 4104 Author: pterjan Date: Mon Dec 7 17:06:04 2009 +0000 * Bind dirty rectangle functions ruby/caca-canvas.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) Commit: 4103 Author: pterjan Date: Mon Dec 7 16:46:18 2009 +0000 * Bind caca_fill_triangle_textured ruby/caca-canvas.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) Commit: 4097 Author: jylam Date: Mon Dec 7 11:48:01 2009 +0000 * Added mouse events example XCode/libcacaXCode.xcodeproj/project.pbxproj | 2 + examples/Makefile.am | 5 +- examples/mouse.c | 92 ++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletions(-) Commit: 4096 Author: sam Date: Mon Dec 7 01:30:19 2009 +0000 Don't enter glutCheckLoop() from gl_get_event() if there is already an event available. This increases the framerate when using OpenGL. caca/driver/gl.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) Commit: 4095 Author: sam Date: Mon Dec 7 01:05:31 2009 +0000 Increase profiling timers' sliding mean accuracy. caca/caca_internals.h | 5 +++-- caca/caca_prof.h | 16 ++++++++-------- caca/prof.c | 12 ++---------- 3 files changed, 13 insertions(+), 20 deletions(-) Commit: 4094 Author: sam Date: Sun Dec 6 21:21:40 2009 +0000 Gather profiling information in caca_refresh_display() and caca_get_event(). bootstrap | 2 +- caca/Makefile.am | 1 + caca/caca.c | 14 ++++++- caca/caca_internals.h | 21 +++++++++- caca/caca_prof.h | 14 ++++++ caca/event.c | 41 ++++++++++++++----- caca/graphics.c | 21 +++++++++- caca/libcaca.vcproj | 4 ++ caca/prof.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 6 +- 10 files changed, 213 insertions(+), 17 deletions(-) Commit: 4093 Author: sam Date: Sun Dec 6 21:21:27 2009 +0000 Improve rounding in the internal Win32 sleep method. caca/time.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 4082 Author: sam Date: Thu Dec 3 01:13:15 2009 +0000 Pass Ctrl-C as a keypress to the calling application in the SLang driver. Original patch courtesy of Romain Bignon. caca/driver/slang.c | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) Commit: 4069 Author: pterjan Date: Mon Nov 30 00:50:07 2009 +0000 * Fix Delete key with X11 driver caca/driver/x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 4045 Author: sam Date: Thu Nov 26 01:34:17 2009 +0000 Update source checking test and remove CRLF crap from makefiles. caca/Makefile.am | 2 + cxx/Makefile.am | 98 +++++++++++++++++++++++++------------------------ examples/Makefile.am | 2 + ruby/Makefile.am | 2 + src/Makefile.am | 96 +++++++++++++++++++++++++------------------------ test/check-build | 4 +-- tools/Makefile.am | 3 ++ win32/Makefile.am | 8 ++-- 8 files changed, 113 insertions(+), 102 deletions(-) Commit: 4044 Author: sam Date: Thu Nov 26 01:23:55 2009 +0000 Rename tests/ to test/. Makefile.am | 2 +- configure.ac | 2 +- test/.gitignore | 3 + test/Makefile.am | 24 ++++ test/bench.c | 80 +++++++++++ test/bench.vcproj | 364 +++++++++++++++++++++++++++++++++++++++++++++++++++ test/caca-test.cpp | 27 ++++ test/canvas.cpp | 102 ++++++++++++++ test/check-build | 57 ++++++++ test/dirty.cpp | 292 +++++++++++++++++++++++++++++++++++++++++ test/driver.cpp | 48 +++++++ test/export.cpp | 74 +++++++++++ test/simple.c | 65 +++++++++ tests/.gitignore | 3 - tests/Makefile.am | 24 ---- tests/bench.c | 80 ----------- tests/bench.vcproj | 364 --------------------------------------------------- tests/caca-test.cpp | 27 ---- tests/canvas.cpp | 102 -------------- tests/check-build | 57 -------- tests/dirty.cpp | 292 ----------------------------------------- tests/driver.cpp | 48 ------- tests/export.cpp | 74 ----------- tests/simple.c | 65 --------- 24 files changed, 1138 insertions(+), 1138 deletions(-) Commit: 3995 Author: sam Date: Sun Nov 22 11:57:43 2009 +0000 Add src/ to the list of source code checks. tests/check-build | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3994 Author: jylam Date: Sat Nov 21 17:22:29 2009 +0000 * Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab XCode/libcacaXCode.xcodeproj/project.pbxproj | 2 ++ caca/transform.c | 2 +- caca/triangle.c | 8 ++++---- examples/trifiller.c | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) Commit: 3993 Author: sam Date: Sat Nov 21 17:01:30 2009 +0000 Add a sanity check for coding style errors. Makefile.am | 2 +- examples/.gitignore | 1 + tests/check-build | 40 +++++++++++++++++++++++++++++++++++++--- 3 files changed, 39 insertions(+), 4 deletions(-) Commit: 3987 Author: jylam Date: Sat Nov 21 10:28:58 2009 +0000 * Indentation fixes caca/triangle.c | 293 +++++++++++++++++++++++++++----------------------- examples/trifiller.c | 197 +++++++++++++++++---------------- 2 files changed, 258 insertions(+), 232 deletions(-) Commit: 3985 Author: jylam Date: Sat Nov 21 10:26:31 2009 +0000 * Remove trailing spaces (bouh!) caca/driver/slang.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3984 Author: jylam Date: Sat Nov 21 10:18:45 2009 +0000 * Don't unblock signals in init of SLang caca/driver/slang.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) Commit: 3983 Author: jylam Date: Sat Nov 21 10:12:09 2009 +0000 * Disable SLang's own SIGINT handler XCode/libcacaXCode.xcodeproj/project.pbxproj | 34 +++++++++++++++++++++++++- caca/driver/slang.c | 10 +++++++ 2 files changed, 43 insertions(+), 1 deletions(-) Commit: 3955 Author: jylam Date: Thu Nov 19 11:21:16 2009 +0000 * Updated C++ bindings with Canvas::fillTriangleTextured() XCode/libcacaXCode.xcodeproj/project.pbxproj | 14 ++++++++++++++ cxx/caca++.cpp | 5 +++++ cxx/caca++.h | 1 + 3 files changed, 20 insertions(+), 0 deletions(-) Commit: 3953 Author: sam Date: Thu Nov 19 00:53:48 2009 +0000 Make the current library version beta17, in preparation of the next release. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3952 Author: sam Date: Thu Nov 19 00:53:39 2009 +0000 Fix the library suffix detection, thanks to libtool's shell variables. configure.ac | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) Commit: 3949 Author: pterjan Date: Wed Nov 18 20:42:42 2009 +0000 * Fix non ASCII input in x11 driver caca/driver/x11.c | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) Commit: 3928 Author: jylam Date: Wed Nov 18 11:59:08 2009 +0000 * Fix examples/trifiller's color boundaries examples/trifiller.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3926 Author: jylam Date: Wed Nov 18 11:25:58 2009 +0000 * Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly XCode/libcacaXCode.xcodeproj/project.pbxproj | 2 +- caca/caca.h | 12 +-- caca/triangle.c | 125 ++++++++++++++------------ examples/trifiller.c | 57 +++++++----- 4 files changed, 105 insertions(+), 91 deletions(-) Commit: 3925 Author: sam Date: Wed Nov 18 01:02:20 2009 +0000 Preserve default attribute across caca_fill_triangle_texture calls. caca/triangle.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) Commit: 3924 Author: sam Date: Wed Nov 18 00:21:20 2009 +0000 Add a caca-sharp.pc.in file. caca-sharp/caca-sharp.pc.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) Commit: 3917 Author: pterjan Date: Tue Nov 17 16:28:14 2009 +0000 * Fix build of trifiller with imlib2 examples/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 3913 Author: sam Date: Mon Nov 16 13:30:53 2009 +0000 Fix an unlikely crash that may happen when the X server cannot open the "fixed" font. caca/driver/x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3912 Author: jylam Date: Mon Nov 16 13:14:32 2009 +0000 * Don't use float as loop counters caca/triangle.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3911 Author: jylam Date: Mon Nov 16 12:33:38 2009 +0000 * Added basic XCode project, using external build system (make) XCode/libcacaXCode.xcodeproj/project.pbxproj | 384 ++++++++++++++++++++++++++ 1 files changed, 384 insertions(+), 0 deletions(-) Commit: 3910 Author: jylam Date: Mon Nov 16 12:21:55 2009 +0000 * Add -lm to examples/trifiller. Oops. examples/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3909 Author: jylam Date: Mon Nov 16 12:17:01 2009 +0000 * Added texture mapped triangle routine, float based, arbitrary texture size, to be optimized * Made compilation under MacOSX 10.6 (Snow Leopard) possible, but breaks 10.4 (Tiger), to be fixed caca/caca.h | 8 ++ caca/triangle.c | 196 +++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- examples/Makefile.am | 5 +- examples/trifiller.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 448 insertions(+), 2 deletions(-) Commit: 3908 Author: sam Date: Mon Nov 16 01:15:42 2009 +0000 Refresh win32/config.h so that it has all the required defines. win32/config.h | 38 +++++++++++++++++++++++++++++++++++++- 1 files changed, 37 insertions(+), 1 deletions(-) Commit: 3907 Author: sam Date: Mon Nov 16 01:15:37 2009 +0000 Add a test for win32/config.h synchronisation. tests/Makefile.am | 4 +++- tests/check-build | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletions(-) Commit: 3906 Author: sam Date: Mon Nov 16 01:15:31 2009 +0000 Ignore Monodevelop files. caca-sharp/.gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3905 Author: sam Date: Mon Nov 16 01:15:25 2009 +0000 Start working on profiling. caca/Makefile.am | 1 + caca/caca_internals.h | 1 + caca/caca_prof.h | 33 +++++++++++++++++++++++++++++++++ caca/libcaca.vcproj | 4 ++++ configure.ac | 6 ++++++ 5 files changed, 45 insertions(+), 0 deletions(-) Commit: 3904 Author: sam Date: Mon Nov 16 01:15:19 2009 +0000 Move debugging methods to caca_debug.h. caca/Makefile.am | 1 + caca/caca_debug.h | 41 ++++++++++++++++++++++++ caca/caca_internals.h | 1 + caca/caca_stubs.h | 25 ++------------- caca/libcaca.vcproj | 84 +++++++++++++++++++++++++----------------------- 5 files changed, 90 insertions(+), 62 deletions(-) Commit: 3647 Author: sam Date: Thu Oct 22 09:48:42 2009 +0000 Add -lz to Libs.private for static linking. caca/caca.pc.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3646 Author: sam Date: Tue Sep 8 16:30:12 2009 +0000 Mark dithered bitmap array as const. caca/caca.h | 2 +- caca/dither.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) Commit: 3643 Author: sam Date: Tue Aug 25 14:23:08 2009 +0000 Update bootstrap script (automake 1.11 and pkg-config detection). bootstrap | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) Commit: 3641 Author: sam Date: Thu Aug 13 13:05:00 2009 +0000 Add missing svn:ignore properties. Commit: 3640 Author: sam Date: Thu Aug 13 13:04:40 2009 +0000 Make "fullgray" dithering work properly, to force greyscale rendering. To use it, just call caca_set_dither_color(d, "fullgray") on the dither object. caca/dither.c | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) Commit: 3625 Author: sam Date: Mon Aug 3 23:26:28 2009 +0000 Implement memmove() in the kernel. kernel/kernel.c | 7 +++++++ kernel/kernel.h | 1 + 2 files changed, 8 insertions(+), 0 deletions(-) Commit: 3624 Author: sam Date: Mon Aug 3 23:26:23 2009 +0000 Fix a typo in the VGA driver. caca/driver/vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3623 Author: sam Date: Mon Aug 3 23:26:17 2009 +0000 Only build conio-snake if the C++ compiler is functional. examples/Makefile.am | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Commit: 3621 Author: sam Date: Mon Aug 3 23:19:41 2009 +0000 Include in the null driver to get NULL. caca/driver/null.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 3620 Author: sam Date: Mon Aug 3 23:19:34 2009 +0000 Add atexit() and EOF to the kernel. kernel/kernel.c | 6 ++++++ kernel/kernel.h | 2 ++ 2 files changed, 8 insertions(+), 0 deletions(-) Commit: 3619 Author: sam Date: Mon Aug 3 23:19:28 2009 +0000 Better caca_get_event_mouse_button() documentation. caca/event.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Commit: 3618 Author: sam Date: Mon Aug 3 23:19:19 2009 +0000 Fix Win32 cross-build by removing one level of aliasing. caca/codec/import.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3609 Author: sam Date: Mon Aug 3 07:43:16 2009 +0000 Add the conio examples to the Visual Studio solution. caca/libcaca.vcproj | 16 ++- examples/conio-snake.vcproj | 363 +++++++++++++++++++++++++++++++++++++++++++ examples/conio.vcproj | 363 +++++++++++++++++++++++++++++++++++++++++++ libcaca.sln | 36 +++++ 4 files changed, 774 insertions(+), 4 deletions(-) Commit: 3608 Author: sam Date: Sun Aug 2 11:41:43 2009 +0000 Include in caca_conio.h to avoid errors when this header is included after us. caca/caca.h | 1 - caca/caca_conio.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletions(-) Commit: 3607 Author: sam Date: Sun Aug 2 11:09:42 2009 +0000 Implement conio.h functions cgets(), cputs(), getpass(), movetext(), putch() and _setcurstortype(). caca/caca_conio.c | 98 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 81 insertions(+), 17 deletions(-) Commit: 3606 Author: sam Date: Sun Aug 2 11:09:35 2009 +0000 Make the libcaca color values an enum again. caca/caca.h | 50 ++++++++++++++++++++++++++++---------------------- caca/caca0.h | 38 ++++++++++++++++++-------------------- 2 files changed, 46 insertions(+), 42 deletions(-) Commit: 3605 Author: sam Date: Sun Aug 2 11:09:29 2009 +0000 Add a note about autoreleased canvases in the documentation. doc/migrating.dox | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 3604 Author: sam Date: Sun Aug 2 11:09:23 2009 +0000 Since caca.h now exports variables, we need __declspec(dllimport), otherwise they won't be seen by the linker when linking dynamically. Fix caca0.h accordingly. caca/caca.h | 2 ++ caca/caca0.h | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) Commit: 3603 Author: sam Date: Sun Aug 2 11:09:16 2009 +0000 Move conio functions to the main caca.h header, with their caca_conio_ prefix. The #defines remain in caca_conio.h. caca/caca.h | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++ caca/caca_conio.h | 133 +++++----------------------------------------------- 2 files changed, 141 insertions(+), 120 deletions(-) Commit: 3602 Author: sam Date: Sun Aug 2 11:09:10 2009 +0000 Make conio_refresh() play nicer with the resources when the machine is slow. caca/caca_conio.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Commit: 3601 Author: sam Date: Sun Aug 2 11:09:05 2009 +0000 Fix delay(), getch() and kbhit() to avoid busy loops and ensure frequent screen refreshes. Implement clreol() (incomplete) and sleep() functions. Replace some defines with enums in . caca/caca_conio.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++----- caca/caca_conio.h | 72 ++++++++++++++++++++++---------------- 2 files changed, 132 insertions(+), 40 deletions(-) Commit: 3600 Author: sam Date: Sun Aug 2 11:08:58 2009 +0000 Update the NEWS file with what's been done since the last release. NEWS | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) Commit: 3599 Author: sam Date: Sun Aug 2 11:08:50 2009 +0000 Do not look for gmcs2. It is an abandoned abomination. configure.ac | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) Commit: 3598 Author: sam Date: Sat Aug 1 14:50:32 2009 +0000 Add a simple snake program using the interface. COPYING.ISC | 13 +++ Makefile.am | 2 +- THANKS | 1 + examples/.gitignore | 1 + examples/Makefile.am | 5 +- examples/conio-snake.cpp | 221 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 241 insertions(+), 2 deletions(-) Commit: 3596 Author: sam Date: Fri Jul 31 00:01:32 2009 +0000 Implement conio.h's getche() and move cursor to top right corner after a call to clrscr(). caca/caca_conio.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) Commit: 3595 Author: sam Date: Fri Jul 31 00:01:25 2009 +0000 Make caca_printf(), caca_vprintf() and caca_put_str() return the number of printed cells instead of always returning 0. This is handy if we want to advance a cursor after each printf() call. caca/caca_conio.c | 18 +++++++------ caca/string.c | 70 ++++++++++++++++++++++++++++++++++------------------- 2 files changed, 55 insertions(+), 33 deletions(-) Commit: 3594 Author: sam Date: Fri Jul 31 00:01:13 2009 +0000 Implement conio.h's kbhit(). caca/caca_conio.c | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) Commit: 3593 Author: sam Date: Thu Jul 30 20:11:07 2009 +0000 Look for csc and gmcs2 prior to gmcs. caca-sharp/Makefile.am | 102 ++++++++++++++++++++++++------------------------ configure.ac | 12 +++++- 2 files changed, 61 insertions(+), 53 deletions(-) Commit: 3592 Author: sam Date: Thu Jul 30 20:10:57 2009 +0000 Add sound(), nosound() and delay() to the conio.h emulation. Even though they're not actually from that header, they're often used together. caca/caca_conio.c | 24 ++++++++++++++++++++++++ caca/caca_conio.h | 9 +++++++++ 2 files changed, 33 insertions(+), 0 deletions(-) Commit: 3590 Author: pterjan Date: Wed Jul 29 16:00:25 2009 +0000 * Fix a segfault in rotate_180 on 0 sized canvas caca/transform.c | 3 +++ tests/simple.c | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) Commit: 3588 Author: sam Date: Sun Jul 26 23:26:21 2009 +0000 Start implementing a full replacement with a libcaca backend. caca/Makefile.am | 236 +++++++++--------- caca/caca_conio.c | 392 +++++++++++++++++++++++++++++ caca/caca_conio.h | 255 +++++++++++++++++++ configure.ac | 2 +- examples/.gitignore | 1 + examples/Makefile.am | 5 +- examples/conio.c | 682 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 1454 insertions(+), 119 deletions(-) Commit: 3587 Author: sam Date: Sun Jul 26 23:26:15 2009 +0000 Rename caca_get_cursor_x() and caca_get_cursor_y() to caca_wherex() and caca_wherey(), in order to match the old naming scheme. caca-php/caca.php | 8 ++++---- caca-php/php_caca.c | 12 ++++++------ caca-php/php_caca.h | 4 ++-- caca-sharp/Canvas.cs | 9 ++++----- caca/caca.h | 12 +++++++----- caca/driver/ncurses.c | 4 ++-- caca/driver/slang.c | 2 +- caca/driver/x11.c | 4 ++-- caca/string.c | 10 ++++++---- ruby/caca-canvas.c | 15 +++++++++++---- ruby/ruby-caca.dox | 46 +++++++++++++++++++++++----------------------- ruby/t/tc_canvas.rb | 4 ++-- 12 files changed, 70 insertions(+), 60 deletions(-) Commit: 3586 Author: sam Date: Sun Jul 26 23:26:08 2009 +0000 Implement caca_vprintf() to allow third-party variadic functions to call us. caca/caca.h | 5 +++++ caca/string.c | 31 ++++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) Commit: 3585 Author: sam Date: Sun Jul 26 23:25:59 2009 +0000 Show how we could optimise dirty rectangle handling in a box fill. Disabled for now because it does not work with fullwidth characters. caca/box.c | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) Commit: 3584 Author: sam Date: Sun Jul 26 19:21:58 2009 +0000 I forgot to initialise dirty_disabled in the canvas constructor. caca/canvas.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3583 Author: sam Date: Sun Jul 26 19:17:35 2009 +0000 Allow to temporarily disable dirty rectangle handling. This allows for huge speedups when the calling application knows the dirty rectangle covered by a complex operation. caca/attr.c | 3 ++- caca/caca.h | 2 ++ caca/caca_internals.h | 2 +- caca/canvas.c | 11 ++++++++--- caca/dirty.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ caca/frame.c | 6 ++++-- caca/string.c | 15 ++++++++++----- caca/transform.c | 18 ++++++++++++------ tests/.gitignore | 3 ++- tests/bench.c | 12 ++++++++++-- 10 files changed, 96 insertions(+), 21 deletions(-) Commit: 3582 Author: sam Date: Sun Jul 26 19:17:28 2009 +0000 Coding style: remove tabs and trailing spaces. caca-php/php_caca.c | 2730 +++++++++++++++++++++++++------------------------- caca/codec/export.c | 2 +- caca/driver/cocoa.m | 68 +- caca/driver/gl.c | 6 +- caca/figfont.c | 2 +- examples/import.c | 2 +- python/pypycaca.c | 80 +- ruby/caca-canvas.c | 10 +- ruby/caca-display.c | 6 +- ruby/caca-dither.c | 18 +- ruby/caca-event.c | 4 +- ruby/caca-font.c | 14 +- src/aafire.c | 30 +- tests/bench.c | 41 +- 14 files changed, 1515 insertions(+), 1498 deletions(-) Commit: 3581 Author: sam Date: Sun Jul 26 19:17:20 2009 +0000 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. caca/driver/x11.c | 33 ++++++++++++++++++++++++++++++--- caca/string.c | 4 ---- 2 files changed, 30 insertions(+), 7 deletions(-) Commit: 3580 Author: sam Date: Sun Jul 26 16:20:31 2009 +0000 More complex dirty rectangle merging strategy. It's a lot slower in some cases, but that can be fixed. caca/caca_internals.h | 6 +- caca/dirty.c | 135 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 113 insertions(+), 28 deletions(-) Commit: 3579 Author: sam Date: Sun Jul 26 16:20:20 2009 +0000 Add unit tests for efficient dirty rectangle merging. tests/dirty.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) Commit: 3578 Author: sam Date: Sun Jul 26 16:20:10 2009 +0000 Add a comment to the ncurses driver to remember fix the GCC warning. caca/driver/ncurses.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3577 Author: sam Date: Fri Jul 24 16:39:43 2009 +0000 Update the Win32 and Win64 ports. caca/libcaca.vcproj | 976 +++++++++++++++++++++++---------------------- cxx/libcaca++.vcproj | 687 ++++++++++++++++---------------- cxx/test-cxx.vcproj | 666 ++++++++++++++++--------------- examples/blit.vcproj | 730 +++++++++++++++++----------------- examples/colors.vcproj | 730 +++++++++++++++++----------------- examples/demo.vcproj | 730 +++++++++++++++++----------------- examples/dithering.vcproj | 730 +++++++++++++++++----------------- examples/driver.vcproj | 730 +++++++++++++++++----------------- examples/event.vcproj | 730 +++++++++++++++++----------------- examples/font.vcproj | 730 +++++++++++++++++----------------- examples/frames.vcproj | 730 +++++++++++++++++----------------- examples/fullwidth.vcproj | 730 +++++++++++++++++----------------- examples/gamma.vcproj | 730 +++++++++++++++++----------------- examples/hsv.vcproj | 730 +++++++++++++++++----------------- examples/import.vcproj | 730 +++++++++++++++++----------------- examples/input.vcproj | 730 +++++++++++++++++----------------- examples/transform.vcproj | 726 +++++++++++++++++----------------- examples/truecolor.vcproj | 730 +++++++++++++++++----------------- examples/unicode.vcproj | 730 +++++++++++++++++----------------- libcaca.sln | 130 ++++++- src/cacademo.vcproj | 730 +++++++++++++++++----------------- src/cacafire.vcproj | 730 +++++++++++++++++----------------- src/cacaview.vcproj | 737 +++++++++++++++++----------------- tests/bench.vcproj | 364 +++++++++++++++++ win32/config.h | 2 +- 25 files changed, 8552 insertions(+), 8146 deletions(-) Commit: 3574 Author: pterjan Date: Fri Jul 24 14:46:14 2009 +0000 * Inform code reader that current algorithm is wrong caca/dirty.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3573 Author: pterjan Date: Fri Jul 24 14:45:34 2009 +0000 * Align times on the right! tests/bench.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3572 Author: sam Date: Fri Jul 24 06:49:01 2009 +0000 Use a dummy display to compute benchmark time to avoid relying on . tests/bench.c | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) Commit: 3571 Author: sam Date: Fri Jul 24 06:48:54 2009 +0000 Do not smooth the render time; the calling application can do it. caca/graphics.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3570 Author: sam Date: Fri Jul 24 06:48:49 2009 +0000 Add a null driver that does absolutely nothing. caca/Makefile.am | 1 + caca/caca.c | 6 +++ caca/caca_internals.h | 5 ++- caca/driver/null.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+), 2 deletions(-) Commit: 3569 Author: sam Date: Fri Jul 24 06:48:42 2009 +0000 Mark the whole canvas as dirty when a dirty rectangle aware driver is attached to it. caca/driver/ncurses.c | 1 + caca/driver/slang.c | 1 + caca/driver/vga.c | 4 ++-- caca/driver/x11.c | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) Commit: 3568 Author: sam Date: Fri Jul 24 06:48:35 2009 +0000 Store dirty rectangles in a structure list. For now there is still only one dirty rectangle, but this is the first step to improvement. caca/caca_internals.h | 10 ++++- caca/canvas.c | 12 ++++- caca/dirty.c | 122 +++++++++++++++++++++++++++++++++--------------- 3 files changed, 102 insertions(+), 42 deletions(-) Commit: 3567 Author: sam Date: Fri Jul 24 06:48:27 2009 +0000 Add explanatory comments to the dirty rectangle unit tests. tests/dirty.cpp | 171 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 96 insertions(+), 75 deletions(-) Commit: 3566 Author: pterjan Date: Thu Jul 23 22:55:40 2009 +0000 * Add some simple bench (part 2, add the interesting file) tests/bench.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) Commit: 3565 Author: pterjan Date: Thu Jul 23 22:55:11 2009 +0000 * Add some simple bench tests/Makefile.am | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) Commit: 3559 Author: pterjan Date: Mon Jul 20 19:32:37 2009 +0000 * Add dirty rectangles when moving cursor caca/string.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 3558 Author: pterjan Date: Sun Jul 19 23:08:48 2009 +0000 * Report failures in exit code in caca-test tests/caca-test.cpp | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) Commit: 3557 Author: pterjan Date: Sun Jul 19 21:12:39 2009 +0000 * Also test blitting with mask tests/dirty.cpp | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) Commit: 3556 Author: pterjan Date: Sun Jul 19 20:37:12 2009 +0000 * When blitting, only add dirty rectangles on changed lines, or on changed chars if we have a mask caca/string.c | 22 +++++++++++++++------- tests/dirty.cpp | 24 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 7 deletions(-) Commit: 3554 Author: sam Date: Wed Jul 15 22:00:04 2009 +0000 Fix caca_get_char() documentation, courtesy of Romain Bignon. caca/string.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3553 Author: sam Date: Tue Jul 14 11:01:20 2009 +0000 Add a section at the beginning of the Ruby documentation to prevent doxygen from generating a huge whatis entry. ruby/ruby-caca.dox | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 3542 Author: pterjan Date: Wed Jul 1 16:14:41 2009 +0000 * Add rotated epsilon caca/transform.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Commit: 3514 Author: pterjan Date: Fri May 22 13:51:44 2009 +0000 Add unit test for memory export/import with caca format tests/Makefile.am | 2 +- tests/export.cpp | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 1 deletions(-) Commit: 3513 Author: sam Date: Fri May 22 13:23:09 2009 +0000 Add more unit tests for the dirty rectangles. tests/dirty.cpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 deletions(-) Commit: 3512 Author: sam Date: Fri May 22 13:23:03 2009 +0000 Add C++ warnings to the build process. configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3511 Author: sam Date: Fri May 22 13:22:57 2009 +0000 Fix import/export related stuff I forgot to update in the Ruby and PHP bindings. caca-php/php_caca.c | 8 ++++---- ruby/ruby-caca.dox | 8 ++++---- ruby/t/tc_canvas.rb | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) Commit: 3510 Author: pterjan Date: Fri May 22 13:06:07 2009 +0000 Don't redraw background for more than the dirty rectangle in x11 driver, we will not redraw foreground there caca/driver/x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3505 Author: sam Date: Fri May 22 10:18:44 2009 +0000 caca_put_char(): only add a dirty rectangle if the paster character is different from what was already there. caca/string.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) Commit: 3497 Author: pterjan Date: Fri May 22 07:51:48 2009 +0000 Fix limits settings in area export caca/codec/export.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3495 Author: sam Date: Thu May 21 20:55:21 2009 +0000 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(). caca/caca.h | 25 +++++++++++--- caca/caca0.c | 4 +- caca/codec/export.c | 51 +++++++++++++++++++++++++++-- caca/codec/import.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++--- caca/driver/raw.c | 4 +- caca/figfont.c | 4 +- caca/legacy.c | 9 +++-- cxx/caca++.cpp | 12 +++--- cxx/caca++.h | 6 ++-- cxx/cxxtest.cpp | 2 +- examples/blit.c | 4 +- examples/export.c | 6 ++-- examples/figfont.c | 4 +- examples/font2tga.c | 4 +- examples/import.c | 2 +- examples/spritedit.c | 10 +++--- examples/swallow.c | 5 ++- examples/text.c | 8 ++-- examples/transform.c | 6 ++-- ruby/caca-canvas.c | 25 +++++++------- src/cacadraw.c | 4 +- src/cacaplay.c | 4 +- src/cacaserver.c | 15 ++++---- src/img2txt.c | 6 ++-- 24 files changed, 224 insertions(+), 85 deletions(-) Commit: 3494 Author: sam Date: Thu May 21 20:55:13 2009 +0000 Change the dirty rectangle API once again so that calling applications get a more natural (x,y,w,h) 4-tuple to handle. caca/attr.c | 4 +- caca/caca.h | 16 ++++---- caca/canvas.c | 10 ++-- caca/dirty.c | 94 ++++++++++++++++++++++---------------------- caca/driver/ncurses.c | 20 +++++----- caca/driver/slang.c | 22 +++++----- caca/driver/vga.c | 22 +++++----- caca/driver/x11.c | 20 +++++----- caca/frame.c | 6 +- caca/graphics.c | 4 +- caca/string.c | 13 +++--- caca/transform.c | 18 ++++---- tests/dirty.cpp | 106 ++++++++++++++++++++++++------------------------ 13 files changed, 178 insertions(+), 177 deletions(-) Commit: 3493 Author: sam Date: Thu May 21 20:55:07 2009 +0000 Fix the old demo examples so that they don't refresh the screen twice every frame, causing the mouse to flicker. examples/demo.c | 10 ++++++---- examples/demo0.c | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) Commit: 3492 Author: sam Date: Thu May 21 20:54:59 2009 +0000 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. caca/Makefile.am | 2 + caca/codec/codec.h | 22 ++ caca/codec/export.c | 282 +---------------- caca/codec/import.c | 614 +---------------------------------- caca/codec/text.c | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++ caca/libcaca.vcproj | 16 +- 6 files changed, 945 insertions(+), 887 deletions(-) Commit: 3491 Author: pterjan Date: Wed May 20 14:44:47 2009 +0000 Revert r3478 caca/codec/export.c | 25 ++++++--------------- caca/codec/import.c | 60 +++++++++++++++++--------------------------------- 2 files changed, 28 insertions(+), 57 deletions(-) Commit: 3490 Author: sam Date: Wed May 20 14:20:59 2009 +0000 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). caca-sharp/caca-sharp.csproj | 14 +- caca-sharp/test-csharp.csproj | 12 +- caca/libcaca.vcproj | 960 ++++++++++++++++++++--------------------- cxx/libcaca++.vcproj | 696 +++++++++++++++--------------- cxx/test-cxx.vcproj | 666 ++++++++++++++-------------- examples/blit.vcproj | 738 ++++++++++++++++---------------- examples/colors.vcproj | 738 ++++++++++++++++---------------- examples/demo.vcproj | 738 ++++++++++++++++---------------- examples/dithering.vcproj | 738 ++++++++++++++++---------------- examples/driver.vcproj | 738 ++++++++++++++++---------------- examples/event.vcproj | 738 ++++++++++++++++---------------- examples/font.vcproj | 738 ++++++++++++++++---------------- examples/frames.vcproj | 738 ++++++++++++++++---------------- examples/fullwidth.vcproj | 738 ++++++++++++++++---------------- examples/gamma.vcproj | 738 ++++++++++++++++---------------- examples/hsv.vcproj | 738 ++++++++++++++++---------------- examples/import.vcproj | 738 ++++++++++++++++---------------- examples/input.vcproj | 738 ++++++++++++++++---------------- examples/transform.vcproj | 738 ++++++++++++++++---------------- examples/truecolor.vcproj | 738 ++++++++++++++++---------------- examples/unicode.vcproj | 738 ++++++++++++++++---------------- libcaca.sln | 150 ------- src/cacademo.vcproj | 738 ++++++++++++++++---------------- src/cacafire.vcproj | 738 ++++++++++++++++---------------- src/cacaview.vcproj | 746 ++++++++++++++++---------------- 25 files changed, 8146 insertions(+), 8382 deletions(-) Commit: 3489 Author: sam Date: Tue May 19 22:48:12 2009 +0000 Add dirty rectangle support to the ncurses and VGA drivers. AUTHORS | 2 +- caca/driver/ncurses.c | 36 +++++++++++++++++++++---------- caca/driver/vga.c | 54 ++++++++++++++++++++++++++++++++---------------- caca/driver/win32.c | 3 +- 4 files changed, 63 insertions(+), 32 deletions(-) Commit: 3486 Author: sam Date: Tue May 19 21:41:44 2009 +0000 Increased the autorepeat delay in the ncurses and SLang drivers. Now that we have dirty rectangles, fast autorepeat becomes perfectly usable. caca/event.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Commit: 3485 Author: sam Date: Tue May 19 21:41:38 2009 +0000 Improve dirty rectangle handling in examples/input.c. examples/input.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) Commit: 3484 Author: sam Date: Tue May 19 20:42:40 2009 +0000 Fix a few DOS compilation warnings. caca/dirty.c | 6 +++--- caca/figfont.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) Commit: 3483 Author: sam Date: Tue May 19 20:42:34 2009 +0000 Fix a ruby unit test that made wrong use of Caca::Display.driver_list. ruby/t/tc_display.rb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Commit: 3482 Author: sam Date: Tue May 19 20:42:28 2009 +0000 Update the migration documentation to reflect old box drawing API changes. doc/migrating.dox | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) Commit: 3481 Author: sam Date: Tue May 19 20:42:22 2009 +0000 Fix the text input example now that the box drawing functions take a size as argument. examples/input.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Commit: 3480 Author: sam Date: Tue May 19 20:42:12 2009 +0000 Fix dirty rectangle handling in the X11 and SLang drivers. caca/driver/slang.c | 15 +++++++++++---- caca/driver/x11.c | 8 ++++---- 2 files changed, 15 insertions(+), 8 deletions(-) Commit: 3478 Author: pterjan Date: Tue May 19 12:46:34 2009 +0000 Import/export dirty rectangles caca/codec/export.c | 25 +++++++++++++++------ caca/codec/import.c | 60 +++++++++++++++++++++++++++++++++----------------- 2 files changed, 57 insertions(+), 28 deletions(-) Commit: 3475 Author: sam Date: Tue May 19 01:04:03 2009 +0000 Minor optimisation in configure.ac. configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 3474 Author: sam Date: Tue May 19 01:03:57 2009 +0000 cacaplay: rename "eof" to "has_eof" to prevent shadowing a mingw32 variable. src/cacaplay.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 3473 Author: sam Date: Tue May 19 00:52:10 2009 +0000 A lot of documentation updates here and there, including bugfixes dating back to the libcucul merge. caca/event.c | 3 +++ doc/doxygen.cfg.in | 2 ++ doc/migrating.dox | 39 ++++++++++++++++++++------------------- doc/style.dox | 7 +++++++ doc/tutorial.dox | 10 +++++----- doc/user.dox | 2 +- ruby/ruby-caca.dox | 8 ++++---- 7 files changed, 42 insertions(+), 29 deletions(-) Commit: 3472 Author: sam Date: Tue May 19 00:52:02 2009 +0000 Update the Doxygen configuration file to version 1.5.9. doc/doxygen.cfg.in | 401 ++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 308 insertions(+), 93 deletions(-) Commit: 3471 Author: sam Date: Tue May 19 00:51:55 2009 +0000 Optimise the dirty rectangle handling by keeping track of the number of currently dirty rectangles. caca/caca_internals.h | 3 ++- caca/canvas.c | 6 +----- caca/dirty.c | 45 ++++++++++++++++++--------------------------- 3 files changed, 21 insertions(+), 33 deletions(-) Commit: 3470 Author: sam Date: Tue May 19 00:51:47 2009 +0000 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. caca/Makefile.am | 1 + caca/caca.h | 16 +++- caca/canvas.c | 127 ------------------------------ caca/dirty.c | 215 +++++++++++++++++++++++++++++++++++++++++++++++++++ caca/driver/slang.c | 88 +++++++++++---------- caca/driver/x11.c | 85 +++++++++++---------- caca/frame.c | 4 +- caca/graphics.c | 2 +- caca/libcaca.vcproj | 4 + caca/string.c | 4 +- caca/transform.c | 16 ++-- tests/dirty.cpp | 107 +++++++++++++++----------- 12 files changed, 395 insertions(+), 274 deletions(-) Commit: 3469 Author: pterjan Date: Mon May 18 13:02:43 2009 +0000 Only redraw empty rectangles in slang driver caca/driver/slang.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) Commit: 3468 Author: pterjan Date: Mon May 18 12:54:49 2009 +0000 Fix empty dirty rectangles detection caca/driver/x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3467 Author: pterjan Date: Sat May 16 20:14:04 2009 +0000 * Only redraw dirty rectangle in x11 driver caca/driver/x11.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) Commit: 3466 Author: sam Date: Fri May 15 14:42:31 2009 +0000 Add a few svn:ignore properties for Visual Studio cruft. Commit: 3465 Author: sam Date: Fri May 15 14:38:30 2009 +0000 Added MSVC project files for most example programs. caca-sharp/test-csharp.csproj | 2 +- examples/blit.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/colors.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/demo.c | 4 + examples/demo.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/dithering.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/driver.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/event.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/font.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/frames.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/fullwidth.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/gamma.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/hsv.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/import.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/input.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/transform.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/truecolor.vcproj | 371 +++++++++++++++++++++++++++++++++++ examples/unicode.vcproj | 371 +++++++++++++++++++++++++++++++++++ libcaca.sln | 427 ++++++++++++++++++++++++++++++++++++++++- 19 files changed, 6366 insertions(+), 3 deletions(-) Commit: 3452 Author: sam Date: Thu May 14 10:04:26 2009 +0000 Fixed libcaca and the Visual Studio solution so that it works on Win64, including the .NET projects. caca-sharp/caca-sharp.csproj | 38 +++++++++- caca-sharp/test-csharp.csproj | 22 +++++- caca/caca_types.h.in | 20 ++++- caca/libcaca.vcproj | 155 +++++++++++++++++++++++++++++++++++++ cxx/libcaca++.vcproj | 155 +++++++++++++++++++++++++++++++++++++ cxx/test-cxx.vcproj | 155 +++++++++++++++++++++++++++++++++++++ libcaca.sln | 72 +++++++++-------- src/cacademo.vcproj | 169 +++++++++++++++++++++++++++++++++++++++++ src/cacafire.vcproj | 169 +++++++++++++++++++++++++++++++++++++++++ src/cacaview.vcproj | 169 ++++++++++++++++++++++++++++++++++++++++- win32/caca_types.h | 6 +- 11 files changed, 1086 insertions(+), 44 deletions(-) Commit: 3451 Author: sam Date: Thu May 14 08:43:52 2009 +0000 Fix a few implicit cast related warnings on VC++. caca/codec/export.c | 2 +- caca/codec/import.c | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) Commit: 3450 Author: sam Date: Thu May 14 00:18:37 2009 +0000 Fix a few dirty rectangle bugs found with the unit tests. Let that be a lesson to you: unit tests are good. caca/attr.c | 2 +- caca/canvas.c | 20 ++++++++++---------- caca/string.c | 5 ++++- 3 files changed, 15 insertions(+), 12 deletions(-) Commit: 3449 Author: sam Date: Thu May 14 00:18:30 2009 +0000 Start writing unit tests for the dirty rectangle handling. tests/Makefile.am | 2 +- tests/dirty.cpp | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+), 1 deletions(-) Commit: 3448 Author: sam Date: Thu May 14 00:18:23 2009 +0000 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. caca/attr.c | 11 ++++++++++ caca/caca_internals.h | 6 ++-- caca/canvas.c | 52 ++++++++++++++++++++++++++++++------------------ caca/frame.c | 7 ++++++ caca/graphics.c | 3 ++ caca/string.c | 36 ++++++++++++++++++++++++++++++--- caca/transform.c | 16 +++++++++++++++ 7 files changed, 104 insertions(+), 27 deletions(-) Commit: 3447 Author: sam Date: Thu May 14 00:18:13 2009 +0000 Factor code from caca_draw_cp437_box() and caca_draw_thinbox_box(). caca/box.c | 150 +++++++++++++++++++++++++---------------------------------- 1 files changed, 64 insertions(+), 86 deletions(-) Commit: 3443 Author: sam Date: Wed May 13 06:40:48 2009 +0000 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. caca/caca.h | 6 ++- caca/caca_internals.h | 3 + caca/canvas.c | 157 +++++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 152 insertions(+), 14 deletions(-) Commit: 3428 Author: sam Date: Wed Apr 29 12:22:35 2009 +0000 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. caca-sharp/caca-sharp.csproj | 47 ++++++++++++++++++++-- caca-sharp/test-csharp.csproj | 49 ++++++++++++++++++++--- caca/libcaca.vcproj | 87 +++++++++++++++++++++-------------------- cxx/libcaca++.vcproj | 13 +++--- cxx/test-cxx.vcproj | 13 +++--- libcaca.sln | 4 +- src/cacademo.vcproj | 21 +++++----- src/cacafire.vcproj | 22 +++++----- src/cacaview.vcproj | 21 +++++----- 9 files changed, 175 insertions(+), 102 deletions(-) Commit: 3427 Author: sam Date: Wed Apr 29 12:13:19 2009 +0000 import.c: when importing ANSI or UTF-8 files, treat ^L as a canvas frame separator. Not extremely robust yet. caca/codec/import.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) Commit: 3412 Author: sam Date: Tue Mar 24 00:58:01 2009 +0000 Apparently \033 is more common than \x1b for ESC. Use the former in our code for clarity. caca/codec/import.c | 10 +++++----- caca/driver/win32.c | 2 +- caca/graphics.c | 2 +- src/cacaserver.c | 14 +++++++------- 4 files changed, 14 insertions(+), 14 deletions(-) Commit: 3407 Author: sam Date: Sun Mar 1 13:20:41 2009 +0000 Added new Unicode blocks to the built-in font. caca/mono9.data | 4812 ++++++++++++++++++++++++++++++++------------------ caca/monobold12.data | 4700 ++++++++++++++++++++++++++++++++----------------- tools/makefont.c | 4 +- 3 files changed, 6181 insertions(+), 3335 deletions(-) Commit: 3406 Author: sam Date: Sun Mar 1 12:39:36 2009 +0000 transform.c: one more rotated glyph. caca/transform.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3405 Author: sam Date: Sun Mar 1 12:33:25 2009 +0000 transform.c: add new transformation glyphs for various capital letters. caca/transform.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) Commit: 3404 Author: sam Date: Thu Feb 26 10:41:32 2009 +0000 Remove occurrences of DATADIR, it conflicts with MinGW's . Fixes ticket #51. examples/Makefile.am | 3 +-- examples/demo.c | 4 +--- examples/demo0.c | 4 +--- tools/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) Commit: 3334 Author: nico Date: Tue Dec 9 17:37:22 2008 +0000 * 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 caca-php/php_caca.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) Commit: 3333 Author: pterjan Date: Sun Nov 30 00:02:46 2008 +0000 * Add a flip char for 1 caca/transform.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3332 Author: pterjan Date: Sat Nov 29 23:53:55 2008 +0000 * Add a rotate_180 char for G caca/transform.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3323 Author: sam Date: Wed Nov 12 10:20:56 2008 +0000 Create a libcucul.la symlink for distributions such as Gentoo which may rely on .la files for library dependencies. caca/Makefile.am | 2 ++ cxx/Makefile.am | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) Commit: 3318 Author: bsittler Date: Fri Nov 7 09:03:26 2008 +0000 add a reset button, move usage to "stdout", and stop hyperlinking the logo filename in the example caca-php/examples/www/img2txt.php | 40 ++++++++++++++++++------------------ 1 files changed, 20 insertions(+), 20 deletions(-) Commit: 3317 Author: bsittler Date: Fri Nov 7 08:57:44 2008 +0000 allow a filename exactly matching the uploaded filename; give a better error message when this does not work caca-php/examples/www/img2txt.php | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) Commit: 3316 Author: bsittler Date: Fri Nov 7 08:38:55 2008 +0000 more copyright info caca-php/examples/img2txt.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 3315 Author: bsittler Date: Fri Nov 7 08:37:59 2008 +0000 add more copyright info caca-php/examples/www/img2txt.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 3314 Author: bsittler Date: Fri Nov 7 08:36:07 2008 +0000 https should work too caca-php/examples/www/img2txt.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3313 Author: bsittler Date: Fri Nov 7 08:35:29 2008 +0000 obscure email addresses somewhat caca-php/examples/www/img2txt.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3312 Author: bsittler Date: Fri Nov 7 08:33:03 2008 +0000 better argument handling, and allow logo-caca.png as a special file argument caca-php/examples/www/img2txt.php | 41 +++++++++++++++++++++++------------- 1 files changed, 26 insertions(+), 15 deletions(-) Commit: 3311 Author: bsittler Date: Fri Nov 7 08:25:01 2008 +0000 fix case in example caca-php/examples/img2txt.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3310 Author: bsittler Date: Fri Nov 7 07:56:36 2008 +0000 now works as HTML caca-php/examples/www/img2txt.php | 277 +++++++++++++++++++++++++++---------- 1 files changed, 201 insertions(+), 76 deletions(-) Commit: 3309 Author: bsittler Date: Fri Nov 7 07:13:57 2008 +0000 handle argument-parsing exceptions caca-php/examples/img2txt.php | 100 ++++++++++++++++++++++------------------- 1 files changed, 54 insertions(+), 46 deletions(-) Commit: 3308 Author: bsittler Date: Fri Nov 7 07:09:52 2008 +0000 more accurate error message caca-php/examples/img2txt.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 3307 Author: bsittler Date: Fri Nov 7 06:30:29 2008 +0000 clarify that this is a PHP port, not the original C program; return -1 when export fails, too caca-php/examples/img2txt.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 3306 Author: bsittler Date: Fri Nov 7 05:55:12 2008 +0000 copy img2txt.php to www in preparation for htmlizing caca-php/examples/www/img2txt.php | 383 +++++++++++++++++++++++++++++++++++++ 1 files changed, 383 insertions(+), 0 deletions(-) Commit: 3305 Author: bsittler Date: Fri Nov 7 05:51:26 2008 +0000 remove workarounds since alpha works now (merged from ..) caca-php/examples/www/export.php | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) Commit: 3304 Author: bsittler Date: Fri Nov 7 05:48:32 2008 +0000 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+. caca-php/examples/img2txt.php | 250 ++++++++++++++++++++++++++++++++++------- 1 files changed, 211 insertions(+), 39 deletions(-) Commit: 3303 Author: bsittler Date: Fri Nov 7 04:31:04 2008 +0000 fix yet another bug i wrote :( -- be endian-neutral. caca-php/php_caca.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) Commit: 3302 Author: bsittler Date: Thu Nov 6 23:25:26 2008 +0000 no more horrible hacks needed, since fixing the alpha mismatch in the C binding caca-php/examples/export.php | 4 +- caca-php/examples/img2txt.php | 407 +++++++++++++++++++---------------------- 2 files changed, 189 insertions(+), 222 deletions(-) Commit: 3301 Author: bsittler Date: Thu Nov 6 23:21:15 2008 +0000 do not bother with an extraneous fill, and don't create out.png caca-php/examples/test.php | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) Commit: 3300 Author: bsittler Date: Thu Nov 6 23:18:48 2008 +0000 fix endianness problem caca-php/php_caca.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Commit: 3299 Author: bsittler Date: Thu Nov 6 20:01:57 2008 +0000 oops! fix problem i introduced in the previous commit caca-php/php_caca.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Commit: 3298 Author: bsittler Date: Thu Nov 6 19:45:11 2008 +0000 fix impedence mismatch between libgd alpha (0 = opaque, 127 = transparent) and libcaca alpha (0 = transparent, 255 = opaque) caca-php/php_caca.c | 75 +++++++++++++++++++++++++++++--------------------- 1 files changed, 43 insertions(+), 32 deletions(-) Commit: 3297 Author: bsittler Date: Thu Nov 6 17:04:21 2008 +0000 copy img2txt.c to img2txt.php in preparation for phpizing caca-php/examples/img2txt.php | 242 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 242 insertions(+), 0 deletions(-) Commit: 3296 Author: bsittler Date: Thu Nov 6 07:16:59 2008 +0000 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...) caca-php/examples/cacapig.php | 36 +++++++++++++++++++----------------- 1 files changed, 19 insertions(+), 17 deletions(-) Commit: 3295 Author: bsittler Date: Thu Nov 6 07:14:12 2008 +0000 default to $timeout = 0 in Display::getEvent() caca-php/caca.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3294 Author: bsittler Date: Thu Nov 6 07:11:01 2008 +0000 fix some bugs and inconsistencies in the PHP object layer caca-php/caca.php | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) Commit: 3293 Author: bsittler Date: Wed Nov 5 01:00:38 2008 +0000 add a Libcaca class to the PHP class interface, parallel to the Libcaca class in the .NET interface; fix a bunch of whitespace inconsistencies caca-php/caca.php | 87 +++++++++++++++++++++++++------------------- caca-php/examples/test.php | 12 +++--- 2 files changed, 56 insertions(+), 43 deletions(-) Commit: 3292 Author: bsittler Date: Wed Nov 5 00:39:18 2008 +0000 add AnsiColor, EventType and EventKey constants parallel to the .NET ones caca-php/caca.php | 101 ++++++++++++++++++++++++++++++++++++++++++++ caca-php/examples/test.php | 12 +++--- 2 files changed, 107 insertions(+), 6 deletions(-) Commit: 3291 Author: bsittler Date: Wed Nov 5 00:38:14 2008 +0000 added missing constant CACA_KEY_UNKNOWN caca-php/php_caca.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Commit: 3290 Author: bsittler Date: Wed Nov 5 00:04:35 2008 +0000 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 caca-php/examples/test.php | 258 +++++++++++++++++++++++--------------------- 1 files changed, 136 insertions(+), 122 deletions(-) Commit: 3289 Author: bsittler Date: Tue Nov 4 23:57:57 2008 +0000 copy test.cs to test.php in preparation for phpizing caca-php/examples/test.php | 136 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 136 insertions(+), 0 deletions(-) Commit: 3288 Author: bsittler Date: Tue Nov 4 23:56:43 2008 +0000 merge alpha fix from svn://svn.zoy.org/libcaca/libcaca/trunk/caca-php/examples/export.php@3287 into examples/www/export.php caca-php/examples/www/export.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 3287 Author: bsittler Date: Tue Nov 4 23:54:38 2008 +0000 use alpha in PNG export, since it is now required to get a correct PNG output image caca-php/examples/export.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Commit: 3286 Author: bsittler Date: Tue Nov 4 23:53:18 2008 +0000 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 caca-php/caca.php | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 deletions(-) Commit: 3285 Author: bsittler Date: Tue Nov 4 23:48:31 2008 +0000 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). caca-php/php_caca.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Commit: 3284 Author: bsittler Date: Tue Nov 4 06:11:19 2008 +0000 preserve column alignment better by breaking cells at spaces; preserve readability of fullwidth characters better by not placing cell boundaries between them unneccessarily caca/codec/export.c | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) Commit: 3283 Author: bsittler Date: Tue Nov 4 05:45:21 2008 +0000 force a column alignment after each column containing a fullwidth character. caca/codec/export.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) Commit: 3282 Author: bsittler Date: Tue Nov 4 05:43:37 2008 +0000 no border in old browsers, either. caca-php/examples/www/export.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3281 Author: bsittler Date: Tue Nov 4 05:28:03 2008 +0000 htmlification caca-php/examples/www/unicode.php | 32 ++++++++++++++++++-------------- 1 files changed, 18 insertions(+), 14 deletions(-) Commit: 3280 Author: bsittler Date: Tue Nov 4 05:23:16 2008 +0000 copy unicode.php to www in preparation for htmlizing caca-php/examples/www/unicode.php | 93 +++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 0 deletions(-) Commit: 3279 Author: bsittler Date: Tue Nov 4 05:22:24 2008 +0000 cli-only caca-php/examples/unicode.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 3278 Author: bsittler Date: Tue Nov 4 05:21:34 2008 +0000 phpized caca-php/examples/unicode.php | 160 +++++++++++++++++++---------------------- 1 files changed, 73 insertions(+), 87 deletions(-) Commit: 3277 Author: bsittler Date: Tue Nov 4 05:17:37 2008 +0000 copy unicode.c to unicode.php in preparation for phpizing caca-php/examples/unicode.php | 103 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 103 insertions(+), 0 deletions(-) Commit: 3276 Author: bsittler Date: Tue Nov 4 05:12:17 2008 +0000 htmlize caca-php/examples/www/transform.php | 31 ++++++++++++++++++------------- 1 files changed, 18 insertions(+), 13 deletions(-) Commit: 3275 Author: bsittler Date: Tue Nov 4 04:58:38 2008 +0000 copy transform.php to www in preparation for htmlizing caca-php/examples/www/transform.php | 103 +++++++++++++++++++++++++++++++++++ 1 files changed, 103 insertions(+), 0 deletions(-) Commit: 3274 Author: bsittler Date: Tue Nov 4 04:56:49 2008 +0000 PHPified caca-php/examples/transform.php | 187 ++++++++++++++++++--------------------- 1 files changed, 86 insertions(+), 101 deletions(-) Commit: 3273 Author: bsittler Date: Tue Nov 4 04:49:17 2008 +0000 copy transform.c to transform.php in preparation for phpizing caca-php/examples/transform.php | 118 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 118 insertions(+), 0 deletions(-) Commit: 3272 Author: bsittler Date: Tue Nov 4 04:46:47 2008 +0000 show client-side filename caca-php/examples/www/export.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Commit: 3271 Author: bsittler Date: Tue Nov 4 04:45:23 2008 +0000 clearer wording. caca-php/examples/www/import.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3270 Author: bsittler Date: Tue Nov 4 04:21:13 2008 +0000 link to an example file to download and then import (generated by export.php) caca-php/examples/www/import.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Commit: 3269 Author: bsittler Date: Tue Nov 4 04:13:13 2008 +0000 works well enough to import the files exported by export.php caca-php/examples/www/import.php | 77 ++++++++++++++++++++++++++------------ 1 files changed, 53 insertions(+), 24 deletions(-) Commit: 3268 Author: bsittler Date: Tue Nov 4 03:56:18 2008 +0000 force cli on remaining examples so that apache doesn't pop up a window (this actually happens with the cocoa driver!) caca-php/examples/cacapig.php | 3 +++ caca-php/examples/colors.php | 4 ++++ caca-php/examples/fullwidth.php | 4 ++++ caca-php/examples/render.php | 4 ++++ caca-php/examples/truecolor.php | 4 ++++ 5 files changed, 19 insertions(+), 0 deletions(-) Commit: 3267 Author: bsittler Date: Tue Nov 4 03:39:20 2008 +0000 CLI-only caca-php/examples/import.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 3266 Author: bsittler Date: Tue Nov 4 03:37:12 2008 +0000 copy import.php to www in preparation for htmlizing caca-php/examples/www/import.php | 54 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) Commit: 3265 Author: bsittler Date: Tue Nov 4 03:36:33 2008 +0000 list available import formats in usage message caca-php/examples/import.php | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) Commit: 3264 Author: bsittler Date: Tue Nov 4 03:32:42 2008 +0000 PHPification of import.c caca-php/examples/import.php | 72 ++++++++++++++++-------------------------- 1 files changed, 27 insertions(+), 45 deletions(-) Commit: 3263 Author: bsittler Date: Tue Nov 4 03:22:04 2008 +0000 copy import.c to import.php in preparation for phpizing caca-php/examples/import.php | 66 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) Commit: 3262 Author: bsittler Date: Tue Nov 4 00:56:07 2008 +0000 only fill the preview iframe when javascript is enabled caca-php/examples/www/export.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3261 Author: bsittler Date: Tue Nov 4 00:41:56 2008 +0000 merge latest CLI example bugfixes into the HTML versions caca-php/examples/www/colors.php | 8 ++++---- caca-php/examples/www/export.php | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) Commit: 3260 Author: bsittler Date: Tue Nov 4 00:39:40 2008 +0000 fix typo in PHP binding of caca_set_Attr that caused segfault on linux; also remove workaround for spurious extra-argument requirement from two of the PHP examples caca-php/examples/colors.php | 8 ++++---- caca-php/examples/export.php | 10 +++++----- caca-php/php_caca.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) Commit: 3259 Author: bsittler Date: Mon Nov 3 22:30:22 2008 +0000 now generates HTML caca-php/examples/www/fullwidth.php | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) Commit: 3258 Author: bsittler Date: Mon Nov 3 22:21:31 2008 +0000 copy fullwidth.php to www in preparation for htmlizing caca-php/examples/www/fullwidth.php | 75 +++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) Commit: 3257 Author: bsittler Date: Mon Nov 3 22:19:29 2008 +0000 added copyright info for PHP conversion (blah blah blah...) caca-php/examples/fullwidth.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Commit: 3256 Author: bsittler Date: Mon Nov 3 22:18:27 2008 +0000 now works as PHP caca-php/examples/fullwidth.php | 113 +++++++++++++++----------------------- 1 files changed, 45 insertions(+), 68 deletions(-) Commit: 3255 Author: bsittler Date: Mon Nov 3 22:08:09 2008 +0000 copy fullwidth.c to fullwidth.php in preparation for phpizing caca-php/examples/fullwidth.php | 94 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) Commit: 3254 Author: bsittler Date: Mon Nov 3 22:06:33 2008 +0000 only assume svg preview ability in opera, WebKit and Gecko caca-php/examples/www/export.php | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) Commit: 3253 Author: nico Date: Mon Nov 3 22:03:31 2008 +0000 * Improve object layer for caca-php caca-php/caca.php | 60 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 56 insertions(+), 4 deletions(-) Commit: 3252 Author: bsittler Date: Mon Nov 3 21:58:17 2008 +0000 do not add history entries for iframe transitions caca-php/examples/www/export.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3251 Author: bsittler Date: Mon Nov 3 21:48:53 2008 +0000 add missing id caca-php/examples/www/export.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Commit: 3250 Author: bsittler Date: Mon Nov 3 21:48:16 2008 +0000 use some javascript to show inline previews using