reactos.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=57206

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago[PSEH2]
Timo Kreuzer [Sat, 25 Aug 2012 22:19:02 +0000 (22:19 +0000)]
[PSEH2]
PSEH2 uses a special mechanism to deal with nested try blocks inside the same function. Instead of pushing a second exception registration record on the exception list, it uses an internal pointer to handle the different try-levels.
But when a function using SEH is inlined, the resulting code will push 2 registration frames on the stack. Now it happens with GCC 4.7.1 that these frames get shuffled on the stack, putting one for the inner try on a higher stack address. This is something that RtlUnwind regards as a bug and throws a STATUS_INVALID_UNWIND_TARGET exception. This was the reason for the crashing PSEH2_TEST, when compiled with GCC 4.7.1.
To fix this, I added a mechanism that will prevent functions using SEH from being inlined.

svn path=/trunk/; revision=57159

11 years ago[ADVAPI32/LSASRV]
Eric Kohl [Sat, 25 Aug 2012 15:40:06 +0000 (15:40 +0000)]
[ADVAPI32/LSASRV]
- Implement LsaCreateSecret/LsarCreateSecret, LsaOpenSecret/LsarOpenSecret,  LsaGetSystemAccessAccount/ LsarGetSystemAccessAccount and LsarSetSystemAccessAccount
- Improve some TRACE messages.

svn path=/trunk/; revision=57158

11 years ago[GDI32_APITEST]
Timo Kreuzer [Fri, 24 Aug 2012 20:25:29 +0000 (20:25 +0000)]
[GDI32_APITEST]
Fix use of uninitialized variables and remove broken test.
See issue #7299 for more details.

svn path=/trunk/; revision=57157

11 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 24 Aug 2012 17:50:56 +0000 (17:50 +0000)]
[NTDLL/LDR]
- Check result of walking the import descriptor and properly fail in case it wasn't successful.
See issue #7289 for more details.

svn path=/trunk/; revision=57156

11 years ago[NTOSKRNL]: Cleanup MmCreateArm3Section a little bit to handle file-backed sections...
Alex Ionescu [Fri, 24 Aug 2012 17:17:36 +0000 (17:17 +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]: Enable richard's ARM3 section code unconditionally for all non-file backed sections. Works4me. Let's see what Testbot says.

svn path=/trunk/; revision=57155

11 years ago[CMAKE]
Jérôme Gardou [Fri, 24 Aug 2012 16:29:37 +0000 (16:29 +0000)]
[CMAKE]
- Fix build, sorry

svn path=/trunk/; revision=57154

11 years ago[OPENGL]
Jérôme Gardou [Fri, 24 Aug 2012 16:28:09 +0000 (16:28 +0000)]
[OPENGL]
- Add some optimizations (GCC) on compilation of libMesa
- Move opengl32 to the opengl directory
- Disable ICD refcounting for now, it does more harm than good.

svn path=/trunk/; revision=57153

11 years ago[CMAKE/MSVC]
Amine Khaldi [Fri, 24 Aug 2012 16:21:33 +0000 (16:21 +0000)]
[CMAKE/MSVC]
* Call cl directly instead of its full path using <CMAKE_C_COMPILER>. Figuring out why it didn't work is left as an exercise for the reader.

svn path=/trunk/; revision=57152

11 years ago[CMAKE/MSVC]
Amine Khaldi [Fri, 24 Aug 2012 15:36:17 +0000 (15:36 +0000)]
[CMAKE/MSVC]
Hermès Bélusca:
* Fix a bug in the way we compiled the boot sectors on the x64 build.
* Consistently set the mc compiler, like gcc builds.
* Use proper variables when referring to the compilers.
See issue #7297 for more details.

svn path=/trunk/; revision=57151

11 years ago[ADVAPI32]
Thomas Faber [Fri, 24 Aug 2012 12:52:29 +0000 (12:52 +0000)]
[ADVAPI32]
- Correctly handle NULL passwords for services. Patch by Hermès Bélusca. Fixes crash in advapi32_winetest:service. See bug 7239, bug 7293.

svn path=/trunk/; revision=57150

11 years ago[MSAFD]
Cameron Gutman [Fri, 24 Aug 2012 06:23:45 +0000 (06:23 +0000)]
[MSAFD]
- Stubplement support for SIOCATMARK
[WSHTCPIP]
- Add better debugging for unsupported options
- Implement setting SO_DONTROUTE (nop)
- Return WSAENOPROTOOPT for invalid SOL_SOCKET options

svn path=/trunk/; revision=57149

11 years ago[NTOSKRNL]: Fix broken way we were creating prototype PTEs, which was only supporting...
Alex Ionescu [Fri, 24 Aug 2012 06:08:20 +0000 (06:08 +0000)]
[NTOSKRNL]: Fix broken way we were creating prototype PTEs, which was only supporting 256MB worth of prototype PTE area instead of 1GB.
[NTOSKRNL]: Add support (macros) for subsection PTEs.

svn path=/trunk/; revision=57148