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
William S Fulton
173c4b3bba
Grab .travis.yml file from master to turn on Travis testing
2013-09-20 19:39:30 +01:00
William S Fulton
ab2a8b7379
Document Java char **STRING_ARRAY typemap fix
2013-09-20 18:47:46 +01:00
Gavin Kinsey
43032339d0
Fixed a memory leak for java STRING_ARRAY
...
The allocation loop uses size, so the free loop should do the same,
not size-1.
2013-09-20 18:44:44 +01:00
William S Fulton
d0cb2b73db
Remove X11 detection during configure
...
X11 is not used anywhere.
2013-09-18 00:40:24 +01:00
William S Fulton
37bccfd517
Bump version to 3.0.0
...
SWIG 3 is open for business - looks go crazy!
2013-09-18 00:40:17 +01: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
William S Fulton
b0b8d4c87e
Add hint about pushing tags post release
...
[ci skip]
2013-09-15 22:42:19 +01:00
William S Fulton
80b108eb70
Add swig-2.0.11 release info and date
2013-09-15 15:11:43 +01:00
Oliver Buchtala
018847b000
Merge pull request #28 from whoozle/devel
...
fixed newer v8 compilation
2013-09-15 06:00:06 -07:00
William S Fulton
0431664b18
Guile OUTPUT typemap fix
...
Fixes 'attempt to free a non-heap object' in some OUTPUT typemaps.
2013-09-15 10:43:49 +01:00
William S Fulton
f01b52c44c
Tweak 'make beautify-file'
...
unix2dos and dos2unix were renamed to todos and fromdos - they aren't
really needed (on Linux anyway), so removed.
2013-09-15 01:35:28 +01:00
William S Fulton
f618a69990
Better detection of Ruby shared library extension
...
Use Config to detect dll extension (needs to be .so for Ruby 1.9 on Cygwin)
2013-09-14 17:32:54 -07:00
William S Fulton
cb4a23b2df
Cygwin test-suite fix for tcl 8.5 on Cygwin
2013-09-14 15:52:42 -07:00
William S Fulton
c4e29fb686
Remove mkstemp replacement for ccache-swig on Cygwin
...
Cygwin 1.7.0 as well as Cygwin 1.7.24 seem to be working okay
Cygwin 1.7.24 gives gcc warning about dangerous use of mktemp
2013-09-14 15:51:50 -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
William S Fulton
ba9baefdd9
sed portability fix creating swigwarn.swg
2013-09-14 12:53:45 +01:00
Sylvestre Ledru
7a88729c87
Remove trailing spaces in the generated code.
...
No functional changes
2013-09-13 10:02:39 +02:00
Artem Serebriyskiy
c3f3880d0c
Lua static member access improvements.
...
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.
Code is loosely based upon python implemenation of the same thing.
Patch #62 .
2013-09-12 21:32:26 +01:00
William S Fulton
a91cd0bc5c
Infinity is now by default an acceptable value for type 'float'.
...
This fix makes the handling of type 'float' and 'double' the same. The implementation requires the
C99 isfinite() macro, or otherwise some platform dependent equivalents, to be available.
2013-09-12 07:28:12 +01: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