Vampyre Imaging Library Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Imaging 0.26.4 Released!

Author Topic: Lazarus Rev. 11861 RawImage changes  (Read 1262 times)

aksdb

  • Imaging User
  • *
  • Offline Offline
  • Posts: 9
    • View Profile
Lazarus Rev. 11861 RawImage changes
« on: 26 August 2007, 22:17:17 »

In the lazarus revision 11861, the RawImage implementation got changed to a more OO approach, breaking the current implementation of the ImagingComponents.

I attached a patch to resolve this.
Logged

Galfar

  • Administrator
  • Imaging User
  • *****
  • Offline Offline
  • Posts: 249
    • ICQ Messenger - 327174200
    • View Profile
    • Galfar's Homepage
    • Email
Re: Lazarus Rev. 11861 RawImage changes
« Reply #1 on: 28 August 2007, 01:31:04 »

Thanks for the patch. I'll update the source in SVN. Do you happen to know if there is a way to detect Lazarus version during compile time? So that it won't break for people using older Lazarus (it would use old RawImage interface).
Logged

aksdb

  • Imaging User
  • *
  • Offline Offline
  • Posts: 9
    • View Profile
Re: Lazarus Rev. 11861 RawImage changes
« Reply #2 on: 28 August 2007, 02:00:27 »

Hmm, not that I know of. Probably the best way would be to just attach the patch and a note (readme or something) to svn. After Lazarus 0.9.23 is released, it can be merged (I guess there is no reason for downward compatibility then).
On the other hand ... someone who uses the Imaging Lib from svn, probably also uses Lazarus from svn (or at least he has the necessary skills to do so ;)).
Logged

Galfar

  • Administrator
  • Imaging User
  • *****
  • Offline Offline
  • Posts: 249
    • ICQ Messenger - 327174200
    • View Profile
    • Galfar's Homepage
    • Email
Re: Lazarus Rev. 11861 RawImage changes
« Reply #3 on: 29 August 2007, 13:11:34 »

Ok, so I will put the new stuff in a comment to ImagingComponents along with some note.
After the new Lazarus release new stuff will be set as compiled code and old will be put in comment
with note (so someone still using older Laz could find what to do to get it working).
Logged
 

Page created in 0.085 seconds with 18 queries.