summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2023-03-01 10:23:56 -0800
committerDave Beckett <dave@dajobe.org>2023-03-01 10:23:56 -0800
commit50125f84670f89e5b997e6f117fc8bce198805bd (patch)
tree71a8fddba1bac8ba35426e01e9ffbb48863d3843
parent5cacc685da842e1019f20d544c612b286ce0169c (diff)
downloadraptor-50125f84670f89e5b997e6f117fc8bce198805bd.tar.gz
Support constants in changes TSV
-rw-r--r--docs/raptor-changes.tsv4
-rwxr-xr-xscripts/process-changes.pl18
2 files changed, 11 insertions, 11 deletions
diff --git a/docs/raptor-changes.tsv b/docs/raptor-changes.tsv
index 82ad02ba..d4c5f685 100644
--- a/docs/raptor-changes.tsv
+++ b/docs/raptor-changes.tsv
@@ -430,7 +430,6 @@
2.0.14 - - - 2.0.15 void raptor_sequence_sort_r (raptor_sequence* seq, raptor_data_compare_arg_handler compare, void* user_data) Uses raptor_sort_r() internally.
2.0.14 - - - 2.0.15 int raptor_world_get_parsers_count (raptor_world* world) -
2.0.14 - - - 2.0.15 int raptor_world_get_serializers_count (raptor_world* world) -
-2.0.15 - - - 2.0.16 unsigned int raptor_rdf_schema_namespace_uri_len - -
2.0.15 - - - 2.0.16 int raptor_www_set_user_agent2 (raptor_www *www, const char *user_agent, size_t user_agent_len) -
2.0.15 - - - 2.0.16 int raptor_www_set_proxy2 (raptor_www *www, const char *proxy, size_t proxy_len) -
2.0.15 - - - 2.0.16 int raptor_www_set_http_accept2 (raptor_www *www, const char *value, size_t value_len) -
@@ -495,7 +494,7 @@
2.0.9 type - - 2.0.10 type raptor_escaped_write_bitflags - -
2.0.14 type - - 2.0.15 type raptor_data_compare_arg_handler - Used by raptor_sort_r()
#
-# Enums
+# Enums and constants
#
1.4.21 enum RAPTOR_IDENTIFIER_TYPE_UNKNOWN - 2.0.0 enum RAPTOR_TERM_TYPE_UNKNOWN - -
1.4.21 enum RAPTOR_IDENTIFIER_TYPE_RESOURCE - 2.0.0 enum RAPTOR_TERM_TYPE_URI - -
@@ -591,3 +590,4 @@
2.0.6 enum - - 2.0.7 enum RAPTOR_OPTION_WWW_SSL_VERIFY_PEER - -
2.0.6 enum - - 2.0.7 enum RAPTOR_OPTION_WWW_SSL_VERIFY_HOST - -
2.0.6 enum - - 2.0.7 enum RAPTOR_OPTION_LOAD_EXTERNAL_ENTITIES - -
+2.0.15 enum - - 2.0.16 enum raptor_rdf_schema_namespace_uri_len - -
diff --git a/scripts/process-changes.pl b/scripts/process-changes.pl
index e9ff3490..3c4dbbcf 100755
--- a/scripts/process-changes.pl
+++ b/scripts/process-changes.pl
@@ -221,7 +221,7 @@ sub print_enums_list_as_docbook_xml($$$$@) {
print $fh <<"EOT";
<itemizedlist>
- <title>Enums</title>
+ <title>Enums and Constants</title>
EOT
print $fh " <caption>$title</caption>\n"
@@ -651,7 +651,7 @@ EOT
The following sections describe the changes in the API between
versions including additions, deletions, renames (retaining the same
number of parameters, types and return value type) and more complex
-changes to functions, types and enums.
+changes to functions, types, enums and constants.
</para>
EOT
@@ -676,7 +676,7 @@ EOT
if(@f || @t || @e) {
print_start_section_as_docbook_xml($out_fh,
$id_prefix.'-changes-new-'.$id,
- "New functions, types and enums");
+ "New functions, types, enums and constants");
print_functions_list_as_docbook_xml($out_fh,
undef, 1, 1, @f);
print_types_list_as_docbook_xml($out_fh,
@@ -692,7 +692,7 @@ EOT
if(@f || @t || @e) {
print_start_section_as_docbook_xml($out_fh,
$id_prefix.'-changes-deleted-'.$id,
- "Deleted functions, types and enums");
+ "Deleted functions, types, enums and constants");
print_functions_list_as_docbook_xml($out_fh,
undef, 0, 0, @f);
print_types_list_as_docbook_xml($out_fh,
@@ -708,7 +708,7 @@ EOT
if(@f || @e) {
print_start_section_as_docbook_xml($out_fh,
$id_prefix.'-changes-renamed-'.$id,
- "Renamed function and enums");
+ "Renamed functions, enums and constants");
print_renamed_functions_as_docbook_xml($out_fh,
undef,
"$old_version function",
@@ -716,8 +716,8 @@ EOT
@f);
print_renamed_enums_as_docbook_xml($out_fh,
undef,
- "$old_version enum",
- "$new_version enum",
+ "$old_version enum / constant",
+ "$new_version enum / constant",
@e);
print_end_section_as_docbook_xml($out_fh);
}
@@ -780,7 +780,7 @@ if(defined $upgrade_script_file) {
print_deletes_as_perl_script($out_fh, 'Deleted types',
@t);
- print_deletes_as_perl_script($out_fh, 'Deleted enums',
+ print_deletes_as_perl_script($out_fh, 'Deleted enums and constants',
@e);
@f = @{$renamed_functions{$version_pair} || []};
@@ -788,7 +788,7 @@ if(defined $upgrade_script_file) {
print_renames_as_perl_script($out_fh, 'Renamed functions', 1,
@f);
- print_renames_as_perl_script($out_fh, 'Renamed enums', 0,
+ print_renames_as_perl_script($out_fh, 'Renamed enums and constants', 0,
@e);
@f = @{$changed_functions{$version_pair} || []};