Commit graph

613 commits

Author SHA1 Message Date
Baozeng Ding
84aecae48a merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-04 06:48:39 +00:00
Olly Betts
7f5586a370 [Tcl] To complement USE_TCL_STUBS, add support for USE_TK_STUBS
and SWIG_TCL_STUBS_VERSION.  Document all three in the Tcl chapter
of the manual.  Based on patch from SF#2810380 by Christian
Gollwitzer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 14:17:03 +00:00
Baozeng Ding
59b9f3b6de clear up some code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 08:45:07 +00:00
William S Fulton
06346ca98b Update a few APIs which have changed over time
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-02 06:37:43 +00:00
Olly Betts
3c39833584 Use -O2 in the GCC examples as GCC defaults to not optimising at all.
Document using GCC's -fPIC option as the standard approach - x86 is the oddity
here and most architectures require it (or are always PIC), and on x86 it's
better to use it or else code pages from the library need relocations and can't
be shared.

Use "python2.5" rather than "python2.0" in paths in example commands.

Fix a typo.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-30 12:24:49 +00:00
Baozeng Ding
5d23e5310a add INPUT/OUTPUT support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-27 09:08:23 +00:00
Baozeng Ding
0eb0740556 merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-21 01:26:44 +00:00
Baozeng Ding
ed84d6b162 add support for Enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-20 02:44:06 +00:00
William S Fulton
421a4419f2 a bit more on what is in a module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-20 00:32:49 +00:00
William S Fulton
1a2e3a6653 add further clarification about modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-18 22:36:39 +00:00
William S Fulton
23a5f4f955 quote %include statements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-17 06:56:55 +00:00
William S Fulton
c3dba3315b better clarification for %include and #include and %module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-17 06:50:39 +00:00
Baozeng Ding
4e9cbd8a7c add support for constants
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-13 12:18:35 +00:00
Baozeng Ding
25f17ae463 global variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-07 01:44:39 +00:00
Baozeng Ding
4aa72f9b01 Implement functionwrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-30 07:10:19 +00:00
Olly Betts
6ae7ce1cf1 Remove note which is no longer relevant.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-19 12:00:48 +00:00
William S Fulton
b6c869be0f fix link
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-17 20:28:43 +00:00
William S Fulton
7e8d19cec0 Add the 'notderived' attribute to the javabase and csbase typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-29 17:58:32 +00:00
William S Fulton
4a1b29a394 fix ordering of chapters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-01 12:46:26 +00:00
William S Fulton
de9513b374 update .dll -> .pyd for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-04-01 08:41:41 +00:00
William S Fulton
0c454e7bcf bump version to 1.3.40
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-21 01:45:41 +00:00
William S Fulton
65f79a952c Apply small documentation fix - patch #2579863
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:40:39 +00:00
William S Fulton
128884b428 final touches for 1.3.39 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-20 23:29:36 +00:00
William S Fulton
e92d7f897b minor correction about %begin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-20 08:03:49 +00:00
William S Fulton
efa11dee52 add new %begin directive for inserting code at top of wrapper file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-20 07:52:24 +00:00
William S Fulton
648fa408b4 bump version to 1.3.39
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-01 00:31:19 +00:00
William S Fulton
eff5b3452c html fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 23:14:02 +00:00
William S Fulton
68f97e26e6 finishing touches for 1.3.38
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 19:37:58 +00:00
William S Fulton
90ab280f90 Fix regression introduced in 1.3.37 where the default output directory for target language specific files (in the absence of -outdir) was no longer the same as the generated c/c++ file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-29 19:25:37 +00:00
William S Fulton
2a70d76d2e auto formatting mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 19:06:13 +00:00
William S Fulton
05a2d2dc9d correct ccache-swig title in docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 18:55:32 +00:00
William S Fulton
f2c57bd508 bump version to 1.3.38
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 18:21:18 +00:00
William S Fulton
3a23be4434 1.3.37 final touches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 07:11:00 +00:00
Mark Gossage
e604e46b17 [Lua] Added contract support for requiring that unsigned numbers are >=0
Rewrote much of Examples/Lua/embed3. 
Added a lot of to the Lua documentation.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 01:42:25 +00:00
Olly Betts
79f7900968 Mark SWIGPERL5, SWIGPHP5, and SWIGTCL8 as deprecated in the source
code and remove documentation of them.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-05 22:40:07 +00:00
William S Fulton
7aa0e29bd9 getting ready for 1.3.37 release candidate
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 01:14:14 +00:00
William S Fulton
5ec2d8c166 All languages now define a macro in the generated C/C++ wrapper file indicating which language is being wrapped, eg #define SWIGJAVA
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 00:38:34 +00:00
William S Fulton
5f9e0707b5 typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-23 22:47:58 +00:00
William S Fulton
e6f5cdac9f Fix #2153773 - %nojavaexception - disabling and clearing Java checked exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-23 07:44:59 +00:00
William S Fulton
9ed9e006bc new section numbering since adding in ccache chapter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 01:49:58 +00:00
William S Fulton
f8d3c2400d Add ccache documentation to main docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 01:45:11 +00:00
William S Fulton
5f016fd495 some html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-17 01:33:00 +00:00
William S Fulton
47a0b98067 refine Makefile targets for documentation generation and remove generated ccache documentation from svn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-09 21:33:19 +00:00
William S Fulton
a883849b45 section name update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-09 21:31:31 +00:00
William S Fulton
06b2eca75e remove last vestiges of php4 and encourage use of -php rather than -php5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00
William S Fulton
e7f8954bea remove svn:executable property where applied incorrectly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
6994737f19 Add -outcurrentdir option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-25 23:36:23 +00:00
William S Fulton
4633b7a41b remove docs on old php4 switch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 23:29:33 +00:00
William S Fulton
9cf5256b93 rename java run tests from main to runme for consistency across the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-17 22:47:55 +00:00
William S Fulton
ef14c8a6f6 Add documentation on typemaps for 'self' based on patch from Art Clarke
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-16 21:13:04 +00:00