Olly Betts
c915583bf9
Merge pull request #276 from vadz/pep8
...
Ignore another pep8 error.
2014-12-17 09:41:01 +13:00
Vadim Zeitlin
e12a1d7671
Ignore E402 (import not on top of file) PEP8 error.
...
Travis uses the latest pep8 sources from Git and since
f3a12babd4
this error is given for all Python files generated by SWIG with -builtin
option.
2014-12-16 17:28:27 +01:00
Vadim Zeitlin
cb53e3063b
Add PEP8_FLAGS variable to the test suite Python makefile.
...
Put pep8 options into this variable to avoid repeating them twice.
No real changes.
2014-12-16 17:28:25 +01:00
William S Fulton
ae555c2339
Fix templated constructors regression
...
Templated constructors were incorrectly ignored because SWIG thought they were
methods without a return type.
Regression introduced in swig-3.0.0
Closes #245 .
2014-12-09 23:48:37 +00:00
William S Fulton
9cbdf69fdc
Correctly detect Go1 during configure
2014-12-07 21:53:17 +00:00
William S Fulton
7f8bb02d78
Fix regression in introduced in merge of C++11 strongly typed enums support
...
- Guile constants bad casts generated
- Go non-public enum value wrappers assert failure
Also cosmetic test comment correction
2014-12-07 21:31:14 +00:00
William S Fulton
b9b9b3cd21
Merge master and C++11 strongly typed enum support
...
Merging from master:
* 'master' of github.com:/swig/swig:
Add more docs about _global_ prefix in typemap temporary variables
Add clarification on _global_ prefix.
fix for nested template defined out of class (issue #265 )
using an unknown constant emits a notice, not a warning
Fix typo
Consistently put whitespace outside of <tt>...</tt> and not inside
wording tweak
Go: Document memory management of C++ classes allocated in Go. Fixes #266 .
revert unrelated file
Fix #224
Fixes for clang -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error
delete unmeaningful macro
Go: fix overload functions with polymorphic issue
del tmp files
GoLang:fix overload functions with polymorphic issue
2014-12-07 17:33:16 +00:00
William S Fulton
8c77d4be89
Document new C++11 strongly typed enumerations support.
2014-12-07 17:10:07 +00:00
William S Fulton
427c5112e7
Add more docs about _global_ prefix in typemap temporary variables
2014-12-06 21:49:42 +00:00
Alexey Neyman
1509d6c9e0
Add clarification on _global_ prefix.
2014-12-06 21:38:58 +00:00
William S Fulton
5b480847dd
Improve Javascript Webkit detection
...
pkg-config detection was missing. Use pkg-config for the link flags.
2014-12-04 06:23:43 +00:00
William S Fulton
3d85dfba9a
Add c++11 strongly typed enums runtime test for Javascript
2014-12-02 19:59:59 +00:00
William S Fulton
a798699e09
Add c++11 strongly typed enums runtime test for Octave
2014-11-29 00:00:32 +00:00
William S Fulton
cf3be359cf
Add c++11 strongly typed enum support for Guile
2014-11-28 23:27:22 +00:00
William S Fulton
713d3d5973
Add c++11 strongly typed enum support for Go
2014-11-28 20:40:37 +00:00
William S Fulton
b45c3737c8
Add c++11 strongly typed enum support for D
2014-11-28 08:13:27 +00:00
William S Fulton
be272ff8cd
Add c++11 strongly typed enum support for Lua
2014-11-28 07:47:45 +00:00
William S Fulton
97b0868754
Fix line endings in lua example
2014-11-27 20:23:28 +00:00
William S Fulton
55a9dc7115
Add c++11 strongly typed enums runtime test for Tcl
2014-11-27 19:59:23 +00:00
William S Fulton
3efd3affbd
Add c++11 strongly typed enum support for PHP
2014-11-27 19:59:20 +00:00
William S Fulton
91c5b0fd13
Add c++11 strongly typed enums runtime test for Ruby
2014-11-27 19:59:16 +00:00
William S Fulton
b9d70866ca
Add c++11 strongly typed enums runtime test for Perl
2014-11-27 19:59:08 +00:00
William S Fulton
80ae335319
Enhance C++11 strongly typed enums testcase
2014-11-27 19:56:08 +00:00
William S Fulton
7ffea44d80
C++11 strongly typed enums runtime test for python
2014-11-25 19:56:34 +00:00
Vladimir Kalinin
274977154f
fix for nested template defined out of class (issue #265 )
2014-11-25 19:38:37 +03:00
William S Fulton
b1eb699ff0
C++11 strongly typed enum support
...
This should provide support for most of the scripting languages
2014-11-25 07:08:31 +00:00
William S Fulton
49761fe347
Add Java runtime testcases for C++11 strongly typed enums
2014-11-25 07:08:02 +00:00
William S Fulton
b5cb93f43e
add director_nested_class to list of broken tests
2014-11-25 07:08:02 +00:00
William S Fulton
366948079f
Add C# support for wrapping C++11 strongly typed enums
2014-11-25 07:07:47 +00:00
William S Fulton
73fc7c2a90
Enhance strongly typed enums testcase
2014-11-24 07:05:00 +00:00
William S Fulton
0664ecdeb7
Fix strongly typed enums for Java when using simple enum wrappers
2014-11-24 07:04:54 +00:00
William S Fulton
fcef37d682
Fix incorrect symbol clash error in C# and Java when using %rename for enums
...
When using using 'simple enum' wrappers
2014-11-21 19:50:23 +00:00
William S Fulton
ede58b8744
Cosmetic formatting
2014-11-21 18:58:08 +00:00
William S Fulton
296d45aec5
Merge branch 'alexey-pelykh-cpp11_strongly_typed_enums__direct_inject_in_java'
...
* alexey-pelykh-cpp11_strongly_typed_enums__direct_inject_in_java:
Enhance cpp11_strongly_typed_enumerations testcase and turn it on
Simplify/improve strongly typed enum implementation for Java
Rewrite some Java director nested class support code for strongly typed enums
Expand director_nested_class test to test more than one level of nesting
Add director_nested_class testcase
Removed useless code (it does not affect output, at least on our testcases)
Java/Fix: swig_connect_director used not-fully-qualified classname (proper)
Java/Fix: swig_connect_director used not-fully-qualified classname
Java: fix generation of ProxyName when JNI descriptor is requested - for inner classes '$' should be used as separator instead of '/'
Java: fix invalid director 'self' variable type name (wasn't fully qualified)
Clean-up test suite and fix issue with nspace, as well as keep the fix for Class::Struct::EnumClass being JNI-referenced as Struct_EnumClass
C++11 strongly-typed enums fix for Java only (proper)
Revert "C++11 strongly-typed enums fix for Java only"
Additional test cases for C++11 strongly-typed enums
C++11 strongly-typed enums fix for Java only
2014-11-21 07:34:12 +00:00
William S Fulton
f72b9f99a4
Enhance cpp11_strongly_typed_enumerations testcase and turn it on
2014-11-21 07:32:28 +00:00
William S Fulton
77b338151e
Simplify/improve strongly typed enum implementation for Java
2014-11-21 07:32:15 +00:00
William S Fulton
089865ba57
Rewrite some Java director nested class support code for strongly typed enums
2014-11-20 07:26:09 +00:00
Olly Betts
01faf1baf9
using an unknown constant emits a notice, not a warning
2014-11-18 12:51:30 +13:00
Olly Betts
1cfc099d91
Fix typo
2014-11-18 12:51:08 +13:00
Olly Betts
f541e604e8
Consistently put whitespace outside of <tt>...</tt> and not inside
2014-11-18 12:44:37 +13:00
Olly Betts
859d65b300
wording tweak
2014-11-18 12:38:03 +13:00
Ian Lance Taylor
3fc574e7d6
Go: Document memory management of C++ classes allocated in Go. Fixes #266 .
2014-11-17 08:59:04 -08:00
ianlancetaylor
da7133aa8e
Merge pull request #235 from dontpanic92/master
...
Go: fix overload functions with polymorphic
2014-11-17 08:28:07 -08:00
Anthony Li
3b3de5d477
revert unrelated file
2014-11-11 12:18:13 +08:00
William S Fulton
92d3146a06
Expand director_nested_class test to test more than one level of nesting
2014-11-10 19:57:49 +00:00
Olly Betts
5617403d7e
Merge pull request #267 from white-gecko/patch-1
...
Fix the PHP section of the documentation to include both source files resp. object files in the example command lines (fixes#224)
2014-11-10 11:55:28 +13:00
Natanael Arndt
396f286a02
Fix #224
...
Fix the PHP section of the documentation to include both source files resp. object files in the example command lines
2014-11-09 23:16:38 +01:00
William S Fulton
220acc3fc8
Fixes for clang -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error
...
Fixes 'Illegal instruction' when SWIG executes and compiled with above
compiler options
Fixes #263
2014-11-08 10:59:59 +00:00
William S Fulton
bca042a7dd
Add director_nested_class testcase
...
Java nested director class test for fix in e7db081d5e
2014-11-07 19:50:20 +00:00
Olly Betts
ac1f067ce9
Eliminate trivial differences between the reference examples
2014-11-07 15:34:43 +13:00