Commit graph

930 commits

Author SHA1 Message Date
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Fabien Bodard
09916d0a4b [GB.REPORT]
* NEW: Begin to convert gb.report to use the paint class


git-svn-id: svn://localhost/gambas/trunk@2603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-08 20:37:00 +00:00
David Villalobos Cambronero
426dfa33d1 [GB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 14:32:55 +00:00
David Villalobos Cambronero
6e66eecf18 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 14:29:53 +00:00
Benoît Minisini
a07a868dbd [WIKI CGI SCRIPT]
* BUG: Correctly deals with class reimplementation for Gambas3 component 
  help pages.

[GB.GTK]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.

[GB.NET]
* NEW: Starting some code cleanup in the component.

[GB.QT4]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.

[GB.QT4.WEBKIT]
* NEW: WebFrame.Print() is a new method to send a frame to an existing 
  printer object.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.


git-svn-id: svn://localhost/gambas/trunk@2600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 12:04:53 +00:00
Laurent Carlier
61a84a8483 [GB.OPENGL.GLSL]
* NEW: Add support for Gl.GetUniformLocation and Gl.UniformMatrix**** methods


git-svn-id: svn://localhost/gambas/trunk@2598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 23:42:48 +00:00
Benoît Minisini
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version 
  control if the project parent directory is already under version control.

[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
  display the text extents accurately.

[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.

[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.

[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.

[GB.NET]
* NEW: UpdSocket has now a Timeout property.

[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when 
  they have a border.


git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 17:09:57 +00:00
Benoît Minisini
6e51411941 [GB.NET]
* NEW: The Socket class got a Timeout property to define the socket sending 
  and receiving timeout. The same property with UdpSocket and ServerSocket
  will follow.


git-svn-id: svn://localhost/gambas/trunk@2594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 13:08:00 +00:00
Benoît Minisini
f6aa513082 [GB.NET]
* NEW: Socket are blocking by default, except Socket created by 
  ServerSocket that are non-blocking by default.
* BUG: Writing too much data on a non-blocking socket raises an error now.


git-svn-id: svn://localhost/gambas/trunk@2593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 19:44:25 +00:00
Benoît Minisini
e61a0c45be [INTERPRETER]
* BUG: Hexadecimal numbers can be interpreted as Long only if they have 
  more than eight digits (32 digit for binary numbers), or if they are 
  unsigned.

[COMPILER]
* BUG: Hexadecimal numbers can be interpreted as Long only if they have 
  more than eight digits (32 digit for binary numbers), or if they are 
  unsigned.


git-svn-id: svn://localhost/gambas/trunk@2592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 15:04:06 +00:00
Benoît Minisini
c40fabf1b8 [EXAMPLES]
* BUG: IDE .settings file should not be put in subversion. Remove it from 
  Painting example.


git-svn-id: svn://localhost/gambas/trunk@2591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 13:38:34 +00:00
Benoît Minisini
62ddf76303 [EXAMPLES]
* NEW: SVG drawing in Painting example has been enhanced.

[GB.GTK]
* BUG: Correctly detect file copy errors in the SvgImage.Save() method.

[GB.QT4]
* NEW: SvgImage.Load() has been implemented, and painting on a SvgImage 
  loaded from disk is now possible.
* BUG: Paint.TextExtents has been fixed to take into account negative top 
  and left extents.


git-svn-id: svn://localhost/gambas/trunk@2590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 03:59:02 +00:00
Benoît Minisini
58577a9c0a [CONFIGURATION]
* NEW: Remove the gb.gtk.svg component.


git-svn-id: svn://localhost/gambas/trunk@2589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 02:01:34 +00:00
Benoît Minisini
870f511e1c [GB.GTK]
* NEW: Painting on a SvgImage loaded from a SVG file is now possible.


git-svn-id: svn://localhost/gambas/trunk@2588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 01:55:03 +00:00
Benoît Minisini
330a46fbed [EXAMPLES]
* NEW: Add a SVG drawing to the Painting example.

[GB.GTK]
* NEW: Use librsvg to implement SVG file loading and rendering.
* NEW: SvgImage.Load is a new method to load a SVG file from disk.
* NEW: SvgImage.Paint is a new method for painting the SvgImage to the 
  current painted device.
* BUG: Paint.TextExtents works correctly by taken into account negative 
  top and left extents.


git-svn-id: svn://localhost/gambas/trunk@2587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 23:20:25 +00:00
Fabien Bodard
f543f61634 [GB.GTK]
* BUG: Now there is no segmentation fault on running.


git-svn-id: svn://localhost/gambas/trunk@2586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 23:13:56 +00:00
Fabien Bodard
5a319b4eb5 [GB.GTK]
* NEW: implement Paint.TextExtents

[GB.QT4]
* NEW: implement Paint.TextExtents



git-svn-id: svn://localhost/gambas/trunk@2585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 22:19:11 +00:00
Benoît Minisini
a2fa1cc408 [GB.GTK]
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.

[GB.QT4]
* NEW: The SvgImage class has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 21:32:45 +00:00
Benoît Minisini
05fe8d8446 [INTERPRETER]
* NEW: A new interpreter API to get temporary file names.
* NEW: A new interpreter API to copy a file.
* NEW: Rename the GB.GetTempDir() function to GB.TempDir(), and fix all 
  components using it.

[GB.GTK]
* NEW: SvgImage is a new class that allows to generate SVG files by 
  painting on it. But it cannot render them.


git-svn-id: svn://localhost/gambas/trunk@2583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 18:45:35 +00:00
Benoît Minisini
d81bda1c5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save ListBox having exactly 31 items defined from the IDE.

[INTERPRETER]
* BUG: Now when a method call fails when checking arguments, the arguments
  are correctly released.

[GB.QT4]
* NEW: The Window background picture is now drawn differently, and not 
  propagated anymore.


git-svn-id: svn://localhost/gambas/trunk@2582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 14:55:13 +00:00
Benoît Minisini
dab9c93bbe [WIKI CGI SCRIPT]
* BUG: Fix a HTML markup mistake.

[GB.GTK]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.

[GB.GUI]
* BUG: Add Printer control to the *.component file.

[GB.QT4]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
* BUG: Add Printer control to the *.component file.


git-svn-id: svn://localhost/gambas/trunk@2580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 11:54:16 +00:00
Benoît Minisini
32d0b2e12c [GB.GTK]
* NEW: Printer implementation was completed.

[GB.FORM]
* NEW: Some control icons were updated.

[GB.QT4]
* NEW: Printer class implementation.

[GB.QT4.EXT]
* NEw: The Printer class was removed.


git-svn-id: svn://localhost/gambas/trunk@2579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 02:12:35 +00:00
Laurent Carlier
6128fa8d9f [GB.GTK]
* NEW: Add the ability to init gb.gtk component through another component.

[GB.GTK.OPENGL]
* NEW: New component to manage an OpenGL through gb.gtk component

This component is pre-alpha, and doesn't work yet, but the structure is in place.


git-svn-id: svn://localhost/gambas/trunk@2576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 12:57:51 +00:00
Fabien Bodard
a7c69e8357 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish de project class help
  but there is a problem on inherited class info


git-svn-id: svn://localhost/gambas/trunk@2575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 10:42:48 +00:00
Benoît Minisini
8e281f3181 [DEVELOPMENT ENVIRONMENT]
* NEW: Change some control icons.
* NEW: An icon for the Printer control.

[GB.GTK]
* NEW: The Printer control has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-31 02:51:59 +00:00
Benoît Minisini
25df6dde6a [GB.GTK]
* BUG: Rotations must be counter-clockwise when the angle is positive.

[GB.QT4]
* BUG: Rotations must be counter-clockwise when the angle is positive.


git-svn-id: svn://localhost/gambas/trunk@2573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:48:43 +00:00
Fabien Bodard
99f9df5340 [DEVELOPMENT ENVIRONMENT]
* NEW: Now the project classes symbols are correctly showed
       i just need to add constant and creatable infos


git-svn-id: svn://localhost/gambas/trunk@2572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:16:57 +00:00
Benoît Minisini
b1381b8956 [EXAMPLES]
* NEW: Fix the text extend example in Painting example.

git-svn-id: svn://localhost/gambas/trunk@2571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:11:45 +00:00
Benoît Minisini
e565884447 [EXAMPLES]
* NEW: Fix the radio button of the example #17 in Painting example.

git-svn-id: svn://localhost/gambas/trunk@2570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:59:31 +00:00
Benoît Minisini
e5107e258e [EXAMPLES]
* NEW: Add a module that includes a function that generates all example
  source text files directly from the Gambas source file in the Painting
  example.
* NEw: Some fixes in the source code of the Painting example.

[GB.GTK]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.

[GB.QT4]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.


git-svn-id: svn://localhost/gambas/trunk@2569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:55:35 +00:00
Laurent Carlier
41a6cb07b4 [GB.OPENGL]
* NEW: Remove extra parameter "size" for Gl.GetIntegerv, Gl.GetBooleanv, Gl.GetFloatv. All parameters size
  are managed internaly (at least for OpenGL 2.1). It's preferable to get an error message instead of failling silently.


git-svn-id: svn://localhost/gambas/trunk@2568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:08:31 +00:00
Benoît Minisini
c188e5e00c [GB.GTK]
* BUG: Fix splitter arrangement again.
* OPT: gFont::height() has been cached.


git-svn-id: svn://localhost/gambas/trunk@2567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 20:59:27 +00:00
Fabien Bodard
69ca2092f3 [EXAMPLES]
* NEW: New text example


git-svn-id: svn://localhost/gambas/trunk@2566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 18:18:48 +00:00
Benoît Minisini
8a990c36d3 [EXAMPLES]
* NEW: Cosmetic changes in Painting example.

[GB.GTK]
* BUG: Remove some apparently useless arrangement hacks, to fix an 
  infinite recursion when mixing splitter and other containers.


git-svn-id: svn://localhost/gambas/trunk@2565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 18:09:00 +00:00
Fabien Bodard
0a8c10141a [EXAMPLES]
* NEW: Painting, a text example


git-svn-id: svn://localhost/gambas/trunk@2564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 17:38:15 +00:00
Fabien Bodard
ad03e31635 [EXAMPLES]
* NEW: Painting, more examples


git-svn-id: svn://localhost/gambas/trunk@2563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 17:14:47 +00:00
Benoît Minisini
d8219ca649 [EXAMPLES]
* NEW: Some little cosmetic changes in Painting example.

git-svn-id: svn://localhost/gambas/trunk@2562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 17:06:51 +00:00
Benoît Minisini
5b3d4132d2 [EXAMPLES]
* NEW: Another image in the Painting example.
* OPT: The old image was converted to JPEG.

git-svn-id: svn://localhost/gambas/trunk@2561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:52:58 +00:00
Benoît Minisini
d01028cc99 [GB.DRAW]
* BUG: Fix the Brush.Matrix property management.


git-svn-id: svn://localhost/gambas/trunk@2560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:33:46 +00:00
Fabien Bodard
767de86c25 [EXAMPLES]
Bug


git-svn-id: svn://localhost/gambas/trunk@2559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:15:55 +00:00
Benoît Minisini
aaad5d823d [GB.QT4]
* NEW: Found a workaround to the non-antialiased clipping on X11 devices!


git-svn-id: svn://localhost/gambas/trunk@2558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:13:23 +00:00
Laurent Carlier
50bb203598 [GB.OPENGL.GLSL]
* BUG: Remove Gl.GetShaders, it's an unexistant openGL function !

yes it's a mistake, MY mistake :-)


git-svn-id: svn://localhost/gambas/trunk@2557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:00:42 +00:00
Fabien Bodard
36e6351a4c [EXAMPLES]
* NEW:  Painting example: Image and Image Pattern


git-svn-id: svn://localhost/gambas/trunk@2556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:59:53 +00:00
Benoît Minisini
6b0fd51325 [EXAMPLES]
* NEW: Cosmetic changes again in the Painting example.

[GB.DRAW]
* NEW: Paint.RelLineTo() is implemented by using Paint.LineTo().

[GB.GTK]
* NEW: Remove the implementation of Paint.RelLineTo().

[GB.QT4]
* NEW: Remove the implementation of Paint.RelLineTo().


git-svn-id: svn://localhost/gambas/trunk@2555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:23:44 +00:00
Benoît Minisini
77f8beef33 [EXAMPLES]
* NEW: Some little cosmetic changes in the Painting example.

git-svn-id: svn://localhost/gambas/trunk@2554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:05:54 +00:00
Fabien Bodard
e0f1ea7dca [EXAMPLES]
* NEW:  Painting example: Fill Style Example


git-svn-id: svn://localhost/gambas/trunk@2553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:00:26 +00:00
Fabien Bodard
e3127a80fe [EXAMPLES]
* NEW: Painting example: Gradient Example


git-svn-id: svn://localhost/gambas/trunk@2552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 14:41:17 +00:00
Benoît Minisini
26e37e4a53 [EXAMPLES]
* NEW: Enhance the Painting example with a rotate and a scale sliders.

git-svn-id: svn://localhost/gambas/trunk@2551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 14:04:25 +00:00
Fabien Bodard
1528d689fc [GB.DRAW]
* NEW: Paint.RelMoveTo and Paint.RelCurveTo have been added.


git-svn-id: svn://localhost/gambas/trunk@2550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 13:40:13 +00:00
Laurent Carlier
5ebcb50a84 [GB.OPENGL.GLSL]
* BUG: Fix typos; GetAttachedShader() -> GetAttachedShaders(), and CreateShader signature is now "ShaderType" instead of "Type".


git-svn-id: svn://localhost/gambas/trunk@2549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 13:33:30 +00:00