Hi Karl,
I made a mistake. The Smalltalk code needed to run the latest version of the plugin is at: http://groups.yahoo.com/group/squeak/message/37086 In my previous message I directed you to an older version. Please file in that thange set, and the plugin should work OK. This cs will get in the update stream real soon anyway. I'm sorry for making you loose your time.
Regards, Juan Manuel Vuletich
John M McIntosh wrote:
Well it might be best if we agree upon both the C source and the Smalltalk code, if there is an issue I'll distribute another plugin.
Karl if you can demo the problem? We should see if other have the same issue? Maybe there is a missing changeset somewhere?
I downloaded a Squeak3.2a-4599 image changes from the ftp. This I run with the Squeak 3.1Alpha1MT vm. JPEGPlugin from the ftp. MacOS 8.6. ...
This fixed the problem I had :-) Karl
"jmvuletich@uolsinectis.com.ar" wrote:
Hi Karl,
I made a mistake. The Smalltalk code needed to run the latest version of the plugin is at: http://groups.yahoo.com/group/squeak/message/37086 In my previous message I directed you to an older version. Please file in that thange set, and the plugin should work OK. This cs will get in the update stream real soon anyway. I'm sorry for making you loose your time.
Regards, Juan Manuel Vuletich
John M McIntosh wrote:
Well it might be best if we agree upon both the C source and the Smalltalk code, if there is an issue I'll distribute another plugin.
Karl if you can demo the problem? We should see if other have the same issue? Maybe there is a missing changeset somewhere?
I downloaded a Squeak3.2a-4599 image changes from the ftp. This I run with the Squeak 3.1Alpha1MT vm. JPEGPlugin from the ftp. MacOS 8.6. ...
"jmvuletich@uolsinectis.com.ar" wrote:
Hi Karl,
I made a mistake. The Smalltalk code needed to run the latest version of the plugin is at: http://groups.yahoo.com/group/squeak/message/37086 In my previous message I directed you to an older version. Please file in that thange set, and the plugin should work OK. This cs will get in the update stream real soon anyway. I'm sorry for making you loose your time.
I still get a primitive error using the JPEGMovieFile class convertMPEG... and convertSqueakMovie...
Karl
Hi Karl,
Is the error in: primJPEGWriteImage:onByteArray:form:quality:progressiveJPEG:errorMgr:?
If so, I'm getting the same error. Um... (hack, hack, hack)
Ah-ha! Try revert to the previous version of that method by Andreas (11/27/2001 ar 00:48) and regenerate the plugin.
The old version had the two lines: formBits _self cCoerce: (interpreterProxy fetchPointer: 0 ofObject: form) to: 'unsigned *'. formBitsAsInt _ interpreterProxy fetchInteger: 0 ofObject: form.
I don't understand the intention of the second line, since Andrew Greenberg's chapter of the New Blue Book says: "fetchInteger:ofObject will fail unless the oop corresponds to a SmallInteger, and fetchPointer:ofObject: will fail if the oop corresponds to a SmallInteger". Therefore, one of the two lines is guaranteed to fail; it turns out to be the second.
Juan, could you shed some light on this change?
Thanks very much for the plugin, Joshua
On Fri, Dec 28, 2001 at 01:23:03PM +0100, Karl Ramberg wrote:
"jmvuletich@uolsinectis.com.ar" wrote:
Hi Karl,
I made a mistake. The Smalltalk code needed to run the latest version of the plugin is at: http://groups.yahoo.com/group/squeak/message/37086 In my previous message I directed you to an older version. Please file in that thange set, and the plugin should work OK. This cs will get in the update stream real soon anyway. I'm sorry for making you loose your time.
I still get a primitive error using the JPEGMovieFile class convertMPEG... and convertSqueakMovie...
Karl
Joshua 'Schwa' Gargus wrote:
Hi Karl,
Is the error in: primJPEGWriteImage:onByteArray:form:quality:progressiveJPEG:errorMgr:?
If so, I'm getting the same error. Um... (hack, hack, hack)
Ah-ha! Try revert to the previous version of that method by Andreas (11/27/2001 ar 00:48) and regenerate the plugin.
Ok, but the darn MPW compiler will not compile the plugin.
The old version had the two lines: formBits _self cCoerce: (interpreterProxy fetchPointer: 0 ofObject: form) to: 'unsigned *'. formBitsAsInt _ interpreterProxy fetchInteger: 0 ofObject: form.
I don't understand the intention of the second line, since Andrew Greenberg's chapter of the New Blue Book says: "fetchInteger:ofObject will fail unless the oop corresponds to a SmallInteger, and fetchPointer:ofObject: will fail if the oop corresponds to a SmallInteger". Therefore, one of the two lines is guaranteed to fail; it turns out to be the second.
Juan, could you shed some light on this change?
Thanks very much for the plugin, Joshua
Yup, this is a fun plugin:-)
Karl
squeak-dev@lists.squeakfoundation.org