Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
48e345a
Add catalog generator for module discovery
josef-poetzl Oct 12, 2026
d8c2a6e
Add descriptions for form/filter and data modules
josef-poetzl Oct 12, 2026
291ff04
Fix codelib header issues and read UTF-16 files in catalog generator
josef-poetzl Oct 12, 2026
c2ff098
Move examples to _examples and link them via example tags
josef-poetzl Oct 12, 2026
5125779
Use lowercase folder names and normalize codelib paths
josef-poetzl Oct 12, 2026
f912f7b
Fix file tag in DotNetLibs
josef-poetzl Oct 12, 2026
19d5b8f
Describe StringTools variants and list same-name variants in catalog
josef-poetzl Oct 12, 2026
942c5ee
Fix Length property in String2 and keep Lenght as obsolete alias
josef-poetzl Oct 12, 2026
a9daa54
Comment out legacy AccUnit integration in test classes
josef-poetzl Oct 12, 2026
5d786f5
Add descriptions for text and file modules
josef-poetzl Oct 12, 2026
6d97798
Add descriptions for winapi modules
josef-poetzl Oct 12, 2026
b42243f
Add descriptions for form modules
josef-poetzl Oct 12, 2026
65d368f
Use parameterized ADODB commands in AuditTrail
josef-poetzl Oct 12, 2026
e6a3ba9
Require explicit parameter types in AuditTrail commands
josef-poetzl Oct 12, 2026
f70bb8a
Note modifications to original code in AuditTrail
josef-poetzl Oct 12, 2026
f142619
Add descriptions for base modules
josef-poetzl Oct 12, 2026
374c726
Add descriptions for pdfcreator, graphviz, excel and com modules
josef-poetzl Oct 12, 2026
a420fd7
Add descriptions for remaining library modules
josef-poetzl Oct 12, 2026
2b96edc
Remove obsolete SimplyVBUnit test suite
josef-poetzl Oct 12, 2026
b3917a3
Add data access recipes and check recipe paths in catalog generator
josef-poetzl Oct 12, 2026
51976fc
Fix argument order of AddSubSelectCriteria in FilterStringBuilder exa…
josef-poetzl Oct 12, 2026
09efe53
Escape quotes in DbConnectionInfo user name update
josef-poetzl Oct 12, 2026
20b7cd7
Add recipes for files, text, forms, export and application framework
josef-poetzl Oct 12, 2026
cf034b1
Declare WinAPI functions PtrSafe for 64-bit Office
josef-poetzl Oct 12, 2026
dc02961
Add analysis and plan for add-in source cleanup
josef-poetzl Oct 12, 2026
7d1f00e
Check generated catalog in CI
josef-poetzl Oct 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/catalog-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Catalog check

# Fails if _codelib/catalog is out of date (run _tools/catalog/Build-Catalog.ps1 and commit the result).
# Windows runner: the generator reads Windows-1252 files and compares CRLF output.

on:
push:
paths:
- '**/*.cls'
- '**/*.bas'
- '**/*.frm'
- '**/*.rpt'
- '**/*.package'
- '_codelib/catalog/**'
- '_codelib/recipes/**'
- '_tools/catalog/**'
- '.github/workflows/catalog-check.yml'
pull_request:
paths:
- '**/*.cls'
- '**/*.bas'
- '**/*.frm'
- '**/*.rpt'
- '**/*.package'
- '_codelib/catalog/**'
- '_codelib/recipes/**'
- '_tools/catalog/**'
- '.github/workflows/catalog-check.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
check:
name: Check generated catalog
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check catalog
shell: powershell
run: .\_tools\catalog\Build-Catalog.ps1 -Check
56 changes: 56 additions & 0 deletions _codelib/addins/addins-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Clean up `_codelib/addins` (postponed)

Status: analysis of 2026-10-12, nothing changed yet. Suggested branch: `feature/addins-cleanup` from `master`.

## Findings

`_codelib/addins` contains source modules of the add-ins and modules shared by them.

1. **Outdated add-in copies:** `ImportWizard`, `FilterFormWizard`, `AccUnitLoader`, `StructViewer` were last changed
in 2022. The add-ins are developed in their own repositories, e.g. `ACLibFileManager.cls` has 2028 lines in
ACLibImportWizard and 1695 lines here. These copies also contain outdated `<use>` targets:
`file/modFiles.bas` (now `file/FileTools.bas`), `data/dao/modDAO_Tools.bas` (now `data/dao/DaoTools.bas`?),
`data/modSQL_Tools.bas` (now `data/SqlTools.cls`?), `defGlobal_ACLibFilterFormWizard.bas`,
`shared/AccUnitConfiguration.cls`, and a malformed line in `frmFilterFormWizard.frm`
(`<use>text/StringTools.bas</code>`).
2. **`shared/` is in use, but outdated here:** the add-in repositories import these modules from this repository
(`<file>_codelib/addins/shared/...</file>`), but their own copies are newer. Removing `shared/` would break add-in
updates (`missing`).

| Module | Newer version in | Differing lines |
|---|---|---|
| `ACLibConfiguration.cls` | ACLibImportWizard | 76 |
| `AddInConfiguration.cls` | ACLibImportWizard | 2 |
| `AddInInstaller.cls` | ACLibImportWizard | 4 |
| `CodeModuleHeaderItem.cls` | ACLibImportWizard | 12 |
| `CodeModuleProcedure.cls` | ACLibImportWizard | 6 |
| `CodeModuleReader.cls` | ACLibImportWizard | 120 |
| `AppFileCodeModulTransfer.cls` | FilterFormWizard | 46 |
| `CodeModuleWriter.cls` | FilterFormWizard | 32 |
| `FormDesigner.cls` | FilterFormWizard | 56 |
| `VbeTools.cls` | FilterFormWizard | 8 |
| `modWizardCodeModulesData.bas` | FilterFormWizard | 10 |
| `ACLibGitHubImporter.cls` | **both, diverged** (ImportWizard 76, FilterFormWizard 110, between them 54) | merge required |

`InstallAddInForm.frm` is used by ACLibImportWizard, but stored there in another export format
(`source/forms/InstallAddInForm.cls` + `.form`): compare manually.

Not used by the two add-in repositories: `ACLibWebImporter.cls`, `CodeModuleStructReader.cls`, `Test/`.

## Plan

1. Remove `ImportWizard`, `FilterFormWizard`, `AccUnitLoader`, `StructViewer` and replace `_codelib/addins/_info.txt`
with a `README.md` that links to the add-in repositories:
- ImportWizard: https://github.com/AccessCodeLib/ACLibImportWizard
- FilterFormWizard: https://github.com/AccessCodeLib/FilterFormWizard
- AccUnitLoader, StructViewer: repositories still to be clarified (StructViewer -> ACLibCodeStructReader?)
2. Sync `shared/`: take the newer version of the 11 modules with one source after reviewing the diff
(keep encoding and CRLF); merge `ACLibGitHubImporter.cls` from both add-ins.
3. Leave the unused `shared/` modules unchanged (decide later).
4. Commits: "Replace outdated add-in sources with links to add-in repositories",
"Sync shared add-in modules from add-in repositories".

## Notes

- Compare with `diff --strip-trailing-cr` (line endings differ between repositories).
- After the sync the add-in repositories get the merged state with their next update via the Import Wizard.
Loading
Loading