Commit graph

16197 commits

Author SHA1 Message Date
Thomas Bluemel
f89d9a13ad fail as documented when the pointer to the buffer equals the pointer to the string to be converted in MultiByteToWideChar and WideCharToMultiByte
svn path=/trunk/; revision=17039
2005-08-03 23:07:10 +00:00
Gé van Geldorp
9912b90aff Francois Gouget <fgouget@free.fr>
Fix winapi_check documentation warnings.

svn path=/trunk/; revision=17038
2005-08-03 22:49:47 +00:00
Gé van Geldorp
c089737240 Sync to Wine-20050628:
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Robert Shearman <rob@codeweavers.com>
- DispInvoke is correct so there is no need to print a fixme.
- The typelib marshaler should only free the memory it actually allocated.
- Add special cases for two lesser used types that aren't
  sizeof(DWORD) sized.
- If we are accessing a method from a superclass then we need to use the
  superclass's ITypeInfo otherwise we could get errors when accessing
  hreftypes that aren't present in the subclass.
- Don't print out cryptic message if IDispatch or IUnknown object is
  just NULL.
- puArgErr is a ref pointer so we have to provide a dummy pointer if
  it is NULL.
- Fail gracefully and notify caller if we ran out of memoy or if
  variant copying failed.
- Clear out parameters to stop bad pointers lying around in memory if
  the function doesn't set them to anything.
- Fix the return values from QueryPathOfRegTypeLib.
- Open registry key with least access rights necessary.
- Documentation updates.
Michael Stefaniuc <mstefani@redhat.de>
- VarCmp: handle comparision of VT_EMPTY with an integer
- small comment fix
- Reimplement VarAdd, had missing functionality and wrong behaviour.
- Fix a typo in VarMul.
- more VarFormat fixes for number formats (exponent, mixed '#' and '0'
  in formats, rounding, etc). Simplify the code.
- previous VarFormat todo_wine tests pass now + add more tests
- Fix VarFormat for formats that mix '0' and '#' in the whole number
  part.
- Fix VarFormat for negative exponent formats.
- Add tests for the above + a couple of "todo_wine"'s.
- implement handling of exponents (e+,e-,E+,E-) when parsing number
  formats
- fix a small cut'n'paste error in the comments
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Marcus Meissner <marcus@jet.franken.de>
- Added VarMonthName() implementation.
- Corrected string length method in ITypeLib::IsName() and FindName()
  for LPOLESTR type.
- Fixed IType::Invoke in regards to handling propertyget variables
  longer than 4 bytes (like VT_DATE).
- Added testcases for OLE Picture handling.
- Implemented PICTYPE_NONE loading.
- Cleaned up stream loading, handle "lt" magic.
- Fixed some small problems exposed by tests against native.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Huw Davies <huw@codeweavers.com>
- Add comments describing the first DWORD in an import table entry.

svn path=/trunk/; revision=17037
2005-08-03 22:46:31 +00:00
Gé van Geldorp
7ba677508a Sync to Wine-20050628:
Robert Shearman <rob@codeweavers.com>
- Convert some registry helper functions to use unicode versions of
  CLSID & registry functions (untested).
- Add registry entries for local-only OLE interfaces.
- Change IUnknown to local interface.
- IUnknown isn't a remotable interface so the stub manager shouldn't
  need a marshaller for it.
- Change the RPC code to use the unicode versions of the CLSID &
  registry functions.
- Don't disconnect proxies flagged with SORFP_NOLIFETIMEMGMT. It makes
  no sense and only causes trouble for proxies that depend on these
  proxies being available.
- Change some of the registry helper functions to use the unicode
  versions of the CLSID & registry functions.
- Reindent CoGetClassObject and output an error message if the class
  isn't registered.
- Add tests for the touched functions.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Richard Cohen <richard@daijobu.co.uk>
- Base FileMonikerImpl_Save() on XP.
- Correct handling of Unicode strings & multibyte locales.
- More error checking.
- Change ERR to WARN.
- Match Windows quick & dirty estimate for GetSizeMax().
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Mike Hearn <mike@navi.cx>
- Add some tracing to the IRemUnknown RpcProxyBuffer implementation.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Richard Cohen <richard@daijobu.co.uk>
- IEnum::Clone shouldn't do a Reset.
Marcus Meissner <marcus@jet.franken.de>
- Removed CLSID_CompositeMoniker (conflicting with static definition).
Alexandre Julliard <julliard@winehq.org>
- Sort entry points alphabetically.

svn path=/trunk/; revision=17036
2005-08-03 22:31:39 +00:00
Thomas Bluemel
9faf200230 fixed difference in signedness warning (GCC4)
svn path=/trunk/; revision=17035
2005-08-03 22:31:41 +00:00
Gé van Geldorp
4e23c74418 Sync to Wine-20050628:
Mike McCormack <mike@codeweavers.com>
- Repaint the area behind the "transparent" text control when it
  changes.
- Implement transparency in the text control.
- Make the MSI icon control work.
- Make tabs work in msi dialogs.
- Added support for the MSI MaskEdit control.
- Use a richedit control for license text.
- Fix radio button groups. Don't add the WS_GROUP style to every
  window.
- Use standard lists in the event subscription code.
- Take the dialog frame into account when calculating the dialog size.
- Use MSI_QueryGetRecord in one more place.
- Create a helper function to fetch a single record from a query.
- More -Wmissing-declarations and -Wwrite-strings warning fixes.
- Get rid of some redundant parser types.
- Use the new helper function MSI_QueryGetRecord.
- Use MSI_RecordGetString in more actions.
- Use MSI_RecordGetString where possible.
- Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
- Remove some unused code.
- Add and correct some function declarations.
- Improve number parsing and avoid unicode.h.
- avoid unicode.h
- add a missing function prototype
- Create a stub implementation for MsiViewGetError.
- Remove more types from the parser.
- Test and fix the size of stream fields in a record.
- Clean up headers and make some functions static.
Marcus Meissner <meissner@suse.de>
- Use a simpler expression for the "RichEdit20W" string to workaround
  compiler bug.
- Remove cszbs from msi/action.h.
Aric Stewart <aric@codeweavers.com>
Mike McCormack <mike@codeweavers.com>
- Allow dialog controls to subscribe to installer events.
- Fix handling of checkbox properties.
- Implement dialog events and hook up the dialog code.
Aric Stewart <aric@codeweavers.com>
- Break out all the file related actions and helper functions into
  files.c
- Break out all the top level apis into install.c.
- Break out all the class registration actions into classes.c. This
  includes RegisterClassInfo, RegisterProgIds, RegisterExtensions and
  RegisterMIMETypes.
- Break out all the helper functions into helpers.c.
- Added module upgrade.c and implemented FindRelatedProducts.
- A long overdue fix to MSI_SetTargetPath. This should fix an error with
  some installers that where unable to change the target path.
- Add functions to add the User UpgradeCodes.
- A simple cleanup to only track the temp file if we need to have it
  laying around because the action is going on asynchronously. Otherwise
  clean up the temp file as the action finishes.
- Introduce really basic scripting of actions. This is primarily to get
  the order of execution of the action correct since some custom actions
  can be scripted and others are run during the script building phase.
- Perform ExecuteAction at UILevel 2.
- Rework CreateShortcuts to use MSI_IterateRecords.
- Properly handle -1 as a registry key root.
- Rework SelfRegModules to use MSI_IterateRecords.
- Rework component, feature and file loading to use MSI_IterateRecords.
- Rework RegisterFonts to use MSI_IterateRecords.
- Rework WriteIniValues to use MSI_IterateRecords.
- Rework PublishProduct to use MSI_IterateRecords.
- Rework RegisterTypeLibraries to use MSI_IterateR
- Rework LaunchConditions to use MSI_IterateRecord
- Rework CostFinalize to use MSI_IterateRecords.
- Rework WriteRegistryValues to use MSI_IterateRecords.
- Rework CreateFolders to use MSI_IterateRecords.
- Use MSI_IterateRecords for processing actions.
  Some whitespace cleanup and replace a comment block I did not want to
  remove.
- Flesh out the remaining keys in RegisterProduct.
- Extending upon Mike McCormack's cleanup to use MSI_RecordGetString.
- Register the Product Version also.
  Also help plug some memory leaks pointed out by Mike McCormack.
- Avoid a loop where a parent's parent refers to itself as its parent.
- Added module upgrade.c and implemented FindRelatedProducts.
- Set the Preselected property if appropriate (relevant to
  MigrateFeatureStates when implemented).
- Write out Product Language and Product Icon to the registry.
- Write out UpgradeCodes to the registry to allow for future upgrades.
- Don't get caught in loops on parent progids.
- Since multiple progids can refer to 1 class we need to check if that
  class is isntalled instead of just relying on having it set the
  InstallMe variable.
- Add install_on_demand for Extension servers also. currently defaulting
  to TRUE.
- Extension need to have 1 verb to mark the given progid to be
  installed.
- Do not loop if a ProgId's Parent Index it itself.
- Add a VersionIndIndex for tracking version independent fields for the
  ProgIds properly.
- Print a message for skipped actions in ProcessExecSequence like in the
  UISequence.
- Do not change a features state to Advertise if it explicitly disallows
  it.
- For typelibs index 1 do not add \\1 to the path. This cleans up
  registry diffs with native MSI.
- Register the FileType and correct short vs long path problems with
  InprocServer32. Also add install_on_demand boolean for future
  expansion.
- First pass at writing out CurVer keys for ProgIds. Also print a
  message for the actions we skip. Lines up with native MSI output logs
  for ease of comparison.
- A big rewrite of the whole RegisterClass, RegisterProgId,
  RegisterExtension and RegisterMIME actions. We now handle verbs
  properly, handle dependancies and such properly and keep track of what
  we need to register and what we do not properly.
- Allow control events to return codes to halt the processing of event.
  Needed for the SetTargetPath Event.
- Fix situations where TARGETDIR is set to a non \ terminated
  path. Fixes a few installers.
- Redo how we extract files from a cabinet in order to dramatically
  improve performance, especially if picking and choosing files out of
  the cabinet.
- Duplicate files should not fail if unable to get Destination
  Directory.
- Use MSI_IterateRecords for DuplicateFiles.
- Add UI messages to FindRelatedProducts.
- Reduce unneeded includes.
- A "1" is returned not a 1 for AssignmentType. Also as a bit more to
  the FIXME message.
- Add Language to the values we can query with MsiGetProductInfo.
- Correct a crash if the length buffer is NULL.
- Locate where a buffer size is not being set and correctly handle the
  buffer size conversion from W to A (with help from Robert Shearman).
- Make sure the TRACE statements do not spew garbage by using
  debugstr_wn.
- Restrict deformating of nested index keys [[1]].
- Introduce the beginning of group deformating {}.
- Implement the [!file] format to produce the short filename.
Stefan Huehner <stefan@huehner.org>
- Fix more -Wstrict-prototypes warnings.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make more of the OLE interface vtables const.

svn path=/trunk/; revision=17034
2005-08-03 22:12:15 +00:00
Gé van Geldorp
0f766beac3 Sync to Wine-20050628:
Mike McCormack <mike@codeweavers.com>
- Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Alexandre Julliard <julliard@winehq.org>
- Sort entry points in the same order as Windows.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17033
2005-08-03 21:34:01 +00:00
Thomas Bluemel
fd1eac7f05 implemented OffsetClipRgn()
svn path=/trunk/; revision=17031
2005-08-03 20:15:58 +00:00
Eric Kohl
f86b5b132c - Add registry property constants.
- Finish CM_Set_DevNode_Registry_Property_ExW.

svn path=/trunk/; revision=17030
2005-08-03 20:10:32 +00:00
Filip Navara
1bbf906bf4 Use valid timer ID for SetTimer.
svn path=/trunk/; revision=17029
2005-08-03 19:34:29 +00:00
Thomas Bluemel
f1cc84e27c define __NO_CTYPE_INLINES so DBG:=0 builds don't import from msvcrt
svn path=/trunk/; revision=17028
2005-08-03 19:28:51 +00:00
Casper Hornstrup
157587d815 Fix building 'make test'
svn path=/trunk/; revision=17027
2005-08-03 19:15:47 +00:00
Martin Fuchs
8f8a4dbabd switch back to #include "precomp.h" for precomp.cpp because it's needed for VC++ and doesn't irritate GCC since it's not compiled with GCC anyways.
svn path=/trunk/; revision=17026
2005-08-03 17:46:56 +00:00
Emanuele Aliberti
ee4b8ce5d4 Document <module type="nativecui" ...>
svn path=/trunk/; revision=17004
2005-08-03 15:05:54 +00:00
Hervé Poussineau
e0d12ad786 Fix mouse.inf file (missing %)
svn path=/trunk/; revision=17003
2005-08-03 14:48:38 +00:00
Hervé Poussineau
fc64a3b777 Don't display available resolutions even if DBG is set. Rely only on NDEBUG
svn path=/trunk/; revision=17002
2005-08-03 14:46:17 +00:00
Hervé Poussineau
3f4fb2baec Implement VideoPortVerifyAccessRanges
svn path=/trunk/; revision=17001
2005-08-03 14:46:12 +00:00
Casper Hornstrup
0349ed11fb Fix building kernel32 test
svn path=/trunk/; revision=17000
2005-08-03 14:45:50 +00:00
Filip Navara
e51757630c Fix name length handing in RtlQueryAtomInAtomTable.
svn path=/trunk/; revision=16999
2005-08-03 14:45:39 +00:00
Filip Navara
1eaff64466 - Implement !DeletePinned case in RtlEmptyAtomTable.
- Fix error checking in RtlAddAtomToAtomTable / RtlpCheckIntegerAtom.

svn path=/trunk/; revision=16998
2005-08-03 14:26:56 +00:00
Hervé Poussineau
5327167d43 Set right compatible IDs for USB devices with multiple interfaces
Better implementation of IOCTL_USB_GET_NODE_CONNECTION_INFORMATION

svn path=/trunk/; revision=16997
2005-08-03 14:03:31 +00:00
Thomas Bluemel
6cf95c3fcd #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16994
2005-08-03 11:10:21 +00:00
Filip Navara
0ee2eb988f #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16993
2005-08-03 10:00:30 +00:00
Filip Navara
ec8d77890b #include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=16992
2005-08-03 09:31:39 +00:00
Gé van Geldorp
2564afd831 i386DX <i386dx@hotmail.com>:
Dutch resources

svn path=/trunk/; revision=16991
2005-08-03 08:31:30 +00:00
Filip Navara
7cdbc1d414 Add stub for VpNotifyEaData.
svn path=/trunk/; revision=16990
2005-08-03 07:50:16 +00:00
Martin Fuchs
ae646476ce set svn:eol-style of *.vcproj and *.sln to CRLF
svn path=/trunk/; revision=16989
2005-08-03 05:20:59 +00:00
Martin Fuchs
f32aa7a945 set svn:eol-style of *.dsp/dsw to CRLF
svn path=/trunk/; revision=16987
2005-08-03 05:11:43 +00:00
Martin Fuchs
64e350d6d5 set svn:eol-style of *.dsp/dsw to CRLF
svn path=/trunk/; revision=16986
2005-08-03 05:09:33 +00:00
Thomas Bluemel
1bfe04d376 Rouven Wessling <pentiumforever@gmail.com>:
- German translations

svn path=/trunk/; revision=16985
2005-08-02 22:20:03 +00:00
Filip Navara
c635b98ceb Move #endif one line down to make the source code balanced.
svn path=/trunk/; revision=16984
2005-08-02 22:14:52 +00:00
Filip Navara
595f9f988d Revert changes accidently commited along with last patch.
svn path=/trunk/; revision=16983
2005-08-02 22:04:02 +00:00
Thomas Bluemel
91e5ea7dfa fix typo...
svn path=/trunk/; revision=16982
2005-08-02 21:46:42 +00:00
Filip Navara
aea5c02d13 Make w3seek happy.
svn path=/trunk/; revision=16981
2005-08-02 21:22:40 +00:00
Thomas Bluemel
c04526fcde Violin Iliev <violin@developer.bg>:
- Bulgarian translation

svn path=/trunk/; revision=16980
2005-08-02 21:16:50 +00:00
Thomas Bluemel
4d49702340 SVN maintainance: fix line endings and ignore proxy makefiles
svn path=/trunk/; revision=16979
2005-08-02 21:12:28 +00:00
Filip Navara
03eedf362f Use mapped sections for fonts instead of paged pool memory.
svn path=/trunk/; revision=16977
2005-08-02 20:33:33 +00:00
Emanuele Aliberti
b8940ad696 A really simple Win32 implementation of 'hostname'.
svn path=/trunk/; revision=16976
2005-08-02 20:17:01 +00:00
Filip Navara
ce5d8968c6 Fix linux build.
svn path=/trunk/; revision=16975
2005-08-02 18:21:48 +00:00
Filip Navara
29532ce6f6 Fix the -sections option of PEFIXUP tool and adapt RBUILD to use it.
svn path=/trunk/; revision=16974
2005-08-02 18:13:21 +00:00
Casper Hornstrup
db35c17756 Locate latest revision ISO
svn path=/trunk/; revision=16973
2005-08-02 16:13:02 +00:00
Emanuele Aliberti
a7acccff70 Modify NTDLL!DbgSsInitialize/4 signature.
svn path=/trunk/; revision=16972
2005-08-02 16:11:13 +00:00
Casper Hornstrup
c9a2c8aab8 Locate next revision ISO
svn path=/trunk/; revision=16971
2005-08-02 15:58:41 +00:00
Alex Ionescu
178ec80139 - Remove CmpFindObject hack and use ObFindObject with on-demand ObjectCreateInfo.
- Note that the code is still wrong and will be fixed soon.

svn path=/trunk/; revision=16970
2005-08-02 14:01:43 +00:00
Filip Navara
b0c4274c66 Fix some pointer casts.
svn path=/trunk/; revision=16969
2005-08-02 13:53:52 +00:00
Filip Navara
ef03d1cb40 - Remove the DoneInitYet hack.
- Add stub for PsSetProcessPriorityByClass.
- Rename PsSetProcessWin32WindowStation to PsSetProcessWindowStation.

svn path=/trunk/; revision=16968
2005-08-02 13:52:10 +00:00
Filip Navara
b5bd68a13b Remove duplicate definitions.
svn path=/trunk/; revision=16967
2005-08-02 13:21:18 +00:00
Thomas Bluemel
0f4524a978 fixed the CONTAINING_RECORD macro
svn path=/trunk/; revision=16966
2005-08-02 11:23:40 +00:00
Alex Ionescu
91907678f1 - Add access state functions.
svn path=/trunk/; revision=16965
2005-08-02 03:56:29 +00:00
Eric Kohl
226f6c1ce2 Implement CM_Get_DevNode_Registry_Property[_Ex]A/W and CM_Set_DevNode_Registry_Property[_Ex]A/W partially.
svn path=/trunk/; revision=16964
2005-08-01 19:42:19 +00:00