Hi,
I've just uploaded new squeak-dev and squeak-web images based on Squeak3.9.1-7075 and Squeak3.10-7159.
More information and download links: http://damien.cassou.free.fr/squeak-dev.html
Changes in this version: ---------------------------
- A new http server to download the images: https://gforge.inria.fr/frs/?group_id=1211 (please use this one in priority because it has a counter, it will help me know how many people are interested in each image) - Squeak-web: Magritte and Pier has been updated to 1.0.15 - OB-Enhancements saw a lot of fixes and new features again - Refactorings in OmniBrowser have been improved massively (have a look at Lukas Renggli's blog, in the OmniBrowser category: http://www.lukas-renggli.ch/blog, you will find screencasts about the new features) - Vassili Bykov regex expressions are now included
Contained packages: ------------------------
This image contains the following packages (some packages are only in the squeak-web image or beta images):
Aida version 5.6 AST version 157 AutomaticMethodCategorizer version 0.25 AutomaticMethodCategorizerOB version 0.2 DynamicBindings version 2.7 eCompletion version 0.89 eCompletion-Traits version 0.1 eCompletionOmniBrowser version 0.4 Installer version 4.1 KomHttpServer version 7.0.30 KomServices version 1.12 Magritte-Model version 1.0.15.308 Magritte-Morph version 1.0.15.40 Magritte-Seaside version 1.0.15.256 Magritte-Tests version 1.0.15.134 Monticello15 version 1.5.471 Monticello15-Bootstrap version 1.5.470 MonticelloConfigurations version 1.0.44 MonticelloConfigurations-UniversesFix version un.33.fix.3 Null version 0.8 OB-Enhancements version 0.138 OmniBrowser version 0.408 OmniBrowser-Full version 0.25 OmniBrowser-Morphic version 0.46 OmniBrowser-Refactory version 0.85 OmniBrowser-Regex version 0.8.2 OmniBrowser-Standard version 0.327 OmniBrowser-SUnitIntegration version 0.9.1 OmniBrowser-TraitsIntegration version 0.32 PackageInfo-Base version 27 Pier version current Pier-Blog version 1.0.15-alpha.72 Pier-Documents version 1.0.15-alpha.4 Pier-EditorEnh version 1.0.15-alpha.12 Pier-Model version 1.0.15-alpha.213 Pier-OmniBrowser version 1.0.15-alpha.33 Pier-Seaside version 1.0.15-alpha.264 Pier-Security version 1.0.15-alpha.103 Pier-Tests version 1.0.15-alpha.91 Refactoring Engine version 47 Rio version 0.34.29 Rio-Kernel version 0.78 RoelTyper version 0.60 RSRSS2 version 2.8.9 Scriptaculous version 2.8.228 ScriptManager version 0.6 Seaside version 2.8.522 Seaside-Adapters-Core version pmm.2.mcz Seaside-Adapters-Swazoo version 8 Seaside-Squeak-Adapters version pmm.3.mcz SeasideAdaptersCompatibility version pmm.1.mcz Shout version 3.15-tween.70 ShoutWorkspace version 1-tween.2 SmaCC runtime version 13 Sport version 2.31 Squeak dev packages version 0.20 Squeak dev packages beta version 0.21 Squeak web packages version 0.2 SUnit-improved version 4.0.108 SUnitGUI-improved version 4.0.48 Swazoo version 2.1 ToolBuilder integration for UI Themes version 0.52 UI Themes and Standard Widgets version 0.60 Universes version 42 Universes OmniBrowser version 0.35 VBRegex version 1.9 YAXO version 9
Updating the image: -------------------------
You are not obliged to download a new image if you don't want. You can always update your image.
To upgrade your already existing squeak-dev image:
1) World menu->open...->Package Universe Browser 2) Update list from network 3) Select all upgrades 4) Install selection 5) Execute: 'DEVImageCreator default install' (all windows will be closed)
Prepared packages: --------------------------
There are a lot of packages prepared for you in this image. They are not loaded in the image, but they can be easily.
- Open Package Universe Browser (world->open...->Package Universe Browser). - Click on "Update list from network" - Wait a few seconds - Select your packages - Install them
This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
Rob
On Sat, Apr 5, 2008 at 6:19 AM, Damien Cassou damien.cassou@gmail.com wrote:
Hi,
I've just uploaded new squeak-dev and squeak-web images based on Squeak3.9.1-7075 and Squeak3.10-7159.
More information and download links: http://damien.cassou.free.fr/squeak-dev.html
Don't tried with Damien images, but managed to load on stock 3.10 and load smoothly on u3 published by Lex.
Cheers.
2008/4/5, Rob Rothwell r.j.rothwell@gmail.com:
This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
Rob
On Sat, Apr 5, 2008 at 6:19 AM, Damien Cassou damien.cassou@gmail.com wrote:
Hi,
I've just uploaded new squeak-dev and squeak-web images based on Squeak3.9.1-7075 and Squeak3.10-7159.
More information and download links: http://damien.cassou.free.fr/squeak-dev.html
Same here with the stock 3.10 if I load everything in the right order! The "deadly" combinations seem to have to do with Shout, the UIEnhancements, and FFI...although I admit to being lax in my scientific approach and recording everything I try properly (but I will probably start doing so!)
What is u3?
Rob
On Sat, Apr 5, 2008 at 11:35 AM, Germán Arduino garduino@gmail.com wrote:
Don't tried with Damien images, but managed to load on stock 3.10 and load smoothly on u3 published by Lex.
"Rob Rothwell" r.j.rothwell@gmail.com wrote in message news:22f158f00804050827y254789fbjb8aac633a782acc4@mail.gmail.com... This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
please see - http://bugs.squeak.org/view.php?id=6952
There you will find a patch, ClassBuilder-nameinEnvironmentsubclassOftypeinstanceVariableNamesclassVariableNamespoolDictionariescategoryunsafe.st , which, when installed, allows FFI version 3.9.1 to be loaded into the squeak-dev and squeak-web images.
Cheers, Andy
Andrew Tween wrote:
"Rob Rothwell" r.j.rothwell@gmail.com wrote in message news:22f158f00804050827y254789fbjb8aac633a782acc4@mail.gmail.com... This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
please see - http://bugs.squeak.org/view.php?id=6952
There you will find a patch, ClassBuilder-nameinEnvironmentsubclassOftypeinstanceVariableNamesclassVariableNamespoolDictionariescategoryunsafe.st , which, when installed, allows FFI version 3.9.1 to be loaded into the squeak-dev and squeak-web images.
Did you verify whether the result is correct? It is very easy to screw up the FFI and the result of those screwups are random crashes in the calls. I'm somewhat suspicious about that workaround because I don't see where ExternalType>>StructTypes would get installed if it isn't from #doneCompiling.
Cheers, - Andreas
Hi, "Andreas Raab" andreas.raab@gmx.de wrote in message news:47F890DC.2080203@gmx.de...
Andrew Tween wrote:
"Rob Rothwell" r.j.rothwell@gmail.com wrote in message news:22f158f00804050827y254789fbjb8aac633a782acc4@mail.gmail.com... This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
please see - http://bugs.squeak.org/view.php?id=6952
There you will find a patch, ClassBuilder-nameinEnvironmentsubclassOftypeinstanceVariableNamesclassVariableNamespoolDictionariescategoryunsafe.st , which, when installed, allows FFI version 3.9.1 to be loaded into the squeak-dev and squeak-web images.
Did you verify whether the result is correct? It is very easy to screw up the FFI and the result of those screwups are random crashes in the calls. I'm somewhat suspicious about that workaround because I don't see where ExternalType>>StructTypes would get installed if it isn't from #doneCompiling.
The only verification I did was to run the Win32 FFI examples and check they work ok.
They way I understand it, StructTypes is initialized by the initialize methods, not by doneCompiling. doneCompiling calls ExternalType class>>noticeModificationOf: , which modifies the existing elements of StructTypes, but doesn't add any new ones.
My patch causes the loader to ignore errors in noticeModificationOf: caused by StructTypes being nil. Later on, StructTypes is initialized to some kind of Dictionary, and noticeModificationOf: no longer causes any errors.
I think that modifying ExternalType class>>noticeModificationOf: so that it does nothing if StructTypes is nil would have the same effect and solve the problem in much the same way. i.e. noticeModificationOf: aClass "A subclass of ExternalStructure has been redefined. Clean out any obsolete references to its type." | type | StructTypes isNil ifTrue:[^self]. ...
There is no value in setting StructTypes to a Dictionary at this point since we know that a future initialize will overwrite it with an empty Dictionary. And we know that that intialize hasn't already run, or StructTypes wouldn't be nil. And we know that nothing has tried to add an entry to StructTypes, or a different error would have occured during loading.
Having said all that, I could easily be missing something here, and you are right to be suspicious ;) Cheers, Andy
Cheers,
- Andreas
A bit more info... When I run the FFIPlugin tests with Test Runner in sq3.10-7159dev08.04.1, I get one failure and one error. This seems to be due to the monticello loader not running the package postscripts.
Manually evaluating, Smalltalk recreateSpecialObjectsArray and re-running the tests results in no errors; all the tests pass.
Cheers, Andy
"Andrew Tween" amtween@hotmail.com wrote in message news:ftapgb$ho2$1@ger.gmane.org...
Hi, "Andreas Raab" andreas.raab@gmx.de wrote in message news:47F890DC.2080203@gmx.de...
Andrew Tween wrote:
"Rob Rothwell" r.j.rothwell@gmail.com wrote in message news:22f158f00804050827y254789fbjb8aac633a782acc4@mail.gmail.com... This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
please see - http://bugs.squeak.org/view.php?id=6952
There you will find a patch, ClassBuilder-nameinEnvironmentsubclassOftypeinstanceVariableNamesclassVariableNamespoolDictionariescategoryunsafe.st , which, when installed, allows FFI version 3.9.1 to be loaded into the squeak-dev and squeak-web images.
Did you verify whether the result is correct? It is very easy to screw up the FFI and the result of those screwups are random crashes in the calls. I'm somewhat suspicious about that workaround because I don't see where ExternalType>>StructTypes would get installed if it isn't from #doneCompiling.
The only verification I did was to run the Win32 FFI examples and check they work ok.
They way I understand it, StructTypes is initialized by the initialize methods, not by doneCompiling. doneCompiling calls ExternalType class>>noticeModificationOf: , which modifies the existing elements of StructTypes, but doesn't add any new ones.
My patch causes the loader to ignore errors in noticeModificationOf: caused by StructTypes being nil. Later on, StructTypes is initialized to some kind of Dictionary, and noticeModificationOf: no longer causes any errors.
I think that modifying ExternalType class>>noticeModificationOf: so that it does nothing if StructTypes is nil would have the same effect and solve the problem in much the same way. i.e. noticeModificationOf: aClass "A subclass of ExternalStructure has been redefined. Clean out any obsolete references to its type." | type | StructTypes isNil ifTrue:[^self]. ...
There is no value in setting StructTypes to a Dictionary at this point since we know that a future initialize will overwrite it with an empty Dictionary. And we know that that intialize hasn't already run, or StructTypes wouldn't be nil. And we know that nothing has tried to add an entry to StructTypes, or a different error would have occured during loading.
Having said all that, I could easily be missing something here, and you are right to be suspicious ;) Cheers, Andy
Cheers,
- Andreas
On Sun, Apr 6, 2008 at 1:17 PM, Andrew Tween amtween@hotmail.com wrote:
Manually evaluating, Smalltalk recreateSpecialObjectsArray and re-running the tests results in no errors; all the tests pass.
Wow...this combined with the patch gets FFI working for ODBC at least...
Rob
Hmm...FFI did indeed appear to load, but my ODBC connection failed to successfully run a query...I got the old "could not coerce arguments error."
Rob
On Sun, Apr 6, 2008 at 4:40 AM, Andrew Tween amtween@hotmail.com wrote:
"Rob Rothwell" r.j.rothwell@gmail.com wrote in message
news:22f158f00804050827y254789fbjb8aac633a782acc4@mail.gmail.com... This would be great, but I really need FFI for ODBC, and I just can't get it to load into this image (3.10-7159)...
please see - http://bugs.squeak.org/view.php?id=6952
There you will find a patch, ClassBuilder-nameinEnvironmentsubclassOftypeinstanceVariableNamesclassVariableNamespoolDictionariescategoryunsafe.st , which, when installed, allows FFI version 3.9.1 to be loaded into the squeak-dev and squeak-web images.
Cheers, Andy
squeak-dev@lists.squeakfoundation.org