Commit graph

2186 commits

Author SHA1 Message Date
Benoît Minisini
e9f03fe7de [DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: new option to toggle indent drawing in editors.


git-svn-id: svn://localhost/gambas/trunk@7636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 14:56:45 +00:00
Benoît Minisini
a2752efe91 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a bug in the CReportBrush class detected at compilation time now.


git-svn-id: svn://localhost/gambas/trunk@7633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-14 01:41:27 +00:00
Benoît Minisini
78ea8c345b [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix a very old bug in automatic completion where hitting backspace sometimes deleted two characters.


git-svn-id: svn://localhost/gambas/trunk@7631 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 13:19:36 +00:00
Benoît Minisini
4910d9f20b [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Better argument list tab.


git-svn-id: svn://localhost/gambas/trunk@7630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-12 12:02:19 +00:00
Benoît Minisini
55cd241ffe [DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: When displaying the contents of a collection, the Key property is saved and restored so that the debugged program is not altered.


git-svn-id: svn://localhost/gambas/trunk@7628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-11 23:46:22 +00:00
Henrique
a0441159eb [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-06 19:18:18 +00:00
Benoît Minisini
48de1a69f5 [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign file creation dialog and put file import in its own dialog.


git-svn-id: svn://localhost/gambas/trunk@7617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-02 01:20:43 +00:00
Benoît Minisini
4580e2380a [DEVELOPMENT ENVIRONMENT]
* BUG: Compress calc() CSS function correctly.
* OPT: Avoid useless calls to Stat().
* NEW: Update support list.


git-svn-id: svn://localhost/gambas/trunk@7615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-01 00:34:57 +00:00
Benoît Minisini
460c29d2de [DEVELOPMENT ENVIRONMENT]
* BUG: Library selection dialog does not crash anymore when the local library path does not exist yet.
* BUG: When creating the library executable, the copy in the local library path is correctly overwritten.


git-svn-id: svn://localhost/gambas/trunk@7604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-16 19:02:38 +00:00
Benoît Minisini
fddfe3278b [DEVELOPMENT ENVIRONMENT]
* NEW: Library selection: "Remove" is now "Uninstall".


git-svn-id: svn://localhost/gambas/trunk@7601 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:15:04 +00:00
Benoît Minisini
245ef270ec [DEVELOPMENT ENVIRONMENT]
* NEW: Replace the remove menu entry, that was located in the welcome dialog only, by a remove icon present in all recent project lists.
* BUG: Project property dialog: Fix display of not found libraries.
* BUG: Library selection: Removing a library correctly updates the state of buttons now.

git-svn-id: svn://localhost/gambas/trunk@7600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-03 06:12:27 +00:00
Benoît Minisini
210a3a3744 [DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Several arugment lists can be defined now.
* NEW: Library selection dialog is now resizable.


git-svn-id: svn://localhost/gambas/trunk@7598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-02 05:07:47 +00:00
Benoît Minisini
cd826533d7 [DEVELOPMENT ENVIRONMENT]
* BUG: When a library has no vendor, it is assumed to be the special string "(unknown)".
* NEW: Library are now installed by copying the executable, not creating a symbolic link.
* BUG: Uninstalling a library now works correctly.

git-svn-id: svn://localhost/gambas/trunk@7597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 21:59:37 +00:00
Benoît Minisini
ba9621d3a0 [DEVELOPMENT ENVIROMENT]
* BUG: Packager: Fix library support.


git-svn-id: svn://localhost/gambas/trunk@7595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:15:03 +00:00
Benoît Minisini
d52b235e55 [DEVELOPMENT ENVIRONEMNT]
* NEW: Packager: Support for new library management. Autotools packages are not supported yet.


git-svn-id: svn://localhost/gambas/trunk@7594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 08:06:32 +00:00
Benoît Minisini
5fcf388882 [DEVELOPMENT ENVIRONMENT]
* NEW: New library management and new library selection dialog.
* BUG: Fix crash dialog layout.


git-svn-id: svn://localhost/gambas/trunk@7593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-01 02:20:19 +00:00
Charlie Reinl
baa0a19ef5 [DEVELOPMENT ENVIRONMENT]
* NEW: remove projects from the project list


git-svn-id: svn://localhost/gambas/trunk@7589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-27 22:21:54 +00:00
Benoît Minisini
dc04a667c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add description of gb.web.form and gb.qt5.ext components.
* NEW: Update french translation.


git-svn-id: svn://localhost/gambas/trunk@7586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-24 03:00:22 +00:00
Benoît Minisini
69eba4d3bb [DEVELOPMENT ENVIRONMENT]
* BUG: Do not try to lock files that are symbolic links. They are always locked.
* NEW: Text editor: Try to detect functions declared inside an object for javascript files.


git-svn-id: svn://localhost/gambas/trunk@7583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-23 22:23:14 +00:00
Benoît Minisini
5735de6806 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Correctly generate signature of methods having optinal arguments with initializers.


git-svn-id: svn://localhost/gambas/trunk@7582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-19 22:57:20 +00:00
Benoît Minisini
cb5641ca98 [DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Compress and uncompress functions now correctly update the procedure list.


git-svn-id: svn://localhost/gambas/trunk@7578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-16 00:31:52 +00:00
Benoît Minisini
66a45b3c45 [DEVELOPMENT ENVIRONMENT]
* OPT: Form editor: If a translation string ends with three dots, don't put them in the translation.
* BUG: If GB_GUI is not explicitly defined, remove it from the environment of the debugged process, so that it does not inherit the one defined by the IDE gb.gui.qt component.


git-svn-id: svn://localhost/gambas/trunk@7573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-10 22:41:48 +00:00
Benoît Minisini
32387776bb [DEVELOPMENT ENVIRONMENT]
* BUG: Translater: Fix translations that end with a newline whereas the original string does not.
* NEW: Webform: Add "vw", "vh", "vmin" and "vmax" unities.
* BUG: Form editor: Remove automatic parent selection.
* BUG: Form editor: Make "Tooltip" property (with a lower "t") translatable.


git-svn-id: svn://localhost/gambas/trunk@7567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 09:41:53 +00:00
Henrique
c2a85b801f [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 16:39:37 +00:00
Henrique
417e12772e [WIKI CGI SCRIPT]
* NEW: Updated Brazilian Portuguese translations


git-svn-id: svn://localhost/gambas/trunk@7555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-05 12:29:49 +00:00
Benoît Minisini
7b734661d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Moving index fiels now correctly marks the connection as modified.


git-svn-id: svn://localhost/gambas/trunk@7540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-30 18:05:20 +00:00
Benoît Minisini
b9b46f3873 [CONFIGURATION]
* NEW: Add "-march=native" to the compilation flags. Maybe it could speed up then interpretrer a bit?

[DEVELOPMENT ENVIRONMENT]
* NEW: Connection editor: Update layout.
* NEW: Form editor: Clicking on the master selection selects the parent control.

[WEB SITE MAKER]
* NEW: Update for 3.8.4 version.

[GB.DB]
* BUG: Default values are now correctly taken into account by database templates.

[GB.DB.SQLITE3]
* BUG: Fix a possible uninitialized allocation of columns names.

[GB.UTIL]
* NEW: Class.Stat() class name argument now allows "../" in the name to search for classes in parent components.

[GB.WEB]
* NEW: Request.Language returns the main language requested by the HTTP client. This value can be directly assigned to System.Language.
* NEW: Session.Size returns the size of the session file in bytes.

[GB.WEB.FORM]
* NEW: Automatic management of favicon. The application favicon must be a file named "favicon.png" in the ".public" directory.
* NEW: The Align class for alignment constants.
* NEW: WebControl: Any control can raise a Message event now.
* NEW: The Message boxes now raise the "Message" event of the WebControl that opened the message box. If the event is not handled, then the event is raised by the WebForm of the control.
* NEW: The Select class for selection mode constants.
* BUG: WebComboBox: Define the default event.
* NEW: WebContainer: Indent is a new property that allows to add a left padding to the container.
* NEW: WebContainer: Extra children (those created after initialization) are now recreated with their event observer and event name, provided that the event observer is another WebControl.
* NEW: WebContainer: DeleteChildren() is a new method that deletes all container children.
* NEW: WebExpander: New container that implements an expander.
* NEW: WebForm: Teh application language now automatically switches to the language requested by the HTTP client.
* BUG: WebForm: Show() and ShowModal() method now raise the Open event.
* NEW: WebLabel: Add the Border property to the property list.
* NEW: WebLabel: Newlines in label text are automatically replaced by "<br>".
* NEW: WebTable: New control that implements an HTML table with automatic scrollbars. It gets its data through a Data event, and only displays the first hundred elements by default. A button allows to increase the number of displayed elements.
  The 'Mode' property allows to define the selection mode. When rows are selectable, an extra columns is added, with radion buttons on single selection mode, and checkboxes on multiple selection mode. The indexes of selected rows is returned by
  the 'Selection' property.
* BUG: Many fixes in the default stylesheet.


git-svn-id: svn://localhost/gambas/trunk@7536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-27 18:16:32 +00:00
Benoît Minisini
4e993933c5 [DEVELOPMENT ENVIRONMENT]
* NEW: Packager: Use debhelper version 9 requirement everywhere.


git-svn-id: svn://localhost/gambas/trunk@7527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 02:06:09 +00:00
Benoît Minisini
b4c6feae13 [DEVELOPMENT ENVIRONMENT]
* NEW: Don't display functions whose name ends with a '$' in automatic
  completion if there is another function having the same name without the
  '$' character.


git-svn-id: svn://localhost/gambas/trunk@7526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 02:01:07 +00:00
Benoît Minisini
adc0f772a2 [DEVELOPMENT ENVIRONMENT]
* BUG: Pacakger: support for 'gb.gui.qt' and 'gb.gui.qt.webkit' generic
  components.


git-svn-id: svn://localhost/gambas/trunk@7525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-15 01:50:27 +00:00
Benoît Minisini
a5c770607d [DEVELOPMENT ENVIRONMENT]
* BUG: Connection editor: Request editor is now selectable when QT4 is in
  use.
* NEW: Connection editor: A little redesign of the window top toolbar.


git-svn-id: svn://localhost/gambas/trunk@7516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-12 12:03:20 +00:00
Fabien Bodard
406fde1827 [DEVELOPMENT ENVIRONMENT]
* NEW: Make the report editor using the Auto arrangement system like 
  for webforms.
  


git-svn-id: svn://localhost/gambas/trunk@7512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-11 11:02:34 +00:00
Henrique
12cb188e10 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated the Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@7510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 22:43:04 +00:00
Benoît Minisini
88f79e6a45 [DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: Farm account passwords should be correctly remembered
  now.


git-svn-id: svn://localhost/gambas/trunk@7508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-10 00:43:44 +00:00
Benoît Minisini
dd5a3a3ee5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of color properties with alpha value.


git-svn-id: svn://localhost/gambas/trunk@7507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-06 17:38:11 +00:00
Benoît Minisini
fca1fb8e0e [DEVELOPMENT ENVIRONMENT]
* BUG: Fix image selection when the allowed image root directory is the
  '.public' special directory.
* NEW: Replace 'WebformImage' property kind by 'WebImage'.
* BUG: Form editor: Fix automatic arrangement.
* NEW: Form editor: Allow background and foreground toolbar buttons for
  WebForms.
* BUG: WebImage can display SVG files too.

[GB.WEB.FORM]
* NEW: Add some new color constants to the Color class.

[GB.GEOM]
* NEW: Move the declaration of alignment constants there.
* NEW: Rect.Stretch() is a new method that stretches a rectangle so that it
  fits inside another rectangle frame while keeping its proportions.
* NEW: RectF.Stretch() is a new method that stretches a rectangle so that
  it fits inside another rectangle frame while keeping its proportions.


git-svn-id: svn://localhost/gambas/trunk@7505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 18:44:58 +00:00
Benoît Minisini
a339e66a94 [CONFIGURATION]
* NEW: Update Gambas 3 appdata XML file.


git-svn-id: svn://localhost/gambas/trunk@7504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 17:16:38 +00:00
Benoît Minisini
055096a304 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for 'WebCoord' property kind.
* NEW: WebForm family: Draw WebImage controls.
* NEW: CoordBox.Units is a new property that allows to define the units
  list.
* NEW: CoordBox.DefaultUnit is a new property that allows to define the
  default unit.
* BUG: CoordBox is now correctly not localized.

[GB.DB.FORM]
* BUG: Correctly define the default size of controls.

[GB.FORM.EDITOR]
* NEW: The Margin event is now raised on double click only.
* NEW: The line cache is now based on Picture, not on Image.

[GB.GTK]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GTK3]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.GUI.BASE]
* NEW: Paint.StretchImage() is a new method that scales an image to fit a
  rectangle, keeping the image proportions.

[GB.QT4]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.QT5]
* NEW: SvgImage.W is new property that is a synonymous of SvgImage.Width.
* NEW: SvgImage.H is new property that is a synonymous of SvgImage.Height.
* NEW: SvgImage.Paint() now takes optional X, Y, Width and Height
  arguments. These arguments define the target drawing rectangle, and the
  SVG image will be scaled to fit it.

[GB.WEB.FORM]
* NEW: WebControl: Width and Height properties now have the 'WebCoord'
  kind.


git-svn-id: svn://localhost/gambas/trunk@7503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-05 11:14:30 +00:00
Benoît Minisini
9125907102 [DEVELOPMENT ENVIRONMENT]
* BUG: Report family: Don't crash when the image of a ReportImage or
  ReportSvgImage cannot be loaded. Display a big red broken icon instead.


git-svn-id: svn://localhost/gambas/trunk@7500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 23:46:30 +00:00
Benoît Minisini
6a5a0b0dc1 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't initialize properties of controls having a
  "_DrawWith" property. I don't know why I did that, but anyway it prevents
  Undo/Redo from working correctly.


git-svn-id: svn://localhost/gambas/trunk@7499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 23:23:08 +00:00
Benoît Minisini
c5b1165909 [DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Procedure list correctly centers the editor on the
  target procedure.
* BUG: Farm software: Software download events are correctly ignored when
  the wizard is moved back to the software list.


git-svn-id: svn://localhost/gambas/trunk@7498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-04 21:48:45 +00:00
Benoît Minisini
52cdf4f324 [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix automatic arrangement support.
* BUG: Form editor: Moving child controls should be easier now in automatic
  arrangement support. But still far from perfect for row and  column
  arrangements.
* NEW: Form editor: Paint expanded void containers in web forms like in GUI
  forms.

[GB.WEB.FORM]
* BUG: Render hidden children with "display:none" style.
* BUG: Fix rendering of WebTabPanel with no border.
* NEW: Add support for web site "favicon".


git-svn-id: svn://localhost/gambas/trunk@7496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-12-02 19:36:46 +00:00
Benoît Minisini
40c8517465 [DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Rectangle and ellipse tools now have half-pixel
  precision.
* BUG: Image editor: The ellipse tool now works correctly when the ellipse
  is drawn from its center.


git-svn-id: svn://localhost/gambas/trunk@7494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-29 14:19:13 +00:00
Benoît Minisini
ab219112ba [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of common properties of unknown controls again.


git-svn-id: svn://localhost/gambas/trunk@7493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-25 01:36:58 +00:00
Benoît Minisini
7362fae0ac [DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Setting common properties (Text, Background,
  Foreground) of unknown controls should work correctly again now.
* BUG: Form editor: Fix automatic arrangement management.
* NEW: Allow each family to declare the base class of controls. This is
  used by the property editor.


git-svn-id: svn://localhost/gambas/trunk@7492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-25 01:28:36 +00:00
Benoît Minisini
8b9f351c62 [DEVELOPMENT ENVIRONMENT]
* NEW: Centralize family-specific sources in dedicated folders.
* NEW: Form editor: Top and left handles of controls layed out by automatic
  arrangement are inactive now.

[GB.WEB.FORM]
* NEW: Implement the Border property for many controls.
* NEW: WebControl.Class is a new property that allows to define a custom
  CSS class for any control.


git-svn-id: svn://localhost/gambas/trunk@7490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 23:52:00 +00:00
Benoît Minisini
f927974b19 [DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Some icons were redone, with their dark theme version.
* NEW: Form editor: Support for automatic arrangement. It is activated only
  for webform form family at the moment.
* NEW: Form editor: Support for custom representation of component
  controls. This representation is a GUI control class named
  "<family><control>". For example, WebformWebMenu is the IDE control class
  that will represent a WebMenu of a Webform.
* NEW: Specific drawing of WebMenu and WebMenuItem controls.

[GB.WEB.FORM]
* BUG: Don't add "display:block" on each control specific stylesheet.
* BUG: WebSeparator is displayed correctly now.
* BUG: Popup-menus are displayed on top of windows now.
* BUG: Popuè-menus are displayed correctly on Chrome now.


git-svn-id: svn://localhost/gambas/trunk@7489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-23 19:56:52 +00:00
Benoît Minisini
c8499d454f [DEVELOPMENT ENVIRONMENT]
* NEW: Web form: Support for WebMenuItem drawing.

[GB.WEB.FORM]
* NEW: WebMenu.Image is a new property that allows to define the image of
  a menu.
* NEW: WebMenu can be imbricated to make sub-menus.
* NEW: WebMenuItem is usable now.


git-svn-id: svn://localhost/gambas/trunk@7488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 20:23:20 +00:00
Benoît Minisini
9268df987c [GB.EVAL.HIGHLIGHT]
* NEW: Add some missing CSS keywords.

[GB.WEB.FORM]
* NEW: WebMenu is a new control that implements a popup menu.
* NEW: WebSeparator is a new control that implements a separator.
* NEW: Message boxes now raise a 'Message' event in their forms when they
  are closed.
* NEW: Add Message.Info(), Message.Error() and Message.Question() message
  boxes.
* BUG: Fix container arrangement.
* BUG: Deleting a control correctly removes its custom session data.
* NEW: WebMenuItem is a new control supposed to implement a menu item. Not
  yet usable.


git-svn-id: svn://localhost/gambas/trunk@7487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 05:00:57 +00:00
Benoît Minisini
636c68c68d [DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix crashes with selections having no extents.


git-svn-id: svn://localhost/gambas/trunk@7485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-11-21 04:54:45 +00:00