Commit graph

72 commits

Author SHA1 Message Date
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
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
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
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
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
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
Benoît Minisini
5ad32aea43 [GB.JIT]
* BUG: Fix two warnings in structure initializations.


git-svn-id: svn://localhost/gambas/trunk@4785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 19:04:22 +00:00
Emil Lenngren
743bbc7a2a [GB.JIT]
* BUG: Fix String -> Long conversion.


git-svn-id: svn://localhost/gambas/trunk@4783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-26 17:59:14 +00:00
Benoît Minisini
8fff3e69bd [GB.JIT]
* NEW: Debugging information is printed as soon as the GB_JIT environmental 
  variable is not null.
* NEW: If LLVM version is lesser than 3.1, a warning message is printed. 
  Normally, a crash should occur just after. :-)


git-svn-id: svn://localhost/gambas/trunk@4779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-25 22:24:13 +00:00
Laurent Carlier
5dd86fdb1b [GB.JIT]
* NEW: Use AC_PROG_PATH() macro detect llvm-config file. llvm-config file can also be
defined with LLVM_CONFIG environment variable.

Useful in case of several llvm libs installed (see debian!), or non-standard path.


git-svn-id: svn://localhost/gambas/trunk@4777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-25 15:54:00 +00:00
Benoît Minisini
ac2377df94 [GB.JIT]
* NEW: Enhance configuration file so that gb.jit can be compiled on any
  detected LLVM version, provided that 'llvm-config' is in the PATH.


git-svn-id: svn://localhost/gambas/trunk@4776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-25 00:50:33 +00:00
Emil Lenngren
8d12476edb [GB.JIT]
* BUG: Really fix enumeration for non-pure objects.



git-svn-id: svn://localhost/gambas/trunk@4775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-24 23:24:44 +00:00
Emil Lenngren
1777bef542 [GB.JIT]
* NEW: IIf() and Choose() are now implemented.
* BUG: Bug in enum_next.



git-svn-id: svn://localhost/gambas/trunk@4774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-24 23:16:44 +00:00
Emil Lenngren
5e63b49525 [GB.JIT]
* NEW: If GB_JIT environment variable is set to "info", LLVM code dumps will be printed to stderr.



git-svn-id: svn://localhost/gambas/trunk@4771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-24 12:42:07 +00:00
Emil Lenngren
eb7931d99c [GB.JIT]
* BUG: Fixed a bug in compi.



git-svn-id: svn://localhost/gambas/trunk@4767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-24 00:07:09 +00:00
Emil Lenngren
406d250935 [GB.JIT]
* NEW: Use special add, sub, mul, compi for JIT Compiler Runtime.



git-svn-id: svn://localhost/gambas/trunk@4766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 23:49:16 +00:00
Benoît Minisini
327add9439 [GB.DEBUG]
* NEW: The component is hidden now.
* BUG: Do not crash anymore when profiling Eval().

[GB.JIT]
* NEW: The component is hidden now.


git-svn-id: svn://localhost/gambas/trunk@4763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 23:23:00 +00:00
Benoît Minisini
6b2e5d0776 [CONFIGURATION]
* BUG: Add gb.jit directory in the top Makefile.am so that it is compiled.

[INTERPRETER]
* NEW: System.Profile now only deactivate the instruction profiling. 
  Function calls keep being profiled. That way the IDE can read the profiled
  output without crashing!


git-svn-id: svn://localhost/gambas/trunk@4762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 21:35:58 +00:00
Benoît Minisini
47e099ab72 [GB.JIT]
* BUG: Use component name instead of explicit name in gb.jit configure.ac file.


git-svn-id: svn://localhost/gambas/trunk@4760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 19:56:48 +00:00
Emil Lenngren
3c912da3db [INTERPRETER]
* NEW: Switch to JIT compiler if available, and make it able to talk to gb.jit.
* BUG: GP must be NULL for new void stack frames.

[COMPILER]
* NEW: 'Fast' keyword means the class should be JIT-compiled.

[GB.JIT]
* NEW: JIT Compiler.



git-svn-id: svn://localhost/gambas/trunk@4759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-23 19:26:15 +00:00