Commit graph

89 commits

Author SHA1 Message Date
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
be3f9198e5 [GB.OPENGL]
* BUG: Fix gb.opengl compilation.


git-svn-id: svn://localhost/gambas/trunk@4718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 18:46:18 +00:00
Benoît Minisini
409f3ed4d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.

[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.

[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
  gtkglext library.

[GB.OPENGL]
* BUG: Initialize GLEW once.

[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.

[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some 
  systems. Wait for a better solution...


git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 01:14:57 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
8d3ba2dc15 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when the form editor gets a spurious resize 
  event whereas undo management has been uninitialized.
* NEW: Libraries now can have requirements exactly like components. This is
  taken into account by the project property dialog.

[ARCHIVER]
* NEW: Put the '.component' file inside archives, so that the IDE can 
  extract libraries requirements from the executable.

[GB.FORM]
* NEW: Add two pixels to the height of the TabPanel tabbar.


git-svn-id: svn://localhost/gambas/trunk@4475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 23:29:18 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
296ae062ba [INTERPRETER]
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned 
  value is a Variant, as now the interpreter does not do the conversion
  automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
  everywhere it is needed.


git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 01:06:51 +00:00
Laurent Carlier
f0ecead64d [GB.SDL]
BUG: Add missing Gl.PolygonOffset method.


git-svn-id: svn://localhost/gambas/trunk@4231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-02 21:45:13 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
4f77c03519 [WIKI CGI SCRIPT]
* NEW: Some enhancements in OpenGL automatic documentation.

[WEB SITE MAKER]
* NEW: Update website for Gambas 3.0 RC2.

[GB.OPENGL]
* BUG: Rename Gl.BITMAP as Gl.BITMAP_, because there is a Gl.Bitmap() 
  function.


git-svn-id: svn://localhost/gambas/trunk@4009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-11 15:30:07 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
b1836f8b9b [GB.OPENGL.GLU]
* BUG: Fix Makefile.am file.


git-svn-id: svn://localhost/gambas/trunk@4006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:17:18 +00:00
Tomek
a39958f945 [GB.OPENGL]
* BUG: doubled definition of TEXTURE_RECTANGLE_ARB - removed one.


git-svn-id: svn://localhost/gambas/trunk@4001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 16:53:34 +00:00
Laurent Carlier
057e6502ca [GB.OPENGL]
* NEW: Add support for GL_ARB_texture_rectangle extension



git-svn-id: svn://localhost/gambas/trunk@3994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-08 21:07:35 +00:00
Laurent Carlier
52a8641a9e [GB.OPENGL]
NEW: Add Gl.FramebufferRenderbufferEXT(), Gl.FramebufferTexture1DEXT(), Gl.FramebufferTexture3DEXT(), Gl.GenerateMipmapEXT()
     Gl.GetFramebufferAttachmentParameterivEXT(), Gl.GetRenderbufferParameterivEXT() methods.
     GL_EXT_framebuffer_object extension is completed.



git-svn-id: svn://localhost/gambas/trunk@3993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 20:55:31 +00:00
Laurent Carlier
3c86550bef [GB.OPENGL]
* NEW: Add Gl.DeleteFramebuffersEXT(), Gl.DeleteRenderbuffersEXT(), Gl.IsFramebufferEXT() and  Gl.RenderbufferStorageEXT() methods.



git-svn-id: svn://localhost/gambas/trunk@3992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 20:20:16 +00:00
Benoît Minisini
5853b91940 [GB.OPENGL]
* BUG: Three constants and methods had the same name. So I added an 
  underscore to these constants to fix that. Now you must use GL.ACCUM_, 
  GL_CLEAR_, and GL_VIEWPORT_.


git-svn-id: svn://localhost/gambas/trunk@3988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 19:00:27 +00:00
Laurent Carlier
2e9f0c57b8 [GB.OPENGL]
* BUG: Fix Gl.GenFramebuffersEXT() method
* NEW: Add methods Gl.BindRenderbufferEXT(), Gl.GenRenderbuffersEXT() and Gl.IsRenderbufferEXT()



git-svn-id: svn://localhost/gambas/trunk@3987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 18:53:36 +00:00
Benoît Minisini
7ff239e8d8 [GB.OPENGL]
* NEW: Remove "GL_" from the constant names in the Gl class. The old 
  constant names are supported, but emit a warning message.


git-svn-id: svn://localhost/gambas/trunk@3986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 18:28:16 +00:00
Laurent Carlier
950f22bd45 [GB.OPENGL]
* NEW: Add all constants for GL_EXT_framebufferobject extension


git-svn-id: svn://localhost/gambas/trunk@3985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 16:32:54 +00:00
Laurent Carlier
af119c4487 [GB.OPENGL]
* BUG: Fix building



git-svn-id: svn://localhost/gambas/trunk@3984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 16:09:59 +00:00
Laurent Carlier
e7794807a9 Remove GLU files from GL directory
git-svn-id: svn://localhost/gambas/trunk@3983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 16:04:03 +00:00
Laurent Carlier
2df135f767 [GB.OPENGL.GLSL]
* BUG: Remove FrambufferObject extension functions from glsl component.

[GB.OPENGL]
* NEW: Add some FramebufferObject extension functions.


git-svn-id: svn://localhost/gambas/trunk@3982 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 16:02:41 +00:00
Benoît Minisini
35a924e058 [GB.OPENGL.GLU]
* NEW: Remove "GLU_" prefix from GLU constants.
* NEW: Add many GLU constants used by the GLU methods implemented in the 
  component.
* NEW: Add Glu.QuadricOrientation() and Glu.QuadricDrawStyle() methods.


git-svn-id: svn://localhost/gambas/trunk@3980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 13:00:37 +00:00
Tomek
3ec78089b8 [GB.OPENGL]
* BUG: In GLeval.c changed GB_SINGLE to GB_FLOAT to make Gl2Map work.


git-svn-id: svn://localhost/gambas/trunk@3978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-06 16:19:39 +00:00
Benoît Minisini
8c7b7f06a7 [GB.OPENGL.GLU]
* BUG: Fix the implementation of GluNurb and GluQuadric.
* NEW: Deleting a nurb or a quadric make the Gambas object invalid now.


git-svn-id: svn://localhost/gambas/trunk@3977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-06 02:47:29 +00:00
Tomek
7f92ac5969 [GB.OPENGL.GLU]
* BUG: Quadrics and Nurbs finally work properly using proper classes.


git-svn-id: svn://localhost/gambas/trunk@3976 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 22:09:28 +00:00
Benoît Minisini
d8b516e8b6 [GB.OPENGL.GLU]
* BUG: Fix some typo mistake and add the GluQuadricDesc class description
  to the component class description list.


git-svn-id: svn://localhost/gambas/trunk@3975 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 18:00:56 +00:00
Benoît Minisini
0e9b6dc007 [GB.OPENGL.GLU]
* BUG: Add missing ';' at the end of class names in method signatures.


git-svn-id: svn://localhost/gambas/trunk@3974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:58:11 +00:00
Tomek
29a44222e7 [GB.OPENGL]
* BUG: Error in GLU.h file Fixed.


git-svn-id: svn://localhost/gambas/trunk@3970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 08:27:58 +00:00
Tomek
927bad68f3 [GB.OPENGL]
* BUG: Changes in Quadrics definition code from pointer to object - needs
	some cleanup. Nurbs will follow. 


git-svn-id: svn://localhost/gambas/trunk@3969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 08:25:55 +00:00
Tomek
a27dbcc5aa [GB.OPENGL]
* NEW: Multitexture mapping constants and gl.ActiveTexture function.


git-svn-id: svn://localhost/gambas/trunk@3966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-03 14:52:44 +00:00
Laurent Carlier
5edf50d87b [GB.OPENGL]
* NEW: Gl.CheckExtensions() to check the openGL driver extensions/ability support.

' Check if the driver support OpenGL 1.4 and GL_ARB_point_sprite extension
PRINT Gl.CheckExtensions("GL_VERSION_1_4  GL_ARB_point_sprite")

--> TRUE or FALSE



git-svn-id: svn://localhost/gambas/trunk@3965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-03 07:20:37 +00:00
Tomek
44c7f36adf [GL.OPENGL]
* NEW: glTexGen and glMultiTexcoord functions


git-svn-id: svn://localhost/gambas/trunk@3962 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 16:21:08 +00:00
Tomek
c27b8eb64a [GB.OPENGL]
* BUG: Missing glu and glsl files


git-svn-id: svn://localhost/gambas/trunk@3961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 15:43:09 +00:00
Tomek
ccc22a8f5f [GB.OPENGL]
* NEW: Nurbs functions
* NEW: Basic quadratic shapes (sphere, cylinder, cone, disk)


git-svn-id: svn://localhost/gambas/trunk@3960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 14:43:01 +00:00
Tomek
2296bb88d5 [GB.OPENGL]
* NEW: GLSL attribute variable definition and setting functions. 


git-svn-id: svn://localhost/gambas/trunk@3959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 14:32:57 +00:00
Benoît Minisini
492779760f [GB.OPENGL]
* BUG: Correctly specify the number of color components when using an Image
  in an OpenGL function: glTexImage1D, glTexImage2D, gluBuild2DMipmaps...


git-svn-id: svn://localhost/gambas/trunk@3958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 08:44:48 +00:00
Laurent Carlier
c44293e207 [GB.SDL]
* NEW: Add Gl.EvalCoord2fv() evaluator method.


git-svn-id: svn://localhost/gambas/trunk@3928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-05 12:40:58 +00:00
Laurent Carlier
7c27920e3f [GB.OPENGL]
* NEW: Add support for GL evaluators, some associated Gets are missing. (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:43:10 +00:00
Laurent Carlier
fc6e9b74b5 [GB.OPENGL]
* NEW: Add evaluator file (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:33:12 +00:00
Laurent Carlier
e511b62f95 [GB.OPENGL]
* NEW:  Add evaluator header file (Tomek)



git-svn-id: svn://localhost/gambas/trunk@3923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:13:54 +00:00
Laurent Carlier
3e1279a121 [GB.OPENGL]
* NEW: Add evaluators constants (Tomek)


git-svn-id: svn://localhost/gambas/trunk@3922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 20:05:42 +00:00
Laurent Carlier
cfe20cf459 [GB.OPENGL.GLSL]
* BUG: Restore prefix GL in glew header inclusion for debian based packages.



git-svn-id: svn://localhost/gambas/trunk@3895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-21 10:17:34 +00:00
Laurent Carlier
541407d8a6 [GB.OPENGL]
* BUG: Restore prefix GL in glew header inclusion for debian based packages.


git-svn-id: svn://localhost/gambas/trunk@3894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-21 09:44:35 +00:00
Laurent Carlier
ced3c8066d fiw a typo: <glew.h> instead of <GL/glew.h>
git-svn-id: svn://localhost/gambas/trunk@3891 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-18 14:02:06 +00:00
Laurent Carlier
f3146d84fd [GB.OPENGL]
* BUG: Use pkg-config to detect needed libraries, should fix building on OSX.


git-svn-id: svn://localhost/gambas/trunk@3890 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-18 13:59:52 +00:00
Laurent Carlier
c2b8568ef3 [GB.OPENGL]
* BUG: No need to search for glu.h file.


git-svn-id: svn://localhost/gambas/trunk@3889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-15 20:55:01 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Laurent Carlier
50cc5e432c [GB.OPENGL]
* NEW: Remove Glu methods from the component. Should help on systems where glu isn't available.
  also safe a bit of memory when glu isn't mandatory.

[GB.OPENGL.GLU]
* NEW: New component including Glu functions from the gb.opengl component.


git-svn-id: svn://localhost/gambas/trunk@3714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-01 09:15:55 +00:00