Commit graph

50465 commits

Author SHA1 Message Date
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
Alex Ionescu 9d05ce3297 [NTOSKRNL]: Fix ntdll:om winetest. When querying for filenames if the caller did not specify a buffer large enough (which they normally don't, initially), we would just fail but not tell them how large to request it (so they'd get back an uninitailized huge value).
svn path=/trunk/; revision=55728
2012-02-20 00:11:24 +00:00
Giannis Adamopoulos b65af38817 [user32_apitest]
- Test the initial desktop and window station of processes

svn path=/trunk/; revision=55727
2012-02-19 23:46:06 +00:00
Giannis Adamopoulos 97e75d9ef2 [win32k]
- remove assertions from the process callout checking that ppiCurrent->rpdeskStartup and ppiCurrent->hdeskStartup are valid. This can happen in case we fail to open the initial desktop or window station

svn path=/trunk/; revision=55726
2012-02-19 23:29:28 +00:00
Cameron Gutman 69d0df4728 [USBEHCI]
- Try to fix reset bugs in my code and remove hacks
- Don't clear extra bits when acknowledging a port connect status change
[USBOHCI]
- Code cleanup
- No functional change

svn path=/trunk/; revision=55725
2012-02-19 22:22:45 +00:00
Giannis Adamopoulos 850d4b4ddf [ntoskrnl]
- Fix a crash in KiSystemCall that was caused because PsConvertToGuiThread may have switched to a large kernel stack, but still returned with failure because win32k did not succeed. To fix it reload the trap frame after the call before checking for success.

svn path=/trunk/; revision=55724
2012-02-19 22:05:25 +00:00
Alex Ionescu d46e167a87 sigh.
svn path=/trunk/; revision=55723
2012-02-19 20:23:56 +00:00
Alex Ionescu ca2598c831 [CSRSRV]: Some misc cleanup of dead code. No functional change.
svn path=/trunk/; revision=55722
2012-02-19 20:16:36 +00:00
Alex Ionescu 79ef1a1380 [CSRSRV]: Heh, fix a bug, which I think caused the crash in CSRSS during other process' crashes.
svn path=/trunk/; revision=55721
2012-02-19 20:13:07 +00:00
Alex Ionescu 0e457a22c3 [CSRSRV/KERNEL32]: Close the last big architectural known issue: we were not notifying CSRSRV of server threads within server-to-server situations. Port and fix CsrCreateRemoteThread from CSRSRV2, and call it from Kernel32 now when running inside the server itself. Also fix BaseProcessStart not to exit the whole process during an exception.
At this point, other issues are unknown regressions.

svn path=/trunk/; revision=55720
2012-02-19 20:09:49 +00:00
Alex Ionescu 339ee42bae [NTOSKRNL]: The ExitTime in ETHREAD is unionized and only valid if the thread actually exited, so don't always return the raw value -- return 0 if the thread is still alive. Fixes code which uses ExitTime != 0 to tell if a thread is still alive or not -- everyone always thought all ReactOS threads are always dead.
svn path=/trunk/; revision=55719
2012-02-19 20:08:11 +00:00