Commit graph

1,679 commits

Author SHA1 Message Date
Olly Betts
2629764e3f Remove remnants of attempts to wrap to PHP global vars
This isn't really workable since PHP doesn't support intercepting
accesses to global variables (nor to static class properties, so
we can't wrap C/C++ global variables that way either).

The _get() and _set() function wrappers actually work and have
been generated for a very long time.
2021-04-17 05:59:18 +12:00
Olly Betts
40da8bcbb6 php: Wrap classes using only swig_object_wrapper
We no longer use PHP resources to wrap classes, and the proxy classes no
longer has a _cPtr property.
2021-04-04 07:45:20 +12:00
Olly Betts
e54d44c4be php: Omit closing ?> in manual and examples
PSR-12 says "The closing ?> tag MUST be omitted from files containing
only PHP".
2021-03-23 11:47:19 +13:00
Olly Betts
56d7435573 Merge branch 'php8-support'
Fixes #1929, Fixes #1978
2021-03-21 10:57:35 +13:00
Olly Betts
4c3e85fbd4 Clarify what SWIGPHP7 means 2021-03-21 10:43:06 +13:00
Erik Smistad
45c015b631 Added windows build instructions for MSYS2 2021-03-19 22:31:32 +00:00
Olly Betts
3584c7d49c Add initial support for PHP8
Testcase director_overload2 is failing, but the rest of the testsuite
passes.
2021-03-19 19:30:27 +13:00
Andy Polyakov
b56814ce08 Lib/javascript/v8/javascriptrun.swg: clean up pre-processor conditions.
Harmonize javascriptcode.swg javascripthelpers.swg and clarify
documentation.
2021-03-10 14:51:08 +01:00
William S Fulton
e0be0f7517 html chapter numbering fix 2021-03-02 00:13:56 +00:00
William S Fulton
27f29aef2c CMake documentation tweaks 2021-03-02 00:12:46 +00:00
William S Fulton
3f63848940 Move CMake chapter 2021-03-01 23:55:28 +00:00
William S Fulton
3231dd3619 Merge branch 'windows-cmake-doc'
* windows-cmake-doc:
  Remove duplicate and update to nuget installs
  Remove duplicate section
  Add link on main Contents page
  Add CMake build steps on Windows
2021-03-01 23:52:25 +00:00
William S Fulton
c3c4ec1e88 html link corrections 2021-02-24 22:07:36 +00:00
sethg
f0bf789db0 Remove duplicate and update to nuget installs 2021-02-23 13:16:07 +01:00
sethg
a1fdfe7d65 Remove duplicate section 2021-02-23 12:49:30 +01:00
sethg
da33383ea2 Add link on main Contents page 2021-02-23 00:38:41 +01:00
sethg
896e8d8654 Add CMake build steps on Windows 2021-02-23 00:34:55 +01:00
James Gerity
280b82c8ac Document lack of support for auto for C++ variables (#1125) 2021-01-19 10:03:56 +13:00
William S Fulton
c1b004f4fa Add access modifier support for interface feature
Add ability to change the modifiers for the C# and Java
interface generated when using the %interface macros.

For C# use the 'csinterfacemodifiers' typemap.
For Java use the 'javainterfacemodifiers' typemap.

For example:

  %typemap(csinterfacemodifiers) X "internal interface"

Closes #1874
2020-09-25 18:54:25 +01:00
William S Fulton
e535190c34 Update Visual C++ instructions in Windows.html 2020-08-13 20:07:10 +01:00
Zackery Spytz
8f795a4220 Fix references to pyopers.swg in the Python docs
[skip ci]
2020-06-09 17:42:46 -06:00
William S Fulton
b7bcb338cf Add C++20 documentation chapter 2020-06-08 20:56:40 +01:00
William S Fulton
470d1926f8 Bump version to 4.1.0 2020-06-08 20:47:47 +01:00
William S Fulton
efe5f181cf html fixes 2020-06-08 20:19:47 +01:00
William S Fulton
7070320335 Revert "Add C++20 documentation chapter"
This reverts commit 36e8d521de.

Conflicts:
	Doc/Manual/R.html
2020-06-08 20:06:55 +01:00
William S Fulton
3c007e81d6 swig-4.0.2 release notes 2020-06-07 23:03:06 +01:00
William S Fulton
ae0efd3d74 Merge branch 'nightlark-preprocessor-docs'
* nightlark-preprocessor-docs:
  Correct preprocessor docs
  Preprocessor definitions doc update
  Remove BUILDING_NOTE_EXTENSION from docs
  Add missing preprocessor defines to the docs list
2020-03-05 19:06:08 +00:00
William S Fulton
3f30735478 Correct preprocessor docs
Blatently incorrect information removed.
2020-03-05 19:04:55 +00:00
William S Fulton
9727083c6e Preprocessor definitions doc update
Move language specific definitions into separate section in docs.
2020-03-05 18:56:46 +00:00
William S Fulton
f97b37a316 Minor formatting fixes in Lua.html 2020-03-03 19:23:46 +00:00
Ryan Mast
853987e866 Remove BUILDING_NOTE_EXTENSION from docs 2020-02-28 23:56:57 -08:00
William S Fulton
e3524be164 html fixes in documentation 2020-02-07 07:27:49 +00:00
William S Fulton
63b3fe8d3b R documentation minor tweaks 2020-02-07 07:18:04 +00:00
Richard Beare
c74507f024 documentation about R accessors, with examples 2020-02-03 14:37:00 +11:00
William S Fulton
36e8d521de Add C++20 documentation chapter
[skip-ci]
2020-01-28 20:31:53 +00:00
Ryan Mast
bf2e50f09f
Add missing preprocessor defines to the docs list 2020-01-20 15:01:22 -08:00
William S Fulton
00b47d4d1d Merge branch 'doxy/commands'
* doxy/commands:
  Update documentation for doxygen tags
  Fix doxygen translation of \p command for python
  Fix doxygen handling of \em tag for python
  Minor formatting updates to doxygen docs
  Reformat tag lists in doxygen documentation
  Add doxygen_code_blocks_runme.java
  Special handling for python doctest code blocks
  Add new doxygen test doxygen_code_blocks
  Handle doxygen code command with language option
  Improve doxygen parser handling of \code content
  Flag optional arguments in doxygen pydoc output
  Add parameter direction to doxygen pydoc output
  Support doxygen \param[] commands
2020-01-14 18:36:50 +00:00
William S Fulton
d53a54b4f7
Merge pull request #1668 from treitmayr/master
Fix code generated for Ruby global variables
2019-12-30 23:49:04 +00:00
William S Fulton
8122929ba9 Improve .NET docs.
Add minimum .NET version required
Issue #1623
[skip-ci]
2019-12-04 07:06:58 +00:00
Thomas Reitmayr
18a3ef3911 Fix code generated for Ruby global variables
This commit fixes swig#1653 by creating a Ruby virtual variable
for a C/c++ global variable when SWIG is invoked with the
-globalmodule option.
2019-10-27 21:41:03 +01:00
William S Fulton
4c86ed4980 Macros wrapped as constants documentation improvements.
Closes #1618
2019-10-01 08:05:35 +01:00
John McFarland
ae70993380 Update documentation for doxygen tags
Updates to supported/unsupported doxygen tags for both Java and
Python.  Document new support for \code and \param options.  Also
update documentation of various other tags as well as the list of
unsupported tags for python.
2019-09-15 10:59:03 -05:00
John McFarland
4ebc3e05ad Minor formatting updates to doxygen docs 2019-09-15 10:59:03 -05:00
John McFarland
1ac371369e Reformat tag lists in doxygen documentation
Reformat the tables of unsupported and ignored tags.  Previous table
format was not maintainable.  Changing to use multi-column lists, so
that entries can be easily sorted and updated.  The displayed order is
now by row instead of by column, which is decidedly easier to read.
Other than removing duplicates, no change to content.
2019-09-15 10:57:58 -05:00
William S Fulton
c48d11ac17 Bump version to 4.0.2 2019-08-22 06:55:39 +01:00
William S Fulton
2c1ff4e8ce Add swig-4.0.1 release date 2019-08-20 19:47:57 +01:00
William S Fulton
f4208a0a41 R html docs formatting fixes.
[skip-ci]
2019-08-20 19:37:32 +01:00
William S Fulton
6925ec796b Merge branch 'contrib/TekuConcept'
* contrib/TekuConcept:
  Dev Checkpoint 201908200213
  Dev Checkpoint 201906261312
  Dev Checkpoint 201906252227
  Dev Checkpoint 201906252221
  Dev Checkpoint 201906252210
  Dev Checkpoint 201906252113
  Add JS Native Directive Testcase
  JS Example Campatibility Update
  Add Native Directive Example
  Update JavaScript Documentation
  Add JS Native Wrapper API
2019-08-20 18:53:02 +01:00
William S Fulton
87bf8ae7aa
Merge pull request #1604 from vadz/init-doc
Correct %init documentation for C#/Java
2019-08-01 19:58:03 +01:00
Vadim Zeitlin
a4432a68da Correct %init documentation for C#/Java
For these languages, %init doesn't inject the code into the
initialization function (because there is none), but just puts it into
the global scope instead.

[skip ci]
2019-07-30 21:12:04 +02:00