* BUG: Imbrication of popup menu click events works correctly now and does
not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@6022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start GTK+3 support.
* BUG: Embedder.Embed() does not take two arguments.
git-svn-id: svn://localhost/gambas/trunk@6014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Chinese translations updated everywhere.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project
properties dialog.
[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.
[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its
size.
[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
left written.
[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
* BUG: The rtl layout is correctly initialized at startup.
[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their
layout if the current language is right-to-left written.
[GB.NET.POP3]
* BUG: Error messages must not be translatable.
[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: '&' shortcuts are automatically removed from the translatable
captions of the following controls: Menu, Button, CheckBox, RadioButton,
ToolButton, ToggleButton, DataCheckBox. The leading "..." are removed
too. Now, for example, "&About..." and "About" lead to the same
translated string. Consequently the number of translatable strings of the
IDE project is 7% lower.
* NEW: All translations were updated according to the previous change.
* NEW: Gambas fonts have been updated.
* BUG: The property help WebView now uses the same default font size (80%)
than the help window.
* NEW: A menu entry in the "Tools" menu allows to update all forms, so that
the previous features can be tested easily. Save your projects before!
* NEW: Translation imports now automatically extracts translations from
strings having "&" shortcuts inside and leading dots ("...").
[WIKI CGI SCRIPT]
* BUG: Handle the new "XML" component requirement.
[GB.FORM]
* NEW: TabPanel[] got a new RichText property, that allows to define the
title of a tab as rich text.
[GB.FORM.MDI]
* NEW: If a window embedded in a Workspace has a public RichText property,
it will be used instead of the normal Text property as window title. This
is some sort of dirty hack, so don't use it at the moment.
[GB.GTK]
* NEW: When a popup menu is shown, underscore shortcuts are automatically
assigned. This feature is a based on a new hidden property of the Menu
class named "_Text". So don't use this new property for your own needs!
[GB.GUI.AREA]
* NEW: The Shortcut class is a new class that allows to remove '&'
shortcuts from the translatable caption of the following controls: Menu,
Button, CheckBox, RadioButton, ToolButton, ToggleButton, DataCheckBox.
[GB.QT4]
* NEW: When a popup menu is shown, underscore shortcuts are automatically
assigned. This feature is a based on a new hidden property of the Menu
class named "_Text". So don't use this new property for your own needs!
git-svn-id: svn://localhost/gambas/trunk@5964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as
the gb.form.dialog component.
[GB.QT4]
* BUG: Dialog.SaveFile() now uses the Dialog.Path property the same way as
the gb.form.dialog component.
git-svn-id: svn://localhost/gambas/trunk@5893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Printer.Default is a new property that returns the name of the
default printer.
* NEW: Printer.List is a new property that returns the list of the names of
all available printers.
[GB.QT4]
* NEW: Printer.Default is a new property that returns the name of the
default printer.
* NEW: Printer.List is a new property that returns the list of the names of
all available printers.
git-svn-id: svn://localhost/gambas/trunk@5874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Enabled property behaviour by just renaming a method. There is
something weird I didn't understood. :-/
git-svn-id: svn://localhost/gambas/trunk@5847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Calling TrayIcon.Delete now correctly updates the internal number of
visible tray icons.
git-svn-id: svn://localhost/gambas/trunk@5840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.
[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of
models between six different ones.
[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not
ready.
[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
the Abs() function.
[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl
directory.
* NEW: The component interface has been redesigned.
[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the
area before calling the Draw event handler.
git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Utility method that defines shortcuts for a popup menu.
[GB.GTK]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.
[GB.QT4]
* NEW: Automatically define menu item shortcuts when a popup menu is shown.
git-svn-id: svn://localhost/gambas/trunk@5808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove some remaining GDK_KEY_* constant so that it compiles on old
GTK+ libraries.
git-svn-id: svn://localhost/gambas/trunk@5796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the deprecated GDK key constants, otherwise the component does
not compile with old GTK+ libraries.
git-svn-id: svn://localhost/gambas/trunk@5783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Tons of bug fixes. The current selection and the
current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.
[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used
without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
and returns the result.
[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a
bookmark.
[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.
[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.
[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.
git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New image editor, not yet finished. Use with care!
[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner
ScrollArea.
* NEW: ImageView has now two new methods to convert between image
coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be
visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the
image by using the mouse inside the view is possible.
[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the
actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
constants that are returned by Key.Code when the corresponding key is
pressed or released.
[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the
actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
constants that are returned by Key.Code when the corresponding key is
pressed or released.
git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update copyright year to 2013.
[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a
scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.
git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The system information dialog searches for more libraries.
[WIKI CGI SCRIPT]
* BUG: Correctly handle boolean constants.
[GB.DESKTOP]
* NEW: DesktopMime.GetIcon() now can stretch installed icons to the
requested size.
[GB.GTK]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
[GB.GUI.BASE]
* BUG: Fix IconView item text ellipsization routine.
[GB.QT4]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
* NEW: TrayIcon now supports ARGB visuals - i.e. icons are really
transparent now.
git-svn-id: svn://localhost/gambas/trunk@5747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the frame position when dragging a control from the toolbar on
a container.
* NEW: The project file properties dialog is now based on the new
FileProperties control.
[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
register cleanup routines that are called when an error is raised between
the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.
[INFORMER]
* BUG: The value of Float constants is now correctly dumped in *.info
files.
[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.
[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where
the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where
the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where
the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory
where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file
extension.
[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a
specific file or directory. It automatically computes the size of
directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its
layout.
* NEW: The stock icon map now can declare specific icons for specific
widget themes.
[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.
[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.
[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as
Editor.LineNumberOffset.
git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Drawing text alignment is taken into account when the width or
height is specified, not only when both are. Now, the drawing text
methods behave like in gb.qt4.
git-svn-id: svn://localhost/gambas/trunk@5708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove deprecated call to gb_type_init()
[GB.IMAGE.IO]
* BUG: Remove deprecated call to gb_type_init()
This call is deprecated since glib 2.36
git-svn-id: svn://localhost/gambas/trunk@5656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Compress all" and "Uncompress all" action on project sub-
directories.
* BUG: Do not crash when checking for completion in text editor.
[INTERPRETER]
* BUG: Void string contants work correctly now.
[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.
[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
account inside <style> and <script> markups.
[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.
[GB.FORM.STOCK]
* NEW: Default icons for some mime types.
[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size
anymore.
[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a
RichText property.
[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
current webpage with the <<...>> markup.
git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the naming of controls. The rule is the following: by default, a
control takes the name of its event handler prefix. If it has no such
prefix, it takes a unique name made from an incremental integer. But the
automatic instance of Form is named from its class name.
[GB.QT4]
* BUG: Fix the naming of controls. The rule is the following: by default, a
control takes the name of its event handler prefix. If it has no such
prefix, it takes a unique name made from an incremental integer. But the
automatic instance of Form is named from its class name.
git-svn-id: svn://localhost/gambas/trunk@5608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Draw.FillStyle has been implemented.
[GB.QT4]
* BUG: Paint.Image() works correctly with temporary images now.
git-svn-id: svn://localhost/gambas/trunk@5582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Window.Controls property does not return invalid controls
anymore.
[GB.QT4]
* BUG: The Window.Controls property does not return invalid controls
anymore.
git-svn-id: svn://localhost/gambas/trunk@5578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Scrollbar and Slider correctly raise their Change event when their
Value property is set manually.
git-svn-id: svn://localhost/gambas/trunk@5559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the
welcome screen text.
[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version
instead of 'X.YY.ZZZZ', which is actually useless.
[GB.COMPRESS]
* BUG: Remove useless code never compiled.
[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.
[GB.GSL]
* BUG: Remove useless code never compiled.
[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
the same image several times trigger a GdkPixbuf -> Cairo surface
conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
value has really changed.
[GB.NET]
* BUG: Remove useless code never compiled.
[GB.NET.CURL]
* BUG: Remove useless code never compiled.
[GB.NET.SMTP]
* BUG: Remove useless code never compiled.
[GB.V4L]
* BUG: Remove useless code never compiled.
git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove old GDK / X11 drawing code.
[GB.IMAGE]
* NEW: Image.Fuzzy() is a new blur method based on the 'StackBlur'
algorithm made by Mario Klingemann.
git-svn-id: svn://localhost/gambas/trunk@5487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash if Paint.End() is called whereas the paint device has
been destroyed.
git-svn-id: svn://localhost/gambas/trunk@5483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Check process stack pointer with a bigger margin so that we get
'Stack overflow' errors instead of segfaults.
[GB.GTK]
* BUG: Fix menu bar layout when the window is shown for the first time.
[GB.GUI.BASE]
* BUG: Don't set the background color of ScrollArea scrollbars.
[GB.QT4]
* NEW: Remove any useless reference to Q3ScrollView.
* OPT: Paint.ClipRect is now optimized when the clipping region is a single
rectangle.
git-svn-id: svn://localhost/gambas/trunk@5481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix history page.
[GB.GUI.BASE]
* OPT: ScrollArea scrollbars should not flicker anymore during a resizing
operation.
* BUG: Fix HSPlit and VSplit behaviour when the visibility of a child
changes.
* NEW: HSplit.Layout and VSplit.Layout now return the width of an hidden
child as zero.
[GB.QT4]
* OPT: Optimize clipping when the clipping area is a rectangle.
git-svn-id: svn://localhost/gambas/trunk@5480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix compilation on 32 bits systems.
[GB.FORM]
* NEW: DateChooser got a boolean Border property.
* NEW: ColorChooser got a boolean Border property.
[GB.GTK]
* BUG: Style drawing methods should be correctly clipped now.
* BUG: Compilation with older versions of librsvg should work now.
* BUG: Setting the Paint.Font property with a control font has no side
effects anymore.
* BUG: Drawing richt text and getting rich text size now wrap the text the
same way.
git-svn-id: svn://localhost/gambas/trunk@5474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pointer can be converted to String like Integer or Long.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the '~/.fonts.conf' file when installing the Gambas
font.
[GB.GTK]
* NEW: Remove HSplit and VSplit controls.
[GB.GUI.BASE]
* NEW: HSplit and VSplit controls are now implemented with Gambas.
* BUG: Fix scrollbar layout of ScrollArea and all its descendants.
[GB.QT4]
* NEW: Remove HSplit and VSplit controls.
git-svn-id: svn://localhost/gambas/trunk@5472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start making property toolbars in the form editor.
[GB.GTK]
* BUG: Fix some warnings with gcc 4.7.
[GB.GUI.BASE]
* NEW: Start writing a custom HSplit container in Gambas.
[GB.QT4]
* BUG: The Container NewChild event is now raised after the new child
control has been shown, like in gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@5471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A Separator whose width or height is one pixel, is now drawn with
its foreground color.
[GB.QT4]
* NEW: A Separator whose width or height is one pixel, is now drawn with
its foreground color.
git-svn-id: svn://localhost/gambas/trunk@5432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly close the path when drawing an arc or an ellipse.
[GB.GUI.BASE]
* BUG: Draw.Ellipse() now does not draw outiline artifacts anymore when
drawing an almost closed pie.
git-svn-id: svn://localhost/gambas/trunk@5431 867c0c6c-44f3-4631-809d-bfa615b0a4ec