Skip to content

Commit

Permalink
ELENA 6.2 Release (#664)
Browse files Browse the repository at this point in the history
* [ADDED] new template extensions'dynamic'Serializer<T>
* [FIXED] String#class.copy[4]
* [FIXED]function attribute is allowed for the function declaration
* [FIXED] template generation routines
* [FIXED] include opcode must restore previous frame value
* [FIXED] JIT code resolving
  • Loading branch information
arakov authored Jun 25, 2024
1 parent bc9dd90 commit 7c220ea
Show file tree
Hide file tree
Showing 63 changed files with 566 additions and 294 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

BUILD_TAG: 6.1.2
BUILD_TAG: 6.2.0

permissions:
contents: read
Expand Down
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/lib50
/lib50_64
/lib60
/lib60_64
/dat/api2html
/build
/bin
/doc
/tests60
/elenasrc3/packages
*.exe
*.exp
*.lib
Expand Down
16 changes: 7 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
## ELENA 6.2.0

- ELENA

- ELC
- [ADDED] optimized ternary expressions
- [FIXED] declaring a field with a type of template based array
- [ADDED] unit-test for declaring a field with a type of template based array
- [FIXED] function attribute is allowed for the function declaration
- [FIXED] template generation routines
- [FIXED] include opcode must restore previous frame value

- VM
- [ADDED] #590 : creating a dynamic interface wrapper
- [FIXED] JIT code resolving

- RT
- [ADDED] #590 : creating a dynamic interface wrapper

- API
- [ADDED] #89 : new functionality - MemoryStream, BitArray, SortedList, SortedArrayList
- [ADDED] #95 : LiteralBuffer, WideBuffer
- [ADDED] new template extensions'dynamic'Serializer<T>
- [FIXED] String#class.copy[4]

- SAMPLES

- Tools

- IDE

- Misc
- [ADDED] chat sample

## ELENA 6.0.10
*07.05.2024*
Expand Down Expand Up @@ -58,7 +57,6 @@

- SAMPLES
- [ADDED] #635 : new tutorial to call an ELENA library from C++ / C#
- [ADDED] chat sample

- Tools
- [ADDED] ecv-cli : adding a filter for listing members
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.1.2
6.2.0
5 changes: 4 additions & 1 deletion asm/amd64/core60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@ end
// ; exclude
inline % 10h

push 0
mov rax, [data : %CORE_SINGLE_CONTENT + tt_stack_frame]
push rax
push rbp
mov [data : %CORE_SINGLE_CONTENT + tt_stack_frame], rsp

Expand All @@ -515,7 +516,9 @@ end
// ; include
inline % 11h

mov rax, [rsp + 8]
add rsp, 10h
mov [data : %CORE_SINGLE_CONTENT + tt_stack_frame], rax

end

Expand Down
3 changes: 3 additions & 0 deletions asm/x32/core60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ end
// ; exclude
inline % 10h
push [data : %CORE_SINGLE_CONTENT + tt_stack_frame]
push ebp
mov [data : %CORE_SINGLE_CONTENT + tt_stack_frame], esp

Expand All @@ -502,6 +503,8 @@ end
inline % 11h

add esp, 4
pop eax
mov [data : %CORE_SINGLE_CONTENT + tt_stack_frame], eax

end

Expand Down
6 changes: 5 additions & 1 deletion asm/x32/corex60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ define es_catch_frame 000Ch
define tt_slots 00004h

// ; --- Object header fields ---
define elSyncOffset 0004h
define elSyncOffset 0001h
define elSizeOffset 0004h
define elVMTOffset 0008h
define elObjectOffset 0008h
Expand Down Expand Up @@ -782,6 +782,8 @@ inline % 10h
mov eax, [data : %CORE_TLS_INDEX]
mov edi, [ecx+eax*4]
mov [edi + tt_flags], 1
mov eax, [edi + tt_stack_frame]
push eax
push ebp
mov [edi + tt_stack_frame], esp

Expand All @@ -795,6 +797,8 @@ inline % 11h
mov eax, [data : %CORE_TLS_INDEX]
mov edi, [ecx+eax*4]
mov [edi + tt_flags], 0
pop eax
mov [edi + tt_stack_frame], eax

end

Expand Down
2 changes: 1 addition & 1 deletion build/aarch64/build_package_arm64.script
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
RELEASE=elena-6.1.2.aarch64-linux
RELEASE=elena-6.2.0.aarch64-linux

mkdir -p /usr/share/elena
mkdir -p /etc/elena/
Expand Down
2 changes: 1 addition & 1 deletion build/aarch64/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: elena-lang
Version: 6.1.2
Version: 6.2.0
Architecture: aarch64
Maintainer: Alex Rakov <[email protected]>
Depends: libc6 (>= 2.1)
Expand Down
2 changes: 1 addition & 1 deletion build/amd64/build_package_amd64.script
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
RELEASE=elena-6.1.2.amd64-linux
RELEASE=elena-6.2.0.amd64-linux

mkdir -p /usr/share/elena
mkdir -p /etc/elena/
Expand Down
2 changes: 1 addition & 1 deletion build/amd64/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: elena-lang
Version: 6.1.2
Version: 6.2.0
Architecture: amd64
Maintainer: Alex Rakov <[email protected]>
Depends: libc6 (>= 2.1)
Expand Down
6 changes: 3 additions & 3 deletions build/elena_inno.iss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{3CAA69D3-0F98-44B1-A73E-E864BA51D5BD}
AppName=ELENA Programming Language
AppVersion=6.1.2
;AppVerName=ELENA Programming Language 6.1.2
AppVersion=6.2.0
;AppVerName=ELENA Programming Language 6.2.0
AppPublisher=Alexey Rakov
AppPublisherURL=http://github.com/ELENA-LANG/elena-lang
AppSupportURL=http://github.com/ELENA-LANG/elena-lang
Expand All @@ -18,7 +18,7 @@ DefaultGroupName=ELENA Programming Language
AllowNoIcons=yes
LicenseFile=..\doc\license
InfoAfterFile=..\CHANGELOG.md
OutputBaseFilename=elena-lang-6.1.2.x86-setup
OutputBaseFilename=elena-lang-6.2.0.x86-setup
Compression=lzma
SolidCompression=yes
ChangesEnvironment=yes
Expand Down
2 changes: 1 addition & 1 deletion build/i386/build_package_i386.script
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
RELEASE=elena-6.1.2.i386-linux
RELEASE=elena-6.2.0.i386-linux

mkdir -p /usr/share/elena
mkdir -p /etc/elena/
Expand Down
2 changes: 1 addition & 1 deletion build/i386/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: elena-lang
Version: 6.1.2
Version: 6.2.0
Architecture: i386
Maintainer: Alex Rakov <[email protected]>
Depends: libc6 (>= 2.1)
Expand Down
2 changes: 1 addition & 1 deletion build/ppc64le/build_package_ppc64le.script
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
RELEASE=elena-6.1.2.ppc64le-linux
RELEASE=elena-6.2.0.ppc64le-linux

mkdir -p /usr/share/elena
mkdir -p /etc/elena/
Expand Down
2 changes: 1 addition & 1 deletion build/ppc64le/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: elena-lang
Version: 6.1.2
Version: 6.2.0
Architecture: ppc64le
Maintainer: Alex Rakov <[email protected]>
Depends: libc6 (>= 2.1)
Expand Down
74 changes: 74 additions & 0 deletions doc/api/ltests-summary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<HTML>
<HEAD>
<TITLE>
ELENA Standard Library 6.0: Module ltests
</TITLE>
<meta name="collection" content="api">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<DIV CLASS="topNav">
<UL CLASS="navList">
<LI>
<A HREF="index.html">Overview</A>
</LI>
<LI>
Module
</LI>
</UL>
<DIV CLASS="aboutLanguage">
<STRONG>
ELENA&nbsp;Standard&nbsp;Library<br>6.0
</STRONG>
</DIV>
</DIV>
<DIV CLASS="header">
<H1>
Module ltests
</H1>
</DIV>
<DIV CLASS="docSummary">
<DIV CLASS="block"></DIV>
</DIV>
<DIV CLASS="contentContainer">
<UL CLASS="blockList">
<LI CLASS="blockList">
<TABLE CLASS="typeSummary" BORDER="0" CELLPADDING="3" CELLSPACING="0">
<HEADER>
Class Summary
</HEADER>
<TR>
<TH CLASS="colFirst" scope="col">Class name</TH>
<TH CLASS="colLast" scope="col">Description</TH>
</TR>
<TR CLASS="altColor">
<TD CLASS="colFirst">
<A HREF="ltests.html#Engine">Engine</A>
</TD>
<TD CLASS="colLast">
<DIV CLASS="block">
public singleton <SPAN CLASS="typeNameLabel">Engine</SPAN></DIV>
</TD>
</TR>
</TABLE>
</LI>
</UL>
</DIV>
<DIV CLASS="bottomNav">
<UL CLASS="navList">
<LI>
<A HREF="index.html">Overview</A>
</LI>
<LI>
Module
</LI>
</UL>
<DIV CLASS="aboutLanguage">
<STRONG>
ELENA&nbsp;Standard&nbsp;Library<br>6.0
</STRONG>
</DIV>
</DIV>
</BODY>
</HTML>
91 changes: 91 additions & 0 deletions doc/api/ltests.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<HTML>
<HEAD>
<TITLE>
ELENA Standard Library 6.0: Module ltests
</TITLE>
<meta name="collection" content="api">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<DIV CLASS="topNav">
<UL CLASS="navList">
<LI>
<A HREF="index.html">Overview</A>
</LI>
<LI>
<A HREF="ltests-summary.html">Module</A>
</LI>
</UL>
<DIV CLASS="aboutLanguage">
<STRONG>
ELENA&nbsp;Standard&nbsp;Library<br>6.0
</STRONG>
</DIV>
</DIV>
<A NAME="Engine">
</A>
<!-- ======== START OF CLASS DATA ======== -->
<DIV CLASS="header">
<DIV CLASS="subTitle">
ltests'</DIV>
<H2 title="Engine" class="title">Engine</H2>
</DIV>
<DIV CLASS="contentContainer">
<DIV CLASS="description">
<BR>
<HR>
<PRE STYLE="padding-top: 15px;">
public singleton <SPAN CLASS="typeNameLabel">Engine</SPAN></PRE>
<BR>
</DIV>
<UL CLASS="inheritance">
<LI>
<SPAN CLASS="memberNameLink"><A HREF="system.html#Object">system'Object</A></SPAN></LI>
<LI>
<UL CLASS="inheritance">
<LI>
ltests'Engine</LI>
</UL>
</LI>
</UL>
<!-- ========== METHOD SUMMARY =========== -->
<UL CLASS="blockList">
<LI CLASS="blockList">
<H3>Method Summary</H3>
<TABLE CLASS="memberSummary" BORDER="0" CELLPADDING="3" CELLSPACING="0">
<TR>
<TH CLASS="colFirst" scope="col">Modifier and Type</TH>
<TH CLASS="colLast" scope="col">Method</TH>
</TR>
<TR CLASS="altColor">
<TD CLASS="colFirst">
<CODE>
</CODE></TD>
<TD CLASS="colLast">
<CODE>run()
</CODE>
</TD>
</TR>
</TABLE>
</LI>
</UL>
<HR>
</DIV>
<DIV CLASS="bottomNav">
<UL CLASS="navList">
<LI>
<A HREF="index.html">Overview</A>
</LI>
<LI>
<A HREF="ltests-summary.html">Module</A>
</LI>
</UL>
<DIV CLASS="aboutLanguage">
<STRONG>
ELENA&nbsp;Standard&nbsp;Library<br>6.0
</STRONG>
</DIV>
</DIV>
</BODY>
</HTML>
Loading

0 comments on commit 7c220ea

Please sign in to comment.