Skip to content
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

src: v8 deprecations in 4.9 branch #4869

Closed
3 of 4 tasks
ChALkeR opened this issue Jan 25, 2016 · 6 comments
Closed
3 of 4 tasks

src: v8 deprecations in 4.9 branch #4869

ChALkeR opened this issue Jan 25, 2016 · 6 comments
Labels
lib / src Issues and PRs related to general changes in the lib or src directory. v8 engine Issues and PRs related to the V8 dependency.

Comments

@ChALkeR
Copy link
Member

ChALkeR commented Jan 25, 2016

Extracted from Mark all APIs without callers in Blink as deprecated, compared with the current Node.js master:

 TerminateExecution
src/node_watchdog.cc

 CancelTerminateExecution
src/node_contextify.cc
  • Notable ones:
 ForceSet
src/node_contextify.cc
src/node_internals.h
src/node.cc
src/node.h

 SetWeak
src/node_contextify.cc
src/node_object_wrap.h
src/node_buffer.cc
  • Commented out code:
 GetPropertyAttributes
src/node_contextify.cc
  • Maybe-related:
 Compile
src/node_contextify.cc
src/node.cc

 CompileUnbound
src/node_contextify.cc

 Delete
src/node_contextify.cc
src/node.cc
src/stream_base.cc

 GetEndColumn
src/node.cc

 GetRealNamedProperty
src/node_contextify.cc

 GetRealNamedPropertyAttributes
src/node_contextify.cc

 Has
src/node.cc
src/stream_base.cc
src/node_os.cc

 HasOwnProperty
src/node_contextify.cc

 NewFromOneByte
src/util.h
src/util-inl.h
src/env-inl.h

 NewInstance
src/pipe_wrap.cc
src/node_contextify.cc
src/debug-agent.cc
src/node.cc
src/env-inl.h
src/node_file.cc
src/udp_wrap.cc
src/tls_wrap.cc
src/tcp_wrap.cc

 SetAccessor
src/node.cc
src/udp_wrap.cc
src/stream_base-inl.h
src/node_crypto.cc

 SetPrototype
src/node_buffer.cc

May contain false positives (the check is not absolute) and false negatives (I am basing upon just one v8 deprecation commit).

@ChALkeR ChALkeR added v8 engine Issues and PRs related to the V8 dependency. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jan 25, 2016
@ChALkeR
Copy link
Member Author

ChALkeR commented Jan 25, 2016

Cross-linking with #4722

@evanlucas
Copy link
Contributor

@ChALkeR looks like #4722 has landed. Any reason to keep this one open?

@targos
Copy link
Member

targos commented Feb 8, 2016

#4722 did not replace all of deprecated APIs that we are using.

@ChALkeR could you transform your OP in a task list ?

@ChALkeR
Copy link
Member Author

ChALkeR commented Feb 8, 2016

@targos Done.

Sub-tasks (note that this may contain false positives):

Trivial one-liners, fixed by ChALkeR@45e0ec2

  • TerminateExecution — src/node_watchdog.cc
  • CancelTerminateExecution — src/node_contextify.cc

Notable ones

  • ForceSet — src/node_contextify.cc
  • ForceSet — src/node_internals.h
  • ForceSet — src/node.cc
  • ForceSet — src/node.h
  • SetWeak — src/node_contextify.cc
  • SetWeak — src/node_object_wrap.h
  • SetWeak — src/node_buffer.cc

Commented out code

  • GetPropertyAttributes — src/node_contextify.cc

Maybe-related

  • Compile — src/node_contextify.cc
  • Compile — src/node.cc
  • CompileUnbound — src/node_contextify.cc
  • Delete — src/node_contextify.cc
  • Delete — src/node.cc
  • Delete — src/stream_base.cc
  • GetEndColumn — src/node.cc
  • GetRealNamedProperty — src/node_contextify.cc
  • GetRealNamedPropertyAttributes — src/node_contextify.cc
  • Has — src/node.cc
  • Has — src/stream_base.cc
  • Has — src/node_os.cc
  • HasOwnProperty — src/node_contextify.cc
  • NewExternal — src/string_bytes.cc
  • NewFromOneByte — src/util.h
  • NewFromOneByte — src/util-inl.h
  • NewFromOneByte — src/env-inl.h
  • NewInstance — src/pipe_wrap.cc
  • NewInstance — src/node_contextify.cc
  • NewInstance — src/debug-agent.cc
  • NewInstance — src/node.cc
  • NewInstance — src/env-inl.h
  • NewInstance — src/node_file.cc
  • NewInstance — src/udp_wrap.cc
  • NewInstance — src/tls_wrap.cc
  • NewInstance — src/tcp_wrap.cc
  • SetAccessor — src/node.cc
  • SetAccessor — src/udp_wrap.cc
  • SetAccessor — src/stream_base-inl.h
  • SetAccessor — src/node_crypto.cc
  • SetPrototype — src/node_buffer.cc

@ofrobots
Copy link
Contributor

ofrobots commented Mar 3, 2016

I didn't address the GetPropertyAttribute inside commented out code, but I think all the deprecations listed here have been addressed.

@ChALkeR
Copy link
Member Author

ChALkeR commented Mar 4, 2016

@ofrobots Thanks!

I'm going to close this, I don't think that commented out code should keep this open.

@ChALkeR ChALkeR closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

No branches or pull requests

4 participants