* NEW: "Save project as" now uses a dialog box that allows to choose the
project new name.
* NEW: CSV file import dialog now can ignore the file first lines.
* NEW: CSN file import dialog now saves its contents in the setting file.
[INTERPRETER]
* BUG: Correctly remove '\t' from error messages, as that character is used
by the debugger as separator.
* BUG: Release invalid automatic instances again.
[GB.DB.FORM]
* OPT: Use a transaction when deleting many rows in DataView.
[GB.DB.POSTGRESQL]
* BUG: Remove a debugging message.
[GB.GTK]
* BUG: Changing the stack order of a control now correctly triggers a
parent arrangement.
[GB.QT4]
* BUG: Changing the stack order of a control now always triggers a parent
arrangement.
git-svn-id: svn://localhost/gambas/trunk@3225 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix procedure list crash.
[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of
RGB values, now it uses the middle of HSV values. It changes the value of
Color.LightForeground and the color used for drawing Workspace default
background.
[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several
times.
git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not store the svn revision in the .project file.
* NEW: Create a clever menu hierarchy when sorting recent files by path.
[INTERPRETER]
* BUG: Replace() correctly returns its first argument when its second
argument is a void string.
[COMPILER]
* BUG: Remove a useless test.
[GB.FORM]
* NEW: Add a svg version of the GNU logo.
* BUG: Fix some stock icons in the Gnome map.
[GB.GTK]
* BUG: Fix possible crashes in three utility routines.
* BUG: Fix a crash in GridView.Rows[].Text property.
[GB.NET.SMTP]
* BUG: Fix an always true test.
git-svn-id: svn://localhost/gambas/trunk@3206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for czech language.
[GB.GTK]
* BUG: Fix behaviour of autoresize Label and TextLabel.
git-svn-id: svn://localhost/gambas/trunk@3183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the help browser for classes whose name begins with an
underscore.
* BUG: Fix project loading when there are breakpoints set on non-existing
classes.
[INTERPRETER]
* BUG: Fix the behaviour of Eval() when the expression cannot be compiled.
* BUG: Error.Text does not crash anymore when the error message is void.
[COMPILER]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the file.
[GB.EVAL]
* BUG: Fix the parser behaviour when a non-terminated string is located at
the end of the expression.
[GB.GTK]
* BUG: Fix the behaviour of Label with AutoResize set.
[GB.QT4]
* BUG: Fix the behaviour of Label with AutoResize set.
git-svn-id: svn://localhost/gambas/trunk@3178 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: MenuButton best size should be computed correctly now.
[GB.GTK]
* BUG: ColumnView, TreeView and ListView are correctly refreshed when an
item icon is changed.
git-svn-id: svn://localhost/gambas/trunk@3172 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Reload menu in text editor.
* NEw: Inserting colors works even if there is no syntax highlighting.
* NEW: The main toolbar has one button for each main menu. That way, the
user can put the menus inside the main toolbar so that eveything fit on
one line.
* NEW: Hiding the menu now displays a removable warning message.
[WIKI CGI SCRIPT]
* NEW: Formatting characters ('*','/','_','=') are not taken into account
inside a word.
[GB.FORM]
* NEW: ButtonBox has an Action property now.
* NEW: Message.Optional() is new method to display an optional message,
i.e. a message the user can decide to not display anymore.
* BUG: TableView handle arrow keys better now.
[GB.FORM.MDI]
* NEW: One can put expanders inside a toolbar.
[GB.GTK]
* BUG: TabStrip now uses its own window, so that it is not partially
visible when covering other widgets.
* NEW: Action[].Controls is new property that returns the list of all
controls and menus associated with an action.
[GB.QT4]
* NEW: Action[].Controls is new property that returns the list of all
controls and menus associated with an action.
git-svn-id: svn://localhost/gambas/trunk@3165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Handle compiler errors having column information.
[INTERPRETER]
* BUG: Manage errors from native methods differently.
[COMPILER]
* NEW: Return the column in error messages generated by the parser.
[GB.GTK]
* BUG: Make TabStrip behave like in gb.qt when inserting a new tab.
git-svn-id: svn://localhost/gambas/trunk@3156 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some new icons.
[GB.GTK]
* BUG: Fix the error message when the SvgImage.Load() method fails.
[GB.QT4]
* BUG: Fix the error message when the SvgImage.Load() method fails.
git-svn-id: svn://localhost/gambas/trunk@3153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Splitter layout is initialized so that all new panes are visible.
* BUG: Separators whose width or height is one pixel are correctly drawn
now.
* BUG: Control.MoveScaled() and Control.ResizeScaled() work correctly now
when their width or height argument is zero.
* BUG: Buttons autoresize works correctly now.
git-svn-id: svn://localhost/gambas/trunk@3135 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a filter to the project tree view.
[GB.GTK]
* BUG: Do not crash when using TreeView item virtual classes if the
internal cursor is undefined. Raise an "invalid object" error instead.
[GB.QT4]
* BUG: Do not crash when using TreeView item virtual classes if the
internal cursor is undefined. Raise an "invalid object" error instead.
git-svn-id: svn://localhost/gambas/trunk@3120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The MoviePlayer example works again.
[GB.GTK]
* BUG: Setting DrawingArea.Enabled property to FALSE does not display a
warning message anymore.
git-svn-id: svn://localhost/gambas/trunk@3116 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: The debugger does not crash anymore when activated at startup.
[GB.FORM]
* BUG: The MenuButton now only reacts to the left mouse button.
[GB.GTK]
* BUG: Remove some debugging messages from ColumnView.Settings property.
* BUG: Do not try to get informations about a widget when a window is
needed and the widget is not yet realized.
* BUG: Fix the Control.Cursor property.
* BUG: Control.Hovered now returns FALSE when the control is not visible.
* BUG: Creating the menubar does not make all window children visible
anymore.
[GB.QT4]
* BUG: Control.Hovered now returns FALSE when the control is not visible.
git-svn-id: svn://localhost/gambas/trunk@3107 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MenuButton has been redesigned to use a DrawingArea only.
[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container
children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: The Control.Tracking property should work on all controls now.
git-svn-id: svn://localhost/gambas/trunk@3099 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: 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
* 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: READ and WRITE now correctly handle Pointer datatype.
* BUG: Classes inheriting an array class now work correctly.
[GB.FORM]
* NEW: FileChooser and DirChooser have a new ShowButton property that shows
OK and Cancel buttons inside the control. Clicking on the Cancel button
raises a new Cancel event.
* NEW: Bookmark management has been redesigned in file controls.
* NEW: MenuButton got an AutoResize property.
[GB.FORM.DIALOG]
* NEW: File dialogs now remember their geometry.
[GB.GTK]
* BUG: Fix duplicate Click event in CheckBox control.
* BUG: Correctly handle tristate Checkbox controls.
git-svn-id: svn://localhost/gambas/trunk@3076 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: 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
* BUG: Menu items have a better look now.
* BUG: Windows with Resizable set to FALSE work correctly now.
git-svn-id: svn://localhost/gambas/trunk@2984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Bytecode version has been increased, and so all projects must be
recompiled.
[INTERPRETER]
* OPT: Objects that do not raise events do not allocate the event
management structure anymore. That save four pointers by object.
* NEW: Structure management is done, and embedded (static) structures are
handled too.
* BUG: Static array management was fixed.
* NEW: All functions synonymous whose name ends with a question mark have
been removed.
[COMPILER]
* OPT: Some optimization again.
* BUG: EXTERN declarations compile again.
[GB.DB.SQLITE2]
* BUG: Fix a misuse of GB.NewString().
git-svn-id: svn://localhost/gambas/trunk@2970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use GB.ReturnNewZeroString() instead of GB.ReturnNewString() now.
All components using the old syntax should be fixed now.
* NEW: Start to manage structures.
git-svn-id: svn://localhost/gambas/trunk@2957 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: Fix a memory leak when loading an image without transparency.
git-svn-id: svn://localhost/gambas/trunk@2938 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
* 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
* 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
* NEW: Searching in all project files (except forms) has been implemented.
* BUG: Many fixes in normal search.
[GB.GTK]
* BUG: Key.Code is not lost anymore during a KeyPress event.
git-svn-id: svn://localhost/gambas/trunk@2893 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