Commit graph

63949 commits

Author SHA1 Message Date
Pierre Schweitzer
259db826a9 [CONSOLE]
Don't overrun two buffers

CID 1322100, 1237057

svn path=/trunk/; revision=69660
2015-10-24 07:59:52 +00:00
Ged Murphy
db0a8fd47d [DEVMGR]
- Force all refreshes to go through the CDeviceManager method instead of calling CDeviceView directly.
- Fixes missing checked radio item in the view menu on startup

svn path=/trunk/; revision=69659
2015-10-23 13:16:25 +00:00
Ged Murphy
285e7278f5 [DEVMGR]
- When refreshing the view, reselect and expand the previously selected node in the tree. This allows to switch from 'by type' to 'by connection' and see where the selected device sits in the tree hierarchy (and vice versa)

svn path=/trunk/; revision=69658
2015-10-23 12:45:41 +00:00
Thomas Faber
ba56cef9c1 [NTOS:SE]
- Fail if the provided default DACL is invalid in NtCreateToken. CID 1237131

svn path=/trunk/; revision=69657
2015-10-23 12:40:29 +00:00
Robert Naumann
6c7a279a05 revert r69654
svn path=/trunk/; revision=69656
2015-10-23 12:23:37 +00:00
Robert Naumann
65df2fce32 [CPL] Fix some blurry resources. By Henry Tang Ih. CORE-10385
svn path=/trunk/; revision=69655
2015-10-23 11:42:02 +00:00
Robert Naumann
adb555abb7 [DEVMGR] Improve the toolbar bitmap. By Jared Smudde. CORE-10342
svn path=/trunk/; revision=69654
2015-10-23 11:27:52 +00:00
Thomas Faber
c506de06be [WIN32K:NTUSER]
- Don't open-code IoGetRemainingStackSize

svn path=/trunk/; revision=69653
2015-10-23 10:34:44 +00:00
Thomas Faber
9b00fd4ea8 [NETWORKING][CABMAN]
- Attempt to silence some 200 benign "Operands don't affect result" Coverity defects

svn path=/trunk/; revision=69652
2015-10-23 07:26:42 +00:00
Thomas Faber
8325a50be7 [WIN32K:NTUSER]
- Properly set the window minimize status in WM_ACTIVATE's WPARAM. CID 513028, 513029

svn path=/trunk/; revision=69651
2015-10-22 21:06:25 +00:00
Ged Murphy
44f11315a4 The c++ bool is 1 byte, not 4. Thanks Thomas
svn path=/trunk/; revision=69650
2015-10-22 17:37:51 +00:00
Ged Murphy
6ed09fb64b [DEVMGR]
- Automatically refresh the view whenever there is a hardware change on the machine
- Don't force a refresh when we enable/disable devices, this is now be picked up automatically

svn path=/trunk/; revision=69649
2015-10-22 17:21:30 +00:00
Thomas Faber
ac1ef8ea3b [WIN32K:NTUSER]
- Fix uninitialized variable use in failure case of NtUserSetCursorIconData. CID 1322233

svn path=/trunk/; revision=69648
2015-10-22 16:41:38 +00:00
Giannis Adamopoulos
3339ceb715 [SHELL32]
- Add DoDeleteAsync method that takes the data object and the fMask parameter from IContextMenu in order to distinguish if we need a permanent delete.
- CDefView: Properly add CMIC_MASK_SHIFT_DOWN and CMIC_MASK_CONTROL_DOWN flags when calling Invoke.
- CDefaultContextMenu: use DoDeleteAsync and pass fmask so as to make Shift+Delete shortcut to permanently delete files.
Note: GetKeyState sometimes returns wrong results but this doesn't concern the shell.
CORE-4365

svn path=/trunk/; revision=69647
2015-10-22 15:23:21 +00:00
Thomas Faber
359fa267cc [WIN32K:NTUSER]
- Don't pass an uninitialized DOSENDMESSAGE structure to co_IntDoSendMessage. CID 701425

svn path=/trunk/; revision=69646
2015-10-22 15:12:09 +00:00
Thomas Faber
2ecafe7510 [WIN32K:NTUSER]
- Only resend WM_ENTERIDLE after encountering a relevant message. CID 1321906

svn path=/trunk/; revision=69645
2015-10-22 14:43:39 +00:00
Thomas Faber
32a955c11c [WIN32K:NTUSER]
- Don't call PopupMenuWndProc for the message window in IntDispatchMessage. CID 1322026

svn path=/trunk/; revision=69644
2015-10-22 14:13:40 +00:00
Thomas Faber
fef72582a0 [WIN32K:NTGDI]
- Fix pool leak in failure case of PATH_StrokePath. CID 716633

svn path=/trunk/; revision=69643
2015-10-22 13:48:12 +00:00
Thomas Faber
1589893f19 [WIN32K:NTGDI]
- Correctly pass 'planes' and 'bpp' arguments to IntCreateDIBitmap in GreCreateDIBitmapInternal. CID 1250302

svn path=/trunk/; revision=69642
2015-10-22 11:29:55 +00:00
Thomas Faber
598f3dccc4 [WIN32K:NTGDI]
- Fix pool leak in failure case (CID 1322140) and don't treat NTSTATUS values as Win32 errors in NtGdiGetGlyphIndicesW.

svn path=/trunk/; revision=69641
2015-10-22 11:05:59 +00:00
Thomas Faber
bf191a5cd2 [WIN32K:ENG]
- Remove useless NULL checks in BltMask and IntEngStretchBlt. CID 1322184, 701344

svn path=/trunk/; revision=69640
2015-10-22 10:46:02 +00:00
James Tabor
27cd9042b5 [Win32k]
- Fix flashing windows and cleanup code. See CORE-10384.

svn path=/trunk/; revision=69639
2015-10-22 09:05:56 +00:00
Hermès Bélusca-Maïto
7ffaebe4ed [MSCONFIG_NEW]
- Reenable the FREELDR.INI/BOOT.INI page. When boot items are added in the list, recompute its new contents width and adjust it so that we can horizontally scroll its contents (this is the only common control which does not support automatic width computation when you add contents in it...).
- Save the original FREELDR.INI/BOOT.INI in a default path (I took the one used by windows' msconfig for its INI files).
CORE-9333

svn path=/trunk/; revision=69638
2015-10-21 23:43:26 +00:00
Hermès Bélusca-Maïto
0e3bf63096 [MSCONFIG_NEW]
Reduce indentation level in code.

svn path=/trunk/; revision=69637
2015-10-21 23:36:17 +00:00
Daniel Reimer
9de150d140 [DEVMGR]
Updated German language

svn path=/trunk/; revision=69636
2015-10-21 19:17:16 +00:00
Daniel Reimer
a313e2918f [MSCONFIG_NEW]
Updated German language

svn path=/trunk/; revision=69635
2015-10-21 18:41:43 +00:00
Thomas Faber
305cb0aa09 [WININET]
- Missing the USERPROFILE variable is a critical bug, so inform us about it with an ERR instead of a TRACE
CORE-10381

svn path=/trunk/; revision=69634
2015-10-21 09:00:13 +00:00
James Tabor
d86d39947c [Win32SS]
- Implement suspended window support, see CORE-10078.

svn path=/trunk/; revision=69633
2015-10-21 00:13:23 +00:00
Hermès Bélusca-Maïto
2d28dcf37d [MSCONFIG_NEW]
- Implement the "file extract" dialog and enable it in the general page. The extraction functionality proper will be implemented later on.
- Remove an unneeded resource string.
CORE-9333

svn path=/trunk/; revision=69632
2015-10-20 23:59:28 +00:00
Hermès Bélusca-Maïto
2d61b5e7e1 [PSDK]
- Enable the specstrings.h in shlwapi header (since we have it)
- Add missing BIF_SHAREABLE define (which exists in the 2k3 PSDK), even if it's not used at all in our code (and in wine either); I use it in msconfig for a shell browse dialog (because I want it to behave as I expect also on windows).

svn path=/trunk/; revision=69631
2015-10-20 22:49:34 +00:00
Hermès Bélusca-Maïto
c220116405 [MSCONFIG_NEW]
- Add some file utility functions, they will be used later for managing the startup programs.
- Half-plement the general page controls.
- Simplify some code; fix file headers; remove the old toolspage.c (replaced by its c++ equivalent).
CORE-9333

svn path=/trunk/; revision=69630
2015-10-20 21:57:36 +00:00
Thomas Faber
3bf3980778 [SERVICES]
- Sanitize allocation lifetime and fix memory leaks in ScmConvertToBootPathName. CID 1102363
- Fix leak in failure case of REnumServicesStatusExA. CID 716334

svn path=/trunk/; revision=69629
2015-10-20 10:09:59 +00:00
Thomas Faber
43a2070164 [WORDPAD]
- Fix potential buffer overflows. CID 713265, 713266

svn path=/trunk/; revision=69628
2015-10-20 08:40:29 +00:00
Thomas Faber
2921409167 [TASKMGR]
- Fix potential stack buffer overflows. CID 1322094, 1322095

svn path=/trunk/; revision=69627
2015-10-20 08:30:14 +00:00
Thomas Faber
e190198542 [RAPPS]
- Pass the correct buffer size to StringCbCopyW

svn path=/trunk/; revision=69626
2015-10-20 08:15:30 +00:00
James Tabor
1cd0cae9eb [User32]
- Patch by Joachim Priesner : Hide horizontal Listbox scroll bar if no horizontal extent is set. See CORE-1101.
- Patch by Alex Henrie : Simplify if-else statement. Scroll listbox item completely into view on LB_SETCURSEL.

svn path=/trunk/; revision=69625
2015-10-20 01:54:18 +00:00
James Tabor
16f015a1bc [User32]
- Patch by Dmitry Timoshkov : Always call BeginPaint/EndPaint when handling a WM_PAINT message for the button.
- Patch by Alex Henrie : Remove always-false condition.

svn path=/trunk/; revision=69624
2015-10-20 01:51:16 +00:00
Thomas Faber
0e6082f21e [GDIPLUS]
- Mark a ROS-Diff and fix MSVC warnings in it

svn path=/trunk/; revision=69623
2015-10-19 18:16:17 +00:00
Thomas Faber
8fb79dfcc4 [SHLWAPI_WINETEST]
- Fix build until I figure out how to upstream this

svn path=/trunk/; revision=69622
2015-10-19 16:03:00 +00:00
Thomas Faber
66503f6e3f [PSDK]
- Add missing shlobj.h changes from the previous commit
- Correctly define ITEMIDLIST types, and add initial support for STRICT_TYPED_ITEMIDS
CORE-8441 #resolve

svn path=/trunk/; revision=69621
2015-10-19 15:28:24 +00:00
Thomas Faber
da8f249696 [SHELL32]
- Fix some ITEMIDLIST types
CORE-8441

svn path=/trunk/; revision=69620
2015-10-19 15:17:29 +00:00
Ged Murphy
ae23c43fe8 [DEVMGR]
- Implement the add new hardware wizard
- fix stray header
CORE-10363

svn path=/trunk/; revision=69619
2015-10-19 13:52:12 +00:00
Ged Murphy
fd2dad4bcd Missed this file. Having a shocker today...
svn path=/trunk/; revision=69618
2015-10-19 11:17:14 +00:00
Ged Murphy
e7e344882f [DEVMGR]
- Fixup a few missing languages. Hopefully I got them all this time.
- Add a new line to the end of the resources to keep msvc happy

svn path=/trunk/; revision=69617
2015-10-19 11:07:19 +00:00
Ged Murphy
748b7d1095 [DEVMGR]
- Add the missing resources and reinstate all languages.
- The new additions need translating

svn path=/trunk/; revision=69616
2015-10-19 10:55:22 +00:00
Ged Murphy
eb3d7eb326 [DEVMGR]
Add missing changes files

svn path=/trunk/; revision=69615
2015-10-19 08:48:24 +00:00
Ged Murphy
4c9058d60f [DEVMGR]
- Implement updating the device from the toolbar
- Add a message before uninstalling a device. Dedicated to Jared Smudde.

svn path=/trunk/; revision=69614
2015-10-19 08:45:48 +00:00
Thomas Faber
016e5d9466 [HAL]
- Don't probe for EISA DMA capability on non-EISA machines (i.e. currently never). Patch by Andrey Kudravets.
CORE-9895 #resolve

svn path=/trunk/; revision=69613
2015-10-19 08:00:47 +00:00
Ged Murphy
d41f9c44b4 [DEVMGR]
- Explicitly state that we want to build DllMain without name mangling
See issue 10347 for more details.

svn path=/trunk/; revision=69612
2015-10-19 07:04:17 +00:00
Robert Naumann
b534e5472e [SNDREC32] Improve the applications icon. By Henry Tang Ih. CORE-69611
svn path=/trunk/; revision=69611
2015-10-18 22:43:14 +00:00