[Pharo-project] Model classification

2011-06-01 Thread Pavel Krivanek
Hi,

I would like to ask why the class Model was moved to the package
UI-Basic. Some system classes inherit from it, namely
SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.

Cheers,
-- Pavel



Re: [Pharo-project] [Pharo-users] TilingWM - layout policies

2011-06-01 Thread laurent laffont
On Wed, Jun 1, 2011 at 7:27 AM, Stéphane Ducasse
stephane.duca...@inria.frwrote:

 You know wht I would love to have is a simple browser

 classselector
method body

 so that I can till my methods :)




An idea is that when we double click on a method in the browser (or use a
key shorcut) it opens a new window with just an editor with classmethod as
title. So we can open several editors that don't eat space.

Then we can add a TWM Layout strategy that put only one browser on top and
all editor windows tiled below.


Another way is that browsing panes can be hidden by default (add a setting
for this behavior) so it shows only method / class definition. Add a button
to toggle browsing panes visibility (may be easier to do this).


Laurent.




 Stef

 On May 31, 2011, at 10:58 PM, laurent laffont wrote:

  Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout
 Strategy in settings.
 
  Actually there's Horizontal (default) and Vertical (last used windows
 fills all remaining space) strategies.
 
  To add your own just subclass TWMLayoutStrategy and implement
 #tileWindows:
 
  Cheers,
 
  Laurent Laffont - @lolgzs
 
  Pharo Smalltalk Screencasts: http://www.pharocasts.com/
  Blog: http://magaloma.blogspot.com/
  Developer group: http://cara74.seasidehosting.st
 





Re: [Pharo-project] Build failed in Hudson: Pharo Core 1.3 #328

2011-06-01 Thread Marcus Denker

https://pharo-ic.lille.inria.fr/hudson/job/Pharo%20Core%201.3/328/console

something strange...

 Error on line 9 of document 
file:///builds/workspace/Pharo%20Core%201.3/PharoCore-1.3-AfterRunningTests/HelpSystem-Tests-Core-UI-Test.xml
 : XML document structures must start and end within the same entity. Nested 
exception: XML document structures must start and end within the same entity.


And that file is truncated:

?xml version=1.0 encoding=UTF-8?
testsuite name=HelpSystem-Tests-Core-UI tests=6   
 
testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
name=testDefaultHelpBrowser time=0.0
/testcase
testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
name=testDefaultHelpBrowserIsReplacable time=0.0
/testcase
testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
name=testLazyDefaultHelpBrowser time=0.0
/testcase


Very mysterious...



On Jun 1, 2011, at 8:01 AM, hud...@pharo-ic.lille.inria.fr wrote:

 See https://pharo-ic.lille.inria.fr/hudson/job/Pharo%20Core%201.3/328/
 
 --
 [...truncated 74 lines...]
  3150K .. .. .. .. .. 27% 4.39M 2s
  3200K .. .. .. .. .. 28% 4.10M 2s
  3250K .. .. .. .. .. 28% 4.55M 2s
  3300K .. .. .. .. .. 28% 4.15M 2s
  3350K .. .. .. .. .. 29% 11.5M 2s
  3400K .. .. .. .. .. 29% 4.71M 2s
  3450K .. .. .. .. .. 30% 4.46M 2s
  3500K .. .. .. .. .. 30% 4.85M 2s
  3550K .. .. .. .. .. 31% 11.2M 2s
  3600K .. .. .. .. .. 31% 3.20M 2s
  3650K .. .. .. .. .. 32% 4.54M 2s
  3700K .. .. .. .. .. 32% 4.73M 2s
  3750K .. .. .. .. .. 32% 4.89M 2s
  3800K .. .. .. .. .. 33% 10.2M 2s
  3850K .. .. .. .. .. 33% 3.94M 2s
  3900K .. .. .. .. .. 34% 4.21M 2s
  3950K .. .. .. .. .. 34% 4.40M 2s
  4000K .. .. .. .. .. 35% 3.99M 2s
  4050K .. .. .. .. .. 35% 11.6M 2s
  4100K .. .. .. .. .. 35% 2.92M 2s
  4150K .. .. .. .. .. 36% 3.99M 2s
  4200K .. .. .. .. .. 36% 11.4M 2s
  4250K .. .. .. .. .. 37% 4.81M 2s
  4300K .. .. .. .. .. 37% 12.1M 2s
  4350K .. .. .. .. .. 38% 4.20M 2s
  4400K .. .. .. .. .. 38% 4.14M 2s
  4450K .. .. .. .. .. 38% 5.35M 2s
  4500K .. .. .. .. .. 39% 4.62M 2s
  4550K .. .. .. .. .. 39% 8.84M 2s
  4600K .. .. .. .. .. 40% 3.36M 2s
  4650K .. .. .. .. .. 40% 4.30M 1s
  4700K .. .. .. .. .. 41% 4.75M 1s
  4750K .. .. .. .. .. 41% 12.2M 1s
  4800K .. .. .. .. .. 41% 4.05M 1s
  4850K .. .. .. .. .. 42% 4.36M 1s
  4900K .. .. .. .. .. 42% 4.28M 1s
  4950K .. .. .. .. .. 43% 4.51M 1s
  5000K .. .. .. .. .. 43% 12.2M 1s
  5050K .. .. .. .. .. 44% 4.27M 1s
  5100K .. .. .. .. .. 44% 4.45M 1s
  5150K .. .. .. .. .. 44% 4.33M 1s
  5200K .. .. .. .. .. 45% 4.20M 1s
  5250K .. .. .. .. .. 45% 11.3M 1s
  5300K .. .. .. .. .. 46% 4.75M 1s
  5350K .. .. .. .. .. 46% 4.12M 1s
  5400K .. .. .. .. .. 47% 4.76M 1s
  5450K .. .. .. .. .. 47% 8.93M 1s
  5500K .. .. .. .. .. 48% 3.18M 1s
  5550K .. .. .. .. .. 48% 11.7M 1s
  5600K .. .. .. 

Re: [Pharo-project] Build failed in Hudson: Pharo Core 1.3 #328

2011-06-01 Thread Marcus Denker

On Jun 1, 2011, at 8:31 AM, Marcus Denker wrote:

 
 https://pharo-ic.lille.inria.fr/hudson/job/Pharo%20Core%201.3/328/console
 
 something strange...
 
 Error on line 9 of document 
 file:///builds/workspace/Pharo%20Core%201.3/PharoCore-1.3-AfterRunningTests/HelpSystem-Tests-Core-UI-Test.xml
  : XML document structures must start and end within the same entity. Nested 
 exception: XML document structures must start and end within the same entity.
 
 
 And that file is truncated:
 
 ?xml version=1.0 encoding=UTF-8?
 testsuite name=HelpSystem-Tests-Core-UI tests=6 

   testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
 name=testDefaultHelpBrowser time=0.0
   /testcase
   testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
 name=testDefaultHelpBrowserIsReplacable time=0.0
   /testcase
   testcase classname=HelpSystem.Tests.Core.UI.HelpBrowserTest 
 name=testLazyDefaultHelpBrowser time=0.0
   /testcase
 
 
 Very mysterious...
 

FileWriteError: the file is closed... so maybe it's again the virtual linux box 
that is acting strangely?


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.




Re: [Pharo-project] Model classification

2011-06-01 Thread Stéphane Ducasse

On Jun 1, 2011, at 8:07 AM, Pavel Krivanek wrote:

 Hi,
 
 I would like to ask why the class Model was moved to the package
 UI-Basic. Some system classes inherit from it, namely
 SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.


we want to remove SimpleServiceEntry, File and Project.
Now UIBasic should be core for simple model like feature.
What is the problem to have move it there?

Stef
 
 Cheers,
 -- Pavel
 




Re: [Pharo-project] Model classification

2011-06-01 Thread Pavel Krivanek
Well, I'm only updating the PharoKernel and this was one problematic part.

-- Pavel

On Wed, Jun 1, 2011 at 8:51 AM, Stéphane Ducasse
stephane.duca...@inria.fr wrote:

 On Jun 1, 2011, at 8:07 AM, Pavel Krivanek wrote:

 Hi,

 I would like to ask why the class Model was moved to the package
 UI-Basic. Some system classes inherit from it, namely
 SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.


 we want to remove SimpleServiceEntry, File and Project.
 Now UIBasic should be core for simple model like feature.
 What is the problem to have move it there?

 Stef

 Cheers,
 -- Pavel







[Pharo-project] PharoKernel 13229

2011-06-01 Thread Pavel Krivanek
Hi,

I did an update of PharoKernel for Pharo 1.3.
https://gforge.inria.fr/frs/download.php/28598/PharoKernel-1.2-13229.zip.zip

It needs more next cleanup than usually. Here is some log:

Undeclared sorted by name:
NameLookupFailure
 - LanguageEnvironment-#fontDownload
ThemeIcons
 - SmalltalkImage-#aboutThisSystem
AbstractFont
 - TextStyle class-#pixelsPerInch:
RecentMessageList
 - ChangeRecord-#fileIn
SARInstaller
 - LanguageEnvironment-#installFont
RFC2047MimeConverter
 - String-#decodeMimeHeader
PackageInfo
 - SystemNavigation-#packageInfoFor:
WorldState
 - StartupUIManager-#inform:
LongMessageDialogWindow
 - SmalltalkImage-#aboutThisSystem
QuotedPrintableMimeConverter
 - String-#decodeQuotedPrintable
ActiveWorld
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
Base64MimeConverter
 - String-#base64Decoded
 - String-#decodeMimeHeader
 - TextStyle-#compressedMIMEEncodedStream
 - TextStyle class-#collectionFromCompressedMIMEString:
StrikeFont
 - TextStyle class-#writeSF2FamilyNamed:inDirectory:toChangeSet:
 - TextStyle class-#initDefaultFontsAndStyle
 - TranscriptModel-#displayUnfinishedEntryOn:
StandardFonts
 - TranscriptModel-#displayOn:
StringMorph
 - ImageSegment-#prepareToBeSaved
StringHolder
 - SmartRefStream class-#tallyOfSubObjects:
 - SmartRefStream class-#statsOfSubObjects:
 - ImageSegment-#findRogueRootsImSeg:
ToolRegistry
 - SmalltalkImage-#tools
ActiveHand
 - CodeUpdate class-#startUp:
 - Project class-#interruptName:preemptedProcess:
UITheme
 - Model-#theme
 - SmalltalkImage-#theme
 - TranscriptModel-#taskbarIcon
 - UIManager-#theme
TTCFont
 - TextStyle-#addNewFontSize:
 - TextStyle-#addLinedIfTT
 - TextStyle-#discardOtherSizes
SoundService
 - Beeper-#play
 - Beeper class-#beepPrimitive
ActiveEvent
 - Project class-#interruptName:preemptedProcess:
TTCFontSet
 - TextStyle-#addNewFontSize:
CombinedChar
 - UTF8DecomposedTextConverter-#nextFromStream:
StrikeFontSet
 - LanguageEnvironment-#removeFonts
 - TextStyle-#printOn:
Morph
 - DeepCopier-#checkBasicClasses
MessageTally
 - InflateStream-#profile
HTTPClient
 - Unicode class-#initializeCaseMappings
 - UpdateStreamer-#newUpdates
 - UpdateStreamer-#silentRetrieveUrls:ontoQueue:withWaitSema:
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
World
 - DisplayScreen-#fullScreen:
 - Rectangle-#newRectButtonPressedDo:
 - Rectangle-#newRectFrom:
 - CodeUpdate class-#startUp:
 - ExternalDropHandler class-#registerStandardExternalDropHandlers
 - ExternalDropHandler class-#defaultImageHandler
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 - Project class-#spawnNewProcess
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
FormCanvas
 - DisplayScreen-#defaultCanvasClass
PrettyPrinting
 - method not found
--error--
MultiTTCFont
 - TextStyle-#addNewFontSize:
Utilities
 - CodeUpdate class-#processUpdates
ImageReadWriter
 - Form class-#fromBinaryStream:


Run: 5035
Expected passes: 5011
--
Expected failures: 4
ClosureCompilerTest#testInjectIntoDecompilations
ClosureCompilerTest#testInjectIntoDecompiledDebugs
ClosureCompilerTest#testDebuggerTempAccess
SymbolTest#testCopyNotSame
--
Unexpected failures: 7
PluggableSetTest#testAllowInclusionOfNils
WeakSetTest#testAddNil
WeakSetTest#testDoAfter
WeakFinalizersTest#testNewFinalizationSupported
IdentitySetTest#testAllowInclusionOfNils
SetTest#testAllowInclusionOfNils
WeakSetTest#testIncludes
--
Errors: 13
CompilerEvaluationTest#testEvaluationOfSelfSend
Base64MimeConverterTest#testBase64Encoded
Base64MimeConverterTest#testMimeEncodeDecode
Base64MimeConverterTest#testOnByteArray
ByteArrayTest#testHex
SplitJoinTest#testSplitJoinBoundaryCases
SplitJoinTest#testSplitStringOnRegex
TextFontReferenceTest#testEquality
TextFontReferenceTest#testHash
StringTest#testEncodeForHTTP
StringTest#testPercentEncodingJa
StringTest#testUnescapePercents
StringTest#testUnescapePercentsWithTextEncoding
--
Unexpected passes: 0

Cheers,
-- Pavel



Re: [Pharo-project] Model classification

2011-06-01 Thread Stéphane Ducasse

On Jun 1, 2011, at 9:07 AM, Pavel Krivanek wrote:

 Well, I'm only updating the PharoKernel and this was one problematic part.

I guessed so but what was your problem?
the list of packages that you have to treat?


 
 -- Pavel
 
 On Wed, Jun 1, 2011 at 8:51 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:
 
 On Jun 1, 2011, at 8:07 AM, Pavel Krivanek wrote:
 
 Hi,
 
 I would like to ask why the class Model was moved to the package
 UI-Basic. Some system classes inherit from it, namely
 SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.
 
 
 we want to remove SimpleServiceEntry, File and Project.
 Now UIBasic should be core for simple model like feature.
 What is the problem to have move it there?
 
 Stef
 
 Cheers,
 -- Pavel
 
 
 
 
 




Re: [Pharo-project] PharoKernel 13229

2011-06-01 Thread Stéphane Ducasse
Thanks pavel.
what are elements in the list?
items that we are not well packaged?

Stef

 I did an update of PharoKernel for Pharo 1.3.
 https://gforge.inria.fr/frs/download.php/28598/PharoKernel-1.2-13229.zip.zip
 
 It needs more next cleanup than usually. Here is some log:
 
 Undeclared sorted by name:
 NameLookupFailure
 - LanguageEnvironment-#fontDownload
 ThemeIcons
 - SmalltalkImage-#aboutThisSystem
 AbstractFont
 - TextStyle class-#pixelsPerInch:
 RecentMessageList
 - ChangeRecord-#fileIn
 SARInstaller
 - LanguageEnvironment-#installFont
 RFC2047MimeConverter
 - String-#decodeMimeHeader
 PackageInfo
 - SystemNavigation-#packageInfoFor:
 WorldState
 - StartupUIManager-#inform:
 LongMessageDialogWindow
 - SmalltalkImage-#aboutThisSystem
 QuotedPrintableMimeConverter
 - String-#decodeQuotedPrintable
 ActiveWorld
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 Base64MimeConverter
 - String-#base64Decoded
 - String-#decodeMimeHeader
 - TextStyle-#compressedMIMEEncodedStream
 - TextStyle class-#collectionFromCompressedMIMEString:
 StrikeFont
 - TextStyle class-#writeSF2FamilyNamed:inDirectory:toChangeSet:
 - TextStyle class-#initDefaultFontsAndStyle
 - TranscriptModel-#displayUnfinishedEntryOn:
 StandardFonts
 - TranscriptModel-#displayOn:
 StringMorph
 - ImageSegment-#prepareToBeSaved
 StringHolder
 - SmartRefStream class-#tallyOfSubObjects:
 - SmartRefStream class-#statsOfSubObjects:
 - ImageSegment-#findRogueRootsImSeg:
 ToolRegistry
 - SmalltalkImage-#tools
 ActiveHand
 - CodeUpdate class-#startUp:
 - Project class-#interruptName:preemptedProcess:
 UITheme
 - Model-#theme
 - SmalltalkImage-#theme
 - TranscriptModel-#taskbarIcon
 - UIManager-#theme
 TTCFont
 - TextStyle-#addNewFontSize:
 - TextStyle-#addLinedIfTT
 - TextStyle-#discardOtherSizes
 SoundService
 - Beeper-#play
 - Beeper class-#beepPrimitive
 ActiveEvent
 - Project class-#interruptName:preemptedProcess:
 TTCFontSet
 - TextStyle-#addNewFontSize:
 CombinedChar
 - UTF8DecomposedTextConverter-#nextFromStream:
 StrikeFontSet
 - LanguageEnvironment-#removeFonts
 - TextStyle-#printOn:
 Morph
 - DeepCopier-#checkBasicClasses
 MessageTally
 - InflateStream-#profile
 HTTPClient
 - Unicode class-#initializeCaseMappings
 - UpdateStreamer-#newUpdates
 - UpdateStreamer-#silentRetrieveUrls:ontoQueue:withWaitSema:
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 World
 - DisplayScreen-#fullScreen:
 - Rectangle-#newRectButtonPressedDo:
 - Rectangle-#newRectFrom:
 - CodeUpdate class-#startUp:
 - ExternalDropHandler class-#registerStandardExternalDropHandlers
 - ExternalDropHandler class-#defaultImageHandler
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 - Project class-#spawnNewProcess
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 FormCanvas
 - DisplayScreen-#defaultCanvasClass
 PrettyPrinting
 - method not found
 --error--
 MultiTTCFont
 - TextStyle-#addNewFontSize:
 Utilities
 - CodeUpdate class-#processUpdates
 ImageReadWriter
 - Form class-#fromBinaryStream:
 
 
 Run: 5035
 Expected passes: 5011
 --
 Expected failures: 4
   ClosureCompilerTest#testInjectIntoDecompilations
   ClosureCompilerTest#testInjectIntoDecompiledDebugs
   ClosureCompilerTest#testDebuggerTempAccess
   SymbolTest#testCopyNotSame
 --
 Unexpected failures: 7
   PluggableSetTest#testAllowInclusionOfNils
   WeakSetTest#testAddNil
   WeakSetTest#testDoAfter
   WeakFinalizersTest#testNewFinalizationSupported
   IdentitySetTest#testAllowInclusionOfNils
   SetTest#testAllowInclusionOfNils
   WeakSetTest#testIncludes
 --
 Errors: 13
   CompilerEvaluationTest#testEvaluationOfSelfSend
   Base64MimeConverterTest#testBase64Encoded
   Base64MimeConverterTest#testMimeEncodeDecode
   Base64MimeConverterTest#testOnByteArray
   ByteArrayTest#testHex
   SplitJoinTest#testSplitJoinBoundaryCases
   SplitJoinTest#testSplitStringOnRegex
   TextFontReferenceTest#testEquality
   TextFontReferenceTest#testHash
   StringTest#testEncodeForHTTP
   StringTest#testPercentEncodingJa
   StringTest#testUnescapePercents
   StringTest#testUnescapePercentsWithTextEncoding
 --
 Unexpected passes: 0
 
 Cheers,
 -- Pavel
 




Re: [Pharo-project] Model classification

2011-06-01 Thread Pavel Krivanek
The package UI-Basic is not in the list of basic packages so the Model
class was removed and the didn't work properly. So I had two choices -
to add the UI-Basic package to the list of basic packages (and have
RealEstateAgent in the system too) or move the Model to the original
location in the Kernel-Objects package.

-- Pavel

On Wed, Jun 1, 2011 at 11:20 AM, Stéphane Ducasse
stephane.duca...@inria.fr wrote:

 On Jun 1, 2011, at 9:07 AM, Pavel Krivanek wrote:

 Well, I'm only updating the PharoKernel and this was one problematic part.

 I guessed so but what was your problem?
 the list of packages that you have to treat?



 -- Pavel

 On Wed, Jun 1, 2011 at 8:51 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:

 On Jun 1, 2011, at 8:07 AM, Pavel Krivanek wrote:

 Hi,

 I would like to ask why the class Model was moved to the package
 UI-Basic. Some system classes inherit from it, namely
 SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.


 we want to remove SimpleServiceEntry, File and Project.
 Now UIBasic should be core for simple model like feature.
 What is the problem to have move it there?

 Stef

 Cheers,
 -- Pavel











Re: [Pharo-project] PharoKernel 13229

2011-06-01 Thread Pavel Krivanek
Partly. It shows unwelcome dependencies between packages. I'm
preparing some issue reports.

-- Pavel

On Wed, Jun 1, 2011 at 11:21 AM, Stéphane Ducasse
stephane.duca...@inria.fr wrote:
 Thanks pavel.
 what are elements in the list?
 items that we are not well packaged?

 Stef

 I did an update of PharoKernel for Pharo 1.3.
 https://gforge.inria.fr/frs/download.php/28598/PharoKernel-1.2-13229.zip.zip

 It needs more next cleanup than usually. Here is some log:

 Undeclared sorted by name:
 NameLookupFailure
 - LanguageEnvironment-#fontDownload
 ThemeIcons
 - SmalltalkImage-#aboutThisSystem
 AbstractFont
 - TextStyle class-#pixelsPerInch:
 RecentMessageList
 - ChangeRecord-#fileIn
 SARInstaller
 - LanguageEnvironment-#installFont
 RFC2047MimeConverter
 - String-#decodeMimeHeader
 PackageInfo
 - SystemNavigation-#packageInfoFor:
 WorldState
 - StartupUIManager-#inform:
 LongMessageDialogWindow
 - SmalltalkImage-#aboutThisSystem
 QuotedPrintableMimeConverter
 - String-#decodeQuotedPrintable
 ActiveWorld
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 Base64MimeConverter
 - String-#base64Decoded
 - String-#decodeMimeHeader
 - TextStyle-#compressedMIMEEncodedStream
 - TextStyle class-#collectionFromCompressedMIMEString:
 StrikeFont
 - TextStyle class-#writeSF2FamilyNamed:inDirectory:toChangeSet:
 - TextStyle class-#initDefaultFontsAndStyle
 - TranscriptModel-#displayUnfinishedEntryOn:
 StandardFonts
 - TranscriptModel-#displayOn:
 StringMorph
 - ImageSegment-#prepareToBeSaved
 StringHolder
 - SmartRefStream class-#tallyOfSubObjects:
 - SmartRefStream class-#statsOfSubObjects:
 - ImageSegment-#findRogueRootsImSeg:
 ToolRegistry
 - SmalltalkImage-#tools
 ActiveHand
 - CodeUpdate class-#startUp:
 - Project class-#interruptName:preemptedProcess:
 UITheme
 - Model-#theme
 - SmalltalkImage-#theme
 - TranscriptModel-#taskbarIcon
 - UIManager-#theme
 TTCFont
 - TextStyle-#addNewFontSize:
 - TextStyle-#addLinedIfTT
 - TextStyle-#discardOtherSizes
 SoundService
 - Beeper-#play
 - Beeper class-#beepPrimitive
 ActiveEvent
 - Project class-#interruptName:preemptedProcess:
 TTCFontSet
 - TextStyle-#addNewFontSize:
 CombinedChar
 - UTF8DecomposedTextConverter-#nextFromStream:
 StrikeFontSet
 - LanguageEnvironment-#removeFonts
 - TextStyle-#printOn:
 Morph
 - DeepCopier-#checkBasicClasses
 MessageTally
 - InflateStream-#profile
 HTTPClient
 - Unicode class-#initializeCaseMappings
 - UpdateStreamer-#newUpdates
 - UpdateStreamer-#silentRetrieveUrls:ontoQueue:withWaitSema:
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 World
 - DisplayScreen-#fullScreen:
 - Rectangle-#newRectButtonPressedDo:
 - Rectangle-#newRectFrom:
 - CodeUpdate class-#startUp:
 - ExternalDropHandler class-#registerStandardExternalDropHandlers
 - ExternalDropHandler class-#defaultImageHandler
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 - Project class-#spawnNewProcess
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 FormCanvas
 - DisplayScreen-#defaultCanvasClass
 PrettyPrinting
 - method not found
 --error--
 MultiTTCFont
 - TextStyle-#addNewFontSize:
 Utilities
 - CodeUpdate class-#processUpdates
 ImageReadWriter
 - Form class-#fromBinaryStream:


 Run: 5035
 Expected passes: 5011
 --
 Expected failures: 4
       ClosureCompilerTest#testInjectIntoDecompilations
       ClosureCompilerTest#testInjectIntoDecompiledDebugs
       ClosureCompilerTest#testDebuggerTempAccess
       SymbolTest#testCopyNotSame
 --
 Unexpected failures: 7
       PluggableSetTest#testAllowInclusionOfNils
       WeakSetTest#testAddNil
       WeakSetTest#testDoAfter
       WeakFinalizersTest#testNewFinalizationSupported
       IdentitySetTest#testAllowInclusionOfNils
       SetTest#testAllowInclusionOfNils
       WeakSetTest#testIncludes
 --
 Errors: 13
       CompilerEvaluationTest#testEvaluationOfSelfSend
       Base64MimeConverterTest#testBase64Encoded
       Base64MimeConverterTest#testMimeEncodeDecode
       Base64MimeConverterTest#testOnByteArray
       ByteArrayTest#testHex
       SplitJoinTest#testSplitJoinBoundaryCases
       SplitJoinTest#testSplitStringOnRegex
       TextFontReferenceTest#testEquality
       TextFontReferenceTest#testHash
       StringTest#testEncodeForHTTP
       StringTest#testPercentEncodingJa
       StringTest#testUnescapePercents
       StringTest#testUnescapePercentsWithTextEncoding
 --
 Unexpected passes: 0

 Cheers,
 -- Pavel







Re: [Pharo-project] PharoKernel 13229

2011-06-01 Thread Stéphane Ducasse


 Partly. It shows unwelcome dependencies between packages. I'm
 preparing some issue reports.

Excellent. Let us know because we will really fix any problems we can.

Stef


 Thanks pavel.
 what are elements in the list?
 items that we are not well packaged?
 
 Stef
 
 I did an update of PharoKernel for Pharo 1.3.
 https://gforge.inria.fr/frs/download.php/28598/PharoKernel-1.2-13229.zip.zip
 
 It needs more next cleanup than usually. Here is some log:
 
 Undeclared sorted by name:
 NameLookupFailure
 - LanguageEnvironment-#fontDownload
 ThemeIcons
 - SmalltalkImage-#aboutThisSystem
 AbstractFont
 - TextStyle class-#pixelsPerInch:
 RecentMessageList
 - ChangeRecord-#fileIn
 SARInstaller
 - LanguageEnvironment-#installFont
 RFC2047MimeConverter
 - String-#decodeMimeHeader
 PackageInfo
 - SystemNavigation-#packageInfoFor:
 WorldState
 - StartupUIManager-#inform:
 LongMessageDialogWindow
 - SmalltalkImage-#aboutThisSystem
 QuotedPrintableMimeConverter
 - String-#decodeQuotedPrintable
 ActiveWorld
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 Base64MimeConverter
 - String-#base64Decoded
 - String-#decodeMimeHeader
 - TextStyle-#compressedMIMEEncodedStream
 - TextStyle class-#collectionFromCompressedMIMEString:
 StrikeFont
 - TextStyle class-#writeSF2FamilyNamed:inDirectory:toChangeSet:
 - TextStyle class-#initDefaultFontsAndStyle
 - TranscriptModel-#displayUnfinishedEntryOn:
 StandardFonts
 - TranscriptModel-#displayOn:
 StringMorph
 - ImageSegment-#prepareToBeSaved
 StringHolder
 - SmartRefStream class-#tallyOfSubObjects:
 - SmartRefStream class-#statsOfSubObjects:
 - ImageSegment-#findRogueRootsImSeg:
 ToolRegistry
 - SmalltalkImage-#tools
 ActiveHand
 - CodeUpdate class-#startUp:
 - Project class-#interruptName:preemptedProcess:
 UITheme
 - Model-#theme
 - SmalltalkImage-#theme
 - TranscriptModel-#taskbarIcon
 - UIManager-#theme
 TTCFont
 - TextStyle-#addNewFontSize:
 - TextStyle-#addLinedIfTT
 - TextStyle-#discardOtherSizes
 SoundService
 - Beeper-#play
 - Beeper class-#beepPrimitive
 ActiveEvent
 - Project class-#interruptName:preemptedProcess:
 TTCFontSet
 - TextStyle-#addNewFontSize:
 CombinedChar
 - UTF8DecomposedTextConverter-#nextFromStream:
 StrikeFontSet
 - LanguageEnvironment-#removeFonts
 - TextStyle-#printOn:
 Morph
 - DeepCopier-#checkBasicClasses
 MessageTally
 - InflateStream-#profile
 HTTPClient
 - Unicode class-#initializeCaseMappings
 - UpdateStreamer-#newUpdates
 - UpdateStreamer-#silentRetrieveUrls:ontoQueue:withWaitSema:
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 World
 - DisplayScreen-#fullScreen:
 - Rectangle-#newRectButtonPressedDo:
 - Rectangle-#newRectFrom:
 - CodeUpdate class-#startUp:
 - ExternalDropHandler class-#registerStandardExternalDropHandlers
 - ExternalDropHandler class-#defaultImageHandler
 - NonInteractiveUIManager-#currentWorld
 - Project class-#interruptName:preemptedProcess:
 - Project class-#spawnNewProcess
 - UpdateStreamer-#verboseRetrieveUrls:ontoQueue:withWaitSema:
 FormCanvas
 - DisplayScreen-#defaultCanvasClass
 PrettyPrinting
 - method not found
 --error--
 MultiTTCFont
 - TextStyle-#addNewFontSize:
 Utilities
 - CodeUpdate class-#processUpdates
 ImageReadWriter
 - Form class-#fromBinaryStream:
 
 
 Run: 5035
 Expected passes: 5011
 --
 Expected failures: 4
   ClosureCompilerTest#testInjectIntoDecompilations
   ClosureCompilerTest#testInjectIntoDecompiledDebugs
   ClosureCompilerTest#testDebuggerTempAccess
   SymbolTest#testCopyNotSame
 --
 Unexpected failures: 7
   PluggableSetTest#testAllowInclusionOfNils
   WeakSetTest#testAddNil
   WeakSetTest#testDoAfter
   WeakFinalizersTest#testNewFinalizationSupported
   IdentitySetTest#testAllowInclusionOfNils
   SetTest#testAllowInclusionOfNils
   WeakSetTest#testIncludes
 --
 Errors: 13
   CompilerEvaluationTest#testEvaluationOfSelfSend
   Base64MimeConverterTest#testBase64Encoded
   Base64MimeConverterTest#testMimeEncodeDecode
   Base64MimeConverterTest#testOnByteArray
   ByteArrayTest#testHex
   SplitJoinTest#testSplitJoinBoundaryCases
   SplitJoinTest#testSplitStringOnRegex
   TextFontReferenceTest#testEquality
   TextFontReferenceTest#testHash
   StringTest#testEncodeForHTTP
   StringTest#testPercentEncodingJa
   StringTest#testUnescapePercents
   StringTest#testUnescapePercentsWithTextEncoding
 --
 Unexpected passes: 0
 
 Cheers,
 -- Pavel
 
 
 
 
 




Re: [Pharo-project] Model classification

2011-06-01 Thread Stéphane Ducasse
ok I see.
For me Model should be for UI. Now if people use it for just propagation

Stef

 The package UI-Basic is not in the list of basic packages so the Model
 class was removed and the didn't work properly. So I had two choices -
 to add the UI-Basic package to the list of basic packages (and have
 RealEstateAgent in the system too) or move the Model to the original
 location in the Kernel-Objects package.
 
 -- Pavel
 
 On Wed, Jun 1, 2011 at 11:20 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:
 
 On Jun 1, 2011, at 9:07 AM, Pavel Krivanek wrote:
 
 Well, I'm only updating the PharoKernel and this was one problematic part.
 
 I guessed so but what was your problem?
 the list of packages that you have to treat?
 
 
 
 -- Pavel
 
 On Wed, Jun 1, 2011 at 8:51 AM, Stéphane Ducasse
 stephane.duca...@inria.fr wrote:
 
 On Jun 1, 2011, at 8:07 AM, Pavel Krivanek wrote:
 
 Hi,
 
 I would like to ask why the class Model was moved to the package
 UI-Basic. Some system classes inherit from it, namely
 SimpleServiceEntry, Project and FileModifyingSimpleServiceEntry.
 
 
 we want to remove SimpleServiceEntry, File and Project.
 Now UIBasic should be core for simple model like feature.
 What is the problem to have move it there?
 
 Stef
 
 Cheers,
 -- Pavel
 
 
 
 
 
 
 
 
 




Re: [Pharo-project] FastCGI support in Pharo

2011-06-01 Thread Dario Trussardi
Hi,

 On 05.10.2010 14:58, Dario Trussardi wrote:
 Hi,
 
  i have a Lighttpd server with FastCGI support for deployment system ( 
 based on GLASS ).
 
  Now i'm interested to work  with the same web server for development 
 system based on Pharo.
 
  For now in  Pharo i use the WAKom interface.
 
  I can load the FastCGI support into Pharo ?
 
 Loading the the GemStone FastCGI package is unlikely to work. You can
 try to load the Squeak FastCGI package [1] but that seems to have some
 underscore assignments.
 
 [1] http://www.squeaksource.com/FCGI.html


I load [ 1] in the Pharo image.

I change the PositionableStream uint24 method to:

uint24
Answer the next unsigned, 24-bit integer from this (binary) stream.

| n |
n := self uint8. self next. 
n := (n bitShift: 8) + self uint8. self next. 
n := (n bitShift: 8) + self uint8. self next. 
^ n
 
After doWAFCGI startOn: 8080  the web  request answer :

Squeak/FCGI is running

No handler set.


How i can register the FCGI handler ?

I d'ont find example about it.

Thank for any consideration.

Dario

Re: [Pharo-project] excellent job: netstylers :)

2011-06-01 Thread Adrian Lienhard
thanks :)

On May 31, 2011, at 14:39 , Esteban Lorenzano wrote:

 yeah... really cool :)
 
 El 31/05/2011, a las 2:36a.m., Stéphane Ducasse escribió:
 
 http://www.cmsbox.com/en/showcase/our-websites
 
 Stef
 
 
 







Re: [Pharo-project] excellent job: netstylers :)

2011-06-01 Thread Sven Van Caekenberghe

On 01 Jun 2011, at 13:30, Adrian Lienhard wrote:

 thanks :)
 
 On May 31, 2011, at 14:39 , Esteban Lorenzano wrote:
 
 yeah... really cool :)
 
 El 31/05/2011, a las 2:36a.m., Stéphane Ducasse escribió:
 
 http://www.cmsbox.com/en/showcase/our-websites
 
 Stef
 

Quite impressive indeed.

Adrian, maybe you could write something about the general architecture of your 
system and how you are dealing with the load, and some numbers of course ;-). 
It would be a (yet anothor) nice reference of what is possible with Smalltalk.

Regards,

Sven




[Pharo-project] [update 1.3] #13236

2011-06-01 Thread Marcus Denker
13236
--


Issue 4327: bug when closing the transcript window when in readOnly mode
http://code.google.com/p/pharo/issues/detail?id=4327

- UNDO 4319



--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.




Re: [Pharo-project] excellent job: netstylers :)

2011-06-01 Thread Stéphane Ducasse
 Quite impressive indeed.
 
 Adrian, maybe you could write something about the general architecture of 
 your system and how you are dealing with the load, and some numbers of course 
 ;-). It would be a (yet anothor) nice reference of what is possible with 
 Smalltalk.

yes :)

Stef


Re: [Pharo-project] excellent job: netstylers :)

2011-06-01 Thread Tudor Girba
+ 100

Doru


On 31 May 2011, at 14:39, Esteban Lorenzano wrote:

 yeah... really cool :)
 
 El 31/05/2011, a las 2:36a.m., Stéphane Ducasse escribió:
 
 http://www.cmsbox.com/en/showcase/our-websites
 
 Stef
 
 
 

--
www.tudorgirba.com

Sometimes the best solution is not the best solution.




Re: [Pharo-project] Fwd: Background Changer

2011-06-01 Thread Gastón Dall' Oglio
Lemuus or Alexandre, I get an error when I connect to the repository, you
could check it? I want to try!
Thanks.

2011/5/25 Mariano Martinez Peck marianop...@gmail.com

 nice tool :)
 I always put backgrounds.


 On Wed, May 25, 2011 at 5:36 PM, Alexandre Bergel alexandre.ber...@me.com
  wrote:

 FYI

 Begin forwarded message:

 *From: *Lemuus lem...@gmail.com
 *Date: *24 May 2011 18:35:00 GMT-04:00
 *To: *pharo-ch...@googlegroups.com
 *Subject: **Background Changer*
 *Reply-To: *pharo-ch...@googlegroups.com

 Hi,
   I tend change the background on Pharo a lot, so i made a little
 application to change the background using an image gallery, so you can see
 the image you want to put on the background.
 You can load it with:

 Gofer new
 url: 'http://lemuus.homelinux.org/lemuus/BackgroundChanger';
  package: 'BackgroundChanger';
 load.

 It register on the World menu-System-Change Background
 It will ask for a directory with images, and then show you a gallery with
 the images on that directory.
 Then you can select an image, and select the layout for the background.
 Greetings,
   Daniel Galdames G.


   --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








 --
 Mariano
 http://marianopeck.wordpress.com




[Pharo-project] creating KOTDC

2011-06-01 Thread Gastón Dall' Oglio
What do you think about creating this?:

*Know Of The Day Contest - One Day One Know
Rules
Each day a not known project is elected. Each day the know will be readed
and the project know for more people.*


In reality this would not be a contest (which would not be the criterion for
selecting the winner:), but rather a sharing by its ideologues, developers,
users, critics (why not?) and general interest groups, about the
characteristics of a project that is unknown in general. The idea is to
focus on those projects that are not so widely known, in which are already
widely known does not make sense.

For example about these people who have been named to the list recently:
Gettext package
TestConsoleRunner
http://www.squeaksource.com/Mocketry.html
http://www.squeaksource.com/Keymapping.html
http://www.squeaksource.com/TilingWindowManager


Re: [Pharo-project] creating KOTDC

2011-06-01 Thread laurent laffont
+ 1, and put contents in the Pharo CollaborActive book :)

Laurent.

2011/6/1 Gastón Dall' Oglio gaston.dallog...@gmail.com

 What do you think about creating this?:

 *Know Of The Day Contest - One Day One Know
 Rules
 Each day a not known project is elected. Each day the know will be readed
 and the project know for more people.*


 In reality this would not be a contest (which would not be the criterion
 for selecting the winner:), but rather a sharing by its ideologues,
 developers, users, critics (why not?) and general interest groups, about the
 characteristics of a project that is unknown in general. The idea is to
 focus on those projects that are not so widely known, in which are already
 widely known does not make sense.

 For example about these people who have been named to the list recently:
 Gettext package
 TestConsoleRunner
 http://www.squeaksource.com/Mocketry.html
 http://www.squeaksource.com/Keymapping.html
 http://www.squeaksource.com/TilingWindowManager







Re: [Pharo-project] creating KOTDC

2011-06-01 Thread Stéphane Ducasse
cool idea
I would like to know if there are tests and this is a good way to learn

Yesterday I learned about AJP 

Stef

On Jun 1, 2011, at 5:29 PM, Gastón Dall' Oglio wrote:

 What do you think about creating this?:
 
 Know Of The Day Contest - One Day One Know
 Rules
 Each day a not known project is elected. Each day the know will be readed and 
 the project know for more people.
 
 
 In reality this would not be a contest (which would not be the criterion for 
 selecting the winner:), but rather a sharing by its ideologues, developers, 
 users, critics (why not?) and general interest groups, about the 
 characteristics of a project that is unknown in general. The idea is to focus 
 on those projects that are not so widely known, in which are already widely 
 known does not make sense.
 
 For example about these people who have been named to the list recently:
 Gettext package 
 TestConsoleRunner
 http://www.squeaksource.com/Mocketry.html
 http://www.squeaksource.com/Keymapping.html
 http://www.squeaksource.com/TilingWindowManager
 
 
 
 




Re: [Pharo-project] Fwd: Background Changer

2011-06-01 Thread Lemuus
I checked the repo and it's working. I also copied the project to
squeaksource just in case:

Gofer new
squeaksource: 'BackgroundChanger';
package: 'BackgroundChanger';
load.
Greetings,
  Daniel Galdames G.

On Wed, Jun 1, 2011 at 10:56 AM, Alexandre Bergel
alexandre.ber...@me.comwrote:

 in case of

 Begin forwarded message:

 *From: *Gastón Dall' Oglio gaston.dallog...@gmail.com
 *Date: *1 June 2011 10:47:28 GMT-04:00
 *To: *Pharo-project@lists.gforge.inria.fr
 *Subject: **Re: [Pharo-project] Fwd: Background Changer*
 *Reply-To: *Pharo-project@lists.gforge.inria.fr

 Lemuus or Alexandre, I get an error when I connect to the repository, you
 could check it? I want to try!
 Thanks.

 2011/5/25 Mariano Martinez Peck marianop...@gmail.com

 nice tool :)
 I always put backgrounds.


 On Wed, May 25, 2011 at 5:36 PM, Alexandre Bergel 
 alexandre.ber...@me.com wrote:

 FYI

 Begin forwarded message:

 *From: *Lemuus lem...@gmail.com
 *Date: *24 May 2011 18:35:00 GMT-04:00
 *To: *pharo-ch...@googlegroups.com
 *Subject: **Background Changer*
 *Reply-To: *pharo-ch...@googlegroups.com

 Hi,
   I tend change the background on Pharo a lot, so i made a little
 application to change the background using an image gallery, so you can see
 the image you want to put on the background.
 You can load it with:

 Gofer new
 url: 'http://lemuus.homelinux.org/lemuus/BackgroundChanger';
  package: 'BackgroundChanger';
 load.

 It register on the World menu-System-Change Background
 It will ask for a directory with images, and then show you a gallery with
 the images on that directory.
 Then you can select an image, and select the layout for the background.
 Greetings,
   Daniel Galdames G.


   --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








 --
 Mariano
 http://marianopeck.wordpress.com



 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








[Pharo-project] Happy message from Stef :)

2011-06-01 Thread Stéphane Ducasse
Hi guys 

I was starting to look at Keymapping, then my mind went wandering and I want to 
share my feeling with you. I'm really happy because we are a cool community
and it starts to work quite well. When I see what we have done

- new paragraph
- settings
- better widget
- better handing of headless mode
- better announcement
- hudson
- better tools
- new network

what we have in the pipe
- new compiler
- soon new files
- new key binding
- metacello distribution
- quality rules
- VM build and regression
- new canvas
- new tools
- new code meta model 

I'm quite sure that I'm forgetting a lot of items.
What I want to say that I'm dreaming about a system that a lot of people would 
be jealous of. I do not want that for me 
but for us. I want to reinvent the idea and the spirit I loved in/about 
Smalltalk. 
recently I contacted Ward Cunningham that I never meet but he told me something 
that really touched 
Stéphane -- I see your name often and associate it with the sort of innovation 
that attracted me to smalltalk so many years ago.
YES!!! YES!!! let us make it real and fun but fun for real in 2011.

Thanks for all the energy you gave me.

Stef




Re: [Pharo-project] creating KOTDC

2011-06-01 Thread Alexandre Bergel
 Yesterday I learned about AJP 

What is AJP?

Alexandre

 
 On Jun 1, 2011, at 5:29 PM, Gastón Dall' Oglio wrote:
 
 What do you think about creating this?:
 
 Know Of The Day Contest - One Day One Know
 Rules
 Each day a not known project is elected. Each day the know will be readed 
 and the project know for more people.
 
 
 In reality this would not be a contest (which would not be the criterion for 
 selecting the winner:), but rather a sharing by its ideologues, developers, 
 users, critics (why not?) and general interest groups, about the 
 characteristics of a project that is unknown in general. The idea is to 
 focus on those projects that are not so widely known, in which are already 
 widely known does not make sense.
 
 For example about these people who have been named to the list recently:
 Gettext package 
 TestConsoleRunner
 http://www.squeaksource.com/Mocketry.html
 http://www.squeaksource.com/Keymapping.html
 http://www.squeaksource.com/TilingWindowManager
 
 
 
 
 
 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








[Pharo-project] Compiling and using the FT2Plugin

2011-06-01 Thread Alain Plantec

Hi all,
I try to build my own vm (ubuntu 10.04, virtualbox)
Thanks to the **excellent** Mariano blog, I can compile, it runs ok 
except the FT2Plugin

I always have the following error message while trying to load fonts:

ioLoadModule(libFT2Plugin.so):
  libFT2Plugin.so: cannot open shared object file: No such file or 
directory


I guess that it is because the plugin is unable to load libfreetype.so.
does someone know what I am missing ?

thanks
Alain





Re: [Pharo-project] creating KOTDC

2011-06-01 Thread Guillermo Polito
Hadn't Laurent proposed it a while ago? :P

I like the idea, but it's a lot of work :)

On Wed, Jun 1, 2011 at 1:34 PM, Alexandre Bergel alexandre.ber...@me.comwrote:

  Yesterday I learned about AJP

 What is AJP?

 Alexandre

 
  On Jun 1, 2011, at 5:29 PM, Gastón Dall' Oglio wrote:
 
  What do you think about creating this?:
 
  Know Of The Day Contest - One Day One Know
  Rules
  Each day a not known project is elected. Each day the know will be
 readed and the project know for more people.
 
 
  In reality this would not be a contest (which would not be the criterion
 for selecting the winner:), but rather a sharing by its ideologues,
 developers, users, critics (why not?) and general interest groups, about the
 characteristics of a project that is unknown in general. The idea is to
 focus on those projects that are not so widely known, in which are already
 widely known does not make sense.
 
  For example about these people who have been named to the list recently:
  Gettext package
  TestConsoleRunner
  http://www.squeaksource.com/Mocketry.html
  http://www.squeaksource.com/Keymapping.html
  http://www.squeaksource.com/TilingWindowManager
 
 
 
 
 
 

 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









Re: [Pharo-project] Compiling and using the FT2Plugin

2011-06-01 Thread Igor Stasenko
On 1 June 2011 19:20, Alain Plantec alain.plan...@yahoo.com wrote:
 Hi all,
 I try to build my own vm (ubuntu 10.04, virtualbox)
 Thanks to the **excellent** Mariano blog, I can compile, it runs ok except
 the FT2Plugin
 I always have the following error message while trying to load fonts:

 ioLoadModule(libFT2Plugin.so):
  libFT2Plugin.so: cannot open shared object file: No such file or directory

 I guess that it is because the plugin is unable to load libfreetype.so.
 does someone know what I am missing ?

i know. ;)

i wanna add a correct settings for building this plugin on all
platforms. so we can ship a vm with this plugin by default.
But i haven't time to do it yet. So, if you find a solution how to do
it for unix, i will capture your knowledge in corresponding config(s)
:)

 thanks
 Alain



-- 
Best regards,
Igor Stasenko AKA sig.



Re: [Pharo-project] creating KOTDC

2011-06-01 Thread Guillermo Polito
On Wed, Jun 1, 2011 at 12:34 PM, laurent laffont
laurent.laff...@gmail.comwrote:

 + 1, and put contents in the Pharo CollaborActive book :)


And to HelpSystem!



 Laurent.


 2011/6/1 Gastón Dall' Oglio gaston.dallog...@gmail.com

 What do you think about creating this?:

 *Know Of The Day Contest - One Day One Know
 Rules
 Each day a not known project is elected. Each day the know will be readed
 and the project know for more people.*


 In reality this would not be a contest (which would not be the criterion
 for selecting the winner:), but rather a sharing by its ideologues,
 developers, users, critics (why not?) and general interest groups, about the
 characteristics of a project that is unknown in general. The idea is to
 focus on those projects that are not so widely known, in which are already
 widely known does not make sense.

 For example about these people who have been named to the list recently:
 Gettext package
 TestConsoleRunner
 http://www.squeaksource.com/Mocketry.html
 http://www.squeaksource.com/Keymapping.html
 http://www.squeaksource.com/TilingWindowManager








Re: [Pharo-project] Happy message from Stef :)

2011-06-01 Thread Scott Gibson
Thanks Stef and thanks to everyone who makes Pharo's success possible!  I 
believe this has a lot to do with the cooperative and constructive nature of 
the Pharo community.  Things are just getting done.  Thanks again!!

Scott Gibson


On Jun 1, 2011, at 12:31 PM, Stéphane Ducasse wrote:

 Hi guys 
 
 I was starting to look at Keymapping, then my mind went wandering and I want 
 to share my feeling with you. I'm really happy because we are a cool community
 and it starts to work quite well. When I see what we have done
 
   - new paragraph
   - settings
   - better widget
   - better handing of headless mode
   - better announcement
   - hudson
   - better tools
   - new network
 
 what we have in the pipe
   - new compiler
   - soon new files
   - new key binding
   - metacello distribution
   - quality rules
   - VM build and regression
   - new canvas
   - new tools
   - new code meta model 
 
 I'm quite sure that I'm forgetting a lot of items.
 What I want to say that I'm dreaming about a system that a lot of people 
 would be jealous of. I do not want that for me 
 but for us. I want to reinvent the idea and the spirit I loved in/about 
 Smalltalk. 
 recently I contacted Ward Cunningham that I never meet but he told me 
 something that really touched 
 Stéphane -- I see your name often and associate it with the sort of 
 innovation that attracted me to smalltalk so many years ago.
 YES!!! YES!!! let us make it real and fun but fun for real in 2011.
 
 Thanks for all the energy you gave me.
 
 Stef
 
 




Re: [Pharo-project] Compiling and using the FT2Plugin

2011-06-01 Thread Alain Plantec

Le 01/06/2011 19:46, Igor Stasenko a écrit :

On 1 June 2011 19:20, Alain Plantecalain.plan...@yahoo.com  wrote:

Hi all,
I try to build my own vm (ubuntu 10.04, virtualbox)
Thanks to the **excellent** Mariano blog, I can compile, it runs ok except
the FT2Plugin
I always have the following error message while trying to load fonts:

ioLoadModule(libFT2Plugin.so):
  libFT2Plugin.so: cannot open shared object file: No such file or directory

I guess that it is because the plugin is unable to load libfreetype.so.
does someone know what I am missing ?


i know. ;)

i wanna add a correct settings for building this plugin on all
platforms. so we can ship a vm with this plugin by default.
But i haven't time to do it yet. So, if you find a solution how to do
it for unix, i will capture your knowledge in corresponding config(s)
:)

ah! thanks Igor
I'm not so stupid, its a problem :)
ok, I will try
Cheers
Alain

thanks
Alain








Re: [Pharo-project] Fwd: Background Changer

2011-06-01 Thread Gastón Dall' Oglio
great :)

something that occurs to me that you could add is the ability to
automatically change the background image among some preset time to time.
Take a look at:
http://www.squeaksource.com/Scheduler.html

2011/6/1 Gastón Dall' Oglio gaston.dallog...@gmail.com

 Now it's working, thanks. I try it later.


 2011/6/1 Lemuus lem...@gmail.com

 I checked the repo and it's working. I also copied the project to
 squeaksource just in case:

 Gofer new
 squeaksource: 'BackgroundChanger';
  package: 'BackgroundChanger';
 load.
 Greetings,
   Daniel Galdames G.

 On Wed, Jun 1, 2011 at 10:56 AM, Alexandre Bergel 
 alexandre.ber...@me.com wrote:

 in case of

 Begin forwarded message:

 *From: *Gastón Dall' Oglio gaston.dallog...@gmail.com
 *Date: *1 June 2011 10:47:28 GMT-04:00
 *To: *Pharo-project@lists.gforge.inria.fr
 *Subject: **Re: [Pharo-project] Fwd: Background Changer*
 *Reply-To: *Pharo-project@lists.gforge.inria.fr

 Lemuus or Alexandre, I get an error when I connect to the repository, you
 could check it? I want to try!
 Thanks.

 2011/5/25 Mariano Martinez Peck marianop...@gmail.com

 nice tool :)
 I always put backgrounds.


 On Wed, May 25, 2011 at 5:36 PM, Alexandre Bergel 
 alexandre.ber...@me.com wrote:

 FYI

 Begin forwarded message:

 *From: *Lemuus lem...@gmail.com
 *Date: *24 May 2011 18:35:00 GMT-04:00
 *To: *pharo-ch...@googlegroups.com
 *Subject: **Background Changer*
 *Reply-To: *pharo-ch...@googlegroups.com

 Hi,
   I tend change the background on Pharo a lot, so i made a little
 application to change the background using an image gallery, so you can 
 see
 the image you want to put on the background.
 You can load it with:

 Gofer new
 url: 'http://lemuus.homelinux.org/lemuus/BackgroundChanger';
  package: 'BackgroundChanger';
 load.

 It register on the World menu-System-Change Background
 It will ask for a directory with images, and then show you a gallery
 with the images on that directory.
 Then you can select an image, and select the layout for the background.
 Greetings,
   Daniel Galdames G.


   --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








 --
 Mariano
 http://marianopeck.wordpress.com



   --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.










[Pharo-project] A newly discovered Metacello bug (yet to be characterized)

2011-06-01 Thread Dale Henrichs

In the mail to Lukas below, I was able to identify a previously unreported bug 
in Metacello1.0-beta.28.3.3 when loading Seaside3.0.5 into Pharo1.2-12339.  In 
the process of characterizing the bug, I discovered that the Seaside load was 
correct when using Metacello 1.0-beta.29 (an unreleased version). 

However, when I tested Seaside3.0.5 and Metacello1.0-beta.29 using 
Pharo1.2.2-12353, I discovered more odd behavior and Seaside3.0.5 hit errors 
during the load. There is something fishy going on and at this point in time 
the root cause is not obvious.

The Metacello unit tests are passing in all three versions: Pharo1.2-12339, 
Pharo1.2.1-12345 and Pharo1.2.2-12353.

I am now in the process of attempting to characterize the bugs. 

I will keep you posted on my progress.

Dale

- Original Message -
 Lukas,
 
 I have looked specifically at Seaside3.0.5 and
 Pharo1.2-12339/PharoCore1.2-12336
  and have found two things:
 
   1. #stable version for ConfigurationOfOmniBrowser for 1.2 is 1.2.3
   and it should be 1.2.4.
   2. if OB 1.2.4 is already loaded then the version is downgraded to
   1.2.3
 
 Item #1 is a configuration issue and item #2 is a bug ...
 
 I had not heard that many projects could no longer be loaded into
 Pharo1.2, so I was (and still am) blissfully unaware of the
 problems that folks are having.
 
 Seaside3.0.5 loads into Pharo1.2/PharoCore1.2 and passes all of the
 unit tests ... so there are no load issues. The Seaside control
 panel works fine and I have not noticed any other
 OmniBrowser-related issues ... but then I don't live in the images
 day in and day out so there could be subtle issues.
 
 I am currently trying to characterized the downgrade version bug
 and will push out a fix as soon as I have one.
 
 Dale
  
 
 - Original Message -
   Here's the current state of 3.0.5: I saved the images from
   Jenkins
   and
   uploaded them to the web site. The change log has also been
   updated
   [1]. Everything but the Metacello configuration seems to work
   fine.
   If
   I load the Metacello configuration into a Pharo 1.2 it tries to
   load a
   version of OB that does not work in Pharo 1.2.
  
  As far as I know most configurations have been updated to Pharo 1.3
  already and many projects (I learned that with Glamour, Mondrian,
  Moose, Spy, ...) cannot be loaded into latest stable (Pharo 1.2)
  anymore. What surprised me more is that Metacello does not allow to
  load old versions (at least this is true for the configurations I
  had
  problems with). So I guess we have the same problem here.
  
  I suggest that you load OB with this script:
  https://github.com/renggli/builder/blob/master/scripts/omnibrowser.st
  
  Lukas
  
  --
  Lukas Renggli
  www.lukas-renggli.ch
  ___
  seaside-dev mailing list
  seaside-...@lists.squeakfoundation.org
  http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
  
 ___
 seaside-dev mailing list
 seaside-...@lists.squeakfoundation.org
 http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
 



Re: [Pharo-project] [Metacello] A newly discovered Metacello bug (yet to be characterized)

2011-06-01 Thread Dale Henrichs
Okay the odd behavior between Pharo1.2-12339, Pharo1.2.1-12345 and 
Pharo1.2.2-12353 can be attributed to a known Metacello issue:

  http://code.google.com/p/metacello/issues/detail?id=112

So we are only facing two bugs:

  - the issue reported by Lukas, where version OmniBrowser 1.2.3 is loaded on 
top of version 1.2.4 (when nothing should have been loaded). Which appears 
to be fixed by Metacello 1.0-beta.29 (still need a test case to reproduce 
the bug)
  - the Seaside3.0.5 load failure Pharo1.2.2-12353 that doesn't show up in 
earlier 
versions. This error has to do with OcompletionPharoCompatibility and is 
likely 
due to a configuration error somewhere.

I'll keep on digging...

Dale


- Original Message -
 
 In the mail to Lukas below, I was able to identify a previously
 unreported bug in Metacello1.0-beta.28.3.3 when loading Seaside3.0.5
 into Pharo1.2-12339.  In the process of characterizing the bug, I
 discovered that the Seaside load was correct when using Metacello
 1.0-beta.29 (an unreleased version).
 
 However, when I tested Seaside3.0.5 and Metacello1.0-beta.29 using
 Pharo1.2.2-12353, I discovered more odd behavior and Seaside3.0.5
 hit errors during the load. There is something fishy going on and at
 this point in time the root cause is not obvious.
 
 The Metacello unit tests are passing in all three versions:
 Pharo1.2-12339, Pharo1.2.1-12345 and Pharo1.2.2-12353.
 
 I am now in the process of attempting to characterize the bugs.
 
 I will keep you posted on my progress.
 
 Dale
 
 - Original Message -
  Lukas,
  
  I have looked specifically at Seaside3.0.5 and
  Pharo1.2-12339/PharoCore1.2-12336
   and have found two things:
  
1. #stable version for ConfigurationOfOmniBrowser for 1.2 is
1.2.3
and it should be 1.2.4.
2. if OB 1.2.4 is already loaded then the version is downgraded
to
1.2.3
  
  Item #1 is a configuration issue and item #2 is a bug ...
  
  I had not heard that many projects could no longer be loaded into
  Pharo1.2, so I was (and still am) blissfully unaware of the
  problems that folks are having.
  
  Seaside3.0.5 loads into Pharo1.2/PharoCore1.2 and passes all of the
  unit tests ... so there are no load issues. The Seaside control
  panel works fine and I have not noticed any other
  OmniBrowser-related issues ... but then I don't live in the images
  day in and day out so there could be subtle issues.
  
  I am currently trying to characterized the downgrade version bug
  and will push out a fix as soon as I have one.
  
  Dale
   
  
  - Original Message -
Here's the current state of 3.0.5: I saved the images from
Jenkins
and
uploaded them to the web site. The change log has also been
updated
[1]. Everything but the Metacello configuration seems to work
fine.
If
I load the Metacello configuration into a Pharo 1.2 it tries to
load a
version of OB that does not work in Pharo 1.2.
   
   As far as I know most configurations have been updated to Pharo
   1.3
   already and many projects (I learned that with Glamour, Mondrian,
   Moose, Spy, ...) cannot be loaded into latest stable (Pharo 1.2)
   anymore. What surprised me more is that Metacello does not allow
   to
   load old versions (at least this is true for the configurations I
   had
   problems with). So I guess we have the same problem here.
   
   I suggest that you load OB with this script:
   https://github.com/renggli/builder/blob/master/scripts/omnibrowser.st
   
   Lukas
   
   --
   Lukas Renggli
   www.lukas-renggli.ch
   ___
   seaside-dev mailing list
   seaside-...@lists.squeakfoundation.org
   http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
   
  ___
  seaside-dev mailing list
  seaside-...@lists.squeakfoundation.org
  http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
  
 



Re: [Pharo-project] [Metacello] A newly discovered Metacello bug (yet to be characterized)

2011-06-01 Thread Dale Henrichs
The Seaside3.0.5 load failure in Pharo1.2.2-12353 is due to the fact that 
Ocompletion-ul.102 is loaded in the image which is a package that is part of 
ConfigurationOfOCompletion 1.4 (presumably targetted at Pharo1.3 not 
Pharo1.2.2) ... In the earlier version of Pharo 1.2, Ocompletion-ul.92 is 
loaded and it is part of ConfigurationOfOCompletion 1.2.2 ...

Not sure why Ocompletion-ul.102 was loaded as ConfigurationOfPharo points to 
the correct version of ConfigurationOfOCompletion, so I'll have to do more 
detective work...

Dale 

- Original Message -
 Okay the odd behavior between Pharo1.2-12339, Pharo1.2.1-12345 and
 Pharo1.2.2-12353 can be attributed to a known Metacello issue:
 
   http://code.google.com/p/metacello/issues/detail?id=112
 
 So we are only facing two bugs:
 
   - the issue reported by Lukas, where version OmniBrowser 1.2.3 is
   loaded on
 top of version 1.2.4 (when nothing should have been loaded).
 Which appears
 to be fixed by Metacello 1.0-beta.29 (still need a test case to
 reproduce
 the bug)
   - the Seaside3.0.5 load failure Pharo1.2.2-12353 that doesn't show
   up in earlier
 versions. This error has to do with OcompletionPharoCompatibility
 and is likely
 due to a configuration error somewhere.
 
 I'll keep on digging...
 
 Dale
 
 
 - Original Message -
  
  In the mail to Lukas below, I was able to identify a previously
  unreported bug in Metacello1.0-beta.28.3.3 when loading
  Seaside3.0.5
  into Pharo1.2-12339.  In the process of characterizing the bug, I
  discovered that the Seaside load was correct when using Metacello
  1.0-beta.29 (an unreleased version).
  
  However, when I tested Seaside3.0.5 and Metacello1.0-beta.29 using
  Pharo1.2.2-12353, I discovered more odd behavior and Seaside3.0.5
  hit errors during the load. There is something fishy going on and
  at
  this point in time the root cause is not obvious.
  
  The Metacello unit tests are passing in all three versions:
  Pharo1.2-12339, Pharo1.2.1-12345 and Pharo1.2.2-12353.
  
  I am now in the process of attempting to characterize the bugs.
  
  I will keep you posted on my progress.
  
  Dale
  
  - Original Message -
   Lukas,
   
   I have looked specifically at Seaside3.0.5 and
   Pharo1.2-12339/PharoCore1.2-12336
and have found two things:
   
 1. #stable version for ConfigurationOfOmniBrowser for 1.2 is
 1.2.3
 and it should be 1.2.4.
 2. if OB 1.2.4 is already loaded then the version is downgraded
 to
 1.2.3
   
   Item #1 is a configuration issue and item #2 is a bug ...
   
   I had not heard that many projects could no longer be loaded
   into
   Pharo1.2, so I was (and still am) blissfully unaware of the
   problems that folks are having.
   
   Seaside3.0.5 loads into Pharo1.2/PharoCore1.2 and passes all of
   the
   unit tests ... so there are no load issues. The Seaside control
   panel works fine and I have not noticed any other
   OmniBrowser-related issues ... but then I don't live in the
   images
   day in and day out so there could be subtle issues.
   
   I am currently trying to characterized the downgrade version
   bug
   and will push out a fix as soon as I have one.
   
   Dale

   
   - Original Message -
 Here's the current state of 3.0.5: I saved the images from
 Jenkins
 and
 uploaded them to the web site. The change log has also been
 updated
 [1]. Everything but the Metacello configuration seems to work
 fine.
 If
 I load the Metacello configuration into a Pharo 1.2 it tries
 to
 load a
 version of OB that does not work in Pharo 1.2.

As far as I know most configurations have been updated to Pharo
1.3
already and many projects (I learned that with Glamour,
Mondrian,
Moose, Spy, ...) cannot be loaded into latest stable (Pharo
1.2)
anymore. What surprised me more is that Metacello does not
allow
to
load old versions (at least this is true for the configurations
I
had
problems with). So I guess we have the same problem here.

I suggest that you load OB with this script:
https://github.com/renggli/builder/blob/master/scripts/omnibrowser.st

Lukas

--
Lukas Renggli
www.lukas-renggli.ch
___
seaside-dev mailing list
seaside-...@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev

   ___
   seaside-dev mailing list
   seaside-...@lists.squeakfoundation.org
   http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
   
  
 



Re: [Pharo-project] [Metacello] A newly discovered Metacello bug (yet to be characterized)

2011-06-01 Thread Dale Henrichs
Ocompletion-ul.102 was loaded because ConfigurationOfPharo 1.2.2 loads 
ConfigurationOfOmniBrowser 1.2.5 which loads ConfigurationOfOCompletion 1.3 
which is not correct for Pharo 1.2.2 ... It looks like ConfigurationOfPharo 
1.2.2 was introduced for Pharo 1.2.2 and previous versions of Pharo-1.2 were 
using ConfigurationOfPharo 1.2-beta2 which calls for ConfigurationOfOmniBrowser 
1.2.4, which is presumably the version that should be used in Pharo 1.2.

ConfigurationOfOmniBrowser 1.2.5 looks like a direct copy of 
ConfigurationOfOmniBrowser 1.3 and 1.3 _is_ targetted at Pharo1.3 ...

With the way things are configured, any attempt to load a configuration that 
either directly or indirectly references ConfigurationOfOmniBrowser will likely 
fail...

Now on to characterizing the Metacello bug:)

Dale

- Original Message -
 The Seaside3.0.5 load failure in Pharo1.2.2-12353 is due to the fact
 that Ocompletion-ul.102 is loaded in the image which is a package
 that is part of ConfigurationOfOCompletion 1.4 (presumably targetted
 at Pharo1.3 not Pharo1.2.2) ... In the earlier version of Pharo 1.2,
 Ocompletion-ul.92 is loaded and it is part of
 ConfigurationOfOCompletion 1.2.2 ...
 
 Not sure why Ocompletion-ul.102 was loaded as ConfigurationOfPharo
 points to the correct version of ConfigurationOfOCompletion, so I'll
 have to do more detective work...
 
 Dale
 
 - Original Message -
  Okay the odd behavior between Pharo1.2-12339, Pharo1.2.1-12345 and
  Pharo1.2.2-12353 can be attributed to a known Metacello issue:
  
http://code.google.com/p/metacello/issues/detail?id=112
  
  So we are only facing two bugs:
  
- the issue reported by Lukas, where version OmniBrowser 1.2.3 is
loaded on
  top of version 1.2.4 (when nothing should have been loaded).
  Which appears
  to be fixed by Metacello 1.0-beta.29 (still need a test case to
  reproduce
  the bug)
- the Seaside3.0.5 load failure Pharo1.2.2-12353 that doesn't
show
up in earlier
  versions. This error has to do with
  OcompletionPharoCompatibility
  and is likely
  due to a configuration error somewhere.
  
  I'll keep on digging...
  
  Dale
  
  
  - Original Message -
   
   In the mail to Lukas below, I was able to identify a previously
   unreported bug in Metacello1.0-beta.28.3.3 when loading
   Seaside3.0.5
   into Pharo1.2-12339.  In the process of characterizing the bug, I
   discovered that the Seaside load was correct when using Metacello
   1.0-beta.29 (an unreleased version).
   
   However, when I tested Seaside3.0.5 and Metacello1.0-beta.29
   using
   Pharo1.2.2-12353, I discovered more odd behavior and Seaside3.0.5
   hit errors during the load. There is something fishy going on and
   at
   this point in time the root cause is not obvious.
   
   The Metacello unit tests are passing in all three versions:
   Pharo1.2-12339, Pharo1.2.1-12345 and Pharo1.2.2-12353.
   
   I am now in the process of attempting to characterize the bugs.
   
   I will keep you posted on my progress.
   
   Dale
   
   - Original Message -
Lukas,

I have looked specifically at Seaside3.0.5 and
Pharo1.2-12339/PharoCore1.2-12336
 and have found two things:

  1. #stable version for ConfigurationOfOmniBrowser for 1.2 is
  1.2.3
  and it should be 1.2.4.
  2. if OB 1.2.4 is already loaded then the version is
  downgraded
  to
  1.2.3

Item #1 is a configuration issue and item #2 is a bug ...

I had not heard that many projects could no longer be loaded
into
Pharo1.2, so I was (and still am) blissfully unaware of the
problems that folks are having.

Seaside3.0.5 loads into Pharo1.2/PharoCore1.2 and passes all of
the
unit tests ... so there are no load issues. The Seaside
control
panel works fine and I have not noticed any other
OmniBrowser-related issues ... but then I don't live in the
images
day in and day out so there could be subtle issues.

I am currently trying to characterized the downgrade version
bug
and will push out a fix as soon as I have one.

Dale
 

- Original Message -
  Here's the current state of 3.0.5: I saved the images from
  Jenkins
  and
  uploaded them to the web site. The change log has also been
  updated
  [1]. Everything but the Metacello configuration seems to
  work
  fine.
  If
  I load the Metacello configuration into a Pharo 1.2 it
  tries
  to
  load a
  version of OB that does not work in Pharo 1.2.
 
 As far as I know most configurations have been updated to
 Pharo
 1.3
 already and many projects (I learned that with Glamour,
 Mondrian,
 Moose, Spy, ...) cannot be loaded into latest stable (Pharo
 1.2)
 anymore. What surprised me more is that Metacello does not
 allow
 to
 load 

Re: [Pharo-project] Compiling and using the FT2Plugin

2011-06-01 Thread Schwab,Wilhelm K
Alain,

Sig's answer leaves me doubting my suspicion, but I will toss it out anyway, 
and since you are building a vm, you can pretty easily run through the exercise.

First, the question: what (full path) library is the vm trying to load?  It 
really is a plugin, so some of my more common concerns (extra slashes in the 
path, so.Name instead of libName.so, etc., go away - or do they??).

Sadly, I don't see the code I want to give you on this machine.  Maybe my 
laptop will have some friendly symlinks to the tweaked files.  In short, I 
think that any time the (particularly linux) vm translates a number to to a 
name or a name to a path, and the subsequent load fails, it should say 
something somewhere about what it tried to open/load.  I have used syslog() to 
good effect.  It's nice because the logs rotate, giving some time for the user 
to look for it and yet not clog the drive with old news.

Ok; I'll shut up and see if I can find some code for you :)

Bill




From: pharo-project-boun...@lists.gforge.inria.fr 
[pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Alain Plantec 
[alain.plan...@yahoo.com]
Sent: Wednesday, June 01, 2011 2:00 PM
To: pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Compiling and using the FT2Plugin

Le 01/06/2011 19:46, Igor Stasenko a écrit :
 On 1 June 2011 19:20, Alain Plantecalain.plan...@yahoo.com  wrote:
 Hi all,
 I try to build my own vm (ubuntu 10.04, virtualbox)
 Thanks to the **excellent** Mariano blog, I can compile, it runs ok except
 the FT2Plugin
 I always have the following error message while trying to load fonts:

 ioLoadModule(libFT2Plugin.so):
   libFT2Plugin.so: cannot open shared object file: No such file or directory

 I guess that it is because the plugin is unable to load libfreetype.so.
 does someone know what I am missing ?

 i know. ;)

 i wanna add a correct settings for building this plugin on all
 platforms. so we can ship a vm with this plugin by default.
 But i haven't time to do it yet. So, if you find a solution how to do
 it for unix, i will capture your knowledge in corresponding config(s)
 :)
ah! thanks Igor
I'm not so stupid, its a problem :)
ok, I will try
Cheers
Alain
 thanks
 Alain







Re: [Pharo-project] Compiling and using the FT2Plugin

2011-06-01 Thread Schwab,Wilhelm K
Look for the

   // wks ...

comment near the bottom of the attached.  It's not much, but it can be a HUGE 
help when the paths are off, etc.  I really should have used syslog(), but I 
don't see a good example of that.  Either I never did it in the vm or lost 
track of it.  

The change goes in sqUnixExternalPrims.c, at least in the vms that I have 
hacked (non-Cog).  Caveat emptor, etc.

Good luck!

Bill





From: pharo-project-boun...@lists.gforge.inria.fr 
[pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Schwab,Wilhelm K 
[bsch...@anest.ufl.edu]
Sent: Wednesday, June 01, 2011 8:59 PM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Compiling and using the FT2Plugin

Alain,

Sig's answer leaves me doubting my suspicion, but I will toss it out anyway, 
and since you are building a vm, you can pretty easily run through the exercise.

First, the question: what (full path) library is the vm trying to load?  It 
really is a plugin, so some of my more common concerns (extra slashes in the 
path, so.Name instead of libName.so, etc., go away - or do they??).

Sadly, I don't see the code I want to give you on this machine.  Maybe my 
laptop will have some friendly symlinks to the tweaked files.  In short, I 
think that any time the (particularly linux) vm translates a number to to a 
name or a name to a path, and the subsequent load fails, it should say 
something somewhere about what it tried to open/load.  I have used syslog() to 
good effect.  It's nice because the logs rotate, giving some time for the user 
to look for it and yet not clog the drive with old news.

Ok; I'll shut up and see if I can find some code for you :)

Bill




From: pharo-project-boun...@lists.gforge.inria.fr 
[pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Alain Plantec 
[alain.plan...@yahoo.com]
Sent: Wednesday, June 01, 2011 2:00 PM
To: pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Compiling and using the FT2Plugin

Le 01/06/2011 19:46, Igor Stasenko a écrit :
 On 1 June 2011 19:20, Alain Plantecalain.plan...@yahoo.com  wrote:
 Hi all,
 I try to build my own vm (ubuntu 10.04, virtualbox)
 Thanks to the **excellent** Mariano blog, I can compile, it runs ok except
 the FT2Plugin
 I always have the following error message while trying to load fonts:

 ioLoadModule(libFT2Plugin.so):
   libFT2Plugin.so: cannot open shared object file: No such file or directory

 I guess that it is because the plugin is unable to load libfreetype.so.
 does someone know what I am missing ?

 i know. ;)

 i wanna add a correct settings for building this plugin on all
 platforms. so we can ship a vm with this plugin by default.
 But i haven't time to do it yet. So, if you find a solution how to do
 it for unix, i will capture your knowledge in corresponding config(s)
 :)
ah! thanks Igor
I'm not so stupid, its a problem :)
ok, I will try
Cheers
Alain
 thanks
 Alain





static void *tryLoadModule(char *in, char *name)
{
  char path[PATH_MAX], *out= path;
  void *handle= 0;
  int c;
  while ((c= *in++)  ':' != c) {	/* copy next plugin path to path[] */
switch (c) {
case '%':
  if ('n' == *in || 'N' == *in) {	/* replace %n with name of plugin */
	++in;
	strcpy(out, name);
	out += strlen(name);
	continue;
  }
  if ('%' == *in) {
	++in;
	*out++= '%';
	continue;
  }
  /* fall through... */
default:
  *out++= c;
  continue;
}
  }
  sprintf(out, / MODULE_PREFIX %s MODULE_SUFFIX, name);
  handle= dlopen(path, RTLD_NOW | RTLD_GLOBAL);
  fdebugf((stderr, tryLoading(%s) = %p\n, path, handle));

	// wks - put this information where we can see it.
	fprintf(stdout, tryLoading(%s) = %p\n, path, handle);

  if (!handle) {
struct stat buf;
if ((0 == stat(path, buf))  ! S_ISDIR(buf.st_mode))
  fprintf(stderr, %s\n, dlerror());
  }
  return handle;
}