Simon Marchetto
9ecb38976d
scilab: implement cpp_enum test
2014-03-03 17:55:06 +01:00
Simon Marchetto
6754671075
scilab: implement default_constructor test
2014-03-03 17:32:41 +01:00
Simon Marchetto
2bb5e7ee92
scilab: can specifiy error message in swigtesterror()
2014-03-03 17:32:34 +01:00
Simon Marchetto
acefa4c713
scilab: implement constover test
2014-03-03 16:24:18 +01:00
Artem Serebriyskiy
1898099620
Fixing enums
2014-03-03 09:54:13 +04:00
William S Fulton
7a96fba836
Correct exception thrown attempting to access a non-existent C/C++ global variable on the 'cvar' object.
...
The exception thrown used to be a NameError. However, as this access is
via a primary, an AttributeError is more correct and so the exception
thrown now is an AttributeError. Reference:
http://docs.python.org/2/reference/expressions.html#attribute-references
SF Patch #346 .
2014-03-02 01:31:36 +00:00
William S Fulton
4fb940d913
Further fixes when using type() when using -builtin to include module name
...
Using type() on a builtin type should include the package and module
name, see http://docs.python.org/2/c-api/typeobj.html
2014-03-01 23:26:27 +00:00
William S Fulton
a3a0535229
Add testcase and info on python -builtin missing argument count check
2014-03-01 16:44:01 +00:00
William S Fulton
09cfc53bdf
Better error detection in some java testcases
2014-03-01 16:14:36 +00:00
William S Fulton
52c106d27f
Revert unnecessary changes in keyword_rename test
2014-02-27 20:23:32 +00:00
William S Fulton
c36800713b
Use unix fileformat
2014-02-27 20:12:53 +00:00
William S Fulton
1be97ed26c
Merge Lua changes - branch 'class_p1' of github.com:v-for-vandal/swig into v-for-vandal-class_p1
...
* 'class_p1' of github.com:v-for-vandal/swig:
Fixing registerClass. No more wrap: unnecessary attributes
Fixed registerMethod to work like registerVariable
Switched to Swig_name_* functions
Return MIN_OPT_LEVEL for elua
add nspace_extend test case
updated documentation following comd options renaming
Options in alphabetical order
Members renaming
target_name -> lua_name
Fixing cmd options, again
Fixing segfault
Removed class_parent_nspace
Fixes to module options
Rename methods to make it clear what 'symbols table' they operate on.
Small documenation fixes
Updating Lua documentation
Eliminating namespaces_hash and using symbols table instead
Attempt to catch unreproducable bug from Travis CI build
Small bugfixes
Bugfixes for eLua. eLua emulation mode
Add compatibility option for old-style inheritance
Add support for C-style enums in C mode. And tests.
Style fixes. Comments fixes. Fixing cmd options. etc
Some fixes for elua
Attempt to fix unreproducable bug (from Travis CI build)
Fixes for examples. Wrapped keywords into guardian in keyword_rename test
Remove some typos
Remove some obsolete code
Manually beautifying luarun.swg
Code beautifier
Valuewrapper test
Removing obsolete debug code
Bugfixes
A few bugfixes
Some class bases iteration improvements
Fixes for elua
Bugfixes
Bugfixes. CMD args handling. Code cleanup
Bugfixes
Preparations before pull request - part 1
More changes. Mostly to the would-be class library
Fixing issuse with v2-compatible static function names
Add pointer guard
Add runtime test
Bugfixes
nspace.i example is working
Initial implementation - everything compiles but might not work
2014-02-27 20:04:08 +00:00
Simon Marchetto
fb5f4b3b9a
scilab: add vector<enum> in li_std_sequence_container_typemaps test
2014-02-27 17:27:49 +01:00
Simon Marchetto
fbb682195a
scilab: fix li_attribute_template test
2014-02-24 11:19:58 +01:00
Simon Marchetto
139449f424
scilab: implement test li_std_string
2014-02-24 09:36:20 +01:00
Artem Serebriyskiy
d1bfd8a517
add nspace_extend test case
2014-02-23 14:23:55 +04:00
Olly Betts
2f3bf144c6
Fix assorted comment and documentation typos
2014-02-23 17:15:22 +13: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
91f4828a4a
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
Simon Marchetto
35ef7b774b
scilab: remove disp int test
2014-02-21 17:30:38 +01:00
Simon Marchetto
fed23469f2
scilab: cosmetic fix in li_std_sequence_container_typemaps
2014-02-21 11:09:11 +01:00
Simon Marchetto
32a4952865
scilab: fix inout test
2014-02-21 10:57:15 +01:00
Simon Marchetto
fe609afb40
scilab: fix li_std_set_as_argument test (strings are returned as row vector)
2014-02-21 10:57:03 +01:00
Simon Marchetto
0da07a6a14
scilab: move tests in correct test section
2014-02-20 17:48:01 +01:00
Simon Marchetto
fc99562eff
scilab: new test scilab_li_matrix for matrix.i library
2014-02-20 17:46:31 +01:00
Simon Marchetto
687163b762
scilab: remove useless exit
2014-02-20 17:41:37 +01:00
Simon Marchetto
a1a055f0f0
scilab: new generic test li_std_sequence_container_typemaps (for STL vector, list, ...)
2014-02-19 16:56:36 +01:00
Simon Marchetto
15f0624216
scilab: remove li_std_vector_as_argument (will be replaced by more generic test)
2014-02-19 16:54:47 +01:00
Olly Betts
1097fc99ff
[Lua] Add keyword warnings for Lua keywords and Basic Functions.
2014-02-19 23:04:40 +13:00
Artem Serebriyskiy
705beb6753
Bugfixes for eLua. eLua emulation mode
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
6d49a57b53
Add support for C-style enums in C mode. And tests.
...
In backward compatible mode C style enums binding are correctly
generated
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
ce2760f77e
Fixes for examples. Wrapped keywords into guardian in keyword_rename test
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
9bd39fe4fa
Valuewrapper test
2014-02-19 13:34:49 +04:00
Artem Serebriyskiy
f1fb2cc295
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
9d6cd75c73
Bugfixes
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
da0510376c
Bugfixes. CMD args handling. Code cleanup
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
aec4391284
Add runtime test
2014-02-19 13:34:48 +04:00
Artem Serebriyskiy
1c5a0f8b9c
Initial implementation - everything compiles but might not work
2014-02-19 13:34:47 +04: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
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
36c22b70bd
Make PHP %keywordwarn message wording consistent with other languages
2014-02-19 16:51:31 +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
Simon Marchetto
1eb7474b72
scilab: implement struct_value test
2014-02-17 17:19:22 +01:00
Simon Marchetto
68cb49600d
scilab: implement test bools
2014-02-17 17:06:22 +01:00
Simon Marchetto
d8135e7387
scilab: new test for constants (scilabconst)
2014-02-17 16:28:42 +01:00