[Pharo-project] New pharo-dev based on 10178
On Thu, 27 Nov 2008 17:48:33 +0100 "Damien Cassou" <damien.cassou@gmail.com> wrote:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
downloaded, started and performed my usual "stress test" (what happens when I click there?). There are two "World" menus: the one coming up on left click on background and the "other" one coming up on middle/right click depending on mouse settings. The "other" world menu has an item "show main docking bar (M)", turning it on results in a walkback: AnObsoleteBlueSmallLandColorTheme>>dockingBarColor should have been implemented. The window look (Watery2) is quite slick ... so very non-squeaky :-) s.
On Thu, 27 Nov 2008 17:48:33 +0100 "Damien Cassou" <damien.cassou@gmail.com> wrote:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
and another one: Open TestRunner, all testcases are selected, click "Run Selected". InstallerTest class>>resources tries to create a Set containing ClassClonerTestResource, which appears to be nil. s.
On Thu, Nov 27, 2008 at 7:44 PM, Stefan Schmiedl <s@xss.de> wrote:
On Thu, 27 Nov 2008 17:48:33 +0100 "Damien Cassou" <damien.cassou@gmail.com> wrote:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
and another one:
Open TestRunner, all testcases are selected, click "Run Selected". InstallerTest class>>resources tries to create a Set containing ClassClonerTestResource, which appears to be nil.
It's because of a missing class. I thought that I had fixed it but it seems I was wrong. -- Damien Cassou http://damiencassou.seasidehosting.st
On Thu, Nov 27, 2008 at 7:42 PM, Stefan Schmiedl <s@xss.de> wrote:
On Thu, 27 Nov 2008 17:48:33 +0100 "Damien Cassou" <damien.cassou@gmail.com> wrote:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
downloaded, started and performed my usual "stress test" (what happens when I click there?).
There are two "World" menus: the one coming up on left click on background and the "other" one coming up on middle/right click depending on mouse settings.
The "other" world menu has an item "show main docking bar (M)", turning it on results in a walkback:
AnObsoleteBlueSmallLandColorTheme>>dockingBarColor should have been implemented.
Marcus is informed and will have a look. Thank you -- Damien Cassou http://damiencassou.seasidehosting.st
2008/11/27 Damien Cassou <damien.cassou@gmail.com>:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
Funny thing. When i start this image on windowz, it asks me 2 times to insert a disc in a drive, before showing a main window. Have any idea what may cause such idiocy? :)
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:
2008/11/27 Damien Cassou <damien.cassou@gmail.com>:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
Funny thing. When i start this image on windowz, it asks me 2 times to insert a disc in a drive, before showing a main window. Have any idea what may cause such idiocy? :)
windows :) Stef
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call. see FreeTypeFontProvider>>getWindowsFontFolderPath If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location. To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist. Now, here is the curious thing... On my Vista computer, the D: drive is a DVD drive. If I boot Vista with no disk in D: and evaluate the following in a workspace... (FileDirectory on: 'd:\windows\fonts') existsthen it answers false without prompting me to insert a disk. But, if I put a disk in the D: drive, look at its contents in Windows Explorer, then remove the disk and close the drive door; and evaluate the same expression... Now Windows prompts me to insert a disk into D:. If I cancel the Windows prompt, then the expression again answers false. Cheers, Andy .> From: stephane.ducasse@inria.fr> To: pharo-project@lists.gforge.inria.fr> Subject: Re: [Pharo-project] New pharo-dev based on 10178> Date: Fri, 28 Nov 2008 08:07:52 +0100> > > On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:> > > 2008/11/27 Damien Cassou <damien.cassou@gmail.com>:> >> https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip> >>> >> > Funny thing. When i start this image on windowz, it asks me 2 times to> > insert a disc in a drive, before showing a main window.> > Have any idea what may cause such idiocy? :)> > windows :)> > Stef> > >> >> >> --> >> Damien Cassou> >> http://damiencassou.seasidehosting.st> >>> >> _______________________________________________> >> Pharo-project mailing list> >> Pharo-project@lists.gforge.inria.fr> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >>> >> >> >> > -- > > Best regards,> > Igor Stasenko AKA sig.> >> > _______________________________________________> > Pharo-project mailing list> > Pharo-project@lists.gforge.inria.fr> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> > > _______________________________________________> Pharo-project mailing list> Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _________________________________________________________________ See the most popular videos on the web http://clk.atdmt.com/GBL/go/115454061/direct/01/
2008/11/28 Andrew Tween <amtween@hotmail.com>:
If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call. see FreeTypeFontProvider>>getWindowsFontFolderPath
If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location. To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist.
use SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from <shlobj.h> */ , false) of shell32.dll to retrieve the location of fonts directory in windoze. Then you don't need to guess anymore where windoze fonts located :)
Now, here is the curious thing...
On my Vista computer, the D: drive is a DVD drive. If I boot Vista with no disk in D: and evaluate the following in a workspace...
(FileDirectory on: 'd:\windows\fonts') exists
then it answers false without prompting me to insert a disk.
But, if I put a disk in the D: drive, look at its contents in Windows Explorer, then remove the disk and close the drive door; and evaluate the same expression... Now Windows prompts me to insert a disk into D:. If I cancel the Windows prompt, then the expression again answers false.
Cheers, Andy .
From: stephane.ducasse@inria.fr To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178 Date: Fri, 28 Nov 2008 08:07:52 +0100
On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:
2008/11/27 Damien Cassou <damien.cassou@gmail.com>:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
Funny thing. When i start this image on windowz, it asks me 2 times to insert a disc in a drive, before showing a main window. Have any idea what may cause such idiocy? :)
windows :)
Stef
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
________________________________ Read amazing stories to your kids on Messenger Try it Now! _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Date: Fri, 28 Nov 2008 12:36:14 +0200> From: siguctua@gmail.com> To: pharo-project@lists.gforge.inria.fr> Subject: Re: [Pharo-project] New pharo-dev based on 10178> > 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> > If FFI is present, then FreeTypeFontProvider gets the windows font folder> > path with an API call.> > see FreeTypeFontProvider>>getWindowsFontFolderPath> >> > If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath> > is executed, which attempts to guess the fonts folder location.> > To do this it checks to see if c:\windows\fonts, d:\windows\fonts,> > e:\windows\fonts, etc. exist.> >> > use> SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from> <shlobj.h> */ , false)> of shell32.dll to retrieve the location of fonts directory in windoze.> > Then you don't need to guess anymore where windoze fonts located :) I obviously didn't make myself clear, so I'll have another go :)
The guessing only happens if FFI is not present. If FFI is present then it uses FFI to call SHGetFolderPathA in shfolder.dll to get the location. please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the details. SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some plugin, rather than using FFI, but hasn't yet. Cheers, Andy
Now, here is the curious thing...> >> > On my Vista computer, the D: drive is a DVD drive.> > If I boot Vista with no disk in D: and evaluate the following in a> > workspace...> >> > (FileDirectory on: 'd:\windows\fonts') exists> >> > then it answers false without prompting me to insert a disk.> >> > But, if I put a disk in the D: drive, look at its contents in Windows> > Explorer, then remove the disk and close the drive door; and evaluate the> > same expression... Now Windows prompts me to insert a disk into D:.> > If I cancel the Windows prompt, then the expression again answers false.> >> > Cheers,> > Andy> > .> >> >> >> >> From: stephane.ducasse@inria.fr> >> To: pharo-project@lists.gforge.inria.fr> >> Subject: Re: [Pharo-project] New pharo-dev based on 10178> >> Date: Fri, 28 Nov 2008 08:07:52 +0100> >>> >>> >> On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:> >>> >> > 2008/11/27 Damien Cassou <damien.cassou@gmail.com>:> >> >>> >> >> https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip> >> >>> >> >> >> > Funny thing. When i start this image on windowz, it asks me 2 times to> >> > insert a disc in a drive, before showing a main window.> >> > Have any idea what may cause such idiocy? :)> >>> >> windows :)> >>> >> Stef> >>> >> >> >> >> >> >> --> >> >> Damien Cassou> >> >> http://damiencassou.seasidehosting.st> >> >>> >> >> _______________________________________________> >> >> Pharo-project mailing list> >> >> Pharo-project@lists.gforge.inria.fr> >> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >>> >> >> >> >> >> >> >> > --> >> > Best regards,> >> > Igor Stasenko AKA sig.> >> >> >> > _______________________________________________> >> > Pharo-project mailing list> >> > Pharo-project@lists.gforge.inria.fr> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> >>> >>> >> _______________________________________________> >> Pharo-project mailing list> >> Pharo-project@lists.gforge.inria.fr> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> > ________________________________> > Read amazing stories to your kids on Messenger Try it Now!> > _______________________________________________> > Pharo-project mailing list> > Pharo-project@lists.gforge.inria.fr> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> > > > -- > Best regards,> Igor Stasenko AKA sig.> > _______________________________________________> Pharo-project mailing list> Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Win £1000 John Lewis shopping sprees with BigSnapSearch.com http://clk.atdmt.com/UKM/go/117442309/direct/01/
2008/11/28 Andrew Tween <amtween@hotmail.com>:
Date: Fri, 28 Nov 2008 12:36:14 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call. see FreeTypeFontProvider>>getWindowsFontFolderPath
If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location. To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist.
use SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from <shlobj.h> */ , false) of shell32.dll to retrieve the location of fonts directory in windoze.
Then you don't need to guess anymore where windoze fonts located :)
I obviously didn't make myself clear, so I'll have another go :)
The guessing only happens if FFI is not present.
If FFI is present then it uses FFI to call SHGetFolderPathA in shfolder.dll to get the location.
please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the details.
Aha. It not works, because there is no FFI package loaded into dev image. Once i loaded FFI it stopped bugging me about inserting disk in a drive. May i guess, that dev image should contain FFI package by default?
SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some plugin, rather than using FFI, but hasn't yet.
s/some plugin/freetype plugin :)
Cheers, Andy
Now, here is the curious thing...
On my Vista computer, the D: drive is a DVD drive. If I boot Vista with no disk in D: and evaluate the following in a workspace...
(FileDirectory on: 'd:\windows\fonts') exists
then it answers false without prompting me to insert a disk.
But, if I put a disk in the D: drive, look at its contents in Windows Explorer, then remove the disk and close the drive door; and evaluate the same expression... Now Windows prompts me to insert a disk into D:. If I cancel the Windows prompt, then the expression again answers false.
Cheers, Andy .
From: stephane.ducasse@inria.fr To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178 Date: Fri, 28 Nov 2008 08:07:52 +0100
On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:
2008/11/27 Damien Cassou <damien.cassou@gmail.com>:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
Funny thing. When i start this image on windowz, it asks me 2 times to insert a disc in a drive, before showing a main window. Have any idea what may cause such idiocy? :)
windows :)
Stef
-- Damien Cassou http://damiencassou.seasidehosting.st
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
________________________________ Read amazing stories to your kids on Messenger Try it Now! _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
________________________________ Get the best wallpapers on the Web - FREE. Click here! _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Date: Fri, 28 Nov 2008 13:07:57 +0200> From: siguctua@gmail.com> To: pharo-project@lists.gforge.inria.fr> Subject: Re: [Pharo-project] New pharo-dev based on 10178> > 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> >> >> >> Date: Fri, 28 Nov 2008 12:36:14 +0200> >> From: siguctua@gmail.com> >> To: pharo-project@lists.gforge.inria.fr> >> Subject: Re: [Pharo-project] New pharo-dev based on 10178> >>> >> 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> >> >> > If FFI is present, then FreeTypeFontProvider gets the windows font> >> > folder> >> > path with an API call.> >> > see FreeTypeFontProvider>>getWindowsFontFolderPath> >> >> >> > If FFI is not present, then> >> > FreeTypeFontProvider>>guessWindowsFontFolderPath> >> > is executed, which attempts to guess the fonts folder location.> >> > To do this it checks to see if c:\windows\fonts, d:\windows\fonts,> >> > e:\windows\fonts, etc. exist.> >> >> >>> >> use> >> SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from> >> <shlobj.h> */ , false)> >> of shell32.dll to retrieve the location of fonts directory in windoze.> >>> >> Then you don't need to guess anymore where windoze fonts located :)> >> > I obviously didn't make myself clear, so I'll have another go :)> >> > The guessing only happens if FFI is not present.> >> > If FFI is present then it uses FFI to call SHGetFolderPathA in shfolder.dll> > to get the location.> >> > please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the> > details.> > Aha. It not works, because there is no FFI package loaded into dev image.> Once i loaded FFI it stopped bugging me about inserting disk in a drive.> > May i guess, that dev image should contain FFI package by default? I would vote for including FFI in the dev image. And Alien, when it's ready.
SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some plugin,> > rather than using FFI, but hasn't yet.> >> > s/some plugin/freetype plugin> > :)
Or make it a general purpose thing in the VM
Cheers,> > Andy> >> >> >>> >> > Now, here is the curious thing...> >> >> >> > On my Vista computer, the D: drive is a DVD drive.> >> > If I boot Vista with no disk in D: and evaluate the following in a> >> > workspace...> >> >> >> > (FileDirectory on: 'd:\windows\fonts') exists> >> >> >> > then it answers false without prompting me to insert a disk.> >> >> >> > But, if I put a disk in the D: drive, look at its contents in Windows> >> > Explorer, then remove the disk and close the drive door; and evaluate> >> > the> >> > same expression... Now Windows prompts me to insert a disk into D:.> >> > If I cancel the Windows prompt, then the expression again answers false.> >> >> >> > Cheers,> >> > Andy> >> > .> >> >> >> >> >> >> >> >> From: stephane.ducasse@inria.fr> >> >> To: pharo-project@lists.gforge.inria.fr> >> >> Subject: Re: [Pharo-project] New pharo-dev based on 10178> >> >> Date: Fri, 28 Nov 2008 08:07:52 +0100> >> >>> >> >>> >> >> On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:> >> >>> >> >> > 2008/11/27 Damien Cassou <damien.cassou@gmail.com>:> >> >> >>> >> >> >>> >> >> >> https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip> >> >> >>> >> >> >> >> >> > Funny thing. When i start this image on windowz, it asks me 2 times> >> >> > to> >> >> > insert a disc in a drive, before showing a main window.> >> >> > Have any idea what may cause such idiocy? :)> >> >>> >> >> windows :)> >> >>> >> >> Stef> >> >>> >> >> >> >> >> >> >> >> >> --> >> >> >> Damien Cassou> >> >> >> http://damiencassou.seasidehosting.st> >> >> >>> >> >> >> _______________________________________________> >> >> >> Pharo-project mailing list> >> >> >> Pharo-project@lists.gforge.inria.fr> >> >> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> >>> >> >> >> >> >> >> >> >> >> >> >> > --> >> >> > Best regards,> >> >> > Igor Stasenko AKA sig.> >> >> >> >> >> > _______________________________________________> >> >> > Pharo-project mailing list> >> >> > Pharo-project@lists.gforge.inria.fr> >> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> >> >> >>> >> >>> >> >> _______________________________________________> >> >> Pharo-project mailing list> >> >> Pharo-project@lists.gforge.inria.fr> >> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> >> >> >> > ________________________________> >> > Read amazing stories to your kids on Messenger Try it Now!> >> > _______________________________________________> >> > Pharo-project mailing list> >> > Pharo-project@lists.gforge.inria.fr> >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> >> >> >>> >>> >>> >> --> >> Best regards,> >> Igor Stasenko AKA sig.> >>> >> _______________________________________________> >> Pharo-project mailing list> >> Pharo-project@lists.gforge.inria.fr> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> > ________________________________> > Get the best wallpapers on the Web - FREE. Click here!> > _______________________________________________> > Pharo-project mailing list> > Pharo-project@lists.gforge.inria.fr> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project> >> >> > > > -- > Best regards,> Igor Stasenko AKA sig.> > _______________________________________________> Pharo-project mailing list> Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
See the most popular videos on the web http://clk.atdmt.com/GBL/go/115454061/direct/01/
2008/11/28 Andrew Tween <amtween@hotmail.com>:
Date: Fri, 28 Nov 2008 13:07:57 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
Date: Fri, 28 Nov 2008 12:36:14 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call. see FreeTypeFontProvider>>getWindowsFontFolderPath
If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location. To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist.
use SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from <shlobj.h> */ , false) of shell32.dll to retrieve the location of fonts directory in windoze.
Then you don't need to guess anymore where windoze fonts located :)
I obviously didn't make myself clear, so I'll have another go :)
The guessing only happens if FFI is not present.
If FFI is present then it uses FFI to call SHGetFolderPathA in shfolder.dll to get the location.
please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the details.
Aha. It not works, because there is no FFI package loaded into dev image. Once i loaded FFI it stopped bugging me about inserting disk in a drive.
May i guess, that dev image should contain FFI package by default?
I would vote for including FFI in the dev image. And Alien, when it's ready.
SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some plugin, rather than using FFI, but hasn't yet.
s/some plugin/freetype plugin
:)
Or make it a general purpose thing in the VM
i don't think that font path is too general to be in VM.
-- Best regards, Igor Stasenko AKA sig.
Date: Fri, 28 Nov 2008 14:06:44 +0200> From: siguctua@gmail.com> To: pharo-project@lists.gforge.inria.fr> Subject: Re: [Pharo-project] New pharo-dev based on 10178> > 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> >> >> Date: Fri, 28 Nov 2008 13:07:57 +0200> >> From: siguctua@gmail.com> >> To: pharo-project@lists.gforge.inria.fr> >> Subject: Re: [Pharo-project] New pharo-dev based on 10178> >>> >> 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> >> >> >> >> >> >> >> Date: Fri, 28 Nov 2008 12:36:14 +0200> >> >> From: siguctua@gmail.com> >> >> To: pharo-project@lists.gforge.inria.fr> >> >> Subject: Re: [Pharo-project] New pharo-dev based on 10178> >> >>> >> >> 2008/11/28 Andrew Tween <amtween@hotmail.com>:> >> >> >> >> >> > If FFI is present, then FreeTypeFontProvider gets the windows font> >> >> > folder> >> >> > path with an API call.> >> >> > see FreeTypeFontProvider>>getWindowsFontFolderPath> >> >> >> >> >> > If FFI is not present, then> >> >> > FreeTypeFontProvider>>guessWindowsFontFolderPath> >> >> > is executed, which attempts to guess the fonts folder location.> >> >> > To do this it checks to see if c:\windows\fonts, d:\windows\fonts,> >> >> > e:\windows\fonts, etc. exist.> >> >> >> >> >>> >> >> use> >> >> SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from> >> >> <shlobj.h> */ , false)> >> >> of shell32.dll to retrieve the location of fonts directory in windoze.> >> >>> >> >> Then you don't need to guess anymore where windoze fonts located :)> >> >> >> > I obviously didn't make myself clear, so I'll have another go :)> >> >> >> > The guessing only happens if FFI is not present.> >> >> >> > If FFI is present then it uses FFI to call SHGetFolderPathA in> >> > shfolder.dll> >> > to get the location.> >> >> >> > please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the> >> > details.> >>> >> Aha. It not works, because there is no FFI package loaded into dev image.> >> Once i loaded FFI it stopped bugging me about inserting disk in a drive.> >>> >> May i guess, that dev image should contain FFI package by default?> >> > I would vote for including FFI in the dev image.> > And Alien, when it's ready.> >> >>> >> >> >> > SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some> >> > plugin,> >> > rather than using FFI, but hasn't yet.> >> >> >>> >> s/some plugin/freetype plugin> >>> >> :)> >> > Or make it a general purpose thing in the VM> >> > i don't think that font path is too general to be in VM. True, but I was thinking beyond just the font path. Getting the Temp folder path, would also be useful. A general purpose function could do it all. e.g. getOSPath: 'fonts' getOSPath: 'temp'
I seem to recall that that this has been discussed in the past on the squeak-dev list.
-- > Best regards,> Igor Stasenko AKA sig.> > _______________________________________________> Pharo-project mailing list> Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
See the most popular videos on the web http://clk.atdmt.com/GBL/go/115454061/direct/01/
On 27.11.2008, at 19:42, Stefan Schmiedl wrote:
On Thu, 27 Nov 2008 17:48:33 +0100 "Damien Cassou" <damien.cassou@gmail.com> wrote:
https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
downloaded, started and performed my usual "stress test" (what happens when I click there?).
There are two "World" menus: the one coming up on left click on background and the "other" one coming up on middle/right click depending on mouse settings.
We should remove this second world-menu.
The "other" world menu has an item "show main docking bar (M)", turning it on results in a walkback:
AnObsoleteBlueSmallLandColorTheme>>dockingBarColor should have been implemented.
Here is a fix. But the docking-bar needs some work in general... lots of things are accessible in the menues that should be removed.
The window look (Watery2) is quite slick ... so very non-squeaky :-)
:-) -- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
I would really like to make the halos menu only showing up when we press shift and this for all the system. The halso are cool for mroph and duplicating window for example but they get in our way. Stef
We should remove this second world-menu.
The "other" world menu has an item "show main docking bar (M)", turning it on results in a walkback:
AnObsoleteBlueSmallLandColorTheme>>dockingBarColor should have been implemented.
Here is a fix.
<DockingbarFix.cs>
But the docking-bar needs some work in general... lots of things are accessible in the menues that should be removed.
The window look (Watery2) is quite slick ... so very non-squeaky :-)
:-)
-- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
+1 On Nov 30, 2008, at 08:51 , Stéphane Ducasse wrote:
I would really like to make the halos menu only showing up when we press shift and this for all the system. The halso are cool for mroph and duplicating window for example but they get in our way. Stef
We should remove this second world-menu.
The "other" world menu has an item "show main docking bar (M)", turning it on results in a walkback:
AnObsoleteBlueSmallLandColorTheme>>dockingBarColor should have been implemented.
Here is a fix.
<DockingbarFix.cs>
But the docking-bar needs some work in general... lots of things are accessible in the menues that should be removed.
The window look (Watery2) is quite slick ... so very non-squeaky :-)
:-)
-- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
For Linux you might want font paths (plural)... Regards, Gary. ----- Original Message ----- From: Andrew Tween To: pharo-project@lists.gforge.inria.fr Sent: Friday, November 28, 2008 12:15 PM Subject: RE: [Pharo-project] New pharo-dev based on 10178
Date: Fri, 28 Nov 2008 14:06:44 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
Date: Fri, 28 Nov 2008 13:07:57 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
Date: Fri, 28 Nov 2008 12:36:14 +0200 From: siguctua@gmail.com To: pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] New pharo-dev based on 10178
2008/11/28 Andrew Tween <amtween@hotmail.com>:
If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call. see FreeTypeFontProvider>>getWindowsFontFolderPath
If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location. To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist.
use SHGetSpecialFolderPath ( NULL, buffer , 0x14 /* = CSIDL_FONTS , from <shlobj.h> */ , false) of shell32.dll to retrieve the location of fonts directory in windoze.
Then you don't need to guess anymore where windoze fonts located :)
I obviously didn't make myself clear, so I'll have another go :)
The guessing only happens if FFI is not present.
If FFI is present then it uses FFI to call SHGetFolderPathA in shfolder.dll to get the location.
please refer to FreeTypeFontProvider>>getWindowsFontFolderPath for the details.
Aha. It not works, because there is no FFI package loaded into dev image. Once i loaded FFI it stopped bugging me about inserting disk in a drive.
May i guess, that dev image should contain FFI package by default?
I would vote for including FFI in the dev image. And Alien, when it's ready.
SHGetSpecialFolderPath (or SHGetFolderPath) could be added to some plugin, rather than using FFI, but hasn't yet.
s/some plugin/freetype plugin
:)
Or make it a general purpose thing in the VM
i don't think that font path is too general to be in VM.
True, but I was thinking beyond just the font path. Getting the Temp folder path, would also be useful. A general purpose function could do it all. e.g. getOSPath: 'fonts' getOSPath: 'temp' I seem to recall that that this has been discussed in the past on the squeak-dev list.
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
------------------------------------------------------------------------------ Read amazing stories to your kids on Messenger Try it Now! ------------------------------------------------------------------------------ _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (8)
-
Adrian Lienhard -
Andrew Tween -
Damien Cassou -
Gary Chambers -
Igor Stasenko -
Marcus Denker -
Stefan Schmiedl -
Stéphane Ducasse