Commit graph

50525 commits

Author SHA1 Message Date
Jérôme Gardou 78412e7ca0 [CMAKE]
- get rid of the no longer needed importlibs directory
 - exclude importlibs from all target in MSVC build

svn path=/trunk/; revision=55778
2012-02-21 15:03:19 +00:00
Jérôme Gardou 8d5f2380bf [CMAKE]
- fix MSVC build

svn path=/trunk/; revision=55777
2012-02-21 14:56:36 +00:00
Jérôme Gardou 7c9159f25f [CMAKE]
- generate 'real' libraries for import libraries
This way only the link step relies on them.
Should avoid rebuilding half of the tree next time Alex changes ntdll.spec
A relinking orgy is more than enough

svn path=/trunk/; revision=55776
2012-02-21 14:32:05 +00:00
Johannes Anderwald b398f3fe30 [USBCCGP]
- Send unconfigure request when the device is removed
[USBOHCI]
- Handle unconfigure request

svn path=/trunk/; revision=55775
2012-02-21 03:03:27 +00:00
Cameron Gutman 5b71379204 [HIVESYS]
- Load FS drivers on demand instead of boot start because WinLdr already adds the boot FS driver to the start list

svn path=/trunk/; revision=55774
2012-02-21 02:19:04 +00:00
Cameron Gutman b0965ffa70 [NTOSKRNL]
- Add prints to unloading functions because things seem very wonky here
- This exposes some previously unknown behavior of fastfat actually being unloaded in early boot (with uniata and buslogic failing unload due to missing DriverUnload)

svn path=/trunk/; revision=55773
2012-02-21 01:26:29 +00:00
Johannes Anderwald 177a18b44b [HIDCLASS]
- Call mini driver for pnp events
- Wait for all pending irps to complete
[HIDUSB]
- Fix bug when removing device object found by Cameron Gutman
[USBOHCI]
- Remove assert 
- Delete configuration descriptors when device is deleted

svn path=/trunk/; revision=55772
2012-02-21 01:16:56 +00:00
Jérôme Gardou 5429a4441e if A ASSERT B => ASSERT(B or not A)
svn path=/trunk/; revision=55771
2012-02-21 00:46:18 +00:00
Jérôme Gardou 55993182a9 [NTOSKRNL/MM]
- finally, release user shared data at process address space cleanup.
 - release PDE pages that might not be freed at process end.
 - Let the caller handle PDE release when deleting a PTE
 - restore Richard's ASSERT : All user PDE pages are now freed!

svn path=/trunk/; revision=55770
2012-02-21 00:32:24 +00:00
Kamil Hornicek 680e4604d2 [TRANSLATION]
da-da -> da-dk

svn path=/trunk/; revision=55769
2012-02-21 00:15:25 +00:00
Amine Khaldi 991d17ef5f [LIBXSLT]
* Properly set a module type to take advantage of automatically setting the base address.

svn path=/trunk/; revision=55768
2012-02-20 23:46:02 +00:00
Amine Khaldi 8138c72aae [CMAKE]
* Alter the current base addresses, and introduce all the missing ones.
* We have a much better way to assign them, thanks to Timo's excellent suggestions.
* Big thanks go to Geir Hauge for making us an awesome script that conveniently and automagically generates baseaddress.cmake.
* Dedicated to Alex.

svn path=/trunk/; revision=55767
2012-02-20 23:44:41 +00:00
Cameron Gutman 87c1a78ebb [NTOSKRNL]
- Silence a warning
- Unsilence 2 warnings

svn path=/trunk/; revision=55766
2012-02-20 23:34:17 +00:00
Amine Khaldi 2494d9170c * Addendum to r55764.
svn path=/trunk/; revision=55765
2012-02-20 22:09:21 +00:00
Amine Khaldi 459a045652 [CMAKE]
* Simplify the way we handle importlib targets by taking control of the importlib name.

svn path=/trunk/; revision=55764
2012-02-20 22:08:14 +00:00
Jérôme Gardou d720941f1e [NTOSKRNL/MM]
- Stop leaking references to PDEs.
Still one reference left to the TLB mapping at process deletion.

svn path=/trunk/; revision=55763
2012-02-20 20:51:18 +00:00
Jérôme Gardou 30703d5a5d [USETUP]
- Print a bit more information when failing.

svn path=/trunk/; revision=55762
2012-02-20 20:51:09 +00:00
Jérôme Gardou 435f5a8bfd [NTOSKRNL/MM]
- Make MmWorkingSetList PTE local
 - Map MmWorkingSetList to Vm.VmWorkingSetList when creating process.

svn path=/trunk/; revision=55761
2012-02-20 20:50:36 +00:00
Sylvain Petreolle 8df2149dc1 [MEDIA/INF]
Ukrainian translation by Igor Paliychuk.

svn path=/trunk/; revision=55760
2012-02-20 19:55:16 +00:00
Giannis Adamopoulos 35fb03888f - Hide test traces in test cd. This should make comparing test logs easier
svn path=/trunk/; revision=55759
2012-02-20 19:26:27 +00:00
Giannis Adamopoulos 287bd60ec8 [win32k]
- Fix SPI_SETMOUSESPEED
- Patch by Edijs Kolesnikovics, terminedijs@yahoo.com 

svn path=/trunk/; revision=55758
2012-02-20 18:05:33 +00:00
Kamil Hornicek dcb742b114 [TRANSLATION]
Renaming to match the CHINESE_TRADITIONAL sub lang.

svn path=/trunk/; revision=55757
2012-02-20 16:49:48 +00:00
Johannes Anderwald 1c6cfe79fb [USBHUB]
- Check if the request is for a valid PDO

svn path=/trunk/; revision=55756
2012-02-20 15:54:19 +00:00
Giannis Adamopoulos 123637fd96 [win32k]
- Do not store the PDEVOBJ and a fake name in MONITOR struct. Use MONITOR.HDEV instead (which is an opaque pointer to a PDEVOBJ)

svn path=/trunk/; revision=55755
2012-02-20 13:23:32 +00:00
Kamil Hornicek 5cce4a8bd0 missed this one, sorry
svn path=/trunk/; revision=55754
2012-02-20 12:21:43 +00:00
Kamil Hornicek b3b352bf6e [TRANSLATION]
Rename pt-pt to match the pt-br sublang.

svn path=/trunk/; revision=55753
2012-02-20 12:20:42 +00:00
Cameron Gutman e321ae7ab1 [KBDCLASS][MOUCLASS]
- Demote an assertion into a warning

svn path=/trunk/; revision=55752
2012-02-20 12:08:35 +00:00
Cameron Gutman 9a4a85968d [KBDCLASS]
- Kill the rest of the input stack hack of doom

svn path=/trunk/; revision=55751
2012-02-20 11:47:46 +00:00
Cameron Gutman e7d4fc1686 [I8042PRT]
- "All this file is a big hack and should be removed one day…" - Today is that day! setup.c is no more!
[TXTSETUP.SIF]
- Move keyboard drivers to the Keyboard.Load section
[USETUP]
- Add a small keyboard class installation hack
- USB keyboards now load during 1st stage

svn path=/trunk/; revision=55750
2012-02-20 11:41:28 +00:00
Giannis Adamopoulos 07bda3bb7e [win32k]
- There is no need to cache the current window station in SystemParametersInfo. Query it directly when needed

svn path=/trunk/; revision=55749
2012-02-20 11:35:14 +00:00
Cameron Gutman e37e71082a - Fix copy paste error
svn path=/trunk/; revision=55748
2012-02-20 11:33:11 +00:00
Cameron Gutman c6679c9df4 [NTOSKRNL]
- Create the DeviceClasses key necessary for device interfaces to be registered successfully in 1st stage
- This may not be the correct place to do this so anyone is free to move it

svn path=/trunk/; revision=55747
2012-02-20 11:30:51 +00:00
Giannis Adamopoulos 000dac9eb6 [win32k]
- Create defaultDCstate when the first dc is created not when the first dce is created
- Fix build

svn path=/trunk/; revision=55746
2012-02-20 10:58:55 +00:00
Giannis Adamopoulos 6e4d714573 [win32k]
- Peb->ProcessParameters->DesktopInfo must be probed and captured with SEH before used in win32k

svn path=/trunk/; revision=55745
2012-02-20 10:51:07 +00:00
Giannis Adamopoulos 42dde0a3ef [win32k]
- Remove an unused function

svn path=/trunk/; revision=55744
2012-02-20 10:47:13 +00:00
Cameron Gutman 94da11bec8 [NTOSKRNL]
- First check if a driver object exists before trying to load the service module to properly handle boot drivers

svn path=/trunk/; revision=55743
2012-02-20 10:24:14 +00:00
Cameron Gutman b175abf7c1 [USBEHCI]
- When releasing a low or full speed device, set the EHCI_PRT_RELEASEOWNERSHIP bit with the current port status so that any change bits are acknowledged
- Fixes detecting new devices after a companion controller handoff

svn path=/trunk/; revision=55742
2012-02-20 09:23:33 +00:00
Cameron Gutman 20008617a0 [USBOHCI]
- Finally fix the OHCI reset bug for real and remove hacks

svn path=/trunk/; revision=55741
2012-02-20 09:00:09 +00:00
Cameron Gutman cb23c43428 [USBOHCI]
- Set the power switching configuration into a known state when initializing the controller

svn path=/trunk/; revision=55740
2012-02-20 08:41:19 +00:00
Cameron Gutman 07f816a3f9 [USBOHCI]
- Queue a work item to handle an enable status change condition

svn path=/trunk/; revision=55739
2012-02-20 08:25:38 +00:00
Cameron Gutman bc411bd0a0 [USBOHCI]
- Don't clear extra change bits

svn path=/trunk/; revision=55738
2012-02-20 08:09:31 +00:00
Alex Ionescu e96c88b49b [NTOSKRNL]: Fix the zombie fix. Should fix toolhelp tests.
[NTOSKRNL]: If you're going to fake success when doing access checks, also grant the rights that would normally be refused, for consistency's sake. Should fix a bunch of the kernel32:synch tests (which have nothing to do with synch...).

svn path=/trunk/; revision=55737
2012-02-20 07:30:26 +00:00
Alex Ionescu 0e6938d173 [NDK]: Fix completely messed up SYSTEM_PROCESS_INFORMATION and SYSTEM_THREAD_INFORMATION classes, which were causing the kernel to return totally wrong data for NtQuerySystemInformation(SystemProcessInformation). Fixes Winetests, I assume Taskmgr, and other similar system tools.
svn path=/trunk/; revision=55736
2012-02-20 06:45:02 +00:00
Alex Ionescu 0e2219f054 [NTOSKRNL]: MOV CRX, YYY and MOV YYY, CRX, as well as the DR equivalents were not correctly detected as privileged instructions in the GPF handler. Fixes Winetests.
[NTOSKRNL]: The "Write" bit in the x86 Error Code is not bit 1, it is bit 2. Fix all the GPF handlers to check for bit 2 instead when determining if an exception was due to read or write. Fixes Winetests.
I'll say it nicely this time for Timo: when you rewrite ASM, do it carefully :)

svn path=/trunk/; revision=55735
2012-02-20 06:43:54 +00:00
Alex Ionescu 1e172203a6 [NTOSKRNL]: Implement ProcessDebugObjectHandle and a bunch more query/set process classes. Fixes Winetests.
[NTOSKRNL]: We should not be setting *ReturnLength in most failure cases, so no longer do so. Fixes Winetests.

svn path=/trunk/; revision=55734
2012-02-20 06:42:02 +00:00
Alex Ionescu 62930b0461 [RTL]: Force RtlIpToString APIs to behave inexplicably like on Windows, returning -1 instead of crashing when sprintfing to a NULL pointer.
svn path=/trunk/; revision=55733
2012-02-20 06:37:13 +00:00
Alex Ionescu d3418a128b [KERNEL32]: Add support for NO_DEBUG_INHERIT in CreateProcess. Fixes a winetest.
svn path=/trunk/; revision=55732
2012-02-20 06:36:17 +00:00
Alex Ionescu 4e027af35c [NTOSKRNL]: NtQuerySystemInformation(SystemProcessInformation) should skip zombie processes, and it should use the KTHREAD ThreadListEntry, not the ETHREAD ThreadListEntry. Fixes winetest since Idle Threads are int he former, not the latter (verified and Windows does this too).
svn path=/trunk/; revision=55731
2012-02-20 06:35:05 +00:00
Sir Richard 8fa73c4dc6 [NTDLL_WINETEST]: Skip an obviously nonsensical test of trying to sprintf into NULL.
svn path=/trunk/; revision=55730
2012-02-20 01:13:50 +00:00
Alex Ionescu 19a5d85926 [NTDLL/RTL]: Implement RtlGet/SetThreadErrorMode.
[NTDLL/RTL]: Fix RtlIpv4AddressToStringA and RtlIpv4AddressToStringW to work like in Windows (and crash with a NULL buffer).

svn path=/trunk/; revision=55729
2012-02-20 01:13:31 +00:00