Commit Graph

10660 Commits

Author SHA1 Message Date
Justin Chevrier
564aceddca - Implement SPI_{GET,SET}POWEROFFACTIVE and SPI_SETLOWPOWERACTIVE.
- Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI
  value) to avoid an out of bounds condition.
- Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and
  SPI_{GET,SET)SETLOWPOWERACTIVE.
2005-02-21 20:40:44 +00:00
Lauri Tulmin
914c138e24 Horizontal scrollbar is hidden when edit control is emptied. 2005-02-21 20:39:52 +00:00
Maxime Bellengé
33c7e15f77 Take into account the new size of a column when the header size
change.
2005-02-21 20:38:31 +00:00
Christian Costa
56c701df3f Improved AVIDec.
Added 2 new callback functions to the transform template and moved all
of them into a funcs table.
2005-02-21 20:37:45 +00:00
James Hawkins
d5e2b7c843 Add RegOpenKey, RegCloseKey tests. 2005-02-21 20:37:26 +00:00
Marcelo Duarte
5cb9507ec1 Use "MS Shell Dlg" everywhere except for Japanese. 2005-02-21 18:38:36 +00:00
Hans Leidekker
a5e361e6b8 - Add support for color transform handles.
- Implement CreateColorTransform{A,W}, CreateMultiProfileTransform,
  DeleteColorTransform.
- Don't depend on lcms for the implementation of
  IsColorProfileTagPresent.
2005-02-21 18:38:15 +00:00
Hans Leidekker
2294e30dd4 - Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
  only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
  SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
  FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
  SHCreateProcessAsUserW, SHExtractIconsW,
  SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
  SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
  ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
2005-02-21 18:37:33 +00:00
Mike McCormack
59ce35aba8 Remove tabs and make formatting consistent. 2005-02-21 18:36:47 +00:00
Vincent Béron
06d7cae4d7 Add a stub for OleLoadPicturePath(). 2005-02-21 18:36:06 +00:00
Mike Hearn
4d49d8ca36 Avoid infinite loop when doing a typelib marshalled
IUnknown::QueryInterface by only doing an extra QI if requested IID is
not equal to marshalled IID.
2005-02-21 18:35:07 +00:00
Mike Hearn
80380eaa32 Allow loading of builtin typelibs. 2005-02-21 18:34:41 +00:00
Maxime Bellengé
7462a8f53f Fix SetItem so that items don't get wrongly re-ordered. 2005-02-21 18:34:17 +00:00
Hans Leidekker
1e33acaa43 Stub implementations for AbortPrinter, AddPortEx{A,W},
AddPrinterConnection{A,W}, ConnectToPrinterDlg,
DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W],
ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification,
FreePrinterNotifyInfo, ScheduleJob.
2005-02-21 18:33:55 +00:00
Dmitry Timoshkov
600086372a Take Shift key state into account while processing an accelerator.
Add a couple of test cases.
2005-02-21 18:33:27 +00:00
Maxime Bellengé
64a429671a Reverse the order for deleting the items in resetcontent to correctly
empty a comboboxex.
2005-02-21 18:31:02 +00:00
Juan Lang
9ebbd3e514 Fix NtQueryPerformanceCounter parameter checking. Spotted by Alex
Woods.
2005-02-21 18:27:58 +00:00
Robert Shearman
4390d003f4 - Better tracing.
- Small cleanup of creation functions.
2005-02-18 20:13:23 +00:00
Hans Leidekker
c6806cd204 Mark exports -noname when they are exported by ordinal only on
win98/2k.
2005-02-18 20:13:01 +00:00
Robert Shearman
95288f9148 - Move marshaling state machine into stub manager from ifstub.
- Add additional needed states for table-weak marshaling, as shown by
  tests.
- Protect external reference count from underflows/overflows.
2005-02-18 20:03:23 +00:00
Dmitry Timoshkov
53ccd49c58 - Always unlink children before sending WM_NCDESTROY message.
- Fix order of WM_DESTROY messages for the children's recursion.
- DestroyWindow should hide only visible windows.
- Add a test case for the above fixes.
2005-02-18 20:01:41 +00:00
Ulrich Czekalla
43b5576998 Duplicate Windows behaviour and use SendMessage for the SC_CLOSE
system command instead of PostMessage.
2005-02-18 20:00:57 +00:00
Aric Stewart
7e7b8cf4ef Fixed problems with my code for finding the PackageCode. 2005-02-18 20:00:34 +00:00
Christian Costa
87844214ab Fixed offsets calculations. 2005-02-18 12:53:26 +00:00
Robert Reif
99faf74774 Fix capture test to pass on windows 98 when no sound card present or
device already in use.
2005-02-18 12:52:14 +00:00
Robert Reif
e3566d8260 Fix timer tests to pass on windows 98. 2005-02-18 12:51:54 +00:00
Robert Reif
2b30370796 Fix block align test. 2005-02-18 12:51:43 +00:00
Alex Villacís Lasso
c2292eefb5 Implement OleFontImpl_QueryTextMetrics. 2005-02-18 12:51:23 +00:00
Gunnar Dalsnes
1b7e736334 When getting current directory on a drive different from the working
drive, _getdcwd incorrectly passed "X:\" (X = any drive) as path to
GetFullPathName. "X:" (without the backslash) is the correct thing to
use.
2005-02-18 12:51:00 +00:00
Vitaly Lipatov
926a86323d Rename SCROLL_GetScrollBarInfo to SCROLL_GetInternalInfo and make
allocation of a new info structure optional.
Add some descriptions.
2005-02-17 12:03:33 +00:00
Dmitry Timoshkov
9074f257e0 Convert winemenubuilder to unicode. 2005-02-17 11:51:44 +00:00
David Smith
3ab57cfe4d Fix for ICInfo() in msvideo when it is used to ask for a codec by
index.
2005-02-17 11:51:01 +00:00
Jakob Eriksson
e026ef742e Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. 2005-02-17 11:50:36 +00:00
Joris Huizer
e889f71269 - renamed file_operation_delete and to shfileops_delete
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
2005-02-17 11:50:25 +00:00
Alex Villacís Lasso
18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Jonathan Ernst
a37a4f6ce6 Add French resources. 2005-02-16 21:10:02 +00:00
Mike McCormack
0b1b703fdd Move product, feature and component enumeration functions to
registry.c.
2005-02-16 17:52:53 +00:00
James Hawkins
993fbb94e0 Fix improper type-conversions. 2005-02-16 17:52:35 +00:00
Rein Klazes
8417d41a24 Calling ValidateRect or ValidateRgn on a windows also validates the
children. Add a test to show the behavior.
2005-02-16 17:52:01 +00:00
Ulrich Czekalla
7df337514b Implement ES_CENTER and ES_RIGHT alignment styles. 2005-02-16 16:28:34 +00:00
Huw Davies
084e596a95 SetPath("") should return S_OK.
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Thomas Weidenmueller
e2f07fb444 Forward to user32 when appropriate. 2005-02-16 16:27:01 +00:00
Robert Reif
c50038542a Some block align cleanups. 2005-02-16 16:26:13 +00:00
Mike McCormack
3988d9c53b Add a border to the edit control, add some more controls. 2005-02-16 16:25:36 +00:00
Mike McCormack
9bef4830a5 Fix up the summary information code a little. 2005-02-16 16:25:09 +00:00
Aric Stewart
2e24400cc9 Stubs for MsiUseFeature. 2005-02-16 16:24:38 +00:00
Robert Reif
b8d6b310f9 Fixed invalid buffer size by rounding up to next multiple of
nBlockAlign.
Added test to verify buffer rounding behavior.
2005-02-16 16:09:02 +00:00
Lauri Tulmin
373dc8909f Make minimized windows stay minimized. 2005-02-16 16:08:18 +00:00
Mike McCormack
10e5c9e834 Remove const declaration from non-const function. 2005-02-16 16:07:11 +00:00
Mike McCormack
e2df8814ea Allow MsiViewExecute to be called twice on the same query. 2005-02-16 16:06:05 +00:00
Mike McCormack
64623067c3 Implement MsiDatabaseGetPrimaryKeys. 2005-02-16 16:05:11 +00:00
Mike McCormack
fa5cbb5a0f MsiGetComponentPath should allow null pointers for pcchBuf and
lpPathBuf.
2005-02-16 16:04:36 +00:00
Dmitry Timoshkov
39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Robert Shearman
2d2a39cc42 - Use I_RpcGetBuffer, instead of our own buffer routines to fix an
occasional test crash caused by heap corruption.
- Zero the memory block passed to RpcServerRegisterIfEx so we don't
  pass garbage in some of the fields we don't fill in.
- Return the correct error code from create_server and fix two handle
  leaks.
- TODO update.
2005-02-15 21:48:09 +00:00
Uwe Bonnes
dc16331c75 Use local buffer in RtlUpcaseUnicodeStringToCountedOemString, if
appropriate.
2005-02-15 20:48:38 +00:00
Ivan Leo Puoti
54d42573b1 Move Rtl*Registry* structs, defines and prototypes to winternl.h.
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Henning Gerhardt
d0cc21f45f Add/updated German resources. 2005-02-15 20:46:19 +00:00
Mike McCormack
af882e0e41 Reindent some code to improve readability. 2005-02-15 20:45:53 +00:00
Robert Shearman
b24193c344 - Add a stub implementation of RpcImpersonateClient.
- More tracing, particularly on error paths.
2005-02-15 20:45:37 +00:00
Paul van Schayck
1973138190 Only stop writing a volume label if we found a non writable fat
partition.
2005-02-15 15:47:58 +00:00
Robert Shearman
3b59fa8fce The Global Interface Table should do table-strong marshaling instead
of normal marshaling so that an interface can be retrieved more than
one time.
2005-02-15 15:47:44 +00:00
Robert Shearman
552cc7d5b3 - Remove cruft left over from previous RPC backend implementation in
the apartment structure.
- Don't pass an IPID by value for proxy_manager_create_ifproxy.
- Disable more of RPC_UnregisterInterface to prevent the RPC runtime
  using freed memory.
- Rename various external RPC backend functions so that they all have
  the same "RPC_" prefix.
- Reduce the timeout of the function that connects to a local server
  to 30s, like native.
2005-02-15 15:44:25 +00:00
Mike McCormack
a830bf55ca Define some extra SHFGI values. 2005-02-15 15:43:54 +00:00
Mike McCormack
0fba748f2a Add some more SPI values. 2005-02-15 15:43:43 +00:00
Robert Shearman
c5bb5182e8 Fix RPC server thread race. 2005-02-15 15:03:26 +00:00
Robert Shearman
1912e8896e ERROR_IO_PENDING is expected, so don't return an error. 2005-02-15 15:03:14 +00:00
Christian Costa
9a99dc14eb Implemented GetProperty method for keyboard device. 2005-02-15 15:03:03 +00:00
Robert Shearman
db6db7cb4c Make COM use the RPC runtime as the backend for RPC calls. Based on a
patch by Ove Kåven.
2005-02-15 15:02:49 +00:00
Alexandre Julliard
a9a1d61038 Brad DeMorrow
Tests for the ntdll registry functions.
2005-02-14 21:08:56 +00:00
Ivan Leo Puoti
5251126f66 Add implementation for RtlQueryRegistryValues, RtlCheckRegistryKey and
RtlDeleteRegistryValue.
2005-02-14 21:07:33 +00:00
Francois Gouget
dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Rémi Assailly
e84f07de2a char -> const char fixes. 2005-02-14 21:04:13 +00:00
Michael Jung
3b26f513b5 Check pdwDataLen param for non NULL'ness.
Implemented PP_IMPLTYPE and PP_VERSION provider params.
2005-02-14 20:54:43 +00:00
Robert Reif
ecdf41ef2c Add some missing \ns. 2005-02-14 20:54:12 +00:00
Hans Leidekker
89de92ef26 Implement and test access flags for color profiles.
Write the color profile back to disk when it was opened for writing.
2005-02-14 20:53:59 +00:00
Mike McCormack
2cc5f1e469 Add handling of %ws, %S and %C to _vns(w)printf, improve sprintf
tests.
2005-02-14 20:53:42 +00:00
Dmitry Timoshkov
ca7b25ca7b Make DDE implementation always work internally in Unicode. 2005-02-14 11:53:15 +00:00
Vincent Béron
d8a26f2c5f Suppress a warning. 2005-02-14 11:52:48 +00:00
Francois Gouget
208df0eb52 Test the interaction between IShellLink::SetIDList() and
IShellLink::SetPath().
Check what default values one gets on a fresh IShellLink object.
Add some more tests verifying nothing is lost in an IShellLink
save/load cycle. Merged the empty shelllink test with these.
2005-02-14 11:52:29 +00:00
Rein Klazes
5487f451e5 REGION_FrameRgn computes the frame region inside the original region. 2005-02-14 11:52:12 +00:00
Lauri Tulmin
caa43fe7df Update scroll info on WM_SETTEXT. 2005-02-14 11:51:52 +00:00
Robert Shearman
2ff1711487 Invoke objects in STA's in the correct thread by sending messages to
the hidden apartment window.
2005-02-14 11:50:51 +00:00
Jason Edmeades
35ae712600 Make the edit field created from a richedit control which was created
with ES_DISABLENOSCROLL, not have the ES_NUMBER style and hence accept
alphanumeric input.
2005-02-14 11:50:34 +00:00
Marcelo Duarte
574c0edabb Update the resources for Portuguese. 2005-02-14 11:12:30 +00:00
Christian Costa
e64aae00e0 Handle more properly versions for Direct3D and Direct3DDevice
objects.
2005-02-14 11:09:46 +00:00
Marcus Meissner
a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +00:00
Marcus Meissner
30ed10004b Output some more informations.
Mark one global variable static.
2005-02-14 11:07:55 +00:00
Mike McCormack
1afddb3cd3 Implement SQL delete query. 2005-02-14 11:07:13 +00:00
Filip Navara
4d20d165ff Don't crash if ShellFolder doesn't implement the IID_ISFHelper
interface.
2005-02-14 11:06:48 +00:00
Stefan Leichter
68e1208f59 Make advapi32_test.exe loadable on NT 3.51. 2005-02-14 11:06:16 +00:00
Eric Kohl
4d5c2318e6 Implement DelayedMove and FileExists. 2005-02-14 11:04:39 +00:00
Rémi Assailly
aa638df724 Small char -> const char fix. 2005-02-14 11:03:36 +00:00
Ge van Geldorp
a912c2a885 Error numbers >= 32 are to be expected. 2005-02-14 11:03:21 +00:00
Marcelo Duarte
37bc441d57 - Correct time zone for BRT and BRST.
- Better explained fixme.
2005-02-14 11:03:05 +00:00
Francois Gouget
fe2b31a569 Load advpack.dll at runtime to avoid link problems with the platform
sdk.
2005-02-14 11:02:46 +00:00
Francois Gouget
737da5864a Tests cannot use wine/debug.h because it does not exist on Windows. 2005-02-14 11:02:23 +00:00
Francois Gouget
a370f3fc0b ES_COMBO is not defined in the Windows headers. So define it if
necessary so the test can be compiled on Windows.
2005-02-14 11:02:06 +00:00
Robert Shearman
403d8e23cd Make Ole tests run on Windows 95. 2005-02-14 11:01:51 +00:00
Robert Reif
b33ef44105 Added parameter checking to timeGetDevCaps.
Added timer tests.
2005-02-14 11:00:59 +00:00
Mike Hearn
b4c4e755c4 Respect the flags member of the CHOOSEFONT structure, and don't
attempt to process bogus strings.
2005-02-14 11:00:37 +00:00
Robert Shearman
b0f02b28b9 - Implement AdjustTokenPrivileges, DuplicateTokenEx and
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
  set for the thread.
2005-02-11 11:52:06 +00:00
Robert Reif
f8833daef1 Removed printing of thread id for AddRef and Release because
WINEDEBUG=+tid gives the same result.
General consistency cleanup.
2005-02-11 11:49:05 +00:00
Alexandre Julliard
14f9b844ce Fixed profile cache flushing when no filename is specified (reported
by Mike Hearn).
2005-02-10 21:22:31 +00:00
Francois Gouget
9ee0586cfb Don't link with DirectSoundCreate8 as this prevents running with older
versions of DirectX.
2005-02-10 21:21:13 +00:00
Mike Hearn
d6b6700e85 Alter the version heuristics a bit. 2005-02-10 21:19:00 +00:00
Tom Wickline
eab1f45271 Sync to latest OpenGL specifications. 2005-02-10 20:29:39 +00:00
Robert Reif
50dc513b0f Print info about primary buffer format. 2005-02-10 20:26:20 +00:00
Paul Vriens
8efb8794e8 Check that ppZStencilSurface is not null. 2005-02-10 20:25:20 +00:00
Francois Gouget
4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Mike McCormack
d42081f8c9 Update headers, add MsiGetUserInfoA stub implementation. 2005-02-10 18:57:42 +00:00
Alexandre Julliard
ba7a43e208 Authors: Américo José Melo <mmodem00@netvisao.pt>, Francois Gouget <fgouget@codeweavers.com>
Translate the Wine resources to Portuguese.
2005-02-10 17:14:15 +00:00
Christian Costa
80a2e6e93b Added WAVE parser. 2005-02-10 17:13:18 +00:00
Robert Reif
0e0544aa72 Signed/unsigned fix and code cleanup. 2005-02-10 17:10:54 +00:00
Paul Vriens
0543774845 Use aliases for calls to ordinals. 2005-02-10 17:10:43 +00:00
Aric Stewart
fccb667f0e Added stubs for MsiGetShortcutTargetA/W. 2005-02-10 17:10:14 +00:00
Dmitry Timoshkov
781b451a70 Do not forget to allocate internal OPENFILENAMEW structure for 16-bit
GetOpenFileName, initialize it by zeros for 16/A cases.
2005-02-10 17:10:01 +00:00
Aric Stewart
c7e88e0820 Add the RegisterUser action. 2005-02-10 17:09:44 +00:00
Robert Reif
249bc5caea Always allocate an empty buffer. 2005-02-10 17:09:20 +00:00
Eric Pouech
1eed552b4d - rewrite MCI interfaces as Unicode interface (as it should be)
- made some winmm APIs rely on the Unicode version for the core
  implementation (instead of Ansi flavor)
2005-02-09 22:26:25 +00:00
Michael Jung
e40af1ccd0 Implemented CPGetProvParam's PP_ENUMCONTAINERS parameter type.
Added corresponding test.
Removed some tabs that slipped in with the last patch.
2005-02-09 22:25:09 +00:00
Ulrich Czekalla
3440035341 Handle 0 length buffers in MSI_FormatRecordW.
Remove unused buffer in deformat_string.
2005-02-09 22:22:25 +00:00
Mike Hearn
7acd363973 Change an ERR to a WARN. 2005-02-09 22:21:58 +00:00
Aric Stewart
c2abd83079 Do not track the temp files for custom actions based on the name from
the table because then we get conflicts and files not tracked or
cleaned up.
2005-02-09 14:05:24 +00:00
Robert Reif
098817950d Fill new software buffers with silence. 2005-02-09 14:05:00 +00:00
Alexandre Julliard
e551555d4e Make the win data pointer only available in the thread that owns the
window.
2005-02-09 14:01:40 +00:00
Aric Stewart
187da09b2d Implement RegisterExtensionInfo and RegisterMIMEInfo. 2005-02-09 13:58:20 +00:00
Mike McCormack
f51ad46a7a Handle a number as a parameter for custom action 19. 2005-02-09 13:57:54 +00:00
Alexandre Julliard
c8c9337aa0 Consider any character above 0x7f to be invalid in a DOS short name. 2005-02-09 13:32:12 +00:00
Tom Fogal
69431706e5 Simple aggregation fix. 2005-02-09 13:26:46 +00:00
Aric Stewart
0f65057aed Do not limit properties to 256 characters when evaluating them. 2005-02-09 13:26:16 +00:00
Dmitry Timoshkov
641be42a88 Add support for Turkish (tr) X11 keyboard layout. 2005-02-09 13:25:59 +00:00
Ge van Geldorp
9cc5e6cd03 - Fix quoting of .cpl filename.
- Use "cplopen" verb to execute .cpl files.
2005-02-09 13:25:13 +00:00
Mike McCormack
34d4a02bc5 - add support for Edit boxes in MSI dialogs
- run the message loop when waiting for threads or processes
2005-02-09 13:24:31 +00:00
Mike McCormack
17cfa28216 Fix a memory leak in MsiConfigureProductExW. 2005-02-09 13:22:49 +00:00
Robert Shearman
999766d31b - Implement CoDisconnectObject.
- Change CoLockObjectExternal so that it does the correct action now
  and eliminate a fair few lines of now redundant code.
- Rename OLE32_Dll{Register,Unregister}Server to
  Dll{Register,Unregister}Server.
2005-02-08 16:51:22 +00:00
Rein Klazes
312f09b88a ScrollWindowEx when called with the SW_ERASE flag does not send a
WM_ERASEBKGND message, it just sets the erase flag. With some tests
that show this behavior.
2005-02-08 14:27:39 +00:00
Aric Stewart
6ed10c8013 Make a temp file for each dll saved for custom actions. This prevents
name collisions from causing custom actions to fail.
2005-02-08 14:27:06 +00:00
Aric Stewart
c1e5c4a907 Add logic to be able to resolve the SourceDir based on
CurrentPath. Also add logic to get the source locations of a file if
it is not in a cabinet.
2005-02-08 14:26:49 +00:00
Robert Shearman
514af6ce78 Move object-to-stub-manager mapping rule to register_ifstub. 2005-02-08 14:26:19 +00:00
Mike McCormack
ef1d367bcc Fix MsiModifyView and MsiViewGetColumnInfo to use MSIRECORD* not MSIHANDLE. 2005-02-08 13:44:25 +00:00
Christian Costa
cfbffe6909 Added parser template and made AVISplitter use it. 2005-02-08 13:43:59 +00:00
Stefan Leichter
b8ac580ece Fixed GetFileVersionInfoSizeA tests on Win95. 2005-02-08 13:43:41 +00:00
Hans Leidekker
6a8b67ca33 Stub implementations for DeleteUrlCacheContainer{A,W},
CreateCacheContainer{A,W}, FindFirstUrlCacheContainer{A,W},
FindNextUrlCacheContainer{A,W}.
Handle the case where the supplied buffer size is too small in
InternetQueryOption.
2005-02-08 13:43:09 +00:00
Robert Shearman
f8a2edb805 - Split up apartment creation so that the long code paths that don't
need locking no longer have locking.
- Add special cases for the threads that join apartments but can't
  increase the refcount of the apartment.
- Free TLS storage on thread destruction (including releasing the
  apartment the thread is in, if any, and so making another test
  pass).
2005-02-08 13:42:15 +00:00
Paul Vriens
19e86c7de3 Add WinXP to OaBuildVersion. 2005-02-08 12:56:50 +00:00
Mike McCormack
e7488b8f79 - fix the dialog font
- allow waiting on a handle while running the message loop
2005-02-08 12:55:47 +00:00
Alexandre Julliard
2a46702761 Authors: Mike Hearn <mh@codeweavers.com>, Robert Shearman <rob@codeweavers.com>
- Rework RPC dispatch layer to be simpler and not get confused by
  server/client duality.
- Make threads shut down at the right time and not access freed memory
  after apartment destruction.
- Rename stub_dispatch_thread to client_dispatch_thread.
- Add some more tracing
- Check return value of WaitNamedPipe.
- Change named pipe timeouts to 0.5s, which should be enough for even the slowest machines.
2005-02-08 12:55:26 +00:00
Juan Lang
5f35a32f60 Identifiers evaluate to true if they are non-empty, regardless of
value.
2005-02-08 12:13:49 +00:00
Robert Shearman
abf2de27a7 Replace 10000000 with TICKSPERSEC to make it more obvious what the
code is doing.
2005-02-08 12:13:36 +00:00
Mike Hearn
08dc15fa0a Return OLE automation build value as win2k by default. 2005-02-08 12:12:40 +00:00
Mike McCormack
65fb09183b Implement and document MsiLoadString. 2005-02-08 12:12:29 +00:00
Mike Hearn
e0803f1ac4 Correctly ensure properties set from resolved directory paths are
backslash terminated.
2005-02-08 12:11:54 +00:00
Carlos Lozano
1b73419ffc Fix regression in Fallout game. 2005-02-08 12:11:12 +00:00
Carlos Lozano
b10ba61112 Check that pstream is not null. 2005-02-08 12:10:57 +00:00
Steven Edwards
fbf3b25be3 Correct spec entry for FindFirstUrlCacheEntryEx. 2005-02-08 12:10:09 +00:00
Paul Vriens
e3e89294d9 Extra tracing for SPI_GETICONTITLEWRAP. 2005-02-08 12:09:07 +00:00
Juan Lang
1d936f45ae If a full path isn't specified, search across all fixed drives. 2005-02-08 12:08:49 +00:00
Robert Shearman
4a8b0d4c5b Convert last error from NTSTATUS to a DOS error code in WaitNamedPipe
and ConnectNamedPipe.
2005-02-08 12:08:04 +00:00
Dmitry Timoshkov
c587796064 Make GetOpenFileNameW with an old style open file dialog work with the
original OPENFILENAMEW structure, making sure that all changes are
passed back to the caller.
2005-02-03 19:39:26 +00:00
Paul Vriens
89330709b7 More verbosity of errors. 2005-02-03 19:38:58 +00:00
James Hawkins
bbc081e834 Properly implement DllCanUnloadNow ref counting. 2005-02-03 19:38:37 +00:00
Eric Pouech
78d096c151 Moved 16 bit atom support to dlls/kernel/atom16.c. 2005-02-03 16:58:21 +00:00
Dmitry Timoshkov
6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Alexandre Julliard
ae661da49c Properly compute the client area valid rects and pass them to the
server in set_window_pos to avoid invalidating areas that remain
valid.
2005-02-03 13:40:12 +00:00
Eric Kohl
69d3afc99e - Implement SetupDiBuildClassInfoListExA,
SetupDiClassGuidsFromNameExA, SetupDiCreateDeviceInfoListExA and
  SetupDiOpenClassRegKeyExA using MultiByteToUnicode.
- Retrieve OS version upon process attach.
2005-02-03 13:34:50 +00:00
Hans Leidekker
80829db067 Implement and test PathIsValidChar{A,W}. 2005-02-03 13:34:05 +00:00
Alexandre Julliard
c6ec3a3203 Async callback function must be stdcall. 2005-02-03 10:43:41 +00:00
Mike McCormack
fe0f128d06 - implement checkboxes in dialogs
- use TextStyle enumeration instead of numbers
- fix MSI_IterateRecords to return the correct count
2005-02-03 10:41:59 +00:00
Juan Lang
c33efbeb7d Simplify AppSearch error checking. 2005-02-03 10:41:41 +00:00
Robert Shearman
b9aa9e0bdd - Pass the original IID to IMarshal_UnmarshalInterface and query for
the requested interface.
- Unmarshaling IID_NULL means use the IID the interface was originally
  marshaled with.
2005-02-02 19:11:23 +00:00
Lauri Tulmin
31b894d07c Add test for LB_SELITEMRANGE and make it pass. 2005-02-02 19:10:59 +00:00
Eric Kohl
69bdc10aed - Implement DoesUserHavePrivilege, EnablePrivilege, IsUserAdmin,
MultiByteToUnicode and UnicodeToMultiByte.
- Sort prototypes in setupapi.h and a few function in spec.
2005-02-02 19:09:33 +00:00
David McCullough
10ff5e1e81 HTTP_HttpSendRequestW was getting invoked with a null verb, default to
the GET method.
2005-02-02 09:56:35 +00:00
Mike McCormack
fd91013b46 Add more dialog controls, do something when they're clicked on. 2005-02-02 09:55:51 +00:00
Dmitry Timoshkov
032d6aa234 Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT
when creating MDI children. Add a test case for the desired
behaviour.
2005-02-02 09:33:58 +00:00
James Hawkins
0994b850b8 Properly implement DllCanUnload ref counting. 2005-02-02 09:31:28 +00:00
James Hawkins
1727eb485e Properly implement DllCanUnloadNow ref counting. 2005-02-02 09:31:06 +00:00
Aric Stewart
3b38dc6864 Cleanup processing a bit more.
Allow for nested keys to work properly.
2005-02-02 09:30:22 +00:00
Aric Stewart
a905217b3e Fix a copy and paste error, check for a null value and discard
unneeded errors.
2005-02-02 09:30:05 +00:00
Mike McCormack
79a6626b64 MsiEvaluateCondition returns an error when passed NULL as a
condition.
2005-02-02 09:29:46 +00:00
Aric Stewart
d6ecf58e2f Finish up the framework by stubbing out all the remaining Standard
actions.
A fix to deformat_string so it only returns a null return if you
provided a null buffer.
2005-02-02 09:29:30 +00:00
Alexandre Julliard
e204874728 Removed the no longer used WIN_SetExStyle function. 2005-02-01 18:54:51 +00:00
Alexandre Julliard
d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Hans Leidekker
6a367dbf8d - Stub implementations for FtpGetFileSize, FtpCommand{A,W},
HttpSendRequestExW, InternetGetLastResponseInfoW,
  InternetConfirmZoneCrossing{A,W}, InternetDial{A,W},
  InternetGoOnline{A,W}, InternetHangUp, CreateMD5SSOHash,
  InternetClearAllPerSiteCookieDecisions,
  InternetEnumPerSiteCookieDecision{A,W}, InternetGetCookieEx{A,W},
  InternetGetPerSiteCookieDecision{A,W},
  InternetSetPerSiteCookieDecision{A,W}, InternetSetCookieEx{A,W},
  ResumeSuspendedDownload, RetrieveUrlCacheEntryFileW,
  UnlockUrlCacheEntryFileW, {Create,Delete}UrlCacheEntryW,
  CommitUrlCacheEntryW, RetrieveUrlCacheEntryStreamW,
  FindCloseUrlCache, FindFirstUrlCacheEntryEx{A,W},
  FindFirstUrlCacheGroup, FindNextUrlCacheEntry{,Ex}{A,W},
  FindNextUrlCacheGroup, SetUrlCacheEntryGroup{A,W},
  {Get,Set}UrlCacheGroupAttribute{A,W}, SetUrlCacheConfigInfo{A,W}.
- Spec file stubs for new undocumented functions
  ForceNexusLookup{,ExW}, Ftp{Get,Put}FileEx, HttpCheckDavCompliance,
  InternetAlgIdToString{A,W}, InternetFortezzaCommand,
  InternetGetCertByURLA, InternetQueryFortezzaStatus,
  InternetSecurityProtocolToString{A,W}, InternetSetDialState{A,W},
  InternetShowSecurityInfoByURL{A,W}, IsUrlCacheEntryExpired{A,W},
  Privacy{Get,Set}ZonePreferenceW, RegisterUrlCacheNotification,
  UrlZonesDetach.
- Use memcpy instead of strncpy in InternetGetLastResponseInfoA.
- Add and improve some traces.
- Fix my own coding style in InternetTimeToSystemTimeW.
- Fix a couple of signedness warnings.
2005-02-01 18:50:53 +00:00
Dmitry Timoshkov
7266da3e82 Handle CBR_BLOCK in EXECUTE and ADVISE DDE transactions. 2005-02-01 18:47:55 +00:00
Robert Reif
e70f3e85d8 Fix primary buffer memory leak. 2005-02-01 18:47:23 +00:00
Justin Chevrier
7c14a9d493 - SPI_GETWORKAREA: Read work area information from system metrics
initially only and not from a WINE specific registry entry.
- SPI_SETWORKAREA: Don't save work area information to registry.
2005-02-01 18:47:05 +00:00
Aric Stewart
3f3186091e Continued work to simplify the ProcessAction call, also split it into
a ProcessAction and ProcessUIAction for future dialog box work.
Also fix a bug in deformat_string where i was not freeing the created
record.
2005-02-01 18:46:26 +00:00
Juan Lang
df9d01409b Partially implement AppSearch action. 2005-02-01 14:22:31 +00:00
Christian Costa
72213b18c7 Added ACM Wrapper filter.
Cleaned up AVIDec.
2005-02-01 14:22:00 +00:00
James Hawkins
a85da70304 Properly implement DllCanUnloadNow ref counting. 2005-02-01 14:21:37 +00:00
Aric Stewart
5eaf9cec86 Added some more suminfo stubs. 2005-02-01 14:21:03 +00:00
Robert Shearman
e6afc84873 - Add code for destroying the thread-local storage data, but don't use
it yet.
- Don't release apartment on changing modes because we didn't add a
  reference anywhere.
- Quieten the RPC_E_DISCONNECTED error message as it is an expected
  return code.
- Treat IID_NULL the same as IID_IUnknown.
- Make tests compile on Win95 again.
- Fix copy+paste error where the test failure should be from the
  CoUnmarshalInterface function.
2005-02-01 14:18:10 +00:00
Aric Stewart
4590c7ddee A reworking of format.c to remove the recursion, clean things up and
stabilize behavior to match windows.
2005-01-31 20:41:11 +00:00
James Hawkins
7946edf27a Properly implement DllCanUnloadNow ref counting. 2005-01-31 20:40:26 +00:00
Alexandre Julliard
932a65dddc WIN_ListParents no longer needs to be exported, make it static. 2005-01-31 16:46:47 +00:00
Alexandre Julliard
f777d70a63 Only create an X window for top-level windows, not for child windows.
Get rid of the X client window too, it's no longer needed.
2005-01-31 16:34:07 +00:00
Alexandre Julliard
2dd40110a0 Silence a noisy FIXME. 2005-01-31 16:24:57 +00:00
Christian Costa
b024178120 Added transform filter template and made AVIDec use it.
Fixed memory leak in register_filters function.
2005-01-31 16:24:00 +00:00
Hans Leidekker
546b432347 Stub implementation for ReadDirectoryChangesW. 2005-01-31 16:23:31 +00:00