reactos.git
8 years ago[PSEH3]
Timo Kreuzer [Sun, 9 Sep 2012 21:12:00 +0000 (21:12 +0000)]
[PSEH3]
Implement PSEH 3.0. Currently disabled by default. Dedicated to Amine Khaldi.

svn path=/trunk/; revision=57259

8 years ago[MSXML3_WINETEST]
Amine Khaldi [Sun, 9 Sep 2012 19:49:50 +0000 (19:49 +0000)]
[MSXML3_WINETEST]
* Addendum to r57257.

svn path=/trunk/; revision=57258

8 years ago* Improve the whole msxml* situation in ReactOS, which improves compatibility with...
Amine Khaldi [Sun, 9 Sep 2012 19:47:25 +0000 (19:47 +0000)]
* Improve the whole msxml* situation in ReactOS, which improves compatibility with many applications (MS Visual C++ 2010 Redistributable Package, I'm looking at you !)
[PSDK]: Sync some headers and idl files with Wine.
[PSDK]: Import xmldom.h from Wine.
[LIBWINE]: Sync some debugging functions with Wine.
[UUID]: Add SID_SContainerDispatch.
[MSXML]: Import from Wine.
[MSXML2]: Import from Wine.
[MSXML3]: Sync with Wine 1.5.12.
[MSXML4]: Import from Wine.
[MSXML6]: Import from Wine.
[SYSSETUP]: Register the newly imported msxml* dlls.

svn path=/trunk/; revision=57257

8 years ago[NTOSKRNL]: Fix two NtAccess function prototypes (NO-OP, not implemented/used)
Alex Ionescu [Sun, 9 Sep 2012 16:59:23 +0000 (16:59 +0000)]
[NTOSKRNL]: Fix two NtAccess function prototypes (NO-OP, not implemented/used)
[NTOSKRNL]: Add missing call to ObValidateAccessMask (NO-OP, always returns TRUE).

svn path=/trunk/; revision=57256

8 years ago[XDK]
Timo Kreuzer [Sun, 9 Sep 2012 10:42:32 +0000 (10:42 +0000)]
[XDK]
- Move exception stuff to rtltypes.h
- Add missing exception flags
- Add _DISK_GEOMETRY_EX forward declaration

[PSDK]
- Add missing exception flags to winnt.h

[NDK]
- Remove exception flags, they are defined in both winnt.h and wdm.h

svn path=/trunk/; revision=57255

8 years agoSilence GCC warning.
Dmitry Gorbachev [Sat, 8 Sep 2012 08:07:44 +0000 (08:07 +0000)]
Silence GCC warning.

svn path=/trunk/; revision=57254

8 years ago- fix CMake x86 MSVCWin build.
James Tabor [Sat, 8 Sep 2012 06:47:10 +0000 (06:47 +0000)]
- fix CMake x86 MSVCWin build.

svn path=/trunk/; revision=57253

8 years ago[User32Test]
James Tabor [Sat, 8 Sep 2012 06:12:41 +0000 (06:12 +0000)]
[User32Test]
- Turn off GetMenuBarInfo input test temporarily for now.

svn path=/trunk/; revision=57252

8 years ago[Win32SS]
James Tabor [Sat, 8 Sep 2012 06:09:19 +0000 (06:09 +0000)]
[Win32SS]
- HAX: Fix menu test crash!
- Contract be damned. This number 2 on my list to move server side!

svn path=/trunk/; revision=57251

8 years ago[NDIS]
Sylvain Petreolle [Fri, 7 Sep 2012 12:01:14 +0000 (12:01 +0000)]
[NDIS]
Remove spurious form feeds from NDIS code.
Patch by Lee Schroeder.
See issue #7310 for more details.

svn path=/trunk/; revision=57250

8 years ago- turn off debugs.
James Tabor [Fri, 7 Sep 2012 05:50:11 +0000 (05:50 +0000)]
- turn off debugs.

svn path=/trunk/; revision=57249

8 years ago[MOUNTMGR][NDIS]
Dmitry Gorbachev [Thu, 6 Sep 2012 21:11:44 +0000 (21:11 +0000)]
[MOUNTMGR][NDIS]
Fix some string length calculations.

[CRT]
Declare variables extern.

[DMUSIC]
Fix a bug, already fixed in Wine.

svn path=/trunk/; revision=57248

8 years ago[OPENGL]
Dmitry Gorbachev [Thu, 6 Sep 2012 21:09:36 +0000 (21:09 +0000)]
[OPENGL]
Silence GCC warning.

svn path=/trunk/; revision=57247

8 years ago[FORMATTING]
Amine Khaldi [Thu, 6 Sep 2012 18:36:48 +0000 (18:36 +0000)]
[FORMATTING]
* No code changes.

svn path=/trunk/; revision=57246

8 years ago[SDK|UndocUser] - Add missing scroll flags.
James Tabor [Thu, 6 Sep 2012 15:44:10 +0000 (15:44 +0000)]
[SDK|UndocUser] - Add missing scroll flags.

svn path=/trunk/; revision=57245

8 years ago[PSDK]
Amine Khaldi [Thu, 6 Sep 2012 12:28:53 +0000 (12:28 +0000)]
[PSDK]
* Use __attribute__((weak)) instead of __declspec(selectany) until http://llvm.org/bugs/show_bug.cgi?id=13778 is fixed.

svn path=/trunk/; revision=57244

8 years agoRemove "bashisms" from configure.sh script, simplify it a bit.
Dmitry Gorbachev [Wed, 5 Sep 2012 21:40:14 +0000 (21:40 +0000)]
Remove "bashisms" from configure.sh script, simplify it a bit.

svn path=/trunk/; revision=57243

8 years ago[ATACTL]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:39:43 +0000 (21:39 +0000)]
[ATACTL]
Add set_cpp() to CMake script.

[LIBUSB][UNIATA]
Compile with no RTTI and exception handling.

svn path=/trunk/; revision=57242

8 years ago[NTOSKRNL]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:38:02 +0000 (21:38 +0000)]
[NTOSKRNL]
- Remove an unused variable.

[CHARMAP][CSRSRV][MOUNTMGR]
- Declare variables extern.

svn path=/trunk/; revision=57241

8 years ago[PSDK]
Dmitry Gorbachev [Wed, 5 Sep 2012 21:36:16 +0000 (21:36 +0000)]
[PSDK]
Mark Disconnect() method of INetConnectionConnectUi as pure in netcon.h

svn path=/trunk/; revision=57240

8 years ago[SMSS]
Amine Khaldi [Tue, 4 Sep 2012 21:05:16 +0000 (21:05 +0000)]
[SMSS]
* Rename the folder back to smss now.
See issue #7278 for more details.

svn path=/trunk/; revision=57239

8 years ago[CMAKE]
Amine Khaldi [Tue, 4 Sep 2012 20:56:22 +0000 (20:56 +0000)]
[CMAKE]
* Remove the importlibs folder. It's not needed anymore. While we're here, it's worth noting that the use of link_directories is not recommended, you should use target_link_libraries with absolute paths for example.

svn path=/trunk/; revision=57238

8 years ago[AFD]
Cameron Gutman [Tue, 4 Sep 2012 07:42:21 +0000 (07:42 +0000)]
[AFD]
- Try to fix MSVC build

svn path=/trunk/; revision=57237

8 years ago[Win32k]
James Tabor [Tue, 4 Sep 2012 05:37:13 +0000 (05:37 +0000)]
[Win32k]
- Move more support for Desktop Proc into Win32k. Increase Desktop drawing by about 10%. Rearanged code and plugged in the server side callout.

svn path=/trunk/; revision=57236

8 years ago[WININET]
Cameron Gutman [Tue, 4 Sep 2012 05:05:57 +0000 (05:05 +0000)]
[WININET]
- Merge fix for buffer overrun causing rapps to crash
- http://www.winehq.org/pipermail/wine-patches/2012-July/115909.html

svn path=/trunk/; revision=57235

8 years ago[WS2_32_APITEST]
Cameron Gutman [Tue, 4 Sep 2012 03:02:40 +0000 (03:02 +0000)]
[WS2_32_APITEST]
- Add a test for NtReadFile on a socket

svn path=/trunk/; revision=57234

8 years ago[AFD]
Cameron Gutman [Tue, 4 Sep 2012 03:01:15 +0000 (03:01 +0000)]
[AFD]
- Fix handling of IRP_MJ_READ and IRP_MJ_WRITE to allow passing sockets as parameters to NtReadFile and NtWriteFile

svn path=/trunk/; revision=57233

8 years ago[WineTests] - Sync to 1.5.12.
James Tabor [Tue, 4 Sep 2012 02:13:48 +0000 (02:13 +0000)]
[WineTests] - Sync to 1.5.12.

svn path=/trunk/; revision=57232

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 3 Sep 2012 22:19:05 +0000 (22:19 +0000)]
[NTOSKRNL]
- Print a warning in several cases where a wait may fail in an unexpected way

svn path=/trunk/; revision=57231

8 years ago[MSAFD]
Cameron Gutman [Mon, 3 Sep 2012 22:00:16 +0000 (22:00 +0000)]
[MSAFD]
- Fix access rights on socket events

svn path=/trunk/; revision=57230

8 years ago[NTOSKRNL]: Fix a stupid bug in MiProtectVirtualMemory which was causing empty PTEs...
Alex Ionescu [Mon, 3 Sep 2012 16:29:31 +0000 (16:29 +0000)]
[NTOSKRNL]: Fix a stupid bug in MiProtectVirtualMemory which was causing empty PTEs whose protection was being set to remain zero PTEs, instead of demand-zero PTEs, but still acquire a page table reference. When they were later touched in the page fault code, and made into demand-zero PTEs, they'd get referenced again, thus Aleksey hacked away all the referencing code to work around this (causing PDEs to disappear...)
[NTOSKRNL]: Restore the page table reference counting mechanism, and put it in a macro to be cleaner. Also use macros for testing PD boundaries, instead of math-by-hand.

svn path=/trunk/; revision=57229

8 years ago[NTOSKRNL]: Implement correct locking and unlocking of the working set, one of the...
Alex Ionescu [Mon, 3 Sep 2012 06:23:31 +0000 (06:23 +0000)]
[NTOSKRNL]: Implement correct locking and unlocking of the working set, one of the biggest blunders in ARM3 so far.
[NTOSKRNL]: Implement MiDereferenceControlArea to avoid leaking CAs in failure cases.

svn path=/trunk/; revision=57228

8 years ago[NTOSKRNL]: Make executive init functions fail if something didn't work, intstead...
Alex Ionescu [Mon, 3 Sep 2012 01:12:58 +0000 (01:12 +0000)]
[NTOSKRNL]: Make executive init functions fail if something didn't work, intstead of silently failing.
[NTOSKRNL]: Fix Win32k object initialization, fixes boot.

svn path=/trunk/; revision=57227

8 years ago[NTOSKRNL]: Fixed keyed event initialization.
Alex Ionescu [Mon, 3 Sep 2012 00:33:05 +0000 (00:33 +0000)]
[NTOSKRNL]: Fixed keyed event initialization.

svn path=/trunk/; revision=57226

8 years ago[NTOSKRNL]: Fix what should be at least 40 KmTest:ob failures, by correctly using...
Alex Ionescu [Sun, 2 Sep 2012 22:06:42 +0000 (22:06 +0000)]
[NTOSKRNL]: Fix what should be at least 40 KmTest:ob failures, by correctly using the right attributes, security mappings, flags, names, etc... for the object types. This probably fixes countless subtle bugs in applications/drivers that were non-obvious before, especially now that Device names are case insensitive, or that asking for certain GENERIC rights translates correctly.
Thank you thfabba (Thomas Fabber) for one of the most useful, yet ignored, tests in our suite. Hope this makes it up to you.

svn path=/trunk/; revision=57225

8 years ago[NTOSKRNL]: Missed the one ASSERT that mattered...
Alex Ionescu [Sun, 2 Sep 2012 21:46:50 +0000 (21:46 +0000)]
[NTOSKRNL]: Missed the one ASSERT that mattered...

svn path=/trunk/; revision=57224

8 years ago[NTOSKRNL]: Warn, but do not ASSERT, about the fact that we don't have commit charges...
Alex Ionescu [Sun, 2 Sep 2012 20:56:55 +0000 (20:56 +0000)]
[NTOSKRNL]: Warn, but do not ASSERT, about the fact that we don't have commit charges yet. Fixes OllyDbg2 assertions (and probably others too).

svn path=/trunk/; revision=57223

8 years ago[NTOSKRNL]: No longer force PAGE_READWRITE for allocations. Seems Mm is now mature...
Alex Ionescu [Sun, 2 Sep 2012 20:49:31 +0000 (20:49 +0000)]
[NTOSKRNL]: No longer force PAGE_READWRITE for allocations. Seems Mm is now mature enough to handle this. Tried with some winetests and they look happier.

svn path=/trunk/; revision=57222

8 years ago[NTOSKRNL]: Implement MiCheckSecuredVad and stop whining about not supporting SEC_NO_...
Alex Ionescu [Sun, 2 Sep 2012 18:54:05 +0000 (18:54 +0000)]
[NTOSKRNL]: Implement MiCheckSecuredVad and stop whining about not supporting SEC_NO_CHANGE, cleaning up the log.
[NTOSKRNL]: Kill a bunch of now-useless DPRINT1s in Mm, significantly cleaning up the log.
[HIVES/MSI]: .NET needs InstallRoot, not InstallDir. Kills millions of DPRINT1s, thus cleaning up the log.

svn path=/trunk/; revision=57221

8 years ago[NTOSKRNL]: Restore the protect hack, maybe it's not as no-op as it seems.
Alex Ionescu [Sun, 2 Sep 2012 18:03:14 +0000 (18:03 +0000)]
[NTOSKRNL]: Restore the protect hack, maybe it's not as no-op as it seems.

svn path=/trunk/; revision=57220

8 years agoComment-fix. Get/Set flip.
Mike Nordell [Sun, 2 Sep 2012 15:33:32 +0000 (15:33 +0000)]
Comment-fix. Get/Set flip.

svn path=/trunk/; revision=57219

8 years ago[NTOSKRNL]: Remove another useless ASSERT.
Alex Ionescu [Sun, 2 Sep 2012 08:21:18 +0000 (08:21 +0000)]
[NTOSKRNL]: Remove another useless ASSERT.

svn path=/trunk/; revision=57218

8 years ago[NTOSKRNL]: Fix stupid checks
Alex Ionescu [Sun, 2 Sep 2012 08:17:58 +0000 (08:17 +0000)]
[NTOSKRNL]: Fix stupid checks

svn path=/trunk/; revision=57217

8 years ago[NTOSKRNL]: Kill not-needed assertion.
Alex Ionescu [Sun, 2 Sep 2012 08:13:24 +0000 (08:13 +0000)]
[NTOSKRNL]: Kill not-needed assertion.

svn path=/trunk/; revision=57216

8 years ago[NTOSKRNL]: Do not return data in failure cases in NtProtectVirtualMemory.
Alex Ionescu [Sun, 2 Sep 2012 01:17:42 +0000 (01:17 +0000)]
[NTOSKRNL]: Do not return data in failure cases in NtProtectVirtualMemory.
[NTOSKRNL]: No longer support non-ARM3 sections in NtProtectVirtualMemory, as the only OS calls were already NO-OPS.
[NTOSKRNL]: Always use ARM3 sections unless SEC_PHYSICAL_MEMORY is used, and make the check explicit.
[NTOSKRNL]: No longer support allocating memory on top of non-ARM3 sections.
[NTOSKRNL]: No longer ASSERT when certain features are not yet implemented, instead return an error code.
[NTOSKRNL]: Add another check in NtFreevirtualMemory when invalid memory is being freed, insert of ASSERTing.
[NTOSKRNL]: Implement and use MiIsEntireRangeCommitted when protecting memory to make sure the entire range is committed.
This patch removes multiple hacks, ASSERTs, and evil mixing of ARM3 and non-ARM3 code/memory.

svn path=/trunk/; revision=57215

8 years ago[INTRIN]
Timo Kreuzer [Sat, 1 Sep 2012 17:01:05 +0000 (17:01 +0000)]
[INTRIN]
Mark intrinsics on gcc with __attribute__((artificial)) so that they appear as one unit in the debug info. This way traces don't point inside the implementations, when they cause an eception, but rather to the line where they are used.

svn path=/trunk/; revision=57214

8 years ago[SOUNDBLASTER]
Amine Khaldi [Sat, 1 Sep 2012 12:49:21 +0000 (12:49 +0000)]
[SOUNDBLASTER]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57213

8 years ago[DNSLIB]
Amine Khaldi [Sat, 1 Sep 2012 12:02:03 +0000 (12:02 +0000)]
[DNSLIB]
* Nothing links to it, don't compile it.

svn path=/trunk/; revision=57212

8 years ago[CMAKE]
Amine Khaldi [Sat, 1 Sep 2012 11:37:24 +0000 (11:37 +0000)]
[CMAKE]
* Improve this one while we're at it.

svn path=/trunk/; revision=57211

8 years ago[CMAKE]
Amine Khaldi [Sat, 1 Sep 2012 11:35:12 +0000 (11:35 +0000)]
[CMAKE]
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210

8 years ago[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections...
Alex Ionescu [Sat, 1 Sep 2012 02:32:25 +0000 (02:32 +0000)]
[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections in the future.
[NTOSKRNL]: Remove an ASSERT(FALSE) that was only there for testing.
[NTOSKRNL]: Support transition pages during prototype PTE faults, which is our first try at soft faults! Should fix ASSERTs that were seen in the previous attempts in ole32, corrupting the registry.
[NTOSKRNL]: It's fine for MiCreatePagingFileMap to fail in MmCreateSection -- don't assert and simply return failure. Should fix the ASSERTs taht were seen in KmTest.
[NTOSKRNL]: Enable richard's ARM3 section code unconditionally for all non-file backed sections. Works4me. Let's see what Testbot says.
Nobody has showed me how to use/where is PatchBot, and google founds 0 relevant results, so this is going into main again. However I'm actually home this week to revert if something goes wrong :)

svn path=/trunk/; revision=57209

8 years ago[CRT_APITEST]
Timo Kreuzer [Fri, 31 Aug 2012 17:20:56 +0000 (17:20 +0000)]
[CRT_APITEST]
Fix broken test.

svn path=/trunk/; revision=57208

8 years agoStop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
Mike Nordell [Fri, 31 Aug 2012 14:16:17 +0000 (14:16 +0000)]
Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string

svn path=/trunk/; revision=57207

8 years agoFix build
Timo Kreuzer [Thu, 30 Aug 2012 10:16:13 +0000 (10:16 +0000)]
Fix build

svn path=/trunk/; revision=57206

8 years ago[FREELDR/CRT]
Timo Kreuzer [Thu, 30 Aug 2012 10:12:55 +0000 (10:12 +0000)]
[FREELDR/CRT]
Freeldr size is currently limited to 448 KB. On MSVC it was already at 442 KB, before wine's wctype table was used. The new wctype table is itself 37 KB. This lead to freeldr overflowing into memory regions that were used for the filesystem buffer, causing bootfailures. Fix this by giving freeldr it's own using _isctype(), since freeldr casts WCHAR to CHAR anyway.

svn path=/trunk/; revision=57205

8 years ago[MESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:57:44 +0000 (00:57 +0000)]
[MESA]
- fix build

svn path=/trunk/; revision=57204

8 years ago[LIBMESA]
Jérôme Gardou [Thu, 30 Aug 2012 00:51:00 +0000 (00:51 +0000)]
[LIBMESA]
- Use x86 ASM optimizations on GCC
- Don't compile useless stuff

svn path=/trunk/; revision=57203

8 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 21:07:55 +0000 (21:07 +0000)]
[ROSAPPS]
Add the imagesoft CMakeLists.txt (forgotten in previous commit.)

svn path=/trunk/; revision=57202

8 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 20:44:54 +0000 (20:44 +0000)]
[ROSAPPS]
Move imagesoft to applications and add it to build.
Convert lang files to UTF-8.
Fix casts and x64 warnings.
Patch by Hermes Belusca.
See bug 7185 for details.

svn path=/trunk/; revision=57201

8 years ago[ROSAPPS]
Sylvain Petreolle [Wed, 29 Aug 2012 18:06:24 +0000 (18:06 +0000)]
[ROSAPPS]
Add vgafontedit to build.
Convert the language resource files into UTF-8.
Fix x64 warnings.
Patch by Hermes Belusca.
Bug 7152.

svn path=/trunk/; revision=57200

8 years ago[WS2_32]
Cameron Gutman [Wed, 29 Aug 2012 14:23:40 +0000 (14:23 +0000)]
[WS2_32]
- Fix a memory overwrite bug in some crappy WINE code that leads to nasty memory corruption of the service cache entry. This corrupts the first field of the cache, causing it to always reallocate memory because it thinks the size is 0. This would be even worse if the code didn't overwrite the other 12 bytes of corruption with proper data on the next lines. This also caused the aliases value to be garbage because it pointed at uninitialized data.

svn path=/trunk/; revision=57199

8 years agoSilence compiler warning
Mike Nordell [Wed, 29 Aug 2012 12:28:35 +0000 (12:28 +0000)]
Silence compiler warning

svn path=/trunk/; revision=57198

8 years agoSilence compiler warning
Mike Nordell [Wed, 29 Aug 2012 12:26:33 +0000 (12:26 +0000)]
Silence compiler warning

svn path=/trunk/; revision=57197

8 years ago[WIDL]
Jérôme Gardou [Wed, 29 Aug 2012 12:25:55 +0000 (12:25 +0000)]
[WIDL]
- Fix build with MSVC
- Fix  bug on rgs file creation. Will be sent to wine

svn path=/trunk/; revision=57196

8 years ago[DDRAW]
Amine Khaldi [Tue, 28 Aug 2012 23:17:31 +0000 (23:17 +0000)]
[DDRAW]
* We already have the correct rgs data in place. Fix build.

svn path=/trunk/; revision=57195

8 years ago[USER32]
Timo Kreuzer [Tue, 28 Aug 2012 20:24:55 +0000 (20:24 +0000)]
[USER32]
Use LONG instead of DWORD for a signed value

svn path=/trunk/; revision=57194

8 years ago[I_KNEW_IT_WOULD_HAPPEN]
Jérôme Gardou [Tue, 28 Aug 2012 19:16:02 +0000 (19:16 +0000)]
[I_KNEW_IT_WOULD_HAPPEN]
- Fix build

svn path=/trunk/; revision=57193

8 years ago[DIRECTX]
Jérôme Gardou [Tue, 28 Aug 2012 19:08:01 +0000 (19:08 +0000)]
[DIRECTX]
- sync ddraw, d3d8, d3d9 and wined3d with wine 1.5.11

svn path=/trunk/; revision=57192

8 years ago[CMAKE/WIDL]
Jérôme Gardou [Tue, 28 Aug 2012 19:02:29 +0000 (19:02 +0000)]
[CMAKE/WIDL]
- Add support for the wine COM interface registering

svn path=/trunk/; revision=57191

8 years ago[WINGDI.H]
Jérôme Gardou [Tue, 28 Aug 2012 09:27:07 +0000 (09:27 +0000)]
[WINGDI.H]
- Add missing DMDO_* definitions

svn path=/trunk/; revision=57190

8 years ago[LWIP]
Cameron Gutman [Tue, 28 Aug 2012 00:36:47 +0000 (00:36 +0000)]
[LWIP]
- Increase window size to 65535 so large sends work properly because send buffering still sucks

svn path=/trunk/; revision=57189

8 years ago[AFD]
Cameron Gutman [Tue, 28 Aug 2012 00:26:26 +0000 (00:26 +0000)]
[AFD]
- Fix handling pending writes in the TDI_SEND completion routine

svn path=/trunk/; revision=57188

8 years ago[AFD]
Cameron Gutman [Tue, 28 Aug 2012 00:14:08 +0000 (00:14 +0000)]
[AFD]
- Rewrite a large portion of the send code to have proper support for overlapped and non-blocking sockets

svn path=/trunk/; revision=57187

8 years ago[TCPIP]
Cameron Gutman [Mon, 27 Aug 2012 23:58:40 +0000 (23:58 +0000)]
[TCPIP]
- Implement proper support for partial sends on TCP sockets
- This prevents a deadlock when a very very large packet is queued to be sent

svn path=/trunk/; revision=57186

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 22:18:29 +0000 (22:18 +0000)]
[AFD]
- Fix enabling of some event select triggers

svn path=/trunk/; revision=57185

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 21:53:09 +0000 (21:53 +0000)]
[AFD]
- Mask out disabled events properly

svn path=/trunk/; revision=57184

8 years ago[MSVCRTEX]
Jérôme Gardou [Mon, 27 Aug 2012 21:34:42 +0000 (21:34 +0000)]
[MSVCRTEX]
- Better fix for DLLs not providing a DllMain function, as per Timo's remarks.

svn path=/trunk/; revision=57183

8 years ago[HAL]
Amine Khaldi [Mon, 27 Aug 2012 21:24:22 +0000 (21:24 +0000)]
[HAL]
* Don't compile lib_hal_pic for x64. Brought to you by Hermès Bélusca.
See issue #7309 for more details.

svn path=/trunk/; revision=57182

8 years ago[CMAKE]
Amine Khaldi [Mon, 27 Aug 2012 18:58:27 +0000 (18:58 +0000)]
[CMAKE]
* Prefer STREQUAL over MATCHES since we're comparing with strings here. Brought to you by Hermès Bélusca.
See issue #7306 for more details.

svn path=/trunk/; revision=57181

8 years ago[PSEH2]
Amine Khaldi [Mon, 27 Aug 2012 18:55:37 +0000 (18:55 +0000)]
[PSEH2]
* Make _SEH_DontInline() static inline.

svn path=/trunk/; revision=57180

8 years ago[KERNEL32_APITESTS]
Jérôme Gardou [Mon, 27 Aug 2012 16:34:17 +0000 (16:34 +0000)]
[KERNEL32_APITESTS]
- Add some tests for lstrncpyW
- This function is fine, I wrote that when chasing some bug thinking this function was at fault.

svn path=/trunk/; revision=57179

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 06:50:01 +0000 (06:50 +0000)]
[AFD]
- Fix broken overlapped I/O on sockets

svn path=/trunk/; revision=57178

8 years ago[MSAFD]
Cameron Gutman [Mon, 27 Aug 2012 06:34:21 +0000 (06:34 +0000)]
[MSAFD]
- Add error translation for STATUS_ACCESS_VIOLATION

svn path=/trunk/; revision=57177

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 06:19:19 +0000 (06:19 +0000)]
[AFD]
- Fix a bug causing the event passed to WSAEnumNetworkEvents to remain set after the call

svn path=/trunk/; revision=57176

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 04:16:28 +0000 (04:16 +0000)]
[AFD]
- Fix one of the worst bugs in AFD of all time. Our AFD code operated under the assumption that none of the input parameters would change once we called LockRequest. This assumption is completely false. The only guarantee that made was that the pages never disappeared from us, not they they couldn't be modified. There are frequent cases where the user-mode buffer was modified from underneath us (WSPRecv allocates the struct on stack which makes it invalid during overlapped operations that complete later). When this happened, we would bugcheck when we tried to unlock the buffers since we accessed this in a member of the struct the caller passed us.
- I've fixed this by adding a parameter to LockRequest which specifies whether the buffer should be copied back when it is unlocked.
- This bug has been around for ages and I was never able to figure out why we just freed garbage sometimes. Now that the ws2_32_winetest exposed it reliably, I was finally able to fix it.

svn path=/trunk/; revision=57175

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 03:43:40 +0000 (03:43 +0000)]
[AFD]
- Fix some size assumptions that fail on 64-bit

svn path=/trunk/; revision=57174

8 years ago[AFD]
Cameron Gutman [Mon, 27 Aug 2012 03:42:28 +0000 (03:42 +0000)]
[AFD]
- Only access stack parameters when we're sure that the major function is correct

svn path=/trunk/; revision=57173

8 years ago[CRT]
Jérôme Gardou [Sun, 26 Aug 2012 23:54:52 +0000 (23:54 +0000)]
[CRT]
- Fix some UNICODE vs non UNICODE definition mess.

svn path=/trunk/; revision=57172

8 years ago[MINGWEX]
Jérôme Gardou [Sun, 26 Aug 2012 23:31:49 +0000 (23:31 +0000)]
[MINGWEX]
- mark DllMain as a weak symbol for GCC.
- supply a stubbed DllMain for MSVC.
- DllMain is optional, and some DLLs don't implement it. That doesn't mean that they have no entry point, it means "I have nothing more to initialize than the CRT".

svn path=/trunk/; revision=57171

8 years ago[AFD]
Cameron Gutman [Sun, 26 Aug 2012 22:31:18 +0000 (22:31 +0000)]
[AFD]
- Change AFD to a very aggressive buffering policy
- It now attempts to keep its 64K receive buffer completely full at all times
- This increases network performance significantly

svn path=/trunk/; revision=57170

8 years ago[LWIP]
Cameron Gutman [Sun, 26 Aug 2012 22:24:49 +0000 (22:24 +0000)]
[LWIP]
- Fix broken handling of partial receives

svn path=/trunk/; revision=57169

8 years ago[AFD]
Cameron Gutman [Sun, 26 Aug 2012 20:13:22 +0000 (20:13 +0000)]
[AFD]
- Fix returning uninitialized data from FIONREAD when the socket is not bound or connected

svn path=/trunk/; revision=57168

8 years ago[ADVAPI32/LSASRV]
Eric Kohl [Sun, 26 Aug 2012 14:05:27 +0000 (14:05 +0000)]
[ADVAPI32/LSASRV]
- Implement LsaSetSeceret/LsarSetSecret (secret values are not encrypted yet) and LsaSetSystemAccessAccount.
- Improve some TRACE messages.

svn path=/trunk/; revision=57167

8 years ago[KMTESTS:EX]
Thomas Faber [Sun, 26 Aug 2012 12:06:45 +0000 (12:06 +0000)]
[KMTESTS:EX]
- Make hard-coded calling convention exceptions in ExInterlocked compatible with GCC 4.7, and add the corresponding TODO about how ugly this is

svn path=/trunk/; revision=57166

8 years ago[GDI32_APITEST]
Thomas Faber [Sun, 26 Aug 2012 11:35:58 +0000 (11:35 +0000)]
[GDI32_APITEST]
- Fix build

svn path=/trunk/; revision=57165

8 years ago[GDI32_APITEST]
Thomas Faber [Sun, 26 Aug 2012 11:17:37 +0000 (11:17 +0000)]
[GDI32_APITEST]
- Actually run the CreateIconIndirect test when it's called

svn path=/trunk/; revision=57164

8 years ago[CMAKE]
Amine Khaldi [Sun, 26 Aug 2012 11:14:52 +0000 (11:14 +0000)]
[CMAKE]
* Escape the source folder here.

svn path=/trunk/; revision=57163

8 years ago[SYSCALLS]
Aleksey Bragin [Sun, 26 Aug 2012 10:22:39 +0000 (10:22 +0000)]
[SYSCALLS]
- Remove old unnecessary copy of syscalls.inc

svn path=/trunk/; revision=57162

8 years ago[NTOSKRNL]
Thomas Faber [Sun, 26 Aug 2012 09:22:09 +0000 (09:22 +0000)]
[NTOSKRNL]
- Revert r57155 until test issues are fixed

svn path=/trunk/; revision=57161

8 years ago[OPENGL32_WINETEST]
Jérôme Gardou [Sun, 26 Aug 2012 09:17:35 +0000 (09:17 +0000)]
[OPENGL32_WINETEST]
- Sync with wine

svn path=/trunk/; revision=57160