reactos.git
19 years agoMerge from ndis_wip_22102004 branch:
Filip Navara [Tue, 23 Nov 2004 18:58:47 +0000 (18:58 +0000)]
Merge from ndis_wip_22102004 branch:
- Compile with W32API headers.
- Remove obsolate and no more exported functions (as of NDIS 5.1).
- Shrink the LOGICAL_ADAPTER structure a bit and use NDIS_MINIPORT_BLOCK fields instead.
- Make the WrapperConfigurationHandle an opaque structure instead of registry key handle.
- Use PnP DMA interface instead of the HAL one (TODO: Add reference counting).
- Move Ethernet filter routines from 40gone.c/miniport.c to separate file (efilter.c).
- Add PnP IRP handler and move device intitialization to IRP_MN_START_DEVICE handler.
- Implement device shutdown in IRP_MN_STOP_DEVICE.
- Minor fix for sending packets with deserialized miniports.
- Read bus type, bus number and slot number from registry if the PnP manager doesn't supply them.
- NdisMFreeMapRegisters shouldn't crash if no map registers were allocated.
- Implement NdisMQueryAdapterResources, NdisMGetDmaAlignment and NdisMReadDmaCounter.
- Implement NdisMPciAssignResources (Eric Kohl).
- Fix Ndis[Read/Write]PciSlotInformation to work for non-primary PCI buses (Eric Kohl).

svn path=/trunk/; revision=11789

19 years agoMake transfer of control to kernel work on Xbox
Gé van Geldorp [Tue, 23 Nov 2004 11:28:02 +0000 (11:28 +0000)]
Make transfer of control to kernel work on Xbox

svn path=/trunk/; revision=11787

19 years agoremove -werror to get it compile agein
Magnus Olsen [Tue, 23 Nov 2004 11:14:41 +0000 (11:14 +0000)]
remove -werror to get it compile agein

svn path=/trunk/; revision=11786

19 years agoChange dialog sizes to fit into 640x480
Gé van Geldorp [Mon, 22 Nov 2004 20:35:56 +0000 (20:35 +0000)]
Change dialog sizes to fit into 640x480

svn path=/trunk/; revision=11783

19 years agoChanged Context to PC(NdisPacket)->Context in DLComplete call in
Art Yerkes [Mon, 22 Nov 2004 17:08:33 +0000 (17:08 +0000)]
Changed Context to PC(NdisPacket)->Context in DLComplete call in
LoopTransmit.  We were passing the wrong context (our own) when we
should have passed the client's context.  Silly bug made possible
by use of void *.

svn path=/trunk/; revision=11782

19 years agoRegQueryValueExA: Free ValueName Unicode string when it is no loger in use.
Eric Kohl [Mon, 22 Nov 2004 16:11:25 +0000 (16:11 +0000)]
RegQueryValueExA: Free ValueName Unicode string when it is no loger in use.

svn path=/trunk/; revision=11781

19 years agoinstall msimg32.dll which is required by explorer
Thomas Bluemel [Mon, 22 Nov 2004 12:45:23 +0000 (12:45 +0000)]
install msimg32.dll which is required by explorer

svn path=/trunk/; revision=11780

19 years ago- Add automatic dependency tracking
Gé van Geldorp [Mon, 22 Nov 2004 11:01:45 +0000 (11:01 +0000)]
- Add automatic dependency tracking
- Add acknowledgements/license page

svn path=/trunk/; revision=11779

19 years agoZach Gorman <zach@archetypeauction.com>
Gé van Geldorp [Mon, 22 Nov 2004 10:59:01 +0000 (10:59 +0000)]
Zach Gorman <zach@archetypeauction.com>
The initial dialog focus should be established by the default handler
for SetFocus(), not in the dialog creation code.

svn path=/trunk/; revision=11778

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 23:00:18 +0000 (23:00 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/utils/Makefile (UTIL_APPS): Remove regsvr32.

svn path=/trunk/; revision=11777

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 22:45:51 +0000 (22:45 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/utils/regsvr32: Move to subsys/system/regsvr32.

svn path=/trunk/; revision=11776

19 years agofix UTF8 conversion for the bookmarks list
Martin Fuchs [Sun, 21 Nov 2004 22:42:51 +0000 (22:42 +0000)]
fix UTF8 conversion for the bookmarks list

svn path=/trunk/; revision=11775

19 years ago* Remove arp, finger, ipconfig, netstat, ping, telnet, and whois; Moved to reactos.
Casper Hornstrup [Sun, 21 Nov 2004 22:33:50 +0000 (22:33 +0000)]
* Remove arp, finger, ipconfig, netstat, ping, telnet, and whois; Moved to reactos.

svn path=/trunk/; revision=11774

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 22:27:01 +0000 (22:27 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/utils/Makefile (UTIL_NET_APPS): Add arp, finger, ipconfig,
netstat, ping, telnet, and whois.
* bootdata/packages/reactos.dff: Add arp.exe, finger.exe, ipconfig.exe,
netstat.exe, ping.exe, telnet.exe, and whois.exe.
* apps\utils\net\arp: New directory; Move from rosapps.
* apps\utils\net\finger: Ditto.
* apps\utils\net\ipconfig: Ditto.
* apps\utils\net\netstat: Ditto.
* apps\utils\net\ping: Ditto.
* apps\utils\net\telnet: Ditto.
* apps\utils\net\whois: Ditto.

svn path=/trunk/; revision=11773

19 years agoPut back 1.5 Revision. CVS messed up the update and kept the old mps.h when I comitted.
Alex Ionescu [Sun, 21 Nov 2004 22:01:11 +0000 (22:01 +0000)]
Put back 1.5 Revision. CVS messed up the update and kept the old mps.h when I comitted.

svn path=/trunk/; revision=11772

19 years agoHal DMA Patch: Implemented correct AdapterObject, updated some AdapterFunctions,...
Alex Ionescu [Sun, 21 Nov 2004 21:53:07 +0000 (21:53 +0000)]
Hal DMA Patch: Implemented correct AdapterObject, updated some AdapterFunctions, which are much more complete and correct now. Implemented EISA structure for port access instead of hard-coded offsets.

svn path=/trunk/; revision=11771

19 years agoAfter creating the nice error message, actually pass it on to the error
Gé van Geldorp [Sun, 21 Nov 2004 21:33:04 +0000 (21:33 +0000)]
After creating the nice error message, actually pass it on to the error
reporting routine. Thanks Casper.

svn path=/trunk/; revision=11770

19 years agodon't use uninitialized variable
Thomas Bluemel [Sun, 21 Nov 2004 21:23:24 +0000 (21:23 +0000)]
don't use uninitialized variable

svn path=/trunk/; revision=11769

19 years ago1. don't allow the ProcessImageFileName information class for NtSetInformationProcess...
Thomas Bluemel [Sun, 21 Nov 2004 21:09:43 +0000 (21:09 +0000)]
1. don't allow the ProcessImageFileName information class for NtSetInformationProcess() anymore
2. implemented the ProcessImageFileName class for NtQueryInformationProcess
3. changed NtCreateProcess to obtain the file name of the loaded image

svn path=/trunk/; revision=11768

19 years ago* Remove calc, regedt32, and regsvr32; Moved to reactos.
Casper Hornstrup [Sun, 21 Nov 2004 21:07:33 +0000 (21:07 +0000)]
* Remove calc, regedt32, and regsvr32; Moved to reactos.

svn path=/trunk/; revision=11767

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 21:02:04 +0000 (21:02 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* Makefile (SYS_APPS): Add calc, regedt32, and regsvr32.
* bootdata/packages/reactos.dff: Add calc.exe, regedt32.exe, and
regsvr32.exe.
* subsys/system/calc: New directory; Move here from rosapps.
* subsys/system/regedt32: Ditto.
* subsys/system/regsvr32: Ditto.

svn path=/trunk/; revision=11766

19 years ago- Improvements for select/implementation of event select.
Art Yerkes [Sun, 21 Nov 2004 20:54:52 +0000 (20:54 +0000)]
- Improvements for select/implementation of event select.
- Added EventSelect PKEVENT, and other bits needed in AFD_FCB to implement
  event select.
- Select and event select are now properly notified on socket hangup.
- Added more places where state changes are needed.
- PollReeval now has the alternate goal of firing the event select event.
- Fixed crash with unsupported protocols, re: null device
- Set AFD_EVENT_SEND and AFD_EVENT_RECEIVE appropriately on connect complete.
- Fixed sending FIN from a dying socket and receiving SEL_FIN on one in tcpip,
  by adding an additional way to lookup sockets.
- Removed even more spew.
- Small speedup: don't need to redo checksum in tcp_input.  It's already done
  in our ip defrag code.

svn path=/trunk/; revision=11765

19 years agoadd stubs GetSecurityInfoExA/W
Gunnar Dalsnes [Sun, 21 Nov 2004 20:14:36 +0000 (20:14 +0000)]
add stubs GetSecurityInfoExA/W

svn path=/trunk/; revision=11764

19 years ago* Replace bzero with memset and bcopy with memcpy
Casper Hornstrup [Sun, 21 Nov 2004 20:10:22 +0000 (20:10 +0000)]
* Replace bzero with memset and bcopy with memcpy

svn path=/trunk/; revision=11763

19 years agoCorrect uninitialized warnings for Status in two places.
Art Yerkes [Sun, 21 Nov 2004 19:51:37 +0000 (19:51 +0000)]
Correct uninitialized warnings for Status in two places.

svn path=/trunk/; revision=11762

19 years agoMost of what is needed is already in w32api/include.
Steven Edwards [Sun, 21 Nov 2004 19:18:01 +0000 (19:18 +0000)]
Most of what is needed is already in w32api/include.

svn path=/trunk/; revision=11761

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 19:11:31 +0000 (19:11 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* bootdata/hivesys.inf: Remove kmregtests.

svn path=/trunk/; revision=11760

19 years agokill.c: remove useless call to KeRemoveAllWaitsThread + misc
Gunnar Dalsnes [Sun, 21 Nov 2004 18:42:58 +0000 (18:42 +0000)]
kill.c: remove useless call to KeRemoveAllWaitsThread + misc
usecall.c: fix apc delivery
debug.c: add irql asserts

svn path=/trunk/; revision=11759

19 years ago2004-11-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 21 Nov 2004 18:40:38 +0000 (18:40 +0000)]
2004-11-21  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* Makefile (DLLS_KBD): Add kbdda.
* bootdata/txtsetup.sif: Add Danish language 406.
* bootdata/hivesys.inf: Add kbdda.dll for Danish language 406.
* bootdata/packages/reactos.dff: Ditto.
* lib/kbdda: New directory.
* lib/kbdda/.cvsignore: New file.
* lib/kbdda/kbdda.c: Ditto.
* lib/kbdda/kbdda.def: Ditto.
* lib/kbdda/kbdda.rc: Ditto.
* lib/kbdda/makefile: Ditto.

svn path=/trunk/; revision=11758

19 years agowork.c: reimpl. using kernel queues
Gunnar Dalsnes [Sun, 21 Nov 2004 18:38:51 +0000 (18:38 +0000)]
work.c: reimpl. using kernel queues
resource.c: add asserts

svn path=/trunk/; revision=11757

19 years agocall KiDeliverAPc at correct irql
Gunnar Dalsnes [Sun, 21 Nov 2004 18:37:56 +0000 (18:37 +0000)]
call KiDeliverAPc at correct irql

svn path=/trunk/; revision=11756

19 years agoadd missing KeEnter/LeaveCriticalRegion before/after aquireing/releasing resource...
Gunnar Dalsnes [Sun, 21 Nov 2004 18:35:05 +0000 (18:35 +0000)]
add missing KeEnter/LeaveCriticalRegion before/after aquireing/releasing resource lock

svn path=/trunk/; revision=11755

19 years agofix kernel queues + misc fixes/cleanups
Gunnar Dalsnes [Sun, 21 Nov 2004 18:33:54 +0000 (18:33 +0000)]
fix kernel queues + misc fixes/cleanups

svn path=/trunk/; revision=11754

19 years ago- Acquire always the dpc lock on smp systems.
Hartmut Birr [Sun, 21 Nov 2004 18:13:47 +0000 (18:13 +0000)]
- Acquire always the dpc lock on smp systems.
- Set/reset DpcRoutineActive at HIGH_LEVEL (or if the dpc queue is locked).

svn path=/trunk/; revision=11753

19 years agoRevert:
Filip Navara [Sun, 21 Nov 2004 17:47:22 +0000 (17:47 +0000)]
Revert:
- Fix prototype of FsRtlInitializeLargeMcb and FsRtlInitializeMcb.

svn path=/trunk/; revision=11752

19 years ago- Fix prototype of FsRtlInitializeLargeMcb and FsRtlInitializeMcb.
Filip Navara [Sun, 21 Nov 2004 16:34:57 +0000 (16:34 +0000)]
- Fix prototype of FsRtlInitializeLargeMcb and FsRtlInitializeMcb.
- Fix some FsRtl* exports.

svn path=/trunk/; revision=11751

19 years agocleanup resource script
Martin Fuchs [Sun, 21 Nov 2004 15:46:16 +0000 (15:46 +0000)]
cleanup resource script

svn path=/trunk/; revision=11750

19 years agodecode HTML-encoded bookmark names
Martin Fuchs [Sun, 21 Nov 2004 15:35:15 +0000 (15:35 +0000)]
decode HTML-encoded bookmark names

svn path=/trunk/; revision=11749

19 years agowork around GCC's wide string constant bug when compiling inline functions
Martin Fuchs [Sun, 21 Nov 2004 14:26:14 +0000 (14:26 +0000)]
work around GCC's wide string constant bug when compiling inline functions

svn path=/trunk/; revision=11748

19 years agoProperly fix "Unused variable" warning.
Gregor Anich [Sun, 21 Nov 2004 13:33:34 +0000 (13:33 +0000)]
Properly fix "Unused variable" warning.

svn path=/trunk/; revision=11747

19 years agoDon't print "sector size" message, it is causing confusion
Gé van Geldorp [Sun, 21 Nov 2004 13:30:44 +0000 (13:30 +0000)]
Don't print "sector size" message, it is causing confusion

svn path=/trunk/; revision=11746

19 years agouse ASSERT instead of assert
Thomas Bluemel [Sun, 21 Nov 2004 13:18:19 +0000 (13:18 +0000)]
use ASSERT instead of assert

svn path=/trunk/; revision=11745

19 years agofixed crash on shutdown
Thomas Bluemel [Sun, 21 Nov 2004 13:02:02 +0000 (13:02 +0000)]
fixed crash on shutdown

svn path=/trunk/; revision=11744

19 years agoexport AlphaBlend(), GradientFill() and TransparentBlt() as STDCALL
Thomas Bluemel [Sun, 21 Nov 2004 12:55:05 +0000 (12:55 +0000)]
export AlphaBlend(), GradientFill() and TransparentBlt() as STDCALL

svn path=/trunk/; revision=11743

19 years agoReport on which drive we couldn't find a partition table
Gé van Geldorp [Sun, 21 Nov 2004 12:28:12 +0000 (12:28 +0000)]
Report on which drive we couldn't find a partition table

svn path=/trunk/; revision=11742

19 years agoWork around broken BIOSes which report random API subset support bitmaps
Gé van Geldorp [Sun, 21 Nov 2004 12:27:01 +0000 (12:27 +0000)]
Work around broken BIOSes which report random API subset support bitmaps
when checking for extended INT13 availability for CDROMs

svn path=/trunk/; revision=11741

19 years ago- Use IntGdiSetRect instead of NtGdiSetRect.
Filip Navara [Sun, 21 Nov 2004 12:14:34 +0000 (12:14 +0000)]
- Use IntGdiSetRect instead of NtGdiSetRect.

svn path=/trunk/; revision=11740

19 years agoavoid "unused variable" warning
Martin Fuchs [Sun, 21 Nov 2004 11:58:55 +0000 (11:58 +0000)]
avoid "unused variable" warning

svn path=/trunk/; revision=11739

19 years ago- Set also FS and GS on a debug service call.
Hartmut Birr [Sun, 21 Nov 2004 11:37:22 +0000 (11:37 +0000)]
- Set also FS and GS on a debug service call.

svn path=/trunk/; revision=11738

19 years agocheck the status code NtQueryInformationProcess returned
Thomas Bluemel [Sun, 21 Nov 2004 11:03:17 +0000 (11:03 +0000)]
check the status code NtQueryInformationProcess returned

svn path=/trunk/; revision=11737

19 years agoproperly copy the device map - it's still not initialized properly
Thomas Bluemel [Sun, 21 Nov 2004 10:59:11 +0000 (10:59 +0000)]
properly copy the device map - it's still not initialized properly

svn path=/trunk/; revision=11736

19 years ago- Use absolute value of width in NtGdiCreateBitmap.
Filip Navara [Sun, 21 Nov 2004 10:55:29 +0000 (10:55 +0000)]
- Use absolute value of width in NtGdiCreateBitmap.

svn path=/trunk/; revision=11735

19 years agoalpha-blend hidden notification icons
Martin Fuchs [Sun, 21 Nov 2004 10:53:55 +0000 (10:53 +0000)]
alpha-blend hidden notification icons

svn path=/trunk/; revision=11734

19 years ago- Fixed the check for the empty (or not empty) dpc queue in KeInsertQueueDpc.
Hartmut Birr [Sun, 21 Nov 2004 10:48:33 +0000 (10:48 +0000)]
- Fixed the check for the empty (or not empty) dpc queue in KeInsertQueueDpc.

svn path=/trunk/; revision=11733

19 years agofixed building problems
Thomas Bluemel [Sun, 21 Nov 2004 10:39:12 +0000 (10:39 +0000)]
fixed building problems

svn path=/trunk/; revision=11732

19 years ago1) Updated KUSER_SHARED_DATA to NT5+ exported documented defintiion, which meant...
Alex Ionescu [Sun, 21 Nov 2004 06:51:18 +0000 (06:51 +0000)]
1) Updated KUSER_SHARED_DATA to NT5+ exported documented defintiion, which meant the removal of DosDevices. Used proper NT _DEVICE_MAP Structure for this, but did it in a "hack" way, ie, not a fully implementation, but enough to keep the basic old functionality as before. This will need an review once the Ob Manager is overhaulted.  Modified kernel32 to request the _DEVICE_MAP for the current process, implemented the query routine (but made it return the default systme device map intead of per process) and changed the kernel code to use the default device map instead.
2) Updated the HalDispatchTable to Version 3.0. Not a huge change, just added/updated some functions.
3) Rewrote most of the DPC Code to take advantage of the CPU/Importance "laws". Stress testing on my machine revealed no issues on CVS HEAD. Still needs some review to make it so that idle threads can call dpcs (so that low importance dpcs will be dispatched by the idle thread). I will modify this later.

svn path=/trunk/; revision=11731

19 years agoPatch to correct multiple adapter bind from protocols. There were two
Art Yerkes [Sun, 21 Nov 2004 04:20:38 +0000 (04:20 +0000)]
Patch to correct multiple adapter bind from protocols.  There were two
bugs here:
1) The loop in protocol.c was wrong and was rewritten by Andrew Munger
   with help from Thomas Weidenmueller
2) MiniLocateAdapter never zeroed Adapter if the adapter didn't match,
   and never actually ever matched a name.  It always returned the
   last adapter in the list (spotted and fixed after the above fixes).

svn path=/trunk/; revision=11730

19 years agoAdd a null check to prevent crashes during the vulnerable time when Filter
Art Yerkes [Sun, 21 Nov 2004 03:02:57 +0000 (03:02 +0000)]
Add a null check to prevent crashes during the vulnerable time when Filter
is not set.

svn path=/trunk/; revision=11729

19 years agoFPU/SSE state saving on taskswitching, FPU and SSE exception support.
Gregor Anich [Sat, 20 Nov 2004 23:46:37 +0000 (23:46 +0000)]
FPU/SSE state saving on taskswitching, FPU and SSE exception support.

svn path=/trunk/; revision=11728

19 years agoupdate doxygen script
Martin Fuchs [Sat, 20 Nov 2004 23:06:52 +0000 (23:06 +0000)]
update doxygen script

svn path=/trunk/; revision=11727

19 years agonotification area button to toggle hidden icons
Martin Fuchs [Sat, 20 Nov 2004 22:35:06 +0000 (22:35 +0000)]
notification area button to toggle hidden icons

svn path=/trunk/; revision=11726

19 years agoForgot to update a prototype in here. Also, a while ago, I stopped getting
Art Yerkes [Sat, 20 Nov 2004 22:21:35 +0000 (22:21 +0000)]
Forgot to update a prototype in here.  Also, a while ago, I stopped getting
the LDR_MODULE definition, so I fixed that.

svn path=/trunk/; revision=11725

19 years agoMake it compile
Gé van Geldorp [Sat, 20 Nov 2004 22:20:12 +0000 (22:20 +0000)]
Make it compile

svn path=/trunk/; revision=11724

19 years ago- Add IRQL assert to ExFreePagedPool.
Filip Navara [Sat, 20 Nov 2004 21:16:38 +0000 (21:16 +0000)]
- Add IRQL assert to ExFreePagedPool.

svn path=/trunk/; revision=11723

19 years ago- Allocate buffer for sub keys from NonPagedPool in order to prevent crashes in CmiAd...
Filip Navara [Sat, 20 Nov 2004 21:14:16 +0000 (21:14 +0000)]
- Allocate buffer for sub keys from NonPagedPool in order to prevent crashes in CmiAddKeyToList where the buffer is accessed at DISPATCH_LEVEL.

svn path=/trunk/; revision=11722

19 years agodisplay notification icon change times
Martin Fuchs [Sat, 20 Nov 2004 19:30:41 +0000 (19:30 +0000)]
display notification icon change times

svn path=/trunk/; revision=11721

19 years agosilence debug message
Thomas Bluemel [Sat, 20 Nov 2004 19:08:37 +0000 (19:08 +0000)]
silence debug message

svn path=/trunk/; revision=11720

19 years agoadded riched20 to the build
Steven Edwards [Sat, 20 Nov 2004 18:30:52 +0000 (18:30 +0000)]
added riched20 to the build

svn path=/trunk/; revision=11719

19 years agoAdded dummy riched20.dll by Aric Stewart from CrossOver.
Steven Edwards [Sat, 20 Nov 2004 18:26:16 +0000 (18:26 +0000)]
Added dummy riched20.dll by Aric Stewart from CrossOver.

This is not a correct implementation, it is just enough to get some applications
to work. A fully working riched20 will be developed in winehq.

svn path=/trunk/; revision=11718

19 years ago2004-11-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 20 Nov 2004 17:56:23 +0000 (17:56 +0000)]
2004-11-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/net/tcpip/tests/tests/ipreceive.c (RunTest): Switch parameters
to _AssertEqualValue.
* drivers/net/tcpip/tests/stubs.tst: Add missing stubs.
* lib/ws2_32/tests/stubs.tst: Ditto.
* ntoskrnl/tests/stubs.tst: Ditto.
* regtests/shared/regtests.h: Use unsigned format specifiers.

svn path=/trunk/; revision=11717

19 years agoadded missing definitions
Thomas Bluemel [Sat, 20 Nov 2004 17:55:41 +0000 (17:55 +0000)]
added missing definitions

svn path=/trunk/; revision=11715

19 years ago2004-11-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 20 Nov 2004 17:48:38 +0000 (17:48 +0000)]
2004-11-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* config (SEH): Remove.
* regtests/shared/regtests.c (_alloca): Remove; Use from malloca.h
instead.
(PerformTest): Use PSEH to catch exceptions while running tests.
* tools/config.mk (CONFIG): Don't add SEH.
* tools/helper.mk: Link tests with pseh.a.

svn path=/trunk/; revision=11714

19 years agoFixed continue in the GDB stub. Sorry for breaking it.
Art Yerkes [Sat, 20 Nov 2004 17:45:15 +0000 (17:45 +0000)]
Fixed continue in the GDB stub.  Sorry for breaking it.

svn path=/trunk/; revision=11713

19 years ago1. removed window station/desktop hacks from ntoskrnl
Thomas Bluemel [Sat, 20 Nov 2004 16:46:06 +0000 (16:46 +0000)]
1. removed window station/desktop hacks from ntoskrnl
2. implemented window station/desktop inheritance on thread/process startup
3. implemented process locking
4. fixed some fields in the EPROCESS structure

svn path=/trunk/; revision=11712

19 years agoupdate change list
Martin Fuchs [Sat, 20 Nov 2004 16:23:35 +0000 (16:23 +0000)]
update change list

svn path=/trunk/; revision=11710

19 years agoAdd UpdatePerUserSystemParameters stub and call it from winlogon.
Eric Kohl [Sat, 20 Nov 2004 15:55:45 +0000 (15:55 +0000)]
Add UpdatePerUserSystemParameters stub and call it from winlogon.

svn path=/trunk/; revision=11709

19 years agoImplement NtUserGetClipboardOwner
Gé van Geldorp [Sat, 20 Nov 2004 09:34:43 +0000 (09:34 +0000)]
Implement NtUserGetClipboardOwner

svn path=/trunk/; revision=11707

19 years agoUse _alloca instead of stack variables, because the compiler feels too damn smart
KJK::Hyperion [Fri, 19 Nov 2004 23:58:33 +0000 (23:58 +0000)]
Use _alloca instead of stack variables, because the compiler feels too damn smart

svn path=/trunk/; revision=11706

19 years agoAt least show the window when wParam is TRUE and the window is currently
Gé van Geldorp [Fri, 19 Nov 2004 23:07:09 +0000 (23:07 +0000)]
At least show the window when wParam is TRUE and the window is currently
invisible

svn path=/trunk/; revision=11705

19 years agoreturn correct ExitCode for non-terminated threads
Gunnar Dalsnes [Fri, 19 Nov 2004 22:19:33 +0000 (22:19 +0000)]
return correct ExitCode for non-terminated threads

svn path=/trunk/; revision=11704

19 years ago- Correctly calculate size of the CM_RESOURCE_LIST structure.
Filip Navara [Fri, 19 Nov 2004 21:31:02 +0000 (21:31 +0000)]
- Correctly calculate size of the CM_RESOURCE_LIST structure.

svn path=/trunk/; revision=11703

19 years agoreport proper buffer sizes as documented
Thomas Bluemel [Fri, 19 Nov 2004 20:02:47 +0000 (20:02 +0000)]
report proper buffer sizes as documented

svn path=/trunk/; revision=11701

19 years agobuffers are calculated properly, no need to allocate more memory for safety anymore
Thomas Bluemel [Fri, 19 Nov 2004 19:34:11 +0000 (19:34 +0000)]
buffers are calculated properly, no need to allocate more memory for safety anymore

svn path=/trunk/; revision=11700

19 years agoAdd more non-standard LANG_* ids.
Steven Edwards [Fri, 19 Nov 2004 13:00:12 +0000 (13:00 +0000)]
Add more non-standard LANG_* ids.

svn path=/trunk/; revision=11699

19 years ago1. fixed definition of the DEBUG_MODULE_INFORMATION structure
Thomas Bluemel [Fri, 19 Nov 2004 01:30:35 +0000 (01:30 +0000)]
1. fixed definition of the DEBUG_MODULE_INFORMATION structure
2. implemented module and heap list enumeration for toolhelp

svn path=/trunk/; revision=11698

19 years ago- Allocate the memory from paged pool instead of non-paged pool as almost all code...
Filip Navara [Thu, 18 Nov 2004 22:22:46 +0000 (22:22 +0000)]
- Allocate the memory from paged pool instead of non-paged pool as almost all code (and none of the font code) in Win32k runs at IRQL < DISPATCH_LEVEL.

svn path=/trunk/; revision=11697

19 years agoPass a fake translated resource list to a driver when a device is started.
Eric Kohl [Thu, 18 Nov 2004 11:46:07 +0000 (11:46 +0000)]
Pass a fake translated resource list to a driver when a device is started.

svn path=/trunk/; revision=11695

19 years agoRollback identify code (Filip reluctantly agrees)
Gé van Geldorp [Thu, 18 Nov 2004 08:32:32 +0000 (08:32 +0000)]
Rollback identify code (Filip reluctantly agrees)

svn path=/trunk/; revision=11694

19 years agoRemoved bad assertion. It's ok for TCPSendData to return immediately if the
Art Yerkes [Thu, 18 Nov 2004 05:02:10 +0000 (05:02 +0000)]
Removed bad assertion.  It's ok for TCPSendData to return immediately if the
data has been copied into the tcp buffer.  Requiring STATUS_PENDING here is
definately an error.

svn path=/trunk/; revision=11693

19 years agoChanged kdbg a bit by adding some new flags (and a new command):
Art Yerkes [Thu, 18 Nov 2004 02:10:28 +0000 (02:10 +0000)]
Changed kdbg a bit by adding some new flags (and a new command):
condition [all|umode|kmode]

condition all -> Handle all exceptions.  This is like the current kdbg
condition umode -> Handle unhandled usermode exceptions and all kmode
exceptions.
condition kmode -> Handle only unhandled kernelmode exceptions (default)

svn path=/trunk/; revision=11692

19 years agorevert incorrect fix
Gunnar Dalsnes [Wed, 17 Nov 2004 23:55:36 +0000 (23:55 +0000)]
revert incorrect fix

svn path=/trunk/; revision=11691

19 years agoGet rid of global volume boot sector and store required info in separate
Gé van Geldorp [Wed, 17 Nov 2004 22:07:45 +0000 (22:07 +0000)]
Get rid of global volume boot sector and store required info in separate
variables

svn path=/trunk/; revision=11690

19 years ago- Don't report CmResourceTypeNull resources for unused PCI descriptor resource entries.
Filip Navara [Wed, 17 Nov 2004 20:39:27 +0000 (20:39 +0000)]
- Don't report CmResourceTypeNull resources for unused PCI descriptor resource entries.

svn path=/trunk/; revision=11688

19 years agoImplement NdisOverrideBusNumber.
Eric Kohl [Wed, 17 Nov 2004 13:10:01 +0000 (13:10 +0000)]
Implement NdisOverrideBusNumber.

svn path=/trunk/; revision=11686

19 years agoMember unknown renamed internaluse.
Art Yerkes [Wed, 17 Nov 2004 07:12:27 +0000 (07:12 +0000)]
Member unknown renamed internaluse.

svn path=/trunk/; revision=11685

19 years agotcpip: fix for udp socket close.
Art Yerkes [Wed, 17 Nov 2004 05:17:22 +0000 (05:17 +0000)]
tcpip: fix for udp socket close.
ws2_32: unstub WSAFDIsSet, small amount of work on select
msafd: select fixes
afd: major select overhaul
- 1 exit point for poll objects from the deviceext
- make sure to cancel the timer
- UpdatePollWithFCB now runs at DISPATCH_LEVEL in every case
- Added handle locks so we can signal and check handles properly

svn path=/trunk/; revision=11684

19 years agomake read_directory_unix() static
Martin Fuchs [Tue, 16 Nov 2004 19:42:08 +0000 (19:42 +0000)]
make read_directory_unix() static

svn path=/trunk/; revision=11682

19 years agofix german menu text
Martin Fuchs [Tue, 16 Nov 2004 19:41:54 +0000 (19:41 +0000)]
fix german menu text

svn path=/trunk/; revision=11681

19 years ago2004-11-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Tue, 16 Nov 2004 18:07:58 +0000 (18:07 +0000)]
2004-11-16  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/lib/ip/network/arp.c: Assert certain conditions.
* drivers/lib/ip/network/loopback.c: Ditto.
* drivers/lib/ip/network/neighbor.c: Ditto.
* drivers/lib/ip/transport/tcp/tcp.c: Ditto.
* drivers/net/tcpip/datalink/lan.c: Ditto.
* drivers/net/tcpip/datalink/loopback.c: Ditto.
* drivers/net/tcpip/include/debug.h (ASSERT_KM_POINTER): Define.
* drivers/lib/ip/transport/tcp/if.c: Remove disabled code.
* drivers/net/afd/afd/main.c (AfdDispatch): Print known unimplemented
IOCTLs.
* drivers/net/tcpip/include/precomp.h: Include roscfg.h.
* drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Pass the right
connection object to TCPListen.
* drivers/net/tcpip/tcpip/mocklock.c: Fix some assertions.

svn path=/trunk/; revision=11680

19 years agoSimple implementation of some multi-monitor APIs (I hope this was the last one)
Gregor Anich [Tue, 16 Nov 2004 17:36:37 +0000 (17:36 +0000)]
Simple implementation of some multi-monitor APIs (I hope this was the last one)

svn path=/trunk/; revision=11679