Skip to content

Commit

Permalink
Version 4.2.0
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
Drup committed Jan 30, 2018
1 parent 820d3c6 commit 67614a1
Show file tree
Hide file tree
Showing 30 changed files with 11,124 additions and 95 deletions.
21 changes: 0 additions & 21 deletions .jenkins.sh

This file was deleted.

134 changes: 134 additions & 0 deletions _tags
@@ -1,4 +1,138 @@
# OASIS_START
# DO NOT EDIT (digest: 1096a3919d1f35b15fe5cc38599a5c43)
# Ignore VCS directories, you can use the same kind of rule outside
# OASIS_START/STOP if you want to exclude directories that contains
# useless stuff for the build process
true: annot, bin_annot
<**/.svn>: -traverse
<**/.svn>: not_hygienic
".bzr": -traverse
".bzr": not_hygienic
".hg": -traverse
".hg": not_hygienic
".git": -traverse
".git": not_hygienic
"_darcs": -traverse
"_darcs": not_hygienic
# Library tyxml_f
"lib/tyxml_f.cmxs": use_tyxml_f
<lib/*.ml{,i,y}>: package(re)
<lib/*.ml{,i,y}>: package(uchar)
<lib/*.ml{,i,y}>: package(uutf)
# Library tyxml
"implem/tyxml.cmxs": use_tyxml
<implem/*.ml{,i,y}>: package(re)
<implem/*.ml{,i,y}>: package(uchar)
<implem/*.ml{,i,y}>: package(uutf)
<implem/*.ml{,i,y}>: use_tyxml_f
# Library tyxml_top
"implem/top/tyxml_top.cmxs": use_tyxml_top
<implem/top/*.ml{,i,y}>: package(compiler-libs.toplevel)
# Library tyxml_tools
"tools/tyxml_tools.cmxs": use_tyxml_tools
# Executable autoname
"tools/autoname.byte": package(bytes)
"tools/autoname.byte": use_tyxml_tools
<tools/*.ml{,i,y}>: package(bytes)
<tools/*.ml{,i,y}>: use_tyxml_tools
# Library pa_tyxml
"syntax/pa_tyxml.cmxs": use_pa_tyxml
<syntax/*.ml{,i,y}>: package(camlp4)
# Library tymlx_p
"syntax/tymlx_p.cmxs": use_tymlx_p
<syntax/*.ml{,i,y}>: package(bytes)
<syntax/*.ml{,i,y}>: package(camlp4.lib)
# Library ppx_tyxml_internal
"ppx/ppx_tyxml_internal.cmxs": use_ppx_tyxml_internal
# Library ppx_tyxml
"ppx/ppx_tyxml.cmxs": use_ppx_tyxml
# Executable ppx_tyxml_standalone
<ppx/ppx_tyxml_standalone.{native,byte}>: package(bytes)
<ppx/ppx_tyxml_standalone.{native,byte}>: package(markup)
<ppx/ppx_tyxml_standalone.{native,byte}>: package(ppx_tools_versioned)
<ppx/ppx_tyxml_standalone.{native,byte}>: package(ppx_tools_versioned.metaquot_405)
<ppx/ppx_tyxml_standalone.{native,byte}>: package(re.str)
<ppx/ppx_tyxml_standalone.{native,byte}>: use_ppx_tyxml
<ppx/ppx_tyxml_standalone.{native,byte}>: use_ppx_tyxml_internal
<ppx/ppx_tyxml_standalone.{native,byte}>: use_tyxml_tools
<ppx/*.ml{,i,y}>: package(markup)
<ppx/*.ml{,i,y}>: package(re.str)
<ppx/*.ml{,i,y}>: use_ppx_tyxml
<ppx/*.ml{,i,y}>: use_ppx_tyxml_internal
# Executable ppx_reflect
<ppx/ppx_reflect.{native,byte}>: package(bytes)
<ppx/ppx_reflect.{native,byte}>: package(ppx_tools_versioned)
<ppx/ppx_reflect.{native,byte}>: package(ppx_tools_versioned.metaquot_405)
<ppx/ppx_reflect.{native,byte}>: use_tyxml_tools
<ppx/*.ml{,i,y}>: package(bytes)
<ppx/*.ml{,i,y}>: package(ppx_tools_versioned)
<ppx/*.ml{,i,y}>: package(ppx_tools_versioned.metaquot_405)
<ppx/*.ml{,i,y}>: use_tyxml_tools
# Executable emit_big
<test/emitbig.{native,byte}>: package(re)
<test/emitbig.{native,byte}>: package(uchar)
<test/emitbig.{native,byte}>: package(unix)
<test/emitbig.{native,byte}>: package(uutf)
<test/emitbig.{native,byte}>: use_tyxml
<test/emitbig.{native,byte}>: use_tyxml_f
<test/*.ml{,i,y}>: package(unix)
# Executable main_test
"test/main_test.byte": package(alcotest)
"test/main_test.byte": package(re)
"test/main_test.byte": package(uchar)
"test/main_test.byte": package(uutf)
"test/main_test.byte": use_tyxml
"test/main_test.byte": use_tyxml_f
<test/*.ml{,i,y}>: package(alcotest)
<test/*.ml{,i,y}>: package(re)
<test/*.ml{,i,y}>: package(uchar)
<test/*.ml{,i,y}>: package(uutf)
<test/*.ml{,i,y}>: use_tyxml
<test/*.ml{,i,y}>: use_tyxml_f
# Executable basic_website
<examples/basic_website/site_html.{native,byte}>: package(re)
<examples/basic_website/site_html.{native,byte}>: package(uchar)
<examples/basic_website/site_html.{native,byte}>: package(uutf)
<examples/basic_website/site_html.{native,byte}>: use_tyxml
<examples/basic_website/site_html.{native,byte}>: use_tyxml_f
<examples/basic_website/*.ml{,i,y}>: package(re)
<examples/basic_website/*.ml{,i,y}>: package(uchar)
<examples/basic_website/*.ml{,i,y}>: package(uutf)
<examples/basic_website/*.ml{,i,y}>: use_tyxml
<examples/basic_website/*.ml{,i,y}>: use_tyxml_f
# Executable basic_website_ppx
<examples/basic_website_ppx/site_html.{native,byte}>: package(re)
<examples/basic_website_ppx/site_html.{native,byte}>: package(uchar)
<examples/basic_website_ppx/site_html.{native,byte}>: package(uutf)
<examples/basic_website_ppx/site_html.{native,byte}>: use_tyxml
<examples/basic_website_ppx/site_html.{native,byte}>: use_tyxml_f
<examples/basic_website_ppx/*.ml{,i,y}>: package(re)
<examples/basic_website_ppx/*.ml{,i,y}>: package(uchar)
<examples/basic_website_ppx/*.ml{,i,y}>: package(uutf)
<examples/basic_website_ppx/*.ml{,i,y}>: use_tyxml
<examples/basic_website_ppx/*.ml{,i,y}>: use_tyxml_f
# Executable mini_website
<examples/mini_website/minihtml.{native,byte}>: package(re)
<examples/mini_website/minihtml.{native,byte}>: package(uchar)
<examples/mini_website/minihtml.{native,byte}>: package(uutf)
<examples/mini_website/minihtml.{native,byte}>: use_tyxml
<examples/mini_website/minihtml.{native,byte}>: use_tyxml_f
<examples/mini_website/*.ml{,i,y}>: package(re)
<examples/mini_website/*.ml{,i,y}>: package(uchar)
<examples/mini_website/*.ml{,i,y}>: package(uutf)
<examples/mini_website/*.ml{,i,y}>: use_tyxml
<examples/mini_website/*.ml{,i,y}>: use_tyxml_f
# Executable mini_website_ppx
<examples/mini_website_ppx/minihtml.{native,byte}>: package(re)
<examples/mini_website_ppx/minihtml.{native,byte}>: package(uchar)
<examples/mini_website_ppx/minihtml.{native,byte}>: package(uutf)
<examples/mini_website_ppx/minihtml.{native,byte}>: use_tyxml
<examples/mini_website_ppx/minihtml.{native,byte}>: use_tyxml_f
<examples/mini_website_ppx/*.ml{,i,y}>: package(re)
<examples/mini_website_ppx/*.ml{,i,y}>: package(uchar)
<examples/mini_website_ppx/*.ml{,i,y}>: package(uutf)
<examples/mini_website_ppx/*.ml{,i,y}>: use_tyxml
<examples/mini_website_ppx/*.ml{,i,y}>: use_tyxml_f
# OASIS_STOP
"syntax/basic_types.ml": camlp4rf
"syntax/xhtmlparser.ml": camlp4rf
Expand Down
41 changes: 0 additions & 41 deletions dist.sh

This file was deleted.

2 changes: 2 additions & 0 deletions examples/basic_website/index.html
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Your Cool Web Page</title><link rel="stylesheet" href="home.css"/></head><body><div id="image_box"></div><div id="content_box"><nav><ul class="links_bar" id="links_bar"><li id="home_click">My Musings</li><li id="about_click">About Me</li><li id="blog_posts_click">Blog</li><li id="hackathons_click">Hackathons</li></ul></nav><div id="payload"><div><h2>Hello Coder</h2></div></div><footer id="footer_box"><p>This site was made with <a href="http://ocaml.org">OCaml</a> and <a href="https://www.gnu.org/software/emacs/">emacs</a></p></footer></div><script src="main.js"></script></body></html>
6 changes: 6 additions & 0 deletions examples/basic_website_ppx/index.html
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Your Cool Web Page</title><link rel="stylesheet" href="home.css"/></head><body><div id="image_box"></div><div id="content_box"><nav><ul class="links_bar" id="links_bar"><li id="home_click">My Musings</li><li id="about_click">About Me</li><li id="blog_posts_click">Blog</li><li id="hackathons_click">Hackathons</li></ul></nav><div id="payload"><div><h2>Hello Coder</h2></div></div><footer id="footer_box">
<p>
This site was made with <a href="http://ocaml.org">OCaml</a> and <a href="https://www.gnu.org/software/emacs/">emacs</a>
</p>
</footer></div><script src="main.js"> </script></body></html>
2 changes: 2 additions & 0 deletions examples/mini_website/index.html
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>A Fabulous Web Page</title></head><body><div class="content"><h1>A fabulous title</h1>This is a fabulous content.</div></body></html>
2 changes: 2 additions & 0 deletions examples/mini_website_ppx/index.html
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>A Fabulous Web Page</title></head><body><div class="content"><h1>A fabulous title</h1>This is a fabulous content.</div></body></html>
4 changes: 4 additions & 0 deletions implem/top/tyxml_top.mldylib
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 9985bb6292efdb2ccd3212f66f8621c5)
Tyxml_top
# OASIS_STOP
4 changes: 4 additions & 0 deletions implem/top/tyxml_top.mllib
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 9985bb6292efdb2ccd3212f66f8621c5)
Tyxml_top
# OASIS_STOP
7 changes: 7 additions & 0 deletions implem/tyxml.mldylib
@@ -0,0 +1,7 @@
# OASIS_START
# DO NOT EDIT (digest: 0ad0ea7a03e5bb86e515b481bcbc79ed)
Tyxml_xml
Tyxml_svg
Tyxml_html
Tyxml
# OASIS_STOP
7 changes: 7 additions & 0 deletions implem/tyxml.mllib
@@ -0,0 +1,7 @@
# OASIS_START
# DO NOT EDIT (digest: 0ad0ea7a03e5bb86e515b481bcbc79ed)
Tyxml_xml
Tyxml_svg
Tyxml_html
Tyxml
# OASIS_STOP
8 changes: 8 additions & 0 deletions lib/tyxml_f.mldylib
@@ -0,0 +1,8 @@
# OASIS_START
# DO NOT EDIT (digest: c50b31e7fcf48d4e470776748ce82005)
Xml_iter
Xml_wrap
Xml_print
Svg_f
Html_f
# OASIS_STOP
8 changes: 8 additions & 0 deletions lib/tyxml_f.mllib
@@ -0,0 +1,8 @@
# OASIS_START
# DO NOT EDIT (digest: c50b31e7fcf48d4e470776748ce82005)
Xml_iter
Xml_wrap
Xml_print
Svg_f
Html_f
# OASIS_STOP

0 comments on commit 67614a1

Please sign in to comment.