Commit Graph

65 Commits

Author SHA1 Message Date
Jacek Caban 7cdad62b97 mshtml: Improved focus handling. 2010-04-13 21:12:08 +02:00
Jacek Caban 456e53bcf9 mshtml: Optimize more nsAString handling. 2010-01-29 13:30:08 +01:00
Jacek Caban deef140186 mshtml: Moved readystate to HTMLWindow. 2009-11-03 21:25:20 +01:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00
Jacek Caban fa1388355f mshtml: Use create_nselem in exec_hyperlink. 2009-10-20 14:15:56 +02:00
Jacek Caban 6f48c43581 mshtml: Use create_nselem in set_font_size. 2009-10-20 14:15:52 +02: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 b827996515 mshtml: Moved NSContainer to HTMLDocumentObj. 2009-09-17 09:40:35 -05:00
Marcus Meissner 635ec22e4b mshtml: Fixed second buffer argument to MultiByteToWideChar. 2009-02-05 13:12:44 +01:00
Jacek Caban 7af33293a4 mshtml: Pass window to GetCommandState and DoCommand. 2008-12-22 10:29:19 +01:00
Marcus Meissner 521eafdec0 mshtml: Fixed reversed NULl check. 2008-10-31 13:06:47 +01:00
Jacek Caban 7c7b7f0ae7 mshtml: Use stored nsdoc in exec_hyperlink. 2008-10-09 12:27:36 +02:00
Jacek Caban 23937c4704 mshtml: Use stored nsdoc in set_font_size. 2008-10-09 12:27:27 +02:00
Jacek Caban d02c37aa4e mshtml: Remove unneeded includes. 2008-04-07 13:36:17 +02:00
Austin English f4c4488df8 Spelling fixes. 2008-04-07 13:36:17 +02:00
Jacek Caban c94e646fc1 mshtml: Fixed invalid use of -1 length in WideCharToMultiByte calls. 2008-03-26 23:38:36 +01:00
Jacek Caban 45b862d5ca mshtml: Don't mix nsresult with HRESULT. 2008-02-18 12:57:10 +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 c58ca1312c mshtml: Handle fClearDirty flag in IPersistStreamInit::Save. 2008-01-10 13:20:23 +01:00
Jacek Caban 559649c443 mshtml: Remove not used argument in nsAString_GetData. 2007-12-17 11:49:19 +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 2702dfffbf mshtml: Always initialize output in exec_fontname. 2007-11-20 13:20:57 +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 99e6592c9d mshtml: Move most code from handle_editor_load to exec_editmode. 2007-10-09 12:34:35 +02:00
Gerald Pfeifer 47032fd07c mshtml: Removed unused function get_child_text_node(). 2007-10-02 12:28:09 +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 21214ed3d4 mshtml: Added Exec(IDM_FONT) stub implementation. 2007-09-19 14:56:41 +02:00
Rob Shearman 1fbedd92d4 mshtml: Implement IDM_HYPERLINK. 2007-09-12 14:06:54 +02:00
Rob Shearman 41a3b734f9 mshtml: Implement PersistStreamInit_IsDirty when in edit mode. 2007-09-12 14:06:01 +02:00
Rob Shearman 006d9f940d mshtml: Store the nsIEditor interface in the NSContainer object for use in implementing editor commands. 2007-09-12 14:05:17 +02:00
Jacek Caban 50868fe751 mshtml: Added IDM_SELECTALL implementation. 2007-08-13 11:38:00 +02:00
Dmitry Timoshkov e4fb0fe9e9 mshtml: Constify some data. 2007-07-31 12:35:07 +02:00
Rob Shearman 4dfdec2ef5 mshtml: Handle Ctrl-Home and Ctrl-End in edit mode. 2007-07-26 11:51:56 +02:00
Rob Shearman bbb03cf16b mshtml: Call IDocHostUIHandler_HideUI and IDocHostUIHandler_ShowUI when changing an UI active window to be in edit mode.
Add tests for the behaviour of changing edit mode when a UI window is active.
2007-07-25 13:03:21 +02:00
Jacek Caban cd9fbc52ad mshtml: Added Exec(IDM_DELETE) implementation. 2007-06-27 11:44:26 +02:00
Jacek Caban 67f87c5529 mshtml: Added IDM_DELETE support in QueryStatus. 2007-06-27 11:44:21 +02:00
Jacek Caban a8de2abbc2 mshtml: Correctly handle delete key in editor mode. 2007-06-27 11:44:13 +02:00
Jacek Caban 893eec9ff7 mshtml: Don't check out VT in exec_fontsize. 2007-06-22 12:19:37 +02:00
Jacek Caban 068ce61523 mshtml: Don't crash in set_font_size if range_cnt is 0. 2007-06-11 20:23:46 +02:00
Jacek Caban 371b0edb8e mshtml: Added edit mode IDM_CUT implementation. 2007-06-11 15:22:35 +02:00
Jacek Caban 775425b24b mshtml: Added edit mode IDM_PASTE implementation. 2007-06-11 15:22:31 +02:00
Jacek Caban 4231c9e2ee mshtml: Added edit mode IDM_COPY implementation. 2007-06-11 15:22:27 +02:00
Jacek Caban b0fc3115c9 mshtml: Added IDM_COMPOSESETTINGS implementation. 2007-06-11 15:22:08 +02:00
Jacek Caban 77be7f7b1c mshtml: Reimplement editor mode left key using command controller. 2007-06-11 15:18:55 +02:00
Jacek Caban a7a2c2e63a mshtml: Reimplement editor mode right key using command controller. 2007-06-11 15:18:51 +02:00
Jacek Caban b542374574 mshtml: Added editor mode down key implementation. 2007-06-11 15:16:59 +02:00
Jacek Caban ec24f20bb1 mshtml: Added editor mode up key implementation. 2007-06-11 15:16:55 +02:00