Commit graph

864 commits

Author SHA1 Message Date
Matthias Köppe
8a1cb2fcf6 Don't forget to close the "scmstubfile".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 01:42:58 +00:00
Surendra Singhi
853c92edda Removed a bug which was not allowing code for unions to be generated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 15:04:24 +00:00
Surendra Singhi
55211bbf26 Fixed the void* bug. Thanks to Matthias.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 12:40:05 +00:00
Marcelo Matus
654efd7ba5 fix template forward + using
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
Marcelo Matus
120184f1be fix kwargs + -O and use Swig_name_make for parameter names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:49 +00:00
Marcelo Matus
dba7b6d425 fix detection of public access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 17:31:15 +00:00
Marcelo Matus
c9344a3e06 fix warning for unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:15:35 +00:00
Marcelo Matus
c249ad9291 fix for VC warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:49:43 +00:00
Marcelo Matus
b29252b2b3 solve label warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:01:54 +00:00
Marcelo Matus
9d50efa32e fix perl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
Marcelo Matus
56c682d6f9 fix missing freeargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
Marcelo Matus
841b1e15bc allow to apply freearg ven when no in typemap is in place when numimputs=0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Charlie Savage
924a56a1aa Added support for Ruby bang methods. Bang methods end in exclamation points and indicate that the object being worked on will be modified in-place as opposed to being copied.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:25:48 +00:00
Charlie Savage
ce83e5d091 Changed spelling mistake in autorename command line option text, also changed text a bit to be more descriptive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:31:20 +00:00
Marcelo Matus
290a7da24c fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:09 +00:00
Marcelo Matus
aadfeadad9 add the -autorename/-noautorename option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:22:32 +00:00
Matthias Köppe
bec3b173a3 Don't use catch...throw in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Charlie Savage
f4d48d7bfc Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Marcelo Matus
16e70de9ae add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
Mark Gossage
27da47b56c updated CHANGES.current & small fix to lua.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:22:46 +00:00
Surendra Singhi
695b448cd4 Fixed a struct related bug. Reported by Frank Buss and Kilian.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:42:24 +00:00
Marcelo Matus
929428bd3f finally, fix the croak/Nullch issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 15:56:57 +00:00
Marcelo Matus
a24b11a8d3 clarify in the code what is the catch list and the throw list, which don't have to be the same, and don't modify the throws attribute since it should be inmutable (for xml and others)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:34:06 +00:00
William S Fulton
8c6ffe1de8 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
William S Fulton
e3179dca4c Visual Studio warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:22 +00:00
William S Fulton
9369bae9f4 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:19:30 +00:00
Marcelo Matus
a925249e0b change the %catchs name to %catches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:17:15 +00:00
Charlie Savage
ee63d5276c Updated Ruby Exception handling. Classes that are specified in throws clauses, or are marked as %exceptionclass, are now inherited from rb_eRuntimeError. This allows instances of these classes to be returned to Ruby as exceptions. Thus if a C++ method throws an instance of MyException, the calling Ruby method will get back a MyException object. To see an example, look at ruby/examples/exception_class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 19:19:19 +00:00
Marcelo Matus
e676d2f8bd rename %throws to %catchs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 18:47:51 +00:00
Marcelo Matus
b044703d0d better support for the %throws directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 17:19:22 +00:00
Marcelo Matus
38c8cf2cb8 add __not__ and test the new bool typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 15:53:23 +00:00
Marcelo Matus
06a949da6d add the %throws directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 10:12:32 +00:00
Marcelo Matus
a853c87d5b add croak(Nullch) again and propagate exception as needed, please jason, check this one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 01:06:38 +00:00
Charlie Savage
8c2edd7aa0 SWIG_RubyAddTracking and SWIG_RubyRemoveTracking were not being correctly generated since they were looking for featue:trackobjects on the constructor/destructor nodes as opposed to the class node.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 00:29:57 +00:00
William S Fulton
31ad1e3a8a Fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 22:08:11 +00:00
Mikel Bancroft
502d6473e1 01/09/2006: mutandiz
Fixes a number of SEGVs primarily in the handling of
	various anonymous types. Found in a pass through the
	swig test-suite. Still more to do here, but this is a
	good checkpoint.

	Adds -cwrap and -nocwrap as an allegrocl specific
	command-line argument. Controls generating of a C
	wrapper file when wrapping C code. By default only a
	lisp file is created for C code wrapping.

	Doc updates for the command-line arguments and fixes as
	pointed out on swig-devel


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 18:49:23 +00:00
Marcelo Matus
550958058d replace as needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:41:32 +00:00
Marcelo Matus
a05ba722d7 add %delobject, which is the equivalent of %newobject but for functions that delete an element. This allows to properly disown the argument, as the %newobject directive allows to 'own' the object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:35:04 +00:00
Mark Gossage
4b4a6aa09d applied neomantra's patches & fixed C89 bug #1356574
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 07:59:11 +00:00
Marcelo Matus
d37aed0f65 use "" instead of Nullch until we resolve about using Nullch + '@' + exceptions or not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:43:42 +00:00
Marcelo Matus
9ba22b45c0 back to Nullch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 22:05:21 +00:00
Marcelo Matus
c378cb8f29 back to Nullch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 22:03:28 +00:00
Marcelo Matus
02c17b6d22 add info about SWIG_FEATURES and -help when no option is found. Use --help as alias of -help, following gnu-ish style.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:47:31 +00:00
Marcelo Matus
defd9f4446 add extra replace that the UTL requires
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 19:37:34 +00:00
Jason Stewart
48bbd2b7fa removed printf output for operator overloading ; added back croak(Nullch) in fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 11:26:20 +00:00
William S Fulton
916a23d3c4 Fix last sorting commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:48:26 +00:00
Marcelo Matus
cf431d3b47 add buildnone option and cosmetics, including sorting options by name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
7d489fa3ea remove extra 'directory' word
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 03:02:11 +00:00
William S Fulton
ddb87504ef Commandline option display: Put back in alphabetical order, fix typos and improve wording and consistency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:34:31 +00:00
Marcelo Matus
7b6da53094 fix overload_simple case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:48:28 +00:00