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
050853ab14
* Clean template for phpize "config.m4"
16 years ago
Nicolas Vion
c405f3505d
* Change message for phpinfo()
16 years ago
Nicolas Vion
a048effc03
* Add information about gd resources support in caca-php for phpinfo()
16 years ago
Nicolas Vion
bf40754bdd
* Check parameters number for functions that doesn't expect any parameter
16 years ago
Nicolas Vion
19cb89ebb9
* Modify error message in sample program dithering.php
16 years ago
Nicolas Vion
b166507cd7
* Available the compilation of caca-php without gd development files
16 years ago
Nicolas Vion
63a44b0b7a
* Add destructor for "caca_file" resources
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
6e13303e4d
* Add check after emalloc in caca_draw_thin_polyline
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
e08de251f8
* Add php binding for function "caca_set_dither_palette"
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
9a0b684557
* Add checks after emalloc()
* Add php binding for caca_file_gets
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
905959d37e
* Fix a bug in caca_export_string
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
a8e0322720
* Add a function "fetch_external_resource" that allows to fetch external php
resources such as gd resouces
* Add test for presence of gd development files in config.m4
* Rename php function caca_dither_bitmap in caca_dither_bitmap_gd
16 years ago
Nicolas Vion
b4337a6765
* Add php binding for 12 new fonctions
16 years ago
Nicolas Vion
2438781ee6
* Add php binding for functions: caca_get_dither_color, caca_set_dither_charset
caca_get_dither_algorithm
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
498970de64
* Improve function caca_export_string
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