Marcelo Matus
6eff5b03dd
add extra replace that the UTL requires
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 19:37:34 +00:00
Jason Stewart
252897a324
removed printf output for operator overloading ; added back croak(Nullch) in fail:
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 11:26:20 +00:00
William S Fulton
c28e5ce47b
Fix last sorting commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:48:26 +00:00
Marcelo Matus
165b0032e9
add buildnone option and cosmetics, including sorting options by name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
4794eeed45
remove extra 'directory' word
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 03:02:11 +00:00
William S Fulton
a5bc25841e
Commandline option display: Put back in alphabetical order, fix typos and improve wording and consistency.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:34:31 +00:00
Marcelo Matus
c2296ed5b1
fix overload_simple case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:48:28 +00:00
Marcelo Matus
9e20f53808
disable kwargs in more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 17:16:25 +00:00
Marcelo Matus
68396be600
flag the memberget/memberset methods and use it to deactivate kwargs, reported by amaury
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
William S Fulton
e5d5b16033
cosmetic changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:47 +00:00
Jason Stewart
40e789329e
Perl module now fully supports operator overloading
...
added script for testing overloading support which uses Perl test harness: Test::More
updated HTML docs for operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
William S Fulton
63a6a8ce09
Fix %extend with static const integral types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:19:37 +00:00
Marcelo Matus
96d2cfa17d
split options info for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 11:09:48 +00:00
Marcelo Matus
5a269a5392
more options clean-up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:44:12 +00:00
Marcelo Matus
724caee47c
add -fakeversion option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 03:31:57 +00:00
Marcelo Matus
65deb7f85e
add info for debug options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:51:13 +00:00
Marcelo Matus
9c6e025d11
add -dump_module_tree option (the -dump_tree is too much for most of the cases)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:42:03 +00:00
Marcelo Matus
e8f9094b4b
avoid label warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:45:11 +00:00
Marcelo Matus
41ea394b6e
fix seg fault with feature:callback
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:50:50 +00:00
Marcelo Matus
a9ab040ef5
Move rename/namewarn engine from parser.y to naming.c. The code was getting
...
too large to be in the parser.
Centralize the swig keys to avoid replication and wrong spellings.
Use more HashGetAttr where possible and other speed improvements
to compensate for the extra work introduced by the new rename/namewarn
mechanism.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
2bdd8b07c0
add support for options in rename/namewarn and central methods to access the rename/warning hashs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:41:54 +00:00
Kevin Ruland
a2289e6955
Extract the class name in CreateZendListDestructor in a more robust manner -
...
improves zend_error message. (Thanks Ollie Betts)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:01:56 +00:00
Marcelo Matus
901bb6d73b
add the copyctor feature/directive to enable automatic copy constructors. In the way, fix how default ctor/dtor are added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:04:00 +00:00
Marcelo Matus
4cf6ff94cd
fix rename constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:01:48 +00:00
Marcelo Matus
53cf7fd217
no need for , use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
7b4073a447
fix assert when error occurs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:40:32 +00:00
Marcelo Matus
801a09f146
fix for unnamed types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:37:26 +00:00
Marcelo Matus
fd0d08fead
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
4c18b66923
idenitfy the exact cast case (minimum rank possible) and dispatch inmediatly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:34:08 +00:00
Marcelo Matus
d480e004ff
fix extra ';'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:31:30 +00:00
Marcelo Matus
218adfa960
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:40:35 +00:00
Marcelo Matus
f804cc18ab
add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
b0dce7e7b1
export missing defs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:18 +00:00
Marcelo Matus
9039ead445
add the label for use inside typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +00:00
Marcelo Matus
667cd6b8ba
add 'implicitconv' support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:38:14 +00:00
Charlie Savage
5dd84412c3
Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
...
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class. This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
Surendra Singhi
fef7bcfeef
Applied the patch by Roger Sen Montero to add the :name option in the
...
ffi:def-c-var definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 00:20:23 +00:00
Surendra Singhi
753bbe0582
fixed the copyright information.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 23:16:23 +00:00
Surendra Singhi
a3539a39a7
Disabled debug output, and fixed enum declarations.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:24:13 +00:00
Surendra Singhi
2cb50a7a84
Adding CFFI module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:04:42 +00:00
Surendra Singhi
7cfedfae05
Initial revision. Adding CFFI module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:02:26 +00:00
Marcelo Matus
5a76bc68fc
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
William S Fulton
09f0b8c5ec
Remove (void)_e. This is a duplicate of what already exists in the typemaps so is not needed. If there are any more exception handlers that issue the unused variable warning, add a '(void)$1;' into the throws typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:28:38 +00:00
Marcelo Matus
7edc2e0a91
implement the rank-cast dispatch mechanism, which is now the default behavior in perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
84b96ab3ad
changes to support cast ranking for dispatch and/or overloading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:06:27 +00:00
Marcelo Matus
858453b1cf
disable copyctor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Marcelo Matus
f023a22575
generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
William S Fulton
be9d5343a6
Fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:55:50 +00:00
William S Fulton
0345fa731e
new $imclassname special variable to fix bugs changing the intermediary classname
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:54:47 +00:00
Marcelo Matus
00a87c0980
Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00