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

Merge 3f01386 #5

Merged
merged 83 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
53394a8
Updating clsPerformance, as some objects never restart timing, and wh…
hecon5 Sep 23, 2023
4a27077
Fixing Private/Public declarations.
hecon5 Sep 23, 2023
bd24538
This isn't actually used.
hecon5 Sep 23, 2023
6e8007a
Bump Version
hecon5 Sep 23, 2023
62fde81
Update API examples
joyfullservice Oct 2, 2023
3273089
Refine some dialect-specific SQL string quotations
joyfullservice Oct 2, 2023
1cda774
Allow wrapping of long names in performance class
joyfullservice Oct 19, 2023
eae289b
Update based on feedback from @joyfullservice.
hecon5 Oct 19, 2023
8c6d7f9
Resolve conflict with upstream file
joyfullservice Oct 19, 2023
b1af656
Merge branch 'dev' into clsPerformanceUpdates
joyfullservice Oct 19, 2023
b418a54
Merge pull request #441 from hecon5/clsPerformanceUpdates
joyfullservice Oct 19, 2023
6cdac0c
Add option to pass path to build API
joyfullservice Oct 19, 2023
734d835
The logic for checking of existence of git files wasn't always workin…
bclothier Oct 19, 2023
4703b7b
Add a check when loading XML and verify it was successfully parsed. T…
bclothier Oct 19, 2023
0d9ac0a
The export log was littered with bunch of warnings about unclosed blo…
bclothier Oct 19, 2023
8f2f325
Merge pull request #446 from bclothier/MiscBugFixes
joyfullservice Oct 19, 2023
736c33c
Fix a subscript out of range error where the tokens advance beyond th…
bclothier Oct 20, 2023
5b5e037
Add more types of queries that should not be formatted by SQL formatt…
bclothier Oct 20, 2023
490d82e
The AutoClose may run after the form has closed (e.g. if the user is …
bclothier Oct 20, 2023
5362b37
Merge pull request #448 from bclothier/MiscBugFixes
joyfullservice Oct 20, 2023
a666c9d
Fix issue with LogUnhandledErrors and simplify use. (#449)
hecon5 Oct 20, 2023
40cffbc
Add option to SplitLayoutFromVBA
joyfullservice Oct 24, 2023
07e364e
Refactor code module export to shared function
joyfullservice Oct 24, 2023
0beaee5
Support "|" in performance log entry names
joyfullservice Oct 25, 2023
1ca6886
Adjust indenting
joyfullservice Oct 25, 2023
8e70ad2
Convert Sanitize module to class
joyfullservice Oct 25, 2023
1c0d3f4
Refactor sanitizing to use class
joyfullservice Oct 25, 2023
c87261a
Refactor class variables
joyfullservice Oct 25, 2023
89101c5
Refactor form/report export to split VBA
joyfullservice Nov 2, 2023
47c6506
Rename Sanitize class to SourceParser
joyfullservice Nov 2, 2023
c2ffccf
Refactor for name change
joyfullservice Nov 2, 2023
2d21eb6
Verify ribbon active state when the add-in loads
joyfullservice Nov 3, 2023
da9f94a
Don't auto split layout/VBA for existing projects
joyfullservice Nov 6, 2023
43c7133
Merge branch 'dev-jp' into dev
josef-poetzl Nov 8, 2023
54e070a
Move print settings processing to clsSourceParser
joyfullservice Nov 8, 2023
1390f2c
Move source reading function
joyfullservice Nov 8, 2023
932ac84
Rework merging source content before import
joyfullservice Nov 8, 2023
9069232
Add support to overlay VBA code after import
joyfullservice Nov 8, 2023
8f1649a
Code cleanup and minor tweaks
joyfullservice Nov 8, 2023
4f9247d
Fix bugs in build logic
joyfullservice Nov 8, 2023
925b019
Check for diff tool before comparing objects
joyfullservice Nov 8, 2023
7b8be8f
Implement correction according to rubberduck (#453)
Tanarri Nov 10, 2023
9577eab
Add wiki page for Split Files
joyfullservice Nov 13, 2023
ff706a4
Merge branch 'SplitLayoutFromVBA' of https://github.com/joyfullservic…
joyfullservice Nov 13, 2023
07bc57c
Add change hook for options
joyfullservice Nov 13, 2023
e2049fa
Automate splitting forms and reports
joyfullservice Nov 13, 2023
e723123
Rename function
joyfullservice Nov 13, 2023
de4602e
Fixes #354 and Fixes #452 (#454)
hecon5 Nov 13, 2023
d5e76f7
Add performance timing to ISO date parsing
joyfullservice Nov 14, 2023
286679d
Add high-performance wrapper functions
joyfullservice Nov 14, 2023
aff7be9
Fix copy-paste oversight
joyfullservice Nov 14, 2023
e18d818
Update error handling
joyfullservice Nov 14, 2023
b7985e9
Use faster date parsing for date only values
joyfullservice Nov 14, 2023
fe35d3b
Add Split Files utility to ribbon (Advanced Tools)
joyfullservice Nov 14, 2023
c28f32b
Rename as new files
joyfullservice Nov 15, 2023
bc23513
Restore original files
joyfullservice Nov 15, 2023
923a72b
Split files while preserving history
joyfullservice Nov 15, 2023
68e01a7
Split layout from VBA in testing database
joyfullservice Nov 15, 2023
436dd45
Adjust version number
joyfullservice Nov 15, 2023
84b6f77
Merge pull request #456 from joyfullservice/SplitLayoutFromVBA
joyfullservice Nov 15, 2023
26bf030
Revert the ConvDateUTC and ConvTimeUTC functions to always parse the …
hecon5 Nov 15, 2023
1961800
Pass by ref so we don't need to build more memory use. Optimize Offse…
hecon5 Nov 15, 2023
0ef2d02
Cache the format types instead of needing to build them every time.
hecon5 Nov 15, 2023
732f4e5
Bump Version
hecon5 Nov 15, 2023
500b891
Verify consistent naming and byref passing of strings
hecon5 Nov 15, 2023
b8dfdcc
Merge pull request #458 from hecon5/ISOOptimizations
joyfullservice Nov 15, 2023
4328713
Implement dialect in SQL formatting
joyfullservice Nov 15, 2023
62fe0fd
Add support for ! boundary character
joyfullservice Nov 15, 2023
1c3bce6
Add SQL formatting query to testing database
joyfullservice Nov 15, 2023
2a183df
Solve rare edge case with SQL IN clause
joyfullservice Nov 15, 2023
3ad141c
Addresses #459 (#460)
hecon5 Nov 16, 2023
9b6e1dd
Allow sort of operationames with leading spaces (#463)
Tanarri Nov 17, 2023
259a8df
Update comment
joyfullservice Nov 17, 2023
8776104
Adjust detection of system tables
joyfullservice Nov 17, 2023
64a14de
Log warning for UNC path access errors
joyfullservice Nov 17, 2023
adfaa01
Refactor date conversion for DB Properties
joyfullservice Nov 17, 2023
b1bf7bd
Turn off date ISO conversion by default
joyfullservice Nov 17, 2023
5009bdc
Turn on date ISO conversion before reading index
joyfullservice Nov 17, 2023
cb66895
Add saved date property to testing database
joyfullservice Nov 17, 2023
b32ff4a
Add dates stored as text to testing database
joyfullservice Nov 17, 2023
2bf3047
Add default git files if dbs in repository root
joyfullservice Nov 17, 2023
3f01386
Add note about Access 2007 support
joyfullservice Nov 21, 2023
90b402f
Merge branch 'joyfullservice:dev' into dev
josef-poetzl Nov 23, 2023
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
3 changes: 2 additions & 1 deletion Ribbon/Ribbon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<button id="btnExportSelected" size="large" label="Export Selected" supertip="Export the database component currently selected in the navigation pane." imageMso="SelectionPane" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<separator id="sep2" getVisible="GetVisible" />
<button id="btnBuild" size="large" label="Build From Source" supertip="Build the current project from source files." imageMso="FileCompactAndRepairDatabase" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnMergeBuild" size="large" label="Merge Build" supertip="Merge changed source files into the current database." imageMso="AdpDiagramArrangeTables" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnMergeBuild" size="large" label="Merge Build" supertip="Merge changed source files into the current database." imageMso="CellsInsertDialog" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnBuildAs" size="large" label="Build As․․․" supertip="Build from source files to a new name or location." imageMso="FileSaveAs" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnLoadSelected" size="large" label="Load Selected" supertip="Import from source files the database component currently selected in the navigation pane." imageMso="AlignDialog" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</group>
Expand All @@ -29,6 +29,7 @@
<button id="btnGoToLinkAdvancedTools" label="View Documentation" description="See documentation on the purpose and usage of these custom tools..." imageMso="TentativeAcceptInvitation" tag="RibbonName:=;inMenu:=mnu15;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnLocalizeLibraryReferences" label="Localize Library References" description="Relink add-in library databases to the files located in the same folder as the current database" imageMso="MacroShowAllActions" tag="RibbonName:=;inMenu:=mnu15;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnRepairColors" label="Repair Colors" description="Rebuild color definition blocks in form objects (See documentation for more info)" supertip="test2" imageMso="SmartArtChangeColorsGallery" tag="RibbonName:=;inMenu:=mnu15;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnSplitFiles" label="Split Files" description="Duplicate files while preserving Git line history" imageMso="AdpDiagramArrangeTables" tag="RibbonName:=;inMenu:=mnuAdvancedTools;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnActivateHook" label="Activate Hook" description="Enable Access Application hook to report saving of objects and enabling automatic export on save." supertip="Activate Hook" imageMso="Call" tag="RibbonName:=;inMenu:=;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
<button id="btnReloadRibbon" label="Reload Ribbon" description="Refresh the add-in ribbon menu to reflect changes in XML source" imageMso="DataRefreshAll" tag="RibbonName:=;inMenu:=mnuAdvancedTools;CustomTagValue1:=;CustomTagValue2:=;CustomTagValue3:=;CustomPicture:=;CustomPicturePath:=" onAction="OnActionButton" getVisible="GetVisible" getEnabled="GetEnabled" />
</menu>
Expand Down
12 changes: 12 additions & 0 deletions Testing/Testing.accdb.src/dbs-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
"Value": "DAO",
"Type": 10
},
"Date stored as Text": {
"Value": "11/17/2023 2:15:08 PM",
"Type": 10
},
"DesignMasterID": {
"Value": "",
"Type": 15
Expand All @@ -84,6 +88,10 @@
"Value": 70,
"Type": 3
},
"ISO8601 Date as Text": {
"Value": "2023-11-17T17:51:00.000Z",
"Type": 10
},
"Name": {
"Value": "rel:Testing.accdb",
"Type": 12
Expand Down Expand Up @@ -132,6 +140,10 @@
"Value": "",
"Type": 15
},
"SavedDateValue": {
"Value": "2023-11-17T19:35:41.000Z",
"Type": 8
},
"Show Navigation Pane Search Bar": {
"Value": 1,
"Type": 4
Expand Down
7 changes: 1 addition & 6 deletions Testing/Testing.accdb.src/forms/frmColors.bas
Original file line number Diff line number Diff line change
Expand Up @@ -936,9 +936,4 @@ Begin Form
End
End
CodeBehindForm
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Compare Database
Option Explicit
' See "frmColors.cls"
6 changes: 6 additions & 0 deletions Testing/Testing.accdb.src/forms/frmColors.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Compare Database
Option Explicit
Loading