reactos.git
19 years agoRemove default users shell folder paths.
Eric Kohl [Sat, 2 Oct 2004 12:33:20 +0000 (12:33 +0000)]
Remove default users shell folder paths.

svn path=/trunk/; revision=11152

19 years agoImprove creation of shell folder settings.
Eric Kohl [Sat, 2 Oct 2004 12:31:28 +0000 (12:31 +0000)]
Improve creation of shell folder settings.
Todo:
 - Store folder names in resource strings.
 - Update current users shell folder paths when a new profile is created.

svn path=/trunk/; revision=11151

19 years ago- Made cmt unicode compatible.
Hartmut Birr [Sat, 2 Oct 2004 10:26:48 +0000 (10:26 +0000)]
- Made cmt unicode compatible.
- Enabled time counting.
- Improved the waiting of key input events.

svn path=/trunk/; revision=11150

19 years ago- Terminate the wait thread if the handle was from a console.
Hartmut Birr [Sat, 2 Oct 2004 10:19:38 +0000 (10:19 +0000)]
- Terminate the wait thread if the handle was from a console.

svn path=/trunk/; revision=11149

19 years ago- Updated the workingset size in the rmap functions.
Hartmut Birr [Sat, 2 Oct 2004 10:16:10 +0000 (10:16 +0000)]
- Updated the workingset size in the rmap functions.

svn path=/trunk/; revision=11148

19 years ago2004-10-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 2 Oct 2004 08:44:54 +0000 (08:44 +0000)]
2004-10-02  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/gdiplus/tests/.cvsignore: Ignore _hooks.c and _stubs.S.
* lib/gdiplus/tests/Makefile (TARGET_OBJECTS): Remove passthrough.o and
add _hooks.o and _stubs.o.
* lib/gdiplus/tests/tests/test-1.c: Test API hooking.
* regtests/shared/regtests.h: Add support for API hooking.
* tools/helper.mk: Generate stubs.
* tools/regtests.c: Add support for generating stubs and hooks.
* lib/gdiplus/tests/passthrough.c: Remove.
* lib/gdiplus/tests/stubs.tst: New file.

svn path=/trunk/; revision=11147

19 years ago- Fixed the definition of SNMP_FUNC_TYPE.
Hartmut Birr [Sat, 2 Oct 2004 08:28:34 +0000 (08:28 +0000)]
- Fixed the definition of SNMP_FUNC_TYPE.

svn path=/trunk/; revision=11146

19 years agoSorry i didn't have all the assertions correct in ntoskrnl/mm/pool.c
Art Yerkes [Fri, 1 Oct 2004 20:51:29 +0000 (20:51 +0000)]
Sorry i didn't have all the assertions correct in ntoskrnl/mm/pool.c
Now i've moved them to npool.c and ppool.c, where they are shorter.

svn path=/trunk/; revision=11145

19 years agoDon't use more than a single page for a TEB (forgotten file)
Gé van Geldorp [Fri, 1 Oct 2004 20:29:58 +0000 (20:29 +0000)]
Don't use more than a single page for a TEB (forgotten file)

svn path=/trunk/; revision=11144

19 years agoDon't use more than a single page for a TEB
Gé van Geldorp [Fri, 1 Oct 2004 20:26:05 +0000 (20:26 +0000)]
Don't use more than a single page for a TEB

svn path=/trunk/; revision=11143

19 years ago- Rewrote parts of the Process & Thread time count functions.
Hartmut Birr [Fri, 1 Oct 2004 20:09:57 +0000 (20:09 +0000)]
- Rewrote parts of the Process & Thread time count functions.

svn path=/trunk/; revision=11142

19 years agoHandle mapping a view of a section at non-zero file offset
Gé van Geldorp [Fri, 1 Oct 2004 20:06:43 +0000 (20:06 +0000)]
Handle mapping a view of a section at non-zero file offset

svn path=/trunk/; revision=11141

19 years agopool.c: assert irql and pool type for PASSIVE_LEVEL and above.
Art Yerkes [Fri, 1 Oct 2004 04:00:11 +0000 (04:00 +0000)]
pool.c: assert irql and pool type for PASSIVE_LEVEL and above.
ntoskrnl/ob/security.c:
This function did not either identify the new descriptor as self relative
nor honor the case where self-relative was not set.  Now fixed.
Bug identified by WaxDragon (while loading a cygwin app)

svn path=/trunk/; revision=11140

19 years agoAdded needed rc file.
Art Yerkes [Fri, 1 Oct 2004 02:31:05 +0000 (02:31 +0000)]
Added needed rc file.

svn path=/trunk/; revision=11139

19 years agoZero the new descriptor so that the Dacl, Sacl etc pointers will be zeroed
Art Yerkes [Fri, 1 Oct 2004 01:28:56 +0000 (01:28 +0000)]
Zero the new descriptor so that the Dacl, Sacl etc pointers will be zeroed
if not initialized.  cygwin was exercising this.

svn path=/trunk/; revision=11138

19 years agoIt seems there's a subtle difference between mingw32 on windows and on
Art Yerkes [Thu, 30 Sep 2004 22:04:13 +0000 (22:04 +0000)]
It seems there's a subtle difference between mingw32 on windows and on
unixen.  Apparently, include_next does not count repeated include
directories on unixen but does on windows, thus windows users of mingw
saw the build of the ip lib break for not having included
w32api/include/basetsd.h through the include/basetsd.h.  It would
include include/basetsd.h again and (since the include guard in that
file surrounds the include_next), would do nothing the second time.  I guess
I'm the only person who got bit by this difference.

svn path=/trunk/; revision=11137

19 years agoCorrect spelling errors in some remarks.
Emanuele Aliberti [Thu, 30 Sep 2004 21:14:24 +0000 (21:14 +0000)]
Correct spelling errors in some remarks.

svn path=/trunk/; revision=11136

19 years agoRemove common shell folder settings.
Eric Kohl [Thu, 30 Sep 2004 20:24:51 +0000 (20:24 +0000)]
Remove common shell folder settings.

svn path=/trunk/; revision=11135

19 years ago- Add proper file header.
Eric Kohl [Thu, 30 Sep 2004 20:23:00 +0000 (20:23 +0000)]
- Add proper file header.
- Create common shell folder registry values in InitializeProfiles().

svn path=/trunk/; revision=11134

19 years agorollback change for now
Richard Campbell [Thu, 30 Sep 2004 16:47:49 +0000 (16:47 +0000)]
rollback change for now

svn path=/trunk/; revision=11133

19 years agoFixed makefile. Wrong name for ip.a
Art Yerkes [Thu, 30 Sep 2004 16:30:43 +0000 (16:30 +0000)]
Fixed makefile.  Wrong name for ip.a

svn path=/trunk/; revision=11132

19 years ago- For now, hardcode the all users profile path until we get better user management...
Richard Campbell [Thu, 30 Sep 2004 15:39:48 +0000 (15:39 +0000)]
- For now, hardcode the all users profile path until we get better user management code in place
- removed the %USERPROFILE% prefix, this will go in combination with my other fix to hopefully get things working right again.

svn path=/trunk/; revision=11131

19 years agoYou're such a trooper, Marvin
Royce Mitchell III [Thu, 30 Sep 2004 13:44:48 +0000 (13:44 +0000)]
You're such a trooper, Marvin

svn path=/trunk/; revision=11130

19 years agoYou can tune a file system, but you can't tunafish
Gé van Geldorp [Thu, 30 Sep 2004 10:07:00 +0000 (10:07 +0000)]
You can tune a file system, but you can't tunafish

svn path=/trunk/; revision=11129

19 years agoRollback winehq merge since it breaks Explorer
Gé van Geldorp [Thu, 30 Sep 2004 06:49:06 +0000 (06:49 +0000)]
Rollback winehq merge since it breaks Explorer

svn path=/trunk/; revision=11128

19 years agoMost files moved to linkable library drivers/lib/ip, which can be linked
Art Yerkes [Thu, 30 Sep 2004 06:00:42 +0000 (06:00 +0000)]
Most files moved to linkable library drivers/lib/ip, which can be linked
from kernel land, or from userland with the help of drivers/lib/undis.
Hopefully, I'll be able to simulate a sufficient environment with undis
that we'll be able to test most problems with the ip system in userland.
This follows my general priniciple of getting most interesting code into
a place where we can really examine it and work with it.  The interface
to the ip library is still a bit raw.  I was hoping to do a better job
of isolating it and especially digging nt kernel dependencies out into
the remaining framework files (tcpip/dispatch.c, tcpip/fileobjs.c), but
it was taking too long.  Hopefully I can return to that later.

svn path=/trunk/; revision=11127

19 years agoChanges to the interface to componentized ip library. This commit is where
Art Yerkes [Thu, 30 Sep 2004 05:44:10 +0000 (05:44 +0000)]
Changes to the interface to componentized ip library.  This commit is where
the ambiguously linked library starts being used in km.  There are further
cleanups i need to do, but hopefully having this checked in will help others
who are eager to help work on it.

svn path=/trunk/; revision=11126

19 years agoFixes to interface. Prototypes which were being stubborn. I will have to
Art Yerkes [Thu, 30 Sep 2004 05:41:09 +0000 (05:41 +0000)]
Fixes to interface.  Prototypes which were being stubborn.  I will have to
figure out how to use these headers better.

svn path=/trunk/; revision=11125

19 years agoUndis now builds a dll, carefully skirting the linkage problem i was facing.
Art Yerkes [Thu, 30 Sep 2004 05:40:15 +0000 (05:40 +0000)]
Undis now builds a dll, carefully skirting the linkage problem i was facing.
I also add more and more correct functions.

svn path=/trunk/; revision=11124

19 years agouse ULONG_PTR to calculate pointers
Thomas Bluemel [Wed, 29 Sep 2004 08:41:39 +0000 (08:41 +0000)]
use ULONG_PTR to calculate pointers

svn path=/trunk/; revision=11122

19 years agoRobert Shearman <rob@codeweavers.com>
Gé van Geldorp [Wed, 29 Sep 2004 07:01:37 +0000 (07:01 +0000)]
Robert Shearman <rob@codeweavers.com>
- Simplify getting custom icons for a folder by utilising the new
  SHELL32_GetCustomFolderAttribute function.
- Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.

svn path=/trunk/; revision=11121

19 years agoGetting there. Smoothing out the public interface and eliminating useless
Art Yerkes [Wed, 29 Sep 2004 06:11:27 +0000 (06:11 +0000)]
Getting there.  Smoothing out the public interface and eliminating useless
types.

svn path=/trunk/; revision=11120

19 years agoIP library. These files were moved from tcpip.sys and can be linked with
Art Yerkes [Wed, 29 Sep 2004 05:10:48 +0000 (05:10 +0000)]
IP library.  These files were moved from tcpip.sys and can be linked with
apps/tests/iptest using the undis library.  We need to make a change to
the way this is built so that we end up with ip.a (userland) and
ipkernel.a.  I'm still deciding how i want to do that.  For our purposes
now, it'll be fine to have it userland only as long as we still have the
option to build it for kernel use by hand to try out.

svn path=/trunk/; revision=11119

19 years agoAdded a header to lie between undis and net/ndis.h. This header will be used
Art Yerkes [Wed, 29 Sep 2004 04:57:26 +0000 (04:57 +0000)]
Added a header to lie between undis and net/ndis.h.  This header will be used
to wrap and modify ndis definitions if necessary.

svn path=/trunk/; revision=11118

19 years agoSimple library which captures the remaining link-time dependencies for ip.a
Art Yerkes [Wed, 29 Sep 2004 04:54:26 +0000 (04:54 +0000)]
Simple library which captures the remaining link-time dependencies for ip.a
Incomplete as yet.

Open question: how to make ip.a ambiguously linkable without building it
twice in it's present form.  Oskit was relatively simple because the
system dependencies were already isolated.  We need to capture and isolate
system dependencies in ip.a as well.

svn path=/trunk/; revision=11117

19 years agoThese calls to ExAllocatePool are done at != PASSIVE_LEVEL. Allocate
Art Yerkes [Wed, 29 Sep 2004 03:36:52 +0000 (03:36 +0000)]
These calls to ExAllocatePool are done at != PASSIVE_LEVEL.  Allocate
non-paged-pool.

svn path=/trunk/; revision=11116

19 years ago - Changed a few REG_EXPAND_SZ to REG_SZs as per Windows
Richard Campbell [Wed, 29 Sep 2004 01:26:35 +0000 (01:26 +0000)]
 - Changed a few REG_EXPAND_SZ to REG_SZs as per Windows

svn path=/trunk/; revision=11115

19 years agosprintf bad
Royce Mitchell III [Wed, 29 Sep 2004 00:47:42 +0000 (00:47 +0000)]
sprintf bad

svn path=/trunk/; revision=11114

19 years agoNtAllocateVirtualMemory() should return 64k aligned areas (forgotten file)
Gé van Geldorp [Tue, 28 Sep 2004 20:58:29 +0000 (20:58 +0000)]
NtAllocateVirtualMemory() should return 64k aligned areas (forgotten file)

svn path=/trunk/; revision=11113

19 years agoDon't return data length if not requested
Gé van Geldorp [Tue, 28 Sep 2004 20:40:15 +0000 (20:40 +0000)]
Don't return data length if not requested

svn path=/trunk/; revision=11112

19 years ago- Fixed LdrLookupPageProtection.
Hartmut Birr [Tue, 28 Sep 2004 20:16:24 +0000 (20:16 +0000)]
- Fixed LdrLookupPageProtection.

svn path=/trunk/; revision=11111

19 years agoAdd advpack.
James Tabor [Tue, 28 Sep 2004 19:49:27 +0000 (19:49 +0000)]
Add advpack.

svn path=/trunk/; revision=11110

19 years agoNtAllocateVirtualMemory() should return 64k aligned areas
Gé van Geldorp [Tue, 28 Sep 2004 19:49:21 +0000 (19:49 +0000)]
NtAllocateVirtualMemory() should return 64k aligned areas

svn path=/trunk/; revision=11109

19 years agoPorted icmp.dll from wine.
Steven Edwards [Tue, 28 Sep 2004 19:07:56 +0000 (19:07 +0000)]
Ported icmp.dll from wine.

svn path=/trunk/; revision=11108

19 years agorelicense to LGPL
Thomas Bluemel [Tue, 28 Sep 2004 16:05:24 +0000 (16:05 +0000)]
relicense to LGPL

svn path=/trunk/; revision=11107

19 years agoavoid compiler warning
Thomas Bluemel [Tue, 28 Sep 2004 15:14:04 +0000 (15:14 +0000)]
avoid compiler warning

svn path=/trunk/; revision=11106

19 years ago1. get rid of the global thread list and group threads in processes instead
Thomas Bluemel [Tue, 28 Sep 2004 15:02:31 +0000 (15:02 +0000)]
1. get rid of the global thread list and group threads in processes instead
2. get rid of all reactos-specific fields in the E/KTHREAD structure and make them match the 2k layout
3. identify threads (and later processes) using a client id table (which should propably be replaced by a global handle table instead)
4. disabled thread event pair functions by default (NT4 only) as they require a field in the ETHREAD structure that is not present in later versions

svn path=/trunk/; revision=11105

19 years ago- Implement IoFreeErrorLogEntry().
Eric Kohl [Tue, 28 Sep 2004 12:51:14 +0000 (12:51 +0000)]
- Implement IoFreeErrorLogEntry().
- Fix log size calculation in IopLogWorker().

svn path=/trunk/; revision=11104

19 years agoUse FILE_APPEND_DATA access right to write log entries.
Eric Kohl [Tue, 28 Sep 2004 12:50:23 +0000 (12:50 +0000)]
Use FILE_APPEND_DATA access right to write log entries.

svn path=/trunk/; revision=11103

19 years agoSupport special FILE_WRITE_TO_END_OF_FILE byte offset to append data to a file.
Eric Kohl [Tue, 28 Sep 2004 10:52:55 +0000 (10:52 +0000)]
Support special FILE_WRITE_TO_END_OF_FILE byte offset to append data to a file.

svn path=/trunk/; revision=11102

19 years agoNtWriteFile must append to file if it was opened with the FILE_APPEND_DATA access.
Eric Kohl [Tue, 28 Sep 2004 10:51:05 +0000 (10:51 +0000)]
NtWriteFile must append to file if it was opened with the FILE_APPEND_DATA access.
FILE_WRITE_DATA take precedence over FILE_APPEND_DATA.

svn path=/trunk/; revision=11101

19 years agoNtSetInformationThread() expects a pointer, not the handle itself
Gé van Geldorp [Mon, 27 Sep 2004 20:04:53 +0000 (20:04 +0000)]
NtSetInformationThread() expects a pointer, not the handle itself

svn path=/trunk/; revision=11100

19 years agoDefine FILE_WRITE_TO_END_OF_FILE.
Eric Kohl [Mon, 27 Sep 2004 11:32:31 +0000 (11:32 +0000)]
Define FILE_WRITE_TO_END_OF_FILE.

svn path=/trunk/; revision=11094

19 years agoSylvain Petreolle <spetreolle@yahoo.fr>
Gé van Geldorp [Mon, 27 Sep 2004 08:15:07 +0000 (08:15 +0000)]
Sylvain Petreolle <spetreolle@yahoo.fr>
- rules.mak is included too late in tools/winebuild/Makefile, which makes
  TARGET, "all:", CLEAN_FILES and HOST_CFLAGS wrong.

svn path=/trunk/; revision=11093

19 years agoSome fixes for MS_VC.
Steven Edwards [Mon, 27 Sep 2004 04:32:52 +0000 (04:32 +0000)]
Some fixes for MS_VC.

svn path=/trunk/; revision=11092

19 years agoAdd a shutdown message.
Steven Edwards [Mon, 27 Sep 2004 04:12:40 +0000 (04:12 +0000)]
Add a shutdown message.

svn path=/trunk/; revision=11091

19 years agoSlightly new and improved stub for GetUserNameA based on the Winehq
Steven Edwards [Sun, 26 Sep 2004 21:15:51 +0000 (21:15 +0000)]
Slightly new and improved stub for GetUserNameA based on the Winehq
code and hacked by Royce and Me.

svn path=/trunk/; revision=11082

19 years agoScream when an unimplemented function is called
Gé van Geldorp [Sun, 26 Sep 2004 20:28:22 +0000 (20:28 +0000)]
Scream when an unimplemented function is called

svn path=/trunk/; revision=11081

19 years agoStub LookupAccountNameA/W
Gé van Geldorp [Sun, 26 Sep 2004 20:26:13 +0000 (20:26 +0000)]
Stub LookupAccountNameA/W

svn path=/trunk/; revision=11080

19 years agoCall GetProcessHeap() instead of passing it's address
Gé van Geldorp [Sun, 26 Sep 2004 19:17:21 +0000 (19:17 +0000)]
Call GetProcessHeap() instead of passing it's address

svn path=/trunk/; revision=11079

19 years ago- Added a little sample which tests the noexecute protection.
Hartmut Birr [Sun, 26 Sep 2004 17:00:15 +0000 (17:00 +0000)]
- Added a little sample which tests the noexecute protection.

svn path=/trunk/; revision=11077

19 years agoadd a little more debug output in case of unhandled exceptions
Royce Mitchell III [Sun, 26 Sep 2004 16:54:53 +0000 (16:54 +0000)]
add a little more debug output in case of unhandled exceptions

svn path=/trunk/; revision=11076

19 years ago- Detect more cpu features.
Hartmut Birr [Sun, 26 Sep 2004 16:32:18 +0000 (16:32 +0000)]
- Detect more cpu features.
- Implemented the noexecute protection for the AMD64 cpu.

svn path=/trunk/; revision=11075

19 years agominor fix
Thomas Bluemel [Sun, 26 Sep 2004 16:14:05 +0000 (16:14 +0000)]
minor fix

svn path=/trunk/; revision=11074

19 years agouse Get/SetWindowLongPtr() where appropriate in favor of 64bit compatibility
Thomas Bluemel [Sun, 26 Sep 2004 15:55:53 +0000 (15:55 +0000)]
use Get/SetWindowLongPtr() where appropriate in favor of 64bit compatibility

svn path=/trunk/; revision=11073

19 years agointroduce XPath syntax to make handling configuration a bit easier
Martin Fuchs [Sun, 26 Sep 2004 15:13:16 +0000 (15:13 +0000)]
introduce XPath syntax to make handling configuration a bit easier

svn path=/trunk/; revision=11071

19 years ago- Rewrote (copied from ntdll) parts of the relocation and import fixup code.
Hartmut Birr [Sun, 26 Sep 2004 15:07:44 +0000 (15:07 +0000)]
- Rewrote (copied from ntdll) parts of the relocation and import fixup code.
- Don't load no-load sections at the end of the  driver.
- Don't relocate the relocation section itself.
- Set the correct page protection for section which are executable.
- Added a (dirty) fix for the fireport driver.
- Fixed the detection of the noguiboot option.

svn path=/trunk/; revision=11070

19 years ago- Move shldisp.h to the right place.
Filip Navara [Sun, 26 Sep 2004 14:34:23 +0000 (14:34 +0000)]
- Move shldisp.h to the right place.
- Get rid of the ICOM crap.

svn path=/trunk/; revision=11069

19 years agominor fix
Thomas Bluemel [Sun, 26 Sep 2004 13:25:42 +0000 (13:25 +0000)]
minor fix

svn path=/trunk/; revision=11068

19 years agoadd hid.dll to the build system
Thomas Bluemel [Sun, 26 Sep 2004 12:39:30 +0000 (12:39 +0000)]
add hid.dll to the build system

svn path=/trunk/; revision=11067

19 years agoDelete a boot log from the registry after it was written to the boot log file.
Eric Kohl [Sun, 26 Sep 2004 11:29:50 +0000 (11:29 +0000)]
Delete a boot log from the registry after it was written to the boot log file.

svn path=/trunk/; revision=11066

19 years agoenable PCH
Thomas Bluemel [Sun, 26 Sep 2004 10:43:00 +0000 (10:43 +0000)]
enable PCH

svn path=/trunk/; revision=11065

19 years agofixed typo
Thomas Bluemel [Sun, 26 Sep 2004 10:01:09 +0000 (10:01 +0000)]
fixed typo

svn path=/trunk/; revision=11064

19 years agoadded shell extension that enables the user to change compatibility modes for .exe...
Thomas Bluemel [Sun, 26 Sep 2004 09:56:23 +0000 (09:56 +0000)]
added shell extension that enables the user to change compatibility modes for .exe files in the file properties.

svn path=/trunk/; revision=11063

19 years ago- Reselected the drive (master/slave) after a soft reset.
Hartmut Birr [Sun, 26 Sep 2004 09:14:20 +0000 (09:14 +0000)]
- Reselected the drive (master/slave) after a soft reset.

svn path=/trunk/; revision=11062

19 years agoFixed each call to use a unique event. This is needed because send, recv,
Art Yerkes [Sun, 26 Sep 2004 07:55:32 +0000 (07:55 +0000)]
Fixed each call to use a unique event.  This is needed because send, recv,
connect, etc can complete independently even on the same socket.
Fixed connect to pass the status from afd back correctly.  Connect now
fails as expected when we couldn't make a connection.

svn path=/trunk/; revision=11061

19 years agomore sayings
Royce Mitchell III [Sun, 26 Sep 2004 02:33:31 +0000 (02:33 +0000)]
more sayings

svn path=/trunk/; revision=11060

19 years ago- Fix RtlFindClearBits to correctly treat the hint.
Filip Navara [Sat, 25 Sep 2004 22:59:17 +0000 (22:59 +0000)]
- Fix RtlFindClearBits to correctly treat the hint.

svn path=/trunk/; revision=11059

19 years agoDon't abandon file creation if hTemplateFile is INVALID_HANDLE_VALUE
Gé van Geldorp [Sat, 25 Sep 2004 21:44:02 +0000 (21:44 +0000)]
Don't abandon file creation if hTemplateFile is INVALID_HANDLE_VALUE

svn path=/trunk/; revision=11058

19 years agoUse the recursive mutex to lock the TCP.
Art Yerkes [Sat, 25 Sep 2004 21:32:56 +0000 (21:32 +0000)]
Use the recursive mutex to lock the TCP.

svn path=/trunk/; revision=11057

19 years agoAdded simple recursive mutex adapted from my afd one. Works both above
Art Yerkes [Sat, 25 Sep 2004 21:32:18 +0000 (21:32 +0000)]
Added simple recursive mutex adapted from my afd one.  Works both above
and below DISPATCH_LEVEL.

svn path=/trunk/; revision=11056

19 years agoMore experimental detritus. Sorry about that.
Art Yerkes [Sat, 25 Sep 2004 21:08:53 +0000 (21:08 +0000)]
More experimental detritus.  Sorry about that.

svn path=/trunk/; revision=11055

19 years ago- Fix usage of RtlFindSetBits and loops in CmiStartLogUpdate and CmiStartHiveUpdate.
Filip Navara [Sat, 25 Sep 2004 20:53:29 +0000 (20:53 +0000)]
- Fix usage of RtlFindSetBits and loops in CmiStartLogUpdate and CmiStartHiveUpdate.

svn path=/trunk/; revision=11054

19 years ago- Fix implementation of RtlFindSetBits to be able to return bits that are at lower...
Filip Navara [Sat, 25 Sep 2004 20:49:57 +0000 (20:49 +0000)]
- Fix implementation of RtlFindSetBits to be able to return bits that are at lower location than the supplied hint.

svn path=/trunk/; revision=11053

19 years agoPreviously checked in with some detritus from some experimental rtl stuff.
Art Yerkes [Sat, 25 Sep 2004 20:38:46 +0000 (20:38 +0000)]
Previously checked in with some detritus from some experimental rtl stuff.
Fixed.

svn path=/trunk/; revision=11052

19 years agoFixed connection locking in tcp.c
Art Yerkes [Sat, 25 Sep 2004 20:24:00 +0000 (20:24 +0000)]
Fixed connection locking in tcp.c
Added a work item in lan.c re: dpc callback from the adapter.  This keeps
us from needing mdl functions at dpc level.
Track IRPs to be completed with memtrack.

svn path=/trunk/; revision=11051

19 years ago- Remove the incorrect ALIGN macro (missing "* (align)") and replace it with ROUND_UP.
Filip Navara [Sat, 25 Sep 2004 19:39:57 +0000 (19:39 +0000)]
- Remove the incorrect ALIGN macro (missing "* (align)") and replace it with ROUND_UP.

svn path=/trunk/; revision=11050

19 years agoMake some installers happy (well, happier at least)
Gé van Geldorp [Sat, 25 Sep 2004 18:22:33 +0000 (18:22 +0000)]
Make some installers happy (well, happier at least)

svn path=/trunk/; revision=11049

19 years agoFixed spelling error.
Emanuele Aliberti [Sat, 25 Sep 2004 15:46:52 +0000 (15:46 +0000)]
Fixed spelling error.

svn path=/trunk/; revision=11048

19 years ago- CmiAddValueToKey(): Double the size of the value list cell when it is completely...
Eric Kohl [Sat, 25 Sep 2004 15:25:28 +0000 (15:25 +0000)]
- CmiAddValueToKey(): Double the size of the value list cell when it is completely filled. This prevents fragmentation if a key got lots of values.
- CmiDeleteValueFromKey(): Fix corruption of the value list cell when a value is removed from the list.
- Rename the variable VBOffset to ValueCellOffset.

svn path=/trunk/; revision=11047

19 years ago- Use ROUND_UP macro instead of explicit calculation.
Eric Kohl [Sat, 25 Sep 2004 12:11:13 +0000 (12:11 +0000)]
- Use ROUND_UP macro instead of explicit calculation.
- Replace fixed values by appropriate constants.
- Replace STATUS_UNSUCCESSFUL by better status codes.

svn path=/trunk/; revision=11046

19 years ago- Round up requested amount of memory instead of down
Gé van Geldorp [Sat, 25 Sep 2004 08:58:44 +0000 (08:58 +0000)]
- Round up requested amount of memory instead of down
- Simplify space check, old version didn't work because of signed/unsigned issues

svn path=/trunk/; revision=11045

19 years agoSeAccessCheck() returns TRUE on success
Gé van Geldorp [Sat, 25 Sep 2004 08:49:06 +0000 (08:49 +0000)]
SeAccessCheck() returns TRUE on success

svn path=/trunk/; revision=11044

19 years ago- Remove duplicate SPI_* definitions.
Filip Navara [Sat, 25 Sep 2004 08:21:12 +0000 (08:21 +0000)]
- Remove duplicate SPI_* definitions.

svn path=/trunk/; revision=11043

19 years ago- Remove duplicate definitions and redundant header file.
Filip Navara [Sat, 25 Sep 2004 08:20:16 +0000 (08:20 +0000)]
- Remove duplicate definitions and redundant header file.

svn path=/trunk/; revision=11042

19 years agocompareType refactoring
Martin Fuchs [Sat, 25 Sep 2004 07:55:31 +0000 (07:55 +0000)]
compareType refactoring

svn path=/trunk/; revision=11041

19 years agocm/regfile.c, ldr/init.c, ldr/loader.c: OBJ_CASE_INSENSITIVE patch I proposed
Art Yerkes [Sat, 25 Sep 2004 06:41:16 +0000 (06:41 +0000)]
cm/regfile.c, ldr/init.c, ldr/loader.c: OBJ_CASE_INSENSITIVE patch I proposed
on the list.  This makes the registry, and dll loading case insensitive when
we are on a case preserving filesystem.

ntoskrnl/ex/power.c: My own contributions to the poweroff message list.

ntoskrnl/mm/npool.c: Fixed bit-rot in whole page alloc.  That's how i found
the bug below.

se/semgr.c, lib/rtl/sd.c:
semgr, when creating a SECURITY_DESCRIPTOR, anded the PRESENT and DEFAULT
flags rather than oring them for group, dacl, and sacl, leading to
RtlLengthSecurityDescriptor giving the wrong length to sdcache.  When
sdcache would copy the security descriptor, it would be too short, and
the bound check from the whole-page allocator would go off.  I fixed this
and made rtl/sd.c use the ROUND_UP macro and RtlLengthSid.  This is cleaner.
It may not be completely correct yet but it no-longer truncates security
descriptors into the cache, which means that the Owner, Group and etc
SIDs should now actually work right when coming from the cache, no matter
what happens in the heap.  They probably seemed to work before simply
because they trashed the ends of their blocks and never moved in the
cache.

svn path=/trunk/; revision=11040

19 years agoChanged functions RtlClearAllBits and RtlSetAllBits to use SizeOfBitMap
Art Yerkes [Sat, 25 Sep 2004 03:20:16 +0000 (03:20 +0000)]
Changed functions RtlClearAllBits and RtlSetAllBits to use SizeOfBitMap
as the number of bits, not the number of bytes in the bitmap.  This was
making the whole page allocator in ntoskrnl/mm/npool.c crash early in
the boot process with whole page allocations on.  This may affect other
things adversely as well.

The documentation for RtlInitializeBitMap is here:
http://www.osronline.com/ddkx/kmarch/k109_5sfm.htm

svn path=/trunk/; revision=11039

19 years ago1. implemented GetThreadSelectorEntry()
Thomas Bluemel [Fri, 24 Sep 2004 20:55:58 +0000 (20:55 +0000)]
1. implemented GetThreadSelectorEntry()
2. added missing DESCRIPTOR_TABLE_ENTRY structure

svn path=/trunk/; revision=11037

19 years agoYou can't wait for 0 objects
Gé van Geldorp [Fri, 24 Sep 2004 20:26:43 +0000 (20:26 +0000)]
You can't wait for 0 objects

svn path=/trunk/; revision=11036