Olly Betts
431b9b16e7
Update one dead link and remove another
2014-02-24 10:11:11 +13:00
Olly Betts
0de4cf13a8
Further cleaning up of class examples
2014-02-24 10:10:24 +13:00
William S Fulton
7f40ae3570
C# project files update
...
- Update project files to use Visual Studio 2005 (minimum supported .NET
is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
2014-02-23 15:47:42 +00:00
Olly Betts
34c97ffdbd
Improve the class example for several languages.
...
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
2014-02-23 18:24:51 +13:00
Olly Betts
2f3bf144c6
Fix assorted comment and documentation typos
2014-02-23 17:15:22 +13:00
William S Fulton
894de07c3d
Add missing executable bit
2014-02-22 21:24:55 +00:00
William S Fulton
be49f5caee
Another revert fragment <stdexcept> for non-UTL languages
2014-02-22 20:53:26 +00:00
William S Fulton
4f3c77051f
Slight wording change when running test-suite
...
Should be easier to parse 'by eye'
2014-02-22 20:51:27 +00:00
William S Fulton
2feb2e6fc6
Revert fragment <stdexcept> for non-UTL languages
2014-02-22 01:11:40 +00:00
William S Fulton
91f4828a4a
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
William S Fulton
bf313809ae
Fix Lua examples for running under Lua 5.2
...
Includes cherry picking parts of
ce2760f77e
2014-02-22 00:43:18 +00:00
Paweł Tomulik
0ed98c0606
added example with %pythonbegin
...
This was requested in PR #7 but overlooked. Contains an example where
one does: from __future__ import absolute_import using %pythonbegin
directive.
2014-02-21 19:12:59 +00:00
William S Fulton
ae7b34ce03
Remove duplicate header includes in director.swg
2014-02-21 19:07:35 +00:00
William S Fulton
0d9a8721f4
Move some header file includes into fragments for UTL languages
2014-02-21 19:02:14 +00:00
William S Fulton
d55692c31e
Fix warning suppression using %warnfilter for PHP reserved class names.
...
The features need to be merged in before issuing a warning as
%warnfilter is a %feature.
2014-02-21 08:29:20 +00:00
Olly Betts
c5bc0aa472
Improve Examples/README
2014-02-21 08:14:24 +13:00
Olly Betts
de7ed84f77
Recommend compiling with PIC consistently.
...
While shared objects with non-PIC code work on some architectures
(notably x86), unless code is always PIC on that arch (not true for x86)
doing so requires runtime relocations, which prevents the object
actually being shared, and means such segments can't be marked as
read-only.
2014-02-21 08:09:58 +13:00
Olly Betts
bdb45cacea
Merge pull request #140 from cdunham/master
...
Remove register storage class declarations
2014-02-20 11:36:12 +13:00
Curtis Dunham
fe91d6449f
Remove register storage class declarations
...
They're unnecessary, anacronistic, deprecated in modern
standards, generally ignored, useless, and (most importantly)
clang complains about them.
2014-02-19 11:58:27 -06:00
Olly Betts
66b22e6178
Improve ignore pattern for vim swap files to not match SWIG *.swg files
2014-02-19 23:05:15 +13:00
Olly Betts
1097fc99ff
[Lua] Add keyword warnings for Lua keywords and Basic Functions.
2014-02-19 23:04:40 +13:00
Olly Betts
dcf121f534
Make Lib/ocaml/swigp4.ml a non-generated file.
...
We used to have configure substitute values into it, but that's not been
the case for just over 3 years, since patch #3151788 was applied.
2014-02-19 22:35:45 +13:00
Olly Betts
9146164748
Extend php_namewarn_rename to act as a regression test for the warning about built-in function names used in %extend
2014-02-19 22:09:39 +13:00
Olly Betts
5b957278a8
-Wallkw now includes keywords for all languages with keyword
...
warnings (previously Go and R were missing).
2014-02-19 22:07:26 +13:00
Olly Betts
7df6c832c3
Remove incorrect comments
2014-02-19 18:27:14 +13:00
Olly Betts
6d08992945
Add expected functions which get generated to silence testsuite warning
2014-02-19 18:26:40 +13:00
Olly Betts
ae14ad0c4a
Rename "struct Global" to "struct Global_" to avoid PHP keyword
2014-02-19 18:26:07 +13:00
Olly Betts
1aa6220041
Fix incorrect patch number
2014-02-19 17:22:28 +13:00
Olly Betts
06e5a5fb0d
[PHP] Update the lists of PHP keywords with new ones from PHP 5.4
...
and newer (and some missing ones from 5.3). Reserved PHP constants
names are now checked against enum values and constants, instead
of against function and method names. Built-in PHP function names
no longer match methods added by %extend. Functions and methods
named '__sleep', '__wakeup', 'not', 'parent', or 'virtual' are no
longer needlessly renamed.
2014-02-19 17:21:34 +13:00
Olly Betts
36c22b70bd
Make PHP %keywordwarn message wording consistent with other languages
2014-02-19 16:51:31 +13:00
Olly Betts
f8a028517d
Fix comment typos
2014-02-19 16:41:34 +13:00
William S Fulton
83bc80e1b1
Merge branch 'master' of github.com:gjanssens/swig into gjanssens-master
...
* 'master' of github.com:gjanssens/swig:
guile std_string test: run test in utf8 locale
fix typo
2014-02-18 23:29:07 +00:00
William S Fulton
c5911cc08d
Add %$isextendmember for %rename of members added via %extend
2014-02-18 23:21:46 +00:00
Geert Janssens
43c8f2351c
guile std_string test: run test in utf8 locale
...
Guile can't properly handle non-ascii strings in the default C locale
2014-02-18 16:35:58 +01:00
William S Fulton
9cbd742b66
Fix %$ismember %rename predicate for members added via %extend
...
Bug reported was incorrect renaming of PHP built-in functions, such as
next. See PHPFN in phpkw.swg.
Add some tests for the %rename predicates.
2014-02-18 07:30:55 +00:00
Olly Betts
fcda732437
fix typo
2014-02-17 19:44:20 +13:00
Olly Betts
fcf8180751
Whitespace tweaks
2014-02-17 16:27:39 +13:00
Olly Betts
b761131fec
"if (strlen(msg))" -> "if (msg[0])"
2014-02-17 16:26:48 +13:00
Olly Betts
7af8b13ef7
Just call strcmp() rather than strlen() twice plus zend_binary_strcmp()
2014-02-17 16:25:29 +13:00
Olly Betts
052d0057c2
Only call strlen(lc_fname) if we are going to use the result
2014-02-17 16:24:04 +13:00
William S Fulton
d7f91bc47a
CHANGES files corrections since 2.0.12 release
...
A number of fixes committed since 2.0.11 release were intended for the
3.0.0 release were backported to the maintenance-2.0 branch for 2.0.12.
2014-02-16 22:28:57 +00:00
William S Fulton
c7187c6a2d
Add release summary for 2.0.12
2014-02-16 22:21:22 +00:00
William S Fulton
0d63e5d07b
Merge branch 'maintenance-2.0'
...
Merge using 'ours' strategy.
2014-02-16 22:19:18 +00:00
William S Fulton
81cc95155e
Python 3.3 should now work on Travis
2014-02-16 18:11:17 +00:00
William S Fulton
8cdae65ee9
C++ exception (wrapped by a Python exception as a shadow instance) segfaulting Python
...
Patch #137
2014-02-16 18:02:30 +00:00
William S Fulton
fb7eb2bedf
Merge branch 'master' of github.com:hfalcic/swig into hfalcic-python3-seg-fault
...
* 'master' of github.com:hfalcic/swig:
Fix shadow instance creation failure in Python 3
2014-02-16 17:54:28 +00:00
William S Fulton
a161e5ab4e
Fix configure for binary specified by --with-python3
2014-02-16 17:30:51 +00:00
William S Fulton
b170788459
Executable bits and shebang fixes
2014-02-16 17:30:41 +00:00
William S Fulton
53a3d12227
Fix typo in .travis.yml
2014-02-16 17:13:54 +00:00
William S Fulton
d73513cb7a
Travis testing of Python 3.3 added
2014-02-16 15:40:02 +00:00