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

Chore/merge release #249

Merged
merged 286 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
b56c95e
Ignore tests that are trouble for CI systems
jasonleenaylor Mar 21, 2024
5dc5be1
Create a CI workflow that will report build and unit test failures
jasonleenaylor Feb 8, 2024
8095b5e
LT-21672: Add Tables to Word Export (#14)
mark-sil Mar 22, 2024
f87174a
Add CI check for whitespace
jasonleenaylor Mar 26, 2024
3a4f3ba
Add a commit message checker workflow that updates the job and PR
jasonleenaylor Mar 27, 2024
f4470b0
LT-21633: Improve Bidi handling in Word Export (#15)
aror92 Apr 3, 2024
c54bd64
Specify framework on lcm build so building with dotnet 8 works
jasonleenaylor Apr 3, 2024
939870c
LT-21672: Add styles to table cells (#17)
mark-sil Apr 4, 2024
aafa0f8
LT-21672: Add remaining styles to tables
mark-sil Apr 4, 2024
3183c45
Stop displaying cloud-api in the Upload to Webonary Dialog
jasonleenaylor Apr 3, 2024
c3f7329
Fix LT-21764
jtmaxwell3 Apr 9, 2024
d0e4523
LT-20855: Fix unlink button position for right to left (#24)
mark-sil Apr 11, 2024
b800cf5
Add images to word export (#22)
aror92 Apr 12, 2024
6610f05
Add StyleNames to style definitions in Word export
aror92 Apr 15, 2024
9c84e0c
Fix background color in Word export (#26)
aror92 Apr 17, 2024
f0b50f3
Throw a useful error message if the normalizer didn't load (#27)
JakeOliver28 Apr 23, 2024
81f697a
LT-21708 Add image and caption textframes to word export (#28)
aror92 Apr 24, 2024
3e09448
LT-21761 & LT-21674: Handle Before, Between, After and more (#29)
mark-sil Apr 25, 2024
3fdca2b
LT-20853: Fix FocusBox word bundle elements' order (#31)
JakeOliver28 Apr 26, 2024
c9f0c9c
Fix LT-21713: Clear the error status during cold start retry
jasonleenaylor Apr 26, 2024
442b37a
Add BasedOn style property and fix duplicate styles (#32)
aror92 Apr 29, 2024
d6b6f79
Fix NUnit for vanilla VisualStudio installs by adding NUnit3TestAdapt…
jtmaxwell3 Apr 29, 2024
c351ca8
LT-21761: Add Table indenting and right justification (#35)
mark-sil Apr 30, 2024
bea232f
Implement Parse Prioritizer in Interlinear (LT-21728) (#36)
jtmaxwell3 May 1, 2024
832787c
LT-21674: Use Dictionary-Context style for Before/After (#39)
mark-sil May 2, 2024
29defce
LT-21761: Fix indenting for the first line after a Table (#37)
mark-sil May 2, 2024
9a21ec4
LT-21751: Implement writing system styles (#38)
aror92 May 3, 2024
812f532
Mark guessed analyses in InterlinearExport (LT-21777) (#40)
jtmaxwell3 May 3, 2024
5d15c5e
Fix reversal export naming & don't export empty reversals (#41)
aror92 May 3, 2024
3c13042
Disable borders in Word Export (#42)
aror92 May 7, 2024
540ff24
LT-21778: Fix image textframe styles (#44)
mark-sil May 7, 2024
d64b3b2
LT-21776: Allow newly added vernacular writing systems to be analyzed…
JakeOliver28 May 8, 2024
1eed3fc
LT-21741: Adds a new xample64.dll file to improve efficiency (#48)
JakeOliver28 May 9, 2024
cb98e32
Word Export: Support magic ws styles (#46)
mark-sil May 9, 2024
a9d373c
Word Export: Code cleanup (#49)
mark-sil May 9, 2024
e9c74eb
LT-20854: Fix baseline tab focus after returning from different area
JakeOliver28 May 9, 2024
9059c96
Do some minor refactoring in InterlinMaster.cs (#52)
JakeOliver28 May 14, 2024
6a90c1f
LT-21771: Word Export – support grouping nodes (#55)
mark-sil May 14, 2024
8fb2af8
Update flags for localizing with overcrowdin version 3
jasonleenaylor May 14, 2024
15aec1d
Minor refactor and fixup in BuildProductBaseMsi target
jasonleenaylor May 14, 2024
e0fdca0
Change parser to parse lowercase forms of uppercase words separately …
jtmaxwell3 May 15, 2024
796784b
LT-21771: Word Export – support indenting for groups (#58)
mark-sil May 20, 2024
1a15578
Fix LT-21797: Missing highlights in Analyze tab
jtmaxwell3 May 22, 2024
754b542
Implement fix given by Andy Black
jtmaxwell3 May 28, 2024
036592b
LT-21798: Improve partialParse message in Hermit Crab trace (#64)
jtmaxwell3 May 30, 2024
119a4e2
Pass a fragment to AddLexReferences and AddCollection (#62)
mark-sil May 30, 2024
f91af50
Fix LT-21611: XAmple does not see affix variants (#65)
jtmaxwell3 May 30, 2024
60c3fa6
Make changes requested by Andy Black
jtmaxwell3 May 28, 2024
722b7f2
Made changes requested by Andy Black
jtmaxwell3 May 29, 2024
52006ce
LT-19859: Update FLEx chart XLingPaper export per Andy Black (#74)
JakeOliver28 Jun 3, 2024
6e42345
Made changes requested by Andy Black
jtmaxwell3 May 29, 2024
98bb48c
LT-21786: Show variant info for analysis chooser (#72)
JakeOliver28 Jun 3, 2024
1345759
Make changes requested by Andy Black
jtmaxwell3 May 30, 2024
e56040b
Make change requested by Andy Black
jtmaxwell3 May 30, 2024
4962c35
Fix LT-10373: Try a Word crashes for double quote and angle bracket (…
jtmaxwell3 Jun 5, 2024
f8043a2
LT-21785: Add more style support (#77)
mark-sil Jun 13, 2024
d1bf4b5
Fix LT-21702: Reversal view fails on jump from Lexicon Edit without R…
jtmaxwell3 Jun 13, 2024
274b384
LT-21728: Parse Prioritizer (#78)
jtmaxwell3 Jun 14, 2024
6cc42de
LT-21760: Update LCM version (#79)
JakeOliver28 Jun 14, 2024
57ff3a5
Change name of conceptual intro file
jtmaxwell3 Jun 14, 2024
47e0b4b
LT-21582: Pass variant inflection features to Hermit Crab (#80)
JakeOliver28 Jun 17, 2024
f189685
Attempt to rescue the patching from the removed helps file (#82)
jasonleenaylor Jun 17, 2024
d72c445
Correct the directory in the patch rescue for the removed Helps file
jasonleenaylor Jun 18, 2024
bfeb515
Word Export Style Display Names (#84)
mark-sil Jun 19, 2024
4549fe5
Update config files for new icu.net version (#87)
JakeOliver28 Jun 20, 2024
05ef16a
Word Export: Add Writing System Abbreviations (#85)
mark-sil Jun 20, 2024
6b04a60
LT-21787: Show infl variant info in Word Analyses (#89)
JakeOliver28 Jun 21, 2024
5f85c62
Fix LT-21814: Guess Word not working properly
jtmaxwell3 Jun 21, 2024
c09dcb0
Word Export: Fix multiple root names that are the same (#88)
mark-sil Jun 21, 2024
e7bdf98
Fix LT-21810
jtmaxwell3 Jun 19, 2024
4f0e6b5
Suppress parsing of lowercase words that don't exist
jtmaxwell3 Jun 19, 2024
9597c0b
LT-21787: Fix hyperlink to another project (#94)
JakeOliver28 Jun 28, 2024
53b16bd
Fix LT-21815: Yellow backgrounds not working properly (#95)
jtmaxwell3 Jun 28, 2024
ebd13d1
Fix LT-21813: Make Updater code handle odd CultureInfo (#93)
jasonleenaylor Jul 1, 2024
1169719
Fix LT-21674 linebreak issue and add tests (#96)
jasonleenaylor Jul 3, 2024
3240e77
LT-21822: Display Failed Jump dialog after entry deletion (#98)
JakeOliver28 Jul 4, 2024
ac23638
LT-21821: Fix certain links to other area of project (#99)
JakeOliver28 Jul 5, 2024
9632a8a
Refactor code to guess occurrences rather than analyses
jtmaxwell3 Jul 2, 2024
937d21d
Make InterlinViewDataCache be a guess cache reather than a decorator
jtmaxwell3 Jul 3, 2024
548fc4b
Minor code maintenence improvement in InterlinViewDataCache
jasonleenaylor Jul 8, 2024
a2f79d4
Fix second test of LT-21702
jtmaxwell3 Jul 10, 2024
e2e4e2a
Bump version to 9.2.1 Alpha
jasonleenaylor Jul 10, 2024
0b9166f
Add command to show conflicts in current text
jtmaxwell3 May 2, 2024
c925567
Add code to open Word Analyses window
jtmaxwell3 May 3, 2024
924b636
Filter Word Analyses by current text
jtmaxwell3 May 6, 2024
84c3616
Add ParseResults field to ParserListener
jtmaxwell3 May 6, 2024
9aece45
Change CheckParser to sandbox the results
jtmaxwell3 May 16, 2024
7b58083
Add ParserReport and ParserReportTest
jtmaxwell3 May 17, 2024
853dbc1
Rework ParserReport and ParserReportTest
jtmaxwell3 May 20, 2024
73e1305
Add code to diff parse reports
jtmaxwell3 May 20, 2024
14f9182
Add code to read and write Json
jtmaxwell3 May 22, 2024
2902e14
Finish first draft of code to generate parser reports
jtmaxwell3 May 23, 2024
b4e590b
Remove obsolete comment
jtmaxwell3 May 28, 2024
5c5f7d6
Implement initial scaffolding for ParserReport Dialog
jasonleenaylor Jun 26, 2024
d45471b
Add forgotten FileTimeToDateTimeConverter file
jasonleenaylor Jul 1, 2024
b4d116b
Collect real parser reports
jtmaxwell3 Jul 2, 2024
5c8f75f
Rename ParserReportXXX to ParserReportsXXX
jtmaxwell3 Jul 3, 2024
99df084
Add code to display one ParserReport
jtmaxwell3 Jul 4, 2024
1de66c8
Merge ParserReportsView into ParserReportsDialog; Add tooltips
jtmaxwell3 Jul 5, 2024
61da7ea
Add DeleteJsonFile and UI for DiffParserReports
jtmaxwell3 Jul 5, 2024
912c0e9
Add totals
jtmaxwell3 Jul 6, 2024
565cdba
Add MinHeight
jtmaxwell3 Jul 8, 2024
7719506
Add reparse button to ParserReportDialog.xaml
jtmaxwell3 Jul 8, 2024
cdb09d5
Set the process dpi awareness to be 'unaware' on start
jasonleenaylor Jul 10, 2024
f7ac285
LT-21756: Fix some of the issues from Jason's review
jtmaxwell3 Jul 10, 2024
4740100
LT-21728d: Fix first problem with Approve All button
jtmaxwell3 Jul 10, 2024
d581f8b
LT-21823: Show primary lex entry for inflectional variant (#104)
JakeOliver28 Jul 16, 2024
1385166
LT-21788: Display Inflection Features for affixes (#106)
JakeOliver28 Jul 18, 2024
c129068
Lt 21835: Improve Parser Testbed UI (#105)
jtmaxwell3 Jul 19, 2024
c39f2af
LT-21838: Force a refresh (#108)
jtmaxwell3 Jul 23, 2024
3c10726
Update ILcmContentGenerator methods to add config nodes and reorder a…
jasonleenaylor Jul 25, 2024
98247f6
Word Export: Generate unique display names (#110)
mark-sil Jul 25, 2024
d9ca4cb
Word Export: Fix Before/Between/After issues (#114)
mark-sil Jul 31, 2024
8e1b90d
Update CommonServiceLocator to stay compatible with latest LCM
jasonleenaylor Jul 25, 2024
1841598
Bump version to 9.2.2
jasonleenaylor Jul 31, 2024
b693feb
LT-21816: Fix display of wordfocus box (#117)
mark-sil Aug 1, 2024
bc43baa
Word Export: Support Before/After and Style for properties (#119)
mark-sil Aug 1, 2024
17ee7da
LT-21708: Word Export - Fix Caption Character Styles (#118)
aror92 Aug 1, 2024
5a33f0a
Fix LT-20849 - Refresh so vertical scrollbar doesn't cover LTR text (…
jasonleenaylor Aug 1, 2024
abf1446
LT-21835: Improve Parser Testbed UI (#112)
jtmaxwell3 Aug 2, 2024
25281b2
Fix null pointer reference in SuppressableParseResult (#121)
jtmaxwell3 Aug 2, 2024
b9fa28c
Fix LT-21851 - Update to liblcm with the bugfix (#122)
jasonleenaylor Aug 2, 2024
ca73193
LT-21586: Export/import Phonology (#120)
jtmaxwell3 Aug 2, 2024
ec55db2
Make some parser tester UX improvements (#124)
jasonleenaylor Aug 2, 2024
7b42dad
LT-21807: WordExport - Fix pictures in subentries
aror92 Aug 2, 2024
ccd1781
Fix LT-21824 by changing error message (#125)
jtmaxwell3 Aug 5, 2024
8e0fe20
Fix LT-21854: Delete reports button not working properly (#126)
jtmaxwell3 Aug 6, 2024
b6fb5b2
Fix 21855: Scrolling function in Parse Test Reports (#128)
jtmaxwell3 Aug 6, 2024
c636e34
Word Export: Fix indenting problem (#129)
mark-sil Aug 6, 2024
6d91975
Fix LT-21858: Parser test reports pane highlights inaccurate report (…
jtmaxwell3 Aug 7, 2024
f939a7c
Fix 2-column display by correcting image anchor (#133)
aror92 Aug 8, 2024
d8301c7
Fix LT-21852: Import Phonology command mistakenly suggests SFM file (…
jtmaxwell3 Aug 9, 2024
9f9fdae
LT-21859: Fix minor problems in parser test reports (#131)
jtmaxwell3 Aug 9, 2024
22e58c7
Fix LT-21701: Add basic find dialog for Dictionary views (#132)
jasonleenaylor Aug 9, 2024
e78a358
Fix LT-21869: Run Tests report columns don't expand (#136)
jtmaxwell3 Aug 9, 2024
47d0406
Fix LT-21865: Parser hangs on non-primary writing system (#135)
jtmaxwell3 Aug 9, 2024
40b5fc2
Start using IPCFramework Nuget package (#137)
jasonleenaylor Aug 12, 2024
80da3cc
LT-21840: Fix missing before/between/after text and add relevant test…
JakeOliver28 Aug 15, 2024
b7e8708
Word Export: Fix paragraph style problems (#138)
mark-sil Aug 15, 2024
8780146
Word Export: specify target Word version (#140)
aror92 Aug 20, 2024
edeccda
Enlarge popuptree window (LT-21584) (#141)
aror92 Aug 23, 2024
af12fcd
Fix LT-21872: Import Phonology crashes in Grammar area (#142)
jtmaxwell3 Aug 26, 2024
95c7afa
Fix LT-21862: Parser can't find German nouns (caps) (#143)
jtmaxwell3 Aug 26, 2024
42663f0
LT-21852: Change the file types part (#144)
jtmaxwell3 Aug 27, 2024
b055914
Add menu items for moving fields up and down in the interface (#127)
jasonleenaylor Aug 27, 2024
c067800
Fix LT-21894: Show Import Phonology command only in Grammar area (#145)
jtmaxwell3 Aug 28, 2024
b2c75ea
Fix LT-21868: Run Tests should use wordforms with no. in corpus > 0 (…
jtmaxwell3 Aug 28, 2024
9972c2a
Word Export: Fix duplicate & missing before and after (#148)
mark-sil Aug 30, 2024
bc8e7b0
Fix LT-21863: Add comment field to Parser Test Reports (#149)
jtmaxwell3 Sep 3, 2024
e57ddf4
Fix LT-21909: Add a hyphen in "Remove Parser approved analyses" (#151)
jtmaxwell3 Sep 3, 2024
8251810
Fix LT-21894: Revert restriction of Export Phonology (#150)
jtmaxwell3 Sep 3, 2024
2ab9847
Word Export LT-21830: Fix indentation issues (#147)
mark-sil Sep 3, 2024
0834b5c
Bump version to 9.2.3 (#152)
jasonleenaylor Sep 3, 2024
ab54d99
Word Export: Add missing Between content (#153)
mark-sil Sep 3, 2024
a021c71
Word Export: Add missing Before/After/Between content (#155)
mark-sil Sep 4, 2024
3d17d09
Change name of 'Move' menu to 'Move Field'
jasonleenaylor Sep 4, 2024
3c17a3a
Fix interlinear flextext importing of morpheme data (#154)
jasonleenaylor Sep 4, 2024
28ea7af
Word Export: Remove TODO’s for Audio and Video content (#158)
mark-sil Sep 5, 2024
deca933
Word Export: Prevent extra Before/After content for senses (#159)
mark-sil Sep 5, 2024
cbf79d5
Simplify UpdateButtonState methods in FocusBoxController (#160)
JakeOliver28 Sep 17, 2024
47351f8
Fix LT-21585: Hermit Crab Parsing Error yellow box crash (#161)
jtmaxwell3 Sep 19, 2024
33c3fdc
Fix LT-21890: Deleting from right side of affix process rule crashes …
jtmaxwell3 Sep 19, 2024
c638a3b
Fix LT-21886: Deleting phonemes from an affix rule crashes (#163)
jtmaxwell3 Sep 20, 2024
5dce2e1
Fix LT-21892: NotOnClitics box does not work as expected (#164)
jtmaxwell3 Sep 24, 2024
21d8819
Fix LT-20588: Crash in Affix Process Rule (#167)
jtmaxwell3 Sep 25, 2024
df3fada
Word Export LT-21768: Add Bullets and Numbering (#168)
mark-sil Sep 26, 2024
7ae136b
Word Export LT-21942: Fix export failure (#169)
mark-sil Sep 26, 2024
fe01516
Fix LT-21888: boundary marker name can be deleted when editing rules …
jtmaxwell3 Sep 26, 2024
ba50e63
Bump version to 9.2.4 Alpha
jasonleenaylor Sep 27, 2024
133ae42
Word Export LT-21942: Fixed more Export failures (#171)
mark-sil Oct 2, 2024
e9130cf
Fix gram info dropdown: LT-21584 Part2 (#173)
aror92 Oct 4, 2024
76e56c0
Fix LT-18682 (#170)
jtmaxwell3 Oct 4, 2024
d09b8b7
Fix LT-21839: Avoid crash and allow paste success with no ws (#174)
jasonleenaylor Oct 7, 2024
9126788
Fix LT-20509: Can't delete words with undefined phonemes (#166)
jtmaxwell3 Oct 8, 2024
5695b12
Word Export LT-21942: Bullets and continuation paragraphs (#175)
mark-sil Oct 8, 2024
41a1860
Implement LT-21783 - Add new column for Allomorph Stem Names (#176)
jasonleenaylor Oct 9, 2024
b0c93df
Implement Lt 21911: Novel Root Guesser (#172)
jtmaxwell3 Oct 9, 2024
34f608c
Word Export LT-21942: Fix picture clipping problem (#177)
mark-sil Oct 9, 2024
07a075b
Word Export LT-21768: Font properties for bullets (#178)
mark-sil Oct 10, 2024
aa98966
Add file needed for Jenkins to compile FieldWorks
jtmaxwell3 Oct 10, 2024
0dd5d9a
Fix LT-21898: Allow Phonological Features to be specified on RHS of A…
jtmaxwell3 Oct 11, 2024
16ffd44
Add netstandard references to any project that includes SIL.Machine (…
jasonleenaylor Oct 11, 2024
7dbb03d
Add ValueTuple reference to ParserCore due to netstandard conflict
jasonleenaylor Oct 11, 2024
076b2d8
Remove slice cache that never had a hit and was of limited use (#182)
jasonleenaylor Oct 16, 2024
e0b03e3
LT-21896: Force Ctrl + J to skip Free Translation line (#183)
JakeOliver28 Oct 16, 2024
751a55c
Fix LT-21956: Crash when doing Ctr+A in 'Affix Process Rule' result a…
jtmaxwell3 Oct 18, 2024
d54f0a2
LT-21911: Update SIL.Machine and add GuessRoots parameter (#186)
jtmaxwell3 Oct 21, 2024
f45588b
Fix LT-21967 (#189)
jtmaxwell3 Oct 28, 2024
3173213
Fix LT-21969 (#190)
jtmaxwell3 Oct 28, 2024
893d65d
Fix LT-21965: Linking words in interlinear is broken (#191)
jtmaxwell3 Oct 28, 2024
b9006c3
Word Export LT-21673: Add support for bidi text (#192)
mark-sil Oct 30, 2024
65823a5
Fix LT-21088: Yellow Box while parsing words after promoting category…
jtmaxwell3 Oct 30, 2024
f3354e9
LT-21706: Modify webonary status reporting (#187)
jasonleenaylor Oct 30, 2024
cc18faf
Word Export LT-21673: Fix font problems for bidi text (#193)
mark-sil Oct 31, 2024
78c66cd
Word Export LT-21673: bidi problem with switching run order (#194)
mark-sil Oct 31, 2024
fd69e47
Fix LT-21971: Crash adding a Feature Set (#195)
jtmaxwell3 Oct 31, 2024
f9a0f28
Fix LT-21915: Additional glitches in Move up/Move down options (#196)
jtmaxwell3 Nov 6, 2024
18fdf13
Word Export: writing system that is not part of the project (#197)
mark-sil Nov 6, 2024
430596a
Word Export LT-21673: Fix bold/italic for complex script (#198)
mark-sil Nov 7, 2024
9ffba0f
LT-21968: Word Export Target Office 2019 (#201)
aror92 Nov 12, 2024
2d05f6f
Fix LT-21933: Picture thumbnail is not showing configuration dialog (…
jtmaxwell3 Nov 12, 2024
db58ab0
Update setup-dotnet to version 4 (#203)
jasonleenaylor Nov 12, 2024
51f86a1
Word Export: support Before/After/Between unique styles (#204)
mark-sil Nov 14, 2024
ccc42d2
Update to the latest SIL.Machine library (#202)
jtmaxwell3 Nov 14, 2024
3e559e7
Fix LT-21737: Make highlight button work (#199)
jasonleenaylor Nov 14, 2024
b012a3f
Fixes LT-21934: FLEx freezes when clicking "Close" if parser is runni…
jtmaxwell3 Nov 14, 2024
67cf893
LT-21982: Make default between/after empty for picture nodes (#206)
aror92 Nov 14, 2024
25a2a14
LT-21829: Properly remove excluded lex refs (#207)
JakeOliver28 Nov 15, 2024
491a772
Lt 21934b: FLEx freezes when closing Try a Word if it is parsing (#208)
jtmaxwell3 Nov 18, 2024
f714113
Update FieldWorks to netframework 4.6.2
jasonleenaylor Nov 15, 2024
02a2a5b
Bump version to 9.2.5 Beta (#211)
jasonleenaylor Nov 20, 2024
3f0ddc9
Update to latest IdlImporter to fix error running with dotnet 9 (#215)
jasonleenaylor Nov 25, 2024
1a3797b
Fix LT-21934: fork task to stop parser so control returns to user (#209)
jtmaxwell3 Nov 25, 2024
fd9e483
Fix LT-21966: Inflection features not showing correctly in browse (#213)
jtmaxwell3 Nov 25, 2024
e261e0e
Word Export LT-21891: Output double-column format
mark-sil Nov 20, 2024
439a403
Fix LT-21918: Newline symbol \0A printed in output (#216)
jtmaxwell3 Nov 25, 2024
5e527e4
Revert System.ValueTuple hack removal
jasonleenaylor Nov 26, 2024
9e07d0a
Add netstandard reference to ViewsInterfaces
jasonleenaylor Nov 26, 2024
3935911
Add netstandard reference to anything that refs ViewsInterfaces
jasonleenaylor Nov 26, 2024
9c6e6c1
Add netstandard reference to all remaining .csproj files
jasonleenaylor Nov 26, 2024
b9c5c74
Word Export LT-21891: Add guidewords and page numbers (#217)
mark-sil Nov 27, 2024
22859ef
Fix the ValueTuple redirect in FieldWorks and add it to LCMBrowser (#…
jasonleenaylor Nov 27, 2024
981a26a
Update icu.net redirects (may fix ParatextIntegration) (#220)
jasonleenaylor Dec 4, 2024
3cbaa00
Stabilize the build by adding the System.ValueTuple hack to Lib (#221)
jasonleenaylor Dec 4, 2024
0d462ed
LT-21882: Webonary: Fix style names (#222)
mark-sil Dec 5, 2024
a543f08
LT-21882: Add lock
mark-sil Dec 5, 2024
314ab9c
Word Export: LT-21891: Add guidewords for reversals (#225)
mark-sil Dec 5, 2024
0858336
Fix LT-21998: Crash occurs while performing Morphemes (#226)
jtmaxwell3 Dec 6, 2024
513d565
Fix LT-21999: Improve saving of parser test reports (#224)
jtmaxwell3 Dec 6, 2024
a1d310c
LT-21997: Fix location of pictures in Word export (#227)
aror92 Dec 6, 2024
ad51281
Improve LT-21999: Improve saving of parser test reports (#228)
jtmaxwell3 Dec 7, 2024
435ecf4
Fix LT-22000: "Move" vs. "Move Field" (#229)
jtmaxwell3 Dec 9, 2024
39e21d1
Word Export: LT-21891: Remove first blank line (#231)
mark-sil Dec 10, 2024
8de3f0d
Fix LT-21999: Disable Save Report on comparison reports (#232)
jtmaxwell3 Dec 10, 2024
41457ef
LT-20849: Refresh Baseline on Text switch if VScroll changes (#230)
JakeOliver28 Dec 10, 2024
d44d14f
Word Export: LT-22006: RTL - Fix indentation and clipping (#233)
mark-sil Dec 11, 2024
d02b42a
Word Export: RTL – Set first column to be on the right (#234)
mark-sil Dec 11, 2024
eb4a00b
Fix LT-21980: Crash changing or modifying grammatical info (#235)
jtmaxwell3 Dec 12, 2024
d6f2ee1
LT-21990: Refresh dictionary on publication change (#236)
JakeOliver28 Dec 13, 2024
a7ef021
Fix LT-20850: RTL hides text (#241)
jtmaxwell3 Dec 13, 2024
58b286c
Fix LT-22007: Add binding redirect for icu.net (#238)
jasonleenaylor Dec 13, 2024
60bafa5
Change Lexicon Edit column name to "Stem Name (Allomorph)" (#240)
JakeOliver28 Dec 13, 2024
d8c3326
Fix LT-22008: Do not crash importing flextext with empty word content…
jasonleenaylor Dec 13, 2024
a41e13c
Fix LT-22011: Adding slots lead to crash (#239)
jtmaxwell3 Dec 13, 2024
ecebdbc
LT-21963: Copy Malay to an alternate writing system code (ms -> zlm) …
jasonleenaylor Dec 16, 2024
cfc5a1a
Update Base build FlexBridge installer to 4.2.0 (#243)
jasonleenaylor Dec 16, 2024
900f5de
Fix problem with the ms->zlm copy in the installer
jasonleenaylor Dec 16, 2024
2d933ef
Fix LT-22018: Typing lost in example and translation fields
jtmaxwell3 Dec 19, 2024
7ec92b5
LT-22017: Fix between content for multirun strings & unit test (#245)
jasonleenaylor Jan 7, 2025
c145278
Merge tag 'FieldWorks9.2.5' into develop
jasonleenaylor Jan 22, 2025
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: NDP461-DevPack-KB3105179-ENU.exe /q

- name: Setup dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
2.1.x
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/CommitMessage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Commit messages check
on:
pull_request:
workflow_call:

jobs:
gitlint:
name: Check commit messages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
pip install --upgrade gitlint
- name: Lint git commit messages
shell: bash
# run the linter and tee the output to a file, this will make the check fail but allow us to use the results in summary
run: gitlint --ignore body-is-missing --commits origin/$GITHUB_BASE_REF.. 2>&1 | tee check_results.log
- name: Propegate Error Summary
if: always()
shell: bash
# put the output of the commit message linting into the summary for the job and in an environment variable
run: |
# Change the commit part of the log into a markdown link to the commit
commitsUrl="https:\/\/github.com\/${{ github.repository_owner }}\/${{ github.event.repository.name }}\/commit\/"
sed -i "s/Commit \([0-9a-f]\{7,40\}\)/[commit \1]($commitsUrl\1)/g" check_results.log
# Put the results into the job summary
cat check_results.log >> "$GITHUB_STEP_SUMMARY"
# Put the results into a multi-line environment variable to use in the next step
echo "check_results<<###LINT_DELIMITER###" >> "$GITHUB_ENV"
echo "$(cat check_results.log)" >> "$GITHUB_ENV"
echo "###LINT_DELIMITER###" >> "$GITHUB_ENV"
# add a comment on the PR if the commit message linting failed
- name: Comment on PR
if: failure()
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Commit Comment
message: |
⚠️ Commit Message Format Issues ⚠️
${{ env.check_results }}
- name: Clear PR Comment
if: success()
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Commit Comment
hide: true
hide_classify: "RESOLVED"

64 changes: 64 additions & 0 deletions .github/workflows/check-whitespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: check-whitespace

on:
pull_request:
types: [opened, synchronize]

# Avoid unnecessary builds
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check-whitespace:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: git log --check
id: check_out
run: |
echo "Starting the script."
baseSha=${{ github.event.pull_request.base.sha }}
git log --check --pretty=format:"---% h% s" ${baseSha}.. | tee check-results.log
problems=()
commit=
commitText=
commitTextmd=
# Use git log --check to look for whitespace errors in each commit of this PR
log_output=$(cat check-results.log)
echo "${log_output}"
# Use a for loop to iterate over lines of log_output
IFS=$'\n'
for line in $log_output; do
echo "Line: ${line}"
case "${line}" in
"--- "*)
IFS=' ' read -r _ commit commitText <<< "$line"
commitTextmd="[${commit}](https://github.com/${{ github.repository }}/commit/${commit}) ${commitText}"
;;
"")
;;
*:[1-9]*:*) # contains file and line number information - This indicates that a whitespace error was found
file="${line%%:*}"
afterFile="${line#*:}" # Remove the first colon and everything before it
lineNumber="${afterFile%%:*}" # Remove anything after and including the first remaining colon to get only the line number
problems+=("[${commitTextmd}]")
problems+=("[${line}](https://github.com/${{ github.repository }}/blob/${{github.event.pull_request.head.ref}}/${file}#L${lineNumber})")
problems+=""
;;
esac
done
if test ${#problems[*]} -gt 0; then
echo "⚠️ Please review the Summary output for further information." >> $GITHUB_STEP_SUMMARY
echo "### A whitespace issue was found in one or more of the commits." >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Errors:" >> $GITHUB_STEP_SUMMARY
for i in "${problems[@]}"; do
echo "${i}" >> $GITHUB_STEP_SUMMARY
done
exit 1
fi
echo "No problems found"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Bin/_setLatestBuildConfig.bat
Bin/_setroot.bat
Lib/debug/DebugProcs.lib
Lib/debug/Generic.lib
Lib/debug/System.ValueTuple.dll
Lib/debug/unit++.*
Lib/release/DebugProcs.lib
Lib/release/Generic.lib
Expand Down
17 changes: 10 additions & 7 deletions Build/Installer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@
A base build should warn if we have 'RemovedSinceLastBase' items to help us remember to clear these out.
-->
<Target Name="RescuePatching">
<!-- <ItemGroup>
<RemovedSinceLastBase Include="$(dir-outputBase)/Example.dll" />
<ItemGroup>
<RemovedSinceLastBase Include="$(dir-outputBase)/Helps/WW-ConceptualIntro/ConceptualIntroduction.htm" />
</ItemGroup>
<WriteLinesToFile File="%(RemovedSinceLastBase.FullPath)" Lines="" /> -->
<WriteLinesToFile File="%(RemovedSinceLastBase.FullPath)" Lines="" />
</Target>
<!-- ########################################################################################################## -->
<!-- ### Compile Targets ### -->
Expand Down Expand Up @@ -210,6 +210,7 @@
<L10nFiles Include="$(OutputDirForConfig)\ur\**\*"/>
<L10nFiles Include="$(OutputDirForConfig)\vi\**\*"/>
<L10nFiles Include="$(OutputDirForConfig)\zh-CN\**\*"/>
<L10nFiles Include="$(OutputDirForConfig)\zlm\**\*"/>
<!-- no need to install the following; most are installed by merge modules -->
<MergeModules Include="$(OutputDirForConfig)\asserts.log"/>
<MergeModules Include="$(OutputDirForConfig)\basicTest.xml"/>
Expand Down Expand Up @@ -303,7 +304,8 @@
<PropertyGroup>
<!-- Substring keeps Chinese the same length as everyone else (and '-' is an illegal character in some places) -->
<!-- "The nail that sticks up gets hammered down" (Japanese proverb) -->
<SafeTargetLocale>$(TargetLocale.Substring(0,2))</SafeTargetLocale>
<SafeTargetLocale Condition="'$(TargetLocale)'=='zh-CN'">$(TargetLocale.Substring(0,2))</SafeTargetLocale>
<SafeTargetLocale Condition="'$(TargetLocale)'!='zh-CN'">$(TargetLocale)</SafeTargetLocale>
<!-- KeyPathFix changes KeyPath="yes" to KeyPath="no" so we can overwrite later versions of files, if necessary. -->
<!-- See https://github.com/sillsdev/genericinstaller's README for details. -->
<KeyPathFixArg Condition="'$(FixKeyPath)'=='true'">-t $(InstallerDir)/BaseInstallerBuild/KeyPathFix.xsl</KeyPathFixArg>
Expand Down Expand Up @@ -396,7 +398,8 @@
Condition="!Exists('$(WixLibsDir)/vcredist_2015-19_x64.exe') And $(Platform)=='x64'"
DownloadsDir="$(WixLibsDir)"/> <!-- VisualC++ 14.1 runtime -->
<!-- FLEx Bridge -->
<DownloadFile Address="https://build.palaso.org/guestAuth/repository/download/FLExBridgeDevelopWin32InstallerSansPublish/fw-9.1.22.tcbuildtag/FLExBridge_Offline.exe"
<DownloadFile Address="https://software.sil.org/downloads/r/fieldworks/FlexBridge_Offline_4.2.0.exe"
LocalFilename="FLExBridge_Offline.exe"
Condition="!Exists('$(WixLibsDir)/FLExBridge_Offline.exe')"
DownloadsDir="$(WixLibsDir)"/> <!-- TODO: always download to get the latest version -->
</Target>
Expand Down Expand Up @@ -439,12 +442,12 @@
</MSBuild.ExtensionPack.Framework.Guid>
<Message Text="Generated GUID '$(ProductIdGuid)'"/>
<PropertyGroup>
<MsiFile>$(SafeApplicationName)_$(Revision).msi</MsiFile>
<MsiFile>$(SafeApplicationName)_$(PatchVersionSegment).msi</MsiFile>
<BaseBuildDir>$(InstallerDir)/BaseInstallerBuild</BaseBuildDir>
<BaseBuildArgs>"$(ApplicationName)" $(SafeApplicationName) $(BuildVersion) $(ProductIdGuid) $(UpgradeCodeGuid) "$(AppBuildDir)/$(BinDirSuffix)" "$(AppBuildDir)/$(DataDirSuffix)" $(CopyrightYear) "$(Manufacturer)" $(SafeManufacturer) $(Arch)</BaseBuildArgs>
</PropertyGroup>
<!-- Suppress ICE30 because we and Encoding Converters MM both install Geckofx, resulting in an ICE warning for double ref counting -->
<Exec WorkingDirectory="$(BaseBuildDir)" Command="(set SuppressICE=-sice:ICE30) &amp; buildBaseInstaller.bat $(BaseBuildArgs)" />
<Exec WorkingDirectory="$(BaseBuildDir)" Command="buildBaseInstaller.bat $(BaseBuildArgs)" EnvironmentVariables="SuppressICE=-sice:ICE30" />
<ItemGroup>
<InstallerFiles Include="$(BaseBuildDir)/**/$(SafeApplicationName)_*.exe"/>
<InstallerFiles Include="$(BaseBuildDir)/**/$(SafeApplicationName)_*.msi"/>
Expand Down
8 changes: 6 additions & 2 deletions Build/Localize.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current">

<UsingTask TaskName="CopyLocale" AssemblyFile="FwBuildTasks.dll"/>
<UsingTask TaskName="GoldEticToXliff" AssemblyFile="FwBuildTasks.dll"/>
<UsingTask TaskName="ListsToXliff" AssemblyFile="FwBuildTasks.dll"/>
<UsingTask TaskName="LocalizeFieldWorks" AssemblyFile="FwBuildTasks.dll"/>
Expand All @@ -13,7 +14,7 @@

<!-- Localize strings-en.xml, lists, and all resx files -->
<Target Name="localize" DependsOnTargets="localize-source;localize-binaries"/>
<Target Name="localize-source" DependsOnTargets="Initialize;downloadTranslatedFiles;copyLibL10ns;combineGOLDEtic;zipLocalizedLists;processLanguages-source" Condition="'$(DisableLocalization)'!='true'"/>
<Target Name="localize-source" DependsOnTargets="Initialize;downloadTranslatedFiles;copyLibL10ns;combineGOLDEtic;zipLocalizedLists;copyLocales;processLanguages-source" Condition="'$(DisableLocalization)'!='true'"/>
<Target Name="localize-binaries" DependsOnTargets="Initialize;processLanguages-binaries" Condition="'$(DisableLocalization)'!='true'"/>

<PropertyGroup>
Expand All @@ -34,6 +35,9 @@
<!-- Install overcrowdin, or update if already installed. -->
<Exec WorkingDirectory="$(fwrt)" Command="dotnet tool update -g overcrowdin || dotnet tool install -g overcrowdin"/>
</Target>
<Target Name="copyLocales"> <!-- Copy locales to alternate ws identifiers -->
<CopyLocale SourceL10n="$(L10nsDirectory)/ms" DestL10n="$(L10nsDirectory)/zlm" LcmDir="$(LcmSrcDir)" />
</Target>

<!-- Update localizable files in Crowdin -->
<Target Name="uploadUpdatesForTranslation" DependsOnTargets="CopyLcmResxFiles;InstallOvercrowdin">
Expand Down Expand Up @@ -69,7 +73,7 @@
<Target Name="downloadTranslatedFiles" Condition="'$(disableDownloads)'!='true'" DependsOnTargets="InstallOvercrowdin">
<ForceDelete Files="$(L10nsDirectory)"/>
<MakeDir Directories="$(DownloadsDir)"/>
<Exec WorkingDirectory="$(fwrt)" Command="overcrowdin download -v -r2 -f $(CrowdinZip)" ContinueOnError="$(OnFailedCrowdinDownload)"/>
<Exec WorkingDirectory="$(fwrt)" Command="overcrowdin download -v -f $(CrowdinZip)" ContinueOnError="$(OnFailedCrowdinDownload)"/>
<Unzip ZipFilename="$(CrowdinZip)" ToDir="$(L10nsDirectory)"/>
<NormalizeLocales L10nsDirectory="$(L10nsDirectory)"/>
<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions Build/Src/FwBuildTasks/FwBuildTasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
<RootNamespace>SIL.FieldWorks.Build.Tasks</RootNamespace>
<Description>Additional msbuild tasks for FieldWorks</Description>
<Product>FwBuildTasks</Product>
<TargetFramework>net461</TargetFramework>
<TargetFramework>net462</TargetFramework>
<OutputPath>../..</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.3" PrivateAssets="All" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="SIL.TestUtilities" Version="12.0.0-*" PrivateAssets="All" />
<Reference Include="netstandard" />
<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />
<Reference Include="System.IO.Compression" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 SIL International
// Copyright (c) 2020 SIL International
// This software is licensed under the LGPL, version 2.1 or later
// (http://www.gnu.org/licenses/lgpl-2.1.html)

Expand Down Expand Up @@ -60,6 +60,19 @@ public void Works()
VerifyLocale("zh-CN", "zh");
}

[Test]
public void CopyMalay()
{
FileSystemSetup(new[] { "ms" });

VerifyLocale("ms", "zlm");

_task.Execute();

VerifyLocale("ms", "zzz");
VerifyLocale("zlm", "zzz");
}

private void FileSystemSetup(string[] locales)
{
foreach (var locale in locales)
Expand Down
105 changes: 105 additions & 0 deletions Build/Src/FwBuildTasks/Localization/CopyLocale.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
// Copyright (c) 2024 SIL International
// This software is licensed under the LGPL, version 2.1 or later
// (http://www.gnu.org/licenses/lgpl-2.1.html)

using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;


namespace SIL.FieldWorks.Build.Tasks.Localization
{
public class CopyLocale : Task
{
[Required]
public string SourceL10n { get; set; }

[Required]
public string DestL10n { get; set; }

[Required]
public string LcmDir { get; set; }

public override bool Execute()
{
var srcLangCode = Path.GetFileName(SourceL10n);
var destLangCode = Path.GetFileName(DestL10n);
if (!Directory.Exists(SourceL10n))
{
Log.LogError($"Source directory '{SourceL10n}' does not exist.");
return false;
}
if (Directory.Exists(DestL10n))
{
Log.LogError($"Destination directory '{DestL10n}' already exists.");
return false;
}
// Create the destination directory
Directory.CreateDirectory(DestL10n);

// Get the files in the source directory and copy to the destination directory
CopyDirectory(SourceL10n, DestL10n, true);

NormalizeLocales.RenameLocaleFiles(DestL10n, srcLangCode, destLangCode);
// Get the files in the source directory and copy to the destination directory
foreach (var file in Directory.GetFiles(LcmDir, "*.resx", SearchOption.AllDirectories))
{
var relativePath = GetRelativePath(LcmDir, file);
Log.LogMessage(MessageImportance.Normal, "CopyLocale: relpath - " + relativePath);
var newFileName = Path.GetFileNameWithoutExtension(file) + $".{destLangCode}.resx";
var newFilePath = Path.Combine(DestL10n, Path.Combine("Src", Path.GetDirectoryName(relativePath)));

// Create the directory for the new file if it doesn't exist
Directory.CreateDirectory(newFilePath);

Log.LogMessage(MessageImportance.Normal, $"CopyLocale: {newFilePath}, {newFileName}");
// Copy the file to the new location
File.Move(file, Path.Combine(newFilePath, newFileName));
}

return true;
}

static void CopyDirectory(string sourceDir, string destinationDir, bool recursive)
{
// From: https://learn.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories
// Get information about the source directory
var dir = new DirectoryInfo(sourceDir);

// Check if the source directory exists
if (!dir.Exists)
throw new DirectoryNotFoundException($"Source directory not found: {dir.FullName}");

// Cache directories before we start copying
DirectoryInfo[] dirs = dir.GetDirectories();

// Create the destination directory
Directory.CreateDirectory(destinationDir);

// Get the files in the source directory and copy to the destination directory
foreach (FileInfo file in dir.GetFiles())
{
string targetFilePath = Path.Combine(destinationDir, file.Name);
file.CopyTo(targetFilePath);
}

// If recursive and copying subdirectories, recursively call this method
if (recursive)
{
foreach (DirectoryInfo subDir in dirs)
{
string newDestinationDir = Path.Combine(destinationDir, subDir.Name);
CopyDirectory(subDir.FullName, newDestinationDir, true);
}
}
}

static string GetRelativePath(string baseDir, string filePath)
{
Uri baseUri = new Uri(baseDir);
Uri fileUri = new Uri(filePath);
return Uri.UnescapeDataString(baseUri.MakeRelativeUri(fileUri).ToString().Replace('/', Path.DirectorySeparatorChar));
}
}
}
Loading
Loading