Commit Graph

856 Commits

Author SHA1 Message Date
Rob Shearman 26ad119d3a mshtml: Don't use typeof as it's not portable. 2008-02-27 14:52:24 +01:00
Jacek Caban 28cf008c3b mshtml: Added IHTMLBodyElement::aLink implementation. 2008-02-25 12:20:19 +01:00
Jacek Caban a81fb4ca0c mshtml: Added IHTMLBodyElement::vLink implementation. 2008-02-25 12:20:15 +01:00
Jacek Caban 8d7e1922d8 mshtml: Added IHTMLBodyElement::get_link implementation. 2008-02-25 12:20:11 +01:00
Jacek Caban a7ba7647ad mshtml: Added IHTMLBodyElement::put_link implementation. 2008-02-25 12:20:07 +01:00
Jacek Caban 2f046e9623 mshtml: Report true scheme for about:blank URL. 2008-02-21 12:53:00 +01:00
Jacek Caban 7ea9c7d3e1 mshtml: Added nsINetUtil interface to nsIOService. 2008-02-21 12:53:00 +01:00
Jacek Caban 45b862d5ca mshtml: Don't mix nsresult with HRESULT. 2008-02-18 12:57:10 +01:00
Frans Kool 33348f59ff mshtml: Added missing Dutch translations. 2008-02-16 13:54:43 +01:00
Rob Shearman 1ce8ca4d8d mshtml: Fix a typo in nsiface.idl. 2008-02-15 09:53:23 +01:00
Rob Shearman 94fe669387 mshtml: Add a dummy member to nsMargin as empty structs aren't valid in C89. 2008-02-15 09:52:57 +01:00
Rob Shearman 9b11494db7 mshtml: All interfaces in nsiface.idl are local.
Since there is no in or out, or other information necessary for
remoting, all of the interfaces can only used locally, so declare them
all as local.
2008-02-15 09:52:48 +01:00
Rob Shearman 4539f4f25b mshtml: Remove extra semi-colons after cpp_quote in nsiface.idl. 2008-02-15 09:52:43 +01:00
Jacek Caban 61ca7a5731 mshtml: Mode range tests. 2008-02-11 19:57:44 +01:00
Jacek Caban d992735dcc mshtml: Fixed bound_pos handling in move_prev_chars. 2008-02-11 19:57:39 +01:00
Jacek Caban 9f877fec9d mshtml: hr element is not a space element for moving functions. 2008-02-11 19:57:34 +01:00
Rob Shearman 5209ed0c5e mshtml: Fix inserting a hyperlink when text is already selected.
There is no need to use cmd_insertLinkNoUI when we have the code to do 
most of the action anyway. Make use of the handy 
InsertLinkAroundSelection to insert the "a" element when not inserting 
at the caret and don't create a text node in this case because it is 
redundant.
2008-02-11 19:55:18 +01:00
Jacek Caban 814e07d8e8 mshtml: Update wine_url in nsIURI::SetPath. 2008-02-04 13:17:48 +01:00
Jacek Caban e7885cf221 mshtml: Added more about protocol tests. 2008-02-04 13:15:52 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Marcus Meissner fa6042fc8d mshtml: Check for This->frame. 2008-01-16 12:17:01 +01:00
Jacek Caban c0881ac515 mshtml: Disable some default Gecko warnings. 2008-01-11 12:26:41 +01:00
Jacek Caban c32cca8066 mshtml: Use QueryService to get IHttpNegotiate in get_post_data_stream. 2008-01-11 12:26:37 +01:00
Jacek Caban ed11dbab6c mshtml: Added more range tests. 2008-01-11 12:26:30 +01:00
Jacek Caban 0bc9f9a7d5 mshtml: Fixed hr element handling in range object. 2008-01-11 12:26:22 +01:00
Jacek Caban 8c686f9d00 mshtml: Update focus information in WM_RESETFOCUS_HACK. 2008-01-11 12:26:17 +01:00
Jacek Caban cbe9f974d6 mshtml: Move nsChannel's content type initialization to async_open_doc_uri. 2008-01-11 12:26:11 +01:00
Jacek Caban c58ca1312c mshtml: Handle fClearDirty flag in IPersistStreamInit::Save. 2008-01-10 13:20:23 +01:00
Jacek Caban 7de847c6ee mshtml: Don't crash in before_async_open if there is no client site. 2008-01-10 13:20:20 +01:00
Rico Schüller 066ccd1275 mshtml: Fix memory leak (found by Smatch). 2008-01-07 13:45:57 +01:00
Jacek Caban 62b8439484 mshtml: Don't assume that end_pos.node is text node in range_to_string. 2008-01-04 12:01:06 +01:00
Jacek Caban 0cf629b81a mshtml: Fixed Read implementations. 2008-01-04 12:01:04 +01:00
Jacek Caban c6ac960f4a mshtml: Added Invoke(DISPID_READYSTATE) implementation. 2008-01-04 12:00:54 +01:00
Jacek Caban 7514283d73 mshtml: Added PutProperty implementation. 2008-01-02 11:46:08 +01:00
Jacek Caban c19fb7f011 mshtml: Added QueryInfo tests. 2007-12-28 11:29:17 +01:00
Jacek Caban e93353b2b5 mshtml: Added ResProtocolInfo::QueryInfo implementation. 2007-12-28 11:29:08 +01:00
Jacek Caban 8a87ea5b6a mshtml: Added AboutProtocolInfo::QueryInfo implementation. 2007-12-28 11:29:04 +01:00
Jacek Caban 82a199bcee mshtml: Use IBindCtx passed to Load in BindToStorage call. 2007-12-24 16:34:28 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +01:00
Jacek Caban 72d0971034 mshtml: Remove not used argument of nsACString_GetData. 2007-12-17 11:49:12 +01:00
Jacek Caban a95420a07e mshtml: Fix CSS px unit handling differences between Gecko and IE. 2007-12-11 18:06:50 +01:00
Jacek Caban 141ffa7dd9 mshtml: Added more IHTMLStyle implementation. 2007-12-11 18:06:42 +01:00
Rob Shearman cf48f090f1 mshtml: Fix a memory leak in the htmldoc tests. 2007-12-07 16:34:40 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Jacek Caban e35e27de4c mshtml: Added HTMLTxtRange::Exec(IDM_INDENT) test. 2007-12-06 14:52:38 +01:00
Jacek Caban f5a8a450b2 mshtml: Added HTMLTxtRange::Exec(IDM_INDENT) implementation. 2007-12-06 14:52:33 +01:00
Jacek Caban 8d08592018 mshtml: Fixed ref counting. 2007-12-06 14:52:23 +01:00
Jacek Caban 23393756dd mshtml: Added IHTMLStyleSheetRulesCollection::get_length implementation. 2007-12-06 14:52:13 +01:00
Jacek Caban 4ac1ba130a mshtml: Added IHTMLStyleSheet::get_rules implementation. 2007-12-06 14:52:08 +01:00
Jacek Caban da39170029 mshtml: Added more DOM tests. 2007-12-06 14:50:06 +01:00
Luis C. Busquets Pérez 6208d4153e mshtml: Update Spanish resource. 2007-12-06 12:13:08 +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
Rob Shearman 1c28273686 mshtml: Use the correct deallocator in the htmldoc tests for the memory returned by IMoniker_GetDisplayName and fix a use-after-free error. 2007-12-06 12:07:02 +01:00
Alexander Nicolaysen Sørnes b25bc9220b mshtml: Update Norwegian resources. 2007-12-06 12:06:05 +01:00
Jonathan Ernst 5147ad24b6 mshtml: Updated French translation. 2007-12-05 12:21:50 +01:00
Jacek Caban 92223c19f9 mshtml: Improve debug traces. 2007-12-05 12:07:00 +01:00
Jacek Caban 87e2bb3e63 mshtml: Return NULL instead of empty string in IHTMLBodyElement::get_background. 2007-12-05 12:06:51 +01:00
Jacek Caban b12ebbdaca mshtml: Added DIID_HTMLTableEvents connection point. 2007-12-04 18:17:29 +01:00
Jacek Caban cd68aacbbc mshtml: Move HTMLTextContainerEvents connection point to HTMLTextContainer object. 2007-12-04 18:17:21 +01:00
Jacek Caban 2bcd1f0e9e mshtml: Added IConnectionPointContainer iface to all HTMLElement objects. 2007-12-04 18:17:17 +01:00
Jacek Caban a9e77575b3 mshtml: Initialize HTMLElement in the beginning of constructors. 2007-12-04 18:17:13 +01:00
Jacek Caban a1bdef2d62 mshtml: Make IConnectionPointContainer more flexible. 2007-12-04 18:17:08 +01:00
Jacek Caban 29d66b48ef mshtml: Added IHTMLElement2::get_dir implementation. 2007-12-03 11:51:56 +01:00
Jacek Caban 77ee756c91 mshtml: Added IHTMLTable interface stub implementation. 2007-11-30 14:21:13 +01:00
Jacek Caban 0ea1bfc2ac mshtml: Added IOleCommandTarget implementation to HTMLTxtRange. 2007-11-26 12:35:39 +01:00
Jacek Caban c5953bec63 mshtml: Added IHTMLStyleSheetsCollection::item implementation. 2007-11-26 12:35:36 +01:00
Jacek Caban 4b302f9c89 mshtml: Store nsIDOMCSSStyleSheet in HTMLStyleSheet object if available. 2007-11-26 12:35:33 +01:00
Jacek Caban b61bc4b92e mshtml: Change FIXME that is usually invalid to TRACE. 2007-11-20 13:21:06 +01:00
Jacek Caban 843703030a mshtml: Added more loading tests. 2007-11-20 13:21:04 +01:00
Jacek Caban 5d9e64554b mshtml: Reload page in exec_editmode if available. 2007-11-20 13:21:00 +01:00
Jacek Caban 2702dfffbf mshtml: Always initialize output in exec_fontname. 2007-11-20 13:20:57 +01:00
Jacek Caban ebc89a02d3 mshtml: Use call_set_active_object in exec_editmode. 2007-11-20 13:20:55 +01:00
Jacek Caban 3f444cae92 mshtml: Move IOleInPlaceFrame::SetActiveObject call to separated function. 2007-11-20 13:20:52 +01:00
Jacek Caban c02b46d987 mshtml: Fixed handling channels without container and necko channel. 2007-11-20 12:28:59 +01:00
Jacek Caban e93be266c1 mshtml: Remove nsIWebBrowserFocus_Activate useless call. 2007-11-12 12:07:05 +01:00
Jacek Caban c49e894e9f mshtml: Reset focus after loading the page in edit mode. 2007-11-12 12:06:48 +01:00
Jacek Caban a1e554739e mshtml: Added IDM_SETDIRTY implementation. 2007-11-09 12:54:14 +01:00
Jacek Caban a3717bff18 mshtml: Added AcceptLanguage handling. 2007-11-06 13:02:19 +01:00
Jacek Caban 57b876dd0d mshtml: Call Exec(CGID_ShellDocView, 84) in start_binding. 2007-11-06 13:02:15 +01:00
Jacek Caban 918b00f8ef mshtml: More range tests and fixes. 2007-11-06 13:02:03 +01:00
Jacek Caban f309cdf733 mshtml: Store HTMLDocument pointer in BSCallback object. 2007-11-06 13:01:49 +01:00
Jacek Caban e15b6096c6 iexplore: Added self-registration code. 2007-11-05 13:24:36 +01:00
Jacek Caban 6b21304248 mshtml: AsyncOpen code clean up. 2007-11-05 12:12:47 +01:00
Jacek Caban cd07f72824 mshtml: More test fixes. 2007-11-05 12:12:47 +01:00
Chris Robinson bc9b8d82e9 mshtml: Fix hkey leak. 2007-11-02 12:23:48 +01:00
Chris Robinson c23ce884f7 mshtml: Set IE version when installing wine gecko. 2007-11-01 12:51:45 +01:00
Lionel Debroux a155665d65 mshtml: Fix memory leak (found by Smatch). 2007-10-29 13:53:16 +01:00
Jacek Caban 6f8bb3256e mshtml: More IE7 test fixes. 2007-10-26 14:04:13 +02:00
Hwang YunSong(황윤성) 475217a707 mshtml: Updated Korean resource. 2007-10-25 13:58:23 +02:00
Luke Bratch 7ce4194c79 mshtml: Fix text input fields. 2007-10-23 18:18:28 +02:00
Jacek Caban cf19259a03 mshtml: Fixed spaces handling in range object. 2007-10-22 12:36:32 +02:00
Jacek Caban 11d62d7fcb mshtml: Added IHTMLTxtRange::expand("TextEdit") implementation. 2007-10-22 12:36:26 +02:00
Michael Stefaniuc f02a01574b mshtml/tests: Move the 'const' after REFIID as REFIID is a macro that already starts with 'const'. 2007-10-22 12:36:19 +02:00
Jacek Caban 84098e54a0 mshtml: Added support for installing Gecko from build dir. 2007-10-19 12:05:53 +02:00
Jacek Caban 52b78f055e mshtml: Set selection to default on IHTMLSelectionObject::createRange if there is no range selected. 2007-10-19 12:05:43 +02:00
Jacek Caban 62894b488d mshtml: Import dimm.idl and fix compilation. 2007-10-18 12:05:49 +02:00
Daniel Nylander 3ecbcd5645 mshtml: Update Swedish translation. 2007-10-16 12:41:49 +02:00
Francois Gouget f4bb8209f2 mshtml: Check for HAVE_UNISTD_H before including unistd.h. 2007-10-15 14:05:11 +02:00
Jacek Caban d6ccaa43a6 mshtml: Added ref counting to node object. 2007-10-15 13:46:51 +02:00
Jacek Caban 71894ead1f mshtml: Try installing Gecko from local file in DllRegisterServer. 2007-10-15 13:46:42 +02:00
Jacek Caban 2cb3c5de90 mshtml: Added IHTMLTxtRange::moveStart("character") implementation. 2007-10-15 13:46:27 +02:00
Jacek Caban 07dfef53bc mshtml: Added more range tests and fixes. 2007-10-15 13:46:19 +02:00
Jacek Caban 924b667821 mshtml: Added more DOM tests. 2007-10-15 13:46:13 +02:00
Jacek Caban a468ec5747 mshtml: Added IHTMLSelectElement::selectedIndex property implementation. 2007-10-15 13:46:05 +02:00
Jacek Caban 8bfc6f7594 mshtml: Added IHTMLOptionElementFactory::create implementation. 2007-10-15 13:46:00 +02:00
Jacek Caban 0466542a7e mshtml: Added IHTMLOptionElement::get_text implementation. 2007-10-15 13:45:48 +02:00
Jacek Caban fa2f0665b5 mshtml: Added IHTMLOptionElement::put_text implementation. 2007-10-15 13:45:43 +02:00
Jacek Caban 108bb7af2f mshtml: Added IHTMLOptionElement::put_value implementation. 2007-10-15 13:45:38 +02:00
Jacek Caban b1fca21f5e mshtml: Added IHTMLOptionElement::get_value implementation. 2007-10-15 13:45:02 +02:00
Jacek Caban b14ba8aac6 mshtml: Added IHTMLStyle display and visibility properties implementation. 2007-10-15 13:44:56 +02:00
Jacek Caban 141dfab1a1 mshtml: Added IHTMLDocument4 stub implementation. 2007-10-15 13:44:51 +02:00
Jacek Caban 41c35a1ce2 mshtml: Use wine scheme mechanism in do_load_from_moniker_hack. 2007-10-15 13:44:42 +02:00
Jacek Caban 954d4477b5 mshtml: Added IHTMLWindow2::get_option implementation. 2007-10-15 13:44:36 +02:00
Jacek Caban 697d65305b mshtml: Fixed ref count leak. 2007-10-15 13:44:20 +02:00
Jacek Caban 512d09245d mshtml: Fix range pos after put_text call. 2007-10-15 13:44:15 +02:00
Jacek Caban f4e1ff6e1f mshtml: Added support for installing Gecko from the local file. 2007-10-11 16:24:29 +02:00
Robert Shearman 836cdb88ce mshtml: Set the SETUP_IS_CHROME_WRAPPER to FALSE as the embedded Gecko is always used to display content and not chrome. 2007-10-10 19:46:51 +02:00
Jacek Caban d9d11b3e7c mshtml: Fixed test crash on Windows. 2007-10-10 12:16:13 +02:00
Jacek Caban 9a9de4d65b mshtml: Move init_nsevents call from start_binding to read_stream_data to avoid race. 2007-10-09 17:52:46 +02:00
Jacek Caban 0ea0754771 mshtml: Fixed tests on IE7. 2007-10-09 17:52:46 +02:00
Jacek Caban df4bdad94d mshtml: Skip tests if we can't get body object - it means that there is no Gecko available. 2007-10-09 12:34:35 +02:00
Jacek Caban 99e6592c9d mshtml: Move most code from handle_editor_load to exec_editmode. 2007-10-09 12:34:35 +02:00
Jacek Caban d8ea6c1fd7 mshtml: Added IHTMLInputTextElement interface implementation. 2007-10-04 11:40:28 +02:00
Jacek Caban 8916d64177 mshtml: Added IHTMLSelectElement::get_length implementation. 2007-10-04 11:40:13 +02:00
Jacek Caban dfa0b91fb4 mshtml: IHTMLElementContainer::item rewrite. 2007-10-04 11:40:03 +02:00
Jacek Caban ae64937f95 mshtml: Added IHTMLOptionElement interface stub implementation. 2007-10-04 11:39:56 +02:00
Jacek Caban 6437becb5b mshtml: Include document element in collection returned by IHTMLDocument2::get_all. 2007-10-04 11:39:40 +02:00
Jacek Caban e9cb14646c mshtml: Return IHTMLElementCollection instead of IDispatch from HTMLElementCollection_Create. 2007-10-04 11:39:35 +02:00
Jacek Caban e581609082 mshtml: Move common code to separated function. 2007-10-04 11:39:30 +02:00
Jacek Caban f56c1a607b mshtml: Move nodes' QueryInterface implementation to vtbl. 2007-10-04 11:39:23 +02:00
Jacek Caban f9036c8926 mshtml: Use vtbl for node destructors. 2007-10-04 11:39:09 +02:00
Jacek Caban e04cdbb82c mshtml: Pass HTMLDOMNode pointer to HTMLElement's destructor. 2007-10-04 11:39:01 +02:00
Jacek Caban 6270a46ded mshtml: Pass HTMLDOMNode pointer to its destructor. 2007-10-04 11:38:55 +02:00
Jacek Caban f5ef66a369 mshtml: Pass the IDispatch interface of the element right-clicked on to IDocHostUIHandler_ShowContextMenu if applicable instead of always the document's one.
Found by Rob Shearman.
2007-10-03 11:00:52 +02:00
Jacek Caban 42349000c4 mshtml: Added get_tagName implementation. 2007-10-03 11:00:46 +02:00
Gerald Pfeifer 47032fd07c mshtml: Removed unused function get_child_text_node(). 2007-10-02 12:28:09 +02:00
Alexandre Julliard 868b5397d3 mshtml: The HTMLDocument URL is a standard WCHAR string, not a BSTR. 2007-10-01 18:07:30 +02:00
Jacek Caban 47c91d4d18 mshtml: Use GetWineURL in before_async_open. 2007-10-01 12:34:03 +02:00
Jacek Caban 2826a0f08b mshtml: Remove no longer used defines. 2007-10-01 12:33:57 +02:00
Jacek Caban e65e53488e mshtml: Use get_nsinterface in set_ns_editmode and get_editor_controller. 2007-09-27 11:11:24 +02:00
Jacek Caban cf403fa484 mshtml: Use get_nsinterface in exec_print and do_ns_command. 2007-09-27 11:11:21 +02:00
Jacek Caban fa58e6ce5d mshtml: Added generic get_nsinterface function and use it in get_ns_command_state. 2007-09-27 11:11:16 +02:00
Jacek Caban 124f0290e4 mshtml: Added IDM_COPY in browse mode implementation. 2007-09-27 11:11:10 +02:00
Jacek Caban 8966cfe42a mshtml: Ignore app's User-Agent header and Content-Type if there is no data to post. 2007-09-27 11:11:04 +02:00
Jacek Caban e27f185440 mshtml: Forward IHTMLTextContainer::put_scrollTop and put_scrollLeft calls to IHTMLElement2 interface. 2007-09-27 11:09:04 +02:00
Jacek Caban 0a0d72ac5d mshtml: Added IHTMLElement2::put_scrollTop and put_scrollLeft implementation. 2007-09-27 11:08:59 +02:00
Jacek Caban cb776f7d5b mshtml: Added get_compatMode implementation. 2007-09-27 11:08:54 +02:00
Jacek Caban 9ba65105d5 mshtml: Added IHTMLDocument5 interface stub implementation. 2007-09-27 11:08:48 +02:00
Jacek Caban 23465f2183 mshtml: Don't crash in UIActivate if Gecko is not available. 2007-09-24 13:44:42 +02:00
Vitaliy Margolen 2755c92fc3 mshtml: Fix another typo and add trace. 2007-09-24 13:29:23 +02:00