[Pharo-users] Tiling Window Manager in 3.0: working but still issues with WorldMorph

2014-03-08 Thread p...@highoctane.be
TWM works in 3.0 after some work on icons and updating menus.

Gofer new
smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager';
configuration;
load.

((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: '3.0')
load

You can also use

((Smalltalk at:#ConfigurationOfTilingWindowManager) project version:
#development) load

but this will for sure change over time.

There is the World management icon which is still there and it looks like
it can create worlds but switching between them just breaks havoc.

Maybe should we just remove that feature from TWM as 3.0 doesn't seem to be
multiworld friendly.

Nothing done on tests nor themeing (which appears to be not that working
well in 3.0 either due to theming changes);

At least the thing is back :-) [I missed it...]

Phil


Re: [Pharo-users] Tiling Window Manager in 3.0: working but still issues with WorldMorph

2014-03-08 Thread p...@highoctane.be
And the keybindings are also kind of not working either.

Help welcome.

Phil

On Sat, Mar 8, 2014 at 11:57 AM, p...@highoctane.be wrote:

> TWM works in 3.0 after some work on icons and updating menus.
>
> Gofer new
> smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager';
> configuration;
> load.
>
> ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version:
> '3.0') load
>
> You can also use
>
> ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version:
> #development) load
>
> but this will for sure change over time.
>
> There is the World management icon which is still there and it looks like
> it can create worlds but switching between them just breaks havoc.
>
> Maybe should we just remove that feature from TWM as 3.0 doesn't seem to
> be multiworld friendly.
>
> Nothing done on tests nor themeing (which appears to be not that working
> well in 3.0 either due to theming changes);
>
> At least the thing is back :-) [I missed it...]
>
> Phil
>


Re: [Pharo-users] OS question

2014-03-08 Thread Pierce Ng
On Tue, Mar 04, 2014 at 05:25:20AM -0800, Sean P. DeNigris wrote:
> Pierce Ng-3 wrote
> > I am a long time FreeBSD user. Right now an instance of my blog is running
> > on Pharo 1.4 on CogVM on FreeBSD 8.x.
> 
> Cool! Pier? What's the url?

Not Pier. Home-grown using Zinc. Uses Seaside to render the content. URL in
my .sig. Right now that one points to the same combo running on Debian
though. 


-- 
Pierce Ng
http://samadhiweb.com/blog/




Re: [Pharo-users] OS question

2014-03-08 Thread Pierce Ng
On Wed, Mar 05, 2014 at 09:21:05AM +0100, Friedrich Dominicus wrote:
> Pierce Ng  writes:
> > I am a long time FreeBSD user. Right now an instance of my blog is running
> > on Pharo 1.4 on CogVM on FreeBSD 8.x.
> How did you build the Pharo VM?

Used to need to patch the source. Here's an old post from me:
http://forum.world.st/Building-Cog-on-FreeBSD-td3072348.html.

Patching is no longer needed. Periodically, I build from source from both
Git and SVN repositories. However, recently I'm somewhat confused which
Git-based version to use, so I build from the SVN-based source.

Basically, over time, I settled on this script, based on my experimentation
and reading stuff I found on the net:

  #!/bin/sh
  ../../platforms/unix/config/configure \
  CC="gcc -m32" CXX="g++ -m32" \
  CFLAGS="-g -O -msse2 -DNDEBUG -DTIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 
-DCOGMTVM=0 -DDEBUGVM=0 -DNOEXECINFO" \
  --enable-mpg-mmx=no --enable-mpg-pthreads=no --without-npsqueak
  make

There is some funny thing about the FFI: One particular version of the
SqueakFFIPrims plugin works. But several other versions that I've built
all fail. 

Also, NativeBoost doesn't work on FreeBSD. In terms of dlfcn.h constants
such as RTLD_LAZY etc, FreeBSD is more like OSX than like Linux. (Or
perhaps I should say OSX is like FreeBSD.) I have built a VM on FreeBSD in
which "NativeBoost forCurrentPlatform" says "NativeBoostMac32" while
"OSPlatform current" says "UnixPlatform" but the dynamic linking doesn't
work yet. From reading assembly programming tutorials for FreeBSD, Linux
and OSX, my current conjecture is around stack popping, but I've never done
assembly programming for real on these Unixen, so this is just guesswork on
my part.

I hope NativeBoost will work on FreeBSD eventually. All the world's not
just Linux, OSX and Windows.


-- 
Pierce Ng
http://samadhiweb.com/blog/