Commit graph

16,268 commits

Author SHA1 Message Date
Oliver Buchtala
48e7df8eb2 Better error message when no Javascript emitter is specified. 2014-02-20 11:15:18 +01:00
Oliver Buchtala
fd0e75843d Deactivated broken JS examples. 2014-02-20 11:14:48 +01:00
Oliver Buchtala
77ead7017c Refactored configuration for javascript examples. 2014-02-20 11:13:57 +01:00
Oliver Buchtala
8df34d54d0 Beginning to document v8 integration. 2014-02-14 13:21:52 +01:00
Oliver Buchtala
05146e2aed Documented extending Node.js and Webkit's Javascript engine. 2014-02-14 13:04:21 +01:00
Oliver Buchtala
6847280272 Pandoc filter detects shell blocks when not explicitely given.
Considered as shell if the first character is '$', as in

    $ swig -javascript

Alternatively you can specify the class explicitely:

```shell
swig -javascript
```
2014-02-14 09:02:37 +01:00
Oliver Buchtala
1fca61c59a Conitnued documenting the Javascript module. 2014-02-14 09:00:04 +01:00
Oliver Buchtala
915b709433 Not a real change.
Using a macro to reset JSEmitterStates for the sake of readability.
2014-02-14 00:02:05 +01:00
Oliver Buchtala
8148b017f8 Add a pandoc filter to create compatible html. 2014-02-14 00:01:15 +01:00
Oliver Buchtala
e829ea601f Add Javascript to chapters. 2014-02-14 00:00:37 +01:00
Oliver Buchtala
fa8b350cd6 More Javascript module documentation. 2014-02-14 00:00:12 +01:00
Oliver Buchtala
02c55fc52f Next iteration on creating a documentation for the Javascript module. 2014-02-13 21:18:06 +01:00
Oliver Buchtala
1e34ecdc31 Next iteration on creating a documentation for the Javascript module. 2014-02-13 19:25:16 +01:00
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