Olly Betts
b3bedc210c
[Javascript] For v8 >= 4.3.0, use V8_MAJOR_VERSION.
...
Fixes https://github.com/swig/swig/issues/561 .
2016-01-12 09:33:13 +13:00
Alec Cooper
4e2fc7d115
Don't use long long if it isn't available
...
Adds preprocessor checks to avoid defining functions that use long long if it isn't available
Effects the following languages: javascript, octave, perl, python, r, ruby, tcl
2016-01-06 16:52:37 -05:00
Olly Betts
d0dd63e437
"concret" -> "concrete"
2015-10-12 11:24:07 +13:00
William S Fulton
4e23595704
Unused method warning suppression for Javascript v8
2015-07-05 17:59:41 +01:00
Richard
00457b6599
Making generated code more readable
2014-09-30 12:33:49 -03:00
Richard
0dfc1b090f
Fix duplicate symbol linker errors for Javascript/v8
2014-09-09 10:08:30 -03:00
Richard
911fd761b0
Minor improvements
2014-08-28 19:46:52 -05:00
Richard
b8d7cc21b9
Use macros for V8 items
2014-08-28 19:46:52 -05:00
Richard
408390d146
Fixes for v8 3.18.3 (0x031803)
2014-08-28 19:46:51 -05:00
Richard
6fee208010
Fixes for v8 3.19.2 (0x031902)
2014-08-28 19:46:51 -05:00
Richard
eeb4b5497e
Fixes for v8 3.24.17 (0x032417)
2014-08-28 19:46:51 -05:00
Richard
ee88602fde
Use full name
2014-08-28 19:46:51 -05:00
Richard
dea3144726
Fixes for V8 3.22.24 (0x032224) Some errors left (??)
2014-08-28 19:46:51 -05:00
Richard
fee5748499
Fixes for 3.23.18 (0x032318)
2014-08-28 19:46:51 -05:00
Richard
d4920591d4
Fixes for v8 3.24.3 (0x032403)
2014-08-28 19:46:51 -05:00
Richard
c1222ebeec
Partial fixes for 3.24.40 (0x032440) - incomplete
2014-08-28 19:46:50 -05:00
Richard
3c9e16ef85
Fixed some bugs from previous commit
2014-08-28 19:46:50 -05:00
Richard
e0c0670540
Partially fixed for 3.25.30 (0x032530) - unfinished
2014-08-28 19:46:50 -05:00
Richard
e98a659246
Fixes for v8 3.21.17 (0x032117)
2014-08-28 19:46:50 -05:00
Richard
3d63f9113b
Fixes for v8 3.19.18 (0x031918)
2014-08-28 19:46:50 -05:00
Richard
013fb3d22d
Fixes for v8 3.19.2 (0x031902)
2014-08-28 19:46:50 -05:00
Richard
8829230641
Fixes for v8 3.17.10 (0x031710)
2014-08-28 19:46:49 -05:00
Richard
47cbf621be
Fixes for v8 3.15.11 (0x031511)
2014-08-28 19:46:49 -05:00
William S Fulton
22be94d207
Fix std::vector<bool> compile problems on OSX for Javascript
2014-05-31 19:58:42 +01:00
William S Fulton
3191473523
Fix compiler warnings in generated code when using -std=c++98 -std=gnu89 -pedantic -Wreturn-type
2014-05-24 14:13:19 +01:00
Oliver Buchtala
3f0f588891
Javascript: support null pointers.
...
We allow to set pointer types using JS null.
2014-05-19 16:04:22 +02:00
Oliver Buchtala
7cc617a19d
Revert "Javascript: support null pointers."
...
This reverts commit 11963788e0 .
2014-05-19 11:46:21 +02:00
Oliver Buchtala
11963788e0
Javascript: support null pointers.
...
We allow to set pointer types using JS null.
2014-05-19 00:21:21 +02:00
Oliver Buchtala
7824322b14
Javascript: fix warnings in li_std_string test.
...
Old typemaps for std::string were in place instead of delegating to UTL.
2014-05-18 22:40:22 +02:00
Eric Wing
aa55154ccf
JavaScript: Added missing static modifiers to avoid duplicate symbol problems with multiple SWIG modules.
2014-05-18 21:27:53 +02:00
Karl Wette
7cd9063b52
Remove execute permissions from various non-executable files
...
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00
William S Fulton
5792e97a44
Javascript: ensure banner appears before %begin code
2014-05-01 18:13:35 +01:00
Oliver Buchtala
e8ef490716
Removed obsolete 'node.i'.
2014-04-26 22:25:09 +02:00
Oliver Buchtala
cc16812c4f
Added a comment about V8_VERSION macro.
2014-04-26 22:24:51 +02:00
William S Fulton
9587c133c5
Fix typo in Javascript exception
2014-04-19 15:55:12 +01:00
Oliver Buchtala
335d926c44
Add stub std_deque.i files.
2013-09-24 03:56:19 +02:00
Oliver Buchtala
0528fd3ac3
Bugfix for Javascript generator.
2013-09-16 11:46:00 +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
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
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
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
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