Commit graph

138 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
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
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
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
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
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
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
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
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
Marcelo Matus
df8c99079b add proper deprecated code for %name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +00:00
Marcelo Matus
7e46e4c552 add simple warning to deprecated %name directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:04:27 +00:00
Marcelo Matus
a32173a68c process protected/private bases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:53:13 +00:00
Marcelo Matus
eb4f1acca0 add support for 'register'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:51:48 +00:00
Marcelo Matus
9e02ffda0f recover pseudo nested class support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:25:56 +00:00
Marcelo Matus
0e2d3f41df fix variable name clash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 21:20:40 +00:00
Marcelo Matus
6ae1cc776c fix bug #1023010
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 00:23:47 +00:00
Marcelo Matus
1bdc2fa223 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:30:25 +00:00
Marcelo Matus
7c3b8082fa fix for bug #1064201,externc +typedef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:23:10 +00:00
Marcelo Matus
5dab0e6596 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:51:22 +00:00