Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/bsd.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: iteration42
ref: iteration46
- name: Run in FreeBSD
id: nightly
uses: vmactions/freebsd-vm@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lnx.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: iteration42
ref: iteration46

- name: Set version
run: |
Expand All @@ -33,6 +33,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt update
sudo apt-get install build-essential gcc-multilib g++-multilib alien dpkg-dev debhelper

- name: Build
Expand Down
27 changes: 24 additions & 3 deletions .github/workflows/mac.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

strategy:
matrix:
os: [macos-13]
os: [macos-15-intel]
platform: [amd64]

steps:
- uses: actions/checkout@v4
with:
ref: iteration42
ref: iteration46

- name: Set version
run: |
Expand All @@ -35,4 +35,25 @@ jobs:
brew install lld

- name: Build
run: make all_mac_${{ matrix.platform }}
run: |
make all_mac_${{ matrix.platform }}
cd scripts/mac.${{ matrix.platform }}
./local_build_package_amd64.script
./local_create_package.script

- name: Delete old release assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: nightly
assets: '*amd64-mac.tar.xz'
fail-if-no-assets : false

- name: Upload Release
uses: softprops/action-gh-release@v2
with:
tag_name: nightly
draft: false
prerelease: true
files: |
./build/*.tar.xz
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: iteration42
ref: iteration46

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@
*.layout
*.depend
/elenasrc3/temp
/elenasrc3/engine/vs
/elenasrc3/lruntime/vs
/elenasrc3/ldebugger/vs
examples60/db/sqlite/bin
.vs/
26 changes: 13 additions & 13 deletions BSDmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ clang_cross_elc_amd64:
$(MAKE) -C elenasrc3/elc/make all -f bsd.clang_cross_elc_amd64.mak

sg_amd64:
$(MAKE) -C elenasrc3/tools/sg/codeblocks all -f bsd.sg_amd64.mak
$(MAKE) -C elenasrc3/tools/sg/make all -f bsd.sg_amd64.mak

clang_sg_amd64:
$(MAKE) -C elenasrc3/tools/sg/codeblocks all -f bsd.clang_sg_amd64.mak
$(MAKE) -C elenasrc3/tools/sg/make all -f bsd.clang_sg_amd64.mak

og_amd64:
$(MAKE) -C elenasrc3/tools/og/codeblocks all -f bsd.og_amd64.mak
$(MAKE) -C elenasrc3/tools/og/make all -f bsd.og_amd64.mak

clang_og_amd64:
$(MAKE) -C elenasrc3/tools/og/codeblocks all -f bsd.clang_og_amd64.mak
$(MAKE) -C elenasrc3/tools/og/make all -f bsd.clang_og_amd64.mak

asmc_amd64:
$(MAKE) -C elenasrc3/tools/asmc/codeblocks all -f bsd.asmc_amd64.mak
$(MAKE) -C elenasrc3/tools/asmc/make all -f bsd.asmc_amd64.mak

clang_asmc_amd64:
$(MAKE) -C elenasrc3/tools/asmc/codeblocks all -f bsd.clang_asmc_amd64.mak
$(MAKE) -C elenasrc3/tools/asmc/make all -f bsd.clang_asmc_amd64.mak

ecv_amd64:
$(MAKE) -C elenasrc3/tools/ecv/codeblocks all -f bsd.ecv_amd64.mak
Expand All @@ -43,10 +43,10 @@ clang_ecv_amd64:
$(MAKE) -C elenasrc3/tools/ecv/codeblocks all -f bsd.clang_ecv_amd64.mak

elenart_amd64:
$(MAKE) -C elenasrc3/elenart/codeblocks all -f bsd.elenart_amd64.mak
$(MAKE) -C elenasrc3/elenart/make all -f bsd.elenart_amd64.mak

clang_elenart_amd64:
$(MAKE) -C elenasrc3/elenart/codeblocks all -f bsd.clang_elenart_amd64.mak
$(MAKE) -C elenasrc3/elenart/make all -f bsd.clang_elenart_amd64.mak

elenasm_amd64:
$(MAKE) -C elenasrc3/elenasm/codeblocks all -f bsd.elenasm_amd64.mak
Expand All @@ -69,22 +69,22 @@ clean_cross_elc_amd64:
$(MAKE) -C elenasrc3/elc/make clean -f bsd.clang_cross_elc_amd64.mak

clean_sg_amd64:
$(MAKE) -C elenasrc3/tools/sg/codeblocks clean -f bsd.sg_amd64.mak
$(MAKE) -C elenasrc3/tools/sg/make clean -f bsd.sg_amd64.mak

clean_og_amd64:
$(MAKE) -C elenasrc3/tools/og/codeblocks clean -f bsd.og_amd64.mak
$(MAKE) -C elenasrc3/tools/og/make clean -f bsd.og_amd64.mak

clean_og_ppc64le:
$(MAKE) -C elenasrc3/tools/og/codeblocks clean -f bsd.og_ppc64le.mak
$(MAKE) -C elenasrc3/tools/og/make clean -f bsd.og_ppc64le.mak

clean_asmc_amd64:
$(MAKE) -C elenasrc3/tools/asmc/codeblocks clean -f bsd.asmc_amd64.mak
$(MAKE) -C elenasrc3/tools/asmc/make clean -f bsd.asmc_amd64.mak

clean_ecv_amd64:
$(MAKE) -C elenasrc3/tools/ecv/codeblocks clean -f bsd.ecv_amd64.mak

clean_elenart_amd64:
$(MAKE) -C elenasrc3/elenart/codeblocks clean -f bsd.elenart_amd64.mak
$(MAKE) -C elenasrc3/elenart/make clean -f bsd.elenart_amd64.mak

clean_elenasm_amd64:
$(MAKE) -C elenasrc3/elenasm/codeblocks clean -f bsd.elenasm_amd64.mak
Expand Down
56 changes: 50 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
## ELENA 7.0.0

- ELENA
- [ADDED] #592 : support const T[] array declaration
- [ADDED] short-cut syntax for constant array

- ELC
- [FIXED] retoverload method
- [FIXED] an issue with template-based nested class fields
- [FIXED] calling indexed method for sealed stack-allocated method
- [FIXED] calling static method declared in the parent class from the closed child
- [FIXED] extension literal constant
- [ADDED] warning when passing an unsupported nullable argument
- [ADDED] new compiler option : -n<name> used to compile a sub collection
- [FIXED] assigning a struct field in sub code
- [FIXED] calling retoverload method in a returning expression
- [FIXED] in template extension the target template might be not compiled
- [ADDED] warn if declaration hides previous local declaration
- [FIXED] a minimal long constant
- [FIXED] generating a debug info for implicit class symbols
- [ADDED] an error if an async extension is declared (until the feature is not implemented)

- API
- [ADDED] system : ConstArray<T> template
- [CRITICAL][ADDED] program main entry is renamed from program to Program
- [FIXED] __getProperties extension method
- [CRITICAL][ADDED] rename extern {} => excluded {} as extern is overused
- [ADDED] new method - File.binaryReader[1]

- SM

- Scripts

- SAMPLES

- IDE
- [ADDED] #820 - Launch elena64-ide.exe from the command line
- [ADDED] Callstack window
- [ADDED] Forwards dialog
- [ADDED] Highlighting current line
- [ADDED] Project View Icons
- [ADDED] Close icon on the tab

- Tools
- [ADDED] ecv: new flag - ignore internal classes
- [ADDED] asmc : warn if the label was not resolved

- Misc
- [FIXED][PPC64le] system_tests - intTests

## ELENA 6.8.0

- ELENA
Expand Down Expand Up @@ -50,12 +100,6 @@
- [ADDED] #35 : adding webapi module
- [ADDED] UnsafeArray, UnsafeArray<T>

- SM

- Scripts

- SAMPLES

- IDE
- [FIXED] an issue with a vertical splitter
- [FIXED] breakpoint must be inside the loop
Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(ELENA)

function(add_elena_target arch)
add_custom_target(elc_${arch}
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elc/codeblocks all -f elc_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elc/make all -f elc_${arch}.mak
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)

Expand All @@ -32,7 +32,7 @@ function(add_elena_target arch)
)

add_custom_target(elenart_${arch}
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elenart/codeblocks all -f elenart_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elenart/make all -f elenart_${arch}.mak
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)

Expand All @@ -46,12 +46,12 @@ function(add_elena_target arch)
)

add_custom_target(clean_${arch}
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elc/codeblocks clean -f elc_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elc/make clean -f elc_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/tools/sg/codeblocks clean -f sg_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/tools/og/codeblocks clean -f og_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/tools/asmc/codeblocks clean -f asmc_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/tools/ecv/codeblocks clean -f ecv_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elenart/codeblocks clean -f elenart_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elenart/make clean -f elenart_${arch}.mak
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/elenasrc3/elenasm/codeblocks clean -f elenasm_${arch}.mak
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2024 ELENA Language Project
Copyright (c) 2017-2026 ELENA Language Project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ELENA is a general-purpose language with late binding. It is multi-paradigm, com
## Resources
- **Nightly builds:** <https://github.com/ELENA-LANG/elena-lang/releases/tag/nightly>
- **ELENA Documentation** <https://github.com/ELENA-LANG/elena-lang/wiki/ELENA-Programming-Manual>
- **ELENA API 6.0** <https://elena-lang.github.io/api/index.html>
- **ELENA API 7.0** <https://elena-lang.github.io/api/index.html>
- **Git clone URL:** <git://github.com/ELENA-LANG/elena-lang.git>
- **Tutorials:** <https://github.com/ELENA-LANG/tutorials>
- **ELENA reddit:** <https://www.reddit.com/r/elena_lang/>
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.8.0
7.0.0
3 changes: 2 additions & 1 deletion asm/amd64/corex60.asm
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ labYGNextThread:
jz short labYGNextThreadSkip

// ; get the thread local roots
mov rax, rdata : %SYSTEM_ENV
mov rcx, [rax + env_tls_size]
lea rax, [rsi + tt_size]
mov rcx, [rdata : %SYSTEM_ENV + env_tls_size]
push rax
push rcx

Expand Down
Loading
Loading