Amine Khaldi [Sun, 16 Jan 2011 22:11:35 +0000 (22:11 +0000)]
[CMAKE]
- Adapt gdi32 apitest cmake build to the recent changes.
svn path=/trunk/; revision=50407
Timo Kreuzer [Sun, 16 Jan 2011 21:41:47 +0000 (21:41 +0000)]
[USER32]
- Fix bug in CreateIconIndirect
- implement get_icon_size
- use unmodified wine code for STATIC_PaintIconfn
svn path=/trunk/; revision=50406
Timo Kreuzer [Sun, 16 Jan 2011 21:03:20 +0000 (21:03 +0000)]
[USER32_APITEST]
Add tests for GetIconInfo.
svn path=/trunk/; revision=50405
Timo Kreuzer [Sun, 16 Jan 2011 20:53:48 +0000 (20:53 +0000)]
[GDI32_APITEST]
Add tests for DPtoLP
- More tests for CombineTransform, CreateBitmapIndirect and SelectObject
svn path=/trunk/; revision=50404
Timo Kreuzer [Sun, 16 Jan 2011 18:16:24 +0000 (18:16 +0000)]
[AMD64]
Add ksamd64.inc
svn path=/trunk/; revision=50403
Matthias Kupfer [Sun, 16 Jan 2011 18:15:12 +0000 (18:15 +0000)]
- Fix replaced by more flexible code for arbitrary cursor sizes
svn path=/trunk/; revision=50402
Thomas Bluemel [Sun, 16 Jan 2011 17:08:07 +0000 (17:08 +0000)]
Implement GetClassLongPtrA/W
svn path=/trunk/; revision=50399
Matthias Kupfer [Sun, 16 Jan 2011 12:51:14 +0000 (12:51 +0000)]
- Fix draw of cursors in static controls
- Last part of fix for bug #4874
svn path=/trunk/; revision=50398
Thomas Bluemel [Sun, 16 Jan 2011 02:51:58 +0000 (02:51 +0000)]
Create a security descriptor for the desktops rather than passing the ACLs in as a security descriptor
svn path=/trunk/; revision=50397
Thomas Bluemel [Sun, 16 Jan 2011 01:32:45 +0000 (01:32 +0000)]
Portability bugfixes
svn path=/trunk/; revision=50396
Timo Kreuzer [Sat, 15 Jan 2011 19:42:56 +0000 (19:42 +0000)]
[WIN32K]
Set correct error value on failure in NtUserSetCursor. Patch by Victor Martinez.
svn path=/trunk/; revision=50392
Timo Kreuzer [Sat, 15 Jan 2011 19:13:22 +0000 (19:13 +0000)]
[NTOSKRNL]
Fix comments and reduce code complexity.
svn path=/trunk/; revision=50391
Eric Kohl [Sat, 15 Jan 2011 14:35:26 +0000 (14:35 +0000)]
[NTOSKRNL]
Simplify SepPrivilegeCheck.
Patch by Timo Kreuzer.
svn path=/trunk/; revision=50390
Timo Kreuzer [Sat, 15 Jan 2011 12:58:05 +0000 (12:58 +0000)]
[PING]
Fix MyLoadString. Patch by menone7 at gmail dot com.
svn path=/trunk/; revision=50389
Timo Kreuzer [Sat, 15 Jan 2011 11:18:01 +0000 (11:18 +0000)]
[CRT]
Fix uninitialized warning
svn path=/trunk/; revision=50387
Giannis Adamopoulos [Fri, 14 Jan 2011 23:20:26 +0000 (23:20 +0000)]
Revert 50381 and 50382. Altough it reduces number of reboots in the test server, it somehow reveals a registry corruption and cripples completely automated testing
svn path=/trunk/; revision=50386
Timo Kreuzer [Fri, 14 Jan 2011 20:00:10 +0000 (20:00 +0000)]
[CRT]
Fix miscalculation of number of decimal points to shift for %f format. Should fix shlwapi:string tests and bug 5818.
svn path=/trunk/; revision=50385
Roel Messiant [Fri, 14 Jan 2011 18:47:57 +0000 (18:47 +0000)]
[IPHLPAPI]
- Remove conditional redefine of DPRINT. Wine debug channels at this point, and we have NDEBUG.
- Use TRACE instead of DbgPrint. Gets rid of the "Status 2" spam when no static nameserver is in the registry.
svn path=/trunk/; revision=50384
Amine Khaldi [Thu, 13 Jan 2011 11:13:09 +0000 (11:13 +0000)]
[CMAKE]
- Fix rosautotest build.
svn path=/trunk/; revision=50382
Giannis Adamopoulos [Thu, 13 Jan 2011 09:58:04 +0000 (09:58 +0000)]
[rosautotest]
-Implement closing any dialog that shows and stays visible for some time. This way rosautotest can now continue if a test application crashes or asserts.
svn path=/trunk/; revision=50381
Giannis Adamopoulos [Thu, 13 Jan 2011 09:56:32 +0000 (09:56 +0000)]
[user32]
- Implement sending EVENT_SYSTEM_DIALOGSTART event. It will be used by rosautotest
svn path=/trunk/; revision=50380
Roel Messiant [Wed, 12 Jan 2011 23:20:02 +0000 (23:20 +0000)]
[CMAKE]
- Add tests for CombineTransform and MaskBlt, part 2. Build is happy again.
svn path=/trunk/; revision=50379
Johannes Anderwald [Wed, 12 Jan 2011 22:25:16 +0000 (22:25 +0000)]
Fix typos ;)
svn path=/trunk/; revision=50378
Pierre Schweitzer [Wed, 12 Jan 2011 21:55:48 +0000 (21:55 +0000)]
[PING]
French translation patch from myself aka Pierre Schweitzer, with deepest love, and so on...
svn path=/trunk/; revision=50377
Timo Kreuzer [Wed, 12 Jan 2011 21:35:45 +0000 (21:35 +0000)]
[PING]
Italian translation of ping. Patch by Vincenzo Cotugno ( vins8920 at hotmail dot com)
svn path=/trunk/; revision=50376
Timo Kreuzer [Wed, 12 Jan 2011 21:15:46 +0000 (21:15 +0000)]
[WIN32K]
Go back to hiding the cursor with GreMovePointer, instead of setting NULL bitmaps. While MSDN states that psoColor and psoMask can both be NULL in DrvSetPointerShape, it doesn't explicitly say anything about both being NULL at the same time. VBox driver doesn't expect that and will crash, so most likely windows doesn't do this.
svn path=/trunk/; revision=50375
Timo Kreuzer [Wed, 12 Jan 2011 20:05:06 +0000 (20:05 +0000)]
[PING]
Polish translation of ping. Patch by Olaf Siejka.
svn path=/trunk/; revision=50374
Timo Kreuzer [Wed, 12 Jan 2011 17:12:09 +0000 (17:12 +0000)]
[PING]
Add German translation.
svn path=/trunk/; revision=50373
Timo Kreuzer [Wed, 12 Jan 2011 15:31:20 +0000 (15:31 +0000)]
[PING]
Implement small helper MyLoadString, using FindResource, LoadResource, LockResource and replacing LoadString, so we don't need to link to user32 anymore.
svn path=/trunk/; revision=50372
Timo Kreuzer [Wed, 12 Jan 2011 14:57:22 +0000 (14:57 +0000)]
[PING]
Add localization support to ping. Patch by "none" (menone7 at gmail dot com)
See issue #5500 for more details.
svn path=/trunk/; revision=50371
Timo Kreuzer [Wed, 12 Jan 2011 14:02:54 +0000 (14:02 +0000)]
[WIN32K]
Reset monitor size after mode switch. patch by rafalh <rafalh1992 at o2 dor pl>
See issue #5727 for more details.
svn path=/trunk/; revision=50370
Timo Kreuzer [Wed, 12 Jan 2011 13:40:34 +0000 (13:40 +0000)]
[NTOSKRNL]
Remove broken definition of SharedUserdata and use correct SharedUserData instead. Fixes a crash on real Hardware. Patch by Daniel Zimmermann (netzimme at googlemail dot com)
See issue #5650 for more details.
svn path=/trunk/; revision=50369
Timo Kreuzer [Wed, 12 Jan 2011 13:22:12 +0000 (13:22 +0000)]
[EXPLORER_NEW]
Open a context menu, when a task is right clicked.
Patch by greenie (greenie__ at hotmail dot com)
See issue #4671 for more details.
svn path=/trunk/; revision=50368
Timo Kreuzer [Wed, 12 Jan 2011 13:12:00 +0000 (13:12 +0000)]
[EXPLORER_NEW]
Provide the ability to query version info (needed for task
grouping).
Patch by DavidErceg <dave_154@hotmail.com>
See issue #4386 for more details.
svn path=/trunk/; revision=50367
Timo Kreuzer [Wed, 12 Jan 2011 11:49:29 +0000 (11:49 +0000)]
[WIN32K]
- In UserSetCursor, return a pointer to the old cursor, not the handle
- really delete the pointer shape when NULL cursor is set, instead of just hiding it.
- Move reference handling completely to NtUserSetCursor
- In UserChangeDisplaySettings, set NULL cursor before change and restore old cursor after change to make sure we have the right color format.
See issue #5722 for more details.
svn path=/trunk/; revision=50365
Timo Kreuzer [Wed, 12 Jan 2011 01:01:30 +0000 (01:01 +0000)]
[WIN32K]
Don't leak the memory for DIB sections. we set BMF_DONT_FREE in SURFACE_bSetBitmapBits, when the caller provides bits. This needs to be reconsidered.
svn path=/trunk/; revision=50363
Timo Kreuzer [Wed, 12 Jan 2011 00:26:20 +0000 (00:26 +0000)]
[WIN32K]
Don't trat BI_BITFIELDS as compressed format in DIB_CreateDIBSection. Fixes KSStudio. Why it was introduced by r48359? I don't know. It was broken before. I refrain from making any more comments about that piece of ... code.
See issue #5781 for more details.
svn path=/trunk/; revision=50362
Timo Kreuzer [Tue, 11 Jan 2011 19:57:55 +0000 (19:57 +0000)]
[USER32]
- Use new wsprintf library, remove old code (536 lines)
- Fixes output of %I64, for example dxdiag
svn path=/trunk/; revision=50361
Timo Kreuzer [Tue, 11 Jan 2011 19:09:48 +0000 (19:09 +0000)]
[CRT]
- Add user32_wsprintf library, with all the wsprintf functions, generated from the same codebase
- simplify handling of ll modifier in streamout
svn path=/trunk/; revision=50360
Giannis Adamopoulos [Tue, 11 Jan 2011 19:04:44 +0000 (19:04 +0000)]
fix build
svn path=/trunk/; revision=50359
Giannis Adamopoulos [Tue, 11 Jan 2011 18:55:19 +0000 (18:55 +0000)]
fix build
svn path=/trunk/; revision=50358
Giannis Adamopoulos [Tue, 11 Jan 2011 18:47:16 +0000 (18:47 +0000)]
[undocuser.h]
- gather several undocumented definitions for user32 that were defined in several different files, sometimes in the source, sometimes in headers and sometimes defined several times here and there
This file should not contain internal user32 definitions but undocumented public definitions
svn path=/trunk/; revision=50357
Timo Kreuzer [Tue, 11 Jan 2011 15:17:35 +0000 (15:17 +0000)]
[CRT]
Remove deprecated <if>.
svn path=/trunk/; revision=50356
Timo Kreuzer [Tue, 11 Jan 2011 13:13:47 +0000 (13:13 +0000)]
[CRT]
Get rid of the old printf code and some unused functions. 3346 lines of code less.
svn path=/trunk/; revision=50355
Timo Kreuzer [Tue, 11 Jan 2011 12:17:46 +0000 (12:17 +0000)]
[CRT]
Improve code readability a bit
svn path=/trunk/; revision=50354
Timo Kreuzer [Mon, 10 Jan 2011 09:53:56 +0000 (09:53 +0000)]
[WIN32K]
Remove debugging code.
svn path=/trunk/; revision=50352
James Tabor [Mon, 10 Jan 2011 01:36:14 +0000 (01:36 +0000)]
[Win32k]
- Implement NtGdiCreateMetafileDC.
- Since most of the gdi work I committed is being reverted or if'ed out of existence, this will be the last.
svn path=/trunk/; revision=50351
James Tabor [Mon, 10 Jan 2011 01:30:17 +0000 (01:30 +0000)]
[Win32k]
- Win32k implementation of GetCharacterPlacementW, work is dedicated to the late Professor John Collins.
svn path=/trunk/; revision=50350
Timo Kreuzer [Sun, 9 Jan 2011 23:23:42 +0000 (23:23 +0000)]
[WIN32K]
Fix use of XFORMOBJ. Should fix gdi32_winetest clipping regression and release breakage.
svn path=/trunk/; revision=50349
Roel Messiant [Sun, 9 Jan 2011 20:52:22 +0000 (20:52 +0000)]
[NTOS]
Complete rewrite reserving and releasing of System PTEs.
The previous algorithm, in a nutshell, worked as follows:
- PTE clusters are in a singly linked list, ordered by their base address.
- All PTEs in the clusters are zeroed (except for cluster list bookkeeping).
- Upon reservation: Walk the list to get the first cluster that's large enough, cut the requested amount of PTEs off its tail and return them.
- Upon release: Create a new cluster using the PTEs to release, and merge it together with possible adjacent clusters.
Problems with the previous algorithm:
- While the idea is that all PTEs in clusters are zeroed, which requesters rely on, cluster bookkeeping isn't zeroed on merges.
The side effect of this was that PTEs that weren't really zeroed were randomly delivered to requesters.
- 99% of the time, allocations are serviced using the first cluster in the list, which is virtually always the first suitable cluster.
This is so because the ordering is based on the base address of the clusters, and allocations are serviced using the cluster tail.
Because the first cluster starts out as the whole pool, and the pool is quite sizable, it can deal with virtually allocations.. for a while.
- A corollary of the previous point is *massive fragmentation* because: as long as an allocation isn't released back into the pool,
the space of previous allocations that have been released isn't reused because the first cluster can't suck them up, and enough allocations remain in use.
- The combined effect of the previous two points: a first cluster that effectively shrinks mostly, with small clusters forming behind it.
Once the first cluster has shrunk far enough (which of course takes a long time), 90% of the space may still be free, scattered in mostly small clusters.
This would make decent sized allocations fail because of the heavy fragmentation.
- An implementation detail that caused the head of the list to be treated as a genuine cluster when the first cluster in the list was too small.
The algorithm (as explained above) made this case quite unlikely until your system has been running for a while, after which it could happily
corrupt list heads of other pools, depending on where the list head is with respect to its own pool.
Empirically obtained data revealed that after just *booting to the desktop*, the pool for System Pte Space entries
contained roughly 70 (unusable) clusters, blocking 15 to 20% of the pool. These figures increased to roughly 100
clusters and 30 to 35% after opening a foxy browser and using it to visit a mathematically inspired search engine.
The same data also showed that over 95% of allocations requested just a single PTE, and a noticable allocation spike
also occured in the range of 65-128 PTEs. It should be clear optimizing for small allocations is a good idea,
and preferably encourage reuse the same PTEs for such allocations.
And the new algorithm was born:
- PTE clusters are in a singly linked list, ordered by increasing cluster size.
- All PTEs in the clusters are zeroed (except for cluster list bookkeeping) .. really this time!
- Upon reservation: Walk the list to get the first cluster that's large enough, cut the requested amount of PTEs off its tail and return them.
- Upon release: Create a new cluster using the PTEs to release, and merge it together with possible adjacent clusters.
- Both in the reservation and release actions, insertions into the list preserve the increasing cluster size order.
Empirically obtained data now revealed that after just booting to the desktop, the pool for System Pte Space entries
contained exactly 2 clusters. This increased to 10 clusters after some minor internet browsing and watching a 5 minute video using a media player.
svn path=/trunk/; revision=50347
Timo Kreuzer [Sun, 9 Jan 2011 19:51:06 +0000 (19:51 +0000)]
[WIN32K]
Cleanup pooltags a little, use official tags where known and applicable.
svn path=/trunk/; revision=50345
Timo Kreuzer [Sun, 9 Jan 2011 18:53:58 +0000 (18:53 +0000)]
[WIN32K]
In GreCreateBitmapEx handle allocation failure in the rle hack path and set LastError, when failed to allocate bitmap bits.
svn path=/trunk/; revision=50344
Timo Kreuzer [Sun, 9 Jan 2011 18:38:41 +0000 (18:38 +0000)]
[WIN32K]
- In BitmapFormat, allow intermediate bpp values, use ULONG as parameter type, instead of WORD and DWORD
- In NtGdiCreateBitmap get the real bpp value from the gajBitsPerFormat array
- Add back check of too large nWidth (needed to make sure, cjWidthBytes didn't overflow)
- Merge all parameter checks
- Check cPlanes and cBitsPixel paramters explicitly
- Use GreCreateBitmapEx
- Remove BITMAP_GetRealBitsPixel
svn path=/trunk/; revision=50343
Timo Kreuzer [Sun, 9 Jan 2011 18:11:44 +0000 (18:11 +0000)]
[WIN32K]
Improve NtGdiStretchDIBitsInternal, use _SEH2_YIELT instead of saving an NTSTATUS and handle the fast path in place instead of setting a BOOL variable. Fixes warnings about uninitialized variables.
svn path=/trunk/; revision=50342
Dmitry Gorbachev [Sun, 9 Jan 2011 15:11:49 +0000 (15:11 +0000)]
[FREELDR]
Delete a duplicate line.
svn path=/trunk/; revision=50339
Timo Kreuzer [Sat, 8 Jan 2011 19:24:29 +0000 (19:24 +0000)]
{GDI32]
Check paramters in CombineTransform
svn path=/trunk/; revision=50332
Timo Kreuzer [Sat, 8 Jan 2011 19:20:20 +0000 (19:20 +0000)]
[GDI32_APITEST]
Remove the stuff that shouldn't have been comitted.
svn path=/trunk/; revision=50331
Timo Kreuzer [Sat, 8 Jan 2011 19:06:38 +0000 (19:06 +0000)]
[GDI32]
- Move EFLOAT handling in seperate file, its x86 specific
- Implement CombineTransform fully in usermode instead of forwarding to NtGdiCombineTransform
- Implement MatrixToXForm
- Implement GdiTransformPoints
svn path=/trunk/; revision=50330
Timo Kreuzer [Sat, 8 Jan 2011 18:56:38 +0000 (18:56 +0000)]
[GDI32_APITEST]
Add tests for CombineTransform and MaskBlt
svn path=/trunk/; revision=50329
Timo Kreuzer [Sat, 8 Jan 2011 12:19:23 +0000 (12:19 +0000)]
[GDI32]
Implement GdiGetDcAttr. Just for convenience / cleaner code.
svn path=/trunk/; revision=50321
Aleksey Bragin [Sat, 8 Jan 2011 11:32:55 +0000 (11:32 +0000)]
[HEAP]
- Peer review rocks.
svn path=/trunk/; revision=50319
Timo Kreuzer [Fri, 7 Jan 2011 21:15:35 +0000 (21:15 +0000)]
[CRT]
Fix _flsbuf return value
svn path=/trunk/; revision=50314
Amine Khaldi [Fri, 7 Jan 2011 20:31:56 +0000 (20:31 +0000)]
[CMAKE]
- Add ntdll apitest to build.
svn path=/trunk/; revision=50312
Timo Kreuzer [Fri, 7 Jan 2011 20:11:56 +0000 (20:11 +0000)]
[NTDLL_APITEST]
Convert asm to GAS/ML compatible format
svn path=/trunk/; revision=50311
Aleksey Bragin [Fri, 7 Jan 2011 15:33:46 +0000 (15:33 +0000)]
[HEAP]
- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald.
svn path=/trunk/; revision=50309
Timo Kreuzer [Thu, 6 Jan 2011 22:00:26 +0000 (22:00 +0000)]
[WIN32K]
- Use if, instead of switch to handle flags in XFORMOBJ_bXformFixPoints
- Define XFORMOBJ to EXFORMOBJ, a stack object that links to the matrix
- There is no spoon.
svn path=/trunk/; revision=50307
Jérôme Gardou [Thu, 6 Jan 2011 19:03:09 +0000 (19:03 +0000)]
[APITESTS:GDI32]
Add missing \n
svn path=/trunk/; revision=50306
Michael Martin [Thu, 6 Jan 2011 18:45:18 +0000 (18:45 +0000)]
[usb/usbehci]:
- EhciDefferedRoutine: Only free Mdl if one was created when the request was added to the queue.
- Dont assume that three transfer descriptors need to be freed, use a while moving to each linked and free instead.
- Yabba Dabba Doo added to increase size of message. :)
svn path=/trunk/; revision=50304
Michael Martin [Thu, 6 Jan 2011 18:29:52 +0000 (18:29 +0000)]
[usb/usbehci]:
- Implement URB_FUNCTION_SELECT_INTERFACE.
- Add missing IoMarkIrpPending before calling SubmitControlRequest.
- Now use BuildSetupPacketFromURB for creating the CtrlSetup data structure.
- When selecting configuration, make the ConfigurationHandle from the related UsbDevice instead of always the RootHub device.
- Fix typo that caused all pipes to be marked as interrupt type.
- Change CompletePendingURBRequest to only complete one SCE request Irp.
svn path=/trunk/; revision=50303
Michael Martin [Thu, 6 Jan 2011 17:46:59 +0000 (17:46 +0000)]
[usb/usbehci]:
- Fix bug in InitializeUsbDevice that caused endpoints to be duplicated in internal config structure.
- Fix implementation of UsbRemoveDevice.
- Implement SetDeviceHandleData and RestoreUsbDevice.
- SubmitControlTransfer: Not all control request need data, in which case dont create a MDL and a PID_CODE_IN_TOKEN TD Descriptor.
- Fix bug in ReleaseMemory that caused memory not to be marked as free.
- Fix incorrect memory header size that resulted in memory corruption.
svn path=/trunk/; revision=50302
Daniel Reimer [Thu, 6 Jan 2011 12:44:01 +0000 (12:44 +0000)]
Update rapps database
svn path=/trunk/; revision=50297
Timo Kreuzer [Thu, 6 Jan 2011 00:19:40 +0000 (00:19 +0000)]
[WIN32K]
Fix a bug in FLOATOBJ_DivLong
svn path=/trunk/; revision=50296
Timo Kreuzer [Tue, 4 Jan 2011 22:29:43 +0000 (22:29 +0000)]
[CRT]
Fix build
svn path=/trunk/; revision=50291
Timo Kreuzer [Tue, 4 Jan 2011 22:22:13 +0000 (22:22 +0000)]
[CRT]
- Rewrite broken _flsbuf and implement _flswbuf
- use _flswbuf in wstreamout
- Fixes broken text output in dwnl etc
svn path=/trunk/; revision=50290
Sylvain Petreolle [Tue, 4 Jan 2011 22:19:45 +0000 (22:19 +0000)]
TRANSLATION: Fix browseui bulgarian resource filename.
svn path=/trunk/; revision=50289
Timo Kreuzer [Tue, 4 Jan 2011 18:18:28 +0000 (18:18 +0000)]
[WIN32K]
- Fix type of DCLEVEL::prgnClip / prgnMeta (PVOID -> PREGION)
- Move NtGdiGetRandomRgn to dcobjs.c
svn path=/trunk/; revision=50288
Johannes Anderwald [Tue, 4 Jan 2011 17:52:34 +0000 (17:52 +0000)]
[CRT]
- Fix build
svn path=/trunk/; revision=50287
Johannes Anderwald [Tue, 4 Jan 2011 17:29:10 +0000 (17:29 +0000)]
[CRT]
- Set errno when a overflow occurs in strtoull
- Fixes 2 wine tests failures in msvcrt:string
svn path=/trunk/; revision=50286
Johannes Anderwald [Tue, 4 Jan 2011 17:27:57 +0000 (17:27 +0000)]
[MSVCRT_WINETEST]
- Revert 50283
svn path=/trunk/; revision=50285
Roel Messiant [Tue, 4 Jan 2011 17:26:25 +0000 (17:26 +0000)]
[KERNEL32]
- ReadDirectoryChangesW: Treat the OVERLAPPED structure as an IO_STATUS_BLOCK, not one of its fields.
svn path=/trunk/; revision=50284
Timo Kreuzer [Tue, 4 Jan 2011 16:53:23 +0000 (16:53 +0000)]
[WIN32K]
- Simplify error checks, by reordering code in NtGdiScaleViewportExtEx
- Simplify exception handling, use _SEH2_YIELD
- Change function order
- Minor code improvements
svn path=/trunk/; revision=50283
Johannes Anderwald [Tue, 4 Jan 2011 16:45:03 +0000 (16:45 +0000)]
[MSVCRT_WINETEST]
- Comment out test which fails in WinXP SP3
svn path=/trunk/; revision=50282
Timo Kreuzer [Tue, 4 Jan 2011 15:52:59 +0000 (15:52 +0000)]
[WIN32K]
- Access the DC member directly instead of using IntGdiGetDCOrg
- Remove unused IntGdiGetDCOrg, GdiSetDCOrg, GdiGetDCOrgEx
svn path=/trunk/; revision=50281
Timo Kreuzer [Tue, 4 Jan 2011 12:36:19 +0000 (12:36 +0000)]
[WIN32K]
Implement NtGdiGetBoundsRect and NtGdiSetBoundsRect. Patch by Samuel Serapion with modifications by me.
svn path=/trunk/; revision=50280
Timo Kreuzer [Mon, 3 Jan 2011 20:00:25 +0000 (20:00 +0000)]
fix build
svn path=/trunk/; revision=50279
Timo Kreuzer [Mon, 3 Jan 2011 19:39:17 +0000 (19:39 +0000)]
[CRT]
Fix a number of errors in floating point output.
svn path=/trunk/; revision=50278
Sylvain Petreolle [Mon, 3 Jan 2011 11:24:54 +0000 (11:24 +0000)]
[CMAKE]
Add apitests and pseh2_test.
svn path=/trunk/; revision=50277
Timo Kreuzer [Mon, 3 Jan 2011 11:22:46 +0000 (11:22 +0000)]
[CRT]
Enable new printf implementation.
svn path=/trunk/; revision=50276
Timo Kreuzer [Mon, 3 Jan 2011 11:00:28 +0000 (11:00 +0000)]
[CRT]
Fix a bug in _ecvt that makes msvcrt_winetest::printf crash
svn path=/trunk/; revision=50275
Timo Kreuzer [Mon, 3 Jan 2011 10:33:58 +0000 (10:33 +0000)]
[CRT]
Fix several bugs in new printf implementation.
svn path=/trunk/; revision=50274
Timo Kreuzer [Mon, 3 Jan 2011 01:07:54 +0000 (01:07 +0000)]
[CRT]
Improve new printf implementation:
- remove duplicated code and implement a generic function for all (v)s(w)(n)printf
- don't call _flsbuf for string streams, while this works on windows, it doesn't work correctly on reactos (bug!)
- Fix return error codes
svn path=/trunk/; revision=50273
Roel Messiant [Mon, 3 Jan 2011 00:45:34 +0000 (00:45 +0000)]
[SETUPAPI]
- SetupDiClassNameFromGuidExW: Simplify interaction with registry.
- SetupDiCreateDeviceInfoW: Check for correct error value.
- SetupDiGetClassDescriptionExW: Rewrite to return the correct required size and prevent WCHAR sized buffer overflow.
- SetupDiGetClassDevsExW: Return INVALID_HANDLE_VALUE instead of NULL in failure case.
svn path=/trunk/; revision=50272
Timo Kreuzer [Sun, 2 Jan 2011 21:17:03 +0000 (21:17 +0000)]
[MSVCRT]
Apply a hack to msvcrt spec file to avoid duplicate definition of atexit. Mingw-w64 has an identical hack.
svn path=/trunk/; revision=50270
Timo Kreuzer [Sun, 2 Jan 2011 21:14:58 +0000 (21:14 +0000)]
[MINGW]
Revert r50267
svn path=/trunk/; revision=50269
Timo Kreuzer [Sun, 2 Jan 2011 20:39:40 +0000 (20:39 +0000)]
[MSVCRT_WINETEST]
Link explicitly to msvcrt, instead of importing half of the functions from ntdll.
svn path=/trunk/; revision=50268
Timo Kreuzer [Sun, 2 Jan 2011 20:38:42 +0000 (20:38 +0000)]
[MINGW]
Don't compile atonexit.c. atexit is exported from msvcrt.
svn path=/trunk/; revision=50267
Timo Kreuzer [Sun, 2 Jan 2011 20:15:14 +0000 (20:15 +0000)]
[MSVCRT]
Don't export _matherr
svn path=/trunk/; revision=50266
Eric Kohl [Sun, 2 Jan 2011 20:04:53 +0000 (20:04 +0000)]
[RBUILD]
Fix "format not a string literal and no format arguments" build warnings.
svn path=/trunk/; revision=50265
Eric Kohl [Sun, 2 Jan 2011 19:37:08 +0000 (19:37 +0000)]
[NPFS]
- Add support for FileFullDirectoryInformation and FileBothDirectoryInformation.
- Fix an off-by-one bug in the buffer size calculation.
- Zero-initialize the return buffer.
svn path=/trunk/; revision=50264
Roel Messiant [Sun, 2 Jan 2011 19:30:26 +0000 (19:30 +0000)]
[NTOS]
- Reduce PDE/PTE confusion a little more.
- MiQueryMemoryBasicInformation: Fall back on MEMORY_AREA data in sections until the MM rewrite also covers these. See issue #5791 for more info.
svn path=/trunk/; revision=50263