* NEW: FontChooser.ShowRelative is a new property that set if relative
sizes are allowed or not. They are allowed by default.
[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will
show fixed fonts only.
[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.
git-svn-id: svn://localhost/gambas/trunk@6528 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: 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: Image.DrawImage() and Image.PaintImage() now takes a destination
width and height arguments. But using them to stretch the source image is
not supported. Only gb.image.imlib, gb.gtk and gb.qt4 implement that
feature.
git-svn-id: svn://localhost/gambas/trunk@3822 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: '\0' is a new string escape character for Chr$(0).
[GB.DRAW]
* NEW: Several Draw.Begin() and/or Paint.Begin() on the same device can be
safely imbricated.
[GB.EVAL]
* NEW: '\0' is a new string escape character for Chr$(0).
[GB.FORM]
* NEW: ButtonBox.Alignment is a new property to define the alignment of its
internal TextBox.
* NEW: New syntaxes for the MaskBox mask:
- '<' just after a mask character and just before a separator means that
the text before will be right-aligned.
- '!' marks the default cursor position when the MaskBox gets the focus.
git-svn-id: svn://localhost/gambas/trunk@3450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MenuButton has been redesigned to use a DrawingArea only.
[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container
children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the
focus, and Draw.Hover for widgets flied over by the mouse.
git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A menu button in the project property dialog to quickly insert
the "GB_GUI" environmental variable.
[GB.FORM]
* NEW: Enhancements in ButtonBox and MenuButton controls.
* NEW: MenuButton.Border is a new property to set if the MenuButton has a
border or not.
* NEW: If the MenuButto has no menu, it will raise its Click event if its
arrow button is clicked.
[GB.GTK]
* NEW: ToolButton are "transparent" now.
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
[GB.QT4]
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
git-svn-id: svn://localhost/gambas/trunk@3093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Paint.RichText() has been removed.
[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.
[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in
gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not apply the new DrawingArea.Painted property.
[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
rudimentary at the moment.
[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface
must be used inside the Draw event, instead of the old Draw interface.
git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Architecture detection.
* NEW: Updated libtool macros.
[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.
[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.
[GB.DRAW]
* NEW: Start implementing the new Paint interface.
[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.
git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New control property type "Menu", for properties that receive a
popup menu name.
* NEW: New paste button with a menu in the code editor.
[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
and a popup menu attached.
[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.
[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as
their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.
[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done
when the widget is visible, which is not pretty.
git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Requesting a component interface automatically loads the component
now.
* NEW: The Image and Picture functions in the interpreter API were removed.
[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
This function replaces the removed Picture interpreter API.
[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements
the Image class, can create images of many formats (RGB, RGBA, BGRA...)
and convert image data between different formats. This component replaces
the previous interpreter Image API. All components were ported to this
new image management system by loading this component automatically.
Beware that the Image constructor has changed! The transparent property
has been removed, and there is an optional color argument that is used
for initializing the image data. Moreover, many classes (Webcam,
PdfDocument...) that have an Image property lost their Picture property.
Now to get a Picture, you must use the Image property and then convert
the Image to a Picture.
[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it
must be declared early, at least earlier than the Picture class.
git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The informer algorithm was redesigned. Now a sub-process is
launched for each component that should be analyzed, and LD_PRELOAD is
used to load the component shared library before the process is launched.
Otherwise, some component may crash.
[GB.DRAW]
* BUG: Correctly initialize color properties of the Draw class at
Draw.Begin().
* NEW: Draw.FillRect() is a new method to draw a filled rectangle with the
specified color.
* NEW: Draw.Clear() is a new method that clears the drawing device with its
background color.
[GB.FORM.MDI]
* NEW: Do not use BackColor and ForeColor properties anymore.
[GB.GTK]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* BUG: Desktop.Resolution now uses the accurate GTK+ API.
* BUG: Setting the ListBox.List to NULL property does not lock the ListBox
control anymore.
* BUG: Fix the Font object management. Using Font properties should not
crash anymore.
* BUG: Image.Save() and Picture.Save() now understand the "~" shortcut in
path names.
[GB.QT]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: Do not check if we should quit too often.
* NEW: Allow windows to be closed during a WAIT instruction as in other
components. I do not know why it was forbidden before.
* NEW: Prevent a crash in arrangement routines if a child widget is not
associated with a Gambas control anymore.
[GB.QT4]
* NEW: Control.Backcolor and Control.Forecolor properties were removed.
* NEW: The source code is now up to date with gb.qt. But many things do not
work as expected!
[GB.QT4.EXT]
* NEW: The source code is now up to date with gb.qt.ext. But many things do
not work as expected!
git-svn-id: svn://localhost/gambas/trunk@1776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: You can open a terminal in the project directory now.
* NEW: The IDE now marks projects as Gambas 3 projects.
* NEW: Port Gambas2 fixes.
(INTERPRETER]
* NEW: New API for returning the type of a Gambas array.
[GB.DESKTOP]
* NEW: New internal methods for reading or writing a windows property, and
for sending a client message to the root window.
* NEW: Desktop.Find() has been renamed to Desktop.FindWindow().
* NEW: Desktop.OpenTerminal() opens a terminal on a specified directory
according to the current desktop in use.
[GB.QT]
* BUG: Window id are really integers, not pointers.
[GB.GTK]
* BUG: Window id are really integers, not pointers.
git-svn-id: svn://localhost/gambas/trunk@1276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new API that returns if the current language is right-to-left
written.
[GB.DRAW]
* NEW: New Draw.Style.* style drawing methods for drawing arrows,
check-boxes, option buttons, separators, focus rectangles, push buttons,
panels, and splitter handles.
* NEW: Draw.Save() and Draw.Restore() are two new methods that save and
restore the state of the current drawing properties.
[GB.GTK]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().
[GB.QT]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().
git-svn-id: svn://localhost/gambas/trunk@1191 867c0c6c-44f3-4631-809d-bfa615b0a4ec