Browse Source

Merge pull request #520 from svaarala/v1.4.0-release-prep

Miscellaneous v1.4.0 release preparations
pull/521/head
Sami Vaarala 9 years ago
parent
commit
a3fba26576
  1. 2
      LICENSE.txt
  2. 11
      RELEASES.rst
  3. 8
      config/genconfig.py
  4. 3
      doc/emscripten-status.rst
  5. 2
      doc/release-checklist.rst
  6. 9
      doc/release-notes-v1-4.rst
  7. 2
      src/duk_api_public.h.in
  8. 8
      tests/api/test-all-public-symbols.c
  9. 2
      util/create_spdx_license.py

2
LICENSE.txt

@ -4,7 +4,7 @@ Duktape license
(http://opensource.org/licenses/MIT) (http://opensource.org/licenses/MIT)
Copyright (c) 2013-2015 by Duktape authors (see AUTHORS.rst) Copyright (c) 2013-2016 by Duktape authors (see AUTHORS.rst)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

11
RELEASES.rst

@ -1177,10 +1177,7 @@ Released
by the compiler, but an existing "intermediate value" referred to a const by the compiler, but an existing "intermediate value" referred to a const
instead of a register value (GH-449) instead of a register value (GH-449)
Planned 1.4.0 (2016-01-09)
=======
1.4.0 (XXXX-XX-XX)
------------------ ------------------
* Add support for using C++ exceptions instead of setjmp()/longjmp() to * Add support for using C++ exceptions instead of setjmp()/longjmp() to
@ -1349,6 +1346,12 @@ Planned
* Internal performance improvement: add fast paths for hex and base64 * Internal performance improvement: add fast paths for hex and base64
encoding/decoding (GH-465, GH-467, GH-471) encoding/decoding (GH-465, GH-467, GH-471)
Planned
=======
1.5.0 (XXXX-XX-XX)
------------------
2.0.0 (XXXX-XX-XX) 2.0.0 (XXXX-XX-XX)
------------------ ------------------

8
config/genconfig.py

@ -1224,6 +1224,14 @@ def generate_duk_config_header(opts, meta_dir):
ret.empty() ret.empty()
# DUK_F_UCLIBC is special because __UCLIBC__ is provided by an #include
# file, so the check must happen after platform includes. It'd be nice
# for this to be automatic (e.g. DUK_F_UCLIBC.h.in could indicate the
# dependency somehow).
ret.snippet_absolute(os.path.join(meta_dir, 'helper-snippets', 'DUK_F_UCLIBC.h.in'))
ret.empty()
# XXX: platform/compiler could provide types; if so, need some signaling # XXX: platform/compiler could provide types; if so, need some signaling
# defines like DUK_F_TYPEDEFS_DEFINED # defines like DUK_F_TYPEDEFS_DEFINED

3
doc/emscripten-status.rst

@ -42,6 +42,9 @@ need Emscripten "fastcomp". Example steps to setup emscripten:
- https://kripken.github.io/emscripten-site/docs/building_from_source/building_fastcomp_manually_from_source.html - https://kripken.github.io/emscripten-site/docs/building_from_source/building_fastcomp_manually_from_source.html
- The ``LLVM_ROOT`` path in the documentation seems to be outdated,
``.../build/bin`` should apparently be ``.../build/Release/bin``
* Checkout emscripten:: * Checkout emscripten::
$ cd (duktape) $ cd (duktape)

2
doc/release-checklist.rst

@ -38,6 +38,8 @@ Checklist for ordinary releases
- Check year range - Check year range
- Also check ``util/create_spdx_license.py``
* Ensure RELEASES.rst is up-to-date (must be done before candidate tar.xz * Ensure RELEASES.rst is up-to-date (must be done before candidate tar.xz
build because dist package contains RELEASES.rst) build because dist package contains RELEASES.rst)

9
doc/release-notes-v1-4.rst

@ -103,6 +103,15 @@ Portability and platforms
when you actually compile for a 64-bit target, those code paths are not when you actually compile for a 64-bit target, those code paths are not
used so the warnings are irrelevant. used so the warnings are irrelevant.
* MSVC ``/W4`` produces a harmless "conditional expression is constant"
warning caused by a sizeof() comparison.
* MinGW produces harmless "visibility attribute not supported in this
configuration" warnings when compiling from separate sources.
* An older mixed endian ARM toolchain (based on gcc-3.x) produces
"xxx declared inline after being called" warnings.
* The JSON.stringify() fast path (DUK_USE_JSON_STRINGIFY_FASTPATH) assumes * The JSON.stringify() fast path (DUK_USE_JSON_STRINGIFY_FASTPATH) assumes
that "%lld" format specifier is correct for the "unsigned long long" type. that "%lld" format specifier is correct for the "unsigned long long" type.

2
src/duk_api_public.h.in

@ -86,7 +86,7 @@ struct duk_number_list_entry {
* have 99 for patch level (e.g. 0.10.99 would be a development version * have 99 for patch level (e.g. 0.10.99 would be a development version
* after 0.10.0 but before the next official release). * after 0.10.0 but before the next official release).
*/ */
#define DUK_VERSION 10399L #define DUK_VERSION 10400L
/* Git commit, describe, and branch for Duktape build. Useful for /* Git commit, describe, and branch for Duktape build. Useful for
* non-official snapshot builds so that application code can easily log * non-official snapshot builds so that application code can easily log

8
tests/api/test-all-public-symbols.c

@ -126,6 +126,7 @@ static duk_ret_t test_func(duk_context *ctx) {
(void) duk_is_dynamic_buffer(ctx, 0); (void) duk_is_dynamic_buffer(ctx, 0);
(void) duk_is_ecmascript_function(ctx, 0); (void) duk_is_ecmascript_function(ctx, 0);
(void) duk_is_error(ctx, 0); (void) duk_is_error(ctx, 0);
(void) duk_is_eval_error(ctx, 0);
(void) duk_is_fixed_buffer(ctx, 0); (void) duk_is_fixed_buffer(ctx, 0);
(void) duk_is_function(ctx, 0); (void) duk_is_function(ctx, 0);
(void) duk_is_lightfunc(ctx, 0); (void) duk_is_lightfunc(ctx, 0);
@ -137,10 +138,15 @@ static duk_ret_t test_func(duk_context *ctx) {
(void) duk_is_object(ctx, 0); (void) duk_is_object(ctx, 0);
(void) duk_is_pointer(ctx, 0); (void) duk_is_pointer(ctx, 0);
(void) duk_is_primitive(ctx, 0); (void) duk_is_primitive(ctx, 0);
(void) duk_is_range_error(ctx, 0);
(void) duk_is_reference_error(ctx, 0);
(void) duk_is_strict_call(ctx); (void) duk_is_strict_call(ctx);
(void) duk_is_string(ctx, 0); (void) duk_is_string(ctx, 0);
(void) duk_is_syntax_error(ctx, 0);
(void) duk_is_thread(ctx, 0); (void) duk_is_thread(ctx, 0);
(void) duk_is_type_error(ctx, 0);
(void) duk_is_undefined(ctx, 0); (void) duk_is_undefined(ctx, 0);
(void) duk_is_uri_error(ctx, 0);
(void) duk_is_valid_index(ctx, 0); (void) duk_is_valid_index(ctx, 0);
(void) duk_join(ctx, 0); (void) duk_join(ctx, 0);
(void) duk_json_decode(ctx, 0); (void) duk_json_decode(ctx, 0);
@ -226,7 +232,9 @@ static duk_ret_t test_func(duk_context *ctx) {
(void) duk_require_buffer_data(ctx, 0, NULL); (void) duk_require_buffer_data(ctx, 0, NULL);
(void) duk_require_buffer(ctx, 0, NULL); (void) duk_require_buffer(ctx, 0, NULL);
(void) duk_require_c_function(ctx, 0); (void) duk_require_c_function(ctx, 0);
(void) duk_require_callable(ctx, 0);
(void) duk_require_context(ctx, 0); (void) duk_require_context(ctx, 0);
(void) duk_require_function(ctx, 0);
(void) duk_require_heapptr(ctx, 0); (void) duk_require_heapptr(ctx, 0);
(void) duk_require_int(ctx, 0); (void) duk_require_int(ctx, 0);
(void) duk_require_lstring(ctx, 0, NULL); (void) duk_require_lstring(ctx, 0, NULL);

2
util/create_spdx_license.py

@ -143,7 +143,7 @@ def main():
creation_date = Literal(now.isoformat() + 'Z', datatype=XSD.dateTime) creation_date = Literal(now.isoformat() + 'Z', datatype=XSD.dateTime)
duktape_org = Literal('Organization: duktape.org') duktape_org = Literal('Organization: duktape.org')
mit_license = URIRef('http://spdx.org/licenses/MIT') mit_license = URIRef('http://spdx.org/licenses/MIT')
duktape_copyright = Literal('Copyright 2013-2015 Duktape authors (see AUTHORS.rst in the Duktape distributable)') duktape_copyright = Literal('Copyright 2013-2016 Duktape authors (see AUTHORS.rst in the Duktape distributable)')
g = rdflib.Graph() g = rdflib.Graph()

Loading…
Cancel
Save