Recent

Author Topic: IBX 2.6.0 beta is now available for download  (Read 1626 times)

tonyw

  • Sr. Member
  • ****
  • Posts: 319
    • MWA Software
IBX 2.6.0 beta is now available for download
« on: June 22, 2023, 04:23:34 pm »
MWA Software is pleased to announce the release of version 2.6.0 of IBX for Lazarus.

This version features a complete rewrite of internal buffer management in order to improve performance
and maintainability. Highlights:

     Extending the size of the buffer pool no longer has to copy the entire record
    cache. Instead, a new extent is simply added to the buffer pool.
     A memory to memory copy of each display buffer now is avoided when scolling the
    dataset.
     A separate set of buffers is now used for calculated fields. This avoids
    having to keep copies of calculated field values in the buffer cache.
    Compact bitmaps are used to record null status and need to refresh in each
    buffer.
     Display buffer type changed from PChar to TRecordBuffer in line with change of
    buffer type in FCL-DB.

See Appendix B of the updated User Guide for a discussion of the new buffer management strategy.

There are also several bug fixes.

This version has passed all regression tests. However, it will benefit from wider field testing and is hence labelled as a beta release. Please conduct your own testing before considering its use in production software.

NOTE: THIS VERSION RE-WRITES THE INTERNAL BUFFER MANAGER AND SHOULD BE CONSIDERED AS BETA SOFTWARE.

Please report any issues and other feedback on the new release to support@mwasoftware.co.uk

The updated version is available from

https://www.mwasoftware.co.uk/ibx
« Last Edit: June 22, 2023, 04:41:47 pm by tonyw »

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: IBX 2.6.0 beta is now available for download
« Reply #1 on: June 22, 2023, 06:08:14 pm »
MWA Software is pleased to announce the release of version 2.6.0 of IBX for Lazarus.

...

The updated version is available from

https://www.mwasoftware.co.uk/ibx

Thanks Tony. I'm looking forward to testing it... as soon as I can clean some other things off of my plate. :)
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.6.0 beta is now available for download
« Reply #2 on: June 25, 2023, 02:09:45 pm »
Thank you!

There seems to be a problem with FirebirdPascalAPIGuide.pdf, found in doc folder of the 2-6-0-beta.

I tried to open it with Adobe Reader, Firefox and Microsoft Edge. Neither of these could open the document.

And the link in mwa website still gets the document from 2021 (this might be on purpose though, as the new version is still considered beta).

tonyw

  • Sr. Member
  • ****
  • Posts: 319
    • MWA Software
Re: IBX 2.6.0 beta is now available for download
« Reply #3 on: June 25, 2023, 02:26:20 pm »
I've checked the file. The Firebird API doc is OK in both zip and tar versions. However, in the tar version, it is a softlink to fbintf/doc/FirebirdPascalAPIGuide.pdf - where you can find the same document. If you expand the archive and save on disk, all is OK. However, some archive viewers are unable to cope with softlinks in tar archives.

The API is unchanged from the previous IBX release. The new buffer management only affects the IBX part of the release (i.e. TDataset support).

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.6.0 beta is now available for download
« Reply #4 on: June 25, 2023, 02:33:24 pm »
I've checked the file. The Firebird API doc is OK in both zip and tar versions. However, in the tar version, it is a softlink to fbintf/doc/FirebirdPascalAPIGuide.pdf - where you can find the same document. If you expand the archive and save on disk, all is OK. However, some archive viewers are unable to cope with softlinks in tar archives.

Actually, I didn't download the zip, but I used svn (both trunk and 2-6-0-beta). Thank you for clarifying this. Indeed, the real document is found under fbintf/doc/.

The API is unchanged from the previous IBX release. The new buffer management only affects the IBX part of the release (i.e. TDataset support).

I see, so the link found in documentation section on the website is the latest one. Thanks!
« Last Edit: June 25, 2023, 02:34:59 pm by Zoran »

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.6.0 beta is now available for download
« Reply #5 on: July 11, 2023, 12:28:34 pm »
Hello, Tony,

As Lazarus developers had changed the signature of TCustomGrid.DrawCellText, you introduced the define to be able to correctly override this method. Depending on wether lcl version is smaller than 3.0.0 or not, the appropriate function signature is taken.
This is done in two places - IBDynamicGrid, line 199 and IBArrayGrid, line 152.

The changes were undone though (https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/53aaae9c5e2a5edac5b1d2f70739a8ef7b0a9623).
So now the ibcontrols package does not compile with fixes_3_0 or trunk.

tonyw

  • Sr. Member
  • ****
  • Posts: 319
    • MWA Software
Re: IBX 2.6.0 beta is now available for download
« Reply #6 on: July 11, 2023, 12:37:39 pm »
OK - thanks letting me know. I assume that this issue will be fixed in lazarus 3.0 RC2

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.6.0 beta is now available for download
« Reply #7 on: July 12, 2023, 12:45:18 am »
OK - thanks letting me know. I assume that this issue will be fixed in lazarus 3.0 RC2

No, they changed their mind about making string parameter const, so they reverted the changes they had done in trunk before.
The point is that method signature is not going to change from what it was before, this is not going to change in RC2... That is, unless they change their mind again...
You should remove the two version of the method overload.

tonyw

  • Sr. Member
  • ****
  • Posts: 319
    • MWA Software
Re: IBX 2.6.0 beta is now available for download
« Reply #8 on: July 17, 2023, 04:23:40 pm »
I've issued a maintenance update (2.6.1) that reverses out the change to DrawCellText. This is now available for download by svn and from https://mwasoftware.co.uk/ibx

 

TinyPortal © 2005-2018