Commit graph

871 commits

Author SHA1 Message Date
Benoît Minisini
56c65ddcb4 [DEVELOPMENT ENVIRONMENT]
* NEW: ImageEditor: Tons of bug fixes. The current selection and the 
  current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.

[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used 
  without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
  and returns the result.

[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a 
  bookmark.

[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.

[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.

[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.


git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-09 20:42:38 +00:00
Benoît Minisini
723a203185 [DEVELOPMENT ENVIRONMENT]
* NEW: New image editor, not yet finished. Use with care!

[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner 
  ScrollArea.
* NEW: ImageView has now two new methods to convert between image 
  coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be 
  visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the 
  image by using the mouse inside the view is possible.

[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.

[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the 
  actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
  constants that are returned by Key.Code when the corresponding key is 
  pressed or released.


git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-05 22:18:36 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
f8b62a4518 [DEVELOPMENT ENVIRONMENT]
* NEW: The system information dialog searches for more libraries.

[WIKI CGI SCRIPT]
* BUG: Correctly handle boolean constants.

[GB.DESKTOP]
* NEW: DesktopMime.GetIcon() now can stretch installed icons to the
  requested size.

[GB.GTK]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.

[GB.GUI.BASE]
* BUG: Fix IconView item text ellipsization routine.

[GB.QT4]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
* NEW: TrayIcon now supports ARGB visuals - i.e. icons are really 
  transparent now.


git-svn-id: svn://localhost/gambas/trunk@5747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 13:39:38 +00:00
Benoît Minisini
e684ba2230 [GB.QT4]
* BUG: Paint.RichText() now takes the vertical alignment into account 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@5746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-20 10:26:56 +00:00
Benoît Minisini
e9dd24404c [GB.QT4]
* BUG: Take the Invert property into account in vertical arrangements.

[GB.GTK]
* BUG: Take the Invert property into account in vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@5738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-19 18:10:24 +00:00
Benoît Minisini
29ab774c1c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the frame position when dragging a control from the toolbar on 
  a container.
* NEW: The project file properties dialog is now based on the new 
  FileProperties control.

[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
  register cleanup routines that are called when an error is raised between
  the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.

[INFORMER]
* BUG: The value of  Float constants is now correctly dumped in *.info 
  files.

[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.

[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where 
  the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where 
  the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where 
  the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory 
  where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file 
  extension.

[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a 
  specific file or directory. It automatically computes the size of 
  directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its 
  layout.
* NEW: The stock icon map now can declare specific icons for specific 
  widget themes.

[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.

[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.

[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as 
  Editor.LineNumberOffset.


git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-07-10 22:17:27 +00:00
Benoît Minisini
0812020209 [CONFIGURATION]
* NEW: Update VERSION file.

[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash 
  anymore, but display an error message instead.

[INTERPRETER]
* BUG: Some fixes in Application_Error method management.

[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.

[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes 
  to the end of the file.


git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-28 20:48:43 +00:00
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
Benoît Minisini
3c07aa952a [GB.GTK]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.

[GB.QT4]
* NEW: Remove useless source files of controls now implemented in the
  gb.gui.base component.


git-svn-id: svn://localhost/gambas/trunk@5259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-29 00:02:39 +00:00
Benoît Minisini
25e6253672 [CONFIGURATION]
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.

[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.

[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
  not trigger parent arrangement routine anymore.


git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 19:21:59 +00:00
Benoît Minisini
84bcc9052f [CONFIGURATION]
* BUG: Fix compilation of Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
  5% size increment.

[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
  variable is set to "1".

[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.

[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
  because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.

[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
  changes.



git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 14:35:31 +00:00
Benoît Minisini
0de1545f21 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix option dialog layout.

[GB.FORM]
* NEW: New FontChooser control design.

[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.

[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
  the old one yet.

[GB.QT4]
* NEW: Add Window.Indent arrangement property.


git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-28 00:28:26 +00:00
Benoît Minisini
8539a2a02d [DEVELOPMENT ENVIRONMENT]
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.

[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.

[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
  crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
  symbol.

[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with 
  "nan" or other special numeric strings.

[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when 
  there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control 
  entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.

[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.

[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The 
  _unknown method has been implemented to handle backward compatibility.


git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 18:59:14 +00:00
Benoît Minisini
d800d7e136 [INTERPRETER]
* BUG: Fix the order of component exported classes loading after the 
  project has been loaded.
* BUG: Fix GB.CanRaise() API.

[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be 
  sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
  descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
  sort defined by the DataSource.Sort property.

[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.

[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded 
  by gb.qt4 and gb.gtk. It implements the following controls and classes 
  entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
  ScrollArea. These classes were located in gb.form and in the Gambas part
  of GUI components before.

[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.

[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.


git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-27 00:28:55 +00:00
Benoît Minisini
17a0748815 [CONFIGURATION]
* NEW: Each component installation now generates all information files
  systematically, to fix possible dependencies between components written
  in Gambas.

[DEVELOPMENT ENVIRONMENT]
* NEW: Running a project using the 'gb.web' component now automatically
  starts the embedded HTTP server.

[INTERPRETER]
* NEW: Class overriding is retrospective now.
* NEw: System._Breakpoint() is a new hidden method that raises a 
  breakpoint. Very useful for debugging.

[GB.GTK]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.

[GB.HTTPD]
* NEW: Define a custom exported HTTP server name.

[GB.JIT]
* BEW: Support for new class overriding (the CLASS structure has lost one 
  field).

[GB.QT4]
* BUG: The Action.Register() method must not crash when called during class 
  clean-up.


git-svn-id: svn://localhost/gambas/trunk@5240 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 22:42:53 +00:00
Benoît Minisini
87e1d27af4 [GB.QT4]
* BUG: Less flicker when showing fullscreen windows.


git-svn-id: svn://localhost/gambas/trunk@5238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-14 12:24:40 +00:00
Benoît Minisini
a68336da9b [CONFIGURATION]
* NEW: Switch to 3.3.90 version.

[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.

[INTERPRETER]
* NEW: New API for getting information about a file.

[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a 
  next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.

[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.HTTPD]
* NEW: Reindent source files.

[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other 
  components.

[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.


git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-10-02 08:01:25 +00:00
Benoît Minisini
252053f9b3 [GB.GTK]
* BUG: Windows should not receive a keyboard event twice anymore.

[GB.QT4]
* BUG: Windows should not receive a keyboard event twice anymore.


git-svn-id: svn://localhost/gambas/trunk@5188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-22 01:38:15 +00:00
Benoît Minisini
54150a91e0 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little redesign of the welcome dialog.
* NEW: Remove the "Alternate" theme color.

[COMPILER]
* NEW: New WebPage syntaxes: <<Include>>, <</Include>>, <%/%>, <<--->>.

[GB.EVAL]
* NEW: Highlight.Alternate has been deprecated.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new WebPage syntaxes.

[GB.QT4.EXT]
* NEW: Editor: The alternate background is automatically computed.
* NEW: Editor: Brace highlighting now works on alternate background.
* NEW: Highlight.Alternate has been deprecated.


git-svn-id: svn://localhost/gambas/trunk@5177 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-20 02:29:37 +00:00
Benoît Minisini
0f985417cf [DEVELOPMENT ENVIRONMENT]
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same 
  name as the current project. This is a temporary incorrect fix!

[INTERPRETER]
* BUG: Fix Classes enumeration.

[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of 
  the window.

[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.

[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family 
  exists.


git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-17 11:13:32 +00:00
Benoît Minisini
b174b79ada [DEVELOPMENT ENVIRONMENT]
* NEW: Display a PDF icon for PDF files.

[GB.FORM]
* NEW: Add a PDF icon to the stock.

[GB.FORM.STOCK]
* NEW: Add a PDF icon.

[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must 
  be printed.

[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly 
  returns the Printer object to an inactive state.


git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-16 14:54:10 +00:00
Benoît Minisini
21dc0f5bf5 [GB.GTK]
* BUG: Fix dialog modality.
* BUG: The Window.Center() method now takes the available desktop into 
  account, not the entire screen.
* BUG: Fix filled ellipse drawing.

[GB.QT4]
* BUG: SpinBox Background property now works as expected.


git-svn-id: svn://localhost/gambas/trunk@5154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-10 22:07:48 +00:00
Benoît Minisini
efccab9dc4 [GB.QT4]
* BUG: Fix TextArea foreground color management.


git-svn-id: svn://localhost/gambas/trunk@5139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-07 16:44:09 +00:00
Benoît Minisini
3a0a6f4913 [DEVELOPMENT ENVIRONMENT]
* NEW: "Open with" menu now is based on the *.desktop files of applications
  that are installed on the system.

[GB.DESKTOP]
* NEW: DesktopFile is a new class that load *.desktop application files.
* NEW: DesktopFile.FindMime() is a static method that returns a list of
  DesktopFile that can handle a specific mime type.

[GB.FORM]
* BUG: Some fixes in the stock icon map file.
* NEW: Add a new "program" stock icon.

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


git-svn-id: svn://localhost/gambas/trunk@5129 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-06 00:38:04 +00:00
Benoît Minisini
28c9d6d59b [COMPILER]
* NEW: Make one warning for each symbol kind that is overridden.

[GB.DB.FORM]
* BUG: Fix warnings.

[GB.DESKTOP]
* BUG: Fix some warnings.

[GB.EVAL.HIGHLIGHT]
* BUG: Correctly rewrite the following keywords with no spurious space 
  after: TRUE, FALSE, NULL, +INF, -INF.

[GB.FORM]
* BUG: Fix warnings.

[GB.FORM.MDI]
* BUG: Fix warnings.

[GB.WEB]
* BUG: Fix warnings.


git-svn-id: svn://localhost/gambas/trunk@5125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-09-04 23:11:11 +00:00
Benoît Minisini
1a059ea685 [GB.GTK]
* BUG: FullScreen windows correctly raise the Open event now.

[GB.QT4]
* BUG: Windows do not raise their Resize event if the size didn't actually 
  change.


git-svn-id: svn://localhost/gambas/trunk@5106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-31 19:41:56 +00:00
Benoît Minisini
d39067841a [DEVELOPMENT ENVIRONMENT]
* NEW: New default project icon.
* BUG: Bookmarks are correctly updated now, when lines are inserted or 
  removed.
* BUG: The code pretty printer now preserves breakpoints and bookmarks.
* NEW: The welcome dialog box now has a filter for examples.

[EXAMPLES]
* BUG: Don't use JIT compiler in NeHeTutorial example #19, it crashes.
  OpenGL LLVM 3.0 and Gambas LLVM 3.1 in the same process is not welcome!

[GB.QT4.EXT]
* NEW: Editor.Bookmarks and Editor.Breakpoints properties are now writable.


git-svn-id: svn://localhost/gambas/trunk@5085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 12:46:33 +00:00
Benoît Minisini
43c441d15c [GB.DB.SQLITE3]
* BUG: 'INTEGER' fields are now assumed to be serial fields only if 
  'AUTOINCREMENT' has been specified too.

[GB.QT4]
* BUG: Fix declaration of Desktop.HasSystemTray property.


git-svn-id: svn://localhost/gambas/trunk@5083 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-27 02:57:50 +00:00
Benoît Minisini
091b94b1ed [INTERPRETER]
* NEW: Allow components to access the interpreter API through a pointer and 
  not a full structure. It is a little bit slower (one more indirection),
  but it uses less memory: one pointer instead of about 180.

[GB.GTK]
* NEW: Use the indirect API access.

[GB.QT4]
* NEW: Use the indirect API access.

[GB.TASK]
* NEW: Use the indirect API access.
* NEW: Task now is now a stream that can read the standard output of the 
  background task.
* NEW: Task now raises the Read event when the background task has printed
  something on its standard output.
* NEW: Task now raises the Error event when the background task has printed
  something on its standard error output. The event handler receives the
  data in its first argument.

[GB.XML.RPC]
* BUG: Some english fixes in some error messages.


git-svn-id: svn://localhost/gambas/trunk@5077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-25 15:13:39 +00:00
Benoît Minisini
b8f6e09b8b [INTERPRETER]
* NEW: Add support for double-linked lists in the interpreter API.
* NEW: GB.Wait() is a new API that waits for a specific number of 
  milliseconds, exactly like the WAIT instruction (i.e. the event loop is
  run).
* NEW: GB.HasForked() is a new API that warns the interpreter that fork()
  has been called (he has to do some stuff).
* NEW: Remove the GB_POST_FUNC datatype from the API.

[GB.DBUS]
* BUG: Fix some compilation warnings.

[GB.TASK]
* NEW: gb.task is a new component that allows to run background tasks by
  "simply" forking the interpreter. Communication between the task and the
  main process has not been implemented yet.


git-svn-id: svn://localhost/gambas/trunk@5076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-24 22:29:53 +00:00
Benoît Minisini
88700a1b37 [GB.FORM]
* NEW: New inner shadows for ScrollingArea.

[GB.QT4]
* BUG: Nothing is drawn now when the clipping rectangle has a negative 
  width or height.



git-svn-id: svn://localhost/gambas/trunk@5072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-23 19:52:50 +00:00
Benoît Minisini
f2abd7c95f [DEVELOPMENT ENVIRONMENT]
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.

[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a 
  Result object to the database. The event handler receives the Result as 
  argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
  editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource 
  enters creation mode.

[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.

[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.


git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-22 22:12:35 +00:00
Benoît Minisini
5133ebfb7f [GB.DB]
* BUG: Correctly handle null dates.

[GB.DB.FORM]
* NEW: DataControl now uses a DateBox to edit date values.

[GB.FORM]
* NEW: DateBox handles null dates now.
* NEW: MaskBox hides its contents now when it is the default one and it 
  does not have the focus.
* NEW: DateChooser displays a little cursor following the mouse inside the
  calendar and the time panel.

[GB.GTK]
* BUG: Fix popup management.
* BUG: Editable ComboBox  controls now have the right background.
* NEW: Automatically temporarily release the keyboard and the mouse when 
  the debugger stops the program.


git-svn-id: svn://localhost/gambas/trunk@5066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 23:24:22 +00:00
Benoît Minisini
e678e914f3 [INTERPRETER]
* NEW: Object.CanRaise() is a new method that returns if a specific object 
  event has an event handler.

[GB.DB.FORM]
* NEW: DataView now raises a new Data event that allows to format the 
  contents of a cell just before it is displayed. The event receives three
  arguments: the row, the column, and the cell value directly from the
  underlying database.
* NEW: DataBrowser propagates the Data event of its inner DataView.

[GB.FORM]
* BUG: TableView: Apply a white background behind the currently edited 
  cell.
* BUG: ScrollArea: Draw the inner shadow correctly in all cases.

[GB.GTK]
* BUG: The Font object returned by Control.Font is now correctly updated 
  when the font of any of its parent changes.
* BUG: Ensure that when a mouse button is pressed, the same control 
  receives the mouse button release event.

[GB.QT4]
* BUG: The Font object returned by Control.Font is now correctly updated 
  when the font of any of its parent changes.


git-svn-id: svn://localhost/gambas/trunk@5059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-20 18:05:25 +00:00
Benoît Minisini
52b3040e07 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to avoir Application.Busy flickering in some dialogs.

[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.

[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the 
  opacity of the drawing, between 0 and 1.

[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet 
  events.

[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
  cached.

[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.


git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-19 13:01:57 +00:00
Benoît Minisini
0388831b8c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash in form editor arrangement icons managemnt.

[GB.GTK]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.
* BUG: Try to activate all XInput devices when the DrawingArea.Tablet
  property is set.

[GB.QT4]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.


git-svn-id: svn://localhost/gambas/trunk@5051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-17 15:53:52 +00:00
Benoît Minisini
40c119a2c2 [GB.QT4]
* BUG: Fix tablet event management.


git-svn-id: svn://localhost/gambas/trunk@5048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-16 16:37:36 +00:00
Benoît Minisini
e9edef72fd [CONFIGURATION]
* NEW: Enable silent compilation.

[DEVELOPMENT ENVIRONMENT]
* NEW: When opening the startup class for the first time, go directly to
  the Main function.
* NEW: Support for READ and LINE INPUT instructions in the automatic local 
  variable declaration.

[GB.FORM]
* NEW: TabPanel can get focus now, and handle keyboard shortcuts.

[GB.QT4]
* BUG: Get rid of an old compilation warning.


git-svn-id: svn://localhost/gambas/trunk@5047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-16 16:37:03 +00:00
Benoît Minisini
45af334364 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for bookmarks in all text editors.

[GB.QT4.EXT]
* NEW: Editor: Always display a margin wide enough to display breakpoint or 
  bookmark signs.


git-svn-id: svn://localhost/gambas/trunk@5045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 21:26:45 +00:00
Benoît Minisini
edf8b8f34a [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display a thumbnail for images too large or too high.
* NEW: Implement bookmarks for code editor only.
* NEW: Automatic local variable declaration is disabled by default.

[INTERPRETER]
* NEW: GB.Deprecated() is a new interpreter API that displays a warning
  message for deprecated functions at runtime. When the project is 
  debugged, an error is raised instead.

[GB.FORM]
* NEW: Deprecate Stock.List which has been replaced by Stock.Icons.

[GB.QT4]
* BUG: Fix the case of Action.Tooltip property name.

[GB.QT4.EXT]
* NEW: Editor: Support for bookmarks.
* OPT: Editor: Do not compute the character width table each time the font
  changes. Use a cache instead.
* NEW: Editor.BookmarkPicture is a new property for defining the picture 
  used for displaying bookmarks.
* NEW: Editor.FindNextBreakpoint() has been deprecated and replaced by the
  Editor.Breakpoints property, that returns an integer array of all lines
  having a breakpoint.
* NEW: Editor.Bookmars is a new property that returns an integer array of 
  all lines having a bookmark.
* NEW: Editor.CurrentLine is a new property for defining the current 
  executed line. It replaces Editor[].Current.
* NEW: Editor[].Bookmark is a new boolean property that defines if a 
  specific line has a bookmark.


git-svn-id: svn://localhost/gambas/trunk@5044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 17:02:22 +00:00
Benoît Minisini
361f89dd57 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a directory in the project treeview should not segfault 
  anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.

[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming 
  mode.


git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 15:08:23 +00:00
Benoît Minisini
c836cf8c2c [GB.QT4]
* BUG: Add a font setting routine in the gb.qt interface.

[GB.QT4.EXT]
* BUG: Fix the TextEdit.Format.Font property.


git-svn-id: svn://localhost/gambas/trunk@5027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-10 23:57:38 +00:00
Benoît Minisini
de959789e0 [GB.FORM.MDI]
* NEW: Little design fix in the shortcut configuration dialog.

[GB.GTK]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.

[GB.QT4]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.


git-svn-id: svn://localhost/gambas/trunk@5024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 23:39:29 +00:00
Benoît Minisini
5285c3e83b [GB.QT4.EXT]
* BUG: Fix highlighting of saved lines.


git-svn-id: svn://localhost/gambas/trunk@5023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 14:29:26 +00:00
Benoît Minisini
f1cacc6caa [GB.QT4.EXT]
* NEW: Editor: Highlight saved modified lines and unsaved modified lines 
  differently.


git-svn-id: svn://localhost/gambas/trunk@5021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 09:04:41 +00:00
Benoît Minisini
f457c9608c [CONFIGURATION]
* BUG: Fix the component template script.

[GB.FORM]
* BUG: SidePanel controls now behave correctly when they are put inside a 
  TabStrip.

[GB.GMP]
* NEW: Skeleton for a new component based on the GNU "big numbers" GMP 
  library.

[GB.GTK]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.
* BUG: Fix Control.Raise() and Control.Lower() method when the parent is a
  TabStrip.

[GB.QT4]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.

[GB.QT4.EXT]
* NEW: Editor: The current line is now visible when using a dark highlight 
  theme.


git-svn-id: svn://localhost/gambas/trunk@5016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 14:04:55 +00:00
François Gallo
7947dd69f9 [CONFIGURATION]
* NEW: Add support for the MacPorts distribution. 
* BUG: Fix configuration issue for gb.qt.ext

[GB.CRYPT]
* NEW: it is now available for Mac OS X 10.8

[GB.QT4]
* BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. 



git-svn-id: svn://localhost/gambas/trunk@5004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 18:24:47 +00:00
Benoît Minisini
f47d95e785 [GB.QT4.EXT]
* BUG: Editor: Fix how spaces at end-of-line are drawn.


git-svn-id: svn://localhost/gambas/trunk@4982 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 18:14:33 +00:00
Benoît Minisini
1d0ebd5999 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree filter box now tries to keep the focus.
* NEW: Hitting ENTER in the project filter box opens the current selected 
  file.
* NEW: Using arrows keys in the project filter box now moves the project
  tree cursor.
* NEW: CTRL+L now sets the focus back to the project filter box.
* NEW: Hitting ESC in the project filter box now resets the filter.
* NEW: Add support for gb.gsl component in the project creation dialog.

[INTERPRETER]
* NEW: Support for floating-point constants.
* BUG: The equality operators of the _operator interface now can return -1
  when a datatype is not supported.

[GB.COMPLEX]
* NEW: Remove methods that are implemented by the _operator interface.

[GB.QT4]
* OPT: Load clipboard format list only if the clipboard has changed.

[GB.GSL]
* NEW: Matrix can be compared with real or complex numbers. The number is
  then multiplied by the identity matrix before doing the comparison.


git-svn-id: svn://localhost/gambas/trunk@4958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-16 16:30:55 +00:00
Benoît Minisini
bee8a886a3 [GB.QT4]
* BUG: ScrollView internal visible flag is correctly set, and so the 
  Hovered property returns the right value.


git-svn-id: svn://localhost/gambas/trunk@4898 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-04 23:32:00 +00:00
Benoît Minisini
069b5f8707 [GB.QT4]
* OPT: During a mouse event, Mouse.ScreenX and Mouse.ScreenY returns the 
  global position stored in the received event. It does not query the X11 
  server.

[GB.DESKTOP]
* NEW: Support for the Mate desktop in Desktop.Open, Desktop.OpenTerminal
  and Desktop.Passwords.


git-svn-id: svn://localhost/gambas/trunk@4895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-04 19:11:57 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* BUG: When a top-level source directory actually several components, 
  compile the sub-components *after* the main components. This is 
  especially important with gb.xml and gb.xml.rpc.


git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 17:51:54 +00:00
Benoît Minisini
5a24ec1e2a [GB.QT4]
* OPT: When reading the ClientX or ClientY property of a Window, arrange 
  its contents only if necessary.


git-svn-id: svn://localhost/gambas/trunk@4881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-02 14:05:57 +00:00
Benoît Minisini
43ddab7668 [GB.QT4]
* BUG: Postpone enter and leave events when a popup is displayed, like in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@4842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-17 10:56:55 +00:00
Benoît Minisini
d94ac40f09 [GB.QT4]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@4837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:29:17 +00:00
Benoît Minisini
5e0fdbfe7e [GB.FORM]
* NEW: ButtonBox use the new Style.BoxFrameWidth and Style.BoxFrameHeight
  properties to draw itself.

[GB.GTK]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* BUG: The DrawingArea draw event is raised before other internal drawing 
  events now, not after.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.

[GB.QT4]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.


git-svn-id: svn://localhost/gambas/trunk@4836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:27:32 +00:00
Benoît Minisini
32affd6b13 [GB.QT4]
* BUG: Setting the Text property of a TextArea control takes the foreground
  color into account now.


git-svn-id: svn://localhost/gambas/trunk@4825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 20:05:36 +00:00
Benoît Minisini
ba9bfd8847 [GB.QT4]
* OPT: A little optimization when using Draw.Begin() on a cached 
  DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 20:46:11 +00:00
Benoît Minisini
49fe75eec8 [GB.GTK]
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are 
  activated by the ENTER key.

[GB.QT4]
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are 
  activated by the ENTER key.


git-svn-id: svn://localhost/gambas/trunk@4818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 15:31:56 +00:00
Benoît Minisini
7e3570bfc9 [DEVELOPMENT ENVIRONMENT]
* OPT: Use Application.Busy earlier when opening a project.

[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.

[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
  profiling has not been activated by the '-p' command-line flag.

[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one 
  directory even if we are on the root of the current bookmark.

[GB.JIT]
* BUG: Fix some warnings.

[GB.XML.RPC]
* BUG: Fix component requirements.


git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 22:21:24 +00:00
Benoît Minisini
ff93548e41 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows correctly display line numbers now.

[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.

[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
  before the first displayed line (zero by default).


git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 14:44:00 +00:00
Benoît Minisini
e3ff08a8a6 [GB.FORM]
* NEW: Show trasnaprent SidePanel buttons as soon as the mouse hovers the 
  handle.

[GB.QT4.EXT]
* NEW: Procedures are folded or unfolded on mouse button release now, not 
  on mouse button press.


git-svn-id: svn://localhost/gambas/trunk@4802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 01:01:29 +00:00
Laurent Carlier
6b8cf6448e [CONFIGURATION]
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.


git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 05:55:35 +00:00
Benoît Minisini
1518cff7a6 [DEVELOPMENT ENVIRONMENT]
* NEW: Adapt GUI to the new SidePanel look.

[GB.FORM]
* NEW: SidePanel are invisible now.

[GB.QT4]
* BUG: Control.Hovered does no computation anymore, it returns an internal
  flag set when the Enter event is raised, and unset when the Leave event
  is raised.


git-svn-id: svn://localhost/gambas/trunk@4757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 12:11:14 +00:00
Benoît Minisini
cf844ec65e [GB.QT4]
* BUG: Using Draw on a DrawingArea correctly initializes the drawing 
  properties from the control colors.
* BUG: Background color of cached DrawingArea is correctly initialized now.


git-svn-id: svn://localhost/gambas/trunk@4754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-22 09:15:26 +00:00
Benoît Minisini
b5c6820986 [INTERPRETER]
* NEW: Allow to profile time spent waiting for events.

[GB.DEBUG]
* BUG: New profile file format that allows to profile lines of code that
  are function calls.

[GB.GTK]
* NEW: Profile time spent waiting for events.

[GB.QT4]
* NEW: Profile time spent waiting for events.


git-svn-id: svn://localhost/gambas/trunk@4747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 17:58:34 +00:00
Benoît Minisini
f93affd8e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display callees and callers in the profile window.
* NEW: Display profiling of each line of code.

[INTERPRETER]
* NEW: Activate profiling at the line of code level. Beware, things become
  slower!

[GB.DEBUG]
* NEW: Fix profiling at the line of code level.

[GB.FORM]
* NEW: GridView: Add a Scroll() method.

[GB.QT4.EXT]
* NEW: Editor: Add a ScrollBar property.
* NEW: Editor: Add ScrollX and ScrollY properties.
* NEW: Editor: Add a Scroll method.


git-svn-id: svn://localhost/gambas/trunk@4745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-20 02:21:43 +00:00
Benoît Minisini
f4e30d90a9 [DEVELOPMENT ENVIRONMENT]
* NEW: History has been implemented in profiling windows.

[GB.GTK]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.

[GB.QT4]
* NEW: Desktop.HasSystemTray is a new property that returns if a system 
  tray has been detected.
* BUG: If there is no system tray, showing a TrayIcon now raises an error
  instead of crashing.


git-svn-id: svn://localhost/gambas/trunk@4742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-19 12:54:48 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
217c3d9f94 [INTERPRETER]
* BUG: Activate debugging messages in signal management routines.

[GB.GTK]
* NEW: Implement the _NET_MOVERESIZE_WINDOW way of moving windows.
* BUG: Window state (Minimized, Maximized and FullScreen properties) is now 
  accurately returned.


git-svn-id: svn://localhost/gambas/trunk@4735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-16 21:42:28 +00:00
Benoît Minisini
30f9a40f2b [INTERPRETER]
* NEW: Rename all API related to components, and fix components using them.
* NEW: New signal API that allows to catch signals from the event loop.

[GB.GTK]
* BUG: Use g_object_unref() instead of rsvg_handle_free() now.


git-svn-id: svn://localhost/gambas/trunk@4721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 15:32:33 +00:00
Benoît Minisini
8acbd755a2 [GB.GUI.OPENGL]
* NEW: That new switcher component chooses between gb.gtk.opengl and 
  gb.qt4.opengl according to the current desktop in use.


git-svn-id: svn://localhost/gambas/trunk@4719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 21:09:42 +00:00
Benoît Minisini
409f3ed4d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.

[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.

[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
  gtkglext library.

[GB.OPENGL]
* BUG: Initialize GLEW once.

[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.

[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some 
  systems. Wait for a better solution...


git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 01:14:57 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
1bf7b3c62e [GB.QT4]
* BUG: Fix Makefile.am.


git-svn-id: svn://localhost/gambas/trunk@4707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:38 +00:00
Benoît Minisini
88c69c85ba [EXAMPLES]
* NEW: New MediaPlayer example based on the new gb.media GStreamer 
  component.

[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.

[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
  to a GStreamer plugin implementing the 'X overlay' interface.


git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:03 +00:00
Benoît Minisini
a6e9f61ee1 [CONFIGURATION]
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.

[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.

[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous 
  'main' hook, so that several hooks can be declared.

[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.

[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
  interpreter API.
* NEW: Allows multiple 'main' hooks.

[GB.QT4]
* NEW: Allows multiple 'main' hooks.


git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:04:51 +00:00
Benoît Minisini
543e3aa65f [GB.QT4]
* BUG: Fix Background property of ListBox,ListView,TreeView and ColumnView
  controls.


git-svn-id: svn://localhost/gambas/trunk@4678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 19:19:35 +00:00
Benoît Minisini
8c4a4059ce [GB.QT4]
* BUG: Fix Foreground property for TreeView, ListView, ColumnView and 
  ListBox controls.


git-svn-id: svn://localhost/gambas/trunk@4674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 11:20:55 +00:00
Benoît Minisini
3f1bb044cb [EXAMPLES]
* NEW: PhotoTouch example becomes better.

[GB.DB.FORM]
* BUG: Fix use of old GridView property in DataComboView.

[GB.FORM]
* NEW: IconView.Key is now writable, so that we can define the current 
  item.


git-svn-id: svn://localhost/gambas/trunk@4670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 08:39:35 +00:00
Benoît Minisini
ce4d8e6ebc [GB.QT4]
* BUG: Fix first drawing of a cached DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 14:04:23 +00:00
Benoît Minisini
1464b07a0c [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.ncurses to the component list.
* BUG: Prevent Qt from crashing when cancelling a file rename, by not
  reentering the event loop with WAIT.
* BUG: Do not try to refresh a deleted directory in the project tree.

[GB.FORM]
* NEW: DateChooser got an array accessor that returns a virtual object from
  a date. This virtual object allows to define the foreground color,
  background color and the font of any date.

[GB.QT4]
* BUG: Fix some possible use of deleted controls in event management.

[GB.QT4.EXT]
* BUG: Fix some use of uninitialized variables in Editor.


git-svn-id: svn://localhost/gambas/trunk@4624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-14 10:20:39 +00:00
Benoît Minisini
a9cddc969e [INTERPRETER]
* NEW: Even() is a new subroutine that returns if a number is even.
* NEW: Odd() is a new subroutine that returns if a number is odd.

[GB.GTK]
* BUG: Close all windows correctly when a QUIT instruction is executed.

[GB.QT4]
* BUG: Close all windows correctly when a QUIT instruction is executed.


git-svn-id: svn://localhost/gambas/trunk@4615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-11 00:27:18 +00:00
Benoît Minisini
bc5480568c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the text editor toolbar.
* NEW: Add a close menu entry in code, text and form editors. The default 
  shortcut is CTRL+W.
* NEW: Text editor got a find procedure button like the code editor.

[GB.EVAL.HIGHLIGHT]
* BUG: Add some forgotten CSS properties.

[GB.QT4.EXT]
* NEW: Editor: Support for TAB characters.
* BUG: Editor: Redesign font metrics optimizations.


git-svn-id: svn://localhost/gambas/trunk@4614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-10 00:31:07 +00:00
Benoît Minisini
dc5d539dec [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the contextual menu when a form editor is 
  activated.
* BUG: Hide the error message when the editor scrolls.

[WEBSITE MAKER]
* NEW: New home page design.

[GB.EVAL.HIGHLIGHT]
* NEW: Enhance CSS highlighting.

[GB.FORM.MDI]
* BUG: Remove debugging message.

[GB.QT4.EXT]
* BUG: Editor: Draw text one pixel higher so that underline is visible with
  all fonts.


git-svn-id: svn://localhost/gambas/trunk@4612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-09 14:50:30 +00:00
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 "&nbsp;" 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