Commit graph

1,574 commits

Author SHA1 Message Date
Dave Beazley
380d1bf82a A simpler preprocessor fix (for John's problem).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 22:10:18 +00:00
Logan Johnson
0548a0794f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 19:17:30 +00:00
Logan Johnson
c621aa6c27 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@4684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 18:51:00 +00:00
Logan Johnson
d0332deb00 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:21:27 +00:00
Logan Johnson
961b144d29 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@4682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:14:18 +00:00
Logan Johnson
e0cd3cc7fa *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:03:22 +00:00
Dave Beazley
5bad01da3f preassert-postassert patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 18:23:03 +00:00
Dave Beazley
67b82a4091 Added %contract directive. (Experimental)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:45:06 +00:00
Dave Beazley
bff9d5f313 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:43:59 +00:00
Dave Beazley
cd780b84a6 patch to macros with no arguments (again).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:33:17 +00:00
Dave Beazley
07e923c024 Added extra test-case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:26:10 +00:00
Dave Beazley
544c455e4c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 15:43:39 +00:00
Dave Beazley
881e79e042 Fixed meta-leak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 19:20:09 +00:00
William S Fulton
856dcad35d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:34:20 +00:00
William S Fulton
f572bc096a 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@4672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:32:45 +00:00
William S Fulton
2e7e5e060e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:28:38 +00:00
William S Fulton
6db060e6ef *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:33:04 +00:00
William S Fulton
ce5c416e9d 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@4669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:22:27 +00:00
Dave Beazley
c25cbb1fda Added section on typemaps and overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-05 01:44:57 +00:00
Dave Beazley
c490d3d2e9 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 18:35:44 +00:00
Dave Beazley
0bd9a9d8ce Filled in missing section on proxies.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 04:14:27 +00:00
Dave Beazley
cf60b23cf5 Some type system cleanup. A modest performance improvement as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 19:22:57 +00:00
William S Fulton
4a8c2c1fe1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:32:42 +00:00
William S Fulton
d6169061d6 constants and enums are wrapped as C# constants rather than variables now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:31:19 +00:00
William S Fulton
85e426a0bc 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@4662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:30:26 +00:00
William S Fulton
9cc7fb5a1e 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@4661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:28:39 +00:00
William S Fulton
09b784ba2b Removed deprecated pragmas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:12:22 +00:00
William S Fulton
d445b3594e Removed deprecated pragmas
Use %javaconst(1) for enums and constants


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:11:55 +00:00
William S Fulton
13de06ba39 Not linking fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:10:03 +00:00
William S Fulton
8507c7e8b9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:08:22 +00:00
Luigi Ballabio
25fbc470b2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 07:33:09 +00:00
William S Fulton
69e0465f0b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 21:12:15 +00:00
Luigi Ballabio
65cffcce15 Miscellaneous patches from users
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00
Dave Beazley
4b225cd251 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:41:10 +00:00
Dave Beazley
3523a80886 Added extra constructor to SwigValueWrapper to fix default argument problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:40:21 +00:00
Dave Beazley
1adb9d5084 Added section on abstract classes and non-creation of constructor wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:37:45 +00:00
Dave Beazley
c54a578384 Fixed template partial specialization argument expansion bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 19:08:25 +00:00
Dave Beazley
9f8c39b12b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 19:08:01 +00:00
Dave Beazley
49b6cdac98 Added pointer test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 17:57:30 +00:00
Dave Beazley
1eea411073 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 16:54:41 +00:00
William S Fulton
bd04d4cfb0 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@4646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:26:17 +00:00
William S Fulton
d3ff2f9744 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@4645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:20:53 +00:00
William S Fulton
b6efce1c68 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@4644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-01 11:11:13 +00:00
William S Fulton
89c226d425 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-31 14:31:27 +00:00
William S Fulton
c5c1ed5e35 Fix for parallel make builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-31 14:28:04 +00:00
Dave Beazley
6c9ae97551 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-28 16:12:03 +00:00
Dave Beazley
9f47936dd0 Memory diagnostics. Huge memory leak cleanup related to templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
Dave Beazley
8a1dd3868a Fixed "bloody hell" expression evaluation problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 22:58:40 +00:00
Dave Beazley
4bc26e78ca new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 22:54:37 +00:00
Dave Beazley
4cad223e98 Missing declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 17:28:35 +00:00