Archive for the ‘Releases’ Category

Ecere SDK 0.44: Open Source Release

Friday, March 9th, 2012
I have the great pleasure to announce that the official version 0.44 of Ecere, codenamed “Ryoan-ji“, is now available.
It is the first “official” Open Source release of Ecere (not a draft, or preview).
The Windows installer is available at:
Our Ubuntu Linux PPA on Launchpad is at:
To add our Ecere PPA to your Ubuntu system you can simply do:
sudo add-apt-repository ppa:ecere-team/ppa
sudo apt-get update
And then to install the Ecere SDK:
sudo apt-get install ecere-sdk
The source tarball for the Ecere SDK 0.44 is at:
It took us some time and great efforts to get there, but we now have what should be a stable and complete release. A quick history of what happened since 0.43 (September 2008):
  • In December 2008, we had released a first open-source draft, 0.44 draft 1, which could bootstrap itself from GCC.
  • In March 2010, we released 0.44 preview 1, with some new features, bug fixes, and new bugs. We also got a new website design, with new phpBB forums.
  • In May 2010, we adopted Git as our version control system. Our source repository is hosted on GitHub at
Both 0.44d1 and 0.44pre1 had some issues, and were lacking a Windows installer and proper Ubuntu PPAs.
Now all this is fixed, and it should be a breeze to get the Ecere SDK installed on your system in no time at all, to try out all the cool samples and features!
What’s new in this version:
  • Native Window decorationstoolbar and tool tips
  • new JSON-based .epj project format and powerful project settings, with powerful per File X Config X Platform Project Settings
  • Internationalization support, with Chinese and Spanish available by setting the LANGUAGE environment variable to zh_CN or es_ES
  • SQLite and Oracle drivers for Ecere Data Access (EDA)
  • Improved eC Distributed Objects
  • Less memory leaking on parsing code
  • Line Numbers in the Code Editor
  • Settings for multiple compilers (e.g. allowing to set up cross-compilers, different GCC versions…)
  • Support for ccache and distcc to speed up your builds
  • New Credits and License dialogs for the About box
  • A bunch of new samples, PowerPoint Tutorials and extras (SSLSocketAudio, WIA Scanning…)
  • Coursework to accompany the Tao
  • A new updated Windows installer, with MinGW (GCC 4.4.0 and GDB 7.0 were selected for working best)
  • PPAs for Ubuntu working on both 32 and 64 bit machines, for Lucid Lynx, Maverick Meerkat, Natty Narwhal, Oneiric Ocelot and Precise Pangolin
  • Numerous tracked issues were resolved, see the complete list at:
A much needed README was added to the source tree, you can read it online at

For those of you who do not yet have an account on the forums, and wish to register, please let me know of your user name for activation, because I unfortunately cannot distinguish spammers from real users.

Now that internationalization support is complete, I would like to invite you all to contribute a translation of Ecere in your native language.
You can use the nice collaborative interface on Launchpad for this purpose, at:
An article I wrote on Cross-Platform Development with the Ecere SDK will be featured in this month’s issue of theSoftware Developer’s Journal - .
It should come out within the next week, I invite you to check it out. It’s an excellent introduction to coding in eC with the Ecere SDK!
For an overview of what lies ahead for Ecere, you can take a peek at:
We will now focus on deploying Ecere applications on the Android platform.
All the best,

The Ecere SDK and eC go Open Source

Thursday, December 25th, 2008

Hello everyone, sorry for the very few updates in the past few months.

Much development has happened lately focused on what has always been the calling for Ecere: a Free Open Source Software status, as well as a greater facility to deploy across multiple platforms.

The next major release (0.44) was to reach these objectives, and I was hoping for it to be ready earlier this fall.

Unfortunately things moved a little slower than expected, but I still have a present for the enthusiasts on this Christmas day: a fully automated self building Ecere source package. It makes use of a much improved bootstrapping system (thanks Joey Adams for thinking it through) directly generated from the actual eC sources of the compiler.

Recent work was done to test and improve the support for platforms such as Mac OS X and big-endian systems (such as PowerPC, PlayStation 3 Cell processor, SPARC machines, …). I will call this a Source Draft, because it has not undergone much testing yet (although this SDK version is what makes up my own development tools). I will not provide binaries at this moment either. An official 0.44 release should follow up within the next few weeks. This draft release however marks the very first officially open source (under the revised BSD license) Ecere SDK release.

Contributions will be most welcome, and much efforts will be put in the coming weeks to increase the support for a community by establishing a clear roadmap, improving the web site, and coordinating interested developers. You can help us make this upcoming release the most stable Ecere SDK to date. Please note that any contribution will need to have its copyright renounced to Ecere, which will then relicense the code to everyone under the BSD license.

Despite being mainly a the first open source release, this new version features many improvements such as an automatic bootstrapping/build system, an SQLite driver for the Ecere Data Access system, additional IDE configurations enabling the integration of cross compilers, lots of bug fixes (most likely some new bugs as well) … and a tab control.

Download Ecere SDK 0.44 Draft 1 Sources

Merry Christmas, and I wish you all a wonderful year 2009, may you find internal peace and happiness in these fast pace and often challenging times.

Ecere SDK 0.43: Templates, Syntax Highlighting…

Wednesday, September 3rd, 2008

After a lot hard work, I am pleased to announce the release 0.43 of the Ecere SDK. Download links follow:

For Windows:

Ecere SDK 0.43 for Windows – September 3, 2008 (36 MB)

If you already have MinGW installed on your system (or if you already have an earlier version of the Ecere SDK installed), you can chose the following significantly smaller package instead. Note that it doesn’t contain GDB and UPX either.
Ecere SDK 0.43 (No MinGW/GDB/UPX) for Windows – September 3, 2008 (7 MB)
If you chose this smaller package, make sure that the MinGW executables are either in your PATH or in the IDE’s File/Global Settings/Executables paths so that they can be found by the build system. Also, the IDE will be looking for a “make.exe” (rather than a mingw-make.exe).

For Linux:

Ecere SDK 0.43 for Linux (Generic binaries) – September 3, 2008

Please read the INSTALL file for instructions on how to install the generic tarball and for general notes on operation under Linux.

Ecere SDK 0.43 for Debian/Ubuntu – September 3, 2008
The samples will be located in /usr/ecere/samples/ .

Ecere SDK 0.43 for GoboLinux – September 3, 2008
(Add to your official repository and run InstallPackage Ecere)
The samples will be located in /Programs/Ecere/0.43/samples/ .

Additions to the eC language

This release main highlights are class templates as well as standard collection (container) classes which have been added to the eC language. This functionality represents major work which had actually started in the the earlier releases as well, and finally is ready in this new version.


Class templates make possible generic/meta programming.

The approach of eC towards templates is unique in that it is completely dynamic. A template class is in fact declared the same way as (and no different from) a regular class, but specify “template parameters” to be parametrized. It is dynamic in that the class as it is can already deal with any parameters the class template could be used with, even if that parameter refers to for example a class not defined within the module of that template.

eC classes can exist within a shared library, or an eC source file and it can be used across multiple modules without the need for header files. The same is true for eC class templates, which do not require any additional compilation for use with different parameters. Only a single piece of code for the actual class templates and its functions exists, just like for any other eC class.

This “no recompilation” approach templates makes for smaller code size, but may scare some about its performance. However, in practice this should be minimal, since many optimizations are being applied, and more optimizations should come as we benchmark the eC dynamic templates approach. These new templates have worked and performed nothing but extremely well so far.

Classes can be parametrized using any number of three types of parameters: data types, expressions (e.g. specifying a constant value), as well as identifiers (Which can currently identifier a data member, but will be extended to properties and methods as well).

The templates are very powerful and support even complex cases with recursions as in the following example:

class A : B<A> { int a; }
class B<class T> { T test; }


The standard container classes included in this release are “typed” class templates to replace the previous “non typed” container classes (List, BinaryTree, and pseudo-template Array, which will be slowly phased out. In the meantime List has been renamed to “OldList”, Array to “OldArray”, and Link to “OldLink”). The new containers are all derived from a base “Container” class from which all containers should derive in order to benefit from generic iteration and new eC syntactic sugar. The provided default containers cover dynamic arrays through the new Array class, link lists through the new classes List and LinkList, associative arrays through the new class Map, as well as AVL trees (a particular type of self balancing binary tree) through the new classes AVLTree and CustomAVLTree. It is somewhat analogous to a subset of the Standard Template Library and its corresponding classes such as std::vector, std::list and std::map, though I believe eC’s approach is generally a lot more elegant.

The syntactic sugar for containers include the array notation, e.g. [ 1, 2, 3 ] to denote a container containing the three integers 1, 2 and 3. It also introduces a “foreach” syntax using the regular for keyword in a new way. The following will print all i in array which are greater than 1:

Array<int> array { [ 1, 2, 3 ] };
for(i : array; i > 1) PrintLn(i);

Notice how i (which takes the type of the array elements) does not need to be declared. Iterating can be done generically (not knowing what kind of container we’re dealing with) using the Iterator class, for example in the following manner:

Iterator<int> i { array };
while(i.Next()) PrintLn(;

The indexing operator can also be used directly with the container classes. The following example can be used to count the occurrences of strings, assuming it is repeatedly called with “s” being each string to count. Notice how wordCounts is indexed with “s”.

Map<String, int> wordCounts { };

The container classes can also be used to iterate through infinite collections, or through data contained outside the actual container class. Please look at the ContainersTest sample in the samples directory for additional examples, including iterating through the Fibonacci series.

Print / PrintLn

You might have noticed the PrintLn function which is now available to print to the standard output any data type followed by a newline. The equivalent function Print does the same without printing the new line. Furthermore, these functions can take any variable number of parameters which can be of different types, and it comes in various flavors (inside the File class, PrintBuf/PrintLnBuf, PrintString/PrintLnString). The following demonstrate the elegance of this new tool:

int a = 3, b = 4;
PrintLn(a, " + ", b, " = ", a + b);

 Other improvements

Another very enjoyable improvement is much improved syntax highlighting inside the IDE’s code editor, as well as some tweaks to the way the editor works which can be changed in the File/Global Settings dialog.

Many bug fixes and other issues were resolved inside the IDE, notably relating to the debugger integration. The debugging functionality should now be very useable under both Linux and Windows.

I’m also happy to provide new packages available for specific Linux distributions, such as Gobolinux (my personal favorite to which I switched my main development station – and Debian/Ubuntu.

Ecere Communicator as well as Acovel Media Player have been slightly updated for the new release, with some minor fixes along the way not justifying new versions. Here are the download links:

Acovel Media Player 0.01 for Windows
Acovel Media Player 0.01 for Linux

Ecere Communicator 0.02 for Windows
Ecere Communicator 0.02 for Linux

Ecere SDK 0.42.1 and Cute Fractals

Thursday, June 12th, 2008

I just released Ecere SDK version 0.42.1.

This release features major bug fixes and improvements to the EDA library (Ecere Data Access), support for executables and DLLs compression through UPX, an improved EditBox Undo buffer, important optimizations to the region updating engine, as well as a bunch of other bug fixes and improvements.

Download Ecere SDK 0.42.1 for Windows – June 11, 2008 (obsolete)

Download Ecere SDK 0.42.1 for Linux – June 11, 2008  (obsolete)

I’ve been wanting to add a few features to the Ecere Fractals explorer (a sample project in the SDK) ever since I coded it up years ago. I finally took some time to work on it! Improvements include support for smooth coloring; a brand new gradient editor; the option to save with or without computed data; export to image files with bilinear filtering; and some new interesting presets. The new version is included in the SDK and here are some links to pre-built executables and source code:

Download Ecere Fractals Explorer for Windows / Linux / Source

Here is a screenshot of the new version:

and some of my new creations:

New Ecere SDK Release 0.42

Thursday, May 15th, 2008

I am pleased to announce the release 0.42 of the Ecere SDK, for both Windows and Linux.

It brings a long overdue undo/redo buffer to the IDE’s code editor, improved X support, improvements to the IDE and numerous bug fixes.

The new installer for Windows comes with a GCC 4.3 alpha MinGW and should install and compile on Windows Vista with much less difficulty than last release.

The Ecere Database Access system ( / EDA.dll) is included in this release, with two new samples making use of it: MedDB and EDATest. Please take a look at this wiki page for a quick walk through (draft) of using EDA and get in touch with me further assistance.

You will also notice a new / ec.dll which holds the compiler functionality. It is not required by applications built with the SDK, but shared by the IDE and compilation tools (you will notice they shrank in size).

The latest version of the programmer’s guide (a work in progress) is bundled as a PDF in a documentation folder as well.

Please register on the Mantis bug tracker to report any problem with this release.

Ecere SDK 0.42 for Windows – May 15, 2008

Ecere SDK 0.42 for Linux – May 15, 2008

Multi-Monitor Support on Windows

Friday, December 7th, 2007

The Ecere SDK now supports multi monitor display setups on Windows.

Download Ecere SDK for Windows

Minor X fix for last release

Sunday, December 2nd, 2007

Some extra calls to XSync which were used for debugging purposes mistakenly got slipped into the last release.

This is mainly a patch release to correct the performance issue.

Download Ecere SDK for Linux

Download Ecere SDK for Mac OS X

Initial Mac OS X Support, X Improvements – SDK

Saturday, December 1st, 2007

Here is the first attempt at supporting Mac OS X. For now the interface & graphics driver run on X11. Support for a more native solution such as Carbon is planned for the future, but it is not a priority for the moment. This should allow Mac folks to give the Ecere SDK a try, and hopefully attract contributors who would like to improve Mac support.

There are a few glitches with Ecere on X on Mac. To get anywhere you will most likely need the server rather than the old XFree86. comes by default with Leopard, but for those still on Tiger, here is where you can obtain prebuilt binaries for it. Also take a look at this page. You will also need the same dependencies as for Ecere on Linux, such as libjpeg, libpng, freetype, fontconfig, etc., some of which might not be already installed on your system. Some other problems seem to be caused by the interaction with quartz-wm (another window manager might work better). For some reason, new windows always want to be positioned at the top-middle position of the desktop. I had to patch the X driver to get around this problem, but it still causes some annoying repositioning of the windows. Sadly, the overall performance especially with text seems a lot slower for me than on Linux/ 7.3. I am not sure what is making XRender so much slower on my Mac. On my system the IDE has a little trouble dialoguing with the installed GDB 6.1 which prevents the integrated debugger to function. It might work on a more recent version of GDB.

Please give me feedback on how Ecere on Mac works out for you in the comments.

A few important improvements were also made to the X driver. Windows can now be closed through the window manager. Repositioning windows from the Window manager doesn’t confuse their positions anymore. 15/16 bit displays are now supported.

I found that the Xrender API documentation is very difficult to find, and quite incomplete. Here is where the latest Xrender protocol is at and here is a copy of Xrender library API documentation. Trying to get 16 bit working, the XRenderFindFormat function was particularly difficult, but I learned that the count parameter which the above documentation isn’t so clear about had to be 0. The color masks should also not be shifted.

Download Ecere SDK for Windows
Download Ecere SDK for Linux
Download Ecere SDK for Mac OS X

International Input Support on X – SDK

Sunday, November 25th, 2007

After all this struggle to get SCIM working, I could finally implement the international input support.

Ecere Communicator now includes the new runtime library and supports international input as well.

The Linux SDK now also properly supports X keysyms to follow the correct keyboard layout.

I believe the X clipboard operations should be fixed for good this time. (I tested and was able to copy to and from FireFox and between two Ecere IDEs.)

The X bitmap rendering features some additional support.

Two small samples were added, a transparent clock, and a utility to take a screen shot of the X desktop.

A smal fix was made to desktop-level transparent windows using OpenGL. The IDE and Debugger had some minor improvements done as well.

An issue was resolved on Windows, whereas internal resources could not be accessed when a executable was inside a path containing non-ASCII characters. The last installer itself would not work when ran from such a path.

With the Windows taskbar autohiding, the Ecere applications do not resize anymore (it was causing a “jumping” effect) .

The runtime now prompts for reestablishing Windows network connections.

Download Ecere SDK for: Windows or Linux

Download Ecere Communicator 0.02 for Linux

New SDK Release for Windows & Linux (, Ecere Communicator for Linux

Saturday, November 17th, 2007

I’m pleased to announce a new release of the SDK for both Windows & Linux, supporting Unicode and all recent improvements which have been going on in the last 3 months. (The Windows SDK was somewhat outdated, from August). The Linux version features a number of bug fixes and improvements. Quite a few samples have been added as well to showcase the power of the SDK, all released under the BSD license.

Ecere Communicator is now available for Linux. It is an instant messaging client under development supporting AIM/ICQ, MSN and Jabber/XMPP protocols. Basic messaging and contact list functionality (sorry, cannot add contacts yet) are fully working.

A very tiny sample to take a screen shot of the X desktop has been included (code follows) as I’ve found this to be a tedious task to do on my self-built Ecere Linux distribution. It proved itself especially useful while trying to take the attached screen shot with xcompmgr running, somehow the usual xwd, xwdtopnm, pnmtopng utilities didn’t know what to do with the extra alpha channel.

import "ecere"
class ShotApp : GuiApplication
   Window window { };
   bool Init()
      Bitmap bitmap { };
      desktop.Grab(bitmap, null, false);
      bitmap.Save("shot00.png", null, null);
      delete bitmap;
      return true;

I would like to emphasize the very small footprint of the Ecere SDK ( is all an application needs to run and is only 1.5 MB) and small number of dependencies required to use it. With full functionality, Ecere only requires standard graphic formats, X, GL and core system libraries. It aims to be an alternative to GTK, Qt, GNOME, KDE and therefore doesn’t require any of those. If you ever tried to build them for your LFS (Linux From Scratch), you know how heavy, dependent and long to compile they are. Yet, Ecere already provides a very appealing level of comparable functionality and is still far from what it intends to become.

Download Ecere SDK for: Windows or Linux (obsolete)

Download Ecere Communicator for: Windows or Linux