Commit graph

2,234 commits

Author SHA1 Message Date
Olly Betts
4f7099cb56 Fix bug #1613673 (bad PHP5 code generated for getters and setters).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 02:15:58 +00:00
Dave Beazley
54ec9df2ca Changed Header to Id
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:17:26 +00:00
Dave Beazley
8a9b2cbdb1 Changed Header to Id
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:14:31 +00:00
Dave Beazley
1db75e417b Changed Header to Id
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:13:00 +00:00
William S Fulton
5cd992dade %extend for static member varibles work in progress ... more consistent code across different language modules and memory leak fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:12:25 +00:00
Dave Beazley
fc10a97b23 Changed Header keyword to Id
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:11:40 +00:00
William S Fulton
c4761132ac %extend for static member varibles work in progress ... static member variable and global variable wrapper names changed so that they don't clash with the user supplied %extend function name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:10:56 +00:00
William S Fulton
1994a224e2 minor comment fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:07:28 +00:00
Dave Beazley
7a826c8b6d Changed Header keyword to Id for SVN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:57:44 +00:00
Dave Beazley
d6875828c1 Changed $Header$ to $Id$. (Test)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:47:01 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
88513346b6 Fix %extend for static member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-29 21:52:34 +00:00
Luigi Ballabio
bfa1582e08 Recommit of alternate fix for bug #1578346 (this time without formatting mess)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-16 10:26:03 +00:00
William S Fulton
97b1fbaa02 -fakeversion appears in generated files. Made comment with version number at top of generated files consistent.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:45:47 +00:00
William S Fulton
c2a2108738 reverting to previous version to fix formatting mess
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:11:56 +00:00
Luigi Ballabio
31d299384e Alternate fix for bug #1578346 (the previous one broke Python properties in modern classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 17:26:25 +00:00
William S Fulton
f69121d976 Memory leak fix put back in - the seg fault on Solaris is due to the recently added DetachCurrentThread call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 01:56:18 +00:00
William S Fulton
fd3ee92b41 Path #1578346 - Python exceptions fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 01:21:22 +00:00
William S Fulton
7577d0ad70 Fix #1592173, conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-10 23:08:51 +00:00
William S Fulton
8c2b66a11d Fix director operator pointer casts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-09 22:32:28 +00:00
William S Fulton
d5ecc29a4e Fix Wrapper delete as reported by Michel Marek
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 23:17:41 +00:00
William S Fulton
1a439a9e19 $self special variable for %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 00:54:28 +00:00
Mikel Bancroft
be61c5347b [allegrocl] see CHANGES.current.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-07 19:34:18 +00:00
William S Fulton
a75b902902 add missing new line to warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-06 22:45:31 +00:00
Art Yerkes
8ad7605f16 Sorry i haven't been here in a while.
camlp4 bug was caught by Michael Ethier <methier@cgr.harvard.edu>

- director.swg: fix a typo
- ocamldec.swg, ocaml.swg: new macros
- ac_compare_version.m4: arty's own more liberally licensed version compare
  autoconf macro.
- configure.in: use version_compare and make swigp4.ml generated by
  configure based on ocaml version.  This is due to an incompatible change
  in camlp4.
- ocaml.cxx: use new return macros in the right places
  (returning non-value)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 07:28:42 +00:00
William S Fulton
fe62344fe6 variable hiding warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 09:40:19 +00:00
William S Fulton
91b880e01c warning fix for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 00:43:55 +00:00
William S Fulton
aa04c4c057 beautify/format source code with gnu indent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
5364d135c7 beautify target added for formatting source code with indent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:44:53 +00:00
William S Fulton
01cc0b2bd8 Fix %csmethodmodifiers for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 21:59:33 +00:00
William S Fulton
3f0d00a5d3 - pgcpp fix for const methods
- DeleteLocalRef removed from end of director methods - it causes crashes on Solaris


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 21:58:23 +00:00
John Lenz
206e5c64af Patch from Chris Shoemaker to clean up some warnings in the guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-30 04:44:46 +00:00
William S Fulton
5167d7f3ec -nopgcpp commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:36:24 +00:00
William S Fulton
eb142ad08a Add premature garbage collection prevention parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:05:23 +00:00
William S Fulton
d668f54a14 Fix %ignore director constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:42:40 +00:00
William S Fulton
016db92c82 Fix smart pointer wrappers. The virtual/override/new keyword is not generated for each method as the smart pointer class does not mirror the underlying pointer class inheritance hierarchy. SF #1496535
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:29:27 +00:00
Mark Gossage
2af7e4b447 added support for native methods & member function pointers.
fixed test cases arrays_dimensionless & cpp_basic. Added new example (functor).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 06:26:48 +00:00
William S Fulton
7d7a9a387e %ignore and virtual director methods fix - problem reported by Roy Sutton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
091efa9b7c $result expansion in directorout typemaps for consistent behaviour across all director languages
$result expands to c_result now instead of result like other typemap languages


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:57:38 +00:00
William S Fulton
37a08a2b03 remove unused variable in generated director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:49:44 +00:00
Mark Gossage
eedf0d5469 Removed #include <string> & <iostream> which stopped compilation under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-18 02:37:48 +00:00
William S Fulton
9bcdb69ab3 better English in messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:47:52 +00:00
William S Fulton
e1eb8a266c javabase/csbase typemaps mods to support morphing C++ abstract base classes into Java/C# interfaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:11:30 +00:00
Surendra Singhi
dc46fc0cc0 Patch 1560983.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-15 12:04:39 +00:00
John Lenz
56904f30d0 - Fix SF bug 1573892
- Minor change to chicken to make it work with version 2.5rc1
- add externaltest to chicken and guile modules


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
Mark Gossage
5149b7b4f3 fixed several test cases
added long long support
changed typemaps to use SWIG_ConvertPtr rather than SWIG_MustGetPointer
started spliting lua.swg into smaller parts to make it neater


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 07:15:52 +00:00
William S Fulton
923df5c408 Better control on what the C# base class is (overriding the real C++ base class with the csbase 'replace' typemap attribute)
Reorganise the code that implements namespaces


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:47:01 +00:00
William S Fulton
9a1bd4a9e0 Better control on what the java base class is (overriding the real C++ base class with the javabase 'replace' typemap attribute)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:44:32 +00:00
William S Fulton
1be9e42787 Avoid potential race conditions on the Dispose() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:10:18 +00:00
William S Fulton
4ad8d458d2 Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00