-
Notifications
You must be signed in to change notification settings - Fork 2
Comparing changes
Open a pull request
base repository: ac000/libmtdac
base: v1.3.0
head repository: ac000/libmtdac
compare: v1.4.0
- 9 commits
- 34 files changed
- 1 contributor
Commits on Aug 6, 2025
-
This function checks that the specified item, such as a NINO, business id, tax year, savings account name etc is in the correct format (not necessarily that they are actually valid). Note: The postcode check isn't a strict postcode format check, it just checks against what HMRC says is valid for a postcode. E.g. from <https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/property-business-api/6.0/oas/page#tag/Annual-Submissions/paths/~1individuals~1business~1property~1uk~1%7Bnino%7D~1%7BbusinessId%7D~1annual~1%7BtaxYear%7D/put> From the "Request Body schema" ukProperty -> allowances -> structuredBuildingAllowance -> building -> postcode string ^[0-9a-zA-Z{À-˿’}\- _&`():.'^]{1,90}$ The postcode for the building Use like bool ok; ok = mtd_is_valid_fmt(MTD_VLDT_FMT_NINO, "AB283902D"); ... Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 8137a3b - Browse repository at this point
Copy the full SHA 8137a3bView commit details
Commits on Aug 16, 2025
-
Add support for the Other Deductions API
Link: <https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/other-deductions-api/2.0/oas/page> Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 842fe46 - Browse repository at this point
Copy the full SHA 842fe46View commit details
Commits on Sep 15, 2025
-
linux/gen_uuid: Fix the reading of the uuid
We were checking the result of the fscanf(3), but it was returning 1 (which is probably correct for matching the requested UUID) but we were checking it for 36, then length of the UUID. Anyway replace fscanf(3) with fread(3), this seems better as we just want to read the 36 byte UUID from the procfs file and don't need to do any parsing. Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 4a40e32 - Browse repository at this point
Copy the full SHA 4a40e32View commit details -
This was somewhat broken, how I didn't notice sooner, I've no idea! The issue was whenever we did the fstatat(2) check and then proceeded to skip the mkdirat(2) we would also skip appending a '/' to the path so for a path like /foo/bar we'd end up with /foobar Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 486958c - Browse repository at this point
Copy the full SHA 486958cView commit details -
mtd.c: Don't prepend a '/' to absolute paths in mkdir_p()
While it's harmless, e.g. //foo/bar, let's not... Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 3cadf71 - Browse repository at this point
Copy the full SHA 3cadf71View commit details -
mtd.c: Some minor cleanup in mkdir_p()
Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for ebec57f - Browse repository at this point
Copy the full SHA ebec57fView commit details -
Add support for the Individuals Charges API
Link: <https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/individuals-charges-api/3.0/oas/page> Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for a13c367 - Browse repository at this point
Copy the full SHA a13c367View commit details -
mtd.c: Check for non-directory components in mkdir_p()
Check the result of the fstatat(2) to see if we got a non-directory path component. This would really only be a problem if the *last* component wasn't a directory as otherwise the mkdirat(2) will catch it. Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Configuration menu - View commit details
-
Copy full SHA for 4a05dc0 - Browse repository at this point
Copy the full SHA 4a05dc0View commit details
Commits on Sep 16, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 139ea63 - Browse repository at this point
Copy the full SHA 139ea63View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.3.0...v1.4.0