Commit graph

55055 commits

Author SHA1 Message Date
Thomas Faber fe7ef7d573 [MSPAINT][REGEDIT][WINLOGON]
- Fix some potential buffer overruns

svn path=/trunk/; revision=60736
2013-10-23 11:39:00 +00:00
Hermès Bélusca-Maïto dd2d4349e2 [CONSRV]:
Fix console palette setting. For that, we create a console framebuffer on which we draw the different active screen buffers (be they text or graphics), we can change the palette associated to this framebuffer and then we draw the framebuffer on screen.
Console palettes now work !!!!!! @ [TheFlash]

Part 2/2

svn path=/trunk/; revision=60734
2013-10-23 00:12:17 +00:00
Thomas Faber 8efecdcf15 [EXPLORER]
- Remove no longer needed special casing for __MINGW32__. Patch by Ivan Rodionov.
CORE-7335 #resolve #comment Thanks! Committed in r60733.

svn path=/trunk/; revision=60733
2013-10-22 19:51:25 +00:00
Thomas Faber 053591f6b4 [SHELL32_WINETEST]
- Add tests for SHCreateShellFolderView[Ex]. Already applied upstream.
CORE-7334

svn path=/trunk/; revision=60732
2013-10-22 19:09:45 +00:00
Thomas Faber 508dc39a87 [SHELL32]
- Import SHCreateShellFolderView implementation and fixes for -Ex from Wine
CORE-7334 #resolve

svn path=/trunk/; revision=60731
2013-10-22 19:01:07 +00:00
Eric Kohl 9a3424b618 [SAMSRV]
Create and set a security descriptor for new group account objects.

svn path=/trunk/; revision=60730
2013-10-21 20:16:56 +00:00
Eric Kohl ab4c296d0f [SAMSRV]
Create and set a security descriptor for new alias account objects.

svn path=/trunk/; revision=60729
2013-10-21 18:53:26 +00:00
Eric Kohl 89f9c12117 [SAMSRV]
- SampSetupCreateUserAccount, SamrCreateUserInDomain and SamrCreateUser2InDomain: Set the PrivateData attribute.
- SamrGetAliasMembership: Remove a superfluous call to SampRegCloseKey.
- SampQueryUserAll and SampSetUserAll: Disable access to the SecDesc attribute as long as it is not set upon user account creation.

svn path=/trunk/; revision=60728
2013-10-21 10:25:21 +00:00
Eric Kohl e64f2a9675 [INCLUDE]
- sam.idl: Rename GROUP_ATTRIBUTE_INFORMATION to SAMPR_GROUP_ATTRIBUTE_INFORMATION in order to avoid confilcts with new types in ntsam.h.
- ntsam.h: Add missing group specific structures.

svn path=/trunk/; revision=60727
2013-10-21 09:13:14 +00:00
Hermès Bélusca-Maïto 92bd19337b [CONSRV][WIN32K]
- Fix console palette setting; introduce the ConsoleMakePalettePublic control code for NtUserConsoleControl API which
  is called by the SetConsolePalette to make the given palette handle public (indeed, the caller to SetConsoleHandle
  gives to this API a GDI palette handle which is aimed at being used by another process, i.e. by CSRSS.EXE; in normal
  operation this is impossible unless saying to GDI that the handle is meant to be public; that's what it's done there).

  Thanks to Aleksander and David (who provided tests) and Timo (see revision 60725) for having helped me in understanding
  what happened exactly there.

- Remove now-unneeded DPRINT1s and the hacked palette that was introduced in revision 60629/60641.

Part 1/2

svn path=/trunk/; revision=60726
2013-10-20 22:35:15 +00:00
Timo Kreuzer 9625b9b820 [WIN32K]
Add GreSetObjectOwnerEx, allowing to set the owner of not-owned objects by passing GDIOBJFLAG_IGNOREPID as 3rd parameter. Use with care :) Dedicated to Alexander and Hermès.

svn path=/trunk/; revision=60725
2013-10-20 19:46:28 +00:00
Hermès Bélusca-Maïto 56df983f97 Fix the fix.
svn path=/trunk/; revision=60723
2013-10-20 13:54:16 +00:00
Hermès Bélusca-Maïto 9d3f488a57 [USETUP]: Fix spanish translations, suggestions by Mario Rugiero and Julio Carchi
CORE-7516 #resolve #comment Suggestions committed in revision r60722. Thanks :)

svn path=/trunk/; revision=60722
2013-10-20 13:51:18 +00:00
Aleksey Bragin 41537ba703 [NTOS]
- Correctly compute addresses of MI_VAD_BITMAP and MI_WORKING_SET_LIST. In trunk's MM it went unnoticed because nothing really cares about these two structs.

svn path=/trunk/; revision=60721
2013-10-20 09:41:54 +00:00
James Tabor 746f5c09a7 - Fix ATI test and go.
svn path=/trunk/; revision=60720
2013-10-20 05:36:36 +00:00
James Tabor 533fa53c13 - Fix build.
svn path=/trunk/; revision=60719
2013-10-20 05:31:48 +00:00
James Tabor d700b033fc [Win32k]
- The (ATI) patch CORE-6551. Please oh please use this jira core issue for all bug reports and regressions.
- Major rewrite to input message queue. It is now attachable between threads. After all the hubbub the only thing we pass are all the SetActive/Foreground/Parent/Window wine msg and win tests. But not the message sequence tests.
- Pass all but one foreground API User32 ATI test when the message patch is installed. But w/o it, pass all but 8'ish.
- Tested XP osk (On-Screen Keyboard) with CMD, it works but is quirky. Need to look into set to top window issues.
- AHK issues work long as ATI is used and when it is not the some AHK tests fail. That was why all the hot key changes had been committed before. Still looking into this.
- Please test everything and post to the appropriate jira issue reports. I do not have a lot of time anymore to focus hard on many issues, it will take months to do so with just one.

svn path=/trunk/; revision=60718
2013-10-20 05:16:52 +00:00
James Tabor ccfd05479b - Remove a mislaid artifact.
svn path=/trunk/; revision=60713
2013-10-19 19:08:41 +00:00
Timo Kreuzer 4385bb351d [NTOSKRNL]
Rewrite NtCallbackReturn in C

svn path=/trunk/; revision=60709
2013-10-19 18:04:15 +00:00
Thomas Faber 3440678be4 [NTDLL_APITEST]
- Add test for Rtl MemoryStream functions. Patch by David Quintana.
CORE-7492

svn path=/trunk/; revision=60707
2013-10-19 17:59:29 +00:00
Thomas Faber fec54daadd [RTL]
- Implement Rtl MemoryStream functions. Patch by David Quintana.
CORE-7492

svn path=/trunk/; revision=60705
2013-10-19 17:48:27 +00:00
Timo Kreuzer fc553a6968 [NTOSKRNL] Fix a typo I introduced in TRAP_DEBUG only code, spotted by Thomas
svn path=/trunk/; revision=60702
2013-10-19 11:40:00 +00:00
Timo Kreuzer 6697ef7a17 [NTOSKRNL]
- Introduce a new and faster way to return to kernel mode from traps by using a ret 8 instruction instead of an iret.
- Make use of KiUserTrap where appropriate
- Remove some pointless toplevel volatile

svn path=/trunk/; revision=60701
2013-10-19 11:33:34 +00:00
Benedikt Freisen 76e1afdbda [PAINT]
* Fix number typo introduced in revision 59955

svn path=/trunk/; revision=60700
2013-10-19 10:57:06 +00:00
Eric Kohl 7483a5ed77 [SAMSRV]
Add query and set code of user private data and security descriptor attributes.

svn path=/trunk/; revision=60691
2013-10-16 19:17:09 +00:00
Giannis Adamopoulos 3586cb1635 [shell32]
- Add an initial stub for CMenuBand that creates a menu bar and fills it with contents. However its still not functional

svn path=/trunk/; revision=60690
2013-10-16 19:13:49 +00:00
James Tabor 1a21c35d02 - Properly remove window properties when destroying the window.
svn path=/trunk/; revision=60684
2013-10-16 00:11:23 +00:00
James Tabor 512ac8d32c [Win32ss]
- Prevent a potential kernel exception.

svn path=/trunk/; revision=60683
2013-10-15 22:16:31 +00:00
James Tabor 769ec79f16 [Win32ss]
- Prevent a potential kernel exception.

svn path=/trunk/; revision=60682
2013-10-15 22:14:48 +00:00
Hermès Bélusca-Maïto 4f2b6c6702 [USETUP]
- Fix translations of booloader installation menu (see rev.48703). ACHTUNG ACHTUNG!! Greek and Spanish people, please review the translation fix and provide patches if needed!!
- Update French translation.
CORE-7516 #resolve #comment Committed in revision r60678.

svn path=/trunk/; revision=60678
2013-10-15 16:45:52 +00:00
James Tabor 5dc2b87394 [Win32k]
- Fix more wine msg test_hotkey tests, down to seven.

svn path=/trunk/; revision=60677
2013-10-15 07:05:17 +00:00
James Tabor 1293634a06 - Return the right error if hot key registered outside of the thread.
svn path=/trunk/; revision=60676
2013-10-14 21:51:07 +00:00
Hermès Bélusca-Maïto 37d5eaa1f5 [NTOS:HEADLESS]
- Fix the name of a function.
- Fix HdlspSendStringAtBaud (we started displaying string at its second character) and fix HdlspPutData (data was sent erroneous, shifted by 1).

Fix SAC display.

svn path=/trunk/; revision=60675
2013-10-14 21:29:17 +00:00
Hermès Bélusca-Maïto 6b16043963 [NTOS:INBV]: Fix parameter name and type.
svn path=/trunk/; revision=60674
2013-10-14 20:50:44 +00:00
Hermès Bélusca-Maïto 11d262db2f [FREELDR:HEADLESS]: Code formatting only.
svn path=/trunk/; revision=60673
2013-10-14 20:47:04 +00:00
Hermès Bélusca-Maïto a0873a65ed [NTOS]: Moaaar s/tabs/spaces/
svn path=/trunk/; revision=60672
2013-10-14 20:38:02 +00:00
Hermès Bélusca-Maïto c5b0cd477f [NTOS:HEADLESS]: Code formatting + s/tabs/spaces/
svn path=/trunk/; revision=60671
2013-10-14 20:17:17 +00:00
Amine Khaldi 0fbb946f42 [REACTOS/DEBUG]
* Set the assert related macros in consistency with the DDK ones, for release builds.
* Improve the debug build checks here (DBG was not even considered before).

svn path=/trunk/; revision=60666
2013-10-14 16:39:18 +00:00
Amine Khaldi bd779c1be5 [KMTEST_DRV]
* Move the DeviceExtension related asserts into a DBG block.

svn path=/trunk/; revision=60665
2013-10-14 16:35:35 +00:00
Amine Khaldi dae996a6ba [VFATLIB]
* Move readsize into a DBG block.

svn path=/trunk/; revision=60664
2013-10-14 16:28:14 +00:00
Amine Khaldi 32e55457d5 [EXPAT]
* Remove from the codebase (it's not used anywhere).

svn path=/trunk/; revision=60662
2013-10-14 15:59:57 +00:00
James Tabor cb18ec0c33 - Fix build and fix gcc 4.8.x build issues.
svn path=/trunk/; revision=60660
2013-10-14 06:28:17 +00:00
James Tabor f4b05f11b2 [Win32ss]
- Fix up hot keys. Finding out that the wine test_hotkey is brain damaged and even breaks XP.

svn path=/trunk/; revision=60659
2013-10-14 06:19:48 +00:00
Hermès Bélusca-Maïto 8109301ade [HAL][PCIX]: Finish to put \r\n for Hal\InbvDisplayStrings. Part 3/3.
svn path=/trunk/; revision=60657
2013-10-13 23:37:11 +00:00
Hermès Bélusca-Maïto 2fff802939 \r\n for strings being displayed by NtDisplayString.
[AUTOCHK]: Fix some DPRINTs

svn path=/trunk/; revision=60656
2013-10-13 23:22:03 +00:00
Hermès Bélusca-Maïto b748144fcd [USETUP]: The STRING_CONSOLEFAIL1/2/3 are aimed to be printed with NtDisplayString, which will use InbvDisplayString. Therefore add \r with \n.
Part 2/X

svn path=/trunk/; revision=60655
2013-10-13 23:18:22 +00:00
Amine Khaldi 48f8139061 [FREELDR]
* Use the FrLdr prefix with the heap functions to avoid any ambiguities.

svn path=/trunk/; revision=60654
2013-10-13 23:14:40 +00:00
Amine Khaldi cdb62c6244 * Addendum to r60650.
CORE-7471 #resolve

svn path=/trunk/; revision=60653
2013-10-13 23:12:09 +00:00
Hermès Bélusca-Maïto a8cbe3c6e0 [NTOS]: Move 'buffer' to a better place (i.e. fix build).
svn path=/trunk/; revision=60652
2013-10-13 23:07:26 +00:00
Hermès Bélusca-Maïto 1602b39927 Use \r\n instead of \n only in Hal/InbvDisplayString. This is needed because, when displayed by the EMS console, only \n would be displayed otherwise, leading to misaligned text.
Part 1/X

svn path=/trunk/; revision=60651
2013-10-13 23:04:13 +00:00