Commit Graph

90 Commits

Author SHA1 Message Date
Olly Betts 262207f6ed Store the Node for the current class rather than just its name (which
makes little difference now, but paves the way for future changes...)
[Patch recommit]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:54:40 +00:00
Olly Betts a808fade81 Use cap_module more instead of reconverting module to uppercase on the fly.
[Patch recommit]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:53:04 +00:00
Olly Betts eee168b6aa More typos.
[Patch recommit]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:46:45 +00:00
Olly Betts 3f6208232b Replace stderr messages with Swig_warning where there's an existing
WARN_XXX code.
[Patch recommit]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:31:49 +00:00
Olly Betts 96e1a067b4 Remove unnecessary use of %s with a constant string, making code consistent
with elsewhere.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 13:36:43 +00:00
Marcelo Matus 52cfa52b83 fix docs, path provided by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Marcelo Matus 7664a87b1d generate error when a proper overloaded function is not found, as suggested by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 00:24:39 +00:00
William S Fulton 7f74b8e7a3 Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Kevin Ruland 5944accd5f Fix the constructor naming for non-shadow forms.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:49:01 +00:00
Kevin Ruland 0f01a6ed9f More TLS changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:03:12 +00:00
Kevin Ruland 9a2ca86ac5 Added #include TRMLS.h to the php_module.h header file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 21:30:03 +00:00
Kevin Ruland a5c2491f6a Fix overloading of constructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 19:31:16 +00:00
Marcelo Matus 68f665df35 fix static member names, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 22:01:31 +00:00
Kevin Ruland 8a156f523a Fixed problems when overloading C++ member functions.
- only register the wrapper function.
 - fix dispatchFunction() implementation to accomodate this_ptr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:40:59 +00:00
Kevin Ruland 1f604ca303 Extract the class name in CreateZendListDestructor in a more robust manner -
improves zend_error message.  (Thanks Ollie Betts)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:01:56 +00:00
Marcelo Matus 93c7784739 fix static member get/set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:29:45 +00:00
William S Fulton adecc68977 Multiple inheritance warnings and ignored base classes fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:42:20 +00:00
Kevin Ruland cbab331e47 Fixed error in Printv in functionWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-05 14:11:35 +00:00
William S Fulton 32839df23b Modify following features to work as flags, so that they can be truely set and unset:
immutable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:01:13 +00:00
William S Fulton 656cb7ab06 Modify following features to work as flags, so that they can be truely set and unset:
new


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton 4ec01af9dd Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
Kevin Ruland 455035e04e In create_simple_make(), use CXX to link the extension module when
either -c++ or -withcxx is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:55:23 +00:00
William S Fulton bed81d66d3 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Kevin Ruland 307d856876 Clean up use of gen_extra flag. Adjust whitespace in create_extra_files().
Emit the s_header contents after writing final comment.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:57:35 +00:00
Kevin Ruland cce19f492a Added support for %minit, %mshutdown, %rinit, %rshutdown user supplied code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:28:56 +00:00
Kevin Ruland e974e259b7 Clean up use of dlname variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:11:48 +00:00
Kevin Ruland febf005df2 Added support for a %shutdown %{ %}, or %insert("shutdown") %{ %} block to
inject code into the PHP_MSHUTDOWN_FUNCTION.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:42:31 +00:00
Kevin Ruland 3ab65a48a0 Fairly major update to php code generation and type library. Brief summary:
- Revised simplified makefile generation using -make switch.
 - Proper support of in, out, argout, ret typemaps.
 - Function overloading with typecheck typemap support.
 - Fragment inclusion in typemaps.
 - Proper handling of object destructors relying on PHP's reference counting.
 - Constants using consttab and varinit typemaps.
 - Global variables using varinit typemaps.
 - Can generate C++ bindings using either objects or no objects (-noproxy).
 - Special phppointer.i typemaps for using php references for pointer passing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:10:11 +00:00
William S Fulton f149a9f3d1 swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
John Lenz c3338b1a16 - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus b644501be6 add support for template_extmode, ie, the emitonlychildren feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:50:06 +00:00
William S Fulton bd9e48e922 -ldflags option removed for removed prebuilt runtime library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:42:54 +00:00
William S Fulton 11561b2499 Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
William S Fulton b0df32dd1a Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
const fixes and function prototype declarations matching the definition etc


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 22:46:07 +00:00
Dave Beazley df5ea38b6f Removed config.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-17 19:09:17 +00:00
Dave Beazley 8ae4c60d39 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
William S Fulton 6c71e9d478 -outdir commandline option support => directory for proxy class and other language specific files
-help tidy up


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
William S Fulton 01033bcdf3 Modifications to work on MacOS, submitted by Bernard Desgraupes.
Mainly ensuring the files are output in the appropriate directory.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:20:53 +00:00
William S Fulton d489112eb9 Version simplification.
'swig -ldflags' added for MzScheme, Ocaml, Pike and PHP


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:39:28 +00:00
Dave Beazley 74a3aa015c File move
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00