mapfile-parser 2.9.0__tar.gz → 2.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/CHANGELOG.md +40 -0
  2. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/Cargo.lock +1 -1
  3. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/Cargo.toml +1 -1
  4. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/PKG-INFO +4 -3
  5. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/README.md +3 -2
  6. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/pyproject.toml +1 -1
  7. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/__init__.py +1 -1
  8. mapfile_parser-2.9.2/src/mapfile_parser/frontends/objdiff_report.py +556 -0
  9. mapfile_parser-2.9.2/src/mapfile_parser/internals/__init__.py +13 -0
  10. mapfile_parser-2.9.2/src/mapfile_parser/internals/objdiff_report.py +187 -0
  11. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/mapfile.py +4 -2
  12. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/mapfile_parser.pyi +2 -2
  13. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/mapfile_rs.py +2 -0
  14. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/parser.rs +52 -20
  15. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/segment.rs +16 -10
  16. mapfile_parser-2.9.0/src/mapfile_parser/frontends/objdiff_report.py +0 -275
  17. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/.gitattributes +0 -0
  18. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/.gitignore +0 -0
  19. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/LICENSE +0 -0
  20. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/__main__.py +0 -0
  21. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/__init__.py +0 -0
  22. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/bss_check.py +0 -0
  23. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/first_diff.py +0 -0
  24. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/jsonify.py +0 -0
  25. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/pj64_syms.py +0 -0
  26. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/progress.py +0 -0
  27. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/sym_info.py +0 -0
  28. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/symbol_sizes_csv.py +0 -0
  29. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/frontends/upload_frogress.py +0 -0
  30. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/progress_stats.py +0 -0
  31. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/progress_stats_rs.py +0 -0
  32. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/mapfile_parser/utils.py +0 -0
  33. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/found_symbol_info.rs +0 -0
  34. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/lib.rs +0 -0
  35. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/mapfile.rs +0 -0
  36. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/maps_comparison_info.rs +0 -0
  37. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/progress_stats.rs +0 -0
  38. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/report.rs +0 -0
  39. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/section.rs +0 -0
  40. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/symbol.rs +0 -0
  41. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/symbol_comparison_info.rs +0 -0
  42. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/symbol_decomp_state.rs +0 -0
  43. {mapfile_parser-2.9.0 → mapfile_parser-2.9.2}/src/rs/utils.rs +0 -0
@@ -7,6 +7,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.9.2] - 2025-05-28
11
+
12
+ ### Changed
13
+
14
+ - `objdiff_report`:
15
+ - Simplify emitted entries by avoiding using quotes as much as possible when
16
+ using the `--emit-categories` flag.
17
+ - Avoid printing the summary table when using the `--emit-categories`.
18
+ - Allow customizing the output of the summary table a little bit via the
19
+ Python API.
20
+
21
+ ## [2.9.1] - 2025-05-27
22
+
23
+ ### Added
24
+
25
+ - Add `--emit-categories` flag to `objdiff_report`.
26
+ - Prints to stdout automatically-generated categories from the mapfile.
27
+ Categories will use the `decomp.yaml` format.
28
+ - Intended to facilitate to integrate this progress reporting method.
29
+ - The generated categories are expected to be modified by the user and not
30
+ used as is.
31
+ - Print a summary from the generated progress report in `objdiff_report`.
32
+ - Printed to stdout by default.
33
+ - This will be printed as a summary step if the script detects it is being run
34
+ in a Github Action.
35
+
36
+ ### Changed
37
+
38
+ - Metroweks ld: Parse alignment column.
39
+
40
+ ### Fixed
41
+
42
+ - GNU maps:
43
+ - Fix parsing the segment's metadata (name, address, etc) when the
44
+ segment does not have a rom address.
45
+ - Properly drop empty segments from the parsed output.
46
+ - Fix parsing if the mapfile contains Carriage Returns characters (`\r`).
47
+
10
48
  ## [2.9.0] - 2025-05-25
11
49
 
12
50
  ### Added
@@ -568,6 +606,8 @@ Full changes: <https://github.com/Decompollaborate/mapfile_parser/compare/702a73
568
606
  - Initial release
569
607
 
570
608
  [unreleased]: https://github.com/Decompollaborate/mapfile_parser/compare/master...develop
609
+ [2.9.2]: https://github.com/Decompollaborate/mapfile_parser/compare/2.9.0...2.9.2
610
+ [2.9.1]: https://github.com/Decompollaborate/mapfile_parser/compare/2.9.0...2.9.1
571
611
  [2.9.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.8.1...2.9.0
572
612
  [2.8.1]: https://github.com/Decompollaborate/mapfile_parser/compare/2.8.0...2.8.1
573
613
  [2.8.0]: https://github.com/Decompollaborate/mapfile_parser/compare/2.7.5...2.8.0
@@ -171,7 +171,7 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
171
171
 
172
172
  [[package]]
173
173
  name = "mapfile_parser"
174
- version = "2.9.0"
174
+ version = "2.9.2"
175
175
  dependencies = [
176
176
  "lazy_static",
177
177
  "objdiff-core",
@@ -3,7 +3,7 @@
3
3
 
4
4
  [package]
5
5
  name = "mapfile_parser"
6
- version = "2.9.0"
6
+ version = "2.9.2"
7
7
  edition = "2021"
8
8
  rust-version = "1.74.0"
9
9
  authors = ["Anghelo Carvajal <angheloalf95@gmail.com>"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapfile_parser
3
- Version: 2.9.0
3
+ Version: 2.9.2
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -36,6 +36,7 @@ This library is available for Python3 and Rust
36
36
  - Support map formats:
37
37
  - GNU ld
38
38
  - clang lld
39
+ - Metrowerks ld
39
40
  - Built-in cli utilities to process the parsed map file (see [Examples](#examples)).
40
41
 
41
42
  ## Installing
@@ -54,7 +55,7 @@ If you use a `requirements.txt` file in your repository, then you can add
54
55
  this library with the following line:
55
56
 
56
57
  ```txt
57
- mapfile_parser>=2.9.0,<3.0.0
58
+ mapfile_parser>=2.9.2,<3.0.0
58
59
  ```
59
60
 
60
61
  #### Development version
@@ -93,7 +94,7 @@ cargo add mapfile_parser
93
94
  Or add the following line manually to your `Cargo.toml` file:
94
95
 
95
96
  ```toml
96
- mapfile_parser = "2.9.0"
97
+ mapfile_parser = "2.9.2"
97
98
  ```
98
99
 
99
100
  ## Versioning and changelog
@@ -17,6 +17,7 @@ This library is available for Python3 and Rust
17
17
  - Support map formats:
18
18
  - GNU ld
19
19
  - clang lld
20
+ - Metrowerks ld
20
21
  - Built-in cli utilities to process the parsed map file (see [Examples](#examples)).
21
22
 
22
23
  ## Installing
@@ -35,7 +36,7 @@ If you use a `requirements.txt` file in your repository, then you can add
35
36
  this library with the following line:
36
37
 
37
38
  ```txt
38
- mapfile_parser>=2.9.0,<3.0.0
39
+ mapfile_parser>=2.9.2,<3.0.0
39
40
  ```
40
41
 
41
42
  #### Development version
@@ -74,7 +75,7 @@ cargo add mapfile_parser
74
75
  Or add the following line manually to your `Cargo.toml` file:
75
76
 
76
77
  ```toml
77
- mapfile_parser = "2.9.0"
78
+ mapfile_parser = "2.9.2"
78
79
  ```
79
80
 
80
81
  ## Versioning and changelog
@@ -3,7 +3,7 @@
3
3
 
4
4
  [project]
5
5
  name = "mapfile_parser"
6
- version = "2.9.0"
6
+ version = "2.9.2"
7
7
  description = "Map file parser library focusing decompilation projects"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.9"
@@ -5,7 +5,7 @@
5
5
 
6
6
  from __future__ import annotations
7
7
 
8
- __version_info__ = (2, 9, 0)
8
+ __version_info__ = (2, 9, 2)
9
9
  __version__ = ".".join(map(str, __version_info__)) # + "-dev0"
10
10
  __author__ = "Decompollaborate"
11
11