commit fe10555229
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Mar 5 01:51:29 2014 +0100
Add check to skip javascript test-suite if default interpreter is not installed.
commit 0e0ac02192
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Mar 5 01:50:46 2014 +0100
Activate travis matrix for different Javascript interpreters.
commit 89610e984e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Mar 5 01:39:26 2014 +0100
Beautified Javascript module.
commit b5bc87667d
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Mar 5 01:10:55 2014 +0100
Fix regressions.
- Adapted to changes in UTL
- Fixed detection of setters and getters.
commit a234542543
Merge: 8c05fe3c99417a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Mar 5 01:09:26 2014 +0100
Merge branch 'master' into tmp
Conflicts:
.travis.yml
Examples/Makefile.in
Examples/test-suite/director_nspace.i
Examples/test-suite/nspace.i
Examples/test-suite/nspace_extend.i
Source/Modules/lang.cxx
configure.ac
commit 8c05fe37af
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 22:55:32 2014 +0100
Removed obsolete paragraph from Javascript documentation.
commit 924f373a2f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 22:51:19 2014 +0100
Fix pandoc filter.
And add a script that helps to run pandoc with appropriate
command line flags.
commit 6b82dff8f3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 22:50:23 2014 +0100
Minor tweaks in Javascript documentation.
commit 1a7e12911a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 12:00:13 2014 +0100
Adding a chapter about Javascript tests and examples.
commit a9b8b85c1c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 11:00:26 2014 +0100
Minor change in Javascript configuration.
commit dbd61e40e1
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Mar 4 10:41:35 2014 +0100
Fix issues that were observed with newer JavascriptCore.
commit 70385842df
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 28 10:40:41 2014 +0100
Add missing copy ctor for Javascript Code Template class.
commit b20b0f4e4b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Feb 27 01:02:06 2014 +0100
Removed CMake.
Started a separate project which acts as a CMake shell around SWIG.
commit 7e015e4acf
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 23:26:19 2014 +0100
Fix regression in Javascript configuration.
commit 348cb2026e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 22:56:31 2014 +0100
Fix regressions in configuration of some Javascript examples.
commit 94869c9228
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 22:47:29 2014 +0100
More gitignores filtering Javascript related files.
commit 424e3f4712
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 22:46:24 2014 +0100
Fix custom javascript interpreter configuration for OSX.
commit 15f12d9b59
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 22:44:37 2014 +0100
Make examples work with node.js and the custom interpreter.
commit b216a739c4
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 20:51:38 2014 +0100
Introduced an extra Makefile for the custom javascript interpreter.
commit bf1606c0f9
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 11:10:09 2014 +0100
Fix travis configuration.
commit 16a702c0aa
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 10:48:38 2014 +0100
Added a comment.
commit e62c6126e9
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Feb 26 10:47:48 2014 +0100
Fix regressions in Javascript example configuration.
commit 15550dab45
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Feb 25 20:16:15 2014 +0100
Fix issue with strange constants under OSX.
Receiving strange constant nodes before the real tree
under OSX 10.8. Not so under Ubuntu 12.04.
commit 84ba91dc63
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 12:38:53 2014 +0100
Some fixes in example section of Javascript documentation.
commit 1ffacaab5b
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 12:30:57 2014 +0100
Add note about '-node' command line flag for Node.js code generation.
commit 462674ea11
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 12:28:06 2014 +0100
Added examples to Javascript module documentation.
commit 3f22a3d639
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:37:40 2014 +0100
Simplification in common javascript example Makefile.
commit 8e65414a76
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:37:15 2014 +0100
Add an extra argument for enabling nodejs support.
This is essentially using the v8 emitter plus setting a #define.
commit 7c1f66c29e
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:15:46 2014 +0100
Add more notes about how to install node.
commit 48e7df8eb2
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:15:18 2014 +0100
Better error message when no Javascript emitter is specified.
commit fd0e75843d
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:14:48 2014 +0100
Deactivated broken JS examples.
commit 77ead7017c
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 20 11:13:57 2014 +0100
Refactored configuration for javascript examples.
commit 8df34d54d0
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 13:21:52 2014 +0100
Beginning to document v8 integration.
commit 05146e2aed
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 13:04:21 2014 +0100
Documented extending Node.js and Webkit's Javascript engine.
commit 6847280272
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 09:02:37 2014 +0100
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
```
commit 1fca61c59a
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 09:00:04 2014 +0100
Conitnued documenting the Javascript module.
commit 915b709433
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 00:02:05 2014 +0100
Not a real change.
Using a macro to reset JSEmitterStates for the sake of readability.
commit 8148b017f8
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 00:01:15 2014 +0100
Add a pandoc filter to create compatible html.
commit e829ea601f
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 00:00:37 2014 +0100
Add Javascript to chapters.
commit fa8b350cd6
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Fri Feb 14 00:00:12 2014 +0100
More Javascript module documentation.
commit 02c55fc52f
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 13 21:18:06 2014 +0100
Next iteration on creating a documentation for the Javascript module.
commit 1e34ecdc31
Author: Oliver Buchtala <oliver.buchtala@gmail.com>
Date: Thu Feb 13 19:25:16 2014 +0100
Next iteration on creating a documentation for the Javascript module.
commit 41ec3fb67e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 02:54:42 2013 +0200
Travis configuration for Javascript branch.
commit 48af60d829
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 02:46:11 2013 +0200
Javascript examples.
commit ecf9f96079
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 02:45:22 2013 +0200
Javascript documentation.
commit 00053169cd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 02:44:53 2013 +0200
CMake configuration.
commit 6a366cc050
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 03:23:37 2013 +0200
Fix regression.
commit 6dcbbf07db
Merge: 4492a3dc2d3da2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 27 02:29:02 2013 +0200
Conflicts:
.gitignore
.project
.travis.yml
Examples/Makefile.in
Examples/test-suite/director_nspace.i
commit c2d3da2eec
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 26 05:14:34 2013 +0200
Fix test configuration.
commit 582bd29769
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 26 04:55:34 2013 +0200
Trying to install former working version of nodejs.
commit 7adf93ef0f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 26 04:13:32 2013 +0200
Fix test configuration for nodejs.
commit 335d926c44
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 03:56:19 2013 +0200
Add stub std_deque.i files.
commit 51b36d1a1f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 03:55:51 2013 +0200
Add non pretty printing function to Templates.
commit dc62a69775
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 03:55:10 2013 +0200
Fix bug with typedefd function pointers.
commit 2efe63ebb2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 01:50:33 2013 +0200
Add some test runners.
commit b9ecf75f17
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 01:50:13 2013 +0200
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.
commit 8bf966a65c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 24 01:47:13 2013 +0200
Fix %nspace support and activated relevant tests.
commit d34a6da08c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 17 01:53:22 2013 +0200
Disable warnings for some v8 test-cases.
commit b3c198ccee
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 22:28:14 2013 +0200
Fix regression.
commit b99e8613ad
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 21:56:52 2013 +0200
Bugfix in argument marshalling.
commit dd4ed7f3d6
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 11:46:52 2013 +0200
Disable testcase 'typemap_variables' for v8.
It uses output typemaps that are not compatible with the
v8 API.
commit 0528fd3ac3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 11:46:00 2013 +0200
Bugfix for Javascript generator.
commit 147cec70f1
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 04:54:57 2013 +0200
Replace $symname in generated function wrappers.
commit eb9523b5ca
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 04:12:55 2013 +0200
Add missing macros.
commit 3e28d1e28f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 04:12:42 2013 +0200
Let v8 generated code include stdlib.h
commit b6426bde25
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 04:12:06 2013 +0200
Add cdata.i typemaps.
commit 1f07195812
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 03:53:00 2013 +0200
Rearrange generation of init block to have custom init code within the initializer body.
commit 80ce36c445
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 02:27:51 2013 +0200
Make JSC inheritance definition more robust.
commit 973042302b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 01:57:55 2013 +0200
Removed dead code.
commit bf416876dd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 01:33:19 2013 +0200
Bugfix for JSC %typemap(out) std::string&.
commit b7f827e42c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 01:23:03 2013 +0200
Fix typemap declarations for (unsigned) long long.
commit 68eff3e81e
Merge: bb7bd50018847b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 00:55:57 2013 +0200
Merge branch 'devel' of github.com:oliver----/swig-v8 into devel
commit bb7bd50eab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 16 00:55:43 2013 +0200
Add support for IN/OUTPUT typemaps.
commit 018847b000
Merge: acfed20325b544
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sun Sep 15 06:00:06 2013 -0700
Merge pull request #28 from whoozle/devel
fixed newer v8 compilation
commit 325b5445d6
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Sat Sep 14 16:19:47 2013 +0400
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_));
...
}
commit 89fd7ed9c1
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Sat Sep 14 16:17:21 2013 +0400
fixed newer v8 compilation
commit 477b2393b1
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 12 05:26:22 2013 +0200
Add stub 'typemaps.i' files.
commit acfed20eba
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 12 05:10:23 2013 +0200
Bugfix Javascript generator: valid name for dispatcher functions.
commit 1a04e488bc
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 12 05:40:59 2013 +0300
Fix Javascript generator for smartpointeraccessed variables.
commit 8bf95c4356
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 12 05:09:35 2013 +0300
Bugfix for Javascript generator: avoid duplicate action code generation.
commit 09a210e037
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Sep 12 04:09:21 2013 +0300
Bugfix in Javascript generator: detect member setter/getters correctly.
commit c53e3e4dab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 10 14:45:33 2013 +0300
Fix configuration for nodejs based tests.
- use $(SWIGOPT)
- less verbose
commit dd84e6f9e0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 10 14:16:36 2013 +0300
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.
commit 001f38c6a9
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 10 13:29:16 2013 +0300
Fix settings for building nodejs tests.
Removed the `-node` command line flag.
Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
commit be35d94fdb
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 10 11:53:12 2013 +0300
Add support for PackedData to Javascript generator.
commit e5ad9cdc05
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 22:26:30 2013 +0300
Added two more Javascript tests.
- `abstract_inherit`
- `char_strings`
commit 571c516a0b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 22:25:51 2013 +0300
Some fixes for the Javascript generator.
- added missing `exception.i`
- added missing generator block `wrappers` for v8
commit 3c5946d998
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 17:38:44 2013 +0300
Redefined set of Javascript smoke tests.
commit 407d8ef5ac
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 17:34:53 2013 +0300
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.
commit fc4d9b665c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 16:28:29 2013 +0300
Fix v8 generator to use a non clashing name for built-in 'equals' method.
commit b6c9c97b96
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 15:05:11 2013 +0300
Fix Javascript generator to use %renamed variable names.
commit 108143951d
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 13:55:08 2013 +0300
Activate Javascript test-cases `rename_simple` and `rename_scope`.
These reveal current deficiencies in the Javascript generator with `%rename`ing.
commit 64da1173dd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 13:23:47 2013 +0300
Activate Javascript testcases `rename1-4`.
commit 1438d0cfb4
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 13:17:38 2013 +0300
Add `infinity` test-case to list of smoke tests.
commit e01e337d75
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Thu Sep 5 14:50:15 2013 -0700
Added unit test using C99 INFINITY. This test actually tests a float
conversion bug where converting to float imposed overflow checking which
should not be there and causes this program to error out. This was seen
originally in Javascript, but it turns out Python has the same bug. Lua
does not have this bug. Other generators have not been tested.
This test also tests the rename feature. The Javascript generator was
not renaming the variable correctly.
commit 1729fac360
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Mon Sep 9 12:46:07 2013 +0300
Bug-fix for static variables as proposed by Kota Iguchi.
Fixes#20.
commit 8408e9b193
Merge: 6b35c2db49da78
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 19:50:51 2013 -0700
Merge pull request #19 from whoozle/devel
fixed deprecation warnings for v8-3.21
commit 6b35c2d419
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 16:26:02 2013 +0300
Let Travis test all three targets.
- nodejs: 0.10.12
- libwebgitgtk 1.0
- libv8 3.7.12
We should soon switch to a new v8 version or add an extra runner.
commit 0facc7ecf9
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 15:59:43 2013 +0300
Allow to run the test suite with our list of smoke tests.
The javascript generator can not deal with the whole test-suite.
Moreover, during development I want to have immediate feedback using
a set of smoke tests.
commit 492d3010ff
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 01:40:23 2013 +0300
Javascript V8 test-cases always create cpp wrappers.
commit 26b5acbbe8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 00:42:56 2013 +0300
Test-suite Makefile now supports testing for all three Javascript variants.
- node.js
- custom JavascriptCore interpreter
- custom V8 interpreter
commit 962207e0f3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 00:41:18 2013 +0300
Rewritten Javascript autoconfiguration.
commit 29ccb270af
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 00:40:29 2013 +0300
Renamed object provided to JS initializers.
JSC initializer create a new module object.
V8 initializer fill a provided 'exports' object.
commit 4794fa1884
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Sep 6 00:38:07 2013 +0300
Refactored custom javascript engines to support primitive 'require' statements.
commit b49da78b0a
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Sep 5 19:50:15 2013 +0400
fixed deprecation warnings for v8-3.21
commit 740da9c733
Merge: 8b0ee542a39abe
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 09:18:42 2013 -0700
Merge pull request #17 from whoozle/devel
fixed v8-3.20+ compilation and deprecation warnings.
commit 2a39abebb6
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Wed Sep 4 20:10:42 2013 +0400
moved common swig v8 definitions in javascriptruntime.swg, fixed obsoleted api calls
commit 8b0ee5491a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 18:04:40 2013 +0200
Added missing template configuration files for nodejs based tests.
commit 315287b656
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 17:55:44 2013 +0200
Put the SWIG_V8_VERSION macro into "runtime" block.
commit 4068f31c6b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 17:54:35 2013 +0200
Use a diffent name for the V8_VERSION provided via command line.
commit b7db2a84c9
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Wed Sep 4 19:33:48 2013 +0400
fixed return values and added missing newer v8 dtor wrapper.
commit fec11a8def
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 13:07:07 2013 +0200
Allow exceptions in generated example/test node extensions.
commit 54dd7e96c0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 12:47:24 2013 +0200
Fix cleanup configuration for javascript test-suite.
commit 8778146b4b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Sep 4 12:10:08 2013 +0200
Relax type check in SWIG_AsVal_int.
The array_member test-case revealed that integers
come in as `Numbers`.
commit 0e78fc0ad7
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 18:50:46 2013 +0200
Fixing travis configuration.
commit da48f3307f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 18:24:19 2013 +0200
Remove javascript autoconf detection (Temporarily).
I want to cut it down to a minimum having only nodejs.
We will activate the others (native JSC and V8) later.
commit 262aca8ead
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 17:16:40 2013 +0200
Fix in travis config.
commit 83e6aa85b6
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 17:13:38 2013 +0200
Not a real change.
commit 0aabfeb231
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 17:07:49 2013 +0200
Slight modification to travis config.
commit fa27ff2976
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 17:03:08 2013 +0200
Add a travis configuration (experimental).
commit 8bbd928831
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 16:57:40 2013 +0200
Make javascript test-suite work with nodejs.
commit cef82c720f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 14:41:35 2013 +0200
Replace old style v8 version switches.
commit d3074ba4c1
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 14:02:52 2013 +0200
Fix error in SWIG_V8_GetInstancePtr.
commit f70c0e16f2
Author: Kota Iguchi <infosia.jp@gmail.com>
Date: Wed Aug 28 15:08:50 2013 +0900
Add "equals" to compare between pointers
Add "getCPtr" to retrieve pointer value
commit a29975c69a
Author: Kota Iguchi <infosia.jp@gmail.com>
Date: Fri Aug 16 16:08:47 2013 +0900
Typemap for natural support for arrays
commit 78a3cc9e3e
Author: Kota Iguchi <infosia.jp@gmail.com>
Date: Fri Aug 16 10:15:37 2013 +0900
Added the finalize callback (JSObjectFinalizeCallback)
commit 14a137adca
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 06:27:14 2013 +0200
Fix regression.
commit 5da54ca435
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 06:26:54 2013 +0200
Convert javascript examples to nodejs.
commit dbf2b1fe94
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 05:46:19 2013 +0200
Ignore javascript Example build files.
commit 11e2179dd3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 05:40:22 2013 +0200
First example that addresses node.js as primary execution environment.
commit a48438c562
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 05:39:37 2013 +0200
Better v8 version handling.
You should start to specify a version on command line, e.g.,
swig -javascript -v8 -DSWIG_V8_VERSION=0x032007
commit 5228c0eeab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 05:36:41 2013 +0200
Add a dedicated mode for creating node modules.
commit 5aba4c7ea6
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Sep 3 05:35:03 2013 +0200
Starting from scratch with Examples configuration.
commit cb5f4dc47e
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Aug 15 14:33:00 2013 +0400
ported to newer, more efficient v8 api
commit c291675cce
Merge: 046ca760732592
Author: Jason Turner <jason@emptycrate.com>
Date: Fri Aug 9 14:09:43 2013 -0600
Merge branch 'devel' of https://github.com/ewmailing/swig-v8 into devel
commit 0732592ed9
Author: Kota Iguchi <kota@lanica.co>
Date: Wed Aug 7 18:10:53 2013 -0700
Patch to support argout typemap for your swig-v8 branch.
commit 32f9cce600
Merge: 4503c53306b265
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Aug 31 03:47:43 2013 +0200
Merged whoozle branch with ewmailing branch.
Conflicts:
Lib/javascript/v8/javascriptcode.swg
commit 306b265af9
Merge: 65a0be8b511e33
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Aug 31 03:47:08 2013 +0200
Merge branch 'devel' of git://github.com/oliver----/swig-v8 into devel
Conflicts:
Lib/javascript/v8/javascriptcode.swg
commit 4503c53903
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Wed Aug 7 15:12:36 2013 -0700
Since this code uses assert, #include <assert.h> is needed.
commit 65a0be8876
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Thu Jul 11 20:04:01 2013 -0700
v8: variable name bug fix in my template modifications for pointers to structs.
commit f8feeacb68
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Thu Jul 11 19:11:56 2013 -0700
v8: Removed the extern "C" around the initialize function because it makes no sense since it requires a C++ templates object as a parameter.
commit ed729f7d3a
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Thu Jul 11 19:09:17 2013 -0700
This brings over the memory leak fixes for pointers to structs with a %extend destructor from my Neha fork. The generator was not generating and connecting the needed code for the requested destructor to the v8 dtor finalizer.
I did not realize this branch has some JavaScriptCore stuff in it too. Unfortunately, it seems to have its own unique problems (like creating C++ files when it should be generating C files). My changes are targeted for v8, and I don't think my JSCore changes fully reach in this JSCore implementation so more work would need to be done to get this branch working. I think my Neha fork is in better shape at the moment.
Also, I did port over the 'NULL out the dtor function pointer' in the %nodefaultdtor fix to v8.
Usage case:
struct MyData {
%extend {
~MyData() {
FreeData($self);
}
}
};
%newobject CreateData;
struct MyData* CreateData(void);
%delobject FreeData;
void FreeData(struct MyData* the_data);
where the use case is something like:
var my_data = example.CreateData();
my_data = null;
commit 046ca7686b
Author: Jason Turner <jason@emptycrate.com>
Date: Sat Jul 27 12:35:36 2013 -0600
Adjust for v8::Persistent API which was deprecated @ 3.19.16
https://groups.google.com/forum/#!topic/v8-users/oBE_DTpRC08
commit d5df0bb721
Author: Eric Wing <ewing -dot- public |-at-| gmail.com>
Date: Wed Aug 7 15:11:49 2013 -0700
Added #if defined guard for V8_3_14 to allow users from the original SWIG v8 implementation to continue using the new changes. It works similarly to the BUILDING_NODE_EXTENSION in all but two places. This define must be explicitly set by users because there is no way to auto detect. (Perhaps a command line switch can be added to generate this on request?)
commit cf9b7e89ac
Author: Jason Turner <jason@emptycrate.com>
Date: Sat Jul 27 09:50:03 2013 -0600
Get memory updates working with Node.js again.
commit 3af7d543cb
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Wed Aug 7 16:11:59 2013 +0400
fixed crash while instantiating generic-wrapped objects from external code, please review
commit 9e74bdb97e
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Tue Aug 6 15:50:43 2013 +0400
added virtual dtor to V8ErrorHandler
commit 868803ce2a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Aug 31 03:44:44 2013 +0200
Merge replayed as done by c778d16abed35829b103d607a53c8f88e3b2d595
commit a190288e66
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 18 21:03:56 2013 +0400
fixed overloaded functions multiplication
commit 45bfc97ef4
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 18 19:15:38 2013 +0400
converted function templates to the persistent ones (fixed crash on large wrappers)
commit 9b6a4870dd
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 18 18:53:15 2013 +0400
added missing scope.Close()
commit fe25e2dfc8
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 18 18:42:03 2013 +0400
replaced GetInternalField with GetAlignedPointer (it does not work with SetAlignedPointer, btw)
commit 9111773400
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 11 16:41:40 2013 +0400
generate v8-3.19.x compatible code
commit 26a4f84948
Author: Vladimir Menshakov <menshakov@spb.gs.ru>
Date: Thu Jul 11 15:06:08 2013 +0400
added missing javascript/v8 dir
commit b511e33121
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri May 3 18:23:36 2013 +0200
Remove std::iostream relicts from generated v8 wrapper code.
commit d3aa8e06fb
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Jan 30 18:50:03 2013 +0100
Bugfix: treat persistent V8 references correctly.
V8 is somewhat inconvenient regarding invoke of destructors for C++ proxies.
commit 827cef75a3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 25 17:09:13 2013 +0100
Add an ifndef-guard to resolve a warning when building nodejs extension.
commit 31feff8586
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 25 17:03:23 2013 +0100
Add missing return statement in v8 code template.
commit 5da4f5794c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 25 14:20:51 2013 +0100
Add preprocessor define for building node.js extensions.
commit 65560a8664
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 25 14:07:06 2013 +0100
Fix v8 string conversion in case of null arguments.
commit e3da21ee44
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 19:28:44 2013 +0100
Add more ignores.
commit a4036deda8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 19:26:29 2013 +0100
Add pre-processor defines to detect the javascript engine.
commit b0cb875ac1
Merge: 8b10c472252524
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 19:24:12 2013 +0100
Merge branch 'devel' of github.com:oliver----/swig-v8 into devel
commit 8b10c47ed8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 19:23:11 2013 +0100
Fix regression: add an include for Node.js header.
commit 22525249f2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 15:54:08 2013 +0100
Resolve compile warnings in v8_shell.
commit 8eb9aa9e73
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 22 15:53:39 2013 +0100
Add gitignore file.
commit 04c0803f73
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 18 15:35:45 2013 +0100
Fixes in configuration to detect JavascriptCore on MacOSX correctly.
commit 4ac7065c3b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 18 15:34:11 2013 +0100
Bugfix: in javascript interpreter load extensions on MacOSX correctly.
commit 04cdde0563
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Jan 18 15:33:04 2013 +0100
Add test to check javascript unicode strings.
commit caa92740d3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Wed Jan 9 00:33:09 2013 +0100
Add an option to deactivate creation of an extra module object in javascript.
This is useful, if the extension host calls the initializer with custom
local variables.
E.g., this is the case with node.js.
commit 213c107b7f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 8 22:37:16 2013 +0100
Add a swig macro to register node.js extensions.
commit 4fea3a403e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 8 22:36:32 2013 +0100
Generate an extra file part after the initializer for v8 modules.
E.g., this is useful for creating node.js modules.
commit 31844ac72a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 8 22:34:38 2013 +0100
Simplify the signature of the v8 module intializer.
commit 9d630ab930
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Jan 8 21:48:22 2013 +0100
Fix std::string support for v8.
commit 2c4a90a37d
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Tue Dec 4 01:36:51 2012 +0100
Generate defines for initializer function.
commit be06ceea26
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sun Dec 2 23:51:47 2012 +0100
Fixes in std_string for JSC generator.
commit 7fffd801e4
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Dec 1 13:21:22 2012 +0100
Fix std_string.i which generated compile errors in certain cases.
commit fb9c4955fb
Author: Oliver Buchtala <oliver@Olivers-Mac-mini.local>
Date: Thu Nov 29 03:20:49 2012 +0100
Not a real change: removed some trailing spaces.
commit f9d6afbdfe
Author: Oliver Buchtala <oliver@Olivers-Mac-mini.local>
Date: Thu Nov 29 03:19:00 2012 +0100
Add a missing return statement in JS shell.
commit 9d22644563
Author: Oliver Buchtala <oliver@Olivers-Mac-mini.local>
Date: Thu Nov 29 03:17:27 2012 +0100
Rename a argument variable to avoid errors with overloaded functions.
commit bad64925ed
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Nov 23 01:59:54 2012 +0100
Configuration is now easier for building and running examples and tests using v8.
commit caa6827daf
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Nov 23 01:09:11 2012 +0100
Javascript interpreter supports for JSC and V8 simultaneously.
Before, one had to build two different versions.
commit 008adca72f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Thu Nov 22 22:50:50 2012 +0100
Provide more control about the target object/namespace where a v8 module is registered to.
commit 6754bf2b49
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Nov 17 03:41:22 2012 +0100
Generate cleanup code for %newobject.
commit 058a27bf32
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Nov 17 02:12:12 2012 +0100
Simplify creation of a Javascript shell.
commit 57980975a0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri Nov 16 22:10:02 2012 +0100
Generate cleanup code.
commit 94730dad7a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:16:54 2012 +0000
Beautify output of v8 emitter.
Trimming some of the code templates.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 86cb621466
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:16:42 2012 +0000
Add comments to v8 code templates.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 217ffb11d0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:16:26 2012 +0000
Fix regressions of latest commits.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 9b06144d39
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:16:09 2012 +0000
Fix handling of overloaded ctors in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 131a106204
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:15:51 2012 +0000
Improve names and comments of code templates for javascript emitters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 8b7a9fec25
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:15:29 2012 +0000
Add complex support to v8 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 7c7d1cf3b9
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:15:12 2012 +0000
Fix errors related to wrapping and destruction of (undefined) SWIG_TYPES.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 296a5d0285
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:14:48 2012 +0000
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
commit 4616f9643f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:14:37 2012 +0000
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
commit 8948360725
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:14:23 2012 +0000
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
commit 2092793868
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:14:14 2012 +0000
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
commit f814a8e702
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:14:02 2012 +0000
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
commit 8db76ddee1
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:13:42 2012 +0000
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
commit 5425edc508
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:13:29 2012 +0000
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
commit da109ee764
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:13:17 2012 +0000
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
commit 91fc0ff205
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:13:03 2012 +0000
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
commit a82e0a6e8f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:12:46 2012 +0000
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
commit 843c8a408c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:12:33 2012 +0000
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
commit d13289cc91
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:12:18 2012 +0000
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
commit 68f0f859f8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:11:51 2012 +0000
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
commit da6307a19e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:11:32 2012 +0000
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
commit 70383a1b61
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:11:11 2012 +0000
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
commit 84e5476147
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:10:57 2012 +0000
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
commit a4f8e4c1c3
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:10:42 2012 +0000
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
commit 2893df9f73
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:10:27 2012 +0000
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
commit c4ab879027
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:10:10 2012 +0000
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
commit 58e4f9703c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:09:57 2012 +0000
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
commit 915e65135c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:09:43 2012 +0000
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
commit c3918f3f82
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:09:31 2012 +0000
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
commit bd752ff86b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:09:18 2012 +0000
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
commit 1862f43cfc
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:09:05 2012 +0000
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
commit f1e9b21dfd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:08:50 2012 +0000
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
commit 21bdb78f1c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:08:33 2012 +0000
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
commit 9a914af2b7
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:08:16 2012 +0000
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
commit 46cff47ada
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:08:03 2012 +0000
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
commit 78f5b46381
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:07:43 2012 +0000
Fix class example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 022c274256
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:07:21 2012 +0000
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
commit cda09239ad
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:06:58 2012 +0000
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
commit 0cae8fccd0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:06:39 2012 +0000
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
commit 9b0c8dae83
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:06:26 2012 +0000
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
commit d5c5f7ebee
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:06:08 2012 +0000
Generalize ctor overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 7200239277
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:05:51 2012 +0000
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
commit 78442b2764
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:05:37 2012 +0000
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
commit 8d72616e65
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:05:11 2012 +0000
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
commit cdd450fbe4
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:04:51 2012 +0000
Delete obsolete source file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 5fab9c8a38
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:04:40 2012 +0000
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
commit 0341e6b14c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:04:26 2012 +0000
Clean up example Makefiles.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 10dc758cad
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:03:42 2012 +0000
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
commit 672208d8d2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:03:17 2012 +0000
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
commit cbb5b711ab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:03:00 2012 +0000
Fix examples after regressions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 52aef26997
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:02:30 2012 +0000
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
commit 07d5ec24ce
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:02:16 2012 +0000
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
commit eff094ef39
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:01:57 2012 +0000
Add test "constructor_copy".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 548287c600
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:01:41 2012 +0000
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
commit 4d9ca620ab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 01:00:15 2012 +0000
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
commit 387da69e84
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:59:55 2012 +0000
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
commit 66ead9afb2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:59:43 2012 +0000
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
commit d2debe3270
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:59:31 2012 +0000
Add more verbose temporary flags for setters in variable wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 16077503c8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:59:18 2012 +0000
Fix former workaround by concerning static member functions.
"storage" attribute is removed by Language::staticmemberfunctionHandler
which was resolved by a workaround before.
Now, the implementation relies completely on state flags retrieved at
a proper point.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit c470864d12
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:59:03 2012 +0000
Remove some dead code and an obsolete member variable from JSEmitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 46624e24e5
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:58:49 2012 +0000
Remove member variable current_wrapper from JSEmitter.
Instead each emitting function creates local wrapper instance.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 8577ae4179
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:58:37 2012 +0000
Minor clean up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit b778c4816b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:58:23 2012 +0000
Remove a global variable from JSEmitter by making use of JSEmitterState.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 9af3c4879b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:58:11 2012 +0000
Switch to global variable for enabling code template debug information.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit b39e2bfff0
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:57:57 2012 +0000
Refactor JSC emitter to reduce global state variables.
Also meld v8 emitter into javascript.cxx (provisional).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 35e6b73d2a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:57:42 2012 +0000
Add swig configuration files for v8.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 050219d998
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:56:48 2012 +0000
Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel
Conflicts:
.project
COPYRIGHT
Doc/Manual/style.css
Examples/Makefile.in
Examples/test-suite/common.mk
Lib/typemaps/strings.swg
Makefile.in
Source/DOH/fio.c
Source/Makefile.am
Source/Modules/emit.cxx
Source/Modules/javascript.cxx
configure.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 360ef44e09
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:52:41 2012 +0000
Clean up in v8 helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 229f2d0fa5
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:52:28 2012 +0000
Add v8 input typemap for cstrings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 8168750c1b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:52:16 2012 +0000
Add example for string marshalling to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 67a3de9a93
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:52:02 2012 +0000
Add example for inheritance to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 32a32633ba
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:51:47 2012 +0000
Add support for static member variables and functions to v8 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit e8dd979d16
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:51:29 2012 +0000
Update v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 0fd30dc60f
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:51:16 2012 +0000
Add examples to specification of v8 code generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit badf090cb5
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:51:00 2012 +0000
Extend and rename v8 helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 65d4769af8
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:50:41 2012 +0000
Add initial support for argument marshalling using typemaps to v8 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 0e60acfebd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:50:19 2012 +0000
Minor restructuring in v8 generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 71bee1e78c
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:50:06 2012 +0000
Complement variable processing in v8 generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 8e0711cbc6
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:49:44 2012 +0000
Fix memory related bug in generalized javascript emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 285badb95b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:49:32 2012 +0000
Improve v8 generator regarding registration of function wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 7ba26c8a26
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:49:15 2012 +0000
Minor change in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 9a599be8ab
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:49:02 2012 +0000
Fix order of registration in v8 generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 886f17c343
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:48:43 2012 +0000
Implement namespace support for v8 generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 90bbc6430b
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:48:24 2012 +0000
Update v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 6c90d1eb6d
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:48:11 2012 +0000
Minor improvements in v8 emitter implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 83ac719315
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:47:51 2012 +0000
Add manual generated v8 wrapper examples to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit a0b71935f2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:47:38 2012 +0000
Update v8 code generator specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 3c30e2d382
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:47:19 2012 +0000
Add initial Javascript V8 emitter implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 4bcfca05dd
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:46:31 2012 +0000
Add some implementation details to specification of v8 code generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit e888d7a892
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:46:18 2012 +0000
Add a document about mapping C++ language features to Javascript.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 5b5fdb171e
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:46:03 2012 +0000
Add a paragraph about control flow analysis to V8 specification.
Control flow analysis for use cases:
- static variables
- simple class
- class properties
- class methods
- static class variables and functions
- inheritance.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit 5c3fef6367
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:45:49 2012 +0000
Add initial version of a CMake configuration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit ba40fffd91
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:45:35 2012 +0000
Add initial specification of code generator templates for V8 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit d71a5f483a
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Sat Sep 8 00:44:54 2012 +0000
Add module for Javascript target.
This module comes with a design that allows different code emitter implementations.
For the the phase of development the module is split into multiple files
which will be merged together when development converges.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit c86ce942c2
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri May 11 19:20:07 2012 +0000
Correct place of copyright entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
commit d6060ceced
Author: Oliver Buchtala <oliver.buchtala@googlemail.com>
Date: Fri May 11 13:55:16 2012 +0000
Add copyright entry for Oliver Buchtala.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
- Update project files to use Visual Studio 2005 (minimum supported .NET
is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
* 'class_p1' of github.com:v-for-vandal/swig:
Fixing registerClass. No more wrap: unnecessary attributes
Fixed registerMethod to work like registerVariable
Switched to Swig_name_* functions
Return MIN_OPT_LEVEL for elua
add nspace_extend test case
updated documentation following comd options renaming
Options in alphabetical order
Members renaming
target_name -> lua_name
Fixing cmd options, again
Fixing segfault
Removed class_parent_nspace
Fixes to module options
Rename methods to make it clear what 'symbols table' they operate on.
Small documenation fixes
Updating Lua documentation
Eliminating namespaces_hash and using symbols table instead
Attempt to catch unreproducable bug from Travis CI build
Small bugfixes
Bugfixes for eLua. eLua emulation mode
Add compatibility option for old-style inheritance
Add support for C-style enums in C mode. And tests.
Style fixes. Comments fixes. Fixing cmd options. etc
Some fixes for elua
Attempt to fix unreproducable bug (from Travis CI build)
Fixes for examples. Wrapped keywords into guardian in keyword_rename test
Remove some typos
Remove some obsolete code
Manually beautifying luarun.swg
Code beautifier
Valuewrapper test
Removing obsolete debug code
Bugfixes
A few bugfixes
Some class bases iteration improvements
Fixes for elua
Bugfixes
Bugfixes. CMD args handling. Code cleanup
Bugfixes
Preparations before pull request - part 1
More changes. Mostly to the would-be class library
Fixing issuse with v2-compatible static function names
Add pointer guard
Add runtime test
Bugfixes
nspace.i example is working
Initial implementation - everything compiles but might not work