"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/golang.org/x/text/unicode/bidi/core.go" between
boulder-release-2020-06-23.tar.gz and boulder-release-2020-06-29.tar.gz

About: Boulder is an ACME-based Certificate Authority (CA) used by Let’s Encrypt (written in Go).

core.go  (boulder-release-2020-06-23):core.go  (boulder-release-2020-06-29)
skipping to change at line 483 skipping to change at line 483
// //
// Note that some weak types (EN, AN) remain after this processing is // Note that some weak types (EN, AN) remain after this processing is
// complete. // complete.
func (s *isolatingRunSequence) resolveWeakTypes() { func (s *isolatingRunSequence) resolveWeakTypes() {
// on entry, only these types remain // on entry, only these types remain
s.assertOnly(L, R, AL, EN, ES, ET, AN, CS, B, S, WS, ON, NSM, LRI, RLI, F SI, PDI) s.assertOnly(L, R, AL, EN, ES, ET, AN, CS, B, S, WS, ON, NSM, LRI, RLI, F SI, PDI)
// Rule W1. // Rule W1.
// Changes all NSMs. // Changes all NSMs.
preceedingCharacterType := s.sos precedingCharacterType := s.sos
for i, t := range s.types { for i, t := range s.types {
if t == NSM { if t == NSM {
s.types[i] = preceedingCharacterType s.types[i] = precedingCharacterType
} else { } else {
if t.in(LRI, RLI, FSI, PDI) { if t.in(LRI, RLI, FSI, PDI) {
preceedingCharacterType = ON precedingCharacterType = ON
} }
preceedingCharacterType = t precedingCharacterType = t
} }
} }
// Rule W2. // Rule W2.
// EN does not change at the start of the run, because sos != AL. // EN does not change at the start of the run, because sos != AL.
for i, t := range s.types { for i, t := range s.types {
if t == EN { if t == EN {
for j := i - 1; j >= 0; j-- { for j := i - 1; j >= 0; j-- {
if t := s.types[j]; t.in(L, R, AL) { if t := s.types[j]; t.in(L, R, AL) {
if t == AL { if t == AL {
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)