Commit graph

106 commits

Author SHA1 Message Date
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
78440de68d [DEVELOPMENT ENVIRONMENT]
* NEW: Add an "add everything to repository" menu entry.
* BUG: The user font config file is "~/config/fonts.conf", not 
  "~/config/.fonts.conf".

[GB.FORM]
* NEW: The Balloon background color is now the system tooltip background 
  color.

[GB.GTK]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.

[GB.OPENGL]
* BUG: Fix the missing "gl" prefix on two OepnGL calls.

[GB.QT4]
* NEW: Ignore trailing spaces in font description elements: you can use 
  Font["Arial  , 12, Bold "] now.



git-svn-id: svn://localhost/gambas/trunk@6209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-29 18:21:56 +00:00
Benoît Minisini
ce4ac176ef [GB.OPENGL]
* BUG: GL.GetString() now raises an error if the glGetString() function 
  fails.


git-svn-id: svn://localhost/gambas/trunk@6070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-01-07 20:45:18 +00:00
Benoît Minisini
28e75c6cec [GB.OPENGL]
* NEW: Implement gl.TexSubImage1D and gl.TexSubImage2D.


git-svn-id: svn://localhost/gambas/trunk@5997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-12-12 09:50:01 +00:00
Benoît Minisini
3d83c3eb15 [GB.OPENGL.SGE]
* BUG: Don't crash if a model has only one frame.


git-svn-id: svn://localhost/gambas/trunk@5967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-11-22 23:12:54 +00:00
Benoît Minisini
f27f0643cd [EXAMPLES]
* NEW: Md2Model: Draw a lot of models (up to about 240000 vertices, the 
  maximum I can draw in 1/50th second on my Core i5 @ 3.4 GHz).

[GB.OPENGL.SGE]
* OPT: Use triangle fan and strip commands to draw the models.
* NEW: Md2Object.Draw() returns the number of vertices drawn.


git-svn-id: svn://localhost/gambas/trunk@5838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-09 17:19:16 +00:00
Benoît Minisini
3f71877a8b [EXAMPLES]
* NEW: Rework Md2Model example with the new gb.opengl.sge interface.

[GB.OPENGL.SGE]
* NEW: Split the model into Md2Model and Md2Object classes. Many Md2Object
  can share the same model.


git-svn-id: svn://localhost/gambas/trunk@5837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 23:19:36 +00:00
Benoît Minisini
0d2256a19d [DEVELOPMENT ENVIRONMEMNT]
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.

[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of 
  models between six different ones.

[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not 
  ready.

[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
  the Abs() function.

[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl 
  directory.
* NEW: The component interface has been redesigned.

[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.

[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the 
  area before calling the Draw event handler.


git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-08 17:15:55 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
bd3410e80f [INTERPRETER]
* NEW: GB.ReturnSingle() is a new API that allows to return a Single from a 
  method or property implementation routine.

[GB.NET.POP3]
* NEW: Pop3Client has a new Remove() method to delete a message from its 
  index. Pop3Client.Remove(n) is just a synonymous for 
  Pop3Client[n].Delete.

[GB.OPENAL]
* NEW: New component for the OpenAL 3D audio library. Work in progress...

[GB.OPENGL]
* BUG: Fix a possible crash in GL.GenTextures(). I guess that bug will have 
  to be fixed in other equivalent routines.


git-svn-id: svn://localhost/gambas/trunk@5753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-21 16:19:26 +00:00
Tomek
e4f4e63ca4 [GB.OPENGL]
* NEW Added some new constants

[EXAMPLES]
*OPT Minor update to Md2Model Example



git-svn-id: svn://localhost/gambas/trunk@5595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-26 15:00:24 +00:00
Laurent Carlier
0f42c71746 [GB.OPENGL.GLU]
* BUG: Fix typos in Glu.Project and associated methods.


git-svn-id: svn://localhost/gambas/trunk@5367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 10:46:15 +00:00
Laurent Carlier
cfc4f1242b [GB.OPENGL.GLU]
* NEW: Add Glu.Project, Glu.UnProject and Glu.UnProject4 methods.

These methods are returning a Float array as the result. This Float[]
can be NULL in case of failure or if the Arrays passed as parameter are
not of the proper size; Modelview and Projection are 16 values Arrays,
Viewport is a 4 values Array.
 


git-svn-id: svn://localhost/gambas/trunk@5355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 11:02:51 +00:00
Benoît Minisini
8539a2a02d [DEVELOPMENT ENVIRONMENT]
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.

[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.

[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
  crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
  symbol.

[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with 
  "nan" or other special numeric strings.

[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when 
  there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control 
  entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.

[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.

[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.


git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 18:59:14 +00:00
Benoît Minisini
4d8d507276 [GB.OPENGL]
* BUG: Add synonymous starting with an underscore for constants beginning 
  with a digit.

[GB.OPENGL.GLSL]
* BUG: Remove the "GL_" prefix in all constants.


git-svn-id: svn://localhost/gambas/trunk@5084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 03:02:43 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* BUG: When a top-level source directory actually several components, 
  compile the sub-components *after* the main components. This is 
  especially important with gb.xml and gb.xml.rpc.


git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:51:54 +00:00
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