Re: [Pharo-project] [Seaside] [ANN] Pharo VM packages and PPA for Ubuntu (v2)

2013-04-11 Thread Jan van de Sandt
Hi, I just installed the pharo-vm package on my Ubuntu 12.04 LTS server. Works great! Thanks! Jan. On Thu, Apr 11, 2013 at 4:34 PM, Damien Cassou damien.cas...@gmail.comwrote: Hi, Norbert Hartl and I are proud to announce that: - the pharo-vm package can now be installed on 64bits

Re: [Pharo-project] [Update] Zinc-SSO now supports Dropbox !

2013-02-08 Thread Jan van de Sandt
Hi, These classes are part of the package Zinc-SSO-Seaside-Support. Jan. On Fri, Feb 8, 2013 at 10:37 AM, Sabine Knöfel sabine.knoe...@gmail.comwrote: Hi Sven, I loaded ConfigurationOfZincHTTPComponents '2.3.2' from http://mc.stfx.eu . With this, I have the ZnSSOSeasideDemo loaded.

Re: [Pharo-project] [Update] Zinc-SSO now supports Dropbox !

2013-02-08 Thread Jan van de Sandt
Hi, The Zinc-SSO-Seaside-Support package contains Seaside configuration classes for the required configuration data of the different OAuth/OpenID providers. When you use these classes you don't have to hardcode the specific consumerKey and consumerSecret in your code but you can use the Seaside

Re: [Pharo-project] [Update] Zinc-SSO now supports Dropbox !

2013-02-07 Thread Jan van de Sandt
Hello Sabine Dropbox uses OAuth1, handling this is a bit more complicated than OAuth2 because you need to keep track of the requestToken during the sign-on proces. In a Seaside application you can store the requestToken in the session. But than you have to be careful to preserve the session in

Re: [Pharo-project] Zinc-SSO OAuth2 Google offline access

2013-01-31 Thread Jan van de Sandt
Hello Yanni, Good to hear that you have OAuth access to Google Calendar working. Currently the access_type parameter is hardcoded to online in ZnGoogleOAuth2Session. Instead of making a separate class for offline access I think it's a better idea to change the current class so you can configure

Re: [Pharo-project] [Update] Zinc-SSO now supports Dropbox !

2013-01-30 Thread Jan van de Sandt
Hello Sabine, The package versions that support Dropbox are not yet part of ConfigurationOfZincHTTPComponent. If you load the latest versions of the Zinc-SSO packages using the Monticello browser it should work. Jan. On Wed, Jan 30, 2013 at 4:24 PM, Sabine Knöfel sabine.knoe...@gmail.comwrote:

Re: [Pharo-project] [Update] Zinc-SSO OAuth 1.0 OpenID Alpha Code Live Demos

2013-01-11 Thread Jan van de Sandt
Hello, I'm not familiar with CAS and I don't know where it is used. Currently Zinc-SSO only implements the client/consumer side of the different protocols. Are you just looking for a client side implementation of CAS in Smalltalk or also the identity provider side? Jan. On Fri, Jan 11, 2013 at

Re: [Pharo-project] [Update] Zinc-SSO OAuth 2.0 Alpha Code Live Demos

2012-12-26 Thread Jan van de Sandt
Hello Sean, The OAuth1 support required for Twitter is now also part of Zinc-SSO. The Seaside demo application shows how to read the messages of a Twitter user. Posting works simular, but you have to add Write permission when you register your application with Twitter. Jan. On Sun, Dec 23, 2012

Re: [Pharo-project] Localization and translation

2012-10-29 Thread Jan van de Sandt
Hello, A really good package for everything related to Locales, translation and I18N is ICU [1]. I use the C version of this library through NativeBoost. Currently only part of the functionality is available in Smalltalk but this can easily be extended. Jan. [1] http://site.icu-project.org/

Re: [Pharo-project] [Another sad day] a nice example of the mess with json in FileTree

2012-10-01 Thread Jan van de Sandt
Hi, Göran Krampe wrote a blog post about Smalltalk alternatives for JSON: [1] http://goran.krampe.se/2012/05/08/literal-arrays-vs-json-vs-ston-vs-tirade/ Jan. On Mon, Oct 1, 2012 at 9:14 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 01 Oct 2012, at 20:28, Igor Stasenko siguc...@gmail.com

[Pharo-project] [NB] Problem with releasing a NBExternalObject

2012-08-24 Thread Jan van de Sandt
Hello, I have a subclass of NBExternalObject to refer to an external object (from the ICU library). When I'm done with the object I need to close it. The following instance method takes care of this: primClose primitive: #primitiveNativeCall module: #NativeBoostPlugin self nbCall: #( void

Re: [Pharo-project] [NB] Problem with releasing a NBExternalObject

2012-08-24 Thread Jan van de Sandt
van de Sandt jvdsa...@gmail.com wrote: Hello, I have a subclass of NBExternalObject to refer to an external object (from the ICU library). When I'm done with the object I need to close it. The following instance method takes care of this: primClose primitive: #primitiveNativeCall

Re: [Pharo-project] [NB] Problem with releasing a NBExternalObject

2012-08-24 Thread Jan van de Sandt
On Fri, Aug 24, 2012 at 4:29 PM, Igor Stasenko siguc...@gmail.com wrote: On 24 August 2012 15:55, Jan van de Sandt jvdsa...@gmail.com wrote: Hello Igor, Thanks for the explanation. Closing via the class method now works fine! But I still notice that the #finalizeResourceData doesn't

[Pharo-project] [NB] Passing a null value to a const char* parameter

2012-08-24 Thread Jan van de Sandt
Hello, NativeBoost doesn't allow me to pass a nil value instead of a String as a parameter for a 'const char*' function argument. When I use nil I get a failure with lastError=1 Is this by design? If so, is there an alternative? Jan.

Re: [Pharo-project] [NB] Problem with releasing a NBExternalObject

2012-08-24 Thread Jan van de Sandt
Thanks Igor. A small bug is not really a problem if it gets fixed so quickly. NativeBoost is really cool technology! Jan. On Fri, Aug 24, 2012 at 5:44 PM, Igor Stasenko siguc...@gmail.com wrote: ok, i uploaded the fix. it is in v 1.3. so if you reload this version of

Re: [Pharo-project] getting ready to summer release of 1.4

2012-07-06 Thread Jan van de Sandt
Hi, Looks really good. Found just one problem so far: Choosing the option Browse Class Hierarchy from within the debugger gives an error: OBSystemBrowserAdaptor(Object)doesNotUnderstand: #spawnHierarchyForClass:selector: Jan. On Fri, Jul 6, 2012 at 4:55 PM, Esteban Lorenzano

Re: [Pharo-project] [Esug-list] update on the consortium poll

2012-07-05 Thread Jan van de Sandt
I'll be a gold individual sponsor On Thu, Jul 5, 2012 at 12:44 PM, Nick Ager nick.a...@gmail.com wrote: I'll be a gold individual sponsor On 5 July 2012 10:47, Max Leske maxle...@gmail.com wrote: You got me listed twice though (both times as normal member). On 05.07.2012, at 11:41, Igor

[Pharo-project] [NativeBoost] Generic failure errors when using nil for void* and char* arguments

2012-04-20 Thread Jan van de Sandt
Hello, I use NativeBoost to call some icu4c functions. This works fine most of the time. But now I run into the problem that when I pass nil as the argument value for one or more void* / char* parameters I get an error. When I pass a value or an empty ByteArray than it works. According to the

Re: [Pharo-project] [NativeBoost] Generic failure errors when using nil for void* and char* arguments

2012-04-20 Thread Jan van de Sandt
Yes, now it works! Thanks Igor. On Fri, Apr 20, 2012 at 4:46 PM, Igor Stasenko siguc...@gmail.com wrote: On 20 April 2012 15:59, Jan van de Sandt jvdsa...@gmail.com wrote: Hello, I use NativeBoost to call some icu4c functions. This works fine most of the time. But now I run

[Pharo-project] NativeBoost VM's

2012-03-04 Thread Jan van de Sandt
Hello, On the Pharo Jenkins server [1] there is a recent build of a VM with NativeBoost support for the Mac. But the Unix version is six months old and there is no Windows version. Is this just a Jenkins issue and is NativeBoost working on Unix and Windows? Or are these platforms not working

Re: [Pharo-project] VNC client

2012-02-29 Thread Jan van de Sandt
a different setup? However how do you map the keys? I cannot use alt, cmd, etc. Norbert Am 28.02.2012 um 14:49 schrieb Jan van de Sandt: I use Chicken of the VNC On Tue, Feb 28, 2012 at 2:43 PM, Milan Mimica milan.mim...@gmail.comwrote: I use remmina. On 28 February 2012 14:06

Re: [Pharo-project] VNC client

2012-02-28 Thread Jan van de Sandt
I use Chicken of the VNC On Tue, Feb 28, 2012 at 2:43 PM, Milan Mimica milan.mim...@gmail.comwrote: I use remmina. On 28 February 2012 14:06, Norbert Hartl norb...@hartl.name wrote: I wonder what vnc client do you use if you use pharo + RFB? I had a running via macports. Now that I'm

Re: [Pharo-project] NB How can I pass a NULL argument?

2012-02-24 Thread Jan van de Sandt
* aHandle, nil, ICUErrorCodeNB* anErrorCode ) ) or self nbCall: #( char* uenum_next_48(ICUEnumerationNB aHandle, nil, ICUErrorCodeNB* anErrorCode ) ) Jan. On Tue, Feb 14, 2012 at 10:10 PM, Igor Stasenko siguc...@gmail.com wrote: On 14 February 2012 22:59, Jan van de Sandt jvdsa...@gmail.com

Re: [Pharo-project] NB How can I pass a NULL argument?

2012-02-24 Thread Jan van de Sandt
ICUCalendarNB# nbTestAllTimeZones On Fri, Feb 24, 2012 at 2:35 PM, Igor Stasenko siguc...@gmail.com wrote: On 24 February 2012 12:10, Jan van de Sandt jvdsa...@gmail.com wrote: Hi, Well, it works if I don't use the ICUEnumeration class. The first call returns an NBExternalAddress instance

Re: [Pharo-project] NB How can I pass a NULL argument?

2012-02-24 Thread Jan van de Sandt
Ah Yes!! After changing the superclass it works perfectly. Thank you very much Igor! Jan. PS: ICU binaries can be downloaded from http://apps.icu-project.org/icu-jsp/downloadPage.jsp?ver=4.8.1base=cUnfortunately no binary downloads for OSX and making a 32 bit version for Lion is a bit of a

Re: [Pharo-project] NB How can I pass a NULL argument?

2012-02-14 Thread Jan van de Sandt
Hello Stef, I'm using the latest packages from http://www.squeaksource.com/NativeBoostand Pharo version 1.3 Jan. On Mon, Feb 13, 2012 at 11:12 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Thanks for the question. Which version do you use? Stef Hello list, I want to call

Re: [Pharo-project] NB How can I pass a NULL argument?

2012-02-14 Thread Jan van de Sandt
' But this call still causes the image to disappear. I think the nil and errorCode arguments are all right. Is there something wrong with the first argument? Jan. On Tue, Feb 14, 2012 at 11:34 AM, Igor Stasenko siguc...@gmail.com wrote: On 13 February 2012 22:40, Jan van de Sandt jvdsa

[Pharo-project] NB How can I pass a NULL argument?

2012-02-13 Thread Jan van de Sandt
Hello list, I want to call the following C function using NativeBoost: const char* uenum_next(UEnumeration * en, int32_t * resultLength, UErrorCode * status) According to the (icu4c) documentation you can pass NULL for the resultLenth argument [1]. But when I try: self nbCall: #( char*

Re: [Pharo-project] Cloudfork on Pharo under GLASS??

2012-01-12 Thread Jan van de Sandt
Hello Larry, Cloudfork was developed on Pharo Smalltalk and ported to VW and VA Smalltalk. But not yet to Gemstone. We tried to isolate the platform specific code. Most of it is implemented as platform specific subclasses of CFPlatformServiceUtils. CloudforkAWS requires an XML parser, a SHA1 or

[Pharo-project] [Zinc] ZnTooManyRedirects exception

2011-11-23 Thread Jan van de Sandt
Hello, I'm busy updating CloudforkSSO to use the latest version of the Zinc http client (ZnClient). Most of the required changes are pretty simple. But I have a problem with redirects. I cannot let ZnClient handle the redirects because I need to update the Authorization header. So I use the

Re: [Pharo-project] [Zinc] ZnTooManyRedirects exception

2011-11-23 Thread Jan van de Sandt
#followsRedirects boolean option to ZnClient because setting #maxNumberOfRedirects to 0 did not work well for an example see the ZnClientTests#testRedirectDontFollow Thx Jan van de Sandt for reporting this Summary Name: Zinc-Tests-SvenVanCaekenberghe.115 Author

Re: [Pharo-project] Omnibrowser in 1.4

2011-08-28 Thread Jan van de Sandt
I think Lukas means Nautilus. [1] http://www.squeaksource.com/Nautilus.html On Sun, Aug 28, 2011 at 8:46 PM, Hernán Morales Durand hernan.mora...@gmail.com wrote: 2011/8/28 Lukas Renggli reng...@gmail.com: There are currently no plans to make OB work in upcoming Pharo versions; Pharo 1.4

Re: [Pharo-project] Zodiac Alpha - June 21, 2011

2011-06-25 Thread Jan van de Sandt
Hello, Thanks Sven. I did some tests with CloudforkSSO and everything seems to works fine. I will stop using stunnel on my Mac and test some more. Jan. On Wed, Jun 22, 2011 at 10:18 PM, Sven Van Caekenberghe s...@beta9.bewrote: A number of people have been asking for an easy/convenient way to

[Pharo-project] FFI on Mac OSX

2011-06-12 Thread Jan van de Sandt
Hello, I'm trying to use an external library through FFI. On the Mac (Snow Leopard) I get the following error on the console: tryLoading /Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib ioLoadModule(/Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib):

Re: [Pharo-project] FFI on Mac OSX

2011-06-12 Thread Jan van de Sandt
van de Sandt escribió: Hello, I'm trying to use an external library through FFI. On the Mac (Snow Leopard) I get the following error on the console: tryLoading /Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib ioLoadModule(/Applications/Smalltalk/Cog.app/Contents

Re: [Pharo-project] Smalltalk and LibreOffice or OpenOffice

2011-05-13 Thread Jan van de Sandt
The VA Smalltalk bindings were developed by Marten Feldtmann [1] and the code is available at VAStGoodies.com [2] Jan. [1] http://schrievkrom.wordpress.com [2] http://vastgoodies.com/maps/MSKOOoExamplesAndIDE On Fri, May 13, 2011 at 2:38 PM, Friedrich Dominicus fr...@q-software-solutions.de

Re: [Pharo-project] SSL/HTTPS - SecureSocketStream/SSLSession for Pharo/Squeak and other Smalltalk implementations

2011-05-12 Thread Jan van de Sandt
Hello, I can help test the client part of a HTTPS implementation. Currently I use Zinc-HTTP together with stunnel. Note that VA Smalltalk uses OpenSSL on Linux and Windows. So it is possible to use OpenSSL on windows as well [1]. Jan. [1] http://www.openssl.org/related/binaries.html On Tue,

Re: [Pharo-project] SSL/HTTPS - SecureSocketStream/SSLSession for Pharo/Squeak and other Smalltalk implementations

2011-05-12 Thread Jan van de Sandt
. [1] http://blog.doit.st/2009/06/17/introducing-winhttpclient-for-va-smalltalk/ On Thu, May 12, 2011 at 5:21 PM, Sven Van Caekenberghe s...@beta9.bewrote: Hi Jan, On 12 May 2011, at 17:07, Jan van de Sandt wrote: Hello, I can help test the client part of a HTTPS implementation

Re: [Pharo-project] Send a notification

2011-05-06 Thread Jan van de Sandt
On May 6, 2011 8:45 PM, Alexandre Bergel alexandre.ber...@me.com wrote: As long as your SMTP doesn't require encryption this is simple: Use MailSender that comes with every Pharo image. Seaside provides some objects on top of that, so that you don't have to assemble the message by hand.

Re: [Pharo-project] Status of WebClient for Pharo?

2011-04-16 Thread Jan van de Sandt
Hello Friedrich, I used WebClient and SqueakSSL om Pharo 1.1 a few months ago. WebClient works but SqueakSSL had some problems. It didn't work with some hosts (like Yahoo) and some features were missing on OSX. Now I use Zinc HTTP as a web client on Pharo. For SSL support I use stunnel. This

[Pharo-project] Question about the Refactoring Browser

2011-04-06 Thread Jan van de Sandt
Hi, I want to analyze some Smalltalk code in a collection of Monticello packages without actually loading these packages in the image. Can I use the Refactoring Browser for this? Jan.

Re: [Pharo-project] Question about the Refactoring Browser

2011-04-06 Thread Jan van de Sandt
. Jan. On Wed, Apr 6, 2011 at 2:53 PM, Mariano Martinez Peck marianop...@gmail.com wrote: This week there was similar thread: http://forum.world.st/Code-Critics-for-unloaded-projects-td3425020.html On Wed, Apr 6, 2011 at 2:47 PM, Jan van de Sandt jvdsa...@gmail.comwrote: Hi, I want

Re: [Pharo-project] New Squeaksource ...

2011-02-16 Thread Jan van de Sandt
Hello, Porting CloudforkSSO to AIDA should be pretty easy. The OAuth and OpenID base classes use WAUrl and the JSON classes of Seaside. AIDA probably has good alternatives for these. Jan. On Wed, Feb 16, 2011 at 11:22 AM, Geert Claes geert.wl.cl...@gmail.comwrote: Janko Mivšek wrote: It

Re: [Pharo-project] New Squeaksource ...

2011-02-16 Thread Jan van de Sandt
Hi Norbert, No, there is no GemStone port yet and I don't have any experience with GemStone. It should not be too difficult I think. Jan. On Wed, Feb 16, 2011 at 1:25 PM, Norbert Hartl norb...@hartl.name wrote: On 16.02.2011, at 13:09, Jan van de Sandt wrote: Hi Janko, CloudforkSSO has

Re: [Pharo-project] New Squeaksource ...

2011-02-16 Thread Jan van de Sandt
: On 16.02.2011, at 13:55, Jan van de Sandt wrote: Hi Norbert, No, there is no GemStone port yet and I don't have any experience with GemStone. It should not be too difficult I think. Isn't there a lot of crypto stuff involved? Norbert On Wed, Feb 16, 2011 at 1:25 PM, Norbert Hartl norb

Re: [Pharo-project] [squeak-dev] Proper Smalltalk lots of classes

2011-01-01 Thread Jan van de Sandt
Hello Jimmie, I had to do something similar a while ago. I had to support a complex XML schema for a standard message format of the Dutch government (StUF). The Java implementation used JAXB to generate a few thousand data objects. Very clumsy. In Smalltalk I made some code to generate Magritte

Re: [Pharo-project] script language=smalltalk

2010-11-24 Thread Jan van de Sandt
Perhaps a Smalltalk variant of the Google Web Toolkit (GWT) would be a good idea. GWT compiles Java code into browser specific obfuscated Javascript code. At development time you can run and debug the Java code directly in the browser by using some kind of browser plugin. When you are ready to

Re: [Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-27 Thread Jan van de Sandt
Hello, When I run squeakvm directly it works! Thanks for the tip. Jan. On Thu, Aug 26, 2010 at 11:37 PM, Sven Van Caekenberghe s...@beta9.bewrote: Jan, On 26 Aug 2010, at 22:42, Jan van de Sandt wrote: Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When

[Pharo-project] Running Pharo on a headless Ubuntu server

2010-08-26 Thread Jan van de Sandt
Hello, I am trying to run a Pharo Seaside image on an Ubunbtu 10.04 server. When I start the image like this squeak -mmap 256m -vm-sound-null -vm-display-null seaside3.0rc.image I get the following errors: found gettext in path /srv/seaside libasound.so.2: cannot open shared object file: No

Re: [Pharo-project] ESUG will sponsor the XMLRPC project!

2010-06-29 Thread Jan van de Sandt
@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Jan van de Sandt gsm: +31 (0)6 3039 5998 ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo

Re: [Pharo-project] [squeak-dev] Mac carbon VM goes to 4.2.4beta1U

2010-04-07 Thread Jan van de Sandt
Hello John, Is it possible to update the CurlPlugin that is shipped with the Squeak Mac VM? It is great that the plugin is part of the standard VM. But the version that is shipped is quite old. Danil Osipchuk created a new version that contains valuable new functionality. For example the

Re: [Pharo-project] Proxy with NTLM authentication?

2009-05-25 Thread Jan van de Sandt
Hello, I don't think the HTTPSocket class supports proxies with NTLM authentication. There is an alternative: the CurlPlugin, this plugin wraps the libcrul C library and this library supports NTML authentication, see: http://wiki.squeak.org/squeak/5865 Jan. 2009/5/25 Bernhard Pieber

Re: [Pharo-project] Tip for using CurlPlugin against GData services ?

2009-05-24 Thread Jan van de Sandt
Hello Marco, In the current version of the CurlPlugin is is not possible to set or change a header field and I don't think the way Google Data authentication works is covered by one of the standard authentication methods (Basic, Digest, ...). The libcurl library contains the required function but

Re: [Pharo-project] Port of Cryptography to Pharo

2009-05-22 Thread Jan van de Sandt
Hello, I faced the same problem with Cloudfork-AWS. This project required the Cryptography package for generating the signatures using SHA and for generating MD5 hash values. When I had problems loading the package in Pharo and I learned that the package was no longer maintained I copied the