summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add missing hasher and key_type typedefs to C++11 STL containersWilliam S Fulton2019-03-124-5/+14
| | | |
| * | | Include all template parameters for std_unordered_multiset and std_unordered_setWilliam S Fulton2019-03-124-46/+46
| | | |
| * | | Correct unordered_set/unordered_multiset template Key parameter nameWilliam S Fulton2019-03-127-80/+80
| | | |
| * | | Merge branch 'std_unordered_map_args_fix'William S Fulton2019-03-124-48/+48
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | * std_unordered_map_args_fix: Include all template parameters for std_unordered_multimap and std_unordered_map Include all template parameters for std_unordered_map macro
| | * | Include all template parameters for std_unordered_multimap and std_unordered_mapWilliam S Fulton2019-03-124-38/+38
| | | |
| | * | Include all template parameters for std_unordered_map macroJohn Wason2019-03-011-13/+13
| | | |
| * | | Fix format-security error with octave 5.1Orion Poplawski2019-03-101-2/+2
| | |/ | |/|
| * | Java std::vector improvements for types that do not have a default constructor.William S Fulton2019-03-012-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The std::vector wrappers have been changed to work by default for elements that are not default insertable, i.e. have no default constructor. This has been achieved by not wrapping: vector(size_type n); Previously the above had to be ignored via %ignore. If the above constructor is still required it can be added back in again via %extend: %extend std::vector { vector(size_type count) { return new std::vector< T >(count); } } Alternatively, the following wrapped constructor could be used as it provides near-enough equivalent functionality: vector(jint count, const value_type& value); The equivalent change to std::list has also been made (std::list wrappers were not in the previous release [3.0.12] though).
| * | Java: more replace Object with java.lang.ObjectWilliam S Fulton2019-02-231-4/+4
| | |
| * | Merge branch 'zphensley42-master'William S Fulton2019-02-235-17/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | * zphensley42-master: Handle review comments Updated java std_map to support Obj derivatives by importing original for use in class
| | * | Handle review commentsZachary Hensley2019-02-225-20/+17
| | | |
| | * | Updated java std_map to support Obj derivatives by importing original for ↵Zachary Hensley2019-02-211-0/+3
| | | | | | | | | | | | | | | | use in class
| * | | Merge branch 'gtbX-master'William S Fulton2019-02-231-10/+15
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | * gtbX-master: Add comment for non-const version Don't write-back buffer into Java array when calling const-ptr c function Prevent writeback of a const char* array through a director when using the byte[] %typemap.
| | * | Add comment for non-const versionAndrew Galante2018-02-201-0/+1
| | | |
| | * | Don't write-back buffer into Java array when calling const-ptr c functionAndrew Galante2018-02-201-1/+4
| | | |
| | * | Prevent writeback of a const char* array through a director when using the ↵Andrew Galante2017-07-261-9/+10
| | | | | | | | | | | | | | | | byte[] %typemap.
| * | | Add in a definition for RTYPEDDATA_P for Ruby<1.9.3William S Fulton2019-02-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This definition ensures the SWIG wrappers keep compiling in older versions of Ruby given the previous change (which uses RTYPEDDATA_P and hence requires Ruby 1.9.3). The definition of RTYPEDDATA_P is such that the previous commit plus the definition should keep the behaviour the same as before.
| * | | [ruby] check whether object is of RTypedData using RTYPEDDATA_P.Takashi Tamura2019-02-221-2/+2
| | | |
| * | | Merge branch 'java9_finalize_warnings'William S Fulton2019-02-211-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * java9_finalize_warnings: [Java] Suppress deprecation warning on finalize method
| | * | | [Java] Suppress deprecation warning on finalize methodSylvain Joubert2018-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Java 9 deprecates the finalize method. For now just suppress the deprecation warning. Fixes #1237
| * | | | Fix multiple definitions of swig::container_owner_attributeWilliam S Fulton2019-02-211-1/+1
| | |_|/ | |/| |
| * | | Re-organise Python method creation and docstring functions declarationsWilliam S Fulton2019-02-192-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ‘PyMethodDef* SWIG_PythonGetProxyDoc(const char*)’ declared ‘static’ but never defined [-Wunused-function] Closes #1448 (again)
* | | | [OCaml] Move INPUT, OUTPUT, and INOUT typemaps to typemaps.iZackery Spytz2019-02-182-38/+44
| | | |
* | | | [OCaml] Rename typemaps.i to ocaml.swgZackery Spytz2019-02-182-2/+2
| | | |
* | | | [OCaml] Rename ocaml.swg to ocamlrun.swgZackery Spytz2019-02-183-3/+3
| | | | | | | | | | | | | | | | Rename ocamldec.swg to ocamlrundec.swg.
* | | | Merge remote-tracking branch 'upstream/master' into ↵Zackery Spytz2019-02-186-14/+83
|\ \ \ \ | |/ / / | | | | | | | | OCaml-INPUT-OUTPUT-INOUT-primitives
| * | | Merge pull request #1473 from ZackerySpytz/OCaml-wrapmacro-testWilliam S Fulton2019-02-183-5/+7
| |\ \ \ | | | | | | | | | | [OCaml] Fix the wrapmacro test
| | * | | [OCaml] Fix the wrapmacro testZackery Spytz2019-02-173-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a typecheck typemap for size_t and const size_t &. Add the const qualifier to the typemaps for primitive reference types. Add multiple runtime tests.
| * | | | Merge pull request #1472 from ZackerySpytz/OCaml-SWIGTYPE-typecheckWilliam S Fulton2019-02-183-9/+28
| |\ \ \ \ | | | | | | | | | | | | [OCaml] Add a typecheck typemap for SWIGTYPE
| | * | | | [OCaml] Add a typecheck typemap for SWIGTYPEZackery Spytz2019-02-163-9/+28
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | This fixes many of the remaining warnings in the OCaml test suite. Add multiple runtime tests.
| * | | | Python std::vector back-reference changesWilliam S Fulton2019-02-181-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give reference in container_owner a more unique name (back_reference). Change back-reference 'ret' typemap to have a function name so that they are less unwittingly be used elsewhere where not intended. Note that they can be overridden by users if needed using: %extend std::vector { %typemap(ret) value_type const& __getitem__, value_type const& front, value_type const& back { ... } } These override the SWIG supplied versions because the SWIG supplied typemaps use non-const value_type&, but the methods use const, so the above have a higher precedence in the typemap search algorithm.
| * | | | Merge branch 'jakecobb-python-container-memory'William S Fulton2019-02-181-0/+46
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * jakecobb-python-container-memory: Better name for container back-reference attribute Python - Struct spec. for container owner Python: Avoid container owner check for value types Python: Init container owner attribute in thread-safe way Python: Use PyObject_SetAttr instead of PyObject_GenericSetAttr for back-ref Python: Cleanup container back ref Python: Keep reference to owning container during element access
| | * | | Better name for container back-reference attributeWilliam S Fulton2019-02-151-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mangle name with swig so as not to clash with any attribute names a user might use. Remove Doxygen style comments - we don't use Doxygen in SWIG.
| | * | | Python - Struct spec. for container ownerJake Cobb2019-02-041-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a struct with specialization to dispatch the container owner reference function instead of a function. Avoids possible future problems if overloading were introduced.
| | * | | Python: Avoid container owner check for value typesJake Cobb2019-01-231-2/+10
| | | | |
| | * | | Python: Init container owner attribute in thread-safe wayJake Cobb2019-01-231-3/+11
| | | | |
| | * | | Python: Use PyObject_SetAttr instead of PyObject_GenericSetAttr for back-refJake Cobb2018-04-191-1/+1
| | | | |
| | * | | Python: Cleanup container back refJake Cobb2018-04-181-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a single function in a fragment. Use SWIG_Python_GetSwigThis instead of directly grabbing the 'this' attribute.
| | * | | Python: Keep reference to owning container during element accessJake Cobb2018-04-181-0/+18
| | | | |
* | | | | [OCaml] Add missing INPUT, OUTPUT, and INOUT typemaps for primitivesZackery Spytz2019-02-183-14/+38
|/ / / / | | | | | | | | | | | | The typemaps are based on PHP's.
* | | | Merge pull request #1470 from ZackerySpytz/OCaml-dynamic_cast-testWilliam S Fulton2019-02-151-0/+5
|\ \ \ \ | | | | | | | | | | [OCaml] Fix the dynamic_cast test
| * | | | [OCaml] Fix the dynamic_cast testZackery Spytz2019-02-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add out typemaps for SWIGTYPE *DYNAMIC and SWIGTYPE &DYNAMIC. Add dynamic_cast_runme.ml.
* | | | | Merge pull request #1461 from ZackerySpytz/OCaml-argout-typemaps-ref-typesWilliam S Fulton2019-02-152-29/+18
|\ \ \ \ \ | | | | | | | | | | | | [OCaml] Don't use argout typemaps by default for some reference types
| * | | | | [OCaml] Don't use argout typemaps by default for some reference typesZackery Spytz2019-02-092-29/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OCaml module's typemaps.i supplied argout typemaps for some reference types (e.g. int &) by default, which was unintuitive and inconsistent when compared with other modules. The argout_ref example depended on this, so add a typemap to argout_ref/example.i. Add multiple runtime tests that deal with references.
* | | | | | Consistent parameter names for std::pairWilliam S Fulton2019-02-1415-51/+51
| | | | | |
* | | | | | Restore original std::map template parameters for JavaWilliam S Fulton2019-02-142-72/+72
| | | | | |
* | | | | | Add STL container copy constructors where missingWilliam S Fulton2019-02-1436-43/+72
| | | | | | | | | | | | | | | | | | | | | | | | Also provide consistent copy constructor declarations.
* | | | | | Cosmetic STL typedef changesWilliam S Fulton2019-02-145-7/+4
| | | | | |
* | | | | | typedef declaration corrections for std::arrayWilliam S Fulton2019-02-142-6/+8
| | | | | |
* | | | | | Add missing typedefs to std::list + typedef correctionsWilliam S Fulton2019-02-146-32/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Numerous missing typedefs added. std::list<T*>::const_reference and std::list<T*>::reference specialization typedef fixes.