reactos.git
17 years agoUpdate status
Gé van Geldorp [Fri, 6 May 2005 19:42:39 +0000 (19:42 +0000)]
Update status

svn path=/trunk/; revision=15059

17 years agoSync to Wine-20050419:
Gé van Geldorp [Fri, 6 May 2005 19:18:46 +0000 (19:18 +0000)]
Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.

svn path=/trunk/; revision=15057

17 years agoSync to Wine-20050419:
Gé van Geldorp [Fri, 6 May 2005 19:16:10 +0000 (19:16 +0000)]
Sync to Wine-20050419:
Robert Reif <reif@earthlink.net>
- Stub out DRVM_MAPPER_RECONFIGURE support.
- Correctly handle where waveOutGetPosition changes timepos.wType
  because the requested type is not supported.
- Added Jeremy White's waveOutGetPosition fix to waveInGetPosition.
- Fix memory leak in error path.
- Provide default implementation of waveInPrepareHeader and
  waveInUnprepareHeader if driver doesn't support them.
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Peter Berg Larsen <pebl@math.ku.dk>
- Assorted memleak fixes. Found on Michael Stefaniuc smatch list.
Jeremy White <jwhite@codeweavers.com>
- Do not fallback to defaults if a driver, mapper, or midi is specified
  in the registry; consolidate MMDRV_Init() into a single function.
Robert Reif <reif@earthlink.net>
- Fix memory leak when there are too many drivers.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Correct and complete some api documentation.
Filip Navara <xnavara@volny.cz>
- Specify correct buffer size in GetPrivateProfileStringW calls.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Avoid trap in mixerGetLineControlsA when cControls is uninitialized
  and MIXER_GETLINECONTROLSSF_ONEBYTYPE requested.

svn path=/trunk/; revision=15056

17 years agoFix filename case
Gé van Geldorp [Fri, 6 May 2005 19:11:20 +0000 (19:11 +0000)]
Fix filename case

svn path=/trunk/; revision=15055

17 years agoCorrect typo
Casper Hornstrup [Fri, 6 May 2005 19:06:59 +0000 (19:06 +0000)]
Correct typo

svn path=/trunk/; revision=15054

17 years agoThx w3seek that pointout a bug in ConInString it should have been in fristplase...
Magnus Olsen [Fri, 6 May 2005 17:30:45 +0000 (17:30 +0000)]
Thx w3seek that pointout a bug in  ConInString it should have been in fristplase GetConsoleCP() instead for GetConsoleOutputCP

svn path=/trunk/; revision=15053

17 years agoAt last unicode version of cmd are now output text with right code page
Magnus Olsen [Fri, 6 May 2005 17:10:21 +0000 (17:10 +0000)]
At last unicode version of cmd are now output text with right code page
so charater on other langues like swedish, french, ... will display right now

svn path=/trunk/; revision=15052

17 years ago- fixed TransactNamedPipe to properly wait on completion for synchronous operations
Thomas Bluemel [Fri, 6 May 2005 16:47:09 +0000 (16:47 +0000)]
- fixed TransactNamedPipe to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15051

17 years agoSync to Wine-20050419:
Gé van Geldorp [Fri, 6 May 2005 16:23:24 +0000 (16:23 +0000)]
Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Strncpy elimination.
- Janitorial: Get rid of strncpy/strncpyW.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Troy Rollo <wine@troy.rollo.name>
- Corrections to UrlIsW and UrlIsA.
- URL_IS_OPAQUE results depend only on the scheme, not on the URL.
- URL_IS_FILEURL also only depends on the scheme ("file:").
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Robert Shearman <rob@codeweavers.com>
- Fix SHCopyKey to treat string parameter correctly as source path
  instead of destination path.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
- Implement @188,190,195,200,256,478,481.
- IUnknown_EnableModeless() also handles IOleInPlaceActiveObject.
- Tests and small fix for PathMakePretty().
- Fix a crash and test failure with early native dlls.

svn path=/trunk/; revision=15050

17 years agoMake intl.cpl really switch InstallLanguage and Default entries of NLS\Language key...
Aleksey Bragin [Fri, 6 May 2005 16:21:30 +0000 (16:21 +0000)]
Make intl.cpl really switch InstallLanguage and Default entries of NLS\Language key. Problem with freeldr solved in hacky way - it writes now e.g. "0409" and not "00000409", as it generally should.

svn path=/trunk/; revision=15049

17 years ago- fixed ConnectNamedPipe to properly wait on completion for synchronous operations
Thomas Bluemel [Fri, 6 May 2005 16:07:51 +0000 (16:07 +0000)]
- fixed ConnectNamedPipe to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15048

17 years ago- fixed DeviceIoControl to properly wait on completion for synchronous operations
Thomas Bluemel [Fri, 6 May 2005 15:55:28 +0000 (15:55 +0000)]
- fixed DeviceIoControl to properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15045

17 years ago- fixed Read/WriteFile(Ex) and properly wait on completion for synchronous operations
Thomas Bluemel [Fri, 6 May 2005 14:02:45 +0000 (14:02 +0000)]
- fixed Read/WriteFile(Ex) and properly wait on completion for synchronous operations
- prevent completion port notification by not passing an APC context to the kernel when the low-order bit of the event handle is set (for asynchronous operations)

svn path=/trunk/; revision=15043

17 years agoRevert my last changes.
Hartmut Birr [Fri, 6 May 2005 13:35:27 +0000 (13:35 +0000)]
Revert my last changes.

svn path=/trunk/; revision=15042

17 years agoDo not modify the stack layout of a function by using inline assembler.
Hartmut Birr [Fri, 6 May 2005 12:17:29 +0000 (12:17 +0000)]
Do not modify the stack layout of a function by using inline assembler.

svn path=/trunk/; revision=15040

17 years agoRevert ntoskrnl/cm/regobj.c back to revision 14017
Hervé Poussineau [Fri, 6 May 2005 11:53:35 +0000 (11:53 +0000)]
Revert ntoskrnl/cm/regobj.c back to revision 14017

svn path=/trunk/; revision=15039

17 years agominor corrections to match the behavior of wine's implementation
Thomas Bluemel [Fri, 6 May 2005 11:02:47 +0000 (11:02 +0000)]
minor corrections to match the behavior of wine's implementation

svn path=/trunk/; revision=15037

17 years agoDavid Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt
Magnus Olsen [Fri, 6 May 2005 08:27:46 +0000 (08:27 +0000)]
David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt

svn path=/trunk/; revision=15033

17 years ago Swedish translations by David Nordenberg
Magnus Olsen [Fri, 6 May 2005 08:21:12 +0000 (08:21 +0000)]
 Swedish translations by David Nordenberg

svn path=/trunk/; revision=15032

17 years agoUpdate some more kernel structures
Alex Ionescu [Fri, 6 May 2005 00:11:25 +0000 (00:11 +0000)]
Update some more kernel structures

svn path=/trunk/; revision=15031

17 years agoopen the module image file with read access rights instead of full access rights
Thomas Bluemel [Fri, 6 May 2005 00:11:14 +0000 (00:11 +0000)]
open the module image file with read access rights instead of full access rights

svn path=/trunk/; revision=15030

17 years agocreate a token handle with TOKEN_QUERY access rights which is required to query the...
Thomas Bluemel [Fri, 6 May 2005 00:09:08 +0000 (00:09 +0000)]
create a token handle with TOKEN_QUERY access rights which is required to query the user information in RtlFormatCurrentUserKeyPath

svn path=/trunk/; revision=15029

17 years agodon't leak the registry path string after initializing a driver
Thomas Bluemel [Fri, 6 May 2005 00:07:05 +0000 (00:07 +0000)]
don't leak the registry path string after initializing a driver

svn path=/trunk/; revision=15028

17 years agoUpdate KPROCESS structure to latest version and document all its fields on the Wiki...
Alex Ionescu [Thu, 5 May 2005 22:40:05 +0000 (22:40 +0000)]
Update KPROCESS structure to latest version and document all its fields on the Wiki page. Move Kernel Structures to ke.h from ps.h, remove stuff from ntifs.h that shouldnt be there

svn path=/trunk/; revision=15027

17 years agoJose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
Gé van Geldorp [Thu, 5 May 2005 22:36:25 +0000 (22:36 +0000)]
Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Spanish translations updated.
Hans Leidekker <hans@it.vu.nl>
- Dutch resource translation.

svn path=/trunk/; revision=15026

17 years agoFixed InterlockedClearBit.
Hartmut Birr [Thu, 5 May 2005 22:24:27 +0000 (22:24 +0000)]
Fixed InterlockedClearBit.

svn path=/trunk/; revision=15025

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 22:16:20 +0000 (22:16 +0000)]
Sync to Wine-20050419:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike McCormack <mike@codeweavers.com>
- Remove an unused function.
- Eliminate casts of the return value of HeapAlloc.
- Convert path to unicode, rearrange to remove forward declaration.
- Remove forward declarations of interface methods.
- Remove some dead code and some ifdefs.
- Use api definitions, remove duplicate code.
- Fix usage of STGM_ enumerations, remove forward declaration.
- Fix up PIDL dumping code.
- Fix a regression in the file open dialog.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
Huw Davies <huw@codeweavers.com>
- Fix the icon resource ids (most were off by one).
- Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
  ids and fix bugs relating to confusion between resource ids and the
  system imagelist indicies.
- Extend the system imagelist initialization hack to load both +ve and
  -ve resource ids.
- Add a printer icon (that'll be used by an upcoming printer folder
  patch).
- When we're hiding file extensions then SetNameOf should append the
  original extension if SHGDN_FORPARSING isn't set.
- The flags passed to SetNameOf refer to the dst string not the src
  pidl.
- If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
  then we should call the default handler.
- Directory items should have the SFGOA_FILESYSANCESTOR attribute.
  Add a test for this and cleanup the shlfolder test a bit.
- Better icon handling for some special folders.
- Identify and add defines for a bunch of shell icons.
- Add a unicode pidl type.
- Improve support for PT_YAGUID.
- Improve IShellLink debugging.
Steven Edwards <steven_ed4153@yahoo.com>
- Register Shell Drag and Drop Helper.
Juan Lang <juan_lang@yahoo.com>
- Use Unicode string result from GetDisplayNameOf if it isn't
  representable using ANSI.
- Correct registering shell folders (values in Shell Folders key weren't
  getting written).
Martin Fuchs <martin-fuchs@gmx.net>
- switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
- Correct comments of some export ordinals.
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Troy Rollo <wine@troy.rollo.name>
- Fix SEGV for non-fully-qualified destination paths.
- Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
Filip Navara <xnavara@volny.cz>
- _dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
  accordingly.
Aric Stewart <aric@codeweavers.com>
- For ShellExecuteExA we need to copy out the hProcess value from the W
  structure.

svn path=/trunk/; revision=15024

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 21:07:02 +0000 (21:07 +0000)]
Sync to Wine-20050419:
Mike McCormack <mike@codeweavers.com>
- Add stub for FaultInIEFeature.

svn path=/trunk/; revision=15023

17 years agoSVN maintenance: Set eol style to native and add keywords
Hervé Poussineau [Thu, 5 May 2005 20:52:14 +0000 (20:52 +0000)]
SVN maintenance: Set eol style to native and add keywords

svn path=/trunk/; revision=15022

17 years agoRtlFreeUnicodeString -> ExFreePool changes
Hervé Poussineau [Thu, 5 May 2005 20:19:01 +0000 (20:19 +0000)]
RtlFreeUnicodeString -> ExFreePool changes

svn path=/trunk/; revision=15021

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 20:14:39 +0000 (20:14 +0000)]
Sync to Wine-20050419:
Hans Leidekker <hans@it.vu.nl>
- Stub implementation for SetupCopyOEMInfW.
Peter Berg Larsen <pebl@math.ku.dk>
- Janitorial: Get rid of strncpy/strncpyW.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Juan Lang <juan_lang@yahoo.com>
- Implement SetupDiClassNameFromGuidExA.

svn path=/trunk/; revision=15020

17 years agoForgot to commit this file with revision 15013
Hervé Poussineau [Thu, 5 May 2005 19:36:25 +0000 (19:36 +0000)]
Forgot to commit this file with revision 15013

svn path=/trunk/; revision=15019

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 19:17:25 +0000 (19:17 +0000)]
Sync to Wine-20050419:
Robert Shearman <rob@codeweavers.com>
- Fix deadlock caused by not leaving the critical section on all code
  paths.
- RpcMgmtStopServerListen should not affect auto-listen interfaces.
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Ralf S. Engelschall <rse@engelschall.com>
- Fix incorrect random multicast MAC address creation.

svn path=/trunk/; revision=15018

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 19:11:20 +0000 (19:11 +0000)]
Sync to Wine-20050419:
Remove no longer needed files.

svn path=/trunk/; revision=15016

17 years agoswedish translation by Andreas Bjerkeholt
Magnus Olsen [Thu, 5 May 2005 19:05:42 +0000 (19:05 +0000)]
swedish translation by Andreas Bjerkeholt

svn path=/trunk/; revision=15015

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 19:00:49 +0000 (19:00 +0000)]
Sync to Wine-20050419:
Krzysztof Foltman <wdev@foltman.com>
- removed trailing spaces from some files
- tab support
- indent support
- PageUp key support.
- Support for "normal" scroll bar functionality (line and page
  scrolling).
- made string operations consistent wrt whitespace handling (which
  should greatly improve stability of the wrap code and eliminate
  regressions of the most recent versions)
- completely new scrollbar handling (much more reliable) and related
  redraw fixes
- Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs
  was of higher priority)
- RTF reader doesn't use RichEdit messages anymore (which saves on
  unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
- Unknown destinations are now correctly skipped (so loading an RTF
  file generated by, for example, OpenOffice doesn't produce lots of
  garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
  what RTF writer wrote :) )
- EM_STREAMIN can now deal with undo in a reasonable manner (no
  multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
  correctly).
- Numerous improvements in the RTF reader: it reads some character
  attributes now (you will have proper small print in license agreements
  now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
  CHARFORMAT2W.
- Optimized repaint of the area below the text.
- ME_JoinRuns didn't mark the paragraph for rewrapping, fixed.
- Removed PostQuitMessage(0) from WM_DESTROY handler (duh!).
- Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE
  (any app using this message is likely to encounter major problems).
- WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks
  to Phil Krylov's RTF generator code).
- New message implemented - WM_PASTE.
- RTF reader: rtfPlain implemented (kind of).
- RTF writer: rewritten main loop (the old one crashed in some
  circumstances when SFF_SELECTION was used).
- The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of
  MEPF_WRAPPED) for consistency.
- Major code cleanups in rewrap/repaint code, leading to "smarter"
  behaviour wrt repainting selections.
- Old font management replaced by the cache-based one, which keeps
  maximum of 10 HFONTs at once, instead of one per a couple of runs.
- EM_CANPASTE implemented
- updated TODO list (including list of (un)implemented messages)
- fixed WM_PASTE (the previous version might not close the clipboard
  if it didn't contain a usable format)
- scrollbar operations (like clicking on arrows) should update
  scrollbar's current position
Gerald Pfeifer <gerald@pfeifer.com>
- Make ME_ArrowLeft() return a value in every case.
Phil Krylov <phil@newstar.rinet.ru>
- Make RTF reader fall back to simple text if a correct RTF header is
  not detected. This should fix some installers.
- Made RTF reader and writer handle codepages mostly similar to the
  original riched20.dll.
- Fixed support for RTF documents using ANSI charset and added support
  for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
  working now.
- Replaced slow and outdated character set handling in RTF reader by
  Unicode/codepages support. Added charset->codepage conversion.
- Implemented hash table lookup for RTF keywords in RTF reader.
- Added "generator" RTF destination handling.
- Initial implementation of EM_STREAMOUT and RTF writer.
- Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
  conversion and the detection of the default font's codepage.
- Improved RTF export.
Mike McCormack <mike@codeweavers.com>
- Remove casts and unused code.
Hannu Valtonen <Hannu.Valtonen@hut.fi>
- Added mousewheel support.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Use "" for Windows includes in dlls, instead of <>.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Jason Edmeades <us@the-edmeades.demon.co.uk>
- Correct memory allocation macro.

svn path=/trunk/; revision=15014

17 years agoExFreePool -> ExFreePoolWithTag changes
Hervé Poussineau [Thu, 5 May 2005 18:59:14 +0000 (18:59 +0000)]
ExFreePool -> ExFreePoolWithTag changes

svn path=/trunk/; revision=15013

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 18:32:46 +0000 (18:32 +0000)]
Sync to Wine-20050419:
Peter Berg Larsen <pebl@math.ku.dk>
- Replace strncpy with memcpy or lstrcpyn.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.

svn path=/trunk/; revision=15012

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 18:29:41 +0000 (18:29 +0000)]
Sync to Wine-20050419:
Daniel Remenak <dtremenak@gmail.com>
- Implemented VarIdiv.
- Return DISP_E_DIVBYZERO instead of crashing when asked to divide a
  variant by zero.
- Remove unused variable in _copy_arg.
Marcus Meissner <meissner@suse.de>
- Serialize NULL pointer interfaces correctly.
- Fixed VT_BSTR|VT_BYREF marshalling.
- Added VT_I4|VT_BYREF marshalling.
- Fixed ppvObject serializer (deref twice instead of once).
- Actually pass back return value of remote call in type marshaller.
- Format VT_UI1, VT_I1, VT_UI2, VT_I2 correctly.
- Added IDispatch::GetIDsOfNames() special case serializing.
- Handle VT_PTR / NULL marshalling correctly.
Mike Hearn <mike@navi.cx>
- Fix BSTR tracing in the typelib marshaller.
- Fix PARAMFLAG_FOUT typo in the tmarshaller.
Mike Hearn <mh@codeweavers.com>
Robert Shearman <rob@codeweavers.com>
- Implement VT_BYREF | VT_BSTR marshalling.
- Add more integer types for marshaling and unmarshaling.
- Implement VT_BYREF | VT_BSTR unmarshaling.
- Don't allocate memory for TKIND_DISPATCH/TKIND_INTERFACE
  unmarshaling as it will be lost in the success case and interferes
  with the failure case.
Robert Shearman <rob@codeweavers.com>
- Add outer unknown support for typelib marshaler.
Jakob Eriksson <jakov@vmlinux.org>
- Get rid of HeapAlloc casts.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Alex Villacis Lasso <a_villacis@palosanto.com>
- Fix leftover negative sign in height parameter for transparent
  bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
- Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case.
- Fix failure to notice the use of a GIF palette index greater or equal
  to 128 for transparency.
- After Float->string conversion via sprintfW(), VarDecFromR[4|8] is
  forced to use US locale for string->Decimal conversion, to agree with
  sprintfW().

svn path=/trunk/; revision=15011

17 years agoSync to Wine-20050419:
Gé van Geldorp [Thu, 5 May 2005 18:16:09 +0000 (18:16 +0000)]
Sync to Wine-20050419:
Juan Lang <juan_lang@yahoo.com>
- Implement PropSys{Alloc|Free}String, and support BSTRs in
  PropVariant{Clear|Copy} using them.
- Begin implementing IPropertyStorage.
- Add traces, add unit tests for IPropertyStorage, and fix the problems
  they caught.
- Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests.
- add write support to IPropertyStorage, with tests
- misc. cleanups the tests turned up
- Add a comment about byte order, change types to reduce casting and not
  cast away constness.
Vincent Beron <vberon@mecano.gme.usherb.ca>
- Change prototypes so gcc with some warnings doesn't bark.
- Correct and complete some api documentation.
Mike McCormack <mike@codeweavers.com>
- Eliminate forward declarations, make functions static.
- Eliminate casts of the return value of HeapAlloc.
- Remove function prototypes, make functions static.
- StgOpenStorage shouldn't open zero length storage files.
- Remove unnecessary function prototypes.
Robert Shearman <rob@codeweavers.com>
- Add critsec debugging info.
- Move the modal loop called during RPCs into CoWaitForMultipleHandles.
- Use a mutex for long remoting calls to IRemUnknown methods.
- Remove locking in apartment_disconnectproxies as it is not needed.
- Use PostMessage instead of SendMessage so we can run the message
  loop or not as appropriate.
- Rename apartment functions to become more object-oriented.
- Rename register_ifstub to marshal_object to more accurately describe
  what it does.
- Add new function, apartment_getoxid, to prepare for a possible
  future patch where remoting is started on demand.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Huw Davies <huw@codeweavers.com>
- Don't close reg key if the open failed.
- WriteFmtUserTypeStg doesn't pull a CLSID from the registry - it's
  unclear when (if at all) this gets written.
Alexandre Julliard <julliard@winehq.org>
- Fixed a buffer overflow.
Joris Huizer <jorishuizer@planet.nl>
- A few memory checks avoiding memory leaks.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Zero out an invalidated runningObjectTableInstance pointer.
Dimitrie O. Paun <dpaun@rogers.com>
- Remove the need for the non-standard (Close|Delete)MetaFile16().
Troy Rollo <wine@troy.rollo.name>
- ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles.

svn path=/trunk/; revision=15010

17 years agoimplemented RegOpenUserClassesRoot (doesn't work in reactos because there's no symbol...
Thomas Bluemel [Thu, 5 May 2005 17:45:00 +0000 (17:45 +0000)]
implemented RegOpenUserClassesRoot (doesn't work in reactos because there's no symbolic link \Registry\User\<SID>_Classes yet)

svn path=/trunk/; revision=15009

17 years agoChange ExFreePool to ExFreePoolWithTag
Hervé Poussineau [Thu, 5 May 2005 17:20:10 +0000 (17:20 +0000)]
Change ExFreePool to ExFreePoolWithTag
Don't call RtlFreeUnicodeString if the string wasn't created by RtlAnsiStringToUnicodeString or RtlUpcaseUnicodeString
Implement ExRosQueryNonPagedPoolTag
Add BAD_POOL_CALLER code

svn path=/trunk/; revision=15008

17 years agoImplement OpenAndMapFileForRead, RetreiveFileSecurity, StampFileSecurity, TakeOwnersh...
Eric Kohl [Thu, 5 May 2005 16:16:28 +0000 (16:16 +0000)]
Implement OpenAndMapFileForRead, RetreiveFileSecurity, StampFileSecurity, TakeOwnershipOfFile and UnmapAndCloseFile.

svn path=/trunk/; revision=15007

17 years agothe registry functions shouldn't change the last error, instead they should just...
Thomas Bluemel [Thu, 5 May 2005 16:15:08 +0000 (16:15 +0000)]
the registry functions shouldn't change the last error, instead they should just return the error code.

svn path=/trunk/; revision=15006

17 years agoUpdate the swedish translation by
Magnus Olsen [Thu, 5 May 2005 16:05:46 +0000 (16:05 +0000)]
Update the swedish translation by
David Nordenberg

svn path=/trunk/; revision=15005

17 years agoDon't desallocate non allocated memory
Hervé Poussineau [Thu, 5 May 2005 15:39:36 +0000 (15:39 +0000)]
Don't desallocate non allocated memory

svn path=/trunk/; revision=15004

17 years ago- ported BuildTrusteeWithObjectsAndNameA/W and BuildTrusteeWithObjectsAndSidA/W from...
Thomas Bluemel [Thu, 5 May 2005 15:39:27 +0000 (15:39 +0000)]
- ported BuildTrusteeWithObjectsAndNameA/W and BuildTrusteeWithObjectsAndSidA/W from wine
- implemented RegOpenCurrentUser
- directly forward GetSecurityDescriptorLength to NTDLL.RtlLengthSecurityDescriptorguard dumping the stack trace to prevent infinite exception loopsguard dumping the stack trace to prevent infinite exception loops

svn path=/trunk/; revision=15003

17 years agoBetter handle of wrong arguments in IoRegisterDeviceInterface
Hervé Poussineau [Thu, 5 May 2005 15:39:09 +0000 (15:39 +0000)]
Better handle of wrong arguments in IoRegisterDeviceInterface

svn path=/trunk/; revision=15002

17 years agoguard dumping the stack trace to prevent infinite exception loops
Thomas Bluemel [Thu, 5 May 2005 15:38:32 +0000 (15:38 +0000)]
guard dumping the stack trace to prevent infinite exception loops

svn path=/trunk/; revision=15001

17 years agoCall Fs notifications at PASSIVE_LEVEL by using a guarded mutex
Hervé Poussineau [Thu, 5 May 2005 13:27:00 +0000 (13:27 +0000)]
Call Fs notifications at PASSIVE_LEVEL by using a guarded mutex
Use ExFreePoolWithTag instead of ExFreePool

svn path=/trunk/; revision=15000

17 years agodirectly use HeapAlloc/Free in midl_user_allocate and midl_user_free instead of the...
Thomas Bluemel [Thu, 5 May 2005 13:24:39 +0000 (13:24 +0000)]
directly use HeapAlloc/Free in midl_user_allocate and midl_user_free instead of the depreciated GlobalAlloc/Free functions

svn path=/trunk/; revision=14999

17 years agouse SERVICES_ACTIVE_DATABASE if the caller didn't specify a database for OpenSCManager()
Thomas Bluemel [Thu, 5 May 2005 12:58:03 +0000 (12:58 +0000)]
use SERVICES_ACTIVE_DATABASE if the caller didn't specify a database for OpenSCManager()

svn path=/trunk/; revision=14998

17 years agoSimply fix up the formatting, there were tabs and 3 spaces and 4 spaces and 2 spaces...
Alex Ionescu [Thu, 5 May 2005 12:35:09 +0000 (12:35 +0000)]
Simply fix up the formatting, there were tabs and 3 spaces and 4 spaces and 2 spaces identation. No code was harmed.

svn path=/trunk/; revision=14997

17 years agoprevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not...
Thomas Bluemel [Thu, 5 May 2005 12:25:40 +0000 (12:25 +0000)]
prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!

svn path=/trunk/; revision=14996

17 years agodon't dereference lpTokenAttributes if the caller passed NULL to DuplicateTokenEx
Thomas Bluemel [Thu, 5 May 2005 12:21:43 +0000 (12:21 +0000)]
don't dereference lpTokenAttributes if the caller passed NULL to DuplicateTokenEx

svn path=/trunk/; revision=14995

17 years agoUsurp
Magnus Olsen [Thu, 5 May 2005 12:03:43 +0000 (12:03 +0000)]
Usurp
fransch translations
fix right help string printing out on screen wrong strings was loading when you need help
incress the string buffer for loading strings from rc example for dir /?
remove duplicate STRING_PARAM_ERROR

solv bugzila bug 618

svn path=/trunk/; revision=14994

17 years ago- Use the WIN32 option to select the correct mkdir.
Hartmut Birr [Thu, 5 May 2005 11:28:49 +0000 (11:28 +0000)]
- Use the WIN32 option to select the correct mkdir.

svn path=/trunk/; revision=14993

17 years ago- Detect msys on windows as a linux system.
Hartmut Birr [Thu, 5 May 2005 11:26:32 +0000 (11:26 +0000)]
- Detect msys on windows as a linux system.
- Creating of the bootcd will not work. There is somewhere a path with 'c:/'.

svn path=/trunk/; revision=14992

17 years ago- Fixed the parameters for NtOpenFile in InternalFindFirstFile.
Hartmut Birr [Thu, 5 May 2005 11:07:28 +0000 (11:07 +0000)]
- Fixed the parameters for NtOpenFile in InternalFindFirstFile.
- Closed the opened directory on error in InternalFindFirstFile.

svn path=/trunk/; revision=14991

17 years ago- Return the length in VfatDirectoryControl.
Hartmut Birr [Thu, 5 May 2005 11:05:05 +0000 (11:05 +0000)]
- Return the length in VfatDirectoryControl.

svn path=/trunk/; revision=14990

17 years ago- Free always the name string and the completion context in IopDeleteFile.
Hartmut Birr [Thu, 5 May 2005 11:03:27 +0000 (11:03 +0000)]
- Free always the name string and the completion context in IopDeleteFile.
- Fixed the check for synchronous operations in NtQueryDirectoryFile.

svn path=/trunk/; revision=14989

17 years ago- Guard the copying to the IOSB.
Hartmut Birr [Thu, 5 May 2005 10:59:34 +0000 (10:59 +0000)]
- Guard the copying to the IOSB.
- Do the main processing on success or if previous STATUS_PENDING was returned.
  Do not use some of the IRP and FO flags at this point.
- Set all results before signaling the events.
- Signal the FO event previous the user event.
- Made the code a little bit shorter.

svn path=/trunk/; revision=14988

17 years agoSVN maintenance:
Hervé Poussineau [Thu, 5 May 2005 09:59:38 +0000 (09:59 +0000)]
SVN maintenance:
Delete wine_unicode.map
Add *.map to ignore list

svn path=/trunk/; revision=14987

17 years ago- fixed RegSetValueEx to take the null-terminating byte for strings into account...
Thomas Bluemel [Thu, 5 May 2005 02:46:17 +0000 (02:46 +0000)]
- fixed RegSetValueEx to take the null-terminating byte for strings into account when the caller forgot it
- capture the driver service name string in NtLoadDriver

svn path=/trunk/; revision=14984

17 years agoonly create handles with access rights needed for the operation
Thomas Bluemel [Thu, 5 May 2005 00:07:27 +0000 (00:07 +0000)]
only create handles with access rights needed for the operation

svn path=/trunk/; revision=14983

17 years agotinus
Magnus Olsen [Wed, 4 May 2005 23:06:15 +0000 (23:06 +0000)]
tinus
implement MouseResolution setting

Me (Magnus Olsen)
remove old psuax drv from hiveinst.inf and add tinus mouse drv settings
add MouseResolution setting to reg

svn path=/trunk/; revision=14982

17 years agoprevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not...
Thomas Bluemel [Wed, 4 May 2005 22:32:43 +0000 (22:32 +0000)]
prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!

svn path=/trunk/; revision=14981

17 years agoprevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not...
Thomas Bluemel [Wed, 4 May 2005 22:21:55 +0000 (22:21 +0000)]
prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not in bytes!

svn path=/trunk/; revision=14980

17 years agocorrectly use tchar.h again and build a unicode version by default
Thomas Bluemel [Wed, 4 May 2005 22:18:43 +0000 (22:18 +0000)]
correctly use tchar.h again and build a unicode version by default

svn path=/trunk/; revision=14979

17 years agoit's valid to pass lpTargetHandle = NULL to DuplicateHandle()
Thomas Bluemel [Wed, 4 May 2005 21:23:13 +0000 (21:23 +0000)]
it's valid to pass lpTargetHandle = NULL to DuplicateHandle()

svn path=/trunk/; revision=14978

17 years agoFix GDB stub:
Gé van Geldorp [Wed, 4 May 2005 20:38:43 +0000 (20:38 +0000)]
Fix GDB stub:
- Initialize WrapperTable routines as early as possible
- Initialize debug port (hard coded to COM2, 115200 baud for now)
- Don't limit runnable thread on startup

svn path=/trunk/; revision=14977

17 years agomake correct use of tchar.h in taskmgr and build it as unicode by default
Thomas Bluemel [Wed, 4 May 2005 19:29:28 +0000 (19:29 +0000)]
make correct use of tchar.h in taskmgr and build it as unicode by default

svn path=/trunk/; revision=14976

17 years agoSteven Wilson: update tlist to use new process info struct names
Maarten Bosma [Wed, 4 May 2005 18:53:47 +0000 (18:53 +0000)]
Steven Wilson: update tlist to use new process info struct names

svn path=/trunk/; revision=14975

17 years agoDavid Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt and small...
Magnus Olsen [Wed, 4 May 2005 18:10:12 +0000 (18:10 +0000)]
David Nordenberg: Swedish translation, proofread by Andreas Bjerkeholt and small change from Kris Engeman

svn path=/trunk/; revision=14974

17 years agorestore toolbar bitmap
Martin Fuchs [Wed, 4 May 2005 17:59:36 +0000 (17:59 +0000)]
restore toolbar bitmap

svn path=/trunk/; revision=14973

17 years agoSwedish åäö was gone in the translation after some commit.
Magnus Olsen [Wed, 4 May 2005 17:41:27 +0000 (17:41 +0000)]
Swedish åäö was gone in the translation after some commit.
I which we can split all langues to own .rc files.
so this can not be happen agien

Thx  Harteex for fixing åäö in the .rc file

svn path=/trunk/; revision=14972

17 years agofilip0402 : patch for taskmgr to remove some hardcode string tested by Harteex
Magnus Olsen [Wed, 4 May 2005 16:54:48 +0000 (16:54 +0000)]
filip0402 : patch for taskmgr to remove some hardcode string tested by Harteex

svn path=/trunk/; revision=14971

17 years agoSet Thread->SystemThread to TRUE when creating a system thread. Patch by Filip Navara
Hervé Poussineau [Wed, 4 May 2005 16:00:39 +0000 (16:00 +0000)]
Set Thread->SystemThread to TRUE when creating a system thread. Patch by Filip Navara

svn path=/trunk/; revision=14970

17 years agoRegOpenKey, RegOpenKeyEx A/W imported and ported from WINE. This keeps the current...
Aleksey Bragin [Wed, 4 May 2005 15:53:54 +0000 (15:53 +0000)]
RegOpenKey, RegOpenKeyEx A/W imported and ported from WINE. This keeps the current test set in advapi32_test registry on 85/0 level

svn path=/trunk/; revision=14969

17 years agoNtOpenKey modified to correctly behave when wrong input params are given (according...
Aleksey Bragin [Wed, 4 May 2005 15:27:05 +0000 (15:27 +0000)]
NtOpenKey modified to correctly behave when wrong input params are given (according to WINE tests).

svn path=/trunk/; revision=14968

17 years agoFix flags checking in I8042ReadData (patch by Tinus_)
Hervé Poussineau [Wed, 4 May 2005 13:28:34 +0000 (13:28 +0000)]
Fix flags checking in I8042ReadData (patch by Tinus_)
Check error codes returned by IoCreateDevice
Replace ExFreePool by ExFreePoolWithTag

svn path=/trunk/; revision=14967

17 years agoFix horrible bug where Queued Threads were treated like Threads on the Ready list...
Alex Ionescu [Tue, 3 May 2005 23:24:26 +0000 (23:24 +0000)]
Fix horrible bug where Queued Threads were treated like Threads on the Ready list. I was aware of this bug for months and it's fixed in my new scheduler but now that tinus has seen it happen, I'm comitting the fix temporarly in trunk.

svn path=/trunk/; revision=14966

17 years agobugfix from, tinus mailto:o112w8r02@sneakemail.com
Magnus Olsen [Tue, 3 May 2005 23:18:21 +0000 (23:18 +0000)]
bugfix from, tinus mailto:o112w8r02@sneakemail.com
fixining http://reactos.com/bugzilla/show_bug.cgi?id=616#c1
bug in mozila

There's a small bug in usetup/bootsup.c which makes it fail formatting the disk.
It tries to read the bootsector image on the cdrom for write access (which
succeeds), then tries to read from the handle (which fails).

svn path=/trunk/; revision=14965

17 years agoDo always set the UserIosb of an irp in IoSecondStageCompletion.
Hartmut Birr [Tue, 3 May 2005 21:42:35 +0000 (21:42 +0000)]
Do always set the UserIosb of an irp in IoSecondStageCompletion.

svn path=/trunk/; revision=14964

17 years agoAdd French translation for sndvol32 (Patch by Usurp)
Hervé Poussineau [Tue, 3 May 2005 21:25:41 +0000 (21:25 +0000)]
Add French translation for sndvol32 (Patch by Usurp)
Set properties for Cz.rc and Sv.rc

svn path=/trunk/; revision=14963

17 years agoImplement WSAStringToAddressA
Magnus Olsen [Tue, 3 May 2005 18:37:51 +0000 (18:37 +0000)]
Implement WSAStringToAddressA

svn path=/trunk/; revision=14962

17 years agoImplement WSAStringToAddressW
Magnus Olsen [Tue, 3 May 2005 17:22:52 +0000 (17:22 +0000)]
Implement WSAStringToAddressW

svn path=/trunk/; revision=14961

17 years agoRemove Disk driver for Bochs.
Hervé Poussineau [Tue, 3 May 2005 13:14:59 +0000 (13:14 +0000)]
Remove Disk driver for Bochs.
It doesn't compile and shouldn't be usefull as we have a normal disk driver in drivers/storage/disk

svn path=/trunk/; revision=14960

17 years agorosshell: printer and network folder in start menu
Martin Fuchs [Tue, 3 May 2005 12:15:27 +0000 (12:15 +0000)]
rosshell: printer and network folder in start menu

svn path=/trunk/; revision=14959

17 years agorevert accidental commit
Alex Ionescu [Tue, 3 May 2005 11:56:46 +0000 (11:56 +0000)]
revert accidental commit

svn path=/trunk/; revision=14958

17 years agocontext menu interface pointer cleanup
Martin Fuchs [Tue, 3 May 2005 09:32:10 +0000 (09:32 +0000)]
context menu interface pointer cleanup

svn path=/trunk/; revision=14957

17 years agosmall optimization for the last change
Martin Fuchs [Tue, 3 May 2005 09:21:42 +0000 (09:21 +0000)]
small optimization for the last change

svn path=/trunk/; revision=14956

17 years agodisplay custom folders in start menu root
Martin Fuchs [Tue, 3 May 2005 08:04:58 +0000 (08:04 +0000)]
display custom folders in start menu root

svn path=/trunk/; revision=14955

17 years agocontext menu interface pointer cleanup
Martin Fuchs [Tue, 3 May 2005 08:03:46 +0000 (08:03 +0000)]
context menu interface pointer cleanup

svn path=/trunk/; revision=14954

17 years agoOpen/create all files with the necessary rights.
Hartmut Birr [Mon, 2 May 2005 20:30:29 +0000 (20:30 +0000)]
Open/create all files with the necessary rights.

svn path=/trunk/; revision=14951

17 years ago- Check first for a valid returned object in ObOpenObjectByName.
Hartmut Birr [Mon, 2 May 2005 19:12:31 +0000 (19:12 +0000)]
- Check first for a valid returned object in ObOpenObjectByName.
- Free always the remaining path string if an error is returned in ObOpenObjectByName.

svn path=/trunk/; revision=14950

17 years agoAdd i8042prt.sys and kbdclass.sys to boot cd
Hervé Poussineau [Mon, 2 May 2005 16:35:58 +0000 (16:35 +0000)]
Add i8042prt.sys and kbdclass.sys to boot cd
Remove leftover of keyboard.sys and psaux.sys drivers
(Pointed by Usurp)

svn path=/trunk/; revision=14949

17 years agoMove VMS subtree in the proper place.
Emanuele Aliberti [Mon, 2 May 2005 14:15:56 +0000 (14:15 +0000)]
Move VMS subtree in the proper place.

svn path=/trunk/; revision=14948

17 years agoFix Alex's completely wrong fix for NtUserScrollWindowEx (aka bug #606).
Filip Navara [Mon, 2 May 2005 14:05:38 +0000 (14:05 +0000)]
Fix Alex's completely wrong fix for NtUserScrollWindowEx (aka bug #606).

svn path=/trunk/; revision=14947

17 years agoFix many of the scrollbar issues. However, MDI Scrollbars are still not working perfe...
Alex Ionescu [Mon, 2 May 2005 11:42:41 +0000 (11:42 +0000)]
Fix many of the scrollbar issues. However, MDI Scrollbars are still not working perfectly. Patch by tinus <o112w8r02@sneakemail.com>. Fixes bug 606

svn path=/trunk/; revision=14946