Commit 45f4c1d
Version the native library (#127)
Use LibZipSharp MAJOR.MINOR version in the native library name.
This is to avoid issues when two or more versions of the LibZipSharp
nuget are found and their native libraries have the same name but
different ABI, which can result in runtime problems when a function
expected by the managed code is not found in the native library.
From this point on, whenever any function is added or removed in
the native library, at least the MINOR version number must be bumped.
More serious ABI changes will require also MAJOR version number bump.
Co-authored-by: Dean Ellis <dellis1972@googlemail.com>1 parent d5499c2 commit 45f4c1dCopy full SHA for 45f4c1d
File tree
Expand file treeCollapse file tree
12 files changed
+284
-102
lines changedOpen diff view settings
Filter options
- LibZipSharp.UnitTest
- LibZipSharp
- Xamarin.Tools.Zip
- ZipTest
- build-tools/prep
Expand file treeCollapse file tree
12 files changed
+284
-102
lines changedOpen diff view settings
Collapse file
+37-6Lines changed: 37 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
77 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
78 | 85 | |
79 | 86 | |
80 | 87 | |
| ||
516 | 523 | |
517 | 524 | |
518 | 525 | |
| 526 | + |
| 527 | + |
| 528 | + |
| 529 | + |
| 530 | + |
519 | 531 | |
520 | 532 | |
521 | 533 | |
522 | 534 | |
523 | 535 | |
524 | | - |
| 536 | + |
| 537 | + |
| 538 | + |
| 539 | + |
| 540 | + |
| 541 | + |
| 542 | + |
| 543 | + |
| 544 | + |
| 545 | + |
525 | 546 | |
526 | 547 | |
527 | 548 | |
528 | 549 | |
529 | | - |
| 550 | + |
530 | 551 | |
531 | 552 | |
532 | 553 | |
| ||
629 | 650 | |
630 | 651 | |
631 | 652 | |
632 | | - |
| 653 | + |
633 | 654 | |
634 | 655 | |
635 | 656 | |
| ||
647 | 668 | |
648 | 669 | |
649 | 670 | |
650 | | - |
| 671 | + |
| 672 | + |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
| 677 | + |
| 678 | + |
| 679 | + |
| 680 | + |
| 681 | + |
651 | 682 | |
652 | 683 | |
Collapse file
LibZipSharp.UnitTest/LibZipSharp.UnitTest.csproj
Copy file name to clipboardExpand all lines: LibZipSharp.UnitTest/LibZipSharp.UnitTest.csproj+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
| 30 | + |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | | - |
| 34 | + |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | | - |
39 | | - |
| 38 | + |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
+7-1Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
4 | 10 | |
5 | 11 | |
6 | 12 | |
|
Collapse file
LibZipSharp/Xamarin.LibZipSharp.targets renamed to LibZipSharp/Xamarin.LibZipSharp.targets.in
Copy file name to clipboardExpand all lines: LibZipSharp/Xamarin.LibZipSharp.targets.in+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
19 | 22 | |
20 | 23 | |
21 | 24 | |
|
Collapse file
LibZipSharp/Xamarin.Tools.Zip/Constants.cs.in
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
0 commit comments