diff --git a/LICENSE.txt b/LICENSE.txt index 8358da37..1b1c382c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -4,7 +4,7 @@ Duktape license (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 of this software and associated documentation files (the "Software"), to deal diff --git a/RELEASES.rst b/RELEASES.rst index c71a22d9..f260b484 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -1177,10 +1177,7 @@ Released by the compiler, but an existing "intermediate value" referred to a const instead of a register value (GH-449) -Planned -======= - -1.4.0 (XXXX-XX-XX) +1.4.0 (2016-01-09) ------------------ * 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 encoding/decoding (GH-465, GH-467, GH-471) +Planned +======= + +1.5.0 (XXXX-XX-XX) +------------------ + 2.0.0 (XXXX-XX-XX) ------------------ diff --git a/config/genconfig.py b/config/genconfig.py index f230874a..69c35056 100644 --- a/config/genconfig.py +++ b/config/genconfig.py @@ -1224,6 +1224,14 @@ def generate_duk_config_header(opts, meta_dir): 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 # defines like DUK_F_TYPEDEFS_DEFINED diff --git a/doc/emscripten-status.rst b/doc/emscripten-status.rst index 99f7c487..e3849747 100644 --- a/doc/emscripten-status.rst +++ b/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 + - The ``LLVM_ROOT`` path in the documentation seems to be outdated, + ``.../build/bin`` should apparently be ``.../build/Release/bin`` + * Checkout emscripten:: $ cd (duktape) diff --git a/doc/release-checklist.rst b/doc/release-checklist.rst index c9ec2ce8..1d008290 100644 --- a/doc/release-checklist.rst +++ b/doc/release-checklist.rst @@ -38,6 +38,8 @@ Checklist for ordinary releases - Check year range + - Also check ``util/create_spdx_license.py`` + * Ensure RELEASES.rst is up-to-date (must be done before candidate tar.xz build because dist package contains RELEASES.rst) diff --git a/doc/release-notes-v1-4.rst b/doc/release-notes-v1-4.rst index 9d899c4b..dc705118 100644 --- a/doc/release-notes-v1-4.rst +++ b/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 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 that "%lld" format specifier is correct for the "unsigned long long" type. diff --git a/src/duk_api_public.h.in b/src/duk_api_public.h.in index b7f337e0..b4e26b97 100644 --- a/src/duk_api_public.h.in +++ b/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 * 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 * non-official snapshot builds so that application code can easily log diff --git a/tests/api/test-all-public-symbols.c b/tests/api/test-all-public-symbols.c index e39d4521..ee74d90d 100644 --- a/tests/api/test-all-public-symbols.c +++ b/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_ecmascript_function(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_function(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_pointer(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_string(ctx, 0); + (void) duk_is_syntax_error(ctx, 0); (void) duk_is_thread(ctx, 0); + (void) duk_is_type_error(ctx, 0); (void) duk_is_undefined(ctx, 0); + (void) duk_is_uri_error(ctx, 0); (void) duk_is_valid_index(ctx, 0); (void) duk_join(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(ctx, 0, NULL); (void) duk_require_c_function(ctx, 0); + (void) duk_require_callable(ctx, 0); (void) duk_require_context(ctx, 0); + (void) duk_require_function(ctx, 0); (void) duk_require_heapptr(ctx, 0); (void) duk_require_int(ctx, 0); (void) duk_require_lstring(ctx, 0, NULL); diff --git a/util/create_spdx_license.py b/util/create_spdx_license.py index f6b75d40..f3309395 100644 --- a/util/create_spdx_license.py +++ b/util/create_spdx_license.py @@ -143,7 +143,7 @@ def main(): creation_date = Literal(now.isoformat() + 'Z', datatype=XSD.dateTime) duktape_org = Literal('Organization: duktape.org') 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()