* BUG: Take the "GB_VIRTUAL_CLASS()" declaration into account to decide if
a native class is virtual or not. Don't just check the dot prefix in the
name.
git-svn-id: svn://localhost/gambas/trunk@6454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use the new WebSettings.Cache.Clear() method.
* BUG: Fix project lists layout when they are filtered.
[WIKI CGI SCRIPT]
* BUG: Workaround the thttpd cgi interface bug.
[INTERPRETER]
* NEW: A new API for browsing a directory recursively.
* NEW: Js$() is a new function that quotes javascript strings.
[GB.FORM]
* BUG: ColorChooser: Don't memorize custom colors spuriously.
[GB.GUI.BASE]
* BUG: GridView: Don't take hidden columns into account when layouting
expanded columns.
git-svn-id: svn://localhost/gambas/trunk@6447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Set Cygwin Shared Library Extension to dll
[GB.JIT]
* NEW: Add conditional defines for Cygwin to allow compile:
Use finite in place of _finite, __isnand in place of __isnan
and __isinfd in place of __isinf.
* NEW: Remove jit_gambas_pass_dummy.cpp as this is no longer
required to compile with later versions of llvm. Also fixes
issue with Cygwin compile.
[GB.NET]
* NEW: Redefine TIOCOUTQ for Cygwin
[GB.SDL.SOUND]
* NEW: -lSDL needed for Cygwin linker
[INTERPRETER]
* NEW: Redefine FIONREAD for Cygwin
* NEW: Cygwin needs <strings.h> to avoid compiler issues when
redefining strcasecmp etc.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make the environment Cygwin aware
git-svn-id: svn://localhost/gambas/trunk@6435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The stream available length function now correctly returns zero when
it fails.
git-svn-id: svn://localhost/gambas/trunk@6413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A new Task now resets the state of its standard output stream to
avoid side effects from its parent.
git-svn-id: svn://localhost/gambas/trunk@6412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path
with an unknown file.
[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player
widget with controls.
[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.
git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add an gambas appdata file and install it in /usr/share/appdata.
[DEVELOPMENT ENVIRONMENT]
* BUG: ImageEditor: Fix a possible crash when pasting an image.
* BUG: Correctly detect if a project is handled by subversion or not.
[INTERPRETER]
* NEW: Replace the internal `class->state` variable by two boolean flags:
`class->loaded` and `class->ready`.
* NEW: Overriding a class that is the parent of other classes is possible
again. I don't remember what prevented that to work, so I want to see.
[GB.DEBUG]
* NEW: Propagate the changes in the interpreter class structure.
[GB.EVAL]
* NEW: Propagate the changes in the interpreter class structure.
[GB.GUI.AREA]
* BUG: GridView: Setting the background color correctly refreshes the
control.
[GB.JIT]
* NEW: Propagate the changes in the interpreter class structure.
[GB.NET.SMTP]
* NEW: Replace the old gb.net.smtp component written in C and Gambas by a
new component with the same name entirely written in Gambas.
* BUG: Fix the authentication process.
* BUG: Fix how the result of the EHLO command is read.
[GB.QT4.EXT]
* NEW: LCDNumber control is now put in a "Deprecated" tab in the IDE
control toolbar.
git-svn-id: svn://localhost/gambas/trunk@6403 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When reading lines ending with a "Window" end-of-line sequence
(CR+LF), the LINE INPUT instruction could sometimes forget to remove the
first end-of-line character from the end of the line (CR).
git-svn-id: svn://localhost/gambas/trunk@6398 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Now the offline help on component symbols should be displayed
correctly in any case.
* NEW: Support for automatic session management.
* BUG: Some fixes in single file editing mode.
[INTERPRETER]
* NEW: Args.All is a new property that returns all the command-line
arguments as a string array. Not definitive: it may be removed in the
future.
[GB.GTK]
* NEW: Application.Restart is a new property that allows to define the
application restart command for the session manager. Beware that it has
no effect at the moment!
[GB.QT4]
* NEW: Support for automatic session management. Only gb.qt4 implements it
at the moment.
* NEW: Application.Restart is a new property that allows to define the
application restart command for the session manager.
git-svn-id: svn://localhost/gambas/trunk@6392 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when the first use of a class symbol recursively calls
the current function being executed.
git-svn-id: svn://localhost/gambas/trunk@6383 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when opening the help browser after the F2 key has been
hit.
[INTERPRETER]
* BUG: Fix a crash when running the Application_Error global error handler.
[GB.FORM]
* NEW: DirBox is a new control that allows to choose a directory from a
ButtonBox.
* NEW: DirBox, FontBox and DateBox are now put in the "Chooser" tab of the
IDE control toolbar.
git-svn-id: svn://localhost/gambas/trunk@6380 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Abs(True) now returns 1, and Abs(False) returns 0. It breaks the
rule of TypeOf(Abs(x)) = TypeOf(x), but it is more useful while being
backward compatible.
git-svn-id: svn://localhost/gambas/trunk@6332 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Opening a SQLite database file automatically creates a new
connection and open it in the database editor.
* NEW: Redesign the form menu editor.
* BUG: Fix copy & paste in the form menu editor.
* NEW: The IDE now can open a single extern file without any project. This
is done internally by creating a temporary fake project. The GUI tries to
adapt to that new mode, but this is not yet perfect.
[INTERPRETER]
* NEW: Args.Max is a new property that returns Args.Count - 1.
[GB.QT4]
* NEW: When several menus have the same shortcut, one is triggered instead
of displaying a warning message and doing nothing.
[GB.QT.EXT]
* NEW: Editor: CTRL+X now cut the current line if nothing is selected. If
you stay on the same line, cutted lines accumulate.
git-svn-id: svn://localhost/gambas/trunk@6324 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the custom browser support.
* NEW: Add Chromimum to the list of browsers.
[INTERPRETER]
* NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they
have raised an error. FALSE is everything was ok.
[GB.FORM.MDI]
* NEW: Redesign the shortcuts configuration dialog.
* NEW: Shortcuts now can be exported and imported.
[GB.GTK]
* BUG: DrawingArea: Clipping is correctly established now before raising
the Draw event.
* BUG: Keyboard events have been fixed. Key array accessor and Key.Code now
behave the same way as in gb.qt4.
* BUG: The Key.Meta property works correctly now.
* BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround
for that new weird behaviour.
* BUG: Automatic window minimum size now works correctly.
* BUG: Windows can take focus as in gb.qt4.
[GB.GUI.BASE]
* BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw
event. Otherwise you get drawing artifacts with gb.gtk.
* BUG: GridView: Setting the column width to -1 is taken into account by
the layout routine.
git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a string leak in program exit routine.
* BUG: The Param class now can be used while debugging.
git-svn-id: svn://localhost/gambas/trunk@6295 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Raising an error during the program exiting is possible now.
* NEW: Raise an error if an _exit method loads a new class. This is now
forbidden!
[GB.SETTINGS]
* OPT: Settings.Clear() does not mark the settings file to be saved if
there is nothing to clear.
git-svn-id: svn://localhost/gambas/trunk@6293 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Making executable works again.
[INTERPRETER]
* BUG: Don't use vfork() if a process has a custom environment, use a
terminal or is run through a shell.
[GB.FORM]
* BUG: ValueBox.ReadOnly works as expected now.
git-svn-id: svn://localhost/gambas/trunk@6292 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly load information files on component classes overriden by a
project class.
[INTERPRETER]
* BUG: Use vfork() only if a new process does not use a virtual terminal,
does not run in a shell, or use a specific environment.
git-svn-id: svn://localhost/gambas/trunk@6291 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Define the TZ environment variable at startup if it not defined to
prevent the glibc to stat the '/etc/localtime' file again and again.
* OPT: Cache the last value of System.TimeZone during at most 10 minutes.
[GB.FORM]
* OPT: Implement a directory cache to minimize the number of calls to the
Stat() function.
[GB.SETTINGS]
* BUG: Do not mark the settings file as modified if the stored value is not
really changed.
git-svn-id: svn://localhost/gambas/trunk@6290 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't check conflict on project configuration file if that files
does not exist.
[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.
[INFORMER]
* BUG: Remove unneeded parenthesis on a test.
[GB.CLIPPER]
* BUG: Remove an unused variable.
[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.
[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it
behaves exactly like a TextBox.
[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach
current tab" menu entry is disabled when needed.
[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the
documentation.
git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Rand() is a new function that returns an integer random number.
Rand(X) returns a integer random number between 0 and X included.
Rand(X,Y) returns a integer random number between X and Y included.
* BUG: System.TimeZone now returns the accurate value, i.e. the number of
seconds that must be *added* to go to UTC.
git-svn-id: svn://localhost/gambas/trunk@6282 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add a small reserved area in the stack for the Eval() function, so
that the debugger can return the contents of a variable after a stack
overflow without raising a new stack overflow error and then crashing.
git-svn-id: svn://localhost/gambas/trunk@6276 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Write in the bytecode file if a function uses the IsMissing() native
routine.
[INTERPRETER]
* OPT: Don't use a stack slot for missing arguments if the IsMissing()
function is not used.
git-svn-id: svn://localhost/gambas/trunk@6274 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: System.TimeZone now takes the daylight saving time into account.
git-svn-id: svn://localhost/gambas/trunk@6273 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Use a control variable to store the missing optional argument map,
so that the JIT compiler is not trapped.
git-svn-id: svn://localhost/gambas/trunk@6264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: IsMissing() is a new function that returns if an optional argument
is missing. It always returns FALSE on a non-optional argument.
[INTERPRETER]
* NEW: Support for IsMissing().
git-svn-id: svn://localhost/gambas/trunk@6258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly drop arguments when using the new '...' symbol syntax.
[COMPILER]
* BUG: Correctly drop arguments when using the new '...' symbol syntax.
git-svn-id: svn://localhost/gambas/trunk@6252 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the new '...' symbol usage in function calls.
[COMPILER]
* NEW: '...' can be used for passing all the variables arguments of the
current function to another function. The '...' symbol must be the last
argument of the function call.
git-svn-id: svn://localhost/gambas/trunk@6251 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Now a method or property object datatype can be overridden by a more
specialized one.
git-svn-id: svn://localhost/gambas/trunk@6249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix memory leak with Lower$() and Upper$() on some null strings.
git-svn-id: svn://localhost/gambas/trunk@6241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: TabPanel.Moveable is a new property that makes tab button moveable
if set.
[GB.FORM.MDI]
* NEW: Workspace tab buttons are now moveable.
git-svn-id: svn://localhost/gambas/trunk@6239 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a new background generated from the QuasiRegular new example.
* BUG: Disable replace controls in the search dialog when searching the
output window.
[WIKI]
* BUG: Fix style sheet for tables at the beginning of a block.
* BUG: Fix title retrieving of component links.
[EXAMPLES]
* NEW: QuasiRegular: A new example that shows an example of a quasi-regular
pattern.
[INTERPRETER]
* BUG: Use interpreter API constants in 'gbx_watch.c' so that duplicate
constants are removed.
git-svn-id: svn://localhost/gambas/trunk@6235 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a echo button in the output console, that echoes the entered
command.
[WIKI]
* NEW: Add a HTTP server requests graph.
[INTERPRETER]
* BUG: The debugger does not change the Key property of collections when
displaying them.
* NEW: Collection.Key is writable now.
[GB.FORM]
* NEW: FontChooser: Always reset sample text at first use.
* BUG: FontChooser: Fix the behaviour when size changes.
git-svn-id: svn://localhost/gambas/trunk@6222 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Use vfork() instead of fork() to implement EXEC and SHELL, so that
when the child process cannot run the child program for any reason, the
error is immediately catched.
* BUG: Fix a possible file descriptor leak when using LOCK.
git-svn-id: svn://localhost/gambas/trunk@6189 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Menu shortcut for defining a class or a form as startup class has
been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.
[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic
conversion between the old wiki syntax and the new markdown syntax cannot
be perfect. Not yet done: history, registration, to do list.
[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc'
plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific
one.
* NEW: WaveGenerator: Allow to choose the wave form.
[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined
in the project.
[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does
not hide its contents anymore when losing the focus if its value was the
default value.
[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the
control anymore if their width and height arguments are omitted.
[GB.MARKDOWN]
* BUG: Bug fixes, tuning...
[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer
value now.
git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Dutch translation updated in many places.
[DEVELOPMENT ENVIRONMENT]
* NEW: New option to run a program inside a true virtual terminal, but its
standard error output is redirected to the IDE console.
[WIKI]
* NEW: New Gambas wiki CGI script. It aims at replacing the current wiki.
Currently in development...
[INTERPRETER]
* NEW: A new '-t' hidden command-line argument to support redirecting the
standard error output to a named pipe.
[GB.IMAGE]
* BUG: Link with the mathematic library as the pow() function is used for
the image gamma filter.
[GB.MARKDOWN]
* NEW: Markdown.Line is a new property that returns the current line if an
error occurs while converting markdown syntax to HTML.
* NEW: Support for custom commands "{@...}".
* NEW: The quote characters has the same effect as the backquote character,
except that markdown is allowed inside.
[GB.QT4]
* BUG: Clipboard.Paste() now returns the image when there is both image and
text inside the clipboard.
git-svn-id: svn://localhost/gambas/trunk@6146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GB.CanRaise() API now does not take the locked status of the
parent object into account anymore. It really checks if an event has an
event handler.
git-svn-id: svn://localhost/gambas/trunk@6115 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: If an error is raised inside a TRY context, the Error.Backtrace
property is reset to NULL. It does not keep its previous value anymore.
git-svn-id: svn://localhost/gambas/trunk@6090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly close the standard error output of an ending process if
its standard output has already been closed.
git-svn-id: svn://localhost/gambas/trunk@6081 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: A text tool has been added.
* BUG: The "open terminal" and "open file browser" toolbar icons now work
as expected.
[WEBSITE MAKER]
* NEW: Update for 3.5.2 release.
[INTERPRETER]
* NEW: Successives spaces in a regular expression pattern now acts like a
single space.
[GB.DRAW]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
[GB.FORM]
* NEW: FontBox is a new control that allows to select a font from a text
field.
* NEW: The FontChooser control now adapts its interface if its height is
too small.
[GB.GTK]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
[GB.GUI.BASE]
* NEW: Add a little left and right padding to GridView cells.
* NEW: ListBox now uses the default selected background color.
[GB.QT4]
* NEW: Paint.PathOutline is a new property that returns a array of polygons
corresponding to the current drawing path.
git-svn-id: svn://localhost/gambas/trunk@6080 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a crash when using CStr() on an object having a conversion
function.
git-svn-id: svn://localhost/gambas/trunk@6056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When a void string is sent to an extern function argument expecting
a string, it is converted to a zero-length string instead of a null
pointer.
[GB.FORM]
* NEW: DateChooser: Replace the month ComboBox by a MenuButton.
* BUG: DateChooser: Better management of the month menu button width.
[GB.GUI.BASE]
* NEW: The ProgressBar control is now written in Gambas.
git-svn-id: svn://localhost/gambas/trunk@6050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix LIKE operator when the {...} syntax is not at the end of the
pattern.
git-svn-id: svn://localhost/gambas/trunk@6042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The debugger now can be told to break the program on any error.
* NEW: Statistic tab in the project property dialog.
[INTERPRETER]
* BUG: Don't crash if an unknown option is passed with the '-g' option.
* NEW: The debugger now can be told to break the program on any error.
* NEW: System.BreakOnError is a new property that allows to set the
internal "break on error" option at runtime. I don't know if it is
actually useful, so I may remove it.
[GB.DEBUG]
* NEW: The debugger now can be told to break the program on any error.
git-svn-id: svn://localhost/gambas/trunk@6011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update Gambas fonts.
* NEW: Project converter: try to not crash if the Gambas 2 project has been
partially converted.
[GB.QT4]
* BUG: Mouse.Translate() now has an absolute effect, as in gb.gtk.
git-svn-id: svn://localhost/gambas/trunk@6009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Display the error returned by the glibc when a locale cannot be set.
* NEW: Allow the class conversion routine to define the target datatype by
itself.
[GB.DB]
* BUG: The automatic Blob to String conversion does not lead to a crash
anymore.
git-svn-id: svn://localhost/gambas/trunk@5999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Chinese translations updated everywhere.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: In the menu editor, the last menu can be move up now.
* NEW: Add "GB_REVERSE=1" in the environment variable list of the project
properties dialog.
[GB.DB.FORM]
* NEW: The DataCheckBox control now raises its Click event as expected.
[GB.FORM]
* BUG: The icon of the FileProperties control now correctly adapts its
size.
[GB.FORM.MDI]
* NEW: ToolBar now inverts its layout if the current language is right-to-
left written.
[GB.GTK]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
* BUG: The rtl layout is correctly initialized at startup.
[GB.GUI.BASE]
* NEW: ScrollArea, GridView, TreeView and its friends now invert their
layout if the current language is right-to-left written.
[GB.NET.POP3]
* BUG: Error messages must not be translatable.
[GB.QT4]
* NEW: Mouse.Translate() is a new method that allows to translate the
current mouse event.
git-svn-id: svn://localhost/gambas/trunk@5993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: String.InStr() does not crash anymore if the string pattern is void.
It returns 0 instead (like InStr).
git-svn-id: svn://localhost/gambas/trunk@5979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the CLOSE instruction when dealing with a string stream.
* NEW: Make WRITE behave the same way as READ on a memory stream. I.e. it
writes a null-terminated "C" string.
git-svn-id: svn://localhost/gambas/trunk@5942 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
* BUG: VarPtr() correctly works on method arguments.
* BUG: Reading a string from a memory stream now works correctly.
git-svn-id: svn://localhost/gambas/trunk@5940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly check that there is a current enumeration if the Enum
class methods and properties.
* NEW: Enum.Stopped is a new property that returns if the current
enumeration has been stopped.
* BUG: The [] operator is now correctly overridden in classes inheriting an
array class or Collection.
git-svn-id: svn://localhost/gambas/trunk@5935 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't detach a process that returns an error otherwise the Kill
event is lost.
git-svn-id: svn://localhost/gambas/trunk@5921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for the GB_PATH environment variable, that gives the Gambas
interpreter path if set.
git-svn-id: svn://localhost/gambas/trunk@5918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Add the description of 'gb.memcached' and 'gb.logging' components.
* NEW: Update error messages translation.
[INTERPRETER]
* NEW: Allow some error messages to be untranslatable by using a void macro
named '$(...)' around the string.
[GB.FORM]
* BUG: The status of FileChooser and DirChooser toolbar icons is correctly
initialized now.
* BUG: Reading the FileChooser.ShowPreview property does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@5912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a structure declaration for ARM architecture.
[GB.CLIPPER]
* BUG: Fix the signature of some methods.
git-svn-id: svn://localhost/gambas/trunk@5900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the "search" link.
[INTERPRETER]
* NEW: Date() and Time() now takes the milliseconds as an extra optional
argument.
* BUG: Time() with one argument correctly converts it to a date.
* NEW: Date() and Time() now always check the range validity of their
arguments.
[GB.DB.FORM]
* NEW: DataControl does not change the background of mandatory field and
the font of primary key fields anymore.
* NEW: DateControl.Control is a new property that returns the underlying
control used for editing the field data.
[GB.GUI.BASE]
* NEW: HSplit and VSplit have a new Border property that define if the
splitter separator is visible or not.
* NEW: HSplit and VSplit now take the Spacing property into account.
git-svn-id: svn://localhost/gambas/trunk@5871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Application.Priority is a new property that allows to define the
scheduling priority of the current process (or task). See it as an
interface to the nice() system call.
git-svn-id: svn://localhost/gambas/trunk@5866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Task.Stop now behaves correctly if the task has not been yet
actually started.
* NEW: Stopped task temporary files are automatically removed.
git-svn-id: svn://localhost/gambas/trunk@5861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Remove as much "packed" structure declaration as possible, to
prevent possible bugs on ARM architecture.
git-svn-id: svn://localhost/gambas/trunk@5860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: ImageEditor: Fix a crash that occurs after something having pasted.
[EXAMPLES]
* NEW: Md2Model example has been redesigned. It now displays a lot of
models between six different ones.
[INTERPRETER]
* BUG: Fix a crash when an error is raised while the startup class is not
ready.
[GB.GEOM]
* BUG: Fix the conversion from Point/PointF to Float that internally uses
the Abs() function.
[GB.GTK]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.OPENGL.SGE]
* NEW: The component sources are now located inside the gb.opengl
directory.
* NEW: The component interface has been redesigned.
[GB.QT4]
* NEW: Visible trayicons prevent the eventloop from stopping.
[GB.QT4.OPENGL]
* BUG: The OpenGL clear color is now taken into account when clearing the
area before calling the Draw event handler.
git-svn-id: svn://localhost/gambas/trunk@5836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Complete the french translation.
[INTERPRETER]
* BUG: Class reimplementation of Abs() now can return an object or a
floating-point number.
[GB.COMPLEX]
* BUG: Abs() on a Complex returns a Float.
[GB.GEOM]
* BUG: Abs() on a Point or a PointF returns a Float.
[GB.GSL]
* BUG: Abs() on a Complex returns a Float.
git-svn-id: svn://localhost/gambas/trunk@5835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Support for inequality operators in the operator interface.
* NEW: The Sgn() function can be implemented by the operator interface.
[GB.GMP]
* NEW: BigInt now supports inequality operators.
* NEW: New methods: Odd(), Even()
* NEW: Logical operators as static methods: And, Or, Xor, Not.
* NEW: Bit manipulation as static methods: BSet, BClr, BChg, BTst.
git-svn-id: svn://localhost/gambas/trunk@5828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix Abs() when that operator is implemented at class level, so that
it returns an object and not necesarrily a floating point value.
[GB.GMP]
* NEW: New component based on the Gnu Multiple Precision Arithmetic
Library. Only big integers (BigInt class) are partially implemented at
the moment.
git-svn-id: svn://localhost/gambas/trunk@5826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix a possible false error when using LINE INPUT on non-blocking
streams.
[GB.FORM]
* NEW: LCDLabel.Value is a new property that is a synonymous of the Text
property for numerical values.
git-svn-id: svn://localhost/gambas/trunk@5819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Continue on fixing "stop watching on end of file" algorithm...
git-svn-id: svn://localhost/gambas/trunk@5818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not stop watching when reading up to a specified number of bytes.
git-svn-id: svn://localhost/gambas/trunk@5816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Disable read watch when reading a stream fails for any reason: i/o
error, end-of-file...
git-svn-id: svn://localhost/gambas/trunk@5811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: ImageEditor: The image size is displayed wen the mouse cursor is
outside of the view. Many bug fixes. The magic wand has been implemented.
JIT compiler is used to speed-up the routine.
[GB.CLIPPER]
* NEW: Clipper.OffsetPolygons has been renamed as Clipper.Offset.
* NEW: Clipper.Simplify and Clipper.Clean methods have been implemented.
[GB.DESKTOP]
* NEW: DesktopFile.Run() method now returns the created process object.
[GB.IMAGE]
* NEW: Color.Distance() is a new method that returns the RGBA distance
between two colours as a floating point value between 0.0 and 1.0.
git-svn-id: svn://localhost/gambas/trunk@5792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Process.Ignore() is a new method that tells the interpreter to not
wait for the process end. If the interpreter exits, that process is then
automatically killed.
git-svn-id: svn://localhost/gambas/trunk@5791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Process management is now reliable against processes killed and
started during process event handlers.
git-svn-id: svn://localhost/gambas/trunk@5790 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
* NEW: Add a menu item in the "Debug" menu to define ine one click if an
embedded HTTP server must be used.
* NEW: The 'gb.httpd' component can be checked explicitely.
* BUG: Fix the local variable view when they are displayed in columns.
[WIKI CGI SCRIPT]
* NEW: The indexes are more compact now.
[INTERPRETER]
* NEW: The option '-H' is assumed if the project depends on the 'gb.httpd'
component explicitely.
[GB.FORM]
* BUG: Balloon: Fix the bubble drawing routine.
* NEW: The GB_STOCK_DEBUG environment variable must be used now instead of
the GB_STOCK variable.
[GB.HTTPD]
* BUG: Many fixes in CGI handling if the project is in debugging mode.
* NEW: Replace "thttpd" strings by "gb.httpd".
* NEW: Simplify the default HTML error page.
* NEW: If the GB_HTTPD_DEBUG environment variable is set to "1", then all
HTTP server debugging messages are printed to the standard error.
Otherwise, nothing is printed.
git-svn-id: svn://localhost/gambas/trunk@5769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: When the 'gb.web' component is selected, a new option is available
in the project property dialog: "Run in an embedded HTTP server".
(INTERPRETER]
* NEW: GB.System.Debug() is a new API that allows to know if the
interpreter is run in debugging mode.
[GB.DEBUG]
* NEW: The debugger tells the IDE when its prompt is the first one.
[GB.HTTPD]
* NEW: Reset locale to "C" before running the http server.
* BUG: The CGI "SCRIPT_NAME" variable is set to "/".
* NEW: The default CGI timeout is now 10 minutes.
* NEW: Behave accurately when run in debugging mode : only one CGI script
at a time is allowed.
* NEW: When run in debugging mode, there is no CGI timeout.
git-svn-id: svn://localhost/gambas/trunk@5765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GB.ReturnSingle() is a new API that allows to return a Single from a
method or property implementation routine.
[GB.NET.POP3]
* NEW: Pop3Client has a new Remove() method to delete a message from its
index. Pop3Client.Remove(n) is just a synonymous for
Pop3Client[n].Delete.
[GB.OPENAL]
* NEW: New component for the OpenAL 3D audio library. Work in progress...
[GB.OPENGL]
* BUG: Fix a possible crash in GL.GenTextures(). I guess that bug will have
to be fixed in other equivalent routines.
git-svn-id: svn://localhost/gambas/trunk@5753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: UnBase64() works correctly now. It does not add extra null bytes
anymore.
git-svn-id: svn://localhost/gambas/trunk@5752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Enumeration objects are immediately freed when the enumeration is
stopped.
git-svn-id: svn://localhost/gambas/trunk@5750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MATCH is a new operator that automatically load the gb.pcre
component to implement PCRE pattern matching. The syntax is the same as
the LIKE operator.
[COMPILER]
* NEW: Add a new MATCH operator.
[GB.FORM]
* BUG: The directory contents size task does not abort anymore when
accessing an unreadable files or directory. It now ignore them.
* NEW: When errors are raised while browsing the contents of a directory,
the file properties dialog display them is a new tab.
[GB.PCRE]
* NEW: Create an API interface for allowing other components to use PCRE
regular expressions.
git-svn-id: svn://localhost/gambas/trunk@5730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the frame position when dragging a control from the toolbar on
a container.
* NEW: The project file properties dialog is now based on the new
FileProperties control.
[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
register cleanup routines that are called when an error is raised between
the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.
[INFORMER]
* BUG: The value of Float constants is now correctly dumped in *.info
files.
[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.
[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where
the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where
the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where
the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory
where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file
extension.
[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a
specific file or directory. It automatically computes the size of
directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its
layout.
* NEW: The stock icon map now can declare specific icons for specific
widget themes.
[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.
[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.
[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as
Editor.LineNumberOffset.
git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: A stream redirected through the 'Begin' method checks that stream is
ready for writing only when the 'Send' method is called. Between the
'Begin' and 'Send' calls, the PRINT and WRITE instructions will always
succeed.
git-svn-id: svn://localhost/gambas/trunk@5723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: MediaPlayer: Display the name of the device, not just its system
path.
[INTERPRETER]
* BUG: In File.Load(), workaround virtual files (like those located in
'/sys') whose official size is not their real size.
git-svn-id: svn://localhost/gambas/trunk@5712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't crash when calling a dynamic _call special method in a static
context. Raise an error instead.
git-svn-id: svn://localhost/gambas/trunk@5707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not search for Application_Error if the project startup class
has not be loaded yet.
[GB.GUI.BASE]
* NEW: Typing keys inside an IconView should not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@5697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The Fractal example now uses eight background tasks to draw the
fractal.
[GB.IMAGE]
* NEW: Image.Pixels is a new property that allows to return the image
pixels as an integer array, and to set the image pixels from an integer
array.
git-svn-id: svn://localhost/gambas/trunk@5687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Correctly handle functions with a variable number of arguments when
an array conversion occurs during argument parsing.
* BUG: The debugger now correctly displays and modifies arguments of
functions having a variable number of arguments.
[GB.DEBUG]
* BUG: The debugger now correctly displays and modifies arguments of
functions having a variable number of arguments.
git-svn-id: svn://localhost/gambas/trunk@5686 867c0c6c-44f3-4631-809d-bfa615b0a4ec