Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:15:44 +0000 (16:15 +0000)]
Forgot this file (fixes all the builds).
svn path=/trunk/; revision=59712
Hermès Bélusca-Maïto [Mon, 12 Aug 2013 16:12:58 +0000 (16:12 +0000)]
[KERNEL32][CONSRV]
Half-plement SetConsolePalette.
svn path=/trunk/; revision=59711
Amine Khaldi [Mon, 12 Aug 2013 11:52:50 +0000 (11:52 +0000)]
[PSDK]
* Annotate vfw.h.
svn path=/trunk/; revision=59710
Cameron Gutman [Mon, 12 Aug 2013 06:46:06 +0000 (06:46 +0000)]
[TCPIP]
- Disable object logging now that all the deadlocks, leaks, double-frees, and use-after-frees visible in our test suite are fixed in TCP/IP
svn path=/trunk/; revision=59709
Cameron Gutman [Mon, 12 Aug 2013 06:00:06 +0000 (06:00 +0000)]
[IP]
- Fix a nasty bug preventing any of the non-default interface's NCEs from being selected
- Fix a bug preventing loopback NCEs from being found (fixes hang in ws2_32:sock winetest)
svn path=/trunk/; revision=59708
Cameron Gutman [Mon, 12 Aug 2013 04:58:22 +0000 (04:58 +0000)]
[LWIP]
- Indicate the graceful close before calling the FIN event handler
svn path=/trunk/; revision=59707
Cameron Gutman [Mon, 12 Aug 2013 04:08:20 +0000 (04:08 +0000)]
[LWIP]
- Ensure that the connection failure gets delivered if the socket is not yet ready to receive or has shutdown receive
svn path=/trunk/; revision=59706
Cameron Gutman [Mon, 12 Aug 2013 03:09:28 +0000 (03:09 +0000)]
[TCPIP]
- Add logging of address files and connections (on temporarily for testing changes)
[LWIP]
- Drastically simplify the closing state machine
- All connection objects (and as a result address files too) are now getting properly reaped now
- Tested with Firefox and Abyss Web Server
svn path=/trunk/; revision=59705
Cameron Gutman [Mon, 12 Aug 2013 01:12:25 +0000 (01:12 +0000)]
[CMAKE]
- Define i386 on x86 MSVC builds
- Probably fixes the infamous MSVC networking issues caused by tcpip.h assuming it was a big-endian platform and never byte-swapping anything
[TCPIP][LAN]
- Fix byteswapping on AMD64 and ARM builds too
svn path=/trunk/; revision=59704
Cameron Gutman [Mon, 12 Aug 2013 00:45:04 +0000 (00:45 +0000)]
[TCPIP]
- Use common macro for htons
- Fail compilation if an unrecognized architecture is found (testing)
svn path=/trunk/; revision=59703
Cameron Gutman [Sun, 11 Aug 2013 21:19:35 +0000 (21:19 +0000)]
[SETUPAPI]
- SetupDiRegisterDeviceInfo shouldn't fail if a device instance already exists
- MSDN documentation for this function states: "If [SPRDI_FIND_DUPS] is not specified, the device instance is registered regardless of whether a device instance already exists for it."
svn path=/trunk/; revision=59702
Cameron Gutman [Sun, 11 Aug 2013 19:57:47 +0000 (19:57 +0000)]
[UMPNPMGR]
- Handle the CM_CREATE_DEVNODE_GENERATE_ID flag
[SETUPAPI]
- Use the correct ID (the newly generated instance ID) when creating the device info if the DICD_GENERATE_ID flag was passed in
svn path=/trunk/; revision=59699
Cameron Gutman [Sun, 11 Aug 2013 17:49:17 +0000 (17:49 +0000)]
[SETUPAPI]
- Pass the CM_CREATE_DEVINST_GENERATE_ID flag to CM_Create_DevInst_ExW if DICD_GENERATE_ID was used
- Currently unimplemented in umpnpmgr
svn path=/trunk/; revision=59698
Hermès Bélusca-Maïto [Sun, 11 Aug 2013 17:06:19 +0000 (17:06 +0000)]
[KERNEL32]
Fix the prototype of the undocumented function SetConsolePalette (see http://comments.gmane.org/gmane.comp.lang.harbour.devel/27844 and https://github.com/harbour/core/commit/
d79a1b7b812cbde6ddf718ebfd6939a24f633e52 for a usage example); tested by Mysoft a.k.a. Grégory Macario Harbs.
Needed for modifying VGA palettes for NTVDM.
svn path=/trunk/; revision=59697
Amine Khaldi [Sun, 11 Aug 2013 14:40:52 +0000 (14:40 +0000)]
[PSDK]
* Annotate mmsystem.h.
svn path=/trunk/; revision=59696
Amine Khaldi [Sat, 10 Aug 2013 23:31:33 +0000 (23:31 +0000)]
[PSDK]
* Remove redundant GetUserDefaultUILanguage() declaration.
svn path=/trunk/; revision=59695
Amine Khaldi [Sat, 10 Aug 2013 22:07:04 +0000 (22:07 +0000)]
[CRT]
* Annotate tchar_s.h.
svn path=/trunk/; revision=59694
Amine Khaldi [Sat, 10 Aug 2013 21:17:38 +0000 (21:17 +0000)]
[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
Eric Kohl [Sat, 10 Aug 2013 19:24:03 +0000 (19:24 +0000)]
[NETAPI32]
Reimplement NetUserModalsGet and add NetUserModalsSet stub.
svn path=/trunk/; revision=59689
Hermès Bélusca-Maïto [Sat, 10 Aug 2013 15:00:50 +0000 (15:00 +0000)]
[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
Eric Kohl [Sat, 10 Aug 2013 12:53:29 +0000 (12:53 +0000)]
[SAMSRV]
Initialize default domain ForceLogoff time.
svn path=/trunk/; revision=59685
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 22:23:27 +0000 (22:23 +0000)]
[CMAKE]
Fix console apps entry-point (problem since revision r53553).
svn path=/trunk/; revision=59683
Amine Khaldi [Wed, 7 Aug 2013 21:03:03 +0000 (21:03 +0000)]
[PSDK]
* Annotate wininet.h.
svn path=/trunk/; revision=59670
Amine Khaldi [Wed, 7 Aug 2013 13:20:13 +0000 (13:20 +0000)]
[CRT]
* Annotate wchar_s.h.
svn path=/trunk/; revision=59664
Amine Khaldi [Wed, 7 Aug 2013 12:28:47 +0000 (12:28 +0000)]
[CMAKE]
* We no longer need to maintain a transitional compatibility with the old CMake/RosBE for MSVC builds.
svn path=/trunk/; revision=59663
Amine Khaldi [Tue, 6 Aug 2013 21:34:25 +0000 (21:34 +0000)]
[CRT]
* Annotate time_s.h.
svn path=/trunk/; revision=59661
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 19:10:36 +0000 (19:10 +0000)]
[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
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 18:36:25 +0000 (18:36 +0000)]
[KERNEL32]
Limit indentation by avoiding many "if ()" imbrications.
svn path=/trunk/; revision=59657
Amine Khaldi [Tue, 6 Aug 2013 16:16:27 +0000 (16:16 +0000)]
[CRT]
* Annotate time.h.
svn path=/trunk/; revision=59656
Amine Khaldi [Tue, 6 Aug 2013 13:48:36 +0000 (13:48 +0000)]
[PSDK]
* Annotate wincrypt.h.
svn path=/trunk/; revision=59655
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 10:40:36 +0000 (10:40 +0000)]
[KERNEL32]
Clarify a comment; fix a parameter given to BasepIsRealtimeAllowed.
svn path=/trunk/; revision=59654
Alex Ionescu [Tue, 6 Aug 2013 01:42:43 +0000 (01:42 +0000)]
[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
Alex Ionescu [Tue, 6 Aug 2013 01:38:13 +0000 (01:38 +0000)]
[SACDRV]: Another attempt to make MSVC happy.
svn path=/trunk/; revision=59652
Alex Ionescu [Tue, 6 Aug 2013 01:25:27 +0000 (01:25 +0000)]
[SACDRV]: Great job GCC at not realizing a variable was not initialized.
svn path=/trunk/; revision=59651
Alex Ionescu [Tue, 6 Aug 2013 01:14:34 +0000 (01:14 +0000)]
[SACDRV]: Set dependency on sacmsg.
svn path=/trunk/; revision=59650
Alex Ionescu [Tue, 6 Aug 2013 01:12:08 +0000 (01:12 +0000)]
[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
Alex Ionescu [Mon, 5 Aug 2013 18:33:52 +0000 (18:33 +0000)]
[KERNEL32]: Parsing fixes
svn path=/trunk/; revision=59647
Ziliang Guo [Mon, 5 Aug 2013 18:05:41 +0000 (18:05 +0000)]
[RAPPS] Update Media Player Classic Home Cinema URL as per the request of a MPC dev.
svn path=/trunk/; revision=59646
Amine Khaldi [Mon, 5 Aug 2013 17:57:22 +0000 (17:57 +0000)]
[RAPPS]
* Fix the MSVC build.
svn path=/trunk/; revision=59645
Ziliang Guo [Mon, 5 Aug 2013 17:44:28 +0000 (17:44 +0000)]
[ROSAPPS] Add Chinese translations for ROSAPPS. Translation by Yuntian Zhang. CORE-7348 #resolve
svn path=/trunk/; revision=59644
Ziliang Guo [Mon, 5 Aug 2013 17:24:09 +0000 (17:24 +0000)]
[VGAFONTEDIT] Add Chinese translation for VGA font edit utility. ROSAPPS-254 #resolve
svn path=/trunk/; revision=59643
Alex Ionescu [Sun, 4 Aug 2013 20:46:55 +0000 (20:46 +0000)]
[KERNEL32]: Fix incorrect bracing which was causing SearchPath failures to enter a weird code path. Fix a debug print.
svn path=/trunk/; revision=59642
Eric Kohl [Sun, 4 Aug 2013 20:28:26 +0000 (20:28 +0000)]
[SYSSETUP]
Add missing class installer stubs.
svn path=/trunk/; revision=59641
Alex Ionescu [Sun, 4 Aug 2013 19:28:37 +0000 (19:28 +0000)]
[NDK/NTOSKRNL]: Use correct flags. Spotted by Thomas Fabber.
svn path=/trunk/; revision=59640
Alex Ionescu [Sun, 4 Aug 2013 18:46:07 +0000 (18:46 +0000)]
[KERNEL32]: Fix a few bugs in StuffStdHandle. Ironically Windows Server 2003 actually has a bug here when calling NtDuplicateObject...
svn path=/trunk/; revision=59639
Alex Ionescu [Sun, 4 Aug 2013 17:32:38 +0000 (17:32 +0000)]
[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
Alex Ionescu [Sun, 4 Aug 2013 16:58:54 +0000 (16:58 +0000)]
[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
Amine Khaldi [Sun, 4 Aug 2013 16:38:27 +0000 (16:38 +0000)]
[PSDK]
* Annotate some advpub.h functions.
svn path=/trunk/; revision=59636
Amine Khaldi [Sun, 4 Aug 2013 14:43:44 +0000 (14:43 +0000)]
[CRT]
* Annotate stdio_s.h.
svn path=/trunk/; revision=59635
Eric Kohl [Sun, 4 Aug 2013 13:04:02 +0000 (13:04 +0000)]
[SAMLIB]
Formatting. No code changes!
svn path=/trunk/; revision=59634
Cameron Gutman [Sun, 4 Aug 2013 12:45:53 +0000 (12:45 +0000)]
[IP]
- Do a better job of selecting an interface to use when none was specified
- Fix build
svn path=/trunk/; revision=59633
Cameron Gutman [Sun, 4 Aug 2013 12:35:05 +0000 (12:35 +0000)]
[TCPIP]
- Properly support having the same neighbor addresses on different interfaces
svn path=/trunk/; revision=59632
Eric Kohl [Sun, 4 Aug 2013 10:55:09 +0000 (10:55 +0000)]
[NETAPI32]
NetpNtStatusToApiStatus: Convert STATUS_PASSWORD_RESTRICTION to NERR_PasswordTooShort.
svn path=/trunk/; revision=59631
Eric Kohl [Sat, 3 Aug 2013 22:39:58 +0000 (22:39 +0000)]
[SAMLIB]
Implement SamQueryDisplayInformation.
svn path=/trunk/; revision=59630
Amine Khaldi [Sat, 3 Aug 2013 18:57:57 +0000 (18:57 +0000)]
[CRT]
* Annotate process.h.
svn path=/trunk/; revision=59629
Eric Kohl [Sat, 3 Aug 2013 16:40:00 +0000 (16:40 +0000)]
[SAMLIB]
SamSetInformationUser: Add password length checks.
svn path=/trunk/; revision=59628
Amine Khaldi [Sat, 3 Aug 2013 14:36:11 +0000 (14:36 +0000)]
[SAL]
* Add _Deref_post_opt_z_, _Deref_pre_opt_z_ and _Deref_prepost_opt_z_ annotations.
svn path=/trunk/; revision=59627
Amine Khaldi [Sat, 3 Aug 2013 14:11:37 +0000 (14:11 +0000)]
[DDK]
* Annotate parallel.h.
svn path=/trunk/; revision=59626
Amine Khaldi [Sat, 3 Aug 2013 13:36:55 +0000 (13:36 +0000)]
[DDK]
* Annotate punknown.h.
svn path=/trunk/; revision=59625
Amine Khaldi [Sat, 3 Aug 2013 13:15:33 +0000 (13:15 +0000)]
[SAL]
* Add _Scanf_s_format_string_ annotation.
svn path=/trunk/; revision=59624
Amine Khaldi [Sat, 3 Aug 2013 13:08:00 +0000 (13:08 +0000)]
[DDK]
* Annotate ws2san.h.
svn path=/trunk/; revision=59623
Eric Kohl [Sat, 3 Aug 2013 10:32:03 +0000 (10:32 +0000)]
[SYSSETUP]
Implement and enable the HdcClassInstaller.
svn path=/trunk/; revision=59622
Eric Kohl [Sat, 3 Aug 2013 09:00:24 +0000 (09:00 +0000)]
[SYSSETUP]
Fix indentation. No code changes!
svn path=/trunk/; revision=59621
Amine Khaldi [Fri, 2 Aug 2013 23:39:54 +0000 (23:39 +0000)]
[DDK]
* Annotate strmini.h.
svn path=/trunk/; revision=59620
Amine Khaldi [Fri, 2 Aug 2013 16:02:54 +0000 (16:02 +0000)]
[DDK]
* Annotate storport.h.
svn path=/trunk/; revision=59619
Amine Khaldi [Fri, 2 Aug 2013 14:47:21 +0000 (14:47 +0000)]
[DDK]
* Annotate tdikrnl.h.
svn path=/trunk/; revision=59618
Amine Khaldi [Fri, 2 Aug 2013 13:59:35 +0000 (13:59 +0000)]
[DDK]
* Annotate srb.h.
svn path=/trunk/; revision=59617
Amine Khaldi [Thu, 1 Aug 2013 21:43:07 +0000 (21:43 +0000)]
[DDK]
* Annotate minitape.h.
svn path=/trunk/; revision=59616
Amine Khaldi [Thu, 1 Aug 2013 16:39:27 +0000 (16:39 +0000)]
[WIN32SS]
* Sync user32 spy.c with Wine 1.5.26. Based on a patch by Samuel Serapion updated by me.
CORE-7210 #resolve #comment Committed an updated version in r59615. Thanks.
svn path=/trunk/; revision=59615
Amine Khaldi [Thu, 1 Aug 2013 16:15:11 +0000 (16:15 +0000)]
[KERNEL32]
* Sync GetLocaleInfoW with Wine 1.5.26.
CORE-7281
svn path=/trunk/; revision=59614
Amine Khaldi [Thu, 1 Aug 2013 15:43:43 +0000 (15:43 +0000)]
[NOTEPAD]
* Improve the file description. By Lee Schroeder.
CORE-7320 #resolved #comment Committed in r59612. Thanks.
svn path=/trunk/; revision=59613
Amine Khaldi [Thu, 1 Aug 2013 15:40:34 +0000 (15:40 +0000)]
[CMD]
* Plug a memory leak. Based on a patch by Samuel Serapion.
CORE-7297 #resolve #comment Fixed in r59611. Thanks.
svn path=/trunk/; revision=59612
Amine Khaldi [Thu, 1 Aug 2013 15:28:54 +0000 (15:28 +0000)]
[FULLFAT]
* Silence some warnings.
svn path=/trunk/; revision=59611
Amine Khaldi [Thu, 1 Aug 2013 14:35:54 +0000 (14:35 +0000)]
[DDK]
* Fix annotations for INSTANCE_BASIC_INFORMATION, INSTANCE_PARTIAL_INFORMATION and INSTANCE_FULL_INFORMATION.
svn path=/trunk/; revision=59610
Amine Khaldi [Thu, 1 Aug 2013 14:29:03 +0000 (14:29 +0000)]
[MOUNTMGR]
* Properly mark some unreferenced parameters as such.
svn path=/trunk/; revision=59609
Amine Khaldi [Thu, 1 Aug 2013 14:18:15 +0000 (14:18 +0000)]
[SAL]
* Add __inner_callback annotation.
svn path=/trunk/; revision=59608
Amine Khaldi [Thu, 1 Aug 2013 14:15:22 +0000 (14:15 +0000)]
[CMIDRIVER]
* Improve header inclusions for cmicontrol and cmicpl.
svn path=/trunk/; revision=59607
Amine Khaldi [Thu, 1 Aug 2013 14:11:58 +0000 (14:11 +0000)]
[COMSUPP]
* Improve the header inclusions.
svn path=/trunk/; revision=59606
Johannes Anderwald [Wed, 31 Jul 2013 18:21:24 +0000 (18:21 +0000)]
[LIBUSB]
- Perform intialization of root hub in a worker thread
- Should help ReactOS to continue booting when an usb controller causes hangs
svn path=/trunk/; revision=59605
Amine Khaldi [Wed, 31 Jul 2013 16:59:44 +0000 (16:59 +0000)]
[DDK]
* Annotate ndiswan.h.
svn path=/trunk/; revision=59604
Amine Khaldi [Wed, 31 Jul 2013 14:13:58 +0000 (14:13 +0000)]
[DDK]
* Annotate ndistapi.h.
svn path=/trunk/; revision=59603
Amine Khaldi [Wed, 31 Jul 2013 14:07:36 +0000 (14:07 +0000)]
[TRANSLATIONS]
* Italian translation update for hostname, notepad, input, devmgr and msgina. By Paolo Devoti.
CORE-7319 #resolve #comment Committed in r59602. Grazie!
svn path=/trunk/; revision=59602
Amine Khaldi [Wed, 31 Jul 2013 13:50:52 +0000 (13:50 +0000)]
[TRANSLATIONS]
* Czech translation update for shutdown, sndvol32, taskmgr, explorer, appwiz, main, wined3dcfg, devmgr and shell32. By Radek Liska aka Black_Fox.
CORE-7248 #resolve #comment Committed in r59601. Thanks ;)
svn path=/trunk/; revision=59601
Amine Khaldi [Wed, 31 Jul 2013 13:30:50 +0000 (13:30 +0000)]
[QUARTZ]
* Correct IAMDirectSound::GetFocusWindow signature.
* Brought to you by Thomas Faber. Already applied upstream.
svn path=/trunk/; revision=59600
Amine Khaldi [Wed, 31 Jul 2013 13:25:51 +0000 (13:25 +0000)]
[APPLICATIONS]
* Turkish translation improvements for 3dtext, calc, charmap, devmgmt_new, dxdiag, eventvwr, fontview, kbswitch, logon, magnify, mplay32, msconfig, mspaint, mstsc, rapps, regedit, servman, sndrec32, taskmgr and wordpad. By Erdem Ersoy.
CORE-7370 #resolve #comment Committed in r59599.. Thanks !
svn path=/trunk/; revision=59599
Amine Khaldi [Wed, 31 Jul 2013 13:04:38 +0000 (13:04 +0000)]
[CMAKE/GCC]
* Compile debug builds using -O1 instead of -Os. This results in faster compilation time with no measurable difference in runtime performance according to tests.
CORE-7374 #resolve #comment Committed in r59598.
svn path=/trunk/; revision=59598
Amine Khaldi [Tue, 30 Jul 2013 16:13:40 +0000 (16:13 +0000)]
[KERNEL32]
* Fix GCC -O0 build.
svn path=/trunk/; revision=59597
Amine Khaldi [Tue, 30 Jul 2013 16:12:18 +0000 (16:12 +0000)]
[PSDK]
* Make WS2TCPIP_INLINE and MSTCPIP_INLINE static inline instead of extern inline. This way we don't run into any warnings.
svn path=/trunk/; revision=59596
Amine Khaldi [Tue, 30 Jul 2013 16:06:38 +0000 (16:06 +0000)]
[INCLUDE/WINE]
* Leverage __builtin_ffs() to fix the ffs() related issues.
svn path=/trunk/; revision=59595
Eric Kohl [Sun, 28 Jul 2013 22:18:42 +0000 (22:18 +0000)]
[SAMSRV]
Use a common routine to check all account names.
svn path=/trunk/; revision=59594
Amine Khaldi [Sun, 28 Jul 2013 20:37:51 +0000 (20:37 +0000)]
[RSYM]
* Speedup FindOrAddString(). Brought to you by Art Yerkes (arty).
svn path=/trunk/; revision=59593
Timo Kreuzer [Sun, 28 Jul 2013 13:54:42 +0000 (13:54 +0000)]
[CSRSRV]
Use symbolic constant for number of hash buckets and use it where appropriate (fixing one missing location).
svn path=/trunk/; revision=59592
Timo Kreuzer [Sun, 28 Jul 2013 10:41:27 +0000 (10:41 +0000)]
[CSRSRV]
- Reduce number of hash collisions during bootup from 10 to 0, by choosing 257 (prime number = good) instead of 256 (power of 2 = bad)
- Use ULONG for CsrpStaticThreadCount and CsrpDynamicThreadTotal to fix an MSVC warning.
svn path=/trunk/; revision=59591
Eric Kohl [Sat, 27 Jul 2013 18:53:52 +0000 (18:53 +0000)]
[NETAPI32]
NetpNtStatusToApiStatus: Map STATUS_INVALID_ACCOUNT_NAME to NERR_BadUsername.
svn path=/trunk/; revision=59590
Eric Kohl [Sat, 27 Jul 2013 17:59:28 +0000 (17:59 +0000)]
[SAMSRV]
SamrCreateUserInDomain and SamrCreateUser2InDomain: Implement the user name length limit of 20 characters.
svn path=/trunk/; revision=59589
Eric Kohl [Sat, 27 Jul 2013 14:06:53 +0000 (14:06 +0000)]
[SAMLIB]
- Implement SamGetDisplayEnumerationIndex.
- Add DOMAIN_DISPLAY_INFORMATION to ntsam.h and update sam.idl.
svn path=/trunk/; revision=59588
Alex Ionescu [Thu, 25 Jul 2013 23:56:17 +0000 (23:56 +0000)]
[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.
svn path=/trunk/; revision=59587
Thomas Faber [Thu, 25 Jul 2013 20:29:23 +0000 (20:29 +0000)]
[NOTEPAD]
- Don't assume out parameter initialization on failure. Patch by Samuel Serapión
CORE-7292 #resolve
svn path=/trunk/; revision=59585
Alex Ionescu [Thu, 25 Jul 2013 18:32:52 +0000 (18:32 +0000)]
- Server 2003 and later return the remote PEB in the TIB->ArbitraryUserPointer. Do so as well.
svn path=/trunk/; revision=59584
Alex Ionescu [Thu, 25 Jul 2013 18:30:06 +0000 (18:30 +0000)]
[NTDLL]: Export LdrOpenImageFileOptionsKey and LdrQueryIamgeFileKeyOption. These were implemented, we just never exported them.
svn path=/trunk/; revision=59583