summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Improve docs for Scanner_skip_balanced() return valueOlly Betts2023-05-161-1/+1
|
* Add %rename to %pythoncode exampleOlly Betts2023-05-151-1/+7
| | | | | | | | | | Without this you get two set_transform() functions defined in the .py file, which can trigger warnings from linting tools. Renaming the SWIG-generated wrapper is a reasonably clean solution (though does leave an unused _set_transform() Python function). See #2578
* [doc] Fix SWIG_AsCharPtrAndSize arg typesOlly Betts2023-05-091-1/+1
|
* Initial support for std::string_viewOlly Betts2023-05-082-11/+44
| | | | | | | So far C#, Java, Lua and PHP are supported. Closes: #2540 See #1567
* [D] Update docs for D1 removalOlly Betts2023-05-041-6/+6
|
* [doc] Update sample swig -debug-tags outputOlly Betts2023-04-241-9/+9
| | | | | The format was changed from that the manual shows in 2010 by 5a3ba0d607132bfe78c5c23b3d8d2694a9250957!
* Warnings.html: Add missing warning numbers 472,473Olly Betts2023-04-211-0/+2
| | | | Fixes #2528
* Python: Suggest argcargv.i to handle char**Olly Betts2023-04-212-73/+6
| | | | | | | | | | | We were providing an example set of typemaps in the manual, but they were specific to Python2 which isn't helpful these days. For typical cases argcargv.i is a better option. It doesn't currently seem to directly support the "argv without argc" case which this example actually shows, but generally APIs take a length as well as a char**. Closes: #2040
* C#: Add missing explicit `global::System` in manualOlly Betts2023-04-211-3/+3
| | | | Closes: #1944
* scilab: add a gateway xml v6 with full function namesClément DAVID2023-04-201-1/+20
|
* scilab: detect version 2023 correctlyClément DAVID2023-04-201-2/+1
|
* Remove support for PHP7Olly Betts2023-04-142-64/+32
| | | | | PHP7 security support ended 2022-11-28 so it doesn't make sense to include support for it in the SWIG 4.2.x release series.
* Document improved variadic template supportWilliam S Fulton2022-12-221-11/+44
|
* Support multiple arguments in variadic templates.William S Fulton2022-12-221-1/+0
| | | | | | | Remove warning SWIGWARN_CPP11_VARIADIC_TEMPLATE which was issued if more than one argument was used for a variadic template. SwigType enhancement: 'v.' now represents a variadic argument.
* Slightly better decltype() support for expressionsWilliam S Fulton2022-11-262-4/+34
| | | | | | | | | | | | | | | | | decltype now accepts C++ expressions instead of just an ID, such as: int i,j; ... decltype(i+j) ... ... decltype(&i) ... These result in a warning for non-trivial expressions which SWIG cannot evaluate: Warning 344: Unable to deduce decltype for 'i+j'. See 'Type Inference' in CPlusPlus.html for workarounds. Issue #1589 Issue #1590
* Merge branch 'rtests2'William S Fulton2022-11-232-29/+6
|\ | | | | | | | | | | | | | | | | | | | | * rtests2: more r tests more r tests added testcase pointer_reference [PHP] Update docs for removal of -noproxy in SWIG 4.1.0 Conflicts: CHANGES.current
| * [PHP] Update docs for removal of -noproxy in SWIG 4.1.0Olly Betts2022-11-132-29/+6
| | | | | | | | Closes #2419
* | Variadic template docs correctionWilliam S Fulton2022-11-231-1/+1
| |
* | Duplicate class template instantiations via %template changesWilliam S Fulton2022-11-183-31/+110
|/ | | | | | | | | | | Named duplicate class template instantiations now issue a warning and are ignored. Duplicate empty class template instantiations are quietly ignored. The test cases are fixed for this new behaviour. This commit is a pre-requisite for the near future so that the Python builtin wrappers can correctly use the SwigType_namestr function without generating duplicate symbol names.
* Bump version to 4.2.0 and migrate CHANGES to CHANGES.currentWilliam S Fulton2022-11-041-3/+3
|
* Add SWIG-4.1.0 release dateWilliam S Fulton2022-10-241-1/+1
|
* Bump doc version to SWIG-4.1William S Fulton2022-10-152-4/+4
|
* Allow wkhtmltopdf to access current directoryWilliam S Fulton2022-10-151-2/+2
| | | | Fix for version 0.12.6, see https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4536
* html fixesWilliam S Fulton2022-10-143-2/+3
|
* Revert "[xml] Move to "Experimental" target language status"William S Fulton2022-10-131-1/+1
| | | | | | | | This reverts commit 22a4355f340e9a844d5e5d8d0528d767c4808ebb. Conflicts: CHANGES.current RELEASENOTES
* [python] Remove doc caveat for Python < 2.1Olly Betts2022-10-111-3/+1
| | | | The minimum version we now support is Python 2.7.
* Fix doc typosOlly Betts2022-10-111-1/+1
|
* Completely remove CFFIWilliam S Fulton2022-10-061-604/+0
| | | | | | | | | | No meaningful progress to update CFFI to experimental status has been made since CFFI was disabled in SWIG-4.0.0 as the first stage to removal. This commit is the final stage to remove it. See issue #1966 for an attempt at updating CFFI to experimental status. Anyone wishing for SWIG to support CFFI again might want to utilise this work.
* Replace reference to SWIG_POINTER_EXCEPTION in docsOlly Betts2022-10-061-4/+3
| | | | | | This has only been present for backward compatibility since 2006 and now has the value 0 so doesn't do anything, so don't use it as an example of a flag in the docs.
* Update mingw linksOlly Betts2022-10-062-5/+4
| | | | | The mingw.org domain is no longer associated with the project, and they've also moved from sourceforge to osdn.
* Use https for links in docs where supportedOlly Betts2022-10-0617-37/+37
|
* Use https for swig.org linksOlly Betts2022-10-068-19/+19
|
* Add support for parsing C++11 final classesWilliam S Fulton2022-10-051-0/+13
| | | | | | | | | | | | | | | | | | | Such as: class X final {}; This no longer gives a syntax error. This change has introduced one more shift-reduce conflict in the parser. with a conflict with a C style variable declaration with name final: class X final; resulting in a syntax error (for C++ not C). This is an an unusual style for C++ code and more typical declarations do work: X final; Closes #672
* Report errors in preprocessor expressions by defaultOlly Betts2022-10-052-1/+10
| | | | | | | | | | | | | | | | | | | Until now SWIG quietly ignored such errors unless -Wextra (or -Wall which implies -Wextra) was passed, but this is unhelpful as it hides problems. To illustrate this point, enabling this warning by default revealled a typo in the preproc_defined.i testcase in SWIG's own testsuite. If you really don't want to see this warning, you can suppress it with command line option -w202 or by using this in your interface file: %warnfilter(SWIGWARN_PP_EVALUATION); Both will work with older versions of SWIG too. Fixes #1465 Fixes #2389
* Fix SWIG version reference in recent doc changeOlly Betts2022-10-051-1/+1
| | | | The upcoming release is 4.1.0 not 4.2.0.
* Fix doc typoOlly Betts2022-10-051-1/+1
|
* Sort out predefined SWIG-specific macrosOlly Betts2022-10-051-0/+8
| | | | | | | | | | | | | | | | | | | Ensure that SWIG_VERSION is defined both at SWIG-time and in the generated C/C++ wrapper code (it was only defined in the wrapper for some target languages previously). SWIGGO and SWIGJAVASCRIPT are now defined in the generated wrappers to match behaviour for all other target languages. Stop defining SWIGVERSION in the wrapper. This only happened as a side-effect of how SWIG_VERSION was defined but was never documented and is redundant. The new testcase also checks that SWIG is defined at SWIG-time but not in the generated wrapper, and that exactly one of a list of target-language specific macros is defined. Fixes #1050
* Merge pull request #2249 from geographika/pcre-nugetWilliam S Fulton2022-09-301-26/+31
|\ | | | | Update Windows CMake builds to use NuGet package for PCRE2
| * Split build and installsethg2022-09-271-1/+2
| |
| * Switch Action and docs to use PowerShellsethg2022-09-271-11/+21
| |
| * Update Windows CMake builds to use NuGet package for PCRE2sethg2022-03-311-15/+9
| |
* | Add DohSortedKeys functionWilliam S Fulton2022-09-301-0/+8
| | | | | | | | Returns a list of sorted keys in a DOH Hash.
* | Fix a few documentation typosOlly Betts2022-09-291-1/+1
| |
* | [php] Add php:allowdynamicproperties featureOlly Betts2022-09-291-0/+48
| | | | | | | | | | | | | | This follows PHP 8.2 deprecating dynamic features. The new feature also provides a clean way to fix the remaining PHP test case failure under PHP 8.2.
* | Extended the documentation for octave operator overloadingMarkus Friedrich2022-09-181-0/+10
| | | | | | | | | | | | Octave has more operators than C++. These operators can be overloaded for the type swig_ref using the standard Octave Object Oriented Programming mechanism. This is now added to the documentation.
* | Provide SWIGTYPE MOVE typemaps in swigmove.iWilliam S Fulton2022-09-162-8/+188
| | | | | | | | | | | | | | | | | | | | | | | | For implementing full move semantics when passing parameters by value. Based on SWIGTYPE && and std::unique_ptr typemaps which implement move semantics. Added for all languages, but untested for: Go, Ocaml, R, Scilab (and unlikely to be fully functional for same reasons as for std::unique_ptr support). Issue #999
* | rvalue reference outputsWilliam S Fulton2022-09-082-12/+71
| | | | | | | | | | Document rvalue reference outputs behaviour Test rvalue reference outputs
* | Docs on rvalue parameter changesWilliam S Fulton2022-09-021-3/+60
| |
* | Octave - SWIG now marshalls a C/C++ NULL pointer into the null matrix, []William S Fulton2022-08-311-0/+4
| | | | | | | | | | | | | | SWIG has always marshalled the null matrix into a NULL pointer; this remains and now we have consistency in representing a NULL pointer. This is a pre-requisite for a pending commit to fully support std::unique_ptr.
* | Cosmetic stray semi-colon removal after %typemap using quotesWilliam S Fulton2022-08-318-20/+20
| |