reactos.git
18 years agocompile welcome.exe as unicode application by default
Thomas Bluemel [Thu, 4 Aug 2005 10:41:58 +0000 (10:41 +0000)]
compile welcome.exe as unicode application by default

svn path=/trunk/; revision=17042

18 years agoSync to Wine-20050628:
Gé van Geldorp [Thu, 4 Aug 2005 06:52:58 +0000 (06:52 +0000)]
Sync to Wine-20050628:
Phil Krylov <phil@newstar.rinet.ru>
- Implemented EM_GETTEXTLENGTHEX RichEdit message.
Krzysztof Foltman <wdev@foltman.com>
- added support for \ulnone (turning underline off)
- support for basic subscript and superscript
- untested support for text offset
- Emit \tx for user-defined TABs.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Make remaining OLE interface vtables const.
Stefan Huehner <stefan@huehner.org>
- Fix some more -Wstrict-prototypes warnings.
Vitaly Lipatov <lav@etersoft.ru>
- Allow null pointers for EM_GETSEL message (as MSDN says).
Robert Shearman <rob@codeweavers.com>
- Richedit classes should be global.

svn path=/trunk/; revision=17041

18 years agoproperly implement scrolling
Thomas Bluemel [Thu, 4 Aug 2005 00:16:41 +0000 (00:16 +0000)]
properly implement scrolling

svn path=/trunk/; revision=17040

18 years agofail as documented when the pointer to the buffer equals the pointer to the string...
Thomas Bluemel [Wed, 3 Aug 2005 23:07:10 +0000 (23:07 +0000)]
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

18 years agoFrancois Gouget <fgouget@free.fr>
Gé van Geldorp [Wed, 3 Aug 2005 22:49:47 +0000 (22:49 +0000)]
Francois Gouget <fgouget@free.fr>
Fix winapi_check documentation warnings.

svn path=/trunk/; revision=17038

18 years agoSync to Wine-20050628:
Gé van Geldorp [Wed, 3 Aug 2005 22:46:31 +0000 (22:46 +0000)]
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

18 years agoSync to Wine-20050628:
Gé van Geldorp [Wed, 3 Aug 2005 22:31:39 +0000 (22:31 +0000)]
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

18 years agofixed difference in signedness warning (GCC4)
Thomas Bluemel [Wed, 3 Aug 2005 22:31:41 +0000 (22:31 +0000)]
fixed difference in signedness warning (GCC4)

svn path=/trunk/; revision=17035

18 years agoSync to Wine-20050628:
Gé van Geldorp [Wed, 3 Aug 2005 22:12:15 +0000 (22:12 +0000)]
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

18 years agoSync to Wine-20050628:
Gé van Geldorp [Wed, 3 Aug 2005 21:34:01 +0000 (21:34 +0000)]
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

18 years agoimplemented OffsetClipRgn()
Thomas Bluemel [Wed, 3 Aug 2005 20:15:58 +0000 (20:15 +0000)]
implemented OffsetClipRgn()

svn path=/trunk/; revision=17031

18 years ago- Add registry property constants.
Eric Kohl [Wed, 3 Aug 2005 20:10:32 +0000 (20:10 +0000)]
- Add registry property constants.
- Finish CM_Set_DevNode_Registry_Property_ExW.

svn path=/trunk/; revision=17030

18 years agoUse valid timer ID for SetTimer.
Filip Navara [Wed, 3 Aug 2005 19:34:29 +0000 (19:34 +0000)]
Use valid timer ID for SetTimer.

svn path=/trunk/; revision=17029

18 years agodefine __NO_CTYPE_INLINES so DBG:=0 builds don't import from msvcrt
Thomas Bluemel [Wed, 3 Aug 2005 19:28:51 +0000 (19:28 +0000)]
define __NO_CTYPE_INLINES so DBG:=0 builds don't import from msvcrt

svn path=/trunk/; revision=17028

18 years agoFix building 'make test'
Casper Hornstrup [Wed, 3 Aug 2005 19:15:47 +0000 (19:15 +0000)]
Fix building 'make test'

svn path=/trunk/; revision=17027

18 years agoswitch back to #include "precomp.h" for precomp.cpp because it's needed for VC++...
Martin Fuchs [Wed, 3 Aug 2005 17:46:56 +0000 (17:46 +0000)]
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

18 years agoDocument <module type="nativecui" ...>
Emanuele Aliberti [Wed, 3 Aug 2005 15:05:54 +0000 (15:05 +0000)]
Document <module type="nativecui" ...>

svn path=/trunk/; revision=17004

18 years agoFix mouse.inf file (missing %)
Hervé Poussineau [Wed, 3 Aug 2005 14:48:38 +0000 (14:48 +0000)]
Fix mouse.inf file (missing %)

svn path=/trunk/; revision=17003

18 years agoDon't display available resolutions even if DBG is set. Rely only on NDEBUG
Hervé Poussineau [Wed, 3 Aug 2005 14:46:17 +0000 (14:46 +0000)]
Don't display available resolutions even if DBG is set. Rely only on NDEBUG

svn path=/trunk/; revision=17002

18 years agoImplement VideoPortVerifyAccessRanges
Hervé Poussineau [Wed, 3 Aug 2005 14:46:12 +0000 (14:46 +0000)]
Implement VideoPortVerifyAccessRanges

svn path=/trunk/; revision=17001

18 years agoFix building kernel32 test
Casper Hornstrup [Wed, 3 Aug 2005 14:45:50 +0000 (14:45 +0000)]
Fix building kernel32 test

svn path=/trunk/; revision=17000

18 years agoFix name length handing in RtlQueryAtomInAtomTable.
Filip Navara [Wed, 3 Aug 2005 14:45:39 +0000 (14:45 +0000)]
Fix name length handing in RtlQueryAtomInAtomTable.

svn path=/trunk/; revision=16999

18 years ago- Implement !DeletePinned case in RtlEmptyAtomTable.
Filip Navara [Wed, 3 Aug 2005 14:26:56 +0000 (14:26 +0000)]
- Implement !DeletePinned case in RtlEmptyAtomTable.
- Fix error checking in RtlAddAtomToAtomTable / RtlpCheckIntegerAtom.

svn path=/trunk/; revision=16998

18 years agoSet right compatible IDs for USB devices with multiple interfaces
Hervé Poussineau [Wed, 3 Aug 2005 14:03:31 +0000 (14:03 +0000)]
Set right compatible IDs for USB devices with multiple interfaces
Better implementation of IOCTL_USB_GET_NODE_CONNECTION_INFORMATION

svn path=/trunk/; revision=16997

18 years ago#include "precomp.h" -> #include <precomp.h>
Thomas Bluemel [Wed, 3 Aug 2005 11:10:21 +0000 (11:10 +0000)]
#include "precomp.h" -> #include <precomp.h>

svn path=/trunk/; revision=16994

18 years ago#include "precomp.h" -> #include <precomp.h>
Filip Navara [Wed, 3 Aug 2005 10:00:30 +0000 (10:00 +0000)]
#include "precomp.h" -> #include <precomp.h>

svn path=/trunk/; revision=16993

18 years ago#include "precomp.h" -> #include <precomp.h>
Filip Navara [Wed, 3 Aug 2005 09:31:39 +0000 (09:31 +0000)]
#include "precomp.h" -> #include <precomp.h>

svn path=/trunk/; revision=16992

18 years agoi386DX <i386dx@hotmail.com>:
Gé van Geldorp [Wed, 3 Aug 2005 08:31:30 +0000 (08:31 +0000)]
i386DX <i386dx@hotmail.com>:
Dutch resources

svn path=/trunk/; revision=16991

18 years agoAdd stub for VpNotifyEaData.
Filip Navara [Wed, 3 Aug 2005 07:50:16 +0000 (07:50 +0000)]
Add stub for VpNotifyEaData.

svn path=/trunk/; revision=16990

18 years agoset svn:eol-style of *.vcproj and *.sln to CRLF
Martin Fuchs [Wed, 3 Aug 2005 05:20:59 +0000 (05:20 +0000)]
set svn:eol-style of *.vcproj and *.sln to CRLF

svn path=/trunk/; revision=16989

18 years agoset svn:eol-style of *.dsp/dsw to CRLF
Martin Fuchs [Wed, 3 Aug 2005 05:11:43 +0000 (05:11 +0000)]
set svn:eol-style of *.dsp/dsw to CRLF

svn path=/trunk/; revision=16987

18 years agoset svn:eol-style of *.dsp/dsw to CRLF
Martin Fuchs [Wed, 3 Aug 2005 05:09:33 +0000 (05:09 +0000)]
set svn:eol-style of *.dsp/dsw to CRLF

svn path=/trunk/; revision=16986

18 years agoRouven Wessling <pentiumforever@gmail.com>:
Thomas Bluemel [Tue, 2 Aug 2005 22:20:03 +0000 (22:20 +0000)]
Rouven Wessling <pentiumforever@gmail.com>:
- German translations

svn path=/trunk/; revision=16985

18 years agoMove #endif one line down to make the source code balanced.
Filip Navara [Tue, 2 Aug 2005 22:14:52 +0000 (22:14 +0000)]
Move #endif one line down to make the source code balanced.

svn path=/trunk/; revision=16984

18 years agoRevert changes accidently commited along with last patch.
Filip Navara [Tue, 2 Aug 2005 22:04:02 +0000 (22:04 +0000)]
Revert changes accidently commited along with last patch.

svn path=/trunk/; revision=16983

18 years agofix typo...
Thomas Bluemel [Tue, 2 Aug 2005 21:46:42 +0000 (21:46 +0000)]
fix typo...

svn path=/trunk/; revision=16982

18 years agoMake w3seek happy.
Filip Navara [Tue, 2 Aug 2005 21:22:40 +0000 (21:22 +0000)]
Make w3seek happy.

svn path=/trunk/; revision=16981

18 years agoViolin Iliev <violin@developer.bg>:
Thomas Bluemel [Tue, 2 Aug 2005 21:16:50 +0000 (21:16 +0000)]
Violin Iliev <violin@developer.bg>:
- Bulgarian translation

svn path=/trunk/; revision=16980

18 years agoSVN maintainance: fix line endings and ignore proxy makefiles
Thomas Bluemel [Tue, 2 Aug 2005 21:12:28 +0000 (21:12 +0000)]
SVN maintainance: fix line endings and ignore proxy makefiles

svn path=/trunk/; revision=16979

18 years agoUse mapped sections for fonts instead of paged pool memory.
Filip Navara [Tue, 2 Aug 2005 20:33:33 +0000 (20:33 +0000)]
Use mapped sections for fonts instead of paged pool memory.

svn path=/trunk/; revision=16977

18 years agoA really simple Win32 implementation of 'hostname'.
Emanuele Aliberti [Tue, 2 Aug 2005 20:17:01 +0000 (20:17 +0000)]
A really simple Win32 implementation of 'hostname'.

svn path=/trunk/; revision=16976

18 years agoFix linux build.
Filip Navara [Tue, 2 Aug 2005 18:21:48 +0000 (18:21 +0000)]
Fix linux build.

svn path=/trunk/; revision=16975

18 years agoFix the -sections option of PEFIXUP tool and adapt RBUILD to use it.
Filip Navara [Tue, 2 Aug 2005 18:13:21 +0000 (18:13 +0000)]
Fix the -sections option of PEFIXUP tool and adapt RBUILD to use it.

svn path=/trunk/; revision=16974

18 years agoLocate latest revision ISO
Casper Hornstrup [Tue, 2 Aug 2005 16:13:02 +0000 (16:13 +0000)]
Locate latest revision ISO

svn path=/trunk/; revision=16973

18 years agoModify NTDLL!DbgSsInitialize/4 signature.
Emanuele Aliberti [Tue, 2 Aug 2005 16:11:13 +0000 (16:11 +0000)]
Modify NTDLL!DbgSsInitialize/4 signature.

svn path=/trunk/; revision=16972

18 years agoLocate next revision ISO
Casper Hornstrup [Tue, 2 Aug 2005 15:58:41 +0000 (15:58 +0000)]
Locate next revision ISO

svn path=/trunk/; revision=16971

18 years ago- Remove CmpFindObject hack and use ObFindObject with on-demand ObjectCreateInfo.
Alex Ionescu [Tue, 2 Aug 2005 14:01:43 +0000 (14:01 +0000)]
- 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

18 years agoFix some pointer casts.
Filip Navara [Tue, 2 Aug 2005 13:53:52 +0000 (13:53 +0000)]
Fix some pointer casts.

svn path=/trunk/; revision=16969

18 years ago- Remove the DoneInitYet hack.
Filip Navara [Tue, 2 Aug 2005 13:52:10 +0000 (13:52 +0000)]
- Remove the DoneInitYet hack.
- Add stub for PsSetProcessPriorityByClass.
- Rename PsSetProcessWin32WindowStation to PsSetProcessWindowStation.

svn path=/trunk/; revision=16968

18 years agoRemove duplicate definitions.
Filip Navara [Tue, 2 Aug 2005 13:21:18 +0000 (13:21 +0000)]
Remove duplicate definitions.

svn path=/trunk/; revision=16967

18 years agofixed the CONTAINING_RECORD macro
Thomas Bluemel [Tue, 2 Aug 2005 11:23:40 +0000 (11:23 +0000)]
fixed the CONTAINING_RECORD macro

svn path=/trunk/; revision=16966

18 years ago- Add access state functions.
Alex Ionescu [Tue, 2 Aug 2005 03:56:29 +0000 (03:56 +0000)]
- Add access state functions.

svn path=/trunk/; revision=16965

18 years agoImplement CM_Get_DevNode_Registry_Property[_Ex]A/W and CM_Set_DevNode_Registry_Proper...
Eric Kohl [Mon, 1 Aug 2005 19:42:19 +0000 (19:42 +0000)]
Implement CM_Get_DevNode_Registry_Property[_Ex]A/W and CM_Set_DevNode_Registry_Property[_Ex]A/W partially.

svn path=/trunk/; revision=16964

18 years agoDon't fallback to linear search for exports, it's not needed.
Filip Navara [Mon, 1 Aug 2005 18:11:54 +0000 (18:11 +0000)]
Don't fallback to linear search for exports, it's not needed.

svn path=/trunk/; revision=16963

18 years agoDon't do linear search for exports, it's not needed.
Filip Navara [Mon, 1 Aug 2005 18:04:49 +0000 (18:04 +0000)]
Don't do linear search for exports, it's not needed.

svn path=/trunk/; revision=16962

18 years agoRemove the PESUM tool, the PEFIXUP tool can be used instead.
Filip Navara [Mon, 1 Aug 2005 17:58:47 +0000 (17:58 +0000)]
Remove the PESUM tool, the PEFIXUP tool can be used instead.

svn path=/trunk/; revision=16961

18 years agoAdd new PEFIXUP tool and use it in the build system.
Filip Navara [Mon, 1 Aug 2005 17:56:41 +0000 (17:56 +0000)]
Add new PEFIXUP tool and use it in the build system.

svn path=/trunk/; revision=16960

18 years agoprint percentage character for the memory load in debug message (GlobalMemoryStatusEx...
Thomas Bluemel [Mon, 1 Aug 2005 16:28:11 +0000 (16:28 +0000)]
print percentage character for the memory load in debug message (GlobalMemoryStatusEx). Suggested by WaxDragon

svn path=/trunk/; revision=16959

18 years agoRBuild 'project' document DTD (rough draft).
Emanuele Aliberti [Mon, 1 Aug 2005 16:11:29 +0000 (16:11 +0000)]
RBuild 'project' document DTD (rough draft).

svn path=/trunk/; revision=16958

18 years agoReplace 'Value' with 'Content' as per XML spec.
Emanuele Aliberti [Mon, 1 Aug 2005 16:08:29 +0000 (16:08 +0000)]
Replace 'Value' with 'Content' as per XML spec.
Minor changes.

svn path=/trunk/; revision=16957

18 years agorevert my last changes, it seems to cause problems when building on *nix
Thomas Bluemel [Mon, 1 Aug 2005 15:21:40 +0000 (15:21 +0000)]
revert my last changes, it seems to cause problems when building on *nix

svn path=/trunk/; revision=16956

18 years agoVarious LdrGetProcedureAddress fixes:
Filip Navara [Mon, 1 Aug 2005 13:50:07 +0000 (13:50 +0000)]
Various LdrGetProcedureAddress fixes:
- Fix the binary search limits.
- Fix the comparsion of names (previously "XXX" and "XXXyyy" would be considered identical) and make it case sensitive.
- Remove non-binary search, it's not needed.
- Don't use ULONG to store pointers.

svn path=/trunk/; revision=16955

18 years agoFirst attempt to make the XML data we feed rbuild conforming the XInclude spec.
Emanuele Aliberti [Mon, 1 Aug 2005 13:34:33 +0000 (13:34 +0000)]
First attempt to make the XML data we feed rbuild conforming the XInclude spec.

svn path=/trunk/; revision=16954

18 years agofixed uninitialized variable warning
Thomas Bluemel [Mon, 1 Aug 2005 13:27:02 +0000 (13:27 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=16953

18 years agorevert back to -Os because of some buggy versions of GCC
Thomas Bluemel [Mon, 1 Aug 2005 13:01:58 +0000 (13:01 +0000)]
revert back to -Os because of some buggy versions of GCC

svn path=/trunk/; revision=16952

18 years agocompile release builds with -O3 instead of -Os because it catches more mistakes
Thomas Bluemel [Mon, 1 Aug 2005 12:57:34 +0000 (12:57 +0000)]
compile release builds with -O3 instead of -Os because it catches more mistakes

svn path=/trunk/; revision=16951

18 years agoAdd reference to the 'compilerflag' element.
Emanuele Aliberti [Mon, 1 Aug 2005 12:54:50 +0000 (12:54 +0000)]
Add reference to the 'compilerflag' element.
Add reference to the 'group' element.
Add Parents section to more elements.

svn path=/trunk/; revision=16950

18 years agotemporarily disable -Werror for tools, there seem to be differences between versions...
Thomas Bluemel [Mon, 1 Aug 2005 12:51:20 +0000 (12:51 +0000)]
temporarily disable -Werror for tools, there seem to be differences between versions of gcc issuing some warnings

svn path=/trunk/; revision=16949

18 years agoPass correct pool type to PsChargePoolQuota.
Filip Navara [Mon, 1 Aug 2005 11:59:22 +0000 (11:59 +0000)]
Pass correct pool type to PsChargePoolQuota.

svn path=/trunk/; revision=16948

18 years agodon't count references for the default quota block and fixed warnings
Thomas Bluemel [Mon, 1 Aug 2005 11:58:47 +0000 (11:58 +0000)]
don't count references for the default quota block and fixed warnings

svn path=/trunk/; revision=16947

18 years agoFix a typo. Thanks to Hervé Poussineau for noticing.
Filip Navara [Mon, 1 Aug 2005 11:46:30 +0000 (11:46 +0000)]
Fix a typo. Thanks to Hervé Poussineau for noticing.

svn path=/trunk/; revision=16946

18 years agoAdd pool type masks and use them.
Filip Navara [Mon, 1 Aug 2005 11:33:15 +0000 (11:33 +0000)]
Add pool type masks and use them.

svn path=/trunk/; revision=16945

18 years agoFix definition of EPROCESS_QUOTA_ENTRY.
Filip Navara [Mon, 1 Aug 2005 11:26:53 +0000 (11:26 +0000)]
Fix definition of EPROCESS_QUOTA_ENTRY.

svn path=/trunk/; revision=16944

18 years agoSetup quota blocks for processes.
Filip Navara [Mon, 1 Aug 2005 11:21:42 +0000 (11:21 +0000)]
Setup quota blocks for processes.

svn path=/trunk/; revision=16943

18 years agoSetup quota blocks for processes.
Filip Navara [Mon, 1 Aug 2005 11:20:44 +0000 (11:20 +0000)]
Setup quota blocks for processes.

svn path=/trunk/; revision=16942

18 years agodefine common build flags so they can easily be changed for all tools
Thomas Bluemel [Mon, 1 Aug 2005 10:58:28 +0000 (10:58 +0000)]
define common build flags so they can easily be changed for all tools

svn path=/trunk/; revision=16941

18 years agofixed some warnings when compiling with -O3
Thomas Bluemel [Mon, 1 Aug 2005 10:21:20 +0000 (10:21 +0000)]
fixed some warnings when compiling with -O3

svn path=/trunk/; revision=16940

18 years agoFix prototype of RtlCreateHeap and respect the CommitRoutine if passed. Also fix...
Filip Navara [Mon, 1 Aug 2005 10:19:22 +0000 (10:19 +0000)]
Fix prototype of RtlCreateHeap and respect the CommitRoutine if passed. Also fix the heap manager to be usable by kernel mode code.

svn path=/trunk/; revision=16939

18 years agofixed some uninitialized variables warnings
Thomas Bluemel [Mon, 1 Aug 2005 09:23:13 +0000 (09:23 +0000)]
fixed some uninitialized variables warnings

svn path=/trunk/; revision=16938

18 years agoAdd back changes of revision 16783. Sorry Alex
Hervé Poussineau [Mon, 1 Aug 2005 09:08:07 +0000 (09:08 +0000)]
Add back changes of revision 16783. Sorry Alex

svn path=/trunk/; revision=16937

18 years agoCleanup SID initialization and fill all SeExports fields.
Filip Navara [Mon, 1 Aug 2005 09:05:20 +0000 (09:05 +0000)]
Cleanup SID initialization and fill all SeExports fields.

svn path=/trunk/; revision=16936

18 years agoFix LdrAccessResource for ordinary mapped files.
Filip Navara [Mon, 1 Aug 2005 08:58:15 +0000 (08:58 +0000)]
Fix LdrAccessResource for ordinary mapped files.

svn path=/trunk/; revision=16935

18 years agoFix DPRINT.
Filip Navara [Mon, 1 Aug 2005 08:56:51 +0000 (08:56 +0000)]
Fix DPRINT.

svn path=/trunk/; revision=16934

18 years agoFix paramater validation and pointer manipulation in RtlAddAce.
Filip Navara [Mon, 1 Aug 2005 08:55:22 +0000 (08:55 +0000)]
Fix paramater validation and pointer manipulation in RtlAddAce.

svn path=/trunk/; revision=16933

18 years agoFix locking in RtlPinAtomInAtomTable.
Filip Navara [Mon, 1 Aug 2005 08:50:30 +0000 (08:50 +0000)]
Fix locking in RtlPinAtomInAtomTable.

svn path=/trunk/; revision=16932

18 years agoMerge from Wine:
Hervé Poussineau [Mon, 1 Aug 2005 07:46:06 +0000 (07:46 +0000)]
Merge from Wine:
- Add traces at the start of functions
- (reported by Matthew Davison)
  Preserve the spaces before an opening quote in the middle of a token.
- Matthew Davison <mjd77@cam.ac.uk>
  Stub out the error dialog functions.
  Modify the default callbacks to call these for Delete and Rename errors.
  Modify the default callbacks to ignore file missing errors when deleting files.
- Stefan Huehner <stefan@huehner.org>
  Fix some more -Wmissing-declarations warnings.
- Mike McCormack <mike@codeweavers.com>
  gcc 4.0 -Wpointer-sign fixes (Reg* functions).
- Detlef Riekenberg <wine.dev@web.de>
  SetupSetFileQueueAlternatePlatform{AW} implemented as stub.

svn path=/trunk/; revision=16931

18 years agoUsed MmFreeVirtualMemory in MmDeleteTeb because MmFreeMemoryAreaByPtr doesn't free...
Hartmut Birr [Mon, 1 Aug 2005 00:06:18 +0000 (00:06 +0000)]
Used MmFreeVirtualMemory in MmDeleteTeb because MmFreeMemoryAreaByPtr doesn't free the region list entries.

svn path=/trunk/; revision=16930

18 years agofixed some warnings when compiling with -O3
Thomas Bluemel [Sun, 31 Jul 2005 23:39:05 +0000 (23:39 +0000)]
fixed some warnings when compiling with -O3

svn path=/trunk/; revision=16928

18 years agofixed uninitialized variable warning
Thomas Bluemel [Sun, 31 Jul 2005 21:51:04 +0000 (21:51 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=16927

18 years ago- Changed BasepConvertUnicodeEnvironment to obtain the calculated length.
Hartmut Birr [Sun, 31 Jul 2005 21:27:56 +0000 (21:27 +0000)]
- Changed BasepConvertUnicodeEnvironment to obtain the calculated length.
- Optimized the calculation of the environment length.
- Disable the execution of vdm for com-files, because it breaks the execution of batch files.
- Removed an unused variable.

svn path=/trunk/; revision=16926

18 years agoDon't use INVALID_HANDLE_VALUE as HANDLE_DETACH_PROCESS.
Hartmut Birr [Sun, 31 Jul 2005 21:24:35 +0000 (21:24 +0000)]
Don't use INVALID_HANDLE_VALUE as HANDLE_DETACH_PROCESS.

svn path=/trunk/; revision=16925

18 years ago- Implemented CsrDuplicateHandleTable.
Hartmut Birr [Sun, 31 Jul 2005 21:23:40 +0000 (21:23 +0000)]
- Implemented CsrDuplicateHandleTable.
- Duplicate the handle table in CsrCreateProcess if the caller wants to inherit all handles.
- Don't allocate new handles in CsrAllocConsole if the caller wants to reuse a console and if the parent handles were inherited.
- Do only allow to reuse the console from parent.

svn path=/trunk/; revision=16924

18 years agoFixed a typo.
Hartmut Birr [Sun, 31 Jul 2005 21:02:05 +0000 (21:02 +0000)]
Fixed a typo.

svn path=/trunk/; revision=16923

18 years agofixed typo in a comment
Thomas Bluemel [Sun, 31 Jul 2005 20:35:08 +0000 (20:35 +0000)]
fixed typo in a comment

svn path=/trunk/; revision=16922

18 years agofixed success check in RtlpCreateAtomHandle, ExCreateHandle returns EX_INVALID_HANDLE...
Thomas Bluemel [Sun, 31 Jul 2005 18:52:36 +0000 (18:52 +0000)]
fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns EX_INVALID_HANDLE in case of failure. Thx to Filip

svn path=/trunk/; revision=16921

18 years agoset svn:eol-style to native
Martin Fuchs [Sun, 31 Jul 2005 12:11:56 +0000 (12:11 +0000)]
set svn:eol-style to native

svn path=/trunk/; revision=16920

18 years agoFix NULL-terminating of symbol image names.
Filip Navara [Sun, 31 Jul 2005 11:06:50 +0000 (11:06 +0000)]
Fix NULL-terminating of symbol image names.

svn path=/trunk/; revision=16919

18 years agoImplement the magic flag in RtlImageDirectoryEntryToData and make the Size parameter...
Filip Navara [Sun, 31 Jul 2005 10:22:29 +0000 (10:22 +0000)]
Implement the magic flag in RtlImageDirectoryEntryToData and make the Size parameter non-optional.

svn path=/trunk/; revision=16918

18 years agoRevert #16904 and clarify the comment about the race condition.
Filip Navara [Sun, 31 Jul 2005 09:48:12 +0000 (09:48 +0000)]
Revert #16904 and clarify the comment about the race condition.

svn path=/trunk/; revision=16917

18 years agoset eol-style for all remaining XML files
Martin Fuchs [Sun, 31 Jul 2005 08:33:39 +0000 (08:33 +0000)]
set eol-style for all remaining XML files

svn path=/trunk/; revision=16916