Katayama Hirofumi MZ
bebdfda8b7
[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog ( #3571 )
...
Use new-style file open/save-as dialog.
- Add OFN_EXPLORER flag to OPENFILENAME structure in notepad, wordpad, mspaint, clipbrd, mmc, mplay32, mscutils, regedit, winhlp32, progman, shellbtrfs, cryptui, shell32, setupapi, vgafontedit, infinst, and vfdlib modules.
2021-04-01 22:50:32 +09:00
Katayama Hirofumi MZ
7e6550b35e
[COMDLG32] Enable auto-completion on comdlg32 ( #3564 )
...
Auto-completion will be enabled when the user opens "Open" or "Save As" dialog of the common dialogs. CORE-9281
NOTE: The relative pathes, "..\" and "\" are not working. Those are bugs in CLSID_ACListISF.
2021-04-01 06:41:24 +09:00
Jérôme Gardou
12dfa8ce39
[WIN32K] Fix getting long value from float object
...
Most importantly, do not shift 32-bit integers by 32 or more.
2021-03-31 18:35:31 +02:00
Jérôme Gardou
405ce53211
[WIN32K] More cleanup & improvements
...
Use FLOATOBJs to perform device<->world transformations, avoiding use of XFORMOBJ all the time
Remove unused macros & functions
2021-03-31 18:35:31 +02:00
Jérôme Gardou
3bad3c49e1
[WIN32K] Use INTERNAL_LPTODP in IntLPtoDP
...
Instead of initializing a XFORMOBJ and whatnot
2021-03-31 18:35:31 +02:00
Jérôme Gardou
26b5596a11
[WIN32K] Rewrite PATH_Ellipse & PATH_RoundRect using integer arithmetics
2021-03-31 18:35:31 +02:00
Jérôme Gardou
f9c068685f
[WIN32K] Reduce use of FPU in path implementation with use of FLOATOBJs
2021-03-31 18:35:31 +02:00
Jérôme Gardou
40f7e86347
[WIN32K] Fix brain-fail of mine
...
Copying e.g. (2;2);(6;6) to (0;0);(4;4) also needs to have an intermediate buffer.
2021-03-31 16:55:30 +02:00
Jérôme Gardou
30886e74f2
[WIN32K] Fix case when buffers overlap in 1BPP -> 1BPP DIB copy
...
Logic by Doug Lyons
CORE-17520
2021-03-31 16:39:57 +02:00
Jérôme Gardou
068687e0fd
[WIN32K] Fix off-by-one errors
...
Spotted by Doug Lyons
CORE-17520
2021-03-31 16:39:57 +02:00
Jérôme Gardou
998870c5ea
[NTOS:MM] Properly fail for invalid sizes of data section mappings
2021-03-30 22:20:15 +02:00
Jérôme Gardou
4c731adc04
[NTOS:MM] Fix compilation when PFN tracing is enabled
2021-03-30 17:22:09 +02:00
Jérôme Gardou
10379811c0
[KDGDB] Break and ignore when being prompted.
2021-03-30 17:20:57 +02:00
Jérôme Gardou
80f8beeeee
[NTOS/MM] Remove an outdated check
2021-03-30 17:13:19 +02:00
Jérôme Gardou
0187c1e113
[NTOS:MM] Fix PFN tracing
2021-03-30 16:26:43 +02:00
Katayama Hirofumi MZ
91e591b3d5
[BROWSEUI] Enable AutoAppend of auto-completion ( #3552 )
...
Fix and improve Auto-Append of auto-completion. CORE-9281
- Implement CAutoComplete::DoAutoAppend method.
2021-03-30 06:50:32 +09:00
Eric Kohl
6b04e46304
[WIDL] Do not transfer an explicit primitive binding handle to the server
...
This enables us to run WIDL-generated code on Windows XP again.
This patch has already been sent upstream.
2021-03-28 16:20:10 +02:00
Jérôme Gardou
3a14c97d0c
[LIBCNTPR] Fix a typo
...
There is no console to display to.
2021-03-25 11:54:49 +01:00
Serge Gautherie
49639c7759
[ATL] CWindowImplBaseT::WindowProc(): Narrow 2 ATLASSERT() down ( #3529 )
...
Addendum to e076e05
. CORE-17505
2021-03-25 19:51:29 +09:00
George Bișoc
eba68ffb9c
[NTOS:SE] Specify the code section of SepCreateSystemProcessToken as INIT
...
This function is used during the Security kernel module phase initialisation to set up the system process token which the phase initialisation procedure in itself is stored in the INIT section. With that being said, do the same for SepCreateSystemProcessToken too and add a header documentation as an addition.
2021-03-25 02:30:46 +03:00
George Bișoc
5b5b814af8
[NTOS:SE] Create the anonymous logon tokens on Security initialisation phase
2021-03-25 02:30:46 +03:00
George Bișoc
fe0f9d8646
[NTOS:SE] Implement SepCreateSystemAnonymousLogonToken and SepCreateSystemAnonymousLogonTokenNoEveryone functions
...
These private functions are needed to set up two different kinds of system's anonymous logon tokens: one that includes everyone in the group and the other that doesn't. These functions are needed as next step closer to the
implementation of NtImpersonateAnonymousToken system call.
2021-03-25 02:30:46 +03:00
George Bișoc
b28530d4ac
[NTOS:SE] Set up an ACL and SD for the anonymous logon
2021-03-25 02:30:46 +03:00
Katayama Hirofumi MZ
d5c72a2e09
[BROWSEUI] Support ACO_USETAB and SHACF_USETAB on auto-completion ( #3549 )
...
Support Tab key on auto-completion. CORE-9281
2021-03-25 07:42:24 +09:00
Jérôme Gardou
6e4f83da70
[NTOS:CC] Wake up lazy scan after inserting elements in the list.
2021-03-24 15:28:04 +01:00
Jérôme Gardou
edd4a985d9
[NTOS:CC] Be verbose about why we defer writes
2021-03-24 15:27:36 +01:00
Jérôme Gardou
00ce9ad42a
[CMAKE] Declare KD stub Dlls as kerneldll
2021-03-24 15:20:06 +01:00
Serge Gautherie
ca1814f2c9
[SYSSETUP] security.c: Remove 3 useless casts
...
And
* Make 1 cast more explicit.
* Fix 1 'SamSetInformationUser' copypasta in DPRINT1() text.
* Optimize 1 '.MaximumLength' assignment.
2021-03-24 12:15:55 +01:00
Jérôme Gardou
5c54fb9179
[NTOS:CC] Rewrite CcPostDeferredWrites
...
This allows to post small writes if there are any, and avoid holding the list lock for a long time.
2021-03-24 11:22:28 +01:00
Jérôme Gardou
b13a696513
[NTOS:KE] Explicitly cast -1 to ULONG
2021-03-24 11:13:04 +01:00
Jérôme Gardou
94d175b7f2
[NTOS] Remove a definition which is redundant with ndk
2021-03-24 11:12:12 +01:00
Jérôme Gardou
187ca32175
[NTOS:KE] Use PNT_TIB as argument in KeSetTebBase
2021-03-24 11:09:20 +01:00
Jérôme Gardou
8f963c38c6
[SDK:INCLUDE] Cast to type instead of PVOID
...
For C++ header compatibility
2021-03-24 11:08:40 +01:00
Jérôme Gardou
fa74ae571b
[XDK] Undefine some defines once they are not needed
2021-03-24 11:07:54 +01:00
Konrad Dybcio
4c7b71ac4f
[HHPCOMP] Add ARM (32-bit) types ( #3548 )
...
ARM32 seems to use the same type defines as i386 and friends.
Let's allow the thing to be compiled again!
CORE-17517
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
2021-03-24 09:32:11 +03:00
Jérôme Gardou
e6bea426f3
[CSRSRV] Fix comment
2021-03-23 18:35:13 +01:00
Jérôme Gardou
7054cd10b1
[CSRSRV] Fix locking logic when destroying threads & processes
2021-03-23 18:17:44 +01:00
Jérôme Gardou
f5bace8536
[CMAKE] Move toolchain specific handling to set_module_type_toolchain
...
+ style fixes
2021-03-23 11:18:43 +01:00
Jérôme Gardou
5c21460680
[CMAKE] Put .rsrc section after the INIT section on drivers, like link.exe does
2021-03-23 11:18:43 +01:00
Jérôme Gardou
173cdcae8f
[CMAKE] Use the "kernel" module type for ntoskrnl and ntkrnlmp
2021-03-23 11:18:43 +01:00
Jérôme Gardou
e55123a6a2
[CMAKE] Add the kernel module type
...
Take this as an occasion to use target_link_options more
2021-03-23 11:18:43 +01:00
Jérôme Gardou
812c9e5a11
[CMAKE] Fixup of driver sections in GCC builds
...
Also introduce a helper variable to list KMode modules
2021-03-23 11:18:43 +01:00
Jérôme Gardou
5489efcb1a
[SDK:TOOLS] Add --driver option to pefixup
...
For now, this adds IMAGE_SCN_MEM_DISCARDABLE to the INIT section, and IMAGE_SCN_MEM_NOT_PAGED to sections which are not named PAGE or .reloc
2021-03-23 11:18:43 +01:00
Jérôme Gardou
56b1baa3dd
[CMAKE] Restore using LD linker script with GCC
2021-03-23 11:18:43 +01:00
Jérôme Gardou
6445f33704
[CMAKE] Put INIT section before .reloc and not after.
...
CORE-14683
2021-03-23 11:18:43 +01:00
Jérôme Gardou
0c13ff2a4b
[WIN32K] Rewrite DIB1BPP -> DIB1BPP copy
...
Simpler is sometimes better.
Fixes some crashes & memory corruptions happening because of all those broken loops.
2021-03-22 22:40:33 +01:00
Jérôme Gardou
d1d1260f5f
[NTOS:MM] Fix integer arithmetics
2021-03-22 10:02:12 +01:00
Serge Gautherie
4cd92f0d01
[SYSSETUP][TIMEDATE] Use exact setTimer() timeouts, to stay in sync ( #3355 )
...
CORE-13121
2021-03-21 12:01:22 +09:00
Katayama Hirofumi MZ
53005587f4
[BROWSEUI] Fix return value on sanity check of auto-completion ( #3544 )
...
Reduce failures on sanity check of auto-completion. CORE-9281
- Return E_FAIL rather than E_INVALIDARG in sanity check of CAutoComplete::Init (IAutoComplete::Init).
2021-03-20 14:04:02 +09:00
Katayama Hirofumi MZ
f49c164428
[BROWSEUI] Fix auto-completion on VK_DELETE ( #3543 )
...
Reduce failures against Delete key on auto-completion. CORE-9281
2021-03-20 13:18:47 +09:00