Commit graph

878 commits

Author SHA1 Message Date
Fabien Bodard
e183563213 [GB.GTK]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position

[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position



git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 11:09:25 +00:00
Benoît Minisini
8bd9372f83 [GB.GTK]
* BUG: Fix the Paint.LineWidth, Paint.Dash and Paint.DashOffset properties.
  Now the dash positions and the dash offset are in line width units.

[GB.QT4]
* BUG: Paint.Begin correctly initializes the default line join style.
* BUG: Draw.Begin now fails if the device is being painted somewhere else.


git-svn-id: svn://localhost/gambas/trunk@2545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 02:15:00 +00:00
Benoît Minisini
be7b2620de [GB.GTK]
* BUG: Paint.Arc() has been fixed.

[GB.QT4]
* BUG: Paint.Begin() now starts with a solid black brush.


git-svn-id: svn://localhost/gambas/trunk@2544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 00:12:09 +00:00
Benoît Minisini
79e76072d1 [WIKI CGI SCRIPT]
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.

[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after 
  having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal 
  point, like in SVG standard.

[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.

[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 23:18:43 +00:00
Benoît Minisini
8e7661d2c6 [GB.DRAW]
* BUG: Paint.RichText() has been removed.

[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.

[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 21:42:40 +00:00
Benoît Minisini
d752c36ade [GB.IMAGE]
* BUG: Fix the macro that splits a Gambas color into its components and 
  revert the alpha value.


git-svn-id: svn://localhost/gambas/trunk@2541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:19:33 +00:00
Benoît Minisini
71af715f2a [GB.GTK]
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment 
  argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.

[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.


git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:08:06 +00:00
Benoît Minisini
da664d19ff [GB.IMAGE]
* NEW: Image.Mask is new method that mask the colors of an image with 
  another color, and that enhance the alpha channel with the alpha channel 
  of that another color.


git-svn-id: svn://localhost/gambas/trunk@2539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 11:56:43 +00:00
Benoît Minisini
ef53dddcfd [GB.DRAW]
* BUG: Fix a memory leak in Paint class transformation matrix management.

[GB.GTK]
* BUG: Paint.Image works correctly now.
* BUG: The PaintBrush matrix works the same way as in gb.qt4 now, i.e. it 
  is inverted compared with Cairo!


git-svn-id: svn://localhost/gambas/trunk@2538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 02:26:30 +00:00
Benoît Minisini
e644006626 [WIKI CGI SCRIPT]
* BUG: Handle cyclic dependencies between components correctly.

[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.

[GB.GTK]
* NEW: Start implementing the Paint interface.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 01:21:39 +00:00
Laurent Carlier
c7d04a158e [GB.OPENGL.QT]
* BUG: Correctly initialize gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 00:51:25 +00:00
Laurent Carlier
491b6fbbf7 [GB.OPENGL.QT4]
* BUG: Correctly initialize gb.opengl component.


git-svn-id: svn://localhost/gambas/trunk@2535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 00:48:52 +00:00
Laurent Carlier
eef5ede511 [GB.OPENGL]
* BUG: Fix external GL interface name (GB_OPENGL_1 instead of GB_OPENGL) preventing component to
  be loaded. 


git-svn-id: svn://localhost/gambas/trunk@2534 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 00:31:12 +00:00
Benoît Minisini
2ed6fa4f79 [GB.DRAW]
* BUG: Forgot to free PaintMatrix objects.


git-svn-id: svn://localhost/gambas/trunk@2533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 12:37:49 +00:00
Benoît Minisini
7ebcf93a44 [DEVELOPMENT ENVIRONMENT]
* BUG: The modifying help button now works on the help root page.
* BUG: Sorting components does not enter an infinite loop anymore when 
  there are circular dependencies between components.


git-svn-id: svn://localhost/gambas/trunk@2532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 02:54:32 +00:00
Benoît Minisini
ea6ce6b566 [GB.QT4]
* NEW: Forgot the two new source files.


git-svn-id: svn://localhost/gambas/trunk@2531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:22:13 +00:00
Benoît Minisini
774baa91f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not apply the new DrawingArea.Painted property.

[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
  rudimentary at the moment.

[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
  Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:19:27 +00:00
Laurent Carlier
cb17f588aa [CONFIGURATION]
* BUG: Add symlink support for ltmain.sh in build-dist script.


git-svn-id: svn://localhost/gambas/trunk@2529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 00:46:07 +00:00
Laurent Carlier
438c6be3ef [GB.QT4.OPENGL]
* BUG: Remove OpenGL detection, as QtOpenGL implies that GL files and support are presents.


git-svn-id: svn://localhost/gambas/trunk@2528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 00:30:46 +00:00
Laurent Carlier
bc0d1f80ee [GB.OPENGL]
* NEW: Add internal GL_COMPRESSED_TEXTURE_FORMATS support through Gl.Gets, also do some code cleanup.


git-svn-id: svn://localhost/gambas/trunk@2527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 00:06:37 +00:00
Laurent Carlier
d950667703 [GB.OPENGL.GLSL]
* BUG: Fixed a typo (GLUNIFORM2FI->GLUNIFORM2IV)


git-svn-id: svn://localhost/gambas/trunk@2526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 23:26:59 +00:00
Laurent Carlier
7109b1d436 [GB.QT.OPENGL]
* NEW: Remove dependency with glew library, as the component use now the GL_INTERFACE api.


git-svn-id: svn://localhost/gambas/trunk@2525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 23:19:53 +00:00
Laurent Carlier
4918f83cdf [GB.QT4.OPENGL]
* NEW: Remove dependency with glew library, as the component use now the GL_INTERFACE api.


git-svn-id: svn://localhost/gambas/trunk@2524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 23:13:08 +00:00
Laurent Carlier
8cfd420ed4 [GB.OPENGL]
* BUG: Add interface version in gb.gl.h.


git-svn-id: svn://localhost/gambas/trunk@2523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 22:55:10 +00:00
Laurent Carlier
6c3d840326 [GB.OPENGL]
* NEW: Add a GL_INTERFACE, Init must be called when an openGL context is created
  to properly initialize gb.opengl component.

Some cleanup too, no more needs for testing glx and context creation inside gb.opengl
component, all init will be done through Init call.


git-svn-id: svn://localhost/gambas/trunk@2522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 22:48:26 +00:00
Benoît Minisini
67a672c6d7 [CONFIGURATION]
* NEW: Do not compile gb.qt.kde anymore.

[GB.DRAW]
* NEW: Work continues on the new Paint interface.


git-svn-id: svn://localhost/gambas/trunk@2521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 15:51:27 +00:00
Laurent Carlier
a797cf2bfc [GB.OPENGL.GLSL]
* NEW: Add Gl.Uniform{1,2,3,4}iv and Gl.Uniform{1,2,3,4}fv methods.


git-svn-id: svn://localhost/gambas/trunk@2520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 00:51:15 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Laurent Carlier
a642cb18c5 [CONFIGURATION]
* BUG:Remove more m4 macros as they are refreshed by aclocal.


git-svn-id: svn://localhost/gambas/trunk@2518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 19:08:10 +00:00
Benoît Minisini
ccfd94594f [GB.OPENGL.GLSL]
* BUG: Remove a Makefile.in file that must not be in the repository.

[GB.QT4]
* BUG: The ComboBox Click event now is raised correctly when setting the 
  Text property. 


git-svn-id: svn://localhost/gambas/trunk@2516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 16:28:28 +00:00
Benoît Minisini
efb2659278 [CONFIGURATION]
* BUG: Remove the libtoolize "--install" flag in the reconf script, as it 
  breaks the "main" source sub-directory. We must add an option to this
  script to handle that flag correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display errors raised at program startup.

[EXAMPLES]
* BUG: The Notepad example has been fixed.

[GB.DRAW]
* NEW: Work continue on the Paint class.


git-svn-id: svn://localhost/gambas/trunk@2514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 15:09:08 +00:00
Laurent Carlier
a05c17d9cc [GB.SDL]
* BUG: Remove running SDL events in a separate thread, as it give instability.


git-svn-id: svn://localhost/gambas/trunk@2512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 12:36:05 +00:00
Laurent Carlier
4dbca3f22d [GB.OPENGL.GLSL]
* NEW: Add missing method Gl.GetProgramInfoLog()


git-svn-id: svn://localhost/gambas/trunk@2511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 12:24:01 +00:00
Laurent Carlier
fe929cce9e [GB.OPENGL]
* NEW: Add dependency to glew library.
* NEW: New method Gl.GetString() for Gl.GL_VENDOR, ....

[GB.OPENGL.GLSL]
* NEW: New component to use shaders.

- Some code cleanup, add add more constants support for Gl.GetXXXX
- Still missing some features to plainly use shaders, not fully tested
  but it's building fine :-p 


git-svn-id: svn://localhost/gambas/trunk@2510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 11:34:17 +00:00
Laurent Carlier
0f259a6c28 [GB.QT.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 10:03:16 +00:00
Laurent Carlier
63d43018fa [GB.QT4.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:56:17 +00:00
Laurent Carlier
aaeaf5e5bc [GB.SDL]
* NEW: Add dependency to libglew, needed for gb.opengl component.

libglew : http://glew.sourceforge.net/



git-svn-id: svn://localhost/gambas/trunk@2507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:23:24 +00:00
Benoît Minisini
93969ee0b3 [GB.QT4]
* BUG: Fix Error signal management in Embedded control.


git-svn-id: svn://localhost/gambas/trunk@2506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:19:51 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +00:00
Fabien Bodard
3bc2b33d1b [GB.CHART]
* BUG: Replace the obsolete BackColor ans ForeColor by BackGround ans ForeGround


git-svn-id: svn://localhost/gambas/trunk@2502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-23 18:41:44 +00:00
Fabien Bodard
268ef0d6bd [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add a tree in the help explorer
  not finished yet


git-svn-id: svn://localhost/gambas/trunk@2498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-17 11:34:54 +00:00
Laurent Carlier
88163aa9de [GB.OPENGL]
* BUG: Fix gluPickMatrix typo.


git-svn-id: svn://localhost/gambas/trunk@2497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 23:37:06 +00:00
Fabien Bodard
8e2f604110 [DEVELOPMENT ENVIRONMENT]
* BUG: The help on the line of declarations is correctly detected again


git-svn-id: svn://localhost/gambas/trunk@2496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 08:03:06 +00:00
Benoît Minisini
f4139e1c7b [DEVELOPMENT ENVIRONMENT]
* NEW: Display help on local variables in automatic completion.
* NEW: Enhance the help wiki syntax. Links in uppercase are supposed to be 
  language keywords. And lines beginning with "+" are titles.

[WIKI CGI SCRIPT]
* NEW: Online help pages now stay in the cache during one week.

[EXAMPLES]
* BUG: The HighlightEditor example now uses Qt4.

[GB.EVAL]
* BUG: Help comments are correctly highlighted in all cases now.

[GB.FORM]
* BUG: Balloons are drawn correctly again.

[GB.QT4.EXT]
* BUG: Many bug fixes in Editor rendering.


git-svn-id: svn://localhost/gambas/trunk@2495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 00:06:54 +00:00
Benoît Minisini
0c1b17316e [DEVELOPMENT ENVIRONMENT]
* NEW: Syntax highlighting for help comments.
* NEW: Implement a wiki-like syntax inside help comments.

[GB.EVAL]
* NEW: Syntax highlighting for help comments.

[GB.QT4]
* NEW: The TextArea.Line and TextArea.Column properties has been 
  implemented.

[GB.QT4.EXT]
* NEW: Syntax highlighting for help comments in Editor.
* OPT: Editor view has been redesigned to inherit directly Q3ScrollView 
  instead of Q3GridView.
* BUG: The editor background color has no impact anymore on the editor 
  frame.


git-svn-id: svn://localhost/gambas/trunk@2494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-14 03:45:22 +00:00
Benoît Minisini
d7879986d8 [DEVELOPMENT ENVIRONMENT]
* NEW: Document a method for Fabien.


git-svn-id: svn://localhost/gambas/trunk@2493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:50:45 +00:00
Benoît Minisini
fb73954f71 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the signature of project symbols in the popup help.

[GB.WEB]
* BUG: Remove the Response.Cache property. HTTP caching headers are more 
  complex than I thought first.

[GB.QT4]
* BUG: Background and Foreground colors should now be handled correctly in 
  all controls.

[GB.QT4.EXT]
* BUG: The background color of the Editor control has been fixed, but it 
  has the same problem as the TextBox control one: the frame is not drawn 
  differently from the inside.


git-svn-id: svn://localhost/gambas/trunk@2492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:17:03 +00:00
Fabien Bodard
72d312c97e [INTERPRETER]
* BUG: Now the stack spliter is correcly set in all case.
  The entry in conf file must be corrected or conf file removed.


git-svn-id: svn://localhost/gambas/trunk@2491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 14:03:00 +00:00
Fabien Bodard
80352aab2f [DEVELOPMENT ENVIRONMENT]
* BUG: Now in DebugInfo the Setting default value is correctly set, 
  so we can see the stack backtrace.


git-svn-id: svn://localhost/gambas/trunk@2490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 08:32:11 +00:00
Benoît Minisini
2eba40e822 [CONFIGURATION]
* NEW: The online help has been removed.


git-svn-id: svn://localhost/gambas/trunk@2488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 11:45:36 +00:00