reactos.git
13 years ago- ScmCreateManagerHandle: Fail on invalid database names.
Eric Kohl [Fri, 29 Aug 2008 10:34:23 +0000 (10:34 +0000)]
- ScmCreateManagerHandle: Fail on invalid database names.
- ROpenServiceW: Fail if lpServiceName is NULL.
- ROpenServiceA: Don't pass an empty string to ROpenServiceW if lpServiceName is NULL. Use NULL instead.

This patch is based on bug report #3669 by bugboy <martinmnet@hotmail.com>.

svn path=/trunk/; revision=35750

13 years ago- GetServiceDisplayNameA/W and GetServiceKeyNameA/W: Fix returned name size.
Eric Kohl [Fri, 29 Aug 2008 10:01:06 +0000 (10:01 +0000)]
- GetServiceDisplayNameA/W and GetServiceKeyNameA/W: Fix returned name size.
- RGetServiceDisplayNameW: Return the service name if the display name is not available.
- Implement RGetServiceDisplayNameA and RGetServiceKeyNameA.

svn path=/trunk/; revision=35748

13 years agoFix warning that variable might be used uninitialized
Thomas Bluemel [Thu, 28 Aug 2008 23:47:23 +0000 (23:47 +0000)]
Fix warning that variable might be used uninitialized

svn path=/trunk/; revision=35735

13 years ago - Merge aicom-network-fixes up to r35714
Cameron Gutman [Thu, 28 Aug 2008 23:21:05 +0000 (23:21 +0000)]
 - Merge aicom-network-fixes up to r35714

svn path=/trunk/; revision=35734

13 years ago- Use CmpCompressedNameSize to obtain the compressed name length (I'll convert the...
Aleksey Bragin [Thu, 28 Aug 2008 15:37:57 +0000 (15:37 +0000)]
- Use CmpCompressedNameSize to obtain the compressed name length (I'll convert the other part of the routine to use CmpCopyCompressedName later, instead of assuming the current way of things).
- Fix incorrect freeing of a buffer returned by a call to CmpConstructName (spotted by Stefan Ginsberg).
- Changes in a couple of comments for better description, and a couple of 80col exceeders fixed.

svn path=/trunk/; revision=35732

13 years agoSorry, I committed stuff I shouldn't
Pierre Schweitzer [Thu, 28 Aug 2008 11:55:35 +0000 (11:55 +0000)]
Sorry, I committed stuff I shouldn't

svn path=/trunk/; revision=35731

13 years ago- Added a base address for netshell.dll
Pierre Schweitzer [Thu, 28 Aug 2008 11:50:29 +0000 (11:50 +0000)]
- Added a base address for netshell.dll
- Relocated imm32.dll

svn path=/trunk/; revision=35730

13 years agoSynced riched20_winetest, riched32_winetest with Wine HEAD
Pierre Schweitzer [Thu, 28 Aug 2008 10:54:35 +0000 (10:54 +0000)]
Synced riched20_winetest, riched32_winetest with Wine HEAD

svn path=/trunk/; revision=35729

13 years agoSynced riched20 with Wine HEAD
Pierre Schweitzer [Thu, 28 Aug 2008 10:43:26 +0000 (10:43 +0000)]
Synced riched20 with Wine HEAD

svn path=/trunk/; revision=35728

13 years ago- Implement CmpConstructName (builds a full name of the given key).
Aleksey Bragin [Thu, 28 Aug 2008 10:16:48 +0000 (10:16 +0000)]
- Implement CmpConstructName (builds a full name of the given key).
- Fix freeing of the buffer returned by CmpConstructName in CmpQueryKeyName routine.
- Fixes bug 3616 and related query-routines.
See issue #3616 for more details.

svn path=/trunk/; revision=35727

13 years ago- Put netshell.dll on the bootcd.
Aleksey Bragin [Thu, 28 Aug 2008 09:12:09 +0000 (09:12 +0000)]
- Put netshell.dll on the bootcd.

svn path=/trunk/; revision=35725

13 years ago- Add Russian translation
Dmitry Chapyshev [Thu, 28 Aug 2008 05:32:31 +0000 (05:32 +0000)]
- Add Russian translation

svn path=/trunk/; revision=35721

13 years ago- Add Items to Connection ShellFolder Item Context Menu
Johannes Anderwald [Thu, 28 Aug 2008 03:52:51 +0000 (03:52 +0000)]
- Add Items to Connection ShellFolder Item Context Menu
- Are not yet handled

svn path=/trunk/; revision=35719

13 years ago- Use CoTaskMemAlloc / CoTaskMemFree for memory de-allocation
Johannes Anderwald [Thu, 28 Aug 2008 02:57:10 +0000 (02:57 +0000)]
- Use CoTaskMemAlloc / CoTaskMemFree for memory de-allocation
- Implement INetConnectionManager, IEnumNetConnection, INetConnection interface for CLSID_ConnectionManager
- Refactor Network Connections Shell Folder enumeration code to use the now available COM functionality

svn path=/trunk/; revision=35718

13 years ago- Add netcon header
Johannes Anderwald [Thu, 28 Aug 2008 00:07:30 +0000 (00:07 +0000)]
- Add netcon header

svn path=/trunk/; revision=35717

13 years ago- Add IIDs and CLSID for netshell
Johannes Anderwald [Thu, 28 Aug 2008 00:03:28 +0000 (00:03 +0000)]
- Add IIDs and CLSID for netshell

svn path=/trunk/; revision=35716

13 years agoMerge MMerge 34969 from ros-amd64-bringup branch:
Timo Kreuzer [Wed, 27 Aug 2008 22:40:17 +0000 (22:40 +0000)]
Merge MMerge 34969 from ros-amd64-bringup branch:
- Fix parameter types of NtQuery/SetSystemInformation, ExInitialize(N)PagedLookasideList, KeBugCheckWithTf, IoGetstackLimits
- Use ALIGN_UP_POINTER for a pointer
- Fix pointer to ULONG cast

svn path=/trunk/; revision=35715

13 years agoMMerge 34827 from ros-amd64-bringup branch:
Timo Kreuzer [Wed, 27 Aug 2008 20:56:16 +0000 (20:56 +0000)]
MMerge 34827 from ros-amd64-bringup branch:
- fix parameter types of NtAllocateVirtualMemory and NtFreeVirtualMemory

svn path=/trunk/; revision=35713

13 years agoMerge 34714, 34716, 34718, 34720 from ros-amd64-bringup branch:
Timo Kreuzer [Wed, 27 Aug 2008 20:27:32 +0000 (20:27 +0000)]
Merge 34714, 34716, 34718, 34720 from ros-amd64-bringup branch:
recyclebin: DWORD -> SIZE_T and SIZE_T -> DWORD
rtl:
- cast AtomName to ULONG_PTR instead of ULONG
- RtlQueryProcessdebugInformation(): cast teb->ClientId.UniqueProcess to ULONG_PTR for assignment to Pid.
- vs(w)nprintf: cast argument to ULONG_PTR instead of unsigned long for a %p
crt:
- int -> intptr_t
- unsigned long -> uintptr_t
- #undef _MINGW_IMPORT in ctype.c, to avoid warnings
scrnsafe: rename _toul to _toulptr and make it return an ULONG_PTR

svn path=/trunk/; revision=35712

13 years agoAdd the "wine" include directory for the user32 Wine test and remove ROS-specific...
Colin Finck [Wed, 27 Aug 2008 20:10:45 +0000 (20:10 +0000)]
Add the "wine" include directory for the user32 Wine test and remove ROS-specific additions to some files.
Fixes the user32_winetest and thus rostests build under Unix.

svn path=/trunk/; revision=35711

13 years ago- Make cmlibhost compile warning free
Stefan Ginsberg [Wed, 27 Aug 2008 17:54:27 +0000 (17:54 +0000)]
- Make cmlibhost compile warning free
- Slight reordering of cmlib.h (by Colin Finck)

svn path=/trunk/; revision=35709

13 years ago- Fix build
Johannes Anderwald [Wed, 27 Aug 2008 17:27:25 +0000 (17:27 +0000)]
- Fix build

svn path=/trunk/; revision=35708

13 years ago- Start Implementing Network Connections ShellFolder
Johannes Anderwald [Wed, 27 Aug 2008 17:18:25 +0000 (17:18 +0000)]
- Start Implementing Network Connections ShellFolder

svn path=/trunk/; revision=35707

13 years ago- Implement CmpQueryKeyName as a wrapper around CmpConstructName helper function...
Aleksey Bragin [Wed, 27 Aug 2008 15:55:32 +0000 (15:55 +0000)]
- Implement CmpQueryKeyName as a wrapper around CmpConstructName helper function (which is stubbed now).

svn path=/trunk/; revision=35705

13 years ago- Add constants
Johannes Anderwald [Wed, 27 Aug 2008 15:19:40 +0000 (15:19 +0000)]
- Add constants

svn path=/trunk/; revision=35700

13 years agoFix StretchBlt ugliness in qemu. Patch by grschneider.
Jeffrey Morlan [Wed, 27 Aug 2008 14:47:49 +0000 (14:47 +0000)]
Fix StretchBlt ugliness in qemu. Patch by grschneider.

svn path=/trunk/; revision=35699

13 years agoMerge 34717 from ros-amd64-bringup branch:
Timo Kreuzer [Wed, 27 Aug 2008 03:59:24 +0000 (03:59 +0000)]
Merge 34717 from ros-amd64-bringup branch:
- Fix prototypes of _findfirst, _findnext, _findclose, _findfirsti64, _findnexti64 _wfindfirst, _wfindnext, _wfindfirst64, _wfindnext64, strndup,
- Fix a number of pointer to int casts

svn path=/trunk/; revision=35695

13 years ago- Revert 35686
Johannes Anderwald [Tue, 26 Aug 2008 22:35:44 +0000 (22:35 +0000)]
- Revert 35686
- NetworkConnections is implemented in netshell.dll

svn path=/trunk/; revision=35688

13 years ago- Start implementing Network Connections Shell Folder
Johannes Anderwald [Tue, 26 Aug 2008 21:29:55 +0000 (21:29 +0000)]
- Start implementing Network Connections Shell Folder
- Rename cpanelfolder to shfldr_cpanel
- Implement _ILIsNetConnect, ILCreateNetConnect

svn path=/trunk/; revision=35686

13 years ago- Implement call :label by creating a new batch context; this way calls can be nested...
Jeffrey Morlan [Tue, 26 Aug 2008 20:36:38 +0000 (20:36 +0000)]
- Implement call :label by creating a new batch context; this way calls can be nested and have their own %0-%9 parameters.
- GetBatchVar: Implement %~n. Remove %? (an old FreeDOS-ism; the Windows equivalent is %ERRORLEVEL%)

svn path=/trunk/; revision=35681

13 years agoCopied remotely
Johannes Anderwald [Tue, 26 Aug 2008 19:48:08 +0000 (19:48 +0000)]
Copied remotely

svn path=/trunk/; revision=35680

13 years agocmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any...
Jeffrey Morlan [Tue, 26 Aug 2008 19:07:23 +0000 (19:07 +0000)]
cmd_type: Fix misuse of ConOutPrintf which caused problems when the file had any '%' characters in it.

svn path=/trunk/; revision=35679

13 years ago- Move fdiv pentium bug function stubs to another file.
Aleksey Bragin [Tue, 26 Aug 2008 17:21:02 +0000 (17:21 +0000)]
- Move fdiv pentium bug function stubs to another file.
- Exclude platform-independent CI math function stubs when compiling x86 target. Should finally fix bug 1255.
See issue #1255 for more details.

svn path=/trunk/; revision=35677

13 years ago- Fix executing item which was broken in last revision
Johannes Anderwald [Tue, 26 Aug 2008 16:27:40 +0000 (16:27 +0000)]
- Fix executing item which was broken in last revision

svn path=/trunk/; revision=35676

13 years ago- Readd undocumented constants as commdlg needs them
Johannes Anderwald [Tue, 26 Aug 2008 16:01:13 +0000 (16:01 +0000)]
- Readd undocumented constants as commdlg needs them

svn path=/trunk/; revision=35675

13 years agoshell32 update (1/2)
Johannes Anderwald [Tue, 26 Aug 2008 15:50:23 +0000 (15:50 +0000)]
shell32 update (1/2)

- Use precompiled headers for shell32
- Use __inline for MSVC compability
- Fix api definitions of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- msvc now compiles nearly all of shell32 (with WDK headers)

svn path=/trunk/; revision=35674

13 years agoshell32 update (1/2)
Johannes Anderwald [Tue, 26 Aug 2008 15:50:17 +0000 (15:50 +0000)]
shell32 update (1/2)

- The Fonts Shell Folder && Admin Shell Folder GUID is not documented in shlguid.h
- Fix api declaration of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- Fix EXP_DARWIN_LINK && OPENASINFO structure
- Remove CSIDL_FOLDER_MASK undocumented shellview ids

svn path=/trunk/; revision=35673

13 years ago- RtlSetEnvironmentVariable: To delete a variable, it is necessary to pass a NULL...
Jeffrey Morlan [Tue, 26 Aug 2008 15:28:29 +0000 (15:28 +0000)]
- RtlSetEnvironmentVariable: To delete a variable, it is necessary to pass a NULL pointer as the value; passing an empty string should create an empty variable. Remove Value->Length > 0 check.
- SetEnvironmentVariable(A|W): When given a NULL value, pass NULL to RtlSetEnvironmentVariable.
- cmd_set: When given an empty value, pass NULL to SetEnvironmentVariable.

svn path=/trunk/; revision=35672

13 years agoProhibit an empty name in RtlSetEnvironmentVariable
Jeffrey Morlan [Tue, 26 Aug 2008 14:45:37 +0000 (14:45 +0000)]
Prohibit an empty name in RtlSetEnvironmentVariable

svn path=/trunk/; revision=35671

13 years agoCommit patches from bugboy, fixing bug 2392.
Art Yerkes [Tue, 26 Aug 2008 13:28:44 +0000 (13:28 +0000)]
Commit patches from bugboy, fixing bug 2392.

svn path=/trunk/; revision=35669

13 years ago- Add an ability to have VMWare video driver installed without inserting CD. Just...
Aleksey Bragin [Tue, 26 Aug 2008 11:30:02 +0000 (11:30 +0000)]
- Add an ability to have VMWare video driver installed without inserting CD. Just copy 4 files (vmx_fb.dll, vmx_mode.dll, vmx_svga.sys and vmx_svga.inf) from VMWare Tools CD to your reactos/modules/windows directory and build a bootcd. You'll just need to choose a resolution and a bit depth in 2nd stage setup.

svn path=/trunk/; revision=35667

13 years agoAllocate buffer from Non-paged pool, like most everything else in KDBG.
Andrew Munger [Tue, 26 Aug 2008 09:38:12 +0000 (09:38 +0000)]
Allocate buffer from Non-paged pool, like most everything else in KDBG.

svn path=/trunk/; revision=35660

13 years ago- Add a small hack for executing shortcuts to cpl files
Johannes Anderwald [Tue, 26 Aug 2008 06:24:33 +0000 (06:24 +0000)]
- Add a small hack for executing shortcuts to cpl files
- Remove unneeded CLSID_UnixFolder registration
- Fix Bitbucket, Nethood shell folder registration attributes

svn path=/trunk/; revision=35659

13 years ago - Merge r35656 from aicom-network-fixes
Cameron Gutman [Tue, 26 Aug 2008 04:19:07 +0000 (04:19 +0000)]
 - Merge r35656 from aicom-network-fixes
 - Fixes more leaks during general network use

svn path=/trunk/; revision=35658

13 years ago - Merge r35653 from aicom-network-fixes
Cameron Gutman [Tue, 26 Aug 2008 02:11:40 +0000 (02:11 +0000)]
 - Merge r35653 from aicom-network-fixes
 - Fixes a major leak when closing Firefox

svn path=/trunk/; revision=35654

13 years agocmd_set:
Jeffrey Morlan [Mon, 25 Aug 2008 23:48:18 +0000 (23:48 +0000)]
cmd_set:
- When given a name with no value, show all variables that start with that name.
- Implement /P switch
- Set nErrorLevel on failure
- Make syntax more compatible with Windows (allow any control character to act as space; implement quoting)

svn path=/trunk/; revision=35649

13 years agoAdd Samuel Serapión to credits file
Timo Kreuzer [Mon, 25 Aug 2008 23:45:27 +0000 (23:45 +0000)]
Add Samuel Serapión to credits file

svn path=/trunk/; revision=35648

13 years agoRemove the "LPTSTR cmd" argument to internal commands; there's no need for a command...
Jeffrey Morlan [Mon, 25 Aug 2008 23:22:03 +0000 (23:22 +0000)]
Remove the "LPTSTR cmd" argument to internal commands; there's no need for a command to be told its own name. It was only used in two places:
- a hack in cmd_mkdir that was already obsolete a decade ago
- to distinguish "echo" from "echo.", but that is the wrong way to implement this anyway. There's nothing particularly special about the period, "echo" is just one of those commands that is lenient about where its parameters begin, and when it echos a line, the first character (usually a space, but in the case of "echo." a period) is skipped.

svn path=/trunk/; revision=35647

13 years agoMerge 34739 - 34769, 34796 - 34905, 34916 - 34967, 34970 - 35135, 35167, 35325, 35326...
Timo Kreuzer [Mon, 25 Aug 2008 21:57:13 +0000 (21:57 +0000)]
Merge 34739 - 34769, 34796 - 34905, 34916 - 34967, 34970 - 35135, 35167, 35325, 35326, 35443 - 35506, 35510 - 35546, 35587, 35616,
35644 from ros-amd64-bringup branch:

- Update AMD64 intrinsic Interlocked functions
- Add _InterlockedExchange64 to intin_x86.h
-Fix definitions of IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtrA, IsBadStringPtrW, IsBadWritePtr and SetProcessWorkingSetSize
- Define CONTEXT and XMM_SAVE_AREA32, taken from WINE
- Include _M_AMD64 for defintitions in ioaccess.h
- Add Interlocked intrinisc definitions for AMD64 platform
- Add KI_USER_SHARED_DATA and KeGetCurrentIrql() prototype to winddh
- Fix prototypes for KfAcquireSpinLock, KfReleaseSpinLock, KeAcquireInStackQueuedSpinLock and KeReleaseInStackQueuedSpinLock on amd64
- Fix rotl declaration, add mysteriously missing rotr.
winnt.h:
- Fix CONTEXT_AMD64 and friends, add various constants.
- Define RUNTIME_FUNCTION, RtlCaptureContext, RtlRestoreContext, RtlAddFunctionTable, RtlInstallFunctionTableCallback, RtlDeleteFunctionTable.
- Fix definitions for EXCEPTION_RECORD and friends to support amd64.
- Define IMAGE_THUNK_DATA64 and related constants.
- Define IMAGE_TLS_DIRECTORY64 and related constants.
- Remove WINEisms
- Remove multiple declarations and minor fixes.
- Fix KESEG0_BASE for amd64
- Fix definition for NdisCopyLookaheadData on amd64
- Only add function prototypes if NO_INTERLOCKED_INTRINSICS is defined
- Move the inlined InterlockedAnd/Or from rtl to winbase.h and rename it to InterlockedAnd/Or_Inline
- Fix TreeView_EnsureVisible macro.
- Add missing 64 bit intrinsic Interlocked functions
- Fix _InterlockedDecrement64
- Fix InterlockedExchangeAddSizeT
- Fix __writecrx instrinsics
- Fix ExQueryPoolBlockSize prototype
- Make KI_USER_SHARED_DATA and IMAGE_ORDINAL_FLAG64 a ULONGLONG
- Fix definition if IMAGE_OPTIONAL_HEADER64
- Add KPCR structure
- Add __readcrx intrinsics
- Ad some definitions to winddk.h
- Add a field for a DbgPrint function pointer to the ROS_LOADER_PARAMETER_BLOCK for early debug prints in ntoskrnl
- Update KPCR and KIPCR
- Add KeGetPcr() and update KeGetCurrentProcessorNumber
- Fix SECURITY_DESCRIPTOR_RELATIVE and KDPC_DATA
- Implement byteswap intrinsics
- Add macro definitions for KeQuerySystemTime, KeQueryTickCount and KeQueryInterruptTime to ddk
- Add NtCurrentTeb inline function
- Update amd64 prototypes for KeGetCurrentIrql, KfRaiseIrql, KfLowerIrql, KeRaiseIrqlToDpcLevel, KeRaiseIrqlToSynchLevel, KeLowerIrql, KeRaiseIrql
- Implement __readcr8, __writecr8, __lidt and __sidt intrinsics.
- Implement KeGetCurrentIrql as intrinsic.
- Make KeGetCurrentIrql, KeLowerIrql, KfRaiseIrql, KeRaiseIrql, KeRaiseIrqlToDpcLevel and KeRaiseIrqlToSynchLevel intrinsics as in the WDK 2008.
- Fix _interlockedbittest intrinsics
- Fix __readmsr and __writemsr on amd64
- Fix __readgsqword, it was using a long internally. Add volatile keyword to segment addressing intrinsics. Add "memory" to clobber list on all those that do write.
- Merge __readcr and __writecr x86 / x64 definitions, because they are the same. Implement __readdr and __writedr for x64.
- __readcr3() returns an unsigned __int64, fix x86 MmGetPageDirectory accordingly.

svn path=/trunk/; revision=35646

13 years ago- Prevent a crash by checking the applet name if it is empty and does exist
Johannes Anderwald [Mon, 25 Aug 2008 21:02:21 +0000 (21:02 +0000)]
- Prevent a crash by checking the applet name if it is empty and does exist
- %1 is used for file argument, where %2, %3, %n indicate the index of the passed param, %* is the rest of the command
- Directly pass the full filename to ShellExecuteExW from the default context menu
- Should fix executing cpl in default shellview

svn path=/trunk/; revision=35643

13 years ago- Fix multiple bugs in HCR_GetDefaultVerbW
Johannes Anderwald [Mon, 25 Aug 2008 20:16:42 +0000 (20:16 +0000)]
- Fix multiple bugs in HCR_GetDefaultVerbW

svn path=/trunk/; revision=35641

13 years agoMerge merge 34713 from ros-amd64-bringup branch:
Timo Kreuzer [Mon, 25 Aug 2008 19:01:09 +0000 (19:01 +0000)]
Merge merge 34713 from ros-amd64-bringup branch:
fix NtCurrentTeb()

svn path=/trunk/; revision=35639

13 years ago- Remove deprecated CHECKPOINT/CHECKPOINT1 macros which basically translated into...
Stefan Ginsberg [Mon, 25 Aug 2008 18:52:38 +0000 (18:52 +0000)]
- Remove deprecated CHECKPOINT/CHECKPOINT1 macros which basically translated into DPRINT/DPRINT1("\n")

svn path=/trunk/; revision=35638

13 years ago- Remove CHECKPOINT macros from green.sys
Stefan Ginsberg [Mon, 25 Aug 2008 18:48:18 +0000 (18:48 +0000)]
- Remove CHECKPOINT macros from green.sys

svn path=/trunk/; revision=35637

13 years agoMerge 34703, 34704, 34705, 34706, 34707, 34708, 34709 and 34710 from ros-amd64-bringu...
Timo Kreuzer [Mon, 25 Aug 2008 18:47:44 +0000 (18:47 +0000)]
Merge 34703, 34704, 34705, 34706, 34707, 34708, 34709 and 34710 from ros-amd64-bringup branch:
- Fix inline versions of integer <-> pointer conversion functions.
- Implement _InterlockedAnd64, _InterlockedOr64, _interlockedbittestandreset64, _interlockedbittestandset64 and gs-segment-adressing functions
- As amd64 shares most of the intrinsics of x86, implement them in intrin_x86.h
- Fix IMAGE_FIRST_SECTION macro
- Implement GetCurrentFiber(), NtCurrentTeb() and YieldProcessor()
- Fix ENUMRESLANGPROC, ENUMRESNAMEPROC and ENUMRESTYPEPROC
- Add Interlocked functions for pointers
- Add InterlockedCompareExchangePointer and InterlockedExchangePointer
- Add intrinsic port and register access functions
fix LIST_ENTRY() macro for 64 bits
add size_t definition to _mingw.h (ported from mingw)
- Update some loader structs ULONG -> ULONG_PTR / SIZE_T

svn path=/trunk/; revision=35636

13 years ago- Use MiSyncForProcessAttach and MiSyncForContextSwitch instead of MiSyncThreadProces...
Stefan Ginsberg [Mon, 25 Aug 2008 18:42:40 +0000 (18:42 +0000)]
- Use MiSyncForProcessAttach and MiSyncForContextSwitch instead of MiSyncThreadProcessViews to avoid some unneeded mm hack-syncing

svn path=/trunk/; revision=35635

13 years ago- Remove LIST_FOR_EACH and LIST_FOR_EACH_SAFE from the kernel
Stefan Ginsberg [Mon, 25 Aug 2008 18:21:19 +0000 (18:21 +0000)]
- Remove LIST_FOR_EACH and LIST_FOR_EACH_SAFE from the kernel
- Fix a bug in KeStartProfile (a missing negation) which caused us to either free buffer when we shouldn't, or leak it

svn path=/trunk/; revision=35633

13 years agomerge 35359 from ros-amd64-bringup branch:
Timo Kreuzer [Mon, 25 Aug 2008 16:38:02 +0000 (16:38 +0000)]
merge 35359 from ros-amd64-bringup branch:
The TEB member is called ClientId not Cid on all Windows versions I could check (XP, 2k3, vista).

svn path=/trunk/; revision=35631

13 years ago- Remove a header duplication and move a prototype to the correct place
Stefan Ginsberg [Mon, 25 Aug 2008 15:22:30 +0000 (15:22 +0000)]
- Remove a header duplication and move a prototype to the correct place

svn path=/trunk/; revision=35630

13 years ago- NtLoadKey: Call NtLoadKeyEx directly instead of calling NtLoadKey2 (which forwards...
Stefan Ginsberg [Mon, 25 Aug 2008 15:10:27 +0000 (15:10 +0000)]
- NtLoadKey: Call NtLoadKeyEx directly instead of calling NtLoadKey2 (which forwards to NtLoadKeyEx)

svn path=/trunk/; revision=35629

13 years agomerge 34702 and 34987 from ros-amd64-bringup branch:
Timo Kreuzer [Mon, 25 Aug 2008 14:51:22 +0000 (14:51 +0000)]
merge 34702 and 34987 from ros-amd64-bringup branch:
- convert LDR_RESOURCE_INFO members from ULONG to ULONG_PTR
- fix SECURITY_DESCRIPTOR_RELATIVE and KDPC_DATA

svn path=/trunk/; revision=35628

13 years ago- Undefine KdPrint before redefining it.
Stefan Ginsberg [Mon, 25 Aug 2008 13:42:17 +0000 (13:42 +0000)]
- Undefine KdPrint before redefining it.

svn path=/trunk/; revision=35626

13 years ago- Partly fix launching control panel applets
Johannes Anderwald [Mon, 25 Aug 2008 07:54:19 +0000 (07:54 +0000)]
- Partly fix launching control panel applets

svn path=/trunk/; revision=35624

13 years agoAdd odbc32 to the build system and bootcd.
Andrew Munger [Mon, 25 Aug 2008 07:49:46 +0000 (07:49 +0000)]
Add odbc32 to the build system and bootcd.
It builds and it's mere presence allows php to load.
Please have a look at the .rbuild, it probably needs tweaked.

svn path=/trunk/; revision=35623

13 years agoAdd "Boot Acceptance Application for Registry". Such a big name for such a small...
Eric Kohl [Sun, 24 Aug 2008 23:07:39 +0000 (23:07 +0000)]
Add "Boot Acceptance Application for Registry". Such a big name for such a small utility ;)

svn path=/trunk/; revision=35615

13 years ago - Merge aicom-network-fixes up to r35611
Cameron Gutman [Sun, 24 Aug 2008 20:50:17 +0000 (20:50 +0000)]
 - Merge aicom-network-fixes up to r35611

svn path=/trunk/; revision=35614

13 years ago- [FORMATTING] Comment and formatting fixes for LocateChildDevice. No code change.
Stefan Ginsberg [Sun, 24 Aug 2008 20:40:27 +0000 (20:40 +0000)]
- [FORMATTING] Comment and formatting fixes for LocateChildDevice. No code change.

svn path=/trunk/; revision=35613

13 years ago - Same fix as my last commit
Cameron Gutman [Sun, 24 Aug 2008 19:54:50 +0000 (19:54 +0000)]
 - Same fix as my last commit

svn path=/trunk/; revision=35612

13 years ago- [FORMATTING] Code style and comment cleanup. No code change.
Stefan Ginsberg [Sun, 24 Aug 2008 18:47:14 +0000 (18:47 +0000)]
- [FORMATTING] Code style and comment cleanup. No code change.

svn path=/trunk/; revision=35608

13 years agoDon't try to print information about a service that doesn't exist.
Eric Kohl [Sun, 24 Aug 2008 18:30:59 +0000 (18:30 +0000)]
Don't try to print information about a service that doesn't exist.

svn path=/trunk/; revision=35606

13 years agoSEH-protect all calls to remote functions.
Eric Kohl [Sun, 24 Aug 2008 18:27:17 +0000 (18:27 +0000)]
SEH-protect all calls to remote functions.
Based on patches from Bug #3669 by bugboy <martinmnet@hotmail.com>.

svn path=/trunk/; revision=35605

13 years agoHack the declaration of RQueryServiceConfigA. This hack has already been applied...
Eric Kohl [Sun, 24 Aug 2008 18:08:17 +0000 (18:08 +0000)]
Hack the declaration of RQueryServiceConfigA. This hack has already been applied to RQueryServiceConfigW.
Based on patches from Bug #3669 by bugboy <martinmnet@hotmail.com>.

svn path=/trunk/; revision=35604

13 years ago- Check if source and destination is the same. Fixes creating a new directory and...
Johannes Anderwald [Sun, 24 Aug 2008 16:43:08 +0000 (16:43 +0000)]
- Check if source and destination is the same. Fixes creating a new directory and using the default name

svn path=/trunk/; revision=35603

13 years ago - Remove one of the ASSERTs in SocketCalloutEnter
Cameron Gutman [Sun, 24 Aug 2008 16:37:15 +0000 (16:37 +0000)]
 - Remove one of the ASSERTs in SocketCalloutEnter

svn path=/trunk/; revision=35602

13 years ago- Remove KEBUGCHECK and KEBUGCHECKEX macros
Stefan Ginsberg [Sun, 24 Aug 2008 15:48:05 +0000 (15:48 +0000)]
- Remove KEBUGCHECK and KEBUGCHECKEX macros
- Replace "KeBugCheck(0)" by ASSERT(FALSE)
- Replace deprecated "CPRINT" by DRINT1

svn path=/trunk/; revision=35600

13 years ago- Remove deprecated makefile
Stefan Ginsberg [Sun, 24 Aug 2008 15:42:30 +0000 (15:42 +0000)]
- Remove deprecated makefile

svn path=/trunk/; revision=35599

13 years ago- Formatting and comment fixes (no code change)
Stefan Ginsberg [Sun, 24 Aug 2008 15:41:13 +0000 (15:41 +0000)]
- Formatting and comment fixes (no code change)

svn path=/trunk/; revision=35598

13 years agoD3D9:
Gregor Brunmar [Sun, 24 Aug 2008 11:18:30 +0000 (11:18 +0000)]
D3D9:
* Implemented IDirect3DSwapChain9::GetDevice() and GetPresentParameters()
* Added helper function to D3D9BaseObject to convert IUnknown* to IDirect3D9Device*
* Fixed behavior in IDirect3DDevice9::GetSwapChain() when an invalid index was specified

svn path=/trunk/; revision=35594

13 years agoD3D9:
Gregor Brunmar [Sun, 24 Aug 2008 10:15:44 +0000 (10:15 +0000)]
D3D9:
* Replace D3D9BaseObject's dependency on Direct3DDevice9
* More HAL device init stuff

svn path=/trunk/; revision=35593

13 years agoD3D9:
Gregor Brunmar [Sun, 24 Aug 2008 09:34:16 +0000 (09:34 +0000)]
D3D9:
* Fixed incomplete HAL device
* Fixed IDirect3DSwapChain9 and D3D9BaseObject ref counting

svn path=/trunk/; revision=35592

13 years ago- Use the name of the cpl as the mutex name
Johannes Anderwald [Sun, 24 Aug 2008 08:37:25 +0000 (08:37 +0000)]
- Use the name of the cpl as the mutex name
- The mutex name is a unicode buffer, pass it to CreateMutexW function
- fixes bug 3489

svn path=/trunk/; revision=35591

13 years agoupdate XMLStorage: correctly handle dots and colons in attribute names
Martin Fuchs [Sun, 24 Aug 2008 06:58:19 +0000 (06:58 +0000)]
update XMLStorage: correctly handle dots and colons in attribute names

svn path=/trunk/; revision=35590

13 years ago - Add myself to credits :)
Cameron Gutman [Sun, 24 Aug 2008 01:56:56 +0000 (01:56 +0000)]
 - Add myself to credits :)

svn path=/trunk/; revision=35585

13 years ago - Merge aicom-network-fixes up to r35583
Cameron Gutman [Sun, 24 Aug 2008 01:53:58 +0000 (01:53 +0000)]
 - Merge aicom-network-fixes up to r35583

svn path=/trunk/; revision=35584

13 years agoCatch failure to release the cancel spinlock. Would've spotted my error in
Art Yerkes [Sat, 23 Aug 2008 23:04:15 +0000 (23:04 +0000)]
Catch failure to release the cancel spinlock.  Would've spotted my error in
tcpip.sys.

svn path=/trunk/; revision=35581

13 years ago - Enable the failure debug prints in MsafdReturnWithErrno
Cameron Gutman [Sat, 23 Aug 2008 22:42:44 +0000 (22:42 +0000)]
 - Enable the failure debug prints in MsafdReturnWithErrno
 - They shouldn't spam the debug log and they're a great way to tell if something is going wrong in the network stack

svn path=/trunk/; revision=35580

13 years ago - Remove a hack not needed because of r35575
Cameron Gutman [Sat, 23 Aug 2008 20:27:26 +0000 (20:27 +0000)]
 - Remove a hack not needed because of r35575

svn path=/trunk/; revision=35576

13 years ago - Release the cancel spin lock before returning
Cameron Gutman [Sat, 23 Aug 2008 20:21:15 +0000 (20:21 +0000)]
 - Release the cancel spin lock before returning
 - Revert some unintentional changes made in r35485

svn path=/trunk/; revision=35575

13 years ago- Refresh treeview when a folder item is deleted
Johannes Anderwald [Sat, 23 Aug 2008 18:10:04 +0000 (18:10 +0000)]
- Refresh treeview when a folder item is deleted

svn path=/trunk/; revision=35572

13 years agoThis seems to be more correct
Gregor Brunmar [Sat, 23 Aug 2008 17:52:35 +0000 (17:52 +0000)]
This seems to be more correct

svn path=/trunk/; revision=35571

13 years ago- Check if source and destination is the same. Fixes creating a new directory and...
Johannes Anderwald [Sat, 23 Aug 2008 17:32:17 +0000 (17:32 +0000)]
- Check if source and destination is the same. Fixes creating a new directory and using the default name
- Prevent a potential buffer overflow in the file properties dialog

svn path=/trunk/; revision=35570

13 years ago- Pass the msi package in quotes
Johannes Anderwald [Sat, 23 Aug 2008 17:26:26 +0000 (17:26 +0000)]
- Pass the msi package in quotes
- Fixes launching msi packages from directories with spaces
- See bug 3342

svn path=/trunk/; revision=35569

13 years ago* Refactored GetDirect3D9AdapterInfo() to make life a little easier in InitD3D9BaseDe...
Gregor Brunmar [Sat, 23 Aug 2008 17:24:27 +0000 (17:24 +0000)]
* Refactored GetDirect3D9AdapterInfo() to make life a little easier in InitD3D9BaseDevice().
* Filled IDirect3DDevice9::DeviceData[] with correct info

svn path=/trunk/; revision=35568

13 years ago- Add THREAD_TERMINATE_HELD_MUTEX bugcode and make use of it
Stefan Ginsberg [Sat, 23 Aug 2008 17:16:16 +0000 (17:16 +0000)]
- Add THREAD_TERMINATE_HELD_MUTEX bugcode and make use of it

svn path=/trunk/; revision=35567

13 years ago- Implement IopGetRegistryValue (complementary function to IopOpenRegistryKeyEx)...
Aleksey Bragin [Sat, 23 Aug 2008 17:11:12 +0000 (17:11 +0000)]
- Implement IopGetRegistryValue (complementary function to IopOpenRegistryKeyEx). Not used yet.

svn path=/trunk/; revision=35566

13 years ago- In IoAcquire/ReleaseCancelSpinLock, use the queued "IopCancelSpinLock" instead...
Stefan Ginsberg [Sat, 23 Aug 2008 16:30:14 +0000 (16:30 +0000)]
- In IoAcquire/ReleaseCancelSpinLock, use the queued "IopCancelSpinLock" instead of a ros-specific "CancelSpinLock" standard spinlock
- Misc fixes

svn path=/trunk/; revision=35565

13 years agoAdded missing documentation
Gregor Brunmar [Sat, 23 Aug 2008 15:17:00 +0000 (15:17 +0000)]
Added missing documentation

svn path=/trunk/; revision=35564

13 years ago* Refactored D3D9 structures a bit
Gregor Brunmar [Sat, 23 Aug 2008 15:01:19 +0000 (15:01 +0000)]
* Refactored D3D9 structures a bit
* Started implementing IDirect3D9::CreateDevice()

svn path=/trunk/; revision=35563

13 years agoFix typo
Hervé Poussineau [Sat, 23 Aug 2008 14:43:30 +0000 (14:43 +0000)]
Fix typo

svn path=/trunk/; revision=35562

13 years ago- Perform volume operations as described in http://msdn.microsoft.com/en-us/library...
Aleksey Bragin [Sat, 23 Aug 2008 11:41:04 +0000 (11:41 +0000)]
- Perform volume operations as described in msdn.microsoft.com/en-us/library/aa364562(VS.85).aspx : Open, Lock, Work, Dismount, Unlock, Close.
- Our fastfat driver doesn't support lock/unlock and dismount operations, so no improvement yet.

svn path=/trunk/; revision=35560