Commit graph

100 commits

Author SHA1 Message Date
Marcelo Matus
fbdc4d8e3c fixes for directors + pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
fc6be0dba0 change director order back, bad fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:11:28 +00:00
Marcelo Matus
a8d990ca14 replace by SWIG_POINTER_OWN instead of '1'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:40:29 +00:00
Marcelo Matus
3211840744 fix compiler warnings and finishing transition to the option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:10:39 +00:00
Marcelo Matus
028f1e492d uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
cf9c5fb721 make base director class virtual and eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:33:42 +00:00
Marcelo Matus
f2f1b9889f Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
dbce71f7a8 exit properly when getting wrong number of args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:45:32 +00:00
Marcelo Matus
bd7b3fcb1d finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
5af71f22b3 fix cleanup for ruby and make the process similar in python and tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:53:45 +00:00
Marcelo Matus
1c7c9e44f7 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
020a41729d remove spurious code generation (temp variables) in director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 19:20:11 +00:00
William S Fulton
4bff2bc406 Multiple inheritance warnings and ignored base classes fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:42:20 +00:00
William S Fulton
1f58b1363c 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@7585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:30:41 +00:00
Charlie Savage
72c48ff661 Fixed handling of constants. Previously if a %constant directive was defined before a #define it would not work correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-03 19:47:06 +00:00
William S Fulton
bc2a59ee9d Modify following features to work as flags, so that they can be truely set and unset:
predicate


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:51:11 +00:00
William S Fulton
856386a22c Modify following features to work as flags, so that they can be truely set and unset:
ruby


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:46:15 +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
75972cd1df 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@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
Charlie Savage
a25128bb6f Added support for the new track objects functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:05:24 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
William S Fulton
43015f7aca Implement support for SWIGTYPE* DISOWN typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:16:34 +00:00
William S Fulton
ca8bf2dafc minor type correction to remove unsigned/signed mismatch warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:35:53 +00:00
William S Fulton
c25d1c8e35 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
441efdb411 corrected directorout warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:52:53 +00:00
John Lenz
ef58056ffd Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
2906fc959e swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
William S Fulton
8a22867e9a Fix so the following produces compileable code like it does in other language modules:
struct XYZ{};
%{ struct XYZ{}; %}


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 20:59:43 +00:00
John Lenz
f6964f285f - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
William S Fulton
215dc951af Sun Workshop compiler fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:41:13 +00:00
Marcelo Matus
8c2bc267b8 add support for template_extmode, ie, the emitonlychildren feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:50:06 +00:00
Marcelo Matus
f678d1eed0 support/ignore multi-inheritance directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:52:38 +00:00
Marcelo Matus
464c01da12 fix def args + director + constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
31d0ef38c4 missing fixes for nodirector methods, already fixed in python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:04:17 +00:00
William S Fulton
11d77ef9ae various fixes to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:10:06 +00:00
Marcelo Matus
a34970d9fc add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Marcelo Matus
df9fa977a8 fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
William S Fulton
79bec67051 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
William S Fulton
97c2eeaf90 compact default arguments feature (original default argument wrapping mode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
John Lenz
4645346381 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
William S Fulton
b89d4b0eb8 Fixes for director code with exception specifications on the destructor (director_exception.i testcase)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:46:04 +00:00
William S Fulton
9b40e16ea8 fixes for the new default argument wrapping in director constructors and virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:10:24 +00:00
Lyle Johnson
10a3081da9 Pass "false" as the value for the "disown" argument of director-wrapped
constructors (instead of 0) to disambiguate it from pointer arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:49:23 +00:00
Lyle Johnson
4889aadd3d Corrections for Ruby 1.6 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:37:54 +00:00
Lyle Johnson
745117d4f6 Corrected a bug which caused Ruby exceptions to not be correctly
converted into C++ exceptions for director classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 02:20:26 +00:00
Lyle Johnson
f28f2f6240 Committed Kou's patch for the Ruby module (for the -prefix command line
option). Also updated the Ruby docs accordingly.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 18:32:43 +00:00
William S Fulton
85ae8dd377 -ldflags option removed for removed prebuilt runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:42:54 +00:00
Lyle Johnson
410af41cae Incorporated Kou's patch for the Ruby module's %import directive, so
that nested module names are imported correctly.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:52:43 +00:00
Marcelo Matus
23ea59435d fix dirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:20:04 +00:00
Marcelo Matus
2625795a82 add support for 'throw' declarations in director classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-24 00:28:54 +00:00