Skip to content

Commit

Permalink
Website: Update news with SmallJS release 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
FunctionPoint committed Oct 8, 2024
1 parent 8b28dce commit 2226ae0
Showing 1 changed file with 82 additions and 54 deletions.
136 changes: 82 additions & 54 deletions Website/web/News/NewsTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,72 @@
This is included in the News page. -->

<table id="newsTable">
<tr>
<td>
<p class="newsTitle">SmallJS release 1.4
<span class="newsDate">8-Oct-2024</span>
</p>

<p><b>Examples</b><br>
- Electron example app added!<br>
&nbsp&nbsp <a href="https://electronjs.org/">Electron</a> enables development of multi-platform desktop GUI apps using web technologies.<br>
- NodeGui example app added!<br>
&nbsp&nbsp <a href="https://nodegui.org/">NodeGui</a> enables development of multi-platform desktop GUI apps based on the <a href="https://qt.org/">QT</a> library,<br>
&nbsp&nbsp that are smaller, faster and easier to make than Electron apps.
</p>

<p><b>Library</b><br>
- Minimal Electron support added, only to support the example app.<br>
- Minimal NodeGui support added, only to support the example app.<br>
If you want more complete support for these frameworks or if you want to contribute,<br>
please open an issue in the SmallJS GitHub repo.
</p>

<p><b>Website</b><br>
- The Playground now supports multiple statements and local variables.<br>
&nbsp&nbsp Thanks to @aiksiongkoh for the suggestion.
</p>
</td>
</td>
</tr>
<tr>
<td>
<p class="newsTitle">SmallJS release 1.3
<span class="newsDate">23-Aug-2024</span>
</p>

<p><b>Compiler:</b><br>
New Playground project that can evaluate any ST expression in realtime!<br>
Signal error duplicate local variables.<br>
Signal error on newlines in string constants (like in JS).<br>
Hide instance variables for class methods.<br>
<p><b>Compiler</b><br>
- New Playground project that can evaluate any ST expression in realtime!<br>
- Signal error duplicate local variables.<br>
- Signal error on newlines in string constants (like in JS).<br>
- Hide instance variables for class methods.<br>
</p>

<p><b>Library (image):</b><br>
HTML Canvas 2D functionality fully implemented with supporting classes like:<br>
CanvasRenderingContext2d Path2d, DomMatrix, DomPoint, ImageData, ImageBitmap.<br>
Standardized 3D point operations on new class Point3d (iso DomPoint).<br>
Enhanced reflexivity with canUnderstand: and respondsTo:.<br>
<p><b>Library</b><br>
- HTML Canvas 2D functionality fully implemented with supporting classes like:<br>
&nbsp&nbsp CanvasRenderingContext2d Path2d, DomMatrix, DomPoint, ImageData, ImageBitmap.<br>
- Standardized 3D point operations on new class Point3d (iso DomPoint).<br>
&nbsp&nbsp Enhanced reflexivity with canUnderstand: and respondsTo:.<br>
</p>

<p><b>Build environment:</b><br>
Improved ST debugging experience in Firefox (source mapping).
<p><b>Build</b><br>
- Improved ST debugging experience in Firefox (source mapping).
</p>

<p><b>Browser project:</b><br>
Restructured all functionality and tests into separate components.<br>
Only use HTML label elements when there's a 'for' clause (less warnings).<br>
New canvas component with visual tests for all canvas drawing methods.<br>
<p><b>Browser project</b><br>
- Restructured all functionality and tests into separate components.<br>
- Only use HTML label elements when there's a 'for' clause (less warnings).<br>
- New canvas component with visual tests for all canvas drawing methods.<br>
</p>

<p><b>Example projects:</b><br>
New Balls example project with bouncing balls, using canvas functionality.<br>
<p><b>Examples</b><br>
- New Balls example project with bouncing balls, using canvas functionality.<br>
</p>

<p><b>Website:</b><br>
Playground project added!<br>
Bouncing balls example added.<br>
Is now mobile friendly.<br>
<p><b>Website</b><br>
- Playground project added!<br>
- Bouncing balls example added.<br>
- Is now mobile friendly.<br>
</p>
</td>
</td>
Expand All @@ -50,27 +78,27 @@
<span class="newsDate">1-Feb-2024</span>
</p>

<p><b>Compiler:</b><br>
Implemented minimize to prevent generation library code not used by your app.<br>
Stricter language syntax parsing.<br>
Improved compile error handling.<br>
Allow newlines in VARS and CLASSVARS declarations</p>

<p><b>Build:</b><br>
Expanded detection of prerequisites.<br>
Build scripts now exit on startup errors.<br>
Added MacOS browser testing options.</p>

<p><b>Browser:</b><br>
Consolidated Fetch and Streams classes form modules Node and Browser to Core.<br>
Fetch: ST implementation of full fetch API. Consolidated browser and Node.js functionality.<br>
Added Linux default browser locations to .env.example files.</p>

<p><b>Examples:</b><br>
Shop Server: Implemented session management.<br>
Todo: Made it working on Firefox on MacOS.<br>
Todo: Added language selection option with 2 languages.<br>
Shop Client SPA: Created new shop client app as a Single Page Application (SPA).</p>
<p><b>Compiler</b><br>
- Implemented minimize to prevent generation library code not used by your app.<br>
- Stricter language syntax parsing.<br>
- Improved compile error handling.<br>
- Allow newlines in VARS and CLASSVARS declarations</p>

<p><b>Build</b><br>
- Expanded detection of prerequisites.<br>
- Build scripts now exit on startup errors.<br>
- Added MacOS browser testing options.</p>

<p><b>Browser</b><br>
- Consolidated Fetch and Streams classes form modules Node and Browser to Core.<br>
- Fetch: ST implementation of full fetch API. Consolidated browser and Node.js functionality.<br>
- Added Linux default browser locations to .env.example files.</p>

<p><b>Examples</b><br>
- Shop Server: Implemented session management.<br>
- Todo: Made it working on Firefox on MacOS.<br>
- Todo: Added language selection option with 2 languages.<br>
- Shop Client SPA: Created new shop client app as a Single Page Application (SPA).</p>
</td>
</td>
</tr>
Expand All @@ -80,19 +108,19 @@
<span class="newsDate">25-Nov-2023</span>
</p>

<p><b>Examples:</b><br>
Added Counter example app. Can be used as a template for new apps.<br>
Added Todo example app, with functionality for editing, adding, removing and sorting tasks.<br>
Added Benchmark example app, comparing SmallJS performance to JavaScript.<br>
Implemented full unit, API and GUI tests on all example apps on all supported browser.</p>
<p><b>Examples</b><br>
- Added Counter example app. Can be used as a template for new apps.<br>
- Added Todo example app, with functionality for editing, adding, removing and sorting tasks.<br>
- Added Benchmark example app, comparing SmallJS performance to JavaScript.<br>
- Implemented full unit, API and GUI tests on all example apps on all supported browser.</p>

<p><b>Build:</b><br>
Various fixes and improvements for first time use, especially on MacOS.<br>
Added build scripts to check dependencies and build the complete environment.<br>
Made language extenion an official *.vsix package for deployment.</p>
<p><b>Build</b><br>
- Various fixes and improvements for first time use, especially on MacOS.<br>
- Added build scripts to check dependencies and build the complete environment.<br>
- Made language extenion an official *.vsix package for deployment.</p>

<p><b>Compiler:</b><br>
Added -t and +t options to skip compiling unit tests on selected libraries.</p>
<p><b>Compiler</b><br>
- Added -t and +t options to skip compiling unit tests on selected libraries.</p>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 2226ae0

Please sign in to comment.