Commit graph

48390 commits

Author SHA1 Message Date
Giannis Adamopoulos 65bfc47fd6 [undocuser.h]
- Move definition of UpdatePerUserSystemParameters to undocuser.h

svn path=/trunk/; revision=53656
2011-09-09 14:13:04 +00:00
Rafal Harabien 78ba9b27da [WIN32K]
- Rename gQueueKeyStateTable to gKeyStateTable as it has nothing to do with msg queues. They have their own table
- Use KS_*_BIT defines instead of magic values

svn path=/trunk/; revision=53655
2011-09-09 13:11:44 +00:00
Rafal Harabien 08398d6bc1 [WIN32K]
- Rewrite co_IntTranslateAccelerator to make it readable
- Add back support for 0x80 flag as an accelerator table end

svn path=/trunk/; revision=53654
2011-09-09 13:09:28 +00:00
Amine Khaldi 3bb734fcf3 [SHELL32]
* Reintegrate the c++ shell32 branch. Exemplary team-work.. kudos !
* Better code quality, more tests run with less failures... and more.
* Dedicated to everyone who helped ;)

svn path=/trunk/; revision=53653
2011-09-09 10:55:09 +00:00
Claudiu Mihail ec47e5b8d5 [shell32.dll]
[FORMATTING]
- Second wave of formatting. At least now we won't have any tabs and spaces mixed in.

svn path=/branches/shell32_new-bringup/; revision=53651
2011-09-08 22:43:43 +00:00
Claudiu Mihail 13df60a8ec [shell32.dll]
- Fix bug 6336 of shell32_new. The bug was caused by not properly verifying the return value of ShellExecuteExW.
[FORMATTING]
- First wave of accidental formatting (sorry again about mixing code and formatting heh).

svn path=/branches/shell32_new-bringup/; revision=53650
2011-09-08 22:42:01 +00:00
Ged Murphy d35e21f19e [DEVMGMT]
Add the resources

svn path=/trunk/; revision=53649
2011-09-08 22:04:51 +00:00
Ged Murphy 83fe582052 [DEVMGMT]
- Start a new device manager to test the reactos ATL code.
- Also, the old one sucks big time and was quickly hacked together.

svn path=/trunk/; revision=53648
2011-09-08 22:03:08 +00:00
Dmitry Gorbachev 3407fb2a35 [Telnet]
Fix build with GCC 4.7.

svn path=/trunk/; revision=53647
2011-09-08 21:00:37 +00:00
Jérôme Gardou c9122b44d0 [NTOSKRNL]
- disable fast system calls for testing purpose.
See issue #5857 for more details.

svn path=/trunk/; revision=53646
2011-09-08 19:51:06 +00:00
Rafal Harabien dd187dbf32 [WIN32K]
- Fix possible buffer overrun
- Use KEY_VALUE_PARTIAL_INFORMATION field instead of magic offset to data

svn path=/trunk/; revision=53645
2011-09-08 16:38:38 +00:00
Rafal Harabien 6a2bccb41c [WIN32K]
- Rewrite clipboard to match Windows implementation
- Clipboard uses window stations instead of global variables
- Data is saved in clipboard data user objects
- Memory is no longer leaked when winsta is destroyed
- Data is synthesized on demand
- Make internal functions static
- Fix possible memory corruption in IntGetAtomName
- More winetests are passed

svn path=/trunk/; revision=53644
2011-09-08 16:32:54 +00:00
Giannis Adamopoulos d7f5b33e0d [user32]
- Add some more tests for the messages that are sent by SetActiveWindow

svn path=/trunk/; revision=53643
2011-09-08 15:53:38 +00:00
Rafal Harabien e0d36fe09a [WIN32K]
- Simplify accelerators code a bit
- Set last error in NtUserCopyAcceleratorTable
- Fix user32:resource winetest regression

svn path=/trunk/; revision=53642
2011-09-08 14:13:19 +00:00
Claudiu Mihail 29ca67f252 [shell32.dll]
- Make sure the ParseDisplayName functions make the ppidle parameter NULL whenever that's possible. Scores a wine test. Spotted by Victor Martinez.

svn path=/branches/shell32_new-bringup/; revision=53641
2011-09-08 14:07:02 +00:00
Giannis Adamopoulos 2225b4b938 [user32_apitest]
- Add more tests for SetActiveWindow

svn path=/trunk/; revision=53640
2011-09-08 11:31:31 +00:00
Thomas Faber 5fc56f6309 [KMTEST_OLD]
- Remove kmtest_old and kmtloader as all their functionality is included in the new test suite

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53639
2011-09-08 10:44:26 +00:00
Thomas Faber 2b6888164d [KMTestSuite]
- Sync to rostests r53632

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53638
2011-09-08 10:28:02 +00:00
Thomas Faber 2a447311fe [KMTESTS]
- Use new CMake macros in separate drivers, too
- Use kmtest_.exe filename for rbuild too

svn path=/branches/GSoC_2011/KMTestSuite/; revision=53637
2011-09-08 10:25:40 +00:00
Rafal Harabien 8571e00fdc [WIN32K]
- Fix user32:monitor winetest failures (ClipCursor bugs)
- Protect functions in accelerator.c with SEH

svn path=/trunk/; revision=53636
2011-09-08 09:55:28 +00:00
Aleksey Bragin c7b81786fe - Downgrade some DPRINT1s to DPRINTs.
svn path=/trunk/; revision=53635
2011-09-08 08:28:41 +00:00
Timo Kreuzer c508185cd9 [HAL]
- Fix I/O APIC register access
- set APIC logical id based on Cpu (currently flat model with up to 8 cpus supported)
- In HalpInitializeTsc, setup the RTC clock, since the timer is initialized later
- in the TSC calibration ISR, send EOI and read RTC register C to get the next interrupt

svn path=/trunk/; revision=53634
2011-09-08 08:15:39 +00:00
Claudiu Mihail 261ee4dd58 [shell32.dll]
- Initialize uninitialized variables.
- Add code to guard against potential NULL pointer dereferencing.
Thanks to Amine Khaldi for pointing out all these.

svn path=/branches/shell32_new-bringup/; revision=53633
2011-09-07 23:21:02 +00:00
Giannis Adamopoulos 7635cc18b1 [user32_apitest]
- Add some more tests hoping that SetActiveWindow will reveal its secrets

svn path=/trunk/; revision=53632
2011-09-07 23:08:14 +00:00
Timo Kreuzer f085f50747 [HAL]
- Don't use debug prints before the debugger is even initialized
- acquire cmos spinlock when accessing the cmos registers
- Fix amd64 build

svn path=/trunk/; revision=53631
2011-09-07 21:41:50 +00:00
Eric Kohl 13f41d74b9 [RPCTR4]
- Take NetworkAddr into account when a named pipe client is opened.
- Return RPC_S_SERVER_UNAVAILABLE when an attempt to create a named pipe client fails with an ERROR_BAD_NETPATH error.
This fixes the first test failure in the advapi32 service winetest.

svn path=/trunk/; revision=53630
2011-09-07 20:11:19 +00:00
Claudiu Mihail ea0da4a0a3 [shell32.dll]
- More uninitialized value fixing. Again Amine Khaldi spotting them with his magical powers.
- I took the liberty to convert tabs I found to spaces. Normally I shouldn't mix formatting with coding changes but I forgot. Sorry.

svn path=/branches/shell32_new-bringup/; revision=53629
2011-09-07 20:00:32 +00:00
Claudiu Mihail 34529d672c [shell32.dll]
- Attempt at fixing bug 6315 (it doesn't completely work yet). Original patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53628
2011-09-07 19:00:26 +00:00
Timo Kreuzer d78423aadc [HAL_XBOX]
Fix build

svn path=/trunk/; revision=53627
2011-09-07 18:39:20 +00:00
Timo Kreuzer d9ab860e67 [HAL]
Fix buld. I swear it worked here!

svn path=/trunk/; revision=53626
2011-09-07 18:30:38 +00:00
Timo Kreuzer f85bf4380d [HAL]
- give apic hal its own halinit_apic
- give minihal an own halinit_mini.c containing function stubs
- move HalInitializeProcessor to halinit.c and add hal specific function HalpInitProcessor
- get rid of all the #ifndef _MINIHAL_ in halinit.c and move the file to lib_hal_generic
- improve the hal version/build check
- Update spec file for amd64

svn path=/trunk/; revision=53625
2011-09-07 18:25:43 +00:00
Claudiu Mihail aee0ef5405 [shell32.dll]
- Fix bug 6317. Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53624
2011-09-07 17:41:56 +00:00
Claudiu Mihail 5291d19b25 [shell32.dll]
- Fix bug 6316. Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53623
2011-09-07 17:10:45 +00:00
Claudiu Mihail 9f5333c3dc [shell32.dll]
- Fix bug #6301 . Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53622
2011-09-07 16:58:22 +00:00
Giannis Adamopoulos 2f5ccca699 [user32_apitest]
- Add a test case for SetActiveWindow that shows its behavior related to owner windows. It should point the bug observed in bug 1239

svn path=/trunk/; revision=53621
2011-09-07 14:05:58 +00:00
Timo Kreuzer 622fc9501c [NTOSKRNL]
Move the internal headers below the redefinition of types, because gcc instantiates inline function where they are defined, using the original types. Fixes build.

svn path=/trunk/; revision=53620
2011-09-07 13:58:34 +00:00
Timo Kreuzer 1799be4f5f [NTOSKRNL]
Forgot this file, sorry

svn path=/trunk/; revision=53619
2011-09-07 13:45:06 +00:00
Timo Kreuzer 7c062d812b [NTOSKRNL]
Make KeNumberProcessors internally an UCHAR and move it into krnlinit.c instead of having it once per architecture. Fixes a bunch of MSVC warnings.

svn path=/trunk/; revision=53618
2011-09-07 13:43:54 +00:00
Claudiu Mihail 2c7fb01198 [shell32.dll][FORMATTING]
- No code changes. Make the code more readable in preparation for investigating some failing wine tests.

svn path=/branches/shell32_new-bringup/; revision=53617
2011-09-07 13:39:13 +00:00
Timo Kreuzer 6c556c3422 [HAL]
- move v86 code out of trap.S into v86.S (APIC uses a different trap entry file), compile it directly in the dll instead of a lib to be able to silence linker warnings
- Group files in HAL_PIC_SOURCE and HAL_APIC_SOURCE, you just need to replace PIC with APIC to build the hal with APIC support (we can later use it to build the other hals:  halapic, halaacpi, halmacpi, halmps)
- use apic on amd64 builds
- give halacpi its own resource file
- silence MSVC linker warnings

svn path=/trunk/; revision=53616
2011-09-07 12:00:29 +00:00
Timo Kreuzer 29f16ed6c4 [HAL]
Rename HalpAcquireSystemHardwareSpinLock to HalpAcquireCmosSpinLock

svn path=/trunk/; revision=53615
2011-09-07 10:14:48 +00:00
Rafal Harabien a4c1f7e52a [MKHIVE]
- Fix max key name length, max value name length, max value data length properties of registry key not being set correctly
- Fixes #6042 - regedit on LiveCD shows keys and values now

svn path=/trunk/; revision=53614
2011-09-07 09:51:13 +00:00
Claudiu Mihail 7a20b6f2bb [shell32.dll]
- Another round of fixing badly initialized variables. Again Amine Khaldi being the hero.

svn path=/branches/shell32_new-bringup/; revision=53613
2011-09-07 01:33:31 +00:00
Claudiu Mihail 270842aeb0 [shell32.dll]
- Initialize uninitialized variables in constructors.
[atl]
- Initialize uninitialized variables in constructors.
All spotted by Amine Khaldi.

svn path=/branches/shell32_new-bringup/; revision=53612
2011-09-06 23:52:38 +00:00
Timo Kreuzer b5198d7d39 [HAL]
Start implementing APIC support, which is needed for both SMP and x64. It will use the local APIC + I/O APIC for interrupt control, the RTC instead of the PIT for the timer interrupt (PIT doesn't always work with I/O APIC), the APIC timer for profiling and finally the TSC for the performance counter and KeStallExecutionProcessor.
The code is incomplete and doesn't work yet

svn path=/trunk/; revision=53611
2011-09-06 21:01:49 +00:00
Giannis Adamopoulos 6cc65f4e4f [shell32]
- Add missing initialization. Fixes the problem where explorer fails to show the child window at the first attempt to open a folder

svn path=/branches/shell32_new-bringup/; revision=53610
2011-09-06 20:20:54 +00:00
Eric Kohl 2020d7c71f [MUP]
- Any attempt to open or create a file on a remote machine will return STATUS_BAD_NETWORK_PATH. This means the server is not available. Trying to create \\testserver\testshare\testdir\test.txt fails just like on Windows XP.
- Add service key and values for the MUP driver. Add the driver to the File System group because adding it to the Network group, like on Windows XP, does not load the driver.

svn path=/trunk/; revision=53609
2011-09-06 19:17:54 +00:00
Jérôme Gardou 49149fb1c8 [CMAKE]
- get rid of set_entrypoint usage for "win32" dlls

svn path=/trunk/; revision=53608
2011-09-06 17:31:25 +00:00
Timo Kreuzer e6a91fe96a [RTL]
Add FPO information to some asm functions

svn path=/trunk/; revision=53607
2011-09-05 22:18:56 +00:00
Jérôme Gardou 4634d67e38 [RBUILD]
- qmgrprxy.dll has an entrypoint

svn path=/trunk/; revision=53606
2011-09-05 19:36:07 +00:00