10 years agorollback %ls to %s, it was better before 81/9681/6
Antoine ELIAS [Tue, 13 Nov 2012 17:22:23 +0000]
rollback %ls to %s, it was better before

Change-Id: I0378172e7c613832b3215e3e6ab58bd4532c7f43

10 years agoMerge remote-tracking branch 'origin/master' into YaSp 71/9671/1
Sylvestre Ledru [Tue, 13 Nov 2012 09:53:18 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Change-Id: Ia21b499afca8a24f7de085b2b97d5931545952f7

10 years agoMerge remote-tracking branch 'origin/5.4' 69/9669/1
Sylvestre Ledru [Tue, 13 Nov 2012 09:48:54 +0000]
Merge remote-tracking branch 'origin/5.4'

Change-Id: I1fc44eb2b131d44b6e2f78b6e6830cc910b9af3a

10 years agofix windows compilation 57/9657/2
Antoine ELIAS [Mon, 12 Nov 2012 12:33:06 +0000]
fix windows compilation

Change-Id: I0f6f94f370024f1c49196acfa8555b6e851eb79a

10 years agoImprove the 'make depend' for ocaml build 68/9668/1
Sylvestre Ledru [Tue, 13 Nov 2012 09:18:37 +0000]
Improve the 'make depend' for ocaml build

Change-Id: I5e169c6ad16863960e533cff7304b79690e64fb4

10 years agoRevision of help page for regexp (en_US). Change of version: 5.4.10 -> 5.4.1. 67/9667/2
Stanislav KROTER [Tue, 13 Nov 2012 07:51:40 +0000]
Revision of help page for regexp (en_US). Change of version: 5.4.10 -> 5.4.1.

Change-Id: I18edc03c78c2752141614f82ebb9eb06184d3f27

10 years agoRevision of help pages of module "string" (en_US). Insert additional examples. 66/9666/1
Stanislav KROTER [Tue, 13 Nov 2012 07:50:10 +0000]
Revision of help pages of module "string" (en_US). Insert additional examples.

Change-Id: I58836594b57275257e5232ae80c625eb910a58c1

10 years agoRevision of help pages of module "string" (en_US). 65/9665/1
Stanislav KROTER [Tue, 13 Nov 2012 07:47:01 +0000]
Revision of help pages of module "string" (en_US).

Change-Id: I24d0322ec0571505e5cf1de9b6a75b723f1a8907

10 years agoAdd missing file to binary version 62/9662/1
Vincent COUVERT [Mon, 12 Nov 2012 16:21:43 +0000]
Add missing file to binary version

Change-Id: I237d2e4aa372fbf8fcf2a0a03fe03c764d2d2e83

10 years agoAdd Flowmeter for Modelica Hydraulics palette. 45/9645/5
Bruno JOFRET [Fri, 9 Nov 2012 17:10:11 +0000]
Add Flowmeter for Modelica Hydraulics palette.

Change-Id: Ie53cb41afeae148517e5e303365dbacaa670fe2b

10 years agofix exec output for lines with trailling spaces 61/9661/1
Antoine ELIAS [Mon, 12 Nov 2012 15:34:05 +0000]
fix exec output for lines with trailling spaces

Change-Id: I58f9418439bf57c188e0eb1be5768c8e74639ab7

10 years agouse nearfloat from fortran instead of C version 60/9660/1
Antoine ELIAS [Mon, 12 Nov 2012 15:32:12 +0000]
use nearfloat from fortran instead of C version

Change-Id: I9f1f934edfb7144ae94b1198dad6ea64130a7985

10 years agoXcos Solvers : Scilab Documentation 42/9542/33
Paul BIGNIER [Fri, 26 Oct 2012 14:40:56 +0000]
Xcos Solvers : Scilab Documentation

Added help files to describe the functioning of the solvers (CVode, IDA, Runge-Kutta)

Change-Id: Ib5d1510b3084187ca40524f13c4897a231c2bc75

10 years agolenght => length 59/9659/1
Sylvestre Ledru [Mon, 12 Nov 2012 13:14:14 +0000]
lenght => length

Change-Id: I9c2e8c7495f5c4ba5c82d612cfc2a88445ed5a84

10 years agoAdd examples for CheckRhs & CheckLhs 56/9656/1
Sylvestre Ledru [Mon, 12 Nov 2012 12:30:21 +0000]
Add examples for CheckRhs & CheckLhs

Change-Id: Icb07a4cc16ab0f8d6ec2c0830672e61b8c379337

10 years agoRemove the 'umf_license' help page. it is available in the 'license.txt' file 55/9655/2
Sylvestre Ledru [Mon, 12 Nov 2012 11:12:55 +0000]
Remove the 'umf_license' help page. it is available in the 'license.txt' file

Change-Id: Ic29082b2c72cdd2796810801752ad149c96c5e4f

10 years ago| and & are not comparison operators in C/C++ 54/9654/2
Antoine ELIAS [Mon, 12 Nov 2012 11:04:44 +0000]
| and & are not comparison operators in C/C++

Change-Id: I75cbf5e10b2ee18fecad1e94155f4ad1c34baada

10 years agoAdd examples (all elementary functions help pages have now examples) 47/9647/2
Sylvestre Ledru [Sat, 10 Nov 2012 14:00:44 +0000]
Add examples (all elementary functions help pages have now examples)

Change-Id: Id9b17f483c20db11b173eedcec45ae03e06833bc

10 years agoMerge remote-tracking branch 'origin/master' into YaSp 52/9652/3
Sylvestre Ledru [Mon, 12 Nov 2012 08:57:46 +0000]
Merge remote-tracking branch 'origin/master' into YaSp

Change-Id: Id9f3e894dcd39001ea250168e994314973daf638

10 years agoFix a minor typo in the french localisation 53/9653/1
Sylvestre Ledru [Mon, 12 Nov 2012 10:21:30 +0000]
Fix a minor typo in the french localisation

Change-Id: I35ec7ee63fcd036acdc2080066c222e0d0be2389

10 years agoadd missing examples in fileio 51/9651/1
Sylvestre Ledru [Mon, 12 Nov 2012 09:20:18 +0000]
add missing examples in fileio

Change-Id: Id909613b582c204cc1a1c409deef47341500e151

10 years agoMerge remote-tracking branch 'origin/5.4' 50/9650/2
Sylvestre Ledru [Mon, 12 Nov 2012 08:42:47 +0000]
Merge remote-tracking branch 'origin/5.4'

Change-Id: I9fcf3cad50be8bbdcb5d0f18208be7640617897f

10 years ago* Check the input argument of spzeros 41/9641/4
Sylvestre Ledru [Fri, 9 Nov 2012 13:01:59 +0000]
* Check the input argument of spzeros
* add unitary tests
* Improve the examples in the help

Change-Id: I320537914c2899698d4807709a2cea9c890b9e24

10 years agoFix modelica compilation: 42/9642/1
Pierre Chambart [Wed, 7 Nov 2012 14:28:18 +0000]
Fix modelica compilation:
* More clever build system
* Do not rebuild if the sources files did not change
* Use ocamldep to rebuild the dependency (creates a .depend)
Can be rebuild with
make depend

Change-Id: I32da16330e19f81e771795a5ee299d8d9d23ea5b

10 years agoupdate exec output to take care of spaces/tab around expressions 40/9640/2
Antoine ELIAS [Fri, 9 Nov 2012 10:36:45 +0000]
update exec output to take care of spaces/tab around expressions

Change-Id: I30adbf2d7b421b820dca38a4fe97db2b561806d1

10 years agoXcos: add most blocks to the palette 31/9631/3
Clément DAVID [Thu, 8 Nov 2012 13:53:26 +0000]
Xcos: add most blocks to the palette

Change-Id: Iea8ec8ef963d27d7f0ef1c721bd4de67a0847a32

10 years agoXcos: indent palettes 32/9632/2
Clément DAVID [Thu, 8 Nov 2012 14:09:17 +0000]
Xcos: indent palettes

Change-Id: I321f81be8433fc4576df47ea05128563a5fdfa8e

10 years agoXcos: protect against a null cell handler 30/9630/2
Clément DAVID [Thu, 8 Nov 2012 13:43:29 +0000]
Xcos: protect against a null cell handler

Change-Id: Iff92aceeb796cbeda24467b5080e6d70966f868a

10 years agoDo not try to alloc the captured string if it's not desired. 35/9635/4
Cedric Delamarre [Fri, 9 Nov 2012 08:32:49 +0000]
Do not try to alloc the captured string if it's not desired.

Remove your .atoms directory and launch Scilab.

Change-Id: I4413baeba59d44c5214ba0aa7ab7a8fb86f86e5a

10 years agoreturn NULL pointer. 39/9639/1
Bruno JOFRET [Fri, 9 Nov 2012 09:46:02 +0000]
return NULL pointer.

Change-Id: If3232156f7a3cecfaca6798db4e2e0eafb5e8e4d

10 years agoFix location 38/9638/1
Bruno JOFRET [Thu, 8 Nov 2012 13:38:29 +0000]
Fix location

Change-Id: I166a22c78b22d75de20d27b4d5f849072bb2347d

10 years agoRevert "Fix modelica compilation:" 33/9633/1
Clément DAVID [Thu, 8 Nov 2012 15:26:21 +0000]
Revert "Fix modelica compilation:"

I got somme issue after this commit :

[davidcl@paros scicos (5.4)]$ make depend
src/translator/exceptionHandling/exceptHandler.ml
File "src/translator/exceptionHandling/exceptHandler.ml", line 29, characters 21-50:
Error: Unbound module Instantiation
make: *** [src/translator/exceptionHandling/exceptHandler.mli] Erreur 2
[davidcl@paros scicos (5.4)]$ make depend
src/translator/translation/libraryManager.ml
File "src/translator/translation/libraryManager.ml", line 29, characters 18-29:
Error: Unbound module Lexer
make: *** [src/translator/translation/libraryManager.mli] Erreur 2

This reverts commit c6f7ce50f9cead301db23922e99e38b7751bb156.

Change-Id: I3d42b54e47b4dbd8ea5da8583a14074f7770e8f8

10 years agoFIX Matrix wrong parsing using transposition. 37/9637/1
Bruno JOFRET [Thu, 8 Nov 2012 13:36:24 +0000]
FIX Matrix wrong parsing using transposition.

Change-Id: I45ebc60ada9e1ae4c13c364501c069a54e43c699

10 years agoScicos => Xcos 29/9629/1
Sylvestre Ledru [Thu, 8 Nov 2012 07:25:02 +0000]
Scicos => Xcos

Change-Id: Iad87894813aab47a4945ec298d3ae44b9b9d8b7e

10 years agoSimplify the gitignore stuff 28/9628/1
Sylvestre Ledru [Thu, 8 Nov 2012 07:20:07 +0000]
Simplify the gitignore stuff

Change-Id: I8d82b72d6259e0c872e98fe22bb80be375433069

10 years agoFix modelica compilation: 27/9627/1
Pierre Chambart [Wed, 7 Nov 2012 14:28:18 +0000]
Fix modelica compilation:
* More clever build system
* Do not rebuild if the sources files did not change
* Use ocamldep to rebuild the dependency (creates a .depend)
Can be rebuild with
make depend

Change-Id: I67a29270d0ce97b59e6bcfdd5f06ef8a00cc599c

10 years agogsort gateway corrected. 01/9601/4
Cedric Delamarre [Tue, 6 Nov 2012 13:37:25 +0000]
gsort gateway corrected.

[res ind]=gsort(sparse([2 9 6 4 7 8 0 2]))

Change-Id: Ie9e639244b91164ec7ae3810504ef0da325fc852

10 years agotranspose of Int type added. 99/9599/5
Cedric Delamarre [Tue, 6 Nov 2012 13:00:34 +0000]
transpose of Int type added.

a=int8([1 2 3;7 8 9]);
b=int8([1 7 ;2 8 ;3 9]);
assert_checkequal(b,a');

a=uint32([1 2 3;7 8 9]);
b=uint32([1 7 ;2 8 ;3 9]);
assert_checkequal(b,a');

Change-Id: I8b6b49ab711a436ed638e6662d75ed3f5704a874

10 years agoTranslation of help pages for module "integer" into Russian. 22/9622/2
Stanislav KROTER [Wed, 7 Nov 2012 12:40:28 +0000]
Translation of help pages for module "integer" into Russian.

Change-Id: Ibfb26ea1e17d2a78b80115a3daf678e1c50d0cc7

10 years agoRevision of help pages for the module "integer" (en_US). 21/9621/2
Stanislav KROTER [Wed, 7 Nov 2012 12:38:36 +0000]
Revision of help pages for the module "integer" (en_US).

Change-Id: I6d0f70616957ac216814a75b8a687478704fdf5d

10 years agofix a typo in the french help page of intersect 20/9620/2
Sylvestre Ledru [Wed, 7 Nov 2012 12:45:55 +0000]
fix a typo in the french help page of intersect

Change-Id: I053a8c6ee20a395600f7b6744b705e5e6345a486

10 years agoDocumentation: use the Xcos diagram to image exporter (bis) 19/9619/2
Clément DAVID [Wed, 7 Nov 2012 12:04:57 +0000]
Documentation: use the Xcos diagram to image exporter (bis)

This reverts commit 129981c29b1a4eaf48485dad665c0d2e9cf4f978.

Change-Id: I3719096daef36267e0c9f4b643225d32c280572b

10 years agoDocumentation: add an Xcos diagram to image exporter (bis) 18/9618/2
Clément DAVID [Wed, 7 Nov 2012 11:57:33 +0000]
Documentation: add an Xcos diagram to image exporter (bis)

Use a delegate to Xcos to avoid a static dependency.

Change-Id: I0d4e622bf98be3d384cc28422804df8712f91553

10 years agobase2dec and dec2base plugged. 74/9574/5
Cedric Delamarre [Fri, 2 Nov 2012 08:46:03 +0000]
base2dec and dec2base plugged.

test_run("elementary_functions", ["base2dec" "bin2dec" "dec2base" "dec2bin" "dec2hex" "dec2oct" "hex2dec" "oct2dec"], ["no_check_error_output"])

Change-Id: I926f5fea2ae892389f3a9b0c7b8f256745ed3d8e

10 years agomin/max test modified for compatibilty with YaSp. (and corrected) 24/9624/2
Cedric Delamarre [Wed, 7 Nov 2012 13:37:10 +0000]
min/max test modified for compatibilty with YaSp. (and corrected)

Change-Id: I71ccc03689be9b24951097353cfa224222721e63

10 years agoInclude added to build YaSp with --enable-stop-on-warning. 11/9611/3
Cedric Delamarre [Wed, 7 Nov 2012 09:58:06 +0000]
Include added to build YaSp with --enable-stop-on-warning.

Change-Id: Ib9ca6274a67612ee542e8b696c76895ba85aeae2

10 years agoHelp generation: emit a warning when a link has no contents 17/9617/1
Calixte DENIZET [Wed, 7 Nov 2012 12:15:12 +0000]
Help generation: emit a warning when a link has no contents

Change-Id: I45eba5ee2bc4577d7b092ed02ca36156c4568818

10 years agoRevert "Documentation: add an Xcos diagram to image exporter" 16/9616/2
Vincent COUVERT [Wed, 7 Nov 2012 10:55:46 +0000]
Revert "Documentation: add an Xcos diagram to image exporter"

This reverts commit d5951bca3dddfcf0f6ba81f95d33726977c0b546

10 years agoRevert "Documentation: use the Xcos diagram to image exporter" 15/9615/2
Vincent COUVERT [Wed, 7 Nov 2012 10:55:28 +0000]
Revert "Documentation: use the Xcos diagram to image exporter"

This reverts commit 2f624cfc8a9ff35f17b2985b896895446916d6fc

10 years agoAdd examples or disable the warnings 09/9609/2
Sylvestre Ledru [Tue, 6 Nov 2012 17:45:54 +0000]
Add examples or disable the warnings

Change-Id: I7e05d6b7141ca764c94da222099b96f39a307873

10 years agoDocumentation: use the Xcos diagram to image exporter 05/9605/2
Clément DAVID [Tue, 6 Nov 2012 17:03:01 +0000]
Documentation: use the Xcos diagram to image exporter

Change-Id: Id88a9e86bd67237b7804511d41bd656996543c25

10 years agoDocumentation: add an Xcos diagram to image exporter 04/9604/2
Clément DAVID [Thu, 28 Jun 2012 07:47:38 +0000]
Documentation: add an Xcos diagram to image exporter

Using an imagedata with an xcos file fileref is now supported and export the
diagram to a PNG file.

Example:
<imagedata fileref="../../../../examples/continuous_pal/DERIV_Example.xcos"/>

Change-Id: I78568eb0671c127b2119f420b46a97686fcfcacf

10 years agoEnable debug by default with --enable-stop-on-warning (mandatory for Scilab 6 'inspec... 12/9612/1
Vincent COUVERT [Wed, 7 Nov 2012 10:06:53 +0000]
Enable debug by default with --enable-stop-on-warning (mandatory for Scilab 6 'inspector' code)

Change-Id: Ic80e84ce013fb2c4a3052001156f437d3c4f2a4f

10 years agoVery first version of graphics/gui in scilab 6 77/9577/7
Antoine ELIAS [Fri, 2 Nov 2012 14:42:26 +0000]
Very first version of graphics/gui in scilab 6

Change-Id: Ib5d1b50497bba1f102ad89cebdbd83422f7ed71a

10 years agoHelp generation: handle correctly image in link content 10/9610/1
Calixte DENIZET [Tue, 6 Nov 2012 19:40:26 +0000]
Help generation: handle correctly image in link content

Change-Id: Ibb90127d7fd42e70f6b77f91277c91465a8e493c

10 years agoinclude added to build with --enable-stop-on-warning. 08/9608/3
Cedric Delamarre [Tue, 6 Nov 2012 17:33:34 +0000]
include added to build with --enable-stop-on-warning.

Change-Id: I9f6257d6be071d3f59f9bef860537c3f05bb2822

10 years agodo not check the error number. 07/9607/1
Cedric Delamarre [Tue, 6 Nov 2012 17:12:04 +0000]
do not check the error number.

Change-Id: I4b910ca8e6bbe2f65e29f80bad64aa6639dd15ec

10 years agoif programlisting = java or C/CPP, consider that the page contains an example + renam... 06/9606/1
Sylvestre Ledru [Tue, 6 Nov 2012 17:05:38 +0000]
if programlisting = java or C/CPP, consider that the page contains an example + rename the variable to something more explicit

Change-Id: I6fe622a81dfc4b87b1baaf82c8bca4802cccbb46

10 years agofix 0:0 -> 0 and not [] 03/9603/2
Antoine ELIAS [Tue, 6 Nov 2012 16:00:32 +0000]
fix 0:0 -> 0 and not []

Change-Id: Ib81d9240c535ac0cf70a25d104120133fb09c400

10 years agoDeclare locale functions as static 85/9485/2
Sylvestre Ledru [Sun, 21 Oct 2012 13:20:56 +0000]
Declare locale functions as static

Change-Id: I003a80f67480b856ac0591335a58ee7dc7efb156

10 years agomanagement of ieee with division by zero. 35/9535/11
Cedric Delamarre [Thu, 25 Oct 2012 16:35:52 +0000]
management of ieee with division by zero.

1 / 0
%inf / 0
[1 2 3] / 0
[%inf %nan] / 0

and same tests with ./ should return an error whith ieee(0),
a warning with ieee(1) and just the result with ieee(2).

Change-Id: I968fb253ea636e28fdb555322d30b856d2bdea28

10 years agoAdd the 'scilab:needs-examples="no"' tag to specify that the help page does not have... 00/9600/2
Sylvestre Ledru [Tue, 6 Nov 2012 13:16:48 +0000]
Add the 'scilab:needs-examples="no"' tag to specify that the help page does not have any examples on purpose

Change-Id: Id98a52e35bd614d9a26ca07aaf0086e89acd411a

10 years agoRename tag from has-examples to needs-examples 02/9602/1
Vincent COUVERT [Tue, 6 Nov 2012 14:10:18 +0000]
Rename tag from has-examples to needs-examples

Change-Id: I528fac92954726133eb7002188aab96eb3ab12e2

10 years agoHelp compilation: - Fix warnings and detect doc with no examples 96/9596/4
Calixte DENIZET [Tue, 6 Nov 2012 11:43:03 +0000]
Help compilation: - Fix warnings and detect doc with no examples
                  - To have a page with no example, just add scilab:has-examples="no" in refentry tag

Change-Id: I1fd1e27a48772f1a7dd87d31dd822dbf73621be0

10 years agoRemove the english variant at the end of the dispatch 98/9598/2
Sylvestre Ledru [Tue, 6 Nov 2012 12:47:58 +0000]
Remove the english variant at the end of the dispatch

Change-Id: I5287c8570d715df7e6b7300e7a06212b185ae1aa

10 years agocumsum corrected. 72/9572/3
Cedric Delamarre [Wed, 31 Oct 2012 15:42:45 +0000]
cumsum corrected.

test_run("elementary_functions", "cumsum")

Change-Id: I6857ea7c1fbc5c94bc3ad63770592d50f4891e20

10 years agoUpdate after http://codereview.scilab.org/#/c/9557/ 97/9597/1
Vincent COUVERT [Tue, 6 Nov 2012 12:15:16 +0000]
Update after codereview.scilab.org/#/c/9557/

Change-Id: Ic2dc5a5628d776f6a646db2501206896f51f879a

10 years agoXML: add a function xmlName to retrieve easily names of XPath query or elements 57/9557/3
Calixte DENIZET [Mon, 29 Oct 2012 18:08:38 +0000]
XML: add a function xmlName to retrieve easily names of XPath query or elements

Change-Id: I614ba41a88c524dff6d19dff175c5b017914dd9d

10 years agoreshape added in boolean sparse. 67/9567/5
Cedric Delamarre [Wed, 31 Oct 2012 10:17:51 +0000]
reshape added in boolean sparse.

a=sparse([%t %t %t; %t %t %t])
b=matrix(a,1,-1)
size(a)
size(b)

Change-Id: I0c434d0078c80d7de290ddd4302708b09b643884

10 years agoMore tests following with http://codereview.scilab.org/#/c/9594/ 95/9595/2
Sylvestre Ledru [Tue, 6 Nov 2012 09:38:45 +0000]
More tests following with codereview.scilab.org/#/c/9594/

Change-Id: I4e1ad94741815e7cba123b73495b40382d78906a

10 years agoImprove and add new unit tests regarding the following commits: 89/9589/6
Sylvestre Ledru [Mon, 5 Nov 2012 12:53:07 +0000]
Improve and add new unit tests regarding the following commits:
http://codereview.scilab.org/#/c/9559
http://codereview.scilab.org/#/c/9555/
http://codereview.scilab.org/#/c/9562/
http://codereview.scilab.org/#/c/9565/
http://codereview.scilab.org/#/c/9567/
http://codereview.scilab.org/#/c/9569/

Change-Id: I9e5d547aee3625fc856aa18d178e1ed5306adfae

10 years ago* Bug #12050 fixed - Fix a typo: dimensionnal => dimensional. 87/9587/2
Sylvestre Ledru [Mon, 5 Nov 2012 11:17:05 +0000]
* Bug #12050 fixed - Fix a typo: dimensionnal => dimensional.

Change-Id: I6742feed9b5807cd6b4098ef2c800c3f3510c506

10 years ago* Bug #12022 fixed - ftuneq had a bad example. 83/9583/2
Sylvestre Ledru [Mon, 5 Nov 2012 08:58:16 +0000]
* Bug #12022 fixed - ftuneq had a bad example.

Change-Id: I91d38d6c57bde1cb598e129731a10149cb92ba92

10 years agoImprove unit mgetl test from http://codereview.scilab.org/#/c/9543/ commit message 88/9588/2
Sylvestre Ledru [Mon, 5 Nov 2012 12:48:28 +0000]
Improve unit mgetl test from codereview.scilab.org/#/c/9543/ commit message

Change-Id: If20f7d6cdead86063e5004b8d284df0f53897f4f

10 years agoinsertion of outputs in part of variables. 94/9594/2
Cedric Delamarre [Tue, 6 Nov 2012 08:55:03 +0000]
insertion of outputs in part of variables.

A = rand(6, 4, 2, 8);
[S(:,:,1), k(:,:,1)] = (A(:,:,1), A(:,:,2))

function [a,b]=toto()
a=2;b=5;
endfunction
[t(1,3), g(2,1)] = toto()

Change-Id: I782b9d338b1bfcaf16275c26893b3cabf85615da

10 years agoenable graphics module 49/9549/2
Antoine ELIAS [Mon, 29 Oct 2012 10:16:07 +0000]
enable graphics module

Change-Id: Ia01ed1a9274fc791a4a89d8cbdcad75e87732011

10 years agoalso ignore indentation on sundials files 93/9593/2
Paul BIGNIER [Tue, 6 Nov 2012 08:43:26 +0000]
also ignore indentation on sundials files

Change-Id: I7e333bad0f46fe9a5dd390f06cfd76c0c818ef93

10 years agoMerge remote-tracking branch 'origin/5.4' 91/9591/1
Sylvestre Ledru [Mon, 5 Nov 2012 16:57:30 +0000]
Merge remote-tracking branch 'origin/5.4'

Change-Id: I01946786a9548eef9eb69c1bf715965aaebd7c62

10 years agospecial_functions module plugged. 09/9009/6
Cedric Delamarre [Fri, 14 Sep 2012 09:28:53 +0000]
special_functions module plugged.

Change-Id: I70d30bb366028380945653954d02cd5c7bbeae86

10 years agoerror function corrected. 84/9584/2
Cedric Delamarre [Mon, 5 Nov 2012 09:05:43 +0000]
error function corrected.

error("%nan")
        error(msprintf(_("%s: Wrong size of input argument: %d expected.\n"), "%sp_max", 1))

Change-Id: Ie7f17e521ae7e471ad480c9aac80a65713f0b87b

10 years agocumprod corrected. 70/9570/2
Cedric Delamarre [Wed, 31 Oct 2012 11:29:23 +0000]
cumprod corrected.

// comment matrix of rationals part (line 107)
test_run("elementary_functions", "cumprod")

Change-Id: I23a5111e2899d03dc63bc5c70afaeb08da2a1c5d

10 years agocreate of arrayof corrected. 76/9576/2
Cedric Delamarre [Fri, 2 Nov 2012 14:18:19 +0000]
create of arrayof corrected.

// a should a matrix of 4 dimensions.
n(1,1,1,1:2)=[1 2];
a=floor(n)

Change-Id: Ibfe4e79f4f775aa6d441e69bc45c9f53944ce82f

10 years agomanagement of sparse and boolean sparse in bool2s function. 69/9569/3
Cedric Delamarre [Wed, 31 Oct 2012 11:22:10 +0000]
management of sparse and boolean sparse in bool2s function.

bool2s(sparse([1 2 5 0 3 0 6 9]))
bool2s(sparse([%t %f %t %t %f %t]))

Change-Id: Idf5c3616541106f81d5b7a0caf03473db20e4dd3

10 years agoOptimization module plugged. 94/9494/2
Cedric Delamarre [Mon, 22 Oct 2012 10:07:04 +0000]
Optimization module plugged.

Change-Id: I705dbfe553bbe42308938c96866d4adf4ab55fc1

10 years agointeger : boolean in input argument of iconvert, double and int8 ,16 ,32... functions... 53/9553/8
Cedric Delamarre [Mon, 29 Oct 2012 11:05:49 +0000]
integer : boolean in input argument of iconvert, double and int8 ,16 ,32... functions allowed.

iconvert(%t, 19)
double(%t)
int8(%t)
test_run("elementary_functions", ["bitand"], ["no_check_error_output"])

Change-Id: I33850554eef3f3463deff07cc1f18893e5529a40

10 years agodisplay of %nan, %inf corrected. 86/9586/2
Cedric Delamarre [Mon, 5 Nov 2012 10:23:32 +0000]
display of %nan, %inf corrected.

Change-Id: I96fd358bf9f06b46dcf96f67dd0d28568ee368bf

10 years agoManagement of boolean sparse in operator ~ 65/9565/4
Cedric Delamarre [Tue, 30 Oct 2012 16:31:14 +0000]
Management of boolean sparse in operator ~

a=sparse([%f %t %f %t])
~a

Change-Id: I463d6e79a62719001b5560632d2daaf9b4da0394

10 years agoUse the exact same error messages 90/9590/2
Sylvestre Ledru [Mon, 5 Nov 2012 14:02:53 +0000]
Use the exact same error messages

Change-Id: I551e2bdb4d51af72812fd58a4890094b80f234b0

10 years agomanagement of polynom in UnaryMinus added. 62/9562/4
Cedric Delamarre [Tue, 30 Oct 2012 14:22:57 +0000]
management of polynom in UnaryMinus added.

-%s
a=1+%s-%s^2
-a

Change-Id: Ied2b8e447a10924ae9b5bd948ae1bf353a8951e1

10 years agoExtraction corrected. 59/9559/5
Cedric Delamarre [Tue, 30 Oct 2012 08:55:39 +0000]
Extraction corrected.

a=matrix(1:9,3,3)
// should be ok
a(3,2,1)
a(8)
// should return an error
a(3,3,3)
a(2,4,1)
a(11)

Change-Id: I97e7a552789d4eac5f656b5133ea54e6516ffb80

10 years agoumfpack module plugged. 76/9476/3
Cedric Delamarre [Fri, 19 Oct 2012 09:51:47 +0000]
umfpack module plugged.

Change-Id: Id18b1dc590eaa6caecc91857aa1bc48acb8ee1fd

10 years agomanagement of [] - [] corrected. 55/9555/4
Cedric Delamarre [Mon, 29 Oct 2012 13:28:37 +0000]
management of [] - [] corrected.

[] - [] // should return [] not 0.

Change-Id: I9c363f262acd6691db77664eb58bf5c4c412e3bf

10 years agoread/write of binary file corrected. 43/9543/7
Cedric Delamarre [Fri, 26 Oct 2012 14:51:24 +0000]
read/write of binary file corrected.

file_1 = TMPDIR+'/test_binary_1.bin';
fid = mopen(file_1,'wb');
mput(1996,'l');
mputstr('Scilab');
mclose(fid);
fid = mopen(file_1,'rb');
mget(1,'l')
mgetstr(6)
mclose(fid);

Change-Id: I3ce6091c72b200f39fad0d549c909a0d04a92aa1

10 years agoUpdate of the localization files 85/9585/2
Sylvestre Ledru [Mon, 5 Nov 2012 09:11:07 +0000]
Update of the localization files

Change-Id: Id49689e51ab7692eea5459390445e58ea4d97ab3

10 years agoFollow up of commit d430b6f1a268e7d669c996b8acfd4596b06ef0f1 for bug #12033: assert_c... 82/9582/2
Michael BAUDIN [Mon, 5 Nov 2012 08:32:26 +0000]
Follow up of commit d430b6f1a268e7d669c996b8acfd4596b06ef0f1 for bug #12033: assert_checkalmostequal(%nan,0,1.e-10) was failing too

Change-Id: I4f10144b00a2aab2676752b18d02a3e2d028f171

10 years ago- added some xcos files for japanese help. 78/9578/2
Rui Hirokawa [Sun, 4 Nov 2012 10:59:04 +0000]
- added some xcos files for japanese help.
- fixed compilation error.

Change-Id: Ic9fb4aceaa12235446485d910b174c11e32c6d11

10 years agoXML: return empty matrix with xmlAsText applied to an empty list 50/9550/3
Calixte DENIZET [Mon, 29 Oct 2012 10:22:39 +0000]
XML: return empty matrix with xmlAsText applied to an empty list

Change-Id: Ib954c0471537a32234ba4caa0dd0682ab67eaaf8

10 years agoConfigure: add doxygen management 66/9566/5
Clément DAVID [Fri, 26 Oct 2012 13:01:18 +0000]
Configure: add doxygen management

Change-Id: I1049acd9c6b783d6448ba7fe4a79d8d22d65b20d

10 years agoSciNotes: Add a color for TODO keyword in comments (// TODO: blah blah) 75/9575/2
Calixte DENIZET [Fri, 2 Nov 2012 13:50:54 +0000]
SciNotes: Add a color for TODO keyword in comments (// TODO: blah blah)

Change-Id: I1326a4c82b0a81f8194b962db2d0c8e3b0681776

10 years agoRevision of help page for ndims function (en_US). 81/9581/1
Stanislav KROTER [Wed, 31 Oct 2012 15:12:17 +0000]
Revision of help page for ndims function (en_US).

Change-Id: I4bd529c441904fe5208077e83169bcef7c2a3324