William S Fulton
f55e0092ef
Remove pointless code from Java director:except patch
2013-10-23 18:43:36 +01:00
William S Fulton
97fd20a58d
Minor improvements to Java director:except patch
2013-10-23 18:43:13 +01:00
William S Fulton
9237c4553c
Code style conforming channges for Java director:except patch
2013-10-23 18:26:41 +01:00
Marvin Greenberg
6736e74127
Add feature director:except for improved director exception handling in Java
...
Closes #91
2013-10-22 20:44:35 +01:00
William S Fulton
ec1d5a5be1
Correct guile help for -Linkage.
...
-linkage does not work (it clashes with the generic -l option).
2013-10-21 21:36:07 +01:00
William S Fulton
d15220cba4
Remove a couple of unused variable warnings in generated code
2013-10-18 19:10:42 +01:00
Brant K. Kyser
adb93980f2
Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
2013-10-17 15:44:24 -05:00
Brant K. Kyser
3235570619
Globablly qualify the use of types from the .NET framework's System namespace in the C# module and library.
2013-10-17 13:27:48 -05:00
William S Fulton
9c7d014389
T_STRING is now const char * instead of char *
...
Fixes Guile constant wrappers removing -Wwrite-strings g++ warning.
2013-10-17 18:36:59 +01:00
Vadim Zeitlin
72afb74f47
Add support for case conversion characters in regex substitutions.
...
Allow using Perl-like \l, \L, \u, \U and \E escape sequences in the
substitution string used with %rename("%(regex:/pattern/subst/)s").
This is useful for e.g. title casing all string after removing some prefix.
Closes #82
2013-10-15 07:17:56 +01:00
Nikhil Shetty
aad30cf4de
BUGFIX: superclass name not lispy
...
The superclass names were not lispified correctly and so the class was inheriting
from erroneous class symbols.
Closes #96 .
2013-10-12 14:32:50 +01:00
William S Fulton
7b08378145
Minor cleanup prior to merging to master
2013-10-11 21:48:45 +01:00
William S Fulton
bcb7aee022
Merge branch 'master' into gsoc2009-matevz
...
Conflicts:
Examples/Makefile.in
Examples/guile/Makefile.in
Lib/php/php.swg
Makefile.in
Source/CParse/parser.y
configure.ac
2013-10-10 07:26:09 +01:00
William S Fulton
738cc36aab
Rename all C++0x to C++11 and cpp0x to cpp11
2013-10-07 20:37:00 +01:00
William S Fulton
3fcbb40af9
Remove incorrectly and newly introduced assert
...
Was failing in li_boost_shared_ptr.i for some languages. A similar
testcase has been added into naturalvar_more.i.
2013-10-05 02:16:02 +01:00
William S Fulton
e186d2176a
Fix %naturalvar and templated methods using enums
...
%naturalvar was not being picked up - use the symbol table instead for
looking up the feature.
use_naturalvar_mode() has been moved to Language class (not strictly necessary though)
2013-10-04 23:08:33 +01:00
William S Fulton
c4d40c7b64
PHP directors - generate call_user_function on one line
2013-10-01 22:13:57 +01: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
Olly Betts
12708c9241
Fix typos
2013-09-25 17:29:33 +12: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
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
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
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
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
bb7bd50eab
Add support for IN/OUTPUT typemaps.
2013-09-16 00:55:43 +02: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
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
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
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
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
Oliver Buchtala
b6c9c97b96
Fix Javascript generator to use %renamed variable names.
2013-09-09 15:05:11 +03:00
Oliver Buchtala
1729fac360
Bug-fix for static variables as proposed by Kota Iguchi.
...
Fixes #20 .
2013-09-09 12:46:07 +03:00
Oliver Buchtala
29ccb270af
Renamed object provided to JS initializers.
...
JSC initializer create a new module object.
V8 initializer fill a provided 'exports' object.
2013-09-06 00:40:29 +03:00
Kota Iguchi
78a3cc9e3e
Added the finalize callback (JSObjectFinalizeCallback)
2013-09-03 13:49:36 +02:00
Oliver Buchtala
5228c0eeab
Add a dedicated mode for creating node modules.
2013-09-03 05:36:41 +02:00
William S Fulton
67659773cc
Remove some Java references from C# module
2013-09-02 19:14:20 +01:00
Kota Iguchi
0732592ed9
Patch to support argout typemap for your swig-v8 branch.
2013-08-31 03:47:49 +02:00
Oliver Buchtala
32f9cce600
Merged whoozle branch with ewmailing branch.
...
Conflicts:
Lib/javascript/v8/javascriptcode.swg
2013-08-31 03:47:43 +02:00