Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-659][core][eagle] support more feature in parser #1749

Merged
merged 87 commits into from
Nov 13, 2018

Conversation

yxping
Copy link
Contributor

@yxping yxping commented Nov 13, 2018

Detail:

  1. Support more feature in parser like try catch & switch case & regular expression & class property
  2. Restructure decoder and encoder of opcode
  3. Support more basic built-in api like math & string
  4. Support object like window & console 【this will be remove next version】

jianhan-he and others added 30 commits September 28, 2018 11:34
Develop data render rax pt

bugfixed 

See merge request !121784
[core] fix event invalid in opcode



See merge request !121998
[core] data_render output error log



See merge request !122001
[core] opcode supprot big endian



See merge request !122118
[core] add argc in opcode



See merge request !122269
pengtaopt and others added 24 commits November 5, 2018 15:03
…eex/weex into develop-data-render-rax-pt

* 'develop-data-render-rax-pt' of gitlab.alibaba-inc.com:weex/weex:
  [data_render] math support
… release_1212_data_render

* origin/develop-data-render-rax-pt: (64 commits)
  [core] bugfix vue json binary encoding error,  add section data to store the array and table
  [core] bugfix console.log string can't show
  [data_render] math support
  [core] supporting array.map
  [core] supporting  return add '(' ')'
  [core] supporting jsx props parse Token::SUB
  [data_render] fix arrow function parse error
  [data_render] update so
  [data-render] renderByUrl support wlasm
  [core] bugfix crash by delete class twice
  [core] add event supporting for function instance
  [core] modify header file
  [data-render] try catch parse, codegen only support try block and finally block
  [core] modify WeexSDK building file
  [data_render] window.open support
  [core] modify args length as Andriod
  [core] modify WLASM_RENDER for weex lite render option
  [core] modify WL_RENDER render  option for weex lite
  [core] add class static member supporting, WeexSDK supporting *.wlasm for weex lite
  [core] restore code
  ...
@yxping yxping changed the title Feature dr parser [WEEX-659][core][eagle] support more feature in parser Nov 13, 2018
@weex-bot
Copy link

weex-bot commented Nov 13, 2018

Messages
📖 has no jsfm file changed.
📖 jsfm test finished.

Generated by 🚫 dangerJS

@YorkShen YorkShen merged commit 46603bf into apache:master Nov 13, 2018
@yxping yxping deleted the feature-dr-parser branch November 14, 2018 05:59
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 4, 2019
* [iOS] remove render_document.cpp from sdk

* [core] bugfix ' ' url_encode =>  '%20'

* [core] bugfix supporting function varying parameter

* [core] bugfix add utf8 decode for string tokenizer parsing

* [core] data_render output error log

* [core] fix event invalid in opcode

* [core] opcode supprot big endian

* [core] modify int to int32_t and unsigned to u_int32_t

* [core] add argc in opcode

* Print performance log in perf mode

* Catch Throwable to avoid huawei 500 boradcast crash

* Fix json class not  found crash

* fix npe

* [core]  __registerModules deprecated in sversion 5.8 + __requireModule supporting in sversion 5.8 +

* fix image strategy memory leak

* add function args for children function closure var implementation

* bugfix c function return nil or undefined

* bugfix argc param error

* [core]  add exec state binary implement

* [data_render] add support for regex

* [core] develop exec state section decoding and encoding implementation

* [core] bugfix dom diff for adding node to root render object

* [core] bugfix exec state decoding error

* [core] exec state encoding and decoding finally complete

* [core] fixed build error

* [core] bugfix encoding and decoding value ref error, and running closure OK

* [core] decrease constants value encoding file size

* [core] add bit reader and writer, adaptation for linux builder

* [core] adp linux builder

* [data-render] 修复Android编译环境

* [core] fix linux builder

* [core] add encoder compatible version

* [core] sdk version modify for defines

* [core] fix build on linux

* [core] encoding and decoding bits stream OK

* [core] remove debug code

* [core] fix linux header build

* [core] remove debug code

* [core] add compile error for line and col

* [core] supporting jsx element ...spread property

* [core] compile supporting arrow function with no args

* * [Android] Change NestedInstance in WXEmbed to protected for sub-class to override.

* [core] add typeof defines

* reboot jsc engine if there is no view add to container after 5s

* Change default timeout to public

* [core] bugfix a && b && c or a || b || c,   json parsing failed return  undefined, add op typeof

* Set reboot jsengine switch on

* [data-render] 增加对switch语句的支持

* [core] modify new expression, add args for new expression

* [core] add new expression constractor

* If context is not wxactivity, throw a exception to this instance

* [core] add OP_CONSTRUCTOR after OP_NEW

* [core] add console class function

* [data-render] console support in android

* [core] restore code

* [core] add class static member supporting, WeexSDK supporting *.wlasm for weex lite

* [core] modify WL_RENDER render  option for weex lite

* [core] modify WLASM_RENDER for weex lite render option

* [core] modify args length as Andriod

* [data_render] window.open support

* [core] modify WeexSDK building file

* [data-render] try catch parse, codegen only support try block and finally block

* [core] modify header file

* [core] add event supporting for function instance

* [core] bugfix crash by delete class twice

* [data-render] renderByUrl support wlasm

* [data_render] update so

* [data_render] fix arrow function parse error

* [core] supporting jsx props parse Token::SUB

* [core] supporting  return add '(' ')'

* [core] supporting array.map

* [data_render] math support

* [core] bugfix console.log string can't show

* [core] bugfix vue json binary encoding error,  add section data to store the array and table
katherine95s pushed a commit to katherine95s/incubator-weex that referenced this pull request Jul 11, 2019
* [iOS] remove render_document.cpp from sdk

* [core] bugfix ' ' url_encode =>  '%20'

* [core] bugfix supporting function varying parameter

* [core] bugfix add utf8 decode for string tokenizer parsing

* [core] data_render output error log

* [core] fix event invalid in opcode

* [core] opcode supprot big endian

* [core] modify int to int32_t and unsigned to u_int32_t

* [core] add argc in opcode

* Print performance log in perf mode

* Catch Throwable to avoid huawei 500 boradcast crash

* Fix json class not  found crash

* fix npe

* [core]  __registerModules deprecated in sversion 5.8 + __requireModule supporting in sversion 5.8 +

* fix image strategy memory leak

* add function args for children function closure var implementation

* bugfix c function return nil or undefined

* bugfix argc param error

* [core]  add exec state binary implement

* [data_render] add support for regex

* [core] develop exec state section decoding and encoding implementation

* [core] bugfix dom diff for adding node to root render object

* [core] bugfix exec state decoding error

* [core] exec state encoding and decoding finally complete

* [core] fixed build error

* [core] bugfix encoding and decoding value ref error, and running closure OK

* [core] decrease constants value encoding file size

* [core] add bit reader and writer, adaptation for linux builder

* [core] adp linux builder

* [data-render] 修复Android编译环境

* [core] fix linux builder

* [core] add encoder compatible version

* [core] sdk version modify for defines

* [core] fix build on linux

* [core] encoding and decoding bits stream OK

* [core] remove debug code

* [core] fix linux header build

* [core] remove debug code

* [core] add compile error for line and col

* [core] supporting jsx element ...spread property

* [core] compile supporting arrow function with no args

* * [Android] Change NestedInstance in WXEmbed to protected for sub-class to override.

* [core] add typeof defines

* reboot jsc engine if there is no view add to container after 5s

* Change default timeout to public

* [core] bugfix a && b && c or a || b || c,   json parsing failed return  undefined, add op typeof

* Set reboot jsengine switch on

* [data-render] 增加对switch语句的支持

* [core] modify new expression, add args for new expression

* [core] add new expression constractor

* If context is not wxactivity, throw a exception to this instance

* [core] add OP_CONSTRUCTOR after OP_NEW

* [core] add console class function

* [data-render] console support in android

* [core] restore code

* [core] add class static member supporting, WeexSDK supporting *.wlasm for weex lite

* [core] modify WL_RENDER render  option for weex lite

* [core] modify WLASM_RENDER for weex lite render option

* [core] modify args length as Andriod

* [data_render] window.open support

* [core] modify WeexSDK building file

* [data-render] try catch parse, codegen only support try block and finally block

* [core] modify header file

* [core] add event supporting for function instance

* [core] bugfix crash by delete class twice

* [data-render] renderByUrl support wlasm

* [data_render] update so

* [data_render] fix arrow function parse error

* [core] supporting jsx props parse Token::SUB

* [core] supporting  return add '(' ')'

* [core] supporting array.map

* [data_render] math support

* [core] bugfix console.log string can't show

* [core] bugfix vue json binary encoding error,  add section data to store the array and table
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants