Commit graph

5,321 commits

Author SHA1 Message Date
William S Fulton
a4d9eda5d1 update after running tool checkers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:34:29 +00:00
William S Fulton
8499c1fd81 minor html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:32:12 +00:00
William S Fulton
c2a3f9d3fb toc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:26:16 +00:00
William S Fulton
a1e1b03788 remove deprecated language specification in %typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:23:27 +00:00
Charlie Savage
9b2b3912cf Removed defining rb_eNullReferenceError since this doesn't work in C - it
causes a 'initializer element is not constant" error.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 20:11:37 +00:00
Charlie Savage
52ae3f6d24 Removed duplicate definition of struct Guard.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 20:00:56 +00:00
Charlie Savage
5f53a1357a Added Ruby support for SWIG_NullReferenceError.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 19:43:26 +00:00
Marcelo Matus
9e0c79bc1a allow the result code to be passed to the error routine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 19:12:51 +00:00
Mikel Bancroft
afa792c0f4 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@8322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 18:49:23 +00:00
Marcelo Matus
7169422ff6 fix missing _PyInstance_Lookup for versions < 2.3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:44:59 +00:00
Marcelo Matus
640d60c198 make both %rename directive formats equivalent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:43:46 +00:00
Marcelo Matus
efecfe0ee2 replace as needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:41:32 +00:00
Marcelo Matus
9fb217b048 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@8318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:35:04 +00:00
Marcelo Matus
3f9632722a fix rename, problem detected in guile which doesn't set any namewarn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 17:06:19 +00:00
Mark Gossage
ab9338a15e applied neomantra's patches & fixed C89 bug #1356574
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 07:59:11 +00:00
Marcelo Matus
b0186785dc more examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 03:00:45 +00:00
Marcelo Matus
7669cda679 fix ||, it should be &&
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 03:00:18 +00:00
Marcelo Matus
e042583c4b clarify the error message, until we resolve the default behavior
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 01:09:21 +00:00
Marcelo Matus
016e6965e9 use "" instead of Nullch until we resolve about using Nullch + '@' + exceptions or not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:43:42 +00:00
Marcelo Matus
ea53f7c645 map iterators now use the native PySwigIterator, which is very very good for large maps, since no more temporals key/value tuples are needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 00:40:44 +00:00
William S Fulton
670f9611e2 better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 22:53:07 +00:00
Marcelo Matus
08308246aa back to Nullch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 22:05:21 +00:00
Marcelo Matus
c045b284fc back to Nullch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 22:03:28 +00:00
Marcelo Matus
efa12c7c32 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@8307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:47:31 +00:00
William S Fulton
46b35fe12e Resort back to SWIG-1.3.27 STL exception handling. The generic std_except.i does not work due to some problem with SWIG_exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:21:24 +00:00
William S Fulton
ca0819f8e3 Make sure guile doesn't use this file either. It does not work for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:19:55 +00:00
William S Fulton
7f8b30f3b5 _std_deque.i moved from Lib directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:17:06 +00:00
William S Fulton
eb433dbef1 Each target language now has its own std_deque.i like the other STL wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:08:44 +00:00
William S Fulton
297c3e89ab Make sure this file is not included by Java or C# (std_deque.i) was using it after recent commits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:07:51 +00:00
William S Fulton
7c4d7a8afe moved from Lib directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:05:23 +00:00
Marcelo Matus
f83bb5488d extra check to see if the template deftype is needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 19:41:32 +00:00
Marcelo Matus
6eff5b03dd add extra replace that the UTL requires
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 19:37:34 +00:00
Jason Stewart
252897a324 removed printf output for operator overloading ; added back croak(Nullch) in fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 11:26:20 +00:00
William S Fulton
7451b5312c document #error and #warning including cpperraswarn/nocpperraswarn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 10:12:35 +00:00
William S Fulton
c28e5ce47b Fix last sorting commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:48:26 +00:00
Marcelo Matus
a7986b9077 add value iterator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:30:53 +00:00
Marcelo Matus
68f9b0408c update as std::map
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:48:47 +00:00
Marcelo Matus
ab9d75f3c9 fix to avoid copies when the wrapper class exists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:08:21 +00:00
Marcelo Matus
a20ed1dc80 fix to avoid copies when the wrapper class exists, and to accept std::map pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:04:45 +00:00
Marcelo Matus
532fa355ea add std_map example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:00:51 +00:00
Marcelo Matus
165b0032e9 add buildnone option and cosmetics, including sorting options by name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
dec3a557de add alias name for templates including full expanded type, including default template args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:56:47 +00:00
Marcelo Matus
b4a5b5aced fix template + global funcs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:55:41 +00:00
Marcelo Matus
4794eeed45 remove extra 'directory' word
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 03:02:11 +00:00
William S Fulton
529882178a better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:30:37 +00:00
William S Fulton
4d5e38b01f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:17:12 +00:00
William S Fulton
48d71a9a89 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
fd23967a1c Only run gcj tests when gcj is installed on the box
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:53:53 +00:00
William S Fulton
e963fb836d add missing languages to commandline options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:42:31 +00:00
William S Fulton
a5bc25841e 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@8281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:34:31 +00:00