Commit graph

997 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
f6b7506da5 [DEVELOPMENT ENVIRONMENT]
* NEW: The database editor now can export table data and request results to 
  CSV files.


git-svn-id: svn://localhost/gambas/trunk@3921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-04 09:29:04 +00:00
Benoît Minisini
cdd196a789 [DEVELOPMENT ENVIRONMENT]
* BUG: Remove the "Show toolbox" menu entry. Its behaviour was not 
  intuitive at all.


git-svn-id: svn://localhost/gambas/trunk@3920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 22:58:49 +00:00
Benoît Minisini
1f46fb6cec [DEVELOPMENT ENVIRONMENT]
* BUG: Do not increment the version release number anymore when making an
  installation package.


git-svn-id: svn://localhost/gambas/trunk@3919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 22:20:25 +00:00
Radek Fryšták
e6f91414ef [DEVELOPMENT ENVIRONMENT]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 19:40:32 +00:00
Benoît Minisini
9ff2134921 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove a debugging message in the connection editor.

[INTERPRETER]
* NEW: '_property' is a new special method that must return TRUE when an
  unknown symbol (stored in Param.Name) is a property. If that special
  method is not implemented, all unknown symbols are methods.
* NEW: Remove the deprecated constant gb.Text.
* NEW: Param.Property has been removed.

[COMPILER]
* NEW: Handle the new '_property' special method. That method must be 
  public, dynamic, takes no argument, and must return a boolean.


git-svn-id: svn://localhost/gambas/trunk@3915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-03 02:46:15 +00:00
Jordi Sayol
20c2961a1f [DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.

[WIKI CGI SCRIPT]
* NEW: Update Catalan translation.

[GB.FORM.DIALOG]
* NEW: Update Catalan translation.

[GB.FORM]
* NEW: Update Catalan translation.

[EXAMPLES]
* NEW: Update Catalan translation of few examples.



git-svn-id: svn://localhost/gambas/trunk@3913 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 13:47:38 +00:00
Benoît Minisini
5c5f136f9a [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Application.ShowTooltips property.

[GB.GTK]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
  visible or not.

[GB.QT4]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
  visible or not.


git-svn-id: svn://localhost/gambas/trunk@3909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-29 09:04:45 +00:00
Benoît Minisini
54e2893d52 [GB.DB.ODBC]
* BUG: Fix a stupid crash that occurs on 64 bits systems only.

[GB.QT4.EXT]
* BUG: Fix an uninitialized variable in GEditor class.


git-svn-id: svn://localhost/gambas/trunk@3906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 11:45:29 +00:00
Benoît Minisini
147a5f4de6 [GB.NET.CURL]
* BUG: Refuse void URLs in HttpClient and FtpClient.


git-svn-id: svn://localhost/gambas/trunk@3905 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 11:04:52 +00:00
Benoît Minisini
7eded0167e [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for latin language.


git-svn-id: svn://localhost/gambas/trunk@3903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 22:23:52 +00:00
Benoît Minisini
c70ca687eb [DEVELOPMENT ENVIRONMENT]
* BUG: Circular inheritance does not freeze the automatic completion 
  anymore.
* BUG: Do not hide balloon message displayed on the project tree 
  immediately.

git-svn-id: svn://localhost/gambas/trunk@3901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-26 22:15:34 +00:00
Benoît Minisini
b831031745 [DEVELOPMENT ENVIRONMENT]
* NEW: Lithuanian translation made by Regimantas Baublys.
* BUG: Fix loading of old Gambas 3 projects without ".src" directory.
* BUG: Multi-dimensional arrays are now correctly displayed by the 
  debugger.

[SCRIPTER]
* BUG: Running a script now correctly returns the value specified by
  the Application.Return property.

[GB.QT4.EXT]
* BUG: Some fixes in the undo/redo management of the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-24 22:33:26 +00:00
Benoît Minisini
bb11cbc696 [SCRIPTER]
* BUG: Don't require /tmp to allow executable files.
* NEW: The name of a cached compile script is now the name of the original 
  script stored in a directory whose name is the MD5 sum.


git-svn-id: svn://localhost/gambas/trunk@3879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-11 01:46:42 +00:00
Radek Fryšták
ff49bf34fc [DEVELOPMENT ENVIRONMENT]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-09 16:46:39 +00:00
Benoît Minisini
cf4c8cccad [DEVELOPMENT ENVIRONMENT]
* BUG: Fix Autotools project packaging.
* BUG: Autotools project packaging cannot handle extra packages 
  dependencies.
* BUG: Autotools project packaging does not handle extra files 
  dependencies yet. It will be fixed later.

[GB.FORM]
* BUG: Wizard containers is now an exported hidden class, so that
  automatic completion works in the IDE.


git-svn-id: svn://localhost/gambas/trunk@3874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-08 23:39:22 +00:00
Benoît Minisini
21d716670c [DEVELOPMENT ENVIRONMENT]
* BUG: When loading a Gambas 2 project, GridView.Data BackColor and 
  ForeColor properties are correctly converted.


git-svn-id: svn://localhost/gambas/trunk@3871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-04 01:54:38 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
b921eb888f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't fail when there is no IDE settings file yet.


git-svn-id: svn://localhost/gambas/trunk@3867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-31 09:34:33 +00:00
Benoît Minisini
e376955f63 [DEVELOPMENT ENVIRONMENT]
* BUG: Classes coming from libraries are correctly taken into account in
  automatic completion now.
* BUG: Fix the layout of the help window the first time it is shown.
* NEW: The recent files list should be correctly refreshed now if another 
  Gambas instance updates it.

[WEB SITE MAKER]
* NEW: Update for Gambas 2.23.1.

[WIKI CGI SCRIPT]
* BUG: The front page now is correctly version dependant.
* BUG: Do not add "v3" at the end of a link that has "v2" explicitely.

[INTEPRETER]
* NEW: Stream.Lines is a new property that allows to enumerate a stream 
  line by line until end of stream is reached.

[GB.SETTINGS]
* NEW: The Settings.Path property has been renamed as Settings.DefaultDir.
* NEW: Now Settings.Path returns the path of the settings file on the disk.
* BUG: Use a lock to prevent simultaneous writings of the same settings 
  file.

[GB.QT4.EXT]
* BUG: Fix how the cursor is ensured to be visible in the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-27 18:46:56 +00:00
Benoît Minisini
b1c1b88222 [DEVELOPMENT ENVIRONMENT]
* BUG: In the procedure list, finding a procedure by typing its name 
  correctly scrolls the list.


git-svn-id: svn://localhost/gambas/trunk@3858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-23 19:44:55 +00:00
Benoît Minisini
085f879256 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix keyboard handling in editor procedure list.

[WEB SITE MAKER]
* NEW: Activate the Gambas 3 download button.

[WIKI CGI SCRIPT]
* NEW: Use a combo-box now for selecting the current version.

[GB.GTK]
* BUG: Remove some debugging stuff in the Printer class.

[GB.FORM]
* NEW: Add an "open in file manager" action in FileChooser and DirChooser
  controls, when the gb.desktop component is loaded.


git-svn-id: svn://localhost/gambas/trunk@3856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-22 15:07:53 +00:00
Benoît Minisini
968df3d531 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix focus problem with FileChooser controls.
* BUG: Symbolic links can be deleted from the project tree now.

[GB.FORM]
* BUG: FileChooser control does not force focus anymore.
* NEW: Setting the focus on FileChooser explicitely gives the focus to 
  the file name textbox.


git-svn-id: svn://localhost/gambas/trunk@3854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-21 01:48:43 +00:00
Benoît Minisini
11bd91c838 [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls are correctly saved again in form files.
* BUG: Debugger windows are now visible in the taskbar, so that they can be 
  restored after having been minimized.


git-svn-id: svn://localhost/gambas/trunk@3853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-20 09:45:49 +00:00
Benoît Minisini
2c56b9c2f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Custom controls icons are more readable.
* BUG: Fix crash with key navigation in the procedure popup.


git-svn-id: svn://localhost/gambas/trunk@3852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 23:41:59 +00:00
Radek Fryšták
6100c085de [DEVELOPMENT ENVIRONMENT]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-17 21:31:56 +00:00
Benoît Minisini
3ad7066db3 [DEVELOPMENT ENVIRONMENT]
* NEW: Virtual controls now have virtual X and Y properties.


git-svn-id: svn://localhost/gambas/trunk@3847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-17 00:43:40 +00:00
Benoît Minisini
ca20032a15 [DEVELOPMENT ENVIRONMENT]
* OPT: Do not refresh the search list when the bottom panel is hidden.
* NEW: Support for Lithuanian language.


git-svn-id: svn://localhost/gambas/trunk@3844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-16 00:48:37 +00:00
Benoît Minisini
a3198eeb09 [DEVELOPMENT ENVIRONMENT]
* NEW: Disable kill buttons correctly in database editor window.

[GB.FORM]
* BUG: Fix a possible crash in TableView when the editor control is moved.

[GB.QT4]
* NEW: The GridView Change event is raised when there is no current row 
  now.


git-svn-id: svn://localhost/gambas/trunk@3843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 22:21:23 +00:00
Benoît Minisini
2d49356d86 [DEVELOPMENT ENVIRONMENT]
* BUG: DataComboMulti controls (and other that are drawn with a ComboBox) 
  can be added on a form again.


git-svn-id: svn://localhost/gambas/trunk@3840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 14:34:08 +00:00
Benoît Minisini
7ead23fc59 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet editor position.
* BUG: Table properties can be cleared with the DELETE or BACKSPACE key.
* BUG: Do not use natural sort to sort the procedure list, so that special
  methods come first.
* BUG: The current procedure should be visible now when opening the 
  procedure list.
* NEW: New IDE logo, with some orange inside. :-)

[GB.DB.FORM]
* BUG: Fix the "Bad Row index" error when there is no current row in the 
  DataView control.

[GB.QT4]
* BUG: GridView now raise the Scroll event immediately and correctly.

[GB.QT4.EXT]
* BUG: Try to fix the Editor method ensuring that the current position is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@3839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 14:28:07 +00:00
Benoît Minisini
bad51945c1 [GB.FORM]
* BUG: ScrollArea and IconView controls now take the Enabled property into 
  account.

[GB.GTK]
* BUG: gb.gtk compiles with older version of GTK+ again.

[GB.IMAGE]
* NEW: Color.Desaturate() is a new method that desaturates a color.


git-svn-id: svn://localhost/gambas/trunk@3837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-09 08:39:46 +00:00
Radek Fryšták
502c2926e6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation

[GB.FORM]
* NEW: Update Czech translation

[GB.REPORT]
* NEW: Czech translation


git-svn-id: svn://localhost/gambas/trunk@3835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 07:16:54 +00:00
Benoît Minisini
d68809630f [INTERPRETER]
* BUG: Always translate the True and False string dynamically.

[GB.DB.FORM]
* OPT: Try to minimize refresh when DataSource.Connection is set.
* BUG: DataView editor font is correct now.

[GB.QT4]
* OPT: Changing the number of rows or columns of a GridView does not 
  trigger a useless refresh anymore.
* OPT: Moving the cursor of a GridView in multiple selection mode does not
  trigger a full update anymore.


git-svn-id: svn://localhost/gambas/trunk@3833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-05 08:54:21 +00:00
Benoît Minisini
c682e455db [DEVELOPMENT ENVIRONMENT]
* BUG: Found a workaround for the buggy Ubuntu global menu.

[EXAMPLES]
* NEW: Some little changes there and there.

[GB.QT4.WEBKIT]
* BUG: The Auth event works again.
* BUG: Website icon downloading and Icon events are more reliable.


git-svn-id: svn://localhost/gambas/trunk@3824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 15:25:31 +00:00
Benoît Minisini
a096aa1670 [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now tries to detect HTML files with no HTML extension.
* BUG: Closing the translation dialog when displaying a file having no
  translated strings yet does not incorrectly remove the translation file 
  anymore.

[EXAMPLES]
* NEW: ReportExample has been redesigned. It got a combo-box to select 
  which database driver to use.

[GB.GTK]
* BUG: MouseWheel events can be cancelled now.
* BUG: Setting the ComboBox.List property of a read-only ComboBox now
  automatically selects the first element as in gb.qt4.

[GB.REPORT]
* NEW: gb.report is translatable now.
* NEW: The preview window has been redesigned and enhanced.

[GB.QT4]
* BUG: MouseWheel events can be cancelled now.

[GB.QT4.EXT]
* NEW: In Editor, [Alt]+[Home] and [Alt]+[End] now moves to the previous or 
  next line having the same indentation. This is useful to search the 
  beginning or the end of a structure control, as soon as the code is 
  correctly indented of course!
* BUG: Setting Editor.Highlight property now correctly updates the Editor
  margin.


git-svn-id: svn://localhost/gambas/trunk@3820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 00:59:45 +00:00
Benoît Minisini
2293d2fb2f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix drawing of void ReportSvgImage and other painted custom 
  controls.

[EXAMPLES]
* BUG: Fix ReportExample example.


git-svn-id: svn://localhost/gambas/trunk@3815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 12:48:05 +00:00
Benoît Minisini
443077a44f [DEVELOPMENT ENVIRONMENT]
* NEW: Support for ReportSvgImage.
* NEW: Support for "SvgImage" property kind.

[GB.REPORT]
* NEW: ReportSvgImage Path property has been replaced by the Image 
  property, which takes a SvgImage object directly.


git-svn-id: svn://localhost/gambas/trunk@3814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 01:16:37 +00:00
Benoît Minisini
cdf3c067a0 [DEVELOPMENT ENVIRONMENT]
* BUG: The create file dialog is now correctly refreshed the second time 
  it is opened.


git-svn-id: svn://localhost/gambas/trunk@3813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 23:14:08 +00:00
Benoît Minisini
5f8041a0b1 [EXAMPLES]
* NEW: Some little fixes in DragNDrop example.

[GB.FORM]
* NEW: ListContainer.Select(Null) unselect the current selected item.

[GB.QT4.EXT]
* BUG: No glitch anymore when drawing Editor bottom.


git-svn-id: svn://localhost/gambas/trunk@3812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 22:42:23 +00:00
Fabien Bodard
764f3aadeb [DEVELOPMENT ENVIRONMENT]
* OPT: Finish the Report Padding management

[GB.REPORT]
* BUG: Correct the padding string parsing

[EXAMPLE]
* BUG: Make the example working with the new padding property





git-svn-id: svn://localhost/gambas/trunk@3810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 20:08:15 +00:00
Benoît Minisini
fddfddb106 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix drawing of library items.

[EXAMPLE]
* NEW: Clean up the MusicPlayer example.
* NEW: The MusicPlayer example now uses the 'mp3info' and 'ogginfo' 
  commands to retrieve the length of the music.

[GB.FORM]
* NEW: Add a "volume" stock icon.

[GB.QT4.EXT]
* BUG: Fix management of Editor viewport size and scrollbars.


git-svn-id: svn://localhost/gambas/trunk@3809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 16:18:05 +00:00
Fabien Bodard
2e6be0790e [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add the padding management 
  (I just have to add the string management)



git-svn-id: svn://localhost/gambas/trunk@3807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 22:08:59 +00:00
Matti
c669c6c18d [DEVELOPMENT ENVIRONMENT]
* NEW: Update of German Translation


git-svn-id: svn://localhost/gambas/trunk@3806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 19:21:46 +00:00
Benoît Minisini
98046e8d15 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating MySQL tables works now.
* NEW: Use the 'MEMORY' MySQL table engine instead of 'HEAP'.

[GB.DB.MYSQL]
* NEW: Replace 'MEMORY' table engine by 'HEAP' when MySQL version is lower
  than 4.1.


git-svn-id: svn://localhost/gambas/trunk@3805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 12:37:39 +00:00
Benoît Minisini
68bdf71d6f [INTERPRETER]
* NEW: Class.New() is a new method that does the same thing as 
  Object.New(), but acts on a class object instead of using the class name.

[EXAMPLES]
* BUG: In Report example, do not raise an error if the connection is
  actually already opened.

[GB.REPORT]
* NEW: Use the Class.New() method to implement Report.Clone().
* NEW: Clean up the preview window.
* BUG: The zoom slider is now always synchronized with the current zoom 
  level.

[GB.QT4]
* BUG: Remove a debugging message.
* BUG: SvgImage now draws nothing if the SvgImage width or height is null.


git-svn-id: svn://localhost/gambas/trunk@3804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 22:06:38 +00:00
Benoît Minisini
5d63cf9d90 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix editor message tooltip position.
* BUG: The Report brush dialog now uses the IDE color dialog to select a 
  gradient color.

[EXAMPLES]
* NEW: Add a level selector menu in the GNUBoxWorld example, and change the
  look of some tiles.

[GB.GTK]
* NEW: SvgImage.Resize() is a new method to define the width and height of 
  the svg image in one shot.

[GB.QT4]
* NEW: SvgImage.Resize() is a new method to define the width and height of 
  the svg image in one shot.


git-svn-id: svn://localhost/gambas/trunk@3800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 00:07:43 +00:00
Benoît Minisini
7ff409763e [DEVELOPMENT ENVIRONMENT]
* NEW: Breakpoint toggle button is a normal button now, and is kept enabled
  even if a line cannot receive a breakpoint.
* BUG: Commenting a line does not mix up the breakpoint list anymore.


git-svn-id: svn://localhost/gambas/trunk@3790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 23:24:57 +00:00
Benoît Minisini
9911a92652 [DEVELOPMENT ENVIRONMENT]
* NEW: Slightly change the search dialog look.
* BUG: The packager does not put "Terminal=true" in all *.desktop files 
  anymore.

[COMPILER]
* BUG: Compilation of class headers keywords correctly works again.


git-svn-id: svn://localhost/gambas/trunk@3786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 16:52:59 +00:00
Benoît Minisini
450fc020dd [DEVELOPMENT ENVIRONMENT]
* BUG: Field property dialog works again.


git-svn-id: svn://localhost/gambas/trunk@3784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 20:43:24 +00:00
Benoît Minisini
baf2ac8e59 [DEVELOPMENT ENVIRONMENT]
* OPT: Draw editor cursor position outside of the editor, otherwise it 
  slows down editor refresh.

[WEBSITE MAKER]
* NEW: Support for new web site translations.

[GB.QT4.EXT]
* OPT: Do not draw Editor cursor position. It slows down editor refresh.
* OPT: Do not use Qt4 double-buffering, it slows down editor refresh a lot,
  especially with Oxygen theme. A dirty hack was needed for that.


git-svn-id: svn://localhost/gambas/trunk@3781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 02:13:29 +00:00
Radek Fryšták
38414190ad [WEB SITE MAKER]
* NEW: Update in czech translation.

[WIKI CGI SCRIPT]
* NEW: Update in czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update in czech translation.

[GB.FORM.MDI]
* NEW: Update in czech translation.

[GB.FORM]
* NEW: Update in czech translation.

[GB.DB.FORM]
* NEW: Update in czech translation.

[EXAMPLES]
* NEW: Check and finished in czech translation.
* BUG: Fix invalid attribute in BeastScroll


git-svn-id: svn://localhost/gambas/trunk@3780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-19 15:47:20 +00:00
Benoît Minisini
496143fd6c [DEVELOPMENT ENVIRONMENT]
* NEW: A button to reset the search list.
* NEW: The Gambas 2 project converter now works inside a temporary 
  directory, and make a backup copy of the converted project.
* NEW: The Gambas 2 project converter now correctly handle:
  - The changes in HSplit and VSplit Layout property.
  - The container Padding and Spacing properties.
  - The old ColorBox class.
  - The Scaled property.
  - OPEN instructions beginning with a TRY.
  - Lines of code having UTF-8 character inside.

[WEBSITE MAKER]
* NEW: News came back.
* NEW: Some design changes.

[GB.GTK]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
  raising an error and by ignoring it.

[GB.QT4]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
  raising an error and by ignoring it.

[GB.QT4.EXT]
* NEW: Some little drawing fixes in Editor.


git-svn-id: svn://localhost/gambas/trunk@3778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-19 02:00:06 +00:00
Benoît Minisini
5fe1d66dbd [DEVELOPMENT ENVIRONMENT]
* NEW: Move some source files.
* NEW: Handle single field property selection correctly.

[GB.DB.FORM]
* BUG: DataCombo can handle a non-numeric field now.

[GB.QT4.EXT]
* BUG: Editor that separate procedure with alternative backgrounds is now
  correctly refreshed when procedure limits change.


git-svn-id: svn://localhost/gambas/trunk@3776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 23:50:38 +00:00
Benoît Minisini
3242f45b9f [DEVELOPMENT ENVIRONMENT]
* BUG: Handle "Fields" properties correctly  again.
* NEW: The table chooser dialog now knows the connection used by the data 
  control.
* BUG: Fix text property dialog layout.
* NEW: Draw the focus of welcome dialog buttons better.

[GB.QT4]
* BUG: Found a workaround for unwanted ScrollView scrollings during 
  arrangement. Not perfect yet, but hey, it's Qt's fault!

[GB.QT4.EXT]
* BUG: Fix a crash in the Editor internal routine that computes the current 
  procedure index.


git-svn-id: svn://localhost/gambas/trunk@3775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 16:47:31 +00:00
Benoît Minisini
4158120c43 [DEVELOPMENT ENVIRONMENT]
* NEW: New option to separate procedures by using an alternate background.
* NEW: Make the welcome dialog follow the new website design.
* BUG: Changing the style correctly updates the console now.
* BUG: Fix packager wizard layout.

[EXAMPLES]
* NEW: Print framerate by using the Window.Framerate property in the 
  GambasGears example.

[GB.QT4.EXT]
* NEW: New option to separate procedures by using an alternate background.


git-svn-id: svn://localhost/gambas/trunk@3774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 08:28:23 +00:00
Benoît Minisini
b206846433 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to simplify the search dialog interface.
* NEW: A confirmation is always asked when replacing all strings in the 
  search dialog.


git-svn-id: svn://localhost/gambas/trunk@3773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 00:01:06 +00:00
Benoît Minisini
c4e08d4574 [DEVELOPMENT ENVIRONMENT]
* NEW: Use small font in editor toolbars.

[COMPILER]
* NEW: Compile form code before class code, so that error messages always 
  occur inside class code.
* BUG: Correctly handle errors when loading source files.

[GB.QT4.EXT]
* BUG: The cursor position is now correctly drawn with proportional fonts.


git-svn-id: svn://localhost/gambas/trunk@3771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 13:25:46 +00:00
Benoît Minisini
0c678f3cba [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in Sapphire theme.
* BUG: Fix text editor toolbar tooltips.
* NEW: Support for C and C++ files.
* BUG: Support for procedure folding and unfolding shortcuts in the text 
  editor.
* NEW: A "Paste special" button in the code editor toolbar.

[GB.EVAL.HIGHLIGHT]
* NEW: C and C++ syntax hilighting.

[GB.FORM.MDI]
* BUG: Don't try to optimize Toolbar separators in design mode.

[GB.QT4.EXT]
* NEW: In Editor, highlight both matching braces now.


git-svn-id: svn://localhost/gambas/trunk@3770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 00:25:07 +00:00
Benoît Minisini
4fd522c25a [DEVELOPMENT ENVIRONMENT]
* NEW: Simplify the search dialog interface.
* NEW: Put the compress and uncompress actions in the toolbar.
* BUG: Do not try to display the current error is the active stack frame is
  not the current one.


git-svn-id: svn://localhost/gambas/trunk@3765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-14 23:26:01 +00:00
Benoît Minisini
416df4a664 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the scan of exported classes that must not inherit themselves!


git-svn-id: svn://localhost/gambas/trunk@3764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 23:37:54 +00:00
Benoît Minisini
a742115ed9 [DEVELOPMENT ENVIRONMENT]
* BUG: Display compiler error message the same way as interpreter runtime
  error messages.


git-svn-id: svn://localhost/gambas/trunk@3761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 00:11:00 +00:00
Benoît Minisini
350c5d8cef [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh project after the project property dialog has been 
  validated.
* NEW: Display runtime error in a tooltip instead of a balloon.


git-svn-id: svn://localhost/gambas/trunk@3758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:32:32 +00:00
Benoît Minisini
3c60bae2b6 [DEVELOPMENT ENVIRONMENT]
* OPT: Optimize detection of the current procedure.

[GB.QT4.EXT]
* BUG: Cursor moves better on folded procedures in Editor.
* OPT: Some little optimizations in Editor view.


git-svn-id: svn://localhost/gambas/trunk@3756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:00:49 +00:00
Benoît Minisini
0fd1a693dc [DEVELOPMENT ENVIRONMENT]
* NEW: Display cursor position inside editors, and not in the toolbar 
  anymore.

[GB.QT4]
* OPT: Do not trigger arrangement if setting the visibility of a control 
  has no effect.

[GB.QT4.EXT]
* NEW: Editor can display the cursor position inside itself.


git-svn-id: svn://localhost/gambas/trunk@3755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 12:49:16 +00:00
Benoît Minisini
f4ab13c337 [DEVELOPMENT ENVIRONMENT]
* NEW: Ability to replace strings while browsing the entire project.

[GB.IMAGE]
* BUG: Image.Resize() works with 24-bits image again.

[GB.QT4]
* BUG: GridView correctly honors the WordWrap cell property for rich text.


git-svn-id: svn://localhost/gambas/trunk@3753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 10:19:05 +00:00
Benoît Minisini
d3ed46eace [DEVELOPMENT ENVIRONMENT]
* NEW: Some error are ignored when using instant watch.


git-svn-id: svn://localhost/gambas/trunk@3750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:35:48 +00:00
Benoît Minisini
9a48eaa569 [DEVELOPMENT ENVIRONMENT]
* NEW: Display instant watch with a custom tooltip instead of a balloon so
  that it is less intrusive.


git-svn-id: svn://localhost/gambas/trunk@3749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:34:37 +00:00
Benoît Minisini
186afc6326 [DEVELOPMENT ENVIRONMENT]
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.

[WEB SITE MAKER]
* NEW: Some website updates.

[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
  the alpha channel.

[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().


git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 21:27:34 +00:00
Benoît Minisini
fdba373f80 [WEB SITE MAKER]
* NEW: New Website design

[GB.FORM]
* BUG: ScrollArea.ScrollX and ScrollArea.ScrollY properties are writable 
  now, as their ScrollView relatives.


git-svn-id: svn://localhost/gambas/trunk@3740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 08:16:28 +00:00
Jordi Sayol
2a476df9a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated Catalan translation.

[MAKEWEBSITE]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Update Catalan translation of CDPlayer.

git-svn-id: svn://localhost/gambas/trunk@3736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-07 05:20:06 +00:00
Peter Landgren
60a4424c9d Update of Swedish for IDE
M       .lang/sv.mo
M       .lang/.pot
M       .lang/sv.po

git-svn-id: svn://localhost/gambas/trunk@3735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-05 15:54:14 +00:00
David Villalobos Cambronero
5866142216 [DEVELOPMENT ENVIROMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3733 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-05 13:47:24 +00:00