Thursday, October 28, 2010

Full touch screen support

A new class available in Concept Framework: RTouchKeyboard. Is a fully customizable keyboard layout (the constructor takes an array for the rendered keys).

The keyboard is already integrated in GyroGears.

A few changes in the Concept Client (windows version): added native Save File and Load File dialogs replacing the GTK dialogs that use to crash when listing files with diacritics.

Wednesday, October 20, 2010

Excel support in Concept

New library added (no. 55): standard.lib.xls
I've came across libxls accidentally. I was surprise to see that is a really nice library with simple APIs - not very mature yet but it promises a lot. I just had to write a wrapper, and I did.

Nice and simple APIs, as usual. Of course, you have low level cell accessing APIs but xls_matrix is convenient (at least for me) - it returns a sheet as a matrix.

I'm having problems with a bug in webkit - when is in editable mode, and I move the cursor from right to left over a link it freezes. I've submitted a bug report and now I wait. Until it will be fixed, I hacked the client module in order to ignore the left keyboard key. Is not nice, but is working (the cursor can be moved with the mouse with no problems).

I've integrated MemCached client into GyroGears. Now, when generating http:// applications, you can set in DataBase.ini or MyDataBase.ini MemCachedServer = "localhost" for example, and the application will use the server running on localhost. If no host is set, no caching will be available.

Tomorrow will open the new website.

Tuesday, October 12, 2010

Concept native WYSIWYG control

I've created a WYSIWYG widget based on Webkit. Tomorrow I'll dump nicedit from GyroGears in favor of the native RWebEditor control.

The interface is pretty simple: RWebEditor extends RWebView and ads just one property: Text

The code should look like this:

Editor=new RWebEditor(owner);
Editor.Text="my html code";

Simple enough ?

On windows webkit-gtk is pretty unstable. I hope to get a fix soon.

Monday, October 11, 2010

Captcha in Concept Framework 1.2

Added a new import library: standard.lib.captcha

This is a captcha generator based on libcaptcha .

The APIs are simple, as usual:

var text=Captcha(var gif);
WriteFile(gif, "captcha.gif");

Resulting in

text will contain the actual generated letters.