Commit graph

57779 commits

Author SHA1 Message Date
Christoph von Wittich c51c0ec1b4 [bootdata]
convert hivecls.inf and hivedef.inf to UTF16LE
fixes CORE-7614

svn path=/trunk/; revision=63452
2014-05-25 20:17:25 +00:00
Timo Kreuzer dd982c4a66 [NTOSKRNL]
Revert unwanted white space changes

svn path=/trunk/; revision=63451
2014-05-25 20:10:31 +00:00
Amine Khaldi c53ac2a20b [PSDK]
* Fix an ARM ifdef.

svn path=/trunk/; revision=63450
2014-05-25 19:28:14 +00:00
Timo Kreuzer 158661ce31 [NTOSKRNL]
Implement prototype PTE support in MiGetPageProtection. Should hopefully fix crashes with OllyDbg.

svn path=/trunk/; revision=63449
2014-05-25 19:13:32 +00:00
Amine Khaldi b7ad4ef800 [CMAKE]
* Include the dummy source file for the PSEH ARM build too.

svn path=/trunk/; revision=63448
2014-05-25 19:04:21 +00:00
Amine Khaldi 47d4598769 [MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63447
2014-05-25 17:55:48 +00:00
Amine Khaldi db48c57de3 [MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63446
2014-05-25 17:04:44 +00:00
Amine Khaldi 53d3cc1111 [CRT]
* Partial update of scanf routines (MS ABI varargs).
CORE-8080

svn path=/trunk/; revision=63445
2014-05-25 16:09:32 +00:00
Timo Kreuzer 1c28feb238 [WIN32K]
Remove obsolete patblt.c (all the code is in bitblt.c)

svn path=/trunk/; revision=63444
2014-05-25 14:41:33 +00:00
Amine Khaldi ccc118bbe5 [CRT]
* Partial update of scanf routines. Focus was on the case of reading a float.
* Don't inline float processing, introduce _internal_handle_float() and co to take care of this. Brought to you by Timo.
* Msvcrt scanf tests are now green.
CORE-7005 #resolve #comment Should be fixed in r63443. Thanks Dmitry ;)
CORE-8080

svn path=/trunk/; revision=63443
2014-05-25 14:30:54 +00:00
Timo Kreuzer f01e92424a [WIN32K]
Make sure to check for invalid NULL handles before passing them to GDIOBJ_bLockMultipleObjects, which skips NULL handles. This is a design limitation, since otherwise we either need to pass a bitfield of valid handles, or duplicate  code in certain functions, where different combinations of dest, source and mask dc are allowed.

svn path=/trunk/; revision=63442
2014-05-25 12:59:17 +00:00
Amine Khaldi aaedf937d2 [CMAKE]
* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441
2014-05-25 12:29:49 +00:00
Daniel Reimer 118cceaf95 [LAUTUS]
Change the used font from Segoe UI (MS ONLY) to the very close looking OpenSans family. Same parameters though.

svn path=/trunk/; revision=63440
2014-05-25 11:40:30 +00:00
Daniel Reimer 3052ad7ec8 [FONTS]
Add Open Sans Font Family as Segoe UI like font for Lautus.
Add Ubuntu Font Family which is used by Lautus.

svn path=/trunk/; revision=63439
2014-05-25 11:39:12 +00:00
Amine Khaldi 704c97f422 [CRT]
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438
2014-05-25 10:47:48 +00:00
Timo Kreuzer 84baf8d20a [RTL]
Fix warnings and a bug in 64bit bitmap code

svn path=/trunk/; revision=63437
2014-05-25 10:36:47 +00:00
Timo Kreuzer ce1a5160ec [NTOSKRNL]
Add SEH to LpcpCreatePort and NtAcceptConnectPort. Based on patches by Aleksander Andrejevic ([TheFlash])
CORE-7156 #resolve
CORE-7371 #comment SEH still missing in NtSecureConnectPort, NtReplyPort, NtReplyWaitReceivePortEx, NtRequestPort

svn path=/trunk/; revision=63436
2014-05-25 10:21:08 +00:00
Christoph von Wittich 59af32287d [powerprof]
fix some typos in comments

svn path=/trunk/; revision=63435
2014-05-25 08:28:51 +00:00
Christoph von Wittich 12bcab448a [shell32]
revert the revert, my wine version was outdated

svn path=/trunk/; revision=63430
2014-05-24 16:39:55 +00:00
Timo Kreuzer bc9a62248c [MAGNIFY]
Update display even when mouse does not move. Patch by Andrea Faulds. 
CORE-4739 #comment Committed in r63429, thanks. #resolve

svn path=/trunk/; revision=63429
2014-05-24 10:19:01 +00:00
Timo Kreuzer 229b404fde [DDRAW]
Avoid buffer overrun in IDirectDraw::GetCaps. Patch by Jérôme Gardou.
CORE-4623 #resolve

svn path=/trunk/; revision=63428
2014-05-24 09:53:24 +00:00
Christoph von Wittich a850037725 [shell32]
sync _SHGetUserProfilePath with wine

svn path=/trunk/; revision=63427
2014-05-24 06:44:22 +00:00
Sylvain Petreolle dd379d872b [TXTSETUP]
Install wmilib.
Dedicated to Timo. ;)

svn path=/trunk/; revision=63425
2014-05-23 19:31:23 +00:00
Christoph von Wittich a65891147d [shell32]
set first verb as default
fixes opening control panel applets by double click

svn path=/trunk/; revision=63424
2014-05-23 17:28:39 +00:00
Christoph von Wittich b3a2dbfc9a [shell32]
revert one line of r63414

svn path=/trunk/; revision=63423
2014-05-23 17:14:39 +00:00
Eric Kohl 15accf6c00 [USETUP]
- ScanForUnpartitionedDiskSpace: Scan the list of logical partitions for unpartitioned space too.
- Fix a little typo.

svn path=/trunk/; revision=63421
2014-05-22 23:31:39 +00:00
Timo Kreuzer df7e3fde89 [NTOSKRNL]
When a user mode debugger has single stepping enabled and steps over a sysenter instruction, you are obviously not supposed to enter the kernel debugger on the syscall entry handler. But exactly this happened on reactos. This was because the sysenter instruction doesn't disable single stepping, so we need to handle this special case manually in the single stepping handler (which we didn't). We now check if the single step comes from KiFastCallEntry and when it does, disable single stepping in the current (nested) trap frame and return back to a secondary fast call entry. The 2nd entrypoint will make sure to re-enable the single step flag in EFLAGS before returning to usermode.
To make this actually work, the asm entry stub itself needs to handle saving of eflags, so some trap frame modification from KiFastCallEntryHandler was moved into the asm stub. Since the amount of asm instructions is rather small (10 instructions, pretty straight forward) I moved everything from KiSystemServiceHandler to the asm stub and killed KiFastCallEntryHandler entirely, calling KiSystemServiceHandler instead.
Now stepping over a sysenter instruction works with OllyDbg without breaking into the kernel debugger. CORE-8057 #resolve

svn path=/trunk/; revision=63420
2014-05-22 22:28:57 +00:00
Amine Khaldi ccd49a5b8a [CRT]
* Update ungetwc().
CORE-8080

svn path=/trunk/; revision=63418
2014-05-22 21:10:16 +00:00
Amine Khaldi 6314cbc84d [CRT]
* Update _wtmpnam() and tmpnam().
CORE-8080

svn path=/trunk/; revision=63417
2014-05-22 20:59:46 +00:00
Timo Kreuzer ea89346b76 [WIN32K]
Amendment to r63409.
Zap remaining kernel object header access from win32k. Noticed by Hermes.

svn path=/trunk/; revision=63416
2014-05-22 19:15:40 +00:00
Christoph von Wittich ce7e55def9 [shell32]
Import some changes from Wine to shlexec.cpp 
patch by Ivan Rodionov see CORE-8196

svn path=/trunk/; revision=63414
2014-05-22 18:53:44 +00:00
Timo Kreuzer 1f5094f9a8 [BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve

svn path=/trunk/; revision=63413
2014-05-22 16:15:48 +00:00
Amine Khaldi 292420e2af [CRT]
* Update fputs().
CORE-8080

svn path=/trunk/; revision=63412
2014-05-22 16:13:44 +00:00
Eric Kohl f537d6e8e4 [USETUP]
- Fix a failed partition type assignment, when unpartitioned disk space is converted to an extended partition.
- Rename the extended partition list to logical partition list. 
- Add a pointer to an extended partition to the disk entries. And keep it up-to-date when the primary partition list is built or modified.
- Add the 'Unpartitioned space' partiton entry to the logical partition list when an extended partition has been created.
- Remove all logical partition entries when the coresponding extended partition will be deleted.

svn path=/trunk/; revision=63411
2014-05-22 14:55:04 +00:00
Amine Khaldi e849ca97bc [CRT]
* Update fgetpos().
CORE-8080

svn path=/trunk/; revision=63410
2014-05-22 14:10:49 +00:00
Timo Kreuzer 17be1062a2 [WIN32K]
Don't access the object header of a kernel object from win32k. Instead get the desktop name from the desktop info structure. CORE-6818 #resolve

svn path=/trunk/; revision=63409
2014-05-22 13:40:23 +00:00
Timo Kreuzer 02851fb0e2 [WIN32K]
Make all GDI object cleanup functions return VOID instead of BOOL.
CORE-6870 #resolve

svn path=/trunk/; revision=63408
2014-05-22 11:45:53 +00:00
Amine Khaldi c52bfa77a8 [MSVCRT]
* Don't export wcstombs_s().
CORE-8174

svn path=/trunk/; revision=63407
2014-05-22 11:42:45 +00:00
Timo Kreuzer 3369bd4f94 [NTOSKRNL]
Pass process id to DbgUnLoadImageSymbols instead of ZwCurrentProcess() or a PEPROCESS.
Patch by Jérôme Gardou <jerome.gardou at reactos dot org>
CORE-8253 #resolve

svn path=/trunk/; revision=63406
2014-05-22 10:18:22 +00:00
Timo Kreuzer bbbef82de9 [NTOSKRNL]
- Do not align the size of a memory area to the allocation granularity, but to PAGE_SIZE. Fixes OllyDbg regression from r61108. CORE-8168 #resolve
- Clarify the size calculation in MmCreateMemoryArea 
- Silence a few DPRINTs

svn path=/trunk/; revision=63405
2014-05-22 10:08:44 +00:00
Kamil Hornicek 16a52a9e08 [WIN32K]
- make DIB_XXBPP_StretchBlt work with top down bitmaps
- fixes missing icons in the taskbar in explorer new (32bpp)

svn path=/trunk/; revision=63404
2014-05-22 09:33:29 +00:00
Eric Kohl a5b59586d3 [USETUP]
Display logical partitions. They cannot be selected or modified yet.

svn path=/trunk/; revision=63403
2014-05-21 20:20:18 +00:00
Amine Khaldi 10af5eafdf [MSVCRT]
* Don't export mbstowcs_s().
CORE-7889

svn path=/trunk/; revision=63402
2014-05-21 18:02:48 +00:00
Amine Khaldi 934a5546ea [MSVCRT_CRT_APITEST]
* Don't enable wcstombs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63401
2014-05-21 14:26:20 +00:00
Amine Khaldi b5adad7bfa [MSVCRT_CRT_APITEST]
* Don't enable mbstowcs_s() tests (it shouldn't be exported).
CORE-7889

svn path=/trunk/; revision=63400
2014-05-21 13:30:26 +00:00
Amine Khaldi be8085bec0 [MSVCRT_CRT_APITEST]
* Don't reply on _set_errno() which shouldn't be exported.

svn path=/trunk/; revision=63399
2014-05-21 13:20:38 +00:00
Hermès Bélusca-Maïto 666f21e88f [USETUP]
- Fix a bit the translation of yesterday;
- Use TEXT_PADDING_BIG instead of hardcoding 3 spaces in the status messages.

svn path=/trunk/; revision=63398
2014-05-21 12:23:04 +00:00
Eric Kohl be2afdedf6 [USETUP]
Display the proper partition type 'Extended Partiton' when an extended partition is going to be deleted.

svn path=/trunk/; revision=63396
2014-05-21 11:01:17 +00:00
Timo Kreuzer 110e942a46 [NTOSKRNL]
Do not ASSERT, when an unimplemented, yet legal flag (MEM_RESERVE) is passed to NtMapViewOfSection. Instead fail gracefully.

svn path=/trunk/; revision=63395
2014-05-21 09:44:41 +00:00
Hermès Bélusca-Maïto 4da2490a2d Forgot this...
svn path=/trunk/; revision=63394
2014-05-21 00:22:05 +00:00