First release of eiffel-iup

I’m glad to announce the first release of eiffel-iup. A wrapper that allow create graphical applications with Liberty Eiffel using the IUP toolkit. In this first release are available all the dialogues at IUP and all standard controls (except IupFlatButton). All controls has been tested, but not all its features. So, could be problems. But this is enough mature to create graphical interfaces. So let’s look at some screenshots of the examples that comes with this package. The image below show a simple editor with a tool bar that can be detached. Only one button works at that tool (the button to underline), the rest are just examples of buttons with predefined images at IUP stack.

eiffel-iup-1

The example number 5, show how use several predefined dialogues, as show the images below:

eiffel-iup-2

eiffel-iup-3

eiffel-iup-4

The same example show, in other tabs, the use of many other controls, like popups, combo box, sliders, calendars, spin box, splits and others:

eiffel-iup-5

eiffel-iup-6

Other example show how use a tree, an expander and a sbox:

eiffel-iup-7

To get an idea about how use this package, the image below show the code of a small app to display a dialog with a label and a button to close the app (you should insert the class IUP_INTERFACE):

my_example

You can download this first release here. So, let me know if you have problems, and wait for upcoming lessons on how to use eiffel-iup. Happy Hacking!

iup2

Liberty Eiffel wrapper for IUP toolkit

Since a couple of months ago I’m working in a Liberty Eiffel wrapper to the IUP toolkit. IUP is a multi-platform toolkit for building graphical user interfaces. This is still under development, but I think the current state is enough to start playing with it. Here some screen shots:

iup1

A small converter for inches and centimeters:

iup2

Currently you can use widgets like Windows (in IUP are called Dialogs), buttons, labels, radio buttons, text box, text views (called multi line), sliders, links, combo box, menus and a variety of containers. For the moment there are only four examples, but I will add more later. The example4.e show how create menus and use mnemonics and short cuts. Here some screen shots of this example:

iup4

iup5

To give you an idea about how is the use of this wrapper here an extract of the converter example shown previously:

iup-code

The project is hosted at notabug.org. So you can download it and start playing. Of course you should install first Liberty Eiffel and IUP.

GNU FisicaLab 0.3.5

I’m glad to announce the release of version 0.3.5 of GNU FisicaLab, this is a feature release. FisicaLab (can be pronounced as PhysicsLab) is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details

In this version I added a module to handle tables of properties, for the moment this only handle properties for water, but is the base for future modules of thermodynamics and fluids. This took more time that I thought, but now is ready. So now there is a new entry at menu that launch a window where you can calculate the properties of water (saturated, compressed and superheated). I also fix some bugs:

  • Correction of a bug in the module dynamics of points, due to a bad set of equations. This causes that some problems can be solved with some parameters, but not with others.
  • Fixed two problems with the contextual menu of conversions.
  • Minor changes for compatibility with Windows platform. So now FisicaLab have the same behavior on this platform.

This new version is also available as a binary package for GNU/Linux i686 and for GNU/Linux x86_64. There is also a self contained installer for Windows and a source tarball for Mac OS X. I didn’t tested this package since I don’t have a Mac. But in theory should work.

Remember that the documentation is now on line. And in addition I added some videos here. For the moment these are available only in English. And, beforehand, apologies if you don’t understand my English:)

I also want to thank the people who have donated to the project. In this version the first time you launch FisicaLab it will display a window with a brief description of FisicaLab where we encourage you to donate to the project.

So enjoy FisicaLab and if you have feedback or find bugs, use the corresponding mailing lists.

FisicaLab update

Well, I just want to share the progress in the development of FisicaLab. As you know I want a module for thermodynamics in version 0.4.0. This means that FisicaLab needs the ability to handle data from steam tables. However, find the data in an easy format (an spreadsheet for example) was not possible. I found PDF format, which is not easy to translate to a spreadsheet, or Excel programs only for Windows and payed. Anyway after some hard work, I have the steam tables for water into FisicaLab. The new class “TablesManager” is the responsible to get the data from these tables. To test this class I added a “Properties” window that lets calculate the properties after enter some data. For the moment only the saturation data are available. But I will add the ability to get “compressed/superheated” data at next days. Of course, not only water will be available. Here an screenshot of this new window, that will be available under the new item menu “Tools”:

fisicalabProperties

Remember FisicaLab is free software and that you can support its development with a donation in PayPal, Flattr or Gratipay.

FisicaLab’s new icon

fisicalab-2

I started the development of version 0.4.0 of FisicaLab. And what better to start with a new icon. I’m not a graphical designer, so I wanted keep this simple. To start I used one of the icons at module of dynamics of circular motion, the icon of final system. The three particles and the lines (I think these are called “kinetic lines” in comics, but I’m not sure) represent a system in movement. The “f” is not only for FisicaLab but also for “final state of the system”.

I will keep you informed about the progress in this new version. Remember you can support FisicaLab trough: Paypal, Flattr or Gittip.