Commit graph

32392 commits

Author SHA1 Message Date
Daniel Reimer
481f0751b4 Bug 3670: update translate file by Lars Martin Hambro
Bug 3675: Translate file base\setup\reactos\lang by Lars martin Hambro
Bug 3682: Italian translation updates by Paolo Devoti
Bug 3694: Netshell polish translation by Maciej Bialas
Bug 3697: Bulgarian language update for ReactOS by Станев

svn path=/trunk/; revision=35845
2008-08-31 20:20:14 +00:00
Pierre Schweitzer
d9f427a1eb Define TAG macro before use.
That fixes build

svn path=/trunk/; revision=35843
2008-08-31 19:15:06 +00:00
Johannes Anderwald
f558d87092 - Fix resource
svn path=/trunk/; revision=35840
2008-08-31 18:09:35 +00:00
Johannes Anderwald
99082621a4 - Remove old unused enumeration code
- Implement displaying network component properties

svn path=/trunk/; revision=35839
2008-08-31 18:07:21 +00:00
Johannes Anderwald
17fc0b6a1d - Add INetCfgLock interface
- Add NCRP flags

svn path=/trunk/; revision=35838
2008-08-31 18:01:36 +00:00
Stefan Ginsberg
bdc53e84d9 - "0xbadf00d" is not a valid tag. use "PcNt" instead
svn path=/trunk/; revision=35837
2008-08-31 17:56:13 +00:00
Aleksey Bragin
d658f95e0c - Fix two major problems in CmpCleanUpKcbCacheWithLock:
* Accessing (reading and writing - corruption!) freed paged pool memory.
 * Lacking a dereference of a parent key.
- Fix a typo in the comment ("reference" -> "dereference").

svn path=/trunk/; revision=35836
2008-08-31 16:24:29 +00:00
Hervé Poussineau
a04c3e8d7f Check if tags match in ExFreePoolWithTag
Check if provided tag is valid in ExAllocatePoolWithTag
Add lots of BugCheck(BAD_POOL_CALLER)

svn path=/trunk/; revision=35835
2008-08-31 15:52:56 +00:00
Hervé Poussineau
d2ba8bac96 Replace some ExFreePool by ExFreePoolWithTag
svn path=/trunk/; revision=35834
2008-08-31 15:29:21 +00:00
Stefan Ginsberg
56c56ab228 - Make ntdll exports compatible with 2003 SP2 (except for some Vista routines)
- "Implement" Nt* and Zw* routines, and export 3 missing Dbg* routines which we implement
- Remove range list routines (those appear to be kernel mode only)
- Remove strtoull export

svn path=/trunk/; revision=35832
2008-08-31 12:45:56 +00:00
Aleksey Bragin
e1b80cf07e - Fix over-reading the input buffer (sometimes by even more than 400 bytes), and hashing random pool contents instead of the specified buffer.
svn path=/trunk/; revision=35831
2008-08-31 11:55:17 +00:00
Gregor Brunmar
b93a09c0b1 D3D9:
* Replaced depricated IsBadWritePtr() call to a simple NULL check instead (see http://blogs.msdn.com/oldnewthing/archive/2006/09/27/773741.aspx for more info)
* Implemented correct device hierarchy for the HAL Device

svn path=/trunk/; revision=35830
2008-08-31 11:36:55 +00:00
Stefan Ginsberg
faedfbacd7 - Fix build...
svn path=/trunk/; revision=35822
2008-08-30 23:06:13 +00:00
Stefan Ginsberg
4b96ec60dd - Add SecureZeroMemory/RtlSecureZeroMemory
- Add x86 versions of PreFetchCacheLine and MemoryBarrier (TODO for other architectures)

svn path=/trunk/; revision=35821
2008-08-30 22:54:27 +00:00
Sylvain Petreolle
a68427fcce fix typo
svn path=/trunk/; revision=35820
2008-08-30 21:58:12 +00:00
Stefan Ginsberg
e0e7f47d03 - 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
2008-08-30 21:34:56 +00:00
Pierre Schweitzer
8dc92e2819 Removed useless defines
svn path=/trunk/; revision=35818
2008-08-30 20:41:26 +00:00
Stefan Ginsberg
d53b0eb9e6 - 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
2008-08-30 20:29:57 +00:00
Pierre Schweitzer
53b639b3cf - Primary implementation of sfc_os.dll.
- Linked some functions of sfc.dll to sfc_os.dll

svn path=/trunk/; revision=35816
2008-08-30 20:22:35 +00:00
Johannes Anderwald
d78551628c - update russian translation by tower at reactos org
svn path=/trunk/; revision=35815
2008-08-30 19:10:50 +00:00
Johannes Anderwald
3a6cb48146 - 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
2008-08-30 19:05:19 +00:00
Pierre Schweitzer
d44a0a0009 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
2008-08-30 18:53:27 +00:00
Stefan Ginsberg
48d386505a - 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
2008-08-30 18:40:00 +00:00
Stefan Ginsberg
1f361c34ed - [FORMATTING] Indentation and typo fixes
svn path=/trunk/; revision=35808
2008-08-30 16:50:43 +00:00
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