Ben Wiley Sittler
5eb92c7713
apparently php inw ww dir should not be executable?
16 years ago
Ben Wiley Sittler
dd1478f372
copy text.php to www in preparation for htmlizing
16 years ago
Nicolas Vion
b834c10f56
* Change permission of web sample files
16 years ago
Nicolas Vion
bff86e8b8f
* Add web sample program: dithering.php
16 years ago
Ben Wiley Sittler
d47306565f
oops! make the .php executable
16 years ago
Nicolas Vion
bf31ad01f7
* Add web sample "figlet.php"
16 years ago
Ben Wiley Sittler
9feb5f1d48
switch to XHTML 1.0 Transitional markup (it validates perfectly, and still works in very ancient browsers too); change one <p> to </p> too
16 years ago
Ben Wiley Sittler
57c2385c93
now HTML markup is generated, rather than a giant PRE block
16 years ago
Ben Wiley Sittler
2a917dc38a
move CSS for www example to a separate file; table is no longer inside <pre>
16 years ago
Ben Wiley Sittler
baf8cbd089
font for windows, too
16 years ago
Ben Wiley Sittler
93c22f3205
display correctly in firefox and safari
16 years ago
Ben Wiley Sittler
633d554775
a first partially-broken conversion of examples/cacainfo.php
16 years ago
Nicolas Vion
cc238fd633
* Change test for php-cli mode in sample programs
16 years ago
Ben Wiley Sittler
263b873c01
define variables before use; jsut comment out the "sprites" item since it apparently does not yet work
16 years ago
Nicolas Vion
77d1ef7e7d
* Check that samples programs are executed with php-cli
16 years ago
Ben Wiley Sittler
c3a51a49bf
change to allow use with cocoa driver; also, a keypress now stops these demos early
16 years ago
Nicolas Vion
a6666c9d2e
* Remove 'c' (color) and 'r' (render) options of the main menu in demo.php
16 years ago
Nicolas Vion
a3aef93b3c
* Add license headers in sample programs
16 years ago
Nicolas Vion
19cb89ebb9
* Modify error message in sample program dithering.php
16 years ago
Nicolas Vion
abbf2dd05b
* Improve php binding of caca_render_canvas
* Destroy php resource in caca_file_close
* Improve sample program render.php
16 years ago
Nicolas Vion
ca53d8f03c
* Add new php specific function caca_load_builtin_font(string name)
* Add php bindings for caca_get_dither_antialias_list, caca_render_canvas
* Add a new sample program examples/render.php
16 years ago
Nicolas Vion
0d8c061895
* Remove "_gd" suffix from dithering functions
* caca_dithering_bitmap can load palette from gd resource
* Remove caca_set_dither_palette_gd function
* Adapt sample program "dithering.php"
16 years ago
Nicolas Vion
a234a5971e
* Remove php function caca_create_event
* caca_get_event return false if type == CACA_EVENT_NONE otherwise return a new
php resource
* Adapt sample program demo.php
16 years ago
Nicolas Vion
65db728341
* Close php block in sample program "demo.php"
16 years ago
Nicolas Vion
c1efe83e08
* Rewrite main loop of sample program demo.php
16 years ago
Nicolas Vion
d80c5b66b3
* Add indexed colors image support for dither with gd resources
16 years ago
Nicolas Vion
6462d00d2f
* Add php binding for 3 caca charset conversion functions
* Change php header for sample program "text.php"
16 years ago
Nicolas Vion
b4830cb8e7
* Close php blocks in samples programs (add "?>")
16 years ago
Nicolas Vion
2f9ec84434
* Add unicode support in sample program figfont.php
16 years ago
Nicolas Vion
cb9f4d661c
* Change type of the last argument of drawing function (from string to long)
* Adapt sample programs
16 years ago
Nicolas Vion
988c4912aa
* Add php binding for caca_draw_polyline and caca_draw_thin_polyline
* Add a sample program examples/polyline.php
16 years ago
Nicolas Vion
7f6e6d3fd8
* Add php binding for caca_load_font, caca_get_font_blocks, caca_put_figchar
* Add a working sample file examples/figfont.php
* Rename sample programs:
examples1.php > cacapig.php
drivers.php > cacainfo.php
16 years ago
Nicolas Vion
77ff19864f
* Add php binding for functions: caca_file_write, caca_file_read
16 years ago
Nicolas Vion
f3cf74d37f
* Add php bindings for 9 functions
* Modify php bloc headers in samples programs
* Add list of import/export formats in examples/drivers.php
16 years ago
Nicolas Vion
c5c1216305
* Fix a bug in sample program "dithering.php"
16 years ago
Nicolas Vion
e2fc23d7da
* Add a "caca_create_dither_gd" function that create the proper dither for a
given gd resource.
16 years ago
Nicolas Vion
468304b265
* Add working sample program dithering.php (open logo-caca.png with Gd and
render it with caca caca_dither_bitmap_gd)
* Add a function to fetch a buffer of gd pixels in php_caca.c
16 years ago
Nicolas Vion
ff2c8fddc9
* Improve function "caca_dither_bitmap_gd"
* Add php binding for "caca_create_dither"
* Add new sample program "dithering.php"
16 years ago
Nicolas Vion
e52449b14f
* Add binding for 7 new functions
* Add just_for_fun() function in sample program drivers.php
16 years ago
Nicolas Vion
400175be4f
* Add php binding for 15 new functions
* Add new sample program "examples/drivers.php"
16 years ago
Nicolas Vion
aa92ad5d03
* Add php binding for caca_export_memory (called caca_export_string)
* Rename php function caca_import_memory to caca_import_string
* Add sample program "text.php" (php port of examples/text.c)
* Add php binding for "caca_set_attr"
16 years ago
Nicolas Vion
54e1e8b262
* Centralize caca's error managment (in macro RETURN_SUCCESS)
* Add binding for 2 new functions
* Fix a bug in examples/example1.php
16 years ago
Nicolas Vion
2bba9c4267
* Add php binding for 4 new functions
* Add "full" demo to "examples/demo.php"
16 years ago
Nicolas Vion
0a20917152
* Add php binding for 9 new functions
* Improve examples/demo.php
16 years ago
Nicolas Vion
24df44d186
* Add php bindings for functions: caca_draw_line & caca_draw_thin_line
* Create a new sample file demo.php (php port of demo.c)
16 years ago
Nicolas Vion
169bf64f4a
* Add a nice label with libcaca's version in the center of the screen in
sample program examples/example1.php
16 years ago
Nicolas Vion
728d89c673
* Add Php binding for caca's functions: caca_get_event, caca_set_display_time
* Animate pink pig & add event managment in sample program "example1.php"
16 years ago
Nicolas Vion
f86a3d0c9b
* Add binding for 6 new caca's functions
* Add a nice php sample file examples/example1.php that shows a smart pink ping
16 years ago
Nicolas Vion
4172dc244f
* Add php binding for 8 new caca's functions
16 years ago
Nicolas Vion
18217dc9d8
* Initial release of caca-php
16 years ago