* BUG: In Editor, fix handling of text lines having non-ascii characters
inside.
git-svn-id: svn://localhost/gambas/trunk@4000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Pretty print" is now "Format code".
* NEW: New option tab the code formatter in the option dialog.
[GB.FORM]
* NEW: The IconPanel left panel now correctly resizes itself to fit its
contents.
[GB.GTK]
* NEW: Remove the Window.Type property and the WindowType class.
[GB.QT4]
* NEW: Remove the Window.Type property and the WindowType class.
git-svn-id: svn://localhost/gambas/trunk@3979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView.Columns[].Expand is a new property that allows to define if
a column automatically expands to fit the GridView visible width,
provided that the GridView.AutoResize property is set. If no column has
its Expand property set, then the last column will expand anyway.
* BUG: Fix a crash in GridView when the gb.gtk component shared library is
freed.
[GB.QT4]
* NEW: GridView.Columns[].Expand is a new property that allows to define if
a column automatically expands to fit the GridView visible width,
provided that the GridView.AutoResize property is set. If no column has
its Expand property set, then the last column will expand anyway.
git-svn-id: svn://localhost/gambas/trunk@3953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DataSource.Count is a new property that returns the number of
records of the DataSource.
[GB.FORM]
* BUG: Setting the ScrollArea.Painted property works correctly now.
[GB.GTK]
* BUG: Clean up the MovieBox implementation.
* NEW: MovieBox.Alignment is a new property that defines the alignment of
the movie inside the MovieBox frame.
* BUG: Clean up the PictureBox implementation.
* BUG: Fix the PictureBox aligment property.
[GB.QT4]
* NEW: MovieBox.Alignment is a new property that defines the alignment of
the movie inside the MovieBox frame.
git-svn-id: svn://localhost/gambas/trunk@3931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new Application.ShowTooltips property.
[GB.GTK]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
visible or not.
[GB.QT4]
* NEW: The Application.Tooltip virtual class has been removed.
* NEW: Application.ShowTooltips is a new property to define if tooltips are
visible or not.
git-svn-id: svn://localhost/gambas/trunk@3909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a stupid crash that occurs on 64 bits systems only.
[GB.QT4.EXT]
* BUG: Fix an uninitialized variable in GEditor class.
git-svn-id: svn://localhost/gambas/trunk@3906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Lithuanian translation made by Regimantas Baublys.
* BUG: Fix loading of old Gambas 3 projects without ".src" directory.
* BUG: Multi-dimensional arrays are now correctly displayed by the
debugger.
[SCRIPTER]
* BUG: Running a script now correctly returns the value specified by
the Application.Return property.
[GB.QT4.EXT]
* BUG: Some fixes in the undo/redo management of the Editor class.
git-svn-id: svn://localhost/gambas/trunk@3899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView default background and foreground colors are correctly
taken into account now.
git-svn-id: svn://localhost/gambas/trunk@3875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Autotools project packaging.
* BUG: Autotools project packaging cannot handle extra packages
dependencies.
* BUG: Autotools project packaging does not handle extra files
dependencies yet. It will be fixed later.
[GB.FORM]
* BUG: Wizard containers is now an exported hidden class, so that
automatic completion works in the IDE.
git-svn-id: svn://localhost/gambas/trunk@3874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Classes coming from libraries are correctly taken into account in
automatic completion now.
* BUG: Fix the layout of the help window the first time it is shown.
* NEW: The recent files list should be correctly refreshed now if another
Gambas instance updates it.
[WEB SITE MAKER]
* NEW: Update for Gambas 2.23.1.
[WIKI CGI SCRIPT]
* BUG: The front page now is correctly version dependant.
* BUG: Do not add "v3" at the end of a link that has "v2" explicitely.
[INTEPRETER]
* NEW: Stream.Lines is a new property that allows to enumerate a stream
line by line until end of stream is reached.
[GB.SETTINGS]
* NEW: The Settings.Path property has been renamed as Settings.DefaultDir.
* NEW: Now Settings.Path returns the path of the settings file on the disk.
* BUG: Use a lock to prevent simultaneous writings of the same settings
file.
[GB.QT4.EXT]
* BUG: Fix how the cursor is ensured to be visible in the Editor class.
git-svn-id: svn://localhost/gambas/trunk@3866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components
accordingly.
git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Disable kill buttons correctly in database editor window.
[GB.FORM]
* BUG: Fix a possible crash in TableView when the editor control is moved.
[GB.QT4]
* NEW: The GridView Change event is raised when there is no current row
now.
git-svn-id: svn://localhost/gambas/trunk@3843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView does not raise the Scroll event if there is actually no
scrolling at all.
git-svn-id: svn://localhost/gambas/trunk@3842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: GridView Scroll event is now raised correctly when moving the
scroll bars.
git-svn-id: svn://localhost/gambas/trunk@3841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix property sheet editor position.
* BUG: Table properties can be cleared with the DELETE or BACKSPACE key.
* BUG: Do not use natural sort to sort the procedure list, so that special
methods come first.
* BUG: The current procedure should be visible now when opening the
procedure list.
* NEW: New IDE logo, with some orange inside. :-)
[GB.DB.FORM]
* BUG: Fix the "Bad Row index" error when there is no current row in the
DataView control.
[GB.QT4]
* BUG: GridView now raise the Scroll event immediately and correctly.
[GB.QT4.EXT]
* BUG: Try to fix the Editor method ensuring that the current position is
visible.
git-svn-id: svn://localhost/gambas/trunk@3839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new
properties that return the GridView contents size.
* BUG: Fix TextBox minimum height.
* BUG: Keyboard support of GridView is the same as in gb.qt4 now.
* BUG: Remove a warning message in GridView code.
[GB.QT4]
* BUG: Fix GridView ClientWidth and ClientHeight properties, so that they
return the GridView visible size.
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new
properties that return the GridView contents size.
git-svn-id: svn://localhost/gambas/trunk@3836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the initial scrolling position of the DataView control.
[GB.FORM]
* NEW: TableView behaviour takes into account the new way of getting the
GridView cell coordinates.
[GB.GTK]
* NEW: GridView ClientX and ClientY properties have been fixed.
* NEW: GridView cells X and Y properties now return the coordinates of the
cell relative to the full client area.
* BUG: The GridView row header width is correctly updated now.
[GB.QT4]
* NEW: GridView cells X and Y properties now return the coordinates of the
cell relative to the full client area.
git-svn-id: svn://localhost/gambas/trunk@3834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Always translate the True and False string dynamically.
[GB.DB.FORM]
* OPT: Try to minimize refresh when DataSource.Connection is set.
* BUG: DataView editor font is correct now.
[GB.QT4]
* OPT: Changing the number of rows or columns of a GridView does not
trigger a useless refresh anymore.
* OPT: Moving the cursor of a GridView in multiple selection mode does not
trigger a full update anymore.
git-svn-id: svn://localhost/gambas/trunk@3833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little fixes (icons mainly) in several examples.
[INTERPRETER]
* NEW: Two new interpreter APIs to set and get the value of an object
property.
[GB.DEBUG]
* BUG: Fix a warning message.
[GB.FORM]
* BUG: Setting FileView Foreground and Background properties now work as
expected.
* BUG: IconView takes its Background and Foreground properties into
account now.
[GB.GTK]
* NEW: Control Background and Foreground properties are now automatically
applied to the proxy.
[GB.QT4]
* NEW: Control Background and Foreground properties are now automatically
applied to the proxy.
git-svn-id: svn://localhost/gambas/trunk@3826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not disable Glib event loop support on KDE. It takes CPU and
memory, but Phonon needs it apparently to use PulseAudio.
git-svn-id: svn://localhost/gambas/trunk@3825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Found a workaround for the buggy Ubuntu global menu.
[EXAMPLES]
* NEW: Some little changes there and there.
[GB.QT4.WEBKIT]
* BUG: The Auth event works again.
* BUG: Website icon downloading and Icon events are more reliable.
git-svn-id: svn://localhost/gambas/trunk@3824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use widget style to draw separators whose width and height are
greater than one pixel.
git-svn-id: svn://localhost/gambas/trunk@3823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.DrawImage() and Image.PaintImage() now takes a destination
width and height arguments. But using them to stretch the source image is
not supported. Only gb.image.imlib, gb.gtk and gb.qt4 implement that
feature.
git-svn-id: svn://localhost/gambas/trunk@3822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Text editor now tries to detect HTML files with no HTML extension.
* BUG: Closing the translation dialog when displaying a file having no
translated strings yet does not incorrectly remove the translation file
anymore.
[EXAMPLES]
* NEW: ReportExample has been redesigned. It got a combo-box to select
which database driver to use.
[GB.GTK]
* BUG: MouseWheel events can be cancelled now.
* BUG: Setting the ComboBox.List property of a read-only ComboBox now
automatically selects the first element as in gb.qt4.
[GB.REPORT]
* NEW: gb.report is translatable now.
* NEW: The preview window has been redesigned and enhanced.
[GB.QT4]
* BUG: MouseWheel events can be cancelled now.
[GB.QT4.EXT]
* NEW: In Editor, [Alt]+[Home] and [Alt]+[End] now moves to the previous or
next line having the same indentation. This is useful to search the
beginning or the end of a structure control, as soon as the code is
correctly indented of course!
* BUG: Setting Editor.Highlight property now correctly updates the Editor
margin.
git-svn-id: svn://localhost/gambas/trunk@3820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little fixes in DragNDrop example.
[GB.FORM]
* NEW: ListContainer.Select(Null) unselect the current selected item.
[GB.QT4.EXT]
* BUG: No glitch anymore when drawing Editor bottom.
git-svn-id: svn://localhost/gambas/trunk@3812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix drawing of library items.
[EXAMPLE]
* NEW: Clean up the MusicPlayer example.
* NEW: The MusicPlayer example now uses the 'mp3info' and 'ogginfo'
commands to retrieve the length of the music.
[GB.FORM]
* NEW: Add a "volume" stock icon.
[GB.QT4.EXT]
* BUG: Fix management of Editor viewport size and scrollbars.
git-svn-id: svn://localhost/gambas/trunk@3809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Class.New() is a new method that does the same thing as
Object.New(), but acts on a class object instead of using the class name.
[EXAMPLES]
* BUG: In Report example, do not raise an error if the connection is
actually already opened.
[GB.REPORT]
* NEW: Use the Class.New() method to implement Report.Clone().
* NEW: Clean up the preview window.
* BUG: The zoom slider is now always synchronized with the current zoom
level.
[GB.QT4]
* BUG: Remove a debugging message.
* BUG: SvgImage now draws nothing if the SvgImage width or height is null.
git-svn-id: svn://localhost/gambas/trunk@3804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix editor message tooltip position.
* BUG: The Report brush dialog now uses the IDE color dialog to select a
gradient color.
[EXAMPLES]
* NEW: Add a level selector menu in the GNUBoxWorld example, and change the
look of some tiles.
[GB.GTK]
* NEW: SvgImage.Resize() is a new method to define the width and height of
the svg image in one shot.
[GB.QT4]
* NEW: SvgImage.Resize() is a new method to define the width and height of
the svg image in one shot.
git-svn-id: svn://localhost/gambas/trunk@3800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ensure that the popup is closed when destroying a combo-box.
Otherwise GTK+ becomes ill.
[GB.QT4.EXT]
* BUG: Don't fill global Editor pixmap cache with yellow color.
git-svn-id: svn://localhost/gambas/trunk@3788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Draw editor cursor position outside of the editor, otherwise it
slows down editor refresh.
[WEBSITE MAKER]
* NEW: Support for new web site translations.
[GB.QT4.EXT]
* OPT: Do not draw Editor cursor position. It slows down editor refresh.
* OPT: Do not use Qt4 double-buffering, it slows down editor refresh a lot,
especially with Oxygen theme. A dirty hack was needed for that.
git-svn-id: svn://localhost/gambas/trunk@3781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A button to reset the search list.
* NEW: The Gambas 2 project converter now works inside a temporary
directory, and make a backup copy of the converted project.
* NEW: The Gambas 2 project converter now correctly handle:
- The changes in HSplit and VSplit Layout property.
- The container Padding and Spacing properties.
- The old ColorBox class.
- The Scaled property.
- OPEN instructions beginning with a TRY.
- Lines of code having UTF-8 character inside.
[WEBSITE MAKER]
* NEW: News came back.
* NEW: Some design changes.
[GB.GTK]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
raising an error and by ignoring it.
[GB.QT4]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
raising an error and by ignoring it.
[GB.QT4.EXT]
* NEW: Some little drawing fixes in Editor.
git-svn-id: svn://localhost/gambas/trunk@3778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Move some source files.
* NEW: Handle single field property selection correctly.
[GB.DB.FORM]
* BUG: DataCombo can handle a non-numeric field now.
[GB.QT4.EXT]
* BUG: Editor that separate procedure with alternative backgrounds is now
correctly refreshed when procedure limits change.
git-svn-id: svn://localhost/gambas/trunk@3776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Handle "Fields" properties correctly again.
* NEW: The table chooser dialog now knows the connection used by the data
control.
* BUG: Fix text property dialog layout.
* NEW: Draw the focus of welcome dialog buttons better.
[GB.QT4]
* BUG: Found a workaround for unwanted ScrollView scrollings during
arrangement. Not perfect yet, but hey, it's Qt's fault!
[GB.QT4.EXT]
* BUG: Fix a crash in the Editor internal routine that computes the current
procedure index.
git-svn-id: svn://localhost/gambas/trunk@3775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New option to separate procedures by using an alternate background.
* NEW: Make the welcome dialog follow the new website design.
* BUG: Changing the style correctly updates the console now.
* BUG: Fix packager wizard layout.
[EXAMPLES]
* NEW: Print framerate by using the Window.Framerate property in the
GambasGears example.
[GB.QT4.EXT]
* NEW: New option to separate procedures by using an alternate background.
git-svn-id: svn://localhost/gambas/trunk@3774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use small font in editor toolbars.
[COMPILER]
* NEW: Compile form code before class code, so that error messages always
occur inside class code.
* BUG: Correctly handle errors when loading source files.
[GB.QT4.EXT]
* BUG: The cursor position is now correctly drawn with proportional fonts.
git-svn-id: svn://localhost/gambas/trunk@3771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Little changes in Sapphire theme.
* BUG: Fix text editor toolbar tooltips.
* NEW: Support for C and C++ files.
* BUG: Support for procedure folding and unfolding shortcuts in the text
editor.
* NEW: A "Paste special" button in the code editor toolbar.
[GB.EVAL.HIGHLIGHT]
* NEW: C and C++ syntax hilighting.
[GB.FORM.MDI]
* BUG: Don't try to optimize Toolbar separators in design mode.
[GB.QT4.EXT]
* NEW: In Editor, highlight both matching braces now.
git-svn-id: svn://localhost/gambas/trunk@3770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimize Editor text layout for monospace fonts and lines with
Latin-1 characters only.
git-svn-id: svn://localhost/gambas/trunk@3768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextLabel with AutoResize set takes the WordWrap property into
account correctly now.
git-svn-id: svn://localhost/gambas/trunk@3759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the StaticContents Qt flag from the Editor control. Maybe it
will fix the refresh bug some people have.
git-svn-id: svn://localhost/gambas/trunk@3757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimize detection of the current procedure.
[GB.QT4.EXT]
* BUG: Cursor moves better on folded procedures in Editor.
* OPT: Some little optimizations in Editor view.
git-svn-id: svn://localhost/gambas/trunk@3756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display cursor position inside editors, and not in the toolbar
anymore.
[GB.QT4]
* OPT: Do not trigger arrangement if setting the visibility of a control
has no effect.
[GB.QT4.EXT]
* NEW: Editor can display the cursor position inside itself.
git-svn-id: svn://localhost/gambas/trunk@3755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.AntiAlias is a new property that defines if antialiasing is
used for drawing. It should be TRUE by default.
git-svn-id: svn://localhost/gambas/trunk@3754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.
[WEB SITE MAKER]
* NEW: Some website updates.
[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
the alpha channel.
[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().
git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
into account.
[GB.QT4]
* NEW: The Control.Mouse and Control.Cursor properties now take the proxy
into account.
git-svn-id: svn://localhost/gambas/trunk@3703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Image.Rotate(0) works correctly now. It makes a deep copy of the
image, like Image.Copy().
git-svn-id: svn://localhost/gambas/trunk@3692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Harmonize the messages displayed when DESTDIR or ROOT is used during
compilation.
* NEW: Switch version number to 2.99.1 and bytecode version to 3.0.0.
WARNING! ALL GAMBAS PROJECTS MUST BE RECOMPILED.
[DEVELOPMENT ENVIRONMENT]
* BUG: Generated Debian packages now correctly depends on gambas3-dev and
not gambas2-dev.
[GB.QT4.OPENGL]
* NEW: Remove the GlArea.Text() method, as it may be impossible to
implement inside gb.gtk.opengl.
git-svn-id: svn://localhost/gambas/trunk@3673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a
ListBox in multiple selection mode.
[GB.QT4]
* NEW: ListBox.SelectAll() is a new method to select all items of a ListBox
in multiple selection mode.
* NEW: ListBox.UnselectAll() is a new method to unselect all items of a
ListBox in multiple selection mode.
* BUG: Setting ListBox.Index property works as expected in multiple
selection mode.
git-svn-id: svn://localhost/gambas/trunk@3659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new GridView selection syntax.
[GB.GTK]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
anymore.
* NEW: Control.Screenshot() method has been removed.
[GB.QT4]
* NEW: GridView.Rows.Unselect method has been renamed UnselectAll.
* NEW: GridView.Rows.SelectAll method does not take any optional argument
anymore.
* NEW: Control.Screenshot() method has been removed.
git-svn-id: svn://localhost/gambas/trunk@3655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WebView.IconDatabase[Url] returns the icon associated with a
specific URL, or NULL if no icon is associated.
git-svn-id: svn://localhost/gambas/trunk@3652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new option to show or hide little dots at end of lines.
[GB.QT4.EXT]
* NEW: A new Editor flag to show or hide little dots at end of lines.
git-svn-id: svn://localhost/gambas/trunk@3649 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Cannot clear all breakpoints while project is running.
[GB.DRAW]
* BUG: Remove useless Draw constants.
[GB.FORM]
* NEW: DirView.Renaming is a new property that returns if a directory is
currently being renamed.
* BUG: DirChooser shortcuts are not active anymore when a directory is
currently being renamed.
[GB.GTK]
* NEW: New arrangement properties behaviour: if the Padding property is not
zero, then its value is the number of pixels used for container spacing
and margin. If Padding is zero, then spacing and margin is Desktop.Scale
pixels.
* NEW: TreeView, ColumnView and ListView got a new Renaming property that
returns if an item is currently being renamed.
[GB.QT4]
* NEW: New arrangement properties behaviour: if the Padding property is not
zero, then its value is the number of pixels used for container spacing
and margin. If Padding is zero, then spacing and margin is Desktop.Scale
pixels.
* NEW: TreeView, ColumnView and ListView got a new Renaming property that
returns if an item is currently being renamed.
git-svn-id: svn://localhost/gambas/trunk@3638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
event handler now raises an error instead of displaying GTK+ warnings and
crashing.
[GB.QT4]
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
event handler now raises an error instead of displaying Qt warnings and
crashing.
git-svn-id: svn://localhost/gambas/trunk@3626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The state of a component is now a string: "Stable", "NotFinished",
or "Experimental".
* NEW: Fix the state of many components.
[GB.PCRE]
* NEW: Some code cleanups.
git-svn-id: svn://localhost/gambas/trunk@3625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update some control icons.
[GB.FORM]
* BUG: Balloon takes desktop panels into account.
* NEW: Update some control icons.
[GB.QT4]
* BUG: Fix the order of message box buttons.
* BUG: Fix Frame Client properties.
git-svn-id: svn://localhost/gambas/trunk@3619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Background colors of controls is drawn the way it should now.
* BUG: DrawingArea background takes the frame into account now.
git-svn-id: svn://localhost/gambas/trunk@3611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Qt4 crash by delaying deletion of dragged toolbar elements.
* BUG: Fix the behaviour of the toolbar when items are dragged.
* BUG: FIx the look of the dragged items.
* NEW: Expander toolbar items are made visible in configuration mode.
git-svn-id: svn://localhost/gambas/trunk@3609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Paste and Delete are now correctly disabled in the form editor when
the form is read-only.
[EXAMPLE]
* NEW: New Printing example.
[GB.DRAW]
* NEW: Paint.RichTextExtents() now take an optional width argument.
* NEW: Paint.DrawText() and Paint.DrawRichText() are two new methods to
directly draw text without using an intermediate path. They make
generated PDF and Postscript files smaller.
[GB.FORM]
* BUG: Setting ScrollArea.Border property correctly refreshes it now.
* BUG: ScrollArea contents is correctly clipped now.
[GB.GTK]
* BUG: gb.gtk now requires 'gtk+-unix-print-2.0' pkg-config library.
* BUG: Dialog.Font works correctly now.
* BUG: Relative font sizes are correctly interpreted in rich text now.
* BUG: TextArea shortcuts correctly ensure that the cursor is visible.
* BUG: Paint.DrawImage() works correctly now.
git-svn-id: svn://localhost/gambas/trunk@3607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Blights example.
[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple
of eight pixels.
* NEW: Paint.DrawImage() has been implemented.
git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: the text of IconView items is now automatically ellipsized.
[GB.QT4]
* BUG: Rich text size is now computed with no default margin around the
text.
git-svn-id: svn://localhost/gambas/trunk@3585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not use Qt4 message box standard buttons, because they are not
always translated.
git-svn-id: svn://localhost/gambas/trunk@3582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The procedure under the mouse is correctly highlighted while
scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly
handled when the project is under subversion.
[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now
correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.
git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the Rect class in the gb.draw component.
[GB.GTK]
* NEW: Remove the Rect class.
* BUG: Draw.Tile() works now.
[GB.QT4]
* NEW: Remove the Rect class.
git-svn-id: svn://localhost/gambas/trunk@3567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Redesign the option dialog with an IconView.
[GB.GTK]
* BUG: Control.Grab() now works as expected.
* BUG: Desktop.Screenshot() does not crash anymore, and works correctly
when the screenshot is outside of the root window.
[GB.QT4]
* NEW: Remove the default item margin of ListView, TreeView and ColumnView.
git-svn-id: svn://localhost/gambas/trunk@3566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
[GB.QT4]
* BUG: MoveScaled works correctly for positions and sizes that are not a
multiple of Desktop.Scale.
git-svn-id: svn://localhost/gambas/trunk@3544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Port the OnScreenDisplay example to Gambas 3.
[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now
raises the Activate event.
[GB.GTK]
* BUG: Fix warnings when creating a Slider.
[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.
git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
arrange and draw its icons.
* OPT: IconView refreshing has been optimized.
[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().
[GB.QT4]
* NEW: TextArea.Alignment has been implemented.
git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Current edited line is not highlighted by force anymore after a
global search.
[GB.FORM]
* NEW: New IconView control entirely made in Gambas.
* NEW: ScrollArea.EnsureVisible() has been implemented.
[GB.GTK]
* NEW: Old IconView has been removed.
* BUG: Do not use the deprecated tooltip API anymore.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take
an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
[GB.IMAGE]
* NEW: Color.SetAlpha() is a new method that takes an integer color, change
its alpha component, and return the modified integer color.
[GB.QT4]
* NEW: Old IconView has been removed.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take
an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
* BUG: Window default title is correctly converted from UTF-8.
[GB.QT4.EXT]
* NEW: Editor.HighlightAll is a new method to force the highlighting of the
entire text.
* NEW: The Editor.Lines CollapseAll() and ExpandAll() methods were moved to
the Editor class.
git-svn-id: svn://localhost/gambas/trunk@3513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix ButtonBox on gb.gtk.
[GB.GTK]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.
[GB.QT4]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.
git-svn-id: svn://localhost/gambas/trunk@3502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw.Arc() is a new method to draw arcs.
[GB.GTK]
* BUG: Draw.Ellipse() now correctly draws a pie when filling is enabled.
* NEW: Implement Draw.Arc().
[GB.QT4]
* NEW: Implement Draw.Arc().
git-svn-id: svn://localhost/gambas/trunk@3500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEw: Add support for finnish language.
[GB.FORM]
* NEW: Start to implement the new IconView by mixing Fabien's code and
mine.
* New: ScrollArea.Tracking property has been implemented.
* NEW: ScrollArea now undestands mouse wheel events.
[GB.GTK]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now correctly follows text alignment.
* BUG: UserContainer ClientX, ClientY, ClientWidth and ClientHeight
properties now return the accurate value.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
* NEW: Add ScrollView.Contents{W,H,Width,Height} synonymous properties.
[GB.QT4]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now uses the foreground color as expected.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
git-svn-id: svn://localhost/gambas/trunk@3496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The procedure list geets the focus again when it is opened.
[GB.FORM]
* NEW: ScrollArea is a new Container widget that is a DrawingArea with
scrolling capabilities.
[GB.GTK]
* NEW: Style is new static class whose properties return global information
about the current style. At the moment, you have Style.ScrollbarSize and
Style.ScrollbarSpacing.
* BUG: Scrollbar sliders size now follows the PageStep property.
[GB.QT4]
* NEW: Style is new static class whose properties return global information
about the current style. At the moment, you have Style.ScrollbarSize and
Style.ScrollbarSpacing.
git-svn-id: svn://localhost/gambas/trunk@3493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new "View" control group.
[GB.FORM]
* NEW: Put view controls under the group "View".
* NEW: ButtonBox now raises the Activate event.
* BUG: MaskBox does not hit RETURN and ENTER key anymore.
* NEW: DateChooser.ShowTime property was replaced by the DateChooser.Mode
property. That property can take three values: DateChoose.DateOnly,
DateChooser.DateTime and DateChooser.TimeOnly.
* NEW: DateBox.ShowTime property was replaced by the DateBox.Mode property,
like DateChooser.
* NEW: DateBox now raises the Activate event.
[GB.GTK]
* NEW: Put view controls under the group "View".
[GB.QT4]
* NEW: Put view controls under the group "View".
git-svn-id: svn://localhost/gambas/trunk@3478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Handle variant control properties as string properties.
* BUG: Try to deal with autocompletion of exported classes in component
projects that use themselves.
[GB.FORM]
* BUG: Fix ButtonBox arrangement.
* NEW: ValueBox was completely redesigned. It supports now the following
editing types: Number, Date, Time, DateTime, Currency & IPAddress.
* NEW: MaskBox.MaskChar has been removed. The mask char is now always a
space!
* NEW: MaskBox is more intelligent now with digit masks and cursor moves.
* NEW: DateChooser.ShowTime is a new property that let it edit times.
* NEW: DateBox.ShowTime is a new property that let it edit times.
[GB.GTK]
* BUG: Setting Control.Proxy to NULL works now.
* BUG: New controls are correctly arranged when they are inserted in their
parent container.
* BUG: UserControl._Arrangement has been implemented.
* BUG: UserControl.SetFocus has been removed.
[GB.QT4]
* BUG: UserControl.Arrangement is really an integer property.
git-svn-id: svn://localhost/gambas/trunk@3469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current
desktop.
[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker,
Enlighnement.
[GB.GTK]
* NEW: Support for screen available geometry.
git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: '\0' is a new string escape character for Chr$(0).
[GB.DRAW]
* NEW: Several Draw.Begin() and/or Paint.Begin() on the same device can be
safely imbricated.
[GB.EVAL]
* NEW: '\0' is a new string escape character for Chr$(0).
[GB.FORM]
* NEW: ButtonBox.Alignment is a new property to define the alignment of its
internal TextBox.
* NEW: New syntaxes for the MaskBox mask:
- '<' just after a mask character and just before a separator means that
the text before will be right-aligned.
- '!' marks the default cursor position when the MaskBox gets the focus.
git-svn-id: svn://localhost/gambas/trunk@3450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new control, MaskBox, that is a TextBox with an optional mask.
* NEW: ButtonBox now uses a MaskBox.
[GB.GTK]
* BUG: TextBox.Selection.Length now returns the correct value.
[GB.QT4]
* BUG: TextBox.Selection.Start now returns the cursor position when nothing
is selected.
git-svn-id: svn://localhost/gambas/trunk@3445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Automatic insertion of event handlers is not case sensitive anymore.
* BUG: Fix some symbol icons in automatic completion popup.
[GB.GTK]
* NEW: Key events now handle proxies.
* NEW: The events are now sent to the proxy first. This should be contrary,
but at least it does not break the IDE.
[GB.FORM]
* NEW: ButtonBox.Button is a new property that defines if the button should
be visible or not.
[GB.QT4]
* NEW: Key events now handle proxies.
* NEW: SetFocus() now follows the proxy chain.
* NEW: The events are now sent to the proxy first. This should be contrary,
but at least it does not break the IDE.
git-svn-id: svn://localhost/gambas/trunk@3443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard
events yet.
* BUG: ComboBox does not crash anymore if deleted while there is a pending
internal model update.
* BUG: Control.ScreenX and Control.ScreenY now return the correct values
for controls whose GTK+ widget has no window.
[GB.QT4]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard
events yet.
* BUG: Remove the now useless specific focus management of UserControl.
git-svn-id: svn://localhost/gambas/trunk@3441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't abort if there is a breakpoint with a bad line number stored
in the project settings file.
[GB.GTK]
* BUG: SpinBox Value property should always be accurate now.
* BUG: Enter and Leave events are correctly raised again.
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
event should not crash anymore.
* BUG: A parent menu does not raise the Click event anymore.
[GB.QT4]
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
event should not crash anymore.
[GB.QT4.EXT]
* BUG: Getting the Editor.Text property now does not leave the current line
uncolorized.
git-svn-id: svn://localhost/gambas/trunk@3440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Symbol icons are all visible again in the completion popup.
* NEW: A source language different from the one used in the source code can
be used in the translation dialog.
[GB.FORM]
* NEW: Bookmark edition has been redesigned and enhanced.
git-svn-id: svn://localhost/gambas/trunk@3433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't show '$' in the dependencies combo-box of the component
property dialog.
[INTERPRETER]
* NEW: GB.Every() is a new API that allows a component to call a callback
regularly. Useful for polling something for example.
git-svn-id: svn://localhost/gambas/trunk@3429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rect is a new class that represents a Rectangle. It has some useful
methods like Contains, Union or Intersection.
[GB.QT4]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
methods like Contains, Union or Intersection.
git-svn-id: svn://localhost/gambas/trunk@3427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Move() method now correctly works on top-level windows.
[GB.SETTINGS]
* NEW: Support for multiple screens and desktop layout when saving or
loading window geometry in a setting file.
git-svn-id: svn://localhost/gambas/trunk@3423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Simplify the implementation of the component list in the project
property dialog.
[GB.GTK]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as
the Adjust() method, so that gb.gtk and gb.qt4 behave the same.
[GB.QT4]
* BUG: Try to fix the Label and TextLabel autoresize feature, as well as
the Adjust() method, so that gb.gtk and gb.qt4 behave the same.
* NEW: Disable the glib main loop support only if we are using KDE.
git-svn-id: svn://localhost/gambas/trunk@3419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Exchange the "environment" tab with the "components" tab in the
project property dialog.
[GB.GTK]
* BUG: Rework the management of focus and window activation so that gb.gtk
and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
disappears with the Gnome window manager.
[GB.QT4]
* BUG: Rework the management of focus and window activation so that gb.gtk
and gb.qt4 behave the same (or almost). Maybe it will fix the Ballon that
disappears with the Gnome window manager.
* BUG: Do not disable the GLib support, it makes QT applications crash on
Gnome. I think it should be disable on KDE only.
git-svn-id: svn://localhost/gambas/trunk@3416 867c0c6c-44f3-4631-809d-bfa615b0a4ec