* 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