Commit Graph

55200 Commits

Author SHA1 Message Date
Dylan Smith
f148d82093 richedit: Got rid of useless function ME_VPosToPos.
The function was just returning the second parameter.  It had some
commented out code that indicated that previously backslashes weren't
included in the length.  Native wordpad doesn't handle backspaces in a
special way, so this must have been an internal representation that
complicated finding the position of characters.
2009-02-09 13:05:12 +01:00
Dylan Smith
d306b6b5e9 richedit: Removed some conditions that are always taken.
ME_GetCursorCoordinates had two conditions that were always taken.  The
first condition was if(pCursor->pRun->type == diRun) was following an
assertion making the exact same check.  The next one, if(row), should
always be taken, otherwise the richedit controls are in a corrupt state,
therefore an assertion is more appropriate.
2009-02-09 13:05:12 +01:00
Dylan Smith
4b7e8f185b richedit: Avoid duplication in make string functions using ME_MakeStringB.
I found that ME_MakeStringB was previously unused, and that the other
ME_MakeString functions repeated code that was already in ME_MakeStringB.
Making ME_MakeStringB static and using it to avoid duplicate code seemed
like a better idea than removing the function.
2009-02-09 13:05:12 +01:00
Dylan Smith
f53f40bcb3 richedit: Prevent string trunction due to NULL characters. 2009-02-09 13:05:12 +01:00
Dylan Smith
1ceb903f9d richedit: Simplified ME_UpdateSelectionLinkAttribute. 2009-02-09 13:05:12 +01:00
Dylan Smith
71d797c55c richedit: Directly get start and end of text on Ctrl-Home or Ctrl-End.
Previously it found the start or end by traversing the linked lists of
run, rows, paragraphs, and cells from the current position of the
cursors.  Clearly it is better to get the start or end directly to make
it a constant time operation.
2009-02-09 13:05:12 +01:00
Dylan Smith
c2c2c1117e richedit: Wrap even when message says not to repaint.
Wrapping is needed to be done even when repainting isn't done since
later messages expect line breaks to reflect the current text.  Some
message can specify not to paint the sceen, but this should prevent
wrapping from being done.
2009-02-09 13:05:12 +01:00
Alexandre Julliard
6ae7b1f3e0 include: Moved VWIN32 ioctl definitions out of winioctl.h. 2009-02-09 13:05:12 +01:00
Alexandre Julliard
72fdb74326 setupapi: Don't use 'interface' as variable name, since it can be defined to a keyword. 2009-02-09 13:04:55 +01:00
Alexandre Julliard
0a81b7887f jscript: Rename the GetObjectW variable to avoid conflict with the function of the same name. 2009-02-09 13:03:59 +01:00
Alexandre Julliard
7682bc6f88 rsaenh: Rename the HANDLETABLE structure to avoid conflicts with wingdi.h. 2009-02-09 13:03:35 +01:00
Alexandre Julliard
8bb21b710e include: Undefine a few Unicode macros that conflict with interface functions. 2009-02-09 13:03:09 +01:00
Andrew Talbot
e3c5225353 qcap: Remove an unused function. 2009-02-09 12:22:52 +01:00
Andrew Talbot
9a079a64e6 cabinet: Declare a function static. 2009-02-09 12:22:49 +01:00
Juan Lang
76f4b9b053 rpcrt4: Don't abort reading from a pipe if a single read is short. 2009-02-09 12:09:01 +01:00
Juan Lang
c7d65aa7e1 cryptui: Delete the private keys if requested when they're successfully exported. 2009-02-09 12:08:39 +01:00
Juan Lang
ccc2be7470 cryptui: Save private key in temporary store when exporting it. 2009-02-09 12:08:34 +01:00
Juan Lang
af87814ac6 cryptui: Ensure a certificate's private key is exportable before allowing it to be selected for export. 2009-02-09 12:08:27 +01:00
Juan Lang
fd3cd61b5d cryptui: Correct return value of the user cancels the export wizard. 2009-02-09 12:08:20 +01:00
Juan Lang
0d961d9ce3 cryptui: Implement exporting to a PFX file. 2009-02-09 12:08:15 +01:00
Juan Lang
8cb9702265 cryptui: Skip password page when moving backward through the export wizard if it wasn't shown in the first place. 2009-02-09 12:08:09 +01:00
Juan Lang
0eefd4fb3b cryptui: Validate password in export wizard. 2009-02-09 12:08:04 +01:00
Juan Lang
6209459b21 cryptui: Only show password page if the private key is to be exported. 2009-02-09 12:07:28 +01:00
Juan Lang
9c52df8364 cryptui: Add a password page to the export wizard. 2009-02-09 12:07:22 +01:00
Juan Lang
7dae1dc512 cryptui: Enable/disable PFX choice based on whether the private key is to be exported. 2009-02-09 12:07:12 +01:00
Juan Lang
f09b7fa12f cryptui: Set default export format based on whether the private key is to be exported. 2009-02-09 12:07:06 +01:00
Juan Lang
bd3c992795 cryptui: Make a copy of export info in CryptUIWizExport. 2009-02-09 12:06:56 +01:00
Juan Lang
53c84a8518 cryptui: Prompt whether to export the private key from CryptUIWizExport. 2009-02-09 12:06:48 +01:00
Michael Stefaniuc
2caf7b8669 include: Change two DWORD to DWORD_PTR in vfw.h to match the DDK. 2009-02-09 12:06:23 +01:00
Michael Stefaniuc
fb9b95b7a9 riched20: Fix some Win64 compiler warnings.
- A HWND can be safely marshaled over a LONG as its payload is not
  a pointer but a user handle.
- Use GetWindowLongPtr instead of GetWindowLong to retrieve a pointer.
2009-02-09 12:06:20 +01:00
Michael Stefaniuc
df271e0e8f spoolss: Add missing LeaveCriticalSection on error path (Smatch). 2009-02-09 12:06:15 +01:00
Aric Stewart
a840c35d42 msctf: Hook up ITfContextOwnerCompositionSink if present. 2009-02-09 12:06:11 +01:00
Juan Lang
42be55d744 crypt32: Fix a regression in chain tests.
Relaxing the tests on older versions of Windows caused a couple tests
to fail on more recent ones, which was unintended.
2009-02-09 12:06:02 +01:00
Artem Reznikov
e9996b9be4 avifil32: Ukranian translation. 2009-02-09 12:05:54 +01:00
Alexandre Julliard
82ea2994e8 winepath: Fixed the wmain() definition. 2009-02-06 23:20:27 +01:00
Alexandre Julliard
8e71504e76 programs: Don't make apps Unicode if they don't use the command line. 2009-02-06 23:20:01 +01:00
Alexandre Julliard
7ca85aa9ea winmm: Disable system thread if poll() support is missing. 2009-02-06 22:33:06 +01:00
Alexandre Julliard
a5947ffcd1 winegcc: Don't pass the as/ld/nm commands to winebuild.
winebuild should be able to find them on its own.
2009-02-06 20:35:56 +01:00
Alexandre Julliard
88fd1ba7b5 makefiles: Pass the target flags to winegcc. 2009-02-06 20:31:59 +01:00
Aurimas Fischer
cb57ebcaf2 notepad: Add Lithuanian translation. 2009-02-06 16:41:45 +01:00
Alistair Leslie-Hughes
6421c47986 mshtml: Implement IHTMLStyle_get_backgroundColor. 2009-02-06 16:41:08 +01:00
Alistair Leslie-Hughes
20bd88895c mshtml: Implement IHTMLStyle_put_fontWeight. 2009-02-06 16:41:01 +01:00
Detlef Riekenberg
9056d4d2d4 spoolss: Move routing functions to a seperate file. 2009-02-06 16:40:51 +01:00
Jeremy White
0639904cc2 sane.ds: More completely implement ICAP_XFERMECH, with helper functions. 2009-02-06 16:40:41 +01:00
Alexandre Julliard
25624b677d widl: Print all NdrFcShort parameters as shorts to avoid warnings for negative values. 2009-02-06 14:54:03 +01:00
Alexandre Julliard
fcc096083f widl: Add printf format attribute on all printf-like functions and fix resulting warnings. 2009-02-06 14:54:03 +01:00
Alexandre Julliard
ef6971da40 widl: Replace unsigned long and size_t by unsigned int where appropriate. 2009-02-06 14:54:03 +01:00
Alexandre Julliard
844c8a1804 widl: Add a dummy reference to the filter function to avoid a warning. 2009-02-06 14:54:02 +01:00
Alexandre Julliard
a0fb6246c0 widl: Avoid using GetExceptionCode outside of an exception handler. 2009-02-06 14:54:02 +01:00
David Adam
f1bb04ff8a d3dx8: Implement D3DXComputeBoundingBox. 2009-02-06 14:54:02 +01:00