Commit graph

16,255 commits

Author SHA1 Message Date
Oliver Buchtala
41ec3fb67e Travis configuration for Javascript branch. 2013-09-27 03:25:28 +02:00
Oliver Buchtala
48af60d829 Javascript examples. 2013-09-27 03:25:28 +02:00
Oliver Buchtala
ecf9f96079 Javascript documentation. 2013-09-27 03:25:28 +02:00
Oliver Buchtala
00053169cd CMake configuration. 2013-09-27 03:25:28 +02:00
Oliver Buchtala
6a366cc050 Fix regression. 2013-09-27 03:24:50 +02:00
Oliver Buchtala
6dcbbf07db Conflicts:
.gitignore
	.project
	.travis.yml
	Examples/Makefile.in
	Examples/test-suite/director_nspace.i
2013-09-27 02:29:02 +02:00
Oliver Buchtala
c2d3da2eec Fix test configuration. 2013-09-26 05:14:34 +02:00
Oliver Buchtala
582bd29769 Trying to install former working version of nodejs. 2013-09-26 04:55:34 +02:00
Oliver Buchtala
7adf93ef0f Fix test configuration for nodejs. 2013-09-26 04:13:32 +02:00
Oliver Buchtala
335d926c44 Add stub std_deque.i files. 2013-09-24 03:56:19 +02:00
Oliver Buchtala
51b36d1a1f Add non pretty printing function to Templates. 2013-09-24 03:55:51 +02:00
Oliver Buchtala
dc62a69775 Fix bug with typedefd function pointers. 2013-09-24 03:55:10 +02:00
Oliver Buchtala
2efe63ebb2 Add some test runners. 2013-09-24 01:50:33 +02:00
Oliver Buchtala
b9ecf75f17 Fix emitter for member pointer constants.
However, I am not happy with the constant emitter in general.
Should not return dynamic values but register constant wrappers statically.
2013-09-24 01:50:13 +02:00
Oliver Buchtala
8bf966a65c Fix %nspace support and activated relevant tests. 2013-09-24 01:47:13 +02:00
Oliver Buchtala
d34a6da08c Disable warnings for some v8 test-cases. 2013-09-17 01:53:22 +02:00
Oliver Buchtala
b3c198ccee Fix regression. 2013-09-16 22:28:14 +02:00
Oliver Buchtala
b99e8613ad Bugfix in argument marshalling. 2013-09-16 21:56:52 +02:00
Oliver Buchtala
dd4ed7f3d6 Disable testcase 'typemap_variables' for v8.
It uses output typemaps that are not compatible with the
v8 API.
2013-09-16 11:46:52 +02:00
Oliver Buchtala
0528fd3ac3 Bugfix for Javascript generator. 2013-09-16 11:46:00 +02:00
Oliver Buchtala
147cec70f1 Replace $symname in generated function wrappers. 2013-09-16 04:54:57 +02:00
Oliver Buchtala
eb9523b5ca Add missing macros. 2013-09-16 04:12:55 +02:00
Oliver Buchtala
3e28d1e28f Let v8 generated code include stdlib.h 2013-09-16 04:12:42 +02:00
Oliver Buchtala
b6426bde25 Add cdata.i typemaps. 2013-09-16 04:12:06 +02:00
Oliver Buchtala
1f07195812 Rearrange generation of init block to have custom init code within the initializer body. 2013-09-16 03:53:00 +02:00
Oliver Buchtala
80ce36c445 Make JSC inheritance definition more robust. 2013-09-16 02:27:51 +02:00
Oliver Buchtala
973042302b Removed dead code. 2013-09-16 01:57:55 +02:00
Oliver Buchtala
bf416876dd Bugfix for JSC %typemap(out) std::string&. 2013-09-16 01:33:19 +02:00
Oliver Buchtala
b7f827e42c Fix typemap declarations for (unsigned) long long. 2013-09-16 01:23:03 +02:00
Oliver Buchtala
68eff3e81e Merge branch 'devel' of github.com:oliver----/swig-v8 into devel 2013-09-16 00:55:57 +02:00
Oliver Buchtala
bb7bd50eab Add support for IN/OUTPUT typemaps. 2013-09-16 00:55:43 +02:00
Oliver Buchtala
018847b000 Merge pull request #28 from whoozle/devel
fixed newer v8 compilation
2013-09-15 06:00:06 -07:00
Vladimir Menshakov
325b5445d6 removed Clear before Dispose from newer v8 code, consider the following code:
template <class T>
void Persistent<T>::Dispose() {
  if (this->IsEmpty()) return; //Clear will trigger this
  V8::DisposeGlobal(reinterpret_cast<internal::Object**>(this->val_));
  ...
}
2013-09-14 16:19:47 +04:00
Vladimir Menshakov
89fd7ed9c1 fixed newer v8 compilation 2013-09-14 16:17:21 +04:00
Oliver Buchtala
477b2393b1 Add stub 'typemaps.i' files. 2013-09-12 05:26:22 +02:00
Oliver Buchtala
acfed20eba Bugfix Javascript generator: valid name for dispatcher functions. 2013-09-12 05:10:23 +02:00
Oliver Buchtala
1a04e488bc Fix Javascript generator for smartpointeraccessed variables. 2013-09-12 05:40:59 +03:00
Oliver Buchtala
8bf95c4356 Bugfix for Javascript generator: avoid duplicate action code generation. 2013-09-12 05:09:35 +03:00
Oliver Buchtala
09a210e037 Bugfix in Javascript generator: detect member setter/getters correctly. 2013-09-12 04:09:21 +03:00
Oliver Buchtala
c53e3e4dab Fix configuration for nodejs based tests.
- use $(SWIGOPT)
- less verbose
2013-09-10 14:45:33 +03:00
Oliver Buchtala
dd84e6f9e0 Some fixes and cleanup in Javascript generator.
- v8 generator uses the correct mangled name for class templates
- removed symbols for template variables in favor of using the string
  literals directly, as it is easier to understand when debugging.
2013-09-10 14:16:36 +03:00
Oliver Buchtala
001f38c6a9 Fix settings for building nodejs tests.
Removed the `-node` command line flag.
Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
2013-09-10 13:29:16 +03:00
Oliver Buchtala
be35d94fdb Add support for PackedData to Javascript generator. 2013-09-10 11:53:12 +03:00
Oliver Buchtala
e5ad9cdc05 Added two more Javascript tests.
- `abstract_inherit`
- `char_strings`
2013-09-09 22:26:30 +03:00
Oliver Buchtala
571c516a0b Some fixes for the Javascript generator.
- added missing `exception.i`
- added missing generator block `wrappers` for v8
2013-09-09 22:25:51 +03:00
Oliver Buchtala
3c5946d998 Redefined set of Javascript smoke tests. 2013-09-09 17:38:44 +03:00
Oliver Buchtala
407d8ef5ac Clean up in javascripttypemaps.swg.
- following the same layout/order as pytypemaps
- added typemaps for `long long` and `unsigned long long`, which are
  only copies of those for `long` and `unsigned long` and hence are
  just experimental.
2013-09-09 17:34:53 +03:00
Oliver Buchtala
fc4d9b665c Fix v8 generator to use a non clashing name for built-in 'equals' method. 2013-09-09 16:28:29 +03:00
Oliver Buchtala
b6c9c97b96 Fix Javascript generator to use %renamed variable names. 2013-09-09 15:05:11 +03:00
Oliver Buchtala
108143951d Activate Javascript test-cases rename_simple and rename_scope.
These reveal current deficiencies in the Javascript generator with `%rename`ing.
2013-09-09 13:55:08 +03:00