Oliver Buchtala
|
296a5d0285
|
Minor change in javascript example Makefile configuration.
Propagate global CFLAGS and CXXFLAGS to inner javascript targets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:14:48 +00:00 |
|
Oliver Buchtala
|
4616f9643f
|
Adapt test-suite configuration to allow switching between js engines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:14:37 +00:00 |
|
Oliver Buchtala
|
8948360725
|
Fix configuration_in for detecting v8 include and lib.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:14:23 +00:00 |
|
Oliver Buchtala
|
2092793868
|
Make v8 shell more quiet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:14:14 +00:00 |
|
Oliver Buchtala
|
f814a8e702
|
Fix errors concerning object wrapping and cleanup in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:14:02 +00:00 |
|
Oliver Buchtala
|
8db76ddee1
|
Remove generated file from repository.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:13:42 +00:00 |
|
Oliver Buchtala
|
5425edc508
|
Add library flag for building v8 shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:13:29 +00:00 |
|
Oliver Buchtala
|
da109ee764
|
Fix input string handling in v8 typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:13:17 +00:00 |
|
Oliver Buchtala
|
91fc0ff205
|
Use a throwing default setter in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:13:03 +00:00 |
|
Oliver Buchtala
|
a82e0a6e8f
|
Fix c++ linking problem in example 'variables'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:12:46 +00:00 |
|
Oliver Buchtala
|
843c8a408c
|
Fix AsVal macros of long and int for v8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:12:33 +00:00 |
|
Oliver Buchtala
|
d13289cc91
|
Fix function dispatching for v8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:12:18 +00:00 |
|
Oliver Buchtala
|
68f0f859f8
|
Fix name collision in generated v8 initializer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:11:51 +00:00 |
|
Oliver Buchtala
|
da6307a19e
|
Enable overloading ctors for v8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:11:32 +00:00 |
|
Oliver Buchtala
|
70383a1b61
|
Enable string exceptions in v8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:11:11 +00:00 |
|
Oliver Buchtala
|
84e5476147
|
Add std::string support to v8 typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:10:57 +00:00 |
|
Oliver Buchtala
|
a4f8e4c1c3
|
Fix bug in v8 ctor emitter.
This bug leaded to flaky crashes of v8 engine.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:10:42 +00:00 |
|
Oliver Buchtala
|
2893df9f73
|
Several fixes in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:10:27 +00:00 |
|
Oliver Buchtala
|
c4ab879027
|
Fix string warnings of for char* constants in CPP wrappers.
This has been done by changing the implementation of marshalOutputArgs,
which now does not create a local result variable in this case, and
uses the constant inline in the output typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:10:10 +00:00 |
|
Oliver Buchtala
|
58e4f9703c
|
Fix handling of Char constants in JSC typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:09:57 +00:00 |
|
Oliver Buchtala
|
915e65135c
|
Minor fix in v8 shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:09:43 +00:00 |
|
Oliver Buchtala
|
c3918f3f82
|
Add string support to v8 typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:09:31 +00:00 |
|
Oliver Buchtala
|
bd752ff86b
|
In example Makefiles for v8 forward to CPP target.
As v8 is C++ it is not possible to build wrappers in C.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:09:18 +00:00 |
|
Oliver Buchtala
|
1862f43cfc
|
Minor clean up in class example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:09:05 +00:00 |
|
Oliver Buchtala
|
f1e9b21dfd
|
Add missing swig_type_info registration in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:08:50 +00:00 |
|
Oliver Buchtala
|
21bdb78f1c
|
Activate SwigModuleInitializer for in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:08:33 +00:00 |
|
Oliver Buchtala
|
9a914af2b7
|
Fix v8 shell to initialize v8 context in proper order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:08:16 +00:00 |
|
Oliver Buchtala
|
46cff47ada
|
Several fixes in generator for v8 initializer function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:08:03 +00:00 |
|
Oliver Buchtala
|
78f5b46381
|
Fix class example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:07:43 +00:00 |
|
Oliver Buchtala
|
022c274256
|
Minor fixes in v8 javascript shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:07:21 +00:00 |
|
Oliver Buchtala
|
cda09239ad
|
Several fixes in v8 emitter and code templates.
Achieves first compile of example "class" after re-integration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:06:58 +00:00 |
|
Oliver Buchtala
|
0cae8fccd0
|
Minor refactor of marshalInputArgs for generalization.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:06:39 +00:00 |
|
Oliver Buchtala
|
9b0c8dae83
|
Add argcount checking to functions and ctors.
Before argument counts were only checked for overloaded functions/ctors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:06:26 +00:00 |
|
Oliver Buchtala
|
d5c5f7ebee
|
Generalize ctor overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:06:08 +00:00 |
|
Oliver Buchtala
|
7200239277
|
Fix regression in javascript's test-suite configuration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:05:51 +00:00 |
|
Oliver Buchtala
|
78442b2764
|
Several adaptations and fixes on the way to get V8 emitter running.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:05:37 +00:00 |
|
Oliver Buchtala
|
8d72616e65
|
Refactor emitter and code templates to use defined template variables.
Also switched from "${...}" to $..., which is swig's common notation
of typemap variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:05:11 +00:00 |
|
Oliver Buchtala
|
cdd450fbe4
|
Delete obsolete source file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:04:51 +00:00 |
|
Oliver Buchtala
|
5fab9c8a38
|
Minor cleanup in javascript shell implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:04:40 +00:00 |
|
Oliver Buchtala
|
0341e6b14c
|
Clean up example Makefiles.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:04:26 +00:00 |
|
Oliver Buchtala
|
10dc758cad
|
Refactored javascript shell implementation to support JSC and v8.
Also changed configuration in examples Makefile.in to allow switching modes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:03:42 +00:00 |
|
Oliver Buchtala
|
672208d8d2
|
Adapt overload example to reflect changes in module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:03:17 +00:00 |
|
Oliver Buchtala
|
cbb5b711ab
|
Fix examples after regressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:03:00 +00:00 |
|
Oliver Buchtala
|
52aef26997
|
Add examples check list for batch runs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:02:30 +00:00 |
|
Oliver Buchtala
|
07d5ec24ce
|
Add support for type-based dispatching of overloaded functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:02:16 +00:00 |
|
Oliver Buchtala
|
eff094ef39
|
Add test "constructor_copy".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:01:57 +00:00 |
|
Oliver Buchtala
|
548287c600
|
Update configuration to detect V8 and allow testing with V8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:01:41 +00:00 |
|
Oliver Buchtala
|
4d9ca620ab
|
Refactored JSEmitters to share unified code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 01:00:15 +00:00 |
|
Oliver Buchtala
|
387da69e84
|
Pull namespace implementation up to be shared between js emitters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 00:59:55 +00:00 |
|
Oliver Buchtala
|
66ead9afb2
|
Simplify implementation using new issetter flag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-09-08 00:59:43 +00:00 |
|