Commit Graph
42905 Commits
Author SHA1 Message Date
Jérôme Gardou bb23cc5ca6 [WIN32K]
- revert part of -r47735, as it's not the good fix (tm)

svn path=/branches/reactos-yarotows/; revision=47789
2010-06-16 18:50:55 +00:00
Timo Kreuzer 5f2d67cb35 Sync to trunk head (r47736)
svn path=/branches/reactos-yarotows/; revision=47746
2010-06-10 20:57:03 +00:00
Amine Khaldi ef171ff013 [USER32_WINETEST]
- Re-enable generated.c tests.
This commit (the previous one too) is a result of the header work reintegration.

svn path=/trunk/; revision=47738
2010-06-10 16:06:10 +00:00
Amine Khaldi 6802044fdd [NTDLL_WINETEST]
- Re-enable generated.c tests.

svn path=/trunk/; revision=47737
2010-06-10 15:55:07 +00:00
Amine Khaldi eb3a7eb1a4 [PSDK]
- Deduplicate/improve architecture related definitions.

svn path=/trunk/; revision=47736
2010-06-10 15:35:16 +00:00
Jérôme Gardou f57bcb3e25 [GDI32]
- DIB data is not mandatory in CreateDIBitmap
[WIN32K]
  - Simplify GreCreateDIBitmap
  - Surface data should be 16 bits aligned

svn path=/branches/reactos-yarotows/; revision=47735
2010-06-10 14:32:05 +00:00
Jérôme Gardou cc4ef59c16 [GDI32]
- Protect CreateDIBitmap
  - Pass correct data size to NtGdiCreateDIBitmap

svn path=/branches/reactos-yarotows/; revision=47734
2010-06-10 12:58:52 +00:00
Jérôme Gardou 52ba1736b3 [WIN32K]
- Split NtGdiCreateDIBitmapInternal with its Gre Counterpart
  - Set bV5ImageSize if it was not already set
  - Probe bits we're given in NtGdiSetDIBits
  - SEHize clipboard image data access
  

svn path=/branches/reactos-yarotows/; revision=47733
2010-06-10 11:36:20 +00:00
Cameron Gutman ec000c8544 [DHCPCSVC]
- Implement adapter discovery after startup (currently does not work because the iphlpapi code is not implemented)

svn path=/trunk/; revision=47732
2010-06-10 04:38:04 +00:00
Jérôme Gardou 4b10742ca5 [WIN32K]
- check for the type of the DC to restore to decide whether we should restore the surface
Fixes yarotows specific FF3 bug

svn path=/branches/reactos-yarotows/; revision=47731
2010-06-10 00:40:09 +00:00
Jérôme Gardou 937d830410 [ROSTESTS]
test what happens when a DC is saved and a bitmap is selected into it.

svn path=/trunk/; revision=47730
2010-06-10 00:17:06 +00:00
Cameron Gutman 8be9465a83 [ACPI]
- Create a resource list for the PCI root bus (even though it doesn't use any resources according to ACPI) and fill it with a bus number resource descriptor
- Fixes PCI device detection with ACPI enabled

svn path=/trunk/; revision=47729
2010-06-09 23:02:34 +00:00
Amine Khaldi 2d489373f9 - Fix localspl and localui build.
svn path=/trunk/; revision=47728
2010-06-09 22:28:14 +00:00
Amine Khaldi b02092777f Reintegrate header-work branch. Important changes include continued work on headers and progress on compiling for ARM.
svn path=/trunk/; revision=47727
2010-06-09 22:24:32 +00:00
Cameron Gutman 594306cee5 [ACPI]
- Store the interrupt data as the vector and level
- Fixes resource conflict issues

svn path=/trunk/; revision=47726
2010-06-09 22:15:17 +00:00
Cameron Gutman 16f616a8de [NTOSKRNL]
- Set the resource list pointer to NULL after we free it
- Fixes a double-free issue in the resource conflict resolution code

svn path=/trunk/; revision=47725
2010-06-09 21:53:42 +00:00
Timo Kreuzer a8ac489720 [WIN32K]
- Improve readability in SetBMIColor
- Only when BitCount is <= 8, calculate the number of colors in the table
- Fixes a crash with VBox driver

svn path=/branches/reactos-yarotows/; revision=47724
2010-06-09 20:36:04 +00:00
Cameron Gutman 186dc06a99 [PCI]
- Implement IRP_MN_REMOVE_DEVICE handling for FDOs

svn path=/trunk/; revision=47723
2010-06-09 20:12:27 +00:00
Cameron Gutman 8ebc45f80b [NTOSKRNL]
- Implement IRP_MN_REMOVE_DEVICE handling for PnP root PDOs

svn path=/trunk/; revision=47722
2010-06-09 20:04:39 +00:00
Amine Khaldi 9767b4ca2c Sync uo to HEAD (r47720).
svn path=/branches/header-work/; revision=47721
2010-06-09 18:58:14 +00:00
Amine Khaldi fab6b4c37c - Add some header guards.
svn path=/branches/header-work/; revision=47720
2010-06-09 18:30:37 +00:00
Timo Kreuzer 26a57a2a9f [WIN32K]
If pbmiSrc->bmiHeader.bV5ClrUsed is 0, calculate the number of colors from the bit depth. Fixes black taskbar icons with vbox driver on 8 bpp

svn path=/branches/reactos-yarotows/; revision=47719
2010-06-09 18:08:23 +00:00
Amine Khaldi 8338472430 - Temporarily move those headers from PSDK to DDK (due to svn awesomeness).
svn path=/branches/header-work/; revision=47718
2010-06-09 17:33:59 +00:00
Amine Khaldi 0e546b8516 - Update ReactOS-amd64.rbuild
svn path=/branches/header-work/; revision=47717
2010-06-09 17:22:54 +00:00
Amine Khaldi a8cc636ac7 [DDK]
- Replace dciddi.h with the one from mingw-w64
[PSDK]
- Get rid of duplicate dciddi.h

svn path=/branches/header-work/; revision=47716
2010-06-09 17:19:06 +00:00
Johannes Anderwald a7e58af961 [MMIXER]
- Handle failure of device enumeration
- Add sanity check

svn path=/trunk/; revision=47715
2010-06-09 16:51:16 +00:00
Johannes Anderwald 1bb04a5142 [KS]
- Perform all allocations / frees in dedicated alloc / free function

svn path=/trunk/; revision=47714
2010-06-09 14:44:46 +00:00
Johannes Anderwald db5472b519 [KS]
- Fix memory leak

svn path=/trunk/; revision=47713
2010-06-09 14:16:05 +00:00
Ged Murphy 85b59ff6ce I don't like this, but add the treeview refresh hack.
I don't see this bug on my (windows) build but others are reporting it still happens on the (linux) build machine iso.
Maybe it's because linux is akin to the devil? Yes, I like this, let's blame linux!

svn path=/trunk/; revision=47712
2010-06-09 13:31:02 +00:00
Johannes Anderwald a1979b8e2d [PORTCLS]
- Check if resource list has been allocated

svn path=/trunk/; revision=47711
2010-06-09 13:27:19 +00:00
Amine Khaldi 513fbfa56f - Leftover from the sync.
svn path=/branches/header-work/; revision=47710
2010-06-09 12:07:22 +00:00
Timo Kreuzer 02588ba9c0 [WIN32K]
Small bug big effects: Use the correct offset when copying the BITMAPINFO, fixes taskbar icons regression.

svn path=/branches/reactos-yarotows/; revision=47709
2010-06-09 11:22:19 +00:00
Aleksey Bragin a24aedc9d1 - Add "bootcdregtest" in the list of well-known targets.
svn path=/trunk/; revision=47708
2010-06-09 10:34:35 +00:00
Ged Murphy 6df5db960f This bug seems to have gone now. Tried to replicate it the devmgmt treeview.
svn path=/trunk/; revision=47706
2010-06-09 08:09:35 +00:00
Ged Murphy b589f99b78 Merge second part of the comctl32 Wine 1.2 sync.
All code currently omits the reactos specific patches. It's been a long time since we synched this lib so it's possible we no longer need them. Time will tell.

svn path=/trunk/; revision=47705
2010-06-09 08:04:35 +00:00
Cameron Gutman 4829efbb66 [IP]
- Handle socket operations that can be completed immediately before terminating the socket to avoid losing data sitting in the receive buffer

svn path=/trunk/; revision=47704
2010-06-09 04:45:17 +00:00
Timo Kreuzer 8d819d4de1 [WIN32K]
- Initialize the palettes before creating any bitmaps.
- Replace SURFACE_vSetDefaultPalette with an array of default palettes.
- Check iFormat in SURFACE_AllocSurface

svn path=/branches/reactos-yarotows/; revision=47703
2010-06-09 02:57:52 +00:00
Jérôme Gardou 54e2569bf0 [GDI32]
- Header describes the bitmap to be created, not the bits we are passed.
  - Circumvent gcc weirdness (sigh...)

svn path=/branches/reactos-yarotows/; revision=47702
2010-06-09 00:18:29 +00:00
Jérôme Gardou 974e9c0c41 [WIN32K]
- More BITMAPV5INFO fun
  - Probe max size we are asked for when converting to V5 Info
[USER32] [WIN32K]
  - CreateDIBitmap : Move safety handling to win32k, where it belongs. More code cleanness!

svn path=/branches/reactos-yarotows/; revision=47701
2010-06-09 00:08:50 +00:00
Timo Kreuzer 14725d6e20 Sync trunk (r47699)
svn path=/branches/header-work/; revision=47700
2010-06-08 22:20:26 +00:00
Sylvain Petreolle 82cd2aad07 Merge RtlIpv4StringToAddressW fix from network branch.
svn path=/trunk/; revision=47699
2010-06-08 20:24:15 +00:00
Amine Khaldi e47de493b4 Sync trunk head (r47697).
svn path=/branches/header-work/; revision=47698
2010-06-08 20:04:37 +00:00
Timo Kreuzer 74e0c79a8d [PSDK]
Merge 47681 and 47682 from header branch
- Add missing file headers
- Fix defintition of POINTER_64
- by Amine Khaldi

svn path=/trunk/; revision=47697
2010-06-08 14:31:31 +00:00
Ged Murphy 883961ce2c Move UTF8 to the bottom of the file. Thanks to Christoph for the tip
svn path=/trunk/; revision=47696
2010-06-08 11:09:32 +00:00
Ged Murphy 94fa5d4e23 Part 1 of the comctl32 sync. I'll do it in 2 stages for testing purposes as it's a very large patch.
This part includes alpha support for imagelists and tango icons for the common toolbars
I'll do the second part later today. It has a propsheet bug and I'm a bit busy at the mo.

svn path=/trunk/; revision=47695
2010-06-08 10:21:26 +00:00
Ged Murphy e5239a070c Add missing info needed for the comctl32 sync
svn path=/trunk/; revision=47694
2010-06-08 10:16:34 +00:00
Jeffrey Morlan 9f7057e9f2 [KERNEL32], [WIN32CSR]
- Implement ReadConsoleW's CONSOLE_READCONSOLE_CONTROL structure.
- Make pressing Insert during line input work

svn path=/trunk/; revision=47693
2010-06-08 06:38:14 +00:00
Timo Kreuzer 70f1514bfd [WIN32K]
NtGdiGetDIBitsInternal: don't use the unsafe usermode pointer after the BITMAPINFO has been converted and protect writing back the result with SEH.

svn path=/branches/reactos-yarotows/; revision=47692
2010-06-08 02:27:28 +00:00
Timo Kreuzer 4625d1efa0 revert 47688 and 47689
svn path=/trunk/; revision=47691
2010-06-08 01:37:58 +00:00
Jérôme Gardou 8cecc274d8 [WIN32K]
- remove duplicate prototypes.
  - Add missing trail to debug print
  - replace some now superfluous checks on bitmap palette with sanity ASSERTS
  - begin using BITMAPV5HEADER as a default bitmap format, and introduce conversion to and from everything prior that.
Congratulations to BITMAPCOREHEADER, for its backward compatibility personal failure.

svn path=/branches/reactos-yarotows/; revision=47690
2010-06-08 00:40:42 +00:00