MBS Plugins 24.6 pre-releases

Hello,

in this thread I want to post to you what’s new in 24.6 prerelease plugins. Download here:

monkeybreadsoftware.de/xojo/download/plugin/Prerelease/

or from Dropbox or ask (in private message or email) to be added to the shared dropbox folder.

If you like our plugins, please bookmark, like or forward this thread.
If not, well you can ignore it.

New functions in documentation .

Thanks for supporting our plugins.

If you have questions, please post your question as a new discussion

Greetings
Christian

3 Likes

Thank you, Christian. The DeclareLibrary leak fix is not yet in it, yes?

You are too quick. I still need to upload it!

1 Like

So please ignore my question! Thanks a lot! Downloading right away! (When available) :smiley:

Declare fix is included.

24.6pr1:

  • Improved WordFileMBS class with PropertyValue() to work on custom properties, too.
  • Fixed memory leak in Invoke method of DeclareFunctionMBS class.
  • Fixed a memory leak in the RequestAccessCompleted event of WindowsBluetoothLEDeviceMBS class.
  • Fixed a memory leak in the RequestAccessAsyncCompleted event of WindowsGattDeviceServiceMBS class.
  • Fixed a memory leak in DeclareLibraryMBS constructor.
  • Fixed a memory leak in ConvertStyledText in DynaPDFMBS class.
  • Added GetFontSize method to DynaPDFMBS class.
  • Fixed a memory leak in running request in FMConnectionMBS class.
  • Fixed a memory leak in recordWithIDWasDeleted event in CKFetchRecordZoneChangesOperationMBS class.
  • Fixed a memory leak in FieldByName function in MimeHeaderMBS class.
  • Fixed a memory leak in EstimatedDocumentCount function in MongoCollectionMBS class.
  • Fixed a memory leak in exception handling for Java classes.
  • Fixed a memory leak in Root method in IORegistryMBS class.
  • Fixed a memory leak in Match method in PCRE2CodeMBS class.
  • Fixed a memory leak in the Convert method in RabbitMQ classes to convert dictionaries.
  • Fixed a memory leak in fetchSubscriptionCompleted, discoverUserInfosCompleted and fetchRecordZonesCompleted events in CloudKit classes.
  • Updated to Xcode 16.1.
  • Deprecated ContentLengthPenaltySize, ChunkLengthPenaltySize and MaxPipelineLength properties in CURLSMultiMBS class.
  • Updated taglib to version 2.0.2.
  • Added ID3v2Tags property to TagLibFileRefMBS class.
  • Added Document property to XMLXPathResultMBS class to keep the reference to the parent document here.
  • Updated mongo-c-driver library to version 1.29.0.
  • Added AVPlayerViewControllerMBS class.
  • Added AVPlaybackSpeedMBS class.
  • Updated ssh2 library to version 1.11.1.
  • Improved Advances function in CTRunMBS class to be quicker if possible.
  • Fixed a few memory leaks where the result array was leaked if an exception was raised in the same method later.
  • Fixed a memory leak in GetSupportedIntentCodes in LCMS2MBS module.
  • Added more parameter checks for MongoDB functions.
  • Updated zlib to version 1.3.1.
  • Updated LibXL to version 4.5.0.
  • Added XLCorePropertiesMBS class.
  • Added RemoveAllPhonetics and CoreProperties methods to XLBookMBS class.
  • Added RowFormat and ColFormat functions to XLSheetMBS class.
  • Updated SQLite to version 3.47.1.
  • Improved DynaPDF.Initialize to log the version of DynaPDF loaded in the trace log.
  • Improved XL.Initialize to log the version of LibXL loaded in the trace log.
  • Split UIViewControllerMBS into it’s own plugin part, so it can be used without AdMob classes.
  • Fixed a crash with UIViewControllerMBS destructor not working as it should.
  • Improved OSVersionString function in SystemInformationMBS module to better recognize Windows Server 2019 and newer.
  • Added BasicAuthenticationRequested event for WebView2ControlMBS control.
3 Likes

24.6pr2:

  • Removed the dependency on VCRUNTIME140_1.DLL for TagLib plugin part. Appeared back in pr1.
  • Updated DynaPDF to version 4.0.95.269.
  • Added GetLastTextPosYAbs and GetLastTextPosXAbs functions to DynaPDFMBS class.
  • Improved freeing objects in threaded code for Windows, e.g. for Bluetooth, Store, OCR and PDF classes in WinFrameworks plugin.
  • Improved trace logging in DynaPDF Plugin to include more DynaPDF objects.
  • Fixed memory leak with DynaPDFBitmapMBS class destructor leaking a memoryblock.
  • Fixed memory leak with DynaPDFOptimizeParamsMBS class destructor leaking an array.
1 Like

Could you please check DeclareLibrary on Windows again, Christian? I had to revert Utils to 24.5 because of weird crashes with the PR, creating a window being stuck on opening – no controls visible. The library object being Nil after folder item based constructor.

24.6pr3:

@Christian_Schmitz will you add the updated phidget features ?

Sorry, but what phidget features?

Whenever I fix something for someone, I include that in the next plugin version.

They just added some new api features:
https://www.phidgets.com/view=changelog&srsltid=AfmBOoptYOo6vfikYQSuvOlEKlMGojcIH9ybzzBkZoAH8DQCICRfl96Q

For the newly released brushless and brushed motor phidgets

Oh, that is new to me. I may put it on the wish list.

1 Like

24.6pr4:

  • Added automaticallyInsertsWritingToolsItems property to NSMenuMBS class.
  • Added allowsWritingTools property to NSTextFieldMBS class.
  • Added writingToolsItems shared method to NSMenuItemMBS class.
  • Added NSHTTPCookieSetByJavaScript shared method to NSHTTPCookieMBS class.
  • Added NSWritingToolsExclusionAttributeName shared method to NSAttributedStringMBS class.
  • Added NSToolbarWritingToolsItemIdentifier shared method to NSToolbarItemMBS class.
  • Updated to Xcode 16.2.
  • Added items method and debugItems property to NSMenuMBS class.
  • Added showWritingTools method to NSApplicationMBS class.
  • Added ImagePlaygroundMBS class.
  • Updated DynaPDF to version 4.0.96.272.
  • Added ConvToFreeTextCallout method to DynaPDFMBS class.
1 Like

Nice one. Thank you, @Christian_Schmitz :blush:

1 Like

Is it right that these constants are now removed?

CURLSMBS.kError_HTTP_POST_ERROR '34
CURLSMBS.kError_FUNCTION_NOT_FOUND '41

Also there is an MBS plugin 24.6pr5 available to download - should we use this?

Yes, these were removed in CURL as they haven’t been used in a long time.
And yes, I forgot to post here about new pre-release.

24.6pr5:

  • Added automaticallyInsertsWritingToolsItems property to NSMenuMBS class.
  • Added allowsWritingTools property to NSTextFieldMBS class.
  • Added writingToolsItems shared method to NSMenuItemMBS class.
  • Added NSHTTPCookieSetByJavaScript shared method to NSHTTPCookieMBS class.
  • Added NSWritingToolsExclusionAttributeName shared method to NSAttributedStringMBS class.
  • Added NSToolbarWritingToolsItemIdentifier shared method to NSToolbarItemMBS class.
  • Updated to Xcode 16.2.
  • Added items method and debugItems property to NSMenuMBS class.
  • Added showWritingTools method to NSApplicationMBS class.
  • Added ImagePlaygroundMBS class.
  • Updated DynaPDF to version 4.0.96.272.
  • Added ConvToFreeTextCallout method to DynaPDFMBS class.

Fom the documentation:

Var Available As Boolean = NSApplicationMBS.WritingToolsAvailable

doesn’t compile. Xojo says NSApplicationMBS.WritingToolsAvailable doesn’t exist. I checked the plugins, and MBS Xojo MacCocoa is from build 24.6 (build 21178).

Sorry, a flag was incorrectly set.

New plugin here:

https://www.dropbox.com/scl/fo/62ggygvx8l3l9sjha8apn/ABj0bCJ-m8plFKUyH93DvsE?rlkey=mxqp1oqgg0jnpk2lv004j7bl2&dl=0

24.6pr6:

  • Updated DynaPDF to version 4.0.96.273.
  • Added new constants for PhidgetMBS class.
  • Added IsOpen, MinDataRate, MaxDataInterval, MaxDataRate, MinDataInterval, DataRate properties to PhidgetMBS class.
  • Added ImageFile property for ImagePlaygroundMBS class.
  • Added kUTTypeJPEGXL, kUTTypeHEIF and kUTTypeHEIC to UTTypeMBS module.
  • Fixed a problem with array handling affecting e.g. CoreTextMBS.RegisterFontsForURL function.
  • Added RequestFonts method to CoreTextMBS class.
3 Likes