* 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
* NEW: Remove the "share" directory, to replace it by a symbolic link.
git-svn-id: svn://localhost/gambas/trunk@1772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Try to add some options to the 'msgmerge' command to workaround a
bug in that command, but it was not successful!
[GB.FORM.MDI]
* NEW: Add a "Reset" button in the action configuration dialog to reset
the shortcuts to their default values.
* BUG: Do not set an action shortcut if the shortcut did not change in the
action configuration dialog.
* BUG: Automatically save the current edited shortcut when the action
configuration dialog is closed.
[GB.QT]
* BUG: Setting the Menu.Shortcut property to NULL now correctly removes the
menu shortcut.
[GB.QT.EXT]
* BUG: The Editor.Print() method now can handle strings having null
characters inside.
git-svn-id: svn://localhost/gambas/trunk@1767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TableView.EditWith() is a new method that allows to edit a cell
with a control defined byt the caller. The TableView just shows, hides
and moves the external editor. This external editor must have a Text
property, otherwise an error is raised.
[GB.FORM.MDI]
* NEW: Action configuration dialog now edit shortcuts directly inside the
TableView.
* NEW: A button for finding a shortcut in the action configuration dialog.
* BUG: Fix the Workspace class properties declaration.
[GB.QT]
* BUG: Fix the cell drawing algorithm in GridView.
git-svn-id: svn://localhost/gambas/trunk@1765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Bytecode version has been incremented again. All projects must be
recompiled!
[INTERPRETER]
* NEW: The Quote and UnQuote class were removed, and replaced by three new
functions: Quote$(), Shell$() and Unquote$().
* NEW: Html$() is a new function that does HTML quoting.
[GB.QT]
* NEW: The space between a gridview cell picture and its text is now
defined by the padding property.
[GB.WEB]
* NEW: The HTML class has been removed. Use the new Html$() subroutine
instead.
git-svn-id: svn://localhost/gambas/trunk@1763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Renaming a directory inside a DirView does not crash anymore if the
renaming operation is impossible.
* NEW: Directory and file names with a slash inside are now forbidden in
DirView.
[GB.XML.XSLT]
* BUG: The XSLT.Tranform() method works again.
git-svn-id: svn://localhost/gambas/trunk@1762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: If loading a class has failed, do not try to load it twice. Raise
an error instead.
git-svn-id: svn://localhost/gambas/trunk@1760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Bytecode version has been incremented. All projects must be
recompiled!
[DEVELOPMENT ENVIRONMENT]
* BUG: Rewrite code that used badly overridden symbols.
[INTERPRETER]
* BUG: Check that the overridding symbol is compatible with the overridden
one. For example, a static method can be overridden by a static method
only, a constant can be overriden by a static property, and so on.
* NEW: A new error message for badly overridden symbols.
* NEW: Tr$() is a new function that translates its argument and returns it.
[GB.GTK]
* BUG: Rewrite code that used badly overridden symbols. Affected classes
are: Window, TabStrip,
[GB.FORM.MDI]
* BUG: Translate action descriptions in the action configuration dialog.
* NEW: Sort actions by description in the action configuration dialog.
* NEW: Automatically remember action configuration dialog size.
* BUG: Fix authorized shortcuts in the shortcut edit dialog.
* BUG: Rewrite code that used badly overridden symbols. Workspace is the
only affected class.
[GB.SETTINGS]
* NEW: LoadWindow() and SaveWindow() are two new public methods to load
and save window position by specifying the settings key.
[GB.QT]
* BUG: Rewrite code that used badly overridden symbols. Affected classes
are: Window, TabStrip,
git-svn-id: svn://localhost/gambas/trunk@1759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start assigning actions to everything.
* NEW: Action shortcuts can be configured.
* NEW: Project actions are automatically saved in the .action directory.
* BUG: Signature of native arrays is correct now.
[INTERPRETER]
* BUG: GB_LoadFile() does not leak file descriptors anymore.
* NEW: Relative paths starting with "../" allows to open files located in
the main archive from a component.
[ARCHIVER]
* NEW: Store the ".action" directory in the archive.
[GB.DB]
* BUG: Correctly check that table name are not void in Create(), Find(),
Edit() and Delete() methods.
[GB.FORM]
* NEW: A new stock icon named "shortcut". Mmm... Should be named
"keyboard".
[GB.FORM.MDI]
* NEW: Support for automatic configuration of action shortcuts.
* NEW: Action.Configure() is a new method that opens a dialog for
configuring shortcuts. Shortcut configuration is stored in the
application setting files, under the '[gb.form.mdi/Shortcuts]' slot.
[GB.QT]
* NEW: Action[].Shortcut is a new property for setting or getting the
shortcut of an action.
* BUG: Correctly opens startup forms again.
git-svn-id: svn://localhost/gambas/trunk@1758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the configuration of gb.image.info.
[INTERPRETER]
* NEW: The GB.LoadFile() and GB.ReleaseFile() API have changed. Now they
always use memory mapping instead of loading the file in memory.
[GB.IMAGE.INFO]
* BUG: Now ImageStat() works with the "~" shortcut in path names.
git-svn-id: svn://localhost/gambas/trunk@1748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Upgrade libtool autoconf macros and libltdl sources to the 1.5.26
version.
[DEVELOPMENT ENVIRONMENT]
* BUG: Control and window dimensions can go up to 4096x4096 pixels.
* BUG: When unchecking GUI components in a project, the edited forms are
automatically closed.
* BUG: Do not use the form icon on form class editors when refreshing the
project.
* BUG: In the icon editor, filling with a transparent color won't enter an
infinite loop anymore.
* BUG: Selecting the "Collection" word while debugging does not crash the
IDE anymore.
* NEW: Pressing Escape now closes a debugging window.
* BUG: The 'Minimize on run' option works correctly now.
[INTERPRETER]
* BUG: SUPER now works inside overriden static methods.
[GB.DB.ODBC]
* BUG: Handle ODBC drivers that can return the number of records in a
query better.
[GB.DEBUG]
* BUG: If there is an I/O error between a debugged process and the IDE, the
process is aborted.
* BUG: Evaluating a class name returns better information now.
[GB.EVAL]
* BUG: Highlight.Analyze correctly handle code lines having non ASCII
characters inside.
[GB.FORM]
* BUG: The Balloon does not take the focus anymore.
[GB.FORM.MDI]
* NEW: Starting to enhance the Action class to provide shortcuts and
toolbar configuration dialog. Does nothing at the moment!
[GB.GTK]
* BUG: Fix a leak in font objects management.
* BUG: Picture.Load() yet loads an image, but internally converts it to
a pixmap. It speeds up following draws based on this picture.
* BUG: Startup forms hidden at design time are not shown automatically
anymore.
* NEW: The Action class is now shared with gb.qt by using a symbolic link.
[GB.IMAGE.INFO]
* NEW: New component to get information about an image file without having
to fully load it.
[GB.QT]
* BUG: Disable automatic extra indent of Labels.
* BUG: Startup forms hidden at design time are not shown automatically
anymore.
* BUG: Don't allow widgets to be destroyed while processing non-input
events.
git-svn-id: svn://localhost/gambas/trunk@1747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
*NEW: Now YAxes have MinValue, MaxValue, Step that can be set. A new
Property 'Autoscale' allow to set the scaling automatic or not.
*NEW: New type of chart 'Plots'.
The Bar chart is broken but i will take care of that.
Many other little things have been done, you must play with the
included chart demo sample to see all the possibilities.
git-svn-id: svn://localhost/gambas/trunk@1738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new Property on XAxe class that allow to arrage labels
One on Two Chart.XAxe.Arrange = Chart.XAxe.Steps
And also internal redraw of some classes.
git-svn-id: svn://localhost/gambas/trunk@1737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Searching backward inside a subroutine should not freeze anymore.
[GB.GTK]
* BUG: TrayIcons do not raise events anymore if a modal dialog is shown.
* BUG: If no toplevel menu is visible, then the window menubar is hidden.
* BUG: As in gb.gt, toplevel menus with no text (separators) are hidden.
* BUG: The TrayIcons _next and _get special methods do not crash anymore.
* BUG: Buttons color properties now should work as expected.
git-svn-id: svn://localhost/gambas/trunk@1726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A domain name '(none)' is ignored when forging the FQDN for
components that need it, like gb.net.smtp.
git-svn-id: svn://localhost/gambas/trunk@1721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: DatePicker does not open the calendar popup anymore when it is
disabled.
[GB.XML.XSLT]
* BUG: The XSLT component works again.
git-svn-id: svn://localhost/gambas/trunk@1719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The interpreter does not crash anymore when adding an integer
constant to a string.
git-svn-id: svn://localhost/gambas/trunk@1716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Adds a <p> markup automatically after symbol syntax boxes.
[INTERPRETER]
* BUG: Fix currency formats.
[GB.FORM]
* BUG: Fix a display glitch in the list of relative sizes in the font
dialog.
[GB.QT]
* BUG: Releases the internal font object when setting NULL to the font
property of a control.
git-svn-id: svn://localhost/gambas/trunk@1713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly handle interrupted system calls in streams defined
outside of the interpreter.
[GB.QT.EXT]
* BUG: Handle cursor moves correctly when procedures are folded.
git-svn-id: svn://localhost/gambas/trunk@1711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Window.Menus.Hide, Window.Menus.Show and Window.Menus.Visible are
two methods and one property for showing and hiding the menu bar of the
window.
git-svn-id: svn://localhost/gambas/trunk@1709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A internal stream flag to know if data is immediately available.
File and memory streams have this flag set. Streams defined in component
do not have this flag set by default.
git-svn-id: svn://localhost/gambas/trunk@1708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A menu entry and a button for showing/hiding the menu bar.
[GB.EVAL]
* BUG: Highlight.Purge() now correctly handle non-ASCII characters inside
strings and comments.
[GB.QT]
* NEW: Window.Menus.Hide, Window.Menus.Show and Window.Menus.Visible are
two methods and one property for showing and hiding the menu bar of the
window.
git-svn-id: svn://localhost/gambas/trunk@1706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix blob and string quoting.
* BUG: Detect primary keys even if their name does not end with '_pkey'.
* BUG: Correctly detect system databases.
[GB.QT]
* NEW: The Editor.Print() method automatically split lines longer than
256 characters.
git-svn-id: svn://localhost/gambas/trunk@1705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting ListBox.List and ComboBox.List does not raise the Click
event anymore, as in gb.qt.
* BUG: Searching an item in a ComboBox does not crash anymore.
[GB.FORM]
* BUG: TableView edit field position is now correct when the TableView
window has a menu bar.
[GB.QT]
* BUG: TabStrip.Children property now does not return invalid children
anymore.
git-svn-id: svn://localhost/gambas/trunk@1700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Increment bytecode version.
[INTERPRETER]
* NEW: New routine to deal with the new immediate collection operator. The
bytecode has changed consequently.
[COMPILER]
* NEW: A new syntax to the array operator to create collections:
[ <key>:<value>, <key>:<value> ... ]
[GB.EVAL]
* NEW: Implement the new syntax for creating collections.
git-svn-id: svn://localhost/gambas/trunk@1699 867c0c6c-44f3-4631-809d-bfa615b0a4ec