Gambas is a free development environment and a full powerful development platform based on a Basic interpreter with object extensions, as easy as Visual Basic™.
Find a file
Benoît Minisini e945a9faa6 [INTERPRETER]
* NEW: Requesting a component interface automatically loads the component 
  now.
* NEW: The Image and Picture functions in the interpreter API were removed.

[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
  This function replaces the removed Picture interpreter API.

[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements 
  the Image class, can create images of many formats (RGB, RGBA, BGRA...) 
  and convert image data between different formats. This component replaces
  the previous interpreter Image API. All components were ported to this
  new image management system by loading this component automatically.
  Beware that the Image constructor has changed! The transparent property
  has been removed, and there is an optional color argument that is used
  for initializing the image data. Moreover, many classes (Webcam, 
  PdfDocument...) that have an Image property lost their Picture property.
  Now to get a Picture, you must use the Image property and then convert
  the Image to a Picture.

[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it 
  must be declared early, at least earlier than the Picture class.


git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-16 23:12:10 +00:00
app [GB.GTK] 2009-01-14 01:52:42 +00:00
comp [INTERPRETER] 2009-01-16 23:12:10 +00:00
examples [GB.NET] 2008-11-12 21:50:36 +00:00
gb.compress.bzlib2
gb.compress.zlib
gb.corba
gb.crypt
gb.db.firebird
gb.db.mysql * NEW: Added the function Password to _MySQL class that calculates and 2008-11-07 01:20:50 +00:00
gb.db.odbc [CONFIGURATION] 2008-12-28 19:01:39 +00:00
gb.db.postgresql [GB.DB.POSTGRESQL] 2008-11-17 00:51:08 +00:00
gb.db.sqlite2 [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.db.sqlite3 [DEVELOPMENT ENVIRONMENT] 2008-09-09 11:03:47 +00:00
gb.desktop [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.gtk [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.gtk.svg [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.image
gb.net [CONFIGURATION] 2009-01-13 00:42:55 +00:00
gb.net.curl [GB.NET.CURL] 2009-01-10 23:11:52 +00:00
gb.net.smtp
gb.opengl [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.pcre
gb.pdf [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.qt [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.qt.kde [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.qt4 [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.qte [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.sdl [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.sdl.sound [CONFIGURATION] 2008-12-28 22:41:55 +00:00
gb.v4l [INTERPRETER] 2009-01-16 23:12:10 +00:00
gb.xml [GB.FORM] 2009-01-01 15:43:30 +00:00
help [CONFIGURATION] 2008-09-22 00:40:32 +00:00
main [INTERPRETER] 2009-01-16 23:12:10 +00:00
TEMPLATE
acinclude.m4 [CONFIGURATION] 2009-01-02 00:05:38 +00:00
AUTHORS
ChangeLog
component.am
config.guess [CONFIGURATION] 2008-11-02 02:40:10 +00:00
config.sub [CONFIGURATION] 2008-11-02 02:40:10 +00:00
configure.ac [CONFIGURATION] 2009-01-13 00:42:55 +00:00
COPYING
depcomp
INSTALL
install-sh
ltmain.sh [CONFIGURATION] 2008-11-02 02:40:10 +00:00
Makefile.am [CONFIGURATION] 2009-01-13 00:42:55 +00:00
missing
NEWS
README
README.svn-commit
reconf
reconf-all
TODO [GB.FORM] 2009-01-02 01:51:24 +00:00

WELCOME TO GAMBAS!

GAMBAS is a free implementation of a graphical development
environment based on a BASIC interpreter. It is very
inspired by Visual Basic and Java.

More information on http://gambas.sourceforge.net


** IMPORTANT NOTES

Before downloading Gambas, compiling it and then complaining, please read the
following remarks CAREFULLY! 

To compile Gambas, you must install the following libraries on your system :
 
+=================================+==========================================+
| COMPONENTS                      | LIBRARIES                                |
+=================================+==========================================+
| gb.compress.bzlib2              | libbz2.so                                |
+---------------------------------+------------------------------------------+
| gb.compress.zlib                | libz.so                                  |
+---------------------------------+------------------------------------------+
| gb.corba                        | libACE.so libomniORB4.so                 |
|                                 | libomniDynamic4.so                       |
+---------------------------------+------------------------------------------+
| gb.crypt                        | libcrypt.so                              |
+---------------------------------+------------------------------------------+
| gb.db.firebird                  | libibpp.so libfbclient.so                |
+---------------------------------+------------------------------------------+
| gb.db.mysql                     | libmysqlclient.so libz.so                |
+---------------------------------+------------------------------------------+
| gb.db.odbc                      | libodbc.so                               |
+---------------------------------+------------------------------------------+
| gb.db.postgresql                | libpq.so                                 |
+---------------------------------+------------------------------------------+
| gb.db.sqlite                    | libsqlite.so                             |
+---------------------------------+------------------------------------------+
| gb.db.sqlite3                   | libsqlite3.so                            |
+---------------------------------+------------------------------------------+
| gb.gtk                          | All GTK+ libraries                       |
+---------------------------------+------------------------------------------+
| gb.ldap                         | libldap.so                               |
+---------------------------------+------------------------------------------+
| gb.net                          | -                                        |
+---------------------------------+------------------------------------------+
| gb.net.curl                     | libcurl.so                               |
+---------------------------------+------------------------------------------+
| gb.opengl                       | libGL.so libGLU.so                       |
+---------------------------------+------------------------------------------+
| gb.pcre                         | libpcre.so                               |
+---------------------------------+------------------------------------------+
| gb.qt                           | libqt-mt.so.3                            |
+---------------------------------+------------------------------------------+
| gb.qt.kde                       | All KDE libraries                        |
+---------------------------------+------------------------------------------+
| gb.sdl                          | libSDL.so                                |
+---------------------------------+------------------------------------------+
| gb.sdl.sound                    | libSDL.so libSDL_mixer.so                |
+---------------------------------+------------------------------------------+
| gb.sdl.image                    | libSDL.so libSDL_image.so libSDL_gfx.so  |
|                                 | libSDL_ttf.so                            |
+---------------------------------+------------------------------------------+
| gb.sdl.opengl                   | libSDL.so libGL.so libGLU.so             |
+---------------------------------+------------------------------------------+
| gb.v4l                          | libjpeg.so libpng.so video4linux >= 2.0  |
+---------------------------------+------------------------------------------+
| gb.xml                          | libxml-2.0                               |
+---------------------------------+------------------------------------------+
| gb.xml.xslt                     | libxslt                                  |
+---------------------------------+------------------------------------------+

And you must install all related development packages. 

Try to always use a recent version of these libraries.

You must of course install the GCC compiler.

You must compile gb.qt and gb.qt.ext components to have a working development
environment.

Qt 3.2 is now required because of one Qt function that was missing in older
versions of Qt. Gambas will compile with Qt 3.1, but the function Picture.Copy()
will fail in some case. Gambas does not compile with previous versions of Qt. 

You must have the right to write to /tmp, otherwise Gambas will not work. 

This package was done with the following versions of GNU tools: 
 - automake 1.9.4 
 - autoconf 2.59 
 - libtool 1.5.12 (this tool is not required as it is included in the package) 

Each sub-directory of this source package is actually independent. You can 
configure, make and install each of them independently.

 
** DISTRIBUTION SPECIFIC PROBLEMS

Read the README.REDHAT or README.FEDORA files.


** HOW TO COMPILE GAMBAS ?

1) First, check that you installed all the needed development packages

2) When done, type the following magic sentences in a shell.
   '#' represents your shell prompt, and "..." are the
   messages printed during the configuration and compilation.

  This command analyzes the system and configure the package:

     # ./configure -C
     ...

   This command compiles the programs:

     # make
     ...

   And finally this command installs everything:

     # su -c "make install"
     Password: <Type the root password here>
     ...

   If something fails during this process, try to type the
   following command before ./configure :

     # ./reconf

   If it does not work, I need to know what happened exactly.
   To do so, type the following command :

     # ( ./configure; make; make install ) > output.txt 2>&1

   And send me the file "output.txt" by mail, with every other
   detail about your computer and your distribution you find
   useful.

3) If everything was fine, type "gambas2" to run the development
   environment. There are a few examples in the "examples"
   directory.

4) There are more 'configure' specific explanations in the "INSTALL" file.
   I invite you to read them.

Enjoy it !

Benoît.