Hermès Bélusca-Maïto
9481be0824
[WINLOGON]
...
- CreateUserEnvironment: if user impersonation fails, just fail the call.
- SetDefaultLanguage: Use the *correct* HKEY_CURRENT_USER key to retrieve the lang., that is, first impersonate the user, then, call RegOpenCurrentUser. We do that because otherwise calling RegOpenKey(Ex) for HKEY_CURRENT_USER just uses the process cached value of HKEY_CURRENT_USER, which does not change *even if* one impersonates an user.
[MSGINA]
- Correctly impersonate the user when opening & initializing the shutdown dialog (in the same way as winlogon does), i.e. call ImpersonateLoggedOnUser and use RegOpenCurrentUser.
- Fill few (but not all) code holes in WlxScreenSaverNotify.
svn path=/trunk/; revision=72737
2016-09-18 23:32:02 +00:00
Hermès Bélusca-Maïto
4b29ab5690
[NTOS]: Code formatting only.
...
svn path=/trunk/; revision=72736
2016-09-18 23:28:32 +00:00
Amine Khaldi
0fc28afe45
[MSWSOCK] Partially implement Name Service Provider in mswsock. Brought to you by Andreas Maier aka andy-123 with small fixes by Peter Hater and formatting by me. CORE-10024 CORE-10440
...
svn path=/trunk/; revision=72735
2016-09-18 21:21:28 +00:00
Dmitry Chapyshev
be31da9af7
[KERNEL32] - Remove unneded checks (these values can be received from table). - We have to insert UNICODE_NULL if it is the end of string or in string contains 0.
...
* Fixes 12 tests for kernel32:codepage
svn path=/trunk/; revision=72734
2016-09-18 21:10:07 +00:00
Dmitry Chapyshev
a7c123661e
[KERNEL32] Add missed type-casting
...
* Fixes 28 tests for kernel32:codepage
svn path=/trunk/; revision=72733
2016-09-18 20:11:05 +00:00
Hermès Bélusca-Maïto
f8ff1c2126
[MSGINA]
...
- Do not hardcode buffer sizes in function calls, and use _countof when needed.
- Use explicit unicode functions where possible.
- No need to have 342687 versions of the shutdown dialog in msgina, only one is sufficient. The help button should be either shown or hidden, depending on whom is calling the dialog (shell or winlogon) (this is TODO!)
- Therefore, no need to have twice the (almost) same code for the shutdown dialog.
- Fix & rework said code.
- The old duplicated shutdown dialog now becomes the "template" for the "Luna-XP-style Shut Down dialog" (implementation TODO!)
- Reenable the WM_ACTIVATE code that was added in r72720 and temporarily disabled in r72721.
CORE-7559 #comment Numerous fixes committed in r72732.
svn path=/trunk/; revision=72732
2016-09-18 19:37:25 +00:00
Hermès Bélusca-Maïto
c7afe8dea0
[SHELL32]: Code formatting only.
...
svn path=/trunk/; revision=72731
2016-09-18 19:36:05 +00:00
Dmitry Chapyshev
d0228d56b4
[KERNEL32] Implement MB_ERR_INVALID_CHARS flag for DBCS codepages
...
* Fixes 3 tests for kernel32:codepage
svn path=/trunk/; revision=72730
2016-09-18 18:21:30 +00:00
Dmitry Chapyshev
84351186d5
[KERNEL32] Implement MB_USEGLYPHCHARS flag for MultiByteToWideChar. Add checks for "Private Use" characters. More correct checks for input parameters.
...
* Fixes 6 tests for kernel32:codepage
svn path=/trunk/; revision=72729
2016-09-18 17:26:59 +00:00
Amine Khaldi
dc52ede2f3
[WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported yet by winsock helper dll (wshtcpip.dll) and the test is assuming there is info returned which is wrong and crashes. By Peter Hater. CORE-10440 CORE-12000
...
svn path=/trunk/; revision=72728
2016-09-18 16:20:20 +00:00
Amine Khaldi
0040a2fd32
[ADNS] Use dynamic memory for network info and set domain for searches. By Peter Hater. CORE-10440
...
svn path=/trunk/; revision=72727
2016-09-18 16:07:29 +00:00
Amine Khaldi
6086defd15
[DNSAPI] Request adns to search servers and domains. By Peter Hater. CORE-10440
...
svn path=/trunk/; revision=72726
2016-09-18 14:25:39 +00:00
Johannes Anderwald
ad787661bb
[USBAUDIO]
...
- start implementing init routines
- not yet added to build
svn path=/trunk/; revision=72725
2016-09-18 14:24:21 +00:00
Johannes Anderwald
956b933a71
try fix build
...
svn path=/trunk/; revision=72724
2016-09-18 14:11:47 +00:00
Johannes Anderwald
1b15d09a65
[PSDK]
...
- add missing definitions
svn path=/trunk/; revision=72723
2016-09-18 14:02:22 +00:00
Amine Khaldi
15b97111e6
[KERNEL32] Try to read 'DhcpDomain' registry value if present, otherwise return 'Domain' one, when domain part is requested from GetComputerNameEx(). By Peter Hater. CORE-10440
...
svn path=/trunk/; revision=72722
2016-09-18 12:55:45 +00:00
Hermès Bélusca-Maïto
b33dfb3ede
[MSGINA][SHELL32]: Temporarily disable the WM_ACTIVATE check because it blocks for whatever reason the dialog to properly close and return its correct return value when the user selects e.g. "Shutdown" and validate by pressing "OK" (effectively disables commit r72720).
...
svn path=/trunk/; revision=72721
2016-09-17 23:07:46 +00:00
Hermès Bélusca-Maïto
99dcff252e
[MSGINA][SHELL32]: Now that CORE-11979 is fixed, automatically close the logoff/shutdown dialog as soon as the user deactivates the window (focus lost) by e.g. pressing Alt-Tab.
...
svn path=/trunk/; revision=72720
2016-09-17 22:44:50 +00:00
Hermès Bélusca-Maïto
a1895a9da6
[XDK][MSGINA]: Consistency codestyle fixes.
...
[SHELL32]
- Use explicit unicode functions;
- Use _countof instead of sizeof(foo)/sizeof(foo[0]);
- Enable the shutdown privilege when we need it, and disable as soon as possible (code taken from taskmgr).
svn path=/trunk/; revision=72719
2016-09-17 22:39:54 +00:00
Hermès Bélusca-Maïto
b5fc396ab8
[MSGINA]: Code style fixes:
...
- Use explicit unicode functions;
- Just use the hdc field of the PAINTSTRUCT initialized by BeginPaint instead of introducing yet another hdc variable;
- Use SetDlgItemTextW instead of GetDlgItem + SetWindowTextW;
- Don't hardcode buffer sizes in functions calls;
- Use _countof instead of sizeof(foo)/sizeof(foo[0]);
- Avoid using raw 'int' variables where possible;
- Remove trailing whitespace.
...
svn path=/trunk/; revision=72718
2016-09-17 22:04:54 +00:00
Dmitry Chapyshev
40f2bef33b
[NLS] Update NLS files. Part 5/x
...
svn path=/trunk/; revision=72717
2016-09-17 21:45:39 +00:00
Dmitry Chapyshev
4969288a3b
[NLS] Add source data for NLS-files
...
svn path=/trunk/; revision=72716
2016-09-17 21:18:13 +00:00
Hermès Bélusca-Maïto
f76faf799a
[NTVDM]: Update README.
...
svn path=/trunk/; revision=72715
2016-09-17 21:12:03 +00:00
Dmitry Chapyshev
20e9303118
[NLS] Update NLS files. Part 4/x
...
svn path=/trunk/; revision=72714
2016-09-17 21:08:09 +00:00
Dmitry Chapyshev
3855dc8d24
[NLS] Add source data for 10000, 10006, 10007, 10029, 10079, 10081 codepages
...
svn path=/trunk/; revision=72713
2016-09-17 20:54:14 +00:00
Hermès Bélusca-Maïto
d0c02243d2
[NTVDM]: Add new icons:
...
- Tango-style icons by Henry Tang Ih and Jared Smudde, arranged by myself for PC-XT and AT style;
- ROS-DOS & VDM-DOS (copied from pifmgr.dll) by DSP2015
CORE-10340
svn path=/trunk/; revision=72712
2016-09-17 20:50:08 +00:00
Dmitry Chapyshev
67862907fb
[NLS] Update NLS files. Part 3/x
...
svn path=/trunk/; revision=72711
2016-09-17 20:48:40 +00:00
Dmitry Chapyshev
4e4d86df9c
[NLS] Add source data for 1006, 1026, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258 codepages
...
svn path=/trunk/; revision=72710
2016-09-17 20:27:00 +00:00
Dmitry Chapyshev
cc3ce56acd
[NLS] Update NLS file for 037, 500, 874, 875 codepages
...
svn path=/trunk/; revision=72709
2016-09-17 20:17:04 +00:00
Dmitry Chapyshev
40a137dfa8
[TXT2NLS] TransUniDefaultChar has to be received from WideCharTable. TransDefaultChar has to be received from MultiByteTable (or from DBCS table)
...
svn path=/trunk/; revision=72708
2016-09-17 20:03:13 +00:00
Dmitry Chapyshev
c75bd6ee1e
[NLS] Add source data for 037, 424, 500, 874, 875 codepages
...
svn path=/trunk/; revision=72707
2016-09-17 19:27:16 +00:00
Dmitry Chapyshev
0dff1696a2
[NLS] Update NLS files. Part 1/x
...
svn path=/trunk/; revision=72706
2016-09-17 19:01:54 +00:00
Mark Jansen
d1a6ea86f7
[ATL] Do not corrupt the internal state of the CSimpleArray when allocation fails. Patch by Katayama Hirofumi MZ. CORE-11946 #comment Committed, thanks!
...
svn path=/trunk/; revision=72705
2016-09-17 17:54:16 +00:00
Dmitry Chapyshev
ea13a8e917
[NLS2TXT] Add missed check for default char
...
[TXT2NLS] Size of glyph table in words (create_nls uses wrong size)
svn path=/trunk/; revision=72704
2016-09-17 14:04:32 +00:00
Dmitry Chapyshev
fc49388a2a
[NLS] Update nls files for 437 and 775 codepages
...
* Fixes 16 tests for ntdll:RtlGenerate8dot3Name
svn path=/trunk/; revision=72703
2016-09-17 12:41:29 +00:00
Dmitry Chapyshev
25dc758375
[NLS] Added source data for NLS files (generated by nls2txt from our files)
...
svn path=/trunk/; revision=72702
2016-09-17 12:29:49 +00:00
Dmitry Chapyshev
0d8a2edf6b
[TXT2NLS] Write correct size for wide char table
...
svn path=/trunk/; revision=72701
2016-09-17 12:18:28 +00:00
Dmitry Chapyshev
942c4eff2d
[ROSAPPS] Add initial version txt2nls file converter (DBCS codepages not supported yet)
...
svn path=/trunk/; revision=72700
2016-09-17 01:02:53 +00:00
James Tabor
cb199a866c
[NtUser]
...
- Use desktop thread list to search for related active desktop threads. See CORE-11983.
svn path=/trunk/; revision=72699
2016-09-16 23:58:51 +00:00
Hermès Bélusca-Maïto
6e3b5e1ee2
[PIFMGR]: Update the 16-colour format of some icons; add new icons.
...
CORE-10253
svn path=/trunk/; revision=72698
2016-09-16 23:17:06 +00:00
Amine Khaldi
b183bab8f7
[DHCPCSVC] Add registry key for DHCP domain if present in DHCP reply. By Peter Hater. CORE-10440
...
svn path=/trunk/; revision=72697
2016-09-16 13:40:21 +00:00
Thomas Faber
bae3687192
[NTDLL_WINETEST]
...
- Skip exception test on WHS-Testbot... because problems...
ROSTESTS-240
svn path=/trunk/; revision=72696
2016-09-16 09:33:54 +00:00
Dmitry Chapyshev
8e08a3b453
[NLS2TXT] Remove unneeded imports
...
svn path=/trunk/; revision=72695
2016-09-15 21:47:22 +00:00
Dmitry Chapyshev
d4e7d0c0ff
[GETUNAME] Add import library for nls2txt
...
svn path=/trunk/; revision=72694
2016-09-15 21:17:03 +00:00
Dmitry Chapyshev
3f3ae1f05b
[ROSAPPS] Add NLS to TXT file converter
...
svn path=/trunk/; revision=72693
2016-09-15 21:13:26 +00:00
Dmitry Chapyshev
434964f61d
[RTL] Add internal RtlpDowncaseUnicodeChar function and use instead RtlDowncaseUnicodeChar internally in RTL. RtlMultiAppendUnicodeStringBuffer parameters are specified (it is documented on: http://undoc.airesoft.co.uk/ntdll.dll/RtlMultiAppendUnicodeStringBuffer.php )
...
svn path=/trunk/; revision=72692
2016-09-15 20:40:29 +00:00
Dmitry Chapyshev
ce4186a1eb
[RTL] Add internal RtlpUpcaseUnicodeChar function and use instead RtlUpcaseUnicodeChar internally in RTL
...
svn path=/trunk/; revision=72691
2016-09-15 20:05:26 +00:00
Mark Jansen
406bb0105f
[SYSSETUP][UNATTENDED] Remove dead code for VmwInst. Found by Jared Smudde.
...
svn path=/trunk/; revision=72690
2016-09-15 19:58:29 +00:00
Mark Jansen
af4f582986
[ATL_APITEST] Update CImage apitest to be in line with the CSimpleArray / CSimpleMap tests. Patch from Katayama Hirofumi MZ. CORE-11946 #resolve #comment Thanks!
...
svn path=/trunk/; revision=72689
2016-09-15 19:42:45 +00:00
Mark Jansen
639a2c725d
[ATL][ATL_APITEST] Implemente CSimpleArray + CSimpleMap. Based on a patch from Katayama Hirofumi MZ. CORE-11946
...
Most of the code is from Katayama Hirofumi MZ, the placement new / delete is written by me, based on a hint from Giannis.
svn path=/trunk/; revision=72688
2016-09-15 19:41:03 +00:00