reactos.git
15 years ago[FORMATTING] No code changes.
Eric Kohl [Fri, 29 Aug 2008 13:08:03 +0000 (13:08 +0000)]
[FORMATTING] No code changes.

svn path=/trunk/; revision=35756

15 years ago- RCreateServiceW:
Eric Kohl [Fri, 29 Aug 2008 12:59:27 +0000 (12:59 +0000)]
- RCreateServiceW:
  - Add more parameter checks.
  - Set the services "ObjectName" value to "LocalSystem" if it doesn't have a name.
- REnumServicesStatusW: Simplify it a little.

svn path=/trunk/; revision=35755

15 years agoImplement REnumDependentServicesA/W.
Eric Kohl [Fri, 29 Aug 2008 11:56:39 +0000 (11:56 +0000)]
Implement REnumDependentServicesA/W.

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

svn path=/trunk/; revision=35753

15 years ago- QueryServiceConfig2A/W: Fail if lpBuffer is NULL but cbBufSize is not 0.
Eric Kohl [Fri, 29 Aug 2008 11:15:53 +0000 (11:15 +0000)]
- QueryServiceConfig2A/W: Fail if lpBuffer is NULL but cbBufSize is not 0.
- RChangeServiceConfigW: Update the display name if it has been changed.
- RQueryServiceConfigW: Return pointers to empty strings instead of NULL pointers if information is not available.
- RQueryServiceConfig2W: Fail if lpBuffer is NULL.
- Implement RChangeServiceConfigA, RQueryServiceConfigA and RQueryServiceConfig2A.

Patch is based on bug report #3669 by bugboy <marinmnet@hotmail.com>.

svn path=/trunk/; revision=35752

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

svn path=/trunk/; revision=35708

15 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

15 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

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

svn path=/trunk/; revision=35700

15 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

15 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

15 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

15 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

15 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

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

svn path=/trunk/; revision=35680

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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