Commit graph

6,056 commits

Author SHA1 Message Date
Olly Betts
44eaee3a01 Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Olly Betts
b42168cf6e [php] Move constant initialisation from RINIT to MINIT to fix a
warning when using Apache and mod_php.  We only need to create
PHP constants once when we're first initialised, not for every HTTP
request.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-29 02:29:16 +00:00
Joseph Wang
0d9d964b5a rename non-classes operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:48 +00:00
Joseph Wang
a7207e3b89 change the logic for the test. As it was, it always failed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:11 +00:00
Joseph Wang
9b7572a16f add methods call and deref for functor and dereferencing operators
add hash to make sure that each method only appears once


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 22:48:58 +00:00
Mark Gossage
02f0a49bc5 Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
John Lenz
e59a47f6b1 Add feature:constasvar to guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-19 23:32:56 +00:00
William S Fulton
6df6534f0c remove name clash with runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:59:11 +00:00
William S Fulton
ba8acb59a7 Fix win32 threads
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:51:50 +00:00
William S Fulton
907491072c CFLAGS used for linking as is the norm
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:47:09 +00:00
William S Fulton
8e2e2bc8db update cvs server details
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-15 14:14:19 +00:00
William S Fulton
ef4764a690 update cvs server details
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-15 14:01:30 +00:00
Surendra Singhi
e88aa73dc5 operator overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-13 13:26:37 +00:00
Surendra Singhi
3effced22a added preliminary C++ support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-13 13:22:11 +00:00
William S Fulton
5d146ae426 Ported threading to win32
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:55:19 +00:00
William S Fulton
4b0899528b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:33 +00:00
William S Fulton
e236e10bf7 Fix for directors and non jvm created threads - the jvm would not close
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
William S Fulton
34c750a604 "threads" in %module only needed by python - but then is it really needed??
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:34:08 +00:00
William S Fulton
425faf1666 director thread runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:32:19 +00:00
William S Fulton
a8bbf12c75 director_thread added to common.mk and removed from python/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:11:24 +00:00
William S Fulton
f7c8948a58 This is file is not new, it has been moved from the python subdirectory so it can be used by all language modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:09:46 +00:00
William S Fulton
683ab90d1a move this test up one directory so it can be used by all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:07:16 +00:00
William S Fulton
f73d9274b9 workaround indent beautifier problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:36:59 +00:00
William S Fulton
84f07bf77e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:33:22 +00:00
William S Fulton
c20e517238 Fix protected director methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:31:41 +00:00
William S Fulton
f26ab4f86e runtime test to match the java one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:29:43 +00:00
William S Fulton
9f0a3f623a more tests to match the c#/java runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:25:57 +00:00
William S Fulton
18715d1471 %apply signed char test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:22:12 +00:00
William S Fulton
3730b3ee07 more brackets in comment fixes for simple text editor bracket matching algorithms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-07 21:32:18 +00:00
William S Fulton
7b62956e29 indent beautify parsing problem fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-07 21:19:17 +00:00
Luigi Ballabio
2ba3707828 Fixes for std::pair typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-01 07:51:45 +00:00
Joseph Wang
498b8ec576 remove extern symbol that was causing errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-29 06:29:10 +00:00
William S Fulton
8ffbfcc9bc More comprehensive test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 22:25:25 +00:00
William S Fulton
eafd1d8413 More comprehensive test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 21:57:35 +00:00
Mikel Bancroft
2709b65d83 07/25/2006: mutandiz
[allegrocl]
	    more additions to std::string, some tweaks and small bug fixes
	    -nocwrap mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00
William S Fulton
0d30f52e97 Fix long long typemaps so that they can be applied to __int64 and other equivalents
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:37:10 +00:00
William S Fulton
b716a0a0c3 Fix test - SWIG was incorrectly getting #defines to the windows integer types, which was not intended in original test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:34:12 +00:00
Mark Gossage
b2363bff02 upfdated to the typemaps to support std:strings with '\0' in them, and to add a typemap for SWIGTYPE** OUTPUT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-21 08:51:40 +00:00
Mikel Bancroft
f2ff50e60e 07/19/2006: mutandiz
[allegrocl]
	    - Add std_string.i support.
	    - Add newobject patch submitted by mkoeppe (thanks!)
	    - Fix type name mismatch issue for nested type definitions.
	      specifically typedefs in templated class defns.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 21:53:07 +00:00
Mark Gossage
31c0982668 addition to support the -external-runtime command line option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 01:20:39 +00:00
William S Fulton
5f1bf2e541 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:30 +00:00
William S Fulton
b012ddade9 Fix library paths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:10 +00:00
William S Fulton
aef037260a Fix mingw install
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:56:02 +00:00
Mark Gossage
0e759dae5a addition to support the -external-runtime command line option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 09:33:10 +00:00
John Lenz
cf3a18e631 Increment SWIG_RUNTIME_VERSION to 3, because of addition of owndata
Reported by: Prabhu Ramachandran


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-15 01:38:53 +00:00
William S Fulton
7c2c142a68 new director test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-12 20:18:08 +00:00
Olly Betts
afa9552b5c Fix the easiest warnings in the generated code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-11 04:53:33 +00:00
Hans Oesterholt-Dijkema
b593492d03 * mzscheme code can now dynamically load libraries, that are needed
at runtime. This allows for code to be generated at some site, and
  distributed without the need for SWIG.

  The distribution needs only the header filesfor which the code has been
   generated. Linking is done at runtime, by loading the dynamic libraries.

   Functions are resolved when needed.

   Though somewhat inefficient, it provides for a way to distribute code
   or binaries that are independent of the version of the installed libraries,

   which comes in especially handy for e.g. binding against Gtk.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-09 17:10:05 +00:00
Surendra Singhi
255819eaa8 Cleaned some old code, allow overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-09 16:47:04 +00:00
William S Fulton
685cf52490 updated version from autoconf macro archive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-08 00:55:55 +00:00