Commit Graph

10599 Commits

Author SHA1 Message Date
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
Aric Stewart 90c57396f4 Eliminate the giant if.. else if block from ACTION_ProcessAction in
favor of a table of handlers.
Return code of the install should not depend on the return code of the
final action.
Update component installed states as they are installed so that
conditions based on component states are at least a little more
correct.
Add icon and argument when regestering clsids.
Add a stub for ResolveSource because we do that work just not in
ResolveSource like we should.
When quering a Component state return the correct state.
2005-01-31 16:23:12 +00:00
Eric Pouech 499cff6f26 Cleanup of dbghelp.h (and a couple of definition fixes). The
displacements (in most of the functions) are not optional.
2005-01-31 11:34:59 +00:00
Vincent Béron dff207d3ce Remove message telling users to copy native stdole32.tlb over as we
now provide it.
Better trace in LoadTypeLib.
Change debug messages type to reflect we provide stdole32.tlb.
2005-01-31 11:34:10 +00:00
Troy Rollo 27f87ca2b9 Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT. 2005-01-31 11:32:13 +00:00
Rein Klazes 26771be4da SafeArrayDestroy() returns success when called with a NULL
pointer. Added to the test cases.
2005-01-31 11:31:50 +00:00
Aric Stewart e495e7e34c Setting a record to an empty string is the same as making it null. 2005-01-31 11:30:59 +00:00
Paul Vriens a3d0eeb9f6 - new test
- changed test to reflect windows results
2005-01-31 11:29:59 +00:00
Robert Shearman 9a97360eba Remove test that fails on Win98 and is not useful. 2005-01-31 11:29:41 +00:00
Eric Pouech e4a44b3545 Various fixes for C++ class parsing (nesting, templates) (from test
cases provided by Michael Lin).
2005-01-31 11:29:09 +00:00
Michael Jung 5e2075be3a Moved PKCS1 #2 un-/padding from Import-/ExportKey to helper
functions.
Support RSA en-/decryption via CPEncrypt and CPDecrypt.
Added test case for RSA en-/decryption.
2005-01-31 11:28:41 +00:00
Alexandre Julliard d56ccaa7e1 Use an X context to associated the x11drv private window data to a
window handle instead of accessing the WND structure directly.
2005-01-28 17:25:50 +00:00
Alexandre Julliard 6db71654d3 Fixed bug that caused the whole window to be repainted by RedrawWindow
when the passed region was empty.
2005-01-28 17:23:25 +00:00
Robert Reif 7d92b5d8b4 Fix structure member name to match windows headers and fix up all
uses.
Nameless struct fix for dsound/propset.c to compile on both windows
and wine.
2005-01-28 17:21:07 +00:00
Robert Shearman 9dba3479c8 Release the client security objects when no longer needed (reported by
Mike McCormack).
2005-01-28 17:19:51 +00:00
Thomas Weidenmueller e8e42e4614 When a toolbar doesn't have the TBSTYLE_FLAT style redrawing the
buttons when moving the mouse is not necessary.
2005-01-28 17:19:29 +00:00
Huw Davies 4046846a82 Added stdole32.tlb. 2005-01-28 14:13:08 +00:00
Raphael Junqueira 1226e72bf7 - add vertex Declaration support (using wined3d)
- minimal impl for SetRenderTarget and CreateQuery (needed to get
  some samples working)
- remove no longer needed #undef GL_VERSION_1_4
2005-01-28 14:03:32 +00:00
Rémi Assailly 193d527736 char -> const char fixes. 2005-01-28 14:02:52 +00:00
Mike McCormack 479213c455 Implement MsiPreviewDialog. 2005-01-28 12:39:57 +00:00
Robert Shearman 9b634b97ae - More tests.
- Change return code of CoGetPSClsid to match test result.
- Do a slight hack to make IRemUnknown proxies be added after the
  proxy that uses them to stop them being used after they are
  destroyed.
- Fix multiple local server connections.
2005-01-28 12:39:13 +00:00
Rein Klazes 2a0df4bd60 In NtQuerySystemInformation, handle request for information class 1,
now named SystemCpuInformation. Return some dummy data for now.
2005-01-28 12:34:20 +00:00
Steven Edwards 160e6479cf Add a stub dll for the System Event Notification Service. 2005-01-28 11:41:23 +00:00
Raphael Junqueira 27b8e5557e - convert D3D8 VertexDecl to D3D9 format (D3DVERTEXELEMENT9 vector)
while parsing
- display result on traces
2005-01-28 11:30:13 +00:00
Huw Davies b4ae325807 Add a few missing RegCloseKey calls. 2005-01-28 11:29:53 +00:00
Tony Lambregts ffc17dbe0d Fix bug in CharPrevExA(). 2005-01-28 11:29:37 +00:00
Michael Jung fc79906621 Added a test case for hashing with schannel mac keys. 2005-01-28 11:29:19 +00:00
Oliver Stieber 8f803ac8d7 Fill in the information in VendorIdentifier and make a better effort
at filling in Identifier in the registry key.
2005-01-28 11:29:03 +00:00
Robert Shearman 41d9aef7ef - Implement CoSetProxyBlanket, CoQueryProxyBlanket and CoCopyProxy.
- Update todo list.
2005-01-28 11:27:46 +00:00
Francois Gouget 168265ebb0 Fix handling of EOF for the '%c' and '%C' cases in scanf().
Add conformance tests to verify the behavior of '%c'.
Improve some of the test's error messages.
2005-01-28 11:27:26 +00:00
Oliver Stieber fe59db7ce3 Send a scancode through for the 5 key when numlock isn't on. 2005-01-28 11:27:00 +00:00
Alexandre Julliard d6df8f5675 Don't make the test key volatile, that can break other tests. 2005-01-27 11:15:00 +00:00
Dmitry Timoshkov ed04d36b5d Add more tests for old style hooks and winevent hooks, make them pass
under Wine.
2005-01-27 11:14:19 +00:00
Aric Stewart 6b16f29fc0 Enable the updating of Feature and thus the resulting component
states.
Run the end of install actions for suspend and user exit states as
well.
Start putting in place a currently running state for future ui use.
2005-01-27 11:12:56 +00:00
Mike McCormack 279ef15646 - implement MsiOpenPackageEx, and forward MsiOpenPackage there
- make a MSI_CreatePackage function and use it in MSI_OpenPackage
- move MsiOpenPackageA down with the rest of the API functions
2005-01-27 11:12:16 +00:00
Troy Rollo 418853e9d6 Add TZ_INFO entry to match (incorrect) Australian Eastern Daylight
Time information given by some systems.
2005-01-27 11:11:54 +00:00
Mike Hearn 64eac75fe4 - Change some FIXMEs to ERRs to reflect the fact that nothing needs
fixing.
- Fix some memory leaks on error paths in _marshal_interface.
2005-01-27 11:11:32 +00:00
Paul Vriens 0cdfbd7669 Check for availability of SPI_GETICONTITLEWRAP. 2005-01-27 11:11:10 +00:00
James Hawkins bdbadd9e10 Properly implement DllCanUnloadNow ref counting. Make sure the mozilla
control is ready to unload as well.
2005-01-27 10:43:53 +00:00
Mike McCormack c04ce10bdd Test different types of dodgy queries. 2005-01-27 10:43:27 +00:00
Aric Stewart c169f717ee Implement custom action type 19, Halt install and display error
message.
2005-01-27 10:43:12 +00:00
Aric Stewart 409d3f62cd MsiGetProperty does not return any error on missing properties. 2005-01-27 10:42:45 +00:00
Raphael Junqueira 52bf5023fb Set default video memory to 64Mb (was 16Mb) as many d3d9 demos use
d3d7 code to get available video memory size (ex ConfigSystem.exe on
d3d9 sdk).
2005-01-27 10:42:24 +00:00
Raphael Junqueira db0d0b91e6 - some fixes on sub containers support
- add support for properties (VARIANT)
- hard coded simple init for root container (getting simple dx9
  version checks working)
2005-01-27 10:42:00 +00:00
Vincent Béron 9572ae764c Change UTF-8 name back to ISO-8859-1. 2005-01-27 10:41:40 +00:00
Raphael Junqueira f12d5b243a - fix typo in wined3d_interface.h
- add needed defines in wined3d_interface.h
- add IWineD3DVertexDeclarationImpl_ParseToken9 for debug traces
- fix ParseDeclaration9
- limit flood of traces (single shot traces)
2005-01-27 10:40:57 +00:00
Robert Shearman 5bef770490 Give IUnknown its own ifstub to fix ref-counting and ipid storage
issues.
2005-01-27 10:39:44 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Robert Shearman 3018974ce3 - Make proxy manager use IMultiQI instead of IInternalUnknown as tests
show that IInternalUnknown isn't exposed.
- Implement IMultiQI on top of IRemUnknown calls.
- Silence some fixmes that occur during tests and don't give us any
  useful information.
- Fix typo in class factory proxy that caused us to use the wrong
  offset into the CFProxy structure, causing us to not call the
  outer_unknown properly.
2005-01-26 21:07:05 +00:00
Raphael Junqueira b6317bd537 - a very basic blending support on fast drawing path (to have better
performances on last games)
- some defines for VBO support
2005-01-26 21:06:19 +00:00
Raphael Junqueira 4c385f981d - VertexDeclaration device APIs
- D3D9 declarations parsing
- a little better APIs (trying to avoid compile problems)
2005-01-26 20:54:00 +00:00
Robert Shearman cbbf08a7e2 - Use InterlockedIncrement for the ipid counter instead of a critical
section (suggested by Mike Hearn).
- Remove a line added by a bad merge.
- Implement RemUnkStub_Disconnect.
- Remove all of the RPC disconnect code.
2005-01-26 20:53:06 +00:00
Robert Shearman 963ac3f013 - Implement IRemUnknown.
- Use IRemUnknown for life-cycle management instead of the current
  hacks.
2005-01-26 20:42:30 +00:00
Rein Klazes 407d863a8a Get rid of the rdtsc cpu instruction method for calculation of the
performance counter. Put the calculation (based on gettimeofday) in
NtQueryPerformanceCounter() and use that in the kernel functions.
2005-01-26 20:41:36 +00:00
Francois Gouget 7a29b06555 Remove unneeded NULL cast. 2005-01-26 20:40:49 +00:00
Mike McCormack e5f2ed4c66 Fix MsiRecordSetString for NULL strings and update test case. 2005-01-26 20:39:54 +00:00
Glenn Wurster bcaca0a5f7 Disable antialiasing of fonts while working in a palette. 2005-01-26 19:43:42 +00:00
Hans Leidekker a82f1350c2 Don't use utf8 in rc files. 2005-01-26 19:42:40 +00:00
Mike Hearn 6c093f39a4 Fix a typo, propagate errors better from inside the typelib
marshaller.
2005-01-26 19:42:17 +00:00
Huw Davies 82977c1441 GetMetaFile checks both the version and the header size when it tries
to load a metafile.  Powerpoint XP depends on this.
2005-01-26 19:41:58 +00:00
James Hawkins e8cafa5799 Properly implement DllCanUnloadNow ref counting. 2005-01-26 19:41:43 +00:00
Aric Stewart 475a81a818 Added a few more stub implementations. 2005-01-26 19:41:13 +00:00
Aric Stewart 54c67dd1b1 - action.c is getting too big, so split out all the handling of
CustomActions into custom.c. Cleaned up a lot of the handling of
  custom actions including scripting actions and processing return
  codes.
- Mike McCormack pointed out that MsiFormatRecord is basically the
  same as internal function deformat_string. So broke deformat_string
  out and updated it to function as MsiFormatRecord and implemented
  MsiFormatRecord.
- A number of random fixes to action.c including properly calculating
  the length for the LocalPackage name, not forcing a reboot when
  really we should just return ERROR_INSTALL_SUSPEND and handling
  REG_MULTI_SZ now that we can deformat the properly.
2005-01-25 20:17:09 +00:00
Robert Reif c5b0a1792c Copy data structures one at a time using supplied size. 2005-01-25 20:05:12 +00:00
Alex Villacís Lasso a49278acc2 Implemented Unicode proxy for ODBC. 2005-01-25 19:04:03 +00:00
Robert Shearman ce5adcda15 - Move OLE automation interface registration to oleaut32.
- Add IRemUnknown to list of interfaces to register.
2005-01-25 19:03:30 +00:00
Robert Shearman 6e042873d5 Proxies/stubs for IRemUnknown methods, based on code written by Ove
Kåven.
2005-01-25 19:02:54 +00:00
Eric Kohl 3b4801c5e5 Implement DuplicateString and QueryRegistryValue. 2005-01-25 19:02:08 +00:00
Alex Villacís Lasso d0bdb3888b Initialize temporary variants before calling VariantChangeTypeEx. 2005-01-25 18:57:43 +00:00
Maxime Bellengé e220907c71 Replace '\' with '/' in the URL in HTTP_HttpSendRequestW. 2005-01-25 16:43:17 +00:00
Mike McCormack 5af66fef43 Implement, test and document MsiDecomposeDescriptor. 2005-01-25 16:41:33 +00:00
Alexandre Julliard 0b39860580 Added a couple of SetWindowPos tests. 2005-01-25 11:31:52 +00:00
Rein Klazes 3ee5db6e17 Make ShowWindow(...,SW_SHOWNA) also work on already visible windows
with some conformance tests.
2005-01-25 11:21:20 +00:00
Aric Stewart 68b0749471 Use the new registry functions in registry.c.
Do not force a reboot, just return ERROR_INSTALL_SUSPEND and write
some keys to the registry.
2005-01-25 11:05:37 +00:00
Aric Stewart a26aa0af4c Move the guid squishing functions out of msi.c and make a new
registry.c file. Also clean up all the various registry keys we need
to open and create to this module and modify the functions for msi.c
to call these functions.
2005-01-25 10:58:36 +00:00
Robert Shearman 935549f5d8 Add a summary line for several scrollbar functions. 2005-01-25 10:57:41 +00:00
Robert Shearman ad34f3dc5e - Generate machine-local IPIDs.
- Make pipes be uniquely identified only by their IPID.
2005-01-25 10:57:24 +00:00
Christian Costa 0f18bb0f29 Fixed pin direction when registering audio input device. 2005-01-25 10:56:39 +00:00
Hans Leidekker aaa5921ff8 StrIsIntlEqual and IntlStrEqWorker may be absent. 2005-01-25 10:56:23 +00:00
Ulrich Czekalla 04f6346a6d Added WTSAPI32.DLL. 2005-01-24 19:42:02 +00:00
Mike McCormack 81ed8be90d Convert services to use pipes for RPC instead of shared memory. 2005-01-24 19:33:43 +00:00
James Hawkins 1fd9425088 Properly implement DllCanUnloadNow ref counting. 2005-01-24 19:33:23 +00:00
Glenn Wurster eae60bedd5 Disable antialiasing if the font dictates it. 2005-01-24 19:32:54 +00:00
Glenn Wurster c3f8226ed1 Split caching of antialiased and non-antialiased glyphs. 2005-01-24 19:08:02 +00:00
Ulrich Czekalla c173f6a756 Add stub version of cryptdll.dll. 2005-01-24 19:07:16 +00:00
Troy Rollo f679490990 Don't refuse to process VDMX ratio entries with bCharSet == 0. These
entries are at least as useful as those with bCharSet == 1. Add
comment containing URL of documentation for VDMX records.
2005-01-24 19:00:10 +00:00
Tinus aee4f25ed6 Properly allow removing toolbar bitmaps by changing it into 0. 2005-01-24 18:59:13 +00:00
Dmitry Timoshkov 50eb546e4f Put Brazilian ABNT2 keyboard layouts in line with appropriate virtual
keyboard maps.
2005-01-24 18:58:00 +00:00
Robert North 6d21f3e533 Bring wintab in line with Jeremy's X11 event timing patches again. 2005-01-24 13:38:32 +00:00
Robert North 589c9569b1 Add the rule that inverted cursor has -ve altitude, matching behaviour
on Windows wacom tablets.
2005-01-24 13:37:48 +00:00
Robert North 041e978353 Packets from eraser cursors are marked as inverted, matching behavior
on Windows Wacom tablets.
2005-01-24 13:36:42 +00:00
Robert North 68eb384366 WTEnable, when called to disable tablet context, clears context queue,
as per wintab spec.
2005-01-24 13:36:21 +00:00
Robert Reif 47f55d6a28 Don't allow other threads to access the primary buffer while the
format is being changed.
2005-01-24 13:35:57 +00:00
Robert North e4a19500ca - In wintab's default system context, change context options to match
Wacom tablet in windows.
- Change device orientation unit definition to angular.
- Use Macros where appropriate to define cursor and device defaults.
2005-01-24 13:33:23 +00:00
Robert North 2b4f3ec069 - Correct overflow 1 message too early.
- Overflow now going onto message queue.
- Overflow state correctly or-ed with other packet status.
2005-01-24 13:32:55 +00:00
Eric Kohl 38b14b4ccf Implement MyFree, MyMalloc and MyRealloc. 2005-01-24 13:32:26 +00:00
Robert Reif 364c0d53f9 Remove unused includes. 2005-01-24 13:31:27 +00:00
Alexandre Julliard ee4f4a05c5 Avoid unnecessary run-time initializations. 2005-01-24 12:55:31 +00:00
Michael Jung fb85c9e924 Support for TLS1 pseudo random function.
Some helper functions for DATA_BLOB's.
Computing TLS1 master secret from the pre-master secret.
Deriving the master hash from the master secret.
Deriving TLS1 MAC and encryption keys from the master hash.
Tests for most of the above.
2005-01-24 12:50:29 +00:00
Ivan Leo Puoti bfef6208a2 Added NtLoadDriver and NtUnloadDriver stubs. 2005-01-24 12:49:53 +00:00
Bernd Fuhrmann b6572eaa53 Added fixme macros in SystemParametersInfoW for several action numbers
that are yet unimplemented.
2005-01-24 12:41:39 +00:00
Robert Reif ef847a0303 Use Windows memory functions. 2005-01-24 12:40:45 +00:00
Robert North 8ed495987e - Don't post messages on Wine message queue, if tablet context flags
posting are disabled.
- When posting messages on Wine message queue, use message base stored
  in tablet context, not the default message base.
- Ensure that X11 Proximity events put messages onto Wintab message
  queue.
2005-01-24 12:40:01 +00:00
Peter Berg Larsen f8e559f7f4 Added a simple d3drm.h header.
Corrected a copy/paste typo from d3dim.
2005-01-24 11:33:47 +00:00
Paul Vriens 7a49e82dac - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-24 11:31:45 +00:00
José Manuel Ferrer Ortiz 231d9b9b25 Updated Spanish resources. 2005-01-24 11:31:23 +00:00
Michael Jung 2accec1fbc Removed another check for valid'ness of algid. It's redundant. 2005-01-24 11:30:05 +00:00
Rémi Assailly 6063b542aa char -> const char fixes. 2005-01-24 11:29:44 +00:00
Dmitry Timoshkov a27be2db55 Make HeapFree(NULL) case faster by retrieving heap pointer after the
memory block pointer test.
2005-01-24 11:27:27 +00:00
Robert Reif b0d74e6bf3 Fixed memory leak in mixer code. 2005-01-24 11:27:05 +00:00
Robert Shearman 9f625c5e2c - Draw a representation of a document in the page setup dialog.
- Change some FIXME's to TRACE's because everything we need is
  implemented and they fire for ones that we don't need to implement.
2005-01-24 11:26:23 +00:00
Gerald Pfeifer 57e00da29e Fix format string in NtQueryVirtualMemory(). 2005-01-24 11:25:41 +00:00
Aric Stewart 0252761c0b The new Insert fixes now properly require ?,? instead of just ? for
the Insert call. This fix modifies the MSI_SetProperty query to be
correct.
2005-01-24 11:25:02 +00:00
Aric Stewart 9999e6ccdf An implementation of MsiSummaryInfoGetPropertyW based off of
MsiSummaryInfoGetPropertyA.
2005-01-24 11:24:35 +00:00
Robert Shearman 6b89a92215 - Add a new flag SORFP_NOLIFETIMEMGMT to tell the proxy manager not to
call any IRemUnknown functions.
- Move the low-level unmarshaling code into a new function,
  unmarshal_object, so that it can be easily reused for unmarshaling
  IRemUnknown.
2005-01-24 11:24:08 +00:00
Robert North cb4652a71c Generate Wintab packets for XInput button up/down events. 2005-01-24 11:23:40 +00:00
Mike McCormack 609f5514ac Indentation and style cleanup. 2005-01-24 11:22:00 +00:00
Alexandre Julliard 5ae51c47dd Tweak SetWindowPos flags handling to make a few more of the messaging
tests pass.
2005-01-21 17:06:07 +00:00
Mike McCormack 0c23885654 Move OpenQuery into msiquery.c and make it non-static. 2005-01-21 16:19:11 +00:00
Alexandre Julliard 32d9dab38d Authors: Gunnar Dalsnes <hardon@online.no>, Ge van Geldorp <gvg@reactos.com>
STATUSBAR_SetTextT:
- ntext wasn't freed on return if text was unicode
- part->text was always freed, but if the previous style was
  SBT_OWNERDRAW, part->text would contain 32bit data
- free old text if new style is SBT_OWNERDRAW but old style wasn't
2005-01-21 16:18:38 +00:00
Paul Vriens 14b96358f8 - More verbose output of errors.
- Bail out if first test fails (produce one error only).
2005-01-21 16:18:00 +00:00
Alexandre Julliard f936428601 Make WIN_SetStyle more thread-safe by specifying the bits to change
instead of the new value.
2005-01-21 10:32:13 +00:00
Paul Vriens 7b6b24d868 - Use Interlocked* functions in AddRef and Release.
- Store the result of the Interlocked functions and use only this.
2005-01-21 10:18:16 +00:00
Mike McCormack eb23257b7d Added stub implementations for MsiPreviewDialog and
MsiPreviewBillboard.
2005-01-21 10:17:01 +00:00
Mike McCormack cce387d1a6 Lock record in MsiViewExecute, move stubs to end. 2005-01-21 10:16:30 +00:00
Mike McCormack 18fb9ace14 Implement GetAdvise and SetAdvise. 2005-01-21 10:16:11 +00:00
Mike Hearn 70c1c26869 Various formatting/style changes. 2005-01-21 10:15:29 +00:00
Mike Hearn 2cfcf1c339 Fix heap corruption in quartz server registration, add some
whitespace, break out of loop if out of memory.
2005-01-21 10:14:45 +00:00
Justin Chevrier 3582a175c5 - Implemented SPI_SETICONMETRICS.
- Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from
  win.ini on first call and return a cached version in subsequent
  calls.
- Created unit test for SPI_{GET,SET}ICONMETRICS.
2005-01-20 20:43:02 +00:00
Mike McCormack 5007de8b05 Fix and test inserting records. 2005-01-20 20:39:15 +00:00
Rémi Assailly 81b13c4bb5 Added missing declarations. 2005-01-20 20:36:01 +00:00
Mike McCormack b3a7f37aaf Fix refcounting, use Interlocked functions. 2005-01-20 20:34:29 +00:00
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Robert Reif 97199823bf Added stubs for NeedRebootInit and NeedReboot.
Added implementations for GetVersionFromFile and
GetVersionFromFileEx.
Added test for GetVersionFromFile.
2005-01-20 20:03:13 +00:00
Hans Leidekker fccfcbf7ba Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
top of NtQueryVirtualMemory.
2005-01-20 19:59:48 +00:00
Tanabe Hiroshi f3ec7726c6 Added stubs for SendIMEMessageEx[A,W]. 2005-01-20 19:57:58 +00:00
Mike McCormack 48df747150 Fix a bug caused by freeing memory too soon in the table code. 2005-01-20 19:57:22 +00:00
Dmitry Timoshkov 4e59e4b96f Correct coordinates of a couple of controls. 2005-01-20 19:56:37 +00:00
Paul Vriens 7f07b00697 - Use Interlocked* functions in AddRef and Release.
- Store the result of the Interlocked functions and use only this.
2005-01-20 10:53:56 +00:00
Tony Lambregts e1ff586dd4 Added time zone information for SAMT (Samara Standard Time). 2005-01-20 10:52:57 +00:00
Ulrich Czekalla 45de351fb3 ACL fixes and cleanups. 2005-01-20 10:37:36 +00:00
Aric Stewart 89a43ff76a Added some stub implementations. 2005-01-20 10:37:08 +00:00
Michael Stefaniuc b937407ee5 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-20 10:36:35 +00:00
Robert Shearman 717eb8fff4 - Consolidate more stub creation details into register_ifstub.
- Replace the current wine_marshal_id structure with STDOBJREF for the
  on-the-wire format.
2005-01-20 10:35:46 +00:00
Ulrich Czekalla a47a0e3be7 Added stub implementation of NetGetJoinInformation. 2005-01-20 10:35:21 +00:00
Oleh R. Nykyforchyn 62b94d89bd Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
2005-01-19 20:59:31 +00:00
Lauri Tulmin 78e76cf977 Reposition caret after window resize. 2005-01-19 20:53:38 +00:00
Raphael Junqueira 4f02b52c6b Begin support of VertexDeclaration on wined3d using d3d8 code base
(handling d3d8 and d3d9 specs).
2005-01-19 19:34:49 +00:00
Lauri Tulmin 7b9fb6fff3 Don't recalculate line indexes if number of lines doesn't change. 2005-01-19 19:08:25 +00:00
Aric Stewart 2cae30b6cf Quite a few fixes:
- Allow for the queing of custom actions to trigger on the
  InstallExecute or InstallExecuteAgain actions.
- allow for the queing of custom actions to trigger on
  InstallFinalize.
- Properly set the CustomActionData property for said queued actions.
- Implement RegisterProduct.
- Beginning implementation of ForceReboot.
- Don't kill install if an item to be duplicated does not exist.
- Write out SourceList and LastUsedSource for resuming installs.
- Use regsvr32 to register self reg dlls.
2005-01-19 19:07:40 +00:00
Mike McCormack dee736764f Stub definition for OpenUrl. 2005-01-19 19:06:35 +00:00
Alexandre Julliard cc3cf401b3 Store the window id as a property instead of accessing the WND
structure directly.
Fetch the update region from the server and remove a lot of obsolete
code.
2005-01-19 17:02:50 +00:00
Rein Klazes 47fe880924 Return a fixed frequency of 1193182 Hz for the Performance Counter. 2005-01-19 17:01:06 +00:00
Mike McCormack c1b4d7d16f Implement TransactNamedPipe for the non-overlapped case. 2005-01-19 17:00:48 +00:00
Mike McCormack a5fb277fc4 Stub implementation for some functions. 2005-01-19 17:00:32 +00:00
Robert Shearman 6a20b2f476 - Initialize ppv pointer in ClientIdentity_QueryInterface to NULL as
apps depend on this.
- Don't release IRpcProxyBuffer on ifproxy destruction - the caller
  will do this for us.
- Make find_proxy_manager add a reference to the proxy manager and
  make proxy_manager_construct return an object with a valid
  ref-count.
- Remove stray not operator to fix a memory leak / crash in
  proxy_manager_destroy.
- More debug messages, especially on errors.
- Fix ref-count leak in the Class Factory proxy.
- Add a test case for IClassFactory_CreateInstance.
2005-01-19 17:00:20 +00:00
Stefan Leichter 7ed3f41c98 Fixed GetFileVersionInfoSizeA tests on WinME. 2005-01-19 16:59:35 +00:00
Michael Jung d91ba25a03 Avoid code duplication by moving handle lookup into get_algid_info. 2005-01-19 16:59:23 +00:00
Joris Huizer 8a6295a057 Get rid of some TRACE(..., This->resource.ref). 2005-01-19 16:59:01 +00:00
Aric Stewart 2c0e46d9df Do a very basic first implementation of MsiConfigureProductExW for
msiexec /@  when run as a reboot.
Also add a number of new stubs for the office xp and 2k3 install and
startup process.
2005-01-19 16:58:03 +00:00
Alexandre Julliard f7fb73710a Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added some stub implementations.
2005-01-19 16:57:24 +00:00
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +00:00