Commit graph

1288 commits

Author SHA1 Message Date
Benoît Minisini
091b94b1ed [INTERPRETER]
* NEW: Allow components to access the interpreter API through a pointer and 
  not a full structure. It is a little bit slower (one more indirection),
  but it uses less memory: one pointer instead of about 180.

[GB.GTK]
* NEW: Use the indirect API access.

[GB.QT4]
* NEW: Use the indirect API access.

[GB.TASK]
* NEW: Use the indirect API access.
* NEW: Task now is now a stream that can read the standard output of the 
  background task.
* NEW: Task now raises the Read event when the background task has printed
  something on its standard output.
* NEW: Task now raises the Error event when the background task has printed
  something on its standard error output. The event handler receives the
  data in its first argument.

[GB.XML.RPC]
* BUG: Some english fixes in some error messages.


git-svn-id: svn://localhost/gambas/trunk@5077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-25 15:13:39 +00:00
Benoît Minisini
4ab382159a [GB.FORM]
* NEW: ScrollArea.Shadow is a new static property to define if inner 
  shadows are visible or not. By default they are not.

[GB.GTK]
* BUG: Try to make gb.gtk works with old versions of GTK+ again.


git-svn-id: svn://localhost/gambas/trunk@5075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-24 15:01:17 +00:00
Sebastian Kulesz
49a8e682bc [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

[GB.FORM.MDI]
* NEW: Spanish translation updated.

[GB.DB.FORM]
* NEW: Spanish translation updated.

[GB.FORM.DIALOG]
* NEW: Spanish translation updated.



git-svn-id: svn://localhost/gambas/trunk@5073 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-23 20:38:50 +00:00
Benoît Minisini
9535e45fc5 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.


git-svn-id: svn://localhost/gambas/trunk@5071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-23 07:19:18 +00:00
Benoît Minisini
f2abd7c95f [DEVELOPMENT ENVIRONMENT]
* OPT: Browsing the project is faster now.
* NEW: Display the number of matches after a project browse.

[GB.DB.FORM]
* NEW: DataSource now raises the BeforeSave event just before writing a 
  Result object to the database. The event handler receives the Result as 
  argument so that you can modify it.
* BUG: When inserting a new record in a DataView, serial fields are not
  editable anymore.
* BUG: Correctly go to the last line of a DataView when its DataSource 
  enters creation mode.

[GB.GTK]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.
* BUG: MouseDrag events are correctly raised in all cases now.
* BUG: Activate the window correctly after a debugger restart.

[GB.QT4]
* NEW: Style.Name is a new property that returns the name of the current 
  widget theme.


git-svn-id: svn://localhost/gambas/trunk@5070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-22 22:12:35 +00:00
Benoît Minisini
9d1c8225dc [CONFIGURATION]
* NEW: Standardize the help text of all command-line tools.

[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: library executables are installed with the '.gambas' 
  extension, but not the standard executables, where the extension is 
  removed.
* BUG: Packager: ArchLinux packager now compiles the project correctly.

[GB.FORM]
* NEW: Draw SidePanel little arrows differently.


git-svn-id: svn://localhost/gambas/trunk@5061 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-21 01:03:52 +00:00
Benoît Minisini
52b3040e07 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to avoir Application.Busy flickering in some dialogs.

[EXAMPLES]
* NEW: New Tablet event inspired by a project made by Ricardo Díaz Martín.

[GB.DRAW]
* NEW: Paint.DrawImage() takes a new optional argument that defines the 
  opacity of the drawing, between 0 and 1.

[GB.FORM]
* NEW: ScrollArea.Tablet is a new property that allows it to catch tablet 
  events.

[GB.GTK]
* BUG: Support for tablet events.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.
* BUG: DrawingArea.Tablet now works correctly when the DrawingArea is not
  cached.

[GB.QT4]
* BUG: Mouse events from tablet now get accurate button information.
* BUG: Make mouse events in gb.gtk and gb.qt3 behave the same way.
* NEW: Mouse.State is a new property that return the state of all mouse 
  buttons as specified by the current mouse event.
* NEW: Mouse.Button now only returns the index of the button that triggered 
  the mouse event.
* BUG: Fix a typo in the name of the Pointer.YTilt property.


git-svn-id: svn://localhost/gambas/trunk@5057 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-19 13:01:57 +00:00
Benoît Minisini
35368a3648 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix profiling of Eval() calls.

[INTERPRETER]
* NEW: GB.ReturnBorrow() is a new API to temporarily borrow the return 
  value.
* NEW: GB.ReleaseBorrow() is a new API to release the return value borrowed
  by the previous function, without releasing it.

[GB.DEBUG]
* BUG: Fix profiling of Eval() calls.

[GB.V4L]
* BUG: Fix a compilation warning.


git-svn-id: svn://localhost/gambas/trunk@5053 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-18 13:06:58 +00:00
Benoît Minisini
0388831b8c [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash in form editor arrangement icons managemnt.

[GB.GTK]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.
* BUG: Try to activate all XInput devices when the DrawingArea.Tablet
  property is set.

[GB.QT4]
* NEW: DrawingArea.UseTablet has been renamed as DrawingArea.Tablet.
* NEW: Pointer.ScreenX and Pointer.ScreenY are two new properties that 
  replace Pointer.X and Pointer.Y. Pointer.X and Pointer.Y are yet there, 
  but now they return the pointer position relative to the control 
  receiving the event.


git-svn-id: svn://localhost/gambas/trunk@5051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-17 15:53:52 +00:00
Benoît Minisini
52929cd0e6 [GB.FORM]
* NEW: ScrollArea, GridView and IconView got an automatic inner shadow 
  where the view area can be scrolled.

[GB.FORM.MDI]
* NEW: Some little redesign of the toolbar configuration dialog.


git-svn-id: svn://localhost/gambas/trunk@5050 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-17 00:55:31 +00:00
Benoît Minisini
e9edef72fd [CONFIGURATION]
* NEW: Enable silent compilation.

[DEVELOPMENT ENVIRONMENT]
* NEW: When opening the startup class for the first time, go directly to
  the Main function.
* NEW: Support for READ and LINE INPUT instructions in the automatic local 
  variable declaration.

[GB.FORM]
* NEW: TabPanel can get focus now, and handle keyboard shortcuts.

[GB.QT4]
* BUG: Get rid of an old compilation warning.


git-svn-id: svn://localhost/gambas/trunk@5047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-16 16:37:03 +00:00
Benoît Minisini
c8f0242632 [DEVELOPMENT ENVIRONMENT]
* BUG: No margin for the output console.
* NEW: Better support of subroutines in automatic variable declaration.


git-svn-id: svn://localhost/gambas/trunk@5046 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 22:17:22 +00:00
Benoît Minisini
45af334364 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for bookmarks in all text editors.

[GB.QT4.EXT]
* NEW: Editor: Always display a margin wide enough to display breakpoint or 
  bookmark signs.


git-svn-id: svn://localhost/gambas/trunk@5045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 21:26:45 +00:00
Benoît Minisini
edf8b8f34a [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display a thumbnail for images too large or too high.
* NEW: Implement bookmarks for code editor only.
* NEW: Automatic local variable declaration is disabled by default.

[INTERPRETER]
* NEW: GB.Deprecated() is a new interpreter API that displays a warning
  message for deprecated functions at runtime. When the project is 
  debugged, an error is raised instead.

[GB.FORM]
* NEW: Deprecate Stock.List which has been replaced by Stock.Icons.

[GB.QT4]
* BUG: Fix the case of Action.Tooltip property name.

[GB.QT4.EXT]
* NEW: Editor: Support for bookmarks.
* OPT: Editor: Do not compute the character width table each time the font
  changes. Use a cache instead.
* NEW: Editor.BookmarkPicture is a new property for defining the picture 
  used for displaying bookmarks.
* NEW: Editor.FindNextBreakpoint() has been deprecated and replaced by the
  Editor.Breakpoints property, that returns an integer array of all lines
  having a breakpoint.
* NEW: Editor.Bookmars is a new property that returns an integer array of 
  all lines having a bookmark.
* NEW: Editor.CurrentLine is a new property for defining the current 
  executed line. It replaces Editor[].Current.
* NEW: Editor[].Bookmark is a new boolean property that defines if a 
  specific line has a bookmark.


git-svn-id: svn://localhost/gambas/trunk@5044 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-15 17:02:22 +00:00
Benoît Minisini
62e84f1f3a [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic local variable declaration now supports OPEN, SHELL, EXEC,
  RAISE, PIPE, MEMORY and LOCK instructions; NEW operator; FOR ... TO 
  loops; FOR EACH ... IN loops; [ ... ] array and collection constructor.


git-svn-id: svn://localhost/gambas/trunk@5043 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 23:49:55 +00:00
Benoît Minisini
2962c8323b [DEVELOPMENT ENVIRONMENT]
* NEW: Initial implementation of automatic local variable declaration.


git-svn-id: svn://localhost/gambas/trunk@5042 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 17:56:24 +00:00
Benoît Minisini
a601dc8028 [DEVELOPMENT ENVIRONMENT]
* BUG: Using drag & drop on the project treeview now correctly initializes 
  folder contents.
* NEW: Make the packager wizard dialog smaller for small screens.


git-svn-id: svn://localhost/gambas/trunk@5036 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 15:34:12 +00:00
Benoît Minisini
361f89dd57 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a directory in the project treeview should not segfault 
  anymore.
* BUG: Moving a source file now correctly refreshes the project treeview.
* BUG: Project treeview popup menu now is correctly filled on directories.

[GB.QT4]
* BUG: TreeView does not raise keyboard events anymore during renaming 
  mode.


git-svn-id: svn://localhost/gambas/trunk@5030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 15:08:23 +00:00
Benoît Minisini
de959789e0 [GB.FORM.MDI]
* NEW: Little design fix in the shortcut configuration dialog.

[GB.GTK]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.

[GB.QT4]
* NEW: Management of tablet events. At the moment only the DrawingArea 
  control can catch them if its UseTablet property is TRUE. In that case,
  standard mouse events are raised, and the properties of the tablet event 
  are stored in the new Pointer class. All that is not definitive.


git-svn-id: svn://localhost/gambas/trunk@5024 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 23:39:29 +00:00
Benoît Minisini
b3810b7557 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.
* NEW: An option for hiding editor folding symbols.


git-svn-id: svn://localhost/gambas/trunk@5022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 10:33:31 +00:00
Benoît Minisini
f1cacc6caa [GB.QT4.EXT]
* NEW: Editor: Highlight saved modified lines and unsaved modified lines 
  differently.


git-svn-id: svn://localhost/gambas/trunk@5021 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 09:04:41 +00:00
Benoît Minisini
143ce94b6a [DEVELOPMENT ENVIRONMENT]
* BUG: If a library or a component exports a form, then the special 
  properties ('_IsForm' and '_HiddenControls') are not taken into account.


git-svn-id: svn://localhost/gambas/trunk@5019 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-08 19:36:15 +00:00
Benoît Minisini
d1eef06cf8 [DEVELOPMENT ENVIRONMENT]
* NEW: Translate all parts of error messages.

[INTERPRETER]
* NEW: Add an explicit error message when trying to override a class that 
  has already been used as a parent for another class.


git-svn-id: svn://localhost/gambas/trunk@5017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 20:21:02 +00:00
Benoît Minisini
aab10df306 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix insertion of predefined environment variables in the project 
  property dialog.


git-svn-id: svn://localhost/gambas/trunk@5014 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 21:34:51 +00:00
Benoît Minisini
3ea09ada8a [DEVELOPMENT ENVIRONMENT]
* BUG: Creating a component package now works correctly when the component 
  project has control icons.


git-svn-id: svn://localhost/gambas/trunk@5011 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 19:52:07 +00:00
Charlie Reinl
a234a80bfe BUG : sorry for a lazy weelmouse copy
git-svn-id: svn://localhost/gambas/trunk@5007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-03 19:53:53 +00:00
Charlie Reinl
72d3a83c19 IDE:Bug ' this hack is because I can not load my projects into the IDE any more
' seames to be a problem with requirement 
  ' the worst is, once loaded they work well
  ' Charlie 03/08/2012  (after rev.5004)

M       .src/Component/CComponent.class

git-svn-id: svn://localhost/gambas/trunk@5006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-03 19:25:13 +00:00
Charlie Reinl
64193b185d git-svn-id: svn://localhost/gambas/trunk@5005 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2012-08-03 19:18:38 +00:00
Benoît Minisini
5865410b16 [DEVELOPMENT ENVIRONMENT]
* NEW: Unchecking a component in the project property dialog now shows a 
  message box that allows to automatically uncheck all other components
  that depend on it. It does not work with libraries. You must uncheck them
  by hand.
* BUG: Fix some error messages and french translations.

git-svn-id: svn://localhost/gambas/trunk@5003 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 10:29:01 +00:00
Benoît Minisini
fd0e20a44a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix form editor selection frame when scrolling.
* BUG: Fix crash when hitting CTRL+A in form editor.


git-svn-id: svn://localhost/gambas/trunk@5002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 08:58:37 +00:00
Benoît Minisini
7ed09707c0 [DEVELOPMENT ENVIRONMENT]
* NEW: New tool menu entry that sends a source archive of the projet by 
  e-mail. It is based on the Desktop.SendMail() method.


git-svn-id: svn://localhost/gambas/trunk@5001 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-30 20:05:38 +00:00
Benoît Minisini
174c2747f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a circular reference.

[INTERPRETER]
* BUG: Fix error handling when freeing objects.

[GB.FORM]
* BUG: Stock.Themes now correctly checks that ~/.icons exists.


git-svn-id: svn://localhost/gambas/trunk@4996 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-28 12:28:15 +00:00
Benoît Minisini
76c031f1f8 [GB.FORM]
* BUG: Fix LXDE icon theme support.
* BUG: Take "~/.icons" into account in the Stock.Themes property.


git-svn-id: svn://localhost/gambas/trunk@4995 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 16:15:43 +00:00
Benoît Minisini
3c6c9260cb [GB.FORM]
* NEW: GridView: Support for column titles with multiple lines.


git-svn-id: svn://localhost/gambas/trunk@4994 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-27 00:30:16 +00:00
Benoît Minisini
e747473a90 [DEVELOPMENT ENVIRONMENT]
* NEW: Updated spanish translation.
* NEW: Controls having translatable properties (like 'Text') now get a new 
  virtual "Translate" property. If this property is FALSE, then the
  translatable properties will not be translated.
* BUG: Fix some spurious errors when refreshing classes and symbols 
  descriptions.

[GB.FORM]
* BUG: TabPanel buttons are correctly refreshed when their picture change.
* NEW: Remove the Stock.Theme property. Now the Application.Theme property
  is used directly. The content of Application.Theme can be either nothing,
  a desktop name, or a icon theme name.


git-svn-id: svn://localhost/gambas/trunk@4993 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 08:37:27 +00:00
Benoît Minisini
5b2546816c [DEVELOPMENT ENVIRONMENT]
* NEW: Hide the search list tab when it is not useful.


git-svn-id: svn://localhost/gambas/trunk@4992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-26 00:15:59 +00:00
Benoît Minisini
1157f00e94 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't remove a used method!


git-svn-id: svn://localhost/gambas/trunk@4990 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 20:29:54 +00:00
Benoît Minisini
9fc6b03718 [DEVELOPMENT ENVIRONMENT]
* NEW: Each comment anywhere in the source code beginning with 'TODO:', 
  'FIXME:', or 'NOTE:' is automatically listed in a new tab named 'Tasks' 
  in the bottom debugging panel.

[INTERPRETER]
* BUG: Env[...] does not return a constant string anymore. Anyone can 
  change the environment in the background!


git-svn-id: svn://localhost/gambas/trunk@4989 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 19:32:57 +00:00
Benoît Minisini
c831f663a1 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight KML files with HTML highlighting.
* BUG: Fix symbol scan of project classes with no parent.


git-svn-id: svn://localhost/gambas/trunk@4984 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-23 13:18:18 +00:00
Benoît Minisini
c1cbd4825a [DEVELOPMENT ENVIRONMENT]
* OPT: Project libraries analyze results are cached now.
* NEW: When a library is added to project dependencies, the other libraries
  it depends on are added too recursively. And a library cannot be removed
  if another one depends on it.
* BUG: Fix a selection error when removing a container while keeping its 
  children.


git-svn-id: svn://localhost/gambas/trunk@4983 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-23 01:54:39 +00:00
Benoît Minisini
e8d80f9f76 [GB.FORM]
* NEW: Stock.Icons property now replaces Stock.List property.
* NEW: Stock.Themes is a new property that returns the list of all icon 
  themes stored in '/usr/share/icons'.


git-svn-id: svn://localhost/gambas/trunk@4981 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 14:46:19 +00:00
Benoît Minisini
ece7ad1bf5 [DEVELOPMENT ENVIRONMENT]
* NEW: Some little GUI changes.
* BUG: Do not force the focus to the project filter, otherwise the project 
  tree is unusable.

[GB.FORM]
* NEW: Stock.Theme is a new property that allows to define the icon theme
  independently of Application.Theme.
* NEW: Both gnome and kde icon themes should be usable with any desktop 
  now.
* BUG: Icon themes based on svg files only are correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4980 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 13:57:19 +00:00
Benoît Minisini
938458a03e [CONFIGURATION]
* NEW: Switch to 3.2.90 version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of project classes that reimplements 
  another class.

[WEB SITE MAKER]
* BUG: Fix scrolling frames on Chrome.

[INTERPRETER]
* NEW: Args and Env classes are now shortcuts for Application.Args and 
  Application.Env properties.


git-svn-id: svn://localhost/gambas/trunk@4977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 20:43:10 +00:00
Benoît Minisini
e9fbb77562 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, the project icon on the right pane is 
  correctly refreshed now.

[GB.FORM]
* BUG: The Stock class now detects the Mate desktop, and use it as default 
  application theme if needed.
* NEW: The Stock class now prints debugging message if the environment
  variable GB_STOCK is set.



git-svn-id: svn://localhost/gambas/trunk@4970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-20 01:34:22 +00:00
Benoît Minisini
97718051b1 [DEVELOPMENT ENVIRONMENT]
* OPT: New optimizations in profile file size.
* NEW: PageUp and PageDown keys now work as expected in the project filter 
  box.

[INTERPRETER]
* NEW: Support for new profile file format.

[GB.DEBUG]
* OPT: New profile file format.

[GB.LIBXML]
* NEW: Make this component exclude gb.xml.

[GB.XML]
* NEW: Make this component exclude gb.libxml.


git-svn-id: svn://localhost/gambas/trunk@4961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-17 16:24:48 +00:00
Benoît Minisini
1d0ebd5999 [DEVELOPMENT ENVIRONMENT]
* NEW: The project tree filter box now tries to keep the focus.
* NEW: Hitting ENTER in the project filter box opens the current selected 
  file.
* NEW: Using arrows keys in the project filter box now moves the project
  tree cursor.
* NEW: CTRL+L now sets the focus back to the project filter box.
* NEW: Hitting ESC in the project filter box now resets the filter.
* NEW: Add support for gb.gsl component in the project creation dialog.

[INTERPRETER]
* NEW: Support for floating-point constants.
* BUG: The equality operators of the _operator interface now can return -1
  when a datatype is not supported.

[GB.COMPLEX]
* NEW: Remove methods that are implemented by the _operator interface.

[GB.QT4]
* OPT: Load clipboard format list only if the clipboard has changed.

[GB.GSL]
* NEW: Matrix can be compared with real or complex numbers. The number is
  then multiplied by the identity matrix before doing the comparison.


git-svn-id: svn://localhost/gambas/trunk@4958 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-16 16:30:55 +00:00
Benoît Minisini
6931d13491 [GB.GSL]
* OPT: Optimize Complex arithmetic by avoiding unneeded object creations.


git-svn-id: svn://localhost/gambas/trunk@4940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 20:33:26 +00:00
Benoît Minisini
c1212ac95e [INTERPRETER]
* OPT: Remove a useless test in the macro that returns the class of an 
  object.
* OPT: Some little optimization in some type checks.


git-svn-id: svn://localhost/gambas/trunk@4939 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 19:57:43 +00:00
Benoît Minisini
a3966cf195 [DEVELOPMENT ENVIRONMENT]
* BUG: Array of classes exported by a component are now correctly handled
  by the component interface analyzer.

[INTERPRETER]
* BUG: The _operators interface now correctly takes into account the
  "Float - Object" case.

[GB.GSL]
* NEW: Redesign of the Polynomial class. Now it implements a polynomial 
  that can switch between real and complex coefficients transparently.
* NEW: The ComplexPolynomial class has been removed.


git-svn-id: svn://localhost/gambas/trunk@4929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 00:13:00 +00:00
Benoît Minisini
fa552f69c1 [DEVELOPMENT ENVIRONMENT]
* NEW: New gb.complex component

[INTERPRETER]
* BUG: Automatic array conversion now works with not yet loaded array 
  classes.

[GB.COMPLEX]
* NEW: New component that implements a rudimentary management of complex 
  numbers. This component is automatically loaded if a complex number
  constant is encountered and no loaded component can already handle 
  complex numbers.


git-svn-id: svn://localhost/gambas/trunk@4924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-09 15:37:42 +00:00