Commit graph

1,590 commits

Author SHA1 Message Date
Mark Rose
4b7e5fdffe Director fixes for operator method names and destructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 23:11:53 +00:00
Dave Beazley
7e615494b8 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 18:00:17 +00:00
Dave Beazley
2ab88fabbc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 17:59:09 +00:00
Dave Beazley
1738d4e5c1 Fixed nested namespace resolution problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 17:59:06 +00:00
Art Yerkes
2a4c46aec1 Small fix of accidental breakage during some recent editing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-21 04:31:45 +00:00
Dave Beazley
c1fa05651a new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-21 01:34:32 +00:00
Art Yerkes
14d27cfd0a Fix for C++ tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 02:54:41 +00:00
Art Yerkes
09af4a2de0 Added name_runme.ml
Proves solution to rename and %constant.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 00:34:26 +00:00
Dave Beazley
2cfb9272f8 Minor fix to SwigType_isclass()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-18 21:03:06 +00:00
Logan Johnson
b718237c82 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +00:00
William S Fulton
f4dd14e179 DYLD_LIBRARY_PATH added for Mac OS X
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 20:43:07 +00:00
William S Fulton
dd8422b089 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:49:13 +00:00
William S Fulton
19f805ac1f Mods for Java examples to run on Mac OS X
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:47:33 +00:00
Logan Johnson
afd3a339f1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00
Logan Johnson
7cfddcffc7 Additional fixes for Ruby 1.8 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:35:50 +00:00
Art Yerkes
3acd792de3 Strings test, tests in, out, inout string and char * types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 05:18:57 +00:00
Dave Beazley
b4831c6e0b A simpler preprocessor fix (for John's problem).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 22:10:18 +00:00
Logan Johnson
e4e9fea91b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 19:17:30 +00:00
Logan Johnson
79321cb7a7 Incorporated Nobu's patches for the Ruby module, to handle the new
allocation framework from Ruby 1.8. Also updated the TODO list to
indicate that this task has been completed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 18:51:00 +00:00
Logan Johnson
e1212a6d42 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:21:27 +00:00
Logan Johnson
2de683e019 Replaced all occurrences of the deprecated STR2CSTR() in Ruby code with
the new StringValuePtr().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:14:18 +00:00
Logan Johnson
27b798c807 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:03:22 +00:00
Dave Beazley
a29456369d preassert-postassert patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 18:23:03 +00:00
Dave Beazley
6d41699efb Added %contract directive. (Experimental)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:45:06 +00:00
Dave Beazley
493a80d180 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:43:59 +00:00
Dave Beazley
b1542c34c6 patch to macros with no arguments (again).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:33:17 +00:00
Dave Beazley
e0b62194df Added extra test-case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:26:10 +00:00
Dave Beazley
a07a51afa5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 15:43:39 +00:00
Dave Beazley
404b92eb46 Fixed meta-leak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 19:20:09 +00:00
William S Fulton
642d47f395 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:34:20 +00:00
William S Fulton
c5e9953972 Throw exception if Java array passed in is not the same size as the C array.
Was using C free when array created with C++ new.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:32:45 +00:00
William S Fulton
b6acd9dbd1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:28:38 +00:00
William S Fulton
cbe74a8b1e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:33:04 +00:00
William S Fulton
0ed5485945 Patch #715531
Patch to remove GCC3 warning:

cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory

I've used this patch for Guile and Tcl only as these seem to be the only 2 languages that actually use system include directories.

Older versions of Perl (pre 5.8 I think) also use -I for system include directories, but the -I part is obtained from the perl configuration file, so I've added a sed to modify it.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:22:27 +00:00
Dave Beazley
1dd095e426 Added section on typemaps and overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-05 01:44:57 +00:00
Dave Beazley
d2742d8d40 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 18:35:44 +00:00
Dave Beazley
d14a72baba Filled in missing section on proxies.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 04:14:27 +00:00
Dave Beazley
a909372d29 Some type system cleanup. A modest performance improvement as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 19:22:57 +00:00
William S Fulton
5ae8e90754 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:32:42 +00:00
William S Fulton
89e0c9b214 constants and enums are wrapped as C# constants rather than variables now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:31:19 +00:00
William S Fulton
399e9f5504 Modifications to testcase to test the enums and constants in a separate Java interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:30:26 +00:00
William S Fulton
f21760e2df Enums and constants put in a Java interface.
Based on patch submitted by Dave Dribin


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:28:39 +00:00
William S Fulton
5d4849ddf0 Removed deprecated pragmas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:12:22 +00:00
William S Fulton
9c8a3d61de Removed deprecated pragmas
Use %javaconst(1) for enums and constants


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:11:55 +00:00
William S Fulton
e2c2ba77d6 Not linking fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:10:03 +00:00
William S Fulton
2740581988 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:08:22 +00:00
Luigi Ballabio
5e6db51008 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 07:33:09 +00:00
William S Fulton
959114d678 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 21:12:15 +00:00
Luigi Ballabio
b416beb9e3 Miscellaneous patches from users
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00
Dave Beazley
f322d33c4c new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:41:10 +00:00