Nicolas Vion
74a6345966
* Improve Dithering and Canvas php classes
16 yıl önce
Ben Wiley Sittler
f4b036ef09
optimization: when the canvas is only a single line, we can always
optimize by merging cells
16 yıl önce
Ben Wiley Sittler
86a512cf34
work around table layout bugs by ensuring that if there are multiple
cells on any row of the table then the very first row does not use the
cell-merging optimization; this appears to fix the last of the table
layout bugs seen in truecolor.php; also fix the foreground and
background color bugs seen in truecolor.php.
16 yıl önce
Ben Wiley Sittler
a9b0e626f9
forgot backslashes
16 yıl önce
Ben Wiley Sittler
2bb297d690
htmlification of truecolor.php; evidently there are some bugs yet in the html3 exporter
16 yıl önce
Ben Wiley Sittler
ada40425ce
copy truecolor.php to www in preparation for htmlizing
16 yıl önce
Ben Wiley Sittler
283ea9423c
convert to PHP and make executable
16 yıl önce
Ben Wiley Sittler
e359fec1ab
copy truecolor.c to truecolor.php in preparation for phpizing
16 yıl önce
Nicolas Vion
2eab7a6106
* Improve class "Dither"
16 yıl önce
Nicolas Vion
879ae0ce03
* Add class "Dither" to php object layer
16 yıl önce
Ben Wiley Sittler
b6db5dc781
add missing whitespace before /> so that the XHTML works in more plain-HTML parsers; quote attributes in double quotes rather than single quotes for the same reason
16 yıl önce
Ben Wiley Sittler
ef3b597946
add a <table summary="..." /> attribute so screenreader software does not
get hopelessly lost.
16 yıl önce
Ben Wiley Sittler
609f1b8f43
echo rendered string in form value
16 yıl önce
Nicolas Vion
28a91b7d51
* Remove white and yellow colors for letters
16 yıl önce
Nicolas Vion
c93f953445
* Add an input box in sample web page figlet.php
16 yıl önce
Ben Wiley Sittler
05d915e155
remove the stylesheet, as it does not seem to help at the moment. also remove the <pre></pre> in figlet.php since it does not seem to make a difference since the table markup includes <tt></tt> inside each cell.
16 yıl önce
Ben Wiley Sittler
cb49816e2e
use a single table cell for adjacent attribute runs provided the background color will be the same; this allows us to avoid special stylesheets for our example programs
16 yıl önce
Ben Wiley Sittler
c8b3044c43
more conforming to 79-character limit and using tabs
16 yıl önce
Ben Wiley Sittler
ec5aa385a4
generate self-referencing script URI correctly, taking into account that the
script might be content-negotiated, renamed, symlinked, or otherwise
alised in URI-space.
16 yıl önce
Ben Wiley Sittler
68386adecd
added a link so you can view the image only (also good for
lynx/elinks) and some alt="..." text so the validator does not complain.
16 yıl önce
Nicolas Vion
74475a3583
* Change structure of sample file render.php
16 yıl önce
Ben Wiley Sittler
419d70e614
send correct content-type; add a missing doctype (although technically the table is not allowed inside pre, but that we will need to find another fix for)
16 yıl önce
Ben Wiley Sittler
34b0a2f3fb
apparently php inw ww dir should not be executable?
16 yıl önce
Ben Wiley Sittler
70beafa3a6
better UI, maybe?
16 yıl önce
Ben Wiley Sittler
260b5acc17
seems to work
16 yıl önce
Ben Wiley Sittler
3fbfa5e3d2
copy render.php to www in preparation for htmlizing
16 yıl önce
Ben Wiley Sittler
f4ff053390
HTML conversion of text.php
16 yıl önce
Ben Wiley Sittler
eae053c927
add missing newline at end of file
16 yıl önce
Ben Wiley Sittler
5eb92c7713
apparently php inw ww dir should not be executable?
16 yıl önce
Ben Wiley Sittler
dd1478f372
copy text.php to www in preparation for htmlizing
16 yıl önce
Nicolas Vion
3b43a64898
* Improve php object layer "caca.php"
16 yıl önce
Nicolas Vion
b834c10f56
* Change permission of web sample files
16 yıl önce
Nicolas Vion
134b256865
* Improve php class layer for caca-php
16 yıl önce
Nicolas Vion
dc3d7c0899
* Add skeleton of php class layer for caca-php
16 yıl önce
Nicolas Vion
bff86e8b8f
* Add web sample program: dithering.php
16 yıl önce
Ben Wiley Sittler
d47306565f
oops! make the .php executable
16 yıl önce
Nicolas Vion
bf31ad01f7
* Add web sample "figlet.php"
16 yıl önce
Nicolas Vion
5d98ca2e08
* Use proper Zend macro RETURN_STRINGL in caca_file_read, caca_files_gets,
caca_export_string
16 yıl önce
Nicolas Vion
4d358a3ee7
* Initializate variable "len" in caca_export_string
16 yıl önce
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 yıl önce
Ben Wiley Sittler
57c2385c93
now HTML markup is generated, rather than a giant PRE block
16 yıl önce
Ben Wiley Sittler
8cc4c277b3
output valid XHTML (it's valid HTML3 too); note that this drops the COLS=... attribute on the table, but that had previously been calculated incorrectly anyhow so i doubt it mattered
16 yıl önce
Ben Wiley Sittler
2a917dc38a
move CSS for www example to a separate file; table is no longer inside <pre>
16 yıl önce
Ben Wiley Sittler
e6e8418523
fix table border, colors, and quoting of <, ", ', and > in html3 output
16 yıl önce
Ben Wiley Sittler
baf8cbd089
font for windows, too
16 yıl önce
Ben Wiley Sittler
93c22f3205
display correctly in firefox and safari
16 yıl önce
Ben Wiley Sittler
7273a9dbf2
correctly account for tabs in html3 export
16 yıl önce
Ben Wiley Sittler
633d554775
a first partially-broken conversion of examples/cacainfo.php
16 yıl önce
Nicolas Vion
cc238fd633
* Change test for php-cli mode in sample programs
16 yıl önce
Ben Wiley Sittler
263b873c01
define variables before use; jsut comment out the "sprites" item since it apparently does not yet work
16 yıl önce