* NEW: The process child errors raised before the exec() system call are
now catched in a separate function called by the compiler explicitly
after a SHELL or EXEC assignment.
[COMPILER]
* NEW: SHELL and EXEC assignments now call an hidden subroutine just after
the assignment to immediately check for a possible child error.
git-svn-id: svn://localhost/gambas/trunk@6681 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new USE instruction.
[COMPILER]
* NEW: A class header now can include USE "xxxx" declarations, where "xxxx"
is a component name. It means that the specified component will be loaded
when the class is initialized, the first time it is loaded.
git-svn-id: svn://localhost/gambas/trunk@6648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new wiki now.
[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.
[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.
[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the
'OUTPUT TO' instruction).
[GB.FORM]
* NEW: Some new icons.
[GB.FORM.STOCK]
* BUG: Fix all missing icons.
[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.
[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.
[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.
[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and
returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and
being older than 24 hours are automatically removed from disk.
git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix array creation operator when it has no arguments.
[INTERPRETER]
* BUG: Fix array creation operator when it has no arguments.
git-svn-id: svn://localhost/gambas/trunk@6114 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix maximum number of array declaration in the same class.
* NEW: Array and Collection constructor operator [ ... ] now can take any
number of arguments. It is only limited by the maximum function size,
which leads for example to about 32000 elements for a short array.
git-svn-id: svn://localhost/gambas/trunk@6110 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Undo one change of last revision: reading a stream from a memory
stream is a special case. It reads a null-terminated C string, and not a
serialized Gambas string.
* NEW: OPEN STRING is a new instruction that allows to use a string as a
stream. Writing to it appends the written data to the end of the string
at the moment.
* NEW: Closing a string stream returns the data written to the stream as a
new string.
[COMPILER]
* NEW: New OPEN STRING instruction.
* NEW: OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE
instructions alone.
[GB.EVAL]
* NEW: Highlight the new OPEN STRING instruction correctly.
git-svn-id: svn://localhost/gambas/trunk@5941 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update copyright year to 2013.
[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a
scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.
git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The name of GridView controls is now always visible in the form
editor.
[INTERPRETER]
* NEW: Support for new QUIT syntax.
* NEW: Do not display overriding prefix in class names.
[COMPILER]
* NEW: QUIT now can takes an optional argument which is the program return
value.
[GB.ARGS]
* BUG: The "--version" option is not "----version" anymore
* NEW: If an error occurs, returns 1 as exit value and not 0.
[GB.FORM]
* BUG: GridView is correctly updated now when the Border property is set.
git-svn-id: svn://localhost/gambas/trunk@5246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Raise an error now when using TRY with GOTO, BREAK, CONTINUE or
STOP.
git-svn-id: svn://localhost/gambas/trunk@4523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not try to handle Home and End keys in editors.
* BUG: Fix the translation of error messages made by the debugger.
* NEW: Update error message list.
[INTERPRETER]
* NEW: Chmod, Chown and Chgrp were implemented.
* NEW: Stat.Auth is a new property that returns the file mode as a string,
using the format of the 'chmod' shell command.
* NEW: Rmdir raises a specific 'Directory is not empty' error now, when
trying to remove a non-empty directory.
[COMPILER]
* NEW: Chmod <path> To <mode> was implemented. <mode> is a string having
the same format as the 'chmod' shell command.
* NEW: Chown <path> To <user> was implemented. <user> is the name of the
user as defined in the /etc/passwd file.
* NEW: Chgrp <path> To <group> was implemented. <user> is the name of the
group as defined in the /etc/group file.
git-svn-id: svn://localhost/gambas/trunk@4400 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix many gcc 4.6.1 warnings.
* NEW: Update the depcomp sript with a more recent version.
[GB.DB.POSTGRESQL]
* BUG: Fix primary index retrieving for tables inside a schema.
git-svn-id: svn://localhost/gambas/trunk@4203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: PRINT can ends with a comma. In that case, a tab is printed, but no
newline.
git-svn-id: svn://localhost/gambas/trunk@3410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The bytecode version has been incremented, as the object file format
has changed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle static arrays in automatic completion.
[INTERPRETER]
* BUG: Handle public static arrays correctly.
[COMPILER]
* NEW: Handle structures, and write them inside object files.
* NEW: Class options (EXPORT, CREATE...) can only be written at the
beginning of the source file now.
* BUG: Fix some use of uninitialized values.
* BUG: Correctly write public static arrays in *.info files.
* NEW: Do not support old OPEN syntax anymore.
git-svn-id: svn://localhost/gambas/trunk@2952 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking
mode, then Eof() will wait for the data before testing if something can
be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always
available.
[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
with the PIPE instruction.
[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or
show the colormap.
[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.
git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of
the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a
string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string
is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a
string matches one of the strings between square brackets, each one being
separated by a comma.
[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events
anymore.
[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was
necessary or faster.
git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for translated compiler error messages.
* NEW: French translatio of compiler error messages.
[COMPILER]
* BUG: Fix many error messages so that they are easily translatable.
* NEW: A new option, "-e", to output translatable error messages instead of
full ones.
git-svn-id: svn://localhost/gambas/trunk@2346 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The option "--no-old-read-write-syntax" allows to easily detect
where Read and Write instructions should be rewritten.
git-svn-id: svn://localhost/gambas/trunk@2345 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new Read/Write syntax.
[INTERPRETER]
* NEW: New Read/Write syntax.
* NEW: IsVariant() returns if its argument is a Variant.
[COMPILER]
* NEW: New Read/Write syntax.
* NEW: Support for the old read syntax.
[WIKI CGI SCRIPT]
* NEW: Allow query arguments ("?v3" for example) inside wiki links.
* NEW: New look for the table of contents.
* BUG: Non-translated pages display again.
[GB.WEB]
* NEW: Use the new Read/Write syntax.
git-svn-id: svn://localhost/gambas/trunk@2344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: VarPtr() now works on a string variable. It returns the address of
the string.
* NEW: TypeOf("") now returns gb.String. "" is equal to NULL yet, but now its
string datatype is kept.
* NEW: Memory is new instruction like Open that opens a memory stream from
a Pointer.
* NEW: A Pointer can not be used as a stream directly. You must use the new
Memory instruction for that.
* NEW: The [...] array constructor now checks the datatype of all its
argument to decide the type of the new array.
* BUG: The ["key":value] collection constructor now does not leak memory
anymore if it fails.
* NEW: A new error, "void key", whose code is 64.
* NEW: TypeOf(Null) now returns gb.Null and not gb.Object anymore.
* BUG: IIf() now returns a Variant only if needed. It uses the same
algorithm as the array constructor.
[COMPILER]
* NEW: Memory is new instruction like Open that opens a memory stream from
a Pointer. The syntax is: hStream = Memory pPonter For Read | Write.
* NEW: Support for form controls being individually public.
* BUG: VarPtr() is compiled correctly again.
git-svn-id: svn://localhost/gambas/trunk@2339 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide
(or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.
[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been
replaced by "Ambigous brackets".
[GB.IMAGE]
* NEW: Remove Image.Transform().
[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.
[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or
Control.ResizeScaled() is zero, then the effective width (or height) will
be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification,
DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in
the foreground.
git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Controls of components written in Gambas are correctly installed
now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Component project controls icons are now store in the "Project"
section, not in the "Data" section anymore. Consequently they are not
stored in the project executable.
* BUG: Fix the activation of menu entries in the project treeview popups.
* NEW: New layout for the translation dialog.
* NEW: Remove many control icons and put them with their component project.
git-svn-id: svn://localhost/gambas/trunk@2140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not use "boolean" anymore. Use "bool" instead.
[COMPILER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.
git-svn-id: svn://localhost/gambas/trunk@2091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: WARNING! The bytecode has changed, so every project needs to be
recompiled.
[DEVELOPMENT ENVIRONMENT]
* NEW: A new project option to use the terminal emulator of the current
desktop instead of the built-in output window.
* BUG: "svn update" is now run non-interactive.
[WIKI CGI SCRIPT]
* NEW: {html ... } is a new section to put verbatim HTML inside a page.
[INTERPRETER]
* BUG: Fix a possible bug in the FreeBSD way of opening a pseudo-terminal
when running an external process.
* NEW: External process can have a custom environment.
* BUG: Some forgotten FreeBSD patch.
* NEW: The hidden "-f" option now takes as argument the name of the debug
fifo file without the extension. This is needed as now the IDE can put
a terminal emulator between the debugged process and itself.
[COMPILER]
* NEW: New syntax for the EXEC and SHELL instruction. Now the WITH keyword
can introduce an array of string, each of one being an environment
variable "NAME=VALUE".
[GB.DEBUG]
* NEW: Debug.Start() now returns the name of the debug fifo, without the
extension.
git-svn-id: svn://localhost/gambas/trunk@1971 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: 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: 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
* 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