Commit graph

3114 commits

Author SHA1 Message Date
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
2b0c757410 [GB.COMPLEX]
* BUG: Correctly implement arithmetic operators.


git-svn-id: svn://localhost/gambas/trunk@5041 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 14:11:59 +00:00
Benoît Minisini
8dd0b1dd93 [INTERPRETER]
* BUG: The GB.GetFunction() API now correctly returns static functions.


git-svn-id: svn://localhost/gambas/trunk@5040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 10:07:29 +00:00
Benoît Minisini
684e7bbfb5 [GB.SIGNAL]
* NEW: Rewrote the component to use the signal management routines included 
  in the interpreter.


git-svn-id: svn://localhost/gambas/trunk@5039 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-14 09:53:03 +00:00
Adrien Prokopowicz
fcf0e8bf9b [GB.XML]
* BUG: Fix prefix management on elements.

git-svn-id: svn://localhost/gambas/trunk@5038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-13 11:39:22 +00:00
Adrien Prokopowicz
02b50b1267 [GB.XML]
* NEW: Adds a Serialize() static method in XmlNode that serializes the given text.
* BUG: Correctly handle prefix when parsing a document.
* BUG: XmlWriter now correctly serializes the text and attribute values.
* BUG: The XmlDocument constructor now correctly raises an error message instead of crashing with signal #6.

git-svn-id: svn://localhost/gambas/trunk@5037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 21:58:13 +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
Adrien Prokopowicz
a4a9decae9 [GB.XML]
* BUG: Try to fix a compilation error on some systems.

git-svn-id: svn://localhost/gambas/trunk@5035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 15:25:27 +00:00
Adrien Prokopowicz
ad0519f583 [GB.XML]
* BUG: Fix the local, qualified and prefix naming, as mentioned in the W3C specification.
* BUG: Fix the XmlReader.Depth property management when enumerating the attributes of a node.

git-svn-id: svn://localhost/gambas/trunk@5034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 12:38:39 +00:00
François Gallo
e322f8dff4 [CONFIGURATION]
* NEW: Add a search path for OS X. 


git-svn-id: svn://localhost/gambas/trunk@5033 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 11:03:33 +00:00
Adrien Prokopowicz
99bd6d0ff5 [GB.XML]
* BUG: Fix a segmentation fault in XmlReader freeing.

git-svn-id: svn://localhost/gambas/trunk@5032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 21:53:44 +00:00
Benoît Minisini
147983a533 [GB.FORM]
* NEW: Replace GridView.Rows.GetSelected() method by GridView.Rows.
  Selection property.


git-svn-id: svn://localhost/gambas/trunk@5031 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 16:26:34 +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
94a9df9c75 [GB.NET]
* NEW: SerialPort: Does the polling differently when detecting signal 
  changes.
* NEW: SerialPort.Open() method now takes an optional argument to define 
  the polling delay in milliseconds. It is 50ms by default.


git-svn-id: svn://localhost/gambas/trunk@5029 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 14:52:01 +00:00
Fabien Bodard
6125fa92ea [GB.FORM]
* NEW: New function in GridView Rows, GetSelected, that return an integer array with the selected rows.




git-svn-id: svn://localhost/gambas/trunk@5028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 14:30:43 +00:00
Benoît Minisini
c836cf8c2c [GB.QT4]
* BUG: Add a font setting routine in the gb.qt interface.

[GB.QT4.EXT]
* BUG: Fix the TextEdit.Format.Font property.


git-svn-id: svn://localhost/gambas/trunk@5027 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-10 23:57:38 +00:00
Benoît Minisini
11e10763c8 [GB.GTK]
* BUG: Correctly check GTK+ version.
* BUG: gdk_device_get_source() does not exist before GTK+ 2.22.


git-svn-id: svn://localhost/gambas/trunk@5026 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-10 14:28:25 +00:00
Adrien Prokopowicz
2df69cad2d [GB.XML]
* BUG: Fix some memory errors and leaks.

git-svn-id: svn://localhost/gambas/trunk@5025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-10 09:53:13 +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
5285c3e83b [GB.QT4.EXT]
* BUG: Fix highlighting of saved lines.


git-svn-id: svn://localhost/gambas/trunk@5023 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 14:29:26 +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
fc6c3a22bd [INTERPRETER]
* BUG: The Gosub stack pointer is now correctly reset when a error has been 
  intercepted by the Catch instruction.


git-svn-id: svn://localhost/gambas/trunk@5020 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-09 01:33:34 +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
e46e481908 [GB.GTK]
* BUG: Window.ScreenY does not take the menu bar into account anymore, as 
  in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@5018 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-08 18:39:46 +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
f457c9608c [CONFIGURATION]
* BUG: Fix the component template script.

[GB.FORM]
* BUG: SidePanel controls now behave correctly when they are put inside a 
  TabStrip.

[GB.GMP]
* NEW: Skeleton for a new component based on the GNU "big numbers" GMP 
  library.

[GB.GTK]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.
* BUG: Fix Control.Raise() and Control.Lower() method when the parent is a
  TabStrip.

[GB.QT4]
* NEW: TabStrip.FindIndex() is a new method that returns the index of 
  parent tab of a specific child.

[GB.QT4.EXT]
* NEW: Editor: The current line is now visible when using a dark highlight 
  theme.


git-svn-id: svn://localhost/gambas/trunk@5016 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-07 14:04:55 +00:00
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