SCOL Language: Issueshttp://redmine.arkeon.be/http://redmine.arkeon.be/favicon.ico?16338348402018-08-01T18:41:32ZSCOL Language
Redmine Scol - Bug #600 (New): [WINE] Scol 7, 3D driver & Crash ZooEnginehttp://redmine.arkeon.be/issues/6002018-08-01T18:41:32Ziri
With the last Scol release and WINE 3.0.2 (last stable release at this time), CG NVidia GeForce GT 430 :
<ul>
<li>With the "nouveau" graphic driver (open source, version 1.10.15-2), Scol loads. But the Settings interface crashes when clicking on the ZooEngine tab.</li>
<li>With the "nVidia" graphic driver (proprietary, version 390.48), Scol crashes when ZooEngine is loaded.<br />Same things after change "3dhardware" and "SO3Renderer" parameters in usmuser.ini file.<br />See log files.</li>
</ul> Scol - Bug #534 (Resolved): _SHOWrichTexthttp://redmine.arkeon.be/issues/5342015-10-13T20:30:02Ziri
<p>This 2D OS function doesn't exist.</p> Scol - Feature #526 (Resolved): ++ -- with floathttp://redmine.arkeon.be/issues/5262015-06-06T16:54:49Ziri
<p>Currently, we can use</p>
<pre>
++myVariable;
--myVariable;
</pre>
<p>to increment or decrment an integer.<br />Add something like that to the language for a float number :<br /><pre>
++.myFloatVariable;
--.myFloatVariable;
</pre></p> Scol - Bug #524 (Resolved): modfhttp://redmine.arkeon.be/issues/5242015-05-31T21:49:17Ziri
<p>This Scol function in the std lib is wrong (or its documentation is wrong).</p>
<p><em>mod</em> returns the modulo between two integers. It's right.<br /><em>modf</em> should the same thing with two float numbers. It is incorrect.</p>
<p>More, the current source code of <em>modf</em> is :</p>
<pre>
(...)
double x = MTOF(val0);
double y = MTOF(val1);
m->top[m->pp] = FTOM((float)(modf(x, &y)));
</pre>
<p>In C and C++, <em>modf</em> doesn't return a such "modulo" !<br />In the code above, <em>y</em> points to the integral part of <em>x</em>. In the top of the heap, it is its decimal part. So, the Scol <em>modf</em> returns only the decimal part of the first given float number.</p>
<p>The current state is this :<br /><pre>
fun main ()=
_showconsole;
_fooId mod 390 360; // 30
_fooF modf 390.0 360.0; // 0.000000
0;;
</pre></p> Scol - Bug #521 (New): IF without ELSE in end of functionhttp://redmine.arkeon.be/issues/5212015-05-09T22:29:38Ziri
<p>Recently, the ELSE block became optional.<br />However, <strong>only</strong> in the end of a function, no ELSE block can occur a fatal error during the type checking :</p>
<pre>
TC > else expected
syntax error
</pre>
<p>Example :<br /><pre>
fun anyFunction (arg)=
if arg then
// do something ;;
</pre></p>
<p>While waiting, add a statment, like '0' or something else.</p>
<pre>
fun anyFunction (arg)=
if arg then
// do something ;
0;;
</pre> Glove 5TD - Bug #381 (Closed): function nameshttp://redmine.arkeon.be/issues/3812012-02-05T23:50:15Ziri
<p>The names of these functions can be ambiguous with anothers API.<br />Maybe put a prefix ("_glove" by example) ?</p> OpenSpace3D - Feature #371 (Closed): secureLoadhttp://redmine.arkeon.be/issues/3712011-11-12T12:21:40Ziri
<p>If an error occurs (_<em>testpack</em> doesn't return nil), a dialog box is displayed but the message is wrong (This version of OpenSpace3D Editor is not compatible with your Scol Voy@ger version.\nPlease perform an update.")</p>
<p>The log message isn't explicit. It could be :<br />_fooS strcatn ">>>>> Compilation error : " :: ret :: ". Package : " :: pack :: nil;</p>
<p>(or use sprintf function if syspack is included)</p> OpenSpace3D - Feature #370 (New): Configuration filehttp://redmine.arkeon.be/issues/3702011-11-12T11:59:31Ziri
<p>Have a configuration file (os3d.conf).<br />With all default values.</p>
<p>An <ins>advanced user</ins> can modify it. A conf. file avoids an gui preferences.</p> OpenSpace3D - Feature #369 (New): optional secureLoadhttp://redmine.arkeon.be/issues/3692011-11-12T11:57:26Ziri
<p>Load openspace3d may take a long time.<br />In <em>os3dload.pkg</em>, allows two loading function :<br />- secure, by default<br />- not secure</p>
<p>- secure : if _<em>testpack</em> is ok then _<em>load</em><br />- not secure : _<em>load</em> directly (it is the user choice)</p> OpenSpace3D - Feature #347 (Closed): project licensehttp://redmine.arkeon.be/issues/3472011-06-02T14:44:44Ziri
<p>In the <em>Projects settings</em> popup, a textbox "license" could be added.</p> OpenSpace3D - Feature #346 (Closed): demos and exampleshttp://redmine.arkeon.be/issues/3462011-06-02T14:43:38Ziri
<p>Demos and examples are in the applications partition, not in the user partition. It is not logical.</p>
<p>So, when a user opens a demo scene file from os3d, the default directory is his user partition : no examples here !</p>
<p>Demos and examples should be in the user partition.</p> OS2D library - Bug #343 (New): listtab apihttp://redmine.arkeon.be/issues/3432011-05-21T23:09:58Ziri
<p>_CBlistTabColumn : callback not called<br />_CBlistTabRSelect : the code exists but the function was not included in the api (see doc)<br />_GETlistTabPositionSize : return nil<br />_GETlistTabSizePosition : return nil<br />_SETlistTabParam : not documented (to sort ...)<br />_CBlistTabSelect : ok for the first column only. If click on an other one, the callback is not called</p>
<p>No function to get an item from the line and column<br />No function to get the items from a line<br />No function to get the items from a column<br />and probably more</p> Lib2D GTK - Bug #323 (New): _gtkTextBufferInsertCopyhttp://redmine.arkeon.be/issues/3232011-03-20T15:49:20Ziri
<p>log :</p>
<pre>
SCOL_gtkTextBufferInsertCopy : entering
gtk_text_buffer_insert_range: assertion `gtk_text_iter_get_buffer (start)->tag_table == buffer->tag_table' failed
</pre>
<p>pkg :</p>
<pre>
typeof bufferA = ObjGtkWidget;;
typeof bufferB = ObjGtkWidget;;
fun main ()=
_showconsole;
set bufferA = _gtkTextBufferNew _channel nil;
set bufferB = _gtkTextBufferNew _channel nil;
_gtkTextBufferInsert bufferA _getpack _checkpack "tests/2dgtk/text.txt" 0;
_gtkTextBufferInsertCopy bufferB 0 bufferA 50 80; /* error here */
0;;
</pre> OpenSpace3D - Bug #322 (Resolved): [DOC] Maj dans nom de fichierhttp://redmine.arkeon.be/issues/3222011-03-18T22:28:18Ziri
<p>Dans <em>/openspace3d/online_documentation/fr/</em> le fichier suivant est nommé <em>Scenetree.html</em> au lieu de <em>scenetree.html</em> ce qui coupe la documentation quand on la lit sur un système qui est case sensitive.<br />Je pourrais faire la modif et la commiter mais sans doute vaut-il mieux que ce soit la personne qui s'occupe de la doc qui le fasse elle-même (et qu'elle n'oublie pas ce détail important) :)</p> Lib2D GTK - Bug #317 (New): Filter dialogboxhttp://redmine.arkeon.be/issues/3172011-03-13T15:12:55Ziri
<p>_gtkDialogFileChooserNew -> SCOL_gtkDialogFileChooserNew</p>
Problem with the filter creation :
<ul>
<li>pattern : OK</li>
<li>mime type : fail</li>
<li>images (gtk_file_filter_add_pixbuf_formats) : fail</li>
</ul>
<p>To remember it ...</p>