-
Notifications
You must be signed in to change notification settings - Fork 685
Implement Date object helper functions #199
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 2015 only.
|
Otherwise lgtm. |
third-party/fdlibm/s_fmod.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you, please, commit addition of ./third-party/fdlibm/* separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are helpers from the module supposed to be used somewhere outside of jerry-core/ecma/builtin-objects/?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, maybe we wouldn't use them anywhere outside of builtins. So should I remove this guard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, move them to jerry-core/ecma/builtin-objects (maybe to ecma-builtin-helpers.cpp, as the helpers would be used for implementation of both Date and Date.prototype built-ins).
|
Please, split PR on two commits: Add fdlib and Date logic. |
d8fcbbb to
3e960da
Compare
|
This PR depends on #223. |
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor note: there is no need to the function name to the unimplemented comment as the macro will print out the file name, function name and line number.
|
Hi, I have updated the patch. Could you take a look? ( @kkristof ) |
|
lgtm |
|
Looks good to me |
|
Rebased & merged: 07148d3 |
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com