Commit graph

165 commits

Author SHA1 Message Date
Marcelo Matus
a92239d201 fix def_arg case broken with last &/* fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 18:21:18 +00:00
Marcelo Matus
c26263a2f4 normalize operation, first reduce, then qualify
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:12:15 +00:00
Marcelo Matus
2f76813001 remove extra breaks as in #1381950
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:08:23 +00:00
Marcelo Matus
574f03bbdd allow the parser.y to be compiled with c++ (throw->throwf)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:07:36 +00:00
Marcelo Matus
a4d5b788a6 fix %extend(%typemaps + %fragments) before class declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +00:00
Marcelo Matus
c8977f2dbb fix last fix, error visible with 1.875b, reported by Susendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 19:54:38 +00:00
Marcelo Matus
f35a5a423c fix reference/pointers op. in pointer assgiments, reported by Surendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 06:49:54 +00:00
Marcelo Matus
fdf4d72b4b fix for templates to avoid using the templatereduce mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:25:28 +00:00
Marcelo Matus
33d17b37b2 add notemplatereduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:14:14 +00:00
Marcelo Matus
db923a855e add C++ operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:08:50 +00:00
Marcelo Matus
34e0da0d4d more memory leaks fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
b66f1e672b fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
3413b92e7a remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
cf1585fef7 add NewStringEmpty, use more StringEuqual and less Strcmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
accfbb04e0 avoid Strcmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:41:59 +00:00
Marcelo Matus
07d92a6095 minor speed up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:57:26 +00:00
Marcelo Matus
577f154040 add 'init' method plus keys to use with Getattr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:57:03 +00:00
William S Fulton
eaec5738c9 Add in support for non standard integral types used on Windows - Bug #872013
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:21:04 +00:00
Marcelo Matus
525198bd66 add more support for operators + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:26:37 +00:00
Marcelo Matus
ee2621bec8 fix bug #1347853 and better and/or/not operator management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:47:07 +00:00
Marcelo Matus
3bc3d41eea recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
2ff3dd0d4e replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
0fae376c59 fix friend bug #1323114 and allow the member names to include the class name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-17 13:31:06 +00:00
Marcelo Matus
6fea6d0346 add more support for wchar and the noblock option for typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:24:35 +00:00
Marcelo Matus
67f1d7c41d add more support for wchar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:23:20 +00:00
William S Fulton
ef8a541de4 Modify following features to work as flags, so that they can be truely set and unset: kwargs,
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:17:00 +00:00
William S Fulton
efd25b4674 Modify following features to work as flags, so that they can be truely set and unset:
immutable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton
01246c72be Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:16:51 +00:00
William S Fulton
beebb0a8e1 Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
Marcelo Matus
30cf3657c6 recover the %import(module=name) option,lost in previous fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 15:27:20 +00:00
Marcelo Matus
d1663ed6ed fix again the %import + module name problem, now it works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 13:22:48 +00:00
Marcelo Matus
5fe9d8ec4a fix for %import + module name, detected in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 12:00:34 +00:00
Marcelo Matus
6b5a64bd92 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
5bd59b2a47 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
4c86e9f590 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
Marcelo Matus
2e2617edce normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
William S Fulton
34a035e3f1 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
c5a6351bff fix %varargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
Marcelo Matus
b9d62a6563 fix fragments for Type* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 09:58:55 +00:00
Marcelo Matus
98695ef366 fix several memory leaks and add template+nested class warning, but disable it since it generates 4 extra shift/reduce
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:41:02 +00:00
Marcelo Matus
b4edea6fa9 fix several memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
327dbabf19 fix %template + private SF#1099976
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:10:14 +00:00
William S Fulton
d02743af6d Memory leak fix in some of the scripting language modules when using default arguments in constructors. The scripting language was not taking ownership of the C++ object memory when any of the constructors that use default arguments was called.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:19:16 +00:00
Marcelo Matus
00138c0efb fix for multiple name warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:48 +00:00
Marcelo Matus
7ae82d1c51 fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
9345106eda fix warning for forward base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 06:47:19 +00:00
Marcelo Matus
b8ae49d52d more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
2d686c0a84 support of typemaps + template + template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:01:03 +00:00
Marcelo Matus
ff2e0cc85e fix for -director option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:57:58 +00:00
William S Fulton
77d2823b7f Removed last vestiges of enums being handled as integers in the core.
Mod for consistency across warning messages.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:06:36 +00:00