Commit graph

1,698 commits

Author SHA1 Message Date
Dimitris Apostolou
f586d920f7
Fix typos 2021-11-17 07:07:02 +02:00
William S Fulton
7a65f028f8 Update docs - python static members access
[skip-ci]
2021-10-20 11:53:18 +01:00
Julien Schueller
42ed181e08 [CMake] Add option to enable pcre
Closes #2031, #2065.
2021-10-03 16:32:11 +02:00
Ian Lance Taylor
4461c443cf remove Go -no-cgo option
It only worked for Go versions before 1.5, which is more than five
years ago and long-unsupported.
2021-09-14 13:59:21 -07:00
Olly Betts
a2fc5ecaff Fix "dobule" typos in docs
Fixes #2043.
2021-07-06 10:56:48 +12:00
Olly Betts
11bb422bd3 [Pike] Remove code for Pike
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.

See #2009.
2021-05-16 08:42:39 +12:00
Olly Betts
12f3a85916 [Modula3] Remove code for Modula3
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.

See #2009.
2021-05-16 08:42:39 +12:00
Olly Betts
5f38f9cc78 [Chicken] Remove code for Chicken
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.

See #2009.
2021-05-16 08:42:39 +12:00
Olly Betts
353baebfcf [Allegrocl] Remove code for Allegro Common Lisp
We dropped support for it in SWIG 4.0.0 and nobody has stepped forward
to revive it in over 2 years.

See #2009.
2021-05-13 10:38:40 +12:00
Olly Betts
4ca4283d33 Update PHP docs for recent changes 2021-05-06 16:02:37 +12:00
Olly Betts
2de563a32e Update details of PHP undefined constants
Since PHP 8.0 these now give an error.
2021-05-04 14:20:28 +12:00
Olly Betts
32283991c5 Don't generate a .php wrapper file by default
It's now only generated if something to put in it is specified via:

%pragma(php) include=...

or

%pragma(php) code=...
2021-05-04 14:14:56 +12:00
Olly Betts
f227e5fae4 Document extension=modulename
This works for PHP >= 7.2 and is the recommended method now as it
avoids having to specify a filename which varies between platforms.
2021-05-04 08:05:04 +12:00
Olly Betts
586eb24efe php: Stop using dl()
With modern PHP it only works with the CLI version of PHP, so it's
better to direct users to load the extension via "extension=" in
php.ini.

Suggested by ferdynator in #1529.
2021-05-03 18:42:28 +12:00
Olly Betts
c87047fd39 Merge branch 'master' into gsoc2017-php7-classes-via-c-api 2021-05-03 16:17:02 +12:00
Olly Betts
9ddc9dceb7 Remove support for $source and $target
These were officially deprecated in 2001, and attempts to use them have
resulted in a warning (including a pointer to what to update them to)
for most if not all of that time.

Fixes #1984
2021-04-30 10:20:14 +12:00
Olly Betts
50426aae20 Make PHP directors work more like other languages
A PHP exception now gets translated to a C++ exception to skips over C++
code to get back to PHP, avoiding the need to gate every directorout
typemap on EG(exception).
2021-04-22 14:40:21 +12:00
Olly Betts
3e8373b09a Merge branch 'master' into gsoc2017-php7-classes-via-c-api 2021-04-21 16:05:24 +12:00
Olly Betts
f198ff0a43 Fix more "allows to" and other typos 2021-04-21 15:54:46 +12:00
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