* OPT: Optimization in Replace() when the replace string is longer than
the search string. String[].Join() becomes faster too.
git-svn-id: svn://localhost/gambas/trunk@1683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Enumarting something inside a _next() enumerator method now is
safe.
[GB.SETTINGS]
* NEW: Settings.Keys is a new property that enumerates keys stored in a
settings file. This property can be used like an array if you want to
enumerate keys under a specific slot only.
git-svn-id: svn://localhost/gambas/trunk@1682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: TextLabel now deals correctly with its Font property.
* BUG: TextLabel with AutoResize set now resizes the same way as in gb.qt.
* BUG: Draw.RichText() now deals correctly with the Draw.Font property.
git-svn-id: svn://localhost/gambas/trunk@1680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: String[].Join() was optimized when there is no escape character
specified.
* OPT: Optimize Replace() when the replace string is shorter than the
pattern string.
git-svn-id: svn://localhost/gambas/trunk@1679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Replace() was optimized when the search pattern and the replace
pattern have the same length.
git-svn-id: svn://localhost/gambas/trunk@1675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UserControl and UserContainer _Container properties are correctly
implemented now. Consequently, the gb.form containers start working as
expected.
* BUG: Window.Background and Window.Foreground now work correctly when the
window is embedded.
* BUG: ClientX, ClientY, ClientW and ClientH container properties for
Panel now take the frame into account, as in gb.qt.
git-svn-id: svn://localhost/gambas/trunk@1673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new interpreter API for setting the endianness of a stream.
* NEW: Another new interpreter API for making a stream blocking or not.
[GB.FORM.MDI]
* NEW: Remove the useless toolbar handle.
[GB.NET]
* BUG: Fix the UdpSocket implementation.
* NEW: UdpSocket now uses an internal buffer, so that successive READs on
it work as expected. Beware that the remaining data is lost the next time
the UdpSocket raises its Read event.
git-svn-id: svn://localhost/gambas/trunk@1669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the algorithm that returns the desktop path.
[GB.WEB]
* BUG: Remove log messages, but log session loading error in the
/tmp/session.log file.
git-svn-id: svn://localhost/gambas/trunk@1668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update libtool to version 1.5.24
[INTERPRETER]
* BUG: Lof() returns the correct value for files opened for writing.
* BUG: Dir() and RDir() now work correctly on relative paths.
[GB.WEB]
* BUG: Read and write sessions inside a system lock to prevent two
processes from writing the same session at the same time, and then
corrupting it.
git-svn-id: svn://localhost/gambas/trunk@1666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix an uninitialized flag in streams.
* BUG: Stack overflow raised when entering a function should not mix up
the interpreter anymore.
[GB.QTE]
* BUG: Fix compilation.
git-svn-id: svn://localhost/gambas/trunk@1664 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly manage windows whose Type is Toolbar, as in Gambas 2.
git-svn-id: svn://localhost/gambas/trunk@1660 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The LINE INPUT and INPUT algorithm now deal intelligently with
blocking streams.
[GB.NET]
* BUG: Fix stream implementation of SerialPort and Socket.
* NEW: Socket can be set blocking.
git-svn-id: svn://localhost/gambas/trunk@1659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: EXEC / SHELL used without the AS keyword create a process object
that does not raise events.
[COMPILER]
* BUG: Allow the AS keyword in SHELL / EXEC even if the WAIT keyword is
used.
git-svn-id: svn://localhost/gambas/trunk@1658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The EXEC and SHELL syntax has changed.
[INTERPRETER]
* NEW: Stream.Blocking is new property to set if reading from the stream
is blocking or not.
* NEW: EXEC or SHELL used without the AS keyword creates a blocking
process stream.
[COMPILER]
* NEW: EXEC or SHELL can be used with AS and without FOR.
[GB.QT]
* NEW: Toolbox windows are automatically transient for the current active
window.
git-svn-id: svn://localhost/gambas/trunk@1657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added the function LastInsertId to _MySQL class, that returns the
last insert id for the current user.
git-svn-id: svn://localhost/gambas/trunk@1652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: A new project runtime option to print the stack backtrace on error.
[GB.WEB]
* BUG: Storing arrays inside Session works correctly now.
git-svn-id: svn://localhost/gambas/trunk@1650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added Id function to MySQL class that returns the connection Id.
git-svn-id: svn://localhost/gambas/trunk@1648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Inserting a file in the project as symbolic link now tries to
create relative symbolic links.
* BUG: Fix an error when clicking on a broken link when inserting a new
file in the project.
[INTERPRETER]
* BUG: LINE INPUT does not prevent a following READ instruction from
reading all the bytes it wants anymore.
git-svn-id: svn://localhost/gambas/trunk@1647 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not abort installation if a component written in gambas cannot
be installed.
* BUG: Disable colorgcc, libtool does not support it.
[DEVELOPMENT ENVIRONMENT]
* BUG: Print the real size of directory contents when getting information
on a project directory.
[WIKI CGI SCRIPT]
* BUG: Some fixes in 'example' section and in view mode.
[INTERPRETER]
* BUG: Fix illegal memory access in locale-aware string comparison.
* BUG: Fix a possible crash in String.UCase() and String.LCase().
[GB.FORM]
* BUG: SidePanel arrow buttons are correctly drawn with gb.gtk now.
[GB.GTK]
* BUG: Fix the Image.MakeTransparent() method.
* BUG: Fix the arrangement of ScrollView container.
* BUG: Fix the memory leak in the Picture class.
* BUG: Remove the Window resize event compression.
* BUG: Gridview cells are correctly refreshed now when their Picture or
Font property change.
[GB.NET.CURL]
* BUG: The Status property is correctly set after an error now.
[GB.QT]
* BUG: Correctly clears the internal closed flag when opening a Window.
* BUG: WAIT does not take 100% CPU anymore.
[GB.QT.EXT]
* BUG: In Editor, the cursor could disappear when clicking. Fix that.
[GB.XML]
* BUG: The management of XML nodes was incorrect, and so was redesigned.
git-svn-id: svn://localhost/gambas/trunk@1646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEw: Added the function CurrentUser to MySQL class, that
returns the current user concatenated with the host.
git-svn-id: svn://localhost/gambas/trunk@1638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Set the focus on the form when it becomes active.
[INTERPRETER]
* BUG: Fix locale-aware string comparisons, i.e. string comparisons that
use the gb.Language constant.
[GB.QT.EXT]
* BUG: In Editor, do not call the event loop when scrolling. That can
lead to infinite recursion.
git-svn-id: svn://localhost/gambas/trunk@1632 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: New substitution syntax to have more then nine arguments. The new
syntax is '&{N}' where N is the argument index, between 1 and 63.
git-svn-id: svn://localhost/gambas/trunk@1628 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Make a dedicated tag field in the internal Gambas stream structure.
That makes the component code cleaner.
* BUG: Void arguments does not trim argument list anymore in the EXEC
instruction.
[GB.NET]
* BUG: Setting SerialPort parity should not strip the eighth bit of data
bytes anymore.
* BUG: Fix SerialPort error messages.
[GB.NET.CURL]
* BUG: The component was redesigned to fix a crash in stream methods is
synchronous mode.
git-svn-id: svn://localhost/gambas/trunk@1627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The look of container controls and embedder was modified.
* BUG: Displaying the property help on virtual controls does not crash
anymore.
[WIKI CGI SCRIPT]
* NEW: Changed the look of "only in 3.0" sections.
[INTERPRETER]
* BUG: Handle correctly additions between a small integer constant and a
string, by converting the string to a floating point number.
[GB.DESKTOP]
* BUG: DesktopWindow.State property and state methods are not public
anymore.
* NEW: DesktopWindow.MoveResize() method was removed, and now Move() takes
Width and Height optional parameters.
git-svn-id: svn://localhost/gambas/trunk@1619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Virtual control icons are searched in Gambas control directories.
* NEW: The directory where source package is done is remembered, by
project.
[WIKI CGI SCRIPT]
* NEW: Virtual classes are not creatable.
[GB.DESKTOP]
* NEW: Many enhancements to top-level windows management.
* NEW: The DesktopWatcher class allows to watch desktop changes and top-
level window changes.
[GB.QT]
* BUG: Showing a window during an Open or Close event, and closing a
window during the Close event now do nothing.
git-svn-id: svn://localhost/gambas/trunk@1617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The option dialog has been resized.
[GB.QT]
* BUG: The window events management was redesigned, mainly by copying the
behaviour of gb.gtk. The Open event is now raised before the window is
shown.
* BUG: Setting the Minimized, Maximized and FullScreen Window properties
during the Open event now works as expected.
* BUG: The initial Move and Resize events of a window are not raised
immediately after the Open event, but delayed. Otherwise sometimes some
widgets are not correctly layouted.
* BUG: The Container.Children property does not return invalid controls
anymore.
git-svn-id: svn://localhost/gambas/trunk@1613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Forgot to add mime information files for Gambas server pages.
git-svn-id: svn://localhost/gambas/trunk@1611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Desktop.Path returns the desktop directory as defined by
freedesktop standards. The routine was provided by Roland Pierret, and
adapted by me.
[GB.QT.EXT]
* NEW: In Editor, show trailing spaces at end of lines with dots.
* BUG: Fix Editor drawing routine.
git-svn-id: svn://localhost/gambas/trunk@1609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Store the component version inside the .component files for
component projects.
* NEW: Package dependencies on component use the previous version stored
in the .component file if it is available. Otherwise the current Gambas
interpreter version is used.
* BUG: Do not increment version release if the packager wizard is
cancelled.
* NEW: Package dependencies on component use the previous version stored
in the .component file if it is available. Otherwise the current Gambas
interpreter version is used.
* NEW: The package wizard remembers the last directory used for storing
packages.
* BUG: The default directory where packages are stored is the home
directory now.
* BUG: Fix the signature display routine that sometimes underlined
incorrectly.
* BUG: Use version program at each project configuration write.
* NEW: A "paste special" function in the code editor, that allows to
insert plain text or HTML text from the clipboard, and can comment it,
quote it as a Gambas string, or transform it into PRINT instructions.
* BUG: Some fix related to the now immediate invalidity of deleted forms.
[SCRIPTER]
* NEW: Support for gambas server pages!
* NEW: Server page are now run by a program named 'gbw2', which is just a
symbolic link to 'gbs2'.
[GB.GTK]
* BUG: Window.Picture property now works correctly when the window is
embedded inside a container.
* BUG: Embedded windows having a background picture are now correctly
updated when they are resized.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: The combo-box behaves now like the qt one. Its first item is always
selected at startup.
* NEW: Now deleted forms become immediately invalid.
[GB.QT]
* BUG: Clipboard.Paste() now returns an UTF-8 string.
* BUG: Correctly handle a form close or destroy during an event handler.
* BUG: Checking if the application must quit is deferred, so that closing
a form and opeing another one keeps the application running.
* NEW: Now deleted forms become immediately invalid.
[GB.QT.EXT]
* BUG: Fix the Editor drawing while scrolling.
* BUG: Fix conversion from cursor position to text column in Editor.
* BUG: Fix the Editor drawing when it has been scrolled to the right.
* BUG: Don't paste in Editor if there is nothing to paste.
git-svn-id: svn://localhost/gambas/trunk@1605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Block events when setting the number of rows and columns in
GridView. That prevents some bad crashes.
git-svn-id: svn://localhost/gambas/trunk@1602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Store every query in a variable, so it can be retrived
with _MySQL.Query.
git-svn-id: svn://localhost/gambas/trunk@1594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not use <pre> markups, they cannot break lines.
[DEVELOPMENT ENVIRONMENT]
* NEW: Replace anonymous object arrays by template arrays.
* NEW: A button that clears the shortcut in the menu editor.
* NEW: When evaluating expression in the console, a semi-colon at the end
of the expression prevents the end newline to be printed, like in the
PRINT instruction.
* NEW: CTRL+G in the console makes it flash.
* OPT: Remove the CCoolTabs class, that was not used anymore.
* NEW: The main selected control is unselectable in the form editor now.
* NEW: Selected controls can be resized by pressing CTRL and an arrow key.
* NEW: Some form editor shortcuts have been changed to not conflict with
the previous feature.
* BUG: Fix the horizontal position of the automatic completion.
* BUG: Look in project classes before component classes in automatic
completion.
[INTERPRETER]
* BUG: Fix the memory allocation debug routines.
* BUG: When instanciating a template array class, search for element class
symbol locally first.
* BUG: Template arrays now correctly release their elements.
* NEW: Update copyright year in gb_common.h header file.
[COMPILER]
* BUG: Manage .list and .info files incrementally, so that they are up to
date even when the project is not fully compiled.
* BUG: Float and Single constants are correctly written in the .info file.
[GB.QT.EXT]
* BUG: Fix some painting artifacts in Editor.
* BUG: In Editor, Undo and Redo now should always work correctly when a
line is rewritten.
* NEW: In Editor, when a line is rewritten, the Change event is always
emitted.
* NEW: The Editor is cleared now when it prints a CTRL+L character.
* NEW: The Editor flashes now when it prints a CTRL+G character.
git-svn-id: svn://localhost/gambas/trunk@1576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Corecction in the translation of FMakeInstall.
* BUG: Set the width of CheckBox2 in FMakeInstall to 182 (like all).
git-svn-id: svn://localhost/gambas/trunk@1567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Write Gambas version in .project files.
* BUG: Fix crash in automatic completion.
[GB.QT.EXT]
* BUG: In Editor, the line width must not be smaller than the visible
width.
git-svn-id: svn://localhost/gambas/trunk@1566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Rename the "SDL_SOUND" autoconf package name as "SDLSOUND".
[DEVELOPMENT ENVIRONMENT]
* NEW: Add a checkbox to tell the packager if it should create the
packages in their own distribution-specific directories. The name of
this sub-directory is the package kind: "mandriva" for a Mandriva rpm,
"ubuntu" for an Ubuntu deb, and so on.
* BUG: The save file dialog now correctly displays unsaved file icons.
* BUG: Some other fixes in the case of signature symbols.
* BUG: Fix the drawing of symbolic link overlay icon.
* NEW: Editors can use non fixed-size fonts.
* BUG: Fixes relative to non fixed-size fonts support.
[WIKI CGI SCRIPT]
* BUG: Handle loops in symbolic links correctly.
[SCRIPTER]
* BUG: Use gb.eval to analyze script instead of hand-made parsing.
* BUG: Print a warning message when a component requirement is not found
instead of halting.
* NEW: New option -v to be verbose.
* NEW: New option -c to ignore cache contents.
[GB.DB.MYSQL]
* BUG: Fix the drop index driver function.
[GB.QT]
* BUG: The ComboBox.Item.Text property now correctly returns UTF-8 text.
[GB.QT.EXT]
* NEW: The editor now support non fixed-size fonts.
* OPT: Indention, unindentation, and everything that acts between a
Begin() and End() commands only emit the Change event once.
Consequently, these actions are not slow anymore.
* OPT: Optimize undo and redo the same way as ident and unindent.
* NEW: In Editor, CTRL+BACKSPACE deletes the left word now.
* NEW: In Editor, CTRL+DELETE deletes the right word now.
git-svn-id: svn://localhost/gambas/trunk@1564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Some bugs fixes coming from Gentoo.
[DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in the case of signature symbols.
[WIKI CGI SCRIPT]
* BUG: Try to display the language bar in Firefox the same way as in
Konqueror.
[INTERPRETER]
* BUG: Collection[] now correctly raises an error when the key is null.
[GB.GTK]
* BUG: Fix the use of the gambas part in the TreeView class.
[GB.NET.CURL]
* BUG: Successive calls to the Get() or Put() methods should not make the
interpreter crash at exit anymore.
git-svn-id: svn://localhost/gambas/trunk@1554 867c0c6c-44f3-4631-809d-bfa615b0a4ec