* 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
* BUG: GridView: Don't hide selection when setting the Mode property with
its current value.
git-svn-id: svn://localhost/gambas/trunk@5740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Take the Invert property into account in vertical arrangements.
[GB.GTK]
* BUG: Take the Invert property into account in vertical arrangements.
git-svn-id: svn://localhost/gambas/trunk@5738 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
* NEW: Added a new gb.xml Component API.
* NEW: The XMLElement.AppendFromText() method can now take the &1, &2 etc.
Subst-like patterns.
* NEW: All the methods based on the parser can choose from the XML and the
HTML parser (if loaded), depending on the document's (or parent
document's) type.
* OPT: Renamed, reorganized and cleaned up the code.
* OPT: Removed the ugly cross-including sources to communicate with the
subcomponents, which now use the XML Component Interface.
* OPT: Remove all the unneeded includes.
* OPT: The XML serializer does not check if the elements are self-closed
according to HTML specifications anymore. This is done only in the new
HTML serializer.
[GB.XML.HTML]
* NEW: Added a new gb.xml.html Component API.
* NEW: Added a new (X)HTML parser, more flexible than the XML one,
and automatically used with the HtmlDocument class.
* NEW: Generated HTML Documents now automatically use the new meta/charset
element if the document is HTML5, and the old meta/content-type element
only if the document is not HTML5.
* BUG: Loading an HTML document from a file while instanciating it
correctly works now.
* BUG: Using the class or id CSS selector in a filter on an element that
doesn't have these does not crashes anymore.
[GB.XML.XSLT]
* NEW: Now uses the gb.xml Component API.
git-svn-id: svn://localhost/gambas/trunk@5732 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
* NEW: Rename RegExp.Check as RegExp.Match. Factorize its code a little
bit.
git-svn-id: svn://localhost/gambas/trunk@5729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed that RpcClient could hang in sync mode, issue 450
* BUG: More fixes of the miniServer.class, issue 449
git-svn-id: svn://localhost/gambas/trunk@5728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix two cases of memory leaks with CREGEXP->code: (re)compilation of
a (new) pattern and object destruction.
* NEW: Introduce the static RegExp.Check() method which works like the
constructor but immediately returns a boolean whether the pattern could
be applied to the subject - handy for one-line string validation.
git-svn-id: svn://localhost/gambas/trunk@5727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Project statistics came back in the file property dialog.
[GB.DESKTOP]
* BUG: Correctly use the XDG data directories in DesktopFile and DesktopMime
classes.
* BUG: Correctly search mime icons in DesktopMime.GetIcon().
[GB.FORM]
* NEW: Add a detailed view toggle button to the FileChooser and DirChooser
controls.
git-svn-id: svn://localhost/gambas/trunk@5726 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