* 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
* 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
* 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
* BUG: Make change on the map example to take new gb.map API into account
git-svn-id: svn://localhost/gambas/trunk@5372 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
* New: First commit for this new component that allow to display tiled maps.
[EXAMPLES]
* New: A new example on how to use gb.map component.
git-svn-id: svn://localhost/gambas/trunk@5348 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: Refactor the counter example. The code is much easier to understand.
git-svn-id: svn://localhost/gambas/trunk@5320 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: DesktopMime: when looking for the icon, try the 'mimes' directory if
nothing is found in the 'mimetypes' directory.
[GB.FORM]
* OPT: FileView: clean up icon retrieving function.
* NEW: Stock: display warning on load fail only if GB_STOCK is set.
[GB.QT4.EXT]
* NEW: Editor: undo/redo now take the cursor position and the selection
into account.
git-svn-id: svn://localhost/gambas/trunk@5286 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 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
* NEW: Switch to 3.3.90 version.
[WEBSITE MAKER]
* NEW: Update for 3.3.2 version.
[INTERPRETER]
* NEW: New API for getting information about a file.
[GB.DESKTOP]
* NEW: _Desktop.Time is a new property that returns the last X11 timestamp.
* NEW: _Desktop.ActivateWindow() is a new method that will be removed in a
next commit.
* NEW: DesktopWindow.Activate() is a new method to activate a window.
[GB.GTK]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.HTTPD]
* NEW: Reindent source files.
[GB.QT4]
* NEW: New GB_INFO constant to return the last X11 timestamp to other
components.
[GB.QT4.WEBKIT]
* BUG: Fix WebHitTest.Editable property declaration.
git-svn-id: svn://localhost/gambas/trunk@5221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Embedded window layout.
[INTERPRETER]
* NEW: The '-H' option now runs the interpreted program as a CGI script
through an embedded HTTP server.
[GB.HTTPD]
* NEW: New hidden component that embeds an HTTP server that runs the
project as a CGI script. It is activated by a new interpreter option.
Warning! This is highly experimental. The HTTP server is based on the
thttpd source code.
[GB.WEB]
* BUG: As the _init static class is always executed at startup for exported
classes, delay the intialization of Session class the first time one of
its properties is used.
* BUG: If the SCRIPT_NAME CGI variable equals nothing or "/", set it to
"/." so that it can be concatenated to any path and still gives a valid
url.
* BUG: Support for explicit URL ports.
* NEW: Application.Port is a new property that returns the port used by the
HTTP request.
git-svn-id: svn://localhost/gambas/trunk@5209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Conversion between byte index and UTF-8 character index of the last
string has been optimized when that last string is big.
[GB.EVAL.HIGHLIGHT]
* OPT: Optimization of HTML syntax highlighting for big lines. That
optimization should be handled by the interpreter automatically.
git-svn-id: svn://localhost/gambas/trunk@5167 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Small redesign of the welcome dialog again.
[EXAMPLES]
* BUG: Fix HighlightEditor example.
* NEW: Descriptions of some examples.
git-svn-id: svn://localhost/gambas/trunk@5162 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Pressing SHIFT with the RETURN key prevents automatic variable
declaration.
* BUG: Automatic variable declaration takes TRY into account.
* BUG: Automatic variable declaration now understands more expressions.
* NEW: Add a filter to the example tab of the open project dialog.
[INTERPRETER]
* NEW: String.UCaseFirst() is a new method that capitalize the first letter
of an UTF-8 string.
[COMPILER]
* NEW: If a function argument is enclosed with braces, then no warning is
emitted if it overrides a global symbol.
[GB.FORM]
* BUG: Transparent SidePanel controls do not eat one pixel of their
contents anymore.
* NEW: TabPanel draws its focus highlight differently.
* NEW: ScrollArea now draws a shadow only if the corresponding scrollbar is
visible.
git-svn-id: svn://localhost/gambas/trunk@5128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Moving, renaming or deleting a source file now should correctly
refresh the search list, the breakpoint list and the task list.
[GB.FORM]
* NEW: ScrollArea draws a focus border when it has focus.
[GB.NET.POP3]
* NEW: Make Pop3Client a virtual control like SmtpClient.
git-svn-id: svn://localhost/gambas/trunk@5121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New default project icon.
* BUG: Bookmarks are correctly updated now, when lines are inserted or
removed.
* BUG: The code pretty printer now preserves breakpoints and bookmarks.
* NEW: The welcome dialog box now has a filter for examples.
[EXAMPLES]
* BUG: Don't use JIT compiler in NeHeTutorial example #19, it crashes.
OpenGL LLVM 3.0 and Gambas LLVM 3.1 in the same process is not welcome!
[GB.QT4.EXT]
* NEW: Editor.Bookmarks and Editor.Breakpoints properties are now writable.
git-svn-id: svn://localhost/gambas/trunk@5085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Spanish translation updated.
* OPT: Updated the TreeView example so that it is easier to translate.
git-svn-id: svn://localhost/gambas/trunk@5078 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.
[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a
Result object to the database. The event handler receives the Result as
argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource
enters creation mode.
[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current
widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.
[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current
widget theme.
git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Try to avoir Application.Busy flickering in some dialogs.
[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.
[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the
opacity of the drawing, between 0 and 1.
[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet
events.
[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
cached.
[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse
buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered
the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Creating a directory in the project treeview should not segfault
anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.
[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming
mode.
git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a GB.FreeStringLater() API to allow components to create a new
string with GB.NewString(), and let the interpreter frees it later.
[GB.GSL]
* NEW: Add a ToString() method to all classes. That method takes two
arguments: the first one tells if number must be localized. The second
one tells if complex numbers and polynomials are converted to a string
that can be sent to Eval().
* BUG: Adding a number N to a Matrix A is equivalent to adding N times the
identity matrix.
* NEW: The '^' operator has been implemented in the Matrix class. Only A^N
where N is an integer is valid.
git-svn-id: svn://localhost/gambas/trunk@4955 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Remove a useless test in the macro that returns the class of an
object.
* OPT: Some little optimization in some type checks.
git-svn-id: svn://localhost/gambas/trunk@4939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When a top-level source directory actually several components,
compile the sub-components *after* the main components. This is
especially important with gb.xml and gb.xml.rpc.
git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not set the APPMENU_DISPLAY_BOTH environmental variable anymore.
It seems to work now.
[EXAMPLES]
* NEW: Fractal: increase the maximum number of iterations when the zoom
level is higher.
[GB.GTK]
* BUG: Control.Hovered now works the same way as in gb.qt4.
[GB.FORM]
* NEW: SidePanel handles have a fixed width now (6 pixels).
git-svn-id: svn://localhost/gambas/trunk@4849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not disable toolbars when they are configured. Otherwise drag &
drop does not work with gb.gtk.
[GB.FORM.STOCK]
* NEW: Some icons updates.
* BUG: Add the 'earth' icon in the stock.
[GB.GTK]
* BUG: Fix drag & drop support.
* NEW: Draw.Tile() does not transform pixbufs into a pixmaps anymore.
git-svn-id: svn://localhost/gambas/trunk@4821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: If the project is read-only, the profile file is stored in the
process temporary directory in /tmp instead of the project directory.
* NEW: The name of profile files now follows this scheme: '.N.prof', where
'N' is an index incremented each time the project is run.
* BUG: Toolbars and popup-menus are correctly updated at first load form
text, source and form editors.
* BUG: Do not show or hide toolbars buttons outside of the toolbar
'Configure' event.
[INTERPRETER]
* NEW: The '-p' option now takes the profile file path as argument.
[GB.DEBUG]
* NEW: The profile file path can be specified on the command line.
[GB.FORM.MDI]
* NEW: Configured toolbars are drawn with a red frame.
[GB.GTK]
* BUG: Remove warnings displayed by the Control Raise() and Lower()
methods.
* BUG: Draw.Style methods now are correctly clipped.
git-svn-id: svn://localhost/gambas/trunk@4820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB_PROFILE_MAX environment variable now can take the maximum size of
a profile file in megabytes. The default value is 512 Mb. The minimum
value is 128 Mb, and the maximum value is 4096 Mb.
git-svn-id: svn://localhost/gambas/trunk@4816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Use Application.Busy earlier when opening a project.
[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.
[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
profiling has not been activated by the '-p' command-line flag.
[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one
directory even if we are on the root of the current bookmark.
[GB.JIT]
* BUG: Fix some warnings.
[GB.XML.RPC]
* BUG: Fix component requirements.
git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView: Setting the height of a row to -1 now makes it fit its
contents.
git-svn-id: svn://localhost/gambas/trunk@4804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Profile windows correctly display line numbers now.
[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.
[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
before the first displayed line (zero by default).
git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Fractal: optimize drawing by detecting rectangles having the same
color.
git-svn-id: svn://localhost/gambas/trunk@4786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Use JIT compiler to speed-up the loading of profile files.
[EXAMPLES]
* NEW: Display a rose inside the window of the Fractal example. Why not?
git-svn-id: svn://localhost/gambas/trunk@4784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new Fractal example that draws the Mandelbrot set with an option
to enable just-in-time compilation.
git-svn-id: svn://localhost/gambas/trunk@4780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Debugging information is printed as soon as the GB_JIT environmental
variable is not null.
* NEW: If LLVM version is lesser than 3.1, a warning message is printed.
Normally, a crash should occur just after. :-)
git-svn-id: svn://localhost/gambas/trunk@4779 867c0c6c-44f3-4631-809d-bfa615b0a4ec