Module: wine
Branch: master
Commit: fc618ab041e3c45a10cdbecc44203d70d3bb73b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc618ab041e3c45a10cdbecc4…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com>
Date: Mon Aug 10 10:53:48 2009 -0400
richedit: Add closing actions for IRichEditOle_fnInsertObject.
Previously inserting the object didn't result in the text being wrapped,
which would cause an assertion error when this is checked for during
repainting the text. It is also important to invalidate the affected
areas of text, update the scrollbar, and end the creation of undo
transactions for this insertion.
---
dlls/riched20/caret.c | 2 +-
dlls/riched20/richole.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 33dbdaf..058d278 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -459,7 +459,7 @@ void ME_InsertOLEFromCursor(ME_TextEditor *editor, const REOBJECT* reo, int nCur
MERF_GRAPHICS);
di->member.run.ole_obj = ALLOC_OBJ(*reo);
ME_CopyReObject(di->member.run.ole_obj, reo);
- ME_SendSelChange(editor);
+ ME_ReleaseStyle(pStyle);
}
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index 326ecc5..61cf6bb 100644
--- a/dlls/riched20/richole.c
+++ b/dlls/riched20/richole.c
@@ -388,6 +388,8 @@ IRichEditOle_fnInsertObject(IRichEditOle *me, REOBJECT *reo)
if (reo->polesite) IOleClientSite_AddRef(reo->polesite);
ME_InsertOLEFromCursor(This->editor, reo, 0);
+ ME_CommitUndo(This->editor);
+ ME_UpdateRepaint(This->editor);
return S_OK;
}
Module: wine
Branch: master
Commit: eb8f95b5b6df05033d5c20145412cc7f7774835e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb8f95b5b6df05033d5c20145…
Author: Austin English <austinenglish(a)gmail.com>
Date: Sat Aug 8 17:17:15 2009 -0500
ntdll: Quiet a noisy fixme.
---
dlls/ntdll/nt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index c7d931c..8679da5 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1330,7 +1330,7 @@ NTSTATUS WINAPI NtPowerInformation(
}
case SystemExecutionState: {
PULONG ExecutionState = lpOutputBuffer;
- FIXME("semi-stub: SystemExecutionState\n");
+ WARN("semi-stub: SystemExecutionState\n"); /* Needed for .NET Framework, but using a FIXME is really noisy. */
if (lpInputBuffer != NULL)
return STATUS_INVALID_PARAMETER;
/* FIXME: The actual state should be the value set by SetThreadExecutionState which is not currently implemented. */