Commit graph

66822 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 3f6ca86312 [USERINIT]: Usability commit: when in LiveCD mode, if we cannot start the shell or the installer, display again the main menu.
svn path=/trunk/; revision=72823
2016-09-26 22:49:13 +00:00
Hermès Bélusca-Maïto 6c90c67259 [USERINIT]: Addendum to r72821 + demote to WARNing the displayed message if the installer could not be started.
svn path=/trunk/; revision=72822
2016-09-26 22:47:25 +00:00
Hermès Bélusca-Maïto 0a81885192 [USERINIT]
- Use explicit unicode functions where possible.
- Use ARRAYSIZE(foo) instead of sizeof(foo)/sizeof(foo[0]).
- Don't hardcode some buffer sizes.
- Try reducing level of code indentation in some functions.
- Make StartShell and StartInstaller return a boolean (TRUE: success; FALSE: failure). Will be needed in the next commit.
- Remove a useless "#pragma warning".

svn path=/trunk/; revision=72821
2016-09-26 22:42:56 +00:00
Mark Jansen ed8515d7ed [ATL][ATL_APITEST] Implement some basic functionality for CComVariant + tests. CORE-12041
Also adds Detach() to CComBSTR.

svn path=/trunk/; revision=72820
2016-09-26 20:50:36 +00:00
Benedikt Freisen 7c6b473efc [MSPAINT]
- port load and save to ATL::CImage
- let CImage generate the filter lists for the dialogs
- add menu entries "From Scanner or Camera..." and "Send..." (no functionality)
- add menu entries for most recently used files using ATL::CPath and ATL::CString
- manage list of most recently used files in registry using ATL::CRegKey
- use CString in some places instead of TCHAR arrays

Use of CImage for load/save adds support for all GDI+ formats but breaks import/export of dots per meter/inch values.

svn path=/trunk/; revision=72819
2016-09-26 19:53:42 +00:00
Benedikt Freisen dcea2a97b2 [ATL][ROSTESTS] Tests for: CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by Katayama Hirofumi MZ, CORE-10029
svn path=/trunk/; revision=72818
2016-09-26 19:15:40 +00:00
Benedikt Freisen 61c3571160 [ATL] CImage: Add GetImporterFilterString and GetExporterFilterString. Patch by Katayama Hirofumi MZ, CORE-10029
svn path=/trunk/; revision=72817
2016-09-26 19:08:20 +00:00
Daniel Reimer d894f5d843 [RAPPS]
Bugfix to correctly identify the size of the programs in RAPPS for the Russian language by amber
CORE-11847 #resolve #comment Committed, thx.
App Manager - NirLauncher has a broken link by Ken Rochard
CORE-11718 #resolve #comment Committed, thx.
App Manager - Audacity has a broken link by Ken Rochard
CORE-11719 #resolve #comment Committed, thx.
Downgrade Python 3.5 to Python 3.4 (if it works) in Rapps by David Kleuker
CORE-11342 #resolve #comment Committed, thx.
App Manager - Libre Office 5.1.3 has a broken link by Ken Rochard
CORE-11670 #resolve #comment Committed, thx.
[RAPPS-DB] Click-N-Type Virtual Keyboard version is wrong by reactosfanboy
CORE-11243 #resolve #comment Committed, thx.

svn path=/trunk/; revision=72816
2016-09-26 18:42:16 +00:00
Benedikt Freisen b2b90f6342 [ATL]
- implement CStringT::LoadString(UINT nID) via LoadString(_AtlBaseModule.GetResourceInstance(), nID)

[FLTMC]
- add target_link_libraries(fltmc atlnew) so that the linker finds _AtlBaseModule

svn path=/trunk/; revision=72815
2016-09-26 17:50:07 +00:00
Eric Kohl 2f75d2cf5a [LSASRV]
Store the domain name and user SID in the session too.

svn path=/trunk/; revision=72814
2016-09-26 16:28:10 +00:00
Benedikt Freisen a5bb3a9997 [ATL] cstringt.h: Uncomment and complete Format(UINT nFormatID, ...). It still uses a LoadString-stub, though.
svn path=/trunk/; revision=72813
2016-09-26 14:11:50 +00:00
Dmitry Chapyshev 75df465bbf [NTOS:KE] Use variable instead function calling
svn path=/trunk/; revision=72812
2016-09-26 12:31:26 +00:00
Dmitry Chapyshev aac32378ed [NTOS:KE] Added *Thread versions of macros with ASSERT(_Thread == KeGetCurrentThread()). Use new macros in _KeAcquireGuardedMutex, _KeReleaseGuardedMutex, _KeTryToAcquireGuardedMutex. Thanks Alex!
svn path=/trunk/; revision=72811
2016-09-26 12:03:57 +00:00
Thomas Faber 4e21017693 [KERNEL32]
- Handle UTF-16 surrogate pairs in IntWideCharToMultiByteUTF8.
CORE-12042 #resolve

svn path=/trunk/; revision=72810
2016-09-26 10:12:58 +00:00
Thomas Faber 8abd9a0386 [KERNEL32_APITEST]
- Add a test for WideCharToMultiByte with CP_UTF8
CORE-12042

svn path=/trunk/; revision=72809
2016-09-26 10:06:55 +00:00
Giannis Adamopoulos a4aafe9309 [SHELL32]
- CDefView: Overhaul the code that filled the menu bar of explorer. Fill the arrange as menu with the column names from the shell folders instead of hardcoding them. Check the selected arrange mode and view mode in the menu bar and in the context menu. Make the items in the file menu to actually work. It is possible to arrange the icons from the context menu now. 
- Note to translators: Please check that the changes that I did in the 31 resource files make sense. Also note that the "Arrange Icons" menu now is called "Arrange Icons As".

svn path=/trunk/; revision=72808
2016-09-26 00:43:21 +00:00
Robert Naumann 5895908402 [SHELL32]Swedish translation by Andreas Bjerkeholt CORE-12040
svn path=/trunk/; revision=72807
2016-09-25 22:53:05 +00:00
Jérôme Gardou 14628d18e5 [KDGDB]
- Fix a stupid typo, causing all threads to have the same backtrace.

svn path=/trunk/; revision=72806
2016-09-25 22:33:48 +00:00
Benedikt Freisen 844f4e8868 [ATL] atlpath.h: This looked like a bug.
svn path=/trunk/; revision=72805
2016-09-25 21:14:23 +00:00
Benedikt Freisen ee95d592f0 [ATL] Add atlpath.h, which provides the CPathT class template and the classes CPath, CPathA and CPathW. CORE-12034
svn path=/trunk/; revision=72804
2016-09-25 19:58:22 +00:00
Jérôme Gardou 7b8651cd90 [SDK/GCC_INTRIN]
- Update __invlpg instrinsic for x86_64 compatibility

svn path=/trunk/; revision=72803
2016-09-25 18:35:52 +00:00
Dmitry Chapyshev 28e32eb784 [RTL] Capture parameters with using SEH. Fixes new test for ntdll:RtlAllocateHeap
svn path=/trunk/; revision=72802
2016-09-25 17:05:52 +00:00
Dmitry Chapyshev 92e7c0979a [NTDLL_APITEST] Add test for invalid pointer
svn path=/trunk/; revision=72801
2016-09-25 16:57:55 +00:00
Thomas Faber 3e357794f9 [NTOS:PO]
- Protect against invalid user mode pointers in NtPowerInformation

svn path=/trunk/; revision=72800
2016-09-25 13:46:18 +00:00
Dmitry Chapyshev 7986e05dd7 [NTOS:PO] Stubpliment ProcessorInformation case in NtPowerInformation. Fixes 1 test for ntdll:info
svn path=/trunk/; revision=72799
2016-09-25 13:03:06 +00:00
Benedikt Freisen 9c2f0f7e3a [ATL] atltime.h: fix assertion: hours of a day are in the range 0-23, not 0-59
svn path=/trunk/; revision=72798
2016-09-25 09:33:56 +00:00
Thomas Faber 44408ed371 [RTL]
- Avoid dereferencing a NULL pointer in RtlIsTextUnicode
CORE-12027 #resolve

svn path=/trunk/; revision=72797
2016-09-25 08:25:45 +00:00
Hermès Bélusca-Maïto 558f564017 [EVENTVWR]: Turkish translation update by Erdem Ersoy.
CORE-12031 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72796
2016-09-24 23:21:05 +00:00
Benedikt Freisen 40e80da24a [SDK][ATL] Add header atltime.h and prerequisites in atlsimpstr.h and atlstr.h. CORE-12023
svn path=/trunk/; revision=72795
2016-09-24 18:01:49 +00:00
Mark Jansen 5fbd6598b7 [MSGINA] Prevent an infinite loop in ShellDimScreen. CORE-12028
svn path=/trunk/; revision=72794
2016-09-24 14:15:23 +00:00
Christoph von Wittich 6476277b5c [CRYPTNET] don't try to prepend a drive letter when there is one already
svn path=/trunk/; revision=72793
2016-09-24 12:19:35 +00:00
Christoph von Wittich 940cde001f [CRYPTNET] disable broken code
svn path=/trunk/; revision=72792
2016-09-24 11:39:17 +00:00
Johannes Anderwald 23829f32f6 [LIBUSBAUDIO]
- delete unused code

svn path=/trunk/; revision=72791
2016-09-24 11:24:07 +00:00
Johannes Anderwald ceb3c692f3 [USBAUDIO]
- allocate filter descriptor
- fixes hang in win2k3

svn path=/trunk/; revision=72790
2016-09-24 11:17:32 +00:00
Eric Kohl 3c7d74d9d9 [LSASRV]
LsapSetLogonSessionData: Set the logon type and the user name of the selected session.
LsapGetLogonSessionData: Fix the session data marshalling code.
Now we can retrieve the logon type and user name of the logon sessions.

svn path=/trunk/; revision=72789
2016-09-24 09:38:17 +00:00
Dmitry Chapyshev fdef947fd3 [NTOSKRNL] Add missed _SEH2_YIELD's
svn path=/trunk/; revision=72788
2016-09-24 09:34:09 +00:00
Dmitry Chapyshev f250bb4eb6 [NTOSKRNL] Remove unneeded sanity checks
svn path=/trunk/; revision=72787
2016-09-24 09:30:06 +00:00
Dmitry Chapyshev ae49423a04 [ACPPAGE] Update Russian translation
svn path=/trunk/; revision=72786
2016-09-24 09:25:13 +00:00
Johannes Anderwald 5da8ac035d [USBAUDIO]
- add pin dispatch routines

svn path=/trunk/; revision=72785
2016-09-24 08:35:25 +00:00
Christoph von Wittich fa4bc0ad15 [DNSAPI] sync record.c with wine 1.9.19
svn path=/trunk/; revision=72784
2016-09-24 07:32:25 +00:00
Johannes Anderwald ebc30bc7c1 [USBAUDIO]
- fix build with gcc

svn path=/trunk/; revision=72783
2016-09-23 22:14:21 +00:00
Johannes Anderwald f9d6dccd9c [USBAUDIO]
- fix warnings
- implement UsbAudioGetDataRanges for filter descriptor

svn path=/trunk/; revision=72782
2016-09-23 22:07:24 +00:00
Johannes Anderwald 885506056c [USBAUDIO]
- start implementing USBAudioPinBuildDescriptors

svn path=/trunk/; revision=72781
2016-09-23 19:53:19 +00:00
Johannes Anderwald d034494c4d [KS]
- fix gcc build

svn path=/trunk/; revision=72780
2016-09-23 19:10:44 +00:00
Johannes Anderwald 2380a6ec54 [KS]
- make a copy of KSFILTER_DESCRIPTOR as it might have been allocated from the stack
- always initialize object bag in filter factory 

svn path=/trunk/; revision=72779
2016-09-23 18:35:15 +00:00
Giannis Adamopoulos ed87e2056d [SHELL32]
- CPrinterFolder: Use the printer icon for printers not the icon for printers folder.

svn path=/trunk/; revision=72778
2016-09-23 15:51:53 +00:00
Dmitry Chapyshev 4a71e9a2bc [SETUPAPI] Implement freeing memory in SetupDiDestroyClassImageList function. Based on patch from CircularTriangle06. Thanks! See CORE-11668
svn path=/trunk/; revision=72777
2016-09-22 21:39:25 +00:00
Giannis Adamopoulos 76bf27c021 [SHELL32]
- SHCreateDefaultContextMenu: Since our shell folders don't pass the array of class keys needed, populate this array right in SHCreateDefaultContextMenu. This code should later be moved to the shell folders so as to make CDefaultContextMenu.cpp agnostic to the kind of items it handles.
- CDefaultContextMenu: Simplify filling the menu by making use of the array of keys passed in the DEFCONTEXTMENU struct.

svn path=/trunk/; revision=72776
2016-09-22 21:34:14 +00:00
Giannis Adamopoulos 05f4321160 [SHELL32]
- CDefaultContextMenu: Simplify some really superfluous code and add more checks for bogus parameters. Create the data object using GetUIObjectOf instead of SHCreateDataObject. Each sell folder should be able to use its own special data object.

svn path=/trunk/; revision=72775
2016-09-22 19:54:15 +00:00
Dmitry Chapyshev 32705690e7 [NLS] Add 1146 and 21025 code pages
svn path=/trunk/; revision=72774
2016-09-22 18:16:30 +00:00