Commit graph

636 commits

Author SHA1 Message Date
William S Fulton
cd53dc68ee remove SWIGMAC and SWIGWIN32/SWIGWIN macros which have no effect
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-13 18:34:54 +00:00
William S Fulton
aa61c716a8 Stop generating uncompileable code when using nested template classes in functions. Replace SWIGWARN_PARSE_NESTED_CLASS with SWIGWARN_PARSE_NAMED_NESTED_CLASS and SWIGWARN_PARSE_UNNAMED_NESTED_CLASS for named and unnamed nested classes respectively. Named nested class ignored warnings can now be suppressed by name using %warnfilter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-12 19:47:04 +00:00
William S Fulton
ebed6508e4 Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-11 00:30:34 +00:00
William S Fulton
9d65c100b9 Ignored nested class/struct warnings now display the name of the ignored class/struct.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-08 01:18:45 +00:00
William S Fulton
deba0e9285 re-organise symbol debugging options - add in -debug-symbols and -debug-csymbols, and remove -debug-qsymtab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-07 20:44:20 +00:00
William S Fulton
64d1b6f0c6 Add -debug-symtabs and -debug-qsymtabs options for debugging symbol tables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-04 22:49:39 +00:00
William S Fulton
6fc2ce82ea Document improved template explicit specialization and partial specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-23 06:48:38 +00:00
William S Fulton
678abc58fb Fix seg fault when using a named template instantiation using %template(name) within a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-23 05:41:33 +00:00
William S Fulton
bd3fddb28c Add reference to the Doc/Devel documentation. Add debugging options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-20 22:18:43 +00:00
William S Fulton
9062890aa6 update deprecated dump_tags, dump_tree, dump_module options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-20 20:54:19 +00:00
William S Fulton
fd222c5e66 Reference the Swig_print_* family of functions in the debugging section
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-20 20:30:22 +00:00
William S Fulton
123f4931cd document directorinattributes and directoroutattributes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-01 18:16:09 +00:00
William S Fulton
15070e6d8f Add %csattributes for adding C# attributes to enum values.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-15 21:26:57 +00:00
William S Fulton
2726424a7f Fix constant expressions containing <= or >=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-11 18:47:05 +00:00
William S Fulton
7908bb2dc3 Add information about the SWIG test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-29 10:41:06 +00:00
William S Fulton
3932d02a2a fix SWIG naming convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-21 00:25:11 +00:00
William S Fulton
4835720f5a bump version to 1.3.41
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-19 00:11:29 +00:00
William S Fulton
f0fb2f3851 Remove 'under construction' notes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-18 14:08:50 +00:00
William S Fulton
4be26aa11d Clear up confusion that typemaps can contain C/C++ as well as target language code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-18 14:02:22 +00:00
William S Fulton
265adcae79 Fill in missing bit about the begin section
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 22:13:21 +00:00
William S Fulton
a717dbd10b Add some notes about \%extend and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 22:11:27 +00:00
William S Fulton
36c4707c0d Correct docs wrt C preprocessor constants with a cast
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-12 22:07:49 +00:00
William S Fulton
8615adfb07 Remove memory leak for char ** out typemap example, as per Peter Allen email on swig-user on, ahem, 19 July 2006
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 21:58:54 +00:00
William S Fulton
46a258a748 Add another common cause for getting an UnsatisfiedLinkError
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-08 23:29:08 +00:00
William S Fulton
9cd5c28d73 section numbering update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-29 21:01:28 +00:00
William S Fulton
bf0ee4471c (method, typelist) special variable macro fixed/enhanced and made official
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-29 20:50:39 +00:00
Miklos Vajna
0249eea389 Merge https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-vmiklos/
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-22 11:08:29 +00:00
William S Fulton
389cb8e7f3 Mention Return Value Optimization when using the optimal attribute in the out typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-18 22:26:35 +00:00
Olly Betts
58088c7aab Sort out odd whitespace around HTML tags.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-13 11:47:40 +00:00
Olly Betts
9042e4d2f9 Document -const option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-13 11:36:20 +00:00
Olly Betts
722b035705 Update URL for mingw download page on SF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-05 05:04:48 +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
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
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
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