Commit graph

58056 commits

Author SHA1 Message Date
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
Hermès Bélusca-Maïto 456a955d0b [USETUP]: French translation for extended partitions feature, see r63392.
svn path=/trunk/; revision=63393
2014-05-21 00:18:50 +00:00
Eric Kohl 8cbded8053 [USETUP]
- Implement creation of extended partitions.
- Add creation checks for primary and extended partitions.

svn path=/trunk/; revision=63392
2014-05-20 23:48:36 +00:00
David Quintana 6a96b1732b I was noted that I forgot to also apply the same fix to the KeRestoreFloatingPointState function.
Also, for reference: r23894 contained working implemnentations in fpu.c. In r23895 ion "moved" it to cpu.c, killing the MSVC implementation in the process. In 23972, ion added new MSVC code for it, but this new version had the bug. It has remained undiscovered until very recently.

svn path=/trunk/; revision=63391
2014-05-20 22:51:38 +00:00
David Quintana c71be46956 Fix KeSaveFloatingPointState. It was working once upon a time, but the fix was lost on some refactoring. I was told to blame it on Arch.
svn path=/trunk/; revision=63390
2014-05-20 22:33:26 +00:00
Christoph von Wittich aede864303 [urlmon_winetest]
-Fixed some occasionally failing tests. Patch by Jacek Caban (sync to wine head)

svn path=/trunk/; revision=63389
2014-05-20 21:29:27 +00:00
Timo Kreuzer 590447888e [NTOSKRNL]
Fix ending address calculation for the commit path in NtAllocateVirtualMemory like done for the reserve path in r63356. Add a comment about a Windows kernel bug, which we will keep for now, until the implications are better determined.

svn path=/trunk/; revision=63388
2014-05-20 21:11:43 +00:00
James Tabor e387cb4358 [User32]
- Update and sync DDE code with wine. Make name space close to what it should be.


svn path=/trunk/; revision=63386
2014-05-20 19:39:34 +00:00
Aleksandar Andrejevic 4c4205442e [NTVDM]
Use a separate palette for text mode. Previously the text mode palette was equal to the
first 16 entries of the graphical palette, which is wrong since the AC registers can be
used to select arbitrary colors from the DAC.


svn path=/trunk/; revision=63385
2014-05-20 18:46:50 +00:00
James Tabor 8546e5f645 [Win32k]
- Fix load menu callback. Use it for loading system menus.
- Sync in more wine code, fix sub-menu arrow drawing. See WinMerge.
- Miscellaneous code changes.

svn path=/trunk/; revision=63380
2014-05-20 03:40:42 +00:00
Aleksandar Andrejevic a3fe90d0d0 [NTVDM]
Properly repeat the GetNextVDMCommand request. Using "continue" there will not work
if the application has been started by a double click, since in that case AcceptCommands
is FALSE.


svn path=/trunk/; revision=63379
2014-05-19 22:40:36 +00:00
Hermès Bélusca-Maïto 74f8d131ac [NTVDM]: Fix INT 15h, AH=C0h.
svn path=/trunk/; revision=63377
2014-05-19 21:12:35 +00:00
Kamil Hornicek 9e5dfae220 [CMAKE/MSVC]
- define _ALLOW_KEYWORD_MACROS for VS11 too

svn path=/trunk/; revision=63376
2014-05-19 20:28:35 +00:00
Daniel Reimer ffbeaececb [WINED3DCFG]
Fixed two errors in the RCs.
Shortened a String of ... my ... translation.

svn path=/trunk/; revision=63375
2014-05-19 18:26:26 +00:00
Daniel Reimer 25007a6e57 [BROWSEUI]
Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed after some build fixes, thx.
P.S. Former commit was made by Alex Gorgurov

svn path=/trunk/; revision=63374
2014-05-19 18:14:30 +00:00
Daniel Reimer c12f161a1b [TRANSLATION]
Small improvement of Russian translation
CORE-7994 #resolve #comment Committed, thanks for help.

svn path=/trunk/; revision=63373
2014-05-19 18:00:47 +00:00
Daniel Reimer db2a4e0e50 [WINED3DCFG]
German translation by ... me.

svn path=/trunk/; revision=63372
2014-05-19 17:33:24 +00:00
Kamil Hornicek ebb1a6ec86 [WINED3DCFG]
- rewrite the wined3d config cpl to make it work with the current version of wined3d
- add a "default" option so it's easier to revert changes done to the configuration
- I apologize for the "lost" translations but there were too many changes

svn path=/trunk/; revision=63368
2014-05-19 09:58:26 +00:00
Hermès Bélusca-Maïto 02bef19b58 [NTVDM]
- Initialize the BIOS Configuration Table, see http://www.ctyme.com/intr/rb-1594.htm for more information.
- Implement INT 15h, AH=C0h "GET CONFIGURATION".

svn path=/trunk/; revision=63367
2014-05-19 02:21:49 +00:00
Hermès Bélusca-Maïto de36490031 [NTVDM]
Since the BIOS registers the whole range of possible interrupts, we register their stubs in an array-form so that the BIOS always registers INT n at the same place. We save 561 bytes of memory.

svn path=/trunk/; revision=63366
2014-05-19 01:12:25 +00:00
Hermès Bélusca-Maïto 65a58c440e [NTVDM]
Correctly NULL-terminate the command-lines when needed (and avoid buffer overruns).

svn path=/trunk/; revision=63365
2014-05-18 23:45:43 +00:00
Hermès Bélusca-Maïto 3e159aa702 [KERNEL32]: Remove temporary DPRINTs and fix comments.
svn path=/trunk/; revision=63364
2014-05-18 23:17:25 +00:00
Hermès Bélusca-Maïto 3384092338 [KERNEL32]: Fix the newline adding (see r63361).
svn path=/trunk/; revision=63363
2014-05-18 23:13:12 +00:00
Hermès Bélusca-Maïto ab209b91b5 [KERNEL32] Improve a dprint (needed when studying spaces in command lines).
svn path=/trunk/; revision=63362
2014-05-18 23:12:24 +00:00