···1122+- Relicensed from BSD3 to ISC.
23- Fix `Jsonm.decode` not eventually returning `End on toplevel
34 decode error.
45- Support for RFC 7195/ECMA-404. This means that any JSON value can
+13
vendor/opam/jsonm/LICENSE.md
···11+Copyright (c) 2012 Daniel C. Bünzli
22+33+Permission to use, copy, modify, and/or distribute this software for any
44+purpose with or without fee is hereby granted, provided that the above
55+copyright notice and this permission notice appear in all copies.
66+77+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
88+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
99+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1010+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1111+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1212+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1313+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2014 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% release %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677let ( >>= ) v f = match v with `Ok v -> f v | `Error _ as e -> e
···239239240240241241(*---------------------------------------------------------------------------
242242- Copyright (c) 2014 Daniel C. Bünzli.
243243- All rights reserved.
242242+ Copyright (c) 2014 Daniel C. Bünzli
244243245245- Redistribution and use in source and binary forms, with or without
246246- modification, are permitted provided that the following conditions
247247- are met:
248248-249249- 1. Redistributions of source code must retain the above copyright
250250- notice, this list of conditions and the following disclaimer.
244244+ Permission to use, copy, modify, and/or distribute this software for any
245245+ purpose with or without fee is hereby granted, provided that the above
246246+ copyright notice and this permission notice appear in all copies.
251247252252- 2. Redistributions in binary form must reproduce the above
253253- copyright notice, this list of conditions and the following
254254- disclaimer in the documentation and/or other materials provided
255255- with the distribution.
256256-257257- 3. Neither the name of Daniel C. Bünzli nor the names of
258258- contributors may be used to endorse or promote products derived
259259- from this software without specific prior written permission.
260260-261261- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
262262- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
263263- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
264264- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
265265- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
266266- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
267267- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
268268- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
269269- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
270270- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
271271- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
248248+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
249249+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
250250+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
251251+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
252252+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
253253+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
254254+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
272255 ---------------------------------------------------------------------------*)
+13-30
vendor/opam/jsonm/pkg/topkg.ml
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2014 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% release %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677(* Public api *)
···270270end
271271272272(*---------------------------------------------------------------------------
273273- Copyright (c) 2014 Daniel C. Bünzli.
274274- All rights reserved.
273273+ Copyright (c) 2014 Daniel C. Bünzli
275274276276- Redistribution and use in source and binary forms, with or without
277277- modification, are permitted provided that the following conditions
278278- are met:
279279-280280- 1. Redistributions of source code must retain the above copyright
281281- notice, this list of conditions and the following disclaimer.
275275+ Permission to use, copy, modify, and/or distribute this software for any
276276+ purpose with or without fee is hereby granted, provided that the above
277277+ copyright notice and this permission notice appear in all copies.
282278283283- 2. Redistributions in binary form must reproduce the above
284284- copyright notice, this list of conditions and the following
285285- disclaimer in the documentation and/or other materials provided
286286- with the distribution.
287287-288288- 3. Neither the name of Daniel C. Bünzli nor the names of
289289- contributors may be used to endorse or promote products derived
290290- from this software without specific prior written permission.
291291-292292- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
293293- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
294294- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
295295- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
296296- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
297297- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
298298- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
299299- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
300300- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
301301- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
302302- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
279279+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
280280+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
281281+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
282282+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
283283+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
284284+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
285285+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
303286 ---------------------------------------------------------------------------*)
+12-29
vendor/opam/jsonm/src/jsonm.ml
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2012 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% release %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677(* Braced non-terminals in comments refer to RFC 4627 non-terminals. *)
···621621622622(*---------------------------------------------------------------------------
623623 Copyright (c) 2012 Daniel C. Bünzli
624624- All rights reserved.
625624626626- Redistribution and use in source and binary forms, with or without
627627- modification, are permitted provided that the following conditions
628628- are met:
625625+ Permission to use, copy, modify, and/or distribute this software for any
626626+ purpose with or without fee is hereby granted, provided that the above
627627+ copyright notice and this permission notice appear in all copies.
629628630630- 1. Redistributions of source code must retain the above copyright
631631- notice, this list of conditions and the following disclaimer.
632632-633633- 2. Redistributions in binary form must reproduce the above
634634- copyright notice, this list of conditions and the following
635635- disclaimer in the documentation and/or other materials provided
636636- with the distribution.
637637-638638- 3. Neither the name of Daniel C. Bünzli nor the names of
639639- contributors may be used to endorse or promote products derived
640640- from this software without specific prior written permission.
641641-642642- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
643643- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
644644- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
645645- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
646646- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
647647- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
648648- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
649649- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
650650- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
651651- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
652652- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
629629+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
630630+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
631631+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
632632+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
633633+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
634634+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
635635+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
653636 ---------------------------------------------------------------------------*)
+12-29
vendor/opam/jsonm/src/jsonm.mli
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2012 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% release %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677(** Non-blocking streaming JSON codec.
···500500501501(*---------------------------------------------------------------------------
502502 Copyright (c) 2012 Daniel C. Bünzli
503503- All rights reserved.
504503505505- Redistribution and use in source and binary forms, with or without
506506- modification, are permitted provided that the following conditions
507507- are met:
504504+ Permission to use, copy, modify, and/or distribute this software for any
505505+ purpose with or without fee is hereby granted, provided that the above
506506+ copyright notice and this permission notice appear in all copies.
508507509509- 1. Redistributions of source code must retain the above copyright
510510- notice, this list of conditions and the following disclaimer.
511511-512512- 2. Redistributions in binary form must reproduce the above
513513- copyright notice, this list of conditions and the following
514514- disclaimer in the documentation and/or other materials provided
515515- with the distribution.
516516-517517- 3. Neither the name of Daniel C. Bünzli nor the names of
518518- contributors may be used to endorse or promote products derived
519519- from this software without specific prior written permission.
520520-521521- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
522522- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
523523- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
524524- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
525525- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
526526- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
527527- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
528528- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
529529- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
530530- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
531531- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
508508+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
509509+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
510510+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
511511+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
512512+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
513513+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
514514+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
532515 ---------------------------------------------------------------------------*)
+12-29
vendor/opam/jsonm/test/jsontrip.ml
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2012 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% release %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677let pr = Format.fprintf
···365365366366(*---------------------------------------------------------------------------
367367 Copyright (c) 2012 Daniel C. Bünzli
368368- All rights reserved.
369368370370- Redistribution and use in source and binary forms, with or without
371371- modification, are permitted provided that the following conditions
372372- are met:
369369+ Permission to use, copy, modify, and/or distribute this software for any
370370+ purpose with or without fee is hereby granted, provided that the above
371371+ copyright notice and this permission notice appear in all copies.
373372374374- 1. Redistributions of source code must retain the above copyright
375375- notice, this list of conditions and the following disclaimer.
376376-377377- 2. Redistributions in binary form must reproduce the above
378378- copyright notice, this list of conditions and the following
379379- disclaimer in the documentation and/or other materials provided
380380- with the distribution.
381381-382382- 3. Neither the name of Daniel C. Bünzli nor the names of
383383- contributors may be used to endorse or promote products derived
384384- from this software without specific prior written permission.
385385-386386- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
387387- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
388388- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
389389- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
390390- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
391391- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
392392- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
393393- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
394394- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
395395- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
396396- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
373373+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
374374+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
375375+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
376376+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
377377+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
378378+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
379379+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
397380 ---------------------------------------------------------------------------*)
+12-29
vendor/opam/jsonm/test/test.ml
···11(*---------------------------------------------------------------------------
22 Copyright (c) 2012 Daniel C. Bünzli. All rights reserved.
33- Distributed under the BSD3 license, see license at the end of the file.
44- %%NAME%% version %%VERSION%%
33+ Distributed under the ISC license, see terms at the end of the file.
44+ %%NAME%% %%VERSION%%
55 ---------------------------------------------------------------------------*)
6677let str = Format.sprintf
···345345346346(*---------------------------------------------------------------------------
347347 Copyright (c) 2012 Daniel C. Bünzli
348348- All rights reserved.
349348350350- Redistribution and use in source and binary forms, with or without
351351- modification, are permitted provided that the following conditions
352352- are met:
349349+ Permission to use, copy, modify, and/or distribute this software for any
350350+ purpose with or without fee is hereby granted, provided that the above
351351+ copyright notice and this permission notice appear in all copies.
353352354354- 1. Redistributions of source code must retain the above copyright
355355- notice, this list of conditions and the following disclaimer.
356356-357357- 2. Redistributions in binary form must reproduce the above
358358- copyright notice, this list of conditions and the following
359359- disclaimer in the documentation and/or other materials provided
360360- with the distribution.
361361-362362- 3. Neither the name of Daniel C. Bünzli nor the names of
363363- contributors may be used to endorse or promote products derived
364364- from this software without specific prior written permission.
365365-366366- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
367367- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
368368- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
369369- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
370370- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
371371- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
372372- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
373373- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
374374- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
375375- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
376376- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
353353+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
354354+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
355355+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
356356+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
357357+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
358358+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
359359+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
377360 ---------------------------------------------------------------------------*)