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

v2.5.9.1 #6175

Merged
merged 38 commits into from
Nov 27, 2023
Merged

v2.5.9.1 #6175

merged 38 commits into from
Nov 27, 2023

Conversation

retailcoder
Copy link
Member

Release recent changes

retailcoder and others added 30 commits September 3, 2023 22:21
This reverts commit 1256042.
Make parser understand multiple line continuations inside lExpressions
This wraps the calls to set and get the enabled state, the visibility and the tag of a CommanBarButton in a check whether it has already been released an logs any attempt the access these methods after the release as a warning.

This should lead to a clean exit. However, it only fixes the symptoms of apparently too late CanExecute checks. Identifying these is made difficult by the fact that setting the enabled state is dispatched to the UI thread, which cuts off the stack trace.
This assigns the return value and then exists the function instead of exiting the procedure that gets converted. These two statements are inserted separated by a statement separator instead of doing it on multiple lines to avoid having a separate code path if the Exit Sub is in a single line if statement.
…tSub

Replace Exit Sub when converting Subs to Functions
Make the parser understand completely empty single line if statements
Try to avoid RCW exception on CommandBarButtons at shutdown
@rubberduck-vba-releasebot
Copy link
Member

Copy link

codecov bot commented Nov 5, 2023

Codecov Report

Merging #6175 (22b5a72) into main (9686494) will decrease coverage by 0.24%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6175      +/-   ##
==========================================
- Coverage   97.58%   97.34%   -0.24%     
==========================================
  Files           4        4              
  Lines         413      413              
  Branches       28       28              
==========================================
- Hits          403      402       -1     
  Misses          6        6              
- Partials        4        5       +1     

see 1 file with indirect coverage changes

@rubberduck-vba-releasebot
Copy link
Member

MDoerner and others added 2 commits November 8, 2023 21:05
It is not safe to convert from Char to int16, since the unicode code points are unsigned 16-bit integers. The safe conversion it to int32, as also indicated in the docs.
Fix unsafe conversion from Char to int
@rubberduck-vba-releasebot
Copy link
Member

@rubberduck-vba-releasebot
Copy link
Member

@rubberduck-vba-releasebot
Copy link
Member

@retailcoder retailcoder merged commit 4ec0ddb into main Nov 27, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants