Commit graph

51764 commits

Author SHA1 Message Date
Amine Khaldi
9f7d0ac646 [CMAKE]
* Improve this one while we're at it.

svn path=/trunk/; revision=57211
2012-09-01 11:37:24 +00:00
Amine Khaldi
cd70b62ce1 [CMAKE]
* Addendum to r57181. By Hermès Bélusca.

svn path=/trunk/; revision=57210
2012-09-01 11:35:12 +00:00
Alex Ionescu
cda03c0940 [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
2012-09-01 02:32:25 +00:00
Timo Kreuzer
5666d93992 [CRT_APITEST]
Fix broken test.

svn path=/trunk/; revision=57208
2012-08-31 17:20:56 +00:00
Mike Nordell
55e8f7ae69 Stop erroneous reporting of SEGV from test case. MS own CRT SEGV on NULL format string
svn path=/trunk/; revision=57207
2012-08-31 14:16:17 +00:00
Timo Kreuzer
455c9969d1 Fix build
svn path=/trunk/; revision=57206
2012-08-30 10:16:13 +00:00
Timo Kreuzer
dcbf403aee [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
2012-08-30 10:12:55 +00:00
Jérôme Gardou
c4d952dc0f [MESA]
- fix build

svn path=/trunk/; revision=57204
2012-08-30 00:57:44 +00:00
Jérôme Gardou
ff75ed1858 [LIBMESA]
- Use x86 ASM optimizations on GCC
- Don't compile useless stuff

svn path=/trunk/; revision=57203
2012-08-30 00:51:00 +00:00
Sylvain Petreolle
3d2d44a14c [ROSAPPS]
Add the imagesoft CMakeLists.txt (forgotten in previous commit.)

svn path=/trunk/; revision=57202
2012-08-29 21:07:55 +00:00
Sylvain Petreolle
36cc36e73f [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
2012-08-29 20:44:54 +00:00
Sylvain Petreolle
eefb798bff [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
2012-08-29 18:06:24 +00:00
Cameron Gutman
a9e04af2a5 [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
2012-08-29 14:23:40 +00:00
Mike Nordell
049ada7e9d Silence compiler warning
svn path=/trunk/; revision=57198
2012-08-29 12:28:35 +00:00
Mike Nordell
b94063d2da Silence compiler warning
svn path=/trunk/; revision=57197
2012-08-29 12:26:33 +00:00
Jérôme Gardou
f8a94143da [WIDL]
- Fix build with MSVC
- Fix  bug on rgs file creation. Will be sent to wine

svn path=/trunk/; revision=57196
2012-08-29 12:25:55 +00:00
Amine Khaldi
8fdc3a3391 [DDRAW]
* We already have the correct rgs data in place. Fix build.

svn path=/trunk/; revision=57195
2012-08-28 23:17:31 +00:00
Timo Kreuzer
55e8e7e844 [USER32]
Use LONG instead of DWORD for a signed value

svn path=/trunk/; revision=57194
2012-08-28 20:24:55 +00:00
Jérôme Gardou
93bcd62701 [I_KNEW_IT_WOULD_HAPPEN]
- Fix build

svn path=/trunk/; revision=57193
2012-08-28 19:16:02 +00:00
Jérôme Gardou
339e914f82 [DIRECTX]
- sync ddraw, d3d8, d3d9 and wined3d with wine 1.5.11

svn path=/trunk/; revision=57192
2012-08-28 19:08:01 +00:00
Jérôme Gardou
820550bfd1 [CMAKE/WIDL]
- Add support for the wine COM interface registering

svn path=/trunk/; revision=57191
2012-08-28 19:02:29 +00:00
Jérôme Gardou
c2d3694c91 [WINGDI.H]
- Add missing DMDO_* definitions

svn path=/trunk/; revision=57190
2012-08-28 09:27:07 +00:00
Cameron Gutman
3466b93822 [LWIP]
- Increase window size to 65535 so large sends work properly because send buffering still sucks

svn path=/trunk/; revision=57189
2012-08-28 00:36:47 +00:00
Cameron Gutman
d9048b67de [AFD]
- Fix handling pending writes in the TDI_SEND completion routine

svn path=/trunk/; revision=57188
2012-08-28 00:26:26 +00:00
Cameron Gutman
083efd4ac3 [AFD]
- Rewrite a large portion of the send code to have proper support for overlapped and non-blocking sockets

svn path=/trunk/; revision=57187
2012-08-28 00:14:08 +00:00
Cameron Gutman
f65fc45ba2 [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
2012-08-27 23:58:40 +00:00
Cameron Gutman
c71cca6db6 [AFD]
- Fix enabling of some event select triggers

svn path=/trunk/; revision=57185
2012-08-27 22:18:29 +00:00
Cameron Gutman
bc74b19760 [AFD]
- Mask out disabled events properly

svn path=/trunk/; revision=57184
2012-08-27 21:53:09 +00:00
Jérôme Gardou
3587ef7aff [MSVCRTEX]
- Better fix for DLLs not providing a DllMain function, as per Timo's remarks.

svn path=/trunk/; revision=57183
2012-08-27 21:34:42 +00:00
Amine Khaldi
5810d8370f [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
2012-08-27 21:24:22 +00:00
Amine Khaldi
2a0e108e5b [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
2012-08-27 18:58:27 +00:00
Amine Khaldi
b60aa289ab [PSEH2]
* Make _SEH_DontInline() static inline.

svn path=/trunk/; revision=57180
2012-08-27 18:55:37 +00:00
Jérôme Gardou
fdcdcb6339 [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
2012-08-27 16:34:17 +00:00
Cameron Gutman
c49946e714 [AFD]
- Fix broken overlapped I/O on sockets

svn path=/trunk/; revision=57178
2012-08-27 06:50:01 +00:00
Cameron Gutman
f2ac4605ca [MSAFD]
- Add error translation for STATUS_ACCESS_VIOLATION

svn path=/trunk/; revision=57177
2012-08-27 06:34:21 +00:00
Cameron Gutman
2a9a4034d9 [AFD]
- Fix a bug causing the event passed to WSAEnumNetworkEvents to remain set after the call

svn path=/trunk/; revision=57176
2012-08-27 06:19:19 +00:00
Cameron Gutman
6c0d0cbab0 [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
2012-08-27 04:16:28 +00:00
Cameron Gutman
55be1f528f [AFD]
- Fix some size assumptions that fail on 64-bit

svn path=/trunk/; revision=57174
2012-08-27 03:43:40 +00:00
Cameron Gutman
18c4b99d08 [AFD]
- Only access stack parameters when we're sure that the major function is correct

svn path=/trunk/; revision=57173
2012-08-27 03:42:28 +00:00
Jérôme Gardou
ee2934ab01 [CRT]
- Fix some UNICODE vs non UNICODE definition mess.

svn path=/trunk/; revision=57172
2012-08-26 23:54:52 +00:00
Jérôme Gardou
dec26d7804 [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
2012-08-26 23:31:49 +00:00
Cameron Gutman
63d0bb53e4 [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
2012-08-26 22:31:18 +00:00
Cameron Gutman
aa6611286c [LWIP]
- Fix broken handling of partial receives

svn path=/trunk/; revision=57169
2012-08-26 22:24:49 +00:00
Cameron Gutman
44356bb773 [AFD]
- Fix returning uninitialized data from FIONREAD when the socket is not bound or connected

svn path=/trunk/; revision=57168
2012-08-26 20:13:22 +00:00
Eric Kohl
1925cef7a0 [ADVAPI32/LSASRV]
- Implement LsaSetSeceret/LsarSetSecret (secret values are not encrypted yet) and LsaSetSystemAccessAccount.
- Improve some TRACE messages.

svn path=/trunk/; revision=57167
2012-08-26 14:05:27 +00:00
Thomas Faber
8003401991 [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
2012-08-26 12:06:45 +00:00
Thomas Faber
38ce718bde [GDI32_APITEST]
- Fix build

svn path=/trunk/; revision=57165
2012-08-26 11:35:58 +00:00
Thomas Faber
3287e13f6f [GDI32_APITEST]
- Actually run the CreateIconIndirect test when it's called

svn path=/trunk/; revision=57164
2012-08-26 11:17:37 +00:00
Amine Khaldi
dc347de6b4 [CMAKE]
* Escape the source folder here.

svn path=/trunk/; revision=57163
2012-08-26 11:14:52 +00:00
Aleksey Bragin
d176c89f74 [SYSCALLS]
- Remove old unnecessary copy of syscalls.inc

svn path=/trunk/; revision=57162
2012-08-26 10:22:39 +00:00