Skip to content

Commit

Permalink
release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
slaakko committed Apr 14, 2021
1 parent 2f4848b commit 902c8ac
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
34 changes: 34 additions & 0 deletions cmajor/doc/release/3.10.0/release.notes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<h1>Cmajor 3.10.0 for Windows x64 and Linux</h1>

<h2>Release notes</h2>

<ul>
<li><p>This version does not contain new major features. It contains many improvements and bug fixes to existing features.</p></li>
<li><p>Recent Cmajor Code IDE versions suffer from nasty behaviour: the Cmajor Code IDE gradually slows down,
and this is not enough, actually the entire machine slows down, until Cmajor Code is closed.
The reason for this behaviour is a mystery, but this problem has been fixed by rewriting the IDE in a language that works: C++.</p></li>
<li><p>Bug fix (C++ backend compiler):
"String not bound" error fixed.</p></li>
<li><p>Bug fix (compiler)
Linking error "symbol InitCompileUnit_ not defined" fixed.</p></li>
<li><p>Bug fixes (Cmajor Code):
Scrolling. Copy/paste. Console.</p></li>
<li><p>Bug fix (System.Xml.Serialization):
Reading empty list of a primitive type caused a crash.</p></li>
<li><p>State of the Cmajor Code IDE (open files, breakpoints, expanded project tree view nodes, is locals view open, is call stack view open),
is saved to &lt;solution>.cms.settings.xml file, and restored from there when the solution is opened.</p></li>
<li><p>State of a project in Cmajor Code IDE (program arguments, breakpoints), is saved to &lt;project>.cmp.settings.xml file and restored from there when a solution containing that project is opened.</p></li>
<li><p>Startup dialog (Cmajor Code). Startup dialog can be turned off by unchecking Edit | Options | Show startup dialog.</p></li>
<li><p>Reimplemented file I/O in the runtime library. System library file API's changed: support for old InputFileStream, OutputFileStream, etc... removed.
Use the static <a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_File_85477685F364D5CA8DD10F980720D3A3446A5D8A.html">File</a> class and
<a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_StreamWriter_40A39F418049D49DB679452BB514CDFE47500311.html">StreamWriter</a>,
<a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_StreamReader_8A8267CD81BA8B198AF295474A8CB0B2DFBB7B57.html">StreamReader</a>,
<a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_StringWriter_E76E62C541769C753BBFB8D27F20ED06AADC7D2D.html">StringWriter</a> and
<a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_FileByteStream_B5032C95DE0C760ED2354356BEFFAFF5F1422919.html">FileByteStream</a>,
<a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_BufferedByteStream_E74639F265FCFA3F7A3E61DE9D92C703A46FD573.html">BufferedByteStream</a>, etc...
New implementation allows parallel threads to write/read simultaneously to/from different files.</p></li>
<li><p><a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_File_85477685F364D5CA8DD10F980720D3A3446A5D8A.html#member_function_Move_File_22B84AE74D6E3523757A0E0D14AF9BA089ECC5C1">File.Move</a>.</p></li>
<li><p>The return value of <a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_File_85477685F364D5CA8DD10F980720D3A3446A5D8A.html#member_function_Size_File_D0C8D1E0A218CED6BEA5F44A50BDDFE2468A29CA">File.Size</a>
is now of type long (it was ulong before).</p></li>
<li><p>ReadFile function removed. Use <a href="https://slaakko.github.io/cmajor/system/content/System.Base/doc/class_File_85477685F364D5CA8DD10F980720D3A3446A5D8A.html#member_function_ReadAllText_File_BF69423F5ECED3BABCA2932C268CBA63196E46E4">File.ReadAllText</a>.</p></li>
</ul>
24 changes: 24 additions & 0 deletions cmajor/doc/release/3.9.0/release.notes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h1>Cmajor 3.9.0 for Windows x64 and Linux</h1>

<h2>Release notes</h2>

<ul>
<li><p>Bug fix (Cmajor Code):
Context menu for a solution explorer tree view node was showing in the wrong position when solution explorer tree view was scrolled.</p></li>
<li><p>Bug fix (Cmajor Code):
<a href="https://slaakko.github.io/cmajor/system/content/System.Windows/doc/class_Console_32B08C59ADDD210D892C6AE0FFE2A490FFACE282.html#member_function_Write_Console_7754AD6E34D7349D0CB209D0186DE4404F948AF2">System.Windows.Console.Write</a>
method did not update scroll info, so the contents of a console control could not be scrolled.</p></li>
<li><p>Bug fix (compiler)
Arrays of arrays did not compile.</p></li>
<li><p>(Cmajor Code) Build settings: <br>
<img src="https://slaakko.github.io/cmajor/image/cmcodeBuildSettings.png" alt="" title=""></p></li>
<li><p>(Cmajor Code) View intermediate code.</p></li>
<li><p>XML serialization. XML serialization support is implemented with the help of the <a href="https://slaakko.github.io/cmajor/langref/langref.html#attributes-usage">xml</a> attribute that is recognized by the compiler.
<a href="https://slaakko.github.io/cmajor/system/content/System.Xml.Serialization/index.html">System.Xml.Serialization</a> library contains the library part of the XML serialization support.</p></li>
<li><p>The System.Windows library now supports double buffering.
The <a href="https://slaakko.github.io/cmajor/system/content/System.Windows/doc/class_Control_0EB43E34C2C7F73B847C59F69B43675667D9AF58.html#member_function_SetDoubleBuffered_Control_D0A77622BB9014AB528C6573353AD69A992CA40B">Control.SetDoubleBuffered</a>
function enables double buffering for a control. Once double-buffered the control is directed to paint itself to a bitmap graphics context instead of normal window graphics context.
Once the control has painted itself to a bitmap, the bitmap is then painted to the window. Double buffering reduces flicker considerably.</p></li>
<li><p>(Cmajor Code) Editor windows, the output window and the console window are now double-buffered to reduce flickering.</p></li>
<li><p>(tracing) <a href="https://slaakko.github.io/cmajor/tools/cmtrace2txt/cmtrace2txt.html#filterexpr">Filter expressions</a>.</p></li>
</ul>

0 comments on commit 902c8ac

Please sign in to comment.