Commit graph

32268 commits

Author SHA1 Message Date
Stefan Ginsberg 12f349df1d - 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
2008-08-30 16:31:06 +00:00
Stefan Ginsberg 5ae7cefa81 - 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
2008-08-30 15:14:12 +00:00
Stefan Ginsberg 8e2e5b6501 - KEBUGCHECK(0) -> KeBugCheck(FILE_SYSTEM)
svn path=/trunk/; revision=35802
2008-08-30 13:01:10 +00:00
Stefan Ginsberg 1423b9dab9 - Add missing KdD0Transition and KdD3Transition prototypes
svn path=/trunk/; revision=35800
2008-08-30 10:50:52 +00:00
Aleksey Bragin 4554d3964d 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
2008-08-30 10:18:48 +00:00
Aleksey Bragin 82290bf5a9 - NDK fixes.
svn path=/trunk/; revision=35794
2008-08-30 08:33:22 +00:00
Johannes Anderwald 0914ac4a44 - Add IIDs && GUID of Netcfg
svn path=/trunk/; revision=35793
2008-08-30 08:17:33 +00:00
Johannes Anderwald 81b8000415 - Import Netcfgx.h
svn path=/trunk/; revision=35792
2008-08-30 08:16:39 +00:00
Aleksey Bragin fc5403e611 - Fix broken MMPTE_LIST structure definition.
svn path=/trunk/; revision=35791
2008-08-30 07:57:06 +00:00
Hervé Poussineau c4ec9d697b GCC doesn't need CDECL on variables
svn path=/trunk/; revision=35790
2008-08-30 07:11:57 +00:00
Cameron Gutman 7641cc07cc - Merge aicom-network-fixes up to r35787
svn path=/trunk/; revision=35788
2008-08-30 03:42:46 +00:00
Timo Kreuzer dcae209a08 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
2008-08-30 01:01:52 +00:00
Eric Kohl 46cc92b9b6 QueryServiceConfig2A/W: Add more parameter checks. Fixes 3 winetest failures.
svn path=/trunk/; revision=35770
2008-08-29 22:31:54 +00:00
Hervé Poussineau c1f3e0fa1c win32k: Add tags when allocating memory
ntoskrnl: Relax checks when freeing a string

svn path=/trunk/; revision=35769
2008-08-29 21:19:41 +00:00
Eric Kohl f10a1a9c4d 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
2008-08-29 20:44:40 +00:00
Eric Kohl 36e3b2153e - 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
2008-08-29 20:43:12 +00:00
Aleksey Bragin 78adf1b7db 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
2008-08-29 18:57:31 +00:00
Johannes Anderwald 7f5edc03e3 - 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
2008-08-29 14:18:55 +00:00
Johannes Anderwald 86fffd0e4a - add INetConnectionProperty interface
svn path=/trunk/; revision=35759
2008-08-29 14:12:34 +00:00
Johannes Anderwald af96ae0aed - add INetConnectionPropertyUi iid
svn path=/trunk/; revision=35758
2008-08-29 14:12:01 +00:00
Eric Kohl 8e4fa83a87 [FORMATTING] No code changes.
svn path=/trunk/; revision=35756
2008-08-29 13:08:03 +00:00
Eric Kohl 9bde3fcc59 - 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
2008-08-29 12:59:27 +00:00
Eric Kohl d5efa7522b Implement REnumDependentServicesA/W.
Patch is based on bug report #3669 by bugboy <martinmnet@hotmail.com>

svn path=/trunk/; revision=35753
2008-08-29 11:56:39 +00:00
Eric Kohl 532fd2c7b0 - 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
2008-08-29 11:15:53 +00:00
Eric Kohl e2a4d8be51 - 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
2008-08-29 10:34:23 +00:00
Eric Kohl b1d48577f8 - 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
2008-08-29 10:01:06 +00:00
Thomas Bluemel 71189715c9 Fix warning that variable might be used uninitialized
svn path=/trunk/; revision=35735
2008-08-28 23:47:23 +00:00
Cameron Gutman 56968e5d6f - Merge aicom-network-fixes up to r35714
svn path=/trunk/; revision=35734
2008-08-28 23:21:05 +00:00
Aleksey Bragin de3ef9b823 - 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
2008-08-28 15:37:57 +00:00
Pierre Schweitzer aa17a34237 Sorry, I committed stuff I shouldn't
svn path=/trunk/; revision=35731
2008-08-28 11:55:35 +00:00
Pierre Schweitzer d1d5f6306d - Added a base address for netshell.dll
- Relocated imm32.dll

svn path=/trunk/; revision=35730
2008-08-28 11:50:29 +00:00
Pierre Schweitzer 687df0212a Synced riched20_winetest, riched32_winetest with Wine HEAD
svn path=/trunk/; revision=35729
2008-08-28 10:54:35 +00:00
Pierre Schweitzer f381a715d2 Synced riched20 with Wine HEAD
svn path=/trunk/; revision=35728
2008-08-28 10:43:26 +00:00
Aleksey Bragin dea8ec1229 - 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
2008-08-28 10:16:48 +00:00
Aleksey Bragin a66715b036 - Put netshell.dll on the bootcd.
svn path=/trunk/; revision=35725
2008-08-28 09:12:09 +00:00
Dmitry Chapyshev 65fd9f9e94 - Add Russian translation
svn path=/trunk/; revision=35721
2008-08-28 05:32:31 +00:00
Johannes Anderwald f5852bccf9 - Add Items to Connection ShellFolder Item Context Menu
- Are not yet handled

svn path=/trunk/; revision=35719
2008-08-28 03:52:51 +00:00
Johannes Anderwald 5ea699faeb - 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
2008-08-28 02:57:10 +00:00
Johannes Anderwald f346cab83f - Add netcon header
svn path=/trunk/; revision=35717
2008-08-28 00:07:30 +00:00
Johannes Anderwald 4a322aacc7 - Add IIDs and CLSID for netshell
svn path=/trunk/; revision=35716
2008-08-28 00:03:28 +00:00
Timo Kreuzer 7191a6d896 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
2008-08-27 22:40:17 +00:00
Timo Kreuzer 50eb47c31e MMerge 34827 from ros-amd64-bringup branch:
- fix parameter types of NtAllocateVirtualMemory and NtFreeVirtualMemory

svn path=/trunk/; revision=35713
2008-08-27 20:56:16 +00:00
Timo Kreuzer 89d2d4d5bc 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
2008-08-27 20:27:32 +00:00
Colin Finck 55c1fbf585 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
2008-08-27 20:10:45 +00:00
Stefan Ginsberg 9112574303 - Make cmlibhost compile warning free
- Slight reordering of cmlib.h (by Colin Finck)

svn path=/trunk/; revision=35709
2008-08-27 17:54:27 +00:00
Johannes Anderwald 9e68eda05b - Fix build
svn path=/trunk/; revision=35708
2008-08-27 17:27:25 +00:00
Johannes Anderwald f971e1392e - Start Implementing Network Connections ShellFolder
svn path=/trunk/; revision=35707
2008-08-27 17:18:25 +00:00
Aleksey Bragin ac962ebea4 - Implement CmpQueryKeyName as a wrapper around CmpConstructName helper function (which is stubbed now).
svn path=/trunk/; revision=35705
2008-08-27 15:55:32 +00:00
Johannes Anderwald 0a12af7eab - Add constants
svn path=/trunk/; revision=35700
2008-08-27 15:19:40 +00:00
Jeffrey Morlan 0346f58af5 Fix StretchBlt ugliness in qemu. Patch by grschneider.
svn path=/trunk/; revision=35699
2008-08-27 14:47:49 +00:00