Commit graph

2293 commits

Author SHA1 Message Date
Benoît Minisini
863f97cb35 [EXAMPLES]
* NEW: Add a proxy configuration dialog in the WebBrowser example.

[GB.QT4.WEBKIT]
* BUG: Correctly export the virtual class of the WebSettings.Proxy 
  property.


git-svn-id: svn://localhost/gambas/trunk@4023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 15:06:56 +00:00
Benoît Minisini
e498fe724b [GB.PDF]
* BUG: Fix compilation of gb.pdf.


git-svn-id: svn://localhost/gambas/trunk@4022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 13:26:12 +00:00
Benoît Minisini
d927711d9a [DEVELOPMENT ENVIRONMENT]
* BUG: Replace Workspace.Children by Workspace.Windows everywhere.
* BUG: Fix a possible crash in menu editor.


git-svn-id: svn://localhost/gambas/trunk@4021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 13:23:31 +00:00
Benoît Minisini
0b44748b70 [DEVELOPMENT ENVIRONMENT]
* BUG: The search list does not jump to the next instance unexpectedly 
  anymore.

[GB.QT4]
* BUG: Changing the number of columns or rows in a GridView will raise
  Select and Change events only if there is a current row.


git-svn-id: svn://localhost/gambas/trunk@4020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 11:29:13 +00:00
Benoît Minisini
620e8b8eea [GB.QT4.WEBKIT]
* BUG: Move the Proxy class from WebView to WebSettings.


git-svn-id: svn://localhost/gambas/trunk@4019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 11:16:28 +00:00
Benoît Minisini
76c4a89712 [CONFIGURATION]
* NEW: Switch version to 2.99.3.

[GB.QT4.WEBKIT]
* NEW: WebView.Proxy is a new virtual object that defines the proxy used
  for all requests. That proxy is the same for all WebView objects at the
  moment.


git-svn-id: svn://localhost/gambas/trunk@4018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 10:59:31 +00:00
Benoît Minisini
da7d1f8305 [DEVELOPMENT ENVIRONMENT]
* BUG: Display recursive error messages sent by the debugger correctly.

[GB.REPORT]
* BUG: Fix incorrect inheritances.


git-svn-id: svn://localhost/gambas/trunk@4017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 01:31:42 +00:00
Benoît Minisini
a86f7e8b15 [DEVELOPMENT ENVIRONMENT]
* BUG: Define the correct startup class.


git-svn-id: svn://localhost/gambas/trunk@4016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 00:44:25 +00:00
Benoît Minisini
93137105d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The startup class icon is now just drawn with a dark outline.
* NEW: Error messages updated.
* NEW: French translation updated.

[INTERPRETER]
* NEW: Inheritance is stricter now: the child symbol must have exactly the
  same kind than the parent symbol.
* BUG: A child method must return the same datatype as its parent method 
  now.
* NEW: Gambas 3 executable mime description file and icon have been renamed
  so that they do not conflict with Gambas 2 files.

[GB.FORM]
* BUG: IconView.Find() has been renamed as IconView.FindAt(), to avoid the
  conflict with the inherited UserControl.Find() method.

[GB.FORM.MDI]
* BUG: Workspace.Children has been renamed as Workspace.Windows, because 
  the Workspace.Children property was in conflict with the inherited
  Container.Children property.

[GB.GTK]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.

[GB.IMAGE]
* NEW: Color.SetRGB() and Color.SetHSV() are two new methods that takes a
  color as an integer, modifies one of its component, and returns it. They
  are faster than using the ColorInfo class.
* NEW: Color.GetAlpha() returns the alpha component of a color from its
  integer value.

[GB.QT4]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
  'FindAt' to match the IconView class.


git-svn-id: svn://localhost/gambas/trunk@4015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 00:33:36 +00:00
Benoît Minisini
4d0acf6f72 [DEVELOPMENT ENVIRONMENT]
* BUG: Comment and uncomment work again in the code editor.


git-svn-id: svn://localhost/gambas/trunk@4014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-19 12:53:55 +00:00
Benoît Minisini
5b38c13d65 [DEVELOPMENT ENVIRONMENT]
* NEW: Reorganize menus in code editor and text editor.
* NEW: Two new menu entries in code editor and text editor to switch 
  selected text to upper case or lower case.
* BUG: Shortcuts are now correctly displayed in menu editor.
* BUG: Keep menu selection when moving them up or down.
* BUG: Deleting non-existing symbolic links works correctly now.


git-svn-id: svn://localhost/gambas/trunk@4013 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-19 01:09:20 +00:00
Benoît Minisini
cc46ceec81 [GB.QT4.EXT]
* BUG: When the Change event is raised while setting the Editor.Text 
  property, the ReadOnly property now returns the correct value.


git-svn-id: svn://localhost/gambas/trunk@4012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-17 14:44:39 +00:00
Benoît Minisini
16f58e0e3f [DEVELOPMENT ENVIRONMENT]
* BUG: Deleting menus in the menu editor works correctly again.


git-svn-id: svn://localhost/gambas/trunk@4011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-16 23:37:32 +00:00
Benoît Minisini
b67b0bfe8e [DEVELOPMENT ENVIRONMENT]
* BUG: Searching in the menu editor does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@4010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-16 18:38:01 +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
11f7447608 [DEVELOPMENT ENVIRONMENT]
* BUG: Comments are not automatically inserted anymore when we are at the
  beginning of the line.


git-svn-id: svn://localhost/gambas/trunk@4008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-11 15:28:09 +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
Benoît Minisini
a750bebb62 [DEVELOPMENT ENVIRONMENT]
* BUG: Hidden exported classes cannot be controls!


git-svn-id: svn://localhost/gambas/trunk@4003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 23:30:39 +00:00
Benoît Minisini
3d8509eb50 [DEVELOPMENT ENVIRONMENT]
* NEW: The menu editor has been redesigned.


git-svn-id: svn://localhost/gambas/trunk@4002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 23:21:47 +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
Benoît Minisini
e8894da5d7 [GB.QT4.EXT]
* BUG: In Editor, fix handling of text lines having non-ascii characters 
  inside.


git-svn-id: svn://localhost/gambas/trunk@4000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 14:16:37 +00:00
Benoît Minisini
6334bc4a50 [WIKI CGI SCRIPT]
* NEW: Automatic OpenGL documentation.

[GB.DB.FORM]
* NEW: Do not resize automatically the rows in DataView.
* NEW: In Dataview, only resize the current row.

[GB.FORM]
* BUG: IconView MoveFirst(), MoveNext(), MovePrevious() and MoveTo() 
  methods now correctly return TRUE when no item is available.


git-svn-id: svn://localhost/gambas/trunk@3999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 11:51:06 +00:00
Benoît Minisini
2bb692d92c [DEVELOPMENT ENVIRONMENT]
* BUG: Double-clicking on a control while the project is running does not
  try to insert an event handler anymore.


git-svn-id: svn://localhost/gambas/trunk@3998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 11:07:27 +00:00
Benoît Minisini
97d08b24f0 [GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.17.


git-svn-id: svn://localhost/gambas/trunk@3997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 10:43:30 +00:00
Benoît Minisini
c49b8a30b4 [INTERPRETER]
* BUG: Fix escaped characters handling in date format strings.


git-svn-id: svn://localhost/gambas/trunk@3995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 09:13:23 +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
66c4ff7e0d [EXAMPLES]
* NEW: Use the new OpenGL constants names in the 3DWebCam example.


git-svn-id: svn://localhost/gambas/trunk@3991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 20:04:33 +00:00
Benoît Minisini
5bf9fd613d [EXAMPLES]
* NEW: Use the new OpenGL constants names in OpenGL examples.
* NEW: Add the forgotten TunnelSDL example.

[GB.FORM]
* NEW: IconPanel takes the mouse wheel into account now.


git-svn-id: svn://localhost/gambas/trunk@3990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 19:58:47 +00:00
Benoît Minisini
005fb507bf [INTERPRETER]
* NEW: Abort if a native class declares the same symbol twice.
* NEW: Two more standard error messages declared in gambas.h


git-svn-id: svn://localhost/gambas/trunk@3989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-07 19:48:08 +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
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