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

svn path=/trunk/; revision=15025

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

svn path=/trunk/; revision=14962

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

svn path=/trunk/; revision=14961

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 years agoDon't call internal function which checks parameters since our parameter is kernel...
Alex Ionescu [Mon, 2 May 2005 11:38:48 +0000 (11:38 +0000)]
Don't call internal function which checks parameters since our parameter is kernel mode.

svn path=/trunk/; revision=14945

18 years agoDon't free unicode strings in case of error
Hervé Poussineau [Mon, 2 May 2005 11:03:54 +0000 (11:03 +0000)]
Don't free unicode strings in case of error

svn path=/trunk/; revision=14944

18 years agoFix KDSERIAL.
Art Yerkes [Mon, 2 May 2005 07:04:36 +0000 (07:04 +0000)]
Fix KDSERIAL.

svn path=/trunk/; revision=14943

18 years agoSame kind of fixes for NtFlushBuffersFile
Alex Ionescu [Mon, 2 May 2005 05:27:32 +0000 (05:27 +0000)]
Same kind of fixes for NtFlushBuffersFile

svn path=/trunk/; revision=14942

18 years agoFix NtQueryInformationFile. Use right device object in case of FO_DIRECT_DEVICE_OPEN...
Alex Ionescu [Mon, 2 May 2005 05:15:20 +0000 (05:15 +0000)]
Fix NtQueryInformationFile. Use right device object in case of FO_DIRECT_DEVICE_OPEN, use local event, set proper flags so that the I/O manager does the copying and freeing of the buffers, respect syyncronous I/O. Same kind of fixes for IoQueryFileInformation

svn path=/trunk/; revision=14941

18 years agoimplement owner drawn context menus for winefile
Martin Fuchs [Sun, 1 May 2005 23:19:48 +0000 (23:19 +0000)]
implement owner drawn context menus for winefile

svn path=/trunk/; revision=14940

18 years agoFix garbage text output with cmd.exe in GUI mode.
Hervé Poussineau [Sun, 1 May 2005 22:30:13 +0000 (22:30 +0000)]
Fix garbage text output with cmd.exe in GUI mode.
Thanks to Hartmut for pointing me the problem

svn path=/trunk/; revision=14939

18 years agoByebye decrepit drivers
Alex Ionescu [Sun, 1 May 2005 22:29:18 +0000 (22:29 +0000)]
Byebye decrepit drivers

svn path=/trunk/; revision=14938

18 years agoRemove incorrect change
Alex Ionescu [Sun, 1 May 2005 22:20:13 +0000 (22:20 +0000)]
Remove incorrect change

svn path=/trunk/; revision=14936

18 years agoremove accidental commit
Alex Ionescu [Sun, 1 May 2005 22:06:38 +0000 (22:06 +0000)]
remove accidental commit

svn path=/trunk/; revision=14935

18 years agoRemove incorrect change
Alex Ionescu [Sun, 1 May 2005 21:57:57 +0000 (21:57 +0000)]
Remove incorrect change

svn path=/trunk/; revision=14934

18 years agoDo not signal event twice. Thanks to Gunnar for finding the bug
Alex Ionescu [Sun, 1 May 2005 21:51:57 +0000 (21:51 +0000)]
Do not signal event twice. Thanks to Gunnar for finding the bug

svn path=/trunk/; revision=14933

18 years agomerge ROS Shell without integrated explorer part into trunk
Martin Fuchs [Sun, 1 May 2005 21:22:13 +0000 (21:22 +0000)]
merge ROS Shell without integrated explorer part into trunk

svn path=/trunk/; revision=14932

18 years agoDeleteFile should create a handle with DELETE access rights
Thomas Bluemel [Sun, 1 May 2005 21:19:04 +0000 (21:19 +0000)]
DeleteFile should create a handle with DELETE access rights

svn path=/trunk/; revision=14931

18 years agoSVN maintenance on new directories/files
Hervé Poussineau [Sun, 1 May 2005 21:03:02 +0000 (21:03 +0000)]
SVN maintenance on new directories/files

svn path=/trunk/; revision=14929

18 years agoPotapnik <jirka@studioprojekt.cz>
Filip Navara [Sun, 1 May 2005 20:53:29 +0000 (20:53 +0000)]
Potapnik <jirka@studioprojekt.cz>
Czech translation of Registry Editor.

svn path=/trunk/; revision=14928

18 years agoPotapnik <jirka@studioprojekt.cz>
Filip Navara [Sun, 1 May 2005 20:48:20 +0000 (20:48 +0000)]
Potapnik <jirka@studioprojekt.cz>
Czech translation of VMWInst, Welcome and WinLogon (with one change by me).

svn path=/trunk/; revision=14927

18 years agoi8042prt driver by tinus.
Alex Ionescu [Sun, 1 May 2005 20:38:29 +0000 (20:38 +0000)]
i8042prt driver by tinus.

svn path=/trunk/; revision=14926

18 years agoreverted them back from ekohl change it create
Magnus Olsen [Sun, 1 May 2005 20:30:41 +0000 (20:30 +0000)]
reverted them back from ekohl change it create
alot of problem example chater are not being display right
if you switch reactos to another langues.

svn path=/trunk/; revision=14925

18 years agoPlease give names to your PDOs. Should correct the boot on non-ACPI systems.
Hervé Poussineau [Sun, 1 May 2005 20:20:59 +0000 (20:20 +0000)]
Please give names to your PDOs. Should correct the boot on non-ACPI systems.

svn path=/trunk/; revision=14924

18 years agomore rosshell separations
Martin Fuchs [Sun, 1 May 2005 20:12:06 +0000 (20:12 +0000)]
more rosshell separations

svn path=/branches/lean-explorer/; revision=14923

18 years agoexperimental ROS Shell without integrated explorer part
Martin Fuchs [Sun, 1 May 2005 20:02:30 +0000 (20:02 +0000)]
experimental ROS Shell without integrated explorer part

svn path=/branches/lean-explorer/; revision=14922

18 years agoFix IopCloseFile: Use IRP_SYNC_API flag, use local stack event, get the right deviceo...
Alex Ionescu [Sun, 1 May 2005 19:46:51 +0000 (19:46 +0000)]
Fix IopCloseFile: Use IRP_SYNC_API flag, use local stack event, get the right deviceobject if FO_DIRECT_DEVICE_OPEN is set, set IRP_CLOSE_OPERATION flag.

svn path=/trunk/; revision=14921

18 years agoFix IopDeleteFile: Use IRP_SYNC_API flag, use local stack event, fix memory leak...
Alex Ionescu [Sun, 1 May 2005 19:36:00 +0000 (19:36 +0000)]
Fix IopDeleteFile: Use IRP_SYNC_API flag, use local stack event, fix memory leak (Free completion context), dereference completion port, get the right deviceobject if FO_DIRECT_DEVICE_OPEN is set

svn path=/trunk/; revision=14920

18 years agofixed some warnings with gcc4 (mostly assignment differs in signedness warnings)
Thomas Bluemel [Sun, 1 May 2005 19:30:06 +0000 (19:30 +0000)]
fixed some warnings with gcc4 (mostly assignment differs in signedness warnings)

svn path=/trunk/; revision=14919