Commit graph

1,947 commits

Author SHA1 Message Date
Marcelo Matus
91462765db more fixes to use one line macro when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 09:00:00 +00:00
Marcelo Matus
4221c3e12c fix C + struct + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 23:14:33 +00:00
Marcelo Matus
ece35ac5ea fix infinite loop reported by Olly when using %template() ... inside a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 21:11:03 +00:00
Marcelo Matus
180ba8e971 more line counting fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 20:50:00 +00:00
Marcelo Matus
7ea4a9e990 fix missing namespace in constants, reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 16:39:10 +00:00
Marcelo Matus
579f5963fb fix C + enums + struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 08:23:45 +00:00
Marcelo Matus
5aa6cf3d4b fix line issues reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 02:10:31 +00:00
Marcelo Matus
c5b3ac2abd solve duplicate symbol issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 02:06:15 +00:00
Marcelo Matus
be2a108a3a fix line issues reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 01:38:58 +00:00
William S Fulton
f4cabb83fb remove old email address
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 18:23:29 +00:00
Marcelo Matus
511e4895b1 fix template + typedef issue reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 23:42:37 +00:00
Surendra Singhi
25ef77d499 Fixes the placement of swig-lisp code, and also makes sure that
literals are properly converted for enums.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 20:38:54 +00:00
Marcelo Matus
69195cfb37 add -fastproxy and keep 'def' methods in class definitions for back. comp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
41b0a89cfb fixes for %templates/%rename/%features + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 20:25:43 +00:00
Marcelo Matus
a61686b243 fix unused 'fail:' label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00
Marcelo Matus
e93d558ce1 fix unused variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:07:16 +00:00
William S Fulton
4d3a666e92 Give copy constructor parameter a more appropriate name. Also there is no need to mangle it, the name appears in the proxy classes in java/c#, so better that it is nicely named.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:59:45 +00:00
Marcelo Matus
7cd8dc269e better error message for #error exit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:37:55 +00:00
William S Fulton
e3186ff0eb gcc-2.96 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:13:07 +00:00
Marcelo Matus
214dfb6b8e add missing check for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 09:08:27 +00:00
Marcelo Matus
fb5c388df6 better fix for seg. fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:35:02 +00:00
Marcelo Matus
2c19c671fd fix missing line/file name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 07:33:28 +00:00
Marcelo Matus
2cdf8ec650 fix seg fault in OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 00:00:39 +00:00
Marcelo Matus
6c6d16529e add fail: label for the get methods always, just in case someone write a 'varout' typemap that need it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 22:56:15 +00:00
Marcelo Matus
8f8673bd2c fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Charlie Savage
165dd09f7a Reimplemented Swig_string_ucase(String *s) to take into account digits in names.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 09:02:11 +00:00
Marcelo Matus
e05f7cfffc add extranative option to keep old copy mode for std containers as the default behavior
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
285aeff366 readd removed \!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 22:46:46 +00:00
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
51a55b9705 fix seg fault with undefined templatee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 17:18:31 +00:00
Kevin Ruland
466726083f Fixed problems when overloading C++ member functions.
- only register the wrapper function.
 - fix dispatchFunction() implementation to accomodate this_ptr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:40:59 +00:00
Marcelo Matus
26afeac0c7 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Marcelo Matus
36ab776a61 fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
2a89c24848 fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:32:51 +00:00
Marcelo Matus
9d88b67802 fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:18:08 +00:00
Marcelo Matus
7b2dbbc3ce fix missing static member access methods, discovered with li_std_string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
Marcelo Matus
5e77ca27e0 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
Marcelo Matus
2aa0e23287 don't add forward class to the classes hash. We needed this before for naturalvar, but is not needed anymore. Now produce seg faults when a forward class statement is found after a class declaration. Reported by Evan Weis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 20:18:38 +00:00
Matthias Köppe
c7d465ecaa New string encoding method, "schemify".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:07:00 +00:00
Matthias Köppe
d66d113312 Add k_copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:04:08 +00:00
Matthias Köppe
db5302d96d (Swig_name_copyconstructor): Use "copy" naming scheme, not "construct".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:03:45 +00:00
Marcelo Matus
97e99219a7 fix ignored '%template(Foo)' after '%ignore Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 17:03:08 +00:00
Marcelo Matus
c98cffe7a6 use hidden attr instead of self, is more general
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:42:22 +00:00
Marcelo Matus
a4b8f2cb27 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
Marcelo Matus
d731d23397 check/fix the %delobject feature for member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 01:21:52 +00:00
Surendra Singhi
76ca56641e Frank Buss's fix for anon enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
43a5a07593 Use append instead of printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
db51f00b52 add missing goto fail when needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:14:57 +00:00
Marcelo Matus
1bb180523b implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
7f327d7c46 add forward class to the classhash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:40:47 +00:00