* BUG: Table existence should be checked correctly now.
[GB.DRAW]
* NEW: Paint.DrawImage() is a new utility function to paint an image
easily.
[GB.QT4]
* BUG: Printer.Count is now 1 by default.
* BUG: Found a workaround to the Qt bug #5114. Now the brush matrix is
taken into account when painting on a Printer object.
git-svn-id: svn://localhost/gambas/trunk@3347 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Button to "flattr" Gambas.
[INTERPRETER]
* BUG: Fix some possible uses of unitialized values.
[COMPILER]
* BUG: Fix a possible crash when having 63 arguments passed by reference
to a function.
[GB.DB.SQLITE3]
* BUG: Detect integer primary key whatever the case used to write
"integer".
[GB.GTK]
* BUG: Page setup is enabled in printer configuration dialog now.
[GB.QT4]
* BUG: The font size of printed texts is now correct.
git-svn-id: svn://localhost/gambas/trunk@3344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not search text inside form anymore.
[INTERPRETER]
* BUG: The startup class is not global anymore, so that it does not
conflict with anythign having the same name in components. The
interpreter API that was returning the startup class has been updated
to reflect that change.
* BUG: File.Name("/a/b/") now returns a void string instead of returning
"b", to be coherent with File.Dir().
[GB.DESKTOP]
* NEW: Use the new API returning the startup class.
[GB.FORM]
* BUG: Setting DirView.Root with a path ending with a slash does not crash
anymore.
[GB.GTK]
* NEW: Use the new API returning the startup class.
[GB.QT4]
* NEW: Use the new API returning the startup class.
[GB.SIGNAL]
* NEW: Use the new API returning the startup class.
git-svn-id: svn://localhost/gambas/trunk@3267 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Filter project tree view by files that need to be added to the
version control repository now works.
* BUG: Reset project tree view filter at project opening.
[GB.DEBUG]
* BUG: Use the reentrant collection enumeration API correctly.
git-svn-id: svn://localhost/gambas/trunk@3256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The debugger now prints string values up to 65535 characters.
git-svn-id: svn://localhost/gambas/trunk@3249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Format() with a void format string does not crash anymore.
[GB.IMAGE]
* BUG: Image.Colorize() does not invert red and blue anymore.
git-svn-id: svn://localhost/gambas/trunk@3232 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The gb.db API DB.GetCurrentDatabase() should be reliable now, so
that database drivers using it do not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@3223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Table.Indexes.Add() now does not corrupt index fields anymore.
git-svn-id: svn://localhost/gambas/trunk@3222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix procedure list crash.
[GB.IMAGE]
* NEW: Color merge algorithm has changed. Instead of using the middle of
RGB values, now it uses the middle of HSV values. It changes the value of
Color.LightForeground and the color used for drawing Workspace default
background.
[GB.QT4]
* BUG: Separator and plain borders now use the same color.
* BUG: ShowPopup() now works correctly if used on the same window several
times.
git-svn-id: svn://localhost/gambas/trunk@3217 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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: More snippets for declaring local variables: "di" declares an
integer variable, "ds" a string variable...
[GB.IMAGE]
* NEW: Image.FillRect() ignores transparency. But a new Image.DrawRect()
method takes it into account now.
[GB.QT4]
* BUG: Mouse event properties are enabled now during a double click event
handler.
[GB.WEB]
* NEW: HTTP compression is automatically enabled if the response is
buffered, and if the HTTP client can handle it of course.
git-svn-id: svn://localhost/gambas/trunk@3128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MenuButton has been redesigned to use a DrawingArea only.
[GB.GTK]
* BUG: Styles are better drawn now.
* BUG: Destroyed controls are not seen anymore when enumerating container
children.
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
[GB.QT4]
* NEW: Control.Hovered is a new property that returns if the mouse cursor
is inside the control.
* NEW: Draw.Style.Button() gets a new optional boolean argument to tell if
we must draw a flat button.
* NEW: Draw.Style.Focus() has been removed.
git-svn-id: svn://localhost/gambas/trunk@3106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly update the code editor menu when the project is running.
[GB.FORM.MDI]
* NEW: The Workspace.ButtonPosition property has been removed.
* NEW: The Workspace tabstrip now uses embedded close buttons.
[GB.IMAGE]
* NEW: The Image.Gray() method has been renamed as Image.Desaturate().
* NEW: The Image.Transparent() method has been renamed as Image.Erase().
[GB.IMAGE.EFFECT]
* NEW: The Image.Gray() and Image.Desaturate() methods have been removed.
git-svn-id: svn://localhost/gambas/trunk@3105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new option to use utility windows or normal windows for option
dialog, search window and help browser.
[GB.DRAW]
* BUG: The Draw.Normal constant is correctly named now.
[GB.GTK]
* BUG: Draw plain borders the same way as in gb.qt4.
* NEW: Window.Type has been removed.
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
[GB.IMAGE]
* BUG: Fix some image format management is many routines.
* NEW: Image.FillRect() now handles transparent colors.
[GB.QT4]
* NEW: Window.Utility is a new boolean property to tell the window manager
that the window is an utility.
git-svn-id: svn://localhost/gambas/trunk@3102 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image.DrawAlpha() is a new method that replace the alpha components
of an image by the alpha components of another image, where the other
image is more transparent.
git-svn-id: svn://localhost/gambas/trunk@3101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New flags for Draw.Style states. Draw.Focus, for widgets having the
focus, and Draw.Hover for widgets flied over by the mouse.
git-svn-id: svn://localhost/gambas/trunk@3097 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: In Gambas, javascript, HTML and CSS editor, a button to insert
a color definition, or a color already defined in the current source
code.
* NEW: Allow links with title ([<link>|<title>]) in help comment syntax.
[GB.FORM]
* BUG: In FileView, file sizes are really written with 1 Kib = 1024 bytes.
* BUG: MenuButton has an Action property again.
* BUG: MenuButton raise its basic events.
[GB.IMAGE]
* BUG: COlor.Darker() works correctly for black, white and gray colors now.
[GB.IMAGE.IO]
* BUG: Image.Save() quality is correctly handled. For PNG format, the
quality is actually the compression level, between 0 and 9.
[GB.QT4.WEBKIT]
* NEW: WebFrame.HTML is a new property that returns the HTML contents of a
specific frame.
* NEW: WebFrame.Text is a new property that returns the text inside a
specific frame.
[GB.WEB]
* NEW: When the session is abandonned, the Session_Abandon() static public
method is called in the startup class.
git-svn-id: svn://localhost/gambas/trunk@3096 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A menu button in the project property dialog to quickly insert
the "GB_GUI" environmental variable.
[GB.FORM]
* NEW: Enhancements in ButtonBox and MenuButton controls.
* NEW: MenuButton.Border is a new property to set if the MenuButton has a
border or not.
* NEW: If the MenuButto has no menu, it will raise its Click event if its
arrow button is clicked.
[GB.GTK]
* NEW: ToolButton are "transparent" now.
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
[GB.QT4]
* NEW: Draw.Style.Box() is a new style API that draws a TextBox frame.
git-svn-id: svn://localhost/gambas/trunk@3093 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: 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
* 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: 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
* BUG: Rewriting class names works now when the class name has only one
character.
git-svn-id: svn://localhost/gambas/trunk@3025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New API for marking an image as modified, and for synchronizing it
before reading it, when the temporary image owner needs it.
git-svn-id: svn://localhost/gambas/trunk@3016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add locking/unlocking internal api hooks, allowing Image class to be sure image is synced/locked
to get correct access to image datas, and tag if image is altered.
git-svn-id: svn://localhost/gambas/trunk@3010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: 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
* 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
* 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: Use GB.ReturnNewZeroString() instead of GB.ReturnNewString() now.
All components using the old syntax should be fixed now.
* NEW: Start to manage structures.
git-svn-id: svn://localhost/gambas/trunk@2957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New GB.NewZeroString() API to create a Gambas string from a
null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.
[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.
git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: 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: Shift+Enter disables automatic insertion of control structure
instructions.
[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel
and MenuButton controls, so that it works with gb.gtk.
[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling
algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.
[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.
git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: 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
* 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: CygWin needs a -no-undefined flag when linking.
[INFORMER]
* BUG: Use dlopen() on CygWin.
[INTERPRETER]
* BUG: Fix some misuse of signed char.
[GB.DB]
* BUG: Fix some misuse of signed char.
[GB.EVAL]
* BUG: Fix some misuse of signed char.
git-svn-id: svn://localhost/gambas/trunk@2749 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
* NEW: Working on report form support. Report forms now can be created and
edited. Symbol auto-completion is not implemented.
* NEW: The toolbox is updated according to the current edited form family.
* BUG: Menu are correctly saved again.
* NEW: Component help is implemented in the project property dialog.
[GB.GTK]
* BUG: Menu are containers.
[GB.GUI]
* BUG: The *.component file has been fixed.
[GB.REPORT]
* BUG: Control public constants are almost correctly defined now, and
inheritance is used.
[GB.QT4]
* BUG: Menu are containers.
* BUG: The text of hidden TabStrip tabs is not lost anymore.
git-svn-id: svn://localhost/gambas/trunk@2713 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
* NEW: Remove the gb.qt and gb.qt.kde components.
[DEVELOPMENT ENVIRONMENT]
* NEW: Work on report form support continues.
* BUG: Do not crash if there is a compilation error and the IDE cannot open
the source file.
[GB.DB]
* NEW: The Find() and Edit() methods of the Connection class now works
correctly if the ORDER BY clause is used alone in the request argument.
[GB.QT]
* NEW: This component has been removed.
[GB.QT.EXT]
* NEW: This component has been removed.
[GB.QT.OPENGL]
* NEW: This component has been removed.
[GB.QT.KDE]
* NEW: This component has been removed.
[GB.QT.KDE.HTML]
* NEW: This component has been removed.
git-svn-id: svn://localhost/gambas/trunk@2683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Start working on report form support.
* BUG: Correctly refresh the hierarchy window when a form is reloaded.
[GB.IMAGE]
* BUG: The Color[].Saturation property now works correctly.
[GB.FORM.MDI]
* BUG: Fix the layout of toolbar without handle.
git-svn-id: svn://localhost/gambas/trunk@2673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Be more clever when detecting hexdecimal or binary numbers.
[GB.EVAL]
* NEW: Be more clever when detecting hexdecimal or binary numbers.
[GB.FORM]
* BUG: In DateChooser, switching to February works now, when there is 28
days in February and the current day is greater or equal than 29.
git-svn-id: svn://localhost/gambas/trunk@2651 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: Always correctly round control coordinates in the form editor when
the form Scaled property is set.
[GB.FORM]
* BUG: Clicking inside the FontChooser style ListBox now always works
correctly.
[GB.GTK]
* BUG: Setting the Control.Tracking property should work correctly in all
cases now.
* BUG: Prevent a crash when creating an Image or a Picture with incorrect
constructor arguments.
[GB.IMAGE.EFFECT]
* BUG: Use accurate compilation flags.
[GB.NET]
* BUG: Clear the CR / NL input conversion flags when initializing a serial
port.
[GB.QT4]
* BUG: Setting MovieBox Path property to NULL does not fail anymore.
* BUG: Do not try to reparent a window in its Show() method when it is
already visible.
git-svn-id: svn://localhost/gambas/trunk@2618 867c0c6c-44f3-4631-809d-bfa615b0a4ec