Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Fix for NPE in xquery.functions.securitymanager.IdFunction #4671

Open
wants to merge 689 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
689 commits
Select commit Hold shift + click to select a range
a94bdef
build(deps): bump commons-io from 2.11.0 to 2.12.0
dependabot[bot] May 17, 2023
7ecd64f
Merge pull request #4928 from eXist-db/dependabot/maven/commons-io-co…
adamretter May 17, 2023
16d418d
Merge pull request #4927 from joewiz/remove-deprecated-variable-decla…
line-o May 17, 2023
b364aa7
[fix] castable as for untyped atomic value(s)
alanpaxton May 2, 2023
43ce5ff
Merge pull request #4900 from evolvedbinary/hotfix/eb-4518-castable-e…
reinhapa May 17, 2023
f8328b6
Merge pull request #4924 from evolvedbinary/enforce-index-use-modules
reinhapa May 17, 2023
1d26c97
build(deps): bump maven-scm-plugin from 2.0.0 to 2.0.1
dependabot[bot] May 19, 2023
8f92392
Merge pull request #4932 from eXist-db/dependabot/maven/org.apache.ma…
adamretter May 19, 2023
300e9c0
[feature] Use newer copy-maven-plugin which does not have CVE issues …
adamretter May 19, 2023
03681fc
build(deps): bump docker-maven-plugin from 0.42.1 to 0.43.0
dependabot[bot] May 22, 2023
fddbfd3
[bugfix] passing DB stored nodes to fn:transform
alanpaxton May 15, 2023
09a41b4
[test] document as parameter to fn:transform
alanpaxton May 22, 2023
e91e116
[bugfix] fn:transform include/import resolution
alanpaxton May 15, 2023
4398385
[ignore] optimize imports
alanpaxton May 16, 2023
d2ff547
Merge pull request #4934 from evolvedbinary/feature/update-copy-maven…
dizzzz May 22, 2023
b8ab1cd
build(deps): bump maven-source-plugin from 3.2.1 to 3.3.0
dependabot[bot] May 22, 2023
d136666
[bugfix] fn:transform resolve without a base
alanpaxton May 22, 2023
cb2fda5
build(deps): bump angus-mail from 2.0.1 to 2.0.2
dependabot[bot] May 23, 2023
cc82c0e
build(deps): bump maven-dependency-plugin from 3.5.0 to 3.6.0
dependabot[bot] May 23, 2023
c04e37b
[test] Improve coverage for fn:transform test
alanpaxton May 23, 2023
07c9267
[bugfix] Comparison on node identity was incorrect, and so too much d…
adamretter May 23, 2023
cc54a45
Merge pull request #4937 from eXist-db/dependabot/maven/org.eclipse.a…
adamretter May 23, 2023
4a633cc
build(deps): bump jakarta.mail-api from 2.1.1 to 2.1.2
dependabot[bot] May 23, 2023
d57f7bd
Merge pull request #4939 from eXist-db/dependabot/maven/jakarta.mail-…
adamretter May 23, 2023
889d36f
[refactor] Dockerfile: cleanup builder
duncdrum May 9, 2023
0d8b502
[bugfix] icu4j is not explicitly used by the eXist-db Lucene Index
adamretter May 23, 2023
7023597
Merge pull request #4936 from eXist-db/dependabot/maven/org.apache.ma…
adamretter May 23, 2023
761efbd
Merge pull request #4935 from eXist-db/dependabot/maven/io.fabric8-do…
adamretter May 23, 2023
bb19f7d
[bugfix] j8fu is not explicitly used by the eXist-db Range Index
adamretter May 23, 2023
17ef573
[feature] Upgrade from JAXB 3 to JAXB 4
adamretter May 23, 2023
8e324ab
[bugfix] xml-apis is not explicitly used by the eXist-db XQuery Image…
adamretter May 23, 2023
565cf3f
[bugfix] icu4j is not explicitly used by the eXist-db XMLDiff XQuery …
adamretter May 23, 2023
fd15b96
[bugfix] xml-apis is not explicitly used by the eXist-db Indexes Inte…
adamretter May 23, 2023
19da067
[bugfix] Use the correct Maven Module parent in eXist-db Indexes Inte…
adamretter May 23, 2023
0371b14
[bugfix] Use the correct artifact coordinates in 'ignoredUnusedDeclar…
adamretter May 23, 2023
48e406f
[bugfix] eXist-db Indexes Integration Tests should fail to verify if …
adamretter May 23, 2023
69681c5
[ignore] Improve the comment about why this is required
adamretter May 23, 2023
48261a8
[bugfix] passing DB stored nodes to fn:transform
alanpaxton May 24, 2023
4e2ef38
[bugfix] fn:transform URI resolution
alanpaxton May 25, 2023
e7d1ee4
[bugfix] codacy checks in fn:transform uri resn.
alanpaxton May 25, 2023
0fb3667
Merge pull request #4938 from eXist-db/dependabot/maven/org.apache.ma…
dizzzz May 26, 2023
d9096fa
Merge pull request #4941 from evolvedbinary/feature/upgrade-jaxb
dizzzz May 26, 2023
e7e7425
build(deps): bump maven-project-info-reports-plugin from 3.4.3 to 3.4.4
dependabot[bot] May 30, 2023
a323d8a
Merge pull request #4943 from eXist-db/dependabot/maven/org.apache.ma…
dizzzz May 30, 2023
fffd879
build(deps): bump xalan from 2.7.2 to 2.7.3
dependabot[bot] May 30, 2023
bbc03d4
Merge pull request #4930 from evolvedbinary/hotfix/eb-2061-nodeproxy-…
adamretter May 30, 2023
00aa699
[bugfix] document comment instead of line comment
alanpaxton May 30, 2023
958b396
Merge pull request #4931 from evolvedbinary/hotfix/eb-2061-transform-…
adamretter May 30, 2023
4f7bc7e
Merge pull request #4940 from evolvedbinary/hotfix/xqts-comparison
dizzzz May 30, 2023
9ec8832
Merge pull request #4859 from evolvedbinary/improve/githubactions
dizzzz May 31, 2023
fa0404e
build(deps): bump byte-buddy from 1.14.4 to 1.14.5
dependabot[bot] Jun 2, 2023
aeea189
Merge pull request #4947 from eXist-db/dependabot/maven/net.bytebuddy…
adamretter Jun 2, 2023
6283db9
build(deps): bump maven-release-plugin from 3.0.0 to 3.0.1
dependabot[bot] Jun 5, 2023
4b66ea1
Merge pull request #4948 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 5, 2023
891370c
build(deps): bump maven-failsafe-plugin from 3.1.0 to 3.1.2
dependabot[bot] Jun 7, 2023
dc91e30
build(deps): bump versions-maven-plugin from 2.15.0 to 2.16.0
dependabot[bot] Jun 7, 2023
c5bdf3c
build(deps): bump maven-surefire-report-plugin from 3.1.0 to 3.1.2
dependabot[bot] Jun 7, 2023
d5cc76a
build(deps): bump maven-project-info-reports-plugin from 3.4.4 to 3.4.5
dependabot[bot] Jun 7, 2023
14b2dc5
build(deps): bump maven-surefire-plugin from 3.1.0 to 3.1.2
dependabot[bot] Jun 7, 2023
9be83d0
Merge pull request #4953 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 7, 2023
a706681
Merge pull request #4954 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 7, 2023
3bf8005
Merge pull request #4952 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 7, 2023
2ca209b
Merge pull request #4951 from eXist-db/dependabot/maven/org.codehaus.…
adamretter Jun 7, 2023
b40dbcd
Merge pull request #4950 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 7, 2023
b41a74f
build(deps): bump commons-io from 2.12.0 to 2.13.0
dependabot[bot] Jun 8, 2023
efb1498
Merge pull request #4955 from eXist-db/dependabot/maven/commons-io-co…
adamretter Jun 8, 2023
c173e01
build(deps): bump dependency-check-maven from 8.2.1 to 8.3.1
dependabot[bot] Jun 13, 2023
e028452
Merge pull request #4959 from eXist-db/dependabot/maven/org.owasp-dep…
adamretter Jun 14, 2023
6b0011e
build(deps): bump maven-shade-plugin from 3.4.1 to 3.5.0
dependabot[bot] Jun 19, 2023
7a8852d
[bugfix] All JMX Beans should export a name
adamretter Jun 19, 2023
7073590
[ignore] Mark variables as 'final'
adamretter Jun 19, 2023
47157a2
[refactor] Switch from JMX CompositeData to TabularData for Running Q…
adamretter Jun 19, 2023
d367f42
Merge pull request #4962 from eXist-db/dependabot/maven/org.apache.ma…
adamretter Jun 19, 2023
5c3fe8c
[refactor] XQueryContext, MapUtil
line-o Mar 27, 2023
07465e8
[refactor] XQueryContext declare fields final
line-o Mar 27, 2023
2afdefe
[refactor] XQueryContext.getStringValue
line-o Mar 27, 2023
80025c2
[refactor] XQueryContext.importModuleFromLocation
line-o Mar 28, 2023
7aaae87
[refactor] XQueryContext.getOption
line-o Mar 28, 2023
ef017f8
[refactor] XQueryContext.loadDefaults for readability
line-o Mar 28, 2023
169511c
[refactor] minor improvements to XQueryContext
line-o Mar 28, 2023
601446a
Revert "[refactor] XQueryContext dynamic and static options"
line-o Mar 28, 2023
f0971d8
[ignore] Nullable annotations in XQueryContext
line-o Mar 28, 2023
c86e88b
[ignore] typos in XQueryContext JavaDoc
line-o Mar 28, 2023
c0a03ac
[refactor] reinstate behaviour in XQueryContext
line-o Mar 28, 2023
d9aa095
[refactor] XQueryContext.SavedState
line-o Mar 28, 2023
688ede8
[refactor] minor improvement in XQueryContext.addOption
line-o Mar 28, 2023
c2c61ee
[refactor] XQueryContext.addToMapValueArray
line-o Mar 28, 2023
fb095dc
[bugfix] use non-reifiable types again in XQueryContext
line-o Mar 29, 2023
ac07d12
[refactor] rename variables in XQueryContext for clarity
line-o Mar 29, 2023
c49646e
[ignore] minor changes to XQueryContext
line-o Mar 29, 2023
abec20a
[refactor] XQueryContext.declareFunction
line-o Mar 29, 2023
210b537
[refactor] remove unused Context.addLockedDocument
line-o Mar 29, 2023
dc02c3b
[refactor] rename Pragma static fields
line-o Mar 29, 2023
55ce29d
[refactor] Declare Optimizer.context and rewriters final
line-o Mar 29, 2023
d22ea07
[refactor] field modifier order in pragmas
line-o Mar 30, 2023
90a972d
build(deps): bump maven-clean-plugin from 3.2.0 to 3.3.1
dependabot[bot] Jun 21, 2023
7bdf96c
build(deps): bump xml-maven-plugin from 1.0.2 to 1.1.0
dependabot[bot] Jun 21, 2023
b326764
Merge pull request #4966 from eXist-db/dependabot/maven/org.codehaus.…
dizzzz Jun 21, 2023
89dfebf
Merge pull request #4965 from eXist-db/dependabot/maven/org.apache.ma…
dizzzz Jun 21, 2023
5a89e23
build(deps-dev): bump commons-codec from 1.15 to 1.16.0
dependabot[bot] Jun 22, 2023
eb14531
Merge pull request #4967 from eXist-db/dependabot/maven/commons-codec…
adamretter Jun 22, 2023
b897c94
Merge pull request #4963 from evolvedbinary/hotfix/jmx-tabular-data
dizzzz Jun 22, 2023
cf1c94c
[build] Use original CVE files
dizzzz Jun 28, 2023
f83c7fb
build(deps-dev): bump h2 from 2.1.214 to 2.2.220
dependabot[bot] Jul 6, 2023
2eaec1a
[fix] cardinality of CastExpression#toFunction
line-o Jul 6, 2023
1c22d6c
Merge pull request #4972 from eXist-db/dependabot/maven/com.h2databas…
adamretter Jul 6, 2023
39ee0f2
[bugfix] InputStream#available() should not be used to determine if t…
adamretter Jul 6, 2023
0eee357
[fix] CastConstructor#toFunction expected type
line-o Jul 7, 2023
6269954
[ignore] remove trailing whitespace
line-o Jul 7, 2023
45bce1b
Merge pull request #4973 from line-o/fix/4971
adamretter Jul 9, 2023
9d12efd
[bugfix] Ensure that results are returned from all collections, and n…
marmoure Apr 14, 2023
1ab822d
[test] Add multi-collection search tests for collections configured w…
marmoure Apr 14, 2023
06d5710
[cleanup] Remove now unneeded Optimizable#canOptimize(Sequence) funct…
adamretter Jul 10, 2023
b267e2d
[security] update xalan version including explicit reference to seria…
dizzzz Jul 10, 2023
540df9f
Merge pull request #4903 from eXist-db/dependabot/maven/xalan-xalan-2…
adamretter Jul 11, 2023
04c8c1f
[feature] add expireAfterWrite to cache configuration
Jul 11, 2023
cb4d8eb
Merge pull request #4977 from nverwer/feature/develop-cache-expireAft…
dizzzz Jul 12, 2023
deb1017
Merge pull request #4969 from eXist-db/dizzzz-patch-3
reinhapa Jul 14, 2023
42fb1d6
Merge pull request #4869 from evolvedbinary/fix/3620
line-o Jul 17, 2023
7edfaa5
Merge pull request #4838 from line-o/cleanup/xquerycontext
reinhapa Jul 17, 2023
fcf1a96
Merge pull request #4777 from line-o/test/refactor-serialization
reinhapa Jul 17, 2023
0a932f9
Merge pull request #4979 from evolvedbinary/hotfix/avoid-input-stream…
reinhapa Jul 18, 2023
1891a36
[bugfix] Correct function signatures that return empty sequences
joewiz Jul 19, 2023
a4a3824
Merge pull request #4980 from joewiz/hotfix/empty-sequence-signatures
line-o Jul 20, 2023
3ab502f
[test] Tests for incorrect facet count with field query. See https://…
adamretter Jul 22, 2023
0326e7d
build(deps): bump com.github.ben-manes.caffeine:caffeine
dependabot[bot] Jul 24, 2023
ae19eab
build(deps): bump org.junit.vintage:junit-vintage-engine
dependabot[bot] Jul 24, 2023
a79cfaa
[ignore] Code cleanup
adamretter Jul 22, 2023
2eb0109
[bugfix] Avoid 'null' in toString
adamretter Jul 22, 2023
662be62
[optimisation] Allocate lazily
adamretter Jul 22, 2023
846e351
[optimisation] Reuse visitor object
adamretter Jul 22, 2023
4cae468
[optimisation] Keep try-catch out of loop
adamretter Jul 22, 2023
7e25029
[feature] Possible future optimisation to reduce searches against the…
adamretter Jul 24, 2023
52176d9
[optimisation] Allow FilteredExpr and Union expression context sequen…
adamretter Jul 25, 2023
2f6d9c6
[optimisation] Allow pre-computed context sequence from FilteredExpr …
adamretter Jul 25, 2023
b5b349a
[bugfix] LuceneMatch equality was not computed correctly leading to t…
adamretter Jul 25, 2023
39e9ba2
[optimisation] Optimise for object identity equality
adamretter Jul 25, 2023
8f0172d
[test] Further tests for unions of bracketed elements with ft:query a…
adamretter Jul 25, 2023
8963f3f
[bugfix] Correct the null checks in equality of MatchTerm
adamretter Jul 26, 2023
209b535
[bugfix] Consider more variables in the equality comparison
adamretter Jul 26, 2023
dcfaf26
[hotfix] Log exception if the response is already committed
adamretter Jul 26, 2023
2df75ac
[bugfix] Correct the XDM type for the Sequence holding a representati…
adamretter Jul 26, 2023
b88bd50
build(deps): bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0
dependabot[bot] Jul 28, 2023
3ba25bd
Merge pull request #4995 from eXist-db/dependabot/maven/org.apache.co…
dizzzz Jul 28, 2023
0fbfc15
build(deps): bump io.fabric8:docker-maven-plugin from 0.43.0 to 0.43.2
dependabot[bot] Jul 31, 2023
1bcf1a9
Merge pull request #5000 from eXist-db/dependabot/maven/io.fabric8-do…
dizzzz Jul 31, 2023
1c16a8f
Merge pull request #4992 from evolvedbinary/hotfix/error-java-stack-x…
dizzzz Jul 31, 2023
606cf58
Merge pull request #4991 from evolvedbinary/hotfix/exist-servlet-log-…
dizzzz Jul 31, 2023
bbfe945
Merge pull request #4987 from eXist-db/dependabot/maven/org.junit.vin…
reinhapa Jul 31, 2023
852c671
Merge pull request #4986 from eXist-db/dependabot/maven/com.github.be…
reinhapa Jul 31, 2023
adf5d19
build(deps): bump junit.jupiter.version from 5.9.3 to 5.10.0
dependabot[bot] Jul 31, 2023
b17c9a6
Merge pull request #4988 from eXist-db/dependabot/maven/junit.jupiter…
reinhapa Jul 31, 2023
80ecc00
build(deps): bump com.fifesoft:rsyntaxtextarea from 3.3.3 to 3.3.4
dependabot[bot] Aug 2, 2023
3169b87
build(deps): bump jmh.version from 1.36 to 1.37
dependabot[bot] Aug 4, 2023
f98bcea
build(deps): bump com.github.ben-manes.caffeine:caffeine
dependabot[bot] Aug 10, 2023
f3301a3
Merge pull request #5003 from eXist-db/dependabot/maven/com.github.be…
adamretter Aug 10, 2023
7353752
Merge pull request #5001 from eXist-db/dependabot/maven/com.fifesoft-…
adamretter Aug 13, 2023
2604d77
Merge pull request #5002 from eXist-db/dependabot/maven/jmh.version-1.37
adamretter Aug 13, 2023
4125b82
build(deps): bump io.fabric8:docker-maven-plugin from 0.43.2 to 0.43.3
dependabot[bot] Aug 14, 2023
8e1e9ed
Merge pull request #5004 from eXist-db/dependabot/maven/io.fabric8-do…
adamretter Aug 14, 2023
1fea4d9
[feature] Allow the user to override the JDWP Suspend at Docker build…
adamretter Aug 14, 2023
38a7b21
build(deps): bump net.bytebuddy:byte-buddy from 1.14.5 to 1.14.6
dependabot[bot] Aug 15, 2023
791e72a
Merge pull request #5009 from eXist-db/dependabot/maven/net.bytebuddy…
adamretter Aug 15, 2023
f4616a4
build(deps): bump aspectj.version from 1.9.19 to 1.9.20
dependabot[bot] Aug 17, 2023
59ad179
Merge pull request #5011 from eXist-db/dependabot/maven/aspectj.versi…
adamretter Aug 17, 2023
3832ce8
build(deps): bump ant.version from 1.10.13 to 1.10.14
dependabot[bot] Aug 21, 2023
412bb1d
build(deps): bump io.fabric8:docker-maven-plugin from 0.43.3 to 0.43.4
dependabot[bot] Aug 21, 2023
872b83d
build(deps-dev): bump greenmail.version
dependabot[bot] Aug 21, 2023
d8e7535
build(deps): bump org.owasp:dependency-check-maven from 8.3.1 to 8.4.0
dependabot[bot] Aug 21, 2023
1e7ce11
build(deps): bump org.expath.packaging:pkg-java from 2.0.0 to 2.0.1
dependabot[bot] Aug 21, 2023
95e9c13
Merge pull request #5015 from eXist-db/dependabot/maven/greenmail.ver…
adamretter Aug 21, 2023
530baf2
Merge pull request #5013 from eXist-db/dependabot/maven/ant.version-1…
adamretter Aug 21, 2023
c9ae6bd
Merge pull request #5014 from eXist-db/dependabot/maven/io.fabric8-do…
adamretter Aug 21, 2023
76b9011
Merge pull request #5016 from eXist-db/dependabot/maven/org.owasp-dep…
adamretter Aug 21, 2023
4fff15a
Merge pull request #5017 from eXist-db/dependabot/maven/org.expath.pa…
adamretter Aug 21, 2023
0cd3dd2
[bugfix] Make sure filesystem paths are normalised
adamretter Aug 19, 2023
4a6313c
[ignore] Remove unused import
adamretter Aug 21, 2023
a21457e
[bugfix] Make sure to correctly setup the location so that transient …
adamretter Aug 19, 2023
04bf633
[refactor] rename Function.overloaded to variadic
line-o Aug 22, 2023
2281c66
[fix] remove variadic flag from functions
line-o Aug 22, 2023
e04765f
[test] multi value field lookup
line-o Aug 26, 2023
7fa1d00
Merge pull request #5021 from line-o/overloaded
reinhapa Aug 26, 2023
ba4a7b5
build(deps): bump net.bytebuddy:byte-buddy from 1.14.6 to 1.14.7
dependabot[bot] Aug 28, 2023
7f559cd
Merge pull request #5023 from eXist-db/dependabot/maven/net.bytebuddy…
dizzzz Aug 28, 2023
87b30fa
build: upgrade mavend
dizzzz Aug 28, 2023
c61ed91
Update ci-test.yml
dizzzz Aug 28, 2023
658b492
Merge pull request #5024 from eXist-db/dizzzz-patch-4
reinhapa Aug 28, 2023
221ef34
build(deps): bump tika.version from 2.8.0 to 2.9.0
dependabot[bot] Aug 29, 2023
827cdf1
build(deps): bump org.codehaus.izpack:izpack-maven-plugin
dependabot[bot] Aug 29, 2023
5d84513
Merge pull request #5026 from eXist-db/dependabot/maven/org.codehaus.…
dizzzz Aug 29, 2023
5be8b02
Merge pull request #5025 from eXist-db/dependabot/maven/tika.version-…
dizzzz Aug 29, 2023
577f3a5
Merge pull request #5018 from evolvedbinary/hotfix/expath-import-xque…
dizzzz Aug 30, 2023
4bbdec3
Merge pull request #5007 from evolvedbinary/feature/docker-debug-jdwp…
dizzzz Aug 30, 2023
1f6e7a2
[refactor] convert Configuration subclasses to records
line-o Mar 28, 2023
8c38def
[refactor] Configuration.loadModuleClasses
line-o Mar 28, 2023
5ca5dd9
[refactor] Configuration.configureXmlParser
line-o Mar 28, 2023
3ed5d38
[refactor] Configuration.configureScheduler
line-o Mar 28, 2023
2c6fae8
[refactor] Configuration.configureValidation
line-o Mar 28, 2023
bfa2608
[ignore] reorder methods
line-o Mar 28, 2023
cf7b385
[ignore] fix formatting in Configuration
line-o Mar 28, 2023
2fb9091
[refactor] Configuration for readability
line-o Mar 28, 2023
1a5168e
[refactor] Configuration.configureIndexer
line-o Mar 28, 2023
d8cda1c
[refactor] Configuration.configureBackend
line-o Mar 28, 2023
02bcfbb
[refactor] Configuration.lookupModuleClass
line-o Mar 28, 2023
0f69690
[refactor] Configuration.configureRecovery
line-o Mar 28, 2023
67010f9
[refactor] Configuration.configureValidation
line-o Mar 28, 2023
a5ad0dd
[refactor] additional changes to Configuration
line-o Mar 28, 2023
35dc52e
[bugfix] Configuration.configureIndexer
line-o Mar 30, 2023
d1807ad
[refactor] use static imports in Configuration.java
line-o Aug 30, 2023
9cb48ad
[refactor] cleanup ArrayType.java
line-o Aug 30, 2023
7b3cc5d
[refactor] address IDEA, Codacy and SonarCloud warnings and bugs in C…
line-o Aug 30, 2023
c35b33a
[refactor] make Configuration.config private final
line-o Aug 30, 2023
273ed1b
build(deps): bump jetty.version from 11.0.15 to 11.0.16
dependabot[bot] Aug 31, 2023
bf81c69
build(deps): bump org.easymock:easymock from 5.0.1 to 5.2.0
dependabot[bot] Aug 31, 2023
3b21178
Merge pull request #5032 from eXist-db/dependabot/maven/org.easymock-…
adamretter Aug 31, 2023
d31e81d
Merge pull request #5031 from eXist-db/dependabot/maven/jetty.version…
adamretter Aug 31, 2023
4c77bad
build(deps-dev): bump com.h2database:h2 from 2.2.220 to 2.2.222
dependabot[bot] Sep 4, 2023
7d88abd
build(deps): bump org.slf4j:slf4j-api from 2.0.7 to 2.0.9
dependabot[bot] Sep 4, 2023
5185571
Merge pull request #5035 from eXist-db/dependabot/maven/org.slf4j-slf…
reinhapa Sep 4, 2023
64bdf80
Merge pull request #5034 from eXist-db/dependabot/maven/com.h2databas…
reinhapa Sep 4, 2023
929f4fa
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
d0d511e
Merge pull request #5036 from eXist-db/dependabot/github_actions/acti…
adamretter Sep 4, 2023
207e972
build(deps): bump aspectj.version from 1.9.20 to 1.9.20.1
dependabot[bot] Sep 5, 2023
0af8640
Merge pull request #5039 from eXist-db/dependabot/maven/aspectj.versi…
dizzzz Sep 6, 2023
12c36fe
[test] Add test for over-allocation of components size
adamretter Sep 10, 2023
d666b87
[test] Add test for reset strategy for over-allocation
adamretter Sep 10, 2023
b7b4db1
[test] Test for bug in NodePath where NodePath equality fails after o…
adamretter Sep 10, 2023
a843097
[bugfix] Fix a bug in NodePath#equals(Object) where it was not correc…
adamretter Sep 10, 2023
e686599
[optimise] Optimise the memory allocation/free strategy used by NodeP…
adamretter Sep 10, 2023
4fd42e4
[optimise] Optimise the memory allocation/free strategy used by NodeP…
adamretter Sep 10, 2023
0356f5c
[optimise] Use a power of 2 for the array size
adamretter Sep 10, 2023
f0c778a
[bugfix] When looking at QName#toString() output, e.g. when debugging…
adamretter Sep 10, 2023
b7582d1
[bugfix] Correct the difference between QName#getStringValue() and QN…
adamretter Sep 10, 2023
57dc0ce
[bugfix] Fix an issue in the XQuery Inspection Module whereby QName#t…
adamretter Sep 10, 2023
5c8fccb
[bugfix] Fix an issue in the XQuery function util:describe-function#1…
adamretter Sep 10, 2023
a4a0ba9
build(deps): bump org.apache.commons:commons-compress
dependabot[bot] Sep 11, 2023
2f8b967
Merge pull request #5049 from eXist-db/dependabot/maven/org.apache.co…
reinhapa Sep 11, 2023
0f5ebe1
[bugfix] increase the maven daemon timeout
reinhapa Sep 11, 2023
9ba8b3d
[bugfix] increase single thread sleep to 15ms
reinhapa Sep 12, 2023
59809d8
Merge pull request #5047 from evolvedbinary/hotfix/nodepath-allocatio…
reinhapa Sep 12, 2023
33dd3d0
Merge pull request #4989 from evolvedbinary/hotfix/facets-bracketed-e…
reinhapa Sep 12, 2023
d512df8
Merge pull request #5054 from reinhapa/mvnd-windows
dizzzz Sep 12, 2023
42c5bf0
[ignore] remove unnecessary parentheses
line-o Sep 12, 2023
f24b781
Merge pull request #4839 from line-o/cleanup/configuration
reinhapa Sep 12, 2023
5010419
build(deps): bump com.fasterxml.uuid:java-uuid-generator
dependabot[bot] Sep 13, 2023
1a3d453
Merge pull request #5058 from eXist-db/dependabot/maven/com.fasterxml…
reinhapa Sep 13, 2023
2fe3f0d
build(deps-dev): bump jakarta.xml.bind:jakarta.xml.bind-api
dependabot[bot] Sep 15, 2023
93bb59d
Merge pull request #5060 from eXist-db/dependabot/maven/jakarta.xml.b…
reinhapa Sep 15, 2023
cc8dba6
fix for [BUG] NPE in org.exist.xquery.functions.securitymanager.IdFu…
Jan 9, 2023
a2b5d9c
Merge remote-tracking branch 'nverwer/hotfix/4670-npe-in-IdFunction' …
Sep 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
89 changes: 89 additions & 0 deletions .github/actions/install-mvnd/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: 'install-mvnd'
description: 'Install the Maven Daemon'
inputs:
version:
description: 'The version of the Maven Daemon to install'
required: true
default: '0.9.0'
file-version-suffix:
description: 'A suffix to append to the version of the download file of Maven Daemon to install'
required: false
default: ''
install-path:
description: 'The folder in which Maven Daemon will be installed as a sub-folder'
required: true
default: '/tmp'
cache:
description: 'Set to true to cache Maven Daemon artifacts per-platform-architecture'
required: true
default: 'true'
mvnd-connect-timeout:
description: 'The timeout (as a duration, e.g. `90 seconds`) for connecting to the Maven Daemon'
required: true
default: '90 seconds'
outputs:
mvnd-dir:
description: "The directory where the command mvnd is located"
value: ${{ steps.mvnd-location.outputs.mvnd-dir }}
runs:
using: "composite"
steps:
- name: Determine mvnd platform and architecture
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
MVND_PLATFORM="linux"
elif [ "$RUNNER_OS" == "macOS" ]; then
MVND_PLATFORM="darwin"
elif [ "$RUNNER_OS" == "Windows" ]; then
MVND_PLATFORM="windows"
else
"echo Unknown platform: $RUNNER_OS"
exit 1
fi
MVND_ARCHITECTURE="amd64"
echo "MVND_PLATFORM=${MVND_PLATFORM}" >> $GITHUB_ENV
echo "MVND_ARCHITECTURE=${MVND_ARCHITECTURE}" >> $GITHUB_ENV
echo "MVND_NAME=maven-mvnd-${{ inputs.version }}${{ inputs.file-version-suffix }}-${MVND_PLATFORM}-${MVND_ARCHITECTURE}" >> $GITHUB_ENV
- name: Cache mvnd
if: inputs.cache == 'true'
id: cache-mvnd
uses: actions/cache@v3
with:
path: |
${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip
${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256
${{ inputs.install-path }}/${{ env.MVND_NAME }}
key: setup-${{ env.MVND_NAME }}
- name: Download mvnd
if: steps.cache-mvnd.outputs.cache-hit != 'true'
shell: bash
run: |
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip
curl -fsSL -o ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256 https://archive.apache.org/dist/maven/mvnd/${{ inputs.version }}/${{ env.MVND_NAME }}.zip.sha256
- name: Install sha256sum (macOS)
if: ${{ runner.os == 'macOS' }}
shell: bash
run: brew install coreutils
- name: Verify mvnd sha256 checksum
shell: bash
run: echo "$(cat ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip.sha256) ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip" | sha256sum --check
- name: Unzip mvnd
if: steps.cache-mvnd.outputs.cache-hit != 'true'
shell: bash
run: unzip ${{ inputs.install-path }}/${{ env.MVND_NAME }}.zip -d ${{ inputs.install-path }}/
- name: Show Maven Daemon version
shell: bash
run: |
${{ inputs.install-path }}/${{ env.MVND_NAME }}/bin/mvnd -D'mvnd.connectTimeout=${{ inputs.mvnd-connect-timeout }}' --version
${{ inputs.install-path }}/${{ env.MVND_NAME }}/bin/mvnd -D'mvnd.connectTimeout=${{ inputs.mvnd-connect-timeout }}' --status
- name: Set mvnd-dir
id: mvnd-location
shell: bash
run: |
MVND_BIN_DIR="${{ inputs.install-path }}/${{ env.MVND_NAME }}/bin"
if [ "$RUNNER_OS" == "Windows" ]; then
MVND_BIN_DIR="$(cygpath --absolute --long-name --windows $MVND_BIN_DIR)"
fi
echo "MVND_BIN_DIR=${MVND_BIN_DIR}" >> $GITHUB_ENV
echo "mvnd-dir=${MVND_BIN_DIR}" >> $GITHUB_OUTPUT
34 changes: 7 additions & 27 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
version: 2
updates:
- package-ecosystem: maven
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
interval: "weekly"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
time: "03:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: com.github.ben-manes.caffeine:caffeine
versions:
- ">= 3.a, < 4"
- dependency-name: org.apache.lucene:lucene-analyzers-common
versions:
- ">= 8.a, < 9"
Expand All @@ -28,31 +29,10 @@ updates:
- dependency-name: org.apache.lucene:lucene-queryparser
versions:
- ">= 8.a, < 9"
- dependency-name: org.aspectj:aspectjrt
versions:
- "> 1.9.4, < 1.10"
- dependency-name: org.aspectj:aspectjtools
versions:
- "> 1.9.4, < 1.10"
- dependency-name: net.sf.saxon:Saxon-HE
versions:
> "9"
- dependency-name: org.hsqldb:hsqldb
versions:
- 2.6.0
- dependency-name: com.ibm.icu:icu4j
versions:
- "69.1"
- dependency-name: com.sun.mail:jakarta.mail
versions:
- 2.0.1
- dependency-name: com.sun.activation:jakarta.activation
versions:
- 2.0.1
- dependency-name: com.mycila:license-maven-plugin
versions:
- "4.0"
- 4.0.rc2
- dependency-name: org.owasp:dependency-check-maven
versions:
- 6.1.3
- "4.0.rc2"
20 changes: 10 additions & 10 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ jobs:
# NOTE (DP): Publish on develop and master, test on PRs against these
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.base_ref == 'develop' || github.base_ref == 'master'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up JDK 8
uses: actions/setup-java@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
java-version: '17'
- name: Make buildkit default
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
id: buildx
with:
install: true
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
key: deploy-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: deploy-${{ runner.os }}-maven
- name: Install bats
run: sudo apt-get install bats
- name: Build images
run: mvn -V -B -q -Pdocker -DskipTests -Ddependency-check.skip=true clean package
run: mvn -V -B -q -Pdocker -DskipTests -Ddependency-check.skip=true -P !mac-dmg-on-unix,!installer,!concurrency-stress-tests,!micro-benchmarks,skip-build-dist-archives clean package
- name: Check local images
run: docker image ls
- name: Check license headers
Expand Down Expand Up @@ -66,6 +66,6 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
# run: mvn -Ddocker.tag=experimental -Ddocker.username=$DOCKER_USERNAME -Ddocker.password=$DOCKER_PASSWORD docker:build docker:push
# run: mvn -q -Ddocker.tag=experimental -Ddocker.username=$DOCKER_USERNAME -Ddocker.password=$DOCKER_PASSWORD docker:build docker:push
# working-directory: ./exist-docker

31 changes: 0 additions & 31 deletions .github/workflows/ci-docs.yml

This file was deleted.

73 changes: 54 additions & 19 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,80 @@
name: Test
name: Test & documentation
on: [push, pull_request]
permissions:
contents: read
env:
MAVEN_OPTS: -XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=./ -DtrimStackTrace=false -D'maven.resolver.transport=wagon'
DEV_JDK: '17'
jobs:
license:
name: License check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ env.DEV_JDK }}
cache: 'maven'
- run: mvn -V -B license:check
timeout-minutes: 60
dependencies:
name: Dependency checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ env.DEV_JDK }}
cache: 'maven'
- run: mvn -V -B dependency-check:check
timeout-minutes: 60
test:
name: (JDK ${{ matrix.jdk }} / ${{ matrix.os }}) Test
env:
MAVEN_OPTS: -XX:+IgnoreUnrecognizedVMOptions --illegal-access=debug -XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=./
name: ${{ matrix.os }} Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
jdk: ['8', '11']
include:
- os: ubuntu-latest
jdk: '16'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
java-version: ${{ env.DEV_JDK }}
cache: 'maven'
- name: Install Maven Daemon
id: install-mvnd
uses: ./.github/actions/install-mvnd
with:
version: '1.0-m7'
file-version-suffix: '-m39'
cache: 'true'
- name: Maven Build
timeout-minutes: 10
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B -T 1C compile test-compile -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip'
- name: Maven Test
timeout-minutes: 60
run: mvn -V -B -DtrimStackTrace=false clean verify
continue-on-error: ${{ matrix.jdk == '16' }}
- name: Maven Code Coverage
if: ${{ github.ref == 'refs/heads/develop' && matrix.jdk == '8' && matrix.os == 'ubuntu-latest' }}
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B verify -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' -D'mvnd.maxLostKeepAlive=6000'
- name: Javadoc (Linux only)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B -q -T 1C install javadoc:javadoc -DskipTests -D'dependency-check.skip' -D'license.skip' --projects '!exist-distribution,!exist-installer' --also-make
- name: Maven Code Coverage (Develop branch on Linux only)
if: ${{ github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' }}
env:
CI_NAME: github
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
CI_BUILD_NUMBER: ${{ github.run_id }}
CI_BUILD_URL: https://github.com/${{ github.repository }}/commit/${{ github.event.after }}/checks
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: mvn -V -B jacoco:report coveralls:report
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B jacoco:report coveralls:report
- name: Archive build logs
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-jdk${{ matrix.jdk }}-build-logs
name: ${{ runner.os }}-build-logs
retention-days: 5
path: |
**/*.jfr
Expand Down
50 changes: 42 additions & 8 deletions .github/workflows/ci-xqts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,58 @@ jobs:
name: W3C XQuery Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
cache: 'maven'
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: xqts-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: xqts-${{ runner.os }}-maven
- name: Maven XQTS Build
run: mvn -V -B clean package -DskipTests -Ddependency-check.skip=true --projects exist-xqts --also-make
- name: Run XQTS
timeout-minutes: 60
env:
JAVA_OPTS: -XX:+UseG1GC -XX:+UseStringDeduplication
run: find exist-xqts/target -name exist-xqts-runner.sh -exec {} --xqts-version HEAD --output-dir /tmp/xqts-output \;
JAVA_OPTS: -XX:+UseZGC -Xmx6g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -XX:+ExitOnOutOfMemoryError
run: find exist-xqts/target -name exist-xqts-runner.sh -exec {} --xqts-version HEAD --output-dir /tmp/xqts-output --exclude-test-case RangeExpr-411d,RangeExpr-409d,RangeExpr-408d,RangeExpr-409c,RangeExpr-408c,GenCompEq-21 \;
- name: Check for HeapDump
id: check_heapdump
uses: andstor/file-existence-action@v2
with:
files: "/tmp/*.hprof"
- name: Compress HeapDump
if: steps.check_heapdump.outputs.files_exists == 'true'
run: zstd --rm -9 --progress -T0 /tmp/*.hprof
- name: Attach HeapDump artifact
if: steps.check_heapdump.outputs.files_exists == 'true'
uses: actions/upload-artifact@v3
with:
name: exist-xqts-runner-hprof
retention-days: 1
path: /tmp/*.hprof.zst
- name: Archive XQTS Logs
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: xqts-logs
retention-days: 14
path: /tmp/xqts-output
- name: Get Previous XQTS Logs Artifacts JSON
run: 'curl -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/exist-db/exist/actions/artifacts?name=xqts-logs > /tmp/previous-xqts-logs-artifacts.json'
- name: Extract Previous XQTS Logs Artifact JSON
run: cat /tmp/previous-xqts-logs-artifacts.json | jq -r "[.artifacts[] | select(.workflow_run.head_branch == \"develop\")][1].archive_download_url" > /tmp/previous-xqts-logs-artifact.json
- name: Get Previous XQTS Logs Artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'cat /tmp/previous-xqts-logs-artifact.json | xargs curl -H "Authorization: Bearer ${GITHUB_TOKEN}" --location --output /tmp/previous-xqts-output.zip'
- name: Extract Previous XQTS Logs Artifact
run: mkdir /tmp/previous-xqts-output && unzip /tmp/previous-xqts-output.zip -d /tmp/previous-xqts-output
- name: Compare Previous and Current XQTS Logs
run: java -jar ~/.m2/repository/net/sf/saxon/Saxon-HE/9.9.1-8/Saxon-HE-9.9.1-8.jar -xsl:exist-xqts/src/main/xslt/compare-results.xslt -it:compare-results -o:/tmp/comparison-results.xml xqts.previous.junit-data-path=/tmp/previous-xqts-output/junit/data xqts.current.junit-data-path=/tmp/xqts-output/junit/data
- name: Show Comparison Results
run: cat /tmp/comparison-results.xml
Loading