Commit graph

36 commits

Author SHA1 Message Date
Laurent Carlier
c9750f23a5 [GB.OPENGL]
* BUG: Fix building when FLTK toolkit is installed.


git-svn-id: svn://localhost/gambas/trunk@2808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 16:52:56 +00:00
Laurent Carlier
8c33a256c3 [GB.OPENGL]
* BUG: Enable Glu.PickMatrix() method


git-svn-id: svn://localhost/gambas/trunk@2670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 23:16:34 +00:00
Benoît Minisini
a1635a40a5 [GB.DB.MYSQL]
* NEW: Search include and library files in /opt/local for Mac OS X.

[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it 
  does not compile yet.

[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
  Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!



git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-21 16:46:21 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Laurent Carlier
16a9dd7929 [GB.OPENGL]
* BUG: Fix returned Integer[][] with Gl.RenderModel() call.


git-svn-id: svn://localhost/gambas/trunk@2270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-25 16:49:33 +00:00
Benoît Minisini
1b213d482d [GB.OPENGL]
* NEW: Use "Integer[][]" instead of "Object[]". That seems to work. :-)


git-svn-id: svn://localhost/gambas/trunk@2269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:31:10 +00:00
Benoît Minisini
bd15563f2f [DEVELOPMENT ENVIRONMENT]
* NEW: Double-click is needed to modify a value in the debugger. But now
  you can't reset an object value to NULL. Something to fix later...

[GB.DEBUG]
* BUG: Fix an uninitialized value that made the debugger crash when 
  trying to see if an object can act like an array.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler >= 0.11.3.


git-svn-id: svn://localhost/gambas/trunk@2268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:30:23 +00:00
Laurent Carlier
e0dfa431e6 [GB.OPENGL]
* BUG: Fix Gl.RenderMode() return values. It can return an Integer[][] (with Gl.GL_SELECT)
  or a Float[] (with Gl.GL_FEEDBACK)



git-svn-id: svn://localhost/gambas/trunk@2257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 21:59:47 +00:00
Laurent Carlier
4f027f7eca [GB.OPENGL]
* BUG: Fix bad code factorization with Gl.Vertex Gl.Color Gl.TexCoord Gl.RasterPos
* NEW: New methods to do opengl select and picking:
       Glu.PickMatrix(), Gl.FeedbackBuffer(), Gl.InitNames(), Gl.LoadName(), Gl.PassThrough(), Gl.PopName(),
       Gl.PushName(), Gl.SelectBuffer()

Rename some files; GLSelectPixmap.* are now rename as GLSelectFeedback.*; this follow the sheme from
OpenGL Blue Book chapter 3.


git-svn-id: svn://localhost/gambas/trunk@2248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 17:17:29 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Benoît Minisini
5e79f7228e [CONFIGURATION]
* BUG: Fix the GB_COMPONENT() macro so that it defines XXX_LDFLAGS and 
  XXX_LIB variables as in the GB_COMPONENT_PKG_CONFIG() macro. The 
  Makefile.am files of components were fixed accordingly.

[GB.DB.FIREBIRD]
* NEW: Switch to ibpp 2.5.3.1.
* BUG: Link the driver to the fbclient library.

[GB.GTK]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented.

[GB.QT4]
* NEW: TreeView.Item.ParentKey and ColumnView.Item.ParentKey were 
  implemented. The previous change incorrectly talked about 
  TreeView.ParentKey and ColumnView.ParentKey.


git-svn-id: svn://localhost/gambas/trunk@2066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-03 23:41:55 +00:00
Laurent Carlier
2cd20dfc3e [GB.OPENGL]
* BUG: Add generic search for libglu, should fix building on Ubuntu Jaunty.



git-svn-id: svn://localhost/gambas/trunk@2016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-13 18:13:51 +00:00
Laurent Carlier
7913b97814 [GB.OPENGL]
* NEW: Use pkg-config for configuring 
  


git-svn-id: svn://localhost/gambas/trunk@1993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-06-02 21:19:45 +00:00
Benoît Minisini
e945a9faa6 [INTERPRETER]
* NEW: Requesting a component interface automatically loads the component 
  now.
* NEW: The Image and Picture functions in the interpreter API were removed.

[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
  This function replaces the removed Picture interpreter API.

[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements 
  the Image class, can create images of many formats (RGB, RGBA, BGRA...) 
  and convert image data between different formats. This component replaces
  the previous interpreter Image API. All components were ported to this
  new image management system by loading this component automatically.
  Beware that the Image constructor has changed! The transparent property
  has been removed, and there is an optional color argument that is used
  for initializing the image data. Moreover, many classes (Webcam, 
  PdfDocument...) that have an Image property lost their Picture property.
  Now to get a Picture, you must use the Image property and then convert
  the Image to a Picture.

[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it 
  must be declared early, at least earlier than the Picture class.


git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-16 23:12:10 +00:00
Laurent Carlier
3dbbaa34ac [GB.OPENGL]
* BUG: Add missing support for Gl.Normal3fv(Float[]) and Gl.Normal3iv(Integer[]).


git-svn-id: svn://localhost/gambas/trunk@1517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-08-25 14:51:53 +00:00
Benoît Minisini
f9aee465a3 [CONFIGURATION]
* BUG: config.h.in files were removed from repository.

[DEVELOPMENT ENVIRONMENT]
* BUG: The initial stack backtrace list width is correct now.


git-svn-id: svn://localhost/gambas/trunk@1233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 01:07:33 +00:00
Benoît Minisini
4c02c6d338 ******** Merged /branches/64bits r918:1003 into /trunk
[CONFIGURATION]
* NEW: 64 bits port.

[EXAMPLES]
* BUG: Fixed the AnalogWatch example.

[WIKI CGI SCRIPT]
* NEW: Some little cosmetic changes.

[INTERPRETER]
* NEW: The extern function implementation has been redesigned and is now
  based on libffi, so that it works on 64 bits system. Because of a flaw in
  the compiler design, projects that use the Pointer datatype must be
  recompiled to be used on a 64 bits system. This flaw will be fixed in
  Gambas 3.
* OPT: Put some tables into read-only memory. About 1000 bytes are saved
  for each running interpreter, except the first one.
* BUG: Does not crash anymore if a component cannot be loaded.
* NEW: Spanish translation updated.
* NEW: A new interpreter API for returning a pointer.

[COMPILER]
* BUG: Correctly compiles LONG constants inside code.

[GB.DEBUG]
* BUG: Compiles and links the gb.debug components with the thread
  libraries.

[GB.DB.SQLITE3]
* BUG: Getting the primary index of a table without primary index is safe
  now.

[GB.GTK]
* BUG: Modified the GLib priority of watched descriptors, as the main loop 
  could enter in a loop in which user interface events were not managed.
* BUG: Message boxes use application title without crashing now.

[GB.OPENGL]
* BUG: Disable dead code.

[GB.QT.EXT]
* BUG: TextEdit.TextWidth and TextEdit.TextHeight were not declared as
  read-only properties.

[GB.XML.XSLT]
* BUG: XSLT class is now declared as being not creatable.


git-svn-id: svn://localhost/gambas/trunk@1006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-17 21:39:26 +00:00
Benoît Minisini
72aabf1920 [CONFIGURATION]
* BUG: Try to detect correctly all X11 linking paramters.

[64 BITS]
* NEW: Start to remove all ambiguous datatypes.

[DEVELOPMENT ENVIRONMENT]
* NEW: The gambas2 project was renamed to gambas3.
* BUG: The completion and signature font sizes are now the default one.
* NEW: Add support for Basque language.

[WIKI CGI SCRIPT]
* BUG: The symbol pages work again, and inheritance between class belonging
  to different components now is taken into account correctly.

[SCRIPTER]
* NEW: The gbs2 project was renamed to gbs3.


git-svn-id: svn://localhost/gambas/trunk@914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-05 14:07:21 +00:00
Benoît Minisini
ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00