Release 2.3 #133
Closed
carlosame
announced in
Announcements
Release 2.3
#133
Replies: 2 comments
-
|
A few git author statistics: Version 2.3Executing and slightly editing the output from git log v2.2.1..HEAD --shortstat --pretty="%aE" | sed 's/\(.*\)@.*/\1/' | grep -v "^$" | awk 'BEGIN { line=""; } !/^ / { if (line=="" || !match(line, $0)) {line = $0 "," line }} /^ / { print line " # " $0; line=""}' | sort | sed -E 's/# //;s/ files? changed,//;s/([0-9]+) ([0-9]+ deletion)/\1 0 insertions\(+\), \2/;s/\(\+\)$/\(\+\), 0 deletions\(-\)/;s/insertions?\(\+\), //;s/ deletions?\(-\)//' | awk 'BEGIN {name=""; files=0; insertions=0; deletions=0;} {if ($1 != name && name != "") { print name ": " files " files changed, " insertions " insertions(+), " deletions " deletions(-), " insertions-deletions " net"; files=0; insertions=0; deletions=0; name=$1; } name=$1; files+=$2; insertions+=$3; deletions+=$4} END {print name ": " files " files changed, " insertions " insertions(+), " deletions " deletions(-), " insertions-deletions " net";}'produces All timeEditing the output of git log --shortstat --pretty="%aE" | sed 's/\(.*\)@.*/\1/' | grep -v "^$" | awk 'BEGIN { line=""; } !/^ / { if (line=="" || !match(line, $0)) {line = $0 "," line }} /^ / { print line " # " $0; line=""}' | sort | sed -E 's/# //;s/ files? changed,//;s/([0-9]+) ([0-9]+ deletion)/\1 0 insertions\(+\), \2/;s/\(\+\)$/\(\+\), 0 deletions\(-\)/;s/insertions?\(\+\), //;s/ deletions?\(-\)//' | awk 'BEGIN {name=""; files=0; insertions=0; deletions=0;} {if ($1 != name && name != "") { print name ": " files " files changed, " insertions " insertions(+), " deletions " deletions(-), " insertions-deletions " net"; files=0; insertions=0; deletions=0; name=$1; } name=$1; files+=$2; insertions+=$3; deletions+=$4} END {print name ": " files " files changed, " insertions " insertions(+), " deletions " deletions(-), " insertions-deletions " net";}'gives |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Version 2.3 code statistics: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version 2.3 shall be released in a few days, and this discussion is intended to prepare the Release Notes and any related topics.
svggen: support
LinearGradientPaintandRadialGradientPaint(#123)In addition to the existing
SVGLinearGradient, two newSVGConverters have been added: one forLinearGradientPaintand one forRadialGradientPaint(both introduced with Java SE 6).To make the naming more consistent, the existing
SVGLinearGradientwas renamedSVGGradient, and the two new ones are calledSVGLinearGradientandSVGRadialGradient.Contribution by Jens Kaiser @jens-kaiser, see issue #122 and PR #123.
svggen: customizable serialization in
SVGGraphics2D(#132)Some people have complained that the SVG output by Batik's
SVGGraphics2Dis ugly or too big, see BATIK-502 or BATIK-1337. This release introduces:XmlSerializerinterface that can be used to customize the serialization. Its default methods mimic what the previous code did.CompactXmlSerializerimplementation which significantly decreases the size of the output files.SVGGeneratorContext.To use the compact serializer just set it:
The customizable serialization also addresses BATIK-941 ("Allow toggling the output of DOCTYPE declaration"); if you do not want any DOCTYPE declaration just provide an empty implementation for
XmlSerializer.writeDocumentType().css: SVG2 compliance fixes for
stroke-widthandstroke-dasharray(#124)The behavior of the
stroke-widthandstroke-dasharrayproperties complied with neither the SVG 1.1 nor the 2 specification. The new handling complies with version 2.For the
stroke-widthproperty, this issue is related to BATIK-1390.Other improvements
Parts of the code were cleaned up, made a bit smaller and faster. See the changelog below for details.
Detail of changes
checkItemType()anim: use assertions to implementcheckItemType()#131.MultipleGradientPaintContextas discussed in User a SLF4J Logger instead of System.out or System.err #130.System.out.printlndebugging code, as discussed in User a SLF4J Logger instead of System.out or System.err #130.StrokingTextPainter.stroke-widthandstroke-dasharraycss:stroke-widthandstroke-dasharraydo not comply with the SVG2 specification #124.LinearGradientPaintandRadialGradientPaintechosvg-svggen: support LinearGradientPaint and RadialGradientPaint #122.SVGGraphics2Dsvggen: customizable serialization inSVGGraphics2D#132.get()race condition in b8a747b.assertNullAssertion always fails #128.SVGDOMImplementationinstance inDOMUtilitiesTest.excludeTestsproperty across all project tests.CODE_STYLE.mdfile out ofCONTRIBUTING.md.Test infrastructuresection to CONTRIBUTING.md.Beta Was this translation helpful? Give feedback.
All reactions