Commit graph

53604 commits

Author SHA1 Message Date
James Tabor 016d53260e [Win32k]
- ATI fixup CORE-6551.
- Giannis Adamopoulos fragment patch 18.

svn path=/trunk/; revision=58986
2013-05-10 22:28:18 +00:00
Timo Kreuzer 7647f53075 [SCSIPORT]
Fix a bug in size calculation that causes memory corruption on 64 bit
Fix some MSVC/x64 warnings

[UNIATA]
Fix some MSVC/x64 warnings

svn path=/trunk/; revision=58985
2013-05-10 19:46:50 +00:00
Timo Kreuzer b70c15e6b4 [FREELDR]
Fix stack corruption.

svn path=/trunk/; revision=58984
2013-05-10 17:49:48 +00:00
Amine Khaldi 4353334b66 [PCMCIA]
* Add some function annotations.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58983
2013-05-10 10:30:21 +00:00
Amine Khaldi bc3d063fc1 [PCIX]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58982
2013-05-10 10:22:01 +00:00
Amine Khaldi 39649f0dd6 [PCI]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58981
2013-05-09 21:24:16 +00:00
Amine Khaldi bd9b579007 [KERNEL32]
* Avoid ini cache if file does not exist anymore. By Bruno Jesus.

svn path=/trunk/; revision=58980
2013-05-09 21:04:49 +00:00
Amine Khaldi 382d0c0257 [KERNEL32]
* Remove some unused variables. By Andrew Talbot.

svn path=/trunk/; revision=58979
2013-05-09 21:01:41 +00:00
Amine Khaldi 00a1eae887 [CRT]
* Fix some copy pasta (incorrect checks) in the locale code. By Samuel Serapion.
CORE-7176 #resolve

svn path=/trunk/; revision=58978
2013-05-09 20:46:54 +00:00
Amine Khaldi 1b4861392f [USER32]
* Fix some signed/unsigned mismatches. Brought to you by Victor Martinez.
CORE-7150 #resolve

svn path=/trunk/; revision=58977
2013-05-09 20:09:31 +00:00
Eric Kohl bce782c971 [FASTFAT]
Allow only readonly, hidden, system and archive files attributes to be set for a new file. Other file attributes must be ignored.
This fixes several tests.

svn path=/trunk/; revision=58976
2013-05-09 15:03:51 +00:00
Amine Khaldi 4d9bf5c80a [ISAPNP]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.

svn path=/trunk/; revision=58975
2013-05-09 14:06:21 +00:00
Hermès Bélusca-Maïto 91ef640fe5 Merge my current work done on the kd++ branch:
- FreeLdr is able now to load personalized Kernel Debugger Transport DLLs by reading at the kernel command line and interpreting the /DEBUGPORT=xxx entry (--> loads KDxxx.DLL dll in \SystemRoot\System32\).
  Therefore we can not only load the "default" kdcom.dll, but also 3rd-party ones such as kdbazis.dll from VirtualKD (from revision 58902).
- The GCC-compiled-only version of kdcom, containing legacy COM code, was removed and put directly along KDBG. It remains only a stub / template for future kdcom-like dlls. The MSVC-version remains untouched.
- Make those functions ^ use directly the CPORTLIB library.

svn path=/trunk/; revision=58974
2013-05-09 13:12:58 +00:00
Hermès Bélusca-Maïto e2b54f3271 [NTOS]
Remove the kdbg-specific tags from the tag header and put them into the kdbg-specific header.

svn path=/branches/kd++/; revision=58973
2013-05-09 12:55:39 +00:00
Hermès Bélusca-Maïto 7712bdbae9 Sunc with trunk revision 58971.
svn path=/branches/kd++/; revision=58972
2013-05-09 12:36:15 +00:00
Hermès Bélusca-Maïto 1398bd62c8 [FREELDR]
- Fix dprints (be careful when "Status" variables are booleans).
- Don't fail when trying to load an non-existent KD transport dll.

svn path=/branches/kd++/; revision=58971
2013-05-08 17:52:16 +00:00
Hermès Bélusca-Maïto 0811c4fabe [KDROSDBG-NTOS]
Put the 3 helper COM functions into KDBG directly.

svn path=/branches/kd++/; revision=58970
2013-05-08 15:36:38 +00:00
Amine Khaldi a1f6ab4391 [AFD]
* Mark SelectTimeout as a KDEFERRED_ROUTINE and fix its calling convention. This fixes a potential stack corruption.
* Brought to you by Nikolay Borisov and the MSVC static analyzer ;)
CORE-7171 #resolve

svn path=/trunk/; revision=58969
2013-05-08 12:12:15 +00:00
Amine Khaldi 689682751e [BEEP]
* Properly mark some unreferenced parameters as such.
[AFD]
* Properly fix a debug print specifier.

svn path=/trunk/; revision=58968
2013-05-08 11:55:37 +00:00
Amine Khaldi 8901f8a911 [AFD]
* Fix more debug print specifiers.

svn path=/trunk/; revision=58967
2013-05-08 11:33:13 +00:00
Amine Khaldi 90cb6ce333 [AFD]
* Add some function annotations.
* Fix several debug print specifiers.
* Properly mark some unreferenced parameters as such.
* This fixes several warnings emitted by the MSVC static analyzer.
* Brought to you by Nikolay Borisov, with minor consistency styling changes by me.
CORE-7171

svn path=/trunk/; revision=58966
2013-05-08 10:55:46 +00:00
Amine Khaldi 018f811091 [XDK/DDK]
* The event parameter in IoBuildDeviceIoControlRequest is optional. Spotted by Nikolay Borisov.
CORE-7172 #resolve

svn path=/trunk/; revision=58965
2013-05-08 10:26:24 +00:00
Hermès Bélusca-Maïto cbdc727f61 [KDROSDBG]
In fact, the kdcom used for KDBG (in GCC builds) is really a thin layer atop of CPORTLIB.
Remove extra code (remove also the KD_PORT_INFORMATION type) and replace it with calls to CPORTLIB functions.
Next step is to put all that thing into KDBG directly, as helper functions. Then, if one wants to make a really kdcom (as we have for MSVC builds), one has to refactor all KDBG.

svn path=/branches/kd++/; revision=58964
2013-05-07 00:14:36 +00:00
Eric Kohl c1d4f2f390 [MSGINA]
Convert tabs to spaces. No code changes!

svn path=/trunk/; revision=58963
2013-05-06 21:43:03 +00:00
Pierre Schweitzer bfe3492dc4 [KMTESTS:FSRTL]
Add comments

svn path=/trunk/; revision=58962
2013-05-06 11:24:55 +00:00
Pierre Schweitzer c97cdd5dd9 [KMTESTS:FSRTL]
Add more tests for MCBs

svn path=/trunk/; revision=58961
2013-05-06 08:10:53 +00:00
Pierre Schweitzer 567881b593 [RTL]
Finally reenable RtlAcquirePrivilege and RtlReleasePrivilege now that they are fixed.

[KERNEL32]
Remove the hacks in SetSystemTime() and SetLocalTime() now that RtlAcquirePrivilege is working properly.

[SYSSETUP]
Remove the hack for privileges in SetSystemLocalTime() now that SetLocalTime() can properly acquire needed privilege.

CORE-7168 #comment Fixed with r58960 #resolve

svn path=/trunk/; revision=58960
2013-05-05 22:31:17 +00:00
Pierre Schweitzer be5914df2f [RTL]
When we are impersonating, also set the flag, so that on release, we can kill it.
This hopefully fixes 2nd stage and the whole mess it was causing in privileges.

svn path=/trunk/; revision=58959
2013-05-05 22:19:54 +00:00
Hermès Bélusca-Maïto a23361e756 [KDROSDBG]
Place the (unimplemented) real KD functions into a dedicated file and isolate ReactOS-specific port functions. They can go into a libary along KDBG !

svn path=/branches/kd++/; revision=58958
2013-05-05 21:57:42 +00:00
Hermès Bélusca-Maïto dff2ca4ea0 [KDROSDBG]
Comment that part too, because it was in KdPortInitialize and here, it reported an invalid port. KdPortInUse is initialized by KDBG.

svn path=/branches/kd++/; revision=58957
2013-05-05 21:23:20 +00:00
Hermès Bélusca-Maïto 2a95385332 [KDROSDBG]
One can safely remove these forward declarations.

svn path=/branches/kd++/; revision=58956
2013-05-05 20:19:55 +00:00
Pierre Schweitzer a330845fa1 [RTL]
Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.

svn path=/trunk/; revision=58955
2013-05-05 20:19:23 +00:00
Hermès Bélusca-Maïto 9d539e733e Legacy code from KdPortInitialize, which was put in KdPortInitializeEx, is deactivated because it was unusued (the actual code doesn't call KdPortInitialize).
svn path=/branches/kd++/; revision=58954
2013-05-05 20:05:50 +00:00
Pierre Schweitzer 648e8504fc [KERNEL32]
Also "fix" hack of RtlAcquirePrivilege in SetSystemTime(). Spotted by Thomas.

Note for syssetup/rtl/kernel32 devs:
Make it crystal clear that this is a hack and has to be deleted once RAP is fine.
Also note that for SetLocalTime() and 2nd stage, syssetup acquires the privilege itself
in SetSystemLocalTime() before calling SetLocalTime().
This will also have to be deleted once RAP is working fine. Otherwise it will keep failing:
it is not possible to acquire a privilege already held.

svn path=/trunk/; revision=58953
2013-05-05 20:01:14 +00:00
Hermès Bélusca-Maïto 4908927d8f Further remove legacy, now only 3 functions remain.
svn path=/branches/kd++/; revision=58952
2013-05-05 19:55:42 +00:00
Hermès Bélusca-Maïto dc9e82b3b4 I said "remove" !!
svn path=/branches/kd++/; revision=58951
2013-05-05 19:38:12 +00:00
Hermès Bélusca-Maïto d34fd5880d [KDROSDBG]
Remove further legacy exports (the aim is to obtain at least the same exports as kdcom).

svn path=/branches/kd++/; revision=58950
2013-05-05 19:36:05 +00:00
Pierre Schweitzer 9818ea06e5 [RTL]
Don't allocate an extra privilege entry when not required.
Still doesn't fix issue.

svn path=/trunk/; revision=58949
2013-05-05 19:24:25 +00:00
Hermès Bélusca-Maïto f5e22351fb [KDROSDBG]
Remove some unneeded legacy.

svn path=/branches/kd++/; revision=58948
2013-05-05 19:21:03 +00:00
Hermès Bélusca-Maïto a312f665c7 Small files renaming.
svn path=/branches/kd++/; revision=58947
2013-05-05 18:25:57 +00:00
Pierre Schweitzer f96e0193f4 [RTL]
Add a few DPRINTs.
Fix a bug where last status was overrided in case of failure.
Still commented out...

svn path=/trunk/; revision=58946
2013-05-05 17:32:00 +00:00
Pierre Schweitzer 3c4b46ea62 [KERNEL32]
If you workaround RtlAcquirePrivilege, do it properly!
Will prevent bad address freeing...

svn path=/trunk/; revision=58945
2013-05-05 16:38:41 +00:00
Thomas Faber 5d4c6981e0 [HIDCLASS]
- Don't return inconsistent status values from HidClass_DeviceControl

svn path=/trunk/; revision=58944
2013-05-05 15:04:49 +00:00
Johannes Anderwald bf9fa8056b [HID]
- Fix bug in irp completion handler
CORE-7069 

svn path=/trunk/; revision=58943
2013-05-05 14:51:27 +00:00
Johannes Anderwald ed2e1fdfc9 [LIBUSB]
- Remove useless debug prints, which violate the spec
- Fix identation
CORE-7009 

svn path=/trunk/; revision=58942
2013-05-05 14:43:39 +00:00
Sylvain Petreolle c6f4a6973a [FUSION]
Remove baseaddress to fix address conflicts.
Reenable creation of InstallRoot .NET key in its REG_SZ form.


svn path=/trunk/; revision=58941
2013-05-05 13:09:46 +00:00
Thomas Faber 5cd67c3c36 [KMTESTS:MM]
- Fix 64-bit warnings. Patch by Nikolay Borisov.
ROSTESTS-112 #resolve

svn path=/trunk/; revision=58940
2013-05-05 12:18:49 +00:00
Hermès Bélusca-Maïto 2cc6ced701 [CDMAKE]
Reset the "volume expiration date" and the "volume effective date". They are not used.
See http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor for more information.

svn path=/trunk/; revision=58939
2013-05-05 10:18:52 +00:00
Pierre Schweitzer d41a8557a3 [RTL]
Comment out RtlAcquirePrivilege & RtlReleasePrivilege for the moment.
It appears we are overflowing memory and thus corrupting registry, that breaks ReactOS install.
To be investigated...

svn path=/trunk/; revision=58938
2013-05-05 09:55:32 +00:00
Pierre Schweitzer d4c38c2fe4 [RTL]
Implement RtlAcquirePrivilege and RtlReleasePrivilege.
Reviewed by Aleksey

svn path=/trunk/; revision=58937
2013-05-05 09:30:12 +00:00