* BUG: Fix property sheet error message position.
[GB.FORM]
* NEW: Do not use a control for tab close buttons, but just an image. That
way it draws nicely with gb.gtk, that does not have transparent controls
yet.
* BUG: Fix a crash when decreasing the Count property.
[GB.GTK]
* BUG: Found a workaround for the "bug" in gtk-oxygen style that sets
the border of TreeView controls without being asked.
git-svn-id: svn://localhost/gambas/trunk@4353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Don't call GTK+ gtk_widget_modify_xxx() functions if not really
necessary, they are slow, and slower as the number of created controls
grows!
git-svn-id: svn://localhost/gambas/trunk@4278 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Try to not lose the value of 'errno' if the select() system call
fails inside the event loop.
[GB.GTK]
* BUG: Fix arrangement when there is no place for expanded controls.
[GB.QT4]
* BUG: Fix arrangement when there is no place for expanded controls.
git-svn-id: svn://localhost/gambas/trunk@4182 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
* BUG: Code indentation routine correctly handles structures now.
[INTERPRETER]
* NEW: Object.LastEventName has been deprecated, and replaced by
the Param.EventName property.
* BUG: IsFloat() is now a synonymous for IsNumber().
* BUG: Intrinsic functions description has been updated.
[COMPILER]
* NEW: "\e" is a new string escape sequence equivalent to "\x1B".
[GB.FORM]
* NEW: Use the new Control.Proxy property instead of internal observers
inside compound controls (ValueBox, ButtonBox, MenuButton).
[GB.GTK]
* NEW: Control.Proxy is a new property that allows to define a control
proxy that will handle focus, key and mouse events in original control's
place.
[GB.QT4]
* NEW: Control.Proxy is a new property that allows to define a control
proxy that will handle focus, key and mouse events in original control's
place.
git-svn-id: svn://localhost/gambas/trunk@3387 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: 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
* BUG: Fix the similar control menu in the form editor.
* NEW: Do not take the Padding into account when drawing Report containers.
* BUG: Some fixes in the Report dimension selector.
* BUG: Do not import any translation if no translation file has been
selected in the translation dialog.
[INTERPRETER]
* BUG: When converting a string into a number with Val(), only accept
thousand separators after three digits.
[GB.DEBUG]
* BUG: Lock the debugger pipe between reads, to avoid the callback to be
called ever and ever.
[GB.GTK]
* NEW: Tried to implement a transparent drawing area, but failed!
* NEW: Allow non-native GDK windows. This is experimental, as it crashed
before.
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more
details.
[GB.QT4]
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more
details.
* BUG: Sort sorted ComboBoxes before accessing it, not just before showing
the popup.
git-svn-id: svn://localhost/gambas/trunk@2762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of
the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a
string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string
is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a
string matches one of the strings between square brackets, each one being
separated by a comma.
[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events
anymore.
[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Thanks to an hack based on a global event handler, disabled controls
now answer events like in gb.qt.
git-svn-id: svn://localhost/gambas/trunk@2333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The ColorChooser control has a working color picker now.
[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now
takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse
pointer, and that runs an event loop until a mouse button is clicked, or
the ESC key is pressed.
[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now
takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse
pointer, and that runs an event loop until a mouse button is clicked, or
the ESC key is pressed.
git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix all controls that use a GtkScrolledWindow.
* BUG: Fix Control.Raise() and Control.Lower() with controls using a
GtkScrolledWindow.
* BUG: The ClientWidth and ClientHeight properties of TreeView, ListView
and ColumnView controls were implemented.
git-svn-id: svn://localhost/gambas/trunk@2126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The button that switches between form and class editor is not shown
anymore when a module or a class is edited.
[GB.GTK]
* BUG: Font management was redesigned. It does not leak memory anymore,
and now behaves like in gb.qt.
* BUG: Tristate CheckBox controls now work as expected.
* BUG: Destroy pending deleted controls before entering the event loop, to
avoid some memory leaks if the event loop is immediately aborted.
* BUG: Detach destroyed controls from their event listener, as in gb.qt.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But
the menu must be visible. To create an hidden active top-level menu, just
set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.
[GB.QT]
* BUG: Font properties are correctly inherited between containers and
children controls.
* BUG: Showing a tray icon does not eat focus events anymore.
* NEW: Top-level menus with a void Text property are not shown anymore.
[GB.QT4]
* BUG: Font properties are correctly inherited between containers and
children controls.
* BUG: Shortcut management was fixed.
* BUG: Now menu shortcuts are active even if the menu bar is hidden. But
the menu must be visible. To create an hidden active top-level menu, just
set its Text property to NULL, but keep it visible.
* NEW: Top-level menus with a void Text property are not shown anymore.
* BUG: Showing and hiding top-level menu now work correctly.
git-svn-id: svn://localhost/gambas/trunk@2034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix GotFocus and LostFocus event generation.
[GB.GTK]
* BUG: Controls using the base style color (like TextBox, TextArea...) do
not take the background color of their parent by default.
* BUG: Reparenting a top-level window, or putting it inside a Workspace
does not show hidden menus anymore.
* BUG: Handle focus events the same way as in gb.qt.
* BUG: Fix the Cursor class, and the Control.Cursor property.
git-svn-id: svn://localhost/gambas/trunk@1999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The toolbox now remembers if it is opened or closed.
[GB.QT]
* BUG: The Control.Tracking property is now visible in the IDE.
* NEW: GridView.AutoResize is a new property, set by default. The last
column of the GridView is automatically stretched only if this property
is set.
[GB.GTK]
* NEW: Control.Tracking has been implemented.
[GB.XML.RPC]
* BUG: RpcStruct.Value() should work as expected now.
git-svn-id: svn://localhost/gambas/trunk@1895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Store the component version inside the .component files for
component projects.
* NEW: Package dependencies on component use the previous version stored
in the .component file if it is available. Otherwise the current Gambas
interpreter version is used.
* BUG: Do not increment version release if the packager wizard is
cancelled.
* NEW: Package dependencies on component use the previous version stored
in the .component file if it is available. Otherwise the current Gambas
interpreter version is used.
* NEW: The package wizard remembers the last directory used for storing
packages.
* BUG: The default directory where packages are stored is the home
directory now.
* BUG: Fix the signature display routine that sometimes underlined
incorrectly.
* BUG: Use version program at each project configuration write.
* NEW: A "paste special" function in the code editor, that allows to
insert plain text or HTML text from the clipboard, and can comment it,
quote it as a Gambas string, or transform it into PRINT instructions.
* BUG: Some fix related to the now immediate invalidity of deleted forms.
[SCRIPTER]
* NEW: Support for gambas server pages!
* NEW: Server page are now run by a program named 'gbw2', which is just a
symbolic link to 'gbs2'.
[GB.GTK]
* BUG: Window.Picture property now works correctly when the window is
embedded inside a container.
* BUG: Embedded windows having a background picture are now correctly
updated when they are resized.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: The combo-box behaves now like the qt one. Its first item is always
selected at startup.
* NEW: Now deleted forms become immediately invalid.
[GB.QT]
* BUG: Clipboard.Paste() now returns an UTF-8 string.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: Checking if the application must quit is deferred, so that closing
a form and opeing another one keeps the application running.
* NEW: Now deleted forms become immediately invalid.
[GB.QT.EXT]
* BUG: Fix the Editor drawing while scrolling.
* BUG: Fix conversion from cursor position to text column in Editor.
* BUG: Fix the Editor drawing when it has been scrolled to the right.
* BUG: Don't paste in Editor if there is nothing to paste.
git-svn-id: svn://localhost/gambas/trunk@1605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Renaming a directory in the project tree now works correctly.
* BUG: Correctly refresh the form editor title when the form is locked.
[INTERPRETER]
* BUG: Dir() and RDir() do not leak memory anymore when there is a charset
conversion error during the directory parsing.
[GB.DB.MYSQL]
* BUG: Fix a possible crash when reading information on a date field.
[GB.GTK]
* BUG: Redesigned the management of Font properties.
* BUG: GridView item Font property works correctly now.
* BUG: Font Underline and StrikeOut properties were implemented for Label
controls, GridView cells, and the Draw class.
git-svn-id: svn://localhost/gambas/trunk@1443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Little changes in the hall of fame animation.
[INTERPRETER]
* NEW: Do not warn against circular references when the program aborts
because of an error.
[COMPILER]
* NEW: The error message displayed when you try to return a value in a
procedure is more explicit now.
[GB.FORM.MDI]
* BUG: When a MDI child window is activated, the focus is set on it unless
one of its child control already has the focus.
[GB.GTK]
* BUG: Fix Application.Busy when forms are embedded.
* BUG: ComboBox does not raise the Click event anymore when its Text
property changes.
* BUG: Fix the management of Window Activate and Deactivate events.
* BUG: Fix the management of GotFocus and LostFocus events.
* BUG: SetFocus is correctly honored when used inside the Open event
handler of an embedded form.
* BUG: Desktop.Scale is now computed the same way as in gb.qt.
[GB.QT]
* BUG: SetFocus is correctly honored when used inside the Open event
handler of an embedded form.
git-svn-id: svn://localhost/gambas/trunk@1436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adds a popup menu to the console window.
[WIKI CGI SCRIPT]
* BUG: Display a message when accessing a symbol page that does not exist
in the current version.
[EXAMPLES]
* NEW: New Barcode example made by Charles Guerin and modified by me.
[INTERPRETER]
* NEW: New API for returning the fully-qualified domain name.
* BUG: Fix a bug in DateAdd() that made this function corrupt the next
date to string conversion, which then lead to other bad weird things.
[GB.DRAW]
* BUG: Fix Draw.Circle center that was shifted one pixel to the top left.
[GB.GTK]
* BUG: Window.Reparent() now works correctly when embedding or unembedding
a top-level window.
[GB.NET.SMTP]
* NEW: Do not use MIME parts when it is useless.
* BUG: Try to use the fully-qualified domain name when sending the EHLO
command to the SMTP server. That actually works only if the system domain
name has been set to the DNS domain name.
[GB.PCRE]
* BUG: Fix crashes due to bad uses of interpreter API.
[GB.QT]
* BUG: Fix the drawing of the frame of cached DrawingArea controls.
git-svn-id: svn://localhost/gambas/trunk@1404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: PictureBox.AutoResize is a new property that makes the PictureBox
fits its contents.
git-svn-id: svn://localhost/gambas/trunk@1383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Libraries and include files are automatically searched inside
64 bits specific directories.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically convert old Border property to the new Border and
Resizable properties.
* BUG: The "Theme" tab of the option dialog is correctly initialized the
first time Gambas is run.
* BUG: Going to a non-existing line number in the editor does not crash the
IDE anymore.
* NEW: The IDE forms now use the new Border, Resizable and Type properties
of the Window class.
[COMPILER]
* BUG: Do not print error messages on unexpected strings with newline
inside. Just claim that an unexpected string has been encountered.
[GB.EVAL]
* BUG: Do not print error messages on unexpected strings with newline
inside. Just claim that an unexpected string has been encountered.
[GB.GTK]
* NEW: The old Border property of the Window class has been replaced by a
two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a
window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
application main window.
[GB.QT]
* NEW: The old Border property of the Window class has been replaced by a
two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a
window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
application main window.
git-svn-id: svn://localhost/gambas/trunk@1321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The busy cursor is now correctly reset in all cases when clearing
the recent file history.
[GB.FORM]
* BUG: The SidePanel.Border works correctly now.
[GB.GTK]
* BUG: Correctly handles mouse button events in the GridView control.
* BUG: Setting GridView.Rows.Count to zero does not make rows too small
anymore.
git-svn-id: svn://localhost/gambas/trunk@1209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some little layout fixes.
[INTERPRETER]
* OPT: Read the user home directory only if the current uid has changed.
Otherwise, cache it into memory.
* OPT: String memory management has been optimized.
* OPT: Some little optimizations there and there.
* NEW: A new interpreter option, "-k", that prevents shared library to be
unloaded until the process terminates. That can be useful when
debugging with valgrind.
* OPT: System.Language property was optimized.
* OPT: The gb_error.c file is now compiled with -O3.
[GB.GTK]
* BUG: Disable the management of input methods in TextBox and TextArea
controls, so that the input methods are not disturbed. Consequently;
SCIM and Bridged SCIM work again.
* BUG: You can read keyboard events properties in a Form KeyPress or
KeyRelease event handler correctly now.
git-svn-id: svn://localhost/gambas/trunk@1199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for installing control icons in native components.
[64 BITS]
* BUG: Fixed some uses of long datatype in the gb.qt.ext component, the
Splitter and the Container class of gb.qt.
* BUG: Fixed some declarations in the gb.net.curl component.
* NEW: Pointer[] is a new class that represents an array of Pointer values.
* BUG: All gb.qt, gb.gtk and gb.desktop methods that deal with X11 Window
identifiers now use Pointer and Pointer[] datatypes instead of Integer
and Integer[].
* BUG: The Embedder example was updated according to the change above.
[INTERPRETER]
* BUG: Fixed the static array management that was broken by the 64 bits
changes.
[GB.DEBUG]
* BUG: Debug.Write now does nothing if Debug.Start has not been called.
[GB.GTK]
* BUG: Fixed the implementation of the Message class that was broken.
* BUG: Fixed a crash in the Watcher class.
* BUG: Fixed the Image.Flip() and Image.Mirror() methods.
* BUG: Fixed a potential crash in timer management.
* NEW: The GridView Select event was implemented.
git-svn-id: svn://localhost/gambas/trunk@1033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
[CONFIGURATION]
* NEW: 64 bits port.
[EXAMPLES]
* BUG: Fixed the AnalogWatch example.
[WIKI CGI SCRIPT]
* NEW: Some little cosmetic changes.
[INTERPRETER]
* NEW: The extern function implementation has been redesigned and is now
based on libffi, so that it works on 64 bits system. Because of a flaw in
the compiler design, projects that use the Pointer datatype must be
recompiled to be used on a 64 bits system. This flaw will be fixed in
Gambas 3.
* OPT: Put some tables into read-only memory. About 1000 bytes are saved
for each running interpreter, except the first one.
* BUG: Does not crash anymore if a component cannot be loaded.
* NEW: Spanish translation updated.
* NEW: A new interpreter API for returning a pointer.
[COMPILER]
* BUG: Correctly compiles LONG constants inside code.
[GB.DEBUG]
* BUG: Compiles and links the gb.debug components with the thread
libraries.
[GB.DB.SQLITE3]
* BUG: Getting the primary index of a table without primary index is safe
now.
[GB.GTK]
* BUG: Modified the GLib priority of watched descriptors, as the main loop
could enter in a loop in which user interface events were not managed.
* BUG: Message boxes use application title without crashing now.
[GB.OPENGL]
* BUG: Disable dead code.
[GB.QT.EXT]
* BUG: TextEdit.TextWidth and TextEdit.TextHeight were not declared as
read-only properties.
[GB.XML.XSLT]
* BUG: XSLT class is now declared as being not creatable.
git-svn-id: svn://localhost/gambas/trunk@1006 867c0c6c-44f3-4631-809d-bfa615b0a4ec