Commit graph

102 commits

Author SHA1 Message Date
Maciej Drwal
e058e1f42f Merged revisions 10498-10499,10503-10504,10506,10508,10511,10515-10516,10518-10519,10527,10530-10531,10536-10537,10539-10552,10558-10568,10574-10580,10582,10584,10588-10589,10594 via svnmerge from
https://swig.svn.sourceforge.net/svnroot/swig/trunk

........
  r10498 | talby | 2008-05-26 22:09:56 +0200 (Pn, 26 maj 2008) | 2 lines
  
  run test cases in the Perl set by the --with-perl5 configure option.
........
  r10499 | talby | 2008-05-26 23:04:06 +0200 (Pn, 26 maj 2008) | 3 lines
  
  The perl5 minherit runtime test will work better if the classes are 
  actually built under SWIGPERL.
........
  r10503 | wsfulton | 2008-05-28 11:44:37 +0200 (Śr, 28 maj 2008) | 1 line
  
  Fix variable wrappers when using -proxy. Patch from Jan Jezabek
........
  r10504 | bhy | 2008-05-28 19:27:48 +0200 (Śr, 28 maj 2008) | 2 lines
  
  Fixed SF #1971977:  typo in pycontainer.swg (related to -extranative option)
........
  r10506 | wsfulton | 2008-05-29 02:45:28 +0200 (Cz, 29 maj 2008) | 1 line
  
  Fix variable wrappers when using -noproxy
........
  r10508 | bhy | 2008-05-30 15:53:33 +0200 (Pt, 30 maj 2008) | 1 line
  
  Fixed SF #1976978, apply the macros for primitive types to std::wstring
........
  r10511 | olly | 2008-05-30 18:11:27 +0200 (Pt, 30 maj 2008) | 4 lines
  
  Fix typo in handling of /*@SWIG[...]*/ comments in the scanner.  This just
  meant we were only actually looking for /*@SWI at the start of the comment, so
  was pretty harmless in practice.
........
  r10515 | wsfulton | 2008-06-02 22:10:40 +0200 (Pn, 02 cze 2008) | 1 line
  
  Fix samename testcase for c# and java
........
  r10516 | wsfulton | 2008-06-02 22:15:39 +0200 (Pn, 02 cze 2008) | 1 line
  
  Fix enums when using -noproxy
........
  r10518 | bhy | 2008-06-07 13:20:07 +0200 (So, 07 cze 2008) | 4 lines
  
  Added a test case for keyword renaming.
  Now it works for Python in SWIG's -c++ mode,
  but in C mode it doesn't work! (you can try with make keyword_rename.ctest)
........
  r10519 | bhy | 2008-06-07 15:40:51 +0200 (So, 07 cze 2008) | 1 line
  
  fixed keyword_rename.ctest tese case, caused by a mistake in Swig/naming.c
........
  r10527 | mgossage | 2008-06-17 04:57:15 +0200 (Wt, 17 cze 2008) | 1 line
  
  [lua] bugfix 1938142 (bool& and bool* support)
........
  r10530 | wsfulton | 2008-06-19 22:02:13 +0200 (Cz, 19 cze 2008) | 1 line
  
  Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
........
  r10531 | wsfulton | 2008-06-19 23:15:48 +0200 (Cz, 19 cze 2008) | 1 line
  
  add complete list of R reserved words
........
  r10536 | wsfulton | 2008-06-21 13:35:33 +0200 (So, 21 cze 2008) | 1 line
  
  better terminology for static types
........
  r10537 | wsfulton | 2008-06-21 13:42:48 +0200 (So, 21 cze 2008) | 1 line
  
  remove raise as keyword test- it conflicts with _raise in LIBCMT on windows
........
  r10539 | wsfulton | 2008-06-21 17:21:29 +0200 (So, 21 cze 2008) | 1 line
  
  Lua example warning removal fixes for vc++
........
  r10540 | wsfulton | 2008-06-21 17:23:02 +0200 (So, 21 cze 2008) | 1 line
  
  Remove some vc++ /W4 warnings
........
  r10541 | wsfulton | 2008-06-21 18:04:55 +0200 (So, 21 cze 2008) | 1 line
  
  minor vc++ /W4 warning fixes
........
  r10542 | wsfulton | 2008-06-21 21:07:51 +0200 (So, 21 cze 2008) | 1 line
  
  'byte' is already used in Ruby on windows, so use another keyword
........
  r10543 | wsfulton | 2008-06-21 22:45:32 +0200 (So, 21 cze 2008) | 1 line
  
  Fix crashing in the Ruby reject method in the STL wrappers
........
  r10544 | wsfulton | 2008-06-21 22:48:28 +0200 (So, 21 cze 2008) | 1 line
  
  Fix crashing in the Ruby reject method in the STL wrappers
........
  r10545 | wsfulton | 2008-06-21 22:49:10 +0200 (So, 21 cze 2008) | 1 line
  
  remove unnecessary variable int the char **STRING_ARRAY out typemap
........
  r10546 | wsfulton | 2008-06-21 23:07:49 +0200 (So, 21 cze 2008) | 1 line
  
  Fix Ruby C++ example dependencies in dsp files
........
  r10547 | wsfulton | 2008-06-22 00:25:36 +0200 (N, 22 cze 2008) | 1 line
  
  Fix unused parameter warnings in python when using gcc's -W -Wall options
........
  r10548 | wsfulton | 2008-06-22 00:26:35 +0200 (N, 22 cze 2008) | 1 line
  
  Fix virtual destructor
........
  r10549 | wsfulton | 2008-06-22 01:25:20 +0200 (N, 22 cze 2008) | 1 line
  
  various warning fixes
........
  r10550 | wsfulton | 2008-06-22 02:09:11 +0200 (N, 22 cze 2008) | 1 line
  
  Another fix for the JVM hanging on exit problem when using directors
........
  r10551 | wsfulton | 2008-06-22 02:09:51 +0200 (N, 22 cze 2008) | 1 line
  
  documentation sections update
........
  r10552 | wsfulton | 2008-06-22 02:18:10 +0200 (N, 22 cze 2008) | 1 line
  
  more docs on defining macros for the thread hanging problem
........
  r10558 | wsfulton | 2008-06-22 23:30:20 +0200 (N, 22 cze 2008) | 1 line
  
  fix unused parms in last commit for C code
........
  r10559 | wsfulton | 2008-06-23 00:12:43 +0200 (Pn, 23 cze 2008) | 1 line
  
  Suppress unused methods warning for VC++
........
  r10560 | wsfulton | 2008-06-23 22:26:07 +0200 (Pn, 23 cze 2008) | 1 line
  
  fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
........
  r10561 | wsfulton | 2008-06-23 22:39:41 +0200 (Pn, 23 cze 2008) | 1 line
  
  correct message display when running the partialcheck-test-suite make target
........
  r10562 | wsfulton | 2008-06-23 23:14:53 +0200 (Pn, 23 cze 2008) | 1 line
  
  fix typo
........
  r10563 | olly | 2008-06-23 23:23:54 +0200 (Pn, 23 cze 2008) | 3 lines
  
  Fix bad use of Python API (untested, since I can't even compile this code on
  x86-64!)
........
  r10564 | olly | 2008-06-24 00:58:03 +0200 (Wt, 24 cze 2008) | 3 lines
  
  [PHP] Fix segfault when wrapping a non-class function marked with
  %newobject (testcase char_strings).
........
  r10565 | olly | 2008-06-24 02:27:34 +0200 (Wt, 24 cze 2008) | 3 lines
  
  [PHP] Fix assertion failure when handling %typemap(in,numinputs=0)
  (testcase ignore_parameter).
........
  r10566 | olly | 2008-06-24 02:33:08 +0200 (Wt, 24 cze 2008) | 2 lines
  
  [PHP] Fix typemap_namespace.i to not try to copy a non-existent typemap.
........
  r10567 | olly | 2008-06-24 02:41:07 +0200 (Wt, 24 cze 2008) | 3 lines
  
  Clean up dead and unused code in SwigToPhpType(), and rename to
  GetShadowReturnType().
........
  r10568 | olly | 2008-06-24 02:42:29 +0200 (Wt, 24 cze 2008) | 2 lines
  
  Fix cosmetic typo in string constant.
........
  r10574 | wsfulton | 2008-06-24 22:10:28 +0200 (Wt, 24 cze 2008) | 1 line
  
  zap last entry
........
  r10575 | wsfulton | 2008-06-24 22:11:46 +0200 (Wt, 24 cze 2008) | 1 line
  
  variable name changes to remove php keywords
........
  r10576 | wsfulton | 2008-06-24 22:12:08 +0200 (Wt, 24 cze 2008) | 1 line
  
  variable name hiding fix
........
  r10577 | wsfulton | 2008-06-24 22:12:43 +0200 (Wt, 24 cze 2008) | 1 line
  
  More info about numobjects added
........
  r10578 | wsfulton | 2008-06-24 22:13:41 +0200 (Wt, 24 cze 2008) | 1 line
  
  update for 1.3.36 release
........
  r10579 | wsfulton | 2008-06-24 23:48:46 +0200 (Wt, 24 cze 2008) | 1 line
  
  remove deprecated -c commandline option (runtime library generation)
........
  r10580 | wsfulton | 2008-06-24 23:53:12 +0200 (Wt, 24 cze 2008) | 1 line
  
  correct comment about deprecated option
........
  r10582 | wsfulton | 2008-06-25 01:00:27 +0200 (Śr, 25 cze 2008) | 1 line
  
  use rsync and ssh to upload releases to SourceForge as ftp no longer works
........
  r10584 | wsfulton | 2008-06-25 01:24:48 +0200 (Śr, 25 cze 2008) | 1 line
  
  correction for 1.3.36
........
  r10588 | wsfulton | 2008-06-25 02:16:04 +0200 (Śr, 25 cze 2008) | 1 line
  
  section update
........
  r10589 | wsfulton | 2008-06-25 02:16:40 +0200 (Śr, 25 cze 2008) | 1 line
  
  bump version to 1.3.37
........
  r10594 | wsfulton | 2008-06-26 20:33:06 +0200 (Cz, 26 cze 2008) | 1 line
  
  correct typo in first entry about %fragment
........


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@10606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-28 23:26:18 +00:00
William S Fulton
dfcb1640bf Remove old swig-1.1 Swig_typemap_lookup function. Rename Swig_typemap_lookup_new() to Swig_typemap_lookup()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:18:44 +00:00
William S Fulton
336b50b43d Add the optimal attribute to the out typemap for more optimal code generation when returning objects by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:12:31 +00:00
Olly Betts
8652d3bd70 And remove a line I added to track down the abstract problem!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:23:51 +00:00
Olly Betts
8eadd0eac6 Use GetFlag not Getattr on feature:notabstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:22:58 +00:00
Olly Betts
44a9ae4438 [PHP] Check for %feature("notabstract") when generating PHP5 class wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 21:17:22 +00:00
Olly Betts
49fd22d97d [PHP] Fix bad PHP code generated when wrapping an enum in a
namespace (uncovered by testcase arrays_scope).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 12:29:07 +00:00
William S Fulton
5d8d045c1f fix #1934695 Getattr(n, wrap:name) assertion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 20:53:23 +00:00
William S Fulton
b67e0a28a3 Fixes for $wrapname to work in %exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-25 22:07:28 +00:00
Olly Betts
8dabd96606 PHP4 reaches EOL at the end of 2007, so remove PHP4 specific entry from the
todo list.  Tweak message about lack of multiple inheritance to say "PHP"
rather than "Php4".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-28 00:46:53 +00:00
William S Fulton
39abd80eef Changes to compile with VC++6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 21:10:17 +00:00
Olly Betts
ece41d9c9f [php] Fix makefile generated by -make (SF#1633679). Update
documentation to mark "-make" as deprecated (none of the other
SWIG backends seem to offer such a feature, it can't realistically
generate a fully portable makefile, and the commands to build an
extension are easy enough to write for the user's preferred build
tool).  Also recommend against the use of "-phpfull" (it's only
really useful when static linking, and a dynamically loadable
module is virtually always the better approach).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 00:59:02 +00:00
William S Fulton
fe042d2ebc Replace cvs $Header$ with svn $Id$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
Olly Betts
a1ae35b43f Revert this fix unless ZEND_RAW_FENTRY is defined (it was added in
PHP 5.2.<something>):

    [PHP] Fix many occurrences of "warning: deprecated conversion from
    string constant to 'char*'" from GCC 4.2 in generated C/C++ code.

Use zend_function_entry rather than function_entry in generated code.
The later only exists for compatibility with PHP3!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:25:15 +00:00
Olly Betts
1b1334815c [PHP] Fix many occurrences of "warning: deprecated conversion from
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:39:37 +00:00
William S Fulton
ad1a72f834 Remove incorrect license in generated code. See swig-devel mailing 'licence issue' thread
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:44:18 +00:00
Olly Betts
2fffdd118a [php] Fix long-standing memory leak in wrapped constructors and
wrapped functions/methods which return an object.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 18:12:42 +00:00
Olly Betts
f66899a3bd Can't use (double) cast in PHP default value, so rework.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 16:03:24 +00:00
Olly Betts
437bc4d61e [PHP5] Fix handling of double or float parameters with an integer default value.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:53:27 +00:00
Olly Betts
e59dbf74f2 [PHP5] Generate __isset() methods for setters for PHP 5.1 and later.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:11:25 +00:00
Olly Betts
9b851f3f55 Eliminate unused parameters on calls to Printf()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:05:44 +00:00
John Lenz
fb51964d01 Fix a bunch of minor bugs found by Coverity scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
Olly Betts
e72b6e8ff0 [PHP5]
Fix handling of a particular case involving overloaded functions
with default parameters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:57:32 +00:00
Olly Betts
dc61936359 [PHP5]
Fix wrapping of methods and functions which return a pointer to a
class (bug#1700788) and those which have overloaded forms returning
both classes and non-classes (bug#1712717, thanks to Simon
Berthiaume for the patch).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 11:38:18 +00:00
Olly Betts
2632bd0c3c Stop passing unused argument to Printf().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-15 23:22:29 +00:00
Olly Betts
8b9af6389b [PHP5] If ZTS is enabled, release <module>_globals_id in MSHUTDOWN
to avoid PHP interpreter crash on shutdown.  This solution was
suggested here: http://bugs.php.net/bug.php?id=40985


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-04 09:40:55 +00:00
Olly Betts
a5ac23e6d2 [PHP4] Add missing ZTS annotations to generated C++ wrapper code
to fix compilation failures when using ZTS enabled SWIG (Linux
distributions tend to disable ZTS, but notably the Windows build
uses it by default).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-03 15:56:36 +00:00
Olly Betts
438195cfe9 [PHP5] When we know the literal numeric value for a constant, use
that to initialise the const member in the PHP wrapper class.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-03 15:38:52 +00:00
Olly Betts
a63013152c [PHP5] Fix PHP wrapper code generated for certain cases of
overloaded forms with default arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-02 19:05:45 +00:00
Olly Betts
8b334887e4 Fix generated makefile rule for building the module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-02-07 10:19:35 +00:00
William S Fulton
9f88801914 add support for newfree typemaps in php module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 23:41:49 +00:00
Dave Beazley
c12550e4ad API cleanup. Documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
Dave Beazley
264b7dff90 API cleanup. Documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-30 18:27:47 +00:00
Olly Betts
4f7099cb56 Fix bug #1613673 (bad PHP5 code generated for getters and setters).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 02:15:58 +00:00
William S Fulton
aa04c4c057 beautify/format source code with gnu indent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
Olly Betts
d02caa7a28 Fix bug which effectively double-Delete()-ed a String *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 19:32:33 +00:00
Olly Betts
61b1372996 Covert a stderr message to a proper SWIG warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 11:08:28 +00:00
Olly Betts
110a537445 Clean up the old disabled "script accessible destructor" code. I don't think
we'll want it again, but if we do we can retrieve it from CVS.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 10:30:44 +00:00
Olly Betts
2788a39211 Eliminate $ext in the generated php wrapper (namespace pollution bad!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 15:53:07 +00:00
Olly Betts
122b0cbd04 The wrapper function filtering should only happen for -php4 without -noproxy.
Further simplify the property getter/setter code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:54:39 +00:00
Olly Betts
1b89128bf5 Remove some dead code; tidy up some formatting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:52:51 +00:00
Olly Betts
25636f132f Tidy up descriptions of destructors.
Fix comments for handles for simple types.

Omit superfluous "else" when generating property getter and setter handling
code, which produces smaller generated source code, and simplifies the
generating code.

With -php5, if -prefix isn't specified, don't prefix classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 16:58:16 +00:00
Olly Betts
ec5c4bc6f8 More fixes for double generation of methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-02 19:05:55 +00:00
Olly Betts
ad6f144dc9 Sort out double generation of methods in the proxy case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-02 07:57:56 +00:00
Olly Betts
7f2a849617 Revert the "automatic -noproxy for C code" change (for now at least) - the
testsuite contains examples with proxy classes for C code, so it's not as
obviously correct a change as I had thought.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:00:51 +00:00
Olly Betts
9eb77c5800 Previously -noproxy was required when wrapping some C code
to avoid SWIG generating new_XXX methods.  Now proxy classes are
only ever enabled when wrapping C++ code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:32:22 +00:00
Olly Betts
0915d45c2c Use NewStringEmpty() rather than NewString("").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 02:00:42 +00:00
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
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