Commit Graph

3020 Commits

Author SHA1 Message Date
Andrew Talbot a9200aa99d mshtml: Avoid signed-unsigned integer comparisons. 2013-02-18 10:33:29 +01:00
Jacek Caban 6b0e2c8fdf mshtml: Use VT_ERROR as return type in DispCallFunc call. 2013-02-12 14:51:56 +01:00
Jacek Caban 7867ce8560 mshtml: Get rid of PRUint64 type. 2013-01-23 20:47:27 +01:00
Jacek Caban 07e72de9a4 mshtml: Get rid of PRUint32 outside XPCOM C API. 2013-01-23 20:47:25 +01:00
Jacek Caban cef2907da7 mshtml: Get rid of PRUint16 type. 2013-01-23 20:47:23 +01:00
Jacek Caban 2d100f4e98 mshtml: Get rid of PRUint8 type. 2013-01-23 20:47:20 +01:00
Jacek Caban 9bd6b9e537 mshtml: Get rid of PTInt64 type. 2013-01-23 20:47:18 +01:00
Jacek Caban f071d9b3c1 mshtml: Get rid of PRInt16 type. 2013-01-18 14:46:43 +01:00
Jacek Caban cf2a24df07 mshtml: Get rid of remaining PRInt32 usage. 2013-01-18 14:46:42 +01:00
Jacek Caban d83822adbe mshtml: Don't use PRInt32 in property getters implementations. 2013-01-18 14:46:42 +01:00
Jacek Caban c55b777c7c mshtml: Don't use PRInt32 in htmlelem*. 2013-01-18 14:46:41 +01:00
Jacek Caban fa5f513eed mshtml: Don't use PRInt32 in nsio.c. 2013-01-18 14:46:38 +01:00
Jacek Caban 23ae6e4ec4 mshtml: Treat doctype nodes as comment nodes. 2013-01-17 16:40:26 +01:00
Jacek Caban 292e2359bb mshtml: Added support for DOCUMENT_TYPE_NODE in nsnode_to_nsstring_rec. 2013-01-17 16:40:21 +01:00
Jacek Caban bce6ee2b84 mshtml: Remove duplicated property entries in preprocess_dispex_data. 2013-01-16 20:26:50 +01:00
Jacek Caban b6bc92aaa9 mshtml: Added IHTMLScriptElement::put_text tests. 2013-01-15 14:38:59 +01:00
Jacek Caban 1aa8742da7 mshtml: Added IHTMLScriptElement::put_text implementation. 2013-01-15 14:38:54 +01:00
Jacek Caban ba521ffcb7 mshtml: Don't check if script element was already parsed in doc_insert_script. 2013-01-15 14:38:50 +01:00
Jacek Caban b93e29f0ee mshtml: Added support for non-integer values in get_nsstyle_pixel_val. 2013-01-10 16:06:10 +01:00
Jacek Caban 136b738b50 mshtml: Wine Gecko 1.9 release. 2013-01-09 17:45:49 +01:00
Jacek Caban 64df55eb84 mshtml: Fixed leak in get_nsstyle_pos. 2013-01-07 17:37:53 +01:00
Jacek Caban 0f60681a5a mshtml: Added IHTMLStyle::put_pixelLeft implementation. 2013-01-07 17:37:47 +01:00
Jacek Caban 85368869e8 mshtml: Added IHTMLStyle::get_pixelLeft implementation. 2013-01-07 17:37:43 +01:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Jacek Caban 674d3a1242 mshtml: Removed no longer used nsIProfile declaration. 2012-12-24 14:38:02 +01:00
Jacek Caban 10a832cc04 mshtml: Properly handle NULL value in set_nsstyle_attr. 2012-12-06 20:31:30 +01:00
Jacek Caban 36a47dd0f2 mshtml: Added SID_SContainerDispatch support. 2012-12-06 20:31:29 +01:00
Jacek Caban 61ec3ae27b mshtml: Added support for converting (some) argument types in builtin function calls using script engine. 2012-12-04 16:55:59 +01:00
Jacek Caban 639a42a8fd mshtml: Added IHTMLInputElement::defaultValue property implementation. 2012-11-28 20:14:52 +01:00
Jacek Caban fbeb1b4acf mshtml: Use UTF-8 encoding in is_gecko_path. 2012-11-27 17:00:53 +01:00
Jacek Caban df53b50171 mshtml: Fixed a few coverity issues. 2012-11-27 17:00:38 +01:00
Jacek Caban 2f5123cbbc mshtml: Added nsIURI::GetOriginCharset implementation. 2012-11-21 19:20:43 +01:00
Jacek Caban d202daa182 mshtml: Always use UTF-8 encoding in nsWineURL. 2012-11-21 19:20:39 +01:00
Jacek Caban 720c0c810d mshtml: Fixed leak in fill_props. 2012-11-21 13:37:23 +01:00
Jacek Caban 6b0f51f9de mshtml: Use ATTR_FIX_PX in IHTMLStyle2::put_bottom implementation. 2012-11-21 13:37:18 +01:00
Jacek Caban 96ace8636a mshtml: Use stdint.h type names in nsiface.idl.
Gecko uses stdint.h types instead of NSPR types for most of the codebase now.
2012-11-20 19:47:04 +01:00
André Hentschel e9bfe83683 mshtml: Fix possible NULL pointer access in heap_str*. 2012-11-19 16:36:50 +01:00
Jacek Caban 95f3c6402a mshtml: Added IHTMLScriptElement::get_text implementation. 2012-11-13 16:54:54 +01:00
Jacek Caban 47274313db mshtml: Added refresh tests. 2012-11-12 16:35:16 +01:00
Jacek Caban 1cc3cf1b64 mshtml: Added exec_refresh implementation. 2012-11-12 16:35:15 +01:00
Jacek Caban f0b7db4df8 mshtml: Store embedder's IOleComandTarget iface in HTMLDocumentObj and use it in handle_navigation_error. 2012-11-12 16:35:15 +01:00
Jacek Caban 0d1ce5a308 mshtml: Added IPersistHistory tests. 2012-11-12 16:35:15 +01:00
Jacek Caban 8f1bb21f35 mshtml: Don't skip history notification for about: URLs. 2012-11-12 16:35:15 +01:00
Jacek Caban 7ac09e721c mshtml: Properly report history update for location.replace call. 2012-11-12 16:35:15 +01:00
Jacek Caban 26d3962528 mshtml: Added IPersistStream::LoadHistory implementation. 2012-11-09 11:30:52 +01:00
Jacek Caban cfa0a3accd mshtml: Use flags in navigation functions. 2012-11-09 11:30:48 +01:00
Jacek Caban 92443dca02 mshtml: Added IPersistHistory::SaveHistory implementation. 2012-11-09 11:30:45 +01:00
Jacek Caban 99c34aa9d9 mshtml: Use fregment-less URI in super_navigate. 2012-11-09 11:30:42 +01:00
Jacek Caban 01949aead4 mshtml: Call set_current_uri in navigate_proc. 2012-11-09 11:30:39 +01:00
Jacek Caban e0a33d0480 mshtml: Don't pass hash part of URI to EvaluateNewWindow. 2012-11-09 11:30:35 +01:00
Jacek Caban 1017c2b3ee mshtml: Added IHTMLObjectElement::name property implementation. 2012-11-07 18:12:05 +01:00
Jacek Caban 4255772440 mshtml: Ignore one more property change notification to fix some IE installations. 2012-11-06 20:00:44 +01:00
Jacek Caban e3e0fdd461 mshtml: Keep reference to document node in fire_event_obj. 2012-11-06 16:02:31 +01:00
Jacek Caban 8086af47b5 mshtml: Don't call CP event sinks on detached documents. 2012-11-06 16:02:30 +01:00
Jacek Caban d1f2b8a809 mshtml: Try to install ActiveX if it's not registered. 2012-11-02 19:47:26 +01:00
Jacek Caban 2c6cbf75d4 mshtml: Added IHTMLWindow2::onblur property implementation. 2012-10-25 15:57:50 +02:00
Jacek Caban 81cdfc61fd mshtml: Added IHTMLFrameBase::marginWidth property implementation. 2012-10-24 14:20:03 +02:00
Jacek Caban 00d3126c23 mshtml: Added IHTMLFrameBase::marginHeight property implementation. 2012-10-24 14:19:59 +02:00
Jacek Caban 8e2fd3a9be mshtml: Get rid of no longer used painting fallback for missing Gecko. 2012-10-23 19:44:05 +02:00
Jacek Caban d27417768e mshtml: Added IHTMLIFrameElement::width property implementation. 2012-10-23 17:29:20 +02:00
Jacek Caban a741a3f99c mshtml: Added IHTMLIFrameElement::height property implementation. 2012-10-23 17:29:16 +02:00
Jacek Caban 04c97d08eb mshtml: Added IHTMLStyle::clear property implementation. 2012-10-23 17:29:10 +02:00
Jacek Caban 516731c861 mshtml: Added more events tests. 2012-10-22 12:06:36 +02:00
Jacek Caban 4940275d21 mshtml: Set 'this' to window object for onload handlers. 2012-10-22 12:06:33 +02:00
Jacek Caban 610ea94da5 mshtml: Added IHTMLLocation::toString implementation. 2012-10-22 12:06:30 +02:00
Jacek Caban 8b04ab10b9 mshtml: Fixed attribute object caching logic. 2012-10-22 12:06:26 +02:00
Jacek Caban 3b6615686b mshtml: Fixed error handling of IBindCtx_GetObjectParam (coverity). 2012-10-19 12:20:49 +02:00
Jacek Caban 23c87ba829 mshtml: Properly handle OOM errors in htmlnode.c (coverity). 2012-10-19 12:20:42 +02:00
Jacek Caban b6227fc4e8 mshtml: Properly handle OOM errors in navigate.c (coverity). 2012-10-19 12:20:31 +02:00
Jacek Caban 421368b875 mshtml: Properly handle OOM errors in nsio.c (coverity). 2012-10-19 12:20:20 +02:00
Jacek Caban 3a4a4acd1a mshtml: Properly handle OOM errors in omnavigator.c (coverity). 2012-10-19 12:20:11 +02:00
Jacek Caban 4638fbf167 mshtml: Properly handle OOM errors in script.c (coverity). 2012-10-19 12:20:01 +02:00
Jacek Caban 08485aeb48 mshtml: Properly handle OOM errors in task.c (coverity). 2012-10-19 12:19:45 +02:00
Jacek Caban b5691b5e63 mshtml: Added HTML comments in VBScript code tests. 2012-10-18 19:21:38 +02:00
Jacek Caban 06ce49c81b mshtml: Added IHTMLImgElement::get_complete implementation. 2012-10-17 14:01:58 +02:00
Jacek Caban 1dae62f0a9 mshtml: Fixed trace message. 2012-10-17 14:01:52 +02:00
Jacek Caban 81e106cfa2 mshtml: Moved remove_target_tasks to detach_inner_window. 2012-10-17 14:01:46 +02:00
Jacek Caban 4a491ea7e4 mshtml: Make HTMLInnerWindow the owner of timers. 2012-10-17 14:01:39 +02:00
Jacek Caban d1c1f9e830 mshtml: Use detach_inner_window in release_inner_window. 2012-10-17 14:01:32 +02:00
Jacek Caban 75994335e3 mshtml: Added IOmNavigator::onLine semi-stub. 2012-10-17 14:01:25 +02:00
Jacek Caban 5e0f624c41 mshtml: Added HTMLImgElement::onabort implementation. 2012-10-17 14:01:19 +02:00
Jacek Caban 282b2608c4 mshtml: Fixed tests on old IEs. 2012-10-16 20:41:29 +02:00
Jacek Caban bfd25b4f50 mshtml: Added IHTMLScriptElement::put_src tests. 2012-10-16 20:41:20 +02:00
Jacek Caban b882b18402 mshtml: Added support for IHTMLScriptElement::put_src on detached elements. 2012-10-16 20:41:05 +02:00
Jacek Caban ccbee09f7e mshtml: Added support for IHTMLScriptElement::put_src calls during parser callback. 2012-10-16 20:40:58 +02:00
Jacek Caban fdbbaa1ff5 mshtml: Return early from BindToDocument if possible. 2012-10-16 20:40:52 +02:00
Jacek Caban 680aca56ef mshtml: Added beginning IHTMLScriptElement::put_src implementation. 2012-10-16 20:40:42 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban c26b63560e mshtml: Added IHTMLBodyElement::onload property implementation. 2012-10-16 20:39:59 +02:00
Jacek Caban cfef60a30e mshtml: Added IHTMLLinkElement::href property implementation. 2012-10-15 15:24:55 +02:00
Jacek Caban 9277bf2e01 mshtml: Added IHTMLLinkElement::type property implementation. 2012-10-15 15:24:52 +02:00
Jacek Caban c11c695b11 mshtml: Added IHTMLLinkElement::rel property implementation. 2012-10-15 15:24:49 +02:00
Jacek Caban 9608714d04 mshtml: Added IHTMLLinkElement::disabled property implementation. 2012-10-15 15:24:46 +02:00
Jacek Caban b75e2c4dde mshtml: Added IHTMLLinkElement stub implementation. 2012-10-15 15:24:43 +02:00
Jacek Caban 8d1dc99ea1 mshtml: Added IHTMLIFrameElement3::get_contentDocument implementation. 2012-10-11 20:21:06 +02:00
Jacek Caban c9e5181ff3 mshtml: Added createStyleSheet and get_styleSheet tests. 2012-10-11 20:21:01 +02:00
Jacek Caban 163970c336 mshtml: Create script element in IHTMLDocument::createStyleSheet. 2012-10-11 20:20:56 +02:00
Jacek Caban 878b85825a mshtml: Moved creating HTML element to separated function. 2012-10-11 20:20:51 +02:00
Jacek Caban 62c0c7b11f mshtml: Added IHTMLStyleElement::get_styleSheet imeplementation. 2012-10-11 20:20:47 +02:00
Jacek Caban 45b29f9555 mshtml: Don't run noscript tests in enhanced security configuration. 2012-10-11 20:20:43 +02:00
Jacek Caban e63b9f4ec0 mshtml: Added more ActiveX loading and script binding tests. 2012-10-10 20:34:02 +02:00
Jacek Caban 3e27a4dfa7 mshtml: Get rid of no longer needed workarounds for async ActiveX loading. 2012-10-10 20:34:01 +02:00
Jacek Caban c7f155f333 mshtml: Added noscript tag handling tests. 2012-10-10 20:34:01 +02:00
Jacek Caban 0ae458cc94 mshtml: Wine Gecko 1.8 release. 2012-10-09 18:32:24 +02:00
Jacek Caban 6ae3418aaf mshtml: Return dispinterface from PHEventSink::QueryInterface. 2012-10-08 17:40:46 +02:00
Jacek Caban 94f3eaacf2 mshtml: Use proper type for parse_proc. 2012-10-04 16:29:30 +02:00
Jacek Caban bf65003271 jscript: Added support for pstrFormalParams argument in ParseProcedureText. 2012-10-04 16:29:24 +02:00
Jacek Caban 5c15ca13d2 mshtml: Added ActiveX event binding test. 2012-10-03 18:16:59 +02:00
Jacek Caban eda756dbb5 mshtml: Added support for binding ActiveX events with script event attribute. 2012-10-03 18:16:52 +02:00
Marcus Meissner 0f4c2f9a8c mshtml: Removed duplicate condition (Coverity). 2012-10-03 16:28:29 +02:00
Jacek Caban 43a178fad1 mshtml: Added script 'for' and 'event' attributes tests. 2012-10-02 16:01:48 +02:00
Jacek Caban d40b1ae8dc mshtml: Added support for script 'for' and 'event' attributes. 2012-10-02 16:01:43 +02:00
Jacek Caban 4503edd614 mshtml: Store information if script was already parsed in script element object. 2012-10-02 16:01:35 +02:00
Jacek Caban a420b5dad8 mshtml: Simplify get_node_obj. 2012-10-02 16:01:26 +02:00
Jacek Caban 60c9069f80 mshtml: Defer event script evaluation. 2012-10-02 16:01:22 +02:00
Jacek Caban 3bfbd6b619 mshtml: Moved getElementById implementation to separated function. 2012-10-02 16:01:18 +02:00
Jacek Caban 359a9041b1 mshtml: Store nsIDOMNodeSelector in HTMLDocumentNode. 2012-10-02 16:01:14 +02:00
Nikolay Sivov 1075118cdb mshtml: Implement IHTMLFrameBase_put_name(). 2012-10-02 14:08:37 +02:00
Jacek Caban 62e340226c mshtml: Added IActiveScriptSiteUIControl tests. 2012-09-26 14:43:27 +02:00
Jacek Caban d531c9ec2f mshtml: Added IActiveScriptSiteUIControl implementation. 2012-09-26 14:43:23 +02:00
Jacek Caban c9e6a96318 mshtml: Added better IActiveScriptSiteWindow implementation. 2012-09-26 14:43:19 +02:00
Jacek Caban ff34939400 mshtml: Return S_OK in plugin host's CanInPlaceActivate implementation. 2012-09-25 21:13:07 +02:00
Jacek Caban f90798572a mshtml: Added DISPATCH_PROPERTYGET|DISPATCH_METHOD flags support for elements exposed as window properties. 2012-09-25 21:13:07 +02:00
Francois Gouget 9c1402e6a9 mshtml/tests: Add a trailing '\n' to an ok() call. 2012-09-25 11:42:41 +02:00
Jacek Caban efb08f261d mshtml: Added IHTMLDocument::get_charset implementation. 2012-09-24 22:27:27 +02:00
Jacek Caban 514e65c1e9 mshtml: Use custom VT_BSTR to VT_BOOL conversion in InvokeEx implementation. 2012-09-24 22:27:27 +02:00
Jacek Caban 4d469b55a5 mshtml: Added function overriding tests. 2012-09-24 22:27:27 +02:00
Jacek Caban 6d3bfe8ee5 mshtml: Added support for overriding builtin functions. 2012-09-24 22:27:27 +02:00
Francois Gouget 7af53b5f48 mshtml: Make navigate_uri() static. 2012-09-24 16:38:16 +02:00
Jacek Caban e75683b858 mshtml: Use IUri as base URL in navigate_url. 2012-09-21 17:05:40 +02:00
Jacek Caban 481abdb304 mshtml: Don't do anything in handle_htmlevent if document is already detached. 2012-09-20 19:23:21 +02:00
Jacek Caban f833ac752e mshtml: Fixed NULL event_obj handling in fire_event_obj. 2012-09-19 16:31:22 +02:00
Michael Stefaniuc d8d58b238c mshtml: Fix a memory leak on an error path (Smatch). 2012-09-17 12:06:04 +02:00
Marcus Meissner d182a123d1 mshtml: Print initialized anchor (Coverity). 2012-09-17 12:05:03 +02:00
Bernhard Übelacker fdb7286a2c mshtml: Check parameter load_group before calling RemoveRequest. 2012-09-14 14:15:34 +02:00
Jacek Caban a982933869 mshtml: Try using IWinInetHttpInfo if OnResponse was not called. 2012-09-13 13:55:42 +02:00
Jacek Caban 05dc7eac8d mshtml: Added IHTMLDocument4::fireEvent implementation. 2012-09-13 13:55:36 +02:00
Jacek Caban fae1fff830 mshtml: Added more events tests. 2012-09-13 13:55:25 +02:00
Jacek Caban 3de3d07054 mshtml: Added support for event object in HTMLElement::fireEvent. 2012-09-13 13:54:52 +02:00
Jacek Caban fffb717b1b mshtml: Added IHTMLDocument4::createEventObject implementation. 2012-09-13 13:54:47 +02:00
Jacek Caban 74453fb0fd mshtml: Added HTMLElement::ondataavailable implementation. 2012-09-13 13:54:40 +02:00
Jacek Caban 3f2365d5de mshtml: Added support for navigating to anchors with IDs containing '#'. 2012-09-10 17:35:56 +02:00
Jacek Caban 7293e84163 mshtml: Added IHTMLWindow2::onscroll implementation. 2012-09-10 17:35:54 +02:00
Jacek Caban bdcc88a396 mshtml: Added support for DISPATCH_METHOD|DISPATCH_PROPERTYGET flags in HTMLDocumentNode_invoke. 2012-09-10 17:35:51 +02:00
Jacek Caban a4869de7fa mshtml: Check if value is function only when it needs to be in invoke_builtin_prop. 2012-09-10 12:15:34 +02:00
Jacek Caban 156e94429d mshtml: Use first script host's GUID as default script guid. 2012-09-10 11:51:52 +02:00
Jacek Caban 34d671dc25 mshtml: Avoid duplicated string release in navigate_anchor. 2012-09-07 11:55:05 +02:00
Jacek Caban 1cd527924f mshtml: Added VBScript as event attribute tests. 2012-09-06 18:23:39 +02:00
Jacek Caban a1e6835d0e mshtml: Added IHTMLElement::contains implementation. 2012-09-04 15:06:41 +02:00
Jacek Caban d898f27af4 mshtml: Added IHTMLStyle::put_pixelWidth implementation. 2012-09-04 15:06:36 +02:00