sheridan | 5 Mar 22:20 2015

SUnit testing questions - class side methods and methods defined in private protocols

Hi all,

in SUnit do we typically test methods found on the class side that are in "instance creation" and "class initialization" protocols? 

Also, do we test methods found on the instance side but in the protocol of private?

Many thanks,

Sheridan

Maximiliano Taborda | 5 Mar 20:38 2015
Picon

Pharo-Launcher - settings change are missed

Hi people,
I think I have a problem with pharo-launcher. Today I installed pharo for ubuntu, from ppa, and I want to change some of the settings.
But, when I change the settings (and press enter) and then close the launcher and open it again, the settings appear again with defaults values (the changes I made are missed). What I'm doing wrong?

Thanks! Regards,
Maxi

Marcus Denker | 5 Mar 18:20 2015
Picon
Picon

[Pharo4][Slots] Small progress of the day: Example 1st class Globals

Hi,

The Slots project contains not only Slots, but in addition “First class” Globals, too,

Pharo4 now contains an example:

ExampleClassVariable, this class defines the ivar (slot) “state”.

read
	^state

write:	 anObject
	state := anObject
	 
we can create a class defining a class var like that:

Object subclass: #TT
	slots: {  }
	classVariables: { #ClassVar => ExampleClassVariable }
	category: ‘PlayGround'

Like with slots, the variable reads and write generate code to call the reflective
read and write methods:

21 <20> pushConstant: ##ClassVar
22 <D1> send: read
23 <7C> returnTop

and the write:

21 <10> pushTemp: 0
22 <69> popIntoTemp: 1
23 <20> pushConstant: ##ClassVar
24 <11> pushTemp: 1
25 <E1> send: write:
26 <87> pop
27 <78> returnSelf

Full list of changes:

- cleanup: moving all Reflectivity related code from Slot package to Reflectivity package
- fix code generation to not use Object>>#writeToGlobal: but instead the idea with the temp as seen above
- add example for Class Variable

	Marcus

GitHub | 5 Mar 16:43 2015

[pharo-project/pharo-core] 01d69a: 40537

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: 01d69a12d5a45bd7ff67b839af8a42e5d314fa24
      https://github.com/pharo-project/pharo-core/commit/01d69a12d5a45bd7ff67b839af8a42e5d314fa24
  Author: Jenkins Build Server <board@...>
  Date:   2015-03-05 (Thu, 05 Mar 2015)

  Changed paths:
    R Collections-Strings.package/String.class/instance/converting/convertFromEncoding_.st
    R Collections-Strings.package/String.class/instance/converting/convertFromWithConverter_.st
    R Collections-Strings.package/String.class/instance/converting/convertToEncoding_.st
    R Collections-Strings.package/String.class/instance/converting/convertToWithConverter_.st
    R Collections-Unordered.package/Dictionary.class/instance/kernel/declareVariable_from_.st
    M Morphic-Widgets-Extra.package/DockingBarMorph.class/instance/construction/add_icon_help_subMenu_.st
    M Morphic-Widgets-Extra.package/DockingBarMorph.class/instance/construction/add_icon_subMenu_.st
    A Multilingual-TextConversion.package/extension/String/instance/convertFromEncoding_.st
    A Multilingual-TextConversion.package/extension/String/instance/convertFromWithConverter_.st
    A Multilingual-TextConversion.package/extension/String/instance/convertToEncoding_.st
    A Multilingual-TextConversion.package/extension/String/instance/convertToWithConverter_.st
    R ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script536.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script537.st
    R ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40536.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40537.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    A Slot.package/extension/Dictionary/instance/declareVariable_from_.st

  Log Message:
  -----------
  40537
15050 Move Text conversion methods to Text Converter package
	https://pharo.fogbugz.com/f/cases/15050

15069 endless recursion in DockingBarMorph add:icon:subMenu:
	https://pharo.fogbugz.com/f/cases/15069

15053 Moved dependency Dictionary -> Slot to slot package
	https://pharo.fogbugz.com/f/cases/15053

http://files.pharo.org/image/40/40537.zip

GitHub | 5 Mar 16:43 2015

[pharo-project/pharo-core]

  Branch: refs/tags/40537
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 5 Mar 16:05 2015

[pharo-project/pharo-core]

  Branch: refs/tags/40536
  Home:   https://github.com/pharo-project/pharo-core
GitHub | 5 Mar 16:05 2015

[pharo-project/pharo-core] c567de: 40536

  Branch: refs/heads/4.0
  Home:   https://github.com/pharo-project/pharo-core
  Commit: c567dea7612da1ffd792552b623f11656c8c52d6
      https://github.com/pharo-project/pharo-core/commit/c567dea7612da1ffd792552b623f11656c8c52d6
  Author: Jenkins Build Server <board@...>
  Date:   2015-03-05 (Thu, 05 Mar 2015)

  Changed paths:
    R Kernel.package/Object.class/instance/introspection/writeToGlobal_.st
    M SUnit-Tests.package/SUnitExtensionsTest.class/instance/test/testAutoAssertFalse.st
    M SUnit-Tests.package/SUnitExtensionsTest.class/instance/test/testAutoDenyFalse.st
    R ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script535.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - scripts/script536.st
    R ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40535.st
    A ScriptLoader40.package/ScriptLoader.class/instance/pharo - updates/update40536.st
    M ScriptLoader40.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
    A Slot.package/ExampleClassVariable.class/README.md
    A Slot.package/ExampleClassVariable.class/definition.st
    A Slot.package/ExampleClassVariable.class/instance/as yet unclassified/read.st
    A Slot.package/ExampleClassVariable.class/instance/as yet unclassified/write_.st
    M Slot.package/LiteralVariable.class/instance/code generation/emitStore_.st
    M Versionner-Spec-Browser.package/VersionnerProjectBrowser.class/instance/initialization/initializeWidgets.st
    M Versionner-Spec-Browser.package/VersionnerProjectBrowser.class/instance/refreshing/update.st
    M Versionner-Spec-Browser.package/VersionnerProjectPackagesPanel.class/instance/initialization/initializeWidgets.st
    M Versionner-Spec-Browser.package/VersionnerProjectPanel.class/instance/initialization/initializeWidgets.st
    M Versionner-Spec-Browser.package/VersionnerReleasePanel.class/instance/initialization/initializeWidgets.st

  Log Message:
  -----------
  40536
15065 Versionner should use #label: instead of deprecated #text:
	https://pharo.fogbugz.com/f/cases/15065

15063 Replace senders of String>>#subStrings in SUnit-Tests
	https://pharo.fogbugz.com/f/cases/15063

15062 remove writeToGlobal:
	https://pharo.fogbugz.com/f/cases/15062

http://files.pharo.org/image/40/40536.zip

stepharo | 5 Mar 15:42 2015
Picon

Research Groups

Hello guys

I started to collect all the research groups using Pharo. If you are not 
part of the group or if your affiliation / web page
is not correct let me know

     http://pharo.org/ResearchGroups

Stef

Ben Coman | 5 Mar 13:31 2015

PharoLauncher fails to download build 40536

I just noticed that build 40536 doesn't download using PharoLauncher.  It returns too quickly with the error "Error: can't find EOCD position".  Build 40535 downloads fine.
cheers -ben
Nicolai Hess | 5 Mar 10:29 2015
Picon

Validation failur ZnImageExampleDelegateTests>>#testDefaultImage

Anyone has an idea why this test fails so often?

In
ZnImageExampleDelegateTests>>withServerDo: block
we use
    ZnServer on: 1700 + 32 atRandom.

I don't know if this is related to the validation failure, but
the randomly generated portnumber makes it hard get reliable results.



nicolai
Marcus Denker | 5 Mar 10:27 2015
Picon
Picon

DNS change files.pharo.org

Hello,

We will switch the DNS entry from an A type to a CNAME that points to a different server (for caching) 
this afternoon at 1pm local time.

It should all continue to work (and hopefully faster)

	Marcus


Gmane