Commit graph

2215 commits

Author SHA1 Message Date
Benoît Minisini
83082048c9 [GB.DESKTOP]
* BUG: Update xdg-utils to the latest version, so that LXDE desktop is
  correctly supported.
* NEW: Desktop.RunAsRoot() runs a command as root, by using the graphical
  "su" utility of the current desktop.


git-svn-id: svn://localhost/gambas/trunk@4045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 13:02:46 +00:00
Benoît Minisini
15bdd674f7 [INTERPRETER]
* BUG: Components loaded at startup are now persistent. They are not 
  unloaded by the interpreter anymore. That should prevent crashes from bad
  C++ libraries that have global static objects to delete. Qt can you hear
  my cries?


git-svn-id: svn://localhost/gambas/trunk@4044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 01:32:13 +00:00
Benoît Minisini
3460dd0e6c [GB.QT4]
* BUG: Moving a modal form during the Open event handler now prevents the
  form to be centered, as with gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@4043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-26 21:13:02 +00:00
Benoît Minisini
5e45ac3545 [GB.QT4.EXT]
* BUG: Editor: Some fixes in procedure separation drawing.


git-svn-id: svn://localhost/gambas/trunk@4042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-26 18:23:35 +00:00
Benoît Minisini
fa0dd2c956 [WIKI CGI SCRIPT]
* BUG: Fixes in OpenGL automatic documentation.

[GB.DB.FORM]
* NEW: DataView.Labels and DataBrowser.Labels are two new properties that
  define the column labels. If they are not set, the field names are used.

[GB.FORM]
* NEW: MenuButton.MenuOnly is a new property that makes the MenuButton only
  pop up its menu, and never raise its Click event.


git-svn-id: svn://localhost/gambas/trunk@4041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-26 00:00:47 +00:00
Benoît Minisini
36773c8af2 [GB.QT4.EXT]
* NEW: In Editor, draw procedure separation on the previous line if it is 
  empty. Otherwise draw it on the current line.


git-svn-id: svn://localhost/gambas/trunk@4040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-25 23:31:32 +00:00
Benoît Minisini
6096f90634 [GB.GTK]
* BUG: GridView.RowAt() and GridView.ColumnAt() now take the headers into 
  account.


git-svn-id: svn://localhost/gambas/trunk@4039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-25 21:59:14 +00:00
Benoît Minisini
de44c3803f [GB.QT4.WEBKIT]
* NEW: WebView.UserAgent is a new property to define a custom user agent 
  string for a specific WebView control.


git-svn-id: svn://localhost/gambas/trunk@4038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-25 19:32:41 +00:00
Benoît Minisini
567ba1bb1d [EXAMPLES]
* NEW: WebBrowser: Use the 'document.execCommand' JavaScript DOM method to
  make the web browser editable.

[GB.QT4.WEBKIT]
* NEW: WebView.Eval() and WebFrame.Eval() are two new methods that can run
  any piece of JavaScript in the context of a frame.


git-svn-id: svn://localhost/gambas/trunk@4037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-25 01:24:14 +00:00
Benoît Minisini
05cdbfaf61 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix some theme colors.

[EXAMPLES]
* NEW: WebBrowser example: Handle new WebView.Fonts.xxx properties.

[GB.EVAL.HIGHLIGHT]
* NEW: Use alternate background when highlighting scripts and styles inside 
  an HTML document.

[GB.FORM]
* BUG: FileView now correctly ignores errors raised during the Icon event.

[GB.QT4.EXT]
* NEW: Some little changes in the way Editor paint background of lines.

[GB.QT4.WEBKIT]
* NEW: Remove WebView.Cached property, and add a WebSettings.Cache.Enabled 
  property to replace it globally.
* NEW: Replace WebView.Font[] by many WebView.Fonts.xxx properties.
* NEW: Add other WebView.Fonts.xxx properties to define default font sizes.


git-svn-id: svn://localhost/gambas/trunk@4036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-24 07:26:09 +00:00
Benoît Minisini
c00ce9a3fe [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the system information window and its contents.

[INTERPRETER]
* BUG: Do not leak object reference when an error is raised during an event
  handler.
* BUG: When a broken symbolic link is encountered, Dir() now assumes it is
  a file.

[GB.FORM]
* BUG: DirView now correctly ignores errors raised during the Icon event.


git-svn-id: svn://localhost/gambas/trunk@4035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-23 12:51:25 +00:00
Benoît Minisini
5ba33379e6 [GB.FORM]
* NEW: Some updates in stock icons maps.

[GB.FORM.STOCK]
* NEW: Update icons.


git-svn-id: svn://localhost/gambas/trunk@4034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 20:28:00 +00:00
Benoît Minisini
5baf92a8fb [GB.GTK]
* BUG: Should finally compile correctly with any GTK+ 2.x version.

git-svn-id: svn://localhost/gambas/trunk@4033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 20:23:07 +00:00
Benoît Minisini
96685a0442 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for splitted lines in pretty printer.

[GB.DESKTOP]
* BUG: Make the component compile correctly.


git-svn-id: svn://localhost/gambas/trunk@4032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 07:47:56 +00:00
Benoît Minisini
bb90705517 [WIKI CGI SCRIPT]
* NEW: Tons of new changes to make a better automatic documentation of
  virtual classes.
* NEW: Support for indonesian translation.
* NEW: Page renaming has a new option to do a copy instead.

[GB.FORM]
* BUG: Replace an old _IconViewItem reference by the new _IconView_Item.


git-svn-id: svn://localhost/gambas/trunk@4031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-22 01:46:18 +00:00
Benoît Minisini
f5c1b91bb9 [INTERPRETER]
* NEW: Rename the '.File.Perm' virtual class as '.Stat.Perm'.


git-svn-id: svn://localhost/gambas/trunk@4030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 23:50:51 +00:00
Benoît Minisini
bf0c0c4b57 [GB.GTK]
* BUG: Use gtk_window_set_resize_grip only with GTK+ >= 2.24.4.


git-svn-id: svn://localhost/gambas/trunk@4029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 23:42:06 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
29978406bd [GB.GTK]
* BUG: Make gb.gtk compile with GTK+ < 2.24.


git-svn-id: svn://localhost/gambas/trunk@4027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 16:31:46 +00:00
Benoît Minisini
89f4e13b0a [GB.GTK]
* BUG: Remove resize grip for GTK+ >= 3.0 too.


git-svn-id: svn://localhost/gambas/trunk@4026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 15:35:03 +00:00
Benoît Minisini
583d2fc31e [GB.FORM]
* BUG: Setting DirChooser (or FileChooser) Root property correctly updates
  the bookmark button.
* BUG: DirChooser (or FileChooser) parent directory button is drawn 
  correctly with gb.gtk now.

[GB.GTK]
* BUG: Fix Picture.Fill() method with GTK+ >= 2.24.
* BUG: Remove window resize grips with GTK+ >= 2.24.



git-svn-id: svn://localhost/gambas/trunk@4025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 13:22:52 +00:00
Benoît Minisini
3407013046 [DEVELOPMENT ENVIRONMENT]
* NEW: In the library tab of the project property dialog, display the
  dependencies of the libraries.
* NEW: Add a button to only display exported classes in the project tree.

[INTERPRETER]
* NEW: Loading a user library now automatically loads the other libraries
  it depends on, as well as the components.

[GB.FORM]
* BUG: Fix orientation of "clear" stock icon for KDE4.


git-svn-id: svn://localhost/gambas/trunk@4024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 02:27:16 +00:00
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