William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
Olly Betts
cb4c23fde1
[python] Split potentially long string literals to avoid hitting
...
MSVC's low fixed limit on string literal length - patch from
SF#1723770, also reported as SF#1630855.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 00:50:20 +00:00
Olly Betts
f08000de17
[Python]
...
Split docstrings into separate string literals at each newline when
generating C/C++ wrapper code (the C/C++ compiler will just combine
the back into a single string literal). This avoids MSVC
complaining that the strings are too long (problem reported by
Bo Peng on the mailing list).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-29 00:57:46 +00:00
Olly Betts
af2d15d2a5
[Python]
...
Escape backslashes in docstrings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-27 23:57:34 +00:00
Olly Betts
26e8cc0797
[Python]
...
Fix autodoc generation of enums to be more consistent with how the
enums are wrapped - patch #1697226 from Josh Cherry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 15:00:58 +00:00
Olly Betts
8094f2c86f
Remove unused trailing `0' parameter in call to Printf.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:37:21 +00:00
Olly Betts
898e5f7f3d
[Python] Fix lack of generation of docstrings when -O is used.
...
Also, fix generation of docstrings containing a double quote
character. Patch from Richard Boulton in bug#1700146.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:16:31 +00:00
Dave Beazley
b00cef436b
API cleanup (Parms)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-10 23:43:07 +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
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
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
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
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
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
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
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
aa47311a53
Fix #1505594 director objects not returned as director objects in %extend methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:42:21 +00:00
Olly Betts
1578c8cb88
Fix "_swig_property" fix to work with Python 2.1 as well.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 23:32:28 +00:00
William S Fulton
be89441352
Fix virtual conversion operators for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
8d333d90f0
director error message fixes to correctly generate templated class names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +00:00
Marcelo Matus
5dc2ce0c73
Fix 'property' issue reported in #1471039
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 03:37:13 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
da079c2d2b
Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:47:08 +00:00
Olly Betts
93d3c4b6d2
Use the DOH String instead of a static char array.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 18:13:53 +00:00
William S Fulton
f0d1d772fa
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
Marcelo Matus
dd8f4aa003
fix seg fault with -noproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 22:16:43 +00:00
Marcelo Matus
003804a4c0
better error message for overloading, as suggested by Tijs Michels, and doc fixes, provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:42:10 +00:00
Marcelo Matus
ff9efe7418
fix misplaced code, reported by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:46:50 +00:00
William S Fulton
797317163a
cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:02:54 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
260504f464
split tabs for C and Python. In python the indentation goes back to 4, in C stays at 2
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 20:10:01 +00:00
Marcelo Matus
a9bbfd2b72
fix _swig_repr, as reported by Robin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 18:17:06 +00:00
Marcelo Matus
0395de6a20
fix fastinit option initial value, ie, it should be disabled(0)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 04:08:44 +00:00
Marcelo Matus
36c067836e
add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
William S Fulton
a86a9b3fb6
split string, it is too big for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:23:37 +00:00
Marcelo Matus
9e952010b9
add -fastinit option after issue reported by Robin Dunn
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
Marcelo Matus
b15a7a75d7
add the -olddefs flag for python, I am sure someone will ask for it...
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 00:39:25 +00:00
Marcelo Matus
be930bb0e3
fix duplicate method definitions when using -fastproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:47:21 +00:00
Marcelo Matus
49796f8ab7
fix for directors + empty vtables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:49:34 +00:00
Marcelo Matus
28e84adf61
fix fastproxy for methods using kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +00:00
Marcelo Matus
cf3d3edba9
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
742a65ce66
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
Marcelo Matus
d911afe543
generate warning for old python versions if the -classic option is not been used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:14:01 +00:00
Marcelo Matus
b920c8438c
minor cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 08:09:17 +00:00
Marcelo Matus
f772fe7752
add -fastproxy and keep 'def' methods in class definitions for back. comp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
403e9ebc9e
fix unused 'fail:' label warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00