Skip to content

merge v2.13.8 tag to sbt-1.5 branch #5

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

Merged
merged 676 commits into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
676 commits
Select commit Hold shift + click to select a range
266b1a9
Merge pull request #9709 from som-snytt/tweak/condopt
lrytz Jul 26, 2021
36c85c1
Fix Stream.iterator memory leak
htmldoug Jul 26, 2021
fd3fb31
Merge pull request #9710 from htmldoug/2.13.x-Stream-iterator-leak
lrytz Jul 27, 2021
9379c63
Format typo in ClassfileAnnotation docs
dwijnand Jul 27, 2021
39c9d85
Merge pull request #9711 from scala/ClassfileAnnotation-docs-fix
lrytz Jul 27, 2021
4ede583
Merge pull request #9677 from SethTisue/jdk17
SethTisue Jul 27, 2021
ea9ca65
Teach backend to emit `iinc` instructions
harpocrates Jul 30, 2021
3081265
Merge pull request #9713 from harpocrates/alec/iinc
lrytz Jul 30, 2021
8f623f7
Advice 1:1 replacement
martijnhoekstra Aug 1, 2021
cf49782
Error on bad unapplySeq type
som-snytt Aug 1, 2021
f1eca7b
fix scala/bug#12420: complete LambdaType param symbols lazily
bishabosha Jul 28, 2021
3f06ac7
Merge pull request #9687 from som-snytt/issue/1406
SethTisue Aug 2, 2021
f7a97c1
Merge pull request #9714 from martijnhoekstra/martijnhoekstra-patch-2
SethTisue Aug 3, 2021
d89a951
Merge pull request #9715 from som-snytt/issue/9538
SethTisue Aug 3, 2021
161380e
Merge pull request #9716 from scalacenter/tasty/lazier-lambda-param
lrytz Aug 3, 2021
782888a
Align 'show type/AST' help with actual keybinding
retronym Aug 4, 2021
ddac496
Change show-type shortcut to ctrl-alt-T
retronym Aug 4, 2021
34f1d09
Align JNA version with that used in by latest jline
retronym Aug 5, 2021
a85cbf4
Deprecate ad hoc group names with Regex and .r
sjrd Aug 6, 2021
90b8986
Clean up junit test
som-snytt Aug 6, 2021
cdbc4b8
optimise ArraySeq.map
RafalSumislawski Aug 8, 2021
0e77c42
Merge pull request #9656 from retronym/ticket/12267-completion-matcher
retronym Aug 9, 2021
5534526
Merge pull request #9719 from som-snytt/tweak/junit
lrytz Aug 9, 2021
6bf50e3
Merge pull request #9703 from joroKr21/expand-name
joroKr21 Aug 9, 2021
164b9c5
Merge pull request #9718 from sjrd/deprecate-old-regex-named-groups-api
lrytz Aug 9, 2021
d978429
Merge pull request #9672 from som-snytt/issue/12408
lrytz Aug 9, 2021
2814148
Only issue 'unused nowarn' warnings when there are no errors
lrytz Aug 9, 2021
95e6071
remove unnecessary asInstanceOf and move benchmark initialisation to …
RafalSumislawski Aug 9, 2021
64ea1d1
Deprecate using Scala 3 hard keywords as identifiers
smarter Aug 9, 2021
0cecad3
Allow `case` in pattern bindings even without -Xsource:3
smarter Aug 9, 2021
952ac46
Merge pull request #9723 from lrytz/t12433
SethTisue Aug 11, 2021
2149b97
Merge pull request #9721 from smarter/case-without-future
dwijnand Aug 11, 2021
a5bc093
Fix `isStaticAnnotation` for un-initialized Java annotations
lrytz Aug 11, 2021
5cc8ebb
Merge pull request #9725 from lrytz/fixJavaStaticAnn
lrytz Aug 12, 2021
e4b467a
Not-private fields are not final in bytecode
joroKr21 Jul 13, 2021
758cdca
Make fields assigned in specialized constructors mutable
joroKr21 Jul 16, 2021
489c5c9
Mark constructors that need a releseFence in specialize
lrytz Aug 16, 2021
31f4f77
Fix ArraySeq/Vector array sharing optimization in Vector.from
retronym Aug 17, 2021
6e5187e
Merge pull request #9704 from joroKr21/not-private
lrytz Aug 17, 2021
2c3e8b6
Only deprecate using a Scala 3 keyword as an identifier for definitions
smarter Aug 17, 2021
63893be
remove Whitesource
SethTisue Aug 18, 2021
b639823
Merge pull request #9729 from SethTisue/bye-bye-whitesource
lrytz Aug 18, 2021
574655a
Merge pull request #9728 from retronym/topic/vector-from
lrytz Aug 18, 2021
5ff8a87
Merge pull request #9722 from smarter/deprecate-kw
lrytz Aug 18, 2021
d8515fa
fix scala/bug#12399: add tests
bishabosha Aug 18, 2021
029ebb7
Merge pull request #9731 from scalacenter/tasty/opaque-pkg-object
lrytz Aug 19, 2021
32539b2
fix scala/bug#12409: tasty - fix case class apply default params
bishabosha Aug 18, 2021
0b7a8ba
Merge pull request #9730 from scalacenter/tasty/default-params
lrytz Aug 19, 2021
80804cf
Merge pull request #9720 from RafalSumislawski/improve-arrayseq-map
lrytz Aug 19, 2021
9f3f4c3
Update and reorganize benchmarks readme to be less confusing
SethTisue Aug 12, 2021
882b1b0
Add ArrayBufferBenchmark
SethTisue Aug 12, 2021
7f14a79
[bug#12121] Add test for inserting an ArrayBuffer into itself
NthPortal Sep 21, 2020
3e1aad3
[bug#12009] Make ArrayBuffer's iterator fail-fast
NthPortal Sep 2, 2020
215d029
Do not compute size in TrieMap#isEmpty
NthPortal Aug 11, 2021
2cf1935
Merge pull request #9726 from NthPortal/topic/TrieMap-fixes/PR
lrytz Aug 23, 2021
b13ebd7
Fix concurrent.Map#{filterInPlace,mapValuesInPlace}
NthPortal Aug 21, 2021
891e58b
Merge pull request #9727 from NthPortal/topic/TrieMap-fixes-2/PR
lrytz Aug 24, 2021
3af1547
Allow `import x.{*, given}` under -Xsource:3
smarter Aug 10, 2021
c16fc01
Allow `import x.{*, given}` under -Xsource:3
smarter Aug 10, 2021
cd3693d
Require backticks when defining a type called `?`
smarter Aug 24, 2021
8bbc323
Merge pull request #9724 from smarter/star-given
lrytz Aug 25, 2021
f9acc3d
Merge pull request #9736 from smarter/backport-star-given
lrytz Aug 25, 2021
f2f9ae9
Advertise that -Xsource:3 can be used to enable ? as a wildcard
smarter Aug 24, 2021
8c3abff
Merge pull request #9735 from smarter/qmark-def-error
dwijnand Aug 26, 2021
4bfd6ae
Fix inverted condition in s.c.c.Map#filterInPlaceImpl
NthPortal Aug 26, 2021
072e68e
Merge pull request #9737 from NthPortal/bugfix/TrieMap-filterInPlace/PR
NthPortal Aug 27, 2021
aeda5d1
VM.RELEASE_FENCE catches NoSuchMethodException for java.lang.invoke.V…
nwk37011 Aug 27, 2021
9be10ed
Allow `case` in pattern bindings even without -Xsource:3
smarter Aug 9, 2021
23a6d50
Merge pull request #9740 from smarter/backport-case-without-future
lrytz Aug 27, 2021
791870b
Extra help for stable ident pattern not found
som-snytt Aug 27, 2021
98cdb38
Fix scala/bug#8493 - add regression test
joroKr21 Aug 28, 2021
351482a
Merge pull request #9742 from joroKr21/t8493
NthPortal Aug 28, 2021
b12d7ae
Merge branch '2.13.x' into topic/safe-iterators-2/PR
SethTisue Aug 30, 2021
5f25002
Merge pull request #9258 from NthPortal/topic/safe-iterators-2/PR
joroKr21 Aug 30, 2021
8f8d86e
Merge commit 'aefd360989' into merge-2.12.x-to-2.13.x-20210831
SethTisue Aug 31, 2021
539f1ac
Merge commit 'b639823ec7' into merge-2.12.x-to-2.13.x-20210831
SethTisue Aug 31, 2021
8e237b9
Merge remote-tracking branch 'origin/2.12.x' into merge-2.12.x-to-2.1…
SethTisue Aug 31, 2021
72e46c8
fix scala/bug#12449: keep ThisType prefix in more places
bishabosha Aug 19, 2021
607c3c8
refactor tasty sources
bishabosha Aug 23, 2021
a4681a6
Merge pull request #9746 from scalacenter/tasty/fix-munit
lrytz Sep 1, 2021
5803055
Merge pull request #9745 from SethTisue/merge-2.12.x-to-2.13.x-20210831
SethTisue Sep 1, 2021
e5529f6
Add specialized builder for s.c.i.SeqMap
NthPortal Aug 27, 2021
0772072
Merge pull request #9738 from som-snytt/tweak/error-message
SethTisue Sep 1, 2021
ef87850
Merge pull request #9741 from NthPortal/topic/SeqMap-specialised-buil…
lrytz Sep 1, 2021
8d4e233
skip a few projects in bsp export
lrytz Sep 2, 2021
768001e
Merge pull request #9739 from nwk37011/releasefence_exception
lrytz Sep 2, 2021
77f0ba8
Merge pull request #9747 from lrytz/bsp
lrytz Sep 2, 2021
3494a13
Prevent compilation of library/reflect/compiler on bsp import
lrytz Sep 2, 2021
4f5bdff
Merge pull request #9749 from lrytz/bsp
dwijnand Sep 2, 2021
d6fcac3
Small build cleanup
lrytz Sep 3, 2021
d14559c
re-enable bsp in root project to restore build.sbt support in IntelliJ
lrytz Sep 3, 2021
3b4daff
ISSUE-12393: Parse concrete private interface methods in Java
Sep 2, 2021
90ca82a
Merge pull request #9750 from lrytz/build
SethTisue Sep 3, 2021
42bfebf
Fix BTypes.LONG.maxValueType(BTypes.FLOAT)
GreenRecycleBin Sep 5, 2021
81de907
Refactor BTypesTest#typedOpcodes
GreenRecycleBin Sep 5, 2021
8f9416d
Use AssertUtil.assertThrows instead of try-catch
GreenRecycleBin Sep 6, 2021
d2275f8
Merge pull request #9748 from dengziming/ISSUE-12393
lrytz Sep 8, 2021
b2b0041
Optimise TrieMap methods by using eq
NthPortal Aug 24, 2021
00c4865
Merge pull request #9733 from NthPortal/topic/TrieMap-opt/PR
lrytz Sep 9, 2021
0eb49ce
Change `private[concurrent]` for methods used outside `concurrent`
lrytz Sep 9, 2021
7247dfe
Merge pull request #9753 from lrytz/pr9733-fixup
lrytz Sep 9, 2021
f09c286
add comments to Travis-CI config
SethTisue Sep 14, 2021
ca9c932
re-encrypt SONA_USER and SONA_PASS
SethTisue Sep 14, 2021
96a6669
Merge pull request #9759 from SethTisue/redo-secrets
SethTisue Sep 14, 2021
829163c
Fix #12459: Warn instead of error if TASTy is not in sync with classfile
jjudd Sep 11, 2021
7d7daa6
Merge pull request #9755 from jjudd/tasty-uuid-warning-to-error
lrytz Sep 14, 2021
ae7669b
re-STARR on 2.12.15
SethTisue Sep 14, 2021
afec194
Merge pull request #9760 from SethTisue/restarr-on-2.12.15
SethTisue Sep 14, 2021
ec0b07f
Merge pull request #9751 from GreenRecycleBin/issue-11253
SethTisue Sep 15, 2021
3ae1f5f
Fix range position end for infix calls
lrytz Sep 16, 2021
1fccf71
Merge pull request #9761 from lrytz/infix-rangepos
lrytz Sep 17, 2021
be04c97
Avoid `case _: C[_]#K` type test for higher-kinded `C`
lrytz Sep 17, 2021
3522d03
Merge pull request #9762 from lrytz/wildcard-kind
lrytz Sep 17, 2021
94a1f86
test on JDK 18-ea
SethTisue Sep 21, 2021
66e8d34
Merge pull request #9764 from SethTisue/jdk18
lrytz Sep 22, 2021
e105c2e
Remove unused AssertUtil.assert8.
sjrd Sep 22, 2021
704fbf1
Merge pull request #9766 from sjrd/remove-assert8-in-assertutil
SethTisue Sep 22, 2021
7615039
Minor cleanup of ScalaCheck properties
NthPortal Sep 24, 2021
faacba3
Module does not trigger missing interpolator
som-snytt Sep 26, 2021
a3dca98
Revert "test on JDK 18-ea"
SethTisue Sep 28, 2021
e217a8e
Merge pull request #9770 from SethTisue/jdk17-ga
SethTisue Sep 28, 2021
e5af544
test to ensure collection conversions conserve immutable
lrytz Sep 28, 2021
82c1507
Windows CI: test on 17 final (not early-access)
SethTisue Sep 29, 2021
29b30fd
Merge pull request #9772 from SethTisue/jdk17-ga
SethTisue Sep 29, 2021
4b06f12
Merge commit '96a666989b' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
1995d4d
Merge commit 'afec194c1f' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
1c9f664
Merge commit 'ec0b07ffe2' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
294c178
Merge commit '1fccf71acf' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
377aa04
Merge commit '3522d0335d' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
207c01b
Merge pull request #9771 from lrytz/conserveTest
lrytz Sep 29, 2021
f410069
reduce usages of toIterable
lrytz Sep 29, 2021
375ed48
deprecate IterableOps.toIterable
lrytz Sep 29, 2021
158c05b
clean up ToConserveTest
lrytz Sep 29, 2021
fbb7794
fix t2318 on JDK 17
SethTisue Sep 29, 2021
3e5a371
Merge pull request #9775 from SethTisue/t2318-jdk17
SethTisue Sep 30, 2021
c3b974f
emit deprecations for classOf arguments
lrytz Sep 30, 2021
bd2e028
Merge commit '29b30fd468' into merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 29, 2021
531db50
Merge pull request #9773 from SethTisue/merge-2.12.x-to-2.13.x-20210928
SethTisue Sep 30, 2021
e41a0cc
Merge pull request #9774 from lrytz/deprecate-toIterable
NthPortal Sep 30, 2021
0a8b8b9
Merge pull request #9768 from NthPortal/topic/scalacheck-cleanup
lrytz Oct 4, 2021
1fba2e5
AdoptOpenJDK is now Temurin
SethTisue Oct 4, 2021
7faf0fb
Merge pull request #9779 from SethTisue/temurin
SethTisue Oct 4, 2021
1805d88
revert bad change to spec publishing
SethTisue Oct 5, 2021
a60217a
sigh. fix spec publishing fix
SethTisue Oct 5, 2021
fcd512a
Merge pull request #9769 from som-snytt/tweak/avoid
SethTisue Oct 5, 2021
147155a
Merge pull request #9776 from lrytz/classOfDeprecation
SethTisue Oct 5, 2021
c178b41
Disallow toplevel wildcard type param
som-snytt Jul 27, 2021
13a981a
Enhance warning message in the GeneratedClassHandler
danicheg Oct 6, 2021
933b3c6
Merge pull request #9712 from som-snytt/issue/5606
SethTisue Oct 7, 2021
802efaf
Merge pull request #9780 from danicheg/statistics-warning-msg
lrytz Oct 7, 2021
2f65f62
[backport] emit deprecations for classOf arguments
lrytz Sep 30, 2021
7413b09
Merge pull request #9781 from lrytz/classOfDeprecationBackport
lrytz Oct 7, 2021
675a7c0
Add more addAll benchmarks for `ArrayBuffer`
NthPortal Aug 30, 2021
447a22b
[bug#12284] Ensure `ArrayBufferView` is consistent with its buffer
NthPortal Aug 30, 2021
eed4f01
Fix unreported bug in `ArrayOps.ArrayIterator`
NthPortal Sep 24, 2021
8853372
Fix unreported bug in `View.Patched`
NthPortal Sep 2, 2021
6317151
Fix outer tests when pattern has a refined prefix
dwijnand Oct 1, 2021
0b7c7b4
Merge pull request #9777 from dwijnand/fix-outer-test-with-refined-pr…
lrytz Oct 11, 2021
5a4e273
Merge pull request #9388 from NthPortal/topic/fix-ArrayBufferView/PR
NthPortal Oct 12, 2021
b755e64
Update `ArrayBuffer#mutationCount` more precisely
NthPortal Oct 12, 2021
ca88d99
Add `insertAll` benchmarks for `ArrayBuffer`
NthPortal Oct 12, 2021
6c9dd4d
ClassValueCompat to support systems without java.lang.ClassValue
lrytz Oct 12, 2021
12ff1e3
Merge pull request #9752 from nwk37011/classvaluecompat
lrytz Oct 12, 2021
548c776
one more try at fixing spec publishing
SethTisue Oct 12, 2021
e228998
forward-port PR 9751 test case to 2.13.x
SethTisue Oct 12, 2021
db9b07c
suppress JDK 17 deprecation warning in ModuleSerializationProxy
SethTisue Oct 12, 2021
525b99b
Merge pull request #9784 from SethTisue/forward-port-9751
SethTisue Oct 12, 2021
1b840d3
Merge pull request #9785 from SethTisue/suppress-jdk17-warning
SethTisue Oct 12, 2021
6013cd3
Deprecate anyVal.formatted(formatString)
lrytz Oct 12, 2021
0c84876
Merge pull request #9783 from lrytz/formatted
lrytz Oct 13, 2021
ca6ca6c
clean up deprecation warning suppression
SethTisue Oct 13, 2021
7be703e
Merge pull request #9788 from SethTisue/deprecation-cleanup
lrytz Oct 14, 2021
36393e6
Fix documentation for filter
megri Oct 20, 2021
e020f93
Merge pull request #9789 from megri/patch-1
NthPortal Oct 20, 2021
82a5a39
Add -Vimplicits-max-modules option to control how types are printed i…
mrdziuban Sep 23, 2021
96c5b42
Only truncate qualified types when full path is a shorthand type.
mrdziuban Oct 21, 2021
e5a2e0d
update TASTy to 28.1-0, patch tests
bishabosha Oct 22, 2021
d6816db
add test for given class; add printTasty script
bishabosha Oct 22, 2021
ed3ce1a
junit-interface 0.13.2 (was 0.11)
SethTisue Oct 22, 2021
35dbc1e
test inner class singleton enum
bishabosha Oct 25, 2021
92f1948
add existential flag to wildcards
bishabosha Oct 25, 2021
558006e
Merge pull request #9790 from SethTisue/newer-junit-interface
SethTisue Oct 26, 2021
0eb3d7c
Merge pull request #9767 from mrdziuban/implicits-max-modules
lrytz Oct 27, 2021
7833232
remove force of annotation constructor
bishabosha Oct 25, 2021
8ee33bb
Merge pull request #9791 from scalacenter/tasty/upgrade-Scala-3.1.0
SethTisue Oct 27, 2021
de20527
Add -h abbreviation to scaladoc help.
ckipp01 Oct 27, 2021
8fde4e3
Merge pull request #9786 from NthPortal/topic/ArrayBuffer-cleanup
SethTisue Oct 28, 2021
8232bb2
Template with empty body/parents has good position
som-snytt Oct 27, 2021
1234506
Warn on bracket after newline
som-snytt Oct 28, 2021
f0e461d
Merge commit '3e5a3715a6' into merge-2.12-to-2.13-20211028
SethTisue Oct 28, 2021
87000f1
Merge commit '7faf0fbedb' into merge-2.12-to-2.13-20211028
SethTisue Oct 28, 2021
53f114d
Merge commit '7413b09085' into merge-2.12-to-2.13-20211028
SethTisue Oct 28, 2021
243bd86
Merge commit '0c84876d6f' into merge-2.12-to-2.13-20211028
SethTisue Oct 28, 2021
622d55e
Merge pull request #9795 from SethTisue/merge-2.12-to-2.13-20211028
SethTisue Oct 28, 2021
06d7dcf
Add comments and meaningful names per review
som-snytt Oct 29, 2021
fe0df69
Merge pull request #9794 from som-snytt/issue/12470
SethTisue Oct 29, 2021
ca60581
Remove unused code for NL before LBRACKET
som-snytt Oct 29, 2021
d8b6357
re-STARR onto 2.13.7
SethTisue Nov 1, 2021
af79b08
Merge pull request #9798 from SethTisue/restarr-on-2.13.7
SethTisue Nov 1, 2021
5035461
Fix slice of seq view
som-snytt Nov 2, 2021
4ece433
Restore lazy iterator.drop
som-snytt Nov 2, 2021
efd9396
Add comments to sliceIterator
som-snytt Nov 2, 2021
60144fc
Avoid negative remainder
som-snytt Nov 2, 2021
2721317
Stack popAll preserves order
som-snytt Nov 5, 2021
72d175b
Document stack preserves iteration order
som-snytt Nov 5, 2021
8f909f5
cleanup documentation for ordering
martijnhoekstra Nov 6, 2021
950b90e
RefCheck types uniformly - handle existentials and annotations
joroKr21 Nov 8, 2021
2152d38
JLine 3.21.0 / JNA 5.9.0 (was 3.20.0 / 5.8.0)
SethTisue Nov 11, 2021
5697b87
Merge pull request #9806 from joroKr21/ref-checks
lrytz Nov 11, 2021
5c58e43
[backport] RefCheck types uniformly, handle existentials and annotations
joroKr21 Nov 8, 2021
586302a
Merge pull request #9808 from lrytz/t12481-2.12
SethTisue Nov 11, 2021
b8cc1f7
Merge pull request #9807 from SethTisue/jline-3.21
SethTisue Nov 14, 2021
5d53a52
Fix range positions in selection from parens
lrytz Nov 17, 2021
0233cac
Merge pull request #9811 from lrytz/t12490
lrytz Nov 17, 2021
70c21df
Merge pull request #9793 from ckipp01/help
lrytz Nov 18, 2021
c3ce79e
Merge pull request #9796 from som-snytt/issue/12470-followup
lrytz Nov 18, 2021
21f0d21
Merge pull request #9804 from martijnhoekstra/doc/ordering
lrytz Nov 18, 2021
4d4b55f
Merge pull request #9803 from som-snytt/issue/12483
lrytz Nov 18, 2021
2131f5b
Merge pull request #9799 from som-snytt/issue/12479
lrytz Nov 18, 2021
6792eb4
Followup improvements to RefChecks
joroKr21 Nov 28, 2021
e814d78
Merge pull request #9815 from joroKr21/ref-checks
lrytz Nov 30, 2021
5021a57
fix build (JDK 17 + bootstrapped + fatal warnings)
SethTisue Dec 1, 2021
ad8bceb
Merge pull request #9816 from SethTisue/fix-build
lrytz Dec 1, 2021
1e32c86
Trim Symbol class text
som-snytt Dec 3, 2021
7d1a35a
Curtailed promise of symbol literal type
som-snytt Dec 3, 2021
d047407
GroupedIterator improvements
joroKr21 Dec 4, 2021
b2da0ea
Merge pull request #9817 from som-snytt/issue/12507
lrytz Dec 6, 2021
8f0577c
Don't emit `releaseFence` for class params of specialized classes
lrytz Dec 9, 2021
2f74486
Deal with Object/Any impedence mismatch under -Ypickle-write-java
retronym Dec 10, 2021
6ca41af
Merge pull request #9825 from lrytz/t12500
lrytz Dec 10, 2021
bbde45c
Update sbt 1.5.5 to 1.5.6
Philippus Dec 11, 2021
e166296
Merge pull request #9828 from Philippus/update/sbt-1.5.6
SethTisue Dec 11, 2021
b1c2238
Tweak inferMethodInstance to consider if implicits are enabled
joroKr21 Dec 12, 2021
6b55d57
Merge pull request #9826 from retronym/topic/pickle-java-object-any
lrytz Dec 13, 2021
39057e5
sbt 1.5.6 (was 1.5.5)
SethTisue Dec 14, 2021
6c35ebb
upgrade logback and slf4j
SethTisue Dec 14, 2021
6fce59a
bye bye Gitter, hello Discord
SethTisue Dec 15, 2021
88ac5e4
Backport nowarn advice tweak
som-snytt Dec 15, 2021
a1ea603
Merge pull request #9830 from SethTisue/upgrade-all-the-loggers
lrytz Dec 15, 2021
ea281c1
Merge pull request #9832 from som-snytt/issue/12516
lrytz Dec 15, 2021
1042160
Merge pull request #9829 from joroKr21/finch-fix
lrytz Dec 15, 2021
0c0983c
Merge pull request #9818 from joroKr21/grouped-iterator
SethTisue Dec 15, 2021
c5e5d4e
Merge pull request #9831 from SethTisue/no-gitter
SethTisue Dec 15, 2021
eb15102
Merge commit '586302a075' into merge-2.12-to-2.13-20211215
SethTisue Dec 15, 2021
31a1d7b
Merge commit 'a1ea603efa' into merge-2.12-to-2.13-20211215
SethTisue Dec 15, 2021
3d8037c
Merge commit 'ea281c1252' into merge-2.12-to-2.13-20211215
SethTisue Dec 15, 2021
b59fa66
Merge pull request #9833 from SethTisue/merge-2.12-to-2.13-20211215
SethTisue Dec 15, 2021
e0228a1
Revert "GroupedIterator improvements"
SethTisue Dec 16, 2021
4b2151c
Merge pull request #9859 from SethTisue/revert-grouped-pr-9818
lrytz Dec 17, 2021
611d529
Merge tag 'v2.13.8' into sbt-1.5
SethTisue Jan 21, 2022
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ text eol=lf
*.txt eol=lf
*.xml eol=lf

# Some sbt launcher scripts can't handle CR in .jvmopts
.jvmopts eol=lf

# Windows-specific files get windows endings
*.bat eol=crlf
*.cmd eol=crlf
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Scala Merge CI

on:
push:
branches: ['2.*.x']

defaults:
run:
shell: bash

jobs:
build_and_test:
name: Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- java: 8
- java: 17
steps:
- run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v2

# Note that we don't use olafurpg/setup-scala; it wouldn't buy us anything
# over setup-java. (We don't want csbt or xsbt; we prefer the standard
# sbt launch script, which comes preinstalled on Windows (and Ubuntu).)
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{matrix.java}}

- name: Cache
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.cache/coursier
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Build
run: |
sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal

- name: Test
run: |
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
sbt -Dstarr.version=$STARR setupValidateTest test:compile info testAll
270 changes: 152 additions & 118 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,135 +8,169 @@ stages:
- build
- test

templates: # this has no effect on travis, it's just a place to put our templates
pr-jdk8: &pr-jdk8
if: type = pull_request OR repo != scala/scala

cron-jdk17: &cron-jdk17
if: type = cron AND repo = scala/scala
env: ADOPTOPENJDK=17

build-for-testing: &build-for-testing
# pull request validation (w/ bootstrap)
# differs from the build that publishes releases / integration builds:
# - not using bash script setup, but just the underlying sbt calls
# - publishing locally rather than to Artifactory
# the bootstrap above is older historically; this way of doing it is newer
# and also simpler. we should aim to reduce/eliminate the duplication.
stage: build
name: build, publishLocal, build again
script:
- set -e
- sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest compile
workspaces:
create:
name: bootstrapped
paths:
# so new STARR will be available
- "buildcharacter.properties"
- "$HOME/.ivy2/local/org.scala-lang"
# so build products built using new STARR are kept
- "target"
- "project/target"
- "project/project/target"
- "project/project/project/target"
- "dist"
- "build"

test1: &test1
stage: test
name: tests (junit, scalacheck, et al)
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest Test/compile testAll1

test2: &test2
stage: test
name: tests (partest)
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest testAll2

jobs:
include:
- stage: build
if: type != pull_request AND repo = scala/scala
name: bootstrap and publish
script:
# see comment in `bootstrap_fun` for details on the procedure
# env available in each stage
# - by travis config (see below): secret env vars
# - by `common` script: WORKSPACE, IVY2_DIR, SBT_CMD, integrationRepoUrl
# - by `bootstrap_fun`: publishPrivateTask, ...
- set -e
- (cd admin && ./init.sh)
- source scripts/common
- source scripts/bootstrap_fun
- determineScalaVersion
- removeExistingBuilds $integrationRepoUrl
- if [ ! -z "$STARR_REF" ]; then buildStarr; fi
- buildLocker
- buildQuick
- triggerScalaDist

# pull request validation (w/ bootstrap)
# differs from the bootstrap above by:
# - not using bash script setup, but just the underlying sbt calls
# - publishing locally rather than to Artifactory
# the bootstrap above is older historically; this way of doing it is newer
# and also simpler. we should aim to reduce/eliminate the duplication.
- stage: build
name: build, publishLocal, build again
if: type = pull_request OR repo != scala/scala
script:
- set -e
- sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest compile
workspaces:
create:
name: bootstrapped
paths:
# so new STARR will be available
- "buildcharacter.properties"
- "$HOME/.ivy2/local/org.scala-lang"
# so build products built using new STARR are kept
- "target"
- "project/target"
- "project/project/target"
- "project/project/project/target"
- "dist"
- "build"

- stage: test
name: tests (junit, scalacheck, et al)
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest Test/compile testAll1

- name: tests (partest)
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR setupValidateTest testAll2

- name: ensure standard library is buildable by Scala 3
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dscala.build.compileWithDotty=true library/compile

- stage: test
name: build benchmarks (bootstrapped)
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt bench/Jmh/compile

- stage: build
name: language spec (Jekyll)
# wkhtmltopdf requires libssl1.1, which we can't install on xenial
dist: bionic
language: ruby
install:
- ruby -v
- gem install bundler
- bundler --version
- bundle install
# cribbed from https://github.com/SebastiaanKlippert/go-wkhtmltopdf/blob/master/.travis.yml
- sudo apt-get update
- sudo apt-get install -y build-essential xorg xfonts-75dpi libpng16-16 libssl1.1
- wget --quiet "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb"
- sudo dpkg -i "wkhtmltox_0.12.6-1.bionic_amd64.deb"
- rm "wkhtmltox_0.12.6-1.bionic_amd64.deb"
script:
- set -e
- (cd admin && ./init.sh)
- bundle exec jekyll build -s spec/ -d build/spec
- export JEKYLL_ENV=spec-pdf
- bundle exec jekyll build -s spec/ -d build/spec-pdf
- ./scripts/generate-spec-pdf.sh
after_success:
- ./scripts/travis-publish-spec.sh
include:
- stage: build
if: (type = push OR type = api) AND repo = scala/scala # api for manually triggered release builds
name: publish (bootstrapped) to scala-integration or sonatype
script:
# see comment in `bootstrap_fun` for details on the procedure
# env available in each stage
# - by travis config (see below): secret env vars
# - by `common` script: WORKSPACE, IVY2_DIR, SBT_CMD, integrationRepoUrl
# - by `bootstrap_fun`: publishPrivateTask, ...
- set -e
- (cd admin && ./init.sh)
- source scripts/common
- source scripts/bootstrap_fun
- determineScalaVersion
- removeExistingBuilds $integrationRepoUrl
- if [ ! -z "$STARR_REF" ]; then buildStarr; fi
- buildLocker
- buildQuick
- triggerScalaDist

- <<: *build-for-testing
<<: *pr-jdk8

- <<: *test1
<<: *pr-jdk8

- <<: *test2
<<: *pr-jdk8

- <<: *build-for-testing
<<: *cron-jdk17

- <<: *test1
<<: *cron-jdk17

- <<: *test2
<<: *cron-jdk17

- stage: test
name: build library with Scala 3
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dscala.build.compileWithDotty=true library/compile

- name: build benchmarks
if: type = pull_request OR repo != scala/scala
workspaces:
use: bootstrapped
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt bench/Jmh/compile

- stage: build
if: type = pull_request OR type = push
name: language spec
# wkhtmltopdf requires libssl1.1, which we can't install on xenial
dist: bionic
language: ruby
install:
- ruby -v
- gem install bundler
- bundler --version
- bundle install
# cribbed from https://github.com/SebastiaanKlippert/go-wkhtmltopdf/blob/master/.travis.yml
- sudo apt-get update
- sudo apt-get install -y build-essential xorg xfonts-75dpi libpng16-16 libssl1.1
- wget --quiet "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb"
- sudo dpkg -i "wkhtmltox_0.12.6-1.bionic_amd64.deb"
- rm "wkhtmltox_0.12.6-1.bionic_amd64.deb"
script:
- set -e
- (cd admin && ./init.sh)
- bundle exec jekyll build -s spec/ -d build/spec
- export JEKYLL_ENV=spec-pdf
- bundle exec jekyll build -s spec/ -d build/spec-pdf
- ./scripts/generate-spec-pdf.sh
after_success:
- ./scripts/travis-publish-spec.sh

env:
global:
- ADOPTOPENJDK=8
- secure: "P8EqpZoin/YTnwel9TTxSSAHtXfZ4M262BKXlYUZmjoQsjyvXDAeZ7yAqgAvX5BeRFrGkBToPiE+V60stdWkPKs3+9COw2BDUB1CULBHhRY9Lxordmz0xVhgEfsoH4f6r6wOlIQ9kuaWhmP+JdB/mzOHZhLch9ziPi8O46Z8t4k=" # PRIV_KEY_SECRET, for scripts/travis-publish-spec.sh
- secure: "T1fxtvLTxioyXJYiC/zVYdNYsBOt+0Piw+xE04rB1pzeKahm9+G2mISdcAyqv6/vze9eIJt6jNHHpKX32/Z3Cs1/Ruha4m3k+jblj3S0SbxV6ht2ieJXLT5WoUPFRrU68KXI8wqUadXpjxeJJV53qF2FC4lhfMUsw1IwwMhdaE8=" # PRIVATE_REPO_PASS
- secure: "feE5A8mYNpkNQKVwCj3aXrwjVrJWh/4ENpRfFlr2HOD9ORk1GORD5Yq907WZd+dTkYK54Lh1gA+qHOCIDgJHbi9ZLU+kjzEjtYKF6lQy6Wb0LI8smTOnAA6IWVVYifiXw8d66MI2MKZb2jjGeIzy8Q00SZjLhEGjLyTeCIB88Ws=" # SONA_USER
- secure: "ek3As5q2tL8UBXcxSBbv4v5YgsoPD41SCzPOSu72kzfbngyxgQxrcziU5pIM+Lib9KaWex7hVVWNL38tMyDbu+0OpDv8bPjMujzlDx5I2pJUfuOJo7QRYsJE1nsXcY4cA72cCLfbRcLEkvtDAhcdLSaUOqlyQe5BY4X4fY5eoPA=" # SONA_PASS
- secure: "dbAvl6KEuLwZ0MVQPZihFsPzCdiLbX0EFk3so+hcfEbksrmLQ1tn4X5ZM7Wy1UDR8uN9lxngEwHch7a7lKqpugzmXMew9Wnikr9WBWbJT77Z+XJ/jHI6YuiCRpRo+nvxXGp9Ry80tSIgx5eju0J83IaJL41BWlBkvyAd7YAHORI=" # GPG_SUBKEY_SECRET
- secure: "RTyzS6nUgthupw5M0fPwTlcOym1sWgBo8eXYepB2xGiQnRu4g583BGuNBW1UZ3vIjRETi/UKQ1HtMR+i7D8ptF1cNpomopncVJA1iy7pU2w0MJ0xgIPMuvtkIa3kxocd/AnxAp+UhUad3nC8lDpkvZsUhhyA0fb4iPKipd2b2xY=" # TRAVIS_TOKEN (login with GitHub as SethTisue)
- secure: "T1fxtvLTxioyXJYiC/zVYdNYsBOt+0Piw+xE04rB1pzeKahm9+G2mISdcAyqv6/vze9eIJt6jNHHpKX32/Z3Cs1/Ruha4m3k+jblj3S0SbxV6ht2ieJXLT5WoUPFRrU68KXI8wqUadXpjxeJJV53qF2FC4lhfMUsw1IwwMhdaE8=" # PRIVATE_REPO_PASS, for publishing to scala-ci Artifactory
- secure: "dbAvl6KEuLwZ0MVQPZihFsPzCdiLbX0EFk3so+hcfEbksrmLQ1tn4X5ZM7Wy1UDR8uN9lxngEwHch7a7lKqpugzmXMew9Wnikr9WBWbJT77Z+XJ/jHI6YuiCRpRo+nvxXGp9Ry80tSIgx5eju0J83IaJL41BWlBkvyAd7YAHORI=" # GPG_SUBKEY_SECRET, so we can sign JARs
- secure: "RTyzS6nUgthupw5M0fPwTlcOym1sWgBo8eXYepB2xGiQnRu4g583BGuNBW1UZ3vIjRETi/UKQ1HtMR+i7D8ptF1cNpomopncVJA1iy7pU2w0MJ0xgIPMuvtkIa3kxocd/AnxAp+UhUad3nC8lDpkvZsUhhyA0fb4iPKipd2b2xY=" # TRAVIS_TOKEN (login with GitHub as SethTisue), for triggering scala-dist job
- secure: "FvhicbSeys7VNTj9ZP/aNT0NhiQP/NNV0KRfK7IHxi3uOeaxFVfaQsln4lzqZn8dkntgzzNrE/VhvMIknfnISAPX7bShy6SRyj3V2BlcUpuem8WtwmkCaZ42xlCJteBL7NW0auG/8rxrNIAJXbRObqF+YdK6XsRMWaBMQHky+ss=" # SONA_USER, token username for publishing to Sonatype
- secure: "Y8CTlEdQbAS+P+LgkY05al/KSbccbX5BATm9N2GI9C6wH7oQuUU/VtU+bwvzeiF9DCsZPjrWXsa0JCuIQE+UzK1NWXxlkhUdGCaCBZ/nUecouBtMk2x/h7uIGpeYInxA041r5SuBecZuZQI79nhl+BwZSLu82Vy1QtP0/Cd8oRM=" # SONA_PASS, token password for publishing to Sonatype

# caching for sdkman / sbt / ivy / coursier imported from scala-dev
cache:
directories:
- $HOME/.rvm

notifications:
slack:
rooms:
- typesafe:WoewGgHil2FkdGzJyV3phAhj
if: (type = cron OR type = push) AND repo = scala/scala
on_success: never
on_failure: change
webhooks: https://scala-ci.typesafe.com/benchq/webhooks/travis
Loading