Commit graph

160 commits

Author SHA1 Message Date
Dmitry Gorbachev e7a9a76264 Move hack to other place because of bug #4120.
svn path=/trunk/; revision=39292
2009-02-02 22:31:54 +00:00
Dmitry Gorbachev a120dfab47 Hack-close TCP connection. Bug #1283.
svn path=/trunk/; revision=39285
2009-02-02 12:28:31 +00:00
Cameron Gutman 71f5b95706 - Merge aicom-network-fixes up to r38730
svn path=/trunk/; revision=38743
2009-01-13 02:34:39 +00:00
Stefan Ginsberg c5c778d46e - Properly implement NdisGetSystemUpTime, based on http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2004-11/0616.html
svn path=/trunk/; revision=38587
2009-01-05 17:51:55 +00:00
Cameron Gutman bdbc81f185 - Revert r38547 which reverted r38546 which was correct
- I fail

svn path=/trunk/; revision=38548
2009-01-04 08:12:13 +00:00
Cameron Gutman b372a95ba2 - Revert r38546
- Include windef.h in precomp.h

svn path=/trunk/; revision=38547
2009-01-04 07:45:08 +00:00
Cameron Gutman 963b989ea5 - Fix debug build
- Something weird happened with the headers and DWORD somehow got lost
 - This is a hack and will be reverted later

svn path=/trunk/; revision=38546
2009-01-04 07:25:08 +00:00
Cameron Gutman 6fb0f9aa2d - Merge the rest of my changes
svn path=/trunk/; revision=38545
2009-01-04 05:33:43 +00:00
James Tabor 39cecf5684 - Fix build.
svn path=/trunk/; revision=38544
2009-01-04 05:16:29 +00:00
Cameron Gutman 831afe52e7 - Merge r38358, r38539, and r38541
svn path=/trunk/; revision=38542
2009-01-04 04:39:32 +00:00
Cameron Gutman ed4682a617 - Merge aicom-network-fixes up to r38205
svn path=/trunk/; revision=38213
2008-12-21 01:29:35 +00:00
Dmitry Gorbachev 32580ec32a Silence GCC warnings.
svn path=/trunk/; revision=37919
2008-12-07 21:52:22 +00:00
Dmitry Gorbachev ebaf0cf88c Silence compiler warnings (4/11).
svn path=/trunk/; revision=37826
2008-12-03 17:29:38 +00:00
KJK::Hyperion 1bd07ee187 modified include/reactos/probe.h
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7

modified   ntoskrnl/include/internal/mm.h
   gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock

modified   ntoskrnl/include/internal/probe.h
   Cleaning up after TSVN's buggy "apply patch"

modified   subsystems/win32/win32k/ntuser/message.c
   Silence a gcc 4.3.2 warning (possibly incorrectly)

modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/syssetup/syssetup.rbuild
modified   dll/win32/user32/user32.rbuild
modified   drivers/input/kbdclass/kbdclass.rbuild
modified   drivers/input/mouclass/mouclass.rbuild
modified   drivers/network/afd/afd.rbuild
modified   drivers/network/tcpip/tcpip.rbuild
modified   lib/rtl/rtl.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
modified   subsystems/win32/win32k/objects/gdiobj.c
   gcc 4.1.3 workarounds. See embedded comments

modified   base/services/eventlog/eventlog.h
modified   dll/win32/advapi32/advapi32.h
   Removed superfluous includes of pseh/pseh.h

modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/rosdraw.h
modified   dll/directx/ddraw/Surface/surface_main.c
   ddraw migrated to PSEH 2.0

modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/gdi32/misc/misc.c
modified   dll/win32/gdi32/objects/bitmap.c
   gdi32 migrated to PSEH 2.0

modified   dll/win32/kernel32/except/except.c
modified   dll/win32/kernel32/file/find.c
modified   dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/mem/isbad.c
modified   dll/win32/kernel32/misc/console.c
modified   dll/win32/kernel32/process/procsup.c
modified   dll/win32/kernel32/string/lstring.c
modified   dll/win32/kernel32/thread/thread.c
   kernel32 migrated to PSEH 2.0

modified   dll/win32/psapi/precomp.h
modified   dll/win32/psapi/psapi.c
   psapi migrated to PSEH 2.0

modified   dll/win32/setupapi/cfgmgr.c
modified   dll/win32/setupapi/setupapi_private.h
   setupapi migrated to PSEH 2.0

modified   dll/win32/syssetup/wizard.c
   syssetup migrated to PSEH 2.0

modified   dll/win32/user32/include/user32.h
modified   dll/win32/user32/windows/class.c
modified   dll/win32/user32/windows/text.c
modified   dll/win32/user32/windows/window.c
   user32 migrated to PSEH 2.0

modified   drivers/input/kbdclass/kbdclass.c
modified   drivers/input/kbdclass/kbdclass.h
   kbdclass migrated to PSEH 2.0

modified   drivers/input/mouclass/mouclass.c
modified   drivers/input/mouclass/mouclass.h
   mouclass migrated to PSEH 2.0

modified   drivers/network/afd/afd/info.c
modified   drivers/network/afd/afd/lock.c
modified   drivers/network/afd/afd/tdi.c
modified   drivers/network/afd/afd/tdiconn.c
   afd migrated to PSEH 2.0

modified   drivers/network/lan/lan/lan.c
   lan migrated to PSEH 2.0

modified   drivers/network/tcpip/tcpip/dispatch.c
   tcpip migrated to PSEH 2.0

modified   lib/rtl/debug.c
modified   lib/rtl/res.c
modified   lib/rtl/rtl.h
modified   lib/rtl/unicode.c
modified   lib/rtl/workitem.c
   rtl migrated to PSEH 2.0

modified   ntoskrnl/include/precomp.h
   ntoskrnl migrated to PSEH 2.0

modified   subsystems/csr/csrsrv/api.c
   csrsrv migrated to PSEH 2.0

modified   subsystems/win32/win32k/eng/bitblt.c
modified   subsystems/win32/win32k/eng/mem.c
modified   subsystems/win32/win32k/include/mmcopy.h
modified   subsystems/win32/win32k/misc/copy.c
modified   subsystems/win32/win32k/ntuser/callback.c
modified   subsystems/win32/win32k/ntuser/class.c
modified   subsystems/win32/win32k/ntuser/clipboard.c
modified   subsystems/win32/win32k/ntuser/cursoricon.c
modified   subsystems/win32/win32k/ntuser/display.c
modified   subsystems/win32/win32k/ntuser/hook.c
modified   subsystems/win32/win32k/ntuser/input.c
modified   subsystems/win32/win32k/ntuser/kbdlayout.c
modified   subsystems/win32/win32k/ntuser/menu.c
modified   subsystems/win32/win32k/ntuser/misc.c
modified   subsystems/win32/win32k/ntuser/ntstubs.c
modified   subsystems/win32/win32k/ntuser/painting.c
modified   subsystems/win32/win32k/ntuser/simplecall.c
modified   subsystems/win32/win32k/ntuser/sysparams.c
modified   subsystems/win32/win32k/ntuser/window.c
modified   subsystems/win32/win32k/objects/bitblt.c
modified   subsystems/win32/win32k/objects/bitmaps.c
modified   subsystems/win32/win32k/objects/brush.c
modified   subsystems/win32/win32k/objects/cliprgn.c
modified   subsystems/win32/win32k/objects/color.c
modified   subsystems/win32/win32k/objects/coord.c
modified   subsystems/win32/win32k/objects/dc.c
modified   subsystems/win32/win32k/objects/dcutil.c
modified   subsystems/win32/win32k/objects/dibobj.c
modified   subsystems/win32/win32k/objects/fillshap.c
modified   subsystems/win32/win32k/objects/font.c
modified   subsystems/win32/win32k/objects/freetype.c
modified   subsystems/win32/win32k/objects/icm.c
modified   subsystems/win32/win32k/objects/line.c
modified   subsystems/win32/win32k/objects/path.c
modified   subsystems/win32/win32k/objects/pen.c
modified   subsystems/win32/win32k/objects/print.c
modified   subsystems/win32/win32k/objects/region.c
modified   subsystems/win32/win32k/objects/text.c
modified   subsystems/win32/win32k/pch.h
   win32k migrated to PSEH 2.0

svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
Stefan Ginsberg b137725c9a - Kill off more STDCALL
svn path=/trunk/; revision=37762
2008-11-30 11:16:55 +00:00
Stefan Ginsberg 2bafd1ffc3 - No need to include winddk.h, ntddk.h includes it for us
svn path=/trunk/; revision=37761
2008-11-30 10:10:19 +00:00
Art Yerkes 4196ecf39b fix a bug reported by aicom: get peer name fails running xitami web server
svn path=/trunk/; revision=37759
2008-11-30 08:26:52 +00:00
Cameron Gutman ffb80a044e - Merge aicom-network-fixes up to r37712
svn path=/trunk/; revision=37713
2008-11-29 01:51:19 +00:00
Stefan Ginsberg 67a842b6fe - ACPI: Don't redefine standard DDK types
- TCPIP/IP/TDI/Uniata: Don't use user mode types
- USBDRIVER: Remove a peculiar redefinition of ULONG_PTR
- NDIS: Remove duplicate (and undocumented) types from ndis.h, defined in an internal NDIS header long ago. Also fix some warnings, define UINT as appropriate, and add a clever (not really) workaround for a gcc/msvc incompatibility. -- For some obnoxious reason msvc is fine with redeclaring types compatibly, while gcc treats it as an error. PSDK and DDK require this, so we need...extended header checks.

svn path=/trunk/; revision=37688
2008-11-27 15:02:47 +00:00
Cameron Gutman a1afe48a57 - NDIS always calls NdisMIndicateStatusComplete immediately after calling NdisMIndicateStatus
svn path=/trunk/; revision=37593
2008-11-23 16:50:11 +00:00
Cameron Gutman 438ac1d7da - Merge aicom-network-fixes up to r37556
svn path=/trunk/; revision=37559
2008-11-22 17:02:56 +00:00
Stefan Ginsberg 3ab3cebe76 - stub out NdisReEnumerateProtocolBindings
svn path=/trunk/; revision=37339
2008-11-13 16:06:43 +00:00
Cameron Gutman 19656e1fd2 - Merge aicom-network-fixes up to r37326
svn path=/trunk/; revision=37328
2008-11-13 01:07:17 +00:00
Cameron Gutman c5a57ba3d6 - Merge aicom-network-fixes up to r37266
svn path=/trunk/; revision=37267
2008-11-09 18:17:00 +00:00
KJK::Hyperion 5f616878c9 Remove all <file> entries for spec/pspec files that don't define any stubs (for real this time)
svn path=/trunk/; revision=37144
2008-11-01 23:11:38 +00:00
Cameron Gutman 31e02ce543 - Merge r37029 from aicom-network-fixes
- This fixes the last of all the port allocation bugs that I know of

svn path=/trunk/; revision=37032
2008-10-27 20:43:44 +00:00
Cameron Gutman 47e8c2cf0b - Merge aicom-network-fixes up to r37010
- Most of the port allocation problems are now fixed

svn path=/trunk/; revision=37011
2008-10-27 05:16:14 +00:00
Cameron Gutman 6089f9fe0b - Merge aicom-network-fixes up to r36973
svn path=/trunk/; revision=36974
2008-10-25 23:44:41 +00:00
Cameron Gutman 497d2b42a7 - Merge aicom-network-fixes up to r36921
svn path=/trunk/; revision=36922
2008-10-24 09:09:00 +00:00
Cameron Gutman e992027f42 - Merge aicom-network-fixes up to r36884
svn path=/trunk/; revision=36885
2008-10-22 01:31:00 +00:00
KJK::Hyperion 9ac0fa4e4d modified tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
   Split rules for .spec files as input files vs import libraries. .spec files can now be specified independently as <file>s (to generate and compile a .stubs.c file) and <importlibrary> (to generate and compile a .spec.def file)
   .spec files are now specified in <importlibrary>s directly (instead of pointing to the non-existing, generated .spec.def file. Whose idea was that? sounds like the doing of Arch Blackmann)
   Allow multiple modules to share a single .spec file without using <importlibrary base="...">
   Allow static libraries to use .spec files in <importlibrary>
   Emit comments in makefile.auto so rules can be traced back to the code that generated them

deleted    lib/debugsup/debugsup-ntos.def
added      lib/debugsup/debugsup-ntos.spec
modified   lib/debugsup/debugsup.rbuild
   .def -> .spec

<<hundreds of rbuild files>>
   Remove <file> entry for spec file if there are no stubs to compile
   .spec.def -> .spec in <importlibrary> entries

Soon: making all keyboard layouts use a single .spec file
Dedicated to: Samuel Serapión, Stefan Ginsberg, and all the fellow team members who'll have an aneurysm at this commit

See issue #3746 for more details.

svn path=/trunk/; revision=36870
2008-10-21 13:51:49 +00:00
Cameron Gutman 459b97691b - Merge aicom-network-fixes up to r36861
svn path=/trunk/; revision=36864
2008-10-20 21:57:06 +00:00
Cameron Gutman 36f0316d51 - Merge aicom-network-fixes up to r36803
svn path=/trunk/; revision=36804
2008-10-18 04:32:30 +00:00
Cameron Gutman 187ed1777f - Merge aicom-network-fixes up to r36785
svn path=/trunk/; revision=36787
2008-10-17 10:42:44 +00:00
Cameron Gutman 2278115192 - Merge aicom-network-fixes up to r36755
svn path=/trunk/; revision=36756
2008-10-15 00:32:36 +00:00
Cameron Gutman b17ea7dab0 - Fix build
svn path=/trunk/; revision=36743
2008-10-13 01:18:04 +00:00
Cameron Gutman 7beefc5606 - Merge aicom-network-fixes up to r36740
svn path=/trunk/; revision=36741
2008-10-13 01:07:37 +00:00
Cameron Gutman cd9b7fd8a1 - Merge aicom-network-fixes up to r36633
- tcpip's ProtocolStatus routine now gets called if a media status change occurs
 - This would fix a problem in which tcpip doesn't recognize the disconnect of an adapter but the ProtocolStatus handler in tcpip isn't implemented yet so the bug remains

svn path=/trunk/; revision=36634
2008-10-03 18:51:33 +00:00
Cameron Gutman fa71aedefe - Merge aicom-network-fixes up to r36621
svn path=/trunk/; revision=36622
2008-10-02 09:42:08 +00:00
Cameron Gutman 22ee49ac12 - Merge aicom-network-fixes up to r36594
svn path=/trunk/; revision=36595
2008-09-30 00:17:48 +00:00
Cameron Gutman 472eb91e2f - Merge aicom-network-fixes up to r36581
svn path=/trunk/; revision=36582
2008-09-28 20:19:27 +00:00
Hervé Poussineau 0970d7b76e Replace .def file by a .spec file
svn path=/trunk/; revision=36563
2008-09-28 09:09:57 +00:00
Cameron Gutman 12604c6f99 - Merge aicom-network-fixes up to r36558
svn path=/trunk/; revision=36559
2008-09-27 21:25:27 +00:00
Cameron Gutman 99d8e4f1b4 - Try again to fix build
svn path=/trunk/; revision=36499
2008-09-25 00:01:39 +00:00
Cameron Gutman 8ffee924f5 - Fix build
svn path=/trunk/; revision=36498
2008-09-24 23:48:28 +00:00
Cameron Gutman 564e5b5a2c Merge aicom-network-fixes up to r36496
- We now call the MiniportCheckForHang handler every two seconds
 - We reset the miniport if it has detected a hang
 - Added some IRQL checks

svn path=/trunk/; revision=36497
2008-09-24 23:39:17 +00:00
Cameron Gutman 39a0bb1742 - Merge aicom-network-fixes up to r36381
svn path=/trunk/; revision=36382
2008-09-21 14:43:43 +00:00
Colin Finck 0fa81bc0da Wow, WriteConfigurationFile() in rbuild never worked since it was added in r13496 over 3 years ago! :-)
Thus, the generated "roscfg.h" was always empty, but for whatever reason modules started to include it.
I removed all dependencies on this file and the function itself from rbuild.

svn path=/trunk/; revision=36373
2008-09-21 13:00:40 +00:00
Cameron Gutman 0f1167cbc0 - Merge aicom-network-fixes up to r36371
svn path=/trunk/; revision=36372
2008-09-21 12:41:26 +00:00
Cameron Gutman 42c8a616ec - Merge aicom-network-fixes up to r36337
svn path=/trunk/; revision=36338
2008-09-20 00:39:55 +00:00