* BUG: Remove some remaining GDK_KEY_* constant so that it compiles on old
GTK+ libraries.
git-svn-id: svn://localhost/gambas/trunk@5796 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: Effects and painting now acts on the current selected
shape only.
[GB.FORM.MDI]
* BUG: ToolBar: Expander and separators are correctly visible again.
git-svn-id: svn://localhost/gambas/trunk@5787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible infinite loop in TabBar layout management.
[GB.FORM.MDI]
* NEW: Horizontal toolbar layout has been redesigned. Now they grow
vertically if there is not enough place for all toolbar elements.
Vertical toolbars are not done yet.
git-svn-id: svn://localhost/gambas/trunk@5786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Other bug fixes. A new button to duplicate the current
selection.
git-svn-id: svn://localhost/gambas/trunk@5785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the deprecated GDK key constants, otherwise the component does
not compile with old GTK+ libraries.
git-svn-id: svn://localhost/gambas/trunk@5783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: Add support for predefined shapes. Not very useful
actually, as you cannot resize them indepently of the current selection.
git-svn-id: svn://localhost/gambas/trunk@5780 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: ImageEditor: List of last recently used gradients has been
implemented. Many bug fixes everywhere.
* NEW: ImageEditor: The direction of line, rectangle or ellipse tells if it
is added or substracted to the current selection.
* OPT: ImageEditor: The refresh of the balance effect on the current
selection has been optimized.
* NEW: ImageEditor: A dialog to enlarge or shrink the selection with a
given number of pixels. Only works on rectangles and ellipses.
git-svn-id: svn://localhost/gambas/trunk@5777 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: New image editor, not yet finished. Use with care!
[GB.FORM]
* NEW: ImageView now export some of the properties and methods of its inner
ScrollArea.
* NEW: ImageView has now two new methods to convert between image
coordinates and view coordinates.
* NEW: ImageView.Grid is a new property that defines if the grid should be
visible.
* NEW: ImageView.UseMouse is a new property that defines if scrolling the
image by using the mouse inside the view is possible.
[GB.GTK]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the
actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
constants that are returned by Key.Code when the corresponding key is
pressed or released.
[GB.QT4]
* NEW: Key.Shift, Key.Alt, Key.Ctrl and Key.Meta now always returns the
actual state of the corresponding modifier.
* NEW: Key.ShiftKey, Key.AltKey, Key.CtrlKey and Key.MetaKey are four new
constants that are returned by Key.Code when the corresponding key is
pressed or released.
git-svn-id: svn://localhost/gambas/trunk@5772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Curl.SSL.VerifyPeer and Curl.SSL.VerifyHost are two new properties
that allow to define the corresponding options of a CURL connection.
git-svn-id: svn://localhost/gambas/trunk@5771 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: RegExp.Replace() replace matched patterns by another string. The
'&N' pattern in the replace string allows the N-th submatch to be
inserted.
* NEW: RegExp.Submatches property has been deprecated. Its properties now
directly apply to the RegExp class: RegExp.Count and RegExp[...].
git-svn-id: svn://localhost/gambas/trunk@5768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Loading an image sometimes raised false errors. This has been fixed.
git-svn-id: svn://localhost/gambas/trunk@5767 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: Image.Stretch() is a new method that allows to stretch an image
without having to use a full GUI component.
git-svn-id: svn://localhost/gambas/trunk@5764 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: Finish the Alc class.
* NEW: Implement the Alure class (the interface to the alure library).
git-svn-id: svn://localhost/gambas/trunk@5759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: More work done. 'Al' class is finished, 'Alc' is on the way...
git-svn-id: svn://localhost/gambas/trunk@5758 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: The system information dialog searches for more libraries.
[WIKI CGI SCRIPT]
* BUG: Correctly handle boolean constants.
[GB.DESKTOP]
* NEW: DesktopMime.GetIcon() now can stretch installed icons to the
requested size.
[GB.GTK]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
[GB.GUI.BASE]
* BUG: Fix IconView item text ellipsization routine.
[GB.QT4]
* BUG: TrayIcon now uses the Gambas 3 logo as default icon.
* NEW: TrayIcon now supports ARGB visuals - i.e. icons are really
transparent now.
git-svn-id: svn://localhost/gambas/trunk@5747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Paint.RichText() now takes the vertical alignment into account
correctly.
git-svn-id: svn://localhost/gambas/trunk@5746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DataControl can handle blob fields now.
* NEW: Highlight the byte under the mouse in blob editor.
[GB.FORM]
* NEW: ButtonBox.Pos is a new property that returns the cursor position of
its inner TextBox.
git-svn-id: svn://localhost/gambas/trunk@5741 867c0c6c-44f3-4631-809d-bfa615b0a4ec