[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/138/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/138/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [update 3.0] #30117
30117 - 10584 Remove the concept of abstractPC from CompiledMethod https://pharo.fogbugz.com/f/cases/10584 10582 ASTInterpreter: use #sourceNode instead of #currentASTNode https://pharo.fogbugz.com/f/cases/10582 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Kernel-MarcusDenker.1440.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/CompilerTests-MarcusDenker.151.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.448.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/AST-Interpreter-Extension-MarcusDenker.32.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/AST-Interpreter-Core-MarcusDenker.90.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/139/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [update 3.0] #30116
30116 - 10540 Move most methods in CompiledMethod category debuggersupport to DebuggerMethodMap https://pharo.fogbugz.com/f/cases/10540 10037 drag-drop DNU https://pharo.fogbugz.com/f/cases/10037 10575 Cleanup System-Changes a little https://pharo.fogbugz.com/f/cases/10575 10566 Nautilus method icons are not properly cached https://pharo.fogbugz.com/f/cases/10566 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Tools-MarcusDenker..diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/System-Changes-MarcusDenker.204.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/NautilusCommon-MarcusDenker.137.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Nautilus-MarcusDenker.461.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Kernel-MarcusDenker.1438.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Graphics-Display Objects-MarcusDenker.108.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/CompilerTests-MarcusDenker.149.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.446.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/138/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/139/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/139/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/135/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] Fwd: Sockstream vs ZnSocketStream
I wrongly sent to the other ML. Luc -- Forwarded message -- From: Luc Fabresse luc.fabre...@gmail.com Date: 2013/5/9 Subject: Sockstream vs ZnSocketStream To: A friendly place where any question about pharo is welcome pharo-us...@lists.gforge.inria.fr Hi all, I am *experimenting* with the replacement of the current network layer with OCEAN. My current plan is to make Zinc tests green while working on the top of OCEAN. And investigate the removal of all the current Network classes (does it play?). After looking at Zinc code, there are few dependencies. Basically, I implemented an OCNSOcketStream (inheriting from SocketStream) and redefined some methods of ZnNetworkingUtils. It seems to play so far (green tests). But then, I discovered that Zodiac introduces a new SocketStream hierarchy (ZdcAbstractSocketStream). Now remember the mails of Sven. So my questions are: 1) Is the intent of ZdcSocketStream to be a future replacement for SocketStream? 2) why ZnNetworkingUtilsinitialize makes use of SocketStream instead of ZdcSocketStream? why the code isn't something like that: ZnNetworkingUtilsinitialize super initialize. self socketStreamClass: (Smalltalk globals at: #ZdcSocketStream ifAbsent: [ SocketStream ]) . self secureSocketStreamClass: (Smalltalk globals at: #ZdcSecureSocketStream ifAbsent: [ nil ]) Moreover, I guess that ZdcSocketStream should speed up things (it says optimized version in the name of the superclass ;-)). So probably, my OCNSOcketStream should better inherit from ZdcSocketStream. Thanks for giving me some light here, Luc
[Pharo-project] About Announcements
Hi, I was trying to use Announcements. In a nutshell I've a spec window which displays a collection of objects that are stored by a manager. By reading the collaborActive book, and the Help menu that comes with Pharo, I managed to have it working but I've a couple of question. Initially I modeled the thing as two separated announcers, one that sends events (i.e., the manager when new objects are added/removed) and another (i.e., the window which sends the on:do: message with the right Announcement subclass to perform something on the window itself). Unfortunately, this procedure did not work since the two announcers did not communicate between themselves. The solution I adopted is that the window (i.e., consumer of events) sends the on:do: message to the announcer of the manager. Is this the desired pattern to follow? Thanks in advance, Roby
Re: [Pharo-project] [Seaside] Re: Has anyone used Zodiac and Seaside to for https?
I forgot to thanks this thread. Thanks Sven for your help, it was very helpful and much appreciated! On Fri, Apr 19, 2013 at 7:01 AM, Esteban Lorenzano esteba...@gmail.comwrote: On Apr 19, 2013, at 12:59 AM, Igor Stasenko siguc...@gmail.com wrote: On 18 April 2013 23:46, Sven Van Caekenberghe s...@stfx.eu wrote: Igor, On 18 Apr 2013, at 23:21, Igor Stasenko siguc...@gmail.com wrote: why? anything i can help with? Well, last time I looked (eons ago), in the C code of the Mac SSL plugin, the certificate was not used/implemented. For starters, follow ZdcPluginSSLSession#certiificate[:] to find the primitive. Then see ihow/if that actually does something and/or is being used - in the C/plugin code. It would be really great if we could fix this. For some reason i was thinking that we already using bundled SSL libs for Mac VM. we are. but I remember there where a problem with certificates and mac... (so plugin works with vanilla ssl library on all platforms). Not true. We should fix that: it worked for windows, don't see why it won't work for Mac. I added this to my todo list. Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org ___ seaside mailing list seas...@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Best regards, Igor Stasenko. ___ seaside mailing list seas...@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside ___ seaside mailing list seas...@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Mariano http://marianopeck.wordpress.com
[Pharo-project] suggestions for Smart Suggestions
- When selecting a literal we should be able to get extract method.
Re: [Pharo-project] Stick figure in Pharo smalltalk
MikeR wrote So I'm trying to create a stick figure in Pharo. So far I have this man := Morph new. head := CircleMorph new color: Color black . body := LineMorph new. man addMorph: head. man addMorph: body. man openInWindow. it will give you a circle and a line in a window, but the line i can adjust the point property. I wondering if anyone could pt. me in the right direction. - Cheers, Sean -- View this message in context: http://forum.world.st/Stick-figure-in-Pharo-smalltalk-tp4686413p4686485.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
[Pharo-project] [update 3.0] #30118
30118 - 10588 Prepare isHeadless for new VMs with double dash -- arguments https://pharo.fogbugz.com/f/cases/10588 10587 add #options compatibility method to old Compiler class https://pharo.fogbugz.com/f/cases/10587 10589 clean up #decompileString https://pharo.fogbugz.com/f/cases/10589 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/System-Support-MarcusDenker.827.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.451.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/140/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/140/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/140/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] Success story: NTed
I must not forget to write what we do from time to time. We (@2denker in cooperation with a local university) built a monitoring tool for disaster scenario recovery rehearsals. Several times a year universities, red cross, THW und hospitals are planning a rehearsal together. For this an environment is prepared for a simulated disaster (car accidents, explosions in civil areas, …). The local environment is prepared to look real as well as film make-up artist prepare people for injuries (broken legs, open head, …). The rehearsal should improve the coordination of several hospitals, firemen…as well as the quickest possible treatment for the injured. One important part of the rehearsal is monitoring of what happens. This is achieved by installing a local position system and using our tool. Every injured person gets a wireless tablet. On the tablet there are UI elements that indicate treatment done to them. Whenever a doctor comes visiting the injured person activates the corresponding UI button. The events are transmitted to a server and are prepared for another analysis software. The tablet enables the HQ to make contact to individual persons or groups. The tablet measures times of needed treatments and instructs the injured to be dead if measurements weren't taken in time. Technically it is done in smalltalk solo. The server is a pharo image. It has - web admin interface with complex forms for managing injuries, injured, groups, etc. For this we used seaside because it is best suited for this job. Forms are done with magritte, magritte-bootstrap. The interface also displays the live incoming events and other data - a static file server that delivers static resources to client tablets - a websocket connector that is used by the clients to connect to the server - a http handler to export data to other analysis tools The client is done with amber smalltalk. It - loads the web page containing amber from the server - connects back to the server - downloads a UI spec for the injured using the tablet to display personalized UI elements - stores events on the tablet in case the injured is offline - measures times to instruct the injured If you have any questions please don't hesitate to ask. Norbert
[Pharo-project] Fwd: suggestions for Smart Suggestions
Hi gisela. - When selecting a literal we should be able to get extract method. - when I select an instance variable in the class definition I cannot apply refactoring…. yes I know this is because this is a STRING… What a pain. Stef
[Pharo-project] font installer free type fonts
Hi, To ease the transition to Athens, we need to get free type fonts in the image. I researched a bit, and found a couple of font families that are nicely free and open-source: DejaVu, Source Code Pro, Source Sans Pro, and LinLibertine. I put together a little tool that imports a TTF file and installs it in a dedicated class. You can find a library of already imported fonts on SmalltalkHub: http://www.smalltalkhub.com/#!/~girba/FreeFonts/ More details about this library can be found at: http://www.tudorgirba.com/blog/free-font-collection-for-pharo For example, you can use the SourceCodeProRegular font as a code font like: Gofer new smalltalkhubUser: 'girba' project: 'FreeFonts'; package: 'SourceCodeProRegular'; load. (Smalltalk at: #SourceCodeProRegular) new install. FreeTypeSystemSettings loadFt2Library: true. StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). The Moose image already comes with a convenience method to set a complete free type font set: MooseImageSetupCommandLineHandler new installFonts. Cheers, Doru -- www.tudorgirba.com Be rather willing to give than demanding to get.
[Pharo-project] [update 3.0] #30119
30119 - 10592 Update Opal in Image to latest version https://pharo.fogbugz.com/f/cases/10592 10585 isExecutingBlock vs. isClosureContext vs. isBlockContext https://pharo.fogbugz.com/f/cases/10585 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Tools-MarcusDenker.1114.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/OpalCompiler-Tests-MarcusDenker.131.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/OpalCompiler-Core-MarcusDenker.244.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Kernel-MarcusDenker.1442.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/DebuggerModel-MarcusDenker.33.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/AST-Interpreter-Extension-MarcusDenker.34.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/141/ 2 regressions found. Tests.Release.ReleaseTest.testObsoleteBehaviors Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/141/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/141/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [update 3.0] #30120
30120 - 10594 Set compiler option +optLongIvarAccessBytecodes for InstructionStream Hierarchy https://pharo.fogbugz.com/f/cases/10594 10591 reduce sends of methodDictionary and methodDictionary: https://pharo.fogbugz.com/f/cases/10591 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Traits-MarcusDenker.505.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Tools-MarcusDenker.1115.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/System-Changes-MarcusDenker.206.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/SUnit-UI-MarcusDenker.64.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/SUnit-Core-MarcusDenker.73.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Refactoring-Critics-MarcusDenker.43.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/NECompletion-MarcusDenker.116.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Manifest-Core-MarcusDenker.134.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/KernelTests-MarcusDenker.512.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Kernel-MarcusDenker.1444.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/HudsonBuildTools20-MarcusDenker.30.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.453.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/142/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/142/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/142/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
Re: [Pharo-project] [Moose-dev] font installer free type fonts
Hi doru How do you use SourceCodeProSemibold for example StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). Because there is no family name for semi bold Stef On May 11, 2013, at 12:21 AM, Tudor Girba tu...@tudorgirba.com wrote: Hi, To ease the transition to Athens, we need to get free type fonts in the image. I researched a bit, and found a couple of font families that are nicely free and open-source: DejaVu, Source Code Pro, Source Sans Pro, and LinLibertine. I put together a little tool that imports a TTF file and installs it in a dedicated class. You can find a library of already imported fonts on SmalltalkHub: http://www.smalltalkhub.com/#!/~girba/FreeFonts/ More details about this library can be found at: http://www.tudorgirba.com/blog/free-font-collection-for-pharo For example, you can use the SourceCodeProRegular font as a code font like: Gofer new smalltalkhubUser: 'girba' project: 'FreeFonts'; package: 'SourceCodeProRegular'; load. (Smalltalk at: #SourceCodeProRegular) new install. FreeTypeSystemSettings loadFt2Library: true. StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). The Moose image already comes with a convenience method to set a complete free type font set: MooseImageSetupCommandLineHandler new installFonts. Cheers, Doru -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
[Pharo-project] Fwd: Expeditions in Computing NSF Grant
From http://forum.world.st/Expeditions-in-Computing-NSF-Grant-td4686758.html : quote author=Brad Fuller-3 This may be of interest to some here, or your colleagues: NSF National Science Foundation Expeditions in Computing Grant http://www07.grants.gov/search/search.do?mode=VIEWoppId=234035 Description The far-reaching impact and rate of innovation in the computing and information disciplines has been remarkable, generating economic prosperity and enhancing the quality of life for people throughout the world. But the best is yet to come!The Directorate for Computer and Information Science and Engineering (CISE) has created the Expeditions in Computing (Expeditions) program to provide the CISE research and education community with the opportunity to pursue ambitious, fundamental research agendas that promise to define the future of computing and information. In planning Expeditions, investigators are encouraged to come together within or across departments or institutions to combine their creative talents in the identification of compelling, transformative research agendas that promise disruptive innovations in computing and information for many years to come. Funded at levels up to $2,000,000 per year for five years, Expeditions represent some of the largest single investments currently made by the directorate. Together with the Science and Technology Centers CISE supports, Expeditions form the centerpiece of the directorate's award portfolio. With awards funded at levels that promote the formation of research teams, CISE recognizes that concurrent research advances in multiple fields or sub-fields are often necessary to stimulate deep and enduring outcomes.The awards made in this program will complement projects supported by other CISE programs, which target particular computing or information disciplines or fields. /quote
Re: [Pharo-project] [Moose-dev] Re: font installer free type fonts
Hi, The fonts-related code is a bit too complex for my mind. Semi bold is indeed not a FreeTypeFontFamily, but a FreeTypeFontFamilyMember. After loading the font, you can inspect it via: (LogicalFontManager current allFamilies detect: [:each | each familyName = 'Source Code Pro' ]) members detect: [ :each | each styleName = 'Semibold' ]. You will see that it has a couple of integer values for: stretch, weight and slant. The only way I could set a LogicalFont from outside was via these values explicitly: StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10 stretchValue: 5 weightValue: 600 slantValue: 0). I guess we need to review this part of Pharo. Cheers, Doru On May 11, 2013, at 5:39 PM, stephane ducasse stephane.duca...@free.fr wrote: Hi doru How do you use SourceCodeProSemibold for example StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). Because there is no family name for semi bold Stef On May 11, 2013, at 12:21 AM, Tudor Girba tu...@tudorgirba.com wrote: Hi, To ease the transition to Athens, we need to get free type fonts in the image. I researched a bit, and found a couple of font families that are nicely free and open-source: DejaVu, Source Code Pro, Source Sans Pro, and LinLibertine. I put together a little tool that imports a TTF file and installs it in a dedicated class. You can find a library of already imported fonts on SmalltalkHub: http://www.smalltalkhub.com/#!/~girba/FreeFonts/ More details about this library can be found at: http://www.tudorgirba.com/blog/free-font-collection-for-pharo For example, you can use the SourceCodeProRegular font as a code font like: Gofer new smalltalkhubUser: 'girba' project: 'FreeFonts'; package: 'SourceCodeProRegular'; load. (Smalltalk at: #SourceCodeProRegular) new install. FreeTypeSystemSettings loadFt2Library: true. StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). The Moose image already comes with a convenience method to set a complete free type font set: MooseImageSetupCommandLineHandler new installFonts. Cheers, Doru -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com If you can't say why something is relevant, it probably isn't.
[Pharo-project] [update 3.0] #30121
30121 - 10600 add environment: and class: compatibility methods to Compiler https://pharo.fogbugz.com/f/cases/10600 10598 MorphTreeNodeMorph draws wrongly drop highlight https://pharo.fogbugz.com/f/cases/10598 10599 AlainTreeModel not fully covered use of isCheckList https://pharo.fogbugz.com/f/cases/10599 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Spec-Widgets-MarcusDenker.151.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Morphic-MarcusDenker.1429.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.454.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/143/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/143/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/143/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
Re: [Pharo-project] [Moose-dev] font installer free type fonts
On May 12, 2013, at 8:18 AM, Tudor Girba tu...@tudorgirba.com wrote: Hi, The fonts-related code is a bit too complex for my mind. for mine too :) Semi bold is indeed not a FreeTypeFontFamily, but a FreeTypeFontFamilyMember. After loading the font, you can inspect it via: (LogicalFontManager current allFamilies detect: [:each | each familyName = 'Source Code Pro' ]) members detect: [ :each | each styleName = 'Semibold' ]. You will see that it has a couple of integer values for: stretch, weight and slant. The only way I could set a LogicalFont from outside was via these values explicitly: StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10 stretchValue: 5 weightValue: 600 slantValue: 0). I guess we need to review this part of Pharo. Cheers, Doru On May 11, 2013, at 5:39 PM, stephane ducasse stephane.duca...@free.fr wrote: Hi doru How do you use SourceCodeProSemibold for example StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). Because there is no family name for semi bold Stef On May 11, 2013, at 12:21 AM, Tudor Girba tu...@tudorgirba.com wrote: Hi, To ease the transition to Athens, we need to get free type fonts in the image. I researched a bit, and found a couple of font families that are nicely free and open-source: DejaVu, Source Code Pro, Source Sans Pro, and LinLibertine. I put together a little tool that imports a TTF file and installs it in a dedicated class. You can find a library of already imported fonts on SmalltalkHub: http://www.smalltalkhub.com/#!/~girba/FreeFonts/ More details about this library can be found at: http://www.tudorgirba.com/blog/free-font-collection-for-pharo For example, you can use the SourceCodeProRegular font as a code font like: Gofer new smalltalkhubUser: 'girba' project: 'FreeFonts'; package: 'SourceCodeProRegular'; load. (Smalltalk at: #SourceCodeProRegular) new install. FreeTypeSystemSettings loadFt2Library: true. StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 10). The Moose image already comes with a convenience method to set a complete free type font set: MooseImageSetupCommandLineHandler new installFonts. Cheers, Doru -- www.tudorgirba.com Be rather willing to give than demanding to get. ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com If you can't say why something is relevant, it probably isn't. ___ Moose-dev mailing list moose-...@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
[Pharo-project] Suggestions in Pharo 3.0
Hello! I recorded a demo showing how to access to the menu of Smart Suggestions and some examples of the tool, you can see it in: http://www.youtube.com/watch?v=WmNKbewOXkEfeature=youtu.be I hope this will be useful and if you have any comments, please let me know.
Re: [Pharo-project] http://www.pharo-project.org down ?
Hi Sven, It is up for me. Luc #Luc 2013/5/8 Sven Van Caekenberghe s...@stfx.eu Hi, Related to https://pharo.fogbugz.com/f/cases/10559/ is http://www.pharo-project.org down just for me or does anyone else also have problems ? http://www.downforeveryoneorjustme.com/http://www.pharo-project.org says its up, but I can't access it. Weird. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Re: [Pharo-project] http://www.pharo-project.org down ?
Did you really sent this mail 4 days ago ? It just arrived in my inbox ;-) Luc 2013/5/12 Luc Fabresse luc.fabre...@gmail.com Hi Sven, It is up for me. Luc #Luc 2013/5/8 Sven Van Caekenberghe s...@stfx.eu Hi, Related to https://pharo.fogbugz.com/f/cases/10559/ is http://www.pharo-project.org down just for me or does anyone else also have problems ? http://www.downforeveryoneorjustme.com/http://www.pharo-project.org says its up, but I can't access it. Weird. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Re: [Pharo-project] http://www.pharo-project.org down ?
I can reach it Ben On May 8, 2013, at 11:23 AM, Sven Van Caekenberghe s...@stfx.eu wrote: Hi, Related to https://pharo.fogbugz.com/f/cases/10559/ is http://www.pharo-project.org down just for me or does anyone else also have problems ? http://www.downforeveryoneorjustme.com/http://www.pharo-project.org says its up, but I can't access it. Weird. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
Re: [Pharo-project] http://www.pharo-project.org down ?
Works for me 2013/5/8 Sven Van Caekenberghe s...@stfx.eu Hi, Related to https://pharo.fogbugz.com/f/cases/10559/ is http://www.pharo-project.org down just for me or does anyone else also have problems ? http://www.downforeveryoneorjustme.com/http://www.pharo-project.org says its up, but I can't access it. Weird. Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
[Pharo-project] Nabble not working
It seems that Nabble stopped picking up new posts on this list on May 8, but other lists (e.g. Pharo users) are still working. Did we change something, or is it on Nabble's end?
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/144/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=win/240/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/144/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=linux/240/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
Re: [Pharo-project] [Lsehub-staff] Suggestions in Pharo 3.0
On Sun, May 12, 2013 at 7:12 PM, Gisela Decuzzi giseladecu...@gmail.comwrote: I hope this will be useful and if you have any comments, please let me know. That's great, thank you Gisela. I love your screenshots -- Damien Cassou http://damiencassou.seasidehosting.st Success is the ability to go from one failure to another without losing enthusiasm. Winston Churchill
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=mac/240/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [update 3.0] #30122
30122 - 10603 add compilationContext to AST node MethodNode https://pharo.fogbugz.com/f/cases/10603 10602 AlainTreeModel still not properly updated while columns cahnged https://pharo.fogbugz.com/f/cases/10602 10601 SpecLayout commands refactoring https://pharo.fogbugz.com/f/cases/10601 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/Spec-Widgets-MarcusDenker.154.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Spec-Layout-MarcusDenker.44.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/AST-Core-MarcusDenker.146.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/145/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/145/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
Re: [Pharo-project] generalizing NeoCSV
Hi Doru, On 08 May 2013, at 15:25, Tudor Girba tu...@tudorgirba.com wrote: Hi Sven, I am looking at NeoCSV, and I would like to add it to Moose by default. That is great to hear, thanks ! During the review, I noticed that it relies on perform: addRawField: accessor Add a field based on an accessor to be written as a #raw field self addFieldAccessor: [ :object | self writeRawField: (object perform: accessor) ] I would prefer to have it modified to simply use value:. In this way we can pass blocks as transformation specifications. Why is this important? Because we often have values that we want to export but that do not have a direct correspondent in a unary method. Would it be Ok to make this modification? That is an excellent suggestion, thanks. I made the change to both the writer and the reader (sadly #value:#value: does not exist on Symbol). --- Name: ConfigurationOfNeoCSV-SvenVanCaekenberghe.10 Author: SvenVanCaekenberghe Time: 13 May 2013, 1:19:12.655 pm UUID: 98714491-3388-4a52-8720-43c8b27079d1 Ancestors: ConfigurationOfNeoCSV-SvenVanCaekenberghe.9 v8 Added support for blocks as accessors to the writer and the reader as suggested by Tudor Girba (Thx). Added writer features #addEmptyField and #addConstantField: --- Regards, Sven PS: I am sure you need JSON support as well, please also consider NeoJSON as well ;-) Cheers, Doru -- www.tudorgirba.com Every thing has its own flow -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org
[Pharo-project] [update 3.0] #30123
30123 - 10604 update Opal in image to latest version https://pharo.fogbugz.com/f/cases/10604 10595 Set environment for #compiler in Smalltalk#compiler https://pharo.fogbugz.com/f/cases/10595 Diff information: http://smalltalkhub.com/mc/Pharo/Pharo30/main/System-Support-MarcusDenker.829.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/OpalCompiler-Tests-MarcusDenker.134.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/OpalCompiler-Core-MarcusDenker.250.diff http://smalltalkhub.com/mc/Pharo/Pharo30/main/Compiler-MarcusDenker.456.diff
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/146/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/145/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/146/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
Re: [Pharo-project] XPath issue ?
Hi, This is for sure not useful at all, but I make the same mistake into PetitXml and PetitXPath (skipping the first element) :) in the Petit parsers, now it is fixed... you can try that or check it to fix the XPath parser (which I didn't know it exists, btw) cheers, Esteban On May 8, 2013, at 11:23 PM, Herve Verjus herve.ver...@univ-savoie.fr wrote: Dear All, I try a very simple example: mydoc.xml document: ?xml version=1.0 encoding=UTF-8 ? first second item type=attvaluenodevalue/item /second /first And the Pharo code found in the book.pharo-project.org: | doc results | doc := XMLDOMParser parseFileNamed: 'mydoc.xml'. results := ( XPath for: 'first' ) in: doc. results explore As a result, I obtain an empty OrderedCollection...It should contain an element. Then a make some changes using different XPath expressions (i.e. '/first/second/item/@type, etc.) but no way. Then I discover the first element of the XPath expression must not be the root of the XML doc. If I change the mydoc.xml, introducing a new root element: ?xml version=1.0 encoding=UTF-8 ? foo first second item type=attvaluenodevalue/item /second /first /foo Everything is ok (the same code as above). Here, XPath assumes that the first tag we are looking for is not the root of the doc, otherwise it fails. I'm not so sure but it seems that such implementation doesn't follow the XPath specs. I tried another example from http://www.w3schools.com/xpath/xpath_syntax.asp and same results: I obtain an empty collection when using an XPath expression beginning with the 'bookstore' tag, the root element of the doc: | doc results | doc := XMLDOMParser parseFileNamed: 'books.xml'. results := ( XPath for: '/bookstore' ) in: doc. results explore Maybe, I missed something... Note: I have had to replace the isTag (deprecated) with isElement in some piece of XPath code. Cheers, Herve
Re: [Pharo-project] Understanding NBOpenGL
On 9 May 2013 00:04, kilon theki...@yahoo.co.uk wrote: Ok so I tried to learn Opengl ES 2 (and opengl 4) during my eastern vacations because I realised that I dont really need Athens or vector graphics for my GUI , since I will be dealing mostly with 3d graphics anyway. (My project ephestos will be an effort of creating a 3d app for pharo, see also blender) well, Athens provides convenient API for 2d vector graphics, which not exists in opengl .. One day i want to begin implementing opengl backend for Athens. So when I tried to run the demos i get an error with NBMacGLContextDriversupportsCurrentPlatform obviously, for Mac intel-32 only :) ^ NativeBoost platformId = NativeBoostConstants mac32PlaformId My mac is obviously not 32-bit but 64 bit, but I dont know if that matters since pharo is only 32 bit anyway. The bug is also obvious it should be mac32PlatformId and not mac32PlaformId. I correct and proceed and gives me a new error this time in NBMacGlApiglApiCall: fnSpec index: fnIndex attributes: attributes context: contextToRetry ^[ (NBCallFailureHandler for: contextToRetry) retryWith: [ :targetClass :targetMethod | (NBFFICallout targetClass: targetClass targetMethod: targetMethod fnSpec: fnSpec) stdcall; generate: [ :gen | self emitCall: fnIndex generator: gen ] ] ] on: NBNativeCodeError do: [:err :handler | err errorCode = ErrorFnNotAvailable ifTrue: [ Native code is installed, but function pointer not loaded yet. Try to load function and retry the call (self tryGetFunctionPointer: (self class glFunctions at: fnIndex)) ifFalse: [ ^ err pass ]. ^ handler retrySend ]. err pass ] The problem here that NBCallFailureHandler is nowhere to be found. At first I though my NB was lagging behind in version so I download from smalltalk Hub and did ConfigurationOfNativeboost loadStable. Neither my image has NBCallFailureHandler. Looks like you loaded wrong version of NBOpenGL. How did you loaded NBOpenGL? For 2.0/3.0 pharo image use (ConfigurationOfNBOpenGL project version: '2.0') load it should work out of the box. (and you don't need to load NativeBoost, because it is already in image). it updated without errors but still that class is nowhere to be found. So my question is this, does it really worth it to struggle with NBOpengl or will it better to learn how Nativeboost works and use Opengl myself ? That what exactly NBOpenGL is. Its contents is bindings to OpenGL library (over 3000 functions) the rest is glue code , which mostly serves as an example how to create and initialize opengl context depending on platform you using. The subcategory NBOpenGL-Display contains root classes with that glue code. While NBOpenGL-Core is 99% is just plain opengl api. If you don't like this glue, you can just avoid using it.. but throwing away opengl core and making own.. makes little sense. I actually encouraged people to write better glue code for initializing context.. The main problem is that its highly platform specific.. and my knowledge doesn't covers deeply all 3 platforms. I did windows and mac parts.. and linux made by Javier. -- View this message in context: http://forum.world.st/Understanding-NBOpenGL-tp4686514.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com. -- Best regards, Igor Stasenko.
Re: [Pharo-project] Understanding NBOpenGL
On 14 May 2013 00:45, Igor Stasenko siguc...@gmail.com wrote: On 9 May 2013 00:04, kilon theki...@yahoo.co.uk wrote: Ok so I tried to learn Opengl ES 2 (and opengl 4) during my eastern vacations because I realised that I dont really need Athens or vector graphics for my GUI , since I will be dealing mostly with 3d graphics anyway. (My project ephestos will be an effort of creating a 3d app for pharo, see also blender) well, Athens provides convenient API for 2d vector graphics, which not exists in opengl .. One day i want to begin implementing opengl backend for Athens. So when I tried to run the demos i get an error with NBMacGLContextDriversupportsCurrentPlatform obviously, for Mac intel-32 only :) ^ NativeBoost platformId = NativeBoostConstants mac32PlaformId My mac is obviously not 32-bit but 64 bit, but I dont know if that matters since pharo is only 32 bit anyway. The bug is also obvious it should be mac32PlatformId and not mac32PlaformId. I correct and proceed and gives me a new error this time in NBMacGlApiglApiCall: fnSpec index: fnIndex attributes: attributes context: contextToRetry ^[ (NBCallFailureHandler for: contextToRetry) retryWith: [ :targetClass :targetMethod | (NBFFICallout targetClass: targetClass targetMethod: targetMethod fnSpec: fnSpec) stdcall; generate: [ :gen | self emitCall: fnIndex generator: gen ] ] ] on: NBNativeCodeError do: [:err :handler | err errorCode = ErrorFnNotAvailable ifTrue: [ Native code is installed, but function pointer not loaded yet. Try to load function and retry the call (self tryGetFunctionPointer: (self class glFunctions at: fnIndex)) ifFalse: [ ^ err pass ]. ^ handler retrySend ]. err pass ] The problem here that NBCallFailureHandler is nowhere to be found. At first I though my NB was lagging behind in version so I download from smalltalk Hub and did ConfigurationOfNativeboost loadStable. Neither my image has NBCallFailureHandler. Looks like you loaded wrong version of NBOpenGL. How did you loaded NBOpenGL? For 2.0/3.0 pharo image use (ConfigurationOfNBOpenGL project version: '2.0') load it should work out of the box. (and you don't need to load NativeBoost, because it is already in image). it updated without errors but still that class is nowhere to be found. So my question is this, does it really worth it to struggle with NBOpengl or will it better to learn how Nativeboost works and use Opengl myself ? That what exactly NBOpenGL is. Its contents is bindings to OpenGL library (over 3000 functions) the rest is glue code , which mostly serves as an example how to create and initialize opengl context depending on platform you using. The subcategory NBOpenGL-Display contains root classes with that glue code. While NBOpenGL-Core is 99% is just plain opengl api. If you don't like this glue, you can just avoid using it.. but throwing away opengl core and making own.. makes little sense. I actually encouraged people to write better glue code for initializing context.. The main problem is that its highly platform specific.. and my knowledge doesn't covers deeply all 3 platforms. I did windows and mac parts.. and linux made by Javier. Oh, and i should also mention, since depending on application you may want to initialize context differently (different pixel format , different number of buffers etc).. you will need to override/rewrite context initialization part by youself. So, the existing context initialization code is more for demo purposes but not for serious use. Another thing, that i don't see how i can provide sufficient generic context creation part, because there's a lot of flags and options which sometimes need fine tuning (like selecting most matching pixel format), which would make code too clever, and therefore rigid.. and i know by myself that it is best to be left for developer to decide what he wants and how. -- View this message in context: http://forum.world.st/Understanding-NBOpenGL-tp4686514.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com. -- Best regards, Igor Stasenko. -- Best regards, Igor Stasenko.
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=linux/147/ 2 regressions found. Tests.Release.ReleaseTest.testObsoleteBehaviors Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/146/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=mac/147/ 2 regressions found. Tests.Release.ReleaseTest.testObsoleteBehaviors Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-3.0-Update-Step-2-Validation/./label=win/147/ 2 regressions found. Zinc.Tests.ZnClientTests.testRedirect Zinc.Zodiac.ZnHTTPSTests.testGetPharoVersion
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=linux/241/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=win/241/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect
[Pharo-project] [regression reporter]regression occurred
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/./Run=run%201,VM=vm,label=mac/241/ 1 regressions found. Zinc.Tests.ZnClientTests.testRedirect