reactos.git
10 years ago[INPUT]
Pierre Schweitzer [Sun, 6 Apr 2014 13:42:27 +0000 (13:42 +0000)]
[INPUT]
Fix buffer overrun

CID #716118

svn path=/trunk/; revision=62655

10 years ago[DESK]
Pierre Schweitzer [Sun, 6 Apr 2014 13:38:06 +0000 (13:38 +0000)]
[DESK]
Fix leaks

CID #716336
CID #716337

svn path=/trunk/; revision=62654

10 years ago[ACCESS]
Pierre Schweitzer [Sun, 6 Apr 2014 13:25:28 +0000 (13:25 +0000)]
[ACCESS]
Don't leak memory

CID #716335

svn path=/trunk/; revision=62653

10 years ago[FREELDR]
Pierre Schweitzer [Sun, 6 Apr 2014 13:22:21 +0000 (13:22 +0000)]
[FREELDR]
Don't call strlen to get max len of an uninit string

CID #731721
CID #731722

svn path=/trunk/; revision=62652

10 years ago[WIN32K]
Kamil Hornicek [Sun, 6 Apr 2014 13:09:04 +0000 (13:09 +0000)]
[WIN32K]
- Fix a possible out of bounds read.
CID 731665

svn path=/trunk/; revision=62651

10 years ago[RUNDLL32]
Pierre Schweitzer [Sun, 6 Apr 2014 13:01:41 +0000 (13:01 +0000)]
[RUNDLL32]
Fix resource leak

CID #716331

svn path=/trunk/; revision=62650

10 years ago[FORMAT]
Pierre Schweitzer [Sun, 6 Apr 2014 12:59:01 +0000 (12:59 +0000)]
[FORMAT]
- Check LoadLibrary() return
- In case it doesn't match, free library

CID #716330

svn path=/trunk/; revision=62649

10 years ago[TCPSVCS]
Pierre Schweitzer [Sun, 6 Apr 2014 12:44:10 +0000 (12:44 +0000)]
[TCPSVCS]
- Fix buffer overrun
- Fix memory leak
- Properly init memory

CID #511073
CID #1102322
CID #1102405

svn path=/trunk/; revision=62648

10 years ago[EVENTLOG]
Pierre Schweitzer [Sun, 6 Apr 2014 12:35:54 +0000 (12:35 +0000)]
[EVENTLOG]
- Fix memory leak
- Fix null pointer dereference

CID #515253
CID #716316

svn path=/trunk/; revision=62647

10 years ago[TASKMGR]
Pierre Schweitzer [Sun, 6 Apr 2014 12:28:25 +0000 (12:28 +0000)]
[TASKMGR]
Don't leak handle

CID #716315

svn path=/trunk/; revision=62646

10 years ago[SC]
Pierre Schweitzer [Sun, 6 Apr 2014 12:18:05 +0000 (12:18 +0000)]
[SC]
- Remove dead code
- Fix check for memory deallocation
- Don't leak resource

CID #500056
CID #500057
CID #501497
CID #716313

svn path=/trunk/; revision=62645

10 years ago[NTOS:CC]
Thomas Faber [Sun, 6 Apr 2014 11:02:52 +0000 (11:02 +0000)]
[NTOS:CC]
- Correctly set output parameter in CcRosCreateCacheSegment failure case

svn path=/trunk/; revision=62644

10 years ago[NTOS:CC]
Thomas Faber [Sun, 6 Apr 2014 10:52:17 +0000 (10:52 +0000)]
[NTOS:CC]
- Remove unused CACHE_BITMAP feature that adds unnecessary complexity

svn path=/trunk/; revision=62643

10 years ago[ACPI]
Timo Kreuzer [Sun, 6 Apr 2014 08:55:44 +0000 (08:55 +0000)]
[ACPI]
Add some DPRINTs on failure

svn path=/trunk/; revision=62642

10 years ago[NPFS]
Thomas Faber [Sun, 6 Apr 2014 07:54:57 +0000 (07:54 +0000)]
[NPFS]
- Fix some uninitialized and over-initialized variables and some DPRINTs. CID 1102515

svn path=/trunk/; revision=62641

10 years ago[NTDLL_APITEST]
Hermès Bélusca-Maïto [Sat, 5 Apr 2014 23:58:54 +0000 (23:58 +0000)]
[NTDLL_APITEST]
Add/refine RtlDoesFileExists* and RtlDosSearchPath_U APIs tests.
CORE-6373 #comment Tests for RtlDoesFileExists* and RtlDosSearchPath_U APIs added in revision 62640.

svn path=/trunk/; revision=62640

10 years ago[RAPPS]
Pierre Schweitzer [Sat, 5 Apr 2014 22:49:18 +0000 (22:49 +0000)]
[RAPPS]
Don't pass structures by copy, give a pointer instead

CID #502621
CID #502622
CID #502623

svn path=/trunk/; revision=62639

10 years ago[SERVMAN]
Pierre Schweitzer [Sat, 5 Apr 2014 22:31:19 +0000 (22:31 +0000)]
[SERVMAN]
- Call LocalFree() to free memory allocated with LocalAlloc()
- Fix leak

CID #716291
CID #1101891
CID #1101892
CID #1101893
CID #1101894
CID #1101895
CID #1101896

svn path=/trunk/; revision=62638

10 years ago[KBSWITCH]
Pierre Schweitzer [Sat, 5 Apr 2014 22:14:53 +0000 (22:14 +0000)]
[KBSWITCH]
Fix buffer overflow. Static strings are already \0 terminated.

CID #515202

svn path=/trunk/; revision=62637

10 years ago[CHARMAP]
Pierre Schweitzer [Sat, 5 Apr 2014 22:08:57 +0000 (22:08 +0000)]
[CHARMAP]
Remove useless checks

CID #1102274

svn path=/trunk/; revision=62636

10 years ago[ROSAUTOTEST]
Pierre Schweitzer [Sat, 5 Apr 2014 21:56:15 +0000 (21:56 +0000)]
[ROSAUTOTEST]
Use matching delete operator

CID #1102027
CID #1102028

svn path=/trunk/; revision=62635

10 years ago[WIN32SS]
Pierre Schweitzer [Sat, 5 Apr 2014 21:42:48 +0000 (21:42 +0000)]
[WIN32SS]
Don't dereference an object that wasn't referenced

CID #1102086

svn path=/trunk/; revision=62634

10 years ago[SVCHOST]
Pierre Schweitzer [Sat, 5 Apr 2014 21:27:12 +0000 (21:27 +0000)]
[SVCHOST]
Fix buffer overruns in LanaFlagIsSet() and SetLanaFlag().
Normally, i shouldn't be > 7, MAX_LANA is set to 254.

CID #1102306
CID #1102305

svn path=/trunk/; revision=62633

10 years ago[MMEBUDDY]
Pierre Schweitzer [Sat, 5 Apr 2014 21:08:10 +0000 (21:08 +0000)]
[MMEBUDDY]
Fix use after free.

CID #716804

svn path=/trunk/; revision=62632

10 years ago[NDK][DDK][XDK]
Thomas Faber [Sat, 5 Apr 2014 17:17:47 +0000 (17:17 +0000)]
[NDK][DDK][XDK]
- Move BITMAP_RANGE structure to NDK where it belongs

svn path=/trunk/; revision=62631

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 16:56:00 +0000 (16:56 +0000)]
[PSEH3]
Make sure _abnormal_termination() returns the correct result and make sure the compiler does not rely on register values in the finally and filter function.
The C++ PSEH tests now all pass.
=> We now have PSEH support for C++.

svn path=/trunk/; revision=62630

10 years ago[PSEH_TEST]
Timo Kreuzer [Sat, 5 Apr 2014 16:49:17 +0000 (16:49 +0000)]
[PSEH_TEST]
#if out a test for C++. This test only shows the limitations of PSEH and does not provide a satisfying result anyway.

svn path=/trunk/; revision=62629

10 years ago[NTOS:INVB]
Thomas Faber [Sat, 5 Apr 2014 16:46:40 +0000 (16:46 +0000)]
[NTOS:INVB]
- Do not use KeDelayExecutionThread while holding a spin lock
CORE-8052 #resolve

svn path=/trunk/; revision=62628

10 years ago[SETUP16]
Pierre Schweitzer [Sat, 5 Apr 2014 15:47:49 +0000 (15:47 +0000)]
[SETUP16]
Fix invalid free

CID #715830

svn path=/trunk/; revision=62627

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 15:41:03 +0000 (15:41 +0000)]
[PSEH3]
Implement __finally support for C++

svn path=/trunk/; revision=62626

10 years ago[VFATLIB]
Pierre Schweitzer [Sat, 5 Apr 2014 15:39:09 +0000 (15:39 +0000)]
[VFATLIB]
--MagicValues;

svn path=/trunk/; revision=62625

10 years ago[DISKPART]
Pierre Schweitzer [Sat, 5 Apr 2014 15:26:12 +0000 (15:26 +0000)]
[DISKPART]
Fix leak

CID #716329

svn path=/trunk/; revision=62624

10 years ago[RTL]
Hermès Bélusca-Maïto [Sat, 5 Apr 2014 14:56:41 +0000 (14:56 +0000)]
[RTL]
Some fixes for RtlGetFullPathName_U(str):
- Start to polish RtlpCollapsePath (Work in progress)
- Correctly zero-out the path destination buffer

They fix the following tests:
* ntdll:RtlGetFullPathName_U (2 failures to full success)
* ntdll:RtlGetFullPathName_UstrEx (2 failures to full success)

svn path=/trunk/; revision=62623

10 years ago[PSEH3]
Timo Kreuzer [Sat, 5 Apr 2014 14:38:42 +0000 (14:38 +0000)]
[PSEH3]
Simplify some code

svn path=/trunk/; revision=62622

10 years ago[BASESRV]
Pierre Schweitzer [Sat, 5 Apr 2014 14:30:22 +0000 (14:30 +0000)]
[BASESRV]
Properly call RtlFillMemory in BaseSrvNLSInit. This fixes incomplete NlsUserInfo init

CID #1102265

svn path=/trunk/; revision=62621

10 years ago[PSEH2_TEST}
Timo Kreuzer [Sat, 5 Apr 2014 14:24:16 +0000 (14:24 +0000)]
[PSEH2_TEST}
Use the tests with C++, too.

svn path=/trunk/; revision=62620

10 years ago[ACPI]
Pierre Schweitzer [Sat, 5 Apr 2014 14:11:03 +0000 (14:11 +0000)]
[ACPI]
Disable PCH as it breaks build (when globally enabled)

svn path=/trunk/; revision=62619

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 13:13:01 +0000 (13:13 +0000)]
[RTL]
Properly check for total length in LdrpGetProcedureAddress().
It contains more than just a name.
Fixes a buffer overrun.

CID #716122

svn path=/trunk/; revision=62618

10 years ago[RAPPS]
Pierre Schweitzer [Sat, 5 Apr 2014 12:58:10 +0000 (12:58 +0000)]
[RAPPS]
Don't leak handle

CID #716310

svn path=/trunk/; revision=62617

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 12:44:27 +0000 (12:44 +0000)]
[RTL]
Prevent buffer overflow on copy: provide the correct copy size

CID #731655

svn path=/trunk/; revision=62616

10 years ago[RTL]
Pierre Schweitzer [Sat, 5 Apr 2014 10:02:32 +0000 (10:02 +0000)]
[RTL]
--MagicValues;

svn path=/trunk/; revision=62615

10 years ago[EPSAPI]
Pierre Schweitzer [Sat, 5 Apr 2014 09:17:21 +0000 (09:17 +0000)]
[EPSAPI]
Fix double free in PsaCaptureSystemModules()
CID #1106329

svn path=/trunk/; revision=62614

10 years ago[Win32k]
James Tabor [Sat, 5 Apr 2014 05:06:48 +0000 (05:06 +0000)]
[Win32k]
- Fix wine win.c test_CreateWindow line 5470, pass all those tests.

svn path=/trunk/; revision=62613

10 years ago[Win32k]
James Tabor [Fri, 4 Apr 2014 17:52:23 +0000 (17:52 +0000)]
[Win32k]
- Notify FIXME HACK Alert! Are we setting parent to early?

svn path=/trunk/; revision=62612

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:59:19 +0000 (14:59 +0000)]
[User32]
- Add more to GetInsideRect NC.
- Sync port from wine with modifications.

svn path=/trunk/; revision=62611

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:49:22 +0000 (14:49 +0000)]
[User32]
- Patch by Piotr Caban : Make it possible to activate a window with parent and no WS_CHILD flag in WS_NCLBUTTONDOWN function.
- Sync port from wine with modifications and addons.

svn path=/trunk/; revision=62610

10 years ago[User32]
James Tabor [Fri, 4 Apr 2014 14:40:51 +0000 (14:40 +0000)]
[User32]
- Patch by Javier Cantero : Fix side effect in SubtractRect().
- Sync port from wine with modifications

svn path=/trunk/; revision=62609

10 years ago[ACPICA][ACPI]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 23:44:20 +0000 (23:44 +0000)]
[ACPICA][ACPI]
Finally...
- Specify that we use MUTEXes instead of binary semaphores,
- Change two interface names in our code: ACPI_DEVICE_ID_LIST --> ACPI_PNP_DEVICE_ID_LIST and acpi_device_id --> acpi_pnp_device_id (only those names were changed in ACPICA).
- Implement AcpiOsPhysicalTableOverride which doesn't any table override (same behaviour as AcpiOsTableOverride).
- Latest ACPICA versions introduce the AcpiOsWaitEventsComplete API, which is used to wait for all asynchronous events to complete. But we do nothing at the moment ("inspired" from the behaviour from http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/dev/acpi/acpica/OsdSchedule.c , but I'm sure ReactOS ACPI specialists know better than me whether or not it is judicious to do so !!!)
- Extend AcpiOsRead/WriteMemory to be able to read/write 64-bit values, as required by the ACPICA implementation.

Fix the build. Now, only warnings from our code (not ACPICA) need to be fixed.

Real HW testers, please retest your real HW with this revision (or above) !!

CORE-8044 #comment Everything updated in revisions 62604 to 62608.

svn path=/trunk/; revision=62608

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 23:32:58 +0000 (23:32 +0000)]
[ACPICA]
Addendum to revision 62606 : because of typedefs redefinitions (we, after, include acpi.h and co. together with DDK in other acpi bus drivers), we hackishly needed to disable them in actypes.h, and now we need to include ntddk *inside* acpi.h ...
Everything would be nice only if ACPICA would not have the "clever" (read: dumb) idea to define a ACPI_BIOS_ERROR macro, which is (you guessed it) already defined.... in the DDK via the standard bugcheck code macros.
So we introduce two hacks: the firs one right after the inclusion of ntddk.h *in* acpi.h to first undefine the macro (coming from bugcheck.h), *then*, we re-undefine it *after* the inclusion of acpi.h (in the precompiled header) so that drivers that need to use acpi (via the header) can after, include the ntddk.h ...

What a hack :DD

Part 2bis of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62607

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 22:09:20 +0000 (22:09 +0000)]
[ACPICA]
Disable redundant typedefs that we already got from the inclusion of ntddk.h from elsewhere (and it was done like that in our old modifications of ACPICA).
Personally I don't like this way to go, but for the moment just apply something that (seemed to) worked before...

Part 2 of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62606

10 years ago[ACPICA]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 22:03:14 +0000 (22:03 +0000)]
[ACPICA]
Do not assume that, when compiling from Windows, we cannot use GCC. In fact we can, and this is what we did before...
Move asm-specific code to where it should belong.
I've checked that: MSVC_asm_code(old_acpica_version) == MSVC_asm_code(new_acpica_version), so that I took its GCC equivalent from our old version of ACPICA and placed it there.

Part 1 of our modifications to ACPICA code.
CORE-8044

svn path=/trunk/; revision=62605

10 years ago[ACPI]
Hermès Bélusca-Maïto [Thu, 3 Apr 2014 21:12:09 +0000 (21:12 +0000)]
[ACPI]
Update ACPICA library from 20110922 to 20140325.
Currently breaks build. Fixes are comming.
CORE-8044

svn path=/trunk/; revision=62604

10 years agoImprove config.cmake slightly.
Dmitry Gorbachev [Tue, 1 Apr 2014 08:58:08 +0000 (08:58 +0000)]
Improve config.cmake slightly.

svn path=/trunk/; revision=62599

10 years ago[BUGCODES]
Dmitry Gorbachev [Tue, 1 Apr 2014 08:57:58 +0000 (08:57 +0000)]
[BUGCODES]
- Add an error message for Proprietary Software Execution Prevention
feature supported by recent CPUs.
- TODO: Implement this feature in the kernel.

svn path=/trunk/; revision=62598

10 years agoResurrect MSVC 2008 builds.
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:59:32 +0000 (20:59 +0000)]
Resurrect MSVC 2008 builds.
ACHTUNG! ACHTUNG! Even if you can build ROS with MSVC 2008, you cannot boot it (see the below-mentioned JIRA report) ACHTUNG! ACHTUNG!
CORE-8023 #comment MSVC 2008 build resurrected in revision 62595.

svn path=/trunk/; revision=62595

10 years ago[HOST-TOOLS]
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:38:05 +0000 (20:38 +0000)]
[HOST-TOOLS]
For host-tools, including stdint.h when using MSVC is not reliable, so use a tried-&-tested solution (see mkshelllink & geninf tools): include stdint.h if we don't use MSVC, otherwise define just what's needed.
Another solution would be to create a include/host/stdint.h which does this same job, and in the host-tools, include this file.
CORE-8023

svn path=/trunk/; revision=62594

10 years ago[ADVAPI32]
Thomas Faber [Mon, 31 Mar 2014 20:11:32 +0000 (20:11 +0000)]
[ADVAPI32]
- Fix buffer handling in CredMarshalCredential/CredUnmarshalCredential. Fixes stack corruption during advapi32:cred
CORE-7242 #resolve

svn path=/trunk/; revision=62593

10 years ago[CMLIB][MKHIVE]
Hermès Bélusca-Maïto [Mon, 31 Mar 2014 20:05:44 +0000 (20:05 +0000)]
[CMLIB][MKHIVE]
Move some defines where they belong (they are used in mkhive because they are employed in cmlib functions, and cmlib itself uses them too).

svn path=/trunk/; revision=62592

10 years ago[RTL]
Thomas Faber [Mon, 31 Mar 2014 19:57:42 +0000 (19:57 +0000)]
[RTL]
- Fix buffer overrun in RtlNumberOfSetBits

svn path=/trunk/; revision=62591

10 years ago[NTOS:KE]
Thomas Faber [Sun, 30 Mar 2014 21:10:04 +0000 (21:10 +0000)]
[NTOS:KE]
- Verify valid IRQL in KeDelayExecutionThread, just like in KeWait*
- Return from KeDelayExecutionThread after yielding execution

svn path=/trunk/; revision=62590

10 years ago[TUNNELTEST]
Pierre Schweitzer [Sun, 30 Mar 2014 18:25:13 +0000 (18:25 +0000)]
[TUNNELTEST]
Reshuffle the test a bit so that it clearly fails on ReactOS:
- Gather creation timestamp right after the first creation and always compare to it. This is to workaround the move = copy + delete hack from ReactOS which is resetting the timestamps (and thus making the test pass ;-)).
- Wait more than 20ms (1s). If Microsoft FastFAT has a creation resolution of 10ms, we don't. So it would hide the thing as well.

With such changes, the test still works on Windows, whereas it fails on ReactOS

CORE-7272

svn path=/trunk/; revision=62589

10 years ago[W32KDLL]
Timo Kreuzer [Sun, 30 Mar 2014 17:34:56 +0000 (17:34 +0000)]
[W32KDLL]
Use new macro based syscall mechanism for w32kdll_xpsp2. Fix exports

svn path=/trunk/; revision=62588

10 years ago[CRT]
Thomas Faber [Sun, 30 Mar 2014 15:46:02 +0000 (15:46 +0000)]
[CRT]
- Use PeekConsoleInput in kbhit because the input buffer should not be affected. Patch by Roy Tam
CORE-8030 #resolve

svn path=/trunk/; revision=62587

10 years ago[VIDEOPRT]
Thomas Faber [Sun, 30 Mar 2014 09:53:29 +0000 (09:53 +0000)]
[VIDEOPRT]
- Add missing newlines to debug prints

svn path=/trunk/; revision=62586

10 years ago[NTOS]
Thomas Faber [Sun, 30 Mar 2014 09:44:02 +0000 (09:44 +0000)]
[NTOS]
- Try compiling before committing, Arch!

svn path=/trunk/; revision=62585

10 years ago[NTOS:IO]
Thomas Faber [Sun, 30 Mar 2014 09:35:50 +0000 (09:35 +0000)]
[NTOS:IO]
- Fix some incredibly useless debug prints

svn path=/trunk/; revision=62584

10 years ago[PCI]
Thomas Faber [Sun, 30 Mar 2014 09:17:28 +0000 (09:17 +0000)]
[PCI]
- Silence some noisy debug prints

svn path=/trunk/; revision=62583

10 years ago[USBEHCI]
Thomas Faber [Sun, 30 Mar 2014 09:17:18 +0000 (09:17 +0000)]
[USBEHCI]
- Fix some debug prints and some whitespace issues

svn path=/trunk/; revision=62582

10 years ago[ROSTESTS]
Pierre Schweitzer [Sat, 29 Mar 2014 21:12:17 +0000 (21:12 +0000)]
[ROSTESTS]
Add notifications test application.
It is: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261%28v=vs.85%29.aspx
It properly works in ReactOS since r62446

CORE-2582

svn path=/trunk/; revision=62581

10 years ago[SYSSETUP]
Eric Kohl [Sat, 29 Mar 2014 20:39:50 +0000 (20:39 +0000)]
[SYSSETUP]
Extend the maximum password length to 127 characters for unattended setup too.

CORE-7762 #comment Fixed it! Thanks a lot!

svn path=/trunk/; revision=62580

10 years ago[ROSTESTS]
Pierre Schweitzer [Sat, 29 Mar 2014 18:50:36 +0000 (18:50 +0000)]
[ROSTESTS]
Add a usermode test application for tunnel cache.
It is based on MS article at: http://support.microsoft.com/?kbid=172190

Tested successfully on Windows 7 & NTFS. Feel free to test on w2k3 NTFS or FAT/FAT32.

svn path=/trunk/; revision=62579

10 years ago[SAMSRV]
Eric Kohl [Sat, 29 Mar 2014 17:28:47 +0000 (17:28 +0000)]
[SAMSRV]
Add a note for translators to keep the administrator account name string resources in syssetup.dll and samsrv.dll synchonized.

svn path=/trunk/; revision=62578

10 years ago[SYSSETUP]
Eric Kohl [Sat, 29 Mar 2014 17:18:14 +0000 (17:18 +0000)]
[SYSSETUP]
- Store the administrator account name as the default user name.
- Extend the maximum password length to 127 characters.
CORE-7762 #resolve

svn path=/trunk/; revision=62577

10 years agoAddendum to rev 62573: simplify my story, thanks Amine ;)
Hermès Bélusca-Maïto [Sat, 29 Mar 2014 17:09:46 +0000 (17:09 +0000)]
Addendum to rev 62573: simplify my story, thanks Amine ;)

svn path=/trunk/; revision=62576

10 years ago[COMP]
Thomas Faber [Sat, 29 Mar 2014 14:59:13 +0000 (14:59 +0000)]
[COMP]
- Silence warnings

svn path=/trunk/; revision=62575

10 years agoAddendum to revision 62571: those SAL v2 annotations exist also in MSVC 2008 (but...
Hermès Bélusca-Maïto [Fri, 28 Mar 2014 02:43:29 +0000 (02:43 +0000)]
Addendum to revision 62571: those SAL v2 annotations exist also in MSVC 2008 (but still not in MSVC <= 2005).

svn path=/trunk/; revision=62573

10 years ago[MSVC]
Hermès Bélusca-Maïto [Fri, 28 Mar 2014 01:35:32 +0000 (01:35 +0000)]
[MSVC]
Turns C4163: "'identifier' : not available as an intrinsic function" into an error.

svn path=/trunk/; revision=62572

10 years ago[CMLIB][MKHIVE]
Hermès Bélusca-Maïto [Fri, 28 Mar 2014 01:05:55 +0000 (01:05 +0000)]
[CMLIB][MKHIVE]
(For host tools compilation only)
Refine the #ifndefs, because SAL v2 annotations do not exist in MSVC < 2010.

svn path=/trunk/; revision=62571

10 years ago[COMCTL32][RAPPS]
Thomas Faber [Wed, 26 Mar 2014 20:15:54 +0000 (20:15 +0000)]
[COMCTL32][RAPPS]
- Mark Str* functions as private in comctl32, they should be imported from shlwapi instead
- Remove the associated hack in rapps
CORE-7786 #resolve

svn path=/trunk/; revision=62570

10 years ago[WINETESTS]
Thomas Faber [Wed, 26 Mar 2014 12:15:55 +0000 (12:15 +0000)]
[WINETESTS]
- Remove unnecessary use of allow_warnings
- Do not hide warnings that indicate actual problems in setuapi (non-Wine test, should move to apitests) and winmm (Wine bugs, fixed upstream)

svn path=/trunk/; revision=62569

10 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 26 Mar 2014 12:07:25 +0000 (12:07 +0000)]
[NTDLL_APITEST]
- Fix -Wformat warnings and enable -Wformat where possible

svn path=/trunk/; revision=62568

10 years ago[CMAKE]
Thomas Faber [Wed, 26 Mar 2014 11:08:45 +0000 (11:08 +0000)]
[CMAKE]
- Remove unnecessary allow_warnings throughout the code base
- Make -Wnarrowing an error unless excepted specifically (only done in explorer)

svn path=/trunk/; revision=62566

10 years ago[CMAKE]
Hermès Bélusca-Maïto [Wed, 26 Mar 2014 00:49:41 +0000 (00:49 +0000)]
[CMAKE]
Improve comparison. Needs to be send upstream, AmineKhaldi :)

svn path=/trunk/; revision=62565

10 years ago[EXT2]: Revert the change of rev 62562 before finding a better fix...
Hermès Bélusca-Maïto [Tue, 25 Mar 2014 23:16:02 +0000 (23:16 +0000)]
[EXT2]: Revert the change of rev 62562 before finding a better fix...

svn path=/trunk/; revision=62564

10 years ago[USP10]: Wine sync.
Hermès Bélusca-Maïto [Tue, 25 Mar 2014 19:49:35 +0000 (19:49 +0000)]
[USP10]: Wine sync.
SHA-1: 8fb52c7c5d711918fadf2590061d668093d14708
* usp10: Avoid non-standard array initialization.

Fix this bug introduced in revision 62535.
CORE-8029 #resolve #comment Fixed in revision 62563.

svn path=/trunk/; revision=62563

10 years ago[EXT2]
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 22:20:52 +0000 (22:20 +0000)]
[EXT2]
try_return() == try_return(S) with nothing in S . The code sometimes use it.
Shut up MSVC warning C4003: not enough actual parameters for macro 'try_return'.

svn path=/trunk/; revision=62562

10 years ago[PSDK]
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 21:45:04 +0000 (21:45 +0000)]
[PSDK]
Revert unwanted changes from revision 62555.

svn path=/trunk/; revision=62561

10 years ago[CMAKE]
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 21:40:16 +0000 (21:40 +0000)]
[CMAKE]
- Partly update/sync Windows-MSVC.cmake with RosBE 2.1.1 : few flags "fixes". Amine, can you please check whether there are other things to sync too (maybe those WinCE things, even if it's unuseful for ROS itself, and maybe some other vs. MSVC_C_ARCHITECTURE_ID _MSVC_C_ARCHITECTURE_FAMILY flags, and so on... and with syncs of other .cmake files??)
- Remove unneeded manually setting of stack size, it is done automatically by the compiler.
- Add a "/MANIFEST:NO" switch to the linker so that (unuseful) manifest files are not automatically created and added to the host-tools, especially, because that causes some concurrent accesses failures on MSVC 2005/2008...
CORE-8023

svn path=/trunk/; revision=62560

10 years ago[CMAKE]
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 20:54:01 +0000 (20:54 +0000)]
[CMAKE]
- GCC: Cosmetic changes only.
- MSVC:
  * Cosmetic changes (the same as in GCC).
  * Only VS 10+ resource compiler supports /nologo , therefore define a rc_nologo_flag that sets /nologo for VS 10+ rc.exe, and nothing for VS < 10.
CORE-6997 #comment Only VS10+ rc.exe supports /nologo, modify the fix in revision 62559.
CORE-8023

svn path=/trunk/; revision=62559

10 years ago[USER32]: Fix MSVC compilation.
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 17:29:40 +0000 (17:29 +0000)]
[USER32]: Fix MSVC compilation.

svn path=/trunk/; revision=62558

10 years ago[BOOTDATA]
Hermès Bélusca-Maïto [Mon, 24 Mar 2014 17:06:05 +0000 (17:06 +0000)]
[BOOTDATA]
Set PROMPT to $P$G$I instead of $I$P$G, so that the dumb Win cmd.exe can parse "completely" the prompt string (and succeeds in displaying the $p$g part) before failing on the $i part...
See rev.59837 and
CORE-7634 #comment A better fix was committed in revision 62557.

svn path=/trunk/; revision=62557

10 years ago- Fix CORE-7791.
James Tabor [Mon, 24 Mar 2014 03:28:07 +0000 (03:28 +0000)]
- Fix CORE-7791.

svn path=/trunk/; revision=62556

10 years ago- Add CAPTUREBLT to our headers.
James Tabor [Mon, 24 Mar 2014 01:43:19 +0000 (01:43 +0000)]
- Add CAPTUREBLT to our headers.

svn path=/trunk/; revision=62555

10 years ago[NTOS:PO]
Thomas Faber [Sun, 23 Mar 2014 17:33:01 +0000 (17:33 +0000)]
[NTOS:PO]
- Fix symbolic link name handling in PopAddRemoveSysCapsCallback. Fixes ACPI power button.
CORE-8017 #resolve

svn path=/trunk/; revision=62554

10 years ago[KMTEST:IO]
Thomas Faber [Sun, 23 Mar 2014 17:24:10 +0000 (17:24 +0000)]
[KMTEST:IO]
- Disable IoRegisterDeviceInterface test, since it crashes on Windows
- Add test showing that IoRegisterPlugPlayNotification's callback receives the full path to the symbolic link (this was fixed in r62249)

svn path=/trunk/; revision=62553

10 years ago[NOTEVIL]
Hermès Bélusca-Maïto [Sun, 23 Mar 2014 02:57:36 +0000 (02:57 +0000)]
[NOTEVIL]
New people from the CREDITS list.

svn path=/trunk/; revision=62552

10 years agoFix CREDITS.
Hermès Bélusca-Maïto [Sun, 23 Mar 2014 02:30:54 +0000 (02:30 +0000)]
Fix CREDITS.

svn path=/trunk/; revision=62551

10 years ago[NOTEVIL]
Hermès Bélusca-Maïto [Sun, 23 Mar 2014 02:24:33 +0000 (02:24 +0000)]
[NOTEVIL]
- Convert our goode olde ReactOS Easter Egg "notevil" app to unicode.
- Remove .rbuild file.
- Code formatting.

svn path=/trunk/; revision=62550

10 years ago[COMP][SORT]
Hermès Bélusca-Maïto [Sun, 23 Mar 2014 01:32:46 +0000 (01:32 +0000)]
[COMP][SORT]
Bring back COMP and SORT utilities to build.

svn path=/trunk/; revision=62549

10 years ago[FORMAT]
Hermès Bélusca-Maïto [Sun, 23 Mar 2014 01:16:19 +0000 (01:16 +0000)]
[FORMAT]
As mode and more, format is a false .com (for compatibility purposes).

svn path=/trunk/; revision=62548