aboutsummaryrefslogtreecommitdiff
path: root/test/docx
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-17 22:31:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-17 22:31:20 -0700
commitc3f9e8c12256d19ed6c89d15470945855ee16a94 (patch)
treec9fb8fb7b9bc6598770a4db6952f1afb381dc50b /test/docx
parent613c070cbd10b791bd097acd1b6b693a1e46eba1 (diff)
downloadpandoc-c3f9e8c12256d19ed6c89d15470945855ee16a94.tar.gz
Docx writer: make nsid in abstractNum deterministic.
Previously we assigned a random number (though in a deterministic way). But changes in the random package mean we get different results now on different architectures, even with the same random seed. We don't need random values; so now we just assign a value based on the list number id, which is guaranteed to be unique to the list marker.
Diffstat (limited to 'test/docx')
-rw-r--r--test/docx/golden/block_quotes.docxbin10071 -> 10067 bytes
-rw-r--r--test/docx/golden/codeblock.docxbin9920 -> 9916 bytes
-rw-r--r--test/docx/golden/comments.docxbin10258 -> 10254 bytes
-rw-r--r--test/docx/golden/custom_style_no_reference.docxbin10021 -> 10017 bytes
-rw-r--r--test/docx/golden/custom_style_preserve.docxbin10650 -> 10646 bytes
-rw-r--r--test/docx/golden/custom_style_reference.docxbin12403 -> 12400 bytes
-rw-r--r--test/docx/golden/definition_list.docxbin9920 -> 9916 bytes
-rw-r--r--test/docx/golden/document-properties-short-desc.docxbin9925 -> 9922 bytes
-rw-r--r--test/docx/golden/document-properties.docxbin10404 -> 10399 bytes
-rw-r--r--test/docx/golden/headers.docxbin10059 -> 10055 bytes
-rw-r--r--test/docx/golden/image.docxbin26736 -> 26733 bytes
-rw-r--r--test/docx/golden/inline_code.docxbin9859 -> 9855 bytes
-rw-r--r--test/docx/golden/inline_formatting.docxbin10038 -> 10035 bytes
-rw-r--r--test/docx/golden/inline_images.docxbin26793 -> 26789 bytes
-rw-r--r--test/docx/golden/link_in_notes.docxbin10081 -> 10077 bytes
-rw-r--r--test/docx/golden/links.docxbin10251 -> 10248 bytes
-rw-r--r--test/docx/golden/lists.docxbin10332 -> 10314 bytes
-rw-r--r--test/docx/golden/lists_continuing.docxbin10123 -> 10110 bytes
-rw-r--r--test/docx/golden/lists_multiple_initial.docxbin10210 -> 10192 bytes
-rw-r--r--test/docx/golden/lists_restarting.docxbin10122 -> 10108 bytes
-rw-r--r--test/docx/golden/nested_anchors_in_header.docxbin10216 -> 10212 bytes
-rw-r--r--test/docx/golden/notes.docxbin10028 -> 10024 bytes
-rw-r--r--test/docx/golden/raw-blocks.docxbin9960 -> 9956 bytes
-rw-r--r--test/docx/golden/raw-bookmarks.docxbin10094 -> 10090 bytes
-rw-r--r--test/docx/golden/table_one_row.docxbin9906 -> 9903 bytes
-rw-r--r--test/docx/golden/table_with_list_cell.docxbin10225 -> 10212 bytes
-rw-r--r--test/docx/golden/tables.docxbin10241 -> 10238 bytes
-rw-r--r--test/docx/golden/track_changes_deletion.docxbin9903 -> 9899 bytes
-rw-r--r--test/docx/golden/track_changes_insertion.docxbin9886 -> 9882 bytes
-rw-r--r--test/docx/golden/track_changes_move.docxbin9920 -> 9916 bytes
-rw-r--r--test/docx/golden/track_changes_scrubbed_metadata.docxbin10032 -> 10028 bytes
-rw-r--r--test/docx/golden/unicode.docxbin9845 -> 9841 bytes
-rw-r--r--test/docx/golden/verbatim_subsuper.docxbin9892 -> 9888 bytes
33 files changed, 0 insertions, 0 deletions
diff --git a/test/docx/golden/block_quotes.docx b/test/docx/golden/block_quotes.docx
index ed7d1165c..af1b33ca2 100644
--- a/test/docx/golden/block_quotes.docx
+++ b/test/docx/golden/block_quotes.docx
Binary files differ
diff --git a/test/docx/golden/codeblock.docx b/test/docx/golden/codeblock.docx
index 07ae75676..f748f1f01 100644
--- a/test/docx/golden/codeblock.docx
+++ b/test/docx/golden/codeblock.docx
Binary files differ
diff --git a/test/docx/golden/comments.docx b/test/docx/golden/comments.docx
index e5f034378..ac9d56680 100644
--- a/test/docx/golden/comments.docx
+++ b/test/docx/golden/comments.docx
Binary files differ
diff --git a/test/docx/golden/custom_style_no_reference.docx b/test/docx/golden/custom_style_no_reference.docx
index 174942135..f27727edd 100644
--- a/test/docx/golden/custom_style_no_reference.docx
+++ b/test/docx/golden/custom_style_no_reference.docx
Binary files differ
diff --git a/test/docx/golden/custom_style_preserve.docx b/test/docx/golden/custom_style_preserve.docx
index b5c31a851..1da499d6a 100644
--- a/test/docx/golden/custom_style_preserve.docx
+++ b/test/docx/golden/custom_style_preserve.docx
Binary files differ
diff --git a/test/docx/golden/custom_style_reference.docx b/test/docx/golden/custom_style_reference.docx
index c42ca1b05..4d2fe245d 100644
--- a/test/docx/golden/custom_style_reference.docx
+++ b/test/docx/golden/custom_style_reference.docx
Binary files differ
diff --git a/test/docx/golden/definition_list.docx b/test/docx/golden/definition_list.docx
index 1cb4c1fd7..f386fcea3 100644
--- a/test/docx/golden/definition_list.docx
+++ b/test/docx/golden/definition_list.docx
Binary files differ
diff --git a/test/docx/golden/document-properties-short-desc.docx b/test/docx/golden/document-properties-short-desc.docx
index 7122456ea..debe9a3f6 100644
--- a/test/docx/golden/document-properties-short-desc.docx
+++ b/test/docx/golden/document-properties-short-desc.docx
Binary files differ
diff --git a/test/docx/golden/document-properties.docx b/test/docx/golden/document-properties.docx
index 616ba0f81..cd17400bf 100644
--- a/test/docx/golden/document-properties.docx
+++ b/test/docx/golden/document-properties.docx
Binary files differ
diff --git a/test/docx/golden/headers.docx b/test/docx/golden/headers.docx
index c30dcdee9..d3af8a3dd 100644
--- a/test/docx/golden/headers.docx
+++ b/test/docx/golden/headers.docx
Binary files differ
diff --git a/test/docx/golden/image.docx b/test/docx/golden/image.docx
index 8a704b41e..1c4e738c0 100644
--- a/test/docx/golden/image.docx
+++ b/test/docx/golden/image.docx
Binary files differ
diff --git a/test/docx/golden/inline_code.docx b/test/docx/golden/inline_code.docx
index b1906c8c4..35f43f19f 100644
--- a/test/docx/golden/inline_code.docx
+++ b/test/docx/golden/inline_code.docx
Binary files differ
diff --git a/test/docx/golden/inline_formatting.docx b/test/docx/golden/inline_formatting.docx
index 8adf1cf75..8de3f70f6 100644
--- a/test/docx/golden/inline_formatting.docx
+++ b/test/docx/golden/inline_formatting.docx
Binary files differ
diff --git a/test/docx/golden/inline_images.docx b/test/docx/golden/inline_images.docx
index 584117503..e76558be9 100644
--- a/test/docx/golden/inline_images.docx
+++ b/test/docx/golden/inline_images.docx
Binary files differ
diff --git a/test/docx/golden/link_in_notes.docx b/test/docx/golden/link_in_notes.docx
index 8859fe55c..88bae8142 100644
--- a/test/docx/golden/link_in_notes.docx
+++ b/test/docx/golden/link_in_notes.docx
Binary files differ
diff --git a/test/docx/golden/links.docx b/test/docx/golden/links.docx
index b80f3b3ba..455adcfc7 100644
--- a/test/docx/golden/links.docx
+++ b/test/docx/golden/links.docx
Binary files differ
diff --git a/test/docx/golden/lists.docx b/test/docx/golden/lists.docx
index 35beed68a..081d9ddba 100644
--- a/test/docx/golden/lists.docx
+++ b/test/docx/golden/lists.docx
Binary files differ
diff --git a/test/docx/golden/lists_continuing.docx b/test/docx/golden/lists_continuing.docx
index 2c29fd674..fc9213fc5 100644
--- a/test/docx/golden/lists_continuing.docx
+++ b/test/docx/golden/lists_continuing.docx
Binary files differ
diff --git a/test/docx/golden/lists_multiple_initial.docx b/test/docx/golden/lists_multiple_initial.docx
index 10a948886..b636fd3f8 100644
--- a/test/docx/golden/lists_multiple_initial.docx
+++ b/test/docx/golden/lists_multiple_initial.docx
Binary files differ
diff --git a/test/docx/golden/lists_restarting.docx b/test/docx/golden/lists_restarting.docx
index 5b90e74a0..252623215 100644
--- a/test/docx/golden/lists_restarting.docx
+++ b/test/docx/golden/lists_restarting.docx
Binary files differ
diff --git a/test/docx/golden/nested_anchors_in_header.docx b/test/docx/golden/nested_anchors_in_header.docx
index cc81b46d1..a8c3f5478 100644
--- a/test/docx/golden/nested_anchors_in_header.docx
+++ b/test/docx/golden/nested_anchors_in_header.docx
Binary files differ
diff --git a/test/docx/golden/notes.docx b/test/docx/golden/notes.docx
index 1394dc442..43e650ebd 100644
--- a/test/docx/golden/notes.docx
+++ b/test/docx/golden/notes.docx
Binary files differ
diff --git a/test/docx/golden/raw-blocks.docx b/test/docx/golden/raw-blocks.docx
index 0d1688694..fe4f7845b 100644
--- a/test/docx/golden/raw-blocks.docx
+++ b/test/docx/golden/raw-blocks.docx
Binary files differ
diff --git a/test/docx/golden/raw-bookmarks.docx b/test/docx/golden/raw-bookmarks.docx
index be1caef2d..45e90608f 100644
--- a/test/docx/golden/raw-bookmarks.docx
+++ b/test/docx/golden/raw-bookmarks.docx
Binary files differ
diff --git a/test/docx/golden/table_one_row.docx b/test/docx/golden/table_one_row.docx
index 1178f7c6e..6eaea2ac2 100644
--- a/test/docx/golden/table_one_row.docx
+++ b/test/docx/golden/table_one_row.docx
Binary files differ
diff --git a/test/docx/golden/table_with_list_cell.docx b/test/docx/golden/table_with_list_cell.docx
index 84be2720f..45a97ccaa 100644
--- a/test/docx/golden/table_with_list_cell.docx
+++ b/test/docx/golden/table_with_list_cell.docx
Binary files differ
diff --git a/test/docx/golden/tables.docx b/test/docx/golden/tables.docx
index 140366d8b..115a16a48 100644
--- a/test/docx/golden/tables.docx
+++ b/test/docx/golden/tables.docx
Binary files differ
diff --git a/test/docx/golden/track_changes_deletion.docx b/test/docx/golden/track_changes_deletion.docx
index 9cc7a075f..247725aaa 100644
--- a/test/docx/golden/track_changes_deletion.docx
+++ b/test/docx/golden/track_changes_deletion.docx
Binary files differ
diff --git a/test/docx/golden/track_changes_insertion.docx b/test/docx/golden/track_changes_insertion.docx
index f8b8dcfde..3863afef2 100644
--- a/test/docx/golden/track_changes_insertion.docx
+++ b/test/docx/golden/track_changes_insertion.docx
Binary files differ
diff --git a/test/docx/golden/track_changes_move.docx b/test/docx/golden/track_changes_move.docx
index 1c3baf0bf..5c848b63a 100644
--- a/test/docx/golden/track_changes_move.docx
+++ b/test/docx/golden/track_changes_move.docx
Binary files differ
diff --git a/test/docx/golden/track_changes_scrubbed_metadata.docx b/test/docx/golden/track_changes_scrubbed_metadata.docx
index 28686970d..e0c843713 100644
--- a/test/docx/golden/track_changes_scrubbed_metadata.docx
+++ b/test/docx/golden/track_changes_scrubbed_metadata.docx
Binary files differ
diff --git a/test/docx/golden/unicode.docx b/test/docx/golden/unicode.docx
index 7051cefbd..78a773bdd 100644
--- a/test/docx/golden/unicode.docx
+++ b/test/docx/golden/unicode.docx
Binary files differ
diff --git a/test/docx/golden/verbatim_subsuper.docx b/test/docx/golden/verbatim_subsuper.docx
index 9df631640..c66a45b74 100644
--- a/test/docx/golden/verbatim_subsuper.docx
+++ b/test/docx/golden/verbatim_subsuper.docx
Binary files differ