pax_global_header00006660000000000000000000000064133743121630014515gustar00rootroot0000000000000052 comment=ad37d10438beed05f87b2e12fc9c9c07ef9e2fce tyxml-4.3.0/000077500000000000000000000000001337431216300126765ustar00rootroot00000000000000tyxml-4.3.0/.gitignore000066400000000000000000000002521337431216300146650ustar00rootroot00000000000000_build **/*.mlpack **/*.mllib **/*.odocl **/*.docdir lib/META setup.data setup.log **/*~ setup.exe setup-dev.exe *.byte *.native _tests .merlin *.install docs/api/ _opam tyxml-4.3.0/.jenkins.sh000066400000000000000000000006141337431216300147520ustar00rootroot00000000000000export ALCOTEST_SHOW_ERRORS=true opam pin add --no-action tyxml . opam pin add --no-action tyxml-ppx . opam install -t --deps-only tyxml opam install -t --verbose tyxml opam install -t --verbose tyxml-ppx do_build_doc () { make wikidoc cp -Rf doc/manual-wiki/*.wiki ${MANUAL_SRC_DIR} cp -Rf _build/tyxml-api.wikidocdir/*.wiki ${API_DIR} } do_remove () { opam remove --verbose tyxml } tyxml-4.3.0/.ocp-indent000066400000000000000000000000511337431216300147330ustar00rootroot00000000000000normal with=0 syntax=lwt mll max_indent=2tyxml-4.3.0/.travis.yml000066400000000000000000000015441337431216300150130ustar00rootroot00000000000000language: c install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-docker.sh script: bash -ex .travis-docker.sh services: - docker env: global: - PINS="tyxml:. tyxml-ppx:." - DISTRO="debian-stable" matrix: - PACKAGE="tyxml" OCAML_VERSION="4.02.3" - PACKAGE="tyxml" OCAML_VERSION="4.03.0" - PACKAGE="tyxml" OCAML_VERSION="4.04.2" - PACKAGE="tyxml" OCAML_VERSION="4.05.0" - PACKAGE="tyxml" OCAML_VERSION="4.06.0" - PACKAGE="tyxml" OCAML_VERSION="4.07.0" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.02.3" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.03.0" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.04.2" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.05.0" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.06.0" - PACKAGE="tyxml-ppx" OCAML_VERSION="4.07.0" allow_failures: - PACKAGE="tyxml tyxml-ppx" OCAML_VERSION="4.07.0" REVDEPS="*" tyxml-4.3.0/CHANGES.md000066400000000000000000000204531337431216300142740ustar00rootroot00000000000000# 4.3.0 * Dunify This also removes all the deprecated libraries (`tyxml.syntax`, `tyxml.parser`) and removes the ocamlfind library `tyxml.ppx` in favor of `tyxml-ppx`. (#197 by Drup, Rudi Grinberg and Anton Bachin) * Add simplistic indentation for the Format-based printer (#187 by Drup) * Allow the ppx to be used for more exotic tyxml instances, such as reactive elements (#200 by Drup) * Add `Html.of_seq` and `Svg.of_seq`, which allow to easily import HTML parsed with markup in TyXML (#221 by Drup) ## Elements and attributes * Add Html.txt and Svg.txt as an alias for `pcdata` (#222 by Drup) * Add noopener link types (#198 by Jérôme Vouillon) * Slightly relax dt content type (#193 by Anton Bachin) * Add touch events (#211 by Malthe Borch) * Fix handling of figcaption in the PPX (#219 by Drup) # 4.2.0 * Compatibility with OCaml 4.6.0. * The ppx should now be compatible with driver-based workflows. In particular, jbuilder. * Future breakage: * The two camlp4-based packages (tyxml.syntax and tyxml.parser) are now deprecated and will be removed in the next major version. * Introduction of the tyxml-ppx ocamlfind package. Usage of the tyxml.ppx package is discouraged, and it will be removed in the next major version. * Various fixes in the Html_sigs.T module (contribution by Fabian Pijcke): * Fixed the map element function signature. * The elements functions now (almost) all make use of the types defined in Html_types, rather than redefining them. * Html_sigs.T.fieldset now takes [< legend] elt wrap as optional argument rather than legend elt wrap. * Add basic support for `aria-*` attributes (contribution by Armaël Guéneau) (see https://www.w3.org/TR/wai-aria-1.1/#states_and_properties) * Add support for the `role` attribute (contribution by Armaël Guéneau) (see https://www.w3.org/TR/role-attribute/) * Add support for the `minlength` form attribute (contribution by Armaël Guéneau) (See https://www.w3.org/TR/html5/forms.html#attr-input-minlength) # 4.1.0 * Uses uutf 1.0 (contribution by Daniel Bunzli) # 4.0.1 * Fix handling of comments in the ppx. * Fix printing of utf8 in attributes. * Properly flush ppx errors. This bug was causing some blank error messages. * Fix handling of whitespaces in