reactos.git
17 years agoFix for nasm 0.98
Gé van Geldorp [Sun, 8 May 2005 15:40:25 +0000 (15:40 +0000)]
Fix for nasm 0.98

svn path=/trunk/; revision=15124

17 years agofound some hard code string move them to En.rc
Magnus Olsen [Sun, 8 May 2005 14:48:24 +0000 (14:48 +0000)]
found some hard code string move them to En.rc
them new are STRING_CMD_INVALIDDRIVE, STRING_CMD_SHELLINFO, STRING_VERSION_RUNVER
remove some #define strings that was not in use.
update ver so it output svn version number and update copyright note
it take the copyright and buildversion from <reactos/resource.h> and <reactos/buildno.h>
so we only need change it on one place

svn path=/trunk/; revision=15123

17 years ago "Sync to Wine-20050419" by GvG
Magnus Olsen [Sun, 8 May 2005 11:51:28 +0000 (11:51 +0000)]
 "Sync to Wine-20050419" by GvG

update reactos specify patch by Magnus Olsen
markout better what is reactos specify code
but not all code are not mark

svn path=/trunk/; revision=15119

17 years agoFree the irp after a close operation.
Hartmut Birr [Sun, 8 May 2005 10:33:45 +0000 (10:33 +0000)]
Free the irp after a close operation.

svn path=/trunk/; revision=15118

17 years ago- Changed IopCompleteRequest back to the old schematics (rev 14933) with some minor...
Hartmut Birr [Sun, 8 May 2005 10:26:34 +0000 (10:26 +0000)]
- Changed IopCompleteRequest back to the old schematics (rev 14933) with some minor corrections.
- The status results are always set before an event is signaled.
- Some checks for ASYNC irp's were wrong (missing brackets, now replaced with SyncIrp).
- Don't signal the FO event if it is the same as the UserEvent.
- Set the IOSB on error for async irp's with a sync FO (fix bug #609).

IMHO, the old schematics is wrong, because on error it is possible that an event
isn't signaled if the driver has previous returned STATUS_PENDING.
In this case, the caller will wait forever.

svn path=/trunk/; revision=15117

17 years agoMake rtl use a single header. Helps for PCH and will help for the new Headers (no...
Alex Ionescu [Sun, 8 May 2005 05:14:46 +0000 (05:14 +0000)]
Make rtl use a single header. Helps for PCH and will help for the new Headers (no need to change each file)

svn path=/trunk/; revision=15115

17 years agoremove whitespace from end of lines
Steven Edwards [Sun, 8 May 2005 04:22:15 +0000 (04:22 +0000)]
remove whitespace from end of lines

svn path=/trunk/; revision=15112

17 years agoremove whitespace from end of lines
Steven Edwards [Sun, 8 May 2005 04:07:56 +0000 (04:07 +0000)]
remove whitespace from end of lines

svn path=/trunk/; revision=15111

17 years agomore fixes for GCC4
Thomas Bluemel [Sun, 8 May 2005 03:09:14 +0000 (03:09 +0000)]
more fixes for GCC4

svn path=/trunk/; revision=15110

17 years agoDon't declare constants as export and later define it as static. This is not allowed...
Thomas Bluemel [Sun, 8 May 2005 02:30:45 +0000 (02:30 +0000)]
Don't declare constants as export and later define it as static. This is not allowed by GCC4.

svn path=/trunk/; revision=15109

17 years agoremove whitespace from end of lines
Steven Edwards [Sun, 8 May 2005 02:16:32 +0000 (02:16 +0000)]
remove whitespace from end of lines

svn path=/trunk/; revision=15108

17 years agoremove whitespace from end of lines
Steven Edwards [Sun, 8 May 2005 02:15:21 +0000 (02:15 +0000)]
remove whitespace from end of lines

svn path=/trunk/; revision=15107

17 years agoremove whitespace from end of lines
Steven Edwards [Sun, 8 May 2005 02:11:54 +0000 (02:11 +0000)]
remove whitespace from end of lines

svn path=/trunk/; revision=15106

17 years agoFireball patch for fixing RtlUnicodeStringToInteger and RtlCharToInteger
Magnus Olsen [Sat, 7 May 2005 22:17:03 +0000 (22:17 +0000)]
Fireball patch for fixing RtlUnicodeStringToInteger and RtlCharToInteger
<Fireball> Imported WINE's RtlUnicodeStringToInteger and RtlCharToInteger - they were seriously broken in our revision. Thanks to GreatLord for his help pointing out this bug with me :)

svn path=/trunk/; revision=15092

17 years agoremove trailing whitespace at end of lines
Steven Edwards [Sat, 7 May 2005 21:24:31 +0000 (21:24 +0000)]
remove trailing whitespace at end of lines

svn path=/trunk/; revision=15091

17 years agodoubicate res id my fualt
Magnus Olsen [Sat, 7 May 2005 20:47:57 +0000 (20:47 +0000)]
doubicate res id my fualt
now everthing should print out right strings

svn path=/trunk/; revision=15090

17 years ago- initialize a user profile before loading syssetup.dll.
Hartmut Birr [Sat, 7 May 2005 20:20:46 +0000 (20:20 +0000)]
- initialize a user profile before loading syssetup.dll.
- this makes it possible to install ros over an existing ros.

svn path=/trunk/; revision=15089

17 years agoFix a old bug in dir it did only accpet lower letters as param
Magnus Olsen [Sat, 7 May 2005 20:02:50 +0000 (20:02 +0000)]
Fix a old bug in dir it did only accpet lower letters as param
change from ansi _toupper to tchar  _totupper
it is now both uncide and ansi compatible

svn path=/trunk/; revision=15088

17 years agoAndreas Bjerkeholt : Swedish translation, proofread by David Nordenberg
Magnus Olsen [Sat, 7 May 2005 18:20:23 +0000 (18:20 +0000)]
Andreas Bjerkeholt : Swedish translation, proofread by David Nordenberg

svn path=/trunk/; revision=15087

17 years agoremove a debug msg after me
Magnus Olsen [Sat, 7 May 2005 17:57:12 +0000 (17:57 +0000)]
remove a debug msg after me

svn path=/trunk/; revision=15086

17 years agoAdd *. to dir but it does not working in ros but in windows fine
Magnus Olsen [Sat, 7 May 2005 17:48:25 +0000 (17:48 +0000)]
Add *. to dir but it does not working in ros but in windows fine
some bug in ros

svn path=/trunk/; revision=15085

17 years agoImplement FsRtlAllocateResource, FsRtlIsPagingFile, FsRtlBalanceReads. Fix some incor...
Alex Ionescu [Sat, 7 May 2005 17:44:54 +0000 (17:44 +0000)]
Implement FsRtlAllocateResource, FsRtlIsPagingFile, FsRtlBalanceReads. Fix some incorrect function prototypes, rename mdl.c to fastio.c and add some more functions to it. Implement FsRtlGetfileSize to use fastio, combine dbcsname.c and name.c and pretty-fy the array, clean up some ugly formatting. Create context.c and move stream/file context routines there.

svn path=/trunk/; revision=15084

17 years agoRemove the two last langues string it was doublecate
Magnus Olsen [Sat, 7 May 2005 15:58:58 +0000 (15:58 +0000)]
Remove the two last langues string it was doublecate
small change to STRING_PATH_ERROR1 in En.rc and Fr.rc
thanks Usurp for notice it

svn path=/trunk/; revision=15083

17 years agoFILE_BASIC_INFORMATION is 0x28 bytes and aligned on a 8byte boundary. Thanks to Hartm...
Alex Ionescu [Sat, 7 May 2005 15:40:03 +0000 (15:40 +0000)]
FILE_BASIC_INFORMATION is 0x28 bytes and aligned on a 8byte boundary. Thanks to Hartmut for notifying me of a bug

svn path=/trunk/; revision=15082

17 years agoimplement VOID ConOutResPuts (UINT resID), VOID ConErrResPuts (UINT resID) to outpust...
Magnus Olsen [Sat, 7 May 2005 15:31:07 +0000 (15:31 +0000)]
implement VOID ConOutResPuts (UINT resID), VOID ConErrResPuts (UINT resID) to outpust msg from rc files
it take less memmory now, and it is bit faster

CMD_ModuleHandle
contain GetModuleHandle and it is only execute in main() in cmd
it optimze for lite more speed in cmd

Langues changes
in En.rc follow new strings have been add and can be translate
STRING_ERROR_WRONG_DATE
STRING_SET_ERROR

svn path=/trunk/; revision=15081

17 years agoImplement AssertFail and GetSetFileTimestamp.
Eric Kohl [Sat, 7 May 2005 15:22:32 +0000 (15:22 +0000)]
Implement AssertFail and GetSetFileTimestamp.

svn path=/trunk/; revision=15080

17 years agoImplement FsRtlMdlRead, FsRtlMdlReadComplete, FsMdlReadCompleteDev, FsRtlMdlWRiteComp...
Alex Ionescu [Sat, 7 May 2005 15:19:33 +0000 (15:19 +0000)]
Implement FsRtlMdlRead, FsRtlMdlReadComplete, FsMdlReadCompleteDev, FsRtlMdlWRiteComplete, FsRtlMdlWriteCompleteDev, FsRtlPrepareMdlWrite, CcMdlReadCompleted, CcMdlWriteComplete, CcMdlReadCompleteDev

svn path=/trunk/; revision=15079

17 years agoForget change two line in chcp so it did not compile
Magnus Olsen [Sat, 7 May 2005 12:04:59 +0000 (12:04 +0000)]
Forget change two line in chcp so it did not compile

svn path=/trunk/; revision=15078

17 years agothe name GetCodePage and OutCodePage is a bit misleading, change it to InputCodePage...
Magnus Olsen [Sat, 7 May 2005 11:54:22 +0000 (11:54 +0000)]
the name GetCodePage and OutCodePage is a bit misleading, change it to InputCodePage and OutputCodePage

svn path=/trunk/; revision=15077

17 years agoAdd cache for codepage so it does not call hole time on csrss when it wring out text
Magnus Olsen [Sat, 7 May 2005 11:14:58 +0000 (11:14 +0000)]
Add cache for codepage so it does not call hole time on csrss when it wring out text
it will incress the speed.  Thx w3seek and kjk for the idea.

svn path=/trunk/; revision=15076

17 years agoUpdate Fast I/O Dispatch routines to proper defintions, and move some stuff into...
Alex Ionescu [Sat, 7 May 2005 06:09:56 +0000 (06:09 +0000)]
Update Fast I/O Dispatch routines to proper defintions, and move some stuff into io defines instead of internal native types. Remove outdated data due to newest IFS.

svn path=/trunk/; revision=15071

17 years agoFix driver loading. patch by tinus
Alex Ionescu [Sat, 7 May 2005 01:17:36 +0000 (01:17 +0000)]
Fix driver loading. patch by tinus

svn path=/trunk/; revision=15070

17 years agoMore IRP Completion changes. Use proper stack count and other semantics, as documente...
Alex Ionescu [Sat, 7 May 2005 01:13:04 +0000 (01:13 +0000)]
More IRP Completion changes. Use proper stack count and other semantics, as documented in NT File System Internals. These changes don't break anything :P

svn path=/trunk/; revision=15069

17 years agoUpdate ETHREAD to latest version.
Alex Ionescu [Sat, 7 May 2005 00:37:48 +0000 (00:37 +0000)]
Update ETHREAD to latest version.

svn path=/trunk/; revision=15068

17 years agoReadFile should return 0 to lpNumberOfBytesRead if NtReadFile returned STATUS_END_OF_...
Thomas Bluemel [Sat, 7 May 2005 00:21:06 +0000 (00:21 +0000)]
ReadFile should return 0 to lpNumberOfBytesRead if NtReadFile returned STATUS_END_OF_FILE for synchronous operations

svn path=/trunk/; revision=15067

17 years agoFix win32k to use new EPROCESS defintion
Alex Ionescu [Fri, 6 May 2005 22:55:52 +0000 (22:55 +0000)]
Fix win32k to use new EPROCESS defintion

svn path=/trunk/; revision=15066

17 years agoUpdate EPROCESS to latest version. Basic Fast Referencing Stubs to allow Token access...
Alex Ionescu [Fri, 6 May 2005 22:54:40 +0000 (22:54 +0000)]
Update EPROCESS to latest version. Basic Fast Referencing Stubs to allow Token access. Needs to be implemented. Use ActiveProcessLinks instead of ros-specific list.

svn path=/trunk/; revision=15065

17 years agoupgrade to PSEH2 (note, the new macros are still named _SEH_*, not _SEH2_*!)
Thomas Bluemel [Fri, 6 May 2005 22:25:30 +0000 (22:25 +0000)]
upgrade to PSEH2 (note, the new macros are still named _SEH_*, not _SEH2_*!)

svn path=/trunk/; revision=15063

17 years agoPatch by tinus: Resolves issue of keyboard detection when e.g. booting ReactOS under...
Aleksey Bragin [Fri, 6 May 2005 21:18:20 +0000 (21:18 +0000)]
Patch by tinus: Resolves issue of keyboard detection when e.g. booting ReactOS under VMWare with no keyboard grabbed.

svn path=/trunk/; revision=15062

17 years ago<tinus_> "Forgotten file from commit 14982"
Magnus Olsen [Fri, 6 May 2005 20:45:30 +0000 (20:45 +0000)]
<tinus_> "Forgotten file from commit 14982"

svn path=/trunk/; revision=15061

17 years ago HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","SampleRate",0x00010001...
Magnus Olsen [Fri, 6 May 2005 20:12:37 +0000 (20:12 +0000)]
 HKLM,"SYSTEM\CurrentControlSet\Services\i8042Prt\Parameters","SampleRate",0x00010001,0x00000060
60 are the dec value but it have not be convort to hex that is 0x3c

legmet value are, e.g., 10, 20, 40,   60, 80, 100, 200.'
in dec in hex 0x0a, 0x14, 0x28, 0x3c, 0x50, 0x64,  0xc8

svn path=/trunk/; revision=15060

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