* BUG: Do not abort if you try to open a dead symbolic link.
[INTERPRETER]
* BUG: Fix base object structure size when compiling with gcc 4.3 on a 64
bits system.
[INFORMER]
* BUG: The informer now can be run without argument from anywhere.
[GB.FORM]
* NEW: The ListContainer refreshes itself before raising the Click event.
git-svn-id: svn://localhost/gambas/trunk@1481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Observers don't raise events anymore if their parent is invalid,
like other objects do.
[GB.FORM]
* NEW: FileView now display image preview if the image size is up to 64 Kb.
[GB.QT.EXT]
* BUG: Blended procedure separation is now correctly refreshed when the
font size changes.
git-svn-id: svn://localhost/gambas/trunk@1474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The signature popup now underlines the argument under the cursor.
* NEW: A new option to minimize the IDE when the project is run.
* NEW: Replaced the '[Modified]' text in the title of a modified form or
class by a star.
* BUG: GridView, TableView, TextEdit and Editor are correctly refreshed in
the form editor when they are renamed.
git-svn-id: svn://localhost/gambas/trunk@1468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Enhance the behaviour of the console text search.
* BUG: Enhance and fix the behaviour of the ESCAPE key.
* BUG: Renamed controls like DataControl are correctly refreshed inside the
form editor.
[INFORMER]
* NEW: When creating all information files in one shot, child processes are
used instead of loading all components in the same process.
[INTERPRETER]
* BUG: RInStr() third argument is now correctly taken into account in all
cases.
* BUG: Fix a bug in inheritance with classes written in Gambas overriding
symbols whose name begins with 'P', 'R' or 'M'.
[GB.DB.FORM]
* BUG: Setting DataBrowser.Control property to FALSE works again.
[GB.QT]
* BUG: Menu shortcuts are automatically enabled when the menu is shown.
[GB.QT.EXT]
* NEW: When the focus is set on an Editor, the cursor is ensured to be
visible.
git-svn-id: svn://localhost/gambas/trunk@1462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the title of the search list window.
* NEW: Support for hebrew translations.
[INTERPRETER]
* BUG: Do not free the classes before the _free() special methods are
executed.
[GB.FORM]
* BUG: Fix the default event declaration of ValueBox.
[GB.QT]
* BUG: GridView.Clear now correctly refreshes the GridView.
git-svn-id: svn://localhost/gambas/trunk@1452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Draw project details in gray.
[INTERPRETER]
* BUG: Fix the management of standard input, standard output and standard
error streams.
[GB.DRAW]
* BUG: Draw.Begin() now correctly raises an error if the device is a static
class that is not drawable. This bug was fixed by using "Draw" for the
interface name of drawable objects and "StaticDraw" for the interface
name of drawable classes like Printer.
[GB.FORM]
* NEW: File dialogs now remember the last used directories in the directory
combo-box.
[GB.GTK]
* NEW: Font strikeout and underline are used when drawing Buttons.
[GB.QT.EXT]
* BUG: Uses "StaticDraw" to specify the drawing interface of the Printer
class.
git-svn-id: svn://localhost/gambas/trunk@1446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Little changes in the hall of fame animation.
[INTERPRETER]
* NEW: Do not warn against circular references when the program aborts
because of an error.
[COMPILER]
* NEW: The error message displayed when you try to return a value in a
procedure is more explicit now.
[GB.FORM.MDI]
* BUG: When a MDI child window is activated, the focus is set on it unless
one of its child control already has the focus.
[GB.GTK]
* BUG: Fix Application.Busy when forms are embedded.
* BUG: ComboBox does not raise the Click event anymore when its Text
property changes.
* BUG: Fix the management of Window Activate and Deactivate events.
* BUG: Fix the management of GotFocus and LostFocus events.
* BUG: SetFocus is correctly honored when used inside the Open event
handler of an embedded form.
* BUG: Desktop.Scale is now computed the same way as in gb.qt.
[GB.QT]
* BUG: SetFocus is correctly honored when used inside the Open event
handler of an embedded form.
git-svn-id: svn://localhost/gambas/trunk@1436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adds a popup menu to the console window.
[WIKI CGI SCRIPT]
* BUG: Display a message when accessing a symbol page that does not exist
in the current version.
[EXAMPLES]
* NEW: New Barcode example made by Charles Guerin and modified by me.
[INTERPRETER]
* NEW: New API for returning the fully-qualified domain name.
* BUG: Fix a bug in DateAdd() that made this function corrupt the next
date to string conversion, which then lead to other bad weird things.
[GB.DRAW]
* BUG: Fix Draw.Circle center that was shifted one pixel to the top left.
[GB.GTK]
* BUG: Window.Reparent() now works correctly when embedding or unembedding
a top-level window.
[GB.NET.SMTP]
* NEW: Do not use MIME parts when it is useless.
* BUG: Try to use the fully-qualified domain name when sending the EHLO
command to the SMTP server. That actually works only if the system domain
name has been set to the DNS domain name.
[GB.PCRE]
* BUG: Fix crashes due to bad uses of interpreter API.
[GB.QT]
* BUG: Fix the drawing of the frame of cached DrawingArea controls.
git-svn-id: svn://localhost/gambas/trunk@1404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the "<hr>" bug in example sections.
* BUG: Correctly display the main title before syntax sections.
[ARCHIVER]
* NEW: Ignore core dump files when making an executable.
[GB.GTK]
* BUG: Fix the XEMBED protocol support.
[GB.QT]
* BUG: Fix the XEMBED protocol support.
* BUG: Adding an item to a ComboBox with a bad index should not print any
warning message anymore.
git-svn-id: svn://localhost/gambas/trunk@1391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: An uninitialized structure field made the compiler badly mark class
reference as exported.
git-svn-id: svn://localhost/gambas/trunk@1376 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix some use of boolean value incrementing.
[INTERPRETER]
* BUG: Class declared with the 'Class' keyword are alwyas global.
* BUG: A stupid hack in gb.db requires that the value is always stored
just after the datatype in the VALUE and GB_VALUE structures.
[COMPILER]
* BUG: Class declared with the 'Class' keyword are alwyas global.
[GB.DESKTOP]
* NEW: Desktop.Passwords is a new property that allows to store and
retrieve passwords in the KDE wallet or the GNOME keyring, according to
the running desktop. Only KDE and GNOME are supported. I don't know if
XFCE has something equivalent...
[GB.DESKTOP.GNOME]
* NEW: This new component is automatically loaded by gb.desktop when the
GNOME keyring is requested.
[GB.FORM]
* BUG: Fix some use of boolean value incrementing.
[GB.FORM.MDI]
* NEW: The Workspace popup menu now sort the windows by title.
[GB.QT]
* NEW: XEMBED support was upgraded to the 1.3 version of QtXEmbed classes.
* BUG: Fix some use of boolean value incrementing.
git-svn-id: svn://localhost/gambas/trunk@1373 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Print a warning message when INC or DEC is used with a boolean.
* BUG: Make things compile without error.
git-svn-id: svn://localhost/gambas/trunk@1370 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The form editor has a new menu entry for transforming a control
into another control. For example, a Label into a TextLabel, or a HBox
into a VBox, and so on. The possible transformations are defined in the
*.component file.
* BUG: Compiler errors that are not related to the compiled code are now
correctly displayed.
* BUG: Locked forms are correctly loaded, and the form tab title now
correctly shows the associated read-only state.
* BUG: The automatic completion can deal with multiple local variable
declarations on the same line now.
[INTERPRETER]
* BUG: Array.Insert() does not crash anymore if the inserted array is
NULL. It raises an error now.
[COMPILER]
* BUG: The owner and group of all files generated by the compiler
('.startup', '.info', '.list', object files) are now set to the owner and
group of the '.project' file. This way, any project can be safely
compiled as root, without locking it for other users.
git-svn-id: svn://localhost/gambas/trunk@1369 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Do not set Project ColumnView AutoResize property to TRUE. Use a
very wide column instead to optimize redrawing.
* BUG: Fix a tooltip in the subversion conflict dialog.
* NEW: The component tab of the project property dialog has been
redesigned. Now you have to double click on a component to get
information on it.
* NEW: Property editing is now locked only if a specific toggle button is
pressed. This button is located on the right top of the property sheet.
[INTERPRETER]
* BUG: Handle the evaluation of Eval() expressions the same way as any
other code. Otherwise, stack can be leaked when there is an exception
inside.
* NEW: The foreign function interface is now optional.
* BUG: The use of array accessors is now correctly checked.
[GB.DB.SQLITE2]
* BUG: Reading floating point values and other values do not depend on the
locale anymore.
* NEW: Remove useless code.
[GB.DB.SQLITE3]
* BUG: Reading floating point values and other values do not depend on the
locale anymore.
* NEW: Remove useless code.
[GB.GTK]
* BUG: Fix uninitialized variables in ggridview.cpp and gmainwindow.cpp.
[GB.QT]
* OPT: ScrollView layout process is delayed.
[GB.SETTINGS]
* BUG: Do not use Array datatype incorrectly anymore.
git-svn-id: svn://localhost/gambas/trunk@1368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The informer now can generate component information files for
components that do not export any class in their C/C++ part.
[GB.DB.MYSQL]
* NEW: Import the MySQL specific component made by David Villalobos
Cambronero.
[GB.FORM.DIALOG]
* BUG: Standard dialogs now correctly react to double clicks.
[GB.PDF]
* BUG: The component now can really be compiled with poppler 0.8.
git-svn-id: svn://localhost/gambas/trunk@1357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a memory leak in the READ instruction when reading a string
with a negative length parameter.
git-svn-id: svn://localhost/gambas/trunk@1355 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Automically edit the 'Name' property when inserting a new control in
a form.
* BUG: Defining the startup class correctly updates the .startup file.
* BUG: The form editor takes into account the new Border and Resizable
Window properties correctly now.
* BUG: Form editor window frame is drawn in a more polished way.
* NEW: Automatically focus on the last edited property when the form editor
selection changes.
* BUG: Do not hide the debug window anymore when undocking the console.
[INTERPRETER]
* BUG: Getting information on a not yet loaded class does not crash the
debugger anymore.
[GB.FORM]
* NEW: Workspace.Orientation is a new property that allows to define the
orientation of the Workspace tabstrip.
* BUG: Fix the DatePicker button drawing routine in ValueBox.
[GB.GTK]
* BUG: Windows cannot get focus anymore.
[GB.NET.SMTP]
* NEW: Write a Content-Length header inside MIME parts.
[GB.QT]
* NEW: Do not automatically transform non catched key events into
accelator events.
* BUG: Draw.Style.Panel() works correctly now.
[GB.SETTINGS]
* NEW: Settings.Read and Settings.Write now always store control settings
in a slot based on the parent Window name, not the top-level one.
git-svn-id: svn://localhost/gambas/trunk@1332 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: Evaluating expressions in the output console works again.
[WIKI CGI SCRIPT]
* BUG: Allow "--" between two "==" for displaying an horizontal line.
[INTERPRETER]
* BUG: TRY correctly store the last error raised in the Error class.
[GB.EVAL]
* BUG: Evaluating "Error" does not crash anymore. It just raises an error.
git-svn-id: svn://localhost/gambas/trunk@1302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add "-O1" optimization flag to the linker, and the "-z defs" flag
that should make it warn then an undefined imported symbol is found.
[WIKI CGI SCRIPT]
* NEW: Adds a switch to display 2.0 or 3.0 symbols in the component help
pages.
[INTERPRETER]
* BUG: The binary and hexadecimal numbers with a '&' suffix are now
correctly extended to a Long unsigned constant if needed.
[GB.DESKTOP]
* NEW: DesktopWatcher is a new class that watch property and dimension
changes on the root window or any other window.
* NEW: Desktop.Windows returns a pseudo-collection of all top-level
windows.
* NEW: DesktopWindow is a class that represents one specific top-level
window.
* NEW: Desktop.ActiveWindow returns the id of the current active top-level
window.
* NEW: Desktop.Showing returns or sets if the "show desktop" button is
active.
* NEW: Desktop.Current returns or sets the index of the current active
virtual desktop.
* NEW: Desktop.Count returns the number of virtual desktops.
* NEW: Desktop[Index] returns a virtual object that represents a virtual
desktop.
[GB.EVAL]
* BUG: The long binary and hexadecimal numbers are correctly interpreted
now.
* BUG: Remove an apparently useless line of code that made the highlighter
sometimes crash!
[GB.QT.EXT]
* BUG: The editor selection background is now drawn on top of the possible
text background.
git-svn-id: svn://localhost/gambas/trunk@1292 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: Theme configuration was redesigned and enhanced.
* NEW: New option for setting the tabstrip title font size.
* NEW: The file information dialog was redesigned again.
* NEW: Some option names were changed.
* NEW: A new "Project" virtual folder in the project treeview. It is
exactly like the "Data" folder, except that the files and directories
stored inside are not included in the generated executable.
* NEW: As keywords are now displayed in lowercase by default, there is a
new option for displaying them in uppercase as before.
[INTERPRETER]
* NEW: Object.GetProperty() can return the value of a constant.
* NEW: Keywords are in lowercase by default, the first letter of the words
staying in uppercase.
[GB.EVAL]
* NEW: The Highlight.Analyze() method always return keywords in uppercase,
so that you can continue to easily do non case-sensitive comparisons.
[GB.QT]
* BUG: Changing the font of a TabStrip correctly refreshes its layout now.
[GB.QT.EXT]
* NEW: The Editor can force highlighted keywords to uppercase. It is only
done when drawing the keyword. The internal text is not changed.
git-svn-id: svn://localhost/gambas/trunk@1265 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
* NEW: Do not abort if a component information file cannot be written.
git-svn-id: svn://localhost/gambas/trunk@1259 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
* BUG: Fixed an optimization in variants that was not 64-bits aware.
git-svn-id: svn://localhost/gambas/trunk@1230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: NEW Observer(NULL) now raises an error, and does not crash anymore.
* BUG: Padding of values structures.
git-svn-id: svn://localhost/gambas/trunk@1228 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Importing a form now correctly associates the imported pictures.
[INTERPRETER]
* BUG: Fixed some structure alignment issues.
git-svn-id: svn://localhost/gambas/trunk@1226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Automatically disable preloading on systems that do not support it.
git-svn-id: svn://localhost/gambas/trunk@1221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Removes some warnings with uid_t on some systems.
[GB.EVAL]
* BUG: Removes the use of a non existing function.
[GB.DESKTOP]
* BUG: Try to enhance the detection of libXtst.
git-svn-id: svn://localhost/gambas/trunk@1220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not use long double mathematic functions if they do not exist. A
workaround must be found!
git-svn-id: svn://localhost/gambas/trunk@1215 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Don't use lockf and F_TLOCK if it does not exist. A workaround will
have to be found!
git-svn-id: svn://localhost/gambas/trunk@1214 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't use FIONREAD if it does not exist. A workaround will have to
be found!
git-svn-id: svn://localhost/gambas/trunk@1213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Defines sighandler_t when it is not defined by the system includes.
git-svn-id: svn://localhost/gambas/trunk@1212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixes the string management optimizations.
* OPT: Optimization of the string search function (InStr, RInstr).
* OPT: Optimization of the Split() function.
* OPT: Optimization of local variables initialization when entering a
method.
[GB.NET.SMTP]
* BUG: Fixes the Makefile.am file so that the component compiles if the
glib library is installed in a non-standard directory.
[GB.QTE.EXT]
* BUG: Fixes the gb.qte.ext.component file.
git-svn-id: svn://localhost/gambas/trunk@1203 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: A new API that returns if the current language is right-to-left
written.
[GB.DRAW]
* NEW: New Draw.Style.* style drawing methods for drawing arrows,
check-boxes, option buttons, separators, focus rectangles, push buttons,
panels, and splitter handles.
* NEW: Draw.Save() and Draw.Restore() are two new methods that save and
restore the state of the current drawing properties.
[GB.GTK]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().
[GB.QT]
* NEW: Support for the style drawing methods.
* NEW: Support for Draw.Save() and Draw.Restore().
git-svn-id: svn://localhost/gambas/trunk@1191 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
* NEW: Now GB_COMPONENT_PKG_CONFIG() macro accept an optional warning
message.
* BUG: Add support for libffi through pkg-config when available.
git-svn-id: svn://localhost/gambas/trunk@1121 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
* BUG: Automatically search libraries in lib64 before searching in lib.
* BUG: Fixed the $FFI_LIB test in main/configure.ac.
[DEVELOPMENT ENVIRONMENT]
* BUG: Tips of the days are displayed correctly again.
[INTERPRETER]
* BUG: Val() now takes the thousand separator into account when this
separator is a space character.
* BUG: Removed the 64 bits warning.
* BUG: Fixes the 'lib64' problem. Now components are searched in the 'lib64'
directory on 64 bits OS. If they are not stored in 'lib64', then the
default 'lib' directory is used.
* NEW: Passing argument by reference is not allowed anymore if not
explicitely specified in the method declaration.
[COMPILER]
* NEW: Passing argument by reference is not allowed anymore if not
explicitely specified in the method declaration.
[INFORMER]
* BUG: Fixes the 'lib64' problem. Now components are searched in the 'lib64'
directory on 64 bits OS. If they are not stored in 'lib64', then the
default 'lib' directory is used.
git-svn-id: svn://localhost/gambas/trunk@1108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: 2.1 changes were merged.
[INTERPRETER]
* BUG: Static properties or methods returning virtual classes work again.
Color[xxx] is one of them.
git-svn-id: svn://localhost/gambas/trunk@1091 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: Revert strlcpy/strlcat/snprintf, they are not really needed, and introduce potentially more bugs.
git-svn-id: svn://localhost/gambas/trunk@1080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The external gettext library is now used only on OpenBSD. If needed,
other systems can be added of course.
* BUG: Fix Qt moc detection for OpenBSD.
[DEVELOPMENT ENVIRONMENT]
* NEW: In the menu editor, a new menu is now inserted after the current
menu and not before.
[INTERPRETER]
* BUG: Object.Attach() and Object.Detach() now correctly deals with
Observer objects.
[COMPILER]
* NEW: When a form method declaration has no END keyword, the error
message is now accurate. It does not talk about the form definition
anymore.
[GB.GTK]
* BUG: The use of alternative input methods do not print warnings anymore.
git-svn-id: svn://localhost/gambas/trunk@1067 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
* NEW: Removed the out-of-date README.FEDORA and README.REDHAT files.
[EXAMPLES]
* BUG: Fixed the MoviePlayer example.
* BUG: Fixed the Clock example.
[WIKI CGI SCRIPT]
* NEW: More titles and less borders.
[INTERPRETER]
* BUG: Uses the accurate method prototypes for Byte, Short and Single array
classes.
* BUG: Many fixes in the error management.
[GB.DB]
* BUG: Fixed many warnings and some 64 bits stuff in all database drivers.
[GB.DEBUG]
* NEW: More explicit error messages when the creation of debugger fifos
fails.
[GB.COMPRESS.ZLIB]
* BUG: Fixed the compilation on 64 bits OS.
[GB.CORBA]
* NEW: Fixed some warnings.
[GB.GTK]
* NEW: Fixed some warnings.
[GB.IMAGE]
* NEW: Fixed some warnings.
[GB.NET.SMTP]
* NEW: Fixed some warnings.
[GB.PDF]
* NEW: Fixed some warnings.
[GB.QT.KDE]
* NEW: Fixed some warnings.
[GB.SDL]
* NEW: Fixed some warnings.
[GB.SDL.SOUND]
* NEW: Fixed some warnings.
[GB.XML]
* NEW: Fixed some warnings.
[GB.XML.XLST]
* NEW: Fixed some warnings.
git-svn-id: svn://localhost/gambas/trunk@1055 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
* BUG: The Scripting example was fixed.
[INTERPRETER]
* NEW: The error management was redesigned.
[GB.DB]
* NEW: Database driver can declare a set of character that are allowed in a
database name.
[GB.DB.SQLITE2]
* NEW: '.' is allowed in database names now.
[GB.DB.SQLITE3]
* NEW: '.' is allowed in database names now.
git-svn-id: svn://localhost/gambas/trunk@1038 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
* BUG: Fixed the allocation of static arrays.
* BUG: Array classes array accessors now correctly check the number of
their argument when the array has just one dimension.
* OPT: Native array classes array accessors were optimized. For one
dimension arrays, reading is about 50% faster and writing 25% faster.
The gain is smaller for higher dimensions.
git-svn-id: svn://localhost/gambas/trunk@1035 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
* NEW: Object.SetProperty and Object.GetProperty now can deal with
public variables.
[COMPILER]
* BUG: A better error message for expressions that cannot be passed by
reference.
git-svn-id: svn://localhost/gambas/trunk@1017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Arguments passed by reference were implemented.
[COMPILER]
* NEW: Arguments passed by reference were implemented.
git-svn-id: svn://localhost/gambas/trunk@1016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Bytecode version is now 2.99.0.
[EXAMPLES]
* BUG: Fixed the TextEdit example according to the new TextEdit properties.
[INTERPRETER]
* NEW: VarPtr() is a function that returns a pointer to the contents of a
variable. Only numeric variable that are local, dynamic or static can be
used.
* BUG: Fixed the loading of classes whose some variables are Pointer.
[COMPILER]
* NEW: VarPtr() is a function that returns a pointer to the contents of a
variable. Only numeric variable that are local, dynamic or static can be
used.
[GB.EVAL]
* NEW: VarPtr() cannot be used with Eval().
git-svn-id: svn://localhost/gambas/trunk@1014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed the informer that was creating bad *.info files for native
components.
[GB.QT.EXT]
* NEW: TextEdit text properties were splitted in normal and rich text. Now
you have TextEdit.Text that returns the text without the markups, and
TextEdit.RichText that returns the text with the markups.
TextEdit.Selection has the two same properties for the selected text.
git-svn-id: svn://localhost/gambas/trunk@1012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Put the stack backtrace list to the right.
[INTERPRETER]
* BUG: Fixed the Pointer datatype management.
[COMPILER]
* BUG: Fixed the Pointer datatype management. The object file format has
changed consequently. But now it can be run indifferently on 32 bits or
64 bits systems.
git-svn-id: svn://localhost/gambas/trunk@1011 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
* BUG: Try to detect correctly all X11 linking paramters.
[64 BITS]
* NEW: Start to remove all ambiguous datatypes.
[DEVELOPMENT ENVIRONMENT]
* NEW: The gambas2 project was renamed to gambas3.
* BUG: The completion and signature font sizes are now the default one.
* NEW: Add support for Basque language.
[WIKI CGI SCRIPT]
* BUG: The symbol pages work again, and inheritance between class belonging
to different components now is taken into account correctly.
[SCRIPTER]
* NEW: The gbs2 project was renamed to gbs3.
git-svn-id: svn://localhost/gambas/trunk@914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
- acinclude.m4: update libtool macros with libtool 1.5.24 ones, this seem to fix some problems
with configure script under OpenBSD, Linux seems to be still working 8p
- gbx_library.c: Remove lt_dlopen_flag use, as it doesn't seem to be anymore available
in libltdl. XX_LAZY seems to be the default behaviour if available.
- others: Replacement of strcpy() with strlcpy(), as strcpy isn't available because tag as
non secure.
- Perhaps other changes !
git-svn-id: svn://localhost/gambas/trunk@909 867c0c6c-44f3-4631-809d-bfa615b0a4ec