Commit graph

54240 commits

Author SHA1 Message Date
Amine Khaldi ce6bf0b38e [CRT]
* Annotate tchar_s.h.

svn path=/trunk/; revision=59694
2013-08-10 22:07:04 +00:00
Amine Khaldi 487e85ab96 [CRT/INTRIN_X86]
* Fix __ll_rshift() and __ull_rshift(). Thanks to Filip Navara for his help with the issue.
* Properly mark int64part as unsigned __int6 in _byteswap_uint64().
* Add missing prototypes.

svn path=/trunk/; revision=59692
2013-08-10 21:17:38 +00:00
Eric Kohl ff78b2da31 [NETAPI32]
Reimplement NetUserModalsGet and add NetUserModalsSet stub.

svn path=/trunk/; revision=59689
2013-08-10 19:24:03 +00:00
Hermès Bélusca-Maïto c6b4ad3605 [SPEC2DEF]
In GCC builds, LD sucks, and therefore, use NAME instead of LIBRARY to prevent that GNU crap from marking executables as dlls just because they export stuff, which is needed by both ntoskrnl and ntvdm.
Tested and approved by Aleksandar Aandrejevic a.k.a. [TheFlash], gigaherz and Amine Khaldi.
See:
http://msdn.microsoft.com/en-us/library/28d6s79h.aspx - "Module-Definition (.Def) Files"
http://msdn.microsoft.com/en-us/library/30fw19zw.aspx - For a description of the LIBRARY keyword
http://msdn.microsoft.com/en-us/library/03b3wfkt.aspx - For a description of the NAME keyword
http://sourceware.org/binutils/docs-2.16/binutils/def-file-format.html - "The format of the dlltool .def file" (GCC)
for more information.

svn path=/trunk/; revision=59686
2013-08-10 15:00:50 +00:00
Eric Kohl 206be3cc65 [SAMSRV]
Initialize default domain ForceLogoff time.

svn path=/trunk/; revision=59685
2013-08-10 12:53:29 +00:00
Hermès Bélusca-Maïto 88d8880262 [CMAKE]
Fix console apps entry-point (problem since revision r53553).

svn path=/trunk/; revision=59683
2013-08-09 22:23:27 +00:00
Amine Khaldi 91d183762d [PSDK]
* Annotate wininet.h.

svn path=/trunk/; revision=59670
2013-08-07 21:03:03 +00:00
Amine Khaldi b8f23684cc [CRT]
* Annotate wchar_s.h.

svn path=/trunk/; revision=59664
2013-08-07 13:20:13 +00:00
Amine Khaldi d6308efe55 [CMAKE]
* We no longer need to maintain a transitional compatibility with the old CMake/RosBE for MSVC builds.

svn path=/trunk/; revision=59663
2013-08-07 12:28:47 +00:00
Amine Khaldi 4a0a6ca46a [CRT]
* Annotate time_s.h.

svn path=/trunk/; revision=59661
2013-08-06 21:34:25 +00:00
Hermès Bélusca-Maïto 732baee549 [CONSRV]
- Fix console handle validation (triggered by recent Process changes by Alex).
- Temporarily add commented-out asserts for testing purposes only.

svn path=/trunk/; revision=59658
2013-08-06 19:10:36 +00:00
Hermès Bélusca-Maïto e3cc5db0e6 [KERNEL32]
Limit indentation by avoiding many "if ()" imbrications.

svn path=/trunk/; revision=59657
2013-08-06 18:36:25 +00:00
Amine Khaldi dcff1c6eb9 [CRT]
* Annotate time.h.

svn path=/trunk/; revision=59656
2013-08-06 16:16:27 +00:00
Amine Khaldi 7273892395 [PSDK]
* Annotate wincrypt.h.

svn path=/trunk/; revision=59655
2013-08-06 13:48:36 +00:00
Hermès Bélusca-Maïto c88b1f0a7d [KERNEL32]
Clarify a comment; fix a parameter given to BasepIsRealtimeAllowed.

svn path=/trunk/; revision=59654
2013-08-06 10:40:36 +00:00
Alex Ionescu 8a3e88a0f2 [NDK]: Update DNF_NEED_TO_ENUM to DNF_LEGACY_RESOURCE_DEVICENODE. The former wasn't used and doesn't seem to exist, the latter is the actual real flag with that value.
[NTOSKRNL]: Commit an old patch of mine that sets up the right frontend code in IoAssignResources. All it does is add some error checking before calling the old halfplemented backend.

svn path=/trunk/; revision=59653
2013-08-06 01:42:43 +00:00
Alex Ionescu 002291ac93 [SACDRV]: Another attempt to make MSVC happy.
svn path=/trunk/; revision=59652
2013-08-06 01:38:13 +00:00
Alex Ionescu 4ae0d21a9c [SACDRV]: Great job GCC at not realizing a variable was not initialized.
svn path=/trunk/; revision=59651
2013-08-06 01:25:27 +00:00
Alex Ionescu be917e6118 [SACDRV]: Set dependency on sacmsg.
svn path=/trunk/; revision=59650
2013-08-06 01:14:34 +00:00
Alex Ionescu 6568f7df16 [HIVES]: Add "System Reserved" and "EMS" group types.
[TXTSETUP]: Add sacdrv.sys to the list of setup drivers.
[CMAKELISTS]: Add sac/sacdrv/sacmsg to the build.
[SACMSG]: Update some messages to give them identifiers.
[SACDRV]: Reformat almost the entire driver to ReactOS standards.
[SACDRV]: Implement about 50% of the driver, including most of the Channel Manager, Command Manager and Raw Channel Support. Comment and cleanup all of the old code that was there before. This is WIP -- it will only activate if you attempt to enable EMS. EMS/SAC support should be very helpful for Thorium Core/ARM port.

svn path=/trunk/; revision=59649
2013-08-06 01:12:08 +00:00
Alex Ionescu f9c1de4baa [KERNEL32]: Parsing fixes
svn path=/trunk/; revision=59647
2013-08-05 18:33:52 +00:00
Ziliang Guo ce6c0a9ea5 [RAPPS] Update Media Player Classic Home Cinema URL as per the request of a MPC dev.
svn path=/trunk/; revision=59646
2013-08-05 18:05:41 +00:00
Amine Khaldi c64a17b8dc [RAPPS]
* Fix the MSVC build.

svn path=/trunk/; revision=59645
2013-08-05 17:57:22 +00:00
Ziliang Guo 83fb28ddbf [ROSAPPS] Add Chinese translations for ROSAPPS. Translation by Yuntian Zhang. CORE-7348 #resolve
svn path=/trunk/; revision=59644
2013-08-05 17:44:28 +00:00
Ziliang Guo 467ca7e83e [VGAFONTEDIT] Add Chinese translation for VGA font edit utility. ROSAPPS-254 #resolve
svn path=/trunk/; revision=59643
2013-08-05 17:24:09 +00:00
Alex Ionescu b5dd9550f8 [KERNEL32]: Fix incorrect bracing which was causing SearchPath failures to enter a weird code path. Fix a debug print.
svn path=/trunk/; revision=59642
2013-08-04 20:46:55 +00:00
Eric Kohl 372e1e2bd0 [SYSSETUP]
Add missing class installer stubs.

svn path=/trunk/; revision=59641
2013-08-04 20:28:26 +00:00
Alex Ionescu 6c25276f31 [NDK/NTOSKRNL]: Use correct flags. Spotted by Thomas Fabber.
svn path=/trunk/; revision=59640
2013-08-04 19:28:37 +00:00
Alex Ionescu 110bbab440 [KERNEL32]: Fix a few bugs in StuffStdHandle. Ironically Windows Server 2003 actually has a bug here when calling NtDuplicateObject...
svn path=/trunk/; revision=59639
2013-08-04 18:46:07 +00:00
Alex Ionescu 53d4f6c6a3 [KERNEL32] [FORMATTING]: Separate volume.c into disk.c, volume.c, and mountpt.c. Format function headers appropriately. No code change.
svn path=/trunk/; revision=59638
2013-08-04 17:32:38 +00:00
Alex Ionescu d81cd01efc [KERNEL32]: Complete rewrite of CreateProcessInternalW based on Server 2003, instead of the original version that I wrote based on Windows 2000. This new version adds the right CSRSS support for VDM and Wow32, stubs the upcoming support for SxS, uses the new NtCreateProcessEx functionality, adds checks for SDB/Shim/AppCompat, adds checks for SRP (the old AppLocker), adds support for image file execution options, such as large pages and the debugger key, adds licensing checks, adds better path handling using the path APIs that Thomas, Hermes, and Myself re-wrote/improved in Rtl/NTDLL, and a whole lot more. Tested with a bunch of launches, downloads, and apps, and no immediate regressions were seen, but this is 3500 lines of code and nothing is perfect. Please file Jira issues as they come up -- I will maintain & fix this. Will also ask Hermes to start working on the VDM/WoW32 paths for the new NTVDM work that's happening, and I will start looking at SxS.
svn path=/trunk/; revision=59637
2013-08-04 16:58:54 +00:00
Amine Khaldi 5ca2d9762b [PSDK]
* Annotate some advpub.h functions.

svn path=/trunk/; revision=59636
2013-08-04 16:38:27 +00:00
Amine Khaldi 3aff14a12c [CRT]
* Annotate stdio_s.h.

svn path=/trunk/; revision=59635
2013-08-04 14:43:44 +00:00
Eric Kohl be53f80ec8 [SAMLIB]
Formatting. No code changes!

svn path=/trunk/; revision=59634
2013-08-04 13:04:02 +00:00
Cameron Gutman 49bffeb3fe [IP]
- Do a better job of selecting an interface to use when none was specified
- Fix build

svn path=/trunk/; revision=59633
2013-08-04 12:45:53 +00:00
Cameron Gutman 9f567f9c79 [TCPIP]
- Properly support having the same neighbor addresses on different interfaces

svn path=/trunk/; revision=59632
2013-08-04 12:35:05 +00:00
Eric Kohl 54a564d40f [NETAPI32]
NetpNtStatusToApiStatus: Convert STATUS_PASSWORD_RESTRICTION to NERR_PasswordTooShort.

svn path=/trunk/; revision=59631
2013-08-04 10:55:09 +00:00
Eric Kohl 6efdd97682 [SAMLIB]
Implement SamQueryDisplayInformation.

svn path=/trunk/; revision=59630
2013-08-03 22:39:58 +00:00
Amine Khaldi c99461dd97 [CRT]
* Annotate process.h.

svn path=/trunk/; revision=59629
2013-08-03 18:57:57 +00:00
Eric Kohl 71be5b87ee [SAMLIB]
SamSetInformationUser: Add password length checks.

svn path=/trunk/; revision=59628
2013-08-03 16:40:00 +00:00
Amine Khaldi badde5f428 [SAL]
* Add _Deref_post_opt_z_, _Deref_pre_opt_z_ and _Deref_prepost_opt_z_ annotations.

svn path=/trunk/; revision=59627
2013-08-03 14:36:11 +00:00
Amine Khaldi 21271becba [DDK]
* Annotate parallel.h.

svn path=/trunk/; revision=59626
2013-08-03 14:11:37 +00:00
Amine Khaldi de80a47533 [DDK]
* Annotate punknown.h.

svn path=/trunk/; revision=59625
2013-08-03 13:36:55 +00:00
Amine Khaldi 3c12c1d956 [SAL]
* Add _Scanf_s_format_string_ annotation.

svn path=/trunk/; revision=59624
2013-08-03 13:15:33 +00:00
Amine Khaldi c3dde44d13 [DDK]
* Annotate ws2san.h.

svn path=/trunk/; revision=59623
2013-08-03 13:08:00 +00:00
Eric Kohl 1d5b84ea4c [SYSSETUP]
Implement and enable the HdcClassInstaller.

svn path=/trunk/; revision=59622
2013-08-03 10:32:03 +00:00
Eric Kohl a129042f94 [SYSSETUP]
Fix indentation. No code changes!

svn path=/trunk/; revision=59621
2013-08-03 09:00:24 +00:00
Amine Khaldi 731b7205e3 [DDK]
* Annotate strmini.h.

svn path=/trunk/; revision=59620
2013-08-02 23:39:54 +00:00
Amine Khaldi 1b6aa1d473 [DDK]
* Annotate storport.h.

svn path=/trunk/; revision=59619
2013-08-02 16:02:54 +00:00
Amine Khaldi 455bd30134 [DDK]
* Annotate tdikrnl.h.

svn path=/trunk/; revision=59618
2013-08-02 14:47:21 +00:00