Paul Bignier [Fri, 11 Sep 2015 09:42:38 +0000]
Core: fix Linux compilation
Change-Id: Icd764cce5f19cb43b289ed23507f430b7366ebe4
Cedric Delamarre [Fri, 4 Sep 2015 12:27:44 +0000]
loadlib fixed about path file
test_run functions bug_6549
test_run functions bug_6550
Change-Id: I1e3ca8052e0eaee63795b7d435c8e0a72bca9bcf
Cedric Delamarre [Fri, 4 Sep 2015 07:31:52 +0000]
memleak fixed in functions module.
Change-Id: Ic75d2b9bc110a2581ecf4e67bc7fa6337693843f
Clément DAVID [Thu, 10 Sep 2015 07:22:22 +0000]
Xcos: first version using the MVC
No more no less than before : just instantiate a diagram.
Change-Id: Ib435a5b7027e73c88cebd3761546f47746c275b4
Clément DAVID [Thu, 10 Sep 2015 09:10:28 +0000]
Java: enable Java 8 features
For more information, see :
* http://docs.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html#javase7
* http://docs.oracle.com/javase/8/docs/technotes/guides/language/enhancements.html#javase8
Change-Id: I2240829500915a286a7efc6597fe61f70175eac3
Paul Bignier [Tue, 9 Jun 2015 07:35:46 +0000]
Xcos gateways: rewrite sci_Xcos to Scilab 6 API
* Allowed to pass Scicos objects (UserType) to xcos()
Change-Id: I1ccda0d7b2ab8e1a23ec9ad2483ebbec30d257e5
Antoine ELIAS [Thu, 10 Sep 2015 15:21:28 +0000]
limit windows.h inclusion to avoid definition of macros min/max
Change-Id: Ib3b3ca7d15582846d0fdee6553ce366cddef65dc
Calixte DENIZET [Wed, 9 Sep 2015 12:09:54 +0000]
Analysis: forgot file
Change-Id: I372ea0b11cd50caf2d10496700bd257f777e50c2
Calixte DENIZET [Wed, 9 Sep 2015 08:47:08 +0000]
Analysis: move code
Change-Id: I61bdcf24633f4a30c5245ed5286f35c4cb6c4042
Calixte DENIZET [Tue, 8 Sep 2015 16:59:52 +0000]
Decrease dependency level with ast modules
Change-Id: I5957dfdc72073d421ae268499ab5423bf03f2865
Cedric Delamarre [Tue, 8 Sep 2015 17:45:50 +0000]
Linux compilation fixed
Change-Id: I9f1128e56f91b146f3d1dfaed140739a424917f3
Antoine ELIAS [Tue, 8 Sep 2015 15:00:12 +0000]
bug 13890 : fix macro getd, avoid use of stack order
Change-Id: I63085fb9b76433e8e336b5947662d425806f2a5a
Calixte DENIZET [Tue, 8 Sep 2015 11:51:14 +0000]
Analysis: fix bugs & add a loop analyzer
Change-Id: Iefe5e7075e8c1013fec3372d9b38475db0224073
Adeline CARNIS [Thu, 3 Sep 2015 12:14:56 +0000]
cumprod(%i+%s) crashed Scilab.
Change-Id: I686c94716393db2a4e61902747b2711957cc6cf6
John GLIKSBERG [Fri, 4 Sep 2015 16:14:19 +0000]
re-enable test_run for Atoms modules
Change-Id: Ib45fa328f87fb8e4578411a12754124e55e8d830
Antoine ELIAS [Mon, 7 Sep 2015 10:14:43 +0000]
api_scilab: printError must free msgs but not error number
test_run arnoldi eigs
Change-Id: I323293fc82d955f64a55e5415bb2dd83909f4e26
Calixte DENIZET [Wed, 29 Jul 2015 13:20:27 +0000]
Analysis: try to restore it !
Change-Id: I1576c2464d84ea457b5e05840dd275f710ba25b0
Antoine ELIAS [Mon, 7 Sep 2015 07:37:43 +0000]
fix umf_luget test to be consistent
Change-Id: Iea4f914d8a7f950df0822158de101c217ca338c6
Charlotte HECQUET [Wed, 2 Sep 2015 14:14:53 +0000]
* Bug #14038 fixed - Encoded integers were no longer accepted for list extraction.
Change-Id: Id2c3af749258a548597071222fb8e4c10deb6672
Marcos CARDINOT [Sun, 23 Aug 2015 08:46:11 +0000]
* Bug #13907 fixed - avoids the gray background on the right panel of the palette Browser
This patch modifies the FlowLayout in order to always fill up the whole panel.
Change-Id: I628455516073b78ea10e1d3c0422a49da0fc03d9
Antoine ELIAS [Thu, 3 Sep 2015 15:44:28 +0000]
copy of axes must create a new axes
Change-Id: I270f4b7f5ba1560edc47474b1159b5a4cf37289a
Calixte DENIZET [Wed, 2 Sep 2015 14:35:22 +0000]
Lexer: transfer error to parser
put in file :
function t1
t="test'
endfunction
then exec file, the 2nd error about "unexpected end of line" must not appear.
Change-Id: I2d5a3b3af65ddc2d8b7be23612b066baf2e06a7f
Charlotte HECQUET [Mon, 31 Aug 2015 06:47:18 +0000]
* Bug #14107 fixed - lstcat of a string and a list did not produce consistent results.
Change-Id: Ibdfe6281913bb546a308cc0f26dc299225872695
Clément DAVID [Fri, 4 Sep 2015 08:17:29 +0000]
Scicos startup: force the load of scicos_scicoslib at startup
Change-Id: I86d4e55a745a258215b4618ad4b855fdd296c5c1
Marcos CARDINOT [Wed, 29 Jul 2015 18:22:00 +0000]
* Bug #13942 fixed - tree is not resized when expanded/collapsed
- implements a tree expand listener
Change-Id: I4e89374eefbe0f0cc15007a6886d001b2f57f5e1
Cedric Delamarre [Wed, 2 Sep 2015 12:11:59 +0000]
Remove useless rules and warnings at bison execution.
Change-Id: I51b8412db12a5dad21379261c84d7c7dcb77482c
Calixte DENIZET [Wed, 2 Sep 2015 10:17:46 +0000]
Lexer: fix memleaks
Change-Id: I119b33bf74e4e162911a6f2ace2caabccf0ad3bb
Calixte DENIZET [Sun, 30 Aug 2015 13:54:09 +0000]
Parser: remove memleaks on parsing errors
Change-Id: I9c7224407a11d07c840693229ce8d8db8c8cc00d
Antoine ELIAS [Tue, 1 Sep 2015 14:09:07 +0000]
fix api_scilab memleaks
Change-Id: I989c2d3ecfab0264c63e5919a9239a9e7448374f
Clément DAVID [Tue, 1 Sep 2015 12:08:43 +0000]
Scicos, Xcos: fix some Coverity issues
Change-Id: I00554a23d9c839a7f095d71481b9e9ef16f0de9e
Antoine ELIAS [Fri, 28 Aug 2015 14:16:14 +0000]
free string after use in localization module
Change-Id: Iacf984e4196a1a4124f80d7a090ec58668801b9d
Charlotte HECQUET [Mon, 31 Aug 2015 09:42:17 +0000]
* Bug #14082 fixed - m=1; m()=1; made Scilab crash.
Change-Id: Icfdc18ec79e51ca7d58caacbd0d8227322329cae
Cedric Delamarre [Mon, 31 Aug 2015 10:33:57 +0000]
test_run fixed about variable LANG and profiling.
// a test with ENGLISH IMPOSED inside.
test_run ast library mode_nwni_profiling
Change-Id: Ied5063da2300d3eaa597efda1a35106858904fc7
Cedric Delamarre [Mon, 31 Aug 2015 10:36:07 +0000]
invalid read and memleak fixed
Change-Id: Iac2914d6f5cfbc1df7c68d4944623d4adc1d68aa
Clément DAVID [Mon, 31 Aug 2015 08:13:53 +0000]
data_structure: memleak while accessing a field
Change-Id: Ic04d5d29f3d6af733ef557aa10ace7d7029d6dfa
Clément DAVID [Fri, 28 Aug 2015 08:39:34 +0000]
Startup: do not check glxinfo on "nwni"
This will speed up the Scilab startup under an heavy-loaded system.
Change-Id: Ieed3191bddce79c802d61f64a3e1427d5a450c12
Cedric Delamarre [Fri, 28 Aug 2015 14:18:05 +0000]
CLI SHELL MODE missing
Change-Id: Ic0d12fdfac9d15c990d9eb89730bceaf59cd1e9c
Clément DAVID [Fri, 28 Aug 2015 13:45:24 +0000]
commons: always free returned C-style strings
Change-Id: If7960720a3110baadd11efdb9064f6203d79f703
Antoine ELIAS [Fri, 28 Aug 2015 10:46:32 +0000]
fix ref count in symbol::Libraries
Change-Id: Ie9055491150d9e7e3ad289cb0f35b018a52ac053
John GLIKSBERG [Wed, 19 Aug 2015 09:36:21 +0000]
mfprintf: implicit loop over column vectors now prints a new line after each iteration (like mprintf, etc)
Change-Id: I49b341884350e211fc55533c7107dd7f23fd8cc8
Antoine ELIAS [Tue, 25 Aug 2015 15:08:52 +0000]
replug csvIsnum on isnum
Change-Id: Iba8b469a9ab8d387514a712cd10c09d95262e631
Antoine ELIAS [Tue, 25 Aug 2015 13:50:02 +0000]
fix development_tools tests
Change-Id: I2fadd628ea37660f635f20fc6d515c6de6d9c696
Cedric Delamarre [Fri, 28 Aug 2015 12:31:03 +0000]
fix non close file after call of exec
Change-Id: I62bc9d8fd39746b002642de59dd4ceae3c069929
Charlotte HECQUET [Fri, 28 Aug 2015 08:47:33 +0000]
* Bug #14023 fixed - It was not possible to concatenate cells.
Change-Id: Ib66fd783b022bdd569c311bd8a256480d06bc9ec
Antoine ELIAS [Thu, 27 Aug 2015 09:53:54 +0000]
add "CLI SHELL MODE" in all tests that do not have :
- "XCOS TEST"
- "CLI SHELL MODE"
- "JVM NOT MANDATORY"
- "TEST WITH GRAPHIC"
- "INTERACTIVE TEST"
use "mode_nwni" or "mode_nwni_profiling" in test_run will skipped tests without "CLI SHELL MODE".
+ fix some refs
command to update script :
sed -i "1i// <-- CLI SHELL MODE -->" $(grep -L "<-- XCOS TEST -->" $(grep -L "<-- CLI SHELL MODE -->" $(grep -L "<-- JVM NOT MANDATORY -->" $(grep -L "<-- TEST WITH GRAPHIC -->" $(find . -name *.tst)))))
Change-Id: I15a5b6c2bf7f9e23f160ec6f797b128d63dcc105
Cedric Delamarre [Fri, 28 Aug 2015 08:23:46 +0000]
boolean display fixed
test_run core display
Change-Id: Ife9027011bae4e5f5957a6b6172aaa27cb78a3ab
Cedric Delamarre [Thu, 27 Aug 2015 16:41:36 +0000]
insertion fixed when error occured.
// "a" must not exist after error
a{} = 1
clear a;
a.b() = 1
Change-Id: I92f679f5f42b9012ec6ed84bcbd6a225bf5e6db8
Clément DAVID [Tue, 25 Aug 2015 13:01:21 +0000]
AST tests: extract graphics dependant tests
Change-Id: If9de00ca5b9b6031b0d159326fcb5b4b8ee9fc61
Cedric Delamarre [Thu, 20 Aug 2015 08:18:41 +0000]
* Bug #14093 fixed - atanh returns NaN for values with an absolute value greater than 1
test_run elementary_functions bug_14093
Change-Id: I8d78ffdf02b65be0a7ff0104371abd4ab555e67a
Cedric Delamarre [Thu, 27 Aug 2015 09:27:49 +0000]
disp(macro) fixed
function test()
end
disp(test)
test2 = test
disp(test2)
Change-Id: I1c6bcc83a3fb4f75b5a802759ea191a751270b72
Charlotte HECQUET [Thu, 27 Aug 2015 13:46:40 +0000]
c{} (with c a cell) make Scilab crashe.
Change-Id: Ic09a11e48e54e09c76f475900372534d6b250444
Clément DAVID [Thu, 27 Aug 2015 13:50:03 +0000]
PASS test_run('scicos', [], 'mode_nwni')
* add TEST WITH GRAPHIC when needed
* create needed dia.ref
Change-Id: Ib6db69469302dcc2c891cdd35d13f43d7de4a609
Charlotte HECQUET [Thu, 27 Aug 2015 08:50:00 +0000]
Scilab crashes with: c{}=1 (with c is a cell).
Change-Id: Ib739d85d5846fcd391b50eaea662a4fb24481299
Cedric Delamarre [Wed, 26 Aug 2015 16:31:03 +0000]
memory leaks in hdf5 module
test_run hdf5
test_run("hdf5",[],"mode_nwni_profiling")
Change-Id: Iab19db68723227debf623a61b946075ac6b530dd
Adeline CARNIS [Fri, 21 Aug 2015 12:49:00 +0000]
* Bug #14057 fixed - grand(m,n) returned a wrong error and grand(m,n,p) called %s_grand function instead of returning an error.
Change-Id: Ic2bba07166184cb39cc9bcf0a4c63a4d8d9df2f4
Antoine ELIAS [Wed, 26 Aug 2015 10:45:10 +0000]
callOnPrompt use StoreCommand
Change-Id: Iceae62f7c82a6650b025562b47780d2848355260
Charlotte HECQUET [Mon, 24 Aug 2015 09:56:06 +0000]
Update cell help page.
Change-Id: I216658c37b85b5c9b47e544ed51898cc6ba46725
Charlotte HECQUET [Wed, 26 Aug 2015 09:15:36 +0000]
Update functions and help pages with new cell format.
Change-Id: I3a2ce5b3a08baf39acad771a5bb1f27547c78454
Charlotte HECQUET [Mon, 24 Aug 2015 10:07:24 +0000]
iscell() help pages updated.
Change-Id: Ic401fb91da202c73a1be083ea18f7391871bb29c
Charlotte HECQUET [Mon, 24 Aug 2015 12:08:10 +0000]
Update cellstr, num2cell and cell2mat (+ help pages).
Change-Id: I08d3e1ad879ca707aa87aa2b6c9211c5dbd70dd8
Cedric Delamarre [Thu, 27 Aug 2015 09:05:46 +0000]
more information added to error message in macro call
function [a,b,c]=foo()
a=1
// b=1
c=1
endfunction
[x,y,z]=foo()
Change-Id: I7fcafa94be3fc59929d2ebcee999ef97eb0ef296
Antoine ELIAS [Wed, 26 Aug 2015 09:49:20 +0000]
test_run flag JVM NOT MANDATORY become deprecated
Change-Id: Ifecc2375f969cf4ac7bd3f002c97c578cbb60462
Antoine ELIAS [Tue, 25 Aug 2015 13:24:18 +0000]
fix mexlib mexEvalString test
Change-Id: Ib1b63e8099c3218345cb661f908de8bc7cfc61b6
Francois GRANADE [Wed, 26 Aug 2015 19:48:52 +0000]
MacOS X: fix runtime library loading ('function proposed to the engine is the wrong one.') after libtools upgrade in
fc90b8cc - patched again
Change-Id: Ia8149a5de513980adc21bf0559eb5bd24ee1b4fb
Francois GRANADE [Wed, 26 Aug 2015 09:43:20 +0000]
Typo in message
Change-Id: I787180480cee3309d9cc081b613b517a13251cc4
Clément DAVID [Tue, 25 Aug 2015 15:43:14 +0000]
MacOS X: fix .dylib detection after
fc90b8cc
Change-Id: Iedc53a6d1b8af5f36cc07dac33eecf94b4bdeb95
Cedric Delamarre [Tue, 25 Aug 2015 13:14:02 +0000]
execstr fixed about third argument.
execstr("a=1;a(3)","errcatch","m")
Change-Id: Ia7c6a2770fff378af83d940b91eb8c3bee96541d
Cedric Delamarre [Mon, 24 Aug 2015 10:37:09 +0000]
exception fixed when insertion call an overload.
a=1;
a(1,1)="d"
test_run ast insert
Change-Id: I140859830c8a0af34d6ad47d5aaa958f1ac0bb15
Clément DAVID [Tue, 25 Aug 2015 13:54:09 +0000]
AST: fix mismatched use of malloc/new/new[] versus free/delete/delete[]
Change-Id: Idd835ec34bd87d4bb26ff778cdaa7f66573d2be1
Antoine ELIAS [Mon, 17 Aug 2015 13:58:47 +0000]
ast, elementary_functions, string, fileio, output_stream memory leaks
Change-Id: I03c514074aad77ad5971adb75352bed98b378932
Antoine ELIAS [Mon, 10 Aug 2015 10:31:05 +0000]
add a class to store dlamch constant
Change-Id: I25f1a19aa701f9c4460aa1a0aca58ef4879dc567
Clément DAVID [Fri, 21 Aug 2015 16:35:13 +0000]
test_run: add an "mode_nwni_profiling" parameter
test_run ast eq
test_run('ast', 'eq', 'mode_nwni_profiling')
Change-Id: If6f070b7156844205450f0916fb14298597d18c8
Antoine ELIAS [Mon, 10 Aug 2015 10:33:19 +0000]
ast memory leaks
Change-Id: I468d734f7b13a3ec093861c83a116e478fe8c2ef
Cedric Delamarre [Fri, 21 Aug 2015 14:51:38 +0000]
matplot color fixed
Change-Id: I4767ce543dac70b0079a80b83bd3d78326597568
Cedric Delamarre [Mon, 24 Aug 2015 08:05:35 +0000]
Windows compilation fixed.
Change-Id: I3bcd75c6825c83a1ef7093014a16dafa71f3fc99
Cedric Delamarre [Thu, 20 Aug 2015 15:29:41 +0000]
unintialize value fixed and std::atomic used in Runner
Change-Id: I84c35ac62b7c662eb0fa04e8f282a292d3425248
Clément DAVID [Fri, 21 Aug 2015 13:37:43 +0000]
Xcos log: avoid ambiguous definition
Change-Id: I03b2c628a776f42eae9fa0a17552a63025f77736
Charlotte HECQUET [Fri, 21 Aug 2015 12:22:17 +0000]
* Bug #14095 fixed - Scilab crashed when a .fig file was loaded with loadmatfile function.
Change-Id: Iaf40d04029779ca656b188261d3f2d590fecf5f9
Clément DAVID [Fri, 21 Aug 2015 06:14:34 +0000]
Xcos JNI: add getObjectProperty(..., bool)
* The bool accessor was not mapped to the Xcos Controller
Change-Id: If8d29736d185567f28735b49a9d11fba53b78fba
Clément DAVID [Thu, 20 Aug 2015 14:32:34 +0000]
Xcos MVC: add a default explorer view
Implement a Treeshow-like Java view. This also check that everything is
fine while implementing a view with a state in the Event Dispatch
Thread.
Synchronization on Model object creation / deletion should be managed
and a reference have to be stored on the Java side for all used object.
Any access on Controller::getProperty / Controller::setProperty with
invalid uid will return an error status that is passed through the
caller.
As the C -> Java calls are slow, the view is installed on demand. A huge
diagram can be loaded in seconds and the view retrieve data and track
all changes reducing performance once installed.
Change-Id: I79b474aa81db5eb365e2b755e757ccf4bebb0a68
Clément DAVID [Thu, 20 Aug 2015 09:49:49 +0000]
Xcos scopes: fix the error reporting on NWNI mode
an NWNI simulation with a scope crashed without reporting a
comprehensive issue.
Change-Id: Ic5c739dc720f5a32675e4cd777839b3891f24019
Cedric Delamarre [Thu, 20 Aug 2015 09:07:30 +0000]
* Bug #14040 fixed - graphic property setting fails when using array of handles
test_run graphics bug_14040
Change-Id: I53bff92be35a2362a967ae667ecaba40baa71fa9
Samuel Gougeon [Wed, 19 Aug 2015 15:13:37 +0000]
* Bug #13944 fixed - The menu "Toolboxes" was missing.
Change-Id: I2d7c6fd5d2d266311439f836feade20b8b5b412c
Clément DAVID [Tue, 18 Aug 2015 09:28:38 +0000]
Compilation: upgrade swig generated files to swig-3.0.7
Change-Id: Icdf009b631a4fba1363f7076bc8311a94172fd38
Samuel Gougeon [Wed, 19 Aug 2015 07:34:08 +0000]
restoring the Toolboxes menu for not autoloaded contrib/ toolboxes. bugzilla.scilab.org/show_bug.cgi?id=13944
Change-Id: If984e2ac3d107c831b1eff060fd84a694037b675
Charlotte HECQUET [Fri, 14 Aug 2015 14:15:04 +0000]
* Bug #14058 fixed - Scilab crashed with 'file("close", file())' instruction
Change-Id: I509d448162250dd36a75a048af62a35b473c5b02
Paul Bignier [Wed, 8 Jul 2015 08:02:07 +0000]
Xcos MVC: fix default 'wpar' property
* Gave its old default to 'wpar', for backward compatibility (for scicos_diagram.tst to pass)
Change-Id: Iab278e3189cdf8ad7d12718f9acd4fd65b29d6c4
Paul Bignier [Wed, 8 Jul 2015 07:48:21 +0000]
Types: fix fieldnames for Scicos objects
Change-Id: Ie6673295fd5aac362ca7346fc65a20aa3ff7171d
Paul Bignier [Tue, 28 Jul 2015 10:35:00 +0000]
Typo fix: varaible -> variable
Change-Id: I9194730134baae5c164b4b5ad950a83e283b02c1
Paul Bignier [Tue, 7 Jul 2015 10:26:10 +0000]
Scicos tests: fix getfield to mind Annotations and Links
Change-Id: I31cd6ef1e3bdf5c4f163eb3ae6d9573edf60869e
Paul Bignier [Fri, 3 Jul 2015 09:32:16 +0000]
Xcos MVC: allow to pass the properties in any order
* Also allowed to passed "fake" properties, that don't belong to the Adapter.
Nothing is done in that case
Change-Id: I4804872a4b38d42cc8f132fb6c0f496cfbaa5fff
Charlotte HECQUET [Fri, 14 Aug 2015 09:15:37 +0000]
mclose("all") showed a warning when it was executed in scinotes.
test_run functions exec
Change-Id: I546eb195b2823bfa7552609e1c036ca768b7000c
Charlotte HECQUET [Thu, 13 Aug 2015 09:16:12 +0000]
* Bug #14036 fixed - tag and user_data properties were not displayed and not documented for light entity.
Change-Id: Ie038ddea65aa87b81b28cf86b32cf158ff43796b
Charlotte HECQUET [Wed, 12 Aug 2015 13:53:17 +0000]
* Bug #13843 fixed - Scilab crashed when polarplot and plot2d were called with wrong strf value.
Change-Id: I1984e256bc3eba20ef72bfde07eb2c7674981f78
Adeline CARNIS [Mon, 17 Aug 2015 13:33:16 +0000]
* Bug #13750 fixed - Calling ss2ss function with flag = 2 returned an error.
Change-Id: I1b26deb55c87f835d9121046435fd8d9b27b1b6a
Adeline CARNIS [Wed, 12 Aug 2015 15:38:47 +0000]
* Bug #13780 fixed - size with two input and output arguments must return an error.
Change-Id: I2c590e4535926c0eca2bd55831970c55f8bdcbe0
John GLIKSBERG [Tue, 18 Aug 2015 10:34:52 +0000]
removed useless copy of input arguments when allocating output matrix of double
Change-Id: Ie60ca6926154d821718d9b9c91440e2e986d91e4
Clément DAVID [Tue, 18 Aug 2015 08:46:35 +0000]
Configure: fix --enable-build-swig option
Seems to be merge issue.
Change-Id: I3d6ce65743b5b11152852e8462051cb6847a5c3c
Clément DAVID [Wed, 28 Jan 2015 16:23:26 +0000]
fix some gcc 4.9 valid warnings
Scilab types used an int size whereas some natives functions return a
size_t. static_cast<int> is needed.
`for(iterator i = begin(), end = cases->end(); i != end; ++i)` will
disable optimizations as the end variable is not `const` thus might be
modified in the loop.
Change-Id: I828c95342c4e804e54dc7c0424a084d9708141cd
Paul Bignier [Tue, 21 Jul 2015 08:23:38 +0000]
Xcos gateways: fix 'opar' in model2blk() and pass blocks_link
* sci_model2blk.cpp forgot to set 'oparsz' values
Change-Id: I7b590cbb242d4e0df6ad6f5669360bede9680522