* NEW: Change the keyboard shortcuts for moving between lines having the
same indentation. Now they are CTRL+ALT+UP and CTRL+ALT+DOWN.
git-svn-id: svn://localhost/gambas/trunk@4126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash in folding procedure, by strictly folding between
procedure limits, and by not trying to be clever with comments.
git-svn-id: svn://localhost/gambas/trunk@4125 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove unused Editor.ShowWord() method and two unused flag
constants.
git-svn-id: svn://localhost/gambas/trunk@4115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In Editor, draw procedure separation on the previous line if it is
empty. Otherwise draw it on the current line.
git-svn-id: svn://localhost/gambas/trunk@4040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Fix some theme colors.
[EXAMPLES]
* NEW: WebBrowser example: Handle new WebView.Fonts.xxx properties.
[GB.EVAL.HIGHLIGHT]
* NEW: Use alternate background when highlighting scripts and styles inside
an HTML document.
[GB.FORM]
* BUG: FileView now correctly ignores errors raised during the Icon event.
[GB.QT4.EXT]
* NEW: Some little changes in the way Editor paint background of lines.
[GB.QT4.WEBKIT]
* NEW: Remove WebView.Cached property, and add a WebSettings.Cache.Enabled
property to replace it globally.
* NEW: Replace WebView.Font[] by many WebView.Fonts.xxx properties.
* NEW: Add other WebView.Fonts.xxx properties to define default font sizes.
git-svn-id: svn://localhost/gambas/trunk@4036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automatic completion now displays hidden symbols if the class is
part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
anymore.
[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
easily extract the property name of the parent class from the virtual
class name. For example, ".ApplicationArgs" is now ".Application.Args".
git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When the Change event is raised while setting the Editor.Text
property, the ReadOnly property now returns the correct value.
git-svn-id: svn://localhost/gambas/trunk@4012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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: 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 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: 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
* 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: 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: 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: 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
* NEW: In icon editor, the width of the selection frame now follows the
zoom level.
* NEW: Support for preprocessor highlighting.
[COMPILER]
* NEW: Integrated preprocessor. The following commands are supported:
#If <expr>, #Else If <expr>, #Else and #Endif. <expr> can be a
combination of constants (OS_LINUX, OS_FREEBSD, ARCH_X86, ARCH_X86...),
parenthesis, 'And' & 'Or' operators, version test (VERSION >= "3.0").
This is work in progress.
[GB.EVAL]
* NEW: A new highlighting color for the preprocessor.
[GB.QT4.EXT]
* NEW: A new highlighting color for the preprocessor in Editor control.
git-svn-id: svn://localhost/gambas/trunk@3374 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the icon editor.
[INTERPRETER]
* NEW: If Stop Event is used during the Timer event, the timer is stopped.
[INFORMER]
* BUG: Fix a file descriptor leak.
[GB.DRAW]
* NEW: Draw.Zoom() now does not draw cell borders unless zoom is greater or
equal than 6.
[GB.DESKTOP]
* BUG: Fix a forgotten "break" in a switch statement when setting a window
property with a string array.
[GB.QT4]
* BUG: Fix image leak in Clipboard.Copy() and Drag().
* BUG: Fix incorrect copy of image data when taking ownership of an image
object.
* NEW: Draw.Image() does not do a smooth transformation the image is
enlarged in both dimensions, and if the new size is a multiple of the old
size.
* OPT: DrawingArea with the default background color now does not repaint
its background before calling the Draw event.
[GB.QT4.EXT]
* BUG: Fix a bad test in GDocument::getLineFlag().
git-svn-id: svn://localhost/gambas/trunk@3368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The search list is updated correctly and almost in real time when
edited files are modified.
* NEW: When an editor is splitted, then the unfocused one is darker now.
[GB.QT4.EXT]
* NEW: Do not highlight text when reading the Editor.Text property.
* NEW: When getting the highlight state of a line, do not highlight it if
it is currently edited.
[GB.WEB]
* NEW: Request.Get and Request.Post are two array-like properties that
return the contents of the "GET" and "POST" parts of a HTTP request.
Using Request directly is possible. Then the two parts are merged.
git-svn-id: svn://localhost/gambas/trunk@3231 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ALT+UP and ALT+DOWN moves the current line or the selection one line
up and one line down.
git-svn-id: svn://localhost/gambas/trunk@3227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when scanning project class header.
[GB.FORM]
* NEW: Add svg files for "linux" and "gambas" icons.
* NEW: Stock.Debug is a new property that makes the Stock class print
debugging message when set.
* NEW: The Stock debugging messages are also activated if the environmental
variable named "GB_STOCK_DEBUG" is set.
* BUG: Better detection of how icons are stored inside themes.
* NEW: Icons directories are browsed theme by theme instead of theme being
browsed directory by directory. That follows the freedesktop
specifications.
[GB.QT4.EXT]
* BUG: Highlight.Add() now correctly handles when more than 1024
successive characters have the same highlight pattern.
git-svn-id: svn://localhost/gambas/trunk@3193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the breakpoint and watch buttons inside the code editor.
* NEW: Use another icon for breakpoints.
[GB.FORM]
* BUG: MenuButton does not react to mouse events when disabled now.
[GB.FORM.MDI]
* NEW: Use style methods to draw the toolbar handle.
* BUG: Dragging toolbar buttons work with Qt 4.7.
[GB.GTK]
* NEW: Action.IsLocked() is a new method that returns if actions are
globally locked.
* BUG: Do not try again to get information about a widget when a window is
needed and the widget is not yet realized.
[GB.QT4]
* NEW: Action.IsLocked() is a new method that returns if actions are
globally locked.
* BUG: Now windows not yet shown can be closed even if a modal window is
currently active.
[GB.QT4.EXT]
* NEW: Little changes in Editor margin drawing routine.
git-svn-id: svn://localhost/gambas/trunk@3111 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Searching spaces now works in highlighted files.
* OPT: The result of grep has been cached, so that successive searches are
faster.
[GB.QT4.EXT]
* NEW: The Editor[].Purge() method replacing character can be passed as an
argument.
git-svn-id: svn://localhost/gambas/trunk@3069 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In Editor, do not highlight a line that is currently edited in
another editor sharing the same text.
git-svn-id: svn://localhost/gambas/trunk@3018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Search string is correctly highlighted in all cases now.
[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.
[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables
with dimensions. The IDE and component source code were modified
according to that change.
[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax
highlighting.
git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec