Commit Graph

57 Commits

Author SHA1 Message Date
Gabriel Ivăncescu a139d25189 mshtml: Implement window.cancelAnimationFrame.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-20 16:43:30 +02:00
Eric Pouech 210abcd81a mshtml: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-15 16:34:16 +01:00
Paul Gofman eb5a50a9a5 mshtml: Move assert.h include to mshtml_private.h.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 21:12:16 +02:00
Jacek Caban 101822c04b mshtml: Add window.requestAnimationFrame semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-22 10:20:33 +02:00
Jacek Caban 37a2368703 mshtml: Factor out get_time_stamp helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-22 10:20:31 +02:00
Jacek Caban 8b6a3f554a mshtml: Introduce timer_type enum.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-22 10:20:29 +02:00
Michael Stefaniuc 4618a0a38a mshtml: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Alexandre Julliard 5182813ae0 mshtml: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Jacek Caban deee158c00 mshtml: Removed no longer needed flush_pending_tasks.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:18 +01:00
Piotr Caban 60fe748543 mshtml: Make it possible to clear timer and interval with any of clearTimeout and clearInterval functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:59 +09:00
Piotr Caban 4e77355f3a mshtml: Fix HTMLWindow3_setInterval behavior on 0 msec intervals.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:57 +09:00
Jacek Caban 71ce8aaafe mshtml: Flush pending document node tasks before firing onload event. 2014-12-24 14:31:09 +01:00
Jacek Caban 94fcaad703 mshtml: Use standard list to store task queue. 2014-12-24 14:30:58 +01:00
Piotr Caban 448a621c5e mshtml: Fixed timer setting in remove_target_tasks. 2013-04-29 15:03:43 +02:00
Piotr Caban a6fbf560e9 mshtml: Limit number of tasks processed in process_timer. 2013-04-26 16:28:33 +02:00
Jacek Caban 08485aeb48 mshtml: Properly handle OOM errors in task.c (coverity). 2012-10-19 12:19:45 +02:00
Jacek Caban 4a491ea7e4 mshtml: Make HTMLInnerWindow the owner of timers. 2012-10-17 14:01:39 +02:00
Jacek Caban 5150e0f048 mshtml: Properly free tasks in remove_target_tasks. 2011-08-03 14:15:49 +02:00
Jacek Caban 7247eaa181 mshtml: Allow async tasks to have custom destructors. 2011-08-03 14:15:49 +02:00
Gerald Pfeifer d0f1b68416 mshtml: Remove variable doc which is not really used from process_timer. 2010-05-03 15:38:57 +02:00
Francois Gouget 67c8e896a9 mshtml: parse_complete() is unused so remove it. 2009-11-16 12:43:06 +01:00
Jacek Caban bcfa7c57d6 mshtml: Split parse_complete to handle_load and mutation observer. 2009-11-09 19:44:17 +01:00
Jacek Caban 67c8d4b405 mshtml: Moved readystate changes to separated function. 2009-11-03 21:25:04 +01:00
Jacek Caban 12bddc55ed mshtml: Allow task queue to be used for different targets. 2009-10-27 10:52:28 +01:00
Jacek Caban 05d199474b mshtml: Move readystate to HTMLDocumentObj. 2009-09-17 09:42:02 -05:00
Jacek Caban 56b69dff4a mshtml: Moved usermode to HTMLDocumentObj. 2009-09-17 09:41:56 -05:00
Jacek Caban 0d15ad8be4 mshtml: Move client site ifaces to HTMLDocumentObj. 2009-09-17 09:40:53 -05:00
Jacek Caban 09c20de83c mshtml: Improve debug messages for timer invocation. 2009-09-09 12:07:59 +02:00
Peter Dons Tychsen 7c1ae27443 mshtml: Fix crash because of usage of pointer before cheking if it is NULL. 2009-09-08 12:13:19 +02:00
Jacek Caban 88f7fd5dea mshtml: Use TLS_OUT_OF_INDEXES as invalid TLS value.
Spotted by Vitaliy Margolen.
2009-05-25 11:24:13 +02:00
Jacek Caban 37b7a217f3 mshtml: Don't use IDispatchEx for timer callbacks. 2008-10-10 12:55:59 +02:00
Jacek Caban 47ef2acc3b mshtml: Fixed tests on IE7. 2008-09-30 10:14:31 -05:00
Jacek Caban 1de0055cc0 mshtml: Allow timers to be cleaned during processing. 2008-07-14 11:48:41 +02:00
Jacek Caban 8d3aa6799c mshtml: Added IHTMLWindow2::clearTimeout implementation. 2008-06-30 12:12:04 +02:00
Jacek Caban 74f29f1087 mshtml: Added IHTMLWindow3::setInterval implementation. 2008-06-30 12:11:58 +02:00
Jacek Caban 723b745579 mshtml: Better timer handling. 2008-06-20 12:14:39 +02:00
Jacek Caban 98e2424183 mshtml: Fixed more tests on IE 7. 2008-05-26 17:58:24 +02:00
Jacek Caban 9b2e7710bc mshtml: Make Wine behave like IE 7. 2008-05-26 17:58:20 +02:00
Jacek Caban 788432af49 mshtml: Added setTimeout implementation. 2008-04-21 18:32:18 +02:00
Jacek Caban c8bb048b1a mshtml: Abstract BSCallback implementation. 2008-03-24 11:37:01 +01:00
Jacek Caban 82a199bcee mshtml: Use IBindCtx passed to Load in BindToStorage call. 2007-12-24 16:34:28 +01:00
Michael Stefaniuc a084d1db62 mshtml: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-12-06 12:07:30 +01:00
Jacek Caban f309cdf733 mshtml: Store HTMLDocument pointer in BSCallback object. 2007-11-06 13:01:49 +01:00
Jacek Caban fb16633d6f mshtml: Don't use dynamic allocation for connection points. 2007-06-29 13:28:10 +02:00
Jacek Caban 52accda0fa mshtml: Set default fontname to 'Times New Roman'. 2007-06-11 15:16:08 +02:00
Jacek Caban 20d77432a2 mshtml: Move Exec(OLECMDID_SETTITLE) call to separated function and use it in on_timer. 2007-06-11 15:13:43 +02:00
Andrew Talbot 0608054a6d mshtml: Constify some variables. 2007-05-31 13:27:28 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 824e452a9e mshtml: Void functions should not return a value. 2007-04-10 11:05:03 +02:00
Jacek Caban 124cb44903 mshtml: Start binding asynchronously. 2007-02-12 13:43:20 +01:00