gambas-source-code/gb.jit
Benoît Minisini 520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like 
  Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing 
  as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like 
  Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same 
  thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a 
  rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.

[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a 
  DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.

[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox... 
  if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
  Paint class.

[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.

[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.


git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 18:42:24 +00:00
..
src [DEVELOPMENT ENVIRONMENT] 2012-11-27 18:42:24 +00:00
acinclude.m4 [INTERPRETER] 2012-05-23 19:26:15 +00:00
AUTHORS [INTERPRETER] 2012-05-23 19:26:15 +00:00
ChangeLog [INTERPRETER] 2012-05-23 19:26:15 +00:00
component.am [INTERPRETER] 2012-05-23 19:26:15 +00:00
configure.ac [CONFIGURATION] 2012-11-20 23:57:38 +00:00
COPYING [INTERPRETER] 2012-05-23 19:26:15 +00:00
gambas.h [INTERPRETER] 2012-05-23 19:26:15 +00:00
gb_common.h [INTERPRETER] 2012-05-23 19:26:15 +00:00
INSTALL [INTERPRETER] 2012-05-23 19:26:15 +00:00
m4 [INTERPRETER] 2012-05-23 19:26:15 +00:00
Makefile.am [INTERPRETER] 2012-05-23 19:26:15 +00:00
missing [INTERPRETER] 2012-05-23 19:26:15 +00:00
NEWS [INTERPRETER] 2012-05-23 19:26:15 +00:00
README [CONFIGURATION] 2012-05-23 21:35:58 +00:00
reconf [INTERPRETER] 2012-05-23 19:26:15 +00:00

You should use the latest version of LLVM. To check it out, run:

svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm
mkdir build
cd build
../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared
make -j4
sudo make install

You might need to edit the configure.ac file in order to set the llvm
location settings appropriate, followed by ./reconf.

To enable the JIT for all functions in a Gambas class, add the word "Fast"
on a separate line at the top of the class file. The functions will then be
JIT compiled to native machine code, instead of letting the interpreter to
run it, if gb.jit is available.