Commit graph

66728 commits

Author SHA1 Message Date
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
Dmitry Chapyshev f648131f93 [RTL] Add missed IN/OUT/OPTIONAL/PAGED_CODE_RTL
svn path=/trunk/; revision=72687
2016-09-15 19:35:59 +00:00
Dmitry Chapyshev 3c4a2b6d93 [RTL] Formatting only
svn path=/trunk/; revision=72686
2016-09-15 19:17:47 +00:00
Christoph von Wittich c18c4aa282 [SHELL32] try to fix testman hang, by "breaking" CreateViewWindow2 again
svn path=/trunk/; revision=72685
2016-09-15 16:12:50 +00:00
Christoph von Wittich a4ff747ee4 [SHELL32] halfplement CreateViewWindow2 (SHELLVIEWID not handled yet)
svn path=/trunk/; revision=72684
2016-09-15 15:09:22 +00:00
Thomas Faber b64b5f76db [LIBUSB]
- Correctly fail IRP_MN_START_DEVICE if PnpStart failed. Spotted by Vadim Galyant.
CORE-11929 #resolve

svn path=/trunk/; revision=72683
2016-09-15 13:37:26 +00:00
Thomas Faber a2d24bde65 [NTOS:IO]
- Avoid IRP allocation failure in IopDeleteFile and IopCloseFile. Based on a patch by Volodymyr Shcherbyna.
CORE-11959

svn path=/trunk/; revision=72682
2016-09-15 13:25:20 +00:00
Thomas Faber f2599dd576 [FASTFAT]
- Acquire DirResource before MainResource in DoQuery to keep locking order consistent and avoid deadlocks. Patch by Volodymyr Shcherbyna with small modification by me.
CORE-11959 CORE-11652

svn path=/trunk/; revision=72681
2016-09-15 13:12:02 +00:00
Christoph von Wittich a35a286182 [LSASRV] check correct variable for NULL
svn path=/trunk/; revision=72680
2016-09-15 08:41:17 +00:00