Vladimir Kalinin
8bc38dc007
fixes "flatnested" feature for out-of-scope defined nested classes
2014-11-04 19:30:53 +03:00
Alexey Pelykh
837d2bfd04
Removed useless code (it does not affect output, at least on our testcases)
2014-11-03 12:10:10 +02:00
William S Fulton
698248d2bf
beautify scilab.cxx
2014-10-31 23:27:36 +00:00
William S Fulton
c150fc033d
Scilab minor coding improvements
2014-10-31 22:00:48 +00:00
William S Fulton
6d6cefa791
Fix 'self' parameter name clash when generating for Python builtin
2014-10-31 07:23:08 +00:00
William S Fulton
6029b2f7d8
Fix for 'self' being used as a parameter name
2014-10-30 07:22:59 +00:00
William S Fulton
cd725fbe94
Minor cosmetic source code changes
2014-10-28 07:07:44 +00:00
William S Fulton
36ae32e941
Merge remote-tracking branch 'vadz/py-args'
...
* vadz/py-args:
Allow using enum elements as default values for Python functions.
Don't always use "*args" for all Python wrapper functions.
No real changes, just make PYTHON::check_kwargs() const.
Refactor: move makeParameterName() to common Language base class.
Remove long line wrapping from Python parameter list generation code.
2014-10-27 20:02:59 +00:00
Simon Marchetto
52d2291b66
Merge branch 'patch-5' of https://github.com/ibell/swig into ibell-patch-5
...
Conflicts:
Source/Modules/scilab.cxx
2014-10-27 12:15:36 +01:00
Simon Marchetto
1875f841e5
scilab: simplify builder script file
2014-10-22 12:19:01 +02:00
Simon Marchetto
fd1e387a0e
scilab: rename build command line options
2014-10-21 17:00:51 +02:00
Simon Marchetto
6abf66324a
scilab: add the SWIG banner to the generated gateway XML
2014-10-21 14:55:46 +02:00
Simon Marchetto
30faff1fce
scilab: remove outputlibrary option + renaming module to gateway
2014-10-21 14:39:18 +02:00
William S Fulton
3dcc501ac0
Spelling fix
2014-10-21 07:55:07 +01:00
William S Fulton
bfde148887
The kwargs feature no longer turns on compactdefaultargs for languages that don't support kwargs.
...
Affects all languages except Python and Ruby.
Closes #242
2014-10-21 07:34:51 +01:00
William S Fulton
b57a675d00
Cosmetic comment changes
...
Note: copyrights are in the COPYRIGHT file
2014-10-21 07:34:51 +01:00
Simon Marchetto
d3afd65698
scilab: fix compilation error in scilab 5.3.3
2014-10-20 17:03:17 +02:00
Simon Marchetto
6c84d9bd3c
scilab: fix gateway entry point name
2014-10-20 14:53:29 +02:00
Simon Marchetto
f069cba2b4
scilab: swig generates loader script
2014-10-20 14:49:25 +02:00
Simon Marchetto
c440eae1f9
scilab: fix generated gateway source (missing include, entry point name)
2014-10-20 10:16:19 +02:00
Simon Marchetto
af88d49113
scilab: fix segmentation fault
2014-10-17 19:47:00 +02:00
Simon Marchetto
78b3e5bc46
scilab: generate gateway source with swig
2014-10-17 19:46:29 +02:00
Simon Marchetto
32c76be163
scilab: change swig options, new option -gatewayxml, remove -internalmodule
2014-10-17 17:33:27 +02:00
Ian Lance Taylor
0577ff2220
[Go] Adjust last patch to avoid write-after-write data race on global
...
variable. Only set the variable if another global variable is true,
but that variable is always false. The effect is that the variable is
never written, but as far as the compiler is concerned it might escape.
2014-10-14 10:05:43 -07:00
Ian Lance Taylor
1226970b9f
[Go] More fixes for Go 1.4. Ensure that values with argout or freearg
...
typemapes escape, and refer to them using local variables loaded at
the start of the function, in case the argout or freearg template
causes a stack copy.
2014-10-11 19:07:14 -07:00
William S Fulton
78b904764a
Merge branch 'diorcety-python_property'
...
* diorcety-python_property:
Changes file entry for Python director property fix
Python: Fix property access with director
Conflicts:
CHANGES.current
2014-10-11 00:22:21 +01:00
William S Fulton
376ebc2d85
Revert "Octave: whitespace/indentation/style cleanup of octave.cxx"
...
This reverts commit 5ac475cbcd .
Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:06 +01:00
William S Fulton
23373e9ffd
Revert "Octave: cleanup/restructure library files"
...
This reverts commit bf12d76d03 .
Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:34:02 +01:00
William S Fulton
a9c9c9c848
Revert "Octave: remove unused field SwigOctClass::constructor_doc"
...
This reverts commit afa9affcd9 .
Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:40 +01:00
Anthony Li
d0b6a4bfc5
del tmp files
2014-10-06 19:35:33 +08:00
Anthony Li
60da096a07
GoLang:fix overload functions with polymorphic issue
2014-10-06 19:26:07 +08:00
Karl Wette
afa9affcd9
Octave: remove unused field SwigOctClass::constructor_doc
2014-10-05 20:54:20 +02:00
Karl Wette
bf12d76d03
Octave: cleanup/restructure library files
...
- Restructure runtime code into declarations, function
and class definitions, and initialisation code
- Rename internal functions/types to follow SWIG_Octave...
or SwigOct... naming styles
- Style/comment/whitespace cleanups
2014-10-04 19:18:32 +02:00
Karl Wette
5ac475cbcd
Octave: whitespace/indentation/style cleanup of octave.cxx
...
- Used "astyle -A10 -s2 -N -p -H -U -k1" for style cleanup
- Replaced NewString("") with NewStringEmpty()
- Used 'w' instead of 'f' for Wrapper() objects
2014-10-04 13:29:46 +02:00
Yann Diorcet
558af639bd
Python: Fix property access with director
2014-10-01 11:07:02 +02:00
William S Fulton
a06dff17ad
Merge pull request #207 from johan-hake/johanhake/fix-206-swig-relative-import
...
Fix issue with relative import when using single header file import [Python]
2014-09-30 20:22:55 +01:00
Johan Hake
de4f30bd3c
Small fixes to the relative import fix.
...
-- Now the tests actually runs
-- Corrected the syntax for the fix in the yacc file
2014-09-29 17:37:41 +02:00
Simon Marchetto
db7cf46282
scilab: fix segfault
2014-09-29 14:52:51 +02:00
Simon Marchetto
8b998cb538
scilab: truncates too long (struct, class) member names
2014-09-26 17:23:27 +02:00
Ian Lance Taylor
4b64ce71a3
[Go] Adjust generated code to work with upcoming Go 1.4 release.
2014-09-25 12:10:11 -07:00
Simon Marchetto
3ca185197c
scilab: truncates too long identifier names (in addition to display warnings)
2014-09-25 14:29:52 +02:00
Simon Marchetto
8e791562a4
scilab: rearrange some comments
2014-09-24 08:59:55 +02:00
Simon Marchetto
c88292ad89
scilab: in builder.sce use absolute path for source files
2014-09-15 11:50:54 +02:00
Ian Bell
3c16d8ed43
More clear description of buildverbositylevel
2014-09-15 02:00:07 +02:00
Ian Lance Taylor
39433f12e4
Fix one case where we test goout rather than has_goout. The effect
...
was to incorrect use a return statement before the goout typemap
code.
2014-09-12 17:46:21 -07:00
Olly Betts
1a99212c2c
[PHP] Add support for specifying any PHP interfaces a wrapped class
...
implements, e.g.: %typemap("phpinterfaces") MyIterator "Iterator";
2014-09-12 12:48:37 -03:00
Simon Marchetto
f58be33005
scilab: rename function name management routines
2014-09-11 14:46:44 +02:00
Ian Lance Taylor
06b1157470
Make sure to give all parameters a local before adding all the new
...
typemaps.
Also mark C functions compiled by 6c and friends as nosplit.
2014-09-10 16:17:54 -07:00
Simon Marchetto
35b6732b3d
scilab: fix wrong code in generated script builder.sce
2014-09-10 15:13:43 +02:00
Ian Lance Taylor
acaaa0f31f
[Go] Add goargout typemap.
2014-09-09 11:28:04 -07:00