reactos.git
15 years agofix typo
Sylvain Petreolle [Sat, 30 Aug 2008 21:58:12 +0000 (21:58 +0000)]
fix typo

svn path=/trunk/; revision=35820

15 years ago- CACHE_DESCRIPTOR and PROCESSOR_CACHE_TYPE are public and defined in winnt.h, so...
Stefan Ginsberg [Sat, 30 Aug 2008 21:34:56 +0000 (21:34 +0000)]
- CACHE_DESCRIPTOR and PROCESSOR_CACHE_TYPE are public and defined in winnt.h, so no need to define them in the NDK (the NDK includes winnt.h through windef.h, so this breaks build)

svn path=/trunk/; revision=35819

15 years agoRemoved useless defines
Pierre Schweitzer [Sat, 30 Aug 2008 20:41:26 +0000 (20:41 +0000)]
Removed useless defines

svn path=/trunk/; revision=35818

15 years ago- Add APIs new to Windows 2003/SP1 (including XP SP1)
Stefan Ginsberg [Sat, 30 Aug 2008 20:29:57 +0000 (20:29 +0000)]
- Add APIs new to Windows 2003/SP1 (including XP SP1)
- Add missing NtGetCurrentProcessorNumber to ntdll
- Update headers with missing structures

svn path=/trunk/; revision=35817

15 years ago- Primary implementation of sfc_os.dll.
Pierre Schweitzer [Sat, 30 Aug 2008 20:22:35 +0000 (20:22 +0000)]
- Primary implementation of sfc_os.dll.
- Linked some functions of sfc.dll to sfc_os.dll

svn path=/trunk/; revision=35816

15 years ago- update russian translation by tower at reactos org
Johannes Anderwald [Sat, 30 Aug 2008 19:10:50 +0000 (19:10 +0000)]
- update russian translation by tower at reactos org

svn path=/trunk/; revision=35815

15 years ago- Implement enumerating network components (Client/Service/Transport) using NetCfg...
Johannes Anderwald [Sat, 30 Aug 2008 19:05:19 +0000 (19:05 +0000)]
- Implement enumerating network components (Client/Service/Transport) using NetCfg COM api
- Add a check box to for enabling/disabling notification for network problems
- Implement IOleCommandTarget interface for the LAN status dialog
- Register the LAN property and LAN status CLSIDs

svn path=/trunk/; revision=35814

15 years agoPrimary implementation of sfc.dll. To have it "fully" working, sfc_os.dll is will...
Pierre Schweitzer [Sat, 30 Aug 2008 18:53:27 +0000 (18:53 +0000)]
Primary implementation of sfc.dll. To have it "fully" working, sfc_os.dll is will be needed.
It does nothing more. Don't shout, Fireball agreed for commit ;).

svn path=/trunk/; revision=35813

15 years ago- Updates to our vectored exception handling:
Stefan Ginsberg [Sat, 30 Aug 2008 18:40:00 +0000 (18:40 +0000)]
- Updates to our vectored exception handling:
- KiUserExceptionDispatcher: RtlDispatchException directly
- RtlDispatchException: Call vectored exception handlers before doing anything else
- Rename RtlpExecuteVectoredExceptionHandlers to RtlCallVectoredExceptionHandlers as this is the real name
- References: "New Vectored Exception Handling in Windows XP" by Matt Pietrek

svn path=/trunk/; revision=35812

15 years ago- [FORMATTING] Indentation and typo fixes
Stefan Ginsberg [Sat, 30 Aug 2008 16:50:43 +0000 (16:50 +0000)]
- [FORMATTING] Indentation and typo fixes

svn path=/trunk/; revision=35808

15 years ago- Remove the (now deprecated) ntoskrnl/internal/debug.h header and fix all its includ...
Stefan Ginsberg [Sat, 30 Aug 2008 16:31:06 +0000 (16:31 +0000)]
- Remove the (now deprecated) ntoskrnl/internal/debug.h header and fix all its includers to use the global debug.h

svn path=/trunk/; revision=35806

15 years ago- Get rid of ASSERT_IRQL, deprecated since long ago
Stefan Ginsberg [Sat, 30 Aug 2008 15:14:12 +0000 (15:14 +0000)]
- Get rid of ASSERT_IRQL, deprecated since long ago
- Remove various dead stuff from headers, and move ASSERT_IRQL_LESS_OR_EQUAL, ASSERT_IRQL_EQUAL and ASSERT_IRQL_LESS to global debug.h

svn path=/trunk/; revision=35803

15 years ago- KEBUGCHECK(0) -> KeBugCheck(FILE_SYSTEM)
Stefan Ginsberg [Sat, 30 Aug 2008 13:01:10 +0000 (13:01 +0000)]
- KEBUGCHECK(0) -> KeBugCheck(FILE_SYSTEM)

svn path=/trunk/; revision=35802

15 years ago- Add missing KdD0Transition and KdD3Transition prototypes
Stefan Ginsberg [Sat, 30 Aug 2008 10:50:52 +0000 (10:50 +0000)]
- Add missing KdD0Transition and KdD3Transition prototypes

svn path=/trunk/; revision=35800

15 years agoGregor Schneider <grschneider@gmail.com>
Aleksey Bragin [Sat, 30 Aug 2008 10:18:48 +0000 (10:18 +0000)]
Gregor Schneider <grschneider@gmail.com>
- Negative position values are allowed, fixes 3 "msvcrt_winetest.exe printf" failures (25 fails left).

svn path=/trunk/; revision=35799

15 years ago- NDK fixes.
Aleksey Bragin [Sat, 30 Aug 2008 08:33:22 +0000 (08:33 +0000)]
- NDK fixes.

svn path=/trunk/; revision=35794

15 years ago- Add IIDs && GUID of Netcfg
Johannes Anderwald [Sat, 30 Aug 2008 08:17:33 +0000 (08:17 +0000)]
- Add IIDs && GUID of Netcfg

svn path=/trunk/; revision=35793

15 years ago- Import Netcfgx.h
Johannes Anderwald [Sat, 30 Aug 2008 08:16:39 +0000 (08:16 +0000)]
- Import Netcfgx.h

svn path=/trunk/; revision=35792

15 years ago- Fix broken MMPTE_LIST structure definition.
Aleksey Bragin [Sat, 30 Aug 2008 07:57:06 +0000 (07:57 +0000)]
- Fix broken MMPTE_LIST structure definition.

svn path=/trunk/; revision=35791

15 years agoGCC doesn't need CDECL on variables
Hervé Poussineau [Sat, 30 Aug 2008 07:11:57 +0000 (07:11 +0000)]
GCC doesn't need CDECL on variables

svn path=/trunk/; revision=35790

15 years ago - Merge aicom-network-fixes up to r35787
Cameron Gutman [Sat, 30 Aug 2008 03:42:46 +0000 (03:42 +0000)]
 - Merge aicom-network-fixes up to r35787

svn path=/trunk/; revision=35788

15 years agoChange DC and DC_ATTR members from MATRIX_S and EFLOAT_S, which are explicit fpu...
Timo Kreuzer [Sat, 30 Aug 2008 01:01:52 +0000 (01:01 +0000)]
Change DC and DC_ATTR members from MATRIX_S and EFLOAT_S, which are explicit fpu emulation types, instead use MATRIX and FLOATOBJ which are the class types. Plug in new FLOATOBJ api and remove old fpu using version. Implement XFORMOBJ api using FLOATOBJ. Remove most of the fpu using code from win32k.

svn path=/trunk/; revision=35779

15 years agoQueryServiceConfig2A/W: Add more parameter checks. Fixes 3 winetest failures.
Eric Kohl [Fri, 29 Aug 2008 22:31:54 +0000 (22:31 +0000)]
QueryServiceConfig2A/W: Add more parameter checks. Fixes 3 winetest failures.

svn path=/trunk/; revision=35770

15 years agowin32k: Add tags when allocating memory
Hervé Poussineau [Fri, 29 Aug 2008 21:19:41 +0000 (21:19 +0000)]
win32k: Add tags when allocating memory
ntoskrnl: Relax checks when freeing a string

svn path=/trunk/; revision=35769

15 years agoForgot to commit this file too!
Eric Kohl [Fri, 29 Aug 2008 20:44:40 +0000 (20:44 +0000)]
Forgot to commit this file too!

Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.

svn path=/trunk/; revision=35768

15 years ago- Add a reference counter to the service record.
Eric Kohl [Fri, 29 Aug 2008 20:43:12 +0000 (20:43 +0000)]
- Add a reference counter to the service record.
- Implement a common service record delete function.
- RCloseServiceHandle: Remove a service if it has been marked for deletion and the reference counter reaches 0.
- RControlService: Stop a service only if there are no dependent services running.

Patch based on bug report #3669 by Michael Martin (aka bugboy) <martinmnet@hotmail.com> just like the patches r35748, r35750, r35752 and r35753.

svn path=/trunk/; revision=35767

15 years agoGregor Schneider <grschneider@gmail.com>
Aleksey Bragin [Fri, 29 Aug 2008 18:57:31 +0000 (18:57 +0000)]
Gregor Schneider <grschneider@gmail.com>
- Only pad with zeroes if padding requested.
- Show signs for floating point numbers without checking for SIGN type (since there is no unsigned float/double).
See issue #3587 for more details.

svn path=/trunk/; revision=35764

15 years ago- Activate INetConnection::GetProperties code
Johannes Anderwald [Fri, 29 Aug 2008 14:18:55 +0000 (14:18 +0000)]
- Activate INetConnection::GetProperties code
- Import from ncpa properties and status dialog
- Implement INetConnectionProperty interface
- Fix a bug & handle leak in registering code
- Implement NcFreeNetconProperties
- Make resources of netshell to be similar of Windows XP to allow netshell to be loaded
- Add NCF constants from ncpa
- Implement enumerating control/protocol and devices - items dont appear for some unknown reason
- Load property dialog in the same way like Windows (using INetConnectionProperty) interface

svn path=/trunk/; revision=35760

15 years ago- add INetConnectionProperty interface
Johannes Anderwald [Fri, 29 Aug 2008 14:12:34 +0000 (14:12 +0000)]
- add INetConnectionProperty interface

svn path=/trunk/; revision=35759

15 years ago- add INetConnectionPropertyUi iid
Johannes Anderwald [Fri, 29 Aug 2008 14:12:01 +0000 (14:12 +0000)]
- add INetConnectionPropertyUi iid

svn path=/trunk/; revision=35758

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