Commit Graph

55222 Commits

Author SHA1 Message Date
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
David Adam 0ccc431a94 d3dx8: Implement D3DXComputeBoundingSphere. 2009-02-06 14:54:02 +01:00
Luis C. Busquets Pérez 1d3889fa6f d3dx8: Add tests for D3DXGetFVFVertexSize. 2009-02-06 14:54:02 +01:00
David Adam 496bc4d1b4 d3dx8: Implement D3DXGetFVFVertexSize. 2009-02-06 14:54:02 +01:00
David Adam cdf61610f3 d3dx8: Change the debug channel into the generic d3dx. 2009-02-06 14:54:02 +01:00
David Adam 952d10a67f d3dx8: Remove useless includes. 2009-02-06 14:54:02 +01:00
David Adam edef19f8d6 d3dx8: Move some functions into core.c to match the header file layout. 2009-02-06 14:54:01 +01:00
Alexandre Julliard fb04bcf638 Fix position of CDECL qualifier for functions that return pointers. 2009-02-06 14:54:01 +01:00
Michael Stefaniuc fc46bb1479 comctl32/tests: Remove superfluous pointer casts. 2009-02-06 14:54:01 +01:00
Dylan Smith 5c91d5356e richedit: Avoided searching for adjacent paragraphs through runs.
When finding an adjacent paragraph, the next_para and prev_para pointers
should be used because they are direct pointers, a constant time
operation.  Instead I found some places in the code that searched through
the general linked list to get to an adjacent paragraph, which is a linear
time operation, depending on the number of rows and runs in between
paragraphs.
2009-02-06 14:54:01 +01:00
Dylan Smith 5a84e193c2 richedit: Removed incorrect FIXME comment.
The fixme comment is suggesting wrapping a paragraph within a function
that is for moving the selection cursor up or down a line when the up
or down keys are pressed.  The contents fo paragraph aren't being
changed, so there is no need to wrap the paragraph.
2009-02-06 14:50:27 +01:00
Dylan Smith e082dd3042 richedit: Add paragraph field to wrap context to avoid searching for it.
More case of searching for the paragraph through the linked list when
is was already previously available.  Since each wrap context is used
for wrapping each paragraph, I decided to add the reference to the
paragarph in the structure.
2009-02-06 14:50:27 +01:00
Dylan Smith d20e057d8e richedit: Accept paragraph as parameter for ME_CharOfsFromRunOfs.
Rather than get the paragraph from the run, the function allows the
caller to provide the paragraph, since it is already available.  This
reduces unnecessary traversals of lists that take longer as more runs
and rows are in the paragraph.
2009-02-06 14:50:27 +01:00
Dylan Smith 12ca50db7a richedit: Get the paragraph with ME_RunOfsFromCharOfs.
The ME_RunOfsFromCharOfs function finds the paragraph before finding the
run and offset within the run, so the function may as well be able to
return this paragraph to the caller.  Many callers to the function
instead find the paragraph from the run, which ends up unnecessarily
traversing a linked list of runs within the paragraph.
2009-02-06 14:50:27 +01:00
Dylan Smith a5bfa1a2ab richedit: Properly destroy context in two places.
Whenever ME_InitContext is called, ME_DestroyContext should be used to
clean it up.  This way the context can be extended easily by modifying
those two functions.  Instead, these two places of code just released
the DC, without using ME_DestroyContext, so the created brush for the
margin was not deleted.
2009-02-06 14:50:27 +01:00
Dylan Smith ea9e062b6c richedit: Removed unnecessary calls to ME_WrapMarkedParagraphs.
These calls to ME_WrapMarkedParagraphs never do anything, and don't make
sense to be called in these places. These places are for ME_MoveCaret,
and ME_ArrowHome, which both don't involve any text being modified, and
all (direct and indirect) calls to these functions are done after the
text has already been wrapped.
2009-02-06 14:50:27 +01:00
Dylan Smith a490e155dc richedit: Simplified the character length delete protection.
The value for nMaxChars can be found easier by using ME_GetTextLength.
2009-02-06 14:50:27 +01:00
Juan Lang 1f3fd357db crypt32: Fix some test failures on older versions of Windows. 2009-02-06 14:50:27 +01:00
Aric Stewart 1adb1d8aea msctf: Define ITfContextOwnerCompositionSink. This is implemented by a tsf aware application. 2009-02-06 14:50:26 +01:00
Aric Stewart 67d00e3ee6 msctf: When a Context is created connect to the ITextStoreACP if provided and create and advise our ITextStoreACPSink. 2009-02-06 14:50:26 +01:00
Aric Stewart 5e7493d51c msctf: Define ITextStoreACP. 2009-02-06 14:50:26 +01:00
Aric Stewart 44148fe99a msctf: Add stub ITextStoreACPSink. 2009-02-06 14:50:26 +01:00
Jacek Caban 21e1b15795 mshtml: Remove document observer before releasing nsdoc. 2009-02-06 14:50:26 +01:00
Jacek Caban d0c6939663 mshtml: Wine Gecko 0.9.1 release. 2009-02-06 14:50:26 +01:00
Paul Vriens f42e507037 fusion/tests: Fix some tests failures on .NET 1.1 (and Win98). 2009-02-06 13:05:31 +01:00
Paul Vriens 09fc4e8063 fusion/tests: Fix a test failure on Win64. 2009-02-06 13:05:26 +01:00
Paul Vriens a89bd3f562 fusion/tests: Fix some test failures on systems with .NET 1.1. 2009-02-06 13:05:22 +01:00
Paul Vriens cf9f4dfa2a fusion/tests: Run tests correctly on Win98. 2009-02-06 13:05:06 +01:00
Michael Stefaniuc 2c11f3a5a5 winejack.drv: The dwParam1/dwParam2 function arguments are DWORD_PTR. 2009-02-06 13:04:57 +01:00