Commit graph

48867 commits

Author SHA1 Message Date
Kamil Hornicek de942cd1e5 [VGAMP]
Fix the confusion between mode index 12 and video mode 12h introduced more than six years ago. ReactOS should now boot again when VGA is selected in the 1st stage.

svn path=/trunk/; revision=54139
2011-10-14 18:09:30 +00:00
Amine Khaldi d1532096b8 [WIN32K]
* Fix a copy-paste error in EngBitBlt() and improve DIB_32BPP_ColorFill() behaviour in case when input rectangle is invalid (RECTL structure fields are signed, so "jle" instruction should be used instead of "jbe").
* Patch by Igor Sudarikov <4seev3 at gmail [dot] com>
See issue #4423 for more details.

svn path=/trunk/; revision=54138
2011-10-14 18:03:07 +00:00
Rafal Harabien bf47d19f10 [WIN32K] - Fix sending WM_SYSKEYUP for ALT. Fixes rest of user32:input winetest (6). It's finally green!
svn path=/trunk/; revision=54137
2011-10-14 17:59:16 +00:00
Amine Khaldi 4ee928adff [CMD]
* Reduce the scope of some variables.

svn path=/trunk/; revision=54136
2011-10-14 17:50:16 +00:00
Timo Kreuzer 87ba1dad43 [VIDEOPRT]
Remove an old hack, that caused an inconsistency between the display's device object name and the name of its symbolic link / registry key. The hack isn't needed anymore, because win32k now loads the next device if one isn't available. Fixes VBoxVideo being loaded together with framebuf.dll instead of VBoxDisp.dll and now the mouse pointer integration works completely.

svn path=/trunk/; revision=54135
2011-10-14 14:50:22 +00:00
Rafal Harabien a7dfeac07a [WIN32K]
- Keyboard state is update when msg is peeked from queue (not posted) and before virtual keys are simplified. Fixes 2 user32:input winetests.

svn path=/trunk/; revision=54134
2011-10-14 14:21:51 +00:00
Timo Kreuzer d4fd0cd125 [WIN32K]
- Since some display drivers don't do as they should - return the drisplay driver name in the DEVMODE's dmDisplayName field - but return the miniport driver name, fix that name when creating the mode list. This fixes loading of VBox driver, when it is installed properly, which needs to be fixed as well.

svn path=/trunk/; revision=54133
2011-10-14 13:41:03 +00:00
Timo Kreuzer 883f9dd2ba [CRT]
Fix rbuild...

svn path=/trunk/; revision=54132
2011-10-14 08:50:13 +00:00
Timo Kreuzer e3a81ccca5 [CRT]
- Remove _fltused from alldiv_asm.s / mscmain.c and use fltused.c instead.
- Remove amd64/alldiv.S
- Implement amd64 ceil, ceilf with sse
[NTOSKNRL]
- Fix amd64 exports
[ASM]
- Fix amd64 asm files to conform to the new syntax

svn path=/trunk/; revision=54131
2011-10-14 08:33:22 +00:00
Dmitry Gorbachev 38ed2303d8 [UNIATA]
Nathan Lineback <~lineback~AT~toastytech~DOT~com~>:
- Apply the Linux fix to UniATA. Bug #6500.

svn path=/trunk/; revision=54130
2011-10-14 05:33:49 +00:00
James Tabor 78208f96bf - Fix timers.
svn path=/trunk/; revision=54129
2011-10-14 02:44:48 +00:00
Rafal Harabien ed013220f7 [WIN32K/CSRSS]
- Remove outdated comments
- Make Raw Input Thread CSRSS thread too
Thanks to Smiley and ThFabba for investigating TEB issue

svn path=/trunk/; revision=54128
2011-10-13 22:38:58 +00:00
Rafal Harabien 35e585def8 [CSRSS] - Remove DbgBreakPoint
svn path=/trunk/; revision=54127
2011-10-13 22:26:00 +00:00
Rafal Harabien cea000b473 [WIN32K]
- Added Print Screen support in previous comit accidentally...
- Fix build and warning about global object being removed

svn path=/trunk/; revision=54126
2011-10-13 22:24:02 +00:00
Rafal Harabien 81a9b72e90 [WIN32K/CSRSS]
- Spawn keyboard and mouse input threads in csrss user-mode process so they are valid Win32 threads and have TEB

svn path=/trunk/; revision=54125
2011-10-13 22:22:49 +00:00
Giannis Adamopoulos b4721b55d7 [win32k]
- Fix and simplify retrieving the current process window station. All processes that enter win32k have a window station (including csrss)

svn path=/trunk/; revision=54124
2011-10-13 22:16:58 +00:00
Cameron Gutman 1f28d5c2e2 [BOOTDATA]
- Enable usbdrv.sys in 1st stage setup and the system hive
- USB keyboards and mice work now (file bugs if you have problems)

svn path=/trunk/; revision=54123
2011-10-13 22:16:52 +00:00
Cameron Gutman a911d394c6 [USBDRV]
- Rename usbdriver to usbdrv (Freeloader can't load files that aren't 8.3 - needs looking into)
- Include usbdrv in build

svn path=/trunk/; revision=54122
2011-10-13 22:07:31 +00:00
Amine Khaldi 65de2fca72 [RTL]
* Fix unix build.

svn path=/trunk/; revision=54121
2011-10-13 21:48:10 +00:00
Cameron Gutman 358cc6d2aa [KBDCLASS]
- Add a small hack to bind all keyboard port devices to the same keyboard class device when no default setting is present (circumvents win32k not supporting multiple keyboard class FDOs)

svn path=/trunk/; revision=54120
2011-10-13 21:38:07 +00:00
Olaf Siejka b7d70a78e7 [TRANSLATION]
- serialui, setupapi, shimgvw and tapiui romanian translation, patch by Stefan Fulea;
See issue #6558 for more details.

svn path=/trunk/; revision=54119
2011-10-13 21:32:37 +00:00
Rafal Harabien 14e29265a0 [WIN32K] - Add more clipboard internal functions for use by Print Screen support
svn path=/trunk/; revision=54118
2011-10-13 20:49:03 +00:00
Kamil Hornicek 9a45ad55e8 [WINED3D]
Finally recognize Mesa's GDI driver as HW_VENDOR_SOFTWARE. This commit was blessed by the Wine team.

svn path=/trunk/; revision=54117
2011-10-13 19:57:31 +00:00
Aleksey Bragin 360430be4d [RTL]
- Fix two bugs revealed by the newly added test in r54114.
 * Original length of the passed string should be used when checking for out-of-buffer access in the loop
 * PathChars should be updated if a DOS device name was found in the given string.
See issue #6390 for more details.

svn path=/trunk/; revision=54116
2011-10-13 18:15:50 +00:00
Aleksey Bragin d9f8633b4e - Add a new RtlIsDosPathName_Ustr test which shows a flaw in the existing implementation.
svn path=/trunk/; revision=54114
2011-10-13 17:42:19 +00:00
Rafal Harabien eaf2462310 [EXPLORER] - If Start Menu is open, WIN key hides it
svn path=/trunk/; revision=54113
2011-10-13 15:50:24 +00:00
Timo Kreuzer 143732711e [ASM]
Improve .proc / .endproc syntax, so that the full symbolic name is passed, which allows to create fastcall symbols. Remove the need to pass the function name to .endp

svn path=/trunk/; revision=54112
2011-10-13 15:16:29 +00:00
Kamil Hornicek 9955d0ed84 [GDI32_WINETEST]
Bail out of compare_emf_bits earlier. This way we only record one skipped test, but it allows us to actually complete the metafile tests. Restore formatting to its previous glory.

svn path=/trunk/; revision=54111
2011-10-13 14:11:50 +00:00
Rafal Harabien db72017f94 [NOTEPAD] - Characters in ANSI windows are fixed so finally mark notepad as unicode
svn path=/trunk/; revision=54110
2011-10-13 14:02:21 +00:00
Rafal Harabien 412bc985ed [USER32|WIN32K]
- Convert wParam in WM_*CHAR messages to ANSI in GetMessageA instead of win32k. Fixes wrong characters used in cmake notepad which is ANSI.

svn path=/trunk/; revision=54109
2011-10-13 14:01:01 +00:00
Kamil Hornicek 5b1ee500b6 fix build
svn path=/trunk/; revision=54108
2011-10-13 13:38:22 +00:00
Rafal Harabien bb162a6c86 [WIN32K]
- Right ALT on some keyboard sends LCONTROL and RALT key events
- Shift has never extended bit in key messages
- Fixes about 32 user32:input winetest
- Don't allow to register hotkeys with special keys combinations (eg. WIN key)
- Set last error in RegisterHotKey if hotkey is already registered

svn path=/trunk/; revision=54107
2011-10-13 13:23:57 +00:00
Timo Kreuzer f886d23efc [GDI32_APITEST]
- Add tests for CreateDIBitmap
- more tests for AddFontResource, GetPixel, SetSysColors

svn path=/trunk/; revision=54106
2011-10-13 12:52:25 +00:00
Kamil Hornicek caf14d848f [SYSSETUP]
Allow creating of shortcuts with icon indexes != 0.
[EXPLORER]
Shuffle the resources a bit so icons with indexes 0 and 1 match those in windows explorer.
See issue #6544 for more details.

svn path=/trunk/; revision=54105
2011-10-13 12:38:24 +00:00
James Tabor 1a69f5d9b4 [Win32k]
- Restore global class operations.
[ComCtl32]
- Use local class since this has higher priority over all global classes.
[Themes]
- Tested with XP Luna and two others. Rune and another Luna.


svn path=/trunk/; revision=54104
2011-10-13 11:57:38 +00:00
Kamil Hornicek b329afaddd [GDI32]
Partial winesync to reduce code duplication and fix a crash in gdi32 font winetest.

svn path=/trunk/; revision=54103
2011-10-12 23:07:22 +00:00
James Tabor 8b3cab8db4 [Rtl]
- Replace RtlQueryInformationActiveActivationContext and set it based on wine.


svn path=/trunk/; revision=54102
2011-10-12 22:48:01 +00:00
James Tabor fdcbfe037e [Win32k]
- Support Active SxS for the window structures.


svn path=/trunk/; revision=54101
2011-10-12 22:46:07 +00:00
Kamil Hornicek 1212f4fec9 [SHELL32]
Use COPYRIGHT_YEAR in the Authors dialog.
See issue #6496 for more details.

svn path=/trunk/; revision=54100
2011-10-12 21:54:10 +00:00
Kamil Hornicek 951482674a one .rbuild file ought to be enough for anybody
svn path=/trunk/; revision=54099
2011-10-12 21:33:48 +00:00
Rafal Harabien 43562431ef [DESK]
- Fix duplicated entries in screensaver selector. Patch by Carlo Bramix <carlo dot bramix at libero dot it>.
See issue #6533 for more details.

svn path=/trunk/; revision=54098
2011-10-12 21:30:50 +00:00
Timo Kreuzer d0d304b342 [RTL]
On x86 builds use the asm versions of the byte swap functions. This is neccessary for RtlUlonglongByteswap, because the function breaks the calling convention on Windows, not cleaning up the stack. Make the asm compatible to ML and improve it a bit. Investigated by Thomas Faber.

svn path=/trunk/; revision=54097
2011-10-12 21:11:02 +00:00
Timo Kreuzer a38e883762 [NTOSKRNL]
Do not use image base addresses above MmHighestUserAddress in MmMapViewOfSection, because it would first succeed when checking for conflicting memory areas, and thus not try to find a better address, but later fail in MmMapViewOfSegment, which cannot create a memory area in system space (only possible with MmKernelAddressSpace / PsIdleProcess).
See issue #5680 for more details.

svn path=/trunk/; revision=54096
2011-10-12 19:26:45 +00:00
Timo Kreuzer 2e7ccdc07c [SERVICES]
- Do not keep the process handle of a started process open
- when sending a STOP command to a process failed, then succeed and mark the process as stopped.
Fixes ghost processes, when terminating a service with taskmgr and allows to restart services that got terminated or possibly crashed.

svn path=/trunk/; revision=54095
2011-10-12 14:26:01 +00:00
Amine Khaldi 24bcd11f8e * Improve some includes.
svn path=/trunk/; revision=54094
2011-10-12 12:24:19 +00:00
Thomas Faber b98f465c6d [RTL]
- Handle a NULL buffer in RtlIpv4AddressToStringA as Windows does. Fixes crash in ntdll:rtl test
[CRT]
- Fail on qsort with 0 size. Fixes hang in ntdll:string test

svn path=/trunk/; revision=54093
2011-10-12 11:58:46 +00:00
Thomas Faber 0f71d87a65 [STLPORT]
- Revert r54088
[GLU32]
- Do not use stlport headers with MSVC, as they are broken. Should really fix MSVC build

svn path=/trunk/; revision=54092
2011-10-12 11:49:25 +00:00
Thomas Faber bdd81004f4 [RTL]
- Rewrite RtlFindCharInUnicodeString. Fixes timeout in ntdll:rtlstr test.

svn path=/trunk/; revision=54091
2011-10-12 11:36:52 +00:00
Thomas Faber b2d43ccd3c [KMTESTS/RTL]
- Add a test for RtlFindCharInUnicodeString

svn path=/trunk/; revision=54090
2011-10-12 11:25:34 +00:00
Thomas Faber bab9f940a1 [RPCRT4_WINETEST]
- Sync to Wine 1.3.30. Fixes crash in rpcrt4:rpc test
See issue #5778 for more details.

svn path=/trunk/; revision=54089
2011-10-12 11:02:41 +00:00