* BUG: Fix a crash when trying twice accessing a collection without the
good number of arguments.
git-svn-id: svn://localhost/gambas/trunk@7395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly catch errors when reloading a file.
[INTERPRETER]
* BUG: Fix a possible crash when removing an element from an enumerated
collection.
git-svn-id: svn://localhost/gambas/trunk@7392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Forgot to put VERSION file in the source package file list.
[COMPILER]
* NEW: Trim the VERSION file before inserting into the ".startup" file.
git-svn-id: svn://localhost/gambas/trunk@7390 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the WebView icon in the IDE.
[GB.FORM.EDITOR]
* OPT: Don't raise Cursor event if we are between calls to Begin / End or
during an undo or redo process.
[GB.GUI.QT.WEBKIT]
* NEW: No need to put the WebView icon there.
git-svn-id: svn://localhost/gambas/trunk@7367 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Property sheet: Fix text property edit dialog.
* BUG: Property sheet: Double-clicking on read-only properties does not
open the text property edit dialog anymore.
[GB.DEBUG]
* BUG: Fix profiler error messages.
[GB.QT4]
* BUG: Startup forms with Visible property set to FALSE are not shown at
startup anymore.
[GB.QT5]
* BUG: Startup forms with Visible property set to FALSE are not shown at
startup anymore.
git-svn-id: svn://localhost/gambas/trunk@7355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix some memory leaks when using DBusObject and DBusVariant in a
method call or a reply.
* BUG: The message observer of a DBusObject may disappear while processing
a message. Take that into account.
git-svn-id: svn://localhost/gambas/trunk@7352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Connections are now always searched in the main project archive.
git-svn-id: svn://localhost/gambas/trunk@7347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Relative paths beginning with ".../" always refer to files stored in
the main project archive.
git-svn-id: svn://localhost/gambas/trunk@7346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Uninstall correctly remove templates and XML appdata file.
* NEW: New Gambas icons.
[DEVELOPMENT ENVIRONMENT]
* BUG: New class CDocumentation that allows to handle distinct sets of
component metadata. That way, offline documentation does not interact
with automatic completion and method signature popups anymore.
* NEW: Project property dialog: Add two more environment variable
definitions.
* NEW: New Gambas icons.
* NEW: Remove now useless icons of the old project creation dialog.
[WIKI CGI SCRIPT]
* BUG: Fix and enhance automatic generation of Gambas application package
dependencies.
git-svn-id: svn://localhost/gambas/trunk@7336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Finish support of "forward-only" Result objects.
[GB.DB.ODBC]
* NEW: Clean-up a bit the query_fill() function.
git-svn-id: svn://localhost/gambas/trunk@7334 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Val() correctly detect dates now, when the date or the time
separator is a space character.
git-svn-id: svn://localhost/gambas/trunk@7326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New project creation dialog based on template projects located in
'/usr/share/gambas3/template' and in '~/.local/share/gambas3/template'.
These are default directories, they may change according to your gambas
installation prefix and home directory configuration.
[TEMPLATES]
* NEW: Project templates. There are only two at the moment, others will
come.
git-svn-id: svn://localhost/gambas/trunk@7321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Task now ends with by calling _exit() instead of exit(). Because
exit() calls the terminator of each loaded shared libraries, and that
sometimes crashes.
git-svn-id: svn://localhost/gambas/trunk@7320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix thousand separator for locales like norwegian that return an
UTF-8 non-breaking space. Replace it by a normal space.
git-svn-id: svn://localhost/gambas/trunk@7318 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Debugger: Breakpoints now work correctly when some global variables
are declared after a function.
git-svn-id: svn://localhost/gambas/trunk@7314 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix gambas server page mimetype file.
* NEW: New breeze-like icons for mimetypes.
[GB.GUI.BASE]
* NEW: Picture: Use Color[].Luminance on default background color to detect
dark themes.
[GB.DBUS.TRAYICON]
* NEW: New breeze default tray icon.
git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Component.FindFromPath() is a new method that returns the name of
the component a relative path belongs to.
* BUG: Fix the internal method that returns the component a relative path
belongs to.
[ARCHIVER]
* NEW: Better verbose mode.
[GB.GUI.BASE]
* NEW: Use the new Component.FindFromPath() method.
[GB.IMAGE]
* NEW: Color[].Luminance returns the luminance information of a color.
git-svn-id: svn://localhost/gambas/trunk@7309 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix windows using icons not existing anymore.
* NEW: Add dark theme versions of some icons.
[INTERPRETER]
* NEW: "../xxx" now refers to a file located in the parent archive, not
necessarily the main project archive. "../../xxx" refers to the
grand-parent archive, and so on. A component written in Gambas that
receives a relative path is supposed to prefix it with "../" if he wants
to access it. Please report any incompatibility!
* NEW: File.IsRelative() is a new method that returns if a file is
relative, i.e. if it does not starts with '/' or '~'.
[GB.FORM]
* NEW: The Stock class does not use the Picture cache anymore. It is
useless as normally the Stock class is accessed from the Picture[]
method.
[GB.FORM.MDI]
* BUG: When browsing actions, do not try to load an icon for actions that
do not have one.
[GB.GTK]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
They are now implemented in the 'gb.gui.base' component.
[GB.GTK3]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
They are now implemented in the 'gb.gui.base' component.
[GB.GUI.BASE]
* NEW: The Picture[] array accessor and the Picture.Flush() method are now
implemented in that component.
* NEW: Remove support for theme specific icons.
* NEW: Add support for right-to-left specific icons. For example, if an
icon is named 'abc-ltr.png', then it will be considered as a
'left-to-right' icon, and the 'abc-rtl.png' icon will be used if the
current langauge is right-to-left written.
* NEW: Add support for dark theme specific icons. An icon named
'abc-dark.png' will be the dark theme version of the 'abc.png' icon.
[GB.QT4]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically
anymore.
[GB.QT5]
* NEW: Remove the Picture[] array accessor and the Picture.Flush() method.
They are now implemented in the 'gb.gui.base' component.
* NEW: Message boxes do not support theme specific icons automatically
anymore.
git-svn-id: svn://localhost/gambas/trunk@7304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: (Bug 730) Don't pass NULL key and zero length to GB.HashTable.Remove()
* OPT: Use GB.StringLength() where possible
git-svn-id: svn://localhost/gambas/trunk@7303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: (Bug 730) Don't rely on GB.NewString() to NUL-terminate the string
git-svn-id: svn://localhost/gambas/trunk@7300 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take into account the "Use 'VERSION' file" project option to compute
the actual version in the .startup file.
git-svn-id: svn://localhost/gambas/trunk@7288 867c0c6c-44f3-4631-809d-bfa615b0a4ec
[INTERPRETER]
* BUG: GB.SubstString() API now can take a void substitution string. It
returns NULL instead of doing a segfault. Consequently,
RegExp.Replace() from gb.pcre can take a null replace string without
crashing.
git-svn-id: svn://localhost/gambas/trunk@7261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Debugger: Displaying a dynamic variable in a static context does not
crash anymore.
git-svn-id: svn://localhost/gambas/trunk@7258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: New routine to compute the localized time/date formats and
separators.
git-svn-id: svn://localhost/gambas/trunk@7244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly detect too large arrays.
* BUG: Array allocation incrementation now cannot be larger then 256 slots.
git-svn-id: svn://localhost/gambas/trunk@7232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Array.Resize() now correctly raises an error if its argument is
negative.
git-svn-id: svn://localhost/gambas/trunk@7231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some HiDPI fixes.
[GB.FORM]
* NEW: Stock icon default sizes ("small", "medium"...) are now proportional
to Desktop.Scale by steps of 8 pixels. This is for HiDPI support.
* NEW: Wizard BeforeChange event can be cancelled now.
[GB.FORM.MDI]
* NEW: Toolbar tries to update the size of its icons when the font changes.
[GB.GTK]
* NEW: Window now raises a Font event when its font changes.
[GB.GTK3]
* NEW: Window now raises a Font event when its font changes.
[GB.GUI.BASE]
* NEW: TreeView items height padding is now proportional to Desktop.Scale.
[GB.QT4]
* NEW: Window now raises a Font event when its font changes.
[GB.QT5]
* NEW: Window now raises a Font event when its font changes.
git-svn-id: svn://localhost/gambas/trunk@7228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix DateDiff() day comparison when comparing two dates with
different times.
git-svn-id: svn://localhost/gambas/trunk@7224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Syntax errors in constant declarations now give more detailed
messages.
git-svn-id: svn://localhost/gambas/trunk@7221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix DateDiff() day comparison when comparing two dates with
different times.
* BUG: Timezone ten minutes validation now works.
git-svn-id: svn://localhost/gambas/trunk@7212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't close an external library if requesting an unknown symbol on
it. Why having done that?
git-svn-id: svn://localhost/gambas/trunk@7191 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Image editor: Don't load the image twice.
* NEW: Do not open the welcome dialog if a project directory has been
specified in program arguments.
* NEW: Farm client: Paint the software names the same way everywhere.
* BUG: If the workspace was filled before
the main window is visible, then the QT5 backing store starts displaying
garbage. The workaround was to always show the main window before trying
to load any file.
* NEW: Add the environment variables to the system information.
[WIKI CGI SCRIPT]
* BUG: Fix some HTML syntax errors.
[INTERPRETER]
* BUG: Add the Rand() syntax description.
[GB.DB.POSTGRESQL]
* BUG: If PostgreSQL version is greater than 9.0, then force the bytea
output format to 'escape', as it was before.
[GB.EVAL.HIGHLIGHT]
* NEW: The TextHighlighter.ToHtml() method now takes the 'Alternate' style
flag into account, and the generated HTML is less verbose.
* BUG: The WebPage highlighting has been fixed.
[GB.FORM]
* BUG: Completion: Fix a possible crash.
* BUG: TabPanel: Fix a possible crash.
[GB.SDL2]
* NEW: Window.Handle is a new property that returns the window handle.
git-svn-id: svn://localhost/gambas/trunk@7188 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Packager wizard: When creating a package from a component project,
warn the user if the project name is not prefixed by a vendor name and
a dot, and stop the process.
[GB.GUI.BASE]
* NEW: IconView: Draw is a new event that is raised when just after a
specific IconView item has been drawn.
* NEW: IconView: Draw the hovered item differently.
* BUG: IconView: Fix bad detection of hovered item.
* NEW: IconView: Take the icon shape into account when doing a rectangle
selection.
[GB.DRAW]
* NEW: Paint.Zoom now draws its grid with a dashed line using the specified
grid color and its inverse.
git-svn-id: svn://localhost/gambas/trunk@7186 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Support for UTF-8 date and time separators, used by Chinese for
example.
git-svn-id: svn://localhost/gambas/trunk@7180 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Finally fixed! LINE INPUT internal buffer is now correctly reset
when SEEK is used.
git-svn-id: svn://localhost/gambas/trunk@7176 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The "Show search window" button in the search list does not reset
the searching context to the current procedure anymore. It keeps the
current context unchanged instead.
[GB.DRAW]
* NEW: Paint.ZoomImage used dash pattern to draw the zoom grid.
[GB.FORM]
* NEW: ImageView uses #808080 as grid color.
[GB.FORM.EDITOR]
* BUG: TextEditor: Don't reset an editor getting the focus. Do it only if
needed.
git-svn-id: svn://localhost/gambas/trunk@7175 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.GetReturnValue() is a new interpreter API that returns a pointer
to the internal GB_VALUE slot where GB.ReturnXXX() functions store the
return value.
* NEW: Allow a component to declare a GB_AFTER_INIT() exported method that
is called just after all the components declared in the project are
completely loaded.
[GB.DBUS]
* NEW: DBus._HasSystemTray() is a new method that returns if the DBus
system tray is present. That method is used by the 'gb.gui.trayicon'
component to know if 'gb.dbus.trayicon' must be loaded.
* BUG: Fix xml introspection analysis.
[GB.DBUS.TRAYICON]
* BUG: Remove debugging messages.
* BUG: TrayIcon icon data is sent correctly now.
[GB.GUI.TRAYICON]
* NEW: New component that you must check if you want to have system tray
icons. It loads 'gb.dbus', use DBus._HasSystemTray() to know if it can
load 'gb.dbus.trayicon'. Otherwise it tells the current GUI component to
declare the old system tray implementation classes.
[GB.GTK]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.GTK3]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.QT4]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
[GB.QT5]
* NEW: Let the new 'gb.gui.trayicon' deals with the dbus stuff, but keep
the old system tray icon and use them on demand.
git-svn-id: svn://localhost/gambas/trunk@7170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Object.Raise() method.
[DEVELOPMENT ENVIRONMENT]
* BUG: Replace a possible error while filling the toolbox by a warning
message.
[GB.DBUS]
* NEW: DBusValues is a new class that must be used when a DBus method canonical
return several values. It works like DBusVariant.
* NEW: DBus.SplitSignature is new method that allows to split a DBus signature.
* NEW: DBusNull class is renamed as _DBusNull.
[GB.DBUS.TRAYICON]
* NEW: TrayIcon popup menu is now exported through the DBusMenu protocol,
so that it becomes usable on Unity. Consequently, the Menu event will be
removed.
[GB.DESKTOP]
* NEW: Remove the Desktop.Type property.
* NEW: Add support for Unity.
[GB.GTK]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.GTK3]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.QT]
* NEW: Desktop.Type is now implemented in the GUI components.
[GB.QT5]
* NEW: Desktop.Type is now implemented in the GUI components.
git-svn-id: svn://localhost/gambas/trunk@7164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Object.Raise() is a new method that tells an object to raise one of
its events. You should have no use of that for real applications. :-)
git-svn-id: svn://localhost/gambas/trunk@7163 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a new GB.Component.Declare() API, that allows a component to
dynamically register a class description.
[INFORMER]
* NEW: A component now can declare classes through a GB_OPTIONAL_CLASSES
public symbol. Theses classes are included into the information file,
but are not automatically loaded as the ones defined through the
GB_CLASSES symbol.
[GB.FORM.STATUSICON]
* NEW: This component has been removed and replaced by gb.dbus.trayicon.
* NEW: This component now provide TrayIcon and TrayIcons classes that have
exactly the same interface as the old ones.
[GB.DBUS]
* NEW: Remove the now useless DBusConnection.Raise(). The DBusConnection
Register() and Unregister() are kept for backward-compatibility reason.
* NEW: Add DBus.Raise() and DBus[].Raise() to raise signals. At the moment,
there is no difference between the two methods, as there no mean to
indicate the sender raising a signal. I don't know yet how DBus decides
which service sends a signal!
[GB.DBUS.TRAYICON]
* NEW: This component implements the tray icon DBus protocol. It is
automatically loaded by the GUI components.
[GB.GTK]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.
[GB.GTK3]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
* BUG: Fix the component name in deprecation warning messages.
* BUG: Fix the old TrayIcon implementation, so that it matches the QT one.
[GB.QT4]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
[GB.QT5]
* NEW: Load the 'gb.dbus' and 'gb.dbus.trayicon' components if the current
desktop is KDE >= 4. Otherwise, use the old TrayIcon implementation.
git-svn-id: svn://localhost/gambas/trunk@7154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.GetProperty() API now returns the property value as a GB_VALUE
pointer, or NULL if the property could not be read.
[GB.DB.POSTGRESQL]
* BUG: Fix a compilation warning.
[GB.DBUS]
* NEW: DBusVariant.Signature is now a constant, not a property anymore.
* NEW: DBusVariant() static method has been removed.
* NEW: DBusVariant.Value is now writable.
* NEW: DBusVariant now can be inherited. Use the value of the Signature
constant for introspection of methods and properties using a child class
of DBusVariant.
* BUG: Show the org.freedesktop.DBus.Peer interface in introspection.
* BUG: The org.freedesktop.DBus.Properties.GetAll method now works
correctly.
* BUG: Correctly handle array datatypes.
* BUG: Correctly marshall DBus structures and arrays.
* BUG: Correctly handle NULL values.
[GB.FORM.EDITOR]
* BUG: TextEditor: Better detect cursor position when clicking in the
editor with the mouse.
[GB.FORM.STATUSICON]
* NEW: New component that provides a StatusIcon that is a TrayIcon using
the Status Notifier DBus specification (i.e. the new protocol). It should
only works with KDE at the moment.
[GB.IMAGE]
* NEW: Implement all possible image format conversions.
git-svn-id: svn://localhost/gambas/trunk@7150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix an infinite loop when a signal is catched and the signal pipe
has been closed.
git-svn-id: svn://localhost/gambas/trunk@7148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The UTF-8 character to byte position conversion routine now should
work in all cases. Fix a corner case in String.Left(), String.Mid$(),
String.Right() that sometimes could return an incorrect result.
git-svn-id: svn://localhost/gambas/trunk@7147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Allow string constants longer than 255 characters when generating
*.info files.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw line ending spaces with dots.
* NEW: TextEditor.ShowSpaces is a new property that toggles the drawing of
spaces at the end of line.
* BUG: TextEditor: Don't crash anymore when calling the Clear method
(again).
git-svn-id: svn://localhost/gambas/trunk@7142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Database editor: The import CSV dialog is now a wizard.
[GB.DB]
* BUG: Fix a crash when creating twice the same table with the same
connection.
[GB.FORM]
* NEW: Spinner: Display the label below the rotating spinner.
* NEW: Spinner.Wait() is a new method that calls the event loop, and
ensures that it is not called more than every 200 milliseconds.
* BUG: Wizard: Animation is correct now when the Border property is set.
[GB.QT4]
* BUG: Showing a window now automatically raises it.
[GB.QT5]
* BUG: Showing a window now automatically raises it.
git-svn-id: svn://localhost/gambas/trunk@7138 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Command for generating the package dependencies table.
[GB.COMPRESS.BZLIB2]
* NEW: Make that compress driver an explicit component.
[GB.COMPRESS.ZLIB]
* NEW: Make that compress driver an explicit component.
[GB.FORM.EDITOR]
* BUG: TextEditor: The right mouse button now has no effect to allow the
popup menu to act on the current selection or cursor position.
git-svn-id: svn://localhost/gambas/trunk@7134 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Profiler window: Add a new column for the average self time.
[INTERPRETER]
* OPT: Make faster implementations of the Find() and Exist() methods of the
native array classes. Only Date[] and Variant[] use the old implementations.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting and removing lines now work correctly when
wrap mode is enabled.
* OPT: TextEditor: Drawing and layouting optimizations.
git-svn-id: svn://localhost/gambas/trunk@7123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SliderBox: The slider has always a space for the possible minus sign.
[GB.GUI.QT]
* NEW: Print a warning message if GB_GUI contains an unsupported component.
[GB.QT5]
* NEW: Desktop.Screenshot does not use the deprecated API anymore.
git-svn-id: svn://localhost/gambas/trunk@7107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new QT4/QT5 switcher components.
* NEW: Support for QT5 component.
[GB.FORM]
* NEW: New syntaxes in 'icon.map' file that allows to specify different
icons for small or big sizes.
* NEW: New 'user' and 'group' icons.
[GB.FORM.STOCK]
* NEW: New 'user' and 'group' icons.
[GB.GUI.QT]
* NEW: New QT4/QT5 switcher component.
[GB.GUI.QT.WEBKIT]
* NEW: New QT4/QT5 WebKit switcher component.
[GB.QT4]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal
dialog.
[GB.QT5]
* BUG: Remove a debugging message in Style.Name property.
* BUG: Trigger pending focus and activate events before showing a modal
dialog.
git-svn-id: svn://localhost/gambas/trunk@7101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Text editor: Compression correctly marks the file as modified.
* NEW: Take gb.qt5 into account in the help system.
[WIKI CGI SCRIPT]
* NEW: Take gb.qt5 into account.
[INTERPRETER]
* NEW: GB.Component.IsLoaded() is new interpreter API that returns if a
specific component has been loaded.
* BUG: Running executables from an absolute path works again.
[GB.DESKTOP]
* BUG: DesktopWatcher: Use Desktop.Windows.FromHandle() instead of
Desktop.Windows[].
[GB.DESKTOP.X11]
* NEW: Support for gb.qt5.
[GB.FORM.EDITOR]
* BUG: TextEditor.Save() highlights the current line before saving.
[GB.QT5]
* NEW: Support for X11 event filter by translating xcb event into xlib
events.
* BUG: Cached DrawingArea works correctly now.
git-svn-id: svn://localhost/gambas/trunk@7099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Allow Gambas executables to be run through any relative paths.
git-svn-id: svn://localhost/gambas/trunk@7098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The string constants are now quoted in *.info files. Take that into
account.
* BUG: Disable code that uses the old Editor procedure floding feature.
* NEW: Make the option dialog smaller.
[WIKI CGI SCRIPT]
* NEW: The string constants are now quoted in *.info files. Take that into
account.
[COMPILER]
* BUG: The string constants are now quoted in *.info files.
[GB.FORM.MDI]
* BUG: Workspace: Disable some unused code.
[GB.QT4]
* OPT: Minimize X11 window properties changes.
[GB.QT5]
* BUG: Window SKipTaskbar, Stacking, Border... properties (all that rely on
Xlib calls) now work correctly.
* OPT: Minimize X11 window properties changes.
git-svn-id: svn://localhost/gambas/trunk@7092 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Sometimes String.Left(), String.Mid$() or String.Right() methods
could go past the end of their strings.
git-svn-id: svn://localhost/gambas/trunk@7088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Prevent a possible infinite recursion when detaching objects.
* BUG: Don't crash if a standard stream has been freed. Raise an error
instead.
git-svn-id: svn://localhost/gambas/trunk@7085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: System information: Search for QT5 core library.
[EXAMPLES]
* BUG: Fix Browser example.
[GB.FORM]
* BUG: Fix stock icon map for breeze icon theme.
[GB.GUI]
* NEW: Use gb.qt5 if the current desktop is KDE5.
[GB.GUI.OPENGL]
* NEW: Support for gb.qt5.opengl.
[GB.QT4]
* BUG: Fix component name in warning messages.
[GB.QT5]
* NEW: Qt 5.4 is now required, because of gb.qt5.opengl.
* BUG: Fix component name in warning messages.
[GB.QT5.OPENGL]
* NEW: QT5 OpenGL support component.
git-svn-id: svn://localhost/gambas/trunk@7076 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Don't panic if a received signal cannot be written to the signal
pipe. Just print a warning.
git-svn-id: svn://localhost/gambas/trunk@7074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: gb.qt5 component.
[EXAMPLES]
* BUG: Fix WebBrowser example.
[INTERPRETER]
* NEW: Fix compilation of EXEC and SHELL for older bytecode versions.
[GB.DB.FORM]
* NEW: Display the busy mouse cursor while loading SQL data.
[GB.QT4]
* NEW: Support for QT5.
[GB.QT5]
* NEW: Initial version of the QT5 component. Not everything is working.
There is no Embedder and TrayIcon controls.
git-svn-id: svn://localhost/gambas/trunk@7062 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Object.Lock() and Object.Unlock() are now recursive, i.e. you must
call Object.Unlock() as many times as Object.Lock() to actually unlock an
object.
git-svn-id: svn://localhost/gambas/trunk@7044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise an error instead of panicking when trying to catch the SIGKILL
or SIGSTOP signal.
git-svn-id: svn://localhost/gambas/trunk@7039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash if a regular expression has a missing closing '}'.
git-svn-id: svn://localhost/gambas/trunk@7036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Upgrade to 3.7.1 version.
[GB.DB]
* NEW: Connection.SQL is a new property that returns a new SQLRequest
object that can be used for forging a SQL request whose syntax is adapted
to the target connection.
* NEW: SQLRequest is a new class that helps to build a SQL request whose
syntax is adapted to a specific connection. The name of table fields are
always quoted so that they can include reserved characters.
[GB.DB.FORM]
* NEW: Use the new SQL property of the Connection object to build request.
* BUG: Fields with special characters in their name are now correctly
quoted, thanks to the new SQL forgin mechanism.
[GB.DB]
* BUG: Don't crash when a SQLite database is not found and if the hostname
is null.
* NEW: GB_DB_DEBUG is a new environmental variable that allows to
externally set the DB.Debug property.
[GB.EVAL.HIGHLIGHT]
* NEW: SQL higlighting: the '`' quote character is taken into account now.
git-svn-id: svn://localhost/gambas/trunk@7020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not read ahead file descriptors ready to read opened using the
".xx" special name.
git-svn-id: svn://localhost/gambas/trunk@6995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not read ahead a ready to read file descriptor if we are in
direct mode and if the file is a not a regular file.
git-svn-id: svn://localhost/gambas/trunk@6994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Stream read ahead does not have to wait for the descriptor to be
ready for reading.
git-svn-id: svn://localhost/gambas/trunk@6993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a Connections.Count property that returns the number of
connections defined in the current project / executable.
git-svn-id: svn://localhost/gambas/trunk@6954 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Using Paint.Begin() on an already painted device automatically calls
Paint.Save(), and Paint.Restore() will be called with Paint.End().
git-svn-id: svn://localhost/gambas/trunk@6939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The optional painting area is correclty reset after a call to
Paint.Reset().
git-svn-id: svn://localhost/gambas/trunk@6936 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.Begin() now takes a new optional argument that allows to
define the painting area as a sub-rectangle of the painting device.
git-svn-id: svn://localhost/gambas/trunk@6935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Force the interpreter to link with the system thread library,
whatever the global linker configuration is.
git-svn-id: svn://localhost/gambas/trunk@6916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The PathExtents.Merge() method does not crash anymore.
[GB.V4L]
* BUG: Fix type in error messages.
git-svn-id: svn://localhost/gambas/trunk@6903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add end-of-line format constants to the interpreter API.
[GB.QT4]
* BUG: If a control triggers the arrangement of its parent contents, the
delayed visibility is realized so that the control is taken into account
by the arrangement routine.
[GB.QT4.EXT]
* NEW: Editor.EndOfLine is a new property that defines which end-of-line
format (gb.Unix, gb.Windows or gb.Mac) is used when retrieving text from
the control.
git-svn-id: svn://localhost/gambas/trunk@6882 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash when opening a connection if the database driver is
unknown or not specified.
git-svn-id: svn://localhost/gambas/trunk@6870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Task return value is now persistent (it is stored inside the
Task object).
git-svn-id: svn://localhost/gambas/trunk@6857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A symbol followed by a point is never interpreted as a function if
it is used as a function name in the current class.
git-svn-id: svn://localhost/gambas/trunk@6856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when using the Connection.Collation property on a not
yet opened connection.
* BUG: The timeout is now really taken into account at database opening,
and it is 20 seconds by default as wanted initially.
git-svn-id: svn://localhost/gambas/trunk@6850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for GNU/Hurd.
[INTERPRETER]
* NEW: Support for GNU/Hurd.
[GB.NET]
* NEW: Support for GNU/Hurd.
git-svn-id: svn://localhost/gambas/trunk@6847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Get rid of the new warnings.
* NEW: Support for arguments without a datatype in function signatures.
* NEW: [ALT] + any brace character is a new editor shrotcut that add or
remove braces around the current word. Same thing for [ALT] + [<] or [>].
* NEW: Property editor: Add a clear button. Replace the MenuButton by a
normal ComboBox.
[INTERPRETER]
* NEW: Support for the new '*.list' file format.
[COMPILER]
* NEW: New '*.list' file format that marks classes having static elements.
* NEW: A warning is emitted when a class having static elements is
overriden by a declaration. This is suspicious.
* NEW: A symbol in a local variable declaration, or a global variable or
property declaration can now be surrounded by braces to prevent a
possible warning.
[GB.FORM]
* NEW: Get rid of the new warnings.
* NEW: TabPanel[].Closable is a new property that defines if a specific tab
has a close button.
[GB.FORM.MDI]
* NEW: Workspace: Try to minimize flickering during resizing. Not very
successful.
git-svn-id: svn://localhost/gambas/trunk@6838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take '*.help' help files into account.
[GB.DATA]
* NEW: Disable the help file generation from sources. It is useless for
normal users.
git-svn-id: svn://localhost/gambas/trunk@6834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Analyze the source files without 'gb.pcre'.
[GB.DATA]
* NEW: Activate help extraction from source files.
git-svn-id: svn://localhost/gambas/trunk@6831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Modify the installation process so that it will be able to run the
'gbh3' tool to extract help from component source files. Not usable yet
as long as 'gbh3' depends on 'gb.pcre'.
[HELP EXTRACTOR]
* NEW: Move 'gbh3' project from '/app/src' to '/main/tools'.
* NEW: Add new options that are needed by the installation process.
git-svn-id: svn://localhost/gambas/trunk@6829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use row borders in project property component list. But still use
cell borders in component / library requirements!
[GB.GEOM]
* BUG: RectF: Fix the implementation of several methods and properties.
[GB.GUI.BASE]
* NEW: Redesign the Border methods signature. They take a RectF instead of
X, Y, Width, Height arguments.
* NEW: Border.GetRect() is a new method that returns the available border
inside as an integer rectangle.
* NEW: Border(...) now create a new Border object, like the constructor.
* NEW: Border.IsVoid() returns if the Border object will actually draw a
border. The slash and backslash strokes are not taken into account.
* NEW: GridView.Collapse has been removed. Margin are always collapsed for
row borders, and never collapsed for cell borders.
* BUG: GridView borders now work as expected.
git-svn-id: svn://localhost/gambas/trunk@6817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Component/Library dependencies now are chosen from a new component
selection dialog.
* BUG: Database editor: Support for requests beginning with "WITH" or
"PRAGMA".
[WIKI CGI SCRIPT]
* NEW: New login panel.
* BUG: Fix creatable class detection.
[GB.FORM]
* BUG: IconPanel: The mouse wheel cannot select hidden tabs anymore.
* BUG: Wizard: Remove default padding for wizards having a border.
[GB.GUI.BASE]
* BUG: Border: Rewrite the painting routine. Simplify the clipping to help
workaround Qt4 bugs.
[GB.DB.SQLITE]
* NEW: Mark the component as deprecated.
[GB.DB.SQLITE3]
* BUG: Support for PRAGMA requests. Start cleaning up the horrible C++
classes.
[GB.QT4]
* BUG: Simplify the clipping management, because the old one was based on
the QPainterPath::intersected() Qt method that is buggy. Clipping mixed
with world transform matrix has still to be checked.
git-svn-id: svn://localhost/gambas/trunk@6815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Description of the gb.util.web component.
* NEW: A component/library project now can define if its information should
include the information of other components. This is useful if your
component includes another component at runtime that is hidden, or that
it does not depend on.
[INFORMER]
* NEW: Support for information include of components written in Gambas.
[GB.GUI.BASE]
* OPT: Border: Use Single instead of Float for properties. It saves some
memory space.
* NEW: Border: Properties for diaognal strikes.
* BUG: Border: Fix style syntax analyze.
[GB.UTIL.WEB]
* NEW: A new component that provides useful routines for web applications.
They were located in gb.web before.
[GB.WEB]
* NEW: 'gb.util.web' is now automatically loaded, to provide
backward-compatibility with Gambas 3.6 applications using 'gb.web'.
git-svn-id: svn://localhost/gambas/trunk@6812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: "create static" classes are now taken into account when using the
_call() special method.
git-svn-id: svn://localhost/gambas/trunk@6809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Project properties dialog: Make component filters visible again.
* NEW: Project properties dialog: To get help on a component, you have to
double-click on it now. It opens a embedded web browser on the help. The
back button of the browser goes back to the component list.
[WIKI CGI SCRIPT]
* NEW: Always put the login panel at the bottom of the startup page.
git-svn-id: svn://localhost/gambas/trunk@6803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: LCDLabel now uses gb.sdl2.audio.
[GB.FORM]
* BUG: The ToolPanel buttons now takes Style.FrameWidth into account.
[GB.GTK]
* BUG: Remove a debugging message.
[GB.QT4]
* BUG: Do not delete open windows later when the event loop is finished.
This is not supported by QT.
git-svn-id: svn://localhost/gambas/trunk@6797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Software screenshot can be deleted by the client.
[INTERPRETER]
* NEW: The little interpreter sleep is now done inside the watch file
descriptor read callback only. So no need to implement it in each
component event loop.
[GB.SDL2]
* BUG: The SDL event loop now calls the interpreter event loop so that
timers and watched file descriptor are correctly handled.
git-svn-id: svn://localhost/gambas/trunk@6792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not stop watching a file descriptor that is ready to read but has
no data.
* NEW: Sleep up to 10 ms if the event loop is called too often.
git-svn-id: svn://localhost/gambas/trunk@6791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update the state of many components.
[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.
[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.
[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries
in the history, to set or get the current history entry index, and to get
or set the history maximum capacity.
git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a badly initialized variable in syntax tree analyze, that could
lead to spurious "Expression too complex" errors.
[GB.EVAL]
* BUG: Fix a badly initialized variable in syntax tree analyze, that could
lead to spurious "Expression too complex" errors.
git-svn-id: svn://localhost/gambas/trunk@6762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix initial focus of welcome dialog.
[INTERPRETER]
* BUG: Release standard i/o File objects before cleaning up the classes, to
avoid an incorrect "circular reference" message.
[GB.GTK]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It
just print a warning message and does nothing.
[GB.GTK3]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It
just print a warning message and does nothing.
[GB.UTIL]
* NEW: Date.EasterDay returns the Easter day of a specific year.
[GB.QT4]
* NEW: Link to the pthread library explicitly.
* NEW: WAIT inside a keybord handler does not raise an error anymore. It
just print a warning message and does nothing.
[GB.QT4.EXT]
* NEW: Editor.Font property now can take any font in the IDE.
git-svn-id: svn://localhost/gambas/trunk@6754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GraphMatrix.Add() does not add identical vertices multiple times
anymore.
git-svn-id: svn://localhost/gambas/trunk@6752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update chinese translations.
[EXAMPLES]
* NEW: Add screenshots, switch to 1.0 version, and publish.
[INTERPRETER]
* NEW: Allow WAIT to raise errors.
[GB.DESKTOP]
* NEW: DesktopWindow.Geometry is a new property that returns the geometry
of the window inside as a rectangle.
* NEW: DesktopWindow.Frame is a new property that returns the geometry
of the window outside (with the frame) as a rectangle.
* NEW: DesktopWindow.GetScreenshot() is a new method that returns a
screenshot of a window, with or without the frame.
* BUG: DesktopWindow X, Y, Width and Height properties return the window
geometry without the frame.
[GB.GTK]
* NEW: Raise an error if WAIT is called during a keyboard event.
[GB.GTK3]
* NEW: Raise an error if WAIT is called during a keyboard event.
[GB.QT4]
* NEW: Raise an error if WAIT is called during a keyboard event.
git-svn-id: svn://localhost/gambas/trunk@6746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise an error if an immediate Paint drawing routine
(Paint.DrawImage, Paint.DrawText...) is called while there is a current
path, because this is not supported by gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@6742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do read ahead for any watched file descriptor. It may break when
watching special device files, depending on its internal kernel driver
behaviour. We'll see.
git-svn-id: svn://localhost/gambas/trunk@6708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash when trying to open a non-existing sqlite database with
the 'sqlite' pseudo-driver.
git-svn-id: svn://localhost/gambas/trunk@6705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The process error output callback now immediately closes its file
descriptor as soon as read() returns zero or an error, or if the Error
event is not handled.
git-svn-id: svn://localhost/gambas/trunk@6694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't remove the possible watch when freeing the file. The file may
be closed, and the file descritor may have been reused!
git-svn-id: svn://localhost/gambas/trunk@6693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Software farm: When installing a software, tags that are desktop
menu official categories are used for creating the '*.desktop' file.
Consequently, the menu entry shold go to an accurate location of the
desktop application menu.
* NEW: Software farm: Some little desgin fixes.
* NEW: Publishing dialog: Some little fixes.
[FARM SERVER]
* BUG: Fix two bugs in search software request.
[INTERPRETER]
* NEW: The data format 'u' displays all milliseconds digits as soon as
there is at least two 'u' characters, and not if there is exactly two
'u' characters only.
[GB.DESKTOP]
* NEW: DesktopFile.Categories is a new property to read or set the
categories of a desktop menu entry.
git-svn-id: svn://localhost/gambas/trunk@6692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash when trying to download the offline help if 'wget' is
not installed on the system.
* BUG: Software farm: Don't create a '*.desktop' file if the software is a
library or a component.
* NEW: Redesign the publish dialog by using a wizard.
* NEW: Use freedesktop categories as possible software tags.
[FARM SERVER]
* NEW: Add a 'size' field in the 'software' table, and an index to be able
to sort sotfwares by size later.
[INTERPRETER]
* BUG: Read data ahead before raising a Read event (on Process, File, or
any stream). Use the result of that read to detect EOF, as using the
stream end-of-file detection routine is not reliable.
[GB.FORM]
* BUG: FileProperties: Fix the media preview.
[GB.MEDIA.FORM]
* BUG: MediaView: Don't crash if the internal media player is not yet
initialized.
git-svn-id: svn://localhost/gambas/trunk@6691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Software farm: Software now can be safely installed or removed. The
source checksum is checked, as well as the required components. Libraries
and dependencies on other software are not yet taken into account. A
'*.desktop' file is automatically created on installation now.
[INTERPRETER]
* NEW: Split() has a new behaviour when its escape argument has two
characters, the second one being the first splitting character. It uses
the first character to escape splitting characters. For example,
Split("a;b~;c;d",";","~;") returns ["a","b;c","d"].
* NEW: String[].Join() method handle the new Split syntax.
["a","b;c","d"].Join(";","~;") returns "a;b~;c;d". Moreover, in the
traditional escape syntax, the joined string are not escaped anymore if
they are void.
[GB.DESKTOP]
* NEW: DesktopFile.MimeTypes is a new property corresponding to the
'MimeType' entry of the '*.desktop' file.
* NEW: DesktopFile now can be used for creating or modifying '*.desktop'
files.
git-svn-id: svn://localhost/gambas/trunk@6689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Trie: Use sufficient bit widths in numerical constants (could cause
data loss on 32 bit systems).
* BUG: TriePrefix: Don't drop reference counts of the Trie when the prefix
is not found.
git-svn-id: svn://localhost/gambas/trunk@6688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Retrieve the child process output correctly when it has terminated.
No data should be lost anymore.
* NEW: Remove an unused internal stream method.
git-svn-id: svn://localhost/gambas/trunk@6687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Process: Don't call the Read event if there is nothing to read.
git-svn-id: svn://localhost/gambas/trunk@6686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Software farm: Now softwares can be installed or removed.
Installation is not finished yet. Checksum, components and libraries are
not checked. Desktop file is not created.
* NEW: Software farm: Design changes in the GUI.
* BUG: Offline help: The help timestamp is now used for detecting updates.
File modification time is not used anymore as it is a localized time.
* BUG: Source archive files now ignore files named 'core'.
[INTERPRETER]
* BUG: SHELL now correctly resets the interpreter to '/bin/sh' if the
System.Shell property is reset to a null string.
[GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now tries to find 'ifconfig' or 'ip' in
'/sbin' and '/usr/sbin' before relying on the PATH environment variable.
git-svn-id: svn://localhost/gambas/trunk@6685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Process: Don't check end of stream before calling the Read event. I
don't remember what this test was supposed to fix, but for sure it leads
to data loss if some data arrives just after the test.
git-svn-id: svn://localhost/gambas/trunk@6683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The process child errors raised before the exec() system call are
now catched in a separate function called by the compiler explicitly
after a SHELL or EXEC assignment.
[COMPILER]
* NEW: SHELL and EXEC assignments now call an hidden subroutine just after
the assignment to immediately check for a possible child error.
git-svn-id: svn://localhost/gambas/trunk@6681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some fixes in the software farm window.
[INTERPRETER]
* NEW: Remove the GB.UnrefKeep() interpreter API, as it is not used
anymore.
git-svn-id: svn://localhost/gambas/trunk@6676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Apply the "close on exec" flag to all non-temporary file descriptors
opened by the interpreter.
git-svn-id: svn://localhost/gambas/trunk@6671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Experimental "Gambas Software Farm" dialog. It allows to browse a
farm server, but voting and installing are not yet possible.
* NEW: Requests to the farm server are now displayed in a modal dialog with
an optional progress bar.
[FARM SERVER]
* BUG: Fix many bugs.
* NEW: Search software by tags.
[GB.DB]
* BUG: Connections: Fix a not enough argument error.
[GB.FORM]
* NEW: URLLabel is a new control that displays a clickable URL. If the
'gb.desktop' component is loaded, then a browser is automatically opened
when clicking on the link.
[GB.GUI.BASE]
* NEW: ProgressBar now has a flat look. And a new Border property that
allows to hide the border.
[GB.NET.CURL]
* NEW: HttpClient and FtpClient now raise a 'Cancel' event when their
Stop() method is called.
* BUG: Found a workaround for having accurate upload progress data.
* NEW: HttpClient.CopyFrom() is a new method that allows to fill an
HttpClient object with the configuration of another HttpClient object.
[GB.QT4]
* BUG: Do not use 'QEventLoop::DeferredDeletion' anymore, it is deprecated.
Use qApp->sendPostedEvents() instead.
git-svn-id: svn://localhost/gambas/trunk@6665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some style fixes for lists.
* NEW: Automatically use the english page if the current page has not been
translated.
* NEW: Automatically use the parent class if possible when a symbol page
does not exist.
[GB.DB]
* BUG: Fix a 'not enough arguments' error in Connections.Create().
[GB.MARKDOWN]
* BUG: <hr> are now only generated from lines including only '*' or '-'. No
space is allowed anymore.
git-svn-id: svn://localhost/gambas/trunk@6659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Expression analyze now works correctly when ME or SUPER is used.
[FARM SERVER]
* NEW: Use the new automatic database creation feature.
[WIKI SERVER]
* NEW: Support for babelmark markdown syntax comparison.
[GB.DB]
* BUG: Don't crash at connection opening when no database name is
specified.
* NEW: The Connection class has now a part written in Gambas, and the C
part has been put in a parent hidden class named '_Connection'.
* NEW: Connection.GetTemplate() is a new method that return the description
of the database as a string template.
* NEW: Connection.ApplyTemplate() is a new method that takes the previous
template to initialize the structure of the database. If a table included
in the description already exists, it is silently ignored.
* NEW: Connections.Create() is a new static method that create a specific
database from a named connection and its template as saved by the IDE
in the current project.
git-svn-id: svn://localhost/gambas/trunk@6657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The structure of databases is now stored in the *.connection files.
It will be used for an automatic database initialization feature.
[WEBSITE MAKER]
* NEW: Update for 3.6.2.
[WIKI CGI SCRIPT]
* BUG: Fix the display of page without headers.
* NEW: Indexes are now displayed on two or more columns.
[INTERPRETER]
* NEW: New GB.AllocZero() API for allocating memory and filling it with
zeros.
[GB.DB.MYSQL]
* OPT: Cache metadata queries during 30 secondes to speed up things.
[GB.FORM]
* NEW: MenuButton displays a focus rectangle now.
[GB.GUI.BASE]
* BUG: ProgressBar now raises native control events.
git-svn-id: svn://localhost/gambas/trunk@6652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: USE now can be followed by a comma-separated list of component
names. That way the syntax is the same as what was implemented in the
gambas scripter 'gbs3'.
git-svn-id: svn://localhost/gambas/trunk@6649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new USE instruction.
[COMPILER]
* NEW: A class header now can include USE "xxxx" declarations, where "xxxx"
is a component name. It means that the specified component will be loaded
when the class is initialized, the first time it is loaded.
git-svn-id: svn://localhost/gambas/trunk@6648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update versions in Gambas projects.
* BUG: Remove some '.gambas' directories that must not be under version
control.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update the offline help to the new wiki look.
* NEW: Rename the CRecentFile class as CRecentProject.
[WIKI CGI SCRIPT]
* NEW: Some little changes in the look.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
[GB.MARKDOWN]
* BUG: Remove the useless Markdown.Root property.
git-svn-id: svn://localhost/gambas/trunk@6638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Be more intelligent when parsing arguments. Now all arguments after
the first non option argument are sent to the script process.
[INTERPRETER]
* OPT: Remove a previous optimization that made benchmarks slower, contrary
to what valgrind tells. No idea why exactly, maybe a valgrind cache
simulation problem.
[BENCHMARKS]
* NEW: Do less in the polynom benchmark, so that it runs about as long as
the other benchmarks.
git-svn-id: svn://localhost/gambas/trunk@6621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Move some rare instructions (breakpoints & quit management) out of
the main interpreter loop.
[COMPILER]
* NEW: The parser now assumes that an identifier is a subroutine taking
some arguments only if it is followed by an open brace.
[GB.EVAL]
* NEW: The parser now assumes that an identifier is a subroutine taking
some arguments only if it is followed by an open brace.
git-svn-id: svn://localhost/gambas/trunk@6620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Help comments of component classes and symbols are now automatically
used for creating non-existing documentation pages.
* NEW: Images are clickable in editing mode. They point at the image wiki
page.
[INTERPRETER]
* NEW: Url$() is a new function to encode an URL.
* NEW: FromUrl$() is a new function to decode an URL.
* NEW: FromBase64$() is now a synonymous for UnBase64$().
[GB.MEDIA]
* BUG: MediaPipeline.Pause() does nothing if the media is not playing. That
avoid some GStreamer bad behaviour.
[GB.MEDIA.FORM]
* NEW: MediaView: Remove the ShowVideo property, it is useless.
* NEW: MediaView: The URL property can receive a true URL or a file path.
The conversion is automatically done.
* BUG: MediaView: Do pause or stop the media file only if it has sense.
* NEW: MediaView: Hide the video part if the control height is too low.
git-svn-id: svn://localhost/gambas/trunk@6617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The IDE now can edit *.gbs Gambas scripts. But there is no automatic
completion.
* NEW: Use labels instead of buttons inside project items.
[WEBSITE MAKER]
* NEW: Update for 3.6.1 version.
[GB.EVAL]
* NEW: Lines beginning with '#!' are highlighted like comments. It's the
'shebang' of Gambas scripts.
git-svn-id: svn://localhost/gambas/trunk@6608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Array accessors have been optimized. The 'sort' benchmark is now 25%
faster.
git-svn-id: svn://localhost/gambas/trunk@6605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The internal UTF-8 string position cache now works in all cases.
git-svn-id: svn://localhost/gambas/trunk@6591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Try to retrieve the connection password only if the 'gb.desktop'
component is loaded, and only display warning messages in that case.
git-svn-id: svn://localhost/gambas/trunk@6575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Work continues on the publish dialog box. Now tags and dependencies
can be edited, and a new user can be registered.
[FARM SERVER]
* NEW: Server is almost finished. You can now download a software, vote
for it, and search the software database.
[COMPILER]
* BUG: Dump boolean constants in *.info files the same way as the informer.
[GB.NET.CURL]
* BUG: HttpForm is not a control, contrary to its parent class HttpClient.
git-svn-id: svn://localhost/gambas/trunk@6570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't use "sTable" as field name for the metadata table, because
apparently "STABLE" is a reserved word in PostgreSQL. Upgrade an already
existing metadata table automatically.
* BUG: Don't crash when starting a search from a image or connection
editor.
[WEBSITE MAKER]
* NEW: Update for 3.6.
[GB.DB]
* NEW: Add support for databases like PostgreSQL that are not fully case
insensitive.
[GB.DB.POSTGRESQL]
* BUG: Automatically convert field names to lowercase when creating a
table.
[GB.GUI.BASE]
* BUG: IconView item renaming don't crash anymore.
git-svn-id: svn://localhost/gambas/trunk@6559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: FontChooser.ShowRelative is a new property that set if relative
sizes are allowed or not. They are allowed by default.
[GB.FORM.DIALOG]
* NEW: Dialog.FixedOnly is a new property to set if the font chooser will
show fixed fonts only.
[GB.QT4]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
[GB.GTK]
* BUG: DrawingArea.Clear() works as expected now.
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
[GB.GTK3]
* BUG: DrawingArea.Clear now raises an error if the DrawingArea is cached
and if it currently being painted.
* BUG: No more warning printed when paiting or clearing a DrawingArea.
git-svn-id: svn://localhost/gambas/trunk@6528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the FontBox control in the option dialog.
[WIKI CGI SCRIPT]
* NEW: Add a preview button in editing mode.
[GB.DB]
* NEW: Database driver now have a flag to tell if they support collation or
not.
[GB.DB.POSTGRESQL]
* BUG: Use collation only if database version is greater or equal than 9.1.
[GB.FORM]
* NEW: Little design changes in the FontChooser control.
* BUG: Fix the FontBox control.
* NEW: FontBox.Default is a new property that defines which text is
displayed in the control when no font is set. By default, the application
default font name is used.
[GB.FORM.DIALOG]
* NEW: Add a custom font chooser dialog for Dialog.SelectFont().
git-svn-id: svn://localhost/gambas/trunk@6520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The 256 values of an input byte were mapped to just 128 bits of the
trie children mask, so corruption could have happened with non-ASCII keys.
* BUG: Add a special case when using GB.AddString() on an empty key
* BUG: Fix a memory error from Trie.Complete()'s return value
* OPT: Use the Gambas API in trie.c to manage memory and thus remove error
recovery since the interpreter will crash anyway
* OPT: Remove checks for "unsupported" characters as all 256 values of a
byte are supported in this version of the code
git-svn-id: svn://localhost/gambas/trunk@6515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Clicking on the paste button correctly set the focus back to the
editor.
[WEBSITE MAKER]
* BUG: Fix pages not located in the wiki.
[EXAMPLES]
* BUG: PhotoTouch: Fix the example.
[COMPILER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.
[INTERPRETER]
* NEW: Remove the Js$() function. Maybe it's not where it should be.
* BUG: Displaying a Result object in the debugger does not crash anymore.
* NEW: The GB.Realloc() API now calls GB.Alloc() if the pointer to
reallocate is null.
[GB.FORM]
* NEW: DateChooser: Make the time font size a little bit smaller.
git-svn-id: svn://localhost/gambas/trunk@6512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Trie: Fix Complete() method where the completion would be empty
and a memory leak there
git-svn-id: svn://localhost/gambas/trunk@6507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Trie and TriePrefix are new classes which implement a Patricia Trie
git-svn-id: svn://localhost/gambas/trunk@6506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a typo in an offline help message.
* NEW: The option dialog was reorganized so that user identity information
has itw own panel.
* NEW: The user identity is now written inside translation files.
[COMPILER]
* NEW: Write meaningful information in generated translation files.
[GB.FORM]
* BUG: Wizard: Fix the layout of wizard step titles.
* NEW: Add a new icon named 'identity'.
[GB.FORM.STOCK]
* NEW: Add a new icon named 'identity'.
[GB.WEB]
* BUG: The deprecated URL.Encode() and URL.Decode() functions now correctly
call URL.Quote() and URL.Unquote().
git-svn-id: svn://localhost/gambas/trunk@6503 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Database editor: Support for the new Collation field property.
[EXAMPLES]
* BUG: PdfViewer: Some little fixes.
[GB.DB]
* NEW: Table.Fields.Add() method takes a new optional argument to define
the field collation.
* NEW: Connection.Collations is a new property that returns the list of
available collations as a String array.
* NEW: Field.Collation is a new property that returns the collation of a
specific table field.
[GB.DB.MYSQL]
* NEW: Support for field collations.
[GB.DB.ODBC]
* NEW: Raise an error when trying to use collations. It is not supported.
[GB.DB.POSTGRESQL]
* NEW: Support for field collations.
[GB.DB.SQLITE2]
* NEW: Raise an error when trying to use collations. It is not supported.
[GB.DB.SQLITE3]
* NEW: Support for field collations.
[GB.QT4]
* BUG: ComboBox.Border property can be set even if it is in read-only mode.
git-svn-id: svn://localhost/gambas/trunk@6494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The PUSH CHAR byte code now works correctly with ASCII code greater
than 127.
git-svn-id: svn://localhost/gambas/trunk@6481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use System.Exist() to check that 'wget' is installed before trying
to download the documentation.
[INTERPRETER]
* NEW: System.Exist() is a new method that returns if a specific program
can be found in the PATH environment variable.
* NEW: System.Find() is a new method that returns the absolute path of a
specific program according to the PATH environment variable.
[GB.GUI.BASE]
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() default radius
is now Desktop.Scale divided by three.
* NEW: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now take a new
default argument to define the shadow opacity. The default value is 50%.
git-svn-id: svn://localhost/gambas/trunk@6479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new Menu.Radio property.
[GB.DB]
* BUG: Add an explicit warning message when a connection password must be
retrieved and the 'gb.desktop' component is not loaded.
[GB.GTK]
* NEW: Menu has a new Radio property that defines if a menu item must act
as a radio button. All successive menu items having the Radio property
set are mutually exclusive.
* BUG: Fix how menu items are drawn.
[GB.GTK3]
* NEW: Menu has a new Radio property that defines if a menu item must act
as a radio button. All successive menu items having the Radio property
set are mutually exclusive.
* BUG: Fix how menu items are drawn.
[GB.QT4]
* NEW: Menu has a new Radio property that defines if a menu item must act
as a radio button. All successive menu items having the Radio property
set are mutually exclusive.
git-svn-id: svn://localhost/gambas/trunk@6477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Heap: Change the way objects are identified in Update.
* NEW: gb.data has a part written in Gambas now.
* NEW: PrioSet is a weaker (WRT ordering) variant of a PrioQueue which
allows operations to be reasonably more efficient.
git-svn-id: svn://localhost/gambas/trunk@6472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When running an external process, search the PATH environment
variable before forking, so that if the program does not exist, an error
is immediately raised.
git-svn-id: svn://localhost/gambas/trunk@6471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Graph and GraphMatrix work now. Graph implementations in Gambas are
as powerful as native ones.
git-svn-id: svn://localhost/gambas/trunk@6468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: System.Log() is a new method that send a message to the system log.
Useful if you write a daemon.
[GB.FORM]
* NEW: New design of FileChooser and DirChooser.
[GB.GUI.BASE]
* BUG: Fix the automatic scrolling behaviour of GridView and all its
children classes.
* BUG: Fix new ligheter selection color of IconView.
* BUG: Fix automatic scrolling of newly expanded item in TreeView and
ColumnView.
[GB.GTK]
* BUG: Fix Style.ForegroundOf() method.
[GB.GTK3]
* BUG: Fix Style.BackgroundOf() method.
[GB.QT4]
* NEW: DrawingArea now raises a new Font event when its font changes.
* BUG: Controls now take the alpha component of foreground and background
colors into account.
git-svn-id: svn://localhost/gambas/trunk@6461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Convert to uppercase or lowercase now works as expected in the code
editor.
* BUG: Fix the offline 'To Do' and 'Last Changes' page.
[INTERPRETER]
* NEW: Add GB_DECLARE_STATIC() macro to declare native classes, and use it
in many class declarations.
[GB.FORM]
* NEW: Add an history in the FileChooser and DirChooser controls.
* NEW: Add a 'link' stock icon.
[GB.GUI.BASE]
* BUG: IconView: Fix mouse handling during rubberband selection.
* NEW: IconView: Use a lighter selection colour.
* BUG: ScrollArea: Shadows are now correctly drawn whatever is done during
the Draw event it raises.
git-svn-id: svn://localhost/gambas/trunk@6458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Take the "GB_VIRTUAL_CLASS()" declaration into account to decide if
a native class is virtual or not. Don't just check the dot prefix in the
name.
git-svn-id: svn://localhost/gambas/trunk@6454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Tweak Graph interface (still not finished)
* NEW: Add a GraphMatrix class which represents a Graph in a (non-sparse)
adjacency matrix (not working)
git-svn-id: svn://localhost/gambas/trunk@6451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Image editor: Fix magic wand tool. The result is not perfect, as the
clipper library seems to not be able to simplify paths completely.
* NEW: Add a little "open in another window" transient button in all items
of the project list.
[GB.CLIPPER]
* NEW: Upgrade to clipper 6.1.3a.
git-svn-id: svn://localhost/gambas/trunk@6448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new WebSettings.Cache.Clear() method.
* BUG: Fix project lists layout when they are filtered.
[WIKI CGI SCRIPT]
* BUG: Workaround the thttpd cgi interface bug.
[INTERPRETER]
* NEW: A new API for browsing a directory recursively.
* NEW: Js$() is a new function that quotes javascript strings.
[GB.FORM]
* BUG: ColorChooser: Don't memorize custom colors spuriously.
[GB.GUI.BASE]
* BUG: GridView: Don't take hidden columns into account when layouting
expanded columns.
git-svn-id: svn://localhost/gambas/trunk@6447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Set Cygwin Shared Library Extension to dll
[GB.JIT]
* NEW: Add conditional defines for Cygwin to allow compile:
Use finite in place of _finite, __isnand in place of __isnan
and __isinfd in place of __isinf.
* NEW: Remove jit_gambas_pass_dummy.cpp as this is no longer
required to compile with later versions of llvm. Also fixes
issue with Cygwin compile.
[GB.NET]
* NEW: Redefine TIOCOUTQ for Cygwin
[GB.SDL.SOUND]
* NEW: -lSDL needed for Cygwin linker
[INTERPRETER]
* NEW: Redefine FIONREAD for Cygwin
* NEW: Cygwin needs <strings.h> to avoid compiler issues when
redefining strcasecmp etc.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make the environment Cygwin aware
git-svn-id: svn://localhost/gambas/trunk@6435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use text shadow to draw project titles.
[GB.GUI.AREA]
* BUG: IconView: Clicking inside the selection now keeps it unchanged.
* BUG: Paint.DrawTextShadow() and Paint.DrawRichTextShadow() now work as
expected in all cases.
[GB.DRAW]
* BUG: Setting Paint.Background now resets Paint.Brush to NULL.
git-svn-id: svn://localhost/gambas/trunk@6432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add 'gb.media.form' to the list of components.
* NEW: Support for the new GridView.Padding property.
* NEW: Change the way GridView and TableView are represented in the form
editor.
[GB.GUI.BASE]
* NEW: GridView.Padding is a new property that defines the default cell
padding. Its default value is 2 pixels.
* NEW: Paint.DrawTextShadow() is a new method that draws the shadow of a
text. Note that you must call Paint.DrawText() to draw the real text
below the shadow.
* NEW: Paint.DrawRichTextShadow() is a new method that draws the shadow of
a piece of rich text. Note that you must call Paint.DrawRichText() to
draw the real text below the shadow.
[GB.IMAGE]
* NEW: Allows a component that supports the Image class to have a
premultiplied default image format. Beware that some images methods do
not support premultiplied formats yet.
* NEW: Color.Transparent now is &HFF000000& and not &HFFFFFFFF anymore.
[GB.QT4]
* NEW: Use a premultiplied RGBA default format for images.
git-svn-id: svn://localhost/gambas/trunk@6428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for classes defined twice in a component: once in the native
part, once in the gambas part.
* NEW: Use the new Paint.TrimText() method.
[INFORMER]
* NEW: Support for classes defined twice in a component: once in the native
part, once in the gambas part.
[GB.GUI.BASE]
* NEW: Paint.TrimText() is a new API that trim a text according to a
specified rectangle, adding an ellipsis character at the end if needed.
[GB.NET.SMTP]
* BUG: Fix a circular reference when using a normal SMTP TCP session.
[GB.QT4]
* OPT: A little optimization when drawing rich text.
git-svn-id: svn://localhost/gambas/trunk@6427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The stream available length function now correctly returns zero when
it fails.
git-svn-id: svn://localhost/gambas/trunk@6413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A new Task now resets the state of its standard output stream to
avoid side effects from its parent.
git-svn-id: svn://localhost/gambas/trunk@6412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path
with an unknown file.
[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player
widget with controls.
[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.
git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Deque: Add a Copy() method to return a deep copy of a Deque. Stack
and Queue "inherit" this method.
git-svn-id: svn://localhost/gambas/trunk@6407 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.
[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.
[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
`class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
again. I don't remember what prevented that to work, so I want to see.
[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.
[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.
[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the
control.
[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.
[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.
[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE
control toolbar.
git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Heap is a new class that implements a Min- or MaxHeap, depending upon
a mode parameter to its constructor. It supports some advanced ways to
manipulate the contained data -- beyond the first entry.
git-svn-id: svn://localhost/gambas/trunk@6402 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add Pause() and Resume() methods to pause and resume a watch.
IsPaused can be used to read/set/toggle the "paused" state.
git-svn-id: svn://localhost/gambas/trunk@6400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When reading lines ending with a "Window" end-of-line sequence
(CR+LF), the LINE INPUT instruction could sometimes forget to remove the
first end-of-line character from the end of the line (CR).
git-svn-id: svn://localhost/gambas/trunk@6398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Now the offline help on component symbols should be displayed
correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.
[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line
arguments as a string array. Not definitive: it may be removed in the
future.
[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the
application restart command for the session manager. Beware that it has
no effect at the moment!
[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
at the moment.
* NEW: Application.Restart is a new property that allows to define the
application restart command for the session manager.
git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when the first use of a class symbol recursively calls
the current function being executed.
git-svn-id: svn://localhost/gambas/trunk@6383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when opening the help browser after the F2 key has been
hit.
[INTERPRETER]
* BUG: Fix a crash when running the Application_Error global error handler.
[GB.FORM]
* NEW: DirBox is a new control that allows to choose a directory from a
ButtonBox.
* NEW: DirBox, FontBox and DateBox are now put in the "Chooser" tab of the
IDE control toolbar.
git-svn-id: svn://localhost/gambas/trunk@6380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support of GNU/kFreeBSD systems.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix a typo in english tips.
[INFORMER]
* NEW: Support of kFreeBSD.
[GB.DB.POSTGRESL]
* NEW: Check more directories when searching for libraries, so that it
works on debian systems.
[GB.V4L]
* NEW: Support of kFreeBSD.
git-svn-id: svn://localhost/gambas/trunk@6356 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible crash when highlighting source code positions in the
output window.
* BUG: Hitting ENTER key in the project tree filter now works correctly,
and open the first matching file if none is selected.
[GB.DESKTOP]
* BUG: Requires gb.desktop.x11 explicitely now.
[GB.GTK]
* BUG: System tray icons deletion is delayed now. It prevents spurious GTK+
warnings that appear if you hide an icon during inside an event handler.
[GB.IMAGE]
* BUG: Rewrite the ImageStat class source code because the PHP licence is
not compatible with the GPL.
[GB.QT4]
* BUG: System tray icons deletion is delayed now, to avoid a crash if you
hide an icon during inside an event handler.
git-svn-id: svn://localhost/gambas/trunk@6344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Abs(True) now returns 1, and Abs(False) returns 0. It breaks the
rule of TypeOf(Abs(x)) = TypeOf(x), but it is more useful while being
backward compatible.
git-svn-id: svn://localhost/gambas/trunk@6332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Opening a SQLite database file automatically creates a new
connection and open it in the database editor.
* NEW: Redesign the form menu editor.
* BUG: Fix copy & paste in the form menu editor.
* NEW: The IDE now can open a single extern file without any project. This
is done internally by creating a temporary fake project. The GUI tries to
adapt to that new mode, but this is not yet perfect.
[INTERPRETER]
* NEW: Args.Max is a new property that returns Args.Count - 1.
[GB.QT4]
* NEW: When several menus have the same shortcut, one is triggered instead
of displaying a warning message and doing nothing.
[GB.QT.EXT]
* NEW: Editor: CTRL+X now cut the current line if nothing is selected. If
you stay on the same line, cutted lines accumulate.
git-svn-id: svn://localhost/gambas/trunk@6324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the custom browser support.
* NEW: Add Chromimum to the list of browsers.
[INTERPRETER]
* NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they
have raised an error. FALSE is everything was ok.
[GB.FORM.MDI]
* NEW: Redesign the shortcuts configuration dialog.
* NEW: Shortcuts now can be exported and imported.
[GB.GTK]
* BUG: DrawingArea: Clipping is correctly established now before raising
the Draw event.
* BUG: Keyboard events have been fixed. Key array accessor and Key.Code now
behave the same way as in gb.qt4.
* BUG: The Key.Meta property works correctly now.
* BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround
for that new weird behaviour.
* BUG: Automatic window minimum size now works correctly.
* BUG: Windows can take focus as in gb.qt4.
[GB.GUI.BASE]
* BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw
event. Otherwise you get drawing artifacts with gb.gtk.
* BUG: GridView: Setting the column width to -1 is taken into account by
the layout routine.
git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allows last changes to be displayed for everyone.
* NEW: Display last changes as a table with links.
[GB.FORM]
* BUG: Draw.Line() correctly takes into account the LineStyle property in
all cases now.
* BUG: Fix the dash patterns used for implementing the Draw.LineStyle
property.
git-svn-id: svn://localhost/gambas/trunk@6296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a string leak in program exit routine.
* BUG: The Param class now can be used while debugging.
git-svn-id: svn://localhost/gambas/trunk@6295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Raising an error during the program exiting is possible now.
* NEW: Raise an error if an _exit method loads a new class. This is now
forbidden!
[GB.SETTINGS]
* OPT: Settings.Clear() does not mark the settings file to be saved if
there is nothing to clear.
git-svn-id: svn://localhost/gambas/trunk@6293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Making executable works again.
[INTERPRETER]
* BUG: Don't use vfork() if a process has a custom environment, use a
terminal or is run through a shell.
[GB.FORM]
* BUG: ValueBox.ReadOnly works as expected now.
git-svn-id: svn://localhost/gambas/trunk@6292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly load information files on component classes overriden by a
project class.
[INTERPRETER]
* BUG: Use vfork() only if a new process does not use a virtual terminal,
does not run in a shell, or use a specific environment.
git-svn-id: svn://localhost/gambas/trunk@6291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Define the TZ environment variable at startup if it not defined to
prevent the glibc to stat the '/etc/localtime' file again and again.
* OPT: Cache the last value of System.TimeZone during at most 10 minutes.
[GB.FORM]
* OPT: Implement a directory cache to minimize the number of calls to the
Stat() function.
[GB.SETTINGS]
* BUG: Do not mark the settings file as modified if the stored value is not
really changed.
git-svn-id: svn://localhost/gambas/trunk@6290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't check conflict on project configuration file if that files
does not exist.
[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.
[INFORMER]
* BUG: Remove unneeded parenthesis on a test.
[GB.CLIPPER]
* BUG: Remove an unused variable.
[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.
[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it
behaves exactly like a TextBox.
[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach
current tab" menu entry is disabled when needed.
[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the
documentation.
git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rand() is a new function that returns an integer random number.
Rand(X) returns a integer random number between 0 and X included.
Rand(X,Y) returns a integer random number between X and Y included.
* BUG: System.TimeZone now returns the accurate value, i.e. the number of
seconds that must be *added* to go to UTC.
git-svn-id: svn://localhost/gambas/trunk@6282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add a small reserved area in the stack for the Eval() function, so
that the debugger can return the contents of a variable after a stack
overflow without raising a new stack overflow error and then crashing.
git-svn-id: svn://localhost/gambas/trunk@6276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible crash if the debugged process is stopped during the
Debug Read event.
git-svn-id: svn://localhost/gambas/trunk@6275 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Write in the bytecode file if a function uses the IsMissing() native
routine.
[INTERPRETER]
* OPT: Don't use a stack slot for missing arguments if the IsMissing()
function is not used.
git-svn-id: svn://localhost/gambas/trunk@6274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: System.TimeZone now takes the daylight saving time into account.
git-svn-id: svn://localhost/gambas/trunk@6273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use a control variable to store the missing optional argument map,
so that the JIT compiler is not trapped.
git-svn-id: svn://localhost/gambas/trunk@6264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: IsMissing() is a new function that returns if an optional argument
is missing. It always returns FALSE on a non-optional argument.
[INTERPRETER]
* NEW: Support for IsMissing().
git-svn-id: svn://localhost/gambas/trunk@6258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly raise a syntax error now when there is anything between
the left part of an assignment and the assignment operator.
git-svn-id: svn://localhost/gambas/trunk@6253 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly drop arguments when using the new '...' symbol syntax.
[COMPILER]
* BUG: Correctly drop arguments when using the new '...' symbol syntax.
git-svn-id: svn://localhost/gambas/trunk@6252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new '...' symbol usage in function calls.
[COMPILER]
* NEW: '...' can be used for passing all the variables arguments of the
current function to another function. The '...' symbol must be the last
argument of the function call.
git-svn-id: svn://localhost/gambas/trunk@6251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now a method or property object datatype can be overridden by a more
specialized one.
git-svn-id: svn://localhost/gambas/trunk@6249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix memory leak with Lower$() and Upper$() on some null strings.
git-svn-id: svn://localhost/gambas/trunk@6241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TabPanel.Moveable is a new property that makes tab button moveable
if set.
[GB.FORM.MDI]
* NEW: Workspace tab buttons are now moveable.
git-svn-id: svn://localhost/gambas/trunk@6239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a new background generated from the QuasiRegular new example.
* BUG: Disable replace controls in the search dialog when searching the
output window.
[WIKI]
* BUG: Fix style sheet for tables at the beginning of a block.
* BUG: Fix title retrieving of component links.
[EXAMPLES]
* NEW: QuasiRegular: A new example that shows an example of a quasi-regular
pattern.
[INTERPRETER]
* BUG: Use interpreter API constants in 'gbx_watch.c' so that duplicate
constants are removed.
git-svn-id: svn://localhost/gambas/trunk@6235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
the source root directory.
git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise an error if a function has too many arguments or too many
local variables.
git-svn-id: svn://localhost/gambas/trunk@6223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a echo button in the output console, that echoes the entered
command.
[WIKI]
* NEW: Add a HTTP server requests graph.
[INTERPRETER]
* BUG: The debugger does not change the Key property of collections when
displaying them.
* NEW: Collection.Key is writable now.
[GB.FORM]
* NEW: FontChooser: Always reset sample text at first use.
* BUG: FontChooser: Fix the behaviour when size changes.
git-svn-id: svn://localhost/gambas/trunk@6222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new wiki now.
[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.
[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.
[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the
'OUTPUT TO' instruction).
[GB.FORM]
* NEW: Some new icons.
[GB.FORM.STOCK]
* BUG: Fix all missing icons.
[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.
[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.
[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.
[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and
returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and
being older than 24 hours are automatically removed from disk.
git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use vfork() instead of fork() to implement EXEC and SHELL, so that
when the child process cannot run the child program for any reason, the
error is immediately catched.
* BUG: Fix a possible file descriptor leak when using LOCK.
git-svn-id: svn://localhost/gambas/trunk@6189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Conversion from complex to number now returns the real part if the
imaginary part is null, and raises an error otherwise. It does not return
the complex modulus anymore. Use Abs() for that.
git-svn-id: svn://localhost/gambas/trunk@6157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Menu shortcut for defining a class or a form as startup class has
been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.
[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic
conversion between the old wiki syntax and the new markdown syntax cannot
be perfect. Not yet done: history, registration, to do list.
[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc'
plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific
one.
* NEW: WaveGenerator: Allow to choose the wave form.
[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined
in the project.
[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does
not hide its contents anymore when losing the focus if its value was the
default value.
[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the
control anymore if their width and height arguments are omitted.
[GB.MARKDOWN]
* BUG: Bug fixes, tuning...
[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer
value now.
git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rename the PathWatch class to Watch.
* NEW: Generalise the events raised by the class for future portability.
* NEW: Add static properties Name, IsDir, Unmount and Cookie and remove the
corresponding event handler arguments.
* NEW: Do not automatically reference a Watch anymore to keep it sane.
* BUG: Automatic detection of watch events works now (#6115).
* BUG: Invalidate Watch objects when the kernel tells us to.
* BUG: Don't enter an infinite loop if some event bits are not recognised.
* OPT: Use hash tables to improve lookups.
git-svn-id: svn://localhost/gambas/trunk@6147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Dutch translation updated in many places.
[DEVELOPMENT ENVIRONMENT]
* NEW: New option to run a program inside a true virtual terminal, but its
standard error output is redirected to the IDE console.
[WIKI]
* NEW: New Gambas wiki CGI script. It aims at replacing the current wiki.
Currently in development...
[INTERPRETER]
* NEW: A new '-t' hidden command-line argument to support redirecting the
standard error output to a named pipe.
[GB.IMAGE]
* BUG: Link with the mathematic library as the pow() function is used for
the image gamma filter.
[GB.MARKDOWN]
* NEW: Markdown.Line is a new property that returns the current line if an
error occurs while converting markdown syntax to HTML.
* NEW: Support for custom commands "{@...}".
* NEW: The quote characters has the same effect as the backquote character,
except that markdown is allowed inside.
[GB.QT4]
* BUG: Clipboard.Paste() now returns the image when there is both image and
text inside the clipboard.
git-svn-id: svn://localhost/gambas/trunk@6146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix word separators in text editor automatic completion.
[EXAMPLES]
* NEW: Start a new Web application example.
[GB.FORM]
* NEW: DateChooser.MinValue is a new property that allows to define the
minimum date that can be selected.
* NEW: DateChooser.MaxValue is a new property that allows to define the
maximum date that can be selected.
* NEW: DateChooser: The mouse wheel allows to scroll months and days now.
* NEW: LCDLabel: Add support for some new characters.
[GB.GUI.BASE]
* BUG: Draw.End() now resets antialiasing to TRUE.
git-svn-id: svn://localhost/gambas/trunk@6118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GB.CanRaise() API now does not take the locked status of the
parent object into account anymore. It really checks if an event has an
event handler.
git-svn-id: svn://localhost/gambas/trunk@6115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix array creation operator when it has no arguments.
[INTERPRETER]
* BUG: Fix array creation operator when it has no arguments.
git-svn-id: svn://localhost/gambas/trunk@6114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix maximum number of array declaration in the same class.
* NEW: Array and Collection constructor operator [ ... ] now can take any
number of arguments. It is only limited by the maximum function size,
which leads for example to about 32000 elements for a short array.
git-svn-id: svn://localhost/gambas/trunk@6110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rename the Inotify class and descendants to PathWatch.
* NEW: Use array semantics instead of properties to manipulate event masks.
These can operate on multiple flags simultaneously now.
* OPT: Determine the default event mask for a PathWatch object by the event
handlers defined for it (* not working ATM).
* OPT: Save a string copy.
git-svn-id: svn://localhost/gambas/trunk@6109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: All event signatures got a Boolean argument to support the IN_ISDIR
flag set by the kernel indicating that the subject was a directory.
git-svn-id: svn://localhost/gambas/trunk@6097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: If an error is raised inside a TRY context, the Error.Backtrace
property is reset to NULL. It does not keep its previous value anymore.
git-svn-id: svn://localhost/gambas/trunk@6090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow a CASE expression list to spread among the next line provided
that the current line ends with a comma.
git-svn-id: svn://localhost/gambas/trunk@6084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly close the standard error output of an ending process if
its standard output has already been closed.
git-svn-id: svn://localhost/gambas/trunk@6081 867c0c6c-44f3-4631-809d-bfa615b0a4ec