Commit graph

88 commits

Author SHA1 Message Date
Marcelo Matus
a80ac86316 add std_map example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 07:00:51 +00:00
William S Fulton
bf80147426 better approach to running gcj tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:30:37 +00:00
William S Fulton
3421742f46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 01:17:12 +00:00
William S Fulton
6db2ccd202 Only run gcj tests when gcj is installed on the box
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:53:53 +00:00
Jason Stewart
63c757ba94 reactivating the java test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 12:15:10 +00:00
Marcelo Matus
89e7497ac6 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Jason Stewart
6f0ac941e8 removed 'java' from the test list - this was causing errors for a non-existent test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:19:44 +00:00
Marcelo Matus
170ba59d07 silence new leak warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 20:24:06 +00:00
Marcelo Matus
aca35dbcde add %typemap(LANG,..) warning 1387184
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:48:55 +00:00
Marcelo Matus
becbb0cc81 test and update the weave example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 15:55:19 +00:00
Marcelo Matus
d5cb3bbcb9 uniform cni examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
b4e4fe23ca add tcl+java example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
ebcf1a041d cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:54:59 +00:00
Marcelo Matus
e4b8871ae2 add gcj and java->python initial support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
efcc7aeacf fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
d5122e2a9c force examples to use preinst-swig, as is done in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:17:20 +00:00
Marcelo Matus
6de5dc38fe use preinst-swig in all the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:48:51 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
ec75a4e978 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:49:44 +00:00
Marcelo Matus
48e2a09715 add swigpyrun.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:15:24 +00:00
Marcelo Matus
6777a49b1f add more docs and cases about how to use the %execption directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:06:41 +00:00
William S Fulton
c47c930f59 fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
Marcelo Matus
fbdf160f4a update to use -export-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 20:24:01 +00:00
Marcelo Matus
56dd829f7a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:43:49 +00:00
Marcelo Matus
6b499410dd more fixes for template + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
ae287532ae CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:37:15 +00:00
Marcelo Matus
520d9238c0 adding readme and minor runme.py fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 18:22:53 +00:00
Marcelo Matus
58326f9cc8 adding Prabhu's 'weave' example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 17:19:13 +00:00
Marcelo Matus
492c58c659 using the global runtime.swg instead of python/pyrunalias.swg. Now the same solution can be used in other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:36:26 +00:00
Marcelo Matus
73b3b898d6 add example of how to include the swig runtime code into external user code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:42:25 +00:00
Marcelo Matus
1b9dfb5838 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:40:02 +00:00
Marcelo Matus
3c0ce89d32 example of how to include the swig runtime code into external user code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:39:09 +00:00
Marcelo Matus
791f17abe4 fix warnings when using directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 23:18:01 +00:00
William S Fulton
3ef946d2d1 html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:13:39 +00:00
William S Fulton
49b2144e84 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:29:44 +00:00
Marcelo Matus
256efdf85b attributefunc not longer supported
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:22:25 +00:00
William S Fulton
e08fb23b8a incomplete and possibly out of date example removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:44:50 +00:00
William S Fulton
1885bc8f80 back to non-inlined destructors until the makefiles are fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 21:01:22 +00:00
William S Fulton
8dced082d4 Update for new runtime library approach (no more -runtime -noruntime)
Comment about inline destructors needed for some compilers added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:59:55 +00:00
Marcelo Matus
b9832ab0f0 fix import error, please update Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:04:16 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
John Lenz
d33f398c63 Update Examples to not build runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 19:56:35 +00:00
William S Fulton
ed445c6f54 Added missing Visual Studio project file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-06 22:21:28 +00:00
Marcelo Matus
c1549aa7b9 fix warnings with virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:43:17 +00:00
Marcelo Matus
05c465e72e more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 07:24:39 +00:00
William S Fulton
de9c2d5040 Windows example no longer uses prebuilt runtime DLL, rather it builds its own runtime DLL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 21:14:45 +00:00
William S Fulton
d1f74a864f import and import_template examples that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:37:37 +00:00
William S Fulton
db374a14f4 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
Marcelo Matus
54737ee9a9 - recover the proper catching exception mechanism for classes
(throw typemap).

- fix the examples with exception problems and warnings

- proper and consist treatment of basic types (short, unsigned char,...)

  now all are checked for range and sign. Before, this was depending of
  the use of parsing or no parsing, and/or the converter method, and/or
  the use of directors, etc.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 01:15:10 +00:00
William S Fulton
00a87d5a4b Added missing tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-20 21:27:27 +00:00