Commit graph

56632 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
7f4064a788 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
2014-03-31 20:59:32 +00:00
Hermès Bélusca-Maïto
68f7270ce5 [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
2014-03-31 20:38:05 +00:00
Thomas Faber
059daa9d85 [ADVAPI32]
- Fix buffer handling in CredMarshalCredential/CredUnmarshalCredential. Fixes stack corruption during advapi32:cred
CORE-7242 #resolve

svn path=/trunk/; revision=62593
2014-03-31 20:11:32 +00:00
Hermès Bélusca-Maïto
e2359b3724 [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
2014-03-31 20:05:44 +00:00
Thomas Faber
b7737eacf1 [RTL]
- Fix buffer overrun in RtlNumberOfSetBits

svn path=/trunk/; revision=62591
2014-03-31 19:57:42 +00:00
Thomas Faber
ba3759fb6b [NTOS:KE]
- Verify valid IRQL in KeDelayExecutionThread, just like in KeWait*
- Return from KeDelayExecutionThread after yielding execution

svn path=/trunk/; revision=62590
2014-03-30 21:10:04 +00:00
Pierre Schweitzer
b6aa0990cd [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
2014-03-30 18:25:13 +00:00
Timo Kreuzer
f6d147a5e1 [W32KDLL]
Use new macro based syscall mechanism for w32kdll_xpsp2. Fix exports

svn path=/trunk/; revision=62588
2014-03-30 17:34:56 +00:00
Thomas Faber
5f0ac6952a [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
2014-03-30 15:46:02 +00:00
Thomas Faber
7528e5d671 [VIDEOPRT]
- Add missing newlines to debug prints

svn path=/trunk/; revision=62586
2014-03-30 09:53:29 +00:00
Thomas Faber
a083c95ceb [NTOS]
- Try compiling before committing, Arch!

svn path=/trunk/; revision=62585
2014-03-30 09:44:02 +00:00
Thomas Faber
3548a3cacb [NTOS:IO]
- Fix some incredibly useless debug prints

svn path=/trunk/; revision=62584
2014-03-30 09:35:50 +00:00
Thomas Faber
ea28c6ea42 [PCI]
- Silence some noisy debug prints

svn path=/trunk/; revision=62583
2014-03-30 09:17:28 +00:00
Thomas Faber
2d721bca08 [USBEHCI]
- Fix some debug prints and some whitespace issues

svn path=/trunk/; revision=62582
2014-03-30 09:17:18 +00:00
Pierre Schweitzer
12268a1b66 [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
2014-03-29 21:12:17 +00:00
Eric Kohl
385b37aba7 [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
2014-03-29 20:39:50 +00:00
Pierre Schweitzer
3b44e882cb [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
2014-03-29 18:50:36 +00:00
Eric Kohl
414a438bc5 [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
2014-03-29 17:28:47 +00:00
Eric Kohl
79ca3bfc7f [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
2014-03-29 17:18:14 +00:00
Hermès Bélusca-Maïto
2101c5afd7 Addendum to rev 62573: simplify my story, thanks Amine ;)
svn path=/trunk/; revision=62576
2014-03-29 17:09:46 +00:00
Thomas Faber
fc714e32cf [COMP]
- Silence warnings

svn path=/trunk/; revision=62575
2014-03-29 14:59:13 +00:00
Hermès Bélusca-Maïto
ff83d33f52 Addendum to revision 62571: those SAL v2 annotations exist also in MSVC 2008 (but still not in MSVC <= 2005).
svn path=/trunk/; revision=62573
2014-03-28 02:43:29 +00:00
Hermès Bélusca-Maïto
6e64e3e58f [MSVC]
Turns C4163: "'identifier' : not available as an intrinsic function" into an error.

svn path=/trunk/; revision=62572
2014-03-28 01:35:32 +00:00
Hermès Bélusca-Maïto
a7116b25de [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
2014-03-28 01:05:55 +00:00
Thomas Faber
0b12bc780b [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
2014-03-26 20:15:54 +00:00
Thomas Faber
2cc0229ae2 [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
2014-03-26 12:15:55 +00:00
Thomas Faber
9375945c22 [NTDLL_APITEST]
- Fix -Wformat warnings and enable -Wformat where possible

svn path=/trunk/; revision=62568
2014-03-26 12:07:25 +00:00
Thomas Faber
c362a06522 [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
2014-03-26 11:08:45 +00:00
Hermès Bélusca-Maïto
7872f6a066 [CMAKE]
Improve comparison. Needs to be send upstream, AmineKhaldi :)

svn path=/trunk/; revision=62565
2014-03-26 00:49:41 +00:00
Hermès Bélusca-Maïto
5399c9a10c [EXT2]: Revert the change of rev 62562 before finding a better fix...
svn path=/trunk/; revision=62564
2014-03-25 23:16:02 +00:00
Hermès Bélusca-Maïto
79b28fc9b2 [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
2014-03-25 19:49:35 +00:00
Hermès Bélusca-Maïto
fe4af53ff0 [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
2014-03-24 22:20:52 +00:00
Hermès Bélusca-Maïto
f329138f57 [PSDK]
Revert unwanted changes from revision 62555.

svn path=/trunk/; revision=62561
2014-03-24 21:45:04 +00:00
Hermès Bélusca-Maïto
edfeae46cf [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
2014-03-24 21:40:16 +00:00
Hermès Bélusca-Maïto
c1560dcc24 [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
2014-03-24 20:54:01 +00:00
Hermès Bélusca-Maïto
94c8940bb6 [USER32]: Fix MSVC compilation.
svn path=/trunk/; revision=62558
2014-03-24 17:29:40 +00:00
Hermès Bélusca-Maïto
7d3f05d8a0 [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
2014-03-24 17:06:05 +00:00
James Tabor
3f6ef52ad9 - Fix CORE-7791.
svn path=/trunk/; revision=62556
2014-03-24 03:28:07 +00:00
James Tabor
486717eb27 - Add CAPTUREBLT to our headers.
svn path=/trunk/; revision=62555
2014-03-24 01:43:19 +00:00
Thomas Faber
93e60bc731 [NTOS:PO]
- Fix symbolic link name handling in PopAddRemoveSysCapsCallback. Fixes ACPI power button.
CORE-8017 #resolve

svn path=/trunk/; revision=62554
2014-03-23 17:33:01 +00:00
Thomas Faber
a42481108c [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
2014-03-23 17:24:10 +00:00
Hermès Bélusca-Maïto
bc4526e022 [NOTEVIL]
New people from the CREDITS list.

svn path=/trunk/; revision=62552
2014-03-23 02:57:36 +00:00
Hermès Bélusca-Maïto
78d5b0bb31 Fix CREDITS.
svn path=/trunk/; revision=62551
2014-03-23 02:30:54 +00:00
Hermès Bélusca-Maïto
b67dc560e6 [NOTEVIL]
- Convert our goode olde ReactOS Easter Egg "notevil" app to unicode.
- Remove .rbuild file.
- Code formatting.

svn path=/trunk/; revision=62550
2014-03-23 02:24:33 +00:00
Hermès Bélusca-Maïto
eab1b449bb [COMP][SORT]
Bring back COMP and SORT utilities to build.

svn path=/trunk/; revision=62549
2014-03-23 01:32:46 +00:00
Hermès Bélusca-Maïto
65ce2df6df [FORMAT]
As mode and more, format is a false .com (for compatibility purposes).

svn path=/trunk/; revision=62548
2014-03-23 01:16:19 +00:00
Hermès Bélusca-Maïto
918e8924e7 [RTL]
- Code formatting (homogeneisation of...).
- For "Deadlock" DPRINT, replace the DPRINT1 by a ERROR_DBGBREAK for (user) debugging purposes only (a priori this shouldn't be hit during our automated tests).

svn path=/trunk/; revision=62547
2014-03-23 00:23:54 +00:00
Hermès Bélusca-Maïto
055a4866c3 [SHELL]
Allow opening .COM executables from the (explorer) shell, outside cmd.exe.
Patch by Lee Schroeder.
CORE-8009 #resolve #comment Fixed in revision 62546. Thanks :D

svn path=/trunk/; revision=62546
2014-03-22 21:07:28 +00:00
Hermès Bélusca-Maïto
a44f578a6c [ADVAPI32][SECUR32]
Remove useless msvcrt importing.

[WINSRV]
Fix imports.

CORE-7985

svn path=/trunk/; revision=62545
2014-03-22 20:04:28 +00:00
Hermès Bélusca-Maïto
2e7eea8043 [KERNEL32]: Fix parameter usage in RtlAcquirePrivilege.
svn path=/trunk/; revision=62544
2014-03-22 18:46:26 +00:00