lucy-clownfish git commit: Change copyright year in NOTICE
Repository: lucy-clownfish Updated Branches: refs/heads/master 1b4313df5 -> f5139fff5 Change copyright year in NOTICE Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/f5139fff Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/f5139fff Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/f5139fff Branch: refs/heads/master Commit: f5139fff5f156ef3c3375bb405b8b79fae7b0c23 Parents: 1b4313d Author: Nick Wellnhofer Authored: Sat Mar 12 15:43:13 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:53:17 2016 +0100 -- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f5139fff/NOTICE -- diff --git a/NOTICE b/NOTICE index cff9d4c..28d1506 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Clownfish subproject of Apache Lucy -Copyright 2010-2014 The Apache Software Foundation +Copyright 2010-2016 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[1/2] lucy git commit: Fix compiler warning
Repository: lucy Updated Branches: refs/heads/0.5 29b6f7370 -> 557fdbca6 Fix compiler warning Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/de602e99 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/de602e99 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/de602e99 Branch: refs/heads/0.5 Commit: de602e9991b8ff146366f03d34056148a1abcf84 Parents: 29b6f73 Author: Nick Wellnhofer Authored: Sat Mar 12 15:50:35 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:51:01 2016 +0100 -- core/Lucy/Index/SortWriter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy/blob/de602e99/core/Lucy/Index/SortWriter.c -- diff --git a/core/Lucy/Index/SortWriter.c b/core/Lucy/Index/SortWriter.c index 4c9ce50..34be6eb 100644 --- a/core/Lucy/Index/SortWriter.c +++ b/core/Lucy/Index/SortWriter.c @@ -151,7 +151,7 @@ SortWriter_Add_Inverted_Doc_IMP(SortWriter *self, Inverter *inverter, // If our SortFieldWriters have collectively passed the memory threshold, // flush all of them, then reset the counter which tracks memory // consumption. -if (Counter_Get_Value(ivars->counter) > ivars->mem_thresh) { +if ((size_t)Counter_Get_Value(ivars->counter) > ivars->mem_thresh) { for (uint32_t i = 0; i < Vec_Get_Size(ivars->field_writers); i++) { SortFieldWriter *const field_writer = (SortFieldWriter*)Vec_Fetch(ivars->field_writers, i);
[1/2] lucy git commit: Fix compiler warning
Repository: lucy Updated Branches: refs/heads/master eefbb4085 -> ee5cebea4 Fix compiler warning Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/cb66d5d8 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/cb66d5d8 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/cb66d5d8 Branch: refs/heads/master Commit: cb66d5d8f0641c84fde2607fe109978fe3562ade Parents: eefbb40 Author: Nick Wellnhofer Authored: Sat Mar 12 15:50:35 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:50:35 2016 +0100 -- core/Lucy/Index/SortWriter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy/blob/cb66d5d8/core/Lucy/Index/SortWriter.c -- diff --git a/core/Lucy/Index/SortWriter.c b/core/Lucy/Index/SortWriter.c index 4c9ce50..34be6eb 100644 --- a/core/Lucy/Index/SortWriter.c +++ b/core/Lucy/Index/SortWriter.c @@ -151,7 +151,7 @@ SortWriter_Add_Inverted_Doc_IMP(SortWriter *self, Inverter *inverter, // If our SortFieldWriters have collectively passed the memory threshold, // flush all of them, then reset the counter which tracks memory // consumption. -if (Counter_Get_Value(ivars->counter) > ivars->mem_thresh) { +if ((size_t)Counter_Get_Value(ivars->counter) > ivars->mem_thresh) { for (uint32_t i = 0; i < Vec_Get_Size(ivars->field_writers); i++) { SortFieldWriter *const field_writer = (SortFieldWriter*)Vec_Fetch(ivars->field_writers, i);
[2/2] lucy git commit: Change copyright year in NOTICE
Change copyright year in NOTICE Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/557fdbca Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/557fdbca Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/557fdbca Branch: refs/heads/0.5 Commit: 557fdbca66cb7400f9a7cd1941441b8447ac9c5e Parents: de602e9 Author: Nick Wellnhofer Authored: Sat Mar 12 15:51:33 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:51:33 2016 +0100 -- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy/blob/557fdbca/NOTICE -- diff --git a/NOTICE b/NOTICE index 13af725..a1931b4 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Lucy -Copyright 2010-2014 The Apache Software Foundation +Copyright 2010-2016 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[2/2] lucy git commit: Change copyright year in NOTICE
Change copyright year in NOTICE Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/ee5cebea Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/ee5cebea Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/ee5cebea Branch: refs/heads/master Commit: ee5cebea40162fb5d57268f3828547a480d407d3 Parents: cb66d5d Author: Nick Wellnhofer Authored: Sat Mar 12 15:51:33 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:52:15 2016 +0100 -- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy/blob/ee5cebea/NOTICE -- diff --git a/NOTICE b/NOTICE index 13af725..a1931b4 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Lucy -Copyright 2010-2014 The Apache Software Foundation +Copyright 2010-2016 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[1/2] lucy-clownfish git commit: Fix compiler warnings
Repository: lucy-clownfish Updated Branches: refs/heads/0.5 05d3caa62 -> c83c71364 Fix compiler warnings Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/4aec071f Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/4aec071f Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/4aec071f Branch: refs/heads/0.5 Commit: 4aec071f0616e140d4377e78fbe16ab06cc773de Parents: 05d3caa Author: Nick Wellnhofer Authored: Sat Mar 12 15:39:53 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:42:33 2016 +0100 -- compiler/common/charmonizer.c| 3 ++- compiler/common/charmonizer.main | 3 ++- compiler/modules/CommonMark/src/config.h | 5 - compiler/src/CFCCallable.c | 6 -- compiler/src/CFCPython.c | 7 +++ 5 files changed, 15 insertions(+), 9 deletions(-) -- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4aec071f/compiler/common/charmonizer.c -- diff --git a/compiler/common/charmonizer.c b/compiler/common/charmonizer.c index 887e57c..87c80d0 100644 --- a/compiler/common/charmonizer.c +++ b/compiler/common/charmonizer.c @@ -7998,7 +7998,8 @@ S_add_compiler_flags(struct chaz_CLI *cli) { } chaz_CFlags_append(extra_cflags, -"-pedantic -Wall -Wextra -Wno-variadic-macros"); +"-pedantic -Wall -Wextra -Wno-variadic-macros" +" -Wno-overlength-strings"); if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) { chaz_CFlags_append(extra_cflags, "-DPERL_GCC_PEDANTIC"); } http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4aec071f/compiler/common/charmonizer.main -- diff --git a/compiler/common/charmonizer.main b/compiler/common/charmonizer.main index e8058c6..80f161a 100644 --- a/compiler/common/charmonizer.main +++ b/compiler/common/charmonizer.main @@ -103,7 +103,8 @@ S_add_compiler_flags(struct chaz_CLI *cli) { } chaz_CFlags_append(extra_cflags, -"-pedantic -Wall -Wextra -Wno-variadic-macros"); +"-pedantic -Wall -Wextra -Wno-variadic-macros" +" -Wno-overlength-strings"); if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) { chaz_CFlags_append(extra_cflags, "-DPERL_GCC_PEDANTIC"); } http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4aec071f/compiler/modules/CommonMark/src/config.h -- diff --git a/compiler/modules/CommonMark/src/config.h b/compiler/modules/CommonMark/src/config.h index e387e69..97272b2 100644 --- a/compiler/modules/CommonMark/src/config.h +++ b/compiler/modules/CommonMark/src/config.h @@ -18,4 +18,7 @@ typedef char bool; #define HAVE_C99_SNPRINTF #endif -#define inline CHY_INLINE +#if defined(_MSC_VER) && !defined(__cplusplus) + #define inline __inline +#endif + http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4aec071f/compiler/src/CFCCallable.c -- diff --git a/compiler/src/CFCCallable.c b/compiler/src/CFCCallable.c index d421366..ccb3931 100644 --- a/compiler/src/CFCCallable.c +++ b/compiler/src/CFCCallable.c @@ -31,12 +31,6 @@ #include "CFCDocuComment.h" #include "CFCUtil.h" -static const CFCMeta CFCCALLABLE_META = { -"Clownfish::CFC::Model::Callable", -sizeof(CFCCallable), -(CFCBase_destroy_t)CFCCallable_destroy -}; - CFCCallable* CFCCallable_init(CFCCallable *self, const char *exposure, const char *name, CFCType *return_type, CFCParamList *param_list, http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4aec071f/compiler/src/CFCPython.c -- diff --git a/compiler/src/CFCPython.c b/compiler/src/CFCPython.c index d108b69..3c60682 100644 --- a/compiler/src/CFCPython.c +++ b/compiler/src/CFCPython.c @@ -112,6 +112,8 @@ S_write_hostdefs(CFCPython *self) { static char* S_gen_callbacks(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { +CHY_UNUSED_VAR(self); +CHY_UNUSED_VAR(parcel); char *callbacks = CFCUtil_strdup(""); // Generate implementation files containing callback definitions. @@ -364,6 +366,8 @@ S_gen_callbacks(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { static char* S_gen_type_linkups(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { +CHY_UNUSED_VAR(self); +CHY_UNUSED_VAR(parcel); char *handles = CFCUtil_strdup(""); char *py_types = CFCUtil_strdup(""); int num_items = 0; @@ -413,6 +417,9 @@ S_gen_type_link
[2/2] lucy-clownfish git commit: Change copyright year in NOTICE
Change copyright year in NOTICE Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/c83c7136 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/c83c7136 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/c83c7136 Branch: refs/heads/0.5 Commit: c83c7136405716739d92cec3843da9d9fb7558a3 Parents: 4aec071 Author: Nick Wellnhofer Authored: Sat Mar 12 15:43:13 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:43:13 2016 +0100 -- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/c83c7136/NOTICE -- diff --git a/NOTICE b/NOTICE index cff9d4c..28d1506 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Clownfish subproject of Apache Lucy -Copyright 2010-2014 The Apache Software Foundation +Copyright 2010-2016 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
lucy-clownfish git commit: Fix compiler warnings
Repository: lucy-clownfish Updated Branches: refs/heads/master 20eef8fc3 -> 1b4313df5 Fix compiler warnings Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1b4313df Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1b4313df Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1b4313df Branch: refs/heads/master Commit: 1b4313df5d4104c2d7a5af5bd1e566a3efeb6b7b Parents: 20eef8f Author: Nick Wellnhofer Authored: Sat Mar 12 15:39:53 2016 +0100 Committer: Nick Wellnhofer Committed: Sat Mar 12 15:39:53 2016 +0100 -- compiler/common/charmonizer.c| 3 ++- compiler/common/charmonizer.main | 3 ++- compiler/modules/CommonMark/src/config.h | 5 - compiler/src/CFCCallable.c | 6 -- compiler/src/CFCPython.c | 7 +++ 5 files changed, 15 insertions(+), 9 deletions(-) -- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1b4313df/compiler/common/charmonizer.c -- diff --git a/compiler/common/charmonizer.c b/compiler/common/charmonizer.c index 887e57c..87c80d0 100644 --- a/compiler/common/charmonizer.c +++ b/compiler/common/charmonizer.c @@ -7998,7 +7998,8 @@ S_add_compiler_flags(struct chaz_CLI *cli) { } chaz_CFlags_append(extra_cflags, -"-pedantic -Wall -Wextra -Wno-variadic-macros"); +"-pedantic -Wall -Wextra -Wno-variadic-macros" +" -Wno-overlength-strings"); if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) { chaz_CFlags_append(extra_cflags, "-DPERL_GCC_PEDANTIC"); } http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1b4313df/compiler/common/charmonizer.main -- diff --git a/compiler/common/charmonizer.main b/compiler/common/charmonizer.main index e8058c6..80f161a 100644 --- a/compiler/common/charmonizer.main +++ b/compiler/common/charmonizer.main @@ -103,7 +103,8 @@ S_add_compiler_flags(struct chaz_CLI *cli) { } chaz_CFlags_append(extra_cflags, -"-pedantic -Wall -Wextra -Wno-variadic-macros"); +"-pedantic -Wall -Wextra -Wno-variadic-macros" +" -Wno-overlength-strings"); if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) { chaz_CFlags_append(extra_cflags, "-DPERL_GCC_PEDANTIC"); } http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1b4313df/compiler/modules/CommonMark/src/config.h -- diff --git a/compiler/modules/CommonMark/src/config.h b/compiler/modules/CommonMark/src/config.h index e387e69..97272b2 100644 --- a/compiler/modules/CommonMark/src/config.h +++ b/compiler/modules/CommonMark/src/config.h @@ -18,4 +18,7 @@ typedef char bool; #define HAVE_C99_SNPRINTF #endif -#define inline CHY_INLINE +#if defined(_MSC_VER) && !defined(__cplusplus) + #define inline __inline +#endif + http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1b4313df/compiler/src/CFCCallable.c -- diff --git a/compiler/src/CFCCallable.c b/compiler/src/CFCCallable.c index d421366..ccb3931 100644 --- a/compiler/src/CFCCallable.c +++ b/compiler/src/CFCCallable.c @@ -31,12 +31,6 @@ #include "CFCDocuComment.h" #include "CFCUtil.h" -static const CFCMeta CFCCALLABLE_META = { -"Clownfish::CFC::Model::Callable", -sizeof(CFCCallable), -(CFCBase_destroy_t)CFCCallable_destroy -}; - CFCCallable* CFCCallable_init(CFCCallable *self, const char *exposure, const char *name, CFCType *return_type, CFCParamList *param_list, http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1b4313df/compiler/src/CFCPython.c -- diff --git a/compiler/src/CFCPython.c b/compiler/src/CFCPython.c index d108b69..3c60682 100644 --- a/compiler/src/CFCPython.c +++ b/compiler/src/CFCPython.c @@ -112,6 +112,8 @@ S_write_hostdefs(CFCPython *self) { static char* S_gen_callbacks(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { +CHY_UNUSED_VAR(self); +CHY_UNUSED_VAR(parcel); char *callbacks = CFCUtil_strdup(""); // Generate implementation files containing callback definitions. @@ -364,6 +366,8 @@ S_gen_callbacks(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { static char* S_gen_type_linkups(CFCPython *self, CFCParcel *parcel, CFCClass **ordered) { +CHY_UNUSED_VAR(self); +CHY_UNUSED_VAR(parcel); char *handles = CFCUtil_strdup(""); char *py_types = CFCUtil_strdup(""); int num_items = 0; @@ -413,6 +417,9 @@ S_gen_typ