Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 3 participants
- 144636 messages
Re: [Pharo-dev] Super fast delay
by stepharo
We really need people to have a look at the code of Ben.
Stef
On 29/10/14 15:02, Ben Coman wrote:
> Holger Hans Peter Freyther wrote:
>> On Wed, Oct 29, 2014 at 10:03:03AM +0100, Norbert Hartl wrote:
>>
>> Good Evening,
>>
>>> I have a report that it doesn't work on a linux desktop either. So
>>> at least there is one case where it does not work in a
>>> non-virtualized environment. Maybe interesting:
>>> root@2d-misc:/opt/mock-server# time pharo-vm-nox ./Pharo.image eval
>>> "(Delay forSeconds: 5) wait. (Delay forSeconds: 10) wait"
>>> a Delay(10000 msecs)
>>
>>
>> yes the first delay seems to fail. I have some holes in my
>> analysis but so far I see:
>>
>> Process A
>> (Delay forSeconds: 5) wait
>> Delay class >> scheduleDelay
>> aDelay resumptionTime: 5622
>>
>> Process B
>> Delay class >> handleTimerEvent is being executed
>> "Check for clock wrap-around."
>> nowTick := Time millisecondClockValue.
>> nowTick < ActiveDelayStartTime ifTrue: [
>> "clock wrapped"
>> ...
>> self restoreResumptionTimes
>>
>> Delay class >> restoreResumptionTimes
>> mydelay adjustResumptiomTimeOldBase:
>> mydelay's resumptionTime is now negative.
>> but the time base hasn't been changed
>> as the Delay was started _after_ the
>> image has been resumed (or at least while
>> it is being resumed).
>>
>> ... nowTick >= ActiveDelay resumptionTime ifTrue: [
>> ActiveDelay signalWaitingProcess.
>>
>>
>>
>> What I notice is that:
>>
>> restoreResumptionTimes
>> "Private! Restore the resumption times of all scheduled Delays
>> after a snapshot or clock roll-over. This method should be called
>> only while the AccessProtect semaphore is held."
>>
>> But handleTimerEvent doesn't seem to use AccessProtect. The comment
>> and implementation appear to be not consistent.
>>
>> holger
>>
>>
>>
>
> #handleTimerEvent runs in the highest priority process at
> TimingPriority=80. The AccessProtect mutex is about controlling how
> multiple lower priority processes poke instances of Delay into the
> ScheduledDelay and FinishedDelay variables for #handleTimerEvent to
> process (being invoked by signaling TimingSempahore from within the
> AccessProtect).
>
> However restoreResumptionTimes is also called from #startUp by low
> priority processes and that is probably when AccessProtect is required.
>
> However2, I am working on an alternative implementation to use
> Semaphores rather than the AccessProtect mutex, which should bypass
> your concern. It should be ready for review early next week.
>
> cheers -ben
>
>
>
Oct. 30, 2014
Re: [Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?
by Jan Vrany
Hi Richard,
On Thu, 2014-10-30 at 10:15 -0700, Richard Sargent wrote:
> kurs.jan wrote
> > Hi All,
> >
> > Sorry for a late reply, here is the latest status with PetitParser and
> > Pharo (tested on Pharo3):
> >
> > "Configuration should be loaded like this:"
> > Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
> > configurationOf: #PetitParser; load.
> >
> > "Minimal set of parsers to use petit parser:"
> > ConfigurationOfPetitParser project stableVersion load: 'Core'.
> > ConfigurationOfPetitParser project stableVersion load: 'Tests'.
> >
> > "All the petit parser suite:"
> > ConfigurationOfPetitParser loadDevelopment.
> >
> > Please, let me know if you have any issues/requirements.
>
> Thank you, Jan! That worked perfectly.
>
> I did notice a large number of warnings and errors in the Transcript. Many
> of them we resolved later in the loading, just being load order
> dependencies. But many of them appear to be genuine errors. Are they
> expected?
By coincidence, we're working with Jan on some new PetitParser stuff
and I bumped into this too and already complained about this
(privately). So yes, this i known bug.
It will be fixed soonish, I believe in a week or two, as this
is a show stopper for me (our compiler does not allow undeclared
variables).
Best, (other) Jan
>
> The following is a distillation of the messages in the Transcript showing
> these issues. Quite a number of them were resolved; I have annotated them
> with "***Resolved by later load***" at the end of the line.
>
>
> PPMemento>>position: (position is Undeclared)
> PPMemento>>position (position is Undeclared)
> PPMemoizedParser>>reset: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> PPMemoizedParser>>parseOn: (stream is Undeclared)
> JavaParserTest>>createContext:(context is shadowed)
> PPMemoizingIslandTest>>testMemo(context is shadowed)
> PPSmalltalkParser>>buildMethod:(pragma is shadowed)
> Loaded -> PetitParser-JanKurs.253 ---
> http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- cache
>
> GLMBrowser>>close (GLMBrowserClosed is Undeclared) ***Resolved by later
> load***
> GLMCompositePresentation>>accumulator (GLMAccumulator is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>actionList (GLMActionListPresentation is
> Undeclared) ***Resolved by later load***
> GLMCompositePresentation>>diff (GLMDiffPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>dropDownList (GLMDropDownListPresentation is
> Undeclared) ***Resolved by later load***
> GLMCompositePresentation>>dynamic (GLMDynamicPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>finder (GLMFinder is Undeclared) ***Resolved by
> later load***
> GLMCompositePresentation>>list (GLMListPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>morph (GLMMorphPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>smalltalkCode (GLMSmalltalkCodePresentation is
> Undeclared) ***Resolved by later load***
> GLMCompositePresentation>>spec (GLMSpecPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>table (GLMTablePresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>tabulator (GLMTabulator is Undeclared) ***Resolved
> by later load***
> GLMCompositePresentation>>text (GLMTextPresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>tree (GLMTreePresentation is Undeclared)
> ***Resolved by later load***
> GLMCompositePresentation>>wrapper (GLMWrapper is Undeclared) ***Resolved by
> later load***
> GLMPresentation>>windowIsClosing (GLMBrowserClosing is Undeclared)
> ***Resolved by later load***
> Loaded -> Glamour-Core-TudorGirba.285 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> GLMSmalltalkCodePresentation>>defaultSelectionActions (GLMUIThemeExtraIcons
> is Undeclared) ***Resolved by later load***
> GLMSmalltalkCodePresentation>>defaultSelectionActions (GLMUIThemeExtraIcons
> is Undeclared) ***Resolved by later load***
> Loaded -> Glamour-Presentations-TudorGirba.165 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> GLMExamplesBrowser>>exampleIn: (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>browserWithToolbar (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>morphIcons (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>multipleActions (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>populatePortAction (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>roassalPainting (RTMondrianViewBuilder is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>simplePager (GLMPager is Undeclared) ***Resolved by later
> load***
> GLMBasicExamples>>smalltalkCode (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>smalltalkCode (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>tableWithIcons (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>tableWithIcons (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>tabsWithDifferentActions (GLMUIThemeExtraIcons is
> Undeclared) ***Resolved by later load***
> GLMBasicExamples>>tabsWithDifferentActions (GLMUIThemeExtraIcons is
> Undeclared) ***Resolved by later load***
> GLMBasicExamples>>tabsWithDifferentLabels (GLMUIThemeExtraIcons is
> Undeclared) ***Resolved by later load***
> GLMBasicExamples>>treeWithMenu (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>updateableBrowser (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>updateableBrowser (GLMUIThemeExtraIcons is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>updateableBrowser (GLMItemAdded is Undeclared) ***Resolved
> by later load***
> GLMBasicExamples>>updateableBrowser (GLMItemRemoved is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>validatingPresentation (GLMItemRemoved is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>validatingPresentation (GLMItemAdded is Undeclared)
> ***Resolved by later load***
> GLMBasicExamples>>validatingPresentation (GLMUIThemeExtraIcons is
> Undeclared) ***Resolved by later load***
> GLMBasicExamples>>validatingPresentation (GLMUIThemeExtraIcons is
> Undeclared) ***Resolved by later load***
> Loaded -> Glamour-Examples-TudorGirba.288 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> GLMBrick class>>resizeImage:scale: (GLMForm is Undeclared) ***Resolved by
> later load***
> Loaded -> Glamour-Morphic-Brick-AliakseiSyrel.15 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> GLMBrowserTest>>testUpdateRecomputesMatchingPresentations
> (GLMAnnouncingCollection is Undeclared) ***Resolved by later load***
> Loaded -> Glamour-Tests-Core-AndreiChis.99 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> RubSegmentMorph>>containsPoint: (borderWidth is Undeclared)
> RubSegmentMorph>>filledForm (borderColor is Undeclared)
> RubSegmentMorph>>filledForm (borderColor is Undeclared)
> RubSegmentMorph>>vertices:color:borderWidth:borderColor: (borderWidth is
> Undeclared)
> RubSegmentMorph>>vertices:color:borderWidth:borderColor: (borderColor is
> Undeclared)
> Loaded -> Rubric-AlainPlantec.137 ---
> http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- cache
>
> GLMExpanderContentsNodeModel>>elementColumn
> (GLMMorphicPaneWithoutTitleRenderer is Undeclared) ***Resolved by later
> load***
> Loaded -> Glamour-Morphic-Widgets-AliakseiSyrel.150 ---
> http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
>
> InstanceSpy>>example02 (ROMouseMove is Undeclared)
> InstanceSpy>>example02 (ROMouseEnter is Undeclared)
> InstanceSpy>>example02 (ROMouseLeave is Undeclared)
> InstanceSpy>>example03 (ROElement is Undeclared)
> InstanceSpy>>example03 (ROEdge is Undeclared)
> InstanceSpy>>example03 (ROLabel is Undeclared)
> InstanceSpy>>example03 (ROMouseEnter is Undeclared)
> RTAbstractExample>>pressedBackButtonOn: (RTExampleBrowser is Undeclared)
> RTExampleBrowserGT>>open (GTInspector is Undeclared)
> RTSugiyamaLayout>>addDummyNodes (RODummyNode is Undeclared)
> RTSVGExporterExample>>exampleDependencyAnalyzerBuilder
> (RTDependencyAnalyzerBuilder is Undeclared)
> RTSVGExporterExample>>exampleWithDragAndDropHightlightPopup
> (RTDependencyAnalyzerBuilder is Undeclared)
> RTSunburstBuilderExamples>>basic12 (ROMondrianExample is Undeclared)
> Loaded -> Roassal2-akevalion.570 ---
> http://smalltalkhub.com/mc/ObjectProfile/Roassal2/main/ --- cache
>
> PPParser>>visualizeStructureInGraphOn: (ROLine is Undeclared)
> PPParser>>visualizeStructureInGraphOn: (ROArrow is Undeclared)
> PPParser>>visualizeStructureInGraphOn: (ROLayoutEnd is Undeclared)
> PPParser>>visualizeStructureInGraphOn: (ROFocusView is Undeclared)
> GLMParameterizableExamplesBrowser>>compose(browser is shadowed)
> GLMMagrittePersonExample>>descriptionAddress (MAStringDescription is
> Undeclared)
> GLMMagrittePersonExample>>descriptionName (MAStringDescription is
> Undeclared)
> Loaded -> CollectionExtensions-TudorGirba.40 ---
>
>
>
> --
> View this message in context: http://forum.world.st/Can-anyone-provide-me-with-clear-complete-and-detaileā¦
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
Oct. 30, 2014
Re: [Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?
by Richard Sargent
kurs.jan wrote
> Hi All,
>
> Sorry for a late reply, here is the latest status with PetitParser and
> Pharo (tested on Pharo3):
>
> "Configuration should be loaded like this:"
> Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
> configurationOf: #PetitParser; load.
>
> "Minimal set of parsers to use petit parser:"
> ConfigurationOfPetitParser project stableVersion load: 'Core'.
> ConfigurationOfPetitParser project stableVersion load: 'Tests'.
>
> "All the petit parser suite:"
> ConfigurationOfPetitParser loadDevelopment.
>
> Please, let me know if you have any issues/requirements.
Thank you, Jan! That worked perfectly.
I did notice a large number of warnings and errors in the Transcript. Many
of them we resolved later in the loading, just being load order
dependencies. But many of them appear to be genuine errors. Are they
expected?
The following is a distillation of the messages in the Transcript showing
these issues. Quite a number of them were resolved; I have annotated them
with "***Resolved by later load***" at the end of the line.
PPMemento>>position: (position is Undeclared)
PPMemento>>position (position is Undeclared)
PPMemoizedParser>>reset: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
PPMemoizedParser>>parseOn: (stream is Undeclared)
JavaParserTest>>createContext:(context is shadowed)
PPMemoizingIslandTest>>testMemo(context is shadowed)
PPSmalltalkParser>>buildMethod:(pragma is shadowed)
Loaded -> PetitParser-JanKurs.253 ---
http://smalltalkhub.com/mc/Moose/PetitParser/main/ --- cache
GLMBrowser>>close (GLMBrowserClosed is Undeclared) ***Resolved by later
load***
GLMCompositePresentation>>accumulator (GLMAccumulator is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>actionList (GLMActionListPresentation is
Undeclared) ***Resolved by later load***
GLMCompositePresentation>>diff (GLMDiffPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>dropDownList (GLMDropDownListPresentation is
Undeclared) ***Resolved by later load***
GLMCompositePresentation>>dynamic (GLMDynamicPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>finder (GLMFinder is Undeclared) ***Resolved by
later load***
GLMCompositePresentation>>list (GLMListPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>morph (GLMMorphPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>smalltalkCode (GLMSmalltalkCodePresentation is
Undeclared) ***Resolved by later load***
GLMCompositePresentation>>spec (GLMSpecPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>table (GLMTablePresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>tabulator (GLMTabulator is Undeclared) ***Resolved
by later load***
GLMCompositePresentation>>text (GLMTextPresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>tree (GLMTreePresentation is Undeclared)
***Resolved by later load***
GLMCompositePresentation>>wrapper (GLMWrapper is Undeclared) ***Resolved by
later load***
GLMPresentation>>windowIsClosing (GLMBrowserClosing is Undeclared)
***Resolved by later load***
Loaded -> Glamour-Core-TudorGirba.285 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
GLMSmalltalkCodePresentation>>defaultSelectionActions (GLMUIThemeExtraIcons
is Undeclared) ***Resolved by later load***
GLMSmalltalkCodePresentation>>defaultSelectionActions (GLMUIThemeExtraIcons
is Undeclared) ***Resolved by later load***
Loaded -> Glamour-Presentations-TudorGirba.165 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
GLMExamplesBrowser>>exampleIn: (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>browserWithToolbar (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>morphIcons (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>multipleActions (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>populatePortAction (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>roassalPainting (RTMondrianViewBuilder is Undeclared)
***Resolved by later load***
GLMBasicExamples>>simplePager (GLMPager is Undeclared) ***Resolved by later
load***
GLMBasicExamples>>smalltalkCode (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>smalltalkCode (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>tableWithIcons (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>tableWithIcons (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>tabsWithDifferentActions (GLMUIThemeExtraIcons is
Undeclared) ***Resolved by later load***
GLMBasicExamples>>tabsWithDifferentActions (GLMUIThemeExtraIcons is
Undeclared) ***Resolved by later load***
GLMBasicExamples>>tabsWithDifferentLabels (GLMUIThemeExtraIcons is
Undeclared) ***Resolved by later load***
GLMBasicExamples>>treeWithMenu (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>updateableBrowser (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>updateableBrowser (GLMUIThemeExtraIcons is Undeclared)
***Resolved by later load***
GLMBasicExamples>>updateableBrowser (GLMItemAdded is Undeclared) ***Resolved
by later load***
GLMBasicExamples>>updateableBrowser (GLMItemRemoved is Undeclared)
***Resolved by later load***
GLMBasicExamples>>validatingPresentation (GLMItemRemoved is Undeclared)
***Resolved by later load***
GLMBasicExamples>>validatingPresentation (GLMItemAdded is Undeclared)
***Resolved by later load***
GLMBasicExamples>>validatingPresentation (GLMUIThemeExtraIcons is
Undeclared) ***Resolved by later load***
GLMBasicExamples>>validatingPresentation (GLMUIThemeExtraIcons is
Undeclared) ***Resolved by later load***
Loaded -> Glamour-Examples-TudorGirba.288 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
GLMBrick class>>resizeImage:scale: (GLMForm is Undeclared) ***Resolved by
later load***
Loaded -> Glamour-Morphic-Brick-AliakseiSyrel.15 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
GLMBrowserTest>>testUpdateRecomputesMatchingPresentations
(GLMAnnouncingCollection is Undeclared) ***Resolved by later load***
Loaded -> Glamour-Tests-Core-AndreiChis.99 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
RubSegmentMorph>>containsPoint: (borderWidth is Undeclared)
RubSegmentMorph>>filledForm (borderColor is Undeclared)
RubSegmentMorph>>filledForm (borderColor is Undeclared)
RubSegmentMorph>>vertices:color:borderWidth:borderColor: (borderWidth is
Undeclared)
RubSegmentMorph>>vertices:color:borderWidth:borderColor: (borderColor is
Undeclared)
Loaded -> Rubric-AlainPlantec.137 ---
http://smalltalkhub.com/mc/AlainPlantec/Rubric/main/ --- cache
GLMExpanderContentsNodeModel>>elementColumn
(GLMMorphicPaneWithoutTitleRenderer is Undeclared) ***Resolved by later
load***
Loaded -> Glamour-Morphic-Widgets-AliakseiSyrel.150 ---
http://smalltalkhub.com/mc/Moose/Glamour/main/ --- cache
InstanceSpy>>example02 (ROMouseMove is Undeclared)
InstanceSpy>>example02 (ROMouseEnter is Undeclared)
InstanceSpy>>example02 (ROMouseLeave is Undeclared)
InstanceSpy>>example03 (ROElement is Undeclared)
InstanceSpy>>example03 (ROEdge is Undeclared)
InstanceSpy>>example03 (ROLabel is Undeclared)
InstanceSpy>>example03 (ROMouseEnter is Undeclared)
RTAbstractExample>>pressedBackButtonOn: (RTExampleBrowser is Undeclared)
RTExampleBrowserGT>>open (GTInspector is Undeclared)
RTSugiyamaLayout>>addDummyNodes (RODummyNode is Undeclared)
RTSVGExporterExample>>exampleDependencyAnalyzerBuilder
(RTDependencyAnalyzerBuilder is Undeclared)
RTSVGExporterExample>>exampleWithDragAndDropHightlightPopup
(RTDependencyAnalyzerBuilder is Undeclared)
RTSunburstBuilderExamples>>basic12 (ROMondrianExample is Undeclared)
Loaded -> Roassal2-akevalion.570 ---
http://smalltalkhub.com/mc/ObjectProfile/Roassal2/main/ --- cache
PPParser>>visualizeStructureInGraphOn: (ROLine is Undeclared)
PPParser>>visualizeStructureInGraphOn: (ROArrow is Undeclared)
PPParser>>visualizeStructureInGraphOn: (ROLayoutEnd is Undeclared)
PPParser>>visualizeStructureInGraphOn: (ROFocusView is Undeclared)
GLMParameterizableExamplesBrowser>>compose(browser is shadowed)
GLMMagrittePersonExample>>descriptionAddress (MAStringDescription is
Undeclared)
GLMMagrittePersonExample>>descriptionName (MAStringDescription is
Undeclared)
Loaded -> CollectionExtensions-TudorGirba.40 ---
--
View this message in context: http://forum.world.st/Can-anyone-provide-me-with-clear-complete-and-detaileā¦
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Oct. 30, 2014
Re: [Pharo-dev] Can anyone provide me with clear, complete, and detailed instructions for loading PetitParser into Pharo 3.0?
by Jan KurĆ
Ā”
Hi All,
Sorry for a late reply, here is the latest status with PetitParser and
Pharo (tested on Pharo3):
"Configuration should be loaded like this:"
Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
configurationOf: #PetitParser; load.
"Minimal set of parsers to use petit parser:"
ConfigurationOfPetitParser project stableVersion load: 'Core'.
ConfigurationOfPetitParser project stableVersion load: 'Tests'.
"All the petit parser suite:"
ConfigurationOfPetitParser loadDevelopment.
Please, let me know if you have any issues/requirements.
Regards,
Jan
On 27 October 2014 19:24, Richard Sargent <
richard.sargent(a)gemtalksystems.com> wrote:
> Paul DeBruicker wrote
> > If ConfigurationOfPetitParser is loaded in your image you should be able
> > run the following code in a workspace to load the 'Core' metacello group:
> >
> > ConfigurationOfPetitParser project stableVersion load: 'Core'
> >
> >
> > I'm not sure of the canonical location of the ConfigurationOfPetitParser
> > though, as I don't use it,.
>
> Thanks, Paul. The Configuration Browser is pre-configured with three
> repository locations. I was able to find PetitParser (TudorGirba.43) on the
> ss3 repository. Loading Core alone worked.
>
> That still leaves the question of loading the PetitParser UI stuff and its
> prerequisites.
>
>
>
>
> --
> View this message in context:
> http://forum.world.st/Can-anyone-provide-me-with-clear-complete-and-detaileā¦
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
>
>
Oct. 30, 2014
Re: [Pharo-dev] unexpected merge conflict
by Marcus Denker
> On 30 Oct 2014, at 13:59, Andrei Chis <chisvasileandrei(a)gmail.com> wrote:
>
>
>
> On Thu, Oct 30, 2014 at 3:47 AM, Marcus Denker <marcus.denker(a)inria.fr <mailto:marcus.denker@inria.fr>> wrote:
>
> > On 29 Oct 2014, at 23:35, Andrei Chis <chisvasileandrei(a)gmail.com <mailto:chisvasileandrei@gmail.com>> wrote:
> >
> > Hi,
> >
> > In a fresh Pharo 4 image I want to merge a package (Glamour-Presentations) but I get a merge conflict.
> >
> > Nevertheless, the package from the image has no changes and the package cache is empty. Shouldn't there be no merge conflict in this case?
> >
>
> I think we do not have the repositories defined correctly for these packages.
> (or alternatively, the current packages need to be in the pharo repo which is not the case).
>
> Hmm... Now it's behaving even more strangely.
> When I try to manually merge I sometimes get/don't get the merge conflict.
> However, when I load that package through a configuration I always get a warning that I have a merge conflict.
>
> (ConfigurationOfGTPlaygroundCore project version: '2.0.0') load
>
> It' strange because it only happens for one method, while this version of GTools has a lot of other changes.
>
There was a huge refactoring reated to menus that might have touched that one methodâ¦
Marcus
Oct. 30, 2014
Re: [Pharo-dev] unexpected merge conflict
by Andrei Chis
On Thu, Oct 30, 2014 at 3:47 AM, Marcus Denker <marcus.denker(a)inria.fr>
wrote:
>
> > On 29 Oct 2014, at 23:35, Andrei Chis <chisvasileandrei(a)gmail.com>
> wrote:
> >
> > Hi,
> >
> > In a fresh Pharo 4 image I want to merge a package
> (Glamour-Presentations) but I get a merge conflict.
> >
> > Nevertheless, the package from the image has no changes and the package
> cache is empty. Shouldn't there be no merge conflict in this case?
> >
>
> I think we do not have the repositories defined correctly for these
> packages.
> (or alternatively, the current packages need to be in the pharo repo which
> is not the case).
>
Hmm... Now it's behaving even more strangely.
When I try to manually merge I sometimes get/don't get the merge conflict.
However, when I load that package through a configuration I always get a
warning that I have a merge conflict.
(ConfigurationOfGTPlaygroundCore project version: '2.0.0') load
It' strange because it only happens for one method, while this version of
GTools has a lot of other changes.
>
> Marcus
>
>
>
Oct. 30, 2014
[pharo-project/pharo-core] 8374a2: 40340
by GitHub
Branch: refs/heads/4.0
Home: https://github.com/pharo-project/pharo-core
Commit: 8374a209a81280927d47d95cd77c09894a2bb04d
https://github.com/pharo-project/pharo-core/commit/8374a209a81280927d47d95cā¦
Author: Jenkins Build Server <board(a)pharo-project.org>
Date: 2014-10-30 (Thu, 30 Oct 2014)
Changed paths:
M SUnit-UI.package/TestRunner.class/instance/initialization/initialize.st
A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script340.st
A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40340.st
M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
M Slot.package/ClassModification.class/definition.st
R Slot.package/ClassModification.class/instance/accessing/subclassSlotOffset.st
M Slot.package/ClassModification.class/instance/testing/modifiesClassVariables.st
Log Message:
-----------
40340
14351 cleanup ClassModification: remove unused ivars
https://pharo.fogbugz.com/f/cases/14351
14350 Replace Announcer>>#on:send:to:s senders in SUnit-UI
https://pharo.fogbugz.com/f/cases/14350
http://files.pharo.org/image/40/40340.zip
Oct. 30, 2014
[pharo-project/pharo-core]
by GitHub
Branch: refs/tags/40340
Home: https://github.com/pharo-project/pharo-core
Oct. 30, 2014
Re: [Pharo-dev] Super fast delay
by Norbert Hartl
> Am 30.10.2014 um 12:52 schrieb Ben Coman <btc(a)openinworld.com>:
>
> Eliot Miranda wrote:
>> On Wed, Oct 29, 2014 at 12:14 PM, Ben Coman <btc(a)openinworld.com <mailto:btc@openinworld.com>> wrote:
>> Holger Hans Peter Freyther wrote:
>> On Wed, Oct 29, 2014 at 06:54:57PM +0100, Holger Hans Peter
>> Freyther wrote:
>> On Wed, Oct 29, 2014 at 10:03:03AM +0100, Norbert Hartl wrote:
>> Good Evening,
>> Hi again,
>> I don't know how you debug startUp issues. I just added an
>> OrderedCollection
>> into the systemdictionary and use it as a log..
>> time ./bin/pharo --nodisplay ./TimerTest3.image eval "(Delay
>> forSeconds: 3) wait. (Smalltalk at: #Foo) do: [:each |
>> FileStream stderr nextPutAll: each printString; cr].1"
>> ... old events from saving the image...
>> {#handleTimerEvent->7147}
>> {#handleTimerEvent->7167}
>> {#resumptionTime->7187}
>> {#handleTimerEvent->7167}
>> {#handleTimerEvent->7187}
>> {#start->true}
>> {#start->393102159}
>> {#start->393102159}
>> {#resumptionTime->3279}
>> {#handleTimerEvent->279}
>> {#adjustResum->-393098880}
>> {#restoreWithActiveDelay->266}
>> {#adjustResum->-393098601}
>> 1
>> real 0m0.294s
>> user 0m0.244s
>> sys 0m0.048s
>> So what happens is Delay class>>#startU is called. and
>> ActiveDelayStartTime is being set to 393102159. Then the
>> delay is being created and resumptionTime is set to 3279.
>> At the first time handleTimerEvent runs the milliSecondClock
>> jumped backwards from 393102159 to 3279 which leads to
>> an adjustment of the time.
>> a.) Why does the time jump backwards like this during the
>> resumption of the image? "3279" is not the old time nor
>> the new starting time.
>> b.) So even if that is a "wrap" around. Why does it go
>> wrong? Are there unit tests for the clock wraps around?
>> There are no unit tests, I guess since its all done using class
>> variables its too hard test without disturbing the system.
>> Now I have spent the last week refactoring this out to the
>> instance-side of a new class "DelayScheduler" which should help with
>> getting unit tests. Its ready for review [1], maybe you could take
>> a look.
>> [1] https://pharo.fogbugz.com/__default.asp?14261
>> <https://pharo.fogbugz.com/default.asp?14261>
>> Maybe it is the same reason delays just don't work after
>> image resumption?
>> The "first" issue appears that when start is being executed
>> that the clock is still wrong. At the same the clock is
>> being considered wrapped the resumption time was actually
>> already "correct' (3279 instead of 393102159+3279).
>> Does this ring a bell?
>> holger
>> btw, its too late in the night for me to try something, but I have
>> been wondering, should the check for clock roll-over occur
>> immediately after
>> TimingSemaphore wait
>> wakes up. That is, before the Schedule and Finish requests are
>> handled ???
>> The check for rollover should be thrown away and the system implemented over the VM's support for 64-bit microseconds since 1901. It's in the VM, it isn't susceptible to rollover for ~ 50,000 years, and doesn't require the millisecond clock to be synced to the second clock, because all times can be derived from the one 64-bit microsecond clock.
>> --
>> best,
>> Eliot
>
> I'll give it a go.
> cheers -ben
>
Super, thanks in advance,
Norbert
Oct. 30, 2014
Re: [Pharo-dev] Super fast delay
by Ben Coman
Eliot Miranda wrote:
>
>
> On Wed, Oct 29, 2014 at 12:14 PM, Ben Coman <btc(a)openinworld.com
> <mailto:btc@openinworld.com>> wrote:
>
> Holger Hans Peter Freyther wrote:
>
> On Wed, Oct 29, 2014 at 06:54:57PM +0100, Holger Hans Peter
> Freyther wrote:
>
> On Wed, Oct 29, 2014 at 10:03:03AM +0100, Norbert Hartl wrote:
>
> Good Evening,
>
>
> Hi again,
>
> I don't know how you debug startUp issues. I just added an
> OrderedCollection
> into the systemdictionary and use it as a log..
>
> time ./bin/pharo --nodisplay ./TimerTest3.image eval "(Delay
> forSeconds: 3) wait. (Smalltalk at: #Foo) do: [:each |
> FileStream stderr nextPutAll: each printString; cr].1"
> ... old events from saving the image...
> {#handleTimerEvent->7147}
> {#handleTimerEvent->7167}
> {#resumptionTime->7187}
> {#handleTimerEvent->7167}
> {#handleTimerEvent->7187}
> {#start->true}
> {#start->393102159}
> {#start->393102159}
> {#resumptionTime->3279}
> {#handleTimerEvent->279}
> {#adjustResum->-393098880}
> {#restoreWithActiveDelay->266}
> {#adjustResum->-393098601}
> 1
>
> real 0m0.294s
> user 0m0.244s
> sys 0m0.048s
>
>
> So what happens is Delay class>>#startU is called. and
> ActiveDelayStartTime is being set to 393102159. Then the
> delay is being created and resumptionTime is set to 3279.
> At the first time handleTimerEvent runs the milliSecondClock
> jumped backwards from 393102159 to 3279 which leads to
> an adjustment of the time.
>
>
> a.) Why does the time jump backwards like this during the
> resumption of the image? "3279" is not the old time nor
> the new starting time.
>
> b.) So even if that is a "wrap" around. Why does it go
> wrong? Are there unit tests for the clock wraps around?
>
>
> There are no unit tests, I guess since its all done using class
> variables its too hard test without disturbing the system.
>
> Now I have spent the last week refactoring this out to the
> instance-side of a new class "DelayScheduler" which should help with
> getting unit tests. Its ready for review [1], maybe you could take
> a look.
>
> [1] https://pharo.fogbugz.com/__default.asp?14261
> <https://pharo.fogbugz.com/default.asp?14261>
>
> Maybe it is the same reason delays just don't work after
> image resumption?
>
> The "first" issue appears that when start is being executed
> that the clock is still wrong. At the same the clock is
> being considered wrapped the resumption time was actually
> already "correct' (3279 instead of 393102159+3279).
>
> Does this ring a bell?
>
> holger
>
>
>
> btw, its too late in the night for me to try something, but I have
> been wondering, should the check for clock roll-over occur
> immediately after
> TimingSemaphore wait
> wakes up. That is, before the Schedule and Finish requests are
> handled ???
>
>
> The check for rollover should be thrown away and the system implemented
> over the VM's support for 64-bit microseconds since 1901. It's in the
> VM, it isn't susceptible to rollover for ~ 50,000 years, and doesn't
> require the millisecond clock to be synced to the second clock, because
> all times can be derived from the one 64-bit microsecond clock.
>
> --
> best,
> Eliot
I'll give it a go.
cheers -ben
Oct. 30, 2014