* BUG: Get rid of the last use of the deprecated DrawingArea.Painted
property.
[INTERPRETER]
* NEW: The deprecated API message now displays the current code position.
[GB.FORM]
* NEW: The FileChooser and DirChooser label that displays the current
directory now "ellipsized" it if there is not enough room.
[GB.GTK]
* BUG: All style drawing methods now draw at the correct position.
* NEW: Start replacing old GDK drawing methods by Cairo methods.
[GB.MAP]
* NEW: Rename the MapViewer control as MapView.
* BUG: Don't redefine standard events. Use a proxy instead.
git-svn-id: svn://localhost/gambas/trunk@5396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Paint.ZoomImage() method.
[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.
[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.
[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has
been copied to the clipboard.
git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* NEW: Paint.DrawImage() now takes a source rectangle.
* NEW: Paint.DrawPicture() is a replacement for Draw.Picture().
* NEW: Paint.ZoomImage() is a replacement for Draw.Zoom().
[GB.GTK]
* NEW: Start implementing new Paint methods.
[GB.QT4]
* NEW: Start implementing new Paint methods.
git-svn-id: svn://localhost/gambas/trunk@5376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.BrushOrigin is a new property that allows to define the origin
of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.
[GB.GTK]
* NEW: Support for the new Paint methods.
[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
That class aims at replacing the current Draw class. As it will be based
on the Paint class, it will be able to act on Image and Printer, making
the old Gambas 2 printing code works with Gambas 3 directly.
[GB.QT4]
* NEW: Support for the new Paint methods.
git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix an infinite loop when choosing a fixed font for the search list
after the default font has been changed from the option dialog.
[GB.GTK]
* NEW: Trying to set a font size lower or equal than zero now raises an
error.
[GB.QT4]
* NEW: Trying to set a font size lower or equal than zero now raises an
error.
* BUG: The menubar height is now correctly updated after a font change.
git-svn-id: svn://localhost/gambas/trunk@5333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* BUG: The mouse cursor is correctly inherited from the parent control if
the Mouse property is set to Mouse.Default.
git-svn-id: svn://localhost/gambas/trunk@5306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Right mouse button can select controls again in form editor.
[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account.
[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in
GridView, TreeView... controls.
[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account.
git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In form editor, rectangle selection is triggered by the left mouse
button only.
[GB.GTK]
* BUG: Fix reparenting when there is a TabStrip in the process.
[GB.GUI.BASE]
* BUG: Fix sizing of TreeView items.
* BUG: Fix a crash when a sorted TreeView is updated.
git-svn-id: svn://localhost/gambas/trunk@5300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Scrollbar width is correctly respected.
* BUG: Setting the background color of a Panel should not have spurious
effects anymore (they were due to the internal reparenting).
git-svn-id: svn://localhost/gambas/trunk@5299 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* BUG: Label, TextLabel, PictureBox and MovieBox now draw their plain
border with the foreground color, like gb.qt4 does.
git-svn-id: svn://localhost/gambas/trunk@5269 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Foreground color is now correctly preserved when reparenting.
git-svn-id: svn://localhost/gambas/trunk@5263 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Reparenting a container correctly keeps the visibility state of its
children.
git-svn-id: svn://localhost/gambas/trunk@5262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove useless source files of controls now implemented in the
gb.gui.base component.
[GB.QT4]
* NEW: Remove useless source files of controls now implemented in the
gb.gui.base component.
git-svn-id: svn://localhost/gambas/trunk@5259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.
[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
not trigger parent arrangement routine anymore.
git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix option dialog layout.
[GB.FORM]
* NEW: New FontChooser control design.
[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.
[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
the old one yet.
[GB.QT4]
* NEW: Add Window.Indent arrangement property.
git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.
[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.
[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
symbol.
[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with
"nan" or other special numeric strings.
[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when
there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control
entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.
[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.
[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Fix event handling when a window has only invisible top-level menus.
* BUG: Fix a possible crash in TrayIcon mouse wheel event handling.
git-svn-id: svn://localhost/gambas/trunk@5247 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Switch to 3.3.90 version.
[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.
[INTERPRETER]
* NEW: New API for getting information about a file.
[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a
next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.
[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.HTTPD]
* NEW: Reindent source files.
[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.
git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Copying an image to clipboard does not corrupt the image anymore.
git-svn-id: svn://localhost/gambas/trunk@5175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use Terminus as default fixed font if it is installed on the system.
* BUG: Don't load a component description if that component has the same
name as the current project. This is a temporary incorrect fix!
[INTERPRETER]
* BUG: Fix Classes enumeration.
[GB.DESKTOP]
* BUG: Fix X11 client message sending routine on 64 bits OS.
* BUG: Fix all DesktopWindow properties that read or change the state of
the window.
[GB.GTK]
* NEW: Fonts.Exist() is a new method that returns if a specific font family
exists.
[GB.QT4]
* NEW: Fonts.Exist() is a new method that returns if a specific font family
exists.
git-svn-id: svn://localhost/gambas/trunk@5171 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display a PDF icon for PDF files.
[GB.FORM]
* NEW: Add a PDF icon to the stock.
[GB.FORM.STOCK]
* NEW: Add a PDF icon.
[GB.GTK]
* BUG: Printer.From and Printer.To now always return zero if all pages must
be printed.
[GB.QT4]
* BUG: If not page has to be printed, then the Print() method correctly
returns the Printer object to an inactive state.
git-svn-id: svn://localhost/gambas/trunk@5170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Conversion between byte index and UTF-8 character index of the last
string has been optimized when that last string is big.
[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That
optimization should be handled by the interpreter automatically.
git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Don't arrange the parent if a move & resize operation actually
changes nothing.
* OPT: When showing or hiding a control, check that we actually change the
visibility of the widget and do nothing if we don't.
git-svn-id: svn://localhost/gambas/trunk@5164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Small changes in the welcome dialog design.
[GB.FORM]
* NEW: In FileChooser and DirChooser, replace the little arrow that goes
up to the parent directory by a normal button.
[GB.GTK]
* BUG: Fix Mouse.ScreenX and Mouse.ScreenY.
git-svn-id: svn://localhost/gambas/trunk@5161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting Window.FullScreen does not show the window if the window was
not visible.
git-svn-id: svn://localhost/gambas/trunk@5157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix binary file detection that made file browsing sometimes ignore
some text files.
* BUG: When opening a project in another window, try to find the IDE
executable with and wuthout the ".gambas" extension.
[GB.GTK]
* BUG: Remove a debugging message.
git-svn-id: svn://localhost/gambas/trunk@5156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix dialog modality.
* BUG: The Window.Center() method now takes the available desktop into
account, not the entire screen.
* BUG: Fix filled ellipse drawing.
[GB.QT4]
* BUG: SpinBox Background property now works as expected.
git-svn-id: svn://localhost/gambas/trunk@5154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw the TabPanel focus differently again.
* BUG: For some reason, clicking on a tab didn't give the focus to the tab
button on gb.gtk.
[GB.GTK]
* BUG: Fix the Stock class.
git-svn-id: svn://localhost/gambas/trunk@5131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: FullScreen windows correctly raise the Open event now.
[GB.QT4]
* BUG: Windows do not raise their Resize event if the size didn't actually
change.
git-svn-id: svn://localhost/gambas/trunk@5106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Window should not raise useless resize events anymore.
* BUG: Windows embedded inside a Splitter correctly raise their Resize
events.
* BUG: Don't try to resize the window inner container with a negative size
when the window is too small.
* BUG: Draw window background correctly.
* BUG: Don't try to synchronize X11 when the debugger goes forward if there
is no X11 connection yet!
git-svn-id: svn://localhost/gambas/trunk@5082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow components to access the interpreter API through a pointer and
not a full structure. It is a little bit slower (one more indirection),
but it uses less memory: one pointer instead of about 180.
[GB.GTK]
* NEW: Use the indirect API access.
[GB.QT4]
* NEW: Use the indirect API access.
[GB.TASK]
* NEW: Use the indirect API access.
* NEW: Task now is now a stream that can read the standard output of the
background task.
* NEW: Task now raises the Read event when the background task has printed
something on its standard output.
* NEW: Task now raises the Error event when the background task has printed
something on its standard error output. The event handler receives the
data in its first argument.
[GB.XML.RPC]
* BUG: Some english fixes in some error messages.
git-svn-id: svn://localhost/gambas/trunk@5077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add support for double-linked lists in the interpreter API.
* NEW: GB.Wait() is a new API that waits for a specific number of
milliseconds, exactly like the WAIT instruction (i.e. the event loop is
run).
* NEW: GB.HasForked() is a new API that warns the interpreter that fork()
has been called (he has to do some stuff).
* NEW: Remove the GB_POST_FUNC datatype from the API.
[GB.DBUS]
* BUG: Fix some compilation warnings.
[GB.TASK]
* NEW: gb.task is a new component that allows to run background tasks by
"simply" forking the interpreter. Communication between the task and the
main process has not been implemented yet.
git-svn-id: svn://localhost/gambas/trunk@5076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ScrollArea.Shadow is a new static property to define if inner
shadows are visible or not. By default they are not.
[GB.GTK]
* BUG: Try to make gb.gtk works with old versions of GTK+ again.
git-svn-id: svn://localhost/gambas/trunk@5075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.
[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a
Result object to the database. The event handler receives the Result as
argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource
enters creation mode.
[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current
widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.
[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current
widget theme.
git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Take Label.Padding and TextLabel.Padding properties into account
correctly.
git-svn-id: svn://localhost/gambas/trunk@5069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly handle null dates.
[GB.DB.FORM]
* NEW: DataControl now uses a DateBox to edit date values.
[GB.FORM]
* NEW: DateBox handles null dates now.
* NEW: MaskBox hides its contents now when it is the default one and it
does not have the focus.
* NEW: DateChooser displays a little cursor following the mouse inside the
calendar and the time panel.
[GB.GTK]
* BUG: Fix popup management.
* BUG: Editable ComboBox controls now have the right background.
* NEW: Automatically temporarily release the keyboard and the mouse when
the debugger stops the program.
git-svn-id: svn://localhost/gambas/trunk@5066 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Object.CanRaise() is a new method that returns if a specific object
event has an event handler.
[GB.DB.FORM]
* NEW: DataView now raises a new Data event that allows to format the
contents of a cell just before it is displayed. The event receives three
arguments: the row, the column, and the cell value directly from the
underlying database.
* NEW: DataBrowser propagates the Data event of its inner DataView.
[GB.FORM]
* BUG: TableView: Apply a white background behind the currently edited
cell.
* BUG: ScrollArea: Draw the inner shadow correctly in all cases.
[GB.GTK]
* BUG: The Font object returned by Control.Font is now correctly updated
when the font of any of its parent changes.
* BUG: Ensure that when a mouse button is pressed, the same control
receives the mouse button release event.
[GB.QT4]
* BUG: The Font object returned by Control.Font is now correctly updated
when the font of any of its parent changes.
git-svn-id: svn://localhost/gambas/trunk@5059 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Better draw the background color of Button, ToolButton and
ToggleButton controls.
git-svn-id: svn://localhost/gambas/trunk@5058 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Try to avoir Application.Busy flickering in some dialogs.
[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.
[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the
opacity of the drawing, between 0 and 1.
[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet
events.
[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
cached.
[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a recursion problem is color management when a control is
inserted into its container.
git-svn-id: svn://localhost/gambas/trunk@5054 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* BUG: Do not display a thumbnail for images too large or too high.
* NEW: Implement bookmarks for code editor only.
* NEW: Automatic local variable declaration is disabled by default.
[INTERPRETER]
* NEW: GB.Deprecated() is a new interpreter API that displays a warning
message for deprecated functions at runtime. When the project is
debugged, an error is raised instead.
[GB.FORM]
* NEW: Deprecate Stock.List which has been replaced by Stock.Icons.
[GB.QT4]
* BUG: Fix the case of Action.Tooltip property name.
[GB.QT4.EXT]
* NEW: Editor: Support for bookmarks.
* OPT: Editor: Do not compute the character width table each time the font
changes. Use a cache instead.
* NEW: Editor.BookmarkPicture is a new property for defining the picture
used for displaying bookmarks.
* NEW: Editor.FindNextBreakpoint() has been deprecated and replaced by the
Editor.Breakpoints property, that returns an integer array of all lines
having a breakpoint.
* NEW: Editor.Bookmars is a new property that returns an integer array of
all lines having a bookmark.
* NEW: Editor.CurrentLine is a new property for defining the current
executed line. It replaces Editor[].Current.
* NEW: Editor[].Bookmark is a new boolean property that defines if a
specific line has a bookmark.
git-svn-id: svn://localhost/gambas/trunk@5044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Window.ScreenY does not take the menu bar into account anymore, as
in gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@5018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the component template script.
[GB.FORM]
* BUG: SidePanel controls now behave correctly when they are put inside a
TabStrip.
[GB.GMP]
* NEW: Skeleton for a new component based on the GNU "big numbers" GMP
library.
[GB.GTK]
* NEW: TabStrip.FindIndex() is a new method that returns the index of
parent tab of a specific child.
* BUG: Fix Control.Raise() and Control.Lower() method when the parent is a
TabStrip.
[GB.QT4]
* NEW: TabStrip.FindIndex() is a new method that returns the index of
parent tab of a specific child.
[GB.QT4.EXT]
* NEW: Editor: The current line is now visible when using a dark highlight
theme.
git-svn-id: svn://localhost/gambas/trunk@5016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The child search method now takes clientX and clientY into account.
Consequently, clicking on TabStrip tab buttons work correcty again.
git-svn-id: svn://localhost/gambas/trunk@4964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Panel with an explicit background color now have their own X11
window so that they can cover any over controls.
git-svn-id: svn://localhost/gambas/trunk@4963 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Drag & drop management when dragging outside of the application.
* BUG: Fix Drag & drop management of controls that already handle Drag and
drop, like Textbox controls.
git-svn-id: svn://localhost/gambas/trunk@4949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a new API to create an object without calling the constructors.
[GB.CRYPT]
* BUG: Fix bad casting of strcmp() return value to boolean. The same
security flaw has been found in MySQL recently. See
http://seclists.org/oss-sec/2012/q2/493
[GB.GTK]
* BUG: Fix bad casting of strcmp() return value to boolean in the Font
management.
[GB.GSL]
* NEW: Matrix class built the same way as the Vector class, i.e. with the
ability to switch transparently between Float or Complex elements.
git-svn-id: svn://localhost/gambas/trunk@4945 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When a top-level source directory actually several components,
compile the sub-components *after* the main components. This is
especially important with gb.xml and gb.xml.rpc.
git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not set the APPMENU_DISPLAY_BOTH environmental variable anymore.
It seems to work now.
[EXAMPLES]
* NEW: Fractal: increase the maximum number of iterations when the zoom
level is higher.
[GB.GTK]
* BUG: Control.Hovered now works the same way as in gb.qt4.
[GB.FORM]
* NEW: SidePanel handles have a fixed width now (6 pixels).
git-svn-id: svn://localhost/gambas/trunk@4849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Workaround GTK+ limitations and make containers clip their children
like in gb.qt4. Not perfect yet, as Enter and Leave events may not take
the clipping into account, and some GTK+ widgets like TextBox cannot be
clipped as they keep having their own X11 window.
* BUG: Splitter children coordinates are accurate now.
git-svn-id: svn://localhost/gambas/trunk@4845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ButtonBox use the new Style.BoxFrameWidth and Style.BoxFrameHeight
properties to draw itself.
[GB.GTK]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties
that replace Style.TextBoxFrameWidth.
* BUG: The DrawingArea draw event is raised before other internal drawing
events now, not after.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is
inside a specific control.
[GB.QT4]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties
that replace Style.TextBoxFrameWidth.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is
inside a specific control.
git-svn-id: svn://localhost/gambas/trunk@4836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Toolbar: You can add a space element between buttons now.
* NEW: Toolbar: New layout for the configuration dialog.
[GB.GTK]
* OPT: Optimize GTK+ widget -> gb.gtk control lookup everywhere.
* BUG: Fix drag & drop management again, so that it behaves as in gb.qt4 as
much as possible. At the moment, disable controls cannot be a drop
target, contrary to gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@4828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not disable toolbars when they are configured. Otherwise drag &
drop does not work with gb.gtk.
[GB.FORM.STOCK]
* NEW: Some icons updates.
* BUG: Add the 'earth' icon in the stock.
[GB.GTK]
* BUG: Fix drag & drop support.
* NEW: Draw.Tile() does not transform pixbufs into a pixmaps anymore.
git-svn-id: svn://localhost/gambas/trunk@4821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: If the project is read-only, the profile file is stored in the
process temporary directory in /tmp instead of the project directory.
* NEW: The name of profile files now follows this scheme: '.N.prof', where
'N' is an index incremented each time the project is run.
* BUG: Toolbars and popup-menus are correctly updated at first load form
text, source and form editors.
* BUG: Do not show or hide toolbars buttons outside of the toolbar
'Configure' event.
[INTERPRETER]
* NEW: The '-p' option now takes the profile file path as argument.
[GB.DEBUG]
* NEW: The profile file path can be specified on the command line.
[GB.FORM.MDI]
* NEW: Configured toolbars are drawn with a red frame.
[GB.GTK]
* BUG: Remove warnings displayed by the Control Raise() and Lower()
methods.
* BUG: Draw.Style methods now are correctly clipped.
git-svn-id: svn://localhost/gambas/trunk@4820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are
activated by the ENTER key.
[GB.QT4]
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are
activated by the ENTER key.
git-svn-id: svn://localhost/gambas/trunk@4818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Screen geometry and available geometry is now computed the same way
as in gb.qt4. In other words, it is screen based, and does not crash
with Xinerama anymore.
git-svn-id: svn://localhost/gambas/trunk@4808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.
git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Use Stream.Lines enumeration instead of LINE INPUT. It is a little bit
faster.
[COMPILER]
* BUG: Fix CASE LIKE syntax. Now all CASE LIKE arguments are compared with
the LIKE operator. Not just the first one.
[GB.FORM]
* NEW: FileChooser now can handle *.tgz archives.
* NEW: GridView: If the Grid property is FALSE, do not draw row and column
separators.
[GB.GTK]
* BUG: Fix cached drawing areas.
* BUG: Fix mouse event management for controls having scrollbars.
* BUG: Fix cursor management for DrawingArea.
git-svn-id: svn://localhost/gambas/trunk@4755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow to profile time spent waiting for events.
[GB.DEBUG]
* BUG: New profile file format that allows to profile lines of code that
are function calls.
[GB.GTK]
* NEW: Profile time spent waiting for events.
[GB.QT4]
* NEW: Profile time spent waiting for events.
git-svn-id: svn://localhost/gambas/trunk@4747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatically delete profile files not in used just before running
a project.
* BUG: Automatically close profile windows when another project is opened.
[GB.FORM]
* BUG: GridView.AutoResize property now works correctly.
* BUG: GridView: Automatic column widths now take the sorted indicator into
account.
[GB.GTK]
* BUG: Automatic pointer grab on mouse events now do not confuse TreeView
and ColumnView controls anymore.
git-svn-id: svn://localhost/gambas/trunk@4746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: History has been implemented in profiling windows.
[GB.GTK]
* NEW: Desktop.HasSystemTray is a new property that returns if a system
tray has been detected.
[GB.QT4]
* NEW: Desktop.HasSystemTray is a new property that returns if a system
tray has been detected.
* BUG: If there is no system tray, showing a TrayIcon now raises an error
instead of crashing.
git-svn-id: svn://localhost/gambas/trunk@4742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add some debugging options directly in the 'Debug' menu.
* NEW: A new option to activate the profiling of the debugged project.
* NEW: Profiling windows. Not finished yet.
[INTERPRETER]
* BUG: Fix a crash that could occur if a error is raised inside an event
handler.
* NEW: Support for profiling.
* BUG: Fix a crash that could occur if a error is raised inside a signal
callback.
[GB.DEBUG]
* NEW: Support for profiling.
[GB.FORM]
* NEW: GridView now raises a Sort event when the sort properties are
changed.
* BUG: Fix a crash when changing the IconPanel Count property.
[GB.GTK]
* BUG: Fix the Font.Copy() method.
git-svn-id: svn://localhost/gambas/trunk@4740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix ScreenX and ScreenY properties for Window controls.
* BUG: Consequently, windows with a menu bar work correctly again.
* NEW: MovieBox is not opaque anymore.
git-svn-id: svn://localhost/gambas/trunk@4738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Activate debugging messages in signal management routines.
[GB.GTK]
* NEW: Implement the _NET_MOVERESIZE_WINDOW way of moving windows.
* BUG: Window state (Minimized, Maximized and FullScreen properties) is now
accurately returned.
git-svn-id: svn://localhost/gambas/trunk@4735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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: 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
* NEW: That new switcher component chooses between gb.gtk.opengl and
gb.qt4.opengl according to the current desktop in use.
git-svn-id: svn://localhost/gambas/trunk@4719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.
[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.
[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
gtkglext library.
[GB.OPENGL]
* BUG: Initialize GLEW once.
[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.
[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some
systems. Wait for a better solution...
git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all
Makefile.am files.
[GB.XML]
* BUG: Remove debugging flags from compilation flags.
git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New MediaPlayer example based on the new gb.media GStreamer
component.
[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.
[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
to a GStreamer plugin implementing the 'X overlay' interface.
git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.
[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.
[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous
'main' hook, so that several hooks can be declared.
[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.
[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
interpreter API.
* NEW: Allows multiple 'main' hooks.
[GB.QT4]
* NEW: Allows multiple 'main' hooks.
git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Menu event is now correctly raised even if the MouseDown event
is cancelled.
git-svn-id: svn://localhost/gambas/trunk@4617 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: Do not try to change the background color of menus. It breaks GTK+
widget style like Ambiance.
[GB.WEB]
* BUG: Setting a Request value to NULL now works as expected.
git-svn-id: svn://localhost/gambas/trunk@4573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView: All mouse button press events now move the current cell.
[GB.GTK]
* BUG: Try to handle the Menu event the same way as in gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@4572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix extra files and extra dependencies tables in the packager.
[GB.GTK]
* BUG: Fix TabStrip management.
[GB.QT4]
* NEW: Do not display translation warning anymore when choosing the "C"
translation. Just uninstall the current translation (if any) silently.
git-svn-id: svn://localhost/gambas/trunk@4571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* NEW: New WebPage syntax for server-side comments: <%-- ... --%>.
[GB.FORM]
* BUG: Clicking inside a GridView now correctly gives it the focus.
* BUG: ButtonBox background is correctly drawn with gb.gtk.
[GB.GTK]
* BUG: Handle GTK+ events, but not Gambas posted routines when setting the
application busy cursor.
[GB.EVAL.HIGHLIGHT]
* NEW: Support for server-side comment syntax in WebPage highlight routine.
git-svn-id: svn://localhost/gambas/trunk@4568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Result.Update() now does not emit an incorrect request when the
result has not been modified. It just does nothing.
[GB.DB.FORM]
* BUG: DataBrowser: Clicking on the delete button does not delete two
records anymore.
* BUG: DataBrowser: Saving a new record now correctly takes into account
the currently edited field.
[GB.GTK]
* BUG: Remove some debugging messages.
git-svn-id: svn://localhost/gambas/trunk@4567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GTK+ callbacks must return a gboolean, not a bool. The C++ compiler
does not compile the same thing in both cases!
git-svn-id: svn://localhost/gambas/trunk@4565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Set the focus back to the editor after a paste operation.
* NEW: Less flickering when displaying project items.
[GB.FORM]
* NEW: GridView.Rows.Insert() and GridView.Rows.Remove() methods were
implemented.
[GB.GTK]
* NEW: Remove the old GridView source code.
[GB.QT4]
* NEW: Remove the old GridView source code.
git-svn-id: svn://localhost/gambas/trunk@4514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: If the DrawingArea Draw event handler raises an error, then the
interpreter should not crash anymore.
* BUG: Mouse events are now cancelable, like in gb.qt4, so that proxies cancelable
prevent their propagation.
git-svn-id: svn://localhost/gambas/trunk@4504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.
[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that
allow to define a callback that will be called if an exception is raised
during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
it is possible to use more stack than possible and to crash the
interpreter.
[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
"Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".
[GB.DB]
* BUG: Table.Type property now correctly handle null table types.
[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only
one problem to fix that depends on a gb.gtk bug.
[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
instead.
[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor
around the current cell when set.
[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the
interpreter should not crash anymore.
[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.
git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: The inner container of a UserContainer is now automatically its
proxy control.
git-svn-id: svn://localhost/gambas/trunk@4472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The TreeView/ListView/ColumnView Click event now should behave the
same way as in gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@4451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files. It
does not work on GTK+ at the moment. Is it a GTK+ bug?
[GB.QT4]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files.
git-svn-id: svn://localhost/gambas/trunk@4439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Fix some crash in database manager when removing fields or index.
* BUG: Fix position history.
* NEW: Add a history popup menu.
[INTERPRETER]
* NEW: The Html$() function now converts unicode non-breaking space (code
160) in a " " entity.
[GB.GTK]
* BUG: Now raise an error when using text-box methods on read-only
combo-boxes.
* NEW: GTK+ 2.16 is now required.
git-svn-id: svn://localhost/gambas/trunk@4415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Terminal emulation now does not automatically convert NL to CR+NL.
* BUG: Fix the declaration of custom array classes.
[GB.GTK]
* BUG: Stopping a file descriptor watch now correctly check if the event
loop must be exited.
git-svn-id: svn://localhost/gambas/trunk@4398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In Report forms, draw ReportImage and ReportSvgImage according to
their Stretch property.
* NEW: Use a TabPanel instead of a TabStrip to draw the Report form.
* NEW: Make the grid visible in all form families, and align it correctly
even in a Report form.
[WEB SITE MAKER]
* NEW: Remove text shadows.
[INTERPRETER]
* NEW: Define a minimum and maximum bytecode version that the interpreter
can handle.
[GB.FORM]
* NEW: TabPanel buttons take a bit less space.
git-svn-id: svn://localhost/gambas/trunk@4389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Changing the X or Y property of a form does nothing visually.
[GB.GTK]
* BUG: Setting a control to a null size now make the container arrange its
children.
git-svn-id: svn://localhost/gambas/trunk@4371 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Calling native methods on an anonymous reference now correctly casts
the return value to a Variant.
* BUG: Remove all Array class methods that break the inheritance rules.
[GB.GTK]
* BUG: Fix initial position of windows so that window manager constraints
are not overrided.
[GB.SETTINGS]
* BUG: Fix the use of Array class.
git-svn-id: svn://localhost/gambas/trunk@4361 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The DirView root picture is correctly initialized.
[GB.GTK]
* BUG: Really find a workaround for an oxygen-gtk bug^W feature on TreeView
controls.
git-svn-id: svn://localhost/gambas/trunk@4356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix property sheet error message position.
[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
way it draws nicely with gb.gtk, that does not have transparent controls
yet.
* BUG: Fix a crash when decreasing the Count property.
[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
the border of TreeView controls without being asked.
git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Really use "get version from file" option everywhere.
[GB.FORM]
* BUG: Make highlighted TabPanel more visible.
[GB.FORM.MDI]
* NEW: Add a Workspace.Border property to set if the Workspace has a border
or not.
[GB.GTK]
* BUG: Fix a GTK+ warning in Draw.Style.Arrow().
* BUG: Client properties now work correctly for containers that inherit
UserContainer.
[GB.QT4]
* BUG: Now changing Panel.Border correctly arranges the control.
git-svn-id: svn://localhost/gambas/trunk@4351 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the "get version from file" option everywhere.
[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
as soon as the program is compiled.
[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.
git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Cached DrawingArea Background color now works correctly.
[GB.GTK]
* BUG: Cached DrawingArea Background color now works correctly.
git-svn-id: svn://localhost/gambas/trunk@4339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Settings the width and height of a top-level window indepently now
works as expected.
git-svn-id: svn://localhost/gambas/trunk@4337 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Fix Printer paper and orientation management.
* BUG: Paint.Reset() now resets the matrix to its initial value, that is
not necessarily the identity when painting on a Printer!
git-svn-id: svn://localhost/gambas/trunk@4319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Printer.Print() when printing to a PS or SVG file.
* BUG: Paint text routines now use the printer specific Pango routines when
painting to a printer.
[GB.REPORT]
* BUG: Fix preview so that no useless scrollbar is displayed in "fit to
page" mode.
git-svn-id: svn://localhost/gambas/trunk@4313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Connection.Timeout is a new property that defines the connection
timeout in seconds. The value is 20 seconds by default.
git-svn-id: svn://localhost/gambas/trunk@4309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Printer.PaperWidth and Printer.PaperHeight now take the orientation
into account.
git-svn-id: svn://localhost/gambas/trunk@4291 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: Fix a warning in range control initialization (Slider, ScrollBar).
* BUG: Paint.Save() and Paint.Restore() now take the font settings into
account.
git-svn-id: svn://localhost/gambas/trunk@4275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly
selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now
correctly imports the class file.
[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.
[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
string are both one character length strings.
[COMPILER]
* NEW: The string escape character '\v' was added.
[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not
specified.
[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.
[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account
now.
[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
backup.
[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified
property.
git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned
value is a Variant, as now the interpreter does not do the conversion
automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
everywhere it is needed.
git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Popup menu is now disabled in MaskBox control.
[GB.GTK]
* BUG: Stop Event correctly cancels Menu events.
git-svn-id: svn://localhost/gambas/trunk@4245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix binary file detection.
* BUG: Fix control icon installation in components installed through an
autotools package.
[GB.DBUS]
* BUG: Fix signal catching managemnt.
* NEW: DBusSignal constructor takes a new optional argument that allows to
catch signals sent to any application.
[GB.GTK]
* BUG: Fix Key.BackTab constant.
git-svn-id: svn://localhost/gambas/trunk@4242 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
the new GB.ReturnVoidString() API instead.
git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the MoveLast() method in TreeView, ListView and ColumnView
controls.
* BUG: The ColumnView.Columns[].Width now returns the column width
correctly.
git-svn-id: svn://localhost/gambas/trunk@4207 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix many gcc 4.6.1 warnings.
* NEW: Update the depcomp sript with a more recent version.
[GB.DB.POSTGRESQL]
* BUG: Fix primary index retrieving for tables inside a schema.
git-svn-id: svn://localhost/gambas/trunk@4203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
properties that return the color used by tooltips.
[GB.QT4]
* NEW: Color.TooltipBackground and Color.TooltipForeground are two new
properties that return the color used by tooltips.
git-svn-id: svn://localhost/gambas/trunk@4189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf
RGB images rowstride is rounded up to a four bytes multiple. The gb.image
component does not support that yet!
[GB.IMAGE.IO]
* BUG: Always add an alpha channel to loaded images, because gdk-pixbuf
RGB images rowstride is rounded up to a four bytes multiple. The gb.image
component does not support that yet!
git-svn-id: svn://localhost/gambas/trunk@4176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use Key.Escape instead of Key.Esc. Key.Esc will be removed sooner
or later.
* NEW: In the form editor, a control being created now has its handles.
* NEW: The form editor selection frame is transparent now.
[EXAMPLE]
* BUG: Fix Puzzle1To8 example key handling.
[GB.FORM]
* NEW: Use Key.Escape instead of Key.Esc.
[GB.GTK]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.
[GB.QT4]
* NEW: Key.Code now returns zero when a modifier key is pressed. That way,
you can detect if we are pressing (or releasing) a modifier key.
* BUG: Form key event handlers catch key events before the control now.
git-svn-id: svn://localhost/gambas/trunk@4169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the shortcut editor dialog.
[GB.GTK]
* NEW: Setting the current GridView row to a valid value now automatically
set the current column to zero if there is no current column.
[GB.QT4]
* NEW: Setting the current GridView row to a valid value now automatically
set the current column to zero if there is no current column.
git-svn-id: svn://localhost/gambas/trunk@4139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* NEW: Some cosmetic changes in system information dialog and tips dialog.
git-svn-id: svn://localhost/gambas/trunk@4076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Fix PayPal link.
* BUG: Fix default font in style sheets.
[INTERPRETER]
* BUG: Now an inherited method checks that it has the same signature as the
parent method. This check is not done for a native class inherting
another native class. C/C++ programmers are supposed to know what they
are doing. :-)
[GB.DB.FORM]
* BUG: Rename all Refresh() methods as Update() in all controls, so that
the Refresh() method inherited from Control is not badly overridden.
* NEW: Change the way DataView chooses the height of a row.
[GB.GTK]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments
describing the sub-rectangle to refresh.
[GB.QT4]
* NEW: Control.Refresh() now takes no argument.
* NEW: DrawingArea.Refresh() keeps taking four optional arguments
describing the sub-rectangle to refresh.
git-svn-id: svn://localhost/gambas/trunk@4064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView.RowAt() and GridView.ColumnAt() now take the headers into
account.
git-svn-id: svn://localhost/gambas/trunk@4039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatic completion now displays hidden symbols if the class is
part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
anymore.
[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
easily extract the property name of the parent class from the virtual
class name. For example, ".ApplicationArgs" is now ".Application.Args".
git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The startup class icon is now just drawn with a dark outline.
* NEW: Error messages updated.
* NEW: French translation updated.
[INTERPRETER]
* NEW: Inheritance is stricter now: the child symbol must have exactly the
same kind than the parent symbol.
* BUG: A child method must return the same datatype as its parent method
now.
* NEW: Gambas 3 executable mime description file and icon have been renamed
so that they do not conflict with Gambas 2 files.
[GB.FORM]
* BUG: IconView.Find() has been renamed as IconView.FindAt(), to avoid the
conflict with the inherited UserControl.Find() method.
[GB.FORM.MDI]
* BUG: Workspace.Children has been renamed as Workspace.Windows, because
the Workspace.Children property was in conflict with the inherited
Container.Children property.
[GB.GTK]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
'FindAt' to match the IconView class.
[GB.IMAGE]
* NEW: Color.SetRGB() and Color.SetHSV() are two new methods that takes a
color as an integer, modifies one of its component, and returns it. They
are faster than using the ColorInfo class.
* NEW: Color.GetAlpha() returns the alpha component of a color from its
integer value.
[GB.QT4]
* NEW: ListView, TreeView and ColumnView Find() method has been renamed as
'FindAt' to match the IconView class.
git-svn-id: svn://localhost/gambas/trunk@4015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Pretty print" is now "Format code".
* NEW: New option tab the code formatter in the option dialog.
[GB.FORM]
* NEW: The IconPanel left panel now correctly resizes itself to fit its
contents.
[GB.GTK]
* NEW: Remove the Window.Type property and the WindowType class.
[GB.QT4]
* NEW: Remove the Window.Type property and the WindowType class.
git-svn-id: svn://localhost/gambas/trunk@3979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Compile again with GTK+ 2.x.
* BUG: Fix how popup windows are displayed.
git-svn-id: svn://localhost/gambas/trunk@3968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Starting a new search automatically resets the search list.
[EXAMPLES]
* NEW: New OpenGL examples from NeHe tutorials.
* BUG: Remove printing from BarCode example, it does not work anymore.
[GB.DB.FORM]
* NEW: Replace the DataComboMulti control by a DataComboView control. It is
not completely well tested, but it works better than its predecessor.
* NEW: Data controls icons were redesigned.
[GB.GTK]
* BUG: Fix two crashes in GridView control.
[GB.SDL]
* BUG: Key[x] works correctly with letter keys now.
git-svn-id: svn://localhost/gambas/trunk@3967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView.Columns[].Expand is a new property that allows to define if
a column automatically expands to fit the GridView visible width,
provided that the GridView.AutoResize property is set. If no column has
its Expand property set, then the last column will expand anyway.
* BUG: Fix a crash in GridView when the gb.gtk component shared library is
freed.
[GB.QT4]
* NEW: GridView.Columns[].Expand is a new property that allows to define if
a column automatically expands to fit the GridView visible width,
provided that the GridView.AutoResize property is set. If no column has
its Expand property set, then the last column will expand anyway.
git-svn-id: svn://localhost/gambas/trunk@3953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: Application.ShowTooltips really works now, and apparently it is not
desktop-wide, but application-wide as expected.
git-svn-id: svn://localhost/gambas/trunk@3910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new Application.ShowTooltips property.
[GB.GTK]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
visible or not.
[GB.QT4]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
visible or not.
git-svn-id: svn://localhost/gambas/trunk@3909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Begin to change the source to remove all the deprecated
function and remove all direct access to the object fiels and replace them
by an accessor function instead.
git-svn-id: svn://localhost/gambas/trunk@3881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix keyboard handling in editor procedure list.
[WEB SITE MAKER]
* NEW: Activate the Gambas 3 download button.
[WIKI CGI SCRIPT]
* NEW: Use a combo-box now for selecting the current version.
[GB.GTK]
* BUG: Remove some debugging stuff in the Printer class.
[GB.FORM]
* NEW: Add an "open in file manager" action in FileChooser and DirChooser
controls, when the gb.desktop component is loaded.
git-svn-id: svn://localhost/gambas/trunk@3856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components
accordingly.
git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollArea and IconView controls now take the Enabled property into
account.
[GB.GTK]
* BUG: gb.gtk compiles with older version of GTK+ again.
[GB.IMAGE]
* NEW: Color.Desaturate() is a new method that desaturates a color.
git-svn-id: svn://localhost/gambas/trunk@3837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new
properties that return the GridView contents size.
* BUG: Fix TextBox minimum height.
* BUG: Keyboard support of GridView is the same as in gb.qt4 now.
* BUG: Remove a warning message in GridView code.
[GB.QT4]
* BUG: Fix GridView ClientWidth and ClientHeight properties, so that they
return the GridView visible size.
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new
properties that return the GridView contents size.
git-svn-id: svn://localhost/gambas/trunk@3836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the initial scrolling position of the DataView control.
[GB.FORM]
* NEW: TableView behaviour takes into account the new way of getting the
GridView cell coordinates.
[GB.GTK]
* NEW: GridView ClientX and ClientY properties have been fixed.
* NEW: GridView cells X and Y properties now return the coordinates of the
cell relative to the full client area.
* BUG: The GridView row header width is correctly updated now.
[GB.QT4]
* NEW: GridView cells X and Y properties now return the coordinates of the
cell relative to the full client area.
git-svn-id: svn://localhost/gambas/trunk@3834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little fixes (icons mainly) in several examples.
[INTERPRETER]
* NEW: Two new interpreter APIs to set and get the value of an object
property.
[GB.DEBUG]
* BUG: Fix a warning message.
[GB.FORM]
* BUG: Setting FileView Foreground and Background properties now work as
expected.
* BUG: IconView takes its Background and Foreground properties into
account now.
[GB.GTK]
* NEW: Control Background and Foreground properties are now automatically
applied to the proxy.
[GB.QT4]
* NEW: Control Background and Foreground properties are now automatically
applied to the proxy.
git-svn-id: svn://localhost/gambas/trunk@3826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Text editor now tries to detect HTML files with no HTML extension.
* BUG: Closing the translation dialog when displaying a file having no
translated strings yet does not incorrectly remove the translation file
anymore.
[EXAMPLES]
* NEW: ReportExample has been redesigned. It got a combo-box to select
which database driver to use.
[GB.GTK]
* BUG: MouseWheel events can be cancelled now.
* BUG: Setting the ComboBox.List property of a read-only ComboBox now
automatically selects the first element as in gb.qt4.
[GB.REPORT]
* NEW: gb.report is translatable now.
* NEW: The preview window has been redesigned and enhanced.
[GB.QT4]
* BUG: MouseWheel events can be cancelled now.
[GB.QT4.EXT]
* NEW: In Editor, [Alt]+[Home] and [Alt]+[End] now moves to the previous or
next line having the same indentation. This is useful to search the
beginning or the end of a structure control, as soon as the code is
correctly indented of course!
* BUG: Setting Editor.Highlight property now correctly updates the Editor
margin.
git-svn-id: svn://localhost/gambas/trunk@3820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: SvgImage.Paint() now takes the current paint position and the size
of the SVG image into account.
git-svn-id: svn://localhost/gambas/trunk@3801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix editor message tooltip position.
* BUG: The Report brush dialog now uses the IDE color dialog to select a
gradient color.
[EXAMPLES]
* NEW: Add a level selector menu in the GNUBoxWorld example, and change the
look of some tiles.
[GB.GTK]
* NEW: SvgImage.Resize() is a new method to define the width and height of
the svg image in one shot.
[GB.QT4]
* NEW: SvgImage.Resize() is a new method to define the width and height of
the svg image in one shot.
git-svn-id: svn://localhost/gambas/trunk@3800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ensure that the popup is closed when destroying a combo-box.
Otherwise GTK+ becomes ill.
[GB.QT4.EXT]
* BUG: Don't fill global Editor pixmap cache with yellow color.
git-svn-id: svn://localhost/gambas/trunk@3788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A button to reset the search list.
* NEW: The Gambas 2 project converter now works inside a temporary
directory, and make a backup copy of the converted project.
* NEW: The Gambas 2 project converter now correctly handle:
- The changes in HSplit and VSplit Layout property.
- The container Padding and Spacing properties.
- The old ColorBox class.
- The Scaled property.
- OPEN instructions beginning with a TRY.
- Lines of code having UTF-8 character inside.
[WEBSITE MAKER]
* NEW: News came back.
* NEW: Some design changes.
[GB.GTK]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
raising an error and by ignoring it.
[GB.QT4]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
raising an error and by ignoring it.
[GB.QT4.EXT]
* NEW: Some little drawing fixes in Editor.
git-svn-id: svn://localhost/gambas/trunk@3778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.AntiAlias is a new property that defines if antialiasing is
used for drawing. It should be TRUE by default.
git-svn-id: svn://localhost/gambas/trunk@3754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting the font of a editable ComboBox now works as expected.
git-svn-id: svn://localhost/gambas/trunk@3752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting TextArea.Line to a negative value now moves the cursor to
the beginning of the text.
* BUG: Setting TextArea.Line to a too big value now moves the cursor to
the end of the text.
git-svn-id: svn://localhost/gambas/trunk@3751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.
[WEB SITE MAKER]
* NEW: Some website updates.
[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
the alpha channel.
[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
into account.
[GB.QT4]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
into account.
git-svn-id: svn://localhost/gambas/trunk@3703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not enter the event loop if there is no opened window and nothing
to watch.
git-svn-id: svn://localhost/gambas/trunk@3685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a
ListBox in multiple selection mode.
[GB.QT4]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a
ListBox in multiple selection mode.
* BUG: Setting ListBox.Index property works as expected in multiple
selection mode.
git-svn-id: svn://localhost/gambas/trunk@3659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting ListBox.Index to an invalid value now should work as
expected: if an item is selected, it is unselected.
git-svn-id: svn://localhost/gambas/trunk@3658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new GridView selection syntax.
[GB.GTK]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
anymore.
* NEW: Control.Screenshot() method has been removed.
[GB.QT4]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
anymore.
* NEW: Control.Screenshot() method has been removed.
git-svn-id: svn://localhost/gambas/trunk@3655 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
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
event handler now raises an error instead of displaying GTK+ warnings and
crashing.
[GB.QT4]
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
event handler now raises an error instead of displaying Qt warnings and
crashing.
git-svn-id: svn://localhost/gambas/trunk@3626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Paste and Delete are now correctly disabled in the form editor when
the form is read-only.
[EXAMPLE]
* NEW: New Printing example.
[GB.DRAW]
* NEW: Paint.RichTextExtents() now take an optional width argument.
* NEW: Paint.DrawText() and Paint.DrawRichText() are two new methods to
directly draw text without using an intermediate path. They make
generated PDF and Postscript files smaller.
[GB.FORM]
* BUG: Setting ScrollArea.Border property correctly refreshes it now.
* BUG: ScrollArea contents is correctly clipped now.
[GB.GTK]
* BUG: gb.gtk now requires 'gtk+-unix-print-2.0' pkg-config library.
* BUG: Dialog.Font works correctly now.
* BUG: Relative font sizes are correctly interpreted in rich text now.
* BUG: TextArea shortcuts correctly ensure that the cursor is visible.
* BUG: Paint.DrawImage() works correctly now.
git-svn-id: svn://localhost/gambas/trunk@3607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix TextArea.EnsureVisible();
* OPT: Some optimizations and clean-up in gtextarea.cpp.
git-svn-id: svn://localhost/gambas/trunk@3602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove some now useless code.
[GB.FORM]
* BUG: Close the balloon, do not hide it. That way, it won't prevent the
program from exiting the event loop.
[GB.GTK]
* BUG: Windows are correctly deleted at event loop exit.
git-svn-id: svn://localhost/gambas/trunk@3589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Blights example.
[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple
of eight pixels.
* NEW: Paint.DrawImage() has been implemented.
git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: DrawingArea.Clear() now does nothing when the DrawingArea is not
cached.
git-svn-id: svn://localhost/gambas/trunk@3583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The procedure under the mouse is correctly highlighted while
scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly
handled when the project is under subversion.
[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now
correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TextArea.Undo() and TextArea.Redo() have been implemented.
* NEW: Standard shortcuts in TextArea for copy, cut, paste, select all,
undo & redo actions.
git-svn-id: svn://localhost/gambas/trunk@3575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new IconPanel container to implement the option dialog.
[GB.DRAW]
* BUG: Paint.DrawImage() width and height arguments are now optional.
[GB.FORM]
* NEW: IconView has support for right-to-left written languages.
* BUG: Setting the picture of an IconView item now correctly updates the
IconView layout.
* NEW: IconPanel is a new multi-container based on an IconView.
git-svn-id: svn://localhost/gambas/trunk@3569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the Rect class in the gb.draw component.
[GB.GTK]
* NEW: Remove the Rect class.
* BUG: Draw.Tile() works now.
[GB.QT4]
* NEW: Remove the Rect class.
git-svn-id: svn://localhost/gambas/trunk@3567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Redesign the option dialog with an IconView.
[GB.GTK]
* BUG: Control.Grab() now works as expected.
* BUG: Desktop.Screenshot() does not crash anymore, and works correctly
when the screenshot is outside of the root window.
[GB.QT4]
* NEW: Remove the default item margin of ListView, TreeView and ColumnView.
git-svn-id: svn://localhost/gambas/trunk@3566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Key[] does not print GTK+ warning anymore when getting a null
string as argument.
* BUG: Mouse.Blank cursor works as expected now.
git-svn-id: svn://localhost/gambas/trunk@3547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
[GB.QT4]
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
git-svn-id: svn://localhost/gambas/trunk@3544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: IconView.Picture has been implemented.
* BUG: IconView in single mode behave correctly when setting the Selected
property of an individual item.
[GB.GTK]
* BUG: Start to fix Draw.Tile().
* BUG: Menu event propagation has been fixed.
git-svn-id: svn://localhost/gambas/trunk@3542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: CoordBox correctly returns decimal value in american format.
[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog
anymore.
* BUG: Printed font now have the correct size.
[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because
Paint.DrawText aligns according to Font.Height and not
Paint.TextExtents().
git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollArea draws its border correctly in all cases now.
* BUG: IconView will not get the focus all the time anymore.
[GB.GTK]
* BUG: ScrollView.ScrollHeight returns the correct value now.
git-svn-id: svn://localhost/gambas/trunk@3538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Port the OnScreenDisplay example to Gambas 3.
[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now
raises the Activate event.
[GB.GTK]
* BUG: Fix warnings when creating a Slider.
[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.
git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix inversion of column and row in many GridView properties and
methods. I hope all have been fixed!
git-svn-id: svn://localhost/gambas/trunk@3523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Menu events are propagated to the parent if they are not handled in
the child.
git-svn-id: svn://localhost/gambas/trunk@3520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* BUG: Fix ComboBox.Add() when the position argument is specified.
* BUG: Fix ListBox.Add() when the position argument is specified.
git-svn-id: svn://localhost/gambas/trunk@3504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* 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: 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