* NEW: A new option to use utility windows or normal windows for option
dialog, search window and help browser.
[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.
[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.
[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
git-svn-id: svn://localhost/gambas/trunk@3102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the
focus, and Draw.Hover for widgets flied over by the mouse.
git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In Gambas, javascript, HTML and CSS editor, a button to insert
a color definition, or a color already defined in the current source
code.
* NEW: Allow links with title ([<link>|<title>]) in help comment syntax.
[GB.FORM]
* BUG: In FileView, file sizes are really written with 1 Kib = 1024 bytes.
* BUG: MenuButton has an Action property again.
* BUG: MenuButton raise its basic events.
[GB.IMAGE]
* BUG: COlor.Darker() works correctly for black, white and gray colors now.
[GB.IMAGE.IO]
* BUG: Image.Save() quality is correctly handled. For PNG format, the
quality is actually the compression level, between 0 and 9.
[GB.QT4.WEBKIT]
* NEW: WebFrame.HTML is a new property that returns the HTML contents of a
specific frame.
* NEW: WebFrame.Text is a new property that returns the text inside a
specific frame.
[GB.WEB]
* NEW: When the session is abandonned, the Session_Abandon() static public
method is called in the startup class.
git-svn-id: svn://localhost/gambas/trunk@3096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A menu button in the project property dialog to quickly insert
the "GB_GUI" environmental variable.
[GB.FORM]
* NEW: Enhancements in ButtonBox and MenuButton controls.
* NEW: MenuButton.Border is a new property to set if the MenuButton has a
border or not.
* NEW: If the MenuButto has no menu, it will raise its Click event if its
arrow button is clicked.
[GB.GTK]
* NEW: ToolButton are "transparent" now.
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
[GB.QT4]
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
git-svn-id: svn://localhost/gambas/trunk@3093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Always activate a window 50 ms after it has been shown, to trap any
focus stealing prevention mechanism.
git-svn-id: svn://localhost/gambas/trunk@3090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Make the component compile correctly.
* BUG: Does not crash anymore when closing a window during the _new()
method, or inside the Open event handler.
git-svn-id: svn://localhost/gambas/trunk@3089 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DateBox is a new control that can edit a date with a calendar popup.
It aims at replacing the DatePicker, and the ValueBox with date type.
* NEW: DateChooser layout is better with small sizes.
* NEW: DateChooser raises a Cancel event when you hit the Escape key.
[GB.GTK]
* BUG: Better management of window grabs.
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
It takes an optional X,Y screen position as arguments. If not specified,
the window is shown at the current cursor position.
* BUG: Now all controls catch basic events.
* BUG: Fix a crash when destroying controls.
[GB.QT4]
* NEW: Window.ShowPupup() is a new method that shows a window as a popup.
It takes an optional X,Y screen position as arguments. If not specified,
the window is shown at the current cursor position.
* NEW: TrayIcon got a PopupMenu property, like the Control class. But it
works only if the TrayIcon observer is a Window. The property has bot
been implemented in gb.gtk yet.
git-svn-id: svn://localhost/gambas/trunk@3088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display the list of all undocumented symbols.
[GB.FORM]
* BUG: Fix the behaviour of automatic expanding in the DirView control.
* NEW: Hide DatePicker and MessageLabel controls. They have many problems,
and I want to see if someone use them.
[GB.GTK]
* BUG: Popup menus now work correctly on tray icons in all cases.
* NEW: TabStrip.Closable is a new property to display little close buttons
beside each tab label. When this button is clicked, a Close event is
raised, taking the tab index as argument.
[GB.QT4]
* NEW: TabStrip.Closable is a new property to display little close buttons
beside each tab label. When this button is clicked, a Close event is
raised, taking the tab index as argument.
git-svn-id: svn://localhost/gambas/trunk@3084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix search when saving the file between two identical searches.
* NEW: Don't save the Url in the project file if it is equal to the default
URL http://www.endoftheinternet.com
[GB.QT]
* BUG: Fix the behaviour of ComboBox when setting the List property, and
the order used for saving ComboBox properties in the *.form file.
[GB.GTK]
* BUG: Fix the behaviour of ComboBox when setting the List and the ReadOnly
property, and the order used for saving ComboBox properties in the *.form
file.
git-svn-id: svn://localhost/gambas/trunk@3082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Make showing windows behave like in gb.gtk.
* BUG: GridView draw spanning cells correctly now.
git-svn-id: svn://localhost/gambas/trunk@3077 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
* NEW: Control.PopupMenu is a new property that allows to define the name
of the menu that will be automatically popped up when the user clicks on
the control with the right mouse button, or press the menu key.
Beware that if the Menu event handler is already defined for the control,
the popup menu will not open.
[GB.GTK]
* NEW: Control.PopupMenu is a new property that allows to define the name
of the menu that will be automatically popped up when the user clicks on
the control with the right mouse button, or press the menu key.
Beware that if the Menu event handler is already defined for the control,
the popup menu will not open.
git-svn-id: svn://localhost/gambas/trunk@3064 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The menu editor layout has been redesigned.
* NEW: Cut, copy & paste is possible now in the menu editor.
[GB.GTK]
* BUG: Basic controls events are correctly sent again when a modal dialog
is displayed.
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
[GB.QT4]
* NEW: ListBox.Border is a new property to set if the control border must
be displayed or not.
git-svn-id: svn://localhost/gambas/trunk@3057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a summary of warning messages after each component
compilation.
[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an
internal closure is created with the libffi library. The pointer then can
be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.
git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New code snippet to define a startup Main procedure.
* NEW: In the open project dialog, selecting a project directory now
displays the project contents inside a treeview, like the IDE does.
[GB.QT4]
* NEW: Some changes in the Font class: Font.Height is now a property that
returns the font height, and Font.Width has been removed. Now, to compute
the size of a text fragment, you must use Font.TextWidth() and
Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
Font.RichTextHeight() allow to compute the size of a rich text fragment.
* BUG: When showing a form, the initial focus should be correctly set in
all cases now.
[GB.GTK]
* NEW: Some changes in the Font class: Font.Height is now a property that
returns the font height, and Font.Width has been removed. Now, to compute
the size of a text fragment, you must use Font.TextWidth() and
Font.TextHeight(). Moreover, two new methods, Font.RichTextWidth() and
Font.RichTextHeight() allow to compute the size of a rich text fragment.
git-svn-id: svn://localhost/gambas/trunk@3024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TabStrip.TextFont is a new property that allows to define a specific
font for tabs labels.
[GB.GTK]
* NEW: TabStrip.TextFont is a new property that allows to define a specific
font for tabs labels.
git-svn-id: svn://localhost/gambas/trunk@3023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In about dialog, fade the scrolling text, as in the Firefox about
dialog.
* NEW: Clicking on a project treeview item expands it after the mouse
button has been released.
[GB.FORM]
* NEW: Clicing on a DirView item expands it after the mouse button has been
released.
[GB.QT4]
* NEW: A little fix in menu management.
git-svn-id: svn://localhost/gambas/trunk@3022 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
* NEW: New API for marking an image as modified, and for synchronizing it
before reading it, when the temporary image owner needs it.
git-svn-id: svn://localhost/gambas/trunk@3016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add locking/unlocking internal api hooks, allowing Image class to be sure image is synced/locked
to get correct access to image datas, and tag if image is altered.
git-svn-id: svn://localhost/gambas/trunk@3010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Breakpoints are correctly reset when opening a new project.
[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API
signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.
[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
automatically converted to uppercase.
git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Using object references is faster.
* BUG: Fix a misuse of GB.NewString() in the String class.
[COMPILER]
* BUG: Raise an error now when trying to create an array of structures.
[GB.QT4]
* OPT: Global widget event filter is faster.
* OPT: Do not internallt relayout TabStrip too often, because Qt takes a
lot of time to do that.
git-svn-id: svn://localhost/gambas/trunk@2974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New GB.NewZeroString() API to create a Gambas string from a
null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.
[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.
git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: 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
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking
mode, then Eof() will wait for the data before testing if something can
be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always
available.
[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
with the PIPE instruction.
[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or
show the colormap.
[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.
git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Shift+Enter disables automatic insertion of control structure
instructions.
[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel
and MenuButton controls, so that it works with gb.gtk.
[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling
algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.
[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.
git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Code snippet configuration in the option dialog.
* NEW: Automatic insertion of control structures.
[GB.SETTINGS]
* NEW: The Settings class can now load settings files located inside the
project.
[GB.QT4.EXT]
* BUG: Selected text is now correctly deleted in block mode in the Editor
class.
git-svn-id: svn://localhost/gambas/trunk@2931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the creation of the gbw3 symbolic link.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an error in arrangement icon management.
* NEW: Merge all form editor toolbars.
* NEW: Support for code snippets. Type "fo" and TAB to see it. Not yet
finished.
[INTERPRETER]
* NEW: Standard format for numbers now displays all the decimal digits.
[GB.QT4.EXT]
* BUG: Fix a possible crash in Editor selection management.
git-svn-id: svn://localhost/gambas/trunk@2929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the display of arrangement icons.
* OPT: Keep a reference on the root control is the form editor.
* BUG: Loading recent files should never crash anymore now.
* BUG: Start fixing project creation.
[INTERPRETER]
* BUG: Don't load a component if its name is the same as the main project.
[GB.QT4]
* BUG: Mouse buttons properties work again during a MouseRelease event.
git-svn-id: svn://localhost/gambas/trunk@2924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix and enhance Gambas 2 project conversion.
[GB.QT4]
* BUG: Allow control resizing whatever the arrangement of its container,
provided that its Ignore property is set.
git-svn-id: svn://localhost/gambas/trunk@2920 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as
search string in all cases.
[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.
[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent
container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles
having gradients like Oxygen are correctly displayed.
git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the popupmenu hack, it triggers menu using the Escape key as
a shortcut, and it seems not to be useful anymore.
git-svn-id: svn://localhost/gambas/trunk@2918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not trim pasted text when using special paste.
[INTERPRETER]
* NEW: Format() can format Float number with up to 16 digits now.
[GB.QT4.EXT]
* NEW: Support for an insert & block mode. This mode is toggled with the
"Insert" key.
git-svn-id: svn://localhost/gambas/trunk@2911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly hide the reload button in the form editor when it should
be hidden.
* NEW: Take libraries into account in the auto-completion.
[GB.QT4.EXT]
* BUG: Center the cursor when requested, even if the cursor does not move.
git-svn-id: svn://localhost/gambas/trunk@2910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove any use of Component.UserPath and any reference to "user
component".
* NEW: "libraries" management. Libraries are defined in a new tab of the
projet property dialog. At the moment, libraries exported classes are not
taken into account by the automatic completion.
* NEW: The ESC key now closes the help browser.
* BUG: Correctly translate compilation error messages.
[INTERPRETER]
* NEW: "libraries" management.
* NEW: The Component.UserPath property has been removed.
* BUG: Evaluating "Application.Path" or "Application.Name" on the command
line does not crash anymore.
[COMPILER]
* BUG: Enhance translation of some error messages.
* NEW: Take libraries into account for exported class declarations.
[ARCHIVER]
* NEW: new "-x" option to extract a file from an archive.
[GB.QT4.EXT]
* NEW: Be more clever when deciding if a line has been modified after
having its last character deleted.
git-svn-id: svn://localhost/gambas/trunk@2909 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton
horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox
horizontally fits its contents when set.
[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton
horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox
horizontally fits its contents when set.
git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.
[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.
[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.
[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.
[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.
[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.
[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
[GB.SDL.SOUND]
* BUG: The component now works correctly with gb.qt4.
[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The ESC key closes the search dialog in all cases now.
* BUG: Ignoring comments and/or strings now correctly work on every
highlighted project file.
* BUG: Correctly detect class private symbols when doing automatic
completion.
* BUG: Correctly scan exported classes that reimplement another class
located in a component.
[GB.QT4.EXT]
* NEW: Editor.Lines[].Purge() is new method to retrieve a line without
strings and/or comments.
git-svn-id: svn://localhost/gambas/trunk@2897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New search & replace dialog that replaces the old one. Browsing the
entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
search & replace dialog can do the job.
[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
button has to be shown. If Arrow is FALSE, then clicking on the
MenuButton automatically opens the menu.
[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a
window with an integer between 0 and 100. That works only if you run a
composited desktop.
[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a
window with an integer between 0 and 100. That works only if you run a
composited desktop.
git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Dialog.Font property and the Dialog.SelectFont() method.
git-svn-id: svn://localhost/gambas/trunk@2841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixes in form editor little arrangement icon management.
* BUG: Reloading a form should not crash anymore.
* BUG: Automatic completion now works on non-GUI forms.
[GB.QT4.EXT]
* NEW: TextEdit was rewritten to use the Qt4 QTextEdit class.
* NEW: TextEdit.Format.Background is a new property to define the
background color of the selected text.
git-svn-id: svn://localhost/gambas/trunk@2818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the management of little arrangement icons in the form editor.
git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The container arrangement is now displayed with a little icon on the
top right corner, only when the mouse cursor is inside the container.
[INTERPRETER]
* BUG: Event handlers defined in inherited class are called correctly now,
without crashing.
git-svn-id: svn://localhost/gambas/trunk@2806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Refresh the property sheet only for the active form.
[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.
[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
Paint.ClipExtents.
git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec