Commit graph

45498 commits

Author SHA1 Message Date
Timo Kreuzer
c2c492d850 [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
2011-01-09 18:53:58 +00:00
Timo Kreuzer
39b87b357f [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
2011-01-09 18:38:41 +00:00
Timo Kreuzer
3ecc17156e [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
2011-01-09 18:11:44 +00:00
Amine Khaldi
b02f54b843 [CMAKE]
- Add missing define.

svn path=/branches/cmake-bringup/; revision=50341
2011-01-09 17:24:39 +00:00
Amine Khaldi
4bb42765f5 [CMAKE]
- Improve the warnings and compiler flags according to the different architectures we have.

svn path=/branches/cmake-bringup/; revision=50340
2011-01-09 16:49:10 +00:00
Dmitry Gorbachev
e6182247f6 [FREELDR]
Delete a duplicate line.

svn path=/trunk/; revision=50339
2011-01-09 15:11:49 +00:00
Sylvain Petreolle
acf11aa2c7 [CMAKE]
Get a proper bootcd for unix builds (3rd stage.)
Thanks to Amine for his findings.


svn path=/branches/cmake-bringup/; revision=50338
2011-01-08 23:25:58 +00:00
Sylvain Petreolle
f8f7ec4d56 [CMAKE]
-fshort-wchar is not related to inline, neither is i386 specific.


svn path=/branches/cmake-bringup/; revision=50337
2011-01-08 23:22:54 +00:00
Sylvain Petreolle
398ded55b9 [CMAKE]
Move -fshort-wchar defintion (gcc specific).


svn path=/branches/cmake-bringup/; revision=50336
2011-01-08 22:33:22 +00:00
Amine Khaldi
aa6bee3557 [CMAKE]
- Prevent some status codes redefinitions.

svn path=/branches/cmake-bringup/; revision=50335
2011-01-08 21:41:12 +00:00
Amine Khaldi
152b92b928 [CMAKE]
- Improve message headers handling.

svn path=/branches/cmake-bringup/; revision=50334
2011-01-08 20:44:41 +00:00
Amine Khaldi
9d64a217d5 [CMAKE]
- Prevent cmake from escaping preprocessor definition values added via add_definitions.
- Fix a FIXME in oleaut32 and urlmon builds.

svn path=/branches/cmake-bringup/; revision=50333
2011-01-08 20:01:33 +00:00
Timo Kreuzer
907aab7488 {GDI32]
Check paramters in CombineTransform

svn path=/trunk/; revision=50332
2011-01-08 19:24:29 +00:00
Timo Kreuzer
c265d7532b [GDI32_APITEST]
Remove the stuff that shouldn't have been comitted.

svn path=/trunk/; revision=50331
2011-01-08 19:20:20 +00:00
Timo Kreuzer
ae1bdd5334 [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
2011-01-08 19:06:38 +00:00
Timo Kreuzer
281dd88c8c [GDI32_APITEST]
Add tests for CombineTransform and MaskBlt

svn path=/trunk/; revision=50329
2011-01-08 18:56:38 +00:00
Amine Khaldi
458d9009dd [CMAKE]
- Fix the browseui bulgarian translation file name.

svn path=/branches/cmake-bringup/; revision=50328
2011-01-08 14:11:37 +00:00
Amine Khaldi
a3ca9b561e [CMAKE]
- Fix rossym dependencies.

svn path=/branches/cmake-bringup/; revision=50327
2011-01-08 13:55:06 +00:00
Amine Khaldi
74811b583a [CMAKE]
- Fix more dependencies.

svn path=/branches/cmake-bringup/; revision=50326
2011-01-08 13:30:27 +00:00
Amine Khaldi
b4e7b22469 [CMAKE]
- Fix delayimp dependency.

svn path=/branches/cmake-bringup/; revision=50324
2011-01-08 13:19:38 +00:00
Amine Khaldi
dcee0f7cc5 [CMAKE]
- Fix dnslib dependency.

svn path=/branches/cmake-bringup/; revision=50323
2011-01-08 13:14:25 +00:00
Amine Khaldi
1ecaf59fcb [CMAKE]
- Fix a missing dependency.

svn path=/branches/cmake-bringup/; revision=50322
2011-01-08 13:00:35 +00:00
Timo Kreuzer
7cea632244 [GDI32]
Implement GdiGetDcAttr. Just for convenience / cleaner code.

svn path=/trunk/; revision=50321
2011-01-08 12:19:23 +00:00
Amine Khaldi
287ba86f03 [CMAKE]
- Add -fshort-wchar to host tools

svn path=/branches/cmake-bringup/; revision=50320
2011-01-08 11:52:58 +00:00
Aleksey Bragin
1e3d9c9a96 [HEAP]
- Peer review rocks.

svn path=/trunk/; revision=50319
2011-01-08 11:32:55 +00:00
Timo Kreuzer
c413c22ddf [CRT]
Fix _flsbuf return value

svn path=/trunk/; revision=50314
2011-01-07 21:15:35 +00:00
Amine Khaldi
7f7729cb6c [CMAKE]
- Add ntdll apitest to build.

svn path=/trunk/; revision=50312
2011-01-07 20:31:56 +00:00
Timo Kreuzer
b58a3e9752 [NTDLL_APITEST]
Convert asm to GAS/ML compatible format

svn path=/trunk/; revision=50311
2011-01-07 20:11:56 +00:00
Amine Khaldi
54f486c247 [CMAKE]
- Silence the quotes warning.

svn path=/branches/cmake-bringup/; revision=50310
2011-01-07 20:07:15 +00:00
Aleksey Bragin
a3647b9727 [HEAP]
- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald.

svn path=/trunk/; revision=50309
2011-01-07 15:33:46 +00:00
Amine Khaldi
a0cb4ff5eb [CMAKE]
- Delete an unneeded lib.mak
- Don't build bin2c, we don't seem to need it.
- A minor cleanup, no functionality change intended.

svn path=/branches/cmake-bringup/; revision=50308
2011-01-07 12:11:46 +00:00
Timo Kreuzer
ca4ebe1b55 [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
2011-01-06 22:00:26 +00:00
Jérôme Gardou
38bbc45b31 [APITESTS:GDI32]
Add missing \n

svn path=/trunk/; revision=50306
2011-01-06 19:03:09 +00:00
Amine Khaldi
24511aea48 [CMAKE]
- Restructure hal build.

svn path=/branches/cmake-bringup/; revision=50305
2011-01-06 18:59:49 +00:00
Michael Martin
686accee7c [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
2011-01-06 18:45:18 +00:00
Michael Martin
e11ab1740c [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
2011-01-06 18:29:52 +00:00
Michael Martin
748ea2de6c [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
2011-01-06 17:46:59 +00:00
Amine Khaldi
0d77e58cf9 [CMAKE]
- Fix formatting.

svn path=/branches/cmake-bringup/; revision=50301
2011-01-06 17:08:38 +00:00
Amine Khaldi
166360a829 [CMAKE]
- Initial support of the arm toolchain/build.

svn path=/branches/cmake-bringup/; revision=50300
2011-01-06 16:57:56 +00:00
Daniel Reimer
6d1907d27b Update rapps database
svn path=/trunk/; revision=50297
2011-01-06 12:44:01 +00:00
Timo Kreuzer
506c53833e [WIN32K]
Fix a bug in FLOATOBJ_DivLong

svn path=/trunk/; revision=50296
2011-01-06 00:19:40 +00:00
Timo Kreuzer
2f04a69915 [CRT]
Fix build

svn path=/trunk/; revision=50291
2011-01-04 22:29:43 +00:00
Timo Kreuzer
79ec14277f [CRT]
- Rewrite broken _flsbuf and implement _flswbuf
- use _flswbuf in wstreamout
- Fixes broken text output in dwnl etc

svn path=/trunk/; revision=50290
2011-01-04 22:22:13 +00:00
Sylvain Petreolle
6ea6bad914 TRANSLATION: Fix browseui bulgarian resource filename.
svn path=/trunk/; revision=50289
2011-01-04 22:19:45 +00:00
Timo Kreuzer
768bb41032 [WIN32K]
- Fix type of DCLEVEL::prgnClip / prgnMeta (PVOID -> PREGION)
- Move NtGdiGetRandomRgn to dcobjs.c

svn path=/trunk/; revision=50288
2011-01-04 18:18:28 +00:00
Johannes Anderwald
00b94dd55a [CRT]
- Fix build

svn path=/trunk/; revision=50287
2011-01-04 17:52:34 +00:00
Johannes Anderwald
2a21adaff0 [CRT]
- Set errno when a overflow occurs in strtoull
- Fixes 2 wine tests failures in msvcrt:string

svn path=/trunk/; revision=50286
2011-01-04 17:29:10 +00:00
Johannes Anderwald
14baaa8cb2 [MSVCRT_WINETEST]
- Revert 50283

svn path=/trunk/; revision=50285
2011-01-04 17:27:57 +00:00
Roel Messiant
7b455367ff [KERNEL32]
- ReadDirectoryChangesW: Treat the OVERLAPPED structure as an IO_STATUS_BLOCK, not one of its fields.

svn path=/trunk/; revision=50284
2011-01-04 17:26:25 +00:00
Timo Kreuzer
ca2b0ca3a7 [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
2011-01-04 16:53:23 +00:00