* NEW: renamed _Max properties, added *Default properties, included 'Features' in main class
git-svn-id: svn://localhost/gambas/trunk@1834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Replace "Image provider" feature by "Image loading and saving"
feature in the project property dialog.
[INTERPRETER]
* NEW: Collection[""] does not raise a "void key" error anymore. It just
returns NULL.
* BUG: The Collection array accessor error management is not disturbed by
the debugger anymore. This fix a possible interpreter crash.
git-svn-id: svn://localhost/gambas/trunk@1832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Include kernel header (videodevice2.h) directly as some older kernels
seem to be out of date. This should be backwards compatible and not affect
older machines, and *should* allow the code to compile on older machines
without losing the desired tracking features.
git-svn-id: svn://localhost/gambas/trunk@1831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A badly named environmental variable does not freeze the IDE anymore.
[GB.DEBUG]
* NEW: Do not block anymore when opening the debug fifo for writing. Try a
few times during 0.1 second.
git-svn-id: svn://localhost/gambas/trunk@1826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not print included component information files.
[GB.CAIRO]
* NEW: The CairoMatrix class was completed.
* NEW: The CairoPattern class got its Matrix and Filter properties.
[GB.IMAGE]
* BUG: When a component takes ownership of an image, the image format is
correctly set now.
* NEW: Most of the Color class was moved to this component.
[GB.IMAGE.IO]
* BUG: Use the right RGBA image format when loading images.
[GB.V4L]
* BUG: Fix the *.component file.
git-svn-id: svn://localhost/gambas/trunk@1822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Transformation and matrix functions were implemented.
[GB.IMAGE]
* NEW: The format conversion function comes back in the gb.image API.
[GB.IMAGE.IO]
* NEW: New component for loading and saving images.
git-svn-id: svn://localhost/gambas/trunk@1820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Define the default image format when the gb.gtk component is used.
* BUG: Image.Load() does not crash anymore.
[GB.IMAGE]
* BUG: Sometimes the conversion between formats was not done. That was
fixed.
git-svn-id: svn://localhost/gambas/trunk@1819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New Cairo functions has been implemented. Transformation and text
functions are missing yet.
git-svn-id: svn://localhost/gambas/trunk@1818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for gb.cairo.
[GB.CAIRO]
* NEW: This component allows to use the Cairo library to draw on images.
Many functions are not implemented yet. Text and Font functions for
example.
git-svn-id: svn://localhost/gambas/trunk@1817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use a DrawingArea to display video frames in the MyWebCam example.
Use the VideoDevice.Image property too, as the Picture property has been
removed.
git-svn-id: svn://localhost/gambas/trunk@1816 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
* BUG: Fix image conversion process. But now Draw.Zoom only works with
gb.qt at the moment.
git-svn-id: svn://localhost/gambas/trunk@1812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Simplify the job of components that can take ownership of images.
git-svn-id: svn://localhost/gambas/trunk@1811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The third argument of Image constructor is now ignored if it is -1,
so that the old syntax does not create an image with premultiplied alpha.
git-svn-id: svn://localhost/gambas/trunk@1809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Compiles qt4 directory recursively.
[GB.QT]
* NEW: The default image format of gb.qt is BGRA.
[GB.QT4]
* BUG: Fix GridView last column automatic stretching.
* NEW: The default image format of gb.qt4 is BGRA.
git-svn-id: svn://localhost/gambas/trunk@1807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the welcome dialog as the Image constructor has changed.
[WIKI CGI SCRIPT]
* NEW: New look for the path and language header.
[INFORMER]
* NEW: The components are analyzed in alphabetical order now.
* NEW: A component can include more than one other component information
file.
[GB.IMAGE]
* BUG: Fix two memory leaks.
* NEW: A component can define a default format for new images. This avoid
unnecessary format conversions. The "default default format" is RGBA.
* BUG: RGBx formats are correctly supported by image methods.
[GB.QT]
* BUG: Fix GridView last column automatic stretching.
git-svn-id: svn://localhost/gambas/trunk@1806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Initial support for V4L2 devices using the V4L2 interface
* NEW: Support for devices with YUYV and YUV420[p] outputs
* BUG: V4L2 streams not yet implemented
* BUG: V4L2 tuner not yet implemented
* OPT: V4L driver auto-selects V1/V2 depending on device capabilities
Version 2 will be used if possible, but V1 can be forced in VideoDevice()
git-svn-id: svn://localhost/gambas/trunk@1805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the Image.MakeTransparent() method in gb.image.
* NEW: Compiles the image.c source file with full optimization.
git-svn-id: svn://localhost/gambas/trunk@1804 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: Initialize the new BeforeArrange container callback correctly, so
that the component does not crash anymore.
* BUG: Correctly declare the new BeforeArrange event.
[GB.QT]
* BUG: Fix the arrangement algorithm, so that it does not keep containers
locked when they have no child to arrange.
git-svn-id: svn://localhost/gambas/trunk@1800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Signature and automatic completion are visible again. Moreover,
they are not hidden anymore when the editor is resized, but this may
change in the future.
[GB.FORM]
* BUG: The DatePicker works again.
[GB.FORM.MDI]
* BUG: The Enabled state of toolbar buttons is preserved now when
configuring the toolbar.
[GB.GTK]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
[GB.QT]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
[GB.QT4]
* NEW: Container have now a BeforeArrange event, that is raised just before
the container is arranged ; the Arrange event being raised just after.
git-svn-id: svn://localhost/gambas/trunk@1799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The new gb.image component is now located in the main sub-package.
Here are the first files, but they do nothing at the moment.
git-svn-id: svn://localhost/gambas/trunk@1798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove the gb.image.info component.
* NEW: Start removing the gb.image component.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor and text editor now arrange their contents correctly
when the toolbar size changes.
* BUG: The picture of a form action is the Icon property, not the Picture
property.
[INTERPRETER]
* BUG: The _compare special method now is not called anymore if one of the
compared object references is null.
[GB.GTK]
* NEW: Control.Drag() and Drag() now return the drop destination.
[GB.FORM.MDI]
* NEW: The toolbar icon size can be changed.
* BUG: Actions that exist on different forms are correctly loaded.
* NEW: The cursor keys can be used now in the shortcut configuration dialog
to move the gridview current row. Consequently, you cannot use them as
shortcuts.
[GB.NET]
* BUG: Serial port devices are now watched for reading, not for writing. So
the callback will not be called permanently.
[GB.QT]
* NEW: The Arrange event is now raised just before a container is arranged,
not after. Moreover, it cannot called recursively anymore.
[GB.QT4]
* NEW: Control.Drag() and Drag() now return the drop destination.
* NEW: Container.Children.Clear() is a new method that destroys all
children of a container.
* NEW: Utility windows now use their initial size as minimum size.
* BUG: Do not loop indefinitely when arranging the contents of a
ScrollView.
git-svn-id: svn://localhost/gambas/trunk@1797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add the HttpClient.Encoding property, corresponding to the
CURL_ENCODING libcurl option.
git-svn-id: svn://localhost/gambas/trunk@1795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Apparently Drag & Drop must be cancelled both in the Drag and
DragMove event.
[GB.FORM.MDI]
* BUG: Finally found a workaround for the crash in qt drag & drop
management.
* BUG: The toolbar configuration dialog can be safely kept open when the
application is closed. It will close cleanly.
[GB.QT]
* BUG: Remove the Enabled flag management in the Reparent() method. It is
actually useless. When reparenting inside a disabled container, you must
enable the container before the reparenting, and disable it back just
after.
git-svn-id: svn://localhost/gambas/trunk@1792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update toolbars contents according to the toolbar configuration
dialog needs.
* NEW: Toolbar contents and default configuration are generated by the IDE
and store in the files located in the .action directory.
[GB.FORM.MDI]
* NEW: The toolbar configuration dialog is almost completely finished.
There is a big bug yet, a crash in Qt coming from a "locking assertion
failure" in the libxcb library. No workaround or fix was found at the
moment.
[GB.QT]
* BUG: Control.Reparent() correctly restores the Enabled state of the
control.
* NEW: Container.Children.Clear() is a new method that destroys all
children of a container.
git-svn-id: svn://localhost/gambas/trunk@1791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Pasting more than one control works again.
* BUG: Save actions associated with any control now.
[INTERPRETER]
* BUG: Do not try to raise an event if the source control is invalid.
[GB.FORM]
* NEW: Stock.GetSize() is a new method that returns the pixel size of an
icon given its string size: "small", "medium", "big", and so on...
* BUG: Workaround the ballon corner drawing bugs.
[GB.FORM.MDI]
* NEW: The toolbar configuration dialog is finished. But that only works
at the moment if you do not show/hide toolbar buttons explicitely.
[GB.QT]
* NEW: The drag & drop frame is now one pixel wide.
* NEW: Drag() and Control.Drag() now returns where the control was dropped,
or NULL if the drag & drop was cancelled or the drop destination a
foreign widget.
* BUG: The arrangement algorithm enumerates correctly container children
now.
* BUG: Do not loop indefinitely when arranging the contents of a
ScrollView.
* NEW: Add the Action property to TextBox, ComboBox, SpinBox, ProgressBar
and Slider controls. You may want to put them in a Toolbar.
git-svn-id: svn://localhost/gambas/trunk@1790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix option dialog now that [...] can return specialized arrays.
* BUG: Fix the list of control properties that must not be applied in the
form editor.
* NEW: Automatically converts Window.Toolbar constant to Window.Utility.
* NEW: Setting the form Type property to Utility has a visible effect now.
* BUG: The find balloon message is always displayed in the accurate field
now.
[GB.GTK]
* BUG: Fix the initialization of editable combo-box when its List property
is set.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.
[GB.FORM]
* NEW: Draw SidePanel little arrows in a more clever way.
* BUG: Font grades are selectable again in the FontChooser control.
[GB.FORM.MDI]
* NEW: Toolbars have a configuration dialog now. This configuration dialog
is displayed when you click on the toolbar handle. Beware, this is not
finished!
* NEW: Toolbar.Key is a new text property for identifying the toolbar. All
toolbars having the same key will share the same configuration.
* NEW: Toolbar.Text is a new text property that gives a visual name to the
toolbar.
[GB.QT]
* BUG: Setting Control.Next or Control.Previous now forces the parent
container to re-arrange itself.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.
* NEW: ToolButton.AutoResize is a new property that makes the toolbutton
automatically expand horizontally to fit its contents.
* NEW: Button and ToggleButton got the same AutoResize property.
* NEW: Remove the DrawingArea.BackColor property.
[GB.QT4]
* BUG: Setting Control.Next or Control.Previous now forces the parent
container to re-arrange itself.
* NEW: Remove the DrawingArea.BackColor property.
* NEW: The Window.Toolbar constant were replaced by Window.Utility.
git-svn-id: svn://localhost/gambas/trunk@1789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: [...] now returns an object array if its two arguments are objects
from different classes.
git-svn-id: svn://localhost/gambas/trunk@1788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The [...] syntax can create specialized arrays. For example,
"[[1,2],[3,4]]" now returns an Integer[][] object.
* NEW: The internal CLASS structure has been reorganized.
git-svn-id: svn://localhost/gambas/trunk@1787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Really converts the argument to a string in Html$(), Quote$(),
Shell$() and Unquote$().
git-svn-id: svn://localhost/gambas/trunk@1786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Actions lists are now written directly in *.form files. The
compiler will copy them into *.action files in the '.action' project
directory.
[WIKI CGI SCRIPT]
* NEW: The "?view" argument in URLs is now kept through links.
[INTERPRETER]
* BUG: Paths beginning with "../" now work correctly with executables.
* BUG: Fix a crash when using Dir() on relative paths.
[COMPILER]
* NEW: Now the compiler automatically generates *.action files from the
*.form file contents.
[GB.FORM.MDI]
* BUG: Support for the new action file format in the action configuration
dialog.
* BUG: Bad shortcuts are correctly handle in the action configuration
dialog now.
git-svn-id: svn://localhost/gambas/trunk@1782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Really fix the translation string quoting in *.po files.
* NEW: Translation strings are now sorted by source file in *.po files.
git-svn-id: svn://localhost/gambas/trunk@1781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raising an error with an incorrect message does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: A warning is displayed now when a component project has no exported
class.
* BUG: Instead of displaying an error, an unreadable *.component file now
just displays a warning.
* NEW: In the project property dialog, split the component list between
standard components and user components.
* BUG: Quote correctly strings again in *.po generated files. Translations
are not corrupted anymore!
[GB.FORM]
* NEW: Label and Separator children are not selectable anymore in the
ListContainer control.
[GB.QT4]
* BUG: ScrollView scrollbars are came back.
git-svn-id: svn://localhost/gambas/trunk@1780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Activate the compilation of the gb.qt4 directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Actions that are not associated with a Menu will not be shown
anymore in the Action configuration dialog.
[GB.QT]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
[GB.GTK]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
[GB.QT4]
* NEW: Spacing is now a container Boolean property. If it is set, the
container children are separated by Desktop.Scale pixels.
* NEW: A new container Boolean property, Margin. Setting this property is
the same as setting Padding to Desktop.Scale. If both Margin and Padding
are set, their effect add up.
git-svn-id: svn://localhost/gambas/trunk@1777 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: Add the "share" directory as a symbolic link to the original in
gb.qt.
git-svn-id: svn://localhost/gambas/trunk@1773 867c0c6c-44f3-4631-809d-bfa615b0a4ec