Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] [ANN] 13.0pr6 (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] MBS FileMaker Plug, Using CURL with SSL
Next thread: [MBS] bug in ToolbarCustomized example?


Re: [MBS] PortAudio bug?   -   Garth Hjelte
  [MBS] [ANN] 13.0pr6   -   Christian Schmitz
   Re: [MBS] [ANN] 13.0pr6   -   Christian Schmitz
   Re: [MBS] [ANN] 13.0pr6   -   Kevin Gale
   Re: [MBS] [ANN] 13.0pr6   -   Marnaud

[MBS] [ANN] 13.0pr6
Date: 02.01.13 18:41 (Wed, 2 Jan 2013 18:41:31 +0100)
From: Christian Schmitz
Hi,

* Fixed GKEventsMBS.PlayerAuthenticationDidChange event.
* Fixed a couple of issues with documentation.
* Added CSIdentityAuthorityMBS, CSIdentityMBS and CSIdentityQueryMBS classes.
* Added TiffPictureMBS.JPEGQuality property and constants.
* Changed PictureMBS Row functions to raise OutOfMemoryException if no memory is available instead of returning nil.
* Added SQLCommandMBS.AsRecordSet.
* Added Error, ErrorCode, ErrorMessage, SQLSelectAsRecordSet and SQLSelectAsRecordSetMT to SQLConnectionMBS class.
* Added OptionMaximumSegmentSizeMBS, OptionReceiveBufferSizeMBS, OptionSendBufferSizeMBS and OptionTypeMBS methods to Socket class.
* Added BuildRecordSetMBS function to build recordSet from arrays of strings.
* Validated types for DynaPDF, SQL, SQLAnywhere and ChartDirector Plugin.
* Validated types for XL Plugin. Fixed a couple of possible bugs.
* Added XLBookMBS.BookVersion function and new offset parameters to XLSheetMBS.SetPicture.
* Updated libXL to version 3.4.0
* Added Picture.CopyABGRtoMemoryblockMBS, Picture.CopyARGBtoMemoryblockMBS, Picture.CopyBGRAtoMemoryblockMBS and Picture.CopyRGBAtoMemoryblockMBS.
* Added ShowModalThreadSafeMBS and ShowModalWithinThreadSafeMBS for MessageDialog class.
* Updated DynaPDF to version 3.0.21.57.

Greetings
Christian

Re: [MBS] [ANN] 13.0pr6
Date: 02.01.13 20:20 (Wed, 2 Jan 2013 20:20:06 +0100)
From: Christian Schmitz

Am 02.01.2013 um 20:05 schrieb Kevin Gale <<email address removed>>:

> Hi Christian
>
> Is there any specific reason why this was changed as I think this is going to cause problems for us.

well, this is a way to find bugs and correctly handle out of memory situations.

> I imagine some (if not all) of the PictureMBS functions return nil for several reasons with out of memory only being one of the reasons. Currently, if we get a nil value we know we cannot continue so we clean up and exit (in quite a lot of cases we don't really care why we got the nil as it makes no difference).

Well, just to show you:

RawRow(index as integer) as memoryblock

this one raises OutOfBoundsException if index is invalid.
it returns nil if image is invalid or the row is nil.
In normal case it returns a memoryblock pointing to the row.

Row(index as integer) as memoryblock

This one returns a copy of the row, so beside of the above it raises now an OutOfMemoryException.

RowInFormat(index as integer, ImageFormat as integer) as memoryblock

this one goes like the above.

If most people here think my idea of adding OutOfMemoryException here is a bad idea, I can of course remove it.
But I thought it's a good idea to have the plugin report the issue.

Greetings
Christian

Re: [MBS] [ANN] 13.0pr6
Date: 02.01.13 20:05 (Wed, 2 Jan 2013 19:05:15 +0000)
From: Kevin Gale
Hi Christian

Just reading the pre-release notes:
"Changed PictureMBS Row functions to raise OutOfMemoryException if no memory is available instead of returning nil".

Is there any specific reason why this was changed as I think this is going to cause problems for us.

I imagine some (if not all) of the PictureMBS functions return nil for several reasons with out of memory only being one of the reasons. Currently, if we get a nil value we know we cannot continue so we clean up and exit (in quite a lot of cases we don't really care why we got the nil as it makes no difference).

With your change it now means that we will still have to test for nil and now for out of memory exceptions. This just means writing more code which makes our app more complicated. It also means we will have to modify / potentially re-write and test every one of our functions that uses PictureMBS. This will involve several weeks of work for no benefit.


Regards
Kev

On 2 Jan 2013, at 17:41, Christian Schmitz <<email address removed>> wrote:

> Hi,
>
> * Fixed GKEventsMBS.PlayerAuthenticationDidChange event.
> * Fixed a couple of issues with documentation.
> * Added CSIdentityAuthorityMBS, CSIdentityMBS and CSIdentityQueryMBS classes.
> * Added TiffPictureMBS.JPEGQuality property and constants.
> * Changed PictureMBS Row functions to raise OutOfMemoryException if no memory is available instead of returning nil.
> * Added SQLCommandMBS.AsRecordSet.
> * Added Error, ErrorCode, ErrorMessage, SQLSelectAsRecordSet and SQLSelectAsRecordSetMT to SQLConnectionMBS class.
> * Added OptionMaximumSegmentSizeMBS, OptionReceiveBufferSizeMBS, OptionSendBufferSizeMBS and OptionTypeMBS methods to Socket class.
> * Added BuildRecordSetMBS function to build recordSet from arrays of strings.
> * Validated types for DynaPDF, SQL, SQLAnywhere and ChartDirector Plugin.
> * Validated types for XL Plugin. Fixed a couple of possible bugs.
> * Added XLBookMBS.BookVersion function and new offset parameters to XLSheetMBS.SetPicture.
> * Updated libXL to version 3.4.0
> * Added Picture.CopyABGRtoMemoryblockMBS, Picture.CopyARGBtoMemoryblockMBS, Picture.CopyBGRAtoMemoryblockMBS and Picture.CopyRGBAtoMemoryblockMBS.
> * Added ShowModalThreadSafeMBS and ShowModalWithinThreadSafeMBS for MessageDialog class.
> * Updated DynaPDF to version 3.0.21.57.
>
> Greetings
> Christian
>
> --
> Read our blog about news on our plugins:
>
> http://www.mbsplugins.de/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] [ANN] 13.0pr6
Date: 02.01.13 18:47 (Wed, 02 Jan 2013 18:47:39 +0100)
From: Marnaud
Le 2 janv. 2013 à 18:41, Christian Schmitz a écrit:

> * Added ShowModalThreadSafeMBS and ShowModalWithinThreadSafeMBS for MessageDialog class.

That one is really nice, thank you!
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info