* NEW: Fonts settings on axes, legend, title and toggle
on proportional font mode. In proportional mode the fonts
are in the real size when the chart have 2/3 of the desktop size.
git-svn-id: svn://localhost/gambas/trunk@1326 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Many things on color management as BackColor and Custom color
for the sets.
* NEW: I've done a work on the demo form so you can see what is
possible or not actually on this component. To run it go to the
GAMBASDIR/comp/src path and open gb.chart... then just run it !
git-svn-id: svn://localhost/gambas/trunk@1325 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new Chart style named Bars.
* NEW: X and Y axes inherits a Global Axes class.
* NEW: Now the Y ans X labels can be hidden
git-svn-id: svn://localhost/gambas/trunk@1324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some lines with old windows properties use have been removed.
git-svn-id: svn://localhost/gambas/trunk@1323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Libraries and include files are automatically searched inside
64 bits specific directories.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatically convert old Border property to the new Border and
Resizable properties.
* BUG: The "Theme" tab of the option dialog is correctly initialized the
first time Gambas is run.
* BUG: Going to a non-existing line number in the editor does not crash the
IDE anymore.
* NEW: The IDE forms now use the new Border, Resizable and Type properties
of the Window class.
[COMPILER]
* BUG: Do not print error messages on unexpected strings with newline
inside. Just claim that an unexpected string has been encountered.
[GB.EVAL]
* BUG: Do not print error messages on unexpected strings with newline
inside. Just claim that an unexpected string has been encountered.
[GB.GTK]
* NEW: The old Border property of the Window class has been replaced by a
two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a
window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
application main window.
[GB.QT]
* NEW: The old Border property of the Window class has been replaced by a
two boolean properties: Border and Resizable.
* NEW: Window.Type is a new property to set the window manager type of a
window: Normal, ToolBar, Splash...
* NEW: The Window.ToolBox property has been removed.
* NEW: A newly opened non-modal window stays automatically on top of the
application main window.
git-svn-id: svn://localhost/gambas/trunk@1321 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some little fixes in the hall of fame animations.
* BUG: Fix the layout of the property sheet text edit dialog.
* NEW: A new highlighting theme, named 'Quick'.
* NEW: The '(Scaled)' virtual property has been renamed as 'Scaled'.
* BUG: Fix the "quit" icon in the quit dialog.
* BUG: Correctly raise an error when making an executable fails for any
reason.
* BUG: Extract the property help better.
[WIKI CGI SCRIPT]
* BUG: Auto link now really makes one identical link between two titles.
[INTERPRETER]
* OPT: Optimization of additions of small integers.
* BUG: INC and DEC now toggle boolean values.
* NEW: Use the new '.startup' file to run a project. The old '.project'
file can be used for older projects. But its support will be removed in
the final version.
[COMPILER]
* NEW: A '.startup' file is now created at each compilation. It contains an
extract of the '.project' file with just what the interpreter needs to
run the application.
[GB.GTK]
* BUG: Void items are correctly handled by ComboBox without crashing now.
[GB.EVAL]
* BUG: Quoted symbols, i.e. symbols between braces, are now correctly
colorized by using the identifier colors.
[GB.FORM]
* BUG: Removed the useless Tag property from the DatePicker control.
* BUG: Fix the height of the DateChooser toolbar.
* NEW: Wizard.ShowIndex is a new property that makes the wizard control
automatically display the index of the current step. This index takes
into account if some steps are disabled.
[GB.FORM.DIALOG]
* NEW: Dialog.SelectDate() is a new method that allows the user to select a
date in a dialog box having a date chooser.
[GB.QT]
* BUG: You can now resize a non resizable window without having to change
its Border property first.
[GB.QT.EXT]
* BUG: Editor correctly goes to the end of file when pressing CTRL+END.
Consequently, SelectAll() works correctly too now.
* NEW: Comments just before a procedure are now never folded.
git-svn-id: svn://localhost/gambas/trunk@1317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Link with libgettextlib only with OpenBSD. Otherwise, on Linux,
there is a symbol comflict with the libxml used by fontconfig, and you
get spurious fontconfig warnings, and weird fonts or no font at all!
[DEVELOPMENT ENVIRONMENT]
* NEW: Use the new image methods for the hall of fame animation.
* BUG: Text editor does not flash anymore when being resized.
* BUG: The virtual control are now drawn bigger in Dekstop.Scale is too
small.
[EXAMPLES]
* BUG: Fix many examples according to the new way of calculating
Desktop.Scale.
[INTERPRETER]
* BUG: Symbol polymorphism is now correctly handled when the inheritance
depth is greater than two!
[GB.GTK]
* NEW: Image.MakeGray() is a new method that makes an image use gray
colors only.
* NEW: Image.MakeTransparent() is a new method that intelligently replace
a color by transparency.
[GB.FORM]
* NEW: Add a slider for setting the alpha color component.
* BUG: Correctly cancel an impossible rename operation in the DirView
control.
[GB.QT]
* NEW: Image.MakeGray() is a new method that makes an image use gray
colors only.
* NEW: Image.MakeTransparent() is a new method that intelligently replace
a color by transparency.
[GB.QT.EXT]
* BUG: In Editor, always draw function expanders with the foreground color.
git-svn-id: svn://localhost/gambas/trunk@1308 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Makes better configuration warning messages when detecting libintl
and libiconv libraries.
[DEVELOPMENT ENVIRONMENT]
* NEW: The About dialog box was redesigned. The Hall Of Fame is now
displayed with a cool animation.
* NEW: The entire project was adapted to the new way of calculating
Desktop.Scale.
* NEW: When loading a Gambas 2 form, the form editor tries to adapt to the
new way of calculating Desktop.Scale automatically.
[COMPILER]
* BUG: Adds many error messages when a compiler limit is reached: too many
static symbols in a same class, too many dynamic symbols, too many
functions, and so on.
[GB.GTK]
* NEW: Desktop.Scale is now half the font ascent, not half the font height.
* NEW: Color.Medium() method was replaced by Color.Mix(), that takes a new
optional argument indicating the relative weight of the second color.
[GB.QT]
* NEW: Desktop.Scale is now half the font ascent, not half the font height.
* NEW: Color.Medium() method was replaced by Color.Mix(), that takes a new
optional argument indicating the relative weight of the second color.
[GB.QT.EXT]
* BUG: Editor now correctly highlight its frame according to the focus
change on styles that have use of that.
git-svn-id: svn://localhost/gambas/trunk@1304 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The "Show help property" option works correctly now.
* BUG: The splitter position of the debug window is correctly restored now.
[GB.DESKTOP]
* NEW: Many methods for dealing with windows properties, for watching them,
for watching window changes... All are defined in the internal _Desktop
class. They won't be public.
[GB.FORM]
* NEW: The Space key now raises the Activate event in the DateChooser
control.
git-svn-id: svn://localhost/gambas/trunk@1282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: You can open a terminal in the project directory now.
* NEW: The IDE now marks projects as Gambas 3 projects.
* NEW: Port Gambas2 fixes.
(INTERPRETER]
* NEW: New API for returning the type of a Gambas array.
[GB.DESKTOP]
* NEW: New internal methods for reading or writing a windows property, and
for sending a client message to the root window.
* NEW: Desktop.Find() has been renamed to Desktop.FindWindow().
* NEW: Desktop.OpenTerminal() opens a terminal on a specified directory
according to the current desktop in use.
[GB.QT]
* BUG: Window id are really integers, not pointers.
[GB.GTK]
* BUG: Window id are really integers, not pointers.
git-svn-id: svn://localhost/gambas/trunk@1276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Save and restore which procedures are folded.
[INTERPRETER]
* BUG: Creates a new GB.SubstStringAdd() API for making a difference
between substitution callbacks that return a string and those who call
GB.SubstAdd() directly.
[GB.DB]
* BUG: Use the new GB.StringSubstAdd() API.
[GB.FORM]
* NEW: FileChooser and DirChooser got a new Reload() method that refreshes
their contents.
[GB.QT.EXT]
* BUG: In Editor, a line must be colorized before knowing if it is a
"procedure" limit.
git-svn-id: svn://localhost/gambas/trunk@1261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not stop if searching the current desktop fails.
[GB.SETTINGS]
* BUG: If you store a void array in a setting file, then reading it will
return NULL, and not an error.
git-svn-id: svn://localhost/gambas/trunk@1260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: config.h.in files were removed from repository.
[DEVELOPMENT ENVIRONMENT]
* BUG: The initial stack backtrace list width is correct now.
git-svn-id: svn://localhost/gambas/trunk@1233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new macro, GB_COMPONENT_SEARCH, that uses pkg-config first, and if
it fails, then tries to find the libraries and headers with a file
search.
* NEW: The GB_CHECK_XWINDOW macro is more clever.
[DEVELOPMENT ENVIRONMENT]
* NEW: The editor in the commit window has been enhanced. It has a little
toolbar and displays the cursor position now.
[GB.DB.SQLITE3]
* NEW: Uses the new GB_COMPONENT_SEARCH macro.
[GB.QT]
* NEW: Uses the new GB_COMPONENT_SEARCH macro.
[GB.QT.EXT]
* BUG: Removed a non-implemented method in the CEditor class.
git-svn-id: svn://localhost/gambas/trunk@1211 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The busy cursor is now correctly reset in all cases when clearing
the recent file history.
[GB.FORM]
* BUG: The SidePanel.Border works correctly now.
[GB.GTK]
* BUG: Correctly handles mouse button events in the GridView control.
* BUG: Setting GridView.Rows.Count to zero does not make rows too small
anymore.
git-svn-id: svn://localhost/gambas/trunk@1209 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some little layout fixes.
[INTERPRETER]
* OPT: Read the user home directory only if the current uid has changed.
Otherwise, cache it into memory.
* OPT: String memory management has been optimized.
* OPT: Some little optimizations there and there.
* NEW: A new interpreter option, "-k", that prevents shared library to be
unloaded until the process terminates. That can be useful when
debugging with valgrind.
* OPT: System.Language property was optimized.
* OPT: The gb_error.c file is now compiled with -O3.
[GB.GTK]
* BUG: Disable the management of input methods in TextBox and TextArea
controls, so that the input methods are not disturbed. Consequently;
SCIM and Bridged SCIM work again.
* BUG: You can read keyboard events properties in a Form KeyPress or
KeyRelease event handler correctly now.
git-svn-id: svn://localhost/gambas/trunk@1199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Removed the ability to compile property access without having to use
the ME keyword. This is too disturbing.
[GB.FORM]
* NEW: Uses the Draw.Style API for drawing SidePanel arrows.
[GB.FORM.MDI]
* NEW: Uses the Draw.Style API for drawing Toolbar handles.
[GB.QT]
* BUG: The style drawing methods really work.
git-svn-id: svn://localhost/gambas/trunk@1192 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New API for returning the parent (event observer) of an object.
[COMPILER]
* BUG: Setting a property without having to use ME is possible now, if the
property is defined in the same file of course.
* NEW: Mid$() can be used on the left side of an assignment.
[GB.FORM]
* BUG: ValueBox now reformats its contents after its Value property has
been set.
[GB.GTK]
* BUG: Composed keys are correctly handled again by KeyPress events, but
the SCIM input method does not work yet.
* BUG: Form are their own event observer only if no event observer is
defined at form instanciation.
* BUG: The default tray icon is the same as gb.qt now.
[GB.QT]
* BUG: TrayIcon objects are correctly destroyed at program exit.
* BUG: Form are their own event observer only if no event observer is
defined at form instanciation.
* BUG: TrayIcon Width, Height, ScreenX and ScreenY properties do not crash
anymore when the tray icon is hidden. They return zero instead.
git-svn-id: svn://localhost/gambas/trunk@1187 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ensure that the property panel is correctly shown or hidden when the
project is opened.
* NEW: Automatic completion is automatically inserted in all cases when
pressing one of the following keys: '.','(','[','!'.
[INTERPRETER]
* BUG: Mid$("", 0) returns an error now.
[GB.GTK]
* BUG: The Font property management was fixed.
* BUG: The icon text alignment was fixed in the IconView control.
[GB.FORM]
* NEW: The FileChooser bookmark list was redesigned.
[GB.QT]
* BUG: Control.Handle returns a Pointer now.
git-svn-id: svn://localhost/gambas/trunk@1164 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: English and french tips were updated. A new tip was added.
* NEW: Files that were opened at project close are automatically reopened
when the project is loaded again.
* NEW: A warning message is displayed when the GNU translation tools are
not installed.
* BUG: The code editor method combo-box is correctly updated now.
* BUG: Some fixes in the automatic completion.
* BUG: Replace points by dash in the name of packages generated by the IDE
packager.
* NEW: Updated russian translation
* NEW: Updated french translation
[DATABASE MANAGER]
* NEW: Updated russian translation
[EXAMPLES]
* BUG: Fixed the Gravity and the GameOfLife examples so that they do not
use public form controls anymore.
[INTERPRETER]
* OPT: Many optimizations in the string substitution routines, the
internal datatype conversions, the INPUT and LINE INPUT instructions, the
error messages generation, the object and string reference counting, and
the memory allocation routines.
* NEW: Opening a device file in direct mode (FOR READ/WRITE) is now
automatically non blocking.
* OPT: Lof() now only tries its different methods (ioctl and lseek) once.
* BUG: Val() now ignores thousand separators characters at the end of the
number.
* NEW: A new flag for enabling the stack trace generation at each error.
[GB.DEBUG]
* BUG: The gb.debug component interface declaration was not 64-bits aware.
[GB.EVAL]
* BUG: The Highlight.Purge() method now correctly deals with non-ASCII
characters.
[GB.FORM]
* BUG: TableView.Edit() does not raise a "read-only combo-box" error
anymore.
[GB.FORM.DIALOG]
* BUG: Dialog buttons now are never cut.
[GB.GTK]
* BUG: Cached drawing areas are correctly redrawn now.
* BUG: Loading big images now works correctly. There is apparently a bug
in the GTK+ image loader, and I found a workaround.
* BUG: Message boxes correctly display the text of their buttons now.
[GB.QT]
* BUG: The Open, and initial Move and Resize event of embedded forms are
now always raised when you call the Show method or if you set the Visible
property. Before, it was raised when the embedded form was actually
shown.
[GB.SETTINGS]
* NEW: Settings are now stored in ~/.config/gambasX, where X is the
gambas version number.
* BUG: Strings are correctly quoted inside the settings file now.
[GB.WEB]
* NEW: Application.Protocol is a new property that allows to tell the
component that the protocol is not necessarily "http".
git-svn-id: svn://localhost/gambas/trunk@1153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Pass the -fsigned-char option to gcc so that gambas compiles on
architectures where char is unsigned by default.
[INTERPRETER]
* BUG: Fixed the conversion from negative integer to string.
git-svn-id: svn://localhost/gambas/trunk@1110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Configuration is aborted if libffi library and headers are not
installed.
[WIKI CGI SCRIPT]
* NEW: New section for version-specific documentation.
[INTERPRETER]
* BUG: The gb.info file was wrong: Min() and Max() take only two arguments.
* NEW: New LastEventName property in the Object class that returns the
event name used by the last created object.
[GB.DB.FORM]
* NEW: DataControl raises the event of its internal editing control by
using the new Object class property defined above.
[GB.GTK]
* BUG: The X and Y properties of the Window class now return the same
values as gb.qt.
[GB.QT]
* BUG: Prevents a crash when a trayicon is destroyed or hidden during a
trayicon event handler.
git-svn-id: svn://localhost/gambas/trunk@1090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use TextEdit.RichText insted of TextEdit.Text.
* BUG: END SUB can be the end of a method. The class analyze now takes
that into account.
[HELP]
* BUG: Fixed the generated treeview.
[COMPILER]
* OPT: The NOT operator used just at the beginning of a conditional
expression is optimized. Consequently, an expression like 'IF NOT 2' is
now equivalent to 'IF 2 = 0' and not to 'IF (NOT 2) <> 0' as before. In
other words, the boolean conversion is now done before the NOT, and not
after. The following instructions are concerned: IF, WHILE, UNTIL.
* NEW: BYREF is new keyword that is a more readable synonymous of '@'.
[GB.DB.FORM]
* BUG: Correctly manage data controls inside TabStrip-like containers.
* BUG: Setting the focus on a non-initialized DataControl does not raise
an error anymore.
[GB.GTK]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a
list of children widths, hidden children having a zero width.
* BUG: Window arrangement is done before the Open event is raised, as in
gb.qt.
* BUG: Keyboard, focus and mouse events now work correctly on Window and
DrawingArea controls.
[GB.QT]
* BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a
list of children widths, hidden children having a zero width.
* BUG: Many warning fixes.
* BUG: Now the Control.Visible property works like in gb.gtk, i.e. it
returns if the control was not explicitely hidden.
git-svn-id: svn://localhost/gambas/trunk@1060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimizations in string comparison operators.
* OPT: Optimizations in string allocations.
* OPT: Optimizations in Left$(), Mid$(), Right$() and Len().
* OPT: Optimizations of calls to native methods when the number of
arguments is fixed, and when no argument conversion is needed.
* OPT: Optimizations of INPUT and LINE INPUT, by using an internal buffer
instead of reading the stream one byte at a time.
* BUG: Fixed the new error management.
* BUG: Fixed a possible spurious error when reading a file from an archive.
[GB.EVAL]
* BUG: Use the same new error management than the interpreter.
[GB.QT]
* BUG: The DrawingArea control now should draw its border correctly without
erasing its contents.
git-svn-id: svn://localhost/gambas/trunk@1041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Native array optimizations are better. For arrays with one
dimension, reading is about 70% faster than gambas2, and writing 40%
faster.
* OPT: Collection array accessors were optimized too. Reading is about 50%
faster and writing 60% faster. Be careful: only the array accessors were
optimized, not the full hash table access, which is the slower part of
the process.
git-svn-id: svn://localhost/gambas/trunk@1036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for installing control icons in native components.
[64 BITS]
* BUG: Fixed some uses of long datatype in the gb.qt.ext component, the
Splitter and the Container class of gb.qt.
* BUG: Fixed some declarations in the gb.net.curl component.
* NEW: Pointer[] is a new class that represents an array of Pointer values.
* BUG: All gb.qt, gb.gtk and gb.desktop methods that deal with X11 Window
identifiers now use Pointer and Pointer[] datatypes instead of Integer
and Integer[].
* BUG: The Embedder example was updated according to the change above.
[INTERPRETER]
* BUG: Fixed the static array management that was broken by the 64 bits
changes.
[GB.DEBUG]
* BUG: Debug.Write now does nothing if Debug.Start has not been called.
[GB.GTK]
* BUG: Fixed the implementation of the Message class that was broken.
* BUG: Fixed a crash in the Watcher class.
* BUG: Fixed the Image.Flip() and Image.Mirror() methods.
* BUG: Fixed a potential crash in timer management.
* NEW: The GridView Select event was implemented.
git-svn-id: svn://localhost/gambas/trunk@1033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
[CONFIGURATION]
* NEW: 64 bits port.
[EXAMPLES]
* BUG: Fixed the AnalogWatch example.
[WIKI CGI SCRIPT]
* NEW: Some little cosmetic changes.
[INTERPRETER]
* NEW: The extern function implementation has been redesigned and is now
based on libffi, so that it works on 64 bits system. Because of a flaw in
the compiler design, projects that use the Pointer datatype must be
recompiled to be used on a 64 bits system. This flaw will be fixed in
Gambas 3.
* OPT: Put some tables into read-only memory. About 1000 bytes are saved
for each running interpreter, except the first one.
* BUG: Does not crash anymore if a component cannot be loaded.
* NEW: Spanish translation updated.
* NEW: A new interpreter API for returning a pointer.
[COMPILER]
* BUG: Correctly compiles LONG constants inside code.
[GB.DEBUG]
* BUG: Compiles and links the gb.debug components with the thread
libraries.
[GB.DB.SQLITE3]
* BUG: Getting the primary index of a table without primary index is safe
now.
[GB.GTK]
* BUG: Modified the GLib priority of watched descriptors, as the main loop
could enter in a loop in which user interface events were not managed.
* BUG: Message boxes use application title without crashing now.
[GB.OPENGL]
* BUG: Disable dead code.
[GB.QT.EXT]
* BUG: TextEdit.TextWidth and TextEdit.TextHeight were not declared as
read-only properties.
[GB.XML.XSLT]
* BUG: XSLT class is now declared as being not creatable.
git-svn-id: svn://localhost/gambas/trunk@1006 867c0c6c-44f3-4631-809d-bfa615b0a4ec