summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark and setup OCaml as an experimental target language.William S Fulton2019-02-115-5/+5
| | | | Issue #1437
* html section numbers updatedWilliam S Fulton2019-02-103-11/+17
|
* Merge branch 'ZackerySpytz-cpp11_u_U_char_encoding_prefixes'William S Fulton2019-02-102-1/+31
|\ | | | | | | | | | | | | | | | | | | * ZackerySpytz-cpp11_u_U_char_encoding_prefixes: Document C++11 UCS-2 UCS-4 and C++17 UTF8 character literals support c++17 u8 character literals testcase C++17 u8 character literals fix C++17 u8 character literals testcase Fix the Java tests Add support for the C++11 u and U encoding prefixes for char literals
| * Document C++11 UCS-2 UCS-4 and C++17 UTF8 character literals supportWilliam S Fulton2019-02-102-1/+31
| |
* | Update section numberingWilliam S Fulton2019-02-1020-1017/+810
| |
* | Move MzScheme documentation to experimental sectionWilliam S Fulton2019-02-102-2/+2
| | | | | | | | Move MzScheme documentation to experimental section
* | Merge branch 'mzscheme-experimental'William S Fulton2019-02-102-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mzscheme-experimental: Fix mzscheme name and unions testcases Terminology correction in html docs Suppress experimental language warning when running the test-suite Mark MzScheme as an experimental language Add mzscheme to Travis testing Format mzscheme help output Mzscheme out of source examples fixes Standardise Mzscheme simple example Standardise Guile simple example Fix mzscheme static variable wrappers MzScheme missing destructor added in, std_vector example fixed Fix mzscheme simple example Fix mzscheme multimap example Skip failing MzScheme tests
| * | Terminology correction in html docsWilliam S Fulton2019-02-091-3/+3
| | |
| * | Mark MzScheme as an experimental languageWilliam S Fulton2019-02-091-1/+1
| |/
* | Merge branch 'ZackerySpytz-OCaml-module-docstring'William S Fulton2019-02-092-0/+49
|\ \ | |/ |/| | | | | * ZackerySpytz-OCaml-module-docstring: [OCaml] Add support for the docstring option in the module directive
| * [OCaml] Add support for the docstring option in the module directiveZackery Spytz2019-01-312-0/+49
| | | | | | | | | | | | | | | | | | If given, the OCaml module will place the docstring at the very beginning of the generated mli file, where it can be read by the OCamldoc tool. The implementation is based on the equivalent features in the Python and Ruby modules.
* | Consistent use of target language version of optionsWilliam S Fulton2019-02-053-5/+5
| | | | | | | | | | If a version number is supported by the target language prefer to show it in the -help. For example, -perl5 instead of -perl.
* | Disable CFFI Common Lisp target languageWilliam S Fulton2019-02-054-4/+0
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Allegrcol target languageWilliam S Fulton2019-02-055-15/+2
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Chicken target languageWilliam S Fulton2019-02-055-6/+2
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Common Lisp / CLISP target languageWilliam S Fulton2019-02-053-202/+1
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Common Lisp / S-Exp target languageWilliam S Fulton2019-02-052-2/+0
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Common Lisp / UFFI target languageWilliam S Fulton2019-02-053-9/+4
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Pike target languageWilliam S Fulton2019-02-054-4/+0
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Disable Modula3 target languageWilliam S Fulton2019-02-054-4/+0
| | | | | | | | | | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* | Add missing command line options to documentationWilliam S Fulton2019-02-041-49/+117
| | | | | | | | Options were taken from the output of running swig -help.
* | Add support for differentiating target language statusesWilliam S Fulton2019-02-042-0/+5
|/ | | | | | | | | | | | Three status: Disabled, Experimental and Supported. Any target language classified as 'Experimental' will issue new warning 524 SWIGWARN_LANG_EXPERIMENTAL. Any target language classified as 'Disabled' will error out. Languages will be classified in forthcoming commits. Issue #1437
* Merge branch 'ZackerySpytz-OCaml-eliminate-wno-write-strings'William S Fulton2019-01-311-1/+1
|\ | | | | | | | | | | | | * ZackerySpytz-OCaml-eliminate-wno-write-strings: [OCaml] Remove support for OCaml versions < 3.12.0 [OCaml] Fix toplevel creation for ocamlmktop versions >= 4.04.0 [OCaml] Eliminate use of -Wno-write-strings
| * [OCaml] Remove support for OCaml versions < 3.12.0Zackery Spytz2019-01-281-1/+1
| |
* | Merge branch 'ZackerySpytz-OCaml-doc-fixes'William S Fulton2019-01-311-6/+8
|\ \ | | | | | | | | | | | | * ZackerySpytz-OCaml-doc-fixes: [OCaml] Some OCaml documentation fixes
| * | [OCaml] Some OCaml documentation fixesZackery Spytz2019-01-271-6/+8
| |/ | | | | | | | | | | | | | | | | Fix some typos. Update some filenames after 8f7bc4cc1078cd2223c051c8db12559d3d3d031e (replace example_prog.ml with runme.ml). [skip ci]
* | Add placeholder for Experimental documentation sectionWilliam S Fulton2019-01-291-1/+6
| | | | | | | | [skip ci]
* | Add info about the Supported and Experimental language module statusWilliam S Fulton2019-01-294-61/+281
|/ | | | | | | | | | This is the result of an email discussion on the swig-devel mailing list back in March 2017 titled "Radical new approach to development and moving towards version 3.1 or version 4.0" A new section in the Introduction chapter has been added, titled "Target languages". The Extending chapter has the main details in a new section called "Target language status".
* Improve Python docs on memory management and member variablesWilliam S Fulton2019-01-092-26/+64
|
* Merge branch 'jakecobb-python-memory-docs'William S Fulton2019-01-081-0/+125
|\ | | | | | | | | | | * jakecobb-python-memory-docs: -builtin compatible ref example in Python docs %pythonappend docs and memory management example
| * -builtin compatible ref example in Python docsJake Cobb2018-04-131-3/+46
| |
| * %pythonappend docs and memory management exampleJake Cobb2018-04-131-0/+82
| | | | | | | | | | | | Document 'val' variable for the %pythonappend directive. Add memory management example equivalent to Java and C# docs using %pythonappend.
* | Python - remove duplicate proxy method definitions for global function wrappers.William S Fulton2019-01-011-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Global functions previously generated two definitions, eg: def foo(): return _example.foo() foo = _example.foo The first definition is replaced by the second definition and so the second definition is the one used when the method is actually called. Now just the first definition is generated by default and if the -fastproxy command line option is used, just the second definition is generated. The second definition is faster as it avoids the proxy Python method as it calls the low-level C wrapper directly. Using both -fastproxy and -olddefs command line options will restore the previously generated code as it will generate both method definitions. With this change, the wrappers for global C/C++ functions and C++ class methods now work in the same way wrt to generating just a proxy method by default and control via -fastproxy/-olddefs options. Closes #639.
* | Python documentation improvements for -olddefs and -builtin performanceWilliam S Fulton2018-12-221-12/+45
| | | | | | | | | | | | | | | | The performance figures have been changed because the default options have changed the performance. Add some explanation for using -olddefs. [skip ci]
* | Document all the Python command line optionsWilliam S Fulton2018-12-182-3/+50
| | | | | | | | Issue #1340
* | More Python module loading simplificationWilliam S Fulton2018-12-181-2/+2
| | | | | | | | | | Slightly faster checking to see if a module is in a package. Issue #848
* | Simpler Python module loadingWilliam S Fulton2018-12-181-7/+4
| | | | | | | | | | Simplification possible given Python 2.7 is now the minimum supported. Issue #848
* | The Python module import logic has changed to stop obfuscating real ↵William S Fulton2018-12-162-85/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError problems. Only one import of the low-level C/C++ module from the pure Python module is attempted now. Previously a second import of the low-level C/C++ module was attempted after an ImportError occurred and was done to support 'split modules'. A 'split module' is a configuration where the pure Python module is a module within a Python package and the low-level C/C++ module is a global Python module. Now a 'split module' configuration is no longer supported by default. This configuration can be supported with a simple customization, such as: %module(package="mypackage", moduleimport="import $module") foo or if using -builtin: %module(package="mypackage", moduleimport="from $module import *") foo instead of %module(package="mypackage") foo See the updated Python chapter titled "Location of modules" in the documentation. Closes #848 #1343
* | Update packages section in Python html docsWilliam S Fulton2018-12-081-14/+16
| | | | | | | | Updates given only Python 2.7, 3.2+ are now supported.
* | Update comments and docs regarding recent addition to use __package__ for ↵William S Fulton2018-11-281-1/+2
| | | | | | | | Python module imports
* | Add Python struct member limitation documentationWilliam S Fulton2018-11-061-0/+21
| | | | | | | | Closes #1336
* | Merge branch 'hakonhagland-doc_fix'William S Fulton2018-10-241-1/+1
|\ \ | | | | | | | | | | | | * hakonhagland-doc_fix: Documentation refers to wrong chapter.
| * | Documentation refers to wrong chapter.Håkon Hægland2018-10-171-1/+1
| | | | | | | | | | | | | | | Chapter 10, first section, refers to Chapter 3 (Getting started on Windows) but should presumably be Chapter 5 (SWIG Basics).
* | | Typemap %apply docs clarificationWilliam S Fulton2018-10-241-1/+1
| | |
* | | Documentation correction about -fastproxyWilliam S Fulton2018-10-221-2/+2
|/ /
* | Drop support for Python classic classesOlly Betts2018-10-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | There were only needed to support Python < 2.2, and we now require at least Python 2.6. Conflicts: .travis.yml Examples/test-suite/python/autodoc_runme.py Source/Modules/python.cxx This is a cherry-pick and merge from patch in #1261
* | Improve typemaps documentation for %apply and delete.William S Fulton2018-10-051-21/+63
| | | | | | | | Make %apply and %clear section clearer (hopefully).
* | Fix class having method `Connect()` creating a name collision with ↵Rokas Kupstys2018-09-061-7/+7
| | | | | | | | | | | | `SwigDirectorConnect()`. Issue is fixed by prepending director methods with `SwigDirectorMethod` instead of `SwigDirector`.
* | python -> Python in html docsWilliam S Fulton2018-08-215-63/+63
| |
* | Re-implement Python -fastproxy option.William S Fulton2018-08-182-0/+101
| | | | | | | | | | | | | | The previous implementation failed with Python 3 and abstract base clases. The new implementation replaces the Python 2 implementation using new.instancemethod with C API PyMethod_New to match the equivalent Python 3 implementation which uses PyInstanceMethod_New. Closes #1310