Vadim Zeitlin
b96dd8bb97
Implement translation of Doxygen formulae to Sphinx notation.
...
This allows to automatically have nicely looking formulae in HTML output when
using Sphinx with e.g. sphinx.ext.mathjax extension.
2014-08-22 17:45:21 +02:00
Vadim Zeitlin
15b369028f
Allow using enum elements as default values for Python functions.
...
Enum values are just (integer) constants in Python and so can be used as the
function default values just as well as literal numbers, account for this when
checking whether function parameters can be represented in Python.
Also rename is_primitive_defaultargs() to is_representable_as_pyargs() to
describe better what this function does.
2014-08-17 01:08:32 +02:00
Robert Stone
488aed4224
apply SF Patch #350 and add testcase
2014-08-15 21:47:10 -07:00
Vadim Zeitlin
7d2743a0bb
Use reST inline markup in PyDocConverter instead of Markdown.
...
reST is standard Python markup, so use *...*, ``...`` and so on instead of
_..._, '...' etc.
No other changes even though the mapping of some Doxygen tags to markup used
for them seems suspicions (e.g. \var almost certainly should be the same as
\em).
2014-08-13 16:11:30 +02:00
Vadim Zeitlin
b374aad0da
Use Sphinx-compatible docstring format in PyDocConverter.
...
Use the more or less standard :param:, :type:, :return: and :raises: in the
function/methods descriptions.
Update the output expected from the Python tests accordingly.
2014-08-13 16:11:30 +02:00
Vadim Zeitlin
329d64bb04
Show the diff when a Doxygen test fails.
...
This is much more readable than just dumping the expected output and the
actual result produced by SWIG, especially for longer Doxygen comments.
Remove the bunch of commented out code and also do not save the results
in the file, this is not very useful as it's not even clear which test the
files correspond to and annoying when these files are left over later. If
anybody really uses this functionality, it ought to be optional.
2014-08-13 16:11:30 +02:00
Vadim Zeitlin
6cce652762
Merge latest master into doxygen branch again.
...
Update Doxygen-specific Python unit tests to work with the new indentation.
Update one of Doxygen-specific Java tests to still build with the new handling
of srcdir.
2014-08-13 16:11:21 +02:00
Simon Marchetto
bb4b6742eb
scilab: hide too long identifier warnings
2014-07-24 11:14:07 +02:00
Yuval Kashtan
093fe2a556
Add support for java.nio.Buffer
...
including test-suite test case and documentation
2014-07-18 15:45:16 +03:00
Simon Marchetto
7ce1550664
scilab: fix missing include in li_std_container_typemaps test
2014-07-10 12:54:57 +02:00
Simon Marchetto
34db2b83c5
scilab: library stl.i include same libraries as in other languages
2014-07-10 09:22:32 +02:00
Simon Marchetto
8fdb67cace
scilab: rollback INCLUDE
2014-07-03 15:03:34 +02:00
Simon Marchetto
5e7627c3f7
scilab: remove useless SCRIPTDIR
2014-07-03 11:58:47 +02:00
Simon Marchetto
d6cca41d3e
scilab: simplify Examples makefile (removing INCLUDE stuff)
2014-07-03 11:32:59 +02:00
William S Fulton
83749b3937
Fix expansion of the $parentclassname special variable
...
It incorrectly contains brackets in the expanded name.
Fixes SF Bug 1375.
2014-07-01 20:27:48 +01:00
William S Fulton
70cee61c2a
Cosmetic test case change
2014-06-26 20:30:25 +01:00
William S Fulton
daab0d748c
Fix ancient bad merge from trunk
2014-06-26 20:30:25 +01:00
William S Fulton
0ebe64c041
Run overload_arrays testcase in all languages not just Scilab
2014-06-26 20:30:25 +01:00
William S Fulton
a40ab6a7d2
Better Scilab workaround for testcase
2014-06-26 20:30:24 +01:00
William S Fulton
2f01e5468f
Fix ancient merge error
...
in 75d2abfddb
2014-06-26 20:30:24 +01:00
William S Fulton
8143e59d68
Revert "scilab: implement enum_var test"
...
This reverts commit fbe6c13267 .
It looks like an accidental change to me
2014-06-26 20:30:24 +01:00
Simon Marchetto
821118de9b
scilab: rename swig_this(), swig_ptr() to SWIG_this(), SWIG_ptr()
2014-06-26 09:44:49 +02:00
Simon Marchetto
9fc32cb866
scilab: fix test-suite: change to test dir before running test
2014-06-20 16:48:24 +02:00
Simon Marchetto
2aabb4527e
scilab: fix test-suite clean
2014-06-20 12:34:33 +02:00
Simon Marchetto
0f57082cc4
scilab: no need to copy runme script in in-source build
2014-06-20 12:34:33 +02:00
Simon Marchetto
2935426968
scilab: fix nested_structs test
2014-06-19 09:22:00 +02:00
Simon Marchetto
ff6a674cc6
scilab: simplify and complete arrays_dimensionsless test
2014-06-16 17:17:27 +02:00
Simon Marchetto
423b52aa05
scilab: fix array_member test
2014-06-16 17:00:27 +02:00
Simon Marchetto
8a2472c649
scilab: unsigned ints typemaps behave same as ints (2nd commit: arrays)
2014-06-16 16:25:49 +02:00
Simon Marchetto
e324ad1c6c
scilab: fix tests for unsigned ints typemap changes
2014-06-16 16:03:50 +02:00
Simon Marchetto
8afd002abe
scilab: fix pointer utility functions (return double instead of uint32)
2014-06-16 12:06:30 +02:00
Simon Marchetto
72c6552c2d
scilab: unsigned ints typemaps behave same as signed ints (1st commit: scalar)
2014-06-16 12:03:49 +02:00
Simon Marchetto
4ba4591dba
scilab: use checkequal() in tests
2014-06-16 10:04:53 +02:00
Simon Marchetto
3ac0dc2be5
scilab: rename matrix typemaps named parameters
2014-06-13 16:21:21 +02:00
Simon Marchetto
fb51700c3a
scilab: add library cpointer.i (and test case)
2014-06-11 16:50:25 +02:00
Simon Marchetto
02f0b5ccd0
scilab: remove travis debug
2014-06-10 17:27:49 +02:00
Simon Marchetto
caaba294d6
scilab: fix error in test-suite INCLUDES
2014-06-10 17:09:20 +02:00
Simon Marchetto
44e30da73d
scilab: remove travis debug stuff
2014-06-10 16:33:37 +02:00
Simon Marchetto
8dc3b59216
scilab: add SCRDIR as include dir + scilab needs absolute include paths
2014-06-10 16:32:45 +02:00
Simon Marchetto
89dfb14605
scilab: fix test test-suite runme_script
2014-06-10 11:27:54 +02:00
Simon Marchetto
41fe55af87
scilab: fix test-suite copy runme script
2014-06-10 11:15:50 +02:00
Simon Marchetto
4d5ea3e073
scilab: copy test-suite runme script
2014-06-10 11:14:23 +02:00
Simon Marchetto
94ae87f3f9
scilab: override SCRIPTDIR in test-suite makefile
2014-06-10 10:20:24 +02:00
Simon Marchetto
18d080fefb
scilab: debug travis
2014-06-10 09:53:43 +02:00
Julien Schueller
11b5a61879
Check multi-module examples. Dont use sed.
2014-06-10 08:59:55 +02:00
Simon Marchetto
37c7aeb9d4
scilab: copy test-suite start and quit scripts
2014-06-09 18:36:23 +02:00
Simon Marchetto
4bfbe20e52
scilab: base test-suite makefile on java makefile
2014-06-09 18:09:52 +02:00
Simon Marchetto
6bba1817bf
scilab: fix script location in test-suite makefile for out-of sources build
2014-06-09 16:16:42 +02:00
Julien Schueller
7a4cef998c
Enable pep8 check
2014-06-07 13:10:27 +02:00
Simon Marchetto
07b06a4089
Merge branch 'master' into gsoc2012-scilab
...
Conflicts:
.gitignore
.travis.yml
COPYRIGHT
Examples/Makefile.in
Examples/test-suite/constructor_copy.i
Makefile.in
configure.ac
2014-06-06 16:33:16 +02:00