Commit graph

477 commits

Author SHA1 Message Date
William S Fulton
6b412b1e86 Add documentation patch #1743573 from Jeffrey Sorensen about better memory management by the JVM of C++ allocated memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 23:35:12 +00:00
William S Fulton
ac010f997b fix code in char ** typemap examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-03 00:40:39 +00:00
William S Fulton
258e9d7a18 Fix syntax errors for %callback examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:23:05 +00:00
Mark Gossage
f87371fe8c [lua] extras compability for lua 5.1, fixed a static link name conflict
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-10 09:30:49 +00:00
Mark Gossage
c3ec8fdce3 [lua] Fix a bug in SWIG_ALLOC_ARRAY()
improved the error messages for incorrect arguments.
Changed the output of swig_type() to use the human readable form of the type, rather than the raw swig type.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-05 01:31:51 +00:00
William S Fulton
5ec6a8ea61 changes after running the html checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-02 21:38:54 +00:00
William S Fulton
e5b6a8e72f Add notes about typemaps and the preprocessor including the noblock attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-02 21:38:22 +00:00
William S Fulton
36a33af3f6 note about constants added and fix link
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-25 21:32:54 +00:00
William S Fulton
3e5f30c94f conversion operator %rename improvements - the exact operator name must be specified now, rather than a fully qualified operator name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 00:06:45 +00:00
Gonzalo Garramuno
1c3fec7f2a Updated Iterator documentation to include defines.
Updated Ruby<->C++ tables to also include SWIG
conversion functions.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 06:07:13 +00:00
Gonzalo Garramuno
315bd2da6e Added new iterator changes to std.
This change does not break backwards compatability
with python, so all works.
The python stuff, however, will still not do all
that ruby can now do.
Updated manual to reflect the change and improve
typemap documentation on the ruby side.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-07 05:00:46 +00:00
Gonzalo Garramuno
4ead0ce7b2 Removed python crap from std/std_common.i
and moved it to python/std_common.i
Consolidated ruby code to use std/std_common.i
Added missing include to rubystdfunctors.swg



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 06:28:23 +00:00
Gonzalo Garramuno
ac5915d675 Added new section to STL documentation to
document the use of functors.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 04:31:10 +00:00
Gonzalo Garramuno
71e89af326 Documented the two ways that support for ruby blocks
can be added to classes' constructors and methods.




git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 11:52:45 +00:00
Gonzalo Garramuno
f8ee6e65fe Updated Ruby manual to enhance section on the STL.
Fixed inspect() method on map and rubycontainer
not using inspect to print out elements.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 06:58:55 +00:00
Gonzalo Garramuno
16bedf50f1 Added autodoc documentation to Ruby.
Made the web page use the proper stylesheet for
each section.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 05:51:15 +00:00
Mark Gossage
61fdde65cc Fixed issues with C++ classes and hierachies across multiple source files.
Fixed imports test case & added run test.
Added Examples/imports.
Added typename for raw lua_State*
Added documentation on native functions.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 02:20:29 +00:00
Gonzalo Garramuno
806d9040c5 Updated CHANGES.current.
Fixed problems with insert() and unshift() functions in std::vector for ruby.
Updated Ruby documentation.
Improved swig_assert.rb.
Added "second" singleton to std_pair in ruby.
Modified two tests to follow the new STL stuff.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-30 09:45:10 +00:00
Olly Betts
8dd64805b9 Fix a couple of repeated typos:
"Creatng" -> "Creating"
"visa versa" -> "vice versa"


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:22:46 +00:00
Olly Betts
2d962ac1f2 SWIG does now support use of some constant expressions as template parameters
so update the documentation.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-18 16:24:46 +00:00
William S Fulton
ca43827077 Minor html updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:59:08 +00:00
William S Fulton
0090cac1d0 Add in pre, post and cshin attributes for the csin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:45:17 +00:00
William S Fulton
f63d3ad5ad Add in pre, post and pgcppname attributes for the javain typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:44:33 +00:00
Surendra Singhi
85a3666f7c git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9666 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2007-04-01 13:22:36 +00:00
Olly Betts
cf6e9f2743 Escape unescape < > & in HTML
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:26:44 +00:00
Olly Betts
a317f22ab2 Fix duplicate section anchor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:17:48 +00:00
Olly Betts
8d304ae602 Escape < and > in HTML since unescaped instances confuse htmldoc and cause it
to mangle the "one HTML page" version of the manual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:12:09 +00:00
Olly Betts
4f605e12e2 Fix link to be relative, not to some cache file: url which won't exist on
arbitrary machines!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:10:07 +00:00
Olly Betts
e78eec9309 Automatic updates to section anchors from the Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:08:34 +00:00
Olly Betts
85a1fdfe1b Fix a couple of minor typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:06:35 +00:00
Joseph Wang
7e830cdf05 commit changes to svn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-02-02 02:23:23 +00:00
Mark Gossage
a997938b63 Added a lua specific carrays.i which adds the operator[] support.
modified the main code to make it not emit all the class member functions & accessors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-22 04:59:16 +00:00
Dave Beazley
5d0c155688 API cleanup and documentation (Wrapper objects)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-16 04:50:43 +00:00
Dave Beazley
b92d8e5cff Major overhaul of C/C++ scanner API. Unified tokenizing code so that tokens are scanned by a common code base
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 19:01:40 +00:00
Dave Beazley
6ffd26cc1e API cleanup. Scanner interface
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 01:44:16 +00:00
Dave Beazley
b00cef436b API cleanup (Parms)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-10 23:43:07 +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
Mark Gossage
bc08e0f335 making setting immutables an error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-21 04:53:12 +00:00
Dave Beazley
79451aa1a7 File management cleanup. Split API into separate header. Removed unused functions. Added documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-19 03:49:17 +00:00
Olly Betts
936e0bc418 Update links from cvs.html to svn.html and update windows CVS instructions
to use SVN.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 03:39:31 +00:00
Olly Betts
55e97333c1 Fix some more CVS references to SVN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 02:38:11 +00:00
Olly Betts
2b9c9dd23b Fix bug 1606010 "[Doc] Typo in Typemaps.html"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-14 02:29:49 +00:00
William S Fulton
433eaef955 Update for style guidelines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-09 08:39:22 +00:00
William S Fulton
544802c575 bump version to 1.3.32
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-04 21:53:47 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
4470ab296b reference label mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-29 21:58:19 +00:00
Dave Beazley
832b789321 Fixed 1603936
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-27 18:51:44 +00:00
William S Fulton
132c49df47 clarification of what can go in the code segment of typemaps and when the preprocessor is used on typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-24 23:08:36 +00:00
William S Fulton
532ad9d08c fix typos in last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-24 22:30:50 +00:00