* NEW: Define the 'Exec' preprocessor constant when making an executable.
* BUG: Packager: Replace spaces with underscores when using the vendor name
as package name prefix.
* BUG: Packager: Fix "make uninstall" in autoconf packages.
[INTERPRETER]
* BUG: Allow to override native array classes without crashing.
[COMPILER]
* NEW: New '-x' option to define the 'Exec' preprocessor constant.
[EXAMPLES]
* NEW: MediaPlayer: Real-time seeking.
* NEW: MediaPlayer: Use gb.desktop to suspend the screen saver while
playing a media file.
git-svn-id: svn://localhost/gambas/trunk@4715 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all
Makefile.am files.
[GB.XML]
* BUG: Remove debugging flags from compilation flags.
git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The debug window has a button to switch between "normal view" and
"symbol view". In "normal view", array and collection contents are
displayed. If the object is not an array or a collection, then all
non-hidden symbols are displayed. In "symbol view", all objects symbols
are displayed, whatever the object type is.
[INTERPRETER]
* NEW: The debugger now can display collection-like objects. An object can
be displayed like a collection if it has a Count property, is enumerable,
has a _get special method taking a string, and has a Key property that
returns the key of the last enumerated element.
[GB.DEBUG]
* NEW: The debugger now can display collection-like objects. An object can
be displayed like a collection if it has a Count property, is enumerable,
has a _get special method taking a string, and has a Key property that
returns the key of the last enumerated element.
[GB.FORM]
* BUG: GridView.Clear resets the height of all rows to the default value.
git-svn-id: svn://localhost/gambas/trunk@4558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Font size options has been renamed as "Default font size" and "Small
font size". The small font size is now used for all toolbars.
* NEW: The help browser proxy can be configured.
[GB.FORM]
* NEW: The stock icon named "earth" has been renamed as "internet".
[GB.QT4]
* BUG: If a form is defined as being not visible, then using it as a
startup form won't show it.
[GB.QT4.WEBKIT]
* NEW: WebSettings.DefaultProxy is a new constant for using the default
proxy configuration.
git-svn-id: svn://localhost/gambas/trunk@4543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take property synonymous into account.
* BUG: Pasting text as comments correctly converts tabulations into spaces.
[INTERPRETER]
* NEW: GB.RaiseBegin() and GB.RaiseEnd() are two new intepreter APIs that
allow to define a callback that will be called if an exception is raised
during a call to GB.Raise().
* BUG: CATCH and FINALLY correctly restore the stack pointer. Without that,
it is possible to use more stack than possible and to crash the
interpreter.
[COMPILER]
* NEW: A property now can has up to four different names. The syntax is:
"Property Name [ , Synonymous1, ..., Synonymous3 ] As Datatype".
[GB.DB]
* BUG: Table.Type property now correctly handle null table types.
[GB.DB.FORM]
* NEW: DataBrowser.Grid is a new property to define the grid visibility.
* BUG: The DataBrowser and DataView controls have been fixed. There is only
one problem to fix that depends on a gb.gtk bug.
[GB.DRAW]
* BUG: Setting Draw.Font to NULL does not crash anymore, and raise an error
instead.
[GB.FORM]
* NEW: The new GridView is finished and replaces the old one now.
* NEW: GridView.ShowCursor is a new property that displays a light cursor
around the current cell when set.
[GB.GTK]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: GTK+ GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
[GB.QT4]
* NEW: Font.Copy() is a new method to copy a font object.
* NEW: Qt4 GridView has been disabled.
* NEW: The Container Insert event has been renamed as NewChild.
* BUG: If the DrawingArea Draw event handler raises an error, then the
interpreter should not crash anymore.
[GB.QT4.EXT]
* BUG: Fix an uninitialized field in Editor internal GLine class.
git-svn-id: svn://localhost/gambas/trunk@4503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible crash when the form editor gets a spurious resize
event whereas undo management has been uninitialized.
* NEW: Libraries now can have requirements exactly like components. This is
taken into account by the project property dialog.
[ARCHIVER]
* NEW: Put the '.component' file inside archives, so that the IDE can
extract libraries requirements from the executable.
[GB.FORM]
* NEW: Add two pixels to the height of the TabPanel tabbar.
git-svn-id: svn://localhost/gambas/trunk@4475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Terminal emulation now does not automatically convert NL to CR+NL.
* BUG: Fix the declaration of custom array classes.
[GB.GTK]
* BUG: Stopping a file descriptor watch now correctly check if the event
loop must be exited.
git-svn-id: svn://localhost/gambas/trunk@4398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the "get version from file" option everywhere.
[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
as soon as the program is compiled.
[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.
git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DbusConnection.Register third argument now can take a list of
interfaces. A method or a property will be associated with one of these
interfaces only if its name begin with the interface name (points being
replaced by underscores).
git-svn-id: svn://localhost/gambas/trunk@4323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New "Gamabs" highlight theme.
* BUG: When showing the search dialog, the search text is correctly
selected in all cases now.
* BUG: Importing a report (or any form that is not a GUI form) now
correctly imports the class file.
[EXAMPLES]
* NEW: Add a text clipping example in the 'Painting' example.
[INTERPRETER]
* OPT: Replace() is now faster when the search string and the replace
string are both one character length strings.
[COMPILER]
* NEW: The string escape character '\v' was added.
[GB.GTK]
* BUG: Paint.Text() now works correctly when the alignment is not
specified.
[GB.NET]
* BUG: Correctly check system errors when using a asynchronous DnsClient.
[GB.QT4]
* BUG: Paint.Save() and Paint.Restore() take the clipping path into account
now.
[GB.SETTINGS]
* NEW: Use a temporary file when saving a settings file, and always make a
backup.
[GB.WEB]
* NEW: The Session.Modify() method was replaced by a read/write Modified
property.
git-svn-id: svn://localhost/gambas/trunk@4273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.ReturnConvVariant() is a new API that ensures that the returned
value is a Variant, as now the interpreter does not do the conversion
automatically.
* BUG: Use the new GB.ReturnConvVariant() and the GB.ReturnVariant() API
everywhere it is needed.
git-svn-id: svn://localhost/gambas/trunk@4248 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: New GB.ReturnVariant() API for methods and properties that return a
Variant value.
[GB.DESKTOP]
* BUG: Fix DekstopWindow state properties.
* BUG: Use the new GB.ReturnVariant() API for _Desktop.GetWindowProperty().
git-svn-id: svn://localhost/gambas/trunk@4246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.
[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.
[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.
[GB.DB.NET]
* BUG: Fix ignored system call return values.
[GB.V4L]
* BUG: Remove some unused local variables.
git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix desktop detection in the system information dialog.
* BUG: Recent projects are correctly filtered now the second time the 'open
project dialog' is opened.
[WIKI CGI SCRIPT]
* BUG: Fix the TODO page when showing which symbols have no documentation.
[GB.FORM]
* BUG: FileView now ignores unreadable directories.
[GB.FORM.MDI]
* NEW: Action.ConfigureToolbar has been hidden as Action._ConfigureToolbar.
[GB.GTK]
* NEW: Action.Register has been hidden as Action._Register.
[GB.QT4]
* NEW: Action.Register has been hidden as Action._Register.
git-svn-id: svn://localhost/gambas/trunk@4092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Update xdg-utils to the latest version, so that LXDE desktop is
correctly supported.
* NEW: Desktop.RunAsRoot() runs a command as root, by using the graphical
"su" utility of the current desktop.
git-svn-id: svn://localhost/gambas/trunk@4045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for splitted lines in pretty printer.
[GB.DESKTOP]
* BUG: Make the component compile correctly.
git-svn-id: svn://localhost/gambas/trunk@4032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatic completion now displays hidden symbols if the class is
part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
anymore.
[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
easily extract the property name of the parent class from the virtual
class name. For example, ".ApplicationArgs" is now ".Application.Args".
git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the new special method _property to implement DBus properties.
* BUG: Settings a DBus property does not freeze anymore. But there is
memory leak yet.
git-svn-id: svn://localhost/gambas/trunk@3937 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Classes coming from libraries are correctly taken into account in
automatic completion now.
* BUG: Fix the layout of the help window the first time it is shown.
* NEW: The recent files list should be correctly refreshed now if another
Gambas instance updates it.
[WEB SITE MAKER]
* NEW: Update for Gambas 2.23.1.
[WIKI CGI SCRIPT]
* BUG: The front page now is correctly version dependant.
* BUG: Do not add "v3" at the end of a link that has "v2" explicitely.
[INTEPRETER]
* NEW: Stream.Lines is a new property that allows to enumerate a stream
line by line until end of stream is reached.
[GB.SETTINGS]
* NEW: The Settings.Path property has been renamed as Settings.DefaultDir.
* NEW: Now Settings.Path returns the path of the settings file on the disk.
* BUG: Use a lock to prevent simultaneous writings of the same settings
file.
[GB.QT4.EXT]
* BUG: Fix how the cursor is ensured to be visible in the Editor class.
git-svn-id: svn://localhost/gambas/trunk@3866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix keyboard handling in editor procedure list.
[WEB SITE MAKER]
* NEW: Activate the Gambas 3 download button.
[WIKI CGI SCRIPT]
* NEW: Use a combo-box now for selecting the current version.
[GB.GTK]
* BUG: Remove some debugging stuff in the Printer class.
[GB.FORM]
* NEW: Add an "open in file manager" action in FileChooser and DirChooser
controls, when the gb.desktop component is loaded.
git-svn-id: svn://localhost/gambas/trunk@3856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DesktopWindow.GetIcon() is a new method that returns a window icon
from a specific size.
* BUG: Retrieving a big X11 window property (for example a window icon)
works correctly now.
git-svn-id: svn://localhost/gambas/trunk@3792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Desktop.FindWindow() should work correctly now.
* BUG: Reading X11 properties on 64 bits systems should work in all cases
now.
git-svn-id: svn://localhost/gambas/trunk@3557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the Proxy property in data bound controls.
[GB.DESKTOP]
* BUG: Fix the reading of big X11 properties.
git-svn-id: svn://localhost/gambas/trunk@3554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current
desktop.
[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker,
Enlighnement.
[GB.GTK]
* NEW: Support for screen available geometry.
git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Qt 4.5.0 is now required to compile the gb.qt4 components.
[INTERPRETER]
* NEW: You can now define a non-creatable but auto-creatable class. It
means that you cannot instanciate the class, but you can use it
statically.
[GB.GTK]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
X, Y, Width and Height properties return the full geometry. The
AvailableX, AvailableY, AvailableWidth and AvailableHeight properties
return the geometry available to the windows. The screen class can be
used statically to get the geometry of the default screen.
BEWARE: The available geometry is not yet implemented on gb.gtk!
* NEW: Window.Screen is a new property that returns the screen where most
of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
available geometry of the default screen. It is an equivalent of
Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.
[GB.QT4]
* NEW: Screens is a new pseudo-array of all screens.
* NEW: Screen is a new class that represents the geometry of a screen. The
X, Y, Width and Height properties return the full geometry. The
AvailableX, AvailableY, AvailableWidth and AvailableHeight properties
return the geometry available to the windows. The screen class can be
used statically to get the geometry of the default screen.
* NEW: Window.Screen is a new property that returns the screen where most
of the window is located.
* NEW: Desktop.{X,Y,Width,Height} are four new properties that return the
available geometry of the default screen. It is an equivalent of
Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}.
git-svn-id: svn://localhost/gambas/trunk@3413 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: Many clean-ups in the MDI management.
[GB.GTK]
* BUG: The Index argument of the TabStrip.Close event handler is now
correct.
* NEW: The Arrange event is raised even if the container has no child.
* BUG: Reparenting a top-level window works correctly now.
* BUG: Reparenting a top-level window does not show hidden children
controls anymore.
[GB.QT4]
* NEW: The Arrange event is raised even if the container has no child.
[GB.WEB]
* BUG: Better detection of accepted HTTP compressions.
git-svn-id: svn://localhost/gambas/trunk@3280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Desktop.Open() takes a new argument that tells if we should open the
URL in background or not. By default the URL is opened in background.
git-svn-id: svn://localhost/gambas/trunk@3275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not search text inside form anymore.
[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not
conflict with anythign having the same name in components. The
interpreter API that was returning the startup class has been updated
to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning
"b", to be coherent with File.Dir().
[GB.DESKTOP]
* NEW: Use the new API returning the startup class.
[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
anymore.
[GB.GTK]
* NEW: Use the new API returning the startup class.
[GB.QT4]
* NEW: Use the new API returning the startup class.
[GB.SIGNAL]
* NEW: Use the new API returning the startup class.
git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update the xdg-utils scripts to the latest ones from the CVS.
git-svn-id: svn://localhost/gambas/trunk@3264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start trying to display a resume at the end of installation.
[INTERPRETER]
* BUG: Extern functions now can handle up to 16 pointer or string
arguments.
[GB.GTK]
* BUG: Fix a infinite recursion in drag and drop management when draging
TextBox or TextArea contents inside the same application.
[GB.QT]
* BUG: Do not propagate Drop events when there is a drop event handler.
git-svn-id: svn://localhost/gambas/trunk@3237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The search list is updated correctly and almost in real time when
edited files are modified.
* NEW: When an editor is splitted, then the unfocused one is darker now.
[GB.QT4.EXT]
* NEW: Do not highlight text when reading the Editor.Text property.
* NEW: When getting the highlight state of a line, do not highlight it if
it is currently edited.
[GB.WEB]
* NEW: Request.Get and Request.Post are two array-like properties that
return the contents of the "GET" and "POST" parts of a HTTP request.
Using Request directly is possible. Then the two parts are merged.
git-svn-id: svn://localhost/gambas/trunk@3231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.
[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog
is displayed.
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a summary of warning messages after each component
compilation.
[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an
internal closure is created with the libffi library. The pointer then can
be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Breakpoints are correctly reset when opening a new project.
[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API
signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.
[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
automatically converted to uppercase.
git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Using object references is faster.
* BUG: Fix a misuse of GB.NewString() in the String class.
[COMPILER]
* BUG: Raise an error now when trying to create an array of structures.
[GB.QT4]
* OPT: Global widget event filter is faster.
* OPT: Do not internallt relayout TabStrip too often, because Qt takes a
lot of time to do that.
git-svn-id: svn://localhost/gambas/trunk@2974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New GB.NewZeroString() API to create a Gambas string from a
null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.
[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.
git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Dropping a picture on a Report form inserts a ReportImage now.
* BUG: Some fixes in arrangement icon drawing.
* OPT: Don't hide the console at program's end, if the console must remain
visible.
* NEW: Support for symbolic links to source directories. Disabled at the
moment.
* BUG: Do not use gb.gtk.ext in project templates, it does not exist
anymore!
[INTERPRETER]
* BUG: RDir() with FollowLink argument set correctly search into symbolic
link to directories.
[GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height do not crash anymore if the
underlying desktop does not support standard freedesktop properties.
git-svn-id: svn://localhost/gambas/trunk@2852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component
requirements.
[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas
version string, with major and minor numbers.
git-svn-id: svn://localhost/gambas/trunk@2781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: gcc on CygWin does not support the -fvisibilty flag.
[GB.FORM]
* NEW: DateChooser.SetDateColor method has been removed.
* NEW: DateChooser.Colors is a new read-only property that returns a
virtual object for managing the date colors. This object acts like an
array that associate colors to dates, and has a Clear() method to remove
all defined colors.
[GB.FORM.MDI]
* BUG: Sorting worskpace tabs does not change the current tab anymore.
git-svn-id: svn://localhost/gambas/trunk@2746 867c0c6c-44f3-4631-809d-bfa615b0a4ec