Commit graph

18,401 commits

Author SHA1 Message Date
William S Fulton
2f22e9c889 Typo fix in error messages from swigarch.i 2015-02-04 23:07:18 +00:00
William S Fulton
a33eb5a34a Merge pull request #323 from wolski/patch-1
add @SuppressWarnings("unused") to constructors generated using SWIG_JAVABODY_TYPEWRAPPER macro
2015-02-04 22:43:21 +00:00
Ian Lance Taylor
2752d78ce6 [Go] Use a unique name for the wrapper functions, since they are
publicly visible.  This permits linking together different SWIG
wrappers in the same program if they wrap the same function.  The
unique name is generated by hashing the .swig file.
2015-02-04 13:18:00 -08:00
Witold Wolski
70cccf38fd add @SuppressWarnings("unused") to constructors generated using SWIG_JAVABODY_TYPEWRAPPER macro 2015-02-04 10:12:37 +01:00
Ian Lance Taylor
96134c65a8 Change Go test case to compile with current compiler.
Recent changes caused this to give an error about an unused variable.
2015-02-03 13:55:41 -08:00
William S Fulton
7c2ed7eae5 Python html doc cosmetic tweaks
[skip ci]
2015-02-02 20:00:07 +00:00
William S Fulton
76d813f321 Python director documentation correction
Fixes #https://github.com/swig/www/issues/2
[skip ci]
2015-02-02 19:52:07 +00:00
William S Fulton
7c3eca368b Add Scilab to ANNOUNCE
[skip ci]
2015-02-01 01:05:34 +00:00
William S Fulton
e44e3d3e39 Sun studio workaround for callback testcase 2015-02-01 00:56:28 +00:00
William S Fulton
d834202695 Bump version to 3.0.6
[skip ci]
2015-02-01 00:55:35 +00:00
William S Fulton
939dd5e1c8 Add Scilab to README file 2015-01-31 17:51:17 +00:00
William S Fulton
dbd446f806 C++11 mention in doc Introduction 2015-01-31 17:49:11 +00:00
William S Fulton
72c78591df html fixes 2015-01-31 17:39:37 +00:00
William S Fulton
85145302be Add release info for 3.0.5 2015-01-31 17:39:37 +00:00
William S Fulton
3555842c45 Update changes file 2015-01-31 17:39:37 +00:00
William S Fulton
f1213809a2 Fix python tests for old versions of Python 2015-01-31 17:39:36 +00:00
William S Fulton
76bcec1d87 Test-suite fixes for python -classic
These are mostly workarounds for static class members not being supported for
old style classes, as documented in Python.html, "C++ classes".
2015-01-31 15:04:35 +00:00
William S Fulton
39a75442a1 Fix Python -classic and property setting
Setting properties on classic classes was broken in swig-3.0.3 by attempting to use __setattr__. This regression is fixed now by using __dict__ again when using -classic.

Fixes patch #232.
2015-01-30 23:27:22 +00:00
William S Fulton
727d74f6be Python C89 fix mixed code and declarations compiler error in constants code from patch #250 2015-01-28 08:09:06 +00:00
William S Fulton
625fb309a3 Corrections to changes file 2015-01-27 19:31:59 +00:00
William S Fulton
760d603918 Warning and error fixes for Solaris Sun Studio compiler 2015-01-27 19:30:24 +00:00
William S Fulton
2e8dfbcc3e Add Scilab to html docs 2015-01-27 19:30:24 +00:00
William S Fulton
5dba60943c Scilab html fixes 2015-01-27 19:30:24 +00:00
William S Fulton
75e33bb750 Re-organise .gitignore a bit 2015-01-27 19:30:24 +00:00
William S Fulton
d0cf20cb18 Travis file tidy since scilab merge 2015-01-27 19:30:24 +00:00
Simon Marchetto
70082b9343 scilab: added scilab support in CHANGES 2015-01-27 14:31:15 +01:00
William S Fulton
290aa164bc Merge branch 'gsoc2012-scilab'
* gsoc2012-scilab: (800 commits)
  Cosmetic changes in a few test cases
  Scilab testcase fix
  Fix preproc_line_file test
  Fix 'not defined SWIGSCILAB' in testcases
  Add missing SWIGSCILAB in wrappers and fix unions test for non-scilab languages
  scilab: other doc minor fixes
  cosmetic changes in doc
  remove -nobuilder option
  remove useless direct_gateway function in wrapper
  scilab: fix throw_exception test
  Scilab command line options put in alphabetical order and some html tweaks
  Fix typo
  Scilab cosmetics
  Scilab makefile tidyup
  change 'Module' section to 'Builder modes' and other fixes
  reduce slightly the gateway source
  update doc
  fix failing unit tests with Scilab V6
  fix buildermode error with Scilab V6
  fix Scilab V6 support after merge of gateway & wrapper sources
  do no generate builder by default
  gateway source is moved into wrapper source
  beautify scilab.cxx
  Check for pkg-config before attempting to use it in configure
  Travis: No need for parallel builds for Scilab now since removing builder
  Scilab minor coding improvements
  scilab: test li_std_string_extra is fixed by previous commit
  scilab: fix std::string length issue
  scilab: simplify builder script file
  scilab: rename build command line options
  scilab: update .gitignore
  scilab: add the SWIG banner to the generated gateway XML
  scilab: remove outputlibrary option + renaming module to gateway
  scilab: fix compilation warnings in primitive_types test
  scilab: fix matrix2 example compilation warnings
  scilab: fix primitive types test compilation warnings
  scilab: fix compilation error in scilab 5.3.3
  scilab: fix scilab include search regression in configure.ac
  scilab: fix test-suite makefiles and util scripts for standard build tools
  scilab: fix matrix2 example module name
  scilab: build now examples/tests with standard tools in (no more builder.sce)
  scilab: fix gateway entry point name
  scilab: swig generates loader script
  scilab: fix generated gateway source (missing include, entry point name)
  scilab: fix segmentation fault
  scilab: generate gateway source with swig
  scilab: change swig options, new option -gatewayxml, remove -internalmodule
  scilab: support typed constants (U UL L) in scilabconst(1)
  scilab: fix SWIG_SciString_FromChar compilation error on some compilers
  scilab: fix union and nested tests (they are C and not CPP tests)
  scilab: fix preproc_line_file test
  scilab: fix unions test
  scilab: fix nested test
  scilab: fix li_std_combinations test
  scilab: fix template_nested test
  scilab: fix li_boost_shared_ptr test
  scilab: fix tests having too long identifier names
  scilab: fix int typemaps (functions and fragment names)
  scilab: fix segfault
  scilab: fix tests having too long identifier names
  scilab: fix allprotected test
  scilab: truncates too long (struct, class) member names
  scilab: fix li_std_string_extra test, missing std_char_traits.i
  scilab: fix li_std_string_extra, missing lib std_basic_string.i
  scilab: add li_std_string_extra test
  scilab: truncates too long identifier names (in addition to display warnings)
  scilab: fix li_std_except test error codes
  scilab: fix tests returning wrong error code
  scilab: fix test-suite (scripts were not executed)
  scilab: rearrange some comments
  scilab: in builder.sce use absolute path for source files
  scilab: fix C++ examples cleaning
  More clear description of buildverbositylevel
  scilab: fix Examples Makefile exit code
  scilab: remove useless SWIG_Scilab_GetOutputPositionAndReset()
  scilab: rename function name management routines
  scilab: fix li_std_vector test
  scilab: rename wrapper global variable fname to SwigFuncName
  Revert "scilab: remove useless SWIG_Scilab_SetOutput() second parameter"
  Revert "scilab: fix compilation error (extra parenthesis)"
  Revert "scilab: fix compilation error (too many args in SWIG_Scilab_SetOutput)"
  scilab: display loading errors in examples
  scilab: fix compilation error (too many args in SWIG_Scilab_SetOutput)
  scilab: fix compilation error (extra parenthesis)
  scilab: fix wrong code in generated script builder.sce
  scilab: remove useless SWIG_Scilab_SetOutput() second parameter
  scilab: remove error messages in example contract
  scilab: remove example matrix2 warnings
  Scilab parameter name changes
  Fix previous commit.
  Correct global variable name in Scilab wrappers
  Suppress testcase warning
  Synchronize common scilab examples with other languages
  File renames in Scilab std_list example
  Have just one Scilab constants example
  Use CXXSRCS for testing for Scilab like other languages
  Scilab overloaded method testcase warning suppression
  Suppress Identifier name exceeds 24 characters warning in Scilab example
  Add RUNPIPE back in for Scilab examples
  Scilab long identifier name warning message improvement
  Scilab minor build system improvement
  scilab: fix doc
  scilab: apply K&R coding style for typemaps
  scilab: file name is 'example' as in other examples
  scilab: use SWIG_Scilab_Raise() for exceptions
  scilab: macro SWIG_SCILAB_ERROR (value 999 by default) for SWIG errors
  scilab: use a macro instead of 999 for error code
  scilab: add missing exit in template example
  scilab: template example same as in other languages
  scilab: fix comment typo
  scilab: remove indentation in example
  scilab; new example scilab_const
  scilab: enum example same as in other languages
  scilab: constants example same as in other languages
  scilab: hide too long identifier warnings
  scilab: fix last commit on warnings
  scilab: set travis warning options
  scilab: apply boost_shared_ptr fix
  scilab: use language specific warnings for too long identifier names
  scilab: fix String & printf previous commit
  scilab: display truncated name in long identifier name warnings
  scilab: display by default warnings for long identifier names
  scilab: use String and Printf in scilab.cxx
  scilab: no need to use prefix "g_" for global names
  scilab: coding style remove "_" from parameter names
  scilab: coding style: remove "_" from parameter names
  scilab: fix missing include in li_std_container_typemaps test
  scilab: clean contract example
  scilab: fix Examples makefile missing separator
  scilab: coding style: remove "_" from parameter names
  scilab: fix typo error
  scilab: library stl.i include same libraries as in other languages
  scilab: fix exit code in Example makefile
  scilab: code style: remove underscore in parameters (first part)
  scilab: rollback INCLUDE
  scilab: rollback (INCLUDE)
  scilab: remove debug stuff
  scilab: use TARGET in Examples Makefile
  scilab: reorder arguments
  scilab: remove useless SCRIPTDIR
  scilab: simplify Examples makefile (removing INCLUDE stuff)
  scilab: simplify Examples makefile
  scilab: remove debug stuff
  scilab: remove debug stuff
  scilab: remove debug stuff
  scilab: fix copy of additional sources in current dir + delete it
  scilab: test fix example contract by copying first sources in current dir
  scilab: fix build error management
  scilab: debug travis
  scilab: rollback
  scilab: test copy
  scilab: test copy
  scilab: test copy
  scilab: test example contract another source
  scilab: test example contract with another source
  scilab: debug travis
  scilab: test copy source
  scilab: test enum example, source renamed
  scilab: test: example contract, source renamed
  scilab: in example makefiles, use abspath for additional sources
  scilab: fix example runme path
  scilab: test travis without class example
  debug travis
  Revert "scilab: in Examples makefile use relative path for additional sources"
  scilab: in Examples makefile use relative path for additional sources
  scilab: use swig -o option in Examples makefile
  scilab: debug travis
  scilab: debug travis
  scilab: debug travis
  scilab: debug travis
  scilab: debug travis (examples)
  scilab: fix contract example (catch expected errors)
  scilab: generate builder.sce in currrent dir
  scilab: remove debug stuff
  Beautify scilab.cxx
  Use Insert instead of DohInsertitem
  Remove author names - they are in the COPYRIGHT file
  Cosmetic test case change
  Fix ancient bad merge from trunk
  Run overload_arrays testcase in all languages not just Scilab
  Better Scilab workaround for testcase
  Fix ancient merge error
  Revert "scilab: implement enum_var test"
  scilab: debug travis
  scilab: fix struct example makefile
  scilab: fix Example Makefile again
  scilab: Example makefile, try again
  scilab: fix last commit
  scilab: fix Example makefile
  scilab: fix last commit
  scilab: Examples makefile, remove scilab args macro and checks
  scilab: fix commit fragment stdint
  scilab: in configure, use pkg-config + disable scilab if headers not found
  scilab: rename swig_this(), swig_ptr() to SWIG_this(), SWIG_ptr()
  scilab: rename fragment
  scilab: remove matrix2 example README
  scilab: fix test-suite: change to test dir before running test
  scilab: fix test-suite clean
  scilab: no need to copy runme script in in-source build
  Update scilab examples from other languages
  ...
2015-01-27 07:54:23 +00:00
William S Fulton
18058a9860 Cosmetic changes in a few test cases 2015-01-27 07:48:48 +00:00
William S Fulton
209ed1db66 Scilab testcase fix 2015-01-27 06:01:20 +00:00
William S Fulton
21b176f07f Fix preproc_line_file test 2015-01-26 22:35:17 +00:00
William S Fulton
ee4aa853b8 Fix 'not defined SWIGSCILAB' in testcases 2015-01-26 21:38:17 +00:00
William S Fulton
1fae569960 Add missing SWIGSCILAB in wrappers and fix unions test for non-scilab languages 2015-01-26 21:03:45 +00:00
Simon Marchetto
33fba2020b scilab: other doc minor fixes 2015-01-26 16:05:03 +01:00
Simon Marchetto
7c9a9aee70 cosmetic changes in doc 2015-01-26 14:54:05 +01:00
Simon Marchetto
0544765abd remove -nobuilder option 2015-01-26 12:29:40 +01:00
Simon Marchetto
4c66489fd7 remove useless direct_gateway function in wrapper 2015-01-26 12:11:13 +01:00
Simon Marchetto
62c0dd9651 scilab: fix throw_exception test 2015-01-26 11:07:28 +01:00
Simon Marchetto
adc4b788df Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	configure.ac
2015-01-26 10:50:20 +01:00
Olly Betts
8fe85e764f Eliminate "found" flag for simpler, clearer code 2015-01-24 15:12:29 +13:00
Olly Betts
2a43178021 Fix comment grammar 2015-01-24 14:57:05 +13:00
Olly Betts
412eebd7f9 Merge pull request #314 from DavidMazary/patch-1
Remove unused assignment
2015-01-24 14:53:28 +13:00
DavidMazary
3667d0c583 Remove unused assignment
The value of module_head is not used after this assignment in this branch of the function.
2015-01-23 15:58:50 -05:00
Olly Betts
b3003f1f9f [PHP] When wrapping a returned resource as an object, check if all
cases wrap it in the same class, and if so eliminate the pointless
switch statement wrapper we previously generated.
2015-01-23 13:56:13 +13:00
William S Fulton
63927da3cb Changes file update for octave shared_ptr 2015-01-22 20:09:17 +00:00
William S Fulton
d3051c5b04 Merge branch 'ConroyJ-master'
* ConroyJ-master:
  Updated usage string for -cppcast/-nocppcast in octave.cxx
  Attempting fixes for Octave shared_ptr support
2015-01-22 20:06:55 +00:00
William S Fulton
6f48e57090 Scilab command line options put in alphabetical order and some html tweaks 2015-01-22 20:03:16 +00:00
Olly Betts
77288c89df Error message example to match actual output 2015-01-22 12:01:42 +13:00
William S Fulton
bbca45174a Fix typo 2015-01-19 07:59:23 +00:00
William S Fulton
96c19872bd Scilab cosmetics 2015-01-19 07:52:47 +00:00
William S Fulton
253c6e1163 Scilab makefile tidyup 2015-01-19 07:52:38 +00:00