jerryscript icon indicating copy to clipboard operation
jerryscript copied to clipboard

Prepare the engine for release 1.0

Open LaszloLango opened this issue 10 years ago • 27 comments

This issue is created to collect all the tasks we need to do before the first release of the engine.

Documentation

  • [x] GitHub wiki
  • [x] gh-pages (http://samsung.github.io/jerryscript)
  • [x] In source documentation
    • [x] Comments in public headers files
    • [x] Markdown files under docs folder (internals doc. and API examples&references)
    • [x] Target porting how-to. See: #1313

Jerry API

  • [x] Finalize Jerry API. See: #1148

Jerry Port API

  • [x] Finalize Jerry Port API. See: #964

Refactor the build system

  • [x] Create new build system. See: #998, #1192
  • [x] Provide instructions or automate build for the NuttX/RIOT configuration on the STM32F4 board

Release criteria

  • [x] Regression tests pass on x86-32 Linux
  • [x] Regression tests pass on x86-64 Linux
  • [x] Regression tests pass on ARMv7 Linux
  • [x] SunSpider benchmark produces correct results running on top of NuttX on the STM32F4 board
  • [x] RIOT port passes smoke test (running a hello world script)

Community feedback

  • mbed OS 3.0 has been tested and works (running a blinking LED test)
  • Various versions of Zephyr have been tested and work (see comments below)

Needs testing support/feedback from the community

  • ESP8266, see #1264

LaszloLango avatar Jun 06 '16 10:06 LaszloLango

I tried to summarize the TODOs for the planned release. Anyone who has write access feel free to edit the description of the issue. Every comment and suggestion is welcome.

LaszloLango avatar Jun 06 '16 10:06 LaszloLango

👍

seanshpark avatar Jun 08 '16 01:06 seanshpark

Not sure how to explain but how about usage examples something like target porting how-to, small toy project examples, video clips links... ?

seanshpark avatar Jun 08 '16 01:06 seanshpark

I've update the issue to reflect the current status :)

tilmannOSG avatar Aug 23 '16 09:08 tilmannOSG

Im tested the mbed OS with FRDM-K64F board and the simple blinky example. Its works right :white_check_mark:

polaroi8d avatar Aug 30 '16 08:08 polaroi8d

@polaroi8d Thanks, that's great to hear! Can you please also mention the git hash of the version that you tested?

tilmannOSG avatar Aug 30 '16 08:08 tilmannOSG

@tilmannOSG Im tested the 'JerryScript v1.0 Release Candidate 2' source code from github.com/Samsung/jerryscript/releases site, but there is a hash too: 1e82ae1eb5b9d3da20478b660a326c58f743b586

polaroi8d avatar Aug 30 '16 11:08 polaroi8d

@polaroi8d I see, we actually merged the Curie support recently (to make sure that it will be part of the 1.0 release), those changes were not part of the RC2 tarball on Friday. Can you please do another test run with the jerryscript-release-1.0.0 branch?
Thanks in advance!

tilmannOSG avatar Aug 30 '16 11:08 tilmannOSG

@tilmannOSG with 7f6911103fa99c3231f234cf14fd4465b810c8d1 hash its the same result with the same blinky example. Works fine!

polaroi8d avatar Aug 30 '16 11:08 polaroi8d

@polaroi8d Looks like the hash you mentioned is from trunk, please test with https://github.com/Samsung/jerryscript/tree/jerryscript-release-1.0.0 :)
The current HEAD in jerryscript-release-1.0.0 is https://github.com/Samsung/jerryscript/commit/04e597a6a4679dc8d59dc73843a03c90d67885ed
Can you please give it another try? :)

tilmannOSG avatar Aug 30 '16 12:08 tilmannOSG

I've checked the x86-32 Linux, x86-64 Linux and ARMv7 Linux targets with the precommit script (tools/run-tests.py --precommit) and everything works fine. The tested hash is https://github.com/Samsung/jerryscript/commit/04e597a6a4679dc8d59dc73843a03c90d67885ed

bzsolt avatar Aug 30 '16 14:08 bzsolt

@bzsolt Thank you!

tilmannOSG avatar Aug 30 '16 14:08 tilmannOSG

Sorry @tilmannOSG, now tested with the mentioned 04e597a6a4679dc8d59dc73843a03c90d67885ed hash, everything works fine with this.

polaroi8d avatar Aug 31 '16 06:08 polaroi8d

@polaroi8d No worries, thanks for doing another round of testing!

tilmannOSG avatar Aug 31 '16 08:08 tilmannOSG

Tested with a smoke test (executing var test=0; for (t=100; t<1000; t++) test+=t; print ('Hi JS World! '+test);) following Zephyr targets:

  • qemu_x86
  • qemu_cortex_cm3
  • frdm_k64f (on a real device)

JrS revision used: current HEAD of jerryscript-release-1.0.0 branch, de9c27b12. Zephyr version used: v1.5.0 release (v1.5.0 ig Zephyr repo, 5ca45ba3).

Thanks!

pfalcon avatar Aug 31 '16 19:08 pfalcon

Tested in Arduino101 with targer/CurieBSP port, everything works fine. Jerry hash: de9c27b CurieBSP version: V3.1.1

jiangzidong avatar Sep 01 '16 01:09 jiangzidong

@pfalcon @jiangzidong Excellent, thanks for the test runs!

tilmannOSG avatar Sep 01 '16 09:09 tilmannOSG

I've tested the RIOT target with stm32f4 board, it works fine! Jerry-hash: de9c27b1 RIOT-hash: 26e4004d

robertsipka avatar Sep 01 '16 09:09 robertsipka

https://github.com/Samsung/jerryscript/commit/de9c27b1226188397b4eac934c598d82755e3aa0 works well with NuttX on STM32F4 board.

bzsolt avatar Sep 01 '16 12:09 bzsolt

@tilmannOSG, I've updated the GitHub wiki. Deleted 2 outdated wiki page (Roadmap and Ideas for improvement) and added references to the in source documentations. We have duplicated wiki pages: https://github.com/Samsung/jerryscript/wiki/Developer's-Certificate-of-Origin and https://github.com/Samsung/jerryscript/wiki/JerryScript-Developer's-Certificate-of-Origin are identical. I think we should keep only one of them. What do you think?

LaszloLango avatar Sep 01 '16 13:09 LaszloLango