reactos.git
16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

svn path=/trunk/; revision=11074

16 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

16 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

16 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

16 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

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

svn path=/trunk/; revision=11068

16 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

16 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

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

svn path=/trunk/; revision=11065

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

svn path=/trunk/; revision=11064

16 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

16 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

16 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

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

svn path=/trunk/; revision=11060

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

svn path=/trunk/; revision=11041

16 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

16 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

16 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

16 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

16 years agodon't skip the detection code
Thomas Bluemel [Fri, 24 Sep 2004 20:20:46 +0000 (20:20 +0000)]
don't skip the detection code

svn path=/trunk/; revision=11035

16 years agoenabled the Wizard97 style
Thomas Bluemel [Fri, 24 Sep 2004 20:18:16 +0000 (20:18 +0000)]
enabled the Wizard97 style

svn path=/trunk/; revision=11034

16 years agoEnable wizard 97 style and add a dummy progress page.
Eric Kohl [Fri, 24 Sep 2004 18:52:29 +0000 (18:52 +0000)]
Enable wizard 97 style and add a dummy progress page.

svn path=/trunk/; revision=11033

16 years agoadded stub for ObFindHandleForObject() and export it
Thomas Bluemel [Fri, 24 Sep 2004 16:18:28 +0000 (16:18 +0000)]
added stub for ObFindHandleForObject() and export it

svn path=/trunk/; revision=11031

16 years ago- Remove duplicate definitions.
Filip Navara [Fri, 24 Sep 2004 16:13:21 +0000 (16:13 +0000)]
- Remove duplicate definitions.

svn path=/trunk/; revision=11030

16 years agoImplement PathIsCharValidA/W
Gé van Geldorp [Fri, 24 Sep 2004 15:17:20 +0000 (15:17 +0000)]
Implement PathIsCharValidA/W

svn path=/trunk/; revision=11029

16 years ago- Don't validate parents after sending the WM_ERASEBKGND message.
Filip Navara [Fri, 24 Sep 2004 15:07:38 +0000 (15:07 +0000)]
- Don't validate parents after sending the WM_ERASEBKGND message.
- Fix support for SWP_NOREDRAW flag in SetWindowPos.

svn path=/trunk/; revision=11028

16 years agoClose the bootlog key if value enumeration or writing to the log file fails.
Eric Kohl [Fri, 24 Sep 2004 15:00:34 +0000 (15:00 +0000)]
Close the bootlog key if value enumeration or writing to the log file fails.

svn path=/trunk/; revision=11027

16 years agoMerge back commit from winehq
Gé van Geldorp [Fri, 24 Sep 2004 12:13:54 +0000 (12:13 +0000)]
Merge back commit from winehq

svn path=/trunk/; revision=11026

16 years ago- SHGetAppCompatFlags() takes 4 bytes of parameters
Gé van Geldorp [Fri, 24 Sep 2004 11:12:44 +0000 (11:12 +0000)]
- SHGetAppCompatFlags() takes 4 bytes of parameters
- QueryInterface will return NULL for the new pointer if it fails

svn path=/trunk/; revision=11025

16 years ago- Print correct ReactOS version in the boot log header.
Eric Kohl [Fri, 24 Sep 2004 10:51:35 +0000 (10:51 +0000)]
- Print correct ReactOS version in the boot log header.
- Add ntoskrnl.exe and hal.dll to the boot log.

svn path=/trunk/; revision=11024

16 years agoInitialize ext so that MCLFREE will be called appropriately.
Art Yerkes [Fri, 24 Sep 2004 04:58:17 +0000 (04:58 +0000)]
Initialize ext so that MCLFREE will be called appropriately.
This macro was freeing (m)->m_data, but m was not a macro parameter.
It compiled because virtually every mbuf * is named m.  Fixed.

svn path=/trunk/; revision=11023

16 years agoAlso wait in the success, no data case in socket state change.
Art Yerkes [Fri, 24 Sep 2004 00:56:39 +0000 (00:56 +0000)]
Also wait in the success, no data case in socket state change.

svn path=/trunk/; revision=11022

16 years agoFix send function as well to properly deallocate the irp on failure on
Art Yerkes [Fri, 24 Sep 2004 00:51:31 +0000 (00:51 +0000)]
Fix send function as well to properly deallocate the irp on failure on
MmProbeAndLockPages.

svn path=/trunk/; revision=11021

16 years agoimplemented GetUserDefaultUILanguage()
Thomas Bluemel [Fri, 24 Sep 2004 00:36:14 +0000 (00:36 +0000)]
implemented GetUserDefaultUILanguage()

svn path=/trunk/; revision=11020

16 years agodon't attempt to reference NULL objects in NtIsProcessInJob()
Thomas Bluemel [Thu, 23 Sep 2004 22:02:39 +0000 (22:02 +0000)]
don't attempt to reference NULL objects in NtIsProcessInJob()

svn path=/trunk/; revision=11019

16 years agoimplemented NtIsProcessInJob()
Thomas Bluemel [Thu, 23 Sep 2004 21:23:34 +0000 (21:23 +0000)]
implemented NtIsProcessInJob()

svn path=/trunk/; revision=11018

16 years agoEmanuele Aliberti <ea@reactos.com>
Emanuele Aliberti [Thu, 23 Sep 2004 21:01:23 +0000 (21:01 +0000)]
Emanuele Aliberti <ea@reactos.com>
- Some stubs for ts moved in process/session.c.
- Implemented ProcessIdToSessionId.

svn path=/trunk/; revision=11017

16 years agotcp: print error when we can't allocate a bucket.
Art Yerkes [Thu, 23 Sep 2004 20:51:46 +0000 (20:51 +0000)]
tcp: print error when we can't allocate a bucket.
event: Don't report eof if we have bytes to deliver still.
       Made a mistake moving statuses around.  Requeue the request on
       STATUS_PENDING.

svn path=/trunk/; revision=11016

16 years agoWrite: print bytes returned so we can see it.
Art Yerkes [Thu, 23 Sep 2004 20:48:40 +0000 (20:48 +0000)]
Write: print bytes returned so we can see it.
Read : notify ourselves that the buffer is empty and reset the pointers.
Tdi  : since the handler part is an inner function, don't return from it
       but instead set Status and return afterward.

svn path=/trunk/; revision=11015

16 years agoSync to Wine:
Gé van Geldorp [Thu, 23 Sep 2004 20:27:30 +0000 (20:27 +0000)]
Sync to Wine:
Alexandre Julliard <julliard@winehq.org>
- Store all information about the current dll in a structure instead of
  using global variables to make it easier to reuse the parsing
  routines.
- Added native mode dll support (based on a patch by Marcus Meissner).
- Added support for building a dll from a .def file for cases where we
  don't want to write a full .spec.
- Renamed --spec option to --dll for consistency.
- Removed the Unicode exe modes, and instead detect automatically which
  mode to use based on the existence of main or wmain.
- Automatically detect whether the entry point is main or WinMain
  instead of depending on the subsystem type.
- Do not strip stdcall decoration in spec files.
- Print a warning when DllRegisterServer and similar functions are not
  marked private.
- Fill in the proper offsets in the resource directory instead of
  relying on the compiler to do it.
Jukka Heinonen <jhei@iki.fi>
- Remove support for generating interrupt handlers.
- DPMI programs now handle pending events.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix proc name reported in delay load failure.
Richard Cohen <richard@daijobu.co.uk>
- Remove . from default library search path.
Eric Pouech <pouech-eric@wanadoo.fr>
- added size information about most of the generated thunks (import,
  16/32 relay...)
- marked the wine thunks by inserting specific symbols (to be managed
  by wine's dbghelp)
- removed the stabs generation:
  + mostly used by winedbg, and the previous item will replace it for
    dbghelp
  + still broken for gdb anyway
- enhanced const correctness
Pierre d'Herbemont <stegefin@free.fr>
- Detection of .size instruction.
- Detection of the assembler name prefix.
- Delayed import fix for Darwin and PowerPC Host.
- Be more accurate on Darwin stack size.
- Delay import fix on PowerPC hosts.
Marcus Meissner <meissner@suse.de>
- Use "LD" instead of "ld" in winebuild to be able to use a different ld
  or ld options.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Add a few missing __ASM_NAME macros.

svn path=/trunk/; revision=11014

16 years ago2004-09-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Thu, 23 Sep 2004 20:05:32 +0000 (20:05 +0000)]
2004-09-23  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/msafd/makefile (TARGET_CFLAGS): Don't define DBG.
* lib/msafd/include/debug.h: Redefine ASSERT.

svn path=/trunk/; revision=11013

16 years agoremove implemented stubs
Thomas Bluemel [Thu, 23 Sep 2004 19:03:26 +0000 (19:03 +0000)]
remove implemented stubs

svn path=/trunk/; revision=11011

16 years agofixed returning a wrong handle count in GetProcessHandleCount()
Thomas Bluemel [Thu, 23 Sep 2004 19:01:38 +0000 (19:01 +0000)]
fixed returning a wrong handle count in GetProcessHandleCount()

svn path=/trunk/; revision=11010

16 years agofixed initialization of the object attributes in CreateJobObjectW()
Thomas Bluemel [Thu, 23 Sep 2004 18:55:18 +0000 (18:55 +0000)]
fixed initialization of the object attributes in CreateJobObjectW()

svn path=/trunk/; revision=11009

16 years agoimplemented OpenJobObjectA/W() - untested though
Thomas Bluemel [Thu, 23 Sep 2004 18:46:10 +0000 (18:46 +0000)]
implemented OpenJobObjectA/W() - untested though

svn path=/trunk/; revision=11008

16 years agowork around GCC's wide string constant bug
Martin Fuchs [Thu, 23 Sep 2004 18:37:57 +0000 (18:37 +0000)]
work around GCC's wide string constant bug

svn path=/trunk/; revision=11007

16 years agoimplemented CreateJobObjectA/W() - untested though
Thomas Bluemel [Thu, 23 Sep 2004 18:31:51 +0000 (18:31 +0000)]
implemented CreateJobObjectA/W() - untested though

svn path=/trunk/; revision=11006

16 years agoimplemented IsProcessInJob(), AssignProcessToJobObject(), QueryInformationJobObject...
Thomas Bluemel [Thu, 23 Sep 2004 18:02:19 +0000 (18:02 +0000)]
implemented IsProcessInJob(), AssignProcessToJobObject(), QueryInformationJobObject(), SetInformationJobObject() and TerminateJobObject(), all untested though

svn path=/trunk/; revision=11005

16 years agoadd some debug output
Royce Mitchell III [Thu, 23 Sep 2004 18:00:29 +0000 (18:00 +0000)]
add some debug output

svn path=/trunk/; revision=11004

16 years agoexport job functions
Thomas Bluemel [Thu, 23 Sep 2004 17:03:59 +0000 (17:03 +0000)]
export job functions

svn path=/trunk/; revision=11003

16 years agoforgot to add job access rights
Thomas Bluemel [Thu, 23 Sep 2004 16:53:25 +0000 (16:53 +0000)]
forgot to add job access rights

svn path=/trunk/; revision=11002

16 years agoproper job access mapping
Thomas Bluemel [Thu, 23 Sep 2004 16:31:21 +0000 (16:31 +0000)]
proper job access mapping

svn path=/trunk/; revision=11001

16 years agoencode &quot; and &apos;
Martin Fuchs [Thu, 23 Sep 2004 16:09:15 +0000 (16:09 +0000)]
encode &quot; and &apos;

svn path=/trunk/; revision=11000

16 years agoevent.c: Don't infinite loop while completing a zero-length read.
Art Yerkes [Thu, 23 Sep 2004 14:16:27 +0000 (14:16 +0000)]
event.c: Don't infinite loop while completing a zero-length read.
tcp.c: Correctly pass on length in recv.

svn path=/trunk/; revision=10999

16 years agosmall fix to OskitDumpBuffer() - each line should display the address of it's first...
Royce Mitchell III [Thu, 23 Sep 2004 12:43:49 +0000 (12:43 +0000)]
small fix to OskitDumpBuffer() - each line should display the address of it's first byte, not the address of the beginning of the dump...

svn path=/trunk/; revision=10998

16 years agonew version of OskitDumpBuffer() that shows ascii characters, too, for easier debugging
Royce Mitchell III [Thu, 23 Sep 2004 12:36:19 +0000 (12:36 +0000)]
new version of OskitDumpBuffer() that shows ascii characters, too, for easier debugging

svn path=/trunk/; revision=10997

16 years agoImplement boot logging. Add /BOOTLOG to the command line to enable boot logging.
Eric Kohl [Thu, 23 Sep 2004 11:27:58 +0000 (11:27 +0000)]
Implement boot logging. Add /BOOTLOG to the command line to enable boot logging.

svn path=/trunk/; revision=10996

16 years agoFixed the way send and recv are called and return errors.
Art Yerkes [Thu, 23 Sep 2004 08:16:16 +0000 (08:16 +0000)]
Fixed the way send and recv are called and return errors.
added some printing.
dllmains: adjusted printing.

svn path=/trunk/; revision=10995

16 years agoSteven Edwards <steven_ed4153@yahoo.com>
Gé van Geldorp [Thu, 23 Sep 2004 06:48:09 +0000 (06:48 +0000)]
Steven Edwards <steven_ed4153@yahoo.com>
- Remove some unneeded include statements.

svn path=/trunk/; revision=10994

16 years agoFixes: Lock does not need to acquire a spinlock in the non-passive-level
Art Yerkes [Thu, 23 Sep 2004 06:42:16 +0000 (06:42 +0000)]
Fixes: Lock does not need to acquire a spinlock in the non-passive-level
case because we can't contend with outselves in passive level.
Realized subtle bug in select.

Select needs a referenced file object rather than a handle.  Will change
this when i get time.

svn path=/trunk/; revision=10993

16 years agoMain changes: reimported uipc_socket.c which had lots of differences with
Art Yerkes [Thu, 23 Sep 2004 06:39:16 +0000 (06:39 +0000)]
Main changes: reimported uipc_socket.c which had lots of differences with
freebsd.
Fixed: OskitTCPReceive.  Now rely exclusively on uio as suggested.

svn path=/trunk/; revision=10992

16 years agoforgot to save workspace before commiting. removed directory from include path that...
Royce Mitchell III [Thu, 23 Sep 2004 03:13:35 +0000 (03:13 +0000)]
forgot to save workspace before commiting. removed directory from include path that was only meant to be temporary

svn path=/trunk/; revision=10991

16 years agooskittcp can now be built with vs6
Royce Mitchell III [Thu, 23 Sep 2004 03:02:29 +0000 (03:02 +0000)]
oskittcp can now be built with vs6

svn path=/trunk/; revision=10990

16 years agoremove wStringTableOffset
Martin Fuchs [Wed, 22 Sep 2004 23:00:24 +0000 (23:00 +0000)]
remove wStringTableOffset

svn path=/trunk/; revision=10989

16 years agoconfiguration dialog to choose between MDI and SDI mode with persistent storage
Martin Fuchs [Wed, 22 Sep 2004 22:57:00 +0000 (22:57 +0000)]
configuration dialog to choose between MDI and SDI mode with persistent storage

svn path=/trunk/; revision=10988

16 years agoinitialize the job management and export PsJobType
Thomas Bluemel [Wed, 22 Sep 2004 22:31:46 +0000 (22:31 +0000)]
initialize the job management and export PsJobType

svn path=/trunk/; revision=10987