* NEW: When creating a Control, a Printer or displaying a MessageBox, check
that the GUI has been initialized, and raise an error if not, instead of
letting Qt abort the application.
git-svn-id: svn://localhost/gambas/trunk@6886 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly update end-of-line menu and button visibility.
* BUG: Project property dialog: Resetting or removing a library works
correctly again.
[GB.DESKTOP]
* NEW: More detailed error message when the mime database cannot be read.
[GB.FORM]
* NEW: Completion.Icons is a new property that allows to associate an icon
to each completion item.
* NEW: FileCompletion now displays an icon for files and another icon for
directories.
[GB.QT4]
* BUG: Update initial control visibility when the Expand property changes,
but not when the Ignore property changes.
git-svn-id: svn://localhost/gambas/trunk@6884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Text editor now can handle Unix, Windows and MAC end-of-line
formats, through a new toolbar button and a menu.
[GB.QT4.EXT]
* NEW: Editor: When setting the Text property, the end-of-line format is
automatically determined.
git-svn-id: svn://localhost/gambas/trunk@6883 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
* NEW: Implement the new wiki component description and class list for the
offline help.
* BUG: Several fixes in the editor position history.
* BUG: Workaround some spurious Qt4 webkit warnings.
* NEW: The argument editor of the project property dialog now has an
automatic file completion.
[GB.FORM]
* NEW: The Completion class has been redesigned to allow completion on a
part of the edited string.
* NEW: FileCompletion is a new class that implements automatic file name
completion.
* BUG: FileView: Fix a possible crash when the current item disappears
before begin made visible.
[GB.QT4]
* NEW: A newly created control becomes visible the first time it is resized
now, and not immediately. The goal is having almost the same behaviour as
gb.gtk, even if it not 100% backward-compatible in a few cases.
[GB.QT4.WEBKIT]
* BUG: WebView: Don't raise the Error event if the webview has been
explicitly stopped by the Stop() method.
git-svn-id: svn://localhost/gambas/trunk@6875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the 'secret-tool' utility. If it is installed on the
system, it is used instead of the 'gb.desktop.gnome.keyring' component.
* BUG: Desktop.Passwords.Enabled works correctly now on Gnome-like systems.
* BUG: Fix compilation warnings.
git-svn-id: svn://localhost/gambas/trunk@6874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TabPanel[].Closable works as expected now.
[GB.GTK]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
null integer number, the X11 client library is initialized to support
multithreaded applications.
[GB.GTK3]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
null integer number, the X11 client library is initialized to support
multithreaded applications.
[GB.GUI.BASE]
* NEW: The GridView automatic column resizing now uses Application.Busy and
cannot run longer than five seconds.
[GB.QT4]
* NEW: If the GB_X11_INIT_THREADS environment variable is defined to a non-
null integer number, the X11 client library is initialized to support
multithreaded applications.
git-svn-id: svn://localhost/gambas/trunk@6842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new filter feature of the ButtonBox control.
* NEW: Use the internal ComponentChooser control to replace the previous
component selection in the project property dialog.
[GB.FORM]
* NEW: ButtonBox.Filter is a new property to make it act like a filter box.
The new Filter event is raised when filtering must be triggered.
* NEW: ButtonBox.FilterMenu is a new property that allows to define the
popup menu associated with the filter icon.
[GB.GTK]
* NEW: PictureBox.Padding is a new property that defines the inner padding
around the displayed picture.
[GB.GTK3]
* NEW: PictureBox.Padding is a new property that defines the inner padding
around the displayed picture.
[GB.GUI.BASE]
* BUG: GridView: Remove "Collapse" from the property list.
[GB.MEMCACHED]
* BUG: Fix a typo in a Memcached constant name.
[GB.QT4]
* NEW: PictureBox.Padding is a new property that defines the inner padding
around the displayed picture.
git-svn-id: svn://localhost/gambas/trunk@6819 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: The Border class is now creatable.
* NEW: Border.Paint() draws a border object according to the value of its
properties: Style, Width, Radius, Color...
[GB.QT4]
* BUG: Paint.Dash now understands zero widths like gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@6806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do delete open windows later when the event loop is finished.
This is supported by QT, provided that you explicitly ask him to send the
deferred deletion events.
git-svn-id: svn://localhost/gambas/trunk@6798 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: 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
* NEW: Translation dialog: Add an option to replace existing translations
when importing an external translation file.
* OPT: Translation dialog: Closing the dialog is now faster.
* BUG: Farm server: Upgrading a software now does not raise en error
anymore.
[EXAMPLES]
* NEW: Update BeastScroll example to SDL2.
[GB.GTK]
* BUG: Implement the Invert property in vertical containers.
[GB.GTK3]
* BUG: Implement the Invert property in vertical containers.
[GB.QT4]
* BUG: Implement the Invert property in vertical containers.
git-svn-id: svn://localhost/gambas/trunk@6786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add gb.sdl2 and gb.sdl2.audio to the component list.
[EXAMPLES]
* NEW: Start porting SDL examples to gb.sdl2. They are not published to the
farm server yet.
[GB.UTIL]
* NEW: Raise an error if Date.EasterDay() is call for a year lower then
1583.
[GB.GTK]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is
specified.
[GB.GTK3]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is
specified.
[GB.QT4]
* NEW: Ignore WAIT inside jkeyboard event handlers only if a duration is
specified.
[GB.SDL2]
* NEW: OpenGL support.
* NEW: Window.Resizable has been implemented.
git-svn-id: svn://localhost/gambas/trunk@6779 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
* 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: ScrollView: Layout is now correct if the ScrollBar property is set
to Scroll.None.
git-svn-id: svn://localhost/gambas/trunk@6695 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: Message boxes now uses the current modal dialog as parent if there
is no active window.
git-svn-id: svn://localhost/gambas/trunk@6663 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollView layout algorithm now takes the margin into account
correctly.
* BUG: Don't crash when a modal dialog is destroyed while visible.
* BUG: Close the main window explicitly during the QUIT instruction.
git-svn-id: svn://localhost/gambas/trunk@6661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextBox: Workaround a Qt4 weird behaviour that sometimes lose the
selection. Same workaround for editable ComboBox.
git-svn-id: svn://localhost/gambas/trunk@6613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Menu.Checked property now returns the correct value for
non-radio menu items.
git-svn-id: svn://localhost/gambas/trunk@6604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Clipboard.Paste() when there are both a text and a qt image in
the clipboard.
git-svn-id: svn://localhost/gambas/trunk@6587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatic completion of software tags directly from the farm server.
* NEW: Tags and dependencies are sent when publishing a software.
[FARM SERVER]
* NEW: Tags are taken into account.
* NEW: A new request for tags automatic completion.
[GB.FORM]
* NEW: Completion is a new class to implement automatic completion on an
already existing TextBox.
* NEW: ListEditor.Moveable is a new property to enable or disable items
arrangement.
[GB.QT4]
* BUG: Application.PreviousControl returns the expected value now.
* BUG: Sometimes assigning Paint.Font has no effect. Workaround that
strange Qt bug.
git-svn-id: svn://localhost/gambas/trunk@6578 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
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default
behaviour of the control is cancelled if: the PopupMenu property is
defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
menu is displayed during the 'Menu' event handler.
[GB.GTK3]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default
behaviour of the control is cancelled if: the PopupMenu property is
defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
menu is displayed during the 'Menu' event handler.
[GB.QT4]
* BUG: Fix 'Menu' event and PopupMenu property behaviour. The default
behaviour of the control is cancelled if: the PopupMenu property is
defined, or if the 'Menu' event is stopped with STOP EVENT, of if a popup
menu is displayed during the 'Menu' event handler.
git-svn-id: svn://localhost/gambas/trunk@6519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The default shortcut for deleting is the DELETE key alone again.
* NEW: When renaming an item in the project treeview, the file extension
is not selected.
* BUG: Activating the form editor property sheet now disable the form
editor poup menu. Consequently, the delete shortcut is not triggered
unexpectedly anymore.
[GB.GUI.BASE]
* BUG: TreeView: A column resize does not automatically cancel the current
renaming.
git-svn-id: svn://localhost/gambas/trunk@6513 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
* 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
* BUG: Editor: 'Select all' and 'CTRL + END' now really goes to the end of
file.
git-svn-id: svn://localhost/gambas/trunk@6470 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
* NEW: WebView.Reload() now takes an optional boolean argument, that tells
if the cache must be bypassed when reloading the page, or not as before.
git-svn-id: svn://localhost/gambas/trunk@6450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebSettings.Cache.Path now must be located inside the '~/.cache'
directory.
* NEW: WebSettings.Cache.Clear() is a new method to clear the cache.
git-svn-id: svn://localhost/gambas/trunk@6445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix ScrollView viewport size computation when there is no
arrangement set.
git-svn-id: svn://localhost/gambas/trunk@6438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimize ScrollView arrangement when its size changes.
* BUG: The ScrollView does not flicker anymore when its size changes.
git-svn-id: svn://localhost/gambas/trunk@6436 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