Commit graph

736 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
3851e222d0 Fixed xml sym:name problem.
**** SPECIAL CAUTION TO DEVELOPERS ****
The strings that represent attribute key names like "name",
"sym:name", "type", and so forth are extensively shared to save
memory.  If a key name is modified for some reason (which is not
recommended), be aware that those change may affect thousands of parse
tree nodes.  Moreover, changes to a key name will break the hashing
algorithm used to perform attribute lookup.

Bottom line: don't modify hash table key strings.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 14:13:34 +00:00
Jonah Beckford
fc89bc2f9b Fixed extremely silly mistake that causes intermittent failures when
overloading methods.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-22 12:54:33 +00:00
William S Fulton
6b4f4c9d21 minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 22:24:18 +00:00
William S Fulton
20184c76e7 Warning tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00
Dave Beazley
c64bd1716e Fixed overloaded constructor+%extend problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 17:11:06 +00:00
Dave Beazley
f915b0af06 overloaded constructor patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 17:10:52 +00:00
Dave Beazley
7777e17599 Oops. Accidently nuked a {. Fixed now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:28:33 +00:00
Dave Beazley
c4454717c3 Fixed comment problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:12:54 +00:00
Dave Beazley
3db66c72ab Fixed template_extend_overload test. Marcelo, I'll need you to double check
your code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 21:09:36 +00:00
Art Yerkes
f7d59cab5d All but four test cases work. I'm going to leave these for afterward.
I've moved completely away from the "value" type to "caml_value_t".  Although
a bit painful, this will make things easier for me.  I seem to be seeing
quite a few things that use the word value as a function, type, etc, and
wanted to get something that doesn't collide.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 20:51:05 +00:00
Dave Beazley
815f414e65 Fixed odd class scope bug.
class Foo {
public:
    int Foo::bar(int x);
};

SWIG just drops the "Foo" prefix the method and continues (previously,
the declaration was ignored entirely).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:36:51 +00:00
Dave Beazley
878e7735cf Incorporated [ 696516 ] Enabling exception processing for data member access.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:13:52 +00:00
Dave Beazley
7f26e39937 Added patch 701860.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
William S Fulton
93b9d5e23f Reserved word checking removed - a #define can be used in interface instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:02:51 +00:00
William S Fulton
9b1383e1a6 cosmetic change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:44 +00:00
William S Fulton
c201cb7376 vararg support for Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Art Yerkes
4b2da49eb3 Added:
Type registration.  Correct support for casting.  Proper type safety.
Changed:
ocaml.swg: Correct casts, declaration order for C
ocamldec.swg: Removed problematic forward declarations without array index.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Mark Rose
ebbc33f90b director method tagging simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Dave Beazley
6ec42cda59 Minor tweak to earlier const-smart-pointer fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 00:28:47 +00:00
Dave Beazley
34a220f341 Fixed function argument bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00