Commit graph

3124 commits

Author SHA1 Message Date
Benoît Minisini
43ddab7668 [GB.QT4]
* BUG: Postpone enter and leave events when a popup is displayed, like in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@4842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-17 10:56:55 +00:00
Benoît Minisini
b98a33c671 [INTERPRETER]
* BUG: If there is an error, wake up the debugger on the current stack 
  position. Return to the last encountered line break after, not before.


git-svn-id: svn://localhost/gambas/trunk@4841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-17 09:12:31 +00:00
Emil Lenngren
c08d51f483 [GB.JIT]
* NEW: More accurate error line numbering.



git-svn-id: svn://localhost/gambas/trunk@4840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-17 00:19:31 +00:00
Emil Lenngren
c59b33e1bb [GB.JIT]
* BUG: Fixed some bugs.

[INTERPRETER]
* BUG: "Read ... As String"  now correctly returns a void string instead of null, if it read an empty string.



git-svn-id: svn://localhost/gambas/trunk@4839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 23:45:57 +00:00
Adrien Prokopowicz
ec9a9d5038 [GB.XML]
* BUG: XMLReader.Node.Type now correctly returns the state of the reader instead of the type of the node. (No, there isn't any error in this sentence)

git-svn-id: svn://localhost/gambas/trunk@4838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 17:49:25 +00:00
Benoît Minisini
d94ac40f09 [GB.QT4]
* BUG: Remove debugging message.


git-svn-id: svn://localhost/gambas/trunk@4837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:29:17 +00:00
Benoît Minisini
5e0fdbfe7e [GB.FORM]
* NEW: ButtonBox use the new Style.BoxFrameWidth and Style.BoxFrameHeight
  properties to draw itself.

[GB.GTK]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* BUG: The DrawingArea draw event is raised before other internal drawing 
  events now, not after.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.

[GB.QT4]
* NEW: Style.BoxFrameWidth and Style.BoxFrameHeight are two new properties 
  that replace Style.TextBoxFrameWidth.
* NEW: Mouse.Forward is a new property that returns if Mouse.Delta is
  positive.
* NEW: Mouse.Inside() is a new method that returns if the mouse cursor is 
  inside a specific control.


git-svn-id: svn://localhost/gambas/trunk@4836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-16 01:27:32 +00:00
Adrien Prokopowicz
213343c966 [GB.XML]
* BUG: XmlReader.Node.Attributes.Count now always returns an integer.

git-svn-id: svn://localhost/gambas/trunk@4835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 19:23:01 +00:00
Benoît Minisini
5d2edb3fec [DEVELOPMENT ENVIRONMENT]
* NEW: Profiler: Add a toggle button that displays average durations.


git-svn-id: svn://localhost/gambas/trunk@4834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 14:31:50 +00:00
Emil Lenngren
f12968e5a9 [GB.JIT]
* BUG: Fix some math routines for variants.



git-svn-id: svn://localhost/gambas/trunk@4833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 11:19:16 +00:00
Adrien Prokopowicz
438116bdb3 [GB.XML]
* NEW: Text nodes now escapes their contents (like Html$()).
* BUG: TextNode.TextContent now correctly works.
* BUG: XmlElement.FromText() does not crash anymore.
* BUG: The last text node of a parsed text is now correctly added.

git-svn-id: svn://localhost/gambas/trunk@4832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 01:33:48 +00:00
Emil Lenngren
56807e5b52 [GB.JIT]
* NEW: "Extern" functions should now work hopefully, but callbacks are still not yet implemented.
* BUG: Fix conversion Class -> Variant for non-virtual classes.
* BUG: Some minor bug fixes.

[INTERPRETER]
* BUG: Load classes from JIT should work better now.



git-svn-id: svn://localhost/gambas/trunk@4831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 01:27:31 +00:00
Benoît Minisini
87b828759b [DEVELOPMENT ENVIRONMENT]
* BUG: Fix generation of action and toolbar information so that the IDE 
  does not crash anymore when having no custom toolbar definition.


git-svn-id: svn://localhost/gambas/trunk@4830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 00:33:49 +00:00
Adrien Prokopowicz
2011d69ee3 [GB.XML]
* BUG: The XMLWriter Text(), Comment(), CDATA() and PI() functions now correctly close their parent elements.

git-svn-id: svn://localhost/gambas/trunk@4829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-13 23:10:33 +00:00
Benoît Minisini
afdc949545 [GB.FORM.MDI]
* NEW: Toolbar: You can add a space element between buttons now.
* NEW: Toolbar: New layout for the configuration dialog.

[GB.GTK]
* OPT: Optimize GTK+ widget -> gb.gtk control lookup everywhere.
* BUG: Fix drag & drop management again, so that it behaves as in gb.qt4 as
  much as possible. At the moment, disable controls cannot be a drop 
  target, contrary to gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-13 20:11:32 +00:00
Tobias Boege
0a4dd6f9d2 [GB.NCURSES]
* NEW: Add ReadLine() function to Window that does the same as ncurses
  getstr(3X) but usable in all input modes
* NEW: Encapsulate Input, Cursor and Border modes into static objects
* NEW: Tidy up Color class in various places
* NEW: Specifiying color values is now done via floats instead of ints
* NEW: Remove ContainerW and ContainerH (and corresponding long forms)
  properties from Window class. It is always .Width/.Height + 2
* NEW: Rename Input.Repeater to Input.RepeatDelay
* OPT: Remove unnecessary ncurses input mode changes
* OPT: Tidy up Input and Screen code
* OPT: Reduce useless calls to input queue read callback in Screen class
* BUG: Add constant for already implemented "very visible" cursor mode
* BUG: Use opaque input module in Window.Ask()
* BUG: Note that NoDelay and Window/Screen events still not work



git-svn-id: svn://localhost/gambas/trunk@4827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-13 15:47:00 +00:00
Adrien Prokopowicz
35b390e5e1 [GB.XML.XSLT]
* BUG: No more excessive line-breaks and spaces added to the output document.

[GB.XML]
* NEW: Text nodes that only contains white characters (\n \r \t and space) are now deleted when parsing.
* BUG: (non-)indentation now correctly works on text nodes.

git-svn-id: svn://localhost/gambas/trunk@4826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 21:12:56 +00:00
Benoît Minisini
32affd6b13 [GB.QT4]
* BUG: Setting the Text property of a TextArea control takes the foreground
  color into account now.


git-svn-id: svn://localhost/gambas/trunk@4825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 20:05:36 +00:00
Adrien Prokopowicz
5248d86f82 [GB.XML]
* BUG: Comments are now correctly supported.
* BUG: Fix a 32-bits compilation warning.

git-svn-id: svn://localhost/gambas/trunk@4824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 18:17:10 +00:00
Benoît Minisini
bafcbb069a [GB.NET.CURL]
* BUG: Initialize the curl library correctly!


git-svn-id: svn://localhost/gambas/trunk@4823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 17:20:53 +00:00
Bruce Bruen
187bc24cc6 [DEVELOPMENT ENVIRONMENT]
* NEW: Autotools packager now respects the vendor name prefix option (trivial)

git-svn-id: svn://localhost/gambas/trunk@4822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 08:11:19 +00:00
Benoît Minisini
f24d7b1899 [GB.FORM.MDI]
* NEW: Do not disable toolbars when they are configured. Otherwise drag &
  drop does not work with gb.gtk.

[GB.FORM.STOCK]
* NEW: Some icons updates.
* BUG: Add the 'earth' icon in the stock.

[GB.GTK]
* BUG: Fix drag & drop support.
* NEW: Draw.Tile() does not transform pixbufs into a pixmaps anymore.


git-svn-id: svn://localhost/gambas/trunk@4821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 01:50:46 +00:00
Benoît Minisini
64fef6f598 [DEVELOPMENT ENVIRONMENT]
* BUG: If the project is read-only, the profile file is stored in the 
  process temporary directory in /tmp instead of the project directory.
* NEW: The name of profile files now follows this scheme: '.N.prof', where
  'N' is an index incremented each time the project is run.
* BUG: Toolbars and popup-menus are correctly updated at first load form
  text, source and form editors.
* BUG: Do not show or hide toolbars buttons outside of the toolbar 
  'Configure' event.

[INTERPRETER]
* NEW: The '-p' option now takes the profile file path as argument.

[GB.DEBUG]
* NEW: The profile file path can be specified on the command line.

[GB.FORM.MDI]
* NEW: Configured toolbars are drawn with a red frame.

[GB.GTK]
* BUG: Remove warnings displayed by the Control Raise() and Lower() 
  methods.
* BUG: Draw.Style methods now are correctly clipped.


git-svn-id: svn://localhost/gambas/trunk@4820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-10 14:58:45 +00:00
Benoît Minisini
ba9bfd8847 [GB.QT4]
* OPT: A little optimization when using Draw.Begin() on a cached 
  DrawingArea.


git-svn-id: svn://localhost/gambas/trunk@4819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 20:46:11 +00:00
Benoît Minisini
49fe75eec8 [GB.GTK]
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are 
  activated by the ENTER key.

[GB.QT4]
* BUG: 'Default' or 'Cancel' buttons now take the focus when they are 
  activated by the ENTER key.


git-svn-id: svn://localhost/gambas/trunk@4818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 15:31:56 +00:00
Benoît Minisini
c47cd00a15 [INTERPRETER]
* BUG: libffi is correctly detected again.


git-svn-id: svn://localhost/gambas/trunk@4817 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 14:03:58 +00:00
Benoît Minisini
835dd33dcf [GB.DEBUG]
* NEW: GB_PROFILE_MAX environment variable now can take the maximum size of 
  a profile file in megabytes. The default value is 512 Mb. The minimum
  value is 128 Mb, and the maximum value is 4096 Mb.


git-svn-id: svn://localhost/gambas/trunk@4816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 13:39:47 +00:00
Benoît Minisini
442f8ce70e [CONFIGURATION]
* NEW: Switch version to 3.2.0.

[GB.XML]
* BUG: Fix a 64-bits compilation warning.



git-svn-id: svn://localhost/gambas/trunk@4815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 02:44:17 +00:00
Adrien Prokopowicz
6fe4df8b2a [GB.XML]
* BUG: XmlReader now correctly reads comments.
* BUG: XmlReader now correctly reads self-closed elements.

git-svn-id: svn://localhost/gambas/trunk@4814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 00:06:38 +00:00
Adrien Prokopowicz
54395ea31f [GB.XML]
* BUG: Fixed XmlExplorer document loading.
* BUG: Fixed the XmlElement.LastChildElement property.

git-svn-id: svn://localhost/gambas/trunk@4813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-06 16:38:18 +00:00
Adrien Prokopowicz
019626a992 [GB.XML]
* NEW: XML output can now be indented by using ToString(Indent As Boolean) or Save(fileName As String, Indent As Boolean)

git-svn-id: svn://localhost/gambas/trunk@4812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 22:38:58 +00:00
Adrien Prokopowicz
6e474b44d6 [GB.XML]
* BUG: Fixed compilation problems with textnode.h.

git-svn-id: svn://localhost/gambas/trunk@4811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 21:26:48 +00:00
Adrien Prokopowicz
6d2b5d0ccd [GB.XML]
* NEW: The parser now raises complete error messages if parsing fails.
* BUG: Returning XmlDocuments does not crash anymore.

[GB.XML.XSLT]
* BUG: XSLT document parsing now correctly works

git-svn-id: svn://localhost/gambas/trunk@4810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 21:17:45 +00:00
Benoît Minisini
c828342220 [DEVELOPMENT ENVIRONMENT]
* NEW: Relayout the GUI of the new packaging options.


git-svn-id: svn://localhost/gambas/trunk@4809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 07:39:31 +00:00
Benoît Minisini
538960d6ba [GB.GTK]
* BUG: Screen geometry and available geometry is now computed the same way 
  as in gb.qt4. In other words, it is screen based, and does not crash 
  with Xinerama anymore.


git-svn-id: svn://localhost/gambas/trunk@4808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 07:26:14 +00:00
Bruce Bruen
1dc3f4b656 [DEVELOPMENT ENVIRONMENT]
* NEW: Added packing identity preferences feature

git-svn-id: svn://localhost/gambas/trunk@4807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 06:56:10 +00:00
Benoît Minisini
7e3570bfc9 [DEVELOPMENT ENVIRONMENT]
* OPT: Use Application.Busy earlier when opening a project.

[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.

[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
  profiling has not been activated by the '-p' command-line flag.

[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one 
  directory even if we are on the root of the current bookmark.

[GB.JIT]
* BUG: Fix some warnings.

[GB.XML.RPC]
* BUG: Fix component requirements.


git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 22:21:24 +00:00
Emil Lenngren
ceb68d62bf [GB.JIT]
* NEW: Debug message which function is being compiled.
* BUG: Fix object to variant conversion for 32-bit platforms.



git-svn-id: svn://localhost/gambas/trunk@4805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 17:09:17 +00:00
Benoît Minisini
16bc53f245 [GB.FORM]
* NEW: GridView: Setting the height of a row to -1 now makes it fit its
  contents.


git-svn-id: svn://localhost/gambas/trunk@4804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 19:14:33 +00:00
Benoît Minisini
ff93548e41 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows correctly display line numbers now.

[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.

[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
  before the first displayed line (zero by default).


git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 14:44:00 +00:00
Benoît Minisini
e3ff08a8a6 [GB.FORM]
* NEW: Show trasnaprent SidePanel buttons as soon as the mouse hovers the 
  handle.

[GB.QT4.EXT]
* NEW: Procedures are folded or unfolded on mouse button release now, not 
  on mouse button press.


git-svn-id: svn://localhost/gambas/trunk@4802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 01:01:29 +00:00
Benoît Minisini
2170ea1471 [INTERPRETER]
* BUG: Really fix use of static classes as extern function argument.


git-svn-id: svn://localhost/gambas/trunk@4801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 16:41:45 +00:00
Benoît Minisini
c18655158a [GB.FORM]
* NEW: SidePanel has a new Transparent property to define if the SidePanel
  has a border handle or not. By default, SidePanel are not transparent by
  default, as before.


git-svn-id: svn://localhost/gambas/trunk@4800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 15:05:16 +00:00
Benoît Minisini
46e0ab1dd3 [INTERPRETER]
* BUG: Better class loading fix.


git-svn-id: svn://localhost/gambas/trunk@4799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 10:02:47 +00:00
Benoît Minisini
636387d335 [INTERPRETER]
* BUG: Fix class loading so that circular dependencies between class 
  initialization is possible.
* NEW: Exported classes are now completely initiliazed at startup. It may
  break some things...


git-svn-id: svn://localhost/gambas/trunk@4798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 10:00:35 +00:00
Benoît Minisini
620770ed20 [COMPILER]
* BUG: ByRef keyword is now correctly forbidden in extern functions now.
* BUG: '...' syntax is now correctly forbidden in event description.


git-svn-id: svn://localhost/gambas/trunk@4797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 00:25:45 +00:00
Benoît Minisini
a865d9e227 [INTERPRETER]
* NEW: Support for variable number of arguments in extern functions.
* BUG: Fix use of static classes as extern function argument.

[COMPILER]
* NEW: Support for variable number of arguments in extern functions.

[GB.JIT]
* BUG: The GB_JIT environment variable has really no effect if it is 
  defined but a null string.


git-svn-id: svn://localhost/gambas/trunk@4796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-01 00:18:38 +00:00
Adrien Prokopowicz
df734896c2 [GB.XML]
* BUG : Attributes.Count correctly works now
* BUG : XmlReader.Read only returns Eof if nothing has been found
* OPT : XmlReader now always adds read attributes instead of looking if it is already set

git-svn-id: svn://localhost/gambas/trunk@4795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-31 00:52:06 +00:00
Adrien Prokopowicz
5fafeec711 [GB.XML.HTML]
BUG : Html elements which must have self-closing tags are now correctly rendered.
BUG : Sylesheet paths are now correctly supported.
BUG : Setting the base URL of a document works fine now.
BUG : HtmlDocument now can correctly detect the document type.

git-svn-id: svn://localhost/gambas/trunk@4794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-30 21:18:16 +00:00
Laurent Carlier
3264da4c53 [GB.JIT]
* BUG: Now component is disabled for llvm version prior to 3.1 at compilation time.


git-svn-id: svn://localhost/gambas/trunk@4793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-30 14:11:38 +00:00