Hermès Bélusca-Maïto [Sat, 10 Aug 2013 20:50:37 +0000 (20:50 +0000)]
[NTVDM]
- Use up to 256 parameters for programs (as suggested by the parsing while loop), but don't hardcode this values in many other places.
- The passed command line to ntvdm should be as long as MAX_PATH.
svn path=/branches/ntvdm/; revision=59691
Aleksandar Andrejevic [Sat, 10 Aug 2013 19:30:14 +0000 (19:30 +0000)]
[NTVDM]
Optimize screen clearing by implementing it as a helper function in vga.c.
svn path=/branches/ntvdm/; revision=59690
Aleksandar Andrejevic [Sat, 10 Aug 2013 19:24:00 +0000 (19:24 +0000)]
[NTVDM]
Clear the screen when switching video modes.
svn path=/branches/ntvdm/; revision=59688
Aleksandar Andrejevic [Sat, 10 Aug 2013 17:06:04 +0000 (17:06 +0000)]
Synchronize with trunk to fix spec2def issue.
[NTVDM]
Implement write modes and latch register for VGA.
svn path=/branches/ntvdm/; revision=59687
Aleksandar Andrejevic [Fri, 9 Aug 2013 23:52:08 +0000 (23:52 +0000)]
[NTVDM]
Synchronize with trunk again to fix important bugs in the build system.
Implement register control functions which should be exported (Adapted from a patch by Hermes Belusca-Maito).
The actual export is temporarily disabled because a bug in the build system compiles ntvdm as a DLL instead of an EXE.
svn path=/branches/ntvdm/; revision=59684
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 18:55:35 +0000 (18:55 +0000)]
Fix formatting, no code changes.
svn path=/branches/ntvdm/; revision=59682
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 14:01:43 +0000 (14:01 +0000)]
[NTVDM]
Simplify code.
svn path=/branches/ntvdm/; revision=59681
Aleksandar Andrejevic [Fri, 9 Aug 2013 13:33:17 +0000 (13:33 +0000)]
Fix one file that wasn't merged correctly.
svn path=/branches/ntvdm/; revision=59680
Aleksandar Andrejevic [Fri, 9 Aug 2013 13:26:07 +0000 (13:26 +0000)]
Sync with trunk.
svn path=/branches/ntvdm/; revision=59679
Aleksandar Andrejevic [Fri, 9 Aug 2013 13:14:56 +0000 (13:14 +0000)]
[NTVDM]
- Enable TESTING by default until the correct way to load ntvdm is found.
- Calculate the character height instead of hardcoding in the BDA.
svn path=/branches/ntvdm/; revision=59678
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 13:06:01 +0000 (13:06 +0000)]
[NTVDM]
Implement INT 10h, function 04h (Query Light Pen) (deprecated)
svn path=/branches/ntvdm/; revision=59677
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 11:55:31 +0000 (11:55 +0000)]
Fix the fix.
svn path=/branches/ntvdm/; revision=59676
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 11:41:13 +0000 (11:41 +0000)]
[NTVDM]
Fix cursor position.
svn path=/branches/ntvdm/; revision=59675
Aleksandar Andrejevic [Fri, 9 Aug 2013 09:24:40 +0000 (09:24 +0000)]
[NTVDM]
Calculate the text height instead of using a hardcoded value.
svn path=/branches/ntvdm/; revision=59674
Hermès Bélusca-Maïto [Fri, 9 Aug 2013 00:13:54 +0000 (00:13 +0000)]
[NTVDM]
- Fix usage of the console framebuffer mutex (used only with graphics screen buffers).
- Do not check for text/graphics mode when updating each scan line, in VgaUpdateFramebuffer.
svn path=/branches/ntvdm/; revision=59673
Aleksandar Andrejevic [Wed, 7 Aug 2013 21:57:07 +0000 (21:57 +0000)]
[NTVDM]
Fix the default cursor size and cursor size calculation.
svn path=/branches/ntvdm/; revision=59672
Aleksandar Andrejevic [Wed, 7 Aug 2013 21:15:02 +0000 (21:15 +0000)]
[NTVDM]
Clear the VGA memory during initialization.
Clear the graphics framebuffer when switching to graphics mode.
svn path=/branches/ntvdm/; revision=59671
Amine Khaldi [Wed, 7 Aug 2013 21:03:03 +0000 (21:03 +0000)]
[PSDK]
* Annotate wininet.h.
svn path=/trunk/; revision=59670
Aleksandar Andrejevic [Wed, 7 Aug 2013 19:56:28 +0000 (19:56 +0000)]
[NTVDM]
Fix coding style.
Fix initial cursor position bug.
Fix memory limit constant for VGA memory modes 0 and 1 (64 KB not 32 KB).
svn path=/branches/ntvdm/; revision=59669
Hermès Bélusca-Maïto [Wed, 7 Aug 2013 17:41:54 +0000 (17:41 +0000)]
[NTVDM]
- Check return value of VgaEnterGraphicsMode (because CreateConsoleScreenBuffer can fail), and create VgaEnterTextMode and VgaLeaveTextMode helpers.
- Don't declare variables inside loops.
svn path=/branches/ntvdm/; revision=59668
Aleksandar Andrejevic [Wed, 7 Aug 2013 15:42:32 +0000 (15:42 +0000)]
[NTVDM]
Fix more MSVC warnings.
svn path=/branches/ntvdm/; revision=59667
Aleksandar Andrejevic [Wed, 7 Aug 2013 15:01:38 +0000 (15:01 +0000)]
[NTVDM]
Fix MSVC warnings.
svn path=/branches/ntvdm/; revision=59666
Hermès Bélusca-Maïto [Wed, 7 Aug 2013 14:57:30 +0000 (14:57 +0000)]
Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
svn path=/branches/ntvdm/; revision=59665
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
Aleksandar Andrejevic [Wed, 7 Aug 2013 12:06:39 +0000 (12:06 +0000)]
[NTVDM]
Remove unnecessary call to UNREFERENCED_PARAMETER, as the parameter is used later in the function.
svn path=/branches/ntvdm/; revision=59662
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 21:06:00 +0000 (21:06 +0000)]
[NTVDM]
Code formatting only.
svn path=/branches/ntvdm/; revision=59660
Hermès Bélusca-Maïto [Tue, 6 Aug 2013 20:01:05 +0000 (20:01 +0000)]
[NTVDM]
- Don't leak console input/output handles when opening them in BiosInitialize.
- Deinitialize the emulator in the reverse order it was initialized.
- Simplify VgaGetVideoBaseAddress and VgaGetVideoLimitAddress and use the former one in VgaTranslate[Read-Write]Address.
- Use only unicode Win32 APIs where it's needed.
svn path=/branches/ntvdm/; revision=59659
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
Aleksandar Andrejevic [Mon, 5 Aug 2013 23:20:25 +0000 (23:20 +0000)]
[NTVDM]
Implement Video Graphics Array (VGA) support.
Replace the old BIOS video code with new code that uses the VGA.
svn path=/branches/ntvdm/; revision=59648
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