reactos.git
19 years agoCatch hang-up regtests, added _DispatcherTimeout macros for tests to specify timeout...
Gregor Anich [Wed, 1 Dec 2004 23:23:47 +0000 (23:23 +0000)]
Catch hang-up regtests, added _DispatcherTimeout macros for tests to specify timeout (default is 5000ms)

svn path=/trunk/; revision=11896

19 years ago*** empty log message ***
Emanuele Aliberti [Wed, 1 Dec 2004 23:05:37 +0000 (23:05 +0000)]
*** empty log message ***

svn path=/trunk/; revision=11895

19 years agoThx filps
Magnus Olsen [Wed, 1 Dec 2004 20:46:33 +0000 (20:46 +0000)]
Thx filps

> This is wrong and this file should be autogenerated. Only the
> dinput.spec file should be in CVS!
>
> - Filip

svn path=/trunk/; revision=11894

19 years ago- Get full OLEAUT32 to compile.
Filip Navara [Wed, 1 Dec 2004 20:06:15 +0000 (20:06 +0000)]
- Get full OLEAUT32 to compile.

svn path=/trunk/; revision=11893

19 years agoAlways use the PSEH names for NLG to avoid conflicts when _SEH_NO_NATIVE_NLG is defin...
Thomas Bluemel [Wed, 1 Dec 2004 19:20:53 +0000 (19:20 +0000)]
Always use the PSEH names for NLG to avoid conflicts when _SEH_NO_NATIVE_NLG is defined but <setjmp.h> is included nevertheless. This fixes the use of PSEH in win32k. Also declared the _SEHCompilerSpecificHandler as __inline so that GCC will ignore it when it's unused. This fixes the inclusion of <pseh.h> in a PCH
Patch by KJK

svn path=/trunk/; revision=11892

19 years agoremoved unused definitions
Thomas Bluemel [Wed, 1 Dec 2004 18:38:04 +0000 (18:38 +0000)]
removed unused definitions

svn path=/trunk/; revision=11891

19 years agoadd
Magnus Olsen [Wed, 1 Dec 2004 16:09:03 +0000 (16:09 +0000)]
add
opengl32.dll, glu32.dll, dinput.dll, dinput8.dll to reactos bootcd

svn path=/trunk/; revision=11890

19 years agoBuild
Magnus Olsen [Wed, 1 Dec 2004 16:07:57 +0000 (16:07 +0000)]
Build
Dxguid, dinput and dinput8
from reactos make file

svn path=/trunk/; revision=11889

19 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 16:05:39 +0000 (16:05 +0000)]
forget add file dinput.spec.def
other wise dinput8 will not build

svn path=/trunk/; revision=11888

19 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 15:58:32 +0000 (15:58 +0000)]
forget add file dinput.spec.def
other wise dinput will not build

svn path=/trunk/; revision=11887

19 years agoforget add file dinput.spec.def
Magnus Olsen [Wed, 1 Dec 2004 15:20:13 +0000 (15:20 +0000)]
forget add file dinput.spec.def
other wise dinput will not build

svn path=/trunk/; revision=11886

19 years agoSet timezone without changing the local time.
Eric Kohl [Wed, 1 Dec 2004 14:28:54 +0000 (14:28 +0000)]
Set timezone without changing the local time.

svn path=/trunk/; revision=11885

19 years ago- sanity check: assert DISPATCH_LEVEL for the dpc.
Art Yerkes [Wed, 1 Dec 2004 08:14:15 +0000 (08:14 +0000)]
- sanity check: assert DISPATCH_LEVEL for the dpc.
- Added a DEBUG_LOCK that shows lock activity.
- Moved crummy externs from event.c to tcp.h
- Withdraw TCPCancelReceiveRequest: i didn't mean to commit that
- Added signalled sockets list to TCP so that we don't do reentrant stuff from
  inside oskit.  The signal list holds sockets that have been identified by
  oskit as needing service.
- After packet receive and on the timer we drain this list, designalling each
  socket and completing relevant irps.
- According to msdn, the io cancellation routine must release the cancel spin
  lock, but we're entered with it acquired.  Our implementation in ntoskrnl
  matches this so the tcpip implementation was wrong.  Removed acquire.
- DDKAPI on DispCancelRequest.  Avoid some stack corruption on DPCs that now
  shows up.
- Make sure to IpMarkIrpPending and not edit flags by hand on Irps in dispatch.

svn path=/trunk/; revision=11884

19 years agominiport:
Art Yerkes [Wed, 1 Dec 2004 08:02:28 +0000 (08:02 +0000)]
miniport:
Make sure MiniQueueDpc is not called from PASSIVE_LEVEL.
Moved NdisMQueryInformationComplete so that the function and not the macro
is called from the DPC.  This was breaking stuff severely.
The adapter lock needn't be held when doing MiniDequeueWorkItem because we're
at DISPATCH_LEVEL already by virtue of being in a DPC target.
protocol:
Make sure MiniQueueWorkItem is called at DISPATCH_LEVEL.

svn path=/trunk/; revision=11883

19 years agomsiexec requires msi, so don't build that either, as it breaks the tree.
Richard Campbell [Wed, 1 Dec 2004 05:49:23 +0000 (05:49 +0000)]
msiexec requires msi, so don't build that either, as it breaks the tree.

svn path=/trunk/; revision=11882

19 years agoadd mouse support to dinput
Magnus Olsen [Tue, 30 Nov 2004 20:29:48 +0000 (20:29 +0000)]
add mouse support to dinput

note the mouse buffer are bit broke. do not expect some games working with the mouse

I hope this will dispary when gdi hooks comes

svn path=/trunk/; revision=11881

19 years agodon't build msi for now as it uses a 3rd party build utility until situation is cleared
Thomas Bluemel [Tue, 30 Nov 2004 20:21:33 +0000 (20:21 +0000)]
don't build msi for now as it uses a 3rd party build utility until situation is cleared

svn path=/trunk/; revision=11880

19 years agoAdded msi.dll and msiexec to the build system.
James Tabor [Tue, 30 Nov 2004 19:19:48 +0000 (19:19 +0000)]
Added msi.dll and msiexec to the build system.

svn path=/trunk/; revision=11879

19 years agoSync msiexec with winehq cvs
James Tabor [Tue, 30 Nov 2004 19:16:37 +0000 (19:16 +0000)]
Sync msiexec with winehq cvs

svn path=/trunk/; revision=11878

19 years agoFirst port of Wine projects msi.dll
James Tabor [Tue, 30 Nov 2004 19:10:50 +0000 (19:10 +0000)]
First port of Wine projects msi.dll

svn path=/trunk/; revision=11877

19 years agoconnect: Allow async connections, and assume that concurrent operations
Art Yerkes [Tue, 30 Nov 2004 04:49:50 +0000 (04:49 +0000)]
connect: Allow async connections, and assume that concurrent operations
(like write) can happen.
main: Allow empty EaInfo in open, re: async select and the special control
socket.
read + write: assertions
tdi: don't wait for connect to return, remove event.

svn path=/trunk/; revision=11876

19 years agoMake packet printing obey debug bits.
Art Yerkes [Tue, 30 Nov 2004 04:23:42 +0000 (04:23 +0000)]
Make packet printing obey debug bits.

svn path=/trunk/; revision=11875

19 years agoTurned off printing in oskittcp.
Art Yerkes [Tue, 30 Nov 2004 04:17:34 +0000 (04:17 +0000)]
Turned off printing in oskittcp.

svn path=/trunk/; revision=11874

19 years agocan't free non-allocated memory
Gunnar Dalsnes [Tue, 30 Nov 2004 02:28:00 +0000 (02:28 +0000)]
can't free non-allocated memory

svn path=/trunk/; revision=11873

19 years agodon't free non allocated memory
Gunnar Dalsnes [Tue, 30 Nov 2004 02:26:25 +0000 (02:26 +0000)]
don't free non allocated memory

svn path=/trunk/; revision=11872

19 years ago- Defined __NTDRIVER__ to turn on some code that is meant only for kernel mode.
Art Yerkes [Tue, 30 Nov 2004 00:10:41 +0000 (00:10 +0000)]
- Defined __NTDRIVER__ to turn on some code that is meant only for kernel mode.
- Removed another address object (AddrBuildAddress)
- Removed ROUTE_CACHE_NODE everywhere and replaced it with NEIGHBOR_CACHE_ENTRY
  anywhere it was used, since NCE contains sufficient information.
  - We will need to reintroduce PathMTU (the only unique information) in RCN.
    I intend to do that by expanding the NCE to contain an entry for each
    remote contact (not only neighbors), and add an MTU field there.
- ICMP, TCP, UDP, RawIP, IPSendDatagram - Changed RCN to NCE
- Protect ip timer work item from being multiply queued under load.
- Router: Add RouteGetRouteToDestination (the only function preserved from
  route.c).  This function is cut down to only calling FindOnLinkInterface
  and RouterGetRoute.
- Added DefaultGateway handling (The default route is automatically added).
- Cleaning in CONNECTION_ENDPOINT (removed ReceivedSegments)
- iinfo: Return correct type number for loopback adapter.

svn path=/trunk/; revision=11871

19 years agomake some wine reg. tests pass
Gunnar Dalsnes [Mon, 29 Nov 2004 17:31:21 +0000 (17:31 +0000)]
make some wine reg. tests pass

svn path=/trunk/; revision=11870

19 years agoDmitry Timoshkov <dmitry@codeweavers.com>
Filip Navara [Mon, 29 Nov 2004 16:51:10 +0000 (16:51 +0000)]
Dmitry Timoshkov <dmitry@codeweavers.com>
DrawTextEx should allocate text buffer on stack for thread safeness.

svn path=/trunk/; revision=11869

19 years ago- FileTimeToLocalFileTime() and LocalFileTimeToFileTime() take timezone bias into...
Eric Kohl [Mon, 29 Nov 2004 15:02:33 +0000 (15:02 +0000)]
- FileTimeToLocalFileTime() and LocalFileTimeToFileTime() take timezone bias into account.

svn path=/trunk/; revision=11868

19 years ago- Convert boot time and system time from local time to UTC as soon as the timezone...
Eric Kohl [Mon, 29 Nov 2004 15:00:46 +0000 (15:00 +0000)]
- Convert boot time and system time from local time to UTC as soon as the timezone information is available.
- ExLocalTimeToSystemTime() and ExSystemTimeToLocalTime() take timezone bias into account.

svn path=/trunk/; revision=11867

19 years agoRemoved inclusion of stdio.h as it causes a build error under one of my gccs
Steven Edwards [Mon, 29 Nov 2004 04:10:31 +0000 (04:10 +0000)]
Removed inclusion of stdio.h as it causes a build error under one of my gccs

svn path=/trunk/; revision=11866

19 years agoforgot to remove something
Gunnar Dalsnes [Mon, 29 Nov 2004 01:42:03 +0000 (01:42 +0000)]
forgot to remove something

svn path=/trunk/; revision=11865

19 years agofirst port of wine directx support to reactos
Magnus Olsen [Mon, 29 Nov 2004 00:15:23 +0000 (00:15 +0000)]
first port of wine directx support to reactos

add wine dinput and dinput8 it have been modify to working in windows and reactos.
when reactos got hooks implant remove all #ifdef __REACTOS__  and code that belong it compelete, then
remove all #ifndef __REACTOS__  to geting in working in reactos and windows.
dxguid comes from mingw with some modify

todo
rewrite dection code of keyboard, mouse, joystick to using windows registers to get what type of hardware.

Limit
Only keyboard are working in reactos for moment.

svn path=/trunk/; revision=11864

19 years agoremove it for wine dinput
Magnus Olsen [Mon, 29 Nov 2004 00:13:08 +0000 (00:13 +0000)]
remove it for wine dinput

svn path=/trunk/; revision=11863

19 years ago"import" profiles.c from wine. all Wine's profile reg. tests now pass
Gunnar Dalsnes [Mon, 29 Nov 2004 00:08:59 +0000 (00:08 +0000)]
"import" profiles.c from wine. all Wine's profile reg. tests now pass

svn path=/trunk/; revision=11862

19 years agoadd missing glue
Gunnar Dalsnes [Mon, 29 Nov 2004 00:06:22 +0000 (00:06 +0000)]
add missing glue

svn path=/trunk/; revision=11861

19 years agoRtlDetermineDosPathNameType_U: give meaningfull names to constands (from wine)
Gunnar Dalsnes [Mon, 29 Nov 2004 00:05:31 +0000 (00:05 +0000)]
RtlDetermineDosPathNameType_U: give meaningfull names to constands (from wine)

svn path=/trunk/; revision=11860

19 years agoAdd hardware detection stub for Xbox
Gé van Geldorp [Sun, 28 Nov 2004 22:42:40 +0000 (22:42 +0000)]
Add hardware detection stub for Xbox

svn path=/trunk/; revision=11859

19 years agoCleaned config.h a bit...
Gregor Anich [Sun, 28 Nov 2004 22:07:19 +0000 (22:07 +0000)]
Cleaned config.h a bit...

svn path=/trunk/; revision=11858

19 years agoMove some ntoskrnl compiletime configuration defines into ntoskrnl/include/config...
Gregor Anich [Sun, 28 Nov 2004 22:06:25 +0000 (22:06 +0000)]
Move some ntoskrnl compiletime configuration defines into ntoskrnl/include/config.h (new file)

svn path=/trunk/; revision=11857

19 years agoAdjust screen width if HDTV cable in use
Gé van Geldorp [Sun, 28 Nov 2004 21:54:11 +0000 (21:54 +0000)]
Adjust screen width if HDTV cable in use

svn path=/trunk/; revision=11856

19 years agoAdd Mesa3D, FreeBSD and adns to the list of acknowledged projects.
Gregor Anich [Sun, 28 Nov 2004 21:52:08 +0000 (21:52 +0000)]
Add Mesa3D, FreeBSD and adns to the list of acknowledged projects.

svn path=/trunk/; revision=11855

19 years agoTurned off debug output in CVS (we need a better way to do this).
Art Yerkes [Sun, 28 Nov 2004 21:21:11 +0000 (21:21 +0000)]
Turned off debug output in CVS (we need a better way to do this).

svn path=/trunk/; revision=11854

19 years agodeny usage of too long strings in add/find atom. makes wine reg. tests happy.
Gunnar Dalsnes [Sun, 28 Nov 2004 21:16:15 +0000 (21:16 +0000)]
deny usage of too long strings in add/find atom. makes wine reg. tests happy.

svn path=/trunk/; revision=11853

19 years agoThere's no reason to set TS in cr0 when returning from a w32 callback - either the...
Gregor Anich [Sun, 28 Nov 2004 18:14:02 +0000 (18:14 +0000)]
There's no reason to set TS in cr0 when returning from a w32 callback - either the thread will have used the FPU, in this case we don't do anything, or it has not used the FPU and we copy it's saved FPU state (if any) into the original's stack FPU area (in this case TS in cr0 will already be set and we don't need to set it)

svn path=/trunk/; revision=11852

19 years agoFix vertical position of text in single-line edit controls.
Gé van Geldorp [Sun, 28 Nov 2004 16:51:18 +0000 (16:51 +0000)]
Fix vertical position of text in single-line edit controls.

svn path=/trunk/; revision=11851

19 years agoSet system time and update boot time and relative timers.
Eric Kohl [Sun, 28 Nov 2004 12:59:33 +0000 (12:59 +0000)]
Set system time and update boot time and relative timers.

svn path=/trunk/; revision=11850

19 years ago- Dipped the code between HalInitializeProcessor and HalStartNextProcessor. Used...
Hartmut Birr [Sun, 28 Nov 2004 01:31:08 +0000 (01:31 +0000)]
- Dipped the code between HalInitializeProcessor and HalStartNextProcessor. Used the functions according its names.
- Changed the init sequence in KeInit1 and KePrepareForApplicationProcessorInit.
- Fixed the pae mode initialisation for application processors.

svn path=/trunk/; revision=11849

19 years ago- Improved smp functions.
Hartmut Birr [Sun, 28 Nov 2004 01:30:02 +0000 (01:30 +0000)]
- Improved smp functions.
- Fixed the enabling/disabling of the higher irqs in Enable8259AIrq/Disable8259AIrq.
- Moved the local apic functions into its own file.
- Implemented the IpiInterrupt.
- Changed the destination of the startup ipis.
- Enabled interrupts on calls to KiDispatchInterrupt and KiDeliverApc.
- Delivered dpcs always on HalEndSystemInterrupt.
- Set the logical apic id according to the processor number from ntoskrnl.
- Dipped the code between HalInitializeProcessor and HalStartNextProcessor.
  Used the functions according its names.

svn path=/trunk/; revision=11848

19 years ago- Canceled my last changes.
Hartmut Birr [Sat, 27 Nov 2004 23:50:27 +0000 (23:50 +0000)]
- Canceled my last changes.

svn path=/trunk/; revision=11847

19 years ago- Used a fast mutex for the client id structure.
Hartmut Birr [Sat, 27 Nov 2004 19:41:55 +0000 (19:41 +0000)]
- Used a fast mutex for the client id structure.

svn path=/trunk/; revision=11846

19 years ago- Enabled interrupts on page faults also for V86 mode.
Hartmut Birr [Sat, 27 Nov 2004 19:32:57 +0000 (19:32 +0000)]
- Enabled interrupts on page faults also for V86 mode.

svn path=/trunk/; revision=11845

19 years ago- Fixed a debug message.
Hartmut Birr [Sat, 27 Nov 2004 19:29:22 +0000 (19:29 +0000)]
- Fixed a debug message.

svn path=/trunk/; revision=11844

19 years ago- Fixed the processor number at the call to KiIpiSendRequest.
Hartmut Birr [Sat, 27 Nov 2004 19:27:31 +0000 (19:27 +0000)]
- Fixed the processor number at the call to KiIpiSendRequest.

svn path=/trunk/; revision=11843

19 years ago- Simplified the irq lock table.
Hartmut Birr [Sat, 27 Nov 2004 19:24:15 +0000 (19:24 +0000)]
- Simplified the irq lock table.
- Enabled interrupts while calling KiDeliverApc.

svn path=/trunk/; revision=11842

19 years ago- Removed the timer value lock, because this lock isn't necessary.
Hartmut Birr [Sat, 27 Nov 2004 16:57:03 +0000 (16:57 +0000)]
- Removed the timer value lock, because this lock isn't necessary.
- Update the kernel and user time from the kpcr.

svn path=/trunk/; revision=11841

19 years ago- Acquire the dispatcher database lock in PsBlockThread if the caller didn't
Hartmut Birr [Sat, 27 Nov 2004 16:52:35 +0000 (16:52 +0000)]
- Acquire the dispatcher database lock in PsBlockThread if the caller didn't
  acquire this lock. This prevents from dead locks on smp machines.

svn path=/trunk/; revision=11840

19 years ago- Prevent from terminate a thread for twice.
Hartmut Birr [Sat, 27 Nov 2004 16:47:05 +0000 (16:47 +0000)]
- Prevent from terminate a thread for twice.
- Don't call KeCancelTimer for the thread timer if the thread lock is held.

svn path=/trunk/; revision=11839

19 years ago- Update the page directories for the stack outside of the code where the dispatcher...
Hartmut Birr [Sat, 27 Nov 2004 16:42:50 +0000 (16:42 +0000)]
- Update the page directories for the stack outside of the code where the dispatcher database lock is held.

svn path=/trunk/; revision=11838

19 years ago- F4 key flips the listbox in default (not extended UI) mode.
Eric Kohl [Sat, 27 Nov 2004 16:38:28 +0000 (16:38 +0000)]
- F4 key flips the listbox in default (not extended UI) mode.

svn path=/trunk/; revision=11837

19 years ago- Made a tlb entry invalid on all processors if the mapping is deleted or changed.
Hartmut Birr [Sat, 27 Nov 2004 16:37:52 +0000 (16:37 +0000)]
- Made a tlb entry invalid on all processors if the mapping is deleted or changed.

svn path=/trunk/; revision=11836

19 years ago- User ASSERT instead of assert.
Eric Kohl [Sat, 27 Nov 2004 16:36:01 +0000 (16:36 +0000)]
- User ASSERT instead of assert.

svn path=/trunk/; revision=11835

19 years ago- User ROUND_UP macros to calculate the ACL size.
Eric Kohl [Sat, 27 Nov 2004 16:33:21 +0000 (16:33 +0000)]
- User ROUND_UP macros to calculate the ACL size.
- Fix potential 64 bit issues.

svn path=/trunk/; revision=11834

19 years ago- Implemented KiIpiSendRequest for simple requests.
Hartmut Birr [Sat, 27 Nov 2004 16:32:10 +0000 (16:32 +0000)]
- Implemented KiIpiSendRequest for simple requests.
- Removed KeIpiCallForBootProcessor.
- Used the KPCR of the processors for storing the ipi data.

svn path=/trunk/; revision=11833

19 years ago- Saved the fpu state before the actual thread switching occurs (only for smp machines).
Hartmut Birr [Sat, 27 Nov 2004 16:19:22 +0000 (16:19 +0000)]
- Saved the fpu state before the actual thread switching occurs (only for smp machines).

svn path=/trunk/; revision=11832

19 years ago- Saved the state of the fpu at a win32 call and restored the state
Hartmut Birr [Sat, 27 Nov 2004 16:12:26 +0000 (16:12 +0000)]
- Saved the state of the fpu at a win32 call and restored the state
  after the call to the previous state.

svn path=/trunk/; revision=11831

19 years agoEnlarge the timezone combobox so that more timezones are displayed.
Eric Kohl [Sat, 27 Nov 2004 13:33:40 +0000 (13:33 +0000)]
Enlarge the timezone combobox so that more timezones are displayed.

svn path=/trunk/; revision=11830

19 years ago- Fix calling convention of IoReadPartitionTable, IoSetPartitionInformation and IoWri...
Filip Navara [Sat, 27 Nov 2004 13:04:06 +0000 (13:04 +0000)]
- Fix calling convention of IoReadPartitionTable, IoSetPartitionInformation and IoWritePartitionTable.

svn path=/trunk/; revision=11829

19 years agoRemove the DPRINT containing SharedData->DosDeviceMap entirely because it doesn't...
Eric Kohl [Sat, 27 Nov 2004 11:42:56 +0000 (11:42 +0000)]
Remove the DPRINT containing SharedData->DosDeviceMap entirely because it doesn't exist any more.

svn path=/trunk/; revision=11828

19 years ago2004-11-27 WaxDragon <waxdragon@gmail.com>
Casper Hornstrup [Sat, 27 Nov 2004 00:56:28 +0000 (00:56 +0000)]
2004-11-27  WaxDragon  <waxdragon@gmail.com>

* bootdata/packages/reactos.dff: Add dnsapi.dll, iphlpapi.dll,
rpcrt4.dll, and ole32.dll.

svn path=/trunk/; revision=11827

19 years ago2004-11-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 27 Nov 2004 00:46:25 +0000 (00:46 +0000)]
2004-11-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/utils/driver/load/.cvsignore: Use native line-endings.
* apps/utils/driver/load/makefile: Ditto.
* apps/utils/driver/unload/.cvsignore: Ditto.
* apps/utils/driver/unload/makefile: Ditto.
* apps/utils/infinst/.cvsignore: Ditto.
* drivers/fs/ntfs/notes.txt: Ditto.
* drivers/lib/csq/MAKEFILE: Ditto.
* drivers/test/csqtest/Makefile: Ditto.
* drivers/test/csqtest/SOURCES: Ditto.
* drivers/video/displays/vga/main/enable.c: Ditto.
* drivers/video/displays/vga/objects/copybits.c: Ditto.
* include/tgetopt.h: Ditto.
* include/ntos/kdbgsyms.h: Ditto.
* lib/freetype/i386/setjmplongjmp.s: Ditto.
* lib/icmp/icmp.dsp: Ditto.
* lib/msvcrt/setjmp/i386/setjmp.s: Ditto.
* lib/string/strncpy.c: Ditto.
* tools/rgenstat/web/.cvsignore: Ditto.
* tools/wmc/y_tab.c: Ditto.

svn path=/trunk/; revision=11826

19 years agoCorrect silly bugcheck when a packet will not be routed. Not exposed before
Art Yerkes [Fri, 26 Nov 2004 21:17:22 +0000 (21:17 +0000)]
Correct silly bugcheck when a packet will not be routed.  Not exposed before
because of false positives on loopback adapter.
We need to expect NCE to be NULL.

svn path=/trunk/; revision=11825

19 years agoRemoved RouteFriendlyAddRoute. Not needed.
Art Yerkes [Fri, 26 Nov 2004 20:32:54 +0000 (20:32 +0000)]
Removed RouteFriendlyAddRoute.  Not needed.
Router now chooses a route correctly:
- Only choose a route if the prefix length is greater than or equal to the
  netmask. for the target route.  (We still choose the most specific route).
- Changed NBAddNeighbor to NBFindOrCreateNeighbor in
  RouteAddRouteToDestination because it triggers an ARP probe.  Setting the
  ARP cache state initially to PROBE skips the first ARP query and runs a
  bit afoul of the cache entry state machine.

svn path=/trunk/; revision=11824

19 years agoRemoved DPRINT containing SharedData->DosDeviceMap, since there is no DosDeviceMap...
Aleksey Bragin [Fri, 26 Nov 2004 17:36:18 +0000 (17:36 +0000)]
Removed DPRINT containing SharedData->DosDeviceMap, since there is no DosDeviceMap in this struct.
If someone thinks this is wrong, please correct me (I asked in channel, but no reaction at all)

svn path=/trunk/; revision=11823

19 years agofixed line endings
Thomas Bluemel [Fri, 26 Nov 2004 12:53:51 +0000 (12:53 +0000)]
fixed line endings

svn path=/trunk/; revision=11822

19 years agoMoved pseh.h away from precomp.h to avoid 'defined but not used' warning.
Art Yerkes [Fri, 26 Nov 2004 08:26:24 +0000 (08:26 +0000)]
Moved pseh.h away from precomp.h to avoid 'defined but not used' warning.

svn path=/trunk/; revision=11821

19 years agoConverted eols.
Art Yerkes [Fri, 26 Nov 2004 07:41:25 +0000 (07:41 +0000)]
Converted eols.

svn path=/trunk/; revision=11820

19 years agoFixed ws2_32 for __USE_W32API and dnsapi.
Art Yerkes [Fri, 26 Nov 2004 07:24:17 +0000 (07:24 +0000)]
Fixed ws2_32 for __USE_W32API and dnsapi.

svn path=/trunk/; revision=11819

19 years ago- Added add and delete route primitives in tcpip/ninfo.c
Art Yerkes [Fri, 26 Nov 2004 06:55:17 +0000 (06:55 +0000)]
- Added add and delete route primitives in tcpip/ninfo.c
- Changed signature of RouterRemoveRoute to better match the information
  provided at the time when we delete a route.
- Changed signature of RouterCreateRoute for consistency.
- Cleaned up ninfo, get route info a bit.  Removed 'bad' case, not needed.
  Made magic 2 into TDI_ADDRESS_TYPE_IP, shortened code.
- Added AddrWidenAddress to generate a network address from a target and
  netmask.
- Changed the main mib to contain the number of fib entries, not the number
  of route cache entries.

svn path=/trunk/; revision=11818

19 years agoUsed IP_FORWARD_ADD and IP_FORWARD_DEL constants instead of numbers.
Art Yerkes [Fri, 26 Nov 2004 06:52:59 +0000 (06:52 +0000)]
Used IP_FORWARD_ADD and IP_FORWARD_DEL constants instead of numbers.

svn path=/trunk/; revision=11817

19 years agoAdded simple route utility that uses iphlpapi to change the route table.
Art Yerkes [Fri, 26 Nov 2004 06:51:47 +0000 (06:51 +0000)]
Added simple route utility that uses iphlpapi to change the route table.

svn path=/trunk/; revision=11816

19 years agoForwarder for __USE_W32API.
Art Yerkes [Fri, 26 Nov 2004 06:21:45 +0000 (06:21 +0000)]
Forwarder for __USE_W32API.

svn path=/trunk/; revision=11815

19 years agoConverted registry functions to unicode.
Art Yerkes [Fri, 26 Nov 2004 00:32:59 +0000 (00:32 +0000)]
Converted registry functions to unicode.
HeapFree -> RtlFreeHeap and similar.
Populated resinfo_reactos.  We will now pull the nameservers from the
primary list in Services\Tcpip\Parameters, as well as from per-adapter
lists.

svn path=/trunk/; revision=11814

19 years agoFixed dnsapi for use with w32api headers by adjusting a few names (mostly
Art Yerkes [Fri, 26 Nov 2004 00:12:57 +0000 (00:12 +0000)]
Fixed dnsapi for use with w32api headers by adjusting a few names (mostly
 DNS_RECORDA,W -> DNS_RECORD)
Fixed bug in DnsQuery, we weren't checking NULL on result->rrs.addr.

svn path=/trunk/; revision=11813

19 years ago- Removed prefix.c and the prefix list. Adapter and route netmasks are now
Art Yerkes [Thu, 25 Nov 2004 23:56:59 +0000 (23:56 +0000)]
- Removed prefix.c and the prefix list.  Adapter and route netmasks are now
  checked directly.
- Removed ADE lists on adapters and associated functions.  Adapters now have
  a set of address fields with well-known meanings.
- Removed functions that allocate IP_ADDRESS.  No IP_ADDRESS is ever allocated
  alone any longer.  This saves management overhead and heap traffic.
- Removed NET_TABLE_ENTRY and NTE list and associated functions.  Lookups are
  now done against the original information sources, the adapter list, the
  neighbor cache and the route table.
- Propogated NTE removal throughout, changing NTE to IP_INTERFACE in every
  case.
- When we have alias support, we'll create multiple interfaces referencing
  the same adapter.  This is consistent with the way BSDs do it and I feel
  it provides sufficient abstraction.
- Allow a zero-length buffer request in info to return the number of bytes
  needed for the request to succeed.

svn path=/trunk/; revision=11812

19 years agoAdded Exclusive flag in afd, which is used by WSAAsyncSelect. Previous
Art Yerkes [Thu, 25 Nov 2004 23:36:36 +0000 (23:36 +0000)]
Added Exclusive flag in afd, which is used by WSAAsyncSelect.  Previous
exclusive selects should be completed with STATUS_CANCELLED when a new
exclusive one is posted.
Minor hack for the locked handle set.  Not dangerous but should be made
better.

svn path=/trunk/; revision=11811

19 years agoAdded WSPEnumNetworkEvents, some reformatting.
Art Yerkes [Thu, 25 Nov 2004 23:35:06 +0000 (23:35 +0000)]
Added WSPEnumNetworkEvents, some reformatting.
Will be modified by alex_ionescu shortly.

svn path=/trunk/; revision=11810

19 years agoAdded gethostbyname implementation written by Adam Kelly (insulanus).
Art Yerkes [Thu, 25 Nov 2004 23:32:54 +0000 (23:32 +0000)]
Added gethostbyname implementation written by Adam Kelly (insulanus).
- Mostly complete, does not support multiple returned a records or hosts file
  though
- Relies on dnsapi
- Stores hostent struct in teb->Hostent

svn path=/trunk/; revision=11809

19 years ago- Send the WM_ACTIVATE message with WA_INACTIVE when deactivating window to the windo...
Filip Navara [Thu, 25 Nov 2004 22:18:59 +0000 (22:18 +0000)]
- Send the WM_ACTIVATE message with WA_INACTIVE when deactivating window to the window being deactivated (ie. revert last w3seek's change).
- Send the deactivation messages *before* setting the active window for message queue.

svn path=/trunk/; revision=11808

19 years agoFix IO completion APIs/Structures.
Alex Ionescu [Thu, 25 Nov 2004 22:18:17 +0000 (22:18 +0000)]
Fix IO completion APIs/Structures.
Implement WSPASyncSelect and friends. Event re-enabling functionality missing and will be added tonight.

svn path=/trunk/; revision=11807

19 years ago- Replace WIN32 types by corresponding native types.
Eric Kohl [Thu, 25 Nov 2004 19:25:06 +0000 (19:25 +0000)]
- Replace WIN32 types by corresponding native types.
- Replace debug macros and fix potential 64bit issues (pointers casted to DWORDs).

svn path=/trunk/; revision=11804

19 years agoblight's elf.h
KJK::Hyperion [Thu, 25 Nov 2004 18:24:08 +0000 (18:24 +0000)]
blight's elf.h

svn path=/trunk/; revision=11803

19 years agoMultiprocessor support for FPU/SSE state saving.
Gregor Anich [Thu, 25 Nov 2004 13:22:54 +0000 (13:22 +0000)]
Multiprocessor support for FPU/SSE state saving.

svn path=/trunk/; revision=11802

19 years agoPreselect the timezone based on the current user language.
Eric Kohl [Wed, 24 Nov 2004 23:09:46 +0000 (23:09 +0000)]
Preselect the timezone based on the current user language.

svn path=/trunk/; revision=11801

19 years agoAdd acknowledgement page and license dialog and update title strings.
Eric Kohl [Wed, 24 Nov 2004 21:28:14 +0000 (21:28 +0000)]
Add acknowledgement page and license dialog and update title strings.

svn path=/trunk/; revision=11800

19 years agoIf stub name is of the form function@0, output as function@0@0 in the .def
Gé van Geldorp [Wed, 24 Nov 2004 20:11:52 +0000 (20:11 +0000)]
If stub name is of the form function@0, output as function@0@0 in the .def
file because the last @0 will be stripped later on

svn path=/trunk/; revision=11799

19 years ago- Fix pointer arithmetic on FileName variable in NtCreateProcess (spotted by Arty).
Filip Navara [Wed, 24 Nov 2004 18:13:18 +0000 (18:13 +0000)]
- Fix pointer arithmetic on FileName variable in NtCreateProcess (spotted by Arty).

svn path=/trunk/; revision=11798

19 years ago- Add PCNET driver to the boot CD.
Filip Navara [Wed, 24 Nov 2004 17:57:14 +0000 (17:57 +0000)]
- Add PCNET driver to the boot CD.

svn path=/trunk/; revision=11797

19 years ago- Fix call to RtlInitializeBitMap (spotted and debugged by Arty).
Filip Navara [Wed, 24 Nov 2004 17:54:38 +0000 (17:54 +0000)]
- Fix call to RtlInitializeBitMap (spotted and debugged by Arty).

svn path=/trunk/; revision=11796

19 years agoReplace assert_irql by ASSERT_IRQL.
Eric Kohl [Wed, 24 Nov 2004 11:12:19 +0000 (11:12 +0000)]
Replace assert_irql by ASSERT_IRQL.

svn path=/trunk/; revision=11795