Commit Graph

571 Commits

Author SHA1 Message Date
Jacek Caban 86cb9f3d70 mshtml: Call update_doc in editor commands. 2007-06-11 15:16:31 +02:00
Jacek Caban 88178a7553 mshtml: Added more command tests. 2007-06-11 15:16:22 +02:00
Jacek Caban 3543cd3df4 mshtml: Added Exec(IDM_FONTNAME) tests. 2007-06-11 15:16:14 +02:00
Jacek Caban 52accda0fa mshtml: Set default fontname to 'Times New Roman'. 2007-06-11 15:16:08 +02:00
Jacek Caban 80b65d3e35 mshtml: Don't check out variant type in exec_fontname. 2007-06-11 15:16:01 +02:00
Jacek Caban 85923633bb mshtml: Set FALSE useCapture for editor's keypress event listener. 2007-06-11 15:15:52 +02:00
Jacek Caban d09692d187 mshtml: Push TASK_PARSECOMPLETE in load event if Gecko is available. 2007-06-11 15:15:29 +02:00
Jacek Caban 5c08a14cdd mshtml: Improve IDM_JUSTIFYLEFT query status. 2007-06-11 15:14:12 +02:00
Jacek Caban ef93de1671 mshtml: Pump messages of all windows in test_download.
We have to pump Gecko windows' messages to correctly support loading documents.
2007-06-11 15:13:56 +02:00
Jacek Caban 1e2ec94325 mshtml: Added test of callbacks called from document timer. 2007-06-11 15:13:50 +02:00
Jacek Caban 86e224c12d mshtml: Call update_doc in exec_editmode. 2007-06-11 15:13:47 +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
Jacek Caban d8e518eb68 mshtml: Call UpdateUI and Exec(OLECMDID_UPDATECOMMANDS) from timer callback. 2007-06-11 15:11:56 +02:00
Jacek Caban 0334291828 mshtml: Use IOleCommandTarget::Exec to implement context menu. 2007-06-11 15:06:32 +02:00
Jacek Caban 239b86fe8f mshtml: Don't do anything in exec_editmode if edit mode is already set. 2007-06-11 15:06:24 +02:00
Jacek Caban 95e96fd547 mshtml: Don't crash in load_stream if Gecko is not available. 2007-06-11 15:06:19 +02:00
Jacek Caban bf7a479042 mshtml: Forward all IsDirty implementations to one function. 2007-06-11 15:06:09 +02:00
Jacek Caban 791b868ce7 mshtml: Move setup_ns_editing to nsembed.c. 2007-06-11 15:06:02 +02:00
Jacek Caban bd71f19ef1 mshtml: Make [get|set]_font_size static. 2007-06-11 15:05:52 +02:00
Jacek Caban 78509882e7 mshtml: Move remaining status queries to command tables. 2007-06-11 15:05:42 +02:00
Jacek Caban 2e12e7e4de mshtml: Move edit command queries to the command table. 2007-06-11 15:05:32 +02:00
Jacek Caban ca82a1eb0e mshtml: Move justify queries to command table. 2007-06-11 15:05:18 +02:00
Jacek Caban 7d336240d4 mshtml: Use command table for IDM_COPY, IDM_CUT and IDM_PASTE query. 2007-06-11 15:04:53 +02:00
Jacek Caban eb8b3417e0 mshtml: Move remaining commands to tables. 2007-06-11 15:04:44 +02:00
Jacek Caban d42c252883 mshtml: Move more commands to editor command table. 2007-06-11 15:04:35 +02:00
Jacek Caban 34f1f61acf mshtml: Move more commands to command table. 2007-06-11 15:04:24 +02:00
Jacek Caban 7a0e06b9e2 mshtml: Move IDM_FONTSIZE, IDM_FONTNAME and IDM_FORECOLOR to edit state command table.
This patch temporary adds code duplication.
2007-06-11 15:04:17 +02:00
Jacek Caban 510481b70c mshtml: Added command table for CGID_MSHTML commands. 2007-06-11 15:03:59 +02:00
Jacek Caban a43f4e7a42 mshtml: Fix debug trace. 2007-06-08 11:57:26 +02:00
Jacek Caban 76de315e73 mshtml: Switch to Wine Gecko 0.1.0. 2007-06-08 11:57:21 +02:00
Jacek Caban d795c283bd mshtml: Added support for coexisting different Gecko versions installation. 2007-06-07 11:20:49 +02:00
Huw Davies 1667af3a20 mshtml: Don't release the factory if we failed to get it. 2007-06-05 10:57:31 +02:00
Andrew Talbot 0608054a6d mshtml: Constify some variables. 2007-05-31 13:27:28 +02:00
Francois Gouget efba293582 include: The PSDK does not define the DEFINE_SHLGUID() macro anymore. 2007-05-29 13:17:57 +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
Jacek Caban 4a71ab79f5 mshtml: Added missing WINAPI in window proc. 2007-05-25 19:30:34 +02:00
Jacek Caban de2e9e13ce mshtml: Fixed AsyncOpen implementation for channels without associated document. 2007-05-25 19:30:28 +02:00
Francois Gouget 51b81a60a0 mshtml: Fix '\n' typo. 2007-05-15 18:09:04 +02:00
Jacek Caban 757192ebce mshtml: Improve some exec command stubs. 2007-05-15 12:43:07 +02:00
Jacek Caban fb2b06a144 mshtml: Don't call start_binding if we use necko to load the page. 2007-05-14 15:41:11 +02:00
Jacek Caban 836c672dcf mshtml: Wrap nsIExternalProtocolHandler. 2007-05-14 15:41:05 +02:00
Jacek Caban 66067781d6 mshtml: Added IPersistStreamInit::Load test. 2007-05-11 14:02:21 +02:00
Jacek Caban 920f628c6e mshtml: Added IPersistStreamInit::Load implementation. 2007-05-11 13:25:02 +02:00
Jacek Caban 09adb8cf05 mshtml: Split IPersistMoniker::Load. 2007-05-11 13:24:48 +02:00
Jacek Caban 2dd9fad610 mshtml: Move AddRequest call to the separated function. 2007-05-11 13:24:37 +02:00
Jacek Caban 94a264d0be mshtml: Don't crash in OnStopBinding if This->binding is null. 2007-05-11 13:24:31 +02:00
Jacek Caban 98da8e2823 mshtml: Split code from OnDataAvailable. 2007-05-11 13:24:25 +02:00
Jacek Caban 12aa9e33c5 mshtml: Added IHTMLBodyElement::CreateTextRange implementation. 2007-05-10 12:15:00 +02:00
Jacek Caban 700ccaf767 mshtml: CGID_Undocumented is CGID_DocHostCmdPriv. 2007-05-10 12:14:51 +02:00
Jacek Caban f0649f3731 mshtml: Added IHTMLTxtRange::get_htmlText implementation. 2007-05-10 12:14:41 +02:00
Jacek Caban 573d612de4 mshtml: Reimplement IHTMTxtRange on top of nsIDOMRange. 2007-05-10 12:14:21 +02:00
Jacek Caban 4ccee1ae49 mshtml: Remove auto detection of Mozilla and Mozilla ActiveX control. 2007-05-07 14:30:20 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Jacek Caban c747ece6c7 mshtml: Fix offset in OnDataAvailable call. 2007-04-30 12:19:46 +02:00
Jacek Caban fa355572a2 mshtml: Added IDM_COMPOSESETTINGS and IDM_HTMLEDITMODE stub implementation. 2007-04-13 11:38:26 +02:00
Jacek Caban 11fc8ccb6d mshtml: Added IPersistFile::Save implementation. 2007-04-13 11:38:20 +02:00
Jacek Caban 58a261b7d1 mshtml: Correctly handle utf-16 encoded pages. 2007-04-13 11:38:17 +02:00
Jacek Caban f44e289a86 mshtml: Added IHTMLBodyElement::get_background implementation. 2007-04-13 11:38:12 +02:00
Jacek Caban 8b13f18df0 mshtml: Change TRACE to FIXME in stubs. 2007-04-13 11:38:08 +02:00
Andrew Talbot 824e452a9e mshtml: Void functions should not return a value. 2007-04-10 11:05:03 +02:00
Jacek Caban 0b94f19cb9 mshtml: Added DIID_DispHTMLDocument to QueryInterface. 2007-03-29 21:01:24 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Jacek Caban 5fd727fa2a mshtml: Use get_client_disp_property in SetClientSite to get silent property. 2007-03-09 21:13:16 +01:00
Jacek Caban bf6d0f2272 mshtml: Release IOleCommandTarget in IPersistMoniker::Load. 2007-03-08 13:54:10 +01:00
Jacek Caban 4bd9f22f1d mshtml: Remove false FIXME. 2007-03-07 12:08:52 +01:00
Jacek Caban 7437cc1e96 mshtml: Improve ReadSegments implementation. 2007-03-07 12:08:49 +01:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Jacek Caban b3cad3268b mshtml: Added more tests. 2007-03-02 11:39:50 +01:00
Jacek Caban ff3b2780ec mshtml: Always read data in OnDataAvailable. 2007-03-02 11:39:47 +01:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Jacek Caban bdf2bf93a8 mshtml: Make load_gecko thread safe. 2007-02-14 14:42:34 +01:00
Jacek Caban 3866ce3f7a mshtml: Don't release window if it wasn't created. 2007-02-14 11:57:11 +01:00
Jacek Caban b274242f9c mshtml: Added comments about frozen/not frozen interface. 2007-02-14 11:56:48 +01:00
Jacek Caban facf47537c mshtml: Use wine_url in GetSpec if possible. 2007-02-14 11:56:42 +01:00
Jacek Caban 82adfaaef9 mshtml: Forward GetAsciiSpec to GetSpec. 2007-02-14 11:56:39 +01:00
Jacek Caban 693e62c858 mshtml: Added SchemeIs implementation. 2007-02-14 11:56:31 +01:00
Jacek Caban 2a0d583e72 mshtml: Return "wine" as scheme of nsIURI if wine_url is set. 2007-02-14 11:56:17 +01:00
Jacek Caban 31bbe886f0 mshtml: Handle resource protocol like chrome protocol. 2007-02-12 13:46:31 +01:00
Jacek Caban 9750893eff mshtml: Call SetWineURL in Clone. 2007-02-12 13:43:29 +01:00
Jacek Caban 124cb44903 mshtml: Start binding asynchronously. 2007-02-12 13:43:20 +01:00
Jacek Caban 48b445b80d mshtml: Move AddRequest call to OnStartBinding. 2007-02-12 13:42:03 +01:00
Jacek Caban 2e53ac9d8e mshtml: Remove no longer used [Get|Set]Moniker functions. 2007-02-12 13:41:51 +01:00
Alexandre Julliard fe57f04a44 mshtml: Don't test the contents of an output parameter. 2007-02-12 13:41:35 +01:00
Jacek Caban 0da187dda8 mshtml: Don't store moniker in nsURI. 2007-02-12 13:41:22 +01:00
Jacek Caban 5ea16d7856 mshtml: Added [Set|Get]WineURL functions to nsIWineURI. 2007-02-12 13:39:07 +01:00
Jacek Caban 8beb142b94 mshtml: Store URL in unicode in nsURI. 2007-02-12 13:38:58 +01:00
Detlef Riekenberg 143e4af5fb mshtml: Add a missing space. 2007-02-05 12:34:40 +01:00
Jacek Caban f79ffe4735 mshtml: Fixed protocol tests on IE7. 2007-01-23 11:27:21 +01:00
Paul Vriens 6651f9ba67 mshtml/tests: Fix compilation for older gcc versions (and MinGW). 2007-01-15 14:39:07 +01:00
Paul Vriens 6338caa9ed mshtml/tests: Cast-qual warning fix. 2007-01-12 20:41:26 +01:00
Andrew Talbot c48a7faa7a mshtml: Declare a variable static. 2007-01-12 11:23:54 +01:00
James Hawkins d06ff0ea69 mshtml: Use the correct variable in the FIXME. 2007-01-11 12:05:40 +01:00
Francois Gouget ebe52bf535 mshtml/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2007-01-08 12:09:10 +01:00
Francois Gouget bbb2b7fd98 Assorted spelling fixes. 2007-01-04 11:27:31 +01:00
Louis Lenders e7bebaeb13 mstml: Update Dutch resource. 2007-01-04 09:51:54 +01:00
Jacek Caban bad3434330 mshtml: Fix failing test. 2006-12-27 13:02:26 +01:00
Alexandre Julliard f92ef1c543 makedep: Add support for magic comments in .rc files so we can generate proper dependencies for them. 2006-12-26 15:02:03 +01:00
Alexandre Julliard 365a463b1e make_makefiles: Automatically add IDL header targets to the .gitignore file. 2006-12-24 17:31:52 +01:00
Jacek Caban f35c66c693 mshtml: Improve loading document detection in AsyncOpen. 2006-12-22 10:20:56 +01:00
Jacek Caban 30157c3a70 mshtml: Use Gecko's AsyncOpen if URI is has no nsIWineURI interface. 2006-12-22 10:20:51 +01:00
Jacek Caban 902a39f0bd mshtml: Use pvaIn in exec_print. 2006-12-15 12:18:24 +01:00
Jacek Caban cc6e4e2525 mshtml: Set default print template in exec_print. 2006-12-14 12:52:10 +01:00
Jacek Caban bf3e5bb308 mshtml: Fixed handling chrome protocol. 2006-12-14 12:52:05 +01:00
Jacek Caban 6b48198d3c mshtml: Don't do anything in SetNSContainer if new container is the same as previous. 2006-12-14 12:51:50 +01:00
Jacek Caban d8a761c0ab mshtml: Fix loading pages in containers without document. 2006-12-14 12:51:23 +01:00
Jacek Caban f609a768e7 mshtml: Added nsACString_SetData function and use it instead of nsACString_Init when we return string value. 2006-12-14 12:51:16 +01:00
Jacek Caban 7aa9ea4ec0 mshtml: Added beginning of IDM_PRINT implementation. 2006-12-13 16:51:48 +01:00
Jacek Caban 139d2b813d mshtml: Added test of CompareUrl. 2006-12-13 16:51:39 +01:00
Jacek Caban 13f7784634 mshtml: Use HTMLWindow::alert in nsPromptService::Alert. 2006-12-12 20:11:56 +01:00
Jacek Caban 62f1ef9d85 mshtml: Added alert implementation. 2006-12-12 20:11:31 +01:00
Jacek Caban fb4980d6a9 mshtml: Added get_parentWindow implementation. 2006-12-07 11:29:55 +01:00
Francois Gouget bf9865d302 mshtml: Add '\n' to Wine trace. 2006-12-05 10:31:47 +01:00
Jacek Caban bc71685676 mshtml: Added handling of right and left arrow keys in editing mode. 2006-12-01 12:26:43 +01:00
Dmitry Timoshkov b2bffdda83 mshtml: Make some data const. 2006-11-29 12:44:27 +01:00
Francois Gouget 6af5ae8027 mshtml: Add missing '\n' in Wine trace. 2006-11-28 12:13:50 +01:00
Jacek Caban 958596b70a mshtml: Added Exec(IDM_FONTSIZE) implementation. 2006-11-24 11:50:58 +01:00
Jacek Caban c6d7f14296 mshtml: Added missing break. 2006-11-24 11:50:42 +01:00
Jacek Caban 7f9a5fac71 mshtml: Remove nscstring and nscwstring typedefs. 2006-11-17 15:50:36 +01:00
Jacek Caban 2f853fadb1 mshtml: Added semi-stub createStyleSheet implementation. 2006-11-17 15:50:32 +01:00
Jacek Caban 84af63604a mshtml: Added put_fontSize implementation. 2006-11-17 15:50:27 +01:00
Jacek Caban c8c9a5fb20 mshtml: Added put_backgroundColor implementation. 2006-11-17 15:50:23 +01:00
Jacek Caban 7c478bf719 mshtml: Added put_fontFamily implementation. 2006-11-17 15:50:19 +01:00
Jacek Caban 5a9980e1b7 mshtml: Store nsIDOMCSSStyleDeclaration in HTMLStyle. 2006-11-17 15:49:36 +01:00
Jacek Caban 5b1af5b7d1 mshtml: Added get_style implementation. 2006-11-17 15:49:30 +01:00
Kovács András 9bf5140575 mshtml: HTMLElementCollection_item implementation. 2006-11-14 14:41:34 +01:00
Jacek Caban 396b0ad126 mshtml: Added border implementation. 2006-11-13 12:52:05 +01:00
Jacek Caban 2a78268430 mshtml: Added IDM_ORDERLIST implementation. 2006-11-13 12:51:52 +01:00
Jacek Caban 8d76b3deed mshtml: Added IDM_UNORDERLIST implementation. 2006-11-13 12:51:47 +01:00
Jacek Caban 80db14763d mshtml: Added IDM_HORIZONTALLINE implementation. 2006-11-13 12:51:40 +01:00
Jacek Caban 6f4146a30b mshtml: Added IDM_INDENT and IDM_OUTDENT implementation. 2006-11-13 12:51:34 +01:00
Jacek Caban 7a1a6cbb9d mshtml: Remove menus that are in shdoclc.dll. 2006-11-13 12:51:24 +01:00
Jacek Caban 8ea593267c mshtml: Use popup menu from shdoclc.dll. 2006-11-10 11:34:35 +01:00
Jacek Caban 4769950d66 mshtml: Added QueryStatus(IDM_JUSTIFY*) implementation. 2006-11-09 14:34:25 +01:00
Jacek Caban c64326e62c mshtml: Code clean up. 2006-11-09 14:34:18 +01:00
Jacek Caban 95cc9db828 mshtml: Added Exec(IDM_JUSTIFYLEFT) and Exec(IDM_JUSTIFYRIGHT) implementataion. 2006-11-09 14:34:12 +01:00
Jacek Caban 8968c399e6 mshtml: Added Exec(IDM_JUSTIFYCENTER) implementation. 2006-11-09 14:34:04 +01:00
Jacek Caban 40d31d869b mshtml: Added IDM_FORECOLOR implementation. 2006-11-09 14:33:56 +01:00
Jacek Caban f0871b5814 mshtml: Added Exec(IDM_FONTSIZE) stub. 2006-11-09 14:33:50 +01:00
Jacek Caban fd5da1a7b9 mshtml: Added QueryStatus(IDM_FONTSIZE) implementation. 2006-11-09 14:33:42 +01:00
Jacek Caban cab25424d2 mshtml: Added QueryStatus(IDM_FONTNAME) implementation. 2006-11-09 14:33:35 +01:00
Jacek Caban 53fe2d1531 mshtml: Fixed query_edit_status when Gecko is not available. 2006-11-06 12:24:07 +01:00
Jacek Caban 64fe277428 mshtml: Added implementation of QueryStatus(IDM_UNDERLINE). 2006-11-02 21:03:58 +01:00
Jacek Caban 5e0d749c2f mshtml: Added implementation of QueryStatus(IDM_ITALIC). 2006-11-02 21:03:47 +01:00
Jacek Caban da3f18745e mshtml: Added more QueryStatus tests. 2006-11-02 21:03:39 +01:00
Jacek Caban 227be057c2 mshtml: Added implementation of QueryStatus(IDM_BOLD). 2006-11-02 21:03:31 +01:00
Jacek Caban f003d3c569 mshtml: Added more edit mode tests. 2006-11-02 21:03:25 +01:00
Jacek Caban cf075bdf00 mshtml: Load about:blank in exec_editmode. 2006-11-02 21:03:10 +01:00
Jacek Caban d6108c6c24 mshtml: Added beginning of set_progress task implementation. 2006-11-02 21:03:01 +01:00
Jacek Caban 0cd636c355 mshtml: Call SetStatusText in set_parsecomplete. 2006-11-02 21:02:28 +01:00
Jacek Caban f09890eade mshtml: Get DISPID_AMBIENT_SILENT and DISPID_AMBIENT_OFFLINECONNECTED property in IPersistMoniker::Load. 2006-11-02 21:02:20 +01:00