* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work
as expected.
[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.
[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a
single space.
[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text
field.
* NEW: The FontChooser control now adapts its interface if its height is
too small.
[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.
[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when using CStr() on an object having a conversion
function.
git-svn-id: svn://localhost/gambas/trunk@6056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When a void string is sent to an extern function argument expecting
a string, it is converted to a zero-length string instead of a null
pointer.
[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.
[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.
git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix LIKE operator when the {...} syntax is not at the end of the
pattern.
git-svn-id: svn://localhost/gambas/trunk@6042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix compilation of NOT LIKE, NOT BEGINS and NOT ENDS operators when
they are not alone in an expression.
git-svn-id: svn://localhost/gambas/trunk@6041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update Gambas fonts.
* NEW: Update component list.
* NEW: Add a toolbar button to define the GB_GUI environment variable in
one click. This button is visible only if the project uses the gb.gui
component (and if it has been added to the toolbar of course!).
* BUG: Use the same icon for the option dialog and its corresponding
toolbar icon.
[GB.FORM.MDI]
* NEW: Shrink the toolbar height a bit.
[GB.GUI]
* NEW: Support for the gb.gtk3 component.
git-svn-id: svn://localhost/gambas/trunk@6028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The debugger now can be told to break the program on any error.
* NEW: Statistic tab in the project property dialog.
[INTERPRETER]
* BUG: Don't crash if an unknown option is passed with the '-g' option.
* NEW: The debugger now can be told to break the program on any error.
* NEW: System.BreakOnError is a new property that allows to set the
internal "break on error" option at runtime. I don't know if it is
actually useful, so I may remove it.
[GB.DEBUG]
* NEW: The debugger now can be told to break the program on any error.
git-svn-id: svn://localhost/gambas/trunk@6011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been
partially converted.
[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display the error returned by the glibc when a locale cannot be set.
* NEW: Allow the class conversion routine to define the target datatype by
itself.
[GB.DB]
* BUG: The automatic Blob to String conversion does not lead to a crash
anymore.
git-svn-id: svn://localhost/gambas/trunk@5999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Chinese translations updated everywhere.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project
properties dialog.
[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.
[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its
size.
[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
left written.
[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
* BUG: The rtl layout is correctly initialized at startup.
[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their
layout if the current language is right-to-left written.
[GB.NET.POP3]
* BUG: Error messages must not be translatable.
[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: String.InStr() does not crash anymore if the string pattern is void.
It returns 0 instead (like InStr).
git-svn-id: svn://localhost/gambas/trunk@5979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly initialize the Paint class when calling Paint.Begin() on
an already opened drawing device.
git-svn-id: svn://localhost/gambas/trunk@5959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the CLOSE instruction when dealing with a string stream.
* NEW: Make WRITE behave the same way as READ on a memory stream. I.e. it
writes a null-terminated "C" string.
git-svn-id: svn://localhost/gambas/trunk@5942 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Undo one change of last revision: reading a stream from a memory
stream is a special case. It reads a null-terminated C string, and not a
serialized Gambas string.
* NEW: OPEN STRING is a new instruction that allows to use a string as a
stream. Writing to it appends the written data to the end of the string
at the moment.
* NEW: Closing a string stream returns the data written to the stream as a
new string.
[COMPILER]
* NEW: New OPEN STRING instruction.
* NEW: OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE
instructions alone.
[GB.EVAL]
* NEW: Highlight the new OPEN STRING instruction correctly.
git-svn-id: svn://localhost/gambas/trunk@5941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: VarPtr() correctly works on method arguments.
* BUG: Reading a string from a memory stream now works correctly.
git-svn-id: svn://localhost/gambas/trunk@5940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly check that there is a current enumeration if the Enum
class methods and properties.
* NEW: Enum.Stopped is a new property that returns if the current
enumeration has been stopped.
* BUG: The [] operator is now correctly overridden in classes inheriting an
array class or Collection.
git-svn-id: svn://localhost/gambas/trunk@5935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: If one GUI component fails to load, try the other one.
* NEW: Abort if no GUI component is found.
* NEW: Define the GB_GUI environment variable with the GUI component
actually loaded.
[GB.GUI.OPENGL]
* NEW: Always load the OpenGL support component associated with what lies
in the GB_GUI environment variable.
git-svn-id: svn://localhost/gambas/trunk@5925 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't detach a process that returns an error otherwise the Kill
event is lost.
git-svn-id: svn://localhost/gambas/trunk@5921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the GB_PATH environment variable, that gives the Gambas
interpreter path if set.
git-svn-id: svn://localhost/gambas/trunk@5918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add the description of 'gb.memcached' and 'gb.logging' components.
* NEW: Update error messages translation.
[INTERPRETER]
* NEW: Allow some error messages to be untranslatable by using a void macro
named '$(...)' around the string.
[GB.FORM]
* BUG: The status of FileChooser and DirChooser toolbar icons is correctly
initialized now.
* BUG: Reading the FileChooser.ShowPreview property does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@5912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a structure declaration for ARM architecture.
[GB.CLIPPER]
* BUG: Fix the signature of some methods.
git-svn-id: svn://localhost/gambas/trunk@5900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Synchronize the 'gambas.h' header with the internal date management
changes of rev. #5871.
git-svn-id: svn://localhost/gambas/trunk@5873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the "search" link.
[INTERPRETER]
* NEW: Date() and Time() now takes the milliseconds as an extra optional
argument.
* BUG: Time() with one argument correctly converts it to a date.
* NEW: Date() and Time() now always check the range validity of their
arguments.
[GB.DB.FORM]
* NEW: DataControl does not change the background of mandatory field and
the font of primary key fields anymore.
* NEW: DateControl.Control is a new property that returns the underlying
control used for editing the field data.
[GB.GUI.BASE]
* NEW: HSplit and VSplit have a new Border property that define if the
splitter separator is visible or not.
* NEW: HSplit and VSplit now take the Spacing property into account.
git-svn-id: svn://localhost/gambas/trunk@5871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Always use "svn --force" when deleting a file in a project under
version control.
[INTERPRETER]
* BUG: Fix a structure alignment for ARM architecture.
[GB.FORM]
* NEW: The image preview background task is now run with a lower priority.
git-svn-id: svn://localhost/gambas/trunk@5868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly raise a syntax error if the FOR EACH variable is not
immediately followed by the IN keyword.
git-svn-id: svn://localhost/gambas/trunk@5867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Application.Priority is a new property that allows to define the
scheduling priority of the current process (or task). See it as an
interface to the nice() system call.
git-svn-id: svn://localhost/gambas/trunk@5866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: List: Fix two false positive compiler warnings on some systems.
* BUG: AvlTree: Don't forward-declare a typedef. It bothers some compilers.
* BUG: Also update Key from AvlTree_get().
* BUG: Invalidate the enumerators in AvlTree.Clear()
git-svn-id: svn://localhost/gambas/trunk@5865 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Task.Stop now behaves correctly if the task has not been yet
actually started.
* NEW: Stopped task temporary files are automatically removed.
git-svn-id: svn://localhost/gambas/trunk@5861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove as much "packed" structure declaration as possible, to
prevent possible bugs on ARM architecture.
git-svn-id: svn://localhost/gambas/trunk@5860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a structure declaration that prevented the compiler to work
correctly on the ARM architecture.
git-svn-id: svn://localhost/gambas/trunk@5856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.
[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of
models between six different ones.
[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not
ready.
[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
the Abs() function.
[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl
directory.
* NEW: The component interface has been redesigned.
[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the
area before calling the Draw event handler.
git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Complete the french translation.
[INTERPRETER]
* BUG: Class reimplementation of Abs() now can return an object or a
floating-point number.
[GB.COMPLEX]
* BUG: Abs() on a Complex returns a Float.
[GB.GEOM]
* BUG: Abs() on a Point or a PointF returns a Float.
[GB.GSL]
* BUG: Abs() on a Complex returns a Float.
git-svn-id: svn://localhost/gambas/trunk@5835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for inequality operators in the operator interface.
* NEW: The Sgn() function can be implemented by the operator interface.
[GB.GMP]
* NEW: BigInt now supports inequality operators.
* NEW: New methods: Odd(), Even()
* NEW: Logical operators as static methods: And, Or, Xor, Not.
* NEW: Bit manipulation as static methods: BSet, BClr, BChg, BTst.
git-svn-id: svn://localhost/gambas/trunk@5828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Abs() when that operator is implemented at class level, so that
it returns an object and not necesarrily a floating point value.
[GB.GMP]
* NEW: New component based on the Gnu Multiple Precision Arithmetic
Library. Only big integers (BigInt class) are partially implemented at
the moment.
git-svn-id: svn://localhost/gambas/trunk@5826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Mark component as stable
[GB.OPENSSL]
* NEW: Mark component as stable
git-svn-id: svn://localhost/gambas/trunk@5825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Mark the component as stable.
[GB.GUI.BASE]
* BUG: Draw.Picture() and Draw.Image() source arguments now work correctly.
* NEW: Add void constructors to HSplit and VSplit for the documentation.
git-svn-id: svn://localhost/gambas/trunk@5824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible false error when using LINE INPUT on non-blocking
streams.
[GB.FORM]
* NEW: LCDLabel.Value is a new property that is a synonymous of the Text
property for numerical values.
git-svn-id: svn://localhost/gambas/trunk@5819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Continue on fixing "stop watching on end of file" algorithm...
git-svn-id: svn://localhost/gambas/trunk@5818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not stop watching when reading up to a specified number of bytes.
git-svn-id: svn://localhost/gambas/trunk@5816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update copyright years.
* NEW: Have a stripped-down version of gb_common_string_temp.h to provide
STRING_compare() without producing compilation problems.
* NEW: AvlTree is a new Collection-like class implementing a balanced
binary search tree. It does _not_ utilise hashing in order to maintain
an order of the literal key strings given by the user (For Each thus
traverses from smallest to greatest key).
* NEW: Carry in a stripped-down version of Bob Jenkins' lookup3 hash
algorithm from the Public Domain. It was a last-minute decision to not use
it in AvlTree to maintain the literal key order.
git-svn-id: svn://localhost/gambas/trunk@5812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Disable read watch when reading a stream fails for any reason: i/o
error, end-of-file...
git-svn-id: svn://localhost/gambas/trunk@5811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Bug fixes. Clicking on the center button of a selected
shape now selects the next one whose center is about at the same place.
[GB.CLIPPER]
* BUG: Clipper Offset, Union, Intersection... methods now ensure that they
return closed polygons.
* NEW: Polygon.Orientation is a new property that returns the polygon
orientation.
git-svn-id: svn://localhost/gambas/trunk@5806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: ImageEditor: Optimize the pen and eraser tools.
* NEW: ImageEditor: The popup menu allows to define the magnet grid of the
current selected shape.
[GB.CLIPPER]
* BUG: Polygon.Clean() does not close the polygon automatically.
* NEW: Polygon.Add() and Polygon.AddPoint() are two new methods to add a
point to a polygon.
* NEW: Polygon.Remove() is a new method to remove points from a polygon.
[GB.FORM]
* NEW: The ImageView draws nothing by itself if its Draw event is catched.
Drawing the image is then entirely up to the Draw event handler.
git-svn-id: svn://localhost/gambas/trunk@5805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SliderBox is a new control that displays a Slider and a SpinBox,
both being synchronized.
* NEW: The SidePanel transparent handle is now smaller when the SidePanel
is hidden.
git-svn-id: svn://localhost/gambas/trunk@5804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Implement the "!xxx" syntax for the WITH ... END WITH control
structure.
git-svn-id: svn://localhost/gambas/trunk@5798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The ".[xxx]" syntax now can be used inside a WITH <object> ...
END WITH control structure. It is a synonymous for "<object>[xxx]".
git-svn-id: svn://localhost/gambas/trunk@5797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Pressing SHIFT with the magic wand substracts to the
current selection.
* BUG: ImageEditor: Selection handles are correctly updated in all cases.
[GB.CLIPPER]
* NEW: Implementation of the three other boolean operations through the
Clipper.Intersection(), Clipper.Difference() and Clipper.ExclusiveOr()
methods.
git-svn-id: svn://localhost/gambas/trunk@5795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: the magic wand automatically merge the current
selection.
[GB.CLIPPER]
* NEW: Polygon is a new class that represents a polygon. It can be
automatically converted to and from PointF[].
* NEW: All methods now use Polygon and Polygon[] instead of PointF[] and
PointF[][].
* NEW: Clipper.Union() is a new method that returns the union of an array
of polygons.
git-svn-id: svn://localhost/gambas/trunk@5794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: The image size is displayed wen the mouse cursor is
outside of the view. Many bug fixes. The magic wand has been implemented.
JIT compiler is used to speed-up the routine.
[GB.CLIPPER]
* NEW: Clipper.OffsetPolygons has been renamed as Clipper.Offset.
* NEW: Clipper.Simplify and Clipper.Clean methods have been implemented.
[GB.DESKTOP]
* NEW: DesktopFile.Run() method now returns the created process object.
[GB.IMAGE]
* NEW: Color.Distance() is a new method that returns the RGBA distance
between two colours as a floating point value between 0.0 and 1.0.
git-svn-id: svn://localhost/gambas/trunk@5792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Process.Ignore() is a new method that tells the interpreter to not
wait for the process end. If the interpreter exits, that process is then
automatically killed.
git-svn-id: svn://localhost/gambas/trunk@5791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Process management is now reliable against processes killed and
started during process event handlers.
git-svn-id: svn://localhost/gambas/trunk@5790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Invert the current selected shape reverses its points
order. Selection offset has been implemented on top of the new
gb.clipper component. Many bug fixes.
[GB.CLIPPER]
* NEW: This a new component based on the "Clipper" library. At the moment,
it only allows to offset a group of polygons from a specified pixel
delta.
git-svn-id: svn://localhost/gambas/trunk@5788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Tons of bug fixes. The current selection and the
current pasted image can be moved, rotated and shrinked with the mouse.
* NEW: Image rotation tool.
[GB.DRAW]
* BUG: The PaintMatrix class is now really autonomous. It can be used
without a current drawing device.
* NEW: PaintMatrix.Copy() is a new method that copies a matrix.
* NEW: PaintMatrix.Map() is a new method that applies a matrix to a point
and returns the result.
[GB.FORM]
* NEW: ImageView can take the focus.
* BUG: DirChooser should not crash anymore when it cannot access a
bookmark.
[GB.GTK]
* NEW: Implementation of the new PaintMatrix design.
[GB.IMAGE]
* BUG: Image.Fuzzy() argument cannot be greater than 254.
[GB.QT4]
* NEW: Implementation of the new PaintMatrix design.
git-svn-id: svn://localhost/gambas/trunk@5779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix possible bugs when updating an invalid Current.
* BUG: Really erase old elements instead of just marking them as Null to
prevent (potential) information leaks.
* OPT: Current and the enumerators (internally) carry list global indices
(LGI) which can be used as anchor points together with List.Count to speed
up traversals (always taking the shortest way through the list).
* OPT: Remove workaround code related to an enumerator bug fixed in #5749.
* NEW: Expose List.Current as a virtual object representing the current list
element which has Append() and Prepend() methods to manipulate the list
not only around its head. This breaks backwards compatibility.
* NEW: List.Value is what List.Current has meant formerly.
* NEW: Add List.Current.Index and List.Index which are an absolute index of
the current element into the list. These are guaranteed to be in bounds of
[-List.Count; List.Count - 1]. Note that each non-negative index has an
associated negative equivalent and vice versa. They work like the indices
given to List._get().
* NEW: Add a List.AutoNormalize property which instructs the list to
automatically make indices (like resulting from a calculation) fit into
the List bounds preserving the sign of the given index. This effectively
prevents any "Out of bounds" errors.
* NEW: Add List.MoveTo() to point Current to an index.
* NEW: List.Current.Is{First,Last,Valid} can be used to determine if Current
is the first or last element of the list or if it is valid, respectively.
git-svn-id: svn://localhost/gambas/trunk@5778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image editor: Support for gamma, hue, saturation and lightness
balance. Read-only mode has been implemented. Many bug fixes everywhere.
[GB.FORM]
* NEW: Remove Brightness and Contrast properties from the ImageView
control.
[GB.IMAGE]
* NEW: Image.BrightnessContrast has been removed.
* NEW: New balance methods: Image.Brightness, Image.Contrast, Image.Gamma,
Image.Hue, Image.Saturation, Image.Lightness.
* NEW: Image.BeginBalance() and Image.EndBalance() are two new methods that
allow to group calls to the previous methods, so that all the balances
are done in one shot.
git-svn-id: svn://localhost/gambas/trunk@5776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Image editor: Image brightness and constrast, clipboard management,
cut, copy & paste have been implemented. Many fixes everywhere.
* NEW: Image editor: Resize dialog has been enhanced.
[GB.IMAGE]
* BUG: Image.Copy() now checks its arguments better, so that it does not
generate images with garbage inside.
* NEW: Image.BrightnessContrast() is a new method that allows to change the
brightness and contrast of an image.
* OPT: Internal routines for color space conversion between HSV and RGB
have been optimized.
[GB.FORM]
* NEW: The ImageView Draw event now takes the image that has been drawn as
argument.
* NEW: ImageView.Brightness and ImageView.Contrast are two new properties
that allow to define the corresponding effects applied to the displayed
image.
git-svn-id: svn://localhost/gambas/trunk@5775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update copyright year to 2013.
[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a
scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.
git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a menu item in the "Debug" menu to define ine one click if an
embedded HTTP server must be used.
* NEW: The 'gb.httpd' component can be checked explicitely.
* BUG: Fix the local variable view when they are displayed in columns.
[WIKI CGI SCRIPT]
* NEW: The indexes are more compact now.
[INTERPRETER]
* NEW: The option '-H' is assumed if the project depends on the 'gb.httpd'
component explicitely.
[GB.FORM]
* BUG: Balloon: Fix the bubble drawing routine.
* NEW: The GB_STOCK_DEBUG environment variable must be used now instead of
the GB_STOCK variable.
[GB.HTTPD]
* BUG: Many fixes in CGI handling if the project is in debugging mode.
* NEW: Replace "thttpd" strings by "gb.httpd".
* NEW: Simplify the default HTML error page.
* NEW: If the GB_HTTPD_DEBUG environment variable is set to "1", then all
HTTP server debugging messages are printed to the standard error.
Otherwise, nothing is printed.
git-svn-id: svn://localhost/gambas/trunk@5769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When the 'gb.web' component is selected, a new option is available
in the project property dialog: "Run in an embedded HTTP server".
(INTERPRETER]
* NEW: GB.System.Debug() is a new API that allows to know if the
interpreter is run in debugging mode.
[GB.DEBUG]
* NEW: The debugger tells the IDE when its prompt is the first one.
[GB.HTTPD]
* NEW: Reset locale to "C" before running the http server.
* BUG: The CGI "SCRIPT_NAME" variable is set to "/".
* NEW: The default CGI timeout is now 10 minutes.
* NEW: Behave accurately when run in debugging mode : only one CGI script
at a time is allowed.
* NEW: When run in debugging mode, there is no CGI timeout.
git-svn-id: svn://localhost/gambas/trunk@5765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Components can have a new state: "Deprecated".
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a filter to the component tab of the project property dialog.
[WEBSITE MAKER]
* BUG: Translations came back.
[GB.OPTION]
* NEW: This component is now deprecated.
[GB.V4L]
* NEW: This component is now deprecated.
git-svn-id: svn://localhost/gambas/trunk@5761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.ReturnSingle() is a new API that allows to return a Single from a
method or property implementation routine.
[GB.NET.POP3]
* NEW: Pop3Client has a new Remove() method to delete a message from its
index. Pop3Client.Remove(n) is just a synonymous for
Pop3Client[n].Delete.
[GB.OPENAL]
* NEW: New component for the OpenAL 3D audio library. Work in progress...
[GB.OPENGL]
* BUG: Fix a possible crash in GL.GenTextures(). I guess that bug will have
to be fixed in other equivalent routines.
git-svn-id: svn://localhost/gambas/trunk@5753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UnBase64() works correctly now. It does not add extra null bytes
anymore.
git-svn-id: svn://localhost/gambas/trunk@5752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Enumeration objects are immediately freed when the enumeration is
stopped.
git-svn-id: svn://localhost/gambas/trunk@5750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a file properties view in the CSV import dialog.
[INFORMER]
* BUG: Write boolean constants in information files as "T" and "", not
"True" and "False". It breaks things.
[GB.FORM]
* NEW: The file properties dialog has an automatic preview tab for image
files.
[GB.DB.FORM]
* NEW: The DataView control can edit blob fields now.
git-svn-id: svn://localhost/gambas/trunk@5736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Using a database URL in the Connection constructor works now.
git-svn-id: svn://localhost/gambas/trunk@5735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Shrink internal data structures and adjust algorithms likely
improving performance (noticably for the 'random' case of my stress test -
the 'best' case is almost on a par with Variant[] now).
* BUG: Fix difficult-to-spot List.Take() bugs due to difficulties with the
former internal data structures. The class now survives all my test cases
(without misbehaviour under valgrind).
* BUG: List.Take() never raises "Out of bounds" anymore if the list is empty
because that's an inappropriate error for a *circular* list. It raises an
error if an attempt is made to Take() an invalid Current which includes
the case that the List is empty.
git-svn-id: svn://localhost/gambas/trunk@5731 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MATCH is a new operator that automatically load the gb.pcre
component to implement PCRE pattern matching. The syntax is the same as
the LIKE operator.
[COMPILER]
* NEW: Add a new MATCH operator.
[GB.FORM]
* BUG: The directory contents size task does not abort anymore when
accessing an unreadable files or directory. It now ignore them.
* NEW: When errors are raised while browsing the contents of a directory,
the file properties dialog display them is a new tab.
[GB.PCRE]
* NEW: Create an API interface for allowing other components to use PCRE
regular expressions.
git-svn-id: svn://localhost/gambas/trunk@5730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the frame position when dragging a control from the toolbar on
a container.
* NEW: The project file properties dialog is now based on the new
FileProperties control.
[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
register cleanup routines that are called when an error is raised between
the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.
[INFORMER]
* BUG: The value of Float constants is now correctly dumped in *.info
files.
[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.
[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where
the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where
the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where
the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory
where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file
extension.
[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a
specific file or directory. It automatically computes the size of
directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its
layout.
* NEW: The stock icon map now can declare specific icons for specific
widget themes.
[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.
[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.
[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as
Editor.LineNumberOffset.
git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A stream redirected through the 'Begin' method checks that stream is
ready for writing only when the 'Send' method is called. Between the
'Begin' and 'Send' calls, the PRINT and WRITE instructions will always
succeed.
git-svn-id: svn://localhost/gambas/trunk@5723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MediaPlayer: Display the name of the device, not just its system
path.
[INTERPRETER]
* BUG: In File.Load(), workaround virtual files (like those located in
'/sys') whose official size is not their real size.
git-svn-id: svn://localhost/gambas/trunk@5712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash when calling a dynamic _call special method in a static
context. Raise an error instead.
git-svn-id: svn://localhost/gambas/trunk@5707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Generate correct information files for components having string
constants with newline inside.
git-svn-id: svn://localhost/gambas/trunk@5706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not search for Application_Error if the project startup class
has not be loaded yet.
[GB.GUI.BASE]
* NEW: Typing keys inside an IconView should not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@5697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Fractal example now uses eight background tasks to draw the
fractal.
[GB.IMAGE]
* NEW: Image.Pixels is a new property that allows to return the image
pixels as an integer array, and to set the image pixels from an integer
array.
git-svn-id: svn://localhost/gambas/trunk@5687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly handle functions with a variable number of arguments when
an array conversion occurs during argument parsing.
* BUG: The debugger now correctly displays and modifies arguments of
functions having a variable number of arguments.
[GB.DEBUG]
* BUG: The debugger now correctly displays and modifies arguments of
functions having a variable number of arguments.
git-svn-id: svn://localhost/gambas/trunk@5686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update VERSION file.
[DEVELOPMENT ENVIRONMENT]
* BUG: If the desktop password wallet is not available, do not crash
anymore, but display an error message instead.
[INTERPRETER]
* BUG: Some fixes in Application_Error method management.
[GB.EVAL.HIGHLIGHT]
* BUG: Some fixes in HTML highlighting.
[GB.QT.4.EXT]
* NEW: Editor: jumping to the next procedure from the current one now goes
to the end of the file.
git-svn-id: svn://localhost/gambas/trunk@5684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Make {gba,gbc,gbi,gbx}.c depend on trunk_version.h so that they are
rebuilt when it changes in order to always show the correct version.
git-svn-id: svn://localhost/gambas/trunk@5679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: If the IDE throws an uncatched error, try to save all modified files
before aborting.
[INTERPRETER]
* NEW: If a static public method named Application_Error() is defined in
the startup class, then this method will be called when an unhandled
error is thrown, just before the program is aborted.
git-svn-id: svn://localhost/gambas/trunk@5678 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The trunk version is now generated at compilation time through
custom rules and a generated include in the Makefile.am file.
[EXAMPLES]
* NEW: Use the new HttpClient Progress event and its properties in the
HttpGet networking example.
git-svn-id: svn://localhost/gambas/trunk@5676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The trunk version is now put in the 'config.h' file of the /main
source directory. No compilation flag is used anymore.
* NEW: All Gambad executables return the trunk revision number when they
are called with the '-V' option.
[GB.WEB]
* BUG: The Request.Fields property now can be read without reading the
value of a request field first.
git-svn-id: svn://localhost/gambas/trunk@5674 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Execute the svn command for TRUNK_VERSION within the C locale to
avoid surprises when grepping the output.
git-svn-id: svn://localhost/gambas/trunk@5673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Define the TRUNK_VERSION macro in gbx's Makefile.am which is less
error-prone and other parts of the build process won't use it anyway.
automake thinks that the $(shell ...) call shall a variable and warns but
that can safely be ignored I think.
git-svn-id: svn://localhost/gambas/trunk@5672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The TRUNK_VERSION macro is now defined to the overall SVN repository
revision if Gambas is compiled from inside a repository. The value is
detected by the Makefiles and passed as a command line definition to gcc.
[INTERPRETER]
* NEW: --version also prints the SVN revision number when gbx3 was compiled
from a SVN repository.
git-svn-id: svn://localhost/gambas/trunk@5662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove geometry classes and put them in the gb.geom component.
[GB.GEOM]
* NEW: New hidden component that implements all geometry classes: Point,
PointF, Rect and RectF.
git-svn-id: svn://localhost/gambas/trunk@5641 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Now a FOR loop with no loop variable correctly raises a syntax
error.
git-svn-id: svn://localhost/gambas/trunk@5637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't wait for a stream to be ready for reading if the stream has no
underlying file descriptor.
git-svn-id: svn://localhost/gambas/trunk@5633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: "Compress all" and "Uncompress all" action on project sub-
directories.
* BUG: Do not crash when checking for completion in text editor.
[INTERPRETER]
* BUG: Void string contants work correctly now.
[COMPILER]
* BUG: Functions now can have up to 65536 bytecode operations instead of
32768.
* NEW: Support for the Parent property of WebPage.
* NEW: WebPage markups attributes can use the <%...%> syntax.
[GB.EVAL.HIGHLIGHT]
* NEW: HTML highlighting has be rewritten. <%...%> markups are taken into
account inside <style> and <script> markups.
[GB.FORM]
* NEW: FileView and DirView now display hidden files lightly, and symbolic
links in italic.
* NEW: File properties dialog in FileChooser and DirChooser.
[GB.FORM.STOCK]
* NEW: Default icons for some mime types.
[GB.GTK]
* BUG: Menu click event is now triggered the same way as in gb.qt4.
* BUG: Control.HasFocus() works correctly now.
* BUG: Modal windows cannot be shrinked less then their initial size
anymore.
[GB.GUI.BASE]
* NEW: IconView, TreeView, ListView and ColumnView items now have a
RichText property.
[GB.WEB]
* NEW: WebPage.Parent property returns the parent webpage that includes the
current webpage with the <<...>> markup.
git-svn-id: svn://localhost/gambas/trunk@5623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow a component to have a requirement on the XML implementation
feature (i.e. 'gb.xml' or 'gb.libxml').
git-svn-id: svn://localhost/gambas/trunk@5617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a memory leak when trying to run a non-existant program with
EXEC or SHELL.
git-svn-id: svn://localhost/gambas/trunk@5614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The previous fix was incorrect. We can now really create an
executable when the project directory and the target directory are not on
the same device.
git-svn-id: svn://localhost/gambas/trunk@5604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Be able to create the executable file if /tmp and the target
directory are not on the same device.
git-svn-id: svn://localhost/gambas/trunk@5603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly free things then something bad happens while starting a
child process.
git-svn-id: svn://localhost/gambas/trunk@5600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add translations for details of the E_CHILD error message.
[INTERPRETER]
* NEW: If the program name of EXEC is an absolute path, immediately raise
an error if it does not exist.
git-svn-id: svn://localhost/gambas/trunk@5597 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't flush the process output at process end if the process stream
has already been closed.
git-svn-id: svn://localhost/gambas/trunk@5585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When the default date format associated with the current locale is
not a numeric one, use the american format. It was done for 'en_PH'
locale.
git-svn-id: svn://localhost/gambas/trunk@5583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Common renaming routine for TextView, ListView, ColumnView and
IconView.
* NEW: IconView.Renaming is a new property that returns if an item is being
renamed.
* BUG: Renaming an IconView item now correctly works if the IconView is
sorted.
* NEW: FileChooser and DirChooser now can rename or delete files.
[GB.QT4]
* NEW: TextArea inner margin is now two pixels when there is a border, and
zero pixels when there is no border.
git-svn-id: svn://localhost/gambas/trunk@5571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Defining the PWD environment variable in a SHELL or EXEC instruction
changes the working directory of the child process.
git-svn-id: svn://localhost/gambas/trunk@5569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When the parent of an observer is detected invalid while raising an
event, detach the observer and not the observed object!
git-svn-id: svn://localhost/gambas/trunk@5567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Uninstall should honor XDG_UTILS variable during 'make uninstall'.
This fix building in ArchLinux.
git-svn-id: svn://localhost/gambas/trunk@5556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.Stream.Eof() is a new API that returns if there is something to
read on a stream, by taking the 'Line Input' internal buffer into
account.
[GB.NET.CURL]
* NEW: Now the Read event is raised again and again while there is
something to read.
git-svn-id: svn://localhost/gambas/trunk@5554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new interpreter API that allows a component to tell that its
custom stream data is immediately available.
* BUG: GB.Stream.SetBytesRead() now increments the internal number of read
bytes, so that the 'Line Input' buffer is taken into account.
[GB.NET.CURL]
* NEW: The FtpClient or HttpClient Read event is now called as long as
there is something to read *and* the event handler actually read at least
one byte.
* BUG: The handle of a curl object is now -1 (i.e. it is not available).
* BUG: The data received by a curl object is immediately available to the
READ instruction.
git-svn-id: svn://localhost/gambas/trunk@5553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Display an accurate error message if the project cannot be started.
git-svn-id: svn://localhost/gambas/trunk@5525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix structure field alignment mismatch that led to memory leaks.
git-svn-id: svn://localhost/gambas/trunk@5519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ending a process was removing the watched file descriptors twice in
some cases.
git-svn-id: svn://localhost/gambas/trunk@5511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly raise an error if we use the New keyword inside an
embedded array declaration.
git-svn-id: svn://localhost/gambas/trunk@5506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixes of bugs detected by Coverity Scan.
* BUG: Process output is correctly flushed at process exit now.
[COMPILER]
* BUG: Fixes of bugs detected by Coverity Scan.
[ARCHIVER]
* BUG: Fixes of bugs detected by Coverity Scan.
[INFORMER]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.COMPRESS]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.DEBUG]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.EVAL]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.IMAGE]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.IMAGE.EFFECT]
* BUG: Fixes of bugs detected by Coverity Scan.
[GB.VB]
* BUG: Fixes of bugs detected by Coverity Scan.
git-svn-id: svn://localhost/gambas/trunk@5493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some fixes of bugs detected by Coverity Scan.
* NEW: Raise a 'Filename too long' error now when a too long file path is
detected inside a file management function.
* NEW: System.TimeZone is a new property that returns the current timezone
as an offset in seconds that must be added to a local time to get UTC.
[COMPILER]
* BUG: Some fixes of bugs detected by Coverity Scan.
[GB.IMAGE]
* BUG: Some fixes of bugs detected by Coverity Scan.
git-svn-id: svn://localhost/gambas/trunk@5490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly initalize the help browser layout.
* NEW: Use the new Image.Fuzzy() method to draw a drop shadow in the
welcome screen text.
[COMPILER]
* NEW: The GB_PCODE_VERSION environment variable can take 'X.YY' as version
instead of 'X.YY.ZZZZ', which is actually useless.
[GB.COMPRESS]
* BUG: Remove useless code never compiled.
[GB.DBUS]
* BUG: Fix a possible memory leak in a debugging routine.
[GB.GSL]
* BUG: Remove useless code never compiled.
[GB.GTK]
* NEW: Implement a cairo surface cache in the Image class, so that drawing
the same image several times trigger a GdkPixbuf -> Cairo surface
conversion once.
* BUG: Slider and Scrollbar controls now raise the Change event only if the
value has really changed.
[GB.NET]
* BUG: Remove useless code never compiled.
[GB.NET.CURL]
* BUG: Remove useless code never compiled.
[GB.NET.SMTP]
* BUG: Remove useless code never compiled.
[GB.V4L]
* BUG: Remove useless code never compiled.
git-svn-id: svn://localhost/gambas/trunk@5489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GB_PCODE_VERSION environment variable tells the compiler to use
a different bytecode version that the current one. Use that hack only if
you know exactly what you are doing.
git-svn-id: svn://localhost/gambas/trunk@5488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove old GDK / X11 drawing code.
[GB.IMAGE]
* NEW: Image.Fuzzy() is a new blur method based on the 'StackBlur'
algorithm made by Mario Klingemann.
git-svn-id: svn://localhost/gambas/trunk@5487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Check process stack pointer with a bigger margin so that we get
'Stack overflow' errors instead of segfaults.
[GB.GTK]
* BUG: Fix menu bar layout when the window is shown for the first time.
[GB.GUI.BASE]
* BUG: Don't set the background color of ScrollArea scrollbars.
[GB.QT4]
* NEW: Remove any useless reference to Q3ScrollView.
* OPT: Paint.ClipRect is now optimized when the clipping region is a single
rectangle.
git-svn-id: svn://localhost/gambas/trunk@5481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix history page.
[GB.GUI.BASE]
* OPT: ScrollArea scrollbars should not flicker anymore during a resizing
operation.
* BUG: Fix HSPlit and VSplit behaviour when the visibility of a child
changes.
* NEW: HSplit.Layout and VSplit.Layout now return the width of an hidden
child as zero.
[GB.QT4]
* OPT: Optimize clipping when the clipping area is a rectangle.
git-svn-id: svn://localhost/gambas/trunk@5480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pointer to string conversion now uses hexadecimal numbers.
[GB.QT4]
* BUG: Clipping now works when drawing pictures or images.
git-svn-id: svn://localhost/gambas/trunk@5478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix compilation on 32 bits systems.
[GB.FORM]
* NEW: DateChooser got a boolean Border property.
* NEW: ColorChooser got a boolean Border property.
[GB.GTK]
* BUG: Style drawing methods should be correctly clipped now.
* BUG: Compilation with older versions of librsvg should work now.
* BUG: Setting the Paint.Font property with a control font has no side
effects anymore.
* BUG: Drawing richt text and getting rich text size now wrap the text the
same way.
git-svn-id: svn://localhost/gambas/trunk@5474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pointer can be converted to String like Integer or Long.
[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update the '~/.fonts.conf' file when installing the Gambas
font.
[GB.GTK]
* NEW: Remove HSplit and VSplit controls.
[GB.GUI.BASE]
* NEW: HSplit and VSplit controls are now implemented with Gambas.
* BUG: Fix scrollbar layout of ScrollArea and all its descendants.
[GB.QT4]
* NEW: Remove HSplit and VSplit controls.
git-svn-id: svn://localhost/gambas/trunk@5472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Check at startup that temporary directories are really directories
and not symbolic links.
git-svn-id: svn://localhost/gambas/trunk@5464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do 'svn cleanup' in the parent directory of the project.
[COMPILER]
* BUG: Do not emit inaccurate line number information for forms and global
variables with no initialization.
[INTERPRETER]
* BUG: When creating the process temporary directory, check the permissions
of both the top directory (gambas.<userid>) and the process directory
inside.
git-svn-id: svn://localhost/gambas/trunk@5461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Emit line positions in debugging information for global
initializations.
git-svn-id: svn://localhost/gambas/trunk@5452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support the new QUIT syntax with an exit code.
* NEW: Support raising events in parent classes.
git-svn-id: svn://localhost/gambas/trunk@5447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly check that there is a current paint device in all Paint
methods and properties.
git-svn-id: svn://localhost/gambas/trunk@5440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ensure that the interpreter temporary directory is owned by the
current user and that its rights are accurate. Otherwise abort.
git-svn-id: svn://localhost/gambas/trunk@5438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix how documentation pages of code and libraries written in Gambas
are generated.
* NEW: Some little fixes in Gambas terminal fonts.
[GB.COMPRESS.ZLIB]
* BUG: Fix the driver that was not working anymore.
[GB.COMPRESS.BZLIB2]
* BUG: Fix the driver that was not working anymore.
git-svn-id: svn://localhost/gambas/trunk@5435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New API to return the image format as a string.
[GB.IMAGE.EFFECT]
* BUG: Fix the histogram inversion, and inversion in other effects with
GTK+ images.
git-svn-id: svn://localhost/gambas/trunk@5417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use a big font for displaying cursor position in editors.
[GB.DRAW]
* NEW: Paint.Arc() and Paint.Ellipse() take a new optional boolean argument
that tells if a pie must be drawn instead of a chord.
[GB.FORM]
* NEW: LCDLabel now has an HighlightColor property that allows to define
the color of the glow. By default, no glow is drawn.
[GB.GTK]
* BUG: Fix control background drawing routine.
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().
[GB.GUI.BASE]
* BUG: Draw.Ellipse() and Draw.Circle() now draw a pie instead of a chord.
[GB.QT4]
* NEW: Implement the new "Pie" argument of Paint.Arc() and Paint.Ellipse().
git-svn-id: svn://localhost/gambas/trunk@5413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The project tree control now uses the same icons as the main project
tree view.
* NEW: Support for LCDLabel.
[EXAMPLES]
* BUG: MediaPlayer: Remove uses of the DrawingArea.Painted property.
[INTERPRETER]
* BUG: The GB.GetProperty() API has been fixed, and now use the datatype of
the property for the return value.
* OPT: Remove some useless table symbol class at class loading for native
classes that do not raise events.
[GB.DRAW]
* NEW: PaintMatrix is now creatable.
[GB.FORM]
* NEW: LCDLabel is a new control that displays its contents with sixteen
segments LCD digits.
[GB.MEDIA]
* BUG: Remove the useless MediaPlayer.Visualisation property.
git-svn-id: svn://localhost/gambas/trunk@5412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Finish the List class
* NEW: Add List.Clear(). How could I go without since now?
* OPT: FYI, Current and enumerators remain relative to the _beginning_ of
the list if they're removed in order to can access all elements in an
enumeration.
* NEW: Return NULL for an invalid List.Current instead of raising an error.
However, the attempt to remove an invalid Current still results in that
error.
git-svn-id: svn://localhost/gambas/trunk@5403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Get rid of the last use of the deprecated DrawingArea.Painted
property.
[INTERPRETER]
* NEW: The deprecated API message now displays the current code position.
[GB.FORM]
* NEW: The FileChooser and DirChooser label that displays the current
directory now "ellipsized" it if there is not enough room.
[GB.GTK]
* BUG: All style drawing methods now draw at the correct position.
* NEW: Start replacing old GDK drawing methods by Cairo methods.
[GB.MAP]
* NEW: Rename the MapViewer control as MapView.
* BUG: Don't redefine standard events. Use a proxy instead.
git-svn-id: svn://localhost/gambas/trunk@5396 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the '_call_ special methods of Rect, RectF, Point and PointF,
that must be static.
[GB.GUI.BASE]
* BUG: Fix Rect symbol clash in Draw.Zoom.
* NEW: ScrollArea.Painted property is now deprecated.
git-svn-id: svn://localhost/gambas/trunk@5387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Paint.ZoomImage() method.
[GB.GTK]
* BUG: Paint.Begin() correctly initializes the line width to 1.0.
[GB.GUI.BASE]
* NEW: Draw.Polygon now uses Paint.Polygon.
[GB.QT4]
* BUG: Clipboard.Type correctly returns Clipboard.Image after an image has
been copied to the clipboard.
git-svn-id: svn://localhost/gambas/trunk@5386 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paiting example: add an example for rounded rectangles.
[GB.DRAW]
* NEW: Paint.Polygon() is a new method that paints a closed polygon.
* NEW: Paint.Rectangle() now takes an optional radius argument. If its is
specified with a value greater than zero, then a rounded rectangle is
painted.
git-svn-id: svn://localhost/gambas/trunk@5385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove uses of DrawingArea.Painted.
[GB.FORM]
* BUG: Remove uses of DrawingArea.Painted.
[GB.GUI.BASE]
* BUG: Fix Draw.Style.Box() method.
[GB.MAP]
* NEW: MapPoint.Distance() is a new method that returns the geodesic
distance between two points.
* NEW: Map.From() is a new method that returns the position of a point from
an initial point, a direction and a distance.
* NEW: Map.Bearing() is a new method that returns the direction from an
initial point to a destination point.
git-svn-id: svn://localhost/gambas/trunk@5384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update error messages.
[GB.DRAW]
* NEW: The Draw class has been removed.
* NEW: Paint.Ellipse() is a new method that paints an ellipse.
* NEW: Paint.TextSize() returns the bounding box of a text like
Draw.TextWidth() and Draw.TextHeight() did, which is not the same thing
as Paint.TextExtents().
* NEW: Paint.RichTextSize() returns the bounding box of a rich text like
Draw.RichTextWidth() and Draw.RichTextHeight() did, which is not the same
thing as Paint.RichTextExtents().
* NEW: Paint.FillRect() fills a rectangle with a specific color.
* NEW: Paint.DrawImage() takes an extra 'Source' argument which is a
rectangle describing a piece of the source image.
* NEW: Paint.DrawPicture() now replaces the old Draw.Picture() method.
* NEW: Paint.ZoomImage() now replaces the old Draw.Zoom() method.
* NEW: The default line width after a Paint.Begin() is one pixel now.
[GB.GTK]
* NEW: DrawingArea.Painted has been deprecated.
* BUG: Don't use the 'cairo_set_device_offset' method to draw on a
DrawingArea, but a matrix translation.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.
[GB.GUI.BASE]
* NEW: Do not highlight the sorted column in GridView, TreeView, ListBox...
if there is only one column.
* NEW: Implement a new Draw class that simulates the old one by using the
Paint class.
[GB.JIT]
* BUG: Fix the argument order of E_NSYMBOL error message.
[GB.QT4]
* NEW: DrawingArea.Painted has been deprecated.
* NEW: Support for the new Paint methods.
* NEW: The old Draw.Style methods have been moved to the Style class.
* NEW: You cannot draw on a Window anymore.
git-svn-id: svn://localhost/gambas/trunk@5382 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.DrawImage() now takes a source rectangle.
* NEW: Paint.DrawPicture() is a replacement for Draw.Picture().
* NEW: Paint.ZoomImage() is a replacement for Draw.Zoom().
[GB.GTK]
* NEW: Start implementing new Paint methods.
[GB.QT4]
* NEW: Start implementing new Paint methods.
git-svn-id: svn://localhost/gambas/trunk@5376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix division by zero when read/write pointer is set on 0-length
Circular (useless but legal).
git-svn-id: svn://localhost/gambas/trunk@5375 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.BrushOrigin is a new property that allows to define the origin
of the brush.
* NEW: Paint.FillRect is a new property equivalent to Draw.FillRect.
[GB.GTK]
* NEW: Support for the new Paint methods.
[GB.GUI.BASE]
* NEW: Start to implement a Draw static class based on the Paint class.
That class aims at replacing the current Draw class. As it will be based
on the Paint class, it will be able to act on Image and Printer, making
the old Gambas 2 printing code works with Gambas 3 directly.
[GB.QT4]
* NEW: Support for the new Paint methods.
git-svn-id: svn://localhost/gambas/trunk@5365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The RAISE instruction now can raise events defined in a parent
class.
* NEW: Timer: The Trigger method now does nothing if there is an already
pending trigger. This behaviour is not backward-compatible, so it may be
removed if problems arise.
[COMPILER]
* NEW: The RAISE instruction now can raise events defined in a parent
class.
[GB.DRAW]
* NEW: Implement standard operators in Point and PointF classes.
* NEW: Automatic conversion between Point and PointF.
* NEW: 'CDraw.c' and 'CDraw.h' source files have been renamed as 'cdraw.c'
and 'cdraw.h'.
* NEW: Rect.Center() and RectF.Center() are two new methods that return the
center of the rectangle.
[GB.FORM]
* NEW: FileChooser: tar archives now can be uncompressed.
git-svn-id: svn://localhost/gambas/trunk@5359 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use DesltopMime.FromFile() method to handle project data files.
* BUG: Installing the Gambas fonts override the old ones that could be
already installed.
* NEW: Update the Gambas fonts.
[GB.DESKTOP]
* BUG: DesktopFile.Run() now handle programs that does not specify any
argument pattern (%u, %f, and so on) in its command description.
[GB.DRAW]
* NEW: Add a RectF class, that is a rectangle with Float coordinates.
* NEW: Add a Point class, that is just a point with two Integer
coordinates.
* NEW: Add a PointF class, that is just a point with two Float
coordinates.
[GB.GUI.BASE]
* BUG: GridView and TreeView controls should not lose any MouseDown event
anymore.
* BUG: Fix previous TreeView optimizations.
[GB.MAP]
* BUG: Rename the "map" class as "Map".
git-svn-id: svn://localhost/gambas/trunk@5354 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Be sure that the welcome dialog filter has the focus.
[WEBSITE MAKER]
* NEW: Update for 3.3.4.
[GB.DB]
* BUG: A failing table or user add does not leak memory anymore.
* BUG: Fix the removal method of the .SubCollection virtual class.
[GB.DB.SQLITE3]
* BUG: Detect serial fields correctly now.
[GB.QT4]
* BUG: Enusre that embedded windows emit their Open event before any Move,
Resize events...
git-svn-id: svn://localhost/gambas/trunk@5340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't declare virtual classes now present in the *.list files.
[INFORMER]
* BUG: Put virtual classes in *.list files so that the IDE is aware of
their existence.
git-svn-id: svn://localhost/gambas/trunk@5336 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.
[GB.DB]
* NEW: Move the '.SubCollection' virtual class to the gb.db. component.
[GB.FORM]
* BUG: TabPanel: Fix the algorithm ensuring that the current tab is
visible.
git-svn-id: svn://localhost/gambas/trunk@5326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the help comments integrated into the *.info files by
the compiler.
* NEW: Use the help comments stored in libraries and display them in them
help tooltips.
* BUG: Remove duplicates in the automatic completion list.
* BUG: The symbol syntax displayed in the help now correctly follows the
"Keywords in uppercase" setting.
* NEW: Class help comments are now help comments located at the beginning
of the source file that starts with three quotes and a space: `''' `.
[COMPILER]
* NEW: Support for help comments on public symbols. They are automatically
integrated into the *.info information files.
git-svn-id: svn://localhost/gambas/trunk@5311 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Right mouse button can select controls again in form editor.
[GB.GTK]
* NEW: DragLeave is a new event raised by any control when the mouse leave
a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account.
[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView... now automatically scroll during a
DnD operation.
* BUG: Remove the overriden MouseDown event from the GridView class.
* BUG: A DnD operation does not eat the next mouse click anymore in
GridView, TreeView... controls.
[GB.QT4]
* NEW: DragLeave is a new event raised by any control when the mouse leave
a control during a DnD operation, or when the DnD operation terminates.
* NEW: DragMove and DragLeave events take the proxy into account.
git-svn-id: svn://localhost/gambas/trunk@5303 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Great overhaul of List algorithms. Beware: Still buggy.
* OPT: Make list chunks carry multiple Variants to improve cache locality.
* OPT: Don't traverse List forwards/backwards when the absolute value of
index is past the half of Count.
* NEW: Introduce List.Backwards - a virtual object to enumerate backwards
* NEW: Don't use List.Current as enumeration pointer.
* NEW: Begin enumeration at the first/last node.
* NEW: Traverse backwards when given negative index to _get.
* NEW: Make Current invalid by default.
* NEW: Assign first/last element when MoveNext()/MovePrev() is issued on an
invalid Current.
* NEW: Use List.Current as pointer for the Find*() methods, too.
* NEW: Assign first/last element when FindNext()/FindPrev() is issued on an
invalid Current.
* NEW: Don't return an index from Find*() methods because it is not the way
linked list are dealt with.
* NEW: Make insertion and removal of elements safe in enumerations.
* NEW: When Current (or enumerator) is removed, the pointer remains relative
to the beginning of the List but it never wraps around the end.
* BUG: Correctly *cycle* with {Move,Find}{Next,Prev}()
git-svn-id: svn://localhost/gambas/trunk@5302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Disable embedded http server.
[INTERPRETER]
* BUG: Fix a crash in String.Comp() when one of the two string is null.
[GB.FORM]
* BUG: Don't show useless menus in the DirView popup menu of a DirChooser
or FileChooser control.
* BUG: Do not scroll the TabPanel tab bar if not really necessary.
[GB.GUI.BASE]
* BUG: For backward-compatibility reasons, you can now set the value of
any arbitrary positive column index of a ColumnView item.
git-svn-id: svn://localhost/gambas/trunk@5301 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Using Enum.Index outside of an enumeration now raises an error
instead of crashing.
git-svn-id: svn://localhost/gambas/trunk@5270 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix scrolling of code editor procedure list.
* BUG: Automatic local variable declaration now works correctly when a
method named "Get" is called inside the analyzed expression.
[COMPILER]
* NEW: "[]" now is compiled to return a array with no elements.
[INTERPRETER]
* BUG: Array with no elements can be casted to any other array datatype.
[GB.GUI.BASE]
* BUG: Fix visibility of expanded TreeView items.
[GB.QT4.EXT]
* NEW: When the Editor loses the focus, it does not scroll to the cursor
position automatically anymore.
git-svn-id: svn://localhost/gambas/trunk@5266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The default prefix is /usr in component directories too.
* NEW: Uninstall mime handler and mime icons in 'make uninstall'.
[GB.GTK]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
[GB.QT4]
* NEW: Replace the old ListBox control by the one in gb.gui.base.
* OPT: Some little optimizations in ScrollView.
* OPT: Changing the geometry of a control whose Ignore property is set does
not trigger parent arrangement routine anymore.
git-svn-id: svn://localhost/gambas/trunk@5258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix compilation of Gambas.
[DEVELOPMENT ENVIRONMENT]
* NEW: Change the proportional font size list in the option dialog. Use a
5% size increment.
[INFORMER]
* NEW: gbi3 now displays include warning only if the GBI_DEBUG environment
variable is set to "1".
[GB.FORM]
* NEW: Add a FontChooser Border property.
* BUG: Support for Underline and Strikeout come back in FontChooser.
[GB.GUI.BASE]
* NEW: ScrollArea now raise a Resize event when the client area is resized
because of changes in scrollbars visibility.
* BUG: Changing a TreeView item property now correctly refreshes the view.
* OPT: The height of TreeView rows is now refreshed correctly.
[GB.QT4]
* BUG: The menu bar height is correctly refreshed if the application font
changes.
git-svn-id: svn://localhost/gambas/trunk@5257 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix option dialog layout.
[GB.FORM]
* NEW: New FontChooser control design.
[GB.GTK]
* BUG: Fix gb.gtk compilation.
* NEW: Add Window.Indent arrangement property.
[GB.GUI.BASE]
* BUG: Setting the text of the ColumnView columns now works correctly.
* NEW: The ListBox Gambas implementation is finished, but has not replaced
the old one yet.
[GB.QT4]
* NEW: Add Window.Indent arrangement property.
git-svn-id: svn://localhost/gambas/trunk@5256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new option that defines the default application font.
* NEW: The font options have been redesigned.
* BUG: Various fixes implied by the new TreeView control implementation.
[WIKI CGI SCRIPT]
* NEW: Page whose title begins with "~" are class page synonymous.
[INTERPRETER]
* BUG: Calling the _unknown method on an anonymous object reference won't
crash anymore.
* NEW: Class.Exist() is a new method that returns if a class has a specific
symbol.
[GB.GTK]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
* BUG: Fix string to Font conversion for fonts whose name starts with
"nan" or other special numeric strings.
[GB.GUI.BASE]
* BUG: ScrollView.EnsureVisible() and GridView.EnsureVisible() methods when
there is a frame.
* NEW: MyListBox is the initial implementation of a ListBox control
entirely written in Gambas.
* BUG: Renaming a TreeView item now correctly selects it before.
[GB.OPENGL]
* BUG: Fix an error message in deprecated constants handler routine.
[GB.QT4]
* NEW: The Container Find() method has been renamed as FindChild(). The
_unknown method has been implemented to handle backward compatibility.
git-svn-id: svn://localhost/gambas/trunk@5254 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the order of component exported classes loading after the
project has been loaded.
* BUG: Fix GB.CanRaise() API.
[GB.DB.FORM]
* NEW: DataView.Sorted is a new property that tells if the data can be
sorted by clicking on the column headers.
* NEW: DataView columns now show sort indicators, and data can be sorted in
descending order.
* NEW: DataSource.Ascending is a new property that defines the order of the
sort defined by the DataSource.Sort property.
[GB.FORM]
* NEW: Remove all controls that were moved to gb.gui.base.
* NEW: FileView file size units are translatable now.
[GB.GTK]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.
[GB.GUI.BASE]
* NEW: gb.gui.base is a new hidden component that is automatically loaded
by gb.qt4 and gb.gtk. It implements the following controls and classes
entirely in Gambas: TreeView, ListView, ColumnView, IconView, Action,
ScrollArea. These classes were located in gb.form and in the Gambas part
of GUI components before.
[GB.QT4]
* NEW: Remove TreeView, ListView and ColumnView.
* NEW: Control.Tracking takes the proxy into account.
* NEW: Remove the Gambas part.
[GB.WEB]
* NEW: Request.Query and Request.Path can be modified now.
* BUG: Overriding a CGI variable with Null works now.
git-svn-id: svn://localhost/gambas/trunk@5251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Events of class written in Gambas are correctly detected now.
* BUG: Automatic local variable declaration now correctly analyze
expressions like "A.B" in all cases.
* NEW: Use a SidePanel to display the stack backtrace.
[GB.DB]
* BUG: DB.Quote(..., True) now does a table name quoting in all cases.
[GB.DB.FORM]
* BUG: The database controls now can handle table names that are reserved
SQL keywords.
[GB.FORM]
* NEW: Start implementing TreeView entirely in Gambas.
* BUG: Removing GridView rows correctly resets the row heights.
* NEW: GridView now raises a Draw event that allows to paint a cell with
any drawing methods.
git-svn-id: svn://localhost/gambas/trunk@5250 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Accept event handlers with a variable number of arguments.
* BUG: Remove a debugging message.
[GB.IMAGE.EFFECT]
* BUG: Image.Histogram() now correctly handle ABGR images.
* BUG: Remove a debugging message.
git-svn-id: svn://localhost/gambas/trunk@5248 867c0c6c-44f3-4631-809d-bfa615b0a4ec