Commit graph swig/Examples
Author SHA1 Message Date
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
Johan Hake
1dd297ad9d Fix issue with relative import when using single header file import.
-- The commit propagates the package option to the newly create
     module node so it is recognized by SWIG
  -- Added a relativeimport test for this combination
     (in lack of py3 I was not able to test it with py3 but it
      "should just work")
2014-08-12 21:48:26 +02:00
Simon Marchetto
31022667d6 scilab: file name is 'example' as in other examples 2014-08-08 17:47:36 +02:00
Simon Marchetto
9b427cc2e0 scilab: add missing exit in template example 2014-08-08 11:57:34 +02:00
Simon Marchetto
98d823face scilab: template example same as in other languages 2014-07-24 17:25:58 +02:00
Simon Marchetto
f602d6209e scilab: fix comment typo 2014-07-24 17:14:42 +02:00
Simon Marchetto
7c9a7ea78a scilab: remove indentation in example 2014-07-24 17:14:24 +02:00
Simon Marchetto
20987c42d0 scilab; new example scilab_const 2014-07-24 17:13:33 +02:00
Simon Marchetto
e37319b9be scilab: enum example same as in other languages 2014-07-24 17:09:19 +02:00
Simon Marchetto
d8a0594254 scilab: constants example same as in other languages 2014-07-24 16:34:54 +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
3b116719df scilab: clean contract example 2014-07-10 12:23:20 +02:00
Simon Marchetto
e3856c1c87 scilab: fix Examples makefile missing separator 2014-07-10 12:19:07 +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
71b838b777 scilab: fix exit code in Example makefile 2014-07-10 09:22:32 +02:00
Simon Marchetto
8fdb67cace scilab: rollback INCLUDE 2014-07-03 15:03:34 +02:00
Simon Marchetto
4fc2d37c66 scilab: rollback (INCLUDE) 2014-07-03 12:42:30 +02:00
Simon Marchetto
dd1128733f scilab: remove debug stuff 2014-07-03 12:15:35 +02:00
Simon Marchetto
d50620ddeb scilab: use TARGET in Examples Makefile 2014-07-03 12:13:49 +02:00
Simon Marchetto
a3eae4c014 scilab: reorder arguments 2014-07-03 11:59:31 +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
Simon Marchetto
57b5eab759 scilab: simplify Examples makefile 2014-07-03 10:47:37 +02:00
Simon Marchetto
2a5858e1e0 scilab: remove debug stuff 2014-07-02 17:44:59 +02:00
Simon Marchetto
386d9f2a54 scilab: remove debug stuff 2014-07-02 17:34:50 +02:00
Simon Marchetto
090a2e0371 scilab: fix copy of additional sources in current dir + delete it 2014-07-02 17:34:25 +02:00
Simon Marchetto
98f4668319 scilab: test fix example contract by copying first sources in current dir 2014-07-02 17:03:25 +02:00
Simon Marchetto
fa405fafc1 scilab: fix build error management 2014-07-02 16:06:57 +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
Simon Marchetto
a663c43b44 scilab: rollback 2014-07-01 17:22:49 +02:00
Simon Marchetto
2caffc3895 scilab: test copy 2014-07-01 17:05:50 +02:00
Simon Marchetto
a03614360a scilab: test copy 2014-07-01 16:45:07 +02:00
Simon Marchetto
402f93f282 scilab: test copy 2014-07-01 16:39:47 +02:00
Simon Marchetto
7bb93417d6 scilab: test example contract another source 2014-07-01 15:53:10 +02:00
Simon Marchetto
a15a7e43bd scilab: test example contract with another source 2014-07-01 15:44:49 +02:00
Simon Marchetto
8e40096394 scilab: test copy source 2014-07-01 10:16:18 +02:00
Simon Marchetto
7c1899a458 scilab: test enum example, source renamed 2014-07-01 09:58:33 +02:00
Simon Marchetto
bf2a71ec7d scilab: test: example contract, source renamed 2014-07-01 09:48:44 +02:00
Simon Marchetto
648315ef16 scilab: in example makefiles, use abspath for additional sources 2014-06-30 16:32:32 +02:00
Simon Marchetto
f71b66a0db scilab: fix example runme path 2014-06-30 16:13:07 +02:00
Simon Marchetto
51da580fc4 scilab: test travis without class example 2014-06-30 15:40:16 +02:00
Simon Marchetto
69f5f91014 debug travis 2014-06-30 14:48:06 +02:00
Simon Marchetto
58a53d3a05 Revert "scilab: in Examples makefile use relative path for additional sources"
This reverts commit 24cc827105.
2014-06-27 15:49:00 +02:00
Simon Marchetto
24cc827105 scilab: in Examples makefile use relative path for additional sources 2014-06-27 15:33:22 +02:00