Commit graph

17,195 commits

Author SHA1 Message Date
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
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
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
Alexey Pelykh
837d2bfd04 Removed useless code (it does not affect output, at least on our testcases) 2014-11-03 12:10:10 +02:00
Alexey Pelykh
afbb47dc8f Java/Fix: swig_connect_director used not-fully-qualified classname (proper) 2014-09-04 12:22:56 +03:00
Alexey Pelykh
8a69da7d82 Java/Fix: swig_connect_director used not-fully-qualified classname 2014-09-04 12:05:23 +03:00
Alexey Pelykh
e7db081d5e Java: fix generation of ProxyName when JNI descriptor is requested - for inner classes '$' should be used as separator instead of '/' 2014-09-03 09:37:25 +03:00
Alexey Pelykh
7b9027db89 Java: fix invalid director 'self' variable type name (wasn't fully qualified) 2014-08-31 19:26:31 +03:00
Alexey Pelykh
abb888cfdd 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 2014-08-31 12:14:29 +03:00
Alexey Pelykh
d318f03efe C++11 strongly-typed enums fix for Java only (proper) 2014-08-30 11:58:52 +03:00
Alexey Pelykh
fd926cf284 Revert "C++11 strongly-typed enums fix for Java only"
This reverts commit cf139a90db.
2014-08-30 09:15:25 +03:00
Alexey Pelykh
d1b1925270 Additional test cases for C++11 strongly-typed enums 2014-08-30 09:08:04 +03:00
Alexey Pelykh
cf139a90db C++11 strongly-typed enums fix for Java only 2014-08-29 19:39:39 +03:00
Ian Lance Taylor
e6882287af Add generated Go files to .gitignore. 2014-08-25 15:58:10 -07:00
Olly Betts
dca73b1677 Merge pull request #209 from talby-/inc_guard
apply SF Patch #350 and add testcase
2014-08-17 11:53:01 +12:00
Robert Stone
488aed4224 apply SF Patch #350 and add testcase 2014-08-15 21:47:10 -07:00
William S Fulton
54218bfe3f C# exception %exception example fix
From Cindy Gan
[skip ci]
2014-08-15 19:06:02 +01:00
Kris Thielemans
f6b10f299f small suggestions for changes in std_ios.i
Hi

Would it be possible to add the following 2 typedefs to std_ios.i?

 typedef basic_ios<char> ios;
 typedef basic_ios<wchar_t> wios;

at present, it contains only

 %template(ios) basic_ios<char>;
 %template(wios) basic_ios<wchar_t>;

This means however that things like std::ios::openmode are currently not
recognised by SWIG. With the above typedefs, they are. Similar typedefs
should probably be added in std_iostream.i for ostream etc.

Also, while checking std_ios.i, it seems that the definition of basic_ios
has a copy-paste error in the private section (the constructor is still as
ios_base). To avoid confusion, I suggest to change that. Below is a diff
with the suggested changes.

Kris
2014-08-12 23:45:02 +01:00
Olly Betts
c43f84af02 Improve PHP docs about extension= and dl() 2014-08-12 14:45:54 +12:00
Olly Betts
227dd35609 Fix incorrect examples of regex %rename 2014-08-12 14:33:25 +12:00
Olly Betts
6eb6f72e1b Merge pull request #204 from ibell/patch-1
Update Php.html
2014-08-12 14:31:12 +12:00
Ian Bell
b8d3ff060a Update Php.html
Short summary of the fact that dl() function can no longer be used.
2014-08-11 20:46:49 +02:00
William S Fulton
e2b4a72f3e Tcl documentation correction
From Ben Golding on swig-devel list.
2014-08-11 19:12:05 +01:00
William S Fulton
2b71c99feb Add C# license header changes for StyleCop to changes file 2014-08-04 19:44:47 +01:00
William S Fulton
e5b98d8331 Merge branch 'gpetrou-CSharpLicense' - Add autogenerated xml for StyleCop.
* gpetrou-CSharpLicense:
  Tweak generated C# .cs files header
  Changed CSharp license header to include auto-generated tag so that StyleCop ignores the files.
2014-08-04 19:42:16 +01:00
William S Fulton
69736cc0cb Tweak generated C# .cs files header 2014-08-04 19:41:38 +01:00
William S Fulton
d180908066 Merge branch 'yuvalk-master' - Java NIOBUFFER typemaps for java.nio.ByteBuffer
* yuvalk-master:
  Add changes entry for NIOBUFFER Java typemaps
  Doc/comment improvements in Java various.i
  Add support for java.nio.Buffer including test-suite test case and documentation
2014-08-04 19:31:28 +01:00
William S Fulton
db7514860d Add changes entry for NIOBUFFER Java typemaps 2014-08-04 19:27:30 +01:00
William S Fulton
1773726073 Doc/comment improvements in Java various.i 2014-08-04 19:22:02 +01:00
gpetrou
8433539849 Changed CSharp license header to include auto-generated tag so that StyleCop ignores the files. 2014-08-02 08:35:15 +01:00
Yuval Kashtan
093fe2a556 Add support for java.nio.Buffer
including test-suite test case and documentation
2014-07-18 15:45:16 +03:00
Ian Lance Taylor
287e84d84c [Go] Change struct definition to use void *, not uint8, so
that the type is recorded as possibly containing
pointers.  This ensures that the 1.3 garbage collector
does not collect pointers passed to C++ code.
2014-07-14 08:33:43 -07:00
William S Fulton
83749b3937 Fix expansion of the $parentclassname special variable
It incorrectly contains brackets in the expanded name.
Fixes SF Bug 1375.
2014-07-01 20:27:48 +01:00
William S Fulton
e982dc7e3b Correct documentation of special variable names
$parentname is really $parentclassname
$parentsymname is really $parentclasssymname
2014-07-01 20:07:19 +01:00
William S Fulton
0a4b50162d Remove author names - they are in the COPYRIGHT file 2014-06-24 18:56:52 +01:00
Olly Betts
8d226e39dc Merge pull request #188 from jschueller/python_pep8
Python PEP-8 conformity
2014-06-10 23:48:38 +12:00
Julien Schueller
11b5a61879 Check multi-module examples. Dont use sed. 2014-06-10 08:59:55 +02:00
Julien Schueller
eb26847255 Typo 2014-06-08 15:44:44 +02:00
Julien Schueller
8a0a8529e5 Clone pep8 in source dir. 2014-06-08 15:43:02 +02:00
Olly Betts
b58caf6978 Add more new PHP5.6 keywords 2014-06-08 22:04:55 +12:00
Julien Schueller
48fcf61515 Ubuntu's pep8 is too old, use 1.5.7 2014-06-07 14:33:38 +02:00
Julien Schueller
7a4cef998c Enable pep8 check 2014-06-07 13:10:27 +02:00
Julien Schueller
6fe71da9fa Fixed remaining pep8 errors 2014-06-07 13:09:15 +02:00
William S Fulton
8728a97dc6 Bump version to 3.0.3 2014-06-06 19:56:38 +01:00
Jason Turner
fa36b6228e Fix function naming conflict with class overloads.
This fix takes into account the classname while generating overload
handlers.

Example:

If you have two classes:

  class A {
    public:
      void doSomething(int);
      void doSomething(double);
  };

  class B {
    public:
      void doSomething(int);
      void doSomething(double);
  };

Before this patch, the overload handlers for A::doSomething and
B::doSomething create conflicting names and function redefinition errors
are caused.

After the patch, the overload handlers are named classname_doSomething
and no longer conflict.

This is might not the best way to implement this, but it
solves a critical problem on large projects, and specifically can affect
operator overloads that are being wrapped.
2014-06-06 18:24:22 +02:00
Julien Schueller
f4fffbf668 Fixed another E701 2014-06-06 15:13:23 +02:00
Julien Schueller
93e06c0e58 Fixed another E231 2014-06-06 14:44:46 +02:00
Julien Schueller
36cac80166 Fixed some pep8 issues E701 2014-06-06 14:27:17 +02:00
Julien Schueller
01a9946455 Fixed some pep8 issues E302 2014-06-06 11:28:00 +02:00