* NEW: A menu entry and a button for showing/hiding the menu bar.
[GB.EVAL]
* BUG: Highlight.Purge() now correctly handle non-ASCII characters inside
strings and comments.
[GB.QT]
* NEW: Window.Menus.Hide, Window.Menus.Show and Window.Menus.Visible are
two methods and one property for showing and hiding the menu bar of the
window.
git-svn-id: svn://localhost/gambas/trunk@1706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix blob and string quoting.
* BUG: Detect primary keys even if their name does not end with '_pkey'.
* BUG: Correctly detect system databases.
[GB.QT]
* NEW: The Editor.Print() method automatically split lines longer than
256 characters.
git-svn-id: svn://localhost/gambas/trunk@1705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Setting ListBox.List and ComboBox.List does not raise the Click
event anymore, as in gb.qt.
* BUG: Searching an item in a ComboBox does not crash anymore.
[GB.FORM]
* BUG: TableView edit field position is now correct when the TableView
window has a menu bar.
[GB.QT]
* BUG: TabStrip.Children property now does not return invalid children
anymore.
git-svn-id: svn://localhost/gambas/trunk@1700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Increment bytecode version.
[INTERPRETER]
* NEW: New routine to deal with the new immediate collection operator. The
bytecode has changed consequently.
[COMPILER]
* NEW: A new syntax to the array operator to create collections:
[ <key>:<value>, <key>:<value> ... ]
[GB.EVAL]
* NEW: Implement the new syntax for creating collections.
git-svn-id: svn://localhost/gambas/trunk@1699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Format() now pad numbers with spaces according to the number of '#'
characters before the decimal point.
git-svn-id: svn://localhost/gambas/trunk@1696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Message.Title is a new property to define the title of the next
message box. The property is reset after the message box has been
displayed.
[GB.GTK]
* NEW: Message.Title is a new property to define the title of the next
message box. The property is reset after the message box has been
displayed.
git-svn-id: svn://localhost/gambas/trunk@1695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Debug windows are toolbar again, so that they are automatically
transient for the main window.
* BUG: Exported project classes from a component project are correctly
scanned now.
git-svn-id: svn://localhost/gambas/trunk@1694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The minimum size of modal windows is correctly set again.
* BUG: Windows having SkipTaskbar set now get the focus correctly when
activated.
[GB.GTK]
* BUG: Windows having SkipTaskbar set now get the focus correctly when
activated.
git-svn-id: svn://localhost/gambas/trunk@1692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Popup menu entries in code editor and form editor to define the
current class as startup class.
git-svn-id: svn://localhost/gambas/trunk@1691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Optimizations in string allocation.
[GB.DB]
* OPT: Optimization in query making. Storing big blobs inside a field in
now about twice faster.
[GB.DB.POSTGRESQL]
* BUG: Fix string quoting for postgresql >= 8.2.
git-svn-id: svn://localhost/gambas/trunk@1687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added support for Valencian language, a official tongue in the Autonomous Community of Valencia, Spain.
git-svn-id: svn://localhost/gambas/trunk@1684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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