Commit graph

636 commits

Author SHA1 Message Date
Benoît Minisini
78ad25c6f7 [GB.QT4]
* BUG: Try again to fix Event/Leave event management.


git-svn-id: svn://localhost/gambas/trunk@4605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-07 02:24:58 +00:00
Benoît Minisini
53a5546a91 [GB.QT4]
* BUG: Fix the Enter/Leave events management so that Enter events are
  correctly generated when a control is destroyed.


git-svn-id: svn://localhost/gambas/trunk@4603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-06 13:24:36 +00:00
Benoît Minisini
490f64d123 [GB.QT4]
* BUG: Workaround an Oxygen bug with ScrollView borders.
* BUG: Setting ScrollView.Border correctly refreshes the scrollbars now.
* BUG: Fix cached DrawingArea updates.


git-svn-id: svn://localhost/gambas/trunk@4591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 18:40:48 +00:00
Benoît Minisini
1b151b3e50 [DEVELOPMENT ENVIRONMENT]
* BUG: Autocompletion on ME now works correctly for WebPage.
* NEW: Packager configuration is now saved even for unchecked target 
  systems.
* BUG: Fix package generation for Mageia.
* NEW: Now you can select directories as packager extra files.

[GB.QT4]
* BUG: Enter and Leave events are now correctly generated from a window 
  that has been opened with the ShowPopup() method.

[GB.WEB]
* NEW: WebPage.Buffered is a new property to tell the generated HTML to be 
  buffered  by using the Response.Buffered property.


git-svn-id: svn://localhost/gambas/trunk@4586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-01 01:57:03 +00:00
Benoît Minisini
219dc74e95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix file information dialog.

[GB.QT4.EXT]
* BUG: Fix bad interactions between highlighting and undo management.


git-svn-id: svn://localhost/gambas/trunk@4575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 00:24:33 +00:00
Benoît Minisini
af5d69a8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix extra files and extra dependencies tables in the packager.

[GB.GTK]
* BUG: Fix TabStrip management.

[GB.QT4]
* NEW: Do not display translation warning anymore when choosing the "C" 
  translation. Just uninstall the current translation (if any) silently.


git-svn-id: svn://localhost/gambas/trunk@4571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 01:19:51 +00:00
Benoît Minisini
dbfb8c320e [GB.FORM.MDI]
* BUG: Fix ToolBar behaviour when none of its children has an action.

[GB.GTK]
* BUG: Fix container children management.

[GB.QT4]
* BUG: Fix ToolButton text and picture alignment.


git-svn-id: svn://localhost/gambas/trunk@4570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-25 20:11:50 +00:00
Benoît Minisini
d7114efe9b [GB.DB]
* BUG: Result.Update() now does not emit an incorrect request when the 
  result has not been modified. It just does nothing.

[GB.DB.FORM]
* BUG: DataBrowser: Clicking on the delete button does not delete two 
  records anymore.
* BUG: DataBrowser: Saving a new record now correctly takes into account 
  the currently edited field.

[GB.GTK]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@4567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 02:12:40 +00:00
Benoît Minisini
d584cf1121 [DEVELOPMENT ENVIRONMENT]
* NEW: Font size options has been renamed as "Default font size" and "Small
  font size". The small font size is now used for all toolbars.
* NEW: The help browser proxy can be configured.

[GB.FORM]
* NEW: The stock icon named "earth" has been renamed as "internet".

[GB.QT4]
* BUG: If a form is defined as being not visible, then using it as a 
  startup form won't show it.

[GB.QT4.WEBKIT]
* NEW: WebSettings.DefaultProxy is a new constant for using the default 
  proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-12 01:48:49 +00:00
Benoît Minisini
dc1c62e014 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't save cursor position during a text selection.
* NEW: Update error messages.

[COMPILER]
* NEW: CONST cannot have the STATIC keyword anymore.

[GB.QT4.EXT]
* NEW: Editor: Do not highlight the current line when losing the focus.


git-svn-id: svn://localhost/gambas/trunk@4539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-09 18:01:59 +00:00
Benoît Minisini
1735a652a2 [GB.FORM]
* BUG: Fix ToolPanel Index value when decreasing the Count property.
* NEW: Less space around GridView row headers text.

[GB.QT4]
* BUG: Do not crash when UserControl or UserContainer container is deleted.
* BUG: Delete the Qt4 application class in component exit routine, 
  otherwise Qt 4.8 seems to crash sometimes.


git-svn-id: svn://localhost/gambas/trunk@4521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-02 01:21:33 +00:00
Benoît Minisini
acf987283e [GB.QT4]
* BUG: Fix Draw.RichTextWidth() by rounding the internal floating point 
  width up.


git-svn-id: svn://localhost/gambas/trunk@4518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-29 14:02:21 +00:00
Benoît Minisini
b5fd8b4b05 [DEVELOPMENT ENVIRONMENT]
* BUG: Set the focus back to the editor after a paste operation.
* NEW: Less flickering when displaying project items.

[GB.FORM]
* NEW: GridView.Rows.Insert() and GridView.Rows.Remove() methods were
  implemented.

[GB.GTK]
* NEW: Remove the old GridView source code.

[GB.QT4]
* NEW: Remove the old GridView source code.


git-svn-id: svn://localhost/gambas/trunk@4514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-28 01:43:40 +00:00
Benoît Minisini
a2a5f45bb8 [GB.FORM]
* BUG: Take the GridView cell RichText property into account.
* BUG: Take the GridView.Enabled property into account.
* BUG: The minimum column width and minimum row height are one pixel now.

[GB.GTK]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.

[GB.QT4]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.


git-svn-id: svn://localhost/gambas/trunk@4505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 02:59:39 +00:00
Benoît Minisini
0309f98b60 [DEVELOPMENT ENVIRONMENT]
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.

[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that 
  allow to define a callback that will be called if an exception is raised
  during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
  it is possible to use more stack than possible and to crash the 
  interpreter.

[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
  "Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".

[GB.DB]
* BUG: Table.Type property now correctly handle null table types.

[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only 
  one problem to fix that depends on a gb.gtk bug.

[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
  instead.

[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor 
  around the current cell when set.

[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.

[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the 
  interpreter should not crash anymore.

[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.


git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 01:35:55 +00:00
Benoît Minisini
834ca97b78 [GB.DBUS]
* BUG: Fix DBusObserver matching rules handling.

[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.

[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
  memory when rarely used properties are not set.


git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-19 21:13:50 +00:00
Benoît Minisini
f6ee863e0c [GB.QT4]
* BUG: The inner container of a UserContainer is now automatically its 
  proxy control.


git-svn-id: svn://localhost/gambas/trunk@4471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 16:24:59 +00:00
Benoît Minisini
985c1a742d [DEVELOPMENT ENVIRONMENT]
* NEW: Traditional Chinese translation made by Timothy Lin.
* BUG: Correctly take the project tabulation size in automatic structure
  completion.
* BUG: Fix the tips of the day language selection.

[EXAMPLES]
* NEW: New MineSweeper example made by Timothy Lin and slightly modified by
  me.

[GB.EVAL.HIGHLIGHT]
* BUG: 'undefined' is a javascript keyword.

[GB.FORM.DIALOG]
* NEW: Take the new Dialog.ShowHidden property into account.

[GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible when it is visible, not when
  it has just the focus.


git-svn-id: svn://localhost/gambas/trunk@4458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 16:48:24 +00:00
Benoît Minisini
b9b2d298a4 [GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible only if the editor has the 
  focus.


git-svn-id: svn://localhost/gambas/trunk@4452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 16:07:57 +00:00
Benoît Minisini
c94933160f [GB.QT4]
* BUG: Drag & drop is allowed when the DragMove *or* the Drop events are 
  handled.


git-svn-id: svn://localhost/gambas/trunk@4450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 09:26:28 +00:00
Benoît Minisini
8449b0b9b3 [GB.GTK]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files. It
  does not work on GTK+ at the moment. Is it a GTK+ bug?

[GB.QT4]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files.



git-svn-id: svn://localhost/gambas/trunk@4439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 10:25:32 +00:00
Benoît Minisini
671da87a23 [GB.QT4]
* BUG: DrawingArea: Fix crash when setting the Cached property to True, 
  then to False.


git-svn-id: svn://localhost/gambas/trunk@4433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 00:14:32 +00:00
Benoît Minisini
d99b88d451 [GB.GSL]
* NEW: Skeleton for a new component based on the GNU Scientific Library. It
  will be developed by Randall Morgan.


git-svn-id: svn://localhost/gambas/trunk@4428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 01:23:31 +00:00
Benoît Minisini
9a3fae3f5d [GB.QT4]
* BUG: DrawingArea: Visible property now works correctly when the Cached
  property is set.


git-svn-id: svn://localhost/gambas/trunk@4425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 03:11:55 +00:00
Benoît Minisini
a89ad95046 [GB.QT4.EXT]
* BUG: Editor: Fix cursor management when the file end is folded.


git-svn-id: svn://localhost/gambas/trunk@4422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 00:51:53 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
96c50f1600 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some crash in database manager when removing fields or index.
* BUG: Fix position history.
* NEW: Add a history popup menu.

[INTERPRETER]
* NEW: The Html$() function now converts unicode non-breaking space (code 
  160) in a " " entity.

[GB.GTK]
* BUG: Now raise an error when using text-box methods on read-only 
  combo-boxes.
* NEW: GTK+ 2.16 is now required.


git-svn-id: svn://localhost/gambas/trunk@4415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-22 13:13:25 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
74013c96a1 [GB.QT4.EXT]
* NEW: Make bold text more readable in Editor.
* BUG: Disable kerning when drawing text in Editor.


git-svn-id: svn://localhost/gambas/trunk@4404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-18 03:35:19 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
801ca65cb0 [CONFIGURATION]
* BUG: Really use "get version from file" option everywhere.

[GB.FORM]
* BUG: Make highlighted TabPanel more visible.

[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
  or not.

[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit 
  UserContainer.

[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.


git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 20:43:03 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
bee6e69ad1 [DEVELOPMENT ENVIRONMENT]
* NEW: A button to show or hide the system tables in the database editor.
* BUG: Copying button is enabled now in the SQL editor.
* NEW: SQL highlighting.

[GB.EVAL.HIGHLIGHT]
* NEW: SQL highlighting routine.

[GB.FORM]
* BUG: Fix an arrangement bug in TabPanel.

[GB.QT4.EXT]
* NEW: Editor.HighlightCurrent flag has been renamed HighlightImmediately.
* BUG: Braces are now highlighted even if they are not on the same line.
* NEW: Editor.HideMargin is a new flag to hide the editor left margin.


git-svn-id: svn://localhost/gambas/trunk@4344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 03:04:46 +00:00
Benoît Minisini
4a54ecbc8e [GB.QT4]
* BUG: Cached DrawingArea Background color now works correctly.

[GB.GTK]
* BUG: Cached DrawingArea Background color now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-27 01:09:08 +00:00
Benoît Minisini
5e93a00359 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little look changes based on TabPanel.

[GB.DBUS]
* BUG: Do not use ffprinf(), it is useless.

[GB.FORM]
* BUG: Fix borderless TabPanel.
* NEW: TabPanel tabs now have a Visible property.
* BUG: The SidePanel separator is now visible in all orientations.

[GB.FORM.DIALOG]
* BUG: Dialog.OpenFile() does not return anymore when no file is selected.

[GB.QT4]
* BUG: Separator now really uses the Color.LightBackground color.


git-svn-id: svn://localhost/gambas/trunk@4338 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 22:52:25 +00:00
Benoît Minisini
abb1427a34 [GB.QT4]
* BUG: Fix cached DrawingArea resizing.


git-svn-id: svn://localhost/gambas/trunk@4336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-26 12:59:17 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Benoît Minisini
9bd14086dd [GB.QT4]
* BUG: Don't raise the Draw event when calling the Refresh method on a 
  cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 01:05:51 +00:00
Benoît Minisini
2819ca8122 [DEVELOPMENT ENVIRONMENT]
* NEW: In the report border chooser dialog, round borders can be 
  synchonized like normal borders. This is not taken into account by the
  implementation at the moment.

[GB.QT4]
* NEW: Paint.Reset() works like gb.gtk.
* BUG: Printer.PaperWidth and Printer.PaperHeight values are rounded now.


git-svn-id: svn://localhost/gambas/trunk@4320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-23 00:35:46 +00:00
Benoît Minisini
5ab541a142 [GB.GTK]
* BUG: Fix dnd and clipboard management.

[GB.QT4]
* BUG: Fix dnd and clipboard management.


git-svn-id: svn://localhost/gambas/trunk@4297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-20 15:47:14 +00:00
Benoît Minisini
e000895504 [GB.QT4]
* BUG: Fix cached DrawingArea so that it works with the Qt "raster" 
  graphics system.


git-svn-id: svn://localhost/gambas/trunk@4295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 16:33:09 +00:00
Benoît Minisini
6afd48981c [GB.QT4]
* BUG: Paint.Save() does not crash anymore if no clipping is defined.


git-svn-id: svn://localhost/gambas/trunk@4290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-19 00:01:33 +00:00
Benoît Minisini
200a429afc [DEVELOPMENT ENVIRONMENT]
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly 
  selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now 
  correctly imports the class file.

[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.

[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
  string are both one character length strings.

[COMPILER]
* NEW: The string escape character '\v' was added.

[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not 
  specified.

[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.

[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account 
  now.

[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
  backup.

[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified 
  property.


git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-11 19:14:04 +00:00
Benoît Minisini
251e172f60 [GB.EVAL.HIGHLIGHT]
* NEW: Some little enhancements in CSS highlighting.

[GB.QT4.EXT]
* BUG: A little fix in undo management during an highlighting process.

[GB.WEB]
* NEW: Session.Modify() is a new method to mark the session as modified so 
  that it is automatically saved.


git-svn-id: svn://localhost/gambas/trunk@4256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-25 00:43:57 +00:00
Benoît Minisini
69ec6d6800 [DEVELOPMENT ENVIRONMENT]
* BUG: Top-level forms now takes keyboard event before every other
  control. Take that into account for the ESC shortcut.

[GB.QT4.EXT]
* BUG: Fix highlighting algorithm.


git-svn-id: svn://localhost/gambas/trunk@4253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-21 00:43:28 +00:00
Benoît Minisini
ed9d5bc226 [GB.QT4.EXT]
* BUG: Fix colorize algorithm, hoping that it will fix the undo problem.


git-svn-id: svn://localhost/gambas/trunk@4252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-20 19:00:37 +00:00
Benoît Minisini
296ae062ba [INTERPRETER]
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned 
  value is a Variant, as now the interpreter does not do the conversion
  automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
  everywhere it is needed.


git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-14 01:06:51 +00:00
Benoît Minisini
72156aa7f7 [GB.GTK]
* BUG: Fix Embedder control description.

[GB.QT4]
* BUG: Fix Embedder control description.


git-svn-id: svn://localhost/gambas/trunk@4244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 20:29:42 +00:00
Benoît Minisini
c700ef04ed [WEB SITE MAKER]
* NEW: Design changes.

[GB.GTK]
* BUG: Fix ColumnView column width management.
* BUG: Fix the relation between a modal dialog and its parent window.

[GB.QT4]
* BUG: Fix ColumnView AutoResize property management.


git-svn-id: svn://localhost/gambas/trunk@4236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-06 20:12:51 +00:00
Benoît Minisini
657b46e7c8 [GB.QT4]
* BUG: Fix the relation between modal or utility windows and their parent.


git-svn-id: svn://localhost/gambas/trunk@4233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-05 03:17:58 +00:00
Benoît Minisini
ffa9a07096 [GB.QT4]
* BUG: Fix initial focus handling of popups.


git-svn-id: svn://localhost/gambas/trunk@4221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-25 12:18:46 +00:00
Benoît Minisini
c9010b8fa8 [GB.QT4.EXT]
* BUG: Do not crash when trying to fold a procedure inside a void file.


git-svn-id: svn://localhost/gambas/trunk@4217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 20:09:18 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
cded9fee5d [GB.QT4]
* BUG: Fix the simultaneous use of Window Border and Resizable properties.


git-svn-id: svn://localhost/gambas/trunk@4210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-23 23:53:44 +00:00
Benoît Minisini
e531a4e05f [CONFIGURATION]
* BUG: Fix many gcc 4.6.1 warnings.
* NEW: Update the depcomp sript with a more recent version.

[GB.DB.POSTGRESQL]
* BUG: Fix primary index retrieving for tables inside a schema.


git-svn-id: svn://localhost/gambas/trunk@4203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-16 19:24:01 +00:00
Benoît Minisini
7e704c0ba7 [GB.GTK]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.

[GB.QT4]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
  properties that return the color used by tooltips.


git-svn-id: svn://localhost/gambas/trunk@4189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 20:27:10 +00:00
Benoît Minisini
f1e042543d [INTERPRETER]
* BUG: Try to not lose the value of 'errno' if the select() system call 
  fails inside the event loop.

[GB.GTK]
* BUG: Fix arrangement when there is no place for expanded controls.

[GB.QT4]
* BUG: Fix arrangement when there is no place for expanded controls.


git-svn-id: svn://localhost/gambas/trunk@4182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 02:05:07 +00:00
Benoît Minisini
7466e544db [DEVELOPMENT ENVIRONMENT]
* NEW: Use Key.Escape instead of Key.Esc. Key.Esc will be removed sooner 
  or later.
* NEW: In the form editor, a control being created now has its handles.
* NEW: The form editor selection frame is transparent now.

[EXAMPLE]
* BUG: Fix Puzzle1To8 example key handling.

[GB.FORM]
* NEW: Use Key.Escape instead of Key.Esc.

[GB.GTK]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.

[GB.QT4]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
  you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.


git-svn-id: svn://localhost/gambas/trunk@4169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 14:09:39 +00:00
Benoît Minisini
1bbcb751de [GB.QT4]
* BUG: Remove an apparently now useless trick in GridView Change event
  management.


git-svn-id: svn://localhost/gambas/trunk@4168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-02 02:28:33 +00:00
Benoît Minisini
6e86a84d5a [INTERPRETER]
* NEW: Disable echo by defaut when running a child process inside a virtual 
  terminal.

[DEVELOPMENT ENVIRONMENT]
* BUG: Run projects inside a virtual terminal.


git-svn-id: svn://localhost/gambas/trunk@4163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-29 00:10:15 +00:00
Benoît Minisini
7a445217f2 [DEVELOPMENT ENVIRONMENT]
* NEW: Javascript compression now compress local variable names.
* BUG: Fix database manager field creation.

[GB.FORM.STOCK]
* BUG: Fix icons again.

[GB.QT4]
* BUG: Fix GridView Row and Column property.
* BUG: Fix GridView Change event in single selection mode.


git-svn-id: svn://localhost/gambas/trunk@4158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-27 12:36:33 +00:00
Benoît Minisini
12997b15f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if a library cannot be found.
* NEW: Display a big message in the library tab of the project property
  dialog to tell that library must be stored in the same directory as the
  project using them.

[INTERPRETER]
* OPT: Some little optimization in natural comparison routine.

[GB.GTK]
* BUG: Do not crash if a null key is used for a stock picture. Just return
  a null reference.


git-svn-id: svn://localhost/gambas/trunk@4145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-23 20:17:57 +00:00
Benoît Minisini
7f644b3f39 [GB.QT4]
* BUG: Fix TextArea Foreground property.


git-svn-id: svn://localhost/gambas/trunk@4142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-20 23:40:57 +00:00
Benoît Minisini
56d1cf1104 [GB.QT4]
* BUG: GridView: Fix automatic column resizing when the Resizable property
  is TRUE.


git-svn-id: svn://localhost/gambas/trunk@4141 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 02:15:39 +00:00
Benoît Minisini
ee80fb4118 [INTERPRETER]
* BUG: Fix String.Pos(), and String.InStr() with a third argument.

[GB.QT4]
* BUG: GridView: Fix how the Change event is raised in single selection 
  mode.


git-svn-id: svn://localhost/gambas/trunk@4140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-19 01:16:29 +00:00
Benoît Minisini
5ba145d20e [GB.FORM.MDI]
* BUG: Fix the shortcut editor dialog.

[GB.GTK]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.

[GB.QT4]
* NEW: Setting the current GridView row to a valid value now automatically 
  set the current column to zero if there is no current column.


git-svn-id: svn://localhost/gambas/trunk@4139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 20:37:51 +00:00
Benoît Minisini
d93f4cf610 [DEVELOPMENT ENVIRONMENT]
* BUG: TRY is taken into account now when converting a Gambas 2 OPEN 
  instruction.


git-svn-id: svn://localhost/gambas/trunk@4136 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-18 19:39:13 +00:00
Benoît Minisini
f7338f544f [GB.QT4.EXT]
* NEW: Change the keyboard shortcuts for moving between lines having the 
  same indentation. Now they are CTRL+ALT+UP and CTRL+ALT+DOWN.


git-svn-id: svn://localhost/gambas/trunk@4126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 01:27:42 +00:00
Benoît Minisini
6ad8880c78 [GB.QT4.EXT]
* BUG: Fix a crash in folding procedure, by strictly folding between 
  procedure limits, and by not trying to be clever with comments.


git-svn-id: svn://localhost/gambas/trunk@4125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-13 23:37:48 +00:00
Benoît Minisini
b7188834e5 [GB.QT4.EXT]
* BUG: Remove unused Editor.ShowWord() method and two unused flag 
  constants.


git-svn-id: svn://localhost/gambas/trunk@4115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-11 18:54:06 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +00:00
Benoît Minisini
7a03d0ebfb [DEVELOPMENT ENVIRONMENT]
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
  project dialog' is opened.

[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.

[GB.FORM]
* BUG: FileView now ignores unreadable directories.

[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.

[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.

[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.


git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:57:05 +00:00
Benoît Minisini
0c6a0e39c5 [GB.QT4]
* OPT: Optimizations in the Action property management.

[GB.GTK]
* OPT: Optimizations in the Action property management.


git-svn-id: svn://localhost/gambas/trunk@4073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 14:19:34 +00:00
Benoît Minisini
f4854267bf [GB.DESKTOP]
* NEW: Support for LXDE in Desktop.OpenTerminal().


git-svn-id: svn://localhost/gambas/trunk@4065 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:52:15 +00:00
Benoît Minisini
252895cdc6 [WEB SITE MAKER]
* BUG: Fix PayPal link.
* BUG: Fix default font in style sheets.

[INTERPRETER]
* BUG: Now an inherited method checks that it has the same signature as the
  parent method. This check is not done for a native class inherting 
  another native class. C/C++ programmers are supposed to know what they 
  are doing. :-)

[GB.DB.FORM]
* BUG: Rename all Refresh() methods as Update() in all controls, so that 
  the Refresh() method inherited from Control is not badly overridden.
* NEW: Change the way DataView chooses the height of a row.

[GB.GTK]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.

[GB.QT4]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments 
  describing the sub-rectangle to refresh.


git-svn-id: svn://localhost/gambas/trunk@4064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 23:50:38 +00:00
Benoît Minisini
f6f0fc743f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix bad project file links in the help browser.

[GB.QT4.WEBKIT]
* BUG: Raise the Error event later, so that setting the URL property during
  its event handler works correctly.


git-svn-id: svn://localhost/gambas/trunk@4061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-30 00:52:40 +00:00
Benoît Minisini
28758db521 [DEVELOPMENT ENVIRONMENT]
* BUG: Generate project help pages in temporary files so that the help
  browser can put them in its history.

[GB.QT4.WEBKIT]
* BUG: The default user agent is returned when no specific user agent has 
  been set.


git-svn-id: svn://localhost/gambas/trunk@4060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 22:57:39 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
5177d66b87 [GB.DB.FORM]
* NEW: DataSource.Count is a new property that returns the number of 
  records of the DataSource.

[GB.FORM]
* BUG: Setting the ScrollArea.Painted property works correctly now.

[GB.GTK]
* BUG: Clean up the MovieBox implementation.
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.
* BUG: Clean up the PictureBox implementation.
* BUG: Fix the PictureBox aligment property.

[GB.QT4]
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.


git-svn-id: svn://localhost/gambas/trunk@3931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-11 20:44:42 +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
8f98fcd6af [GB.QT4.EXT]
* BUG: Fix undo/redo management in Editor control.


git-svn-id: svn://localhost/gambas/trunk@3908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-28 23:12:48 +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
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
c763a5d724 [GB.QT4]
* BUG: GridView default background and foreground colors are correctly 
  taken into account now.


git-svn-id: svn://localhost/gambas/trunk@3875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-09 00:34:34 +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
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
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
add4c38506 [GB.QT4.EXT]
* BUG: Editor now correctly handle widget styles.


git-svn-id: svn://localhost/gambas/trunk@3849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 14:44:11 +00:00
Benoît Minisini
5e91ded94f [INTERPRETER]
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components 
  accordingly.


git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-16 02:16:22 +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
975d5ad5fb [GB.QT4]
* BUG: GridView does not raise the Scroll event if there is actually no
  scrolling at all.


git-svn-id: svn://localhost/gambas/trunk@3842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 15:19:51 +00:00
Benoît Minisini
e113b8f639 [GB.QT4]
* BUG: GridView Scroll event is now raised correctly when moving the 
  scroll bars.


git-svn-id: svn://localhost/gambas/trunk@3841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 15:03:58 +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
c0f0c292ff [GB.GTK]
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.
* BUG: Fix TextBox minimum height.
* BUG: Keyboard support of GridView is the same as in gb.qt4 now.
* BUG: Remove a warning message in GridView code.

[GB.QT4]
* BUG: Fix GridView ClientWidth and ClientHeight properties, so that they
  return the GridView visible size.
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.


git-svn-id: svn://localhost/gambas/trunk@3836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-07 00:54:21 +00:00
Benoît Minisini
5eab844287 [GB.DB.FORM]
* BUG: Fix the initial scrolling position of the DataView control.

[GB.FORM]
* NEW: TableView behaviour takes into account the new way of getting the 
  GridView cell coordinates.

[GB.GTK]
* NEW: GridView ClientX and ClientY properties have been fixed.
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.
* BUG: The GridView row header width is correctly updated now.

[GB.QT4]
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.


git-svn-id: svn://localhost/gambas/trunk@3834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 01:55:48 +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
00b45e6e77 [GB.QT4]
* BUG: Some bug fixes in utility windows.


git-svn-id: svn://localhost/gambas/trunk@3831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 23:18:54 +00:00
Benoît Minisini
d433b0172d [EXAMPLES]
* NEW: Some little fixes (icons mainly) in several examples.

[INTERPRETER]
* NEW: Two new interpreter APIs to set and get the value of an object
  property.

[GB.DEBUG]
* BUG: Fix a warning message.

[GB.FORM]
* BUG: Setting FileView Foreground and Background properties now work as
  expected.
* BUG: IconView takes its Background and Foreground properties into 
  account now.

[GB.GTK]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.

[GB.QT4]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.


git-svn-id: svn://localhost/gambas/trunk@3826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-02 00:46:00 +00:00
Benoît Minisini
c57a4f7df9 [GB.QT4]
* NEW: Do not disable Glib event loop support on KDE. It takes CPU and 
  memory, but Phonon needs it apparently to use PulseAudio.


git-svn-id: svn://localhost/gambas/trunk@3825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 15:34:34 +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
6168c847b8 [GB.QT4]
* BUG: Use widget style to draw separators whose width and height are
  greater than one pixel.


git-svn-id: svn://localhost/gambas/trunk@3823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 12:31:24 +00:00
Benoît Minisini
075ded4dee [GB.IMAGE]
* NEW: Image.DrawImage() and Image.PaintImage() now takes a destination 
  width and height arguments. But using them to stretch the source image is
  not supported. Only gb.image.imlib, gb.gtk and gb.qt4 implement that
  feature.


git-svn-id: svn://localhost/gambas/trunk@3822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 02:54:51 +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
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
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
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
8294a08cf7 [GB.QT4.EXT]
* NEW: Some Editor drawing fixes.


git-svn-id: svn://localhost/gambas/trunk@3791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-23 00:50:55 +00:00
Benoît Minisini
ab7dd6ece3 [GB.GTK]
* BUG: Ensure that the popup is closed when destroying a combo-box. 
  Otherwise GTK+ becomes ill.

[GB.QT4.EXT]
* BUG: Don't fill global Editor pixmap cache with yellow color.


git-svn-id: svn://localhost/gambas/trunk@3788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 20:40:31 +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
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
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
527e7782e5 [GB.QT4.EXT]
* OPT: Optimize Editor text layout for monospace fonts and lines with 
  Latin-1 characters only.


git-svn-id: svn://localhost/gambas/trunk@3768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 22:49:15 +00:00
Benoît Minisini
35c30d2a09 [GB.QT4.EXT]
* BUG: Fix Editor drawing problems with themes other than Oxygen.


git-svn-id: svn://localhost/gambas/trunk@3766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 15:50:57 +00:00
Benoît Minisini
319036d197 [GB.QT4]
* BUG: TextLabel with AutoResize set takes the WordWrap property into 
  account correctly now.


git-svn-id: svn://localhost/gambas/trunk@3759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:38:32 +00:00
Benoît Minisini
8cea2d489f [GB.QT4.EXT]
* BUG: Remove the StaticContents Qt flag from the Editor control. Maybe it
  will fix the refresh bug some people have.


git-svn-id: svn://localhost/gambas/trunk@3757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:13:55 +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
1a223dc2f7 [GB.DRAW]
* NEW: Paint.AntiAlias is a new property that defines if antialiasing is 
  used for drawing. It should be TRUE by default.


git-svn-id: svn://localhost/gambas/trunk@3754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 11:07:22 +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
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
e93c43ad9f [GB.GTK]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
  into account.

[GB.QT4]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
  into account.


git-svn-id: svn://localhost/gambas/trunk@3703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-29 00:40:58 +00:00
Benoît Minisini
0e94b6fe71 [GB.QT4]
* BUG: Image.Rotate(0) works correctly now. It makes a deep copy of the 
  image, like Image.Copy().


git-svn-id: svn://localhost/gambas/trunk@3692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-27 20:55:32 +00:00
Benoît Minisini
c4e8abec01 [CONFIGURATION]
* BUG: Harmonize the messages displayed when DESTDIR or ROOT is used during 
  compilation.
* NEW: Switch version number to 2.99.1 and bytecode version to 3.0.0.
  WARNING! ALL GAMBAS PROJECTS MUST BE RECOMPILED.

[DEVELOPMENT ENVIRONMENT]
* BUG: Generated Debian packages now correctly depends on gambas3-dev and
  not gambas2-dev.

[GB.QT4.OPENGL]
* NEW: Remove the GlArea.Text() method, as it may be impossible to 
  implement inside gb.gtk.opengl.


git-svn-id: svn://localhost/gambas/trunk@3673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-21 12:46:52 +00:00
Benoît Minisini
b936c83f0d [CONFIGURATION]
* NEW: Update copyright strings.

[DEVELOPMENT ENVIRONMENT]
* NEW: Display menu shortcuts inside the form editor.


git-svn-id: svn://localhost/gambas/trunk@3670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-21 00:04:10 +00:00
Benoît Minisini
a69cea3468 [GB.GTK]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
  in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a 
  ListBox in multiple selection mode.

[GB.QT4]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
  in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a 
  ListBox in multiple selection mode.
* BUG: Setting ListBox.Index property works as expected in multiple 
  selection mode.


git-svn-id: svn://localhost/gambas/trunk@3659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-18 02:14:59 +00:00
Benoît Minisini
a8df410d30 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new GridView selection syntax.

[GB.GTK]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
  anymore.
* NEW: Control.Screenshot() method has been removed.

[GB.QT4]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
  anymore.
* NEW: Control.Screenshot() method has been removed.


git-svn-id: svn://localhost/gambas/trunk@3655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-16 23:40:18 +00:00