Commit graph

2156 commits

Author SHA1 Message Date
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
baca68369a [DEVELOPMENT ENVIRONMENT]
* NEW: An option to format code when loading or saving a file.


git-svn-id: svn://localhost/gambas/trunk@3981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 14:01:31 +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
Benoît Minisini
513c079f15 [DEVELOPMENT ENVIRONMENT]
* NEW: "Pretty print" is now "Format code".
* NEW: New option tab the code formatter in the option dialog.

[GB.FORM]
* NEW: The IconPanel left panel now correctly resizes itself to fit its
  contents.

[GB.GTK]
* NEW: Remove the Window.Type property and the WindowType class.

[GB.QT4]
* NEW: Remove the Window.Type property and the WindowType class.


git-svn-id: svn://localhost/gambas/trunk@3979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 11:22:09 +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
Benoît Minisini
321728322e [INTERPRETER]
* NEW: Be more robust with native method signatures that forget the ';' at
  the end of a class name, provided that a brace follows.


git-svn-id: svn://localhost/gambas/trunk@3973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:57:42 +00:00
Benoît Minisini
9390960ec3 [DEVELOPMENT ENVIRONMENT]
* NEW: Hitting ENTER inside a comment line automatically begins a new 
  comment line. Usinh SHIFT disables that feature.


git-svn-id: svn://localhost/gambas/trunk@3972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:49:09 +00:00
Benoît Minisini
cd83028ccd [DEVELOPPEMENT ENVIRONMENT]
* BUG: Modifying table fields and indexes many times now works correctly.
* BUG: Fix drag & drop between two IDE windows.
* NEW: Pretty printer now acts on selected text.
* NEW: CSV import and automatic field conversion now can deal with both
  localized and non-localized data (i.e. floating point numbers with point
  or comma).

[GB.DB]
* BUG: Type mismatch error is correctly raised now when setting the value
  of a Result field.

[GB.DB.FORM]
* BUG: Some fixes in DataComboView.

[GB.FORM]
* NEW: IconPanel now automatically resizes the left panel to fit its 
  contents.


git-svn-id: svn://localhost/gambas/trunk@3971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-05 16:03:59 +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
Benoît Minisini
ed4c392d39 [GB.GTK]
* BUG: Compile again with GTK+ 2.x.
* BUG: Fix how popup windows are displayed.


git-svn-id: svn://localhost/gambas/trunk@3968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-04 22:43:07 +00:00
Benoît Minisini
ecc5e010b5 [DEVELOPMENT ENVIRONMENT]
* BUG: Starting a new search automatically resets the search list.

[EXAMPLES]
* NEW: New OpenGL examples from NeHe tutorials.
* BUG: Remove printing from BarCode example, it does not work anymore.

[GB.DB.FORM]
* NEW: Replace the DataComboMulti control by a DataComboView control. It is
  not completely well tested, but it works better than its predecessor.
* NEW: Data controls icons were redesigned.

[GB.GTK]
* BUG: Fix two crashes in GridView control.

[GB.SDL]
* BUG: Key[x] works correctly with letter keys now.


git-svn-id: svn://localhost/gambas/trunk@3967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-03 19:39:41 +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
Benoît Minisini
750758a5b4 [GB.DB.MYSQL]
* NEW: Support for MyySQL 5 BIT(x) field datatype.


git-svn-id: svn://localhost/gambas/trunk@3964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-02 21:26:43 +00:00
Benoît Minisini
dfd894971e [INTERPRETER]
* BUG: Translatable string constants are now correctly translated when they
  are used as public symbols.


git-svn-id: svn://localhost/gambas/trunk@3963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-01 23:36:41 +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
Benoît Minisini
e22b4f390b [GB.SDL]
* BUG: Redesign the way keyboard events are processed, so that SDL 
  constants are used. Consequently, all Key constants now work, but '1' and
  '&' have different codes on a french keyboard. Key.Text works too.
* NEW: Key.Repeat is a new static property for enabling keyboard 
  repetition.


git-svn-id: svn://localhost/gambas/trunk@3957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-31 12:48:16 +00:00
Benoît Minisini
ed79aca5ec [EXAMPLES]
* NEW: Start to add the NeHe OpenGL examples compiled by Kevin Fishburne.
  There are two projects: one that includes all examples, and another one
  that is GUI shell for compiling and running those examples.


git-svn-id: svn://localhost/gambas/trunk@3956 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-30 01:23:51 +00:00
Benoît Minisini
7fb8b2a06c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when scanning a class, if that class inherits a form.


git-svn-id: svn://localhost/gambas/trunk@3955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-29 23:25:54 +00:00
Benoît Minisini
0b51c634ff [GB.NET.SMTP]
* NEW: Support for any mime type and any charset in SmtpClient.


git-svn-id: svn://localhost/gambas/trunk@3954 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-29 23:19:51 +00:00
Benoît Minisini
4d13341c3e [GB.GTK]
* NEW: GridView.Columns[].Expand is a new property that allows to define if 
  a column automatically expands to fit the GridView visible width, 
  provided that the GridView.AutoResize property is set. If no column has
  its Expand property set, then the last column will expand anyway.
* BUG: Fix a crash in GridView when the gb.gtk component shared library is 
  freed.
  
[GB.QT4]
* NEW: GridView.Columns[].Expand is a new property that allows to define if 
  a column automatically expands to fit the GridView visible width, 
  provided that the GridView.AutoResize property is set. If no column has
  its Expand property set, then the last column will expand anyway.


git-svn-id: svn://localhost/gambas/trunk@3953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-29 21:13:08 +00:00
Benoît Minisini
5384d4c751 [DEVELOPMENT ENVIRONMENT]
* NEW: Change default code snippets.

[SCRIPTER]
* NEW: Use the new way of defining the process exit value.


git-svn-id: svn://localhost/gambas/trunk@3952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-26 00:34:24 +00:00
Benoît Minisini
a84e5fa1e2 [INTERPRETER]
* NEW: The Main startup function now can return a value. If that value is 
  an integer or a boolean, then it will be the exit value returned to the 
  parent process.
* NEW: The Application.Return property has been removed.


git-svn-id: svn://localhost/gambas/trunk@3951 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-26 00:28:52 +00:00
Benoît Minisini
4262cd1721 [INTERPRETER]
* NEW: Support for profiling. Not activated.
* NEW: Centralize signal handler management.


git-svn-id: svn://localhost/gambas/trunk@3950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-25 00:50:11 +00:00
Benoît Minisini
7b76eb76f0 [INTERPRETER]
* NEW: Remove useless Qt 3 shared library preloading support.


git-svn-id: svn://localhost/gambas/trunk@3949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-24 16:55:09 +00:00
Benoît Minisini
7dd4ec5515 [GB.SDL.SOUND]
* BUG: Allocating more than 8 channels now works correctly.
* NEW: The maximum number of channels is now 64.


git-svn-id: svn://localhost/gambas/trunk@3948 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-24 14:48:07 +00:00
Benoît Minisini
b763b6d5bb [GB.SDL.SOUND]
* NEW: Implement support for fade in and fade out in the Sound and Channel 
  classes.


git-svn-id: svn://localhost/gambas/trunk@3947 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-24 14:36:05 +00:00
Benoît Minisini
9615d16694 [INTERPRETER]
* BUG: Write and Read instructions now deal with NULL values without crashing.


git-svn-id: svn://localhost/gambas/trunk@3946 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-24 09:45:44 +00:00
Benoît Minisini
354ccb681a [GB.WEB]
* BUG: JSON.Decode() now returns NULL if there is no token in the input 
  string.


git-svn-id: svn://localhost/gambas/trunk@3945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-22 12:35:25 +00:00
Laurent Carlier
63dbda86ce [DEVELOPMENT ENVIRONMENT]
* BUG: Add missing pkgdesc entry in the PKGBUILD.


git-svn-id: svn://localhost/gambas/trunk@3944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-20 21:06:36 +00:00
Benoît Minisini
b217a03484 [DEVELOPMENT ENVIRONMENT]
* BUG: Clicking on a void index table in the database editor does not crash 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@3943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-18 19:27:26 +00:00
Benoît Minisini
edfcedca80 [CONFIGURATION]
* NEW: Switch to 2.99.2 version.


git-svn-id: svn://localhost/gambas/trunk@3942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-17 11:29:03 +00:00
Benoît Minisini
67e4d31c0f [INTERPRETER]
* BUG: Exist() new implementation is now really backward-compatible.


git-svn-id: svn://localhost/gambas/trunk@3941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-17 11:11:22 +00:00
Benoît Minisini
d0b8c37638 [INTERPRETER]
* NEW: Remove the unused GB.ExistFile() API.
* NEW: Exist() now takes an additional optional boolean argument that tells
  if symbolic links must be followed, like Stat().
* BUG: Fix a possible memory leak if the [...] array creation operator 
  fails for any reason.


git-svn-id: svn://localhost/gambas/trunk@3940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-17 10:57:55 +00:00
Benoît Minisini
f2208643c2 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle the "_property" special method in automatic completion.

[INTERPRETER]
* BUG: [...] now correctly returns a boolean array when its arguments are
  all booleans.

[GB.DBUS]
* BUG: Fix a memory leak when sending a DBusVariant object.


git-svn-id: svn://localhost/gambas/trunk@3939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-16 15:41:51 +00:00
Benoît Minisini
8f0fa5d187 [GB.DBUS]
* NEW: Add a DBusConnection.Unregister method to unregister a Gambas object
  from the bus. When all objects are unregistered, the application can 
  quit.


git-svn-id: svn://localhost/gambas/trunk@3938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-15 22:26:05 +00:00
Benoît Minisini
9fca5596dc [GB.DBUS]
* BUG: Use the new special method _property to implement DBus properties.
* BUG: Settings a DBus property does not freeze anymore. But there is 
  memory leak yet.


git-svn-id: svn://localhost/gambas/trunk@3937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-15 00:52:29 +00:00
Benoît Minisini
91ec8a1ef5 [INTERPRETER]
* BUG: Eval("Me") does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-14 18:30:12 +00:00
Benoît Minisini
7b712c4517 [GB.GTK]
* BUG: The Printer End event is correctly raised now.


git-svn-id: svn://localhost/gambas/trunk@3935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-14 13:15:13 +00:00
Benoît Minisini
4813e8708f [GB.NET.SMTP]
* BUG: Don't crash if the subject is void.
* NEW: Allow the subject to be a void string.


git-svn-id: svn://localhost/gambas/trunk@3934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-12 21:36:07 +00:00