* NEW: Add locking/unlocking internal api hooks, allowing Image class to be sure image is synced/locked
to get correct access to image datas, and tag if image is altered.
git-svn-id: svn://localhost/gambas/trunk@3010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Breakpoints are correctly reset when opening a new project.
[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API
signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.
[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
automatically converted to uppercase.
git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Menu items have a better look now.
* BUG: Windows with Resizable set to FALSE work correctly now.
git-svn-id: svn://localhost/gambas/trunk@2984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Bytecode version has been increased, and so all projects must be
recompiled.
[INTERPRETER]
* OPT: Objects that do not raise events do not allocate the event
management structure anymore. That save four pointers by object.
* NEW: Structure management is done, and embedded (static) structures are
handled too.
* BUG: Static array management was fixed.
* NEW: All functions synonymous whose name ends with a question mark have
been removed.
[COMPILER]
* OPT: Some optimization again.
* BUG: EXTERN declarations compile again.
[GB.DB.SQLITE2]
* BUG: Fix a misuse of GB.NewString().
git-svn-id: svn://localhost/gambas/trunk@2970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use GB.ReturnNewZeroString() instead of GB.ReturnNewString() now.
All components using the old syntax should be fixed now.
* NEW: Start to manage structures.
git-svn-id: svn://localhost/gambas/trunk@2957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New GB.NewZeroString() API to create a Gambas string from a
null-terminated string. Components were modified to use it.
* OPT: Many optimizations everywhere.
[COMPILER]
* OPT: Many optimizations. The compiler should be noticeably faster.
git-svn-id: svn://localhost/gambas/trunk@2953 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a memory leak when loading an image without transparency.
git-svn-id: svn://localhost/gambas/trunk@2938 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Shift+Enter disables automatic insertion of control structure
instructions.
[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel
and MenuButton controls, so that it works with gb.gtk.
[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling
algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.
[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.
git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as
search string in all cases.
[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.
[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent
container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles
having gradients like Oxygen are correctly displayed.
git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton
horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox
horizontally fits its contents when set.
[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton
horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox
horizontally fits its contents when set.
git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.
[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.
[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.
[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.
[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.
[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.
[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
[GB.SDL.SOUND]
* BUG: The component now works correctly with gb.qt4.
[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be
wrapped. This property is set by default.
git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Searching in all project files (except forms) has been implemented.
* BUG: Many fixes in normal search.
[GB.GTK]
* BUG: Key.Code is not lost anymore during a KeyPress event.
git-svn-id: svn://localhost/gambas/trunk@2893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New search & replace dialog that replaces the old one. Browsing the
entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
search & replace dialog can do the job.
[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
button has to be shown. If Arrow is FALSE, then clicking on the
MenuButton automatically opens the menu.
[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a
window with an integer between 0 and 100. That works only if you run a
composited desktop.
[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a
window with an integer between 0 and 100. That works only if you run a
composited desktop.
git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Printer.PaperWidth and Printer.PaperHeight should return the
expected values for predefined papers.
git-svn-id: svn://localhost/gambas/trunk@2833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Refresh the property sheet only for the active form.
[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.
[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
Paint.ClipExtents.
git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Tons of hacks to make the Printer class (almost) work correctly.
* BUG: Fix painting on a painted DrawingArea.
git-svn-id: svn://localhost/gambas/trunk@2797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Virtual controls coordinates are correctly stored in *.form files
again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating
*.deb packages. It does not work, and apparently dpkg-buildpackage has no
problem with them.
[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.
[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes
the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.
[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.
git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.
[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.
[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.
[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.
git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.
[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and
unmaintained.
[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.
[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the
DrawingArea.Cached property is set. It allows to keep the drawing
routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.
[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.
git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting the ComboBox.Text property now never raises the Click event.
git-svn-id: svn://localhost/gambas/trunk@2764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the similar control menu in the form editor.
* NEW: Do not take the Padding into account when drawing Report containers.
* BUG: Some fixes in the Report dimension selector.
* BUG: Do not import any translation if no translation file has been
selected in the translation dialog.
[INTERPRETER]
* BUG: When converting a string into a number with Val(), only accept
thousand separators after three digits.
[GB.DEBUG]
* BUG: Lock the debugger pipe between reads, to avoid the callback to be
called ever and ever.
[GB.GTK]
* NEW: Tried to implement a transparent drawing area, but failed!
* NEW: Allow non-native GDK windows. This is experimental, as it crashed
before.
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more
details.
[GB.QT4]
* BUG: Fix the ComboBox Click event behaviour. See the wiki for more
details.
* BUG: Sort sorted ComboBoxes before accessing it, not just before showing
the popup.
git-svn-id: svn://localhost/gambas/trunk@2762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: UserControl.SetFocus() now automatically gives the focus to the
first child that can receive it.
[GB.QT4]
* NEW: UserControl.SetFocus() now automatically gives the focus to the
first child that can receive it.
* BUG: Reparenting a top-level window does not give it a minimal size
anymore.
git-svn-id: svn://localhost/gambas/trunk@2699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components:
_IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.
[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.
[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.
[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.
[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.
git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the GB.ConvString() API.
[GB.GTK]
* BUG: Fix the Key[] array accessor, so that it (almost) works like gb.qt.
[GB.PDF]
* NEW: All dimensions are now returned as Float.
* BUG: PdfDocument.Find() now works correctly.
git-svn-id: svn://localhost/gambas/trunk@2672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Sort project tree view with natural sort.
* NEW: Sort procedure combo-box with natural sort.
[GB.DB.FORM]
* BUG: Setting a "SELECT" request to the DataSource.Table property should
work in all cases now.
[GB.FORM.MDI]
* NEW: Vertical toolbar layout is more clever.
[GB.GTK]
* BUG: Modal windows are really modal.
* BUG: Try to prevent a possible crash in event management.
[GB.GTK.EXT]
* NEW: This component has been removed.
git-svn-id: svn://localhost/gambas/trunk@2669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Forgot to implement a static class variable in gapplication.cpp.
git-svn-id: svn://localhost/gambas/trunk@2661 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Popup menus now grab events correctly.
[INTERPRETER]
* BUG: Clean up usage help messages for gbx3 and gbr3.
[GB.FORM]
* NEW: FileView now sorts files by using natural sort.
git-svn-id: svn://localhost/gambas/trunk@2658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Apply color theme to project treeview, property sheet and form
hierarchy window.
[INTERPRETER]
* NEW: gbr3 and gbx3 now interpret their command line the same way.
* NEW: The -L option now prints the license, and the -h option only print
the interpreter usage.
[GB.GTK]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
Paint class implementation.
[GB.QT4]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
Paint class implementation.
git-svn-id: svn://localhost/gambas/trunk@2653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: gb.Text has been deprecated, and a warning is printed each time it
is used now. Use gb.IgnoreCase instead.
* NEW: Natural string comparison and sorting were implemented. Use the
gb.Natural constant for that.
git-svn-id: svn://localhost/gambas/trunk@2640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the compilation and installation order of sub-directories.
[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not
like them.
[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent
container has no arrangement.
[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the
window manager close button.
git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Always correctly round control coordinates in the form editor when
the form Scaled property is set.
[GB.FORM]
* BUG: Clicking inside the FontChooser style ListBox now always works
correctly.
[GB.GTK]
* BUG: Setting the Control.Tracking property should work correctly in all
cases now.
* BUG: Prevent a crash when creating an Image or a Picture with incorrect
constructor arguments.
[GB.IMAGE.EFFECT]
* BUG: Use accurate compilation flags.
[GB.NET]
* BUG: Clear the CR / NL input conversion flags when initializing a serial
port.
[GB.QT4]
* BUG: Setting MovieBox Path property to NULL does not fail anymore.
* BUG: Do not try to reparent a window in its Show() method when it is
already visible.
git-svn-id: svn://localhost/gambas/trunk@2618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Paint.TextExtents has been correctly implemented.
[GB.QT4]
* NEW: Paint.TextExtents has been correctly implemented.
git-svn-id: svn://localhost/gambas/trunk@2607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The ImageViewer example now uses the Paint class.
[INTERPRETER]
* NEW: Class.Symbols now returns a string array of all class public
symbols.
* NEW: Component.IsLoaded is a new static method to check if a specific
component has been loaded.
* NEW: Components.Load has been removed.
[GB.GTK]
* NEW: Cairo requirements have been added to the configure.ac file.
* NEW: The Container.Children.Clear method has been implemented.
[GB.GUI]
* NEW: Add gb.image requirement in the gb.gui component file.
[GB.QT4]
* BUG: DrawingArea scrollbars are correctly displayed again.
* BUG: DrawingArea internal cache is correctly resized with the control.
git-svn-id: svn://localhost/gambas/trunk@2606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new mascot to draw project directory icon.
[EXAMPLES]
* NEW: Some little changes in the Painting example.
[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an
unloading order. The higher the returned number, the later the component
is unloaded. If GB_INIT returns -1, then the component shared library
will not be unloaded.
* NEW: Update GB_INIT functions in all components.
[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted
anymore.
[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.
git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly deals with class reimplementation for Gambas3 component
help pages.
[GB.GTK]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
to configure the printer, and Printer.Print() to start printing.
[GB.NET]
* NEW: Starting some code cleanup in the component.
[GB.QT4]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
to configure the printer, and Printer.Print() to start printing.
* NEW: Printer.OutputFile is a new property to set the path of the output
file used for printing to a file.
[GB.QT4.WEBKIT]
* NEW: WebFrame.Print() is a new method to send a frame to an existing
printer object.
* NEW: Printer.OutputFile is a new property to set the path of the output
file used for printing to a file.
git-svn-id: svn://localhost/gambas/trunk@2600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version
control if the project parent directory is already under version control.
[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
display the text extents accurately.
[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.
[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.
[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.
[GB.NET]
* NEW: UpdSocket has now a Timeout property.
[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when
they have a border.
git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SVG drawing in Painting example has been enhanced.
[GB.GTK]
* BUG: Correctly detect file copy errors in the SvgImage.Save() method.
[GB.QT4]
* NEW: SvgImage.Load() has been implemented, and painting on a SvgImage
loaded from disk is now possible.
* BUG: Paint.TextExtents has been fixed to take into account negative top
and left extents.
git-svn-id: svn://localhost/gambas/trunk@2590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Painting on a SvgImage loaded from a SVG file is now possible.
git-svn-id: svn://localhost/gambas/trunk@2588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a SVG drawing to the Painting example.
[GB.GTK]
* NEW: Use librsvg to implement SVG file loading and rendering.
* NEW: SvgImage.Load is a new method to load a SVG file from disk.
* NEW: SvgImage.Paint is a new method for painting the SvgImage to the
current painted device.
* BUG: Paint.TextExtents works correctly by taken into account negative
top and left extents.
git-svn-id: svn://localhost/gambas/trunk@2587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.
[GB.QT4]
* NEW: The SvgImage class has been implemented.
git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec