Brice GOVIN | 30 Aug 17:21 2015

allChildren raise error when don't have read permission

Hi,
I was playing a bit with the FileSystem to get all files on my computer (FileSystem root allChildren) and I had the error “DirectoryDoesNotExist” for a directory that actually exists but i don’t have the read permission.
I am not sure wether I’m not using the right method for what I want or this method should not do that?

Is there another method that can gives me all files of my computer?

Regards,

--------------
Brice Govin 
PhD student in RMoD research team at INRIA Lille 
Software Engineer at THALES AIR SYSTEMS Rungis
ENSTA-Bretagne ENSI2014
64 chemin des boeufs 91220 PALAISEAU

Nicolai Hess | 30 Aug 16:09 2015

fixed: ready to review

16267 Fasttable isn't visible in athens (in bloc)

2015-08-29 18:54 GMT+02:00 Tudor Girba <tudor-49T7vwAQlU/CX7Tz6oRo6w@public.gmane.org>:
FastTable does not work in Bloc. You have to disable it from the Settings to work with Nautilus.

Cheers,
Doru

On Sat, Aug 29, 2015 at 5:31 PM, Alexandre Bergel <alexandre.bergel-BUHhN+a2lJ4@public.gmane.org> wrote:
Apparently there is a serious problem with the list and FTTableContainer.

I took a Moose 6 and did:
Gofer it
    smalltalkhubUser: 'Pharo' project: 'Bloc';
    configurationOf: 'Bloc';
    loadBleedingEdge.

Gofer it
    smalltalkhubUser: 'Pharo' project: 'Brick';
    configurationOf: 'Brick';
    loadBleedingEdge.

I do not see the classes when I select a package. A second try opens many debuggers :-(

How the build is done by the way?

Cheers,
Alexandre

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



_______________________________________________
Moose-dev mailing list
Moose-dev <at> iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
Moose-dev-2EmivuzZTYAXXHkOk0aIfQ@public.gmane.org
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


Marcus Denker | 30 Aug 10:27 2015
Picon
Picon

[Experiment] Automatic rewriting of sends to deprecated methods

Hi,

Small experiment:

1) add this method to Object:

deprecated: anExplanationString rule: aRule
	| builder ast rewriteRule method |
	builder := RBCompositeRefactoryChange named: 'deprecation'.
	method := thisContext sender sender method.
	ast := method ast copy. 
	rewriteRule := RBParseTreeRewriter new replace: aRule key with: aRule value.

	(rewriteRule executeTree: ast) ifTrue: [ 
	 builder compile: rewriteRule tree formattedCode in: method methodClass classified: method protocol ].
	builder execute.

2) to see it in action, add it to #ifNotNilDo:  in UndefinedObject:

ifNotNilDo: aBlock
	"Please use #ifNotNil: instead"
	self 
		deprecated: 'Please use #ifNotNil: instead' 
		rule: '` <at> receiver ifNotNilDo: ` <at> statements'->  '` <at> receiver ifNotNil: ` <at> statements'.
	^ self

—> open a browser and see how it fixes code magically.

The only problem is that it does a whole-method refactoring while it should only affect the node
that triggered the deprecation. Else there could be wrong transformations if the same selector
is used but only one of the implementations need to be rewritten, while if we are able to rewrite
the exact sender, we can do it fully automatically.

	Marcus

GitHub | 30 Aug 09:14 2015

[pharo-project/pharo-core]

  Branch: refs/tags/50288
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 30 Aug 09:14 2015

[pharo-project/pharo-core] e9dc91: 50288

  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: e9dc91e2a02254e383983637de6cf1d1009770ea
      https://github.com/pharo-project/pharo-core/commit/e9dc91e2a02254e383983637de6cf1d1009770ea
  Author: Jenkins Build Server <board@...>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M AST-Core.package/NumberParser.class/instance/parsing-large int/nextElementaryLargeIntegerBase_.st
    M AST-Core.package/RBParser.class/instance/private/patchLiteralMessage.st
    M BaselineOfQualityAssistant.package/BaselineOfQualityAssistant.class/instance/api projectSpec/baseline_.st
    M
ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/symbolic versions/development_.st
    M
ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/symbolic versions/stable_.st
    R ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/versions/pre1%5F4%5F0_.st
    A ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/versions/pre1%5F5%5F0_.st
    A ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/versions/v1%5F4%5F0_.st
    A ConfigurationOfQualityAssistant.package/ConfigurationOfQualityAssistant.class/instance/versions/v1%5F4%5F1_.st
    M ConfigurationOfRenraku.package/ConfigurationOfRenraku.class/instance/symbolic versions/development_.st
    M ConfigurationOfRenraku.package/ConfigurationOfRenraku.class/instance/symbolic versions/stable_.st
    R ConfigurationOfRenraku.package/ConfigurationOfRenraku.class/instance/versions/pre0%5F6%5F0_.st
    A ConfigurationOfRenraku.package/ConfigurationOfRenraku.class/instance/versions/pre0%5F7%5F0_.st
    A ConfigurationOfRenraku.package/ConfigurationOfRenraku.class/instance/versions/v0%5F6%5F0_.st
    M OpalCompiler-Core.package/extension/RBMessageNode/instance/isInlineIf.st
    R OpalCompiler-Tests.package/OCCompilerNotifyingTest.class/instance/testing-block arguments/testifTrueBlockWithArgument.st
    A QualityAssistant.package/QACriticsSeen.class/README.md
    A QualityAssistant.package/QACriticsSeen.class/definition.st
    A QualityAssistant.package/QAInitiateCriticBan.class/README.md
    A QualityAssistant.package/QAInitiateCriticBan.class/definition.st
    A QualityAssistant.package/QANautilusPlugin.class/instance/announcement handling/criticBanned_.st
    M QualityAssistant.package/QANautilusPlugin.class/instance/registration/registerTo_.st
    M QualityAssistant.package/QANautilusPluginMorph.class/instance/actions/fixAutomatically_.st
    R QualityAssistant.package/QANautilusPluginMorph.class/instance/confirmation-dialog/buildConfirmationCheckbox_.st
    R QualityAssistant.package/QANautilusPluginMorph.class/instance/confirmation-dialog/buildConfirmationHeader_.st
    R QualityAssistant.package/QANautilusPluginMorph.class/instance/confirmation-dialog/buildConfirmationMessage_.st
    M QualityAssistant.package/QANautilusPluginMorph.class/instance/list-morph/getCritics.st
    A QualityAssistant.package/QAViewedDiff.class/README.md
    A QualityAssistant.package/QAViewedDiff.class/definition.st
    A QualityAssistant.package/extension/CompiledMethod/instance/guidedBan_.st
    R QualityAssistant.package/extension/CompiledMethod/instance/guidedSkip_.st
    M QualityAssistant.package/extension/ReCritic/instance/guidedSkip.st
    A QualityAssistant.package/extension/ReEngine/instance/notifyBanInitiatedFor_of_.st
    A QualityAssistant.package/extension/ReEngine/instance/notifyCriticsSeen_of_.st
    A QualityAssistant.package/extension/ReEngine/instance/notifyViewedDiffFor_of_.st
    A QualityAssistant.package/extension/TBehavior/instance/guidedBan_.st
    M QualityAssistant.package/extension/TBehavior/instance/guidedSkip_.st
    A Renraku-Test.package/ReCriticTest.class/instance/tests/testBan.st
    A Renraku-Test.package/ReCriticTest.class/instance/tests/testBan1.st
    R Renraku-Test.package/ReCriticTest.class/instance/tests/testSkip.st
    R Renraku-Test.package/ReCriticTest.class/instance/tests/testSkip1.st
    A Renraku-Test.package/RenrakuTest.class/instance/tests/testBan.st
    A Renraku-Test.package/RenrakuTest.class/instance/tests/testBan1.st
    A Renraku-Test.package/RenrakuTest.class/instance/tests/testBan2.st
    R Renraku-Test.package/RenrakuTest.class/instance/tests/testSkip.st
    R Renraku-Test.package/RenrakuTest.class/instance/tests/testSkip1.st
    R Renraku-Test.package/RenrakuTest.class/instance/tests/testSkip2.st
    A Renraku.package/ReCritic.class/instance/actions/ban.st
    M Renraku.package/ReCritic.class/instance/actions/fixAutomatically.st
    R Renraku.package/ReCritic.class/instance/actions/skip.st
    A Renraku.package/ReCriticAutofixed.class/README.md
    A Renraku.package/ReCriticAutofixed.class/definition.st
    A Renraku.package/ReCriticBanned.class/README.md
    A Renraku.package/ReCriticBanned.class/definition.st
    A Renraku.package/ReCriticBanned.class/instance/accessing/entityBanLevel.st
    A Renraku.package/ReCriticBanned.class/instance/accessing/entityBanLevel_.st
    A Renraku.package/ReCriticEvent.class/README.md
    A Renraku.package/ReCriticEvent.class/definition.st
    A Renraku.package/ReCriticEvent.class/instance/accessing/entity.st
    A Renraku.package/ReCriticEvent.class/instance/accessing/entity_.st
    M Renraku.package/ReEngine.class/README.md
    M Renraku.package/ReEngine.class/definition.st
    A Renraku.package/ReEngine.class/instance/accessing/announcer.st
    A Renraku.package/ReEngine.class/instance/announce/announce_.st
    A Renraku.package/ReEngine.class/instance/announce/notifyCritic_AutoFixedFor_.st
    A Renraku.package/ReEngine.class/instance/announce/notifyCritic_of_BannedOn_.st
    A Renraku.package/ReEngine.class/instance/announce/notifyEntity_CriticizedWith_.st
    A Renraku.package/ReEntityCriticized.class/README.md
    A Renraku.package/ReEntityCriticized.class/definition.st
    A Renraku.package/ReMultipleCriticsEvent.class/README.md
    A Renraku.package/ReMultipleCriticsEvent.class/definition.st
    A Renraku.package/ReMultipleCriticsEvent.class/instance/accessing/critics.st
    A Renraku.package/ReMultipleCriticsEvent.class/instance/accessing/critics_.st
    A Renraku.package/ReSingleCriticEvent.class/README.md
    A Renraku.package/ReSingleCriticEvent.class/definition.st
    A Renraku.package/ReSingleCriticEvent.class/instance/accessing/critic.st
    A Renraku.package/ReSingleCriticEvent.class/instance/accessing/critic_.st
    A Renraku.package/extension/CompiledMethod/instance/ban_.st
    M Renraku.package/extension/CompiledMethod/instance/critics.st
    R Renraku.package/extension/CompiledMethod/instance/skip_.st
    A Renraku.package/extension/TBehavior/instance/ban_.st
    M Renraku.package/extension/TBehavior/instance/critics.st
    R Renraku.package/extension/TBehavior/instance/skip_.st
    A Renraku.package/extension/TheManifestBuilder/instance/banRule_for_.st
    A Renraku.package/extension/TheManifestBuilder/instance/bansRule_for_.st
    R Renraku.package/extension/TheManifestBuilder/instance/skipRule_for_.st
    R Renraku.package/extension/TheManifestBuilder/instance/skipsRule_for_.st
    M Ring-Core-Kernel.package/RGMethodDefinition.class/instance/source pointers/sourcePointer.st
    M Ring-Tests-Kernel.package/RGMethodDefinitionTest.class/instance/testing/testAsActive.st
    M Ring-Tests-Kernel.package/RGMethodDefinitionTest.class/instance/testing/testExistingMethodWithPointer.st
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50287.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50288.st
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50287.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50288.st
    M ScriptLoader50.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st

  Log Message:
  -----------
  50288
16431 Announcements with QualityAssistant
	https://pharo.fogbugz.com/f/cases/16431

16417 instant Syntax Error Notification
	https://pharo.fogbugz.com/f/cases/16417

16423 Replace == nil with isNil in AST-Core
	https://pharo.fogbugz.com/f/cases/16423

16419 nil sourcePointer on Active Ring methods
	https://pharo.fogbugz.com/f/cases/16419

http://files.pharo.org/image/50/50288.zip

Peter Uhnák | 29 Aug 16:24 2015
Picon

Combining Brick, Bloc, Glamour and Morphic

Hi,

is it possible to combine Glamour bricks with the new Bricks?

Namely I am looking for text field input and select box (drop box).

There is GLMRubTextFieldBrick or RubTextFieldMorph
however the GLM* seems to require some kind of special themer, and regular morphs fail on #isBrickedBloc (I also tried asBrick, however that returns GLMMorphBrick which also doesn't respond to #isBrickedBloc).

So is it possible to combine it somehow, or do I have to wait until all the basic widgets are written in Bloc/Brick?

Thanks,
Peter
stepharo | 29 Aug 16:04 2015
Picon

About videos, youtube and our future mooc

Hi guys

1 Pharo Starter Kit
----------------
We started to work on a Pharo Starter Kit distribution (to be announced 
soon) containing
     - all our new lecture support (revisited lectures)
     - the books
     - vm/images
     - videos
     - ...

     All the material will be used for the Pharo Mooc we are working on

     http://sdmeta.gforge.inria.fr/StarterKitCache/

Point 1: If you have suggestions please let us know.

YouTube Collection
----------------
I also started to collect youtube videos to put on the starter kit.

You can find a first collection at
                 http://sdmeta.gforge.inria.fr/Videos/YouTubeVideos/

If you know a cool video that you think should be added to this 
collection let me know.

3 Future nice videos
-----------------
Now for the Mooc we would like to have a special ressources where each week
we let the students watch cool videos on cool external projects.
- We will propose a kind of template such as 3 min max, a title, email, 
project

If you have idea start to think about it.

Stef

Peter Uhnák | 29 Aug 12:32 2015
Picon

Unresponsive Bloc/Brick UI

Hi,

I've been playing with the latest Brick tools, however after about a minute or two the UI always becomes completely unresponsive. I cannot move anything nor do anything. If I press <cmd>+<dot>
this shows in my terminal... but the UI is still unresponsive.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
User Interrupt
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMorphicCompatibleBlocSpace(BlBlocSpace)>>handleEvent:
BlMorphicCompatibleBlocSpace(BlBlocSpace)>>sendEventToSpace:
BlMorphicEventListenerRecord(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMouseButtonOutsideEventListener(BlEventListener)>>privateRemoveEventListener:fromOwner:previousInChain:
BlMorphicCompatibleBlocSpace(BlBlocSpace)>>removeEventListener:
[ :sp | sp removeEventListener: self ] in BlMorphicEventListenerRecord(BlGlobalEventListener)>>unplug in Block: [ :sp | sp removeEventListener: self ]
BlockClosure>>cull:
BlMorphicEventListenerRecord(BlGlobalEventListener)>>spaceDo:
BlMorphicEventListenerRecord(BlGlobalEventListener)>>unplug
BlMorphicEventListenerRecord>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent:
BlMouseButtonOutsideEventListener(BlEventListener)>>handleEvent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Anyone has any idea? This is the original image I've been playing with https://drive.google.com/file/d/0B-bMBVDOi3oTdll3dGJValVIenc/view

Thanks,
Peter
GitHub | 28 Aug 17:06 2015

[pharo-project/pharo-core]

  Branch: refs/tags/50287
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 28 Aug 17:06 2015

[pharo-project/pharo-core] 72a419: 50287

  Branch: refs/heads/5.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 72a419d7da8ac1f43c0b8a7923662bfcc0c97b60
      https://github.com/pharo-project/pharo-core/commit/72a419d7da8ac1f43c0b8a7923662bfcc0c97b60
  Author: Jenkins Build Server <board@...>
  Date:   2015-08-28 (Fri, 28 Aug 2015)

  Changed paths:
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50286.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - scripts/script50287.st
    R ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50286.st
    A ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50287.st
    M ScriptLoader50.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    M System-Support.package/Model.class/definition.st
    A System-Support.package/Model.class/instance/as yet unclassified/announcer.st

  Log Message:
  -----------
  50287
16410 Add announceur (and not announcer) to Model
	https://pharo.fogbugz.com/f/cases/16410

http://files.pharo.org/image/50/50287.zip

GitHub | 28 Aug 15:38 2015

[pharo-project/pharo-core]

  Branch: refs/tags/40620
  Home:   https://github.com/pharo-project/pharo-core

Gmane