Ben Wiley Sittler
531c76030c
copy transform.c to transform.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
7f251a3e93
show client-side filename
16 years ago
Ben Wiley Sittler
c662584362
clearer wording.
16 years ago
Ben Wiley Sittler
735997d551
link to an example file to download and then import (generated by export.php)
16 years ago
Ben Wiley Sittler
9e13b58fe7
works well enough to import the files exported by export.php
16 years ago
Ben Wiley Sittler
fee77cac00
force cli on remaining examples so that apache doesn't pop up a window
(this actually happens with the cocoa driver!)
16 years ago
Ben Wiley Sittler
415b54902d
CLI-only
16 years ago
Ben Wiley Sittler
665f0c98bf
copy import.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
13dcd97685
list available import formats in usage message
16 years ago
Ben Wiley Sittler
aae1d4c531
PHPification of import.c
16 years ago
Ben Wiley Sittler
62b20bc8d1
copy import.c to import.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
4b01269d8a
only fill the preview iframe when javascript is enabled
16 years ago
Ben Wiley Sittler
995edf8021
merge latest CLI example bugfixes into the HTML versions
16 years ago
Ben Wiley Sittler
e7305d8b68
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
16 years ago
Ben Wiley Sittler
b76e1ed2b2
now generates HTML
16 years ago
Ben Wiley Sittler
b4375871d7
copy fullwidth.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
5558dbadc7
added copyright info for PHP conversion (blah blah blah...)
16 years ago
Ben Wiley Sittler
3ac8510e4c
now works as PHP
16 years ago
Ben Wiley Sittler
1e7ae2c712
copy fullwidth.c to fullwidth.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
1e933f8d50
only assume svg preview ability in opera, WebKit and Gecko
16 years ago
Nicolas Vion
ab44c8daa7
* Improve object layer for caca-php
16 years ago
Ben Wiley Sittler
28121eec77
do not add history entries for iframe transitions
16 years ago
Ben Wiley Sittler
3336b41178
add missing id
16 years ago
Ben Wiley Sittler
dc32a8ac41
use some javascript to show inline previews using <iframe/> for some
of the formats (so far, html, html3, bbfr, and svg)
16 years ago
Ben Wiley Sittler
7b47610259
.caca files get an extension, too
16 years ago
Ben Wiley Sittler
a684af9ed6
suggest extensions for some of the inline formats too, since browsers
sometimes send them to external viewers and become confused if the
filename ends in '.php' (despite our correct content-type!)
16 years ago
Ben Wiley Sittler
9c556c4071
text formats embedding escape sequences get sent as attachments too
16 years ago
Ben Wiley Sittler
f1eedaf0b1
working HTML version of export.php accepting an optional file upload and exporting it using the selected format
16 years ago
Ben Wiley Sittler
242103d6d5
another typo
16 years ago
Ben Wiley Sittler
e8cd1896b7
spaces -> tabs
16 years ago
Ben Wiley Sittler
9712d7a48e
add missing content-type in the HTML case
16 years ago
Ben Wiley Sittler
6a373704cc
typo
16 years ago
Ben Wiley Sittler
36ccbf8220
make examples/demo.php executable
16 years ago
Ben Wiley Sittler
28300073de
copy export.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
ea2f4ff159
export.php is now actually php, and appears to work identically to its
C predecessor.
16 years ago
Ben Wiley Sittler
8d104f9b86
copy export.c to export.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
d32f8eb7f8
fix foreground-color and quoting bugs in the "html" exporter; also,
the output is now labelled as XHTML 1.0 Strict, since it does conform
to that DTD. also removed spurious cellpadding and cellspacing from
<div /> markup. also handle non-characters by conversion to
replacement character, and handle more control characters by
conversion to no-break space. finally, switch from to the
equivalent   so that a non-validating XML parser (which is most
of them) can correctly parse this document.
16 years ago
Ben Wiley Sittler
e8756c7c46
do not split a fullwidth character in the middle. yes, in some
degenerate cases this will lead to incorrectly-displayed tables. i
don't yet have a solution.
16 years ago
Ben Wiley Sittler
567ae29030
do not expand tabs here. instead, importers need to understand '\t'
and fill the canvas up to the tab stop with it. once that works,
support will be added here (treating it as space.) also, fewer columns
are now generated. apparently generating a minimal number of them
fixes a bunch of the table-layout bugs.
16 years ago
Nicolas Vion
6dafdbfc5a
* Remove \t from content of $moo
* Change canvas size
* Fix coordinate of label "Moo!"
16 years ago
Nicolas Vion
be5de36e0f
* Change canvas size
16 years ago
Ben Wiley Sittler
ee088b89c1
htmlification of colors.php
16 years ago
Nicolas Vion
7910300a6e
* Fix coordinate of label "Moo!"
16 years ago
Ben Wiley Sittler
d32095400b
copy colors.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
ca055aa258
PHP conversion of colors.c
16 years ago
Ben Wiley Sittler
872ae6565a
copy colors.c to colors.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
afcad730a8
some unicode characters could overflow the buffer; handle more control
characters and non-unicode codepoints when generating HTML.
16 years ago
Nicolas Vion
ccb9757dcd
* Remove tabs from content of $moo
16 years ago
Nicolas Vion
74a6345966
* Improve Dithering and Canvas php classes
16 years ago
Ben Wiley Sittler
f4b036ef09
optimization: when the canvas is only a single line, we can always
optimize by merging cells
16 years ago