reactos.git
9 years ago[NTOSKRNL]
Aleksandar Andrejevic [Sat, 3 May 2014 16:39:21 +0000 (16:39 +0000)]
[NTOSKRNL]
Remove the e_lfarlc check. It fails on perfectly valid executables.

svn path=/branches/ntvdm/; revision=63132

9 years agoSync with trunk revision 63128.
Hermès Bélusca-Maïto [Sat, 3 May 2014 12:58:22 +0000 (12:58 +0000)]
Sync with trunk revision 63128.

svn path=/branches/ntvdm/; revision=63129

9 years ago[I8042PRT]
Thomas Faber [Sat, 3 May 2014 11:17:57 +0000 (11:17 +0000)]
[I8042PRT]
- Do not prematurely complete IRP_MN_FILTER_RESOURCE_REQUIREMENTS or IRP_MN_QUERY_PNP_DEVICE_STATE
- Do not handle IRP_MN_QUERY_DEVICE_RELATIONS.BusRelations. We're not the bus driver!
- Correctly stub the (mandatory!) dispatch functions for IRP_MJ_POWER and IRP_MJ_SYSTEM_CONTROL
CORE-8142 #resolve

svn path=/trunk/; revision=63127

9 years ago[I8042PRT]
Timo Kreuzer [Sat, 3 May 2014 11:04:52 +0000 (11:04 +0000)]
[I8042PRT]
Apply a workaround by hto to fix mouse / touchpad on some notebooks.
CORE-6901

svn path=/trunk/; revision=63126

9 years ago[KERNEL32][BASESRV]
Aleksandar Andrejevic [Sat, 3 May 2014 02:34:40 +0000 (02:34 +0000)]
[KERNEL32][BASESRV]
Move the console/ID checking code from kernel32 to basesrv.

svn path=/branches/ntvdm/; revision=63125

9 years ago[KERNEL32][NTVDM]
Aleksandar Andrejevic [Sat, 3 May 2014 02:13:51 +0000 (02:13 +0000)]
[KERNEL32][NTVDM]
In BaseCheckVDM, return a task ID of 0 if there is a console.
In CommandThreadProc, make sure the loop executes at least once.
Also, if a session ID is given, there is no parent console, so there is no need to wait
for further commands.

svn path=/branches/ntvdm/; revision=63124

9 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 23:00:10 +0000 (23:00 +0000)]
[BASESRV]
Don't accept NULL as a valid console handle.

svn path=/branches/ntvdm/; revision=63122

9 years ago[NTVDM][KERNEL32]
Aleksandar Andrejevic [Fri, 2 May 2014 22:23:34 +0000 (22:23 +0000)]
[NTVDM][KERNEL32]
Send the specified task ID to CSRSS in GetNextVDMCommand.
In ntvdm, parse the command line parameters to find the session ID, and pass it in
every call to GetNextVDMCommand.

svn path=/branches/ntvdm/; revision=63121

9 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 21:45:16 +0000 (21:45 +0000)]
[BASESRV]
In BaseSrvGetConsoleRecord and GetConsoleRecordBySessionId, check if the console record was not found instead
of returning the last one in the list.
In BaseSrvCheckVDM, return the session ID to the caller.

svn path=/branches/ntvdm/; revision=63120

9 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 21:17:05 +0000 (21:17 +0000)]
[NTVDM]
Restore the console to normal size while no DOS task is running and keep track
of the cursor position.
Adapted from a patch by Hermès Bélusca-Maïto.

svn path=/branches/ntvdm/; revision=63119

9 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 18:49:15 +0000 (18:49 +0000)]
[NTVDM]
Initialize the reference counts of the DOS console handles.

svn path=/branches/ntvdm/; revision=63118

9 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 18:24:40 +0000 (18:24 +0000)]
[NTVDM]
Use VdmRunning to keep the state of the whole VDM, not a VDM task.
Add an event whose signaled state determines the state of the VDM task.
Use FILE_SHARE_READ when opening executables.

svn path=/branches/ntvdm/; revision=63116

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 2 May 2014 17:11:13 +0000 (17:11 +0000)]
[KERNEL32]
Compare against "NE", not "N" only. Caught by Victor Martinez, thanks ;)
CORE-8159 #resolve

svn path=/branches/ntvdm/; revision=63113

9 years ago[DEVMGMT]
Thomas Faber [Fri, 2 May 2014 16:04:29 +0000 (16:04 +0000)]
[DEVMGMT]
- Fix an operator precedence issue. Patch by Víctor Martínez
CORE-8144 #resolve

svn path=/trunk/; revision=63111

9 years ago[COMP]
Thomas Faber [Fri, 2 May 2014 15:46:23 +0000 (15:46 +0000)]
[COMP]
- Remove broken/unnecessary assignments. Patch by Víctor Martínez
CORE-8143 #resolve

svn path=/trunk/; revision=63110

9 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 15:44:47 +0000 (15:44 +0000)]
[NTVDM]
Set VdmRunning to TRUE in EmulatorSimulate.

svn path=/branches/ntvdm/; revision=63109

9 years ago[NTOSKRNL]
Aleksandar Andrejevic [Fri, 2 May 2014 15:00:38 +0000 (15:00 +0000)]
[NTOSKRNL]
Fix the previous fix. We must use STATUS_ROS_EXEFMT_UNKNOWN_FORMAT.

svn path=/branches/ntvdm/; revision=63107

9 years ago[NTOSKRNL]
Aleksandar Andrejevic [Fri, 2 May 2014 14:38:36 +0000 (14:38 +0000)]
[NTOSKRNL]
If we cannot read the file at offset e_lfanew, it means that the value of e_lfanew is invalid.

svn path=/branches/ntvdm/; revision=63105

9 years ago[NTOS:IO]
Thomas Faber [Fri, 2 May 2014 09:17:36 +0000 (09:17 +0000)]
[NTOS:IO]
- Don't bugcheck if quota allocation fails in IoAllocateIrp

svn path=/trunk/; revision=63102

9 years ago[MSGINA][SHELL32]
Hermès Bélusca-Maïto [Fri, 2 May 2014 02:52:15 +0000 (02:52 +0000)]
[MSGINA][SHELL32]
- Resize the logon graphics logo to windows standard size: 413x72.
- Use this very same logo for ShellAbout. Adapted from a proposition by Lee Schroeder. The real fix for this would be to do like Windows, that means, since (you can double-check) shell32 takes the picture from msgina.dll .
CORE-7940 #resolve #comment Fixed, thanks ;)

svn path=/trunk/; revision=63101

9 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 01:20:40 +0000 (01:20 +0000)]
[BASESRV]
Fix the previous fix. It's not necessary to use a different status value from the one that was returned.

svn path=/branches/ntvdm/; revision=63100

9 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 01:18:46 +0000 (01:18 +0000)]
[BASESRV]
Make sure that the console record exists before continuing.

svn path=/branches/ntvdm/; revision=63099

9 years ago[BASESRV][KERNEL32][NTVDM]
Aleksandar Andrejevic [Thu, 1 May 2014 23:52:36 +0000 (23:52 +0000)]
[BASESRV][KERNEL32][NTVDM]
Make our BaseSrvGetNextVDMCommand and GetNextVDMCommand a bit more Windows-compatible,
and modify NTVDM accordingly.

svn path=/branches/ntvdm/; revision=63098

9 years ago[QMGR][BOOTDATA]
Thomas Faber [Thu, 1 May 2014 19:50:37 +0000 (19:50 +0000)]
[QMGR][BOOTDATA]
- Properly register qmgr classes and create the BITS service. See https://source.winehq.org/git/wine.git/commitdiff/c1fce745
CORE-8135 #resolve

svn path=/trunk/; revision=63097

9 years ago[USP10]
Thomas Faber [Thu, 1 May 2014 19:44:30 +0000 (19:44 +0000)]
[USP10]
- Fix buffer overflow in _ItemizeInternal
CORE-8133 #resolve

svn path=/trunk/; revision=63096

9 years ago[WINVER]: Remove wine'isms and add a resource file.
Hermès Bélusca-Maïto [Thu, 1 May 2014 17:49:23 +0000 (17:49 +0000)]
[WINVER]: Remove wine'isms and add a resource file.

svn path=/trunk/; revision=63095

9 years ago[FORMATTING]
Timo Kreuzer [Thu, 1 May 2014 13:37:08 +0000 (13:37 +0000)]
[FORMATTING]
No code change

svn path=/trunk/; revision=63094

9 years ago[WIN32K]
Timo Kreuzer [Thu, 1 May 2014 10:51:19 +0000 (10:51 +0000)]
[WIN32K]
Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825

svn path=/trunk/; revision=63093

9 years ago[PSEH]
Timo Kreuzer [Thu, 1 May 2014 10:27:38 +0000 (10:27 +0000)]
[PSEH]
When we use the dummy PSEH, use an if (ExternalVariable) around the except block. This is to make Coverity check the except handler as well and take into account that it could be executed.

svn path=/trunk/; revision=63092

9 years ago[WIN32K]
Timo Kreuzer [Thu, 1 May 2014 09:59:01 +0000 (09:59 +0000)]
[WIN32K]
When no clip object is passed to EngGradientFill, use the global trivial one instead of creating a new one. Fixes memory leak. CID 716615

svn path=/trunk/; revision=63091

9 years ago[FORMATTING]
Timo Kreuzer [Thu, 1 May 2014 09:48:40 +0000 (09:48 +0000)]
[FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=63090

9 years ago[WIN32K]
Timo Kreuzer [Thu, 1 May 2014 08:57:11 +0000 (08:57 +0000)]
[WIN32K]
Fix DPRINT, noticed by Thomas

svn path=/trunk/; revision=63089

9 years ago[WIN32K]
Timo Kreuzer [Thu, 1 May 2014 08:55:04 +0000 (08:55 +0000)]
[WIN32K]
Check return value of NtQuerySystemInformation in EngQuerySystemAttribute
CID 513027

svn path=/trunk/; revision=63088

9 years ago[WIN32K]
Timo Kreuzer [Thu, 1 May 2014 08:30:41 +0000 (08:30 +0000)]
[WIN32K]
Don't check a pointer for being NULL after it has been dereferenced.
CID 1102416

svn path=/trunk/; revision=63087

9 years ago[WBEMPROX]
Thomas Faber [Thu, 1 May 2014 04:22:06 +0000 (04:22 +0000)]
[WBEMPROX]
- Fix order of operations for assignment in class_object_Next. Patch by Víctor Martínez
CORE-8116 #resolve

svn path=/trunk/; revision=63086

9 years ago[RAPPS]
Pierre Schweitzer [Wed, 30 Apr 2014 22:03:49 +0000 (22:03 +0000)]
[RAPPS]
Close downloaded application before attempting to execute it.

CORE-8134 #resolve

svn path=/trunk/; revision=63085

9 years ago[BASE][BOOT][WIN32SS]
Amine Khaldi [Wed, 30 Apr 2014 19:05:42 +0000 (19:05 +0000)]
[BASE][BOOT][WIN32SS]
* Fix some format string / argument mismatches. By Andre Guibert de Bruet.
CORE-7995 #resolve #comment Thanks!

svn path=/trunk/; revision=63084

9 years ago[CRT]
Thomas Faber [Wed, 30 Apr 2014 19:05:38 +0000 (19:05 +0000)]
[CRT]
- Fix potential null dereference in TRACE in _wfreopen. Patch by Víctor Martínez
CORE-8120 #resolve

svn path=/trunk/; revision=63083

9 years ago[DBGHELP]
Thomas Faber [Wed, 30 Apr 2014 18:59:39 +0000 (18:59 +0000)]
[DBGHELP]
- Fix order of operations for assignment in symt_fill_sym_info. Patch by Víctor Martínez
CORE-8114 #resolve

svn path=/trunk/; revision=63082

9 years ago[FASTFAT]
Pierre Schweitzer [Wed, 30 Apr 2014 18:48:03 +0000 (18:48 +0000)]
[FASTFAT]
Disable SL_OPEN_TARGET_DIRECTORY for the moment.

CORE-8128 #resolve

svn path=/trunk/; revision=63081

9 years ago[MPLAY32][MSPAINT][NOTEPAD][REGEDIT][WINHLP32]
Amine Khaldi [Wed, 30 Apr 2014 18:41:39 +0000 (18:41 +0000)]
[MPLAY32][MSPAINT][NOTEPAD][REGEDIT][WINHLP32]
* Fix some format string / argument mismatches. By Andre Guibert de Bruet.
CORE-7995

svn path=/trunk/; revision=63080

9 years ago[README.WINE]
Amine Khaldi [Wed, 30 Apr 2014 13:19:57 +0000 (13:19 +0000)]
[README.WINE]
* Mark some modules as up to date.
CORE-8080

svn path=/trunk/; revision=63079

9 years ago[STI]
Amine Khaldi [Wed, 30 Apr 2014 13:07:53 +0000 (13:07 +0000)]
[STI]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63078

9 years ago[STDOLE2.TLB][STDOLE32.TLB]
Amine Khaldi [Wed, 30 Apr 2014 13:05:05 +0000 (13:05 +0000)]
[STDOLE2.TLB][STDOLE32.TLB]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63077

9 years ago[SNMPAPI_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 13:01:50 +0000 (13:01 +0000)]
[SNMPAPI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63076

9 years ago[SHDOCVW]
Amine Khaldi [Wed, 30 Apr 2014 13:00:35 +0000 (13:00 +0000)]
[SHDOCVW]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63075

9 years ago[RICHED32_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:57:41 +0000 (12:57 +0000)]
[RICHED32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63074

9 years ago[RASAPI32_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:56:17 +0000 (12:56 +0000)]
[RASAPI32_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63073

9 years ago[PSTOREC]
Amine Khaldi [Wed, 30 Apr 2014 12:54:17 +0000 (12:54 +0000)]
[PSTOREC]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63072

9 years ago[PDH_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:50:57 +0000 (12:50 +0000)]
[PDH_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63071

9 years ago[ODBCCP32_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:47:25 +0000 (12:47 +0000)]
[ODBCCP32_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63070

9 years ago[OBJSEL]
Amine Khaldi [Wed, 30 Apr 2014 12:45:57 +0000 (12:45 +0000)]
[OBJSEL]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63069

9 years ago[NTPRINT_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:44:28 +0000 (12:44 +0000)]
[NTPRINT_WINETEST]
* Sync with Wine 1.7.17.
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.
CORE-8080

svn path=/trunk/; revision=63068

9 years ago[NTDSAPI_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:42:30 +0000 (12:42 +0000)]
[NTDSAPI_WINETEST]
* Improve header inclusions.
* Speedup build.
* Remove redundant definitions.

svn path=/trunk/; revision=63067

9 years ago[MSXML][MSXML2][MSXML4][MSXML6]
Amine Khaldi [Wed, 30 Apr 2014 12:39:01 +0000 (12:39 +0000)]
[MSXML][MSXML2][MSXML4][MSXML6]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63066

9 years ago[MSTASK_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:33:05 +0000 (12:33 +0000)]
[MSTASK_WINETEST]
* Improve header inclusions.

svn path=/trunk/; revision=63065

9 years ago[MSTASK]
Amine Khaldi [Wed, 30 Apr 2014 12:32:16 +0000 (12:32 +0000)]
[MSTASK]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63064

9 years ago[MSIMTF]
Amine Khaldi [Wed, 30 Apr 2014 12:29:51 +0000 (12:29 +0000)]
[MSIMTF]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63063

9 years ago[LZ32_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:24:15 +0000 (12:24 +0000)]
[LZ32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63062

9 years ago[LOCALUI_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:23:12 +0000 (12:23 +0000)]
[LOCALUI_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63061

9 years ago[INSENG]
Amine Khaldi [Wed, 30 Apr 2014 12:20:21 +0000 (12:20 +0000)]
[INSENG]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63060

9 years ago[IMM32_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:16:47 +0000 (12:16 +0000)]
[IMM32_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63059

9 years ago[HNETCFG]
Amine Khaldi [Wed, 30 Apr 2014 12:13:25 +0000 (12:13 +0000)]
[HNETCFG]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63058

9 years ago[FUSION_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:10:17 +0000 (12:10 +0000)]
[FUSION_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63057

9 years ago[FAULTREP_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:08:33 +0000 (12:08 +0000)]
[FAULTREP_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63056

9 years ago[CRYPTUI_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:08:17 +0000 (12:08 +0000)]
[CRYPTUI_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63055

9 years ago[CREDUI_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:03:06 +0000 (12:03 +0000)]
[CREDUI_WINETEST]
* Remove redundant definition.

svn path=/trunk/; revision=63054

9 years ago[COMCAT_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 12:01:03 +0000 (12:01 +0000)]
[COMCAT_WINETEST]
* Sync with Wine 1.7.17.
* Remove redundant definition.
CORE-8080

svn path=/trunk/; revision=63053

9 years ago[ADVPACK_WINETEST]
Amine Khaldi [Wed, 30 Apr 2014 11:59:11 +0000 (11:59 +0000)]
[ADVPACK_WINETEST]
* Sync with Wine 1.7.17.
CORE-8080

svn path=/trunk/; revision=63052

9 years ago[DPLAY][MSDMO][WPP]
Amine Khaldi [Wed, 30 Apr 2014 11:57:36 +0000 (11:57 +0000)]
[DPLAY][MSDMO][WPP]
* Mark as up to date.
CORE-8080

svn path=/trunk/; revision=63051

9 years ago[MSGINA]
Aleksey Bragin [Tue, 29 Apr 2014 22:19:57 +0000 (22:19 +0000)]
[MSGINA]
- Report errors in StartupWindowThread as they are critical (the caller will wait infinitely).

svn path=/trunk/; revision=63050

9 years ago[FASTFAT]
Pierre Schweitzer [Tue, 29 Apr 2014 20:50:51 +0000 (20:50 +0000)]
[FASTFAT]
Fix the most stupid bug ever in ReactOS history (at least!).

Dear Pierre, you pretend you're modifying the FileObject->FileName field, but, as you were told in the early when you learnt C, you're at that point in your code dealing with a local copy of the unicode string. So, if modifying the Buffer field is fine, because it's a pointer to memory zone, containing the wchar string, modifying the Length field is totally pointless because it won't magically modify the unicode string in the file object, and will just be forgotten as long the function will be unstacked.

So REALLY modify the file object. VfatSetRenameInformation receives less garbage information now...

svn path=/trunk/; revision=63049

9 years ago[rtl/actctx]
Christoph von Wittich [Tue, 29 Apr 2014 19:37:02 +0000 (19:37 +0000)]
[rtl/actctx]
reduce diff to wine (not a full sync)

svn path=/trunk/; revision=63048

9 years ago[KERNEL32_WINETEST]
Kamil Hornicek [Tue, 29 Apr 2014 19:15:28 +0000 (19:15 +0000)]
[KERNEL32_WINETEST]
- fix msvc build (?)

svn path=/trunk/; revision=63047

9 years ago[kernel32_winetest]
Christoph von Wittich [Tue, 29 Apr 2014 18:30:54 +0000 (18:30 +0000)]
[kernel32_winetest]
skip test_typelib_section

svn path=/trunk/; revision=63046

9 years ago[FASTFAT]
Pierre Schweitzer [Tue, 29 Apr 2014 18:25:02 +0000 (18:25 +0000)]
[FASTFAT]
Properly handle files at root.

CORE-8125 #resolve

svn path=/trunk/; revision=63045

9 years ago[FIND]
Thomas Faber [Tue, 29 Apr 2014 08:51:17 +0000 (08:51 +0000)]
[FIND]
- Fix missing explicit -A.... by using -W functions instead. Spotted by Christoph and Timo.

svn path=/trunk/; revision=63043

9 years ago[BASESRV]
Aleksandar Andrejevic [Tue, 29 Apr 2014 00:41:48 +0000 (00:41 +0000)]
[BASESRV]
Implement BaseSrvDisconnect and BaseSrvCleanupVdmRecords, which will remove VDM console and DOS records
which have been left behind by a terminated ntvdm process.
Implement the "VDM voodoo" in BaseSrvCreateProcess. It's supposed to store the process ID of the VDM
in the VDM console record.
Fix minor bugs.
Add function declarations to the header file.

svn path=/branches/ntvdm/; revision=63042

9 years ago[CSRSRV]
Hermès Bélusca-Maïto [Mon, 28 Apr 2014 23:09:09 +0000 (23:09 +0000)]
[CSRSRV]
When the CsrProcessCreateNewGroup (~= CREATE_NEW_PROCESS_GROUP) flag is set, it means that we are creating a new process group leader, and not the reverse :P

svn path=/branches/ntvdm/; revision=63041

9 years ago[BASESRV]
Aleksandar Andrejevic [Mon, 28 Apr 2014 20:51:59 +0000 (20:51 +0000)]
[BASESRV]
Don't update the state of the old DOS records if the DOS program executed another program.

svn path=/branches/ntvdm/; revision=63039

9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 28 Apr 2014 20:33:57 +0000 (20:33 +0000)]
[FASTFAT]
Fix typo.

svn path=/trunk/; revision=63038

9 years ago[CMD]
Hermès Bélusca-Maïto [Mon, 28 Apr 2014 20:12:07 +0000 (20:12 +0000)]
[CMD]
GetConsoleAliasesLength returns a DWORD (and the len variable *is* a DWORD). Do not check for negative values.
Patch by André Guibert de Bruet.
CORE-7964 #resolve #comment Fixed in revision 63037, cheers!

svn path=/trunk/; revision=63037

9 years ago[CARDLIB]
Hermès Bélusca-Maïto [Mon, 28 Apr 2014 20:00:02 +0000 (20:00 +0000)]
[CARDLIB]
Use the proper Highlight pen to highlight the cards (for any cards game using the cardlib library).
Patch by Victor Martinez Calvo.
CORE-8118 #resolve #comment Committed in revision 63036, thanks!

svn path=/trunk/; revision=63036

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Mon, 28 Apr 2014 19:50:27 +0000 (19:50 +0000)]
[CONSRV]
- Fix dereferencing potential NULL pointers in ConDrvReadConsole() and ConDrvChangeScreenBufferAttributes();
- Fix a wcsncat in ConSrvOpenUserSettings()
Patches by Victor Martinez Calvo
CORE-8122 CORE-8123 #resolve #comment Fixed in revision 63035, cheers ;)

svn path=/trunk/; revision=63035

9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 28 Apr 2014 19:40:26 +0000 (19:40 +0000)]
[FASTFAT]
Implement part 2/3 (first part was in ntoskrnl, remember ;-)) of renaming support in ReactOS.

Here, we implement support for SL_OPEN_TARGET_DIRECTORY for IRP_MJ_CREATE in fastfat. The code is not the best ever, but we can't do miracles with fastfat.
This fixes a few tests in KmTests:IoCreateFile and also shows failures I still don't get and that will require deeper attention.

Last part will be to effectively bring support of FileRenameInformation in IRP_MJ_SET_INFORMATION. But this is yet another story.

svn path=/trunk/; revision=63034

9 years ago[NETCFGX]
Thomas Faber [Mon, 28 Apr 2014 08:27:57 +0000 (08:27 +0000)]
[NETCFGX]
- Use correct parent key instead of an uninitialized handle in INetCfgComponentControl_fnApplyRegistryChanges
CORE-8115 #resolve

svn path=/trunk/; revision=63032

9 years ago[EVENTVWR]
Thomas Faber [Mon, 28 Apr 2014 08:15:28 +0000 (08:15 +0000)]
[EVENTVWR]
- Remove dead code in GetEventCategory
- Fix buffer overflows in DisplayEvent
- Patch by Víctor Martínez
CORE-8111 #resolve

svn path=/trunk/; revision=63031

9 years ago[FIND]
Thomas Faber [Mon, 28 Apr 2014 08:06:52 +0000 (08:06 +0000)]
[FIND]
- Avoid printf on a non-format string. Spotted by Víctor
- Remove broken pseudo-TCHAR usage
CORE-8112 #resolve

svn path=/trunk/; revision=63030

9 years ago[DWNL]
Thomas Faber [Mon, 28 Apr 2014 08:04:14 +0000 (08:04 +0000)]
[DWNL]
- Fix a format specifier. Patch by Víctor Martínez
CORE-8113 #resolve

svn path=/trunk/; revision=63029

9 years ago[Win32k]
James Tabor [Mon, 28 Apr 2014 05:54:43 +0000 (05:54 +0000)]
[Win32k]
- Goodbye to menu ntuser bad functions.

svn path=/trunk/; revision=63028

9 years ago[Win32k]
James Tabor [Mon, 28 Apr 2014 03:55:23 +0000 (03:55 +0000)]
[Win32k]
- Moved to new menu structures, synced in wine code and started first phase to server side. Resulting that more tests are running and failing less. Unplugged ntuser bad functions.
- See CORE-5605, CORE-7447, CORE-7967, CORE-8098 and CORE-8107

svn path=/trunk/; revision=63027

9 years ago- Disable insert menu test for now. Part II.
James Tabor [Mon, 28 Apr 2014 03:51:52 +0000 (03:51 +0000)]
- Disable insert menu test for now. Part II.

svn path=/trunk/; revision=63026

9 years ago- Disable insert menu test for now.
James Tabor [Mon, 28 Apr 2014 03:46:21 +0000 (03:46 +0000)]
- Disable insert menu test for now.

svn path=/trunk/; revision=63025

9 years ago[NTVDM]
Aleksandar Andrejevic [Sun, 27 Apr 2014 22:38:54 +0000 (22:38 +0000)]
[NTVDM]
Don't define STANDALONE by default.
Don't quit ntvdm after it becomes the last process on the console if a DOS app is still running.

svn path=/branches/ntvdm/; revision=63024

9 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 27 Apr 2014 18:46:26 +0000 (18:46 +0000)]
[NTOSKRNL]
Fix potential overflows

CID #701302
CID #1206856

svn path=/trunk/; revision=63023

9 years ago[PSAPI]
Pierre Schweitzer [Sun, 27 Apr 2014 18:35:46 +0000 (18:35 +0000)]
[PSAPI]
Fix pointer arithmetic

CID #1206924

svn path=/trunk/; revision=63022

9 years ago[RAPPS]
Pierre Schweitzer [Sun, 27 Apr 2014 18:29:06 +0000 (18:29 +0000)]
[RAPPS]
- Fix memory leaks
- Fix null-pointer dereference
- Fix user-after-free

CID #1206908
CID #1206915
CID #1206921
CID #1207022

svn path=/trunk/; revision=63021

9 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 27 Apr 2014 13:46:21 +0000 (13:46 +0000)]
[NTOSKRNL]
Init event before passing it to the IRP.
Fixes issues on IRP completion

svn path=/trunk/; revision=63020

9 years ago[I8042PRT]
Thomas Faber [Sun, 27 Apr 2014 13:33:42 +0000 (13:33 +0000)]
[I8042PRT]
- Fix WDK warnings and remove some unnecessary casts

svn path=/trunk/; revision=63019

9 years ago[PSDK]
Pierre Schweitzer [Sun, 27 Apr 2014 13:11:19 +0000 (13:11 +0000)]
[PSDK]
Properly declare with __inline

svn path=/trunk/; revision=63018