I will send several hours on the API now.
I'm starting this thread to keep people informed on what I'm doing so
you can stop me if I'm missing anything or I'm breaking some code.

Here's what I've done so far.

- Added the is.mac, is.win32 and is.other boolean values. I've kept the
is.platform property for backwards compatibility
- Replaced is.platform checks. Now we use the above booleans
- Created a DynLayer.references array where I store all layers.
Dynlayer.toString() now uses this array. I did this because we did not
have a unique identifier for each DynLayer now. When the DynLAyer was
created we had to look for it in the unassigned array, and after
creation we used the getDocument().getLeyr...., the this.toString()
method mught fail if it was used to write, for example, a link to a
layer before it had been created, becausethe body of the link:
"DynAPi.unassigned['layer23'].do()" failed to work as after creation
DynAPI.unassigned.. no longer existed. I could have had the layers not
to be removed from the unassigned array, but I found that to be dirty.
Sure we're adding yet another array ( memory leaks!!!!! ) but we're
going to solve the memory deletion issues soon, aren't we :)

I'm not submitting these changes now. I'd like to test before. Just
keeping people informed. If you feel I'm screwing it, please tell me
while the wounds are not mortal.

Cya


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to