realbasic-betas.mbox
[Top] [All Lists]

[POSITIVE CHANGE] Re: einhugur quickdrawlib plug in difficulty

To: "REALbasic Betas" <realbasic-betas at lists dot realsoftware dot com>
Subject: [POSITIVE CHANGE] Re: einhugur quickdrawlib plug in difficulty
From: Einhugur Software <bjorn at einhugur dot com>
Date: Fri, 28 Nov 2003 22:06:11 +0000
Cc: hector schisa <joeschisa at mac dot com>
References: <563FDBB0-21BE-11D8-8D2A-000393452ACE at mac dot com> <4EC2C785-21CD-11D8-BD2A-000A95AFAD3E at gte dot net> <C13C9A36-21DB-11D8-A3F0-000A277A7E3C at einhugur dot com>
I have now analyzed what was happening in Hector's report.

REALbasic 5.5 is indeed changing class offsets, but this time in the right direction.

In 5.0 (or 5.1 ?) I and many others criticized that all instances of a class had 28 bytes of overhead, which then had grown from already huge 24 bytes.

5.5 seem to be back at 24 bytes which is definitely a step in the right direction.

Yes it will brake out plugins that are linked against the TypeLib plugin, but it will only be a mater of adding a version condition and recompiling them, which we will do as soon as we are fairly confident that the new class offset is there to stay.

Björn

On 28.11.2003, at 19:47, Einhugur Software wrote:

Actually REALbasic 5.5 has only broken REALbasic plugin control so-far, at least according to my knowledge.

I have not yet investigated the bellow report, but there obviously are not many possibilities in what is going on,
that is PtToAngle is a system call, so either REALbasic 5.5 has broken double as return value in plugins there or tampered with class offsets.

Either way, then as 5.5 is alpha and this is not a reported change from them then currently we will wait, that is if they broke something now, and we make adjustment in a unsupported alpha that people should not even be using for anything more than testing then the new change might brake all code in 5.5 release when it comes if they have fixed what was broken by then.


On 28.11.2003, at 18:04, Louis R wrote:

i'm not sure if its related but according to einhugur, there was a change in some post a4 5.5 alpha that broke or causes havoc with some 3rd party plugins due to some change in the rb->plugin interface. not sure what it is but just hope its fixed soon.


On Nov 28, 2003, at 8:17 AM, hector schisa wrote:

I had a trouble trying out REALbasic 5.5a9 (beta) on a program of mine and located a change in what einhugur's plug in quickdraw lib (v. 3.7) function pttoAngle returns. With this little test code,

dim r as rect // via einhugur
dim p as point // via einhugur
dim a as double
r = new rect
p = new point
r.top = 50
r.bottom = 80
r.left = 60
r.right = 80
p.x = 105
p.y = 120
a = pttoAngle(r,p) // einhugur quickdrawlib

in released versions of REALbasic 5.2.4 (and below) get
a = 136
in beta REALbasic 5.5a9 get
a = 315

Don't know if the trouble's with the plugin or the RB beta or my code. Same plug in folder for both RB versions.
<Prev in Thread] Current Thread [Next in Thread>