* BUG: Constructors that receive too many arguments now correctly raise an
error.
[GB.DRAW]
* BUG: Accessing a temporarily closed drawing device now raises an error
instead of crashing.
git-svn-id: svn://localhost/gambas/trunk@4496 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
* 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
* 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: Display cursor position inside editors, and not in the toolbar
anymore.
[GB.QT4]
* OPT: Do not trigger arrangement if setting the visibility of a control
has no effect.
[GB.QT4.EXT]
* NEW: Editor can display the cursor position inside itself.
git-svn-id: svn://localhost/gambas/trunk@3755 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
* NEW: Draw.FillRect() uses the FillColor color by default now, not the
Background color.
git-svn-id: svn://localhost/gambas/trunk@3748 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: 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: 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
* 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: CRect can be used as a function to create rectangles.
* NEW: Draw.ClipRect is a new property that returns or defines the clipping
rectangle. NULL means that the clipping is disabled.
* NEW: Paint.ClipRect is a new property that returns or defines the
clipping rectangle. NULL means that the clipping is disabled.
[GB.FORM]
* NEW: IconView uses the new ClipRect properties.
git-svn-id: svn://localhost/gambas/trunk@3568 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
* 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
* 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
* 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
* 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
* BUG: Fix the icon editor.
[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.
[INFORMER]
* BUG: Fix a file descriptor leak.
[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or
equal than 6.
[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
property with a string array.
[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image
object.
* NEW: Draw.Image() does not do a smooth transformation the image is
enlarged in both dimensions, and if the new size is a multiple of the old
size.
* OPT: DrawingArea with the default background color now does not repaint
its background before calling the Draw event.
[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().
git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Table existence should be checked correctly now.
[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image
easily.
[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is
taken into account when painting on a Printer object.
git-svn-id: svn://localhost/gambas/trunk@3347 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: A new option to use utility windows or normal windows for option
dialog, search window and help browser.
[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.
[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.
[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
git-svn-id: svn://localhost/gambas/trunk@3102 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
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.
[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a
string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.
[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is
currently drawn.
[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].
[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly
anymore.
git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components:
_IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.
[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.
[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.
[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.
[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.
[GB.QT4]
* NEW: The SvgImage class has been implemented.
git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Cosmetic changes again in the Painting example.
[GB.DRAW]
* NEW: Paint.RelLineTo() is implemented by using Paint.LineTo().
[GB.GTK]
* NEW: Remove the implementation of Paint.RelLineTo().
[GB.QT4]
* NEW: Remove the implementation of Paint.RelLineTo().
git-svn-id: svn://localhost/gambas/trunk@2555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New function Paint.RelLineTo to draw line to positions
relative to the current drawing position
[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
relative to the current drawing position
git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.
[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after
having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal
point, like in SVG standard.
[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.
[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.
git-svn-id: svn://localhost/gambas/trunk@2543 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
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment
argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.
[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.
git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a memory leak in Paint class transformation matrix management.
[GB.GTK]
* BUG: Paint.Image works correctly now.
* BUG: The PaintBrush matrix works the same way as in gb.qt4 now, i.e. it
is inverted compared with Cairo!
git-svn-id: svn://localhost/gambas/trunk@2538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Handle cyclic dependencies between components correctly.
[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.
[GB.GTK]
* NEW: Start implementing the Paint interface.
* 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@2537 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: Do not compile gb.qt.kde anymore.
[GB.DRAW]
* NEW: Work continues on the new Paint interface.
git-svn-id: svn://localhost/gambas/trunk@2521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the libtoolize "--install" flag in the reconf script, as it
breaks the "main" source sub-directory. We must add an option to this
script to handle that flag correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display errors raised at program startup.
[EXAMPLES]
* BUG: The Notepad example has been fixed.
[GB.DRAW]
* NEW: Work continue on the Paint class.
git-svn-id: svn://localhost/gambas/trunk@2514 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: The IDE now uses the WebKit component to display an online help
directly into the automatic completion popup. The online help management
is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the
information about a project. Not perfect yet.
[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and
"Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.
[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter
should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.
[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have
been removed.
[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is
no Read event handler.
[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory
used for storing the disk cache contents. If this property is not
defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
the disk cache. The WebSettings.Cache.Path *must* be defined before
setting that property.
* NEW: WebView.HTML is not read-only anymore.
git-svn-id: svn://localhost/gambas/trunk@2460 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
* BUG: Fix the Makefile.am files of /main/lib sub-directories.
[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your
component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field
in debugger windows while debugging.
[INTERPRETER]
* NEW: Support for local and global variable assignment.
[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global
variables now.
[GB.EVAL]
* NEW: Support for local and global variable assignment.
[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic
keyboard navigation.
(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.
git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start replacing INCLUDE directive by *_CFLAGS in Makefile.am files.
[GB.EVAL]
* BUG: Fix a warning.
git-svn-id: svn://localhost/gambas/trunk@2215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The gb.qte component has been removed.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for modules in project file deletion.
[INTERPRETER]
* BUG: Format$() now checks its second argument correctly when it is an
integer.
* BUG: Exported classes for components written in Gambas are now correctly
loaded when inheritance between them is used.
[GB.DRAW]
* BUG: Some properties of the Draw class didn't correctly check that a
drawing device was opened.
[GB.FORM.MDI]
* NEW: The Toolbar control now raises a Configure event when its
configuration has changed.
[GB.GTK]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.
* BUG: Correctly initialize the foreground and background colors at
Draw.Begin().
[GB.QT]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.
[GB.QTE]
* NEW: This component has been removed.
git-svn-id: svn://localhost/gambas/trunk@1939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Draw.Zoom() is back, and use the gb.image component interface.
[GB.IMAGE]
* NEW: A new function in the interface for retrieving the color of a pixel.
git-svn-id: svn://localhost/gambas/trunk@1815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Comment out line to enable compilation - work still to do on "Convert" !
* BUG: Fix memory allocation bug that was causing all the crashes ..
Turns out the conversion code was calculating the size of width * height * sizeof(uint)
and IMAGE_size was using width * height * (3 or 4 depending on image format)
which caused a lack of memory in the image conversion routines ...
git-svn-id: svn://localhost/gambas/trunk@1813 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: Draw project details in gray.
[INTERPRETER]
* BUG: Fix the management of standard input, standard output and standard
error streams.
[GB.DRAW]
* BUG: Draw.Begin() now correctly raises an error if the device is a static
class that is not drawable. This bug was fixed by using "Draw" for the
interface name of drawable objects and "StaticDraw" for the interface
name of drawable classes like Printer.
[GB.FORM]
* NEW: File dialogs now remember the last used directories in the directory
combo-box.
[GB.GTK]
* NEW: Font strikeout and underline are used when drawing Buttons.
[GB.QT.EXT]
* BUG: Uses "StaticDraw" to specify the drawing interface of the Printer
class.
git-svn-id: svn://localhost/gambas/trunk@1446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adds a popup menu to the console window.
[WIKI CGI SCRIPT]
* BUG: Display a message when accessing a symbol page that does not exist
in the current version.
[EXAMPLES]
* NEW: New Barcode example made by Charles Guerin and modified by me.
[INTERPRETER]
* NEW: New API for returning the fully-qualified domain name.
* BUG: Fix a bug in DateAdd() that made this function corrupt the next
date to string conversion, which then lead to other bad weird things.
[GB.DRAW]
* BUG: Fix Draw.Circle center that was shifted one pixel to the top left.
[GB.GTK]
* BUG: Window.Reparent() now works correctly when embedding or unembedding
a top-level window.
[GB.NET.SMTP]
* NEW: Do not use MIME parts when it is useless.
* BUG: Try to use the fully-qualified domain name when sending the EHLO
command to the SMTP server. That actually works only if the system domain
name has been set to the DNS domain name.
[GB.PCRE]
* BUG: Fix crashes due to bad uses of interpreter API.
[GB.QT]
* BUG: Fix the drawing of the frame of cached DrawingArea controls.
git-svn-id: svn://localhost/gambas/trunk@1404 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