Monthly Archives: September 2010

VASmalltalk – pdf and libHaru 0.4

After the font demo was working yesterday, now with published version 0.4 the line demo is working and a more OO like interface has been introduced. The example from yesterday now looks like: ExampleFontDemo “MSKHaruInterface ExampleFontDemo” | aHPDFDoc aHPDFPage aHPDFFont … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – pdf creation using libHaru

I’ve just published a first, not ready code for a wrapper around libHaru – an external ANSI c library to produce PDF documents. The actual work is just the plain procedural 1:1 conversion of the C-API into Smalltalk – nothing … Continue reading

Posted in Smalltalk | Tagged , , , | 2 Comments

VASmalltalk and Ghostscript – Synchronous and asynchronous usage

I’ve published 0.4 to support either synchronous – or asynchronous usage of that interface. Synchronous usage is done in the GUI thread (therefore blocking the GUI) | anInstance anArray | Transcript cr ; show: ‘Starting !’. anArray := Array new: … Continue reading

Posted in Smalltalk | Tagged | Leave a comment

VASmalltalk – Example wrapper for Ghostscript-dll

Someone asked in the Instantiation support forum how to wrap the ghostscript dll. I took a look at that library, did some work and published a small wrapper around that dll – just to produce a pdf document. Actually I … Continue reading

Posted in Smalltalk | Tagged , | 5 Comments

VASmalltalk: SQLite using Smalltalk defined functions …

In one of the last postings I showed how one can use instances of EsEntryPoint to let SQLite call VASmalltalk and execute Smalltalk code. In this posting I want to show, that you can use the same technique to build … Continue reading

Posted in Smalltalk | Tagged | Leave a comment

VASmalltalk – SQLite 3.7.2-06

Several tests in the GLORP code delivered with VA 8.02 are simply commented out. Binding stuff for example: object binding and position binding. After looking at VW and the latest Glorp code there I understand how that should work. Therefore … Continue reading

Posted in Smalltalk | Tagged , | Leave a comment

VASmalltalk – SQLite and Trace-API

With the newest version of the wrapper I start working on using EsEntryPoints within VASmalltalk to offer SQLite callback handlers to tell VASmalltalk, what the database is doing. This offers several new possibilities – the best ones would be to … Continue reading

Posted in Smalltalk | Tagged , | 1 Comment

VASmalltalk – First code for SQLite/Glorp support

I wrote some initial code to get direct Glorp support for my MSKSQLite wrapper. To admit several tests are still failing – either by pure errors, some are failing, because SQLite does not understand the SQL syntax and some are … Continue reading

Posted in Smalltalk | Tagged , , | Leave a comment

VASmalltalk – Some comments about the SQLiteWrapper

I was asked to write some words about the usage of the MSKSQLiteWrapper. Well, actually I hoped, that most of the stuff can be read from the tests delivered with application “MSKSQLiteWrapperTests”, but additional documentation may not be that bad … Continue reading

Posted in Smalltalk | Tagged , , | 6 Comments

VASmalltalk – SQLite wrapper updated

I updated the SQLite wrapper for VASmalltalk. Actually nothng has to be changed and I only added specific tests against the version 3.7.2 of SQLite. The MSKSQLite application is available for download at vastgoodies.

Posted in Smalltalk | Tagged , | Leave a comment