Lazarus

Announcements => Third party => Topic started by: tonyw on August 07, 2012, 12:06:49 pm

Title: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: tonyw on August 07, 2012, 12:06:49 pm
MWA Software is pleased to announce the availability of IBX 4 Lazarus 1.0-1

This is a minor update, primarily for compatibility with fpc 2.7.1 (and successors).

1. In IBCustomDataset. Changed CurBookmark from string to TBookmark for compiler versions > 2.6.0
   Necessary because of TBookmark type and TDataSet.Bookmark property change in fpc 2.7.1

2. IBX now registers TIntegerField as a "No Icon" component. This may be removed if the fpc DB
   package is changed to do this (which it should do).

Updates packages are available from

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

Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: marcov on August 07, 2012, 01:28:12 pm

2. IBX now registers TIntegerField as a "No Icon" component. This may be removed if the fpc DB
   package is changed to do this (which it should do).

I think that is a Lazarus issues, rather than a FPC one.
 
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: Lacak2 on August 07, 2012, 02:44:43 pm
As you know there is already bug report about it  ;D:
http://bugs.freepascal.org/view.php?id=19035
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: Zoran on October 21, 2012, 03:40:45 pm
I noticed that IBX for Lazarus 1.0.2 appeared on the site. However, with this new version, components do not get installed in the component palette!
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: tonyw on October 25, 2012, 12:14:27 am
Zoran,

This was a very minor update from 1.0.1 correcting the FPC version number for the TBookmark type change and should not have affected anything else. There was no announcement as the change would only have affected a tester using FPC 2.6.1.

I have just done a quick against the version uploaded and the one I am actively using and cannot find any differences.

If the components do not appear in the palette this usually means that IBX can't find the Firebird Client Library.  What platform are you using?
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: Zoran on October 25, 2012, 07:53:15 am
If the components do not appear in the palette this usually means that IBX can't find the Firebird Client Library.  What platform are you using?

Yes, that is what it was!
I did a clean install of new Kubuntu 12.10, then installed FPC, Lazarus and IBX before Firebird. I am very sorry for this false alarm.
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: Zoran on November 22, 2012, 09:44:50 am
Since new changes in LCL trunk (svn rev. 39321 (http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&sortby=date&revision=39321)), which solves the bug 19035 (http://bugs.freepascal.org/view.php?id=19035), you must not register TIntegerField.

Now, after you recompile and try to start Lazarus IDE, you get the Package registration error (see the attached picture).

The solution is that in file IBDBReg.pas, you add LCLVersion to uses list and surround the statement on line 336 in conditional compilation block:
Code: [Select]
uses
  ..., LCLVersion;
  ...
  {$if lcl_fullversion < 01010000}
  RegisterNoIcon([TIntegerField]);
  {$ifend}
  ...
Title: Re: IBX for Lazarus Release 1.0-1 is now available for Download
Post by: tonyw on November 23, 2012, 12:17:44 am
Release 1.0-3 of IBX for Lazarus is now available from http://www.mwasoftware.co.uk/ibx.

This update incorporates the fix proposed by Zoran and should work correctly with Lazarus 1.1.

A minor enhancement is also included in this release. In previous versions, when a new database component was placed on a form, the character set for the connection defaulted to "none". This has now been changed to a more sensible default for the development platform. Under Unixes this is UTF-8, while under Windows the current code page is interrogated and the character set defaults to WIN1250 through to WIN1254 if a match is found. The initial default can be over-ridden in the Database Properties or the component editor.
TinyPortal © 2005-2018