Commit graph

18184 commits

Author SHA1 Message Date
Art Yerkes 82beaf2b2a Fixed skipped events from keyboard:
- Wait for IO if it would be pending
- Don't copy into UserBuffer directly in read because it'll be 
  overwritten.  Use Irp->AssociatedIrp.SystemBuffer.

svn path=/trunk/; revision=19322
2005-11-18 10:53:32 +00:00
Christoph von Wittich d7b2d1d3c2 export some more Crypto-API functions
svn path=/trunk/; revision=19321
2005-11-18 06:15:24 +00:00
Christoph von Wittich 8347f2c508 got a lot of crypt32 stuff working
svn path=/trunk/; revision=19320
2005-11-18 02:08:46 +00:00
Christoph von Wittich 16cc7e9f01 added LIST_FOR_EACH_ENTRY_SAFE macro
svn path=/trunk/; revision=19319
2005-11-17 23:19:36 +00:00
Gé van Geldorp 5c75d1e001 Add CommandLineFromMsiDescriptor
svn path=/trunk/; revision=19318
2005-11-17 23:19:29 +00:00
Gé van Geldorp d7b3954583 Sync to Wine-0_9_1:
Huw Davies <huw@codeweavers.com>
- Stubs for NdrStubForwardingFunction and NdrCStdStubBuffer2_Release
  along with a few related defines.
- Marshal enums.

svn path=/trunk/; revision=19317
2005-11-17 22:06:47 +00:00
Christoph von Wittich a0c1d56a3e fix a lot of compile problems with encode.c and cert.c (still not added to build)
svn path=/trunk/; revision=19316
2005-11-17 21:59:57 +00:00
Gé van Geldorp 6f80f1c062 Sync to Wine-0_9_1:
Phil Krylov <phil@newstar.rinet.ru>
- Added support for EM_REQUESTRESIZE message, EN_REQUESTRESIZE
  notification, and ENM_REQUESTRESIZE event mask.
- Cache background color brush instead of recreating it at each screen
  update.
Mike McCormack <mike@codeweavers.com>
- Convert all RTFPanic and RTFMsg calls to ERR calls.

svn path=/trunk/; revision=19315
2005-11-17 21:58:13 +00:00
Gé van Geldorp 1cae6cbce7 Francois Gouget <fgouget@free.fr>
Remove spaces before '\n' in traces.

svn path=/trunk/; revision=19314
2005-11-17 21:56:58 +00:00
Gé van Geldorp 6b37e95bd4 Sync to Wine-0_9_1:
Huw Davies <huw@codeweavers.com>
- Treat paramflags == 0 like PARAMFLAG_FIN.
- Don't call Release on a null ptr.
- Deal with pExcepInfo == NULL.
Robert Shearman <rob@codeweavers.com>
- Add IFontEventsDisp and IProvideMultipleClassInfo.
- Make sure to clean up properly on error.
- Restrict the critical section to getting the channel buffer and
  adding a reference to it.
- There is no need to call IUnknown_QueryInterface since getting the
  correct object is handled by the proxy manager.
- Forward IDispatch functions to the MIDL-generated proxy.
- Remove special cases caused by previous marshaling of IDispatch &
  IUnknown that is no longer done.
- Add error messages if an IUnknown or IDispatch method is called when
  it no longer should be.
- Cleanup formating of DispCallFunc.
- Fix DispCallFunc for functions with return values.
- Don't rely on _copy_arg as it is going away soon.
- Make wParamFlags in the paramdesc dumping function human readable.
- Enums should be VT_I4 instead of VT_INT.
- Trace the return value from the ITypeInfo_fnInvoke.
- Read DLL name from modules in MSFT typelibs.
- A name offset of -1 for a parameter means that it has the same name
  as the function.
- Print an error if a ReadName is attempted with an offset of -1,
  since this will read garbage.
- Implement ITypeInfo_GetDllEntry.
- Fix a crash during +variant logging caused by a typo causing an array
  to be one element less than expected.
- The PSDispatch PS class factory can manage both typelib marshalled and
  IDispatch, which is NDR marshalled, so we need a wrapper to call the
  appropriate CreateProxy or CreateStub function.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Implement complete VarDecDiv() for any valid DECIMAL.
- Implement complete VarDecMul() for any valid DECIMAL.
- Implement complete VarBstrFromDec() for any valid DECIMAL, with
  internationalization support borrowed from VARIANT_BstrFromReal(). The
  decimal fix for VARIANT_BstrFromReal was encapsulated in a separate
  function and reused.
Michael Stefaniuc <mstefani@redhat.de>
- Handle VT_DECIMAL in VarCmp().
- Handle VT_CY in VarDiv().
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Extend VarCmp() and add test cases.
Marcus Meissner <marcus@jet.franken.de>
- Added support of loading of IPicture data from non-statable
  IStreams. Added testcases for this.
- Added support for VT_I8/VT_UI8 marshalling.
- Fixed FMT_DATE_GENERAL and FMT_DATE_TIME_SYS cases in
  VARIANT_FormatDate.

svn path=/trunk/; revision=19313
2005-11-17 21:52:13 +00:00
Ged Murphy 7373027088 Improve stopping control of the service
svn path=/trunk/; revision=19312
2005-11-17 21:35:56 +00:00
Gé van Geldorp 79ae10d5fb Sync to Wine-0_9_1:
YunSong Hwang <hys545@dreamwiz.com>
Add Korean translations.

svn path=/trunk/; revision=19311
2005-11-17 21:12:27 +00:00
Gé van Geldorp 5f23f01a75 Wine-0_9_1 vendor import. Changes for ReactOS by cwittich
svn path=/trunk/; revision=19310
2005-11-17 21:02:48 +00:00
Gé van Geldorp fb3d16f5b7 Remove in preparation for proper vendor drop
svn path=/trunk/; revision=19309
2005-11-17 20:59:05 +00:00
Gé van Geldorp 4cfb1ff7dc Sync to Wine-0_9_1:
Ivan Leo Puoti <ivanleo@gmail.com>
- Fix some wrong prototypes.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Passing NULL as the last two parameters to ReadFile is illegal and
  actually causes a crash on windows. The attached patch fixes this.
Aric Stewart <aric@codeweavers.com>
- Force files to install if the REINSTALL property is set.
Mike McCormack <mike@codeweavers.com>
- Some installers don't call the CreateFolders action before the
  InstallFiles action as MSDN specifies, but it still seems to work, so
  make sure that we create component directories in the InstallFiles
  action anyway.
- Create component folders in the CreateFolders action.
- If an action fails, print out its name as well as the error code.  Use
  %d for error codes so it's easy to match them up to something in
  winerror.h.
- Rename load_dynamic_stringW to msi_dup_record_field to better describe
  what it does, and replace a few instances with MSI_RecordGetString to
  avoid allocating memory.
- Tidy up the RegisterProduct action a little.
- Create a stub function to apply a single table transform and call it
  where we need to apply transforms.
- Enumerate the substorage transforms for any patches that are passed on
  the command line with PATCH=.  Need to implement
  table_apply_transform() before this will do anything interesting.
- Simplify register_progid() and remove a fixed length buffer.
- Make enter and escape trigger the default and cancel buttons in
  dialogs.
- Switch back to using IPicture to load images.  LoadImage did the
  resizing for us, but doesn't handle jpeg files and requires us writing
  a temp file, whereas IPicture handles jpeg files and can load directly
  from a stream.
- Remove unused package parameter of register_progid_base().
- Remove an incorrect comment and check for 0 being an invalid file
  handle.
- Add missing semicolons that caused compile trouble on FreeBSD.
- Extract file directly to their target location, bypassing the need to
  use temporary files and move files.
- Put the UI update code for cabinet file into a separate function.
- Translate INVALID_HANDLE_VALUE to zero for cabinet handles.
- Fix a memory leak in the cabinet extracting code.
- Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
  test.
- Fix parameter handling in MsiSetTargetPath, and add a test for it.
- Deleted two buggy functions that incorrectly and inefficiently check
  whether a row already exists in a table, and replaced them with a call
  to an existing working function that does the same thing correctly.
- Fix and test MsiGetProperty and MsiSetProperty.
- Add a stub implementation of msi.MsiSetMode.
- NULL and empty strings are the same in conditions.
- Add a bunch of tests for MsiEvaluateCondition and make them pass.
- Fix error handling in MsiEvaluateCondition.
- Create the +msidb debug channel for msi database code.
- Implement transforms.  This still includes some debugging code which
  can be enabled by setting debug_transform to 1 in the relevant
  places.
- Define NONAMELESSUNION and NONAMELESSSTRUCT for older compilers.
- Remove some redundant null pointer checks.
- Make sure to unregister all the classes that were registered when msi
  is unloaded, so we can register again cleanly.
- Fix a memory leak.
- Implement the RemoveFiles action.
- Add a read-only implementation of the SelectionTree control.
- Make sure we only CoUninitialize after successfully initializing.
  Fix the address of the returned IShellLinkDataList interface.
- Use an enumeration for file states.
- Handle MaskEdit masks containing dashes and other constant
  characters.
- Stub implementation for MsiAdvertiseScriptA/W.
- Add a stub for the AllocateRegistrySpace action.
- Explicitly check for MSICONDITION_TRUE being returned from
  MsiEvaluateCondition.
- Stub implementation for MsiGetFileHashA/W.
- Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine.
- Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
  simple test cases.
- Use msi_get_property_int() in a few more places.
- Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W
  versions.
- Use "static const" rather than "const static" as gcc -W complains
  about the former.
- Add an implementation for MsiGetShortcutTargetA/W.
- Don't change the UI level during ExecuteAction.
- Return an error in MsiGetComponentPathW if passed a null component.
- Remove the unused 1st parameter of ACTION_VerifyComponentForAction.
- Fix MsiGetPropertyA/W spec declarations.
- Create an internal handle-free api for reading MSI database summary
  information.

svn path=/trunk/; revision=19307
2005-11-17 20:49:37 +00:00
Gé van Geldorp af002b222f Add header needed to build crypt32.dll
svn path=/trunk/; revision=19306
2005-11-17 20:33:50 +00:00
Gé van Geldorp bf3f6f7eae Sync to Wine-0_9_1:
David Kredba <kredba@math.cas.cz>
- Czech resources update.

svn path=/trunk/; revision=19305
2005-11-17 20:21:39 +00:00
Christoph von Wittich 5b0468545d added crypt32 (still not complete, from wine 0.91)
svn path=/trunk/; revision=19304
2005-11-17 20:17:53 +00:00
Gé van Geldorp afde0fcd9f Wine-0_9_1 vendor import
svn path=/trunk/; revision=19303
2005-11-17 20:16:02 +00:00
Gé van Geldorp a93a95ecf2 Wrong subdirectory
svn path=/trunk/; revision=19302
2005-11-17 20:11:40 +00:00
Gé van Geldorp 1ac0e4f848 Wine-0_9_1 vendor import
svn path=/trunk/; revision=19301
2005-11-17 20:03:55 +00:00
Gé van Geldorp 66725bf306 Remove old dirs in preparation of vendor import
svn path=/trunk/; revision=19300
2005-11-17 20:00:21 +00:00
Gé van Geldorp fcff4ba024 Sync to Wine-0_9_1:
Francois Gouget <fgouget@free.fr>
- Remove spaces before '\n' in traces.
Christoph Frick <frick@sc-networks.de>
- Moved and adopted joystick_linux.c code into the
  joystick_linuxinput.c.

svn path=/trunk/; revision=19298
2005-11-17 19:50:28 +00:00
Gé van Geldorp ba2598e004 Sync to Wine-0_9_1:
Vijay Kiran Kamuju <infyquest@gmail.com>
- Jonathan Ernst <Jonathan@ErnstFamily.ch>
  Display an error if no printer is installed.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initialize COM prior to displaying the file dialog.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resource file.
David Kredba <kredba@math.cas.cz>
- Czech resources update.

svn path=/trunk/; revision=19297
2005-11-17 19:44:07 +00:00
Gé van Geldorp 565cf7f36d Sync to Wine-0_9_1:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Unify HEADER_GetItem[A/W] into one function.
- Unify HEADER_InsertItem[A/W] into one function.
- Unify HEADER_SetItem[A/W] into one function.
Michael Kaufmann <hallo@michael-kaufmann.ch>
- Handle WM_PRINTCLIENT.
  Don't use SelectClipRgn in WM_PRINTCLIENT.
Dimi Paun <dimi@lattica.com>
- Validate the column index passed in by the caller.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Do not issue a GetUpdateRect() to query an update region for
  WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding
  rect.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Move functions in comctl32/string.c to remove function declaration.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Use Win32 APIs for string comparison.
- Avoid printing out a possibly uninitialized variable.
Ulrich Czekalla <ulrich@codeweavers.com>
- Clear bLButtonDown flags if mouse is not down.
Martin Fuchs <martin-fuchs@gmx.net>
- Include config.h and port.h for strncasecmp() in MSVC port.

svn path=/trunk/; revision=19296
2005-11-17 19:36:54 +00:00
Hartmut Birr 41e7e24a51 Set the value/data cell to dirty, if an existing value is overwritten.
svn path=/trunk/; revision=19295
2005-11-17 17:34:22 +00:00
Hartmut Birr d81856ce0b - Fixed the test for the dirty bitmap size.
- Fixed the length to copy the old dirty bitmap.

svn path=/trunk/; revision=19294
2005-11-17 17:29:36 +00:00
Christoph von Wittich 1f3e7f6729 sorry, forgot to change one var
svn path=/trunk/; revision=19293
2005-11-17 13:46:07 +00:00
Christoph von Wittich 5333007c97 fixed length calculation of lpDependencies
svn path=/trunk/; revision=19292
2005-11-17 13:45:02 +00:00
Christoph von Wittich d711215962 implemented CreateServiceA
svn path=/trunk/; revision=19291
2005-11-17 13:23:37 +00:00
Hervé Poussineau a7ac63db53 Revert part of 19289, I don't want all people to use French ReactOS...
svn path=/trunk/; revision=19290
2005-11-17 13:01:29 +00:00
Hervé Poussineau 45829a8995 - 2nd stage setup: start umpnpmgr service only after the installation of device classes
- Implement ScmrChangeServiceConfigW
- Change StartServiceW stub to return success
This fixes a race condition in device installation, which sometimes lead to a bad installation for network cards, and no network connectivity at next reboot

svn path=/trunk/; revision=19289
2005-11-17 12:49:37 +00:00
Hervé Poussineau 55e7c7de3c Second attempt to have a working keyboard and mouse at third reboot
May fix bug 1018

svn path=/trunk/; revision=19288
2005-11-17 08:29:59 +00:00
Steven Edwards a4d50f52e7 another no-op. Remove the win32apiisms. Make compatible with both DDKs
svn path=/trunk/; revision=19287
2005-11-17 05:53:52 +00:00
Martin Fuchs f451b823d8 - use Winefile command line for initial directory selection
- remove useless hwndParent variable

svn path=/trunk/; revision=19286
2005-11-16 23:07:37 +00:00
Steven Edwards 3984ae405d no op header change. Correct some of the header guards to match the DDK
svn path=/trunk/; revision=19285
2005-11-16 22:28:05 +00:00
Gé van Geldorp 1c04a022f2 Add a bit of defensive programming
svn path=/trunk/; revision=19283
2005-11-16 21:44:26 +00:00
Gé van Geldorp ac2efcf7dc Give comdlg32.dll a little bit more space
svn path=/trunk/; revision=19282
2005-11-16 21:43:38 +00:00
Gé van Geldorp db28f9ce5b Update status
svn path=/trunk/; revision=19274
2005-11-16 21:17:19 +00:00
Gé van Geldorp 25ee8edc23 Add some SEH protection (not complete yet)
svn path=/trunk/; revision=19272
2005-11-16 20:52:07 +00:00
Aleksey Bragin 76873f5ab1 Fix IoIsWdmVersionAvailable() to confirm we're compatible with Win2k (someone forgot 0x before 10) and also added brief comments on which version corresponds to what.
svn path=/trunk/; revision=19271
2005-11-16 20:38:31 +00:00
Hervé Poussineau d3ed470945 Export _vsnwprintf
svn path=/trunk/; revision=19270
2005-11-16 17:34:50 +00:00
Gé van Geldorp 70c005e0ae StartScan is always in BOTTOM_UP sense for GetDIBits
svn path=/trunk/; revision=19269
2005-11-16 16:12:59 +00:00
Gé van Geldorp e35611c03d Always pad scanlines to multiples of 4 bytes for DIBs
svn path=/trunk/; revision=19268
2005-11-16 16:10:57 +00:00
Gé van Geldorp a739fc4d06 Pass correct masks when creating bitfield palette
svn path=/trunk/; revision=19267
2005-11-16 16:05:55 +00:00
Christoph von Wittich 3918f59b1b fix memory leak in case of error
svn path=/trunk/; revision=19266
2005-11-16 15:53:16 +00:00
Hervé Poussineau cbd0e5428f Try to fix the problem some people reported (no keyboard and mouse at 3rd reboot)
svn path=/trunk/; revision=19265
2005-11-16 15:14:31 +00:00
Christoph von Wittich 57285d00b6 added UpdateDriverForPlugAndPlayDevicesA (untested)
svn path=/trunk/; revision=19264
2005-11-16 14:57:50 +00:00
Christoph von Wittich d47a998576 fixed bug 791
svn path=/trunk/; revision=19263
2005-11-16 13:24:13 +00:00
Gé van Geldorp 93b46a1a8a Sebastian Gasiorek <zebasoftis@gmail.com>
fix for empty control panel applet
Change NUM_APPLETS (2) to NUM_APPLETS (1) because there is only one applet.
Fixes bug 965.

svn path=/trunk/; revision=19262
2005-11-16 11:24:41 +00:00