Commit graph

5,502 commits

Author SHA1 Message Date
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
William S Fulton
b4e5f33592 Specify classpath which is needed should the CLASSPATH env variable be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 19:54:27 +00:00
William S Fulton
dc36e3b122 add in user friendly error when configure.in has change and a reconfigure is needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 16:31:47 +00:00
Marcelo Matus
068bb805ed test operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:44:44 +00:00
Marcelo Matus
0767474ada add operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 09:36:58 +00:00
Marcelo Matus
4e053d72ce use simpler %ignoreoperator directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 07:58:15 +00:00
Marcelo Matus
4e7bc4d6aa fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 07:15:58 +00:00
Marcelo Matus
ed53e75df6 add macros/names to avoid numeric warning codes. use them in tcl,perl,ruby and python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
87c038c82c fix typos in names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:53:36 +00:00
William S Fulton
21e601d59f call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
William S Fulton
c80bfc55e6 call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:09:33 +00:00
William S Fulton
b5d3117170 add in complete increment/decrement operator checks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
01b07443ff Fix C# increment/decrement operator wrappers
Add in runtime test to check increment/decrement operators are working correctly (pure C++ test)
Expose the function that checks all C++ operators so it can be called from target language


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:05:46 +00:00
Marcelo Matus
8307e12982 unsigned/signed casts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:59:30 +00:00
Marcelo Matus
174c2a36c1 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:58:14 +00:00
Marcelo Matus
4e05ba0554 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:57:44 +00:00
Marcelo Matus
2642d272e8 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:28:51 +00:00
Marcelo Matus
f974cba664 avoid signed/unsigned warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:13:12 +00:00
Marcelo Matus
b73ca56b1e avoid extra casting since they conflict with 'const', reported by James Bigler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:08:06 +00:00
Marcelo Matus
5612807986 fix problem with containers reported by John Koleszar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 21:37:59 +00:00