squishy

Thu, 23 Mar 2023 15:12:30 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Mar 2023 15:12:30 +0000
changeset 174
662bd8c5ae28
parent 171
433a1f36d0d3
child 181
3a9b9c98304a
permissions
-rw-r--r--

Serialize XML in a consistent order by default

This overrides all XML serialization to emit attributes in an ordered form, so
the XML will match across multiple runs. This can be useful for comparing
different runs, or even two stanzas printed in the same run (e.g. if there is
a mismatch).

74
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 Main "main.lua"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 Output "scansion.bin"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 Option "executable"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 Module "scansion.async"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 Module "scansion.error"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 Module "scansion.parser"
171
433a1f36d0d3 client: Move some generic utility functions to a helpers module
Matthew Wild <mwild1@gmail.com>
parents: 139
diff changeset
9 Module "scansion.helpers"
74
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 Module "scansion.iterators"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 Module "scansion.objects.client"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 Module "scansion.queue"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 Module "scansion.stanzacmp"
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 Module "scansion.xml"
120
c35386e4b456 squishy: Add new modules 'console' and 'pretty'
Matthew Wild <mwild1@gmail.com>
parents: 74
diff changeset
15 Module "scansion.console"
c35386e4b456 squishy: Add new modules 'console' and 'pretty'
Matthew Wild <mwild1@gmail.com>
parents: 74
diff changeset
16 Module "scansion.pretty"
174
662bd8c5ae28 Serialize XML in a consistent order by default
Matthew Wild <mwild1@gmail.com>
parents: 171
diff changeset
17 Module "scansion.ordered_serializer"
74
b3f2711684a7 Add Makefile and other files for building
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18
121
b09433ea9b0c squishy: Add support for optionally building with bundled verse
Matthew Wild <mwild1@gmail.com>
parents: 120
diff changeset
19 if GetOption "with-verse" then
b09433ea9b0c squishy: Add support for optionally building with bundled verse
Matthew Wild <mwild1@gmail.com>
parents: 120
diff changeset
20 Module "verse"
b09433ea9b0c squishy: Add support for optionally building with bundled verse
Matthew Wild <mwild1@gmail.com>
parents: 120
diff changeset
21 end
139
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
22
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
23 if GetOption "with-server" then
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
24 Module "scansion.serve"
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
25 Module "net.http.server" "serve/net/http/server.lua"
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
26 Module "net.http.parser" "serve/net/http/parser.lua"
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
27 Module "net.http.codes" "serve/net/http/codes.lua"
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
28 Module "util.cache" "serve/util/cache.lua"
70c7c015384a squishy: Add --with-server option to bundle server and deps
Matthew Wild <mwild1@gmail.com>
parents: 121
diff changeset
29 end

mercurial