Commit Graph

67 Commits

Author SHA1 Message Date
Jacek Caban 7774a0a4c1 jscript: Pass HRESULTs instead of IDSs to throw_* functions. 2010-12-28 16:35:41 +01:00
Jacek Caban f2319fcd85 jscript: Added Date.setYear implementation. 2010-12-20 12:47:43 +01:00
Jacek Caban 668f417b9d jscript: Added Date.setYear stub implementation. 2010-11-08 11:56:13 +01:00
Jacek Caban 2ae0f44033 jscript: Added a helper function for setting VARIANT value to jsdisp_t. 2010-09-07 16:01:46 +02:00
Jacek Caban 8c2a548b54 jscript: Rename DispatchEx to jsdisp_t to match jscript naming convention. 2010-09-06 17:09:57 +02:00
Piotr Caban 662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23:40 +02:00
Piotr Caban adc2a5697b jscript: Added Date.toGMTString implementation. 2009-10-08 12:03:53 +02:00
Piotr Caban 4781e05591 jscript: Added some missing functions stubs. 2009-10-06 16:13:17 +02:00
Jacek Caban f8c2b42de4 jscript: Allow 'this' to be host object in builtin functions. 2009-09-23 16:25:23 +02:00
Jacek Caban da16d42e17 jscript: Don't use dispex->ctx in date.c. 2009-09-23 16:21:03 +02:00
Jacek Caban 0b4fa6e426 jscript: Avoid calling JS builtin functions directly. 2009-09-23 16:19:54 +02:00
Jacek Caban 5511f7173f jscript: Pass script_ctx_t to builtin functions. 2009-09-23 16:19:44 +02:00
Jacek Caban f14c5f074a jscript: Get rid of lcid argument in builtin function implementations. 2009-09-23 16:19:31 +02:00
Jacek Caban d918a1890b jscript: Added Function.toString implementation for builtin functions. 2009-09-17 10:07:51 -05:00
Piotr Caban 67520788c1 jscript: Fixed Date's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban b1d0b1c739 jscript: Inherit some Date functions from Object. 2009-08-14 13:59:10 +02:00
Jacek Caban cde2f1a09e jscript: Added missing port.h includes. 2009-08-14 11:27:16 +02:00
Piotr Caban 8dd1d9b92e jscript: Throw TypeErrors when _value functions are used as a function. 2009-07-22 14:42:50 +02:00
Piotr Caban 789afcdc1b jscript: Throw more errors in Date functions. 2009-07-21 11:03:51 +02:00
Piotr Caban 5b21893abf jscript: Throw type errors in Date functions. 2009-07-21 10:59:27 +02:00
Piotr Caban 469b597212 jscript: Add error throwing functions. 2009-07-21 10:58:52 +02:00
Piotr Caban 55b8952ba2 jscript: Added Date_getYear implementation. 2009-07-14 10:46:48 +02:00
Piotr Caban b9be3bd766 jscript: Changed to_primitive implementation. 2009-07-09 17:47:40 +02:00
Piotr Caban 12760a0c6b jscript: Fix DateConstr_parse implementation. 2009-07-07 14:15:06 +02:00
Piotr Caban 9a30d39b35 jscript: Added Date_valueOf implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban b5a82030ad jscript: Added calling Date as function implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 8150960f8c jscript: Added string argument handling to Date constructor. 2009-07-06 14:35:28 +02:00
Piotr Caban 45817bf50f jscript: Added DateConstr_parse implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban c001ffae2c jscript: Fix strings allocation. 2009-07-03 13:28:47 +02:00
Piotr Caban 60ddd438d3 jscript: Added DateConstr_UTC implementation. 2009-07-03 13:28:27 +02:00
Piotr Caban 41e297af11 jscript: Added stub implementation of Date constructor properties. 2009-07-03 13:28:19 +02:00
Piotr Caban 754513c800 jscript: Added Date_toString implementation. 2009-06-29 13:30:52 +02:00
Piotr Caban 9b011bd0f7 jscript: Added Date_toLocaleString implementation. 2009-06-29 13:30:19 +02:00
Piotr Caban 5be6deb844 jscript: Added Date_toUTCString implementation. 2009-06-29 13:30:05 +02:00
Piotr Caban fd89475380 jscript: Added Date_toDateString implementation. 2009-06-29 13:29:35 +02:00
Piotr Caban 40b88e261a jscript: Added Date_toTimeString implementation. 2009-06-29 13:28:56 +02:00
Piotr Caban 0e379fbe05 jscript: Added Date_toLocaleTimeString implementation. 2009-06-29 13:28:40 +02:00
Piotr Caban 6dc3b7beb7 jscript: Added Date_toLocaleDateString implementation. 2009-06-29 13:28:26 +02:00
Piotr Caban 27d8e22cbc jscript: Added Date_setFullYear and Date_setUTCFullYear implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 7301ad4f72 jscript: Added Date_setMonth and Date_setUTCMonth implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 233ded05b7 jscript: Added Date_setDate and Date_setUTCDate implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban e19ca2b946 jscript: Fix Date_setHours implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban ece2654ef9 jscript: Fix Date_setMinutes implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban bbfab68bb8 jscript: Fix Date_setSeconds implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban 37883a66fa jscript: Fixed Date_setMilliseconds implementation.
Previous implementation was not working when:
utc_time != to_utc(to_local_time(utc_time))
2009-06-23 15:52:59 +02:00
Piotr Caban b45f01b6ce jscript: Fix typos in comments, add missing ones. 2009-06-23 15:52:59 +02:00
Piotr Caban 305aee069a jscript: Added Date_getTimezoneOffset and fixed Date_get... functions. 2009-06-23 15:52:59 +02:00
Piotr Caban b529cdb65e jscript: Added implementation of Date constructor with more then one argument. 2009-06-23 15:52:59 +02:00
Piotr Caban 50e985e252 jscript: Added Date_setUTCHours and Date_setHours implementation. 2009-06-16 13:40:22 +02:00
Piotr Caban e0e84d5628 jscript: Added Date_setUTCMinutes and Date_setMinutes implementation. 2009-06-16 13:40:14 +02:00