Commit graph

3135 commits

Author SHA1 Message Date
Benoît Minisini
b995e09e22 [INTERPRETER]
* BUG: Fix incorrect optimizations used by the _operator interface 
  management routines.


git-svn-id: svn://localhost/gambas/trunk@5015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 22:41:05 +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
a7f59c80df [GB.GTK]
* BUG: Fix TreeView, ListView and ColumnView multiple selection.


git-svn-id: svn://localhost/gambas/trunk@5013 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 21:26:20 +00:00
Benoît Minisini
cc0fd6cec6 [INTERPRETER]
* BUG: Comparison operators now correctly check for null objects when 
  comparing objects having the _operator interface.


git-svn-id: svn://localhost/gambas/trunk@5012 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 20:14:41 +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
Adrien Prokopowicz
f01570446e [GB.XML]
* BUG: Fix the XmlReader.Node.IsEmptyElement property.

git-svn-id: svn://localhost/gambas/trunk@5010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 19:04:28 +00:00
Emil Lenngren
6fcc0f81d4 [GB.JIT]
* BUG: Local variables are not forgotten anymore after a Catch.
* BUG: Ctrl variables in GoSubs are now properly released.


git-svn-id: svn://localhost/gambas/trunk@5009 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-05 17:02:49 +00:00
Emil Lenngren
37698f0452 [GB.JIT]
* BUG: Fix For Each loops.


git-svn-id: svn://localhost/gambas/trunk@5008 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-04 12:08:39 +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
François Gallo
7947dd69f9 [CONFIGURATION]
* NEW: Add support for the MacPorts distribution. 
* BUG: Fix configuration issue for gb.qt.ext

[GB.CRYPT]
* NEW: it is now available for Mac OS X 10.8

[GB.QT4]
* BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. 



git-svn-id: svn://localhost/gambas/trunk@5004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-31 18:24:47 +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
827a44ac8f [INTERPRETER]
* BUG: Use MAP_ANON instead of MAP_ANONYMOUS. No need to make the 
  distinction between Linux and *BSD anymore!


git-svn-id: svn://localhost/gambas/trunk@5000 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-30 18:48:19 +00:00
François Gallo
730bf253b7 [INTERPRETER]
* BUG: Fix compilation on Mac OS X 10.8



git-svn-id: svn://localhost/gambas/trunk@4999 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-30 17:54:28 +00:00
Benoît Minisini
96df983246 [INTERPRETER]
* BUG: Do not try to handle signals if there is no more signal handlers.


git-svn-id: svn://localhost/gambas/trunk@4998 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-30 11:46:12 +00:00
Benoît Minisini
daf3a53a4b [INTERPRETER]
* BUG: Fix Error.Propagate().

[GB.EVAL]
* NEW: Highlight TODO/FIXME/NOTE commentaries like help commentaries.


git-svn-id: svn://localhost/gambas/trunk@4997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-29 15:50:27 +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
Adrien Prokopowicz
d196bc0829 [GB.XML]
* BUG: Reading Special characters in text nodes don't crash anymore.

git-svn-id: svn://localhost/gambas/trunk@4991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 21:07:50 +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
Adrien Prokopowicz
24f0205b30 [GB.XML]
* BUG: Fixed a memory leak when using XmlDocument.Save()
* BUG: Fix the un-escape parsing method, it don't crash anymore if there the parsed string is less than 3 bytes length.

git-svn-id: svn://localhost/gambas/trunk@4988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 11:07:38 +00:00
Benoît Minisini
d0069fd324 [GB.FORM]
* BUG: Fix icon theme search for LXDE and XFCE.


git-svn-id: svn://localhost/gambas/trunk@4987 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-24 20:11:33 +00:00
Benoît Minisini
4911532f96 [GB.EVAL.HIGHLIGHT]
* BUG: HTML highlighting: Correctly detect <head>,<body> and <html> markups 
  in all cases.

[GB.FORM]
* NEW: Stock: Test more possible configuration files for LXDE.


git-svn-id: svn://localhost/gambas/trunk@4986 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-24 18:14:25 +00:00
Adrien Prokopowicz
840f1bbf0a [GB.XML]
* NEW: XmlDocument now internally inherits Node, so that they can contain other nodes than only a root element (that is now optional), as specified in the W3C specifications.
* BUG: Sloved a little typo error in the XmlElement.PreviousElement property.
* BUG: The CDATA node now correctly handles special characters.
* OPT: Some little optimizations in the ToString() (and similar) methods.


git-svn-id: svn://localhost/gambas/trunk@4985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-23 18:28:15 +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
f47d95e785 [GB.QT4.EXT]
* BUG: Editor: Fix how spaces at end-of-line are drawn.


git-svn-id: svn://localhost/gambas/trunk@4982 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 18:14:33 +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
6516f5670c [INTERPRETER]
* OPT: Optimized GOSUB from an idea of Emil Lenngren.


git-svn-id: svn://localhost/gambas/trunk@4979 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-22 00:04:56 +00:00
Benoît Minisini
eab59c1482 [INTERPRETER]
* BUG: Fix conversion from pointer to structure.


git-svn-id: svn://localhost/gambas/trunk@4978 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 22:01:50 +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
4f8389e766 [INTERPRETER]
* NEW: You can convert a pointer to a static structure now. It is useful 
  when an extern function has a 'struct XXX **' argument.


git-svn-id: svn://localhost/gambas/trunk@4974 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 11:16:57 +00:00
Benoît Minisini
1c96e1dd0d [GB.FORM]
* NEW: The LXDE icon theme is correctly detected now.

[GB.DESKTOP]
* NEW: Better support for the LXDE desktop.


git-svn-id: svn://localhost/gambas/trunk@4973 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 02:44:02 +00:00
Benoît Minisini
e65f738f54 [INTERPRETER]
* BUG: Really compile when FFI support is disabled!


git-svn-id: svn://localhost/gambas/trunk@4972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 00:27:39 +00:00
Benoît Minisini
712fca7970 [GB.FORM]
* NEW: Try to support the Mate desktop in the Stock class.


git-svn-id: svn://localhost/gambas/trunk@4971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-20 13:11:20 +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
186bb8d5e2 [INTERPRETER]
* BUG: Make the interpreter compile when FFI has been disabled.


git-svn-id: svn://localhost/gambas/trunk@4969 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-19 19:27:28 +00:00
Adrien Prokopowicz
a20e032798 [GB.XML]
* BUG: No more memory leak when the XmlDocument.ToString() throws an error.
* BUG: When throwing an error, the XSLT parser returns anyway a valid (but empty) document.

git-svn-id: svn://localhost/gambas/trunk@4968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-18 23:20:02 +00:00
Adrien Prokopowicz
64b7d351c7 [GB.XML]
* OPT: Defined a few variables and parameters as const.

git-svn-id: svn://localhost/gambas/trunk@4967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-18 22:59:18 +00:00
Adrien Prokopowicz
ee6825874c [GB.XML]
* BUG: The document.FromString() method does not crashes anymore if no root element was found.

git-svn-id: svn://localhost/gambas/trunk@4966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-18 22:43:35 +00:00
Adrien Prokopowicz
49718d9e08 [GB.XML]
* NEW: Added user data management in nodes. 

git-svn-id: svn://localhost/gambas/trunk@4965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-17 21:16:04 +00:00
Benoît Minisini
a933a7e238 [GB.GTK]
* BUG: The child search method now takes clientX and clientY into account.
  Consequently, clicking on TabStrip tab buttons work correcty again.


git-svn-id: svn://localhost/gambas/trunk@4964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-17 20:38:34 +00:00