Commit graph

565 commits

Author SHA1 Message Date
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
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
a0fda592f3 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new "View" control group.

[GB.FORM]
* NEW: Put view controls under the group "View".
* NEW: ButtonBox now raises the Activate event.
* BUG: MaskBox does not hit RETURN and ENTER key anymore.
* NEW: DateChooser.ShowTime property was replaced by the DateChooser.Mode
  property. That property can take three values: DateChoose.DateOnly,
  DateChooser.DateTime and DateChooser.TimeOnly.
* NEW: DateBox.ShowTime property was replaced by the DateBox.Mode property,
  like DateChooser.
* NEW: DateBox now raises the Activate event.

[GB.GTK]
* NEW: Put view controls under the group "View".

[GB.QT4]
* NEW: Put view controls under the group "View".


git-svn-id: svn://localhost/gambas/trunk@3478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 23:08:11 +00:00
Benoît Minisini
5ec2cf75d0 [GB.QT4]
* BUG: DrawingArea draws its border correctly again.


git-svn-id: svn://localhost/gambas/trunk@3473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:15:09 +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
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
e30aee9dbe [COMPILER]
* NEW: '\0' is a new string escape character for Chr$(0).

[GB.DRAW]
* NEW: Several Draw.Begin() and/or Paint.Begin() on the same device can be 
  safely imbricated.

[GB.EVAL]
* NEW: '\0' is a new string escape character for Chr$(0).

[GB.FORM]
* NEW: ButtonBox.Alignment is a new property to define the alignment of its
  internal TextBox.
* NEW: New syntaxes for the MaskBox mask:
  - '<' just after a mask character and just before a separator means that 
    the text before will be right-aligned.
  - '!' marks the default cursor position when the MaskBox gets the focus.


git-svn-id: svn://localhost/gambas/trunk@3450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-08 01:17:55 +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
9f465f552d [GB.QT4]
* BUG: Control.HasFocus() now correctly follow the proxy chain.


git-svn-id: svn://localhost/gambas/trunk@3444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 01:46:45 +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
1f25fbd67a [GB.QT4]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@3442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 00:56:10 +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
15d0fbcb9c [DEVELOPMENT ENVIRONMENT]
* BUG: Symbol icons are all visible again in the completion popup.
* NEW: A source language different from the one used in the source code can
  be used in the translation dialog.

[GB.FORM]
* NEW: Bookmark edition has been redesigned and enhanced.


git-svn-id: svn://localhost/gambas/trunk@3433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 12:25:56 +00:00
Benoît Minisini
3ead02082c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't show '$' in the dependencies combo-box of the component 
  property dialog.

[INTERPRETER]
* NEW: GB.Every() is a new API that allows a component to call a callback
  regularly. Useful for polling something for example.


git-svn-id: svn://localhost/gambas/trunk@3429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 17:09:54 +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
8793112d29 [GB.QT4]
* BUG: The Move() method now correctly works on top-level windows.

[GB.SETTINGS]
* NEW: Support for multiple screens and desktop layout when saving or 
  loading window geometry in a setting file.


git-svn-id: svn://localhost/gambas/trunk@3423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 20:49:21 +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
c275829ddc [DEVELOPMENT ENVIRONMENT]
* BUG: The control rename algorithm should work better now.

[EXAMPLES]
* BUG: Fix ServerSocket and ClientSocket examples.

[INTERPRETER]
* BUG: WRITE and READ with a specified length of zero now does nothing.

[GB.NET]
* BUG: Closing a socket created by a ServerSocket does not crash anymore.

[GB.QT4]
* BUG: When a combo-box becomes read-only, the first item is automatically 
  selected if there was no current item.
* BUG: Window with no border can have focus now.



git-svn-id: svn://localhost/gambas/trunk@3404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-28 21:58:42 +00:00
Benoît Minisini
47bec5f339 [DEVELOPMENT ENVIRONMENT]
* NEW: Enhance the import wizard. The list of conversions that are 
  automatically handled is in the wiki.

[WIKI CGI SCRIPT]
* BUG: Do allow '{' and '}' between '=='. But then allow lines to begin 
  with a slash, to escape those characters.
* BUG: Display correctly titles with a '#' inside.

[COMPILER]
* NEW: DownTo is a new keyword for decrementing For...Next loops. You can
  save some "Step -1" with it.

[GB.QT4]
* BUG: Fix a reference leak with DnD operations started outside of then
  application.


git-svn-id: svn://localhost/gambas/trunk@3402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-28 02:24:20 +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
9cdb62c865 [GB.QT4]
* BUG: Fix DrawingArea again.


git-svn-id: svn://localhost/gambas/trunk@3395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-23 03:55:24 +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
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
0188461fd0 [GB.QT4]
* BUG: MovieBox works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-20 18:38:50 +00:00
Benoît Minisini
291bf96ecc [COMPILER]
* BUG: Remove parser debugging messages.
* NEW: DEBUG is a new preprocessor symbol that returns if the compiler 
  generates debugging information.

[GB.QT4]
* BUG: Should compile with Qt 4.5.3 now.


git-svn-id: svn://localhost/gambas/trunk@3377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-19 12:58:58 +00:00
Benoît Minisini
4707adbf45 [GB.QT4]
* BUG: The component should compile correctly with Qt <= 4.5.2 now.


git-svn-id: svn://localhost/gambas/trunk@3375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-18 14:26:34 +00:00
Benoît Minisini
b38df04095 [DEVELOPMENT ENVIRONMENT]
* NEW: In icon editor, the width of the selection frame now follows the 
  zoom level.
* NEW: Support for preprocessor highlighting.

[COMPILER]
* NEW: Integrated preprocessor. The following commands are supported:
  #If <expr>, #Else If <expr>, #Else and #Endif. <expr> can be a 
  combination of constants (OS_LINUX, OS_FREEBSD, ARCH_X86, ARCH_X86...),
  parenthesis, 'And' & 'Or' operators, version test (VERSION >= "3.0").
  This is work in progress.

[GB.EVAL]
* NEW: A new highlighting color for the preprocessor.

[GB.QT4.EXT]
* NEW: A new highlighting color for the preprocessor in Editor control.


git-svn-id: svn://localhost/gambas/trunk@3374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-18 04:27:59 +00:00
Benoît Minisini
4f383c7a1d [GB.QT4]
* BUG: Initialize correctly the painter when drawing on a DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@3369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-15 21:12:05 +00:00
Benoît Minisini
6f440dc030 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the icon editor.

[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.

[INFORMER]
* BUG: Fix a file descriptor leak.

[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or 
  equal than 6.

[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
  property with a string array.

[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image 
  object.
* NEW: Draw.Image() does not do a smooth transformation the image is 
  enlarged in both dimensions, and if the new size is a multiple of the old
  size.
* OPT: DrawingArea with the default background color now does not repaint
  its background before calling the Draw event.

[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().


git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-15 15:55:16 +00:00
Benoît Minisini
9595b58109 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not use the deprecated DrawingArea.Merge property anymore.

[GB.QT4]
* BUG: The component should compile correctly now.


git-svn-id: svn://localhost/gambas/trunk@3360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 14:00:28 +00:00
Benoît Minisini
6109389b14 [GB.QT4]
* BUG: Drawing.Merge has been deprecated. Display a warning only when the 
  property is set to TRUE.


git-svn-id: svn://localhost/gambas/trunk@3357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 05:13:35 +00:00
Benoît Minisini
085559cf4d [GB.QT4]
* BUG: Try to make gb.qt4 compile correctly without X11.


git-svn-id: svn://localhost/gambas/trunk@3356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-13 04:27:11 +00:00
Benoît Minisini
278b393018 [DEVELOPMENT ENVIRONMENT]
* NEW: Exported project classes that are controls are now automatically 
  visible in the control toolbar.
* NEW: Compiling the project now automatically refreshes the control 
  toolbar when needed.

[INTERPRETER]
* BUG: File.SetExt() now works correctly with files whose name begins with
  a dot.

[GB.QT4]
* BUG: The frame width of raised or sunken borders used by some Container 
  classes now should correctly follow the style.


git-svn-id: svn://localhost/gambas/trunk@3352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-09 03:15:42 +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
6d26022111 [GB.QT4]
* BUG: Apply the patch to the previous Qt bug only to PDF and PS paint 
  engines.


git-svn-id: svn://localhost/gambas/trunk@3348 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-12-07 01:26:05 +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
6535acd5c7 [GB.QT4.WEBKIT]
* NEW: Remove WebView.FindText() highlight argument. It is not supported 
  on older version of Qt4.


git-svn-id: svn://localhost/gambas/trunk@3316 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-23 22:10:09 +00:00
Benoît Minisini
42368157d7 [GB.QT4.WEBKIT]
* BUG: Correctly close the downloaded file at download end.
* NEW: WebView.FindText() is a new method to search text inside the page.
* NEW: WebView.Cookies is writable now.


git-svn-id: svn://localhost/gambas/trunk@3310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-22 23:50:37 +00:00
Benoît Minisini
ef6c42df8c [GB.QT4.WEBKIT]
* BUG: The component now compiles correctly with older versions of Qt.


git-svn-id: svn://localhost/gambas/trunk@3301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-18 23:04:48 +00:00
Benoît Minisini
fb18ddd598 [GB.QT4.WEBKIT]
* NEW: WebDownload is a new class that represents a file being downloaded 
  by the browser.
* NEW: WebDownloads is an array-like static class that returns all current 
  WebDownload objects.
* NEW: WebView now raises a Download event when there is something to
  download. A WebDownload object is created and passed to the event. If the
  Path property of the WebDownload object is set, the download is started.
  Otherwise, it is aborted.

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


git-svn-id: svn://localhost/gambas/trunk@3292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-12 23:42:01 +00:00
Benoît Minisini
b01be33dfb [GB.QT4.WEBKIT]
* BUG: Forgot to commit two source files.


git-svn-id: svn://localhost/gambas/trunk@3291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-12 15:29:55 +00:00
Benoît Minisini
982b9ad52d [DEVELOPMENT ENVIRONMENT]
* NEW: A search field in the menu editor.

[EXAMPLES]
* NEW: The WebBrowser example has been modified to use the new features of
  the gb.qt4.webkit component.

[GB.QT4.WEBKIT]
* NEW: Cookie is a new class that represents a cookie.
* NEW: WebView.Cookies is a new property for returning all cookies in the 
  browser cookie jar. Setting that property has to be done yet.
* NEW: WebView.HitTest() is a new method that tests what is located at the
  specified position of the web page. The result of the is test is returned
  as a WebHitTest object.
* NEW: WebHitTest is new class that represents the result of a hit test on
  a web page. YOu can know if you are on a link, an image, or something 
  else, and if that content is selected or editable.


git-svn-id: svn://localhost/gambas/trunk@3290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-11-11 17:43:14 +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
0439b6524e [GB.QT4]
* BUG: Enable shortcuts again.


git-svn-id: svn://localhost/gambas/trunk@3265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-10-11 00:59:37 +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
fc60aacecc [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible when opening the procedure list.

[INTERPRETER]
* NEW: The READ instruction can read arrays and collections with 
  'AS Object' as well as 'AS Variant'.

[GB.QT4]
* BUG: Minimizing modal windows does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-28 17:05:10 +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
4331dca89c [DEVELOPMENT ENVIRONMENT]
* BUG: The search list is updated correctly and almost in real time when 
  edited files are modified.
* NEW: When an editor is splitted, then the unfocused one is darker now.

[GB.QT4.EXT]
* NEW: Do not highlight text when reading the Editor.Text property.
* NEW: When getting the highlight state of a line, do not highlight it if 
  it is currently edited.

[GB.WEB]
* NEW: Request.Get and Request.Post are two array-like properties that 
  return the contents of the "GET" and "POST" parts of a HTTP request.
  Using Request directly is possible. Then the two parts are merged.


git-svn-id: svn://localhost/gambas/trunk@3231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-20 23:49:48 +00:00
Benoît Minisini
71a2ee14bc [GB.QT.EXT]
* NEW: ALT+UP and ALT+DOWN moves the current line or the selection one line 
  up and one line down.


git-svn-id: svn://localhost/gambas/trunk@3227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-17 02:05:56 +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
6cb1d823da [GB.QT4]
* BUG: Fix normal, modal and popup windows management.


git-svn-id: svn://localhost/gambas/trunk@3221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-15 22:45:42 +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
25882dd409 [DEVELOPMENT ENVIRONMENT]
* BUG: Find a workaround for a Qt menu crash. The last visible menu must be 
  created last.
* NEW: Fix and enhance the stack backtrace list.

[GB.FORM]
* BUG: Message.Optional() does not crash anymore the first time it is run.


git-svn-id: svn://localhost/gambas/trunk@3216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-14 15:13:25 +00:00
Benoît Minisini
0bec0b25cf [DEVELOPMENT ENVIRONMENT]
* NEW: The search window now can browse in all source files only.
* BUG: The search list is correctly refreshed for project text files.
* NEW: The debug panel has been slightly redesigned. Local and global
  variables lists are always sorted now.

[INTERPRETER]
* BUG: Do not try to run the "_exit" special method if the class load
  has previously failed.
* BUG: Do not release the automatic instance when is it invalid.
* BUG: Check that the automatic instance is valid before using it.


git-svn-id: svn://localhost/gambas/trunk@3215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-14 13:01:47 +00:00
Benoît Minisini
48cdef96b4 [GB.QT4]
* BUG: Dialog.SelectFont() and Dialog.SelectColor() now honor the 
  Dialog.Title property.


git-svn-id: svn://localhost/gambas/trunk@3198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-08 11:56:05 +00:00
Benoît Minisini
906839bf56 [GB.QT4]
* BUG: Utility windows now get the focus back after having shown a modal 
  window.


git-svn-id: svn://localhost/gambas/trunk@3197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 21:24:03 +00:00
Benoît Minisini
eab3905085 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a true popup now to display the editor procedure list.

[GB.FORM.MDI]
* NEW: Slightly change the look of the toolbar configuration dialog.

[GB.QT4]
* BUG: Popups are correctly activated when shown now.


git-svn-id: svn://localhost/gambas/trunk@3195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 15:38:42 +00:00
Benoît Minisini
83a86ff33c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a crash when scanning project class header.

[GB.FORM]
* NEW: Add svg files for "linux" and "gambas" icons.
* NEW: Stock.Debug is a new property that makes the Stock class print 
  debugging message when set.
* NEW: The Stock debugging messages are also activated if the environmental
  variable named "GB_STOCK_DEBUG" is set.
* BUG: Better detection of how icons are stored inside themes.
* NEW: Icons directories are browsed theme by theme instead of theme being
  browsed directory by directory. That follows the freedesktop 
  specifications.

[GB.QT4.EXT]
* BUG: Highlight.Add() now correctly handles when more than 1024 
  successive characters have the same highlight pattern.


git-svn-id: svn://localhost/gambas/trunk@3193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-07 10:30:09 +00:00
Benoît Minisini
d91eed4be4 [GB.QT4]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@3187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:41:06 +00:00
Benoît Minisini
ddeb618316 [GB.QT4]
* BUG: Fix the GridView.Columns[].Width property.


git-svn-id: svn://localhost/gambas/trunk@3186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-09-06 18:35:32 +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
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
7daf6e49bc [GB.QT4]
* BUG: The last fix is better without crashing.


git-svn-id: svn://localhost/gambas/trunk@3164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-30 14:46:58 +00:00
Benoît Minisini
aa2fbbb4d4 [GB.QT4]
* BUG: ComboBox does not lose focus when its ReadOnly property is set.


git-svn-id: svn://localhost/gambas/trunk@3163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-30 14:42:18 +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
6db743fc12 [GB.FORM]
* NEW: Polish the DirChooser/FileChooser bookmark button.

[GB.QT4]
* BUG: Send expected Leave and Enter events when a popup is closed.


git-svn-id: svn://localhost/gambas/trunk@3146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 21:09:34 +00:00
Benoît Minisini
cfaeb4fc90 [GB.FORM]
* BUG: Fix the DirView behaviour when creating a new folder.
* NEW: Replace the DirView directory combo by a label.


git-svn-id: svn://localhost/gambas/trunk@3144 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 13:50:53 +00:00
Benoît Minisini
7ab4ba3041 [GB.QT4]
* BUG: Try to load translations better.


git-svn-id: svn://localhost/gambas/trunk@3143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:13:41 +00:00
Benoît Minisini
5ac608f3ef [GB.QT4]
* BUG: Hardcode some translations directories when searching for Qt 
  translation files: '/usr/lib/qt4/translations' and 
  '/usr/share/qt4/translations'.


git-svn-id: svn://localhost/gambas/trunk@3142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-27 01:04:28 +00:00
Benoît Minisini
eb94949c92 [DEVELOPMENT ENVIRONMENT]
* NEW: More snippets for declaring local variables: "di" declares an 
  integer variable, "ds" a string variable...

[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect() 
  method takes it into account now.

[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event 
  handler.

[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is 
  buffered, and if the HTTP client can handle it of course.


git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-24 10:56:55 +00:00
Benoît Minisini
808cafc1cc [DEVELOPMENT ENVIRONMENT]
* BUG: Main window layout follows main toolbar size correctly again.

[GB.FORM.MDI]
* NEW: Toolbar are now configured through a popup menu. The toolbar handle
  has been removed.

[GB.QT4]
* BUG: AutoResize property now works in both dimensions for horizontal and 
  vertical arrangements.


git-svn-id: svn://localhost/gambas/trunk@3126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-23 14:46:43 +00:00
Benoît Minisini
a7bbd9ac90 [DEVELOPMENT ENVIRONMENT]
* BUG: Redesign the main window toolbar so that it does not bug anymore 
  when being configured.


git-svn-id: svn://localhost/gambas/trunk@3123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-16 11:34:21 +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
40ae8310f2 [GB.FORM]
* BUG: MenuButton behaves more like a normal button.

[GB.QT4]
* BUG: Fix style drawing methods.


git-svn-id: svn://localhost/gambas/trunk@3115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 09:58:39 +00:00
Benoît Minisini
07efe53bdf [DEVELOPMENT ENVIRONMENT]
* NEW: Use expanders in the project option dialog.

[GB.FORM.MDI]
* BUG: Do not draw toolbar handle with style methods anymore. It is not 
  good for many styles.


git-svn-id: svn://localhost/gambas/trunk@3113 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-15 00:19:33 +00:00
Benoît Minisini
3b263fce5b [GB.QT4]
* BUG: Fix ScrollView arrangement routine.


git-svn-id: svn://localhost/gambas/trunk@3112 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-14 23:59:35 +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
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
Benoît Minisini
0ec66f23e6 [GB.QT4]
* BUG: Button with AutoResize set correctly expand with their text.


git-svn-id: svn://localhost/gambas/trunk@3104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 19:19:10 +00:00
Benoît Minisini
b3351fb0e0 [DEVELOPMENT ENVIRONMENT]
* NEW: A new option to use utility windows or normal windows for option
  dialog, search window and help browser.

[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.

[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.

[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.

[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
  that the window is an utility.


git-svn-id: svn://localhost/gambas/trunk@3102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-13 10:43:37 +00:00
Benoît Minisini
3965ebc8a8 [GB.QT4]
* BUG: Draw.Style.Separator correctly honors verticality.


git-svn-id: svn://localhost/gambas/trunk@3100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-11 09:24:04 +00:00
Benoît Minisini
d9cae60bbe [GB.DRAW]
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the 
  focus, and Draw.Hover for widgets flied over by the mouse.


git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 14:36:45 +00:00
Benoît Minisini
055e187a6a [DEVELOPMENT ENVIRONMENT]
* NEW: In Gambas, javascript, HTML and CSS editor, a button to insert 
  a color definition, or a color already defined in the current source 
  code.
* NEW: Allow links with title ([<link>|<title>]) in help comment syntax.

[GB.FORM]
* BUG: In FileView, file sizes are really written with 1 Kib = 1024 bytes.
* BUG: MenuButton has an Action property again.
* BUG: MenuButton raise its basic events.

[GB.IMAGE]
* BUG: COlor.Darker() works correctly for black, white and gray colors now.

[GB.IMAGE.IO]
* BUG: Image.Save() quality is correctly handled. For PNG format, the 
  quality is actually the compression level, between 0 and 9.

[GB.QT4.WEBKIT]
* NEW: WebFrame.HTML is a new property that returns the HTML contents of a 
  specific frame.
* NEW: WebFrame.Text  is a new property that returns the text inside a 
  specific frame.

[GB.WEB]
* NEW: When the session is abandonned, the Session_Abandon() static public 
  method is called in the startup class.


git-svn-id: svn://localhost/gambas/trunk@3096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-06 11:49:57 +00:00
Benoît Minisini
c6593fc839 [DEVELOPMENT ENVIRONMENT]
* NEW: A menu button in the project property dialog to quickly insert 
  the "GB_GUI" environmental variable.

[GB.FORM]
* NEW: Enhancements in ButtonBox and MenuButton controls.
* NEW: MenuButton.Border is a new property to set if the MenuButton has a
  border or not.
* NEW: If the MenuButto has no menu, it will raise its Click event if its
  arrow button is clicked.

[GB.GTK]
* NEW: ToolButton are "transparent" now.
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.

[GB.QT4]
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.


git-svn-id: svn://localhost/gambas/trunk@3093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-03 21:27:39 +00:00
Benoît Minisini
9411b8785f [GB.QT4]
* BUG: Always activate a window 50 ms after it has been shown, to trap any
  focus stealing prevention mechanism.


git-svn-id: svn://localhost/gambas/trunk@3090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 20:48:04 +00:00
Benoît Minisini
67b9603177 [GB.QT4]
* BUG: Make the component compile correctly.
* BUG: Does not crash anymore when closing a window during the _new() 
  method, or inside the Open event handler.


git-svn-id: svn://localhost/gambas/trunk@3089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 20:39:28 +00:00
Benoît Minisini
68e1ec7d00 [GB.FORM]
* NEW: DateBox is a new control that can edit a date with a calendar popup.
  It aims at replacing the DatePicker, and the ValueBox with date type.
* NEW: DateChooser layout is better with small sizes.
* NEW: DateChooser raises a Cancel event when you hit the Escape key.

[GB.GTK]
* BUG: Better management of window grabs.
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
  It takes an optional X,Y screen position as arguments. If not specified, 
  the window is shown at the current cursor position.
* BUG: Now all controls catch basic events.
* BUG: Fix a crash when destroying controls.

[GB.QT4]
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
  It takes an optional X,Y screen position as arguments. If not specified, 
  the window is shown at the current cursor position.
* NEW: TrayIcon got a PopupMenu property, like the Control class. But it 
  works only if the TrayIcon observer is a Window. The property has bot
  been implemented in gb.gtk yet.


git-svn-id: svn://localhost/gambas/trunk@3088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-02 19:36:37 +00:00
Benoît Minisini
855acf8d4d [WIKI CGI SCRIPT]
* NEW: Display the list of all undocumented symbols.

[GB.FORM]
* BUG: Fix the behaviour of automatic expanding in the DirView control.
* NEW: Hide DatePicker and MessageLabel controls. They have many problems,
  and I want to see if someone use them.

[GB.GTK]
* BUG: Popup menus now work correctly on tray icons in all cases.
* NEW: TabStrip.Closable is a new property to display little close buttons 
  beside each tab label. When this button is clicked, a Close event is 
  raised, taking the tab index as argument.

[GB.QT4]
* NEW: TabStrip.Closable is a new property to display little close buttons 
  beside each tab label. When this button is clicked, a Close event is 
  raised, taking the tab index as argument.


git-svn-id: svn://localhost/gambas/trunk@3084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-08-01 00:09:06 +00:00
Benoît Minisini
2b98eb48ec [DEVELOPMENT ENVIRONMENT]
* BUG: Fix search when saving the file between two identical searches.
* NEW: Don't save the Url in the project file if it is equal to the default
  URL http://www.endoftheinternet.com

[GB.QT]
* BUG: Fix the behaviour of ComboBox when setting the List property, and 
  the order used for saving ComboBox properties in the *.form file.

[GB.GTK]
* BUG: Fix the behaviour of ComboBox when setting the List and the ReadOnly 
  property, and the order used for saving ComboBox properties in the *.form 
  file.



git-svn-id: svn://localhost/gambas/trunk@3082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-31 00:19:15 +00:00
Benoît Minisini
433daef01e [GB.QT4]
* BUG: Make showing windows behave like in gb.gtk.
* BUG: GridView draw spanning cells correctly now.


git-svn-id: svn://localhost/gambas/trunk@3077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-30 17:19:19 +00:00
Benoît Minisini
9824b4bfce [DEVELOPMENT ENVIRONMENT]
* BUG: Searching spaces now works in highlighted files.
* OPT: The result of grep has been cached, so that successive searches are 
  faster.

[GB.QT4.EXT]
* NEW: The Editor[].Purge() method replacing character can be passed as an 
  argument.



git-svn-id: svn://localhost/gambas/trunk@3069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-25 23:19:35 +00:00
Benoît Minisini
cac8474e0a [GB.QT4]
* NEW: Control.PopupMenu is a new property that allows to define the name 
  of the menu that will be automatically popped up when the user clicks on
  the control with the right mouse button, or press the menu key.
  Beware that if the Menu event handler is already defined for the control, 
  the popup menu will not open.

[GB.GTK]
* NEW: Control.PopupMenu is a new property that allows to define the name 
  of the menu that will be automatically popped up when the user clicks on
  the control with the right mouse button, or press the menu key.
  Beware that if the Menu event handler is already defined for the control, 
  the popup menu will not open.


git-svn-id: svn://localhost/gambas/trunk@3064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-22 00:29:53 +00:00
Benoît Minisini
5826fdcf8c [DEVELOPMENT ENVIRONMENT]
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.

[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog 
  is displayed.
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.

[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must 
  be displayed or not.


git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-20 15:50:17 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
fdf5a0f0f6 [DEVELOPMENT ENVIRONMENT]
* NEW: New code snippet to define a startup Main procedure.
* NEW: In the open project dialog, selecting a project directory now
  displays the project contents inside a treeview, like the IDE does.

[GB.QT4]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.
* BUG: When showing a form, the initial focus should be correctly set in 
  all cases now.


[GB.GTK]
* NEW: Some changes in the Font class: Font.Height is now a property that 
  returns the font height, and Font.Width has been removed. Now, to compute
  the size of a text fragment, you must use Font.TextWidth() and 
  Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
  Font.RichTextHeight() allow to compute the size of a rich text fragment.


git-svn-id: svn://localhost/gambas/trunk@3024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-27 22:04:25 +00:00
Benoît Minisini
092cbb2bd9 [GB.QT4]
* NEW: TabStrip.TextFont is a new property that allows to define a specific 
  font for tabs labels.

[GB.GTK]
* NEW: TabStrip.TextFont is a new property that allows to define a specific 
  font for tabs labels.


git-svn-id: svn://localhost/gambas/trunk@3023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-27 16:31:05 +00:00
Benoît Minisini
7cd4bea00b [DEVELOPMENT ENVIRONMENT]
* NEW: In about dialog, fade the scrolling text, as in the Firefox about 
  dialog.
* NEW: Clicking on a project treeview item expands it after the mouse 
  button has been released.

[GB.FORM]
* NEW: Clicing on a DirView item expands it after the mouse button has been
  released.

[GB.QT4]
* NEW: A little fix in menu management.


git-svn-id: svn://localhost/gambas/trunk@3022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-26 23:55:58 +00:00
Benoît Minisini
d5dc4194e7 [GB.QT4.EXT]
* BUG: In Editor, do not highlight a line that is currently edited in 
  another editor sharing the same text.


git-svn-id: svn://localhost/gambas/trunk@3018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-21 21:35:41 +00:00
Benoît Minisini
6059d4dcb7 [GB.IMAGE]
* NEW: New API for marking an image as modified, and for synchronizing it 
  before reading it, when the temporary image owner needs it.


git-svn-id: svn://localhost/gambas/trunk@3016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-19 12:38:28 +00:00
Laurent Carlier
0b2beb5985 [GB.IMAGE]
* NEW: Add locking/unlocking internal api hooks, allowing Image class to be sure image is synced/locked
  to get correct access to image datas, and tag if image is altered.


git-svn-id: svn://localhost/gambas/trunk@3010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-16 12:48:11 +00:00
Benoît Minisini
b3db598050 [DEVELOPMENT ENVIRONMENT]
* BUG: Breakpoints are correctly reset when opening a new project.

[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API 
  signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.

[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
  automatically converted to uppercase.


git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 23:48:53 +00:00
Benoît Minisini
a8f12f8e54 [GB.FORM]
* BUG: Use a default question icon for Message.Question icon.


git-svn-id: svn://localhost/gambas/trunk@2987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-30 19:37:40 +00:00
Benoît Minisini
b727d17086 [INTERPRETER]
* OPT: Using object references is faster.
* BUG: Fix a misuse of GB.NewString() in the String class.

[COMPILER]
* BUG: Raise an error now when trying to create an array of structures.

[GB.QT4]
* OPT: Global widget event filter is faster.
* OPT: Do not internallt relayout TabStrip too often, because Qt takes a 
  lot of time to do that.



git-svn-id: svn://localhost/gambas/trunk@2974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-28 06:24:14 +00:00
Benoît Minisini
117f2ac635 [INTERPRETER]
* NEW: New GB.NewZeroString() API to create a Gambas string from a 
  null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.

[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.


git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-22 18:02:34 +00:00
Benoît Minisini
ca37913578 [DEVELOPMENT ENVIRONMENT]
* BUG: Search string is correctly highlighted in all cases now.

[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.

[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables 
  with dimensions. The IDE and component source code were modified 
  according to that change.

[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:17:04 +00:00
Benoît Minisini
a1c3fa1617 [INTERPRETER]
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking 
  mode, then Eof() will wait for the data before testing if something can 
  be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always 
  available.

[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
  with the PIPE instruction.

[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or 
  show the colormap.

[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.


git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 20:17:29 +00:00
Benoît Minisini
1727304958 [DEVELOPMENT ENVIRONMENT]
* NEW: Shift+Enter disables automatic insertion of control structure 
  instructions.

[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel 
  and MenuButton controls, so that it works with gb.gtk.

[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling 
  algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.

[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.


git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 14:26:07 +00:00
Benoît Minisini
24f12621eb [DEVELOPMENT ENVIRONMENT]
* NEW: Code snippet configuration in the option dialog.
* NEW: Automatic insertion of control structures.

[GB.SETTINGS]
* NEW: The Settings class can now load settings files located inside the 
  project.

[GB.QT4.EXT]
* BUG: Selected text is now correctly deleted in block mode in the Editor 
  class.


git-svn-id: svn://localhost/gambas/trunk@2931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 21:22:50 +00:00
Benoît Minisini
98c0d81aad [CONFIGURATION]
* BUG: Fix the creation of the gbw3 symbolic link.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an error in arrangement icon management.
* NEW: Merge all form editor toolbars.
* NEW: Support for code snippets. Type "fo" and TAB to see it. Not yet
  finished.

[INTERPRETER]
* NEW: Standard format for numbers now displays all the decimal digits.

[GB.QT4.EXT]
* BUG: Fix a possible crash in Editor selection management.


git-svn-id: svn://localhost/gambas/trunk@2929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 11:46:02 +00:00
Benoît Minisini
a4ec140d8a [GB.QT4.EXT]
* BUG: Fix some little problems in block selection/insertion mode.


git-svn-id: svn://localhost/gambas/trunk@2926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 18:48:43 +00:00
Benoît Minisini
d1873301d0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the display of arrangement icons.
* OPT: Keep a reference on the root control is the form editor.
* BUG: Loading recent files should never crash anymore now.
* BUG: Start fixing project creation.

[INTERPRETER]
* BUG: Don't load a component if its name is the same as the main project.

[GB.QT4]
* BUG: Mouse buttons properties work again during a MouseRelease event.


git-svn-id: svn://localhost/gambas/trunk@2924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 12:54:45 +00:00
Benoît Minisini
32a0c4f54e [GB.QT4]
* BUG: Hidden menubar is not visible anymore.


git-svn-id: svn://localhost/gambas/trunk@2922 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 11:58:43 +00:00
Benoît Minisini
cc6dfc0e33 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix and enhance Gambas 2 project conversion.

[GB.QT4]
* BUG: Allow control resizing whatever the arrangement of its container, 
  provided that its Ignore property is set.


git-svn-id: svn://localhost/gambas/trunk@2920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 00:17:12 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
Benoît Minisini
618df42b55 [GB.QT4]
* BUG: Remove the popupmenu hack, it triggers menu using the Escape key as 
  a shortcut, and it seems not to be useful anymore.


git-svn-id: svn://localhost/gambas/trunk@2918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 22:43:53 +00:00
Benoît Minisini
52ac0bdfee [DEVELOPMENT ENVIRONMENT]
* BUG: Do not trim pasted text when using special paste.

[INTERPRETER]
* NEW: Format() can format Float number with up to 16 digits now.

[GB.QT4.EXT]
* NEW: Support for an insert & block mode. This mode is toggled with the
  "Insert" key.


git-svn-id: svn://localhost/gambas/trunk@2911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 23:04:27 +00:00
Benoît Minisini
ba1788cd5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly hide the reload button in the form editor when it should 
  be hidden.
* NEW: Take libraries into account in the auto-completion.

[GB.QT4.EXT]
* BUG: Center the cursor when requested, even if the cursor does not move.


git-svn-id: svn://localhost/gambas/trunk@2910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 16:04:42 +00:00
Benoît Minisini
d49fe17d83 [DEVELOPMENT ENVIRONMENT]
* NEW: Remove any use of Component.UserPath and any reference to "user 
  component".
* NEW: "libraries" management. Libraries are defined in a new tab of the
  projet property dialog. At the moment, libraries exported classes are not
  taken into account by the automatic completion.
* NEW: The ESC key now closes the help browser.
* BUG: Correctly translate compilation error messages.

[INTERPRETER]
* NEW: "libraries" management.
* NEW: The Component.UserPath property has been removed.
* BUG: Evaluating "Application.Path" or "Application.Name" on the command 
  line does not crash anymore.

[COMPILER]
* BUG: Enhance translation of some error messages.
* NEW: Take libraries into account for exported class declarations.

[ARCHIVER]
* NEW: new "-x" option to extract a file from an archive.

[GB.QT4.EXT]
* NEW: Be more clever when deciding if a line has been modified after 
  having its last character deleted.


git-svn-id: svn://localhost/gambas/trunk@2909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-25 10:46:57 +00:00
Benoît Minisini
2e8429a800 [GB.GTK]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.

[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.


git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-21 01:25:19 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +00:00
Benoît Minisini
060e7b81aa [DEVELOPMENT ENVIRONMENT]
* BUG: The ESC key closes the search dialog in all cases now.
* BUG: Ignoring comments and/or strings now correctly work on every 
  highlighted project file.
* BUG: Correctly detect class private symbols when doing automatic 
  completion.
* BUG: Correctly scan exported classes that reimplement another class 
  located in a component.

[GB.QT4.EXT]
* NEW: Editor.Lines[].Purge() is new method to retrieve a line without 
  strings and/or comments.


git-svn-id: svn://localhost/gambas/trunk@2897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-15 22:25:55 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
81316d0d81 [GB.GTK]
* BUG: Control.Drag() correctly returns the destination control.
* BUG: Fix Menu description.
* BUG: Fix Container description.
* BUG: Fix TabStrip[].Children[] method description.

[GB.QT4]
* BUG: Fix VPanel.Indent property description.


git-svn-id: svn://localhost/gambas/trunk@2856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-03 13:29:21 +00:00
Benoît Minisini
e3d5365729 [GB.QT4]
* BUG: Fix the Dialog.Font property and the Dialog.SelectFont() method.


git-svn-id: svn://localhost/gambas/trunk@2841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-28 21:58:45 +00:00
Benoît Minisini
0fa5f1651f [GB.QT4.EXT]
* BUG: Fix the editor internal drawing cache resizing.
* BUG: Fix the drawing of editor empty areas.


git-svn-id: svn://localhost/gambas/trunk@2838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-28 13:17:11 +00:00
Benoît Minisini
543f0aceb6 [DEVELOPMENT ENVIRONMENT]
* BUG: Fixes in form editor little arrangement icon management.
* BUG: Reloading a form should not crash anymore.
* BUG: Automatic completion now works on non-GUI forms.

[GB.QT4.EXT]
* NEW: TextEdit was rewritten to use the Qt4 QTextEdit class.
* NEW: TextEdit.Format.Background is a new property to define the 
  background color of the selected text.


git-svn-id: svn://localhost/gambas/trunk@2818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-22 23:21:13 +00:00
Benoît Minisini
9bd1adcf36 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the management of little arrangement icons in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 12:13:20 +00:00
Benoît Minisini
6cd1d9d0d3 [DEVELOPMENT ENVIRONMENT]
* NEW: The container arrangement is now displayed with a little icon on the
  top right corner, only when the mouse cursor is inside the container.

[INTERPRETER]
* BUG: Event handlers defined in inherited class are called correctly now,
  without crashing.


git-svn-id: svn://localhost/gambas/trunk@2806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-18 06:05:17 +00:00
Benoît Minisini
67cdcabaf1 [DEVELOPMENT ENVIRONMENT]
* OPT: Refresh the property sheet only for the active form.

[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.

[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
  Paint.ClipExtents.


git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-17 09:06:16 +00:00
Benoît Minisini
8f6bfa322d [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls coordinates are correctly stored in *.form files 
  again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating 
  *.deb packages. It does not work, and apparently dpkg-buildpackage has no 
  problem with them.

[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.

[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes 
  the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.

[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.


git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:27:51 +00:00
Benoît Minisini
8c53bab42d [CONFIGURATION]
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.

[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.

[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.

[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.


git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 21:51:36 +00:00
Benoît Minisini
6fdfa6d845 [DEVELOPMENT ENVIRONMENT]
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.

[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and 
  unmaintained.

[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.

[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
  static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the 
  DrawingArea.Cached property is set. It allows to keep the drawing 
  routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.

[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.


git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 02:37:53 +00:00
Benoît Minisini
3d8d71a6ce [GB.QT4]
* BUG: ScrollView scrollbars now work correctly in design mode.
* BUG: Setting the ComboBox.Text property now never raises the Click event.


git-svn-id: svn://localhost/gambas/trunk@2763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:53:13 +00:00
Benoît Minisini
6abae433a9 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the similar control menu in the form editor.
* NEW: Do not take the Padding into account when drawing Report containers.
* BUG: Some fixes in the Report dimension selector.
* BUG: Do not import any translation if no translation file has been
  selected in the translation dialog.

[INTERPRETER]
* BUG: When converting a string into a number with Val(), only accept 
  thousand separators after three digits.

[GB.DEBUG]
* BUG: Lock the debugger pipe between reads, to avoid the callback to be
  called ever and ever.

[GB.GTK]
* NEW: Tried to implement a transparent drawing area, but failed!
* NEW: Allow non-native GDK windows. This is experimental, as it crashed 
  before.
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.

[GB.QT4]
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more 
  details.
* BUG: Sort sorted ComboBoxes before accessing it, not just before showing
  the popup.


git-svn-id: svn://localhost/gambas/trunk@2762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 17:14:54 +00:00
Benoît Minisini
98ad2ba515 [DEVELOPMENT ENVIRONMENT]
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.

[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a 
  string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.

[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is 
  currently drawn.

[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].

[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 01:38:15 +00:00
Benoît Minisini
4d8107e567 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw ReportImage controls.
* NEW: Handle new property kinds: ReportCoord, Image.

[INTERPRETER]
* BUG: Fix some misuse of signed char.

[GB.REPORT]
* BUG: Fix declarations of properties.
* NEW: Use the new ReportCoord property kind.
* NEW: Some little changes in the ReportBorder class.


git-svn-id: svn://localhost/gambas/trunk@2755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 03:17:47 +00:00
Benoît Minisini
5bc6075e96 [DEVELOPMENT ENVIRONMENT]
* NEW: Use KDE 4.4 translation files to update translations.
* NEW: Keep project treeview item expanded when double-clicking on it.

[GB.DESKTOP]
* NEW: Use the current development version of xdg-utils scripts.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.5.

[GB.QT4]
* BUG: Don't translate the brush before raising the DrawingArea Draw event.



git-svn-id: svn://localhost/gambas/trunk@2745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-04 01:52:16 +00:00
Benoît Minisini
4d949ed626 [GB.REPORT]
* BUG: Fix the child control clipping routine.
* BUG: Take control frame width into account when clipping.
* OPT: Use TControl class instead of Object class when possible.

[GB.QT4]
* BUG: Automatic clipping of painted DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@2725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 01:39:42 +00:00
Benoît Minisini
cd5bf4cc70 [INTERPRETER]
* OPT: The blocking state of streams is cached now, so that the fcntl() 
  system call is less used.

[GB.FORM]
* BUG: Stock icons work correctly again.

[GB.QT4]
* NEW: When drawing on a DrawingArea, Draw and Paint dimension properties 
  always return the size of the DrawingArea, even if it is cached.
* BUG: DrawingArea contents is not assume to be static anymore. Resizing 
  them always send a full repaint event.


git-svn-id: svn://localhost/gambas/trunk@2724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 22:08:04 +00:00
Benoît Minisini
358c5489a5 [DEVELOPMENT ENVIRONMENT]
* BUG: Copying works again in the form editor.

[GB.QT4]
* NEW: During a Draw DrawingArea event handler, clipping is now set to the 
  area that must be drawn, whatever the value of the Painted property.


git-svn-id: svn://localhost/gambas/trunk@2721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-26 14:44:35 +00:00
Benoît Minisini
9d9deaa6f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Setting control position or size from the property sheet works 
  correctly again.

[GB.QT4]
* BUG: Non transparent DrawingAreas work again. Drawing in an intermediate
  pixmap instead seems to be faster than drawing directly on the internal 
  qt double-buffer. Why? I should see no difference!


git-svn-id: svn://localhost/gambas/trunk@2718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 12:04:34 +00:00
Benoît Minisini
dc168bd119 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for form family specific drawing routines.

[GB.REPORT]
* NEW: Enhance the definition of ReportLabel hidden properties.
* NEW: Create a optionally exported Align class.
* NEW: Add properties definitions to the ReportLine class.

[GB.QT4]
* NEW: DrawingArea.Transparent is a new property to make it transparent.
* BUG: TabStrip should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 03:27:10 +00:00
Benoît Minisini
c644455a2e [DEVELOPMENT ENVIRONMENT]
* NEW: Working on report form support. Report forms now can be created and 
  edited. Symbol auto-completion is not implemented.
* NEW: The toolbox is updated according to the current edited form family.
* BUG: Menu are correctly saved again.
* NEW: Component help is implemented in the project property dialog.

[GB.GTK]
* BUG: Menu are containers.

[GB.GUI]
* BUG: The *.component file has been fixed.

[GB.REPORT]
* BUG: Control public constants are almost correctly defined now, and 
  inheritance is used.

[GB.QT4]
* BUG: Menu are containers.
* BUG: The text of hidden TabStrip tabs is not lost anymore.



git-svn-id: svn://localhost/gambas/trunk@2713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 03:21:43 +00:00
Benoît Minisini
e227c68989 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for controls having no real position and dimensions.


git-svn-id: svn://localhost/gambas/trunk@2712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 20:56:53 +00:00
Benoît Minisini
92f9cd2940 [DEVELOPMENT ENVIRONMENT]
* NEW: Similar controls are now identified by the _Similar hidden property.
* NEW: The "Provides" tab has been removed from the project property 
  dialog, as everything is now defined by control hidden properties.

[GB.GTK]
* BUG: Fix control hidden properties.

[GB.FORM]
* NEW: Update the component to the new declaration scheme.

[GB.QT4]
* BUG: Fix control hidden properties.

[GB.QT4.EXT]
* NEW: Remove the Drawing class, and the Draw.Drawing() method.
* BUG: Fix control hidden properties.


git-svn-id: svn://localhost/gambas/trunk@2710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 02:33:47 +00:00
Benoît Minisini
d3c4d6a926 [GB.QT4]
* BUG: Try to make gb.qt4 compile with Qt 4.5.


git-svn-id: svn://localhost/gambas/trunk@2709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 22:33:05 +00:00
Benoît Minisini
9c39e31fb5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for report form continues. Controls declaration has moved 
  from *.component files to the following Control hidden properties: 
  _Family, _Group, _IsControl, _IsContainer, _IsMultiContainer, _IsVirtual, 
  _IsForm. And to the following Form hidden properties: _HiddenControls.
  The wiki control documentation will be updated soon.

[COMPILER]
* NEW: Do not print a warning for a missing self-referenced *.list file.
* NEW: The '-L' is a new command-line option to print the license. The '-h'
  now only prints help.

[INFORMER]
* BUG: Support for boolean public constants.

[GB.DB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.GTK]
* NEW: Update control declarations to the new scheme.

[GB.QT4]
* NEW: Update control declarations to the new scheme.


git-svn-id: svn://localhost/gambas/trunk@2708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 18:15:16 +00:00
Benoît Minisini
0b11a86f44 [GB.QT4]
* BUG: TabStrip layout does not crash Qt 4.6 anymore, and is better. 
  TabStrip.ClientW and TabStrip.ClientH are now accurate when the TabStrip 
  is not visible.


git-svn-id: svn://localhost/gambas/trunk@2707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 03:20:06 +00:00
Benoît Minisini
fb331bac8f [GB.GTK]
* NEW: UserControl.SetFocus() now automatically gives the focus to the 
  first child that can receive it.

[GB.QT4]
* NEW: UserControl.SetFocus() now automatically gives the focus to the 
  first child that can receive it.
* BUG: Reparenting a top-level window does not give it a minimal size 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-15 19:59:29 +00:00
Benoît Minisini
eba1d9c405 [DEVELOPMENT ENVIRONMENT]
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components: 
  _IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.

[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.

[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.

[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.

[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.

[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-14 01:16:27 +00:00
Benoît Minisini
e3d5ee67bf [GB.QT4]
* NEW: Replace the previously removed symbolic links by the real source 
  files.


git-svn-id: svn://localhost/gambas/trunk@2687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:56:12 +00:00
Benoît Minisini
8f485bff85 [GB.QT4]
* NEW: Remove other symbolic links to old gb.qt sources.


git-svn-id: svn://localhost/gambas/trunk@2686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:54:40 +00:00
Benoît Minisini
00e5e772d1 [GB.QT4.EXT]
* NEW: Replace the previously removed symbolic links by the real source 
  files.


git-svn-id: svn://localhost/gambas/trunk@2685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:53:22 +00:00
Benoît Minisini
2dd57d78b4 [GB.QT4.EXT]
* NEW: Remove old symbolic links to gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:51:21 +00:00
Benoît Minisini
cf295781d9 [GB.QT4]
* NEW: Replace the previous symbolic links by the real source files from 
  gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:46:32 +00:00
Benoît Minisini
f90a9f2a4c [GB.QT4]
* NEW: Remove symbolic links to gb.qt in the Gambas part.


git-svn-id: svn://localhost/gambas/trunk@2679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:45:41 +00:00
Benoît Minisini
13fc414ca0 [GB.QT4]
* NEW: Copy the share directory from gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:12:56 +00:00
Benoît Minisini
f2b2430749 [GB.QT4]
* NEW: Remove the "share" directory symbolic link.


git-svn-id: svn://localhost/gambas/trunk@2675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:09:40 +00:00
Laurent Carlier
0eecb8bf12 small code cleanup
git-svn-id: svn://localhost/gambas/trunk@2668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 21:56:56 +00:00
Laurent Carlier
64cba9faf9 [GB.QT4.OPENGL]
* BUG: Clear GlArea when it's shown for the first time to avoid garbage displaying.


git-svn-id: svn://localhost/gambas/trunk@2667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 21:55:19 +00:00
Benoît Minisini
0a95ff227f [GB.QT4]
* BUG: TabStrip are made visible at creation again.


git-svn-id: svn://localhost/gambas/trunk@2666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 02:06:01 +00:00
Benoît Minisini
ff0804b8b1 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog was redesigned.
* BUG: Do not use the main window to display an error message if it is not 
  opened.

[INTERPRETER]
* BUG: Fix command-line arguments parsing again.

[GB.QT4]
* BUG: Some text alignment flags were not correctly detected.
* BUG: Cached DrawingArea should work as expected again.


git-svn-id: svn://localhost/gambas/trunk@2662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-04 16:00:01 +00:00
Benoît Minisini
34ece710f0 [DEVELOPMENT ENVIRONMENT]
* NEW: Apply color theme to project treeview, property sheet and form 
  hierarchy window.

[INTERPRETER]
* NEW: gbr3 and gbx3 now interpret their command line the same way.
* NEW: The -L option now prints the license, and the -h option only print
  the interpreter usage.

[GB.GTK]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.

[GB.QT4]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.


git-svn-id: svn://localhost/gambas/trunk@2653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-01 12:17:38 +00:00
Benoît Minisini
0665d5f720 [CONFIGURATION]
* BUG: Configuration summary should be printed correctly again.
* NEW: README file was updated.

[INTERPRETER]
* BUG: The Error information should not be lost anymore during error 
  propagation through constructors.
* NEW: Natural comparison is now always language-aware.

[GB.QT4]
* BUG: TextArea selection methods work correctly now.
* BUG: TreeView.Count and ColumnView.Count now return the number of items 
  in the view like in gb.gtk, not just the number of root items.


git-svn-id: svn://localhost/gambas/trunk@2643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-27 03:28:06 +00:00
Benoît Minisini
6f2a3f43a5 [INTERPRETER]
* NEW: gb.Text has been deprecated, and a warning is printed each time it 
  is used now. Use gb.IgnoreCase instead.
* NEW: Natural string comparison and sorting were implemented. Use the 
  gb.Natural constant for that.


git-svn-id: svn://localhost/gambas/trunk@2640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 17:53:58 +00:00
Benoît Minisini
24b651b14f [DEVELOPMENT ENVIRONMENT]
* NEW: Creating and removing records is now possible in the database 
  table editor.
* BUG: Procedures whose name is enclosed between braces are now displayed 
  correctly in the editor procedure combo-box.
* BUG: Backup files are not taken into account anymore where generating
  unique names for new files.

[GB.DB.FORM]
* NEW: DataView.Editable is a new property to define if a DataView is 
  editable.
* NEW: DataBrowser.Editable is a new property to define if a DataBrowser is 
  editable.

[GB.FORM]
* NEW: Less padding in Balloons.
* NEW: ButtonBox has a new Border property.

[GB.QT4]
* NEW: TextArea.ToPos(), TextArea.ToLine() and TextArea.ToColumn() methods 
  were implemented.
* OPT: TextArea is now based on the QPlainTextEdit widget.
* BUG: Do not let GridView raise too many Scroll events.


git-svn-id: svn://localhost/gambas/trunk@2638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 12:10:58 +00:00
Benoît Minisini
8c8859b165 [CONFIGURATION]
* BUG: Fix the compilation and installation order of sub-directories.

[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not 
  like them.

[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent 
  container has no arrangement.

[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the 
  window manager close button.


git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 14:23:51 +00:00
Benoît Minisini
667a8eda24 [GB.QT4]
* BUG: Fix compilation on Mac OS X and Linux.


git-svn-id: svn://localhost/gambas/trunk@2624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-22 01:25:24 +00:00
Benoît Minisini
a1635a40a5 [GB.DB.MYSQL]
* NEW: Search include and library files in /opt/local for Mac OS X.

[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it 
  does not compile yet.

[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
  Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!



git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-21 16:46:21 +00:00
Benoît Minisini
927a153b22 [DEVELOPMENT ENVIRONMENT]
* BUG: Always correctly round control coordinates in the form editor when 
  the form Scaled property is set.

[GB.FORM]
* BUG: Clicking inside the FontChooser style ListBox now always works 
  correctly.

[GB.GTK]
* BUG: Setting the Control.Tracking property should work correctly in all 
  cases now.
* BUG: Prevent a crash when creating an Image or a Picture with incorrect
  constructor arguments.

[GB.IMAGE.EFFECT]
* BUG: Use accurate compilation flags.

[GB.NET]
* BUG: Clear the CR / NL input conversion flags when initializing a serial 
  port.

[GB.QT4]
* BUG: Setting MovieBox Path property to NULL does not fail anymore.
* BUG: Do not try to reparent a window in its Show() method when it is 
  already visible.


git-svn-id: svn://localhost/gambas/trunk@2618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 00:52:50 +00:00
Benoît Minisini
5c7f33a54b [GB.QT4]
* BUG: Do not use Xor composition mode if Qt version is not >= 4.5.0.


git-svn-id: svn://localhost/gambas/trunk@2611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-13 21:27:11 +00:00
Benoît Minisini
18882cf487 [DEVELOPMENT ENVIRONMENT]
* NEW: JavaScript files with "*.js" extension are highlighted.

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

[GB.QT4.EXT]
* BUG: Editor now correctly handles highlighting of help comments spanning 
  on multiple lines.
* NEW: Editor highlights only the matching bracket or parenthesis, not the 
  current one anymore.


git-svn-id: svn://localhost/gambas/trunk@2608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 21:14:40 +00:00
Benoît Minisini
96d7b36b7d [GB.GTK]
* NEW: Paint.TextExtents has been correctly implemented.

[GB.QT4]
* NEW: Paint.TextExtents has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 00:51:35 +00:00
Benoît Minisini
0421ced0fe [EXAMPLES]
* NEW: The ImageViewer example now uses the Paint class.

[INTERPRETER]
* NEW: Class.Symbols now returns a string array of all class public 
  symbols.
* NEW: Component.IsLoaded is a new static method to check if a specific 
  component has been loaded.
* NEW: Components.Load has been removed.

[GB.GTK]
* NEW: Cairo requirements have been added to the configure.ac file.
* NEW: The Container.Children.Clear method has been implemented.

[GB.GUI]
* NEW: Add gb.image requirement in the gb.gui component file.

[GB.QT4]
* BUG: DrawingArea scrollbars are correctly displayed again.
* BUG: DrawingArea internal cache is correctly resized with the control.


git-svn-id: svn://localhost/gambas/trunk@2606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 23:00:31 +00:00
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Benoît Minisini
a07a868dbd [WIKI CGI SCRIPT]
* BUG: Correctly deals with class reimplementation for Gambas3 component 
  help pages.

[GB.GTK]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.

[GB.NET]
* NEW: Starting some code cleanup in the component.

[GB.QT4]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.

[GB.QT4.WEBKIT]
* NEW: WebFrame.Print() is a new method to send a frame to an existing 
  printer object.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.


git-svn-id: svn://localhost/gambas/trunk@2600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 12:04:53 +00:00
Benoît Minisini
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version 
  control if the project parent directory is already under version control.

[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
  display the text extents accurately.

[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.

[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.

[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.

[GB.NET]
* NEW: UpdSocket has now a Timeout property.

[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when 
  they have a border.


git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 17:09:57 +00:00
Benoît Minisini
62ddf76303 [EXAMPLES]
* NEW: SVG drawing in Painting example has been enhanced.

[GB.GTK]
* BUG: Correctly detect file copy errors in the SvgImage.Save() method.

[GB.QT4]
* NEW: SvgImage.Load() has been implemented, and painting on a SvgImage 
  loaded from disk is now possible.
* BUG: Paint.TextExtents has been fixed to take into account negative top 
  and left extents.


git-svn-id: svn://localhost/gambas/trunk@2590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 03:59:02 +00:00
Fabien Bodard
5a319b4eb5 [GB.GTK]
* NEW: implement Paint.TextExtents

[GB.QT4]
* NEW: implement Paint.TextExtents



git-svn-id: svn://localhost/gambas/trunk@2585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 22:19:11 +00:00
Benoît Minisini
a2fa1cc408 [GB.GTK]
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.

[GB.QT4]
* NEW: The SvgImage class has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 21:32:45 +00:00
Benoît Minisini
d81bda1c5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save ListBox having exactly 31 items defined from the IDE.

[INTERPRETER]
* BUG: Now when a method call fails when checking arguments, the arguments
  are correctly released.

[GB.QT4]
* NEW: The Window background picture is now drawn differently, and not 
  propagated anymore.


git-svn-id: svn://localhost/gambas/trunk@2582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 14:55:13 +00:00
Benoît Minisini
dab9c93bbe [WIKI CGI SCRIPT]
* BUG: Fix a HTML markup mistake.

[GB.GTK]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.

[GB.GUI]
* BUG: Add Printer control to the *.component file.

[GB.QT4]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
* BUG: Add Printer control to the *.component file.


git-svn-id: svn://localhost/gambas/trunk@2580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 11:54:16 +00:00
Benoît Minisini
32d0b2e12c [GB.GTK]
* NEW: Printer implementation was completed.

[GB.FORM]
* NEW: Some control icons were updated.

[GB.QT4]
* NEW: Printer class implementation.

[GB.QT4.EXT]
* NEw: The Printer class was removed.


git-svn-id: svn://localhost/gambas/trunk@2579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 02:12:35 +00:00
Benoît Minisini
25df6dde6a [GB.GTK]
* BUG: Rotations must be counter-clockwise when the angle is positive.

[GB.QT4]
* BUG: Rotations must be counter-clockwise when the angle is positive.


git-svn-id: svn://localhost/gambas/trunk@2573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:48:43 +00:00
Benoît Minisini
e5107e258e [EXAMPLES]
* NEW: Add a module that includes a function that generates all example
  source text files directly from the Gambas source file in the Painting
  example.
* NEw: Some fixes in the source code of the Painting example.

[GB.GTK]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.

[GB.QT4]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.


git-svn-id: svn://localhost/gambas/trunk@2569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:55:35 +00:00
Benoît Minisini
d01028cc99 [GB.DRAW]
* BUG: Fix the Brush.Matrix property management.


git-svn-id: svn://localhost/gambas/trunk@2560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:33:46 +00:00
Benoît Minisini
aaad5d823d [GB.QT4]
* NEW: Found a workaround to the non-antialiased clipping on X11 devices!


git-svn-id: svn://localhost/gambas/trunk@2558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:13:23 +00:00
Benoît Minisini
6b0fd51325 [EXAMPLES]
* NEW: Cosmetic changes again in the Painting example.

[GB.DRAW]
* NEW: Paint.RelLineTo() is implemented by using Paint.LineTo().

[GB.GTK]
* NEW: Remove the implementation of Paint.RelLineTo().

[GB.QT4]
* NEW: Remove the implementation of Paint.RelLineTo().


git-svn-id: svn://localhost/gambas/trunk@2555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:23:44 +00:00
Benoît Minisini
d036103823 [EXAMPLES]
* NEW: Add an example that shows how to use the new Paint class.


git-svn-id: svn://localhost/gambas/trunk@2547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 12:12:09 +00:00
Fabien Bodard
e183563213 [GB.GTK]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position

[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position



git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 11:09:25 +00:00
Benoît Minisini
8bd9372f83 [GB.GTK]
* BUG: Fix the Paint.LineWidth, Paint.Dash and Paint.DashOffset properties.
  Now the dash positions and the dash offset are in line width units.

[GB.QT4]
* BUG: Paint.Begin correctly initializes the default line join style.
* BUG: Draw.Begin now fails if the device is being painted somewhere else.


git-svn-id: svn://localhost/gambas/trunk@2545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 02:15:00 +00:00
Benoît Minisini
be7b2620de [GB.GTK]
* BUG: Paint.Arc() has been fixed.

[GB.QT4]
* BUG: Paint.Begin() now starts with a solid black brush.


git-svn-id: svn://localhost/gambas/trunk@2544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 00:12:09 +00:00
Benoît Minisini
79e76072d1 [WIKI CGI SCRIPT]
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.

[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after 
  having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal 
  point, like in SVG standard.

[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.

[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 23:18:43 +00:00
Benoît Minisini
8e7661d2c6 [GB.DRAW]
* BUG: Paint.RichText() has been removed.

[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.

[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 21:42:40 +00:00
Benoît Minisini
71af715f2a [GB.GTK]
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment 
  argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.

[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.


git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:08:06 +00:00
Benoît Minisini
e644006626 [WIKI CGI SCRIPT]
* BUG: Handle cyclic dependencies between components correctly.

[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.

[GB.GTK]
* NEW: Start implementing the Paint interface.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 01:21:39 +00:00
Laurent Carlier
491b6fbbf7 [GB.OPENGL.QT4]
* BUG: Correctly initialize gb.opengl component.


git-svn-id: svn://localhost/gambas/trunk@2535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 00:48:52 +00:00
Benoît Minisini
ea6ce6b566 [GB.QT4]
* NEW: Forgot the two new source files.


git-svn-id: svn://localhost/gambas/trunk@2531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:22:13 +00:00
Benoît Minisini
774baa91f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not apply the new DrawingArea.Painted property.

[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
  rudimentary at the moment.

[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
  Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:19:27 +00:00
Laurent Carlier
438c6be3ef [GB.QT4.OPENGL]
* BUG: Remove OpenGL detection, as QtOpenGL implies that GL files and support are presents.


git-svn-id: svn://localhost/gambas/trunk@2528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 00:30:46 +00:00
Laurent Carlier
4918f83cdf [GB.QT4.OPENGL]
* NEW: Remove dependency with glew library, as the component use now the GL_INTERFACE api.


git-svn-id: svn://localhost/gambas/trunk@2524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 23:13:08 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Benoît Minisini
ccfd94594f [GB.OPENGL.GLSL]
* BUG: Remove a Makefile.in file that must not be in the repository.

[GB.QT4]
* BUG: The ComboBox Click event now is raised correctly when setting the 
  Text property. 


git-svn-id: svn://localhost/gambas/trunk@2516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 16:28:28 +00:00
Laurent Carlier
63d43018fa [GB.QT4.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:56:17 +00:00
Benoît Minisini
93969ee0b3 [GB.QT4]
* BUG: Fix Error signal management in Embedded control.


git-svn-id: svn://localhost/gambas/trunk@2506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:19:51 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +00:00
Benoît Minisini
f4139e1c7b [DEVELOPMENT ENVIRONMENT]
* NEW: Display help on local variables in automatic completion.
* NEW: Enhance the help wiki syntax. Links in uppercase are supposed to be 
  language keywords. And lines beginning with "+" are titles.

[WIKI CGI SCRIPT]
* NEW: Online help pages now stay in the cache during one week.

[EXAMPLES]
* BUG: The HighlightEditor example now uses Qt4.

[GB.EVAL]
* BUG: Help comments are correctly highlighted in all cases now.

[GB.FORM]
* BUG: Balloons are drawn correctly again.

[GB.QT4.EXT]
* BUG: Many bug fixes in Editor rendering.


git-svn-id: svn://localhost/gambas/trunk@2495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 00:06:54 +00:00
Benoît Minisini
0c1b17316e [DEVELOPMENT ENVIRONMENT]
* NEW: Syntax highlighting for help comments.
* NEW: Implement a wiki-like syntax inside help comments.

[GB.EVAL]
* NEW: Syntax highlighting for help comments.

[GB.QT4]
* NEW: The TextArea.Line and TextArea.Column properties has been 
  implemented.

[GB.QT4.EXT]
* NEW: Syntax highlighting for help comments in Editor.
* OPT: Editor view has been redesigned to inherit directly Q3ScrollView 
  instead of Q3GridView.
* BUG: The editor background color has no impact anymore on the editor 
  frame.


git-svn-id: svn://localhost/gambas/trunk@2494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-14 03:45:22 +00:00
Benoît Minisini
fb73954f71 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the signature of project symbols in the popup help.

[GB.WEB]
* BUG: Remove the Response.Cache property. HTTP caching headers are more 
  complex than I thought first.

[GB.QT4]
* BUG: Background and Foreground colors should now be handled correctly in 
  all controls.

[GB.QT4.EXT]
* BUG: The background color of the Editor control has been fixed, but it 
  has the same problem as the TextBox control one: the frame is not drawn 
  differently from the inside.


git-svn-id: svn://localhost/gambas/trunk@2492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:17:03 +00:00
Benoît Minisini
20bfee43f4 [DEVELOPMENT ENVIRONMENT]
* OPT: Use a TextLabel to represent a WebView in the form editor.
* BUG: Fix help browser zoom.

[WIKI CGI SCRIPT]
* NEW: A new Url option (nocache) to prevent HTML caching.
* NEW: gb.qt4 documentation is automatically redirected to the old gb.qt 
  one. And the gb.gtk and gb.gui documentation are redirected to gb.qt4, 
  then gb.qt. Links are correctly converted too.

[GB.DB.FORM]
* BUG: The Color.Mix method has been renamed as Color.Merge. Fix that.

[GB.QT4.WEBKIT]
* NEW: NewFrame is a new event raised by the WebView control when it 
  creates a new frame.
* BUG: The Click event now works, and has one argument that indicates which 
  frame changes its URL.


git-svn-id: svn://localhost/gambas/trunk@2479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 17:45:23 +00:00
Benoît Minisini
76275850fb [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now uses the WebKit component to display an online help 
  directly into the automatic completion popup. The online help management
  is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the 
  information about a project. Not perfect yet.

[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and 
  "Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.

[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter 
  should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.

[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have 
  been removed.

[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is 
  no Read event handler.

[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory 
  used for storing the disk cache contents. If this property is not 
  defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
  the disk cache. The WebSettings.Cache.Path *must* be defined before 
  setting that property.
* NEW: WebView.HTML is not read-only anymore.


git-svn-id: svn://localhost/gambas/trunk@2460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 17:14:32 +00:00
Benoît Minisini
96b97d9f16 [EXAMPLES]
* BUG: Fix the use of Dialog.Filter in the Picture Database example.

[GB.GTK]
* BUG: Splitter works again.

[GB.QT4]
* BUG: The Dialog.Filter property works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 20:56:56 +00:00
Benoît Minisini
056094e27e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed.

[WIKI CGI SCRIPT]
* NEW: Display the CC-BY-SA logo on all pages.

[GB.FORM]
* BUG: Revert constructor arguments where it is needed.

[GB.GTK]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox.

[GB.QT4]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox. Beware that most of Qt4 style do not implement them!


git-svn-id: svn://localhost/gambas/trunk@2449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:30:37 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Fabien Bodard
0b0df86bc6 [GB.QT4]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.

[GB.GTK]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.



git-svn-id: svn://localhost/gambas/trunk@2415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-10 13:41:32 +00:00
Benoît Minisini
afef1f3472 [GB.QT4]
* BUG: Fix the crash after menu deletion.
* BUG: The menu bar is visible in all cases now the first time it is shown.


git-svn-id: svn://localhost/gambas/trunk@2395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:34:21 +00:00
Benoît Minisini
25c43c72c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation updated.

[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does 
  not crash the interpreter event loop anymore.

[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-12 10:38:35 +00:00
Benoît Minisini
1a73e9a4dd [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation made by Alexandros Prekates.
* BUG: Non-versioned files or directories are not locked anymore so that 
  you can add it to the repository.

[INTERPRETER]
* BUG: Non-integer constants are correctly optimized and keep their 
  datatype.

[COMPILER]
* BUG: Non-integer constants are correctly compiled and keep their 
  datatype.


git-svn-id: svn://localhost/gambas/trunk@2385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-04 23:32:14 +00:00
Benoît Minisini
5d3b569eff [GB.QT4]
* BUG: Fix the DrawingArea control when the Cached property is set.


git-svn-id: svn://localhost/gambas/trunk@2349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-23 23:21:08 +00:00
Benoît Minisini
429b36408e [CONFIGURATION]
* BUG: Forgot to recursively compile gb.image.imlib in the top-level 
  Makefile.am file.

[DEVELOPMENT ENVIRONMENT]
* NEW: All controls have a new "Public" property that tells the compiler 
  to declare this control public.
* NEW: Runtime and compilation errors are now display inside a balloon.
* BUG: Fix the use of old Gambas 2 Open syntax.

[WIKI CGI SCRIPT]
* NEW: New look. No blue anymore!
* NEW: All pages under the '/comp' path now can be switched between 2.0 and 
  3.0 version.
* BUG: Many fixes in links including the version number.
* NEW: An administration button to force a refresh of all pages the next 
  time they are requested.
* NEW: Alt+Shift+S is a shortcut for saving page on Firefox.
* NEW: Inherited symbols are now displayed before other symbols in a class 
  description.

[GB.GTK]
* BUG: Changing the value of the Sorted property in TreeView, ColumnView,
  ListView and ListBox does not crash anymore.

[GB.QT4]
* BUG: Do not use the menu focus hack when showing a window. The current 
  active control loses its focus otherwise.
* BUG: Enumerating Window.Controls works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:32:55 +00:00
Benoît Minisini
a309dffd70 [GB.GTK]
* BUG: Fix input method handling.
* NEW: Application_KeyPress global event handler has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 01:50:48 +00:00
Benoît Minisini
b73c99d385 [GB.GTK]
* NEW: Thanks to an hack based on a global event handler, disabled controls 
  now answer events like in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:42:11 +00:00
Benoît Minisini
2bdd0617d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving and renaming tables having indexes works in all cases now.
* BUG: The "..." button of the property sheet works again.
* BUG: The IDE title is correctly updated when the project version changes.

[GB.DB.FORM]
* BUG: The DataView control now is correctly refreshed when its underlying 
  connection is changed.

[GB.GTK]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.

[GB.QT4]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.


git-svn-id: svn://localhost/gambas/trunk@2331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-11 23:56:56 +00:00
Benoît Minisini
11906ba89a [DEVELOPMENT ENVIRONMENT]
* NEW: Renaming a control now automatically renames the identifier in the 
  source code.

[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape 
  characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
  now use the new Settings storage facilities and return a Variant[].

[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
  now.

[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.

[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
  be stored and retrieved.


git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-10 19:30:41 +00:00
Benoît Minisini
026c739f3d [DEVELOPMENT ENVIRONMENT]
* NEW: New control property type "Menu", for properties that receive a 
  popup menu name.
* NEW: New paste button with a menu in the code editor.

[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
  and a popup menu attached.

[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.

[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as 
  their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.

[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done 
  when the widget is visible, which is not pretty.


git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-08 12:22:03 +00:00
Benoît Minisini
d189a2031f [GB.FORM]
* NEW: The ColorChooser control has a working color picker now.

[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.

[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.


git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 15:57:54 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Benoît Minisini
a893f16465 [DEVELOPMENT ENVIRONMENT]
* BUG: Pressing the Escape key should hide panels *and* give the focus back
  to the active file correctly.

[INTERPRETER]
* BUG: Fix an uninitialized value in the date formatting routine.

[GB.DB.FORM]
* NEW: DataSource now raises a Change event when its current record changes
  or is refreshed.

[GB.NET]
* BUG: Fix an uninitialized value in SerialPort class, when retrieving the 
  port signal status.


git-svn-id: svn://localhost/gambas/trunk@2307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-02 23:17:05 +00:00
Benoît Minisini
f0b39ad212 [DEVELOPMENT ENVIRONMENT]
* BUG: Image.Mirror() now works in place.

[GB.GTK]
* NEW: Color.LightForeground has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 09:29:40 +00:00
Benoît Minisini
ac548e8734 [CONFIGURATION]
* BUG: Compile files with maximum optimization correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Remove The Form_Close event handler in the FHelp form. It did 
  stupid things indirectly.

[WIKI CGI SCRIPT]
* NEW: Enhancements to support 2.0 and 3.0 descriptions on the same page.

[GB.FORM]
* NEW: Enhance the ColorChooser control.

[GB.FORM.MDI]
* BUG: Fix the Toolbar layout algorithm.

[GB.IMAGE]
* BUG: Image.Colorize() works again.

[GB.IMAGE.EFFECT]
* NEW: This component includes image filtering and effect routines. This is 
  the old gb.image component from Gambas 2. Everything is not working 
  correctly at the moment.

[GB.QT4]
* NEW: Color.LightForeground returns the light foreground color used for
  drawing separators and plain panel borders.
* BUG: Prevent crashes coming from the fact that Qt deletes child widgets 
  before emiting the destroy signal on the parent.


git-svn-id: svn://localhost/gambas/trunk@2296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 01:14:13 +00:00
Benoît Minisini
9b05d386e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore error messages from the debugger if one is currently 
  displayed.
* BUG: Browse examples is more reliable now.
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.GTK]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.

[GB.FORM]
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.IMAGE.IMLIB]
* NEW: Imlib image cache is disabled.
* NEW: Image.Rotate() returns a smoothly rotated image.
* NEW: Image.Stretch() returns a smoothly stretched image.
* NEW: Image.Blur() blurs an image.
* NEW: Image.Sharpen() sharpens an image.
* NEW: Image.Draw() blends an image into another one.

[GB.QT4]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.


git-svn-id: svn://localhost/gambas/trunk@2283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-29 23:26:44 +00:00
Benoît Minisini
5995c33772 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize the "Show Tooltip" option when displaying the 
  preferences dialog.

[GB.QT.EXT]
* BUG: Editor.PosToColumn() correctly detects if the position if after the 
  end of the line now.


git-svn-id: svn://localhost/gambas/trunk@2281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 15:12:22 +00:00
Benoît Minisini
8bb2091ab0 [CONFIGURATION]
* BUG: Fix the Makefile.am files of /main/lib sub-directories.

[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your 
  component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field 
  in debugger windows while debugging.

[INTERPRETER]
* NEW: Support for local and global variable assignment.

[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global 
  variables now.

[GB.EVAL]
* NEW: Support for local and global variable assignment.

[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic 
  keyboard navigation.

(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 14:19:32 +00:00
Laurent Carlier
32fe885dce [GB.QT4.WEBKIT]
* BUG: Component need at least Qt4 Webkit 4.5.0 to build.


git-svn-id: svn://localhost/gambas/trunk@2264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 13:16:24 +00:00
Benoît Minisini
5bb47fc9aa [DEVELOPMENT ENVIRONMENT]
* NEW: Some little cosmetic changes.
* BUG: Do not use gb.UseLanguage anymore.

[INTERPRETER]
* NEW: The gb.UseLanguage and gb.Case constants have been removed.
* NEW: Array.Find() methods now take an optional argument that defines the 
  search start index.
* NEW: gb.Like is a new comparison mode that internally uses the LIKE 
  operator.


git-svn-id: svn://localhost/gambas/trunk@2260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 12:17:31 +00:00
Benoît Minisini
dad1cff347 [GB.QT4]
* NEW: Window without borders now ask to not be managed by the window 
  manager. Consequently, they are not activated when shown, and do not get 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 10:11:25 +00:00
Benoît Minisini
080f1d20b9 [GB.QT4.EXT]
* NEW: Editor.PosToColumn() and Editor.PosToLine() now return -1 when the 
  mouse cannot be mapped to a cursor position.


git-svn-id: svn://localhost/gambas/trunk@2256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 20:52:17 +00:00