* NEW: PhotoTouch and MediaPlayer examples now use the gb.gui component.
[GB.GTK]
* NEW: Make GTK+ controls borderless, so that they are "transparent" like
gb.qt4 controls. This is work in progress! The PhotoTouch example now
works correctly with gb.gtk, the brightness dialog excepted.
* BUG: ScrollBars are correctly initalized now.
* BUG: Container.Find() does not take hidden controls into account anymore.
[GB.IMAGE]
* BUG: Image.Opacity() can handle images with premultiplied alpha correctly
now.
[GB.FORM]
* BUG: IconView: Item text is ellipsized without printing GTK+ warnings
anymore.
git-svn-id: svn://localhost/gambas/trunk@4729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Even() is a new subroutine that returns if a number is even.
* NEW: Odd() is a new subroutine that returns if a number is odd.
[GB.GTK]
* BUG: Close all windows correctly when a QUIT instruction is executed.
[GB.QT4]
* BUG: Close all windows correctly when a QUIT instruction is executed.
git-svn-id: svn://localhost/gambas/trunk@4615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* 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
* OPT: The project file creation dialog initalizes its file browser later.
[INTERPRETER]
* BUG: Use sigsetjmp() instead of setjmp() as expected by the memory check
functions.
[GB.FORM.MDI]
* BUG: Do not use symbolic links, but real image files for action icons.
[GB.SIGNAL]
* BUG: Fix some warnings on BSD.
git-svn-id: svn://localhost/gambas/trunk@4284 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Don't call GTK+ gtk_widget_modify_xxx() functions if not really
necessary, they are slow, and slower as the number of created controls
grows!
git-svn-id: svn://localhost/gambas/trunk@4278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* 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
* 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
* 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
* NEW: Cosmetic changes in Painting example.
[GB.GTK]
* BUG: Remove some apparently useless arrangement hacks, to fix an
infinite recursion when mixing splitter and other containers.
git-svn-id: svn://localhost/gambas/trunk@2565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Inheritance is correctly detected now when you put comments on the
"INHERITS" line.
[WIKI CGI SCRIPT]
* BUG: Fix language flag links for component pages.
[GB.GTK]
* BUG: Control.Reparent() works correctly now.
git-svn-id: svn://localhost/gambas/trunk@2418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties
that allow a GridView cell to span on multiple rows or columns.
* BUG: The Indent property of containers is correctly initialized now.
[GB.QT4]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties
that allow a GridView cell to span on multiple rows or columns. Beware
that the feature was not implemented in gb.qt.
git-svn-id: svn://localhost/gambas/trunk@2142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e.
string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less
easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.
[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a
"database URL" to the constructor. For example:
"mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
the value, and do nothing with it. It's up to you to use the information
later if you need.
[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays
"BLOB" in the cell with a darker background.
[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in
Qt that updated two lines when it was asked for one only.
git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix all controls that use a GtkScrolledWindow.
* BUG: Fix Control.Raise() and Control.Lower() with controls using a
GtkScrolledWindow.
* BUG: The ClientWidth and ClientHeight properties of TreeView, ListView
and ColumnView controls were implemented.
git-svn-id: svn://localhost/gambas/trunk@2126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The button that switches between form and class editor is not shown
anymore when a module or a class is edited.
[GB.GTK]
* BUG: Font management was redesigned. It does not leak memory anymore,
and now behaves like in gb.qt.
* BUG: Tristate CheckBox controls now work as expected.
* BUG: Destroy pending deleted controls before entering the event loop, to
avoid some memory leaks if the event loop is immediately aborted.
* BUG: Detach destroyed controls from their event listener, as in gb.qt.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But
the menu must be visible. To create an hidden active top-level menu, just
set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.
[GB.QT]
* BUG: Font properties are correctly inherited between containers and
children controls.
* BUG: Showing a tray icon does not eat focus events anymore.
* NEW: Top-level menus with a void Text property are not shown anymore.
[GB.QT4]
* BUG: Font properties are correctly inherited between containers and
children controls.
* BUG: Shortcut management was fixed.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But
the menu must be visible. To create an hidden active top-level menu, just
set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.
git-svn-id: svn://localhost/gambas/trunk@2034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.
[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.
[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent
pictures.
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs
were fixed by the way.
[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs
were fixed by the way.
git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UTF-8 characters are allowed in project data file names now.
[INTEPRETER]
* NEW: Allocation debugging messages can be redirected to a log file.
[GB.DB.FORM]
* BUG: DataBrowser FBrowser form does not incorrectly override Form.Panel
anymore.
[GB.GTK]
* BUG: TabStrip.Font now behaves as expected.
* BUG: GridView Row and Column properties can be set independently.
* BUG: Fix the container arrangement and the ClientX / ClientY properties.
[GB.FORM]
* OPT: FileView redraws were delayed so that they are optimized.
* BUG: Balloon tried to not take the focus.
[GB.QT]
* BUG: Fix the GridView last column stretching.
[GB.QT4]
* NEW: The AutoResize property of Button, ToolButton and ToggleButton
controls were implemented.
* BUG: Button, ToolButton and ToggleButton now behave correctly when their
font change.
* OPT: Arrangement was optimized.
* BUG: TabStrip ClientX, ClientY, ClientWidth and ClientHeight properties
now return accurate values.
[GB.QT4.EXT]
* BUG: Editor now draws non-highlighted lines correctly.
git-svn-id: svn://localhost/gambas/trunk@1868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a backtrace memory leak in error management.
* BUG: Fix a memory leak in process streams.
[GB.FORM]
* BUG: Some bug fixes in DatePicker. It does not work correctly with
gb.gtk yet!
[GB.GTK]
* BUG: Fix the container arrangement and the ClientX / ClientY properties.
* BUG: A form is not its own event observer if one was specified at
instanciation time.
[GB.QT]
* OPT: The container arrangement is now triggered the same way as in
gb.gtk. No Qt event filter is used anymore.
[GB.QT4]
* OPT: The container arrangement optimization from gb.qt has been partially
applied to gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@1858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Initialize the new BeforeArrange container callback correctly, so
that the component does not crash anymore.
* BUG: Correctly declare the new BeforeArrange event.
[GB.QT]
* BUG: Fix the arrangement algorithm, so that it does not keep containers
locked when they have no child to arrange.
git-svn-id: svn://localhost/gambas/trunk@1800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Signature and automatic completion are visible again. Moreover,
they are not hidden anymore when the editor is resized, but this may
change in the future.
[GB.FORM]
* BUG: The DatePicker works again.
[GB.FORM.MDI]
* BUG: The Enabled state of toolbar buttons is preserved now when
configuring the toolbar.
[GB.GTK]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
[GB.QT]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
[GB.QT4]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
git-svn-id: svn://localhost/gambas/trunk@1799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Activate the compilation of the gb.qt4 directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Actions that are not associated with a Menu will not be shown
anymore in the Action configuration dialog.
[GB.QT]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
[GB.GTK]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
[GB.QT4]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
git-svn-id: svn://localhost/gambas/trunk@1777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UserControl and UserContainer _Container properties are correctly
implemented now. Consequently, the gb.form containers start working as
expected.
* BUG: Window.Background and Window.Foreground now work correctly when the
window is embedded.
* BUG: ClientX, ClientY, ClientW and ClientH container properties for
Panel now take the frame into account, as in gb.qt.
git-svn-id: svn://localhost/gambas/trunk@1673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: PictureBox.AutoResize is a new property that makes the PictureBox
fits its contents.
git-svn-id: svn://localhost/gambas/trunk@1383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use TextEdit.RichText insted of TextEdit.Text.
* BUG: END SUB can be the end of a method. The class analyze now takes
that into account.
[HELP]
* BUG: Fixed the generated treeview.
[COMPILER]
* OPT: The NOT operator used just at the beginning of a conditional
expression is optimized. Consequently, an expression like 'IF NOT 2' is
now equivalent to 'IF 2 = 0' and not to 'IF (NOT 2) <> 0' as before. In
other words, the boolean conversion is now done before the NOT, and not
after. The following instructions are concerned: IF, WHILE, UNTIL.
* NEW: BYREF is new keyword that is a more readable synonymous of '@'.
[GB.DB.FORM]
* BUG: Correctly manage data controls inside TabStrip-like containers.
* BUG: Setting the focus on a non-initialized DataControl does not raise
an error anymore.
[GB.GTK]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a
list of children widths, hidden children having a zero width.
* BUG: Window arrangement is done before the Open event is raised, as in
gb.qt.
* BUG: Keyboard, focus and mouse events now work correctly on Window and
DrawingArea controls.
[GB.QT]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a
list of children widths, hidden children having a zero width.
* BUG: Many warning fixes.
* BUG: Now the Control.Visible property works like in gb.gtk, i.e. it
returns if the control was not explicitely hidden.
git-svn-id: svn://localhost/gambas/trunk@1060 867c0c6c-44f3-4631-809d-bfa615b0a4ec