Commit graph

23 commits

Author SHA1 Message Date
jaapb
9f65394c06 Stub library installed in proper place, ppx_deriving added as
dependency
2017-09-08 17:04:57 +00:00
jaapb
fafa1a2cbd Stubs library installed in right location 2017-09-08 16:55:19 +00:00
jaapb
58d9dba0e3 Updated package to latest version, 3.0.0. Changes include:
Features/Changes

    Misc: switch to ppx instead of camlp4
    Misc: always install deriving_json
    Misc: remove support for async_kernel, bin_prot
    Misc: remove support for ppx_driver
    Misc: split js_of_ocaml in multiple packages
    Misc: switch to jbuilder
    Misc: new pseudo filesystem support with better node support
    Compiler: sourcemap support is now optional
    Compiler: no more strong dep on yojson, b64, menhir, ocamllex
    Compiler: improve separate compilation workflow
    Runtime: add support for weakdef
    Syntaxes: add expect tests
    Syntaxes: switch to ocaml-migrate-parsetree and ppx_tools_versioned
    Lib: Add primitives in [Js.Unsafe]
    Lib: remove keycode module, replaced by Dom_html.Keyboard_code
    Lib: XmlHttpRequest, API change for perform functions.

Bug fixes:

    Runtime: fix many stubs
    Lib: fix many signatures
    Compiler: fix performance of compilation passes (simpl,clean)
    Compiler: fix compat with OCaml 4.06
    Toplevel: flush channels after execution.
    Toplevel: fix toplevel generation when using -export-unit
2017-09-08 13:19:34 +00:00
jaapb
9f68a8fbc7 Updated package to version 2.8.4. Changes include:
* Features/Changes
 ** Compiler: new jsoo_link binary to link multiple javascript files
    together and merging sourcemaps.
 ** Toplevel: improve genaration of toplevels, one can now pass a
    an export file containing units to export. (see jsoo_listunits)
 ** Lib: Provide a Js_of_ocaml (namespace) module to ease transition
    with future version of js_of_ocaml

 * Bug fixes
 ** Compiler: fix separate compilation when facing empty unit inside a library
 ** Runtime:  fix many javascript stubs
 ** Syntac: fix ppx deriving json
2017-07-11 11:32:38 +00:00
jaapb
2c48f85696 Updated package to latest version, 2.8.3. Changes include:
===== 2.8.3 (2016-11-04) =====

 * Features/Changes
 ** Runtime: complete support for 4.04

 * Bug fixes
 ** Compiler: fix order of javascript files
 ** Compiler: fix Javascript lexer (newline inside strings)
 ** Compiler: fix bug in closure generation
 ** Compiler: fix regression in closure generation (introduced in 2.8) (#531)
 ** Compiler: fix code generation when static evaluation is disabled

===== 2.8.2 (2016-09-10) =====

 * Features/Changes
 ** Lib: add Dom_html.Keyboard_code & Dom_html.Keyboard_key (Corwin de Boor)
 ** Misc: update lib and runtime to work better with non browser environment
 ** Misc: initial support for 4.04

 * Bug fixes
 ** Compiler: fix js output for x - -1
 ** Compiler: fix parsing of annotations in the runtime
 ** Compiler: fix javascript minifier
 ** Compiler: various fixes for separate compilation.
2016-12-30 12:04:25 +00:00
jaapb
8842e147b9 Added buildlink3.mk file. No upstream changes. 2016-08-19 15:00:36 +00:00
jaapb
23def8700d Updated package to latest version, 2.8.1. Changes include:
* Features/Changes
** Compiler: reduce memory usage for shortvar
** Lib: Add optional `prefix` arg to Jsonp.call
** Ppx: add ppx_driver compatibility

* Bug fixes
** Lib: fix Js.object_keys, Js.export
** Lib: Async, do not ignore unhandled exceptions
2016-08-18 14:49:07 +00:00
jaapb
752ecfd4e7 Package uses ocamlbuild. 2016-06-25 14:16:40 +00:00
jaapb
3751d07528 Updated package to latest version, 2.8. Changes include:
* Features/Changes
 ** Compiler: allow dynlink of precompiled javascript file
 ** Compiler: Improve tailcall optimization
 ** Compiler: Improve pretty mode
 ** Compiler: More inlining and static evaluation
 ** Compiler: Better source map support, to leverage resolve_variable_names
   in chrome DevTools
 ** Compiler: preserve as much as possible the initial OCaml variable names
 ** Lib: synchronize with tyxml 4.0.0
 ** Lib: convert string/bigstring to/from typed_array
 ** Lib: add Tyxml_js.Register API.
 ** Lib: Support for Core_kernel and Async_kernel (32bit only).
 ** Lib: Mutation observer.
 ** Runtime: bigstring, caml_int32_bits_of_float, ..
 ** Runtime: better nodejs integration

 * Misc
 ** Support for OCaml 4.03
 ** Toplevel with ppx syntax

 * Bug fixes
 ** Compiler: Fix float printing
 ** Compiler: fix separate compilation
2016-06-20 14:01:42 +00:00
jaapb
9718550454 Recursive revbump associated with ocaml update. 2016-05-05 11:45:36 +00:00
jaapb
23e5e533fb Revamped the js_of_ocaml package. No upstream changes, but some changes
to what exactly gets compiled.
2016-02-17 17:02:30 +00:00
jaapb
b7d79dd5fb Updated package to latest version, 2.7. Changes include:
===== 2.7 (2016-01-25) =====

 * Features/Changes
 ** Syntax: ppx_deriving
 ** Compiler: Add custom_header ability to jsoo generate file (Edgar Aroutiounian)
 ** Compiler: Bytecode parsing, improved performance
 ** Lib: add geolocation API (Stéphane Legrand)
 ** Lib: add Mutation observers API (Stéphane Legrand)
 ** Lib: add Jstable module (Drup)
 ** Lib: add WebWorker API (Grégoire Henry)
 ** Lib: Allow to customize 'in_channel' with specific 'refiller' (Grégoire Henry)
 ** Lib: Synchronized tyxml 3.6.0

 * BugFixes
 ** Compiler: Fix compilation of the [match with exception] construct
 ** Compiler: fix compat with the upcoming ocaml 4.03
 ** Lib: Tyxml_js, discrepancy between Firefox and Chromium
 ** Lib: various small fixes
 ** Runtime: Fix Big_int.square_big_int
 ** Runtime: graphics, fix draw_image with transparent pixel
 ** Ppx: fix for merlin

===== 2.6 (2015-07-15) =====

 * Features/Changes
 ** Compiler: Findlib is optionnal
 ** Compiler: improvement of sourcemap support (ie: inlinned sourcemap)
 ** Compiler: Support for separate compilation (compile cm{o,a} -> js)
 ** Compiler: more inlining
 ** Syntax: new ppx syntax
 ** Syntax: js object literal (camlp4 + ppx)
 ** Runtime: support for Dynlink
 ** Runtime: Support for upcomming release of Bin_prot, Core_kernel, Async_kernel
 ** Lib: add requestAnimationFrame
 ** Lib: complete Js.Math
 ** Lib: complete xmlHttpRequest

 * Misc
 ** Drop support for 3.12

 * BugFixes
 ** Runtime: Fix caml_hash
 ** Lib: fix tyxml + svg
 ** Lib: various Api fixes
2016-02-06 14:00:13 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

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-03 03:27:11 +00:00
jaapb
7ea12ebae7 Recursive revbump associated with lang/ocaml update. 2015-08-07 11:20:32 +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
89eaf4ff11 Revbump associated with ocaml 4.02.1. Also added the ocaml-tyxml option
which compiles in tyxml (and react) support.
2015-01-20 16:09:15 +00:00
jaapb
1d14ff388e Updated js_of_ocaml to latest version, 2.5. Package now uses ocaml.mk.
There are many changes since the latest version, most important are:
** Compiler: SourceMap improvement
** Compiler: remove registration of unused named value (wrt runtime)
** Compiler: Smarter inlining, Constant sharing, Switch generation
** Lib: Dom binding: *AttributeNS, *AttributeNode*, borderRadius
** Runtime: improve performence of string, array allocation
* Misc: enable safestring for OCaml 4.02
* Commandline: switch to Cmdliner. Better -help + manpage
** Runtime: support for num (Ryan Goulden)
** Lib: initial support for Dom_svg
** Lib: introduce Jsonp module
** Lib: introduce JSON object binding
** Lib: introduce DomContentLoaded
** lib: introduce eventSource
** Lib: introduce js_of_ocaml.toplevel package
** Lib: various improvement: textContent,outerHTML,unload event,css properties
** Lib: complete binding of Js.array
** Lib: change signature of Sys_js.register_autoload
** Lib: sync js_of_ocaml.tyxml with latest tyxml
** Tools: helpers to build toplevel: jsoo_mktop, jsoo_mkcmis
** Lib: remove deprecated Event_arrow
** Lib: introduce js_of_ocaml.tyxml
** Lib: introduce js_of_ocaml.weak (that loads weak.js)
and remove predicate joo_weak
** Lib: introduce js_of_ocaml.log (Lwt logger)
** Lib: Dom_html.{range,selection} (Enguerrand Decorne)
 ** Runtime: improve blit_string perf
** Compiler: option to warn about unused js variable
** Lib: audio/videoElement
 ** Runtime: bigarray comparison
** Compiler: allow to embed directory with -file dir_name=ext1,ext2:dest_path
** Compiler: can now output embeded files in a differant js file
** Lib: js_of_ocaml.graphics
** Lib: Js.Unsafe.expr to embed JavasScript expression
to be used instead of Js.Unsafe.variable (or eval_string)
** Lib: Sys_js.js_of_ocaml_version && Sys_js.file_content
** OCamlbuild plugin: Add the OASIS support, document the API and add the tags
sourcemap (included in the meta-tag debug) and tailcall (#148)
(by Jacques-Pascal Deplaix)
 ** Compiler: generate shorter variable names
** Parsing and minifying of external javascript file (ie: runtime)
(by Hugo Heuzard)
** Compiler: JavaScript strict mode enabled
** Runtime: add support for recursive module (by Hugo Heuzard)
** Compiler: use trampoline to implement tailcall optim (by Hugo Heuzard)
** Improved OCaml toplevel UI (by Hugo Heuzard)
** Toplevel: support dynamic loading of cmo and cma files
** Runtime: add Bigarray support (contributed by Andrew Ray)
** Library: switch from "float Js.t" to just "float" for typing
JavaScript numbers
** Compiler: Add javascript file lookup using findlib
(+mypkg/myfile.js will read myfile.js from mypkg findlib directory)
(by Hugo Heuzard)
** Compiler: improve missing primitives & reserved name detection
(by Hugo Heuzard)
** Compiler: static evaluation of constant ("staticeval" optimisation)
(by Hugo Heuzard)
** Compiler: share constants (by Hugo Heuzard)
** Compiler: alias primitives (by Hugo Heuzard)
** Compiler: complete javacript ast (by Hugo Heuzard)
** Compiler: 'caml_format_int %d x' compiles to ""+x (by Hugo Heuzard)
** Add JavaScript file in META (to be used with ocamlfind)
(by Hugo Heuzard)
** Add Ocamlbuild plugin js_of_ocaml.ocamlbuild
(by Jacques-Pascal Deplaix)
** Add/Install classlist.js, weak.js
** Add Url.Current.protocol (by Vicent Balat)
** Dependency: deriving instead of deriving-ocsigen
** Runtime: log wrong string encoding issues to the console (by Hugo Heuzard)
** Add compiler_libs (by Pierre Chambart)
** Compile syntax extension to native code as well (by Hugo Heuzard)
** Add a JavaScript parser (extracted from facebook/pfff)
** Compiler: remove redundant 'var' (by Hugo Heuzard)
** Compiler: improve compact mode, remove unnecessary space, semicolon
** Runtime: Support in_channel and out_channel (by Hugo Heuzard)
** Compiler: option to embed files into the generated js
such files can be read using open_in (by Hugo Heuzard)
** Runtime: add cache for method lookup (by Hugo Heuzard)
** Compiler: experimental sourcemap support (by Hugo Heuzard)
** JavaScript Errors are now wrapped inside OCaml exceptions (by Hugo Heuzard)
** Add missing primitives for OCaml 4.01
** Improved Dom bindings (Hugo Heuzard and many other contributors)
** Add -linkall option to keep all provided primitives (Pierre Chambard)
** Improved tail-call optimization (Hugo Heuzard)
** Added optimization levels: -o {1,2,3} (Hugo Heuzard)
2014-10-09 21:18:05 +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
d93844d144 Updated devel/js_of_ocaml to its newest version, 1.3.2. Changes include:
Features/Changes
* Runtime and toplevel updates to support OCaml 4.0
* Add WebSocket bindings
* Added -debuginfo option to output source code location information
  (patch by Kensuke Matsuzaki)
* Dom_html: added change, input and hashChange event bindings
* Adding Lwt_js_events.async_loop and buffered_loop
Bugfixes
* Fix array and string blitting with overlapping regions
* Url module: fix encoding of '+'
* Library: use 'this' instead of 'window' for better portability
* Dom_html: fix creation of elements with type or name attribute under IE 9
* Compiler: small fix to bytecode parsing that could result in incorrect
  generated code
* Dom_html: fix mouse wheel event bindings
* Dom: fix the type of item methods
* Deriving_json: tail-recursive serialisation of lists (by Hugo Heuzard)
* Deriving_json: fix parsing of float arrays and polymorphic variants
  (by Hugo Heuzard)
2012-12-14 14:40:24 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +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
d17868c197 Update to latest tarball from upstream. They didn't change the name,
but now install two more files, so we use DIST_SUBDIR.
Bump PKGREVISION.

From Jaap Boender.
2012-07-20 20:08:25 +00:00
wiz
a2880a28b9 Import js_of_ocaml-1.2 as devel/js_of_ocaml.
Packaged by Jaap Boender.

Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it possible
to run OCaml programs in a Web browser.
2012-07-11 15:35:06 +00:00