Commit graph

51660 commits

Author SHA1 Message Date
Art Yerkes c487b06067 [NTOSKRNL]
Fix some problems with the lock implementation
- Add a 'generation' to the lock IRPs so we know if we've reprocessed them on any
  specific turn when we unlock something else.
- Simplify coalescing of lock regions to just rebuilding the region by going through
  the shared lock list and expanding a new region with any overlaps.
- Simplify coalescing new shared locks into larger regions in the same manner.

svn path=/trunk/; revision=56953
2012-07-23 18:53:50 +00:00
Art Yerkes 682ce04b5a [FORMATTING]
Removing tabs, no code change.

svn path=/trunk/; revision=56952
2012-07-23 18:50:16 +00:00
Jérôme Gardou fd59686178 [WIN32SS/NTGDI]
- Do not assume that DC has a valid surface attached in GreExtTextOutW

svn path=/trunk/; revision=56951
2012-07-23 15:35:42 +00:00
Thomas Faber 43273addf5 [NPFS]
- Keep a reference count for FCBs to prevent race conditions when closing multiple handles to the same pipe concurrently
- Acquire the pipe list lock in NpfsQueryDirectory to guard against concurrent deletion of pipes
See issue #7205 for more details.

svn path=/trunk/; revision=56950
2012-07-23 13:24:48 +00:00
Jérôme Gardou 166dfc8238 [WIN32SS/NTGDI]
- return default bitmap if no surface is attached to the DC
- clean up code a bit

svn path=/trunk/; revision=56949
2012-07-23 12:19:30 +00:00
Jérôme Gardou 3ac46be1b0 [WIN32SS/NTGDI]
- Initialize all DC brushes with 1x1 monochrome bitmap at DC creation

svn path=/trunk/; revision=56948
2012-07-23 11:02:06 +00:00
Jérôme Gardou 239edc1a73 [WIN32SS/GDI]
svn path=/trunk/; revision=56947
2012-07-23 10:12:53 +00:00
James Tabor 23c9176d87 [User32]
- Do not send on a null window, fixes start up and shut down spurious window handle errors.

svn path=/trunk/; revision=56946
2012-07-23 05:36:26 +00:00
James Tabor 17836bbe19 [User32]
- Use system gray brush.

svn path=/trunk/; revision=56945
2012-07-23 05:30:15 +00:00
Jérôme Gardou 405f863521 [NTOSKRNL]
- Forgot amd64 file

svn path=/trunk/; revision=56944
2012-07-23 00:52:44 +00:00
Jérôme Gardou a3e1af9897 [NTOSKRNL]
- Raise system PTE count to 44000 for system with more than 256MB of RAM.
- http://www.osronline.com/ddkx/appendix/enhancements5_3oc3.htm claims that winXP supports a 960MB-contiguous mapping...

svn path=/trunk/; revision=56943
2012-07-23 00:52:01 +00:00
Jérôme Gardou 78bdedec32 [WIN32SS/NTGDI]
- Don't assume DC surface in non NULL in NtGdiSetDIBitsToDeviceInternal

svn path=/trunk/; revision=56942
2012-07-22 21:19:02 +00:00
Timo Kreuzer d949749e32 [DIBLIB]
- Make file names unix conform
- Cleanup code

svn path=/trunk/; revision=56941
2012-07-22 20:24:10 +00:00
Thomas Faber 3161623a23 [ADVAPI32]
- Fix a potential memory leak. Spotted by Hermès

svn path=/trunk/; revision=56940
2012-07-22 18:48:28 +00:00
Timo Kreuzer 189a83fdde [NTOSKNRL]
Add a missing NULL check in IoShutdownSystem

svn path=/trunk/; revision=56939
2012-07-22 18:48:09 +00:00
Thomas Faber dd12f74611 [ADVAPI32]
- Fix a double free

svn path=/trunk/; revision=56938
2012-07-22 18:25:53 +00:00
Timo Kreuzer 505f66f454 [CMAKE]
Fix configure script for arm

[GENINC]
Add support for IMAGE_FILE_MACHINE_ARMNT

svn path=/trunk/; revision=56937
2012-07-22 16:29:47 +00:00
Eric Kohl 611b08e507 [SAMSRV]
- Ensure that account names are not in use when a new alias, group or user is created. Return a proper status code if the account name is alread in use.
- Initialize logon/password  related data for new user account objects.
- Add missing prototypes and user account control bits to ntsam.h

svn path=/trunk/; revision=56936
2012-07-22 15:12:00 +00:00
Timo Kreuzer d62e513aad [CMAKE]
Add support for MSVC ARM
Configuration script works as usual from VS 11 ARM command prompt, host tools is configured for x86 and must be compiled from a VS x86 command prompt.

svn path=/trunk/; revision=56935
2012-07-22 14:21:43 +00:00
Jérôme Gardou 7024c1ba5c [CMAKE]
- Revert r56892 and r56889.
Add a comment as to why this should be this way.

svn path=/trunk/; revision=56934
2012-07-22 11:03:20 +00:00
Jérôme Gardou 3465a99308 [DIBLIB]
- Fix GCC compilation

svn path=/trunk/; revision=56933
2012-07-22 00:15:02 +00:00
Aleksey Bragin da04e4981b [CMLIB]
- Remove unused HFILE_TYPE_ALTERNATE.
- Reapply changes from r56884: Hermes Belusca: Fix wrong definition of CMHIVE structure.
See issue #7162 for more details.

svn path=/trunk/; revision=56932
2012-07-21 23:27:30 +00:00
Jérôme Gardou 4be2c40f92 [WIN32SS/USER]
- Handle transferring buffer to user mode in WH_CALLWNDPROC(RET) hooks if lParam is a pointer.
This fixes the gallium3d opengl ICD, so newest VMWare opengl Driver should now work.
Please TEST!

svn path=/trunk/; revision=56931
2012-07-21 22:59:41 +00:00
Jérôme Gardou 5cc65e64c7 [APITESTS/CRT]
- Test errno value on failure

svn path=/trunk/; revision=56930
2012-07-21 20:15:12 +00:00
Jérôme Gardou 9c54cdba31 [OOPS]
- Forgot some files

svn path=/trunk/; revision=56929
2012-07-21 20:05:18 +00:00
Jérôme Gardou 221e348e01 [APITESTS/CRT]
- Add more tests for _vsnprintf
- Add tests for _vsnwprintf, _vscprintf, _vscwprintf

svn path=/trunk/; revision=56928
2012-07-21 20:00:56 +00:00
Jérôme Gardou ab3aa90f77 [CRT]
- Implement _vsc(w)printf for msvcrt

svn path=/trunk/; revision=56927
2012-07-21 19:59:47 +00:00
Alex Ionescu 5e1b6eac22 [NTOSKRNL]: Add more support for session space, including mapping and unmapping views into it, as well as putting in the correct checks in the page fault handler for future work.
[NTOSKRNL]: Cleanup the page fault handler to help with debugging, fix a few bugs and missing perf counters. There's a lot of cut corners that need some love, will be slowly adding more asserts/sanity code to make sure things are working right.

svn path=/trunk/; revision=56926
2012-07-21 19:07:11 +00:00
Jérôme Gardou f505107ac2 [APITESTS]
- Move _vsnprintf to crt tests, where it belongs, and make it pass for crtdll

svn path=/trunk/; revision=56925
2012-07-21 17:15:08 +00:00
Jérôme Gardou 7ee4b9f4f0 [MSVCRT_APITEST]
- add basic test for _vsnprintf
This is mostly to verify if WINE's implementation of _vcsprintf is correct

svn path=/trunk/; revision=56924
2012-07-21 16:31:03 +00:00
Amine Khaldi b8244617b9 [REGEDIT]
* Don't include these two headers twice for the resources.

svn path=/trunk/; revision=56923
2012-07-21 15:01:13 +00:00
Amine Khaldi 9e251dd3cc [WINE/CONFIG.H]
* Don't automatically include buildno.h.

svn path=/trunk/; revision=56922
2012-07-21 15:00:35 +00:00
Amine Khaldi 5efd13d09d [LIBXSLT]
* Add to the MSVC build.

svn path=/trunk/; revision=56921
2012-07-21 13:53:29 +00:00
Amine Khaldi 7ba318b692 [LIBTIFF]
* Fix MSVC build.

svn path=/trunk/; revision=56920
2012-07-21 13:22:01 +00:00
Amine Khaldi 3288d713d7 [LIBPNG]
* Fix MSVC build.

svn path=/trunk/; revision=56919
2012-07-21 13:09:28 +00:00
Sylvain Petreolle c7feb9e779 Update zlib to version 1.2.7.
Enable zlib into wininet.

Patch by Vincenzo Cotugno.
See bug 7197 for details.

svn path=/trunk/; revision=56918
2012-07-21 12:53:16 +00:00
Eric Kohl a529ab3a74 [SAMSRV]
Check if the name of a new account (alias, group or user) is used before the account is created. This check is needed because account names must be unique.

svn path=/trunk/; revision=56917
2012-07-20 20:42:53 +00:00
Jérôme Gardou 1f4032c1e2 [OPENGL32]
* use MakeCurrent(NULL, NULL) to unset the current context.

svn path=/trunk/; revision=56916
2012-07-19 21:55:56 +00:00
Jérôme Gardou 84d5a017bf [OPENGL32]
* Stub-plement glDebugEntry
Taken from the WINE project

svn path=/trunk/; revision=56915
2012-07-19 21:54:27 +00:00
Jérôme Gardou 557825f067 [OPENGL32]
- update spec file

svn path=/trunk/; revision=56914
2012-07-19 21:40:17 +00:00
Sylvain Petreolle 70249c8d50 [ZLIB]
Remove svn:keywords properties.


svn path=/trunk/; revision=56913
2012-07-19 10:10:58 +00:00
Thomas Faber b62b8a237f [LIBPNG]
- Do not duplicate headers. Update out-of-sync public headers. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=56912
2012-07-18 22:41:51 +00:00
Pierre Schweitzer 6be6be9edb [CALC][CHARMAP][MPLAY32][DEVMGMT][SERVMAN][REGEDIT][SNDREC32][SNDVOL32][TASKMGR]
Update French translation.
Patch by Hermès Belusca - Maito
See issue #7196 for more details.

svn path=/trunk/; revision=56911
2012-07-18 18:22:02 +00:00
Thomas Faber 601365122d [ZLIB]
- Do not duplicate header files. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=56910
2012-07-18 17:13:22 +00:00
Amine Khaldi 56747bcf8f [HAL]
* Leverage the object library option provided by CMake 2.8.8+ which will speed up the build even further.
* Compared strings using STREQUAL.
* These wrapping conditions will go away as soon as we ship the new BE.

svn path=/trunk/; revision=56909
2012-07-17 14:11:49 +00:00
Amine Khaldi 9622dedd9f [CMAKE]
* Make use of the TARGET_PDB variable to consistently group the separate debug files into a symbols folder.

svn path=/trunk/; revision=56908
2012-07-17 14:08:18 +00:00
Aleksey Bragin 4c86cb1642 [SCSIPORT]
- Fix a regression from r56863. New logic is: the requested data size is sizeof(ULONG), so if the result read is less than that - continue to the next slot. Thanks to SomeGuy for pointing out the problem.
See issue #7147 for more details.

svn path=/trunk/; revision=56907
2012-07-17 10:31:03 +00:00
Alex Ionescu 048094c59e [NTOSKRNL]: Implement support for session pool (not yet enabled) and session space (implemented and enabled, but nobody is calling the APIs yet).
[NTOSKRNL]: Implement MmMapViewOInSessionSpace, MmUnmapViewInSessionSpace. Win32k needs to use these to we can test them.

svn path=/trunk/; revision=56906
2012-07-15 23:42:27 +00:00
Amine Khaldi 2ab30b8365 [CMAKE]
* Generate the dbg files next to the binary files.

svn path=/trunk/; revision=56905
2012-07-15 22:16:44 +00:00
Eric Kohl 1db5a7aa08 [USERENV]
Implement stubs for userenv.dll.
Patch by Hermes Belusca.

See issue #7184 for more details.

svn path=/trunk/; revision=56904
2012-07-15 21:23:22 +00:00