Commit graph

63 commits

Author SHA1 Message Date
Benoît Minisini
520e978feb [DEVELOPMENT ENVIRONMENT]
* NEW: Update error messages.

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

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

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

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

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


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

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


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

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


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

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

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




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

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

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




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

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

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

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

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


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

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

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

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

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

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

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


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

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

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

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

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

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

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


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

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

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

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


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

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

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


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

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

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

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


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

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

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


git-svn-id: svn://localhost/gambas/trunk@5024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 23:39:29 +00:00
Benoît Minisini
f93affd8e9 [DEVELOPMENT ENVIRONMENT]
* NEW: Display callees and callers in the profile window.
* NEW: Display profiling of each line of code.

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

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

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

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


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

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


git-svn-id: svn://localhost/gambas/trunk@4721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 15:32:33 +00:00
Benoît Minisini
dbfb8c320e [GB.FORM.MDI]
* BUG: Fix ToolBar behaviour when none of its children has an action.

[GB.GTK]
* BUG: Fix container children management.

[GB.QT4]
* BUG: Fix ToolButton text and picture alignment.


git-svn-id: svn://localhost/gambas/trunk@4570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-25 20:11:50 +00:00
Benoît Minisini
a2a5f45bb8 [GB.FORM]
* BUG: Take the GridView cell RichText property into account.
* BUG: Take the GridView.Enabled property into account.
* BUG: The minimum column width and minimum row height are one pixel now.

[GB.GTK]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.

[GB.QT4]
* NEW: Align.IsTop(), Align.IsBottom(), Align.IsMiddle(), Align.IsLeft(),
  Align.IsRight() and Align.Center() are new methods that allow to know the
  direction of an alignment according to the current language direction.


git-svn-id: svn://localhost/gambas/trunk@4505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-25 02:59:39 +00:00
Benoît Minisini
834ca97b78 [GB.DBUS]
* BUG: Fix DBusObserver matching rules handling.

[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.

[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
  memory when rarely used properties are not set.


git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-19 21:13:50 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
bee6e69ad1 [DEVELOPMENT ENVIRONMENT]
* NEW: A button to show or hide the system tables in the database editor.
* BUG: Copying button is enabled now in the SQL editor.
* NEW: SQL highlighting.

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

[GB.FORM]
* BUG: Fix an arrangement bug in TabPanel.

[GB.QT4.EXT]
* NEW: Editor.HighlightCurrent flag has been renamed HighlightImmediately.
* BUG: Braces are now highlighted even if they are not on the same line.
* NEW: Editor.HideMargin is a new flag to hide the editor left margin.


git-svn-id: svn://localhost/gambas/trunk@4344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 03:04:46 +00:00
Benoît Minisini
29495fead4 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new _DefaultArrangement constant.
* NEw: Use TabPanel instead of TabStrip is a few places.

[GB.FORM]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.
* NEW: DirChooser.Border is a new property that defines if the DirChooser
  control has a plain border or no border at all.
* NEW: FileChooser.Border is a new property that defines if the FileChooser
  control has a plain border or no border at all.
* NEW: TabPanel is new container that behaves like a TabStrip, but with a 
  thin removable border.

[GB.FORM.MDI]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.GTK]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.QT4]
* NEW: The _Arrangement integer constant has been replaced by the 
  _DefaultArrangement string property.

[GB.REPORT]
* BUG: Define the _DefaultArrangement property for containers.


git-svn-id: svn://localhost/gambas/trunk@4327 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-24 04:08:37 +00:00
Benoît Minisini
72156aa7f7 [GB.GTK]
* BUG: Fix Embedder control description.

[GB.QT4]
* BUG: Fix Embedder control description.


git-svn-id: svn://localhost/gambas/trunk@4244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-13 20:29:42 +00:00
Benoît Minisini
f1e042543d [INTERPRETER]
* BUG: Try to not lose the value of 'errno' if the select() system call 
  fails inside the event loop.

[GB.GTK]
* BUG: Fix arrangement when there is no place for expanded controls.

[GB.QT4]
* BUG: Fix arrangement when there is no place for expanded controls.


git-svn-id: svn://localhost/gambas/trunk@4182 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-09 02:05:07 +00:00
Benoît Minisini
12997b15f3 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if a library cannot be found.
* NEW: Display a big message in the library tab of the project property
  dialog to tell that library must be stored in the same directory as the
  project using them.

[INTERPRETER]
* OPT: Some little optimization in natural comparison routine.

[GB.GTK]
* BUG: Do not crash if a null key is used for a stock picture. Just return
  a null reference.


git-svn-id: svn://localhost/gambas/trunk@4145 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-23 20:17:57 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +00:00
Benoît Minisini
7a03d0ebfb [DEVELOPMENT ENVIRONMENT]
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
  project dialog' is opened.

[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.

[GB.FORM]
* BUG: FileView now ignores unreadable directories.

[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.

[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.

[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.


git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:57:05 +00:00
Benoît Minisini
0c6a0e39c5 [GB.QT4]
* OPT: Optimizations in the Action property management.

[GB.GTK]
* OPT: Optimizations in the Action property management.


git-svn-id: svn://localhost/gambas/trunk@4073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 14:19:34 +00:00
Benoît Minisini
8f356103af [DEVELOPMENT ENVIRONMENT]
* BUG: The help browser is always refreshed when its treeview is clicked.

[EXAMPLES]
* NEW: Some little changes in TreeView example.
* BUG: Some fixes in WebCam example.

[GB.FORM.STOCK]
* BUG: Add a missing svg stock icon for "bookmark".

[GB.QT4]
* BUG: TrayIcon comes back as a virtual control.

[GB.GTK]
* BUG: TrayIcon comes back as a virtual control.


git-svn-id: svn://localhost/gambas/trunk@4057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-29 18:02:36 +00:00
Benoît Minisini
5177d66b87 [GB.DB.FORM]
* NEW: DataSource.Count is a new property that returns the number of 
  records of the DataSource.

[GB.FORM]
* BUG: Setting the ScrollArea.Painted property works correctly now.

[GB.GTK]
* BUG: Clean up the MovieBox implementation.
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.
* BUG: Clean up the PictureBox implementation.
* BUG: Fix the PictureBox aligment property.

[GB.QT4]
* NEW: MovieBox.Alignment is a new property that defines the alignment of 
  the movie inside the MovieBox frame.


git-svn-id: svn://localhost/gambas/trunk@3931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-11 20:44:42 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
b936c83f0d [CONFIGURATION]
* NEW: Update copyright strings.

[DEVELOPMENT ENVIRONMENT]
* NEW: Display menu shortcuts inside the form editor.


git-svn-id: svn://localhost/gambas/trunk@3670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-03-21 00:04:10 +00:00
Benoît Minisini
0a46a21588 [DEVELOPMENT ENVIRONMENT]
* BUG: Cannot clear all breakpoints while project is running.

[GB.DRAW]
* BUG: Remove useless Draw constants.

[GB.FORM]
* NEW: DirView.Renaming is a new property that returns if a directory is
  currently being renamed.
* BUG: DirChooser shortcuts are not active anymore when a directory is
  currently being renamed.

[GB.GTK]
* NEW: New arrangement properties behaviour: if the Padding property is not
  zero, then its value is the number of pixels used for container spacing 
  and margin. If Padding is zero, then spacing and margin is Desktop.Scale
  pixels.
* NEW: TreeView, ColumnView and ListView got a new Renaming property that
  returns if an item is currently being renamed.

[GB.QT4]
* NEW: New arrangement properties behaviour: if the Padding property is not
  zero, then its value is the number of pixels used for container spacing 
  and margin. If Padding is zero, then spacing and margin is Desktop.Scale
  pixels.
* NEW: TreeView, ColumnView and ListView got a new Renaming property that
  returns if an item is currently being renamed.


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

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

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


git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:35:47 +00:00
Benoît Minisini
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
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
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
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
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
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
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
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
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
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
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
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
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