Commit graph

368 commits

Author SHA1 Message Date
Benoît Minisini
2eb7394cb9 [GB.GTK]
* BUG: Application.MainWindow is writable now.


git-svn-id: svn://localhost/gambas/trunk@3588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 15:53:55 +00:00
Benoît Minisini
cd44f9a7de [EXAMPLES]
* BUG: Fix the Blights example.

[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple 
  of eight pixels.
* NEW: Paint.DrawImage() has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 01:32:14 +00:00
Benoît Minisini
5435c55457 [GB.GTK]
* BUG: DrawingArea.Clear() now does nothing when the DrawingArea is not 
  cached.


git-svn-id: svn://localhost/gambas/trunk@3583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 15:24:40 +00:00
Benoît Minisini
4525d7f572 [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure under the mouse is correctly highlighted while 
  scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly 
  handled when the project is under subversion.

[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.

[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now 
  correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.


git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 02:21:34 +00:00
Benoît Minisini
9d39ca8fb1 [GB.GTK]
* BUG: gb.gtk should compile again with older GTK+ versions.


git-svn-id: svn://localhost/gambas/trunk@3579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-18 13:17:35 +00:00
Benoît Minisini
d78946c270 [GB.GTK]
* NEW: TextArea.Undo() and TextArea.Redo() have been implemented.
* NEW: Standard shortcuts in TextArea for copy, cut, paste, select all, 
  undo & redo actions.


git-svn-id: svn://localhost/gambas/trunk@3575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-16 01:38:23 +00:00
Benoît Minisini
f269a0071d [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new IconPanel container to implement the option dialog.

[GB.DRAW]
* BUG: Paint.DrawImage() width and height arguments are now optional.

[GB.FORM]
* NEW: IconView has support for right-to-left written languages.
* BUG: Setting the picture of an IconView item now correctly updates the
  IconView layout.
* NEW: IconPanel is a new multi-container based on an IconView.


git-svn-id: svn://localhost/gambas/trunk@3569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 13:31:52 +00:00
Benoît Minisini
01b28918b3 [GB.DRAW]
* NEW: Put the Rect class in the gb.draw component.

[GB.GTK]
* NEW: Remove the Rect class.
* BUG: Draw.Tile() works now.

[GB.QT4]
* NEW: Remove the Rect class.


git-svn-id: svn://localhost/gambas/trunk@3567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 21:43:14 +00:00
Benoît Minisini
234470cdcf [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the option dialog with an IconView.

[GB.GTK]
* BUG: Control.Grab() now works as expected.
* BUG: Desktop.Screenshot() does not crash anymore, and works correctly
  when the screenshot is outside of the root window.

[GB.QT4]
* NEW: Remove the default item margin of ListView, TreeView and ColumnView.


git-svn-id: svn://localhost/gambas/trunk@3566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 16:37:01 +00:00
Benoît Minisini
8cb70ddf70 [GB.GTK]
* BUG: Key[] does not print GTK+ warning anymore when getting a null 
  string as argument.
* BUG: Mouse.Blank cursor works as expected now.


git-svn-id: svn://localhost/gambas/trunk@3547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 01:35:04 +00:00
Benoît Minisini
845ae0ad6b [GB.GTK]
* BUG: MoveScaled works correctly for positions and sizes that are not a 
  multiple of Desktop.Scale.

[GB.QT4]
* BUG: MoveScaled works correctly for positions and sizes that are not a 
  multiple of Desktop.Scale.


git-svn-id: svn://localhost/gambas/trunk@3544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-06 01:31:59 +00:00
Benoît Minisini
960226de24 [GB.FORM]
* NEW: IconView.Picture has been implemented.
* BUG: IconView in single mode behave correctly when setting the Selected 
  property of an individual item.

[GB.GTK]
* BUG: Start to fix Draw.Tile().
* BUG: Menu event propagation has been fixed.


git-svn-id: svn://localhost/gambas/trunk@3542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 12:22:38 +00:00
Benoît Minisini
1daab792db [DEVELOPMENT ENVIRONMENT]
* BUG: CoordBox correctly returns decimal value in american format.

[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog 
  anymore.
* BUG: Printed font now have the correct size.

[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because 
  Paint.DrawText aligns according to Font.Height and not 
  Paint.TextExtents().


git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 01:28:12 +00:00
Benoît Minisini
4fc2e615d0 [GB.FORM]
* BUG: ScrollArea draws its border correctly in all cases now.
* BUG: IconView will not get the focus all the time anymore.

[GB.GTK]
* BUG: ScrollView.ScrollHeight returns the correct value now.


git-svn-id: svn://localhost/gambas/trunk@3538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 10:05:59 +00:00
Benoît Minisini
6f3aaa22fd [GB.GTK]
* BUG: Fix ScrollView scrollbar layout.


git-svn-id: svn://localhost/gambas/trunk@3536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:06:08 +00:00
Benoît Minisini
5af06bc544 [EXAMPLES]
* BUG: Port the OnScreenDisplay example to Gambas 3.

[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now 
  raises the Activate event.

[GB.GTK]
* BUG: Fix warnings when creating a Slider.

[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.


git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:03:52 +00:00
Benoît Minisini
75b21f6a1e [GB.GTK]
* BUG: Fix inversion of column and row in many GridView properties and 
  methods. I hope all have been fixed!


git-svn-id: svn://localhost/gambas/trunk@3523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 23:43:10 +00:00
Benoît Minisini
644e472c3f [GB.GTK]
* BUG: Menu events are propagated to the parent if they are not handled in 
  the child.


git-svn-id: svn://localhost/gambas/trunk@3520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:58:21 +00:00
Benoît Minisini
c3d0079235 [GB.GTK]
* BUG: Default and cancel buttons shortcuts work correctly again.


git-svn-id: svn://localhost/gambas/trunk@3519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:31:50 +00:00
Benoît Minisini
a54b7b9a1a [GB.GTK]
* BUG: Setting TabStrip.Font property works like in gb.qt4 now.


git-svn-id: svn://localhost/gambas/trunk@3517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 18:03:24 +00:00
Benoît Minisini
6744c067b9 [GB.FORM]
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
  arrange and draw its icons.
* OPT: IconView refreshing has been optimized.

[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().

[GB.QT4]
* NEW: TextArea.Alignment has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:35:47 +00:00
Benoît Minisini
7f29aaf2ee [DEVELOPMENT ENVIRONMENT]
* BUG: Current edited line is not highlighted by force anymore after a 
  global search.

[GB.FORM]
* NEW: New IconView control entirely made in Gambas.
* NEW: ScrollArea.EnsureVisible() has been implemented.

[GB.GTK]
* NEW: Old IconView has been removed.
* BUG: Do not use the deprecated tooltip API anymore.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.

[GB.IMAGE]
* NEW: Color.SetAlpha() is a new method that takes an integer color, change
  its alpha component, and return the modified integer color.

[GB.QT4]
* NEW: Old IconView has been removed.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
* BUG: Window default title is correctly converted from UTF-8.

[GB.QT4.EXT]
* NEW: Editor.HighlightAll is a new method to force the highlighting of the
  entire text.
* NEW: The Editor.Lines CollapseAll() and ExpandAll() methods were moved to
  the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 00:55:59 +00:00
Benoît Minisini
f3c6b7bb23 [GB.GTK]
* BUG: Fix ComboBox.Add() when the position argument is specified.
* BUG: Fix ListBox.Add() when the position argument is specified.


git-svn-id: svn://localhost/gambas/trunk@3504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 18:11:22 +00:00
Benoît Minisini
ead250f293 [GB.FORM]
* BUG: Fix ButtonBox on gb.gtk.

[GB.GTK]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.

[GB.QT4]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.


git-svn-id: svn://localhost/gambas/trunk@3502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 17:05:52 +00:00
Benoît Minisini
c22083ba44 [GB.DRAW]
* NEW: Draw.Arc() is a new method to draw arcs.

[GB.GTK]
* BUG: Draw.Ellipse() now correctly draws a pie when filling is enabled.
* NEW: Implement Draw.Arc().

[GB.QT4]
* NEW: Implement Draw.Arc().


git-svn-id: svn://localhost/gambas/trunk@3500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 02:42:42 +00:00
Benoît Minisini
ab91dc9d7c [DEVELOPMENT ENVIRONMENT]
* NEw: Add support for finnish language.

[GB.FORM]
* NEW: Start to implement the new IconView by mixing Fabien's code and 
  mine.
* New: ScrollArea.Tracking property has been implemented.
* NEW: ScrollArea now undestands mouse wheel events.

[GB.GTK]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now correctly follows text alignment.
* BUG: UserContainer ClientX, ClientY, ClientWidth and ClientHeight 
  properties now return the accurate value.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
* NEW: Add ScrollView.Contents{W,H,Width,Height} synonymous properties.

[GB.QT4]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now uses the foreground color as expected.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.


git-svn-id: svn://localhost/gambas/trunk@3496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-25 17:57:08 +00:00
Benoît Minisini
16492cc5ee [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure list geets the focus again when it is opened.

[GB.FORM]
* NEW: ScrollArea is a new Container widget that is a DrawingArea with
  scrolling capabilities.

[GB.GTK]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.
* BUG: Scrollbar sliders size now follows the PageStep property.

[GB.QT4]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.


git-svn-id: svn://localhost/gambas/trunk@3493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-24 14:37:11 +00:00
Benoît Minisini
6a805d3cdd [DEVELOPMENT ENVIRONMENT]
* NEW: Edison Henrique Andreassy has been added to the authors list.

[GB.FORM]
* BUG: ValueBox has been fixed.
* NEW: ValueBox, MaskBox and DateBox now have an Action property, so that
  they can be put inside a toolbar.
* OPT: Useless classes have been removed.

[GB.GTK]
* NEW: Setting GridView.Rows[].Height to -1 makes the row height fits its 
  contents.
* NEW: Setting GridView.Columns[].Width to -1 makes the column width fits 
  its contents.


git-svn-id: svn://localhost/gambas/trunk@3487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-21 16:04:55 +00:00
Benoît Minisini
a2133c1052 [GB.GTK]
* NEW: The Menu event is correctly raised even if there is no other mouse
  event handler.


git-svn-id: svn://localhost/gambas/trunk@3485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 14:31:59 +00:00
Benoît Minisini
8a558e1484 [GB.GTK]
* BUG: Fix initial alignment of Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:41:59 +00:00
Benoît Minisini
45c48b1dfe [GB.GTK]
* BUG: GridView correctly receives the focus now.


git-svn-id: svn://localhost/gambas/trunk@3483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:38:39 +00:00
Benoît Minisini
055c920dc0 [GB.GTK]
* BUG: Windows receive all events now, not just keyboard events.


git-svn-id: svn://localhost/gambas/trunk@3480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 12:19:56 +00:00
Benoît Minisini
55c051bbb7 [DEVELOPMENT ENVIRONMENT]
* BUG: Property side panel is movable again while in debugging mode.

[GB.REPORT]
* BUG: A point is 1/72 inch. It is not relative to device resolution.
  Consequently, the font size must not be adjust to the device resolution.
* BUG: In the preview, use a copy of the report to send it to the printer.
  Otherwise the preview drawing will interfere with it.


git-svn-id: svn://localhost/gambas/trunk@3476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 11:55:26 +00:00
Benoît Minisini
322c8249a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Handle variant control properties as string properties.
* BUG: Try to deal with autocompletion of exported classes in component
  projects that use themselves.

[GB.FORM]
* BUG: Fix ButtonBox arrangement.
* NEW: ValueBox was completely redesigned. It supports now the following
  editing types: Number, Date, Time, DateTime, Currency & IPAddress.
* NEW: MaskBox.MaskChar has been removed. The mask char is now always a 
  space!
* NEW: MaskBox is more intelligent now with digit masks and cursor moves.
* NEW: DateChooser.ShowTime is a new property that let it edit times.
* NEW: DateBox.ShowTime is a new property that let it edit times.

[GB.GTK]
* BUG: Setting Control.Proxy to NULL works now.
* BUG: New controls are correctly arranged when they are inserted in their 
  parent container.
* BUG: UserControl._Arrangement has been implemented.
* BUG: UserControl.SetFocus has been removed.

[GB.QT4]
* BUG: UserControl.Arrangement is really an integer property.


git-svn-id: svn://localhost/gambas/trunk@3469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 01:42:32 +00:00
Benoît Minisini
5a97c1d97d [GB.GTK]
* BUG: Find a reliable way of using "print to a file" printer when setting 
  the Printer.OutputFile property.


git-svn-id: svn://localhost/gambas/trunk@3467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 22:57:26 +00:00
Benoît Minisini
20a5a8e549 [GB.GTK]
* BUG: Setting Printer.OutputFile now should automatically switch to the
  "print to a file" printer.


git-svn-id: svn://localhost/gambas/trunk@3466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 22:41:29 +00:00
Benoît Minisini
fce4691c9f [DEVELOPMENT ENVIRONMENT]
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current 
  desktop.

[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker, 
  Enlighnement.

[GB.GTK]
* NEW: Support for screen available geometry.


git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 16:07:50 +00:00
Benoît Minisini
9bd5694c34 [GB.GTK]
* BUG: The Label and TextLabel are not incorrectly made visible anymore.
* NEw: Use '\t' instead of spaces to separate menu text from the shortcut.


git-svn-id: svn://localhost/gambas/trunk@3461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 23:26:03 +00:00
Benoît Minisini
1cdef3b24f [GB.FORM]
* NEW: Redesign the syntax of the MaskBox.Mask property. It is now a LIKE
  regular expression (or almost).
* BUG: DateBox.Value works correctly again.

[GB.GTK]
* BUG: Popup windows work again.


git-svn-id: svn://localhost/gambas/trunk@3447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 19:36:59 +00:00
Benoît Minisini
0f50806bb8 [GB.FORM]
* NEW: A new control, MaskBox, that is a TextBox with an optional mask.
* NEW: ButtonBox now uses a MaskBox.

[GB.GTK]
* BUG: TextBox.Selection.Length now returns the correct value.

[GB.QT4]
* BUG: TextBox.Selection.Start now returns the cursor position when nothing
  is selected.


git-svn-id: svn://localhost/gambas/trunk@3445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 16:52:24 +00:00
Benoît Minisini
f0c601134e [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic insertion of event handlers is not case sensitive anymore.
* BUG: Fix some symbol icons in automatic completion popup.

[GB.GTK]
* NEW: Key events now handle proxies.
* NEW: The events are now sent to the proxy first. This should be contrary, 
  but at least it does not break the IDE.

[GB.FORM]
* NEW: ButtonBox.Button is a new property that defines if the button should
  be visible or not.
 
[GB.QT4]
* NEW: Key events now handle proxies.
* NEW: SetFocus() now follows the proxy chain.
* NEW: The events are now sent to the proxy first. This should be contrary, 
  but at least it does not break the IDE.


git-svn-id: svn://localhost/gambas/trunk@3443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 01:44:43 +00:00
Benoît Minisini
6a9a8b1fa0 [GB.GTK]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard 
  events yet.
* BUG: ComboBox does not crash anymore if deleted while there is a pending
  internal model update.
* BUG: Control.ScreenX and Control.ScreenY now return the correct values 
  for controls whose GTK+ widget has no window.

[GB.QT4]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard 
  events yet.
* BUG: Remove the now useless specific focus management of UserControl.


git-svn-id: svn://localhost/gambas/trunk@3441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 00:55:18 +00:00
Benoît Minisini
7cf9cc6881 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't abort if there is a breakpoint with a bad line number stored
  in the project settings file.

[GB.GTK]
* BUG: SpinBox Value property should always be accurate now.
* BUG: Enter and Leave events are correctly raised again.
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.
* BUG: A parent menu does not raise the Click event anymore.

[GB.QT4]
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.

[GB.QT4.EXT]
* BUG: Getting the Editor.Text property now does not leave the current line
  uncolorized.


git-svn-id: svn://localhost/gambas/trunk@3440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-04 16:10:07 +00:00
Benoît Minisini
da16512b50 [GB.GTK]
* BUG: The default maximum value of ScrollBar and Slider controls must be 
  100, not 99.


git-svn-id: svn://localhost/gambas/trunk@3435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 13:08:14 +00:00
Benoît Minisini
61acd2084d [DEVELOPMENT ENVIRONMENT]
* BUG: Update component dependencies correctly when converting a Gambas 2 
  project.
* BUG: Extern function declarations are now taken into account by the
  contextual help system.
* BUG: Clicking on a link to a project declaration in an help window works
  correctly now.

[GB.GTK]
* BUG: DrawingArea.NoBackground works in all cases now.
* BUG: Dialog.OpenFile() works correctly again now.


git-svn-id: svn://localhost/gambas/trunk@3428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 13:14:21 +00:00
Benoît Minisini
2eb5d8b8ca [GB.GTK]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
  methods like Contains, Union or Intersection.

[GB.QT4]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
  methods like Contains, Union or Intersection.


git-svn-id: svn://localhost/gambas/trunk@3427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 00:39:08 +00:00
Benoît Minisini
f5b97ba80f [GB.GTK]
* BUG: Reparenting a GridView directly or indirectly should work correctly 
  now.


git-svn-id: svn://localhost/gambas/trunk@3425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 22:30:16 +00:00
Benoît Minisini
caefe95103 [GB.GTK]
* BUG: Settings the text of a transparent Label or TextLabel having no text
  works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 19:03:36 +00:00
Benoît Minisini
938209d793 [DEVELOPMENT ENVIRONMENT]
* OPT: Simplify the implementation of the component list in the project
  property dialog.

[GB.GTK]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as 
  the Adjust() method, so that gb.gtk and gb.qt4 behave the same.

[GB.QT4]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as 
  the Adjust() method, so that gb.gtk and gb.qt4 behave the same.
* NEW: Disable the glib main loop support only if we are using KDE.


git-svn-id: svn://localhost/gambas/trunk@3419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 16:29:46 +00:00
Benoît Minisini
ba3a22e532 [DEVELOPMENT ENVIRONMENT]
* NEW: Exchange the "environment" tab with the "components" tab in the 
  project property dialog.

[GB.GTK]
* BUG: Rework the management of focus and window activation so that gb.gtk 
  and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
  disappears with the Gnome window manager.

[GB.QT4]
* BUG: Rework the management of focus and window activation so that gb.gtk 
  and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
  disappears with the Gnome window manager.
* BUG: Do not disable the GLib support, it makes QT applications crash on
  Gnome. I think it should be disable on KDE only.


git-svn-id: svn://localhost/gambas/trunk@3416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-31 02:57:16 +00:00
Benoît Minisini
e0e71dc4f5 [CONFIGURATION]
* NEW: Qt 4.5.0 is now required to compile the gb.qt4 components.

[INTERPRETER]
* NEW: You can now define a non-creatable but auto-creatable class. It 
  means that you cannot instanciate the class, but you can use it
  statically.

[GB.GTK]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
  X, Y, Width and Height properties return the full geometry. The 
  AvailableX, AvailableY, AvailableWidth and AvailableHeight properties 
  return the geometry available to the windows. The screen class can be 
  used statically to get the geometry of the default screen.
  BEWARE: The available geometry is not yet implemented on gb.gtk!
* NEW: Window.Screen is a new property that returns the screen where most 
  of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
  available geometry of the default screen. It is an equivalent of
  Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.

[GB.QT4]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
  X, Y, Width and Height properties return the full geometry. The 
  AvailableX, AvailableY, AvailableWidth and AvailableHeight properties 
  return the geometry available to the windows. The screen class can be 
  used statically to get the geometry of the default screen.
* NEW: Window.Screen is a new property that returns the screen where most 
  of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
  available geometry of the default screen. It is an equivalent of
  Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.


git-svn-id: svn://localhost/gambas/trunk@3413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-30 01:52:40 +00:00
Benoît Minisini
cd788ff08a [GB.GTK]
* BUG: Keyboard events are now sent to windows the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@3412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 18:25:16 +00:00
Benoît Minisini
a4056f9d53 [GB.GTK]
* BUG: Fix a memory leak that leads to a crash in the TextArea.Paste() 
  method.


git-svn-id: svn://localhost/gambas/trunk@3409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 09:05:28 +00:00
Benoît Minisini
27214867cf [GB.GTK]
* BUG: Fix how keys are sent to the window KeyPress and KeyRelease event
  handlers.


git-svn-id: svn://localhost/gambas/trunk@3406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 00:50:11 +00:00
Benoît Minisini
781d26b8eb [GB.GTK]
* BUG: Hiding the active control now correctly gives the focus to the next
  control in the focus chain.


git-svn-id: svn://localhost/gambas/trunk@3405 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-29 00:12:06 +00:00
Benoît Minisini
3cf59d321a [DEVELOPMENT ENVIRONMENT]
* NEW: Files can be dropped from files managers to the project treeview.
  They are automatically inserted into the project then.

[WIKI CGI SCRIPT]
* BUG: '{' and '}' are not interpreted anymore between '=='.

[BENCHMARKS]
* NEW: Add Gambas/Perl/Python benchmarks to the repository.

[INTERPRETER]
* NEW: A Stop instruction encountered inside a component is not ignored
  anymore and stops the program.
* BUG: Fix the File.SetName, File.SetExt and File.SetBaseName methods.

[COMPILER]
* NEW: The preprocessor now undestands the False and True constants.

[GB.FORM]
* NEW: Clean up the Stock class icon loading algorithm.
* BUG: Fix the Gnome icon map.

[GB.FORM.STOCK]
* NEW: Support for svg stock icons.

[GB.QT4]
* BUG: Drag.Show() now works for DnD operations started outside of the 
  application.

[GB.GTK]
* BUG: Drag.Show() now works for DnD operations started outside of the 
  application.


git-svn-id: svn://localhost/gambas/trunk@3400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-27 14:28:59 +00:00
Benoît Minisini
6a596a2aa6 [DEVELOPMENT ENVIRONMENT]
* NEW: Gambas2 to Gambas3 project converter. Only forms and project 
  structure are converted at the moment, as before.
* NEW: Update compiler error messages list.

[INTERPRETER]
* BUG: Activate the automatic instance just after its creation, but 
  before calling the constructors, so that they can reference it without
  trying to create it recursively again and again.


git-svn-id: svn://localhost/gambas/trunk@3397 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-24 12:20:11 +00:00
Benoît Minisini
1ab1e3f9b9 |GB.GTK]
* NEW: The Image.Picture and the Picture.Image property do not change the 
  internal type of the image (server or memory). That change is done only 
  if necessary. Instead, these properties return a deep copy of the object.


git-svn-id: svn://localhost/gambas/trunk@3396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 14:42:16 +00:00
Benoît Minisini
e5cac201f2 [GB.GTK]
* BUG: Draw.Picture() and Draw.Zoom() now have the same behaviour as 
  gb.qt4. The picture is not smoothed when it is enlarged by an integer
  ratio.

[GB.QT4]
* BUG: Cached DrawingArea refresh should work again.
* BUG: Resizing a cached DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@3394 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 00:23:58 +00:00
Benoît Minisini
b86a35e903 [DEVELOPMENT ENVIRONMENT]
* BUG: The project property dialog does not crash anymore when there is an
  hidden component in the component list described in the '.project' file.

[INTERPRETER]
* BUG: -2147483648 is a valid integer.

[COMPILER]
* BUG: -2147483648 is a valid integer.

[GB.QT4]
* NEW: DrawingArea.NoBackground is a new property that prevent the 
  DrawingArea to automatically refresh its background when you know that 
  you will paint it fully yourself.

[GB.GTK]
* NEW: DrawingArea.NoBackground is a new property that prevent the 
  DrawingArea to automatically refresh its background when you know that 
  you will paint it fully yourself.


git-svn-id: svn://localhost/gambas/trunk@3393 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-22 18:31:44 +00:00
Benoît Minisini
213c24ba42 [GB.GTK]
* BUG: Fix uninitialized control proxy variables.


git-svn-id: svn://localhost/gambas/trunk@3389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-21 14:53:10 +00:00
Benoît Minisini
cdcf6cdac9 [DEVELOPMENT ENVIRONMENT]
* BUG: Code indentation routine correctly handles structures now.

[INTERPRETER]
* NEW: Object.LastEventName has been deprecated, and replaced by 
  the Param.EventName property.
* BUG: IsFloat() is now a synonymous for IsNumber().
* BUG: Intrinsic functions description has been updated.

[COMPILER]
* NEW: "\e" is a new string escape sequence equivalent to "\x1B".

[GB.FORM]
* NEW: Use the new Control.Proxy property instead of internal observers
  inside compound controls (ValueBox, ButtonBox, MenuButton).

[GB.GTK]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.

[GB.QT4]
* NEW: Control.Proxy is a new property that allows to define a control 
  proxy that will handle focus, key and mouse events in original control's 
  place.


git-svn-id: svn://localhost/gambas/trunk@3387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-21 14:05:42 +00:00
Benoît Minisini
3274c95dbb [GB.GTK]
* BUG: DrawingArea.Tracking property should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@3380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-19 18:18:26 +00:00
Benoît Minisini
a311ec02ef [GB.GTK]
* BUG: Fix the Printer.OutputFile property for space and non-ascii 
  characters.
* BUG: Don't show the configuration dialog briefly when calling 
  Printer.Print().


git-svn-id: svn://localhost/gambas/trunk@3370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-16 00:18:08 +00:00
Benoît Minisini
bfe0686c00 [GB.GTK]
* BUG: Stop Event now works during the Close event of a modal form.


git-svn-id: svn://localhost/gambas/trunk@3358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 05:38:11 +00:00
Benoît Minisini
34bb499ae7 [DEVELOPMENT ENVIRONMENT]
* BUG: Hide the menu entry "add a project link".

[GB.GTK]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.

[GB.QT4]
* NEW: ScrollBar.DefaultSize is a new property that returns the preferred 
  default size of a scrollbar.


git-svn-id: svn://localhost/gambas/trunk@3349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 22:13:02 +00:00
Benoît Minisini
1354ca2af7 [GB.DB.ODBC]
* BUG: Table existence should be checked correctly now.

[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image 
  easily.

[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is 
  taken into account when painting on a Printer object.


git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:20:40 +00:00
Benoît Minisini
26b363c96f [WIKI CGI SCRIPT]
* NEW: Button to "flattr" Gambas.

[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.

[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference 
  to a function.

[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write 
  "integer".

[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.

[GB.QT4]
* BUG: The font size of printed texts is now correct.


git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-05 20:17:24 +00:00
Benoît Minisini
ac01b8fc64 [GB.GTK]
* BUG: Fix a bad code path in event management, which leads to warnings 
  from the GTK+ library when displaying the printer configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@3342 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-04 16:07:53 +00:00
Benoît Minisini
76208aea23 [WIKI CGI SCRIPT]
* NEW: Version support for all wiki pages.
* NEW: Adding "#X" behind a title page make indexes ignore that page when 
  version X is requested.
* NEW: Version 2 is blue and version 3 is red.

[GB.DB.FORM]
* BUG: IsObject() has been removed, so do differently now.

[GB.GTK]
* BUG: Cursor is correctly updated with the value of Application.Busy now.


git-svn-id: svn://localhost/gambas/trunk@3333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-28 19:08:51 +00:00
Benoît Minisini
8873a0e1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle all compiler error messages.

[INTERPRETER]
* NEW: Full management of the Single datatype.
* BUG: VarPtr() now works on Single local variables.
* BUG: Remove useless Tag property. It is defined in the Stream class now.
* BUG: Correctly free the Tag property in the Stream class.

[GB.GTK]
* BUG: Rich-text string management has been fixed. The ampersand character, 
  the "&", ">" and "<" entites are correctly interpreted now.

[GB.NET.CURL]
* BUG: Remove useless Tag property. It is defined in the Stream class now.

[EXAMPLES]
* NEW: The WebBrowser example has a download manager now.


git-svn-id: svn://localhost/gambas/trunk@3296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-16 01:49:18 +00:00
Benoît Minisini
df22763cfe [DEVELOPMENT ENVIRONMENT]
* BUG: Using the left or right key on the search browse list does not 
  crash anymore.
* BUG: When cleaning up the project, remove "core" files too.


git-svn-id: svn://localhost/gambas/trunk@3281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 14:57:03 +00:00
Benoît Minisini
5ecb5203d1 [GB.FORM.MDI]
* BUG: Many clean-ups in the MDI management.

[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now 
  correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children 
  controls anymore.

[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.

[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.


git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-07 11:41:59 +00:00
Benoît Minisini
23dd0b0299 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not search text inside form anymore.

[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not 
  conflict with anythign having the same name in components. The 
  interpreter API that was returning the startup class has been updated
  to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning 
  "b", to be coherent with File.Dir().

[GB.DESKTOP]
* NEW: Use the new API returning the startup class.

[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
  anymore.

[GB.GTK]
* NEW: Use the new API returning the startup class.

[GB.QT4]
* NEW: Use the new API returning the startup class.

[GB.SIGNAL]
* NEW: Use the new API returning the startup class.


git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-15 00:23:11 +00:00
Benoît Minisini
8a67b56e60 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog buttons now can handle keyboard focus navigation.

[WIKI CGI SCRIPT]
* BUG: Don't show hidden classes in todo page.

[GB.GTK]
* NEW: DrawingArea got all arrangement properties.

[GB.QT4]
* NEW: DrawingArea got all arrangement properties.


git-svn-id: svn://localhost/gambas/trunk@3262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 21:27:53 +00:00
Benoît Minisini
ba70da2041 [GB.GTK]
* BUG: Key.Code is not case sensitive for keys 'A' up to 'Z'.


git-svn-id: svn://localhost/gambas/trunk@3261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-08 01:18:17 +00:00
Benoît Minisini
e986930e86 [GB.GTK]
* BUG: Remove a debugging message.
* BUG: Menu bar now follows the window font and colors. Only the menu items 
  do not care and keep their default foreground colors at the moment.


git-svn-id: svn://localhost/gambas/trunk@3252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-04 23:46:49 +00:00
Benoît Minisini
dd544117b9 [GB.GTK]
* BUG: MouseMove event should be correctly raised in all case now.


git-svn-id: svn://localhost/gambas/trunk@3248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-02 22:28:53 +00:00
Benoît Minisini
cdb3872751 [GB.GTK]
* BUG: Using style functions on a picture does not crash anymore. But it 
  seems use a "default default" style instead of the current one.

[GB.FORM]
* BUG: SidePanel draw its arrows directly when gb.gtk is used, otherwise 
  the style is not respected (see above).


git-svn-id: svn://localhost/gambas/trunk@3247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-30 23:48:49 +00:00
Benoît Minisini
95b95fa8cc [CONFIGURATION]
* NEW: Start trying to display a resume at the end of installation.

[INTERPRETER]
* BUG: Extern functions now can handle up to 16 pointer or string 
  arguments.

[GB.GTK]
* BUG: Fix a infinite recursion in drag and drop management when draging
  TextBox or TextArea contents inside the same application.

[GB.QT]
* BUG: Do not propagate Drop events when there is a drop event handler.


git-svn-id: svn://localhost/gambas/trunk@3237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-24 09:32:46 +00:00
Benoît Minisini
943596f8ce [GB.GTK]
* BUG: The Draw class works correctly again on Picture.


git-svn-id: svn://localhost/gambas/trunk@3230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-19 14:59:06 +00:00
Benoît Minisini
c0f29f9f90 [DEVELOPMENT ENVIRONMENT]
* NEW: "Save project as" now uses a dialog box that allows to choose the 
  project new name.
* NEW: CSV file import dialog now can ignore the file first lines.
* NEW: CSN file import dialog now saves its contents in the setting file.

[INTERPRETER]
* BUG: Correctly remove '\t' from error messages, as that character is used
  by the debugger as separator.
* BUG: Release invalid automatic instances again.

[GB.DB.FORM]
* OPT: Use a transaction when deleting many rows in DataView.

[GB.DB.POSTGRESQL]
* BUG: Remove a debugging message.

[GB.GTK]
* BUG: Changing the stack order of a control now correctly triggers a
  parent arrangement.

[GB.QT4]
* BUG: Changing the stack order of a control now always triggers a parent 
  arrangement.


git-svn-id: svn://localhost/gambas/trunk@3225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-16 11:27:51 +00:00
Benoît Minisini
2fa5d15318 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix procedure list crash.

[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of 
  RGB values, now it uses the middle of HSV values. It changes the value of
  Color.LightForeground and the color used for drawing Workspace default
  background.

[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several 
  times.


git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 01:49:26 +00:00
Benoît Minisini
210a396888 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not store the svn revision in the .project file.
* NEW: Create a clever menu hierarchy when sorting recent files by path.

[INTERPRETER]
* BUG: Replace() correctly returns its first argument when its second
  argument is a void string.

[COMPILER]
* BUG: Remove a useless test.

[GB.FORM]
* NEW: Add a svg version of the GNU logo.
* BUG: Fix some stock icons in the Gnome map.

[GB.GTK]
* BUG: Fix possible crashes in three utility routines.
* BUG: Fix a crash in GridView.Rows[].Text property.

[GB.NET.SMTP]
* BUG: Fix an always true test.


git-svn-id: svn://localhost/gambas/trunk@3206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-11 10:23:36 +00:00
Benoît Minisini
f513199932 [GB.GTK]
* BUG: Try to make gb.gtk compile with GTK+ version < 2.18.


git-svn-id: svn://localhost/gambas/trunk@3204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-09 22:58:46 +00:00
Benoît Minisini
e9b2cd19b9 [WIKI CGI SCIRPT]
* NEW: Support for czech language.

[GB.GTK]
* BUG: Fix behaviour of autoresize Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 17:38:57 +00:00
Benoît Minisini
0a659f3a9d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the help browser for classes whose name begins with an 
  underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing 
  classes.

[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.

[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the file.

[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at 
  the end of the expression.

[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.

[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.


git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-04 13:21:11 +00:00
Benoît Minisini
de73b5ff5c [GB.FORM]
* BUG: TableView keyboard navigation behave better with gb.gtk.

[GB.GTK]
* BUG: Read-only ComboBox controls do not lost focus events anymore.


git-svn-id: svn://localhost/gambas/trunk@3175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-01 20:46:09 +00:00
Benoît Minisini
262d9d6bc5 [GB.FORM]
* BUG: MenuButton best size should be computed correctly now.

[GB.GTK]
* BUG: ColumnView, TreeView and ListView are correctly refreshed when an 
  item icon is changed.


git-svn-id: svn://localhost/gambas/trunk@3172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 18:29:05 +00:00
Benoît Minisini
93a7daf44e [DEVELOPMENT ENVIRONMENT]
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the 
  user can put the menus inside the main toolbar so that eveything fit on 
  one line.
* NEW: Hiding the menu now displays a removable warning message.

[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account 
  inside a word.

[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message, 
  i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.

[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.

[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially 
  visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.

[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all 
  controls and menus associated with an action.


git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-31 00:58:35 +00:00
Benoît Minisini
62c381c2f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Handle compiler errors having column information.

[INTERPRETER]
* BUG: Manage errors from native methods differently.

[COMPILER]
* NEW: Return the column in error messages generated by the parser.

[GB.GTK]
* BUG: Make TabStrip behave like in gb.qt when inserting a new tab.


git-svn-id: svn://localhost/gambas/trunk@3156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 20:51:10 +00:00
Benoît Minisini
6fa248850c [GB.FORM]
* NEW: Some new icons.

[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.

[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.


git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-29 01:39:59 +00:00
Benoît Minisini
0a79862457 [GB.GTK]
* BUG: Splitter layout is initialized so that all new panes are visible.
* BUG: Separators whose width or height is one pixel are correctly drawn 
  now.
* BUG: Control.MoveScaled() and Control.ResizeScaled() work correctly now 
  when their width or height argument is zero.
* BUG: Buttons autoresize works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-25 22:14:27 +00:00
Benoît Minisini
b2e5a3979f [DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the project tree view.

[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.

[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the 
  internal cursor is undefined. Raise an "invalid object" error instead.


git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 21:56:11 +00:00
Benoît Minisini
9152169c0b [EXAMPLES]
* BUG: The MoviePlayer example works again.

[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
  warning message anymore.


git-svn-id: svn://localhost/gambas/trunk@3116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 11:02:11 +00:00
Benoît Minisini
b620f3a8bd [DEVELOPMENT ENVIRONMENT]
* NEW: Put the breakpoint and watch buttons inside the code editor.
* NEW: Use another icon for breakpoints.

[GB.FORM]
* BUG: MenuButton does not react to mouse events when disabled now.

[GB.FORM.MDI]
* NEW: Use style methods to draw the toolbar handle.
* BUG: Dragging toolbar buttons work with Qt 4.7.

[GB.GTK]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Do not try again to get information about a widget when a window is 
  needed and the widget is not yet realized.

[GB.QT4]
* NEW: Action.IsLocked() is a new method that returns if actions are 
  globally locked.
* BUG: Now windows not yet shown can be closed even if a modal window is 
  currently active.

[GB.QT4.EXT]
* NEW: Little changes in Editor margin drawing routine.


git-svn-id: svn://localhost/gambas/trunk@3111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 21:45:23 +00:00
Benoît Minisini
13c7314713 [GB.GTK]
* BUG: Correctly release Menu tags.


git-svn-id: svn://localhost/gambas/trunk@3109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 16:04:58 +00:00
Benoît Minisini
c5b0b38771 [GB.GTK]
* BUG: Correctly display menubars again.


git-svn-id: svn://localhost/gambas/trunk@3108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:59:51 +00:00
Benoît Minisini
4f574b001e [INTERPRETER]
* BUG: The debugger does not crash anymore when activated at startup.

[GB.FORM]
* BUG: The MenuButton now only reacts to the left mouse button.

[GB.GTK]
* BUG: Remove some debugging messages from ColumnView.Settings property.
* BUG: Do not try to get informations about a widget when a window is 
  needed and the widget is not yet realized.
* BUG: Fix the Control.Cursor property.
* BUG: Control.Hovered now returns FALSE when the control is not visible.
* BUG: Creating the menubar does not make all window children visible 
  anymore.

[GB.QT4]
* BUG: Control.Hovered now returns FALSE when the control is not visible.


git-svn-id: svn://localhost/gambas/trunk@3107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 13:28:27 +00:00
Benoît Minisini
25fd457dc8 [GB.FORM]
* NEW: MenuButton has been redesigned to use a DrawingArea only.

[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container 
  children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.

[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
  is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
  we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.


git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 11:29:44 +00:00