Commit graph

30 commits

Author SHA1 Message Date
jaapb
13031d3e32 Updated textproc/ocaml-tyxml to version 4.4.0.
This incorporates some minor changes.
2020-04-21 11:39:20 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
rillig
768cd99f7f textproc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:43:32 +00:00
jaapb
33bd8fba3a Updated textproc/ocaml-tyxml for dune compatibility.
Package is now compatible with dune 1.7; revbump.
2019-03-05 17:10:04 +00:00
jaapb
0e9f6ddfb3 Updated package textproc/ocaml-tyxml to version 4.3.0.
This mostly changes the build system to dune and removes deprecated
libraries. Some minor changes as well.
2018-11-29 12:00:45 +00:00
jaapb
fd6ceb8a4c Revbumps associated with update of lang/ocaml. 2018-11-12 16:10:16 +00:00
jaapb
05083dc708 Recursive revbump associated with the update of lang/ocaml to 4.07. 2018-07-19 15:15:20 +00:00
jaapb
5725d26376 Updated package textproc/ocaml-tyxml to version 4.2.0.
This introduces compatibility with ocaml 4.06, and some other minor
improvements and bugfixes.
2018-04-05 12:00:34 +00:00
jaapb
6e3a6de22f Revbump for textproc/ocaml-tyxml.
This revision also adds a patch to make the program compile with
safe-string and therefore with OCaml 4.06.
2018-01-10 16:48:21 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
jaapb
410a1001fa Recursive revbump associated with update of ocaml to 4.05 2017-09-08 09:51:18 +00:00
jaapb
9bc4b5635e Updated package to the latest version, 4.1.0. Changes include:
===== 4.1.0 ====

* Uses uutf 1.0 (contribution by Daniel Bunzli)
2017-07-11 11:12:22 +00:00
joerg
234cacce31 Drop check for non-destdir directories that may not exist at this point
of installation.
2017-02-15 23:19:30 +00:00
jaapb
4cdd6d01b7 Updated package to latest version, 4.0.1. Changes include:
* 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 <select> in the ppx.
2016-12-30 11:52:28 +00:00
jaapb
2b2352d560 Syntax extension needs to be installed for dependencies. Revbump. 2016-06-20 15:20:03 +00:00
jaapb
467958f60c Updated package to latest version, 4.0.0. Changes include:
====== Features ======
* A new PPX has been added that allows to use tyxml with the HTML/SVG syntax, using the markup library (contribution by Anton 'aantron' Bachin).
* New Format-based printers are available, both as functors and has `pp` functions in the various implementations. Old printers are deprecated.
* Toplevel printers are now available for the `tyxml` library.
* The `str` library has been replaced by `re`.
* Various attributes arguments have been simplified. In particular:
  * Constants arguments have been removed
  * `` `On|`Off `` arguments are now replaced by booleans.
  * Some arguments now use an option type.

* XML comments are now properly serialized (without escaping but with sanitization).

====== Elements and attributes ======
* Add srcset and sizes attributes (contribution by Stéphane 'slegrand45' Legrand).
* The arguments of the `sandbox` attributes are now more consistent (contributino by Anton 'aantron' Bachin).
* Various SVG attributes and elements are now properly named (contributino by Anton 'aantron' Bachin).
* Add inputmode attribute.

====== Documentation ======
* Both the API documentation and the manual have been completely rewritten! Do not hesitate to read them and provide feedback.
* Various examples have been added in the `example/` directory. (basic_website contributed by Edgar 'fxfactorial' Aroutiounian).

====== Renaming and deprecations ======
* Files in the `tyxml` library are now packed in a `Tyxml` module.
  If you were using one of `Html5`, `Svg` and `Xml` module, simply open `Tyxml`.
* All Html5 modules are now named Html
* Various attributes and elements have been renamed. The original versions have been kept and marked deprecated.
* Various elements that were both deprecated in the HTML specification and not usable due to typing constraints have been removed.
2016-06-20 11:10:40 +00:00
jaapb
9718550454 Recursive revbump associated with ocaml update. 2016-05-05 11:45:36 +00:00
jaapb
b60555e301 Updated package to work with new ocaml.mk. 2016-02-06 13:13:25 +00:00
jaapb
3624eb4056 Updated package to latest version, 3.6.0. Changes include:
* Improves and simplify the wrapping interface. Breaking change.
  * Add the possibility to specify converters, for constants functions.
    See also eliom's shared react.
  * Fix printing of floating numbers.
  * Add the main element.
  * Fix the accept attribute.
  * Add Tyxml_name, which allows to derive tyxml identifiers from HTML
    elements and attributes.
  * Internally build the tool `autoname`, which applies the aftermentionned
    transformation for the given elements/attributes.
  * Fix typo in `datetime-local`.
  * Add download attributes for area and tags.
  * Add various svg `text` attributes.
  * Fix namespaces issues related to svg elements inside html.
  * Add `a_lang` for HTML. Deprecate `a_srclang` in favor of `a_xml_lang`.
  * Fix a performance issue with `Xml_print.Utf8.{normalize, normalize_html}.
  * Remove `Xml_print.Utf8.normalize_from`.
    The function was not useful and not optimizable easily.
  * Add missing parameters for the attributes xlink:actuate and xml:space.
  * Svg elements use the xlink namespace (contribution by Florent Becker).
  * Do not use the `url(...)` form when inappropriate (contribution by Florent Becker).
  * Fix a typo in the `spellcheck` attribute (contribution by Kevin Brubeck Unhammer).
  * Fix the `sizes` attributes and add missing attributes for the `sandbox` tag (contributions by Eyyüb Sari).
  * Fix the `img` tag in the syntax extension.
  * Fix compilation of the opam package under freeBSD.
  * Fix typing for the various `font_` svg attributes.
2016-02-06 12:51:34 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
jaapb
487d6ab2d3 Recursive revbump associated with update of lang/ocaml to 4.02.2. 2015-06-30 11:52:55 +00:00
jaapb
672b4044a2 Revbump associated with ocaml 4.02.1. Added buildlink3.mk file. 2015-01-20 16:03:24 +00:00
jaapb
aff5a5560a Updated package to newest version, 3.3.0, and added ocaml.mk framework.
Changes, apart from bugfixes,
include:
  * Add `Xml_print.Utf8` to encode html elements to utf8 properly.
  * Add signature functors to ease export of module created with the functorial interface.
    See the manual for more details.
  * Fix variance for Svg.attrib.
  * Fix export of Xml.list_wrap for Html5.M and Svg.M. Should fix syntax extension with those.
  * Remove Xhtml.
  * Remove plus elements.
    For example, table doesn't enforce non-emptyness anymore.
  * Add various types that were not exported (img, dl, figure, rp, rt and ruby types).
  * Expose `string_of_number`, the better stringifier introduced in 3.1.0.
  * Functorial interface breaking changes:
    * Modify the functorized interface to export typed events.
      You can now specify different handlers for keyboard and mouse events.
      There are two new types and functions (keyboard and mous events) in the Xml signature.
    * Add a wrapping type for lists of nodes. See reactiveData and new eliom wrapping.
  * Replace fake booleans (`\`True | \`False`) by actual booleans. Breaking change.
  * Camlp4 is now an optional dependency. The syntax extension is build only when the syntax flag is enabled (true by default).
  * Use a better stringifier for float values (copied from js_of_ocaml).
  * Add attributes `muted`, `crossorigin` and `mediagroup` for `<audio>` and `<video>`.
  * In the functorial interface, allow to wrap xml nodes inside a monad by provi
ding an additionnal wrapping module. Used by reactive nodes in eliom.
  * Use oasis as build systems
  * Adding module Unsafe for inserting missing nodes or attributes
  * In the functorial interface, allow to wrap xml nodes inside a monad by provi
ding an additionnal wrapping module. Used by reactive nodes in eliom.
  * Use oasis as build systems
  * Adding module Unsafe for inserting missing nodes or attributes
2014-11-15 14:53:03 +00:00
hiramatsu
f6f18ffb88 Add .include "../../lang/camlp4/buildlink3.mk". 2014-11-01 04:36:17 +00:00
jaapb
15a89b35db Revision bump associated with the update of lang/ocaml to version 4.01. 2013-11-01 11:30:21 +00:00
jaapb
63faf8b5d2 - Patched package to compile with new version of net/ocamlnet 2013-06-11 14:52:39 +00:00
jaapb
ac3b38cf7f Updated textproc/ocaml-tyxml to its latest version, 2.2.0. Changes include:
2.2.0
* Adding tag <u>
2012-12-14 14:44:53 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
jaapb
ff1184e506 Revision bump associated with the update of lang/ocaml to version 4. 2012-10-08 15:18:20 +00:00
wiz
c136ee7a88 Initial import of ocaml-tyxml, packaged by Jaap Boender in PR 45546:
TyXML is an OCaml library that allows you to build XML trees whose validity is
insured by the typechecker. It supports XHTML 1.0 and 1.1, HTML5 and SVG
(partial).
2012-06-04 13:13:14 +00:00