Commit graph

663 commits

Author SHA1 Message Date
Benoît Minisini
9d6ba888b3 [GB.DESKTOP]
* BUG: Fix the dependencies of the component project.


git-svn-id: svn://localhost/gambas/trunk@5639 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-04 14:17:15 +00:00
Benoît Minisini
a7855016ca [DEVELOPMENT ENVIRONMENT]
* NEW: "Compress all" and "Uncompress all" action on project sub-
  directories.
* BUG: Do not crash when checking for completion in text editor.

[INTERPRETER]
* BUG: Void string contants work correctly now.

[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
  32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.

[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
  account inside <style> and <script> markups.

[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
  links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.

[GB.FORM.STOCK]
* NEW: Default icons for some mime types.

[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size 
  anymore.

[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a 
  RichText property.

[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
  current webpage with the <<...>> markup.



git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-29 21:27:11 +00:00
Benoît Minisini
03f1b78370 [GB.QT4]
* BUG: Sunken and raised borders are now drawn correctly with styles like 
  CleanLooks that incorrectly take the current painter brush into account.


git-svn-id: svn://localhost/gambas/trunk@5615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-07 14:39:24 +00:00
Benoît Minisini
8b6c4b72f8 [GB.QT4]
* BUG: ShowModal() now honors the initial window state (full screen, 
  maximized...)


git-svn-id: svn://localhost/gambas/trunk@5612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-06 12:34:59 +00:00
Benoît Minisini
cb37409e50 [GB.GTK]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.

[GB.QT4]
* BUG: Fix the naming of controls. The rule is the following: by default, a 
  control takes the name of its event handler prefix. If it has no such 
  prefix, it takes a unique name made from an incremental integer. But the
  automatic instance of Form is named from its class name.


git-svn-id: svn://localhost/gambas/trunk@5608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-04-02 21:37:59 +00:00
Benoît Minisini
9f696c8352 [GB.GUI.BASE]
* BUG: Draw.FillStyle has been implemented.

[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.


git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-18 00:48:55 +00:00
Benoît Minisini
82f9ea714e [GB.GTK]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.

[GB.QT4]
* BUG: The Window.Controls property does not return invalid controls 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@5578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-10 16:05:22 +00:00
Benoît Minisini
71d052a379 [GB.QT.WEBKIT]
* BUG: Creating a WebElement should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-09 22:13:01 +00:00
Benoît Minisini
771c1933fc [GB.QT4]
* BUG: Fix a possible crash in the previous TextArea modification.


git-svn-id: svn://localhost/gambas/trunk@5572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-04 01:31:05 +00:00
Benoît Minisini
45d8058159 [GB.GUI.BASE]
* NEW: Common renaming routine for TextView, ListView, ColumnView and 
  IconView.
* NEW: IconView.Renaming is a new property that returns if an item is being
  renamed.
* BUG: Renaming an IconView item now correctly works if the IconView is 
  sorted.
* NEW: FileChooser and DirChooser now can rename or delete files.

[GB.QT4]
* NEW: TextArea inner margin is now two pixels when there is a border, and
  zero pixels when there is no border.


git-svn-id: svn://localhost/gambas/trunk@5571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-03-03 22:34:30 +00:00
Benoît Minisini
af5bdc6f45 [GB.DB.MYSQL]
* BUG: Database charset is correctly reset when an automatic reconnect 
  occurs.

[GB.FORM]
* OPT: LCDLabel highlight is now drawn with the Image.Fuzzy() method.

[GB.QT4]
* NEW: The drag & drop frame is now transparent.
* BUG: The drag & drop frame is now correctly hidden in all cases when dnd 
  operation is finished.


git-svn-id: svn://localhost/gambas/trunk@5539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-02-09 23:41:41 +00:00
Benoît Minisini
cee6e90273 [GB.WEB]
* BUG: JSON.Encode() can encode arrays again.


git-svn-id: svn://localhost/gambas/trunk@5518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-26 11:09:40 +00:00
Benoît Minisini
dbf5689f9a [INTERPRETER]
* BUG: Check process stack pointer with a bigger margin so that we get 
  'Stack overflow' errors instead of segfaults.

[GB.GTK]
* BUG: Fix menu bar layout when the window is shown for the first time.

[GB.GUI.BASE]
* BUG: Don't set the background color of ScrollArea scrollbars.

[GB.QT4]
* NEW: Remove any useless reference to Q3ScrollView.
* OPT: Paint.ClipRect is now optimized when the clipping region is a single
  rectangle.


git-svn-id: svn://localhost/gambas/trunk@5481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-01-01 11:55:40 +00:00
Benoît Minisini
1c940acd0c [WIKI CGI SCRIPT]
* BUG: Fix history page.

[GB.GUI.BASE]
* OPT: ScrollArea scrollbars should not flicker anymore during a resizing
  operation.
* BUG: Fix HSPlit and VSplit  behaviour when the visibility of a child
  changes.
* NEW: HSplit.Layout and VSplit.Layout now return the width of an hidden 
  child as zero.

[GB.QT4]
* OPT: Optimize clipping when the clipping area is a rectangle.


git-svn-id: svn://localhost/gambas/trunk@5480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-31 03:13:04 +00:00
Benoît Minisini
d76ae3b004 [INTERPRETER]
* NEW: Pointer to string conversion now uses hexadecimal numbers.

[GB.QT4]
* BUG: Clipping now works when drawing pictures or images.


git-svn-id: svn://localhost/gambas/trunk@5478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 14:34:43 +00:00
Benoît Minisini
e149b21e32 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for subversion 1.7.

[GB.FORM]
* BUG: ColorChooser with a border has an inner margin now.

[GB.QT4]
* BUG: Fix drawing or plain and etched borders.


git-svn-id: svn://localhost/gambas/trunk@5475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-30 01:22:23 +00:00
Benoît Minisini
d8d9e98961 [INTERPRETER]
* NEW: Pointer can be converted to String like Integer or Long.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the '~/.fonts.conf' file when installing the Gambas 
  font.

[GB.GTK]
* NEW: Remove HSplit and VSplit controls.

[GB.GUI.BASE]
* NEW: HSplit and VSplit controls are now implemented with Gambas.
* BUG: Fix scrollbar layout of ScrollArea and all its descendants.

[GB.QT4]
* NEW: Remove HSplit and VSplit controls.


git-svn-id: svn://localhost/gambas/trunk@5472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-29 10:17:38 +00:00
Benoît Minisini
10052fdedb [DEVELOPMENT ENVIRONMENT]
* NEW: Start making property toolbars in the form editor.

[GB.GTK]
* BUG: Fix some warnings with gcc 4.7.

[GB.GUI.BASE]
* NEW: Start writing a custom HSplit container in Gambas.

[GB.QT4]
* BUG: The Container NewChild event is now raised after the new child 
  control has been shown, like in gb.gtk.



git-svn-id: svn://localhost/gambas/trunk@5471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-28 01:47:17 +00:00
Benoît Minisini
52106f4f0b [GB.QT4]
* NEW: Remove translation warning message at startup. It scares users.
* NEW: Try to enforce tooltip move when setting a new tooltip while it is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@5467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-23 13:51:05 +00:00
Benoît Minisini
bc2945181e [GB.GTK]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.

[GB.QT4]
* NEW: A Separator whose width or height is one pixel, is now drawn with 
  its foreground color.


git-svn-id: svn://localhost/gambas/trunk@5432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-12 00:02:15 +00:00
Benoît Minisini
ec042bac1f [GB.GTK]
* BUG: Correctly close the path when drawing an arc or an ellipse.

[GB.GUI.BASE]
* BUG: Draw.Ellipse() now does not draw outiline artifacts anymore when
  drawing an almost closed pie.


git-svn-id: svn://localhost/gambas/trunk@5431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-11 23:47:59 +00:00
Benoît Minisini
03d4c3edcd [GB.DESKTOP]
* BUG: Desktop.OpenTerminal() now works on Gnome and Mate desktops.

[GB.GTK]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.

[GB.GUI.BASE]
* BUG: Fix Draw.Rect() method.

[GB.QT4]
* BUG: Drawing on a DrawingArea with a background color set to 
  Color.Default means drawing with the DrawingArea background color.


git-svn-id: svn://localhost/gambas/trunk@5420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-09 15:00:57 +00:00
Benoît Minisini
9274cabcc0 [GB.QT4]
* BUG: gb.qt4 now should compile again with Qt version < 4.8.


git-svn-id: svn://localhost/gambas/trunk@5414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:42:37 +00:00
Benoît Minisini
5a547fbb10 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a big font for displaying cursor position in editors.

[GB.DRAW]
* NEW: Paint.Arc() and Paint.Ellipse() take a new optional boolean argument
  that tells if a pie must be drawn instead of a chord.

[GB.FORM]
* NEW: LCDLabel now has an HighlightColor property that allows to define 
  the color of the glow. By default, no glow is drawn.

[GB.GTK]
* BUG: Fix control background drawing routine.
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().

[GB.GUI.BASE]
* BUG: Draw.Ellipse() and Draw.Circle() now draw a pie instead of a chord.

[GB.QT4]
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().


git-svn-id: svn://localhost/gambas/trunk@5413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-06 00:21:16 +00:00
Benoît Minisini
9fcc50b488 [DEVELOPMENT ENVIRONMENT]
* NEW: Update markup syntax with support for indexes.

[WIKI CGI SCRIPT]
* NEW: Support for component help written in *.info files.
* BUG: Automatic links work again.

[GB.DRAW]
* BUG: Fix Point and PointF InRect() method signature.

[GB.GUI.BASE]
* BUG: TreeView Click event correctly sets the Item property.
* BUG: Remove the useless GridView.Data.Draw property.
* BUG: Remove the GridView KeyPress event override.
* BUG: Fix the GridView Draw event signature.

[GB.QT4.WEBKIT]
* NEW: WebElement.Paint() now takes an optional clipping rectangle 
  argument.


git-svn-id: svn://localhost/gambas/trunk@5410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-03 12:56:41 +00:00
Benoît Minisini
3d2523dd08 [GB.QT4.WEBKIT]
* BUG: Forgot to add the new files... Sigh.


git-svn-id: svn://localhost/gambas/trunk@5405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 22:31:58 +00:00
Benoît Minisini
021f8b2814 [GB.QT4.WEBKIT]
* NEW: WebElement is a new class that represents a DOM node. It allows to
  traverse, modify and search the entire document, and run any JavaScript 
  code on any document element.
* NEW: WebHitTest.XMLElement has been renamed as WebHitTest.HTML.
* NEW: WebHitTest.Element is a new property that returns the hit 
  WebElement.
* NEW: WebFrame.Document returns the top DOM element of a frame.
* NEW: WebView.Document returns the top DOM element of the view main frame.


git-svn-id: svn://localhost/gambas/trunk@5404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 21:56:58 +00:00
Bruce Bruen
57cb8494e9 nomsg
git-svn-id: svn://localhost/gambas/trunk@5399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-30 11:23:25 +00:00
Benoît Minisini
c409668bfb [CONFIGURATION]
* NEW: Redraw most of the control icons.

[DEVELOPMENT ENVIRONMENT]
* BUG: A few fixes in the Gambas fixed font.

[GB.GTK]
* NEW: Replace some uses of the deprecated Gdk drawing API by cairo.



git-svn-id: svn://localhost/gambas/trunk@5398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-29 23:10:16 +00:00
Benoît Minisini
2f4d1b7d2e [GB.DRAW]
* BUG: Fix Paint.ZoomImage() method.

[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.

[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.


[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has 
  been copied to the clipboard.


git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 23:40:28 +00:00
Benoît Minisini
520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like 
  Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing 
  as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like 
  Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same 
  thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a 
  rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.

[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a 
  DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.

[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox... 
  if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
  Paint class.

[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.

[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.


git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-27 18:42:24 +00:00
Benoît Minisini
7326cc894b [GB.DRAW]
* NEW: Paint.DrawImage() now takes a source rectangle.
* NEW: Paint.DrawPicture() is a replacement for Draw.Picture().
* NEW: Paint.ZoomImage() is a replacement for Draw.Zoom().

[GB.GTK]
* NEW: Start implementing new Paint methods.

[GB.QT4]
* NEW: Start implementing new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-26 06:33:49 +00:00
Benoît Minisini
7af5ee2344 [GB.DRAW]
* NEW: Paint.BrushOrigin is a new property that allows to define the origin 
  of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.

[GB.GTK]
* NEW: Support for the new Paint methods.

[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
  That class aims at replacing the current Draw class. As it will be based 
  on the Paint class, it will be able to act on Image and Printer, making
  the old Gambas 2 printing code works with Gambas 3 directly.

[GB.QT4]
* NEW: Support for the new Paint methods.


git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-25 01:39:49 +00:00
Benoît Minisini
225c6e0b40 [DEVELOPMENT ENVIRONMENT]
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
  already installed.
* NEW: Update the Gambas fonts.

[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
  argument pattern (%u, %f, and so on) in its command description.

[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer 
  coordinates.
* NEW: Add a PointF class, that is just a point with two Float
  coordinates.

[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
  anymore.
* BUG: Fix previous TreeView optimizations.

[GB.MAP]
* BUG: Rename the "map" class as "Map".


git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-24 01:16:40 +00:00
Benoît Minisini
a7c3939e3d [DEVELOPMENT ENVIRONMENT]
* BUG: Be sure that the welcome dialog filter has the focus.

[WEBSITE MAKER]
* NEW: Update for 3.3.4.

[GB.DB]
* BUG: A failing table or user add does not leak memory anymore.
* BUG: Fix the removal method of the .SubCollection virtual class.

[GB.DB.SQLITE3]
* BUG: Detect serial fields correctly now.

[GB.QT4]
* BUG: Enusre that embedded windows emit their Open event before any Move, 
  Resize events...


git-svn-id: svn://localhost/gambas/trunk@5340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-20 01:37:26 +00:00
Benoît Minisini
7bc49b6e9f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix an infinite loop when choosing a fixed font for the search list
  after the default font has been changed from the option dialog.

[GB.GTK]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.

[GB.QT4]
* NEW: Trying to set a font size lower or equal than zero now raises an 
  error.
* BUG: The menubar height is now correctly updated after a font change.


git-svn-id: svn://localhost/gambas/trunk@5333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-18 16:59:46 +00:00
Benoît Minisini
c0023665f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Integrate the welcome dialog into the main window.

[GB.GUI.BASE]
* BUG: GridView: Resizing a column or a row does not trigger the MouseDrag 
  event anymore.


git-svn-id: svn://localhost/gambas/trunk@5332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-17 16:46:33 +00:00
Benoît Minisini
13817216c4 [GB.GTK]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.

[GB.QT4]
* NEW: ComboBox.Border is a new property that tells if the ComboBox control
  should display a border.


git-svn-id: svn://localhost/gambas/trunk@5322 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-13 00:43:52 +00:00
Benoît Minisini
8a9c379c70 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the main toolbar through the ToolBar Configure 
  event.

[WIKI CGI SCRIPT]
* BUG: Fix synonymous pages (those whose title begins with '~/').

[GB.GUI.BASE]
* BUG: TreeView: Fix a crash when refreshing a sorted TreeView.


git-svn-id: svn://localhost/gambas/trunk@5316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-12 11:00:20 +00:00
Benoît Minisini
c8131956b2 [GB.QT4]
* BUG: Compilation with new gcc should be fixed.


git-svn-id: svn://localhost/gambas/trunk@5315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-11 19:46:17 +00:00
Benoît Minisini
1dc8368e3f [GB.QT4]
* BUG: Paint.DrawRichText() now takes the color opacity into account.


git-svn-id: svn://localhost/gambas/trunk@5313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-10 01:53:20 +00:00
Benoît Minisini
ac0b955eec [GB.QT4]
* BUG: KeyRelease event is not raised anymore if it comes from automatic 
  repeating. That way gb.qt4 behaves like gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@5307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 20:34:39 +00:00
Benoît Minisini
4708a63e89 [GB.GUI.BASE]
* BUG: TreeView won't crash anymore by trying to raise its Activate event 
  whereas the current item has been destroyed during the previous mouse 
  events.
* BUG: ScrollArea: DragLeave event can be called whereas there was no 
  DragMove event. So don't assume that.
* BUG: GridView: multiple selection works again.

[GB.QT4]
* BUG: Don't crash if the debugger asks for enabling the grabs back whereas
  the grabber widgets have been destroyed.


git-svn-id: svn://localhost/gambas/trunk@5305 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-08 17:28:16 +00:00
Benoît Minisini
5d9a781017 [DEVELOPMENT ENVIRONMENT]
* BUG: Right mouse button can select controls again in form editor.

[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 

[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
  DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in 
  GridView, TreeView... controls.

[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
  a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account. 


git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-07 22:51:04 +00:00
Benoît Minisini
6ec8947f88 [GB.QT4.EXT]
* NEW: Better undo/redo management.


git-svn-id: svn://localhost/gambas/trunk@5293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 17:54:47 +00:00
Benoît Minisini
6704db30ee [GB.QT4.EXT]
* BUG: Fix undo/redo when deleting to the left (backspace key).


git-svn-id: svn://localhost/gambas/trunk@5292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 16:44:58 +00:00
Benoît Minisini
54d789d66e [GB.DESKTOP]
* NEW: DesktopMime: when looking for the icon, try the 'mimes' directory if
  nothing is found in the 'mimetypes' directory.

[GB.FORM]
* OPT: FileView: clean up icon retrieving function.
* NEW: Stock: display warning on load fail only if GB_STOCK is set.

[GB.QT4.EXT]
* NEW: Editor: undo/redo now take the cursor position and the selection 
  into account.


git-svn-id: svn://localhost/gambas/trunk@5286 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 14:05:58 +00:00
Fabien Bodard
e5446e3eae [GB.FORM]
* NEW: Stock lose the AllowNull Param and return a Default Picture only if Debug is true

[GB.QT4]
* OPT: Return to the old Stock signature

[GB.GTK]
* OPT: Return to the old Stock signature




git-svn-id: svn://localhost/gambas/trunk@5284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 13:44:27 +00:00
Fabien Bodard
a36f6a7dfc [GB.FORM]
* NEW: New parameter in Stock class :'AllowNull' in _Get function so stock return
  null if ni icon is found

[GB.QT4]
* OPT: Change the signature for _Get detection

[GB.GTK]
* OPT: change the stock _get signature




git-svn-id: svn://localhost/gambas/trunk@5280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-11-02 12:05:55 +00:00
Benoît Minisini
588e0f3942 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a 
  method named "Get" is called inside the analyzed expression.

[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.

[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.

[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.

[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor 
  position automatically anymore.


git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-30 23:44:24 +00:00