commit 451ba85834457c75965ff89aa43489fb432d7387 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 20f1ef8a4a834c25f941ee7fa6fb9f20a9e42692 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 151e2d2d21c307b9dc8c2ca0523bfded1a391781 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 6eda4e3a781993623bf6651151193176011b38e9 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 34365e618d3ab942174fbba7085cf2dfe82c3933 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 2904686fa74262422c7ad2de03f9e6ad8b3cf760 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 7071715928dfa24421070deaafbd7e003f10a885 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 487e5d3f14179f16d850891b229ad5ddc3a085f7 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 17db1ae3626886ca5ef295e2d13192785f7fe5e2 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 d09c52bbea20688bde8d99d6fa6608d82c88e6bf 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 d20876254575a1807e45d9f6813dc319db35e3a0 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 cfbf6b03450ec5f9a54d8821c67388a3ee250a34 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 1952abe441151d29d76a80d23b924829da82d78e 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 0abfaab409f21792772043a46ed11024e15eaf7a 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 a624bed86c83294989d80b6cdaca86929ca4a993 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 65c45c564a539884d39bd26b4d069e83e046e06a 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 46776ce9343b8e5212d9169db991fb0f89d973e9 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 f7aa349e589face539fd5c44fdbbc1b3deb7c3e6 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 cb05a3ca97161eed3c8b4dd201c1748bb4c51d2e 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 b22d726efed61636c22d1099da84149bdca2936b 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 27934e61f3debbd86a18fb249cf8625645c1f80d 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 c937b857131651e02acf5b813887a2f567bceadc 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 bfb37db8f2499325f64efea9cba8e841646170f5 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 06f236a29b73e6b0206bff7f2298277ae2c0de85 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 6ad0288cffd2d12fab085a144d0474de49977961 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 ebb9c3074b35e17103bb8bc6963a3210d8b5c5ca 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 8ddbf4820e43bae276f8cdc6a6ac5839717b7226 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 7e4e8167886d496217f7b08ea7de528f8582e3cf 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 98688b4bcc7bcb3698c11f80aa12aaaf4031e969 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 e6409a5564b76042a195cce112640af2e4cef16d 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 286de1c373555f76ab578073ac90da58dcf319e4 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 559d937f27795e6c9d0efd0cc7b8fb8480bccdf2 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 cb370a6be80f0886c8e43bbc07804098c810b7a9 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 6479e3ce29b7d203cc33ff1d52b7499238501db6 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 a11291729af0f3b5bf2d4faa05064f02b9271cfb 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 480a99e672c9b92d15b3cc574c851c53c8120cd0 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 01e5e5330238167d027747ed563bb1a1f407224d 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 b7eb24a12d18e0e4ca60fc6e197d0560d5389732 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 55782572f83481b4ec154bb11d44267ee5cd1e9e 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 9028cbc3ff8f146b546efc17cbc66b26ce796828 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 898759b7dadfc9c65034441e77dfc91fcc2cd8a0 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 99642037cc0cd2d2b9c8fb1512b37a207a346556 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 5c150f436350d7c7af3ce50061662b61156583cb 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 fdb00a9dd7019a293dcbd1b8a615eaaf805a9af1 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 50a7a1c3aa224689cf3b03a6db689308028f54ea 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 71dd8c2fb62a7c5332551988cca3efe3a63649e0 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 ce26ac94f15787903677da60bb3d6ed2692ca7e8 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 1a59076ea7c24889e286d6849b2e5780b5639b4f 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 763fd7b3e85df18a805c44932ba85a6eb476d0d2 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 92fde672d2de085a7f8ef4b1da7ed48d53e40cf7 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 9cbe0558428bbf2adc5969607f0acdb8240fcae4 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 d200161f378ab689206cabf96bbf564c52e39397 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 7ea1228902ce2f8fd430130628b601c399126963 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 129f3cf7c954dd728d79707df2e09e840f5606ae 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 3899c308227af354550760e04c2905cff0f8ca1a 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 92247aae9f03409855367185533520c043c82898 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 43c52b63e7293cf0897f3d2a254abf523f215403 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 64e9ca3f9a76b126c7cdb702d71b8c95bd31e15f 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 4775fa0e432315ab84d304e808749b34eb8da1df 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 0956ab76ba8b289ca1d589c83361bcdda083642c 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 27a14dcb2ff2b4627ff23df78f5d20220509873c 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 660b97185dfad854b243076fed3c7e07620bcebc 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 5f292371aa7c58417f532fd8670dbb6bf3da311d 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 a2bd27b3cb75e5c0480c145879d07384d95b6206 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 c7e5a0a13f2483f1665a573cce82241f2f8b610d 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 aa1965fbab4a7877bc3d9d886eace24646ff58bd 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 6d0f9c8916933b248b9c2d3bf53348a3c9ed6227 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 110757306bbba395529c857009eddebfff7002cc 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 a9ccf5d3f31f36f2a94627e49da10787f36edc88 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 ef315316b8f654ba27ad52a0db4da0aa73073fd5 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 b55abb51da0870811af8abf60ee4708072546a23 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 ef2f9b850c8f1b46fa8a4b77888160157b584679 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 13d25991a75287dc0cab6aef4239079706ff75cc 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 c11ba8cfb7b536369e6b8d573f4ccd125c92862e 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 6ac2af8718c305dd31aea6427c61b528281c768b 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 b10deb044d46e3be580196c0c2c5c62a976086c6 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 e1e319428f8e93021e8e686ea8b5e7dbe5500b5e 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 31695c3783ab0ce84a7fe43cb8f810f4e0206cf4 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 18b98c27bac028ea5ccff4e108a3d177e3d7ba87 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 ca53826f2a78e345d3cc6b83155ebacda793742b 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 e173289900af0fc9d7ec3b7f78f7ef0e9098354f 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 e83e7429de0323246420fd89de156f8e29bcda4b 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 5e697d858efc2e79801eec8837ca209380a39aab 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 9081d2fae20fe43aa35d253b8041805e45f77338 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 2da09e1b6b827dea7fc51c88c2d1c1d4ce0168a2 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 ce7ff16037d731376c96b50a8377c6a1dd673055 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 acbbbbf43eae8b9a2908bbbfbccc1a377a415029 Author: sam Date: Thu Aug 13 13:05:00 2009 +0000 Add missing svn:ignore properties. commit f41e8b3ca6ccf0d404985c72abe2fdd0757bb1d1 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 966ad4d0db6f390cd57af237aa264a3b066fa4ef 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 8e84a07144c1b1d5ce5426eca2a46593cb2e4dc7 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 6b5afd75e8a74996f87127338d381da62369330a 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 23ee2429a219691bee8a4bc3b6102c3b994bbf10 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 a1771030fafebdc76de43527199a2b17ae1439bc 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 b6179418cbe03f56e327f5d55f5b817cb27bd7a1 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 9483e4e233e3a73889f9b37bb19f157841799b4e 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 a669adf70954ef6df050fa94836f426bb98d4f9e 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 7f0cbea55979a3feb187f01c47f17f71e6bbf4be 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 761c20ff8bd5c9dd2a7ef23b147ced0014889907 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 f6c8ea613dfdfbd4cd4c37fb382b128bd96c4189 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 a2d04bce857fa28bbb8335b50f297782f2e18047 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 2e4da3334a313d3f4bf9de90897050abbb609438 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 0b1298105b7c4960ded5feb3d1386e742aca1d1c 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 5841209e9a1c2fac3ec14c4e68aa9326fafc566d 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 3ade80bff86a42614a95e8440ce6b686a48e1bba 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 5943fa69036e244274b8d4202ddc30b0eb11d1b8 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 67fcf886a5fc3954309389bbbb84b9bc60e223ce 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 4c69b3d63b5de8c09ad0bb7a4c7ed57a2cc6de26 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 d7e86e850ba3d0636d42231cf89afe61395cce32 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 831d2199a74393bfa7379286a70a5b3e8fd82d41 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 f024e4df56b801f0e9e95ceea57a26e2ac224b37 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 ba5732d80ff66f11bf4ee34d9f3389991eb456be 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 bd146cfaf6079b9fcf9dab386449b93e3e32e012 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 a4f95f5ad6468108505a8aaca2787b9ebe061284 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 fe99ce8169470adbd63ee6fe37dbc8dc0fcc9510 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 c3fa94271d1b6a38d6f514da0e5e8a6b8c6bf0e3 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 c43fed10e422f7c22d277599d1c450146b83de95 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 822b794079d727c522e67df77ea59a5a5454c89b 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 6384915910b84c1404eee48681658903beb3d8c9 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 1458be14a2d014f56d38aa496793681ec4979219 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 ef2c4e1e17df8672e30649595e3527a38f82ca0b 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 5f0f659c0c7b8122fe4a3bf5c3268838024edd9b 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 cb90e23ec73f39978e74e098a450f249a0f7cdaf 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 de463801639e33fba304dc4811543ab6ce145b2a 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 818b32016e5b01306bd911fed6f6d622042ac268 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 e6a991fd2d26939fa66e09d53f5b54192f31b852 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 62733587bf597c80e6eba8347e7edb31c05ff683 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 ffedd0f046c763dc8e0e06bc9e0a1e9aaccc728e 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 c2578dcf35ea7ae7ab8e781106cab2f14344e1c2 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 126d59d55156be7edf78432c6c117be4c67ace49 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 a5f75e824011cf92498dccfd9493323d27393eca 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 761c7d99c0b555dbbcb815ace68a8896fa9e7d75 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 0b2583b2c529dec24f4f8476f76c68bdb19b5823 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 279a775f0105ef18dcdec66b81bd3f57bd5c2389 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 16c957e119a680fa3f07e0ad0a4bfc17d2c81e2a 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 1349e20b851735f12a5d918d06dfcd612beeff05 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 d21dca5263191d4e17f5db77bd2de1ab1c24fc2a 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 aee8950bad649e83efe132154cea7a4149adab29 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 cd412935147b54654f4c5fd0af5d695bc50e15ff 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 d4a6ff80167110aad0b6ee5c9cfd4acadf6080c8 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 35062c3ec3ae4a441ba2234a7a39a5e872a6658b 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 7c848cf09f2393fcccfd168f6c29463ab96a9477 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 8b8e9f260b601b59ee9a416d74a7feeaf559e34b 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 3afe934a52fba0abf8a8fa645fd2722da52136ec 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 ed7542f60df3883bee409f062b6ba224b75a1be5 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 62e0502a1e402f8fd1ac283ae8b04ec7855d7d76 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 6b47e79e0d17ff3a30cb3305230051403513f542 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 9276e97cd397f287e9f651f06fb993c69be6f01e 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 e84060ac9817b29500bfe03d7f7693b8dbd283be 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 29095041cb0cefd61b7bb87db9c477449e5e71a4 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 3b4d043fcd3668cf0f5f1881c36b3ced6421a94c 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 c1b8624756c89f4e23d5bfdc5e7c10ebc39034cd 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 120d5136a9eb635f1cc7758fb1aaca331d0d7cd5 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 b70108dfba544ed36143f9d4814987b3af3a8f64 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 7cfa74bd8f595fccef10d8a0541ad46cd17a68e2 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 708d153ac0c3bcaf5bbcf4acb8f40f6ed6c444f8 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 7a7c5d1ab97b367fca7c24873afc1c42805bee50 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 a5c4e3ddb672a62b22370bb3af4d8835a188a8b6 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 fbcb72d38474f71c529dc296b98e64c86279a924 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 baaec1a2d9b42467b3e8d3797c9695bf8fb003de 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 516c7b4d3a01ad31fac90e2ef89b63ee5cb3ef2a 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 5dfcd32ff647f20a78fca000fa7fd9cf3baec6de 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 3ca2ee5f560afd62f0af40e36dc0b9f1b5df51ec 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 1d5c938f0fc6a4a3431d91cf03331aa46f13cb93 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 0de274b5955d2debb249bd4e8960087d759b568b 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 5b7a648584ca4594d6b19db0251ba15790998905 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 025b22268148a00747364732d81d49d732a3780b 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 d0325de12e8a5742413ef02603b884883232ba28 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 a77cb519d68072c4b832568ca9b1296624486d7e 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 89dc0e3e9addedf415b3808d419a7c102d8a3f2f 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 ac5dab6d15a5eeb6c2af7f0dab54de05015a84d8 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 c9e055d2fb1b5bff4c2573fa2100b26a64a19c4b 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 bd86eca0bae0eee179323456be49996640196cf4 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 efc841dcb975f4c6b781885a6a4362bd0a32f23f 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 350bb591ec96904c6a26f92a298618b90d666525 Author: sam Date: Fri May 15 14:42:31 2009 +0000 Add a few svn:ignore properties for Visual Studio cruft. commit 509a7107f584b2b41c8b4f48a75f66a5344342e3 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 a250b88b9a6117b772b2c8da02d57769b06f734a 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 2a2d23dfe0c66a06d1e9180dd4afbbd153a857b4 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 6afb15a7b51e28dd64bb7cf4cba08dce4ce095c0 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 0dad89c1a0e1d41416ba4a6c1db5c486081d9556 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 96a86e5e113a1ecb2c9d7c683fd528eac9874468 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 c4eff8b3da1f0efd9af4639e66bd1b4a67e61100 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 4a776b1638cf1c5ac152146cfb28ece9a77782d8 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 7b7b79860c3b18140a4ad7a6555be44bfca6a869 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 09b2cc80bc0008139b894184e226fb26821ed30e 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 d0c77a075d1a38ad9c7fa090b148d4edffc930e4 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 d1bbd3da6bcdf07f93500ca58ca5505e6331ec04 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 9cf9c3a8389e1ef14205360687304f03b4bcb809 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 4bb17323f0692f5ba3fc3198594e2864f51c5ba8 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 6b25391062055a72e3c091eb0988b63d7e527f0a 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 38ef89f68555191616a812313e20b3e6a7d89cb2 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 eb5add85ebe14aec455d6c20fd13148bd492ba10 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 6d833ff945e748a861bdd049488eff7c874f0225 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 845cdfa3ed94d7f7f61d8ab10eb9f6103b8bf42a 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 d0f81f455f1d0179adc8b2a78cfb64e6e284c217 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 7a2b706a3e7d55ee1a455c18e0d1601c7e678ceb 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 1bae70cf19b04029dba571609663039e0ae4b2be 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 efcdcc661763d5a8d8d7ec4fedac7ab0f99c30b4 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 273abb697f8e81ba81f7fc178c22fdcaff7b2914 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 894f4615322e67b8c7390d31ae8f8e787b123ee1 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 aedb7011513654c9f30fc8eb9e662118f0c02a3d 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 795bdd65c3f6012589ca3ed195e231557befd04f 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 36cb62c2ee4dc64a8b68eb54fdd006b86de283b3 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 1485b650829c15679586a4da5b3b45ea43f54836 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 7008126741cbbf9e02ec45ca00368a3d29112000 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 821046e041518fb109e7db5f010e9dd6def865de 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 504d2d6acd4472fe43f7976e5df45542a3eff27f 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 2c67268bd8b0ad7b3ddd318aea09354ec4871dc6 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 53f957e3bdbf58b68128eb512b65351c3a9b02dc 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 a3f46f7eaa351d766df7ab7e744356d6549f92c2 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 d634362a23e784e771c7fb6ab54eec96488584a3 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 56ab72263709ca781c96cba8f05d166f55aaed36 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 dae190b49e115633aaa7ca8bbee78c77a18218ac 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 cf25a7e5cbfd8983d38ce0b128e003d13520e2a7 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 043930afaa9b3e73138012c85ba9db37c492972c 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 27a406b8d948a67dfa2f65b669660372376fec01 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 6adbec231d5e617d47ec1d3382375fb449a31a5e 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 e031ce8d5983a81019b5023765cd2f1939c8ee7f 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 9b34bf6c18b0cc11f26646f7fcd2867b1ef898ff 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 cd57d7af064133b141c0e6ebd45656083f804b4f 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 bde844085b2cafe587d3a741701147932bd77cc3 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 98dd19b46c1580bb1761fdcbce0d8a744925ae5d 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 b7f941fb59acb70faef19649ab7aa34e5fc680c3 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 e83b3444de470a3b95ff2250005c8de9a51231d0 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 d798c9a31bdbe7599d1e5f0a16d17018f6016b47 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 ff34a3c2e7d1bf1f4a4e483a42807ca969ebb7bd 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 9f0a146efbe46a8374a98fc33e3d7505c6ebbd47 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 3c310e21ebc8f4a243f56ca3427c314a16eb5cc2 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 57de81e63899430bdda087c51c333ef3d79e7f33 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 dd16828a404c4c754bdd2475fe6cc17ed8d200ec 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 05e91cbbe7f3f8bc207b88b75a8f480b7bef5076 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 4dbce93dbab3d2edcd06f803c82294b92c36af2c 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 a034cd4d75dc78087c0d332ee7976438bf67ed0e 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 b134873c580fafb624b7ea633f3a1991277e9559 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 edb1af32d5676834983a53bcb60a5ffd0633f869 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 448782518cf4098396752230eba0ac3f51259085 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 61d207fea23e961aa55bb704e54eae651dfdda08 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 ebfee4adee7fef3a0f37c5ea29cd9f9de19c2407 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 902e8d73ba0355690df0e9bea4168b81b3ab35a0 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 e39432f9e3d145a5c8ad0a4b449b0cf87dfca771 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 0f53fee9e407227557bcdd570087da25dcf64e70 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 ad8c41417eba44f031ffcc0f993799f04e6ee276 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 5810f7e03bbb6ae77549cd0b16f92209dc7cf65c 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 e74ef2c62a49e5303cfee1ff7a01d81f6fdb3930 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 fc6c507a639a4955a18afb7d6cf33b6d963769bf 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 e7f1d81d16425ee1aa92c3fa9c823c00a820bc1c 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 87f032ab8cd19e90eb8694bbfd3086efbcdaf559 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 2b90dff7f653d15498d63ec7bc42c1082bc10028 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 a001d22a2366cc9da0c1d9ee74b790023d859eaa 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 5da99a633a11d1d6b63c49522e35b9cf44503ab3 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 378b9af8aacd492e76e7fb2e0aef53e5510c0916 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 6e451ecd40e6a49ecb2bfa1fe3c86d67e41e09b5 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 b6e60ce8406ed3f560852336d7c2dfd2b4681cc7 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 33bca1fe812fb46a163e98d88813055dda0115dd 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 65933e59e6615ce5d60ea124819faac458ac3aa9 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 b2ca4ea169df8e0bac6886d415e108eabb54ebe8 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 f0bbfc2cbcfe527291ae2a2874e696b3b498da08 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 e93ccec9bec3dfdcbec7ff24f02d936cf65838d9 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 1d7f0775e49d239956ed163dd0035bc5b1d08b6b 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 a3380ed18e05e25d86d36fa23f236f273bfc0dcc 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 f5d106ff2aa56ef6b722ec2515a5893083220891 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 e8e3800000de5f9053c98abfd4c190ac98e8460f 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 60f3413da68954583726c180adcc02f47035f72a Author: bsittler Date: Mon Nov 3 21:48:16 2008 +0000 use some javascript to show inline previews using