* Bug: replace the removed function Font.Width by the new one Font.TextWidth
git-svn-id: svn://localhost/gambas/trunk@3098 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
* BUG: Now archlinux packages are correctly generated.
Some features like extra files or libraries are not yet implemented
git-svn-id: svn://localhost/gambas/trunk@3095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: DirChooser correctly initializes the bookmark button when reading
its state from a settings file.
* BUG: ValueBox raises basic events now.
git-svn-id: svn://localhost/gambas/trunk@3094 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: Do not incorrectly use interpreter gb_error.h header file, it crashes!
git-svn-id: svn://localhost/gambas/trunk@3092 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
* BUG: Now the list are correctly drawed on the wished page.
* OPT: the resize function of FPreview is renamed to ResizeMe
git-svn-id: svn://localhost/gambas/trunk@3087 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the reopening of edited files after a project has been "save
as".
git-svn-id: svn://localhost/gambas/trunk@3085 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: 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: Enable session debugging messages if the file '/tmp/session.debug'
exists. The debugging messages are logged into the file
'/tmp/session.log'.
* OPT: Do not update session timestamp if the difference is less than one
second.
git-svn-id: svn://localhost/gambas/trunk@3074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The interpreter compiles now when extern functions are disabled.
git-svn-id: svn://localhost/gambas/trunk@3072 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ServerSocket.Interface is a new property to define the interface the
socket will listen to. It uses a Linux-specific socket option, and I'm
not sure that it really works.
git-svn-id: svn://localhost/gambas/trunk@3071 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: Add Archlinux package support (source and binary)
Port from gambas2 code, not yet finished
git-svn-id: svn://localhost/gambas/trunk@3065 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
* BUG: Correctly fix the management of return value in native function
calls.
git-svn-id: svn://localhost/gambas/trunk@3063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not crash anymore when a native function returns one of its
argument.
* NEW: New interpreter API to enumerate a collection.
[GB.DBUS]
* NEW: Collection are fully supported now.
* NEW: The org.freedesktop.DBus.properties.GetAll() method has been
implemented.
* BUG: Correctly raise an error when calling a D-Bus method fails.
* BUG: Correctly release strings returned by D-Bus functions that must be
released.
git-svn-id: svn://localhost/gambas/trunk@3058 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
* BUG: Calling DBus methods with no arguments works correctly again.
git-svn-id: svn://localhost/gambas/trunk@3049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Signal event of the DBusSignal class now provides both the
signal name and the signal arguments.
git-svn-id: svn://localhost/gambas/trunk@3048 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix class header parsing in automatic completion.
[INTERPRETER]
* BUG: Class[].Signature has been implemented.
* BUG: Fix native method calling when some arguments must be converted.
* NEW: Two new interpreter APIs, GB.BorrowValue() and GB.ReleaseValue(), to
correctly manage values returned by GB.ReadValue().
[GB.DBUS]
* NEW: Support for exporting properties and methods. The GetAll() DBus
method has not been implemented yet, because marshalling Collection is
not supported yet. Sending signals is not supported yet too.
* NEW: The previous DBusObject class has been renamed as DBusProxy.
* NEW: A new DBusObject class. Each Gambas object that inherits DBusObject
is automatically exported through DBus.
* NEW: DBusSignal is a new class to catch DBus signals by giving its
interface name.
git-svn-id: svn://localhost/gambas/trunk@3047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: './reconf' now is used inside sub-directories for reconfiguring it,
without modifying libtool.
* NEW: To install the libtool version required by your system, use now the
'./reconf-all' script in the top directory.
git-svn-id: svn://localhost/gambas/trunk@3043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New look for version specific documentation.
[INTERPRETER]
* NEW: Assign() has been removed, and replaced by Eval() with an expression
beginning with the LET keyword.
* NEW: New routines to read a value stored at a memory address: BoolPtr(),
BytePtr(), ShortPtr(), IntPtr(), LongPtr(), SinglePtr(), FloatPtr() and
PointerPtr().
[COMPILER]
* NEW: The LET keyword can be used to write an assignment expression. Of
course it is optional.
[GB.EVAL]
* NEW: The LET keyword can be used to evaluate an assignment.
* NEW: The Expression.Compile() method does not take any argument anymore.
git-svn-id: svn://localhost/gambas/trunk@3041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Conversion between Integer or Long and Pointer is possible now.
* OPT: A little optimizations in extern function management.
git-svn-id: svn://localhost/gambas/trunk@3040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Make the interpreter compile correctly.
* BUG: Some fixes in callback management.
git-svn-id: svn://localhost/gambas/trunk@3039 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: The project tree popup menu now has the refresh action.
[GB.SIGNAL]
* NEW: New component to catch or ignore process signals.
git-svn-id: svn://localhost/gambas/trunk@3037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Store package name in the .project file.
* NEW: Take libraries into account in package dependencies.
* BUG: Fix autotools packages. Components are now stored beside the
"Component=" entry in the .project file. The "Library=" entry is for
libraries!
[ARCHIVER]
* NEW: Stores the .project file into executables.
git-svn-id: svn://localhost/gambas/trunk@3036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Arrays and structures can be sent to an extern function argument.
The extern function will receive the address of the data.
git-svn-id: svn://localhost/gambas/trunk@3035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Newly opened debug windows should now be entirely visible when there
is a desktop panel on the top of the screen.
git-svn-id: svn://localhost/gambas/trunk@3034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: In form editor, fix arrangement icons handling in forms whose menu
is visible.
git-svn-id: svn://localhost/gambas/trunk@3032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash is structure declaration analyze.
[INTERPRETER]
* NEW: Support for static array of structures. A static array of structure
'MyStruct' will create a temporary object whose class is '$MyStruct[]'.
That class does not inherit 'Array', and has only a few methods of the
Array class.
* NEW: Byte[].ToString() is a new method to convert a byte array to a
string. If no length is specified, ToString() assumes that the byte array
is a zero-terminated string.
* NEW: Byte[].FromString() is a new method that fills a byte array with the
contents of a string.
[COMPILER]
* NEW: Declaration of static arrays of structures is allowed.
git-svn-id: svn://localhost/gambas/trunk@3031 867c0c6c-44f3-4631-809d-bfa615b0a4ec