Artem Serebriyskiy
4a94345c9a
Switched to Swig_name_* functions
2014-02-25 12:51:28 +04:00
Olly Betts
2f3bf144c6
Fix assorted comment and documentation typos
2014-02-23 17:15:22 +13:00
Artem Serebriyskiy
dac0e989e3
Options in alphabetical order
2014-02-22 19:01:48 +04:00
Artem Serebriyskiy
166b19e860
Members renaming
2014-02-22 18:26:46 +04:00
Artem Serebriyskiy
f12d8aa174
target_name -> lua_name
2014-02-22 18:06:47 +04:00
Artem Serebriyskiy
77a7069f9e
Fixing cmd options, again
2014-02-22 17:56:21 +04:00
Artem Serebriyskiy
ec629beb31
Fixing segfault
2014-02-22 15:46:22 +04:00
Oliver Buchtala
8e65414a76
Add an extra argument for enabling nodejs support.
...
This is essentially using the v8 emitter plus setting a #define.
2014-02-20 11:37:15 +01:00
Oliver Buchtala
48e7df8eb2
Better error message when no Javascript emitter is specified.
2014-02-20 11:15:18 +01:00
Artem Serebriyskiy
b30aa53709
Removed class_parent_nspace
2014-02-19 16:02:49 +04:00
Artem Serebriyskiy
2767f2a55e
Fixes to module options
2014-02-19 14:05:29 +04:00
Artem Serebriyskiy
4eef510e33
Rename methods to make it clear what 'symbols table' they operate on.
2014-02-19 13:34:50 +04:00
Artem Serebriyskiy
e6d0f1327b
Eliminating namespaces_hash and using symbols table instead
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
14452cad03
Attempt to catch unreproducable bug from Travis CI build
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
0c6263a0c2
Small bugfixes
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
705beb6753
Bugfixes for eLua. eLua emulation mode
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
0ee724ca80
Add compatibility option for old-style inheritance
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
6d49a57b53
Add support for C-style enums in C mode. And tests.
...
In backward compatible mode C style enums binding are correctly
generated
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
4b0ed73317
Style fixes. Comments fixes. Fixing cmd options. etc
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
a87710275d
Some fixes for elua
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
89c6fbb780
Attempt to fix unreproducable bug (from Travis CI build)
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
7e09b6687e
Remove some typos
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
1e282e3981
Code beautifier
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
a3515ca450
Removing obsolete debug code
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
f1fb2cc295
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
dcbcac42b7
A few bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
c775e66048
Fixes for elua
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
9d6cd75c73
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
da0510376c
Bugfixes. CMD args handling. Code cleanup
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
7e052c1873
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
aa1b8298ca
Preparations before pull request - part 1
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
63a26c6dbe
More changes. Mostly to the would-be class library
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
577f20c990
Fixing issuse with v2-compatible static function names
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
ad375d9526
Add pointer guard
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
602cf3a797
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
295788c8a0
nspace.i example is working
2014-02-19 13:34:47 +04:00
Artem Serebriyskiy
1c5a0f8b9c
Initial implementation - everything compiles but might not work
2014-02-19 13:34:47 +04: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
1e34ecdc31
Next iteration on creating a documentation for the Javascript module.
2014-02-13 19:25:16 +01:00
Simon Marchetto
9a8b1207ca
scilab: fix scilab_enums test: enum returned as double, and enum value computing
2014-02-11 16:28:57 +01:00
Vladimir Kalinin
2f3d93e93a
Nested classes support is diversified, depending on the language capability. If the language cannot support nested classes, they will be unconditionally moved to the global namespace. If language module does not override Language::nestedClassesSupport() function, nested classes will be ignored, unless "feature:flatnested" is used.
2014-02-02 22:38:13 +04:00
Ian Lance Taylor
fa9a6d58ed
[Go] Fix handling of C type "long" on 32-bit systems. It was broken
...
for C++ long& and for big-endian systems in general.
2014-01-27 17:49:35 -08:00
Ian Lance Taylor
f2dc3a9c1f
[Go] Add %go_import directive.
2014-01-21 11:27:09 -08:00
William S Fulton
5c6bc5db3e
Remove -nonaturalvar and nonaturalvar option in %module
...
These didn't work, were not documented and don't seem necessary
2014-01-11 19:34:44 +00:00
William S Fulton
c34d7f6d23
%naturalvar feature fixes and documentation
...
Fix and document the naturalvar feature override behaviour - the naturalvar
feature attached to a variable name has precedence over the naturalvar
feature attached to the variable's type. The overriding was not working
when turning the feature off on the variable's name.
Fix so that any use of the naturalvar feature will override the global
setting. Previously when set globally by -naturalvar or %module(naturalvar=1),
use of the naturalvar feature was not always honoured.
2014-01-11 19:32:43 +00:00
Ian Lance Taylor
90eb5f9095
[Go] Fix bug that broke using directors from a thread not created by Go.
2014-01-06 09:28:52 -08:00
Vladimir Kalinin
3412cc2f64
Merge pull request #123 from wkalinin/test2
...
fixed enums & enum values language symbol table namespace
fixed skipping of %templates in %extend if they are in the wrong scope
2013-12-26 00:33:28 -08:00
William S Fulton
44dd28950c
Python import code beautify
2013-12-24 17:22:42 +00:00
Paweł Tomulik
5562deec62
Fixed SF bug #1297 (Python imports)
...
This changeset resolves several issues related to python imports.
For example, it's possible now to import modules having same module
names, but belonging to different packages.
From the user's viewpoint, this patch gives a little bit more control on
import directives generated by swig. The user may choose to use relative
or absolute imports (docs are provided in separate PR).
Some details:
- we (still) generate import directives in form 'import a.b.c' which
corresponds to absolute imports in python3 and (the only available)
ambiguous one in python2.
- added -relativeimport option to use explicit relative import syntax
(python3),
Tests are under Examples/python, these are in fact regression tests but
with the current swig testing framework it seems to be impossible to put
appropriate tests under test-suite.
Closes #7
2013-12-24 17:22:25 +00:00
William S Fulton
279ebdc0cf
Beautify director output
2013-12-23 18:21:52 +00:00