Commit graph

2,264 commits

Author SHA1 Message Date
Simon Marchetto
07b06a4089 Merge branch 'master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	COPYRIGHT
	Examples/Makefile.in
	Examples/test-suite/constructor_copy.i
	Makefile.in
	configure.ac
2014-06-06 16:33:16 +02:00
Simon Marchetto
9dda9285ea scilab: fix allprotected test (scilab 6) 2014-06-06 12:03:03 +02:00
Simon Marchetto
8e4041478f scilab: fix Scilab variable creation for scilab 6 2014-06-05 18:34:19 +02:00
Simon Marchetto
d8e22f0e21 scilab: fix test bools (scilab 6) 2014-06-02 18:16:39 +02:00
William S Fulton
81d023ac05 Merge branch 'wkalinin-csymbols-2' - %extend and nested structs
* wkalinin-csymbols-2:
  Add runtime test for %extend and nested union
  test fixed
  %extend symbols for nested structs get into a wrong C symbol table
2014-06-02 07:11:22 +01:00
Karl Wette
ecf28da5a9 Octave: remove deprecated -global/-noglobal command-line arguments 2014-05-29 23:42:55 +02:00
Karl Wette
ebe1338015 Octave: whitespace/indentation cleanup of octave.cxx 2014-05-29 23:42:55 +02:00
Vladimir Kalinin
665c4f581b %extend symbols for nested structs get into a wrong C symbol table 2014-05-28 22:15:50 +04:00
William S Fulton
b531956467 Warning fixes compiling with Visual Studio 2014-05-27 21:55:17 +01:00
Simon Marchetto
82fed351dd scilab: for scilab 6, cannot pass API pointer everywhere in SWIG, use global pointer for now 2014-05-22 11:27:25 +02:00
Simon Marchetto
a74874f288 scilab: support of Scilab 6: gateway signatures 2014-05-22 10:59:57 +02:00
William S Fulton
71e72c45ed Create separate extetnd.c file for handling extensions / %extend
This is just a simple code refactor, moving and function renaming to
remove the %extend code out of the parser into its own file now
 that it isn't just used in the parser.
2014-05-21 19:16:15 +01:00
William S Fulton
9e4bce051d Merge branch 'wkalinin-csymbols-1'
* wkalinin-csymbols-1:
  obscure case workaround in std::set wrapper, where ignored type still need to be processed
  global unnamed structures ignored
  test added for nested unnamed C struct %extend
  %extend for nested unnamed C structs
2014-05-20 18:10:41 +01:00
Oliver Buchtala
0c42158723 Javascript: preparations for using Language::getNSpace(). 2014-05-19 00:20:19 +02:00
Vladimir Kalinin
d2ab75f907 obscure case workaround in std::set wrapper, where ignored type still need to be processed 2014-05-19 02:05:23 +04:00
Vladimir Kalinin
3692e175bc global unnamed structures ignored 2014-05-15 03:13:25 +04:00
Vladimir Kalinin
5d78f14b1c test added for nested unnamed C struct %extend 2014-05-14 00:56:39 +04:00
Vladimir Kalinin
2aa540b9c0 %extend for nested unnamed C structs 2014-05-14 00:51:36 +04:00
William S Fulton
a6e5e97157 Javascript cosmetic changes 2014-05-01 19:41:17 +01:00
William S Fulton
f51be1ca5c Merge branch 'master' into javascript
* master:
  Fix some typos
  [PHP] The generated __isset() method now returns true for read-only properties.
  Eliminate needless casting away const from string constants
  Fix typos
  Fix missing ")" in code example
  Fix comment typos
  Fix m4 quoting of checks for yodl2man and yodl2html versions
  Fixed errors from previous commit.
  Removed all unnecessary asserts
  Remove unused variable
  Another go html fix
  Fix intgosize arg documentation
  Optimize metamethods inheritance resolving
  Updating documentation
  Whitespace cleanup of Example Makefiles
  .gitignore: ignore Lib/swigwarn.swg
  Fixing unused variable warnings
  Finish implementation with proxy functions
  Remove duplicate declarations of strtoimax and strtoumax in inttypes.i
  Ignored enum fixes.
  Further shift operator regression fixes
  Fix use of shift operators in expressions regression since 3.0.0
  Fix seg fault with extra ) brackets and >>
  More efficient end of template bracket (>>) handling
  beautify scanner.c
  Tidy up scanner.c
  DOH readme correction
  Fix typo in -lua -help output
  Remove extra </div>
  Update documentation for deprecation and removal of Close()
  Fix segfault when there are too many closing round brackets in parsed code
  Refix operator<< definition giving a syntax error
  Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
  Remove unnecessary block from PHP version of SWIG_exception macro
  [PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP.
  Fix potential bugs found by Coverity analysis
  Eliminate unused parameter from SWIG_Php_GetModule()
  Fix comment typo
  Fix compiler warnings in generated Lua code
  [PHP] Pass the ZTS context we already have to avoid needing to call TSRMLS_FETCH, which is relatively expensive.
  [PHP] Pass ZTS context through to t_output_helper() so it works with a ZTS-enabled build of PHP.  Reported by Pierre Labastie in github PR#155.
  Lua test-suite can now be run out of source
  Fix out of source test-suite runs for Octave
  Add runtime test for commit 7a96fba836
  Add C++11 constexpr runtime test
2014-05-01 19:01:20 +01:00
William S Fulton
5792e97a44 Javascript: ensure banner appears before %begin code 2014-05-01 18:13:35 +01:00
Olly Betts
73bb909bae [PHP] The generated __isset() method now returns true for read-only properties. 2014-05-01 14:37:58 +12:00
Olly Betts
36be36d618 Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
Olly Betts
618868ce3d Fix typos 2014-04-29 11:31:29 +12:00
Olly Betts
1a256b7f32 Merge pull request #160 from v-for-vandal/issue_157
Fixing unused variable warnings
2014-04-28 08:10:54 +12:00
Oliver Buchtala
7a7faab765 Fix bug and regression in javascript namespace generator. 2014-04-27 00:34:49 +02:00
Oliver Buchtala
d81fe244e3 Prettify generated output in JS emitters. 2014-04-27 00:34:19 +02:00
Oliver Buchtala
74825d2d1a Fix regression of 226da4. 2014-04-26 22:47:57 +02:00
Oliver Buchtala
226da453fc Print error when specified multiple js engines.
Plus, consolidated names: EmitterType, mode, engine -> engine.
2014-04-26 22:27:12 +02:00
William S Fulton
4edb618501 beautify javascript.cxx 2014-04-25 07:26:27 +01:00
William S Fulton
a80f4551db Javascript variable naming convention corrections
Also rename global -> globals just to placate the beautifier
2014-04-25 07:21:32 +01:00
William S Fulton
a5e91f26a1 Cosmetic code changes in javascript.cxx 2014-04-24 21:54:44 +01:00
Simon Marchetto
10eaeba451 scilab: fix typo error 2014-04-23 09:43:30 +02:00
Oliver Buchtala
fe3f00837c Fix regression in Javascript generator for enums. 2014-04-23 03:46:46 +02:00
Oliver Buchtala
953f2f91dc Fix generator for Javascript enums. 2014-04-23 02:26:47 +02:00
Oliver Buchtala
3c593f56de Turn on Swig_cparse_cplusplusout for Javascript/v8. 2014-04-23 02:26:24 +02:00
Artem Serebriyskiy
c1ca144ed2 Fixed errors from previous commit.
Also in previous commit also fixed warning with unsigned vs signed
comparison
2014-04-23 01:48:10 +04:00
William S Fulton
61a75f3b65 Remove unused variable 2014-04-22 19:43:16 +01:00
Simon Marchetto
034aa554ba scilab: for internal modules, create a script to generate gateway entry point 2014-04-22 18:20:25 +02:00
Simon Marchetto
4c426d47a0 scilab: in library name remove suffix lib, add option to choose name instead 2014-04-17 14:39:04 +02:00
Simon Marchetto
656f2b8932 scilab: fix comment and indentation 2014-04-16 18:02:50 +02:00
William S Fulton
4837c5c9eb Add missing license info 2014-04-16 07:50:28 +01:00
William S Fulton
d8b3b4e474 Improve missing JS engine error message 2014-04-16 07:39:25 +01:00
Artem Serebriyskiy
8512bad8c2 Fixing unused variable warnings
* Fixing unused variable warning. Generated code should compile
  with -Wall -Werror flags

* Fixing forgotten __Module -> SwigModule renaming
2014-04-16 03:37:27 +04:00
Simon Marchetto
27a9fe476e scilab: add missing helper and init functions in gateway XML 2014-04-15 15:21:48 +02:00
Simon Marchetto
ee8cfd3043 scilab: new option -gwid to generate gateway xml file 2014-04-14 12:44:20 +02:00
William S Fulton
244ad06c25 Alphabetical order for Javascript in -help output 2014-04-10 08:11:33 +01:00
William S Fulton
dc8428889e Ignored enum fixes.
C#/Java - Enums which have been ignored via %ignore and are subsequently
used are handled slightly differently. Type wrapper classes are now generated
which are effectively a wrapper of an empty enum. Previously in Java uncompilable
code was generated and in C# an int was used.
2014-04-08 23:25:27 +01:00
Olly Betts
559128e14e Fix typo in -lua -help output 2014-04-07 23:00:49 +12:00
Olly Betts
f563069e7b [PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP. 2014-04-03 10:38:19 +13:00