Commit graph

1,560 commits

Author SHA1 Message Date
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
Dave Beazley
932ed2c363 Added extra constructor to SwigValueWrapper to fix default argument problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:40:21 +00:00
Dave Beazley
37c78aa847 Added section on abstract classes and non-creation of constructor wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:37:45 +00:00
Dave Beazley
5f076c6540 Fixed template partial specialization argument expansion bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 19:08:25 +00:00
Dave Beazley
30eaab00ed *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 19:08:01 +00:00
Dave Beazley
9e272727ae Added pointer test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 17:57:30 +00:00
Dave Beazley
6d9e990ac4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 16:54:41 +00:00
William S Fulton
10d2f46a7f Fix when configuring in a directory other than the root directory. Multiple build directories for building the executable now possible.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:26:17 +00:00
William S Fulton
eeddaf221c Fix for configuring in a directory other than the root directory. Multiple build directories now seem to work for building the runtime libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:20:53 +00:00
William S Fulton
165d715863 Perl and PHP soft link fix when configuring in a directory other than the root directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:11:13 +00:00
William S Fulton
657f51d5be *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-31 14:31:27 +00:00
William S Fulton
1802f26e55 Fix for parallel make builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-31 14:28:04 +00:00
Dave Beazley
10427706a3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-28 16:12:03 +00:00
Dave Beazley
1aefd191bf Memory diagnostics. Huge memory leak cleanup related to templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
Dave Beazley
8af562f3a0 Fixed "bloody hell" expression evaluation problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 22:58:40 +00:00
Dave Beazley
7aee806775 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 22:54:37 +00:00
Dave Beazley
cdd2efd7f6 Missing declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 17:28:35 +00:00
Art Yerkes
a2db8d0bb2 Fixed runme for current code generation. No _get or _set on method names
for getting and setting struct or union members.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 15:13:13 +00:00
William S Fulton
a9dd72b92d warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:33:41 +00:00
William S Fulton
2516aa110f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:32:15 +00:00
Dave Beazley
c2dc5bbab1 Fixed default argument problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 23:21:04 +00:00
Dave Beazley
e7206b20a6 Fixed segfault problem. We should probably release 1.3.19 fairly soon as this
problem was serious.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 19:18:32 +00:00
Dave Beazley
66a0fdb121 Preliminary typesys work. Doesn't compile---work in progress.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:29:11 +00:00
Dave Beazley
b02f748627 String enhancements. Slice deletion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:28:00 +00:00
Art Yerkes
9361880b56 Added namespace qualification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:10:35 +00:00
Dave Beazley
94d825c1a8 Fixed problem with NOQUOTE string replacement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-25 20:10:15 +00:00
Dave Beazley
269a111ddb Bumped version to 1.3.19.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 22:47:23 +00:00
Dave Beazley
67756cc748 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 22:41:03 +00:00
Dave Beazley
1d4515ebb0 Patch to support case-insensitive platforms (such as OS-X). The swig executable
is now built as 'eswig' and copied to the outer directory as 'swig.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 21:03:06 +00:00
Dave Beazley
b9ef74ebb1 Compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:44:52 +00:00
Dave Beazley
95c1e3276c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:38:05 +00:00