Commit graph

46912 commits

Author SHA1 Message Date
Amine Khaldi 09a2c1a1cf [CMAKE]
* Add shdocvw to msvc build.

svn path=/trunk/; revision=52428
2011-06-22 18:05:47 +00:00
Amine Khaldi 64c173811e [CMAKE]
* Add urlmon back to msvc build, but not into bootcd.
* Add back cryptui, oleaut32 and shlwapi as a result.

svn path=/trunk/; revision=52427
2011-06-22 17:33:22 +00:00
Amine Khaldi 512325377f [CMAKE]
* Skip more modules that do not compile, in MSVC build.

svn path=/trunk/; revision=52426
2011-06-22 16:08:07 +00:00
Amine Khaldi 979151f7db [CMAKE]
* Skip more modules that do not compile, in MSVC build.

svn path=/trunk/; revision=52425
2011-06-22 16:07:16 +00:00
Amine Khaldi 59fa94bbb5 [SHELL32]
* Fix msvc build.

svn path=/trunk/; revision=52423
2011-06-22 15:18:05 +00:00
Cameron Gutman 5fded3cb3f [OSKITTCP]
- Register for asynchronous buffer notifications from oskittcp which will fire when a packet is sent
- Fixes sending pending packets that can't fit in the window and fixes the graceful shutdown hang

svn path=/trunk/; revision=52422
2011-06-22 14:05:01 +00:00
Gabriel Ilardi 27f33adbfb [BOOTDATA]
Missed USBDRIVER change from 52361.

svn path=/trunk/; revision=52421
2011-06-22 13:51:14 +00:00
Amine Khaldi 5b429883dc [CMAKE]
* Add /W3 to compiler flags, and use the proper macro.

svn path=/trunk/; revision=52420
2011-06-22 13:17:37 +00:00
Amine Khaldi de7f3b854f [CMAKE]
* Skip some modules that do not compile, in MSVC build.
* Welcome, MSVC BootCD. I'm sure ros devs will fix the s.it out of you.. Right ?

svn path=/trunk/; revision=52419
2011-06-22 11:51:02 +00:00
Amine Khaldi 583b4eb6ef [CMAKE]
* Add WIN32 and _WINDOWS definitions for i386 msvc builds.
* Skip some modules that do not compile, in msvc build.

svn path=/trunk/; revision=52418
2011-06-22 11:31:01 +00:00
Amine Khaldi 40fc6fe6d2 [CMAKE]
* Properly set CMAKE_C_FLAGS_INIT and CMAKE_CXX_FLAGS_INIT.

svn path=/trunk/; revision=52417
2011-06-22 10:14:41 +00:00
Cameron Gutman 6b7b487e8c [TCPIP/IP]
- Wait until the all pending sends are serviced before shutting down the socket on a graceful disconnect
- Cancel pending sends and receives on abortive disconnect
- Remove the nasty hack that was the completion queue and replace it with async completions like the lwIP implementation does
- There is a bug with the graceful disconnects which occurs if the graceful disconnect cannot be serviced immediately (a very rare case in my testing) and results in the shutdown() call stalling forever because oskittcp never indicates that send is possible again (which would allow pending send IRPs to be serviced and the shutdown IRP to be completed)

svn path=/trunk/; revision=52416
2011-06-22 00:41:40 +00:00
Cameron Gutman d7a7a20e8b [AFD]
- Hold on to the disconnect IRP until all pending sending IRPs are sent to the transport driver if a controlled disconnect was requested

svn path=/trunk/; revision=52415
2011-06-22 00:17:19 +00:00
Amine Khaldi 379fa83099 [CMAKE]
* Handle the case where we may initially set some CMAKE_C_FLAGS and/or CMAKE_CXX_FLAGS.

svn path=/trunk/; revision=52414
2011-06-22 00:06:10 +00:00
Alex Ionescu 976b791c1c [NTOSKRNL]: ";" -> "," build fix.
svn path=/trunk/; revision=52413
2011-06-21 22:52:02 +00:00
Alex Ionescu cf20a2d00d [NTOSKRNL]: It seems NtYieldExecution in Windows heavily biases towards avoiding a yield as much as possible, and thus attempts to locklessly check the PRCB's ready summary. Problem being that the old code was running a bunch of instructions before checking for this ready summary, and doing a double-fs/gs dereference to get the ready summary. Upon reading some WRK documentation, it appears Windows uses a KiGetCurrentReadySummary macro, which WinDBG analysis shows to be an inline that reads the ReadySummary straight from PrcbData with only a single segment read, and no code preceeding it. Although it's "unlikely" to ever really be a problem, it's perhaps best to replicate this behavior since there could be dependencies on it. Comments in file point to PDF with this information (hosted on Microsoft Research's website, publically accessible).
[NTOSKRNL]: Also, fix locking order such that the current PRCB is only read after the IRQL is raised to SYNCH_LEVEL. I'm too tired to tell if this is a requirement, but the PDF shows it being done that way in Windows, so I've re-ordered the operations to match. Intuition would indicate that this shouldn't matter, as fs:1C shouldn't change from under us in the middle of execution, but why argue with public source code?
vicmarcal said it's okay if this breaks the build (I don't have any way to build ReactOS anymore).

svn path=/trunk/; revision=52412
2011-06-21 22:43:55 +00:00
Rafal Harabien 562dd382dd [SHELL32]
- Fix resources for MSVC. Patch by Igor Igor Paliychuk
[NTOSKRNL]
- Match NT behavior in DisplayFilter

svn path=/trunk/; revision=52411
2011-06-21 22:15:48 +00:00
Rafal Harabien 964aabb309 - Fix build
svn path=/trunk/; revision=52410
2011-06-21 21:06:18 +00:00
Rafal Harabien a965ca6b67 [BOOTVID]
- Revert part of r52239: Fix support for \r and do not handle backspace
- Simplify it a bit

[NTOSKRNL]
- Add backspace support to KdpScreenPrint
- Do not draw boot text bitmap if InbvDisplayString is called with "" or "." (matches NT behavior)

svn path=/trunk/; revision=52409
2011-06-21 19:47:13 +00:00
Amine Khaldi 8500f6aea6 [PSDK]
* CLSID_ShellFolderViewOC is defined in shldisp.idl/h. A proper fix is due for msvc build.

svn path=/trunk/; revision=52408
2011-06-21 18:42:51 +00:00
Amine Khaldi a197042933 [TRANSLATIONS]
Igor Paliychuk:
* Convert UKRAINIAN and RUSSIAN localization files to utf-8 in the dll folder.
* Add UKRAINIAN translation for msports.
* Some Wine modules also were converted (already sent upstream).

svn path=/trunk/; revision=52407
2011-06-21 18:30:06 +00:00
Amine Khaldi c9aeb1479f [PSDK]
* Add missing CLSID_ShellFolderViewOC.

svn path=/trunk/; revision=52406
2011-06-21 17:56:10 +00:00
Cameron Gutman 85b52ced7c [IP]
- Don't attempt to service a request if the only flag specified was SEL_FIN
- Handle TDI_DISCONNECT_RELEASE properly
[OSKITTCP]
- Verify that the socket is in a legal state to do a send or receive
- Don't indicate send and receive events when the socket is not connected or has been been closed in that particular direction
- Add a small hack to soshutdown so shutdown in the send direction works correctly (ie. doesn't shutdown receive)
- Fixes the hangs in ws2_32_apitest ioctlsocket and ws2_32_apitest recv

svn path=/trunk/; revision=52405
2011-06-21 16:23:27 +00:00
Rafal Harabien d5e9cb0dd8 [NTOSKRNL]
- Display boot blue bitmap when native application or kernel calls NtDisplayString with string displaying enabled
- Fix drawing order in Phase1InitializationDiscard

svn path=/trunk/; revision=52404
2011-06-21 15:53:02 +00:00
Timo Kreuzer 261c786603 Merge missing tuff from r51731
- Improve a DPRINT
- Initialize a global variable

svn path=/trunk/; revision=52403
2011-06-21 14:45:17 +00:00
Cameron Gutman 0fbf8e4374 [AFD]
- Remove extra cruft around the TdiReceive call
- Handle send and receive requests better after a socket closure

svn path=/trunk/; revision=52402
2011-06-21 13:59:49 +00:00
Timo Kreuzer 033ddb3799 [OLEAUT32]
- add assembly version of call_method for MSVC
- fix a syntax error (sizeof(int[3]) is not valid C)
- move definitions to the top of the CMakeLists.txt

svn path=/trunk/; revision=52401
2011-06-21 13:22:07 +00:00
Cameron Gutman 2b116b187c [AFD]
- Complete receive requests with the correct status if the socket is unexpectedly closed

svn path=/trunk/; revision=52400
2011-06-21 13:02:42 +00:00
Timo Kreuzer 2792c9b294 [RPCRT4]
- Add msvc.S containing call_stubless_func in assembly
- Fix spec file, 2 stub functions are already implemented
- fix use of GetExceptionCode(), it cannot be used in that context.

svn path=/trunk/; revision=52399
2011-06-21 12:22:47 +00:00
Timo Kreuzer b3b1b3262b [WINE]
Add a hackfix for ntdll_winetest to fix compilation with MSVC

svn path=/trunk/; revision=52397
2011-06-21 09:32:41 +00:00
Timo Kreuzer 1a5eefbac0 [BROWSEUI]
Set /EHa- option. Fixes MSVC build

svn path=/trunk/; revision=52394
2011-06-20 20:30:05 +00:00
Timo Kreuzer 2e109f217d [CMAKE/MSVC]
Add /NODEFAULTLIBS linker flag to avoid conflicts between our and MS crt

svn path=/trunk/; revision=52393
2011-06-20 19:21:09 +00:00
Amine Khaldi b6bb6840a4 [MSI/URLMON]
* Guard wine attributes against widl.

svn path=/trunk/; revision=52392
2011-06-20 19:13:34 +00:00
Timo Kreuzer aecc36df54 [PSDK]
- define _MIDL_USE_GUIDDEF_ when building iid libraries, so that the guids have declspec(selectany)
- add xml_uuids library
[MSXML3]
- Add an include for MSVC to define missing IIDs
- add CLSID_DOMDocument2
fixes build of msxml3 with MSVC

svn path=/trunk/; revision=52391
2011-06-20 18:34:57 +00:00
Cameron Gutman fb1a75454e [MSAFD]
- Mark the accepted socket as connected
- Fixes graceful disconnect on accepted sockets

svn path=/trunk/; revision=52389
2011-06-20 17:35:02 +00:00
Timo Kreuzer ae4e935c92 [PSDK]
Add midl compatible include guard

svn path=/trunk/; revision=52386
2011-06-20 15:28:00 +00:00
Timo Kreuzer 33486bb4d7 [CRT]
Fix call_ebp_func, spotted by Thomas Faber

svn path=/trunk/; revision=52384
2011-06-20 13:34:19 +00:00
Timo Kreuzer d01040f370 [ITSS]
Link to itss_guid

svn path=/trunk/; revision=52383
2011-06-20 13:30:40 +00:00
Timo Kreuzer 47b5083e50 [WINE]
add inline version of ffs

svn path=/trunk/; revision=52382
2011-06-20 13:15:58 +00:00
Timo Kreuzer b9472583c6 [CRTDLL]
- don't forward _fileinfo_dll to MSVCRT, this doesn't work and its not what MS crtdll does.
- don't define _CRTIMP to _declspec(dllexport)
- link to MSVCRT when compiling with MSVC
- remove def file

svn path=/trunk/; revision=52380
2011-06-20 12:41:32 +00:00
Timo Kreuzer 2035d47de2 [CRT]
Implement call_ebp_func for msvc

svn path=/trunk/; revision=52379
2011-06-20 11:27:55 +00:00
Cameron Gutman aa6ff8e522 [NTOSKRNL]
- Use PoCallDriver when sending a power IRP

svn path=/trunk/; revision=52378
2011-06-20 10:54:00 +00:00
Timo Kreuzer 8d5a792eb8 [DOSKEY]
Fix copy paste bug. Patch by r3ddr4g0n

svn path=/trunk/; revision=52377
2011-06-20 09:18:42 +00:00
Olaf Siejka 6472b891d1 [UTF8]
- Convert format, fdebug, ntvdm and win32csr polish locale to UTF-8;
- Clean up remainder of #pragma definitions in individual language rc files. This should prevent bugs like one with chineese locale in calc;
- Move bulgarian and romanian locales, already converted to UTF-8 to proper section in module rc file;

svn path=/trunk/; revision=52376
2011-06-19 22:55:34 +00:00
Matthias Kupfer 68234347d8 [TRANSLATIONS] fix the code_page-#pragma issue for Chinese
- add Chinese to UTF-8 section
- remove default #pragma at end of Romanian file

svn path=/trunk/; revision=52375
2011-06-19 22:11:42 +00:00
Cameron Gutman ae5018a9dd [FASTFAT]
- Move verification code to the BlockDev* functions (like CDFS does) so functions that call those directly will have verification handled for them
- Add verification handling for IOCTL requests

svn path=/trunk/; revision=52374
2011-06-19 20:03:49 +00:00
Timo Kreuzer af892bdd85 [BROWSEUI]
Fix rc syntax

svn path=/trunk/; revision=52373
2011-06-19 19:48:43 +00:00
Cameron Gutman e2d92bfd5e [FASTFAT]
- Handle STATUS_VERIFY_REQUIRED for write requests
- Clear the device to verify after retrieving it
- Fixes write failure after changing floppy media
[CDFS]
- Reissue the I/O request if IoVerifyVolume was successful
- Fixes read after a media change

svn path=/trunk/; revision=52372
2011-06-19 19:43:52 +00:00
Jérôme Gardou cef5719846 addendum to r52369: forgot those
svn path=/trunk/; revision=52370
2011-06-19 16:40:10 +00:00
Jérôme Gardou 4f2fbfda9d [CMAKE]
- set PCH file after importing libraries for modules that link to msvcrt.
Otherwise it wouldn't get the added definitions and become useless.

svn path=/trunk/; revision=52369
2011-06-19 16:35:43 +00:00