Skip to content

Object free callback #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Object free callback #5

wants to merge 3 commits into from

Conversation

seanshpark
Copy link
Contributor

Add a new function to make a callback to native when Object is garbage collected

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
- remove jerry_api_get_object_free_callback(), currenly no usage
- remove object_p parameter with free_callback(), object can mislead users to call APIs which is dangerous this time.

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
@seanshpark
Copy link
Contributor Author

need to apply patch by Ruben

@seanshpark seanshpark closed this Apr 28, 2015
sand1k pushed a commit to sand1k/jerryscript that referenced this pull request Nov 24, 2015
Add support for Labelled and Expression statements in parse_statement_.
polaroi8d referenced this pull request in polaroi8d/jerryscript Oct 25, 2016
grgustaf added a commit to grgustaf/jerryscript that referenced this pull request Mar 16, 2018
* initial working version of pulling in lots of the HTML client code

Ported to typescript, pulled out some things into classes, etc.

No unit tests yet and some commented-out code and other garbage to be
cleaned up, but wanted to save these signs of life.

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* separate websocket code from message parsing code

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* fix lint warnings

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* move decode functions out to utils.ts (renamed from string-utils.ts)

Also, add unit tests and fix a math bug revealed by a unit test.

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add initial cesu8ToString tests

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add unit tests for concatUint8Arrays

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* Rename protocol-parser.ts to protocol-handler.ts

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add partial unit tests for protocol handler

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* rename protocol-parser test

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* send initial scriptParsed event

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* fix bug expecting only windows-style newlines

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* restructure to for sanity removing circular dependency

Also, add some support for breakpoint hit

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add type info to utils based on Martijn's comments

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* respond to feedback and fix most lint warnings

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com
grgustaf added a commit to grgustaf/jerryscript that referenced this pull request Mar 19, 2018
* initial working version of pulling in lots of the HTML client code

Ported to typescript, pulled out some things into classes, etc.

No unit tests yet and some commented-out code and other garbage to be
cleaned up, but wanted to save these signs of life.

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* separate websocket code from message parsing code

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* fix lint warnings

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* move decode functions out to utils.ts (renamed from string-utils.ts)

Also, add unit tests and fix a math bug revealed by a unit test.

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add initial cesu8ToString tests

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add unit tests for concatUint8Arrays

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* Rename protocol-parser.ts to protocol-handler.ts

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add partial unit tests for protocol handler

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* rename protocol-parser test

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* send initial scriptParsed event

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* fix bug expecting only windows-style newlines

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* restructure to for sanity removing circular dependency

Also, add some support for breakpoint hit

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* add type info to utils based on Martijn's comments

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com

* respond to feedback and fix most lint warnings

JerryScript-DCO-1.0-Signed-off-by: Geoff Gustafson geoff@linux.intel.com
matedabis pushed a commit to matedabis/jerryscript that referenced this pull request Jan 30, 2019
Added new test cases to array-prototype-pop.js to improve branch coverage.
Branch coverage:

    before: 13/16
    after: 16/16

JerryScript-DCO-1.0-Signed-off-by: Csaba Repasi repasics@inf.u-szeged.hu
ossy-szeged added a commit to ossy-szeged/jerryscript that referenced this pull request Oct 24, 2019
# This is the 1st commit message:

python runner for jerry-tests and jerry-test-suite

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu

# The commit message jerryscript-project#2 will be skipped:

# JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
# more fixes

# The commit message jerryscript-project#3 will be skipped:

# win fixes
#
# JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu

# The commit message jerryscript-project#4 will be skipped:

# x

# The commit message jerryscript-project#5 will be skipped:

# revert accidentail change

# The commit message jerryscript-project#6 will be skipped:

# lf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant