Commit graph

2627 commits

Author SHA1 Message Date
Benoît Minisini
8f356103af [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser is always refreshed when its treeview is clicked.

[EXAMPLES]
* NEW: Some little changes in TreeView example.
* BUG: Some fixes in WebCam example.

[GB.FORM.STOCK]
* BUG: Add a missing svg stock icon for "bookmark".

[GB.QT4]
* BUG: TrayIcon comes back as a virtual control.

[GB.GTK]
* BUG: TrayIcon comes back as a virtual control.


git-svn-id: svn://localhost/gambas/trunk@4057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:02:36 +00:00
Benoît Minisini
12deb8c640 [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser now opens external links in the external web 
  browser.


git-svn-id: svn://localhost/gambas/trunk@4056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 01:19:58 +00:00
Benoît Minisini
9856fc1145 [DEVELOPMENT ENVIRONMENT]
* BUG: Class help now ends with the first void line after at least one 
  help line.


git-svn-id: svn://localhost/gambas/trunk@4055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:43:14 +00:00
Benoît Minisini
ab4c224fce [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh help browser correctly when a new project is opened.
* NEW: Change auto-completion symbol icons.


git-svn-id: svn://localhost/gambas/trunk@4054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 21:28:51 +00:00
Benoît Minisini
c4d4cdc376 [DEVELOPMENT ENVIRONMENT]
* NEW: Add two new functions to the form editor: embedding the selected
  controls inside a newly created container, and removing a container 
  without removing the children.
* NEW: Remove some icons that are not used anymore.


git-svn-id: svn://localhost/gambas/trunk@4053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 19:02:39 +00:00
Benoît Minisini
63bc149a14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a MenuButton instead of a ComboBox to edit list properties.
* BUG: Inserting a new menu in the menu editor correctly selects it.
* BUG: The component property dialog does not crash anymore if there is no
  exported class in the project.

[GB.FORM]
* BUG: Fix mouse events handling in MenuButton controls whose MenuOnly 
  property is TRUE.

[GB.QT4]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@4052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 01:07:50 +00:00
Fabien Bodard
6c52565a8b [GB.REPORT]
* NEW: the auto filling system is reactivated, and is near to work perfectly.
* NEW: The report label have now a key property.
* BUG: %any arrangement bugs corrected



git-svn-id: svn://localhost/gambas/trunk@4051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 21:22:38 +00:00
Benoît Minisini
89187d5c7c [INTERPRETER]
* NEW: String.IsValid() is a new method that returns if a string is a valid
  well-formed UTF-8 string.


git-svn-id: svn://localhost/gambas/trunk@4050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 19:49:48 +00:00
Benoît Minisini
866c681682 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix and enhance the Report brush chooser dialog.
* NEW: Use Color.Gradient instead of Color.Merge.

[GB.FORM.STOCK]
* BUG: Add two missing SVG files for stock icons.

[GB.IMAGE]
* NEW: Color.Gradient() is a new method that creates an intermediate color 
  between two others colors by using a RGB gradient.


git-svn-id: svn://localhost/gambas/trunk@4049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 17:31:51 +00:00
Benoît Minisini
976080faee [DEVELOPMENT ENVIRONEMNT]
* NEW: Some fix in english tips.
* NEW: French translation of tips finished!


git-svn-id: svn://localhost/gambas/trunk@4048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 15:00:18 +00:00
Fabien Bodard
5b68aff097 [GB.REPORT]
*NEW: The Ignore property is now available. It allow to place an object anywhere
      relative to its parent container.
*BUG: The top padding/border and bottom are correctly taked into account for the autoresize computing
*BUG: Now the text is clipped




git-svn-id: svn://localhost/gambas/trunk@4047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 14:49:54 +00:00
Benoît Minisini
1d68e2fcde [DEVELOPMENT ENVIRONMENT]
* NEW: English and french tips were updated. Not all french tips are 
  translated yet.


git-svn-id: svn://localhost/gambas/trunk@4046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 13:40:38 +00:00
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