* 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
* NEW: The search window now can browse in all source files only.
* BUG: The search list is correctly refreshed for project text files.
* NEW: The debug panel has been slightly redesigned. Local and global
variables lists are always sorted now.
[INTERPRETER]
* BUG: Do not try to run the "_exit" special method if the class load
has previously failed.
* BUG: Do not release the automatic instance when is it invalid.
* BUG: Check that the automatic instance is valid before using it.
git-svn-id: svn://localhost/gambas/trunk@3215 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
* BUG: The Object[].Add() method signature is now correctly declared.
git-svn-id: svn://localhost/gambas/trunk@3190 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: Fix the handle of formatting characters.
[INTERPRETER]
* NEW: Sizeof() now takes a datatype constant (like gb.Integer) as
argument, and not an expression anymore.
* NEW: Object.Sizeof() returns the memory used by an object in bytes.
git-svn-id: svn://localhost/gambas/trunk@3170 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Check for missing mathematical function directly instead of relying
on operating system detection.
git-svn-id: svn://localhost/gambas/trunk@3166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Do not reset the native method error flag before calling a native
method, as it is reset just after. Maybe it works, maybe not...
git-svn-id: svn://localhost/gambas/trunk@3157 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: System.FirstDayOfWeek is a new property that allows to define the
first day of the week if the default is not accurate. The default value
is gb.Sunday for english countries and gb.Monday otherwise.
* NEW: The Week() function now use the default first day of the week.
[GB.FORM]
* NEW: DateChooser now takes System.FirstDayOfWeek into account.
git-svn-id: svn://localhost/gambas/trunk@3151 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Polish the DirChooser/FileChooser bookmark button.
[GB.QT4]
* BUG: Send expected Leave and Enter events when a popup is closed.
git-svn-id: svn://localhost/gambas/trunk@3146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Prevent Process objects to try to raise their Read event when
they were killed.
git-svn-id: svn://localhost/gambas/trunk@3139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Association between file descriptors and callbacks use a direct
index now.
git-svn-id: svn://localhost/gambas/trunk@3132 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ARRAY_add_void() function now correctly adds a void element in the
array after an element has been previously removed. That bug made the
event loop mad in some cases!
git-svn-id: svn://localhost/gambas/trunk@3131 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix an unitialized structure field in extern functions management.
git-svn-id: svn://localhost/gambas/trunk@3119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix many array methods that crashed when taking abnormal 'start' or
'length' arguments. Now they raise errors.
git-svn-id: svn://localhost/gambas/trunk@3110 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: 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: 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
* BUG: The interpreter compiles now when extern functions are disabled.
git-svn-id: svn://localhost/gambas/trunk@3072 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: 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
* 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: 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: 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: 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
* NEW: Global search can be cancelled.
* NEW: The IDE does not try to open binary files anymore.
* NEW: Use the new TabStrip.TextFont property.
* NEW: The open project dialog has been redesigned.
[INTERPRETER]
* BUG: String.Left(), String.Mid() and String.Right() now return NULL on
truncated UTF-8 substrings.
git-svn-id: svn://localhost/gambas/trunk@3029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Eof() (and other file functions) using a null stream will not crash
anymore.
git-svn-id: svn://localhost/gambas/trunk@3017 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: Bytecode version has been incremented, so all projects need to be
recompiled!
[INTERPRETER]
* OPT: Many little optimizations.
* OPT: Avoid calls to setjmp() when it is possible.
* OPT: Do not encode the stack drop inside the CALL instruction.
Executables are a bit larger, but a little speed is gained.
[COMPILER]
* OPT: Do not encode the stack drop inside the CALL instruction.
Executables are a bit larger, but a little speed is gained.
git-svn-id: svn://localhost/gambas/trunk@3013 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: A little optimization in Split().
[GB.CAIRO]
* BUG: Cairo.Path() now creates a text path and does not draw anything,
like other drawing methods.
git-svn-id: svn://localhost/gambas/trunk@3008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly deals with unknown components in the project property
dialog.
[INTERPRETER]
* NEW: Error backtrace is now always printed.
* OPT: Some optimizations in mathematical routines.
[GB.IMAGE]
* NEW: Image.FillRect() is a new method that fills a rectangle with a
specified color.
git-svn-id: svn://localhost/gambas/trunk@3007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Many optimizations. One is big (gcc is not really clever sometimes!),
and now Gambas is about 30% faster than interpreted Python when running
stupid benchmarks.
git-svn-id: svn://localhost/gambas/trunk@3005 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Many optimizations again.
* BUG: Fix an unitialized variable in string to float conversion routine.
* BUG: Handle extern functions that return a pointer.
git-svn-id: svn://localhost/gambas/trunk@3003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Some optimizations again in memory allocator, object releasing
routine, arithmetic operators, class variable reader, line-by-line stream
reader, class symbol sort routine.
* BUG: Using constant strings inside variant, like database drivers, works
correctly again and does not crash the interpreter anymore.
git-svn-id: svn://localhost/gambas/trunk@2996 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: Try to fix the floating-point precision/rounding bug. In other
words, 0.6 is now printed 0.6, and not 0.6000...001 anymore.
git-svn-id: svn://localhost/gambas/trunk@2988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: StrPtr() now can take a second argument to specify the length of the
string we will read from memory. If that argument is not specified, the
string must ends with a zero character.
* OPT: Internal array management was optimized. It changes nothing for the
Gambas array class.
[COMPILER]
* OPT: Internal array management was optimized.
* BUG: Using embedded structure with a class that is not a structure now
raises an error.
git-svn-id: svn://localhost/gambas/trunk@2979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Archives are read correctly again on 64 bits OS.
* OPT: Memory allocations are now cached in a memory pool, so that malloc()
and free() are not called too often.
* BUG: The initial allocation of a new hash table is not too big anymore.
[COMPILER]
* OPT: Memory allocations are now cached in a memory pool, so that malloc()
and free() are not called too often. The compiler is now twice as fast as
it was before all the recent optimizations!
[ARCHIVER]
* BUG: Archives are read correctly again on 64 bits OS.
git-svn-id: svn://localhost/gambas/trunk@2976 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: Object file format has changed, so bytecode version has been
incremented, and all projects must be recompiled. Yes, again!
[INTERPRETER]
* OPT: Optimizations in comparison operators.
* OPT: Optimize symbol lookup tables.
[COMPILER]
* OPT: Optimize symbol lookup tables.
[GB.EVAL]
* BUG: Gambas source code is correctly highlighted again.
* NEW: Quoted identifiers (those between '{' and '}') are highlighted more
intelligently now.
git-svn-id: svn://localhost/gambas/trunk@2971 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
* NEW: More work on structure support.
* BUG: Fix optimization in error management.
[COMPILER]
* OPT: More optimizations. The Gambas 3 compiler is faster to compile the
Gambas 3 IDE than the Gambas 2 compiler to compile the Gambas 2 IDE,
which is smaller!
* NEW: Do not compute variable position and size, as it is done by the
interpreter anyway.
[GB.EVAL]
* NEW: Use the same optimizations as the compiler in the parser.
[GB.XML.RPC]
* BUG: The component compiles again.
git-svn-id: svn://localhost/gambas/trunk@2964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: L'API GB.ReturnNewString() doit pouvoir retourner une chaîne vide.
Dans ce cas elle le transforme en un GB.ReturnNull().
git-svn-id: svn://localhost/gambas/trunk@2960 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
* NEW: The bytecode version has been incremented, as the object file format
has changed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle static arrays in automatic completion.
[INTERPRETER]
* BUG: Handle public static arrays correctly.
[COMPILER]
* NEW: Handle structures, and write them inside object files.
* NEW: Class options (EXPORT, CREATE...) can only be written at the
beginning of the source file now.
* BUG: Fix some use of uninitialized values.
* BUG: Correctly write public static arrays in *.info files.
* NEW: Do not support old OPEN syntax anymore.
git-svn-id: svn://localhost/gambas/trunk@2952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Detect PowerPC architecture.
[INTERPRETER]
* OPT: As old static arrays have been removed, a new little optimization
is possible in array reading and writing functions.
git-svn-id: svn://localhost/gambas/trunk@2950 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not compile database manager anymore, it has been deprecated.
* BUG: Compile the gb.dbus component.
[INTERPRETER]
* NEW: Pointer is a real datatype now.
* NEW: Static arrays came back. They are now like real array classes,
except that they are not resizable.
* NEW: IsPointer() is a new function that tells if an expression is a
pointer.
* NEW: All XXXX?() function synonymous were removed. Use the IsXXXX()
version instead.
* NEW: Remove now useless source files.
[COMPILER]
* NEW: Static arrays came back, with actually the same syntax as before.
[EXAMPLES]
* BUG: Fix the examples according to the new array syntax.
git-svn-id: svn://localhost/gambas/trunk@2949 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for "static" arrays is finally removed.
[COMPILER]
* NEW: Support for "static" arrays is finally removed.
git-svn-id: svn://localhost/gambas/trunk@2945 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
* 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
* NEW: Do not show a form in the treeview if no component implements its
family.
[INTERPRETER]
* NEW: Detect overridden classes, and automatically convert the return
datatype of Gambas and native functions using an overridden class.
* NEW: Convert overridden classes in the NEW instruction.
git-svn-id: svn://localhost/gambas/trunk@2912 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
* 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
* BUG: Errors on immediate debugging expressions are correctly displayed
now.
[WEB SITE MAKER]
* BUG: "mailto:" links are correctly generated now.
[INTERPRETER]
* NEW: The 'u' and 'uu' date formats do not display a point anymore. The
point must be specified explicitely in the format string.
git-svn-id: svn://localhost/gambas/trunk@2900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Standard streams are correctly initialized now. Consequently, Input
and Line Input on them work correctly again.
git-svn-id: svn://localhost/gambas/trunk@2869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Process stream correctly detects when something has been really read
during a Read event.
[GB.NET.SMTP]
* NEW: SmtpClient._NoGreeting is a new property that tells not to read the
SMTP server greeting. This is needed, because with TLS authentication,
openssl does not print it.
git-svn-id: svn://localhost/gambas/trunk@2865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GB.Stream.Read API reads up to a defined number of bytes when
its length argument is negative (like the READ instruction).
* NEW: Reading a stream up to a defined number of bytes blocks for the
first byte to read.
[GB.NET.SMTP]
* BUG: The SmtpClient now works when it is piped with a stream coming from
the openssl command, either with TLS or SSL.
* BUG: All SMTP commands are sent in lower case, because uppercase can
confuse openssl.
git-svn-id: svn://localhost/gambas/trunk@2864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New APIs to get a Gambas stream from a stream object
(GB.Stream.Get), to read data from a stream (GB.Stream.Read) and to write
date to a stream (GB.Steam.Write).
[GB.NET.SMTP]
* BUG: The _Socket property has been replaced by the _Stream property, that
takes a Gambas stream.
* BUG: Correctly release the user and password strings when the SmtpClient
is freed.
git-svn-id: svn://localhost/gambas/trunk@2863 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New interpreter API to browse the project contents.
* BUG: RDir(".") does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@2861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix an uninitalized flag in the stream internal structure.
* BUG: Remove a forgotten debugging breakpoint.
git-svn-id: svn://localhost/gambas/trunk@2845 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Application.Startup now returns a Class object, the startup class.
git-svn-id: svn://localhost/gambas/trunk@2823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Startup class name is now correctly returned by Appliction.Startup
git-svn-id: svn://localhost/gambas/trunk@2821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Application.Startup is a new property that returns the name of the
startup class.
* NEW: Class.AutoCreate is a new method that creates the automatic instance
of a class, and returns it. It returns NULL if the class is not
auto-creatable.
git-svn-id: svn://localhost/gambas/trunk@2820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: RDir() takes a fourth optional argument, that tells if symbolic link
to directories must be recursively searched too.
[GB.DEBUG]
* BUG: Prevent a possible freeze of the IDE when debugging.
git-svn-id: svn://localhost/gambas/trunk@2819 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
* BUG: Prevent a crash if during a _free special method, an element is
removed from a collection being freed.
git-svn-id: svn://localhost/gambas/trunk@2789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add many mising symbolic links on 'missing' and 'install-sh' files.
* NEW: Introduce Gambas minor version number.
[DEVELOPMENT ENVIRONMENT]
* NEW: Packager now uses minor version of Gambas for default component
requirements.
[INTERPRETER]
* NEW: System properties were replaced by constants where it is possible.
* NEW: System.FullVersion is a new constant that returns the full Gambas
version string, with major and minor numbers.
git-svn-id: svn://localhost/gambas/trunk@2781 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
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.
[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a
string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.
[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is
currently drawn.
[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].
[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly
anymore.
git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw ReportImage controls.
* NEW: Handle new property kinds: ReportCoord, Image.
[INTERPRETER]
* BUG: Fix some misuse of signed char.
[GB.REPORT]
* BUG: Fix declarations of properties.
* NEW: Use the new ReportCoord property kind.
* NEW: Some little changes in the ReportBorder class.
git-svn-id: svn://localhost/gambas/trunk@2755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: IUTF8 flag may not exist in virtual terminal management.
* BUG: long double mathematic functions do not exist in CygWin.
git-svn-id: svn://localhost/gambas/trunk@2748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start to handle "Image" control properties.
[GB.DEBUG]
* OPT: The debugging callback is called again and again, even if there is
nothing sent by the debugger. So sleeping a little prevent from eating
the CPU.
[GB.REPORT]
* BUG: Use Float instead of Integer for coordinates arguments.
* NEW: Replace ReportImage.Path by ReportImage.Image.
* NEW: Clip the controls inside a dedicated procedure.
git-svn-id: svn://localhost/gambas/trunk@2726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: The blocking state of streams is cached now, so that the fcntl()
system call is less used.
[GB.FORM]
* BUG: Stock icons work correctly again.
[GB.QT4]
* NEW: When drawing on a DrawingArea, Draw and Paint dimension properties
always return the size of the DrawingArea, even if it is cached.
* BUG: DrawingArea contents is not assume to be static anymore. Resizing
them always send a full repaint event.
git-svn-id: svn://localhost/gambas/trunk@2724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Allow a dynamic class to inherit a native static class without
crashing.
[GB.FORM]
* OPT: Try to do a little less file browsing when loading stock icons.
git-svn-id: svn://localhost/gambas/trunk@2716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for report form continues. Controls declaration has moved
from *.component files to the following Control hidden properties:
_Family, _Group, _IsControl, _IsContainer, _IsMultiContainer, _IsVirtual,
_IsForm. And to the following Form hidden properties: _HiddenControls.
The wiki control documentation will be updated soon.
[COMPILER]
* NEW: Do not print a warning for a missing self-referenced *.list file.
* NEW: The '-L' is a new command-line option to print the license. The '-h'
now only prints help.
[INFORMER]
* BUG: Support for boolean public constants.
[GB.DB.FORM]
* NEW: Update control declarations to the new scheme.
[GB.FORM]
* NEW: Update control declarations to the new scheme.
[GB.GTK]
* NEW: Update control declarations to the new scheme.
[GB.QT4]
* NEW: Update control declarations to the new scheme.
git-svn-id: svn://localhost/gambas/trunk@2708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components:
_IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.
[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.
[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.
[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.
[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the GB.ConvString() API.
[GB.GTK]
* BUG: Fix the Key[] array accessor, so that it (almost) works like gb.qt.
[GB.PDF]
* NEW: All dimensions are now returned as Float.
* BUG: PdfDocument.Find() now works correctly.
git-svn-id: svn://localhost/gambas/trunk@2672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Sort project tree view with natural sort.
* NEW: Sort procedure combo-box with natural sort.
[GB.DB.FORM]
* BUG: Setting a "SELECT" request to the DataSource.Table property should
work in all cases now.
[GB.FORM.MDI]
* NEW: Vertical toolbar layout is more clever.
[GB.GTK]
* BUG: Modal windows are really modal.
* BUG: Try to prevent a possible crash in event management.
[GB.GTK.EXT]
* NEW: This component has been removed.
git-svn-id: svn://localhost/gambas/trunk@2669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Welcome dialog was redesigned.
* BUG: Do not use the main window to display an error message if it is not
opened.
[INTERPRETER]
* BUG: Fix command-line arguments parsing again.
[GB.QT4]
* BUG: Some text alignment flags were not correctly detected.
* BUG: Cached DrawingArea should work as expected again.
git-svn-id: svn://localhost/gambas/trunk@2662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix commnad-line arguments parsing.
* NEW: System.Family is a new property that returns the operating system
family (Linux, FreeBSD...) as a string.
* NEW: System.Architecture is a new property that returns the current CPU
architecture as as string: x86, x86_64 or ARM.
git-svn-id: svn://localhost/gambas/trunk@2660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Popup menus now grab events correctly.
[INTERPRETER]
* BUG: Clean up usage help messages for gbx3 and gbr3.
[GB.FORM]
* NEW: FileView now sorts files by using natural sort.
git-svn-id: svn://localhost/gambas/trunk@2658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Apply color theme to project treeview, property sheet and form
hierarchy window.
[INTERPRETER]
* NEW: gbr3 and gbx3 now interpret their command line the same way.
* NEW: The -L option now prints the license, and the -h option only print
the interpreter usage.
[GB.GTK]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
Paint class implementation.
[GB.QT4]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
Paint class implementation.
git-svn-id: svn://localhost/gambas/trunk@2653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Linkification does not erase symbols references anymore.
[INTERPRETER]
* BUG: Use the system maximum path length constant, not ours.
[COMPILER]
* BUG: Allow Inherits to be followed by any indentifier.
git-svn-id: svn://localhost/gambas/trunk@2647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Configuration summary should be printed correctly again.
* NEW: README file was updated.
[INTERPRETER]
* BUG: The Error information should not be lost anymore during error
propagation through constructors.
* NEW: Natural comparison is now always language-aware.
[GB.QT4]
* BUG: TextArea selection methods work correctly now.
* BUG: TreeView.Count and ColumnView.Count now return the number of items
in the view like in gb.gtk, not just the number of root items.
git-svn-id: svn://localhost/gambas/trunk@2643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: gb.Text has been deprecated, and a warning is printed each time it
is used now. Use gb.IgnoreCase instead.
* NEW: Natural string comparison and sorting were implemented. Use the
gb.Natural constant for that.
git-svn-id: svn://localhost/gambas/trunk@2640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the compilation and installation order of sub-directories.
[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not
like them.
[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent
container has no arrangement.
[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the
window manager close button.
git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use -fnested-functions only on Mac OS X.
* BUG: The GB_COMPONENT macro now correctly voids all component variables
when the component is not found.
git-svn-id: svn://localhost/gambas/trunk@2621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not use the "echo" command with options, FreeBSD shell does
not understand it.
* BUG: Make the "main" directory compile on Mac OS X.
git-svn-id: svn://localhost/gambas/trunk@2619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not crash anymore when running the interpreter in a directory
that is not a gambas project. And print a clear message then.
git-svn-id: svn://localhost/gambas/trunk@2617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The ImageViewer example now uses the Paint class.
[INTERPRETER]
* NEW: Class.Symbols now returns a string array of all class public
symbols.
* NEW: Component.IsLoaded is a new static method to check if a specific
component has been loaded.
* NEW: Components.Load has been removed.
[GB.GTK]
* NEW: Cairo requirements have been added to the configure.ac file.
* NEW: The Container.Children.Clear method has been implemented.
[GB.GUI]
* NEW: Add gb.image requirement in the gb.gui component file.
[GB.QT4]
* BUG: DrawingArea scrollbars are correctly displayed again.
* BUG: DrawingArea internal cache is correctly resized with the control.
git-svn-id: svn://localhost/gambas/trunk@2606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Hexadecimal numbers can be interpreted as Long only if they have
more than eight digits (32 digit for binary numbers), or if they are
unsigned.
[COMPILER]
* BUG: Hexadecimal numbers can be interpreted as Long only if they have
more than eight digits (32 digit for binary numbers), or if they are
unsigned.
git-svn-id: svn://localhost/gambas/trunk@2592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new interpreter API to get temporary file names.
* NEW: A new interpreter API to copy a file.
* NEW: Rename the GB.GetTempDir() function to GB.TempDir(), and fix all
components using it.
[GB.GTK]
* NEW: SvgImage is a new class that allows to generate SVG files by
painting on it. But it cannot render them.
git-svn-id: svn://localhost/gambas/trunk@2583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly save ListBox having exactly 31 items defined from the IDE.
[INTERPRETER]
* BUG: Now when a method call fails when checking arguments, the arguments
are correctly released.
[GB.QT4]
* NEW: The Window background picture is now drawn differently, and not
propagated anymore.
git-svn-id: svn://localhost/gambas/trunk@2582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a HTML markup mistake.
[GB.GTK]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
[GB.GUI]
* BUG: Add Printer control to the *.component file.
[GB.QT4]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
* BUG: Add Printer control to the *.component file.
git-svn-id: svn://localhost/gambas/trunk@2580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the libtoolize "--install" flag in the reconf script, as it
breaks the "main" source sub-directory. We must add an option to this
script to handle that flag correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly display errors raised at program startup.
[EXAMPLES]
* BUG: The Notepad example has been fixed.
[GB.DRAW]
* NEW: Work continue on the Paint class.
git-svn-id: svn://localhost/gambas/trunk@2514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Architecture detection.
* NEW: Updated libtool macros.
[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.
[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.
[GB.DRAW]
* NEW: Start implementing the new Paint interface.
[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.
git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The IDE now uses the WebKit component to display an online help
directly into the automatic completion popup. The online help management
is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the
information about a project. Not perfect yet.
[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and
"Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.
[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter
should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.
[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have
been removed.
[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is
no Read event handler.
[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory
used for storing the disk cache contents. If this property is not
defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
the disk cache. The WebSettings.Cache.Path *must* be defined before
setting that property.
* NEW: WebView.HTML is not read-only anymore.
git-svn-id: svn://localhost/gambas/trunk@2460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Take the new organization of constructor arguments into account.
[INTERPRETER]
* NEW: Change the way arguments are consumed by inherited constructors
again. Now mandatory and optional arguments are consumed separately.
Mandatory arguments of all constructors are consumed first, and then
optional arguments if possible.
[GB.FORM]
* NEW: Take the new organization of constructor arguments into account.
git-svn-id: svn://localhost/gambas/trunk@2453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The constructor arguments must follow the inheritance order from top
to bottom, and not from bottom to top as before. This way, the
constructor of the bottom class can have optional arguments.
git-svn-id: svn://localhost/gambas/trunk@2448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the Index class interface changes.
* BUG: CSV import does not crash anymore when the imported file size is
lower than 64K.
* BUG: Do not crash if a component is not installed.
[INTERPRETER]
* BUG: Error.Text does not split the error message and its argument in
debug mode.
* BUG: Fix many breaks in strict aliasing rules.
[SCRIPTER]
* BUG: Do not crash if a component is not installed.
[GB.DB]
* NEW: Better support for postgresql schemas.
* NEW: Connection.Quote() takes one more optional boolean argument that
tells if we want to quote a table name. In that case, schemas are taken
into account.
* NEW: Connection.FormatBlob() is a new function that returns a string that
can be used as a blob contents in a SQL expression.
* NEW: Index.Fields now returns a string array of index fields.
* NEW: Index.Add() second argument is now a string array of index fields.
git-svn-id: svn://localhost/gambas/trunk@2442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: System.Error is a new property that returns the contents of the
"errno" variable, which is the error code returned by the last system
call.
git-svn-id: svn://localhost/gambas/trunk@2421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The make executable dialog options are correctly refreshed depending
on whether the project is a component or not.
* BUG: Removing a source file removes correctly the translation file from
version control too now.
[EXAMPLES]
* BUG: The hour hand follows the minutes now in the Clock example.
[INTERPRETER]
* BUG: The thousand separator is only printed between digits now.
[GB.QT4]
* BUG: Fix the definition of TabStrip properties.
[GB.GTK]
* BUG: Fix the definition of TabStrip properties.
git-svn-id: svn://localhost/gambas/trunk@2420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Greek translation updated.
[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does
not crash the interpreter event loop anymore.
[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does
not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Greek translation made by Alexandros Prekates.
* BUG: Non-versioned files or directories are not locked anymore so that
you can add it to the repository.
[INTERPRETER]
* BUG: Non-integer constants are correctly optimized and keep their
datatype.
[COMPILER]
* BUG: Non-integer constants are correctly compiled and keep their
datatype.
git-svn-id: svn://localhost/gambas/trunk@2385 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
* BUG: Fix the interaction between subversion and directory renaming or
moving. Now deleted or renamed folders that are not committed are now
locked.
* NEW: Some message boxes related to file operations were replaced by
balloons.
* BUG: Fix a bug when renaming a source directory.
[INTERPRETER]
* BUG: Errors raised by components are correctly displayed again.
git-svn-id: svn://localhost/gambas/trunk@2360 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Runtime error messages are now translatable. At least those that
have an error code. Custom error messages coming from component are not
translatable yet.
* NEW: French translation of runtime error messages.
[INTERPRETER]
* NEW: When running in debugging mode, error messages are formatted to be
easily translatable.
git-svn-id: svn://localhost/gambas/trunk@2347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new Read/Write syntax.
[INTERPRETER]
* NEW: New Read/Write syntax.
* NEW: IsVariant() returns if its argument is a Variant.
[COMPILER]
* NEW: New Read/Write syntax.
* NEW: Support for the old read syntax.
[WIKI CGI SCRIPT]
* NEW: Allow query arguments ("?v3" for example) inside wiki links.
* NEW: New look for the table of contents.
* BUG: Non-translated pages display again.
[GB.WEB]
* NEW: Use the new Read/Write syntax.
git-svn-id: svn://localhost/gambas/trunk@2344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: VarPtr() now works on a string variable. It returns the address of
the string.
* NEW: TypeOf("") now returns gb.String. "" is equal to NULL yet, but now its
string datatype is kept.
* NEW: Memory is new instruction like Open that opens a memory stream from
a Pointer.
* NEW: A Pointer can not be used as a stream directly. You must use the new
Memory instruction for that.
* NEW: The [...] array constructor now checks the datatype of all its
argument to decide the type of the new array.
* BUG: The ["key":value] collection constructor now does not leak memory
anymore if it fails.
* NEW: A new error, "void key", whose code is 64.
* NEW: TypeOf(Null) now returns gb.Null and not gb.Object anymore.
* BUG: IIf() now returns a Variant only if needed. It uses the same
algorithm as the array constructor.
[COMPILER]
* NEW: Memory is new instruction like Open that opens a memory stream from
a Pointer. The syntax is: hStream = Memory pPonter For Read | Write.
* NEW: Support for form controls being individually public.
* BUG: VarPtr() is compiled correctly again.
git-svn-id: svn://localhost/gambas/trunk@2339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Renaming a control now automatically renames the identifier in the
source code.
[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape
characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a
Variant.
[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a
Variant.
[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
now use the new Settings storage facilities and return a Variant[].
[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return
an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
now.
[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return
an Integer[] instead of a String.
[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
be stored and retrieved.
git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Pressing the Escape key should hide panels *and* give the focus back
to the active file correctly.
[INTERPRETER]
* BUG: Fix an uninitialized value in the date formatting routine.
[GB.DB.FORM]
* NEW: DataSource now raises a Change event when its current record changes
or is refreshed.
[GB.NET]
* BUG: Fix an uninitialized value in SerialPort class, when retrieving the
port signal status.
git-svn-id: svn://localhost/gambas/trunk@2307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Compile files with maximum optimization correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Remove The Form_Close event handler in the FHelp form. It did
stupid things indirectly.
[WIKI CGI SCRIPT]
* NEW: Enhancements to support 2.0 and 3.0 descriptions on the same page.
[GB.FORM]
* NEW: Enhance the ColorChooser control.
[GB.FORM.MDI]
* BUG: Fix the Toolbar layout algorithm.
[GB.IMAGE]
* BUG: Image.Colorize() works again.
[GB.IMAGE.EFFECT]
* NEW: This component includes image filtering and effect routines. This is
the old gb.image component from Gambas 2. Everything is not working
correctly at the moment.
[GB.QT4]
* NEW: Color.LightForeground returns the light foreground color used for
drawing separators and plain panel borders.
* BUG: Prevent crashes coming from the fact that Qt deletes child widgets
before emiting the destroy signal on the parent.
git-svn-id: svn://localhost/gambas/trunk@2296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the way some source files are compiled with different
compilation flags in the interpreter and in the gb.image component.
git-svn-id: svn://localhost/gambas/trunk@2285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In the open project dialog, you can now uncompress archives by
double-clicking on it. There is a confirmation message of course.
[GB.IMAGE.IMLIB]
* NEW: I want to use ImLib2 to enhance the image component. Does nothing at
the moment!
git-svn-id: svn://localhost/gambas/trunk@2282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Makefile.am files of /main/lib sub-directories.
[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your
component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field
in debugger windows while debugging.
[INTERPRETER]
* NEW: Support for local and global variable assignment.
[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global
variables now.
[GB.EVAL]
* NEW: Support for local and global variable assignment.
[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic
keyboard navigation.
(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.
git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little cosmetic changes.
* BUG: Do not use gb.UseLanguage anymore.
[INTERPRETER]
* NEW: The gb.UseLanguage and gb.Case constants have been removed.
* NEW: Array.Find() methods now take an optional argument that defines the
search start index.
* NEW: gb.Like is a new comparison mode that internally uses the LIKE
operator.
git-svn-id: svn://localhost/gambas/trunk@2260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide
(or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.
[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been
replaced by "Ambigous brackets".
[GB.IMAGE]
* NEW: Remove Image.Transform().
[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.
[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or
Control.ResizeScaled() is zero, then the effective width (or height) will
be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification,
DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in
the foreground.
git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Brakpoint tab has been redesigned.
* BUG: Unchecking the gb.db component in a project having Connection
objects does not crash anymore when refreshing the project tree.
[INTERPRETER]
* BUG: Setting a breakpoint on the startup class works again.
[GB.DEBUG]
* BUG: Setting a breakpoint on the startup class works again.
[GB.FORM]
* BUG: Fix the use of the new Image.Mirror() function.
[GB.IMAGE]
* NEW: Image.Transform() is a just a test. Do not use it.
[GB.QT4]
* BUG: When a debugger event has been received, do not manipulate the GUI
if the application object has not been created yet.
git-svn-id: svn://localhost/gambas/trunk@2244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.
[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.
[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.
git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little changes in the "cool" buttons and in the project item
control.
* BUG: Fix the console embedding flash when the debugger starts.
[INTERPRETER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent
to the compiler.
[COMPILER]
* BUG: Fix the Makefile.am file that prevented debugging flags to be sent
to the compiler.
[GB.FORM]
* OPT: ListContainer.Clear() now locks the container, as there is no need
to arrange its children while clearing it.
git-svn-id: svn://localhost/gambas/trunk@2230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the "DBus class declared twice" error. The DBus class in the C
part has been renamed "_DBus" so that it does not conflict anymore with
the DBus class declared in the gambas part.
git-svn-id: svn://localhost/gambas/trunk@2223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to
the child shell.
[INTERPRETER]
* BUG: Remove some warning messages.
[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.
git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the initialization of the pseudo-terminal created for processes
run with SHELL/EXEC ... FOR INPUT/OUTPUT, so that it works when the
standard input is not a terminal.
git-svn-id: svn://localhost/gambas/trunk@2219 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The _unknown() method is now correctly called when reading *and*
writing unknown properties. _unknown() is called with no arguments when
reading the property, and with one argument (the new property value) when
writing it.
* BUG: Classes declared in the Gambas part of a component now should
correctly override classes declared in the C/C++ part.
[GB.DBUS]
* NEW: Hide native methods of the DBus class.
* NEW: The syntax for calling a method is:
DBus[<Application>][<Object>,<Interface>].<Method>(<Arguments>)
<Application> can be prefixed by "system://" to access the system bus.
* NEW: Properties are readable and writable with this syntax:
DBus[<Application>][<Object>,<Interface>].<Property>
* NEW: DBusVariant is a new class that allows to send a Variant to a DBus
method by specifying is DBus type. Otherwise, when using Variant
directly, the associated DBus type is guessed automatically, which may
not be accurate is some cases.
git-svn-id: svn://localhost/gambas/trunk@2218 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start replacing INCLUDE directive by *_CFLAGS in Makefile.am files.
[GB.EVAL]
* BUG: Fix a warning.
git-svn-id: svn://localhost/gambas/trunk@2215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Arabic translation updated.
[INTERPRETER]
* NEW: A new method in the interpreter API to read a value in memory and
store it in a Gambas value slot.
[GB.DB.ODBC]
* BUG: Fix a warning.
git-svn-id: svn://localhost/gambas/trunk@2206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Check the process stack each time a function is call, to avoid
segmentation faults on stack overflows.
[GB.DEBUG]
* BUG: In the debugger, trim too large stack backtraces, so that the IDE
always receive it in one event.
git-svn-id: svn://localhost/gambas/trunk@2202 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A new function in the debugger interface to search for a class only
inside the running project.
[GB.DEBUG]
* BUG: Pending breakpoints now search for their class only inside the
running project.
git-svn-id: svn://localhost/gambas/trunk@2189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid
pkg-config configuration files.
[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project
compilation.
[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character
inside.
[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to
False does not interfer with the global key event handler.
git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Raise a memory error when trying to allocate a too large
array.
[GB.GTK]
* BUG: Fix the management of cell spanning.
[GB.QT4]
* BUG: Fix the management of cell spanning.
git-svn-id: svn://localhost/gambas/trunk@2143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The connection editor now uses the new DataSource Connection
property.
* NEW: A button to copy the field names of a table in the clipboard.
* NEW: Change the layout of the connection editor.
* NEW: Enhance the list property editor.
* NEW: Use the new logo made by Fabien Bodard.
* NEW: Support for editing properties whose type is "Table" and
"Connection".
* NEW: Scroll the form editor when using the rectangular selection.
* BUG: Fix the project information displayed in the open project dialog.
[INTERPRETER]
* BUG: Fix a stupid bug that made the interpreter crash when a class was
allocated at a negative memory address.
* BUG: Fix the conversion of strings into numbers, especially when
converting Long values.
[GB.DB.FORM]
* NEW: Redesign the controls so that DataSource can be assigned a specific
connection.
* NEW: DataSource.Connection is a new property that allows to assign a
specific Connection object to a DataSource. If a DataSource has no
connection assigned, it will use the connection of its parent DataSource.
By default, the current connection (DB.Current) is used.
* NEW: Remove the DataSource.CacheSize property. Is it really useful?
[GB.NET.SMTP]
* NEW: Send the "Date:" header with any mail.
git-svn-id: svn://localhost/gambas/trunk@2137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e.
string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less
easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.
[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a
"database URL" to the constructor. For example:
"mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
the value, and do nothing with it. It's up to you to use the information
later if you need.
[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays
"BLOB" in the cell with a darker background.
[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation
of Desktop.Scale pixels is added to the layout.
[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in
Qt that updated two lines when it was asked for one only.
git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When a component cannot be loaded, only show its name in the error
message, not the full path.
[GB.FORM.MDI]
* BUG: Keep the hide/show sequence of windows newly inserted into a
Worskpace. Otherwise the IDE becomes slow at startup!
[GB.QT4]
* BUG: Now message boxes return the accurate button index.
git-svn-id: svn://localhost/gambas/trunk@2122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Database manager integration continues. You can create, edit and
remove tables now. You cannot rename them yet, nor modify their contents.
* BUG: Fix popup menu activation in text editor.
* NEW: Almost any character is allowed now in the name of directories
storing source files.
[GB.DB.FORM]
* NEW: DataSource.Reset() is a new method that clears the internal
metadata cache. That method is dynamic because it is intended to only
reset the metadata associated with the DataSource. At the moment all the
metadata is dropped.
[GB.FORM]
* NEW: TableView.Save() now returns a boolean that will tell you if the
Save event has been cancelled.
* BUG: TableView should manage arrow keys correctly if the current editor
is a read-only ComboBox.
[GB.FORM.MDI]
* OPT: Toolbars do no useless layout anymore when in design mode.
[GB.QT4]
* BUG: The Message class has been fixed.
* BUG: Fix the behaviour of TabStrip when all its page are hidden.
git-svn-id: svn://localhost/gambas/trunk@2115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Work continues on integrating the database manager.
* NEW: Some cosmetic changes in the way controls are drawing on the form
editor.
* NEW: Panels with Border property set to None are now drawn with a light
border.
* BUG: Fix the "Show tab" button and menu.
[INTERPRETER]
* NEW: _attach is a new dynamic special method that is called when an
object is attached to or detached from its event observer. The first
argument of this method is the event observer, and the second argument
the event handler prefix.
[COMPILER]
* NEW: An expression can be a NEW instruction now. Beware that it does not
work inside braces.
[GB.DB]
* BUG: Fix an error message in the sqlite handler.
[GB.DB.FORM]
* NEW: DataSource.Table can now be any SQL query. The Filter property is
ignored in that case.
* BUG: Setting DataSource.Table to NULL correctly resets the DataSource and
its children.
* NEW: DataView automatically adjusts the height of its rows to the
contents.
* NEW: DataSource.CacheSize is a new property to set the number of rows
stored in the internal DataSource cache. When this property is set to
zero, the cache size takes its default value (64 rows).
[GB.DB.SQLITE2]
* BUG: Fix a crash in datatype mapping.
[GB.DB.SQLITE3]
* BUG: Fix a crash in datatype mapping.
[GB.QT4]
* BUG: Window.AutoResize property works as expected now.
* OPT: Some optimizations in GridView.
* NEW: GridView.Rows[].Visible returns if a specific row is visible.
* NEW: GridView.Rows[].EnsureVisible ensures that a specific row is
visible.
* BUG: Draw.Style.Panel draws the same thing as a panel border now.
* BUG: Window.Closed always returns the accurate value now.
git-svn-id: svn://localhost/gambas/trunk@2108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not use "boolean" anymore. Use "bool" instead.
[COMPILER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.
git-svn-id: svn://localhost/gambas/trunk@2091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Exist("") now correctly returns FALSE when running an executable.
git-svn-id: svn://localhost/gambas/trunk@2088 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Project source files are now stored in the ".src" project
sub-directory.
* NEW: Project source files can be organized from the project treeview by
creating directories, moving source files with drag and drop or copy and
paste.
* NEW: The hall of fame now uses some sort of blur effect.
* BUG: The breakpoint list should be accurate in all situations now.
* NEW: Showing the bottom status bar is now an entry in the "View" menu.
[INTERPRETER]
* BUG: Fix a possible crash in database component classes having
sub-collections, like Result.Fields.
[COMPILER]
* NEW: Support for projects whose sources are stored in the ".src"
sub-directory.
[GB.GTK]
* BUG: Frame.Font now works correctly.
* BUG: If the Control.Font property is set with a family name, the other
boolean properties of the font are reset.
[GB.NET]
* BUG: Fix a possible crash in the Socket class at connection.
[GB.QT]
* BUG: If the Control.Font property is set with a family name, the other
boolean properties of the font are reset.
[GB.QT4]
* BUG: If the Control.Font property is set with a family name, the other
boolean properties of the font are reset.
* NEW: TreeView and ColumnView got a new property, ParentKey, that returns
the key of the current item parent.
* BUG: Menu shortcuts are correctly disabled now, when a parent menu is
disabled.
git-svn-id: svn://localhost/gambas/trunk@2063 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use gb.qt4 when the current desktop is KDE4.
[GB.QT4]
* BUG: Watcher now correctly catches the destruction of its watched
control.
git-svn-id: svn://localhost/gambas/trunk@2053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly center the option dialog at startup.
[INTERPRETER]
* BUG: Fix compilation on 64 bits systems.
[GB.FORM]
* BUG: Side panel buttons were implemented differently to have a good look
in all GUI components.
[GB.QT4.EXT]
* NEW: Editor.ShowString() is a new method to define a string that will be
highlighted everywhere it is found.
git-svn-id: svn://localhost/gambas/trunk@2027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Freeing a collection does not crash anymore if a collection item is
removed during the process.
* BUG: Static variables are correctly inherited now.
git-svn-id: svn://localhost/gambas/trunk@2023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some enhancements in memory allocation debugging.
[GB.QT]
* BUG: Form.Load() method now really work, by using reparenting. The fix
may be backported to Gambas 2.
[GB.QT4]
* BUG: Window.Mask and Window.Picture work correctly now.
* BUG: TextArea background is accurate now.
* BUG: Mouse event properties of the Mouse class now return the expected
value.
* BUG: Tray icons now work correctly.
* BUG: Form.Load() method now really work.
* BUG: Windows are correctly closed.
git-svn-id: svn://localhost/gambas/trunk@2020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the online help if an help page is not found locally.
* BUG: The editor procedure combo-box now keeps the focus when it is
opened.
[GB.QT]
* BUG: Fix the Clipboard class.
[GB.QT4]
* BUG: Clipboard.Copy() now works correctly if the mimetype is not
specified.
* BUG: Closing the last window does not quit the application unexpectedly
anymore.
git-svn-id: svn://localhost/gambas/trunk@2012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some fixes in real-time search highlighting.
[INTERPRETER]
* BUG: Fix the behaviour of the file descriptor watch manager.
* NEW: All streams now have a Tag property.
[EXAMPLES]
* NEW: ServerSocket and ClientSocket examples were modified to test the new
event of the Socket class.
[GB.GTK]
* BUG: Fix the behaviour of the file descriptor watch manager.
[GB.NET]
* NEW: Socket now has a Write event. This event is raised after something
has been written on the socket, *and* if writing is possible again.
[GB.QT]
* BUG: Fix the behaviour of the file descriptor watch manager.
git-svn-id: svn://localhost/gambas/trunk@2004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove the project stack size option.
[INTERPRETER]
* NEW: Make the stack grow as needed. Note that the stack will never
shrink.
[GB.DEBUG]
* BUG: This component now compiles correctly.
git-svn-id: svn://localhost/gambas/trunk@1987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WARNING! The bytecode has changed, so every project needs to be
recompiled.
[WEB SITE MAKER]
* NEW: Some more translations.
[INTERPRETER]
* NEW: Assign() is a new function. It is like Eval(), except that the
expression can be an assignment.
[GB.EVAL]
* NEW: Implementation of the new Assign() function.
* NEW: The Expression.Compile() method takes a new optional boolean
argument that indicates if we are compiling an assignment or not.
[GB.NET.CURL]
* BUG: A asynchronous transfer that ends do not stop the other ones
anymore.
git-svn-id: svn://localhost/gambas/trunk@1986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not call the "_init" static initializer of exported classes at
component load. Do it when the class is used for the first time.
git-svn-id: svn://localhost/gambas/trunk@1977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WARNING! The bytecode has changed, so every project needs to be
recompiled.
[DEVELOPMENT ENVIRONMENT]
* NEW: A new project option to use the terminal emulator of the current
desktop instead of the built-in output window.
* BUG: "svn update" is now run non-interactive.
[WIKI CGI SCRIPT]
* NEW: {html ... } is a new section to put verbatim HTML inside a page.
[INTERPRETER]
* BUG: Fix a possible bug in the FreeBSD way of opening a pseudo-terminal
when running an external process.
* NEW: External process can have a custom environment.
* BUG: Some forgotten FreeBSD patch.
* NEW: The hidden "-f" option now takes as argument the name of the debug
fifo file without the extension. This is needed as now the IDE can put
a terminal emulator between the debugged process and itself.
[COMPILER]
* NEW: New syntax for the EXEC and SHELL instruction. Now the WITH keyword
can introduce an array of string, each of one being an environment
variable "NAME=VALUE".
[GB.DEBUG]
* NEW: Debug.Start() now returns the name of the debug fifo, without the
extension.
git-svn-id: svn://localhost/gambas/trunk@1971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the warning message displayed when a locale cannot be loaded.
[WEB SITE MAKER]
* NEW: All pages are now translatable.
git-svn-id: svn://localhost/gambas/trunk@1958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: FreeBSD patches.
[INTERPRETER]
* BUG: FreeBSD patches.
[COMPILER]
* NEW: Support for FreeBSD getopt_long().
[ARCHIVER]
* NEW: Support for FreeBSD getopt_long().
[INFORMER]
* NEW: Support for FreeBSD getopt_long().
[SCRIPTER]
* BUG: The <%...%> markups are now taken into account everywhere inside a
server page.
[WIKI CGI SCRIPT]
* BUG: Speeds up the rename function.
[GB.COMPRESS.ZLIB]
* BUG: Do not include the Linux specific header <bits/wordsize.h> anymore.
[GB.DB.ODBC]
* BUG: Removed some compilation warnings.
[GB.GTK]
* BUG: ComboBox now raises focus events.
* BUG: Newly opened windows are now correctly shown at the specified
position.
* BUG: DrawingArea.Clear() does not erase the border anymore if the
DrawingArea is cached.
* BUG: Hiding a row or a column does not prevent the mouse wheel to work
anymore in the GridView control.
[GB.QT]
* BUG: Compound controls like ComboBox should not raise spurious focus
events anymore.
* BUG: Fix a possible crash in GridView repaint.
[GB.QT4]
* BUG: Compound controls like ComboBox should not raise spurious focus
events anymore.
git-svn-id: svn://localhost/gambas/trunk@1955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The gb.qte component has been removed.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for modules in project file deletion.
[INTERPRETER]
* BUG: Format$() now checks its second argument correctly when it is an
integer.
* BUG: Exported classes for components written in Gambas are now correctly
loaded when inheritance between them is used.
[GB.DRAW]
* BUG: Some properties of the Draw class didn't correctly check that a
drawing device was opened.
[GB.FORM.MDI]
* NEW: The Toolbar control now raises a Configure event when its
configuration has changed.
[GB.GTK]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.
* BUG: Correctly initialize the foreground and background colors at
Draw.Begin().
[GB.QT]
* BUG: Fix Draw.Picture() and Draw.Image() on transparent pictures.
[GB.QTE]
* NEW: This component has been removed.
git-svn-id: svn://localhost/gambas/trunk@1939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now each database driver has its own component, so that you can
explicitely check it. This way, these dependencies are taken into account
when making a binary package.
* NEW: Starting support for WebPage classes, and other kind of forms.
[WIKI CGI SCRIPT]
* BUG: Symbol pages are never cached, so that refreshing a 2.0 symbol page
does not break a 3.0 symbol page.
[INTERPRETER]
* NEW: gb.IgnoreCase is a new property that is a synonymous of gb.Text.
* NEW: gb.UseLanguage is a new property that is a synonymous of gb.Language.
[GB.DB.*]
* NEW: All database drivers now have a *.component file, and is visible in
the IDE project property dialog.
git-svn-id: svn://localhost/gambas/trunk@1926 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Store autoconf extra tests in the .project file, not in its own
hidden file anymore.
* NEW: Add KDE4 as possible icon theme.
* BUG: The packager wizard logic has been fixed.
[INTERPRETER]
* NEW: The Array class has now almost all standard array methods. They all
use Variant as array contents datatype, internally converting values to
the real array datatype.
* NEW: Quote$() now keeps characters whose code is greater as 126 unquoted.
[COMPILER]
* NEW: '\b' and '\f' are two new escaped sequences in strings.
* BUG: Move some debugging breakpoint instructions so that the debugger
breaks at the right line when there is an error during an IF or a CASE
instruction.
[GB.EVAL]
* NEW: '\b' and '\f' are two new escaped sequences in strings.
[GB.FORM]
* NEW: Some new stock icons.
[GB.QT.EXT]
* NEW: Editor.Lines[].GetInitialState() fills the Highlight properties
(State, Tag and AlternateState) with the initial state of a line.
[GB.WEB]
* NEW: JSON is a new class that can encode and decode the JSON format.
git-svn-id: svn://localhost/gambas/trunk@1925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Array.Clear() now does not crash anymore on multi-dimensional
arrays. It just voids the array contents. Array.Clear() behaviour on
single dimensional arrays did not change: it removes all elements from
the array.
[GB.GTK]
* BUG: TextLabel.Adjust() now works as expected.
git-svn-id: svn://localhost/gambas/trunk@1892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the arrangement of the welcome dialog and the project property
component list.
* BUG: Undo now works on procedure declaration automatically inserted.
[INTERPRETER]
* BUG: Object.Lock(), Object.Unlock() and Object.IsLocked() now work as
expected on Observer objects.
[GB.QT]
* BUG: Label and TextLabel autoresize routine has been fixed.
* BUG: ScrollView now arrange its contents again when one of its scrollbars
is shown or hidden.
* BUG: Minimum size of window dialogs works again.
* BUG: Top-level windows now arrange its contents on resize events in all
cases as expected.
git-svn-id: svn://localhost/gambas/trunk@1875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Printing a debugging expression with an array class name only
inside does not crash the interpreter anymore.
* OPT: Object[].Find() and Object[].Exist() were optimized. They do not
check and use the _compare special method anymore. They use the object
address directly.
[GB.QT4]
* BUG: Clipboard.Format does not crash anymore if there is nothing in the
clipboard.
* BUG: Do not process events just after a menu popup has been hidden.
git-svn-id: svn://localhost/gambas/trunk@1874 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Balloon shape has been redesigned.
* BUG: The Balloon should not flicker anymore.
[GB.GTK]
* BUG: Image.Draw() now works correctly if X or Y are negative.
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
[GB.NET]
* BUG: UdpSocket.TargetPort returns the accurate value now.
[GB.QT]
* BUG: The Window.Mask property works correctly now.
* BUG: Draw.Image() and Draw.Picture() now work correctly on transparent
pictures.
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs
were fixed by the way.
[GB.QT4]
* NEW: WindowType is a new static class that defines constants for the
Window Type property. The old constants that were located in the Window
class have been removed.
* NEW: The arrangement design has been redesigned. Some arrangement bugs
were fixed by the way.
git-svn-id: svn://localhost/gambas/trunk@1873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UTF-8 characters are allowed in project data file names now.
[INTEPRETER]
* NEW: Allocation debugging messages can be redirected to a log file.
[GB.DB.FORM]
* BUG: DataBrowser FBrowser form does not incorrectly override Form.Panel
anymore.
[GB.GTK]
* BUG: TabStrip.Font now behaves as expected.
* BUG: GridView Row and Column properties can be set independently.
* BUG: Fix the container arrangement and the ClientX / ClientY properties.
[GB.FORM]
* OPT: FileView redraws were delayed so that they are optimized.
* BUG: Balloon tried to not take the focus.
[GB.QT]
* BUG: Fix the GridView last column stretching.
[GB.QT4]
* NEW: The AutoResize property of Button, ToolButton and ToggleButton
controls were implemented.
* BUG: Button, ToolButton and ToggleButton now behave correctly when their
font change.
* OPT: Arrangement was optimized.
* BUG: TabStrip ClientX, ClientY, ClientWidth and ClientHeight properties
now return accurate values.
[GB.QT4.EXT]
* BUG: Editor now draws non-highlighted lines correctly.
git-svn-id: svn://localhost/gambas/trunk@1868 867c0c6c-44f3-4631-809d-bfa615b0a4ec